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