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.

429.6f8d69a4.async.js 15KB

1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[429],{78844:function(de,U,r){var l=r(1413),K=r(45987),$=r(86190),M=r(62435),N=r(66758),L=r(34176),V=r(86074),G=["fieldProps","proFieldProps"],R="dateTimeRange",X=M.forwardRef(function(I,Y){var B=I.fieldProps,f=I.proFieldProps,W=(0,K.Z)(I,G),S=(0,M.useContext)(N.Z);return(0,V.jsx)(L.Z,(0,l.Z)({ref:Y,fieldProps:(0,l.Z)({getPopupContainer:S.getPopupContainer},B),valueType:R,proFieldProps:f,filedConfig:{valueType:R,customLightMode:!0,lightFilterLabelFormatter:function(Q){return(0,$.c)(Q,"YYYY-MM-DD HH:mm:ss")}}},W))});U.Z=X},86615:function(de,U,r){var l=r(1413),K=r(45987),$=r(22270),M=r(78045),N=r(62435),L=r(28614),V=r(34176),G=r(86074),R=["fieldProps","options","radioType","layout","proFieldProps","valueEnum"],X=N.forwardRef(function(f,W){var S=f.fieldProps,D=f.options,Q=f.radioType,ne=f.layout,me=f.proFieldProps,le=f.valueEnum,k=(0,K.Z)(f,R);return(0,G.jsx)(V.Z,(0,l.Z)((0,l.Z)({valueType:Q==="button"?"radioButton":"radio",ref:W,valueEnum:(0,$.h)(le,void 0)},k),{},{fieldProps:(0,l.Z)({options:D,layout:ne},S),proFieldProps:me,filedConfig:{customLightMode:!0}}))}),I=N.forwardRef(function(f,W){var S=f.fieldProps,D=f.children;return(0,G.jsx)(M.ZP,(0,l.Z)((0,l.Z)({},S),{},{ref:W,children:D}))}),Y=(0,L.G)(I,{valuePropName:"checked",ignoreWidth:!0}),B=Y;B.Group=X,B.Button=M.ZP.Button,B.displayName="ProFormComponent",U.Z=B},26412:function(de,U,r){r.d(U,{Z:function(){return v}});var l=r(62435),K=r(93967),$=r.n(K),M=r(74443),N=r(53124),L=r(98675),V=r(25378),R={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},I=l.createContext({}),Y=r(50344),B=function(e,o){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(s[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(s[n[a]]=e[n[a]]);return s};const f=e=>(0,Y.Z)(e).map(o=>Object.assign(Object.assign({},o==null?void 0:o.props),{key:o.key}));function W(e,o,s){const n=l.useMemo(()=>o||f(s),[o,s]);return l.useMemo(()=>n.map(d=>{var{span:m}=d,h=B(d,["span"]);return Object.assign(Object.assign({},h),{span:typeof m=="number"?m:(0,M.m9)(e,m)})}),[n,e])}function S(e,o,s){let n=e,a=!1;return(s===void 0||s>o)&&(n=Object.assign(Object.assign({},e),{span:o}),a=s!==void 0),[n,a]}function D(e,o){const s=[];let n=[],a=o,d=!1;return e.filter(m=>m).forEach((m,h)=>{const b=m==null?void 0:m.span,C=b||1;if(h===e.length-1){const[g,x]=S(m,a,b);d=d||x,n.push(g),s.push(n);return}if(C<a)a-=C,n.push(m);else{const[g,x]=S(m,a,C);d=d||x,n.push(g),s.push(n),a=o,n=[]}}),[s,d]}var ne=(e,o)=>{const[s,n]=(0,l.useMemo)(()=>D(o,e),[o,e]);return s},le=e=>{let{children:o}=e;return o};function k(e){return e!=null}var re=e=>{const{itemPrefixCls:o,component:s,span:n,className:a,style:d,labelStyle:m,contentStyle:h,bordered:b,label:C,content:g,colon:x,type:F}=e,T=s;return b?l.createElement(T,{className:$()({[`${o}-item-label`]:F==="label",[`${o}-item-content`]:F==="content"},a),style:d,colSpan:n},k(C)&&l.createElement("span",{style:m},C),k(g)&&l.createElement("span",{style:h},g)):l.createElement(T,{className:$()(`${o}-item`,a),style:d,colSpan:n},l.createElement("div",{className:`${o}-item-container`},(C||C===0)&&l.createElement("span",{className:$()(`${o}-item-label`,{[`${o}-item-no-colon`]:!x}),style:m},C),(g||g===0)&&l.createElement("span",{className:$()(`${o}-item-content`),style:h},g)))};function ae(e,o,s){let{colon:n,prefixCls:a,bordered:d}=o,{component:m,type:h,showLabel:b,showContent:C,labelStyle:g,contentStyle:x}=s;return e.map((F,T)=>{let{label:z,children:ee,prefixCls:y=a,className:J,style:_,labelStyle:j,contentStyle:O,span:A=1,key:q}=F;return typeof m=="string"?l.createElement(re,{key:`${h}-${q||T}`,className:J,style:_,labelStyle:Object.assign(Object.assign({},g),j),contentStyle:Object.assign(Object.assign({},x),O),span:A,colon:n,component:m,itemPrefixCls:y,bordered:d,label:b?z:null,content:C?ee:null,type:h}):[l.createElement(re,{key:`label-${q||T}`,className:J,style:Object.assign(Object.assign(Object.assign({},g),_),j),span:1,colon:n,component:m[0],itemPrefixCls:y,bordered:d,label:z,type:"label"}),l.createElement(re,{key:`content-${q||T}`,className:J,style:Object.assign(Object.assign(Object.assign({},x),_),O),span:A*2-1,component:m[1],itemPrefixCls:y,bordered:d,content:ee,type:"content"})]})}var ue=e=>{const o=l.useContext(I),{prefixCls:s,vertical:n,row:a,index:d,bordered:m}=e;return n?l.createElement(l.Fragment,null,l.createElement("tr",{key:`label-${d}`,className:`${s}-row`},ae(a,e,Object.assign({component:"th",type:"label",showLabel:!0},o))),l.createElement("tr",{key:`content-${d}`,className:`${s}-row`},ae(a,e,Object.assign({component:"td",type:"content",showContent:!0},o)))):l.createElement("tr",{key:d,className:`${s}-row`},ae(a,e,Object.assign({component:m?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},o)))},E=r(54548),pe=r(14747),ie=r(92030),ge=r(45503);const t=e=>{const{componentCls:o,labelBg:s}=e;return{[`&${o}-bordered`]:{[`> ${o}-view`]:{border:`${(0,E.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto"},[`${o}-row`]:{borderBottom:`${(0,E.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${o}-item-label, > ${o}-item-content`]:{padding:`${(0,E.bf)(e.padding)} ${(0,E.bf)(e.paddingLG)}`,borderInlineEnd:`${(0,E.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${o}-item-label`]:{color:e.colorTextSecondary,backgroundColor:s,"&::after":{display:"none"}}}},[`&${o}-middle`]:{[`${o}-row`]:{[`> ${o}-item-label, > ${o}-item-content`]:{padding:`${(0,E.bf)(e.paddingSM)} ${(0,E.bf)(e.paddingLG)}`}}},[`&${o}-small`]:{[`${o}-row`]:{[`> ${o}-item-label, > ${o}-item-content`]:{padding:`${(0,E.bf)(e.paddingXS)} ${(0,E.bf)(e.padding)}`}}}}}},u=e=>{const{componentCls:o,extraColor:s,itemPaddingBottom:n,colonMarginRight:a,colonMarginLeft:d,titleMarginBottom:m}=e;return{[o]:Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(e)),t(e)),{"&-rtl":{direction:"rtl"},[`${o}-header`]:{display:"flex",alignItems:"center",marginBottom:m},[`${o}-title`]:Object.assign(Object.assign({},pe.vS),{flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${o}-extra`]:{marginInlineStart:"auto",color:s,fontSize:e.fontSize},[`${o}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[`${o}-row`]:{"> th, > td":{paddingBottom:n},"&:last-child":{borderBottom:"none"}},[`${o}-item-label`]:{color:e.colorTextTertiary,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,E.bf)(d)} ${(0,E.bf)(a)}`},[`&${o}-item-no-colon::after`]:{content:'""'}},[`${o}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${o}-item-content`]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${o}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${o}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${o}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${o}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${o}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},p=e=>({labelBg:e.colorFillAlter,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText});var i=(0,ie.I$)("Descriptions",e=>{const o=(0,ge.TS)(e,{});return u(o)},p),c=function(e,o){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o.indexOf(n)<0&&(s[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)o.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(s[n[a]]=e[n[a]]);return s};const P=e=>{const{prefixCls:o,title:s,extra:n,column:a,colon:d=!0,bordered:m,layout:h,children:b,className:C,rootClassName:g,style:x,size:F,labelStyle:T,contentStyle:z,items:ee}=e,y=c(e,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:J,direction:_,descriptions:j}=l.useContext(N.E_),O=J("descriptions",o),A=(0,V.Z)(),q=l.useMemo(()=>{var H;return typeof a=="number"?a:(H=(0,M.m9)(A,Object.assign(Object.assign({},R),a)))!==null&&H!==void 0?H:3},[A,a]),fe=W(A,ee,b),te=(0,L.Z)(F),be=ne(q,fe),[ce,w,ve]=i(O),Z=l.useMemo(()=>({labelStyle:T,contentStyle:z}),[T,z]);return ce(l.createElement(I.Provider,{value:Z},l.createElement("div",Object.assign({className:$()(O,j==null?void 0:j.className,{[`${O}-${te}`]:te&&te!=="default",[`${O}-bordered`]:!!m,[`${O}-rtl`]:_==="rtl"},C,g,w,ve),style:Object.assign(Object.assign({},j==null?void 0:j.style),x)},y),(s||n)&&l.createElement("div",{className:`${O}-header`},s&&l.createElement("div",{className:`${O}-title`},s),n&&l.createElement("div",{className:`${O}-extra`},n)),l.createElement("div",{className:`${O}-view`},l.createElement("table",null,l.createElement("tbody",null,be.map((H,oe)=>l.createElement(ue,{key:oe,index:oe,colon:d,prefixCls:O,vertical:h==="vertical",bordered:m,row:H}))))))))};P.Item=le;var v=P},66309:function(de,U,r){r.d(U,{Z:function(){return ge}});var l=r(62435),K=r(93967),$=r.n(K),M=r(98423),N=r(98787),L=r(69760),V=r(96159),G=r(45353),R=r(53124),X=r(54548),I=r(10274),Y=r(14747),B=r(45503),f=r(92030);const W=t=>{const{paddingXXS:u,lineWidth:p,tagPaddingHorizontal:i,componentCls:c,calc:P}=t,v=P(i).sub(p).equal(),e=P(u).sub(p).equal();return{[c]:Object.assign(Object.assign({},(0,Y.Wf)(t)),{display:"inline-block",height:"auto",marginInlineEnd:t.marginXS,paddingInline:v,fontSize:t.tagFontSize,lineHeight:t.tagLineHeight,whiteSpace:"nowrap",background:t.defaultBg,border:`${(0,X.bf)(t.lineWidth)} ${t.lineType} ${t.colorBorder}`,borderRadius:t.borderRadiusSM,opacity:1,transition:`all ${t.motionDurationMid}`,textAlign:"start",position:"relative",[`&${c}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:t.defaultColor},[`${c}-close-icon`]:{marginInlineStart:e,fontSize:t.tagIconSize,color:t.colorTextDescription,cursor:"pointer",transition:`all ${t.motionDurationMid}`,"&:hover":{color:t.colorTextHeading}},[`&${c}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${t.iconCls}-close, ${t.iconCls}-close:hover`]:{color:t.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${c}-checkable-checked):hover`]:{color:t.colorPrimary,backgroundColor:t.colorFillSecondary},"&:active, &-checked":{color:t.colorTextLightSolid},"&-checked":{backgroundColor:t.colorPrimary,"&:hover":{backgroundColor:t.colorPrimaryHover}},"&:active":{backgroundColor:t.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${t.iconCls} + span, > span + ${t.iconCls}`]:{marginInlineStart:v}}),[`${c}-borderless`]:{borderColor:"transparent",background:t.tagBorderlessBg}}},S=t=>{const{lineWidth:u,fontSizeIcon:p,calc:i}=t,c=t.fontSizeSM;return(0,B.TS)(t,{tagFontSize:c,tagLineHeight:(0,X.bf)(i(t.lineHeightSM).mul(c).equal()),tagIconSize:i(p).sub(i(u).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:t.defaultBg})},D=t=>({defaultBg:new I.C(t.colorFillQuaternary).onBackground(t.colorBgContainer).toHexString(),defaultColor:t.colorText});var Q=(0,f.I$)("Tag",t=>{const u=S(t);return W(u)},D),ne=function(t,u){var p={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&u.indexOf(i)<0&&(p[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,i=Object.getOwnPropertySymbols(t);c<i.length;c++)u.indexOf(i[c])<0&&Object.prototype.propertyIsEnumerable.call(t,i[c])&&(p[i[c]]=t[i[c]]);return p},le=l.forwardRef((t,u)=>{const{prefixCls:p,style:i,className:c,checked:P,onChange:v,onClick:e}=t,o=ne(t,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:s,tag:n}=l.useContext(R.E_),a=g=>{v==null||v(!P),e==null||e(g)},d=s("tag",p),[m,h,b]=Q(d),C=$()(d,`${d}-checkable`,{[`${d}-checkable-checked`]:P},n==null?void 0:n.className,c,h,b);return m(l.createElement("span",Object.assign({},o,{ref:u,style:Object.assign(Object.assign({},i),n==null?void 0:n.style),className:C,onClick:a})))}),k=r(98719);const Ce=t=>(0,k.Z)(t,(u,p)=>{let{textColor:i,lightBorderColor:c,lightColor:P,darkColor:v}=p;return{[`${t.componentCls}${t.componentCls}-${u}`]:{color:i,background:P,borderColor:c,"&-inverse":{color:t.colorTextLightSolid,background:v,borderColor:v},[`&${t.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,f.bk)(["Tag","preset"],t=>{const u=S(t);return Ce(u)},D);function ae(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)}const se=(t,u,p)=>{const i=ae(p);return{[`${t.componentCls}${t.componentCls}-${u}`]:{color:t[`color${p}`],background:t[`color${i}Bg`],borderColor:t[`color${i}Border`],[`&${t.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ue=(0,f.bk)(["Tag","status"],t=>{const u=S(t);return[se(u,"success","Success"),se(u,"processing","Info"),se(u,"error","Error"),se(u,"warning","Warning")]},D),E=function(t,u){var p={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&u.indexOf(i)<0&&(p[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,i=Object.getOwnPropertySymbols(t);c<i.length;c++)u.indexOf(i[c])<0&&Object.prototype.propertyIsEnumerable.call(t,i[c])&&(p[i[c]]=t[i[c]]);return p};const ie=l.forwardRef((t,u)=>{const{prefixCls:p,className:i,rootClassName:c,style:P,children:v,icon:e,color:o,onClose:s,bordered:n=!0,visible:a}=t,d=E(t,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:m,direction:h,tag:b}=l.useContext(R.E_),[C,g]=l.useState(!0),x=(0,M.Z)(d,["closeIcon","closable"]);l.useEffect(()=>{a!==void 0&&g(a)},[a]);const F=(0,N.o2)(o),T=(0,N.yT)(o),z=F||T,ee=Object.assign(Object.assign({backgroundColor:o&&!z?o:void 0},b==null?void 0:b.style),P),y=m("tag",p),[J,_,j]=Q(y),O=$()(y,b==null?void 0:b.className,{[`${y}-${o}`]:z,[`${y}-has-color`]:o&&!z,[`${y}-hidden`]:!C,[`${y}-rtl`]:h==="rtl",[`${y}-borderless`]:!n},i,c,_,j),A=w=>{w.stopPropagation(),s==null||s(w),!w.defaultPrevented&&g(!1)},[,q]=(0,L.Z)((0,L.w)(t),(0,L.w)(b),{closable:!1,closeIconRender:w=>{const ve=l.createElement("span",{className:`${y}-close-icon`,onClick:A},w);return(0,V.wm)(w,ve,Z=>({onClick:H=>{var oe;(oe=Z==null?void 0:Z.onClick)===null||oe===void 0||oe.call(Z,H),A(H)},className:$()(Z==null?void 0:Z.className,`${y}-close-icon`)}))}}),fe=typeof d.onClick=="function"||v&&v.type==="a",te=e||null,be=te?l.createElement(l.Fragment,null,te,v&&l.createElement("span",null,v)):v,ce=l.createElement("span",Object.assign({},x,{ref:u,className:O,style:ee}),be,q,F&&l.createElement(re,{key:"preset",prefixCls:y}),T&&l.createElement(ue,{key:"status",prefixCls:y}));return J(fe?l.createElement(G.Z,{component:"Tag"},ce):ce)});ie.CheckableTag=le;var ge=ie}}]);