Files
shz-admin/shihezi/8097.26b00ff4.async.js

2 lines
18 KiB
JavaScript
Raw Permalink Normal View History

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8097],{98097:function(nt,me,o){o.d(me,{vY:function(){return ge}});var V=o(74902),M=o(55850),K=o(15861),X=o(91),l=o(1413),ye=o(97937),xe=o(63606),re=o(86548),ie=o(952),Q=o(43495),D=o(67294),g=o(48054),F=o(4393),Y=o(25378),he=o(96074),A=o(78957),e=o(85893),J=function(t){var a=t.padding;return(0,e.jsx)("div",{style:{padding:a||"0 24px"},children:(0,e.jsx)(he.Z,{style:{margin:0}})})},Ze={xs:2,sm:2,md:4,lg:4,xl:6,xxl:6},je=function(t){var a=t.size,n=t.active,i=(0,D.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),m=(0,Y.Z)()||i,s=Object.keys(m).filter(function(Z){return m[Z]===!0})[0]||"md",y=a===void 0?Ze[s]||6:a,S=function(d){return d===0?0:y>2?42:16};return(0,e.jsx)(F.Z,{bordered:!1,style:{marginBlockEnd:16},children:(0,e.jsx)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:new Array(y).fill(null).map(function(Z,d){return(0,e.jsxs)("div",{style:{borderInlineStart:y>2&&d===1?"1px solid rgba(0,0,0,0.06)":void 0,paddingInlineStart:S(d),flex:1,marginInlineEnd:d===0?16:0},children:[(0,e.jsx)(g.Z,{active:n,paragraph:!1,title:{width:100,style:{marginBlockStart:0}}}),(0,e.jsx)(g.Z.Button,{active:n,style:{height:48}})]},d)})})})},pe=function(t){var a=t.active;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(F.Z,{bordered:!1,style:{borderRadius:0},styles:{body:{padding:24}},children:(0,e.jsxs)("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,e.jsx)("div",{style:{maxWidth:"100%",flex:1},children:(0,e.jsx)(g.Z,{active:a,title:{width:100,style:{marginBlockStart:0}},paragraph:{rows:1,style:{margin:0}}})}),(0,e.jsx)(g.Z.Button,{active:a,size:"small",style:{width:165,marginBlockStart:12}})]})}),(0,e.jsx)(J,{})]})},Se=function(t){var a=t.size,n=t.active,i=n===void 0?!0:n,m=t.actionButton;return(0,e.jsxs)(F.Z,{bordered:!1,styles:{body:{padding:0}},children:[new Array(a).fill(null).map(function(s,y){return(0,e.jsx)(pe,{active:!!i},y)}),m!==!1&&(0,e.jsx)(F.Z,{bordered:!1,style:{borderStartEndRadius:0,borderTopLeftRadius:0},styles:{body:{display:"flex",alignItems:"center",justifyContent:"center"}},children:(0,e.jsx)(g.Z.Button,{style:{width:102},active:i,size:"small"})})]})},U=function(t){var a=t.active;return(0,e.jsxs)("div",{style:{marginBlockEnd:16},children:[(0,e.jsx)(g.Z,{paragraph:!1,title:{width:185}}),(0,e.jsx)(g.Z.Button,{active:a,size:"small"})]})},be=function(t){var a=t.active;return(0,e.jsx)(F.Z,{bordered:!1,style:{borderBottomRightRadius:0,borderBottomLeftRadius:0},styles:{body:{paddingBlockEnd:8}},children:(0,e.jsxs)(A.Z,{style:{width:"100%",justifyContent:"space-between"},children:[(0,e.jsx)(g.Z.Button,{active:a,style:{width:200},size:"small"}),(0,e.jsxs)(A.Z,{children:[(0,e.jsx)(g.Z.Button,{active:a,size:"small",style:{width:120}}),(0,e.jsx)(g.Z.Button,{active:a,size:"small",style:{width:80}})]})]})})},Ee=function(t){var a=t.active,n=a===void 0?!0:a,i=t.statistic,m=t.actionButton,s=t.toolbar,y=t.pageHeader,S=t.list,Z=S===void 0?5:S;return(0,e.jsxs)("div",{style:{width:"100%"},children:[y!==!1&&(0,e.jsx)(U,{active:n}),i!==!1&&(0,e.jsx)(je,{size:i,active:n}),(s!==!1||Z!==!1)&&(0,e.jsxs)(F.Z,{bordered:!1,styles:{body:{padding:0}},children:[s!==!1&&(0,e.jsx)(be,{active:n}),Z!==!1&&(0,e.jsx)(Se,{size:Z,active:n,actionButton:m})]})]})},Ce=Ee,le={xs:1,sm:2,md:3,lg:3,xl:3,xxl:4},Ie=function(t){var a=t.active;return(0,e.jsxs)("div",{style:{marginBlockStart:32},children:[(0,e.jsx)(g.Z.Button,{active:a,size:"small",style:{width:100,marginBlockEnd:16}}),(0,e.jsxs)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:[(0,e.jsxs)("div",{style:{flex:1,marginInlineEnd:24,maxWidth:300},children:[(0,e.jsx)(g.Z,{active:a,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,e.jsx)(g.Z,{active:a,paragraph:!1,title:{style:{marginBlockStart:8}}}),(0,e.jsx)(g.Z,{active:a,paragraph:!1,title:{style:{marginBlockStart:8}}})]}),(0,e.jsx)("div",{style:{flex:1,alignItems:"center",justifyContent:"center"},children:(0,e.jsxs)("di