@gx-design-vue/pro-layout 0.1.0-beta.57 → 0.1.0-beta.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Context.d.ts +5 -3
- package/dist/PageLoading.d.ts +2 -2
- package/dist/ProLayout.d.ts +835 -9
- package/dist/components/GlobalFooter/index.d.ts +4 -4
- package/dist/components/GlobalHeader/DefaultHeader.d.ts +5 -5
- package/dist/components/GlobalHeader/index.d.ts +8 -8
- package/dist/components/GlobalHeader/props.d.ts +1 -1
- package/dist/components/GlobalHeader/{style/globalHeader.d.ts → style.d.ts} +1 -1
- package/dist/components/LogoContent/index.d.ts +7 -7
- package/dist/components/LogoContent/props.d.ts +1 -1
- package/dist/components/LogoContent/style.d.ts +6 -3
- package/dist/components/MultiTab/index.d.ts +4 -4
- package/dist/components/PageContainer/PageHeader.d.ts +4 -4
- package/dist/components/PageContainer/index.d.ts +4 -4
- package/dist/components/PageTranstion/index.d.ts +4 -4
- package/dist/components/SettingDrawer/BlockCheckbox.d.ts +5 -5
- package/dist/components/SettingDrawer/OthersChange.d.ts +4 -4
- package/dist/components/SettingDrawer/RegionalChange.d.ts +4 -4
- package/dist/components/SettingDrawer/ThemeColor.d.ts +4 -4
- package/dist/components/SettingDrawer/ThemeEditor.d.ts +3 -3
- package/dist/components/SettingDrawer/index.d.ts +5 -5
- package/dist/components/SettingDrawer/utils/config.d.ts +4 -0
- package/dist/components/SiderMenu/BaseMenu.d.ts +5 -5
- package/dist/components/SiderMenu/SiderMenu.d.ts +5 -5
- package/dist/components/SiderMenu/index.d.ts +5 -5
- package/dist/defaultSettings.d.ts +1 -1
- package/dist/pro-layout.js +1418 -1411
- package/dist/pro-layout.umd.cjs +1 -1
- package/dist/props.d.ts +1 -1
- package/dist/utils/coverToNewToken.d.ts +9 -3
- package/dist/utils/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/components/GlobalHeader/style/index.d.ts +0 -3
package/dist/pro-layout.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Spin as
|
|
3
|
-
import { useProAppContext as
|
|
4
|
-
import { useRouter as
|
|
5
|
-
import { createFromIconfontCN as
|
|
6
|
-
import { isArray as
|
|
7
|
-
import
|
|
8
|
-
import { createTypes as
|
|
9
|
-
import { cloneDeep as
|
|
10
|
-
import { GPorWaterMark as
|
|
11
|
-
import { useMediaQuery as
|
|
12
|
-
import
|
|
13
|
-
import { useWindowSize as
|
|
14
|
-
import
|
|
15
|
-
import { GColorPicker as
|
|
16
|
-
const
|
|
1
|
+
import { defineComponent as A, createVNode as n, mergeProps as V, provide as st, readonly as Pt, inject as Lt, resolveComponent as ut, computed as m, isVNode as oe, Fragment as Z, toRefs as Oe, unref as j, createTextVNode as Q, ref as we, reactive as He, watch as ce, withDirectives as Dt, vShow as Nt, watchEffect as zt, Transition as Ht } from "vue";
|
|
2
|
+
import { Spin as Se, Menu as ne, ConfigProvider as Ke, Layout as fe, Drawer as Ce, Breadcrumb as Kt, Card as jt, LayoutFooter as At, Tabs as je, Dropdown as Ge, Tooltip as Re, List as ae, Switch as dt, TabPane as Wt, Select as be, message as Ut, Divider as Te, Alert as Et, Button as Xt } from "ant-design-vue";
|
|
3
|
+
import { useProAppContext as Ae } from "@gx-design-vue/pro-app";
|
|
4
|
+
import { useRouter as We, RouterLink as Yt } from "vue-router";
|
|
5
|
+
import { createFromIconfontCN as Vt, MenuUnfoldOutlined as _t, MenuFoldOutlined as Gt, GithubOutlined as qt, EllipsisOutlined as Zt, ReloadOutlined as Jt, CloseOutlined as ct, CheckOutlined as mt, SettingOutlined as Qt, NotificationOutlined as en, CopyOutlined as tn } from "@ant-design/icons-vue";
|
|
6
|
+
import { isArray as ft, isBoolean as qe, getSlot as W, getPrefixCls as he, classNames as ht, merge as gt, getRandomNumber as Ze, getLevelData as nn, isBrowser as an } from "@gx-design-vue/pro-utils";
|
|
7
|
+
import on, { themeConfig as K, getDefaultLayoutToken as Fe, Keyframe as s, useStyle as ge, mergeToken as $e, useProConfigContext as ye, useProStyle as ie, defaultTheme as ln, defaultLayout as rn, colorList as sn } from "@gx-design-vue/pro-provider";
|
|
8
|
+
import { createTypes as un } from "vue-types";
|
|
9
|
+
import { cloneDeep as Be, pick as re, omit as Ue } from "lodash-es";
|
|
10
|
+
import { GPorWaterMark as dn } from "@gx-design-vue/pro-watermark";
|
|
11
|
+
import { useMediaQuery as cn, useState as xe, useMergedState as mn } from "@gx-design-vue/pro-hooks";
|
|
12
|
+
import fn from "dayjs";
|
|
13
|
+
import { useWindowSize as hn, useClipboard as gn } from "@vueuse/core";
|
|
14
|
+
import yn from "@gx-design-vue/scrollbar";
|
|
15
|
+
import { GColorPicker as Je } from "@gx-design-vue/color-picker";
|
|
16
|
+
const bn = /* @__PURE__ */ A({
|
|
17
17
|
name: "PageLoading",
|
|
18
18
|
props: {
|
|
19
|
-
...
|
|
19
|
+
...Se.props
|
|
20
20
|
},
|
|
21
21
|
setup(e) {
|
|
22
22
|
const {
|
|
23
23
|
indicator: t
|
|
24
|
-
} =
|
|
24
|
+
} = Ae();
|
|
25
25
|
return n("div", {
|
|
26
26
|
style: {
|
|
27
27
|
paddingTop: "100px",
|
|
28
28
|
textAlign: "center"
|
|
29
29
|
}
|
|
30
|
-
}, [n(
|
|
30
|
+
}, [n(Se, V(e, {
|
|
31
31
|
indicator: t == null ? void 0 : t.value
|
|
32
32
|
}), null)]);
|
|
33
33
|
}
|
|
34
|
-
}), L =
|
|
34
|
+
}), L = un({
|
|
35
35
|
func: void 0,
|
|
36
36
|
bool: void 0,
|
|
37
37
|
string: void 0,
|
|
@@ -55,75 +55,75 @@ L.extend([{
|
|
|
55
55
|
getter: !0,
|
|
56
56
|
type: null
|
|
57
57
|
}]);
|
|
58
|
-
const
|
|
58
|
+
const ue = {
|
|
59
59
|
theme: {
|
|
60
60
|
type: String,
|
|
61
|
-
default:
|
|
61
|
+
default: K.theme
|
|
62
62
|
},
|
|
63
63
|
layout: {
|
|
64
64
|
type: String,
|
|
65
|
-
default:
|
|
65
|
+
default: K.layout
|
|
66
66
|
},
|
|
67
67
|
wideWidth: {
|
|
68
68
|
type: Number,
|
|
69
|
-
default:
|
|
69
|
+
default: K.wideWidth
|
|
70
70
|
},
|
|
71
71
|
splitMenus: {
|
|
72
72
|
type: Boolean,
|
|
73
|
-
default:
|
|
73
|
+
default: K.splitMenus
|
|
74
74
|
},
|
|
75
75
|
fixedMultiTab: {
|
|
76
76
|
type: Boolean,
|
|
77
|
-
default:
|
|
77
|
+
default: K.fixedMultiTab
|
|
78
78
|
},
|
|
79
79
|
showProgressBar: {
|
|
80
80
|
type: Boolean,
|
|
81
|
-
default:
|
|
81
|
+
default: K.showProgressBar
|
|
82
82
|
},
|
|
83
83
|
fixedHeader: {
|
|
84
84
|
type: Boolean,
|
|
85
|
-
default:
|
|
85
|
+
default: K.fixedHeader
|
|
86
86
|
},
|
|
87
87
|
fixSiderbar: {
|
|
88
88
|
type: Boolean,
|
|
89
|
-
default:
|
|
89
|
+
default: K.fixSiderbar
|
|
90
90
|
},
|
|
91
91
|
showTabsBar: {
|
|
92
92
|
type: Boolean,
|
|
93
|
-
default:
|
|
93
|
+
default: K.showTabsBar
|
|
94
94
|
},
|
|
95
95
|
showFullScreen: {
|
|
96
96
|
type: Boolean,
|
|
97
|
-
default:
|
|
97
|
+
default: K.showFullScreen
|
|
98
98
|
},
|
|
99
99
|
autoHideHeader: {
|
|
100
100
|
type: Boolean,
|
|
101
|
-
default:
|
|
101
|
+
default: K.autoHideHeader
|
|
102
102
|
},
|
|
103
103
|
headerHeight: {
|
|
104
104
|
type: Number,
|
|
105
|
-
default:
|
|
105
|
+
default: K.headerHeight
|
|
106
106
|
},
|
|
107
107
|
title: {
|
|
108
108
|
type: String,
|
|
109
|
-
default:
|
|
109
|
+
default: K.title
|
|
110
110
|
},
|
|
111
111
|
iconfontUrl: {
|
|
112
112
|
type: String,
|
|
113
|
-
default:
|
|
113
|
+
default: K.iconfontUrl
|
|
114
114
|
},
|
|
115
115
|
animate: {
|
|
116
116
|
type: Object,
|
|
117
|
-
default:
|
|
117
|
+
default: K.animate
|
|
118
118
|
},
|
|
119
119
|
primaryColor: {
|
|
120
120
|
type: String,
|
|
121
|
-
default:
|
|
121
|
+
default: K.primaryColor
|
|
122
122
|
}
|
|
123
|
-
},
|
|
123
|
+
}, se = {
|
|
124
124
|
renderKey: L.string.def("menuHeaderRender"),
|
|
125
|
-
title:
|
|
126
|
-
layout:
|
|
125
|
+
title: ue.title,
|
|
126
|
+
layout: ue.layout,
|
|
127
127
|
logo: {
|
|
128
128
|
type: [Object, String, Function],
|
|
129
129
|
default: () => {
|
|
@@ -146,8 +146,8 @@ const se = {
|
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
148
|
onMenuHeaderClick: Function
|
|
149
|
-
},
|
|
150
|
-
...
|
|
149
|
+
}, ke = {
|
|
150
|
+
...ue,
|
|
151
151
|
mode: {
|
|
152
152
|
type: String,
|
|
153
153
|
default: "inline"
|
|
@@ -197,13 +197,13 @@ const se = {
|
|
|
197
197
|
onSelect: {
|
|
198
198
|
type: Function
|
|
199
199
|
}
|
|
200
|
-
},
|
|
201
|
-
...
|
|
202
|
-
...
|
|
200
|
+
}, _ = {
|
|
201
|
+
...ue,
|
|
202
|
+
...ke,
|
|
203
203
|
menuLoading: L.looseBool,
|
|
204
|
-
logo:
|
|
205
|
-
logoStyle:
|
|
206
|
-
logoDirection:
|
|
204
|
+
logo: se.logo,
|
|
205
|
+
logoStyle: se.logoStyle,
|
|
206
|
+
logoDirection: se.logoDirection,
|
|
207
207
|
siderWidth: L.number.def(208),
|
|
208
208
|
headerHeight: L.number.def(48),
|
|
209
209
|
collapsedWidth: L.number.def(48),
|
|
@@ -249,34 +249,45 @@ const se = {
|
|
|
249
249
|
onCollapse: {
|
|
250
250
|
type: Function
|
|
251
251
|
}
|
|
252
|
-
},
|
|
253
|
-
function
|
|
252
|
+
}, pn = /(((^https?:(?:\/\/)?)(?:[-;:&=+$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=+$,\w]+@)[A-Za-z0-9.-]+)((?:\/[+~%/.\w-]*)?\??[-+=&;%@.\w]*#?\w*))$/, yt = (e) => pn.test(e);
|
|
253
|
+
function vn(e) {
|
|
254
254
|
return /\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e);
|
|
255
255
|
}
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
256
|
+
const Pe = {
|
|
257
|
+
colorItemBg: "colorBgMenu",
|
|
258
|
+
colorSubItemBg: "colorSubItemBg",
|
|
259
|
+
colorItemBgHover: "colorBgMenuItemHover",
|
|
260
|
+
colorItemBgSelected: "colorBgMenuItemSelected",
|
|
261
|
+
colorItemBgSelectedHorizontal: "colorBgMenuItemSelected",
|
|
262
|
+
colorItemText: "colorTextMenu",
|
|
263
|
+
colorItemTextHover: "colorTextMenuHover",
|
|
264
|
+
colorItemTextSelected: "colorTextMenuSelected",
|
|
265
|
+
colorItemTextSelectedHorizontal: "colorTextMenuSelected"
|
|
266
|
+
};
|
|
267
|
+
function bt({ type: e, token: t, theme: a, staticToken: i, layoutThemeKey: o }) {
|
|
268
|
+
var C;
|
|
269
|
+
const u = a === "dark" || a === "realDark", f = (C = t.layout) == null ? void 0 : C[e], b = Fe(e, t)[o], g = Object.keys(Pe).reduce((d, F) => (d[F] = f[Pe[F]] || b[Pe[F]], d), {}), M = Object.assign(i, Object.fromEntries(Object.entries(g).filter(([d, F]) => F !== void 0)));
|
|
270
|
+
return u && e === "header" && (M.colorActiveBarHeight = 0), M;
|
|
260
271
|
}
|
|
261
|
-
const
|
|
272
|
+
const Cn = ["left", "right"], me = ["left", "right", "down", "up"], xn = ["downBig", "upBig", "leftBig", "rightBig"], wn = ["topLeft", "bottomRight", "topRight", "bottomLeft"], Sn = ["downLeft", "upRight", "downRight", "upLeft"], Ee = {
|
|
262
273
|
preset: [
|
|
263
274
|
// 预设动画配置
|
|
264
|
-
{ name: "back", alias: "渐近", directions:
|
|
265
|
-
{ name: "bounce", alias: "弹跳", directions:
|
|
275
|
+
{ name: "back", alias: "渐近", directions: me },
|
|
276
|
+
{ name: "bounce", alias: "弹跳", directions: me.concat("default") },
|
|
266
277
|
{
|
|
267
278
|
name: "fade",
|
|
268
279
|
alias: "淡化",
|
|
269
|
-
directions:
|
|
280
|
+
directions: me.concat(xn).concat(wn).concat("default")
|
|
270
281
|
},
|
|
271
282
|
{ name: "flip", alias: "翻转", directions: ["x", "y"] },
|
|
272
|
-
{ name: "lightSpeed", alias: "光速", directions:
|
|
273
|
-
{ name: "rotate", alias: "旋转", directions:
|
|
283
|
+
{ name: "lightSpeed", alias: "光速", directions: Cn },
|
|
284
|
+
{ name: "rotate", alias: "旋转", directions: Sn.concat("default") },
|
|
274
285
|
{ name: "roll", alias: "翻滚", directions: ["default"] },
|
|
275
|
-
{ name: "zoom", alias: "缩放", directions:
|
|
276
|
-
{ name: "slide", alias: "滑动", directions:
|
|
286
|
+
{ name: "zoom", alias: "缩放", directions: me.concat("default") },
|
|
287
|
+
{ name: "slide", alias: "滑动", directions: me }
|
|
277
288
|
]
|
|
278
289
|
};
|
|
279
|
-
function
|
|
290
|
+
function In(e) {
|
|
280
291
|
return e.map((t) => {
|
|
281
292
|
var i;
|
|
282
293
|
const a = { ...t };
|
|
@@ -289,25 +300,25 @@ function pn(e) {
|
|
|
289
300
|
}))
|
|
290
301
|
return {
|
|
291
302
|
...a,
|
|
292
|
-
children:
|
|
303
|
+
children: In(a.children)
|
|
293
304
|
};
|
|
294
305
|
delete a.children;
|
|
295
306
|
}
|
|
296
307
|
return a;
|
|
297
308
|
}).filter((t) => t);
|
|
298
309
|
}
|
|
299
|
-
function
|
|
310
|
+
function Mn(e) {
|
|
300
311
|
return e.map((t) => {
|
|
301
312
|
var i;
|
|
302
313
|
const a = { ...t };
|
|
303
|
-
return (i = a.meta) != null && i.hideInMenu ? null : (a.linkPath =
|
|
314
|
+
return (i = a.meta) != null && i.hideInMenu ? null : (a.linkPath = Rn(a.children || []), a.children && delete a.children, a);
|
|
304
315
|
}).filter((t) => t);
|
|
305
316
|
}
|
|
306
|
-
function
|
|
317
|
+
function On(e, t) {
|
|
307
318
|
const a = (t || "").split("/").length === 2 ? t || "" : `/${(t || "").split("/")[1]}`, i = e.find((o) => o.path === a);
|
|
308
319
|
return t === void 0 ? [] : (i == null ? void 0 : i.children) || [];
|
|
309
320
|
}
|
|
310
|
-
function
|
|
321
|
+
function Rn(e) {
|
|
311
322
|
let t = "";
|
|
312
323
|
const a = function(o) {
|
|
313
324
|
let u = "";
|
|
@@ -321,34 +332,34 @@ function Cn(e) {
|
|
|
321
332
|
}
|
|
322
333
|
return t;
|
|
323
334
|
}
|
|
324
|
-
function
|
|
335
|
+
function Pi(e, t) {
|
|
325
336
|
var i, o;
|
|
326
337
|
const a = ((o = (i = e.find((u) => u.path === t)) == null ? void 0 : i.meta) == null ? void 0 : o.key) || "";
|
|
327
338
|
if (a) {
|
|
328
|
-
const u = [],
|
|
329
|
-
for (let
|
|
330
|
-
u.push(
|
|
331
|
-
return e.filter((
|
|
332
|
-
var
|
|
333
|
-
return
|
|
339
|
+
const u = [], f = a.split("-");
|
|
340
|
+
for (let b = 0; b < f.length; b += 1)
|
|
341
|
+
u.push(Be(f).splice(0, b + 1).join("-"));
|
|
342
|
+
return e.filter((b) => u.some((g) => {
|
|
343
|
+
var M;
|
|
344
|
+
return g === ((M = b == null ? void 0 : b.meta) == null ? void 0 : M.key) || "";
|
|
334
345
|
}));
|
|
335
346
|
}
|
|
336
347
|
return [];
|
|
337
348
|
}
|
|
338
|
-
function
|
|
349
|
+
function Fn(e) {
|
|
339
350
|
return e.layout === "mix" && (e.fixSiderbar = !0, e.fixedHeader = !0, e.splitMenus = !0), e.layout === "top" && (e.fixSiderbar = !1, e.fixedHeader = !0, e.splitMenus = !1), e.layout === "simple" && (e.splitMenus = !1, e.showTabsBar = !1), e.layout === "side" && (e.splitMenus = !1), e.layout === "wide" && (e.splitMenus = !1, e.fixSiderbar = !1, e.fixedHeader = !0, e.showTabsBar = !1, e.fixedMultiTab = !1), { ...e };
|
|
340
351
|
}
|
|
341
|
-
function
|
|
352
|
+
function $n(e) {
|
|
342
353
|
const t = ["showTabsBar", "fixedMultiTab", "fixSiderbar", "fixedHeader", "splitMenus"];
|
|
343
354
|
let i = Object.keys(e).reduce((o, u) => (o[u] = !1, o), {});
|
|
344
|
-
return i =
|
|
355
|
+
return i = Bn(i, t), e.layout === "mix" && (i.fixSiderbar = !0, i.fixedHeader = !0), e.layout === "side" && (i.splitMenus = !0), e.layout === "simple" && (i.splitMenus = !0, i.fixedHeader = !0, i.showTabsBar = !0, i.fixedMultiTab = !0), e.layout === "wide" && (i.splitMenus = !0, i.fixedHeader = !0, i.fixSiderbar = !0, i.showTabsBar = !0, i.fixedMultiTab = !0), i;
|
|
345
356
|
}
|
|
346
|
-
function
|
|
357
|
+
function Bn(e, t) {
|
|
347
358
|
return {
|
|
348
359
|
...t.reduce((a, i) => ({ ...a, [i]: e[i] }), {})
|
|
349
360
|
};
|
|
350
361
|
}
|
|
351
|
-
const
|
|
362
|
+
const kn = (e = Symbol(), t = "Context.Provider") => A({
|
|
352
363
|
name: t,
|
|
353
364
|
props: {
|
|
354
365
|
value: {
|
|
@@ -357,19 +368,19 @@ const Mn = (e = Symbol(), t = "Context.Provider") => j({
|
|
|
357
368
|
}
|
|
358
369
|
},
|
|
359
370
|
setup(i, { slots: o }) {
|
|
360
|
-
return
|
|
371
|
+
return st(e, Pt(i.value)), () => {
|
|
361
372
|
var u;
|
|
362
373
|
return (u = o.default) == null ? void 0 : u.call(o);
|
|
363
374
|
};
|
|
364
375
|
}
|
|
365
|
-
}),
|
|
366
|
-
|
|
367
|
-
},
|
|
368
|
-
|
|
369
|
-
function
|
|
370
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
376
|
+
}), Tn = (e = Symbol(), t) => Lt(e, t || {}), Xe = Symbol("pro-layout-context"), Pn = () => kn(Xe, "ProLayoutContext.Provider"), Ln = (e) => {
|
|
377
|
+
st(Xe, e);
|
|
378
|
+
}, J = () => Tn(Xe);
|
|
379
|
+
Pn();
|
|
380
|
+
function Qe(e) {
|
|
381
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !oe(e);
|
|
371
382
|
}
|
|
372
|
-
const
|
|
383
|
+
const Ie = (e) => {
|
|
373
384
|
const {
|
|
374
385
|
icon: t,
|
|
375
386
|
iconType: a,
|
|
@@ -378,15 +389,15 @@ const Ce = (e) => {
|
|
|
378
389
|
if (!t)
|
|
379
390
|
return null;
|
|
380
391
|
if (typeof t == "string" && t !== "") {
|
|
381
|
-
if (
|
|
392
|
+
if (yt(t) || vn(t))
|
|
382
393
|
return n("img", {
|
|
383
394
|
src: t,
|
|
384
395
|
alt: "icon",
|
|
385
396
|
class: `${e.className}-icon-image`
|
|
386
397
|
}, null);
|
|
387
398
|
if (a === 1) {
|
|
388
|
-
const u =
|
|
389
|
-
scriptUrl: i ||
|
|
399
|
+
const u = Vt({
|
|
400
|
+
scriptUrl: i || K.iconfontUrl
|
|
390
401
|
});
|
|
391
402
|
return i ? n(u, {
|
|
392
403
|
type: t
|
|
@@ -395,12 +406,12 @@ const Ce = (e) => {
|
|
|
395
406
|
}, null);
|
|
396
407
|
}
|
|
397
408
|
}
|
|
398
|
-
if (
|
|
409
|
+
if (oe(t))
|
|
399
410
|
return t;
|
|
400
|
-
const o =
|
|
401
|
-
return typeof
|
|
411
|
+
const o = ut(t);
|
|
412
|
+
return typeof Ie == "function" && n(o, null, null) || null;
|
|
402
413
|
};
|
|
403
|
-
|
|
414
|
+
Ie.props = {
|
|
404
415
|
icon: {
|
|
405
416
|
type: [String, Function, Object]
|
|
406
417
|
},
|
|
@@ -408,13 +419,13 @@ Ce.props = {
|
|
|
408
419
|
className: String,
|
|
409
420
|
iconfontUrl: String
|
|
410
421
|
};
|
|
411
|
-
const
|
|
422
|
+
const pt = /* @__PURE__ */ A({
|
|
412
423
|
name: "BaseMenu",
|
|
413
|
-
props:
|
|
424
|
+
props: ke,
|
|
414
425
|
setup(e) {
|
|
415
|
-
const t =
|
|
426
|
+
const t = We(), {
|
|
416
427
|
getPrefixCls: a
|
|
417
|
-
} =
|
|
428
|
+
} = J(), i = a({
|
|
418
429
|
suffixCls: "menu-item",
|
|
419
430
|
isPor: !0
|
|
420
431
|
}), o = (l) => {
|
|
@@ -423,100 +434,100 @@ const ht = /* @__PURE__ */ j({
|
|
|
423
434
|
}, u = (l) => {
|
|
424
435
|
var r;
|
|
425
436
|
(r = e.onSelect) == null || r.call(e, l.selectedKeys);
|
|
426
|
-
},
|
|
437
|
+
}, f = (l) => {
|
|
427
438
|
var r;
|
|
428
439
|
(r = e.onClick) == null || r.call(e, ...l);
|
|
429
|
-
},
|
|
430
|
-
var
|
|
431
|
-
const
|
|
432
|
-
((
|
|
433
|
-
},
|
|
434
|
-
var
|
|
440
|
+
}, b = (l, r) => {
|
|
441
|
+
var S;
|
|
442
|
+
const x = l.target || "", w = yt(x);
|
|
443
|
+
((S = t.currentRoute.value) == null ? void 0 : S.fullPath) !== r.to && w && x && l.targetStatus === 1 && window.open(x);
|
|
444
|
+
}, g = ut("router-link"), M = (l) => {
|
|
445
|
+
var y, T, h, p, P;
|
|
435
446
|
const r = {
|
|
436
447
|
...l.meta
|
|
437
|
-
},
|
|
448
|
+
}, x = r.targetStatus === 1 && r.target ? "a" : g, w = {
|
|
438
449
|
to: l.linkPath || l.path || ""
|
|
439
|
-
},
|
|
450
|
+
}, S = (y = l.meta) == null ? void 0 : y.title, O = (T = l.meta) != null && T.icon ? n(x, V(w, {
|
|
440
451
|
class: "gx-pro-sider-menu-item",
|
|
441
|
-
onClick: () =>
|
|
452
|
+
onClick: () => b(r, w)
|
|
442
453
|
}), {
|
|
443
454
|
default: () => [n("span", {
|
|
444
455
|
class: "gx-pro-sider-menu-item-title"
|
|
445
|
-
}, [
|
|
446
|
-
}) : n(
|
|
456
|
+
}, [S])]
|
|
457
|
+
}) : n(x, V(w, {
|
|
447
458
|
class: "gx-pro-sider-menu-item",
|
|
448
|
-
onClick: () =>
|
|
459
|
+
onClick: () => b(r, w)
|
|
449
460
|
}), {
|
|
450
|
-
default: () => [n("span", null, [
|
|
451
|
-
}),
|
|
461
|
+
default: () => [n("span", null, [S])]
|
|
462
|
+
}), v = ((h = l.meta) == null ? void 0 : h.icon) && n(Ie, {
|
|
452
463
|
className: i,
|
|
453
|
-
icon: (
|
|
464
|
+
icon: (p = l.meta) == null ? void 0 : p.icon,
|
|
454
465
|
iconfontUrl: e.iconfontUrl,
|
|
455
|
-
iconType: (
|
|
466
|
+
iconType: (P = l.meta) == null ? void 0 : P.iconType
|
|
456
467
|
}, null) || void 0;
|
|
457
|
-
return [
|
|
458
|
-
},
|
|
459
|
-
var
|
|
460
|
-
if (Array.isArray(l.children) && l.children.length > 0 && !((
|
|
461
|
-
let
|
|
468
|
+
return [O, v];
|
|
469
|
+
}, C = (l) => {
|
|
470
|
+
var w, S, O, v, y, T, h, p, P;
|
|
471
|
+
if (Array.isArray(l.children) && l.children.length > 0 && !((w = l == null ? void 0 : l.meta) != null && w.hideInMenu) && !((S = l == null ? void 0 : l.meta) != null && S.hideChildrenInMenu)) {
|
|
472
|
+
let k;
|
|
462
473
|
if (e.subMenuItemRender)
|
|
463
474
|
return e.subMenuItemRender({
|
|
464
475
|
item: l,
|
|
465
|
-
children:
|
|
476
|
+
children: d(l.children)
|
|
466
477
|
});
|
|
467
|
-
const
|
|
478
|
+
const N = (O = l.meta) == null ? void 0 : O.title, B = (v = l.meta) != null && v.icon ? n("span", {
|
|
468
479
|
class: "gx-pro-sider-menu-item"
|
|
469
480
|
}, [n("span", {
|
|
470
481
|
class: "gx-pro-sider-menu-item-title"
|
|
471
|
-
}, [
|
|
482
|
+
}, [N])]) : n("span", {
|
|
472
483
|
class: "gx-pro-sider-menu-item"
|
|
473
|
-
}, [
|
|
474
|
-
return n(
|
|
475
|
-
title:
|
|
484
|
+
}, [N]), U = ((y = l.meta) == null ? void 0 : y.type) === "group", z = U ? ne.ItemGroup : ne.SubMenu;
|
|
485
|
+
return n(z, {
|
|
486
|
+
title: B,
|
|
476
487
|
key: l.path,
|
|
477
|
-
icon:
|
|
488
|
+
icon: U ? null : n(Ie, {
|
|
478
489
|
className: i,
|
|
479
|
-
icon: (
|
|
490
|
+
icon: (T = l.meta) == null ? void 0 : T.icon,
|
|
480
491
|
iconfontUrl: e.iconfontUrl,
|
|
481
|
-
iconType: (
|
|
492
|
+
iconType: (h = l.meta) == null ? void 0 : h.iconType
|
|
482
493
|
}, null)
|
|
483
|
-
},
|
|
484
|
-
default: () => [
|
|
494
|
+
}, Qe(k = d(l.children)) ? k : {
|
|
495
|
+
default: () => [k]
|
|
485
496
|
});
|
|
486
497
|
}
|
|
487
|
-
const [r,
|
|
498
|
+
const [r, x] = M(l);
|
|
488
499
|
return e.menuItemRender && e.menuItemRender({
|
|
489
500
|
item: l,
|
|
490
501
|
title: r,
|
|
491
|
-
icon:
|
|
492
|
-
}) || n(
|
|
493
|
-
disabled: (
|
|
494
|
-
danger: (
|
|
502
|
+
icon: x
|
|
503
|
+
}) || n(ne.Item, {
|
|
504
|
+
disabled: (p = l.meta) == null ? void 0 : p.disabled,
|
|
505
|
+
danger: (P = l.meta) == null ? void 0 : P.danger,
|
|
495
506
|
key: l.path,
|
|
496
|
-
icon:
|
|
497
|
-
},
|
|
507
|
+
icon: x
|
|
508
|
+
}, Qe(r) ? r : {
|
|
498
509
|
default: () => [r]
|
|
499
510
|
});
|
|
500
511
|
};
|
|
501
|
-
function
|
|
502
|
-
return l.map((r) =>
|
|
512
|
+
function d(l = []) {
|
|
513
|
+
return l.map((r) => C(r)).filter((r) => r);
|
|
503
514
|
}
|
|
504
|
-
const
|
|
505
|
-
return () => n(
|
|
515
|
+
const F = m(() => d(e.menuData));
|
|
516
|
+
return () => n(ne, V({
|
|
506
517
|
key: "Menu",
|
|
507
518
|
inlineIndent: 16,
|
|
508
519
|
mode: e.mode,
|
|
509
520
|
theme: e.theme,
|
|
510
|
-
openKeys: e.openKeys === !1 ? [] :
|
|
521
|
+
openKeys: e.openKeys === !1 ? [] : ft(e.openKeys) ? e.openKeys : [],
|
|
511
522
|
selectedKeys: e.selectedKeys || [],
|
|
512
523
|
onOpenChange: (l) => o(l),
|
|
513
524
|
onSelect: u,
|
|
514
|
-
onClick:
|
|
525
|
+
onClick: f
|
|
515
526
|
}, e.menuProps), {
|
|
516
|
-
default: () => [
|
|
527
|
+
default: () => [F.value]
|
|
517
528
|
});
|
|
518
529
|
}
|
|
519
|
-
}),
|
|
530
|
+
}), vt = new s("pro-layout-title-hide", {
|
|
520
531
|
"0%": { display: "none", opacity: 0 },
|
|
521
532
|
"99%": {
|
|
522
533
|
display: "none",
|
|
@@ -526,7 +537,7 @@ const ht = /* @__PURE__ */ j({
|
|
|
526
537
|
display: "block",
|
|
527
538
|
opacity: 1
|
|
528
539
|
}
|
|
529
|
-
}),
|
|
540
|
+
}), Dn = (e) => {
|
|
530
541
|
const t = `${e.antCls}-menu`;
|
|
531
542
|
return {
|
|
532
543
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
@@ -537,8 +548,8 @@ const ht = /* @__PURE__ */ j({
|
|
|
537
548
|
}
|
|
538
549
|
}
|
|
539
550
|
};
|
|
540
|
-
},
|
|
541
|
-
var t, a, i, o
|
|
551
|
+
}, Nn = (e) => {
|
|
552
|
+
var t, a, i, o;
|
|
542
553
|
return {
|
|
543
554
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
544
555
|
[`&${e.proComponentsCls}-basic-layout-wide`]: {
|
|
@@ -551,7 +562,6 @@ const ht = /* @__PURE__ */ j({
|
|
|
551
562
|
[e.componentCls]: {
|
|
552
563
|
position: "relative",
|
|
553
564
|
borderRight: 0,
|
|
554
|
-
background: (a = (t = e.layout) == null ? void 0 : t.sider) == null ? void 0 : a.colorDarkBgMenu,
|
|
555
565
|
zIndex: 9,
|
|
556
566
|
"&-menu": {
|
|
557
567
|
position: "relative",
|
|
@@ -567,13 +577,6 @@ const ht = /* @__PURE__ */ j({
|
|
|
567
577
|
flexDirection: "column",
|
|
568
578
|
height: "100%"
|
|
569
579
|
},
|
|
570
|
-
"&-light": {
|
|
571
|
-
background: (o = (i = e.layout) == null ? void 0 : i.sider) == null ? void 0 : o.colorBgMenu,
|
|
572
|
-
boxShadow: "2px 0 8px 0 rgba(29,35,41,.05)",
|
|
573
|
-
[`${e.componentCls}-footer`]: {
|
|
574
|
-
color: (g = (u = e.layout) == null ? void 0 : u.sider) == null ? void 0 : g.colorTextMenu
|
|
575
|
-
}
|
|
576
|
-
},
|
|
577
580
|
"&-links": {
|
|
578
581
|
width: "100%",
|
|
579
582
|
borderTop: "1px solid rgba(0,0,0,.06)",
|
|
@@ -587,10 +590,9 @@ const ht = /* @__PURE__ */ j({
|
|
|
587
590
|
background: "transparent"
|
|
588
591
|
},
|
|
589
592
|
"&-footer": {
|
|
590
|
-
color: (w = (m = e.layout) == null ? void 0 : m.sider) == null ? void 0 : w.colorDarkTextMenu,
|
|
591
593
|
paddingBlockEnd: 16,
|
|
592
594
|
fontSize: e.fontSize,
|
|
593
|
-
animationName:
|
|
595
|
+
animationName: vt,
|
|
594
596
|
animationDuration: ".4s",
|
|
595
597
|
animationTimingFunction: "ease"
|
|
596
598
|
}
|
|
@@ -602,13 +604,13 @@ const ht = /* @__PURE__ */ j({
|
|
|
602
604
|
zIndex: "100",
|
|
603
605
|
height: "100%",
|
|
604
606
|
"&-mix": {
|
|
605
|
-
height: `calc(100% - ${((
|
|
606
|
-
insetBlockStart: `${((
|
|
607
|
+
height: `calc(100% - ${((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.heightLayoutHeader) || K.headerHeight}px)`,
|
|
608
|
+
insetBlockStart: `${((o = (i = e.layout) == null ? void 0 : i.header) == null ? void 0 : o.heightLayoutHeader) || K.headerHeight}px`
|
|
607
609
|
}
|
|
608
610
|
}
|
|
609
611
|
}
|
|
610
612
|
};
|
|
611
|
-
},
|
|
613
|
+
}, zn = (e) => ({
|
|
612
614
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
613
615
|
[`${e.antCls}-menu`]: {
|
|
614
616
|
[`${e.proComponentsCls}-menu-item-icon${e.antCls}-menu-item-icon`]: {
|
|
@@ -617,15 +619,8 @@ const ht = /* @__PURE__ */ j({
|
|
|
617
619
|
}
|
|
618
620
|
}
|
|
619
621
|
}
|
|
620
|
-
}),
|
|
622
|
+
}), Hn = (e) => ({
|
|
621
623
|
[`${e.proComponentsCls}-sider`]: {
|
|
622
|
-
"&-light": {
|
|
623
|
-
[`${e.proComponentsCls}-sider-logo`]: {
|
|
624
|
-
h1: {
|
|
625
|
-
color: e.colorPrimary
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
624
|
"&-logo": {
|
|
630
625
|
position: "relative",
|
|
631
626
|
display: "flex",
|
|
@@ -650,8 +645,8 @@ const ht = /* @__PURE__ */ j({
|
|
|
650
645
|
marginBlock: 0,
|
|
651
646
|
marginInlineEnd: 0,
|
|
652
647
|
marginInlineStart: 12,
|
|
653
|
-
color: e.colorWhite,
|
|
654
|
-
animationName:
|
|
648
|
+
color: e.theme === "light" ? e.colorPrimary : e.colorWhite,
|
|
649
|
+
animationName: vt,
|
|
655
650
|
animationDuration: ".2s",
|
|
656
651
|
fontWeight: 600,
|
|
657
652
|
fontSize: 18,
|
|
@@ -676,58 +671,68 @@ const ht = /* @__PURE__ */ j({
|
|
|
676
671
|
}
|
|
677
672
|
}
|
|
678
673
|
}
|
|
679
|
-
})
|
|
674
|
+
});
|
|
675
|
+
function Kn(e, t) {
|
|
676
|
+
return ge("AppLayoutSider", (a) => {
|
|
677
|
+
const i = $e(a, {
|
|
678
|
+
theme: t.value
|
|
679
|
+
});
|
|
680
|
+
return [Hn(i)];
|
|
681
|
+
}, e);
|
|
682
|
+
}
|
|
683
|
+
const Ct = (e, t) => e ? typeof e == "string" ? n("img", {
|
|
680
684
|
src: e,
|
|
681
685
|
alt: "logo",
|
|
682
686
|
style: t
|
|
683
|
-
}, null) : typeof e == "function" ? e() : e : null,
|
|
687
|
+
}, null) : typeof e == "function" ? e() : e : null, jn = (e, t = "menuHeaderRender") => {
|
|
684
688
|
const {
|
|
685
689
|
logo: a,
|
|
686
690
|
logoStyle: i,
|
|
687
691
|
title: o,
|
|
688
692
|
layout: u
|
|
689
|
-
} = e,
|
|
690
|
-
if (
|
|
693
|
+
} = e, f = e[t || ""];
|
|
694
|
+
if (f === !1)
|
|
691
695
|
return null;
|
|
692
|
-
const
|
|
693
|
-
return typeof
|
|
694
|
-
},
|
|
696
|
+
const b = Ct(a, i), g = o && n("h1", null, [o]);
|
|
697
|
+
return typeof f == "function" ? f(b, e.collapsed ? null : g, e) : n(Z, null, [b || null, e.collapsed && u === "side" ? null : g]);
|
|
698
|
+
}, Ye = /* @__PURE__ */ A({
|
|
695
699
|
name: "LogoContent",
|
|
696
|
-
props:
|
|
700
|
+
props: se,
|
|
697
701
|
setup(e) {
|
|
698
702
|
const {
|
|
699
|
-
getPrefixCls: t
|
|
700
|
-
|
|
701
|
-
|
|
703
|
+
getPrefixCls: t,
|
|
704
|
+
theme: a
|
|
705
|
+
} = J(), i = m(() => e.layout === "side" || e.layout === "simple"), o = m(() => t({
|
|
706
|
+
suffixCls: i.value || e.drawer ? "sider" : "global-header",
|
|
702
707
|
isPor: !0
|
|
703
708
|
})), {
|
|
704
|
-
wrapSSR:
|
|
705
|
-
hashId:
|
|
706
|
-
} =
|
|
707
|
-
return () =>
|
|
709
|
+
wrapSSR: u,
|
|
710
|
+
hashId: f
|
|
711
|
+
} = Kn(o.value, a), b = m(() => jn(e, e.renderKey));
|
|
712
|
+
return () => u(n("div", {
|
|
708
713
|
id: "logo",
|
|
709
714
|
class: {
|
|
710
|
-
[`${
|
|
711
|
-
[`${
|
|
712
|
-
[`${
|
|
715
|
+
[`${f.value}`]: !0,
|
|
716
|
+
[`${o.value}-logo`]: !0,
|
|
717
|
+
[`${o.value}-logo-collapsed`]: !!e.collapsed
|
|
713
718
|
},
|
|
714
719
|
onClick: () => {
|
|
715
|
-
var
|
|
716
|
-
return (
|
|
720
|
+
var g;
|
|
721
|
+
return (g = e.onMenuHeaderClick) == null ? void 0 : g.call(e);
|
|
717
722
|
}
|
|
718
|
-
}, [n("a", null, [
|
|
723
|
+
}, [n("a", null, [b.value || null])]));
|
|
719
724
|
}
|
|
720
725
|
});
|
|
721
|
-
|
|
722
|
-
function
|
|
723
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
726
|
+
Ye.inheritAttrs = !1;
|
|
727
|
+
function An(e) {
|
|
728
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !oe(e);
|
|
724
729
|
}
|
|
725
730
|
const {
|
|
726
|
-
Sider:
|
|
727
|
-
} =
|
|
728
|
-
Item:
|
|
729
|
-
} =
|
|
730
|
-
props:
|
|
731
|
+
Sider: Wn
|
|
732
|
+
} = fe, {
|
|
733
|
+
Item: et
|
|
734
|
+
} = ne, xt = (e) => e ? n(_t, null, null) : n(Gt, null, null), tt = /* @__PURE__ */ A({
|
|
735
|
+
props: _,
|
|
731
736
|
inheritAttrs: !1,
|
|
732
737
|
setup(e) {
|
|
733
738
|
const {
|
|
@@ -735,54 +740,71 @@ const {
|
|
|
735
740
|
selectedKeys: a,
|
|
736
741
|
flatMenuData: i,
|
|
737
742
|
menuData: o,
|
|
738
|
-
openKeys: u
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
743
|
+
openKeys: u,
|
|
744
|
+
theme: f
|
|
745
|
+
} = J(), {
|
|
746
|
+
indicator: b
|
|
747
|
+
} = Ae(), {
|
|
748
|
+
token: g
|
|
749
|
+
} = ye(), {
|
|
750
|
+
theme: M,
|
|
751
|
+
layout: C,
|
|
752
|
+
isMobile: d,
|
|
753
|
+
menuLoading: F,
|
|
754
|
+
breakpoint: l,
|
|
755
|
+
fixSiderbar: r,
|
|
756
|
+
collapsed: x,
|
|
757
|
+
siderWidth: w,
|
|
758
|
+
collapsedWidth: S,
|
|
759
|
+
menuExtraRender: O,
|
|
760
|
+
menuContentRender: v,
|
|
761
|
+
menuFooterRender: y,
|
|
762
|
+
collapsedButtonRender: T,
|
|
763
|
+
links: h
|
|
764
|
+
} = Oe(e), p = t({
|
|
759
765
|
suffixCls: "sider",
|
|
760
766
|
isPor: !0
|
|
761
|
-
}), {
|
|
762
|
-
wrapSSR:
|
|
763
|
-
hashId:
|
|
764
|
-
} =
|
|
765
|
-
var
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
767
|
+
}), P = m(() => e.layout === "wide"), k = m(() => e.layout === "mix" && !e.isMobile && e.splitMenus), N = m(() => C.value === "side" || C.value === "simple"), B = m(() => (e.layout === "mix" || P.value) && "light" || M.value), U = m(() => `${f.value}:${C.value}`), {
|
|
768
|
+
wrapSSR: z,
|
|
769
|
+
hashId: H
|
|
770
|
+
} = ie("ProLayoutSiderMenu", [zn, Dn, Nn, (I) => {
|
|
771
|
+
var E, X, q;
|
|
772
|
+
const $ = (E = I == null ? void 0 : I.layout) == null ? void 0 : E.sider, D = ((X = I.layout) == null ? void 0 : X.layoutThemeKey) || "";
|
|
773
|
+
return {
|
|
774
|
+
[`${I.proComponentsCls}-basic-layout`]: {
|
|
775
|
+
[I.componentCls]: {
|
|
776
|
+
[`&-${f.value}`]: {
|
|
777
|
+
background: ($ == null ? void 0 : $.colorBgMenu) || ((q = Fe("sider", I)[D]) == null ? void 0 : q.colorBgMenu),
|
|
778
|
+
boxShadow: f.value === "realDark" ? "#0d0d0da6 0 2px 8px" : "2px 0 8px 0 rgba(29,35,41,.05)",
|
|
779
|
+
[`${I.componentCls}-footer`]: {
|
|
780
|
+
color: $ == null ? void 0 : $.colorTextMenu
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
};
|
|
786
|
+
}], p), ee = m(() => C.value === "top" ? [] : o.value), G = m(() => e.collapsed ? e.collapsedWidth : e.siderWidth), de = m(() => [H.value, p, d.value ? "shadow" : null, `${p}-${f.value}`, r.value && e.layout !== "wide" ? `${p}-fixed` : null]), le = m(() => {
|
|
787
|
+
var I;
|
|
788
|
+
return typeof h.value == "function" ? (I = h.value) == null ? void 0 : I.call(h) : h.value;
|
|
789
|
+
}), c = m(() => T.value !== !1 ? T.value || xt : !1), R = (I) => {
|
|
790
|
+
var $;
|
|
769
791
|
if (e.onSelect) {
|
|
770
|
-
if (
|
|
771
|
-
e.onSelect([(
|
|
792
|
+
if (j(k)) {
|
|
793
|
+
e.onSelect([($ = a == null ? void 0 : a.value) == null ? void 0 : $[0], ...I]);
|
|
772
794
|
return;
|
|
773
795
|
}
|
|
774
|
-
e.onSelect(
|
|
796
|
+
e.onSelect(I);
|
|
775
797
|
}
|
|
776
798
|
};
|
|
777
799
|
return () => {
|
|
778
|
-
var
|
|
779
|
-
const
|
|
780
|
-
drawer:
|
|
781
|
-
}, e), null) : null,
|
|
782
|
-
class: `${
|
|
783
|
-
theme:
|
|
800
|
+
var E;
|
|
801
|
+
const I = N.value ? n(Ye, V({
|
|
802
|
+
drawer: d.value
|
|
803
|
+
}, e), null) : null, $ = O.value && ((E = O.value) == null ? void 0 : E.call(O, e)), D = n(pt, {
|
|
804
|
+
class: `${p}-menu ${H.value}`,
|
|
805
|
+
theme: B.value,
|
|
784
806
|
mode: "inline",
|
|
785
|
-
menuData:
|
|
807
|
+
menuData: k.value ? i.value : ee.value,
|
|
786
808
|
iconfontUrl: e.iconfontUrl,
|
|
787
809
|
openKeys: u.value,
|
|
788
810
|
selectedKeys: a.value,
|
|
@@ -792,118 +814,123 @@ const {
|
|
|
792
814
|
style: {
|
|
793
815
|
width: "100%"
|
|
794
816
|
},
|
|
795
|
-
onOpenKeys: (
|
|
796
|
-
var
|
|
797
|
-
return e.onOpenKeys && ((
|
|
817
|
+
onOpenKeys: (X) => {
|
|
818
|
+
var q;
|
|
819
|
+
return e.onOpenKeys && ((q = e.onOpenKeys) == null ? void 0 : q.call(e, X));
|
|
798
820
|
},
|
|
799
|
-
onSelect:
|
|
821
|
+
onSelect: R
|
|
800
822
|
}, null);
|
|
801
|
-
return
|
|
823
|
+
return k.value && j(i.value).length === 0 || ee.value.length === 0 ? null : z(n(Ke, {
|
|
802
824
|
theme: {
|
|
803
825
|
components: {
|
|
804
|
-
Menu:
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
826
|
+
Menu: bt({
|
|
827
|
+
token: (g == null ? void 0 : g.value) || {},
|
|
828
|
+
staticToken: {
|
|
829
|
+
radiusItem: 4,
|
|
830
|
+
colorActiveBarWidth: 0,
|
|
831
|
+
colorActiveBarHeight: 0,
|
|
832
|
+
colorActiveBarBorderSize: 0
|
|
833
|
+
},
|
|
834
|
+
theme: f.value,
|
|
835
|
+
type: "sider",
|
|
836
|
+
layoutThemeKey: U.value
|
|
837
|
+
})
|
|
811
838
|
}
|
|
812
839
|
}
|
|
813
840
|
}, {
|
|
814
|
-
default: () => [
|
|
841
|
+
default: () => [r.value && n("div", {
|
|
815
842
|
style: {
|
|
816
|
-
width: `${
|
|
843
|
+
width: `${G.value}px`,
|
|
817
844
|
overflow: "hidden",
|
|
818
|
-
flex: `0 0 ${
|
|
819
|
-
maxWidth: `${
|
|
820
|
-
minWidth: `${
|
|
845
|
+
flex: `0 0 ${G.value}px`,
|
|
846
|
+
maxWidth: `${G.value}px`,
|
|
847
|
+
minWidth: `${G.value}px`,
|
|
821
848
|
transition: "background-color 0.2s, min-width 0.2s, max-width 0.2s"
|
|
822
849
|
}
|
|
823
|
-
}, null), n(
|
|
850
|
+
}, null), n(Wn, {
|
|
824
851
|
collapsible: !0,
|
|
825
852
|
trigger: null,
|
|
826
|
-
class:
|
|
853
|
+
class: de.value,
|
|
827
854
|
style: {
|
|
828
855
|
overflow: "hidden",
|
|
829
|
-
zIndex:
|
|
830
|
-
paddingTop:
|
|
856
|
+
zIndex: r.value ? 101 : void 0,
|
|
857
|
+
paddingTop: N.value || e.isMobile || P.value ? 0 : `${e.headerHeight}px`,
|
|
831
858
|
top: e.layout === "wide" ? `${e.headerHeight + 20}px` : void 0,
|
|
832
859
|
height: e.layout === "wide" ? `calc(100vh - ${e.headerHeight + 20 * 2}px)` : void 0
|
|
833
860
|
},
|
|
834
|
-
theme:
|
|
835
|
-
breakpoint:
|
|
836
|
-
collapsed:
|
|
837
|
-
width:
|
|
838
|
-
collapsedWidth:
|
|
861
|
+
theme: B.value,
|
|
862
|
+
breakpoint: l.value || void 0,
|
|
863
|
+
collapsed: x.value,
|
|
864
|
+
width: w.value,
|
|
865
|
+
collapsedWidth: S.value
|
|
839
866
|
}, {
|
|
840
867
|
default: () => {
|
|
841
|
-
var
|
|
842
|
-
return [
|
|
843
|
-
class: ["gx-pro-sider-loading",
|
|
844
|
-
}, [n(
|
|
845
|
-
spinning:
|
|
846
|
-
indicator:
|
|
847
|
-
}, null)]),
|
|
868
|
+
var X, q;
|
|
869
|
+
return [F.value && n("div", {
|
|
870
|
+
class: ["gx-pro-sider-loading", H.value]
|
|
871
|
+
}, [n(Se, {
|
|
872
|
+
spinning: F.value,
|
|
873
|
+
indicator: b == null ? void 0 : b.value
|
|
874
|
+
}, null)]), I || null, $ && !e.collapsed && n("div", {
|
|
848
875
|
class: {
|
|
849
|
-
[`${
|
|
850
|
-
[`${
|
|
851
|
-
[`${
|
|
876
|
+
[`${H.value}`]: !0,
|
|
877
|
+
[`${p}-extra`]: !0,
|
|
878
|
+
[`${p}-extra-no-logo`]: !I
|
|
852
879
|
}
|
|
853
|
-
}, [
|
|
880
|
+
}, [$]), n("div", {
|
|
854
881
|
style: {
|
|
855
882
|
flex: "1 1 0%",
|
|
856
883
|
overflow: "hidden auto"
|
|
857
884
|
}
|
|
858
|
-
}, [
|
|
859
|
-
class: `${
|
|
860
|
-
}, [n(
|
|
861
|
-
theme:
|
|
885
|
+
}, [v.value && ((X = v.value) == null ? void 0 : X.call(v, e, D)) || D]), e.layout !== "wide" && n("div", {
|
|
886
|
+
class: `${p}-links ${H.value}`
|
|
887
|
+
}, [n(ne, {
|
|
888
|
+
theme: B.value,
|
|
862
889
|
inlineIndent: 16,
|
|
863
|
-
class: `${
|
|
890
|
+
class: `${p}-link-menu ${H.value}`,
|
|
864
891
|
selectedKeys: [],
|
|
865
892
|
openKeys: [],
|
|
866
893
|
mode: "inline"
|
|
867
894
|
}, {
|
|
868
|
-
default: () => [(
|
|
869
|
-
class: `${
|
|
870
|
-
key:
|
|
871
|
-
},
|
|
872
|
-
default: () => [
|
|
873
|
-
})),
|
|
874
|
-
class: `${
|
|
895
|
+
default: () => [(le.value || []).map((te, Tt) => n(et, {
|
|
896
|
+
class: `${p}-link ${H.value}`,
|
|
897
|
+
key: Tt
|
|
898
|
+
}, An(te) ? te : {
|
|
899
|
+
default: () => [te]
|
|
900
|
+
})), c.value && !d.value && n(et, {
|
|
901
|
+
class: `${p}-collapsed-button ${H.value}`,
|
|
875
902
|
title: !1,
|
|
876
903
|
key: "collapsed",
|
|
877
904
|
onClick: () => {
|
|
878
|
-
var
|
|
879
|
-
e.onCollapse && ((
|
|
905
|
+
var te;
|
|
906
|
+
e.onCollapse && ((te = e.onCollapse) == null || te.call(e, !x.value));
|
|
880
907
|
}
|
|
881
908
|
}, {
|
|
882
909
|
default: () => {
|
|
883
|
-
var
|
|
884
|
-
return [(
|
|
910
|
+
var te;
|
|
911
|
+
return [(te = c.value) == null ? void 0 : te.call(c, x.value)];
|
|
885
912
|
}
|
|
886
913
|
})]
|
|
887
|
-
})]),
|
|
888
|
-
class: `${
|
|
889
|
-
}, [(
|
|
914
|
+
})]), y.value && n("div", {
|
|
915
|
+
class: `${p}-footer ${H.value}`
|
|
916
|
+
}, [(q = y.value) == null ? void 0 : q.call(y, e)])];
|
|
890
917
|
}
|
|
891
918
|
})]
|
|
892
919
|
}));
|
|
893
920
|
};
|
|
894
921
|
}
|
|
895
|
-
}),
|
|
922
|
+
}), Le = /* @__PURE__ */ A({
|
|
896
923
|
name: "SiderMenuWrapper",
|
|
897
924
|
inheritAttrs: !1,
|
|
898
925
|
props: {
|
|
899
|
-
...
|
|
926
|
+
..._,
|
|
900
927
|
matchMenuKeys: {
|
|
901
928
|
type: Array,
|
|
902
929
|
default: () => []
|
|
903
930
|
}
|
|
904
931
|
},
|
|
905
932
|
setup(e) {
|
|
906
|
-
return () => n(
|
|
933
|
+
return () => n(Z, null, [e.isMobile ? n(Ce, {
|
|
907
934
|
maskClosable: !0,
|
|
908
935
|
open: !e.collapsed,
|
|
909
936
|
closable: !1,
|
|
@@ -922,12 +949,12 @@ const {
|
|
|
922
949
|
flexDirection: "row"
|
|
923
950
|
}
|
|
924
951
|
}, {
|
|
925
|
-
default: () => [n(
|
|
952
|
+
default: () => [n(tt, V(e, {
|
|
926
953
|
collapsed: e.isMobile ? !1 : e.collapsed
|
|
927
954
|
}), null)]
|
|
928
|
-
}) : n(
|
|
955
|
+
}) : n(tt, e, null)]);
|
|
929
956
|
}
|
|
930
|
-
}),
|
|
957
|
+
}), wt = {
|
|
931
958
|
usePageCard: {
|
|
932
959
|
type: Boolean,
|
|
933
960
|
default: () => {
|
|
@@ -945,7 +972,7 @@ const {
|
|
|
945
972
|
default: () => {
|
|
946
973
|
}
|
|
947
974
|
}
|
|
948
|
-
},
|
|
975
|
+
}, Me = {
|
|
949
976
|
pageChildrenExtraRender: {
|
|
950
977
|
type: [Object, Function, Boolean],
|
|
951
978
|
default: () => {
|
|
@@ -963,8 +990,8 @@ const {
|
|
|
963
990
|
},
|
|
964
991
|
pageHeaderStyle: L.style,
|
|
965
992
|
loading: L.bool.def(!1),
|
|
966
|
-
...
|
|
967
|
-
},
|
|
993
|
+
...wt
|
|
994
|
+
}, Un = (e) => ({
|
|
968
995
|
[e.componentCls]: {
|
|
969
996
|
background: e.colorBgContainer,
|
|
970
997
|
padding: `${e.paddingLG}px`,
|
|
@@ -975,51 +1002,51 @@ const {
|
|
|
975
1002
|
marginTop: "8px"
|
|
976
1003
|
}
|
|
977
1004
|
}
|
|
978
|
-
}),
|
|
1005
|
+
}), En = /* @__PURE__ */ A({
|
|
979
1006
|
name: "ProPageHeader",
|
|
980
1007
|
props: {
|
|
981
|
-
content:
|
|
982
|
-
breadcrumb:
|
|
1008
|
+
content: Me.contentRender,
|
|
1009
|
+
breadcrumb: Me.breadcrumbRender
|
|
983
1010
|
},
|
|
984
1011
|
setup(e) {
|
|
985
1012
|
const {
|
|
986
1013
|
breadcrumb: t,
|
|
987
1014
|
getPrefixCls: a
|
|
988
|
-
} =
|
|
1015
|
+
} = J(), i = a({
|
|
989
1016
|
isPor: !0,
|
|
990
1017
|
suffixCls: "page-header"
|
|
991
1018
|
}), {
|
|
992
1019
|
wrapSSR: o,
|
|
993
1020
|
hashId: u
|
|
994
|
-
} =
|
|
995
|
-
var
|
|
1021
|
+
} = ie("ProPageHeader", [Un], i), f = m(() => {
|
|
1022
|
+
var b;
|
|
996
1023
|
return {
|
|
997
1024
|
...t.value,
|
|
998
|
-
itemRender: ((
|
|
999
|
-
route:
|
|
1000
|
-
}) =>
|
|
1001
|
-
to:
|
|
1025
|
+
itemRender: ((b = t.value) == null ? void 0 : b.itemRender) || (({
|
|
1026
|
+
route: g
|
|
1027
|
+
}) => g.path ? n(Yt, {
|
|
1028
|
+
to: g.path
|
|
1002
1029
|
}, {
|
|
1003
|
-
default: () => [
|
|
1004
|
-
}) :
|
|
1030
|
+
default: () => [g.breadcrumbName]
|
|
1031
|
+
}) : g.breadcrumbName)
|
|
1005
1032
|
};
|
|
1006
1033
|
});
|
|
1007
1034
|
return () => {
|
|
1008
|
-
var
|
|
1035
|
+
var b, g;
|
|
1009
1036
|
return o(n("div", {
|
|
1010
1037
|
class: [`${i}`, u.value, `${i}-has-breadcrumb`]
|
|
1011
|
-
}, [e.breadcrumb ? (
|
|
1038
|
+
}, [e.breadcrumb ? (b = e.breadcrumb) == null ? void 0 : b.call(e, f.value) : n(Kt, f.value, null), e.content && n("div", {
|
|
1012
1039
|
class: [`${i}-content`, u.value]
|
|
1013
|
-
}, [(
|
|
1040
|
+
}, [(g = e.content) == null ? void 0 : g.call(e)])]));
|
|
1014
1041
|
};
|
|
1015
1042
|
}
|
|
1016
|
-
}),
|
|
1017
|
-
var t, a, i, o, u,
|
|
1043
|
+
}), Xn = (e) => {
|
|
1044
|
+
var t, a, i, o, u, f, b, g;
|
|
1018
1045
|
return {
|
|
1019
1046
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
1020
1047
|
[e.componentCls]: {
|
|
1021
|
-
marginInline: -(((a = (t = e.layout) == null ? void 0 : t.pageContainer) == null ? void 0 : a.paddingBlockPageContainerContent)
|
|
1022
|
-
marginBlockStart: -(((o = (i = e.layout) == null ? void 0 : i.pageContainer) == null ? void 0 : o.paddingBlockPageContainerContent)
|
|
1048
|
+
marginInline: -(((a = (t = e.layout) == null ? void 0 : t.pageContainer) == null ? void 0 : a.paddingBlockPageContainerContent) || 24),
|
|
1049
|
+
marginBlockStart: -(((o = (i = e.layout) == null ? void 0 : i.pageContainer) == null ? void 0 : o.paddingBlockPageContainerContent) || 24)
|
|
1023
1050
|
},
|
|
1024
1051
|
[e.gridContent]: {
|
|
1025
1052
|
width: "100%"
|
|
@@ -1027,28 +1054,28 @@ const {
|
|
|
1027
1054
|
},
|
|
1028
1055
|
[e.componentCls]: {
|
|
1029
1056
|
"&-children-content": {
|
|
1030
|
-
marginInline: ((
|
|
1031
|
-
marginBlockStart: ((
|
|
1057
|
+
marginInline: ((f = (u = e.layout) == null ? void 0 : u.pageContainer) == null ? void 0 : f.marginInlinePageContainerContent) || 24,
|
|
1058
|
+
marginBlockStart: ((g = (b = e.layout) == null ? void 0 : b.pageContainer) == null ? void 0 : g.marginBlockPageContainerContent) || 24,
|
|
1032
1059
|
padding: "inherit"
|
|
1033
1060
|
}
|
|
1034
1061
|
}
|
|
1035
1062
|
};
|
|
1036
1063
|
};
|
|
1037
|
-
function
|
|
1038
|
-
return
|
|
1039
|
-
const a =
|
|
1064
|
+
function Yn(e) {
|
|
1065
|
+
return ge("ProPageContainter", (t) => {
|
|
1066
|
+
const a = $e(t, {
|
|
1040
1067
|
gridContent: `${t.proComponentsCls}-grid-content`
|
|
1041
1068
|
});
|
|
1042
|
-
return [
|
|
1069
|
+
return [Xn(a)];
|
|
1043
1070
|
}, e);
|
|
1044
1071
|
}
|
|
1045
|
-
function
|
|
1046
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
1072
|
+
function Vn(e) {
|
|
1073
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !oe(e);
|
|
1047
1074
|
}
|
|
1048
|
-
const
|
|
1075
|
+
const Li = /* @__PURE__ */ A({
|
|
1049
1076
|
inheritAttrs: !1,
|
|
1050
1077
|
name: "GProPageContainer",
|
|
1051
|
-
props:
|
|
1078
|
+
props: Me,
|
|
1052
1079
|
setup(e, {
|
|
1053
1080
|
slots: t,
|
|
1054
1081
|
attrs: a
|
|
@@ -1057,30 +1084,30 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1057
1084
|
getPrefixCls: i,
|
|
1058
1085
|
hasContentWide: o,
|
|
1059
1086
|
waterMark: u,
|
|
1060
|
-
pageHeaderRender:
|
|
1061
|
-
pageContentStyle:
|
|
1062
|
-
pageChildrenContentStyle:
|
|
1063
|
-
pageCardProps:
|
|
1064
|
-
usePageCard:
|
|
1065
|
-
waterMarkProps:
|
|
1066
|
-
} =
|
|
1067
|
-
indicator:
|
|
1068
|
-
} =
|
|
1087
|
+
pageHeaderRender: f,
|
|
1088
|
+
pageContentStyle: b,
|
|
1089
|
+
pageChildrenContentStyle: g,
|
|
1090
|
+
pageCardProps: M,
|
|
1091
|
+
usePageCard: C,
|
|
1092
|
+
waterMarkProps: d
|
|
1093
|
+
} = J(), {
|
|
1094
|
+
indicator: F
|
|
1095
|
+
} = Ae(), l = ye(), r = i({
|
|
1069
1096
|
suffixCls: "page-container",
|
|
1070
1097
|
isPor: !0
|
|
1071
|
-
}),
|
|
1098
|
+
}), x = i({
|
|
1072
1099
|
suffixCls: "grid-content",
|
|
1073
1100
|
isPor: !0
|
|
1074
|
-
}),
|
|
1075
|
-
wrapSSR:
|
|
1076
|
-
hashId:
|
|
1077
|
-
} =
|
|
1078
|
-
var
|
|
1079
|
-
const
|
|
1101
|
+
}), w = m(() => e.pageCardProps || M.value), S = m(() => e.waterMarkProps || d.value || {}), O = m(() => e.pageContentStyle || b.value), v = m(() => e.pageChildrenContentStyle || g.value || {}), y = m(() => qe(e.usePageCard) ? e.usePageCard : qe(C.value) ? C.value : !0), {
|
|
1102
|
+
wrapSSR: T,
|
|
1103
|
+
hashId: h
|
|
1104
|
+
} = Yn(r), p = () => {
|
|
1105
|
+
var N, B, U, z, H, ee;
|
|
1106
|
+
const k = W(t, e, "pageChildrenExtraRender");
|
|
1080
1107
|
return n("div", {
|
|
1081
|
-
class: `${r}-children-content ${
|
|
1082
|
-
style:
|
|
1083
|
-
}, [
|
|
1108
|
+
class: `${r}-children-content ${h.value}`,
|
|
1109
|
+
style: v.value
|
|
1110
|
+
}, [k && (k == null ? void 0 : k()), y.value ? n(jt, V(w.value ? re(w.value, ["loading", "bodyStyle"]) : {}, {
|
|
1084
1111
|
style: o.value ? {
|
|
1085
1112
|
minHeight: "853px"
|
|
1086
1113
|
} : void 0,
|
|
@@ -1090,53 +1117,53 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1090
1117
|
var G;
|
|
1091
1118
|
return [(G = t.default) == null ? void 0 : G.call(t)];
|
|
1092
1119
|
}
|
|
1093
|
-
}) :
|
|
1120
|
+
}) : k ? n("div", {
|
|
1094
1121
|
style: {
|
|
1095
|
-
marginBlockStart: `${(
|
|
1122
|
+
marginBlockStart: `${(z = (U = (B = (N = l == null ? void 0 : l.token) == null ? void 0 : N.value) == null ? void 0 : B.layout) == null ? void 0 : U.pageContainer) == null ? void 0 : z.marginBlockPageContainerContent}px`
|
|
1096
1123
|
}
|
|
1097
|
-
}, [(
|
|
1098
|
-
},
|
|
1099
|
-
let
|
|
1100
|
-
return n(
|
|
1101
|
-
default: () => [
|
|
1102
|
-
}) :
|
|
1124
|
+
}, [(H = t.default) == null ? void 0 : H.call(t)]) : (ee = t.default) == null ? void 0 : ee.call(t)]);
|
|
1125
|
+
}, P = () => {
|
|
1126
|
+
let k;
|
|
1127
|
+
return n(Z, null, [e.waterMark && u.value ? n(dn, S.value, Vn(k = p()) ? k : {
|
|
1128
|
+
default: () => [k]
|
|
1129
|
+
}) : p()]);
|
|
1103
1130
|
};
|
|
1104
1131
|
return () => {
|
|
1105
|
-
const
|
|
1106
|
-
return
|
|
1132
|
+
const k = W(t, e, "pageHeaderRender") || f.value, N = W(t, e, "breadcrumbRender"), B = W(t, e, "contentRender");
|
|
1133
|
+
return T(n(Se, {
|
|
1107
1134
|
spinning: e.loading,
|
|
1108
|
-
indicator:
|
|
1135
|
+
indicator: F == null ? void 0 : F.value
|
|
1109
1136
|
}, {
|
|
1110
1137
|
default: () => [n("div", {
|
|
1111
1138
|
style: a.style,
|
|
1112
1139
|
class: {
|
|
1113
|
-
[`${
|
|
1140
|
+
[`${h.value}`]: !0,
|
|
1114
1141
|
[`${r}`]: !0
|
|
1115
1142
|
}
|
|
1116
|
-
}, [!o.value &&
|
|
1143
|
+
}, [!o.value && k !== !1 && (k || n(En, {
|
|
1117
1144
|
style: e.pageHeaderStyle,
|
|
1118
|
-
breadcrumb:
|
|
1119
|
-
content:
|
|
1145
|
+
breadcrumb: N,
|
|
1146
|
+
content: B
|
|
1120
1147
|
}, null)), n("div", {
|
|
1121
|
-
class: [
|
|
1148
|
+
class: [x, h.value]
|
|
1122
1149
|
}, [n("div", {
|
|
1123
|
-
class: `${
|
|
1124
|
-
style:
|
|
1125
|
-
}, [
|
|
1150
|
+
class: `${x}-children ${h.value}`,
|
|
1151
|
+
style: O.value
|
|
1152
|
+
}, [P()])])])]
|
|
1126
1153
|
}));
|
|
1127
1154
|
};
|
|
1128
1155
|
}
|
|
1129
|
-
}),
|
|
1130
|
-
...
|
|
1131
|
-
...
|
|
1132
|
-
logo:
|
|
1133
|
-
logoStyle:
|
|
1134
|
-
logoDirection:
|
|
1156
|
+
}), Ve = {
|
|
1157
|
+
...ue,
|
|
1158
|
+
...ke,
|
|
1159
|
+
logo: se.logo,
|
|
1160
|
+
logoStyle: se.logoStyle,
|
|
1161
|
+
logoDirection: se.logoDirection,
|
|
1135
1162
|
menuLoading: Boolean,
|
|
1136
1163
|
autoHideHeader: Boolean,
|
|
1137
1164
|
collapsed: Boolean,
|
|
1138
1165
|
isMobile: Boolean,
|
|
1139
|
-
siderWidth:
|
|
1166
|
+
siderWidth: _.siderWidth,
|
|
1140
1167
|
headerTheme: {
|
|
1141
1168
|
type: String,
|
|
1142
1169
|
default: "dark"
|
|
@@ -1160,14 +1187,14 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1160
1187
|
default: () => {
|
|
1161
1188
|
}
|
|
1162
1189
|
},
|
|
1163
|
-
collapsedButtonRender:
|
|
1164
|
-
matchMenuKeys:
|
|
1165
|
-
onCollapse:
|
|
1166
|
-
onOpenKeys:
|
|
1190
|
+
collapsedButtonRender: _.collapsedButtonRender,
|
|
1191
|
+
matchMenuKeys: _.matchMenuKeys,
|
|
1192
|
+
onCollapse: _.onCollapse,
|
|
1193
|
+
onOpenKeys: _.onOpenKeys,
|
|
1167
1194
|
onMenuHeaderClick: Function,
|
|
1168
|
-
onSelect:
|
|
1169
|
-
},
|
|
1170
|
-
...
|
|
1195
|
+
onSelect: _.onSelect
|
|
1196
|
+
}, St = {
|
|
1197
|
+
...Ve,
|
|
1171
1198
|
headerTitleRender: {
|
|
1172
1199
|
type: [Object, Function],
|
|
1173
1200
|
default: () => {
|
|
@@ -1184,15 +1211,15 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1184
1211
|
}
|
|
1185
1212
|
},
|
|
1186
1213
|
hasSiderMenu: Boolean,
|
|
1187
|
-
collapsedWidth:
|
|
1188
|
-
siderWidth:
|
|
1189
|
-
},
|
|
1214
|
+
collapsedWidth: _.collapsedWidth,
|
|
1215
|
+
siderWidth: _.siderWidth
|
|
1216
|
+
}, It = {
|
|
1190
1217
|
loading: L.looseBool,
|
|
1191
|
-
isMobile:
|
|
1192
|
-
collapsed:
|
|
1193
|
-
siderWidth:
|
|
1194
|
-
collapsedWidth:
|
|
1195
|
-
isFixedMultiTab:
|
|
1218
|
+
isMobile: _.isMobile,
|
|
1219
|
+
collapsed: ke.collapsed,
|
|
1220
|
+
siderWidth: _.siderWidth,
|
|
1221
|
+
collapsedWidth: _.collapsedWidth,
|
|
1222
|
+
isFixedMultiTab: ue.fixedMultiTab,
|
|
1196
1223
|
onReloadPage: {
|
|
1197
1224
|
type: Function
|
|
1198
1225
|
},
|
|
@@ -1202,7 +1229,7 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1202
1229
|
"onUpdate:tabs": {
|
|
1203
1230
|
type: Function
|
|
1204
1231
|
}
|
|
1205
|
-
},
|
|
1232
|
+
}, _n = (e) => ({
|
|
1206
1233
|
[e.componentCls]: {
|
|
1207
1234
|
marginBlock: 0,
|
|
1208
1235
|
marginBlockStart: 48,
|
|
@@ -1233,14 +1260,14 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1233
1260
|
}
|
|
1234
1261
|
}
|
|
1235
1262
|
}
|
|
1236
|
-
}),
|
|
1263
|
+
}), Mt = [{
|
|
1237
1264
|
key: "Ant Design Pro",
|
|
1238
1265
|
title: "Ant Design Pro",
|
|
1239
1266
|
href: "https://pro.ant.design",
|
|
1240
1267
|
blankTarget: !0
|
|
1241
1268
|
}, {
|
|
1242
1269
|
key: "gitee",
|
|
1243
|
-
title: n(
|
|
1270
|
+
title: n(qt, null, null),
|
|
1244
1271
|
href: "https://gitee.com/gx12358/vue-antd-admin",
|
|
1245
1272
|
blankTarget: !0
|
|
1246
1273
|
}, {
|
|
@@ -1248,12 +1275,12 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1248
1275
|
title: "Ant Design Vue",
|
|
1249
1276
|
href: "https://next.antdv.com/components/overview-cn/",
|
|
1250
1277
|
blankTarget: !0
|
|
1251
|
-
}],
|
|
1278
|
+
}], De = /* @__PURE__ */ A({
|
|
1252
1279
|
name: "GlobalFooter",
|
|
1253
1280
|
props: {
|
|
1254
1281
|
links: {
|
|
1255
1282
|
type: [Array, Boolean],
|
|
1256
|
-
default:
|
|
1283
|
+
default: Mt
|
|
1257
1284
|
},
|
|
1258
1285
|
copyright: {
|
|
1259
1286
|
type: [Object, Function, Boolean, String],
|
|
@@ -1261,14 +1288,14 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1261
1288
|
}
|
|
1262
1289
|
},
|
|
1263
1290
|
setup(e) {
|
|
1264
|
-
const t =
|
|
1291
|
+
const t = he({
|
|
1265
1292
|
suffixCls: "global-footer",
|
|
1266
1293
|
isPor: !0
|
|
1267
1294
|
}), {
|
|
1268
1295
|
wrapSSR: a,
|
|
1269
1296
|
hashId: i
|
|
1270
|
-
} =
|
|
1271
|
-
return () => a(n(
|
|
1297
|
+
} = ie("ProLayoutFooter", [_n], t);
|
|
1298
|
+
return () => a(n(At, {
|
|
1272
1299
|
style: {
|
|
1273
1300
|
padding: 0
|
|
1274
1301
|
}
|
|
@@ -1284,18 +1311,18 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1284
1311
|
href: o.href
|
|
1285
1312
|
}, [o.title]))]), e.copyright && n("div", {
|
|
1286
1313
|
class: `${t}-copyright ${i.value}`
|
|
1287
|
-
}, [
|
|
1314
|
+
}, [Q("Copyright "), fn().format("YYYY"), Q(" "), n("a", {
|
|
1288
1315
|
href: "https://beian.miit.gov.cn/"
|
|
1289
1316
|
}, [e.copyright])])])]
|
|
1290
1317
|
}));
|
|
1291
1318
|
}
|
|
1292
|
-
}),
|
|
1293
|
-
...
|
|
1294
|
-
...
|
|
1295
|
-
...
|
|
1296
|
-
...
|
|
1297
|
-
...
|
|
1298
|
-
...
|
|
1319
|
+
}), Ot = {
|
|
1320
|
+
...ue,
|
|
1321
|
+
...Ve,
|
|
1322
|
+
..._,
|
|
1323
|
+
...St,
|
|
1324
|
+
...It,
|
|
1325
|
+
...Me,
|
|
1299
1326
|
pure: Boolean,
|
|
1300
1327
|
token: Object,
|
|
1301
1328
|
waterMark: {
|
|
@@ -1319,7 +1346,7 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1319
1346
|
loading: L.looseBool,
|
|
1320
1347
|
footerLinks: {
|
|
1321
1348
|
type: [Array, Boolean],
|
|
1322
|
-
default:
|
|
1349
|
+
default: Mt
|
|
1323
1350
|
},
|
|
1324
1351
|
copyrightRender: {
|
|
1325
1352
|
type: [Object, Function, Boolean, String],
|
|
@@ -1340,14 +1367,14 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1340
1367
|
default: () => []
|
|
1341
1368
|
},
|
|
1342
1369
|
collapsed: L.looseBool
|
|
1343
|
-
},
|
|
1370
|
+
}, Gn = (e) => ({
|
|
1344
1371
|
[e.componentCls]: {
|
|
1345
1372
|
display: "flex",
|
|
1346
1373
|
flexDirection: "column",
|
|
1347
1374
|
width: "100%",
|
|
1348
1375
|
minHeight: "100vh"
|
|
1349
1376
|
}
|
|
1350
|
-
}),
|
|
1377
|
+
}), qn = (e) => {
|
|
1351
1378
|
var t, a;
|
|
1352
1379
|
return {
|
|
1353
1380
|
[e.componentCls]: {
|
|
@@ -1378,7 +1405,7 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1378
1405
|
}
|
|
1379
1406
|
}
|
|
1380
1407
|
};
|
|
1381
|
-
},
|
|
1408
|
+
}, Zn = (e) => {
|
|
1382
1409
|
var t, a;
|
|
1383
1410
|
return {
|
|
1384
1411
|
[`${e.componentCls}-title`]: {
|
|
@@ -1422,7 +1449,7 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1422
1449
|
"&-fixed": {
|
|
1423
1450
|
position: "fixed",
|
|
1424
1451
|
height: 62,
|
|
1425
|
-
top: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.heightLayoutHeader) ||
|
|
1452
|
+
top: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.heightLayoutHeader) || K.headerHeight,
|
|
1426
1453
|
right: 0,
|
|
1427
1454
|
zIndex: 9,
|
|
1428
1455
|
transition: "width .2s"
|
|
@@ -1430,15 +1457,15 @@ const Oi = /* @__PURE__ */ j({
|
|
|
1430
1457
|
}
|
|
1431
1458
|
};
|
|
1432
1459
|
};
|
|
1433
|
-
function
|
|
1434
|
-
return
|
|
1435
|
-
const a =
|
|
1460
|
+
function Jn(e) {
|
|
1461
|
+
return ge("ProMultiTabs", (t) => {
|
|
1462
|
+
const a = $e(t, {
|
|
1436
1463
|
componentWrapCls: `${t.componentCls}-wrap`
|
|
1437
1464
|
});
|
|
1438
|
-
return [
|
|
1465
|
+
return [Zn(a)];
|
|
1439
1466
|
}, e);
|
|
1440
1467
|
}
|
|
1441
|
-
const
|
|
1468
|
+
const Qn = [
|
|
1442
1469
|
{
|
|
1443
1470
|
key: "closeOthersTabs",
|
|
1444
1471
|
label: "关闭其他"
|
|
@@ -1456,16 +1483,16 @@ const Xn = [
|
|
|
1456
1483
|
label: "刷新当前页"
|
|
1457
1484
|
}
|
|
1458
1485
|
];
|
|
1459
|
-
function
|
|
1460
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
1486
|
+
function ea(e) {
|
|
1487
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !oe(e);
|
|
1461
1488
|
}
|
|
1462
|
-
function
|
|
1489
|
+
function Y(e) {
|
|
1463
1490
|
var t;
|
|
1464
1491
|
return ((t = e == null ? void 0 : e.meta) == null ? void 0 : t.currenFulltPath) || e.fullPath || e.path;
|
|
1465
1492
|
}
|
|
1466
|
-
const
|
|
1493
|
+
const ta = je.TabPane, na = ne.Item, aa = /* @__PURE__ */ A({
|
|
1467
1494
|
props: {
|
|
1468
|
-
...
|
|
1495
|
+
...It,
|
|
1469
1496
|
visible: {
|
|
1470
1497
|
type: Boolean,
|
|
1471
1498
|
default: !0
|
|
@@ -1476,325 +1503,273 @@ const _n = Pe.TabPane, Gn = ae.Item, qn = /* @__PURE__ */ j({
|
|
|
1476
1503
|
const {
|
|
1477
1504
|
isMobile: t,
|
|
1478
1505
|
isFixedMultiTab: a
|
|
1479
|
-
} =
|
|
1506
|
+
} = Oe(e), i = we(!1), o = He({
|
|
1480
1507
|
activeKey: "",
|
|
1481
1508
|
contextMenuActiveKey: ""
|
|
1482
|
-
}), u =
|
|
1483
|
-
menuData:
|
|
1484
|
-
flatMenuData:
|
|
1485
|
-
layout:
|
|
1486
|
-
splitMenus:
|
|
1487
|
-
getPrefixCls:
|
|
1488
|
-
} =
|
|
1509
|
+
}), u = We(), {
|
|
1510
|
+
menuData: f,
|
|
1511
|
+
flatMenuData: b,
|
|
1512
|
+
layout: g,
|
|
1513
|
+
splitMenus: M,
|
|
1514
|
+
getPrefixCls: C
|
|
1515
|
+
} = J(), d = C({
|
|
1489
1516
|
isPor: !0,
|
|
1490
1517
|
suffixCls: "multi-tab"
|
|
1491
1518
|
}), {
|
|
1492
|
-
wrapSSR:
|
|
1519
|
+
wrapSSR: F,
|
|
1493
1520
|
hashId: l
|
|
1494
|
-
} =
|
|
1495
|
-
|
|
1496
|
-
var
|
|
1497
|
-
(
|
|
1521
|
+
} = Jn(d), r = we([]);
|
|
1522
|
+
ce(r, () => {
|
|
1523
|
+
var c;
|
|
1524
|
+
(c = e.onChangeTabs) == null || c.call(e, Be(j(r)));
|
|
1498
1525
|
}, {
|
|
1499
1526
|
deep: !0
|
|
1500
1527
|
});
|
|
1501
|
-
const
|
|
1502
|
-
const
|
|
1503
|
-
return
|
|
1504
|
-
}),
|
|
1528
|
+
const x = m(() => g.value === "mix" && !e.isMobile && M.value), w = m(() => Y(u.currentRoute.value)), S = m(() => a.value && !t.value), O = m(() => {
|
|
1529
|
+
const c = !(x.value && j(b.value).length === 0 || f.value.length === 0 || g.value === "top");
|
|
1530
|
+
return S.value && c ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
|
|
1531
|
+
}), v = m(() => ht(`${d}-wrap`, {
|
|
1505
1532
|
[`${l.value}`]: !0,
|
|
1506
|
-
[`${
|
|
1507
|
-
[`${
|
|
1508
|
-
})),
|
|
1509
|
-
const
|
|
1533
|
+
[`${d}-wrap-fixed`]: e.isFixedMultiTab,
|
|
1534
|
+
[`${d}-wrap-loading`]: e.loading
|
|
1535
|
+
})), y = m(() => {
|
|
1536
|
+
const c = {
|
|
1510
1537
|
display: e.visible ? void 0 : "none"
|
|
1511
1538
|
};
|
|
1512
1539
|
return e.isFixedMultiTab ? {
|
|
1513
1540
|
margin: 0,
|
|
1514
|
-
width:
|
|
1541
|
+
width: O.value,
|
|
1515
1542
|
paddingTop: "6px",
|
|
1516
1543
|
zIndex: 99,
|
|
1517
|
-
...
|
|
1518
|
-
} :
|
|
1519
|
-
}),
|
|
1520
|
-
if (
|
|
1521
|
-
const
|
|
1522
|
-
path:
|
|
1523
|
-
fullPath:
|
|
1524
|
-
query:
|
|
1525
|
-
params:
|
|
1526
|
-
name:
|
|
1544
|
+
...c
|
|
1545
|
+
} : c;
|
|
1546
|
+
}), T = (c) => Y(c) === w.value, h = (c) => {
|
|
1547
|
+
if (c.name && c.meta && c.meta.tagHidden !== !0) {
|
|
1548
|
+
const R = Y(c), I = r.value.find((D) => Y(D) === R), $ = {
|
|
1549
|
+
path: c.path,
|
|
1550
|
+
fullPath: R,
|
|
1551
|
+
query: c.query,
|
|
1552
|
+
params: c.params,
|
|
1553
|
+
name: c.name,
|
|
1527
1554
|
meta: {
|
|
1528
|
-
...
|
|
1529
|
-
originTagPath:
|
|
1555
|
+
...c.meta,
|
|
1556
|
+
originTagPath: c.fullPath
|
|
1530
1557
|
}
|
|
1531
1558
|
};
|
|
1532
|
-
|
|
1559
|
+
I ? Object.assign(I, $) : c.meta.tagFixed ? r.value.unshift($) : r.value.push($), T(c) && (o.activeKey = R);
|
|
1533
1560
|
}
|
|
1534
|
-
},
|
|
1535
|
-
|
|
1536
|
-
|
|
1561
|
+
}, p = (c) => {
|
|
1562
|
+
c.forEach((R) => {
|
|
1563
|
+
R.meta && R.meta.tagFixed && h(R), R.children && p(R.children);
|
|
1537
1564
|
});
|
|
1538
1565
|
};
|
|
1539
|
-
|
|
1540
|
-
|
|
1566
|
+
ce(() => f.value, (c) => {
|
|
1567
|
+
p(c);
|
|
1541
1568
|
}, {
|
|
1542
1569
|
deep: !0,
|
|
1543
1570
|
immediate: !0
|
|
1544
|
-
}),
|
|
1545
|
-
c
|
|
1571
|
+
}), ce(() => u.currentRoute.value, (c) => {
|
|
1572
|
+
h(c);
|
|
1546
1573
|
}, {
|
|
1547
1574
|
deep: !0,
|
|
1548
1575
|
immediate: !0
|
|
1549
1576
|
});
|
|
1550
|
-
const
|
|
1551
|
-
var
|
|
1552
|
-
return ((
|
|
1553
|
-
},
|
|
1554
|
-
const
|
|
1555
|
-
|
|
1556
|
-
path:
|
|
1577
|
+
const P = (c) => {
|
|
1578
|
+
var R, I;
|
|
1579
|
+
return ((I = (R = r.value.find(($) => (c || o.activeKey) === Y($))) == null ? void 0 : R.meta) == null ? void 0 : I.originTagPath) || c || o.activeKey;
|
|
1580
|
+
}, k = () => {
|
|
1581
|
+
const c = r.value.slice(-1)[0];
|
|
1582
|
+
c ? u.push({
|
|
1583
|
+
path: P(Y(c))
|
|
1557
1584
|
}) : u.push("/");
|
|
1558
|
-
},
|
|
1559
|
-
const
|
|
1560
|
-
r.value = r.value.filter((
|
|
1561
|
-
},
|
|
1562
|
-
const
|
|
1563
|
-
|
|
1564
|
-
path:
|
|
1585
|
+
}, N = async (c) => {
|
|
1586
|
+
const R = r.value.find((I) => c === Y(I));
|
|
1587
|
+
r.value = r.value.filter((I) => Y(I) !== c), R && T(R) && k();
|
|
1588
|
+
}, B = (c) => {
|
|
1589
|
+
const R = r.value.find((I) => Y(I) === c);
|
|
1590
|
+
R && o.activeKey !== Y(R) && u.push({
|
|
1591
|
+
path: P(Y(R))
|
|
1565
1592
|
});
|
|
1566
|
-
},
|
|
1567
|
-
var
|
|
1568
|
-
i.value = !0, e.onReloadPage && ((
|
|
1593
|
+
}, U = () => {
|
|
1594
|
+
var c;
|
|
1595
|
+
i.value = !0, e.onReloadPage && ((c = e.onReloadPage) == null || c.call(e)), setTimeout(() => {
|
|
1569
1596
|
i.value = !1;
|
|
1570
1597
|
}, 500);
|
|
1571
|
-
},
|
|
1572
|
-
const
|
|
1573
|
-
switch (
|
|
1598
|
+
}, z = (c) => c.meta && c.meta.tagFixed, H = (c) => o[c], ee = (c, R) => {
|
|
1599
|
+
const I = r.value.findIndex(($) => Y($) === H(R));
|
|
1600
|
+
switch (c) {
|
|
1574
1601
|
case "closeOthersTabs":
|
|
1575
1602
|
r.value = r.value.filter(($) => {
|
|
1576
|
-
var
|
|
1577
|
-
return
|
|
1603
|
+
var D;
|
|
1604
|
+
return Y($) === H(R) || ((D = $.meta) == null ? void 0 : D.tagFixed);
|
|
1578
1605
|
});
|
|
1579
1606
|
break;
|
|
1580
1607
|
case "closeLeftTabs":
|
|
1581
|
-
|
|
1582
|
-
var
|
|
1583
|
-
return
|
|
1608
|
+
I && (r.value = r.value.filter(($, D) => {
|
|
1609
|
+
var E;
|
|
1610
|
+
return D >= I || ((E = $.meta) == null ? void 0 : E.tagFixed);
|
|
1584
1611
|
}));
|
|
1585
1612
|
break;
|
|
1586
1613
|
case "closeRightTabs":
|
|
1587
|
-
|
|
1588
|
-
var
|
|
1589
|
-
return
|
|
1614
|
+
I && (r.value = r.value.filter(($, D) => {
|
|
1615
|
+
var E;
|
|
1616
|
+
return D <= I || ((E = $.meta) == null ? void 0 : E.tagFixed);
|
|
1590
1617
|
}));
|
|
1591
1618
|
break;
|
|
1592
1619
|
case "reloadPage":
|
|
1593
|
-
(
|
|
1620
|
+
(I === 0 || I) && o.activeKey === H(R) && U();
|
|
1594
1621
|
break;
|
|
1595
1622
|
}
|
|
1596
|
-
o.activeKey !==
|
|
1597
|
-
}, G = (
|
|
1598
|
-
const
|
|
1599
|
-
if (
|
|
1600
|
-
return r.value.filter((
|
|
1601
|
-
var
|
|
1602
|
-
return
|
|
1623
|
+
o.activeKey !== H(R) && u.push(P(H(R)));
|
|
1624
|
+
}, G = (c, R) => {
|
|
1625
|
+
const I = r.value.findIndex(($) => Y($) === R);
|
|
1626
|
+
if (c === "closeOthersTabs")
|
|
1627
|
+
return r.value.filter((D, E) => {
|
|
1628
|
+
var X;
|
|
1629
|
+
return E !== I && !((X = D.meta) != null && X.tagFixed);
|
|
1603
1630
|
}).length === 0;
|
|
1604
|
-
if (
|
|
1605
|
-
return r.value.filter((
|
|
1606
|
-
var
|
|
1607
|
-
return
|
|
1631
|
+
if (c === "closeLeftTabs")
|
|
1632
|
+
return r.value.filter((D, E) => {
|
|
1633
|
+
var X;
|
|
1634
|
+
return E < I && !((X = D.meta) != null && X.tagFixed);
|
|
1608
1635
|
}).length === 0;
|
|
1609
|
-
if (
|
|
1610
|
-
return r.value.filter((
|
|
1611
|
-
var
|
|
1612
|
-
return
|
|
1636
|
+
if (c === "closeRightTabs")
|
|
1637
|
+
return r.value.filter((D, E) => {
|
|
1638
|
+
var X;
|
|
1639
|
+
return E > I && !((X = D.meta) != null && X.tagFixed);
|
|
1613
1640
|
}).length === 0;
|
|
1614
|
-
},
|
|
1615
|
-
let
|
|
1641
|
+
}, de = (c) => {
|
|
1642
|
+
let R;
|
|
1616
1643
|
const {
|
|
1617
|
-
path:
|
|
1644
|
+
path: I,
|
|
1618
1645
|
stateType: $
|
|
1619
|
-
} =
|
|
1620
|
-
return n(
|
|
1646
|
+
} = c;
|
|
1647
|
+
return n(ne, {
|
|
1621
1648
|
selectedKeys: [],
|
|
1622
|
-
onClick: (
|
|
1623
|
-
},
|
|
1624
|
-
key:
|
|
1625
|
-
disabled: G(
|
|
1649
|
+
onClick: (D) => ee(D.key, $)
|
|
1650
|
+
}, ea(R = Qn.map((D) => n(na, {
|
|
1651
|
+
key: D.key,
|
|
1652
|
+
disabled: G(D.key, I)
|
|
1626
1653
|
}, {
|
|
1627
|
-
default: () => [
|
|
1628
|
-
}))) ?
|
|
1629
|
-
default: () => [
|
|
1654
|
+
default: () => [D.label]
|
|
1655
|
+
}))) ? R : {
|
|
1656
|
+
default: () => [R]
|
|
1630
1657
|
});
|
|
1631
|
-
},
|
|
1658
|
+
}, le = (c) => {
|
|
1632
1659
|
const {
|
|
1633
|
-
router:
|
|
1634
|
-
} =
|
|
1635
|
-
return n(
|
|
1660
|
+
router: R
|
|
1661
|
+
} = c;
|
|
1662
|
+
return n(Ge, {
|
|
1636
1663
|
trigger: "contextmenu",
|
|
1637
|
-
overlay: n(
|
|
1638
|
-
path:
|
|
1664
|
+
overlay: n(de, {
|
|
1665
|
+
path: Y(R) || "",
|
|
1639
1666
|
stateType: "contextMenuActiveKey"
|
|
1640
1667
|
}, null),
|
|
1641
|
-
onOpenChange: (
|
|
1642
|
-
o.contextMenuActiveKey =
|
|
1668
|
+
onOpenChange: (I) => {
|
|
1669
|
+
o.contextMenuActiveKey = I && Y(R) || "";
|
|
1643
1670
|
}
|
|
1644
1671
|
}, {
|
|
1645
1672
|
default: () => {
|
|
1646
|
-
var
|
|
1673
|
+
var I;
|
|
1647
1674
|
return [n("div", {
|
|
1648
|
-
class: [`${
|
|
1649
|
-
}, [(
|
|
1650
|
-
class: [`${
|
|
1675
|
+
class: [`${d}-title`, l.value]
|
|
1676
|
+
}, [(I = R.meta) == null ? void 0 : I.title, o.activeKey === Y(R) && n(Jt, {
|
|
1677
|
+
class: [`${d}-reload-btn`, l.value],
|
|
1651
1678
|
spin: i.value,
|
|
1652
1679
|
onClick: ($) => {
|
|
1653
|
-
$.stopPropagation(), !i.value &&
|
|
1680
|
+
$.stopPropagation(), !i.value && U();
|
|
1654
1681
|
}
|
|
1655
|
-
}, null), r.value.length > 1 && !
|
|
1656
|
-
class: [`${
|
|
1682
|
+
}, null), r.value.length > 1 && !z(R) && n(ct, {
|
|
1683
|
+
class: [`${d}-close-btn`, l.value],
|
|
1657
1684
|
onClick: ($) => {
|
|
1658
|
-
$.stopPropagation(), !i.value &&
|
|
1685
|
+
$.stopPropagation(), !i.value && N(Y(R) || "");
|
|
1659
1686
|
}
|
|
1660
1687
|
}, null)])];
|
|
1661
1688
|
}
|
|
1662
1689
|
});
|
|
1663
1690
|
};
|
|
1664
|
-
return () =>
|
|
1665
|
-
class: [`${
|
|
1666
|
-
}, null), [[
|
|
1691
|
+
return () => F(n(Z, null, [!!e.isFixedMultiTab && Dt(n("div", {
|
|
1692
|
+
class: [`${d}-fixed`, l.value]
|
|
1693
|
+
}, null), [[Nt, e.visible]]), n(je, {
|
|
1667
1694
|
hideAdd: !0,
|
|
1668
1695
|
type: "editable-card",
|
|
1669
|
-
style:
|
|
1670
|
-
class:
|
|
1696
|
+
style: y.value,
|
|
1697
|
+
class: v.value,
|
|
1671
1698
|
activeKey: o.activeKey,
|
|
1672
|
-
onTabClick:
|
|
1699
|
+
onTabClick: B
|
|
1673
1700
|
}, {
|
|
1674
|
-
default: () => [r.value.map((
|
|
1675
|
-
key:
|
|
1701
|
+
default: () => [r.value.map((c) => n(ta, {
|
|
1702
|
+
key: Y(c),
|
|
1676
1703
|
closable: !1,
|
|
1677
|
-
tab: n(
|
|
1678
|
-
router:
|
|
1704
|
+
tab: n(le, {
|
|
1705
|
+
router: c
|
|
1679
1706
|
}, null)
|
|
1680
1707
|
}, null))],
|
|
1681
|
-
rightExtra: () => n(
|
|
1682
|
-
overlay: n(
|
|
1708
|
+
rightExtra: () => n(Ge, {
|
|
1709
|
+
overlay: n(de, {
|
|
1683
1710
|
path: o.activeKey,
|
|
1684
1711
|
stateType: "activeKey"
|
|
1685
1712
|
}, null)
|
|
1686
1713
|
}, {
|
|
1687
|
-
default: () => [n(
|
|
1688
|
-
class: [`${
|
|
1714
|
+
default: () => [n(Zt, {
|
|
1715
|
+
class: [`${d}-dropdown-menu-btn`, l.value],
|
|
1689
1716
|
rotate: 90
|
|
1690
1717
|
}, null)]
|
|
1691
1718
|
})
|
|
1692
1719
|
})]));
|
|
1693
1720
|
}
|
|
1694
1721
|
}), {
|
|
1695
|
-
Content:
|
|
1696
|
-
} =
|
|
1722
|
+
Content: oa
|
|
1723
|
+
} = fe, _e = (e, {
|
|
1697
1724
|
slots: t,
|
|
1698
1725
|
attrs: a
|
|
1699
1726
|
}) => {
|
|
1700
|
-
var
|
|
1727
|
+
var x;
|
|
1701
1728
|
const {
|
|
1702
1729
|
hashId: i,
|
|
1703
1730
|
prefixCls: o,
|
|
1704
1731
|
isMobile: u,
|
|
1705
|
-
loading:
|
|
1706
|
-
collapsed:
|
|
1707
|
-
siderWidth:
|
|
1708
|
-
isShowTabsBar:
|
|
1709
|
-
isFixedMultiTab:
|
|
1710
|
-
onReloadPage:
|
|
1711
|
-
onChangeTabs:
|
|
1732
|
+
loading: f,
|
|
1733
|
+
collapsed: b,
|
|
1734
|
+
siderWidth: g,
|
|
1735
|
+
isShowTabsBar: M,
|
|
1736
|
+
isFixedMultiTab: C,
|
|
1737
|
+
onReloadPage: d,
|
|
1738
|
+
onChangeTabs: F
|
|
1712
1739
|
} = e;
|
|
1713
1740
|
if (e.isChildrenLayout)
|
|
1714
|
-
return (
|
|
1741
|
+
return (x = t.default) == null ? void 0 : x.call(t);
|
|
1715
1742
|
const {
|
|
1716
1743
|
flatMenuData: l,
|
|
1717
1744
|
layout: r
|
|
1718
|
-
} =
|
|
1719
|
-
return n(
|
|
1720
|
-
visible: (
|
|
1745
|
+
} = J();
|
|
1746
|
+
return n(Z, null, [n(aa, {
|
|
1747
|
+
visible: (j(r) === "mix" ? j(l).length > 0 : !0) && M,
|
|
1721
1748
|
isMobile: u,
|
|
1722
|
-
loading:
|
|
1723
|
-
isFixedMultiTab:
|
|
1724
|
-
siderWidth:
|
|
1725
|
-
collapsed:
|
|
1726
|
-
onReloadPage:
|
|
1727
|
-
onChangeTabs:
|
|
1728
|
-
}, null), n(
|
|
1749
|
+
loading: f,
|
|
1750
|
+
isFixedMultiTab: C,
|
|
1751
|
+
siderWidth: g,
|
|
1752
|
+
collapsed: b,
|
|
1753
|
+
onReloadPage: d,
|
|
1754
|
+
onChangeTabs: F
|
|
1755
|
+
}, null), n(oa, {
|
|
1729
1756
|
style: a.style,
|
|
1730
1757
|
class: [`${o}-content`]
|
|
1731
1758
|
}, {
|
|
1732
1759
|
default: () => {
|
|
1733
|
-
var
|
|
1734
|
-
return [
|
|
1760
|
+
var w;
|
|
1761
|
+
return [f && n(bn, null, null), n("div", {
|
|
1735
1762
|
class: [`${o}-content-spin-container`, i],
|
|
1736
1763
|
style: {
|
|
1737
|
-
opacity:
|
|
1764
|
+
opacity: f ? "0" : void 0
|
|
1738
1765
|
}
|
|
1739
|
-
}, [(
|
|
1766
|
+
}, [(w = t.default) == null ? void 0 : w.call(t)])];
|
|
1740
1767
|
}
|
|
1741
1768
|
})]);
|
|
1742
1769
|
};
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
const
|
|
1746
|
-
var t, a, i, o;
|
|
1747
|
-
return {
|
|
1748
|
-
[`${e.proComponentsCls}-basic-layout`]: {
|
|
1749
|
-
[`${e.antCls}-layout-header${e.componentCls}${e.componentCls}-light`]: {
|
|
1750
|
-
backgroundColor: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.colorBgMenu) || e.colorBgElevated
|
|
1751
|
-
},
|
|
1752
|
-
[`${e.antCls}-layout-header${e.componentCls}${e.componentCls}-dark`]: {
|
|
1753
|
-
backgroundColor: (o = (i = e.layout) == null ? void 0 : i.header) == null ? void 0 : o.colorDarkBgMenu,
|
|
1754
|
-
[`${e.proComponentsCls}-global-header-collapsed-button`]: {
|
|
1755
|
-
color: "#fff"
|
|
1756
|
-
}
|
|
1757
|
-
},
|
|
1758
|
-
[`${e.antCls}-layout-header${e.componentCls}`]: {
|
|
1759
|
-
zIndex: 19,
|
|
1760
|
-
paddingBlock: 0,
|
|
1761
|
-
paddingInline: 0,
|
|
1762
|
-
WebkitBackdropFilter: "blur(8px)",
|
|
1763
|
-
backdropFilter: "blur(8px)",
|
|
1764
|
-
transition: "background-color 0.2s cubic-bezier(.645,.045,.355,1)",
|
|
1765
|
-
[`&${e.proComponentsCls}`]: {
|
|
1766
|
-
"&-fixed-header": {
|
|
1767
|
-
position: "fixed",
|
|
1768
|
-
width: "100%",
|
|
1769
|
-
zIndex: 9,
|
|
1770
|
-
top: 0,
|
|
1771
|
-
transition: "width .2s",
|
|
1772
|
-
"&-action": {
|
|
1773
|
-
transition: "width .3s cubic-bezier(.645,.045,.355,1)"
|
|
1774
|
-
}
|
|
1775
|
-
},
|
|
1776
|
-
"&-header-actions": {
|
|
1777
|
-
display: "flex",
|
|
1778
|
-
alignItems: "center",
|
|
1779
|
-
fontSize: "16",
|
|
1780
|
-
cursor: "pointer",
|
|
1781
|
-
"& &-item": {
|
|
1782
|
-
paddingBlock: 0,
|
|
1783
|
-
paddingInline: 8,
|
|
1784
|
-
"&:hover": {
|
|
1785
|
-
color: e.colorText
|
|
1786
|
-
}
|
|
1787
|
-
}
|
|
1788
|
-
},
|
|
1789
|
-
"&-header-realDark": { boxShadow: "0 2px 8px 0 rgba(0, 0, 0, 65%)" },
|
|
1790
|
-
"&-header-actions-header-action": {
|
|
1791
|
-
transition: "width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"
|
|
1792
|
-
}
|
|
1793
|
-
}
|
|
1794
|
-
}
|
|
1795
|
-
}
|
|
1796
|
-
};
|
|
1797
|
-
}, Qn = (e) => ({
|
|
1770
|
+
_e.inheritAttrs = !1;
|
|
1771
|
+
_e.displayName = "wrap-content";
|
|
1772
|
+
const ia = (e) => ({
|
|
1798
1773
|
[`${e.proComponentsCls}-header`]: {
|
|
1799
1774
|
"&-light": {
|
|
1800
1775
|
[`${e.componentCls}-logo`]: {
|
|
@@ -1812,13 +1787,8 @@ const Jn = (e) => {
|
|
|
1812
1787
|
paddingInline: 16,
|
|
1813
1788
|
width: "100%",
|
|
1814
1789
|
height: "100%",
|
|
1815
|
-
boxShadow: "0 1px 4px rgba(0,21,41,.
|
|
1816
|
-
boxSizing: "border-box",
|
|
1817
|
-
"&-mix": {
|
|
1818
|
-
boxShadow: "0 1px 4px 0 rgba(0,21,41,.12)"
|
|
1819
|
-
},
|
|
1790
|
+
boxShadow: "0 1px 4px rgba(0,21,41,.12)",
|
|
1820
1791
|
"&-wide": {
|
|
1821
|
-
boxShadow: "0 1px 4px 0 rgba(0,21,41,.12)",
|
|
1822
1792
|
padding: 0,
|
|
1823
1793
|
[`${e.componentCls}-main`]: {
|
|
1824
1794
|
margin: "0 auto"
|
|
@@ -1877,96 +1847,103 @@ const Jn = (e) => {
|
|
|
1877
1847
|
marginInlineEnd: 0
|
|
1878
1848
|
}
|
|
1879
1849
|
}
|
|
1880
|
-
}),
|
|
1881
|
-
...
|
|
1882
|
-
...
|
|
1883
|
-
},
|
|
1884
|
-
props:
|
|
1850
|
+
}), Rt = {
|
|
1851
|
+
..._,
|
|
1852
|
+
...Ve
|
|
1853
|
+
}, la = (e, t) => e === !1 ? null : e ? e(t, null) : t, ra = /* @__PURE__ */ A({
|
|
1854
|
+
props: Rt,
|
|
1885
1855
|
setup(e) {
|
|
1886
|
-
return () => e.rightContentRender && typeof e.rightContentRender == "function" && n(
|
|
1856
|
+
return () => e.rightContentRender && typeof e.rightContentRender == "function" && n(Z, null, [e.rightContentRender({
|
|
1887
1857
|
...e
|
|
1888
1858
|
})]);
|
|
1889
1859
|
}
|
|
1890
|
-
}),
|
|
1891
|
-
props:
|
|
1860
|
+
}), sa = /* @__PURE__ */ A({
|
|
1861
|
+
props: Rt,
|
|
1892
1862
|
inheritAttrs: !1,
|
|
1893
1863
|
setup(e, {
|
|
1894
1864
|
slots: t,
|
|
1895
1865
|
emit: a
|
|
1896
1866
|
}) {
|
|
1897
|
-
const i =
|
|
1867
|
+
const i = We(), {
|
|
1898
1868
|
token: o
|
|
1899
|
-
} =
|
|
1869
|
+
} = ye(), {
|
|
1900
1870
|
getPrefixCls: u,
|
|
1901
|
-
openKeys:
|
|
1902
|
-
selectedKeys:
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1871
|
+
openKeys: f,
|
|
1872
|
+
selectedKeys: b,
|
|
1873
|
+
theme: g
|
|
1874
|
+
} = J(), {
|
|
1875
|
+
width: M
|
|
1876
|
+
} = hn(), C = u({
|
|
1906
1877
|
suffixCls: "global-header",
|
|
1907
1878
|
isPor: !0
|
|
1908
1879
|
}), {
|
|
1909
|
-
wrapSSR:
|
|
1910
|
-
hashId:
|
|
1911
|
-
} =
|
|
1912
|
-
[`${
|
|
1913
|
-
[`${
|
|
1914
|
-
[`${
|
|
1915
|
-
})),
|
|
1916
|
-
var
|
|
1880
|
+
wrapSSR: d,
|
|
1881
|
+
hashId: F
|
|
1882
|
+
} = ie("ProGlobalHeader", [ia], C), l = m(() => e.isMobile ? !1 : e.layout === "top" || e.layout === "mix" && e.splitMenus), r = m(() => `${g.value}:${e.layout}`), x = m(() => ({
|
|
1883
|
+
[`${F.value}`]: !0,
|
|
1884
|
+
[`${C}`]: !0,
|
|
1885
|
+
[`${C}-${e.layout}`]: !0
|
|
1886
|
+
})), w = (y) => {
|
|
1887
|
+
var T;
|
|
1917
1888
|
if (i.currentRoute) {
|
|
1918
|
-
const
|
|
1919
|
-
e.onSelect && y === "select" && e.onSelect(
|
|
1889
|
+
const h = i.currentRoute.value.matched.concat();
|
|
1890
|
+
e.onSelect && y === "select" && e.onSelect(h.filter((p) => p.name !== "index").map((p) => p.path)), e.onOpenKeys && y === "openKeys" && ((T = e.onOpenKeys) == null || T.call(e, h.filter((p) => p.path !== i.currentRoute.value.path).map((p) => p.path)));
|
|
1920
1891
|
}
|
|
1921
|
-
},
|
|
1892
|
+
}, S = () => {
|
|
1922
1893
|
a("collapse", !e.collapsed);
|
|
1923
|
-
},
|
|
1924
|
-
var y,
|
|
1925
|
-
return n(
|
|
1894
|
+
}, O = m(() => e.collapsedButtonRender || xt), v = () => {
|
|
1895
|
+
var y, T;
|
|
1896
|
+
return n(Z, null, [l.value ? n("div", {
|
|
1926
1897
|
style: {
|
|
1927
1898
|
flex: 1
|
|
1928
1899
|
},
|
|
1929
|
-
class: [`${
|
|
1930
|
-
}, [((y = e.menuData) == null ? void 0 : y.length) > 0 && n(
|
|
1900
|
+
class: [`${C}-menu`, F.value]
|
|
1901
|
+
}, [((y = e.menuData) == null ? void 0 : y.length) > 0 && n(Ke, {
|
|
1931
1902
|
theme: {
|
|
1932
1903
|
components: {
|
|
1933
1904
|
Layout: {
|
|
1934
1905
|
headerBg: "transparent",
|
|
1935
1906
|
bodyBg: "transparent"
|
|
1936
1907
|
},
|
|
1937
|
-
Menu:
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1908
|
+
Menu: bt({
|
|
1909
|
+
token: (o == null ? void 0 : o.value) || {},
|
|
1910
|
+
staticToken: {
|
|
1911
|
+
radiusItem: 4,
|
|
1912
|
+
colorActiveBarWidth: 0,
|
|
1913
|
+
colorActiveBarHeight: 2,
|
|
1914
|
+
colorActiveBarBorderSize: 0,
|
|
1915
|
+
horizontalItemBorderRadius: 4
|
|
1916
|
+
},
|
|
1917
|
+
theme: g.value,
|
|
1918
|
+
type: "header",
|
|
1919
|
+
layoutThemeKey: r.value
|
|
1920
|
+
})
|
|
1944
1921
|
}
|
|
1945
1922
|
}
|
|
1946
1923
|
}, {
|
|
1947
|
-
default: () => [n(
|
|
1924
|
+
default: () => [n(pt, V({
|
|
1948
1925
|
theme: e.theme,
|
|
1949
1926
|
mode: e.mode,
|
|
1950
1927
|
collapsed: e.collapsed,
|
|
1951
1928
|
menuData: e.menuData,
|
|
1952
|
-
openKeys:
|
|
1953
|
-
selectedKeys:
|
|
1929
|
+
openKeys: f.value,
|
|
1930
|
+
selectedKeys: b.value,
|
|
1954
1931
|
iconfontUrl: e.iconfontUrl,
|
|
1955
1932
|
menuItemRender: e.menuItemRender,
|
|
1956
1933
|
subMenuItemRender: e.subMenuItemRender,
|
|
1957
1934
|
class: {
|
|
1958
1935
|
"top-nav-menu": e.mode === "horizontal",
|
|
1959
|
-
[`${
|
|
1936
|
+
[`${F.value}`]: !0
|
|
1960
1937
|
}
|
|
1961
1938
|
}, {
|
|
1962
|
-
"onUpdate:openKeys": () =>
|
|
1963
|
-
"onUpdate:selectedKeys": () =>
|
|
1939
|
+
"onUpdate:openKeys": () => w("openKeys"),
|
|
1940
|
+
"onUpdate:selectedKeys": () => w("select")
|
|
1964
1941
|
}), null)]
|
|
1965
1942
|
})]) : n("div", {
|
|
1966
1943
|
style: {
|
|
1967
1944
|
flex: 1
|
|
1968
1945
|
}
|
|
1969
|
-
}, [(
|
|
1946
|
+
}, [(T = t.default) == null ? void 0 : T.call(t)]), e.layout !== "simple" && n(ra, V(e, {
|
|
1970
1947
|
extraRightDropdownRender: e.extraRightDropdownRender,
|
|
1971
1948
|
rightContentRender: e.rightContentRender
|
|
1972
1949
|
}), null)]);
|
|
@@ -1975,38 +1952,38 @@ const Jn = (e) => {
|
|
|
1975
1952
|
const y = n("span", {
|
|
1976
1953
|
key: "logo",
|
|
1977
1954
|
onClick: () => {
|
|
1978
|
-
var
|
|
1979
|
-
return (
|
|
1955
|
+
var T;
|
|
1956
|
+
return (T = e.onMenuHeaderClick) == null ? void 0 : T.call(e);
|
|
1980
1957
|
},
|
|
1981
|
-
class: [`${
|
|
1982
|
-
}, [n("a", null, [
|
|
1983
|
-
return
|
|
1984
|
-
class:
|
|
1985
|
-
}, [e.isMobile ? n(
|
|
1986
|
-
class: `${
|
|
1987
|
-
onClick:
|
|
1988
|
-
}, [
|
|
1958
|
+
class: [`${C}-logo`, e.isMobile ? "mobile" : "", F.value]
|
|
1959
|
+
}, [n("a", null, [Ct(e.logo)])]);
|
|
1960
|
+
return d(n("div", {
|
|
1961
|
+
class: x.value
|
|
1962
|
+
}, [e.isMobile ? n(Z, null, [la(e.menuHeaderRender, y), e.isMobile && j(O) && n("span", {
|
|
1963
|
+
class: `${C}-collapsed-button ${F.value}`,
|
|
1964
|
+
onClick: S
|
|
1965
|
+
}, [j(O)(e.collapsed)]), v()]) : ["mix", "wide", "top"].includes(e.layout) ? n("div", {
|
|
1989
1966
|
style: {
|
|
1990
1967
|
width: e.layout === "wide" ? `${e.wideWidth}px` : void 0,
|
|
1991
|
-
padding: e.layout === "wide" &&
|
|
1968
|
+
padding: e.layout === "wide" && M.value < e.wideWidth ? "0 50px" : void 0
|
|
1992
1969
|
},
|
|
1993
|
-
class: `${
|
|
1970
|
+
class: `${C}-main ${F.value}`
|
|
1994
1971
|
}, [n("div", {
|
|
1995
|
-
class: `${
|
|
1996
|
-
}, [n(
|
|
1972
|
+
class: `${C}-main-left ${F.value}`
|
|
1973
|
+
}, [n(Ye, V(e, {
|
|
1997
1974
|
renderKey: "headerTitleRender"
|
|
1998
1975
|
}), null)]), v()]) : v()]));
|
|
1999
1976
|
};
|
|
2000
1977
|
}
|
|
2001
1978
|
});
|
|
2002
|
-
function
|
|
2003
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
1979
|
+
function ua(e) {
|
|
1980
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !oe(e);
|
|
2004
1981
|
}
|
|
2005
1982
|
const {
|
|
2006
|
-
Header:
|
|
2007
|
-
} =
|
|
1983
|
+
Header: nt
|
|
1984
|
+
} = fe, Ne = /* @__PURE__ */ A({
|
|
2008
1985
|
inheritAttrs: !1,
|
|
2009
|
-
props:
|
|
1986
|
+
props: St,
|
|
2010
1987
|
setup(e) {
|
|
2011
1988
|
const {
|
|
2012
1989
|
theme: t,
|
|
@@ -2014,161 +1991,215 @@ const {
|
|
|
2014
1991
|
fixedHeader: i,
|
|
2015
1992
|
headerHeight: o,
|
|
2016
1993
|
layout: u,
|
|
2017
|
-
onCollapse:
|
|
2018
|
-
splitMenus:
|
|
2019
|
-
} =
|
|
2020
|
-
getPrefixCls:
|
|
2021
|
-
menuData:
|
|
2022
|
-
|
|
1994
|
+
onCollapse: f,
|
|
1995
|
+
splitMenus: b
|
|
1996
|
+
} = Oe(e), {
|
|
1997
|
+
getPrefixCls: g,
|
|
1998
|
+
menuData: M,
|
|
1999
|
+
theme: C
|
|
2000
|
+
} = J(), d = g({
|
|
2023
2001
|
suffixCls: "header",
|
|
2024
2002
|
isPor: !0
|
|
2025
|
-
}),
|
|
2003
|
+
}), F = g({
|
|
2026
2004
|
suffixCls: "fixed-header",
|
|
2027
2005
|
isPor: !0
|
|
2028
|
-
}), {
|
|
2029
|
-
wrapSSR:
|
|
2030
|
-
hashId:
|
|
2031
|
-
} =
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2006
|
+
}), l = m(() => u.value === "wide"), r = m(() => i.value), x = m(() => u.value === "mix" || l.value), w = m(() => u.value === "side" || u.value === "simple"), S = m(() => w.value && "light" || t.value), O = m(() => `${j(C)}:${j(u)}`), {
|
|
2007
|
+
wrapSSR: v,
|
|
2008
|
+
hashId: y
|
|
2009
|
+
} = ge("ProLayoutHeader", (B) => {
|
|
2010
|
+
var z, H;
|
|
2011
|
+
const U = (z = B.layout) == null ? void 0 : z.header;
|
|
2012
|
+
return {
|
|
2013
|
+
[`${B.proComponentsCls}-basic-layout`]: {
|
|
2014
|
+
[`${B.antCls}-layout-header${B.componentCls}${B.componentCls}-${j(C)}`]: {
|
|
2015
|
+
color: C.value === "light" ? B.colorText : B.colorWhite,
|
|
2016
|
+
backgroundColor: (U == null ? void 0 : U.colorBgMenu) || ((H = Fe("header", B)[O.value]) == null ? void 0 : H.colorBgMenu),
|
|
2017
|
+
boxShadow: C.value === "realDark" ? "#0d0d0da6 0 2px 8px" : "",
|
|
2018
|
+
[`${B.proComponentsCls}-global-header-collapsed-button`]: {
|
|
2019
|
+
color: C.value === "light" ? void 0 : "#fff"
|
|
2020
|
+
}
|
|
2021
|
+
},
|
|
2022
|
+
[`${B.antCls}-layout-header${B.componentCls}`]: {
|
|
2023
|
+
zIndex: 19,
|
|
2024
|
+
paddingBlock: 0,
|
|
2025
|
+
paddingInline: 0,
|
|
2026
|
+
WebkitBackdropFilter: "blur(8px)",
|
|
2027
|
+
backdropFilter: "blur(8px)",
|
|
2028
|
+
transition: "background-color 0.2s cubic-bezier(.645,.045,.355,1)",
|
|
2029
|
+
[`&${B.proComponentsCls}`]: {
|
|
2030
|
+
"&-fixed-header": {
|
|
2031
|
+
position: "fixed",
|
|
2032
|
+
width: "100%",
|
|
2033
|
+
zIndex: 9,
|
|
2034
|
+
top: 0,
|
|
2035
|
+
transition: "width .2s",
|
|
2036
|
+
"&-action": {
|
|
2037
|
+
transition: "width .3s cubic-bezier(.645,.045,.355,1)"
|
|
2038
|
+
}
|
|
2039
|
+
},
|
|
2040
|
+
"&-header-actions": {
|
|
2041
|
+
display: "flex",
|
|
2042
|
+
alignItems: "center",
|
|
2043
|
+
fontSize: "16",
|
|
2044
|
+
cursor: "pointer",
|
|
2045
|
+
"& &-item": {
|
|
2046
|
+
paddingBlock: 0,
|
|
2047
|
+
paddingInline: 8,
|
|
2048
|
+
"&:hover": {
|
|
2049
|
+
color: B.colorText
|
|
2050
|
+
}
|
|
2051
|
+
}
|
|
2052
|
+
},
|
|
2053
|
+
"&-header-actions-header-action": {
|
|
2054
|
+
transition: "width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
};
|
|
2060
|
+
}, d), T = m(() => ({
|
|
2061
|
+
[`${y.value}`]: !0,
|
|
2062
|
+
[`${d}`]: !0,
|
|
2063
|
+
[`${d}-${C.value}`]: !0,
|
|
2064
|
+
[`${F}`]: r.value
|
|
2065
|
+
})), h = m(() => r.value && !a.value), p = m(() => b.value ? M.value && Mn(M.value) || [] : u.value === "top" ? M.value : []), P = m(() => w.value && h.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), k = m(() => r.value ? 0 : void 0), N = () => {
|
|
2066
|
+
const B = n(sa, V(e, {
|
|
2067
|
+
theme: S.value,
|
|
2039
2068
|
mode: "horizontal",
|
|
2040
|
-
onCollapse:
|
|
2041
|
-
menuData:
|
|
2069
|
+
onCollapse: f.value,
|
|
2070
|
+
menuData: p.value
|
|
2042
2071
|
}), {
|
|
2043
|
-
default: () => [
|
|
2072
|
+
default: () => [x.value ? null : e.headerContentRender && typeof e.headerContentRender == "function" ? e.headerContentRender(e) : e.headerContentRender]
|
|
2044
2073
|
});
|
|
2045
2074
|
return e.headerRender ? e.headerRender(e, B) : B;
|
|
2046
2075
|
};
|
|
2047
2076
|
return () => {
|
|
2048
2077
|
let B;
|
|
2049
|
-
return
|
|
2050
|
-
theme: y.value,
|
|
2078
|
+
return v(n(Z, null, [r.value && !l.value && n(nt, {
|
|
2051
2079
|
style: {
|
|
2052
2080
|
height: `${o.value}px`,
|
|
2053
2081
|
lineHeight: `${o.value}px`,
|
|
2054
2082
|
background: "transparent"
|
|
2055
2083
|
}
|
|
2056
|
-
}, null), n(
|
|
2057
|
-
|
|
2058
|
-
class: f.value,
|
|
2084
|
+
}, null), n(nt, {
|
|
2085
|
+
class: T.value,
|
|
2059
2086
|
style: {
|
|
2060
2087
|
height: `${o.value}px`,
|
|
2061
2088
|
lineHeight: `${o.value}px`,
|
|
2062
|
-
width:
|
|
2063
|
-
zIndex:
|
|
2064
|
-
right:
|
|
2089
|
+
width: P.value,
|
|
2090
|
+
zIndex: w.value ? 100 : 101,
|
|
2091
|
+
right: k.value
|
|
2065
2092
|
}
|
|
2066
|
-
},
|
|
2093
|
+
}, ua(B = N()) ? B : {
|
|
2067
2094
|
default: () => [B]
|
|
2068
2095
|
})]));
|
|
2069
2096
|
};
|
|
2070
2097
|
}
|
|
2071
|
-
}),
|
|
2098
|
+
}), da = /* @__PURE__ */ A({
|
|
2072
2099
|
name: "BaseProLayout",
|
|
2073
2100
|
inheritAttrs: !1,
|
|
2074
2101
|
components: {
|
|
2075
|
-
GlobalHeader:
|
|
2076
|
-
GlobalFooter:
|
|
2077
|
-
SiderMenuWrapper:
|
|
2102
|
+
GlobalHeader: Ne,
|
|
2103
|
+
GlobalFooter: De,
|
|
2104
|
+
SiderMenuWrapper: Le
|
|
2078
2105
|
},
|
|
2079
|
-
props:
|
|
2106
|
+
props: Ot,
|
|
2080
2107
|
emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
|
|
2081
2108
|
setup(e, {
|
|
2082
2109
|
slots: t
|
|
2083
2110
|
}) {
|
|
2084
|
-
const a =
|
|
2111
|
+
const a = he({
|
|
2085
2112
|
suffixCls: "basic-layout",
|
|
2086
2113
|
isPor: !0
|
|
2087
2114
|
}), {
|
|
2088
2115
|
wrapSSR: i,
|
|
2089
2116
|
hashId: o
|
|
2090
|
-
} =
|
|
2091
|
-
token:
|
|
2092
|
-
} =
|
|
2117
|
+
} = ie("ProLayout", [Gn, qn], a), u = cn(), {
|
|
2118
|
+
token: f
|
|
2119
|
+
} = ye(), b = we(Ze().uuid(10)), g = He({
|
|
2120
|
+
position: "relative"
|
|
2121
|
+
}), M = m(() => {
|
|
2093
2122
|
var y;
|
|
2094
|
-
return (y =
|
|
2123
|
+
return (y = f == null ? void 0 : f.value) == null ? void 0 : y.colorPrimary;
|
|
2095
2124
|
});
|
|
2096
|
-
|
|
2097
|
-
|
|
2125
|
+
zt(() => {
|
|
2126
|
+
M.value && document.querySelector("html") && document.querySelector("html").style.setProperty("--gx-primary-color", M.value);
|
|
2098
2127
|
});
|
|
2099
|
-
const
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
(e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (
|
|
2103
|
-
const
|
|
2104
|
-
matchMenuKeys:
|
|
2105
|
-
}), null),
|
|
2106
|
-
...e.breadcrumb,
|
|
2107
|
-
itemRender:
|
|
2108
|
-
})), v =
|
|
2109
|
-
return
|
|
2110
|
-
getPrefixCls:
|
|
2111
|
-
...
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2128
|
+
const C = m(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), d = m(() => e.layout === "wide"), F = m(() => C.value), l = m(() => e.collapsed ? e.collapsedWidth : e.siderWidth), r = m(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), x = m(() => e.theme === "realDark"), w = m(() => (u.value === "sm" || u.value === "xs") && !e.disableMobile && !d.value);
|
|
2129
|
+
ce([() => e.layout, () => e.theme], () => {
|
|
2130
|
+
b.value = Ze().uuid(10);
|
|
2131
|
+
}), (e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (g.minHeight = 0);
|
|
2132
|
+
const S = (y, T) => y.headerRender === !1 || y.pure ? null : n(Ne, V(y, {
|
|
2133
|
+
matchMenuKeys: T || []
|
|
2134
|
+
}), null), O = m(() => ({
|
|
2135
|
+
...e.breadcrumb || {},
|
|
2136
|
+
itemRender: W(t, e, "breadcrumbRender")
|
|
2137
|
+
})), v = m(() => F.value && e.selectedKeys ? On(e.menuData, e.selectedKeys[0]) : []);
|
|
2138
|
+
return Ln({
|
|
2139
|
+
getPrefixCls: he,
|
|
2140
|
+
...re(Oe(e), ["layout", "theme", "waterMark", "menuData", "openKeys", "splitMenus", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps"].concat(Object.keys(wt))),
|
|
2141
|
+
menuTheme: r,
|
|
2142
|
+
isDarkMode: x,
|
|
2143
|
+
hasContentWide: d,
|
|
2144
|
+
isMobile: w,
|
|
2145
|
+
siderWidth: l,
|
|
2146
|
+
breadcrumb: O,
|
|
2117
2147
|
flatMenuData: v,
|
|
2118
|
-
hasSide:
|
|
2119
|
-
flatMenu:
|
|
2120
|
-
pageHeaderRender:
|
|
2148
|
+
hasSide: C,
|
|
2149
|
+
flatMenu: F,
|
|
2150
|
+
pageHeaderRender: m(() => W(t, e, "pageHeaderRender"))
|
|
2121
2151
|
}), () => {
|
|
2122
|
-
var
|
|
2123
|
-
const y =
|
|
2124
|
-
menuItemRender:
|
|
2125
|
-
subMenuItemRender:
|
|
2126
|
-
},
|
|
2152
|
+
var X;
|
|
2153
|
+
const y = W(t, e, "collapsedButtonRender"), T = W(t, e, "headerContentRender"), h = W(t, e, "rightContentRender"), p = W(t, e, "headerRender"), P = W(t, e, "footerRender"), k = W(t, e, "links"), N = W(t, e, "copyrightRender"), B = W(t, e, "extraRightDropdownRender"), U = W(t, e, "menuHeaderRender"), z = W(t, e, "menuExtraRender"), H = W(t, e, "menuContentRender"), ee = W(t, e, "menuFooterRender"), G = W(t, e, "menuItemRender"), de = W(t, e, "subMenuItemRender"), le = W(t, e, "settingDrawer"), c = {
|
|
2154
|
+
menuItemRender: G,
|
|
2155
|
+
subMenuItemRender: de
|
|
2156
|
+
}, R = m(() => S({
|
|
2127
2157
|
...e,
|
|
2128
|
-
...
|
|
2129
|
-
hasSiderMenu:
|
|
2158
|
+
...c,
|
|
2159
|
+
hasSiderMenu: C.value,
|
|
2130
2160
|
menuData: e.menuData,
|
|
2131
|
-
isMobile:
|
|
2132
|
-
rightContentRender:
|
|
2161
|
+
isMobile: j(w),
|
|
2162
|
+
rightContentRender: h,
|
|
2133
2163
|
extraRightDropdownRender: B,
|
|
2134
|
-
headerTitleRender:
|
|
2135
|
-
headerContentRender:
|
|
2136
|
-
headerRender:
|
|
2137
|
-
theme:
|
|
2138
|
-
}, e.matchMenuKeys)),
|
|
2164
|
+
headerTitleRender: U,
|
|
2165
|
+
headerContentRender: T,
|
|
2166
|
+
headerRender: p,
|
|
2167
|
+
theme: r.value
|
|
2168
|
+
}, e.matchMenuKeys)), I = m(() => ({
|
|
2139
2169
|
[`${o.value}`]: !0,
|
|
2140
2170
|
[`${a}`]: !0,
|
|
2141
2171
|
[`${a}-${e.layout}`]: !0
|
|
2142
|
-
})),
|
|
2172
|
+
})), $ = m(() => d.value ? {
|
|
2143
2173
|
minWidth: `${e.wideWidth}px`
|
|
2144
|
-
} : void 0),
|
|
2174
|
+
} : void 0), D = m(() => d.value ? {
|
|
2145
2175
|
width: e.menuData.length ? `${e.wideWidth}px` : `${e.wideWidth - e.siderWidth - 20}px`,
|
|
2146
2176
|
paddingTop: `${e.headerHeight + 20}px`,
|
|
2147
|
-
margin:
|
|
2148
|
-
} : void 0),
|
|
2177
|
+
margin: d.value ? "0 auto" : void 0
|
|
2178
|
+
} : void 0), E = m(() => d.value ? {
|
|
2149
2179
|
minHeight: "835px"
|
|
2150
2180
|
} : {});
|
|
2151
|
-
return i(n(
|
|
2152
|
-
class:
|
|
2153
|
-
style:
|
|
2154
|
-
|
|
2155
|
-
|
|
2181
|
+
return i(n(Z, null, [e.pure ? (X = t.default) == null ? void 0 : X.call(t) : n("div", {
|
|
2182
|
+
class: I.value,
|
|
2183
|
+
style: $.value,
|
|
2184
|
+
"data-theme": x.value ?? "dark"
|
|
2185
|
+
}, [n(fe, {
|
|
2186
|
+
style: D.value
|
|
2156
2187
|
}, {
|
|
2157
|
-
default: () => [n(
|
|
2158
|
-
links:
|
|
2159
|
-
theme:
|
|
2160
|
-
isMobile:
|
|
2161
|
-
menuHeaderRender:
|
|
2162
|
-
menuContentRender:
|
|
2163
|
-
menuExtraRender:
|
|
2164
|
-
menuFooterRender:
|
|
2188
|
+
default: () => [n(Le, V(Ue(e, ["pure", "theme"]), {
|
|
2189
|
+
links: k,
|
|
2190
|
+
theme: r.value,
|
|
2191
|
+
isMobile: w.value,
|
|
2192
|
+
menuHeaderRender: U,
|
|
2193
|
+
menuContentRender: H,
|
|
2194
|
+
menuExtraRender: z,
|
|
2195
|
+
menuFooterRender: ee,
|
|
2165
2196
|
collapsedButtonRender: y
|
|
2166
|
-
}), null), n(
|
|
2167
|
-
style:
|
|
2197
|
+
}), null), n(fe, {
|
|
2198
|
+
style: g
|
|
2168
2199
|
}, {
|
|
2169
|
-
default: () => [
|
|
2200
|
+
default: () => [R.value, n(_e, V({
|
|
2170
2201
|
hashId: o.value,
|
|
2171
|
-
isMobile:
|
|
2202
|
+
isMobile: w.value,
|
|
2172
2203
|
prefixCls: a,
|
|
2173
2204
|
collapsedWidth: e.collapsedWidth,
|
|
2174
2205
|
isChildrenLayout: e.isChildrenLayout,
|
|
@@ -2177,75 +2208,79 @@ const {
|
|
|
2177
2208
|
isFixedMultiTab: e.fixedMultiTab,
|
|
2178
2209
|
siderWidth: e.siderWidth,
|
|
2179
2210
|
collapsed: e.collapsed,
|
|
2180
|
-
style: e.disableContentMargin ?
|
|
2211
|
+
style: e.disableContentMargin ? E.value : {
|
|
2181
2212
|
...e.contentStyle,
|
|
2182
|
-
...
|
|
2213
|
+
...E.value
|
|
2183
2214
|
}
|
|
2184
|
-
},
|
|
2215
|
+
}, re(e, ["onReloadPage", "onChangeTabs"])), {
|
|
2185
2216
|
default: () => {
|
|
2186
|
-
var
|
|
2187
|
-
return [(
|
|
2217
|
+
var q;
|
|
2218
|
+
return [(q = t.default) == null ? void 0 : q.call(t)];
|
|
2188
2219
|
}
|
|
2189
|
-
}),
|
|
2190
|
-
copyright:
|
|
2220
|
+
}), P === !1 ? null : P ? P(e) : n(De, {
|
|
2221
|
+
copyright: N
|
|
2191
2222
|
}, null)]
|
|
2192
2223
|
})]
|
|
2193
|
-
})])]));
|
|
2224
|
+
}), le == null ? void 0 : le()])]));
|
|
2194
2225
|
};
|
|
2195
2226
|
}
|
|
2196
|
-
}),
|
|
2227
|
+
}), Di = /* @__PURE__ */ A({
|
|
2197
2228
|
components: {
|
|
2198
|
-
GlobalHeader:
|
|
2199
|
-
GlobalFooter:
|
|
2200
|
-
SiderMenuWrapper:
|
|
2229
|
+
GlobalHeader: Ne,
|
|
2230
|
+
GlobalFooter: De,
|
|
2231
|
+
SiderMenuWrapper: Le
|
|
2201
2232
|
},
|
|
2202
|
-
props:
|
|
2233
|
+
props: Ot,
|
|
2203
2234
|
emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
|
|
2204
2235
|
setup(e, {
|
|
2205
2236
|
slots: t,
|
|
2206
2237
|
emit: a
|
|
2207
2238
|
}) {
|
|
2208
|
-
const i =
|
|
2239
|
+
const i = m(() => e.theme !== void 0 ? {
|
|
2209
2240
|
dark: e.theme === "realDark"
|
|
2210
|
-
} : {}), o = (
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
},
|
|
2215
|
-
a("update:
|
|
2241
|
+
} : {}), o = m(() => gt(e.token || {}, {
|
|
2242
|
+
layout: {
|
|
2243
|
+
layoutThemeKey: `${e.theme}:${e.layout}`
|
|
2244
|
+
}
|
|
2245
|
+
})), u = (g) => {
|
|
2246
|
+
a("update:collapsed", g), a("collapse", g);
|
|
2247
|
+
}, f = (g) => {
|
|
2248
|
+
a("update:open-keys", g), a("openKeys", g);
|
|
2249
|
+
}, b = (g) => {
|
|
2250
|
+
a("update:selected-keys", g), a("select", g);
|
|
2216
2251
|
};
|
|
2217
|
-
return () => n(
|
|
2252
|
+
return () => n(Ke, {
|
|
2218
2253
|
theme: e.primaryColor ? {
|
|
2219
2254
|
token: {
|
|
2220
2255
|
colorPrimary: e.primaryColor
|
|
2221
2256
|
}
|
|
2222
2257
|
} : void 0
|
|
2223
2258
|
}, {
|
|
2224
|
-
default: () => [n(
|
|
2225
|
-
token:
|
|
2259
|
+
default: () => [n(on, V({
|
|
2260
|
+
token: o.value
|
|
2226
2261
|
}, i.value), {
|
|
2227
|
-
default: () => [n(
|
|
2228
|
-
onSelect:
|
|
2229
|
-
onOpenKeys:
|
|
2230
|
-
onCollapse:
|
|
2262
|
+
default: () => [n(da, V(Ue(e, ["onSelect", "onOpenKeys", "onCollapse"]), {
|
|
2263
|
+
onSelect: b,
|
|
2264
|
+
onOpenKeys: f,
|
|
2265
|
+
onCollapse: u
|
|
2231
2266
|
}), t)]
|
|
2232
2267
|
})]
|
|
2233
2268
|
});
|
|
2234
2269
|
}
|
|
2235
|
-
}),
|
|
2270
|
+
}), Ft = (e, t, a) => e.map((i, o) => {
|
|
2236
2271
|
var u;
|
|
2237
|
-
return i.meta && (i.meta.key = a ? `${a}-${o}` : `${o}`), i.path = i.path.replace("//", "/"), i.children && i.children.length > 0 && (i.children =
|
|
2238
|
-
}),
|
|
2272
|
+
return i.meta && (i.meta.key = a ? `${a}-${o}` : `${o}`), i.path = i.path.replace("//", "/"), i.children && i.children.length > 0 && (i.children = Ft(i.children, t, (u = i.meta) == null ? void 0 : u.key)), t[`${i.path}`] = i, i;
|
|
2273
|
+
}), Ni = (e) => {
|
|
2239
2274
|
const t = e.find((o) => {
|
|
2240
2275
|
var u;
|
|
2241
2276
|
return o.path === "/" && ((u = o.children) == null ? void 0 : u.length);
|
|
2242
|
-
}), a = {}, i =
|
|
2277
|
+
}), a = {}, i = Ft((t == null ? void 0 : t.children) || [], a);
|
|
2243
2278
|
return {
|
|
2244
2279
|
menuData: i,
|
|
2245
2280
|
breadcrumb: a,
|
|
2246
|
-
levelMenuData:
|
|
2281
|
+
levelMenuData: nn(i)
|
|
2247
2282
|
};
|
|
2248
|
-
},
|
|
2283
|
+
}, $t = [
|
|
2249
2284
|
{
|
|
2250
2285
|
key: "light",
|
|
2251
2286
|
title: "亮色菜单风格"
|
|
@@ -2258,7 +2293,7 @@ const {
|
|
|
2258
2293
|
key: "realDark",
|
|
2259
2294
|
title: "暗黑模式"
|
|
2260
2295
|
}
|
|
2261
|
-
],
|
|
2296
|
+
], Bt = [
|
|
2262
2297
|
{
|
|
2263
2298
|
key: "side",
|
|
2264
2299
|
title: "侧边菜单布局"
|
|
@@ -2274,8 +2309,12 @@ const {
|
|
|
2274
2309
|
{
|
|
2275
2310
|
key: "simple",
|
|
2276
2311
|
title: "简单菜单布局"
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
key: "top",
|
|
2315
|
+
title: "顶部菜单布局"
|
|
2277
2316
|
}
|
|
2278
|
-
],
|
|
2317
|
+
], ca = [
|
|
2279
2318
|
{
|
|
2280
2319
|
key: "header",
|
|
2281
2320
|
title: "顶部主题"
|
|
@@ -2284,7 +2323,36 @@ const {
|
|
|
2284
2323
|
key: "sider",
|
|
2285
2324
|
title: "左侧主题"
|
|
2286
2325
|
}
|
|
2287
|
-
],
|
|
2326
|
+
], ma = [
|
|
2327
|
+
{
|
|
2328
|
+
key: "colorBgMenu",
|
|
2329
|
+
name: "全部背景"
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
key: "colorSubItemBg",
|
|
2333
|
+
name: "子菜单背景"
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
key: "colorBgMenuItemHover",
|
|
2337
|
+
name: "菜单移入背景"
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
key: "colorBgMenuItemSelected",
|
|
2341
|
+
name: "菜单背景选中背景"
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
key: "colorTextMenu",
|
|
2345
|
+
name: "菜单文字颜色"
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
key: "colorTextMenuHover",
|
|
2349
|
+
name: "菜单文字移入颜色"
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
key: "colorTextMenuSelected",
|
|
2353
|
+
name: "菜单文字选中颜色"
|
|
2354
|
+
}
|
|
2355
|
+
], fa = (e) => ({
|
|
2288
2356
|
[e.componentCls]: {
|
|
2289
2357
|
[`${e.antCls}-drawer-content-wrapper`]: {
|
|
2290
2358
|
transform: "translate(100%)",
|
|
@@ -2406,6 +2474,10 @@ const {
|
|
|
2406
2474
|
backgroundColor: "#f7f8fa",
|
|
2407
2475
|
"&::before": { backgroundColor: "#fff" },
|
|
2408
2476
|
"&::after": { backgroundColor: "#001529" }
|
|
2477
|
+
},
|
|
2478
|
+
"&-top": {
|
|
2479
|
+
backgroundColor: "#f7f8fa",
|
|
2480
|
+
"&::after": { backgroundColor: "#001529" }
|
|
2409
2481
|
}
|
|
2410
2482
|
},
|
|
2411
2483
|
"& &-selectIcon": {
|
|
@@ -2449,7 +2521,7 @@ const {
|
|
|
2449
2521
|
}
|
|
2450
2522
|
}
|
|
2451
2523
|
}
|
|
2452
|
-
}),
|
|
2524
|
+
}), at = /* @__PURE__ */ A({
|
|
2453
2525
|
name: "BlockCheckbox",
|
|
2454
2526
|
props: {
|
|
2455
2527
|
value: L.string,
|
|
@@ -2467,19 +2539,19 @@ const {
|
|
|
2467
2539
|
const t = `${e.prefixCls}-block-checkbox`;
|
|
2468
2540
|
return n("div", {
|
|
2469
2541
|
class: [t, e.hashId]
|
|
2470
|
-
}, [e.list.map((a) => n(
|
|
2542
|
+
}, [e.list.map((a) => n(Re, {
|
|
2471
2543
|
title: a.title,
|
|
2472
2544
|
key: a.key
|
|
2473
2545
|
}, {
|
|
2474
2546
|
default: () => [n("div", {
|
|
2475
|
-
class:
|
|
2547
|
+
class: ht(e.hashId, `${t}-item`, `${t}-item-${a.key}`, `${t}-${e.configType}-item`),
|
|
2476
2548
|
onClick: () => {
|
|
2477
2549
|
var i;
|
|
2478
2550
|
return (i = e.onChange) == null ? void 0 : i.call(e, a.key);
|
|
2479
2551
|
}
|
|
2480
2552
|
}, [a.key === "wide" && n("div", {
|
|
2481
2553
|
class: [`${t}-item-${a.key}-content`, e.hashId]
|
|
2482
|
-
}, null), n(
|
|
2554
|
+
}, null), n(mt, {
|
|
2483
2555
|
class: `${t}-selectIcon ${e.hashId}`.trim(),
|
|
2484
2556
|
style: {
|
|
2485
2557
|
display: e.value === a.key ? "block" : "none"
|
|
@@ -2490,7 +2562,7 @@ const {
|
|
|
2490
2562
|
}))]);
|
|
2491
2563
|
};
|
|
2492
2564
|
}
|
|
2493
|
-
}),
|
|
2565
|
+
}), ha = /* @__PURE__ */ A({
|
|
2494
2566
|
name: "ThemeColor",
|
|
2495
2567
|
inheritAttrs: !1,
|
|
2496
2568
|
props: {
|
|
@@ -2513,24 +2585,24 @@ const {
|
|
|
2513
2585
|
key: i,
|
|
2514
2586
|
color: o,
|
|
2515
2587
|
title: u
|
|
2516
|
-
}) => i ? n(
|
|
2588
|
+
}) => i ? n(Re, {
|
|
2517
2589
|
key: o,
|
|
2518
2590
|
title: u
|
|
2519
2591
|
}, {
|
|
2520
2592
|
default: () => {
|
|
2521
|
-
var
|
|
2593
|
+
var f, b;
|
|
2522
2594
|
return [n("div", {
|
|
2523
|
-
class: [`${t}-block ${e.hashId}`.trim(), ((
|
|
2595
|
+
class: [`${t}-block ${e.hashId}`.trim(), ((f = e.settingValue) == null ? void 0 : f.primaryColor) === o ? `${t}-block-checked` : ""],
|
|
2524
2596
|
style: {
|
|
2525
2597
|
backgroundColor: o
|
|
2526
2598
|
},
|
|
2527
2599
|
onClick: () => e.onChange && e.onChange(o)
|
|
2528
|
-
}, [((
|
|
2600
|
+
}, [((b = e.settingValue) == null ? void 0 : b.primaryColor) === o && n(mt, null, null)])];
|
|
2529
2601
|
}
|
|
2530
2602
|
}) : null)]);
|
|
2531
2603
|
};
|
|
2532
2604
|
}
|
|
2533
|
-
}),
|
|
2605
|
+
}), pe = /* @__PURE__ */ A({
|
|
2534
2606
|
name: "RegionalChange",
|
|
2535
2607
|
props: {
|
|
2536
2608
|
label: L.string,
|
|
@@ -2542,17 +2614,17 @@ const {
|
|
|
2542
2614
|
onChange: Function
|
|
2543
2615
|
},
|
|
2544
2616
|
setup(e) {
|
|
2545
|
-
return () => n(
|
|
2617
|
+
return () => n(ae, {
|
|
2546
2618
|
class: `${e.prefixCls}-list ${e.hashId}`.trim(),
|
|
2547
2619
|
split: !1,
|
|
2548
2620
|
size: "small",
|
|
2549
2621
|
renderItem: ({
|
|
2550
2622
|
item: t
|
|
2551
|
-
}) => n(
|
|
2623
|
+
}) => n(Re, {
|
|
2552
2624
|
title: t.disabled ? t.disabledReason : "",
|
|
2553
2625
|
placement: "left"
|
|
2554
2626
|
}, {
|
|
2555
|
-
default: () => [n(
|
|
2627
|
+
default: () => [n(ae.Item, {
|
|
2556
2628
|
actions: [t.action]
|
|
2557
2629
|
}, {
|
|
2558
2630
|
default: () => [n("span", {
|
|
@@ -2564,7 +2636,7 @@ const {
|
|
|
2564
2636
|
}),
|
|
2565
2637
|
dataSource: [{
|
|
2566
2638
|
title: e.label,
|
|
2567
|
-
action: n(
|
|
2639
|
+
action: n(dt, {
|
|
2568
2640
|
size: "small",
|
|
2569
2641
|
disabled: e.disabled,
|
|
2570
2642
|
checked: !!e.value,
|
|
@@ -2575,7 +2647,7 @@ const {
|
|
|
2575
2647
|
}]
|
|
2576
2648
|
}, null);
|
|
2577
2649
|
}
|
|
2578
|
-
}),
|
|
2650
|
+
}), ga = (e) => ({
|
|
2579
2651
|
[e.componentCls]: {
|
|
2580
2652
|
padding: e.marginLG,
|
|
2581
2653
|
"&-title": {
|
|
@@ -2606,10 +2678,19 @@ const {
|
|
|
2606
2678
|
}
|
|
2607
2679
|
}
|
|
2608
2680
|
});
|
|
2609
|
-
function
|
|
2610
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
2681
|
+
function ya(e) {
|
|
2682
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !oe(e);
|
|
2611
2683
|
}
|
|
2612
|
-
const
|
|
2684
|
+
const kt = [];
|
|
2685
|
+
ln.forEach((e) => {
|
|
2686
|
+
rn.forEach((t) => {
|
|
2687
|
+
kt.push({
|
|
2688
|
+
key: `${e}:${t}`,
|
|
2689
|
+
token: {}
|
|
2690
|
+
});
|
|
2691
|
+
});
|
|
2692
|
+
});
|
|
2693
|
+
const ba = /* @__PURE__ */ A({
|
|
2613
2694
|
name: "ThemeEditor",
|
|
2614
2695
|
props: {
|
|
2615
2696
|
settingValue: Object,
|
|
@@ -2618,203 +2699,129 @@ const da = /* @__PURE__ */ j({
|
|
|
2618
2699
|
setup(e) {
|
|
2619
2700
|
const {
|
|
2620
2701
|
getPrefixCls: t
|
|
2621
|
-
} =
|
|
2702
|
+
} = J(), [a, i] = xe("header"), o = t({
|
|
2622
2703
|
suffixCls: "theme-editor",
|
|
2623
2704
|
isPor: !0
|
|
2624
2705
|
}), {
|
|
2625
2706
|
wrapSSR: u,
|
|
2626
|
-
hashId:
|
|
2627
|
-
} =
|
|
2628
|
-
token:
|
|
2629
|
-
} =
|
|
2707
|
+
hashId: f
|
|
2708
|
+
} = ie("ProThemeEditor", [ga], o), {
|
|
2709
|
+
token: b
|
|
2710
|
+
} = ye();
|
|
2711
|
+
function g(l) {
|
|
2712
|
+
const r = Fe(l, b.value);
|
|
2713
|
+
return Be(kt).filter((x) => r[x.key]).map((x) => {
|
|
2714
|
+
var w, S, O;
|
|
2715
|
+
x.token = r[x.key];
|
|
2716
|
+
for (const v in x.token) {
|
|
2717
|
+
const y = ((O = (S = (w = b.value) == null ? void 0 : w.layout) == null ? void 0 : S[l]) == null ? void 0 : O[v]) || x.token[v];
|
|
2718
|
+
x.token[v] = y;
|
|
2719
|
+
}
|
|
2720
|
+
return x;
|
|
2721
|
+
});
|
|
2722
|
+
}
|
|
2723
|
+
const M = He({
|
|
2724
|
+
header: g("header"),
|
|
2725
|
+
sider: g("sider")
|
|
2726
|
+
}), C = m(() => {
|
|
2630
2727
|
var l;
|
|
2631
|
-
return (l =
|
|
2632
|
-
}),
|
|
2633
|
-
var
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
}
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
title: "菜单选中背景",
|
|
2653
|
-
disabled: ((y = e.settingValue) == null ? void 0 : y.theme) === "dark" && ["mix", "wide"].includes((f = e.settingValue) == null ? void 0 : f.layout)
|
|
2654
|
-
}, {
|
|
2655
|
-
key: "colorDarkBgMenuItemSelected",
|
|
2656
|
-
title: "菜单选中背景",
|
|
2657
|
-
disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "light" || ((F = e.settingValue) == null ? void 0 : F.theme) === "dark" && ["side", "simple"].includes((c = e.settingValue) == null ? void 0 : c.layout)
|
|
2658
|
-
}, {
|
|
2659
|
-
key: "colorTextMenu",
|
|
2660
|
-
title: "菜单文字颜色",
|
|
2661
|
-
disabled: ((S = e.settingValue) == null ? void 0 : S.theme) === "dark" && ["mix", "wide"].includes((M = e.settingValue) == null ? void 0 : M.layout)
|
|
2662
|
-
}, {
|
|
2663
|
-
key: "colorDarkTextMenu",
|
|
2664
|
-
title: "菜单文字颜色",
|
|
2665
|
-
disabled: ((B = e.settingValue) == null ? void 0 : B.theme) === "light" || ((P = e.settingValue) == null ? void 0 : P.theme) === "dark" && ["side", "simple"].includes((H = e.settingValue) == null ? void 0 : H.layout)
|
|
2666
|
-
}, {
|
|
2667
|
-
key: "colorTextMenuHover",
|
|
2668
|
-
title: "菜单文字移入颜色",
|
|
2669
|
-
disabled: ((z = e.settingValue) == null ? void 0 : z.theme) === "dark" && ["mix", "wide"].includes((D = e.settingValue) == null ? void 0 : D.layout)
|
|
2670
|
-
}, {
|
|
2671
|
-
key: "colorDarkTextMenuHover",
|
|
2672
|
-
title: "菜单文字移入颜色",
|
|
2673
|
-
disabled: ((V = e.settingValue) == null ? void 0 : V.theme) === "light" || ((_ = e.settingValue) == null ? void 0 : _.theme) === "dark" && ["side", "simple"].includes((G = e.settingValue) == null ? void 0 : G.layout)
|
|
2674
|
-
}, {
|
|
2675
|
-
key: "colorTextMenuSelected",
|
|
2676
|
-
title: "菜单文字选中颜色",
|
|
2677
|
-
disabled: ((Y = e.settingValue) == null ? void 0 : Y.theme) === "dark" && ["mix", "wide"].includes((J = e.settingValue) == null ? void 0 : J.layout)
|
|
2678
|
-
}, {
|
|
2679
|
-
key: "colorDarkTextMenuSelected",
|
|
2680
|
-
title: "菜单文字选中颜色",
|
|
2681
|
-
disabled: ((d = e.settingValue) == null ? void 0 : d.theme) === "light" || ((x = e.settingValue) == null ? void 0 : x.theme) === "dark" && ["side", "simple"].includes((k = e.settingValue) == null ? void 0 : k.layout)
|
|
2682
|
-
}];
|
|
2683
|
-
}), O = b(() => {
|
|
2684
|
-
var l, r, I, R, v, y, f, C, F, c, S, M, B, P, H, z, D, V, _, G, Y, J, d, x, k, $, N, K, W, ge, Ee, Xe;
|
|
2685
|
-
return [{
|
|
2686
|
-
key: "colorBgMenu",
|
|
2687
|
-
title: "全部背景",
|
|
2688
|
-
disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["side", "simple"].includes((r = e.settingValue) == null ? void 0 : r.layout)
|
|
2689
|
-
}, {
|
|
2690
|
-
key: "colorDarkBgMenu",
|
|
2691
|
-
title: "全部背景",
|
|
2692
|
-
disabled: ((I = e.settingValue) == null ? void 0 : I.theme) === "light" || ((R = e.settingValue) == null ? void 0 : R.theme) === "dark" && ["mix", "wide"].includes((v = e.settingValue) == null ? void 0 : v.layout)
|
|
2693
|
-
}, {
|
|
2694
|
-
key: "colorSubItemBg",
|
|
2695
|
-
title: "子菜单背景",
|
|
2696
|
-
disabled: ((y = e.settingValue) == null ? void 0 : y.theme) === "dark" && ["side", "simple"].includes((f = e.settingValue) == null ? void 0 : f.layout)
|
|
2697
|
-
}, {
|
|
2698
|
-
key: "colorDarkSubItemBg",
|
|
2699
|
-
title: "子菜单背景",
|
|
2700
|
-
disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "light" || ((F = e.settingValue) == null ? void 0 : F.theme) === "dark" && ["mix", "wide"].includes((c = e.settingValue) == null ? void 0 : c.layout)
|
|
2701
|
-
}, {
|
|
2702
|
-
key: "colorBgMenuItemHover",
|
|
2703
|
-
title: "菜单移入背景",
|
|
2704
|
-
disabled: ((S = e.settingValue) == null ? void 0 : S.theme) === "dark" && ((M = e.settingValue) == null ? void 0 : M.layout) !== "mix"
|
|
2705
|
-
}, {
|
|
2706
|
-
key: "colorBgMenuItemSelected",
|
|
2707
|
-
title: "菜单选中背景",
|
|
2708
|
-
disabled: ((B = e.settingValue) == null ? void 0 : B.theme) === "dark" && ((P = e.settingValue) == null ? void 0 : P.layout) !== "mix"
|
|
2709
|
-
}, {
|
|
2710
|
-
key: "colorDarkBgMenuItemSelected",
|
|
2711
|
-
title: "菜单选中背景",
|
|
2712
|
-
disabled: ((H = e.settingValue) == null ? void 0 : H.theme) === "light" || ((z = e.settingValue) == null ? void 0 : z.theme) === "dark" && ["mix", "wide"].includes((D = e.settingValue) == null ? void 0 : D.layout)
|
|
2713
|
-
}, {
|
|
2714
|
-
key: "colorTextMenu",
|
|
2715
|
-
title: "菜单文字颜色",
|
|
2716
|
-
disabled: ((V = e.settingValue) == null ? void 0 : V.theme) === "dark" && ((_ = e.settingValue) == null ? void 0 : _.layout) !== "mix"
|
|
2717
|
-
}, {
|
|
2718
|
-
key: "colorDarkTextMenu",
|
|
2719
|
-
title: "菜单文字颜色",
|
|
2720
|
-
disabled: ((G = e.settingValue) == null ? void 0 : G.theme) === "light" || ((Y = e.settingValue) == null ? void 0 : Y.theme) === "dark" && ["mix", "wide"].includes((J = e.settingValue) == null ? void 0 : J.layout)
|
|
2721
|
-
}, {
|
|
2722
|
-
key: "colorTextMenuHover",
|
|
2723
|
-
title: "菜单文字移入颜色",
|
|
2724
|
-
disabled: ((d = e.settingValue) == null ? void 0 : d.theme) === "dark" && ((x = e.settingValue) == null ? void 0 : x.layout) !== "mix"
|
|
2725
|
-
}, {
|
|
2726
|
-
key: "colorDarkTextMenuHover",
|
|
2727
|
-
title: "菜单文字移入颜色",
|
|
2728
|
-
disabled: ((k = e.settingValue) == null ? void 0 : k.theme) === "light" || (($ = e.settingValue) == null ? void 0 : $.theme) === "dark" && ["mix", "wide"].includes((N = e.settingValue) == null ? void 0 : N.layout)
|
|
2729
|
-
}, {
|
|
2730
|
-
key: "colorTextMenuSelected",
|
|
2731
|
-
title: "菜单文字选中颜色",
|
|
2732
|
-
disabled: ((K = e.settingValue) == null ? void 0 : K.theme) === "dark" && ((W = e.settingValue) == null ? void 0 : W.layout) !== "mix"
|
|
2733
|
-
}, {
|
|
2734
|
-
key: "colorDarkTextMenuSelected",
|
|
2735
|
-
title: "菜单文字选中颜色",
|
|
2736
|
-
disabled: ((ge = e.settingValue) == null ? void 0 : ge.theme) === "light" || ((Ee = e.settingValue) == null ? void 0 : Ee.theme) === "dark" && ["mix", "wide"].includes((Xe = e.settingValue) == null ? void 0 : Xe.layout)
|
|
2737
|
-
}];
|
|
2738
|
-
}), h = b(() => a.value === "header" ? p.value : a.value === "sider" ? O.value : []), T = (l) => {
|
|
2739
|
-
var r, I;
|
|
2740
|
-
return (I = (r = w.value) == null ? void 0 : r[a.value]) == null ? void 0 : I[l];
|
|
2728
|
+
return (l = b.value) == null ? void 0 : l.layout;
|
|
2729
|
+
}), d = m(() => {
|
|
2730
|
+
var r;
|
|
2731
|
+
const l = (r = M[a.value].find((x) => {
|
|
2732
|
+
var w;
|
|
2733
|
+
return x.key === ((w = C.value) == null ? void 0 : w.layoutThemeKey);
|
|
2734
|
+
})) == null ? void 0 : r.token;
|
|
2735
|
+
return Object.keys(l || {}).map((x) => {
|
|
2736
|
+
var S;
|
|
2737
|
+
return {
|
|
2738
|
+
title: ((S = ma.find((O) => O.key === x)) == null ? void 0 : S.name) || "",
|
|
2739
|
+
key: x,
|
|
2740
|
+
value: (l == null ? void 0 : l[x]) || ""
|
|
2741
|
+
};
|
|
2742
|
+
});
|
|
2743
|
+
}), F = (l, r) => {
|
|
2744
|
+
var x;
|
|
2745
|
+
M[a.value] = M[a.value].map((w) => {
|
|
2746
|
+
var S;
|
|
2747
|
+
return w.key === ((S = C.value) == null ? void 0 : S.layoutThemeKey) && (w.token[r] = l), w;
|
|
2748
|
+
}), (x = e.onChange) == null || x.call(e, l, a.value, r);
|
|
2741
2749
|
};
|
|
2742
2750
|
return () => {
|
|
2743
|
-
var r,
|
|
2751
|
+
var r, x, w;
|
|
2744
2752
|
let l;
|
|
2745
2753
|
return u(n("div", {
|
|
2746
|
-
class: [o,
|
|
2754
|
+
class: [o, f.value]
|
|
2747
2755
|
}, [n("h3", {
|
|
2748
|
-
class: [`${o}-title`,
|
|
2749
|
-
}, [
|
|
2750
|
-
class: [`${o}-sub-title`,
|
|
2751
|
-
}, [n("span", null, [(r =
|
|
2752
|
-
var
|
|
2753
|
-
return
|
|
2756
|
+
class: [`${o}-title`, f.value]
|
|
2757
|
+
}, [Q("主题编辑器"), n("div", {
|
|
2758
|
+
class: [`${o}-sub-title`, f.value]
|
|
2759
|
+
}, [n("span", null, [(r = $t.find((S) => {
|
|
2760
|
+
var O;
|
|
2761
|
+
return S.key === ((O = e.settingValue) == null ? void 0 : O.theme);
|
|
2754
2762
|
})) == null ? void 0 : r.title]), n("span", {
|
|
2755
2763
|
style: {
|
|
2756
2764
|
marginInline: "8px"
|
|
2757
2765
|
}
|
|
2758
|
-
}, [
|
|
2759
|
-
var
|
|
2760
|
-
return
|
|
2761
|
-
})) == null ? void 0 :
|
|
2762
|
-
class: [`${o}-content`,
|
|
2763
|
-
}, [n(
|
|
2764
|
-
class: `${o}-list ${
|
|
2766
|
+
}, [Q("/")]), n("span", null, [(x = Bt.find((S) => {
|
|
2767
|
+
var O;
|
|
2768
|
+
return S.key === ((O = e.settingValue) == null ? void 0 : O.layout);
|
|
2769
|
+
})) == null ? void 0 : x.title])])]), n("div", {
|
|
2770
|
+
class: [`${o}-content`, f.value]
|
|
2771
|
+
}, [n(ae, {
|
|
2772
|
+
class: `${o}-list ${f.value}`.trim(),
|
|
2765
2773
|
split: !1,
|
|
2766
2774
|
size: "small",
|
|
2767
2775
|
renderItem: ({
|
|
2768
|
-
item:
|
|
2769
|
-
}) => n(
|
|
2770
|
-
actions: [
|
|
2776
|
+
item: S
|
|
2777
|
+
}) => n(ae.Item, {
|
|
2778
|
+
actions: [S.action]
|
|
2771
2779
|
}, {
|
|
2772
2780
|
default: () => [n("span", {
|
|
2773
2781
|
style: {
|
|
2774
|
-
opacity:
|
|
2782
|
+
opacity: S.show ? 1 : 0.5
|
|
2775
2783
|
}
|
|
2776
|
-
}, [
|
|
2784
|
+
}, [S.title])]
|
|
2777
2785
|
}),
|
|
2778
2786
|
dataSource: [{
|
|
2779
2787
|
title: "自定义主题色",
|
|
2780
|
-
action: n(
|
|
2781
|
-
value: (
|
|
2788
|
+
action: n(Je, {
|
|
2789
|
+
value: (w = e.settingValue) == null ? void 0 : w.primaryColor,
|
|
2782
2790
|
actions: ["confirm"],
|
|
2783
2791
|
modes: ["rgb"],
|
|
2784
2792
|
size: "small",
|
|
2785
|
-
onConfirm: (
|
|
2793
|
+
onConfirm: (S) => e.onChange && e.onChange(S, "primaryColor")
|
|
2786
2794
|
}, null)
|
|
2787
2795
|
}]
|
|
2788
|
-
}, null), n(
|
|
2796
|
+
}, null), n(je, {
|
|
2789
2797
|
activeKey: a.value,
|
|
2790
|
-
onChange: (
|
|
2791
|
-
},
|
|
2792
|
-
key:
|
|
2793
|
-
tab:
|
|
2798
|
+
onChange: (S) => i(S)
|
|
2799
|
+
}, ya(l = ca.map((S) => n(Wt, {
|
|
2800
|
+
key: S.key,
|
|
2801
|
+
tab: S.title
|
|
2794
2802
|
}, {
|
|
2795
|
-
default: () => [n(
|
|
2796
|
-
class: `${o}-list ${
|
|
2803
|
+
default: () => [n(ae, {
|
|
2804
|
+
class: `${o}-list ${f.value}`.trim(),
|
|
2797
2805
|
split: !1,
|
|
2798
2806
|
size: "small",
|
|
2799
2807
|
renderItem: ({
|
|
2800
|
-
item:
|
|
2801
|
-
}) => n(
|
|
2802
|
-
actions: [
|
|
2808
|
+
item: O
|
|
2809
|
+
}) => n(ae.Item, {
|
|
2810
|
+
actions: [O.action]
|
|
2803
2811
|
}, {
|
|
2804
2812
|
default: () => [n("span", {
|
|
2805
2813
|
style: {
|
|
2806
|
-
opacity:
|
|
2814
|
+
opacity: O.disabled ? 0.5 : 1
|
|
2807
2815
|
}
|
|
2808
|
-
}, [
|
|
2816
|
+
}, [O.title])]
|
|
2809
2817
|
}),
|
|
2810
|
-
dataSource:
|
|
2811
|
-
...
|
|
2812
|
-
action: n(
|
|
2813
|
-
value:
|
|
2818
|
+
dataSource: d.value.map((O) => ({
|
|
2819
|
+
...O,
|
|
2820
|
+
action: n(Je, {
|
|
2821
|
+
value: O.value,
|
|
2814
2822
|
actions: ["confirm"],
|
|
2815
|
-
modes: ["rgb"],
|
|
2816
2823
|
size: "small",
|
|
2817
|
-
onConfirm: (
|
|
2824
|
+
onConfirm: (v) => F(v, O.key)
|
|
2818
2825
|
}, null)
|
|
2819
2826
|
}))
|
|
2820
2827
|
}, null)]
|
|
@@ -2823,7 +2830,7 @@ const da = /* @__PURE__ */ j({
|
|
|
2823
2830
|
})])]));
|
|
2824
2831
|
};
|
|
2825
2832
|
}
|
|
2826
|
-
}),
|
|
2833
|
+
}), pa = (e) => ({
|
|
2827
2834
|
[e.componentCls]: {
|
|
2828
2835
|
padding: e.marginLG,
|
|
2829
2836
|
"&-title": {
|
|
@@ -2854,12 +2861,12 @@ const da = /* @__PURE__ */ j({
|
|
|
2854
2861
|
}
|
|
2855
2862
|
}
|
|
2856
2863
|
});
|
|
2857
|
-
function
|
|
2858
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
2864
|
+
function ot(e) {
|
|
2865
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !oe(e);
|
|
2859
2866
|
}
|
|
2860
2867
|
const {
|
|
2861
|
-
preset:
|
|
2862
|
-
} =
|
|
2868
|
+
preset: it
|
|
2869
|
+
} = Ee, va = /* @__PURE__ */ A({
|
|
2863
2870
|
name: "OthersChange",
|
|
2864
2871
|
props: {
|
|
2865
2872
|
prefixCls: L.string,
|
|
@@ -2867,77 +2874,77 @@ const {
|
|
|
2867
2874
|
onChange: Function
|
|
2868
2875
|
},
|
|
2869
2876
|
setup(e) {
|
|
2870
|
-
const t =
|
|
2877
|
+
const t = he({
|
|
2871
2878
|
suffixCls: "others",
|
|
2872
2879
|
isPor: !0
|
|
2873
2880
|
}), {
|
|
2874
2881
|
wrapSSR: a,
|
|
2875
2882
|
hashId: i
|
|
2876
|
-
} =
|
|
2883
|
+
} = ie("SettingsDrawOthers", [pa], t);
|
|
2877
2884
|
return () => {
|
|
2878
|
-
var u,
|
|
2885
|
+
var u, f, b, g, M, C, d, F, l, r, x, w, S, O;
|
|
2879
2886
|
let o;
|
|
2880
2887
|
return a(n("div", {
|
|
2881
2888
|
class: [t, i.value]
|
|
2882
2889
|
}, [n("h3", {
|
|
2883
2890
|
class: [`${t}-title`, i.value]
|
|
2884
|
-
}, [
|
|
2891
|
+
}, [Q("页面动画设置")]), n(ae, {
|
|
2885
2892
|
class: `${t}-list ${i.value}`.trim(),
|
|
2886
2893
|
split: !1,
|
|
2887
2894
|
size: "small",
|
|
2888
2895
|
renderItem: ({
|
|
2889
|
-
item:
|
|
2890
|
-
}) => n(
|
|
2891
|
-
title:
|
|
2896
|
+
item: v
|
|
2897
|
+
}) => n(Re, {
|
|
2898
|
+
title: v.disabled ? v.disabledReason : "",
|
|
2892
2899
|
placement: "left"
|
|
2893
2900
|
}, {
|
|
2894
|
-
default: () => [n(
|
|
2895
|
-
actions: [
|
|
2901
|
+
default: () => [n(ae.Item, {
|
|
2902
|
+
actions: [v.action]
|
|
2896
2903
|
}, {
|
|
2897
2904
|
default: () => [n("span", {
|
|
2898
2905
|
style: {
|
|
2899
|
-
opacity:
|
|
2906
|
+
opacity: v.disabled ? 0.5 : 1
|
|
2900
2907
|
}
|
|
2901
|
-
}, [
|
|
2908
|
+
}, [v.title])]
|
|
2902
2909
|
})]
|
|
2903
2910
|
}),
|
|
2904
2911
|
dataSource: [{
|
|
2905
2912
|
title: "禁用动画",
|
|
2906
|
-
action: n(
|
|
2907
|
-
checked: !((
|
|
2913
|
+
action: n(dt, {
|
|
2914
|
+
checked: !((f = (u = e.settingValue) == null ? void 0 : u.animate) != null && f.disabled),
|
|
2908
2915
|
size: "small",
|
|
2909
|
-
onChange: (
|
|
2910
|
-
var
|
|
2911
|
-
return (
|
|
2916
|
+
onChange: (v) => {
|
|
2917
|
+
var y;
|
|
2918
|
+
return (y = e.onChange) == null ? void 0 : y.call(e, "animate", "disabled", !v);
|
|
2912
2919
|
}
|
|
2913
2920
|
}, null)
|
|
2914
2921
|
}, {
|
|
2915
2922
|
title: "动画效果",
|
|
2916
|
-
disabled: (
|
|
2917
|
-
action: n(
|
|
2918
|
-
value: (
|
|
2923
|
+
disabled: (g = (b = e.settingValue) == null ? void 0 : b.animate) == null ? void 0 : g.disabled,
|
|
2924
|
+
action: n(be, {
|
|
2925
|
+
value: (C = (M = e.settingValue) == null ? void 0 : M.animate) == null ? void 0 : C.name,
|
|
2919
2926
|
style: {
|
|
2920
2927
|
width: "100px"
|
|
2921
2928
|
},
|
|
2922
2929
|
size: "small",
|
|
2923
|
-
disabled: (
|
|
2924
|
-
getPopupContainer: (
|
|
2925
|
-
onChange: (
|
|
2926
|
-
var
|
|
2927
|
-
return (
|
|
2930
|
+
disabled: (F = (d = e.settingValue) == null ? void 0 : d.animate) == null ? void 0 : F.disabled,
|
|
2931
|
+
getPopupContainer: (v) => v && v.parentNode ? v.parentNode : v,
|
|
2932
|
+
onChange: (v) => {
|
|
2933
|
+
var y;
|
|
2934
|
+
return (y = e.onChange) == null ? void 0 : y.call(e, "animate", "name", v);
|
|
2928
2935
|
}
|
|
2929
|
-
},
|
|
2930
|
-
value:
|
|
2936
|
+
}, ot(o = it.map((v) => n(be.Option, {
|
|
2937
|
+
value: v.name
|
|
2931
2938
|
}, {
|
|
2932
|
-
default: () => [
|
|
2939
|
+
default: () => [v.alias]
|
|
2933
2940
|
}))) ? o : {
|
|
2934
2941
|
default: () => [o]
|
|
2935
2942
|
})
|
|
2936
2943
|
}, {
|
|
2937
2944
|
title: "动画方向",
|
|
2938
2945
|
disabled: (r = (l = e.settingValue) == null ? void 0 : l.animate) == null ? void 0 : r.disabled,
|
|
2939
|
-
action: n(
|
|
2940
|
-
value: (
|
|
2946
|
+
action: n(be, {
|
|
2947
|
+
value: (w = (x = e.settingValue) == null ? void 0 : x.animate) == null ? void 0 : w.direction,
|
|
2941
2948
|
style: {
|
|
2942
2949
|
width: "100px"
|
|
2943
2950
|
},
|
|
@@ -2945,22 +2952,22 @@ const {
|
|
|
2945
2952
|
dropdownStyle: {
|
|
2946
2953
|
minWidth: "120px"
|
|
2947
2954
|
},
|
|
2948
|
-
disabled: (
|
|
2949
|
-
getPopupContainer: (
|
|
2950
|
-
onChange: (
|
|
2951
|
-
var
|
|
2952
|
-
return (
|
|
2955
|
+
disabled: (O = (S = e.settingValue) == null ? void 0 : S.animate) == null ? void 0 : O.disabled,
|
|
2956
|
+
getPopupContainer: (v) => v && v.parentNode ? v.parentNode : v,
|
|
2957
|
+
onChange: (v) => {
|
|
2958
|
+
var y;
|
|
2959
|
+
return (y = e.onChange) == null ? void 0 : y.call(e, "animate", "direction", v);
|
|
2953
2960
|
}
|
|
2954
2961
|
}, {
|
|
2955
2962
|
default: () => {
|
|
2956
|
-
var
|
|
2957
|
-
return [(
|
|
2958
|
-
var
|
|
2959
|
-
return
|
|
2960
|
-
})) == null ? void 0 :
|
|
2961
|
-
value:
|
|
2962
|
-
},
|
|
2963
|
-
default: () => [
|
|
2963
|
+
var v;
|
|
2964
|
+
return [(v = it.find((y) => {
|
|
2965
|
+
var T, h;
|
|
2966
|
+
return y.name === ((h = (T = e.settingValue) == null ? void 0 : T.animate) == null ? void 0 : h.name);
|
|
2967
|
+
})) == null ? void 0 : v.directions.map((y) => n(be.Option, {
|
|
2968
|
+
value: y
|
|
2969
|
+
}, ot(y) ? y : {
|
|
2970
|
+
default: () => [y]
|
|
2964
2971
|
}))];
|
|
2965
2972
|
}
|
|
2966
2973
|
})
|
|
@@ -2969,11 +2976,11 @@ const {
|
|
|
2969
2976
|
};
|
|
2970
2977
|
}
|
|
2971
2978
|
}), {
|
|
2972
|
-
preset:
|
|
2973
|
-
} =
|
|
2979
|
+
preset: Ca
|
|
2980
|
+
} = Ee, ze = Object.keys(K).filter((e) => e !== "title"), lt = {
|
|
2974
2981
|
color: "#fff",
|
|
2975
2982
|
fontSize: 20
|
|
2976
|
-
},
|
|
2983
|
+
}, xa = [{
|
|
2977
2984
|
label: "fixedHeader",
|
|
2978
2985
|
title: "固定 Header"
|
|
2979
2986
|
}, {
|
|
@@ -2982,16 +2989,16 @@ const {
|
|
|
2982
2989
|
}, {
|
|
2983
2990
|
label: "splitMenus",
|
|
2984
2991
|
title: "自动分割菜单"
|
|
2985
|
-
}],
|
|
2992
|
+
}], wa = [{
|
|
2986
2993
|
label: "showTabsBar",
|
|
2987
2994
|
title: "多标签"
|
|
2988
2995
|
}, {
|
|
2989
2996
|
label: "fixedMultiTab",
|
|
2990
2997
|
title: "固定多标签"
|
|
2991
|
-
}],
|
|
2992
|
-
...
|
|
2998
|
+
}], rt = (e) => an() ? {
|
|
2999
|
+
...re(K, ze),
|
|
2993
3000
|
...e || {}
|
|
2994
|
-
} :
|
|
3001
|
+
} : Be(K), ve = (e, {
|
|
2995
3002
|
slots: t
|
|
2996
3003
|
}) => {
|
|
2997
3004
|
var a;
|
|
@@ -3002,7 +3009,7 @@ const {
|
|
|
3002
3009
|
}, [n("h3", {
|
|
3003
3010
|
class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
|
|
3004
3011
|
}, [e.title]), (a = t.default) == null ? void 0 : a.call(t)]);
|
|
3005
|
-
},
|
|
3012
|
+
}, zi = /* @__PURE__ */ A({
|
|
3006
3013
|
name: "SettingDrawer",
|
|
3007
3014
|
props: {
|
|
3008
3015
|
themeOnly: Boolean,
|
|
@@ -3015,7 +3022,7 @@ const {
|
|
|
3015
3022
|
},
|
|
3016
3023
|
colorList: {
|
|
3017
3024
|
type: [Boolean, Array],
|
|
3018
|
-
default: () =>
|
|
3025
|
+
default: () => sn
|
|
3019
3026
|
},
|
|
3020
3027
|
onChange: Function,
|
|
3021
3028
|
onChangeLayout: Function
|
|
@@ -3024,48 +3031,48 @@ const {
|
|
|
3024
3031
|
setup(e) {
|
|
3025
3032
|
const {
|
|
3026
3033
|
getPrefixCls: t
|
|
3027
|
-
} =
|
|
3034
|
+
} = J(), a = t({
|
|
3028
3035
|
suffixCls: "setting-drawer",
|
|
3029
3036
|
isPor: !0
|
|
3030
3037
|
}), {
|
|
3031
3038
|
wrapSSR: i,
|
|
3032
3039
|
hashId: o
|
|
3033
|
-
} =
|
|
3034
|
-
value:
|
|
3040
|
+
} = ie("ProSettingDraw", [fa], a), u = we(!1), [f, b] = xe(!1), [g, M] = xe(!1), [C, d] = xe(!1), F = m(() => rt(re(e.settings, ze))), [l, r] = mn(() => rt(re(e.settings, ze)), {
|
|
3041
|
+
value: F,
|
|
3035
3042
|
onChange: e.onChange
|
|
3036
|
-
}),
|
|
3037
|
-
copy:
|
|
3038
|
-
copied:
|
|
3039
|
-
isSupported:
|
|
3040
|
-
} =
|
|
3041
|
-
|
|
3043
|
+
}), x = m(() => e.colorList && ft(e.colorList) ? e.colorList : []), w = m(() => $n(j(l))), {
|
|
3044
|
+
copy: S,
|
|
3045
|
+
copied: O,
|
|
3046
|
+
isSupported: v
|
|
3047
|
+
} = gn();
|
|
3048
|
+
ce(f, () => {
|
|
3042
3049
|
u.value || (u.value = !0);
|
|
3043
3050
|
});
|
|
3044
|
-
const
|
|
3045
|
-
var
|
|
3046
|
-
const
|
|
3047
|
-
if (
|
|
3048
|
-
|
|
3051
|
+
const y = (h, p, P) => {
|
|
3052
|
+
var B, U;
|
|
3053
|
+
const k = ["header", "sider"], N = {};
|
|
3054
|
+
if (P && k.includes(h)) {
|
|
3055
|
+
N[h] = {}, N[h][P] = p, e.onChangeLayout && e.onChangeLayout(re(N, k));
|
|
3049
3056
|
return;
|
|
3050
3057
|
} else
|
|
3051
|
-
|
|
3052
|
-
if (
|
|
3053
|
-
const
|
|
3054
|
-
|
|
3058
|
+
h === "animate" ? (N[h] = {}, N[h][P] = p, P === "name" && (N[h].direction = (U = (B = Ca.find((z) => z.name === p)) == null ? void 0 : B.directions) == null ? void 0 : U[0])) : N[h] = p;
|
|
3059
|
+
if (h === "colorWeak") {
|
|
3060
|
+
const z = document.querySelector("body");
|
|
3061
|
+
z && (z.dataset.prosettingdrawer = p === !0 ? z.style.filter : z.dataset.prosettingdrawer || "none", p === !0 && (z.dataset.prosettingdrawer = z.style.filter), z.style.filter = p === !0 ? "invert(80%)" : z.dataset.prosettingdrawer || "none", p || delete z.dataset.prosettingdrawer);
|
|
3055
3062
|
}
|
|
3056
|
-
r(
|
|
3057
|
-
...
|
|
3063
|
+
r(gt(j(l), {
|
|
3064
|
+
...Fn(Ue(N, k))
|
|
3058
3065
|
}));
|
|
3059
|
-
},
|
|
3060
|
-
|
|
3066
|
+
}, T = () => {
|
|
3067
|
+
v.value && S(JSON.stringify(j(l)));
|
|
3061
3068
|
};
|
|
3062
|
-
return
|
|
3063
|
-
|
|
3064
|
-
}), () => i(n(
|
|
3069
|
+
return ce(O, (h) => {
|
|
3070
|
+
h && Ut.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
|
|
3071
|
+
}), () => i(n(Ce, {
|
|
3065
3072
|
width: 300,
|
|
3066
3073
|
closable: !1,
|
|
3067
|
-
open:
|
|
3068
|
-
rootClassName: `${a} ${o.value} ${
|
|
3074
|
+
open: f.value,
|
|
3075
|
+
rootClassName: `${a} ${o.value} ${f.value && `${a}-show`} ${!u.value && `${a}-trantion-none`}`,
|
|
3069
3076
|
placement: "right",
|
|
3070
3077
|
rootStyle: {
|
|
3071
3078
|
zIndex: 999
|
|
@@ -3073,159 +3080,159 @@ const {
|
|
|
3073
3080
|
bodyStyle: {
|
|
3074
3081
|
padding: 0
|
|
3075
3082
|
},
|
|
3076
|
-
onClose: () =>
|
|
3083
|
+
onClose: () => b(!1),
|
|
3077
3084
|
handle: n("div", {
|
|
3078
3085
|
class: [`${a}-handle`, o.value],
|
|
3079
|
-
onClick: () =>
|
|
3080
|
-
}, [
|
|
3081
|
-
style:
|
|
3082
|
-
}, null) : n(
|
|
3083
|
-
style:
|
|
3086
|
+
onClick: () => b(!f.value)
|
|
3087
|
+
}, [f.value ? n(ct, {
|
|
3088
|
+
style: lt
|
|
3089
|
+
}, null) : n(Qt, {
|
|
3090
|
+
style: lt
|
|
3084
3091
|
}, null)])
|
|
3085
3092
|
}, {
|
|
3086
3093
|
default: () => [n("div", {
|
|
3087
3094
|
class: [`${a}-wrapper`, o.value]
|
|
3088
|
-
}, [n(
|
|
3095
|
+
}, [n(yn, null, {
|
|
3089
3096
|
default: () => [n("div", {
|
|
3090
3097
|
class: [`${a}-content`, o.value]
|
|
3091
|
-
}, [n(
|
|
3098
|
+
}, [n(ve, {
|
|
3092
3099
|
prefixCls: a,
|
|
3093
3100
|
hashId: o.value,
|
|
3094
3101
|
title: "整体风格设置"
|
|
3095
3102
|
}, {
|
|
3096
|
-
default: () => [n(
|
|
3103
|
+
default: () => [n(at, {
|
|
3097
3104
|
hashId: o.value,
|
|
3098
3105
|
prefixCls: a,
|
|
3099
|
-
list:
|
|
3106
|
+
list: $t,
|
|
3100
3107
|
value: l.value.theme,
|
|
3101
3108
|
configType: "theme",
|
|
3102
3109
|
key: "navTheme",
|
|
3103
|
-
onChange: (
|
|
3110
|
+
onChange: (h) => y("theme", h)
|
|
3104
3111
|
}, null)]
|
|
3105
|
-
}), n(
|
|
3112
|
+
}), n(ve, {
|
|
3106
3113
|
hashId: o.value,
|
|
3107
|
-
title: n("span", null, [
|
|
3114
|
+
title: n("span", null, [Q("主题色"), n("a", {
|
|
3108
3115
|
style: {
|
|
3109
3116
|
fontSize: "12px"
|
|
3110
3117
|
},
|
|
3111
|
-
onClick: () =>
|
|
3112
|
-
}, [
|
|
3118
|
+
onClick: () => M(!0)
|
|
3119
|
+
}, [Q("更多配置")])]),
|
|
3113
3120
|
prefixCls: a
|
|
3114
3121
|
}, {
|
|
3115
|
-
default: () => [n(
|
|
3122
|
+
default: () => [n(ha, {
|
|
3116
3123
|
hashId: o.value,
|
|
3117
3124
|
prefixCls: a,
|
|
3118
|
-
colorList:
|
|
3125
|
+
colorList: x.value,
|
|
3119
3126
|
settingValue: l.value,
|
|
3120
|
-
onChange: (
|
|
3127
|
+
onChange: (h, p) => y(p || "primaryColor", h)
|
|
3121
3128
|
}, null)]
|
|
3122
|
-
}), !e.themeOnly && n(
|
|
3129
|
+
}), !e.themeOnly && n(Z, null, [n(Te, null, null), n(ve, {
|
|
3123
3130
|
hashId: o.value,
|
|
3124
3131
|
prefixCls: a,
|
|
3125
3132
|
title: "导航模式"
|
|
3126
3133
|
}, {
|
|
3127
|
-
default: () => [n(
|
|
3134
|
+
default: () => [n(at, {
|
|
3128
3135
|
prefixCls: a,
|
|
3129
|
-
value:
|
|
3136
|
+
value: j(l).layout,
|
|
3130
3137
|
key: "layout",
|
|
3131
3138
|
hashId: o.value,
|
|
3132
3139
|
configType: "layout",
|
|
3133
|
-
list:
|
|
3134
|
-
onChange: (
|
|
3140
|
+
list: Bt,
|
|
3141
|
+
onChange: (h) => y("layout", h)
|
|
3135
3142
|
}, null)]
|
|
3136
|
-
}),
|
|
3137
|
-
label:
|
|
3138
|
-
title:
|
|
3139
|
-
}) => n(
|
|
3140
|
-
label:
|
|
3141
|
-
disabled:
|
|
3142
|
-
value:
|
|
3143
|
+
}), xa.map(({
|
|
3144
|
+
label: h,
|
|
3145
|
+
title: p
|
|
3146
|
+
}) => n(pe, {
|
|
3147
|
+
label: p,
|
|
3148
|
+
disabled: j(w)[h],
|
|
3149
|
+
value: j(l)[h],
|
|
3143
3150
|
prefixCls: a,
|
|
3144
3151
|
hashId: o.value,
|
|
3145
|
-
valueKey:
|
|
3146
|
-
onChange: (
|
|
3147
|
-
}, null)), n(
|
|
3152
|
+
valueKey: h,
|
|
3153
|
+
onChange: (P, k) => y(P, k)
|
|
3154
|
+
}, null)), n(Te, null, null), n(ve, {
|
|
3148
3155
|
hashId: o.value,
|
|
3149
3156
|
prefixCls: a,
|
|
3150
|
-
title: n("span", null, [
|
|
3157
|
+
title: n("span", null, [Q("其他设置"), n("a", {
|
|
3151
3158
|
style: {
|
|
3152
3159
|
fontSize: "12px"
|
|
3153
3160
|
},
|
|
3154
|
-
onClick: () =>
|
|
3155
|
-
}, [
|
|
3161
|
+
onClick: () => d(!0)
|
|
3162
|
+
}, [Q("更多配置")])])
|
|
3156
3163
|
}, {
|
|
3157
|
-
default: () => [
|
|
3158
|
-
label:
|
|
3159
|
-
title:
|
|
3160
|
-
}) => n(
|
|
3161
|
-
label:
|
|
3162
|
-
disabled:
|
|
3163
|
-
value:
|
|
3164
|
+
default: () => [wa.map(({
|
|
3165
|
+
label: h,
|
|
3166
|
+
title: p
|
|
3167
|
+
}) => n(pe, {
|
|
3168
|
+
label: p,
|
|
3169
|
+
disabled: j(w)[h],
|
|
3170
|
+
value: j(l)[h],
|
|
3164
3171
|
prefixCls: a,
|
|
3165
3172
|
hashId: o.value,
|
|
3166
|
-
valueKey:
|
|
3167
|
-
onChange: (
|
|
3168
|
-
}, null)), e.weakmode && n(
|
|
3173
|
+
valueKey: h,
|
|
3174
|
+
onChange: (P, k) => y(P, k)
|
|
3175
|
+
}, null)), e.weakmode && n(pe, {
|
|
3169
3176
|
label: "色弱模式",
|
|
3170
|
-
value:
|
|
3177
|
+
value: j(l).colorWeak,
|
|
3171
3178
|
prefixCls: a,
|
|
3172
3179
|
hashId: o.value,
|
|
3173
3180
|
valueKey: "colorWeak",
|
|
3174
|
-
onChange: (
|
|
3175
|
-
}, null), e.showProgress && n(
|
|
3181
|
+
onChange: (h, p) => y(h, p)
|
|
3182
|
+
}, null), e.showProgress && n(pe, {
|
|
3176
3183
|
label: "顶部进度条",
|
|
3177
|
-
value:
|
|
3184
|
+
value: j(l).showProgressBar,
|
|
3178
3185
|
prefixCls: a,
|
|
3179
3186
|
hashId: o.value,
|
|
3180
3187
|
valueKey: "showProgressBar",
|
|
3181
|
-
onChange: (
|
|
3188
|
+
onChange: (h, p) => y(h, p)
|
|
3182
3189
|
}, null)]
|
|
3183
|
-
})]), e.hideHintAlert && e.hideCopyButton ? null : n(
|
|
3190
|
+
})]), e.hideHintAlert && e.hideCopyButton ? null : n(Te, null, null), e.hideHintAlert ? null : n(Et, {
|
|
3184
3191
|
type: "warning",
|
|
3185
3192
|
message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
|
|
3186
|
-
icon: n(
|
|
3193
|
+
icon: n(en, null, null),
|
|
3187
3194
|
showIcon: !0,
|
|
3188
3195
|
style: {
|
|
3189
3196
|
marginBottom: "16px"
|
|
3190
3197
|
}
|
|
3191
|
-
}, null), e.hideCopyButton ? null : n(
|
|
3192
|
-
onClick: () =>
|
|
3198
|
+
}, null), e.hideCopyButton ? null : n(Xt, {
|
|
3199
|
+
onClick: () => T(),
|
|
3193
3200
|
block: !0
|
|
3194
3201
|
}, {
|
|
3195
|
-
default: () => [n(
|
|
3202
|
+
default: () => [n(tn, null, null), Q("拷贝设置")]
|
|
3196
3203
|
})])]
|
|
3197
|
-
})]), n(
|
|
3204
|
+
})]), n(Ce, {
|
|
3198
3205
|
width: 320,
|
|
3199
3206
|
closable: !1,
|
|
3200
3207
|
placement: "right",
|
|
3201
|
-
open:
|
|
3208
|
+
open: g.value,
|
|
3202
3209
|
bodyStyle: {
|
|
3203
3210
|
padding: 0
|
|
3204
3211
|
},
|
|
3205
|
-
onClose: () =>
|
|
3212
|
+
onClose: () => M(!1)
|
|
3206
3213
|
}, {
|
|
3207
|
-
default: () => [n(
|
|
3214
|
+
default: () => [n(ba, {
|
|
3208
3215
|
settingValue: l.value,
|
|
3209
|
-
onChange: (
|
|
3216
|
+
onChange: (h, p, P) => y(p || "primaryColor", h, P)
|
|
3210
3217
|
}, null)]
|
|
3211
|
-
}), n(
|
|
3218
|
+
}), n(Ce, {
|
|
3212
3219
|
width: 320,
|
|
3213
3220
|
closable: !1,
|
|
3214
3221
|
placement: "right",
|
|
3215
|
-
open:
|
|
3222
|
+
open: C.value,
|
|
3216
3223
|
bodyStyle: {
|
|
3217
3224
|
padding: 0
|
|
3218
3225
|
},
|
|
3219
|
-
onClose: () =>
|
|
3226
|
+
onClose: () => d(!1)
|
|
3220
3227
|
}, {
|
|
3221
|
-
default: () => [n(
|
|
3228
|
+
default: () => [n(va, {
|
|
3222
3229
|
settingValue: l.value,
|
|
3223
|
-
onChange: (
|
|
3230
|
+
onChange: (h, p, P) => y(h, P, p)
|
|
3224
3231
|
}, null)]
|
|
3225
3232
|
})]
|
|
3226
3233
|
}));
|
|
3227
3234
|
}
|
|
3228
|
-
}),
|
|
3235
|
+
}), Sa = new s("backInLeft", {
|
|
3229
3236
|
"0%": {
|
|
3230
3237
|
opacity: 0.7,
|
|
3231
3238
|
transform: "translateX(-2000px) scale(0.7)"
|
|
@@ -3238,7 +3245,7 @@ const {
|
|
|
3238
3245
|
opacity: 1,
|
|
3239
3246
|
transform: "scale(1)"
|
|
3240
3247
|
}
|
|
3241
|
-
}),
|
|
3248
|
+
}), Ia = new s("backInRight", {
|
|
3242
3249
|
"0%": {
|
|
3243
3250
|
opacity: 0.7,
|
|
3244
3251
|
transform: "translateX(2000px) scale(0.7)"
|
|
@@ -3251,7 +3258,7 @@ const {
|
|
|
3251
3258
|
opacity: 1,
|
|
3252
3259
|
transform: "scale(1)"
|
|
3253
3260
|
}
|
|
3254
|
-
}),
|
|
3261
|
+
}), Ma = new s("backInUp", {
|
|
3255
3262
|
"0%": {
|
|
3256
3263
|
opacity: 0.7,
|
|
3257
3264
|
transform: "translateY(1200px) scale(0.7)"
|
|
@@ -3264,7 +3271,7 @@ const {
|
|
|
3264
3271
|
opacity: 1,
|
|
3265
3272
|
transform: "scale(1)"
|
|
3266
3273
|
}
|
|
3267
|
-
}),
|
|
3274
|
+
}), Oa = new s("backInDown", {
|
|
3268
3275
|
"0%": {
|
|
3269
3276
|
opacity: 0.7,
|
|
3270
3277
|
transform: "translateY(-1200px) scale(0.7)"
|
|
@@ -3277,7 +3284,7 @@ const {
|
|
|
3277
3284
|
opacity: 1,
|
|
3278
3285
|
transform: "scale(1)"
|
|
3279
3286
|
}
|
|
3280
|
-
}),
|
|
3287
|
+
}), Ra = new s("backOutLeft", {
|
|
3281
3288
|
"0%": {
|
|
3282
3289
|
opacity: 1,
|
|
3283
3290
|
transform: "scale(1)"
|
|
@@ -3290,7 +3297,7 @@ const {
|
|
|
3290
3297
|
opacity: 0.7,
|
|
3291
3298
|
transform: "translateX(-2000px) scale(0.7)"
|
|
3292
3299
|
}
|
|
3293
|
-
}),
|
|
3300
|
+
}), Fa = new s("backOutRight", {
|
|
3294
3301
|
"0%": {
|
|
3295
3302
|
opacity: 1,
|
|
3296
3303
|
transform: "scale(1)"
|
|
@@ -3303,7 +3310,7 @@ const {
|
|
|
3303
3310
|
opacity: 0.7,
|
|
3304
3311
|
transform: "translateX(2000px) scale(0.7)"
|
|
3305
3312
|
}
|
|
3306
|
-
}),
|
|
3313
|
+
}), $a = new s("backOutUp", {
|
|
3307
3314
|
"0%": {
|
|
3308
3315
|
opacity: 1,
|
|
3309
3316
|
transform: "scale(1)"
|
|
@@ -3316,7 +3323,7 @@ const {
|
|
|
3316
3323
|
opacity: 0.7,
|
|
3317
3324
|
transform: "translateY(-700px) scale(0.7)"
|
|
3318
3325
|
}
|
|
3319
|
-
}),
|
|
3326
|
+
}), Ba = new s("backOutDown", {
|
|
3320
3327
|
"0%": {
|
|
3321
3328
|
opacity: 1,
|
|
3322
3329
|
transform: "scale(1)"
|
|
@@ -3329,41 +3336,41 @@ const {
|
|
|
3329
3336
|
opacity: 0.7,
|
|
3330
3337
|
transform: "translateY(700px) scale(0.7)"
|
|
3331
3338
|
}
|
|
3332
|
-
}),
|
|
3339
|
+
}), ka = () => ({
|
|
3333
3340
|
"&.backInLeft": {
|
|
3334
3341
|
animationFillMode: "both",
|
|
3335
|
-
animationName:
|
|
3342
|
+
animationName: Sa
|
|
3336
3343
|
},
|
|
3337
3344
|
"&.backInRight": {
|
|
3338
3345
|
animationFillMode: "both",
|
|
3339
|
-
animationName:
|
|
3346
|
+
animationName: Ia
|
|
3340
3347
|
},
|
|
3341
3348
|
"&.backInUp": {
|
|
3342
3349
|
animationFillMode: "both",
|
|
3343
|
-
animationName:
|
|
3350
|
+
animationName: Ma
|
|
3344
3351
|
},
|
|
3345
3352
|
"&.backInDown": {
|
|
3346
3353
|
animationFillMode: "both",
|
|
3347
|
-
animationName:
|
|
3354
|
+
animationName: Oa
|
|
3348
3355
|
}
|
|
3349
|
-
}),
|
|
3356
|
+
}), Ta = () => ({
|
|
3350
3357
|
"&.backOutLeft": {
|
|
3351
3358
|
animationFillMode: "both",
|
|
3352
|
-
animationName:
|
|
3359
|
+
animationName: Ra
|
|
3353
3360
|
},
|
|
3354
3361
|
"&.backOutRight": {
|
|
3355
3362
|
animationFillMode: "both",
|
|
3356
|
-
animationName:
|
|
3363
|
+
animationName: Fa
|
|
3357
3364
|
},
|
|
3358
3365
|
"&.backOutUp": {
|
|
3359
3366
|
animationFillMode: "both",
|
|
3360
|
-
animationName:
|
|
3367
|
+
animationName: $a
|
|
3361
3368
|
},
|
|
3362
3369
|
"&.backOutDown": {
|
|
3363
3370
|
animationFillMode: "both",
|
|
3364
|
-
animationName:
|
|
3371
|
+
animationName: Ba
|
|
3365
3372
|
}
|
|
3366
|
-
}),
|
|
3373
|
+
}), Pa = new s("bounceIn", {
|
|
3367
3374
|
"from,20%,40%,60%,80%,to": {
|
|
3368
3375
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
3369
3376
|
},
|
|
@@ -3387,7 +3394,7 @@ const {
|
|
|
3387
3394
|
opacity: 1,
|
|
3388
3395
|
transform: "scale3d(1, 1, 1)"
|
|
3389
3396
|
}
|
|
3390
|
-
}),
|
|
3397
|
+
}), La = new s("bounceInLeft", {
|
|
3391
3398
|
"from,60%,75%,90%,to": {
|
|
3392
3399
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
3393
3400
|
},
|
|
@@ -3408,7 +3415,7 @@ const {
|
|
|
3408
3415
|
to: {
|
|
3409
3416
|
transform: "translate3d(0, 0, 0)"
|
|
3410
3417
|
}
|
|
3411
|
-
}),
|
|
3418
|
+
}), Da = new s("bounceInRight", {
|
|
3412
3419
|
"from,60%,75%,90%,to": {
|
|
3413
3420
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
3414
3421
|
},
|
|
@@ -3429,7 +3436,7 @@ const {
|
|
|
3429
3436
|
to: {
|
|
3430
3437
|
transform: "translate3d(0, 0, 0)"
|
|
3431
3438
|
}
|
|
3432
|
-
}),
|
|
3439
|
+
}), Na = new s("bounceInDown", {
|
|
3433
3440
|
"from,60%,75%,90%,to": {
|
|
3434
3441
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
3435
3442
|
},
|
|
@@ -3450,7 +3457,7 @@ const {
|
|
|
3450
3457
|
to: {
|
|
3451
3458
|
transform: "translate3d(0, 0, 0)"
|
|
3452
3459
|
}
|
|
3453
|
-
}),
|
|
3460
|
+
}), za = new s("bounceInUp", {
|
|
3454
3461
|
"from,60%,75%,90%,to": {
|
|
3455
3462
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
3456
3463
|
},
|
|
@@ -3471,7 +3478,7 @@ const {
|
|
|
3471
3478
|
to: {
|
|
3472
3479
|
transform: "translate3d(0, 0, 0)"
|
|
3473
3480
|
}
|
|
3474
|
-
}),
|
|
3481
|
+
}), Ha = new s("bounceOut", {
|
|
3475
3482
|
"20%": {
|
|
3476
3483
|
transform: "scale3d(0.9, 0.9, 0.9)"
|
|
3477
3484
|
},
|
|
@@ -3485,7 +3492,7 @@ const {
|
|
|
3485
3492
|
opacity: 0,
|
|
3486
3493
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
3487
3494
|
}
|
|
3488
|
-
}),
|
|
3495
|
+
}), Ka = new s("bounceOutLeft", {
|
|
3489
3496
|
"20%": {
|
|
3490
3497
|
opacity: 1,
|
|
3491
3498
|
transform: "translate3d(20px, 0, 0) scaleX(0.9)"
|
|
@@ -3494,7 +3501,7 @@ const {
|
|
|
3494
3501
|
opacity: 0,
|
|
3495
3502
|
transform: "translate3d(-2000px, 0, 0) scaleX(2)"
|
|
3496
3503
|
}
|
|
3497
|
-
}),
|
|
3504
|
+
}), ja = new s("bounceOutRight", {
|
|
3498
3505
|
"20%": {
|
|
3499
3506
|
opacity: 1,
|
|
3500
3507
|
transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
|
|
@@ -3503,7 +3510,7 @@ const {
|
|
|
3503
3510
|
opacity: 0,
|
|
3504
3511
|
transform: "translate3d(2000px, 0, 0) scaleX(2)"
|
|
3505
3512
|
}
|
|
3506
|
-
}),
|
|
3513
|
+
}), Aa = new s("bounceOutDown", {
|
|
3507
3514
|
"20%": {
|
|
3508
3515
|
transform: "translate3d(0, 10px, 0) scaleY(0.985)"
|
|
3509
3516
|
},
|
|
@@ -3515,7 +3522,7 @@ const {
|
|
|
3515
3522
|
opacity: 0,
|
|
3516
3523
|
transform: "translate3d(0, 2000px, 0) scaleY(3)"
|
|
3517
3524
|
}
|
|
3518
|
-
}),
|
|
3525
|
+
}), Wa = new s("bounceOutUp", {
|
|
3519
3526
|
"20%": {
|
|
3520
3527
|
transform: "translate3d(0, -10px, 0) scaleY(0.985)"
|
|
3521
3528
|
},
|
|
@@ -3527,58 +3534,58 @@ const {
|
|
|
3527
3534
|
opacity: 0,
|
|
3528
3535
|
transform: "translate3d(0, -2000px, 0) scaleY(3)"
|
|
3529
3536
|
}
|
|
3530
|
-
}),
|
|
3537
|
+
}), Ua = () => ({
|
|
3531
3538
|
"&.bounceIn": {
|
|
3532
3539
|
animationFillMode: "both",
|
|
3533
3540
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
3534
|
-
animationName:
|
|
3541
|
+
animationName: Pa
|
|
3535
3542
|
},
|
|
3536
3543
|
"&.bounceInLeft": {
|
|
3537
3544
|
animationFillMode: "both",
|
|
3538
|
-
animationName:
|
|
3545
|
+
animationName: La
|
|
3539
3546
|
},
|
|
3540
3547
|
"&.bounceInRight": {
|
|
3541
3548
|
animationFillMode: "both",
|
|
3542
|
-
animationName:
|
|
3549
|
+
animationName: Da
|
|
3543
3550
|
},
|
|
3544
3551
|
"&.bounceInDown": {
|
|
3545
3552
|
animationFillMode: "both",
|
|
3546
|
-
animationName:
|
|
3553
|
+
animationName: Na
|
|
3547
3554
|
},
|
|
3548
3555
|
"&.bounceInUp": {
|
|
3549
3556
|
animationFillMode: "both",
|
|
3550
|
-
animationName:
|
|
3557
|
+
animationName: za
|
|
3551
3558
|
}
|
|
3552
|
-
}),
|
|
3559
|
+
}), Ea = () => ({
|
|
3553
3560
|
"&.bounceOut": {
|
|
3554
3561
|
animationFillMode: "both",
|
|
3555
3562
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
3556
|
-
animationName:
|
|
3563
|
+
animationName: Ha
|
|
3557
3564
|
},
|
|
3558
3565
|
"&.bounceOutLeft": {
|
|
3559
3566
|
animationFillMode: "both",
|
|
3560
|
-
animationName:
|
|
3567
|
+
animationName: Ka
|
|
3561
3568
|
},
|
|
3562
3569
|
"&.bounceOutRight": {
|
|
3563
3570
|
animationFillMode: "both",
|
|
3564
|
-
animationName:
|
|
3571
|
+
animationName: ja
|
|
3565
3572
|
},
|
|
3566
3573
|
"&.bounceOutDown": {
|
|
3567
3574
|
animationFillMode: "both",
|
|
3568
|
-
animationName:
|
|
3575
|
+
animationName: Aa
|
|
3569
3576
|
},
|
|
3570
3577
|
"&.bounceOutUp": {
|
|
3571
3578
|
animationFillMode: "both",
|
|
3572
|
-
animationName:
|
|
3579
|
+
animationName: Wa
|
|
3573
3580
|
}
|
|
3574
|
-
}),
|
|
3581
|
+
}), Xa = new s("fadeIn", {
|
|
3575
3582
|
from: {
|
|
3576
3583
|
opacity: 0
|
|
3577
3584
|
},
|
|
3578
3585
|
to: {
|
|
3579
3586
|
opacity: 1
|
|
3580
3587
|
}
|
|
3581
|
-
}),
|
|
3588
|
+
}), Ya = new s("fadeInLeft", {
|
|
3582
3589
|
from: {
|
|
3583
3590
|
opacity: 0,
|
|
3584
3591
|
transform: "translate3d(-100%, 0, 0)"
|
|
@@ -3587,7 +3594,7 @@ const {
|
|
|
3587
3594
|
opacity: 1,
|
|
3588
3595
|
transform: "translate3d(0, 0, 0)"
|
|
3589
3596
|
}
|
|
3590
|
-
}),
|
|
3597
|
+
}), Va = new s("fadeInRight", {
|
|
3591
3598
|
from: {
|
|
3592
3599
|
opacity: 0,
|
|
3593
3600
|
transform: "translate3d(100%, 0, 0)"
|
|
@@ -3596,7 +3603,7 @@ const {
|
|
|
3596
3603
|
opacity: 1,
|
|
3597
3604
|
transform: "translate3d(0, 0, 0)"
|
|
3598
3605
|
}
|
|
3599
|
-
}),
|
|
3606
|
+
}), _a = new s("fadeInDown", {
|
|
3600
3607
|
from: {
|
|
3601
3608
|
opacity: 0,
|
|
3602
3609
|
transform: "translate3d(0, -100%, 0)"
|
|
@@ -3605,7 +3612,7 @@ const {
|
|
|
3605
3612
|
opacity: 1,
|
|
3606
3613
|
transform: "translate3d(0, 0, 0)"
|
|
3607
3614
|
}
|
|
3608
|
-
}),
|
|
3615
|
+
}), Ga = new s("fadeInUp", {
|
|
3609
3616
|
from: {
|
|
3610
3617
|
opacity: 0,
|
|
3611
3618
|
transform: "translate3d(0, 100%, 0)"
|
|
@@ -3614,7 +3621,7 @@ const {
|
|
|
3614
3621
|
opacity: 1,
|
|
3615
3622
|
transform: "translate3d(0, 0, 0)"
|
|
3616
3623
|
}
|
|
3617
|
-
}),
|
|
3624
|
+
}), qa = new s("fadeInDownBig", {
|
|
3618
3625
|
from: {
|
|
3619
3626
|
opacity: 0,
|
|
3620
3627
|
transform: "translate3d(0, -2000px, 0)"
|
|
@@ -3623,7 +3630,7 @@ const {
|
|
|
3623
3630
|
opacity: 1,
|
|
3624
3631
|
transform: "translate3d(0, 0, 0)"
|
|
3625
3632
|
}
|
|
3626
|
-
}),
|
|
3633
|
+
}), Za = new s("fadeInUpBig", {
|
|
3627
3634
|
from: {
|
|
3628
3635
|
opacity: 0,
|
|
3629
3636
|
transform: "translate3d(0, 2000px, 0)"
|
|
@@ -3632,7 +3639,7 @@ const {
|
|
|
3632
3639
|
opacity: 1,
|
|
3633
3640
|
transform: "translate3d(0, 0, 0)"
|
|
3634
3641
|
}
|
|
3635
|
-
}),
|
|
3642
|
+
}), Ja = new s("fadeInLeftBig", {
|
|
3636
3643
|
from: {
|
|
3637
3644
|
opacity: 0,
|
|
3638
3645
|
transform: "translate3d(-2000px, 0, 0)"
|
|
@@ -3641,7 +3648,7 @@ const {
|
|
|
3641
3648
|
opacity: 1,
|
|
3642
3649
|
transform: "translate3d(0, 0, 0)"
|
|
3643
3650
|
}
|
|
3644
|
-
}),
|
|
3651
|
+
}), Qa = new s("fadeInRightBig", {
|
|
3645
3652
|
from: {
|
|
3646
3653
|
opacity: 0,
|
|
3647
3654
|
transform: "translate3d(2000px, 0, 0)"
|
|
@@ -3650,7 +3657,7 @@ const {
|
|
|
3650
3657
|
opacity: 1,
|
|
3651
3658
|
transform: "translate3d(0, 0, 0)"
|
|
3652
3659
|
}
|
|
3653
|
-
}),
|
|
3660
|
+
}), eo = new s("fadeInTopLeft", {
|
|
3654
3661
|
from: {
|
|
3655
3662
|
opacity: 0,
|
|
3656
3663
|
transform: "translate3d(-100%, -100%, 0)"
|
|
@@ -3659,7 +3666,7 @@ const {
|
|
|
3659
3666
|
opacity: 1,
|
|
3660
3667
|
transform: "translate3d(0, 0, 0)"
|
|
3661
3668
|
}
|
|
3662
|
-
}),
|
|
3669
|
+
}), to = new s("fadeInBottomRight", {
|
|
3663
3670
|
from: {
|
|
3664
3671
|
opacity: 0,
|
|
3665
3672
|
transform: "translate3d(100%, 100%, 0)"
|
|
@@ -3668,7 +3675,7 @@ const {
|
|
|
3668
3675
|
opacity: 1,
|
|
3669
3676
|
transform: "translate3d(0, 0, 0)"
|
|
3670
3677
|
}
|
|
3671
|
-
}),
|
|
3678
|
+
}), no = new s("fadeInTopRight", {
|
|
3672
3679
|
from: {
|
|
3673
3680
|
opacity: 0,
|
|
3674
3681
|
transform: "translate3d(100%, -100%, 0)"
|
|
@@ -3677,7 +3684,7 @@ const {
|
|
|
3677
3684
|
opacity: 1,
|
|
3678
3685
|
transform: "translate3d(0, 0, 0)"
|
|
3679
3686
|
}
|
|
3680
|
-
}),
|
|
3687
|
+
}), ao = new s("fadeInBottomLeft", {
|
|
3681
3688
|
from: {
|
|
3682
3689
|
opacity: 0,
|
|
3683
3690
|
transform: "translate3d(-100%, 100%, 0)"
|
|
@@ -3686,14 +3693,14 @@ const {
|
|
|
3686
3693
|
opacity: 1,
|
|
3687
3694
|
transform: "translate3d(0, 0, 0)"
|
|
3688
3695
|
}
|
|
3689
|
-
}),
|
|
3696
|
+
}), oo = new s("fadeOut", {
|
|
3690
3697
|
from: {
|
|
3691
3698
|
opacity: 1
|
|
3692
3699
|
},
|
|
3693
3700
|
to: {
|
|
3694
3701
|
opacity: 0
|
|
3695
3702
|
}
|
|
3696
|
-
}),
|
|
3703
|
+
}), io = new s("fadeOutLeft", {
|
|
3697
3704
|
from: {
|
|
3698
3705
|
opacity: 1
|
|
3699
3706
|
},
|
|
@@ -3701,7 +3708,7 @@ const {
|
|
|
3701
3708
|
opacity: 0,
|
|
3702
3709
|
transform: "translate3d(-100%, 0, 0)"
|
|
3703
3710
|
}
|
|
3704
|
-
}),
|
|
3711
|
+
}), lo = new s("fadeOutRight", {
|
|
3705
3712
|
from: {
|
|
3706
3713
|
opacity: 1
|
|
3707
3714
|
},
|
|
@@ -3709,7 +3716,7 @@ const {
|
|
|
3709
3716
|
opacity: 0,
|
|
3710
3717
|
transform: "translate3d(100%, 0, 0)"
|
|
3711
3718
|
}
|
|
3712
|
-
}),
|
|
3719
|
+
}), ro = new s("fadeOutDown", {
|
|
3713
3720
|
from: {
|
|
3714
3721
|
opacity: 1
|
|
3715
3722
|
},
|
|
@@ -3717,7 +3724,7 @@ const {
|
|
|
3717
3724
|
opacity: 0,
|
|
3718
3725
|
transform: "translate3d(0, 100%, 0)"
|
|
3719
3726
|
}
|
|
3720
|
-
}),
|
|
3727
|
+
}), so = new s("fadeOutUp", {
|
|
3721
3728
|
from: {
|
|
3722
3729
|
opacity: 1
|
|
3723
3730
|
},
|
|
@@ -3725,7 +3732,7 @@ const {
|
|
|
3725
3732
|
opacity: 0,
|
|
3726
3733
|
transform: "translate3d(0, -100%, 0)"
|
|
3727
3734
|
}
|
|
3728
|
-
}),
|
|
3735
|
+
}), uo = new s("fadeOutDownBig", {
|
|
3729
3736
|
from: {
|
|
3730
3737
|
opacity: 1
|
|
3731
3738
|
},
|
|
@@ -3733,7 +3740,7 @@ const {
|
|
|
3733
3740
|
opacity: 0,
|
|
3734
3741
|
transform: "translate3d(0, 2000px, 0)"
|
|
3735
3742
|
}
|
|
3736
|
-
}),
|
|
3743
|
+
}), co = new s("fadeOutUpBig", {
|
|
3737
3744
|
from: {
|
|
3738
3745
|
opacity: 1
|
|
3739
3746
|
},
|
|
@@ -3741,7 +3748,7 @@ const {
|
|
|
3741
3748
|
opacity: 0,
|
|
3742
3749
|
transform: "translate3d(0, -2000px, 0)"
|
|
3743
3750
|
}
|
|
3744
|
-
}),
|
|
3751
|
+
}), mo = new s("fadeOutLeftBig", {
|
|
3745
3752
|
from: {
|
|
3746
3753
|
opacity: 1
|
|
3747
3754
|
},
|
|
@@ -3749,7 +3756,7 @@ const {
|
|
|
3749
3756
|
opacity: 0,
|
|
3750
3757
|
transform: "translate3d(-2000px, 0, 0)"
|
|
3751
3758
|
}
|
|
3752
|
-
}),
|
|
3759
|
+
}), fo = new s("fadeOutRightBig", {
|
|
3753
3760
|
from: {
|
|
3754
3761
|
opacity: 1
|
|
3755
3762
|
},
|
|
@@ -3757,7 +3764,7 @@ const {
|
|
|
3757
3764
|
opacity: 0,
|
|
3758
3765
|
transform: "translate3d(2000px, 0, 0)"
|
|
3759
3766
|
}
|
|
3760
|
-
}),
|
|
3767
|
+
}), ho = new s("fadeOutTopLeft", {
|
|
3761
3768
|
from: {
|
|
3762
3769
|
opacity: 1,
|
|
3763
3770
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -3766,7 +3773,7 @@ const {
|
|
|
3766
3773
|
opacity: 0,
|
|
3767
3774
|
transform: "translate3d(-100%, -100%, 0)"
|
|
3768
3775
|
}
|
|
3769
|
-
}),
|
|
3776
|
+
}), go = new s("fadeOutBottomRight", {
|
|
3770
3777
|
from: {
|
|
3771
3778
|
opacity: 1,
|
|
3772
3779
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -3775,7 +3782,7 @@ const {
|
|
|
3775
3782
|
opacity: 0,
|
|
3776
3783
|
transform: "translate3d(100%, 100%, 0)"
|
|
3777
3784
|
}
|
|
3778
|
-
}),
|
|
3785
|
+
}), yo = new s("fadeOutTopRight", {
|
|
3779
3786
|
from: {
|
|
3780
3787
|
opacity: 1,
|
|
3781
3788
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -3784,7 +3791,7 @@ const {
|
|
|
3784
3791
|
opacity: 0,
|
|
3785
3792
|
transform: "translate3d(100%, -100%, 0)"
|
|
3786
3793
|
}
|
|
3787
|
-
}),
|
|
3794
|
+
}), bo = new s("fadeOutBottomLeft", {
|
|
3788
3795
|
from: {
|
|
3789
3796
|
opacity: 1,
|
|
3790
3797
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -3793,113 +3800,113 @@ const {
|
|
|
3793
3800
|
opacity: 0,
|
|
3794
3801
|
transform: "translate3d(-100%, 100%, 0)"
|
|
3795
3802
|
}
|
|
3796
|
-
}),
|
|
3803
|
+
}), po = () => ({
|
|
3797
3804
|
"&.fadeIn": {
|
|
3798
3805
|
animationFillMode: "both",
|
|
3799
|
-
animationName:
|
|
3806
|
+
animationName: Xa
|
|
3800
3807
|
},
|
|
3801
3808
|
"&.fadeInLeft": {
|
|
3802
3809
|
animationFillMode: "both",
|
|
3803
|
-
animationName:
|
|
3810
|
+
animationName: Ya
|
|
3804
3811
|
},
|
|
3805
3812
|
"&.fadeInRight": {
|
|
3806
3813
|
animationFillMode: "both",
|
|
3807
|
-
animationName:
|
|
3814
|
+
animationName: Va
|
|
3808
3815
|
},
|
|
3809
3816
|
"&.fadeInDown": {
|
|
3810
3817
|
animationFillMode: "both",
|
|
3811
|
-
animationName:
|
|
3818
|
+
animationName: _a
|
|
3812
3819
|
},
|
|
3813
3820
|
"&.fadeInUp": {
|
|
3814
3821
|
animationFillMode: "both",
|
|
3815
|
-
animationName:
|
|
3822
|
+
animationName: Ga
|
|
3816
3823
|
},
|
|
3817
3824
|
"&.fadeInLeftBig": {
|
|
3818
3825
|
animationFillMode: "both",
|
|
3819
|
-
animationName:
|
|
3826
|
+
animationName: Ja
|
|
3820
3827
|
},
|
|
3821
3828
|
"&.fadeInRightBig": {
|
|
3822
3829
|
animationFillMode: "both",
|
|
3823
|
-
animationName:
|
|
3830
|
+
animationName: Qa
|
|
3824
3831
|
},
|
|
3825
3832
|
"&.fadeInUpBig": {
|
|
3826
3833
|
animationFillMode: "both",
|
|
3827
|
-
animationName:
|
|
3834
|
+
animationName: Za
|
|
3828
3835
|
},
|
|
3829
3836
|
"&.fadeInDownBig": {
|
|
3830
3837
|
animationFillMode: "both",
|
|
3831
|
-
animationName:
|
|
3838
|
+
animationName: qa
|
|
3832
3839
|
},
|
|
3833
3840
|
"&.fadeInTopLeft": {
|
|
3834
3841
|
animationFillMode: "both",
|
|
3835
|
-
animationName:
|
|
3842
|
+
animationName: eo
|
|
3836
3843
|
},
|
|
3837
3844
|
"&.fadeInBottomRight": {
|
|
3838
3845
|
animationFillMode: "both",
|
|
3839
|
-
animationName:
|
|
3846
|
+
animationName: to
|
|
3840
3847
|
},
|
|
3841
3848
|
"&.fadeInTopRight": {
|
|
3842
3849
|
animationFillMode: "both",
|
|
3843
|
-
animationName:
|
|
3850
|
+
animationName: no
|
|
3844
3851
|
},
|
|
3845
3852
|
"&.fadeInBottomLeft": {
|
|
3846
3853
|
animationFillMode: "both",
|
|
3847
|
-
animationName:
|
|
3854
|
+
animationName: ao
|
|
3848
3855
|
}
|
|
3849
|
-
}),
|
|
3856
|
+
}), vo = () => ({
|
|
3850
3857
|
"&.fadeOut": {
|
|
3851
3858
|
animationFillMode: "both",
|
|
3852
|
-
animationName:
|
|
3859
|
+
animationName: oo
|
|
3853
3860
|
},
|
|
3854
3861
|
"&.fadeOutLeft": {
|
|
3855
3862
|
animationFillMode: "both",
|
|
3856
|
-
animationName:
|
|
3863
|
+
animationName: io
|
|
3857
3864
|
},
|
|
3858
3865
|
"&.fadeOutRight": {
|
|
3859
3866
|
animationFillMode: "both",
|
|
3860
|
-
animationName:
|
|
3867
|
+
animationName: lo
|
|
3861
3868
|
},
|
|
3862
3869
|
"&.fadeOutDown": {
|
|
3863
3870
|
animationFillMode: "both",
|
|
3864
|
-
animationName:
|
|
3871
|
+
animationName: ro
|
|
3865
3872
|
},
|
|
3866
3873
|
"&.fadeOutUp": {
|
|
3867
3874
|
animationFillMode: "both",
|
|
3868
|
-
animationName:
|
|
3875
|
+
animationName: so
|
|
3869
3876
|
},
|
|
3870
3877
|
"&.fadeOutDownBig": {
|
|
3871
3878
|
animationFillMode: "both",
|
|
3872
|
-
animationName:
|
|
3879
|
+
animationName: uo
|
|
3873
3880
|
},
|
|
3874
3881
|
"&.fadeOutUpBig": {
|
|
3875
3882
|
animationFillMode: "both",
|
|
3876
|
-
animationName:
|
|
3883
|
+
animationName: co
|
|
3877
3884
|
},
|
|
3878
3885
|
"&.fadeOutLeftBig": {
|
|
3879
3886
|
animationFillMode: "both",
|
|
3880
|
-
animationName:
|
|
3887
|
+
animationName: mo
|
|
3881
3888
|
},
|
|
3882
3889
|
"&.fadeOutRightBig": {
|
|
3883
3890
|
animationFillMode: "both",
|
|
3884
|
-
animationName:
|
|
3891
|
+
animationName: fo
|
|
3885
3892
|
},
|
|
3886
3893
|
"&.fadeOutTopLeft": {
|
|
3887
3894
|
animationFillMode: "both",
|
|
3888
|
-
animationName:
|
|
3895
|
+
animationName: ho
|
|
3889
3896
|
},
|
|
3890
3897
|
"&.fadeOutBottomRight": {
|
|
3891
3898
|
animationFillMode: "both",
|
|
3892
|
-
animationName:
|
|
3899
|
+
animationName: go
|
|
3893
3900
|
},
|
|
3894
3901
|
"&.fadeOutTopRight": {
|
|
3895
3902
|
animationFillMode: "both",
|
|
3896
|
-
animationName:
|
|
3903
|
+
animationName: yo
|
|
3897
3904
|
},
|
|
3898
3905
|
"&.fadeOutBottomLeft": {
|
|
3899
3906
|
animationFillMode: "both",
|
|
3900
|
-
animationName:
|
|
3907
|
+
animationName: bo
|
|
3901
3908
|
}
|
|
3902
|
-
}),
|
|
3909
|
+
}), Co = new s("flipInX", {
|
|
3903
3910
|
from: {
|
|
3904
3911
|
opacity: 0,
|
|
3905
3912
|
animationTimingFunction: "ease-in",
|
|
@@ -3919,7 +3926,7 @@ const {
|
|
|
3919
3926
|
to: {
|
|
3920
3927
|
transform: "perspective(400px)"
|
|
3921
3928
|
}
|
|
3922
|
-
}),
|
|
3929
|
+
}), xo = new s("flipInY", {
|
|
3923
3930
|
from: {
|
|
3924
3931
|
opacity: 0,
|
|
3925
3932
|
animationTimingFunction: "ease-in",
|
|
@@ -3939,7 +3946,7 @@ const {
|
|
|
3939
3946
|
to: {
|
|
3940
3947
|
transform: "perspective(400px)"
|
|
3941
3948
|
}
|
|
3942
|
-
}),
|
|
3949
|
+
}), wo = new s("flipOutX", {
|
|
3943
3950
|
from: {
|
|
3944
3951
|
transform: "perspective(400px)"
|
|
3945
3952
|
},
|
|
@@ -3951,7 +3958,7 @@ const {
|
|
|
3951
3958
|
opacity: 0,
|
|
3952
3959
|
transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
|
|
3953
3960
|
}
|
|
3954
|
-
}),
|
|
3961
|
+
}), So = new s("flipOutY", {
|
|
3955
3962
|
from: {
|
|
3956
3963
|
transform: "perspective(400px)"
|
|
3957
3964
|
},
|
|
@@ -3963,31 +3970,31 @@ const {
|
|
|
3963
3970
|
opacity: 0,
|
|
3964
3971
|
transform: "perspective(400px) rotate3d(0, 1, 0, 90deg)"
|
|
3965
3972
|
}
|
|
3966
|
-
}),
|
|
3973
|
+
}), Io = () => ({
|
|
3967
3974
|
"&.flipInX": {
|
|
3968
3975
|
animationFillMode: "both",
|
|
3969
3976
|
backfaceVisibility: "visible !important",
|
|
3970
|
-
animationName:
|
|
3977
|
+
animationName: Co
|
|
3971
3978
|
},
|
|
3972
3979
|
"&.flipInY": {
|
|
3973
3980
|
animationFillMode: "both",
|
|
3974
3981
|
backfaceVisibility: "visible !important",
|
|
3975
|
-
animationName:
|
|
3982
|
+
animationName: xo
|
|
3976
3983
|
}
|
|
3977
|
-
}),
|
|
3984
|
+
}), Mo = () => ({
|
|
3978
3985
|
"&.flipOutX": {
|
|
3979
3986
|
animationFillMode: "both",
|
|
3980
3987
|
backfaceVisibility: "visible !important",
|
|
3981
3988
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
3982
|
-
animationName:
|
|
3989
|
+
animationName: wo
|
|
3983
3990
|
},
|
|
3984
3991
|
"&.flipOutY": {
|
|
3985
3992
|
animationFillMode: "both",
|
|
3986
3993
|
backfaceVisibility: "visible !important",
|
|
3987
3994
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
3988
|
-
animationName:
|
|
3995
|
+
animationName: So
|
|
3989
3996
|
}
|
|
3990
|
-
}),
|
|
3997
|
+
}), Oo = new s("lightSpeedInLeft", {
|
|
3991
3998
|
from: {
|
|
3992
3999
|
opacity: 0,
|
|
3993
4000
|
transform: "translate3d(-100%, 0, 0) skewX(30deg)"
|
|
@@ -4002,7 +4009,7 @@ const {
|
|
|
4002
4009
|
to: {
|
|
4003
4010
|
transform: "translate3d(0, 0, 0)"
|
|
4004
4011
|
}
|
|
4005
|
-
}),
|
|
4012
|
+
}), Ro = new s("lightSpeedInRight", {
|
|
4006
4013
|
from: {
|
|
4007
4014
|
opacity: 0,
|
|
4008
4015
|
transform: "translate3d(100%, 0, 0) skewX(-30deg)"
|
|
@@ -4017,7 +4024,7 @@ const {
|
|
|
4017
4024
|
to: {
|
|
4018
4025
|
transform: "translate3d(0, 0, 0)"
|
|
4019
4026
|
}
|
|
4020
|
-
}),
|
|
4027
|
+
}), Fo = new s("lightSpeedOutLeft", {
|
|
4021
4028
|
from: {
|
|
4022
4029
|
opacity: 1
|
|
4023
4030
|
},
|
|
@@ -4025,7 +4032,7 @@ const {
|
|
|
4025
4032
|
opacity: 0,
|
|
4026
4033
|
transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
|
|
4027
4034
|
}
|
|
4028
|
-
}),
|
|
4035
|
+
}), $o = new s("lightSpeedOutRight", {
|
|
4029
4036
|
from: {
|
|
4030
4037
|
opacity: 1
|
|
4031
4038
|
},
|
|
@@ -4033,29 +4040,29 @@ const {
|
|
|
4033
4040
|
opacity: 0,
|
|
4034
4041
|
transform: "translate3d(100%, 0, 0) skewX(30deg)"
|
|
4035
4042
|
}
|
|
4036
|
-
}),
|
|
4043
|
+
}), Bo = () => ({
|
|
4037
4044
|
"&.lightSpeedInLeft": {
|
|
4038
4045
|
animationFillMode: "both",
|
|
4039
4046
|
animationTimingFunction: "ease-out",
|
|
4040
|
-
animationName:
|
|
4047
|
+
animationName: Oo
|
|
4041
4048
|
},
|
|
4042
4049
|
"&.lightSpeedInRight": {
|
|
4043
4050
|
animationFillMode: "both",
|
|
4044
4051
|
animationTimingFunction: "ease-out",
|
|
4045
|
-
animationName:
|
|
4052
|
+
animationName: Ro
|
|
4046
4053
|
}
|
|
4047
|
-
}),
|
|
4054
|
+
}), ko = () => ({
|
|
4048
4055
|
"&.lightSpeedOutLeft": {
|
|
4049
4056
|
animationFillMode: "both",
|
|
4050
4057
|
animationTimingFunction: "ease-in",
|
|
4051
|
-
animationName:
|
|
4058
|
+
animationName: Fo
|
|
4052
4059
|
},
|
|
4053
4060
|
"&.lightSpeedOutRight": {
|
|
4054
4061
|
animationFillMode: "both",
|
|
4055
4062
|
animationTimingFunction: "ease-in",
|
|
4056
|
-
animationName:
|
|
4063
|
+
animationName: $o
|
|
4057
4064
|
}
|
|
4058
|
-
}),
|
|
4065
|
+
}), To = new s("rotateIn", {
|
|
4059
4066
|
from: {
|
|
4060
4067
|
opacity: 0,
|
|
4061
4068
|
transform: "rotate3d(0, 0, 1, -200deg)"
|
|
@@ -4064,7 +4071,7 @@ const {
|
|
|
4064
4071
|
opacity: 1,
|
|
4065
4072
|
transform: "translate3d(0, 0, 0)"
|
|
4066
4073
|
}
|
|
4067
|
-
}),
|
|
4074
|
+
}), Po = new s("rotateInDownLeft", {
|
|
4068
4075
|
from: {
|
|
4069
4076
|
opacity: 0,
|
|
4070
4077
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
@@ -4073,7 +4080,7 @@ const {
|
|
|
4073
4080
|
opacity: 1,
|
|
4074
4081
|
transform: "translate3d(0, 0, 0)"
|
|
4075
4082
|
}
|
|
4076
|
-
}),
|
|
4083
|
+
}), Lo = new s("rotateInDownRight", {
|
|
4077
4084
|
from: {
|
|
4078
4085
|
opacity: 0,
|
|
4079
4086
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -4082,7 +4089,7 @@ const {
|
|
|
4082
4089
|
opacity: 1,
|
|
4083
4090
|
transform: "translate3d(0, 0, 0)"
|
|
4084
4091
|
}
|
|
4085
|
-
}),
|
|
4092
|
+
}), Do = new s("rotateInUpLeft", {
|
|
4086
4093
|
from: {
|
|
4087
4094
|
opacity: 0,
|
|
4088
4095
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -4091,7 +4098,7 @@ const {
|
|
|
4091
4098
|
opacity: 1,
|
|
4092
4099
|
transform: "translate3d(0, 0, 0)"
|
|
4093
4100
|
}
|
|
4094
|
-
}),
|
|
4101
|
+
}), No = new s("rotateInUpRight", {
|
|
4095
4102
|
from: {
|
|
4096
4103
|
opacity: 0,
|
|
4097
4104
|
transform: "rotate3d(0, 0, 1, -90deg)"
|
|
@@ -4100,7 +4107,7 @@ const {
|
|
|
4100
4107
|
opacity: 1,
|
|
4101
4108
|
transform: "translate3d(0, 0, 0)"
|
|
4102
4109
|
}
|
|
4103
|
-
}),
|
|
4110
|
+
}), zo = new s("rotateOut", {
|
|
4104
4111
|
from: {
|
|
4105
4112
|
opacity: 1
|
|
4106
4113
|
},
|
|
@@ -4108,7 +4115,7 @@ const {
|
|
|
4108
4115
|
opacity: 0,
|
|
4109
4116
|
transform: "rotate3d(0, 0, 1, 200deg)"
|
|
4110
4117
|
}
|
|
4111
|
-
}),
|
|
4118
|
+
}), Ho = new s("rotateOutDownLeft", {
|
|
4112
4119
|
from: {
|
|
4113
4120
|
opacity: 1
|
|
4114
4121
|
},
|
|
@@ -4116,7 +4123,7 @@ const {
|
|
|
4116
4123
|
opacity: 0,
|
|
4117
4124
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
4118
4125
|
}
|
|
4119
|
-
}),
|
|
4126
|
+
}), Ko = new s("rotateOutDownRight", {
|
|
4120
4127
|
from: {
|
|
4121
4128
|
opacity: 1
|
|
4122
4129
|
},
|
|
@@ -4124,7 +4131,7 @@ const {
|
|
|
4124
4131
|
opacity: 0,
|
|
4125
4132
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
4126
4133
|
}
|
|
4127
|
-
}),
|
|
4134
|
+
}), jo = new s("rotateOutUpLeft", {
|
|
4128
4135
|
from: {
|
|
4129
4136
|
opacity: 1
|
|
4130
4137
|
},
|
|
@@ -4132,7 +4139,7 @@ const {
|
|
|
4132
4139
|
opacity: 0,
|
|
4133
4140
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
4134
4141
|
}
|
|
4135
|
-
}),
|
|
4142
|
+
}), Ao = new s("rotateOutUpRight", {
|
|
4136
4143
|
from: {
|
|
4137
4144
|
opacity: 1
|
|
4138
4145
|
},
|
|
@@ -4140,59 +4147,59 @@ const {
|
|
|
4140
4147
|
opacity: 0,
|
|
4141
4148
|
transform: "rotate3d(0, 0, 1, 90deg)"
|
|
4142
4149
|
}
|
|
4143
|
-
}),
|
|
4150
|
+
}), Wo = () => ({
|
|
4144
4151
|
"&.rotateIn": {
|
|
4145
4152
|
animationFillMode: "both",
|
|
4146
4153
|
transformOrigin: "center",
|
|
4147
|
-
animationName:
|
|
4154
|
+
animationName: To
|
|
4148
4155
|
},
|
|
4149
4156
|
"&.rotateInDownLeft": {
|
|
4150
4157
|
animationFillMode: "both",
|
|
4151
4158
|
transformOrigin: "left bottom",
|
|
4152
|
-
animationName:
|
|
4159
|
+
animationName: Po
|
|
4153
4160
|
},
|
|
4154
4161
|
"&.rotateInDownRight": {
|
|
4155
4162
|
animationFillMode: "both",
|
|
4156
4163
|
transformOrigin: "right bottom",
|
|
4157
|
-
animationName:
|
|
4164
|
+
animationName: Lo
|
|
4158
4165
|
},
|
|
4159
4166
|
"&.rotateInUpLeft": {
|
|
4160
4167
|
animationFillMode: "both",
|
|
4161
4168
|
transformOrigin: "left bottom",
|
|
4162
|
-
animationName:
|
|
4169
|
+
animationName: Do
|
|
4163
4170
|
},
|
|
4164
4171
|
"&.rotateInUpRight": {
|
|
4165
4172
|
animationFillMode: "both",
|
|
4166
4173
|
transformOrigin: "right bottom",
|
|
4167
|
-
animationName:
|
|
4174
|
+
animationName: No
|
|
4168
4175
|
}
|
|
4169
|
-
}),
|
|
4176
|
+
}), Uo = () => ({
|
|
4170
4177
|
"&.rotateOut": {
|
|
4171
4178
|
animationFillMode: "both",
|
|
4172
4179
|
transformOrigin: "center",
|
|
4173
|
-
animationName:
|
|
4180
|
+
animationName: zo
|
|
4174
4181
|
},
|
|
4175
4182
|
"&.rotateOutDownLeft": {
|
|
4176
4183
|
animationFillMode: "both",
|
|
4177
4184
|
transformOrigin: "left bottom",
|
|
4178
|
-
animationName:
|
|
4185
|
+
animationName: Ho
|
|
4179
4186
|
},
|
|
4180
4187
|
"&.rotateOutDownRight": {
|
|
4181
4188
|
animationFillMode: "both",
|
|
4182
4189
|
transformOrigin: "right bottom",
|
|
4183
|
-
animationName:
|
|
4190
|
+
animationName: Ko
|
|
4184
4191
|
},
|
|
4185
4192
|
"&.rotateOutUpLeft": {
|
|
4186
4193
|
animationFillMode: "both",
|
|
4187
4194
|
transformOrigin: "left bottom",
|
|
4188
|
-
animationName:
|
|
4195
|
+
animationName: jo
|
|
4189
4196
|
},
|
|
4190
4197
|
"&.rotateOutUpRight": {
|
|
4191
4198
|
animationFillMode: "both",
|
|
4192
4199
|
transformOrigin: "right bottom",
|
|
4193
|
-
animationName:
|
|
4200
|
+
animationName: Ao
|
|
4194
4201
|
}
|
|
4195
|
-
}),
|
|
4202
|
+
}), Eo = new s("rollIn", {
|
|
4196
4203
|
from: {
|
|
4197
4204
|
opacity: 0,
|
|
4198
4205
|
transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
|
|
@@ -4201,7 +4208,7 @@ const {
|
|
|
4201
4208
|
opacity: 1,
|
|
4202
4209
|
transform: "translate3d(0, 0, 0)"
|
|
4203
4210
|
}
|
|
4204
|
-
}),
|
|
4211
|
+
}), Xo = new s("rollOut", {
|
|
4205
4212
|
from: {
|
|
4206
4213
|
opacity: 1
|
|
4207
4214
|
},
|
|
@@ -4209,17 +4216,17 @@ const {
|
|
|
4209
4216
|
opacity: 0,
|
|
4210
4217
|
transform: "translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"
|
|
4211
4218
|
}
|
|
4212
|
-
}),
|
|
4219
|
+
}), Yo = () => ({
|
|
4213
4220
|
"&.rollIn": {
|
|
4214
4221
|
animationFillMode: "both",
|
|
4215
|
-
animationName:
|
|
4222
|
+
animationName: Eo
|
|
4216
4223
|
}
|
|
4217
|
-
}),
|
|
4224
|
+
}), Vo = () => ({
|
|
4218
4225
|
"&.rollOut": {
|
|
4219
4226
|
animationFillMode: "both",
|
|
4220
|
-
animationName:
|
|
4227
|
+
animationName: Xo
|
|
4221
4228
|
}
|
|
4222
|
-
}),
|
|
4229
|
+
}), _o = new s("zoomIn", {
|
|
4223
4230
|
from: {
|
|
4224
4231
|
opacity: 0,
|
|
4225
4232
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
@@ -4227,7 +4234,7 @@ const {
|
|
|
4227
4234
|
"50%": {
|
|
4228
4235
|
opacity: 1
|
|
4229
4236
|
}
|
|
4230
|
-
}),
|
|
4237
|
+
}), Go = new s("zoomInDown", {
|
|
4231
4238
|
from: {
|
|
4232
4239
|
opacity: 0,
|
|
4233
4240
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
|
|
@@ -4238,7 +4245,7 @@ const {
|
|
|
4238
4245
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
4239
4246
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
4240
4247
|
}
|
|
4241
|
-
}),
|
|
4248
|
+
}), qo = new s("zoomInLeft", {
|
|
4242
4249
|
from: {
|
|
4243
4250
|
opacity: 0,
|
|
4244
4251
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
|
|
@@ -4249,7 +4256,7 @@ const {
|
|
|
4249
4256
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
|
|
4250
4257
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
4251
4258
|
}
|
|
4252
|
-
}),
|
|
4259
|
+
}), Zo = new s("zoomInRight", {
|
|
4253
4260
|
from: {
|
|
4254
4261
|
opacity: 0,
|
|
4255
4262
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
|
|
@@ -4260,7 +4267,7 @@ const {
|
|
|
4260
4267
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
|
|
4261
4268
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
4262
4269
|
}
|
|
4263
|
-
}),
|
|
4270
|
+
}), Jo = new s("zoomInUp", {
|
|
4264
4271
|
from: {
|
|
4265
4272
|
opacity: 0,
|
|
4266
4273
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
|
|
@@ -4271,7 +4278,7 @@ const {
|
|
|
4271
4278
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
4272
4279
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
4273
4280
|
}
|
|
4274
|
-
}),
|
|
4281
|
+
}), Qo = new s("zoomOut", {
|
|
4275
4282
|
from: {
|
|
4276
4283
|
opacity: 1
|
|
4277
4284
|
},
|
|
@@ -4282,7 +4289,7 @@ const {
|
|
|
4282
4289
|
to: {
|
|
4283
4290
|
opacity: 0
|
|
4284
4291
|
}
|
|
4285
|
-
}),
|
|
4292
|
+
}), ei = new s("zoomOutDown", {
|
|
4286
4293
|
"40%": {
|
|
4287
4294
|
opacity: 1,
|
|
4288
4295
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
@@ -4293,7 +4300,7 @@ const {
|
|
|
4293
4300
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
|
|
4294
4301
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
4295
4302
|
}
|
|
4296
|
-
}),
|
|
4303
|
+
}), ti = new s("zoomOutLeft", {
|
|
4297
4304
|
"40%": {
|
|
4298
4305
|
opacity: 1,
|
|
4299
4306
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
|
|
@@ -4302,7 +4309,7 @@ const {
|
|
|
4302
4309
|
opacity: 0,
|
|
4303
4310
|
transform: "scale(0.1) translate3d(-2000px, 0, 0)"
|
|
4304
4311
|
}
|
|
4305
|
-
}),
|
|
4312
|
+
}), ni = new s("zoomOutRight", {
|
|
4306
4313
|
"40%": {
|
|
4307
4314
|
opacity: 1,
|
|
4308
4315
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
|
|
@@ -4311,7 +4318,7 @@ const {
|
|
|
4311
4318
|
opacity: 0,
|
|
4312
4319
|
transform: "scale(0.1) translate3d(2000px, 0, 0)"
|
|
4313
4320
|
}
|
|
4314
|
-
}),
|
|
4321
|
+
}), ai = new s("zoomOutUp", {
|
|
4315
4322
|
"40%": {
|
|
4316
4323
|
opacity: 1,
|
|
4317
4324
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
@@ -4322,53 +4329,53 @@ const {
|
|
|
4322
4329
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)",
|
|
4323
4330
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
4324
4331
|
}
|
|
4325
|
-
}),
|
|
4332
|
+
}), oi = () => ({
|
|
4326
4333
|
"&.zoomIn": {
|
|
4327
4334
|
animationFillMode: "both",
|
|
4328
|
-
animationName:
|
|
4335
|
+
animationName: _o
|
|
4329
4336
|
},
|
|
4330
4337
|
"&.zoomInDown": {
|
|
4331
4338
|
animationFillMode: "both",
|
|
4332
|
-
animationName:
|
|
4339
|
+
animationName: Go
|
|
4333
4340
|
},
|
|
4334
4341
|
"&.zoomInLeft": {
|
|
4335
4342
|
animationFillMode: "both",
|
|
4336
|
-
animationName:
|
|
4343
|
+
animationName: qo
|
|
4337
4344
|
},
|
|
4338
4345
|
"&.zoomInRight": {
|
|
4339
4346
|
animationFillMode: "both",
|
|
4340
|
-
animationName:
|
|
4347
|
+
animationName: Zo
|
|
4341
4348
|
},
|
|
4342
4349
|
"&.zoomInUp": {
|
|
4343
4350
|
animationFillMode: "both",
|
|
4344
|
-
animationName:
|
|
4351
|
+
animationName: Jo
|
|
4345
4352
|
}
|
|
4346
|
-
}),
|
|
4353
|
+
}), ii = () => ({
|
|
4347
4354
|
"&.zoomOut": {
|
|
4348
4355
|
animationFillMode: "both",
|
|
4349
|
-
animationName:
|
|
4356
|
+
animationName: Qo
|
|
4350
4357
|
},
|
|
4351
4358
|
"&.zoomOutDown": {
|
|
4352
4359
|
animationFillMode: "both",
|
|
4353
4360
|
transformOrigin: "center bottom",
|
|
4354
|
-
animationName:
|
|
4361
|
+
animationName: ei
|
|
4355
4362
|
},
|
|
4356
4363
|
"&.zoomOutLeft": {
|
|
4357
4364
|
animationFillMode: "both",
|
|
4358
4365
|
transformOrigin: "left center",
|
|
4359
|
-
animationName:
|
|
4366
|
+
animationName: ti
|
|
4360
4367
|
},
|
|
4361
4368
|
"&.zoomOutRight": {
|
|
4362
4369
|
animationFillMode: "both",
|
|
4363
4370
|
transformOrigin: "right center",
|
|
4364
|
-
animationName:
|
|
4371
|
+
animationName: ni
|
|
4365
4372
|
},
|
|
4366
4373
|
"&.zoomOutUp": {
|
|
4367
4374
|
animationFillMode: "both",
|
|
4368
4375
|
transformOrigin: "center bottom",
|
|
4369
|
-
animationName:
|
|
4376
|
+
animationName: ai
|
|
4370
4377
|
}
|
|
4371
|
-
}),
|
|
4378
|
+
}), li = new s("slideInDown", {
|
|
4372
4379
|
from: {
|
|
4373
4380
|
transform: "translate3d(0, -100%, 0)",
|
|
4374
4381
|
visibility: "visible"
|
|
@@ -4376,7 +4383,7 @@ const {
|
|
|
4376
4383
|
to: {
|
|
4377
4384
|
transform: "translate3d(0, 0, 0)"
|
|
4378
4385
|
}
|
|
4379
|
-
}),
|
|
4386
|
+
}), ri = new s("slideInLeft", {
|
|
4380
4387
|
from: {
|
|
4381
4388
|
transform: "translate3d(-100%, 0, 0)",
|
|
4382
4389
|
visibility: "visible"
|
|
@@ -4384,7 +4391,7 @@ const {
|
|
|
4384
4391
|
to: {
|
|
4385
4392
|
transform: "translate3d(0, 0, 0)"
|
|
4386
4393
|
}
|
|
4387
|
-
}),
|
|
4394
|
+
}), si = new s("slideInRight", {
|
|
4388
4395
|
from: {
|
|
4389
4396
|
transform: "translate3d(100%, 0, 0)",
|
|
4390
4397
|
visibility: "visible"
|
|
@@ -4392,7 +4399,7 @@ const {
|
|
|
4392
4399
|
to: {
|
|
4393
4400
|
transform: "translate3d(0, 0, 0)"
|
|
4394
4401
|
}
|
|
4395
|
-
}),
|
|
4402
|
+
}), ui = new s("slideInUp", {
|
|
4396
4403
|
from: {
|
|
4397
4404
|
transform: "translate3d(0, 100%, 0)",
|
|
4398
4405
|
visibility: "visible"
|
|
@@ -4400,7 +4407,7 @@ const {
|
|
|
4400
4407
|
to: {
|
|
4401
4408
|
transform: "translate3d(0, 0, 0)"
|
|
4402
4409
|
}
|
|
4403
|
-
}),
|
|
4410
|
+
}), di = new s("slideOutDown", {
|
|
4404
4411
|
from: {
|
|
4405
4412
|
transform: "translate3d(0, 0, 0)"
|
|
4406
4413
|
},
|
|
@@ -4408,7 +4415,7 @@ const {
|
|
|
4408
4415
|
transform: "translate3d(0, 100%, 0)",
|
|
4409
4416
|
visibility: "hidden"
|
|
4410
4417
|
}
|
|
4411
|
-
}),
|
|
4418
|
+
}), ci = new s("slideOutLeft", {
|
|
4412
4419
|
from: {
|
|
4413
4420
|
transform: "translate3d(0, 0, 0)"
|
|
4414
4421
|
},
|
|
@@ -4416,7 +4423,7 @@ const {
|
|
|
4416
4423
|
transform: "translate3d(-100%, 0, 0)",
|
|
4417
4424
|
visibility: "hidden"
|
|
4418
4425
|
}
|
|
4419
|
-
}),
|
|
4426
|
+
}), mi = new s("slideOutRight", {
|
|
4420
4427
|
from: {
|
|
4421
4428
|
transform: "translate3d(0, 0, 0)"
|
|
4422
4429
|
},
|
|
@@ -4424,7 +4431,7 @@ const {
|
|
|
4424
4431
|
transform: "translate3d(100%, 0, 0)",
|
|
4425
4432
|
visibility: "hidden"
|
|
4426
4433
|
}
|
|
4427
|
-
}),
|
|
4434
|
+
}), fi = new s("slideOutUp", {
|
|
4428
4435
|
from: {
|
|
4429
4436
|
transform: "translate3d(0, 0, 0)"
|
|
4430
4437
|
},
|
|
@@ -4432,78 +4439,78 @@ const {
|
|
|
4432
4439
|
transform: "translate3d(0, -100%, 0)",
|
|
4433
4440
|
visibility: "hidden"
|
|
4434
4441
|
}
|
|
4435
|
-
}),
|
|
4442
|
+
}), hi = () => ({
|
|
4436
4443
|
"&.slideInDown": {
|
|
4437
4444
|
animationFillMode: "both",
|
|
4438
|
-
animationName:
|
|
4445
|
+
animationName: li
|
|
4439
4446
|
},
|
|
4440
4447
|
"&.slideInLeft": {
|
|
4441
4448
|
animationFillMode: "both",
|
|
4442
|
-
animationName:
|
|
4449
|
+
animationName: ri
|
|
4443
4450
|
},
|
|
4444
4451
|
"&.slideInRight": {
|
|
4445
4452
|
animationFillMode: "both",
|
|
4446
|
-
animationName:
|
|
4453
|
+
animationName: si
|
|
4447
4454
|
},
|
|
4448
4455
|
"&.slideInUp": {
|
|
4449
4456
|
animationFillMode: "both",
|
|
4450
|
-
animationName:
|
|
4457
|
+
animationName: ui
|
|
4451
4458
|
}
|
|
4452
|
-
}),
|
|
4459
|
+
}), gi = () => ({
|
|
4453
4460
|
"&.slideOutDown": {
|
|
4454
4461
|
animationFillMode: "both",
|
|
4455
|
-
animationName:
|
|
4462
|
+
animationName: di
|
|
4456
4463
|
},
|
|
4457
4464
|
"&.slideOutLeft": {
|
|
4458
4465
|
animationFillMode: "both",
|
|
4459
|
-
animationName:
|
|
4466
|
+
animationName: ci
|
|
4460
4467
|
},
|
|
4461
4468
|
"&.slideOutRight": {
|
|
4462
4469
|
animationFillMode: "both",
|
|
4463
|
-
animationName:
|
|
4470
|
+
animationName: mi
|
|
4464
4471
|
},
|
|
4465
4472
|
"&.slideOutUp": {
|
|
4466
4473
|
animationFillMode: "both",
|
|
4467
|
-
animationName:
|
|
4474
|
+
animationName: fi
|
|
4468
4475
|
}
|
|
4469
|
-
}),
|
|
4476
|
+
}), yi = (e) => ({
|
|
4470
4477
|
[e.componentCls]: {
|
|
4471
4478
|
"&-enter": {
|
|
4472
4479
|
background: "transparent",
|
|
4473
4480
|
animationDuration: ".3s !important",
|
|
4474
|
-
...
|
|
4475
|
-
...
|
|
4476
|
-
...
|
|
4477
|
-
...
|
|
4478
|
-
...
|
|
4479
|
-
...
|
|
4480
|
-
...
|
|
4481
|
-
...
|
|
4482
|
-
...
|
|
4481
|
+
...ka(),
|
|
4482
|
+
...Ua(),
|
|
4483
|
+
...po(),
|
|
4484
|
+
...Io(),
|
|
4485
|
+
...Bo(),
|
|
4486
|
+
...Wo(),
|
|
4487
|
+
...Yo(),
|
|
4488
|
+
...oi(),
|
|
4489
|
+
...hi()
|
|
4483
4490
|
},
|
|
4484
4491
|
"&-leave": {
|
|
4485
4492
|
display: "none",
|
|
4486
4493
|
background: "transparent",
|
|
4487
4494
|
animationDuration: ".3s !important",
|
|
4488
|
-
...
|
|
4489
|
-
...
|
|
4490
|
-
...
|
|
4491
|
-
...
|
|
4492
|
-
...
|
|
4493
|
-
...
|
|
4494
|
-
...
|
|
4495
|
-
...
|
|
4496
|
-
...
|
|
4495
|
+
...Ta(),
|
|
4496
|
+
...Ea(),
|
|
4497
|
+
...vo(),
|
|
4498
|
+
...Mo(),
|
|
4499
|
+
...ko(),
|
|
4500
|
+
...Uo(),
|
|
4501
|
+
...Vo(),
|
|
4502
|
+
...ii(),
|
|
4503
|
+
...gi()
|
|
4497
4504
|
}
|
|
4498
4505
|
}
|
|
4499
4506
|
});
|
|
4500
|
-
function
|
|
4501
|
-
return
|
|
4502
|
-
const a =
|
|
4503
|
-
return [
|
|
4507
|
+
function bi(e) {
|
|
4508
|
+
return ge("LayoutPageTranstion", (t) => {
|
|
4509
|
+
const a = $e(t);
|
|
4510
|
+
return [yi(a)];
|
|
4504
4511
|
}, e);
|
|
4505
4512
|
}
|
|
4506
|
-
const
|
|
4513
|
+
const Hi = /* @__PURE__ */ A({
|
|
4507
4514
|
name: "PageTranstion",
|
|
4508
4515
|
props: {
|
|
4509
4516
|
disabled: {
|
|
@@ -4523,63 +4530,63 @@ const $i = /* @__PURE__ */ j({
|
|
|
4523
4530
|
setup(e, {
|
|
4524
4531
|
slots: t
|
|
4525
4532
|
}) {
|
|
4526
|
-
const a =
|
|
4533
|
+
const a = he({
|
|
4527
4534
|
suffixCls: "page-transtion",
|
|
4528
4535
|
isPor: !0
|
|
4529
4536
|
}), {
|
|
4530
4537
|
wrapSSR: i,
|
|
4531
4538
|
hashId: o
|
|
4532
|
-
} =
|
|
4533
|
-
if (
|
|
4534
|
-
return
|
|
4535
|
-
let
|
|
4536
|
-
return
|
|
4537
|
-
},
|
|
4538
|
-
const
|
|
4539
|
-
if (
|
|
4539
|
+
} = bi(a), u = (M, C) => {
|
|
4540
|
+
if (M.length === 0 || M === "x" || M === "y")
|
|
4541
|
+
return M;
|
|
4542
|
+
let d = C.indexOf(M);
|
|
4543
|
+
return d = d % 2 === 1 ? d - 1 : d + 1, C[d];
|
|
4544
|
+
}, f = (M) => {
|
|
4545
|
+
const C = Ee.preset.find((l) => e.name === l.name);
|
|
4546
|
+
if (C === void 0)
|
|
4540
4547
|
return "";
|
|
4541
|
-
let
|
|
4542
|
-
e.direction === void 0 ?
|
|
4543
|
-
const
|
|
4544
|
-
return
|
|
4545
|
-
},
|
|
4548
|
+
let d = "";
|
|
4549
|
+
e.direction === void 0 ? d = C.directions[0] : d = C.directions.find((l) => l === e.direction) || "", d = d === void 0 || d === "default" ? "" : d, d !== "" && (d = M && e.reverse ? u(d, C.directions) : d, d = d[0].toUpperCase() + d.substring(1));
|
|
4550
|
+
const F = M ? "Out" : "In";
|
|
4551
|
+
return C.name + F + d;
|
|
4552
|
+
}, b = m(() => [f(!1), `${a}-enter`, o.value].join(" ")), g = m(() => [f(!0), `${a}-leave`, o.value].join(" "));
|
|
4546
4553
|
return () => {
|
|
4547
|
-
var
|
|
4548
|
-
return e.disabled ? (
|
|
4549
|
-
enterActiveClass:
|
|
4550
|
-
leaveActiveClass:
|
|
4554
|
+
var M;
|
|
4555
|
+
return e.disabled ? (M = t.default) == null ? void 0 : M.call(t) : i(n(Ht, {
|
|
4556
|
+
enterActiveClass: b.value,
|
|
4557
|
+
leaveActiveClass: g.value
|
|
4551
4558
|
}, {
|
|
4552
4559
|
default: () => {
|
|
4553
|
-
var
|
|
4554
|
-
return [(
|
|
4560
|
+
var C;
|
|
4561
|
+
return [(C = t.default) == null ? void 0 : C.call(t)];
|
|
4555
4562
|
}
|
|
4556
4563
|
}));
|
|
4557
4564
|
};
|
|
4558
4565
|
}
|
|
4559
4566
|
});
|
|
4560
4567
|
export {
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4568
|
+
pt as BaseMenu,
|
|
4569
|
+
sa as DefaultHeader,
|
|
4570
|
+
Di as GProLayout,
|
|
4571
|
+
De as GlobalFooter,
|
|
4572
|
+
Li as PageContainer,
|
|
4573
|
+
bn as PageLoading,
|
|
4574
|
+
Hi as PageTranstion,
|
|
4575
|
+
zi as SettingDrawer,
|
|
4576
|
+
Le as SiderMenuWrapper,
|
|
4577
|
+
_e as WrapContent,
|
|
4578
|
+
ke as baseMenuProps,
|
|
4579
|
+
In as clearMenuItem,
|
|
4580
|
+
kn as createContext,
|
|
4581
|
+
Pn as createRouteContext,
|
|
4582
|
+
Mn as flatMap,
|
|
4583
|
+
Pi as getMatchedList,
|
|
4584
|
+
Ni as getMenuData,
|
|
4585
|
+
On as getMenuFirstChildren,
|
|
4586
|
+
Rn as getMenuFirstLastChildPath,
|
|
4587
|
+
Fn as handleThemeConfig,
|
|
4588
|
+
Y as hanlePathKey,
|
|
4589
|
+
Ln as provideProLayoutContext,
|
|
4590
|
+
Tn as useContext,
|
|
4591
|
+
J as useProLayoutContext
|
|
4585
4592
|
};
|