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