el-card-c558f0ec.js 939 B

1
  1. import{az as h,aA as i,d as r,aB as p,o as l,c as d,Y as t,a as e,aC as o,m as u,t as m,O as v,g as _,at as b,aD as f,aE as g,__tla as w}from"./index-2eab2d23.js";let n,S=Promise.all([(()=>{try{return w}catch{}})()]).then(async()=>{const y=h({header:{type:String,default:""},bodyStyle:{type:i([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),c=r({name:"ElCard"});n=g(f(r({...c,props:y,setup(C){const s=p("card");return(a,$)=>(l(),d("div",{class:t([e(s).b(),e(s).is(`${a.shadow}-shadow`)])},[a.$slots.header||a.header?(l(),d("div",{key:0,class:t(e(s).e("header"))},[o(a.$slots,"header",{},()=>[u(m(a.header),1)])],2)):v("v-if",!0),_("div",{class:t([e(s).e("body"),a.bodyClass]),style:b(a.bodyStyle)},[o(a.$slots,"default")],6)],2))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]))});export{n as E,S as __tla};