@gx-design-vue/pro-layout 0.1.0-beta.82 → 0.1.0-beta.83

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,14 +1,14 @@
1
- import { createVNode as n, defineComponent as j, createTextVNode as W, mergeProps as te, toRefs as tt, ref as me, reactive as ve, watch as ne, computed as R, unref as se, Fragment as J, withDirectives as jn, vShow as En, isVNode as Le, resolveComponent as Zt, nextTick as xt, watchEffect as Kn, onMounted as St, isRef as Wn, Transition as Un } from "vue";
1
+ import { createVNode as n, defineComponent as j, createTextVNode as _, mergeProps as te, toRefs as tt, ref as me, reactive as pe, watch as ne, computed as R, unref as se, Fragment as J, withDirectives as En, vShow as Kn, isVNode as Le, resolveComponent as Jt, nextTick as xt, watchEffect as Wn, onMounted as St, isRef as zt, Transition as Un } from "vue";
2
2
  import { pick as oe, cloneDeep as Se, omit as $e } from "lodash-es";
3
- import { LayoutFooter as _n, Spin as It, Tabs as wt, Menu as ge, Dropdown as ht, Layout as We, Popover as Xn, Badge as Vn, ConfigProvider as Rt, Drawer as Qe, Avatar as Jt, Form as zt, Input as en, Button as Ze, Empty as Dt, MenuItem as At, Breadcrumb as Gn, Card as Yn, Tooltip as nt, List as Be, Switch as tn, TabPane as qn, Select as Ye, message as Qn, Segmented as Zn, Divider as ct, Alert as Jn } from "ant-design-vue";
4
- import { useLocalStorage as at, useColorMode as ea, useStyleTag as ta, useMagicKeys as nn, whenever as gt, useThrottleFn as na, onKeyStroke as ut, useFullscreen as aa, useDebounceFn as oa, useClipboard as ia } from "@vueuse/core";
5
- import { useState as pe, useMemo as yt, useMergedState as De, useMediaQuery as an } from "@gx-design-vue/pro-hooks";
6
- import { getPrefixCls as ie, arrayRepeat as la, getSlotVNode as Me, classNames as Q, isBoolean as ae, merge as be, isNumber as Ue, isUrl as $t, isImg as ra, isArray as Bt, convertValueBoolean as Fe, isObject as sa, isString as ca, getLevelData as Mt, deepCopy as ua, getRandomNumber as bt, getSlot as re, getSlotsProps as da, isWindowsOs as ma, isDeepEqualReact as fa, isBrowser as ha } from "@gx-design-vue/pro-utils";
7
- import ga, { themeConfig as Z, useContext as ya, useProStyle as fe, useStyle as Pe, mergeToken as je, getTokenLayoutTheme as Ce, resetComponent as ba, Keyframe as S, checkMenuDark as ot, calcUnit as dt, getDefaultLayoutToken as it, useProConfigContext as Oe, unit as Ae, getLayoutTheme as on, useProForm as va, setAlpha as pa, defaultSystemTheme as Ca, defaultLayout as xa, colorList as Sa } from "@gx-design-vue/pro-provider";
3
+ import { LayoutFooter as _n, Spin as It, Tabs as wt, Menu as ge, Dropdown as ht, Layout as We, Popover as Xn, Badge as Vn, ConfigProvider as Rt, Drawer as Qe, Avatar as en, Form as Dt, Input as tn, Button as Ze, Empty as At, MenuItem as Ht, Breadcrumb as Gn, Card as Yn, Tooltip as nt, List as Me, Switch as nn, TabPane as qn, Select as Ye, message as Qn, Segmented as Zn, Divider as ct, Alert as Jn } from "ant-design-vue";
4
+ import { useLocalStorage as at, useColorMode as ea, useStyleTag as ta, useMagicKeys as an, whenever as gt, useThrottleFn as na, onKeyStroke as ut, useFullscreen as aa, useDebounceFn as oa, useClipboard as ia } from "@vueuse/core";
5
+ import { useState as Ce, useMemo as yt, useMergedState as De, useMediaQuery as on } from "@gx-design-vue/pro-hooks";
6
+ import { getPrefixCls as ie, arrayRepeat as la, getSlotVNode as Be, classNames as Q, isBoolean as ae, merge as ve, isNumber as Ue, isUrl as $t, isImg as ra, isArray as Mt, convertValueBoolean as Fe, isObject as sa, isString as ca, getLevelData as Bt, deepCopy as ua, getRandomNumber as bt, getSlot as re, getSlotsProps as da, isWindowsOs as ma, isDeepEqualReact as fa, isBrowser as ha } from "@gx-design-vue/pro-utils";
7
+ import ga, { themeConfig as Z, useContext as ya, useProStyle as fe, useStyle as Pe, mergeToken as je, getTokenLayoutTheme as ye, resetComponent as ba, Keyframe as S, checkMenuDark as ot, calcUnit as dt, getDefaultLayoutToken as it, useProConfigContext as Oe, unit as Ae, getLayoutTheme as ln, useProForm as va, setAlpha as pa, defaultSystemTheme as Ca, defaultLayout as xa, colorList as Sa } from "@gx-design-vue/pro-provider";
8
8
  import { createTypes as Ia } from "vue-types";
9
9
  import { spinProps as wa } from "ant-design-vue/es/spin";
10
10
  import Re from "dayjs";
11
- import { GithubOutlined as Ra, CloseOutlined as lt, FullscreenExitOutlined as ln, FullscreenOutlined as rn, ReloadOutlined as vt, ExportOutlined as $a, VerticalRightOutlined as Ba, VerticalLeftOutlined as Ma, VerticalAlignMiddleOutlined as La, SwapOutlined as Oa, DownOutlined as Fa, AppstoreOutlined as ka, createFromIconfontCN as Ta, ArrowLeftOutlined as Pa, MenuUnfoldOutlined as Na, MenuFoldOutlined as za, UserOutlined as sn, LockOutlined as cn, MenuOutlined as Da, ArrowRightOutlined as Aa, SearchOutlined as Ht, EnterOutlined as Ha, ArrowUpOutlined as jt, CompressOutlined as ja, ExpandOutlined as Ea, SettingOutlined as un, LogoutOutlined as Ka, DesktopOutlined as Wa, CheckOutlined as dn, NotificationOutlined as Ua, CopyOutlined as _a, ClearOutlined as Xa } from "@ant-design/icons-vue";
11
+ import { GithubOutlined as Ra, CloseOutlined as lt, FullscreenExitOutlined as rn, FullscreenOutlined as sn, ReloadOutlined as vt, ExportOutlined as $a, VerticalRightOutlined as Ma, VerticalLeftOutlined as Ba, VerticalAlignMiddleOutlined as La, SwapOutlined as Oa, DownOutlined as Fa, AppstoreOutlined as ka, createFromIconfontCN as Ta, ArrowLeftOutlined as Pa, MenuUnfoldOutlined as Na, MenuFoldOutlined as za, UserOutlined as cn, LockOutlined as un, MenuOutlined as Da, ArrowRightOutlined as Aa, SearchOutlined as jt, EnterOutlined as Ha, ArrowUpOutlined as Et, CompressOutlined as ja, ExpandOutlined as Ea, SettingOutlined as dn, LogoutOutlined as Ka, DesktopOutlined as Wa, CheckOutlined as mn, NotificationOutlined as Ua, CopyOutlined as _a, ClearOutlined as Xa } from "@ant-design/icons-vue";
12
12
  import { useProAppContext as Lt } from "@gx-design-vue/pro-app";
13
13
  import { useRouter as Ge, RouterLink as Va } from "vue-router";
14
14
  import { getAlphaColor as ke } from "ant-design-vue/es/theme/themes/dark/colorAlgorithm";
@@ -17,7 +17,7 @@ import "dayjs/locale/zh-cn";
17
17
  import qa from "ant-design-vue/es/vc-resize-observer";
18
18
  import { GPorWaterMark as Qa } from "@gx-design-vue/pro-watermark";
19
19
  import Za from "@gx-design-vue/scrollbar";
20
- import { GColorPicker as Et } from "@gx-design-vue/color-picker";
20
+ import { GColorPicker as Kt } from "@gx-design-vue/color-picker";
21
21
  const q = Ia({
22
22
  func: void 0,
23
23
  bool: void 0,
@@ -230,7 +230,7 @@ const Te = {
230
230
  onCollapse: {
231
231
  type: Function
232
232
  }
233
- }, mn = {
233
+ }, fn = {
234
234
  ...Te,
235
235
  ...st,
236
236
  ...rt,
@@ -280,8 +280,8 @@ const Te = {
280
280
  onCollapse: ce.onCollapse,
281
281
  onOpenKeys: ce.onOpenKeys,
282
282
  onSelect: ce.onSelect
283
- }, fn = {
284
- ...mn,
283
+ }, hn = {
284
+ ...fn,
285
285
  hasSiderMenu: Boolean,
286
286
  collapsedWidth: ce.collapsedWidth,
287
287
  siderWidth: ce.siderWidth
@@ -345,7 +345,7 @@ const Te = {
345
345
  }), to = ["dark", "layout", "theme", "wideWidth", "contentWidth", "collapsed", "waterMark", "menuData", "openKeys", "splitMenus", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps", "shortcutKey", "pageContainerProps"], {
346
346
  provideContext: no,
347
347
  useInjectContext: le
348
- } = ya("pro-layout"), hn = [{
348
+ } = ya("pro-layout"), gn = [{
349
349
  key: "Ant Design Pro",
350
350
  title: "Ant Design Pro",
351
351
  href: "https://pro.ant.design",
@@ -360,12 +360,12 @@ const Te = {
360
360
  title: "Ant Design Vue",
361
361
  href: "https://next.antdv.com/components/overview-cn/",
362
362
  blankTarget: !0
363
- }], Kt = /* @__PURE__ */ j({
363
+ }], Wt = /* @__PURE__ */ j({
364
364
  name: "GlobalFooter",
365
365
  props: {
366
366
  links: {
367
367
  type: [Array, Boolean],
368
- default: hn
368
+ default: gn
369
369
  },
370
370
  copyright: {
371
371
  type: [Object, Function, Boolean, String],
@@ -396,7 +396,7 @@ const Te = {
396
396
  href: s.href
397
397
  }, [s.title]))]), e.copyright && n("div", {
398
398
  class: `${o}-copyright ${l.value}`
399
- }, [W("Copyright  "), Re().format("YYYY"), W("  "), n("a", {
399
+ }, [_("Copyright  "), Re().format("YYYY"), _("  "), n("a", {
400
400
  href: "https://beian.miit.gov.cn/"
401
401
  }, [e.copyright])])])]
402
402
  }));
@@ -458,7 +458,7 @@ const Te = {
458
458
  ...Ot,
459
459
  ...Te,
460
460
  ...ce,
461
- ...fn,
461
+ ...hn,
462
462
  ...oe(pt, ["onTabsChange", "onReloadPage", "onUpdate:tabs"]),
463
463
  contentWidth: Je.contentWidth,
464
464
  pageContainerProps: {
@@ -499,7 +499,7 @@ const Te = {
499
499
  loading: q.looseBool,
500
500
  footerLinks: {
501
501
  type: [Array, Boolean],
502
- default: hn
502
+ default: gn
503
503
  },
504
504
  tabsVisible: Boolean,
505
505
  tabsRouteItemRender: pt.itemRender,
@@ -553,9 +553,9 @@ const Te = {
553
553
  }
554
554
  }
555
555
  };
556
- }, gn = ["menuLinksRender", "appLogoListRender", "siderActionsRender"], yn = ["appLogoListRender", "extraRightDropdownRender"], bn = la([
556
+ }, yn = ["menuLinksRender", "appLogoListRender", "siderActionsRender"], bn = ["appLogoListRender", "extraRightDropdownRender"], vn = la([
557
+ ...bn,
557
558
  ...yn,
558
- ...gn,
559
559
  "pageHeaderRender",
560
560
  "pageLockRender",
561
561
  "copyrightRender"
@@ -572,7 +572,7 @@ const Te = {
572
572
  "breadcrumbRender",
573
573
  "collapsedButtonRender"
574
574
  ];
575
- [...bn, ...lo];
575
+ [...vn, ...lo];
576
576
  const ro = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout", "loading", "showTabsBar", "fixedTabsBar", "collapsed", "onReloadPage", "onTabsChange"], so = /* @__PURE__ */ j({
577
577
  name: "PageLoading",
578
578
  props: wa(),
@@ -585,7 +585,7 @@ const ro = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
585
585
  const o = Lt();
586
586
  return () => {
587
587
  var s;
588
- const i = a.style || {}, l = Me(t, e, "indicator");
588
+ const i = a.style || {}, l = Be(t, e, "indicator");
589
589
  return e.spinning ? n("div", {
590
590
  style: {
591
591
  paddingTop: "100px",
@@ -754,7 +754,7 @@ const _e = /* @__PURE__ */ j({
754
754
  icon: n(lt, null, null)
755
755
  }, {
756
756
  key: "fullScreen",
757
- icon: (e) => e ? n(ln, null, null) : n(rn, null, null)
757
+ icon: (e) => e ? n(rn, null, null) : n(sn, null, null)
758
758
  }, {
759
759
  key: "reloadPage",
760
760
  label: "重新加载",
@@ -768,11 +768,11 @@ const _e = /* @__PURE__ */ j({
768
768
  }, {
769
769
  key: "closeLeftTabs",
770
770
  label: "关闭左侧",
771
- icon: n(Ba, null, null)
771
+ icon: n(Ma, null, null)
772
772
  }, {
773
773
  key: "closeRightTabs",
774
774
  label: "关闭右侧",
775
- icon: n(Ma, null, null)
775
+ icon: n(Ba, null, null)
776
776
  }, {
777
777
  key: "divider"
778
778
  }, {
@@ -796,7 +796,7 @@ function yo(e) {
796
796
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
797
797
  }
798
798
  const bo = wt.TabPane, vo = ge.Item;
799
- function K(e) {
799
+ function U(e) {
800
800
  return e.name;
801
801
  }
802
802
  const po = /* @__PURE__ */ j({
@@ -808,7 +808,7 @@ const po = /* @__PURE__ */ j({
808
808
  isMobile: t,
809
809
  fixedTabsBar: a,
810
810
  storageTabsBar: o
811
- } = tt(e), i = me(!1), l = ve({
811
+ } = tt(e), i = me(!1), l = pe({
812
812
  activeKey: "",
813
813
  contextMenuActiveKey: ""
814
814
  }), s = Ge(), {
@@ -823,29 +823,29 @@ const po = /* @__PURE__ */ j({
823
823
  suffixCls: "tabs-route"
824
824
  }), {
825
825
  wrapSSR: u,
826
- hashId: v
827
- } = uo(b), p = at(b, {
826
+ hashId: x
827
+ } = uo(b), v = at(b, {
828
828
  fixed: [],
829
829
  normal: []
830
- }), c = ve({
831
- fixed: o.value && ((xe = p.value) != null && xe.fixed) ? (Ne = p.value) == null ? void 0 : Ne.fixed : [],
832
- normal: o.value && ((Ie = p.value) != null && Ie.normal) ? (we = p.value) == null ? void 0 : we.normal : []
830
+ }), c = pe({
831
+ fixed: o.value && ((xe = v.value) != null && xe.fixed) ? (Ne = v.value) == null ? void 0 : Ne.fixed : [],
832
+ normal: o.value && ((Ie = v.value) != null && Ie.normal) ? (we = v.value) == null ? void 0 : we.normal : []
833
833
  });
834
- ne(o, (x) => {
835
- p.value = x ? Se(c) : {
834
+ ne(o, (C) => {
835
+ v.value = C ? Se(c) : {
836
836
  fixed: [],
837
837
  normal: []
838
838
  };
839
839
  });
840
- const C = R(() => c.fixed.concat(c.normal)), m = R(() => f.value === "mix" && !e.isMobile && d.value), w = R(() => K(s.currentRoute.value)), z = R(() => a.value && !t.value), $ = R(() => {
841
- const x = !(m.value && se(g.value).length === 0 || h.value.length === 0 || f.value === "top");
842
- return z.value && x ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
840
+ const p = R(() => c.fixed.concat(c.normal)), m = R(() => f.value === "mix" && !e.isMobile && d.value), w = R(() => U(s.currentRoute.value)), z = R(() => a.value && !t.value), $ = R(() => {
841
+ const C = !(m.value && se(g.value).length === 0 || h.value.length === 0 || f.value === "top");
842
+ return z.value && C ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
843
843
  }), I = R(() => Q(`${b}-wrap`, {
844
- [`${v.value}`]: !0,
844
+ [`${x.value}`]: !0,
845
845
  [`${b}-wrap-fixed`]: a.value,
846
846
  [`${b}-wrap-loading`]: e.loading
847
- })), B = R(() => {
848
- const x = {
847
+ })), M = R(() => {
848
+ const C = {
849
849
  display: e.visible ? void 0 : "none"
850
850
  };
851
851
  return a.value ? {
@@ -854,104 +854,104 @@ const po = /* @__PURE__ */ j({
854
854
  paddingTop: "6px",
855
855
  zIndex: 99,
856
856
  top: r.value ? 0 : void 0,
857
- ...x
858
- } : x;
857
+ ...C
858
+ } : C;
859
859
  });
860
- ne(() => c, (x) => {
861
- var M;
862
- o.value && (p.value = Se(x)), (M = e.onTabsChange) == null || M.call(e, [...c.fixed, ...c.normal]);
860
+ ne(() => c, (C) => {
861
+ var B;
862
+ o.value && (v.value = Se(C)), (B = e.onTabsChange) == null || B.call(e, [...c.fixed, ...c.normal]);
863
863
  }, {
864
864
  deep: !0
865
865
  });
866
- const k = (x) => {
867
- let M = c.fixed.find((N) => K(N) === x);
868
- return M || (M = c.normal.find((N) => K(N) === x)), M;
869
- }, O = (x) => K(x) === w.value, T = (x) => {
866
+ const k = (C) => {
867
+ let B = c.fixed.find((N) => U(N) === C);
868
+ return B || (B = c.normal.find((N) => U(N) === C)), B;
869
+ }, O = (C) => U(C) === w.value, T = (C) => {
870
870
  var N;
871
871
  const {
872
- fixed: M
873
- } = ((N = x == null ? void 0 : x.meta) == null ? void 0 : N.tabState) || {};
874
- return x != null && x.meta ? ae(M) ? M : M === 0 : !1;
875
- }, U = (x) => {
872
+ fixed: B
873
+ } = ((N = C == null ? void 0 : C.meta) == null ? void 0 : N.tabState) || {};
874
+ return C != null && C.meta ? ae(B) ? B : B === 0 : !1;
875
+ }, X = (C) => {
876
876
  var N, G;
877
877
  const {
878
- hidden: M
879
- } = ((N = x == null ? void 0 : x.meta) == null ? void 0 : N.tabState) || {};
880
- if (x.name && x.meta && M !== !0) {
881
- const D = T(x), A = K(x), ue = k(A), ze = {
878
+ hidden: B
879
+ } = ((N = C == null ? void 0 : C.meta) == null ? void 0 : N.tabState) || {};
880
+ if (C.name && C.meta && B !== !0) {
881
+ const D = T(C), A = U(C), ue = k(A), ze = {
882
882
  name: A,
883
- path: x.path,
884
- fullPath: x.fullPath,
885
- query: x.query,
886
- params: x.params,
887
- meta: be(x.meta, {
888
- tabState: (G = x.meta) == null ? void 0 : G.tabState
883
+ path: C.path,
884
+ fullPath: C.fullPath,
885
+ query: C.query,
886
+ params: C.params,
887
+ meta: ve(C.meta, {
888
+ tabState: (G = C.meta) == null ? void 0 : G.tabState
889
889
  })
890
890
  };
891
- ue ? be(ue, ze) : D ? c.fixed.push(ze) : c.normal.push(ze), O(x) && (l.activeKey = A);
891
+ ue ? ve(ue, ze) : D ? c.fixed.push(ze) : c.normal.push(ze), O(C) && (l.activeKey = A);
892
892
  }
893
- }, _ = (x) => {
894
- x.forEach((M) => {
895
- T(M) && U(se(M));
893
+ }, E = (C) => {
894
+ C.forEach((B) => {
895
+ T(B) && X(se(B));
896
896
  });
897
897
  };
898
- ne(() => h.value, (x) => {
899
- _(x);
898
+ ne(() => h.value, (C) => {
899
+ E(C);
900
900
  }, {
901
901
  deep: !0,
902
902
  immediate: !0
903
- }), ne(() => s.currentRoute.value, (x) => {
904
- U(x);
903
+ }), ne(() => s.currentRoute.value, (C) => {
904
+ X(C);
905
905
  }, {
906
906
  deep: !0,
907
907
  immediate: !0
908
908
  });
909
- const X = (x) => {
910
- const M = C.value.find((N) => (x || l.activeKey) === K(N));
911
- return (M == null ? void 0 : M.redirect) || (M == null ? void 0 : M.fullPath) || (M == null ? void 0 : M.path) || "";
912
- }, he = (x, {
913
- type: M,
909
+ const K = (C) => {
910
+ const B = p.value.find((N) => (C || l.activeKey) === U(N));
911
+ return (B == null ? void 0 : B.redirect) || (B == null ? void 0 : B.fullPath) || (B == null ? void 0 : B.path) || "";
912
+ }, he = (C, {
913
+ type: B,
914
914
  addType: N,
915
915
  params: G
916
916
  }) => {
917
- const D = T(x) ? "fixed" : "normal";
918
- M === "add" && N ? c[D][N](G) : M === "merge" ? c[D] = c[D].map((A) => K(A) === K(x) ? be(A, G) : A) : M === "remove" && (c[D] = c[D].filter((A) => K(A) !== K(x)));
917
+ const D = T(C) ? "fixed" : "normal";
918
+ B === "add" && N ? c[D][N](G) : B === "merge" ? c[D] = c[D].map((A) => U(A) === U(C) ? ve(A, G) : A) : B === "remove" && (c[D] = c[D].filter((A) => U(A) !== U(C)));
919
919
  }, de = () => {
920
- const x = C.value.slice(-1)[0];
921
- x ? s.push({
922
- path: X(K(x))
920
+ const C = p.value.slice(-1)[0];
921
+ C ? s.push({
922
+ path: K(U(C))
923
923
  }) : s.push("/");
924
- }, L = async (x) => {
925
- const M = C.value.find((N) => x === K(N));
926
- M && (he(M, {
924
+ }, L = async (C) => {
925
+ const B = p.value.find((N) => C === U(N));
926
+ B && (he(B, {
927
927
  type: "remove",
928
- params: M
929
- }), O(M) && de());
930
- }, F = (x) => {
931
- const M = C.value.find((N) => K(N) === x);
932
- M && l.activeKey !== K(M) && s.push({
933
- path: X(K(M))
928
+ params: B
929
+ }), O(B) && de());
930
+ }, F = (C) => {
931
+ const B = p.value.find((N) => U(N) === C);
932
+ B && l.activeKey !== U(B) && s.push({
933
+ path: K(U(B))
934
934
  });
935
935
  }, P = () => {
936
- var x;
937
- i.value = !0, e.onReloadPage && ((x = e.onReloadPage) == null || x.call(e)), setTimeout(() => {
936
+ var C;
937
+ i.value = !0, e.onReloadPage && ((C = e.onReloadPage) == null || C.call(e)), setTimeout(() => {
938
938
  i.value = !1;
939
939
  }, 500);
940
- }, E = (x) => l[x], ee = (x) => {
941
- const M = C.value.find((N) => K(N) === E(x));
942
- l.activeKey !== E(x) && (c.normal.length > 0 ? k(K(M)) || s.push(X(E(x))) : de());
943
- }, ye = (x, M) => {
944
- let N = c.normal.findIndex((A) => K(A) === E(M));
945
- const G = C.value.find((A) => K(A) === E(M)), D = T(G);
946
- switch (x) {
940
+ }, W = (C) => l[C], ee = (C) => {
941
+ const B = p.value.find((N) => U(N) === W(C));
942
+ l.activeKey !== W(C) && (c.normal.length > 0 ? k(U(B)) || s.push(K(W(C))) : de());
943
+ }, be = (C, B) => {
944
+ let N = c.normal.findIndex((A) => U(A) === W(B));
945
+ const G = p.value.find((A) => U(A) === W(B)), D = T(G);
946
+ switch (C) {
947
947
  case "fixed":
948
- D ? (N = c.fixed.findIndex((A) => K(A) === E(M)), c.normal.unshift(be(G, {
948
+ D ? (N = c.fixed.findIndex((A) => U(A) === W(B)), c.normal.unshift(ve(G, {
949
949
  meta: {
950
950
  tabState: {
951
951
  fixed: !D
952
952
  }
953
953
  }
954
- })), c.fixed = c.fixed.filter((A, ue) => ue !== N)) : (c.fixed.push(be(G, {
954
+ })), c.fixed = c.fixed.filter((A, ue) => ue !== N)) : (c.fixed.push(ve(G, {
955
955
  meta: {
956
956
  tabState: {
957
957
  fixed: !D
@@ -960,22 +960,22 @@ const po = /* @__PURE__ */ j({
960
960
  })), c.normal = c.normal.filter((A, ue) => ue !== N));
961
961
  break;
962
962
  case "close":
963
- !i.value && L(K(G) || "");
963
+ !i.value && L(U(G) || "");
964
964
  break;
965
965
  case "closeOthersTabs":
966
- c.normal = c.normal.filter((A) => K(A) === E(M) || T(A)), ee(M);
966
+ c.normal = c.normal.filter((A) => U(A) === W(B) || T(A)), ee(B);
967
967
  break;
968
968
  case "closeLeftTabs":
969
- Ue(N) && (c.normal = c.normal.filter((A, ue) => ue >= N || T(A))), ee(M);
969
+ Ue(N) && (c.normal = c.normal.filter((A, ue) => ue >= N || T(A))), ee(B);
970
970
  break;
971
971
  case "closeRightTabs":
972
- Ue(N) && (c.normal = c.normal.filter((A, ue) => ue <= N || T(A))), ee(M);
972
+ Ue(N) && (c.normal = c.normal.filter((A, ue) => ue <= N || T(A))), ee(B);
973
973
  break;
974
974
  case "closeAllTabs":
975
975
  c.normal = c.normal.filter((A) => T(A)), de();
976
976
  break;
977
977
  case "reloadPage":
978
- (N === 0 || N) && l.activeKey === E(M) && P();
978
+ (N === 0 || N) && l.activeKey === W(B) && P();
979
979
  break;
980
980
  case "newBlank":
981
981
  window.open(location.href);
@@ -984,24 +984,24 @@ const po = /* @__PURE__ */ j({
984
984
  r.value = !r.value;
985
985
  break;
986
986
  }
987
- }, H = (x, M) => {
988
- const N = C.value.findIndex((G) => K(G) === M);
989
- if (x === "closeOthersTabs")
990
- return C.value.filter((D, A) => A !== N && !T(D)).length === 0;
991
- if (x === "closeLeftTabs")
992
- return C.value.filter((D, A) => A < N && !T(D)).length === 0;
993
- if (x === "closeRightTabs")
994
- return C.value.filter((D, A) => A > N && !T(D)).length === 0;
995
- }, Y = (x) => {
996
- let M;
987
+ }, H = (C, B) => {
988
+ const N = p.value.findIndex((G) => U(G) === B);
989
+ if (C === "closeOthersTabs")
990
+ return p.value.filter((D, A) => A !== N && !T(D)).length === 0;
991
+ if (C === "closeLeftTabs")
992
+ return p.value.filter((D, A) => A < N && !T(D)).length === 0;
993
+ if (C === "closeRightTabs")
994
+ return p.value.filter((D, A) => A > N && !T(D)).length === 0;
995
+ }, Y = (C) => {
996
+ let B;
997
997
  const {
998
998
  name: N,
999
999
  stateType: G
1000
- } = x;
1000
+ } = C;
1001
1001
  return n(ge, {
1002
1002
  selectedKeys: [],
1003
- onClick: (D) => ye(D.key, G)
1004
- }, yo(M = ho.map((D) => {
1003
+ onClick: (D) => be(D.key, G)
1004
+ }, yo(B = ho.map((D) => {
1005
1005
  if (D.key === "divider") return n(ge.Divider, {
1006
1006
  key: D.key
1007
1007
  }, null);
@@ -1022,71 +1022,71 @@ const po = /* @__PURE__ */ j({
1022
1022
  })])];
1023
1023
  }
1024
1024
  });
1025
- })) ? M : {
1026
- default: () => [M]
1025
+ })) ? B : {
1026
+ default: () => [B]
1027
1027
  });
1028
1028
  }, V = ({
1029
- router: x
1029
+ router: C
1030
1030
  }) => {
1031
- const M = e.itemRender ? e.itemRender(x) : null, N = T(x);
1031
+ const B = e.itemRender ? e.itemRender(C) : null, N = T(C);
1032
1032
  return n(ht, {
1033
1033
  trigger: "contextmenu",
1034
1034
  overlay: n(Y, {
1035
- name: K(x) || "",
1035
+ name: U(C) || "",
1036
1036
  stateType: "contextMenuActiveKey"
1037
1037
  }, null),
1038
1038
  onOpenChange: (G) => {
1039
- l.contextMenuActiveKey = G && K(x) || "";
1039
+ l.contextMenuActiveKey = G && U(C) || "";
1040
1040
  }
1041
1041
  }, {
1042
1042
  default: () => {
1043
1043
  var G;
1044
- return [M || n("div", {
1045
- class: [`${b}-title`, v.value]
1046
- }, [l.activeKey === K(x) && n(vt, {
1047
- class: [`${b}-reload-btn`, v.value],
1044
+ return [B || n("div", {
1045
+ class: [`${b}-title`, x.value]
1046
+ }, [l.activeKey === U(C) && n(vt, {
1047
+ class: [`${b}-reload-btn`, x.value],
1048
1048
  spin: i.value,
1049
1049
  onClick: (D) => {
1050
1050
  D.stopPropagation(), !i.value && P();
1051
1051
  }
1052
- }, null), (G = x.meta) == null ? void 0 : G.title, N && n(_e, {
1053
- class: [`${b}-icon`, v.value],
1052
+ }, null), (G = C.meta) == null ? void 0 : G.title, N && n(_e, {
1053
+ class: [`${b}-icon`, x.value],
1054
1054
  name: "fixed"
1055
- }, null), C.value.length > 1 && !T(x) && n(lt, {
1056
- class: [`${b}-close-btn`, v.value],
1055
+ }, null), p.value.length > 1 && !T(C) && n(lt, {
1056
+ class: [`${b}-close-btn`, x.value],
1057
1057
  onClick: (D) => {
1058
- D.stopPropagation(), !i.value && L(K(x) || "");
1058
+ D.stopPropagation(), !i.value && L(U(C) || "");
1059
1059
  }
1060
1060
  }, null)])];
1061
1061
  }
1062
1062
  });
1063
1063
  };
1064
1064
  return () => {
1065
- const x = r.value ? ln : rn;
1066
- return u(n(J, null, [a.value && jn(n("div", {
1067
- class: [`${b}-fixed`, v.value]
1068
- }, null), [[En, e.visible]]), n(wt, {
1065
+ const C = r.value ? rn : sn;
1066
+ return u(n(J, null, [a.value && En(n("div", {
1067
+ class: [`${b}-fixed`, x.value]
1068
+ }, null), [[Kn, e.visible]]), n(wt, {
1069
1069
  hideAdd: !0,
1070
1070
  type: "editable-card",
1071
- style: B.value,
1071
+ style: M.value,
1072
1072
  class: I.value,
1073
1073
  activeKey: l.activeKey,
1074
1074
  onTabClick: F
1075
1075
  }, {
1076
- default: () => [C.value.map((M) => n(bo, {
1077
- key: K(M),
1076
+ default: () => [p.value.map((B) => n(bo, {
1077
+ key: U(B),
1078
1078
  closable: !1,
1079
1079
  tab: n(V, {
1080
- router: M
1080
+ router: B
1081
1081
  }, null)
1082
1082
  }, null))],
1083
1083
  rightExtra: () => n("div", {
1084
- class: Q(`${b}-dropdown-menu`, v.value)
1084
+ class: Q(`${b}-dropdown-menu`, x.value)
1085
1085
  }, [n(vt, {
1086
- class: [`${b}-dropdown-menu-btn`, v.value],
1087
- onClick: () => ye("reloadPage", "activeKey")
1086
+ class: [`${b}-dropdown-menu-btn`, x.value],
1087
+ onClick: () => be("reloadPage", "activeKey")
1088
1088
  }, null), n("div", {
1089
- class: [`${b}-dropdown-menu-btn-divider`, v.value]
1089
+ class: [`${b}-dropdown-menu-btn-divider`, x.value]
1090
1090
  }, null), n(ht, {
1091
1091
  overlay: n(Y, {
1092
1092
  name: l.activeKey,
@@ -1094,13 +1094,13 @@ const po = /* @__PURE__ */ j({
1094
1094
  }, null)
1095
1095
  }, {
1096
1096
  default: () => [n(Fa, {
1097
- class: [`${b}-dropdown-menu-btn`, v.value]
1097
+ class: [`${b}-dropdown-menu-btn`, x.value]
1098
1098
  }, null)]
1099
1099
  }), n("div", {
1100
- class: [`${b}-dropdown-menu-btn-divider`, v.value]
1101
- }, null), n(x, {
1102
- class: [`${b}-dropdown-menu-btn`, v.value],
1103
- onClick: () => ye("fullScreen", "activeKey")
1100
+ class: [`${b}-dropdown-menu-btn-divider`, x.value]
1101
+ }, null), n(C, {
1102
+ class: [`${b}-dropdown-menu-btn`, x.value],
1103
+ onClick: () => be("fullScreen", "activeKey")
1104
1104
  }, null)])
1105
1105
  })]));
1106
1106
  };
@@ -1145,7 +1145,7 @@ const po = /* @__PURE__ */ j({
1145
1145
  Ft.inheritAttrs = !1;
1146
1146
  Ft.displayName = "wrap-content";
1147
1147
  const xo = (e) => {
1148
- const { layout: t } = Ce(e);
1148
+ const { layout: t } = ye(e);
1149
1149
  return {
1150
1150
  [`${e.proComponentsCls}-header`]: {
1151
1151
  "&-light": {
@@ -1396,7 +1396,7 @@ const xo = (e) => {
1396
1396
  }
1397
1397
  }), $o = (e) => {
1398
1398
  var a, o, i, l, s;
1399
- const { theme: t } = Ce(e);
1399
+ const { theme: t } = ye(e);
1400
1400
  return {
1401
1401
  [e.componentCls]: {
1402
1402
  "&-icon": {
@@ -1445,14 +1445,14 @@ const xo = (e) => {
1445
1445
  }
1446
1446
  }
1447
1447
  };
1448
- }, Bo = ({
1448
+ }, Mo = ({
1449
1449
  logo: e
1450
1450
  }) => typeof e == "string" ? n("img", {
1451
1451
  width: "auto",
1452
1452
  height: 22,
1453
1453
  src: e,
1454
1454
  alt: "logo"
1455
- }, null) : typeof e == "function" ? e() : e, vn = /* @__PURE__ */ j({
1455
+ }, null) : typeof e == "function" ? e() : e, pn = /* @__PURE__ */ j({
1456
1456
  name: "AppsLogoIcon",
1457
1457
  inheritAttrs: !1,
1458
1458
  setup(e, {
@@ -1464,7 +1464,7 @@ const xo = (e) => {
1464
1464
  }), {
1465
1465
  wrapSSR: o,
1466
1466
  hashId: i
1467
- } = fe("AppsLogoIcon", [$o], a), [l, s] = pe(!1), r = me(), h = me();
1467
+ } = fe("AppsLogoIcon", [$o], a), [l, s] = Ce(!1), r = me(), h = me();
1468
1468
  return () => {
1469
1469
  var g;
1470
1470
  return o(n(J, null, [n("div", {
@@ -1527,9 +1527,9 @@ const et = (e) => {
1527
1527
  }
1528
1528
  if (Le(t))
1529
1529
  return t;
1530
- const i = Zt(t);
1530
+ const i = Jt(t);
1531
1531
  return typeof et == "function" && n(i, null, null) || null;
1532
- }, pn = /* @__PURE__ */ j({
1532
+ }, Cn = /* @__PURE__ */ j({
1533
1533
  name: "BaseMenu",
1534
1534
  props: {
1535
1535
  ...$e(st, "onSelect"),
@@ -1544,89 +1544,89 @@ const et = (e) => {
1544
1544
  suffixCls: "menu-item",
1545
1545
  isPor: !0
1546
1546
  }), i = R(() => b(e.menuData)), l = (u) => {
1547
- var v;
1548
- (v = e.onOpenKeys) == null || v.call(e, u);
1547
+ var x;
1548
+ (x = e.onOpenKeys) == null || x.call(e, u);
1549
1549
  }, s = (u) => {
1550
- var v;
1551
- (v = e.onSelect) == null || v.call(e, u);
1550
+ var x;
1551
+ (x = e.onSelect) == null || x.call(e, u);
1552
1552
  }, r = (u) => {
1553
- var v;
1554
- (v = e.onClick) == null || v.call(e, u);
1555
- }, h = (u, v) => {
1556
- var C;
1557
- const p = u.link || "", c = $t(p);
1558
- ((C = t.currentRoute.value) == null ? void 0 : C.fullPath) !== v.to && c && p && u.linkStatus === 1 && window.open(p);
1559
- }, g = Zt("router-link"), f = (u, v) => {
1553
+ var x;
1554
+ (x = e.onClick) == null || x.call(e, u);
1555
+ }, h = (u, x) => {
1556
+ var p;
1557
+ const v = u.link || "", c = $t(v);
1558
+ ((p = t.currentRoute.value) == null ? void 0 : p.fullPath) !== x.to && c && v && u.linkStatus === 1 && window.open(v);
1559
+ }, g = Jt("router-link"), f = (u, x) => {
1560
1560
  var m;
1561
- const p = Fe(u == null ? void 0 : u.icon), c = typeof u.badge == "function" ? n("div", {
1561
+ const v = Fe(u == null ? void 0 : u.icon), c = typeof u.badge == "function" ? n("div", {
1562
1562
  class: `${o}-item-bradde`
1563
- }, [(m = u.badge) == null ? void 0 : m.call(u, $e(u, "badge"))]) : null, C = n("span", {
1564
- class: [`${o}-title`, !p && `${o}-title-no-icon`]
1563
+ }, [(m = u.badge) == null ? void 0 : m.call(u, $e(u, "badge"))]) : null, p = n("span", {
1564
+ class: [`${o}-title`, !v && `${o}-title-no-icon`]
1565
1565
  }, [u.title]);
1566
- return v ? C : n(J, null, [C, c ?? (sa(u.badge) && n(Vn, te({
1566
+ return x ? p : n(J, null, [p, c ?? (sa(u.badge) && n(Vn, te({
1567
1567
  class: `${o}-item-bradde`,
1568
1568
  overflowCount: 999
1569
1569
  }, u.badge), null))]);
1570
1570
  }, d = (u) => {
1571
- var $, I, B;
1572
- let v;
1573
- const p = {
1571
+ var $, I, M;
1572
+ let x;
1573
+ const v = {
1574
1574
  ...u.meta
1575
- }, c = p.linkStatus === 1 && p.link ? "a" : g, C = {
1575
+ }, c = v.linkStatus === 1 && v.link ? "a" : g, p = {
1576
1576
  to: ca(u.redirect) ? u.redirect : u.path || ""
1577
- }, m = Fe(($ = u.meta) == null ? void 0 : $.icon), w = n(c, te(C, {
1577
+ }, m = Fe(($ = u.meta) == null ? void 0 : $.icon), w = n(c, te(p, {
1578
1578
  class: "gx-pro-menu-item",
1579
- onClick: () => h(p, C)
1580
- }), mt(v = f(p, !m)) ? v : {
1581
- default: () => [v]
1579
+ onClick: () => h(v, p)
1580
+ }), mt(x = f(v, !m)) ? x : {
1581
+ default: () => [x]
1582
1582
  }), z = m && n(et, {
1583
1583
  className: o,
1584
1584
  icon: (I = u.meta) == null ? void 0 : I.icon,
1585
1585
  iconfontUrl: e.iconfontUrl,
1586
- iconFont: (B = u.meta) == null ? void 0 : B.iconFont
1586
+ iconFont: (M = u.meta) == null ? void 0 : M.iconFont
1587
1587
  }, null) || void 0;
1588
1588
  return [w, z];
1589
1589
  }, y = (u) => {
1590
- var c, C, m, w, z, $, I, B;
1591
- if (Bt(u.children) && !((c = u == null ? void 0 : u.meta) != null && c.hideInMenu) && !((C = u == null ? void 0 : u.meta) != null && C.hideChildrenInMenu)) {
1592
- let k;
1590
+ var p, m, w, z, $, I, M, k, O;
1591
+ if (((p = u == null ? void 0 : u.meta) == null ? void 0 : p.menuType) === "C" ? !1 : Mt(u.children) && !((m = u == null ? void 0 : u.meta) != null && m.hideInMenu) && !((w = u == null ? void 0 : u.meta) != null && w.hideChildrenInMenu)) {
1592
+ let T;
1593
1593
  if (e.subMenuItemRender)
1594
1594
  return e.subMenuItemRender({
1595
1595
  item: u,
1596
1596
  children: b(u.children)
1597
1597
  });
1598
- const O = (m = u.meta) != null && m.icon ? n("span", {
1598
+ const X = (z = u.meta) != null && z.icon ? n("span", {
1599
1599
  class: "gx-pro-menu-item"
1600
- }, [f(u.meta)]) : u.meta && f(u.meta), T = ((w = u.meta) == null ? void 0 : w.type) === "group", U = T ? ge.ItemGroup : ge.SubMenu;
1601
- return n(U, {
1602
- title: O,
1600
+ }, [f(u.meta)]) : u.meta && f(u.meta), E = (($ = u.meta) == null ? void 0 : $.type) === "group", K = E ? ge.ItemGroup : ge.SubMenu;
1601
+ return n(K, {
1602
+ title: X,
1603
1603
  key: u.path,
1604
- icon: T ? null : n(et, {
1604
+ icon: E ? null : n(et, {
1605
1605
  className: o,
1606
- icon: (z = u.meta) == null ? void 0 : z.icon,
1606
+ icon: (I = u.meta) == null ? void 0 : I.icon,
1607
1607
  iconfontUrl: e.iconfontUrl,
1608
- iconFont: ($ = u.meta) == null ? void 0 : $.iconFont
1608
+ iconFont: (M = u.meta) == null ? void 0 : M.iconFont
1609
1609
  }, null)
1610
- }, mt(k = b(u.children)) ? k : {
1611
- default: () => [k]
1610
+ }, mt(T = b(u.children)) ? T : {
1611
+ default: () => [T]
1612
1612
  });
1613
1613
  }
1614
- if ((I = u == null ? void 0 : u.meta) != null && I.hideInMenu) return null;
1615
- const [v, p] = d(u);
1614
+ if ((k = u == null ? void 0 : u.meta) != null && k.hideInMenu) return null;
1615
+ const [v, c] = d(u);
1616
1616
  return e.menuItemRender && e.menuItemRender({
1617
1617
  item: u,
1618
1618
  title: v,
1619
- icon: p
1619
+ icon: c
1620
1620
  }) || n(ge.Item, {
1621
- disabled: (B = u.meta) == null ? void 0 : B.disabled,
1621
+ disabled: (O = u.meta) == null ? void 0 : O.disabled,
1622
1622
  key: u.path,
1623
- icon: p
1623
+ icon: c
1624
1624
  }, mt(v) ? v : {
1625
1625
  default: () => [v]
1626
1626
  });
1627
1627
  };
1628
1628
  function b(u = []) {
1629
- return u.map((v) => y(v)).filter((v) => v);
1629
+ return u.map((x) => y(x)).filter((x) => x);
1630
1630
  }
1631
1631
  return () => n(ge, te({
1632
1632
  key: "Menu",
@@ -1642,7 +1642,7 @@ const et = (e) => {
1642
1642
  default: () => [i.value]
1643
1643
  });
1644
1644
  }
1645
- }), Cn = new S("pro-layout-title-hide", {
1645
+ }), xn = new S("pro-layout-title-hide", {
1646
1646
  "0%": { display: "none", opacity: 0 },
1647
1647
  "80%": {
1648
1648
  overflow: "hidden"
@@ -1651,9 +1651,9 @@ const et = (e) => {
1651
1651
  display: "unset",
1652
1652
  opacity: 1
1653
1653
  }
1654
- }), Mo = (e) => {
1654
+ }), Bo = (e) => {
1655
1655
  var o, i, l, s;
1656
- const t = ot(e, "sider"), { layout: a } = Ce(e);
1656
+ const t = ot(e, "sider"), { layout: a } = ye(e);
1657
1657
  return {
1658
1658
  [`${e.proComponentsCls}-basic-layout`]: {
1659
1659
  [`&${e.proComponentsCls}-basic-layout-wide`]: {
@@ -1725,7 +1725,7 @@ const et = (e) => {
1725
1725
  "&-footer": {
1726
1726
  paddingBlockEnd: 16,
1727
1727
  fontSize: e.fontSize,
1728
- animationName: Cn,
1728
+ animationName: xn,
1729
1729
  animationDuration: ".4s",
1730
1730
  animationTimingFunction: "ease"
1731
1731
  }
@@ -1745,7 +1745,7 @@ const et = (e) => {
1745
1745
  };
1746
1746
  }, Lo = (e) => {
1747
1747
  var l;
1748
- const t = `${e.antCls}-menu`, a = `${e.proComponentsCls}-menu-item`, { layout: o } = Ce(e), i = (l = e == null ? void 0 : e.layout) == null ? void 0 : l.sider;
1748
+ 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;
1749
1749
  return {
1750
1750
  [`${e.proComponentsCls}-basic-layout`]: {
1751
1751
  [`${e.proComponentsCls}-sider`]: {
@@ -1768,7 +1768,10 @@ const et = (e) => {
1768
1768
  lineHeight: i == null ? void 0 : i.menuItemHeight
1769
1769
  },
1770
1770
  [`${a}-title:not(${a}-title-no-icon)`]: {
1771
- fontWeight: o === "wide" ? 500 : void 0
1771
+ fontWeight: o === "wide" ? 500 : "normal"
1772
+ },
1773
+ [`${t}-item-selected ${a}-title:not(${a}-title-no-icon)`]: {
1774
+ fontWeight: "normal"
1772
1775
  },
1773
1776
  [`${t}-item a`]: {
1774
1777
  transition: "none"
@@ -1777,16 +1780,20 @@ const et = (e) => {
1777
1780
  }
1778
1781
  }
1779
1782
  };
1780
- }, Oo = (e) => ({
1781
- [`${e.proComponentsCls}-basic-layout`]: {
1782
- [`${e.antCls}-menu`]: {
1783
- [`${e.proComponentsCls}-menu-item-icon${e.antCls}-menu-item-icon`]: {
1784
- verticalAlign: "unset",
1785
- lineHeight: 1
1783
+ }, Oo = (e) => {
1784
+ const { layout: t } = ye(e);
1785
+ return {
1786
+ [`${e.proComponentsCls}-basic-layout`]: {
1787
+ [`${e.antCls}-menu`]: {
1788
+ [`${e.proComponentsCls}-menu-item-icon${e.antCls}-menu-item-icon`]: {
1789
+ verticalAlign: "unset",
1790
+ lineHeight: 1,
1791
+ fontSize: t === "wide" ? e.fontSizeLG : e.fontSize
1792
+ }
1786
1793
  }
1787
1794
  }
1788
- }
1789
- }), xn = (e, t) => e === !1 ? null : typeof e == "string" ? n("img", {
1795
+ };
1796
+ }, Sn = (e, t) => e === !1 ? null : typeof e == "string" ? n("img", {
1790
1797
  src: e,
1791
1798
  alt: "logo",
1792
1799
  style: t
@@ -1798,7 +1805,7 @@ const et = (e) => {
1798
1805
  layout: i
1799
1806
  } = e, l = e.logoContentRender;
1800
1807
  if (l === !1) return null;
1801
- const s = xn(t, a), r = o && n("h1", null, [o]);
1808
+ const s = Sn(t, a), r = o && n("h1", null, [o]);
1802
1809
  return typeof l == "function" ? l(s, e.collapsed ? null : r, e) : l || n(J, null, [s || null, e.collapsed && (i === "side" || i === "simple") ? null : r]);
1803
1810
  }, kt = /* @__PURE__ */ j({
1804
1811
  name: "LogoContent",
@@ -1836,9 +1843,9 @@ const et = (e) => {
1836
1843
  }
1837
1844
  });
1838
1845
  kt.inheritAttrs = !1;
1839
- const Sn = (e) => {
1846
+ const In = (e) => {
1840
1847
  var i;
1841
- const { theme: t, layout: a } = Ce(e), o = (i = e.layout) == null ? void 0 : i.sider;
1848
+ const { theme: t, layout: a } = ye(e), o = (i = e.layout) == null ? void 0 : i.sider;
1842
1849
  return {
1843
1850
  [`${e.componentCls}-logo`]: {
1844
1851
  position: "relative",
@@ -1868,7 +1875,7 @@ const Sn = (e) => {
1868
1875
  marginInlineEnd: 0,
1869
1876
  marginInlineStart: 8,
1870
1877
  color: t === "dark" ? e.colorWhite : o == null ? void 0 : o.colorTextMenuTitle,
1871
- animationName: Cn,
1878
+ animationName: xn,
1872
1879
  animationDuration: ".4s",
1873
1880
  animationTimingFunction: "ease",
1874
1881
  fontWeight: 600,
@@ -1966,15 +1973,15 @@ const Po = /* @__PURE__ */ j({
1966
1973
  }
1967
1974
  }, [n(To, null, null)]));
1968
1975
  }
1969
- }), In = (e, t, a) => e.sort((o, i) => {
1976
+ }), wn = (e, t, a) => e.sort((o, i) => {
1970
1977
  var r, h;
1971
1978
  const l = ((r = o.meta) == null ? void 0 : r.order) || 0, s = ((h = i.meta) == null ? void 0 : h.order) || 0;
1972
1979
  return l - s > 0 ? 1 : -1;
1973
1980
  }).map((o, i) => {
1974
- var l, s;
1975
- return o.meta = o.meta || {}, o.meta.order = o.meta.order || i + 1, o.key = a != null && a.key ? `${a == null ? void 0 : a.key}-${i}` : `${i}`, a != null && a.hidden && (o.hidden = !0), a != null && a.hideChildren && (o.hidden = !0), (l = a == null ? void 0 : a.meta) != null && l.hideInMenu && (o.meta.hideInMenu = !0), (s = a == null ? void 0 : a.meta) != null && s.hideChildrenInMenu && (o.meta.hideInMenu = !0), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = In(o.children, t, o)), t[`${o.path}`] = o, o;
1981
+ var l, s, r, h;
1982
+ return o.meta = o.meta || {}, o.meta.order = o.meta.order || i + 1, o.key = a != null && a.key ? `${a == null ? void 0 : a.key}-${i}` : `${i}`, (l = a == null ? void 0 : a.meta) != null && l.hidden && (o.meta.hidden = !0), (s = a == null ? void 0 : a.meta) != null && s.hideChildren && (o.meta.hidden = !0), (r = a == null ? void 0 : a.meta) != null && r.hideInMenu && (o.meta.hideInMenu = !0), (h = a == null ? void 0 : a.meta) != null && h.hideChildrenInMenu && (o.meta.hideInMenu = !0), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = wn(o.children, t, o)), t[`${o.path}`] = o, o;
1976
1983
  });
1977
- function wn(e) {
1984
+ function Rn(e) {
1978
1985
  const { menuSelectKey: t } = (e == null ? void 0 : e.meta) || {};
1979
1986
  return t || e.fullPath || e.path;
1980
1987
  }
@@ -1982,22 +1989,23 @@ const No = (e) => {
1982
1989
  const t = e.find((i) => {
1983
1990
  var l;
1984
1991
  return i.path === "/" && ((l = i.children) == null ? void 0 : l.length);
1985
- }), a = {}, o = In((t == null ? void 0 : t.children) || [], a);
1992
+ }), a = {}, o = wn((t == null ? void 0 : t.children) || [], a);
1986
1993
  return {
1987
1994
  menuData: o,
1988
1995
  breadcrumb: a,
1989
- getLevel: () => Mt(o)
1996
+ getLevel: () => Bt(o)
1990
1997
  };
1991
1998
  };
1992
1999
  function zo(e) {
1993
2000
  const t = /* @__PURE__ */ new Map(), a = [];
1994
2001
  function o(l) {
1995
2002
  return l.map((s) => {
2003
+ var f, d;
1996
2004
  const r = s.path, h = s.name, g = t.has(h) && t.get(h) !== r;
1997
- if (s.hidden || !h || g)
1998
- return (!h || g) && (a.some((f) => f.name === h && r === s.path) || a.push({ ...s })), null;
2005
+ if ((f = s == null ? void 0 : s.meta) != null && f.hidden || !h || g)
2006
+ return (!h || g) && (a.some((y) => y.name === h && r === s.path) || a.push({ ...s })), null;
1999
2007
  if (t.set(h, r), s && (s != null && s.children))
2000
- if (s.hideChildren)
2008
+ if ((d = s == null ? void 0 : s.meta) != null && d.hideChildren)
2001
2009
  s.children = [];
2002
2010
  else
2003
2011
  return {
@@ -2011,17 +2019,20 @@ function zo(e) {
2011
2019
  return a.length > 0 && console.warn("The menu contains duplicate names or name undefined: ", a), i;
2012
2020
  }
2013
2021
  function Do(e) {
2014
- return e.map((t) => t.hidden ? null : (t.redirect = t.redirect === void 0 ? Rn(t.children || []) || void 0 : t.redirect, t.children && delete t.children, t)).filter((t) => t);
2022
+ return e.map((t) => {
2023
+ var a;
2024
+ return (a = t == null ? void 0 : t.meta) != null && a.hidden ? null : (t.redirect = t.redirect === void 0 ? $n(t.children || []) || void 0 : t.redirect, t.children && delete t.children, t);
2025
+ }).filter((t) => t);
2015
2026
  }
2016
2027
  function Ao(e, t) {
2017
2028
  const a = (t || "").split("/").length === 2 ? t || "" : `/${(t || "").split("/")[1]}`, o = e.find((i) => i.path === a);
2018
2029
  return t === void 0 ? [] : (o == null ? void 0 : o.children) || [];
2019
2030
  }
2020
- function Rn(e) {
2031
+ function $n(e) {
2021
2032
  var l, s;
2022
2033
  const t = e == null ? void 0 : e.filter((r) => {
2023
- var h;
2024
- return !r.hidden && !((h = r.meta) != null && h.hideInMenu);
2034
+ var h, g;
2035
+ return !((h = r == null ? void 0 : r.meta) != null && h.hidden) && !((g = r.meta) != null && g.hideInMenu);
2025
2036
  }), a = t[0];
2026
2037
  let o = "";
2027
2038
  const i = function(r) {
@@ -2037,7 +2048,7 @@ function Rn(e) {
2037
2048
  }
2038
2049
  return o;
2039
2050
  }
2040
- function $n(e, t) {
2051
+ function Mn(e, t) {
2041
2052
  var a;
2042
2053
  for (const o of e) {
2043
2054
  if (o.key === t) {
@@ -2050,23 +2061,23 @@ function $n(e, t) {
2050
2061
  return i.key;
2051
2062
  }
2052
2063
  if (o.children) {
2053
- const i = $n(o.children, t);
2064
+ const i = Mn(o.children, t);
2054
2065
  if (i)
2055
2066
  return i;
2056
2067
  }
2057
2068
  }
2058
2069
  }
2059
2070
  function Ho({ menuData: e, levelMenuData: t }, { path: a, name: o }) {
2060
- var y, b, u, v;
2061
- const i = t.find((p) => p.name === o), l = (i == null ? void 0 : i.key) || "", s = (y = i == null ? void 0 : i.meta) == null ? void 0 : y.hideInMenu;
2062
- let r = ((b = t.find((p) => p.path === a)) == null ? void 0 : b.key) || "";
2063
- const h = !r || s, g = l.split("-").slice(0, -1).join("-"), f = t.find((p) => p.key === g), d = $n(e, g) || r;
2064
- if (r = h ? (u = f == null ? void 0 : f.meta) != null && u.menuSelectKey && ((v = t.find((p) => p.path === wn(f))) == null ? void 0 : v.key) || d : r, r) {
2065
- const p = [], c = r.split("-");
2071
+ var y, b, u, x;
2072
+ const i = t.find((v) => v.name === o), l = (i == null ? void 0 : i.key) || "", s = (y = i == null ? void 0 : i.meta) == null ? void 0 : y.hideInMenu;
2073
+ let r = ((b = t.find((v) => v.path === a)) == null ? void 0 : b.key) || "";
2074
+ const h = !r || s, g = l.split("-").slice(0, -1).join("-"), f = t.find((v) => v.key === g), d = Mn(e, g) || r;
2075
+ if (r = h ? (u = f == null ? void 0 : f.meta) != null && u.menuSelectKey && ((x = t.find((v) => v.path === Rn(f))) == null ? void 0 : x.key) || d : r, r) {
2076
+ const v = [], c = r.split("-");
2066
2077
  for (let m = 0; m < c.length; m += 1)
2067
- p.push(Se(c).splice(0, m + 1).join("-"));
2068
- const C = l === r || s ? [] : t.filter((m) => l === m.key);
2069
- return t.filter((m) => p.some((w) => w === (m == null ? void 0 : m.key) || "")).concat(C);
2078
+ v.push(Se(c).splice(0, m + 1).join("-"));
2079
+ const p = l === r || s ? [] : t.filter((m) => l === m.key);
2080
+ return t.filter((m) => v.some((w) => w === (m == null ? void 0 : m.key) || "")).concat(p);
2070
2081
  }
2071
2082
  return [];
2072
2083
  }
@@ -2124,12 +2135,12 @@ function Vo(e, t) {
2124
2135
  const a = /* @__PURE__ */ new Set();
2125
2136
  return e.filter((o) => a.has(o[t]) ? !1 : (a.add(o[t]), !0));
2126
2137
  }
2127
- function Wt(e) {
2138
+ function Ut(e) {
2128
2139
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
2129
2140
  }
2130
2141
  const {
2131
2142
  Sider: Go
2132
- } = We, Mn = (e) => e ? n(Na, null, null) : n(za, null, null), Ut = /* @__PURE__ */ j({
2143
+ } = We, Ln = (e) => e ? n(Na, null, null) : n(za, null, null), _t = /* @__PURE__ */ j({
2133
2144
  props: ce,
2134
2145
  inheritAttrs: !1,
2135
2146
  setup(e) {
@@ -2149,10 +2160,10 @@ const {
2149
2160
  isMobile: y,
2150
2161
  menuLoading: b,
2151
2162
  breakpoint: u,
2152
- fixSiderbar: v,
2153
- fixedHeader: p,
2163
+ fixSiderbar: x,
2164
+ fixedHeader: v,
2154
2165
  collapsed: c,
2155
- siderWidth: C,
2166
+ siderWidth: p,
2156
2167
  collapsedWidth: m,
2157
2168
  menuContentRender: w,
2158
2169
  menuFooterRender: z,
@@ -2160,14 +2171,14 @@ const {
2160
2171
  } = tt(e), I = t({
2161
2172
  suffixCls: "sider",
2162
2173
  isPor: !0
2163
- }), B = R(() => e.layout === "wide"), k = R(() => e.layout === "mix" && !e.isMobile && e.splitMenus), O = R(() => d.value === "side" || d.value === "simple"), T = R(() => e.isMobile || B.value ? !1 : v.value), U = R(() => (e.layout === "mix" || B.value) && "light" || s.value.theme), {
2164
- wrapSSR: _,
2165
- hashId: X
2166
- } = fe("ProLayoutSiderMenu", [Oo, Lo, Mo, Sn, (H) => {
2174
+ }), M = R(() => e.layout === "wide"), k = R(() => e.layout === "mix" && !e.isMobile && e.splitMenus), O = R(() => d.value === "side" || d.value === "simple"), T = R(() => e.isMobile || M.value ? !1 : x.value), X = R(() => (e.layout === "mix" || M.value) && "light" || s.value.theme), {
2175
+ wrapSSR: E,
2176
+ hashId: K
2177
+ } = fe("ProLayoutSiderMenu", [Oo, Lo, Bo, In, (H) => {
2167
2178
  var Ie, we;
2168
2179
  const Y = (Ie = H == null ? void 0 : H.layout) == null ? void 0 : Ie.sider, V = it("sider", H, (we = H.layout) == null ? void 0 : we.key), {
2169
2180
  dark: xe
2170
- } = Ce(H), Ne = ot(H, "sider");
2181
+ } = ye(H), Ne = ot(H, "sider");
2171
2182
  return {
2172
2183
  [`${H.proComponentsCls}-basic-layout`]: {
2173
2184
  [H.componentCls]: {
@@ -2179,13 +2190,13 @@ const {
2179
2190
  }
2180
2191
  }
2181
2192
  };
2182
- }], I), he = R(() => d.value === "top" ? [] : i.value), de = R(() => e.collapsed ? m.value : C.value), L = R(() => Q([X.value, I, y.value ? "shadow" : null, `${I}-${f.value}`, T.value ? `${I}-fixed` : null])), F = R(() => $.value !== !1 ? $.value || Mn : !1), P = yt(() => e.layout === "simple" || !e.appLogoListRender ? null : n(vn, null, {
2193
+ }], I), he = R(() => d.value === "top" ? [] : i.value), de = R(() => e.collapsed ? m.value : p.value), L = R(() => Q([K.value, I, y.value ? "shadow" : null, `${I}-${f.value}`, T.value ? `${I}-fixed` : null])), F = R(() => $.value !== !1 ? $.value || Ln : !1), P = yt(() => e.layout === "simple" || !e.appLogoListRender ? null : n(pn, null, {
2183
2194
  default: () => {
2184
2195
  var H;
2185
2196
  return [typeof e.appLogoListRender == "function" ? (H = e.appLogoListRender) == null ? void 0 : H.call(e) : e.appLogoListRender];
2186
2197
  }
2187
2198
  }), [() => e.appLogoListRender]);
2188
- function E() {
2199
+ function W() {
2189
2200
  var H;
2190
2201
  e.onCollapse && ((H = e.onCollapse) == null || H.call(e, !c.value));
2191
2202
  }
@@ -2195,10 +2206,10 @@ const {
2195
2206
  const H = n(Po, {
2196
2207
  isMobile: y.value,
2197
2208
  collapsed: c.value,
2198
- onClick: () => E()
2209
+ onClick: () => W()
2199
2210
  }, null);
2200
2211
  return $.value ? (Y = $.value) == null ? void 0 : Y.call($, c.value, H) : H;
2201
- }, [() => e.collapsedButtonRender, () => e.isMobile, () => e.collapsed]), ye = (H) => {
2212
+ }, [() => e.collapsedButtonRender, () => e.isMobile, () => e.collapsed]), be = (H) => {
2202
2213
  var Y;
2203
2214
  if (e.onSelect) {
2204
2215
  const V = H.selectedKeys;
@@ -2213,13 +2224,13 @@ const {
2213
2224
  var we;
2214
2225
  let H;
2215
2226
  const Y = O.value && n(kt, te({
2216
- hashId: X.value,
2227
+ hashId: K.value,
2217
2228
  baseClassName: I
2218
2229
  }, oe(e, Object.keys(rt))), {
2219
2230
  default: () => [P.value]
2220
- }), V = e.menuHeaderRender && ((we = e.menuHeaderRender) == null ? void 0 : we.call(e, e)), xe = e.menuLinksRender, Ne = e.siderActionsRender, Ie = n(pn, {
2221
- class: `${I}-menu ${X.value}`,
2222
- theme: U.value,
2231
+ }), V = e.menuHeaderRender && ((we = e.menuHeaderRender) == null ? void 0 : we.call(e, e)), xe = e.menuLinksRender, Ne = e.siderActionsRender, Ie = n(Cn, {
2232
+ class: `${I}-menu ${K.value}`,
2233
+ theme: X.value,
2223
2234
  mode: "inline",
2224
2235
  menuData: k.value ? o.value : he.value,
2225
2236
  iconfontUrl: e.iconfontUrl,
@@ -2231,13 +2242,13 @@ const {
2231
2242
  style: {
2232
2243
  width: "100%"
2233
2244
  },
2234
- onOpenKeys: (x) => {
2235
- var M;
2236
- return e.onOpenKeys && ((M = e.onOpenKeys) == null ? void 0 : M.call(e, x));
2245
+ onOpenKeys: (C) => {
2246
+ var B;
2247
+ return e.onOpenKeys && ((B = e.onOpenKeys) == null ? void 0 : B.call(e, C));
2237
2248
  },
2238
- onSelect: ye
2249
+ onSelect: be
2239
2250
  }, null);
2240
- return k.value && se(o.value).length === 0 && e.suppressSiderWhenMenuEmpty || he.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : _(n(Rt, {
2251
+ return k.value && se(o.value).length === 0 && e.suppressSiderWhenMenuEmpty || he.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : E(n(Rt, {
2241
2252
  theme: {
2242
2253
  components: {
2243
2254
  Menu: Bn({
@@ -2269,69 +2280,69 @@ const {
2269
2280
  class: L.value,
2270
2281
  style: {
2271
2282
  zIndex: T.value ? 101 : void 0,
2272
- paddingTop: T.value && p.value && d.value === "mix" ? `${e.headerHeight}px` : 0,
2283
+ paddingTop: T.value && v.value && d.value === "mix" ? `${e.headerHeight}px` : 0,
2273
2284
  top: e.layout === "wide" ? `${e.headerHeight + 20}px` : void 0,
2274
2285
  height: e.layout === "wide" ? `calc(100vh - ${e.headerHeight + 20 * 2}px)` : void 0
2275
2286
  },
2276
- theme: U.value,
2287
+ theme: X.value,
2277
2288
  breakpoint: u.value || void 0,
2278
2289
  collapsed: c.value,
2279
- width: C.value,
2290
+ width: p.value,
2280
2291
  collapsedWidth: m.value
2281
2292
  }, {
2282
2293
  default: () => {
2283
- var x, M, N, G;
2294
+ var C, B, N, G;
2284
2295
  return [b.value && n("div", {
2285
- class: ["gx-pro-sider-loading", X.value]
2296
+ class: ["gx-pro-sider-loading", K.value]
2286
2297
  }, [n(It, {
2287
2298
  spinning: b.value,
2288
- indicator: (x = h == null ? void 0 : h.indicator) == null ? void 0 : x.value
2299
+ indicator: (C = h == null ? void 0 : h.indicator) == null ? void 0 : C.value
2289
2300
  }, null)]), Y || null, Fe(e.menuHeaderRender) && n("div", {
2290
- class: Q([X.value, `${I}-extra`, !Y && `${I}-extra-no-logo`])
2301
+ class: Q([K.value, `${I}-extra`, !Y && `${I}-extra-no-logo`])
2291
2302
  }, [V]), n("div", {
2292
2303
  style: {
2293
2304
  flex: "1 1 0%",
2294
2305
  overflow: "hidden auto"
2295
2306
  }
2296
- }, [w.value && ((M = w.value) == null ? void 0 : M.call(w, e, Ie)) || Ie]), e.layout !== "wide" && n(J, null, [Fe(xe) && Bt(xe) && xe.length > 0 && n("div", {
2297
- class: `${I}-links ${X.value}`
2307
+ }, [w.value && ((B = w.value) == null ? void 0 : B.call(w, e, Ie)) || Ie]), e.layout !== "wide" && n(J, null, [Fe(xe) && Mt(xe) && xe.length > 0 && n("div", {
2308
+ class: `${I}-links ${K.value}`
2298
2309
  }, [n(ge, {
2299
- theme: U.value,
2310
+ theme: X.value,
2300
2311
  inlineIndent: 16,
2301
- class: `${I}-link-menu ${X.value}`,
2312
+ class: `${I}-link-menu ${K.value}`,
2302
2313
  selectedKeys: [],
2303
2314
  openKeys: [],
2304
2315
  mode: "inline"
2305
- }, Wt(H = (xe || []).map((D, A) => n(ge.Item, {
2306
- class: `${I}-link ${X.value}`,
2316
+ }, Ut(H = (xe || []).map((D, A) => n(ge.Item, {
2317
+ class: `${I}-link ${K.value}`,
2307
2318
  key: A
2308
- }, Wt(D) ? D : {
2319
+ }, Ut(D) ? D : {
2309
2320
  default: () => [D]
2310
2321
  }))) ? H : {
2311
2322
  default: () => [H]
2312
2323
  })]), y.value ? null : n("div", {
2313
- class: Q(`${I}-actions`, X.value)
2324
+ class: Q(`${I}-actions`, K.value)
2314
2325
  }, [Ne || n(J, null, [n("div", {
2315
- class: Q(`${I}-actions-item`, X.value),
2316
- onClick: () => E()
2326
+ class: Q(`${I}-actions-item`, K.value),
2327
+ onClick: () => W()
2317
2328
  }, [F.value && ((N = F.value) == null ? void 0 : N.call(F, c.value))])])])]), z.value && n("div", {
2318
- class: `${I}-footer ${X.value}`
2329
+ class: `${I}-footer ${K.value}`
2319
2330
  }, [(G = z.value) == null ? void 0 : G.call(z, e)]), r.value || d.value === "wide" ? null : ee.value];
2320
2331
  }
2321
2332
  })]
2322
2333
  }));
2323
2334
  };
2324
2335
  }
2325
- }), Ln = {
2336
+ }), On = {
2326
2337
  ...ce,
2327
- ...mn
2338
+ ...fn
2328
2339
  }, Yo = ["mix", "top", "wide"], qo = (e, t) => e === !1 ? null : e ? e(t, null) : t, Qo = /* @__PURE__ */ j({
2329
- props: Ln,
2340
+ props: On,
2330
2341
  setup(e) {
2331
2342
  return () => e.rightContentRender && typeof e.rightContentRender == "function" ? e.rightContentRender(e) : n(J, null, null);
2332
2343
  }
2333
2344
  }), Zo = /* @__PURE__ */ j({
2334
- props: Ln,
2345
+ props: On,
2335
2346
  inheritAttrs: !1,
2336
2347
  setup(e, {
2337
2348
  emit: t
@@ -2349,23 +2360,23 @@ const {
2349
2360
  }), {
2350
2361
  wrapSSR: g,
2351
2362
  hashId: f
2352
- } = fe("ProGlobalHeader", [xo, Sn], h), d = R(() => ({
2363
+ } = fe("ProGlobalHeader", [xo, In], h), d = R(() => ({
2353
2364
  [`${f.value}`]: !0,
2354
2365
  [`${h}`]: !0,
2355
2366
  [`${h}-${e.layout}`]: !0
2356
- })), y = (p, c, C) => {
2367
+ })), y = (v, c, p) => {
2357
2368
  var $;
2358
2369
  const m = a.currentRoute.value, w = m.matched.concat(), z = e.layout === "mix";
2359
- if (e.onSelect && p === "select") {
2360
- const I = ($ = e.menuData.find((B) => B.path === C)) == null ? void 0 : $.redirect;
2361
- e.onSelect(z && I ? w.filter((B) => B.name !== "index").map((B) => B.path) : c);
2370
+ if (e.onSelect && v === "select") {
2371
+ const I = ($ = e.menuData.find((M) => M.path === p)) == null ? void 0 : $.redirect;
2372
+ e.onSelect(z && I ? w.filter((M) => M.name !== "index").map((M) => M.path) : c);
2362
2373
  }
2363
- e.onOpenKeys && p === "openKeys" && e.onOpenKeys(z ? w.filter((I) => I.path !== m.path).map((I) => I.path) : c);
2374
+ e.onOpenKeys && v === "openKeys" && e.onOpenKeys(z ? w.filter((I) => I.path !== m.path).map((I) => I.path) : c);
2364
2375
  }, b = () => {
2365
2376
  t("collapse", !e.collapsed);
2366
- }, u = R(() => e.collapsedButtonRender || Mn), v = () => {
2377
+ }, u = R(() => e.collapsedButtonRender || Ln), x = () => {
2367
2378
  var c;
2368
- const p = e.headerContentRender || e.headerContentRender === !1 ? n("div", {
2379
+ const v = e.headerContentRender || e.headerContentRender === !1 ? n("div", {
2369
2380
  style: {
2370
2381
  flex: 1
2371
2382
  }
@@ -2396,7 +2407,7 @@ const {
2396
2407
  }
2397
2408
  }
2398
2409
  }, {
2399
- default: () => [n(pn, {
2410
+ default: () => [n(Cn, {
2400
2411
  theme: e.theme,
2401
2412
  mode: e.mode,
2402
2413
  collapsed: e.collapsed,
@@ -2410,37 +2421,37 @@ const {
2410
2421
  "top-nav-menu": e.mode === "horizontal",
2411
2422
  [`${f.value}`]: !0
2412
2423
  },
2413
- onSelect: (C) => y("select", C.selectedKeys, C.key),
2414
- onOpenKeys: (C) => y("openKeys", C)
2424
+ onSelect: (p) => y("select", p.selectedKeys, p.key),
2425
+ onOpenKeys: (p) => y("openKeys", p)
2415
2426
  }, null)]
2416
2427
  })]);
2417
- return n(J, null, [p, e.layout !== "simple" && n(Qo, te(e, {
2428
+ return n(J, null, [v, e.layout !== "simple" && n(Qo, te(e, {
2418
2429
  extraRightDropdownRender: e.extraRightDropdownRender,
2419
2430
  rightContentRender: e.rightContentRender
2420
2431
  }), null)]);
2421
2432
  };
2422
2433
  return () => {
2423
- const p = n("span", {
2434
+ const v = n("span", {
2424
2435
  key: "logo",
2425
2436
  onClick: () => {
2426
2437
  var c;
2427
2438
  return (c = e.onLogoClick) == null ? void 0 : c.call(e);
2428
2439
  },
2429
2440
  class: [`${h}-logo`, e.isMobile && "mobile", f.value]
2430
- }, [n("a", null, [xn(e.logo, e.logoStyle)])]);
2441
+ }, [n("a", null, [Sn(e.logo, e.logoStyle)])]);
2431
2442
  return g(n("div", {
2432
2443
  class: d.value
2433
- }, [e.isMobile ? n(J, null, [qo(e.logoContentRender, p), e.isMobile && se(u) && n("span", {
2444
+ }, [e.isMobile ? n(J, null, [qo(e.logoContentRender, v), e.isMobile && se(u) && n("span", {
2434
2445
  class: `${h}-collapsed-button ${f.value}`,
2435
2446
  onClick: b
2436
- }, [se(u)(e.collapsed)]), v()]) : Yo.includes(e.layout) ? n("div", {
2447
+ }, [se(u)(e.collapsed)]), x()]) : Yo.includes(e.layout) ? n("div", {
2437
2448
  class: `${h}-main ${f.value}`,
2438
2449
  style: {
2439
2450
  width: Ae(e.headerMainWidth)
2440
2451
  }
2441
2452
  }, [n("div", {
2442
2453
  class: `${h}-main-left ${f.value}`
2443
- }, [e.layout !== "wide" && e.appLogoListRender && n(vn, null, {
2454
+ }, [e.layout !== "wide" && e.appLogoListRender && n(pn, null, {
2444
2455
  default: () => {
2445
2456
  var c;
2446
2457
  return [typeof e.appLogoListRender == "function" ? (c = e.appLogoListRender) == null ? void 0 : c.call(e) : e.appLogoListRender];
@@ -2448,7 +2459,7 @@ const {
2448
2459
  }), n(kt, te({
2449
2460
  hashId: f.value,
2450
2461
  baseClassName: h
2451
- }, e), null)]), v()]) : v()]));
2462
+ }, e), null)]), x()]) : x()]));
2452
2463
  };
2453
2464
  }
2454
2465
  });
@@ -2456,10 +2467,10 @@ function Jo(e) {
2456
2467
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
2457
2468
  }
2458
2469
  const {
2459
- Header: _t
2460
- } = We, Xt = /* @__PURE__ */ j({
2470
+ Header: Xt
2471
+ } = We, Vt = /* @__PURE__ */ j({
2461
2472
  inheritAttrs: !1,
2462
- props: fn,
2473
+ props: hn,
2463
2474
  setup(e) {
2464
2475
  const {
2465
2476
  isMobile: t,
@@ -2481,20 +2492,20 @@ const {
2481
2492
  }), b = r({
2482
2493
  suffixCls: "fixed-header",
2483
2494
  isPor: !0
2484
- }), u = R(() => o.value === "wide"), v = R(() => a.value), p = R(() => o.value === "side" || o.value === "simple"), c = R(() => p.value && "light" || f.value.theme), {
2485
- wrapSSR: C,
2495
+ }), u = R(() => o.value === "wide"), x = R(() => a.value), v = R(() => o.value === "side" || o.value === "simple"), c = R(() => v.value && "light" || f.value.theme), {
2496
+ wrapSSR: p,
2486
2497
  hashId: m
2487
2498
  } = Pe("ProLayoutHeader", (O) => {
2488
- var X, he;
2489
- const T = (X = O.layout) == null ? void 0 : X.header, U = it("header", O, (he = O.layout) == null ? void 0 : he.key), _ = ot(O, "header");
2499
+ var K, he;
2500
+ const T = (K = O.layout) == null ? void 0 : K.header, X = it("header", O, (he = O.layout) == null ? void 0 : he.key), E = ot(O, "header");
2490
2501
  return {
2491
2502
  [`${O.proComponentsCls}-basic-layout`]: {
2492
2503
  [`${O.antCls}-layout-header${O.componentCls}${O.componentCls}-${se(f.value.key)}`]: {
2493
- color: _ ? O.colorWhite : O.colorText,
2494
- backgroundColor: (T == null ? void 0 : T.colorBgMenu) || (U == null ? void 0 : U.colorBgMenu),
2504
+ color: E ? O.colorWhite : O.colorText,
2505
+ backgroundColor: (T == null ? void 0 : T.colorBgMenu) || (X == null ? void 0 : X.colorBgMenu),
2495
2506
  boxShadow: s.value ? "#0d0d0da6 0 2px 8px" : "",
2496
2507
  [`${O.proComponentsCls}-global-header-collapsed-button`]: {
2497
- color: _ ? O.colorWhite : void 0
2508
+ color: E ? O.colorWhite : void 0
2498
2509
  }
2499
2510
  },
2500
2511
  [`${O.antCls}-layout-header${O.componentCls}`]: {
@@ -2539,8 +2550,8 @@ const {
2539
2550
  [`${m.value}`]: !0,
2540
2551
  [`${y}`]: !0,
2541
2552
  [`${y}-${f.value.key}`]: !0,
2542
- [`${b}`]: v.value
2543
- })), z = R(() => v.value && !t.value), $ = R(() => l.value && o.value === "mix" ? Do(Se(h.value)) : o.value === "top" ? h.value : []), I = R(() => p.value && z.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), B = R(() => v.value ? 0 : void 0), k = () => {
2553
+ [`${b}`]: x.value
2554
+ })), z = R(() => x.value && !t.value), $ = R(() => l.value && o.value === "mix" ? Do(Se(h.value)) : o.value === "top" ? h.value : []), I = R(() => v.value && z.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), M = R(() => x.value ? 0 : void 0), k = () => {
2544
2555
  const O = n(Zo, te(e, {
2545
2556
  mode: "horizontal",
2546
2557
  theme: c.value,
@@ -2552,21 +2563,21 @@ const {
2552
2563
  };
2553
2564
  return () => {
2554
2565
  let O;
2555
- return C(n(J, null, [v.value && !u.value && n(_t, {
2566
+ return p(n(J, null, [x.value && !u.value && n(Xt, {
2556
2567
  style: {
2557
2568
  height: `${d.value}px`,
2558
2569
  lineHeight: `${d.value}px`,
2559
2570
  background: "transparent",
2560
2571
  marginTop: g.value ? `-${d.value}px` : void 0
2561
2572
  }
2562
- }, null), n(_t, {
2573
+ }, null), n(Xt, {
2563
2574
  class: w.value,
2564
2575
  style: {
2565
2576
  height: `${d.value}px`,
2566
2577
  lineHeight: `${d.value}px`,
2567
2578
  width: I.value,
2568
- zIndex: p.value ? 100 : 101,
2569
- right: B.value,
2579
+ zIndex: v.value ? 100 : 101,
2580
+ right: M.value,
2570
2581
  marginTop: g.value ? `-${d.value}px` : void 0
2571
2582
  }
2572
2583
  }, Jo(O = k()) ? O : {
@@ -2574,7 +2585,7 @@ const {
2574
2585
  })]));
2575
2586
  };
2576
2587
  }
2577
- }), Vt = /* @__PURE__ */ j({
2588
+ }), Gt = /* @__PURE__ */ j({
2578
2589
  name: "SiderMenuWrapper",
2579
2590
  inheritAttrs: !1,
2580
2591
  props: {
@@ -2604,10 +2615,10 @@ const {
2604
2615
  flexDirection: "row"
2605
2616
  }
2606
2617
  }, {
2607
- default: () => [n(Ut, te(e, {
2618
+ default: () => [n(_t, te(e, {
2608
2619
  collapsed: e.isMobile ? !1 : e.collapsed
2609
2620
  }), null)]
2610
- }) : n(Ut, e, null)]);
2621
+ }) : n(_t, e, null)]);
2611
2622
  }
2612
2623
  });
2613
2624
  function Pt(e, { change: t }) {
@@ -2626,7 +2637,7 @@ function Pt(e, { change: t }) {
2626
2637
  function Xe(e) {
2627
2638
  return ae(e) || e === "system";
2628
2639
  }
2629
- function On({ event: e, isDark: t, value: a, toggle: o }) {
2640
+ function Fn({ event: e, isDark: t, value: a, toggle: o }) {
2630
2641
  if (!// @ts-expect-error
2631
2642
  (document.startViewTransition && !window.matchMedia("(prefers-reduced-motion: reduce)").matches) || !e || e && !e.clientX) {
2632
2643
  o == null || o(ae(a) || a === "system" ? a : !(t != null && t.value));
@@ -2708,9 +2719,9 @@ const ti = /* @__PURE__ */ j({
2708
2719
  name: "BaseProLayout",
2709
2720
  inheritAttrs: !1,
2710
2721
  components: {
2711
- GlobalHeader: Xt,
2712
- GlobalFooter: Kt,
2713
- SiderMenuWrapper: Vt
2722
+ GlobalHeader: Vt,
2723
+ GlobalFooter: Wt,
2724
+ SiderMenuWrapper: Gt
2714
2725
  },
2715
2726
  props: {
2716
2727
  ...He,
@@ -2730,33 +2741,33 @@ const ti = /* @__PURE__ */ j({
2730
2741
  const {
2731
2742
  wrapSSR: o,
2732
2743
  hashId: i
2733
- } = fe("ProLayout", [oo, io], a), l = an(), {
2744
+ } = fe("ProLayout", [oo, io], a), l = on(), {
2734
2745
  token: s,
2735
2746
  dark: r
2736
- } = Oe(), h = me(bt().uuid(10)), g = me(!1), f = me(!1), d = me(!1), y = ve({
2747
+ } = Oe(), h = me(bt().uuid(10)), g = me(!1), f = me(!1), d = me(!1), y = pe({
2737
2748
  position: "relative"
2738
2749
  }), b = R(() => {
2739
- var B;
2740
- return (B = s == null ? void 0 : s.value) == null ? void 0 : B.colorPrimary;
2750
+ var M;
2751
+ return (M = s == null ? void 0 : s.value) == null ? void 0 : M.colorPrimary;
2741
2752
  });
2742
- Kn(() => {
2743
- const B = document.querySelector("html");
2744
- B && (b.value && B.style.setProperty("--gx-primary-color", b.value), B.setAttribute("data-theme", r.value ? "dark" : "light"));
2753
+ Wn(() => {
2754
+ const M = document.querySelector("html");
2755
+ M && (b.value && M.style.setProperty("--gx-primary-color", b.value), M.setAttribute("data-theme", r.value ? "dark" : "light"));
2745
2756
  });
2746
- const u = R(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), v = R(() => {
2747
- var B;
2748
- return e.levelMenuData && ((B = e.levelMenuData) != null && B.length) ? e.levelMenuData : Mt(e.menuData);
2749
- }), p = R(() => e.layout === "wide"), c = R(() => ({
2750
- key: on(r.value, e.theme),
2757
+ const u = R(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), x = R(() => {
2758
+ var M;
2759
+ return e.levelMenuData && ((M = e.levelMenuData) != null && M.length) ? e.levelMenuData : Bt(e.menuData);
2760
+ }), v = R(() => e.layout === "wide"), c = R(() => ({
2761
+ key: ln(r.value, e.theme),
2751
2762
  theme: r.value ? "dark" : e.theme
2752
- })), C = R(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !p.value), m = R(() => ({
2763
+ })), p = R(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !v.value), m = R(() => ({
2753
2764
  ...e.breadcrumb || {},
2754
2765
  itemRender: re(t, e, "pageContainerProps:breadcrumbRender")
2755
2766
  })), w = R(() => u.value && e.selectedKeys ? Ao(e.menuData, e.selectedKeys[0]) : []), z = R(() => Ue(e.headerHeight) ? e.headerHeight : Z.headerHeight), $ = yt(() => d.value ? 0 : Ue(e.siderWidth) ? e.siderWidth : e.layout === "mix" ? 215 : e.layout === "wide" ? 208 : 256, [() => e.layout, () => e.siderWidth, () => d.value]);
2756
- ne([() => e.layout, () => e.theme], ([B]) => {
2757
- (B === "wide" || B === "simple") && (d.value = !1), h.value = bt().uuid(10);
2758
- }), ne(() => p.value, (B) => {
2759
- if (B) {
2767
+ ne([() => e.layout, () => e.theme], ([M]) => {
2768
+ (M === "wide" || M === "simple") && (d.value = !1), h.value = bt().uuid(10);
2769
+ }), ne(() => v.value, (M) => {
2770
+ if (M) {
2760
2771
  const k = document.querySelector('meta[name="viewport"]');
2761
2772
  k && (k.content = "");
2762
2773
  }
@@ -2768,7 +2779,7 @@ const ti = /* @__PURE__ */ j({
2768
2779
  immediate: !0,
2769
2780
  deep: !0
2770
2781
  });
2771
- const I = (B, k) => B.headerRender === !1 || B.pure ? null : n(Xt, te($e(B, "headerHeight"), {
2782
+ const I = (M, k) => M.headerRender === !1 || M.pure ? null : n(Vt, te($e(M, "headerHeight"), {
2772
2783
  headerHeight: z.value,
2773
2784
  matchMenuKeys: k || []
2774
2785
  }), null);
@@ -2779,36 +2790,36 @@ const ti = /* @__PURE__ */ j({
2779
2790
  lockOpen: g,
2780
2791
  settingsOpen: f,
2781
2792
  contentFullScreen: d,
2782
- hasContentWide: p,
2783
- isMobile: C,
2793
+ hasContentWide: v,
2794
+ isMobile: p,
2784
2795
  siderWidth: $,
2785
2796
  headerHeight: z,
2786
2797
  breadcrumb: m,
2787
2798
  flatMenuData: w,
2788
2799
  hasSide: u,
2789
- levelMenuData: v,
2800
+ levelMenuData: x,
2790
2801
  onDarkChange: e.onDarkChange,
2791
- pageHeaderRender: R(() => Me(t, e, "pageContainerProps:pageHeaderRender"))
2802
+ pageHeaderRender: R(() => Be(t, e, "pageContainerProps:pageHeaderRender"))
2792
2803
  }), () => {
2793
2804
  var Y;
2794
- const B = da(bn, t, e, {
2805
+ const M = da(vn, t, e, {
2795
2806
  render: !0
2796
- }), k = re(t, e, "collapsedButtonRender"), O = re(t, e, "footerRender"), T = re(t, e, "headerRender"), U = re(t, e, "headerContentRender"), _ = re(t, e, "rightContentRender"), X = re(t, e, "tabsRouteItemRender"), he = re(t, e, "menuItemRender"), de = re(t, e, "menuHeaderRender"), L = re(t, e, "logoContentRender"), F = re(t, e, "menuFooterRender"), P = re(t, e, "subMenuItemRender"), E = re(t, e, "menuContentRender"), ee = I({
2807
+ }), k = re(t, e, "collapsedButtonRender"), O = re(t, e, "footerRender"), T = re(t, e, "headerRender"), X = re(t, e, "headerContentRender"), E = re(t, e, "rightContentRender"), K = re(t, e, "tabsRouteItemRender"), he = re(t, e, "menuItemRender"), de = re(t, e, "menuHeaderRender"), L = re(t, e, "logoContentRender"), F = re(t, e, "menuFooterRender"), P = re(t, e, "subMenuItemRender"), W = re(t, e, "menuContentRender"), ee = I({
2797
2808
  ...e,
2798
- ...oe(B, yn),
2809
+ ...oe(M, bn),
2799
2810
  menuItemRender: he,
2800
2811
  subMenuItemRender: P,
2801
2812
  hasSiderMenu: u.value,
2802
- isMobile: C.value,
2803
- rightContentRender: _,
2813
+ isMobile: p.value,
2814
+ rightContentRender: E,
2804
2815
  logoContentRender: L,
2805
- headerContentRender: U,
2816
+ headerContentRender: X,
2806
2817
  headerRender: T
2807
- }, e.matchMenuKeys), ye = p.value ? {
2818
+ }, e.matchMenuKeys), be = v.value ? {
2808
2819
  minHeight: "835px",
2809
2820
  marginInlineStart: $.value === 0 ? 0 : void 0
2810
- } : {}, H = O === !1 ? null : O ? typeof O == "function" ? O(e) : O : n(Kt, {
2811
- copyright: B.copyrightRender,
2821
+ } : {}, H = O === !1 ? null : O ? typeof O == "function" ? O(e) : O : n(Wt, {
2822
+ copyright: M.copyrightRender,
2812
2823
  links: e.footerLinks
2813
2824
  }, null);
2814
2825
  return o(n(J, null, [e.pure ? (Y = t.default) == null ? void 0 : Y.call(t) : n("div", {
@@ -2817,26 +2828,26 @@ const ti = /* @__PURE__ */ j({
2817
2828
  [`${a}`]: !0,
2818
2829
  [`${a}-${e.layout}`]: !0
2819
2830
  }),
2820
- style: p.value ? {
2831
+ style: v.value ? {
2821
2832
  minWidth: Ae(e.wideWidth),
2822
2833
  ...e.style
2823
2834
  } : e.style
2824
2835
  }, [n(We, {
2825
- style: p.value ? {
2836
+ style: v.value ? {
2826
2837
  width: Ae(e.wideWidth),
2827
2838
  paddingTop: `${z.value + 20}px`,
2828
- margin: p.value ? "0 auto" : void 0
2839
+ margin: v.value ? "0 auto" : void 0
2829
2840
  } : void 0
2830
2841
  }, {
2831
- default: () => [$.value > 0 && n(Vt, te(e, {
2842
+ default: () => [$.value > 0 && n(Gt, te(e, {
2832
2843
  siderWidth: $.value,
2833
- isMobile: C.value,
2844
+ isMobile: p.value,
2834
2845
  menuHeaderRender: de,
2835
2846
  logoContentRender: L,
2836
2847
  menuFooterRender: F,
2837
- menuContentRender: E,
2848
+ menuContentRender: W,
2838
2849
  collapsedButtonRender: k
2839
- }, oe(B, gn)), null), n(We, {
2850
+ }, oe(M, yn)), null), n(We, {
2840
2851
  style: y
2841
2852
  }, {
2842
2853
  default: () => [e.layout !== "simple" && z.value > 0 && ee, n(Ft, te(oe(e, ro), {
@@ -2845,9 +2856,9 @@ const ti = /* @__PURE__ */ j({
2845
2856
  siderWidth: $.value,
2846
2857
  style: {
2847
2858
  ...e.contentStyle,
2848
- ...ye
2859
+ ...be
2849
2860
  },
2850
- itemRender: X
2861
+ itemRender: K
2851
2862
  }), {
2852
2863
  default: () => {
2853
2864
  var V;
@@ -2855,7 +2866,7 @@ const ti = /* @__PURE__ */ j({
2855
2866
  }
2856
2867
  }), e.layout !== "wide" && H]
2857
2868
  })]
2858
- }), B.pageLockRender, e.layout === "wide" && H])]));
2869
+ }), M.pageLockRender, e.layout === "wide" && H])]));
2859
2870
  };
2860
2871
  }
2861
2872
  }), ts = /* @__PURE__ */ j({
@@ -2884,15 +2895,15 @@ const ti = /* @__PURE__ */ j({
2884
2895
  }), r = R(() => {
2885
2896
  var b, u;
2886
2897
  let y = e.token || {};
2887
- return (u = (b = y.layout) == null ? void 0 : b.header) != null && u.heightLayoutHeader || (y = be(y, {
2898
+ return (u = (b = y.layout) == null ? void 0 : b.header) != null && u.heightLayoutHeader || (y = ve(y, {
2888
2899
  layout: {
2889
2900
  header: {
2890
2901
  heightLayoutHeader: e.headerHeight
2891
2902
  }
2892
2903
  }
2893
- })), be(y, {
2904
+ })), ve(y, {
2894
2905
  layout: {
2895
- key: `${on(i.value, e.theme)}:${e.layout}`
2906
+ key: `${ln(i.value, e.theme)}:${e.layout}`
2896
2907
  }
2897
2908
  });
2898
2909
  }), h = (y) => {
@@ -2934,7 +2945,7 @@ const ti = /* @__PURE__ */ j({
2934
2945
  default: () => []
2935
2946
  },
2936
2947
  historyKey: String
2937
- }, Fn = () => ({
2948
+ }, kn = () => ({
2938
2949
  ...Ot,
2939
2950
  ...Nt,
2940
2951
  actions: {
@@ -2982,10 +2993,10 @@ const ti = /* @__PURE__ */ j({
2982
2993
  onLockOpenChange: Function,
2983
2994
  onSettingsOpenChange: Function,
2984
2995
  "onUpdate:settingsOpen": Function
2985
- }), ni = Fn(), kn = {
2996
+ }), ni = kn(), Tn = {
2986
2997
  hashId: String,
2987
2998
  className: String
2988
- }, Tn = {
2999
+ }, Pn = {
2989
3000
  open: {
2990
3001
  type: Boolean,
2991
3002
  default: void 0
@@ -2995,7 +3006,7 @@ const ti = /* @__PURE__ */ j({
2995
3006
  cryptoFn: Function,
2996
3007
  ...oe(ni, ["name", "avatar"])
2997
3008
  }, ai = {
2998
- ...Tn,
3009
+ ...Pn,
2999
3010
  shortsKey: {
3000
3011
  type: Object,
3001
3012
  default: () => ({
@@ -3113,9 +3124,9 @@ const ti = /* @__PURE__ */ j({
3113
3124
  }
3114
3125
  });
3115
3126
  function li(e) {
3116
- const t = ve({
3127
+ const t = pe({
3117
3128
  password: ""
3118
- }), { validate: a, resetFields: o, validateInfos: i } = va(t, ve({
3129
+ }), { validate: a, resetFields: o, validateInfos: i } = va(t, pe({
3119
3130
  password: [
3120
3131
  {
3121
3132
  validator: (l, s) => (e && s ? e == null ? void 0 : e(s) : s) ? Promise.resolve() : Promise.reject(e && s ? "密码错误" : "请输入锁屏密码")
@@ -3124,9 +3135,9 @@ function li(e) {
3124
3135
  }));
3125
3136
  return { formState: t, validate: a, resetFields: o, validateInfos: i };
3126
3137
  }
3127
- const Pn = /* @__PURE__ */ j({
3138
+ const Nn = /* @__PURE__ */ j({
3128
3139
  props: {
3129
- ...kn,
3140
+ ...Tn,
3130
3141
  name: String,
3131
3142
  avatar: String,
3132
3143
  avatarSize: {
@@ -3169,15 +3180,15 @@ const Pn = /* @__PURE__ */ j({
3169
3180
  class: h("user-form")
3170
3181
  }, [n("div", {
3171
3182
  class: h("user-info")
3172
- }, [n(Jt, {
3183
+ }, [n(en, {
3173
3184
  size: e.avatarSize,
3174
- icon: n(sn, null, null),
3185
+ icon: n(cn, null, null),
3175
3186
  src: e.avatar
3176
3187
  }, null), e.name && n("div", {
3177
3188
  class: h("user-name")
3178
- }, [e.name])]), n(zt, null, {
3179
- default: () => [n(zt.Item, l.password, {
3180
- default: () => [n(en.Password, {
3189
+ }, [e.name])]), n(Dt, null, {
3190
+ default: () => [n(Dt.Item, l.password, {
3191
+ default: () => [n(tn.Password, {
3181
3192
  value: o.password,
3182
3193
  placeholder: "请输入锁屏密码",
3183
3194
  onChange: (d) => o.password = d.target.value
@@ -3198,7 +3209,7 @@ const Pn = /* @__PURE__ */ j({
3198
3209
  });
3199
3210
  Re.locale("zh-cn");
3200
3211
  function ri() {
3201
- const e = ve({
3212
+ const e = pe({
3202
3213
  hh: "",
3203
3214
  mm: "",
3204
3215
  ss: "",
@@ -3214,15 +3225,15 @@ function ri() {
3214
3225
  const si = /* @__PURE__ */ j({
3215
3226
  name: "PageLock",
3216
3227
  props: {
3217
- ...kn,
3218
3228
  ...Tn,
3229
+ ...Pn,
3219
3230
  password: String
3220
3231
  },
3221
3232
  setup(e) {
3222
3233
  const [t, a] = De(!1, {
3223
3234
  value: R(() => ae(e.open) ? e.open : !1),
3224
3235
  onChange: e.onOpenChange
3225
- }), [o, i] = pe(!1), l = ri(), s = (r = "", h) => {
3236
+ }), [o, i] = Ce(!1), l = ri(), s = (r = "", h) => {
3226
3237
  const g = r ? `${e.className}-popup-${r}` : `${e.className}-popup`;
3227
3238
  return Q(g, e.hashId, h || "");
3228
3239
  };
@@ -3230,7 +3241,7 @@ const si = /* @__PURE__ */ j({
3230
3241
  class: s()
3231
3242
  }, [o.value ? n("div", {
3232
3243
  class: s("form")
3233
- }, [n(Pn, {
3244
+ }, [n(Nn, {
3234
3245
  avatarSize: 70,
3235
3246
  submitText: "进入系统",
3236
3247
  avatar: e.avatar,
@@ -3250,7 +3261,7 @@ const si = /* @__PURE__ */ j({
3250
3261
  block: !0,
3251
3262
  onClick: () => i(!1)
3252
3263
  }, {
3253
- default: () => [W("返回")]
3264
+ default: () => [_("返回")]
3254
3265
  })]
3255
3266
  }), n("div", {
3256
3267
  class: s("form-time")
@@ -3258,22 +3269,22 @@ const si = /* @__PURE__ */ j({
3258
3269
  style: {
3259
3270
  fontSize: "26px"
3260
3271
  }
3261
- }, [`${l.hh}:${l.mm}`, W("  "), l.a]), n("span", {
3272
+ }, [`${l.hh}:${l.mm}`, _("  "), l.a]), n("span", {
3262
3273
  style: {
3263
3274
  fontSize: "30px"
3264
3275
  }
3265
- }, [l.day, W("  "), l.dddd])])]) : n(J, null, [n("div", {
3276
+ }, [l.day, _("  "), l.dddd])])]) : n(J, null, [n("div", {
3266
3277
  class: s("head")
3267
- }, [n("span", null, [l.day, W("  "), l.dddd]), n("span", {
3278
+ }, [n("span", null, [l.day, _("  "), l.dddd]), n("span", {
3268
3279
  class: s("lock-icon"),
3269
3280
  onClick: () => i(!0)
3270
- }, [n(cn, {
3281
+ }, [n(un, {
3271
3282
  style: {
3272
3283
  position: "relative",
3273
3284
  top: "1px",
3274
3285
  marginInlineEnd: "4px"
3275
3286
  }
3276
- }, null), W("点击解锁")])]), n("div", {
3287
+ }, null), _("点击解锁")])]), n("div", {
3277
3288
  class: s("time", s("enter", "fadeIn"))
3278
3289
  }, [n("div", {
3279
3290
  class: s("time-card")
@@ -3306,26 +3317,26 @@ const si = /* @__PURE__ */ j({
3306
3317
  var w, z;
3307
3318
  (w = e.onOpenChange) == null || w.call(e, m), (z = e["onUpdate:open"]) == null || z.call(e, m), a && (a.lockOpen.value = m);
3308
3319
  }
3309
- }), [g, f] = pe(!1), d = me();
3320
+ }), [g, f] = Ce(!1), d = me();
3310
3321
  function y(m) {
3311
3322
  return e.cryptoFn ? e.cryptoFn(m) : m;
3312
3323
  }
3313
3324
  function b(m) {
3314
3325
  l.value.open = g.value, l.value.password = y(m);
3315
3326
  }
3316
- const u = R(() => e.shortsKey), v = R(() => l.value.open && !!l.value.password), p = nn();
3317
- gt(p["Alt+KeyL"], () => {
3327
+ const u = R(() => e.shortsKey), x = R(() => l.value.open && !!l.value.password), v = an();
3328
+ gt(v["Alt+KeyL"], () => {
3318
3329
  var m;
3319
3330
  (m = u.value) != null && m.disabeld || h.value || r(!0);
3320
3331
  }), ne(g, (m) => {
3321
3332
  var w, z;
3322
3333
  b(m && (((z = (w = d.value) == null ? void 0 : w.formState) == null ? void 0 : z.password) || l.value.password) || "");
3323
3334
  }), St(() => {
3324
- v.value ? f(!0) : b("");
3335
+ x.value ? f(!0) : b("");
3325
3336
  });
3326
3337
  const c = () => {
3327
3338
  r(!1), f(!0);
3328
- }, C = () => {
3339
+ }, p = () => {
3329
3340
  var m;
3330
3341
  r(!1), b(""), (m = d.value) == null || m.resetFields();
3331
3342
  };
@@ -3342,9 +3353,9 @@ const si = /* @__PURE__ */ j({
3342
3353
  title: "锁定屏幕",
3343
3354
  open: h.value,
3344
3355
  footer: !1,
3345
- onCancel: C
3356
+ onCancel: p
3346
3357
  }, {
3347
- default: () => [n(Pn, te({
3358
+ default: () => [n(Nn, te({
3348
3359
  ref: d
3349
3360
  }, oe(e, ["name", "avatar"]), {
3350
3361
  submitText: "锁定",
@@ -3355,7 +3366,7 @@ const si = /* @__PURE__ */ j({
3355
3366
  })]));
3356
3367
  }
3357
3368
  }), ci = (e) => {
3358
- const { dark: t } = Ce(e);
3369
+ const { dark: t } = ye(e);
3359
3370
  return {
3360
3371
  [e.componentCls]: {
3361
3372
  display: "flex",
@@ -3464,12 +3475,12 @@ function mi(e) {
3464
3475
  const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\", "]", "^", "{", "|", "}"]), hi = ({
3465
3476
  className: e,
3466
3477
  value: t
3467
- }) => t ? n(Dt, {
3468
- image: Dt.PRESENTED_IMAGE_SIMPLE,
3478
+ }) => t ? n(At, {
3479
+ image: At.PRESENTED_IMAGE_SIMPLE,
3469
3480
  description: `未找到搜索结果 "${t}"`
3470
3481
  }, null) : n("div", {
3471
3482
  class: e
3472
- }, [W("没有搜索历史")]), gi = /* @__PURE__ */ j({
3483
+ }, [_("没有搜索历史")]), gi = /* @__PURE__ */ j({
3473
3484
  props: {
3474
3485
  ...Nt,
3475
3486
  className: String,
@@ -3487,20 +3498,20 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3487
3498
  i.value = [];
3488
3499
  return;
3489
3500
  }
3490
- const C = d(c), m = [];
3501
+ const p = d(c), m = [];
3491
3502
  e.dataSource.forEach((w) => {
3492
- var $, I, B;
3503
+ var $, I, M;
3493
3504
  if (($ = w.meta) != null && $.hideInMenu) return;
3494
3505
  const z = ((I = w.meta) == null ? void 0 : I.title) || w.name || "";
3495
- if (C.test(z.toLowerCase())) {
3506
+ if (p.test(z.toLowerCase())) {
3496
3507
  let k = [];
3497
- const O = ((B = w == null ? void 0 : w.key) == null ? void 0 : B.split("-")) || [];
3508
+ const O = ((M = w == null ? void 0 : w.key) == null ? void 0 : M.split("-")) || [];
3498
3509
  for (let T = 0; T < O.length; T++)
3499
3510
  k.push(O.slice(0, T + 1).join("-"));
3500
3511
  k = k.map((T) => {
3501
- var U, _;
3502
- return ((_ = (U = e.dataSource.find((X) => (X == null ? void 0 : X.key) === T)) == null ? void 0 : U.meta) == null ? void 0 : _.title) || "";
3503
- }), m.push(be(w, {
3512
+ var X, E;
3513
+ return ((E = (X = e.dataSource.find((K) => (K == null ? void 0 : K.key) === T)) == null ? void 0 : X.meta) == null ? void 0 : E.title) || "";
3514
+ }), m.push(ve(w, {
3504
3515
  meta: {
3505
3516
  title: k.join("**")
3506
3517
  }
@@ -3524,10 +3535,10 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3524
3535
  async function g() {
3525
3536
  if (i.value.length === 0)
3526
3537
  return;
3527
- const c = i.value, C = o.value;
3528
- if (c.length === 0 || C < 0)
3538
+ const c = i.value, p = o.value;
3539
+ if (c.length === 0 || p < 0)
3529
3540
  return;
3530
- const m = c[C];
3541
+ const m = c[p];
3531
3542
  m && (a.value.push(m), r(), await xt(), mi(m.path) ? window.open(m.path, "_blank") : t.push({
3532
3543
  path: m.path,
3533
3544
  replace: !0
@@ -3537,8 +3548,8 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3537
3548
  return fi.has(c) ? `\\${c}` : c;
3538
3549
  }
3539
3550
  function d(c) {
3540
- const C = [...c].map((m) => f(m)).join(".*");
3541
- return new RegExp(`.*${C}.*`);
3551
+ const p = [...c].map((m) => f(m)).join(".*");
3552
+ return new RegExp(`.*${p}.*`);
3542
3553
  }
3543
3554
  function y() {
3544
3555
  i.value.length !== 0 && (o.value--, o.value < 0 && (o.value = i.value.length - 1), h());
@@ -3552,35 +3563,35 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3552
3563
  function u(c) {
3553
3564
  o.value = c;
3554
3565
  }
3555
- function v(c, C) {
3556
- c.stopPropagation(), e.keyword ? i.value.splice(C, 1) : a.value.splice(C, 1), o.value = o.value - 1 >= 0 ? o.value - 1 : 0, h();
3566
+ function x(c, p) {
3567
+ c.stopPropagation(), e.keyword ? i.value.splice(p, 1) : a.value.splice(p, 1), o.value = o.value - 1 >= 0 ? o.value - 1 : 0, h();
3557
3568
  }
3558
- const p = (c) => Q(`${e.className}${c ? `-${c}` : ""}`, e.hashId);
3569
+ const v = (c) => Q(`${e.className}${c ? `-${c}` : ""}`, e.hashId);
3559
3570
  return () => n(J, null, [i.value.length > 0 ? n(J, null, [a.value.length > 0 && !e.keyword && n("div", {
3560
- class: p("panel-title")
3561
- }, [W("搜索历史")]), n("div", {
3562
- class: p("panel-list")
3563
- }, [di(i.value, "path").map((c, C) => {
3571
+ class: v("panel-title")
3572
+ }, [_("搜索历史")]), n("div", {
3573
+ class: v("panel-list")
3574
+ }, [di(i.value, "path").map((c, p) => {
3564
3575
  var m, w, z, $;
3565
3576
  return n("div", {
3566
3577
  key: c.name,
3567
- class: p(Q("panel-item", C === o.value && "active")),
3568
- "data-search-item": C,
3578
+ class: v(Q("panel-item", p === o.value && "active")),
3579
+ "data-search-item": p,
3569
3580
  onClick: () => g(),
3570
- onMouseenter: () => u(C)
3581
+ onMouseenter: () => u(p)
3571
3582
  }, [n("div", {
3572
- class: p("panel-item-left")
3583
+ class: v("panel-item-left")
3573
3584
  }, [n(et, te(c.meta || {}, {
3574
3585
  icon: ((m = c.meta) == null ? void 0 : m.icon) || n(Da, null, null),
3575
- classNames: p("panel-icon")
3576
- }), null), ($ = (z = (w = c.meta) == null ? void 0 : w.title) == null ? void 0 : z.split("**")) == null ? void 0 : $.map((I, B) => {
3586
+ classNames: v("panel-icon")
3587
+ }), null), ($ = (z = (w = c.meta) == null ? void 0 : w.title) == null ? void 0 : z.split("**")) == null ? void 0 : $.map((I, M) => {
3577
3588
  var k, O, T;
3578
- return n(J, null, [I, B < ((T = (O = (k = c.meta) == null ? void 0 : k.title) == null ? void 0 : O.split("**")) == null ? void 0 : T.length) - 1 && n(Aa, null, null)]);
3589
+ return n(J, null, [I, M < ((T = (O = (k = c.meta) == null ? void 0 : k.title) == null ? void 0 : O.split("**")) == null ? void 0 : T.length) - 1 && n(Aa, null, null)]);
3579
3590
  }), n("span", null, null)]), n(lt, {
3580
- onClick: (I) => v(I, C)
3591
+ onClick: (I) => x(I, p)
3581
3592
  }, null)]);
3582
3593
  })])]) : n(hi, {
3583
- className: p("result"),
3594
+ className: v("result"),
3584
3595
  value: e.keyword
3585
3596
  }, null)]);
3586
3597
  }
@@ -3591,11 +3602,11 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3591
3602
  class: Q(`${e}-footer`, t)
3592
3603
  }, [n("div", {
3593
3604
  class: Q(`${e}-footer-icon`, t)
3594
- }, [n(Ha, null, null), W("选择")]), n("div", {
3605
+ }, [n(Ha, null, null), _("选择")]), n("div", {
3595
3606
  class: Q(`${e}-footer-icon`, t)
3596
- }, [n(jt, null, null), n(jt, {
3607
+ }, [n(Et, null, null), n(Et, {
3597
3608
  rotate: 180
3598
- }, null), W("导航")])]), bi = /* @__PURE__ */ j({
3609
+ }, null), _("导航")])]), bi = /* @__PURE__ */ j({
3599
3610
  name: "SearchPageInput",
3600
3611
  props: {
3601
3612
  ...Nt,
@@ -3615,9 +3626,9 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3615
3626
  }), {
3616
3627
  wrapSSR: a,
3617
3628
  hashId: o
3618
- } = ui(t), [i, l] = pe(""), [s, r] = pe(!1), h = le(), g = nn(), f = ma() ? g["ctrl+k"] : g["cmd+k"], d = me(), y = R(() => {
3629
+ } = ui(t), [i, l] = Ce(""), [s, r] = Ce(!1), h = le(), g = an(), f = ma() ? g["ctrl+k"] : g["cmd+k"], d = me(), y = R(() => {
3619
3630
  var u;
3620
- return Mt(e.dataSource || ((u = h == null ? void 0 : h.menuData) == null ? void 0 : u.value));
3631
+ return Bt(e.dataSource || ((u = h == null ? void 0 : h.menuData) == null ? void 0 : u.value));
3621
3632
  });
3622
3633
  gt(f, () => {
3623
3634
  e.disabeldShortKey || r(!0);
@@ -3634,23 +3645,23 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3634
3645
  const u = {
3635
3646
  className: `${t}`,
3636
3647
  hashId: o.value
3637
- }, v = `${t}-modal`;
3648
+ }, x = `${t}-modal`;
3638
3649
  return a(n(J, null, [n("div", {
3639
3650
  class: Q(t, o.value),
3640
3651
  onClick: () => r(!0)
3641
- }, [n(Ht, null, null), n("span", {
3652
+ }, [n(jt, null, null), n("span", {
3642
3653
  class: Q(`${t}-word`, o.value)
3643
- }, [W("搜索")]), n("span", {
3654
+ }, [_("搜索")]), n("span", {
3644
3655
  class: Q(`${t}-word-icon`, o.value)
3645
- }, [W("⌘ "), n("kbd", null, [W("K")])])]), n(Ga, {
3646
- class: Q(`${v}`, o.value),
3656
+ }, [_("⌘ "), n("kbd", null, [_("K")])])]), n(Ga, {
3657
+ class: Q(`${x}`, o.value),
3647
3658
  width: 600,
3648
3659
  scrollProps: {
3649
3660
  maxHeight: 400,
3650
3661
  minHeight: 200
3651
3662
  },
3652
3663
  centered: !1,
3653
- title: n(en, {
3664
+ title: n(tn, {
3654
3665
  style: {
3655
3666
  width: `${600 * 0.8}px`,
3656
3667
  padding: 0
@@ -3660,12 +3671,12 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3660
3671
  size: "large",
3661
3672
  placeholder: "搜索导航菜单",
3662
3673
  value: i.value,
3663
- prefix: n(Ht, null, null),
3664
- onChange: (p) => l(p.target.value)
3674
+ prefix: n(jt, null, null),
3675
+ onChange: (v) => l(v.target.value)
3665
3676
  }, null),
3666
3677
  open: s.value,
3667
3678
  footer: n(yi, {
3668
- className: v,
3679
+ className: x,
3669
3680
  hashId: o.value
3670
3681
  }, null),
3671
3682
  onCancel: () => b()
@@ -3679,7 +3690,7 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3679
3690
  };
3680
3691
  }
3681
3692
  }), vi = (e) => {
3682
- const { dark: t } = Ce(e), a = ot(e, "header");
3693
+ const { dark: t } = ye(e), a = ot(e, "header");
3683
3694
  return {
3684
3695
  [`${e.componentCls}`]: {
3685
3696
  "&-header-actions": {
@@ -3752,7 +3763,7 @@ function pi(e) {
3752
3763
  }
3753
3764
  const as = /* @__PURE__ */ j({
3754
3765
  name: "GlobalRightContent",
3755
- props: Fn(),
3766
+ props: kn(),
3756
3767
  inheritAttrs: !1,
3757
3768
  emits: ["logout", "darkChange", "settingsOpenChange", "update:dark", "update:settingsOpen", "lockOpenChange"],
3758
3769
  setup(e, {
@@ -3761,51 +3772,51 @@ const as = /* @__PURE__ */ j({
3761
3772
  const {
3762
3773
  isFullscreen: a,
3763
3774
  toggle: o
3764
- } = aa(), i = Oe(), l = le(), s = an(), r = ie({
3775
+ } = aa(), i = Oe(), l = le(), s = on(), r = ie({
3765
3776
  suffixCls: "global-header",
3766
3777
  isPor: !0
3767
- }), [h, g] = pe(!1), {
3778
+ }), [h, g] = Ce(!1), {
3768
3779
  wrapSSR: f,
3769
3780
  hashId: d
3770
- } = pi(r), [y, b] = pe("auto"), {
3781
+ } = pi(r), [y, b] = Ce("auto"), {
3771
3782
  isDark: u,
3772
- toggleMode: v
3783
+ toggleMode: x
3773
3784
  } = Pt(R(() => {
3774
3785
  var I;
3775
3786
  return Xe(e.dark) ? e.dark : (I = l == null ? void 0 : l.dark) == null ? void 0 : I.value;
3776
3787
  }), {
3777
3788
  change: (I) => {
3778
- var B, k, O;
3779
- (B = e.onDarkChange) == null || B.call(e, I), (k = e == null ? void 0 : e["onUpdate:dark"]) == null || k.call(e, I), (O = l == null ? void 0 : l.onDarkChange) == null || O.call(l, I);
3789
+ var M, k, O;
3790
+ (M = e.onDarkChange) == null || M.call(e, I), (k = e == null ? void 0 : e["onUpdate:dark"]) == null || k.call(e, I), (O = l == null ? void 0 : l.onDarkChange) == null || O.call(l, I);
3780
3791
  }
3781
- }), [p, c] = De(!1, {
3792
+ }), [v, c] = De(!1, {
3782
3793
  value: R(() => {
3783
3794
  var I;
3784
3795
  return ae(e.settingsOpen) ? e.settingsOpen : (I = l == null ? void 0 : l.settingsOpen) == null ? void 0 : I.value;
3785
3796
  }),
3786
3797
  onChange: (I) => {
3787
- var B, k;
3788
- (B = e.onSettingsOpenChange) == null || B.call(e, I), (k = e == null ? void 0 : e["onUpdate:settingsOpen"]) == null || k.call(e, I), l && !ae(e.settingsOpen) && (l.settingsOpen.value = I);
3798
+ var M, k;
3799
+ (M = e.onSettingsOpenChange) == null || M.call(e, I), (k = e == null ? void 0 : e["onUpdate:settingsOpen"]) == null || k.call(e, I), l && !ae(e.settingsOpen) && (l.settingsOpen.value = I);
3789
3800
  }
3790
- }), C = R(() => {
3791
- var I, B;
3792
- return ae((I = l == null ? void 0 : l.isMobile) == null ? void 0 : I.value) ? (B = l == null ? void 0 : l.isMobile) == null ? void 0 : B.value : s.value === "sm" || s.value === "xs";
3801
+ }), p = R(() => {
3802
+ var I, M;
3803
+ return ae((I = l == null ? void 0 : l.isMobile) == null ? void 0 : I.value) ? (M = l == null ? void 0 : l.isMobile) == null ? void 0 : M.value : s.value === "sm" || s.value === "xs";
3793
3804
  }), m = R(() => {
3794
3805
  var I;
3795
3806
  return Xe(e.dark) ? u.value : (I = i == null ? void 0 : i.dark) == null ? void 0 : I.value;
3796
3807
  }), w = oa(async (I) => {
3797
3808
  b(I);
3798
3809
  }, 160), z = (I) => {
3799
- On({
3810
+ Fn({
3800
3811
  event: I,
3801
3812
  isDark: m,
3802
- toggle: v
3813
+ toggle: x
3803
3814
  });
3804
3815
  }, $ = () => {
3805
3816
  e != null && e.onLogout && (g(!0), e.onLogout(() => g(!1)));
3806
3817
  };
3807
3818
  return () => {
3808
- const I = Me(t, e, "dropdownMenuRender"), B = Me(t, e, "dropdownRender"), k = Me(t, e, "dropdownMenuExtraItemRender"), O = re(t, e, "actionsRender"), T = a.value ? ja : Ea;
3819
+ const I = Be(t, e, "dropdownMenuRender"), M = Be(t, e, "dropdownRender"), k = Be(t, e, "dropdownMenuExtraItemRender"), O = re(t, e, "actionsRender"), T = a.value ? ja : Ea;
3809
3820
  return f(n("div", {
3810
3821
  class: `${r}-right-content ${d.value}`.trim(),
3811
3822
  style: {
@@ -3819,58 +3830,58 @@ const as = /* @__PURE__ */ j({
3819
3830
  }, [n(qa, {
3820
3831
  key: "resize-observer",
3821
3832
  onResize: ({
3822
- width: U
3833
+ width: X
3823
3834
  }) => {
3824
- w(U);
3835
+ w(X);
3825
3836
  }
3826
3837
  }, {
3827
3838
  default: () => {
3828
- var U;
3839
+ var X;
3829
3840
  return [n("div", {
3830
3841
  class: `${r}-header-actions ${d.value}`.trim()
3831
- }, [e.actions.search && !C.value && n(bi, {
3842
+ }, [e.actions.search && !p.value && n(bi, {
3832
3843
  dataSource: e.dataSource,
3833
- disabeldShortKey: (U = e.shortsKey) == null ? void 0 : U.disabeld
3844
+ disabeldShortKey: (X = e.shortsKey) == null ? void 0 : X.disabeld
3834
3845
  }, null), e.actions.theme && n("div", {
3835
3846
  class: `${r}-header-actions-item ${d.value}`.trim()
3836
3847
  }, [n(_e, {
3837
3848
  class: `${r}-header-actions-icon ${d.value}`.trim(),
3838
3849
  name: m.value ? "liangse" : "anhei",
3839
- onClick: (_) => z(_)
3840
- }, null)]), e.actions.settings && !C.value && n("div", {
3850
+ onClick: (E) => z(E)
3851
+ }, null)]), e.actions.settings && !p.value && n("div", {
3841
3852
  class: `${r}-header-actions-item ${d.value}`.trim()
3842
- }, [n(un, {
3843
- onClick: () => c(!p.value)
3844
- }, null)]), e.actions.fullScreen && !C.value && n("div", {
3853
+ }, [n(dn, {
3854
+ onClick: () => c(!v.value)
3855
+ }, null)]), e.actions.fullScreen && !p.value && n("div", {
3845
3856
  class: `${r}-header-actions-item ${d.value}`.trim()
3846
3857
  }, [n(T, {
3847
3858
  onClick: () => o()
3848
3859
  }, null)]), O ? O == null ? void 0 : O([`${r}-header-actions-item`, d.value]) : null, n(ht, {
3849
3860
  overlay: I || n(ge, null, {
3850
- default: () => [k, e.actions.lock && n(J, null, [n(At, {
3861
+ default: () => [k, e.actions.lock && n(J, null, [n(Ht, {
3851
3862
  key: "lock",
3852
- icon: n(cn, null, null),
3863
+ icon: n(un, null, null),
3853
3864
  onClick: () => {
3854
- var _;
3855
- (_ = e.onLockOpenChange) == null || _.call(e, !0), l && (l.lockOpen.value = !0);
3865
+ var E;
3866
+ (E = e.onLockOpenChange) == null || E.call(e, !0), l && (l.lockOpen.value = !0);
3856
3867
  }
3857
3868
  }, {
3858
- default: () => [W("锁定屏幕")]
3859
- }), n(ge.Divider, null, null)]), n(At, {
3869
+ default: () => [_("锁定屏幕")]
3870
+ }), n(ge.Divider, null, null)]), n(Ht, {
3860
3871
  key: "logout",
3861
3872
  icon: n(Ka, null, null),
3862
3873
  onClick: () => $(),
3863
3874
  disabled: h.value
3864
3875
  }, {
3865
- default: () => [W("退出登录")]
3876
+ default: () => [_("退出登录")]
3866
3877
  })]
3867
3878
  })
3868
3879
  }, {
3869
- default: () => [B || n("div", {
3880
+ default: () => [M || n("div", {
3870
3881
  class: `${r}-header-actions-avatar ${d.value}`.trim()
3871
- }, [n(Jt, {
3882
+ }, [n(en, {
3872
3883
  size: 28,
3873
- icon: n(sn, null, null),
3884
+ icon: n(cn, null, null),
3874
3885
  src: e.avatar
3875
3886
  }, null), n("div", {
3876
3887
  class: `${r}-header-actions-name ${d.value}`.trim()
@@ -3934,7 +3945,7 @@ const as = /* @__PURE__ */ j({
3934
3945
  }
3935
3946
  }), Si = (e) => {
3936
3947
  var o;
3937
- const t = (o = e.layout) == null ? void 0 : o.pageContainer, { layout: a } = Ce(e);
3948
+ const t = (o = e.layout) == null ? void 0 : o.pageContainer, { layout: a } = ye(e);
3938
3949
  return {
3939
3950
  [`${e.proComponentsCls}-basic-layout`]: {
3940
3951
  [e.componentCls]: {
@@ -4017,37 +4028,37 @@ const os = /* @__PURE__ */ j({
4017
4028
  }), u = R(() => {
4018
4029
  var $;
4019
4030
  return ($ = o == null ? void 0 : o.hasContentWide) == null ? void 0 : $.value;
4020
- }), v = R(() => {
4031
+ }), x = R(() => {
4021
4032
  var $, I;
4022
4033
  return ae(e.usePageCard) ? e.usePageCard : ae(($ = g.value) == null ? void 0 : $.usePageCard) ? (I = g.value) == null ? void 0 : I.usePageCard : !0;
4023
- }), p = R(() => {
4024
- var $, I, B;
4025
- return (B = (I = ($ = l == null ? void 0 : l.token) == null ? void 0 : $.value) == null ? void 0 : I.layout) == null ? void 0 : B.pageContainer;
4034
+ }), v = R(() => {
4035
+ var $, I, M;
4036
+ return (M = (I = ($ = l == null ? void 0 : l.token) == null ? void 0 : $.value) == null ? void 0 : I.layout) == null ? void 0 : M.pageContainer;
4026
4037
  }), c = R(() => Ae(Ue(e.contentWidth) && e.contentWidth ? e.contentWidth : o == null ? void 0 : o.contentWidth.value)), {
4027
- wrapSSR: C,
4038
+ wrapSSR: p,
4028
4039
  hashId: m
4029
4040
  } = Ii(r), w = () => {
4030
- var B, k, O, T;
4031
- const $ = Me(t, e, "pageChildrenExtraRender"), I = Q(`${r}-children-content`, m.value, c.value && `${r}-children-content-width`);
4041
+ var M, k, O, T;
4042
+ const $ = Be(t, e, "pageChildrenExtraRender"), I = Q(`${r}-children-content`, m.value, c.value && `${r}-children-content-width`);
4032
4043
  return n("div", {
4033
4044
  class: I,
4034
4045
  style: {
4035
4046
  ...b.value,
4036
4047
  width: c.value
4037
4048
  }
4038
- }, [$, v.value ? n(Yn, te(f.value ? oe(f.value, ["loading", "bodyStyle"]) : {}, {
4049
+ }, [$, x.value ? n(Yn, te(f.value ? oe(f.value, ["loading", "bodyStyle"]) : {}, {
4039
4050
  style: u.value ? {
4040
4051
  minHeight: "853px"
4041
4052
  } : void 0,
4042
4053
  bordered: !1
4043
4054
  }), {
4044
4055
  default: () => {
4045
- var U;
4046
- return [(U = t.default) == null ? void 0 : U.call(t)];
4056
+ var X;
4057
+ return [(X = t.default) == null ? void 0 : X.call(t)];
4047
4058
  }
4048
4059
  }) : Fe($) ? n("div", {
4049
- style: (B = p.value) != null && B.marginBlockPageContainerContent ? {
4050
- marginBlockStart: `${(k = p.value) == null ? void 0 : k.marginBlockPageContainerContent}px`
4060
+ style: (M = v.value) != null && M.marginBlockPageContainerContent ? {
4061
+ marginBlockStart: `${(k = v.value) == null ? void 0 : k.marginBlockPageContainerContent}px`
4051
4062
  } : void 0
4052
4063
  }, [(O = t.default) == null ? void 0 : O.call(t)]) : (T = t.default) == null ? void 0 : T.call(t)]);
4053
4064
  }, z = () => {
@@ -4059,8 +4070,8 @@ const os = /* @__PURE__ */ j({
4059
4070
  };
4060
4071
  return () => {
4061
4072
  var k, O;
4062
- const $ = Me(t, e, "pageHeaderRender") || ((k = o == null ? void 0 : o.pageHeaderRender) == null ? void 0 : k.value), I = re(t, e, "breadcrumbRender"), B = Me(t, e, "contentRender");
4063
- return C(n("div", {
4073
+ const $ = Be(t, e, "pageHeaderRender") || ((k = o == null ? void 0 : o.pageHeaderRender) == null ? void 0 : k.value), I = re(t, e, "breadcrumbRender"), M = Be(t, e, "contentRender");
4074
+ return p(n("div", {
4064
4075
  style: a.style,
4065
4076
  class: {
4066
4077
  [`${m.value}`]: !0,
@@ -4073,7 +4084,7 @@ const os = /* @__PURE__ */ j({
4073
4084
  }, null)]), !u.value && $ !== !1 && ($ || n(xi, {
4074
4085
  style: e.pageHeaderStyle,
4075
4086
  breadcrumb: I,
4076
- content: B
4087
+ content: M
4077
4088
  }, null)), n("div", {
4078
4089
  class: [h, m.value]
4079
4090
  }, [n("div", {
@@ -4084,25 +4095,25 @@ const os = /* @__PURE__ */ j({
4084
4095
  }
4085
4096
  });
4086
4097
  function is({ menuData: e, watchOpenKeys: t = !0 }) {
4087
- const a = Ge(), o = a.getRoutes(), i = ve({
4098
+ const a = Ge(), o = a.getRoutes(), i = pe({
4088
4099
  menuData: [],
4089
4100
  levelMenuData: []
4090
- }), l = ve({
4101
+ }), l = pe({
4091
4102
  openKeys: [],
4092
4103
  selectedKeys: []
4093
4104
  }), s = R(() => a.currentRoute.value), r = (d) => {
4094
- var b;
4105
+ var b, u;
4095
4106
  const y = No(zo(d));
4096
- (b = s.value) != null && b.hidden ? (i.menuData = [], i.levelMenuData = []) : (i.menuData = y.menuData, i.levelMenuData = y.getLevel());
4107
+ (u = (b = s.value) == null ? void 0 : b.meta) != null && u.hidden ? (i.menuData = [], i.levelMenuData = []) : (i.menuData = y.menuData, i.levelMenuData = y.getLevel());
4097
4108
  };
4098
- e ? Wn(e) ? ne(() => e.value, (d) => r(d), { deep: !0, immediate: !0 }) : r(e) : r(o);
4099
- const h = R(() => Ho(i, { path: wn(s.value), name: s.value.name })), g = R(() => {
4109
+ e && zt(e) && ne(() => e.value, (d) => r(d), { deep: !0 });
4110
+ const h = R(() => Ho(i, { path: Rn(s.value), name: s.value.name })), g = R(() => {
4100
4111
  const d = h.value.map((y) => {
4101
- var u, v;
4102
- const b = Rn((u = y.meta) != null && u.hideChildrenInMenu ? [] : y.children || []);
4112
+ var u, x;
4113
+ const b = $n((u = y.meta) != null && u.hideChildrenInMenu ? [] : y.children || []);
4103
4114
  return {
4104
4115
  path: y.redirect || b || y.path || "",
4105
- breadcrumbName: ((v = y.meta) == null ? void 0 : v.title) || ""
4116
+ breadcrumbName: ((x = y.meta) == null ? void 0 : x.title) || ""
4106
4117
  };
4107
4118
  }).filter((y) => y.breadcrumbName);
4108
4119
  return Vo(d, "breadcrumbName");
@@ -4110,7 +4121,7 @@ function is({ menuData: e, watchOpenKeys: t = !0 }) {
4110
4121
  l.openKeys = h.value.filter((d) => d.path !== s.value.path).map((d) => d.path);
4111
4122
  };
4112
4123
  return ne(() => s.value, (d) => {
4113
- d && (l.selectedKeys = h.value.map((y) => y.path), t && f());
4124
+ d && (r(e ? zt(e) ? e.value : e : o), l.selectedKeys = h.value.map((y) => y.path), t && f());
4114
4125
  }, { immediate: !0, deep: !0 }), St(() => {
4115
4126
  t || f();
4116
4127
  }), {
@@ -4130,7 +4141,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4130
4141
  }
4131
4142
  }, [n(_e, {
4132
4143
  name: "liangse"
4133
- }, null), W("亮色")])
4144
+ }, null), _("亮色")])
4134
4145
  }, {
4135
4146
  value: "dark",
4136
4147
  label: () => n("div", {
@@ -4141,7 +4152,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4141
4152
  }
4142
4153
  }, [n(_e, {
4143
4154
  name: "anhei"
4144
- }, null), W("深色")])
4155
+ }, null), _("深色")])
4145
4156
  }, {
4146
4157
  value: "system",
4147
4158
  label: () => n("div", {
@@ -4150,8 +4161,8 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4150
4161
  alignItems: "center",
4151
4162
  gap: "6px"
4152
4163
  }
4153
- }, [n(Wa, null, null), W("自动")])
4154
- }], Nn = [
4164
+ }, [n(Wa, null, null), _("自动")])
4165
+ }], zn = [
4155
4166
  {
4156
4167
  key: "light",
4157
4168
  title: "亮色菜单风格"
@@ -4164,7 +4175,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4164
4175
  // key: 'systemDark',
4165
4176
  // title: '暗黑模式'
4166
4177
  // }
4167
- ], zn = [{
4178
+ ], Dn = [{
4168
4179
  key: "side",
4169
4180
  title: "侧边菜单布局"
4170
4181
  }, {
@@ -4185,7 +4196,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4185
4196
  }, {
4186
4197
  key: "sider",
4187
4198
  title: "左侧主题"
4188
- }], Bi = [{
4199
+ }], Mi = [{
4189
4200
  key: "colorBgMenu",
4190
4201
  name: "全部背景"
4191
4202
  }, {
@@ -4206,7 +4217,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4206
4217
  }, {
4207
4218
  key: "colorTextMenuSelected",
4208
4219
  name: "菜单文字选中颜色"
4209
- }], Mi = [{
4220
+ }], Bi = [{
4210
4221
  label: "fixedHeader",
4211
4222
  title: "固定 Header"
4212
4223
  }, {
@@ -4222,7 +4233,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4222
4233
  label: "fixedTabsBar",
4223
4234
  title: "固定多标签"
4224
4235
  }], Oi = (e) => {
4225
- const { dark: t } = Ce(e);
4236
+ const { dark: t } = ye(e);
4226
4237
  return {
4227
4238
  [e.componentCls]: {
4228
4239
  [`${e.antCls}-drawer-content-wrapper`]: {
@@ -4402,7 +4413,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4402
4413
  }
4403
4414
  }
4404
4415
  };
4405
- }, Gt = /* @__PURE__ */ j({
4416
+ }, Yt = /* @__PURE__ */ j({
4406
4417
  name: "BlockCheckbox",
4407
4418
  props: {
4408
4419
  value: q.string,
@@ -4432,7 +4443,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4432
4443
  }
4433
4444
  }, [a.key === "wide" && n("div", {
4434
4445
  class: [`${t}-item-${a.key}-content`, e.hashId]
4435
- }, null), n(dn, {
4446
+ }, null), n(mn, {
4436
4447
  class: `${t}-selectIcon ${e.hashId}`.trim(),
4437
4448
  style: {
4438
4449
  display: e.value === a.key ? "block" : "none"
@@ -4478,7 +4489,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4478
4489
  backgroundColor: i
4479
4490
  },
4480
4491
  onClick: () => e.onChange && e.onChange(i)
4481
- }, [((r = e.settingValue) == null ? void 0 : r.primaryColor) === i && n(dn, null, null)])];
4492
+ }, [((r = e.settingValue) == null ? void 0 : r.primaryColor) === i && n(mn, null, null)])];
4482
4493
  }
4483
4494
  }) : null)]);
4484
4495
  };
@@ -4495,7 +4506,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4495
4506
  onChange: Function
4496
4507
  },
4497
4508
  setup(e) {
4498
- return () => n(Be, {
4509
+ return () => n(Me, {
4499
4510
  class: `${e.prefixCls}-list ${e.hashId}`.trim(),
4500
4511
  split: !1,
4501
4512
  size: "small",
@@ -4505,7 +4516,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4505
4516
  title: t.disabled ? t.disabledReason : "",
4506
4517
  placement: "left"
4507
4518
  }, {
4508
- default: () => [n(Be.Item, {
4519
+ default: () => [n(Me.Item, {
4509
4520
  actions: [t.action]
4510
4521
  }, {
4511
4522
  default: () => [n("span", {
@@ -4517,7 +4528,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4517
4528
  }),
4518
4529
  dataSource: [{
4519
4530
  title: e.label,
4520
- action: n(tn, {
4531
+ action: n(nn, {
4521
4532
  size: "small",
4522
4533
  disabled: e.disabled,
4523
4534
  checked: !!e.value,
@@ -4565,10 +4576,10 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4565
4576
  function Ti(e) {
4566
4577
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
4567
4578
  }
4568
- const Dn = [];
4579
+ const An = [];
4569
4580
  Ca.forEach((e) => {
4570
4581
  xa.forEach((t) => {
4571
- Dn.push({
4582
+ An.push({
4572
4583
  key: `${e}:${t}`,
4573
4584
  token: {}
4574
4585
  });
@@ -4584,7 +4595,7 @@ const Pi = /* @__PURE__ */ j({
4584
4595
  setup(e) {
4585
4596
  const {
4586
4597
  getPrefixCls: t
4587
- } = le(), [a, o] = pe("header"), i = t({
4598
+ } = le(), [a, o] = Ce("header"), i = t({
4588
4599
  suffixCls: "theme-editor",
4589
4600
  isPor: !0
4590
4601
  }), {
@@ -4597,18 +4608,18 @@ const Pi = /* @__PURE__ */ j({
4597
4608
  return (b = r.value) == null ? void 0 : b.layout;
4598
4609
  });
4599
4610
  function g(b) {
4600
- return Se(Dn).map((u) => {
4601
- var p;
4602
- const v = it(b, r.value, u.key);
4603
- if (u.token = v, v)
4611
+ return Se(An).map((u) => {
4612
+ var v;
4613
+ const x = it(b, r.value, u.key);
4614
+ if (u.token = x, x)
4604
4615
  for (const c in u.token) {
4605
- const C = (p = h.value) == null ? void 0 : p[b], m = (C == null ? void 0 : C[c]) || u.token[c];
4616
+ const p = (v = h.value) == null ? void 0 : v[b], m = (p == null ? void 0 : p[c]) || u.token[c];
4606
4617
  u.token[c] = m;
4607
4618
  }
4608
4619
  return u;
4609
4620
  }).filter((u) => u.token);
4610
4621
  }
4611
- const f = ve({
4622
+ const f = pe({
4612
4623
  header: g("header"),
4613
4624
  sider: g("sider")
4614
4625
  });
@@ -4625,50 +4636,50 @@ const Pi = /* @__PURE__ */ j({
4625
4636
  });
4626
4637
  const d = R(() => {
4627
4638
  var u;
4628
- const b = (u = f[a.value].find((v) => {
4629
- var p;
4630
- return v.key === ((p = h.value) == null ? void 0 : p.key);
4639
+ const b = (u = f[a.value].find((x) => {
4640
+ var v;
4641
+ return x.key === ((v = h.value) == null ? void 0 : v.key);
4631
4642
  })) == null ? void 0 : u.token;
4632
- return Object.keys(b || {}).map((v) => {
4643
+ return Object.keys(b || {}).map((x) => {
4633
4644
  var c;
4634
4645
  return {
4635
- title: ((c = Bi.find((C) => C.key === v)) == null ? void 0 : c.name) || "",
4636
- key: v,
4637
- value: (b == null ? void 0 : b[v]) || ""
4646
+ title: ((c = Mi.find((p) => p.key === x)) == null ? void 0 : c.name) || "",
4647
+ key: x,
4648
+ value: (b == null ? void 0 : b[x]) || ""
4638
4649
  };
4639
4650
  });
4640
4651
  }), y = (b, u) => {
4641
- var v;
4642
- f[a.value] = f[a.value].map((p) => {
4652
+ var x;
4653
+ f[a.value] = f[a.value].map((v) => {
4643
4654
  var c;
4644
- return p.key === ((c = h.value) == null ? void 0 : c.key) && (p.token[u] = b), p;
4645
- }), (v = e.onChange) == null || v.call(e, b, a.value, u);
4655
+ return v.key === ((c = h.value) == null ? void 0 : c.key) && (v.token[u] = b), v;
4656
+ }), (x = e.onChange) == null || x.call(e, b, a.value, u);
4646
4657
  };
4647
4658
  return () => {
4648
- var u, v, p;
4659
+ var u, x, v;
4649
4660
  let b;
4650
4661
  return l(n("div", {
4651
4662
  class: [i, s.value]
4652
4663
  }, [n("h3", {
4653
4664
  class: [`${i}-title`, s.value]
4654
- }, [W("主题编辑器"), n("div", {
4665
+ }, [_("主题编辑器"), n("div", {
4655
4666
  class: [`${i}-sub-title`, s.value]
4656
- }, [n("span", null, [(u = Nn.find((c) => c.key === e.theme)) == null ? void 0 : u.title]), n("span", {
4667
+ }, [n("span", null, [(u = zn.find((c) => c.key === e.theme)) == null ? void 0 : u.title]), n("span", {
4657
4668
  style: {
4658
4669
  marginInline: "8px"
4659
4670
  }
4660
- }, [W("/")]), n("span", null, [(v = zn.find((c) => {
4661
- var C;
4662
- return c.key === ((C = e.settingValue) == null ? void 0 : C.layout);
4663
- })) == null ? void 0 : v.title])])]), n("div", {
4671
+ }, [_("/")]), n("span", null, [(x = Dn.find((c) => {
4672
+ var p;
4673
+ return c.key === ((p = e.settingValue) == null ? void 0 : p.layout);
4674
+ })) == null ? void 0 : x.title])])]), n("div", {
4664
4675
  class: [`${i}-content`, s.value]
4665
- }, [n(Be, {
4676
+ }, [n(Me, {
4666
4677
  class: `${i}-list ${s.value}`.trim(),
4667
4678
  split: !1,
4668
4679
  size: "small",
4669
4680
  renderItem: ({
4670
4681
  item: c
4671
- }) => n(Be.Item, {
4682
+ }) => n(Me.Item, {
4672
4683
  actions: [c.action]
4673
4684
  }, {
4674
4685
  default: () => [n("span", {
@@ -4679,8 +4690,8 @@ const Pi = /* @__PURE__ */ j({
4679
4690
  }),
4680
4691
  dataSource: [{
4681
4692
  title: "自定义主题色",
4682
- action: n(Et, {
4683
- value: (p = e.settingValue) == null ? void 0 : p.primaryColor,
4693
+ action: n(Kt, {
4694
+ value: (v = e.settingValue) == null ? void 0 : v.primaryColor,
4684
4695
  size: "small",
4685
4696
  onChangeComplete: (c) => e.onChange && e.onChange(c.toCssString(), "primaryColor")
4686
4697
  }, null)
@@ -4692,27 +4703,27 @@ const Pi = /* @__PURE__ */ j({
4692
4703
  key: c.key,
4693
4704
  tab: c.title
4694
4705
  }, {
4695
- default: () => [n(Be, {
4706
+ default: () => [n(Me, {
4696
4707
  class: `${i}-list ${s.value}`.trim(),
4697
4708
  split: !1,
4698
4709
  size: "small",
4699
4710
  renderItem: ({
4700
- item: C
4701
- }) => n(Be.Item, {
4702
- actions: [C.action]
4711
+ item: p
4712
+ }) => n(Me.Item, {
4713
+ actions: [p.action]
4703
4714
  }, {
4704
4715
  default: () => [n("span", {
4705
4716
  style: {
4706
- opacity: C.disabled ? 0.5 : 1
4717
+ opacity: p.disabled ? 0.5 : 1
4707
4718
  }
4708
- }, [C.title])]
4719
+ }, [p.title])]
4709
4720
  }),
4710
- dataSource: d.value.map((C) => ({
4711
- ...C,
4712
- action: n(Et, {
4713
- value: C.value,
4721
+ dataSource: d.value.map((p) => ({
4722
+ ...p,
4723
+ action: n(Kt, {
4724
+ value: p.value,
4714
4725
  size: "small",
4715
- onChangeComplete: (m) => y(m.toCssString(), C.key)
4726
+ onChangeComplete: (m) => y(m.toCssString(), p.key)
4716
4727
  }, null)
4717
4728
  }))
4718
4729
  }, null)]
@@ -4752,11 +4763,11 @@ const Pi = /* @__PURE__ */ j({
4752
4763
  }
4753
4764
  }
4754
4765
  });
4755
- function Yt(e) {
4766
+ function qt(e) {
4756
4767
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
4757
4768
  }
4758
4769
  const {
4759
- preset: qt
4770
+ preset: Qt
4760
4771
  } = Tt, zi = /* @__PURE__ */ j({
4761
4772
  name: "OthersChange",
4762
4773
  props: {
@@ -4773,13 +4784,13 @@ const {
4773
4784
  hashId: o
4774
4785
  } = fe("SettingsDrawOthers", [Ni], t);
4775
4786
  return () => {
4776
- var l, s, r, h, g, f, d, y, b, u, v, p, c, C;
4787
+ var l, s, r, h, g, f, d, y, b, u, x, v, c, p;
4777
4788
  let i;
4778
4789
  return a(n("div", {
4779
4790
  class: [t, o.value]
4780
4791
  }, [n("h3", {
4781
4792
  class: [`${t}-title`, o.value]
4782
- }, [W("页面动画设置")]), n(Be, {
4793
+ }, [_("页面动画设置")]), n(Me, {
4783
4794
  class: `${t}-list ${o.value}`.trim(),
4784
4795
  split: !1,
4785
4796
  size: "small",
@@ -4789,7 +4800,7 @@ const {
4789
4800
  title: m.disabled ? m.disabledReason : "",
4790
4801
  placement: "left"
4791
4802
  }, {
4792
- default: () => [n(Be.Item, {
4803
+ default: () => [n(Me.Item, {
4793
4804
  actions: [m.action]
4794
4805
  }, {
4795
4806
  default: () => [n("span", {
@@ -4801,7 +4812,7 @@ const {
4801
4812
  }),
4802
4813
  dataSource: [{
4803
4814
  title: "禁用动画",
4804
- action: n(tn, {
4815
+ action: n(nn, {
4805
4816
  checked: !((s = (l = e.settingValue) == null ? void 0 : l.animate) != null && s.disabled),
4806
4817
  size: "small",
4807
4818
  onChange: (m) => {
@@ -4824,7 +4835,7 @@ const {
4824
4835
  var w;
4825
4836
  return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "name", m);
4826
4837
  }
4827
- }, Yt(i = qt.map((m) => n(Ye.Option, {
4838
+ }, qt(i = Qt.map((m) => n(Ye.Option, {
4828
4839
  value: m.name
4829
4840
  }, {
4830
4841
  default: () => [m.alias]
@@ -4835,7 +4846,7 @@ const {
4835
4846
  title: "动画方向",
4836
4847
  disabled: (u = (b = e.settingValue) == null ? void 0 : b.animate) == null ? void 0 : u.disabled,
4837
4848
  action: n(Ye, {
4838
- value: (p = (v = e.settingValue) == null ? void 0 : v.animate) == null ? void 0 : p.direction,
4849
+ value: (v = (x = e.settingValue) == null ? void 0 : x.animate) == null ? void 0 : v.direction,
4839
4850
  style: {
4840
4851
  width: "100px"
4841
4852
  },
@@ -4843,7 +4854,7 @@ const {
4843
4854
  dropdownStyle: {
4844
4855
  minWidth: "120px"
4845
4856
  },
4846
- disabled: (C = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : C.disabled,
4857
+ disabled: (p = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : p.disabled,
4847
4858
  getPopupContainer: (m) => m && m.parentNode ? m.parentNode : m,
4848
4859
  onChange: (m) => {
4849
4860
  var w;
@@ -4852,12 +4863,12 @@ const {
4852
4863
  }, {
4853
4864
  default: () => {
4854
4865
  var m;
4855
- return [(m = qt.find((w) => {
4866
+ return [(m = Qt.find((w) => {
4856
4867
  var z, $;
4857
4868
  return w.name === (($ = (z = e.settingValue) == null ? void 0 : z.animate) == null ? void 0 : $.name);
4858
4869
  })) == null ? void 0 : m.directions.map((w) => n(Ye.Option, {
4859
4870
  value: w
4860
- }, Yt(w) ? w : {
4871
+ }, qt(w) ? w : {
4861
4872
  default: () => [w]
4862
4873
  }))];
4863
4874
  }
@@ -4871,7 +4882,7 @@ const {
4871
4882
  } = Tt, Ai = {
4872
4883
  color: "#fff",
4873
4884
  fontSize: 20
4874
- }, Qt = (e) => ha() ? {
4885
+ }, Zt = (e) => ha() ? {
4875
4886
  ...oe(Z, Ct),
4876
4887
  ...e || {}
4877
4888
  } : Se(Z), Ke = (e, {
@@ -4921,7 +4932,7 @@ const {
4921
4932
  const t = Oe(), a = le(), o = ie({
4922
4933
  suffixCls: "setting-drawer",
4923
4934
  isPor: !0
4924
- }), i = ve({}), l = at(ie({
4935
+ }), i = pe({}), l = at(ie({
4925
4936
  suffixCls: "settings-state",
4926
4937
  isPor: !0
4927
4938
  }), {}), {
@@ -4945,20 +4956,20 @@ const {
4945
4956
  return Xe(e.dark) ? e.dark : (L = a == null ? void 0 : a.dark) == null ? void 0 : L.value;
4946
4957
  }), {
4947
4958
  change: (L) => {
4948
- var F, P, E;
4949
- (F = e.onDarkChange) == null || F.call(e, L), (P = e == null ? void 0 : e["onUpdate:dark"]) == null || P.call(e, L), (E = a == null ? void 0 : a.onDarkChange) == null || E.call(a, L);
4959
+ var F, P, W;
4960
+ (F = e.onDarkChange) == null || F.call(e, L), (P = e == null ? void 0 : e["onUpdate:dark"]) == null || P.call(e, L), (W = a == null ? void 0 : a.onDarkChange) == null || W.call(a, L);
4950
4961
  }
4951
- }), [u, v] = pe(!1), [p, c] = pe(!1), C = R(() => e.storage ? Object.keys(l.value).length > 0 : !1), m = R(() => Qt(oe(e.settings, Ct))), [w, z] = De(() => Qt(oe(e.settings, Ct)), {
4962
+ }), [u, x] = Ce(!1), [v, c] = Ce(!1), p = R(() => e.storage ? Object.keys(l.value).length > 0 : !1), m = R(() => Zt(oe(e.settings, Ct))), [w, z] = De(() => Zt(oe(e.settings, Ct)), {
4952
4963
  value: m,
4953
4964
  onChange: (L) => {
4954
4965
  var F;
4955
- l.value = be(l.value, L), (F = e.onChange) == null || F.call(e, L);
4966
+ l.value = ve(l.value, L), (F = e.onChange) == null || F.call(e, L);
4956
4967
  }
4957
4968
  }), $ = R(() => {
4958
4969
  var L;
4959
4970
  return Xe(e.dark) ? y.value : (L = t == null ? void 0 : t.dark) == null ? void 0 : L.value;
4960
4971
  }), I = (L, F) => {
4961
- On({
4972
+ Fn({
4962
4973
  event: L,
4963
4974
  isDark: $,
4964
4975
  toggle: b,
@@ -4966,7 +4977,7 @@ const {
4966
4977
  });
4967
4978
  };
4968
4979
  ne(() => e.storage, (L) => {
4969
- L && (C.value ? (Object.assign(i, {
4980
+ L && (p.value ? (Object.assign(i, {
4970
4981
  dark: d.value,
4971
4982
  ...Se(w.value)
4972
4983
  }), fa($e(l.value, "dark"), w.value) || z($e(l.value, "dark")), I(null, l.value.dark)) : l.value = {
@@ -4976,10 +4987,10 @@ const {
4976
4987
  }, {
4977
4988
  immediate: !0
4978
4989
  });
4979
- const B = R(() => e.colorList && Bt(e.colorList) ? e.colorList : []), k = R(() => Xo(se(w))), {
4990
+ const M = R(() => e.colorList && Mt(e.colorList) ? e.colorList : []), k = R(() => Xo(se(w))), {
4980
4991
  copy: O,
4981
4992
  copied: T,
4982
- isSupported: U
4993
+ isSupported: X
4983
4994
  } = ia();
4984
4995
  ne(g, () => {
4985
4996
  h.value || (h.value = !0);
@@ -4993,11 +5004,11 @@ const {
4993
5004
  }), ne(() => d.value, (L) => {
4994
5005
  e.storage && (l.value.dark = L);
4995
5006
  });
4996
- const _ = (L, F, P) => {
4997
- var ye, H, Y;
4998
- const E = ["header", "sider"], ee = {};
4999
- if (P != null && P.subKey && E.includes(L)) {
5000
- ee[L] = {}, ee[L][P == null ? void 0 : P.subKey] = F, (ye = e.onLayoutChange) == null || ye.call(e, oe(ee, E));
5007
+ const E = (L, F, P) => {
5008
+ var be, H, Y;
5009
+ const W = ["header", "sider"], ee = {};
5010
+ if (P != null && P.subKey && W.includes(L)) {
5011
+ ee[L] = {}, ee[L][P == null ? void 0 : P.subKey] = F, (be = e.onLayoutChange) == null || be.call(e, oe(ee, W));
5001
5012
  return;
5002
5013
  } else
5003
5014
  L === "animate" ? (ee[L] = {}, P != null && P.subKey && (ee[L][P == null ? void 0 : P.subKey] = F), (P == null ? void 0 : P.subKey) === "name" && (ee[L].direction = (Y = (H = Di.find((V) => V.name === F)) == null ? void 0 : H.directions) == null ? void 0 : Y[0])) : ee[L] = F;
@@ -5005,18 +5016,18 @@ const {
5005
5016
  const V = document.querySelector("body");
5006
5017
  V && (V.dataset.prosettingdrawer = F === !0 ? V.style.filter : V.dataset.prosettingdrawer || "none", F === !0 && (V.dataset.prosettingdrawer = V.style.filter), V.style.filter = F === !0 ? "invert(80%)" : V.dataset.prosettingdrawer || "none", F || delete V.dataset.prosettingdrawer);
5007
5018
  }
5008
- z(be(se(w), {
5009
- ..._o($e(ee, E))
5019
+ z(ve(se(w), {
5020
+ ..._o($e(ee, W))
5010
5021
  }));
5011
- }, X = (L) => {
5022
+ }, K = (L) => {
5012
5023
  l.value.dark = L === "system" ? L : L === "dark", I(null, L === "system" ? L : L === "dark");
5013
5024
  }, he = () => {
5014
- U.value && O(JSON.stringify(se(w)));
5025
+ X.value && O(JSON.stringify(se(w)));
5015
5026
  }, de = () => {
5016
5027
  z($e(Se(i), "dark")), I(null, i.dark), l.value = Se(i);
5017
5028
  };
5018
5029
  return () => {
5019
- const L = g.value ? lt : un;
5030
+ const L = g.value ? lt : dn;
5020
5031
  return s(n(Qe, {
5021
5032
  width: 300,
5022
5033
  closable: !1,
@@ -5050,57 +5061,57 @@ const {
5050
5061
  default: () => [n(Zn, {
5051
5062
  value: ae(d.value) ? d.value ? "dark" : "light" : "system",
5052
5063
  options: Ri,
5053
- onChange: (F) => X(F)
5064
+ onChange: (F) => K(F)
5054
5065
  }, null)]
5055
5066
  }), n(Ke, {
5056
5067
  prefixCls: o,
5057
5068
  hashId: r.value,
5058
5069
  title: "菜单风格"
5059
5070
  }, {
5060
- default: () => [n(Gt, {
5071
+ default: () => [n(Yt, {
5061
5072
  hashId: r.value,
5062
5073
  prefixCls: o,
5063
- list: Nn,
5074
+ list: zn,
5064
5075
  value: w.value.theme,
5065
5076
  configType: "theme",
5066
5077
  key: "navTheme",
5067
- onChange: (F, P) => _("theme", F, {
5078
+ onChange: (F, P) => E("theme", F, {
5068
5079
  event: P
5069
5080
  })
5070
5081
  }, null)]
5071
5082
  }), n(Ke, {
5072
5083
  hashId: r.value,
5073
- title: n("span", null, [W("配色模式"), n("a", {
5084
+ title: n("span", null, [_("配色模式"), n("a", {
5074
5085
  style: {
5075
5086
  fontSize: "12px",
5076
5087
  marginLeft: "4px"
5077
5088
  },
5078
- onClick: () => v(!0)
5079
- }, [W("更多配置")])]),
5089
+ onClick: () => x(!0)
5090
+ }, [_("更多配置")])]),
5080
5091
  prefixCls: o
5081
5092
  }, {
5082
5093
  default: () => [n(Fi, {
5083
5094
  hashId: r.value,
5084
5095
  prefixCls: o,
5085
- colorList: B.value,
5096
+ colorList: M.value,
5086
5097
  settingValue: w.value,
5087
- onChange: (F, P) => _(P || "primaryColor", F)
5098
+ onChange: (F, P) => E(P || "primaryColor", F)
5088
5099
  }, null)]
5089
5100
  }), !e.themeOnly && n(J, null, [n(ct, null, null), n(Ke, {
5090
5101
  hashId: r.value,
5091
5102
  prefixCls: o,
5092
5103
  title: "导航模式"
5093
5104
  }, {
5094
- default: () => [n(Gt, {
5105
+ default: () => [n(Yt, {
5095
5106
  prefixCls: o,
5096
5107
  value: se(w).layout,
5097
5108
  key: "layout",
5098
5109
  hashId: r.value,
5099
5110
  configType: "layout",
5100
- list: zn,
5101
- onChange: (F) => _("layout", F)
5111
+ list: Dn,
5112
+ onChange: (F) => E("layout", F)
5102
5113
  }, null)]
5103
- }), Mi.map(({
5114
+ }), Bi.map(({
5104
5115
  label: F,
5105
5116
  title: P
5106
5117
  }) => n(qe, {
@@ -5110,17 +5121,17 @@ const {
5110
5121
  prefixCls: o,
5111
5122
  hashId: r.value,
5112
5123
  valueKey: F,
5113
- onChange: (E, ee) => _(E, ee)
5124
+ onChange: (W, ee) => E(W, ee)
5114
5125
  }, null)), n(ct, null, null), n(Ke, {
5115
5126
  hashId: r.value,
5116
5127
  prefixCls: o,
5117
- title: n("span", null, [W("其他设置"), n("a", {
5128
+ title: n("span", null, [_("其他设置"), n("a", {
5118
5129
  style: {
5119
5130
  fontSize: "12px",
5120
5131
  marginLeft: "4px"
5121
5132
  },
5122
5133
  onClick: () => c(!0)
5123
- }, [W("更多配置")])])
5134
+ }, [_("更多配置")])])
5124
5135
  }, {
5125
5136
  default: () => [Li.map(({
5126
5137
  label: F,
@@ -5132,21 +5143,21 @@ const {
5132
5143
  prefixCls: o,
5133
5144
  hashId: r.value,
5134
5145
  valueKey: F,
5135
- onChange: (E, ee) => _(E, ee)
5146
+ onChange: (W, ee) => E(W, ee)
5136
5147
  }, null)), e.weakmode && n(qe, {
5137
5148
  label: "色弱模式",
5138
5149
  value: se(w).colorWeak,
5139
5150
  prefixCls: o,
5140
5151
  hashId: r.value,
5141
5152
  valueKey: "colorWeak",
5142
- onChange: (F, P) => _(F, P)
5153
+ onChange: (F, P) => E(F, P)
5143
5154
  }, null), e.showProgress && n(qe, {
5144
5155
  label: "顶部进度条",
5145
5156
  value: se(w).showProgressBar,
5146
5157
  prefixCls: o,
5147
5158
  hashId: r.value,
5148
5159
  valueKey: "showProgressBar",
5149
- onChange: (F, P) => _(F, P)
5160
+ onChange: (F, P) => E(F, P)
5150
5161
  }, null)]
5151
5162
  })]), e.hideHintAlert && e.hideCopyButton ? null : n(ct, null, null), e.hideHintAlert ? null : n(Jn, {
5152
5163
  type: "warning",
@@ -5165,12 +5176,12 @@ const {
5165
5176
  onClick: () => he(),
5166
5177
  block: !0
5167
5178
  }, {
5168
- default: () => [n(_a, null, null), W("拷贝设置")]
5179
+ default: () => [n(_a, null, null), _("拷贝设置")]
5169
5180
  }), n(Ze, {
5170
5181
  block: !0,
5171
5182
  onClick: () => de()
5172
5183
  }, {
5173
- default: () => [n(Xa, null, null), W("清空缓存")]
5184
+ default: () => [n(Xa, null, null), _("清空缓存")]
5174
5185
  })])])]
5175
5186
  })]), n(Qe, {
5176
5187
  width: 320,
@@ -5180,20 +5191,20 @@ const {
5180
5191
  bodyStyle: {
5181
5192
  padding: 0
5182
5193
  },
5183
- onClose: () => v(!1)
5194
+ onClose: () => x(!1)
5184
5195
  }, {
5185
5196
  default: () => [n(Pi, {
5186
5197
  theme: w.value.theme,
5187
5198
  settingValue: w.value,
5188
- onChange: (F, P, E) => _(P || "primaryColor", F, {
5189
- subKey: E
5199
+ onChange: (F, P, W) => E(P || "primaryColor", F, {
5200
+ subKey: W
5190
5201
  })
5191
5202
  }, null)]
5192
5203
  }), n(Qe, {
5193
5204
  width: 320,
5194
5205
  closable: !1,
5195
5206
  placement: "right",
5196
- open: p.value,
5207
+ open: v.value,
5197
5208
  bodyStyle: {
5198
5209
  padding: 0
5199
5210
  },
@@ -5201,7 +5212,7 @@ const {
5201
5212
  }, {
5202
5213
  default: () => [n(zi, {
5203
5214
  settingValue: w.value,
5204
- onChange: (F, P, E) => _(F, E, {
5215
+ onChange: (F, P, W) => E(F, W, {
5205
5216
  subKey: P
5206
5217
  })
5207
5218
  }, null)]
@@ -5717,7 +5728,7 @@ const {
5717
5728
  opacity: 0,
5718
5729
  transform: "translate3d(0, 2000px, 0)"
5719
5730
  }
5720
- }), Bl = new S("fadeOutUpBig", {
5731
+ }), Ml = new S("fadeOutUpBig", {
5721
5732
  from: {
5722
5733
  opacity: 1
5723
5734
  },
@@ -5725,7 +5736,7 @@ const {
5725
5736
  opacity: 0,
5726
5737
  transform: "translate3d(0, -2000px, 0)"
5727
5738
  }
5728
- }), Ml = new S("fadeOutLeftBig", {
5739
+ }), Bl = new S("fadeOutLeftBig", {
5729
5740
  from: {
5730
5741
  opacity: 1
5731
5742
  },
@@ -5857,11 +5868,11 @@ const {
5857
5868
  },
5858
5869
  "&.fadeOutUpBig": {
5859
5870
  animationFillMode: "both",
5860
- animationName: Bl
5871
+ animationName: Ml
5861
5872
  },
5862
5873
  "&.fadeOutLeftBig": {
5863
5874
  animationFillMode: "both",
5864
- animationName: Ml
5875
+ animationName: Bl
5865
5876
  },
5866
5877
  "&.fadeOutRightBig": {
5867
5878
  animationFillMode: "both",
@@ -6392,7 +6403,7 @@ const {
6392
6403
  transform: "translate3d(0, 100%, 0)",
6393
6404
  visibility: "hidden"
6394
6405
  }
6395
- }), Br = new S("slideOutLeft", {
6406
+ }), Mr = new S("slideOutLeft", {
6396
6407
  from: {
6397
6408
  transform: "translate3d(0, 0, 0)"
6398
6409
  },
@@ -6400,7 +6411,7 @@ const {
6400
6411
  transform: "translate3d(-100%, 0, 0)",
6401
6412
  visibility: "hidden"
6402
6413
  }
6403
- }), Mr = new S("slideOutRight", {
6414
+ }), Br = new S("slideOutRight", {
6404
6415
  from: {
6405
6416
  transform: "translate3d(0, 0, 0)"
6406
6417
  },
@@ -6440,11 +6451,11 @@ const {
6440
6451
  },
6441
6452
  "&.slideOutLeft": {
6442
6453
  animationFillMode: "both",
6443
- animationName: Br
6454
+ animationName: Mr
6444
6455
  },
6445
6456
  "&.slideOutRight": {
6446
6457
  animationFillMode: "both",
6447
- animationName: Mr
6458
+ animationName: Br
6448
6459
  },
6449
6460
  "&.slideOutUp": {
6450
6461
  animationFillMode: "both",
@@ -6565,7 +6576,7 @@ const rs = /* @__PURE__ */ j({
6565
6576
  }, [a]);
6566
6577
  }
6567
6578
  return e;
6568
- }, An = /* @__PURE__ */ j({
6579
+ }, Hn = /* @__PURE__ */ j({
6569
6580
  props: {
6570
6581
  hashId: String,
6571
6582
  baseClassName: String,
@@ -6586,7 +6597,7 @@ const rs = /* @__PURE__ */ j({
6586
6597
  class: `${e.baseClassName}-content-list-item-group ${e.hashId}`.trim()
6587
6598
  }, [n("div", {
6588
6599
  class: `${e.baseClassName}-content-list-item-group-title ${e.hashId}`.trim()
6589
- }, [a.title]), n(An, {
6600
+ }, [a.title]), n(Hn, {
6590
6601
  hashId: e.hashId,
6591
6602
  onItemClick: e.onItemClick,
6592
6603
  appList: a == null ? void 0 : a.children,
@@ -6606,7 +6617,7 @@ const rs = /* @__PURE__ */ j({
6606
6617
  })])]);
6607
6618
  };
6608
6619
  }
6609
- }), Hn = /* @__PURE__ */ j({
6620
+ }), jn = /* @__PURE__ */ j({
6610
6621
  props: {
6611
6622
  hashId: String,
6612
6623
  baseClassName: String,
@@ -6627,7 +6638,7 @@ const rs = /* @__PURE__ */ j({
6627
6638
  class: `${e.baseClassName}-content-list-item-group ${e.hashId}`.trim()
6628
6639
  }, [n("div", {
6629
6640
  class: `${e.baseClassName}-content-list-item-group-title ${e.hashId}`.trim()
6630
- }, [a.title]), n(Hn, {
6641
+ }, [a.title]), n(jn, {
6631
6642
  hashId: e.hashId,
6632
6643
  onItemClick: e.onItemClick,
6633
6644
  appList: a == null ? void 0 : a.children,
@@ -6643,7 +6654,7 @@ const rs = /* @__PURE__ */ j({
6643
6654
  href: e.onItemClick ? void 0 : a.url,
6644
6655
  target: a.target,
6645
6656
  rel: "noreferrer"
6646
- }, [n(Bo, {
6657
+ }, [n(Mo, {
6647
6658
  logo: a.icon
6648
6659
  }, null), n("div", null, [n("div", null, [a.title]), a.desc ? n("span", null, [a.desc]) : null])])]);
6649
6660
  })])]);
@@ -6665,12 +6676,12 @@ const rs = /* @__PURE__ */ j({
6665
6676
  };
6666
6677
  return () => {
6667
6678
  var s;
6668
- return ((s = e.appList) == null ? void 0 : s.some((r) => !(r != null && r.desc))) ? a(n(An, {
6679
+ return ((s = e.appList) == null ? void 0 : s.some((r) => !(r != null && r.desc))) ? a(n(Hn, {
6669
6680
  hashId: o.value,
6670
6681
  appList: e.appList,
6671
6682
  onItemClick: e.onItemClick ? i : void 0,
6672
6683
  baseClassName: `${t}-simple`
6673
- }, null)) : a(n(Hn, {
6684
+ }, null)) : a(n(jn, {
6674
6685
  hashId: o.value,
6675
6686
  appList: e.appList,
6676
6687
  onItemClick: e.onItemClick ? i : void 0,
@@ -6681,10 +6692,10 @@ const rs = /* @__PURE__ */ j({
6681
6692
  });
6682
6693
  export {
6683
6694
  ss as AppsLogoList,
6684
- pn as BaseMenu,
6695
+ Cn as BaseMenu,
6685
6696
  Zo as DefaultHeader,
6686
6697
  ts as GProLayout,
6687
- Kt as GlobalFooter,
6698
+ Wt as GlobalFooter,
6688
6699
  os as PageContainer,
6689
6700
  so as PageLoading,
6690
6701
  ns as PageLock,
@@ -6692,7 +6703,7 @@ export {
6692
6703
  as as RightContent,
6693
6704
  bi as SearchPageInput,
6694
6705
  ls as SettingDrawer,
6695
- Vt as SiderMenuWrapper,
6706
+ Gt as SiderMenuWrapper,
6696
6707
  Tt as animateSeting,
6697
6708
  st as baseMenuProps,
6698
6709
  Xo as checkThemeStatus,
@@ -6700,14 +6711,14 @@ export {
6700
6711
  Bn as coverToNewToken,
6701
6712
  to as defaultContextKey,
6702
6713
  jo as filterTree,
6703
- $n as findLastKey,
6714
+ Mn as findLastKey,
6704
6715
  Do as flatMap,
6705
- Rn as getLastPath,
6716
+ $n as getLastPath,
6706
6717
  Ho as getMatchedList,
6707
6718
  No as getMenuData,
6708
6719
  Ao as getMenuFirstChildren,
6709
6720
  _o as handleThemeConfig,
6710
- wn as hanlePathKey,
6721
+ Rn as hanlePathKey,
6711
6722
  no as provideProLayoutContext,
6712
6723
  Vo as removeDuplicatesByName,
6713
6724
  is as useLayoutMenu,