import{r as u,c as f,o,w as b,d as h,m as r,e as s,n as l,b as a,F as $,f as k,t as m}from"./vue.esm-bundler.js?ver=1.5.0";import{u as p}from"./vue-router.js?ver=1.5.0";import{_ as d}from"./_plugin-vue_export-helper.js?ver=1.5.0";import{_ as C}from"./DynamicIcon.js?ver=1.5.0";const g={class:"table-cell"},q={__name:"RouteCell",props:{to:{type:Object,required:!0},params:{type:Object,default:()=>({})}},setup(e){const n=e;return p(),(t,i)=>{const c=u("router-link");return o(),f(c,{class:"link block cursor-pointer route-cell",to:n.to},{default:b(()=>[h("div",g,[r(t.$slots,"default")])]),_:3},8,["to"])}}},B={name:"Card",props:{border:{type:Boolean}}};function v(e,n,t,i,c,_){return o(),s("div",{class:l(`fct-card ${t.border?"fct-card-border":""}`)},[r(e.$slots,"default")],2)}const E=d(B,[["render",v]]),S={name:"CardHeader",components:{DynamicIcon:C},props:{title:{type:String},text:{type:String},border_bottom:{type:Boolean},icon:{type:String},title_size:{type:String},img:{type:String}}},x={key:0,class:"flex-1"},z=["src"],D={key:1,class:"fct-card-header-text"},I={key:1,class:"fct-card-header-actions"};function N(e,n,t,i,c,_){const y=u("DynamicIcon");return o(),s("div",{class:l(`fct-card-header ${t.border_bottom?"border-bottom":""}`)},[t.title||t.text||e.$slots.title?(o(),s("div",x,[t.title||t.text?(o(),s($,{key:0},[t.title?(o(),s("h2",{key:0,class:l(`fct-card-header-title ${t.title_size?"is-"+t.title_size:""}`)},[t.icon?(o(),f(y,{key:0,name:t.icon},null,8,["name"])):a("",!0),t.img?(o(),s("img",{key:1,src:t.img,alt:""},null,8,z)):a("",!0),k(" "+m(t.title),1)],2)):a("",!0),t.text?(o(),s("p",D,m(t.text),1)):a("",!0)],64)):a("",!0),e.$slots.title?r(e.$slots,"title",{key:1}):a("",!0)])):a("",!0),e.$slots.action?(o(),s("div",I,[r(e.$slots,"action")])):a("",!0),r(e.$slots,"default")],2)}const T=d(S,[["render",N]]),V={name:"CardBody"},j={class:"fct-card-body"};function w(e,n,t,i,c,_){return o(),s("div",j,[r(e.$slots,"default")])}const A=d(V,[["render",w]]);export{T as C,q as _,A as a,E as b};
