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