import{b as o,aj as p,a4 as de,g as q,F as ve,b2 as fe,bz as me,b6 as pe,ai as P,ar as w,d as T,ac as G,aY as ye,ax as re,O as be,a3 as ge,a8 as ne,h as Ce,ay as Se,b5 as he,a5 as z,b4 as ie,b1 as _e,al as xe,az as $e}from"./index-fe7e9f3a.js";import{f as le,r as oe}from"./Col-4a3e6527.js";import{c as Pe}from"./vnode-4e2eb49f.js";import{i as se}from"./_plugin-vue_export-helper-84433aaa.js";function M(l){return l!=null}var we=function(e){var a=e.itemPrefixCls,n=e.component,c=e.span,t=e.labelStyle,v=e.contentStyle,b=e.bordered,i=e.label,r=e.content,s=e.colon,u=n;if(b){var m;return o(u,{class:[(m={},p(m,"".concat(a,"-item-label"),M(i)),p(m,"".concat(a,"-item-content"),M(r)),m)],colSpan:c},{default:function(){return[M(i)&&o("span",{style:t},[i]),M(r)&&o("span",{style:v},[r])]}})}return o(u,{class:["".concat(a,"-item")],colSpan:c},{default:function(){return[o("div",{class:"".concat(a,"-item-container")},[i&&o("span",{class:["".concat(a,"-item-label"),p({},"".concat(a,"-item-no-colon"),!s)],style:t},[i]),r&&o("span",{class:"".concat(a,"-item-content"),style:v},[r])])]}})};const Y=we;var De=function(e){var a=function(m,d,y){var _=d.colon,h=d.prefixCls,g=d.bordered,x=y.component,$=y.type,D=y.showLabel,j=y.showContent,I=y.labelStyle,N=y.contentStyle;return m.map(function(C,O){var L,S,f=C.props||{},E=f.prefixCls,A=E===void 0?h:E,H=f.span,J=H===void 0?1:H,K=f.labelStyle,Q=K===void 0?f["label-style"]:K,W=f.contentStyle,X=W===void 0?f["content-style"]:W,Z=f.label,ee=Z===void 0?(L=C.children)===null||L===void 0||(S=L.label)===null||S===void 0?void 0:S.call(L):Z,te=fe(C),F=me(C),U=pe(C),V=C.key;return typeof x=="string"?o(Y,{key:"".concat($,"-").concat(String(V)||O),class:F,style:U,labelStyle:P(P({},I),Q),contentStyle:P(P({},N),X),span:J,colon:_,component:x,itemPrefixCls:A,bordered:g,label:D?ee:null,content:j?te:null},null):[o(Y,{key:"label-".concat(String(V)||O),class:F,style:P(P(P({},I),U),Q),span:1,colon:_,component:x[0],itemPrefixCls:A,bordered:g,label:ee},null),o(Y,{key:"content-".concat(String(V)||O),class:F,style:P(P(P({},N),U),X),span:J*2-1,component:x[1],itemPrefixCls:A,bordered:g,content:te},null)]})},n=e.prefixCls,c=e.vertical,t=e.row,v=e.index,b=e.bordered,i=de(ue,{labelStyle:q({}),contentStyle:q({})}),r=i.labelStyle,s=i.contentStyle;return c?o(ve,null,[o("tr",{key:"label-".concat(v),class:"".concat(n,"-row")},[a(t,e,{component:"th",type:"label",showLabel:!0,labelStyle:r.value,contentStyle:s.value})]),o("tr",{key:"content-".concat(v),class:"".concat(n,"-row")},[a(t,e,{component:"td",type:"content",showContent:!0,labelStyle:r.value,contentStyle:s.value})])]):o("tr",{key:v,class:"".concat(n,"-row")},[a(t,e,{component:b?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,labelStyle:r.value,contentStyle:s.value})])};const Ie=De;w.any;var je=function(){return{prefixCls:String,label:w.any,labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0},span:{type:Number,default:1}}},Ne=T({compatConfig:{MODE:3},name:"ADescriptionsItem",props:je(),slots:["label"],setup:function(e,a){var n=a.slots;return function(){var c;return(c=n.default)===null||c===void 0?void 0:c.call(n)}}}),ce={xxxl:3,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function Oe(l,e){if(typeof l=="number")return l;if(re(l)==="object")for(var a=0;aa)&&(n=Pe(l,{span:a}),he(e===void 0,"Descriptions","Sum of column `span` in a line not match `column` of Descriptions.")),n}function Le(l,e){var a=Se(l),n=[],c=[],t=e;return a.forEach(function(v,b){var i,r=(i=v.props)===null||i===void 0?void 0:i.span,s=r||1;if(b===a.length-1){c.push(ae(v,r,t)),n.push(c);return}s