import{Q as y,R as u,d as h,df as v,W as C,o,c as l,K as r,e as a,a6 as d,y as n,z as i,$ as f,q as g,O as S,aq as m}from"./index-XuO881sr.js";const b=y({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:u([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var w=h({name:"ElCard",__name:"card",props:b,setup(e){const c=v("card"),s=C("card");return(t,k)=>(o(),l("div",{class:r([a(s).b(),a(s).is(`${e.shadow||a(c)?.shadow||"always"}-shadow`)])},[t.$slots.header||e.header?(o(),l("div",{key:0,class:r([a(s).e("header"),e.headerClass])},[d(t.$slots,"header",{},()=>[n(i(e.header),1)])],2)):f("v-if",!0),g("div",{class:r([a(s).e("body"),e.bodyClass]),style:S(e.bodyStyle)},[d(t.$slots,"default")],6),t.$slots.footer||e.footer?(o(),l("div",{key:1,class:r([a(s).e("footer"),e.footerClass])},[d(t.$slots,"footer",{},()=>[n(i(e.footer),1)])],2)):f("v-if",!0)],2))}}),$=w;const E=m($);export{E};
