Files
GDstarmotion-admin/dist/src__pages__Admin.3d9dd6b3.async.js
PC-202306242200\Administrator d4720a32e1 第一次
2024-09-10 16:47:49 +08:00

11 lines
11 KiB
JavaScript

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[7329],{69259:function(Z,x,d){d.r(x);var o=d(54286),T=d(94027),$=d(16030),z=d(7485),y=d(23885),B=d(79034),D=d(62911),W=d(50959),g=d(11527),A=function(){var i=(0,z.useIntl)();return(0,g.jsxs)($._z,{content:i.formatMessage({id:"pages.admin.subPage.title",defaultMessage:"This page can only be viewed by admin"}),children:[(0,g.jsxs)(y.Z,{children:[(0,g.jsx)(B.Z,{message:i.formatMessage({id:"pages.welcome.alertMessage",defaultMessage:"Faster and stronger heavy-duty components have been released."}),type:"success",showIcon:!0,banner:!0,style:{margin:-12,marginBottom:48}}),(0,g.jsxs)(D.Z.Title,{level:2,style:{textAlign:"center"},children:[(0,g.jsx)(o.Z,{})," Ant Design Pro ",(0,g.jsx)(T.Z,{twoToneColor:"#eb2f96"})," You"]})]}),(0,g.jsxs)("p",{style:{textAlign:"center",marginTop:24},children:["Want to add more pages? Please refer to"," ",(0,g.jsx)("a",{href:"https://pro.ant.design/docs/block-cn",target:"_blank",rel:"noopener noreferrer",children:"use block"}),"\u3002"]})]})};x.default=A},23885:function(Z,x,d){d.d(x,{Z:function(){return de}});var o=d(50959),T=d(82187),$=d.n(T),z=d(8146),y=d(76144),B=d(15676),D=d(39910),W=d(70939),g=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)n.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t},I=e=>{var{prefixCls:n,className:t,hoverable:a=!0}=e,r=g(e,["prefixCls","className","hoverable"]);const{getPrefixCls:l}=o.useContext(y.E_),c=l("card",n),h=$()(`${c}-grid`,t,{[`${c}-grid-hoverable`]:a});return o.createElement("div",Object.assign({},r,{className:h}))},i=d(601),m=d(54531),U=d(79349),X=d(56352);const V=e=>{const{antCls:n,componentCls:t,headerHeight:a,cardPaddingBase:r,tabsMarginBottom:l}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:a,marginBottom:-1,padding:`0 ${(0,i.bf)(r)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,i.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,i.bf)(e.borderRadiusLG)} ${(0,i.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}}),[`${n}-tabs-top`]:{clear:"both",marginBottom:l,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,i.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},Y=e=>{const{cardPaddingBase:n,colorBorderSecondary:t,cardShadow:a,lineWidth:r}=e;return{width:"33.33%",padding:n,border:0,borderRadius:0,boxShadow:`
${(0,i.bf)(r)} 0 0 0 ${t},
0 ${(0,i.bf)(r)} 0 0 ${t},
${(0,i.bf)(r)} ${(0,i.bf)(r)} 0 0 ${t},
${(0,i.bf)(r)} 0 0 0 ${t} inset,
0 ${(0,i.bf)(r)} 0 0 ${t} inset;
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:a}}},_=e=>{const{componentCls:n,iconCls:t,actionsLiMargin:a,cardActionsIconSize:r,colorBorderSecondary:l,actionsBg:c}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:c,borderTop:`${(0,i.bf)(e.lineWidth)} ${e.lineType} ${l}`,display:"flex",borderRadius:`0 0 ${(0,i.bf)(e.borderRadiusLG)} ${(0,i.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(${n}-btn), > ${t}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,i.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${t}`]:{fontSize:r,lineHeight:(0,i.bf)(e.calc(r).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,i.bf)(e.lineWidth)} ${e.lineType} ${l}`}}})},J=e=>Object.assign(Object.assign({margin:`${(0,i.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:n,cardPaddingBase:t,colorFillAlter:a}=e;return{[`${n}-head`]:{padding:`0 ${(0,i.bf)(t)}`,background:a,"&-title":{fontSize:e.fontSize}},[`${n}-body`]:{padding:`${(0,i.bf)(e.padding)} ${(0,i.bf)(t)}`}}},q=e=>{const{componentCls:n}=e;return{overflow:"hidden",[`${n}-body`]:{userSelect:"none"}}},k=e=>{const{antCls:n,componentCls:t,cardShadow:a,cardHeadPadding:r,colorBorderSecondary:l,boxShadowTertiary:c,cardPaddingBase:h,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:c},[`${t}-head`]:V(e),[`${t}-extra`]:{marginInlineStart:"auto",color:b,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:h,borderRadius:` 0 0 ${(0,i.bf)(e.borderRadiusLG)} ${(0,i.bf)(e.borderRadiusLG)}`},(0,m.dF)()),[`${t}-grid`]:Y(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${n}-image-mask`]:{borderRadius:`${(0,i.bf)(e.borderRadiusLG)} ${(0,i.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:_(e),[`${t}-meta`]:J(e)}),[`${t}-bordered`]:{border:`${(0,i.bf)(e.lineWidth)} ${e.lineType} ${l}`,[`${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,i.bf)(e.borderRadiusLG)} ${(0,i.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:r}}},[`${t}-type-inner`]:Q(e),[`${t}-loading`]:q(e),[`${t}-rtl`]:{direction:"rtl"}}},ee=e=>{const{componentCls:n,cardPaddingSM:t,headerHeightSM:a,headerFontSizeSM:r}=e;return{[`${n}-small`]:{[`> ${n}-head`]:{minHeight:a,padding:`0 ${(0,i.bf)(t)}`,fontSize:r,[`> ${n}-head-wrapper`]:{[`> ${n}-extra`]:{fontSize:e.fontSize}}},[`> ${n}-body`]:{padding:t}},[`${n}-small${n}-contain-tabs`]:{[`> ${n}-head`]:{[`${n}-head-title, ${n}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},te=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 ae=(0,U.I$)("Card",e=>{const n=(0,X.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[k(n),ee(n)]},te),N=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)n.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t};const re=e=>{const{prefixCls:n,actions:t=[]}=e;return o.createElement("ul",{className:`${n}-actions`},t.map((a,r)=>{const l=`action-${r}`;return o.createElement("li",{style:{width:`${100/t.length}%`},key:l},o.createElement("span",null,a))}))};var ne=o.forwardRef((e,n)=>{const{prefixCls:t,className:a,rootClassName:r,style:l,extra:c,headStyle:h={},bodyStyle:b={},title:v,loading:C,bordered:O=!0,size:E,type:P,cover:G,actions:R,tabList:M,children:j,activeTabKey:H,defaultActiveTabKey:se,tabBarExtraContent:le,hoverable:ce,tabProps:ge={}}=e,be=N(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:fe,direction:me,card:u}=o.useContext(y.E_),he=p=>{var f;(f=e.onTabChange)===null||f===void 0||f.call(e,p)},pe=o.useMemo(()=>{let p=!1;return o.Children.forEach(j,f=>{f&&f.type&&f.type===I&&(p=!0)}),p},[j]),s=fe("card",t),[ue,$e,ye]=ae(s),ve=o.createElement(D.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},j),w=H!==void 0,Se=Object.assign(Object.assign({},ge),{[w?"activeKey":"defaultActiveKey"]:w?H:se,tabBarExtraContent:le});let K;const S=(0,B.Z)(E),xe=!S||S==="default"?"large":S,F=M?o.createElement(W.Z,Object.assign({size:xe},Se,{className:`${s}-head-tabs`,onChange:he,items:M.map(p=>{var{tab:f}=p,Te=N(p,["tab"]);return Object.assign({label:f},Te)})})):null;(v||c||F)&&(K=o.createElement("div",{className:`${s}-head`,style:h},o.createElement("div",{className:`${s}-head-wrapper`},v&&o.createElement("div",{className:`${s}-head-title`},v),c&&o.createElement("div",{className:`${s}-extra`},c)),F));const Ce=G?o.createElement("div",{className:`${s}-cover`},G):null,Oe=o.createElement("div",{className:`${s}-body`,style:b},C?ve:j),Ee=R&&R.length?o.createElement(re,{prefixCls:s,actions:R}):null,Pe=(0,z.Z)(be,["onTabChange"]),Me=$()(s,u==null?void 0:u.className,{[`${s}-loading`]:C,[`${s}-bordered`]:O,[`${s}-hoverable`]:ce,[`${s}-contain-grid`]:pe,[`${s}-contain-tabs`]:M&&M.length,[`${s}-${S}`]:S,[`${s}-type-${P}`]:!!P,[`${s}-rtl`]:me==="rtl"},a,r,$e,ye),je=Object.assign(Object.assign({},u==null?void 0:u.style),l);return ue(o.createElement("div",Object.assign({ref:n},Pe,{className:Me,style:je}),K,Ce,Oe,Ee))}),ie=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)n.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]]);return t},oe=e=>{const{prefixCls:n,className:t,avatar:a,title:r,description:l}=e,c=ie(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:h}=o.useContext(y.E_),b=h("card",n),v=$()(`${b}-meta`,t),C=a?o.createElement("div",{className:`${b}-meta-avatar`},a):null,O=r?o.createElement("div",{className:`${b}-meta-title`},r):null,E=l?o.createElement("div",{className:`${b}-meta-description`},l):null,P=O||E?o.createElement("div",{className:`${b}-meta-detail`},O,E):null;return o.createElement("div",Object.assign({},c,{className:v}),C,P)};const L=ne;L.Grid=I,L.Meta=oe;var de=L}}]);