@gx-design-vue/pro-layout 0.1.0-beta.34 → 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,16 +1,16 @@
1
- import { defineComponent as V, createVNode as n, mergeProps as X, provide as Fe, readonly as Rt, inject as ot, resolveComponent as it, computed as b, isVNode as ie, Fragment as Z, toRefs as Ce, unref as A, createTextVNode as ne, ref as Re, reactive as lt, watch as de, withDirectives as kt, vShow as Bt, watchEffect as $t, Transition as Pt } from "vue";
2
- import { Spin as ve, Menu as ae, ConfigProvider as Te, Layout as ce, Drawer as be, Breadcrumb as Ft, Card as Tt, LayoutFooter as Lt, Tabs as Le, Dropdown as Ye, Tooltip as we, List as oe, Switch as rt, TabPane as Dt, Select as ge, message as Nt, Divider as Me, Alert as zt, Button as Ht } from "ant-design-vue";
3
- 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 H, Keyframe as s, useProStyle as Q, useProConfigContext as Se, useStyle as Ne, mergeToken as ze, colorList as qt } from "@gx-design-vue/pro-provider";
6
- 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 W, isBoolean as Qt, getPrefixCls as me, classNames as dt, getLevelData as en, isArray as tn, isBrowser as nn, merge as an } from "@gx-design-vue/pro-utils";
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";
13
+ import { GColorPicker as Ge } from "@gx-design-vue/color-picker";
14
14
  const dn = /* @__PURE__ */ V({
15
15
  name: "PageLoading",
16
16
  props: {
@@ -31,7 +31,7 @@ const dn = /* @__PURE__ */ V({
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__ */ V({
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,7 +55,7 @@ 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
61
  default: H.theme
@@ -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, m, c, I, p, R, h, B, l, r, M, O, S, f, y, x, C, g, w, $, F, N, z, j, T, _, G, K, q, d, v, k, P, D;
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 = (m = (u = t.layout) == null ? void 0 : u[o]) == null ? void 0 : m.colorBgMenu, i.colorSubItemBg = (I = (c = t.layout) == null ? void 0 : c[o]) == null ? void 0 : I.colorSubItemBg, i.colorItemBgSelected = (R = (p = t.layout) == null ? void 0 : p[o]) == null ? void 0 : R.colorBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (B = (h = t.layout) == null ? void 0 : h[o]) == null ? void 0 : B.colorBgMenuItemSelected, i.colorItemText = (r = (l = t.layout) == null ? void 0 : l[o]) == null ? void 0 : r.colorTextMenu, i.colorItemTextHover = (O = (M = t.layout) == null ? void 0 : M[o]) == null ? void 0 : O.colorTextMenuHover, i.colorItemTextSelected = (f = (S = t.layout) == null ? void 0 : S[o]) == null ? void 0 : f.colorTextMenuSelected, i.colorItemTextSelectedHorizontal = (x = (y = t.layout) == null ? void 0 : y[o]) == null ? void 0 : x.colorTextMenuSelected, o === "sider" && (i.colorItemBgHover = (g = (C = t.layout) == null ? void 0 : C[o]) == null ? void 0 : g.colorBgMenuItemHover)) : a === "dark" && (i.colorItemBg = ($ = (w = t.layout) == null ? void 0 : w[o]) == null ? void 0 : $.colorDarkBgMenu, i.colorSubItemBg = (N = (F = t.layout) == null ? void 0 : F[o]) == null ? void 0 : N.colorDarkSubItemBg, i.colorItemBgSelected = (j = (z = t.layout) == null ? void 0 : z[o]) == null ? void 0 : j.colorDarkBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (_ = (T = t.layout) == null ? void 0 : T[o]) == null ? void 0 : _.colorDarkBgMenuItemSelected, i.colorItemText = (K = (G = t.layout) == null ? void 0 : G[o]) == null ? void 0 : K.colorDarkTextMenu, i.colorItemTextHover = (d = (q = t.layout) == null ? void 0 : q[o]) == null ? void 0 : d.colorDarkTextMenuHover, i.colorItemTextSelected = (k = (v = t.layout) == null ? void 0 : v[o]) == null ? void 0 : k.colorDarkTextMenuSelected, i.colorItemTextSelectedHorizontal = (D = (P = t.layout) == null ? void 0 : P[o]) == null ? void 0 : D.colorDarkTextMenuSelected, o === "header" && (i.colorActiveBarHeight = 0)), i;
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: [
@@ -328,9 +328,9 @@ function Li(e, t) {
328
328
  const u = [], m = a.split("-");
329
329
  for (let c = 0; c < m.length; c += 1)
330
330
  u.push(He(m).splice(0, c + 1).join("-"));
331
- return e.filter((c) => u.some((I) => {
331
+ return e.filter((c) => u.some((S) => {
332
332
  var p;
333
- return I === ((p = c == null ? void 0 : c.meta) == null ? void 0 : p.key) || "";
333
+ return S === ((p = c == null ? void 0 : c.meta) == null ? void 0 : p.key) || "";
334
334
  }));
335
335
  }
336
336
  return [];
@@ -357,16 +357,16 @@ const In = (e = Symbol(), t = "Context.Provider") => V({
357
357
  }
358
358
  },
359
359
  setup(o, { slots: i }) {
360
- return Fe(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) => {
365
+ }), Mn = (e = Symbol(), t) => it(e, t || {}), We = Symbol("pro-layout-context"), On = () => In(We, "ProLayoutContext.Provider"), Rn = (e) => {
366
366
  Fe(We, e);
367
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,14 +378,14 @@ 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({
388
+ const u = Wt({
389
389
  scriptUrl: o || H.iconfontUrl
390
390
  });
391
391
  return o ? n(u, {
@@ -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,7 +408,7 @@ xe.props = {
408
408
  className: String,
409
409
  iconfontUrl: String
410
410
  };
411
- const gt = /* @__PURE__ */ V({
411
+ const ht = /* @__PURE__ */ V({
412
412
  name: "BaseMenu",
413
413
  props: Ie,
414
414
  setup(e) {
@@ -427,77 +427,77 @@ const gt = /* @__PURE__ */ V({
427
427
  var r;
428
428
  (r = e.onClick) == null || r.call(e, ...l);
429
429
  }, c = (l, r) => {
430
- var S;
431
- const M = l.target || "", O = mt(M);
432
- ((S = t.currentRoute.value) == null ? void 0 : S.fullPath) !== r.to && O && M && l.targetStatus === 1 && window.open(M);
433
- }, I = it("router-link"), p = (l = []) => l.map((r) => R(r)).filter((r) => r), R = (l) => {
434
- var O, S, f, y, x, C, g, w, $;
435
- if (Array.isArray(l.children) && l.children.length > 0 && !((O = l == null ? void 0 : l.meta) != null && O.hideInMenu) && !((S = l == null ? void 0 : l.meta) != null && S.hideChildrenInMenu)) {
436
- let F;
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
440
  children: p(l.children)
441
441
  });
442
- const N = (f = l.meta) == null ? void 0 : f.title, z = (y = l.meta) != null && y.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]), j = ((x = l.meta) == null ? void 0 : x.type) === "group", T = j ? ae.ItemGroup : ae.SubMenu;
448
+ }, [D]), j = ((x = l.meta) == null ? void 0 : x.type) === "group", T = j ? ae.ItemGroup : ae.SubMenu;
449
449
  return n(T, {
450
450
  title: z,
451
451
  key: l.path,
452
452
  icon: j ? null : n(xe, {
453
453
  className: o,
454
- icon: (C = l.meta) == null ? void 0 : C.icon,
454
+ icon: (I = l.meta) == null ? void 0 : I.icon,
455
455
  iconfontUrl: e.iconfontUrl,
456
- iconType: (g = l.meta) == null ? void 0 : g.iconType
456
+ iconType: (h = l.meta) == null ? void 0 : h.iconType
457
457
  }, null)
458
- }, Ge(F = p(l.children)) ? F : {
459
- default: () => [F]
458
+ }, qe(k = p(l.children)) ? k : {
459
+ default: () => [k]
460
460
  });
461
461
  }
462
- const [r, M] = h(l);
462
+ const [r, M] = y(l);
463
463
  return e.menuItemRender && e.menuItemRender({
464
464
  item: l,
465
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(r) ? r : {
472
+ }, qe(r) ? r : {
473
473
  default: () => [r]
474
474
  });
475
- }, h = (l) => {
476
- var x, C, g, w, $;
475
+ }, y = (l) => {
476
+ var x, I, h, C, R;
477
477
  const r = {
478
478
  ...l.meta
479
- }, M = r.targetStatus === 1 && r.target ? "a" : I, O = {
479
+ }, M = r.targetStatus === 1 && r.target ? "a" : S, O = {
480
480
  to: l.linkPath || l.path || ""
481
- }, S = (x = l.meta) == null ? void 0 : x.title, f = (C = l.meta) != null && C.icon ? n(M, X(O, {
481
+ }, w = (x = l.meta) == null ? void 0 : x.title, g = (I = l.meta) != null && I.icon ? n(M, X(O, {
482
482
  class: "gx-pro-sider-menu-item",
483
483
  onClick: () => c(r, O)
484
484
  }), {
485
485
  default: () => [n("span", {
486
486
  class: "gx-pro-sider-menu-item-title"
487
- }, [S])]
487
+ }, [w])]
488
488
  }) : n(M, X(O, {
489
489
  class: "gx-pro-sider-menu-item",
490
490
  onClick: () => c(r, O)
491
491
  }), {
492
- default: () => [n("span", null, [S])]
493
- }), y = ((g = l.meta) == null ? void 0 : g.icon) && n(xe, {
492
+ default: () => [n("span", null, [w])]
493
+ }), b = ((h = l.meta) == null ? void 0 : h.icon) && n(xe, {
494
494
  className: o,
495
- icon: (w = l.meta) == null ? void 0 : w.icon,
495
+ icon: (C = l.meta) == null ? void 0 : C.icon,
496
496
  iconfontUrl: e.iconfontUrl,
497
- iconType: ($ = l.meta) == null ? void 0 : $.iconType
497
+ iconType: (R = l.meta) == null ? void 0 : R.iconType
498
498
  }, null) || void 0;
499
- return [f, y];
500
- }, B = b(() => p(e.menuData));
499
+ return [g, b];
500
+ }, P = f(() => p(e.menuData));
501
501
  return () => n(ae, X({
502
502
  key: "Menu",
503
503
  inlineIndent: 16,
@@ -509,10 +509,10 @@ const gt = /* @__PURE__ */ V({
509
509
  onSelect: u,
510
510
  onClick: m
511
511
  }, e.menuProps), {
512
- default: () => [B.value]
512
+ default: () => [P.value]
513
513
  });
514
514
  }
515
- }), ht = new s("pro-layout-title-hide", {
515
+ }), yt = new s("pro-layout-title-hide", {
516
516
  "0%": { display: "none", opacity: 0 },
517
517
  "99%": {
518
518
  display: "none",
@@ -522,7 +522,7 @@ const gt = /* @__PURE__ */ V({
522
522
  display: "block",
523
523
  opacity: 1
524
524
  }
525
- }), kn = (e) => {
525
+ }), Bn = (e) => {
526
526
  const t = `${e.antCls}-menu`;
527
527
  return {
528
528
  [`${e.proComponentsCls}-basic-layout`]: {
@@ -533,8 +533,8 @@ const gt = /* @__PURE__ */ V({
533
533
  }
534
534
  }
535
535
  };
536
- }, Bn = (e) => {
537
- var t, a, o, i, u, m, c, I, p, R, h, B;
536
+ }, kn = (e) => {
537
+ var t, a, o, i, u, m, c, S, p, B, y, P;
538
538
  return {
539
539
  [`${e.proComponentsCls}-basic-layout`]: {
540
540
  [`&${e.proComponentsCls}-basic-layout-wide`]: {
@@ -583,10 +583,10 @@ const gt = /* @__PURE__ */ V({
583
583
  background: "transparent"
584
584
  },
585
585
  "&-footer": {
586
- color: (I = (c = e.layout) == null ? void 0 : c.sider) == null ? void 0 : I.colorDarkTextMenu,
586
+ color: (S = (c = e.layout) == null ? void 0 : c.sider) == null ? void 0 : S.colorDarkTextMenu,
587
587
  paddingBlockEnd: 16,
588
588
  fontSize: e.fontSize,
589
- animationName: ht,
589
+ animationName: yt,
590
590
  animationDuration: ".4s",
591
591
  animationTimingFunction: "ease"
592
592
  }
@@ -598,8 +598,8 @@ const gt = /* @__PURE__ */ V({
598
598
  zIndex: "100",
599
599
  height: "100%",
600
600
  "&-mix": {
601
- height: `calc(100% - ${((R = (p = e.layout) == null ? void 0 : p.header) == null ? void 0 : R.heightLayoutHeader) || H.headerHeight}px)`,
602
- insetBlockStart: `${((B = (h = e.layout) == null ? void 0 : h.header) == null ? void 0 : B.heightLayoutHeader) || H.headerHeight}px`
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`
603
603
  }
604
604
  }
605
605
  }
@@ -647,7 +647,7 @@ const gt = /* @__PURE__ */ V({
647
647
  marginInlineEnd: 0,
648
648
  marginInlineStart: 12,
649
649
  color: e.colorWhite,
650
- animationName: ht,
650
+ animationName: yt,
651
651
  animationDuration: ".2s",
652
652
  fontWeight: 600,
653
653
  fontSize: 18,
@@ -672,7 +672,7 @@ const gt = /* @__PURE__ */ V({
672
672
  }
673
673
  }
674
674
  }
675
- }), yt = (e, t) => e ? typeof e == "string" ? n("img", {
675
+ }), bt = (e, t) => e ? typeof e == "string" ? n("img", {
676
676
  src: e,
677
677
  alt: "logo",
678
678
  style: t
@@ -685,21 +685,21 @@ const gt = /* @__PURE__ */ V({
685
685
  } = e, m = e[t || ""];
686
686
  if (m === !1)
687
687
  return null;
688
- const c = yt(a, o), I = i && n("h1", null, [i]);
689
- return typeof m == "function" ? m(c, e.collapsed ? null : I, e) : n(Z, null, [c || null, e.collapsed && u === "side" ? null : I]);
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
690
  }, Ae = /* @__PURE__ */ V({
691
691
  name: "LogoContent",
692
692
  props: re,
693
693
  setup(e) {
694
694
  const {
695
695
  getPrefixCls: t
696
- } = ee(), a = b(() => e.layout === "side" || e.layout === "simple"), o = b(() => t({
696
+ } = ee(), a = f(() => e.layout === "side" || e.layout === "simple"), o = f(() => t({
697
697
  suffixCls: a.value || e.drawer ? "sider" : "global-header",
698
698
  isPor: !0
699
699
  })), {
700
700
  wrapSSR: i,
701
701
  hashId: u
702
- } = Q("ProLayoutLogo", [Pn]), m = b(() => Fn(e, e.renderKey));
702
+ } = Q("ProLayoutLogo", [Pn]), m = f(() => Fn(e, e.renderKey));
703
703
  return () => i(n("div", {
704
704
  id: "logo",
705
705
  class: {
@@ -721,8 +721,8 @@ function Tn(e) {
721
721
  const {
722
722
  Sider: Ln
723
723
  } = ce, {
724
- Item: qe
725
- } = ae, bt = (e) => e ? n(Wt, null, null) : n(At, null, null), Ze = /* @__PURE__ */ V({
724
+ Item: Ze
725
+ } = ae, pt = (e) => e ? n(At, null, null) : n(Kt, null, null), Je = /* @__PURE__ */ V({
726
726
  props: Y,
727
727
  inheritAttrs: !1,
728
728
  setup(e) {
@@ -736,32 +736,32 @@ const {
736
736
  token: m
737
737
  } = Se(), {
738
738
  theme: c,
739
- layout: I,
739
+ layout: S,
740
740
  isMobile: p,
741
- menuLoading: R,
742
- breakpoint: h,
743
- fixSiderbar: B,
741
+ menuLoading: B,
742
+ breakpoint: y,
743
+ fixSiderbar: P,
744
744
  collapsed: l,
745
745
  siderWidth: r,
746
746
  collapsedWidth: M,
747
747
  menuExtraRender: O,
748
- menuContentRender: S,
749
- menuFooterRender: f,
750
- collapsedButtonRender: y,
748
+ menuContentRender: w,
749
+ menuFooterRender: g,
750
+ collapsedButtonRender: b,
751
751
  links: x
752
- } = Ce(e), C = t({
752
+ } = Ce(e), I = t({
753
753
  suffixCls: "sider",
754
754
  isPor: !0
755
755
  }), {
756
- wrapSSR: g,
757
- hashId: w
758
- } = Q("ProLayoutSiderMenu", [kn, Bn, $n], C), $ = b(() => e.layout === "wide"), F = b(() => e.layout === "mix" && !e.isMobile && e.splitMenus), N = b(() => I.value === "side" || I.value === "simple"), z = b(() => (e.layout === "mix" || $.value) && "light" || c.value), j = b(() => I.value === "top" ? [] : i.value), T = b(() => e.collapsed ? e.collapsedWidth : e.siderWidth), _ = b(() => [w.value, C, p.value ? "shadow" : null, `${C}-${z.value}`, B.value && e.layout !== "wide" ? `${C}-fixed` : null]), G = b(() => {
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(() => {
759
759
  var d;
760
760
  return typeof x.value == "function" ? (d = x.value) == null ? void 0 : d.call(x) : x.value;
761
- }), K = b(() => y.value !== !1 ? y.value || bt : !1), q = (d) => {
761
+ }), K = f(() => b.value !== !1 ? b.value || pt : !1), q = (d) => {
762
762
  var v;
763
763
  if (e.onSelect) {
764
- if (A(F)) {
764
+ if (A(k)) {
765
765
  e.onSelect([(v = a == null ? void 0 : a.value) == null ? void 0 : v[0], ...d]);
766
766
  return;
767
767
  }
@@ -769,14 +769,14 @@ const {
769
769
  }
770
770
  };
771
771
  return () => {
772
- var P;
773
- const d = N.value ? n(Ae, X({
772
+ var F;
773
+ const d = D.value ? n(Ae, X({
774
774
  drawer: p.value
775
- }, e), null) : null, v = O.value && ((P = O.value) == null ? void 0 : P.call(O, e)), k = n(gt, {
776
- class: `${C}-menu ${w.value}`,
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}`,
777
777
  theme: z.value,
778
778
  mode: "inline",
779
- menuData: F.value ? o.value : j.value,
779
+ menuData: k.value ? o.value : j.value,
780
780
  iconfontUrl: e.iconfontUrl,
781
781
  openKeys: u.value,
782
782
  selectedKeys: a.value,
@@ -786,16 +786,16 @@ const {
786
786
  style: {
787
787
  width: "100%"
788
788
  },
789
- onOpenKeys: (D) => {
789
+ onOpenKeys: (N) => {
790
790
  var U;
791
- return e.onOpenKeys && ((U = e.onOpenKeys) == null ? void 0 : U.call(e, D));
791
+ return e.onOpenKeys && ((U = e.onOpenKeys) == null ? void 0 : U.call(e, N));
792
792
  },
793
793
  onSelect: q
794
794
  }, null);
795
- return F.value && A(o.value).length === 0 || j.value.length === 0 ? null : g(n(Te, {
795
+ return k.value && A(o.value).length === 0 || j.value.length === 0 ? null : h(n(Te, {
796
796
  theme: {
797
797
  components: {
798
- Menu: ft({
798
+ Menu: gt({
799
799
  radiusItem: 4,
800
800
  colorActiveBarWidth: 0,
801
801
  colorActiveBarHeight: 0,
@@ -805,7 +805,7 @@ const {
805
805
  }
806
806
  }
807
807
  }, {
808
- default: () => [B.value && n("div", {
808
+ default: () => [P.value && n("div", {
809
809
  style: {
810
810
  width: `${T.value}px`,
811
811
  overflow: "hidden",
@@ -820,51 +820,51 @@ const {
820
820
  class: _.value,
821
821
  style: {
822
822
  overflow: "hidden",
823
- zIndex: B.value ? 101 : void 0,
824
- 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`,
825
825
  top: e.layout === "wide" ? `${e.headerHeight + 20}px` : void 0,
826
826
  height: e.layout === "wide" ? `calc(100vh - ${e.headerHeight + 20 * 2}px)` : void 0
827
827
  },
828
828
  theme: z.value,
829
- breakpoint: h.value || void 0,
829
+ breakpoint: y.value || void 0,
830
830
  collapsed: l.value,
831
831
  width: r.value,
832
832
  collapsedWidth: M.value
833
833
  }, {
834
834
  default: () => {
835
- var D, U;
836
- return [R.value && n("div", {
837
- 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]
838
838
  }, [n(ve, {
839
- spinning: R.value
839
+ spinning: B.value
840
840
  }, null)]), d || null, v && !e.collapsed && n("div", {
841
841
  class: {
842
- [`${w.value}`]: !0,
843
- [`${C}-extra`]: !0,
844
- [`${C}-extra-no-logo`]: !d
842
+ [`${C.value}`]: !0,
843
+ [`${I}-extra`]: !0,
844
+ [`${I}-extra-no-logo`]: !d
845
845
  }
846
846
  }, [v]), n("div", {
847
847
  style: {
848
848
  flex: "1 1 0%",
849
849
  overflow: "hidden auto"
850
850
  }
851
- }, [S.value && ((D = S.value) == null ? void 0 : D.call(S, e, k)) || k]), e.layout !== "wide" && n("div", {
852
- class: `${C}-links ${w.value}`
851
+ }, [w.value && ((N = w.value) == null ? void 0 : N.call(w, e, $)) || $]), e.layout !== "wide" && n("div", {
852
+ class: `${I}-links ${C.value}`
853
853
  }, [n(ae, {
854
854
  theme: z.value,
855
855
  inlineIndent: 16,
856
- class: `${C}-link-menu ${w.value}`,
856
+ class: `${I}-link-menu ${C.value}`,
857
857
  selectedKeys: [],
858
858
  openKeys: [],
859
859
  mode: "inline"
860
860
  }, {
861
- default: () => [(G.value || []).map((E, te) => n(qe, {
862
- class: `${C}-link ${w.value}`,
861
+ default: () => [(G.value || []).map((E, te) => n(Ze, {
862
+ class: `${I}-link ${C.value}`,
863
863
  key: te
864
864
  }, Tn(E) ? E : {
865
865
  default: () => [E]
866
- })), K.value && !p.value && n(qe, {
867
- class: `${C}-collapsed-button ${w.value}`,
866
+ })), K.value && !p.value && n(Ze, {
867
+ class: `${I}-collapsed-button ${C.value}`,
868
868
  title: !1,
869
869
  key: "collapsed",
870
870
  onClick: () => {
@@ -877,15 +877,15 @@ const {
877
877
  return [(E = K.value) == null ? void 0 : E.call(K, l.value)];
878
878
  }
879
879
  })]
880
- })]), f.value && n("div", {
881
- class: `${C}-footer ${w.value}`
882
- }, [(U = f.value) == null ? void 0 : U.call(f, e)])];
880
+ })]), g.value && n("div", {
881
+ class: `${I}-footer ${C.value}`
882
+ }, [(U = g.value) == null ? void 0 : U.call(g, e)])];
883
883
  }
884
884
  })]
885
885
  }));
886
886
  };
887
887
  }
888
- }), ke = /* @__PURE__ */ V({
888
+ }), Be = /* @__PURE__ */ V({
889
889
  name: "SiderMenuWrapper",
890
890
  inheritAttrs: !1,
891
891
  props: {
@@ -915,14 +915,14 @@ const {
915
915
  flexDirection: "row"
916
916
  }
917
917
  }, {
918
- default: () => [n(Ze, X(e, {
918
+ default: () => [n(Je, X(e, {
919
919
  collapsed: e.isMobile ? !1 : e.collapsed
920
920
  }), null)]
921
- }) : n(Ze, e, null)]);
921
+ }) : n(Je, e, null)]);
922
922
  }
923
- }), pt = Symbol("pro-app-context"), Dn = (e = Symbol(), t) => ot(e, t || {}), Nn = (e) => {
924
- Fe(pt, e);
925
- }, 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, []);
926
926
  process.env.NODE_ENV !== "production" && Object.freeze({});
927
927
  process.env.NODE_ENV !== "production" && Object.freeze([]);
928
928
  const Hn = Object.prototype.toString;
@@ -972,10 +972,10 @@ const Kn = ({ suffixCls: e, customizePrefixCls: t, isPor: a, className: o }) =>
972
972
  }), {
973
973
  wrapSSR: o,
974
974
  hashId: i
975
- } = Q("BaseApp", [Un], a), u = b(() => An(En, t, e)), m = b(() => [i.value, a, e.rootClassName]);
975
+ } = Q("BaseApp", [Un], a), u = f(() => An(En, t, e)), m = f(() => [i.value, a, e.rootClassName]);
976
976
  return Nn({
977
- emptyText: b(() => u.value.emptyText),
978
- indicator: b(() => u.value.indicator)
977
+ emptyText: f(() => u.value.emptyText),
978
+ indicator: f(() => u.value.indicator)
979
979
  }), () => {
980
980
  var c;
981
981
  return o(n("div", {
@@ -1006,8 +1006,11 @@ const fe = {
1006
1006
  },
1007
1007
  pageHeaderStyle: L.style,
1008
1008
  pageContentStyle: L.style,
1009
+ pageChildrenContentStyle: L.style,
1009
1010
  loading: L.bool.def(!1),
1010
- usePageCard: L.bool.def(!0),
1011
+ usePageCard: {
1012
+ type: [Boolean]
1013
+ },
1011
1014
  waterMark: L.bool.def(!0),
1012
1015
  pageCardProps: Object
1013
1016
  }, Xn = (e) => ({
@@ -1037,30 +1040,30 @@ const fe = {
1037
1040
  }), {
1038
1041
  wrapSSR: i,
1039
1042
  hashId: u
1040
- } = Q("ProPageHeader", [Xn], o), m = b(() => {
1043
+ } = Q("ProPageHeader", [Xn], o), m = f(() => {
1041
1044
  var c;
1042
1045
  return {
1043
1046
  ...t.value,
1044
1047
  itemRender: ((c = t.value) == null ? void 0 : c.itemRender) || (({
1045
- route: I
1046
- }) => I.path ? n(Vt, {
1047
- to: I.path
1048
+ route: S
1049
+ }) => S.path ? n(jt, {
1050
+ to: S.path
1048
1051
  }, {
1049
- default: () => [I.breadcrumbName]
1050
- }) : I.breadcrumbName)
1052
+ default: () => [S.breadcrumbName]
1053
+ }) : S.breadcrumbName)
1051
1054
  };
1052
1055
  });
1053
1056
  return () => {
1054
- var c, I;
1057
+ var c, S;
1055
1058
  return i(n("div", {
1056
1059
  class: [`${o}`, u.value, `${o}-has-breadcrumb`]
1057
- }, [e.breadcrumb ? (c = e.breadcrumb) == null ? void 0 : c.call(e, m.value) : n(Ft, m.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", {
1058
1061
  class: [`${o}-content`, u.value]
1059
- }, [(I = e.content) == null ? void 0 : I.call(e)])]));
1062
+ }, [(S = e.content) == null ? void 0 : S.call(e)])]));
1060
1063
  };
1061
1064
  }
1062
1065
  }), _n = (e) => {
1063
- var t, a, o, i, u, m, c, I;
1066
+ var t, a, o, i, u, m, c, S;
1064
1067
  return {
1065
1068
  [`${e.proComponentsCls}-basic-layout`]: {
1066
1069
  [e.componentCls]: {
@@ -1074,7 +1077,7 @@ const fe = {
1074
1077
  [e.componentCls]: {
1075
1078
  ["&-children-content"]: {
1076
1079
  marginInline: ((m = (u = e.layout) == null ? void 0 : u.pageContainer) == null ? void 0 : m.paddingBlockPageContainerContent) ?? 24,
1077
- marginBlockStart: ((I = (c = e.layout) == null ? void 0 : c.pageContainer) == null ? void 0 : I.paddingBlockPageContainerContent) ?? 24,
1080
+ marginBlockStart: ((S = (c = e.layout) == null ? void 0 : c.pageContainer) == null ? void 0 : S.paddingBlockPageContainerContent) ?? 24,
1078
1081
  padding: "inherit"
1079
1082
  }
1080
1083
  }
@@ -1105,63 +1108,65 @@ const Di = /* @__PURE__ */ V({
1105
1108
  waterMark: u,
1106
1109
  pageHeaderRender: m,
1107
1110
  pageContentStyle: c,
1108
- pageCardProps: I,
1109
- usePageCard: p,
1110
- waterMarkProps: R
1111
+ pageChildrenContentStyle: S,
1112
+ pageCardProps: p,
1113
+ usePageCard: B,
1114
+ waterMarkProps: y
1111
1115
  } = ee(), {
1112
- indicator: h
1113
- } = zn(), B = o({
1116
+ indicator: P
1117
+ } = zn(), l = o({
1114
1118
  suffixCls: "page-container",
1115
1119
  isPor: !0
1116
- }), l = o({
1120
+ }), r = o({
1117
1121
  suffixCls: "grid-content",
1118
1122
  isPor: !0
1119
- }), r = b(() => e.pageCardProps || I.value), M = b(() => e.waterMarkProps || R.value || {}), O = b(() => e.pageContentStyle || c.value), {
1120
- wrapSSR: S,
1121
- hashId: f
1122
- } = Gn(B), y = () => {
1123
- var C;
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,
1125
+ hashId: I
1126
+ } = Gn(l), h = () => {
1127
+ var R;
1124
1128
  return n("div", {
1125
- class: `${B}-children-content ${f.value}`
1126
- }, [(Qt(e.usePageCard) ? e.usePageCard : p.value) ? n(Tt, X(r.value ? le(r.value, ["loading", "bodyStyle"]) : {}, {
1129
+ class: `${l}-children-content ${I.value}`,
1130
+ style: g.value
1131
+ }, [b.value ? n(Lt, X(M.value ? le(M.value, ["loading", "bodyStyle"]) : {}, {
1127
1132
  style: i.value ? {
1128
1133
  minHeight: "853px"
1129
1134
  } : void 0,
1130
1135
  bordered: !1
1131
1136
  }), {
1132
1137
  default: () => {
1133
- var g;
1134
- return [(g = t.default) == null ? void 0 : g.call(t)];
1138
+ var k;
1139
+ return [(k = t.default) == null ? void 0 : k.call(t)];
1135
1140
  }
1136
- }) : (C = t.default) == null ? void 0 : C.call(t)]);
1137
- }, x = () => {
1138
- let C;
1139
- return n(Z, null, [e.waterMark && u.value ? n(Jt, M.value, qn(C = y()) ? C : {
1140
- default: () => [C]
1141
- }) : y()]);
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()]);
1142
1147
  };
1143
1148
  return () => {
1144
- const C = W(t, e, "pageHeaderRender") || m.value, g = W(t, e, "breadcrumbRender"), w = W(t, e, "contentRender");
1145
- return S(n(ve, {
1149
+ const R = W(t, e, "pageHeaderRender") || m.value, k = W(t, e, "breadcrumbRender"), D = W(t, e, "contentRender");
1150
+ return x(n(ve, {
1146
1151
  spinning: e.loading,
1147
- indicator: h == null ? void 0 : h.value
1152
+ indicator: P == null ? void 0 : P.value
1148
1153
  }, {
1149
1154
  default: () => [n("div", {
1150
1155
  style: a.style,
1151
1156
  class: {
1152
- [`${f.value}`]: !0,
1153
- [`${B}`]: !0
1157
+ [`${I.value}`]: !0,
1158
+ [`${l}`]: !0
1154
1159
  }
1155
- }, [!i.value && C !== !1 && (C || n(Yn, {
1160
+ }, [!i.value && R !== !1 && (R || n(Yn, {
1156
1161
  style: e.pageHeaderStyle,
1157
- breadcrumb: g,
1158
- content: w
1162
+ breadcrumb: k,
1163
+ content: D
1159
1164
  }, null)), n("div", {
1160
- class: [l, f.value]
1165
+ class: [r, I.value]
1161
1166
  }, [n("div", {
1162
- class: `${l}-children ${f.value}`,
1163
- style: O.value
1164
- }, [x()])])])]
1167
+ class: `${r}-children ${I.value}`,
1168
+ style: w.value
1169
+ }, [C()])])])]
1165
1170
  }));
1166
1171
  };
1167
1172
  }
@@ -1205,7 +1210,7 @@ const Di = /* @__PURE__ */ V({
1205
1210
  onOpenKeys: Y.onOpenKeys,
1206
1211
  onMenuHeaderClick: Function,
1207
1212
  onSelect: Y.onSelect
1208
- }, vt = {
1213
+ }, xt = {
1209
1214
  ...Ke,
1210
1215
  headerTitleRender: {
1211
1216
  type: [Object, Function],
@@ -1225,7 +1230,7 @@ const Di = /* @__PURE__ */ V({
1225
1230
  hasSiderMenu: Boolean,
1226
1231
  collapsedWidth: Y.collapsedWidth,
1227
1232
  siderWidth: Y.siderWidth
1228
- }, xt = {
1233
+ }, Ct = {
1229
1234
  loading: L.looseBool,
1230
1235
  isMobile: Y.isMobile,
1231
1236
  collapsed: Ie.collapsed,
@@ -1272,14 +1277,14 @@ const Di = /* @__PURE__ */ V({
1272
1277
  }
1273
1278
  }
1274
1279
  }
1275
- }), Ct = [{
1280
+ }), wt = [{
1276
1281
  key: "Ant Design Pro",
1277
1282
  title: "Ant Design Pro",
1278
1283
  href: "https://pro.ant.design",
1279
1284
  blankTarget: !0
1280
1285
  }, {
1281
1286
  key: "gitee",
1282
- title: n(Kt, null, null),
1287
+ title: n(Ut, null, null),
1283
1288
  href: "https://gitee.com/gx12358/vue-antd-admin",
1284
1289
  blankTarget: !0
1285
1290
  }, {
@@ -1287,12 +1292,12 @@ const Di = /* @__PURE__ */ V({
1287
1292
  title: "Ant Design Vue",
1288
1293
  href: "https://next.antdv.com/components/overview-cn/",
1289
1294
  blankTarget: !0
1290
- }], Be = /* @__PURE__ */ V({
1295
+ }], ke = /* @__PURE__ */ V({
1291
1296
  name: "GlobalFooter",
1292
1297
  props: {
1293
1298
  links: {
1294
1299
  type: [Array, Boolean],
1295
- default: Ct
1300
+ default: wt
1296
1301
  },
1297
1302
  copyright: {
1298
1303
  type: [Object, Function, Boolean, String],
@@ -1307,7 +1312,7 @@ const Di = /* @__PURE__ */ V({
1307
1312
  wrapSSR: a,
1308
1313
  hashId: o
1309
1314
  } = Q("ProLayoutFooter", [Zn], t);
1310
- return () => a(n(Lt, {
1315
+ return () => a(n(Dt, {
1311
1316
  style: {
1312
1317
  padding: 0
1313
1318
  }
@@ -1328,12 +1333,12 @@ const Di = /* @__PURE__ */ V({
1328
1333
  }, [e.copyright])])])]
1329
1334
  }));
1330
1335
  }
1331
- }), wt = {
1336
+ }), St = {
1332
1337
  ...se,
1333
1338
  ...Ke,
1334
1339
  ...Y,
1335
- ...vt,
1336
1340
  ...xt,
1341
+ ...Ct,
1337
1342
  ...fe,
1338
1343
  pure: Boolean,
1339
1344
  token: Object,
@@ -1361,7 +1366,7 @@ const Di = /* @__PURE__ */ V({
1361
1366
  loading: L.looseBool,
1362
1367
  footerLinks: {
1363
1368
  type: [Array, Boolean],
1364
- default: Ct
1369
+ default: wt
1365
1370
  },
1366
1371
  copyrightRender: {
1367
1372
  type: [Object, Function, Boolean, String],
@@ -1501,7 +1506,7 @@ function aa(e) {
1501
1506
  }
1502
1507
  const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ V({
1503
1508
  props: {
1504
- ...xt,
1509
+ ...Ct,
1505
1510
  visible: {
1506
1511
  type: Boolean,
1507
1512
  default: !0
@@ -1512,49 +1517,49 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ V({
1512
1517
  const {
1513
1518
  isMobile: t,
1514
1519
  isFixedMultiTab: a
1515
- } = Ce(e), o = Re(!1), i = lt({
1520
+ } = Ce(e), o = Re(!1), i = rt({
1516
1521
  activeKey: "",
1517
1522
  contextMenuActiveKey: ""
1518
1523
  }), u = De(), {
1519
1524
  menuData: m,
1520
1525
  flatMenuData: c,
1521
- layout: I,
1526
+ layout: S,
1522
1527
  splitMenus: p,
1523
- getPrefixCls: R
1524
- } = ee(), h = R({
1528
+ getPrefixCls: B
1529
+ } = ee(), y = B({
1525
1530
  isPor: !0,
1526
1531
  suffixCls: "multi-tab"
1527
1532
  }), {
1528
- wrapSSR: B,
1533
+ wrapSSR: P,
1529
1534
  hashId: l
1530
- } = ta(h), r = Re([]);
1535
+ } = ta(y), r = Re([]);
1531
1536
  de(r, () => {
1532
1537
  var d;
1533
1538
  (d = e.onChangeTabs) == null || d.call(e, He(A(r)));
1534
1539
  }, {
1535
1540
  deep: !0
1536
1541
  });
1537
- const M = b(() => I.value === "mix" && !e.isMobile && p.value), O = b(() => u.currentRoute.value.fullPath || u.currentRoute.value.path), S = b(() => a.value && !t.value), f = b(() => {
1538
- const d = !(M.value && A(c.value).length === 0 || m.value.length === 0 || I.value === "top");
1539
- return S.value && d ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
1540
- }), y = b(() => dt(`${h}-wrap`, {
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`, {
1541
1546
  [`${l.value}`]: !0,
1542
- [`${h}-wrap-fixed`]: e.isFixedMultiTab,
1543
- [`${h}-wrap-loading`]: e.loading
1544
- })), x = b(() => {
1547
+ [`${y}-wrap-fixed`]: e.isFixedMultiTab,
1548
+ [`${y}-wrap-loading`]: e.loading
1549
+ })), x = f(() => {
1545
1550
  const d = {
1546
1551
  display: e.visible ? void 0 : "none"
1547
1552
  };
1548
1553
  return e.isFixedMultiTab ? {
1549
1554
  margin: 0,
1550
- width: f.value,
1555
+ width: g.value,
1551
1556
  paddingTop: "6px",
1552
1557
  zIndex: 99,
1553
1558
  ...d
1554
1559
  } : d;
1555
- }), C = (d) => (d.fullPath || d.path) === O.value, g = (d) => {
1560
+ }), I = (d) => (d.fullPath || d.path) === O.value, h = (d) => {
1556
1561
  if (d.name && d.meta && d.meta.tagHidden !== !0) {
1557
- const v = d.fullPath || d.path, k = r.value.find((D) => D.fullPath === v), P = {
1562
+ const v = d.fullPath || d.path, $ = r.value.find((N) => N.fullPath === v), F = {
1558
1563
  path: d.path,
1559
1564
  fullPath: v,
1560
1565
  query: d.query,
@@ -1564,32 +1569,32 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ V({
1564
1569
  ...d.meta
1565
1570
  }
1566
1571
  };
1567
- k ? Object.assign(k, P) : d.meta.tagFixed ? r.value.unshift(P) : r.value.push(P), C(d) && (i.activeKey = v);
1572
+ $ ? Object.assign($, F) : d.meta.tagFixed ? r.value.unshift(F) : r.value.push(F), I(d) && (i.activeKey = v);
1568
1573
  }
1569
- }, w = (d) => {
1574
+ }, C = (d) => {
1570
1575
  d.forEach((v) => {
1571
- v.meta && v.meta.tagFixed && g(v), v.children && w(v.children);
1576
+ v.meta && v.meta.tagFixed && h(v), v.children && C(v.children);
1572
1577
  });
1573
1578
  };
1574
1579
  de(() => m.value, (d) => {
1575
- w(d);
1580
+ C(d);
1576
1581
  }, {
1577
1582
  deep: !0,
1578
1583
  immediate: !0
1579
1584
  }), de(() => u.currentRoute.value, (d) => {
1580
- g(d);
1585
+ h(d);
1581
1586
  }, {
1582
1587
  deep: !0,
1583
1588
  immediate: !0
1584
1589
  });
1585
- const $ = () => {
1590
+ const R = () => {
1586
1591
  const d = r.value.slice(-1)[0];
1587
1592
  d ? u.push(d) : u.push("/");
1588
- }, F = async (d) => {
1589
- const v = r.value.find((k) => d === k.fullPath);
1590
- r.value = r.value.filter((k) => k.fullPath !== d), v && C(v) && $();
1591
- }, N = (d) => {
1592
- const v = r.value.find((k) => k.fullPath === d);
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);
1593
1598
  i.activeKey !== (v == null ? void 0 : v.fullPath) && (v != null && v.fullPath) && u.push(v == null ? void 0 : v.fullPath);
1594
1599
  }, z = () => {
1595
1600
  var d;
@@ -1597,66 +1602,66 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ V({
1597
1602
  o.value = !1;
1598
1603
  }, 500);
1599
1604
  }, j = (d) => d.meta && d.meta.tagFixed, T = (d) => i[d], _ = (d, v) => {
1600
- const k = r.value.findIndex((P) => P.fullPath === T(v));
1605
+ const $ = r.value.findIndex((F) => F.fullPath === T(v));
1601
1606
  switch (d) {
1602
1607
  case "closeOthersTabs":
1603
- r.value = r.value.filter((P) => {
1604
- var D;
1605
- return P.fullPath === T(v) || ((D = P.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);
1606
1611
  });
1607
1612
  break;
1608
1613
  case "closeLeftTabs":
1609
- k && (r.value = r.value.filter((P, D) => {
1614
+ $ && (r.value = r.value.filter((F, N) => {
1610
1615
  var U;
1611
- return D >= k || ((U = P.meta) == null ? void 0 : U.tagFixed);
1616
+ return N >= $ || ((U = F.meta) == null ? void 0 : U.tagFixed);
1612
1617
  }));
1613
1618
  break;
1614
1619
  case "closeRightTabs":
1615
- k && (r.value = r.value.filter((P, D) => {
1620
+ $ && (r.value = r.value.filter((F, N) => {
1616
1621
  var U;
1617
- return D <= k || ((U = P.meta) == null ? void 0 : U.tagFixed);
1622
+ return N <= $ || ((U = F.meta) == null ? void 0 : U.tagFixed);
1618
1623
  }));
1619
1624
  break;
1620
1625
  case "reloadPage":
1621
- (k === 0 || k) && i.activeKey === T(v) && z();
1626
+ ($ === 0 || $) && i.activeKey === T(v) && z();
1622
1627
  break;
1623
1628
  }
1624
1629
  i.activeKey !== T(v) && u.push(T(v));
1625
1630
  }, G = (d, v) => {
1626
- const k = r.value.findIndex((P) => P.fullPath === v);
1631
+ const $ = r.value.findIndex((F) => F.fullPath === v);
1627
1632
  switch (d) {
1628
1633
  case "closeOthersTabs":
1629
1634
  return r.value.filter((E, te) => {
1630
1635
  var J;
1631
- return te !== k && !((J = E.meta) != null && J.tagFixed);
1636
+ return te !== $ && !((J = E.meta) != null && J.tagFixed);
1632
1637
  }).length === 0;
1633
1638
  case "closeLeftTabs":
1634
1639
  return r.value.filter((E, te) => {
1635
1640
  var J;
1636
- return te < k && !((J = E.meta) != null && J.tagFixed);
1641
+ return te < $ && !((J = E.meta) != null && J.tagFixed);
1637
1642
  }).length === 0;
1638
1643
  case "closeRightTabs":
1639
1644
  return r.value.filter((E, te) => {
1640
1645
  var J;
1641
- return te > k && !((J = E.meta) != null && J.tagFixed);
1646
+ return te > $ && !((J = E.meta) != null && J.tagFixed);
1642
1647
  }).length === 0;
1643
1648
  }
1644
1649
  }, K = (d) => {
1645
1650
  let v;
1646
1651
  const {
1647
- path: k,
1648
- stateType: P
1652
+ path: $,
1653
+ stateType: F
1649
1654
  } = d;
1650
1655
  return n(ae, {
1651
1656
  selectedKeys: [],
1652
1657
  onClick: ({
1653
- key: D
1654
- }) => _(D, P)
1655
- }, aa(v = na.map((D) => n(ia, {
1656
- key: D.key,
1657
- disabled: G(D.key, k)
1658
+ key: N
1659
+ }) => _(N, F)
1660
+ }, aa(v = na.map((N) => n(ia, {
1661
+ key: N.key,
1662
+ disabled: G(N.key, $)
1658
1663
  }, {
1659
- default: () => [D.label]
1664
+ default: () => [N.label]
1660
1665
  }))) ? v : {
1661
1666
  default: () => [v]
1662
1667
  });
@@ -1670,38 +1675,38 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ V({
1670
1675
  path: (v == null ? void 0 : v.fullPath) || "",
1671
1676
  stateType: "contextMenuActiveKey"
1672
1677
  }, null),
1673
- onOpenChange: (k) => {
1674
- i.contextMenuActiveKey = k && v.fullPath || "";
1678
+ onOpenChange: ($) => {
1679
+ i.contextMenuActiveKey = $ && v.fullPath || "";
1675
1680
  }
1676
1681
  }, {
1677
1682
  default: () => {
1678
- var k;
1683
+ var $;
1679
1684
  return [n("div", {
1680
- class: [`${h}-title`, l.value]
1681
- }, [(k = v.meta) == null ? void 0 : k.title, i.activeKey === v.fullPath && n(Et, {
1682
- class: [`${h}-reload-btn`, l.value],
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],
1683
1688
  spin: o.value,
1684
- onClick: (P) => {
1685
- P.stopPropagation(), !o.value && z();
1689
+ onClick: (F) => {
1690
+ F.stopPropagation(), !o.value && z();
1686
1691
  }
1687
- }, null), r.value.length > 1 && !j(v) && n(st, {
1688
- class: [`${h}-close-btn`, l.value],
1689
- onClick: (P) => {
1690
- P.stopPropagation(), !o.value && F((v == null ? void 0 : v.fullPath) || "");
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) || "");
1691
1696
  }
1692
1697
  }, null)])];
1693
1698
  }
1694
1699
  });
1695
1700
  };
1696
- return () => B(n(Z, null, [!!e.isFixedMultiTab && kt(n("div", {
1697
- class: [`${h}-fixed`, l.value]
1698
- }, null), [[Bt, 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, {
1699
1704
  hideAdd: !0,
1700
1705
  type: "editable-card",
1701
1706
  style: x.value,
1702
- class: y.value,
1707
+ class: b.value,
1703
1708
  activeKey: i.activeKey,
1704
- onTabClick: N
1709
+ onTabClick: D
1705
1710
  }, {
1706
1711
  default: () => [r.value.map((d) => n(oa, {
1707
1712
  key: d.fullPath,
@@ -1716,8 +1721,8 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ V({
1716
1721
  stateType: "activeKey"
1717
1722
  }, null)
1718
1723
  }, {
1719
- default: () => [n(Ut, {
1720
- class: [`${h}-dropdown-menu-btn`, l.value],
1724
+ default: () => [n(Et, {
1725
+ class: [`${y}-dropdown-menu-btn`, l.value],
1721
1726
  rotate: 90
1722
1727
  }, null)]
1723
1728
  })
@@ -1736,11 +1741,11 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ V({
1736
1741
  isMobile: u,
1737
1742
  loading: m,
1738
1743
  collapsed: c,
1739
- siderWidth: I,
1744
+ siderWidth: S,
1740
1745
  isShowTabsBar: p,
1741
- isFixedMultiTab: R,
1742
- onReloadPage: h,
1743
- onChangeTabs: B
1746
+ isFixedMultiTab: B,
1747
+ onReloadPage: y,
1748
+ onChangeTabs: P
1744
1749
  } = e;
1745
1750
  if (e.isChildrenLayout)
1746
1751
  return (M = t.default) == null ? void 0 : M.call(t);
@@ -1752,11 +1757,11 @@ const oa = Le.TabPane, ia = ae.Item, la = /* @__PURE__ */ V({
1752
1757
  visible: (A(r) === "mix" ? A(l).length > 0 : !0) && p,
1753
1758
  isMobile: u,
1754
1759
  loading: m,
1755
- isFixedMultiTab: R,
1756
- siderWidth: I,
1760
+ isFixedMultiTab: B,
1761
+ siderWidth: S,
1757
1762
  collapsed: c,
1758
- onReloadPage: h,
1759
- onChangeTabs: B
1763
+ onReloadPage: y,
1764
+ onChangeTabs: P
1760
1765
  }, null), n(ra, {
1761
1766
  style: a.style,
1762
1767
  class: [`${i}-content`]
@@ -1909,18 +1914,18 @@ const sa = (e) => {
1909
1914
  marginInlineEnd: 0
1910
1915
  }
1911
1916
  }
1912
- }), St = {
1917
+ }), It = {
1913
1918
  ...Y,
1914
1919
  ...Ke
1915
1920
  }, da = (e, t) => e === !1 ? null : e ? e(t, null) : t, ca = /* @__PURE__ */ V({
1916
- props: St,
1921
+ props: It,
1917
1922
  setup(e) {
1918
1923
  return () => e.rightContentRender && typeof e.rightContentRender == "function" && n(Z, null, [e.rightContentRender({
1919
1924
  ...e
1920
1925
  })]);
1921
1926
  }
1922
1927
  }), ma = /* @__PURE__ */ V({
1923
- props: St,
1928
+ props: It,
1924
1929
  inheritAttrs: !1,
1925
1930
  setup(e, {
1926
1931
  slots: t,
@@ -1933,32 +1938,32 @@ const sa = (e) => {
1933
1938
  openKeys: m,
1934
1939
  selectedKeys: c
1935
1940
  } = ee(), {
1936
- width: I
1941
+ width: S
1937
1942
  } = rn(), p = u({
1938
1943
  suffixCls: "global-header",
1939
1944
  isPor: !0
1940
1945
  }), {
1941
- wrapSSR: R,
1942
- hashId: h
1943
- } = Q("ProGlobalHeader", [ua], p), B = b(() => !e.isMobile || e.layout === "top" || e.layout === "mix" && e.splitMenus), l = b(() => ({
1944
- [`${h.value}`]: !0,
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,
1945
1950
  [`${p}`]: !0,
1946
1951
  [`${p}-${e.layout}`]: !0
1947
- })), r = (f) => {
1948
- var y;
1952
+ })), r = (g) => {
1953
+ var b;
1949
1954
  if (o.currentRoute) {
1950
1955
  const x = o.currentRoute.value.matched.concat();
1951
- e.onSelect && f === "select" && e.onSelect(x.filter((C) => C.name !== "index").map((C) => C.path)), e.onOpenKeys && f === "openKeys" && ((y = e.onOpenKeys) == null || y.call(e, x.filter((C) => C.path !== o.currentRoute.value.path).map((C) => C.path)));
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)));
1952
1957
  }
1953
1958
  }, M = () => {
1954
1959
  a("collapse", !e.collapsed);
1955
- }, O = b(() => e.collapsedButtonRender || bt), S = () => {
1956
- var f;
1957
- return n(Z, null, [B.value ? n("div", {
1960
+ }, O = f(() => e.collapsedButtonRender || pt), w = () => {
1961
+ var g;
1962
+ return n(Z, null, [P.value ? n("div", {
1958
1963
  style: {
1959
1964
  flex: 1
1960
1965
  },
1961
- class: [`${p}-menu`, h.value]
1966
+ class: [`${p}-menu`, y.value]
1962
1967
  }, [n(Te, {
1963
1968
  theme: {
1964
1969
  components: {
@@ -1966,7 +1971,7 @@ const sa = (e) => {
1966
1971
  headerBg: "transparent",
1967
1972
  bodyBg: "transparent"
1968
1973
  },
1969
- Menu: ft({
1974
+ Menu: gt({
1970
1975
  radiusItem: 4,
1971
1976
  colorActiveBarWidth: 0,
1972
1977
  colorActiveBarHeight: 2,
@@ -1976,7 +1981,7 @@ const sa = (e) => {
1976
1981
  }
1977
1982
  }
1978
1983
  }, {
1979
- default: () => [n(gt, X({
1984
+ default: () => [n(ht, X({
1980
1985
  theme: e.theme,
1981
1986
  mode: e.mode,
1982
1987
  collapsed: e.collapsed,
@@ -1988,7 +1993,7 @@ const sa = (e) => {
1988
1993
  subMenuItemRender: e.subMenuItemRender,
1989
1994
  class: {
1990
1995
  "top-nav-menu": e.mode === "horizontal",
1991
- [`${h.value}`]: !0
1996
+ [`${y.value}`]: !0
1992
1997
  }
1993
1998
  }, {
1994
1999
  "onUpdate:openKeys": () => r("openKeys"),
@@ -1998,36 +2003,36 @@ const sa = (e) => {
1998
2003
  style: {
1999
2004
  flex: 1
2000
2005
  }
2001
- }, [(f = t.default) == null ? void 0 : f.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, {
2002
2007
  extraRightDropdownRender: e.extraRightDropdownRender,
2003
2008
  rightContentRender: e.rightContentRender
2004
2009
  }), null)]);
2005
2010
  };
2006
2011
  return () => {
2007
- const f = n("span", {
2012
+ const g = n("span", {
2008
2013
  key: "logo",
2009
2014
  onClick: () => {
2010
- var y;
2011
- return (y = e.onMenuHeaderClick) == null ? void 0 : y.call(e);
2015
+ var b;
2016
+ return (b = e.onMenuHeaderClick) == null ? void 0 : b.call(e);
2012
2017
  },
2013
- class: [`${p}-logo`, e.isMobile ? "mobile" : "", h.value]
2014
- }, [n("a", null, [yt(e.logo)])]);
2015
- return R(n("div", {
2018
+ class: [`${p}-logo`, e.isMobile ? "mobile" : "", y.value]
2019
+ }, [n("a", null, [bt(e.logo)])]);
2020
+ return B(n("div", {
2016
2021
  class: l.value
2017
- }, [e.isMobile ? n(Z, null, [da(e.menuHeaderRender, f), e.isMobile && A(O) && n("span", {
2018
- class: `${p}-collapsed-button ${h.value}`,
2022
+ }, [e.isMobile ? n(Z, null, [da(e.menuHeaderRender, g), e.isMobile && A(O) && n("span", {
2023
+ class: `${p}-collapsed-button ${y.value}`,
2019
2024
  onClick: M
2020
- }, [A(O)(e.collapsed)]), S()]) : ["mix", "wide", "top"].includes(e.layout) ? n(Z, null, [n("div", {
2025
+ }, [A(O)(e.collapsed)]), w()]) : ["mix", "wide", "top"].includes(e.layout) ? n(Z, null, [n("div", {
2021
2026
  style: {
2022
2027
  width: e.layout === "wide" ? `${e.wideWidth}px` : void 0,
2023
- padding: e.layout === "wide" && I.value < e.wideWidth ? "0 50px" : void 0
2028
+ padding: e.layout === "wide" && S.value < e.wideWidth ? "0 50px" : void 0
2024
2029
  },
2025
- class: `${p}-main ${h.value}`
2030
+ class: `${p}-main ${y.value}`
2026
2031
  }, [n("div", {
2027
- class: `${p}-main-left ${h.value}`
2032
+ class: `${p}-main-left ${y.value}`
2028
2033
  }, [n(Ae, X(e, {
2029
2034
  renderKey: "headerTitleRender"
2030
- }), null)]), S()])]) : S()]));
2035
+ }), null)]), w()])]) : w()]));
2031
2036
  };
2032
2037
  }
2033
2038
  });
@@ -2035,10 +2040,10 @@ function fa(e) {
2035
2040
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
2036
2041
  }
2037
2042
  const {
2038
- Header: Je
2043
+ Header: Qe
2039
2044
  } = ce, $e = /* @__PURE__ */ V({
2040
2045
  inheritAttrs: !1,
2041
- props: vt,
2046
+ props: xt,
2042
2047
  setup(e) {
2043
2048
  const {
2044
2049
  theme: t,
@@ -2049,54 +2054,54 @@ const {
2049
2054
  onCollapse: m,
2050
2055
  splitMenus: c
2051
2056
  } = Ce(e), {
2052
- getPrefixCls: I,
2057
+ getPrefixCls: S,
2053
2058
  menuData: p
2054
- } = ee(), R = I({
2059
+ } = ee(), B = S({
2055
2060
  suffixCls: "header",
2056
2061
  isPor: !0
2057
- }), h = I({
2062
+ }), y = S({
2058
2063
  suffixCls: "fixed-header",
2059
2064
  isPor: !0
2060
2065
  }), {
2061
- wrapSSR: B,
2066
+ wrapSSR: P,
2062
2067
  hashId: l
2063
- } = Q("ProLayoutHeader", [sa], R), r = b(() => u.value === "wide"), M = b(() => o.value), O = b(() => u.value === "mix" || r.value), S = b(() => u.value === "side" || u.value === "simple"), f = b(() => S.value && "light" || t.value), y = b(() => ({
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(() => ({
2064
2069
  [`${l.value}`]: !0,
2065
- [`${R}-${f.value}`]: !0,
2066
- [`${R}`]: !0,
2067
- [`${h}`]: M.value
2068
- })), x = b(() => M.value && !a.value), C = b(() => c.value ? p.value && pn(p.value) || [] : u.value === "top" ? p.value : []), g = b(() => S.value && x.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), w = b(() => M.value ? 0 : void 0), $ = () => {
2069
- const F = n(ma, X(e, {
2070
- theme: f.value,
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,
2071
2076
  mode: "horizontal",
2072
2077
  onCollapse: m.value,
2073
- menuData: C.value
2078
+ menuData: I.value
2074
2079
  }), {
2075
2080
  default: () => [O.value ? null : e.headerContentRender && typeof e.headerContentRender == "function" ? e.headerContentRender(e) : e.headerContentRender]
2076
2081
  });
2077
- return e.headerRender ? e.headerRender(e, F) : F;
2082
+ return e.headerRender ? e.headerRender(e, k) : k;
2078
2083
  };
2079
2084
  return () => {
2080
- let F;
2081
- return B(n(Z, null, [M.value && !r.value && n(Je, {
2082
- theme: f.value,
2085
+ let k;
2086
+ return P(n(Z, null, [M.value && !r.value && n(Qe, {
2087
+ theme: g.value,
2083
2088
  style: {
2084
2089
  height: `${i.value}px`,
2085
2090
  lineHeight: `${i.value}px`,
2086
2091
  background: "transparent"
2087
2092
  }
2088
- }, null), n(Je, {
2089
- theme: f.value,
2090
- class: y.value,
2093
+ }, null), n(Qe, {
2094
+ theme: g.value,
2095
+ class: b.value,
2091
2096
  style: {
2092
2097
  height: `${i.value}px`,
2093
2098
  lineHeight: `${i.value}px`,
2094
- width: g.value,
2095
- zIndex: S.value ? 100 : 101,
2096
- right: w.value
2099
+ width: h.value,
2100
+ zIndex: w.value ? 100 : 101,
2101
+ right: C.value
2097
2102
  }
2098
- }, fa(F = $()) ? F : {
2099
- default: () => [F]
2103
+ }, fa(k = R()) ? k : {
2104
+ default: () => [k]
2100
2105
  })]));
2101
2106
  };
2102
2107
  }
@@ -2105,10 +2110,10 @@ const {
2105
2110
  inheritAttrs: !1,
2106
2111
  components: {
2107
2112
  GlobalHeader: $e,
2108
- GlobalFooter: Be,
2109
- SiderMenuWrapper: ke
2113
+ GlobalFooter: ke,
2114
+ SiderMenuWrapper: Be
2110
2115
  },
2111
- props: wt,
2116
+ props: St,
2112
2117
  emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
2113
2118
  setup(e, {
2114
2119
  slots: t
@@ -2121,80 +2126,80 @@ const {
2121
2126
  hashId: i
2122
2127
  } = Q("ProLayout", [Jn, Qn], a), u = on(), {
2123
2128
  token: m
2124
- } = Se(), c = b(() => {
2125
- var f;
2126
- return (f = m == null ? void 0 : m.value) == null ? void 0 : f.colorPrimary;
2129
+ } = Se(), c = f(() => {
2130
+ var g;
2131
+ return (g = m == null ? void 0 : m.value) == null ? void 0 : g.colorPrimary;
2127
2132
  });
2128
- $t(() => {
2133
+ Pt(() => {
2129
2134
  c.value && document.querySelector("html") && document.querySelector("html").style.setProperty("--gx-primary-color", c.value);
2130
2135
  });
2131
- const I = b(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), p = b(() => e.layout === "wide"), R = b(() => I.value), h = b(() => e.collapsed ? e.collapsedWidth : e.siderWidth), B = b(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), l = b(() => (u.value === "sm" || u.value === "xs") && !e.disableMobile && !p.value), r = lt({
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({
2132
2137
  position: "relative"
2133
2138
  });
2134
2139
  (e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (r.minHeight = 0);
2135
- const M = (f, y) => f.headerRender === !1 || f.pure ? null : n($e, X(f, {
2136
- matchMenuKeys: y || []
2137
- }), null), O = b(() => ({
2140
+ const M = (g, b) => g.headerRender === !1 || g.pure ? null : n($e, X(g, {
2141
+ matchMenuKeys: b || []
2142
+ }), null), O = f(() => ({
2138
2143
  ...e.breadcrumb,
2139
2144
  itemRender: W(t, e, "breadcrumbRender")
2140
- })), S = b(() => R.value && e.selectedKeys ? vn(e.menuData, e.selectedKeys[0]) : []);
2145
+ })), w = f(() => B.value && e.selectedKeys ? vn(e.menuData, e.selectedKeys[0]) : []);
2141
2146
  return Rn({
2142
2147
  getPrefixCls: me,
2143
2148
  ...le(Ce(e), ["layout", "waterMark", "menuData", "openKeys", "splitMenus", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps"].concat(Object.keys(fe))),
2144
- theme: B.value,
2149
+ theme: P.value,
2145
2150
  hasContentWide: p,
2146
2151
  isMobile: l,
2147
- siderWidth: h,
2152
+ siderWidth: y,
2148
2153
  breadcrumb: O,
2149
- flatMenuData: S,
2150
- hasSide: I,
2151
- flatMenu: R,
2152
- pageHeaderRender: b(() => W(t, e, "pageHeaderRender"))
2154
+ flatMenuData: w,
2155
+ hasSide: S,
2156
+ flatMenu: B,
2157
+ pageHeaderRender: f(() => W(t, e, "pageHeaderRender"))
2153
2158
  }), () => {
2154
- var D;
2155
- const f = W(t, e, "collapsedButtonRender"), y = W(t, e, "headerContentRender"), x = W(t, e, "rightContentRender"), C = W(t, e, "headerRender"), g = W(t, e, "footerRender"), w = W(t, e, "links"), $ = W(t, e, "copyrightRender"), F = W(t, e, "extraRightDropdownRender"), N = W(t, e, "menuHeaderRender"), z = W(t, e, "menuExtraRender"), j = W(t, e, "menuContentRender"), T = W(t, e, "menuFooterRender"), _ = W(t, e, "menuItemRender"), G = W(t, e, "subMenuItemRender"), K = {
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 = {
2156
2161
  menuItemRender: _,
2157
2162
  subMenuItemRender: G
2158
- }, q = b(() => M({
2163
+ }, q = f(() => M({
2159
2164
  ...e,
2160
2165
  ...K,
2161
- hasSiderMenu: I.value,
2166
+ hasSiderMenu: S.value,
2162
2167
  menuData: e.menuData,
2163
2168
  isMobile: A(l),
2164
2169
  rightContentRender: x,
2165
- extraRightDropdownRender: F,
2166
- headerTitleRender: N,
2167
- headerContentRender: y,
2168
- headerRender: C,
2169
- theme: B.value
2170
- }, e.matchMenuKeys)), d = b(() => ({
2170
+ extraRightDropdownRender: k,
2171
+ headerTitleRender: D,
2172
+ headerContentRender: b,
2173
+ headerRender: I,
2174
+ theme: P.value
2175
+ }, e.matchMenuKeys)), d = f(() => ({
2171
2176
  [`${i.value}`]: !0,
2172
2177
  [`${a}`]: !0,
2173
2178
  [`${a}-${e.layout}`]: !0
2174
- })), v = b(() => p.value ? {
2179
+ })), v = f(() => p.value ? {
2175
2180
  minWidth: `${e.wideWidth}px`
2176
- } : void 0), k = b(() => p.value ? {
2181
+ } : void 0), $ = f(() => p.value ? {
2177
2182
  width: e.menuData.length ? `${e.wideWidth}px` : `${e.wideWidth - e.siderWidth - 20}px`,
2178
2183
  paddingTop: `${e.headerHeight + 20}px`,
2179
2184
  margin: p.value ? "0 auto" : void 0
2180
- } : void 0), P = b(() => p.value ? {
2185
+ } : void 0), F = f(() => p.value ? {
2181
2186
  minHeight: "835px"
2182
2187
  } : {});
2183
- return o(n(Z, 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", {
2184
2189
  class: d.value,
2185
2190
  style: v.value
2186
2191
  }, [n(ce, {
2187
- style: k.value
2192
+ style: $.value
2188
2193
  }, {
2189
- default: () => [n(ke, X(Ve(e, ["pure", "theme"]), {
2190
- links: w,
2191
- theme: B.value,
2194
+ default: () => [n(Be, X(Ve(e, ["pure", "theme"]), {
2195
+ links: C,
2196
+ theme: P.value,
2192
2197
  isMobile: l.value,
2193
- menuHeaderRender: N,
2198
+ menuHeaderRender: D,
2194
2199
  menuContentRender: j,
2195
2200
  menuExtraRender: z,
2196
2201
  menuFooterRender: T,
2197
- collapsedButtonRender: f
2202
+ collapsedButtonRender: g
2198
2203
  }), null), n(ce, {
2199
2204
  style: r
2200
2205
  }, {
@@ -2209,17 +2214,17 @@ const {
2209
2214
  isFixedMultiTab: e.fixedMultiTab,
2210
2215
  siderWidth: e.siderWidth,
2211
2216
  collapsed: e.collapsed,
2212
- style: e.disableContentMargin ? P.value : {
2217
+ style: e.disableContentMargin ? F.value : {
2213
2218
  ...e.contentStyle,
2214
- ...P.value
2219
+ ...F.value
2215
2220
  }
2216
2221
  }, le(e, ["onReloadPage", "onChangeTabs"])), {
2217
2222
  default: () => {
2218
2223
  var U;
2219
2224
  return [(U = t.default) == null ? void 0 : U.call(t)];
2220
2225
  }
2221
- }), g === !1 ? null : g ? g(e) : n(Be, {
2222
- copyright: $
2226
+ }), h === !1 ? null : h ? h(e) : n(ke, {
2227
+ copyright: R
2223
2228
  }, null)]
2224
2229
  })]
2225
2230
  })])]));
@@ -2228,16 +2233,16 @@ const {
2228
2233
  }), Ni = /* @__PURE__ */ V({
2229
2234
  components: {
2230
2235
  GlobalHeader: $e,
2231
- GlobalFooter: Be,
2232
- SiderMenuWrapper: ke
2236
+ GlobalFooter: ke,
2237
+ SiderMenuWrapper: Be
2233
2238
  },
2234
- props: wt,
2239
+ props: St,
2235
2240
  emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
2236
2241
  setup(e, {
2237
2242
  slots: t,
2238
2243
  emit: a
2239
2244
  }) {
2240
- const o = b(() => e.theme !== void 0 ? {
2245
+ const o = f(() => e.theme !== void 0 ? {
2241
2246
  dark: e.theme === "realDark"
2242
2247
  } : {}), i = (c) => {
2243
2248
  a("update:collapsed", c), a("collapse", c);
@@ -2253,7 +2258,7 @@ const {
2253
2258
  }
2254
2259
  } : void 0
2255
2260
  }, {
2256
- default: () => [n(Gt, X({
2261
+ default: () => [n(qt, X({
2257
2262
  token: e.token
2258
2263
  }, o.value), {
2259
2264
  default: () => [n(ga, X(Ve(e, ["onSelect", "onOpenKeys", "onCollapse"]), {
@@ -2264,17 +2269,17 @@ const {
2264
2269
  })]
2265
2270
  });
2266
2271
  }
2267
- }), It = (e, t, a) => e.map((o, i) => {
2272
+ }), Mt = (e, t, a) => e.map((o, i) => {
2268
2273
  var u;
2269
- 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;
2270
2275
  }), zi = (e) => {
2271
- 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);
2272
2277
  return {
2273
2278
  menuData: o,
2274
2279
  breadcrumb: a,
2275
2280
  levelMenuData: en(o)
2276
2281
  };
2277
- }, Mt = [
2282
+ }, Ot = [
2278
2283
  {
2279
2284
  key: "light",
2280
2285
  title: "亮色菜单风格"
@@ -2287,7 +2292,7 @@ const {
2287
2292
  key: "realDark",
2288
2293
  title: "暗黑模式"
2289
2294
  }
2290
- ], Ot = [
2295
+ ], Rt = [
2291
2296
  {
2292
2297
  key: "side",
2293
2298
  title: "侧边菜单布局"
@@ -2478,7 +2483,7 @@ const {
2478
2483
  }
2479
2484
  }
2480
2485
  }
2481
- }), Qe = /* @__PURE__ */ V({
2486
+ }), et = /* @__PURE__ */ V({
2482
2487
  name: "BlockCheckbox",
2483
2488
  props: {
2484
2489
  value: L.string,
@@ -2501,14 +2506,14 @@ const {
2501
2506
  key: a.key
2502
2507
  }, {
2503
2508
  default: () => [n("div", {
2504
- 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`),
2505
2510
  onClick: () => {
2506
2511
  var o;
2507
2512
  return (o = e.onChange) == null ? void 0 : o.call(e, a.key);
2508
2513
  }
2509
2514
  }, [a.key === "wide" && n("div", {
2510
2515
  class: [`${t}-item-${a.key}-content`, e.hashId]
2511
- }, null), n(ut, {
2516
+ }, null), n(dt, {
2512
2517
  class: `${t}-selectIcon ${e.hashId}`.trim(),
2513
2518
  style: {
2514
2519
  display: e.value === a.key ? "block" : "none"
@@ -2554,7 +2559,7 @@ const {
2554
2559
  backgroundColor: i
2555
2560
  },
2556
2561
  onClick: () => e.onChange && e.onChange(i)
2557
- }, [((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)])];
2558
2563
  }
2559
2564
  }) : null)])]);
2560
2565
  };
@@ -2593,7 +2598,7 @@ const {
2593
2598
  }),
2594
2599
  dataSource: [{
2595
2600
  title: e.label,
2596
- action: n(rt, {
2601
+ action: n(st, {
2597
2602
  size: "small",
2598
2603
  disabled: e.disabled,
2599
2604
  checked: !!e.value,
@@ -2655,11 +2660,11 @@ const xa = /* @__PURE__ */ V({
2655
2660
  hashId: m
2656
2661
  } = Q("ProThemeEditor", [pa], i), {
2657
2662
  token: c
2658
- } = Se(), I = b(() => {
2663
+ } = Se(), S = f(() => {
2659
2664
  var l;
2660
2665
  return (l = c.value) == null ? void 0 : l.layout;
2661
- }), p = b(() => {
2662
- var l, r, M, O, S, f, y, x, C, g, w, $, F, N, z, j, T, _, G, K, q, d, v, k, P;
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;
2663
2668
  return [{
2664
2669
  key: "colorBgMenu",
2665
2670
  title: "全部背景",
@@ -2667,7 +2672,7 @@ const xa = /* @__PURE__ */ V({
2667
2672
  }, {
2668
2673
  key: "colorDarkBgMenu",
2669
2674
  title: "全部背景",
2670
- disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "light" || ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ["side", "simple"].includes((S = e.settingValue) == null ? void 0 : S.layout)
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)
2671
2676
  }, {
2672
2677
  key: "colorSubItemBg",
2673
2678
  title: "子菜单背景",
@@ -2679,19 +2684,19 @@ const xa = /* @__PURE__ */ V({
2679
2684
  }, {
2680
2685
  key: "colorBgMenuItemSelected",
2681
2686
  title: "菜单选中背景",
2682
- disabled: ((f = e.settingValue) == null ? void 0 : f.theme) === "dark" && ["mix", "wide"].includes((y = e.settingValue) == null ? void 0 : y.layout)
2687
+ disabled: ((g = e.settingValue) == null ? void 0 : g.theme) === "dark" && ["mix", "wide"].includes((b = e.settingValue) == null ? void 0 : b.layout)
2683
2688
  }, {
2684
2689
  key: "colorDarkBgMenuItemSelected",
2685
2690
  title: "菜单选中背景",
2686
- disabled: ((x = e.settingValue) == null ? void 0 : x.theme) === "light" || ((C = e.settingValue) == null ? void 0 : C.theme) === "dark" && ["side", "simple"].includes((g = e.settingValue) == null ? void 0 : g.layout)
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)
2687
2692
  }, {
2688
2693
  key: "colorTextMenu",
2689
2694
  title: "菜单文字颜色",
2690
- 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)
2691
2696
  }, {
2692
2697
  key: "colorDarkTextMenu",
2693
2698
  title: "菜单文字颜色",
2694
- disabled: ((F = e.settingValue) == null ? void 0 : F.theme) === "light" || ((N = e.settingValue) == null ? void 0 : N.theme) === "dark" && ["side", "simple"].includes((z = e.settingValue) == null ? void 0 : z.layout)
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)
2695
2700
  }, {
2696
2701
  key: "colorTextMenuHover",
2697
2702
  title: "菜单文字移入颜色",
@@ -2707,10 +2712,10 @@ const xa = /* @__PURE__ */ V({
2707
2712
  }, {
2708
2713
  key: "colorDarkTextMenuSelected",
2709
2714
  title: "菜单文字选中颜色",
2710
- disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "light" || ((k = e.settingValue) == null ? void 0 : k.theme) === "dark" && ["side", "simple"].includes((P = e.settingValue) == null ? void 0 : P.layout)
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)
2711
2716
  }];
2712
- }), R = b(() => {
2713
- var l, r, M, O, S, f, y, x, C, g, w, $, F, N, z, j, T, _, G, K, q, d, v, k, P, D, U, E, te, J, Ee, Xe;
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;
2714
2719
  return [{
2715
2720
  key: "colorBgMenu",
2716
2721
  title: "全部背景",
@@ -2718,23 +2723,23 @@ const xa = /* @__PURE__ */ V({
2718
2723
  }, {
2719
2724
  key: "colorDarkBgMenu",
2720
2725
  title: "全部背景",
2721
- disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "light" || ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ["mix", "wide"].includes((S = e.settingValue) == null ? void 0 : S.layout)
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)
2722
2727
  }, {
2723
2728
  key: "colorSubItemBg",
2724
2729
  title: "子菜单背景",
2725
- disabled: ((f = e.settingValue) == null ? void 0 : f.theme) === "dark" && ["side", "simple"].includes((y = e.settingValue) == null ? void 0 : y.layout)
2730
+ disabled: ((g = e.settingValue) == null ? void 0 : g.theme) === "dark" && ["side", "simple"].includes((b = e.settingValue) == null ? void 0 : b.layout)
2726
2731
  }, {
2727
2732
  key: "colorDarkSubItemBg",
2728
2733
  title: "子菜单背景",
2729
- disabled: ((x = e.settingValue) == null ? void 0 : x.theme) === "light" || ((C = e.settingValue) == null ? void 0 : C.theme) === "dark" && ["mix", "wide"].includes((g = e.settingValue) == null ? void 0 : g.layout)
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)
2730
2735
  }, {
2731
2736
  key: "colorBgMenuItemHover",
2732
2737
  title: "菜单移入背景",
2733
- 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"
2734
2739
  }, {
2735
2740
  key: "colorBgMenuItemSelected",
2736
2741
  title: "菜单选中背景",
2737
- disabled: ((F = e.settingValue) == null ? void 0 : F.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"
2738
2743
  }, {
2739
2744
  key: "colorDarkBgMenuItemSelected",
2740
2745
  title: "菜单选中背景",
@@ -2750,11 +2755,11 @@ const xa = /* @__PURE__ */ V({
2750
2755
  }, {
2751
2756
  key: "colorTextMenuHover",
2752
2757
  title: "菜单文字移入颜色",
2753
- disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "dark" && ((k = e.settingValue) == null ? void 0 : k.layout) !== "mix"
2758
+ disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "dark" && (($ = e.settingValue) == null ? void 0 : $.layout) !== "mix"
2754
2759
  }, {
2755
2760
  key: "colorDarkTextMenuHover",
2756
2761
  title: "菜单文字移入颜色",
2757
- disabled: ((P = e.settingValue) == null ? void 0 : P.theme) === "light" || ((D = e.settingValue) == null ? void 0 : D.theme) === "dark" && ["mix", "wide"].includes((U = e.settingValue) == null ? void 0 : U.layout)
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)
2758
2763
  }, {
2759
2764
  key: "colorTextMenuSelected",
2760
2765
  title: "菜单文字选中颜色",
@@ -2764,9 +2769,9 @@ const xa = /* @__PURE__ */ V({
2764
2769
  title: "菜单文字选中颜色",
2765
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)
2766
2771
  }];
2767
- }), h = b(() => a.value === "header" ? p.value : a.value === "sider" ? R.value : []), B = (l) => {
2772
+ }), y = f(() => a.value === "header" ? p.value : a.value === "sider" ? B.value : []), P = (l) => {
2768
2773
  var r, M;
2769
- return (M = (r = I.value) == null ? void 0 : r[a.value]) == null ? void 0 : M[l];
2774
+ return (M = (r = S.value) == null ? void 0 : r[a.value]) == null ? void 0 : M[l];
2770
2775
  };
2771
2776
  return () => {
2772
2777
  var r, M, O;
@@ -2777,16 +2782,16 @@ const xa = /* @__PURE__ */ V({
2777
2782
  class: [`${i}-title`, m.value]
2778
2783
  }, [ne("主题编辑器"), n("div", {
2779
2784
  class: [`${i}-sub-title`, m.value]
2780
- }, [n("span", null, [(r = Mt.find((S) => {
2781
- var f;
2782
- return S.key === ((f = e.settingValue) == null ? void 0 : f.theme);
2785
+ }, [n("span", null, [(r = Ot.find((w) => {
2786
+ var g;
2787
+ return w.key === ((g = e.settingValue) == null ? void 0 : g.theme);
2783
2788
  })) == null ? void 0 : r.title]), n("span", {
2784
2789
  style: {
2785
2790
  marginInline: "8px"
2786
2791
  }
2787
- }, [ne("/")]), n("span", null, [(M = Ot.find((S) => {
2788
- var f;
2789
- return S.key === ((f = e.settingValue) == null ? void 0 : f.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);
2790
2795
  })) == null ? void 0 : M.title])])]), n("div", {
2791
2796
  class: [`${i}-content`, m.value]
2792
2797
  }, [n(oe, {
@@ -2794,56 +2799,56 @@ const xa = /* @__PURE__ */ V({
2794
2799
  split: !1,
2795
2800
  size: "small",
2796
2801
  renderItem: ({
2797
- item: S
2802
+ item: w
2798
2803
  }) => n(oe.Item, {
2799
- actions: [S.action]
2804
+ actions: [w.action]
2800
2805
  }, {
2801
2806
  default: () => [n("span", {
2802
2807
  style: {
2803
- opacity: S.disabled ? 0.5 : 1
2808
+ opacity: w.disabled ? 0.5 : 1
2804
2809
  }
2805
- }, [S.title])]
2810
+ }, [w.title])]
2806
2811
  }),
2807
2812
  dataSource: [{
2808
2813
  title: "自定义主题色",
2809
- action: n(_e, {
2814
+ action: n(Ge, {
2810
2815
  value: (O = e.settingValue) == null ? void 0 : O.primaryColor,
2811
2816
  actions: ["confirm"],
2812
2817
  modes: ["rgb"],
2813
2818
  size: "small",
2814
- onConfirm: (S) => e.onChange && e.onChange(S, "primaryColor")
2819
+ onConfirm: (w) => e.onChange && e.onChange(w, "primaryColor")
2815
2820
  }, null)
2816
2821
  }]
2817
2822
  }, null), n(Le, {
2818
2823
  activeKey: a.value,
2819
2824
  onChange: o
2820
- }, va(l = ha.map((S) => n(Dt, {
2821
- key: S.key,
2822
- tab: S.title
2825
+ }, va(l = ha.map((w) => n(Nt, {
2826
+ key: w.key,
2827
+ tab: w.title
2823
2828
  }, {
2824
2829
  default: () => [n(oe, {
2825
2830
  class: `${i}-list ${m.value}`.trim(),
2826
2831
  split: !1,
2827
2832
  size: "small",
2828
2833
  renderItem: ({
2829
- item: f
2834
+ item: g
2830
2835
  }) => n(oe.Item, {
2831
- actions: [f.action]
2836
+ actions: [g.action]
2832
2837
  }, {
2833
2838
  default: () => [n("span", {
2834
2839
  style: {
2835
- opacity: f.disabled ? 0.5 : 1
2840
+ opacity: g.disabled ? 0.5 : 1
2836
2841
  }
2837
- }, [f.title])]
2842
+ }, [g.title])]
2838
2843
  }),
2839
- dataSource: h.value.filter((f) => !f.disabled).map((f) => ({
2840
- ...f,
2841
- action: n(_e, {
2842
- value: B(f.key),
2844
+ dataSource: y.value.filter((g) => !g.disabled).map((g) => ({
2845
+ ...g,
2846
+ action: n(Ge, {
2847
+ value: P(g.key),
2843
2848
  actions: ["confirm"],
2844
2849
  modes: ["rgb"],
2845
2850
  size: "small",
2846
- onConfirm: (y) => e.onChange && e.onChange(y, a.value, f.key)
2851
+ onConfirm: (b) => e.onChange && e.onChange(b, a.value, g.key)
2847
2852
  }, null)
2848
2853
  }))
2849
2854
  }, null)]
@@ -2883,11 +2888,11 @@ const xa = /* @__PURE__ */ V({
2883
2888
  }
2884
2889
  }
2885
2890
  });
2886
- function et(e) {
2891
+ function tt(e) {
2887
2892
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
2888
2893
  }
2889
2894
  const {
2890
- preset: tt
2895
+ preset: nt
2891
2896
  } = je, wa = /* @__PURE__ */ V({
2892
2897
  name: "OthersChange",
2893
2898
  props: {
@@ -2904,7 +2909,7 @@ const {
2904
2909
  hashId: o
2905
2910
  } = Q("SettingsDrawOthers", [Ca], t);
2906
2911
  return () => {
2907
- var u, m, c, I, p, R, h, B, l, r, M, O, S, f;
2912
+ var u, m, c, S, p, B, y, P, l, r, M, O, w, g;
2908
2913
  let i;
2909
2914
  return a(n("div", {
2910
2915
  class: [t, o.value]
@@ -2915,50 +2920,50 @@ const {
2915
2920
  split: !1,
2916
2921
  size: "small",
2917
2922
  renderItem: ({
2918
- item: y
2923
+ item: b
2919
2924
  }) => n(we, {
2920
- title: y.disabled ? y.disabledReason : "",
2925
+ title: b.disabled ? b.disabledReason : "",
2921
2926
  placement: "left"
2922
2927
  }, {
2923
2928
  default: () => [n(oe.Item, {
2924
- actions: [y.action]
2929
+ actions: [b.action]
2925
2930
  }, {
2926
2931
  default: () => [n("span", {
2927
2932
  style: {
2928
- opacity: y.disabled ? 0.5 : 1
2933
+ opacity: b.disabled ? 0.5 : 1
2929
2934
  }
2930
- }, [y.title])]
2935
+ }, [b.title])]
2931
2936
  })]
2932
2937
  }),
2933
2938
  dataSource: [{
2934
2939
  title: "禁用动画",
2935
- action: n(rt, {
2940
+ action: n(st, {
2936
2941
  checked: !((m = (u = e.settingValue) == null ? void 0 : u.animate) != null && m.disabled),
2937
2942
  size: "small",
2938
- onChange: (y) => {
2943
+ onChange: (b) => {
2939
2944
  var x;
2940
- return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "disabled", !y);
2945
+ return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "disabled", !b);
2941
2946
  }
2942
2947
  }, null)
2943
2948
  }, {
2944
2949
  title: "动画效果",
2945
- disabled: (I = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : I.disabled,
2950
+ disabled: (S = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : S.disabled,
2946
2951
  action: n(ge, {
2947
- value: (R = (p = e.settingValue) == null ? void 0 : p.animate) == null ? void 0 : R.name,
2952
+ value: (B = (p = e.settingValue) == null ? void 0 : p.animate) == null ? void 0 : B.name,
2948
2953
  style: {
2949
2954
  width: "100px"
2950
2955
  },
2951
2956
  size: "small",
2952
- disabled: (B = (h = e.settingValue) == null ? void 0 : h.animate) == null ? void 0 : B.disabled,
2953
- getPopupContainer: (y) => y && y.parentNode ? y.parentNode : y,
2954
- onChange: (y) => {
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) => {
2955
2960
  var x;
2956
- return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "name", y);
2961
+ return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "name", b);
2957
2962
  }
2958
- }, et(i = tt.map((y) => n(ge.Option, {
2959
- value: y.name
2963
+ }, tt(i = nt.map((b) => n(ge.Option, {
2964
+ value: b.name
2960
2965
  }, {
2961
- default: () => [y.alias]
2966
+ default: () => [b.alias]
2962
2967
  }))) ? i : {
2963
2968
  default: () => [i]
2964
2969
  })
@@ -2974,21 +2979,21 @@ const {
2974
2979
  dropdownStyle: {
2975
2980
  minWidth: "120px"
2976
2981
  },
2977
- disabled: (f = (S = e.settingValue) == null ? void 0 : S.animate) == null ? void 0 : f.disabled,
2978
- getPopupContainer: (y) => y && y.parentNode ? y.parentNode : y,
2979
- onChange: (y) => {
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) => {
2980
2985
  var x;
2981
- return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "direction", y);
2986
+ return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "direction", b);
2982
2987
  }
2983
2988
  }, {
2984
2989
  default: () => {
2985
- var y;
2986
- return [(y = tt.find((x) => {
2987
- var C, g;
2988
- return x.name === ((g = (C = e.settingValue) == null ? void 0 : C.animate) == null ? void 0 : g.name);
2989
- })) == null ? void 0 : y.directions.map((x) => n(ge.Option, {
2990
+ 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, {
2990
2995
  value: x
2991
- }, et(x) ? x : {
2996
+ }, tt(x) ? x : {
2992
2997
  default: () => [x]
2993
2998
  }))];
2994
2999
  }
@@ -2999,7 +3004,7 @@ const {
2999
3004
  }
3000
3005
  }), {
3001
3006
  preset: Sa
3002
- } = je, Pe = Object.keys(H).filter((e) => e !== "title"), nt = {
3007
+ } = je, Pe = Object.keys(H).filter((e) => e !== "title"), at = {
3003
3008
  color: "#fff",
3004
3009
  fontSize: 20
3005
3010
  }, Ia = [{
@@ -3017,7 +3022,7 @@ const {
3017
3022
  }, {
3018
3023
  label: "fixedMultiTab",
3019
3024
  title: "固定多标签"
3020
- }], at = (e) => nn() ? {
3025
+ }], ot = (e) => nn() ? {
3021
3026
  ...le(H, Pe),
3022
3027
  ...e || {}
3023
3028
  } : He(H), ye = (e, {
@@ -3044,7 +3049,7 @@ const {
3044
3049
  },
3045
3050
  colorList: {
3046
3051
  type: [Boolean, Array],
3047
- default: () => qt
3052
+ default: () => Zt
3048
3053
  },
3049
3054
  onChange: Function,
3050
3055
  onChangeLayout: Function
@@ -3059,37 +3064,37 @@ const {
3059
3064
  }), {
3060
3065
  wrapSSR: o,
3061
3066
  hashId: i
3062
- } = Q("ProSettingDraw", [ya], a), u = Re(!1), [m, c] = pe(!1), [I, p] = pe(!1), [R, h] = pe(!1), B = b(() => at(le(e.settings, Pe))), [l, r] = ln(() => at(le(e.settings, Pe)), {
3063
- value: B,
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,
3064
3069
  onChange: e.onChange
3065
- }), M = b(() => e.colorList && tn(e.colorList) ? e.colorList : []), O = b(() => wn(A(l))), {
3066
- copy: S,
3067
- copied: f,
3068
- isSupported: y
3070
+ }), M = f(() => e.colorList && tn(e.colorList) ? e.colorList : []), O = f(() => wn(A(l))), {
3071
+ copy: w,
3072
+ copied: g,
3073
+ isSupported: b
3069
3074
  } = sn();
3070
3075
  de(m, () => {
3071
3076
  u.value || (u.value = !0);
3072
3077
  });
3073
- const x = (g, w, $) => {
3078
+ const x = (h, C, R) => {
3074
3079
  var z, j;
3075
- const F = ["header", "sider"], N = {};
3076
- if ($ && F.includes(g)) {
3077
- N[g] = {}, N[g][$] = w, e.onChangeLayout && e.onChangeLayout(le(N, F));
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));
3078
3083
  return;
3079
3084
  } else
3080
- g === "animate" ? (N[g] = {}, N[g][$] = w, $ === "name" && (N[g].direction = (j = (z = Sa.find((T) => T.name === w)) == null ? void 0 : z.directions) == null ? void 0 : j[0])) : N[g] = w;
3081
- if (g === "colorWeak") {
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") {
3082
3087
  const T = document.querySelector("body");
3083
- T && (T.dataset.prosettingdrawer = w === !0 ? T.style.filter : T.dataset.prosettingdrawer || "none", w === !0 && (T.dataset.prosettingdrawer = T.style.filter), T.style.filter = w === !0 ? "invert(80%)" : T.dataset.prosettingdrawer || "none", w || delete T.dataset.prosettingdrawer);
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);
3084
3089
  }
3085
3090
  r(an(A(l), {
3086
- ...Cn(Ve(N, F))
3091
+ ...Cn(Ve(D, k))
3087
3092
  }));
3088
- }, C = () => {
3089
- y.value && S(JSON.stringify(A(l)));
3093
+ }, I = () => {
3094
+ b.value && w(JSON.stringify(A(l)));
3090
3095
  };
3091
- return de(f, (g) => {
3092
- g && Nt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3096
+ return de(g, (h) => {
3097
+ h && zt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3093
3098
  }), () => o(n(be, {
3094
3099
  width: 300,
3095
3100
  closable: !1,
@@ -3106,10 +3111,10 @@ const {
3106
3111
  handle: n("div", {
3107
3112
  class: [`${a}-handle`, i.value],
3108
3113
  onClick: () => c(!m.value)
3109
- }, [m.value ? n(st, {
3110
- style: nt
3111
- }, null) : n(Xt, {
3112
- style: nt
3114
+ }, [m.value ? n(ut, {
3115
+ style: at
3116
+ }, null) : n(Yt, {
3117
+ style: at
3113
3118
  }, null)])
3114
3119
  }, {
3115
3120
  default: () => [n("div", {
@@ -3122,14 +3127,14 @@ const {
3122
3127
  hashId: i.value,
3123
3128
  title: "整体风格设置"
3124
3129
  }, {
3125
- default: () => [n(Qe, {
3130
+ default: () => [n(et, {
3126
3131
  hashId: i.value,
3127
3132
  prefixCls: a,
3128
- list: Mt,
3133
+ list: Ot,
3129
3134
  value: l.value.theme,
3130
3135
  configType: "theme",
3131
3136
  key: "navTheme",
3132
- onChange: (g) => x("theme", g)
3137
+ onChange: (h) => x("theme", h)
3133
3138
  }, null)]
3134
3139
  }), n(ye, {
3135
3140
  hashId: i.value,
@@ -3146,33 +3151,33 @@ const {
3146
3151
  prefixCls: a,
3147
3152
  colorList: M.value,
3148
3153
  settingValue: l.value,
3149
- onChange: (g, w) => x(w || "primaryColor", g)
3154
+ onChange: (h, C) => x(C || "primaryColor", h)
3150
3155
  }, null)]
3151
3156
  }), !e.themeOnly && n(Z, null, [n(Me, null, null), n(ye, {
3152
3157
  hashId: i.value,
3153
3158
  prefixCls: a,
3154
3159
  title: "导航模式"
3155
3160
  }, {
3156
- default: () => [n(Qe, {
3161
+ default: () => [n(et, {
3157
3162
  prefixCls: a,
3158
3163
  value: A(l).layout,
3159
3164
  key: "layout",
3160
3165
  hashId: i.value,
3161
3166
  configType: "layout",
3162
- list: Ot,
3163
- onChange: (g) => x("layout", g)
3167
+ list: Rt,
3168
+ onChange: (h) => x("layout", h)
3164
3169
  }, null)]
3165
3170
  }), Ia.map(({
3166
- label: g,
3167
- title: w
3171
+ label: h,
3172
+ title: C
3168
3173
  }) => n(he, {
3169
- label: w,
3170
- disabled: A(O)[g],
3171
- value: A(l)[g],
3174
+ label: C,
3175
+ disabled: A(O)[h],
3176
+ value: A(l)[h],
3172
3177
  prefixCls: a,
3173
3178
  hashId: i.value,
3174
- valueKey: g,
3175
- onChange: ($, F) => x($, F)
3179
+ valueKey: h,
3180
+ onChange: (R, k) => x(R, k)
3176
3181
  }, null)), n(Me, null, null), n(ye, {
3177
3182
  hashId: i.value,
3178
3183
  prefixCls: a,
@@ -3180,54 +3185,54 @@ const {
3180
3185
  style: {
3181
3186
  fontSize: "12px"
3182
3187
  },
3183
- onClick: () => h(!0)
3188
+ onClick: () => y(!0)
3184
3189
  }, [ne("更多配置")])])
3185
3190
  }, {
3186
3191
  default: () => [Ma.map(({
3187
- label: g,
3188
- title: w
3192
+ label: h,
3193
+ title: C
3189
3194
  }) => n(he, {
3190
- label: w,
3191
- disabled: A(O)[g],
3192
- value: A(l)[g],
3195
+ label: C,
3196
+ disabled: A(O)[h],
3197
+ value: A(l)[h],
3193
3198
  prefixCls: a,
3194
3199
  hashId: i.value,
3195
- valueKey: g,
3196
- onChange: ($, F) => x($, F)
3200
+ valueKey: h,
3201
+ onChange: (R, k) => x(R, k)
3197
3202
  }, null)), e.weakmode && n(he, {
3198
3203
  label: "色弱模式",
3199
3204
  value: A(l).colorWeak,
3200
3205
  prefixCls: a,
3201
3206
  hashId: i.value,
3202
3207
  valueKey: "colorWeak",
3203
- onChange: (g, w) => x(g, w)
3208
+ onChange: (h, C) => x(h, C)
3204
3209
  }, null), e.showProgress && n(he, {
3205
3210
  label: "顶部进度条",
3206
3211
  value: A(l).showProgressBar,
3207
3212
  prefixCls: a,
3208
3213
  hashId: i.value,
3209
3214
  valueKey: "showProgressBar",
3210
- onChange: (g, w) => x(g, w)
3215
+ onChange: (h, C) => x(h, C)
3211
3216
  }, null)]
3212
- })]), 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, {
3213
3218
  type: "warning",
3214
3219
  message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
3215
- icon: n(Yt, null, null),
3220
+ icon: n(_t, null, null),
3216
3221
  showIcon: !0,
3217
3222
  style: {
3218
3223
  marginBottom: "16px"
3219
3224
  }
3220
- }, null), e.hideCopyButton ? null : n(Ht, {
3221
- onClick: () => C(),
3225
+ }, null), e.hideCopyButton ? null : n(Vt, {
3226
+ onClick: () => I(),
3222
3227
  block: !0
3223
3228
  }, {
3224
- default: () => [n(_t, null, null), ne("拷贝设置")]
3229
+ default: () => [n(Gt, null, null), ne("拷贝设置")]
3225
3230
  })])]
3226
3231
  })]), n(be, {
3227
3232
  width: 320,
3228
3233
  closable: !1,
3229
3234
  placement: "right",
3230
- open: I.value,
3235
+ open: S.value,
3231
3236
  bodyStyle: {
3232
3237
  padding: 0
3233
3238
  },
@@ -3235,21 +3240,21 @@ const {
3235
3240
  }, {
3236
3241
  default: () => [n(xa, {
3237
3242
  settingValue: l.value,
3238
- onChange: (g, w, $) => x(w || "primaryColor", g, $)
3243
+ onChange: (h, C, R) => x(C || "primaryColor", h, R)
3239
3244
  }, null)]
3240
3245
  }), n(be, {
3241
3246
  width: 320,
3242
3247
  closable: !1,
3243
3248
  placement: "right",
3244
- open: R.value,
3249
+ open: B.value,
3245
3250
  bodyStyle: {
3246
3251
  padding: 0
3247
3252
  },
3248
- onClose: () => h(!1)
3253
+ onClose: () => y(!1)
3249
3254
  }, {
3250
3255
  default: () => [n(wa, {
3251
3256
  settingValue: l.value,
3252
- onChange: (g, w, $) => x(g, $, w)
3257
+ onChange: (h, C, R) => x(h, R, C)
3253
3258
  }, null)]
3254
3259
  })]
3255
3260
  }));
@@ -3280,7 +3285,7 @@ const {
3280
3285
  opacity: 1,
3281
3286
  transform: "scale(1)"
3282
3287
  }
3283
- }), ka = new s("backInUp", {
3288
+ }), Ba = new s("backInUp", {
3284
3289
  "0%": {
3285
3290
  opacity: 0.7,
3286
3291
  transform: "translateY(1200px) scale(0.7)"
@@ -3293,7 +3298,7 @@ const {
3293
3298
  opacity: 1,
3294
3299
  transform: "scale(1)"
3295
3300
  }
3296
- }), Ba = new s("backInDown", {
3301
+ }), ka = new s("backInDown", {
3297
3302
  "0%": {
3298
3303
  opacity: 0.7,
3299
3304
  transform: "translateY(-1200px) scale(0.7)"
@@ -3369,11 +3374,11 @@ const {
3369
3374
  },
3370
3375
  "&.backInUp": {
3371
3376
  animationFillMode: "both",
3372
- animationName: ka
3377
+ animationName: Ba
3373
3378
  },
3374
3379
  "&.backInDown": {
3375
3380
  animationFillMode: "both",
3376
- animationName: Ba
3381
+ animationName: ka
3377
3382
  }
3378
3383
  }), Da = () => ({
3379
3384
  "&.backOutLeft": {
@@ -4003,7 +4008,7 @@ const {
4003
4008
  backfaceVisibility: "visible !important",
4004
4009
  animationName: Io
4005
4010
  }
4006
- }), ko = () => ({
4011
+ }), Bo = () => ({
4007
4012
  "&.flipOutX": {
4008
4013
  animationFillMode: "both",
4009
4014
  backfaceVisibility: "visible !important",
@@ -4016,7 +4021,7 @@ const {
4016
4021
  animationDuration: `${0.3 * 0.75}s !important`,
4017
4022
  animationName: Oo
4018
4023
  }
4019
- }), Bo = new s("lightSpeedInLeft", {
4024
+ }), ko = new s("lightSpeedInLeft", {
4020
4025
  from: {
4021
4026
  opacity: 0,
4022
4027
  transform: "translate3d(-100%, 0, 0) skewX(30deg)"
@@ -4066,7 +4071,7 @@ const {
4066
4071
  "&.lightSpeedInLeft": {
4067
4072
  animationFillMode: "both",
4068
4073
  animationTimingFunction: "ease-out",
4069
- animationName: Bo
4074
+ animationName: ko
4070
4075
  },
4071
4076
  "&.lightSpeedInRight": {
4072
4077
  animationFillMode: "both",
@@ -4517,7 +4522,7 @@ const {
4517
4522
  ...Da(),
4518
4523
  ...Ya(),
4519
4524
  ...wo(),
4520
- ...ko(),
4525
+ ...Bo(),
4521
4526
  ...Lo(),
4522
4527
  ...Xo(),
4523
4528
  ...qo(),
@@ -4558,44 +4563,44 @@ const Vi = /* @__PURE__ */ V({
4558
4563
  }), {
4559
4564
  wrapSSR: o,
4560
4565
  hashId: i
4561
- } = xi(a), u = b(() => [c(!1), `${a}-enter`, i.value].join(" ")), m = b(() => [c(!0), `${a}-leave`, i.value].join(" ")), c = (p) => {
4562
- const R = je.preset.find((l) => e.name == l.name);
4563
- if (R == null)
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)
4564
4569
  return "";
4565
- let h = "";
4566
- e.direction == null ? h = R.directions[0] : h = R.directions.find((l) => l == e.direction) || "", h = h == null || h === "default" ? "" : h, h != "" && (h = p && e.reverse ? I(h, R.directions) : h, h = h[0].toUpperCase() + h.substring(1));
4567
- const B = p ? "Out" : "In";
4568
- return R.name + B + h;
4569
- }, I = (p, R) => {
4570
+ 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) => {
4570
4575
  if (p.length == 0 || p == "x" || p == "y")
4571
4576
  return p;
4572
- let h = R.indexOf(p);
4573
- return h = h % 2 == 1 ? h - 1 : h + 1, R[h];
4577
+ let y = B.indexOf(p);
4578
+ return y = y % 2 == 1 ? y - 1 : y + 1, B[y];
4574
4579
  };
4575
4580
  return () => {
4576
4581
  var p;
4577
- return e.disabled ? (p = t.default) == null ? void 0 : p.call(t) : o(n(Pt, {
4582
+ return e.disabled ? (p = t.default) == null ? void 0 : p.call(t) : o(n(Ft, {
4578
4583
  enterActiveClass: u.value,
4579
4584
  leaveActiveClass: m.value
4580
4585
  }, {
4581
4586
  default: () => {
4582
- var R;
4583
- return [(R = t.default) == null ? void 0 : R.call(t)];
4587
+ var B;
4588
+ return [(B = t.default) == null ? void 0 : B.call(t)];
4584
4589
  }
4585
4590
  }));
4586
4591
  };
4587
4592
  }
4588
4593
  });
4589
4594
  export {
4590
- gt as BaseMenu,
4595
+ ht as BaseMenu,
4591
4596
  ma as DefaultHeader,
4592
4597
  Ni as GProLayout,
4593
- Be as GlobalFooter,
4598
+ ke as GlobalFooter,
4594
4599
  Di as PageContainer,
4595
4600
  dn as PageLoading,
4596
4601
  Vi as PageTranstion,
4597
4602
  Hi as SettingDrawer,
4598
- ke as SiderMenuWrapper,
4603
+ Be as SiderMenuWrapper,
4599
4604
  Ue as WrapContent,
4600
4605
  Ie as baseMenuProps,
4601
4606
  bn as clearMenuItem,