import{a0 as p,a1 as y,a2 as f,a4 as u,o,c as t,n as r,f as s,ab as l,j as d,t as n,l as i,a as h,a7 as m,ai as c}from"./index-25eb6331.js";import{_ as C}from"./index-3bef6acb.js";const S=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"}}),v=f({name:"ElCard"}),b=f({...v,props:S,setup(w){const a=u("card");return(e,$)=>(o(),t("div",{class:r([s(a).b(),s(a).is("".concat(e.shadow,"-shadow"))])},[e.$slots.header||e.header?(o(),t("div",{key:0,class:r([s(a).e("header"),e.headerClass])},[l(e.$slots,"header",{},()=>[d(n(e.header),1)])],2)):i("v-if",!0),h("div",{class:r([s(a).e("body"),e.bodyClass]),style:m(e.bodyStyle)},[l(e.$slots,"default")],6),e.$slots.footer||e.footer?(o(),t("div",{key:1,class:r([s(a).e("footer"),e.footerClass])},[l(e.$slots,"footer",{},()=>[d(n(e.footer),1)])],2)):i("v-if",!0)],2))}});var g=C(b,[["__file","card.vue"]]);const N=c(g);export{N as E};
