import{Ht as e,Or as t,Ut as n,W as r,cr as i,di as a,dr as o,jr as s,lr as c,mi as l,nt as u,o as d,or as f,pi as p,pr as m,ti as h}from"./style-QAnagFj5.js";var g=r(m({name:`ElCard`,__name:`card`,props:e({header:{type:String,default:``},footer:{type:String,default:``},bodyStyle:{type:n([String,Object,Array]),default:``},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:[`always`,`hover`,`never`],default:void 0}}),setup(e){let n=d(`card`),r=u(`card`);return(u,d)=>(t(),c(`div`,{class:a([h(r).b(),h(r).is(`${e.shadow||h(n)?.shadow||`always`}-shadow`)])},[u.$slots.header||e.header?(t(),c(`div`,{key:0,class:a([h(r).e(`header`),e.headerClass])},[s(u.$slots,`header`,{},()=>[o(l(e.header),1)])],2)):i(`v-if`,!0),f(`div`,{class:a([h(r).e(`body`),e.bodyClass]),style:p(e.bodyStyle)},[s(u.$slots,`default`)],6),u.$slots.footer||e.footer?(t(),c(`div`,{key:1,class:a([h(r).e(`footer`),e.footerClass])},[s(u.$slots,`footer`,{},()=>[o(l(e.footer),1)])],2)):i(`v-if`,!0)],2))}}));export{g as t};