You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
16 KiB
1 lines
16 KiB
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[3233],{9455:function(W,P){var e={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:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};P.Z=e},34700:function(W,P,e){e.d(P,{Z:function(){return C}});var t=e(33346),r=e(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M789 610.3c-38.7-12.9-90.7-32.7-148.5-53.6 34.8-60.3 62.5-129 80.7-203.6H530.5v-68.6h233.6v-38.3H530.5V132h-95.4c-16.7 0-16.7 16.5-16.7 16.5v97.8H182.2v38.3h236.3v68.6H223.4v38.3h378.4a667.18 667.18 0 01-54.5 132.9c-122.8-40.4-253.8-73.2-336.1-53-52.6 13-86.5 36.1-106.5 60.3-91.4 111-25.9 279.6 167.2 279.6C386 811.2 496 747.6 581.2 643 708.3 704 960 808.7 960 808.7V659.4s-31.6-2.5-171-49.1zM253.9 746.6c-150.5 0-195-118.3-120.6-183.1 24.8-21.9 70.2-32.6 94.4-35 89.4-8.8 172.2 25.2 269.9 72.8-68.8 89.5-156.3 145.3-243.7 145.3z"}}]},name:"alipay",theme:"outlined"},p=i,g=e(69164),d=function(f,u){return r.createElement(g.Z,(0,t.Z)((0,t.Z)({},f),{},{ref:u,icon:p}))};d.displayName="AlipayOutlined";var C=r.forwardRef(d)},10587:function(W,P,e){e.d(P,{Z:function(){return C}});var t=e(33346),r=e(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"}}]},name:"dingding",theme:"outlined"},p=i,g=e(69164),d=function(f,u){return r.createElement(g.Z,(0,t.Z)((0,t.Z)({},f),{},{ref:u,icon:p}))};d.displayName="DingdingOutlined";var C=r.forwardRef(d)},62624:function(W,P,e){e.d(P,{Z:function(){return C}});var t=e(33346),r=e(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168.5 273.7a68.7 68.7 0 10137.4 0 68.7 68.7 0 10-137.4 0zm730 79.2s-23.7-184.4-426.9-70.1c17.3-30 25.6-49.5 25.6-49.5L396.4 205s-40.6 132.6-113 194.4c0 0 70.1 40.6 69.4 39.4 20.1-20.1 38.2-40.6 53.7-60.4 16.1-7 31.5-13.6 46.7-19.8-18.6 33.5-48.7 83.8-78.8 115.6l42.4 37s28.8-27.7 60.4-61.2h36v61.8H372.9v49.5h140.3v118.5c-1.7 0-3.6 0-5.4-.2-15.4-.7-39.5-3.3-49-18.2-11.5-18.1-3-51.5-2.4-71.9h-97l-3.4 1.8s-35.5 159.1 102.3 155.5c129.1 3.6 203-36 238.6-63.1l14.2 52.6 79.6-33.2-53.9-131.9-64.6 20.1 12.1 45.2c-16.6 12.4-35.6 21.7-56.2 28.4V561.3h137.1v-49.5H628.1V450h137.6v-49.5H521.3c17.6-21.4 31.5-41.1 35-53.6l-42.5-11.6c182.8-65.5 284.5-54.2 283.6 53.2v282.8s10.8 97.1-100.4 90.1l-60.2-12.9-14.2 57.1S882.5 880 903.7 680.2c21.3-200-5.2-327.3-5.2-327.3zm-707.4 18.3l-45.4 69.7 83.6 52.1s56 28.5 29.4 81.9C233.8 625.5 112 736.3 112 736.3l109 68.1c75.4-163.7 70.5-142 89.5-200.7 19.5-60.1 23.7-105.9-9.4-139.1-42.4-42.6-47-46.6-110-93.4z"}}]},name:"taobao",theme:"outlined"},p=i,g=e(69164),d=function(f,u){return r.createElement(g.Z,(0,t.Z)((0,t.Z)({},f),{},{ref:u,icon:p}))};d.displayName="TaobaoOutlined";var C=r.forwardRef(d)},68968:function(W,P,e){e.d(P,{Z:function(){return C}});var t=e(33346),r=e(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},p=i,g=e(69164),d=function(f,u){return r.createElement(g.Z,(0,t.Z)((0,t.Z)({},f),{},{ref:u,icon:p}))};d.displayName="UploadOutlined";var C=r.forwardRef(d)},68344:function(W,P,e){var t=e(33346),r=e(1788),i=e(10570),p=e(13165),g=e(75200),d=e(33952),C=e(13763),S=e(50959),f=e(81298),u=e(21510),I=e(11527),F=["children","value","valuePropName","onChange","fieldProps","space","type","transform","convertValue","lightProps"],T=["children","space","valuePropName"],Z={space:g.Z,group:d.Z.Group};function E(o){var n=arguments.length<=1?void 0:arguments[1];return n&&n.target&&o in n.target?n.target[o]:n}var c=function(n){var O=n.children,h=n.value,x=h===void 0?[]:h,m=n.valuePropName,s=n.onChange,l=n.fieldProps,v=n.space,y=n.type,a=y===void 0?"space":y,H=n.transform,z=n.convertValue,K=n.lightProps,re=(0,i.Z)(n,F),_=(0,p.J)(function(M,B){var L,R=(0,r.Z)(x);R[B]=E(m||"value",M),s==null||s(R),l==null||(L=l.onChange)===null||L===void 0||L.call(l,R)}),b=-1,$=(0,C.Z)(O).map(function(M){if(S.isValidElement(M)){var B,L,R;b+=1;var A=b,Q=(M==null||(B=M.type)===null||B===void 0?void 0:B.displayName)==="ProFormComponent"||(M==null||(L=M.props)===null||L===void 0?void 0:L.readonly),ae=Q?(0,t.Z)((0,t.Z)({key:A,ignoreFormItem:!0},M.props||{}),{},{fieldProps:(0,t.Z)((0,t.Z)({},M==null||(R=M.props)===null||R===void 0?void 0:R.fieldProps),{},{onChange:function(){_(arguments.length<=0?void 0:arguments[0],A)}}),value:x==null?void 0:x[A],onChange:void 0}):(0,t.Z)((0,t.Z)({key:A},M.props||{}),{},{value:x==null?void 0:x[A],onChange:function(V){var Y,te;_(V,A),(Y=(te=M.props).onChange)===null||Y===void 0||Y.call(te,V)}});return S.cloneElement(M,ae)}return M}),X=Z[a],k=(0,u.zx)(re),q=k.RowWrapper,J=(0,S.useMemo)(function(){return(0,t.Z)({},a==="group"?{compact:!0}:{})},[a]),ee=(0,S.useCallback)(function(M){var B=M.children;return(0,I.jsx)(X,(0,t.Z)((0,t.Z)((0,t.Z)({},J),v),{},{align:"start",wrap:!0,children:B}))},[X,v,J]);return(0,I.jsx)(q,{Wrapper:ee,children:$})},j=S.forwardRef(function(o,n){var O=o.children,h=o.space,x=o.valuePropName,m=(0,i.Z)(o,T);return(0,S.useImperativeHandle)(n,function(){return{}}),(0,I.jsx)(c,(0,t.Z)((0,t.Z)((0,t.Z)({space:h,valuePropName:x},m.fieldProps),{},{onChange:void 0},m),{},{children:O}))}),D=(0,f.G)(j);P.Z=D},79712:function(W,P,e){var t=e(33346),r=e(10570),i=e(44559),p=e(50959),g=e(54970),d=e(82578),C=e(11527),S=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],f=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],u=function(c,j){var D=c.fieldProps,o=c.children,n=c.params,O=c.proFieldProps,h=c.mode,x=c.valueEnum,m=c.request,s=c.showSearch,l=c.options,v=(0,r.Z)(c,S),y=(0,p.useContext)(g.Z);return(0,C.jsx)(d.Z,(0,t.Z)((0,t.Z)({valueEnum:(0,i.h)(x),request:m,params:n,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,t.Z)({options:l,mode:h,showSearch:s,getPopupContainer:y.getPopupContainer},D),ref:j,proFieldProps:O},v),{},{children:o}))},I=p.forwardRef(function(E,c){var j=E.fieldProps,D=E.children,o=E.params,n=E.proFieldProps,O=E.mode,h=E.valueEnum,x=E.request,m=E.options,s=(0,r.Z)(E,f),l=(0,t.Z)({options:m,mode:O||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},j),v=(0,p.useContext)(g.Z);return(0,C.jsx)(d.Z,(0,t.Z)((0,t.Z)({valueEnum:(0,i.h)(h),request:x,params:o,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,t.Z)({getPopupContainer:v.getPopupContainer},l),ref:c,proFieldProps:n},s),{},{children:D}))}),F=p.forwardRef(u),T=I,Z=F;Z.SearchSelect=T,Z.displayName="ProFormComponent",P.Z=Z},59224:function(W,P,e){var t=e(33346),r=e(10570),i=e(50959),p=e(82578),g=e(11527),d=["fieldProps","proFieldProps"],C=function(f,u){var I=f.fieldProps,F=f.proFieldProps,T=(0,r.Z)(f,d);return(0,g.jsx)(p.Z,(0,t.Z)({ref:u,valueType:"textarea",fieldProps:I,proFieldProps:F},T))};P.Z=i.forwardRef(C)},60010:function(W,P,e){var t=e(32682),r=e(33346),i=e(10570),p=e(65589),g=e(67190),d=e(82757),C=e(71770),S=e(50959),f=e(82578),u=e(11527),I=["fieldProps","proFieldProps"],F=["fieldProps","proFieldProps"],T="text",Z=function(o){var n=o.fieldProps,O=o.proFieldProps,h=(0,i.Z)(o,I);return(0,u.jsx)(f.Z,(0,r.Z)({valueType:T,fieldProps:n,filedConfig:{valueType:T},proFieldProps:O},h))},E=function(o){var n=(0,p.Z)(o.open||!1,{value:o.open,onChange:o.onOpenChange}),O=(0,t.Z)(n,2),h=O[0],x=O[1];return(0,u.jsx)(g.Z.Item,{shouldUpdate:!0,noStyle:!0,children:function(s){var l,v=s.getFieldValue(o.name||[]);return(0,u.jsx)(d.Z,(0,r.Z)((0,r.Z)({getPopupContainer:function(a){return a&&a.parentNode?a.parentNode:a},onOpenChange:x,content:(0,u.jsxs)("div",{style:{padding:"4px 0"},children:[(l=o.statusRender)===null||l===void 0?void 0:l.call(o,v),o.strengthText?(0,u.jsx)("div",{style:{marginTop:10},children:(0,u.jsx)("span",{children:o.strengthText})}):null]}),overlayStyle:{width:240},placement:"right"},o.popoverProps),{},{open:h,children:o.children}))}})},c=function(o){var n=o.fieldProps,O=o.proFieldProps,h=(0,i.Z)(o,F),x=(0,S.useState)(!1),m=(0,t.Z)(x,2),s=m[0],l=m[1];return n!=null&&n.statusRender&&h.name?(0,u.jsx)(E,{name:h.name,statusRender:n==null?void 0:n.statusRender,popoverProps:n==null?void 0:n.popoverProps,strengthText:n==null?void 0:n.strengthText,open:s,onOpenChange:l,children:(0,u.jsx)(f.Z,(0,r.Z)({valueType:"password",fieldProps:(0,r.Z)((0,r.Z)({},(0,C.Z)(n,["statusRender","popoverProps","strengthText"])),{},{onBlur:function(y){var a;n==null||(a=n.onBlur)===null||a===void 0||a.call(n,y),l(!1)},onClick:function(y){var a;n==null||(a=n.onClick)===null||a===void 0||a.call(n,y),l(!0)}}),proFieldProps:O,filedConfig:{valueType:T}},h))}):(0,u.jsx)(f.Z,(0,r.Z)({valueType:"password",fieldProps:n,proFieldProps:O,filedConfig:{valueType:T}},h))},j=Z;j.Password=c,j.displayName="ProFormComponent",P.Z=j},43997:function(W,P,e){e.d(P,{A:function(){return m}});var t=e(33346),r=e(67190),i=e(50959),p=e(1704),g=e(58922),d=e(73273),C=e(32682),S=e(25671),f=e(65589),u=e(21804),I=e(56197),F=e(75200),T=e(84875),Z=e.n(T),E=e(54970),c=e(21510),j=e(26488),D=function(l){var v;return(0,d.Z)({},l.componentCls,{"&-title":{marginBlockEnd:l.marginXL,fontWeight:"bold"},"&-container":(0,d.Z)({flexWrap:"wrap",maxWidth:"100%"},"> div".concat(l.antCls,"-space-item"),{maxWidth:"100%"}),"&-twoLine":(v={display:"block",width:"100%"},(0,d.Z)(v,"".concat(l.componentCls,"-title"),{width:"100%",margin:"8px 0"}),(0,d.Z)(v,"".concat(l.componentCls,"-container"),{paddingInlineStart:16}),(0,d.Z)(v,"".concat(l.antCls,"-space-item,").concat(l.antCls,"-form-item"),{width:"100%"}),(0,d.Z)(v,"".concat(l.antCls,"-form-item"),{"&-control":{display:"flex",alignItems:"center",justifyContent:"flex-end","&-input":{alignItems:"center",justifyContent:"flex-end","&-content":{flex:"none"}}}}),v)})};function o(s){return(0,j.Xj)("ProFormGroup",function(l){var v=(0,t.Z)((0,t.Z)({},l),{},{componentCls:".".concat(s)});return[D(v)]})}var n=e(11527),O=i.forwardRef(function(s,l){var v=i.useContext(E.Z),y=v.groupProps,a=(0,t.Z)((0,t.Z)({},y),s),H=a.children,z=a.collapsible,K=a.defaultCollapsed,re=a.style,_=a.labelLayout,b=a.title,$=b===void 0?s.label:b,X=a.tooltip,k=a.align,q=k===void 0?"start":k,J=a.direction,ee=a.size,M=ee===void 0?32:ee,B=a.titleStyle,L=a.titleRender,R=a.spaceProps,A=a.extra,Q=a.autoFocus,ae=(0,f.Z)(function(){return K||!1},{value:s.collapsed,onChange:s.onCollapse}),ne=(0,C.Z)(ae,2),V=ne[0],Y=ne[1],te=(0,i.useContext)(I.ZP.ConfigContext),he=te.getPrefixCls,se=(0,c.zx)(s),Pe=se.ColWrapper,ie=se.RowWrapper,G=he("pro-form-group"),de=o(G),fe=de.wrapSSR,oe=de.hashId,ue=z&&(0,n.jsx)(S.Z,{style:{marginInlineEnd:8},rotate:V?void 0:90}),ce=(0,n.jsx)(u.G,{label:ue?(0,n.jsxs)("div",{children:[ue,$]}):$,tooltip:X}),ve=(0,i.useCallback)(function(N){var w=N.children;return(0,n.jsx)(F.Z,(0,t.Z)((0,t.Z)({},R),{},{className:Z()("".concat(G,"-container ").concat(oe),R==null?void 0:R.className),size:M,align:q,direction:J,style:(0,t.Z)({rowGap:0},R==null?void 0:R.style),children:w}))},[q,G,J,oe,M,R]),pe=L?L(ce,s):ce,Ce=(0,i.useMemo)(function(){var N=[],w=i.Children.toArray(H).map(function(U,xe){var le;return i.isValidElement(U)&&U!==null&&U!==void 0&&(le=U.props)!==null&&le!==void 0&&le.hidden?(N.push(U),null):xe===0&&i.isValidElement(U)&&Q?i.cloneElement(U,(0,t.Z)((0,t.Z)({},U.props),{},{autoFocus:Q})):U});return[(0,n.jsx)(ie,{Wrapper:ve,children:w},"children"),N.length>0?(0,n.jsx)("div",{style:{display:"none"},children:N}):null]},[H,ie,ve,Q]),me=(0,C.Z)(Ce,2),ge=me[0],Ee=me[1];return fe((0,n.jsx)(Pe,{children:(0,n.jsxs)("div",{className:Z()(G,oe,(0,d.Z)({},"".concat(G,"-twoLine"),_==="twoLine")),style:re,ref:l,children:[Ee,($||X||A)&&(0,n.jsx)("div",{className:"".concat(G,"-title ").concat(oe).trim(),style:B,onClick:function(){Y(!V)},children:A?(0,n.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[pe,(0,n.jsx)("span",{onClick:function(w){return w.stopPropagation()},children:A})]}):pe}),(0,n.jsx)("div",{style:{display:z&&V?"none":void 0},children:ge})]})}))});O.displayName="ProForm-Group";var h=O,x=e(75693);function m(s){return(0,n.jsx)(p.I,(0,t.Z)({layout:"vertical",submitter:{render:function(v,y){return y.reverse()}},contentRender:function(v,y){return(0,n.jsxs)(n.Fragment,{children:[v,y]})}},s))}m.Group=h,m.useForm=r.Z.useForm,m.Item=x.Z,m.useWatch=r.Z.useWatch,m.ErrorList=r.Z.ErrorList,m.Provider=r.Z.Provider,m.useFormInstance=r.Z.useFormInstance,m.EditOrReadOnlyContext=g.A},19494:function(W,P,e){e.d(P,{f:function(){return F}});var t=e(73273),r=e(56197),i=e(84875),p=e.n(i),g=e(50959),d=e(169),C=e(33346),S=e(26488),f=function(Z){return(0,t.Z)({},Z.componentCls,{width:"100%","&-wide":{maxWidth:1152,margin:"0 auto"}})};function u(T){return(0,S.Xj)("ProLayoutGridContent",function(Z){var E=(0,C.Z)((0,C.Z)({},Z),{},{componentCls:".".concat(T)});return[f(E)]})}var I=e(11527),F=function(Z){var E=(0,g.useContext)(d.X),c=Z.children,j=Z.contentWidth,D=Z.className,o=Z.style,n=(0,g.useContext)(r.ZP.ConfigContext),O=n.getPrefixCls,h=Z.prefixCls||O("pro"),x=j||E.contentWidth,m="".concat(h,"-grid-content"),s=u(m),l=s.wrapSSR,v=s.hashId,y=x==="Fixed"&&E.layout==="top";return l((0,I.jsx)("div",{className:p()(m,v,D,(0,t.Z)({},"".concat(m,"-wide"),y)),style:o,children:(0,I.jsx)("div",{className:"".concat(h,"-grid-content-children ").concat(v).trim(),children:c})}))}},169:function(W,P,e){e.d(P,{X:function(){return r}});var t=e(50959),r=(0,t.createContext)({})},21804:function(W,P,e){e.d(P,{G:function(){return j}});var t=e(33346),r=e(73273),i=e(38126),p=e(50959),g=e(9455),d=e(38782),C=function(o,n){return p.createElement(d.Z,(0,i.Z)({},o,{ref:n,icon:g.Z}))},S=p.forwardRef(C),f=e(56197),u=e(32618),I=e(84875),F=e.n(I),T=e(26488),Z=function(o){return(0,r.Z)({},o.componentCls,{display:"inline-flex",alignItems:"center",maxWidth:"100%","&-icon":{display:"block",marginInlineStart:"4px",cursor:"pointer","&:hover":{color:o.colorPrimary}},"&-title":{display:"inline-flex",flex:"1"},"&-subtitle ":{marginInlineStart:8,color:o.colorTextSecondary,fontWeight:"normal",fontSize:o.fontSize,whiteSpace:"nowrap"},"&-title-ellipsis":{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",wordBreak:"keep-all"}})};function E(D){return(0,T.Xj)("LabelIconTip",function(o){var n=(0,t.Z)((0,t.Z)({},o),{},{componentCls:".".concat(D)});return[Z(n)]})}var c=e(11527),j=p.memo(function(D){var o=D.label,n=D.tooltip,O=D.ellipsis,h=D.subTitle,x=(0,p.useContext)(f.ZP.ConfigContext),m=x.getPrefixCls,s=m("pro-core-label-tip"),l=E(s),v=l.wrapSSR,y=l.hashId;if(!n&&!h)return(0,c.jsx)(c.Fragment,{children:o});var a=typeof n=="string"||p.isValidElement(n)?{title:n}:n,H=(a==null?void 0:a.icon)||(0,c.jsx)(S,{});return v((0,c.jsxs)("div",{className:F()(s,y),onMouseDown:function(K){return K.stopPropagation()},onMouseLeave:function(K){return K.stopPropagation()},onMouseMove:function(K){return K.stopPropagation()},children:[(0,c.jsx)("div",{className:F()("".concat(s,"-title"),y,(0,r.Z)({},"".concat(s,"-title-ellipsis"),O)),children:o}),h&&(0,c.jsx)("div",{className:"".concat(s,"-subtitle ").concat(y).trim(),children:h}),n&&(0,c.jsx)(u.Z,(0,t.Z)((0,t.Z)({},a),{},{children:(0,c.jsx)("span",{className:"".concat(s,"-icon ").concat(y).trim(),children:H})}))]}))})}}]);
|
|
|