Files
shz-admin/shihezi/411.2903d93d.async.js
wzm 3a17dc786b
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
增加转发对象配置,工作人员管理页面
2025-11-20 16:30:13 +08:00

2 lines
13 KiB
JavaScript

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[411],{40411:function(Lt,mt,y){y.d(mt,{Z:function(){return zt}});var i=y(67294),bt=y(93967),w=y.n(bt),gt=y(29372),J=y(98787),K=y(96159),Z=y(53124),C=y(11568),Q=y(14747),q=y(98719),ft=y(83262),k=y(83559);const pt=new C.E4("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),vt=new C.E4("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),ht=new C.E4("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),Ct=new C.E4("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),$t=new C.E4("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),yt=new C.E4("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),St=t=>{const{componentCls:e,iconCls:a,antCls:n,badgeShadowSize:o,textFontSize:d,textFontSizeSM:l,statusSize:$,dotSize:v,textFontWeight:h,indicatorHeight:c,indicatorHeightSM:s,marginXS:m,calc:g}=t,u=`${n}-scroll-number`,S=(0,q.Z)(t,(f,{darkColor:N})=>({[`&${e} ${e}-color-${f}`]:{background:N,[`&:not(${e}-count)`]:{color:N},"a:hover &":{background:N}}}));return{[e]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Q.Wf)(t)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${e}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:t.indicatorZIndex,minWidth:c,height:c,color:t.badgeTextColor,fontWeight:h,fontSize:d,lineHeight:(0,C.bf)(c),whiteSpace:"nowrap",textAlign:"center",background:t.badgeColor,borderRadius:g(c).div(2).equal(),boxShadow:`0 0 0 ${(0,C.bf)(o)} ${t.badgeShadowColor}`,transition:`background ${t.motionDurationMid}`,a:{color:t.badgeTextColor},"a:hover":{color:t.badgeTextColor},"a:hover &":{background:t.badgeColorHover}},[`${e}-count-sm`]:{minWidth:s,height:s,fontSize:l,lineHeight:(0,C.bf)(s),borderRadius:g(s).div(2).equal()},[`${e}-multiple-words`]:{padding:`0 ${(0,C.bf)(t.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${e}-dot`]:{zIndex:t.indicatorZIndex,width:v,minWidth:v,height:v,background:t.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,C.bf)(o)} ${t.badgeShadowColor}`},[`${e}-count, ${e}-dot, ${u}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${a}-spin`]:{animationName:yt,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${e}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${e}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:$,height:$,verticalAlign:"middle",borderRadius:"50%"},[`${e}-status-success`]:{backgroundColor:t.colorSuccess},[`${e}-status-processing`]:{overflow:"visible",color:t.colorInfo,backgroundColor:t.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:o,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:pt,animationDuration:t.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${e}-status-default`]:{backgroundColor:t.colorTextPlaceholder},[`${e}-status-error`]:{backgroundColor:t.colorError},[`${e}-status-warning`]:{backgroundColor:t.colorWarning},[`${e}-status-text`]:{marginInlineStart:m,color:t.colorText,fontSize:t.fontSize}}}),S),{[`${e}-zoom-appear, ${e}-zoom-enter`]:{animationName:vt,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack,animationFillMode:"both"},[`${e}-zoom-leave`]:{animationName:ht,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack,animationFillMode:"both"},[`&${e}-not-a-wrapper`]:{[`${e}-zoom-appear, ${e}-zoom-enter`]:{animationName:Ct,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack},[`${e}-zoom-leave`]:{animationName:$t,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack},[`&:not(${e}-status)`]:{verticalAlign:"middle"},[`${u}-custom-component, ${e}-count`]:{transform:"none"},[`${u}-custom-component, ${u}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[u]:{overflow:"hidden",transition:`all ${t.motionDurationMid} ${t.motionEaseOutBack}`,[`${u}-only`]:{position:"relative",display:"inline-block",height:c,transition:`all ${t.motionDurationSlow} ${t.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${u}-only-unit`]:{height:c,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${u}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${e}-count, ${e}-dot, ${u}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},_=t=>{const{fontHeight:e,lineWidth:a,marginXS:n,colorBorderBg:o}=t,d=e,l=a,$=t.colorTextLightSolid,v=t.colorError,h=t.colorErrorHover;return(0,ft.IX)(t,{badgeFontHeight:d,badgeShadowSize:l,badgeTextColor:$,badgeColor:v,badgeColorHover:h,badgeShadowColor:o,badgeProcessingDuration:"1.2s",badgeRibbonOffset:n,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},tt=t=>{const{fontSize:e,lineHeight:a,fontSizeSM:n,lineWidth:o}=t;return{indicatorZIndex:"auto",indicatorHeight:Math.round(e*a)-2*o,indicatorHeightSM:e,dotSize:n/2,textFontSize:n,textFontSizeSM:n,textFontWeight:"normal",statusSize:n/2}};var Nt=(0,k.I$)("Badge",t=>{const e=_(t);return St(e)},tt);const Ot=t=>{const{antCls:e,badgeFontHeight:a,marginXS:n,badgeRibbonOffset:o,calc:d}=t,l=`${e}-ribbon`,$=`${e}-ribbon-wrapper`,v=(0,q.Z)(t,(h,{darkColor:c})=>({[`&${l}-color-${h}`]:{background:c,color:c}}));return{[$]:{position:"relative"},[l]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Q.Wf)(t)),{position:"absolute",top:n,padding:`0 ${(0,C.bf)(t.paddingXS)}`,color:t.colorPrimary,lineHeight:(0,C.bf)(a),whiteSpace:"nowrap",backgroundColor:t.colorPrimary,borderRadius:t.borderRadiusSM,[`${l}-text`]:{color:t.badgeTextColor},[`${l}-corner`]:{position:"absolute",top:"100%",width:o,height:o,color:"currentcolor",border:`${(0,C.bf)(d(o).div(2).equal())} solid`,transform:t.badgeRibbonCornerTransform,transformOrigin:"top",filter:t.badgeRibbonCornerFilter}}),v),{[`&${l}-placement-end`]:{insetInlineEnd:d(o).mul(-1).equal(),borderEndEndRadius:0,[`${l}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${l}-placement-start`]:{insetInlineStart:d(o).mul(-1).equal(),borderEndStartRadius:0,[`${l}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var xt=(0,k.I$)(["Badge","Ribbon"],t=>{const e=_(t);return Ot(e)},tt),Et=t=>{const{className:e,prefixCls:a,style:n,color:o,children:d,text:l,placement:$="end",rootClassName:v}=t,{getPrefixCls:h,direction:c}=i.useContext(Z.E_),s=h("ribbon",a),m=`${s}-wrapper`,[g,u,S]=xt(s,m),f=(0,J.o2)(o,!1),N=w()(s,`${s}-placement-${$}`,{[`${s}-rtl`]:c==="rtl",[`${s}-color-${o}`]:f},e),b={},x={};return o&&!f&&(b.background=o,x.color=o),g(i.createElement("div",{className:w()(m,v,u,S)},d,i.createElement("div",{className:w()(N,u),style:Object.assign(Object.assign({},b),n)},i.createElement("span",{className:`${s}-text`},l),i.createElement("div",{className:`${s}-corner`,style:x}))))};const et=t=>{const{prefixCls:e,value:a,current:n,offset:o=0}=t;let d;return o&&(d={position:"absolute",top:`${o}00%`,left:0}),i.createElement("span",{style:d,className:w()(`${e}-only-unit`,{current:n})},a)};function wt(t,e,a){let n=t,o=0;for(;(n+10)%10!==e;)n+=a,o+=a;return o}var jt=t=>{const{prefixCls:e,count:a,value:n}=t,o=Number(n),d=Math.abs(a),[l,$]=i.useState(o),[v,h]=i.useState(d),c=()=>{$(o),h(d)};i.useEffect(()=>{const g=setTimeout(c,1e3);return()=>clearTimeout(g)},[o]);let s,m;if(l===o||Number.isNaN(o)||Number.isNaN(l))s=[i.createElement(et,Object.assign({},t,{key:o,current:!0}))],m={transition:"none"};else{s=[];const g=o+10,u=[];for(let b=o;b<=g;b+=1)u.push(b);const S=v<d?1:-1,f=u.findIndex(b=>b%10===l);s=(S<0?u.slice(0,f+1):u.slice(f)).map((b,x)=>{const H=b%10;return i.createElement(et,Object.assign({},t,{key:b,value:H,offset:S<0?x-f:x,current:x===f}))}),m={transform:`translateY(${-wt(l,o,S)}00%)`}}return i.createElement("span",{className:`${e}-only`,style:m,onTransitionEnd:c},s)},It=function(t,e){var a={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(a[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(a[n[o]]=t[n[o]]);return a},Pt=i.forwardRef((t,e)=>{const{prefixCls:a,count:n,className:o,motionClassName:d,style:l,title:$,show:v,component:h="sup",children:c}=t,s=It(t,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:m}=i.useContext(Z.E_),g=m("scroll-number",a),u=Object.assign(Object.assign({},s),{"data-show":v,style:l,className:w()(g,o,d),title:$});let S=n;if(n&&Number(n)%1===0){const f=String(n).split("");S=i.createElement("bdi",null,f.map((N,b)=>i.createElement(jt,{prefixCls:g,count:Number(n),value:N,key:f.length-b})))}return l!=null&&l.borderColor&&(u.style=Object.assign(Object.assign({},l),{boxShadow:`0 0 0 1px ${l.borderColor} inset`})),c?(0,K.Tm)(c,f=>({className:w()(`${g}-custom-component`,f==null?void 0:f.className,d)})):i.createElement(h,Object.assign({},u,{ref:e}),S)}),Tt=function(t,e){var a={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(a[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(a[n[o]]=t[n[o]]);return a};const ot=i.forwardRef((t,e)=>{var a,n,o,d,l;const{prefixCls:$,scrollNumberPrefixCls:v,children:h,status:c,text:s,color:m,count:g=null,overflowCount:u=99,dot:S=!1,size:f="default",title:N,offset:b,style:x,className:H,rootClassName:Rt,classNames:j,styles:O,showZero:B=!1}=t,nt=Tt(t,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:st,direction:M,badge:r}=i.useContext(Z.E_),p=st("badge",$),[rt,Bt,Wt]=Nt(p),V=g>u?`${u}+`:g,z=V==="0"||V===0||s==="0"||s===0,it=g===null||z&&!B,A=(c!=null||m!=null)&&it,Dt=c!=null||!z,R=S&&!z,I=R?"":V,P=(0,i.useMemo)(()=>((I==null||I==="")&&(s==null||s==="")||z&&!B)&&!R,[I,z,B,R,s]),at=(0,i.useRef)(g);P||(at.current=g);const T=at.current,lt=(0,i.useRef)(I);P||(lt.current=I);const L=lt.current,ct=(0,i.useRef)(R);P||(ct.current=R);const W=(0,i.useMemo)(()=>{if(!b)return Object.assign(Object.assign({},r==null?void 0:r.style),x);const E={marginTop:b[1]};return M==="rtl"?E.left=parseInt(b[0],10):E.right=-parseInt(b[0],10),Object.assign(Object.assign(Object.assign({},E),r==null?void 0:r.style),x)},[M,b,x,r==null?void 0:r.style]),Ft=N!=null?N:typeof T=="string"||typeof T=="number"?T:void 0,dt=!P&&(s===0?B:!!s&&s!==!0),Zt=dt?i.createElement("span",{className:`${p}-status-text`},s):null,Ht=!T||typeof T!="object"?void 0:(0,K.Tm)(T,E=>({style:Object.assign(Object.assign({},W),E.style)})),D=(0,J.o2)(m,!1),Mt=w()(j==null?void 0:j.indicator,(a=r==null?void 0:r.classNames)===null||a===void 0?void 0:a.indicator,{[`${p}-status-dot`]:A,[`${p}-status-${c}`]:!!c,[`${p}-color-${m}`]:D}),X={};m&&!D&&(X.color=m,X.background=m);const ut=w()(p,{[`${p}-status`]:A,[`${p}-not-a-wrapper`]:!h,[`${p}-rtl`]:M==="rtl"},H,Rt,r==null?void 0:r.className,(n=r==null?void 0:r.classNames)===null||n===void 0?void 0:n.root,j==null?void 0:j.root,Bt,Wt);if(!h&&A&&(s||Dt||!it)){const E=W.color;return rt(i.createElement("span",Object.assign({},nt,{className:ut,style:Object.assign(Object.assign(Object.assign({},O==null?void 0:O.root),(o=r==null?void 0:r.styles)===null||o===void 0?void 0:o.root),W)}),i.createElement("span",{className:Mt,style:Object.assign(Object.assign(Object.assign({},O==null?void 0:O.indicator),(d=r==null?void 0:r.styles)===null||d===void 0?void 0:d.indicator),X)}),dt&&i.createElement("span",{style:{color:E},className:`${p}-status-text`},s)))}return rt(i.createElement("span",Object.assign({ref:e},nt,{className:ut,style:Object.assign(Object.assign({},(l=r==null?void 0:r.styles)===null||l===void 0?void 0:l.root),O==null?void 0:O.root)}),h,i.createElement(gt.ZP,{visible:!P,motionName:`${p}-zoom`,motionAppear:!1,motionDeadline:1e3},({className:E})=>{var U,Y;const Vt=st("scroll-number",v),G=ct.current,At=w()(j==null?void 0:j.indicator,(U=r==null?void 0:r.classNames)===null||U===void 0?void 0:U.indicator,{[`${p}-dot`]:G,[`${p}-count`]:!G,[`${p}-count-sm`]:f==="small",[`${p}-multiple-words`]:!G&&L&&L.toString().length>1,[`${p}-status-${c}`]:!!c,[`${p}-color-${m}`]:D});let F=Object.assign(Object.assign(Object.assign({},O==null?void 0:O.indicator),(Y=r==null?void 0:r.styles)===null||Y===void 0?void 0:Y.indicator),W);return m&&!D&&(F=F||{},F.background=m),i.createElement(Pt,{prefixCls:Vt,show:!P,motionClassName:E,className:At,count:L,title:Ft,style:F,key:"scrollNumber"},Ht)}),Zt))});ot.Ribbon=Et;var zt=ot}}]);