@gx-design-vue/pro-layout 0.1.0-beta.44 → 0.1.0-beta.45

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.
@@ -253,9 +253,9 @@ function mn(e) {
253
253
  return /\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e);
254
254
  }
255
255
  function ft(e, t, a, o) {
256
- var u, f, c, w, p, O, h, P, l, r, I, k, x, y, g, C, $, d, S, R, M, L, H, N, F, W, X, U, Y, m, v, B, T, z;
256
+ var d, f, c, w, p, O, h, P, l, r, I, k, x, y, g, C, $, u, S, R, M, L, H, N, F, W, X, U, Y, m, v, B, T, z;
257
257
  const i = { ...e };
258
- return a === "light" ? (i.colorItemBg = (f = (u = t.layout) == null ? void 0 : u[o]) == null ? void 0 : f.colorBgMenu, i.colorSubItemBg = (w = (c = t.layout) == null ? void 0 : c[o]) == null ? void 0 : w.colorSubItemBg, i.colorItemBgSelected = (O = (p = t.layout) == null ? void 0 : p[o]) == null ? void 0 : O.colorBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (P = (h = t.layout) == null ? void 0 : h[o]) == null ? void 0 : P.colorBgMenuItemSelected, i.colorItemText = (r = (l = t.layout) == null ? void 0 : l[o]) == null ? void 0 : r.colorTextMenu, i.colorItemTextHover = (k = (I = t.layout) == null ? void 0 : I[o]) == null ? void 0 : k.colorTextMenuHover, i.colorItemTextSelected = (y = (x = t.layout) == null ? void 0 : x[o]) == null ? void 0 : y.colorTextMenuSelected, i.colorItemTextSelectedHorizontal = (C = (g = t.layout) == null ? void 0 : g[o]) == null ? void 0 : C.colorTextMenuSelected, o === "sider" && (i.colorItemBgHover = (d = ($ = t.layout) == null ? void 0 : $[o]) == null ? void 0 : d.colorBgMenuItemHover)) : a === "dark" && (i.colorItemBg = (R = (S = t.layout) == null ? void 0 : S[o]) == null ? void 0 : R.colorDarkBgMenu, i.colorSubItemBg = (L = (M = t.layout) == null ? void 0 : M[o]) == null ? void 0 : L.colorDarkSubItemBg, i.colorItemBgSelected = (N = (H = t.layout) == null ? void 0 : H[o]) == null ? void 0 : N.colorDarkBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (W = (F = t.layout) == null ? void 0 : F[o]) == null ? void 0 : W.colorDarkBgMenuItemSelected, i.colorItemText = (U = (X = t.layout) == null ? void 0 : X[o]) == null ? void 0 : U.colorDarkTextMenu, i.colorItemTextHover = (m = (Y = t.layout) == null ? void 0 : Y[o]) == null ? void 0 : m.colorDarkTextMenuHover, i.colorItemTextSelected = (B = (v = t.layout) == null ? void 0 : v[o]) == null ? void 0 : B.colorDarkTextMenuSelected, i.colorItemTextSelectedHorizontal = (z = (T = t.layout) == null ? void 0 : T[o]) == null ? void 0 : z.colorDarkTextMenuSelected, o === "header" && (i.colorActiveBarHeight = 0)), i;
258
+ return a === "light" ? (i.colorItemBg = (f = (d = t.layout) == null ? void 0 : d[o]) == null ? void 0 : f.colorBgMenu, i.colorSubItemBg = (w = (c = t.layout) == null ? void 0 : c[o]) == null ? void 0 : w.colorSubItemBg, i.colorItemBgSelected = (O = (p = t.layout) == null ? void 0 : p[o]) == null ? void 0 : O.colorBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (P = (h = t.layout) == null ? void 0 : h[o]) == null ? void 0 : P.colorBgMenuItemSelected, i.colorItemText = (r = (l = t.layout) == null ? void 0 : l[o]) == null ? void 0 : r.colorTextMenu, i.colorItemTextHover = (k = (I = t.layout) == null ? void 0 : I[o]) == null ? void 0 : k.colorTextMenuHover, i.colorItemTextSelected = (y = (x = t.layout) == null ? void 0 : x[o]) == null ? void 0 : y.colorTextMenuSelected, i.colorItemTextSelectedHorizontal = (C = (g = t.layout) == null ? void 0 : g[o]) == null ? void 0 : C.colorTextMenuSelected, o === "sider" && (i.colorItemBgHover = (u = ($ = t.layout) == null ? void 0 : $[o]) == null ? void 0 : u.colorBgMenuItemHover)) : a === "dark" && (i.colorItemBg = (R = (S = t.layout) == null ? void 0 : S[o]) == null ? void 0 : R.colorDarkBgMenu, i.colorSubItemBg = (L = (M = t.layout) == null ? void 0 : M[o]) == null ? void 0 : L.colorDarkSubItemBg, i.colorItemBgSelected = (N = (H = t.layout) == null ? void 0 : H[o]) == null ? void 0 : N.colorDarkBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (W = (F = t.layout) == null ? void 0 : F[o]) == null ? void 0 : W.colorDarkBgMenuItemSelected, i.colorItemText = (U = (X = t.layout) == null ? void 0 : X[o]) == null ? void 0 : U.colorDarkTextMenu, i.colorItemTextHover = (m = (Y = t.layout) == null ? void 0 : Y[o]) == null ? void 0 : m.colorDarkTextMenuHover, i.colorItemTextSelected = (B = (v = t.layout) == null ? void 0 : v[o]) == null ? void 0 : B.colorDarkTextMenuSelected, i.colorItemTextSelectedHorizontal = (z = (T = t.layout) == null ? void 0 : T[o]) == null ? void 0 : z.colorDarkTextMenuSelected, o === "header" && (i.colorActiveBarHeight = 0)), i;
259
259
  }
260
260
  const fn = ["left", "right"], ue = ["left", "right", "down", "up"], gn = ["downBig", "upBig", "leftBig", "rightBig"], hn = ["topLeft", "bottomRight", "topRight", "bottomLeft"], yn = ["downLeft", "upRight", "downRight", "upLeft"], je = {
261
261
  preset: [
@@ -283,8 +283,8 @@ function bn(e) {
283
283
  return null;
284
284
  if (a && (a != null && a.children)) {
285
285
  if (a.children.some((i) => {
286
- var u;
287
- return i && !((u = i.meta) != null && u.hideInMenu);
286
+ var d;
287
+ return i && !((d = i.meta) != null && d.hideInMenu);
288
288
  }))
289
289
  return {
290
290
  ...a,
@@ -308,26 +308,26 @@ function vn(e, t) {
308
308
  }
309
309
  function xn(e) {
310
310
  let t = "";
311
- const a = function(o) {
312
- let i = "";
313
- return o.children && o.children.length > 0 ? i = a(o.children[0]) : i = o.path, i;
314
- };
315
- if (e.length > 0 && e[0].children && e[0].children.length > 0)
316
- t = a(e[0].children[0]);
311
+ const a = function(i) {
312
+ let d = "";
313
+ return i.children && i.children.length > 0 ? d = a(i.children[0]) : d = i.path, d;
314
+ }, o = e == null ? void 0 : e.filter((i) => !i.hidden);
315
+ if (o.length > 0 && o[0].children && o[0].children.length > 0)
316
+ t = a(o[0].children[0]);
317
317
  else {
318
- const o = e.length > 0 ? e[0] : void 0;
319
- t = (o == null ? void 0 : o.path) || "";
318
+ const i = o.length > 0 ? o[0] : void 0;
319
+ t = (i == null ? void 0 : i.path) || "";
320
320
  }
321
321
  return t;
322
322
  }
323
323
  function Ii(e, t) {
324
324
  var o, i;
325
- const a = ((i = (o = e.find((u) => u.path === t)) == null ? void 0 : o.meta) == null ? void 0 : i.key) || "";
325
+ const a = ((i = (o = e.find((d) => d.path === t)) == null ? void 0 : o.meta) == null ? void 0 : i.key) || "";
326
326
  if (a) {
327
- const u = [], f = a.split("-");
327
+ const d = [], f = a.split("-");
328
328
  for (let c = 0; c < f.length; c += 1)
329
- u.push(He(f).splice(0, c + 1).join("-"));
330
- return e.filter((c) => u.some((w) => {
329
+ d.push(He(f).splice(0, c + 1).join("-"));
330
+ return e.filter((c) => d.some((w) => {
331
331
  var p;
332
332
  return w === ((p = c == null ? void 0 : c.meta) == null ? void 0 : p.key) || "";
333
333
  }));
@@ -339,7 +339,7 @@ function Cn(e) {
339
339
  }
340
340
  function wn(e) {
341
341
  const t = ["showTabsBar", "fixedMultiTab", "fixSiderbar", "fixedHeader", "splitMenus"];
342
- let o = Object.keys(e).reduce((i, u) => (i[u] = !1, i), {});
342
+ let o = Object.keys(e).reduce((i, d) => (i[d] = !1, i), {});
343
343
  return o = Sn(o, t), e.layout === "mix" && (o.fixSiderbar = !0, o.fixedHeader = !0), e.layout === "side" && (o.splitMenus = !0), e.layout === "simple" && (o.splitMenus = !0, o.fixedHeader = !0, o.showTabsBar = !0, o.fixedMultiTab = !0), e.layout === "wide" && (o.splitMenus = !0, o.fixedHeader = !0, o.fixSiderbar = !0, o.showTabsBar = !0, o.fixedMultiTab = !0), o;
344
344
  }
345
345
  function Sn(e, t) {
@@ -357,8 +357,8 @@ const In = (e = Symbol(), t = "Context.Provider") => j({
357
357
  },
358
358
  setup(o, { slots: i }) {
359
359
  return it(e, Rt(o.value)), () => {
360
- var u;
361
- return (u = i.default) == null ? void 0 : u.call(i);
360
+ var d;
361
+ return (d = i.default) == null ? void 0 : d.call(i);
362
362
  };
363
363
  }
364
364
  }), Mn = (e = Symbol(), t) => kt(e, t || {}), We = Symbol("pro-layout-context"), On = () => In(We, "ProLayoutContext.Provider"), Rn = (e) => {
@@ -384,10 +384,10 @@ const Ce = (e) => {
384
384
  class: `${e.className}-icon-image`
385
385
  }, null);
386
386
  if (a === 1) {
387
- const u = Wt({
387
+ const d = Wt({
388
388
  scriptUrl: o || V.iconfontUrl
389
389
  });
390
- return o ? n(u, {
390
+ return o ? n(d, {
391
391
  type: t
392
392
  }, null) : n("i", {
393
393
  class: `iconfont ${t} ${e.className}-icon`
@@ -419,7 +419,7 @@ const gt = /* @__PURE__ */ j({
419
419
  }), i = (l) => {
420
420
  var r;
421
421
  (r = e.onOpenKeys) == null || r.call(e, l);
422
- }, u = (l) => {
422
+ }, d = (l) => {
423
423
  var r;
424
424
  (r = e.onSelect) == null || r.call(e, l.selectedKeys);
425
425
  }, f = (l) => {
@@ -430,7 +430,7 @@ const gt = /* @__PURE__ */ j({
430
430
  const I = l.target || "", k = mt(I);
431
431
  ((x = t.currentRoute.value) == null ? void 0 : x.fullPath) !== r.to && k && I && l.targetStatus === 1 && window.open(I);
432
432
  }, w = lt("router-link"), p = (l = []) => l.map((r) => O(r)).filter((r) => r), O = (l) => {
433
- var k, x, y, g, C, $, d, S, R;
433
+ var k, x, y, g, C, $, u, S, R;
434
434
  if (Array.isArray(l.children) && l.children.length > 0 && !((k = l == null ? void 0 : l.meta) != null && k.hideInMenu) && !((x = l == null ? void 0 : l.meta) != null && x.hideChildrenInMenu)) {
435
435
  let M;
436
436
  if (e.subMenuItemRender)
@@ -452,7 +452,7 @@ const gt = /* @__PURE__ */ j({
452
452
  className: o,
453
453
  icon: ($ = l.meta) == null ? void 0 : $.icon,
454
454
  iconfontUrl: e.iconfontUrl,
455
- iconType: (d = l.meta) == null ? void 0 : d.iconType
455
+ iconType: (u = l.meta) == null ? void 0 : u.iconType
456
456
  }, null)
457
457
  }, qe(M = p(l.children)) ? M : {
458
458
  default: () => [M]
@@ -472,7 +472,7 @@ const gt = /* @__PURE__ */ j({
472
472
  default: () => [r]
473
473
  });
474
474
  }, h = (l) => {
475
- var C, $, d, S, R;
475
+ var C, $, u, S, R;
476
476
  const r = {
477
477
  ...l.meta
478
478
  }, I = r.targetStatus === 1 && r.target ? "a" : w, k = {
@@ -489,7 +489,7 @@ const gt = /* @__PURE__ */ j({
489
489
  onClick: () => c(r, k)
490
490
  }), {
491
491
  default: () => [n("span", null, [x])]
492
- }), g = ((d = l.meta) == null ? void 0 : d.icon) && n(Ce, {
492
+ }), g = ((u = l.meta) == null ? void 0 : u.icon) && n(Ce, {
493
493
  className: o,
494
494
  icon: (S = l.meta) == null ? void 0 : S.icon,
495
495
  iconfontUrl: e.iconfontUrl,
@@ -505,7 +505,7 @@ const gt = /* @__PURE__ */ j({
505
505
  openKeys: e.openKeys === !1 ? [] : e.openKeys,
506
506
  selectedKeys: e.selectedKeys || [],
507
507
  onOpenChange: i,
508
- onSelect: u,
508
+ onSelect: d,
509
509
  onClick: f
510
510
  }, e.menuProps), {
511
511
  default: () => [P.value]
@@ -533,7 +533,7 @@ const gt = /* @__PURE__ */ j({
533
533
  }
534
534
  };
535
535
  }, Bn = (e) => {
536
- var t, a, o, i, u, f, c, w, p, O, h, P;
536
+ var t, a, o, i, d, f, c, w, p, O, h, P;
537
537
  return {
538
538
  [`${e.proComponentsCls}-basic-layout`]: {
539
539
  [`&${e.proComponentsCls}-basic-layout-wide`]: {
@@ -566,7 +566,7 @@ const gt = /* @__PURE__ */ j({
566
566
  background: (i = (o = e.layout) == null ? void 0 : o.sider) == null ? void 0 : i.colorBgMenu,
567
567
  boxShadow: "2px 0 8px 0 rgba(29,35,41,.05)",
568
568
  [`${e.componentCls}-footer`]: {
569
- color: (f = (u = e.layout) == null ? void 0 : u.sider) == null ? void 0 : f.colorTextMenu
569
+ color: (f = (d = e.layout) == null ? void 0 : d.sider) == null ? void 0 : f.colorTextMenu
570
570
  }
571
571
  },
572
572
  "&-links": {
@@ -680,12 +680,12 @@ const gt = /* @__PURE__ */ j({
680
680
  logo: a,
681
681
  logoStyle: o,
682
682
  title: i,
683
- layout: u
683
+ layout: d
684
684
  } = e, f = e[t || ""];
685
685
  if (f === !1)
686
686
  return null;
687
687
  const c = yt(a, o), w = i && n("h1", null, [i]);
688
- return typeof f == "function" ? f(c, e.collapsed ? null : w, e) : n(ee, null, [c || null, e.collapsed && u === "side" ? null : w]);
688
+ return typeof f == "function" ? f(c, e.collapsed ? null : w, e) : n(ee, null, [c || null, e.collapsed && d === "side" ? null : w]);
689
689
  }, Ke = /* @__PURE__ */ j({
690
690
  name: "LogoContent",
691
691
  props: se,
@@ -697,12 +697,12 @@ const gt = /* @__PURE__ */ j({
697
697
  isPor: !0
698
698
  })), {
699
699
  wrapSSR: i,
700
- hashId: u
700
+ hashId: d
701
701
  } = ne("ProLayoutLogo", [Fn]), f = b(() => Tn(e, e.renderKey));
702
702
  return () => i(n("div", {
703
703
  id: "logo",
704
704
  class: {
705
- [`${u.value}`]: !0,
705
+ [`${d.value}`]: !0,
706
706
  [`${o.value}-logo`]: !0,
707
707
  [`${o.value}-logo-collapsed`]: !!e.collapsed
708
708
  },
@@ -730,7 +730,7 @@ const {
730
730
  selectedKeys: a,
731
731
  flatMenuData: o,
732
732
  menuData: i,
733
- openKeys: u
733
+ openKeys: d
734
734
  } = te(), {
735
735
  indicator: f
736
736
  } = Le(), {
@@ -750,13 +750,13 @@ const {
750
750
  menuFooterRender: g,
751
751
  collapsedButtonRender: C,
752
752
  links: $
753
- } = Se(e), d = t({
753
+ } = Se(e), u = t({
754
754
  suffixCls: "sider",
755
755
  isPor: !0
756
756
  }), {
757
757
  wrapSSR: S,
758
758
  hashId: R
759
- } = ne("ProLayoutSiderMenu", [kn, Bn, $n], d), M = b(() => e.layout === "wide"), L = b(() => e.layout === "mix" && !e.isMobile && e.splitMenus), H = b(() => p.value === "side" || p.value === "simple"), N = b(() => (e.layout === "mix" || M.value) && "light" || w.value), F = b(() => p.value === "top" ? [] : i.value), W = b(() => e.collapsed ? e.collapsedWidth : e.siderWidth), X = b(() => [R.value, d, O.value ? "shadow" : null, `${d}-${N.value}`, l.value && e.layout !== "wide" ? `${d}-fixed` : null]), U = b(() => {
759
+ } = ne("ProLayoutSiderMenu", [kn, Bn, $n], u), M = b(() => e.layout === "wide"), L = b(() => e.layout === "mix" && !e.isMobile && e.splitMenus), H = b(() => p.value === "side" || p.value === "simple"), N = b(() => (e.layout === "mix" || M.value) && "light" || w.value), F = b(() => p.value === "top" ? [] : i.value), W = b(() => e.collapsed ? e.collapsedWidth : e.siderWidth), X = b(() => [R.value, u, O.value ? "shadow" : null, `${u}-${N.value}`, l.value && e.layout !== "wide" ? `${u}-fixed` : null]), U = b(() => {
760
760
  var v;
761
761
  return typeof $.value == "function" ? (v = $.value) == null ? void 0 : v.call($) : $.value;
762
762
  }), Y = b(() => C.value !== !1 ? C.value || bt : !1), m = (v) => {
@@ -774,12 +774,12 @@ const {
774
774
  const v = H.value ? n(Ke, q({
775
775
  drawer: O.value
776
776
  }, e), null) : null, B = x.value && ((z = x.value) == null ? void 0 : z.call(x, e)), T = n(gt, {
777
- class: `${d}-menu ${R.value}`,
777
+ class: `${u}-menu ${R.value}`,
778
778
  theme: N.value,
779
779
  mode: "inline",
780
780
  menuData: L.value ? o.value : F.value,
781
781
  iconfontUrl: e.iconfontUrl,
782
- openKeys: u.value,
782
+ openKeys: d.value,
783
783
  selectedKeys: a.value,
784
784
  menuItemRender: e.menuItemRender,
785
785
  subMenuItemRender: e.subMenuItemRender,
@@ -842,8 +842,8 @@ const {
842
842
  }, null)]), v || null, B && !e.collapsed && n("div", {
843
843
  class: {
844
844
  [`${R.value}`]: !0,
845
- [`${d}-extra`]: !0,
846
- [`${d}-extra-no-logo`]: !v
845
+ [`${u}-extra`]: !0,
846
+ [`${u}-extra-no-logo`]: !v
847
847
  }
848
848
  }, [B]), n("div", {
849
849
  style: {
@@ -851,22 +851,22 @@ const {
851
851
  overflow: "hidden auto"
852
852
  }
853
853
  }, [y.value && ((_ = y.value) == null ? void 0 : _.call(y, e, T)) || T]), e.layout !== "wide" && n("div", {
854
- class: `${d}-links ${R.value}`
854
+ class: `${u}-links ${R.value}`
855
855
  }, [n(oe, {
856
856
  theme: N.value,
857
857
  inlineIndent: 16,
858
- class: `${d}-link-menu ${R.value}`,
858
+ class: `${u}-link-menu ${R.value}`,
859
859
  selectedKeys: [],
860
860
  openKeys: [],
861
861
  mode: "inline"
862
862
  }, {
863
863
  default: () => [(U.value || []).map((E, Q) => n(Ze, {
864
- class: `${d}-link ${R.value}`,
864
+ class: `${u}-link ${R.value}`,
865
865
  key: Q
866
866
  }, Pn(E) ? E : {
867
867
  default: () => [E]
868
868
  })), Y.value && !O.value && n(Ze, {
869
- class: `${d}-collapsed-button ${R.value}`,
869
+ class: `${u}-collapsed-button ${R.value}`,
870
870
  title: !1,
871
871
  key: "collapsed",
872
872
  onClick: () => {
@@ -880,7 +880,7 @@ const {
880
880
  }
881
881
  })]
882
882
  })]), g.value && n("div", {
883
- class: `${d}-footer ${R.value}`
883
+ class: `${u}-footer ${R.value}`
884
884
  }, [(J = g.value) == null ? void 0 : J.call(g, e)])];
885
885
  }
886
886
  })]
@@ -985,7 +985,7 @@ const {
985
985
  suffixCls: "page-header"
986
986
  }), {
987
987
  wrapSSR: i,
988
- hashId: u
988
+ hashId: d
989
989
  } = ne("ProPageHeader", [Dn], o), f = b(() => {
990
990
  var c;
991
991
  return {
@@ -1002,14 +1002,14 @@ const {
1002
1002
  return () => {
1003
1003
  var c, w;
1004
1004
  return i(n("div", {
1005
- class: [`${o}`, u.value, `${o}-has-breadcrumb`]
1005
+ class: [`${o}`, d.value, `${o}-has-breadcrumb`]
1006
1006
  }, [e.breadcrumb ? (c = e.breadcrumb) == null ? void 0 : c.call(e, f.value) : n(Pt, f.value, null), e.content && n("div", {
1007
- class: [`${o}-content`, u.value]
1007
+ class: [`${o}-content`, d.value]
1008
1008
  }, [(w = e.content) == null ? void 0 : w.call(e)])]));
1009
1009
  };
1010
1010
  }
1011
1011
  }), zn = (e) => {
1012
- var t, a, o, i, u, f, c, w;
1012
+ var t, a, o, i, d, f, c, w;
1013
1013
  return {
1014
1014
  [`${e.proComponentsCls}-basic-layout`]: {
1015
1015
  [e.componentCls]: {
@@ -1022,7 +1022,7 @@ const {
1022
1022
  },
1023
1023
  [e.componentCls]: {
1024
1024
  "&-children-content": {
1025
- marginInline: ((f = (u = e.layout) == null ? void 0 : u.pageContainer) == null ? void 0 : f.marginInlinePageContainerContent) ?? 24,
1025
+ marginInline: ((f = (d = e.layout) == null ? void 0 : d.pageContainer) == null ? void 0 : f.marginInlinePageContainerContent) ?? 24,
1026
1026
  marginBlockStart: ((w = (c = e.layout) == null ? void 0 : c.pageContainer) == null ? void 0 : w.marginBlockPageContainerContent) ?? 24,
1027
1027
  padding: "inherit"
1028
1028
  }
@@ -1051,7 +1051,7 @@ const Mi = /* @__PURE__ */ j({
1051
1051
  const {
1052
1052
  getPrefixCls: o,
1053
1053
  hasContentWide: i,
1054
- waterMark: u,
1054
+ waterMark: d,
1055
1055
  pageHeaderRender: f,
1056
1056
  pageContentStyle: c,
1057
1057
  pageChildrenContentStyle: w,
@@ -1068,12 +1068,12 @@ const Mi = /* @__PURE__ */ j({
1068
1068
  isPor: !0
1069
1069
  }), k = b(() => e.pageCardProps || p.value), x = b(() => e.waterMarkProps || h.value || {}), y = b(() => e.pageContentStyle || c.value), g = b(() => e.pageChildrenContentStyle || w.value || {}), C = b(() => _e(e.usePageCard) ? e.usePageCard : _e(O.value) ? O.value : !0), {
1070
1070
  wrapSSR: $,
1071
- hashId: d
1071
+ hashId: u
1072
1072
  } = Hn(r), S = () => {
1073
1073
  var L, H, N, F, W, X;
1074
1074
  const M = K(t, e, "pageChildrenExtraRender");
1075
1075
  return n("div", {
1076
- class: `${r}-children-content ${d.value}`,
1076
+ class: `${r}-children-content ${u.value}`,
1077
1077
  style: g.value
1078
1078
  }, [M && (M == null ? void 0 : M()), C.value ? n(Lt, q(k.value ? re(k.value, ["loading", "bodyStyle"]) : {}, {
1079
1079
  style: i.value ? {
@@ -1092,7 +1092,7 @@ const Mi = /* @__PURE__ */ j({
1092
1092
  }, [(W = t.default) == null ? void 0 : W.call(t)]) : (X = t.default) == null ? void 0 : X.call(t)]);
1093
1093
  }, R = () => {
1094
1094
  let M;
1095
- return n(ee, null, [e.waterMark && u.value ? n(Qt, x.value, Vn(M = S()) ? M : {
1095
+ return n(ee, null, [e.waterMark && d.value ? n(Qt, x.value, Vn(M = S()) ? M : {
1096
1096
  default: () => [M]
1097
1097
  }) : S()]);
1098
1098
  };
@@ -1105,7 +1105,7 @@ const Mi = /* @__PURE__ */ j({
1105
1105
  default: () => [n("div", {
1106
1106
  style: a.style,
1107
1107
  class: {
1108
- [`${d.value}`]: !0,
1108
+ [`${u.value}`]: !0,
1109
1109
  [`${r}`]: !0
1110
1110
  }
1111
1111
  }, [!i.value && M !== !1 && (M || n(Nn, {
@@ -1113,9 +1113,9 @@ const Mi = /* @__PURE__ */ j({
1113
1113
  breadcrumb: L,
1114
1114
  content: H
1115
1115
  }, null)), n("div", {
1116
- class: [I, d.value]
1116
+ class: [I, u.value]
1117
1117
  }, [n("div", {
1118
- class: `${I}-children ${d.value}`,
1118
+ class: `${I}-children ${u.value}`,
1119
1119
  style: y.value
1120
1120
  }, [R()])])])]
1121
1121
  }));
@@ -1475,7 +1475,7 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1475
1475
  } = Se(e), o = Re(!1), i = rt({
1476
1476
  activeKey: "",
1477
1477
  contextMenuActiveKey: ""
1478
- }), u = De(), {
1478
+ }), d = De(), {
1479
1479
  menuData: f,
1480
1480
  flatMenuData: c,
1481
1481
  layout: w,
@@ -1494,7 +1494,7 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1494
1494
  }, {
1495
1495
  deep: !0
1496
1496
  });
1497
- const I = b(() => w.value === "mix" && !e.isMobile && p.value), k = b(() => G(u.currentRoute.value)), x = b(() => a.value && !t.value), y = b(() => {
1497
+ const I = b(() => w.value === "mix" && !e.isMobile && p.value), k = b(() => G(d.currentRoute.value)), x = b(() => a.value && !t.value), y = b(() => {
1498
1498
  const m = !(I.value && A(c.value).length === 0 || f.value.length === 0 || w.value === "top");
1499
1499
  return x.value && m ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
1500
1500
  }), g = b(() => ct(`${h}-wrap`, {
@@ -1512,7 +1512,7 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1512
1512
  zIndex: 99,
1513
1513
  ...m
1514
1514
  } : m;
1515
- }), $ = (m) => G(m) === k.value, d = (m) => {
1515
+ }), $ = (m) => G(m) === k.value, u = (m) => {
1516
1516
  if (m.name && m.meta && m.meta.tagHidden !== !0) {
1517
1517
  const v = G(m), B = r.value.find((z) => G(z) === v), T = {
1518
1518
  path: m.path,
@@ -1528,7 +1528,7 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1528
1528
  }
1529
1529
  }, S = (m) => {
1530
1530
  m.forEach((v) => {
1531
- v.meta && v.meta.tagFixed && d(v), v.children && S(v.children);
1531
+ v.meta && v.meta.tagFixed && u(v), v.children && S(v.children);
1532
1532
  });
1533
1533
  };
1534
1534
  ce(() => f.value, (m) => {
@@ -1536,21 +1536,21 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1536
1536
  }, {
1537
1537
  deep: !0,
1538
1538
  immediate: !0
1539
- }), ce(() => u.currentRoute.value, (m) => {
1540
- d(m);
1539
+ }), ce(() => d.currentRoute.value, (m) => {
1540
+ u(m);
1541
1541
  }, {
1542
1542
  deep: !0,
1543
1543
  immediate: !0
1544
1544
  });
1545
1545
  const R = () => {
1546
1546
  const m = r.value.slice(-1)[0];
1547
- m ? u.push(m) : u.push("/");
1547
+ m ? d.push(m) : d.push("/");
1548
1548
  }, M = async (m) => {
1549
1549
  const v = r.value.find((B) => m === G(B));
1550
1550
  r.value = r.value.filter((B) => G(B) !== m), v && $(v) && R();
1551
1551
  }, L = (m) => {
1552
1552
  const v = r.value.find((B) => G(B) === m);
1553
- v && i.activeKey !== G(v) && v.fullPath && u.push(v.fullPath);
1553
+ v && i.activeKey !== G(v) && v.fullPath && d.push(v.fullPath);
1554
1554
  }, H = () => {
1555
1555
  var m;
1556
1556
  o.value = !0, e.onReloadPage && ((m = e.onReloadPage) == null || m.call(e)), setTimeout(() => {
@@ -1581,7 +1581,7 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1581
1581
  (B === 0 || B) && i.activeKey === F(v) && H();
1582
1582
  break;
1583
1583
  }
1584
- i.activeKey !== F(v) && u.push(F(v));
1584
+ i.activeKey !== F(v) && d.push(F(v));
1585
1585
  }, X = (m, v) => {
1586
1586
  const B = r.value.findIndex((T) => G(T) === v);
1587
1587
  switch (m) {
@@ -1693,7 +1693,7 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1693
1693
  const {
1694
1694
  hashId: o,
1695
1695
  prefixCls: i,
1696
- isMobile: u,
1696
+ isMobile: d,
1697
1697
  loading: f,
1698
1698
  collapsed: c,
1699
1699
  siderWidth: w,
@@ -1710,7 +1710,7 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1710
1710
  } = te();
1711
1711
  return n(ee, null, [n(Gn, {
1712
1712
  visible: (A(r) === "mix" ? A(l).length > 0 : !0) && p,
1713
- isMobile: u,
1713
+ isMobile: d,
1714
1714
  loading: f,
1715
1715
  isFixedMultiTab: O,
1716
1716
  siderWidth: w,
@@ -1889,12 +1889,12 @@ const Zn = (e) => {
1889
1889
  const o = De(), {
1890
1890
  token: i
1891
1891
  } = ge(), {
1892
- getPrefixCls: u,
1892
+ getPrefixCls: d,
1893
1893
  openKeys: f,
1894
1894
  selectedKeys: c
1895
1895
  } = te(), {
1896
1896
  width: w
1897
- } = rn(), p = u({
1897
+ } = rn(), p = d({
1898
1898
  suffixCls: "global-header",
1899
1899
  isPor: !0
1900
1900
  }), {
@@ -2005,7 +2005,7 @@ const {
2005
2005
  isMobile: a,
2006
2006
  fixedHeader: o,
2007
2007
  headerHeight: i,
2008
- layout: u,
2008
+ layout: d,
2009
2009
  onCollapse: f,
2010
2010
  splitMenus: c
2011
2011
  } = Se(e), {
@@ -2020,12 +2020,12 @@ const {
2020
2020
  }), {
2021
2021
  wrapSSR: P,
2022
2022
  hashId: l
2023
- } = ne("ProLayoutHeader", [Zn], O), r = b(() => u.value === "wide"), I = b(() => o.value), k = b(() => u.value === "mix" || r.value), x = b(() => u.value === "side" || u.value === "simple"), y = b(() => x.value && "light" || t.value), g = b(() => ({
2023
+ } = ne("ProLayoutHeader", [Zn], O), r = b(() => d.value === "wide"), I = b(() => o.value), k = b(() => d.value === "mix" || r.value), x = b(() => d.value === "side" || d.value === "simple"), y = b(() => x.value && "light" || t.value), g = b(() => ({
2024
2024
  [`${l.value}`]: !0,
2025
2025
  [`${O}-${y.value}`]: !0,
2026
2026
  [`${O}`]: !0,
2027
2027
  [`${h}`]: I.value
2028
- })), C = b(() => I.value && !a.value), $ = b(() => c.value ? p.value && pn(p.value) || [] : u.value === "top" ? p.value : []), d = b(() => x.value && C.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), S = b(() => I.value ? 0 : void 0), R = () => {
2028
+ })), C = b(() => I.value && !a.value), $ = b(() => c.value ? p.value && pn(p.value) || [] : d.value === "top" ? p.value : []), u = b(() => x.value && C.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), S = b(() => I.value ? 0 : void 0), R = () => {
2029
2029
  const M = n(ta, q(e, {
2030
2030
  theme: y.value,
2031
2031
  mode: "horizontal",
@@ -2051,7 +2051,7 @@ const {
2051
2051
  style: {
2052
2052
  height: `${i.value}px`,
2053
2053
  lineHeight: `${i.value}px`,
2054
- width: d.value,
2054
+ width: u.value,
2055
2055
  zIndex: x.value ? 100 : 101,
2056
2056
  right: S.value
2057
2057
  }
@@ -2079,7 +2079,7 @@ const {
2079
2079
  }), {
2080
2080
  wrapSSR: o,
2081
2081
  hashId: i
2082
- } = ne("ProLayout", [Wn, Kn], a), u = on(), {
2082
+ } = ne("ProLayout", [Wn, Kn], a), d = on(), {
2083
2083
  token: f
2084
2084
  } = ge(), c = b(() => {
2085
2085
  var y;
@@ -2088,7 +2088,7 @@ const {
2088
2088
  Ft(() => {
2089
2089
  c.value && document.querySelector("html") && document.querySelector("html").style.setProperty("--gx-primary-color", c.value);
2090
2090
  });
2091
- const w = b(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), p = b(() => e.layout === "wide"), O = b(() => w.value), h = b(() => e.collapsed ? e.collapsedWidth : e.siderWidth), P = b(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), l = b(() => (u.value === "sm" || u.value === "xs") && !e.disableMobile && !p.value), r = rt({
2091
+ const w = b(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), p = b(() => e.layout === "wide"), O = b(() => w.value), h = b(() => e.collapsed ? e.collapsedWidth : e.siderWidth), P = b(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), l = b(() => (d.value === "sm" || d.value === "xs") && !e.disableMobile && !p.value), r = rt({
2092
2092
  position: "relative"
2093
2093
  });
2094
2094
  (e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (r.minHeight = 0);
@@ -2112,7 +2112,7 @@ const {
2112
2112
  pageHeaderRender: b(() => K(t, e, "pageHeaderRender"))
2113
2113
  }), () => {
2114
2114
  var z;
2115
- const y = K(t, e, "collapsedButtonRender"), g = K(t, e, "headerContentRender"), C = K(t, e, "rightContentRender"), $ = K(t, e, "headerRender"), d = K(t, e, "footerRender"), S = K(t, e, "links"), R = K(t, e, "copyrightRender"), M = K(t, e, "extraRightDropdownRender"), L = K(t, e, "menuHeaderRender"), H = K(t, e, "menuExtraRender"), N = K(t, e, "menuContentRender"), F = K(t, e, "menuFooterRender"), W = K(t, e, "menuItemRender"), X = K(t, e, "subMenuItemRender"), U = {
2115
+ const y = K(t, e, "collapsedButtonRender"), g = K(t, e, "headerContentRender"), C = K(t, e, "rightContentRender"), $ = K(t, e, "headerRender"), u = K(t, e, "footerRender"), S = K(t, e, "links"), R = K(t, e, "copyrightRender"), M = K(t, e, "extraRightDropdownRender"), L = K(t, e, "menuHeaderRender"), H = K(t, e, "menuExtraRender"), N = K(t, e, "menuContentRender"), F = K(t, e, "menuFooterRender"), W = K(t, e, "menuItemRender"), X = K(t, e, "subMenuItemRender"), U = {
2116
2116
  menuItemRender: W,
2117
2117
  subMenuItemRender: X
2118
2118
  }, Y = b(() => I({
@@ -2178,7 +2178,7 @@ const {
2178
2178
  var _;
2179
2179
  return [(_ = t.default) == null ? void 0 : _.call(t)];
2180
2180
  }
2181
- }), d === !1 ? null : d ? d(e) : n(Be, {
2181
+ }), u === !1 ? null : u ? u(e) : n(Be, {
2182
2182
  copyright: R
2183
2183
  }, null)]
2184
2184
  })]
@@ -2201,7 +2201,7 @@ const {
2201
2201
  dark: e.theme === "realDark"
2202
2202
  } : {}), i = (c) => {
2203
2203
  a("update:collapsed", c), a("collapse", c);
2204
- }, u = (c) => {
2204
+ }, d = (c) => {
2205
2205
  a("update:open-keys", c), a("openKeys", c);
2206
2206
  }, f = (c) => {
2207
2207
  a("update:selected-keys", c), a("select", c);
@@ -2218,15 +2218,15 @@ const {
2218
2218
  }, o.value), {
2219
2219
  default: () => [n(aa, q(Ve(e, ["onSelect", "onOpenKeys", "onCollapse"]), {
2220
2220
  onSelect: f,
2221
- onOpenKeys: u,
2221
+ onOpenKeys: d,
2222
2222
  onCollapse: i
2223
2223
  }), t)]
2224
2224
  })]
2225
2225
  });
2226
2226
  }
2227
2227
  }), It = (e, t, a) => e.map((o, i) => {
2228
- var u;
2229
- return o.meta && (o.meta.key = a ? `${a}-${i}` : `${i}`), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = It(o.children, t, (u = o.meta) == null ? void 0 : u.key)), t[`${o.path}`] = o, o;
2228
+ var d;
2229
+ return o.meta && (o.meta.key = a ? `${a}-${i}` : `${i}`), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = It(o.children, t, (d = o.meta) == null ? void 0 : d.key)), t[`${o.path}`] = o, o;
2230
2230
  }), Ri = (e) => {
2231
2231
  const t = e.find((i) => i.path === "/"), a = {}, o = It((t == null ? void 0 : t.children) || [], a);
2232
2232
  return {
@@ -2501,10 +2501,10 @@ const {
2501
2501
  }, [(a = e.colorList) == null ? void 0 : a.map(({
2502
2502
  key: o,
2503
2503
  color: i,
2504
- title: u
2504
+ title: d
2505
2505
  }) => o ? n(Ie, {
2506
2506
  key: i,
2507
- title: u
2507
+ title: d
2508
2508
  }, {
2509
2509
  default: () => {
2510
2510
  var f, c;
@@ -2611,7 +2611,7 @@ const da = /* @__PURE__ */ j({
2611
2611
  suffixCls: "theme-editor",
2612
2612
  isPor: !0
2613
2613
  }), {
2614
- wrapSSR: u,
2614
+ wrapSSR: d,
2615
2615
  hashId: f
2616
2616
  } = ne("ProThemeEditor", [ra], i), {
2617
2617
  token: c
@@ -2619,7 +2619,7 @@ const da = /* @__PURE__ */ j({
2619
2619
  var l;
2620
2620
  return (l = c.value) == null ? void 0 : l.layout;
2621
2621
  }), p = b(() => {
2622
- var l, r, I, k, x, y, g, C, $, d, S, R, M, L, H, N, F, W, X, U, Y, m, v, B, T;
2622
+ var l, r, I, k, x, y, g, C, $, u, S, R, M, L, H, N, F, W, X, U, Y, m, v, B, T;
2623
2623
  return [{
2624
2624
  key: "colorBgMenu",
2625
2625
  title: "全部背景",
@@ -2643,7 +2643,7 @@ const da = /* @__PURE__ */ j({
2643
2643
  }, {
2644
2644
  key: "colorDarkBgMenuItemSelected",
2645
2645
  title: "菜单选中背景",
2646
- disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "light" || (($ = e.settingValue) == null ? void 0 : $.theme) === "dark" && ["side", "simple"].includes((d = e.settingValue) == null ? void 0 : d.layout)
2646
+ disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "light" || (($ = e.settingValue) == null ? void 0 : $.theme) === "dark" && ["side", "simple"].includes((u = e.settingValue) == null ? void 0 : u.layout)
2647
2647
  }, {
2648
2648
  key: "colorTextMenu",
2649
2649
  title: "菜单文字颜色",
@@ -2670,7 +2670,7 @@ const da = /* @__PURE__ */ j({
2670
2670
  disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "light" || ((B = e.settingValue) == null ? void 0 : B.theme) === "dark" && ["side", "simple"].includes((T = e.settingValue) == null ? void 0 : T.layout)
2671
2671
  }];
2672
2672
  }), O = b(() => {
2673
- var l, r, I, k, x, y, g, C, $, d, S, R, M, L, H, N, F, W, X, U, Y, m, v, B, T, z, _, J, E, Q, Ee, Xe;
2673
+ var l, r, I, k, x, y, g, C, $, u, S, R, M, L, H, N, F, W, X, U, Y, m, v, B, T, z, _, J, E, Q, Ee, Xe;
2674
2674
  return [{
2675
2675
  key: "colorBgMenu",
2676
2676
  title: "全部背景",
@@ -2686,7 +2686,7 @@ const da = /* @__PURE__ */ j({
2686
2686
  }, {
2687
2687
  key: "colorDarkSubItemBg",
2688
2688
  title: "子菜单背景",
2689
- disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "light" || (($ = e.settingValue) == null ? void 0 : $.theme) === "dark" && ["mix", "wide"].includes((d = e.settingValue) == null ? void 0 : d.layout)
2689
+ disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "light" || (($ = e.settingValue) == null ? void 0 : $.theme) === "dark" && ["mix", "wide"].includes((u = e.settingValue) == null ? void 0 : u.layout)
2690
2690
  }, {
2691
2691
  key: "colorBgMenuItemHover",
2692
2692
  title: "菜单移入背景",
@@ -2731,7 +2731,7 @@ const da = /* @__PURE__ */ j({
2731
2731
  return () => {
2732
2732
  var r, I, k;
2733
2733
  let l;
2734
- return u(n("div", {
2734
+ return d(n("div", {
2735
2735
  class: [i, f.value]
2736
2736
  }, [n("h3", {
2737
2737
  class: [`${i}-title`, f.value]
@@ -2864,7 +2864,7 @@ const {
2864
2864
  hashId: o
2865
2865
  } = ne("SettingsDrawOthers", [ua], t);
2866
2866
  return () => {
2867
- var u, f, c, w, p, O, h, P, l, r, I, k, x, y;
2867
+ var d, f, c, w, p, O, h, P, l, r, I, k, x, y;
2868
2868
  let i;
2869
2869
  return a(n("div", {
2870
2870
  class: [t, o.value]
@@ -2893,7 +2893,7 @@ const {
2893
2893
  dataSource: [{
2894
2894
  title: "禁用动画",
2895
2895
  action: n(st, {
2896
- checked: !((f = (u = e.settingValue) == null ? void 0 : u.animate) != null && f.disabled),
2896
+ checked: !((f = (d = e.settingValue) == null ? void 0 : d.animate) != null && f.disabled),
2897
2897
  size: "small",
2898
2898
  onChange: (g) => {
2899
2899
  var C;
@@ -2944,8 +2944,8 @@ const {
2944
2944
  default: () => {
2945
2945
  var g;
2946
2946
  return [(g = nt.find((C) => {
2947
- var $, d;
2948
- return C.name === ((d = ($ = e.settingValue) == null ? void 0 : $.animate) == null ? void 0 : d.name);
2947
+ var $, u;
2948
+ return C.name === ((u = ($ = e.settingValue) == null ? void 0 : $.animate) == null ? void 0 : u.name);
2949
2949
  })) == null ? void 0 : g.directions.map((C) => n(he.Option, {
2950
2950
  value: C
2951
2951
  }, tt(C) ? C : {
@@ -3019,7 +3019,7 @@ const {
3019
3019
  }), {
3020
3020
  wrapSSR: o,
3021
3021
  hashId: i
3022
- } = ne("ProSettingDraw", [ia], a), u = Re(!1), [f, c] = ve(!1), [w, p] = ve(!1), [O, h] = ve(!1), P = b(() => ot(re(e.settings, Fe))), [l, r] = ln(() => ot(re(e.settings, Fe)), {
3022
+ } = ne("ProSettingDraw", [ia], a), d = Re(!1), [f, c] = ve(!1), [w, p] = ve(!1), [O, h] = ve(!1), P = b(() => ot(re(e.settings, Fe))), [l, r] = ln(() => ot(re(e.settings, Fe)), {
3023
3023
  value: P,
3024
3024
  onChange: e.onChange
3025
3025
  }), I = b(() => e.colorList && tn(e.colorList) ? e.colorList : []), k = b(() => wn(A(l))), {
@@ -3028,17 +3028,17 @@ const {
3028
3028
  isSupported: g
3029
3029
  } = sn();
3030
3030
  ce(f, () => {
3031
- u.value || (u.value = !0);
3031
+ d.value || (d.value = !0);
3032
3032
  });
3033
- const C = (d, S, R) => {
3033
+ const C = (u, S, R) => {
3034
3034
  var H, N;
3035
3035
  const M = ["header", "sider"], L = {};
3036
- if (R && M.includes(d)) {
3037
- L[d] = {}, L[d][R] = S, e.onChangeLayout && e.onChangeLayout(re(L, M));
3036
+ if (R && M.includes(u)) {
3037
+ L[u] = {}, L[u][R] = S, e.onChangeLayout && e.onChangeLayout(re(L, M));
3038
3038
  return;
3039
3039
  } else
3040
- d === "animate" ? (L[d] = {}, L[d][R] = S, R === "name" && (L[d].direction = (N = (H = ma.find((F) => F.name === S)) == null ? void 0 : H.directions) == null ? void 0 : N[0])) : L[d] = S;
3041
- if (d === "colorWeak") {
3040
+ u === "animate" ? (L[u] = {}, L[u][R] = S, R === "name" && (L[u].direction = (N = (H = ma.find((F) => F.name === S)) == null ? void 0 : H.directions) == null ? void 0 : N[0])) : L[u] = S;
3041
+ if (u === "colorWeak") {
3042
3042
  const F = document.querySelector("body");
3043
3043
  F && (F.dataset.prosettingdrawer = S === !0 ? F.style.filter : F.dataset.prosettingdrawer || "none", S === !0 && (F.dataset.prosettingdrawer = F.style.filter), F.style.filter = S === !0 ? "invert(80%)" : F.dataset.prosettingdrawer || "none", S || delete F.dataset.prosettingdrawer);
3044
3044
  }
@@ -3048,13 +3048,13 @@ const {
3048
3048
  }, $ = () => {
3049
3049
  g.value && x(JSON.stringify(A(l)));
3050
3050
  };
3051
- return ce(y, (d) => {
3052
- d && zt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3051
+ return ce(y, (u) => {
3052
+ u && zt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3053
3053
  }), () => o(n(pe, {
3054
3054
  width: 300,
3055
3055
  closable: !1,
3056
3056
  open: f.value,
3057
- rootClassName: `${a} ${i.value} ${f.value && `${a}-show`} ${!u.value && `${a}-trantion-none`}`,
3057
+ rootClassName: `${a} ${i.value} ${f.value && `${a}-show`} ${!d.value && `${a}-trantion-none`}`,
3058
3058
  placement: "right",
3059
3059
  rootStyle: {
3060
3060
  zIndex: 999
@@ -3089,7 +3089,7 @@ const {
3089
3089
  value: l.value.theme,
3090
3090
  configType: "theme",
3091
3091
  key: "navTheme",
3092
- onChange: (d) => C("theme", d)
3092
+ onChange: (u) => C("theme", u)
3093
3093
  }, null)]
3094
3094
  }), n(be, {
3095
3095
  hashId: i.value,
@@ -3106,7 +3106,7 @@ const {
3106
3106
  prefixCls: a,
3107
3107
  colorList: I.value,
3108
3108
  settingValue: l.value,
3109
- onChange: (d, S) => C(S || "primaryColor", d)
3109
+ onChange: (u, S) => C(S || "primaryColor", u)
3110
3110
  }, null)]
3111
3111
  }), !e.themeOnly && n(ee, null, [n(Oe, null, null), n(be, {
3112
3112
  hashId: i.value,
@@ -3120,18 +3120,18 @@ const {
3120
3120
  hashId: i.value,
3121
3121
  configType: "layout",
3122
3122
  list: Ot,
3123
- onChange: (d) => C("layout", d)
3123
+ onChange: (u) => C("layout", u)
3124
3124
  }, null)]
3125
3125
  }), fa.map(({
3126
- label: d,
3126
+ label: u,
3127
3127
  title: S
3128
3128
  }) => n(ye, {
3129
3129
  label: S,
3130
- disabled: A(k)[d],
3131
- value: A(l)[d],
3130
+ disabled: A(k)[u],
3131
+ value: A(l)[u],
3132
3132
  prefixCls: a,
3133
3133
  hashId: i.value,
3134
- valueKey: d,
3134
+ valueKey: u,
3135
3135
  onChange: (R, M) => C(R, M)
3136
3136
  }, null)), n(Oe, null, null), n(be, {
3137
3137
  hashId: i.value,
@@ -3144,15 +3144,15 @@ const {
3144
3144
  }, [ae("更多配置")])])
3145
3145
  }, {
3146
3146
  default: () => [ga.map(({
3147
- label: d,
3147
+ label: u,
3148
3148
  title: S
3149
3149
  }) => n(ye, {
3150
3150
  label: S,
3151
- disabled: A(k)[d],
3152
- value: A(l)[d],
3151
+ disabled: A(k)[u],
3152
+ value: A(l)[u],
3153
3153
  prefixCls: a,
3154
3154
  hashId: i.value,
3155
- valueKey: d,
3155
+ valueKey: u,
3156
3156
  onChange: (R, M) => C(R, M)
3157
3157
  }, null)), e.weakmode && n(ye, {
3158
3158
  label: "色弱模式",
@@ -3160,14 +3160,14 @@ const {
3160
3160
  prefixCls: a,
3161
3161
  hashId: i.value,
3162
3162
  valueKey: "colorWeak",
3163
- onChange: (d, S) => C(d, S)
3163
+ onChange: (u, S) => C(u, S)
3164
3164
  }, null), e.showProgress && n(ye, {
3165
3165
  label: "顶部进度条",
3166
3166
  value: A(l).showProgressBar,
3167
3167
  prefixCls: a,
3168
3168
  hashId: i.value,
3169
3169
  valueKey: "showProgressBar",
3170
- onChange: (d, S) => C(d, S)
3170
+ onChange: (u, S) => C(u, S)
3171
3171
  }, null)]
3172
3172
  })]), e.hideHintAlert && e.hideCopyButton ? null : n(Oe, null, null), e.hideHintAlert ? null : n(Ht, {
3173
3173
  type: "warning",
@@ -3195,7 +3195,7 @@ const {
3195
3195
  }, {
3196
3196
  default: () => [n(da, {
3197
3197
  settingValue: l.value,
3198
- onChange: (d, S, R) => C(S || "primaryColor", d, R)
3198
+ onChange: (u, S, R) => C(S || "primaryColor", u, R)
3199
3199
  }, null)]
3200
3200
  }), n(pe, {
3201
3201
  width: 320,
@@ -3209,7 +3209,7 @@ const {
3209
3209
  }, {
3210
3210
  default: () => [n(ca, {
3211
3211
  settingValue: l.value,
3212
- onChange: (d, S, R) => C(d, R, S)
3212
+ onChange: (u, S, R) => C(u, R, S)
3213
3213
  }, null)]
3214
3214
  })]
3215
3215
  }));
@@ -4518,7 +4518,7 @@ const Bi = /* @__PURE__ */ j({
4518
4518
  }), {
4519
4519
  wrapSSR: o,
4520
4520
  hashId: i
4521
- } = di(a), u = b(() => [c(!1), `${a}-enter`, i.value].join(" ")), f = b(() => [c(!0), `${a}-leave`, i.value].join(" ")), c = (p) => {
4521
+ } = di(a), d = b(() => [c(!1), `${a}-enter`, i.value].join(" ")), f = b(() => [c(!0), `${a}-leave`, i.value].join(" ")), c = (p) => {
4522
4522
  const O = je.preset.find((l) => e.name == l.name);
4523
4523
  if (O == null)
4524
4524
  return "";
@@ -4535,7 +4535,7 @@ const Bi = /* @__PURE__ */ j({
4535
4535
  return () => {
4536
4536
  var p;
4537
4537
  return e.disabled ? (p = t.default) == null ? void 0 : p.call(t) : o(n(Tt, {
4538
- enterActiveClass: u.value,
4538
+ enterActiveClass: d.value,
4539
4539
  leaveActiveClass: f.value
4540
4540
  }, {
4541
4541
  default: () => {