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.

2 lines
14 KiB

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[366],{34994:function(Ge,w,e){e.d(w,{A:function(){return C}});var y=e(1413),P=e(8232),h=e(67294),V=e(78733),ue=e(9105),Z=e(4942),k=e(97685),ce=e(87462),ve=e(50756),ge=e(46976),pe=function(v,B){return h.createElement(ge.Z,(0,ce.Z)({},v,{ref:B,icon:ve.Z}))},l=h.forwardRef(pe),M=l,fe=e(21770),me=e(48874),he=e(28459),xe=e(42075),ye=e(93967),q=e.n(ye),$=e(66758),Pe=e(2514),Ze=e(98082),Ce=function(v){return(0,Z.Z)({},v.componentCls,{"&-title":{marginBlockEnd:v.marginXL,fontWeight:"bold"},"&-container":(0,Z.Z)({flexWrap:"wrap",maxWidth:"100%"},"> div".concat(v.antCls,"-space-item"),{maxWidth:"100%"}),"&-twoLine":(0,Z.Z)((0,Z.Z)((0,Z.Z)((0,Z.Z)({display:"block",width:"100%"},"".concat(v.componentCls,"-title"),{width:"100%",margin:"8px 0"}),"".concat(v.componentCls,"-container"),{paddingInlineStart:16}),"".concat(v.antCls,"-space-item,").concat(v.antCls,"-form-item"),{width:"100%"}),"".concat(v.antCls,"-form-item"),{"&-control":{display:"flex",alignItems:"center",justifyContent:"flex-end","&-input":{alignItems:"center",justifyContent:"flex-end","&-content":{flex:"none"}}}})})};function Se(n){return(0,Ze.Xj)("ProFormGroup",function(v){var B=(0,y.Z)((0,y.Z)({},v),{},{componentCls:".".concat(n)});return[Ce(B)]})}var c=e(85893),G=h.forwardRef(function(n,v){var B=h.useContext($.Z),H=B.groupProps,g=(0,y.Z)((0,y.Z)({},H),n),_=g.children,ee=g.collapsible,Me=g.defaultCollapsed,N=g.style,Te=g.labelLayout,ne=g.title,O=ne===void 0?n.label:ne,te=g.tooltip,re=g.align,oe=re===void 0?"start":re,D=g.direction,b=g.size,X=b===void 0?32:b,Le=g.titleStyle,ae=g.titleRender,T=g.spaceProps,K=g.extra,Y=g.autoFocus,Re=(0,fe.Z)(function(){return Me||!1},{value:n.collapsed,onChange:n.onCollapse}),J=(0,k.Z)(Re,2),Q=J[0],S=J[1],Ie=(0,h.useContext)(he.ZP.ConfigContext),Be=Ie.getPrefixCls,le=(0,Pe.zx)(n),Ee=le.ColWrapper,se=le.RowWrapper,E=Be("pro-form-group"),ie=Se(E),Oe=ie.wrapSSR,U=ie.hashId,o=ee&&(0,c.jsx)(M,{style:{marginInlineEnd:8},rotate:Q?void 0:90}),r=(0,c.jsx)(me.G,{label:o?(0,c.jsxs)("div",{children:[o,O]}):O,tooltip:te}),t=(0,h.useCallback)(function(u){var x=u.children;return(0,c.jsx)(xe.Z,(0,y.Z)((0,y.Z)({},T),{},{className:q()("".concat(E,"-container ").concat(U),T==null?void 0:T.className),size:X,align:oe,direction:D,style:(0,y.Z)({rowGap:0},T==null?void 0:T.style),children:x}))},[oe,E,D,U,X,T]),i=ae?ae(r,n):r,p=(0,h.useMemo)(function(){var u=[],x=h.Children.toArray(_).map(function(s,a){var z;return h.isValidElement(s)&&s!==null&&s!==void 0&&(z=s.props)!==null&&z!==void 0&&z.hidden?(u.push(s),null):a===0&&h.isValidElement(s)&&Y?h.cloneElement(s,(0,y.Z)((0,y.Z)({},s.props),{},{autoFocus:Y})):s});return[(0,c.jsx)(se,{Wrapper:t,children:x},"children"),u.length>0?(0,c.jsx)("div",{style:{display:"none"},children:u}):null]},[_,se,t,Y]),m=(0,k.Z)(p,2),f=m[0],j=m[1];return Oe((0,c.jsx)(Ee,{children:(0,c.jsxs)("div",{className:q()(E,U,(0,Z.Z)({},"".concat(E,"-twoLine"),Te==="twoLine")),style:N,ref:v,children:[j,(O||te||K)&&(0,c.jsx)("div",{className:"".concat(E,"-title ").concat(U).trim(),style:Le,onClick:function(){S(!Q)},children:K?(0,c.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[i,(0,c.jsx)("span",{onClick:function(x){return x.stopPropagation()},children:K})]}):i}),(0,c.jsx)("div",{style:{display:ee&&Q?"none":void 0},children:f})]})}))});G.displayName="ProForm-Group";var je=G,Fe=e(4499);function C(n){return(0,c.jsx)(V.I,(0,y.Z)({layout:"vertical",contentRender:function(B,H){return(0,c.jsxs)(c.Fragment,{children:[B,H]})}},n))}C.Group=je,C.useForm=P.Z.useForm,C.Item=Fe.Z,C.useWatch=P.Z.useWatch,C.ErrorList=P.Z.ErrorList,C.Provider=P.Z.Provider,C.useFormInstance=P.Z.useFormInstance,C.EditOrReadOnlyContext=ue.A},14525:function(Ge,w,e){e.r(w),e.d(w,{default:function(){return U}});var y=e(15009),P=e.n(y),h=e(97857),V=e.n(h),ue=e(99289),Z=e.n(ue),k=e(5574),ce=e.n(k),ve=e.p+"static/loginBg.12a730ec.jpg",ge=e(48357),pe=e(87547),l=e(1413),M=e(67294),fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusabl