import{U as a,W as s,x as e,a1 as t,d as o,e as r,a7 as d,g as l,a6 as y,n as f,am as i,an as n,h,al as c,a8 as p,ap as v}from"./index.286e9b79.js";const u=a({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:s([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),b=e({name:"ElCard"});const S=v(p(e({...b,props:u,setup(a){const s=t("card");return(a,e)=>(o(),r("div",{class:d([l(s).b(),l(s).is(`${a.shadow}-shadow`)])},[a.$slots.header||a.header?(o(),r("div",{key:0,class:d(l(s).e("header"))},[y(a.$slots,"header",{},(()=>[f(i(a.header),1)]))],2)):n("v-if",!0),h("div",{class:d([l(s).e("body"),a.bodyClass]),style:c(a.bodyStyle)},[y(a.$slots,"default")],6),a.$slots.footer||a.footer?(o(),r("div",{key:1,class:d(l(s).e("footer"))},[y(a.$slots,"footer",{},(()=>[f(i(a.footer),1)]))],2)):n("v-if",!0)],2))}}),[["__file","card.vue"]]));export{S as E};
