filesbox/web/dist/66403.84fdc9b0.async.js

13 lines
53 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[66403],{88633:function(xt,We,t){"use strict";t.d(We,{Z:function(){return E}});var v=t(28991),C=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},q=i,$=t(27029),D=function(Ne,Me){return C.createElement($.Z,(0,v.Z)((0,v.Z)({},Ne),{},{ref:Me,icon:q}))};D.displayName="EyeInvisibleOutlined";var E=C.forwardRef(D)},95357:function(xt,We,t){"use strict";t.d(We,{Z:function(){return E}});var v=t(28991),C=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},q=i,$=t(27029),D=function(Ne,Me){return C.createElement($.Z,(0,v.Z)((0,v.Z)({},Ne),{},{ref:Me,icon:q}))};D.displayName="EyeOutlined";var E=C.forwardRef(D)},1870:function(xt,We,t){"use strict";t.d(We,{Z:function(){return E}});var v=t(28991),C=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},q=i,$=t(27029),D=function(Ne,Me){return C.createElement($.Z,(0,v.Z)((0,v.Z)({},Ne),{},{ref:Me,icon:q}))};D.displayName="QuestionCircleOutlined";var E=C.forwardRef(D)},34442:function(){},7104:function(){},55843:function(xt,We,t){"use strict";t.d(We,{Z:function(){return At}});var v=t(65223),C=t(96156),i=t(22122),q=t(85061),$=t(94184),D=t.n($),E=t(63441),o=t(67294),Ne=t(53124),Me=t(33603),we=t(28481);function H(e){var n=o.useState(e),l=(0,we.Z)(n,2),r=l[0],d=l[1];return o.useEffect(function(){var S=setTimeout(function(){d(e)},e.length?0:10);return function(){clearTimeout(S)}},[e]),r}var dt=[];function ot(e,n,l){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:"".concat(l,"-").concat(r),error:e,errorStatus:n}}function yt(e){var n=e.help,l=e.helpStatus,r=e.errors,d=r===void 0?dt:r,S=e.warnings,j=S===void 0?dt:S,O=e.className,Y=e.fieldId,U=e.onVisibleChanged,X=o.useContext(v.Rk),re=X.prefixCls,de=o.useContext(Ne.E_),fe=de.getPrefixCls,ve="".concat(re,"-item-explain"),be=fe(),je=H(d),k
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,bt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],it={},ze;function st(u){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,g=u.getAttribute("id")||u.getAttribute("data-reactid")||u.getAttribute("name");if(M&&it[g])return it[g];var x=window.getComputedStyle(u),c=x.getPropertyValue("box-sizing")||x.getPropertyValue("-moz-box-sizing")||x.getPropertyValue("-webkit-box-sizing"),R=parseFloat(x.getPropertyValue("padding-bottom"))+parseFloat(x.getPropertyValue("padding-top")),F=parseFloat(x.getPropertyValue("border-bottom-width"))+parseFloat(x.getPropertyValue("border-top-width")),b=bt.map(function(P){return"".concat(P,":").concat(x.getPropertyValue(P))}).join(";"),N={sizingStyle:b,paddingSize:R,borderSize:F,boxSizing:c};return M&&g&&(it[g]=N),N}function Et(u){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ze||(ze=document.createElement("textarea"),ze.setAttribute("tab-index","-1"),ze.setAttribute("aria-hidden","true"),document.body.appendChild(ze)),u.getAttribute("wrap")?ze.setAttribute("wrap",u.getAttribute("wrap")):ze.removeAttribute("wrap");var c=st(u,M),R=c.paddingSize,F=c.borderSize,b=c.boxSizing,N=c.sizingStyle;ze.setAttribute("style","".concat(N,";").concat(ft)),ze.value=u.value||u.placeholder||"";var P=void 0,J=void 0,L,Q=ze.scrollHeight;if(b==="border-box"?Q+=F:b==="content-box"&&(Q-=R),g!==null||x!==null){ze.value=" ";var oe=ze.scrollHeight-R;g!==null&&(P=oe*g,b==="border-box"&&(P=P+R+F),Q=Math.max(P,Q)),x!==null&&(J=oe*x,b==="border-box"&&(J=J+R+F),L=Q>J?"":"hidden",Q=Math.min(J,Q))}var Ze={height:Q,overflowY:L,resize:"none"};return P&&(Ze.minHeight=P),J&&(Ze.maxHeight=J),Ze}var vt=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],mt=0,ut=1,Ye=2,gt=H.forwardRef(function(u,M){var g=u.prefixCls,x=g===void 0?"rc-textarea":g,c=u.onPressEnter,R=u.defaultValue,F=u.value,b=u.autoSize,N=u.onResize,P=u.className,J=u.style,L=u.disabled,Q=u.onChange,oe=u.onInternalAutoSize,Ze=(0,ot.Z)(u,vt),ce=(0,lt.Z)(R,{value:F,postState:function(X){return X!=null?X:""}}),Fe=(0,q.Z)(ce,2),ae=Fe[0],Se=Fe[1],Be=function(X){Se(X.target.value),Q==null||Q(X)},Ie=H.useRef();H.useImperativeHandle(M,function(){return{textArea:Ie.current}});var Le=H.useMemo(function(){return b&&(0,v.Z)(b)==="object"?[b.minRows,b.maxRows]:[]},[b]),Pe=(0,q.Z)(Le,2),Oe=Pe[0],T=Pe[1],f=!!b,he=function(){try{if(document.activeElement===Ie.current){var X=Ie.current,re=X.selectionStart,de=X.selectionEnd,fe=X.scrollTop;Ie.current.setSelectionRange(re,de),Ie.current.scrollTop=fe}}catch(ve){}},Xe=H.useState(Ye),Ge=(0,q.Z)(Xe,2),_e=Ge[0],De=Ge[1],At=H.useState(),e=(0,q.Z)(At,2),n=e[0],l=e[1],r=function(){De(mt)};(0,Ke.Z)(function(){f&&r()},[F,Oe,T,f]),(0,Ke.Z)(function(){if(_e===mt)De(ut);else if(_e===ut){var U=Et(Ie.current,!1,Oe,T);De(Ye),l(U)}else he()},[_e]);var d=H.useRef(),S=function(){He.Z.cancel(d.current)},j=function(X){_e===Ye&&(N==null||N(X),b&&(S(),d.current=(0,He.Z)(function(){r()})))};H.useEffect(function(){return S},[]);var O=f?n:null,Y=(0,dt.Z)((0,dt.Z)({},J),O);return(_e===mt||_e===ut)&&(Y.overflowY="hidden",Y.overflowX="hidden"),H.createElement(yt.Z,{onResize:j,disabled:!(b||N)},H.createElement("textarea",(0,i.Z)({},Ze,{ref:Ie,style:Y,className:E()(x,P,(0,C.Z)({},"".concat(x,"-disabled"),L)),disabled:L,value:ae,onChange:Be})))}),ct=gt,s=function(u){(0,Me.Z)(g,u);var M=(0,we.Z)(g);function g(x){var c;(0,o.Z)(this,g),c=M.call(this,x),c.resizableTextArea=void 0,c.focus=function(){c.resizableTextArea.textArea.focus()},c.saveTextArea=function(F){c.resizableTextArea=F},c.handleChange=function(F){var b=c.props.onChange;c.setValue(F.target.value),b&&b(F)},c.handleKeyDown=function(F){var b=c.props,N=b.onPressEnter,P=b.onKeyDown;F.ke