-
Notifications
You must be signed in to change notification settings - Fork 0
/
4738.bccee01b.async.js
1 lines (1 loc) · 18.2 KB
/
4738.bccee01b.async.js
1
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[4738],{34442:function(){},15746:function(fe,ae,o){"use strict";var m=o(21584);ae.Z=m.Z},89032:function(fe,ae,o){"use strict";var m=o(38663),oe=o.n(m),U=o(6999)},86835:function(fe,ae,o){"use strict";o.d(ae,{Z:function(){return Ut}});var m=o(22122),oe=o(90484),U=o(28481),R=o(96156),a=o(67294),Ne=o(94184),le=o.n(Ne),ie=o(48526),ye=o(65632),W=o(65223);function we(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function Se(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function xe(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return Se(n.overflowY,t)||Se(n.overflowX,t)||function(r){var l=function(i){if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch(s){return null}}(r);return!!l&&(l.clientHeight<r.scrollHeight||l.clientWidth<r.scrollWidth)}(e)}return!1}function Ee(e,t,n,r,l,i,s,c){return i<e&&s>t||i>e&&s<t?0:i<=e&&c<=n||s>=t&&c>=n?i-e-r:s>t&&c<n||i<e&&c>n?s-t+l:0}function Le(e,t){var n=window,r=t.scrollMode,l=t.block,i=t.inline,s=t.boundary,c=t.skipOverflowHiddenElements,f=typeof s=="function"?s:function(Ze){return Ze!==s};if(!we(e))throw new TypeError("Invalid target");for(var h=document.scrollingElement||document.documentElement,C=[],d=e;we(d)&&f(d);){if((d=d.parentElement)===h){C.push(d);break}d!=null&&d===document.body&&xe(d)&&!xe(document.documentElement)||d!=null&&xe(d,c)&&C.push(d)}for(var u=n.visualViewport?n.visualViewport.width:innerWidth,E=n.visualViewport?n.visualViewport.height:innerHeight,x=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),N=g.height,p=g.width,P=g.top,V=g.right,L=g.bottom,T=g.left,b=l==="start"||l==="nearest"?P:l==="end"?L:P+N/2,O=i==="center"?T+p/2:i==="end"?V:T,H=[],I=0;I<C.length;I++){var Z=C[I],j=Z.getBoundingClientRect(),K=j.height,A=j.width,D=j.top,_=j.right,Y=j.bottom,w=j.left;if(r==="if-needed"&&P>=0&&T>=0&&L<=E&&V<=u&&P>=D&&L<=Y&&T>=w&&V<=_)return H;var ee=getComputedStyle(Z),te=parseInt(ee.borderLeftWidth,10),re=parseInt(ee.borderTopWidth,10),se=parseInt(ee.borderRightWidth,10),J=parseInt(ee.borderBottomWidth,10),$=0,M=0,ue="offsetWidth"in Z?Z.offsetWidth-Z.clientWidth-te-se:0,ce="offsetHeight"in Z?Z.offsetHeight-Z.clientHeight-re-J:0;if(h===Z)$=l==="start"?b:l==="end"?b-E:l==="nearest"?Ee(v,v+E,E,re,J,v+b,v+b+N,N):b-E/2,M=i==="start"?O:i==="center"?O-u/2:i==="end"?O-u:Ee(x,x+u,u,te,se,x+O,x+O+p,p),$=Math.max(0,$+v),M=Math.max(0,M+x);else{$=l==="start"?b-D-re:l==="end"?b-Y+J+ce:l==="nearest"?Ee(D,Y,K,re,J+ce,b,b+N,N):b-(D+K/2)+ce/2,M=i==="start"?O-w-te:i==="center"?O-(w+A/2)+ue/2:i==="end"?O-_+se+ue:Ee(w,_,A,te,se+ue,O,O+p,p);var pe=Z.scrollLeft,be=Z.scrollTop;b+=be-($=Math.max(0,Math.min(be+$,Z.scrollHeight-K+ce))),O+=pe-(M=Math.max(0,Math.min(pe+M,Z.scrollWidth-A+ue)))}H.push({el:Z,top:$,left:M})}return H}function Te(e){return e===Object(e)&&Object.keys(e).length!==0}function et(e,t){t===void 0&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(r){var l=r.el,i=r.top,s=r.left;l.scroll&&n?l.scroll({top:i,left:s,behavior:t}):(l.scrollTop=i,l.scrollLeft=s)})}function tt(e){return e===!1?{block:"end",inline:"nearest"}:Te(e)?e:{block:"start",inline:"nearest"}}function rt(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(Te(t)&&typeof t.behavior=="function")return t.behavior(n?Le(e,t):[]);if(!!n){var r=tt(t);return et(Le(e,r),r.behavior)}}var nt=rt,at=["parentNode"],lt="form_item";function me(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function Ae(e,t){if(!!e.length){var n=e.join("_");if(t)return"".concat(t,"_").concat(n);var r=at.indexOf(n)>=0;return r?"".concat(lt,"_").concat(n):n}}function De(e){var t=me(e);return t.join("_")}function We(e){var t=(0,ie.cI)(),n=(0,U.Z)(t,1),r=n[0],l=a.useRef({}),i=a.useMemo(function(){return e!=null?e:(0,m.Z)((0,m.Z)({},r),{__INTERNAL__:{itemRef:function(c){return function(f){var h=De(c);f?l.current[h]=f:delete l.current[h]}}},scrollToField:function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=me(c),C=Ae(h,i.__INTERNAL__.name),d=C?document.getElementById(C):null;d&&nt(d,(0,m.Z)({scrollMode:"if-needed",block:"nearest"},f))},getFieldInstance:function(c){var f=De(c);return l.current[f]}})},[e,r]);return[i]}var Ve=o(97647),ot=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 l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)t.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},it=function(t,n){var r,l=a.useContext(Ve.Z),i=a.useContext(ye.E_),s=i.getPrefixCls,c=i.direction,f=i.form,h=t.prefixCls,C=t.className,d=C===void 0?"":C,u=t.size,E=u===void 0?l:u,x=t.form,v=t.colon,g=t.labelAlign,N=t.labelWrap,p=t.labelCol,P=t.wrapperCol,V=t.hideRequiredMark,L=t.layout,T=L===void 0?"horizontal":L,b=t.scrollToFirstError,O=t.requiredMark,H=t.onFinishFailed,I=t.name,Z=ot(t,["prefixCls","className","size","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name"]),j=(0,a.useMemo)(function(){return O!==void 0?O:f&&f.requiredMark!==void 0?f.requiredMark:!V},[V,O,f]),K=v!=null?v:f==null?void 0:f.colon,A=s("form",h),D=le()(A,(r={},(0,R.Z)(r,"".concat(A,"-").concat(T),!0),(0,R.Z)(r,"".concat(A,"-hide-required-mark"),j===!1),(0,R.Z)(r,"".concat(A,"-rtl"),c==="rtl"),(0,R.Z)(r,"".concat(A,"-").concat(E),E),r),d),_=We(x),Y=(0,U.Z)(_,1),w=Y[0],ee=w.__INTERNAL__;ee.name=I;var te=(0,a.useMemo)(function(){return{name:I,labelAlign:g,labelCol:p,labelWrap:N,wrapperCol:P,vertical:T==="vertical",colon:K,requiredMark:j,itemRef:ee.itemRef,form:w}},[I,g,p,P,T,K,j,w]);a.useImperativeHandle(n,function(){return w});var re=function(J){H==null||H(J);var $={block:"nearest"};b&&J.errorFields.length&&((0,oe.Z)(b)==="object"&&($=b),w.scrollToField(J.errorFields[0].name,$))};return a.createElement(Ve.q,{size:E},a.createElement(W.q3.Provider,{value:te},a.createElement(ie.ZP,(0,m.Z)({id:I},Z,{name:I,onFinishFailed:re,form:w,className:D}))))},st=a.forwardRef(it),ut=st,z=o(85061),je=o(42550),ct=o(30470),dt=o(98423),ft=o(38819),mt=o(68855),vt=o(43061),gt=o(7085),ht=o(92820),Ct=o(93355),X=o(21687),yt=o(1870),Ue=o(21584),Et=o(42051),pt=o(85636),bt=o(61580),Zt=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 l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)t.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};function Ft(e){return e?(0,oe.Z)(e)==="object"&&!a.isValidElement(e)?e:{title:e}:null}var xt=function(t){var n=t.prefixCls,r=t.label,l=t.htmlFor,i=t.labelCol,s=t.labelAlign,c=t.colon,f=t.required,h=t.requiredMark,C=t.tooltip,d=(0,Et.E)("Form"),u=(0,U.Z)(d,1),E=u[0];return r?a.createElement(W.q3.Consumer,{key:"label"},function(x){var v,g=x.vertical,N=x.labelAlign,p=x.labelCol,P=x.labelWrap,V=x.colon,L,T=i||p||{},b=s||N,O="".concat(n,"-item-label"),H=le()(O,b==="left"&&"".concat(O,"-left"),T.className,(0,R.Z)({},"".concat(O,"-wrap"),!!P)),I=r,Z=c===!0||V!==!1&&c!==!1,j=Z&&!g;j&&typeof r=="string"&&r.trim()!==""&&(I=r.replace(/[:|:]\s*$/,""));var K=Ft(C);if(K){var A=K.icon,D=A===void 0?a.createElement(yt.Z,null):A,_=Zt(K,["icon"]),Y=a.createElement(bt.Z,_,a.cloneElement(D,{className:"".concat(n,"-item-tooltip"),title:""}));I=a.createElement(a.Fragment,null,I,Y)}h==="optional"&&!f&&(I=a.createElement(a.Fragment,null,I,a.createElement("span",{className:"".concat(n,"-item-optional"),title:""},(E==null?void 0:E.optional)||((L=pt.Z.Form)===null||L===void 0?void 0:L.optional))));var w=le()((v={},(0,R.Z)(v,"".concat(n,"-item-required"),f),(0,R.Z)(v,"".concat(n,"-item-required-mark-optional"),h==="optional"),(0,R.Z)(v,"".concat(n,"-item-no-colon"),!Z),v));return a.createElement(Ue.Z,(0,m.Z)({},T,{className:H}),a.createElement("label",{htmlFor:l,className:w,title:typeof r=="string"?r:""},I))}):null},Ot=xt,$e=o(63441),Be=o(33603),Ke=[];function Oe(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:"".concat(n,"-").concat(r),error:e,errorStatus:t}}function ke(e){var t=e.help,n=e.helpStatus,r=e.errors,l=r===void 0?Ke:r,i=e.warnings,s=i===void 0?Ke:i,c=e.className,f=a.useContext(W.Rk),h=f.prefixCls,C=a.useContext(ye.E_),d=C.getPrefixCls,u="".concat(h,"-item-explain"),E=d(),x=a.useMemo(function(){return t!=null?[Oe(t,n,"help")]:[].concat((0,z.Z)(l.map(function(v,g){return Oe(v,"error","error",g)})),(0,z.Z)(s.map(function(v,g){return Oe(v,"warning","warning",g)})))},[t,n,l,s]);return a.createElement($e.Z,(0,m.Z)({},Be.ZP,{motionName:"".concat(E,"-show-help"),motionAppear:!1,motionEnter:!1,visible:!!x.length,onLeaveStart:function(g){return g.style.height="auto",{height:g.offsetHeight}}}),function(v){var g=v.className,N=v.style;return a.createElement("div",{className:le()(u,g,c),style:N},a.createElement($e.V,(0,m.Z)({keys:x},Be.ZP,{motionName:"".concat(E,"-show-help-item"),component:!1}),function(p){var P=p.key,V=p.error,L=p.errorStatus,T=p.className,b=p.style;return a.createElement("div",{key:P,role:"alert",className:le()(T,(0,R.Z)({},"".concat(u,"-").concat(L),L)),style:b},V)}))})}var It=function(t){var n=t.prefixCls,r=t.status,l=t.wrapperCol,i=t.children,s=t.errors,c=t.warnings,f=t._internalItemRender,h=t.extra,C=t.help,d="".concat(n,"-item"),u=a.useContext(W.q3),E=l||u.wrapperCol||{},x=le()("".concat(d,"-control"),E.className),v=a.useMemo(function(){return(0,m.Z)({},u)},[u]);delete v.labelCol,delete v.wrapperCol;var g=a.createElement("div",{className:"".concat(d,"-control-input")},a.createElement("div",{className:"".concat(d,"-control-input-content")},i)),N=a.useMemo(function(){return{prefixCls:n,status:r}},[n,r]),p=a.createElement(W.Rk.Provider,{value:N},a.createElement(ke,{errors:s,warnings:c,help:C,helpStatus:r,className:"".concat(d,"-explain-connected")})),P=h?a.createElement("div",{className:"".concat(d,"-extra")},h):null,V=f&&f.mark==="pro_table_render"&&f.render?f.render(t,{input:g,errorList:p,extra:P}):a.createElement(a.Fragment,null,g,p,P);return a.createElement(W.q3.Provider,{value:v},a.createElement(Ue.Z,(0,m.Z)({},E,{className:x}),V))},_t=It,ze=o(96159),He=o(75164);function Rt(e){var t=a.useState(e),n=(0,U.Z)(t,2),r=n[0],l=n[1],i=(0,a.useRef)(null),s=(0,a.useRef)([]),c=(0,a.useRef)(!1);a.useEffect(function(){return c.current=!1,function(){c.current=!0,He.Z.cancel(i.current),i.current=null}},[]);function f(h){c.current||(i.current===null&&(s.current=[],i.current=(0,He.Z)(function(){i.current=null,l(function(C){var d=C;return s.current.forEach(function(u){d=u(d)}),d})})),s.current.push(h))}return[r,f]}function Ye(e){var t=a.useState(e),n=(0,U.Z)(t,2),r=n[0],l=n[1];return a.useEffect(function(){var i=setTimeout(function(){l(e)},e.length?0:10);return function(){clearTimeout(i)}},[e]),r}function Mt(){var e=a.useContext(W.q3),t=e.itemRef,n=a.useRef({});function r(l,i){var s=i&&(0,oe.Z)(i)==="object"&&i.ref,c=l.join("_");return(n.current.name!==c||n.current.originRef!==s)&&(n.current.name=c,n.current.originRef=s,n.current.ref=(0,je.sQ)(t(l),s)),n.current.ref}return r}var Pt=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 l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)t.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},Nt="__SPLIT__",Ht=(0,Ct.b)("success","warning","error","validating",""),wt=a.memo(function(e){var t=e.children;return t},function(e,t){return e.value===t.value&&e.update===t.update});function St(e){return e===null&&(0,X.Z)(!1,"Form.Item","`null` is passed as `name` property"),e!=null}function Qe(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[]}}var Lt={success:ft.Z,warning:mt.Z,error:vt.Z,validating:gt.Z};function Tt(e){var t=e.name,n=e.noStyle,r=e.dependencies,l=e.prefixCls,i=e.style,s=e.className,c=e.shouldUpdate,f=e.hasFeedback,h=e.help,C=e.rules,d=e.validateStatus,u=e.children,E=e.required,x=e.label,v=e.messageVariables,g=e.trigger,N=g===void 0?"onChange":g,p=e.validateTrigger,P=e.hidden,V=Pt(e,["name","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","messageVariables","trigger","validateTrigger","hidden"]),L=(0,a.useContext)(ye.E_),T=L.getPrefixCls,b=(0,a.useContext)(W.q3),O=b.name,H=b.requiredMark,I=typeof u=="function",Z=(0,a.useContext)(W.qI),j=(0,a.useContext)(ie.zb),K=j.validateTrigger,A=p!==void 0?p:K,D=St(t),_=T("form",l),Y=a.useContext(ie.ZM),w=a.useRef(),ee=Rt({}),te=(0,U.Z)(ee,2),re=te[0],se=te[1],J=(0,ct.Z)(function(){return Qe()}),$=(0,U.Z)(J,2),M=$[0],ue=$[1],ce=function(F){var k=Y==null?void 0:Y.getKey(F.name);if(ue(F.destroy?Qe():F,!0),n&&Z){var y=F.name;if(F.destroy)y=w.current||y;else if(k!==void 0){var Q=(0,U.Z)(k,2),ge=Q[0],ne=Q[1];y=[ge].concat((0,z.Z)(ne)),w.current=y}Z(F,y)}},pe=function(F,k){se(function(y){var Q=(0,m.Z)({},y),ge=[].concat((0,z.Z)(F.name.slice(0,-1)),(0,z.Z)(k)),ne=ge.join(Nt);return F.destroy?delete Q[ne]:Q[ne]=F,Q})},be=a.useMemo(function(){var B=(0,z.Z)(M.errors),F=(0,z.Z)(M.warnings);return Object.values(re).forEach(function(k){B.push.apply(B,(0,z.Z)(k.errors||[])),F.push.apply(F,(0,z.Z)(k.warnings||[]))}),[B,F]},[re,M.errors,M.warnings]),Ze=(0,U.Z)(be,2),$t=Ze[0],Bt=Ze[1],Ie=Ye($t),_e=Ye(Bt),Kt=Mt(),S="";d!==void 0?S=d:(M==null?void 0:M.validating)?S="validating":Ie.length?S="error":_e.length?S="warning":(M==null?void 0:M.touched)&&(S="success");var kt=(0,a.useMemo)(function(){var B;if(f){var F=S&&Lt[S];B=F?a.createElement("span",{className:le()("".concat(_,"-item-feedback-icon"),"".concat(_,"-item-feedback-icon-").concat(S))},a.createElement(F,null)):null}return{status:S,hasFeedback:f,feedbackIcon:B,isFormItemInput:!0}},[S,f]);function Xe(B,F,k){var y;if(n&&!P)return B;var Q=(y={},(0,R.Z)(y,"".concat(_,"-item"),!0),(0,R.Z)(y,"".concat(_,"-item-with-help"),h!=null||Ie.length||_e.length),(0,R.Z)(y,"".concat(s),!!s),(0,R.Z)(y,"".concat(_,"-item-has-feedback"),S&&f),(0,R.Z)(y,"".concat(_,"-item-has-success"),S==="success"),(0,R.Z)(y,"".concat(_,"-item-has-warning"),S==="warning"),(0,R.Z)(y,"".concat(_,"-item-has-error"),S==="error"),(0,R.Z)(y,"".concat(_,"-item-is-validating"),S==="validating"),(0,R.Z)(y,"".concat(_,"-item-hidden"),P),y);return a.createElement(ht.Z,(0,m.Z)({className:le()(Q),style:i,key:"row"},(0,dt.Z)(V,["colon","extra","fieldKey","requiredMark","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","labelAlign","labelWrap","labelCol","normalize","preserve","tooltip","validateFirst","valuePropName","wrapperCol","_internalItemRender"])),a.createElement(Ot,(0,m.Z)({htmlFor:F,required:k,requiredMark:H},e,{prefixCls:_})),a.createElement(_t,(0,m.Z)({},e,M,{errors:Ie,warnings:_e,prefixCls:_,status:S,help:h}),a.createElement(W.qI.Provider,{value:pe},a.createElement(W.aM.Provider,{value:kt},B))))}if(!D&&!I&&!r)return Xe(u);var ve={};return typeof x=="string"?ve.label=x:t&&(ve.label=String(t)),v&&(ve=(0,m.Z)((0,m.Z)({},ve),v)),a.createElement(ie.gN,(0,m.Z)({},e,{messageVariables:ve,trigger:N,validateTrigger:A,onMetaChange:ce}),function(B,F,k){var y=me(t).length&&F?F.name:[],Q=Ae(y,O),ge=E!==void 0?E:!!(C&&C.some(function(q){if(q&&(0,oe.Z)(q)==="object"&&q.required&&!q.warningOnly)return!0;if(typeof q=="function"){var de=q(k);return de&&de.required&&!de.warningOnly}return!1})),ne=(0,m.Z)({},B),he=null;if((0,X.Z)(!(c&&r),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(u)&&D)(0,X.Z)(!1,"Form.Item","`children` is array of render props cannot have `name`."),he=u;else if(I&&(!(c||r)||D))(0,X.Z)(!!(c||r),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),(0,X.Z)(!D,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(r&&!I&&!D)(0,X.Z)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if((0,ze.l$)(u)){(0,X.Z)(u.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Ce=(0,m.Z)((0,m.Z)({},u.props),ne);Ce.id||(Ce.id=Q),(0,je.Yr)(u)&&(Ce.ref=Kt(y,u));var zt=new Set([].concat((0,z.Z)(me(N)),(0,z.Z)(me(A))));zt.forEach(function(q){Ce[q]=function(){for(var de,Je,Re,qe,Me,Ge=arguments.length,Pe=new Array(Ge),Fe=0;Fe<Ge;Fe++)Pe[Fe]=arguments[Fe];(Re=ne[q])===null||Re===void 0||(de=Re).call.apply(de,[ne].concat(Pe)),(Me=(qe=u.props)[q])===null||Me===void 0||(Je=Me).call.apply(Je,[qe].concat(Pe))}}),he=a.createElement(wt,{value:ne[e.valuePropName||"value"],update:u},(0,ze.Tm)(u,Ce))}else I&&(c||r)&&!D?he=u(k):((0,X.Z)(!y.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),he=u);return Xe(he,Q,ge)})}var At=Tt,Dt=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 l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)t.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},Wt=function(t){var n=t.prefixCls,r=t.children,l=Dt(t,["prefixCls","children"]);(0,X.Z)(!!l.name,"Form.List","Miss `name` prop.");var i=a.useContext(ye.E_),s=i.getPrefixCls,c=s("form",n),f=a.useMemo(function(){return{prefixCls:c,status:"error"}},[c]);return a.createElement(ie.aV,l,function(h,C,d){return a.createElement(W.Rk.Provider,{value:f},r(h.map(function(u){return(0,m.Z)((0,m.Z)({},u),{fieldKey:u.key})}),C,{errors:d.errors,warnings:d.warnings}))})},Vt=Wt;function jt(){var e=(0,a.useContext)(W.q3),t=e.form;return t}var G=ut;G.Item=At,G.List=Vt,G.ErrorList=ke,G.useForm=We,G.useFormInstance=jt,G.useWatch=ie.qo,G.Provider=W.RV,G.create=function(){(0,X.Z)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Ut=G},9715:function(fe,ae,o){"use strict";var m=o(38663),oe=o.n(m),U=o(34442),R=o.n(U),a=o(6999),Ne=o(22385)},71230:function(fe,ae,o){"use strict";var m=o(92820);ae.Z=m.Z},13062:function(fe,ae,o){"use strict";var m=o(38663),oe=o.n(m),U=o(6999)}}]);