el-card-3f6e1c8f.js 1008 B

12
  1. import{j as p,k as y,m as f,t as u,o as r,b as t,C as o,u as s,R as d,a2 as l,X as n,e as i,d as c,D as m,V as h}from"./index-312d0758.js";import{_ as v}from"./plugin-vue_export-helper-1cff8a04.js";const C=p({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:y([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),S=f({name:"ElCard"}),b=f({...S,props:C,setup(w){const a=u("card");return(e,$)=>(r(),t("div",{class:o([s(a).b(),s(a).is(`${e.shadow}-shadow`)])},[e.$slots.header||e.header?(r(),t("div",{key:0,class:o(s(a).e("header"))},[d(e.$slots,"header",{},()=>[l(n(e.header),1)])],2)):i("v-if",!0),c("div",{class:o([s(a).e("body"),e.bodyClass]),style:m(e.bodyStyle)},[d(e.$slots,"default")],6),e.$slots.footer||e.footer?(r(),t("div",{key:1,class:o(s(a).e("footer"))},[d(e.$slots,"footer",{},()=>[l(n(e.footer),1)])],2)):i("v-if",!0)],2))}});var g=v(b,[["__file","card.vue"]]);const N=h(g);export{N as E};