el-card-8db16709.js 941 B

1
  1. import{aL as h,aM as i,d as r,aN as p,o as l,c as d,ad as t,a as e,aO as o,D as u,E as m,a3 as v,B as _,aH as b,aP as f,aQ as w,__tla as S}from"./index-f6fb8e95.js";let n,g=Promise.all([(()=>{try{return S}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=w(f(r({...c,props:y,setup($){const s=p("card");return(a,k)=>(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,g as __tla};