var e=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,l=(a,s,r)=>s in a?e(a,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[s]=r;import{a2 as d,ak as i,_ as n,d as f,b$ as y,X as p,e as c,f as b,k as v,h as u,i as h,u as g,j as w,l as O,m as S,g as j,ap as m}from"./index-ip5gDR6L.js";const C=d({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:i([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}}),$=f({name:"ElCard"}),P=f((k=((e,a)=>{for(var s in a||(a={}))t.call(a,s)&&l(e,s,a[s]);if(r)for(var s of r(a))o.call(a,s)&&l(e,s,a[s]);return e})({},$),a(k,s({props:C,setup(e){const a=y("card"),s=p("card");return(e,r)=>{var t;return b(),c("div",{class:h([g(s).b(),g(s).is(`${e.shadow||(null==(t=g(a))?void 0:t.shadow)||"always"}-shadow`)])},[e.$slots.header||e.header?(b(),c("div",{key:0,class:h([g(s).e("header"),e.headerClass])},[w(e.$slots,"header",{},()=>[O(S(e.header),1)])],2)):v("v-if",!0),u("div",{class:h([g(s).e("body"),e.bodyClass]),style:j(e.bodyStyle)},[w(e.$slots,"default")],6),e.$slots.footer||e.footer?(b(),c("div",{key:1,class:h([g(s).e("footer"),e.footerClass])},[w(e.$slots,"footer",{},()=>[O(S(e.footer),1)])],2)):v("v-if",!0)],2)}}}))));var k;const E=m(n(P,[["__file","card.vue"]]));export{E};
