@gx-design-vue/pro-layout 0.1.0-beta.33 → 0.1.0-beta.34
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 +1 -0
- package/dist/ProLayout.d.ts +121 -3
- package/dist/components/GlobalHeader/index.d.ts +3 -3
- package/dist/components/GlobalHeader/props.d.ts +2 -2
- package/dist/components/PageContainer/index.d.ts +118 -0
- package/dist/components/PageContainer/props.d.ts +59 -0
- package/dist/pro-layout.mjs +772 -770
- package/dist/pro-layout.umd.js +1 -1
- package/dist/props.d.ts +63 -2
- package/package.json +1 -1
package/dist/pro-layout.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Spin as ve, Menu as ae, ConfigProvider as
|
|
1
|
+
import { defineComponent as V, createVNode as n, mergeProps as X, provide as Fe, readonly as Rt, inject as ot, resolveComponent as it, computed as b, isVNode as ie, Fragment as Z, toRefs as Ce, unref as A, createTextVNode as ne, ref as Re, reactive as lt, watch as de, withDirectives as kt, vShow as Bt, watchEffect as $t, Transition as Pt } from "vue";
|
|
2
|
+
import { Spin as ve, Menu as ae, ConfigProvider as Te, Layout as ce, Drawer as be, Breadcrumb as Ft, Card as Tt, LayoutFooter as Lt, Tabs as Le, Dropdown as Ye, Tooltip as we, List as oe, Switch as rt, TabPane as Dt, Select as ge, message as Nt, Divider as Me, Alert as zt, Button as Ht } from "ant-design-vue";
|
|
3
3
|
import { useRouter as De, RouterLink as Vt } from "vue-router";
|
|
4
4
|
import { createFromIconfontCN as jt, MenuUnfoldOutlined as Wt, MenuFoldOutlined as At, GithubOutlined as Kt, EllipsisOutlined as Ut, ReloadOutlined as Et, CloseOutlined as st, CheckOutlined as ut, SettingOutlined as Xt, NotificationOutlined as Yt, CopyOutlined as _t } from "@ant-design/icons-vue";
|
|
5
|
-
import Gt, { themeConfig as
|
|
5
|
+
import Gt, { themeConfig as H, Keyframe as s, useProStyle as Q, useProConfigContext as Se, useStyle as Ne, mergeToken as ze, colorList as qt } from "@gx-design-vue/pro-provider";
|
|
6
6
|
import { createTypes as Zt } from "vue-types";
|
|
7
7
|
import { cloneDeep as He, pick as le, omit as Ve } from "lodash-es";
|
|
8
8
|
import { GPorWaterMark as Jt } from "@gx-design-vue/pro-watermark";
|
|
9
|
-
import { getSlot as
|
|
9
|
+
import { getSlot as W, isBoolean as Qt, getPrefixCls as me, classNames as dt, getLevelData as en, isArray as tn, isBrowser as nn, merge as an } from "@gx-design-vue/pro-utils";
|
|
10
10
|
import { useMediaQuery as on, useState as pe, useMergedState as ln } from "@gx-design-vue/pro-hooks";
|
|
11
11
|
import { useWindowSize as rn, useClipboard as sn } from "@vueuse/core";
|
|
12
12
|
import un from "@gx-design-vue/scrollbar";
|
|
13
13
|
import { GColorPicker as _e } from "@gx-design-vue/color-picker";
|
|
14
|
-
const dn = /* @__PURE__ */
|
|
14
|
+
const dn = /* @__PURE__ */ V({
|
|
15
15
|
name: "PageLoading",
|
|
16
16
|
props: {
|
|
17
17
|
...ve.props
|
|
@@ -58,67 +58,67 @@ ct.extend([{
|
|
|
58
58
|
const L = ct, se = {
|
|
59
59
|
theme: {
|
|
60
60
|
type: String,
|
|
61
|
-
default:
|
|
61
|
+
default: H.theme
|
|
62
62
|
},
|
|
63
63
|
layout: {
|
|
64
64
|
type: String,
|
|
65
|
-
default:
|
|
65
|
+
default: H.layout
|
|
66
66
|
},
|
|
67
67
|
wideWidth: {
|
|
68
68
|
type: Number,
|
|
69
|
-
default:
|
|
69
|
+
default: H.wideWidth
|
|
70
70
|
},
|
|
71
71
|
splitMenus: {
|
|
72
72
|
type: Boolean,
|
|
73
|
-
default:
|
|
73
|
+
default: H.splitMenus
|
|
74
74
|
},
|
|
75
75
|
fixedMultiTab: {
|
|
76
76
|
type: Boolean,
|
|
77
|
-
default:
|
|
77
|
+
default: H.fixedMultiTab
|
|
78
78
|
},
|
|
79
79
|
showProgressBar: {
|
|
80
80
|
type: Boolean,
|
|
81
|
-
default:
|
|
81
|
+
default: H.showProgressBar
|
|
82
82
|
},
|
|
83
83
|
fixedHeader: {
|
|
84
84
|
type: Boolean,
|
|
85
|
-
default:
|
|
85
|
+
default: H.fixedHeader
|
|
86
86
|
},
|
|
87
87
|
fixSiderbar: {
|
|
88
88
|
type: Boolean,
|
|
89
|
-
default:
|
|
89
|
+
default: H.fixSiderbar
|
|
90
90
|
},
|
|
91
91
|
showTabsBar: {
|
|
92
92
|
type: Boolean,
|
|
93
|
-
default:
|
|
93
|
+
default: H.showTabsBar
|
|
94
94
|
},
|
|
95
95
|
showFullScreen: {
|
|
96
96
|
type: Boolean,
|
|
97
|
-
default:
|
|
97
|
+
default: H.showFullScreen
|
|
98
98
|
},
|
|
99
99
|
autoHideHeader: {
|
|
100
100
|
type: Boolean,
|
|
101
|
-
default:
|
|
101
|
+
default: H.autoHideHeader
|
|
102
102
|
},
|
|
103
103
|
headerHeight: {
|
|
104
104
|
type: Number,
|
|
105
|
-
default:
|
|
105
|
+
default: H.headerHeight
|
|
106
106
|
},
|
|
107
107
|
title: {
|
|
108
108
|
type: String,
|
|
109
|
-
default:
|
|
109
|
+
default: H.title
|
|
110
110
|
},
|
|
111
111
|
iconfontUrl: {
|
|
112
112
|
type: String,
|
|
113
|
-
default:
|
|
113
|
+
default: H.iconfontUrl
|
|
114
114
|
},
|
|
115
115
|
animate: {
|
|
116
116
|
type: Object,
|
|
117
|
-
default:
|
|
117
|
+
default: H.animate
|
|
118
118
|
},
|
|
119
119
|
primaryColor: {
|
|
120
120
|
type: String,
|
|
121
|
-
default:
|
|
121
|
+
default: H.primaryColor
|
|
122
122
|
}
|
|
123
123
|
}, re = {
|
|
124
124
|
renderKey: L.string.def("menuHeaderRender"),
|
|
@@ -197,7 +197,7 @@ const L = ct, se = {
|
|
|
197
197
|
onSelect: {
|
|
198
198
|
type: Function
|
|
199
199
|
}
|
|
200
|
-
},
|
|
200
|
+
}, Y = {
|
|
201
201
|
...se,
|
|
202
202
|
...Ie,
|
|
203
203
|
menuLoading: L.looseBool,
|
|
@@ -254,9 +254,9 @@ function mn(e) {
|
|
|
254
254
|
return /\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e);
|
|
255
255
|
}
|
|
256
256
|
function ft(e, t, a, o) {
|
|
257
|
-
var u,
|
|
257
|
+
var u, m, c, I, p, R, h, B, l, r, M, O, S, f, y, x, C, g, w, $, F, N, z, j, T, _, G, K, q, d, v, k, P, D;
|
|
258
258
|
const i = { ...e };
|
|
259
|
-
return a === "light" ? (i.colorItemBg = (
|
|
259
|
+
return a === "light" ? (i.colorItemBg = (m = (u = t.layout) == null ? void 0 : u[o]) == null ? void 0 : m.colorBgMenu, i.colorSubItemBg = (I = (c = t.layout) == null ? void 0 : c[o]) == null ? void 0 : I.colorSubItemBg, i.colorItemBgSelected = (R = (p = t.layout) == null ? void 0 : p[o]) == null ? void 0 : R.colorBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (B = (h = t.layout) == null ? void 0 : h[o]) == null ? void 0 : B.colorBgMenuItemSelected, i.colorItemText = (r = (l = t.layout) == null ? void 0 : l[o]) == null ? void 0 : r.colorTextMenu, i.colorItemTextHover = (O = (M = t.layout) == null ? void 0 : M[o]) == null ? void 0 : O.colorTextMenuHover, i.colorItemTextSelected = (f = (S = t.layout) == null ? void 0 : S[o]) == null ? void 0 : f.colorTextMenuSelected, i.colorItemTextSelectedHorizontal = (x = (y = t.layout) == null ? void 0 : y[o]) == null ? void 0 : x.colorTextMenuSelected, o === "sider" && (i.colorItemBgHover = (g = (C = t.layout) == null ? void 0 : C[o]) == null ? void 0 : g.colorBgMenuItemHover)) : a === "dark" && (i.colorItemBg = ($ = (w = t.layout) == null ? void 0 : w[o]) == null ? void 0 : $.colorDarkBgMenu, i.colorSubItemBg = (N = (F = t.layout) == null ? void 0 : F[o]) == null ? void 0 : N.colorDarkSubItemBg, i.colorItemBgSelected = (j = (z = t.layout) == null ? void 0 : z[o]) == null ? void 0 : j.colorDarkBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (_ = (T = t.layout) == null ? void 0 : T[o]) == null ? void 0 : _.colorDarkBgMenuItemSelected, i.colorItemText = (K = (G = t.layout) == null ? void 0 : G[o]) == null ? void 0 : K.colorDarkTextMenu, i.colorItemTextHover = (d = (q = t.layout) == null ? void 0 : q[o]) == null ? void 0 : d.colorDarkTextMenuHover, i.colorItemTextSelected = (k = (v = t.layout) == null ? void 0 : v[o]) == null ? void 0 : k.colorDarkTextMenuSelected, i.colorItemTextSelectedHorizontal = (D = (P = t.layout) == null ? void 0 : P[o]) == null ? void 0 : D.colorDarkTextMenuSelected, o === "header" && (i.colorActiveBarHeight = 0)), i;
|
|
260
260
|
}
|
|
261
261
|
const fn = ["left", "right"], ue = ["left", "right", "down", "up"], gn = ["downBig", "upBig", "leftBig", "rightBig"], hn = ["topLeft", "bottomRight", "topRight", "bottomLeft"], yn = ["downLeft", "upRight", "downRight", "upLeft"], je = {
|
|
262
262
|
preset: [
|
|
@@ -325,12 +325,12 @@ function Li(e, t) {
|
|
|
325
325
|
var o, i;
|
|
326
326
|
const a = ((i = (o = e.find((u) => u.path === t)) == null ? void 0 : o.meta) == null ? void 0 : i.key) || "";
|
|
327
327
|
if (a) {
|
|
328
|
-
const u = [],
|
|
329
|
-
for (let c = 0; c <
|
|
330
|
-
u.push(He(
|
|
331
|
-
return e.filter((c) => u.some((
|
|
332
|
-
var
|
|
333
|
-
return
|
|
328
|
+
const u = [], m = a.split("-");
|
|
329
|
+
for (let c = 0; c < m.length; c += 1)
|
|
330
|
+
u.push(He(m).splice(0, c + 1).join("-"));
|
|
331
|
+
return e.filter((c) => u.some((I) => {
|
|
332
|
+
var p;
|
|
333
|
+
return I === ((p = c == null ? void 0 : c.meta) == null ? void 0 : p.key) || "";
|
|
334
334
|
}));
|
|
335
335
|
}
|
|
336
336
|
return [];
|
|
@@ -348,7 +348,7 @@ function Sn(e, t) {
|
|
|
348
348
|
...t.reduce((a, o) => ({ ...a, [o]: e[o] }), {})
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
|
-
const In = (e = Symbol(), t = "Context.Provider") =>
|
|
351
|
+
const In = (e = Symbol(), t = "Context.Provider") => V({
|
|
352
352
|
name: t,
|
|
353
353
|
props: {
|
|
354
354
|
value: {
|
|
@@ -357,14 +357,14 @@ const In = (e = Symbol(), t = "Context.Provider") => j({
|
|
|
357
357
|
}
|
|
358
358
|
},
|
|
359
359
|
setup(o, { slots: i }) {
|
|
360
|
-
return
|
|
360
|
+
return Fe(e, Rt(o.value)), () => {
|
|
361
361
|
var u;
|
|
362
362
|
return (u = i.default) == null ? void 0 : u.call(i);
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
365
|
}), Mn = (e = Symbol(), t) => ot(e, t || {}), We = Symbol("pro-layout-context"), On = () => In(We, "ProLayoutContext.Provider"), Rn = (e) => {
|
|
366
|
-
|
|
367
|
-
},
|
|
366
|
+
Fe(We, e);
|
|
367
|
+
}, ee = () => Mn(We);
|
|
368
368
|
On();
|
|
369
369
|
function Ge(e) {
|
|
370
370
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
|
|
@@ -386,7 +386,7 @@ const xe = (e) => {
|
|
|
386
386
|
}, null);
|
|
387
387
|
if (a === 1) {
|
|
388
388
|
const u = jt({
|
|
389
|
-
scriptUrl: o ||
|
|
389
|
+
scriptUrl: o || H.iconfontUrl
|
|
390
390
|
});
|
|
391
391
|
return o ? n(u, {
|
|
392
392
|
type: t
|
|
@@ -408,98 +408,96 @@ xe.props = {
|
|
|
408
408
|
className: String,
|
|
409
409
|
iconfontUrl: String
|
|
410
410
|
};
|
|
411
|
-
const gt = /* @__PURE__ */
|
|
411
|
+
const gt = /* @__PURE__ */ V({
|
|
412
412
|
name: "BaseMenu",
|
|
413
413
|
props: Ie,
|
|
414
414
|
setup(e) {
|
|
415
415
|
const t = De(), {
|
|
416
416
|
getPrefixCls: a
|
|
417
|
-
} =
|
|
417
|
+
} = ee(), o = a({
|
|
418
418
|
suffixCls: "menu-item",
|
|
419
419
|
isPor: !0
|
|
420
420
|
}), i = (l) => {
|
|
421
|
-
var
|
|
422
|
-
(
|
|
421
|
+
var r;
|
|
422
|
+
(r = e.onOpenKeys) == null || r.call(e, l);
|
|
423
423
|
}, u = (l) => {
|
|
424
|
-
var
|
|
425
|
-
(
|
|
426
|
-
},
|
|
427
|
-
var
|
|
428
|
-
(
|
|
429
|
-
}, c = (l,
|
|
430
|
-
var
|
|
431
|
-
const M = l.target || "",
|
|
432
|
-
((
|
|
433
|
-
},
|
|
434
|
-
var
|
|
435
|
-
if (Array.isArray(l.children) && l.children.length > 0 && !((
|
|
436
|
-
let
|
|
424
|
+
var r;
|
|
425
|
+
(r = e.onSelect) == null || r.call(e, l.selectedKeys);
|
|
426
|
+
}, m = (l) => {
|
|
427
|
+
var r;
|
|
428
|
+
(r = e.onClick) == null || r.call(e, ...l);
|
|
429
|
+
}, c = (l, r) => {
|
|
430
|
+
var S;
|
|
431
|
+
const M = l.target || "", O = mt(M);
|
|
432
|
+
((S = t.currentRoute.value) == null ? void 0 : S.fullPath) !== r.to && O && M && l.targetStatus === 1 && window.open(M);
|
|
433
|
+
}, I = it("router-link"), p = (l = []) => l.map((r) => R(r)).filter((r) => r), R = (l) => {
|
|
434
|
+
var O, S, f, y, x, C, g, w, $;
|
|
435
|
+
if (Array.isArray(l.children) && l.children.length > 0 && !((O = l == null ? void 0 : l.meta) != null && O.hideInMenu) && !((S = l == null ? void 0 : l.meta) != null && S.hideChildrenInMenu)) {
|
|
436
|
+
let F;
|
|
437
437
|
if (e.subMenuItemRender)
|
|
438
438
|
return e.subMenuItemRender({
|
|
439
439
|
item: l,
|
|
440
|
-
children:
|
|
440
|
+
children: p(l.children)
|
|
441
441
|
});
|
|
442
|
-
const N = (
|
|
442
|
+
const N = (f = l.meta) == null ? void 0 : f.title, z = (y = l.meta) != null && y.icon ? n("span", {
|
|
443
443
|
class: "gx-pro-sider-menu-item"
|
|
444
444
|
}, [n("span", {
|
|
445
445
|
class: "gx-pro-sider-menu-item-title"
|
|
446
446
|
}, [N])]) : n("span", {
|
|
447
447
|
class: "gx-pro-sider-menu-item"
|
|
448
|
-
}, [N]),
|
|
449
|
-
return n(
|
|
448
|
+
}, [N]), j = ((x = l.meta) == null ? void 0 : x.type) === "group", T = j ? ae.ItemGroup : ae.SubMenu;
|
|
449
|
+
return n(T, {
|
|
450
450
|
title: z,
|
|
451
451
|
key: l.path,
|
|
452
|
-
icon:
|
|
452
|
+
icon: j ? null : n(xe, {
|
|
453
453
|
className: o,
|
|
454
|
-
icon: (
|
|
454
|
+
icon: (C = l.meta) == null ? void 0 : C.icon,
|
|
455
455
|
iconfontUrl: e.iconfontUrl,
|
|
456
|
-
iconType: (
|
|
456
|
+
iconType: (g = l.meta) == null ? void 0 : g.iconType
|
|
457
457
|
}, null)
|
|
458
|
-
}, Ge(
|
|
459
|
-
default: () => [
|
|
458
|
+
}, Ge(F = p(l.children)) ? F : {
|
|
459
|
+
default: () => [F]
|
|
460
460
|
});
|
|
461
461
|
}
|
|
462
|
-
const [
|
|
462
|
+
const [r, M] = h(l);
|
|
463
463
|
return e.menuItemRender && e.menuItemRender({
|
|
464
464
|
item: l,
|
|
465
|
-
title:
|
|
465
|
+
title: r,
|
|
466
466
|
icon: M
|
|
467
467
|
}) || n(ae.Item, {
|
|
468
468
|
disabled: (w = l.meta) == null ? void 0 : w.disabled,
|
|
469
469
|
danger: ($ = l.meta) == null ? void 0 : $.danger,
|
|
470
470
|
key: l.path,
|
|
471
471
|
icon: M
|
|
472
|
-
}, Ge(
|
|
473
|
-
default: () => [
|
|
472
|
+
}, Ge(r) ? r : {
|
|
473
|
+
default: () => [r]
|
|
474
474
|
});
|
|
475
|
-
},
|
|
476
|
-
var
|
|
477
|
-
const
|
|
475
|
+
}, h = (l) => {
|
|
476
|
+
var x, C, g, w, $;
|
|
477
|
+
const r = {
|
|
478
478
|
...l.meta
|
|
479
|
-
}, M =
|
|
479
|
+
}, M = r.targetStatus === 1 && r.target ? "a" : I, O = {
|
|
480
480
|
to: l.linkPath || l.path || ""
|
|
481
|
-
}
|
|
482
|
-
I.to === "/live/list/operation/:id" && (I.to = "/live/list/operation/add");
|
|
483
|
-
const x = (h = l.meta) == null ? void 0 : h.title, y = (R = l.meta) != null && R.icon ? n(M, X(I, {
|
|
481
|
+
}, S = (x = l.meta) == null ? void 0 : x.title, f = (C = l.meta) != null && C.icon ? n(M, X(O, {
|
|
484
482
|
class: "gx-pro-sider-menu-item",
|
|
485
|
-
onClick: () => c(
|
|
483
|
+
onClick: () => c(r, O)
|
|
486
484
|
}), {
|
|
487
485
|
default: () => [n("span", {
|
|
488
486
|
class: "gx-pro-sider-menu-item-title"
|
|
489
|
-
}, [
|
|
490
|
-
}) : n(M, X(
|
|
487
|
+
}, [S])]
|
|
488
|
+
}) : n(M, X(O, {
|
|
491
489
|
class: "gx-pro-sider-menu-item",
|
|
492
|
-
onClick: () => c(
|
|
490
|
+
onClick: () => c(r, O)
|
|
493
491
|
}), {
|
|
494
|
-
default: () => [n("span", null, [
|
|
495
|
-
}),
|
|
492
|
+
default: () => [n("span", null, [S])]
|
|
493
|
+
}), y = ((g = l.meta) == null ? void 0 : g.icon) && n(xe, {
|
|
496
494
|
className: o,
|
|
497
495
|
icon: (w = l.meta) == null ? void 0 : w.icon,
|
|
498
496
|
iconfontUrl: e.iconfontUrl,
|
|
499
497
|
iconType: ($ = l.meta) == null ? void 0 : $.iconType
|
|
500
498
|
}, null) || void 0;
|
|
501
|
-
return [
|
|
502
|
-
},
|
|
499
|
+
return [f, y];
|
|
500
|
+
}, B = b(() => p(e.menuData));
|
|
503
501
|
return () => n(ae, X({
|
|
504
502
|
key: "Menu",
|
|
505
503
|
inlineIndent: 16,
|
|
@@ -509,12 +507,12 @@ const gt = /* @__PURE__ */ j({
|
|
|
509
507
|
selectedKeys: e.selectedKeys || [],
|
|
510
508
|
onOpenChange: i,
|
|
511
509
|
onSelect: u,
|
|
512
|
-
onClick:
|
|
510
|
+
onClick: m
|
|
513
511
|
}, e.menuProps), {
|
|
514
|
-
default: () => [
|
|
512
|
+
default: () => [B.value]
|
|
515
513
|
});
|
|
516
514
|
}
|
|
517
|
-
}), ht = new
|
|
515
|
+
}), ht = new s("pro-layout-title-hide", {
|
|
518
516
|
"0%": { display: "none", opacity: 0 },
|
|
519
517
|
"99%": {
|
|
520
518
|
display: "none",
|
|
@@ -524,7 +522,7 @@ const gt = /* @__PURE__ */ j({
|
|
|
524
522
|
display: "block",
|
|
525
523
|
opacity: 1
|
|
526
524
|
}
|
|
527
|
-
}),
|
|
525
|
+
}), kn = (e) => {
|
|
528
526
|
const t = `${e.antCls}-menu`;
|
|
529
527
|
return {
|
|
530
528
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
@@ -535,8 +533,8 @@ const gt = /* @__PURE__ */ j({
|
|
|
535
533
|
}
|
|
536
534
|
}
|
|
537
535
|
};
|
|
538
|
-
},
|
|
539
|
-
var t, a, o, i, u,
|
|
536
|
+
}, Bn = (e) => {
|
|
537
|
+
var t, a, o, i, u, m, c, I, p, R, h, B;
|
|
540
538
|
return {
|
|
541
539
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
542
540
|
[`&${e.proComponentsCls}-basic-layout-wide`]: {
|
|
@@ -569,7 +567,7 @@ const gt = /* @__PURE__ */ j({
|
|
|
569
567
|
background: (i = (o = e.layout) == null ? void 0 : o.sider) == null ? void 0 : i.colorBgMenu,
|
|
570
568
|
boxShadow: "2px 0 8px 0 rgba(29,35,41,.05)",
|
|
571
569
|
[`${e.componentCls}-footer`]: {
|
|
572
|
-
color: (
|
|
570
|
+
color: (m = (u = e.layout) == null ? void 0 : u.sider) == null ? void 0 : m.colorTextMenu
|
|
573
571
|
}
|
|
574
572
|
},
|
|
575
573
|
"&-links": {
|
|
@@ -585,7 +583,7 @@ const gt = /* @__PURE__ */ j({
|
|
|
585
583
|
background: "transparent"
|
|
586
584
|
},
|
|
587
585
|
"&-footer": {
|
|
588
|
-
color: (
|
|
586
|
+
color: (I = (c = e.layout) == null ? void 0 : c.sider) == null ? void 0 : I.colorDarkTextMenu,
|
|
589
587
|
paddingBlockEnd: 16,
|
|
590
588
|
fontSize: e.fontSize,
|
|
591
589
|
animationName: ht,
|
|
@@ -600,8 +598,8 @@ const gt = /* @__PURE__ */ j({
|
|
|
600
598
|
zIndex: "100",
|
|
601
599
|
height: "100%",
|
|
602
600
|
"&-mix": {
|
|
603
|
-
height: `calc(100% - ${((
|
|
604
|
-
insetBlockStart: `${((
|
|
601
|
+
height: `calc(100% - ${((R = (p = e.layout) == null ? void 0 : p.header) == null ? void 0 : R.heightLayoutHeader) || H.headerHeight}px)`,
|
|
602
|
+
insetBlockStart: `${((B = (h = e.layout) == null ? void 0 : h.header) == null ? void 0 : B.heightLayoutHeader) || H.headerHeight}px`
|
|
605
603
|
}
|
|
606
604
|
}
|
|
607
605
|
}
|
|
@@ -615,7 +613,7 @@ const gt = /* @__PURE__ */ j({
|
|
|
615
613
|
}
|
|
616
614
|
}
|
|
617
615
|
}
|
|
618
|
-
}),
|
|
616
|
+
}), Pn = (e) => ({
|
|
619
617
|
[`${e.proComponentsCls}-sider`]: {
|
|
620
618
|
"&-light": {
|
|
621
619
|
[`${e.proComponentsCls}-sider-logo`]: {
|
|
@@ -678,30 +676,30 @@ const gt = /* @__PURE__ */ j({
|
|
|
678
676
|
src: e,
|
|
679
677
|
alt: "logo",
|
|
680
678
|
style: t
|
|
681
|
-
}, null) : typeof e == "function" ? e() : e : null,
|
|
679
|
+
}, null) : typeof e == "function" ? e() : e : null, Fn = (e, t = "menuHeaderRender") => {
|
|
682
680
|
const {
|
|
683
681
|
logo: a,
|
|
684
682
|
logoStyle: o,
|
|
685
683
|
title: i,
|
|
686
684
|
layout: u
|
|
687
|
-
} = e,
|
|
688
|
-
if (
|
|
685
|
+
} = e, m = e[t || ""];
|
|
686
|
+
if (m === !1)
|
|
689
687
|
return null;
|
|
690
|
-
const c = yt(a, o),
|
|
691
|
-
return typeof
|
|
692
|
-
}, Ae = /* @__PURE__ */
|
|
688
|
+
const c = yt(a, o), I = i && n("h1", null, [i]);
|
|
689
|
+
return typeof m == "function" ? m(c, e.collapsed ? null : I, e) : n(Z, null, [c || null, e.collapsed && u === "side" ? null : I]);
|
|
690
|
+
}, Ae = /* @__PURE__ */ V({
|
|
693
691
|
name: "LogoContent",
|
|
694
692
|
props: re,
|
|
695
693
|
setup(e) {
|
|
696
694
|
const {
|
|
697
695
|
getPrefixCls: t
|
|
698
|
-
} =
|
|
696
|
+
} = ee(), a = b(() => e.layout === "side" || e.layout === "simple"), o = b(() => t({
|
|
699
697
|
suffixCls: a.value || e.drawer ? "sider" : "global-header",
|
|
700
698
|
isPor: !0
|
|
701
699
|
})), {
|
|
702
700
|
wrapSSR: i,
|
|
703
701
|
hashId: u
|
|
704
|
-
} =
|
|
702
|
+
} = Q("ProLayoutLogo", [Pn]), m = b(() => Fn(e, e.renderKey));
|
|
705
703
|
return () => i(n("div", {
|
|
706
704
|
id: "logo",
|
|
707
705
|
class: {
|
|
@@ -713,19 +711,19 @@ const gt = /* @__PURE__ */ j({
|
|
|
713
711
|
var c;
|
|
714
712
|
return (c = e.onMenuHeaderClick) == null ? void 0 : c.call(e);
|
|
715
713
|
}
|
|
716
|
-
}, [n("a", null, [
|
|
714
|
+
}, [n("a", null, [m.value || null])]));
|
|
717
715
|
}
|
|
718
716
|
});
|
|
719
717
|
Ae.inheritAttrs = !1;
|
|
720
|
-
function
|
|
718
|
+
function Tn(e) {
|
|
721
719
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
|
|
722
720
|
}
|
|
723
721
|
const {
|
|
724
722
|
Sider: Ln
|
|
725
723
|
} = ce, {
|
|
726
724
|
Item: qe
|
|
727
|
-
} = ae, bt = (e) => e ? n(Wt, null, null) : n(At, null, null), Ze = /* @__PURE__ */
|
|
728
|
-
props:
|
|
725
|
+
} = ae, bt = (e) => e ? n(Wt, null, null) : n(At, null, null), Ze = /* @__PURE__ */ V({
|
|
726
|
+
props: Y,
|
|
729
727
|
inheritAttrs: !1,
|
|
730
728
|
setup(e) {
|
|
731
729
|
const {
|
|
@@ -734,51 +732,51 @@ const {
|
|
|
734
732
|
flatMenuData: o,
|
|
735
733
|
menuData: i,
|
|
736
734
|
openKeys: u
|
|
737
|
-
} =
|
|
738
|
-
token:
|
|
735
|
+
} = ee(), {
|
|
736
|
+
token: m
|
|
739
737
|
} = Se(), {
|
|
740
738
|
theme: c,
|
|
741
|
-
layout:
|
|
742
|
-
isMobile:
|
|
743
|
-
menuLoading:
|
|
744
|
-
breakpoint:
|
|
745
|
-
fixSiderbar:
|
|
739
|
+
layout: I,
|
|
740
|
+
isMobile: p,
|
|
741
|
+
menuLoading: R,
|
|
742
|
+
breakpoint: h,
|
|
743
|
+
fixSiderbar: B,
|
|
746
744
|
collapsed: l,
|
|
747
|
-
siderWidth:
|
|
745
|
+
siderWidth: r,
|
|
748
746
|
collapsedWidth: M,
|
|
749
|
-
menuExtraRender:
|
|
750
|
-
menuContentRender:
|
|
751
|
-
menuFooterRender:
|
|
752
|
-
collapsedButtonRender:
|
|
753
|
-
links:
|
|
754
|
-
} = Ce(e),
|
|
747
|
+
menuExtraRender: O,
|
|
748
|
+
menuContentRender: S,
|
|
749
|
+
menuFooterRender: f,
|
|
750
|
+
collapsedButtonRender: y,
|
|
751
|
+
links: x
|
|
752
|
+
} = Ce(e), C = t({
|
|
755
753
|
suffixCls: "sider",
|
|
756
754
|
isPor: !0
|
|
757
755
|
}), {
|
|
758
|
-
wrapSSR:
|
|
756
|
+
wrapSSR: g,
|
|
759
757
|
hashId: w
|
|
760
|
-
} =
|
|
761
|
-
var A;
|
|
762
|
-
return typeof h.value == "function" ? (A = h.value) == null ? void 0 : A.call(h) : h.value;
|
|
763
|
-
}), E = v(() => m.value !== !1 ? m.value || bt : !1), Y = (A) => {
|
|
758
|
+
} = Q("ProLayoutSiderMenu", [kn, Bn, $n], C), $ = b(() => e.layout === "wide"), F = b(() => e.layout === "mix" && !e.isMobile && e.splitMenus), N = b(() => I.value === "side" || I.value === "simple"), z = b(() => (e.layout === "mix" || $.value) && "light" || c.value), j = b(() => I.value === "top" ? [] : i.value), T = b(() => e.collapsed ? e.collapsedWidth : e.siderWidth), _ = b(() => [w.value, C, p.value ? "shadow" : null, `${C}-${z.value}`, B.value && e.layout !== "wide" ? `${C}-fixed` : null]), G = b(() => {
|
|
764
759
|
var d;
|
|
760
|
+
return typeof x.value == "function" ? (d = x.value) == null ? void 0 : d.call(x) : x.value;
|
|
761
|
+
}), K = b(() => y.value !== !1 ? y.value || bt : !1), q = (d) => {
|
|
762
|
+
var v;
|
|
765
763
|
if (e.onSelect) {
|
|
766
|
-
if (
|
|
767
|
-
e.onSelect([(
|
|
764
|
+
if (A(F)) {
|
|
765
|
+
e.onSelect([(v = a == null ? void 0 : a.value) == null ? void 0 : v[0], ...d]);
|
|
768
766
|
return;
|
|
769
767
|
}
|
|
770
|
-
e.onSelect(
|
|
768
|
+
e.onSelect(d);
|
|
771
769
|
}
|
|
772
770
|
};
|
|
773
771
|
return () => {
|
|
774
|
-
var
|
|
775
|
-
const
|
|
776
|
-
drawer:
|
|
777
|
-
}, e), null) : null,
|
|
778
|
-
class: `${
|
|
772
|
+
var P;
|
|
773
|
+
const d = N.value ? n(Ae, X({
|
|
774
|
+
drawer: p.value
|
|
775
|
+
}, e), null) : null, v = O.value && ((P = O.value) == null ? void 0 : P.call(O, e)), k = n(gt, {
|
|
776
|
+
class: `${C}-menu ${w.value}`,
|
|
779
777
|
theme: z.value,
|
|
780
778
|
mode: "inline",
|
|
781
|
-
menuData:
|
|
779
|
+
menuData: F.value ? o.value : j.value,
|
|
782
780
|
iconfontUrl: e.iconfontUrl,
|
|
783
781
|
openKeys: u.value,
|
|
784
782
|
selectedKeys: a.value,
|
|
@@ -788,13 +786,13 @@ const {
|
|
|
788
786
|
style: {
|
|
789
787
|
width: "100%"
|
|
790
788
|
},
|
|
791
|
-
onOpenKeys: (
|
|
792
|
-
var
|
|
793
|
-
return e.onOpenKeys && ((
|
|
789
|
+
onOpenKeys: (D) => {
|
|
790
|
+
var U;
|
|
791
|
+
return e.onOpenKeys && ((U = e.onOpenKeys) == null ? void 0 : U.call(e, D));
|
|
794
792
|
},
|
|
795
|
-
onSelect:
|
|
793
|
+
onSelect: q
|
|
796
794
|
}, null);
|
|
797
|
-
return
|
|
795
|
+
return F.value && A(o.value).length === 0 || j.value.length === 0 ? null : g(n(Te, {
|
|
798
796
|
theme: {
|
|
799
797
|
components: {
|
|
800
798
|
Menu: ft({
|
|
@@ -803,102 +801,102 @@ const {
|
|
|
803
801
|
colorActiveBarHeight: 0,
|
|
804
802
|
colorActiveBarBorderSize: 0
|
|
805
803
|
// 主题颜色
|
|
806
|
-
}, (
|
|
804
|
+
}, (m == null ? void 0 : m.value) || {}, z.value, "sider")
|
|
807
805
|
}
|
|
808
806
|
}
|
|
809
807
|
}, {
|
|
810
|
-
default: () => [
|
|
808
|
+
default: () => [B.value && n("div", {
|
|
811
809
|
style: {
|
|
812
|
-
width: `${
|
|
810
|
+
width: `${T.value}px`,
|
|
813
811
|
overflow: "hidden",
|
|
814
|
-
flex: `0 0 ${
|
|
815
|
-
maxWidth: `${
|
|
816
|
-
minWidth: `${
|
|
812
|
+
flex: `0 0 ${T.value}px`,
|
|
813
|
+
maxWidth: `${T.value}px`,
|
|
814
|
+
minWidth: `${T.value}px`,
|
|
817
815
|
transition: "background-color 0.2s, min-width 0.2s, max-width 0.2s"
|
|
818
816
|
}
|
|
819
817
|
}, null), n(Ln, {
|
|
820
818
|
collapsible: !0,
|
|
821
819
|
trigger: null,
|
|
822
|
-
class:
|
|
820
|
+
class: _.value,
|
|
823
821
|
style: {
|
|
824
822
|
overflow: "hidden",
|
|
825
|
-
zIndex:
|
|
823
|
+
zIndex: B.value ? 101 : void 0,
|
|
826
824
|
paddingTop: N.value || e.isMobile || $.value ? 0 : `${e.headerHeight}px`,
|
|
827
825
|
top: e.layout === "wide" ? `${e.headerHeight + 20}px` : void 0,
|
|
828
826
|
height: e.layout === "wide" ? `calc(100vh - ${e.headerHeight + 20 * 2}px)` : void 0
|
|
829
827
|
},
|
|
830
828
|
theme: z.value,
|
|
831
|
-
breakpoint:
|
|
829
|
+
breakpoint: h.value || void 0,
|
|
832
830
|
collapsed: l.value,
|
|
833
|
-
width:
|
|
831
|
+
width: r.value,
|
|
834
832
|
collapsedWidth: M.value
|
|
835
833
|
}, {
|
|
836
834
|
default: () => {
|
|
837
|
-
var
|
|
838
|
-
return [
|
|
835
|
+
var D, U;
|
|
836
|
+
return [R.value && n("div", {
|
|
839
837
|
class: ["gx-pro-sider-loading", w.value]
|
|
840
838
|
}, [n(ve, {
|
|
841
|
-
spinning:
|
|
842
|
-
}, null)]),
|
|
839
|
+
spinning: R.value
|
|
840
|
+
}, null)]), d || null, v && !e.collapsed && n("div", {
|
|
843
841
|
class: {
|
|
844
842
|
[`${w.value}`]: !0,
|
|
845
|
-
[`${
|
|
846
|
-
[`${
|
|
843
|
+
[`${C}-extra`]: !0,
|
|
844
|
+
[`${C}-extra-no-logo`]: !d
|
|
847
845
|
}
|
|
848
|
-
}, [
|
|
846
|
+
}, [v]), n("div", {
|
|
849
847
|
style: {
|
|
850
848
|
flex: "1 1 0%",
|
|
851
849
|
overflow: "hidden auto"
|
|
852
850
|
}
|
|
853
|
-
}, [
|
|
854
|
-
class: `${
|
|
851
|
+
}, [S.value && ((D = S.value) == null ? void 0 : D.call(S, e, k)) || k]), e.layout !== "wide" && n("div", {
|
|
852
|
+
class: `${C}-links ${w.value}`
|
|
855
853
|
}, [n(ae, {
|
|
856
854
|
theme: z.value,
|
|
857
855
|
inlineIndent: 16,
|
|
858
|
-
class: `${
|
|
856
|
+
class: `${C}-link-menu ${w.value}`,
|
|
859
857
|
selectedKeys: [],
|
|
860
858
|
openKeys: [],
|
|
861
859
|
mode: "inline"
|
|
862
860
|
}, {
|
|
863
|
-
default: () => [(G.value || []).map((
|
|
864
|
-
class: `${
|
|
865
|
-
key:
|
|
866
|
-
},
|
|
867
|
-
default: () => [
|
|
868
|
-
})),
|
|
869
|
-
class: `${
|
|
861
|
+
default: () => [(G.value || []).map((E, te) => n(qe, {
|
|
862
|
+
class: `${C}-link ${w.value}`,
|
|
863
|
+
key: te
|
|
864
|
+
}, Tn(E) ? E : {
|
|
865
|
+
default: () => [E]
|
|
866
|
+
})), K.value && !p.value && n(qe, {
|
|
867
|
+
class: `${C}-collapsed-button ${w.value}`,
|
|
870
868
|
title: !1,
|
|
871
869
|
key: "collapsed",
|
|
872
870
|
onClick: () => {
|
|
873
|
-
var
|
|
874
|
-
e.onCollapse && ((
|
|
871
|
+
var E;
|
|
872
|
+
e.onCollapse && ((E = e.onCollapse) == null || E.call(e, !l.value));
|
|
875
873
|
}
|
|
876
874
|
}, {
|
|
877
875
|
default: () => {
|
|
878
|
-
var
|
|
879
|
-
return [(
|
|
876
|
+
var E;
|
|
877
|
+
return [(E = K.value) == null ? void 0 : E.call(K, l.value)];
|
|
880
878
|
}
|
|
881
879
|
})]
|
|
882
|
-
})]),
|
|
883
|
-
class: `${
|
|
884
|
-
}, [(
|
|
880
|
+
})]), f.value && n("div", {
|
|
881
|
+
class: `${C}-footer ${w.value}`
|
|
882
|
+
}, [(U = f.value) == null ? void 0 : U.call(f, e)])];
|
|
885
883
|
}
|
|
886
884
|
})]
|
|
887
885
|
}));
|
|
888
886
|
};
|
|
889
887
|
}
|
|
890
|
-
}),
|
|
888
|
+
}), ke = /* @__PURE__ */ V({
|
|
891
889
|
name: "SiderMenuWrapper",
|
|
892
890
|
inheritAttrs: !1,
|
|
893
891
|
props: {
|
|
894
|
-
...
|
|
892
|
+
...Y,
|
|
895
893
|
matchMenuKeys: {
|
|
896
894
|
type: Array,
|
|
897
895
|
default: () => []
|
|
898
896
|
}
|
|
899
897
|
},
|
|
900
898
|
setup(e) {
|
|
901
|
-
return () => n(
|
|
899
|
+
return () => n(Z, null, [e.isMobile ? n(be, {
|
|
902
900
|
maskClosable: !0,
|
|
903
901
|
open: !e.collapsed,
|
|
904
902
|
closable: !1,
|
|
@@ -923,7 +921,7 @@ const {
|
|
|
923
921
|
}) : n(Ze, e, null)]);
|
|
924
922
|
}
|
|
925
923
|
}), pt = Symbol("pro-app-context"), Dn = (e = Symbol(), t) => ot(e, t || {}), Nn = (e) => {
|
|
926
|
-
|
|
924
|
+
Fe(pt, e);
|
|
927
925
|
}, zn = () => Dn(pt, []);
|
|
928
926
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
929
927
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
@@ -958,7 +956,7 @@ const Kn = ({ suffixCls: e, customizePrefixCls: t, isPor: a, className: o }) =>
|
|
|
958
956
|
fontFamily: u
|
|
959
957
|
}
|
|
960
958
|
};
|
|
961
|
-
}, En = ["emptyText", "indicator"], Oe = /* @__PURE__ */
|
|
959
|
+
}, En = ["emptyText", "indicator"], Oe = /* @__PURE__ */ V({
|
|
962
960
|
name: "GProApp",
|
|
963
961
|
props: {
|
|
964
962
|
rootClassName: String,
|
|
@@ -974,20 +972,23 @@ const Kn = ({ suffixCls: e, customizePrefixCls: t, isPor: a, className: o }) =>
|
|
|
974
972
|
}), {
|
|
975
973
|
wrapSSR: o,
|
|
976
974
|
hashId: i
|
|
977
|
-
} =
|
|
975
|
+
} = Q("BaseApp", [Un], a), u = b(() => An(En, t, e)), m = b(() => [i.value, a, e.rootClassName]);
|
|
978
976
|
return Nn({
|
|
979
|
-
emptyText:
|
|
980
|
-
indicator:
|
|
977
|
+
emptyText: b(() => u.value.emptyText),
|
|
978
|
+
indicator: b(() => u.value.indicator)
|
|
981
979
|
}), () => {
|
|
982
980
|
var c;
|
|
983
981
|
return o(n("div", {
|
|
984
|
-
class:
|
|
982
|
+
class: m.value
|
|
985
983
|
}, [(c = t.default) == null ? void 0 : c.call(t)]));
|
|
986
984
|
};
|
|
987
985
|
}
|
|
988
986
|
});
|
|
989
987
|
Oe.install = (e) => (e.component(Oe.name, Oe), e);
|
|
990
988
|
const fe = {
|
|
989
|
+
waterMarkProps: {
|
|
990
|
+
type: Object
|
|
991
|
+
},
|
|
991
992
|
pageHeaderRender: {
|
|
992
993
|
type: [Object, Function, Boolean],
|
|
993
994
|
default: () => {
|
|
@@ -1020,7 +1021,7 @@ const fe = {
|
|
|
1020
1021
|
marginTop: "8px"
|
|
1021
1022
|
}
|
|
1022
1023
|
}
|
|
1023
|
-
}), Yn = /* @__PURE__ */
|
|
1024
|
+
}), Yn = /* @__PURE__ */ V({
|
|
1024
1025
|
name: "ProPageHeader",
|
|
1025
1026
|
props: {
|
|
1026
1027
|
content: fe.contentRender,
|
|
@@ -1030,36 +1031,36 @@ const fe = {
|
|
|
1030
1031
|
const {
|
|
1031
1032
|
breadcrumb: t,
|
|
1032
1033
|
getPrefixCls: a
|
|
1033
|
-
} =
|
|
1034
|
+
} = ee(), o = a({
|
|
1034
1035
|
isPor: !0,
|
|
1035
1036
|
suffixCls: "page-header"
|
|
1036
1037
|
}), {
|
|
1037
1038
|
wrapSSR: i,
|
|
1038
1039
|
hashId: u
|
|
1039
|
-
} =
|
|
1040
|
+
} = Q("ProPageHeader", [Xn], o), m = b(() => {
|
|
1040
1041
|
var c;
|
|
1041
1042
|
return {
|
|
1042
1043
|
...t.value,
|
|
1043
1044
|
itemRender: ((c = t.value) == null ? void 0 : c.itemRender) || (({
|
|
1044
|
-
route:
|
|
1045
|
-
}) =>
|
|
1046
|
-
to:
|
|
1045
|
+
route: I
|
|
1046
|
+
}) => I.path ? n(Vt, {
|
|
1047
|
+
to: I.path
|
|
1047
1048
|
}, {
|
|
1048
|
-
default: () => [
|
|
1049
|
-
}) :
|
|
1049
|
+
default: () => [I.breadcrumbName]
|
|
1050
|
+
}) : I.breadcrumbName)
|
|
1050
1051
|
};
|
|
1051
1052
|
});
|
|
1052
1053
|
return () => {
|
|
1053
|
-
var c,
|
|
1054
|
+
var c, I;
|
|
1054
1055
|
return i(n("div", {
|
|
1055
1056
|
class: [`${o}`, u.value, `${o}-has-breadcrumb`]
|
|
1056
|
-
}, [e.breadcrumb ? (c = e.breadcrumb) == null ? void 0 : c.call(e,
|
|
1057
|
+
}, [e.breadcrumb ? (c = e.breadcrumb) == null ? void 0 : c.call(e, m.value) : n(Ft, m.value, null), e.content && n("div", {
|
|
1057
1058
|
class: [`${o}-content`, u.value]
|
|
1058
|
-
}, [(
|
|
1059
|
+
}, [(I = e.content) == null ? void 0 : I.call(e)])]));
|
|
1059
1060
|
};
|
|
1060
1061
|
}
|
|
1061
1062
|
}), _n = (e) => {
|
|
1062
|
-
var t, a, o, i, u,
|
|
1063
|
+
var t, a, o, i, u, m, c, I;
|
|
1063
1064
|
return {
|
|
1064
1065
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
1065
1066
|
[e.componentCls]: {
|
|
@@ -1072,8 +1073,8 @@ const fe = {
|
|
|
1072
1073
|
},
|
|
1073
1074
|
[e.componentCls]: {
|
|
1074
1075
|
["&-children-content"]: {
|
|
1075
|
-
marginInline: ((
|
|
1076
|
-
marginBlockStart: ((
|
|
1076
|
+
marginInline: ((m = (u = e.layout) == null ? void 0 : u.pageContainer) == null ? void 0 : m.paddingBlockPageContainerContent) ?? 24,
|
|
1077
|
+
marginBlockStart: ((I = (c = e.layout) == null ? void 0 : c.pageContainer) == null ? void 0 : I.paddingBlockPageContainerContent) ?? 24,
|
|
1077
1078
|
padding: "inherit"
|
|
1078
1079
|
}
|
|
1079
1080
|
}
|
|
@@ -1090,7 +1091,7 @@ function Gn(e) {
|
|
|
1090
1091
|
function qn(e) {
|
|
1091
1092
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
|
|
1092
1093
|
}
|
|
1093
|
-
const Di = /* @__PURE__ */
|
|
1094
|
+
const Di = /* @__PURE__ */ V({
|
|
1094
1095
|
inheritAttrs: !1,
|
|
1095
1096
|
name: "GProPageContainer",
|
|
1096
1097
|
props: fe,
|
|
@@ -1102,64 +1103,65 @@ const Di = /* @__PURE__ */ j({
|
|
|
1102
1103
|
getPrefixCls: o,
|
|
1103
1104
|
hasContentWide: i,
|
|
1104
1105
|
waterMark: u,
|
|
1105
|
-
pageHeaderRender:
|
|
1106
|
+
pageHeaderRender: m,
|
|
1106
1107
|
pageContentStyle: c,
|
|
1107
|
-
pageCardProps:
|
|
1108
|
-
usePageCard:
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1108
|
+
pageCardProps: I,
|
|
1109
|
+
usePageCard: p,
|
|
1110
|
+
waterMarkProps: R
|
|
1111
|
+
} = ee(), {
|
|
1112
|
+
indicator: h
|
|
1113
|
+
} = zn(), B = o({
|
|
1112
1114
|
suffixCls: "page-container",
|
|
1113
1115
|
isPor: !0
|
|
1114
|
-
}),
|
|
1116
|
+
}), l = o({
|
|
1115
1117
|
suffixCls: "grid-content",
|
|
1116
1118
|
isPor: !0
|
|
1117
|
-
}),
|
|
1118
|
-
wrapSSR:
|
|
1119
|
-
hashId:
|
|
1120
|
-
} = Gn(
|
|
1121
|
-
var
|
|
1119
|
+
}), r = b(() => e.pageCardProps || I.value), M = b(() => e.waterMarkProps || R.value || {}), O = b(() => e.pageContentStyle || c.value), {
|
|
1120
|
+
wrapSSR: S,
|
|
1121
|
+
hashId: f
|
|
1122
|
+
} = Gn(B), y = () => {
|
|
1123
|
+
var C;
|
|
1122
1124
|
return n("div", {
|
|
1123
|
-
class: `${
|
|
1124
|
-
}, [(Qt(e.usePageCard) ? e.usePageCard :
|
|
1125
|
+
class: `${B}-children-content ${f.value}`
|
|
1126
|
+
}, [(Qt(e.usePageCard) ? e.usePageCard : p.value) ? n(Tt, X(r.value ? le(r.value, ["loading", "bodyStyle"]) : {}, {
|
|
1125
1127
|
style: i.value ? {
|
|
1126
1128
|
minHeight: "853px"
|
|
1127
1129
|
} : void 0,
|
|
1128
1130
|
bordered: !1
|
|
1129
1131
|
}), {
|
|
1130
1132
|
default: () => {
|
|
1131
|
-
var
|
|
1132
|
-
return [(
|
|
1133
|
+
var g;
|
|
1134
|
+
return [(g = t.default) == null ? void 0 : g.call(t)];
|
|
1133
1135
|
}
|
|
1134
|
-
}) : (
|
|
1135
|
-
},
|
|
1136
|
-
let
|
|
1137
|
-
return n(
|
|
1138
|
-
default: () => [
|
|
1139
|
-
}) :
|
|
1136
|
+
}) : (C = t.default) == null ? void 0 : C.call(t)]);
|
|
1137
|
+
}, x = () => {
|
|
1138
|
+
let C;
|
|
1139
|
+
return n(Z, null, [e.waterMark && u.value ? n(Jt, M.value, qn(C = y()) ? C : {
|
|
1140
|
+
default: () => [C]
|
|
1141
|
+
}) : y()]);
|
|
1140
1142
|
};
|
|
1141
1143
|
return () => {
|
|
1142
|
-
const
|
|
1143
|
-
return
|
|
1144
|
+
const C = W(t, e, "pageHeaderRender") || m.value, g = W(t, e, "breadcrumbRender"), w = W(t, e, "contentRender");
|
|
1145
|
+
return S(n(ve, {
|
|
1144
1146
|
spinning: e.loading,
|
|
1145
|
-
indicator:
|
|
1147
|
+
indicator: h == null ? void 0 : h.value
|
|
1146
1148
|
}, {
|
|
1147
1149
|
default: () => [n("div", {
|
|
1148
1150
|
style: a.style,
|
|
1149
1151
|
class: {
|
|
1150
|
-
[`${
|
|
1151
|
-
[`${
|
|
1152
|
+
[`${f.value}`]: !0,
|
|
1153
|
+
[`${B}`]: !0
|
|
1152
1154
|
}
|
|
1153
|
-
}, [!i.value &&
|
|
1155
|
+
}, [!i.value && C !== !1 && (C || n(Yn, {
|
|
1154
1156
|
style: e.pageHeaderStyle,
|
|
1155
|
-
breadcrumb:
|
|
1156
|
-
content:
|
|
1157
|
+
breadcrumb: g,
|
|
1158
|
+
content: w
|
|
1157
1159
|
}, null)), n("div", {
|
|
1158
|
-
class: [
|
|
1160
|
+
class: [l, f.value]
|
|
1159
1161
|
}, [n("div", {
|
|
1160
|
-
class: `${
|
|
1161
|
-
style:
|
|
1162
|
-
}, [
|
|
1162
|
+
class: `${l}-children ${f.value}`,
|
|
1163
|
+
style: O.value
|
|
1164
|
+
}, [x()])])])]
|
|
1163
1165
|
}));
|
|
1164
1166
|
};
|
|
1165
1167
|
}
|
|
@@ -1173,7 +1175,7 @@ const Di = /* @__PURE__ */ j({
|
|
|
1173
1175
|
autoHideHeader: Boolean,
|
|
1174
1176
|
collapsed: Boolean,
|
|
1175
1177
|
isMobile: Boolean,
|
|
1176
|
-
siderWidth:
|
|
1178
|
+
siderWidth: Y.siderWidth,
|
|
1177
1179
|
headerTheme: {
|
|
1178
1180
|
type: String,
|
|
1179
1181
|
default: "dark"
|
|
@@ -1197,12 +1199,12 @@ const Di = /* @__PURE__ */ j({
|
|
|
1197
1199
|
default: () => {
|
|
1198
1200
|
}
|
|
1199
1201
|
},
|
|
1200
|
-
collapsedButtonRender:
|
|
1201
|
-
matchMenuKeys:
|
|
1202
|
-
onCollapse:
|
|
1203
|
-
onOpenKeys:
|
|
1202
|
+
collapsedButtonRender: Y.collapsedButtonRender,
|
|
1203
|
+
matchMenuKeys: Y.matchMenuKeys,
|
|
1204
|
+
onCollapse: Y.onCollapse,
|
|
1205
|
+
onOpenKeys: Y.onOpenKeys,
|
|
1204
1206
|
onMenuHeaderClick: Function,
|
|
1205
|
-
onSelect:
|
|
1207
|
+
onSelect: Y.onSelect
|
|
1206
1208
|
}, vt = {
|
|
1207
1209
|
...Ke,
|
|
1208
1210
|
headerTitleRender: {
|
|
@@ -1221,14 +1223,14 @@ const Di = /* @__PURE__ */ j({
|
|
|
1221
1223
|
}
|
|
1222
1224
|
},
|
|
1223
1225
|
hasSiderMenu: Boolean,
|
|
1224
|
-
collapsedWidth:
|
|
1225
|
-
siderWidth:
|
|
1226
|
+
collapsedWidth: Y.collapsedWidth,
|
|
1227
|
+
siderWidth: Y.siderWidth
|
|
1226
1228
|
}, xt = {
|
|
1227
1229
|
loading: L.looseBool,
|
|
1228
|
-
isMobile:
|
|
1230
|
+
isMobile: Y.isMobile,
|
|
1229
1231
|
collapsed: Ie.collapsed,
|
|
1230
|
-
siderWidth:
|
|
1231
|
-
collapsedWidth:
|
|
1232
|
+
siderWidth: Y.siderWidth,
|
|
1233
|
+
collapsedWidth: Y.collapsedWidth,
|
|
1232
1234
|
isFixedMultiTab: se.fixedMultiTab,
|
|
1233
1235
|
onReloadPage: {
|
|
1234
1236
|
type: Function
|
|
@@ -1285,7 +1287,7 @@ const Di = /* @__PURE__ */ j({
|
|
|
1285
1287
|
title: "Ant Design Vue",
|
|
1286
1288
|
href: "https://next.antdv.com/components/overview-cn/",
|
|
1287
1289
|
blankTarget: !0
|
|
1288
|
-
}],
|
|
1290
|
+
}], Be = /* @__PURE__ */ V({
|
|
1289
1291
|
name: "GlobalFooter",
|
|
1290
1292
|
props: {
|
|
1291
1293
|
links: {
|
|
@@ -1304,7 +1306,7 @@ const Di = /* @__PURE__ */ j({
|
|
|
1304
1306
|
}), {
|
|
1305
1307
|
wrapSSR: a,
|
|
1306
1308
|
hashId: o
|
|
1307
|
-
} =
|
|
1309
|
+
} = Q("ProLayoutFooter", [Zn], t);
|
|
1308
1310
|
return () => a(n(Lt, {
|
|
1309
1311
|
style: {
|
|
1310
1312
|
padding: 0
|
|
@@ -1321,7 +1323,7 @@ const Di = /* @__PURE__ */ j({
|
|
|
1321
1323
|
href: i.href
|
|
1322
1324
|
}, [i.title]))]), e.copyright && n("div", {
|
|
1323
1325
|
class: `${t}-copyright ${o.value}`
|
|
1324
|
-
}, [
|
|
1326
|
+
}, [ne("Copyright 2022 "), n("a", {
|
|
1325
1327
|
href: "https://beian.miit.gov.cn/"
|
|
1326
1328
|
}, [e.copyright])])])]
|
|
1327
1329
|
}));
|
|
@@ -1329,7 +1331,7 @@ const Di = /* @__PURE__ */ j({
|
|
|
1329
1331
|
}), wt = {
|
|
1330
1332
|
...se,
|
|
1331
1333
|
...Ke,
|
|
1332
|
-
...
|
|
1334
|
+
...Y,
|
|
1333
1335
|
...vt,
|
|
1334
1336
|
...xt,
|
|
1335
1337
|
...fe,
|
|
@@ -1460,7 +1462,7 @@ const Di = /* @__PURE__ */ j({
|
|
|
1460
1462
|
"&-fixed": {
|
|
1461
1463
|
position: "fixed",
|
|
1462
1464
|
height: 62,
|
|
1463
|
-
top: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.heightLayoutHeader) ||
|
|
1465
|
+
top: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.heightLayoutHeader) || H.headerHeight,
|
|
1464
1466
|
right: 0,
|
|
1465
1467
|
zIndex: 9,
|
|
1466
1468
|
transition: "width .2s"
|
|
@@ -1497,7 +1499,7 @@ const na = [
|
|
|
1497
1499
|
function aa(e) {
|
|
1498
1500
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
|
|
1499
1501
|
}
|
|
1500
|
-
const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */
|
|
1502
|
+
const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ V({
|
|
1501
1503
|
props: {
|
|
1502
1504
|
...xt,
|
|
1503
1505
|
visible: {
|
|
@@ -1514,47 +1516,47 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ j({
|
|
|
1514
1516
|
activeKey: "",
|
|
1515
1517
|
contextMenuActiveKey: ""
|
|
1516
1518
|
}), u = De(), {
|
|
1517
|
-
menuData:
|
|
1519
|
+
menuData: m,
|
|
1518
1520
|
flatMenuData: c,
|
|
1519
|
-
layout:
|
|
1520
|
-
splitMenus:
|
|
1521
|
-
getPrefixCls:
|
|
1522
|
-
} =
|
|
1521
|
+
layout: I,
|
|
1522
|
+
splitMenus: p,
|
|
1523
|
+
getPrefixCls: R
|
|
1524
|
+
} = ee(), h = R({
|
|
1523
1525
|
isPor: !0,
|
|
1524
1526
|
suffixCls: "multi-tab"
|
|
1525
1527
|
}), {
|
|
1526
|
-
wrapSSR:
|
|
1528
|
+
wrapSSR: B,
|
|
1527
1529
|
hashId: l
|
|
1528
|
-
} = ta(
|
|
1529
|
-
de(
|
|
1530
|
+
} = ta(h), r = Re([]);
|
|
1531
|
+
de(r, () => {
|
|
1530
1532
|
var d;
|
|
1531
|
-
(d = e.onChangeTabs) == null || d.call(e, He(
|
|
1533
|
+
(d = e.onChangeTabs) == null || d.call(e, He(A(r)));
|
|
1532
1534
|
}, {
|
|
1533
1535
|
deep: !0
|
|
1534
1536
|
});
|
|
1535
|
-
const M =
|
|
1536
|
-
const d = !(M.value &&
|
|
1537
|
-
return
|
|
1538
|
-
}),
|
|
1537
|
+
const M = b(() => I.value === "mix" && !e.isMobile && p.value), O = b(() => u.currentRoute.value.fullPath || u.currentRoute.value.path), S = b(() => a.value && !t.value), f = b(() => {
|
|
1538
|
+
const d = !(M.value && A(c.value).length === 0 || m.value.length === 0 || I.value === "top");
|
|
1539
|
+
return S.value && d ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
|
|
1540
|
+
}), y = b(() => dt(`${h}-wrap`, {
|
|
1539
1541
|
[`${l.value}`]: !0,
|
|
1540
|
-
[`${
|
|
1541
|
-
[`${
|
|
1542
|
-
})),
|
|
1542
|
+
[`${h}-wrap-fixed`]: e.isFixedMultiTab,
|
|
1543
|
+
[`${h}-wrap-loading`]: e.loading
|
|
1544
|
+
})), x = b(() => {
|
|
1543
1545
|
const d = {
|
|
1544
1546
|
display: e.visible ? void 0 : "none"
|
|
1545
1547
|
};
|
|
1546
1548
|
return e.isFixedMultiTab ? {
|
|
1547
1549
|
margin: 0,
|
|
1548
|
-
width:
|
|
1550
|
+
width: f.value,
|
|
1549
1551
|
paddingTop: "6px",
|
|
1550
1552
|
zIndex: 99,
|
|
1551
1553
|
...d
|
|
1552
1554
|
} : d;
|
|
1553
|
-
}),
|
|
1555
|
+
}), C = (d) => (d.fullPath || d.path) === O.value, g = (d) => {
|
|
1554
1556
|
if (d.name && d.meta && d.meta.tagHidden !== !0) {
|
|
1555
|
-
const
|
|
1557
|
+
const v = d.fullPath || d.path, k = r.value.find((D) => D.fullPath === v), P = {
|
|
1556
1558
|
path: d.path,
|
|
1557
|
-
fullPath:
|
|
1559
|
+
fullPath: v,
|
|
1558
1560
|
query: d.query,
|
|
1559
1561
|
params: d.params,
|
|
1560
1562
|
name: d.name,
|
|
@@ -1562,160 +1564,160 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ j({
|
|
|
1562
1564
|
...d.meta
|
|
1563
1565
|
}
|
|
1564
1566
|
};
|
|
1565
|
-
|
|
1567
|
+
k ? Object.assign(k, P) : d.meta.tagFixed ? r.value.unshift(P) : r.value.push(P), C(d) && (i.activeKey = v);
|
|
1566
1568
|
}
|
|
1567
1569
|
}, w = (d) => {
|
|
1568
|
-
d.forEach((
|
|
1569
|
-
|
|
1570
|
+
d.forEach((v) => {
|
|
1571
|
+
v.meta && v.meta.tagFixed && g(v), v.children && w(v.children);
|
|
1570
1572
|
});
|
|
1571
1573
|
};
|
|
1572
|
-
de(() =>
|
|
1574
|
+
de(() => m.value, (d) => {
|
|
1573
1575
|
w(d);
|
|
1574
1576
|
}, {
|
|
1575
1577
|
deep: !0,
|
|
1576
1578
|
immediate: !0
|
|
1577
1579
|
}), de(() => u.currentRoute.value, (d) => {
|
|
1578
|
-
|
|
1580
|
+
g(d);
|
|
1579
1581
|
}, {
|
|
1580
1582
|
deep: !0,
|
|
1581
1583
|
immediate: !0
|
|
1582
1584
|
});
|
|
1583
1585
|
const $ = () => {
|
|
1584
|
-
const d =
|
|
1586
|
+
const d = r.value.slice(-1)[0];
|
|
1585
1587
|
d ? u.push(d) : u.push("/");
|
|
1586
|
-
},
|
|
1587
|
-
const
|
|
1588
|
-
|
|
1588
|
+
}, F = async (d) => {
|
|
1589
|
+
const v = r.value.find((k) => d === k.fullPath);
|
|
1590
|
+
r.value = r.value.filter((k) => k.fullPath !== d), v && C(v) && $();
|
|
1589
1591
|
}, N = (d) => {
|
|
1590
|
-
const
|
|
1591
|
-
i.activeKey !== (
|
|
1592
|
+
const v = r.value.find((k) => k.fullPath === d);
|
|
1593
|
+
i.activeKey !== (v == null ? void 0 : v.fullPath) && (v != null && v.fullPath) && u.push(v == null ? void 0 : v.fullPath);
|
|
1592
1594
|
}, z = () => {
|
|
1593
1595
|
var d;
|
|
1594
1596
|
o.value = !0, e.onReloadPage && ((d = e.onReloadPage) == null || d.call(e)), setTimeout(() => {
|
|
1595
1597
|
o.value = !1;
|
|
1596
1598
|
}, 500);
|
|
1597
|
-
},
|
|
1598
|
-
const
|
|
1599
|
+
}, j = (d) => d.meta && d.meta.tagFixed, T = (d) => i[d], _ = (d, v) => {
|
|
1600
|
+
const k = r.value.findIndex((P) => P.fullPath === T(v));
|
|
1599
1601
|
switch (d) {
|
|
1600
1602
|
case "closeOthersTabs":
|
|
1601
|
-
|
|
1603
|
+
r.value = r.value.filter((P) => {
|
|
1602
1604
|
var D;
|
|
1603
|
-
return
|
|
1605
|
+
return P.fullPath === T(v) || ((D = P.meta) == null ? void 0 : D.tagFixed);
|
|
1604
1606
|
});
|
|
1605
1607
|
break;
|
|
1606
1608
|
case "closeLeftTabs":
|
|
1607
|
-
|
|
1608
|
-
var
|
|
1609
|
-
return D >=
|
|
1609
|
+
k && (r.value = r.value.filter((P, D) => {
|
|
1610
|
+
var U;
|
|
1611
|
+
return D >= k || ((U = P.meta) == null ? void 0 : U.tagFixed);
|
|
1610
1612
|
}));
|
|
1611
1613
|
break;
|
|
1612
1614
|
case "closeRightTabs":
|
|
1613
|
-
|
|
1614
|
-
var
|
|
1615
|
-
return D <=
|
|
1615
|
+
k && (r.value = r.value.filter((P, D) => {
|
|
1616
|
+
var U;
|
|
1617
|
+
return D <= k || ((U = P.meta) == null ? void 0 : U.tagFixed);
|
|
1616
1618
|
}));
|
|
1617
1619
|
break;
|
|
1618
1620
|
case "reloadPage":
|
|
1619
|
-
(
|
|
1621
|
+
(k === 0 || k) && i.activeKey === T(v) && z();
|
|
1620
1622
|
break;
|
|
1621
1623
|
}
|
|
1622
|
-
i.activeKey !==
|
|
1623
|
-
},
|
|
1624
|
-
const
|
|
1624
|
+
i.activeKey !== T(v) && u.push(T(v));
|
|
1625
|
+
}, G = (d, v) => {
|
|
1626
|
+
const k = r.value.findIndex((P) => P.fullPath === v);
|
|
1625
1627
|
switch (d) {
|
|
1626
1628
|
case "closeOthersTabs":
|
|
1627
|
-
return
|
|
1628
|
-
var
|
|
1629
|
-
return
|
|
1629
|
+
return r.value.filter((E, te) => {
|
|
1630
|
+
var J;
|
|
1631
|
+
return te !== k && !((J = E.meta) != null && J.tagFixed);
|
|
1630
1632
|
}).length === 0;
|
|
1631
1633
|
case "closeLeftTabs":
|
|
1632
|
-
return
|
|
1633
|
-
var
|
|
1634
|
-
return
|
|
1634
|
+
return r.value.filter((E, te) => {
|
|
1635
|
+
var J;
|
|
1636
|
+
return te < k && !((J = E.meta) != null && J.tagFixed);
|
|
1635
1637
|
}).length === 0;
|
|
1636
1638
|
case "closeRightTabs":
|
|
1637
|
-
return
|
|
1638
|
-
var
|
|
1639
|
-
return
|
|
1639
|
+
return r.value.filter((E, te) => {
|
|
1640
|
+
var J;
|
|
1641
|
+
return te > k && !((J = E.meta) != null && J.tagFixed);
|
|
1640
1642
|
}).length === 0;
|
|
1641
1643
|
}
|
|
1642
|
-
},
|
|
1643
|
-
let
|
|
1644
|
+
}, K = (d) => {
|
|
1645
|
+
let v;
|
|
1644
1646
|
const {
|
|
1645
|
-
path:
|
|
1646
|
-
stateType:
|
|
1647
|
+
path: k,
|
|
1648
|
+
stateType: P
|
|
1647
1649
|
} = d;
|
|
1648
1650
|
return n(ae, {
|
|
1649
1651
|
selectedKeys: [],
|
|
1650
1652
|
onClick: ({
|
|
1651
1653
|
key: D
|
|
1652
|
-
}) =>
|
|
1653
|
-
}, aa(
|
|
1654
|
+
}) => _(D, P)
|
|
1655
|
+
}, aa(v = na.map((D) => n(ia, {
|
|
1654
1656
|
key: D.key,
|
|
1655
|
-
disabled:
|
|
1657
|
+
disabled: G(D.key, k)
|
|
1656
1658
|
}, {
|
|
1657
1659
|
default: () => [D.label]
|
|
1658
|
-
}))) ?
|
|
1659
|
-
default: () => [
|
|
1660
|
+
}))) ? v : {
|
|
1661
|
+
default: () => [v]
|
|
1660
1662
|
});
|
|
1661
|
-
},
|
|
1663
|
+
}, q = (d) => {
|
|
1662
1664
|
const {
|
|
1663
|
-
router:
|
|
1665
|
+
router: v
|
|
1664
1666
|
} = d;
|
|
1665
1667
|
return n(Ye, {
|
|
1666
1668
|
trigger: "contextmenu",
|
|
1667
|
-
overlay: n(
|
|
1668
|
-
path: (
|
|
1669
|
+
overlay: n(K, {
|
|
1670
|
+
path: (v == null ? void 0 : v.fullPath) || "",
|
|
1669
1671
|
stateType: "contextMenuActiveKey"
|
|
1670
1672
|
}, null),
|
|
1671
|
-
onOpenChange: (
|
|
1672
|
-
i.contextMenuActiveKey =
|
|
1673
|
+
onOpenChange: (k) => {
|
|
1674
|
+
i.contextMenuActiveKey = k && v.fullPath || "";
|
|
1673
1675
|
}
|
|
1674
1676
|
}, {
|
|
1675
1677
|
default: () => {
|
|
1676
|
-
var
|
|
1678
|
+
var k;
|
|
1677
1679
|
return [n("div", {
|
|
1678
|
-
class: [`${
|
|
1679
|
-
}, [(
|
|
1680
|
-
class: [`${
|
|
1680
|
+
class: [`${h}-title`, l.value]
|
|
1681
|
+
}, [(k = v.meta) == null ? void 0 : k.title, i.activeKey === v.fullPath && n(Et, {
|
|
1682
|
+
class: [`${h}-reload-btn`, l.value],
|
|
1681
1683
|
spin: o.value,
|
|
1682
|
-
onClick: (
|
|
1683
|
-
|
|
1684
|
+
onClick: (P) => {
|
|
1685
|
+
P.stopPropagation(), !o.value && z();
|
|
1684
1686
|
}
|
|
1685
|
-
}, null),
|
|
1686
|
-
class: [`${
|
|
1687
|
-
onClick: (
|
|
1688
|
-
|
|
1687
|
+
}, null), r.value.length > 1 && !j(v) && n(st, {
|
|
1688
|
+
class: [`${h}-close-btn`, l.value],
|
|
1689
|
+
onClick: (P) => {
|
|
1690
|
+
P.stopPropagation(), !o.value && F((v == null ? void 0 : v.fullPath) || "");
|
|
1689
1691
|
}
|
|
1690
1692
|
}, null)])];
|
|
1691
1693
|
}
|
|
1692
1694
|
});
|
|
1693
1695
|
};
|
|
1694
|
-
return () =>
|
|
1695
|
-
class: [`${
|
|
1696
|
-
}, null), [[
|
|
1696
|
+
return () => B(n(Z, null, [!!e.isFixedMultiTab && kt(n("div", {
|
|
1697
|
+
class: [`${h}-fixed`, l.value]
|
|
1698
|
+
}, null), [[Bt, e.visible]]), n(Le, {
|
|
1697
1699
|
hideAdd: !0,
|
|
1698
1700
|
type: "editable-card",
|
|
1699
|
-
style:
|
|
1700
|
-
class:
|
|
1701
|
+
style: x.value,
|
|
1702
|
+
class: y.value,
|
|
1701
1703
|
activeKey: i.activeKey,
|
|
1702
1704
|
onTabClick: N
|
|
1703
1705
|
}, {
|
|
1704
|
-
default: () => [
|
|
1706
|
+
default: () => [r.value.map((d) => n(oa, {
|
|
1705
1707
|
key: d.fullPath,
|
|
1706
1708
|
closable: !1,
|
|
1707
|
-
tab: n(
|
|
1709
|
+
tab: n(q, {
|
|
1708
1710
|
router: d
|
|
1709
1711
|
}, null)
|
|
1710
1712
|
}, null))],
|
|
1711
1713
|
rightExtra: () => n(Ye, {
|
|
1712
|
-
overlay: n(
|
|
1714
|
+
overlay: n(K, {
|
|
1713
1715
|
path: i.activeKey,
|
|
1714
1716
|
stateType: "activeKey"
|
|
1715
1717
|
}, null)
|
|
1716
1718
|
}, {
|
|
1717
1719
|
default: () => [n(Ut, {
|
|
1718
|
-
class: [`${
|
|
1720
|
+
class: [`${h}-dropdown-menu-btn`, l.value],
|
|
1719
1721
|
rotate: 90
|
|
1720
1722
|
}, null)]
|
|
1721
1723
|
})
|
|
@@ -1732,41 +1734,41 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ j({
|
|
|
1732
1734
|
hashId: o,
|
|
1733
1735
|
prefixCls: i,
|
|
1734
1736
|
isMobile: u,
|
|
1735
|
-
loading:
|
|
1737
|
+
loading: m,
|
|
1736
1738
|
collapsed: c,
|
|
1737
|
-
siderWidth:
|
|
1738
|
-
isShowTabsBar:
|
|
1739
|
-
isFixedMultiTab:
|
|
1740
|
-
onReloadPage:
|
|
1741
|
-
onChangeTabs:
|
|
1739
|
+
siderWidth: I,
|
|
1740
|
+
isShowTabsBar: p,
|
|
1741
|
+
isFixedMultiTab: R,
|
|
1742
|
+
onReloadPage: h,
|
|
1743
|
+
onChangeTabs: B
|
|
1742
1744
|
} = e;
|
|
1743
1745
|
if (e.isChildrenLayout)
|
|
1744
1746
|
return (M = t.default) == null ? void 0 : M.call(t);
|
|
1745
1747
|
const {
|
|
1746
1748
|
flatMenuData: l,
|
|
1747
|
-
layout:
|
|
1748
|
-
} =
|
|
1749
|
-
return n(
|
|
1750
|
-
visible: (
|
|
1749
|
+
layout: r
|
|
1750
|
+
} = ee();
|
|
1751
|
+
return n(Z, null, [n(la, {
|
|
1752
|
+
visible: (A(r) === "mix" ? A(l).length > 0 : !0) && p,
|
|
1751
1753
|
isMobile: u,
|
|
1752
|
-
loading:
|
|
1753
|
-
isFixedMultiTab:
|
|
1754
|
-
siderWidth:
|
|
1754
|
+
loading: m,
|
|
1755
|
+
isFixedMultiTab: R,
|
|
1756
|
+
siderWidth: I,
|
|
1755
1757
|
collapsed: c,
|
|
1756
|
-
onReloadPage:
|
|
1757
|
-
onChangeTabs:
|
|
1758
|
+
onReloadPage: h,
|
|
1759
|
+
onChangeTabs: B
|
|
1758
1760
|
}, null), n(ra, {
|
|
1759
1761
|
style: a.style,
|
|
1760
1762
|
class: [`${i}-content`]
|
|
1761
1763
|
}, {
|
|
1762
1764
|
default: () => {
|
|
1763
|
-
var
|
|
1764
|
-
return [
|
|
1765
|
+
var O;
|
|
1766
|
+
return [m && n(dn, null, null), n("div", {
|
|
1765
1767
|
class: [`${i}-content-spin-container`, o],
|
|
1766
1768
|
style: {
|
|
1767
|
-
opacity:
|
|
1769
|
+
opacity: m ? "0" : void 0
|
|
1768
1770
|
}
|
|
1769
|
-
}, [(
|
|
1771
|
+
}, [(O = t.default) == null ? void 0 : O.call(t)])];
|
|
1770
1772
|
}
|
|
1771
1773
|
})]);
|
|
1772
1774
|
};
|
|
@@ -1908,16 +1910,16 @@ const sa = (e) => {
|
|
|
1908
1910
|
}
|
|
1909
1911
|
}
|
|
1910
1912
|
}), St = {
|
|
1911
|
-
...
|
|
1913
|
+
...Y,
|
|
1912
1914
|
...Ke
|
|
1913
|
-
}, da = (e, t) => e === !1 ? null : e ? e(t, null) : t, ca = /* @__PURE__ */
|
|
1915
|
+
}, da = (e, t) => e === !1 ? null : e ? e(t, null) : t, ca = /* @__PURE__ */ V({
|
|
1914
1916
|
props: St,
|
|
1915
1917
|
setup(e) {
|
|
1916
|
-
return () => e.rightContentRender && typeof e.rightContentRender == "function" && n(
|
|
1918
|
+
return () => e.rightContentRender && typeof e.rightContentRender == "function" && n(Z, null, [e.rightContentRender({
|
|
1917
1919
|
...e
|
|
1918
1920
|
})]);
|
|
1919
1921
|
}
|
|
1920
|
-
}), ma = /* @__PURE__ */
|
|
1922
|
+
}), ma = /* @__PURE__ */ V({
|
|
1921
1923
|
props: St,
|
|
1922
1924
|
inheritAttrs: !1,
|
|
1923
1925
|
setup(e, {
|
|
@@ -1928,36 +1930,36 @@ const sa = (e) => {
|
|
|
1928
1930
|
token: i
|
|
1929
1931
|
} = Se(), {
|
|
1930
1932
|
getPrefixCls: u,
|
|
1931
|
-
openKeys:
|
|
1933
|
+
openKeys: m,
|
|
1932
1934
|
selectedKeys: c
|
|
1933
|
-
} =
|
|
1934
|
-
width:
|
|
1935
|
-
} = rn(),
|
|
1935
|
+
} = ee(), {
|
|
1936
|
+
width: I
|
|
1937
|
+
} = rn(), p = u({
|
|
1936
1938
|
suffixCls: "global-header",
|
|
1937
1939
|
isPor: !0
|
|
1938
1940
|
}), {
|
|
1939
|
-
wrapSSR:
|
|
1940
|
-
hashId:
|
|
1941
|
-
} =
|
|
1942
|
-
[`${
|
|
1943
|
-
[`${
|
|
1944
|
-
[`${
|
|
1945
|
-
})),
|
|
1941
|
+
wrapSSR: R,
|
|
1942
|
+
hashId: h
|
|
1943
|
+
} = Q("ProGlobalHeader", [ua], p), B = b(() => !e.isMobile || e.layout === "top" || e.layout === "mix" && e.splitMenus), l = b(() => ({
|
|
1944
|
+
[`${h.value}`]: !0,
|
|
1945
|
+
[`${p}`]: !0,
|
|
1946
|
+
[`${p}-${e.layout}`]: !0
|
|
1947
|
+
})), r = (f) => {
|
|
1946
1948
|
var y;
|
|
1947
1949
|
if (o.currentRoute) {
|
|
1948
|
-
const
|
|
1949
|
-
e.onSelect &&
|
|
1950
|
+
const x = o.currentRoute.value.matched.concat();
|
|
1951
|
+
e.onSelect && f === "select" && e.onSelect(x.filter((C) => C.name !== "index").map((C) => C.path)), e.onOpenKeys && f === "openKeys" && ((y = e.onOpenKeys) == null || y.call(e, x.filter((C) => C.path !== o.currentRoute.value.path).map((C) => C.path)));
|
|
1950
1952
|
}
|
|
1951
|
-
},
|
|
1953
|
+
}, M = () => {
|
|
1952
1954
|
a("collapse", !e.collapsed);
|
|
1953
|
-
},
|
|
1954
|
-
var
|
|
1955
|
-
return n(
|
|
1955
|
+
}, O = b(() => e.collapsedButtonRender || bt), S = () => {
|
|
1956
|
+
var f;
|
|
1957
|
+
return n(Z, null, [B.value ? n("div", {
|
|
1956
1958
|
style: {
|
|
1957
1959
|
flex: 1
|
|
1958
1960
|
},
|
|
1959
|
-
class: [`${
|
|
1960
|
-
}, [n(
|
|
1961
|
+
class: [`${p}-menu`, h.value]
|
|
1962
|
+
}, [n(Te, {
|
|
1961
1963
|
theme: {
|
|
1962
1964
|
components: {
|
|
1963
1965
|
Layout: {
|
|
@@ -1979,53 +1981,53 @@ const sa = (e) => {
|
|
|
1979
1981
|
mode: e.mode,
|
|
1980
1982
|
collapsed: e.collapsed,
|
|
1981
1983
|
menuData: e.menuData,
|
|
1982
|
-
openKeys:
|
|
1984
|
+
openKeys: m.value,
|
|
1983
1985
|
selectedKeys: c.value,
|
|
1984
1986
|
iconfontUrl: e.iconfontUrl,
|
|
1985
1987
|
menuItemRender: e.menuItemRender,
|
|
1986
1988
|
subMenuItemRender: e.subMenuItemRender,
|
|
1987
1989
|
class: {
|
|
1988
1990
|
"top-nav-menu": e.mode === "horizontal",
|
|
1989
|
-
[`${
|
|
1991
|
+
[`${h.value}`]: !0
|
|
1990
1992
|
}
|
|
1991
1993
|
}, {
|
|
1992
|
-
"onUpdate:openKeys": () =>
|
|
1993
|
-
"onUpdate:selectedKeys": () =>
|
|
1994
|
+
"onUpdate:openKeys": () => r("openKeys"),
|
|
1995
|
+
"onUpdate:selectedKeys": () => r("select")
|
|
1994
1996
|
}), null)]
|
|
1995
1997
|
})]) : n("div", {
|
|
1996
1998
|
style: {
|
|
1997
1999
|
flex: 1
|
|
1998
2000
|
}
|
|
1999
|
-
}, [(
|
|
2001
|
+
}, [(f = t.default) == null ? void 0 : f.call(t)]), e.layout !== "simple" && n(ca, X(e, {
|
|
2000
2002
|
extraRightDropdownRender: e.extraRightDropdownRender,
|
|
2001
2003
|
rightContentRender: e.rightContentRender
|
|
2002
2004
|
}), null)]);
|
|
2003
2005
|
};
|
|
2004
2006
|
return () => {
|
|
2005
|
-
const
|
|
2007
|
+
const f = n("span", {
|
|
2006
2008
|
key: "logo",
|
|
2007
2009
|
onClick: () => {
|
|
2008
2010
|
var y;
|
|
2009
2011
|
return (y = e.onMenuHeaderClick) == null ? void 0 : y.call(e);
|
|
2010
2012
|
},
|
|
2011
|
-
class: [`${
|
|
2013
|
+
class: [`${p}-logo`, e.isMobile ? "mobile" : "", h.value]
|
|
2012
2014
|
}, [n("a", null, [yt(e.logo)])]);
|
|
2013
|
-
return
|
|
2014
|
-
class:
|
|
2015
|
-
}, [e.isMobile ? n(
|
|
2016
|
-
class: `${
|
|
2017
|
-
onClick:
|
|
2018
|
-
}, [
|
|
2015
|
+
return R(n("div", {
|
|
2016
|
+
class: l.value
|
|
2017
|
+
}, [e.isMobile ? n(Z, null, [da(e.menuHeaderRender, f), e.isMobile && A(O) && n("span", {
|
|
2018
|
+
class: `${p}-collapsed-button ${h.value}`,
|
|
2019
|
+
onClick: M
|
|
2020
|
+
}, [A(O)(e.collapsed)]), S()]) : ["mix", "wide", "top"].includes(e.layout) ? n(Z, null, [n("div", {
|
|
2019
2021
|
style: {
|
|
2020
2022
|
width: e.layout === "wide" ? `${e.wideWidth}px` : void 0,
|
|
2021
|
-
padding: e.layout === "wide" &&
|
|
2023
|
+
padding: e.layout === "wide" && I.value < e.wideWidth ? "0 50px" : void 0
|
|
2022
2024
|
},
|
|
2023
|
-
class: `${
|
|
2025
|
+
class: `${p}-main ${h.value}`
|
|
2024
2026
|
}, [n("div", {
|
|
2025
|
-
class: `${
|
|
2027
|
+
class: `${p}-main-left ${h.value}`
|
|
2026
2028
|
}, [n(Ae, X(e, {
|
|
2027
2029
|
renderKey: "headerTitleRender"
|
|
2028
|
-
}), null)]),
|
|
2030
|
+
}), null)]), S()])]) : S()]));
|
|
2029
2031
|
};
|
|
2030
2032
|
}
|
|
2031
2033
|
});
|
|
@@ -2034,7 +2036,7 @@ function fa(e) {
|
|
|
2034
2036
|
}
|
|
2035
2037
|
const {
|
|
2036
2038
|
Header: Je
|
|
2037
|
-
} = ce, $e = /* @__PURE__ */
|
|
2039
|
+
} = ce, $e = /* @__PURE__ */ V({
|
|
2038
2040
|
inheritAttrs: !1,
|
|
2039
2041
|
props: vt,
|
|
2040
2042
|
setup(e) {
|
|
@@ -2044,67 +2046,67 @@ const {
|
|
|
2044
2046
|
fixedHeader: o,
|
|
2045
2047
|
headerHeight: i,
|
|
2046
2048
|
layout: u,
|
|
2047
|
-
onCollapse:
|
|
2049
|
+
onCollapse: m,
|
|
2048
2050
|
splitMenus: c
|
|
2049
2051
|
} = Ce(e), {
|
|
2050
|
-
getPrefixCls:
|
|
2051
|
-
menuData:
|
|
2052
|
-
} =
|
|
2052
|
+
getPrefixCls: I,
|
|
2053
|
+
menuData: p
|
|
2054
|
+
} = ee(), R = I({
|
|
2053
2055
|
suffixCls: "header",
|
|
2054
2056
|
isPor: !0
|
|
2055
|
-
}),
|
|
2057
|
+
}), h = I({
|
|
2056
2058
|
suffixCls: "fixed-header",
|
|
2057
2059
|
isPor: !0
|
|
2058
2060
|
}), {
|
|
2059
|
-
wrapSSR:
|
|
2061
|
+
wrapSSR: B,
|
|
2060
2062
|
hashId: l
|
|
2061
|
-
} =
|
|
2063
|
+
} = Q("ProLayoutHeader", [sa], R), r = b(() => u.value === "wide"), M = b(() => o.value), O = b(() => u.value === "mix" || r.value), S = b(() => u.value === "side" || u.value === "simple"), f = b(() => S.value && "light" || t.value), y = b(() => ({
|
|
2062
2064
|
[`${l.value}`]: !0,
|
|
2063
|
-
[`${
|
|
2064
|
-
[`${
|
|
2065
|
-
[`${
|
|
2066
|
-
})),
|
|
2067
|
-
const
|
|
2068
|
-
theme:
|
|
2065
|
+
[`${R}-${f.value}`]: !0,
|
|
2066
|
+
[`${R}`]: !0,
|
|
2067
|
+
[`${h}`]: M.value
|
|
2068
|
+
})), x = b(() => M.value && !a.value), C = b(() => c.value ? p.value && pn(p.value) || [] : u.value === "top" ? p.value : []), g = b(() => S.value && x.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), w = b(() => M.value ? 0 : void 0), $ = () => {
|
|
2069
|
+
const F = n(ma, X(e, {
|
|
2070
|
+
theme: f.value,
|
|
2069
2071
|
mode: "horizontal",
|
|
2070
|
-
onCollapse:
|
|
2071
|
-
menuData:
|
|
2072
|
+
onCollapse: m.value,
|
|
2073
|
+
menuData: C.value
|
|
2072
2074
|
}), {
|
|
2073
|
-
default: () => [
|
|
2075
|
+
default: () => [O.value ? null : e.headerContentRender && typeof e.headerContentRender == "function" ? e.headerContentRender(e) : e.headerContentRender]
|
|
2074
2076
|
});
|
|
2075
|
-
return e.headerRender ? e.headerRender(e,
|
|
2077
|
+
return e.headerRender ? e.headerRender(e, F) : F;
|
|
2076
2078
|
};
|
|
2077
2079
|
return () => {
|
|
2078
|
-
let
|
|
2079
|
-
return
|
|
2080
|
-
theme:
|
|
2080
|
+
let F;
|
|
2081
|
+
return B(n(Z, null, [M.value && !r.value && n(Je, {
|
|
2082
|
+
theme: f.value,
|
|
2081
2083
|
style: {
|
|
2082
2084
|
height: `${i.value}px`,
|
|
2083
2085
|
lineHeight: `${i.value}px`,
|
|
2084
2086
|
background: "transparent"
|
|
2085
2087
|
}
|
|
2086
2088
|
}, null), n(Je, {
|
|
2087
|
-
theme:
|
|
2088
|
-
class:
|
|
2089
|
+
theme: f.value,
|
|
2090
|
+
class: y.value,
|
|
2089
2091
|
style: {
|
|
2090
2092
|
height: `${i.value}px`,
|
|
2091
2093
|
lineHeight: `${i.value}px`,
|
|
2092
|
-
width:
|
|
2093
|
-
zIndex:
|
|
2094
|
+
width: g.value,
|
|
2095
|
+
zIndex: S.value ? 100 : 101,
|
|
2094
2096
|
right: w.value
|
|
2095
2097
|
}
|
|
2096
|
-
}, fa(
|
|
2097
|
-
default: () => [
|
|
2098
|
+
}, fa(F = $()) ? F : {
|
|
2099
|
+
default: () => [F]
|
|
2098
2100
|
})]));
|
|
2099
2101
|
};
|
|
2100
2102
|
}
|
|
2101
|
-
}), ga = /* @__PURE__ */
|
|
2103
|
+
}), ga = /* @__PURE__ */ V({
|
|
2102
2104
|
name: "BaseProLayout",
|
|
2103
2105
|
inheritAttrs: !1,
|
|
2104
2106
|
components: {
|
|
2105
2107
|
GlobalHeader: $e,
|
|
2106
|
-
GlobalFooter:
|
|
2107
|
-
SiderMenuWrapper:
|
|
2108
|
+
GlobalFooter: Be,
|
|
2109
|
+
SiderMenuWrapper: ke
|
|
2108
2110
|
},
|
|
2109
2111
|
props: wt,
|
|
2110
2112
|
emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
|
|
@@ -2117,86 +2119,86 @@ const {
|
|
|
2117
2119
|
}), {
|
|
2118
2120
|
wrapSSR: o,
|
|
2119
2121
|
hashId: i
|
|
2120
|
-
} =
|
|
2121
|
-
token:
|
|
2122
|
-
} = Se(), c =
|
|
2123
|
-
var
|
|
2124
|
-
return (
|
|
2122
|
+
} = Q("ProLayout", [Jn, Qn], a), u = on(), {
|
|
2123
|
+
token: m
|
|
2124
|
+
} = Se(), c = b(() => {
|
|
2125
|
+
var f;
|
|
2126
|
+
return (f = m == null ? void 0 : m.value) == null ? void 0 : f.colorPrimary;
|
|
2125
2127
|
});
|
|
2126
2128
|
$t(() => {
|
|
2127
2129
|
c.value && document.querySelector("html") && document.querySelector("html").style.setProperty("--gx-primary-color", c.value);
|
|
2128
2130
|
});
|
|
2129
|
-
const
|
|
2131
|
+
const I = b(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), p = b(() => e.layout === "wide"), R = b(() => I.value), h = b(() => e.collapsed ? e.collapsedWidth : e.siderWidth), B = b(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), l = b(() => (u.value === "sm" || u.value === "xs") && !e.disableMobile && !p.value), r = lt({
|
|
2130
2132
|
position: "relative"
|
|
2131
2133
|
});
|
|
2132
|
-
(e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (
|
|
2133
|
-
const M = (
|
|
2134
|
-
matchMenuKeys:
|
|
2135
|
-
}), null),
|
|
2134
|
+
(e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (r.minHeight = 0);
|
|
2135
|
+
const M = (f, y) => f.headerRender === !1 || f.pure ? null : n($e, X(f, {
|
|
2136
|
+
matchMenuKeys: y || []
|
|
2137
|
+
}), null), O = b(() => ({
|
|
2136
2138
|
...e.breadcrumb,
|
|
2137
|
-
itemRender:
|
|
2138
|
-
})),
|
|
2139
|
+
itemRender: W(t, e, "breadcrumbRender")
|
|
2140
|
+
})), S = b(() => R.value && e.selectedKeys ? vn(e.menuData, e.selectedKeys[0]) : []);
|
|
2139
2141
|
return Rn({
|
|
2140
2142
|
getPrefixCls: me,
|
|
2141
|
-
...le(Ce(e), ["layout", "waterMark", "menuData", "openKeys", "splitMenus", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader"].concat(Object.keys(fe))),
|
|
2142
|
-
theme:
|
|
2143
|
-
hasContentWide:
|
|
2143
|
+
...le(Ce(e), ["layout", "waterMark", "menuData", "openKeys", "splitMenus", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps"].concat(Object.keys(fe))),
|
|
2144
|
+
theme: B.value,
|
|
2145
|
+
hasContentWide: p,
|
|
2144
2146
|
isMobile: l,
|
|
2145
|
-
siderWidth:
|
|
2146
|
-
breadcrumb:
|
|
2147
|
-
flatMenuData:
|
|
2148
|
-
hasSide:
|
|
2149
|
-
flatMenu:
|
|
2150
|
-
pageHeaderRender:
|
|
2147
|
+
siderWidth: h,
|
|
2148
|
+
breadcrumb: O,
|
|
2149
|
+
flatMenuData: S,
|
|
2150
|
+
hasSide: I,
|
|
2151
|
+
flatMenu: R,
|
|
2152
|
+
pageHeaderRender: b(() => W(t, e, "pageHeaderRender"))
|
|
2151
2153
|
}), () => {
|
|
2152
2154
|
var D;
|
|
2153
|
-
const
|
|
2154
|
-
menuItemRender:
|
|
2155
|
-
subMenuItemRender:
|
|
2156
|
-
},
|
|
2155
|
+
const f = W(t, e, "collapsedButtonRender"), y = W(t, e, "headerContentRender"), x = W(t, e, "rightContentRender"), C = W(t, e, "headerRender"), g = W(t, e, "footerRender"), w = W(t, e, "links"), $ = W(t, e, "copyrightRender"), F = W(t, e, "extraRightDropdownRender"), N = W(t, e, "menuHeaderRender"), z = W(t, e, "menuExtraRender"), j = W(t, e, "menuContentRender"), T = W(t, e, "menuFooterRender"), _ = W(t, e, "menuItemRender"), G = W(t, e, "subMenuItemRender"), K = {
|
|
2156
|
+
menuItemRender: _,
|
|
2157
|
+
subMenuItemRender: G
|
|
2158
|
+
}, q = b(() => M({
|
|
2157
2159
|
...e,
|
|
2158
|
-
...
|
|
2159
|
-
hasSiderMenu:
|
|
2160
|
+
...K,
|
|
2161
|
+
hasSiderMenu: I.value,
|
|
2160
2162
|
menuData: e.menuData,
|
|
2161
|
-
isMobile:
|
|
2162
|
-
rightContentRender:
|
|
2163
|
-
extraRightDropdownRender:
|
|
2163
|
+
isMobile: A(l),
|
|
2164
|
+
rightContentRender: x,
|
|
2165
|
+
extraRightDropdownRender: F,
|
|
2164
2166
|
headerTitleRender: N,
|
|
2165
|
-
headerContentRender:
|
|
2166
|
-
headerRender:
|
|
2167
|
-
theme:
|
|
2168
|
-
}, e.matchMenuKeys)), d =
|
|
2167
|
+
headerContentRender: y,
|
|
2168
|
+
headerRender: C,
|
|
2169
|
+
theme: B.value
|
|
2170
|
+
}, e.matchMenuKeys)), d = b(() => ({
|
|
2169
2171
|
[`${i.value}`]: !0,
|
|
2170
2172
|
[`${a}`]: !0,
|
|
2171
2173
|
[`${a}-${e.layout}`]: !0
|
|
2172
|
-
})),
|
|
2174
|
+
})), v = b(() => p.value ? {
|
|
2173
2175
|
minWidth: `${e.wideWidth}px`
|
|
2174
|
-
} : void 0),
|
|
2176
|
+
} : void 0), k = b(() => p.value ? {
|
|
2175
2177
|
width: e.menuData.length ? `${e.wideWidth}px` : `${e.wideWidth - e.siderWidth - 20}px`,
|
|
2176
2178
|
paddingTop: `${e.headerHeight + 20}px`,
|
|
2177
|
-
margin:
|
|
2178
|
-
} : void 0),
|
|
2179
|
+
margin: p.value ? "0 auto" : void 0
|
|
2180
|
+
} : void 0), P = b(() => p.value ? {
|
|
2179
2181
|
minHeight: "835px"
|
|
2180
2182
|
} : {});
|
|
2181
|
-
return o(n(
|
|
2183
|
+
return o(n(Z, null, [e.pure ? (D = t.default) == null ? void 0 : D.call(t) : n("div", {
|
|
2182
2184
|
class: d.value,
|
|
2183
|
-
style:
|
|
2185
|
+
style: v.value
|
|
2184
2186
|
}, [n(ce, {
|
|
2185
|
-
style:
|
|
2187
|
+
style: k.value
|
|
2186
2188
|
}, {
|
|
2187
|
-
default: () => [n(
|
|
2189
|
+
default: () => [n(ke, X(Ve(e, ["pure", "theme"]), {
|
|
2188
2190
|
links: w,
|
|
2189
|
-
theme:
|
|
2191
|
+
theme: B.value,
|
|
2190
2192
|
isMobile: l.value,
|
|
2191
2193
|
menuHeaderRender: N,
|
|
2192
|
-
menuContentRender:
|
|
2194
|
+
menuContentRender: j,
|
|
2193
2195
|
menuExtraRender: z,
|
|
2194
|
-
menuFooterRender:
|
|
2195
|
-
collapsedButtonRender:
|
|
2196
|
+
menuFooterRender: T,
|
|
2197
|
+
collapsedButtonRender: f
|
|
2196
2198
|
}), null), n(ce, {
|
|
2197
|
-
style:
|
|
2199
|
+
style: r
|
|
2198
2200
|
}, {
|
|
2199
|
-
default: () => [
|
|
2201
|
+
default: () => [q.value, n(Ue, X({
|
|
2200
2202
|
hashId: i.value,
|
|
2201
2203
|
isMobile: l.value,
|
|
2202
2204
|
prefixCls: a,
|
|
@@ -2207,27 +2209,27 @@ const {
|
|
|
2207
2209
|
isFixedMultiTab: e.fixedMultiTab,
|
|
2208
2210
|
siderWidth: e.siderWidth,
|
|
2209
2211
|
collapsed: e.collapsed,
|
|
2210
|
-
style: e.disableContentMargin ?
|
|
2212
|
+
style: e.disableContentMargin ? P.value : {
|
|
2211
2213
|
...e.contentStyle,
|
|
2212
|
-
...
|
|
2214
|
+
...P.value
|
|
2213
2215
|
}
|
|
2214
2216
|
}, le(e, ["onReloadPage", "onChangeTabs"])), {
|
|
2215
2217
|
default: () => {
|
|
2216
|
-
var
|
|
2217
|
-
return [(
|
|
2218
|
+
var U;
|
|
2219
|
+
return [(U = t.default) == null ? void 0 : U.call(t)];
|
|
2218
2220
|
}
|
|
2219
|
-
}),
|
|
2221
|
+
}), g === !1 ? null : g ? g(e) : n(Be, {
|
|
2220
2222
|
copyright: $
|
|
2221
2223
|
}, null)]
|
|
2222
2224
|
})]
|
|
2223
2225
|
})])]));
|
|
2224
2226
|
};
|
|
2225
2227
|
}
|
|
2226
|
-
}), Ni = /* @__PURE__ */
|
|
2228
|
+
}), Ni = /* @__PURE__ */ V({
|
|
2227
2229
|
components: {
|
|
2228
2230
|
GlobalHeader: $e,
|
|
2229
|
-
GlobalFooter:
|
|
2230
|
-
SiderMenuWrapper:
|
|
2231
|
+
GlobalFooter: Be,
|
|
2232
|
+
SiderMenuWrapper: ke
|
|
2231
2233
|
},
|
|
2232
2234
|
props: wt,
|
|
2233
2235
|
emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
|
|
@@ -2235,16 +2237,16 @@ const {
|
|
|
2235
2237
|
slots: t,
|
|
2236
2238
|
emit: a
|
|
2237
2239
|
}) {
|
|
2238
|
-
const o =
|
|
2240
|
+
const o = b(() => e.theme !== void 0 ? {
|
|
2239
2241
|
dark: e.theme === "realDark"
|
|
2240
2242
|
} : {}), i = (c) => {
|
|
2241
2243
|
a("update:collapsed", c), a("collapse", c);
|
|
2242
2244
|
}, u = (c) => {
|
|
2243
2245
|
a("update:open-keys", c), a("openKeys", c);
|
|
2244
|
-
},
|
|
2246
|
+
}, m = (c) => {
|
|
2245
2247
|
a("update:selected-keys", c), a("select", c);
|
|
2246
2248
|
};
|
|
2247
|
-
return () => n(
|
|
2249
|
+
return () => n(Te, {
|
|
2248
2250
|
theme: e.primaryColor ? {
|
|
2249
2251
|
token: {
|
|
2250
2252
|
colorPrimary: e.primaryColor
|
|
@@ -2255,7 +2257,7 @@ const {
|
|
|
2255
2257
|
token: e.token
|
|
2256
2258
|
}, o.value), {
|
|
2257
2259
|
default: () => [n(ga, X(Ve(e, ["onSelect", "onOpenKeys", "onCollapse"]), {
|
|
2258
|
-
onSelect:
|
|
2260
|
+
onSelect: m,
|
|
2259
2261
|
onOpenKeys: u,
|
|
2260
2262
|
onCollapse: i
|
|
2261
2263
|
}), t)]
|
|
@@ -2476,7 +2478,7 @@ const {
|
|
|
2476
2478
|
}
|
|
2477
2479
|
}
|
|
2478
2480
|
}
|
|
2479
|
-
}), Qe = /* @__PURE__ */
|
|
2481
|
+
}), Qe = /* @__PURE__ */ V({
|
|
2480
2482
|
name: "BlockCheckbox",
|
|
2481
2483
|
props: {
|
|
2482
2484
|
value: L.string,
|
|
@@ -2517,7 +2519,7 @@ const {
|
|
|
2517
2519
|
}))]);
|
|
2518
2520
|
};
|
|
2519
2521
|
}
|
|
2520
|
-
}), ba = /* @__PURE__ */
|
|
2522
|
+
}), ba = /* @__PURE__ */ V({
|
|
2521
2523
|
name: "ThemeColor",
|
|
2522
2524
|
inheritAttrs: !1,
|
|
2523
2525
|
props: {
|
|
@@ -2534,7 +2536,7 @@ const {
|
|
|
2534
2536
|
return () => {
|
|
2535
2537
|
var a;
|
|
2536
2538
|
const t = `${e.prefixCls}-theme-color`;
|
|
2537
|
-
return n(
|
|
2539
|
+
return n(Z, null, [n("div", {
|
|
2538
2540
|
class: `${t} ${e.hashId}`.trim()
|
|
2539
2541
|
}, [(a = e.colorList) == null ? void 0 : a.map(({
|
|
2540
2542
|
key: o,
|
|
@@ -2545,9 +2547,9 @@ const {
|
|
|
2545
2547
|
title: u
|
|
2546
2548
|
}, {
|
|
2547
2549
|
default: () => {
|
|
2548
|
-
var
|
|
2550
|
+
var m, c;
|
|
2549
2551
|
return [n("div", {
|
|
2550
|
-
class: [`${t}-block ${e.hashId}`.trim(), ((
|
|
2552
|
+
class: [`${t}-block ${e.hashId}`.trim(), ((m = e.settingValue) == null ? void 0 : m.primaryColor) === i ? `${t}-block-checked` : ""],
|
|
2551
2553
|
style: {
|
|
2552
2554
|
backgroundColor: i
|
|
2553
2555
|
},
|
|
@@ -2557,7 +2559,7 @@ const {
|
|
|
2557
2559
|
}) : null)])]);
|
|
2558
2560
|
};
|
|
2559
2561
|
}
|
|
2560
|
-
}), he = /* @__PURE__ */
|
|
2562
|
+
}), he = /* @__PURE__ */ V({
|
|
2561
2563
|
name: "RegionalChange",
|
|
2562
2564
|
props: {
|
|
2563
2565
|
label: L.string,
|
|
@@ -2636,7 +2638,7 @@ const {
|
|
|
2636
2638
|
function va(e) {
|
|
2637
2639
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
|
|
2638
2640
|
}
|
|
2639
|
-
const xa = /* @__PURE__ */
|
|
2641
|
+
const xa = /* @__PURE__ */ V({
|
|
2640
2642
|
name: "ThemeEditor",
|
|
2641
2643
|
props: {
|
|
2642
2644
|
settingValue: Object,
|
|
@@ -2645,27 +2647,27 @@ const xa = /* @__PURE__ */ j({
|
|
|
2645
2647
|
setup(e) {
|
|
2646
2648
|
const {
|
|
2647
2649
|
getPrefixCls: t
|
|
2648
|
-
} =
|
|
2650
|
+
} = ee(), [a, o] = pe("header"), i = t({
|
|
2649
2651
|
suffixCls: "theme-editor",
|
|
2650
2652
|
isPor: !0
|
|
2651
2653
|
}), {
|
|
2652
2654
|
wrapSSR: u,
|
|
2653
|
-
hashId:
|
|
2654
|
-
} =
|
|
2655
|
+
hashId: m
|
|
2656
|
+
} = Q("ProThemeEditor", [pa], i), {
|
|
2655
2657
|
token: c
|
|
2656
|
-
} = Se(),
|
|
2658
|
+
} = Se(), I = b(() => {
|
|
2657
2659
|
var l;
|
|
2658
2660
|
return (l = c.value) == null ? void 0 : l.layout;
|
|
2659
|
-
}),
|
|
2660
|
-
var l,
|
|
2661
|
+
}), p = b(() => {
|
|
2662
|
+
var l, r, M, O, S, f, y, x, C, g, w, $, F, N, z, j, T, _, G, K, q, d, v, k, P;
|
|
2661
2663
|
return [{
|
|
2662
2664
|
key: "colorBgMenu",
|
|
2663
2665
|
title: "全部背景",
|
|
2664
|
-
disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["mix", "wide"].includes((
|
|
2666
|
+
disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["mix", "wide"].includes((r = e.settingValue) == null ? void 0 : r.layout)
|
|
2665
2667
|
}, {
|
|
2666
2668
|
key: "colorDarkBgMenu",
|
|
2667
2669
|
title: "全部背景",
|
|
2668
|
-
disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "light" || ((
|
|
2670
|
+
disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "light" || ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ["side", "simple"].includes((S = e.settingValue) == null ? void 0 : S.layout)
|
|
2669
2671
|
}, {
|
|
2670
2672
|
key: "colorSubItemBg",
|
|
2671
2673
|
title: "子菜单背景",
|
|
@@ -2677,11 +2679,11 @@ const xa = /* @__PURE__ */ j({
|
|
|
2677
2679
|
}, {
|
|
2678
2680
|
key: "colorBgMenuItemSelected",
|
|
2679
2681
|
title: "菜单选中背景",
|
|
2680
|
-
disabled: ((
|
|
2682
|
+
disabled: ((f = e.settingValue) == null ? void 0 : f.theme) === "dark" && ["mix", "wide"].includes((y = e.settingValue) == null ? void 0 : y.layout)
|
|
2681
2683
|
}, {
|
|
2682
2684
|
key: "colorDarkBgMenuItemSelected",
|
|
2683
2685
|
title: "菜单选中背景",
|
|
2684
|
-
disabled: ((
|
|
2686
|
+
disabled: ((x = e.settingValue) == null ? void 0 : x.theme) === "light" || ((C = e.settingValue) == null ? void 0 : C.theme) === "dark" && ["side", "simple"].includes((g = e.settingValue) == null ? void 0 : g.layout)
|
|
2685
2687
|
}, {
|
|
2686
2688
|
key: "colorTextMenu",
|
|
2687
2689
|
title: "菜单文字颜色",
|
|
@@ -2689,42 +2691,42 @@ const xa = /* @__PURE__ */ j({
|
|
|
2689
2691
|
}, {
|
|
2690
2692
|
key: "colorDarkTextMenu",
|
|
2691
2693
|
title: "菜单文字颜色",
|
|
2692
|
-
disabled: ((
|
|
2694
|
+
disabled: ((F = e.settingValue) == null ? void 0 : F.theme) === "light" || ((N = e.settingValue) == null ? void 0 : N.theme) === "dark" && ["side", "simple"].includes((z = e.settingValue) == null ? void 0 : z.layout)
|
|
2693
2695
|
}, {
|
|
2694
2696
|
key: "colorTextMenuHover",
|
|
2695
2697
|
title: "菜单文字移入颜色",
|
|
2696
|
-
disabled: ((
|
|
2698
|
+
disabled: ((j = e.settingValue) == null ? void 0 : j.theme) === "dark" && ["mix", "wide"].includes((T = e.settingValue) == null ? void 0 : T.layout)
|
|
2697
2699
|
}, {
|
|
2698
2700
|
key: "colorDarkTextMenuHover",
|
|
2699
2701
|
title: "菜单文字移入颜色",
|
|
2700
|
-
disabled: ((
|
|
2702
|
+
disabled: ((_ = e.settingValue) == null ? void 0 : _.theme) === "light" || ((G = e.settingValue) == null ? void 0 : G.theme) === "dark" && ["side", "simple"].includes((K = e.settingValue) == null ? void 0 : K.layout)
|
|
2701
2703
|
}, {
|
|
2702
2704
|
key: "colorTextMenuSelected",
|
|
2703
2705
|
title: "菜单文字选中颜色",
|
|
2704
|
-
disabled: ((
|
|
2706
|
+
disabled: ((q = e.settingValue) == null ? void 0 : q.theme) === "dark" && ["mix", "wide"].includes((d = e.settingValue) == null ? void 0 : d.layout)
|
|
2705
2707
|
}, {
|
|
2706
2708
|
key: "colorDarkTextMenuSelected",
|
|
2707
2709
|
title: "菜单文字选中颜色",
|
|
2708
|
-
disabled: ((
|
|
2710
|
+
disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "light" || ((k = e.settingValue) == null ? void 0 : k.theme) === "dark" && ["side", "simple"].includes((P = e.settingValue) == null ? void 0 : P.layout)
|
|
2709
2711
|
}];
|
|
2710
|
-
}),
|
|
2711
|
-
var l,
|
|
2712
|
+
}), R = b(() => {
|
|
2713
|
+
var l, r, M, O, S, f, y, x, C, g, w, $, F, N, z, j, T, _, G, K, q, d, v, k, P, D, U, E, te, J, Ee, Xe;
|
|
2712
2714
|
return [{
|
|
2713
2715
|
key: "colorBgMenu",
|
|
2714
2716
|
title: "全部背景",
|
|
2715
|
-
disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["side", "simple"].includes((
|
|
2717
|
+
disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["side", "simple"].includes((r = e.settingValue) == null ? void 0 : r.layout)
|
|
2716
2718
|
}, {
|
|
2717
2719
|
key: "colorDarkBgMenu",
|
|
2718
2720
|
title: "全部背景",
|
|
2719
|
-
disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "light" || ((
|
|
2721
|
+
disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "light" || ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ["mix", "wide"].includes((S = e.settingValue) == null ? void 0 : S.layout)
|
|
2720
2722
|
}, {
|
|
2721
2723
|
key: "colorSubItemBg",
|
|
2722
2724
|
title: "子菜单背景",
|
|
2723
|
-
disabled: ((
|
|
2725
|
+
disabled: ((f = e.settingValue) == null ? void 0 : f.theme) === "dark" && ["side", "simple"].includes((y = e.settingValue) == null ? void 0 : y.layout)
|
|
2724
2726
|
}, {
|
|
2725
2727
|
key: "colorDarkSubItemBg",
|
|
2726
2728
|
title: "子菜单背景",
|
|
2727
|
-
disabled: ((
|
|
2729
|
+
disabled: ((x = e.settingValue) == null ? void 0 : x.theme) === "light" || ((C = e.settingValue) == null ? void 0 : C.theme) === "dark" && ["mix", "wide"].includes((g = e.settingValue) == null ? void 0 : g.layout)
|
|
2728
2730
|
}, {
|
|
2729
2731
|
key: "colorBgMenuItemHover",
|
|
2730
2732
|
title: "菜单移入背景",
|
|
@@ -2732,116 +2734,116 @@ const xa = /* @__PURE__ */ j({
|
|
|
2732
2734
|
}, {
|
|
2733
2735
|
key: "colorBgMenuItemSelected",
|
|
2734
2736
|
title: "菜单选中背景",
|
|
2735
|
-
disabled: ((
|
|
2737
|
+
disabled: ((F = e.settingValue) == null ? void 0 : F.theme) === "dark" && ((N = e.settingValue) == null ? void 0 : N.layout) !== "mix"
|
|
2736
2738
|
}, {
|
|
2737
2739
|
key: "colorDarkBgMenuItemSelected",
|
|
2738
2740
|
title: "菜单选中背景",
|
|
2739
|
-
disabled: ((z = e.settingValue) == null ? void 0 : z.theme) === "light" || ((
|
|
2741
|
+
disabled: ((z = e.settingValue) == null ? void 0 : z.theme) === "light" || ((j = e.settingValue) == null ? void 0 : j.theme) === "dark" && ["mix", "wide"].includes((T = e.settingValue) == null ? void 0 : T.layout)
|
|
2740
2742
|
}, {
|
|
2741
2743
|
key: "colorTextMenu",
|
|
2742
2744
|
title: "菜单文字颜色",
|
|
2743
|
-
disabled: ((
|
|
2745
|
+
disabled: ((_ = e.settingValue) == null ? void 0 : _.theme) === "dark" && ((G = e.settingValue) == null ? void 0 : G.layout) !== "mix"
|
|
2744
2746
|
}, {
|
|
2745
2747
|
key: "colorDarkTextMenu",
|
|
2746
2748
|
title: "菜单文字颜色",
|
|
2747
|
-
disabled: ((
|
|
2749
|
+
disabled: ((K = e.settingValue) == null ? void 0 : K.theme) === "light" || ((q = e.settingValue) == null ? void 0 : q.theme) === "dark" && ["mix", "wide"].includes((d = e.settingValue) == null ? void 0 : d.layout)
|
|
2748
2750
|
}, {
|
|
2749
2751
|
key: "colorTextMenuHover",
|
|
2750
2752
|
title: "菜单文字移入颜色",
|
|
2751
|
-
disabled: ((
|
|
2753
|
+
disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "dark" && ((k = e.settingValue) == null ? void 0 : k.layout) !== "mix"
|
|
2752
2754
|
}, {
|
|
2753
2755
|
key: "colorDarkTextMenuHover",
|
|
2754
2756
|
title: "菜单文字移入颜色",
|
|
2755
|
-
disabled: ((
|
|
2757
|
+
disabled: ((P = e.settingValue) == null ? void 0 : P.theme) === "light" || ((D = e.settingValue) == null ? void 0 : D.theme) === "dark" && ["mix", "wide"].includes((U = e.settingValue) == null ? void 0 : U.layout)
|
|
2756
2758
|
}, {
|
|
2757
2759
|
key: "colorTextMenuSelected",
|
|
2758
2760
|
title: "菜单文字选中颜色",
|
|
2759
|
-
disabled: ((
|
|
2761
|
+
disabled: ((E = e.settingValue) == null ? void 0 : E.theme) === "dark" && ((te = e.settingValue) == null ? void 0 : te.layout) !== "mix"
|
|
2760
2762
|
}, {
|
|
2761
2763
|
key: "colorDarkTextMenuSelected",
|
|
2762
2764
|
title: "菜单文字选中颜色",
|
|
2763
|
-
disabled: ((
|
|
2765
|
+
disabled: ((J = e.settingValue) == null ? void 0 : J.theme) === "light" || ((Ee = e.settingValue) == null ? void 0 : Ee.theme) === "dark" && ["mix", "wide"].includes((Xe = e.settingValue) == null ? void 0 : Xe.layout)
|
|
2764
2766
|
}];
|
|
2765
|
-
}),
|
|
2766
|
-
var
|
|
2767
|
-
return (M = (
|
|
2767
|
+
}), h = b(() => a.value === "header" ? p.value : a.value === "sider" ? R.value : []), B = (l) => {
|
|
2768
|
+
var r, M;
|
|
2769
|
+
return (M = (r = I.value) == null ? void 0 : r[a.value]) == null ? void 0 : M[l];
|
|
2768
2770
|
};
|
|
2769
2771
|
return () => {
|
|
2770
|
-
var
|
|
2772
|
+
var r, M, O;
|
|
2771
2773
|
let l;
|
|
2772
2774
|
return u(n("div", {
|
|
2773
|
-
class: [i,
|
|
2775
|
+
class: [i, m.value]
|
|
2774
2776
|
}, [n("h3", {
|
|
2775
|
-
class: [`${i}-title`,
|
|
2776
|
-
}, [
|
|
2777
|
-
class: [`${i}-sub-title`,
|
|
2778
|
-
}, [n("span", null, [(
|
|
2779
|
-
var
|
|
2780
|
-
return
|
|
2781
|
-
})) == null ? void 0 :
|
|
2777
|
+
class: [`${i}-title`, m.value]
|
|
2778
|
+
}, [ne("主题编辑器"), n("div", {
|
|
2779
|
+
class: [`${i}-sub-title`, m.value]
|
|
2780
|
+
}, [n("span", null, [(r = Mt.find((S) => {
|
|
2781
|
+
var f;
|
|
2782
|
+
return S.key === ((f = e.settingValue) == null ? void 0 : f.theme);
|
|
2783
|
+
})) == null ? void 0 : r.title]), n("span", {
|
|
2782
2784
|
style: {
|
|
2783
2785
|
marginInline: "8px"
|
|
2784
2786
|
}
|
|
2785
|
-
}, [
|
|
2786
|
-
var
|
|
2787
|
-
return
|
|
2787
|
+
}, [ne("/")]), n("span", null, [(M = Ot.find((S) => {
|
|
2788
|
+
var f;
|
|
2789
|
+
return S.key === ((f = e.settingValue) == null ? void 0 : f.layout);
|
|
2788
2790
|
})) == null ? void 0 : M.title])])]), n("div", {
|
|
2789
|
-
class: [`${i}-content`,
|
|
2791
|
+
class: [`${i}-content`, m.value]
|
|
2790
2792
|
}, [n(oe, {
|
|
2791
|
-
class: `${i}-list ${
|
|
2793
|
+
class: `${i}-list ${m.value}`.trim(),
|
|
2792
2794
|
split: !1,
|
|
2793
2795
|
size: "small",
|
|
2794
2796
|
renderItem: ({
|
|
2795
|
-
item:
|
|
2797
|
+
item: S
|
|
2796
2798
|
}) => n(oe.Item, {
|
|
2797
|
-
actions: [
|
|
2799
|
+
actions: [S.action]
|
|
2798
2800
|
}, {
|
|
2799
2801
|
default: () => [n("span", {
|
|
2800
2802
|
style: {
|
|
2801
|
-
opacity:
|
|
2803
|
+
opacity: S.disabled ? 0.5 : 1
|
|
2802
2804
|
}
|
|
2803
|
-
}, [
|
|
2805
|
+
}, [S.title])]
|
|
2804
2806
|
}),
|
|
2805
2807
|
dataSource: [{
|
|
2806
2808
|
title: "自定义主题色",
|
|
2807
2809
|
action: n(_e, {
|
|
2808
|
-
value: (
|
|
2810
|
+
value: (O = e.settingValue) == null ? void 0 : O.primaryColor,
|
|
2809
2811
|
actions: ["confirm"],
|
|
2810
2812
|
modes: ["rgb"],
|
|
2811
2813
|
size: "small",
|
|
2812
|
-
onConfirm: (
|
|
2814
|
+
onConfirm: (S) => e.onChange && e.onChange(S, "primaryColor")
|
|
2813
2815
|
}, null)
|
|
2814
2816
|
}]
|
|
2815
2817
|
}, null), n(Le, {
|
|
2816
2818
|
activeKey: a.value,
|
|
2817
2819
|
onChange: o
|
|
2818
|
-
}, va(l = ha.map((
|
|
2819
|
-
key:
|
|
2820
|
-
tab:
|
|
2820
|
+
}, va(l = ha.map((S) => n(Dt, {
|
|
2821
|
+
key: S.key,
|
|
2822
|
+
tab: S.title
|
|
2821
2823
|
}, {
|
|
2822
2824
|
default: () => [n(oe, {
|
|
2823
|
-
class: `${i}-list ${
|
|
2825
|
+
class: `${i}-list ${m.value}`.trim(),
|
|
2824
2826
|
split: !1,
|
|
2825
2827
|
size: "small",
|
|
2826
2828
|
renderItem: ({
|
|
2827
|
-
item:
|
|
2829
|
+
item: f
|
|
2828
2830
|
}) => n(oe.Item, {
|
|
2829
|
-
actions: [
|
|
2831
|
+
actions: [f.action]
|
|
2830
2832
|
}, {
|
|
2831
2833
|
default: () => [n("span", {
|
|
2832
2834
|
style: {
|
|
2833
|
-
opacity:
|
|
2835
|
+
opacity: f.disabled ? 0.5 : 1
|
|
2834
2836
|
}
|
|
2835
|
-
}, [
|
|
2837
|
+
}, [f.title])]
|
|
2836
2838
|
}),
|
|
2837
|
-
dataSource:
|
|
2838
|
-
...
|
|
2839
|
+
dataSource: h.value.filter((f) => !f.disabled).map((f) => ({
|
|
2840
|
+
...f,
|
|
2839
2841
|
action: n(_e, {
|
|
2840
|
-
value:
|
|
2842
|
+
value: B(f.key),
|
|
2841
2843
|
actions: ["confirm"],
|
|
2842
2844
|
modes: ["rgb"],
|
|
2843
2845
|
size: "small",
|
|
2844
|
-
onConfirm: (
|
|
2846
|
+
onConfirm: (y) => e.onChange && e.onChange(y, a.value, f.key)
|
|
2845
2847
|
}, null)
|
|
2846
2848
|
}))
|
|
2847
2849
|
}, null)]
|
|
@@ -2886,7 +2888,7 @@ function et(e) {
|
|
|
2886
2888
|
}
|
|
2887
2889
|
const {
|
|
2888
2890
|
preset: tt
|
|
2889
|
-
} = je, wa = /* @__PURE__ */
|
|
2891
|
+
} = je, wa = /* @__PURE__ */ V({
|
|
2890
2892
|
name: "OthersChange",
|
|
2891
2893
|
props: {
|
|
2892
2894
|
prefixCls: L.string,
|
|
@@ -2900,71 +2902,71 @@ const {
|
|
|
2900
2902
|
}), {
|
|
2901
2903
|
wrapSSR: a,
|
|
2902
2904
|
hashId: o
|
|
2903
|
-
} =
|
|
2905
|
+
} = Q("SettingsDrawOthers", [Ca], t);
|
|
2904
2906
|
return () => {
|
|
2905
|
-
var u,
|
|
2907
|
+
var u, m, c, I, p, R, h, B, l, r, M, O, S, f;
|
|
2906
2908
|
let i;
|
|
2907
2909
|
return a(n("div", {
|
|
2908
2910
|
class: [t, o.value]
|
|
2909
2911
|
}, [n("h3", {
|
|
2910
2912
|
class: [`${t}-title`, o.value]
|
|
2911
|
-
}, [
|
|
2913
|
+
}, [ne("页面动画设置")]), n(oe, {
|
|
2912
2914
|
class: `${t}-list ${o.value}`.trim(),
|
|
2913
2915
|
split: !1,
|
|
2914
2916
|
size: "small",
|
|
2915
2917
|
renderItem: ({
|
|
2916
|
-
item:
|
|
2918
|
+
item: y
|
|
2917
2919
|
}) => n(we, {
|
|
2918
|
-
title:
|
|
2920
|
+
title: y.disabled ? y.disabledReason : "",
|
|
2919
2921
|
placement: "left"
|
|
2920
2922
|
}, {
|
|
2921
2923
|
default: () => [n(oe.Item, {
|
|
2922
|
-
actions: [
|
|
2924
|
+
actions: [y.action]
|
|
2923
2925
|
}, {
|
|
2924
2926
|
default: () => [n("span", {
|
|
2925
2927
|
style: {
|
|
2926
|
-
opacity:
|
|
2928
|
+
opacity: y.disabled ? 0.5 : 1
|
|
2927
2929
|
}
|
|
2928
|
-
}, [
|
|
2930
|
+
}, [y.title])]
|
|
2929
2931
|
})]
|
|
2930
2932
|
}),
|
|
2931
2933
|
dataSource: [{
|
|
2932
2934
|
title: "禁用动画",
|
|
2933
2935
|
action: n(rt, {
|
|
2934
|
-
checked: !((
|
|
2936
|
+
checked: !((m = (u = e.settingValue) == null ? void 0 : u.animate) != null && m.disabled),
|
|
2935
2937
|
size: "small",
|
|
2936
|
-
onChange: (
|
|
2937
|
-
var
|
|
2938
|
-
return (
|
|
2938
|
+
onChange: (y) => {
|
|
2939
|
+
var x;
|
|
2940
|
+
return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "disabled", !y);
|
|
2939
2941
|
}
|
|
2940
2942
|
}, null)
|
|
2941
2943
|
}, {
|
|
2942
2944
|
title: "动画效果",
|
|
2943
|
-
disabled: (
|
|
2945
|
+
disabled: (I = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : I.disabled,
|
|
2944
2946
|
action: n(ge, {
|
|
2945
|
-
value: (
|
|
2947
|
+
value: (R = (p = e.settingValue) == null ? void 0 : p.animate) == null ? void 0 : R.name,
|
|
2946
2948
|
style: {
|
|
2947
2949
|
width: "100px"
|
|
2948
2950
|
},
|
|
2949
2951
|
size: "small",
|
|
2950
|
-
disabled: (
|
|
2951
|
-
getPopupContainer: (
|
|
2952
|
-
onChange: (
|
|
2953
|
-
var
|
|
2954
|
-
return (
|
|
2952
|
+
disabled: (B = (h = e.settingValue) == null ? void 0 : h.animate) == null ? void 0 : B.disabled,
|
|
2953
|
+
getPopupContainer: (y) => y && y.parentNode ? y.parentNode : y,
|
|
2954
|
+
onChange: (y) => {
|
|
2955
|
+
var x;
|
|
2956
|
+
return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "name", y);
|
|
2955
2957
|
}
|
|
2956
|
-
}, et(i = tt.map((
|
|
2957
|
-
value:
|
|
2958
|
+
}, et(i = tt.map((y) => n(ge.Option, {
|
|
2959
|
+
value: y.name
|
|
2958
2960
|
}, {
|
|
2959
|
-
default: () => [
|
|
2961
|
+
default: () => [y.alias]
|
|
2960
2962
|
}))) ? i : {
|
|
2961
2963
|
default: () => [i]
|
|
2962
2964
|
})
|
|
2963
2965
|
}, {
|
|
2964
2966
|
title: "动画方向",
|
|
2965
|
-
disabled: (
|
|
2967
|
+
disabled: (r = (l = e.settingValue) == null ? void 0 : l.animate) == null ? void 0 : r.disabled,
|
|
2966
2968
|
action: n(ge, {
|
|
2967
|
-
value: (
|
|
2969
|
+
value: (O = (M = e.settingValue) == null ? void 0 : M.animate) == null ? void 0 : O.direction,
|
|
2968
2970
|
style: {
|
|
2969
2971
|
width: "100px"
|
|
2970
2972
|
},
|
|
@@ -2972,22 +2974,22 @@ const {
|
|
|
2972
2974
|
dropdownStyle: {
|
|
2973
2975
|
minWidth: "120px"
|
|
2974
2976
|
},
|
|
2975
|
-
disabled: (
|
|
2976
|
-
getPopupContainer: (
|
|
2977
|
-
onChange: (
|
|
2978
|
-
var
|
|
2979
|
-
return (
|
|
2977
|
+
disabled: (f = (S = e.settingValue) == null ? void 0 : S.animate) == null ? void 0 : f.disabled,
|
|
2978
|
+
getPopupContainer: (y) => y && y.parentNode ? y.parentNode : y,
|
|
2979
|
+
onChange: (y) => {
|
|
2980
|
+
var x;
|
|
2981
|
+
return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "direction", y);
|
|
2980
2982
|
}
|
|
2981
2983
|
}, {
|
|
2982
2984
|
default: () => {
|
|
2983
|
-
var
|
|
2984
|
-
return [(
|
|
2985
|
-
var
|
|
2986
|
-
return
|
|
2987
|
-
})) == null ? void 0 :
|
|
2988
|
-
value:
|
|
2989
|
-
}, et(
|
|
2990
|
-
default: () => [
|
|
2985
|
+
var y;
|
|
2986
|
+
return [(y = tt.find((x) => {
|
|
2987
|
+
var C, g;
|
|
2988
|
+
return x.name === ((g = (C = e.settingValue) == null ? void 0 : C.animate) == null ? void 0 : g.name);
|
|
2989
|
+
})) == null ? void 0 : y.directions.map((x) => n(ge.Option, {
|
|
2990
|
+
value: x
|
|
2991
|
+
}, et(x) ? x : {
|
|
2992
|
+
default: () => [x]
|
|
2991
2993
|
}))];
|
|
2992
2994
|
}
|
|
2993
2995
|
})
|
|
@@ -2997,7 +2999,7 @@ const {
|
|
|
2997
2999
|
}
|
|
2998
3000
|
}), {
|
|
2999
3001
|
preset: Sa
|
|
3000
|
-
} = je,
|
|
3002
|
+
} = je, Pe = Object.keys(H).filter((e) => e !== "title"), nt = {
|
|
3001
3003
|
color: "#fff",
|
|
3002
3004
|
fontSize: 20
|
|
3003
3005
|
}, Ia = [{
|
|
@@ -3016,9 +3018,9 @@ const {
|
|
|
3016
3018
|
label: "fixedMultiTab",
|
|
3017
3019
|
title: "固定多标签"
|
|
3018
3020
|
}], at = (e) => nn() ? {
|
|
3019
|
-
...le(
|
|
3021
|
+
...le(H, Pe),
|
|
3020
3022
|
...e || {}
|
|
3021
|
-
} : He(
|
|
3023
|
+
} : He(H), ye = (e, {
|
|
3022
3024
|
slots: t
|
|
3023
3025
|
}) => {
|
|
3024
3026
|
var a;
|
|
@@ -3029,7 +3031,7 @@ const {
|
|
|
3029
3031
|
}, [n("h3", {
|
|
3030
3032
|
class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
|
|
3031
3033
|
}, [e.title]), (a = t.default) == null ? void 0 : a.call(t)]);
|
|
3032
|
-
}, Hi = /* @__PURE__ */
|
|
3034
|
+
}, Hi = /* @__PURE__ */ V({
|
|
3033
3035
|
name: "SettingDrawer",
|
|
3034
3036
|
props: {
|
|
3035
3037
|
themeOnly: Boolean,
|
|
@@ -3051,48 +3053,48 @@ const {
|
|
|
3051
3053
|
setup(e) {
|
|
3052
3054
|
const {
|
|
3053
3055
|
getPrefixCls: t
|
|
3054
|
-
} =
|
|
3056
|
+
} = ee(), a = t({
|
|
3055
3057
|
suffixCls: "setting-drawer",
|
|
3056
3058
|
isPor: !0
|
|
3057
3059
|
}), {
|
|
3058
3060
|
wrapSSR: o,
|
|
3059
3061
|
hashId: i
|
|
3060
|
-
} =
|
|
3061
|
-
value:
|
|
3062
|
+
} = Q("ProSettingDraw", [ya], a), u = Re(!1), [m, c] = pe(!1), [I, p] = pe(!1), [R, h] = pe(!1), B = b(() => at(le(e.settings, Pe))), [l, r] = ln(() => at(le(e.settings, Pe)), {
|
|
3063
|
+
value: B,
|
|
3062
3064
|
onChange: e.onChange
|
|
3063
|
-
}), M =
|
|
3064
|
-
copy:
|
|
3065
|
-
copied:
|
|
3066
|
-
isSupported:
|
|
3065
|
+
}), M = b(() => e.colorList && tn(e.colorList) ? e.colorList : []), O = b(() => wn(A(l))), {
|
|
3066
|
+
copy: S,
|
|
3067
|
+
copied: f,
|
|
3068
|
+
isSupported: y
|
|
3067
3069
|
} = sn();
|
|
3068
|
-
de(
|
|
3070
|
+
de(m, () => {
|
|
3069
3071
|
u.value || (u.value = !0);
|
|
3070
3072
|
});
|
|
3071
|
-
const
|
|
3072
|
-
var z,
|
|
3073
|
-
const
|
|
3074
|
-
if ($ &&
|
|
3075
|
-
N[
|
|
3073
|
+
const x = (g, w, $) => {
|
|
3074
|
+
var z, j;
|
|
3075
|
+
const F = ["header", "sider"], N = {};
|
|
3076
|
+
if ($ && F.includes(g)) {
|
|
3077
|
+
N[g] = {}, N[g][$] = w, e.onChangeLayout && e.onChangeLayout(le(N, F));
|
|
3076
3078
|
return;
|
|
3077
3079
|
} else
|
|
3078
|
-
|
|
3079
|
-
if (
|
|
3080
|
-
const
|
|
3081
|
-
|
|
3080
|
+
g === "animate" ? (N[g] = {}, N[g][$] = w, $ === "name" && (N[g].direction = (j = (z = Sa.find((T) => T.name === w)) == null ? void 0 : z.directions) == null ? void 0 : j[0])) : N[g] = w;
|
|
3081
|
+
if (g === "colorWeak") {
|
|
3082
|
+
const T = document.querySelector("body");
|
|
3083
|
+
T && (T.dataset.prosettingdrawer = w === !0 ? T.style.filter : T.dataset.prosettingdrawer || "none", w === !0 && (T.dataset.prosettingdrawer = T.style.filter), T.style.filter = w === !0 ? "invert(80%)" : T.dataset.prosettingdrawer || "none", w || delete T.dataset.prosettingdrawer);
|
|
3082
3084
|
}
|
|
3083
|
-
|
|
3084
|
-
...Cn(Ve(N,
|
|
3085
|
+
r(an(A(l), {
|
|
3086
|
+
...Cn(Ve(N, F))
|
|
3085
3087
|
}));
|
|
3086
|
-
},
|
|
3087
|
-
|
|
3088
|
+
}, C = () => {
|
|
3089
|
+
y.value && S(JSON.stringify(A(l)));
|
|
3088
3090
|
};
|
|
3089
|
-
return de(
|
|
3090
|
-
|
|
3091
|
+
return de(f, (g) => {
|
|
3092
|
+
g && Nt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
|
|
3091
3093
|
}), () => o(n(be, {
|
|
3092
3094
|
width: 300,
|
|
3093
3095
|
closable: !1,
|
|
3094
|
-
open:
|
|
3095
|
-
rootClassName: `${a} ${i.value} ${
|
|
3096
|
+
open: m.value,
|
|
3097
|
+
rootClassName: `${a} ${i.value} ${m.value && `${a}-show`} ${!u.value && `${a}-trantion-none`}`,
|
|
3096
3098
|
placement: "right",
|
|
3097
3099
|
rootStyle: {
|
|
3098
3100
|
zIndex: 999
|
|
@@ -3103,8 +3105,8 @@ const {
|
|
|
3103
3105
|
onClose: () => c(!1),
|
|
3104
3106
|
handle: n("div", {
|
|
3105
3107
|
class: [`${a}-handle`, i.value],
|
|
3106
|
-
onClick: () => c(!
|
|
3107
|
-
}, [
|
|
3108
|
+
onClick: () => c(!m.value)
|
|
3109
|
+
}, [m.value ? n(st, {
|
|
3108
3110
|
style: nt
|
|
3109
3111
|
}, null) : n(Xt, {
|
|
3110
3112
|
style: nt
|
|
@@ -3127,16 +3129,16 @@ const {
|
|
|
3127
3129
|
value: l.value.theme,
|
|
3128
3130
|
configType: "theme",
|
|
3129
3131
|
key: "navTheme",
|
|
3130
|
-
onChange: (
|
|
3132
|
+
onChange: (g) => x("theme", g)
|
|
3131
3133
|
}, null)]
|
|
3132
3134
|
}), n(ye, {
|
|
3133
3135
|
hashId: i.value,
|
|
3134
|
-
title: n("span", null, [
|
|
3136
|
+
title: n("span", null, [ne("主题色 "), n("a", {
|
|
3135
3137
|
style: {
|
|
3136
3138
|
fontSize: "12px"
|
|
3137
3139
|
},
|
|
3138
|
-
onClick: () =>
|
|
3139
|
-
}, [
|
|
3140
|
+
onClick: () => p(!0)
|
|
3141
|
+
}, [ne("更多配置")])]),
|
|
3140
3142
|
prefixCls: a
|
|
3141
3143
|
}, {
|
|
3142
3144
|
default: () => [n(ba, {
|
|
@@ -3144,68 +3146,68 @@ const {
|
|
|
3144
3146
|
prefixCls: a,
|
|
3145
3147
|
colorList: M.value,
|
|
3146
3148
|
settingValue: l.value,
|
|
3147
|
-
onChange: (
|
|
3149
|
+
onChange: (g, w) => x(w || "primaryColor", g)
|
|
3148
3150
|
}, null)]
|
|
3149
|
-
}), !e.themeOnly && n(
|
|
3151
|
+
}), !e.themeOnly && n(Z, null, [n(Me, null, null), n(ye, {
|
|
3150
3152
|
hashId: i.value,
|
|
3151
3153
|
prefixCls: a,
|
|
3152
3154
|
title: "导航模式"
|
|
3153
3155
|
}, {
|
|
3154
3156
|
default: () => [n(Qe, {
|
|
3155
3157
|
prefixCls: a,
|
|
3156
|
-
value:
|
|
3158
|
+
value: A(l).layout,
|
|
3157
3159
|
key: "layout",
|
|
3158
3160
|
hashId: i.value,
|
|
3159
3161
|
configType: "layout",
|
|
3160
3162
|
list: Ot,
|
|
3161
|
-
onChange: (
|
|
3163
|
+
onChange: (g) => x("layout", g)
|
|
3162
3164
|
}, null)]
|
|
3163
3165
|
}), Ia.map(({
|
|
3164
|
-
label:
|
|
3166
|
+
label: g,
|
|
3165
3167
|
title: w
|
|
3166
3168
|
}) => n(he, {
|
|
3167
3169
|
label: w,
|
|
3168
|
-
disabled:
|
|
3169
|
-
value:
|
|
3170
|
+
disabled: A(O)[g],
|
|
3171
|
+
value: A(l)[g],
|
|
3170
3172
|
prefixCls: a,
|
|
3171
3173
|
hashId: i.value,
|
|
3172
|
-
valueKey:
|
|
3173
|
-
onChange: ($,
|
|
3174
|
+
valueKey: g,
|
|
3175
|
+
onChange: ($, F) => x($, F)
|
|
3174
3176
|
}, null)), n(Me, null, null), n(ye, {
|
|
3175
3177
|
hashId: i.value,
|
|
3176
3178
|
prefixCls: a,
|
|
3177
|
-
title: n("span", null, [
|
|
3179
|
+
title: n("span", null, [ne("其他设置 "), n("a", {
|
|
3178
3180
|
style: {
|
|
3179
3181
|
fontSize: "12px"
|
|
3180
3182
|
},
|
|
3181
|
-
onClick: () =>
|
|
3182
|
-
}, [
|
|
3183
|
+
onClick: () => h(!0)
|
|
3184
|
+
}, [ne("更多配置")])])
|
|
3183
3185
|
}, {
|
|
3184
3186
|
default: () => [Ma.map(({
|
|
3185
|
-
label:
|
|
3187
|
+
label: g,
|
|
3186
3188
|
title: w
|
|
3187
3189
|
}) => n(he, {
|
|
3188
3190
|
label: w,
|
|
3189
|
-
disabled:
|
|
3190
|
-
value:
|
|
3191
|
+
disabled: A(O)[g],
|
|
3192
|
+
value: A(l)[g],
|
|
3191
3193
|
prefixCls: a,
|
|
3192
3194
|
hashId: i.value,
|
|
3193
|
-
valueKey:
|
|
3194
|
-
onChange: ($,
|
|
3195
|
+
valueKey: g,
|
|
3196
|
+
onChange: ($, F) => x($, F)
|
|
3195
3197
|
}, null)), e.weakmode && n(he, {
|
|
3196
3198
|
label: "色弱模式",
|
|
3197
|
-
value:
|
|
3199
|
+
value: A(l).colorWeak,
|
|
3198
3200
|
prefixCls: a,
|
|
3199
3201
|
hashId: i.value,
|
|
3200
3202
|
valueKey: "colorWeak",
|
|
3201
|
-
onChange: (
|
|
3203
|
+
onChange: (g, w) => x(g, w)
|
|
3202
3204
|
}, null), e.showProgress && n(he, {
|
|
3203
3205
|
label: "顶部进度条",
|
|
3204
|
-
value:
|
|
3206
|
+
value: A(l).showProgressBar,
|
|
3205
3207
|
prefixCls: a,
|
|
3206
3208
|
hashId: i.value,
|
|
3207
3209
|
valueKey: "showProgressBar",
|
|
3208
|
-
onChange: (
|
|
3210
|
+
onChange: (g, w) => x(g, w)
|
|
3209
3211
|
}, null)]
|
|
3210
3212
|
})]), e.hideHintAlert && e.hideCopyButton ? null : n(Me, null, null), e.hideHintAlert ? null : n(zt, {
|
|
3211
3213
|
type: "warning",
|
|
@@ -3216,43 +3218,43 @@ const {
|
|
|
3216
3218
|
marginBottom: "16px"
|
|
3217
3219
|
}
|
|
3218
3220
|
}, null), e.hideCopyButton ? null : n(Ht, {
|
|
3219
|
-
onClick: () =>
|
|
3221
|
+
onClick: () => C(),
|
|
3220
3222
|
block: !0
|
|
3221
3223
|
}, {
|
|
3222
|
-
default: () => [n(_t, null, null),
|
|
3224
|
+
default: () => [n(_t, null, null), ne("拷贝设置")]
|
|
3223
3225
|
})])]
|
|
3224
3226
|
})]), n(be, {
|
|
3225
3227
|
width: 320,
|
|
3226
3228
|
closable: !1,
|
|
3227
3229
|
placement: "right",
|
|
3228
|
-
open:
|
|
3230
|
+
open: I.value,
|
|
3229
3231
|
bodyStyle: {
|
|
3230
3232
|
padding: 0
|
|
3231
3233
|
},
|
|
3232
|
-
onClose: () =>
|
|
3234
|
+
onClose: () => p(!1)
|
|
3233
3235
|
}, {
|
|
3234
3236
|
default: () => [n(xa, {
|
|
3235
3237
|
settingValue: l.value,
|
|
3236
|
-
onChange: (
|
|
3238
|
+
onChange: (g, w, $) => x(w || "primaryColor", g, $)
|
|
3237
3239
|
}, null)]
|
|
3238
3240
|
}), n(be, {
|
|
3239
3241
|
width: 320,
|
|
3240
3242
|
closable: !1,
|
|
3241
3243
|
placement: "right",
|
|
3242
|
-
open:
|
|
3244
|
+
open: R.value,
|
|
3243
3245
|
bodyStyle: {
|
|
3244
3246
|
padding: 0
|
|
3245
3247
|
},
|
|
3246
|
-
onClose: () =>
|
|
3248
|
+
onClose: () => h(!1)
|
|
3247
3249
|
}, {
|
|
3248
3250
|
default: () => [n(wa, {
|
|
3249
3251
|
settingValue: l.value,
|
|
3250
|
-
onChange: (
|
|
3252
|
+
onChange: (g, w, $) => x(g, $, w)
|
|
3251
3253
|
}, null)]
|
|
3252
3254
|
})]
|
|
3253
3255
|
}));
|
|
3254
3256
|
}
|
|
3255
|
-
}), Oa = new
|
|
3257
|
+
}), Oa = new s("backInLeft", {
|
|
3256
3258
|
"0%": {
|
|
3257
3259
|
opacity: 0.7,
|
|
3258
3260
|
transform: "translateX(-2000px) scale(0.7)"
|
|
@@ -3265,7 +3267,7 @@ const {
|
|
|
3265
3267
|
opacity: 1,
|
|
3266
3268
|
transform: "scale(1)"
|
|
3267
3269
|
}
|
|
3268
|
-
}), Ra = new
|
|
3270
|
+
}), Ra = new s("backInRight", {
|
|
3269
3271
|
"0%": {
|
|
3270
3272
|
opacity: 0.7,
|
|
3271
3273
|
transform: "translateX(2000px) scale(0.7)"
|
|
@@ -3278,7 +3280,7 @@ const {
|
|
|
3278
3280
|
opacity: 1,
|
|
3279
3281
|
transform: "scale(1)"
|
|
3280
3282
|
}
|
|
3281
|
-
}),
|
|
3283
|
+
}), ka = new s("backInUp", {
|
|
3282
3284
|
"0%": {
|
|
3283
3285
|
opacity: 0.7,
|
|
3284
3286
|
transform: "translateY(1200px) scale(0.7)"
|
|
@@ -3291,7 +3293,7 @@ const {
|
|
|
3291
3293
|
opacity: 1,
|
|
3292
3294
|
transform: "scale(1)"
|
|
3293
3295
|
}
|
|
3294
|
-
}),
|
|
3296
|
+
}), Ba = new s("backInDown", {
|
|
3295
3297
|
"0%": {
|
|
3296
3298
|
opacity: 0.7,
|
|
3297
3299
|
transform: "translateY(-1200px) scale(0.7)"
|
|
@@ -3304,7 +3306,7 @@ const {
|
|
|
3304
3306
|
opacity: 1,
|
|
3305
3307
|
transform: "scale(1)"
|
|
3306
3308
|
}
|
|
3307
|
-
}), $a = new
|
|
3309
|
+
}), $a = new s("backOutLeft", {
|
|
3308
3310
|
"0%": {
|
|
3309
3311
|
opacity: 1,
|
|
3310
3312
|
transform: "scale(1)"
|
|
@@ -3317,7 +3319,7 @@ const {
|
|
|
3317
3319
|
opacity: 0.7,
|
|
3318
3320
|
transform: "translateX(-2000px) scale(0.7)"
|
|
3319
3321
|
}
|
|
3320
|
-
}),
|
|
3322
|
+
}), Pa = new s("backOutRight", {
|
|
3321
3323
|
"0%": {
|
|
3322
3324
|
opacity: 1,
|
|
3323
3325
|
transform: "scale(1)"
|
|
@@ -3330,7 +3332,7 @@ const {
|
|
|
3330
3332
|
opacity: 0.7,
|
|
3331
3333
|
transform: "translateX(2000px) scale(0.7)"
|
|
3332
3334
|
}
|
|
3333
|
-
}),
|
|
3335
|
+
}), Fa = new s("backOutUp", {
|
|
3334
3336
|
"0%": {
|
|
3335
3337
|
opacity: 1,
|
|
3336
3338
|
transform: "scale(1)"
|
|
@@ -3343,7 +3345,7 @@ const {
|
|
|
3343
3345
|
opacity: 0.7,
|
|
3344
3346
|
transform: "translateY(-700px) scale(0.7)"
|
|
3345
3347
|
}
|
|
3346
|
-
}),
|
|
3348
|
+
}), Ta = new s("backOutDown", {
|
|
3347
3349
|
"0%": {
|
|
3348
3350
|
opacity: 1,
|
|
3349
3351
|
transform: "scale(1)"
|
|
@@ -3367,11 +3369,11 @@ const {
|
|
|
3367
3369
|
},
|
|
3368
3370
|
"&.backInUp": {
|
|
3369
3371
|
animationFillMode: "both",
|
|
3370
|
-
animationName:
|
|
3372
|
+
animationName: ka
|
|
3371
3373
|
},
|
|
3372
3374
|
"&.backInDown": {
|
|
3373
3375
|
animationFillMode: "both",
|
|
3374
|
-
animationName:
|
|
3376
|
+
animationName: Ba
|
|
3375
3377
|
}
|
|
3376
3378
|
}), Da = () => ({
|
|
3377
3379
|
"&.backOutLeft": {
|
|
@@ -3380,17 +3382,17 @@ const {
|
|
|
3380
3382
|
},
|
|
3381
3383
|
"&.backOutRight": {
|
|
3382
3384
|
animationFillMode: "both",
|
|
3383
|
-
animationName:
|
|
3385
|
+
animationName: Pa
|
|
3384
3386
|
},
|
|
3385
3387
|
"&.backOutUp": {
|
|
3386
3388
|
animationFillMode: "both",
|
|
3387
|
-
animationName:
|
|
3389
|
+
animationName: Fa
|
|
3388
3390
|
},
|
|
3389
3391
|
"&.backOutDown": {
|
|
3390
3392
|
animationFillMode: "both",
|
|
3391
|
-
animationName:
|
|
3393
|
+
animationName: Ta
|
|
3392
3394
|
}
|
|
3393
|
-
}), Na = new
|
|
3395
|
+
}), Na = new s("bounceIn", {
|
|
3394
3396
|
"from,20%,40%,60%,80%,to": {
|
|
3395
3397
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
3396
3398
|
},
|
|
@@ -3414,7 +3416,7 @@ const {
|
|
|
3414
3416
|
opacity: 1,
|
|
3415
3417
|
transform: "scale3d(1, 1, 1)"
|
|
3416
3418
|
}
|
|
3417
|
-
}), za = new
|
|
3419
|
+
}), za = new s("bounceInLeft", {
|
|
3418
3420
|
"from,60%,75%,90%,to": {
|
|
3419
3421
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
3420
3422
|
},
|
|
@@ -3435,7 +3437,7 @@ const {
|
|
|
3435
3437
|
to: {
|
|
3436
3438
|
transform: "translate3d(0, 0, 0)"
|
|
3437
3439
|
}
|
|
3438
|
-
}), Ha = new
|
|
3440
|
+
}), Ha = new s("bounceInRight", {
|
|
3439
3441
|
"from,60%,75%,90%,to": {
|
|
3440
3442
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
3441
3443
|
},
|
|
@@ -3456,7 +3458,7 @@ const {
|
|
|
3456
3458
|
to: {
|
|
3457
3459
|
transform: "translate3d(0, 0, 0)"
|
|
3458
3460
|
}
|
|
3459
|
-
}), Va = new
|
|
3461
|
+
}), Va = new s("bounceInDown", {
|
|
3460
3462
|
"from,60%,75%,90%,to": {
|
|
3461
3463
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
3462
3464
|
},
|
|
@@ -3477,7 +3479,7 @@ const {
|
|
|
3477
3479
|
to: {
|
|
3478
3480
|
transform: "translate3d(0, 0, 0)"
|
|
3479
3481
|
}
|
|
3480
|
-
}), ja = new
|
|
3482
|
+
}), ja = new s("bounceInUp", {
|
|
3481
3483
|
"from,60%,75%,90%,to": {
|
|
3482
3484
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
3483
3485
|
},
|
|
@@ -3498,7 +3500,7 @@ const {
|
|
|
3498
3500
|
to: {
|
|
3499
3501
|
transform: "translate3d(0, 0, 0)"
|
|
3500
3502
|
}
|
|
3501
|
-
}), Wa = new
|
|
3503
|
+
}), Wa = new s("bounceOut", {
|
|
3502
3504
|
"20%": {
|
|
3503
3505
|
transform: "scale3d(0.9, 0.9, 0.9)"
|
|
3504
3506
|
},
|
|
@@ -3512,7 +3514,7 @@ const {
|
|
|
3512
3514
|
opacity: 0,
|
|
3513
3515
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
3514
3516
|
}
|
|
3515
|
-
}), Aa = new
|
|
3517
|
+
}), Aa = new s("bounceOutLeft", {
|
|
3516
3518
|
"20%": {
|
|
3517
3519
|
opacity: 1,
|
|
3518
3520
|
transform: "translate3d(20px, 0, 0) scaleX(0.9)"
|
|
@@ -3521,7 +3523,7 @@ const {
|
|
|
3521
3523
|
opacity: 0,
|
|
3522
3524
|
transform: "translate3d(-2000px, 0, 0) scaleX(2)"
|
|
3523
3525
|
}
|
|
3524
|
-
}), Ka = new
|
|
3526
|
+
}), Ka = new s("bounceOutRight", {
|
|
3525
3527
|
"20%": {
|
|
3526
3528
|
opacity: 1,
|
|
3527
3529
|
transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
|
|
@@ -3530,7 +3532,7 @@ const {
|
|
|
3530
3532
|
opacity: 0,
|
|
3531
3533
|
transform: "translate3d(2000px, 0, 0) scaleX(2)"
|
|
3532
3534
|
}
|
|
3533
|
-
}), Ua = new
|
|
3535
|
+
}), Ua = new s("bounceOutDown", {
|
|
3534
3536
|
"20%": {
|
|
3535
3537
|
transform: "translate3d(0, 10px, 0) scaleY(0.985)"
|
|
3536
3538
|
},
|
|
@@ -3542,7 +3544,7 @@ const {
|
|
|
3542
3544
|
opacity: 0,
|
|
3543
3545
|
transform: "translate3d(0, 2000px, 0) scaleY(3)"
|
|
3544
3546
|
}
|
|
3545
|
-
}), Ea = new
|
|
3547
|
+
}), Ea = new s("bounceOutUp", {
|
|
3546
3548
|
"20%": {
|
|
3547
3549
|
transform: "translate3d(0, -10px, 0) scaleY(0.985)"
|
|
3548
3550
|
},
|
|
@@ -3598,14 +3600,14 @@ const {
|
|
|
3598
3600
|
animationFillMode: "both",
|
|
3599
3601
|
animationName: Ea
|
|
3600
3602
|
}
|
|
3601
|
-
}), _a = new
|
|
3603
|
+
}), _a = new s("fadeIn", {
|
|
3602
3604
|
from: {
|
|
3603
3605
|
opacity: 0
|
|
3604
3606
|
},
|
|
3605
3607
|
to: {
|
|
3606
3608
|
opacity: 1
|
|
3607
3609
|
}
|
|
3608
|
-
}), Ga = new
|
|
3610
|
+
}), Ga = new s("fadeInLeft", {
|
|
3609
3611
|
from: {
|
|
3610
3612
|
opacity: 0,
|
|
3611
3613
|
transform: "translate3d(-100%, 0, 0)"
|
|
@@ -3614,7 +3616,7 @@ const {
|
|
|
3614
3616
|
opacity: 1,
|
|
3615
3617
|
transform: "translate3d(0, 0, 0)"
|
|
3616
3618
|
}
|
|
3617
|
-
}), qa = new
|
|
3619
|
+
}), qa = new s("fadeInRight", {
|
|
3618
3620
|
from: {
|
|
3619
3621
|
opacity: 0,
|
|
3620
3622
|
transform: "translate3d(100%, 0, 0)"
|
|
@@ -3623,7 +3625,7 @@ const {
|
|
|
3623
3625
|
opacity: 1,
|
|
3624
3626
|
transform: "translate3d(0, 0, 0)"
|
|
3625
3627
|
}
|
|
3626
|
-
}), Za = new
|
|
3628
|
+
}), Za = new s("fadeInDown", {
|
|
3627
3629
|
from: {
|
|
3628
3630
|
opacity: 0,
|
|
3629
3631
|
transform: "translate3d(0, -100%, 0)"
|
|
@@ -3632,7 +3634,7 @@ const {
|
|
|
3632
3634
|
opacity: 1,
|
|
3633
3635
|
transform: "translate3d(0, 0, 0)"
|
|
3634
3636
|
}
|
|
3635
|
-
}), Ja = new
|
|
3637
|
+
}), Ja = new s("fadeInUp", {
|
|
3636
3638
|
from: {
|
|
3637
3639
|
opacity: 0,
|
|
3638
3640
|
transform: "translate3d(0, 100%, 0)"
|
|
@@ -3641,7 +3643,7 @@ const {
|
|
|
3641
3643
|
opacity: 1,
|
|
3642
3644
|
transform: "translate3d(0, 0, 0)"
|
|
3643
3645
|
}
|
|
3644
|
-
}), Qa = new
|
|
3646
|
+
}), Qa = new s("fadeInDownBig", {
|
|
3645
3647
|
from: {
|
|
3646
3648
|
opacity: 0,
|
|
3647
3649
|
transform: "translate3d(0, -2000px, 0)"
|
|
@@ -3650,7 +3652,7 @@ const {
|
|
|
3650
3652
|
opacity: 1,
|
|
3651
3653
|
transform: "translate3d(0, 0, 0)"
|
|
3652
3654
|
}
|
|
3653
|
-
}), eo = new
|
|
3655
|
+
}), eo = new s("fadeInUpBig", {
|
|
3654
3656
|
from: {
|
|
3655
3657
|
opacity: 0,
|
|
3656
3658
|
transform: "translate3d(0, 2000px, 0)"
|
|
@@ -3659,7 +3661,7 @@ const {
|
|
|
3659
3661
|
opacity: 1,
|
|
3660
3662
|
transform: "translate3d(0, 0, 0)"
|
|
3661
3663
|
}
|
|
3662
|
-
}), to = new
|
|
3664
|
+
}), to = new s("fadeInLeftBig", {
|
|
3663
3665
|
from: {
|
|
3664
3666
|
opacity: 0,
|
|
3665
3667
|
transform: "translate3d(-2000px, 0, 0)"
|
|
@@ -3668,7 +3670,7 @@ const {
|
|
|
3668
3670
|
opacity: 1,
|
|
3669
3671
|
transform: "translate3d(0, 0, 0)"
|
|
3670
3672
|
}
|
|
3671
|
-
}), no = new
|
|
3673
|
+
}), no = new s("fadeInRightBig", {
|
|
3672
3674
|
from: {
|
|
3673
3675
|
opacity: 0,
|
|
3674
3676
|
transform: "translate3d(2000px, 0, 0)"
|
|
@@ -3677,7 +3679,7 @@ const {
|
|
|
3677
3679
|
opacity: 1,
|
|
3678
3680
|
transform: "translate3d(0, 0, 0)"
|
|
3679
3681
|
}
|
|
3680
|
-
}), ao = new
|
|
3682
|
+
}), ao = new s("fadeInTopLeft", {
|
|
3681
3683
|
from: {
|
|
3682
3684
|
opacity: 0,
|
|
3683
3685
|
transform: "translate3d(-100%, -100%, 0)"
|
|
@@ -3686,7 +3688,7 @@ const {
|
|
|
3686
3688
|
opacity: 1,
|
|
3687
3689
|
transform: "translate3d(0, 0, 0)"
|
|
3688
3690
|
}
|
|
3689
|
-
}), oo = new
|
|
3691
|
+
}), oo = new s("fadeInBottomRight", {
|
|
3690
3692
|
from: {
|
|
3691
3693
|
opacity: 0,
|
|
3692
3694
|
transform: "translate3d(100%, 100%, 0)"
|
|
@@ -3695,7 +3697,7 @@ const {
|
|
|
3695
3697
|
opacity: 1,
|
|
3696
3698
|
transform: "translate3d(0, 0, 0)"
|
|
3697
3699
|
}
|
|
3698
|
-
}), io = new
|
|
3700
|
+
}), io = new s("fadeInTopRight", {
|
|
3699
3701
|
from: {
|
|
3700
3702
|
opacity: 0,
|
|
3701
3703
|
transform: "translate3d(100%, -100%, 0)"
|
|
@@ -3704,7 +3706,7 @@ const {
|
|
|
3704
3706
|
opacity: 1,
|
|
3705
3707
|
transform: "translate3d(0, 0, 0)"
|
|
3706
3708
|
}
|
|
3707
|
-
}), lo = new
|
|
3709
|
+
}), lo = new s("fadeInBottomLeft", {
|
|
3708
3710
|
from: {
|
|
3709
3711
|
opacity: 0,
|
|
3710
3712
|
transform: "translate3d(-100%, 100%, 0)"
|
|
@@ -3713,14 +3715,14 @@ const {
|
|
|
3713
3715
|
opacity: 1,
|
|
3714
3716
|
transform: "translate3d(0, 0, 0)"
|
|
3715
3717
|
}
|
|
3716
|
-
}), ro = new
|
|
3718
|
+
}), ro = new s("fadeOut", {
|
|
3717
3719
|
from: {
|
|
3718
3720
|
opacity: 1
|
|
3719
3721
|
},
|
|
3720
3722
|
to: {
|
|
3721
3723
|
opacity: 0
|
|
3722
3724
|
}
|
|
3723
|
-
}), so = new
|
|
3725
|
+
}), so = new s("fadeOutLeft", {
|
|
3724
3726
|
from: {
|
|
3725
3727
|
opacity: 1
|
|
3726
3728
|
},
|
|
@@ -3728,7 +3730,7 @@ const {
|
|
|
3728
3730
|
opacity: 0,
|
|
3729
3731
|
transform: "translate3d(-100%, 0, 0)"
|
|
3730
3732
|
}
|
|
3731
|
-
}), uo = new
|
|
3733
|
+
}), uo = new s("fadeOutRight", {
|
|
3732
3734
|
from: {
|
|
3733
3735
|
opacity: 1
|
|
3734
3736
|
},
|
|
@@ -3736,7 +3738,7 @@ const {
|
|
|
3736
3738
|
opacity: 0,
|
|
3737
3739
|
transform: "translate3d(100%, 0, 0)"
|
|
3738
3740
|
}
|
|
3739
|
-
}), co = new
|
|
3741
|
+
}), co = new s("fadeOutDown", {
|
|
3740
3742
|
from: {
|
|
3741
3743
|
opacity: 1
|
|
3742
3744
|
},
|
|
@@ -3744,7 +3746,7 @@ const {
|
|
|
3744
3746
|
opacity: 0,
|
|
3745
3747
|
transform: "translate3d(0, 100%, 0)"
|
|
3746
3748
|
}
|
|
3747
|
-
}), mo = new
|
|
3749
|
+
}), mo = new s("fadeOutUp", {
|
|
3748
3750
|
from: {
|
|
3749
3751
|
opacity: 1
|
|
3750
3752
|
},
|
|
@@ -3752,7 +3754,7 @@ const {
|
|
|
3752
3754
|
opacity: 0,
|
|
3753
3755
|
transform: "translate3d(0, -100%, 0)"
|
|
3754
3756
|
}
|
|
3755
|
-
}), fo = new
|
|
3757
|
+
}), fo = new s("fadeOutDownBig", {
|
|
3756
3758
|
from: {
|
|
3757
3759
|
opacity: 1
|
|
3758
3760
|
},
|
|
@@ -3760,7 +3762,7 @@ const {
|
|
|
3760
3762
|
opacity: 0,
|
|
3761
3763
|
transform: "translate3d(0, 2000px, 0)"
|
|
3762
3764
|
}
|
|
3763
|
-
}), go = new
|
|
3765
|
+
}), go = new s("fadeOutUpBig", {
|
|
3764
3766
|
from: {
|
|
3765
3767
|
opacity: 1
|
|
3766
3768
|
},
|
|
@@ -3768,7 +3770,7 @@ const {
|
|
|
3768
3770
|
opacity: 0,
|
|
3769
3771
|
transform: "translate3d(0, -2000px, 0)"
|
|
3770
3772
|
}
|
|
3771
|
-
}), ho = new
|
|
3773
|
+
}), ho = new s("fadeOutLeftBig", {
|
|
3772
3774
|
from: {
|
|
3773
3775
|
opacity: 1
|
|
3774
3776
|
},
|
|
@@ -3776,7 +3778,7 @@ const {
|
|
|
3776
3778
|
opacity: 0,
|
|
3777
3779
|
transform: "translate3d(-2000px, 0, 0)"
|
|
3778
3780
|
}
|
|
3779
|
-
}), yo = new
|
|
3781
|
+
}), yo = new s("fadeOutRightBig", {
|
|
3780
3782
|
from: {
|
|
3781
3783
|
opacity: 1
|
|
3782
3784
|
},
|
|
@@ -3784,7 +3786,7 @@ const {
|
|
|
3784
3786
|
opacity: 0,
|
|
3785
3787
|
transform: "translate3d(2000px, 0, 0)"
|
|
3786
3788
|
}
|
|
3787
|
-
}), bo = new
|
|
3789
|
+
}), bo = new s("fadeOutTopLeft", {
|
|
3788
3790
|
from: {
|
|
3789
3791
|
opacity: 1,
|
|
3790
3792
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -3793,7 +3795,7 @@ const {
|
|
|
3793
3795
|
opacity: 0,
|
|
3794
3796
|
transform: "translate3d(-100%, -100%, 0)"
|
|
3795
3797
|
}
|
|
3796
|
-
}), po = new
|
|
3798
|
+
}), po = new s("fadeOutBottomRight", {
|
|
3797
3799
|
from: {
|
|
3798
3800
|
opacity: 1,
|
|
3799
3801
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -3802,7 +3804,7 @@ const {
|
|
|
3802
3804
|
opacity: 0,
|
|
3803
3805
|
transform: "translate3d(100%, 100%, 0)"
|
|
3804
3806
|
}
|
|
3805
|
-
}), vo = new
|
|
3807
|
+
}), vo = new s("fadeOutTopRight", {
|
|
3806
3808
|
from: {
|
|
3807
3809
|
opacity: 1,
|
|
3808
3810
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -3811,7 +3813,7 @@ const {
|
|
|
3811
3813
|
opacity: 0,
|
|
3812
3814
|
transform: "translate3d(100%, -100%, 0)"
|
|
3813
3815
|
}
|
|
3814
|
-
}), xo = new
|
|
3816
|
+
}), xo = new s("fadeOutBottomLeft", {
|
|
3815
3817
|
from: {
|
|
3816
3818
|
opacity: 1,
|
|
3817
3819
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -3926,7 +3928,7 @@ const {
|
|
|
3926
3928
|
animationFillMode: "both",
|
|
3927
3929
|
animationName: xo
|
|
3928
3930
|
}
|
|
3929
|
-
}), So = new
|
|
3931
|
+
}), So = new s("flipInX", {
|
|
3930
3932
|
from: {
|
|
3931
3933
|
opacity: 0,
|
|
3932
3934
|
animationTimingFunction: "ease-in",
|
|
@@ -3946,7 +3948,7 @@ const {
|
|
|
3946
3948
|
to: {
|
|
3947
3949
|
transform: "perspective(400px)"
|
|
3948
3950
|
}
|
|
3949
|
-
}), Io = new
|
|
3951
|
+
}), Io = new s("flipInY", {
|
|
3950
3952
|
from: {
|
|
3951
3953
|
opacity: 0,
|
|
3952
3954
|
animationTimingFunction: "ease-in",
|
|
@@ -3966,7 +3968,7 @@ const {
|
|
|
3966
3968
|
to: {
|
|
3967
3969
|
transform: "perspective(400px)"
|
|
3968
3970
|
}
|
|
3969
|
-
}), Mo = new
|
|
3971
|
+
}), Mo = new s("flipOutX", {
|
|
3970
3972
|
from: {
|
|
3971
3973
|
transform: "perspective(400px)"
|
|
3972
3974
|
},
|
|
@@ -3978,7 +3980,7 @@ const {
|
|
|
3978
3980
|
opacity: 0,
|
|
3979
3981
|
transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
|
|
3980
3982
|
}
|
|
3981
|
-
}), Oo = new
|
|
3983
|
+
}), Oo = new s("flipOutY", {
|
|
3982
3984
|
from: {
|
|
3983
3985
|
transform: "perspective(400px)"
|
|
3984
3986
|
},
|
|
@@ -4001,7 +4003,7 @@ const {
|
|
|
4001
4003
|
backfaceVisibility: "visible !important",
|
|
4002
4004
|
animationName: Io
|
|
4003
4005
|
}
|
|
4004
|
-
}),
|
|
4006
|
+
}), ko = () => ({
|
|
4005
4007
|
"&.flipOutX": {
|
|
4006
4008
|
animationFillMode: "both",
|
|
4007
4009
|
backfaceVisibility: "visible !important",
|
|
@@ -4014,7 +4016,7 @@ const {
|
|
|
4014
4016
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
4015
4017
|
animationName: Oo
|
|
4016
4018
|
}
|
|
4017
|
-
}),
|
|
4019
|
+
}), Bo = new s("lightSpeedInLeft", {
|
|
4018
4020
|
from: {
|
|
4019
4021
|
opacity: 0,
|
|
4020
4022
|
transform: "translate3d(-100%, 0, 0) skewX(30deg)"
|
|
@@ -4029,7 +4031,7 @@ const {
|
|
|
4029
4031
|
to: {
|
|
4030
4032
|
transform: "translate3d(0, 0, 0)"
|
|
4031
4033
|
}
|
|
4032
|
-
}), $o = new
|
|
4034
|
+
}), $o = new s("lightSpeedInRight", {
|
|
4033
4035
|
from: {
|
|
4034
4036
|
opacity: 0,
|
|
4035
4037
|
transform: "translate3d(100%, 0, 0) skewX(-30deg)"
|
|
@@ -4044,7 +4046,7 @@ const {
|
|
|
4044
4046
|
to: {
|
|
4045
4047
|
transform: "translate3d(0, 0, 0)"
|
|
4046
4048
|
}
|
|
4047
|
-
}),
|
|
4049
|
+
}), Po = new s("lightSpeedOutLeft", {
|
|
4048
4050
|
from: {
|
|
4049
4051
|
opacity: 1
|
|
4050
4052
|
},
|
|
@@ -4052,7 +4054,7 @@ const {
|
|
|
4052
4054
|
opacity: 0,
|
|
4053
4055
|
transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
|
|
4054
4056
|
}
|
|
4055
|
-
}),
|
|
4057
|
+
}), Fo = new s("lightSpeedOutRight", {
|
|
4056
4058
|
from: {
|
|
4057
4059
|
opacity: 1
|
|
4058
4060
|
},
|
|
@@ -4060,11 +4062,11 @@ const {
|
|
|
4060
4062
|
opacity: 0,
|
|
4061
4063
|
transform: "translate3d(100%, 0, 0) skewX(30deg)"
|
|
4062
4064
|
}
|
|
4063
|
-
}),
|
|
4065
|
+
}), To = () => ({
|
|
4064
4066
|
"&.lightSpeedInLeft": {
|
|
4065
4067
|
animationFillMode: "both",
|
|
4066
4068
|
animationTimingFunction: "ease-out",
|
|
4067
|
-
animationName:
|
|
4069
|
+
animationName: Bo
|
|
4068
4070
|
},
|
|
4069
4071
|
"&.lightSpeedInRight": {
|
|
4070
4072
|
animationFillMode: "both",
|
|
@@ -4075,14 +4077,14 @@ const {
|
|
|
4075
4077
|
"&.lightSpeedOutLeft": {
|
|
4076
4078
|
animationFillMode: "both",
|
|
4077
4079
|
animationTimingFunction: "ease-in",
|
|
4078
|
-
animationName:
|
|
4080
|
+
animationName: Po
|
|
4079
4081
|
},
|
|
4080
4082
|
"&.lightSpeedOutRight": {
|
|
4081
4083
|
animationFillMode: "both",
|
|
4082
4084
|
animationTimingFunction: "ease-in",
|
|
4083
|
-
animationName:
|
|
4085
|
+
animationName: Fo
|
|
4084
4086
|
}
|
|
4085
|
-
}), Do = new
|
|
4087
|
+
}), Do = new s("rotateIn", {
|
|
4086
4088
|
from: {
|
|
4087
4089
|
opacity: 0,
|
|
4088
4090
|
transform: "rotate3d(0, 0, 1, -200deg)"
|
|
@@ -4091,7 +4093,7 @@ const {
|
|
|
4091
4093
|
opacity: 1,
|
|
4092
4094
|
transform: "translate3d(0, 0, 0)"
|
|
4093
4095
|
}
|
|
4094
|
-
}), No = new
|
|
4096
|
+
}), No = new s("rotateInDownLeft", {
|
|
4095
4097
|
from: {
|
|
4096
4098
|
opacity: 0,
|
|
4097
4099
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
@@ -4100,7 +4102,7 @@ const {
|
|
|
4100
4102
|
opacity: 1,
|
|
4101
4103
|
transform: "translate3d(0, 0, 0)"
|
|
4102
4104
|
}
|
|
4103
|
-
}), zo = new
|
|
4105
|
+
}), zo = new s("rotateInDownRight", {
|
|
4104
4106
|
from: {
|
|
4105
4107
|
opacity: 0,
|
|
4106
4108
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -4109,7 +4111,7 @@ const {
|
|
|
4109
4111
|
opacity: 1,
|
|
4110
4112
|
transform: "translate3d(0, 0, 0)"
|
|
4111
4113
|
}
|
|
4112
|
-
}), Ho = new
|
|
4114
|
+
}), Ho = new s("rotateInUpLeft", {
|
|
4113
4115
|
from: {
|
|
4114
4116
|
opacity: 0,
|
|
4115
4117
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -4118,7 +4120,7 @@ const {
|
|
|
4118
4120
|
opacity: 1,
|
|
4119
4121
|
transform: "translate3d(0, 0, 0)"
|
|
4120
4122
|
}
|
|
4121
|
-
}), Vo = new
|
|
4123
|
+
}), Vo = new s("rotateInUpRight", {
|
|
4122
4124
|
from: {
|
|
4123
4125
|
opacity: 0,
|
|
4124
4126
|
transform: "rotate3d(0, 0, 1, -90deg)"
|
|
@@ -4127,7 +4129,7 @@ const {
|
|
|
4127
4129
|
opacity: 1,
|
|
4128
4130
|
transform: "translate3d(0, 0, 0)"
|
|
4129
4131
|
}
|
|
4130
|
-
}), jo = new
|
|
4132
|
+
}), jo = new s("rotateOut", {
|
|
4131
4133
|
from: {
|
|
4132
4134
|
opacity: 1
|
|
4133
4135
|
},
|
|
@@ -4135,7 +4137,7 @@ const {
|
|
|
4135
4137
|
opacity: 0,
|
|
4136
4138
|
transform: "rotate3d(0, 0, 1, 200deg)"
|
|
4137
4139
|
}
|
|
4138
|
-
}), Wo = new
|
|
4140
|
+
}), Wo = new s("rotateOutDownLeft", {
|
|
4139
4141
|
from: {
|
|
4140
4142
|
opacity: 1
|
|
4141
4143
|
},
|
|
@@ -4143,7 +4145,7 @@ const {
|
|
|
4143
4145
|
opacity: 0,
|
|
4144
4146
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
4145
4147
|
}
|
|
4146
|
-
}), Ao = new
|
|
4148
|
+
}), Ao = new s("rotateOutDownRight", {
|
|
4147
4149
|
from: {
|
|
4148
4150
|
opacity: 1
|
|
4149
4151
|
},
|
|
@@ -4151,7 +4153,7 @@ const {
|
|
|
4151
4153
|
opacity: 0,
|
|
4152
4154
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
4153
4155
|
}
|
|
4154
|
-
}), Ko = new
|
|
4156
|
+
}), Ko = new s("rotateOutUpLeft", {
|
|
4155
4157
|
from: {
|
|
4156
4158
|
opacity: 1
|
|
4157
4159
|
},
|
|
@@ -4159,7 +4161,7 @@ const {
|
|
|
4159
4161
|
opacity: 0,
|
|
4160
4162
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
4161
4163
|
}
|
|
4162
|
-
}), Uo = new
|
|
4164
|
+
}), Uo = new s("rotateOutUpRight", {
|
|
4163
4165
|
from: {
|
|
4164
4166
|
opacity: 1
|
|
4165
4167
|
},
|
|
@@ -4219,7 +4221,7 @@ const {
|
|
|
4219
4221
|
transformOrigin: "right bottom",
|
|
4220
4222
|
animationName: Uo
|
|
4221
4223
|
}
|
|
4222
|
-
}), Yo = new
|
|
4224
|
+
}), Yo = new s("rollIn", {
|
|
4223
4225
|
from: {
|
|
4224
4226
|
opacity: 0,
|
|
4225
4227
|
transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
|
|
@@ -4228,7 +4230,7 @@ const {
|
|
|
4228
4230
|
opacity: 1,
|
|
4229
4231
|
transform: "translate3d(0, 0, 0)"
|
|
4230
4232
|
}
|
|
4231
|
-
}), _o = new
|
|
4233
|
+
}), _o = new s("rollOut", {
|
|
4232
4234
|
from: {
|
|
4233
4235
|
opacity: 1
|
|
4234
4236
|
},
|
|
@@ -4246,7 +4248,7 @@ const {
|
|
|
4246
4248
|
animationFillMode: "both",
|
|
4247
4249
|
animationName: _o
|
|
4248
4250
|
}
|
|
4249
|
-
}), Zo = new
|
|
4251
|
+
}), Zo = new s("zoomIn", {
|
|
4250
4252
|
from: {
|
|
4251
4253
|
opacity: 0,
|
|
4252
4254
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
@@ -4254,7 +4256,7 @@ const {
|
|
|
4254
4256
|
"50%": {
|
|
4255
4257
|
opacity: 1
|
|
4256
4258
|
}
|
|
4257
|
-
}), Jo = new
|
|
4259
|
+
}), Jo = new s("zoomInDown", {
|
|
4258
4260
|
from: {
|
|
4259
4261
|
opacity: 0,
|
|
4260
4262
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
|
|
@@ -4265,7 +4267,7 @@ const {
|
|
|
4265
4267
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
4266
4268
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
4267
4269
|
}
|
|
4268
|
-
}), Qo = new
|
|
4270
|
+
}), Qo = new s("zoomInLeft", {
|
|
4269
4271
|
from: {
|
|
4270
4272
|
opacity: 0,
|
|
4271
4273
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
|
|
@@ -4276,7 +4278,7 @@ const {
|
|
|
4276
4278
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
|
|
4277
4279
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
4278
4280
|
}
|
|
4279
|
-
}), ei = new
|
|
4281
|
+
}), ei = new s("zoomInRight", {
|
|
4280
4282
|
from: {
|
|
4281
4283
|
opacity: 0,
|
|
4282
4284
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
|
|
@@ -4287,7 +4289,7 @@ const {
|
|
|
4287
4289
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
|
|
4288
4290
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
4289
4291
|
}
|
|
4290
|
-
}), ti = new
|
|
4292
|
+
}), ti = new s("zoomInUp", {
|
|
4291
4293
|
from: {
|
|
4292
4294
|
opacity: 0,
|
|
4293
4295
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
|
|
@@ -4298,7 +4300,7 @@ const {
|
|
|
4298
4300
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
4299
4301
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
4300
4302
|
}
|
|
4301
|
-
}), ni = new
|
|
4303
|
+
}), ni = new s("zoomOut", {
|
|
4302
4304
|
from: {
|
|
4303
4305
|
opacity: 1
|
|
4304
4306
|
},
|
|
@@ -4309,7 +4311,7 @@ const {
|
|
|
4309
4311
|
to: {
|
|
4310
4312
|
opacity: 0
|
|
4311
4313
|
}
|
|
4312
|
-
}), ai = new
|
|
4314
|
+
}), ai = new s("zoomOutDown", {
|
|
4313
4315
|
"40%": {
|
|
4314
4316
|
opacity: 1,
|
|
4315
4317
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
@@ -4320,7 +4322,7 @@ const {
|
|
|
4320
4322
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
|
|
4321
4323
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
4322
4324
|
}
|
|
4323
|
-
}), oi = new
|
|
4325
|
+
}), oi = new s("zoomOutLeft", {
|
|
4324
4326
|
"40%": {
|
|
4325
4327
|
opacity: 1,
|
|
4326
4328
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
|
|
@@ -4329,7 +4331,7 @@ const {
|
|
|
4329
4331
|
opacity: 0,
|
|
4330
4332
|
transform: "scale(0.1) translate3d(-2000px, 0, 0)"
|
|
4331
4333
|
}
|
|
4332
|
-
}), ii = new
|
|
4334
|
+
}), ii = new s("zoomOutRight", {
|
|
4333
4335
|
"40%": {
|
|
4334
4336
|
opacity: 1,
|
|
4335
4337
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
|
|
@@ -4338,7 +4340,7 @@ const {
|
|
|
4338
4340
|
opacity: 0,
|
|
4339
4341
|
transform: "scale(0.1) translate3d(2000px, 0, 0)"
|
|
4340
4342
|
}
|
|
4341
|
-
}), li = new
|
|
4343
|
+
}), li = new s("zoomOutUp", {
|
|
4342
4344
|
"40%": {
|
|
4343
4345
|
opacity: 1,
|
|
4344
4346
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
@@ -4395,7 +4397,7 @@ const {
|
|
|
4395
4397
|
transformOrigin: "center bottom",
|
|
4396
4398
|
animationName: li
|
|
4397
4399
|
}
|
|
4398
|
-
}), ui = new
|
|
4400
|
+
}), ui = new s("slideInDown", {
|
|
4399
4401
|
from: {
|
|
4400
4402
|
transform: "translate3d(0, -100%, 0)",
|
|
4401
4403
|
visibility: "visible"
|
|
@@ -4403,7 +4405,7 @@ const {
|
|
|
4403
4405
|
to: {
|
|
4404
4406
|
transform: "translate3d(0, 0, 0)"
|
|
4405
4407
|
}
|
|
4406
|
-
}), di = new
|
|
4408
|
+
}), di = new s("slideInLeft", {
|
|
4407
4409
|
from: {
|
|
4408
4410
|
transform: "translate3d(-100%, 0, 0)",
|
|
4409
4411
|
visibility: "visible"
|
|
@@ -4411,7 +4413,7 @@ const {
|
|
|
4411
4413
|
to: {
|
|
4412
4414
|
transform: "translate3d(0, 0, 0)"
|
|
4413
4415
|
}
|
|
4414
|
-
}), ci = new
|
|
4416
|
+
}), ci = new s("slideInRight", {
|
|
4415
4417
|
from: {
|
|
4416
4418
|
transform: "translate3d(100%, 0, 0)",
|
|
4417
4419
|
visibility: "visible"
|
|
@@ -4419,7 +4421,7 @@ const {
|
|
|
4419
4421
|
to: {
|
|
4420
4422
|
transform: "translate3d(0, 0, 0)"
|
|
4421
4423
|
}
|
|
4422
|
-
}), mi = new
|
|
4424
|
+
}), mi = new s("slideInUp", {
|
|
4423
4425
|
from: {
|
|
4424
4426
|
transform: "translate3d(0, 100%, 0)",
|
|
4425
4427
|
visibility: "visible"
|
|
@@ -4427,7 +4429,7 @@ const {
|
|
|
4427
4429
|
to: {
|
|
4428
4430
|
transform: "translate3d(0, 0, 0)"
|
|
4429
4431
|
}
|
|
4430
|
-
}), fi = new
|
|
4432
|
+
}), fi = new s("slideOutDown", {
|
|
4431
4433
|
from: {
|
|
4432
4434
|
transform: "translate3d(0, 0, 0)"
|
|
4433
4435
|
},
|
|
@@ -4435,7 +4437,7 @@ const {
|
|
|
4435
4437
|
transform: "translate3d(0, 100%, 0)",
|
|
4436
4438
|
visibility: "hidden"
|
|
4437
4439
|
}
|
|
4438
|
-
}), gi = new
|
|
4440
|
+
}), gi = new s("slideOutLeft", {
|
|
4439
4441
|
from: {
|
|
4440
4442
|
transform: "translate3d(0, 0, 0)"
|
|
4441
4443
|
},
|
|
@@ -4443,7 +4445,7 @@ const {
|
|
|
4443
4445
|
transform: "translate3d(-100%, 0, 0)",
|
|
4444
4446
|
visibility: "hidden"
|
|
4445
4447
|
}
|
|
4446
|
-
}), hi = new
|
|
4448
|
+
}), hi = new s("slideOutRight", {
|
|
4447
4449
|
from: {
|
|
4448
4450
|
transform: "translate3d(0, 0, 0)"
|
|
4449
4451
|
},
|
|
@@ -4451,7 +4453,7 @@ const {
|
|
|
4451
4453
|
transform: "translate3d(100%, 0, 0)",
|
|
4452
4454
|
visibility: "hidden"
|
|
4453
4455
|
}
|
|
4454
|
-
}), yi = new
|
|
4456
|
+
}), yi = new s("slideOutUp", {
|
|
4455
4457
|
from: {
|
|
4456
4458
|
transform: "translate3d(0, 0, 0)"
|
|
4457
4459
|
},
|
|
@@ -4502,7 +4504,7 @@ const {
|
|
|
4502
4504
|
...Xa(),
|
|
4503
4505
|
...Co(),
|
|
4504
4506
|
...Ro(),
|
|
4505
|
-
...
|
|
4507
|
+
...To(),
|
|
4506
4508
|
...Eo(),
|
|
4507
4509
|
...Go(),
|
|
4508
4510
|
...ri(),
|
|
@@ -4515,7 +4517,7 @@ const {
|
|
|
4515
4517
|
...Da(),
|
|
4516
4518
|
...Ya(),
|
|
4517
4519
|
...wo(),
|
|
4518
|
-
...
|
|
4520
|
+
...ko(),
|
|
4519
4521
|
...Lo(),
|
|
4520
4522
|
...Xo(),
|
|
4521
4523
|
...qo(),
|
|
@@ -4530,7 +4532,7 @@ function xi(e) {
|
|
|
4530
4532
|
return [vi(a)];
|
|
4531
4533
|
}, e);
|
|
4532
4534
|
}
|
|
4533
|
-
const Vi = /* @__PURE__ */
|
|
4535
|
+
const Vi = /* @__PURE__ */ V({
|
|
4534
4536
|
name: "PageTranstion",
|
|
4535
4537
|
props: {
|
|
4536
4538
|
disabled: {
|
|
@@ -4556,29 +4558,29 @@ const Vi = /* @__PURE__ */ j({
|
|
|
4556
4558
|
}), {
|
|
4557
4559
|
wrapSSR: o,
|
|
4558
4560
|
hashId: i
|
|
4559
|
-
} = xi(a), u =
|
|
4560
|
-
const
|
|
4561
|
-
if (
|
|
4561
|
+
} = xi(a), u = b(() => [c(!1), `${a}-enter`, i.value].join(" ")), m = b(() => [c(!0), `${a}-leave`, i.value].join(" ")), c = (p) => {
|
|
4562
|
+
const R = je.preset.find((l) => e.name == l.name);
|
|
4563
|
+
if (R == null)
|
|
4562
4564
|
return "";
|
|
4563
|
-
let
|
|
4564
|
-
e.direction == null ?
|
|
4565
|
-
const
|
|
4566
|
-
return
|
|
4567
|
-
},
|
|
4568
|
-
if (
|
|
4569
|
-
return
|
|
4570
|
-
let
|
|
4571
|
-
return
|
|
4565
|
+
let h = "";
|
|
4566
|
+
e.direction == null ? h = R.directions[0] : h = R.directions.find((l) => l == e.direction) || "", h = h == null || h === "default" ? "" : h, h != "" && (h = p && e.reverse ? I(h, R.directions) : h, h = h[0].toUpperCase() + h.substring(1));
|
|
4567
|
+
const B = p ? "Out" : "In";
|
|
4568
|
+
return R.name + B + h;
|
|
4569
|
+
}, I = (p, R) => {
|
|
4570
|
+
if (p.length == 0 || p == "x" || p == "y")
|
|
4571
|
+
return p;
|
|
4572
|
+
let h = R.indexOf(p);
|
|
4573
|
+
return h = h % 2 == 1 ? h - 1 : h + 1, R[h];
|
|
4572
4574
|
};
|
|
4573
4575
|
return () => {
|
|
4574
|
-
var
|
|
4575
|
-
return e.disabled ? (
|
|
4576
|
+
var p;
|
|
4577
|
+
return e.disabled ? (p = t.default) == null ? void 0 : p.call(t) : o(n(Pt, {
|
|
4576
4578
|
enterActiveClass: u.value,
|
|
4577
|
-
leaveActiveClass:
|
|
4579
|
+
leaveActiveClass: m.value
|
|
4578
4580
|
}, {
|
|
4579
4581
|
default: () => {
|
|
4580
|
-
var
|
|
4581
|
-
return [(
|
|
4582
|
+
var R;
|
|
4583
|
+
return [(R = t.default) == null ? void 0 : R.call(t)];
|
|
4582
4584
|
}
|
|
4583
4585
|
}));
|
|
4584
4586
|
};
|
|
@@ -4588,12 +4590,12 @@ export {
|
|
|
4588
4590
|
gt as BaseMenu,
|
|
4589
4591
|
ma as DefaultHeader,
|
|
4590
4592
|
Ni as GProLayout,
|
|
4591
|
-
|
|
4593
|
+
Be as GlobalFooter,
|
|
4592
4594
|
Di as PageContainer,
|
|
4593
4595
|
dn as PageLoading,
|
|
4594
4596
|
Vi as PageTranstion,
|
|
4595
4597
|
Hi as SettingDrawer,
|
|
4596
|
-
|
|
4598
|
+
ke as SiderMenuWrapper,
|
|
4597
4599
|
Ue as WrapContent,
|
|
4598
4600
|
Ie as baseMenuProps,
|
|
4599
4601
|
bn as clearMenuItem,
|
|
@@ -4607,5 +4609,5 @@ export {
|
|
|
4607
4609
|
Cn as handleThemeConfig,
|
|
4608
4610
|
Rn as provideProLayoutContext,
|
|
4609
4611
|
Mn as useContext,
|
|
4610
|
-
|
|
4612
|
+
ee as useProLayoutContext
|
|
4611
4613
|
};
|