import m from"./ButtonElement-VEOfE7ak.js";import{_ as d,r as t,s as _,o as a,f as o,h as n,i as s,x as u,j as p,q as f}from"./index-m7Z9H1b_.js";const h={name:"EmptyState",components:{ButtonElement:m},props:{message:{type:String,required:!0},icon:{type:[Boolean,String,Array],default:()=>["fal","exclamation"]},hasShadow:{type:Boolean,default:!0},hasBorder:{type:Boolean,default:!1},action:{type:Object,default:void 0}}},y={class:"emptyState__icon"},B={class:"emptyState__message"},S={key:0,class:"emptyState__action"};function v(c,E,e,g,b,w){const i=t("icon"),r=t("ButtonElement"),l=_("dompurify-html");return a(),o("div",{class:f({emptyState:!0,hasShadow:e.hasShadow,hasBorder:e.hasBorder})},[n("span",y,[s(i,{icon:e.icon},null,8,["icon"])]),u(n("span",B,null,512),[[l,e.message]]),typeof e.action<"u"?(a(),o("span",S,[s(r,{variant:"primary",rounded:"",action:e.action.method,label:c.$t(e.action.label,{$capitalize:!0})},null,8,["action","label"])])):p("",!0)],2)}const C=d(h,[["render",v]]);export{C as default};