var y=Object.defineProperty,$=Object.defineProperties;var g=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var m=(e,s,t)=>s in e?y(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t,d=(e,s)=>{for(var t in s||(s={}))k.call(s,t)&&m(e,t,s[t]);if(_)for(var t of _(s))v.call(s,t)&&m(e,t,s[t]);return e},c=(e,s)=>$(e,g(s));import{b as w,m as i,d as S,f as l,o as r,g as a,J as p,h as f,j as b,a2 as n,k as u,N as h,L as N,M as P,n as T,q as V}from"./index-C8qz7c0N.js";const z=c(d({},w),{type:String,title:String,customTitleClass:i(""),customContentClass:i(""),customFooterClass:i("")}),B={name:"wd-card",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"}},F=S(c(d({},B),{props:z,setup(e){return(s,t)=>{const C=h,o=b;return r(),l(o,{class:n(["wd-card",s.type=="rectangle"?"is-rectangle":"",s.customClass]),style:T(s.customStyle)},{default:a(()=>[s.title||s.$slots.title?(r(),l(o,{key:0,class:n(["wd-card__title-content",s.customTitleClass])},{default:a(()=>[f(o,{class:"wd-card__title"},{default:a(()=>[s.title?(r(),l(C,{key:0},{default:a(()=>[N(P(s.title),1)]),_:1})):u(s.$slots,"title",{key:1},void 0,!0)]),_:3})]),_:3},8,["class"])):p("",!0),f(o,{class:n(`wd-card__content ${s.customContentClass}`)},{default:a(()=>[u(s.$slots,"default",{},void 0,!0)]),_:3},8,["class"]),s.$slots.footer?(r(),l(o,{key:1,class:n(`wd-card__footer ${s.customFooterClass}`)},{default:a(()=>[u(s.$slots,"footer",{},void 0,!0)]),_:3},8,["class"])):p("",!0)]),_:3},8,["class","style"])}}})),q=V(F,[["__scopeId","data-v-b1a290f1"]]);export{q as _};
