@gx-design-vue/pro-layout 0.1.0-beta.93 → 0.1.0-beta.94

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,11 +1,11 @@
1
- import { createVNode as n, defineComponent as W, createTextVNode as X, toRefs as Qe, ref as me, reactive as xe, watch as ne, computed as x, unref as se, Fragment as te, isVNode as De, mergeProps as J, resolveComponent as nn, nextTick as It, watchEffect as Qn, onMounted as wt, isRef as At, h as Zn, toRaw as Ht, Transition as Jn } from "vue";
2
- import { pick as ie, cloneDeep as ve, omit as Ie } from "lodash-es";
1
+ import { createVNode as n, defineComponent as W, createTextVNode as X, toRefs as Qe, ref as fe, reactive as xe, watch as ne, computed as x, unref as ue, Fragment as ee, isVNode as De, mergeProps as J, resolveComponent as nn, nextTick as It, watchEffect as Qn, onMounted as wt, isRef as At, h as Zn, toRaw as Ht, Transition as Jn } from "vue";
2
+ import { pick as le, cloneDeep as ve, omit as Ie } from "lodash-es";
3
3
  import { LayoutFooter as ea, Tabs as Rt, Menu as pe, Dropdown as bt, Popover as ta, Badge as na, ConfigProvider as $t, Spin as Bt, Layout as Xe, Drawer as tt, Avatar as an, Form as jt, Input as on, Button as nt, Empty as Et, MenuItem as Kt, Breadcrumb as aa, Card as oa, Tooltip as it, List as Me, Switch as ln, TabPane as ia, Select as Je, message as la, Segmented as ra, Divider as ft, Alert as sa } from "ant-design-vue";
4
4
  import { useLocalStorage as lt, useThrottleFn as rn, useColorMode as ua, useStyleTag as ca, useMagicKeys as sn, whenever as vt, onKeyStroke as ht, useFullscreen as da, useDebounceFn as ma, useClipboard as fa } from "@vueuse/core";
5
5
  import { GPorWaterMark as ha } from "@gx-design-vue/pro-watermark";
6
6
  import { useState as Se, useMemo as pt, useMergedState as je, useMediaQuery as un } from "@gx-design-vue/pro-hooks";
7
- import { getPrefixCls as oe, arrayRepeat as ga, classNames as U, isBoolean as ae, merge as Ce, isNumber as Ve, isUrl as Lt, isImg as ya, isArray as rt, convertValueBoolean as Ne, isObject as cn, isString as ba, getLevelData as Mt, getRandomNumber as Ct, getSlot as ue, getSlotVNode as Pe, getSlotsProps as dn, isWindowsOs as va, isDeepEqualReact as pa, isBrowser as Ca } from "@gx-design-vue/pro-utils";
8
- import xa, { themeConfig as Q, useContext as Ot, useProStyle as ge, getTokenLayoutTheme as ye, useStyle as Fe, mergeToken as Ke, resetComponent as Sa, Keyframe as p, checkMenuDark as st, calcUnit as We, unit as ze, getDefaultLayoutToken as ut, useProConfigContext as ke, getLayoutTheme as mn, useProForm as Ia, setAlpha as wa, defaultSystemTheme as Ra, defaultLayout as $a, colorList as Ba } from "@gx-design-vue/pro-provider";
7
+ import { getPrefixCls as oe, arrayRepeat as ga, classNames as U, isBoolean as ae, merge as Ce, isNumber as Ve, isUrl as Lt, isImg as ya, isArray as rt, convertValueBoolean as Ne, isObject as cn, isString as ba, getLevelData as Mt, getRandomNumber as Ct, getSlot as ce, getSlotVNode as Pe, getSlotsProps as dn, isWindowsOs as va, isDeepEqualReact as pa, isBrowser as Ca } from "@gx-design-vue/pro-utils";
8
+ import xa, { themeConfig as Q, useContext as Ot, useProStyle as ye, getTokenLayoutTheme as be, useStyle as Fe, mergeToken as Ke, resetComponent as Sa, Keyframe as p, checkMenuDark as st, calcUnit as We, unit as ze, getDefaultLayoutToken as ut, useProConfigContext as ke, getLayoutTheme as mn, useProForm as Ia, setAlpha as wa, defaultSystemTheme as Ra, defaultLayout as $a, colorList as Ba } from "@gx-design-vue/pro-provider";
9
9
  import { createTypes as La } from "vue-types";
10
10
  import "ant-design-vue/es/spin";
11
11
  import Le from "dayjs";
@@ -121,7 +121,7 @@ const Ae = {
121
121
  },
122
122
  onLogoClick: Function
123
123
  }, oo = {
124
- ...ie(Ae, ["title", "layout"]),
124
+ ...le(Ae, ["title", "layout"]),
125
125
  ...dt
126
126
  }, mt = {
127
127
  ...Ae,
@@ -166,7 +166,7 @@ const Ae = {
166
166
  onSelect: {
167
167
  type: Function
168
168
  }
169
- }, ce = {
169
+ }, de = {
170
170
  ...Ae,
171
171
  ...mt,
172
172
  ...dt,
@@ -275,16 +275,16 @@ const Ae = {
275
275
  default: () => {
276
276
  }
277
277
  },
278
- collapsedButtonRender: ce.collapsedButtonRender,
279
- matchMenuKeys: ce.matchMenuKeys,
280
- onCollapse: ce.onCollapse,
281
- onOpenKeys: ce.onOpenKeys,
282
- onSelect: ce.onSelect
278
+ collapsedButtonRender: de.collapsedButtonRender,
279
+ matchMenuKeys: de.matchMenuKeys,
280
+ onCollapse: de.onCollapse,
281
+ onOpenKeys: de.onOpenKeys,
282
+ onSelect: de.onSelect
283
283
  }, Sn = {
284
284
  ...xn,
285
285
  hasSiderMenu: Boolean,
286
- collapsedWidth: ce.collapsedWidth,
287
- siderWidth: ce.siderWidth
286
+ collapsedWidth: de.collapsedWidth,
287
+ siderWidth: de.siderWidth
288
288
  }, io = {
289
289
  visible: {
290
290
  type: Boolean,
@@ -304,10 +304,10 @@ const Ae = {
304
304
  ...io,
305
305
  loading: Y.looseBool,
306
306
  collapsed: mt.collapsed,
307
- collapsedWidth: ce.collapsedWidth,
307
+ collapsedWidth: de.collapsedWidth,
308
308
  fixedTabsBar: Ae.fixedTabsBar,
309
- isMobile: ce.isMobile,
310
- siderWidth: ce.siderWidth,
309
+ isMobile: de.isMobile,
310
+ siderWidth: de.siderWidth,
311
311
  onReloadPage: {
312
312
  type: Function
313
313
  },
@@ -350,7 +350,7 @@ const Ae = {
350
350
  }
351
351
  }), ro = ["dark", "layout", "theme", "wideWidth", "contentWidth", "collapsed", "openKeys", "splitMenus", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "shortcutKey", "pageContainerProps"], {
352
352
  provideContext: so,
353
- useInjectContext: le
353
+ useInjectContext: re
354
354
  } = Ot("pro-layout"), wn = [{
355
355
  key: "Ant Design Pro",
356
356
  title: "Ant Design Pro",
@@ -379,13 +379,13 @@ const Ae = {
379
379
  }
380
380
  },
381
381
  setup(e) {
382
- const t = le(), o = ((t == null ? void 0 : t.getPrefixCls) || oe)({
382
+ const t = re(), o = ((t == null ? void 0 : t.getPrefixCls) || oe)({
383
383
  suffixCls: "global-footer",
384
384
  isPor: !0
385
385
  }), {
386
386
  wrapSSR: i,
387
387
  hashId: l
388
- } = ge("ProLayoutFooter", [lo], o);
388
+ } = ye("ProLayoutFooter", [lo], o);
389
389
  return () => i(n(ea, {
390
390
  style: {
391
391
  padding: 0
@@ -456,9 +456,9 @@ const Ae = {
456
456
  }, Ee = {
457
457
  ...Ft,
458
458
  ...Ae,
459
- ...ce,
459
+ ...de,
460
460
  ...Sn,
461
- ...ie(In, ["onTabsChange", "onReloadPage", "onUpdate:tabs"]),
461
+ ...le(In, ["onTabsChange", "onReloadPage", "onUpdate:tabs"]),
462
462
  id: String,
463
463
  class: String,
464
464
  style: {
@@ -530,7 +530,7 @@ const Ae = {
530
530
  }
531
531
  }), mo = (e) => {
532
532
  var o;
533
- const { layout: t } = ye(e), a = (o = e.layout) == null ? void 0 : o.pageContainer;
533
+ const { layout: t } = be(e), a = (o = e.layout) == null ? void 0 : o.pageContainer;
534
534
  return {
535
535
  [e.componentCls]: {
536
536
  backgroundColor: e.colorBgLayout,
@@ -790,7 +790,7 @@ const wo = /* @__PURE__ */ W({
790
790
  isMobile: t,
791
791
  fixedTabsBar: a,
792
792
  storageTabsBar: o
793
- } = Qe(e), i = me(!1), l = xe({
793
+ } = Qe(e), i = fe(!1), l = xe({
794
794
  activeKey: "",
795
795
  contextMenuActiveKey: ""
796
796
  }), r = Ze(), {
@@ -801,7 +801,7 @@ const wo = /* @__PURE__ */ W({
801
801
  splitMenus: u,
802
802
  renderRouterView: C,
803
803
  getPrefixCls: S
804
- } = le(), c = S({
804
+ } = re(), c = S({
805
805
  isPor: !0,
806
806
  suffixCls: "tabs-route"
807
807
  }), {
@@ -821,7 +821,7 @@ const wo = /* @__PURE__ */ W({
821
821
  };
822
822
  });
823
823
  const d = x(() => f.fixed.concat(f.normal)), b = x(() => g.value === "mix" && !e.isMobile && u.value), M = x(() => _(r.currentRoute.value)), D = x(() => a.value && !t.value), $ = x(() => {
824
- const v = !(b.value && se(y.value).length === 0 || m.value.length === 0 || g.value === "top");
824
+ const v = !(b.value && ue(y.value).length === 0 || m.value.length === 0 || g.value === "top");
825
825
  return D.value && v ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
826
826
  }), B = x(() => U(`${c}-wrap`, {
827
827
  [`${I.value}`]: !0,
@@ -855,14 +855,14 @@ const wo = /* @__PURE__ */ W({
855
855
  fixed: L
856
856
  } = ((z = v == null ? void 0 : v.meta) == null ? void 0 : z.tabState) || {};
857
857
  return v != null && v.meta ? ae(L) ? L : L === 0 : !1;
858
- }, j = (v) => {
858
+ }, K = (v) => {
859
859
  var z, q;
860
860
  const {
861
861
  hidden: L
862
862
  } = ((z = v == null ? void 0 : v.meta) == null ? void 0 : z.tabState) || {};
863
863
  if (v.name && v.meta && L !== !0) {
864
- const H = P(v), K = _(v), de = w(K), He = {
865
- name: K,
864
+ const H = P(v), E = _(v), me = w(E), He = {
865
+ name: E,
866
866
  path: v.path,
867
867
  fullPath: v.fullPath,
868
868
  query: v.query,
@@ -871,25 +871,25 @@ const wo = /* @__PURE__ */ W({
871
871
  tabState: (q = v.meta) == null ? void 0 : q.tabState
872
872
  })
873
873
  };
874
- de ? Ce(de, He) : H ? f.fixed.push(He) : f.normal.push(He), A(v) && (l.activeKey = K);
874
+ me ? Ce(me, He) : H ? f.fixed.push(He) : f.normal.push(He), A(v) && (l.activeKey = E);
875
875
  }
876
- }, be = (v) => {
876
+ }, ie = (v) => {
877
877
  v.forEach((L) => {
878
- P(L) && j(se(L));
878
+ P(L) && K(ue(L));
879
879
  });
880
880
  };
881
881
  ne(() => m.value, (v) => {
882
- be(v);
882
+ ie(v);
883
883
  }, {
884
884
  deep: !0,
885
885
  immediate: !0
886
886
  }), ne(() => r.currentRoute.value, (v) => {
887
- j(v);
887
+ K(v);
888
888
  }, {
889
889
  deep: !0,
890
890
  immediate: !0
891
891
  });
892
- const fe = (v) => {
892
+ const he = (v) => {
893
893
  const L = d.value.find((z) => (v || l.activeKey) === _(z));
894
894
  return (L == null ? void 0 : L.redirect) || (L == null ? void 0 : L.fullPath) || (L == null ? void 0 : L.path) || "";
895
895
  }, O = (v, {
@@ -898,11 +898,11 @@ const wo = /* @__PURE__ */ W({
898
898
  params: q
899
899
  }) => {
900
900
  const H = P(v) ? "fixed" : "normal";
901
- L === "add" && z ? f[H][z](q) : L === "merge" ? f[H] = f[H].map((K) => _(K) === _(v) ? Ce(K, q) : K) : L === "remove" && (f[H] = f[H].filter((K) => _(K) !== _(v)));
901
+ L === "add" && z ? f[H][z](q) : L === "merge" ? f[H] = f[H].map((E) => _(E) === _(v) ? Ce(E, q) : E) : L === "remove" && (f[H] = f[H].filter((E) => _(E) !== _(v)));
902
902
  }, k = () => {
903
903
  const v = d.value.slice(-1)[0];
904
904
  v ? r.push({
905
- path: fe(_(v))
905
+ path: he(_(v))
906
906
  }) : r.push("/");
907
907
  }, N = async (v) => {
908
908
  const L = d.value.find((z) => v === _(z));
@@ -913,54 +913,54 @@ const wo = /* @__PURE__ */ W({
913
913
  }, Z = (v) => {
914
914
  const L = d.value.find((z) => _(z) === v);
915
915
  L && l.activeKey !== _(L) && r.push({
916
- path: fe(_(L))
916
+ path: he(_(L))
917
917
  });
918
- }, ee = rn(() => {
918
+ }, te = rn(() => {
919
919
  var v;
920
920
  C.value = !1, i.value = !0, e.onReloadPage && ((v = e.onReloadPage) == null || v.call(e)), setTimeout(() => {
921
921
  C.value = !0;
922
922
  }, 200), setTimeout(() => {
923
923
  i.value = !1;
924
924
  }, 500);
925
- }, 500), re = (v) => l[v], E = (v) => {
926
- const L = d.value.find((z) => _(z) === re(v));
927
- l.activeKey !== re(v) && (f.normal.length > 0 ? w(_(L)) || r.push(fe(re(v))) : k());
925
+ }, 500), se = (v) => l[v], j = (v) => {
926
+ const L = d.value.find((z) => _(z) === se(v));
927
+ l.activeKey !== se(v) && (f.normal.length > 0 ? w(_(L)) || r.push(he(se(v))) : k());
928
928
  }, V = (v, L) => {
929
- let z = f.normal.findIndex((K) => _(K) === re(L));
930
- const q = d.value.find((K) => _(K) === re(L)), H = P(q);
929
+ let z = f.normal.findIndex((E) => _(E) === se(L));
930
+ const q = d.value.find((E) => _(E) === se(L)), H = P(q);
931
931
  switch (v) {
932
932
  case "fixed":
933
- H ? (z = f.fixed.findIndex((K) => _(K) === re(L)), f.normal.unshift(Ce(q, {
933
+ H ? (z = f.fixed.findIndex((E) => _(E) === se(L)), f.normal.unshift(Ce(q, {
934
934
  meta: {
935
935
  tabState: {
936
936
  fixed: !H
937
937
  }
938
938
  }
939
- })), f.fixed = f.fixed.filter((K, de) => de !== z)) : (f.fixed.push(Ce(q, {
939
+ })), f.fixed = f.fixed.filter((E, me) => me !== z)) : (f.fixed.push(Ce(q, {
940
940
  meta: {
941
941
  tabState: {
942
942
  fixed: !H
943
943
  }
944
944
  }
945
- })), f.normal = f.normal.filter((K, de) => de !== z));
945
+ })), f.normal = f.normal.filter((E, me) => me !== z));
946
946
  break;
947
947
  case "close":
948
948
  N(_(q) || "");
949
949
  break;
950
950
  case "closeOthersTabs":
951
- f.normal = f.normal.filter((K) => _(K) === re(L) || P(K)), E(L);
951
+ f.normal = f.normal.filter((E) => _(E) === se(L) || P(E)), j(L);
952
952
  break;
953
953
  case "closeLeftTabs":
954
- Ve(z) && (f.normal = f.normal.filter((K, de) => de >= z || P(K))), E(L);
954
+ Ve(z) && (f.normal = f.normal.filter((E, me) => me >= z || P(E))), j(L);
955
955
  break;
956
956
  case "closeRightTabs":
957
- Ve(z) && (f.normal = f.normal.filter((K, de) => de <= z || P(K))), E(L);
957
+ Ve(z) && (f.normal = f.normal.filter((E, me) => me <= z || P(E))), j(L);
958
958
  break;
959
959
  case "closeAllTabs":
960
- f.normal = f.normal.filter((K) => P(K)), k();
960
+ f.normal = f.normal.filter((E) => P(E)), k();
961
961
  break;
962
962
  case "reloadPage":
963
- (z === 0 || z) && l.activeKey === re(L) && ee();
963
+ (z === 0 || z) && l.activeKey === se(L) && te();
964
964
  break;
965
965
  case "newBlank":
966
966
  window.open(location.href);
@@ -972,12 +972,12 @@ const wo = /* @__PURE__ */ W({
972
972
  }, G = (v, L) => {
973
973
  const z = d.value.findIndex((q) => _(q) === L);
974
974
  if (v === "closeOthersTabs")
975
- return d.value.filter((H, K) => K !== z && !P(H)).length === 0;
975
+ return d.value.filter((H, E) => E !== z && !P(H)).length === 0;
976
976
  if (v === "closeLeftTabs")
977
- return d.value.filter((H, K) => K < z && !P(H)).length === 0;
977
+ return d.value.filter((H, E) => E < z && !P(H)).length === 0;
978
978
  if (v === "closeRightTabs")
979
- return d.value.filter((H, K) => K > z && !P(H)).length === 0;
980
- }, he = (v) => {
979
+ return d.value.filter((H, E) => E > z && !P(H)).length === 0;
980
+ }, ge = (v) => {
981
981
  let L;
982
982
  const {
983
983
  name: z,
@@ -990,19 +990,19 @@ const wo = /* @__PURE__ */ W({
990
990
  if (H.key === "divider") return n(pe.Divider, {
991
991
  key: H.key
992
992
  }, null);
993
- const K = H.icon;
993
+ const E = H.icon;
994
994
  return H.key === "close" && P(w(z)) ? null : n(Io, {
995
995
  key: H.key,
996
996
  disabled: G(H.key, z)
997
997
  }, {
998
998
  default: () => {
999
- var de, He;
1000
- return [H.icon && typeof H.icon == "function" ? H.key === "fullScreen" ? H.icon(s.value) : H.key === "fixed" ? H.icon(P(w(z))) : null : n(K, null, null), n("span", {
999
+ var me, He;
1000
+ return [H.icon && typeof H.icon == "function" ? H.key === "fullScreen" ? H.icon(s.value) : H.key === "fixed" ? H.icon(P(w(z))) : null : n(E, null, null), n("span", {
1001
1001
  style: {
1002
1002
  marginInlineStart: "8px"
1003
1003
  }
1004
1004
  }, [Co(H, {
1005
- tabs: ((He = (de = w(z)) == null ? void 0 : de.meta) == null ? void 0 : He.tabState) || {},
1005
+ tabs: ((He = (me = w(z)) == null ? void 0 : me.meta) == null ? void 0 : He.tabState) || {},
1006
1006
  fullScreen: s.value
1007
1007
  })])];
1008
1008
  }
@@ -1016,7 +1016,7 @@ const wo = /* @__PURE__ */ W({
1016
1016
  const L = e.itemRender ? e.itemRender(v) : null, z = P(v);
1017
1017
  return n(bt, {
1018
1018
  trigger: "contextmenu",
1019
- overlay: n(he, {
1019
+ overlay: n(ge, {
1020
1020
  name: _(v) || "",
1021
1021
  stateType: "contextMenuActiveKey"
1022
1022
  }, null),
@@ -1032,7 +1032,7 @@ const wo = /* @__PURE__ */ W({
1032
1032
  class: [`${c}-reload-btn`, I.value],
1033
1033
  spin: i.value,
1034
1034
  onClick: (H) => {
1035
- H.stopPropagation(), ee();
1035
+ H.stopPropagation(), te();
1036
1036
  }
1037
1037
  }, null), (q = v.meta) == null ? void 0 : q.title, z && n(Ge, {
1038
1038
  class: [`${c}-icon`, I.value],
@@ -1048,7 +1048,7 @@ const wo = /* @__PURE__ */ W({
1048
1048
  };
1049
1049
  return () => {
1050
1050
  const v = s.value ? fn : hn;
1051
- return R(n(te, null, [a.value && n("div", {
1051
+ return R(n(ee, null, [a.value && n("div", {
1052
1052
  style: {
1053
1053
  display: T.value ? void 0 : "none"
1054
1054
  },
@@ -1076,7 +1076,7 @@ const wo = /* @__PURE__ */ W({
1076
1076
  }, null), n("div", {
1077
1077
  class: [`${c}-dropdown-menu-btn-divider`, I.value]
1078
1078
  }, null), n(bt, {
1079
- overlay: n(he, {
1079
+ overlay: n(ge, {
1080
1080
  name: l.activeKey,
1081
1081
  stateType: "activeKey"
1082
1082
  }, null)
@@ -1109,7 +1109,7 @@ const wo = /* @__PURE__ */ W({
1109
1109
  const {
1110
1110
  flatMenuData: s,
1111
1111
  layout: m
1112
- } = le();
1112
+ } = re();
1113
1113
  return n("div", {
1114
1114
  class: U(`${a}-container`, o)
1115
1115
  }, [!i || m.value === "wide" || m.value === "simple" ? null : n(wo, J(l, {
@@ -1119,7 +1119,7 @@ const wo = /* @__PURE__ */ W({
1119
1119
  kt.inheritAttrs = !1;
1120
1120
  kt.displayName = "wrap-content";
1121
1121
  const Ro = (e) => {
1122
- const { layout: t } = ye(e);
1122
+ const { layout: t } = be(e);
1123
1123
  return {
1124
1124
  [`${e.proComponentsCls}-header`]: {
1125
1125
  "&-light": {
@@ -1370,7 +1370,7 @@ const Ro = (e) => {
1370
1370
  }
1371
1371
  }), Oo = (e) => {
1372
1372
  var a, o, i, l, r;
1373
- const { theme: t } = ye(e);
1373
+ const { theme: t } = be(e);
1374
1374
  return {
1375
1375
  [e.componentCls]: {
1376
1376
  "&-icon": {
@@ -1438,10 +1438,10 @@ const Ro = (e) => {
1438
1438
  }), {
1439
1439
  wrapSSR: o,
1440
1440
  hashId: i
1441
- } = ge("AppsLogoIcon", [Oo], a), [l, r] = Se(!1), s = me(), m = me();
1441
+ } = ye("AppsLogoIcon", [Oo], a), [l, r] = Se(!1), s = fe(), m = fe();
1442
1442
  return () => {
1443
1443
  var y;
1444
- return o(n(te, null, [n("div", {
1444
+ return o(n(ee, null, [n("div", {
1445
1445
  ref: s,
1446
1446
  onClick: (g) => {
1447
1447
  g.stopPropagation(), g.preventDefault();
@@ -1514,7 +1514,7 @@ const ot = (e) => {
1514
1514
  setup(e) {
1515
1515
  const t = Ze(), {
1516
1516
  getPrefixCls: a
1517
- } = le(), o = a({
1517
+ } = re(), o = a({
1518
1518
  suffixCls: "menu-item",
1519
1519
  isPor: !0
1520
1520
  }), i = x(() => S(e.menuData)), l = (c) => {
@@ -1537,7 +1537,7 @@ const ot = (e) => {
1537
1537
  }, [(d = c.badge) == null ? void 0 : d.call(c, Ie(c, "badge"))]) : null, f = n("span", {
1538
1538
  class: [`${o}-title`, !I && `${o}-title-no-icon`]
1539
1539
  }, [c.title]);
1540
- return R ? f : n(te, null, [f, h ?? (cn(c.badge) && n(na, J({
1540
+ return R ? f : n(ee, null, [f, h ?? (cn(c.badge) && n(na, J({
1541
1541
  class: `${o}-item-bradde`,
1542
1542
  overflowCount: 999
1543
1543
  }, c.badge), null))]);
@@ -1571,8 +1571,8 @@ const ot = (e) => {
1571
1571
  });
1572
1572
  const A = (M = c.meta) != null && M.icon ? n("span", {
1573
1573
  class: "gx-pro-menu-item"
1574
- }, [g(c.meta)]) : c.meta && g(c.meta), P = ((D = c.meta) == null ? void 0 : D.menuItemType) === "group", j = P ? pe.ItemGroup : pe.SubMenu;
1575
- return n(j, {
1574
+ }, [g(c.meta)]) : c.meta && g(c.meta), P = ((D = c.meta) == null ? void 0 : D.menuItemType) === "group", K = P ? pe.ItemGroup : pe.SubMenu;
1575
+ return n(K, {
1576
1576
  title: A,
1577
1577
  key: c.path,
1578
1578
  icon: P ? null : n(ot, {
@@ -1627,7 +1627,7 @@ const ot = (e) => {
1627
1627
  }
1628
1628
  }), ko = (e) => {
1629
1629
  var i, l, r, s, m;
1630
- const t = st(e, "sider"), { layout: a } = ye(e), o = (i = e.layout) == null ? void 0 : i.pageContainer;
1630
+ const t = st(e, "sider"), { layout: a } = be(e), o = (i = e.layout) == null ? void 0 : i.pageContainer;
1631
1631
  return {
1632
1632
  [`${e.proComponentsCls}-basic-layout`]: {
1633
1633
  [`&${e.proComponentsCls}-basic-layout-wide`]: {
@@ -1734,7 +1734,7 @@ const ot = (e) => {
1734
1734
  };
1735
1735
  }, To = (e) => {
1736
1736
  var l;
1737
- const t = `${e.antCls}-menu`, a = `${e.proComponentsCls}-menu-item`, { layout: o } = ye(e), i = (l = e == null ? void 0 : e.layout) == null ? void 0 : l.sider;
1737
+ const t = `${e.antCls}-menu`, a = `${e.proComponentsCls}-menu-item`, { layout: o } = be(e), i = (l = e == null ? void 0 : e.layout) == null ? void 0 : l.sider;
1738
1738
  return {
1739
1739
  [`${e.proComponentsCls}-basic-layout`]: {
1740
1740
  [`${e.proComponentsCls}-sider`]: {
@@ -1780,7 +1780,7 @@ const ot = (e) => {
1780
1780
  }
1781
1781
  }
1782
1782
  };
1783
- }, Po = (e) => (ye(e), {
1783
+ }, Po = (e) => (be(e), {
1784
1784
  [`${e.proComponentsCls}-basic-layout`]: {
1785
1785
  [`${e.antCls}-menu`]: {
1786
1786
  [`${e.proComponentsCls}-menu-item-icon${e.antCls}-menu-item-icon`]: {
@@ -1803,7 +1803,7 @@ const ot = (e) => {
1803
1803
  } = e, l = e.logoContentRender;
1804
1804
  if (l === !1) return null;
1805
1805
  const r = Fn(t, a), s = o && n("h1", null, [o]);
1806
- return typeof l == "function" ? l(r, e.collapsed ? null : s, e) : l || n(te, null, [r || null, e.collapsed && (i === "side" || i === "simple") ? null : s]);
1806
+ return typeof l == "function" ? l(r, e.collapsed ? null : s, e) : l || n(ee, null, [r || null, e.collapsed && (i === "side" || i === "simple") ? null : s]);
1807
1807
  }, Tt = /* @__PURE__ */ W({
1808
1808
  name: "LogoContent",
1809
1809
  props: {
@@ -1816,7 +1816,7 @@ const ot = (e) => {
1816
1816
  }) {
1817
1817
  const {
1818
1818
  collapsed: a
1819
- } = le();
1819
+ } = re();
1820
1820
  return () => {
1821
1821
  var o;
1822
1822
  return n("div", {
@@ -1842,7 +1842,7 @@ const ot = (e) => {
1842
1842
  Tt.inheritAttrs = !1;
1843
1843
  const kn = (e) => {
1844
1844
  var i;
1845
- const { theme: t, layout: a } = ye(e), o = (i = e.layout) == null ? void 0 : i.sider;
1845
+ const { theme: t, layout: a } = be(e), o = (i = e.layout) == null ? void 0 : i.sider;
1846
1846
  return {
1847
1847
  [`${e.componentCls}-logo`]: {
1848
1848
  position: "relative",
@@ -1951,13 +1951,13 @@ const Ao = /* @__PURE__ */ W({
1951
1951
  setup(e) {
1952
1952
  const {
1953
1953
  getPrefixCls: t
1954
- } = le(), a = t({
1954
+ } = re(), a = t({
1955
1955
  suffixCls: "collapsed-button",
1956
1956
  isPor: !0
1957
1957
  }), {
1958
1958
  wrapSSR: o,
1959
1959
  hashId: i
1960
- } = ge("SiderMenuCollapsedIcon", [zo], a);
1960
+ } = ye("SiderMenuCollapsedIcon", [zo], a);
1961
1961
  return () => o(n("div", {
1962
1962
  class: U(a, i.value, {
1963
1963
  [`${a}-collapsed`]: e.collapsed,
@@ -2125,7 +2125,7 @@ function Go(e) {
2125
2125
  function Yo(e) {
2126
2126
  const t = ["showTabsBar", "fixedMultiTab", "fixSiderbar", "fixedHeader", "splitMenus"];
2127
2127
  let o = Object.keys(e).reduce((i, l) => (i[l] = !1, i), {});
2128
- return o = ie(o, t), e.layout === "mix" && (o.fixSiderbar = !0, o.fixedHeader = !0), e.layout === "top" && (o.fixSiderbar = !0, o.splitMenus = !0), e.layout === "side" && (o.splitMenus = !0), e.layout === "simple" && (o.splitMenus = !0, o.fixedHeader = !0, o.showTabsBar = !0, o.fixedTabsBar = !0), e.layout === "wide" && (o.splitMenus = !0, o.fixedHeader = !0, o.fixSiderbar = !0, o.showTabsBar = !0, o.fixedTabsBar = !0), o;
2128
+ return o = le(o, t), e.layout === "mix" && (o.fixSiderbar = !0, o.fixedHeader = !0), e.layout === "top" && (o.fixSiderbar = !0, o.splitMenus = !0), e.layout === "side" && (o.splitMenus = !0), e.layout === "simple" && (o.splitMenus = !0, o.fixedHeader = !0, o.showTabsBar = !0, o.fixedTabsBar = !0), e.layout === "wide" && (o.splitMenus = !0, o.fixedHeader = !0, o.fixSiderbar = !0, o.showTabsBar = !0, o.fixedTabsBar = !0), o;
2129
2129
  }
2130
2130
  function qo(e, t) {
2131
2131
  const a = /* @__PURE__ */ new Set();
@@ -2137,7 +2137,7 @@ function Vt(e) {
2137
2137
  const {
2138
2138
  Sider: Qo
2139
2139
  } = Xe, An = (e) => e ? n(Ha, null, null) : n(ja, null, null), Gt = /* @__PURE__ */ W({
2140
- props: ce,
2140
+ props: de,
2141
2141
  inheritAttrs: !1,
2142
2142
  setup(e) {
2143
2143
  const {
@@ -2148,7 +2148,7 @@ const {
2148
2148
  openKeys: l,
2149
2149
  menuState: r,
2150
2150
  contentFullScreen: s
2151
- } = le(), m = pn(), {
2151
+ } = re(), m = pn(), {
2152
2152
  token: y
2153
2153
  } = ke(), {
2154
2154
  theme: g,
@@ -2169,47 +2169,47 @@ const {
2169
2169
  isPor: !0
2170
2170
  }), B = x(() => e.layout === "wide"), T = x(() => e.layout === "mix" && !e.isMobile && e.splitMenus), F = x(() => u.value === "side" || u.value === "simple"), w = x(() => e.isMobile || B.value ? !1 : R.value), A = x(() => (e.layout === "mix" || B.value) && "light" || r.value.theme), {
2171
2171
  wrapSSR: P,
2172
- hashId: j
2173
- } = ge("ProLayoutSiderMenu", [Po, To, ko, kn, (E) => {
2172
+ hashId: K
2173
+ } = ye("ProLayoutSiderMenu", [Po, To, ko, kn, (j) => {
2174
2174
  var Re, $e;
2175
- const V = (Re = E == null ? void 0 : E.layout) == null ? void 0 : Re.sider, G = ut("sider", E, ($e = E.layout) == null ? void 0 : $e.key), {
2176
- dark: he
2177
- } = ye(E), we = st(E, "sider");
2175
+ const V = (Re = j == null ? void 0 : j.layout) == null ? void 0 : Re.sider, G = ut("sider", j, ($e = j.layout) == null ? void 0 : $e.key), {
2176
+ dark: ge
2177
+ } = be(j), we = st(j, "sider");
2178
2178
  return {
2179
- [`${E.proComponentsCls}-basic-layout`]: {
2180
- [E.componentCls]: {
2179
+ [`${j.proComponentsCls}-basic-layout`]: {
2180
+ [j.componentCls]: {
2181
2181
  background: (V == null ? void 0 : V.colorBgMenu) || (G == null ? void 0 : G.colorBgMenu),
2182
- boxShadow: we || he ? "#0d0d0da6 0 2px 8px" : "2px 0 8px 0 rgba(29,35,41,.05)",
2183
- [`${E.componentCls}-footer`]: {
2182
+ boxShadow: we || ge ? "#0d0d0da6 0 2px 8px" : "2px 0 8px 0 rgba(29,35,41,.05)",
2183
+ [`${j.componentCls}-footer`]: {
2184
2184
  color: V == null ? void 0 : V.colorTextMenu
2185
2185
  }
2186
2186
  }
2187
2187
  }
2188
2188
  };
2189
- }], $), be = x(() => u.value === "top" ? [] : i.value), fe = x(() => e.collapsed ? d.value : f.value), O = x(() => U([j.value, $, C.value ? "shadow" : null, `${$}-${g.value}`, w.value ? `${$}-fixed` : null])), k = x(() => D.value !== !1 ? D.value || An : !1), N = pt(() => e.layout === "simple" || !e.appLogoListRender ? null : n(Ln, null, {
2189
+ }], $), ie = x(() => u.value === "top" ? [] : i.value), he = x(() => e.collapsed ? d.value : f.value), O = x(() => U([K.value, $, C.value ? "shadow" : null, `${$}-${g.value}`, w.value ? `${$}-fixed` : null])), k = x(() => D.value !== !1 ? D.value || An : !1), N = pt(() => e.layout === "simple" || !e.appLogoListRender ? null : n(Ln, null, {
2190
2190
  default: () => {
2191
- var E;
2192
- return [typeof e.appLogoListRender == "function" ? (E = e.appLogoListRender) == null ? void 0 : E.call(e) : e.appLogoListRender];
2191
+ var j;
2192
+ return [typeof e.appLogoListRender == "function" ? (j = e.appLogoListRender) == null ? void 0 : j.call(e) : e.appLogoListRender];
2193
2193
  }
2194
2194
  }), [() => e.appLogoListRender]);
2195
2195
  function Z() {
2196
- var E;
2197
- e.onCollapse && ((E = e.onCollapse) == null || E.call(e, !h.value));
2196
+ var j;
2197
+ e.onCollapse && ((j = e.onCollapse) == null || j.call(e, !h.value));
2198
2198
  }
2199
- const ee = pt(() => {
2199
+ const te = pt(() => {
2200
2200
  var V;
2201
2201
  if (D.value === !1) return null;
2202
- const E = n(Ao, {
2202
+ const j = n(Ao, {
2203
2203
  isMobile: C.value,
2204
2204
  collapsed: h.value,
2205
2205
  onClick: () => Z()
2206
2206
  }, null);
2207
- return D.value ? (V = D.value) == null ? void 0 : V.call(D, h.value, E) : E;
2208
- }, [() => e.collapsedButtonRender, () => e.isMobile, () => e.collapsed]), re = (E) => {
2207
+ return D.value ? (V = D.value) == null ? void 0 : V.call(D, h.value, j) : j;
2208
+ }, [() => e.collapsedButtonRender, () => e.isMobile, () => e.collapsed]), se = (j) => {
2209
2209
  var V;
2210
2210
  if (e.onSelect) {
2211
- const G = E.selectedKeys;
2212
- if (se(T)) {
2211
+ const G = j.selectedKeys;
2212
+ if (ue(T)) {
2213
2213
  e.onSelect([(V = a == null ? void 0 : a.value) == null ? void 0 : V[0], ...G]);
2214
2214
  return;
2215
2215
  }
@@ -2218,19 +2218,19 @@ const {
2218
2218
  };
2219
2219
  return () => {
2220
2220
  var $e;
2221
- let E;
2221
+ let j;
2222
2222
  const V = F.value && n(Tt, J({
2223
2223
  title: e.title,
2224
- hashId: j.value,
2224
+ hashId: K.value,
2225
2225
  layout: e.layout,
2226
2226
  baseClassName: $
2227
- }, ie(e, Object.keys(dt))), {
2227
+ }, le(e, Object.keys(dt))), {
2228
2228
  default: () => [N.value]
2229
- }), G = e.menuHeaderRender && (($e = e.menuHeaderRender) == null ? void 0 : $e.call(e, e)), he = e.menuLinksRender, we = e.siderActionsRender, Re = n(Mn, {
2230
- class: `${$}-menu ${j.value}`,
2229
+ }), G = e.menuHeaderRender && (($e = e.menuHeaderRender) == null ? void 0 : $e.call(e, e)), ge = e.menuLinksRender, we = e.siderActionsRender, Re = n(Mn, {
2230
+ class: `${$}-menu ${K.value}`,
2231
2231
  theme: A.value,
2232
2232
  mode: "inline",
2233
- menuData: T.value ? o.value : be.value,
2233
+ menuData: T.value ? o.value : ie.value,
2234
2234
  iconfontUrl: e.iconfontUrl,
2235
2235
  openKeys: l.value,
2236
2236
  selectedKeys: a.value,
@@ -2244,9 +2244,9 @@ const {
2244
2244
  var Be;
2245
2245
  return e.onOpenKeys && ((Be = e.onOpenKeys) == null ? void 0 : Be.call(e, Te));
2246
2246
  },
2247
- onSelect: re
2247
+ onSelect: se
2248
2248
  }, null);
2249
- return T.value && se(o.value).length === 0 && e.suppressSiderWhenMenuEmpty || be.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : P(n($t, {
2249
+ return T.value && ue(o.value).length === 0 && e.suppressSiderWhenMenuEmpty || ie.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : P(n($t, {
2250
2250
  theme: {
2251
2251
  components: {
2252
2252
  Menu: Dn({
@@ -2265,11 +2265,11 @@ const {
2265
2265
  }, {
2266
2266
  default: () => [w.value && n("div", {
2267
2267
  style: {
2268
- width: `${fe.value}px`,
2268
+ width: `${he.value}px`,
2269
2269
  overflow: "hidden",
2270
- flex: `0 0 ${fe.value}px`,
2271
- maxWidth: `${fe.value}px`,
2272
- minWidth: `${fe.value}px`,
2270
+ flex: `0 0 ${he.value}px`,
2271
+ maxWidth: `${he.value}px`,
2272
+ minWidth: `${he.value}px`,
2273
2273
  transition: "all 0.2s ease 0s"
2274
2274
  }
2275
2275
  }, null), n(Qo, {
@@ -2291,54 +2291,54 @@ const {
2291
2291
  default: () => {
2292
2292
  var Te, Be, v, L;
2293
2293
  return [S.value && n("div", {
2294
- class: ["gx-pro-sider-loading", j.value]
2294
+ class: ["gx-pro-sider-loading", K.value]
2295
2295
  }, [n(Bt, {
2296
2296
  spinning: S.value,
2297
2297
  indicator: (Te = m == null ? void 0 : m.indicator) == null ? void 0 : Te.value
2298
2298
  }, null)]), V || null, Ne(e.menuHeaderRender) && n("div", {
2299
- class: U([j.value, `${$}-extra`, !V && `${$}-extra-no-logo`])
2299
+ class: U([K.value, `${$}-extra`, !V && `${$}-extra-no-logo`])
2300
2300
  }, [G]), n("div", {
2301
2301
  style: {
2302
2302
  flex: "1 1 0%",
2303
2303
  overflow: "hidden auto"
2304
2304
  },
2305
2305
  class: U(`${$}-menu-container`)
2306
- }, [b.value && ((Be = b.value) == null ? void 0 : Be.call(b, e, Re)) || Re]), e.layout !== "wide" && n(te, null, [Ne(he) && rt(he) && he.length > 0 && n("div", {
2307
- class: `${$}-links ${j.value}`
2306
+ }, [b.value && ((Be = b.value) == null ? void 0 : Be.call(b, e, Re)) || Re]), e.layout !== "wide" && n(ee, null, [Ne(ge) && rt(ge) && ge.length > 0 && n("div", {
2307
+ class: `${$}-links ${K.value}`
2308
2308
  }, [n(pe, {
2309
2309
  theme: A.value,
2310
2310
  inlineIndent: 16,
2311
- class: `${$}-link-menu ${j.value}`,
2311
+ class: `${$}-link-menu ${K.value}`,
2312
2312
  selectedKeys: [],
2313
2313
  openKeys: [],
2314
2314
  mode: "inline"
2315
- }, Vt(E = (he || []).map((z, q) => n(pe.Item, {
2316
- class: `${$}-link ${j.value}`,
2315
+ }, Vt(j = (ge || []).map((z, q) => n(pe.Item, {
2316
+ class: `${$}-link ${K.value}`,
2317
2317
  key: q
2318
2318
  }, Vt(z) ? z : {
2319
2319
  default: () => [z]
2320
- }))) ? E : {
2321
- default: () => [E]
2320
+ }))) ? j : {
2321
+ default: () => [j]
2322
2322
  })]), C.value ? null : n("div", {
2323
- class: U(`${$}-actions`, j.value)
2324
- }, [we || n(te, null, [n("div", {
2325
- class: U(`${$}-actions-item`, j.value),
2323
+ class: U(`${$}-actions`, K.value)
2324
+ }, [we || n(ee, null, [n("div", {
2325
+ class: U(`${$}-actions-item`, K.value),
2326
2326
  onClick: () => Z()
2327
2327
  }, [k.value && ((v = k.value) == null ? void 0 : v.call(k, h.value))])])])]), M.value && n("div", {
2328
- class: `${$}-footer ${j.value}`
2329
- }, [(L = M.value) == null ? void 0 : L.call(M, e)]), s.value || u.value === "wide" ? null : ee.value];
2328
+ class: `${$}-footer ${K.value}`
2329
+ }, [(L = M.value) == null ? void 0 : L.call(M, e)]), s.value || u.value === "wide" ? null : te.value];
2330
2330
  }
2331
2331
  })]
2332
2332
  }));
2333
2333
  };
2334
2334
  }
2335
2335
  }), { provideContext: Zo, useInjectContext: Hn } = Ot("pro-layou-menu"), jn = {
2336
- ...ce,
2336
+ ...de,
2337
2337
  ...xn
2338
2338
  }, Jo = ["mix", "top", "wide"], ei = (e, t) => e === !1 ? null : e ? e(t, null) : t, ti = /* @__PURE__ */ W({
2339
2339
  props: jn,
2340
2340
  setup(e) {
2341
- return () => e.rightContentRender && typeof e.rightContentRender == "function" ? e.rightContentRender(e) : n(te, null, null);
2341
+ return () => e.rightContentRender && typeof e.rightContentRender == "function" ? e.rightContentRender(e) : n(ee, null, null);
2342
2342
  }
2343
2343
  }), ni = /* @__PURE__ */ W({
2344
2344
  props: jn,
@@ -2355,13 +2355,13 @@ const {
2355
2355
  menuState: m,
2356
2356
  menuData: y,
2357
2357
  levelMenuData: g
2358
- } = le(), u = l({
2358
+ } = re(), u = l({
2359
2359
  suffixCls: "global-header",
2360
2360
  isPor: !0
2361
2361
  }), {
2362
2362
  wrapSSR: C,
2363
2363
  hashId: S
2364
- } = ge("ProGlobalHeader", [Ro, kn], u), c = x(() => ({
2364
+ } = ye("ProGlobalHeader", [Ro, kn], u), c = x(() => ({
2365
2365
  [`${S.value}`]: !0,
2366
2366
  [`${u}`]: !0,
2367
2367
  [`${u}-${e.layout}`]: !0
@@ -2432,7 +2432,7 @@ const {
2432
2432
  onOpenKeys: (M) => R("openKeys", M)
2433
2433
  }, null)]
2434
2434
  })]);
2435
- return n(te, null, [d, e.layout !== "simple" && n(ti, J(e, {
2435
+ return n(ee, null, [d, e.layout !== "simple" && n(ti, J(e, {
2436
2436
  extraRightDropdownRender: e.extraRightDropdownRender,
2437
2437
  rightContentRender: e.rightContentRender
2438
2438
  }), null)]);
@@ -2448,10 +2448,10 @@ const {
2448
2448
  }, [n("a", null, [Fn(e.logo, e.logoStyle)])]);
2449
2449
  return C(n("div", {
2450
2450
  class: c.value
2451
- }, [e.isMobile ? n(te, null, [ei(e.logoContentRender, d), e.isMobile && se(h) && n("span", {
2451
+ }, [e.isMobile ? n(ee, null, [ei(e.logoContentRender, d), e.isMobile && ue(h) && n("span", {
2452
2452
  class: `${u}-collapsed-button ${S.value}`,
2453
2453
  onClick: I
2454
- }, [se(h)(e.collapsed)]), f()]) : Jo.includes(e.layout) ? n("div", {
2454
+ }, [ue(h)(e.collapsed)]), f()]) : Jo.includes(e.layout) ? n("div", {
2455
2455
  class: `${u}-main ${S.value}`,
2456
2456
  style: {
2457
2457
  width: ze(e.headerMainWidth ? e.headerMainWidth : e.layout === "wide" ? e.wideWidth : void 0)
@@ -2493,7 +2493,7 @@ const {
2493
2493
  contentFullScreen: y,
2494
2494
  menuState: g,
2495
2495
  headerHeight: u
2496
- } = le(), C = s({
2496
+ } = re(), C = s({
2497
2497
  suffixCls: "header",
2498
2498
  isPor: !0
2499
2499
  }), S = s({
@@ -2503,11 +2503,11 @@ const {
2503
2503
  wrapSSR: f,
2504
2504
  hashId: d
2505
2505
  } = Fe("ProLayoutHeader", (F) => {
2506
- var j, be;
2507
- const w = (j = F.layout) == null ? void 0 : j.header, A = ut("header", F, (be = F.layout) == null ? void 0 : be.key), P = st(F, "header");
2506
+ var K, ie;
2507
+ const w = (K = F.layout) == null ? void 0 : K.header, A = ut("header", F, (ie = F.layout) == null ? void 0 : ie.key), P = st(F, "header");
2508
2508
  return {
2509
2509
  [`${F.proComponentsCls}-basic-layout`]: {
2510
- [`${F.antCls}-layout-header${F.componentCls}${F.componentCls}-${se(g.value.key)}`]: {
2510
+ [`${F.antCls}-layout-header${F.componentCls}${F.componentCls}-${ue(g.value.key)}`]: {
2511
2511
  color: P ? F.colorWhite : F.colorText,
2512
2512
  backgroundColor: (w == null ? void 0 : w.colorBgMenu) || (A == null ? void 0 : A.colorBgMenu),
2513
2513
  boxShadow: r.value ? "#0d0d0da6 0 2px 8px" : "",
@@ -2570,7 +2570,7 @@ const {
2570
2570
  };
2571
2571
  return () => {
2572
2572
  let F;
2573
- return f(n(te, null, [R.value && !c.value && n(Yt, {
2573
+ return f(n(ee, null, [R.value && !c.value && n(Yt, {
2574
2574
  style: {
2575
2575
  height: `${u.value}px`,
2576
2576
  lineHeight: `${u.value}px`,
@@ -2596,14 +2596,14 @@ const {
2596
2596
  name: "SiderMenuWrapper",
2597
2597
  inheritAttrs: !1,
2598
2598
  props: {
2599
- ...ce,
2599
+ ...de,
2600
2600
  matchMenuKeys: {
2601
2601
  type: Array,
2602
2602
  default: () => []
2603
2603
  }
2604
2604
  },
2605
2605
  setup(e) {
2606
- return () => n(te, null, [e.isMobile ? n(tt, {
2606
+ return () => n(ee, null, [e.isMobile ? n(tt, {
2607
2607
  maskClosable: !0,
2608
2608
  open: !e.collapsed,
2609
2609
  closable: !1,
@@ -2744,10 +2744,10 @@ const {
2744
2744
  const {
2745
2745
  wrapSSR: o,
2746
2746
  hashId: i
2747
- } = ge("ProLayout", [co, mo], a), l = un(), r = Hn(), {
2747
+ } = ye("ProLayout", [co, mo], a), l = un(), r = Hn(), {
2748
2748
  token: s,
2749
2749
  dark: m
2750
- } = ke(), y = me(!1), g = me(!1), u = me(!0), C = me(!1), S = me(Ct().uuid(10)), c = xe({
2750
+ } = ke(), y = fe(!1), g = fe(!1), u = fe(!0), C = fe(!1), S = fe(Ct().uuid(10)), c = xe({
2751
2751
  position: "relative"
2752
2752
  }), R = x(() => {
2753
2753
  var w;
@@ -2768,7 +2768,7 @@ const {
2768
2768
  theme: m.value ? "dark" : e.theme
2769
2769
  })), M = x(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !d.value), D = x(() => ({
2770
2770
  ...e.breadcrumb || {},
2771
- itemRender: ue(t, e, "pageContainerProps:breadcrumbRender")
2771
+ itemRender: ce(t, e, "pageContainerProps:breadcrumbRender")
2772
2772
  })), $ = x(() => I.value && e.selectedKeys ? Ko(h.value, e.selectedKeys[0]) : []), B = x(() => Ve(e.headerHeight) ? e.headerHeight : Q.headerHeight), T = pt(() => C.value ? 0 : Ve(e.siderWidth) ? e.siderWidth : e.layout === "wide" ? 208 : 215, [() => e.layout, () => e.siderWidth, () => C.value]);
2773
2773
  ne([() => e.layout, () => e.theme], ([w]) => {
2774
2774
  (w === "wide" || w === "simple") && (C.value = !1), S.value = Ct().uuid(10);
@@ -2790,7 +2790,7 @@ const {
2790
2790
  matchMenuKeys: A || []
2791
2791
  }), null);
2792
2792
  return so({
2793
- ...ie(Qe(e), ro),
2793
+ ...le(Qe(e), ro),
2794
2794
  getPrefixCls: oe,
2795
2795
  menuData: h,
2796
2796
  menuState: b,
@@ -2813,22 +2813,22 @@ const {
2813
2813
  var G;
2814
2814
  const w = dn(Bn, t, e, {
2815
2815
  render: !0
2816
- }), A = ue(t, e, "collapsedButtonRender"), P = ue(t, e, "footerRender"), j = ue(t, e, "headerRender"), be = ue(t, e, "headerContentRender"), fe = ue(t, e, "rightContentRender"), O = ue(t, e, "menuItemRender"), k = ue(t, e, "menuHeaderRender"), N = ue(t, e, "logoContentRender"), Z = ue(t, e, "menuFooterRender"), ee = ue(t, e, "subMenuItemRender"), re = ue(t, e, "menuContentRender"), E = F({
2816
+ }), A = ce(t, e, "collapsedButtonRender"), P = ce(t, e, "footerRender"), K = ce(t, e, "headerRender"), ie = ce(t, e, "headerContentRender"), he = ce(t, e, "rightContentRender"), O = ce(t, e, "menuItemRender"), k = ce(t, e, "menuHeaderRender"), N = ce(t, e, "logoContentRender"), Z = ce(t, e, "menuFooterRender"), te = ce(t, e, "subMenuItemRender"), se = ce(t, e, "menuContentRender"), j = F({
2817
2817
  ...e,
2818
- ...ie(w, $n),
2818
+ ...le(w, $n),
2819
2819
  menuItemRender: O,
2820
- subMenuItemRender: ee,
2820
+ subMenuItemRender: te,
2821
2821
  hasSiderMenu: I.value,
2822
2822
  isMobile: M.value,
2823
- rightContentRender: fe,
2823
+ rightContentRender: he,
2824
2824
  logoContentRender: N,
2825
- headerContentRender: be,
2826
- headerRender: j
2825
+ headerContentRender: ie,
2826
+ headerRender: K
2827
2827
  }, e.matchMenuKeys), V = P === !1 ? null : P ? typeof P == "function" ? P(e) : P : n(Xt, {
2828
2828
  copyright: w.copyrightRender,
2829
2829
  links: e.footerLinks
2830
2830
  }, null);
2831
- return o(n(te, null, [e.pure ? (G = t.default) == null ? void 0 : G.call(t) : n("div", {
2831
+ return o(n(ee, null, [e.pure ? (G = t.default) == null ? void 0 : G.call(t) : n("div", {
2832
2832
  id: e.id,
2833
2833
  class: U({
2834
2834
  [`${i.value}`]: !0,
@@ -2853,17 +2853,17 @@ const {
2853
2853
  menuHeaderRender: k,
2854
2854
  logoContentRender: N,
2855
2855
  menuFooterRender: Z,
2856
- menuContentRender: re,
2856
+ menuContentRender: se,
2857
2857
  collapsedButtonRender: A
2858
- }, ie(w, Rn)), null), n(Xe, {
2858
+ }, le(w, Rn)), null), n(Xe, {
2859
2859
  style: c
2860
2860
  }, {
2861
2861
  default: () => {
2862
- var he;
2863
- return [e.layout !== "simple" && B.value > 0 && E, n(kt, J(ie(e, ho), {
2862
+ var ge;
2863
+ return [e.layout !== "simple" && B.value > 0 && j, n(kt, J(le(e, ho), {
2864
2864
  tabsRouteProps: {
2865
2865
  ...e.tabsRouteProps,
2866
- itemRender: t.tabsRouteItemRender || ((he = e.tabsRouteProps) == null ? void 0 : he.itemRender)
2866
+ itemRender: t.tabsRouteItemRender || ((ge = e.tabsRouteProps) == null ? void 0 : ge.itemRender)
2867
2867
  },
2868
2868
  hashId: i.value,
2869
2869
  prefixCls: a,
@@ -3013,7 +3013,7 @@ const {
3013
3013
  onOpenChange: Function,
3014
3014
  "onUpdate:open": Function,
3015
3015
  cryptoFn: Function,
3016
- ...ie(ri, ["name", "avatar"])
3016
+ ...le(ri, ["name", "avatar"])
3017
3017
  }, si = {
3018
3018
  ...Un,
3019
3019
  shortsKey: {
@@ -3282,7 +3282,7 @@ const fi = /* @__PURE__ */ W({
3282
3282
  style: {
3283
3283
  fontSize: "30px"
3284
3284
  }
3285
- }, [l.day, X("  "), l.dddd])])]) : n(te, null, [n("div", {
3285
+ }, [l.day, X("  "), l.dddd])])]) : n(ee, null, [n("div", {
3286
3286
  class: r("head")
3287
3287
  }, [n("span", null, [l.day, X("  "), l.dddd]), n("span", {
3288
3288
  class: r("lock-icon"),
@@ -3311,10 +3311,10 @@ const fi = /* @__PURE__ */ W({
3311
3311
  const t = oe({
3312
3312
  suffixCls: "page-lock",
3313
3313
  isPor: !0
3314
- }), a = le(), {
3314
+ }), a = re(), {
3315
3315
  wrapSSR: o,
3316
3316
  hashId: i
3317
- } = ge("ProPageLock", [ci], t), l = lt(t, {
3317
+ } = ye("ProPageLock", [ci], t), l = lt(t, {
3318
3318
  open: !1,
3319
3319
  password: ""
3320
3320
  }), [r, s, m] = je(!1, {
@@ -3326,7 +3326,7 @@ const fi = /* @__PURE__ */ W({
3326
3326
  var b, M;
3327
3327
  (b = e.onOpenChange) == null || b.call(e, d), (M = e["onUpdate:open"]) == null || M.call(e, d), a && (a.lockOpen.value = d);
3328
3328
  }
3329
- }), [y, g] = Se(!1), u = me();
3329
+ }), [y, g] = Se(!1), u = fe();
3330
3330
  function C(d) {
3331
3331
  return e.cryptoFn ? e.cryptoFn(d) : d;
3332
3332
  }
@@ -3349,7 +3349,7 @@ const fi = /* @__PURE__ */ W({
3349
3349
  var d;
3350
3350
  s(!1), S(""), (d = u.value) == null || d.resetFields();
3351
3351
  };
3352
- return () => o(n(te, null, [n(fi, J(ie(e, ["name", "avatar"]), {
3352
+ return () => o(n(ee, null, [n(fi, J(le(e, ["name", "avatar"]), {
3353
3353
  open: y.value,
3354
3354
  hashId: i.value,
3355
3355
  className: t,
@@ -3366,7 +3366,7 @@ const fi = /* @__PURE__ */ W({
3366
3366
  }, {
3367
3367
  default: () => [n(_n, J({
3368
3368
  ref: u
3369
- }, ie(e, ["name", "avatar"]), {
3369
+ }, le(e, ["name", "avatar"]), {
3370
3370
  submitText: "锁定",
3371
3371
  hashId: i.value,
3372
3372
  className: t,
@@ -3375,7 +3375,7 @@ const fi = /* @__PURE__ */ W({
3375
3375
  })]));
3376
3376
  }
3377
3377
  }), hi = (e) => {
3378
- const { dark: t } = ye(e);
3378
+ const { dark: t } = be(e);
3379
3379
  return {
3380
3380
  [e.componentCls]: {
3381
3381
  display: "flex",
@@ -3501,7 +3501,7 @@ const vi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3501
3501
  const t = Ze(), a = lt(e.historyKey || oe({
3502
3502
  suffixCls: "layout-search-history",
3503
3503
  isPor: !0
3504
- }), []), o = me(0), i = me([]), l = rn(r, 200);
3504
+ }), []), o = fe(0), i = fe([]), l = rn(r, 200);
3505
3505
  function r(h) {
3506
3506
  if (h = h.trim(), !h) {
3507
3507
  i.value = [];
@@ -3519,7 +3519,7 @@ const vi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3519
3519
  T.push(F.slice(0, w + 1).join("-"));
3520
3520
  T = T.map((w) => {
3521
3521
  var A, P;
3522
- return ((P = (A = e.dataSource.find((j) => (j == null ? void 0 : j.key) === w)) == null ? void 0 : A.meta) == null ? void 0 : P.title) || "";
3522
+ return ((P = (A = e.dataSource.find((K) => (K == null ? void 0 : K.key) === w)) == null ? void 0 : A.meta) == null ? void 0 : P.title) || "";
3523
3523
  }), d.push(Ce(b, {
3524
3524
  meta: {
3525
3525
  title: T.join("**")
@@ -3576,7 +3576,7 @@ const vi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3576
3576
  h.stopPropagation(), e.keyword ? i.value.splice(f, 1) : a.value.splice(f, 1), o.value = o.value - 1 >= 0 ? o.value - 1 : 0, m();
3577
3577
  }
3578
3578
  const I = (h) => U(`${e.className}${h ? `-${h}` : ""}`, e.hashId);
3579
- return () => n(te, null, [i.value.length > 0 ? n(te, null, [a.value.length > 0 && !e.keyword && n("div", {
3579
+ return () => n(ee, null, [i.value.length > 0 ? n(ee, null, [a.value.length > 0 && !e.keyword && n("div", {
3580
3580
  class: I("panel-title")
3581
3581
  }, [X("搜索历史")]), n("div", {
3582
3582
  class: I("panel-list")
@@ -3595,7 +3595,7 @@ const vi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3595
3595
  classNames: I("panel-icon")
3596
3596
  }), null), (D = (M = (b = h.meta) == null ? void 0 : b.title) == null ? void 0 : M.split("**")) == null ? void 0 : D.map(($, B) => {
3597
3597
  var T, F, w;
3598
- return n(te, null, [$, B < ((w = (F = (T = h.meta) == null ? void 0 : T.title) == null ? void 0 : F.split("**")) == null ? void 0 : w.length) - 1 && n(Ka, null, null)]);
3598
+ return n(ee, null, [$, B < ((w = (F = (T = h.meta) == null ? void 0 : T.title) == null ? void 0 : F.split("**")) == null ? void 0 : w.length) - 1 && n(Ka, null, null)]);
3599
3599
  }), n("span", null, null)]), n(ct, {
3600
3600
  onClick: ($) => R($, f)
3601
3601
  }, null)]);
@@ -3635,7 +3635,7 @@ const vi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3635
3635
  }), {
3636
3636
  wrapSSR: a,
3637
3637
  hashId: o
3638
- } = gi(t), [i, l] = Se(""), [r, s] = Se(!1), m = le(), y = sn(), g = va() ? y["ctrl+k"] : y["cmd+k"], u = me(), C = x(() => {
3638
+ } = gi(t), [i, l] = Se(""), [r, s] = Se(!1), m = re(), y = sn(), g = va() ? y["ctrl+k"] : y["cmd+k"], u = fe(), C = x(() => {
3639
3639
  var c;
3640
3640
  return Mt(e.dataSource || ((c = m == null ? void 0 : m.menuData) == null ? void 0 : c.value));
3641
3641
  });
@@ -3655,7 +3655,7 @@ const vi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3655
3655
  className: `${t}`,
3656
3656
  hashId: o.value
3657
3657
  }, R = `${t}-modal`;
3658
- return a(n(te, null, [n("div", {
3658
+ return a(n(ee, null, [n("div", {
3659
3659
  class: U(t, o.value),
3660
3660
  onClick: () => s(!0)
3661
3661
  }, [n(Wt, null, null), n("span", {
@@ -3699,7 +3699,7 @@ const vi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3699
3699
  };
3700
3700
  }
3701
3701
  }), Ii = (e) => {
3702
- const { dark: t } = ye(e), a = st(e, "header");
3702
+ const { dark: t } = be(e), a = st(e, "header");
3703
3703
  return {
3704
3704
  [`${e.componentCls}`]: {
3705
3705
  "&-header-actions": {
@@ -3717,6 +3717,7 @@ const vi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3717
3717
  color: t || a ? e.colorWhite : e.colorTextTertiary,
3718
3718
  fontSize: "16px",
3719
3719
  cursor: "pointer",
3720
+ lineHeight: 1,
3720
3721
  borderRadius: e.borderRadius,
3721
3722
  ".iconfont,.anticon,.gx-icon": {
3722
3723
  color: t || a ? e.colorWhite : e.colorTextTertiary
@@ -3775,13 +3776,14 @@ const ds = /* @__PURE__ */ W({
3775
3776
  props: Kn(),
3776
3777
  inheritAttrs: !1,
3777
3778
  emits: ["logout", "darkChange", "settingsOpenChange", "update:dark", "update:settingsOpen", "lockOpenChange"],
3779
+ slots: Object,
3778
3780
  setup(e, {
3779
3781
  slots: t
3780
3782
  }) {
3781
3783
  const {
3782
3784
  isFullscreen: a,
3783
3785
  toggle: o
3784
- } = da(), i = ke(), l = le(), r = un(), s = oe({
3786
+ } = da(), i = ke(), l = re(), r = un(), s = oe({
3785
3787
  suffixCls: "global-header",
3786
3788
  isPor: !0
3787
3789
  }), [m, y] = Se(!1), {
@@ -3834,7 +3836,7 @@ const ds = /* @__PURE__ */ W({
3834
3836
  e != null && e.onLogout && (y(!0), e.onLogout(() => y(!1)));
3835
3837
  };
3836
3838
  return () => {
3837
- const B = Pe(t, e, "dropdownMenuRender"), T = Pe(t, e, "dropdownRender"), F = Pe(t, e, "dropdownMenuExtraItemRender"), w = ue(t, e, "actionsRender"), A = a.value ? Ua : _a;
3839
+ const B = Pe(t, e, "dropdownMenuRender"), T = Pe(t, e, "dropdownRender"), F = Pe(t, e, "dropdownMenuExtraItemRender"), w = ce(t, e, "actionsRender"), A = a.value ? Ua : _a;
3838
3840
  return g(n("div", {
3839
3841
  class: `${s}-right-content ${u.value}`.trim(),
3840
3842
  style: {
@@ -3854,18 +3856,18 @@ const ds = /* @__PURE__ */ W({
3854
3856
  }
3855
3857
  }, {
3856
3858
  default: () => {
3857
- var P;
3859
+ var P, K;
3858
3860
  return [n("div", {
3859
3861
  class: `${s}-header-actions ${u.value}`.trim()
3860
- }, [b.value.search && !f.value && n(Si, {
3862
+ }, [((P = t.default) == null ? void 0 : P.call(t)) ?? n(ee, null, [b.value.search && !f.value && n(Si, {
3861
3863
  dataSource: e.dataSource,
3862
- disabeldShortKey: (P = e.shortsKey) == null ? void 0 : P.disabeld
3864
+ disabeldShortKey: (K = e.shortsKey) == null ? void 0 : K.disabeld
3863
3865
  }, null), b.value.theme && n("div", {
3864
3866
  class: `${s}-header-actions-item ${u.value}`.trim()
3865
3867
  }, [n(Ge, {
3866
3868
  class: `${s}-header-actions-icon ${u.value}`.trim(),
3867
3869
  name: d.value ? "liangse" : "anhei",
3868
- onClick: (j) => D(j)
3870
+ onClick: (ie) => D(ie)
3869
3871
  }, null)]), b.value.settings && !f.value && n("div", {
3870
3872
  class: `${s}-header-actions-item ${u.value}`.trim()
3871
3873
  }, [n(bn, {
@@ -3874,14 +3876,14 @@ const ds = /* @__PURE__ */ W({
3874
3876
  class: `${s}-header-actions-item ${u.value}`.trim()
3875
3877
  }, [n(A, {
3876
3878
  onClick: () => o()
3877
- }, null)]), w ? w == null ? void 0 : w([`${s}-header-actions-item`, u.value]) : null, n(bt, {
3879
+ }, null)]), w ? w == null ? void 0 : w([`${s}-header-actions-item`, u.value]) : null]), n(bt, {
3878
3880
  overlay: B || n(pe, null, {
3879
- default: () => [F, b.value.lock && n(te, null, [n(Kt, {
3881
+ default: () => [F, b.value.lock && n(ee, null, [n(Kt, {
3880
3882
  key: "lock",
3881
3883
  icon: n(yn, null, null),
3882
3884
  onClick: () => {
3883
- var j;
3884
- (j = e.onLockOpenChange) == null || j.call(e, !0), l && (l.lockOpen.value = !0);
3885
+ var ie;
3886
+ (ie = e.onLockOpenChange) == null || ie.call(e, !0), l && (l.lockOpen.value = !0);
3885
3887
  }
3886
3888
  }, {
3887
3889
  default: () => [X("锁定屏幕")]
@@ -3927,13 +3929,13 @@ const ds = /* @__PURE__ */ W({
3927
3929
  breadcrumb: at.breadcrumbRender
3928
3930
  },
3929
3931
  setup(e) {
3930
- const t = le(), o = ((t == null ? void 0 : t.getPrefixCls) || oe)({
3932
+ const t = re(), o = ((t == null ? void 0 : t.getPrefixCls) || oe)({
3931
3933
  isPor: !0,
3932
3934
  suffixCls: "page-header"
3933
3935
  }), {
3934
3936
  wrapSSR: i,
3935
3937
  hashId: l
3936
- } = ge("ProPageHeader", [Ri], o), r = x(() => {
3938
+ } = ye("ProPageHeader", [Ri], o), r = x(() => {
3937
3939
  var g;
3938
3940
  const s = ((g = t == null ? void 0 : t.breadcrumb) == null ? void 0 : g.value) || {}, m = s.routes || [], y = m.map((u, C) => ({
3939
3941
  ...u,
@@ -3963,7 +3965,7 @@ const ds = /* @__PURE__ */ W({
3963
3965
  }
3964
3966
  }), Bi = (e) => {
3965
3967
  var l;
3966
- const t = (l = e.layout) == null ? void 0 : l.pageContainer, { layout: a } = ye(e), o = (t == null ? void 0 : t.borderRadius) || e.borderRadiusLG, i = `${e.proComponentsCls}-basic-layout-content`;
3968
+ const t = (l = e.layout) == null ? void 0 : l.pageContainer, { layout: a } = be(e), o = (t == null ? void 0 : t.borderRadius) || e.borderRadiusLG, i = `${e.proComponentsCls}-basic-layout-content`;
3967
3969
  return {
3968
3970
  [`${e.proComponentsCls}-basic-layout`]: {
3969
3971
  [`&-content${i}-width`]: {
@@ -4029,7 +4031,7 @@ const { useInjectContext: Mi, provideContext: Oi } = Ot("pro-page"), ms = /* @__
4029
4031
  slots: t,
4030
4032
  attrs: a
4031
4033
  }) {
4032
- const o = pn(), i = Mi(), l = le(), r = ke(), s = (l == null ? void 0 : l.getPrefixCls) || oe, m = s({
4034
+ const o = pn(), i = Mi(), l = re(), r = ke(), s = (l == null ? void 0 : l.getPrefixCls) || oe, m = s({
4033
4035
  suffixCls: "page-container",
4034
4036
  isPor: !0
4035
4037
  }), y = s({
@@ -4081,12 +4083,12 @@ const { useInjectContext: Mi, provideContext: Oi } = Ot("pro-page"), ms = /* @__
4081
4083
  }
4082
4084
  }, [n(Bt, {
4083
4085
  indicator: (T = o == null ? void 0 : o.indicator) == null ? void 0 : T.value
4084
- }, null)]), $, R.value ? n(oa, J(u.value ? ie(u.value, ["loading", "bodyStyle"]) : {}, {
4086
+ }, null)]), $, R.value ? n(oa, J(u.value ? le(u.value, ["loading", "bodyStyle"]) : {}, {
4085
4087
  bordered: !1
4086
4088
  }), {
4087
4089
  default: () => {
4088
- var j;
4089
- return [(j = t.default) == null ? void 0 : j.call(t)];
4090
+ var K;
4091
+ return [(K = t.default) == null ? void 0 : K.call(t)];
4090
4092
  }
4091
4093
  }) : Ne($) ? n("div", {
4092
4094
  style: (F = I.value) != null && F.marginBlockPageContainerContent ? {
@@ -4096,7 +4098,7 @@ const { useInjectContext: Mi, provideContext: Oi } = Ot("pro-page"), ms = /* @__
4096
4098
  };
4097
4099
  return () => {
4098
4100
  var w, A;
4099
- const $ = Pe(t, e, "pageHeaderRender") || ((w = l == null ? void 0 : l.pageHeaderRender) == null ? void 0 : w.value), B = ue(t, e, "breadcrumbRender"), T = Pe(t, e, "contentRender"), F = {
4101
+ const $ = Pe(t, e, "pageHeaderRender") || ((w = l == null ? void 0 : l.pageHeaderRender) == null ? void 0 : w.value), B = ce(t, e, "breadcrumbRender"), T = Pe(t, e, "contentRender"), F = {
4100
4102
  ...a.style || {},
4101
4103
  ...((A = l == null ? void 0 : l.contentStyle) == null ? void 0 : A.value) || {}
4102
4104
  };
@@ -4350,7 +4352,7 @@ const hs = /* @__PURE__ */ W({
4350
4352
  label: "fixedTabsBar",
4351
4353
  title: "固定多标签"
4352
4354
  }], Ai = (e) => {
4353
- const { dark: t } = ye(e);
4355
+ const { dark: t } = be(e);
4354
4356
  return {
4355
4357
  [e.componentCls]: {
4356
4358
  [`${e.antCls}-drawer-content-wrapper`]: {
@@ -4712,13 +4714,13 @@ const Ki = /* @__PURE__ */ W({
4712
4714
  setup(e) {
4713
4715
  const {
4714
4716
  getPrefixCls: t
4715
- } = le(), [a, o] = Se("header"), i = t({
4717
+ } = re(), [a, o] = Se("header"), i = t({
4716
4718
  suffixCls: "theme-editor",
4717
4719
  isPor: !0
4718
4720
  }), {
4719
4721
  wrapSSR: l,
4720
4722
  hashId: r
4721
- } = ge("ProThemeEditor", [ji], i), {
4723
+ } = ye("ProThemeEditor", [ji], i), {
4722
4724
  token: s
4723
4725
  } = ke(), m = x(() => {
4724
4726
  var S;
@@ -4899,7 +4901,7 @@ const {
4899
4901
  }), {
4900
4902
  wrapSSR: a,
4901
4903
  hashId: o
4902
- } = ge("SettingsDrawOthers", [Wi], t);
4904
+ } = ye("SettingsDrawOthers", [Wi], t);
4903
4905
  return () => {
4904
4906
  var l, r, s, m, y, g, u, C, S, c, R, I, h, f;
4905
4907
  let i;
@@ -5000,7 +5002,7 @@ const {
5000
5002
  color: "#fff",
5001
5003
  fontSize: 20
5002
5004
  }, tn = (e) => Ca() ? {
5003
- ...ie(Q, St),
5005
+ ...le(Q, St),
5004
5006
  ...e || {}
5005
5007
  } : ve(Q), _e = (e, {
5006
5008
  slots: t
@@ -5046,7 +5048,7 @@ const {
5046
5048
  props: Vi(),
5047
5049
  emits: ["change", "layoutChange", "openChange", "update:open", "update:dark", "darkChange"],
5048
5050
  setup(e) {
5049
- const t = ke(), a = le(), o = oe({
5051
+ const t = ke(), a = re(), o = oe({
5050
5052
  suffixCls: "setting-drawer",
5051
5053
  isPor: !0
5052
5054
  }), i = xe({}), l = lt(oe({
@@ -5055,7 +5057,7 @@ const {
5055
5057
  }), {}), {
5056
5058
  wrapSSR: r,
5057
5059
  hashId: s
5058
- } = ge("ProSettingDraw", [Ai], o), m = me(!1), [y, g] = je(!1, {
5060
+ } = ye("ProSettingDraw", [Ai], o), m = fe(!1), [y, g] = je(!1, {
5059
5061
  value: x(() => {
5060
5062
  var O;
5061
5063
  return ae(e.open) ? e.open : (O = a == null ? void 0 : a.settingsOpen) == null ? void 0 : O.value;
@@ -5076,7 +5078,7 @@ const {
5076
5078
  var k, N, Z;
5077
5079
  (k = e.onDarkChange) == null || k.call(e, O), (N = e == null ? void 0 : e["onUpdate:dark"]) == null || N.call(e, O), (Z = a == null ? void 0 : a.onDarkChange) == null || Z.call(a, O);
5078
5080
  }
5079
- }), [c, R] = Se(!1), [I, h] = Se(!1), f = x(() => e.storage ? Object.keys(l.value).length > 0 : !1), d = x(() => tn(ie(e.settings, St))), [b, M] = je(() => tn(ie(e.settings, St)), {
5081
+ }), [c, R] = Se(!1), [I, h] = Se(!1), f = x(() => e.storage ? Object.keys(l.value).length > 0 : !1), d = x(() => tn(le(e.settings, St))), [b, M] = je(() => tn(le(e.settings, St)), {
5080
5082
  value: d,
5081
5083
  onChange: (O) => {
5082
5084
  var k;
@@ -5104,7 +5106,7 @@ const {
5104
5106
  }, {
5105
5107
  immediate: !0
5106
5108
  });
5107
- const B = x(() => e.colorList && rt(e.colorList) ? e.colorList : []), T = x(() => Yo(se(b))), {
5109
+ const B = x(() => e.colorList && rt(e.colorList) ? e.colorList : []), T = x(() => Yo(ue(b))), {
5108
5110
  copy: F,
5109
5111
  copied: w,
5110
5112
  isSupported: A
@@ -5122,25 +5124,25 @@ const {
5122
5124
  e.storage && (l.value.dark = O);
5123
5125
  });
5124
5126
  const P = (O, k, N) => {
5125
- var re, E, V;
5126
- const Z = ["header", "sider"], ee = {};
5127
+ var se, j, V;
5128
+ const Z = ["header", "sider"], te = {};
5127
5129
  if (N != null && N.subKey && Z.includes(O)) {
5128
- ee[O] = {}, ee[O][N == null ? void 0 : N.subKey] = k, (re = e.onLayoutChange) == null || re.call(e, ie(ee, Z));
5130
+ te[O] = {}, te[O][N == null ? void 0 : N.subKey] = k, (se = e.onLayoutChange) == null || se.call(e, le(te, Z));
5129
5131
  return;
5130
5132
  } else
5131
- O === "animate" ? (ee[O] = {}, N != null && N.subKey && (ee[O][N == null ? void 0 : N.subKey] = k), (N == null ? void 0 : N.subKey) === "name" && (ee[O].direction = (V = (E = _i.find((G) => G.name === k)) == null ? void 0 : E.directions) == null ? void 0 : V[0])) : ee[O] = k;
5133
+ O === "animate" ? (te[O] = {}, N != null && N.subKey && (te[O][N == null ? void 0 : N.subKey] = k), (N == null ? void 0 : N.subKey) === "name" && (te[O].direction = (V = (j = _i.find((G) => G.name === k)) == null ? void 0 : j.directions) == null ? void 0 : V[0])) : te[O] = k;
5132
5134
  if (O === "colorWeak") {
5133
5135
  const G = document.querySelector("body");
5134
5136
  G && (G.dataset.prosettingdrawer = k === !0 ? G.style.filter : G.dataset.prosettingdrawer || "none", k === !0 && (G.dataset.prosettingdrawer = G.style.filter), G.style.filter = k === !0 ? "invert(80%)" : G.dataset.prosettingdrawer || "none", k || delete G.dataset.prosettingdrawer);
5135
5137
  }
5136
- M(Ce(se(b), {
5137
- ...Go(Ie(ee, Z))
5138
+ M(Ce(ue(b), {
5139
+ ...Go(Ie(te, Z))
5138
5140
  }));
5139
- }, j = (O) => {
5141
+ }, K = (O) => {
5140
5142
  l.value.dark = O === "system" ? O : O === "dark", $(null, O === "system" ? O : O === "dark");
5141
- }, be = () => {
5142
- A.value && F(JSON.stringify(se(b)));
5143
- }, fe = () => {
5143
+ }, ie = () => {
5144
+ A.value && F(JSON.stringify(ue(b)));
5145
+ }, he = () => {
5144
5146
  M(Ie(ve(i), "dark")), $(null, i.dark), l.value = ve(i);
5145
5147
  };
5146
5148
  return () => {
@@ -5178,7 +5180,7 @@ const {
5178
5180
  default: () => [n(ra, {
5179
5181
  value: ae(u.value) ? u.value ? "dark" : "light" : "system",
5180
5182
  options: Ti,
5181
- onChange: (k) => j(k)
5183
+ onChange: (k) => K(k)
5182
5184
  }, null)]
5183
5185
  }), n(_e, {
5184
5186
  prefixCls: o,
@@ -5214,14 +5216,14 @@ const {
5214
5216
  settingValue: b.value,
5215
5217
  onChange: (k, N) => P(N || "primaryColor", k)
5216
5218
  }, null)]
5217
- }), !e.themeOnly && n(te, null, [n(ft, null, null), n(_e, {
5219
+ }), !e.themeOnly && n(ee, null, [n(ft, null, null), n(_e, {
5218
5220
  hashId: s.value,
5219
5221
  prefixCls: o,
5220
5222
  title: "导航模式"
5221
5223
  }, {
5222
5224
  default: () => [n(Zt, {
5223
5225
  prefixCls: o,
5224
- value: se(b).layout,
5226
+ value: ue(b).layout,
5225
5227
  key: "layout",
5226
5228
  hashId: s.value,
5227
5229
  configType: "layout",
@@ -5238,7 +5240,7 @@ const {
5238
5240
  prefixCls: o,
5239
5241
  hashId: s.value,
5240
5242
  valueKey: k,
5241
- onChange: (Z, ee) => P(Z, ee)
5243
+ onChange: (Z, te) => P(Z, te)
5242
5244
  }, null)), n(ft, null, null), n(_e, {
5243
5245
  hashId: s.value,
5244
5246
  prefixCls: o,
@@ -5255,22 +5257,22 @@ const {
5255
5257
  title: N
5256
5258
  }) => n(et, {
5257
5259
  label: N,
5258
- disabled: se(T)[k],
5259
- value: se(b)[k],
5260
+ disabled: ue(T)[k],
5261
+ value: ue(b)[k],
5260
5262
  prefixCls: o,
5261
5263
  hashId: s.value,
5262
5264
  valueKey: k,
5263
- onChange: (Z, ee) => P(Z, ee)
5265
+ onChange: (Z, te) => P(Z, te)
5264
5266
  }, null)), e.weakmode && n(et, {
5265
5267
  label: "色弱模式",
5266
- value: se(b).colorWeak,
5268
+ value: ue(b).colorWeak,
5267
5269
  prefixCls: o,
5268
5270
  hashId: s.value,
5269
5271
  valueKey: "colorWeak",
5270
5272
  onChange: (k, N) => P(k, N)
5271
5273
  }, null), e.showProgress && n(et, {
5272
5274
  label: "顶部进度条",
5273
- value: se(b).showProgressBar,
5275
+ value: ue(b).showProgressBar,
5274
5276
  prefixCls: o,
5275
5277
  hashId: s.value,
5276
5278
  valueKey: "showProgressBar",
@@ -5290,13 +5292,13 @@ const {
5290
5292
  gap: "10px"
5291
5293
  }
5292
5294
  }, [e.hideCopyButton ? null : n(nt, {
5293
- onClick: () => be(),
5295
+ onClick: () => ie(),
5294
5296
  block: !0
5295
5297
  }, {
5296
5298
  default: () => [n(Ya, null, null), X("拷贝设置")]
5297
5299
  }), n(nt, {
5298
5300
  block: !0,
5299
- onClick: () => fe()
5301
+ onClick: () => he()
5300
5302
  }, {
5301
5303
  default: () => [n(qa, null, null), X("清空缓存")]
5302
5304
  })])])]
@@ -6787,7 +6789,7 @@ const ys = /* @__PURE__ */ W({
6787
6789
  }), {
6788
6790
  wrapSSR: a,
6789
6791
  hashId: o
6790
- } = ge("AppsLogoList", [Mo], t), i = (l) => {
6792
+ } = ye("AppsLogoList", [Mo], t), i = (l) => {
6791
6793
  var r;
6792
6794
  (r = e.onItemClick) == null || r.call(e, l);
6793
6795
  };
@@ -6839,5 +6841,5 @@ export {
6839
6841
  so as provideProLayoutContext,
6840
6842
  qo as removeDuplicatesByName,
6841
6843
  fs as useLayoutMenu,
6842
- le as useProLayoutContext
6844
+ re as useProLayoutContext
6843
6845
  };