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

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";
3
- import { useRouter as De, RouterLink as Vt } from "vue-router";
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";
6
- import { createTypes as Zt } from "vue-types";
1
+ import { defineComponent as V, createVNode as n, mergeProps as X, provide as Fe, readonly as Bt, inject as it, resolveComponent as lt, computed as f, isVNode as ie, Fragment as Z, toRefs as Ce, unref as A, createTextVNode as ne, ref as Re, reactive as rt, watch as de, withDirectives as kt, vShow as $t, watchEffect as Pt, Transition as Ft } from "vue";
2
+ import { Spin as ve, Menu as ae, ConfigProvider as Te, Layout as ce, Drawer as be, Breadcrumb as Tt, Card as Lt, LayoutFooter as Dt, Tabs as Le, Dropdown as Ye, Tooltip as we, List as oe, Switch as st, TabPane as Nt, Select as ge, message as zt, Divider as Me, Alert as Ht, Button as Vt } from "ant-design-vue";
3
+ import { useRouter as De, RouterLink as jt } from "vue-router";
4
+ import { createFromIconfontCN as Wt, MenuUnfoldOutlined as At, MenuFoldOutlined as Kt, GithubOutlined as Ut, EllipsisOutlined as Et, ReloadOutlined as Xt, CloseOutlined as ut, CheckOutlined as dt, SettingOutlined as Yt, NotificationOutlined as _t, CopyOutlined as Gt } from "@ant-design/icons-vue";
5
+ import qt, { themeConfig as H, Keyframe as s, useProStyle as Q, useProConfigContext as Se, useStyle as Ne, mergeToken as ze, colorList as Zt } from "@gx-design-vue/pro-provider";
6
+ import { createTypes as Jt } from "vue-types";
7
7
  import { cloneDeep as He, pick as le, omit as Ve } from "lodash-es";
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";
8
+ import { GPorWaterMark as Qt } from "@gx-design-vue/pro-watermark";
9
+ import { isBoolean as _e, getSlot as W, getPrefixCls as me, classNames as ct, 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
- import { GColorPicker as _e } from "@gx-design-vue/color-picker";
14
- const dn = /* @__PURE__ */ j({
13
+ import { GColorPicker as Ge } from "@gx-design-vue/color-picker";
14
+ const dn = /* @__PURE__ */ V({
15
15
  name: "PageLoading",
16
16
  props: {
17
17
  ...ve.props
@@ -31,7 +31,7 @@ const dn = /* @__PURE__ */ j({
31
31
  }, null)
32
32
  }), null)]);
33
33
  }
34
- }), ct = Zt({
34
+ }), mt = Jt({
35
35
  func: void 0,
36
36
  bool: void 0,
37
37
  string: void 0,
@@ -40,7 +40,7 @@ const dn = /* @__PURE__ */ j({
40
40
  object: void 0,
41
41
  integer: void 0
42
42
  });
43
- ct.extend([{
43
+ mt.extend([{
44
44
  name: "looseBool",
45
45
  getter: !0,
46
46
  type: Boolean,
@@ -55,70 +55,70 @@ ct.extend([{
55
55
  getter: !0,
56
56
  type: null
57
57
  }]);
58
- const L = ct, se = {
58
+ const L = mt, 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,
@@ -249,14 +249,14 @@ const L = ct, se = {
249
249
  onCollapse: {
250
250
  type: Function
251
251
  }
252
- }, cn = /(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/, mt = (e) => cn.test(e);
252
+ }, cn = /(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/, ft = (e) => cn.test(e);
253
253
  function mn(e) {
254
254
  return /\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e);
255
255
  }
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;
256
+ function gt(e, t, a, o) {
257
+ var u, m, c, S, p, B, y, P, l, r, M, O, w, g, b, x, I, h, C, R, k, D, z, j, T, _, G, K, q, d, v, $, F, N;
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 = (S = (c = t.layout) == null ? void 0 : c[o]) == null ? void 0 : S.colorSubItemBg, i.colorItemBgSelected = (B = (p = t.layout) == null ? void 0 : p[o]) == null ? void 0 : B.colorBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (P = (y = t.layout) == null ? void 0 : y[o]) == null ? void 0 : P.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 = (g = (w = t.layout) == null ? void 0 : w[o]) == null ? void 0 : g.colorTextMenuSelected, i.colorItemTextSelectedHorizontal = (x = (b = t.layout) == null ? void 0 : b[o]) == null ? void 0 : x.colorTextMenuSelected, o === "sider" && (i.colorItemBgHover = (h = (I = t.layout) == null ? void 0 : I[o]) == null ? void 0 : h.colorBgMenuItemHover)) : a === "dark" && (i.colorItemBg = (R = (C = t.layout) == null ? void 0 : C[o]) == null ? void 0 : R.colorDarkBgMenu, i.colorSubItemBg = (D = (k = t.layout) == null ? void 0 : k[o]) == null ? void 0 : D.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 = ($ = (v = t.layout) == null ? void 0 : v[o]) == null ? void 0 : $.colorDarkTextMenuSelected, i.colorItemTextSelectedHorizontal = (N = (F = t.layout) == null ? void 0 : F[o]) == null ? void 0 : N.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("-"));
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
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) || "";
332
+ var p;
333
+ return S === ((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,16 +357,16 @@ 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, Bt(o.value)), () => {
361
361
  var u;
362
362
  return (u = i.default) == null ? void 0 : u.call(i);
363
363
  };
364
364
  }
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);
365
+ }), Mn = (e = Symbol(), t) => it(e, t || {}), We = Symbol("pro-layout-context"), On = () => In(We, "ProLayoutContext.Provider"), Rn = (e) => {
366
+ Fe(We, e);
367
+ }, ee = () => Mn(We);
368
368
  On();
369
- function Ge(e) {
369
+ function qe(e) {
370
370
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
371
371
  }
372
372
  const xe = (e) => {
@@ -378,15 +378,15 @@ const xe = (e) => {
378
378
  if (!t)
379
379
  return null;
380
380
  if (typeof t == "string" && t !== "") {
381
- if (mt(t) || mn(t))
381
+ if (ft(t) || mn(t))
382
382
  return n("img", {
383
383
  src: t,
384
384
  alt: "icon",
385
385
  class: `${e.className}-icon-image`
386
386
  }, null);
387
387
  if (a === 1) {
388
- const u = jt({
389
- scriptUrl: o || V.iconfontUrl
388
+ const u = Wt({
389
+ scriptUrl: o || H.iconfontUrl
390
390
  });
391
391
  return o ? n(u, {
392
392
  type: t
@@ -397,7 +397,7 @@ const xe = (e) => {
397
397
  }
398
398
  if (ie(t))
399
399
  return t;
400
- const i = it(t);
400
+ const i = lt(t);
401
401
  return typeof xe == "function" && n(i, null, null) || null;
402
402
  };
403
403
  xe.props = {
@@ -408,98 +408,96 @@ xe.props = {
408
408
  className: String,
409
409
  iconfontUrl: String
410
410
  };
411
- const gt = /* @__PURE__ */ j({
411
+ const ht = /* @__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 w;
431
+ const M = l.target || "", O = ft(M);
432
+ ((w = t.currentRoute.value) == null ? void 0 : w.fullPath) !== r.to && O && M && l.targetStatus === 1 && window.open(M);
433
+ }, S = lt("router-link"), p = (l = []) => l.map((r) => B(r)).filter((r) => r), B = (l) => {
434
+ var O, w, g, b, x, I, h, C, R;
435
+ if (Array.isArray(l.children) && l.children.length > 0 && !((O = l == null ? void 0 : l.meta) != null && O.hideInMenu) && !((w = l == null ? void 0 : l.meta) != null && w.hideChildrenInMenu)) {
436
+ let k;
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 D = (g = l.meta) == null ? void 0 : g.title, z = (b = l.meta) != null && b.icon ? n("span", {
443
443
  class: "gx-pro-sider-menu-item"
444
444
  }, [n("span", {
445
445
  class: "gx-pro-sider-menu-item-title"
446
- }, [N])]) : n("span", {
446
+ }, [D])]) : 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
+ }, [D]), 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: (I = l.meta) == null ? void 0 : I.icon,
455
455
  iconfontUrl: e.iconfontUrl,
456
- iconType: (p = l.meta) == null ? void 0 : p.iconType
456
+ iconType: (h = l.meta) == null ? void 0 : h.iconType
457
457
  }, null)
458
- }, Ge(T = b(l.children)) ? T : {
459
- default: () => [T]
458
+ }, qe(k = p(l.children)) ? k : {
459
+ default: () => [k]
460
460
  });
461
461
  }
462
- const [s, M] = g(l);
462
+ const [r, M] = y(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
- disabled: (w = l.meta) == null ? void 0 : w.disabled,
469
- danger: ($ = l.meta) == null ? void 0 : $.danger,
468
+ disabled: (C = l.meta) == null ? void 0 : C.disabled,
469
+ danger: (R = l.meta) == null ? void 0 : R.danger,
470
470
  key: l.path,
471
471
  icon: M
472
- }, Ge(s) ? s : {
473
- default: () => [s]
472
+ }, qe(r) ? r : {
473
+ default: () => [r]
474
474
  });
475
- }, g = (l) => {
476
- var h, R, p, w, $;
477
- const s = {
475
+ }, y = (l) => {
476
+ var x, I, h, C, R;
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" : S, 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
+ }, w = (x = l.meta) == null ? void 0 : x.title, g = (I = l.meta) != null && I.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
+ }, [w])]
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, [w])]
493
+ }), b = ((h = l.meta) == null ? void 0 : h.icon) && n(xe, {
496
494
  className: o,
497
- icon: (w = l.meta) == null ? void 0 : w.icon,
495
+ icon: (C = l.meta) == null ? void 0 : C.icon,
498
496
  iconfontUrl: e.iconfontUrl,
499
- iconType: ($ = l.meta) == null ? void 0 : $.iconType
497
+ iconType: (R = l.meta) == null ? void 0 : R.iconType
500
498
  }, null) || void 0;
501
- return [y, m];
502
- }, F = v(() => b(e.menuData));
499
+ return [g, b];
500
+ }, P = f(() => 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: () => [P.value]
515
513
  });
516
514
  }
517
- }), ht = new r("pro-layout-title-hide", {
515
+ }), yt = new s("pro-layout-title-hide", {
518
516
  "0%": { display: "none", opacity: 0 },
519
517
  "99%": {
520
518
  display: "none",
@@ -536,7 +534,7 @@ const gt = /* @__PURE__ */ j({
536
534
  }
537
535
  };
538
536
  }, kn = (e) => {
539
- var t, a, o, i, u, f, c, S, b, O, g, F;
537
+ var t, a, o, i, u, m, c, S, p, B, y, P;
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": {
@@ -588,7 +586,7 @@ const gt = /* @__PURE__ */ j({
588
586
  color: (S = (c = e.layout) == null ? void 0 : c.sider) == null ? void 0 : S.colorDarkTextMenu,
589
587
  paddingBlockEnd: 16,
590
588
  fontSize: e.fontSize,
591
- animationName: ht,
589
+ animationName: yt,
592
590
  animationDuration: ".4s",
593
591
  animationTimingFunction: "ease"
594
592
  }
@@ -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% - ${((B = (p = e.layout) == null ? void 0 : p.header) == null ? void 0 : B.heightLayoutHeader) || H.headerHeight}px)`,
602
+ insetBlockStart: `${((P = (y = e.layout) == null ? void 0 : y.header) == null ? void 0 : P.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`]: {
@@ -649,7 +647,7 @@ const gt = /* @__PURE__ */ j({
649
647
  marginInlineEnd: 0,
650
648
  marginInlineStart: 12,
651
649
  color: e.colorWhite,
652
- animationName: ht,
650
+ animationName: yt,
653
651
  animationDuration: ".2s",
654
652
  fontWeight: 600,
655
653
  fontSize: 18,
@@ -674,34 +672,34 @@ const gt = /* @__PURE__ */ j({
674
672
  }
675
673
  }
676
674
  }
677
- }), yt = (e, t) => e ? typeof e == "string" ? n("img", {
675
+ }), bt = (e, t) => e ? typeof e == "string" ? n("img", {
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 = bt(a, o), S = i && n("h1", null, [i]);
689
+ return typeof m == "function" ? m(c, e.collapsed ? null : S, e) : n(Z, null, [c || null, e.collapsed && u === "side" ? null : S]);
690
+ }, Ae = /* @__PURE__ */ 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 = f(() => e.layout === "side" || e.layout === "simple"), o = f(() => 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 = f(() => 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
- Item: qe
727
- } = ae, bt = (e) => e ? n(Wt, null, null) : n(At, null, null), Ze = /* @__PURE__ */ j({
728
- props: _,
724
+ Item: Ze
725
+ } = ae, pt = (e) => e ? n(At, null, null) : n(Kt, null, null), Je = /* @__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
739
  layout: S,
742
- isMobile: b,
743
- menuLoading: O,
744
- breakpoint: g,
745
- fixSiderbar: F,
740
+ isMobile: p,
741
+ menuLoading: B,
742
+ breakpoint: y,
743
+ fixSiderbar: P,
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: w,
749
+ menuFooterRender: g,
750
+ collapsedButtonRender: b,
751
+ links: x
752
+ } = Ce(e), I = t({
755
753
  suffixCls: "sider",
756
754
  isPor: !0
757
755
  }), {
758
- wrapSSR: p,
759
- 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) => {
756
+ wrapSSR: h,
757
+ hashId: C
758
+ } = Q("ProLayoutSiderMenu", [Bn, kn, $n], I), R = f(() => e.layout === "wide"), k = f(() => e.layout === "mix" && !e.isMobile && e.splitMenus), D = f(() => S.value === "side" || S.value === "simple"), z = f(() => (e.layout === "mix" || R.value) && "light" || c.value), j = f(() => S.value === "top" ? [] : i.value), T = f(() => e.collapsed ? e.collapsedWidth : e.siderWidth), _ = f(() => [C.value, I, p.value ? "shadow" : null, `${I}-${z.value}`, P.value && e.layout !== "wide" ? `${I}-fixed` : null]), G = f(() => {
764
759
  var d;
760
+ return typeof x.value == "function" ? (d = x.value) == null ? void 0 : d.call(x) : x.value;
761
+ }), K = f(() => b.value !== !1 ? b.value || pt : !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(k)) {
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 F;
773
+ const d = D.value ? n(Ae, X({
774
+ drawer: p.value
775
+ }, e), null) : null, v = O.value && ((F = O.value) == null ? void 0 : F.call(O, e)), $ = n(ht, {
776
+ class: `${I}-menu ${C.value}`,
779
777
  theme: z.value,
780
778
  mode: "inline",
781
- menuData: T.value ? o.value : i.value,
779
+ menuData: k.value ? o.value : j.value,
782
780
  iconfontUrl: e.iconfontUrl,
783
781
  openKeys: u.value,
784
782
  selectedKeys: a.value,
@@ -788,117 +786,117 @@ 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: (N) => {
790
+ var U;
791
+ return e.onOpenKeys && ((U = e.onOpenKeys) == null ? void 0 : U.call(e, N));
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 k.value && A(o.value).length === 0 || j.value.length === 0 ? null : h(n(Te, {
798
796
  theme: {
799
797
  components: {
800
- Menu: ft({
798
+ Menu: gt({
801
799
  radiusItem: 4,
802
800
  colorActiveBarWidth: 0,
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: () => [P.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,
826
- paddingTop: N.value || e.isMobile || $.value ? 0 : `${e.headerHeight}px`,
823
+ zIndex: P.value ? 101 : void 0,
824
+ paddingTop: D.value || e.isMobile || R.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: y.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", {
839
- class: ["gx-pro-sider-loading", w.value]
835
+ var N, U;
836
+ return [B.value && n("div", {
837
+ class: ["gx-pro-sider-loading", C.value]
840
838
  }, [n(ve, {
841
- spinning: O.value
842
- }, null)]), A || null, d && !e.collapsed && n("div", {
839
+ spinning: B.value
840
+ }, null)]), d || null, v && !e.collapsed && n("div", {
843
841
  class: {
844
- [`${w.value}`]: !0,
845
- [`${R}-extra`]: !0,
846
- [`${R}-extra-no-logo`]: !A
842
+ [`${C.value}`]: !0,
843
+ [`${I}-extra`]: !0,
844
+ [`${I}-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
+ }, [w.value && ((N = w.value) == null ? void 0 : N.call(w, e, $)) || $]), e.layout !== "wide" && n("div", {
852
+ class: `${I}-links ${C.value}`
855
853
  }, [n(ae, {
856
854
  theme: z.value,
857
855
  inlineIndent: 16,
858
- class: `${R}-link-menu ${w.value}`,
856
+ class: `${I}-link-menu ${C.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(Ze, {
862
+ class: `${I}-link ${C.value}`,
863
+ key: te
864
+ }, Tn(E) ? E : {
865
+ default: () => [E]
866
+ })), K.value && !p.value && n(Ze, {
867
+ class: `${I}-collapsed-button ${C.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
+ })]), g.value && n("div", {
881
+ class: `${I}-footer ${C.value}`
882
+ }, [(U = g.value) == null ? void 0 : U.call(g, e)])];
885
883
  }
886
884
  })]
887
885
  }));
888
886
  };
889
887
  }
890
- }), Be = /* @__PURE__ */ j({
888
+ }), Be = /* @__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,
@@ -917,14 +915,14 @@ const {
917
915
  flexDirection: "row"
918
916
  }
919
917
  }, {
920
- default: () => [n(Ze, X(e, {
918
+ default: () => [n(Je, X(e, {
921
919
  collapsed: e.isMobile ? !1 : e.collapsed
922
920
  }), null)]
923
- }) : n(Ze, e, null)]);
921
+ }) : n(Je, e, null)]);
924
922
  }
925
- }), pt = Symbol("pro-app-context"), Dn = (e = Symbol(), t) => ot(e, t || {}), Nn = (e) => {
926
- Te(pt, e);
927
- }, zn = () => Dn(pt, []);
923
+ }), vt = Symbol("pro-app-context"), Dn = (e = Symbol(), t) => it(e, t || {}), Nn = (e) => {
924
+ Fe(vt, e);
925
+ }, zn = () => Dn(vt, []);
928
926
  process.env.NODE_ENV !== "production" && Object.freeze({});
929
927
  process.env.NODE_ENV !== "production" && Object.freeze([]);
930
928
  const Hn = Object.prototype.toString;
@@ -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 = f(() => An(En, t, e)), m = f(() => [i.value, a, e.rootClassName]);
978
976
  return Nn({
979
- emptyText: v(() => u.value.emptyText),
980
- indicator: v(() => u.value.indicator)
977
+ emptyText: f(() => u.value.emptyText),
978
+ indicator: f(() => 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: () => {
@@ -1005,8 +1006,11 @@ const fe = {
1005
1006
  },
1006
1007
  pageHeaderStyle: L.style,
1007
1008
  pageContentStyle: L.style,
1009
+ pageChildrenContentStyle: L.style,
1008
1010
  loading: L.bool.def(!1),
1009
- usePageCard: L.bool.def(!0),
1011
+ usePageCard: {
1012
+ type: [Boolean]
1013
+ },
1010
1014
  waterMark: L.bool.def(!0),
1011
1015
  pageCardProps: Object
1012
1016
  }, Xn = (e) => ({
@@ -1020,7 +1024,7 @@ const fe = {
1020
1024
  marginTop: "8px"
1021
1025
  }
1022
1026
  }
1023
- }), Yn = /* @__PURE__ */ j({
1027
+ }), Yn = /* @__PURE__ */ V({
1024
1028
  name: "ProPageHeader",
1025
1029
  props: {
1026
1030
  content: fe.contentRender,
@@ -1030,19 +1034,19 @@ const fe = {
1030
1034
  const {
1031
1035
  breadcrumb: t,
1032
1036
  getPrefixCls: a
1033
- } = Q(), o = a({
1037
+ } = ee(), o = a({
1034
1038
  isPor: !0,
1035
1039
  suffixCls: "page-header"
1036
1040
  }), {
1037
1041
  wrapSSR: i,
1038
1042
  hashId: u
1039
- } = J("ProPageHeader", [Xn], o), f = v(() => {
1043
+ } = Q("ProPageHeader", [Xn], o), m = f(() => {
1040
1044
  var c;
1041
1045
  return {
1042
1046
  ...t.value,
1043
1047
  itemRender: ((c = t.value) == null ? void 0 : c.itemRender) || (({
1044
1048
  route: S
1045
- }) => S.path ? n(Vt, {
1049
+ }) => S.path ? n(jt, {
1046
1050
  to: S.path
1047
1051
  }, {
1048
1052
  default: () => [S.breadcrumbName]
@@ -1053,13 +1057,13 @@ const fe = {
1053
1057
  var c, S;
1054
1058
  return i(n("div", {
1055
1059
  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", {
1060
+ }, [e.breadcrumb ? (c = e.breadcrumb) == null ? void 0 : c.call(e, m.value) : n(Tt, m.value, null), e.content && n("div", {
1057
1061
  class: [`${o}-content`, u.value]
1058
1062
  }, [(S = e.content) == null ? void 0 : S.call(e)])]));
1059
1063
  };
1060
1064
  }
1061
1065
  }), _n = (e) => {
1062
- var t, a, o, i, u, f, c, S;
1066
+ var t, a, o, i, u, m, c, S;
1063
1067
  return {
1064
1068
  [`${e.proComponentsCls}-basic-layout`]: {
1065
1069
  [e.componentCls]: {
@@ -1072,7 +1076,7 @@ const fe = {
1072
1076
  },
1073
1077
  [e.componentCls]: {
1074
1078
  ["&-children-content"]: {
1075
- marginInline: ((f = (u = e.layout) == null ? void 0 : u.pageContainer) == null ? void 0 : f.paddingBlockPageContainerContent) ?? 24,
1079
+ marginInline: ((m = (u = e.layout) == null ? void 0 : u.pageContainer) == null ? void 0 : m.paddingBlockPageContainerContent) ?? 24,
1076
1080
  marginBlockStart: ((S = (c = e.layout) == null ? void 0 : c.pageContainer) == null ? void 0 : S.paddingBlockPageContainerContent) ?? 24,
1077
1081
  padding: "inherit"
1078
1082
  }
@@ -1090,7 +1094,7 @@ function Gn(e) {
1090
1094
  function qn(e) {
1091
1095
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
1092
1096
  }
1093
- const Di = /* @__PURE__ */ j({
1097
+ const Di = /* @__PURE__ */ V({
1094
1098
  inheritAttrs: !1,
1095
1099
  name: "GProPageContainer",
1096
1100
  props: fe,
@@ -1102,64 +1106,67 @@ const Di = /* @__PURE__ */ j({
1102
1106
  getPrefixCls: o,
1103
1107
  hasContentWide: i,
1104
1108
  waterMark: u,
1105
- pageHeaderRender: f,
1109
+ pageHeaderRender: m,
1106
1110
  pageContentStyle: c,
1107
- pageCardProps: S,
1108
- usePageCard: b
1109
- } = Q(), {
1110
- indicator: O
1111
- } = zn(), g = o({
1111
+ pageChildrenContentStyle: S,
1112
+ pageCardProps: p,
1113
+ usePageCard: B,
1114
+ waterMarkProps: y
1115
+ } = ee(), {
1116
+ indicator: P
1117
+ } = zn(), l = o({
1112
1118
  suffixCls: "page-container",
1113
1119
  isPor: !0
1114
- }), F = o({
1120
+ }), r = o({
1115
1121
  suffixCls: "grid-content",
1116
1122
  isPor: !0
1117
- }), l = v(() => e.pageCardProps || S.value), s = v(() => e.pageContentStyle || c.value), {
1118
- wrapSSR: M,
1123
+ }), M = f(() => e.pageCardProps || p.value), O = f(() => e.waterMarkProps || y.value || {}), w = f(() => e.pageContentStyle || c.value), g = f(() => e.pageChildrenContentStyle || S.value || {}), b = f(() => _e(e.usePageCard) ? e.usePageCard : _e(B.value) ? B.value : !0), {
1124
+ wrapSSR: x,
1119
1125
  hashId: I
1120
- } = Gn(g), x = () => {
1121
- var m;
1126
+ } = Gn(l), h = () => {
1127
+ var R;
1122
1128
  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"]) : {}, {
1129
+ class: `${l}-children-content ${I.value}`,
1130
+ style: g.value
1131
+ }, [b.value ? n(Lt, X(M.value ? le(M.value, ["loading", "bodyStyle"]) : {}, {
1125
1132
  style: i.value ? {
1126
1133
  minHeight: "853px"
1127
1134
  } : void 0,
1128
1135
  bordered: !1
1129
1136
  }), {
1130
1137
  default: () => {
1131
- var h;
1132
- return [(h = t.default) == null ? void 0 : h.call(t)];
1138
+ var k;
1139
+ return [(k = t.default) == null ? void 0 : k.call(t)];
1133
1140
  }
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()]);
1141
+ }) : (R = t.default) == null ? void 0 : R.call(t)]);
1142
+ }, C = () => {
1143
+ let R;
1144
+ return n(Z, null, [e.waterMark && u.value ? n(Qt, O.value, qn(R = h()) ? R : {
1145
+ default: () => [R]
1146
+ }) : h()]);
1140
1147
  };
1141
1148
  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, {
1149
+ const R = W(t, e, "pageHeaderRender") || m.value, k = W(t, e, "breadcrumbRender"), D = W(t, e, "contentRender");
1150
+ return x(n(ve, {
1144
1151
  spinning: e.loading,
1145
- indicator: O == null ? void 0 : O.value
1152
+ indicator: P == null ? void 0 : P.value
1146
1153
  }, {
1147
1154
  default: () => [n("div", {
1148
1155
  style: a.style,
1149
1156
  class: {
1150
1157
  [`${I.value}`]: !0,
1151
- [`${g}`]: !0
1158
+ [`${l}`]: !0
1152
1159
  }
1153
- }, [!i.value && m !== !1 && (m || n(Yn, {
1160
+ }, [!i.value && R !== !1 && (R || n(Yn, {
1154
1161
  style: e.pageHeaderStyle,
1155
- breadcrumb: h,
1156
- content: R
1162
+ breadcrumb: k,
1163
+ content: D
1157
1164
  }, null)), n("div", {
1158
- class: [F, I.value]
1165
+ class: [r, I.value]
1159
1166
  }, [n("div", {
1160
- class: `${F}-children ${I.value}`,
1161
- style: s.value
1162
- }, [y()])])])]
1167
+ class: `${r}-children ${I.value}`,
1168
+ style: w.value
1169
+ }, [C()])])])]
1163
1170
  }));
1164
1171
  };
1165
1172
  }
@@ -1173,7 +1180,7 @@ const Di = /* @__PURE__ */ j({
1173
1180
  autoHideHeader: Boolean,
1174
1181
  collapsed: Boolean,
1175
1182
  isMobile: Boolean,
1176
- siderWidth: _.siderWidth,
1183
+ siderWidth: Y.siderWidth,
1177
1184
  headerTheme: {
1178
1185
  type: String,
1179
1186
  default: "dark"
@@ -1197,13 +1204,13 @@ const Di = /* @__PURE__ */ j({
1197
1204
  default: () => {
1198
1205
  }
1199
1206
  },
1200
- collapsedButtonRender: _.collapsedButtonRender,
1201
- matchMenuKeys: _.matchMenuKeys,
1202
- onCollapse: _.onCollapse,
1203
- onOpenKeys: _.onOpenKeys,
1207
+ collapsedButtonRender: Y.collapsedButtonRender,
1208
+ matchMenuKeys: Y.matchMenuKeys,
1209
+ onCollapse: Y.onCollapse,
1210
+ onOpenKeys: Y.onOpenKeys,
1204
1211
  onMenuHeaderClick: Function,
1205
- onSelect: _.onSelect
1206
- }, vt = {
1212
+ onSelect: Y.onSelect
1213
+ }, xt = {
1207
1214
  ...Ke,
1208
1215
  headerTitleRender: {
1209
1216
  type: [Object, Function],
@@ -1221,14 +1228,14 @@ const Di = /* @__PURE__ */ j({
1221
1228
  }
1222
1229
  },
1223
1230
  hasSiderMenu: Boolean,
1224
- collapsedWidth: _.collapsedWidth,
1225
- siderWidth: _.siderWidth
1226
- }, xt = {
1231
+ collapsedWidth: Y.collapsedWidth,
1232
+ siderWidth: Y.siderWidth
1233
+ }, Ct = {
1227
1234
  loading: L.looseBool,
1228
- isMobile: _.isMobile,
1235
+ isMobile: Y.isMobile,
1229
1236
  collapsed: Ie.collapsed,
1230
- siderWidth: _.siderWidth,
1231
- collapsedWidth: _.collapsedWidth,
1237
+ siderWidth: Y.siderWidth,
1238
+ collapsedWidth: Y.collapsedWidth,
1232
1239
  isFixedMultiTab: se.fixedMultiTab,
1233
1240
  onReloadPage: {
1234
1241
  type: Function
@@ -1270,14 +1277,14 @@ const Di = /* @__PURE__ */ j({
1270
1277
  }
1271
1278
  }
1272
1279
  }
1273
- }), Ct = [{
1280
+ }), wt = [{
1274
1281
  key: "Ant Design Pro",
1275
1282
  title: "Ant Design Pro",
1276
1283
  href: "https://pro.ant.design",
1277
1284
  blankTarget: !0
1278
1285
  }, {
1279
1286
  key: "gitee",
1280
- title: n(Kt, null, null),
1287
+ title: n(Ut, null, null),
1281
1288
  href: "https://gitee.com/gx12358/vue-antd-admin",
1282
1289
  blankTarget: !0
1283
1290
  }, {
@@ -1285,12 +1292,12 @@ const Di = /* @__PURE__ */ j({
1285
1292
  title: "Ant Design Vue",
1286
1293
  href: "https://next.antdv.com/components/overview-cn/",
1287
1294
  blankTarget: !0
1288
- }], ke = /* @__PURE__ */ j({
1295
+ }], ke = /* @__PURE__ */ V({
1289
1296
  name: "GlobalFooter",
1290
1297
  props: {
1291
1298
  links: {
1292
1299
  type: [Array, Boolean],
1293
- default: Ct
1300
+ default: wt
1294
1301
  },
1295
1302
  copyright: {
1296
1303
  type: [Object, Function, Boolean, String],
@@ -1304,8 +1311,8 @@ const Di = /* @__PURE__ */ j({
1304
1311
  }), {
1305
1312
  wrapSSR: a,
1306
1313
  hashId: o
1307
- } = J("ProLayoutFooter", [Zn], t);
1308
- return () => a(n(Lt, {
1314
+ } = Q("ProLayoutFooter", [Zn], t);
1315
+ return () => a(n(Dt, {
1309
1316
  style: {
1310
1317
  padding: 0
1311
1318
  }
@@ -1321,17 +1328,17 @@ const Di = /* @__PURE__ */ j({
1321
1328
  href: i.href
1322
1329
  }, [i.title]))]), e.copyright && n("div", {
1323
1330
  class: `${t}-copyright ${o.value}`
1324
- }, [te("Copyright  2022  "), n("a", {
1331
+ }, [ne("Copyright  2022  "), n("a", {
1325
1332
  href: "https://beian.miit.gov.cn/"
1326
1333
  }, [e.copyright])])])]
1327
1334
  }));
1328
1335
  }
1329
- }), wt = {
1336
+ }), St = {
1330
1337
  ...se,
1331
1338
  ...Ke,
1332
- ..._,
1333
- ...vt,
1339
+ ...Y,
1334
1340
  ...xt,
1341
+ ...Ct,
1335
1342
  ...fe,
1336
1343
  pure: Boolean,
1337
1344
  token: Object,
@@ -1359,7 +1366,7 @@ const Di = /* @__PURE__ */ j({
1359
1366
  loading: L.looseBool,
1360
1367
  footerLinks: {
1361
1368
  type: [Array, Boolean],
1362
- default: Ct
1369
+ default: wt
1363
1370
  },
1364
1371
  copyrightRender: {
1365
1372
  type: [Object, Function, Boolean, String],
@@ -1460,7 +1467,7 @@ const Di = /* @__PURE__ */ j({
1460
1467
  "&-fixed": {
1461
1468
  position: "fixed",
1462
1469
  height: 62,
1463
- top: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.heightLayoutHeader) || V.headerHeight,
1470
+ top: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.heightLayoutHeader) || H.headerHeight,
1464
1471
  right: 0,
1465
1472
  zIndex: 9,
1466
1473
  transition: "width .2s"
@@ -1497,9 +1504,9 @@ const na = [
1497
1504
  function aa(e) {
1498
1505
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
1499
1506
  }
1500
- const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ j({
1507
+ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ V({
1501
1508
  props: {
1502
- ...xt,
1509
+ ...Ct,
1503
1510
  visible: {
1504
1511
  type: Boolean,
1505
1512
  default: !0
@@ -1510,51 +1517,51 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ j({
1510
1517
  const {
1511
1518
  isMobile: t,
1512
1519
  isFixedMultiTab: a
1513
- } = Ce(e), o = Re(!1), i = lt({
1520
+ } = Ce(e), o = Re(!1), i = rt({
1514
1521
  activeKey: "",
1515
1522
  contextMenuActiveKey: ""
1516
1523
  }), u = De(), {
1517
- menuData: f,
1524
+ menuData: m,
1518
1525
  flatMenuData: c,
1519
1526
  layout: S,
1520
- splitMenus: b,
1521
- getPrefixCls: O
1522
- } = Q(), g = O({
1527
+ splitMenus: p,
1528
+ getPrefixCls: B
1529
+ } = ee(), y = B({
1523
1530
  isPor: !0,
1524
1531
  suffixCls: "multi-tab"
1525
1532
  }), {
1526
- wrapSSR: F,
1533
+ wrapSSR: P,
1527
1534
  hashId: l
1528
- } = ta(g), s = Re([]);
1529
- de(s, () => {
1535
+ } = ta(y), r = Re([]);
1536
+ de(r, () => {
1530
1537
  var d;
1531
- (d = e.onChangeTabs) == null || d.call(e, He(U(s)));
1538
+ (d = e.onChangeTabs) == null || d.call(e, He(A(r)));
1532
1539
  }, {
1533
1540
  deep: !0
1534
1541
  });
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`, {
1542
+ const M = f(() => S.value === "mix" && !e.isMobile && p.value), O = f(() => u.currentRoute.value.fullPath || u.currentRoute.value.path), w = f(() => a.value && !t.value), g = f(() => {
1543
+ const d = !(M.value && A(c.value).length === 0 || m.value.length === 0 || S.value === "top");
1544
+ return w.value && d ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
1545
+ }), b = f(() => ct(`${y}-wrap`, {
1539
1546
  [`${l.value}`]: !0,
1540
- [`${g}-wrap-fixed`]: e.isFixedMultiTab,
1541
- [`${g}-wrap-loading`]: e.loading
1542
- })), h = v(() => {
1547
+ [`${y}-wrap-fixed`]: e.isFixedMultiTab,
1548
+ [`${y}-wrap-loading`]: e.loading
1549
+ })), x = f(() => {
1543
1550
  const d = {
1544
1551
  display: e.visible ? void 0 : "none"
1545
1552
  };
1546
1553
  return e.isFixedMultiTab ? {
1547
1554
  margin: 0,
1548
- width: y.value,
1555
+ width: g.value,
1549
1556
  paddingTop: "6px",
1550
1557
  zIndex: 99,
1551
1558
  ...d
1552
1559
  } : d;
1553
- }), R = (d) => (d.fullPath || d.path) === I.value, p = (d) => {
1560
+ }), I = (d) => (d.fullPath || d.path) === O.value, h = (d) => {
1554
1561
  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 = {
1562
+ const v = d.fullPath || d.path, $ = r.value.find((N) => N.fullPath === v), F = {
1556
1563
  path: d.path,
1557
- fullPath: C,
1564
+ fullPath: v,
1558
1565
  query: d.query,
1559
1566
  params: d.params,
1560
1567
  name: d.name,
@@ -1562,160 +1569,160 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ j({
1562
1569
  ...d.meta
1563
1570
  }
1564
1571
  };
1565
- B ? Object.assign(B, k) : d.meta.tagFixed ? s.value.unshift(k) : s.value.push(k), R(d) && (i.activeKey = C);
1572
+ $ ? Object.assign($, F) : d.meta.tagFixed ? r.value.unshift(F) : r.value.push(F), I(d) && (i.activeKey = v);
1566
1573
  }
1567
- }, w = (d) => {
1568
- d.forEach((C) => {
1569
- C.meta && C.meta.tagFixed && p(C), C.children && w(C.children);
1574
+ }, C = (d) => {
1575
+ d.forEach((v) => {
1576
+ v.meta && v.meta.tagFixed && h(v), v.children && C(v.children);
1570
1577
  });
1571
1578
  };
1572
- de(() => f.value, (d) => {
1573
- w(d);
1579
+ de(() => m.value, (d) => {
1580
+ C(d);
1574
1581
  }, {
1575
1582
  deep: !0,
1576
1583
  immediate: !0
1577
1584
  }), de(() => u.currentRoute.value, (d) => {
1578
- p(d);
1585
+ h(d);
1579
1586
  }, {
1580
1587
  deep: !0,
1581
1588
  immediate: !0
1582
1589
  });
1583
- const $ = () => {
1584
- const d = s.value.slice(-1)[0];
1590
+ const R = () => {
1591
+ const d = r.value.slice(-1)[0];
1585
1592
  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) && $();
1589
- }, 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);
1593
+ }, k = async (d) => {
1594
+ const v = r.value.find(($) => d === $.fullPath);
1595
+ r.value = r.value.filter(($) => $.fullPath !== d), v && I(v) && R();
1596
+ }, D = (d) => {
1597
+ const v = r.value.find(($) => $.fullPath === d);
1598
+ i.activeKey !== (v == null ? void 0 : v.fullPath) && (v != null && v.fullPath) && u.push(v == null ? void 0 : v.fullPath);
1592
1599
  }, z = () => {
1593
1600
  var d;
1594
1601
  o.value = !0, e.onReloadPage && ((d = e.onReloadPage) == null || d.call(e)), setTimeout(() => {
1595
1602
  o.value = !1;
1596
1603
  }, 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));
1604
+ }, j = (d) => d.meta && d.meta.tagFixed, T = (d) => i[d], _ = (d, v) => {
1605
+ const $ = r.value.findIndex((F) => F.fullPath === T(v));
1599
1606
  switch (d) {
1600
1607
  case "closeOthersTabs":
1601
- s.value = s.value.filter((k) => {
1602
- var D;
1603
- return k.fullPath === P(C) || ((D = k.meta) == null ? void 0 : D.tagFixed);
1608
+ r.value = r.value.filter((F) => {
1609
+ var N;
1610
+ return F.fullPath === T(v) || ((N = F.meta) == null ? void 0 : N.tagFixed);
1604
1611
  });
1605
1612
  break;
1606
1613
  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);
1614
+ $ && (r.value = r.value.filter((F, N) => {
1615
+ var U;
1616
+ return N >= $ || ((U = F.meta) == null ? void 0 : U.tagFixed);
1610
1617
  }));
1611
1618
  break;
1612
1619
  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);
1620
+ $ && (r.value = r.value.filter((F, N) => {
1621
+ var U;
1622
+ return N <= $ || ((U = F.meta) == null ? void 0 : U.tagFixed);
1616
1623
  }));
1617
1624
  break;
1618
1625
  case "reloadPage":
1619
- (B === 0 || B) && i.activeKey === P(C) && z();
1626
+ ($ === 0 || $) && i.activeKey === T(v) && z();
1620
1627
  break;
1621
1628
  }
1622
- i.activeKey !== P(C) && u.push(P(C));
1623
- }, E = (d, C) => {
1624
- const B = s.value.findIndex((k) => k.fullPath === C);
1629
+ i.activeKey !== T(v) && u.push(T(v));
1630
+ }, G = (d, v) => {
1631
+ const $ = r.value.findIndex((F) => F.fullPath === v);
1625
1632
  switch (d) {
1626
1633
  case "closeOthersTabs":
1627
- return s.value.filter((ee, ne) => {
1628
- var Z;
1629
- return ne !== B && !((Z = ee.meta) != null && Z.tagFixed);
1634
+ return r.value.filter((E, te) => {
1635
+ var J;
1636
+ return te !== $ && !((J = E.meta) != null && J.tagFixed);
1630
1637
  }).length === 0;
1631
1638
  case "closeLeftTabs":
1632
- return s.value.filter((ee, ne) => {
1633
- var Z;
1634
- return ne < B && !((Z = ee.meta) != null && Z.tagFixed);
1639
+ return r.value.filter((E, te) => {
1640
+ var J;
1641
+ return te < $ && !((J = E.meta) != null && J.tagFixed);
1635
1642
  }).length === 0;
1636
1643
  case "closeRightTabs":
1637
- return s.value.filter((ee, ne) => {
1638
- var Z;
1639
- return ne > B && !((Z = ee.meta) != null && Z.tagFixed);
1644
+ return r.value.filter((E, te) => {
1645
+ var J;
1646
+ return te > $ && !((J = E.meta) != null && J.tagFixed);
1640
1647
  }).length === 0;
1641
1648
  }
1642
- }, Y = (d) => {
1643
- let C;
1649
+ }, K = (d) => {
1650
+ let v;
1644
1651
  const {
1645
- path: B,
1646
- stateType: k
1652
+ path: $,
1653
+ stateType: F
1647
1654
  } = d;
1648
1655
  return n(ae, {
1649
1656
  selectedKeys: [],
1650
1657
  onClick: ({
1651
- key: D
1652
- }) => G(D, k)
1653
- }, aa(C = na.map((D) => n(ia, {
1654
- key: D.key,
1655
- disabled: E(D.key, B)
1658
+ key: N
1659
+ }) => _(N, F)
1660
+ }, aa(v = na.map((N) => n(ia, {
1661
+ key: N.key,
1662
+ disabled: G(N.key, $)
1656
1663
  }, {
1657
- default: () => [D.label]
1658
- }))) ? C : {
1659
- default: () => [C]
1664
+ default: () => [N.label]
1665
+ }))) ? v : {
1666
+ default: () => [v]
1660
1667
  });
1661
- }, A = (d) => {
1668
+ }, q = (d) => {
1662
1669
  const {
1663
- router: C
1670
+ router: v
1664
1671
  } = d;
1665
1672
  return n(Ye, {
1666
1673
  trigger: "contextmenu",
1667
- overlay: n(Y, {
1668
- path: (C == null ? void 0 : C.fullPath) || "",
1674
+ overlay: n(K, {
1675
+ path: (v == null ? void 0 : v.fullPath) || "",
1669
1676
  stateType: "contextMenuActiveKey"
1670
1677
  }, null),
1671
- onOpenChange: (B) => {
1672
- i.contextMenuActiveKey = B && C.fullPath || "";
1678
+ onOpenChange: ($) => {
1679
+ i.contextMenuActiveKey = $ && v.fullPath || "";
1673
1680
  }
1674
1681
  }, {
1675
1682
  default: () => {
1676
- var B;
1683
+ var $;
1677
1684
  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],
1685
+ class: [`${y}-title`, l.value]
1686
+ }, [($ = v.meta) == null ? void 0 : $.title, i.activeKey === v.fullPath && n(Xt, {
1687
+ class: [`${y}-reload-btn`, l.value],
1681
1688
  spin: o.value,
1682
- onClick: (k) => {
1683
- k.stopPropagation(), !o.value && z();
1689
+ onClick: (F) => {
1690
+ F.stopPropagation(), !o.value && z();
1684
1691
  }
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) || "");
1692
+ }, null), r.value.length > 1 && !j(v) && n(ut, {
1693
+ class: [`${y}-close-btn`, l.value],
1694
+ onClick: (F) => {
1695
+ F.stopPropagation(), !o.value && k((v == null ? void 0 : v.fullPath) || "");
1689
1696
  }
1690
1697
  }, null)])];
1691
1698
  }
1692
1699
  });
1693
1700
  };
1694
- return () => F(n(q, null, [!!e.isFixedMultiTab && Bt(n("div", {
1695
- class: [`${g}-fixed`, l.value]
1696
- }, null), [[kt, e.visible]]), n(Le, {
1701
+ return () => P(n(Z, null, [!!e.isFixedMultiTab && kt(n("div", {
1702
+ class: [`${y}-fixed`, l.value]
1703
+ }, null), [[$t, e.visible]]), n(Le, {
1697
1704
  hideAdd: !0,
1698
1705
  type: "editable-card",
1699
- style: h.value,
1700
- class: m.value,
1706
+ style: x.value,
1707
+ class: b.value,
1701
1708
  activeKey: i.activeKey,
1702
- onTabClick: N
1709
+ onTabClick: D
1703
1710
  }, {
1704
- default: () => [s.value.map((d) => n(oa, {
1711
+ default: () => [r.value.map((d) => n(oa, {
1705
1712
  key: d.fullPath,
1706
1713
  closable: !1,
1707
- tab: n(A, {
1714
+ tab: n(q, {
1708
1715
  router: d
1709
1716
  }, null)
1710
1717
  }, null))],
1711
1718
  rightExtra: () => n(Ye, {
1712
- overlay: n(Y, {
1719
+ overlay: n(K, {
1713
1720
  path: i.activeKey,
1714
1721
  stateType: "activeKey"
1715
1722
  }, null)
1716
1723
  }, {
1717
- default: () => [n(Ut, {
1718
- class: [`${g}-dropdown-menu-btn`, l.value],
1724
+ default: () => [n(Et, {
1725
+ class: [`${y}-dropdown-menu-btn`, l.value],
1719
1726
  rotate: 90
1720
1727
  }, null)]
1721
1728
  })
@@ -1732,41 +1739,41 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ j({
1732
1739
  hashId: o,
1733
1740
  prefixCls: i,
1734
1741
  isMobile: u,
1735
- loading: f,
1742
+ loading: m,
1736
1743
  collapsed: c,
1737
1744
  siderWidth: S,
1738
- isShowTabsBar: b,
1739
- isFixedMultiTab: O,
1740
- onReloadPage: g,
1741
- onChangeTabs: F
1745
+ isShowTabsBar: p,
1746
+ isFixedMultiTab: B,
1747
+ onReloadPage: y,
1748
+ onChangeTabs: P
1742
1749
  } = e;
1743
1750
  if (e.isChildrenLayout)
1744
1751
  return (M = t.default) == null ? void 0 : M.call(t);
1745
1752
  const {
1746
1753
  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,
1754
+ layout: r
1755
+ } = ee();
1756
+ return n(Z, null, [n(la, {
1757
+ visible: (A(r) === "mix" ? A(l).length > 0 : !0) && p,
1751
1758
  isMobile: u,
1752
- loading: f,
1753
- isFixedMultiTab: O,
1759
+ loading: m,
1760
+ isFixedMultiTab: B,
1754
1761
  siderWidth: S,
1755
1762
  collapsed: c,
1756
- onReloadPage: g,
1757
- onChangeTabs: F
1763
+ onReloadPage: y,
1764
+ onChangeTabs: P
1758
1765
  }, null), n(ra, {
1759
1766
  style: a.style,
1760
1767
  class: [`${i}-content`]
1761
1768
  }, {
1762
1769
  default: () => {
1763
- var I;
1764
- return [f && n(dn, null, null), n("div", {
1770
+ var O;
1771
+ return [m && n(dn, null, null), n("div", {
1765
1772
  class: [`${i}-content-spin-container`, o],
1766
1773
  style: {
1767
- opacity: f ? "0" : void 0
1774
+ opacity: m ? "0" : void 0
1768
1775
  }
1769
- }, [(I = t.default) == null ? void 0 : I.call(t)])];
1776
+ }, [(O = t.default) == null ? void 0 : O.call(t)])];
1770
1777
  }
1771
1778
  })]);
1772
1779
  };
@@ -1907,18 +1914,18 @@ const sa = (e) => {
1907
1914
  marginInlineEnd: 0
1908
1915
  }
1909
1916
  }
1910
- }), St = {
1911
- ..._,
1917
+ }), It = {
1918
+ ...Y,
1912
1919
  ...Ke
1913
- }, da = (e, t) => e === !1 ? null : e ? e(t, null) : t, ca = /* @__PURE__ */ j({
1914
- props: St,
1920
+ }, da = (e, t) => e === !1 ? null : e ? e(t, null) : t, ca = /* @__PURE__ */ V({
1921
+ props: It,
1915
1922
  setup(e) {
1916
- return () => e.rightContentRender && typeof e.rightContentRender == "function" && n(q, null, [e.rightContentRender({
1923
+ return () => e.rightContentRender && typeof e.rightContentRender == "function" && n(Z, null, [e.rightContentRender({
1917
1924
  ...e
1918
1925
  })]);
1919
1926
  }
1920
- }), ma = /* @__PURE__ */ j({
1921
- props: St,
1927
+ }), ma = /* @__PURE__ */ V({
1928
+ props: It,
1922
1929
  inheritAttrs: !1,
1923
1930
  setup(e, {
1924
1931
  slots: t,
@@ -1928,43 +1935,43 @@ const sa = (e) => {
1928
1935
  token: i
1929
1936
  } = Se(), {
1930
1937
  getPrefixCls: u,
1931
- openKeys: f,
1938
+ openKeys: m,
1932
1939
  selectedKeys: c
1933
- } = Q(), {
1940
+ } = ee(), {
1934
1941
  width: S
1935
- } = rn(), b = u({
1942
+ } = rn(), p = u({
1936
1943
  suffixCls: "global-header",
1937
1944
  isPor: !0
1938
1945
  }), {
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) => {
1946
- var y;
1946
+ wrapSSR: B,
1947
+ hashId: y
1948
+ } = Q("ProGlobalHeader", [ua], p), P = f(() => !e.isMobile || e.layout === "top" || e.layout === "mix" && e.splitMenus), l = f(() => ({
1949
+ [`${y.value}`]: !0,
1950
+ [`${p}`]: !0,
1951
+ [`${p}-${e.layout}`]: !0
1952
+ })), r = (g) => {
1953
+ var b;
1947
1954
  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)));
1955
+ const x = o.currentRoute.value.matched.concat();
1956
+ e.onSelect && g === "select" && e.onSelect(x.filter((I) => I.name !== "index").map((I) => I.path)), e.onOpenKeys && g === "openKeys" && ((b = e.onOpenKeys) == null || b.call(e, x.filter((I) => I.path !== o.currentRoute.value.path).map((I) => I.path)));
1950
1957
  }
1951
- }, s = () => {
1958
+ }, M = () => {
1952
1959
  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", {
1960
+ }, O = f(() => e.collapsedButtonRender || pt), w = () => {
1961
+ var g;
1962
+ return n(Z, null, [P.value ? n("div", {
1956
1963
  style: {
1957
1964
  flex: 1
1958
1965
  },
1959
- class: [`${b}-menu`, g.value]
1960
- }, [n(Pe, {
1966
+ class: [`${p}-menu`, y.value]
1967
+ }, [n(Te, {
1961
1968
  theme: {
1962
1969
  components: {
1963
1970
  Layout: {
1964
1971
  headerBg: "transparent",
1965
1972
  bodyBg: "transparent"
1966
1973
  },
1967
- Menu: ft({
1974
+ Menu: gt({
1968
1975
  radiusItem: 4,
1969
1976
  colorActiveBarWidth: 0,
1970
1977
  colorActiveBarHeight: 2,
@@ -1974,58 +1981,58 @@ const sa = (e) => {
1974
1981
  }
1975
1982
  }
1976
1983
  }, {
1977
- default: () => [n(gt, X({
1984
+ default: () => [n(ht, X({
1978
1985
  theme: e.theme,
1979
1986
  mode: e.mode,
1980
1987
  collapsed: e.collapsed,
1981
1988
  menuData: e.menuData,
1982
- openKeys: f.value,
1989
+ openKeys: m.value,
1983
1990
  selectedKeys: c.value,
1984
1991
  iconfontUrl: e.iconfontUrl,
1985
1992
  menuItemRender: e.menuItemRender,
1986
1993
  subMenuItemRender: e.subMenuItemRender,
1987
1994
  class: {
1988
1995
  "top-nav-menu": e.mode === "horizontal",
1989
- [`${g.value}`]: !0
1996
+ [`${y.value}`]: !0
1990
1997
  }
1991
1998
  }, {
1992
- "onUpdate:openKeys": () => l("openKeys"),
1993
- "onUpdate:selectedKeys": () => l("select")
1999
+ "onUpdate:openKeys": () => r("openKeys"),
2000
+ "onUpdate:selectedKeys": () => r("select")
1994
2001
  }), null)]
1995
2002
  })]) : n("div", {
1996
2003
  style: {
1997
2004
  flex: 1
1998
2005
  }
1999
- }, [(x = t.default) == null ? void 0 : x.call(t)]), e.layout !== "simple" && n(ca, X(e, {
2006
+ }, [(g = t.default) == null ? void 0 : g.call(t)]), e.layout !== "simple" && n(ca, X(e, {
2000
2007
  extraRightDropdownRender: e.extraRightDropdownRender,
2001
2008
  rightContentRender: e.rightContentRender
2002
2009
  }), null)]);
2003
2010
  };
2004
2011
  return () => {
2005
- const x = n("span", {
2012
+ const g = n("span", {
2006
2013
  key: "logo",
2007
2014
  onClick: () => {
2008
- var y;
2009
- return (y = e.onMenuHeaderClick) == null ? void 0 : y.call(e);
2015
+ var b;
2016
+ return (b = e.onMenuHeaderClick) == null ? void 0 : b.call(e);
2010
2017
  },
2011
- class: [`${b}-logo`, e.isMobile ? "mobile" : "", g.value]
2012
- }, [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", {
2018
+ class: [`${p}-logo`, e.isMobile ? "mobile" : "", y.value]
2019
+ }, [n("a", null, [bt(e.logo)])]);
2020
+ return B(n("div", {
2021
+ class: l.value
2022
+ }, [e.isMobile ? n(Z, null, [da(e.menuHeaderRender, g), e.isMobile && A(O) && n("span", {
2023
+ class: `${p}-collapsed-button ${y.value}`,
2024
+ onClick: M
2025
+ }, [A(O)(e.collapsed)]), w()]) : ["mix", "wide", "top"].includes(e.layout) ? n(Z, null, [n("div", {
2019
2026
  style: {
2020
2027
  width: e.layout === "wide" ? `${e.wideWidth}px` : void 0,
2021
2028
  padding: e.layout === "wide" && S.value < e.wideWidth ? "0 50px" : void 0
2022
2029
  },
2023
- class: `${b}-main ${g.value}`
2030
+ class: `${p}-main ${y.value}`
2024
2031
  }, [n("div", {
2025
- class: `${b}-main-left ${g.value}`
2032
+ class: `${p}-main-left ${y.value}`
2026
2033
  }, [n(Ae, X(e, {
2027
2034
  renderKey: "headerTitleRender"
2028
- }), null)]), I()])]) : I()]));
2035
+ }), null)]), w()])]) : w()]));
2029
2036
  };
2030
2037
  }
2031
2038
  });
@@ -2033,10 +2040,10 @@ function fa(e) {
2033
2040
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
2034
2041
  }
2035
2042
  const {
2036
- Header: Je
2037
- } = ce, $e = /* @__PURE__ */ j({
2043
+ Header: Qe
2044
+ } = ce, $e = /* @__PURE__ */ V({
2038
2045
  inheritAttrs: !1,
2039
- props: vt,
2046
+ props: xt,
2040
2047
  setup(e) {
2041
2048
  const {
2042
2049
  theme: t,
@@ -2044,61 +2051,61 @@ const {
2044
2051
  fixedHeader: o,
2045
2052
  headerHeight: i,
2046
2053
  layout: u,
2047
- onCollapse: f,
2054
+ onCollapse: m,
2048
2055
  splitMenus: c
2049
2056
  } = Ce(e), {
2050
2057
  getPrefixCls: S,
2051
- menuData: b
2052
- } = Q(), O = S({
2058
+ menuData: p
2059
+ } = ee(), B = S({
2053
2060
  suffixCls: "header",
2054
2061
  isPor: !0
2055
- }), g = S({
2062
+ }), y = S({
2056
2063
  suffixCls: "fixed-header",
2057
2064
  isPor: !0
2058
2065
  }), {
2059
- wrapSSR: F,
2066
+ wrapSSR: P,
2060
2067
  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(() => ({
2068
+ } = Q("ProLayoutHeader", [sa], B), r = f(() => u.value === "wide"), M = f(() => o.value), O = f(() => u.value === "mix" || r.value), w = f(() => u.value === "side" || u.value === "simple"), g = f(() => w.value && "light" || t.value), b = f(() => ({
2062
2069
  [`${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,
2070
+ [`${B}-${g.value}`]: !0,
2071
+ [`${B}`]: !0,
2072
+ [`${y}`]: M.value
2073
+ })), x = f(() => M.value && !a.value), I = f(() => c.value ? p.value && pn(p.value) || [] : u.value === "top" ? p.value : []), h = f(() => w.value && x.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), C = f(() => M.value ? 0 : void 0), R = () => {
2074
+ const k = n(ma, X(e, {
2075
+ theme: g.value,
2069
2076
  mode: "horizontal",
2070
- onCollapse: f.value,
2071
- menuData: R.value
2077
+ onCollapse: m.value,
2078
+ menuData: I.value
2072
2079
  }), {
2073
- default: () => [I.value ? null : e.headerContentRender && typeof e.headerContentRender == "function" ? e.headerContentRender(e) : e.headerContentRender]
2080
+ default: () => [O.value ? null : e.headerContentRender && typeof e.headerContentRender == "function" ? e.headerContentRender(e) : e.headerContentRender]
2074
2081
  });
2075
- return e.headerRender ? e.headerRender(e, T) : T;
2082
+ return e.headerRender ? e.headerRender(e, k) : k;
2076
2083
  };
2077
2084
  return () => {
2078
- let T;
2079
- return F(n(q, null, [M.value && !s.value && n(Je, {
2080
- theme: y.value,
2085
+ let k;
2086
+ return P(n(Z, null, [M.value && !r.value && n(Qe, {
2087
+ theme: g.value,
2081
2088
  style: {
2082
2089
  height: `${i.value}px`,
2083
2090
  lineHeight: `${i.value}px`,
2084
2091
  background: "transparent"
2085
2092
  }
2086
- }, null), n(Je, {
2087
- theme: y.value,
2088
- class: m.value,
2093
+ }, null), n(Qe, {
2094
+ theme: g.value,
2095
+ class: b.value,
2089
2096
  style: {
2090
2097
  height: `${i.value}px`,
2091
2098
  lineHeight: `${i.value}px`,
2092
- width: p.value,
2093
- zIndex: x.value ? 100 : 101,
2094
- right: w.value
2099
+ width: h.value,
2100
+ zIndex: w.value ? 100 : 101,
2101
+ right: C.value
2095
2102
  }
2096
- }, fa(T = $()) ? T : {
2097
- default: () => [T]
2103
+ }, fa(k = R()) ? k : {
2104
+ default: () => [k]
2098
2105
  })]));
2099
2106
  };
2100
2107
  }
2101
- }), ga = /* @__PURE__ */ j({
2108
+ }), ga = /* @__PURE__ */ V({
2102
2109
  name: "BaseProLayout",
2103
2110
  inheritAttrs: !1,
2104
2111
  components: {
@@ -2106,7 +2113,7 @@ const {
2106
2113
  GlobalFooter: ke,
2107
2114
  SiderMenuWrapper: Be
2108
2115
  },
2109
- props: wt,
2116
+ props: St,
2110
2117
  emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
2111
2118
  setup(e, {
2112
2119
  slots: t
@@ -2117,86 +2124,86 @@ const {
2117
2124
  }), {
2118
2125
  wrapSSR: o,
2119
2126
  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;
2127
+ } = Q("ProLayout", [Jn, Qn], a), u = on(), {
2128
+ token: m
2129
+ } = Se(), c = f(() => {
2130
+ var g;
2131
+ return (g = m == null ? void 0 : m.value) == null ? void 0 : g.colorPrimary;
2125
2132
  });
2126
- $t(() => {
2133
+ Pt(() => {
2127
2134
  c.value && document.querySelector("html") && document.querySelector("html").style.setProperty("--gx-primary-color", c.value);
2128
2135
  });
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({
2136
+ const S = f(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), p = f(() => e.layout === "wide"), B = f(() => S.value), y = f(() => e.collapsed ? e.collapsedWidth : e.siderWidth), P = f(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), l = f(() => (u.value === "sm" || u.value === "xs") && !e.disableMobile && !p.value), r = rt({
2130
2137
  position: "relative"
2131
2138
  });
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(() => ({
2139
+ (e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (r.minHeight = 0);
2140
+ const M = (g, b) => g.headerRender === !1 || g.pure ? null : n($e, X(g, {
2141
+ matchMenuKeys: b || []
2142
+ }), null), O = f(() => ({
2136
2143
  ...e.breadcrumb,
2137
- itemRender: K(t, e, "breadcrumbRender")
2138
- })), x = v(() => O.value && e.selectedKeys ? vn(e.menuData, e.selectedKeys[0]) : []);
2144
+ itemRender: W(t, e, "breadcrumbRender")
2145
+ })), w = f(() => B.value && e.selectedKeys ? vn(e.menuData, e.selectedKeys[0]) : []);
2139
2146
  return Rn({
2140
2147
  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,
2148
+ ...le(Ce(e), ["layout", "waterMark", "menuData", "openKeys", "splitMenus", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps"].concat(Object.keys(fe))),
2149
+ theme: P.value,
2150
+ hasContentWide: p,
2144
2151
  isMobile: l,
2145
- siderWidth: g,
2146
- breadcrumb: I,
2147
- flatMenuData: x,
2152
+ siderWidth: y,
2153
+ breadcrumb: O,
2154
+ flatMenuData: w,
2148
2155
  hasSide: S,
2149
- flatMenu: O,
2150
- pageHeaderRender: v(() => K(t, e, "pageHeaderRender"))
2156
+ flatMenu: B,
2157
+ pageHeaderRender: f(() => W(t, e, "pageHeaderRender"))
2151
2158
  }), () => {
2152
- 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({
2159
+ var N;
2160
+ const g = W(t, e, "collapsedButtonRender"), b = W(t, e, "headerContentRender"), x = W(t, e, "rightContentRender"), I = W(t, e, "headerRender"), h = W(t, e, "footerRender"), C = W(t, e, "links"), R = W(t, e, "copyrightRender"), k = W(t, e, "extraRightDropdownRender"), D = 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 = {
2161
+ menuItemRender: _,
2162
+ subMenuItemRender: G
2163
+ }, q = f(() => M({
2157
2164
  ...e,
2158
- ...Y,
2165
+ ...K,
2159
2166
  hasSiderMenu: S.value,
2160
2167
  menuData: e.menuData,
2161
- isMobile: U(l),
2162
- rightContentRender: h,
2163
- extraRightDropdownRender: T,
2164
- headerTitleRender: N,
2165
- headerContentRender: m,
2166
- headerRender: R,
2167
- theme: F.value
2168
- }, e.matchMenuKeys)), d = v(() => ({
2168
+ isMobile: A(l),
2169
+ rightContentRender: x,
2170
+ extraRightDropdownRender: k,
2171
+ headerTitleRender: D,
2172
+ headerContentRender: b,
2173
+ headerRender: I,
2174
+ theme: P.value
2175
+ }, e.matchMenuKeys)), d = f(() => ({
2169
2176
  [`${i.value}`]: !0,
2170
2177
  [`${a}`]: !0,
2171
2178
  [`${a}-${e.layout}`]: !0
2172
- })), C = v(() => b.value ? {
2179
+ })), v = f(() => p.value ? {
2173
2180
  minWidth: `${e.wideWidth}px`
2174
- } : void 0), B = v(() => b.value ? {
2181
+ } : void 0), $ = f(() => p.value ? {
2175
2182
  width: e.menuData.length ? `${e.wideWidth}px` : `${e.wideWidth - e.siderWidth - 20}px`,
2176
2183
  paddingTop: `${e.headerHeight + 20}px`,
2177
- margin: b.value ? "0 auto" : void 0
2178
- } : void 0), k = v(() => b.value ? {
2184
+ margin: p.value ? "0 auto" : void 0
2185
+ } : void 0), F = f(() => p.value ? {
2179
2186
  minHeight: "835px"
2180
2187
  } : {});
2181
- return o(n(q, null, [e.pure ? (D = t.default) == null ? void 0 : D.call(t) : n("div", {
2188
+ return o(n(Z, null, [e.pure ? (N = t.default) == null ? void 0 : N.call(t) : n("div", {
2182
2189
  class: d.value,
2183
- style: C.value
2190
+ style: v.value
2184
2191
  }, [n(ce, {
2185
- style: B.value
2192
+ style: $.value
2186
2193
  }, {
2187
2194
  default: () => [n(Be, X(Ve(e, ["pure", "theme"]), {
2188
- links: w,
2189
- theme: F.value,
2195
+ links: C,
2196
+ theme: P.value,
2190
2197
  isMobile: l.value,
2191
- menuHeaderRender: N,
2192
- menuContentRender: H,
2198
+ menuHeaderRender: D,
2199
+ menuContentRender: j,
2193
2200
  menuExtraRender: z,
2194
- menuFooterRender: P,
2195
- collapsedButtonRender: y
2201
+ menuFooterRender: T,
2202
+ collapsedButtonRender: g
2196
2203
  }), null), n(ce, {
2197
- style: s
2204
+ style: r
2198
2205
  }, {
2199
- default: () => [A.value, n(Ue, X({
2206
+ default: () => [q.value, n(Ue, X({
2200
2207
  hashId: i.value,
2201
2208
  isMobile: l.value,
2202
2209
  prefixCls: a,
@@ -2207,72 +2214,72 @@ const {
2207
2214
  isFixedMultiTab: e.fixedMultiTab,
2208
2215
  siderWidth: e.siderWidth,
2209
2216
  collapsed: e.collapsed,
2210
- style: e.disableContentMargin ? k.value : {
2217
+ style: e.disableContentMargin ? F.value : {
2211
2218
  ...e.contentStyle,
2212
- ...k.value
2219
+ ...F.value
2213
2220
  }
2214
2221
  }, le(e, ["onReloadPage", "onChangeTabs"])), {
2215
2222
  default: () => {
2216
- var W;
2217
- return [(W = t.default) == null ? void 0 : W.call(t)];
2223
+ var U;
2224
+ return [(U = t.default) == null ? void 0 : U.call(t)];
2218
2225
  }
2219
- }), p === !1 ? null : p ? p(e) : n(ke, {
2220
- copyright: $
2226
+ }), h === !1 ? null : h ? h(e) : n(ke, {
2227
+ copyright: R
2221
2228
  }, null)]
2222
2229
  })]
2223
2230
  })])]));
2224
2231
  };
2225
2232
  }
2226
- }), Ni = /* @__PURE__ */ j({
2233
+ }), Ni = /* @__PURE__ */ V({
2227
2234
  components: {
2228
2235
  GlobalHeader: $e,
2229
2236
  GlobalFooter: ke,
2230
2237
  SiderMenuWrapper: Be
2231
2238
  },
2232
- props: wt,
2239
+ props: St,
2233
2240
  emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
2234
2241
  setup(e, {
2235
2242
  slots: t,
2236
2243
  emit: a
2237
2244
  }) {
2238
- const o = v(() => e.theme !== void 0 ? {
2245
+ const o = f(() => e.theme !== void 0 ? {
2239
2246
  dark: e.theme === "realDark"
2240
2247
  } : {}), i = (c) => {
2241
2248
  a("update:collapsed", c), a("collapse", c);
2242
2249
  }, u = (c) => {
2243
2250
  a("update:open-keys", c), a("openKeys", c);
2244
- }, f = (c) => {
2251
+ }, m = (c) => {
2245
2252
  a("update:selected-keys", c), a("select", c);
2246
2253
  };
2247
- return () => n(Pe, {
2254
+ return () => n(Te, {
2248
2255
  theme: e.primaryColor ? {
2249
2256
  token: {
2250
2257
  colorPrimary: e.primaryColor
2251
2258
  }
2252
2259
  } : void 0
2253
2260
  }, {
2254
- default: () => [n(Gt, X({
2261
+ default: () => [n(qt, X({
2255
2262
  token: e.token
2256
2263
  }, o.value), {
2257
2264
  default: () => [n(ga, X(Ve(e, ["onSelect", "onOpenKeys", "onCollapse"]), {
2258
- onSelect: f,
2265
+ onSelect: m,
2259
2266
  onOpenKeys: u,
2260
2267
  onCollapse: i
2261
2268
  }), t)]
2262
2269
  })]
2263
2270
  });
2264
2271
  }
2265
- }), It = (e, t, a) => e.map((o, i) => {
2272
+ }), Mt = (e, t, a) => e.map((o, i) => {
2266
2273
  var u;
2267
- return o.meta && (o.meta.key = a ? `${a}-${i}` : `${i}`), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = It(o.children, t, (u = o.meta) == null ? void 0 : u.key)), t[`${o.path}`] = o, o;
2274
+ return o.meta && (o.meta.key = a ? `${a}-${i}` : `${i}`), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = Mt(o.children, t, (u = o.meta) == null ? void 0 : u.key)), t[`${o.path}`] = o, o;
2268
2275
  }), zi = (e) => {
2269
- const t = e.find((i) => i.path === "/"), a = {}, o = It((t == null ? void 0 : t.children) || [], a);
2276
+ const t = e.find((i) => i.path === "/"), a = {}, o = Mt((t == null ? void 0 : t.children) || [], a);
2270
2277
  return {
2271
2278
  menuData: o,
2272
2279
  breadcrumb: a,
2273
2280
  levelMenuData: en(o)
2274
2281
  };
2275
- }, Mt = [
2282
+ }, Ot = [
2276
2283
  {
2277
2284
  key: "light",
2278
2285
  title: "亮色菜单风格"
@@ -2285,7 +2292,7 @@ const {
2285
2292
  key: "realDark",
2286
2293
  title: "暗黑模式"
2287
2294
  }
2288
- ], Ot = [
2295
+ ], Rt = [
2289
2296
  {
2290
2297
  key: "side",
2291
2298
  title: "侧边菜单布局"
@@ -2476,7 +2483,7 @@ const {
2476
2483
  }
2477
2484
  }
2478
2485
  }
2479
- }), Qe = /* @__PURE__ */ j({
2486
+ }), et = /* @__PURE__ */ V({
2480
2487
  name: "BlockCheckbox",
2481
2488
  props: {
2482
2489
  value: L.string,
@@ -2499,14 +2506,14 @@ const {
2499
2506
  key: a.key
2500
2507
  }, {
2501
2508
  default: () => [n("div", {
2502
- class: dt(e.hashId, `${t}-item`, `${t}-item-${a.key}`, `${t}-${e.configType}-item`),
2509
+ class: ct(e.hashId, `${t}-item`, `${t}-item-${a.key}`, `${t}-${e.configType}-item`),
2503
2510
  onClick: () => {
2504
2511
  var o;
2505
2512
  return (o = e.onChange) == null ? void 0 : o.call(e, a.key);
2506
2513
  }
2507
2514
  }, [a.key === "wide" && n("div", {
2508
2515
  class: [`${t}-item-${a.key}-content`, e.hashId]
2509
- }, null), n(ut, {
2516
+ }, null), n(dt, {
2510
2517
  class: `${t}-selectIcon ${e.hashId}`.trim(),
2511
2518
  style: {
2512
2519
  display: e.value === a.key ? "block" : "none"
@@ -2517,7 +2524,7 @@ const {
2517
2524
  }))]);
2518
2525
  };
2519
2526
  }
2520
- }), ba = /* @__PURE__ */ j({
2527
+ }), ba = /* @__PURE__ */ V({
2521
2528
  name: "ThemeColor",
2522
2529
  inheritAttrs: !1,
2523
2530
  props: {
@@ -2534,7 +2541,7 @@ const {
2534
2541
  return () => {
2535
2542
  var a;
2536
2543
  const t = `${e.prefixCls}-theme-color`;
2537
- return n(q, null, [n("div", {
2544
+ return n(Z, null, [n("div", {
2538
2545
  class: `${t} ${e.hashId}`.trim()
2539
2546
  }, [(a = e.colorList) == null ? void 0 : a.map(({
2540
2547
  key: o,
@@ -2545,19 +2552,19 @@ const {
2545
2552
  title: u
2546
2553
  }, {
2547
2554
  default: () => {
2548
- var f, c;
2555
+ var m, c;
2549
2556
  return [n("div", {
2550
- class: [`${t}-block ${e.hashId}`.trim(), ((f = e.settingValue) == null ? void 0 : f.primaryColor) === i ? `${t}-block-checked` : ""],
2557
+ class: [`${t}-block ${e.hashId}`.trim(), ((m = e.settingValue) == null ? void 0 : m.primaryColor) === i ? `${t}-block-checked` : ""],
2551
2558
  style: {
2552
2559
  backgroundColor: i
2553
2560
  },
2554
2561
  onClick: () => e.onChange && e.onChange(i)
2555
- }, [((c = e.settingValue) == null ? void 0 : c.primaryColor) === i && n(ut, null, null)])];
2562
+ }, [((c = e.settingValue) == null ? void 0 : c.primaryColor) === i && n(dt, null, null)])];
2556
2563
  }
2557
2564
  }) : null)])]);
2558
2565
  };
2559
2566
  }
2560
- }), he = /* @__PURE__ */ j({
2567
+ }), he = /* @__PURE__ */ V({
2561
2568
  name: "RegionalChange",
2562
2569
  props: {
2563
2570
  label: L.string,
@@ -2591,7 +2598,7 @@ const {
2591
2598
  }),
2592
2599
  dataSource: [{
2593
2600
  title: e.label,
2594
- action: n(rt, {
2601
+ action: n(st, {
2595
2602
  size: "small",
2596
2603
  disabled: e.disabled,
2597
2604
  checked: !!e.value,
@@ -2636,7 +2643,7 @@ const {
2636
2643
  function va(e) {
2637
2644
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
2638
2645
  }
2639
- const xa = /* @__PURE__ */ j({
2646
+ const xa = /* @__PURE__ */ V({
2640
2647
  name: "ThemeEditor",
2641
2648
  props: {
2642
2649
  settingValue: Object,
@@ -2645,27 +2652,27 @@ const xa = /* @__PURE__ */ j({
2645
2652
  setup(e) {
2646
2653
  const {
2647
2654
  getPrefixCls: t
2648
- } = Q(), [a, o] = pe("header"), i = t({
2655
+ } = ee(), [a, o] = pe("header"), i = t({
2649
2656
  suffixCls: "theme-editor",
2650
2657
  isPor: !0
2651
2658
  }), {
2652
2659
  wrapSSR: u,
2653
- hashId: f
2654
- } = J("ProThemeEditor", [pa], i), {
2660
+ hashId: m
2661
+ } = Q("ProThemeEditor", [pa], i), {
2655
2662
  token: c
2656
- } = Se(), S = v(() => {
2663
+ } = Se(), S = f(() => {
2657
2664
  var l;
2658
2665
  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;
2666
+ }), p = f(() => {
2667
+ var l, r, M, O, w, g, b, x, I, h, C, R, k, D, z, j, T, _, G, K, q, d, v, $, F;
2661
2668
  return [{
2662
2669
  key: "colorBgMenu",
2663
2670
  title: "全部背景",
2664
- disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["mix", "wide"].includes((s = e.settingValue) == null ? void 0 : s.layout)
2671
+ disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["mix", "wide"].includes((r = e.settingValue) == null ? void 0 : r.layout)
2665
2672
  }, {
2666
2673
  key: "colorDarkBgMenu",
2667
2674
  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)
2675
+ disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "light" || ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ["side", "simple"].includes((w = e.settingValue) == null ? void 0 : w.layout)
2669
2676
  }, {
2670
2677
  key: "colorSubItemBg",
2671
2678
  title: "子菜单背景",
@@ -2677,171 +2684,171 @@ const xa = /* @__PURE__ */ j({
2677
2684
  }, {
2678
2685
  key: "colorBgMenuItemSelected",
2679
2686
  title: "菜单选中背景",
2680
- disabled: ((y = e.settingValue) == null ? void 0 : y.theme) === "dark" && ["mix", "wide"].includes((m = e.settingValue) == null ? void 0 : m.layout)
2687
+ disabled: ((g = e.settingValue) == null ? void 0 : g.theme) === "dark" && ["mix", "wide"].includes((b = e.settingValue) == null ? void 0 : b.layout)
2681
2688
  }, {
2682
2689
  key: "colorDarkBgMenuItemSelected",
2683
2690
  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)
2691
+ disabled: ((x = e.settingValue) == null ? void 0 : x.theme) === "light" || ((I = e.settingValue) == null ? void 0 : I.theme) === "dark" && ["side", "simple"].includes((h = e.settingValue) == null ? void 0 : h.layout)
2685
2692
  }, {
2686
2693
  key: "colorTextMenu",
2687
2694
  title: "菜单文字颜色",
2688
- disabled: ((w = e.settingValue) == null ? void 0 : w.theme) === "dark" && ["mix", "wide"].includes(($ = e.settingValue) == null ? void 0 : $.layout)
2695
+ disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "dark" && ["mix", "wide"].includes((R = e.settingValue) == null ? void 0 : R.layout)
2689
2696
  }, {
2690
2697
  key: "colorDarkTextMenu",
2691
2698
  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)
2699
+ disabled: ((k = e.settingValue) == null ? void 0 : k.theme) === "light" || ((D = e.settingValue) == null ? void 0 : D.theme) === "dark" && ["side", "simple"].includes((z = e.settingValue) == null ? void 0 : z.layout)
2693
2700
  }, {
2694
2701
  key: "colorTextMenuHover",
2695
2702
  title: "菜单文字移入颜色",
2696
- disabled: ((H = e.settingValue) == null ? void 0 : H.theme) === "dark" && ["mix", "wide"].includes((P = e.settingValue) == null ? void 0 : P.layout)
2703
+ disabled: ((j = e.settingValue) == null ? void 0 : j.theme) === "dark" && ["mix", "wide"].includes((T = e.settingValue) == null ? void 0 : T.layout)
2697
2704
  }, {
2698
2705
  key: "colorDarkTextMenuHover",
2699
2706
  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)
2707
+ 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
2708
  }, {
2702
2709
  key: "colorTextMenuSelected",
2703
2710
  title: "菜单文字选中颜色",
2704
- disabled: ((A = e.settingValue) == null ? void 0 : A.theme) === "dark" && ["mix", "wide"].includes((d = e.settingValue) == null ? void 0 : d.layout)
2711
+ disabled: ((q = e.settingValue) == null ? void 0 : q.theme) === "dark" && ["mix", "wide"].includes((d = e.settingValue) == null ? void 0 : d.layout)
2705
2712
  }, {
2706
2713
  key: "colorDarkTextMenuSelected",
2707
2714
  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)
2715
+ disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "light" || (($ = e.settingValue) == null ? void 0 : $.theme) === "dark" && ["side", "simple"].includes((F = e.settingValue) == null ? void 0 : F.layout)
2709
2716
  }];
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;
2717
+ }), B = f(() => {
2718
+ var l, r, M, O, w, g, b, x, I, h, C, R, k, D, z, j, T, _, G, K, q, d, v, $, F, N, U, E, te, J, Ee, Xe;
2712
2719
  return [{
2713
2720
  key: "colorBgMenu",
2714
2721
  title: "全部背景",
2715
- disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["side", "simple"].includes((s = e.settingValue) == null ? void 0 : s.layout)
2722
+ disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["side", "simple"].includes((r = e.settingValue) == null ? void 0 : r.layout)
2716
2723
  }, {
2717
2724
  key: "colorDarkBgMenu",
2718
2725
  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)
2726
+ disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "light" || ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ["mix", "wide"].includes((w = e.settingValue) == null ? void 0 : w.layout)
2720
2727
  }, {
2721
2728
  key: "colorSubItemBg",
2722
2729
  title: "子菜单背景",
2723
- disabled: ((y = e.settingValue) == null ? void 0 : y.theme) === "dark" && ["side", "simple"].includes((m = e.settingValue) == null ? void 0 : m.layout)
2730
+ disabled: ((g = e.settingValue) == null ? void 0 : g.theme) === "dark" && ["side", "simple"].includes((b = e.settingValue) == null ? void 0 : b.layout)
2724
2731
  }, {
2725
2732
  key: "colorDarkSubItemBg",
2726
2733
  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)
2734
+ disabled: ((x = e.settingValue) == null ? void 0 : x.theme) === "light" || ((I = e.settingValue) == null ? void 0 : I.theme) === "dark" && ["mix", "wide"].includes((h = e.settingValue) == null ? void 0 : h.layout)
2728
2735
  }, {
2729
2736
  key: "colorBgMenuItemHover",
2730
2737
  title: "菜单移入背景",
2731
- disabled: ((w = e.settingValue) == null ? void 0 : w.theme) === "dark" && (($ = e.settingValue) == null ? void 0 : $.layout) !== "mix"
2738
+ disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "dark" && ((R = e.settingValue) == null ? void 0 : R.layout) !== "mix"
2732
2739
  }, {
2733
2740
  key: "colorBgMenuItemSelected",
2734
2741
  title: "菜单选中背景",
2735
- disabled: ((T = e.settingValue) == null ? void 0 : T.theme) === "dark" && ((N = e.settingValue) == null ? void 0 : N.layout) !== "mix"
2742
+ disabled: ((k = e.settingValue) == null ? void 0 : k.theme) === "dark" && ((D = e.settingValue) == null ? void 0 : D.layout) !== "mix"
2736
2743
  }, {
2737
2744
  key: "colorDarkBgMenuItemSelected",
2738
2745
  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)
2746
+ 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
2747
  }, {
2741
2748
  key: "colorTextMenu",
2742
2749
  title: "菜单文字颜色",
2743
- disabled: ((G = e.settingValue) == null ? void 0 : G.theme) === "dark" && ((E = e.settingValue) == null ? void 0 : E.layout) !== "mix"
2750
+ disabled: ((_ = e.settingValue) == null ? void 0 : _.theme) === "dark" && ((G = e.settingValue) == null ? void 0 : G.layout) !== "mix"
2744
2751
  }, {
2745
2752
  key: "colorDarkTextMenu",
2746
2753
  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)
2754
+ 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
2755
  }, {
2749
2756
  key: "colorTextMenuHover",
2750
2757
  title: "菜单文字移入颜色",
2751
- disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "dark" && ((B = e.settingValue) == null ? void 0 : B.layout) !== "mix"
2758
+ disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "dark" && (($ = e.settingValue) == null ? void 0 : $.layout) !== "mix"
2752
2759
  }, {
2753
2760
  key: "colorDarkTextMenuHover",
2754
2761
  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)
2762
+ disabled: ((F = e.settingValue) == null ? void 0 : F.theme) === "light" || ((N = e.settingValue) == null ? void 0 : N.theme) === "dark" && ["mix", "wide"].includes((U = e.settingValue) == null ? void 0 : U.layout)
2756
2763
  }, {
2757
2764
  key: "colorTextMenuSelected",
2758
2765
  title: "菜单文字选中颜色",
2759
- disabled: ((ee = e.settingValue) == null ? void 0 : ee.theme) === "dark" && ((ne = e.settingValue) == null ? void 0 : ne.layout) !== "mix"
2766
+ disabled: ((E = e.settingValue) == null ? void 0 : E.theme) === "dark" && ((te = e.settingValue) == null ? void 0 : te.layout) !== "mix"
2760
2767
  }, {
2761
2768
  key: "colorDarkTextMenuSelected",
2762
2769
  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)
2770
+ 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
2771
  }];
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];
2772
+ }), y = f(() => a.value === "header" ? p.value : a.value === "sider" ? B.value : []), P = (l) => {
2773
+ var r, M;
2774
+ return (M = (r = S.value) == null ? void 0 : r[a.value]) == null ? void 0 : M[l];
2768
2775
  };
2769
2776
  return () => {
2770
- var s, M, I;
2777
+ var r, M, O;
2771
2778
  let l;
2772
2779
  return u(n("div", {
2773
- class: [i, f.value]
2780
+ class: [i, m.value]
2774
2781
  }, [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", {
2782
+ class: [`${i}-title`, m.value]
2783
+ }, [ne("主题编辑器"), n("div", {
2784
+ class: [`${i}-sub-title`, m.value]
2785
+ }, [n("span", null, [(r = Ot.find((w) => {
2786
+ var g;
2787
+ return w.key === ((g = e.settingValue) == null ? void 0 : g.theme);
2788
+ })) == null ? void 0 : r.title]), n("span", {
2782
2789
  style: {
2783
2790
  marginInline: "8px"
2784
2791
  }
2785
- }, [te("/")]), n("span", null, [(M = Ot.find((x) => {
2786
- var y;
2787
- return x.key === ((y = e.settingValue) == null ? void 0 : y.layout);
2792
+ }, [ne("/")]), n("span", null, [(M = Rt.find((w) => {
2793
+ var g;
2794
+ return w.key === ((g = e.settingValue) == null ? void 0 : g.layout);
2788
2795
  })) == null ? void 0 : M.title])])]), n("div", {
2789
- class: [`${i}-content`, f.value]
2796
+ class: [`${i}-content`, m.value]
2790
2797
  }, [n(oe, {
2791
- class: `${i}-list ${f.value}`.trim(),
2798
+ class: `${i}-list ${m.value}`.trim(),
2792
2799
  split: !1,
2793
2800
  size: "small",
2794
2801
  renderItem: ({
2795
- item: x
2802
+ item: w
2796
2803
  }) => n(oe.Item, {
2797
- actions: [x.action]
2804
+ actions: [w.action]
2798
2805
  }, {
2799
2806
  default: () => [n("span", {
2800
2807
  style: {
2801
- opacity: x.disabled ? 0.5 : 1
2808
+ opacity: w.disabled ? 0.5 : 1
2802
2809
  }
2803
- }, [x.title])]
2810
+ }, [w.title])]
2804
2811
  }),
2805
2812
  dataSource: [{
2806
2813
  title: "自定义主题色",
2807
- action: n(_e, {
2808
- value: (I = e.settingValue) == null ? void 0 : I.primaryColor,
2814
+ action: n(Ge, {
2815
+ value: (O = e.settingValue) == null ? void 0 : O.primaryColor,
2809
2816
  actions: ["confirm"],
2810
2817
  modes: ["rgb"],
2811
2818
  size: "small",
2812
- onConfirm: (x) => e.onChange && e.onChange(x, "primaryColor")
2819
+ onConfirm: (w) => e.onChange && e.onChange(w, "primaryColor")
2813
2820
  }, null)
2814
2821
  }]
2815
2822
  }, null), n(Le, {
2816
2823
  activeKey: a.value,
2817
2824
  onChange: o
2818
- }, va(l = ha.map((x) => n(Dt, {
2819
- key: x.key,
2820
- tab: x.title
2825
+ }, va(l = ha.map((w) => n(Nt, {
2826
+ key: w.key,
2827
+ tab: w.title
2821
2828
  }, {
2822
2829
  default: () => [n(oe, {
2823
- class: `${i}-list ${f.value}`.trim(),
2830
+ class: `${i}-list ${m.value}`.trim(),
2824
2831
  split: !1,
2825
2832
  size: "small",
2826
2833
  renderItem: ({
2827
- item: y
2834
+ item: g
2828
2835
  }) => n(oe.Item, {
2829
- actions: [y.action]
2836
+ actions: [g.action]
2830
2837
  }, {
2831
2838
  default: () => [n("span", {
2832
2839
  style: {
2833
- opacity: y.disabled ? 0.5 : 1
2840
+ opacity: g.disabled ? 0.5 : 1
2834
2841
  }
2835
- }, [y.title])]
2842
+ }, [g.title])]
2836
2843
  }),
2837
- dataSource: g.value.filter((y) => !y.disabled).map((y) => ({
2838
- ...y,
2839
- action: n(_e, {
2840
- value: F(y.key),
2844
+ dataSource: y.value.filter((g) => !g.disabled).map((g) => ({
2845
+ ...g,
2846
+ action: n(Ge, {
2847
+ value: P(g.key),
2841
2848
  actions: ["confirm"],
2842
2849
  modes: ["rgb"],
2843
2850
  size: "small",
2844
- onConfirm: (m) => e.onChange && e.onChange(m, a.value, y.key)
2851
+ onConfirm: (b) => e.onChange && e.onChange(b, a.value, g.key)
2845
2852
  }, null)
2846
2853
  }))
2847
2854
  }, null)]
@@ -2881,12 +2888,12 @@ const xa = /* @__PURE__ */ j({
2881
2888
  }
2882
2889
  }
2883
2890
  });
2884
- function et(e) {
2891
+ function tt(e) {
2885
2892
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
2886
2893
  }
2887
2894
  const {
2888
- preset: tt
2889
- } = je, wa = /* @__PURE__ */ j({
2895
+ preset: nt
2896
+ } = je, wa = /* @__PURE__ */ V({
2890
2897
  name: "OthersChange",
2891
2898
  props: {
2892
2899
  prefixCls: L.string,
@@ -2900,71 +2907,71 @@ const {
2900
2907
  }), {
2901
2908
  wrapSSR: a,
2902
2909
  hashId: o
2903
- } = J("SettingsDrawOthers", [Ca], t);
2910
+ } = Q("SettingsDrawOthers", [Ca], t);
2904
2911
  return () => {
2905
- var u, f, c, S, b, O, g, F, l, s, M, I, x, y;
2912
+ var u, m, c, S, p, B, y, P, l, r, M, O, w, g;
2906
2913
  let i;
2907
2914
  return a(n("div", {
2908
2915
  class: [t, o.value]
2909
2916
  }, [n("h3", {
2910
2917
  class: [`${t}-title`, o.value]
2911
- }, [te("页面动画设置")]), n(oe, {
2918
+ }, [ne("页面动画设置")]), n(oe, {
2912
2919
  class: `${t}-list ${o.value}`.trim(),
2913
2920
  split: !1,
2914
2921
  size: "small",
2915
2922
  renderItem: ({
2916
- item: m
2923
+ item: b
2917
2924
  }) => n(we, {
2918
- title: m.disabled ? m.disabledReason : "",
2925
+ title: b.disabled ? b.disabledReason : "",
2919
2926
  placement: "left"
2920
2927
  }, {
2921
2928
  default: () => [n(oe.Item, {
2922
- actions: [m.action]
2929
+ actions: [b.action]
2923
2930
  }, {
2924
2931
  default: () => [n("span", {
2925
2932
  style: {
2926
- opacity: m.disabled ? 0.5 : 1
2933
+ opacity: b.disabled ? 0.5 : 1
2927
2934
  }
2928
- }, [m.title])]
2935
+ }, [b.title])]
2929
2936
  })]
2930
2937
  }),
2931
2938
  dataSource: [{
2932
2939
  title: "禁用动画",
2933
- action: n(rt, {
2934
- checked: !((f = (u = e.settingValue) == null ? void 0 : u.animate) != null && f.disabled),
2940
+ action: n(st, {
2941
+ checked: !((m = (u = e.settingValue) == null ? void 0 : u.animate) != null && m.disabled),
2935
2942
  size: "small",
2936
- onChange: (m) => {
2937
- var h;
2938
- return (h = e.onChange) == null ? void 0 : h.call(e, "animate", "disabled", !m);
2943
+ onChange: (b) => {
2944
+ var x;
2945
+ return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "disabled", !b);
2939
2946
  }
2940
2947
  }, null)
2941
2948
  }, {
2942
2949
  title: "动画效果",
2943
2950
  disabled: (S = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : S.disabled,
2944
2951
  action: n(ge, {
2945
- value: (O = (b = e.settingValue) == null ? void 0 : b.animate) == null ? void 0 : O.name,
2952
+ value: (B = (p = e.settingValue) == null ? void 0 : p.animate) == null ? void 0 : B.name,
2946
2953
  style: {
2947
2954
  width: "100px"
2948
2955
  },
2949
2956
  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);
2957
+ disabled: (P = (y = e.settingValue) == null ? void 0 : y.animate) == null ? void 0 : P.disabled,
2958
+ getPopupContainer: (b) => b && b.parentNode ? b.parentNode : b,
2959
+ onChange: (b) => {
2960
+ var x;
2961
+ return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "name", b);
2955
2962
  }
2956
- }, et(i = tt.map((m) => n(ge.Option, {
2957
- value: m.name
2963
+ }, tt(i = nt.map((b) => n(ge.Option, {
2964
+ value: b.name
2958
2965
  }, {
2959
- default: () => [m.alias]
2966
+ default: () => [b.alias]
2960
2967
  }))) ? i : {
2961
2968
  default: () => [i]
2962
2969
  })
2963
2970
  }, {
2964
2971
  title: "动画方向",
2965
- disabled: (s = (l = e.settingValue) == null ? void 0 : l.animate) == null ? void 0 : s.disabled,
2972
+ disabled: (r = (l = e.settingValue) == null ? void 0 : l.animate) == null ? void 0 : r.disabled,
2966
2973
  action: n(ge, {
2967
- value: (I = (M = e.settingValue) == null ? void 0 : M.animate) == null ? void 0 : I.direction,
2974
+ value: (O = (M = e.settingValue) == null ? void 0 : M.animate) == null ? void 0 : O.direction,
2968
2975
  style: {
2969
2976
  width: "100px"
2970
2977
  },
@@ -2972,22 +2979,22 @@ const {
2972
2979
  dropdownStyle: {
2973
2980
  minWidth: "120px"
2974
2981
  },
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);
2982
+ disabled: (g = (w = e.settingValue) == null ? void 0 : w.animate) == null ? void 0 : g.disabled,
2983
+ getPopupContainer: (b) => b && b.parentNode ? b.parentNode : b,
2984
+ onChange: (b) => {
2985
+ var x;
2986
+ return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "direction", b);
2980
2987
  }
2981
2988
  }, {
2982
2989
  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]
2990
+ var b;
2991
+ return [(b = nt.find((x) => {
2992
+ var I, h;
2993
+ return x.name === ((h = (I = e.settingValue) == null ? void 0 : I.animate) == null ? void 0 : h.name);
2994
+ })) == null ? void 0 : b.directions.map((x) => n(ge.Option, {
2995
+ value: x
2996
+ }, tt(x) ? x : {
2997
+ default: () => [x]
2991
2998
  }))];
2992
2999
  }
2993
3000
  })
@@ -2997,7 +3004,7 @@ const {
2997
3004
  }
2998
3005
  }), {
2999
3006
  preset: Sa
3000
- } = je, Fe = Object.keys(V).filter((e) => e !== "title"), nt = {
3007
+ } = je, Pe = Object.keys(H).filter((e) => e !== "title"), at = {
3001
3008
  color: "#fff",
3002
3009
  fontSize: 20
3003
3010
  }, Ia = [{
@@ -3015,10 +3022,10 @@ const {
3015
3022
  }, {
3016
3023
  label: "fixedMultiTab",
3017
3024
  title: "固定多标签"
3018
- }], at = (e) => nn() ? {
3019
- ...le(V, Fe),
3025
+ }], ot = (e) => nn() ? {
3026
+ ...le(H, Pe),
3020
3027
  ...e || {}
3021
- } : He(V), ye = (e, {
3028
+ } : He(H), ye = (e, {
3022
3029
  slots: t
3023
3030
  }) => {
3024
3031
  var a;
@@ -3029,7 +3036,7 @@ const {
3029
3036
  }, [n("h3", {
3030
3037
  class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
3031
3038
  }, [e.title]), (a = t.default) == null ? void 0 : a.call(t)]);
3032
- }, Hi = /* @__PURE__ */ j({
3039
+ }, Hi = /* @__PURE__ */ V({
3033
3040
  name: "SettingDrawer",
3034
3041
  props: {
3035
3042
  themeOnly: Boolean,
@@ -3042,7 +3049,7 @@ const {
3042
3049
  },
3043
3050
  colorList: {
3044
3051
  type: [Boolean, Array],
3045
- default: () => qt
3052
+ default: () => Zt
3046
3053
  },
3047
3054
  onChange: Function,
3048
3055
  onChangeLayout: Function
@@ -3051,48 +3058,48 @@ const {
3051
3058
  setup(e) {
3052
3059
  const {
3053
3060
  getPrefixCls: t
3054
- } = Q(), a = t({
3061
+ } = ee(), a = t({
3055
3062
  suffixCls: "setting-drawer",
3056
3063
  isPor: !0
3057
3064
  }), {
3058
3065
  wrapSSR: o,
3059
3066
  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,
3067
+ } = Q("ProSettingDraw", [ya], a), u = Re(!1), [m, c] = pe(!1), [S, p] = pe(!1), [B, y] = pe(!1), P = f(() => ot(le(e.settings, Pe))), [l, r] = ln(() => ot(le(e.settings, Pe)), {
3068
+ value: P,
3062
3069
  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
3070
+ }), M = f(() => e.colorList && tn(e.colorList) ? e.colorList : []), O = f(() => wn(A(l))), {
3071
+ copy: w,
3072
+ copied: g,
3073
+ isSupported: b
3067
3074
  } = sn();
3068
- de(f, () => {
3075
+ de(m, () => {
3069
3076
  u.value || (u.value = !0);
3070
3077
  });
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));
3078
+ const x = (h, C, R) => {
3079
+ var z, j;
3080
+ const k = ["header", "sider"], D = {};
3081
+ if (R && k.includes(h)) {
3082
+ D[h] = {}, D[h][R] = C, e.onChangeLayout && e.onChangeLayout(le(D, k));
3076
3083
  return;
3077
3084
  } 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);
3085
+ h === "animate" ? (D[h] = {}, D[h][R] = C, R === "name" && (D[h].direction = (j = (z = Sa.find((T) => T.name === C)) == null ? void 0 : z.directions) == null ? void 0 : j[0])) : D[h] = C;
3086
+ if (h === "colorWeak") {
3087
+ const T = document.querySelector("body");
3088
+ T && (T.dataset.prosettingdrawer = C === !0 ? T.style.filter : T.dataset.prosettingdrawer || "none", C === !0 && (T.dataset.prosettingdrawer = T.style.filter), T.style.filter = C === !0 ? "invert(80%)" : T.dataset.prosettingdrawer || "none", C || delete T.dataset.prosettingdrawer);
3082
3089
  }
3083
- s(an(U(l), {
3084
- ...Cn(Ve(N, T))
3090
+ r(an(A(l), {
3091
+ ...Cn(Ve(D, k))
3085
3092
  }));
3086
- }, R = () => {
3087
- m.value && x(JSON.stringify(U(l)));
3093
+ }, I = () => {
3094
+ b.value && w(JSON.stringify(A(l)));
3088
3095
  };
3089
- return de(y, (p) => {
3090
- p && Nt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3096
+ return de(g, (h) => {
3097
+ h && zt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3091
3098
  }), () => o(n(be, {
3092
3099
  width: 300,
3093
3100
  closable: !1,
3094
- open: f.value,
3095
- rootClassName: `${a} ${i.value} ${f.value && `${a}-show`} ${!u.value && `${a}-trantion-none`}`,
3101
+ open: m.value,
3102
+ rootClassName: `${a} ${i.value} ${m.value && `${a}-show`} ${!u.value && `${a}-trantion-none`}`,
3096
3103
  placement: "right",
3097
3104
  rootStyle: {
3098
3105
  zIndex: 999
@@ -3103,11 +3110,11 @@ const {
3103
3110
  onClose: () => c(!1),
3104
3111
  handle: n("div", {
3105
3112
  class: [`${a}-handle`, i.value],
3106
- onClick: () => c(!f.value)
3107
- }, [f.value ? n(st, {
3108
- style: nt
3109
- }, null) : n(Xt, {
3110
- style: nt
3113
+ onClick: () => c(!m.value)
3114
+ }, [m.value ? n(ut, {
3115
+ style: at
3116
+ }, null) : n(Yt, {
3117
+ style: at
3111
3118
  }, null)])
3112
3119
  }, {
3113
3120
  default: () => [n("div", {
@@ -3120,23 +3127,23 @@ const {
3120
3127
  hashId: i.value,
3121
3128
  title: "整体风格设置"
3122
3129
  }, {
3123
- default: () => [n(Qe, {
3130
+ default: () => [n(et, {
3124
3131
  hashId: i.value,
3125
3132
  prefixCls: a,
3126
- list: Mt,
3133
+ list: Ot,
3127
3134
  value: l.value.theme,
3128
3135
  configType: "theme",
3129
3136
  key: "navTheme",
3130
- onChange: (p) => h("theme", p)
3137
+ onChange: (h) => x("theme", h)
3131
3138
  }, null)]
3132
3139
  }), n(ye, {
3133
3140
  hashId: i.value,
3134
- title: n("span", null, [te("主题色 "), n("a", {
3141
+ title: n("span", null, [ne("主题色 "), n("a", {
3135
3142
  style: {
3136
3143
  fontSize: "12px"
3137
3144
  },
3138
- onClick: () => b(!0)
3139
- }, [te("更多配置")])]),
3145
+ onClick: () => p(!0)
3146
+ }, [ne("更多配置")])]),
3140
3147
  prefixCls: a
3141
3148
  }, {
3142
3149
  default: () => [n(ba, {
@@ -3144,82 +3151,82 @@ const {
3144
3151
  prefixCls: a,
3145
3152
  colorList: M.value,
3146
3153
  settingValue: l.value,
3147
- onChange: (p, w) => h(w || "primaryColor", p)
3154
+ onChange: (h, C) => x(C || "primaryColor", h)
3148
3155
  }, null)]
3149
- }), !e.themeOnly && n(q, null, [n(Me, null, null), n(ye, {
3156
+ }), !e.themeOnly && n(Z, null, [n(Me, null, null), n(ye, {
3150
3157
  hashId: i.value,
3151
3158
  prefixCls: a,
3152
3159
  title: "导航模式"
3153
3160
  }, {
3154
- default: () => [n(Qe, {
3161
+ default: () => [n(et, {
3155
3162
  prefixCls: a,
3156
- value: U(l).layout,
3163
+ value: A(l).layout,
3157
3164
  key: "layout",
3158
3165
  hashId: i.value,
3159
3166
  configType: "layout",
3160
- list: Ot,
3161
- onChange: (p) => h("layout", p)
3167
+ list: Rt,
3168
+ onChange: (h) => x("layout", h)
3162
3169
  }, null)]
3163
3170
  }), Ia.map(({
3164
- label: p,
3165
- title: w
3171
+ label: h,
3172
+ title: C
3166
3173
  }) => n(he, {
3167
- label: w,
3168
- disabled: U(I)[p],
3169
- value: U(l)[p],
3174
+ label: C,
3175
+ disabled: A(O)[h],
3176
+ value: A(l)[h],
3170
3177
  prefixCls: a,
3171
3178
  hashId: i.value,
3172
- valueKey: p,
3173
- onChange: ($, T) => h($, T)
3179
+ valueKey: h,
3180
+ onChange: (R, k) => x(R, k)
3174
3181
  }, null)), n(Me, null, null), n(ye, {
3175
3182
  hashId: i.value,
3176
3183
  prefixCls: a,
3177
- title: n("span", null, [te("其他设置 "), n("a", {
3184
+ title: n("span", null, [ne("其他设置 "), n("a", {
3178
3185
  style: {
3179
3186
  fontSize: "12px"
3180
3187
  },
3181
- onClick: () => g(!0)
3182
- }, [te("更多配置")])])
3188
+ onClick: () => y(!0)
3189
+ }, [ne("更多配置")])])
3183
3190
  }, {
3184
3191
  default: () => [Ma.map(({
3185
- label: p,
3186
- title: w
3192
+ label: h,
3193
+ title: C
3187
3194
  }) => n(he, {
3188
- label: w,
3189
- disabled: U(I)[p],
3190
- value: U(l)[p],
3195
+ label: C,
3196
+ disabled: A(O)[h],
3197
+ value: A(l)[h],
3191
3198
  prefixCls: a,
3192
3199
  hashId: i.value,
3193
- valueKey: p,
3194
- onChange: ($, T) => h($, T)
3200
+ valueKey: h,
3201
+ onChange: (R, k) => x(R, k)
3195
3202
  }, null)), e.weakmode && n(he, {
3196
3203
  label: "色弱模式",
3197
- value: U(l).colorWeak,
3204
+ value: A(l).colorWeak,
3198
3205
  prefixCls: a,
3199
3206
  hashId: i.value,
3200
3207
  valueKey: "colorWeak",
3201
- onChange: (p, w) => h(p, w)
3208
+ onChange: (h, C) => x(h, C)
3202
3209
  }, null), e.showProgress && n(he, {
3203
3210
  label: "顶部进度条",
3204
- value: U(l).showProgressBar,
3211
+ value: A(l).showProgressBar,
3205
3212
  prefixCls: a,
3206
3213
  hashId: i.value,
3207
3214
  valueKey: "showProgressBar",
3208
- onChange: (p, w) => h(p, w)
3215
+ onChange: (h, C) => x(h, C)
3209
3216
  }, null)]
3210
- })]), e.hideHintAlert && e.hideCopyButton ? null : n(Me, null, null), e.hideHintAlert ? null : n(zt, {
3217
+ })]), e.hideHintAlert && e.hideCopyButton ? null : n(Me, null, null), e.hideHintAlert ? null : n(Ht, {
3211
3218
  type: "warning",
3212
3219
  message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
3213
- icon: n(Yt, null, null),
3220
+ icon: n(_t, null, null),
3214
3221
  showIcon: !0,
3215
3222
  style: {
3216
3223
  marginBottom: "16px"
3217
3224
  }
3218
- }, null), e.hideCopyButton ? null : n(Ht, {
3219
- onClick: () => R(),
3225
+ }, null), e.hideCopyButton ? null : n(Vt, {
3226
+ onClick: () => I(),
3220
3227
  block: !0
3221
3228
  }, {
3222
- default: () => [n(_t, null, null), te("拷贝设置")]
3229
+ default: () => [n(Gt, null, null), ne("拷贝设置")]
3223
3230
  })])]
3224
3231
  })]), n(be, {
3225
3232
  width: 320,
@@ -3229,30 +3236,30 @@ const {
3229
3236
  bodyStyle: {
3230
3237
  padding: 0
3231
3238
  },
3232
- onClose: () => b(!1)
3239
+ onClose: () => p(!1)
3233
3240
  }, {
3234
3241
  default: () => [n(xa, {
3235
3242
  settingValue: l.value,
3236
- onChange: (p, w, $) => h(w || "primaryColor", p, $)
3243
+ onChange: (h, C, R) => x(C || "primaryColor", h, R)
3237
3244
  }, null)]
3238
3245
  }), n(be, {
3239
3246
  width: 320,
3240
3247
  closable: !1,
3241
3248
  placement: "right",
3242
- open: O.value,
3249
+ open: B.value,
3243
3250
  bodyStyle: {
3244
3251
  padding: 0
3245
3252
  },
3246
- onClose: () => g(!1)
3253
+ onClose: () => y(!1)
3247
3254
  }, {
3248
3255
  default: () => [n(wa, {
3249
3256
  settingValue: l.value,
3250
- onChange: (p, w, $) => h(p, $, w)
3257
+ onChange: (h, C, R) => x(h, R, C)
3251
3258
  }, null)]
3252
3259
  })]
3253
3260
  }));
3254
3261
  }
3255
- }), Oa = new r("backInLeft", {
3262
+ }), Oa = new s("backInLeft", {
3256
3263
  "0%": {
3257
3264
  opacity: 0.7,
3258
3265
  transform: "translateX(-2000px) scale(0.7)"
@@ -3265,7 +3272,7 @@ const {
3265
3272
  opacity: 1,
3266
3273
  transform: "scale(1)"
3267
3274
  }
3268
- }), Ra = new r("backInRight", {
3275
+ }), Ra = new s("backInRight", {
3269
3276
  "0%": {
3270
3277
  opacity: 0.7,
3271
3278
  transform: "translateX(2000px) scale(0.7)"
@@ -3278,7 +3285,7 @@ const {
3278
3285
  opacity: 1,
3279
3286
  transform: "scale(1)"
3280
3287
  }
3281
- }), Ba = new r("backInUp", {
3288
+ }), Ba = new s("backInUp", {
3282
3289
  "0%": {
3283
3290
  opacity: 0.7,
3284
3291
  transform: "translateY(1200px) scale(0.7)"
@@ -3291,7 +3298,7 @@ const {
3291
3298
  opacity: 1,
3292
3299
  transform: "scale(1)"
3293
3300
  }
3294
- }), ka = new r("backInDown", {
3301
+ }), ka = new s("backInDown", {
3295
3302
  "0%": {
3296
3303
  opacity: 0.7,
3297
3304
  transform: "translateY(-1200px) scale(0.7)"
@@ -3304,7 +3311,7 @@ const {
3304
3311
  opacity: 1,
3305
3312
  transform: "scale(1)"
3306
3313
  }
3307
- }), $a = new r("backOutLeft", {
3314
+ }), $a = new s("backOutLeft", {
3308
3315
  "0%": {
3309
3316
  opacity: 1,
3310
3317
  transform: "scale(1)"
@@ -3317,7 +3324,7 @@ const {
3317
3324
  opacity: 0.7,
3318
3325
  transform: "translateX(-2000px) scale(0.7)"
3319
3326
  }
3320
- }), Fa = new r("backOutRight", {
3327
+ }), Pa = new s("backOutRight", {
3321
3328
  "0%": {
3322
3329
  opacity: 1,
3323
3330
  transform: "scale(1)"
@@ -3330,7 +3337,7 @@ const {
3330
3337
  opacity: 0.7,
3331
3338
  transform: "translateX(2000px) scale(0.7)"
3332
3339
  }
3333
- }), Ta = new r("backOutUp", {
3340
+ }), Fa = new s("backOutUp", {
3334
3341
  "0%": {
3335
3342
  opacity: 1,
3336
3343
  transform: "scale(1)"
@@ -3343,7 +3350,7 @@ const {
3343
3350
  opacity: 0.7,
3344
3351
  transform: "translateY(-700px) scale(0.7)"
3345
3352
  }
3346
- }), Pa = new r("backOutDown", {
3353
+ }), Ta = new s("backOutDown", {
3347
3354
  "0%": {
3348
3355
  opacity: 1,
3349
3356
  transform: "scale(1)"
@@ -3380,17 +3387,17 @@ const {
3380
3387
  },
3381
3388
  "&.backOutRight": {
3382
3389
  animationFillMode: "both",
3383
- animationName: Fa
3390
+ animationName: Pa
3384
3391
  },
3385
3392
  "&.backOutUp": {
3386
3393
  animationFillMode: "both",
3387
- animationName: Ta
3394
+ animationName: Fa
3388
3395
  },
3389
3396
  "&.backOutDown": {
3390
3397
  animationFillMode: "both",
3391
- animationName: Pa
3398
+ animationName: Ta
3392
3399
  }
3393
- }), Na = new r("bounceIn", {
3400
+ }), Na = new s("bounceIn", {
3394
3401
  "from,20%,40%,60%,80%,to": {
3395
3402
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3396
3403
  },
@@ -3414,7 +3421,7 @@ const {
3414
3421
  opacity: 1,
3415
3422
  transform: "scale3d(1, 1, 1)"
3416
3423
  }
3417
- }), za = new r("bounceInLeft", {
3424
+ }), za = new s("bounceInLeft", {
3418
3425
  "from,60%,75%,90%,to": {
3419
3426
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3420
3427
  },
@@ -3435,7 +3442,7 @@ const {
3435
3442
  to: {
3436
3443
  transform: "translate3d(0, 0, 0)"
3437
3444
  }
3438
- }), Ha = new r("bounceInRight", {
3445
+ }), Ha = new s("bounceInRight", {
3439
3446
  "from,60%,75%,90%,to": {
3440
3447
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3441
3448
  },
@@ -3456,7 +3463,7 @@ const {
3456
3463
  to: {
3457
3464
  transform: "translate3d(0, 0, 0)"
3458
3465
  }
3459
- }), Va = new r("bounceInDown", {
3466
+ }), Va = new s("bounceInDown", {
3460
3467
  "from,60%,75%,90%,to": {
3461
3468
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3462
3469
  },
@@ -3477,7 +3484,7 @@ const {
3477
3484
  to: {
3478
3485
  transform: "translate3d(0, 0, 0)"
3479
3486
  }
3480
- }), ja = new r("bounceInUp", {
3487
+ }), ja = new s("bounceInUp", {
3481
3488
  "from,60%,75%,90%,to": {
3482
3489
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3483
3490
  },
@@ -3498,7 +3505,7 @@ const {
3498
3505
  to: {
3499
3506
  transform: "translate3d(0, 0, 0)"
3500
3507
  }
3501
- }), Wa = new r("bounceOut", {
3508
+ }), Wa = new s("bounceOut", {
3502
3509
  "20%": {
3503
3510
  transform: "scale3d(0.9, 0.9, 0.9)"
3504
3511
  },
@@ -3512,7 +3519,7 @@ const {
3512
3519
  opacity: 0,
3513
3520
  transform: "scale3d(0.3, 0.3, 0.3)"
3514
3521
  }
3515
- }), Aa = new r("bounceOutLeft", {
3522
+ }), Aa = new s("bounceOutLeft", {
3516
3523
  "20%": {
3517
3524
  opacity: 1,
3518
3525
  transform: "translate3d(20px, 0, 0) scaleX(0.9)"
@@ -3521,7 +3528,7 @@ const {
3521
3528
  opacity: 0,
3522
3529
  transform: "translate3d(-2000px, 0, 0) scaleX(2)"
3523
3530
  }
3524
- }), Ka = new r("bounceOutRight", {
3531
+ }), Ka = new s("bounceOutRight", {
3525
3532
  "20%": {
3526
3533
  opacity: 1,
3527
3534
  transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
@@ -3530,7 +3537,7 @@ const {
3530
3537
  opacity: 0,
3531
3538
  transform: "translate3d(2000px, 0, 0) scaleX(2)"
3532
3539
  }
3533
- }), Ua = new r("bounceOutDown", {
3540
+ }), Ua = new s("bounceOutDown", {
3534
3541
  "20%": {
3535
3542
  transform: "translate3d(0, 10px, 0) scaleY(0.985)"
3536
3543
  },
@@ -3542,7 +3549,7 @@ const {
3542
3549
  opacity: 0,
3543
3550
  transform: "translate3d(0, 2000px, 0) scaleY(3)"
3544
3551
  }
3545
- }), Ea = new r("bounceOutUp", {
3552
+ }), Ea = new s("bounceOutUp", {
3546
3553
  "20%": {
3547
3554
  transform: "translate3d(0, -10px, 0) scaleY(0.985)"
3548
3555
  },
@@ -3598,14 +3605,14 @@ const {
3598
3605
  animationFillMode: "both",
3599
3606
  animationName: Ea
3600
3607
  }
3601
- }), _a = new r("fadeIn", {
3608
+ }), _a = new s("fadeIn", {
3602
3609
  from: {
3603
3610
  opacity: 0
3604
3611
  },
3605
3612
  to: {
3606
3613
  opacity: 1
3607
3614
  }
3608
- }), Ga = new r("fadeInLeft", {
3615
+ }), Ga = new s("fadeInLeft", {
3609
3616
  from: {
3610
3617
  opacity: 0,
3611
3618
  transform: "translate3d(-100%, 0, 0)"
@@ -3614,7 +3621,7 @@ const {
3614
3621
  opacity: 1,
3615
3622
  transform: "translate3d(0, 0, 0)"
3616
3623
  }
3617
- }), qa = new r("fadeInRight", {
3624
+ }), qa = new s("fadeInRight", {
3618
3625
  from: {
3619
3626
  opacity: 0,
3620
3627
  transform: "translate3d(100%, 0, 0)"
@@ -3623,7 +3630,7 @@ const {
3623
3630
  opacity: 1,
3624
3631
  transform: "translate3d(0, 0, 0)"
3625
3632
  }
3626
- }), Za = new r("fadeInDown", {
3633
+ }), Za = new s("fadeInDown", {
3627
3634
  from: {
3628
3635
  opacity: 0,
3629
3636
  transform: "translate3d(0, -100%, 0)"
@@ -3632,7 +3639,7 @@ const {
3632
3639
  opacity: 1,
3633
3640
  transform: "translate3d(0, 0, 0)"
3634
3641
  }
3635
- }), Ja = new r("fadeInUp", {
3642
+ }), Ja = new s("fadeInUp", {
3636
3643
  from: {
3637
3644
  opacity: 0,
3638
3645
  transform: "translate3d(0, 100%, 0)"
@@ -3641,7 +3648,7 @@ const {
3641
3648
  opacity: 1,
3642
3649
  transform: "translate3d(0, 0, 0)"
3643
3650
  }
3644
- }), Qa = new r("fadeInDownBig", {
3651
+ }), Qa = new s("fadeInDownBig", {
3645
3652
  from: {
3646
3653
  opacity: 0,
3647
3654
  transform: "translate3d(0, -2000px, 0)"
@@ -3650,7 +3657,7 @@ const {
3650
3657
  opacity: 1,
3651
3658
  transform: "translate3d(0, 0, 0)"
3652
3659
  }
3653
- }), eo = new r("fadeInUpBig", {
3660
+ }), eo = new s("fadeInUpBig", {
3654
3661
  from: {
3655
3662
  opacity: 0,
3656
3663
  transform: "translate3d(0, 2000px, 0)"
@@ -3659,7 +3666,7 @@ const {
3659
3666
  opacity: 1,
3660
3667
  transform: "translate3d(0, 0, 0)"
3661
3668
  }
3662
- }), to = new r("fadeInLeftBig", {
3669
+ }), to = new s("fadeInLeftBig", {
3663
3670
  from: {
3664
3671
  opacity: 0,
3665
3672
  transform: "translate3d(-2000px, 0, 0)"
@@ -3668,7 +3675,7 @@ const {
3668
3675
  opacity: 1,
3669
3676
  transform: "translate3d(0, 0, 0)"
3670
3677
  }
3671
- }), no = new r("fadeInRightBig", {
3678
+ }), no = new s("fadeInRightBig", {
3672
3679
  from: {
3673
3680
  opacity: 0,
3674
3681
  transform: "translate3d(2000px, 0, 0)"
@@ -3677,7 +3684,7 @@ const {
3677
3684
  opacity: 1,
3678
3685
  transform: "translate3d(0, 0, 0)"
3679
3686
  }
3680
- }), ao = new r("fadeInTopLeft", {
3687
+ }), ao = new s("fadeInTopLeft", {
3681
3688
  from: {
3682
3689
  opacity: 0,
3683
3690
  transform: "translate3d(-100%, -100%, 0)"
@@ -3686,7 +3693,7 @@ const {
3686
3693
  opacity: 1,
3687
3694
  transform: "translate3d(0, 0, 0)"
3688
3695
  }
3689
- }), oo = new r("fadeInBottomRight", {
3696
+ }), oo = new s("fadeInBottomRight", {
3690
3697
  from: {
3691
3698
  opacity: 0,
3692
3699
  transform: "translate3d(100%, 100%, 0)"
@@ -3695,7 +3702,7 @@ const {
3695
3702
  opacity: 1,
3696
3703
  transform: "translate3d(0, 0, 0)"
3697
3704
  }
3698
- }), io = new r("fadeInTopRight", {
3705
+ }), io = new s("fadeInTopRight", {
3699
3706
  from: {
3700
3707
  opacity: 0,
3701
3708
  transform: "translate3d(100%, -100%, 0)"
@@ -3704,7 +3711,7 @@ const {
3704
3711
  opacity: 1,
3705
3712
  transform: "translate3d(0, 0, 0)"
3706
3713
  }
3707
- }), lo = new r("fadeInBottomLeft", {
3714
+ }), lo = new s("fadeInBottomLeft", {
3708
3715
  from: {
3709
3716
  opacity: 0,
3710
3717
  transform: "translate3d(-100%, 100%, 0)"
@@ -3713,14 +3720,14 @@ const {
3713
3720
  opacity: 1,
3714
3721
  transform: "translate3d(0, 0, 0)"
3715
3722
  }
3716
- }), ro = new r("fadeOut", {
3723
+ }), ro = new s("fadeOut", {
3717
3724
  from: {
3718
3725
  opacity: 1
3719
3726
  },
3720
3727
  to: {
3721
3728
  opacity: 0
3722
3729
  }
3723
- }), so = new r("fadeOutLeft", {
3730
+ }), so = new s("fadeOutLeft", {
3724
3731
  from: {
3725
3732
  opacity: 1
3726
3733
  },
@@ -3728,7 +3735,7 @@ const {
3728
3735
  opacity: 0,
3729
3736
  transform: "translate3d(-100%, 0, 0)"
3730
3737
  }
3731
- }), uo = new r("fadeOutRight", {
3738
+ }), uo = new s("fadeOutRight", {
3732
3739
  from: {
3733
3740
  opacity: 1
3734
3741
  },
@@ -3736,7 +3743,7 @@ const {
3736
3743
  opacity: 0,
3737
3744
  transform: "translate3d(100%, 0, 0)"
3738
3745
  }
3739
- }), co = new r("fadeOutDown", {
3746
+ }), co = new s("fadeOutDown", {
3740
3747
  from: {
3741
3748
  opacity: 1
3742
3749
  },
@@ -3744,7 +3751,7 @@ const {
3744
3751
  opacity: 0,
3745
3752
  transform: "translate3d(0, 100%, 0)"
3746
3753
  }
3747
- }), mo = new r("fadeOutUp", {
3754
+ }), mo = new s("fadeOutUp", {
3748
3755
  from: {
3749
3756
  opacity: 1
3750
3757
  },
@@ -3752,7 +3759,7 @@ const {
3752
3759
  opacity: 0,
3753
3760
  transform: "translate3d(0, -100%, 0)"
3754
3761
  }
3755
- }), fo = new r("fadeOutDownBig", {
3762
+ }), fo = new s("fadeOutDownBig", {
3756
3763
  from: {
3757
3764
  opacity: 1
3758
3765
  },
@@ -3760,7 +3767,7 @@ const {
3760
3767
  opacity: 0,
3761
3768
  transform: "translate3d(0, 2000px, 0)"
3762
3769
  }
3763
- }), go = new r("fadeOutUpBig", {
3770
+ }), go = new s("fadeOutUpBig", {
3764
3771
  from: {
3765
3772
  opacity: 1
3766
3773
  },
@@ -3768,7 +3775,7 @@ const {
3768
3775
  opacity: 0,
3769
3776
  transform: "translate3d(0, -2000px, 0)"
3770
3777
  }
3771
- }), ho = new r("fadeOutLeftBig", {
3778
+ }), ho = new s("fadeOutLeftBig", {
3772
3779
  from: {
3773
3780
  opacity: 1
3774
3781
  },
@@ -3776,7 +3783,7 @@ const {
3776
3783
  opacity: 0,
3777
3784
  transform: "translate3d(-2000px, 0, 0)"
3778
3785
  }
3779
- }), yo = new r("fadeOutRightBig", {
3786
+ }), yo = new s("fadeOutRightBig", {
3780
3787
  from: {
3781
3788
  opacity: 1
3782
3789
  },
@@ -3784,7 +3791,7 @@ const {
3784
3791
  opacity: 0,
3785
3792
  transform: "translate3d(2000px, 0, 0)"
3786
3793
  }
3787
- }), bo = new r("fadeOutTopLeft", {
3794
+ }), bo = new s("fadeOutTopLeft", {
3788
3795
  from: {
3789
3796
  opacity: 1,
3790
3797
  transform: "translate3d(0, 0, 0)"
@@ -3793,7 +3800,7 @@ const {
3793
3800
  opacity: 0,
3794
3801
  transform: "translate3d(-100%, -100%, 0)"
3795
3802
  }
3796
- }), po = new r("fadeOutBottomRight", {
3803
+ }), po = new s("fadeOutBottomRight", {
3797
3804
  from: {
3798
3805
  opacity: 1,
3799
3806
  transform: "translate3d(0, 0, 0)"
@@ -3802,7 +3809,7 @@ const {
3802
3809
  opacity: 0,
3803
3810
  transform: "translate3d(100%, 100%, 0)"
3804
3811
  }
3805
- }), vo = new r("fadeOutTopRight", {
3812
+ }), vo = new s("fadeOutTopRight", {
3806
3813
  from: {
3807
3814
  opacity: 1,
3808
3815
  transform: "translate3d(0, 0, 0)"
@@ -3811,7 +3818,7 @@ const {
3811
3818
  opacity: 0,
3812
3819
  transform: "translate3d(100%, -100%, 0)"
3813
3820
  }
3814
- }), xo = new r("fadeOutBottomLeft", {
3821
+ }), xo = new s("fadeOutBottomLeft", {
3815
3822
  from: {
3816
3823
  opacity: 1,
3817
3824
  transform: "translate3d(0, 0, 0)"
@@ -3926,7 +3933,7 @@ const {
3926
3933
  animationFillMode: "both",
3927
3934
  animationName: xo
3928
3935
  }
3929
- }), So = new r("flipInX", {
3936
+ }), So = new s("flipInX", {
3930
3937
  from: {
3931
3938
  opacity: 0,
3932
3939
  animationTimingFunction: "ease-in",
@@ -3946,7 +3953,7 @@ const {
3946
3953
  to: {
3947
3954
  transform: "perspective(400px)"
3948
3955
  }
3949
- }), Io = new r("flipInY", {
3956
+ }), Io = new s("flipInY", {
3950
3957
  from: {
3951
3958
  opacity: 0,
3952
3959
  animationTimingFunction: "ease-in",
@@ -3966,7 +3973,7 @@ const {
3966
3973
  to: {
3967
3974
  transform: "perspective(400px)"
3968
3975
  }
3969
- }), Mo = new r("flipOutX", {
3976
+ }), Mo = new s("flipOutX", {
3970
3977
  from: {
3971
3978
  transform: "perspective(400px)"
3972
3979
  },
@@ -3978,7 +3985,7 @@ const {
3978
3985
  opacity: 0,
3979
3986
  transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
3980
3987
  }
3981
- }), Oo = new r("flipOutY", {
3988
+ }), Oo = new s("flipOutY", {
3982
3989
  from: {
3983
3990
  transform: "perspective(400px)"
3984
3991
  },
@@ -4014,7 +4021,7 @@ const {
4014
4021
  animationDuration: `${0.3 * 0.75}s !important`,
4015
4022
  animationName: Oo
4016
4023
  }
4017
- }), ko = new r("lightSpeedInLeft", {
4024
+ }), ko = new s("lightSpeedInLeft", {
4018
4025
  from: {
4019
4026
  opacity: 0,
4020
4027
  transform: "translate3d(-100%, 0, 0) skewX(30deg)"
@@ -4029,7 +4036,7 @@ const {
4029
4036
  to: {
4030
4037
  transform: "translate3d(0, 0, 0)"
4031
4038
  }
4032
- }), $o = new r("lightSpeedInRight", {
4039
+ }), $o = new s("lightSpeedInRight", {
4033
4040
  from: {
4034
4041
  opacity: 0,
4035
4042
  transform: "translate3d(100%, 0, 0) skewX(-30deg)"
@@ -4044,7 +4051,7 @@ const {
4044
4051
  to: {
4045
4052
  transform: "translate3d(0, 0, 0)"
4046
4053
  }
4047
- }), Fo = new r("lightSpeedOutLeft", {
4054
+ }), Po = new s("lightSpeedOutLeft", {
4048
4055
  from: {
4049
4056
  opacity: 1
4050
4057
  },
@@ -4052,7 +4059,7 @@ const {
4052
4059
  opacity: 0,
4053
4060
  transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
4054
4061
  }
4055
- }), To = new r("lightSpeedOutRight", {
4062
+ }), Fo = new s("lightSpeedOutRight", {
4056
4063
  from: {
4057
4064
  opacity: 1
4058
4065
  },
@@ -4060,7 +4067,7 @@ const {
4060
4067
  opacity: 0,
4061
4068
  transform: "translate3d(100%, 0, 0) skewX(30deg)"
4062
4069
  }
4063
- }), Po = () => ({
4070
+ }), To = () => ({
4064
4071
  "&.lightSpeedInLeft": {
4065
4072
  animationFillMode: "both",
4066
4073
  animationTimingFunction: "ease-out",
@@ -4075,14 +4082,14 @@ const {
4075
4082
  "&.lightSpeedOutLeft": {
4076
4083
  animationFillMode: "both",
4077
4084
  animationTimingFunction: "ease-in",
4078
- animationName: Fo
4085
+ animationName: Po
4079
4086
  },
4080
4087
  "&.lightSpeedOutRight": {
4081
4088
  animationFillMode: "both",
4082
4089
  animationTimingFunction: "ease-in",
4083
- animationName: To
4090
+ animationName: Fo
4084
4091
  }
4085
- }), Do = new r("rotateIn", {
4092
+ }), Do = new s("rotateIn", {
4086
4093
  from: {
4087
4094
  opacity: 0,
4088
4095
  transform: "rotate3d(0, 0, 1, -200deg)"
@@ -4091,7 +4098,7 @@ const {
4091
4098
  opacity: 1,
4092
4099
  transform: "translate3d(0, 0, 0)"
4093
4100
  }
4094
- }), No = new r("rotateInDownLeft", {
4101
+ }), No = new s("rotateInDownLeft", {
4095
4102
  from: {
4096
4103
  opacity: 0,
4097
4104
  transform: "rotate3d(0, 0, 1, -45deg)"
@@ -4100,7 +4107,7 @@ const {
4100
4107
  opacity: 1,
4101
4108
  transform: "translate3d(0, 0, 0)"
4102
4109
  }
4103
- }), zo = new r("rotateInDownRight", {
4110
+ }), zo = new s("rotateInDownRight", {
4104
4111
  from: {
4105
4112
  opacity: 0,
4106
4113
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -4109,7 +4116,7 @@ const {
4109
4116
  opacity: 1,
4110
4117
  transform: "translate3d(0, 0, 0)"
4111
4118
  }
4112
- }), Ho = new r("rotateInUpLeft", {
4119
+ }), Ho = new s("rotateInUpLeft", {
4113
4120
  from: {
4114
4121
  opacity: 0,
4115
4122
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -4118,7 +4125,7 @@ const {
4118
4125
  opacity: 1,
4119
4126
  transform: "translate3d(0, 0, 0)"
4120
4127
  }
4121
- }), Vo = new r("rotateInUpRight", {
4128
+ }), Vo = new s("rotateInUpRight", {
4122
4129
  from: {
4123
4130
  opacity: 0,
4124
4131
  transform: "rotate3d(0, 0, 1, -90deg)"
@@ -4127,7 +4134,7 @@ const {
4127
4134
  opacity: 1,
4128
4135
  transform: "translate3d(0, 0, 0)"
4129
4136
  }
4130
- }), jo = new r("rotateOut", {
4137
+ }), jo = new s("rotateOut", {
4131
4138
  from: {
4132
4139
  opacity: 1
4133
4140
  },
@@ -4135,7 +4142,7 @@ const {
4135
4142
  opacity: 0,
4136
4143
  transform: "rotate3d(0, 0, 1, 200deg)"
4137
4144
  }
4138
- }), Wo = new r("rotateOutDownLeft", {
4145
+ }), Wo = new s("rotateOutDownLeft", {
4139
4146
  from: {
4140
4147
  opacity: 1
4141
4148
  },
@@ -4143,7 +4150,7 @@ const {
4143
4150
  opacity: 0,
4144
4151
  transform: "rotate3d(0, 0, 1, 45deg)"
4145
4152
  }
4146
- }), Ao = new r("rotateOutDownRight", {
4153
+ }), Ao = new s("rotateOutDownRight", {
4147
4154
  from: {
4148
4155
  opacity: 1
4149
4156
  },
@@ -4151,7 +4158,7 @@ const {
4151
4158
  opacity: 0,
4152
4159
  transform: "rotate3d(0, 0, 1, -45deg)"
4153
4160
  }
4154
- }), Ko = new r("rotateOutUpLeft", {
4161
+ }), Ko = new s("rotateOutUpLeft", {
4155
4162
  from: {
4156
4163
  opacity: 1
4157
4164
  },
@@ -4159,7 +4166,7 @@ const {
4159
4166
  opacity: 0,
4160
4167
  transform: "rotate3d(0, 0, 1, -45deg)"
4161
4168
  }
4162
- }), Uo = new r("rotateOutUpRight", {
4169
+ }), Uo = new s("rotateOutUpRight", {
4163
4170
  from: {
4164
4171
  opacity: 1
4165
4172
  },
@@ -4219,7 +4226,7 @@ const {
4219
4226
  transformOrigin: "right bottom",
4220
4227
  animationName: Uo
4221
4228
  }
4222
- }), Yo = new r("rollIn", {
4229
+ }), Yo = new s("rollIn", {
4223
4230
  from: {
4224
4231
  opacity: 0,
4225
4232
  transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
@@ -4228,7 +4235,7 @@ const {
4228
4235
  opacity: 1,
4229
4236
  transform: "translate3d(0, 0, 0)"
4230
4237
  }
4231
- }), _o = new r("rollOut", {
4238
+ }), _o = new s("rollOut", {
4232
4239
  from: {
4233
4240
  opacity: 1
4234
4241
  },
@@ -4246,7 +4253,7 @@ const {
4246
4253
  animationFillMode: "both",
4247
4254
  animationName: _o
4248
4255
  }
4249
- }), Zo = new r("zoomIn", {
4256
+ }), Zo = new s("zoomIn", {
4250
4257
  from: {
4251
4258
  opacity: 0,
4252
4259
  transform: "scale3d(0.3, 0.3, 0.3)"
@@ -4254,7 +4261,7 @@ const {
4254
4261
  "50%": {
4255
4262
  opacity: 1
4256
4263
  }
4257
- }), Jo = new r("zoomInDown", {
4264
+ }), Jo = new s("zoomInDown", {
4258
4265
  from: {
4259
4266
  opacity: 0,
4260
4267
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
@@ -4265,7 +4272,7 @@ const {
4265
4272
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
4266
4273
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4267
4274
  }
4268
- }), Qo = new r("zoomInLeft", {
4275
+ }), Qo = new s("zoomInLeft", {
4269
4276
  from: {
4270
4277
  opacity: 0,
4271
4278
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
@@ -4276,7 +4283,7 @@ const {
4276
4283
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
4277
4284
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4278
4285
  }
4279
- }), ei = new r("zoomInRight", {
4286
+ }), ei = new s("zoomInRight", {
4280
4287
  from: {
4281
4288
  opacity: 0,
4282
4289
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
@@ -4287,7 +4294,7 @@ const {
4287
4294
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
4288
4295
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4289
4296
  }
4290
- }), ti = new r("zoomInUp", {
4297
+ }), ti = new s("zoomInUp", {
4291
4298
  from: {
4292
4299
  opacity: 0,
4293
4300
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
@@ -4298,7 +4305,7 @@ const {
4298
4305
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
4299
4306
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4300
4307
  }
4301
- }), ni = new r("zoomOut", {
4308
+ }), ni = new s("zoomOut", {
4302
4309
  from: {
4303
4310
  opacity: 1
4304
4311
  },
@@ -4309,7 +4316,7 @@ const {
4309
4316
  to: {
4310
4317
  opacity: 0
4311
4318
  }
4312
- }), ai = new r("zoomOutDown", {
4319
+ }), ai = new s("zoomOutDown", {
4313
4320
  "40%": {
4314
4321
  opacity: 1,
4315
4322
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
@@ -4320,7 +4327,7 @@ const {
4320
4327
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
4321
4328
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4322
4329
  }
4323
- }), oi = new r("zoomOutLeft", {
4330
+ }), oi = new s("zoomOutLeft", {
4324
4331
  "40%": {
4325
4332
  opacity: 1,
4326
4333
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
@@ -4329,7 +4336,7 @@ const {
4329
4336
  opacity: 0,
4330
4337
  transform: "scale(0.1) translate3d(-2000px, 0, 0)"
4331
4338
  }
4332
- }), ii = new r("zoomOutRight", {
4339
+ }), ii = new s("zoomOutRight", {
4333
4340
  "40%": {
4334
4341
  opacity: 1,
4335
4342
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
@@ -4338,7 +4345,7 @@ const {
4338
4345
  opacity: 0,
4339
4346
  transform: "scale(0.1) translate3d(2000px, 0, 0)"
4340
4347
  }
4341
- }), li = new r("zoomOutUp", {
4348
+ }), li = new s("zoomOutUp", {
4342
4349
  "40%": {
4343
4350
  opacity: 1,
4344
4351
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
@@ -4395,7 +4402,7 @@ const {
4395
4402
  transformOrigin: "center bottom",
4396
4403
  animationName: li
4397
4404
  }
4398
- }), ui = new r("slideInDown", {
4405
+ }), ui = new s("slideInDown", {
4399
4406
  from: {
4400
4407
  transform: "translate3d(0, -100%, 0)",
4401
4408
  visibility: "visible"
@@ -4403,7 +4410,7 @@ const {
4403
4410
  to: {
4404
4411
  transform: "translate3d(0, 0, 0)"
4405
4412
  }
4406
- }), di = new r("slideInLeft", {
4413
+ }), di = new s("slideInLeft", {
4407
4414
  from: {
4408
4415
  transform: "translate3d(-100%, 0, 0)",
4409
4416
  visibility: "visible"
@@ -4411,7 +4418,7 @@ const {
4411
4418
  to: {
4412
4419
  transform: "translate3d(0, 0, 0)"
4413
4420
  }
4414
- }), ci = new r("slideInRight", {
4421
+ }), ci = new s("slideInRight", {
4415
4422
  from: {
4416
4423
  transform: "translate3d(100%, 0, 0)",
4417
4424
  visibility: "visible"
@@ -4419,7 +4426,7 @@ const {
4419
4426
  to: {
4420
4427
  transform: "translate3d(0, 0, 0)"
4421
4428
  }
4422
- }), mi = new r("slideInUp", {
4429
+ }), mi = new s("slideInUp", {
4423
4430
  from: {
4424
4431
  transform: "translate3d(0, 100%, 0)",
4425
4432
  visibility: "visible"
@@ -4427,7 +4434,7 @@ const {
4427
4434
  to: {
4428
4435
  transform: "translate3d(0, 0, 0)"
4429
4436
  }
4430
- }), fi = new r("slideOutDown", {
4437
+ }), fi = new s("slideOutDown", {
4431
4438
  from: {
4432
4439
  transform: "translate3d(0, 0, 0)"
4433
4440
  },
@@ -4435,7 +4442,7 @@ const {
4435
4442
  transform: "translate3d(0, 100%, 0)",
4436
4443
  visibility: "hidden"
4437
4444
  }
4438
- }), gi = new r("slideOutLeft", {
4445
+ }), gi = new s("slideOutLeft", {
4439
4446
  from: {
4440
4447
  transform: "translate3d(0, 0, 0)"
4441
4448
  },
@@ -4443,7 +4450,7 @@ const {
4443
4450
  transform: "translate3d(-100%, 0, 0)",
4444
4451
  visibility: "hidden"
4445
4452
  }
4446
- }), hi = new r("slideOutRight", {
4453
+ }), hi = new s("slideOutRight", {
4447
4454
  from: {
4448
4455
  transform: "translate3d(0, 0, 0)"
4449
4456
  },
@@ -4451,7 +4458,7 @@ const {
4451
4458
  transform: "translate3d(100%, 0, 0)",
4452
4459
  visibility: "hidden"
4453
4460
  }
4454
- }), yi = new r("slideOutUp", {
4461
+ }), yi = new s("slideOutUp", {
4455
4462
  from: {
4456
4463
  transform: "translate3d(0, 0, 0)"
4457
4464
  },
@@ -4502,7 +4509,7 @@ const {
4502
4509
  ...Xa(),
4503
4510
  ...Co(),
4504
4511
  ...Ro(),
4505
- ...Po(),
4512
+ ...To(),
4506
4513
  ...Eo(),
4507
4514
  ...Go(),
4508
4515
  ...ri(),
@@ -4530,7 +4537,7 @@ function xi(e) {
4530
4537
  return [vi(a)];
4531
4538
  }, e);
4532
4539
  }
4533
- const Vi = /* @__PURE__ */ j({
4540
+ const Vi = /* @__PURE__ */ V({
4534
4541
  name: "PageTranstion",
4535
4542
  props: {
4536
4543
  disabled: {
@@ -4556,36 +4563,36 @@ const Vi = /* @__PURE__ */ j({
4556
4563
  }), {
4557
4564
  wrapSSR: o,
4558
4565
  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)
4566
+ } = xi(a), u = f(() => [c(!1), `${a}-enter`, i.value].join(" ")), m = f(() => [c(!0), `${a}-leave`, i.value].join(" ")), c = (p) => {
4567
+ const B = je.preset.find((l) => e.name == l.name);
4568
+ if (B == null)
4562
4569
  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];
4570
+ let y = "";
4571
+ e.direction == null ? y = B.directions[0] : y = B.directions.find((l) => l == e.direction) || "", y = y == null || y === "default" ? "" : y, y != "" && (y = p && e.reverse ? S(y, B.directions) : y, y = y[0].toUpperCase() + y.substring(1));
4572
+ const P = p ? "Out" : "In";
4573
+ return B.name + P + y;
4574
+ }, S = (p, B) => {
4575
+ if (p.length == 0 || p == "x" || p == "y")
4576
+ return p;
4577
+ let y = B.indexOf(p);
4578
+ return y = y % 2 == 1 ? y - 1 : y + 1, B[y];
4572
4579
  };
4573
4580
  return () => {
4574
- var b;
4575
- return e.disabled ? (b = t.default) == null ? void 0 : b.call(t) : o(n(Ft, {
4581
+ var p;
4582
+ return e.disabled ? (p = t.default) == null ? void 0 : p.call(t) : o(n(Ft, {
4576
4583
  enterActiveClass: u.value,
4577
- leaveActiveClass: f.value
4584
+ leaveActiveClass: m.value
4578
4585
  }, {
4579
4586
  default: () => {
4580
- var O;
4581
- return [(O = t.default) == null ? void 0 : O.call(t)];
4587
+ var B;
4588
+ return [(B = t.default) == null ? void 0 : B.call(t)];
4582
4589
  }
4583
4590
  }));
4584
4591
  };
4585
4592
  }
4586
4593
  });
4587
4594
  export {
4588
- gt as BaseMenu,
4595
+ ht as BaseMenu,
4589
4596
  ma as DefaultHeader,
4590
4597
  Ni as GProLayout,
4591
4598
  ke as GlobalFooter,
@@ -4607,5 +4614,5 @@ export {
4607
4614
  Cn as handleThemeConfig,
4608
4615
  Rn as provideProLayoutContext,
4609
4616
  Mn as useContext,
4610
- Q as useProLayoutContext
4617
+ ee as useProLayoutContext
4611
4618
  };