import{V as u,X as h,f as v,cc as C,Z as m,c as r,o as l,u as i,a as S,n as o,N as a,ae as d,G as g,d as f,t as c,aj as b}from"./index-Dyf_FKwG.js";const w=u({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:h([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var $=v({name:"ElCard",__name:"card",props:w,setup(e){const y=C("card"),s=m("card");return(t,N)=>{var n;return l(),r("div",{class:o([a(s).b(),a(s).is(`${e.shadow||((n=a(y))==null?void 0:n.shadow)||"always"}-shadow`)])},[t.$slots.header||e.header?(l(),r("div",{key:0,class:o([a(s).e("header"),e.headerClass])},[d(t.$slots,"header",{},()=>[f(c(e.header),1)])],2)):i("v-if",!0),S("div",{class:o([a(s).e("body"),e.bodyClass]),style:g(e.bodyStyle)},[d(t.$slots,"default")],6),t.$slots.footer||e.footer?(l(),r("div",{key:1,class:o([a(s).e("footer"),e.footerClass])},[d(t.$slots,"footer",{},()=>[f(c(e.footer),1)])],2)):i("v-if",!0)],2)}}});const E=b($);export{E};
