import{createVNode as t}from"vue";function s(o){return o!=null}const f=o=>{const{itemPrefixCls:e,component:m,span:a,labelStyle:c,contentStyle:i,bordered:p,label:n,content:l,colon:d}=o,r=m;return p?t(r,{class:[{[`${e}-item-label`]:s(n),[`${e}-item-content`]:s(l)}],colSpan:a},{default:()=>[s(n)&&t("span",{style:c},[n]),s(l)&&t("span",{style:i},[l])]}):t(r,{class:[`${e}-item`],colSpan:a},{default:()=>[t("div",{class:`${e}-item-container`},[(n||n===0)&&t("span",{class:[`${e}-item-label`,{[`${e}-item-no-colon`]:!d}],style:c},[n]),(l||l===0)&&t("span",{class:`${e}-item-content`,style:i},[l])])]})};export{f as default};
