@gx-design-vue/pro-layout 0.1.0-beta.33 → 0.1.0-beta.34

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