保存工作区合并前的本地开发现场 ledger-route-sizes-389952f

This commit is contained in:
黄健铭 committed 2026-12-05 18:21:23 -08:00
1 parent 389952f31c
commit 9952128ba4
45 files changed
+356 -321

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import{n as e}from"./rolldown-runtime-Dl_DZoUm.js";import{i as t,t as n}from"./react-1o5M9n0k.js";import{d as r,f as i,m as a,p as o,r as s,t as c,z as l}from"./index-D-ox0wtk.js";import{$ as u,Bt as d,Dn as f,En as p,Ft as m,Gt as h,H as g,Lt as _,M as v,Nt as y,O as b,P as x,S,St as C,Tt as w,V as T,X as E,Y as D,Z as O,a as k,bt as A,c as ee,d as j,dn as te,et as M,g as N,gt as ne,h as P,i as F,j as I,l as re,lt as L,m as ie,mn as ae,mt as R,nn as oe,nt as z,o as se,p as B,pn as V,q as H,qt as U,r as W,rn as G,rt as K,s as ce,u as le,vt as ue,wn as de,xt as fe,y as pe,z as me,zt as he}from"./skeleton-B4Z0R3jQ.js";import{n as ge,t as q}from"./input-BnsACfRy.js";import{c as _e,f as ve,i as ye,l as be,n as xe,o as Se,r as Ce,s as we,t as Te,u as Ee}from"./LockOutlined-BPg5cH36.js";import{s as De}from"./style-CBKkTdLU.js";import{t as Oe,u as ke}from"./typography-xRg_3Gco.js";var J=e(t());function Ae(e){return e==null?null:typeof e==`object`&&!(0,J.isValidElement)(e)?e:{title:e}}function Y(e){let[t,n]=J.useState(e);return J.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var je=e=>{let{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:`hidden`,transition:`height ${e.motionDurationFast} ${e.motionEaseInOut},
opacity ${e.motionDurationFast} ${e.motionEaseInOut},
transform ${e.motionDurationFast} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:`translateY(-5px)`,opacity:0,"&-active":{transform:`translateY(0)`,opacity:1}},[`&${r}-leave-active`]:{transform:`translateY(-5px)`}}}}},Me=e=>({legend:{display:`block`,width:`100%`,marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:`inherit`,border:0,borderBottom:`${U(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:`border-box`},'input[type="radio"], input[type="checkbox"]':{lineHeight:`normal`},'input[type="file"]':{display:`block`},'input[type="range"]':{display:`block`,width:`100%`},"select[multiple], select[size]":{height:`auto`},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${U(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:`block`,paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),Ne=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},Pe=e=>{let{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},L(e)),Me(e)),{[`${t}-text`]:{display:`inline-block`,paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},Ne(e,e.controlHeightSM)),"&-large":Object.assign({},Ne(e,e.controlHeightLG))})}},Fe=e=>{let{formItemCls:t,iconCls:n,rootPrefixCls:r,antCls:i,labelRequiredMarkColor:a,labelColor:o,labelFontSize:s,labelHeight:c,labelColonMarginInlineStart:l,labelColonMarginInlineEnd:u,itemMarginBottom:d}=e;return{[t]:Object.assign(Object.assign({},L(e)),{marginBottom:d,verticalAlign:`top`,"&-with-help":{transition:`none`},[`&-hidden,
&-hidden${i}-row`]:{display:`none`},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:`hidden`,whiteSpace:`nowrap`,textAlign:`end`,verticalAlign:`middle`,"&-left":{textAlign:`start`},"&-wrap":{overflow:`unset`,lineHeight:e.lineHeight,whiteSpace:`unset`,"> label":{verticalAlign:`middle`,textWrap:`balance`}},"> label":{position:`relative`,display:`inline-flex`,alignItems:`center`,maxWidth:`100%`,height:c,color:o,fontSize:s,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:`top`},[`&${t}-required`]:{"&::before":{display:`inline-block`,marginInlineEnd:e.marginXXS,color:a,fontSize:e.fontSize,fontFamily:`SimSun, sans-serif`,lineHeight:1,content:`"*"`},[`&${t}-required-mark-hidden, &${t}-required-mark-optional`]:{"&::before":{display:`none`}}},[`${t}-optional`]:{display:`inline-block`,marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`&${t}-required-mark-hidden`]:{display:`none`}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:`help`,writingMode:`horizontal-tb`,marginInlineStart:e.marginXXS},"&::after":{content:`":"`,position:`relative`,marginBlock:0,marginInlineStart:l,marginInlineEnd:u},[`&${t}-no-colon::after`]:{content:`"\\a0"`}}},[`${t}-control`]:{"--ant-display":`flex`,flexDirection:`column`,flexGrow:1,[`&:first-child:not([class^="'${r}-col-'"]):not([class*="' ${r}-col-'"])`]:{width:`100%`},"&-input":{position:`relative`,display:`flex`,alignItems:`center`,minHeight:e.controlHeight,"&-content":{flex:`auto`,maxWidth:`100%`,[`&:has(> ${i}-switch:only-child, > ${i}-rate:only-child)`]:{display:`flex`,alignItems:`center`}}}},[t]:{"&-additional":{display:`flex`,flexDirection:`column`},"&-explain, &-extra":{clear:`both`,color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:`100%`},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:`auto`,opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:`center`,visibility:`visible`,animationName:S,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:`none`,"&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},X=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:`initial`,textAlign:`start`,"> label":{margin:0,"&::after":{visibility:`hidden`}}}),Ie=e=>{let{antCls:t,formItemCls:n}=e;return{[`${n}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:`1 1 0`,minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:`unset`}},[`${t}-col-24${n}-label,
${t}-col-xl-24${n}-label`]:X(e)}}},Le=e=>{let{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:`flex`,flexWrap:`wrap`,[`${n}-inline`]:{flex:`none`,marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:`nowrap`},[`> ${n}-label,
> ${n}-control`]:{display:`inline-block`,verticalAlign:`top`},[`> ${n}-label`]:{flex:`none`},[`${t}-text`]:{display:`inline-block`},[`${n}-has-feedback`]:{display:`inline-block`}}}}},Re=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:X(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:`wrap`,[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:`0 0 100%`,maxWidth:`100%`}}}}}},ze=e=>{let{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${n}-vertical`]:{[`${n}-row`]:{flexDirection:`column`},[`${n}-label > label`]:{height:`auto`},[`${n}-control`]:{width:`100%`},[`${n}-label,
${r}-col-24${n}-label,
${r}-col-xl-24${n}-label`]:X(e)},[`@media (max-width: ${U(e.screenXSMax)})`]:[Re(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:X(e)}}}],[`@media (max-width: ${U(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:X(e)}}},[`@media (max-width: ${U(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:X(e)}}},[`@media (max-width: ${U(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:X(e)}}}}},Be=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),Ve=(e,t)=>R(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),He=z(`Form`,(e,{rootPrefixCls:t})=>{let n=Ve(e,t);return[Pe(n),Fe(n),je(n),Ie(n),Le(n),ze(n),ve(n),S]},Be,{order:-1e3}),Z=e(f()),Ue=[];function We(e,t,n,r=0){return{key:typeof e==`string`?e:`${t}-${r}`,error:e,errorStatus:n}}var Ge=({help:e,helpStatus:t,errors:n=Ue,warnings:r=Ue,className:i,fieldId:a,onVisibleChanged:o})=>{let{prefixCls:s}=J.useContext(k),c=`${s}-item-explain`,l=T(s),[d,f,p]=He(s,l),m=J.useMemo(()=>x(s),[s]),h=Y(n),g=Y(r),_=J.useMemo(()=>e==null?[].concat(G(h.map((e,t)=>We(e,`error`,`error`,t))),G(g.map((e,t)=>We(e,`warning`,`warning`,t)))):[We(e,`help`,t)],[e,t,h,g]),v=J.useMemo(()=>{let e={};return _.forEach(({key:t})=>{e[t]=(e[t]||0)+1}),_.map((t,n)=>Object.assign(Object.assign({},t),{key:e[t.key]>1?`${t.key}-fallback-${n}`:t.key}))},[_]),y={};return a&&(y.id=`${a}_help`),d(J.createElement(u,{motionDeadline:m.motionDeadline,motionName:`${s}-show-help`,visible:!!v.length,onVisibleChanged:o},e=>{let{className:t,style:n}=e;return J.createElement(`div`,Object.assign({},y,{className:(0,Z.default)(c,t,p,l,i,f),style:n}),J.createElement(M,Object.assign({keys:v},x(s),{motionName:`${s}-show-help-item`,component:!1}),e=>{let{key:t,error:n,errorStatus:r,className:i,style:a}=e;return J.createElement(`div`,{key:t,className:(0,Z.default)(i,{[`${c}-${r}`]:r}),style:a},n)}))}))},Ke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},qe=J.forwardRef((e,t)=>{let n=J.useContext(A),{getPrefixCls:r,direction:i,requiredMark:a,colon:o,scrollToFirstError:s,className:c,style:l}=w(`form`),{prefixCls:u,className:d,rootClassName:f,size:p,disabled:m=n,form:h,colon:g,labelAlign:_,labelWrap:v,labelCol:y,wrapperCol:x,hideRequiredMark:S,layout:C=`horizontal`,scrollToFirstError:E,requiredMark:D,onFinishFailed:O,name:k,style:ee,feedbackIcons:j,variant:te}=e,M=Ke(e,[`prefixCls`,`className`,`rootClassName`,`size`,`disabled`,`form`,`colon`,`labelAlign`,`labelWrap`,`labelCol`,`wrapperCol`,`hideRequiredMark`,`layout`,`scrollToFirstError`,`requiredMark`,`onFinishFailed`,`name`,`style`,`feedbackIcons`,`variant`]),N=b(p),ne=J.useContext(De),P=J.useMemo(()=>D===void 0?S?!1:a===void 0||a:D,[S,D,a]),F=g??o,I=r(`form`,u),L=T(I),[ie,ae,R]=He(I,L),oe=(0,Z.default)(I,`${I}-${C}`,{[`${I}-hide-required-mark`]:P===!1,[`${I}-rtl`]:i===`rtl`,[`${I}-${N}`]:N},R,L,ae,c,d,f),[z]=Se(h),{__INTERNAL__:B}=z;B.name=k;let V=J.useMemo(()=>({name:k,labelAlign:_,labelCol:y,labelWrap:v,wrapperCol:x,layout:C,colon:F,requiredMark:P,itemRef:B.itemRef,form:z,feedbackIcons:j}),[k,_,y,x,C,F,P,z,j]),H=J.useRef(null);J.useImperativeHandle(t,()=>Object.assign(Object.assign({},z),{nativeElement:H.current?.nativeElement}));let U=(e,t)=>{if(e){let n={block:`nearest`};typeof e==`object`&&(n=Object.assign(Object.assign({},n),e)),z.scrollToField(t,n)}};return ie(J.createElement(re.Provider,{value:te},J.createElement(fe,{disabled:m},J.createElement(ue.Provider,{value:N},J.createElement(se,{validateMessages:ne},J.createElement(W.Provider,{value:V},J.createElement(ce,{status:!0},J.createElement(le,Object.assign({id:k},M,{name:k,onFinishFailed:e=>{if(O?.(e),e.errorFields.length){let t=e.errorFields[0].name;if(E!==void 0){U(E,t);return}s!==void 0&&U(s,t)}},form:z,ref:H,style:Object.assign(Object.assign({},l),ee),className:oe})))))))))});function Je(e){if(typeof e==`function`)return e;let t=de(e);return t.length<=1?t[0]:t}var Ye=()=>{let{status:e,errors:t=[],warnings:n=[]}=J.useContext(F);return{status:e,errors:t,warnings:n}};Ye.Context=F;function Xe(e){let[t,n]=J.useState(e),r=J.useRef(null),i=J.useRef([]),a=J.useRef(!1);J.useEffect(()=>(a.current=!1,()=>{a.current=!0,oe.cancel(r.current),r.current=null}),[]);function o(e){a.current||(r.current===null&&(i.current=[],r.current=oe(()=>{r.current=null,n(e=>{let t=e;return i.current.forEach(e=>{t=e(t)}),t})})),i.current.push(e))}return[t,o]}function Ze( Line truncated