vdi/web-fe/serve/dist/layouts__index.async.js

2 lines
10 KiB
JavaScript
Raw Normal View History

2025-08-14 09:43:06 +00:00
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[717],{6171:function(D,f,e){e.d(f,{Z:function(){return o}});var n=e(87462),r=e(67294),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},h=S,$=e(72298),u=function(y,C){return r.createElement($.Z,(0,n.Z)({},y,{ref:C,icon:h}))},m=r.forwardRef(u),o=m},90814:function(D,f,e){e.d(f,{Z:function(){return o}});var n=e(87462),r=e(67294),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},h=S,$=e(72298),u=function(y,C){return r.createElement($.Z,(0,n.Z)({},y,{ref:C,icon:h}))},m=r.forwardRef(u),o=m},93421:function(D,f,e){e.r(f),e.d(f,{default:function(){return d}});var n=e(67294),r=e(26058),S=e(6510),h=e(85893),$=r.Z.Header,u=r.Z.Sider,m=r.Z.Content,o=function(){var C=(0,S.useLocation)();return(0,h.jsx)(r.Z,{className:"main-layout",children:(0,h.jsx)(m,{className:"main-content",children:(0,h.jsx)(S.Outlet,{})})})},d=o},23342:function(D,f,e){e.d(f,{D:function(){return v},Z:function(){return W}});var n=e(67294),r=e(87462),S={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},h=S,$=e(72298),u=function(i,g){return n.createElement($.Z,(0,r.Z)({},i,{ref:g,icon:h}))},m=n.forwardRef(u),o=m,d=e(6171),y=e(90814),C=e(93967),H=e.n(C),E=e(98423),B=e(85849),j=e(53124),G=e(82401),P=e(11568),Y=e(24793),q=e(83559);const _=t=>{const{componentCls:i,siderBg:g,motionDurationMid:s,motionDurationSlow:c,antCls:R,triggerHeight:z,triggerColor:V,triggerBg:Q,headerHeight:F,zeroTriggerWidth:Z,zeroTriggerHeight:M,borderRadiusLG:T,lightSiderBg:J,lightTriggerColor:L,lightTriggerBg:w,bodyBg:A}=t;return{[i]:{position:"relative",minWidth:0,background:g,transition:`all ${s}, background 0s`,"&-has-trigger":{paddingBottom:z},"&-right":{order:1},[`${i}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${R}-menu${R}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${i}-children`]:{overflow:"hidden"},[`${i}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:z,color:V,lineHeight:(0,P.bf)(z),textAlign:"center",background:Q,cursor:"pointer",transition:`all ${s}`},[`${i}-zero-width-trigger`]:{position:"absolute",top:F,insetInlineEnd:t.calc(Z).mul(-1).equal(),zIndex:1,width:Z,height:M,color:V,fontSize:t.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:g,borderRadius:`0 ${(0,P.bf)(T)} ${(0,P.bf)(T)} 0`,cursor:"pointer",transition:`background ${c} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${c}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:t.calc(Z).mul(-1).equal(),borderRadius:`${(0,P.bf)(T)} 0 0 ${(0,P.bf)(T)}`}},"&-light":{background:J,[`${i}-trigger`]:{color:L,background:w},[`${i}-zero-width-trigger`]:{color:L,background:w,border:`1px solid ${A}`,borderInlineStart:0}}}}};var I=(0,q.I$)(["Layout","Sider"],t=>[_(t)],Y.eh,{deprecatedTokens:Y.jn}),ee=function(t,i){var g={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&i.indexOf(s)<0&&(g[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,s=Object.getOwnPropertySymbols(t);c<s.length;c++)i.indexOf(s[c])<0&