Files
GDstarmotion-admin/dist/9710.0b439577.async.js
PC-202306242200\Administrator 0be8e91b13 广东星动代码提交
2025-12-29 16:45:05 +08:00

11 lines
16 KiB
JavaScript

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[9710],{34927:function(ne,F,i){var l=i(35361),H=i(56929),x=i(89558),O=i(47186),$=i(50959),A=i(50756),G=i(20734),B=i(11527),P=["fieldProps","options","radioType","layout","proFieldProps","valueEnum"],K=$.forwardRef(function(h,E){var T=h.fieldProps,z=h.options,X=h.radioType,k=h.layout,Q=h.proFieldProps,J=h.valueEnum,Y=(0,H.Z)(h,P);return(0,B.jsx)(G.Z,(0,l.Z)((0,l.Z)({valueType:X==="button"?"radioButton":"radio",ref:E,valueEnum:(0,x.h)(J,void 0)},Y),{},{fieldProps:(0,l.Z)({options:z,layout:k},T),proFieldProps:Q,filedConfig:{customLightMode:!0}}))}),M=$.forwardRef(function(h,E){var T=h.fieldProps,z=h.children;return(0,B.jsx)(O.ZP,(0,l.Z)((0,l.Z)({},T),{},{ref:E,children:z}))}),c=(0,A.G)(M,{valuePropName:"checked",ignoreWidth:!0}),m=c;m.Group=K,m.Button=O.ZP.Button,m.displayName="ProFormComponent",F.Z=m},20902:function(ne,F,i){var l=i(35361),H=i(56929),x=i(50959),O=i(20734),$=i(11527),A=["fieldProps","proFieldProps"],G=function(P,K){var M=P.fieldProps,c=P.proFieldProps,m=(0,H.Z)(P,A);return(0,$.jsx)(O.Z,(0,l.Z)({ref:K,valueType:"textarea",fieldProps:M,proFieldProps:c},m))};F.Z=x.forwardRef(G)},23885:function(ne,F,i){i.d(F,{Z:function(){return s}});var l=i(50959),H=i(82187),x=i.n(H),O=i(8146),$=i(76144),A=i(15676),G=i(39910),B=i(70939),P=function(e,o){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&o.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)o.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(t[a[n]]=e[a[n]]);return t},M=e=>{var{prefixCls:o,className:t,hoverable:a=!0}=e,n=P(e,["prefixCls","className","hoverable"]);const{getPrefixCls:u}=l.useContext($.E_),f=u("card",o),S=x()(`${f}-grid`,t,{[`${f}-grid-hoverable`]:a});return l.createElement("div",Object.assign({},n,{className:S}))},c=i(601),m=i(54531),h=i(79349),E=i(56352);const T=e=>{const{antCls:o,componentCls:t,headerHeight:a,cardPaddingBase:n,tabsMarginBottom:u}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:a,marginBottom:-1,padding:`0 ${(0,c.bf)(n)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,c.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,c.bf)(e.borderRadiusLG)} ${(0,c.bf)(e.borderRadiusLG)} 0 0`},(0,m.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},m.vS),{[`
> ${t}-typography,
> ${t}-typography-edit-content
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${o}-tabs-top`]:{clear:"both",marginBottom:u,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,c.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},z=e=>{const{cardPaddingBase:o,colorBorderSecondary:t,cardShadow:a,lineWidth:n}=e;return{width:"33.33%",padding:o,border:0,borderRadius:0,boxShadow:`
${(0,c.bf)(n)} 0 0 0 ${t},
0 ${(0,c.bf)(n)} 0 0 ${t},
${(0,c.bf)(n)} ${(0,c.bf)(n)} 0 0 ${t},
${(0,c.bf)(n)} 0 0 0 ${t} inset,
0 ${(0,c.bf)(n)} 0 0 ${t} inset;
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:a}}},X=e=>{const{componentCls:o,iconCls:t,actionsLiMargin:a,cardActionsIconSize:n,colorBorderSecondary:u,actionsBg:f}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:f,borderTop:`${(0,c.bf)(e.lineWidth)} ${e.lineType} ${u}`,display:"flex",borderRadius:`0 0 ${(0,c.bf)(e.borderRadiusLG)} ${(0,c.bf)(e.borderRadiusLG)}`},(0,m.dF)()),{"& > li":{margin:a,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${o}-btn), > ${t}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,c.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${t}`]:{fontSize:n,lineHeight:(0,c.bf)(e.calc(n).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,c.bf)(e.lineWidth)} ${e.lineType} ${u}`}}})},k=e=>Object.assign(Object.assign({margin:`${(0,c.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,m.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},m.vS),"&-description":{color:e.colorTextDescription}}),Q=e=>{const{componentCls:o,cardPaddingBase:t,colorFillAlter:a}=e;return{[`${o}-head`]:{padding:`0 ${(0,c.bf)(t)}`,background:a,"&-title":{fontSize:e.fontSize}},[`${o}-body`]:{padding:`${(0,c.bf)(e.padding)} ${(0,c.bf)(t)}`}}},J=e=>{const{componentCls:o}=e;return{overflow:"hidden",[`${o}-body`]:{userSelect:"none"}}},Y=e=>{const{antCls:o,componentCls:t,cardShadow:a,cardHeadPadding:n,colorBorderSecondary:u,boxShadowTertiary:f,cardPaddingBase:S,extraColor:b}=e;return{[t]:Object.assign(Object.assign({},(0,m.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:f},[`${t}-head`]:T(e),[`${t}-extra`]:{marginInlineStart:"auto",color:b,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:S,borderRadius:` 0 0 ${(0,c.bf)(e.borderRadiusLG)} ${(0,c.bf)(e.borderRadiusLG)}`},(0,m.dF)()),[`${t}-grid`]:z(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${o}-image-mask`]:{borderRadius:`${(0,c.bf)(e.borderRadiusLG)} ${(0,c.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:X(e),[`${t}-meta`]:k(e)}),[`${t}-bordered`]:{border:`${(0,c.bf)(e.lineWidth)} ${e.lineType} ${u}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:a}},[`${t}-contain-grid`]:{borderRadius:`${(0,c.bf)(e.borderRadiusLG)} ${(0,c.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> ${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:n}}},[`${t}-type-inner`]:Q(e),[`${t}-loading`]:J(e),[`${t}-rtl`]:{direction:"rtl"}}},le=e=>{const{componentCls:o,cardPaddingSM:t,headerHeightSM:a,headerFontSizeSM:n}=e;return{[`${o}-small`]:{[`> ${o}-head`]:{minHeight:a,padding:`0 ${(0,c.bf)(t)}`,fontSize:n,[`> ${o}-head-wrapper`]:{[`> ${o}-extra`]:{fontSize:e.fontSize}}},[`> ${o}-body`]:{padding:t}},[`${o}-small${o}-contain-tabs`]:{[`> ${o}-head`]:{[`${o}-head-title, ${o}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},ie=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText});var U=(0,h.I$)("Card",e=>{const o=(0,E.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[Y(o),le(o)]},ie),ee=function(e,o){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&o.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)o.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(t[a[n]]=e[a[n]]);return t};const se=e=>{const{prefixCls:o,actions:t=[]}=e;return l.createElement("ul",{className:`${o}-actions`},t.map((a,n)=>{const u=`action-${n}`;return l.createElement("li",{style:{width:`${100/t.length}%`},key:u},l.createElement("span",null,a))}))};var re=l.forwardRef((e,o)=>{const{prefixCls:t,className:a,rootClassName:n,style:u,extra:f,headStyle:S={},bodyStyle:b={},title:v,loading:I,bordered:D=!0,size:y,type:R,cover:_,actions:V,tabList:Z,children:N,activeTabKey:te,defaultActiveTabKey:C,tabBarExtraContent:de,hoverable:ge,tabProps:ue={}}=e,fe=ee(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:ae,direction:pe,card:W}=l.useContext($.E_),oe=w=>{var j;(j=e.onTabChange)===null||j===void 0||j.call(e,w)},me=l.useMemo(()=>{let w=!1;return l.Children.forEach(N,j=>{j&&j.type&&j.type===M&&(w=!0)}),w},[N]),p=ae("card",t),[L,Ce,$e]=U(p),Se=l.createElement(G.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},N),he=te!==void 0,Pe=Object.assign(Object.assign({},ue),{[he?"activeKey":"defaultActiveKey"]:he?te:C,tabBarExtraContent:de});let ve;const q=(0,A.Z)(y),xe=!q||q==="default"?"large":q,ye=Z?l.createElement(B.Z,Object.assign({size:xe},Pe,{className:`${p}-head-tabs`,onChange:oe,items:Z.map(w=>{var{tab:j}=w,ze=ee(w,["tab"]);return Object.assign({label:j},ze)})})):null;(v||f||ye)&&(ve=l.createElement("div",{className:`${p}-head`,style:S},l.createElement("div",{className:`${p}-head-wrapper`},v&&l.createElement("div",{className:`${p}-head-title`},v),f&&l.createElement("div",{className:`${p}-extra`},f)),ye));const Oe=_?l.createElement("div",{className:`${p}-cover`},_):null,Ee=l.createElement("div",{className:`${p}-body`,style:b},I?Se:N),Te=V&&V.length?l.createElement(se,{prefixCls:p,actions:V}):null,je=(0,O.Z)(fe,["onTabChange"]),Be=x()(p,W==null?void 0:W.className,{[`${p}-loading`]:I,[`${p}-bordered`]:D,[`${p}-hoverable`]:ge,[`${p}-contain-grid`]:me,[`${p}-contain-tabs`]:Z&&Z.length,[`${p}-${q}`]:q,[`${p}-type-${R}`]:!!R,[`${p}-rtl`]:pe==="rtl"},a,n,Ce,$e),Me=Object.assign(Object.assign({},W==null?void 0:W.style),u);return L(l.createElement("div",Object.assign({ref:o},je,{className:Be,style:Me}),ve,Oe,Ee,Te))}),ce=function(e,o){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&o.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)o.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(t[a[n]]=e[a[n]]);return t},d=e=>{const{prefixCls:o,className:t,avatar:a,title:n,description:u}=e,f=ce(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:S}=l.useContext($.E_),b=S("card",o),v=x()(`${b}-meta`,t),I=a?l.createElement("div",{className:`${b}-meta-avatar`},a):null,D=n?l.createElement("div",{className:`${b}-meta-title`},n):null,y=u?l.createElement("div",{className:`${b}-meta-description`},u):null,R=D||y?l.createElement("div",{className:`${b}-meta-detail`},D,y):null;return l.createElement("div",Object.assign({},f,{className:v}),I,R)};const g=re;g.Grid=M,g.Meta=d;var s=g},12400:function(ne,F,i){i.d(F,{Z:function(){return ce}});var l=i(50959),H=i(20819),x=i(82187),O=i.n(x),$=i(67806),A=i(80599),G=i(72585),B=i(76144),P=i(601),K=i(99978),M=i(54531),c=i(56352),m=i(79349);const h=r=>{const{paddingXXS:d,lineWidth:g,tagPaddingHorizontal:s,componentCls:e,calc:o}=r,t=o(s).sub(g).equal(),a=o(d).sub(g).equal();return{[e]:Object.assign(Object.assign({},(0,M.Wf)(r)),{display:"inline-block",height:"auto",marginInlineEnd:r.marginXS,paddingInline:t,fontSize:r.tagFontSize,lineHeight:r.tagLineHeight,whiteSpace:"nowrap",background:r.defaultBg,border:`${(0,P.bf)(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,borderRadius:r.borderRadiusSM,opacity:1,transition:`all ${r.motionDurationMid}`,textAlign:"start",position:"relative",[`&${e}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:r.defaultColor},[`${e}-close-icon`]:{marginInlineStart:a,fontSize:r.tagIconSize,color:r.colorTextDescription,cursor:"pointer",transition:`all ${r.motionDurationMid}`,"&:hover":{color:r.colorTextHeading}},[`&${e}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${r.iconCls}-close, ${r.iconCls}-close:hover`]:{color:r.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${e}-checkable-checked):hover`]:{color:r.colorPrimary,backgroundColor:r.colorFillSecondary},"&:active, &-checked":{color:r.colorTextLightSolid},"&-checked":{backgroundColor:r.colorPrimary,"&:hover":{backgroundColor:r.colorPrimaryHover}},"&:active":{backgroundColor:r.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${r.iconCls} + span, > span + ${r.iconCls}`]:{marginInlineStart:t}}),[`${e}-borderless`]:{borderColor:"transparent",background:r.tagBorderlessBg}}},E=r=>{const{lineWidth:d,fontSizeIcon:g,calc:s}=r,e=r.fontSizeSM;return(0,c.TS)(r,{tagFontSize:e,tagLineHeight:(0,P.bf)(s(r.lineHeightSM).mul(e).equal()),tagIconSize:s(g).sub(s(d).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:r.colorFillTertiary})},T=r=>({defaultBg:new K.C(r.colorFillQuaternary).onBackground(r.colorBgContainer).toHexString(),defaultColor:r.colorText});var z=(0,m.I$)("Tag",r=>{const d=E(r);return h(d)},T),X=function(r,d){var g={};for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&d.indexOf(s)<0&&(g[s]=r[s]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var e=0,s=Object.getOwnPropertySymbols(r);e<s.length;e++)d.indexOf(s[e])<0&&Object.prototype.propertyIsEnumerable.call(r,s[e])&&(g[s[e]]=r[s[e]]);return g},Q=l.forwardRef((r,d)=>{const{prefixCls:g,style:s,className:e,checked:o,onChange:t,onClick:a}=r,n=X(r,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:f}=l.useContext(B.E_),S=R=>{t==null||t(!o),a==null||a(R)},b=u("tag",g),[v,I,D]=z(b),y=O()(b,`${b}-checkable`,{[`${b}-checkable-checked`]:o},f==null?void 0:f.className,e,I,D);return v(l.createElement("span",Object.assign({},n,{ref:d,style:Object.assign(Object.assign({},s),f==null?void 0:f.style),className:y,onClick:S})))}),J=i(33653);const Y=r=>(0,J.Z)(r,(d,g)=>{let{textColor:s,lightBorderColor:e,lightColor:o,darkColor:t}=g;return{[`${r.componentCls}${r.componentCls}-${d}`]:{color:s,background:o,borderColor:e,"&-inverse":{color:r.colorTextLightSolid,background:t,borderColor:t},[`&${r.componentCls}-borderless`]:{borderColor:"transparent"}}}});var le=(0,m.bk)(["Tag","preset"],r=>{const d=E(r);return Y(d)},T);function ie(r){return typeof r!="string"?r:r.charAt(0).toUpperCase()+r.slice(1)}const U=(r,d,g)=>{const s=ie(g);return{[`${r.componentCls}${r.componentCls}-${d}`]:{color:r[`color${g}`],background:r[`color${s}Bg`],borderColor:r[`color${s}Border`],[`&${r.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ee=(0,m.bk)(["Tag","status"],r=>{const d=E(r);return[U(d,"success","Success"),U(d,"processing","Info"),U(d,"error","Error"),U(d,"warning","Warning")]},T),se=function(r,d){var g={};for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&d.indexOf(s)<0&&(g[s]=r[s]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var e=0,s=Object.getOwnPropertySymbols(r);e<s.length;e++)d.indexOf(s[e])<0&&Object.prototype.propertyIsEnumerable.call(r,s[e])&&(g[s[e]]=r[s[e]]);return g};const be=(r,d)=>{const{prefixCls:g,className:s,rootClassName:e,style:o,children:t,icon:a,color:n,onClose:u,closeIcon:f,closable:S,bordered:b=!0}=r,v=se(r,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:I,direction:D,tag:y}=l.useContext(B.E_),[R,_]=l.useState(!0);l.useEffect(()=>{"visible"in v&&_(v.visible)},[v.visible]);const V=(0,$.o2)(n),Z=(0,$.yT)(n),N=V||Z,te=Object.assign(Object.assign({backgroundColor:n&&!N?n:void 0},y==null?void 0:y.style),o),C=I("tag",g),[de,ge,ue]=z(C),fe=O()(C,y==null?void 0:y.className,{[`${C}-${n}`]:N,[`${C}-has-color`]:n&&!N,[`${C}-hidden`]:!R,[`${C}-rtl`]:D==="rtl",[`${C}-borderless`]:!b},s,e,ge,ue),ae=L=>{L.stopPropagation(),u==null||u(L),!L.defaultPrevented&&_(!1)},[,pe]=(0,A.Z)(S,f,L=>L===null?l.createElement(H.Z,{className:`${C}-close-icon`,onClick:ae}):l.createElement("span",{className:`${C}-close-icon`,onClick:ae},L),null,!1),W=typeof v.onClick=="function"||t&&t.type==="a",oe=a||null,me=oe?l.createElement(l.Fragment,null,oe,t&&l.createElement("span",null,t)):t,p=l.createElement("span",Object.assign({},v,{ref:d,className:fe,style:te}),me,pe,V&&l.createElement(le,{key:"preset",prefixCls:C}),Z&&l.createElement(ee,{key:"status",prefixCls:C}));return de(W?l.createElement(G.Z,{component:"Tag"},p):p)},re=l.forwardRef(be);re.CheckableTag=Q;var ce=re}}]);