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