Files
dianxiaorui-admin/dist/src__pages__Admin.af796cad.async.js
PC-202306242200\Administrator efb1344456 first commit
2026-03-28 23:04:37 +08:00

11 lines
12 KiB
JavaScript

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[7329],{69259:function(A,h,d){d.r(h);var o=d(54286),m=d(94027),v=d(16030),E=d(7485),u=d(23885),s=d(79034),y=d(92859),$=d(50959),g=d(11527),w=function(){var i=(0,E.useIntl)();return(0,g.jsxs)(v._z,{content:i.formatMessage({id:"pages.admin.subPage.title",defaultMessage:"This page can only be viewed by admin"}),children:[(0,g.jsxs)(u.Z,{children:[(0,g.jsx)(s.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)(y.Z.Title,{level:2,style:{textAlign:"center"},children:[(0,g.jsx)(o.Z,{})," Ant Design Pro ",(0,g.jsx)(m.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"]})]})};h.default=w},23885:function(A,h,d){d.d(h,{Z:function(){return de}});var o=d(50959),m=d(82187),v=d.n(m),E=d(8146),u=d(76144),s=d(15676),y=d(39910),$=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:c}=o.useContext(u.E_),f=c("card",n),x=v()(`${f}-grid`,t,{[`${f}-grid-hoverable`]:a});return o.createElement("div",Object.assign({},r,{className:x}))},i=d(601),S=d(54531),Z=d(79349),F=d(56352);const X=e=>{const{antCls:n,componentCls:t,headerHeight:a,cardPaddingBase:r,tabsMarginBottom:c}=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,S.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},S.vS),{[`
> ${t}-typography,
> ${t}-typography-edit-content
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${n}-tabs-top`]:{clear:"both",marginBottom:c,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,i.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},V=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}}},Y=e=>{const{componentCls:n,iconCls:t,actionsLiMargin:a,cardActionsIconSize:r,colorBorderSecondary:c,actionsBg:f}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:f,borderTop:`${(0,i.bf)(e.lineWidth)} ${e.lineType} ${c}`,display:"flex",borderRadius:`0 0 ${(0,i.bf)(e.borderRadiusLG)} ${(0,i.bf)(e.borderRadiusLG)}`},(0,S.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} ${c}`}}})},J=e=>Object.assign(Object.assign({margin:`${(0,i.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,S.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},S.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:c,boxShadowTertiary:f,cardPaddingBase:x,extraColor:b}=e;return{[t]:Object.assign(Object.assign({},(0,S.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:f},[`${t}-head`]:X(e),[`${t}-extra`]:{marginInlineStart:"auto",color:b,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:x,borderRadius:` 0 0 ${(0,i.bf)(e.borderRadiusLG)} ${(0,i.bf)(e.borderRadiusLG)}`},(0,S.dF)()),[`${t}-grid`]:V(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`]:Y(e),[`${t}-meta`]:J(e)}),[`${t}-bordered`]:{border:`${(0,i.bf)(e.lineWidth)} ${e.lineType} ${c}`,[`${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,Z.I$)("Card",e=>{const n=(0,F.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[k(n),ee(n)]},te),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};const re=e=>{const{prefixCls:n,actions:t=[]}=e;return o.createElement("ul",{className:`${n}-actions`},t.map((a,r)=>{const c=`action-${r}`;return o.createElement("li",{style:{width:`${100/t.length}%`},key:c},o.createElement("span",null,a))}))};var ne=o.forwardRef((e,n)=>{const{prefixCls:t,className:a,rootClassName:r,style:c,extra:f,headStyle:x={},bodyStyle:b={},title:P,loading:j,bordered:T=!0,size:z,type:B,cover:H,actions:W,tabList:D,children:L,activeTabKey:N,defaultActiveTabKey:le,tabBarExtraContent:se,hoverable:ce,tabProps:ge={}}=e,fe=G(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:me,direction:ue,card:O}=o.useContext(u.E_),be=C=>{var p;(p=e.onTabChange)===null||p===void 0||p.call(e,C)},pe=o.useMemo(()=>{let C=!1;return o.Children.forEach(L,p=>{p&&p.type&&p.type===I&&(C=!0)}),C},[L]),l=me("card",t),[he,$e,ve]=ae(l),ye=o.createElement(y.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},L),K=N!==void 0,Se=Object.assign(Object.assign({},ge),{[K?"activeKey":"defaultActiveKey"]:K?N:le,tabBarExtraContent:se});let U;const M=(0,s.Z)(z),xe=!M||M==="default"?"large":M,_=D?o.createElement($.Z,Object.assign({size:xe},Se,{className:`${l}-head-tabs`,onChange:be,items:D.map(C=>{var{tab:p}=C,Te=G(C,["tab"]);return Object.assign({label:p},Te)})})):null;(P||f||_)&&(U=o.createElement("div",{className:`${l}-head`,style:x},o.createElement("div",{className:`${l}-head-wrapper`},P&&o.createElement("div",{className:`${l}-head-title`},P),f&&o.createElement("div",{className:`${l}-extra`},f)),_));const Ce=H?o.createElement("div",{className:`${l}-cover`},H):null,Oe=o.createElement("div",{className:`${l}-body`,style:b},j?ye:L),Ee=W&&W.length?o.createElement(re,{prefixCls:l,actions:W}):null,Pe=(0,E.Z)(fe,["onTabChange"]),Me=v()(l,O==null?void 0:O.className,{[`${l}-loading`]:j,[`${l}-bordered`]:T,[`${l}-hoverable`]:ce,[`${l}-contain-grid`]:pe,[`${l}-contain-tabs`]:D&&D.length,[`${l}-${M}`]:M,[`${l}-type-${B}`]:!!B,[`${l}-rtl`]:ue==="rtl"},a,r,$e,ve),je=Object.assign(Object.assign({},O==null?void 0:O.style),c);return he(o.createElement("div",Object.assign({ref:n},Pe,{className:Me,style:je}),U,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:c}=e,f=ie(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:x}=o.useContext(u.E_),b=x("card",n),P=v()(`${b}-meta`,t),j=a?o.createElement("div",{className:`${b}-meta-avatar`},a):null,T=r?o.createElement("div",{className:`${b}-meta-title`},r):null,z=c?o.createElement("div",{className:`${b}-meta-description`},c):null,B=T||z?o.createElement("div",{className:`${b}-meta-detail`},T,z):null;return o.createElement("div",Object.assign({},f,{className:P}),j,B)};const R=ne;R.Grid=I,R.Meta=oe;var de=R},33786:function(A,h,d){d.d(h,{N:function(){return o}});const o=m=>({color:m.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${m.motionDurationSlow}`,"&:focus, &:hover":{color:m.colorLinkHover},"&:active":{color:m.colorLinkActive}})},73675:function(A,h,d){d.d(h,{G:function(){return E}});var o=d(95882),m=function(s){if((0,o.Z)()&&window.document.documentElement){var y=Array.isArray(s)?s:[s],$=window.document.documentElement;return y.some(function(g){return g in $.style})}return!1},v=function(s,y){if(!m(s))return!1;var $=document.createElement("div"),g=$.style[s];return $.style[s]=y,$.style[s]!==g};function E(u,s){return!Array.isArray(u)&&s!==void 0?v(u,s):m(u)}}}]);