import{O as e,Q as t,S as n,T as r,Y as i,cn as a,in as o,j as s,kt as c,nn as l,w as u}from"./vue.runtime.esm-bundler-DpGzKKN4.js";import{Zt as d,b as f,l as p,y as m}from"./style-DGCNsUJ6.js";import{Vt as h,kt as g}from"./vnode-DU8g6Rf7.js";var _=m({header:{type:String,default:``},footer:{type:String,default:``},bodyStyle:{type:f([String,Object,Array]),default:``},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:[`always`,`hover`,`never`],default:void 0}}),v=g(h(s({...s({name:`ElCard`}),props:_,setup(s){let f=p(`card`),m=d(`card`);return(s,d)=>(i(),r(`div`,{class:l([c(m).b(),c(m).is(`${s.shadow||c(f)?.shadow||`always`}-shadow`)])},[s.$slots.header||s.header?(i(),r(`div`,{key:0,class:l([c(m).e(`header`),s.headerClass])},[t(s.$slots,`header`,{},()=>[e(a(s.header),1)])],2)):u(`v-if`,!0),n(`div`,{class:l([c(m).e(`body`),s.bodyClass]),style:o(s.bodyStyle)},[t(s.$slots,`default`)],6),s.$slots.footer||s.footer?(i(),r(`div`,{key:1,class:l([c(m).e(`footer`),s.footerClass])},[t(s.$slots,`footer`,{},()=>[e(a(s.footer),1)])],2)):u(`v-if`,!0)],2))}}),[[`__file`,`card.vue`]]));export{v as t};