| 1 |
- import{av as p,aw as y,ao as u,d as f,aq as h,a as r,o as t,B as d,b as v,a0 as o,e as s,X as l,q as n,t as i,au as C,aA as S}from"./index-VgExUtlc.js";const c=p({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:y([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),m=f({name:"ElCard"}),b=f({...m,props:c,setup(w){const a=h("card");return(e,$)=>(t(),r("div",{class:o([s(a).b(),s(a).is(`${e.shadow}-shadow`)])},[e.$slots.header||e.header?(t(),r("div",{key:0,class:o([s(a).e("header"),e.headerClass])},[l(e.$slots,"header",{},()=>[n(i(e.header),1)])],2)):d("v-if",!0),v("div",{class:o([s(a).e("body"),e.bodyClass]),style:C(e.bodyStyle)},[l(e.$slots,"default")],6),e.$slots.footer||e.footer?(t(),r("div",{key:1,class:o([s(a).e("footer"),e.footerClass])},[l(e.$slots,"footer",{},()=>[n(i(e.footer),1)])],2)):d("v-if",!0)],2))}});var g=u(b,[["__file","card.vue"]]);const B=S(g);export{B as E};
|