Files
houyi-admin/dist/9254.7b0dea0c.async.js
PC-202306242200\Administrator 23dc139a31 first commit
2026-03-28 23:25:01 +08:00

2 lines
13 KiB
JavaScript

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9254],{78033:function(J,F,e){e.d(F,{Z:function(){return R}});var o=e(52319),f=e(93236),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},p=i,y=e(85651),g=function(j,W){return f.createElement(y.Z,(0,o.Z)({},j,{ref:W,icon:p}))},R=f.forwardRef(g)},17675:function(J,F,e){e.d(F,{Z:function(){return R}});var o=e(52319),f=e(93236),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,y=e(85651),g=function(j,W){return f.createElement(y.Z,(0,o.Z)({},j,{ref:W,icon:p}))},R=f.forwardRef(g)},36428:function(J,F,e){var o=e(88351),f=e(87841),i=e(993),p=e(96268),y=e(93236),g=e(90040),R=e(8263),D=e(62086),j=["fieldProps","options","radioType","layout","proFieldProps","valueEnum"],W=y.forwardRef(function(m,L){var C=m.fieldProps,Z=m.options,X=m.radioType,d=m.layout,r=m.proFieldProps,x=m.valueEnum,K=(0,f.Z)(m,j);return(0,D.jsx)(R.Z,(0,o.Z)((0,o.Z)({valueType:X==="button"?"radioButton":"radio",ref:L,valueEnum:(0,i.h)(x,void 0)},K),{},{fieldProps:(0,o.Z)({options:Z,layout:d},C),proFieldProps:r,filedConfig:{customLightMode:!0}}))}),A=y.forwardRef(function(m,L){var C=m.fieldProps,Z=m.children;return(0,D.jsx)(p.ZP,(0,o.Z)((0,o.Z)({},C),{},{ref:L,children:Z}))}),$=(0,g.G)(A,{valuePropName:"checked",ignoreWidth:!0}),t=$;t.Group=W,t.Button=p.ZP.Button,t.displayName="ProFormComponent",F.Z=t},61786:function(J,F,e){var o=e(88351),f=e(87841),i=e(93236),p=e(8263),y=e(62086),g=["fieldProps","proFieldProps"],R=["fieldProps","proFieldProps"],D="text",j=function(t){var m=t.fieldProps,L=t.proFieldProps,C=(0,f.Z)(t,g);return(0,y.jsx)(p.Z,(0,o.Z)({valueType:D,fieldProps:m,filedConfig:{valueType:D},proFieldProps:L},C))},W=function(t){var m=t.fieldProps,L=t.proFieldProps,C=(0,f.Z)(t,R);return(0,y.jsx)(p.Z,(0,o.Z)({valueType:"password",fieldProps:m,proFieldProps:L,filedConfig:{valueType:D}},C))},A=j;A.Password=W,A.displayName="ProFormComponent",F.Z=A},28931:function(J,F,e){e.d(F,{Y:function(){return X}});var o=e(99177),f=e(42700),i=e(88351),p=e(67654),y=e(87841),g=e(29320),R=e(50126),D=e(92750),j=e(72266),W=e.n(j),A=e(71639),$=e(24599),t=e(93236),m=e(19103),L=e(96630),C=e(62086),Z=["children","trigger","onVisibleChange","onOpenChange","modalProps","onFinish","submitTimeout","title","width","visible","open"];function X(d){var r,x,K,b,S=d.children,M=d.trigger,s=d.onVisibleChange,P=d.onOpenChange,n=d.modalProps,u=d.onFinish,I=d.submitTimeout,Q=d.title,w=d.width,B=d.visible,ee=d.open,E=(0,y.Z)(d,Z);(0,$.ET)(!E.footer||!(n!=null&&n.footer),"ModalForm \u662F\u4E00\u4E2A ProForm \u7684\u7279\u6B8A\u5E03\u5C40\uFF0C\u5982\u679C\u60F3\u81EA\u5B9A\u4E49\u6309\u94AE\uFF0C\u8BF7\u4F7F\u7528 submit.render \u81EA\u5B9A\u4E49\u3002");var V=(0,t.useContext)(R.ZP.ConfigContext),le=(0,t.useState)([]),ae=(0,p.Z)(le,2),ie=ae[1],se=(0,t.useState)(!1),ne=(0,p.Z)(se,2),k=ne[0],oe=ne[1],de=(0,A.Z)(!!B,{value:ee||B,onChange:P||s}),U=(0,p.Z)(de,2),z=U[0],_=U[1],q=(0,t.useRef)(null),ue=(0,t.useCallback)(function(a){q.current===null&&a&&ie([]),q.current=a},[]),N=(0,t.useRef)(),pe=(0,t.useCallback)(function(){var a,l,v,c=(a=(l=E.form)!==null&&l!==void 0?l:(v=E.formRef)===null||v===void 0?void 0:v.current)!==null&&a!==void 0?a:N.current;c&&n!==null&&n!==void 0&&n.destroyOnClose&&c.resetFields()},[n==null?void 0:n.destroyOnClose,E.form,E.formRef]);(0,t.useImperativeHandle)(E.formRef,function(){return N.current},[N.current]),(0,t.useEffect)(function(){z&&(ee||B)&&(P==null||P(!0),s==null||s(!0))},[B,ee,z]);var me=(0,t.useMemo)(function(){return M?t.cloneElement(M,(0,i.Z)((0,i.Z)({key:"trigger"},M.props),{},{onClick:function(){var a=(0,f.Z)((0,o.Z)().mark(function v(c){var T,h;return(0,o.Z)().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:_(!z),(T=M.props)===null||T===void 0||(h=T.onClick)===null||h===void 0||h.call(T,c);case 2:case"end":return O.stop()}},v)}));function l(v){return a.apply(this,arguments)}return l}()})):null},[_,M,z]),Pe=(0,t.useMemo)(function(){var a,l,v,c,T,h,H,O;return E.submitter===!1?!1:W()({searchConfig:{submitText:(a=(l=n==null?void 0:n.okText)!==null&&l!==void 0?l:(v=V.locale)===null||v===void 0||(c=v.Modal)===null||c===void 0?void 0:c.okText)!==null&&a!==void 0?a:"\u786E\u8BA4",resetText:(T=(h=n==null?void 0:n.cancelText)!==null&&h!==void 0?h:(H=V.locale)===null||H===void 0||(O=H.Modal)===null||O===void 0?void 0:O.cancelText)!==null&&T!==void 0?T:"\u53D6\u6D88"},resetButtonProps:{preventDefault:!0,disabled:I?k:void 0,onClick:function(fe){var te;_(!1),n==null||(te=n.onCancel)===null||te===void 0||te.call(n,fe)}}},E.submitter)},[(r=V.locale)===null||r===void 0||(x=r.Modal)===null||x===void 0?void 0:x.cancelText,(K=V.locale)===null||K===void 0||(b=K.Modal)===null||b===void 0?void 0:b.okText,n,E.submitter,_,k,I]),ce=(0,t.useCallback)(function(a,l){return(0,C.jsxs)(C.Fragment,{children:[a,q.current&&l?(0,C.jsx)(t.Fragment,{children:(0,m.createPortal)(l,q.current)},"submitter"):l]})},[]),he=(0,t.useCallback)(function(){var a=(0,f.Z)((0,o.Z)().mark(function l(v){var c,T,h;return(0,o.Z)().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return c=u==null?void 0:u(v),I&&c instanceof Promise&&(oe(!0),T=setTimeout(function(){return oe(!1)},I),c.finally(function(){clearTimeout(T),oe(!1)})),O.next=4,c;case 4:return h=O.sent,h&&_(!1),O.abrupt("return",h);case 7:case"end":return O.stop()}},l)}));return function(l){return a.apply(this,arguments)}}(),[u,_,I]),ve=(0,g.X)(z);return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(D.Z,(0,i.Z)((0,i.Z)((0,i.Z)({title:Q,width:w||800},n),ve),{},{onCancel:function(l){var v;I&&k||(_(!1),n==null||(v=n.onCancel)===null||v===void 0||v.call(n,l))},afterClose:function(){var l;pe(),_(!1),n==null||(l=n.afterClose)===null||l===void 0||l.call(n)},footer:E.submitter!==!1?(0,C.jsx)("div",{ref:ue,style:{display:"flex",justifyContent:"flex-end"}}):null,children:(0,C.jsx)(L.I,(0,i.Z)((0,i.Z)({formComponentType:"ModalForm",layout:"vertical"},E),{},{onInit:function(l,v){var c;E.formRef&&(E.formRef.current=v),E==null||(c=E.onInit)===null||c===void 0||c.call(E,l,v),N.current=v},formRef:N,submitter:Pe,onFinish:function(){var a=(0,f.Z)((0,o.Z)().mark(function l(v){var c;return(0,o.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,he(v);case 2:return c=h.sent,h.abrupt("return",c);case 4:case"end":return h.stop()}},l)}));return function(l){return a.apply(this,arguments)}}(),contentRender:ce,children:S}))})),me]})}},40882:function(J,F,e){e.d(F,{A:function(){return S}});var o=e(88351),f=e(84974),i=e(93236),p=e(96630),y=e(5424),g=e(40749),R=e(67654),D=e(67817),j=e(71639),W=e(80128),A=e(50126),$=e(61385),t=e(84875),m=e.n(t),L=e(75986),C=e(16216),Z=e(21983),X=function(s){var P;return(0,g.Z)({},s.componentCls,{"&-title":{marginBlockEnd:s.marginXL,fontWeight:"bold"},"&-container":(0,g.Z)({flexWrap:"wrap",maxWidth:"100%"},"> div".concat(s.antCls,"-space-item"),{maxWidth:"100%"}),"&-twoLine":(P={display:"block",width:"100%"},(0,g.Z)(P,"".concat(s.componentCls,"-title"),{width:"100%",margin:"8px 0"}),(0,g.Z)(P,"".concat(s.componentCls,"-container"),{paddingInlineStart:16}),(0,g.Z)(P,"".concat(s.antCls,"-space-item,").concat(s.antCls,"-form-item"),{width:"100%"}),(0,g.Z)(P,"".concat(s.antCls,"-form-item"),{"&-control":{display:"flex",alignItems:"center",justifyContent:"flex-end","&-input":{alignItems:"center",justifyContent:"flex-end","&-content":{flex:"none"}}}}),P)})};function d(M){return(0,Z.Xj)("ProFormGroup",function(s){var P=(0,o.Z)((0,o.Z)({},s),{},{componentCls:".".concat(M)});return[X(P)]})}var r=e(62086),x=i.forwardRef(function(M,s){var P=i.useContext(L.Z),n=P.groupProps,u=(0,o.Z)((0,o.Z)({},n),M),I=u.children,Q=u.collapsible,w=u.defaultCollapsed,B=u.style,ee=u.labelLayout,E=u.title,V=E===void 0?M.label:E,le=u.tooltip,ae=u.align,ie=ae===void 0?"start":ae,se=u.direction,ne=u.size,k=ne===void 0?32:ne,oe=u.titleStyle,de=u.titleRender,U=u.spaceProps,z=u.extra,_=u.autoFocus,q=(0,j.Z)(function(){return w||!1},{value:M.collapsed,onChange:M.onCollapse}),ue=(0,R.Z)(q,2),N=ue[0],pe=ue[1],me=(0,i.useContext)(A.ZP.ConfigContext),Pe=me.getPrefixCls,ce=(0,C.zx)(M),he=ce.ColWrapper,ve=ce.RowWrapper,a=Pe("pro-form-group"),l=d(a),v=l.wrapSSR,c=l.hashId,T=Q&&(0,r.jsx)(D.Z,{style:{marginInlineEnd:8},rotate:N?void 0:90}),h=(0,r.jsx)(W.G,{label:T?(0,r.jsxs)("div",{children:[T,V]}):V,tooltip:le}),H=(0,i.useCallback)(function(Y){var re=Y.children;return(0,r.jsx)($.Z,(0,o.Z)((0,o.Z)({},U),{},{className:m()("".concat(a,"-container ").concat(c),U==null?void 0:U.className),size:k,align:ie,direction:se,style:(0,o.Z)({rowGap:0},U==null?void 0:U.style),children:re}))},[ie,a,se,c,k,U]),O=de?de(h,M):h,Ee=(0,i.useMemo)(function(){var Y=[],re=i.Children.toArray(I).map(function(G,xe){var Ce;return i.isValidElement(G)&&G!==null&&G!==void 0&&(Ce=G.props)!==null&&Ce!==void 0&&Ce.hidden?(Y.push(G),null):xe===0&&i.isValidElement(G)&&_?i.cloneElement(G,(0,o.Z)((0,o.Z)({},G.props),{},{autoFocus:_})):G});return[(0,r.jsx)(ve,{Wrapper:H,children:re},"children"),Y.length>0?(0,r.jsx)("div",{style:{display:"none"},children:Y}):null]},[I,ve,H,_]),fe=(0,R.Z)(Ee,2),te=fe[0],ge=fe[1];return v((0,r.jsx)(he,{children:(0,r.jsxs)("div",{className:m()(a,c,(0,g.Z)({},"".concat(a,"-twoLine"),ee==="twoLine")),style:B,ref:s,children:[ge,(V||le||z)&&(0,r.jsx)("div",{className:"".concat(a,"-title ").concat(c).trim(),style:oe,onClick:function(){pe(!N)},children:z?(0,r.jsxs)("div",{style:{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between"},children:[O,(0,r.jsx)("span",{onClick:function(re){return re.stopPropagation()},children:z})]}):O}),(0,r.jsx)("div",{style:{display:Q&&N?"none":void 0},children:te})]})}))});x.displayName="ProForm-Group";var K=x,b=e(9664);function S(M){return(0,r.jsx)(p.I,(0,o.Z)({layout:"vertical",submitter:{render:function(P,n){return n.reverse()}},contentRender:function(P,n){return(0,r.jsxs)(r.Fragment,{children:[P,n]})}},M))}S.Group=K,S.useForm=f.Z.useForm,S.Item=b.Z,S.useWatch=f.Z.useWatch,S.ErrorList=f.Z.ErrorList,S.Provider=f.Z.Provider,S.useFormInstance=f.Z.useFormInstance,S.EditOrReadOnlyContext=y.A},80128:function(J,F,e){e.d(F,{G:function(){return X}});var o=e(88351),f=e(40749),i=e(52319),p=e(93236),y={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"},g=y,R=e(85651),D=function(r,x){return p.createElement(R.Z,(0,i.Z)({},r,{ref:x,icon:g}))},j=p.forwardRef(D),W=e(50126),A=e(87087),$=e(84875),t=e.n($),m=e(21983),L=function(r){return(0,f.Z)({},r.componentCls,{display:"inline-flex",alignItems:"center",maxWidth:"100%","&-icon":{display:"block",marginInlineStart:"4px",cursor:"pointer","&:hover":{color:r.colorPrimary}},"&-title":{display:"inline-flex",flex:"1"},"&-subtitle ":{marginInlineStart:8,color:r.colorTextSecondary,fontWeight:"normal",fontSize:r.fontSize,whiteSpace:"nowrap"},"&-title-ellipsis":{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",wordBreak:"keep-all"}})};function C(d){return(0,m.Xj)("LabelIconTip",function(r){var x=(0,o.Z)((0,o.Z)({},r),{},{componentCls:".".concat(d)});return[L(x)]})}var Z=e(62086),X=p.memo(function(d){var r=d.label,x=d.tooltip,K=d.ellipsis,b=d.subTitle,S=(0,p.useContext)(W.ZP.ConfigContext),M=S.getPrefixCls,s=M("pro-core-label-tip"),P=C(s),n=P.wrapSSR,u=P.hashId;if(!x&&!b)return(0,Z.jsx)(Z.Fragment,{children:r});var I=typeof x=="string"||p.isValidElement(x)?{title:x}:x,Q=(I==null?void 0:I.icon)||(0,Z.jsx)(j,{});return n((0,Z.jsxs)("div",{className:t()(s,u),onMouseDown:function(B){return B.stopPropagation()},onMouseLeave:function(B){return B.stopPropagation()},onMouseMove:function(B){return B.stopPropagation()},children:[(0,Z.jsx)("div",{className:t()("".concat(s,"-title"),u,(0,f.Z)({},"".concat(s,"-title-ellipsis"),K)),children:r}),b&&(0,Z.jsx)("div",{className:"".concat(s,"-subtitle ").concat(u).trim(),children:b}),x&&(0,Z.jsx)(A.Z,(0,o.Z)((0,o.Z)({},I),{},{children:(0,Z.jsx)("span",{className:"".concat(s,"-icon ").concat(u).trim(),children:Q})}))]}))})}}]);