import{e as u,f as h,k as m,L as v,l as C,w as c}from"./index.1762932289438.js";import{k as p,l as r,o as l,D as n,q as S,E as o,u as a,m as t,V as i,L as f,M as g}from"./vue.1762932289438.js";const b=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}}),w=p({name:"ElCard"}),k=p({...w,props:b,setup(E){const y=v("card"),s=C("card");return(e,N)=>{var d;return l(),r("div",{class:o([a(s).b(),a(s).is(`${e.shadow||((d=a(y))==null?void 0:d.shadow)||"always"}-shadow`)])},[e.$slots.header||e.header?(l(),r("div",{key:0,class:o([a(s).e("header"),e.headerClass])},[t(e.$slots,"header",{},()=>[i(f(e.header),1)])],2)):n("v-if",!0),S("div",{class:o([a(s).e("body"),e.bodyClass]),style:g(e.bodyStyle)},[t(e.$slots,"default")],6),e.$slots.footer||e.footer?(l(),r("div",{key:1,class:o([a(s).e("footer"),e.footerClass])},[t(e.$slots,"footer",{},()=>[i(f(e.footer),1)])],2)):n("v-if",!0)],2)}}});var $=m(k,[["__file","card.vue"]]);const P=c($);export{P as E};