import{_ as l,o as e,c as a,e as n,n as r,t as i,j as c,W as d}from"../index.js";const m={class:"crm-empty-state__icon","aria-hidden":"true"},y={class:"crm-empty-state__icon-bg"},u={key:0,class:"crm-empty-state__title"},p={key:1,class:"crm-empty-state__description"},_={key:2,class:"crm-empty-state__actions"},f={__name:"EmptyState",props:{icon:{type:String,default:"dashicons-database"},title:{type:String,default:""},description:{type:String,default:""},actionLabel:{type:String,default:""},variant:{type:String,default:"default",validator:t=>["default","welcome"].includes(t)}},emits:["action"],setup(t){return(s,o)=>(e(),a("div",{class:r(["crm-empty-state",`crm-empty-state--${t.variant}`])},[n("span",m,[n("span",y,[n("span",{class:r(["dashicons",t.icon])},null,2)])]),t.title?(e(),a("h3",u,i(t.title),1)):c("",!0),t.description?(e(),a("p",p,i(t.description),1)):c("",!0),s.$slots.actions?(e(),a("div",_,[d(s.$slots,"actions",{},void 0,!0)])):t.actionLabel?(e(),a("button",{key:3,type:"button",class:"crm-btn crm-btn--primary",onClick:o[0]||(o[0]=b=>s.$emit("action"))},i(t.actionLabel),1)):c("",!0)],2))}},h=l(f,[["__scopeId","data-v-c054cca4"]]);export{h as E};
