import{defineComponent as p,createVNode as e}from"vue";import{getPropsSlot as i}from"../_util/props-util/index.mjs";import{vNodeType as r}from"../_util/type.mjs";import f from"../config-provider/hooks/useConfigInject.mjs";const C=()=>({prefixCls:String,title:r(),description:r(),avatar:r()}),x=p({compatConfig:{MODE:3},name:"ACardMeta",props:C(),slots:Object,setup(a,{slots:o}){const{prefixCls:t}=f("card",a);return()=>{const d={[`${t.value}-meta`]:!0},n=i(o,a,"avatar"),s=i(o,a,"title"),l=i(o,a,"description"),v=n?e("div",{class:`${t.value}-meta-avatar`},[n]):null,c=s?e("div",{class:`${t.value}-meta-title`},[s]):null,m=l?e("div",{class:`${t.value}-meta-description`},[l]):null,u=c||m?e("div",{class:`${t.value}-meta-detail`},[c,m]):null;return e("div",{class:d},[v,u])}}});export{C as cardMetaProps,x as default};
