@gx-design-vue/pro-layout 0.1.0-beta.81 → 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,15 +1,15 @@
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 Qt, nextTick as xt, watchEffect as Kn, onMounted as Zt, 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 St, Tabs as It, Menu as ge, Dropdown as ht, Layout as We, Popover as Xn, Badge as Vn, ConfigProvider as wt, Drawer as Qe, Avatar as Jt, Form as Nt, Input as en, Button as Ze, Empty as zt, MenuItem as Dt, 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 Rt, isImg as ra, isArray as $t, 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 Ce, resetComponent as ba, Keyframe as x, 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 At, EnterOutlined as Ha, ArrowUpOutlined as Ht, 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";
12
- import { useProAppContext as Mt } from "@gx-design-vue/pro-app";
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
+ 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";
15
15
  import Ga, { GProModal as Ya } from "@gx-design-vue/pro-modal";
@@ -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 jt } 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
- }], Et = /* @__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
  }));
@@ -447,7 +447,7 @@ const Te = {
447
447
  },
448
448
  loading: q.bool.def(!1),
449
449
  ...ao
450
- }, Lt = {
450
+ }, Ot = {
451
451
  dark: {
452
452
  type: [Boolean, String],
453
453
  default: void 0
@@ -455,10 +455,10 @@ const Te = {
455
455
  onDarkChange: Function,
456
456
  "onUpdate:dark": Function
457
457
  }, He = {
458
- ...Lt,
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(),
@@ -582,17 +582,17 @@ const ro = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
582
582
  slots: t,
583
583
  attrs: a
584
584
  }) {
585
- const o = Mt();
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",
592
592
  textAlign: "center",
593
593
  ...i
594
594
  }
595
- }, [n(St, te(e, {
595
+ }, [n(It, te(e, {
596
596
  indicator: l || ((s = o == null ? void 0 : o.indicator) == null ? void 0 : s.value)
597
597
  }), null)]) : null;
598
598
  };
@@ -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
  }, {
@@ -795,8 +795,8 @@ function go(e, t) {
795
795
  function yo(e) {
796
796
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
797
797
  }
798
- const bo = It.TabPane, vo = ge.Item;
799
- function K(e) {
798
+ const bo = wt.TabPane, vo = ge.Item;
799
+ function U(e) {
800
800
  return e.name;
801
801
  }
802
802
  const po = /* @__PURE__ */ j({
@@ -808,44 +808,44 @@ 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(), {
815
815
  contentFullScreen: r,
816
- levelMenuData: g,
817
- flatMenuData: h,
818
- layout: d,
819
- splitMenus: m,
820
- getPrefixCls: S
821
- } = le(), y = S({
816
+ levelMenuData: h,
817
+ flatMenuData: g,
818
+ layout: f,
819
+ splitMenus: d,
820
+ getPrefixCls: y
821
+ } = le(), b = y({
822
822
  isPor: !0,
823
823
  suffixCls: "tabs-route"
824
824
  }), {
825
825
  wrapSSR: u,
826
- hashId: C
827
- } = uo(y), b = at(y, {
826
+ hashId: x
827
+ } = uo(b), v = at(b, {
828
828
  fixed: [],
829
829
  normal: []
830
- }), c = ve({
831
- fixed: o.value && ((xe = b.value) != null && xe.fixed) ? (Ne = b.value) == null ? void 0 : Ne.fixed : [],
832
- normal: o.value && ((Ie = b.value) != null && Ie.normal) ? (we = b.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, (p) => {
835
- b.value = p ? Se(c) : {
834
+ ne(o, (C) => {
835
+ v.value = C ? Se(c) : {
836
836
  fixed: [],
837
837
  normal: []
838
838
  };
839
839
  });
840
- const v = R(() => c.fixed.concat(c.normal)), f = R(() => d.value === "mix" && !e.isMobile && m.value), w = R(() => K(s.currentRoute.value)), z = R(() => a.value && !t.value), $ = R(() => {
841
- const p = !(f.value && se(h.value).length === 0 || g.value.length === 0 || d.value === "top");
842
- return z.value && p ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
843
- }), I = R(() => Q(`${y}-wrap`, {
844
- [`${C.value}`]: !0,
845
- [`${y}-wrap-fixed`]: a.value,
846
- [`${y}-wrap-loading`]: e.loading
847
- })), B = R(() => {
848
- const p = {
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
+ }), I = R(() => Q(`${b}-wrap`, {
844
+ [`${x.value}`]: !0,
845
+ [`${b}-wrap-fixed`]: a.value,
846
+ [`${b}-wrap-loading`]: e.loading
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
- ...p
858
- } : p;
857
+ ...C
858
+ } : C;
859
859
  });
860
- ne(() => c, (p) => {
861
- var M;
862
- o.value && (b.value = Se(p)), (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 = (p) => {
867
- let M = c.fixed.find((N) => K(N) === p);
868
- return M || (M = c.normal.find((N) => K(N) === p)), M;
869
- }, O = (p) => K(p) === w.value, T = (p) => {
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 = p == null ? void 0 : p.meta) == null ? void 0 : N.tabState) || {};
874
- return p != null && p.meta ? ae(M) ? M : M === 0 : !1;
875
- }, U = (p) => {
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 = p == null ? void 0 : p.meta) == null ? void 0 : N.tabState) || {};
880
- if (p.name && p.meta && M !== !0) {
881
- const D = T(p), A = K(p), 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: p.path,
884
- fullPath: p.fullPath,
885
- query: p.query,
886
- params: p.params,
887
- meta: be(p.meta, {
888
- tabState: (G = p.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(p) && (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
- }, _ = (p) => {
894
- p.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(() => g.value, (p) => {
899
- _(p);
898
+ ne(() => h.value, (C) => {
899
+ E(C);
900
900
  }, {
901
901
  deep: !0,
902
902
  immediate: !0
903
- }), ne(() => s.currentRoute.value, (p) => {
904
- U(p);
903
+ }), ne(() => s.currentRoute.value, (C) => {
904
+ X(C);
905
905
  }, {
906
906
  deep: !0,
907
907
  immediate: !0
908
908
  });
909
- const X = (p) => {
910
- const M = v.value.find((N) => (p || 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 = (p, {
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(p) ? "fixed" : "normal";
918
- M === "add" && N ? c[D][N](G) : M === "merge" ? c[D] = c[D].map((A) => K(A) === K(p) ? be(A, G) : A) : M === "remove" && (c[D] = c[D].filter((A) => K(A) !== K(p)));
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 p = v.value.slice(-1)[0];
921
- p ? s.push({
922
- path: X(K(p))
920
+ const C = p.value.slice(-1)[0];
921
+ C ? s.push({
922
+ path: K(U(C))
923
923
  }) : s.push("/");
924
- }, L = async (p) => {
925
- const M = v.value.find((N) => p === 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 = (p) => {
931
- const M = v.value.find((N) => K(N) === p);
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 p;
937
- i.value = !0, e.onReloadPage && ((p = e.onReloadPage) == null || p.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 = (p) => l[p], ee = (p) => {
941
- const M = v.value.find((N) => K(N) === E(p));
942
- l.activeKey !== E(p) && (c.normal.length > 0 ? k(K(M)) || s.push(X(E(p))) : de());
943
- }, ye = (p, M) => {
944
- let N = c.normal.findIndex((A) => K(A) === E(M));
945
- const G = v.value.find((A) => K(A) === E(M)), D = T(G);
946
- switch (p) {
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 = (p, M) => {
988
- const N = v.value.findIndex((G) => K(G) === M);
989
- if (p === "closeOthersTabs")
990
- return v.value.filter((D, A) => A !== N && !T(D)).length === 0;
991
- if (p === "closeLeftTabs")
992
- return v.value.filter((D, A) => A < N && !T(D)).length === 0;
993
- if (p === "closeRightTabs")
994
- return v.value.filter((D, A) => A > N && !T(D)).length === 0;
995
- }, Y = (p) => {
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
- } = p;
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: p
1029
+ router: C
1030
1030
  }) => {
1031
- const M = e.itemRender ? e.itemRender(p) : null, N = T(p);
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(p) || "",
1035
+ name: U(C) || "",
1036
1036
  stateType: "contextMenuActiveKey"
1037
1037
  }, null),
1038
1038
  onOpenChange: (G) => {
1039
- l.contextMenuActiveKey = G && K(p) || "";
1039
+ l.contextMenuActiveKey = G && U(C) || "";
1040
1040
  }
1041
1041
  }, {
1042
1042
  default: () => {
1043
1043
  var G;
1044
- return [M || n("div", {
1045
- class: [`${y}-title`, C.value]
1046
- }, [l.activeKey === K(p) && n(vt, {
1047
- class: [`${y}-reload-btn`, C.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 = p.meta) == null ? void 0 : G.title, N && n(_e, {
1053
- class: [`${y}-icon`, C.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), v.value.length > 1 && !T(p) && n(lt, {
1056
- class: [`${y}-close-btn`, C.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(p) || "");
1058
+ D.stopPropagation(), !i.value && L(U(C) || "");
1059
1059
  }
1060
1060
  }, null)])];
1061
1061
  }
1062
1062
  });
1063
1063
  };
1064
1064
  return () => {
1065
- const p = r.value ? ln : rn;
1066
- return u(n(J, null, [a.value && jn(n("div", {
1067
- class: [`${y}-fixed`, C.value]
1068
- }, null), [[En, e.visible]]), n(It, {
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: () => [v.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(`${y}-dropdown-menu`, C.value)
1084
+ class: Q(`${b}-dropdown-menu`, x.value)
1085
1085
  }, [n(vt, {
1086
- class: [`${y}-dropdown-menu-btn`, C.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: [`${y}-dropdown-menu-btn-divider`, C.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,24 +1094,24 @@ const po = /* @__PURE__ */ j({
1094
1094
  }, null)
1095
1095
  }, {
1096
1096
  default: () => [n(Fa, {
1097
- class: [`${y}-dropdown-menu-btn`, C.value]
1097
+ class: [`${b}-dropdown-menu-btn`, x.value]
1098
1098
  }, null)]
1099
1099
  }), n("div", {
1100
- class: [`${y}-dropdown-menu-btn-divider`, C.value]
1101
- }, null), n(p, {
1102
- class: [`${y}-dropdown-menu-btn`, C.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
  };
1107
1107
  }
1108
1108
  }), {
1109
1109
  Content: Co
1110
- } = We, Ot = (e, {
1110
+ } = We, Ft = (e, {
1111
1111
  slots: t,
1112
1112
  attrs: a
1113
1113
  }) => {
1114
- var d;
1114
+ var f;
1115
1115
  const {
1116
1116
  hashId: o,
1117
1117
  prefixCls: i,
@@ -1120,32 +1120,32 @@ const po = /* @__PURE__ */ j({
1120
1120
  ...r
1121
1121
  } = e;
1122
1122
  if (e.isChildrenLayout)
1123
- return (d = t.default) == null ? void 0 : d.call(t);
1123
+ return (f = t.default) == null ? void 0 : f.call(t);
1124
1124
  const {
1125
- flatMenuData: g,
1126
- layout: h
1125
+ flatMenuData: h,
1126
+ layout: g
1127
1127
  } = le();
1128
1128
  return n(J, null, [n(po, te({
1129
- visible: l ? s ? !0 : h.value === "mix" ? g.value.length > 0 : !0 : !1
1129
+ visible: l ? s ? !0 : g.value === "mix" ? h.value.length > 0 : !0 : !1
1130
1130
  }, r), null), n(Co, {
1131
1131
  style: a.style,
1132
1132
  class: [`${i}-content`]
1133
1133
  }, {
1134
1134
  default: () => {
1135
- var m;
1135
+ var d;
1136
1136
  return [e.loading && n(so, null, null), n("div", {
1137
1137
  class: [`${i}-content-spin-container`, o],
1138
1138
  style: {
1139
1139
  opacity: e.loading ? "0" : void 0
1140
1140
  }
1141
- }, [(m = t.default) == null ? void 0 : m.call(t)])];
1141
+ }, [(d = t.default) == null ? void 0 : d.call(t)])];
1142
1142
  }
1143
1143
  })]);
1144
1144
  };
1145
- Ot.inheritAttrs = !1;
1146
- Ot.displayName = "wrap-content";
1145
+ Ft.inheritAttrs = !1;
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,13 +1464,13 @@ const xo = (e) => {
1464
1464
  }), {
1465
1465
  wrapSSR: o,
1466
1466
  hashId: i
1467
- } = fe("AppsLogoIcon", [$o], a), [l, s] = pe(!1), r = me(), g = me();
1467
+ } = fe("AppsLogoIcon", [$o], a), [l, s] = Ce(!1), r = me(), h = me();
1468
1468
  return () => {
1469
- var h;
1469
+ var g;
1470
1470
  return o(n(J, null, [n("div", {
1471
1471
  ref: r,
1472
- onClick: (d) => {
1473
- d.stopPropagation(), d.preventDefault();
1472
+ onClick: (f) => {
1473
+ f.stopPropagation(), f.preventDefault();
1474
1474
  }
1475
1475
  }, null), n(Xn, {
1476
1476
  placement: "bottomRight",
@@ -1480,13 +1480,13 @@ const xo = (e) => {
1480
1480
  open: l.value,
1481
1481
  onOpenChange: s,
1482
1482
  overlayClassName: `${a}-popover ${i.value}`.trim(),
1483
- content: (h = t.default) == null ? void 0 : h.call(t),
1483
+ content: (g = t.default) == null ? void 0 : g.call(t),
1484
1484
  getPopupContainer: () => r.value || document.body
1485
1485
  }, {
1486
1486
  default: () => [n("span", {
1487
- ref: g,
1488
- onClick: (d) => {
1489
- d.stopPropagation();
1487
+ ref: h,
1488
+ onClick: (f) => {
1489
+ f.stopPropagation();
1490
1490
  },
1491
1491
  class: Q(`${a}-icon`, i.value, {
1492
1492
  [`${a}-icon-active`]: l.value
@@ -1508,7 +1508,7 @@ const et = (e) => {
1508
1508
  if (!t)
1509
1509
  return null;
1510
1510
  if (typeof t == "string" && t !== "") {
1511
- if (Rt(t) || ra(t))
1511
+ if ($t(t) || ra(t))
1512
1512
  return n("img", {
1513
1513
  src: t,
1514
1514
  alt: "icon",
@@ -1527,9 +1527,9 @@ const et = (e) => {
1527
1527
  }
1528
1528
  if (Le(t))
1529
1529
  return t;
1530
- const i = Qt(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"),
@@ -1543,90 +1543,90 @@ const et = (e) => {
1543
1543
  } = le(), o = a({
1544
1544
  suffixCls: "menu-item",
1545
1545
  isPor: !0
1546
- }), i = R(() => y(e.menuData)), l = (u) => {
1547
- var C;
1548
- (C = e.onOpenKeys) == null || C.call(e, u);
1546
+ }), i = R(() => b(e.menuData)), l = (u) => {
1547
+ var x;
1548
+ (x = e.onOpenKeys) == null || x.call(e, u);
1549
1549
  }, s = (u) => {
1550
- var C;
1551
- (C = e.onSelect) == null || C.call(e, u);
1550
+ var x;
1551
+ (x = e.onSelect) == null || x.call(e, u);
1552
1552
  }, r = (u) => {
1553
- var C;
1554
- (C = e.onClick) == null || C.call(e, u);
1555
- }, g = (u, C) => {
1556
- var v;
1557
- const b = u.link || "", c = Rt(b);
1558
- ((v = t.currentRoute.value) == null ? void 0 : v.fullPath) !== C.to && c && b && u.linkStatus === 1 && window.open(b);
1559
- }, h = Qt("router-link"), d = (u, C) => {
1560
- var f;
1561
- const b = Fe(u == null ? void 0 : u.icon), c = typeof u.badge == "function" ? n("div", {
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
+ var m;
1561
+ const v = Fe(u == null ? void 0 : u.icon), c = typeof u.badge == "function" ? n("div", {
1562
1562
  class: `${o}-item-bradde`
1563
- }, [(f = u.badge) == null ? void 0 : f.call(u, $e(u, "badge"))]) : null, v = n("span", {
1564
- class: [`${o}-title`, !b && `${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 C ? v : n(J, null, [v, 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
- }, m = (u) => {
1571
- var $, I, B;
1572
- let C;
1573
- const b = {
1570
+ }, d = (u) => {
1571
+ var $, I, M;
1572
+ let x;
1573
+ const v = {
1574
1574
  ...u.meta
1575
- }, c = b.linkStatus === 1 && b.link ? "a" : h, v = {
1575
+ }, c = v.linkStatus === 1 && v.link ? "a" : g, p = {
1576
1576
  to: ca(u.redirect) ? u.redirect : u.path || ""
1577
- }, f = Fe(($ = u.meta) == null ? void 0 : $.icon), w = n(c, te(v, {
1577
+ }, m = Fe(($ = u.meta) == null ? void 0 : $.icon), w = n(c, te(p, {
1578
1578
  class: "gx-pro-menu-item",
1579
- onClick: () => g(b, v)
1580
- }), mt(C = d(b, !f)) ? C : {
1581
- default: () => [C]
1582
- }), z = f && n(et, {
1579
+ onClick: () => h(v, p)
1580
+ }), mt(x = f(v, !m)) ? x : {
1581
+ default: () => [x]
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
- }, S = (u) => {
1590
- var c, v, f, w, z, $, I, B;
1591
- if ($t(u.children) && !((c = u == null ? void 0 : u.meta) != null && c.hideInMenu) && !((v = u == null ? void 0 : u.meta) != null && v.hideChildrenInMenu)) {
1592
- let k;
1589
+ }, y = (u) => {
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
- children: y(u.children)
1596
+ children: b(u.children)
1597
1597
  });
1598
- const O = (f = u.meta) != null && f.icon ? n("span", {
1598
+ const X = (z = u.meta) != null && z.icon ? n("span", {
1599
1599
  class: "gx-pro-menu-item"
1600
- }, [d(u.meta)]) : u.meta && d(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 = y(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 [C, b] = m(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
- title: C,
1619
- icon: b
1618
+ title: v,
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: b
1624
- }, mt(C) ? C : {
1625
- default: () => [C]
1623
+ icon: c
1624
+ }, mt(v) ? v : {
1625
+ default: () => [v]
1626
1626
  });
1627
1627
  };
1628
- function y(u = []) {
1629
- return u.map((C) => S(C)).filter((C) => C);
1628
+ function b(u = []) {
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 x("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,9 +1805,9 @@ 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
- }, Ft = /* @__PURE__ */ j({
1810
+ }, kt = /* @__PURE__ */ j({
1804
1811
  name: "LogoContent",
1805
1812
  props: {
1806
1813
  ...Ja,
@@ -1835,10 +1842,10 @@ const et = (e) => {
1835
1842
  };
1836
1843
  }
1837
1844
  });
1838
- Ft.inheritAttrs = !1;
1839
- const Sn = (e) => {
1845
+ kt.inheritAttrs = !1;
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) => {
1970
- var r, g;
1971
- const l = ((r = o.meta) == null ? void 0 : r.order) || 0, s = ((g = i.meta) == null ? void 0 : g.order) || 0;
1976
+ }), wn = (e, t, a) => e.sort((o, i) => {
1977
+ var r, h;
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,7 +1989,7 @@ 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,
@@ -1993,11 +2000,12 @@ function zo(e) {
1993
2000
  const t = /* @__PURE__ */ new Map(), a = [];
1994
2001
  function o(l) {
1995
2002
  return l.map((s) => {
1996
- const r = s.path, g = s.name, h = t.has(g) && t.get(g) !== r;
1997
- if (s.hidden || !g || h)
1998
- return (!g || h) && (a.some((d) => d.name === g && r === s.path) || a.push({ ...s })), null;
1999
- if (t.set(g, r), s && (s != null && s.children))
2000
- if (s.hideChildren)
2003
+ var f, d;
2004
+ const r = s.path, h = s.name, g = t.has(h) && t.get(h) !== r;
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;
2007
+ if (t.set(h, r), s && (s != null && s.children))
2008
+ if ((d = s == null ? void 0 : s.meta) != null && d.hideChildren)
2001
2009
  s.children = [];
2002
2010
  else
2003
2011
  return {
@@ -2011,23 +2019,26 @@ 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 g;
2024
- return !r.hidden && !((g = r.meta) != null && g.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) {
2028
- var h;
2029
- let g = "";
2030
- return r != null && r.children && (r == null ? void 0 : r.children.length) > 0 ? g = i((h = r == null ? void 0 : r.children) == null ? void 0 : h[0]) : g = (r == null ? void 0 : r.redirect) || (r == null ? void 0 : r.path) || "", g;
2039
+ var g;
2040
+ let h = "";
2041
+ return r != null && r.children && (r == null ? void 0 : r.children.length) > 0 ? h = i((g = r == null ? void 0 : r.children) == null ? void 0 : g[0]) : h = (r == null ? void 0 : r.redirect) || (r == null ? void 0 : r.path) || "", h;
2031
2042
  };
2032
2043
  if (t.length > 0 && (a != null && a.children) && ((l = a == null ? void 0 : a.children) == null ? void 0 : l.length) > 0)
2033
2044
  o = i((s = a == null ? void 0 : a.children) == null ? void 0 : s[0]);
@@ -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 S, y, u, C;
2061
- const i = t.find((b) => b.name === o), l = (i == null ? void 0 : i.key) || "", s = (S = i == null ? void 0 : i.meta) == null ? void 0 : S.hideInMenu;
2062
- let r = ((y = t.find((b) => b.path === a)) == null ? void 0 : y.key) || "";
2063
- const g = !r || s, h = l.split("-").slice(0, -1).join("-"), d = t.find((b) => b.key === h), m = $n(e, h) || r;
2064
- if (r = g ? (u = d == null ? void 0 : d.meta) != null && u.menuSelectKey && ((C = t.find((b) => b.path === wn(d))) == null ? void 0 : C.key) || m : r, r) {
2065
- const b = [], c = r.split("-");
2066
- for (let f = 0; f < c.length; f += 1)
2067
- b.push(Se(c).splice(0, f + 1).join("-"));
2068
- const v = l === r || s ? [] : t.filter((f) => l === f.key);
2069
- return t.filter((f) => b.some((w) => w === (f == null ? void 0 : f.key) || "")).concat(v);
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("-");
2077
+ for (let m = 0; m < c.length; m += 1)
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
  }
@@ -2079,7 +2090,7 @@ function jo(e, t) {
2079
2090
  } : null;
2080
2091
  }).filter((a) => a !== null);
2081
2092
  }
2082
- const Eo = ["left", "right"], Ee = ["left", "right", "down", "up"], Ko = ["downBig", "upBig", "leftBig", "rightBig"], Wo = ["topLeft", "bottomRight", "topRight", "bottomLeft"], Uo = ["downLeft", "upRight", "downRight", "upLeft"], kt = {
2093
+ const Eo = ["left", "right"], Ee = ["left", "right", "down", "up"], Ko = ["downBig", "upBig", "leftBig", "rightBig"], Wo = ["topLeft", "bottomRight", "topRight", "bottomLeft"], Uo = ["downLeft", "upRight", "downRight", "upLeft"], Tt = {
2083
2094
  preset: [
2084
2095
  // 预设动画配置
2085
2096
  { name: "back", alias: "渐近", directions: Ee },
@@ -2108,8 +2119,8 @@ const Eo = ["left", "right"], Ee = ["left", "right", "down", "up"], Ko = ["downB
2108
2119
  colorItemTextSelectedHorizontal: "colorTextMenuSelected"
2109
2120
  };
2110
2121
  function Bn({ type: e, token: t, dark: a, staticToken: o }) {
2111
- var g, h;
2112
- const i = (g = t.layout) == null ? void 0 : g[e], l = it(e, t, ((h = t.layout) == null ? void 0 : h.key) || ""), s = Object.keys(ft).reduce((d, m) => (d[m] = i[ft[m]] || l[ft[m]], d), {}), r = Object.assign(o, Object.fromEntries(Object.entries(s).filter(([d, m]) => m !== void 0)));
2122
+ var h, g;
2123
+ const i = (h = t.layout) == null ? void 0 : h[e], l = it(e, t, ((g = t.layout) == null ? void 0 : g.key) || ""), s = Object.keys(ft).reduce((f, d) => (f[d] = i[ft[d]] || l[ft[d]], f), {}), r = Object.assign(o, Object.fromEntries(Object.entries(s).filter(([f, d]) => d !== void 0)));
2113
2124
  return a && e === "header" && (r.colorActiveBarHeight = 0), r;
2114
2125
  }
2115
2126
  function _o(e) {
@@ -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 Kt(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), Wt = /* @__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) {
@@ -2141,33 +2152,33 @@ const {
2141
2152
  openKeys: l,
2142
2153
  menuState: s,
2143
2154
  contentFullScreen: r
2144
- } = le(), g = Mt(), {
2145
- token: h
2155
+ } = le(), h = Lt(), {
2156
+ token: g
2146
2157
  } = Oe(), {
2147
- theme: d,
2148
- layout: m,
2149
- isMobile: S,
2150
- menuLoading: y,
2158
+ theme: f,
2159
+ layout: d,
2160
+ isMobile: y,
2161
+ menuLoading: b,
2151
2162
  breakpoint: u,
2152
- fixSiderbar: C,
2153
- fixedHeader: b,
2163
+ fixSiderbar: x,
2164
+ fixedHeader: v,
2154
2165
  collapsed: c,
2155
- siderWidth: v,
2156
- collapsedWidth: f,
2166
+ siderWidth: p,
2167
+ collapsedWidth: m,
2157
2168
  menuContentRender: w,
2158
2169
  menuFooterRender: z,
2159
2170
  collapsedButtonRender: $
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(() => m.value === "side" || m.value === "simple"), T = R(() => e.isMobile || B.value ? !1 : C.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(() => m.value === "top" ? [] : i.value), de = R(() => e.collapsed ? f.value : v.value), L = R(() => Q([X.value, I, S.value ? "shadow" : null, `${I}-${d.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
  }
@@ -2193,12 +2204,12 @@ const {
2193
2204
  var Y;
2194
2205
  if ($.value === !1) return null;
2195
2206
  const H = n(Po, {
2196
- isMobile: S.value,
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;
@@ -2212,14 +2223,14 @@ const {
2212
2223
  return () => {
2213
2224
  var we;
2214
2225
  let H;
2215
- const Y = O.value && n(Ft, te({
2216
- hashId: X.value,
2226
+ const Y = O.value && n(kt, te({
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,17 +2242,17 @@ const {
2231
2242
  style: {
2232
2243
  width: "100%"
2233
2244
  },
2234
- onOpenKeys: (p) => {
2235
- var M;
2236
- return e.onOpenKeys && ((M = e.onOpenKeys) == null ? void 0 : M.call(e, p));
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(wt, {
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({
2244
- token: (h == null ? void 0 : h.value) || {},
2255
+ token: (g == null ? void 0 : g.value) || {},
2245
2256
  staticToken: {
2246
2257
  radiusItem: 4,
2247
2258
  colorActiveBarWidth: 0,
@@ -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 && b.value && m.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: v.value,
2280
- collapsedWidth: f.value
2290
+ width: p.value,
2291
+ collapsedWidth: m.value
2281
2292
  }, {
2282
2293
  default: () => {
2283
- var p, M, N, G;
2284
- return [y.value && n("div", {
2285
- class: ["gx-pro-sider-loading", X.value]
2286
- }, [n(St, {
2287
- spinning: y.value,
2288
- indicator: (p = g == null ? void 0 : g.indicator) == null ? void 0 : p.value
2294
+ var C, B, N, G;
2295
+ return [b.value && n("div", {
2296
+ class: ["gx-pro-sider-loading", K.value]
2297
+ }, [n(It, {
2298
+ spinning: b.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) && $t(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
- }, Kt(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
- }, Kt(D) ? D : {
2319
+ }, Ut(D) ? D : {
2309
2320
  default: () => [D]
2310
2321
  }))) ? H : {
2311
2322
  default: () => [H]
2312
- })]), S.value ? null : n("div", {
2313
- class: Q(`${I}-actions`, X.value)
2323
+ })]), y.value ? null : n("div", {
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}`
2319
- }, [(G = z.value) == null ? void 0 : G.call(z, e)]), r.value || m.value === "wide" ? null : ee.value];
2329
+ class: `${I}-footer ${K.value}`
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
@@ -2343,29 +2354,29 @@ const {
2343
2354
  openKeys: l,
2344
2355
  selectedKeys: s,
2345
2356
  menuState: r
2346
- } = le(), g = i({
2357
+ } = le(), h = i({
2347
2358
  suffixCls: "global-header",
2348
2359
  isPor: !0
2349
2360
  }), {
2350
- wrapSSR: h,
2351
- hashId: d
2352
- } = fe("ProGlobalHeader", [xo, Sn], g), m = R(() => ({
2353
- [`${d.value}`]: !0,
2354
- [`${g}`]: !0,
2355
- [`${g}-${e.layout}`]: !0
2356
- })), S = (b, c, v) => {
2361
+ wrapSSR: g,
2362
+ hashId: f
2363
+ } = fe("ProGlobalHeader", [xo, In], h), d = R(() => ({
2364
+ [`${f.value}`]: !0,
2365
+ [`${h}`]: !0,
2366
+ [`${h}-${e.layout}`]: !0
2367
+ })), y = (v, c, p) => {
2357
2368
  var $;
2358
- const f = a.currentRoute.value, w = f.matched.concat(), z = e.layout === "mix";
2359
- if (e.onSelect && b === "select") {
2360
- const I = ($ = e.menuData.find((B) => B.path === v)) == null ? void 0 : $.redirect;
2361
- e.onSelect(z && I ? w.filter((B) => B.name !== "index").map((B) => B.path) : c);
2369
+ const m = a.currentRoute.value, w = m.matched.concat(), z = e.layout === "mix";
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 && b === "openKeys" && e.onOpenKeys(z ? w.filter((I) => I.path !== f.path).map((I) => I.path) : c);
2364
- }, y = () => {
2374
+ e.onOpenKeys && v === "openKeys" && e.onOpenKeys(z ? w.filter((I) => I.path !== m.path).map((I) => I.path) : c);
2375
+ }, b = () => {
2365
2376
  t("collapse", !e.collapsed);
2366
- }, u = R(() => e.collapsedButtonRender || Mn), C = () => {
2377
+ }, u = R(() => e.collapsedButtonRender || Ln), x = () => {
2367
2378
  var c;
2368
- const b = 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
  }
@@ -2373,8 +2384,8 @@ const {
2373
2384
  style: {
2374
2385
  flex: 1
2375
2386
  },
2376
- class: [`${g}-menu`, d.value]
2377
- }, [((c = e.menuData) == null ? void 0 : c.length) > 0 && n(wt, {
2387
+ class: [`${h}-menu`, f.value]
2388
+ }, [((c = e.menuData) == null ? void 0 : c.length) > 0 && n(Rt, {
2378
2389
  theme: {
2379
2390
  components: {
2380
2391
  Layout: {
@@ -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,
@@ -2408,47 +2419,47 @@ const {
2408
2419
  subMenuItemRender: e.subMenuItemRender,
2409
2420
  class: {
2410
2421
  "top-nav-menu": e.mode === "horizontal",
2411
- [`${d.value}`]: !0
2422
+ [`${f.value}`]: !0
2412
2423
  },
2413
- onSelect: (v) => S("select", v.selectedKeys, v.key),
2414
- onOpenKeys: (v) => S("openKeys", v)
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, [b, 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 b = 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
- class: [`${g}-logo`, e.isMobile && "mobile", d.value]
2430
- }, [n("a", null, [xn(e.logo, e.logoStyle)])]);
2431
- return h(n("div", {
2432
- class: m.value
2433
- }, [e.isMobile ? n(J, null, [qo(e.logoContentRender, b), e.isMobile && se(u) && n("span", {
2434
- class: `${g}-collapsed-button ${d.value}`,
2435
- onClick: y
2436
- }, [se(u)(e.collapsed)]), C()]) : Yo.includes(e.layout) ? n("div", {
2437
- class: `${g}-main ${d.value}`,
2440
+ class: [`${h}-logo`, e.isMobile && "mobile", f.value]
2441
+ }, [n("a", null, [Sn(e.logo, e.logoStyle)])]);
2442
+ return g(n("div", {
2443
+ class: d.value
2444
+ }, [e.isMobile ? n(J, null, [qo(e.logoContentRender, v), e.isMobile && se(u) && n("span", {
2445
+ class: `${h}-collapsed-button ${f.value}`,
2446
+ onClick: b
2447
+ }, [se(u)(e.collapsed)]), x()]) : Yo.includes(e.layout) ? n("div", {
2448
+ class: `${h}-main ${f.value}`,
2438
2449
  style: {
2439
2450
  width: Ae(e.headerMainWidth)
2440
2451
  }
2441
2452
  }, [n("div", {
2442
- class: `${g}-main-left ${d.value}`
2443
- }, [e.layout !== "wide" && e.appLogoListRender && n(vn, null, {
2453
+ class: `${h}-main-left ${f.value}`
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];
2447
2458
  }
2448
- }), n(Ft, te({
2449
- hashId: d.value,
2450
- baseClassName: g
2451
- }, e), null)]), C()]) : C()]));
2459
+ }), n(kt, te({
2460
+ hashId: f.value,
2461
+ baseClassName: h
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: Ut
2460
- } = We, _t = /* @__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,
@@ -2471,30 +2482,30 @@ const {
2471
2482
  dark: s
2472
2483
  } = Oe(), {
2473
2484
  getPrefixCls: r,
2474
- menuData: g,
2475
- contentFullScreen: h,
2476
- menuState: d,
2477
- headerHeight: m
2478
- } = le(), S = r({
2485
+ menuData: h,
2486
+ contentFullScreen: g,
2487
+ menuState: f,
2488
+ headerHeight: d
2489
+ } = le(), y = r({
2479
2490
  suffixCls: "header",
2480
2491
  isPor: !0
2481
- }), y = r({
2492
+ }), b = r({
2482
2493
  suffixCls: "fixed-header",
2483
2494
  isPor: !0
2484
- }), u = R(() => o.value === "wide"), C = R(() => a.value), b = R(() => o.value === "side" || o.value === "simple"), c = R(() => b.value && "light" || d.value.theme), {
2485
- wrapSSR: v,
2486
- hashId: f
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,
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
- [`${O.antCls}-layout-header${O.componentCls}${O.componentCls}-${se(d.value.key)}`]: {
2493
- color: _ ? O.colorWhite : O.colorText,
2494
- backgroundColor: (T == null ? void 0 : T.colorBgMenu) || (U == null ? void 0 : U.colorBgMenu),
2503
+ [`${O.antCls}-layout-header${O.componentCls}${O.componentCls}-${se(f.value.key)}`]: {
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}`]: {
@@ -2535,12 +2546,12 @@ const {
2535
2546
  }
2536
2547
  }
2537
2548
  };
2538
- }, S), w = R(() => ({
2539
- [`${f.value}`]: !0,
2540
- [`${S}`]: !0,
2541
- [`${S}-${d.value.key}`]: !0,
2542
- [`${y}`]: C.value
2543
- })), z = R(() => C.value && !t.value), $ = R(() => l.value && o.value === "mix" ? Do(Se(g.value)) : o.value === "top" ? g.value : []), I = R(() => b.value && z.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), B = R(() => C.value ? 0 : void 0), k = () => {
2549
+ }, y), w = R(() => ({
2550
+ [`${m.value}`]: !0,
2551
+ [`${y}`]: !0,
2552
+ [`${y}-${f.value.key}`]: !0,
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,29 +2563,29 @@ const {
2552
2563
  };
2553
2564
  return () => {
2554
2565
  let O;
2555
- return v(n(J, null, [C.value && !u.value && n(Ut, {
2566
+ return p(n(J, null, [x.value && !u.value && n(Xt, {
2556
2567
  style: {
2557
- height: `${m.value}px`,
2558
- lineHeight: `${m.value}px`,
2568
+ height: `${d.value}px`,
2569
+ lineHeight: `${d.value}px`,
2559
2570
  background: "transparent",
2560
- marginTop: h.value ? `-${m.value}px` : void 0
2571
+ marginTop: g.value ? `-${d.value}px` : void 0
2561
2572
  }
2562
- }, null), n(Ut, {
2573
+ }, null), n(Xt, {
2563
2574
  class: w.value,
2564
2575
  style: {
2565
- height: `${m.value}px`,
2566
- lineHeight: `${m.value}px`,
2576
+ height: `${d.value}px`,
2577
+ lineHeight: `${d.value}px`,
2567
2578
  width: I.value,
2568
- zIndex: b.value ? 100 : 101,
2569
- right: B.value,
2570
- marginTop: h.value ? `-${m.value}px` : void 0
2579
+ zIndex: v.value ? 100 : 101,
2580
+ right: M.value,
2581
+ marginTop: g.value ? `-${d.value}px` : void 0
2571
2582
  }
2572
2583
  }, Jo(O = k()) ? O : {
2573
2584
  default: () => [O]
2574
2585
  })]));
2575
2586
  };
2576
2587
  }
2577
- }), Xt = /* @__PURE__ */ j({
2588
+ }), Gt = /* @__PURE__ */ j({
2578
2589
  name: "SiderMenuWrapper",
2579
2590
  inheritAttrs: !1,
2580
2591
  props: {
@@ -2604,13 +2615,13 @@ const {
2604
2615
  flexDirection: "row"
2605
2616
  }
2606
2617
  }, {
2607
- default: () => [n(Wt, te(e, {
2618
+ default: () => [n(_t, te(e, {
2608
2619
  collapsed: e.isMobile ? !1 : e.collapsed
2609
2620
  }), null)]
2610
- }) : n(Wt, e, null)]);
2621
+ }) : n(_t, e, null)]);
2611
2622
  }
2612
2623
  });
2613
- function Tt(e, { change: t }) {
2624
+ function Pt(e, { change: t }) {
2614
2625
  const { system: a } = ea(), [o, i, l] = De("system", {
2615
2626
  value: R(() => Xe(e.value) ? e.value : "system"),
2616
2627
  onChange: (r) => {
@@ -2626,7 +2637,7 @@ function Tt(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));
@@ -2636,12 +2647,12 @@ function On({ event: e, isDark: t, value: a, toggle: o }) {
2636
2647
  document.startViewTransition(async () => {
2637
2648
  o == null || o(ae(a) || a === "system" ? a : !(t != null && t.value)), await xt();
2638
2649
  }).ready.then(() => {
2639
- const h = [
2650
+ const g = [
2640
2651
  `circle(0px at ${l}px ${s}px)`,
2641
2652
  `circle(${r}px at ${l}px ${s}px)`
2642
2653
  ];
2643
2654
  document.documentElement.animate({
2644
- clipPath: t != null && t.value ? [...h].reverse() : h
2655
+ clipPath: t != null && t.value ? [...g].reverse() : g
2645
2656
  }, {
2646
2657
  duration: 450,
2647
2658
  easing: "ease-in",
@@ -2672,45 +2683,45 @@ html[data-theme="dark"]::view-transition-new(root) {
2672
2683
  window._iconfont_svg_string_4694134 = '<svg><symbol id="icon-fixed" viewBox="0 0 1024 1024"><path d="M540.736 900.608l-208.64-208.64v-0.064h-0.064l-208.64-208.64a304 304 0 0 1 262.656-28.8 41.152 41.152 0 0 0 38.976-6.336l259.328-202.752a40.96 40.96 0 0 0 14.72-41.344 143.68 143.68 0 0 1 13.696-100.8l195.648 195.648a144.448 144.448 0 0 1-100.8 13.696 41.088 41.088 0 0 0-41.408 14.72L568.704 579.776a41.088 41.088 0 0 0-5.44 41.28 305.344 305.344 0 0 1-22.528 279.552z m-528.64 53.312a41.024 41.024 0 0 0 57.984 58.048l233.024-233.024 213.312 213.376a40.96 40.96 0 0 0 28.992 11.968h1.6a41.28 41.28 0 0 0 29.568-14.272 388.224 388.224 0 0 0 71.104-378.048L815.872 396.8a224.512 224.512 0 0 0 183.68-64.832 41.024 41.024 0 0 0 0-57.984L737.536 11.968a41.024 41.024 0 0 0-57.984 0 224.768 224.768 0 0 0-64.832 183.68L391.616 370.176A385.856 385.856 0 0 0 34.048 447.488a40.96 40.96 0 0 0-2.304 60.16l213.376 213.312-233.024 232.96z m0 0" ></path></symbol><symbol id="icon-unpinned" viewBox="0 0 1024 1024"><path d="M1000.445782 331.509251a40.959412 40.959412 0 0 0 0-57.89271L738.842298 12.013057a40.959412 40.959412 0 0 0-57.89271 0 224.414127 224.414127 0 0 0-64.729929 183.390816L393.466912 369.593198A385.248511 385.248511 0 0 0 36.461864 446.783478a40.895513 40.895513 0 0 0-2.300372 60.065285l213.040062 212.976163-232.657129 232.657129a40.959412 40.959412 0 1 0 57.892711 57.89271l232.657128-232.657128 80.513041 80.513041c2.172574-14.377329 5.495335-28.435161 9.840483-41.9818a275.661317 275.661317 0 0 1-4.664644-68.627783l-56.742524-56.742524v-0.063899h-0.0639l-208.311518-208.311519a303.521385 303.521385 0 0 1 262.242476-28.754658 41.087211 41.087211 0 0 0 38.914637-6.326024l258.919716-202.432789a40.895513 40.895513 0 0 0 14.696824-41.278908 143.453791 143.453791 0 0 1 13.674438-100.641302L909.453266 298.409446a144.220582 144.220582 0 0 1-100.641301 13.674437 41.023311 41.023311 0 0 0-41.342808 14.696825L637.753702 492.663132a274.063836 274.063836 0 0 1 97.126843 8.626397l82.110522-105.050349a224.286328 224.286328 0 0 0 183.454715-64.729929z" ></path><path d="M653.089519 511.193911a239.366549 239.366549 0 1 0 0 478.733098 239.366549 239.366549 0 0 0 0-478.733098z m-174.381022 239.366549c0-28.818557 7.028916-56.039633 19.489267-80.001847l260.581097 218.599296a173.486434 173.486434 0 0 1-105.689342 35.783574 174.572721 174.572721 0 0 1-174.381022-174.381023z m307.674835 112.270963l1.469682-1.72528a35.144581 35.144581 0 0 0-1.469682 1.72528z m21.086749-31.374527L546.569488 612.602003a173.486434 173.486434 0 0 1 106.520031-36.422566 174.572721 174.572721 0 0 1 174.381023 174.381023 172.527945 172.527945 0 0 1-20.000461 80.896436z" ></path></symbol><symbol id="icon-anhei" viewBox="0 0 1024 1024"><path d="M398.97 64.12c-0.02 0.02-0.04 0.04-0.05 0.06 0.02 0 0.03-0.01 0.05-0.01v-0.05zM421.78 613.56C273.43 463.81 263.53 225.73 398.92 64.18 166.66 117.34 10.47 335.32 34.82 572.34c33.7 248.91 251.89 430.88 502.8 419.35a501.84 501.84 0 0 0 192.95-43.45 484.233 484.233 0 0 0 159.29-112.16A467.675 467.675 0 0 0 989 672.7c-179.36 116.54-415.76 91.89-567.22-59.14z" ></path><path d="M660.42 278.77a62.323 62.323 0 0 1 37.49 36.01c11.2 28.47 20.09 57.8 26.6 87.7 3.61 15.85 6.86 31.91 10.64 49.36 1.91-9.36 3.35-17.23 5.05-25a727.852 727.852 0 0 1 30.42-108.71 66.904 66.904 0 0 1 43.4-41.11c43.9-14.5 88.9-25.42 134.55-32.66h0.21c0.85-2.71-2.13-1.33-2.82-2.45-18.46-3.78-37.18-7.07-55.68-11.22a495.51 495.51 0 0 1-85.63-25.53 54.54 54.54 0 0 1-29.57-28.14 310.576 310.576 0 0 1-14.68-38.45 983.926 983.926 0 0 1-25.05-103.98l-5 23.67a731.899 731.899 0 0 1-30.74 109.29 68.137 68.137 0 0 1-43.66 41.75 767.933 767.933 0 0 1-101.58 26.97c-11.43 2.39-23.03 4.52-34.57 6.8 11.12 2.87 22.29 4.74 32.92 6.97a693.502 693.502 0 0 1 107.7 28.73zM771.31 516.98a456.433 456.433 0 0 1-60.63-15 35.124 35.124 0 0 1-23.72-22.55 318.968 318.968 0 0 1-9.89-32.71c-2.29-9.52-4.42-18.99-6.54-28.5a44.044 44.044 0 0 0-3.41 10.64 272.599 272.599 0 0 1-17.18 56.91 26.15 26.15 0 0 1-13.67 13.24c-11.1 4.72-22.62 8.38-34.41 10.96l-35.74 7.87c0.9 1.76 2.23 1.76 3.3 1.76 21.98 3.54 43.6 9.1 64.57 16.59 7.77 2.77 14.02 8.7 17.17 16.33 4.91 11.82 8.84 24.02 11.75 36.48 2.45 9.73 4.58 19.57 6.86 29.41a595.34 595.34 0 0 1 17.5-62.06 34.357 34.357 0 0 1 22.71-21.75 434.977 434.977 0 0 1 62.76-15.27l-0.16-0.1c0.91-1.51-0.53-1.72-1.27-2.25z" ></path></symbol><symbol id="icon-liangse" viewBox="0 0 1024 1024"><path d="M510.805433 812.646946A302.737439 302.737439 0 0 1 209.091909 510.76277 302.737439 302.737439 0 0 1 510.805433 209.049246a299.751021 299.751021 0 0 1 301.884176 301.79885 299.751021 299.751021 0 0 1-301.884176 301.884176z m0 0A302.737439 302.737439 0 0 1 209.091909 510.76277 302.737439 302.737439 0 0 1 510.805433 209.049246a299.751021 299.751021 0 0 1 301.884176 301.79885 299.751021 299.751021 0 0 1-301.884176 301.884176z m-383.114741-299.495042c0-2.389134 0-2.389134 0 0 0-16.211982 2.389134-32.509291 2.389135-48.806599H37.15957A39.932672 39.932672 0 0 0 0.042663 501.547538v16.211982c0 20.904925 18.601117 39.506041 37.116907 39.506041h92.920257c-2.303808-13.993501-2.303808-30.205483-2.303808-44.113657z m83.619699-239.169403a400.179985 400.179985 0 0 1 62.714774-62.714773l-32.509291-32.423965c-11.604366-16.297309-37.116907-16.297309-53.414216 0l-9.300558 9.215232a35.325056 35.325056 0 0 0 0 53.414216l32.509291 32.423964z m601.379218 0l30.205483-34.813098c16.211982-11.604366 16.211982-37.202233 0-53.414216L831.120073 174.065495c-11.604366-16.211982-37.116907-16.211982-53.328889 0l-32.509291 32.423964c23.208733 20.990251 46.417465 41.809849 67.32239 67.407716zM510.805433 127.733356c16.211982 0 30.205483 2.303808 46.502791 2.303808V37.116907A39.932672 39.932672 0 0 0 520.105991 0h-16.211982c-20.904925 0-39.506041 18.601117-39.506041 37.116907v95.224065c16.211982-2.303808 30.205483-4.607616 46.417465-4.607616z m471.342055 336.611949H891.701692c2.303808 16.211982 2.303808 30.205483 2.303808 46.417465 0 16.211982 0 30.205483-2.303808 44.113657h90.531122a40.700608 40.700608 0 0 0 39.506041-39.420715v-16.211982c0-16.297309-18.601117-34.898425-39.506041-34.898425zM211.310391 750.017499l-30.205483 32.50929c-16.211982 11.604366-16.211982 37.116907 0 53.414216l11.689692 11.604366c11.604366 16.211982 37.116907 16.211982 53.32889 0l32.509291-32.509291a298.385801 298.385801 0 0 1-67.32239-65.018581z m603.683026-4.607616c-18.601117 25.512541-41.809849 48.721273-67.407716 67.322389l32.594617 32.423965c11.604366 16.297309 37.116907 16.297309 53.414216 0l13.908174-13.908174c16.211982-11.604366 16.211982-37.116907 0-53.32889l-32.509291-32.50929z m-304.187984 148.552953c-13.908174 0-30.120157 0-44.113657-2.303808v92.834931c0 20.904925 16.211982 39.506041 37.202233 39.506041h16.211982c18.601117 0 37.202233-18.601117 37.202233-39.506041V891.659028c-16.211982 2.303808-30.205483 2.303808-46.502791 2.303808z" ></path></symbol></svg>', ((e) => {
2673
2684
  var t = (a = (a = document.getElementsByTagName("script"))[a.length - 1]).getAttribute("data-injectcss"), a = a.getAttribute("data-disable-injectsvg");
2674
2685
  if (!a) {
2675
- var o, i, l, s, r, g = function(m, S) {
2676
- S.parentNode.insertBefore(m, S);
2686
+ var o, i, l, s, r, h = function(d, y) {
2687
+ y.parentNode.insertBefore(d, y);
2677
2688
  };
2678
2689
  if (t && !e.__iconfont__svg__cssinject__) {
2679
2690
  e.__iconfont__svg__cssinject__ = !0;
2680
2691
  try {
2681
2692
  document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
2682
- } catch (m) {
2683
- console && console.log(m);
2693
+ } catch (d) {
2694
+ console && console.log(d);
2684
2695
  }
2685
2696
  }
2686
2697
  o = function() {
2687
- var m, S = document.createElement("div");
2688
- S.innerHTML = e._iconfont_svg_string_4694134, (S = S.getElementsByTagName("svg")[0]) && (S.setAttribute("aria-hidden", "true"), S.style.position = "absolute", S.style.width = 0, S.style.height = 0, S.style.overflow = "hidden", S = S, (m = document.body).firstChild ? g(S, m.firstChild) : m.appendChild(S));
2698
+ var d, y = document.createElement("div");
2699
+ y.innerHTML = e._iconfont_svg_string_4694134, (y = y.getElementsByTagName("svg")[0]) && (y.setAttribute("aria-hidden", "true"), y.style.position = "absolute", y.style.width = 0, y.style.height = 0, y.style.overflow = "hidden", y = y, (d = document.body).firstChild ? h(y, d.firstChild) : d.appendChild(y));
2689
2700
  }, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(o, 0) : (i = function() {
2690
2701
  document.removeEventListener("DOMContentLoaded", i, !1), o();
2691
- }, document.addEventListener("DOMContentLoaded", i, !1)) : document.attachEvent && (l = o, s = e.document, r = !1, d(), s.onreadystatechange = function() {
2692
- s.readyState == "complete" && (s.onreadystatechange = null, h());
2702
+ }, document.addEventListener("DOMContentLoaded", i, !1)) : document.attachEvent && (l = o, s = e.document, r = !1, f(), s.onreadystatechange = function() {
2703
+ s.readyState == "complete" && (s.onreadystatechange = null, g());
2693
2704
  });
2694
2705
  }
2695
- function h() {
2706
+ function g() {
2696
2707
  r || (r = !0, l());
2697
2708
  }
2698
- function d() {
2709
+ function f() {
2699
2710
  try {
2700
2711
  s.documentElement.doScroll("left");
2701
2712
  } catch {
2702
- return void setTimeout(d, 50);
2713
+ return void setTimeout(f, 50);
2703
2714
  }
2704
- h();
2715
+ g();
2705
2716
  }
2706
2717
  })(window);
2707
2718
  const ti = /* @__PURE__ */ j({
2708
2719
  name: "BaseProLayout",
2709
2720
  inheritAttrs: !1,
2710
2721
  components: {
2711
- GlobalHeader: _t,
2712
- GlobalFooter: Et,
2713
- SiderMenuWrapper: Xt
2722
+ GlobalHeader: Vt,
2723
+ GlobalFooter: Wt,
2724
+ SiderMenuWrapper: Gt
2714
2725
  },
2715
2726
  props: {
2716
2727
  ...He,
@@ -2730,45 +2741,45 @@ 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(), g = me(bt().uuid(10)), h = me(!1), d = me(!1), m = me(!1), S = ve({
2747
+ } = Oe(), h = me(bt().uuid(10)), g = me(!1), f = me(!1), d = me(!1), y = pe({
2737
2748
  position: "relative"
2738
- }), y = R(() => {
2739
- var B;
2740
- return (B = s == null ? void 0 : s.value) == null ? void 0 : B.colorPrimary;
2749
+ }), b = R(() => {
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 && (y.value && B.style.setProperty("--gx-primary-color", y.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), C = R(() => {
2747
- var B;
2748
- return e.levelMenuData && ((B = e.levelMenuData) != null && B.length) ? e.levelMenuData : Bt(e.menuData);
2749
- }), b = 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
- })), v = R(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !b.value), f = 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
- })), w = R(() => u.value && e.selectedKeys ? Ao(e.menuData, e.selectedKeys[0]) : []), z = R(() => Ue(e.headerHeight) ? e.headerHeight : Z.headerHeight), $ = yt(() => m.value ? 0 : Ue(e.siderWidth) ? e.siderWidth : e.layout === "mix" ? 215 : e.layout === "wide" ? 208 : 256, [() => e.layout, () => e.siderWidth, () => m.value]);
2756
- ne([() => e.layout, () => e.theme], ([B]) => {
2757
- (B === "wide" || B === "simple") && (m.value = !1), g.value = bt().uuid(10);
2758
- }), ne(() => b.value, (B) => {
2759
- if (B) {
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]);
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
  }
2763
2774
  }, {
2764
2775
  immediate: !0
2765
2776
  }), ne([() => e.contentStyle, () => e.isChildrenLayout], () => {
2766
- (e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (S.minHeight = 0);
2777
+ (e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (y.minHeight = 0);
2767
2778
  }, {
2768
2779
  immediate: !0,
2769
2780
  deep: !0
2770
2781
  });
2771
- const I = (B, k) => B.headerRender === !1 || B.pure ? null : n(_t, 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);
@@ -2776,39 +2787,39 @@ const ti = /* @__PURE__ */ j({
2776
2787
  ...oe(tt(e), to),
2777
2788
  getPrefixCls: ie,
2778
2789
  menuState: c,
2779
- lockOpen: h,
2780
- settingsOpen: d,
2781
- contentFullScreen: m,
2782
- hasContentWide: b,
2783
- isMobile: v,
2790
+ lockOpen: g,
2791
+ settingsOpen: f,
2792
+ contentFullScreen: d,
2793
+ hasContentWide: v,
2794
+ isMobile: p,
2784
2795
  siderWidth: $,
2785
2796
  headerHeight: z,
2786
- breadcrumb: f,
2797
+ breadcrumb: m,
2787
2798
  flatMenuData: w,
2788
2799
  hasSide: u,
2789
- levelMenuData: C,
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: v.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 = b.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(Et, {
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,37 +2828,37 @@ const ti = /* @__PURE__ */ j({
2817
2828
  [`${a}`]: !0,
2818
2829
  [`${a}-${e.layout}`]: !0
2819
2830
  }),
2820
- style: b.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: b.value ? {
2836
+ style: v.value ? {
2826
2837
  width: Ae(e.wideWidth),
2827
2838
  paddingTop: `${z.value + 20}px`,
2828
- margin: b.value ? "0 auto" : void 0
2839
+ margin: v.value ? "0 auto" : void 0
2829
2840
  } : void 0
2830
2841
  }, {
2831
- default: () => [$.value > 0 && n(Xt, te(e, {
2842
+ default: () => [$.value > 0 && n(Gt, te(e, {
2832
2843
  siderWidth: $.value,
2833
- isMobile: v.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, {
2840
- style: S
2850
+ }, oe(M, yn)), null), n(We, {
2851
+ style: y
2841
2852
  }, {
2842
- default: () => [e.layout !== "simple" && z.value > 0 && ee, n(Ot, te(oe(e, ro), {
2853
+ default: () => [e.layout !== "simple" && z.value > 0 && ee, n(Ft, te(oe(e, ro), {
2843
2854
  hashId: i.value,
2844
2855
  prefixCls: a,
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({
@@ -2876,35 +2887,35 @@ const ti = /* @__PURE__ */ j({
2876
2887
  isDark: i,
2877
2888
  innerDark: l,
2878
2889
  toggleMode: s
2879
- } = Tt(R(() => e.dark), {
2880
- change: (S) => {
2881
- var y, u;
2882
- (y = e.onDarkChange) == null || y.call(e, S), (u = e == null ? void 0 : e["onUpdate:dark"]) == null || u.call(e, S);
2890
+ } = Pt(R(() => e.dark), {
2891
+ change: (y) => {
2892
+ var b, u;
2893
+ (b = e.onDarkChange) == null || b.call(e, y), (u = e == null ? void 0 : e["onUpdate:dark"]) == null || u.call(e, y);
2883
2894
  }
2884
2895
  }), r = R(() => {
2885
- var y, u;
2886
- let S = e.token || {};
2887
- return (u = (y = S.layout) == null ? void 0 : y.header) != null && u.heightLayoutHeader || (S = be(S, {
2896
+ var b, u;
2897
+ let y = e.token || {};
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(S, {
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
- }), g = (S) => {
2899
- a("update:collapsed", S), a("collapse", S);
2900
- }, h = (S) => {
2901
- a("update:open-keys", S), a("openKeys", S);
2902
- }, d = (S) => {
2903
- a("update:selected-keys", S), a("select", S);
2904
- }, m = (S) => {
2905
- a("update:tabs", S), a("tabsChange", S);
2909
+ }), h = (y) => {
2910
+ a("update:collapsed", y), a("collapse", y);
2911
+ }, g = (y) => {
2912
+ a("update:open-keys", y), a("openKeys", y);
2913
+ }, f = (y) => {
2914
+ a("update:selected-keys", y), a("select", y);
2915
+ }, d = (y) => {
2916
+ a("update:tabs", y), a("tabsChange", y);
2906
2917
  };
2907
- return () => n(wt, {
2918
+ return () => n(Rt, {
2908
2919
  theme: e.primaryColor ? {
2909
2920
  token: {
2910
2921
  colorPrimary: e.primaryColor
@@ -2919,24 +2930,24 @@ const ti = /* @__PURE__ */ j({
2919
2930
  style: o.style
2920
2931
  }, $e(e, ["onSelect", "onOpenKeys", "onCollapse", "onTabsChange", "onDarkChange", "dark"]), {
2921
2932
  dark: l.value,
2922
- onSelect: d,
2923
- onOpenKeys: h,
2924
- onCollapse: g,
2925
- onTabsChange: m,
2933
+ onSelect: f,
2934
+ onOpenKeys: g,
2935
+ onCollapse: h,
2936
+ onTabsChange: d,
2926
2937
  onDarkChange: s
2927
2938
  }), t)]
2928
2939
  })]
2929
2940
  });
2930
2941
  }
2931
- }), Pt = {
2942
+ }), Nt = {
2932
2943
  dataSource: {
2933
2944
  type: Array,
2934
2945
  default: () => []
2935
2946
  },
2936
2947
  historyKey: String
2937
- }, Fn = () => ({
2938
- ...Lt,
2939
- ...Pt,
2948
+ }, kn = () => ({
2949
+ ...Ot,
2950
+ ...Nt,
2940
2951
  actions: {
2941
2952
  type: Object,
2942
2953
  default: () => ({
@@ -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,14 +3006,14 @@ 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: () => ({
3002
3013
  disabeld: !1
3003
3014
  })
3004
3015
  }
3005
- }, oi = new x("fadeIn", {
3016
+ }, oi = new S("fadeIn", {
3006
3017
  from: {
3007
3018
  opacity: 0
3008
3019
  },
@@ -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: {
@@ -3146,17 +3157,17 @@ const Pn = /* @__PURE__ */ j({
3146
3157
  validate: i,
3147
3158
  validateInfos: l,
3148
3159
  resetFields: s
3149
- } = li(e.validator), r = (d) => {
3150
- Object.assign(o, d);
3151
- }, g = (d = "", m) => {
3152
- const S = d ? `${e.className}-${d}` : e.className;
3153
- return Q(S, e.hashId, "");
3154
- }, h = () => {
3160
+ } = li(e.validator), r = (f) => {
3161
+ Object.assign(o, f);
3162
+ }, h = (f = "", d) => {
3163
+ const y = f ? `${e.className}-${f}` : e.className;
3164
+ return Q(y, e.hashId, "");
3165
+ }, g = () => {
3155
3166
  i().then(() => {
3156
- var d;
3157
- (d = e.onSubmit) == null || d.call(e, o);
3158
- }).catch((d) => {
3159
- console.log(d);
3167
+ var f;
3168
+ (f = e.onSubmit) == null || f.call(e, o);
3169
+ }).catch((f) => {
3170
+ console.log(f);
3160
3171
  });
3161
3172
  };
3162
3173
  return t({
@@ -3164,41 +3175,41 @@ const Pn = /* @__PURE__ */ j({
3164
3175
  resetFields: s,
3165
3176
  merageFormState: r
3166
3177
  }), () => {
3167
- var d;
3178
+ var f;
3168
3179
  return n("div", {
3169
- class: g("user-form")
3180
+ class: h("user-form")
3170
3181
  }, [n("div", {
3171
- class: g("user-info")
3172
- }, [n(Jt, {
3182
+ class: h("user-info")
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
- class: g("user-name")
3178
- }, [e.name])]), n(Nt, null, {
3179
- default: () => [n(Nt.Item, l.password, {
3180
- default: () => [n(en.Password, {
3188
+ class: h("user-name")
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
- onChange: (m) => o.password = m.target.value
3194
+ onChange: (d) => o.password = d.target.value
3184
3195
  }, null)]
3185
3196
  })]
3186
3197
  }), n(Ze, {
3187
3198
  block: !0,
3188
3199
  type: "primary",
3189
- onClick: () => h(),
3200
+ onClick: () => g(),
3190
3201
  style: {
3191
3202
  marginBlockStart: "24px"
3192
3203
  }
3193
3204
  }, {
3194
3205
  default: () => [e.submitText]
3195
- }), (d = a.default) == null ? void 0 : d.call(a)]);
3206
+ }), (f = a.default) == null ? void 0 : f.call(a)]);
3196
3207
  };
3197
3208
  }
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,31 +3225,31 @@ 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 = "", g) => {
3226
- const h = r ? `${e.className}-popup-${r}` : `${e.className}-popup`;
3227
- return Q(h, e.hashId, g || "");
3236
+ }), [o, i] = Ce(!1), l = ri(), s = (r = "", h) => {
3237
+ const g = r ? `${e.className}-popup-${r}` : `${e.className}-popup`;
3238
+ return Q(g, e.hashId, h || "");
3228
3239
  };
3229
3240
  return () => t.value ? n("div", {
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,
3237
3248
  hashId: e.hashId,
3238
3249
  className: e.className,
3239
3250
  validator: (r) => {
3240
- var g;
3241
- return ((g = e.cryptoFn) == null ? void 0 : g.call(e, r)) === e.password;
3251
+ var h;
3252
+ return ((h = e.cryptoFn) == null ? void 0 : h.call(e, r)) === e.password;
3242
3253
  },
3243
3254
  onSubmit: () => a(!1)
3244
3255
  }, {
@@ -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")
@@ -3297,55 +3308,55 @@ const si = /* @__PURE__ */ j({
3297
3308
  } = fe("ProPageLock", [ii], t), l = at(t, {
3298
3309
  open: !1,
3299
3310
  password: ""
3300
- }), [s, r, g] = De(!1, {
3311
+ }), [s, r, h] = De(!1, {
3301
3312
  value: R(() => {
3302
- var f;
3303
- return ae(e.open) ? e.open : (f = a == null ? void 0 : a.lockOpen) == null ? void 0 : f.value;
3313
+ var m;
3314
+ return ae(e.open) ? e.open : (m = a == null ? void 0 : a.lockOpen) == null ? void 0 : m.value;
3304
3315
  }),
3305
- onChange: (f) => {
3316
+ onChange: (m) => {
3306
3317
  var w, z;
3307
- (w = e.onOpenChange) == null || w.call(e, f), (z = e["onUpdate:open"]) == null || z.call(e, f), a && (a.lockOpen.value = f);
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
- }), [h, d] = pe(!1), m = me();
3310
- function S(f) {
3311
- return e.cryptoFn ? e.cryptoFn(f) : f;
3320
+ }), [g, f] = Ce(!1), d = me();
3321
+ function y(m) {
3322
+ return e.cryptoFn ? e.cryptoFn(m) : m;
3312
3323
  }
3313
- function y(f) {
3314
- l.value.open = h.value, l.value.password = S(f);
3324
+ function b(m) {
3325
+ l.value.open = g.value, l.value.password = y(m);
3315
3326
  }
3316
- const u = R(() => e.shortsKey), C = R(() => l.value.open && !!l.value.password), b = nn();
3317
- gt(b["Alt+KeyL"], () => {
3318
- var f;
3319
- (f = u.value) != null && f.disabeld || g.value || r(!0);
3320
- }), ne(h, (f) => {
3327
+ const u = R(() => e.shortsKey), x = R(() => l.value.open && !!l.value.password), v = an();
3328
+ gt(v["Alt+KeyL"], () => {
3329
+ var m;
3330
+ (m = u.value) != null && m.disabeld || h.value || r(!0);
3331
+ }), ne(g, (m) => {
3321
3332
  var w, z;
3322
- y(f && (((z = (w = m.value) == null ? void 0 : w.formState) == null ? void 0 : z.password) || l.value.password) || "");
3323
- }), Zt(() => {
3324
- C.value ? d(!0) : y("");
3333
+ b(m && (((z = (w = d.value) == null ? void 0 : w.formState) == null ? void 0 : z.password) || l.value.password) || "");
3334
+ }), St(() => {
3335
+ x.value ? f(!0) : b("");
3325
3336
  });
3326
3337
  const c = () => {
3327
- r(!1), d(!0);
3328
- }, v = () => {
3329
- var f;
3330
- r(!1), y(""), (f = m.value) == null || f.resetFields();
3338
+ r(!1), f(!0);
3339
+ }, p = () => {
3340
+ var m;
3341
+ r(!1), b(""), (m = d.value) == null || m.resetFields();
3331
3342
  };
3332
3343
  return () => o(n(J, null, [n(si, te(oe(e, ["name", "avatar"]), {
3333
- open: h.value,
3344
+ open: g.value,
3334
3345
  hashId: i.value,
3335
3346
  className: t,
3336
3347
  password: l.value.password,
3337
- cryptoFn: S,
3338
- onOpenChange: d
3348
+ cryptoFn: y,
3349
+ onOpenChange: f
3339
3350
  }), null), n(Ya, {
3340
3351
  width: 400,
3341
3352
  type: "normal",
3342
3353
  title: "锁定屏幕",
3343
- open: g.value,
3354
+ open: h.value,
3344
3355
  footer: !1,
3345
- onCancel: v
3356
+ onCancel: p
3346
3357
  }, {
3347
- default: () => [n(Pn, te({
3348
- ref: m
3358
+ default: () => [n(Nn, te({
3359
+ ref: d
3349
3360
  }, oe(e, ["name", "avatar"]), {
3350
3361
  submitText: "锁定",
3351
3362
  hashId: i.value,
@@ -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,14 +3475,14 @@ function mi(e) {
3464
3475
  const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\", "]", "^", "{", "|", "}"]), hi = ({
3465
3476
  className: e,
3466
3477
  value: t
3467
- }) => t ? n(zt, {
3468
- image: zt.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
- ...Pt,
3485
+ ...Nt,
3475
3486
  className: String,
3476
3487
  hashId: String,
3477
3488
  keyword: String,
@@ -3487,26 +3498,26 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3487
3498
  i.value = [];
3488
3499
  return;
3489
3500
  }
3490
- const v = m(c), f = [];
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 (v.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
- }), f.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
  }
3507
3518
  }));
3508
3519
  }
3509
- }), i.value = f, f.length > 0 && (o.value = 0), o.value = 0;
3520
+ }), i.value = m, m.length > 0 && (o.value = 0), o.value = 0;
3510
3521
  }
3511
3522
  ne(() => e.keyword, (c) => {
3512
3523
  c ? l(c) : i.value = [...a.value];
@@ -3515,72 +3526,72 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3515
3526
  var c;
3516
3527
  i.value = [], (c = e.onClose) == null || c.call(e);
3517
3528
  }
3518
- function g() {
3529
+ function h() {
3519
3530
  const c = document.querySelector(`[data-search-item="${o.value}"]`);
3520
3531
  c && c.scrollIntoView({
3521
3532
  block: "nearest"
3522
3533
  });
3523
3534
  }
3524
- async function h() {
3535
+ async function g() {
3525
3536
  if (i.value.length === 0)
3526
3537
  return;
3527
- const c = i.value, v = o.value;
3528
- if (c.length === 0 || v < 0)
3538
+ const c = i.value, p = o.value;
3539
+ if (c.length === 0 || p < 0)
3529
3540
  return;
3530
- const f = c[v];
3531
- f && (a.value.push(f), r(), await xt(), mi(f.path) ? window.open(f.path, "_blank") : t.push({
3532
- path: f.path,
3541
+ const m = c[p];
3542
+ m && (a.value.push(m), r(), await xt(), mi(m.path) ? window.open(m.path, "_blank") : t.push({
3543
+ path: m.path,
3533
3544
  replace: !0
3534
3545
  }));
3535
3546
  }
3536
- function d(c) {
3547
+ function f(c) {
3537
3548
  return fi.has(c) ? `\\${c}` : c;
3538
3549
  }
3539
- function m(c) {
3540
- const v = [...c].map((f) => d(f)).join(".*");
3541
- return new RegExp(`.*${v}.*`);
3542
- }
3543
- function S() {
3544
- i.value.length !== 0 && (o.value--, o.value < 0 && (o.value = i.value.length - 1), g());
3550
+ function d(c) {
3551
+ const p = [...c].map((m) => f(m)).join(".*");
3552
+ return new RegExp(`.*${p}.*`);
3545
3553
  }
3546
3554
  function y() {
3547
- i.value.length !== 0 && (o.value++, o.value > i.value.length - 1 && (o.value = 0), g());
3555
+ i.value.length !== 0 && (o.value--, o.value < 0 && (o.value = i.value.length - 1), h());
3556
+ }
3557
+ function b() {
3558
+ i.value.length !== 0 && (o.value++, o.value > i.value.length - 1 && (o.value = 0), h());
3548
3559
  }
3549
- Zt(() => {
3550
- a.value.length > 0 && (i.value = a.value), ut("Enter", h), ut("ArrowUp", S), ut("ArrowDown", y);
3560
+ St(() => {
3561
+ a.value.length > 0 && (i.value = a.value), ut("Enter", g), ut("ArrowUp", y), ut("ArrowDown", b);
3551
3562
  });
3552
3563
  function u(c) {
3553
3564
  o.value = c;
3554
3565
  }
3555
- function C(c, v) {
3556
- c.stopPropagation(), e.keyword ? i.value.splice(v, 1) : a.value.splice(v, 1), o.value = o.value - 1 >= 0 ? o.value - 1 : 0, g();
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 b = (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: b("panel-title")
3561
- }, [W("搜索历史")]), n("div", {
3562
- class: b("panel-list")
3563
- }, [di(i.value, "path").map((c, v) => {
3564
- var f, w, z, $;
3571
+ class: v("panel-title")
3572
+ }, [_("搜索历史")]), n("div", {
3573
+ class: v("panel-list")
3574
+ }, [di(i.value, "path").map((c, p) => {
3575
+ var m, w, z, $;
3565
3576
  return n("div", {
3566
3577
  key: c.name,
3567
- class: b(Q("panel-item", v === o.value && "active")),
3568
- "data-search-item": v,
3569
- onClick: () => h(),
3570
- onMouseenter: () => u(v)
3578
+ class: v(Q("panel-item", p === o.value && "active")),
3579
+ "data-search-item": p,
3580
+ onClick: () => g(),
3581
+ onMouseenter: () => u(p)
3571
3582
  }, [n("div", {
3572
- class: b("panel-item-left")
3583
+ class: v("panel-item-left")
3573
3584
  }, [n(et, te(c.meta || {}, {
3574
- icon: ((f = c.meta) == null ? void 0 : f.icon) || n(Da, null, null),
3575
- classNames: b("panel-icon")
3576
- }), null), ($ = (z = (w = c.meta) == null ? void 0 : w.title) == null ? void 0 : z.split("**")) == null ? void 0 : $.map((I, B) => {
3585
+ icon: ((m = c.meta) == null ? void 0 : m.icon) || n(Da, null, null),
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) => C(I, v)
3591
+ onClick: (I) => x(I, p)
3581
3592
  }, null)]);
3582
3593
  })])]) : n(hi, {
3583
- className: b("result"),
3594
+ className: v("result"),
3584
3595
  value: e.keyword
3585
3596
  }, null)]);
3586
3597
  }
@@ -3591,14 +3602,14 @@ 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(Ht, null, null), n(Ht, {
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
- ...Pt,
3612
+ ...Nt,
3602
3613
  dark: {
3603
3614
  type: Boolean,
3604
3615
  default: void 0
@@ -3615,71 +3626,71 @@ 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), g = le(), h = nn(), d = ma() ? h["ctrl+k"] : h["cmd+k"], m = me(), S = 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 Bt(e.dataSource || ((u = g == null ? void 0 : g.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
- gt(d, () => {
3633
+ gt(f, () => {
3623
3634
  e.disabeldShortKey || r(!0);
3624
3635
  }), gt(s, () => {
3625
3636
  xt(() => {
3626
3637
  var u;
3627
- (u = m.value) == null || u.focus();
3638
+ (u = d.value) == null || u.focus();
3628
3639
  });
3629
3640
  });
3630
- const y = () => {
3641
+ const b = () => {
3631
3642
  r(!1), i.value = "";
3632
3643
  };
3633
3644
  return () => {
3634
3645
  const u = {
3635
3646
  className: `${t}`,
3636
3647
  hashId: o.value
3637
- }, C = `${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(At, 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(`${C}`, 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
3657
3668
  },
3658
- ref: m,
3669
+ ref: d,
3659
3670
  bordered: !1,
3660
3671
  size: "large",
3661
3672
  placeholder: "搜索导航菜单",
3662
3673
  value: i.value,
3663
- prefix: n(At, null, null),
3664
- onChange: (b) => l(b.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: C,
3679
+ className: x,
3669
3680
  hashId: o.value
3670
3681
  }, null),
3671
- onCancel: () => y()
3682
+ onCancel: () => b()
3672
3683
  }, {
3673
3684
  default: () => [n(gi, te(u, {
3674
3685
  keyword: i.value,
3675
- dataSource: S.value,
3676
- onClose: () => y()
3686
+ dataSource: y.value,
3687
+ onClose: () => b()
3677
3688
  }), null)]
3678
3689
  })]));
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,55 +3772,55 @@ 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
- }), [g, h] = pe(!1), {
3768
- wrapSSR: d,
3769
- hashId: m
3770
- } = pi(r), [S, y] = pe("auto"), {
3778
+ }), [h, g] = Ce(!1), {
3779
+ wrapSSR: f,
3780
+ hashId: d
3781
+ } = pi(r), [y, b] = Ce("auto"), {
3771
3782
  isDark: u,
3772
- toggleMode: C
3773
- } = Tt(R(() => {
3783
+ toggleMode: x
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
- }), [b, 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
- }), v = 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";
3793
- }), f = R(() => {
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";
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
- y(I);
3808
+ b(I);
3798
3809
  }, 160), z = (I) => {
3799
- On({
3810
+ Fn({
3800
3811
  event: I,
3801
- isDark: f,
3802
- toggle: C
3812
+ isDark: m,
3813
+ toggle: x
3803
3814
  });
3804
3815
  }, $ = () => {
3805
- e != null && e.onLogout && (h(!0), e.onLogout(() => h(!1)));
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;
3809
- return d(n("div", {
3810
- class: `${r}-right-content ${m.value}`.trim(),
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;
3820
+ return f(n("div", {
3821
+ class: `${r}-right-content ${d.value}`.trim(),
3811
3822
  style: {
3812
- minWidth: S.value,
3823
+ minWidth: y.value,
3813
3824
  height: "100%"
3814
3825
  }
3815
3826
  }, [n("div", {
@@ -3819,61 +3830,61 @@ 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
- class: `${r}-header-actions ${m.value}`.trim()
3831
- }, [e.actions.search && !v.value && n(bi, {
3841
+ class: `${r}-header-actions ${d.value}`.trim()
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
- class: `${r}-header-actions-item ${m.value}`.trim()
3846
+ class: `${r}-header-actions-item ${d.value}`.trim()
3836
3847
  }, [n(_e, {
3837
- class: `${r}-header-actions-icon ${m.value}`.trim(),
3838
- name: f.value ? "liangse" : "anhei",
3839
- onClick: (_) => z(_)
3840
- }, null)]), e.actions.settings && !v.value && n("div", {
3841
- class: `${r}-header-actions-item ${m.value}`.trim()
3842
- }, [n(un, {
3843
- onClick: () => c(!b.value)
3844
- }, null)]), e.actions.fullScreen && !v.value && n("div", {
3845
- class: `${r}-header-actions-item ${m.value}`.trim()
3848
+ class: `${r}-header-actions-icon ${d.value}`.trim(),
3849
+ name: m.value ? "liangse" : "anhei",
3850
+ onClick: (E) => z(E)
3851
+ }, null)]), e.actions.settings && !p.value && n("div", {
3852
+ class: `${r}-header-actions-item ${d.value}`.trim()
3853
+ }, [n(dn, {
3854
+ onClick: () => c(!v.value)
3855
+ }, null)]), e.actions.fullScreen && !p.value && n("div", {
3856
+ class: `${r}-header-actions-item ${d.value}`.trim()
3846
3857
  }, [n(T, {
3847
3858
  onClick: () => o()
3848
- }, null)]), O ? O == null ? void 0 : O([`${r}-header-actions-item`, m.value]) : null, n(ht, {
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(Dt, {
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(Dt, {
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
- disabled: g.value
3874
+ disabled: h.value
3864
3875
  }, {
3865
- default: () => [W("退出登录")]
3876
+ default: () => [_("退出登录")]
3866
3877
  })]
3867
3878
  })
3868
3879
  }, {
3869
- default: () => [B || n("div", {
3870
- class: `${r}-header-actions-avatar ${m.value}`.trim()
3871
- }, [n(Jt, {
3880
+ default: () => [M || n("div", {
3881
+ class: `${r}-header-actions-avatar ${d.value}`.trim()
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
- class: `${r}-header-actions-name ${m.value}`.trim()
3887
+ class: `${r}-header-actions-name ${d.value}`.trim()
3877
3888
  }, [e.name || "gx12358"])])]
3878
3889
  })])];
3879
3890
  }
@@ -3905,22 +3916,22 @@ const as = /* @__PURE__ */ j({
3905
3916
  wrapSSR: i,
3906
3917
  hashId: l
3907
3918
  } = fe("ProPageHeader", [Ci], o), s = R(() => {
3908
- var d;
3909
- const r = ((d = t == null ? void 0 : t.breadcrumb) == null ? void 0 : d.value) || {}, g = r.routes || [], h = g.map((m, S) => ({
3910
- ...m,
3911
- path: m.path && S !== g.length - 1 ? bt().uuid(10) : "",
3912
- link: m.path
3919
+ var f;
3920
+ const r = ((f = t == null ? void 0 : t.breadcrumb) == null ? void 0 : f.value) || {}, h = r.routes || [], g = h.map((d, y) => ({
3921
+ ...d,
3922
+ path: d.path && y !== h.length - 1 ? bt().uuid(10) : "",
3923
+ link: d.path
3913
3924
  }));
3914
3925
  return {
3915
3926
  ...r,
3916
- routes: h,
3927
+ routes: g,
3917
3928
  itemRender: (r == null ? void 0 : r.itemRender) || (({
3918
- route: m
3919
- }) => m.path ? n(Va, {
3920
- to: m.link
3929
+ route: d
3930
+ }) => d.path ? n(Va, {
3931
+ to: d.link
3921
3932
  }, {
3922
- default: () => [m.breadcrumbName]
3923
- }) : m.breadcrumbName)
3933
+ default: () => [d.breadcrumbName]
3934
+ }) : d.breadcrumbName)
3924
3935
  };
3925
3936
  });
3926
3937
  return () => {
@@ -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]: {
@@ -3993,126 +4004,130 @@ const os = /* @__PURE__ */ j({
3993
4004
  slots: t,
3994
4005
  attrs: a
3995
4006
  }) {
3996
- const o = le(), i = Mt(), l = Oe(), s = (o == null ? void 0 : o.getPrefixCls) || ie, r = s({
4007
+ const o = le(), i = Lt(), l = Oe(), s = (o == null ? void 0 : o.getPrefixCls) || ie, r = s({
3997
4008
  suffixCls: "page-container",
3998
4009
  isPor: !0
3999
- }), g = s({
4010
+ }), h = s({
4000
4011
  suffixCls: "grid-content",
4001
4012
  isPor: !0
4002
- }), h = R(() => {
4013
+ }), g = R(() => {
4003
4014
  var $;
4004
4015
  return (($ = o == null ? void 0 : o.pageContainerProps) == null ? void 0 : $.value) || {};
4005
- }), d = R(() => {
4006
- var $;
4007
- return e.pageCardProps || (($ = h.value) == null ? void 0 : $.pageCardProps);
4008
- }), m = R(() => {
4016
+ }), f = R(() => {
4009
4017
  var $;
4010
- return e.waterMarkProps || (($ = h.value) == null ? void 0 : $.waterMarkProps) || {};
4011
- }), S = R(() => {
4018
+ return e.pageCardProps || (($ = g.value) == null ? void 0 : $.pageCardProps);
4019
+ }), d = R(() => {
4012
4020
  var $;
4013
- return e.pageContentStyle || (($ = h.value) == null ? void 0 : $.pageContentStyle);
4021
+ return e.waterMarkProps || (($ = g.value) == null ? void 0 : $.waterMarkProps) || {};
4014
4022
  }), y = R(() => {
4015
4023
  var $;
4016
- return e.pageChildrenContentStyle || (($ = h.value) == null ? void 0 : $.pageChildrenContentStyle) || {};
4024
+ return e.pageContentStyle || (($ = g.value) == null ? void 0 : $.pageContentStyle);
4025
+ }), b = R(() => {
4026
+ var $;
4027
+ return e.pageChildrenContentStyle || (($ = g.value) == null ? void 0 : $.pageChildrenContentStyle) || {};
4017
4028
  }), u = R(() => {
4018
4029
  var $;
4019
4030
  return ($ = o == null ? void 0 : o.hasContentWide) == null ? void 0 : $.value;
4020
- }), C = R(() => {
4031
+ }), x = R(() => {
4021
4032
  var $, I;
4022
- return ae(e.usePageCard) ? e.usePageCard : ae(($ = h.value) == null ? void 0 : $.usePageCard) ? (I = h.value) == null ? void 0 : I.usePageCard : !0;
4023
- }), b = 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;
4033
+ return ae(e.usePageCard) ? e.usePageCard : ae(($ = g.value) == null ? void 0 : $.usePageCard) ? (I = g.value) == null ? void 0 : I.usePageCard : !0;
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: v,
4028
- hashId: f
4038
+ wrapSSR: p,
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`, f.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
- ...y.value,
4046
+ ...b.value,
4036
4047
  width: c.value
4037
4048
  }
4038
- }, [$, C.value ? n(Yn, te(d.value ? oe(d.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 = b.value) != null && B.marginBlockPageContainerContent ? {
4050
- marginBlockStart: `${(k = b.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 = () => {
4054
4065
  var I;
4055
4066
  let $;
4056
- return n(J, null, [(ae(e.waterMark) ? e.waterMark : (I = o == null ? void 0 : o.waterMark) != null && I.value) ? n(Qa, m.value, wi($ = w()) ? $ : {
4067
+ return n(J, null, [(ae(e.waterMark) ? e.waterMark : (I = o == null ? void 0 : o.waterMark) != null && I.value) ? n(Qa, d.value, wi($ = w()) ? $ : {
4057
4068
  default: () => [$]
4058
4069
  }) : w()]);
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 v(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
- [`${f.value}`]: !0,
4077
+ [`${m.value}`]: !0,
4067
4078
  [`${r}`]: !0
4068
4079
  }
4069
4080
  }, [e.loading && n("div", {
4070
- class: Q(`${r}-blur`, f.value)
4071
- }, [n(St, {
4081
+ class: Q(`${r}-blur`, m.value)
4082
+ }, [n(It, {
4072
4083
  indicator: (O = i == null ? void 0 : i.indicator) == null ? void 0 : O.value
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
- class: [g, f.value]
4089
+ class: [h, m.value]
4079
4090
  }, [n("div", {
4080
- class: `${g}-children ${f.value}`,
4081
- style: S.value
4091
+ class: `${h}-children ${m.value}`,
4092
+ style: y.value
4082
4093
  }, [z()])])]));
4083
4094
  };
4084
4095
  }
4085
4096
  });
4086
- function is(e) {
4087
- const t = Ge(), a = t.getRoutes(), o = ve({
4097
+ function is({ menuData: e, watchOpenKeys: t = !0 }) {
4098
+ const a = Ge(), o = a.getRoutes(), i = pe({
4088
4099
  menuData: [],
4089
4100
  levelMenuData: []
4090
- }), i = ve({
4101
+ }), l = pe({
4091
4102
  openKeys: [],
4092
4103
  selectedKeys: []
4093
- }), l = R(() => t.currentRoute.value), s = (h) => {
4094
- var m;
4095
- const d = No(zo(h));
4096
- (m = l.value) != null && m.hidden ? (o.menuData = [], o.levelMenuData = []) : (o.menuData = d.menuData, o.levelMenuData = d.getLevel());
4104
+ }), s = R(() => a.currentRoute.value), r = (d) => {
4105
+ var b, u;
4106
+ const y = No(zo(d));
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, (h) => s(h), { deep: !0, immediate: !0 }) : s(e) : s(a);
4099
- const r = R(() => Ho(o, { path: wn(l.value), name: l.value.name })), g = R(() => {
4100
- const h = r.value.map((d) => {
4101
- var S, y;
4102
- const m = Rn((S = d.meta) != null && S.hideChildrenInMenu ? [] : d.children || []);
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(() => {
4111
+ const d = h.value.map((y) => {
4112
+ var u, x;
4113
+ const b = $n((u = y.meta) != null && u.hideChildrenInMenu ? [] : y.children || []);
4103
4114
  return {
4104
- path: d.redirect || m || d.path || "",
4105
- breadcrumbName: ((y = d.meta) == null ? void 0 : y.title) || ""
4115
+ path: y.redirect || b || y.path || "",
4116
+ breadcrumbName: ((x = y.meta) == null ? void 0 : x.title) || ""
4106
4117
  };
4107
- }).filter((d) => d.breadcrumbName);
4108
- return Vo(h, "breadcrumbName");
4109
- });
4110
- return ne(() => l.value, (h) => {
4111
- h && (i.selectedKeys = r.value.map((d) => d.path), i.openKeys = r.value.filter((d) => d.path !== h.path).map((d) => d.path));
4112
- }, { immediate: !0, deep: !0 }), {
4113
- menuState: o,
4114
- matchedKeys: i,
4115
- matchedMenu: r,
4118
+ }).filter((y) => y.breadcrumbName);
4119
+ return Vo(d, "breadcrumbName");
4120
+ }), f = () => {
4121
+ l.openKeys = h.value.filter((d) => d.path !== s.value.path).map((d) => d.path);
4122
+ };
4123
+ return ne(() => s.value, (d) => {
4124
+ d && (r(e ? zt(e) ? e.value : e : o), l.selectedKeys = h.value.map((y) => y.path), t && f());
4125
+ }, { immediate: !0, deep: !0 }), St(() => {
4126
+ t || f();
4127
+ }), {
4128
+ menuState: i,
4129
+ matchedKeys: l,
4130
+ matchedMenu: h,
4116
4131
  breadcrumbRouters: g
4117
4132
  };
4118
4133
  }
@@ -4126,7 +4141,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4126
4141
  }
4127
4142
  }, [n(_e, {
4128
4143
  name: "liangse"
4129
- }, null), W("亮色")])
4144
+ }, null), _("亮色")])
4130
4145
  }, {
4131
4146
  value: "dark",
4132
4147
  label: () => n("div", {
@@ -4137,7 +4152,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4137
4152
  }
4138
4153
  }, [n(_e, {
4139
4154
  name: "anhei"
4140
- }, null), W("深色")])
4155
+ }, null), _("深色")])
4141
4156
  }, {
4142
4157
  value: "system",
4143
4158
  label: () => n("div", {
@@ -4146,8 +4161,8 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4146
4161
  alignItems: "center",
4147
4162
  gap: "6px"
4148
4163
  }
4149
- }, [n(Wa, null, null), W("自动")])
4150
- }], Nn = [
4164
+ }, [n(Wa, null, null), _("自动")])
4165
+ }], zn = [
4151
4166
  {
4152
4167
  key: "light",
4153
4168
  title: "亮色菜单风格"
@@ -4160,7 +4175,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4160
4175
  // key: 'systemDark',
4161
4176
  // title: '暗黑模式'
4162
4177
  // }
4163
- ], zn = [{
4178
+ ], Dn = [{
4164
4179
  key: "side",
4165
4180
  title: "侧边菜单布局"
4166
4181
  }, {
@@ -4181,7 +4196,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4181
4196
  }, {
4182
4197
  key: "sider",
4183
4198
  title: "左侧主题"
4184
- }], Bi = [{
4199
+ }], Mi = [{
4185
4200
  key: "colorBgMenu",
4186
4201
  name: "全部背景"
4187
4202
  }, {
@@ -4202,7 +4217,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4202
4217
  }, {
4203
4218
  key: "colorTextMenuSelected",
4204
4219
  name: "菜单文字选中颜色"
4205
- }], Mi = [{
4220
+ }], Bi = [{
4206
4221
  label: "fixedHeader",
4207
4222
  title: "固定 Header"
4208
4223
  }, {
@@ -4218,7 +4233,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4218
4233
  label: "fixedTabsBar",
4219
4234
  title: "固定多标签"
4220
4235
  }], Oi = (e) => {
4221
- const { dark: t } = Ce(e);
4236
+ const { dark: t } = ye(e);
4222
4237
  return {
4223
4238
  [e.componentCls]: {
4224
4239
  [`${e.antCls}-drawer-content-wrapper`]: {
@@ -4398,7 +4413,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4398
4413
  }
4399
4414
  }
4400
4415
  };
4401
- }, Vt = /* @__PURE__ */ j({
4416
+ }, Yt = /* @__PURE__ */ j({
4402
4417
  name: "BlockCheckbox",
4403
4418
  props: {
4404
4419
  value: q.string,
@@ -4428,7 +4443,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4428
4443
  }
4429
4444
  }, [a.key === "wide" && n("div", {
4430
4445
  class: [`${t}-item-${a.key}-content`, e.hashId]
4431
- }, null), n(dn, {
4446
+ }, null), n(mn, {
4432
4447
  class: `${t}-selectIcon ${e.hashId}`.trim(),
4433
4448
  style: {
4434
4449
  display: e.value === a.key ? "block" : "none"
@@ -4474,7 +4489,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4474
4489
  backgroundColor: i
4475
4490
  },
4476
4491
  onClick: () => e.onChange && e.onChange(i)
4477
- }, [((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)])];
4478
4493
  }
4479
4494
  }) : null)]);
4480
4495
  };
@@ -4491,7 +4506,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4491
4506
  onChange: Function
4492
4507
  },
4493
4508
  setup(e) {
4494
- return () => n(Be, {
4509
+ return () => n(Me, {
4495
4510
  class: `${e.prefixCls}-list ${e.hashId}`.trim(),
4496
4511
  split: !1,
4497
4512
  size: "small",
@@ -4501,7 +4516,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4501
4516
  title: t.disabled ? t.disabledReason : "",
4502
4517
  placement: "left"
4503
4518
  }, {
4504
- default: () => [n(Be.Item, {
4519
+ default: () => [n(Me.Item, {
4505
4520
  actions: [t.action]
4506
4521
  }, {
4507
4522
  default: () => [n("span", {
@@ -4513,7 +4528,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4513
4528
  }),
4514
4529
  dataSource: [{
4515
4530
  title: e.label,
4516
- action: n(tn, {
4531
+ action: n(nn, {
4517
4532
  size: "small",
4518
4533
  disabled: e.disabled,
4519
4534
  checked: !!e.value,
@@ -4561,10 +4576,10 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4561
4576
  function Ti(e) {
4562
4577
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
4563
4578
  }
4564
- const Dn = [];
4579
+ const An = [];
4565
4580
  Ca.forEach((e) => {
4566
4581
  xa.forEach((t) => {
4567
- Dn.push({
4582
+ An.push({
4568
4583
  key: `${e}:${t}`,
4569
4584
  token: {}
4570
4585
  });
@@ -4580,7 +4595,7 @@ const Pi = /* @__PURE__ */ j({
4580
4595
  setup(e) {
4581
4596
  const {
4582
4597
  getPrefixCls: t
4583
- } = le(), [a, o] = pe("header"), i = t({
4598
+ } = le(), [a, o] = Ce("header"), i = t({
4584
4599
  suffixCls: "theme-editor",
4585
4600
  isPor: !0
4586
4601
  }), {
@@ -4588,83 +4603,83 @@ const Pi = /* @__PURE__ */ j({
4588
4603
  hashId: s
4589
4604
  } = fe("ProThemeEditor", [ki], i), {
4590
4605
  token: r
4591
- } = Oe(), g = R(() => {
4592
- var y;
4593
- return (y = r.value) == null ? void 0 : y.layout;
4606
+ } = Oe(), h = R(() => {
4607
+ var b;
4608
+ return (b = r.value) == null ? void 0 : b.layout;
4594
4609
  });
4595
- function h(y) {
4596
- return Se(Dn).map((u) => {
4597
- var b;
4598
- const C = it(y, r.value, u.key);
4599
- if (u.token = C, C)
4610
+ function g(b) {
4611
+ return Se(An).map((u) => {
4612
+ var v;
4613
+ const x = it(b, r.value, u.key);
4614
+ if (u.token = x, x)
4600
4615
  for (const c in u.token) {
4601
- const v = (b = g.value) == null ? void 0 : b[y], f = (v == null ? void 0 : v[c]) || u.token[c];
4602
- u.token[c] = f;
4616
+ const p = (v = h.value) == null ? void 0 : v[b], m = (p == null ? void 0 : p[c]) || u.token[c];
4617
+ u.token[c] = m;
4603
4618
  }
4604
4619
  return u;
4605
4620
  }).filter((u) => u.token);
4606
4621
  }
4607
- const d = ve({
4608
- header: h("header"),
4609
- sider: h("sider")
4622
+ const f = pe({
4623
+ header: g("header"),
4624
+ sider: g("sider")
4610
4625
  });
4611
4626
  ne([() => {
4612
- var y, u;
4613
- return (u = (y = r.value) == null ? void 0 : y.layout) == null ? void 0 : u.header;
4627
+ var b, u;
4628
+ return (u = (b = r.value) == null ? void 0 : b.layout) == null ? void 0 : u.header;
4614
4629
  }, () => {
4615
- var y, u;
4616
- return (u = (y = r.value) == null ? void 0 : y.layout) == null ? void 0 : u.sider;
4630
+ var b, u;
4631
+ return (u = (b = r.value) == null ? void 0 : b.layout) == null ? void 0 : u.sider;
4617
4632
  }], () => {
4618
- d.sider = h("sider"), d.header = h("header");
4633
+ f.sider = g("sider"), f.header = g("header");
4619
4634
  }, {
4620
4635
  deep: 1
4621
4636
  });
4622
- const m = R(() => {
4637
+ const d = R(() => {
4623
4638
  var u;
4624
- const y = (u = d[a.value].find((C) => {
4625
- var b;
4626
- return C.key === ((b = g.value) == null ? void 0 : b.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);
4627
4642
  })) == null ? void 0 : u.token;
4628
- return Object.keys(y || {}).map((C) => {
4643
+ return Object.keys(b || {}).map((x) => {
4629
4644
  var c;
4630
4645
  return {
4631
- title: ((c = Bi.find((v) => v.key === C)) == null ? void 0 : c.name) || "",
4632
- key: C,
4633
- value: (y == null ? void 0 : y[C]) || ""
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]) || ""
4634
4649
  };
4635
4650
  });
4636
- }), S = (y, u) => {
4637
- var C;
4638
- d[a.value] = d[a.value].map((b) => {
4651
+ }), y = (b, u) => {
4652
+ var x;
4653
+ f[a.value] = f[a.value].map((v) => {
4639
4654
  var c;
4640
- return b.key === ((c = g.value) == null ? void 0 : c.key) && (b.token[u] = y), b;
4641
- }), (C = e.onChange) == null || C.call(e, y, 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);
4642
4657
  };
4643
4658
  return () => {
4644
- var u, C, b;
4645
- let y;
4659
+ var u, x, v;
4660
+ let b;
4646
4661
  return l(n("div", {
4647
4662
  class: [i, s.value]
4648
4663
  }, [n("h3", {
4649
4664
  class: [`${i}-title`, s.value]
4650
- }, [W("主题编辑器"), n("div", {
4665
+ }, [_("主题编辑器"), n("div", {
4651
4666
  class: [`${i}-sub-title`, s.value]
4652
- }, [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", {
4653
4668
  style: {
4654
4669
  marginInline: "8px"
4655
4670
  }
4656
- }, [W("/")]), n("span", null, [(C = zn.find((c) => {
4657
- var v;
4658
- return c.key === ((v = e.settingValue) == null ? void 0 : v.layout);
4659
- })) == null ? void 0 : C.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", {
4660
4675
  class: [`${i}-content`, s.value]
4661
- }, [n(Be, {
4676
+ }, [n(Me, {
4662
4677
  class: `${i}-list ${s.value}`.trim(),
4663
4678
  split: !1,
4664
4679
  size: "small",
4665
4680
  renderItem: ({
4666
4681
  item: c
4667
- }) => n(Be.Item, {
4682
+ }) => n(Me.Item, {
4668
4683
  actions: [c.action]
4669
4684
  }, {
4670
4685
  default: () => [n("span", {
@@ -4675,45 +4690,45 @@ const Pi = /* @__PURE__ */ j({
4675
4690
  }),
4676
4691
  dataSource: [{
4677
4692
  title: "自定义主题色",
4678
- action: n(jt, {
4679
- value: (b = e.settingValue) == null ? void 0 : b.primaryColor,
4693
+ action: n(Kt, {
4694
+ value: (v = e.settingValue) == null ? void 0 : v.primaryColor,
4680
4695
  size: "small",
4681
4696
  onChangeComplete: (c) => e.onChange && e.onChange(c.toCssString(), "primaryColor")
4682
4697
  }, null)
4683
4698
  }]
4684
- }, null), n(It, {
4699
+ }, null), n(wt, {
4685
4700
  activeKey: a.value,
4686
4701
  onChange: (c) => o(c)
4687
- }, Ti(y = $i.map((c) => n(qn, {
4702
+ }, Ti(b = $i.map((c) => n(qn, {
4688
4703
  key: c.key,
4689
4704
  tab: c.title
4690
4705
  }, {
4691
- default: () => [n(Be, {
4706
+ default: () => [n(Me, {
4692
4707
  class: `${i}-list ${s.value}`.trim(),
4693
4708
  split: !1,
4694
4709
  size: "small",
4695
4710
  renderItem: ({
4696
- item: v
4697
- }) => n(Be.Item, {
4698
- actions: [v.action]
4711
+ item: p
4712
+ }) => n(Me.Item, {
4713
+ actions: [p.action]
4699
4714
  }, {
4700
4715
  default: () => [n("span", {
4701
4716
  style: {
4702
- opacity: v.disabled ? 0.5 : 1
4717
+ opacity: p.disabled ? 0.5 : 1
4703
4718
  }
4704
- }, [v.title])]
4719
+ }, [p.title])]
4705
4720
  }),
4706
- dataSource: m.value.map((v) => ({
4707
- ...v,
4708
- action: n(jt, {
4709
- value: v.value,
4721
+ dataSource: d.value.map((p) => ({
4722
+ ...p,
4723
+ action: n(Kt, {
4724
+ value: p.value,
4710
4725
  size: "small",
4711
- onChangeComplete: (f) => S(f.toCssString(), v.key)
4726
+ onChangeComplete: (m) => y(m.toCssString(), p.key)
4712
4727
  }, null)
4713
4728
  }))
4714
4729
  }, null)]
4715
- }))) ? y : {
4716
- default: () => [y]
4730
+ }))) ? b : {
4731
+ default: () => [b]
4717
4732
  })])]));
4718
4733
  };
4719
4734
  }
@@ -4748,12 +4763,12 @@ const Pi = /* @__PURE__ */ j({
4748
4763
  }
4749
4764
  }
4750
4765
  });
4751
- function Gt(e) {
4766
+ function qt(e) {
4752
4767
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
4753
4768
  }
4754
4769
  const {
4755
- preset: Yt
4756
- } = kt, zi = /* @__PURE__ */ j({
4770
+ preset: Qt
4771
+ } = Tt, zi = /* @__PURE__ */ j({
4757
4772
  name: "OthersChange",
4758
4773
  props: {
4759
4774
  prefixCls: q.string,
@@ -4769,69 +4784,69 @@ const {
4769
4784
  hashId: o
4770
4785
  } = fe("SettingsDrawOthers", [Ni], t);
4771
4786
  return () => {
4772
- var l, s, r, g, h, d, m, S, y, u, C, b, c, v;
4787
+ var l, s, r, h, g, f, d, y, b, u, x, v, c, p;
4773
4788
  let i;
4774
4789
  return a(n("div", {
4775
4790
  class: [t, o.value]
4776
4791
  }, [n("h3", {
4777
4792
  class: [`${t}-title`, o.value]
4778
- }, [W("页面动画设置")]), n(Be, {
4793
+ }, [_("页面动画设置")]), n(Me, {
4779
4794
  class: `${t}-list ${o.value}`.trim(),
4780
4795
  split: !1,
4781
4796
  size: "small",
4782
4797
  renderItem: ({
4783
- item: f
4798
+ item: m
4784
4799
  }) => n(nt, {
4785
- title: f.disabled ? f.disabledReason : "",
4800
+ title: m.disabled ? m.disabledReason : "",
4786
4801
  placement: "left"
4787
4802
  }, {
4788
- default: () => [n(Be.Item, {
4789
- actions: [f.action]
4803
+ default: () => [n(Me.Item, {
4804
+ actions: [m.action]
4790
4805
  }, {
4791
4806
  default: () => [n("span", {
4792
4807
  style: {
4793
- opacity: f.disabled ? 0.5 : 1
4808
+ opacity: m.disabled ? 0.5 : 1
4794
4809
  }
4795
- }, [f.title])]
4810
+ }, [m.title])]
4796
4811
  })]
4797
4812
  }),
4798
4813
  dataSource: [{
4799
4814
  title: "禁用动画",
4800
- action: n(tn, {
4815
+ action: n(nn, {
4801
4816
  checked: !((s = (l = e.settingValue) == null ? void 0 : l.animate) != null && s.disabled),
4802
4817
  size: "small",
4803
- onChange: (f) => {
4818
+ onChange: (m) => {
4804
4819
  var w;
4805
- return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "disabled", !f);
4820
+ return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "disabled", !m);
4806
4821
  }
4807
4822
  }, null)
4808
4823
  }, {
4809
4824
  title: "动画效果",
4810
- disabled: (g = (r = e.settingValue) == null ? void 0 : r.animate) == null ? void 0 : g.disabled,
4825
+ disabled: (h = (r = e.settingValue) == null ? void 0 : r.animate) == null ? void 0 : h.disabled,
4811
4826
  action: n(Ye, {
4812
- value: (d = (h = e.settingValue) == null ? void 0 : h.animate) == null ? void 0 : d.name,
4827
+ value: (f = (g = e.settingValue) == null ? void 0 : g.animate) == null ? void 0 : f.name,
4813
4828
  style: {
4814
4829
  width: "100px"
4815
4830
  },
4816
4831
  size: "small",
4817
- disabled: (S = (m = e.settingValue) == null ? void 0 : m.animate) == null ? void 0 : S.disabled,
4818
- getPopupContainer: (f) => f && f.parentNode ? f.parentNode : f,
4819
- onChange: (f) => {
4832
+ disabled: (y = (d = e.settingValue) == null ? void 0 : d.animate) == null ? void 0 : y.disabled,
4833
+ getPopupContainer: (m) => m && m.parentNode ? m.parentNode : m,
4834
+ onChange: (m) => {
4820
4835
  var w;
4821
- return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "name", f);
4836
+ return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "name", m);
4822
4837
  }
4823
- }, Gt(i = Yt.map((f) => n(Ye.Option, {
4824
- value: f.name
4838
+ }, qt(i = Qt.map((m) => n(Ye.Option, {
4839
+ value: m.name
4825
4840
  }, {
4826
- default: () => [f.alias]
4841
+ default: () => [m.alias]
4827
4842
  }))) ? i : {
4828
4843
  default: () => [i]
4829
4844
  })
4830
4845
  }, {
4831
4846
  title: "动画方向",
4832
- disabled: (u = (y = e.settingValue) == null ? void 0 : y.animate) == null ? void 0 : u.disabled,
4847
+ disabled: (u = (b = e.settingValue) == null ? void 0 : b.animate) == null ? void 0 : u.disabled,
4833
4848
  action: n(Ye, {
4834
- value: (b = (C = e.settingValue) == null ? void 0 : C.animate) == null ? void 0 : b.direction,
4849
+ value: (v = (x = e.settingValue) == null ? void 0 : x.animate) == null ? void 0 : v.direction,
4835
4850
  style: {
4836
4851
  width: "100px"
4837
4852
  },
@@ -4839,21 +4854,21 @@ const {
4839
4854
  dropdownStyle: {
4840
4855
  minWidth: "120px"
4841
4856
  },
4842
- disabled: (v = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : v.disabled,
4843
- getPopupContainer: (f) => f && f.parentNode ? f.parentNode : f,
4844
- onChange: (f) => {
4857
+ disabled: (p = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : p.disabled,
4858
+ getPopupContainer: (m) => m && m.parentNode ? m.parentNode : m,
4859
+ onChange: (m) => {
4845
4860
  var w;
4846
- return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "direction", f);
4861
+ return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "direction", m);
4847
4862
  }
4848
4863
  }, {
4849
4864
  default: () => {
4850
- var f;
4851
- return [(f = Yt.find((w) => {
4865
+ var m;
4866
+ return [(m = Qt.find((w) => {
4852
4867
  var z, $;
4853
4868
  return w.name === (($ = (z = e.settingValue) == null ? void 0 : z.animate) == null ? void 0 : $.name);
4854
- })) == null ? void 0 : f.directions.map((w) => n(Ye.Option, {
4869
+ })) == null ? void 0 : m.directions.map((w) => n(Ye.Option, {
4855
4870
  value: w
4856
- }, Gt(w) ? w : {
4871
+ }, qt(w) ? w : {
4857
4872
  default: () => [w]
4858
4873
  }))];
4859
4874
  }
@@ -4864,10 +4879,10 @@ const {
4864
4879
  }
4865
4880
  }), {
4866
4881
  preset: Di
4867
- } = kt, Ai = {
4882
+ } = Tt, Ai = {
4868
4883
  color: "#fff",
4869
4884
  fontSize: 20
4870
- }, qt = (e) => ha() ? {
4885
+ }, Zt = (e) => ha() ? {
4871
4886
  ...oe(Z, Ct),
4872
4887
  ...e || {}
4873
4888
  } : Se(Z), Ke = (e, {
@@ -4882,7 +4897,7 @@ const {
4882
4897
  class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
4883
4898
  }, [e.title]), (a = t.default) == null ? void 0 : a.call(t)]);
4884
4899
  }, Hi = () => ({
4885
- ...Lt,
4900
+ ...Ot,
4886
4901
  open: {
4887
4902
  type: Boolean,
4888
4903
  default: void 0
@@ -4917,13 +4932,13 @@ const {
4917
4932
  const t = Oe(), a = le(), o = ie({
4918
4933
  suffixCls: "setting-drawer",
4919
4934
  isPor: !0
4920
- }), i = ve({}), l = at(ie({
4935
+ }), i = pe({}), l = at(ie({
4921
4936
  suffixCls: "settings-state",
4922
4937
  isPor: !0
4923
4938
  }), {}), {
4924
4939
  wrapSSR: s,
4925
4940
  hashId: r
4926
- } = fe("ProSettingDraw", [Oi], o), g = me(!1), [h, d] = De(!1, {
4941
+ } = fe("ProSettingDraw", [Oi], o), h = me(!1), [g, f] = De(!1, {
4927
4942
  value: R(() => {
4928
4943
  var L;
4929
4944
  return ae(e.open) ? e.open : (L = a == null ? void 0 : a.settingsOpen) == null ? void 0 : L.value;
@@ -4933,67 +4948,67 @@ const {
4933
4948
  (F = e.onOpenChange) == null || F.call(e, L), (P = e == null ? void 0 : e["onUpdate:open"]) == null || P.call(e, L), a && !ae(e.open) && (a.settingsOpen.value = L);
4934
4949
  }
4935
4950
  }), {
4936
- innerDark: m,
4937
- isDark: S,
4938
- toggleMode: y
4939
- } = Tt(R(() => {
4951
+ innerDark: d,
4952
+ isDark: y,
4953
+ toggleMode: b
4954
+ } = Pt(R(() => {
4940
4955
  var L;
4941
4956
  return Xe(e.dark) ? e.dark : (L = a == null ? void 0 : a.dark) == null ? void 0 : L.value;
4942
4957
  }), {
4943
4958
  change: (L) => {
4944
- var F, P, E;
4945
- (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);
4946
4961
  }
4947
- }), [u, C] = pe(!1), [b, c] = pe(!1), v = R(() => e.storage ? Object.keys(l.value).length > 0 : !1), f = R(() => qt(oe(e.settings, Ct))), [w, z] = De(() => qt(oe(e.settings, Ct)), {
4948
- value: f,
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)), {
4963
+ value: m,
4949
4964
  onChange: (L) => {
4950
4965
  var F;
4951
- 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);
4952
4967
  }
4953
4968
  }), $ = R(() => {
4954
4969
  var L;
4955
- return Xe(e.dark) ? S.value : (L = t == null ? void 0 : t.dark) == null ? void 0 : L.value;
4970
+ return Xe(e.dark) ? y.value : (L = t == null ? void 0 : t.dark) == null ? void 0 : L.value;
4956
4971
  }), I = (L, F) => {
4957
- On({
4972
+ Fn({
4958
4973
  event: L,
4959
4974
  isDark: $,
4960
- toggle: y,
4975
+ toggle: b,
4961
4976
  value: F
4962
4977
  });
4963
4978
  };
4964
4979
  ne(() => e.storage, (L) => {
4965
- L && (v.value ? (Object.assign(i, {
4966
- dark: m.value,
4980
+ L && (p.value ? (Object.assign(i, {
4981
+ dark: d.value,
4967
4982
  ...Se(w.value)
4968
4983
  }), fa($e(l.value, "dark"), w.value) || z($e(l.value, "dark")), I(null, l.value.dark)) : l.value = {
4969
4984
  ...w.value,
4970
- dark: m.value
4985
+ dark: d.value
4971
4986
  });
4972
4987
  }, {
4973
4988
  immediate: !0
4974
4989
  });
4975
- const B = R(() => e.colorList && $t(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))), {
4976
4991
  copy: O,
4977
4992
  copied: T,
4978
- isSupported: U
4993
+ isSupported: X
4979
4994
  } = ia();
4980
- ne(h, () => {
4981
- g.value || (g.value = !0);
4995
+ ne(g, () => {
4996
+ h.value || (h.value = !0);
4982
4997
  }), ne(() => {
4983
4998
  var L;
4984
4999
  return (L = a == null ? void 0 : a.settingsOpen) == null ? void 0 : L.value;
4985
5000
  }, (L) => {
4986
- ae(e.open) || d(L);
5001
+ ae(e.open) || f(L);
4987
5002
  }), ne(T, (L) => {
4988
5003
  L && Qn.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
4989
- }), ne(() => m.value, (L) => {
5004
+ }), ne(() => d.value, (L) => {
4990
5005
  e.storage && (l.value.dark = L);
4991
5006
  });
4992
- const _ = (L, F, P) => {
4993
- var ye, H, Y;
4994
- const E = ["header", "sider"], ee = {};
4995
- if (P != null && P.subKey && E.includes(L)) {
4996
- 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));
4997
5012
  return;
4998
5013
  } else
4999
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;
@@ -5001,23 +5016,23 @@ const {
5001
5016
  const V = document.querySelector("body");
5002
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);
5003
5018
  }
5004
- z(be(se(w), {
5005
- ..._o($e(ee, E))
5019
+ z(ve(se(w), {
5020
+ ..._o($e(ee, W))
5006
5021
  }));
5007
- }, X = (L) => {
5022
+ }, K = (L) => {
5008
5023
  l.value.dark = L === "system" ? L : L === "dark", I(null, L === "system" ? L : L === "dark");
5009
5024
  }, he = () => {
5010
- U.value && O(JSON.stringify(se(w)));
5025
+ X.value && O(JSON.stringify(se(w)));
5011
5026
  }, de = () => {
5012
5027
  z($e(Se(i), "dark")), I(null, i.dark), l.value = Se(i);
5013
5028
  };
5014
5029
  return () => {
5015
- const L = h.value ? lt : un;
5030
+ const L = g.value ? lt : dn;
5016
5031
  return s(n(Qe, {
5017
5032
  width: 300,
5018
5033
  closable: !1,
5019
- open: h.value,
5020
- rootClassName: `${o} ${r.value} ${h.value && `${o}-show`} ${!g.value && `${o}-trantion-none`}`,
5034
+ open: g.value,
5035
+ rootClassName: `${o} ${r.value} ${g.value && `${o}-show`} ${!h.value && `${o}-trantion-none`}`,
5021
5036
  placement: "right",
5022
5037
  rootStyle: {
5023
5038
  zIndex: 999
@@ -5025,10 +5040,10 @@ const {
5025
5040
  bodyStyle: {
5026
5041
  padding: 0
5027
5042
  },
5028
- onClose: () => d(!1),
5043
+ onClose: () => f(!1),
5029
5044
  handle: n("div", {
5030
5045
  class: [`${o}-handle`, r.value],
5031
- onClick: () => d(!h.value)
5046
+ onClick: () => f(!g.value)
5032
5047
  }, [n(L, {
5033
5048
  style: Ai
5034
5049
  }, null)])
@@ -5044,59 +5059,59 @@ const {
5044
5059
  title: "整体风格"
5045
5060
  }, {
5046
5061
  default: () => [n(Zn, {
5047
- value: ae(m.value) ? m.value ? "dark" : "light" : "system",
5062
+ value: ae(d.value) ? d.value ? "dark" : "light" : "system",
5048
5063
  options: Ri,
5049
- onChange: (F) => X(F)
5064
+ onChange: (F) => K(F)
5050
5065
  }, null)]
5051
5066
  }), n(Ke, {
5052
5067
  prefixCls: o,
5053
5068
  hashId: r.value,
5054
5069
  title: "菜单风格"
5055
5070
  }, {
5056
- default: () => [n(Vt, {
5071
+ default: () => [n(Yt, {
5057
5072
  hashId: r.value,
5058
5073
  prefixCls: o,
5059
- list: Nn,
5074
+ list: zn,
5060
5075
  value: w.value.theme,
5061
5076
  configType: "theme",
5062
5077
  key: "navTheme",
5063
- onChange: (F, P) => _("theme", F, {
5078
+ onChange: (F, P) => E("theme", F, {
5064
5079
  event: P
5065
5080
  })
5066
5081
  }, null)]
5067
5082
  }), n(Ke, {
5068
5083
  hashId: r.value,
5069
- title: n("span", null, [W("配色模式"), n("a", {
5084
+ title: n("span", null, [_("配色模式"), n("a", {
5070
5085
  style: {
5071
5086
  fontSize: "12px",
5072
5087
  marginLeft: "4px"
5073
5088
  },
5074
- onClick: () => C(!0)
5075
- }, [W("更多配置")])]),
5089
+ onClick: () => x(!0)
5090
+ }, [_("更多配置")])]),
5076
5091
  prefixCls: o
5077
5092
  }, {
5078
5093
  default: () => [n(Fi, {
5079
5094
  hashId: r.value,
5080
5095
  prefixCls: o,
5081
- colorList: B.value,
5096
+ colorList: M.value,
5082
5097
  settingValue: w.value,
5083
- onChange: (F, P) => _(P || "primaryColor", F)
5098
+ onChange: (F, P) => E(P || "primaryColor", F)
5084
5099
  }, null)]
5085
5100
  }), !e.themeOnly && n(J, null, [n(ct, null, null), n(Ke, {
5086
5101
  hashId: r.value,
5087
5102
  prefixCls: o,
5088
5103
  title: "导航模式"
5089
5104
  }, {
5090
- default: () => [n(Vt, {
5105
+ default: () => [n(Yt, {
5091
5106
  prefixCls: o,
5092
5107
  value: se(w).layout,
5093
5108
  key: "layout",
5094
5109
  hashId: r.value,
5095
5110
  configType: "layout",
5096
- list: zn,
5097
- onChange: (F) => _("layout", F)
5111
+ list: Dn,
5112
+ onChange: (F) => E("layout", F)
5098
5113
  }, null)]
5099
- }), Mi.map(({
5114
+ }), Bi.map(({
5100
5115
  label: F,
5101
5116
  title: P
5102
5117
  }) => n(qe, {
@@ -5106,17 +5121,17 @@ const {
5106
5121
  prefixCls: o,
5107
5122
  hashId: r.value,
5108
5123
  valueKey: F,
5109
- onChange: (E, ee) => _(E, ee)
5124
+ onChange: (W, ee) => E(W, ee)
5110
5125
  }, null)), n(ct, null, null), n(Ke, {
5111
5126
  hashId: r.value,
5112
5127
  prefixCls: o,
5113
- title: n("span", null, [W("其他设置"), n("a", {
5128
+ title: n("span", null, [_("其他设置"), n("a", {
5114
5129
  style: {
5115
5130
  fontSize: "12px",
5116
5131
  marginLeft: "4px"
5117
5132
  },
5118
5133
  onClick: () => c(!0)
5119
- }, [W("更多配置")])])
5134
+ }, [_("更多配置")])])
5120
5135
  }, {
5121
5136
  default: () => [Li.map(({
5122
5137
  label: F,
@@ -5128,21 +5143,21 @@ const {
5128
5143
  prefixCls: o,
5129
5144
  hashId: r.value,
5130
5145
  valueKey: F,
5131
- onChange: (E, ee) => _(E, ee)
5146
+ onChange: (W, ee) => E(W, ee)
5132
5147
  }, null)), e.weakmode && n(qe, {
5133
5148
  label: "色弱模式",
5134
5149
  value: se(w).colorWeak,
5135
5150
  prefixCls: o,
5136
5151
  hashId: r.value,
5137
5152
  valueKey: "colorWeak",
5138
- onChange: (F, P) => _(F, P)
5153
+ onChange: (F, P) => E(F, P)
5139
5154
  }, null), e.showProgress && n(qe, {
5140
5155
  label: "顶部进度条",
5141
5156
  value: se(w).showProgressBar,
5142
5157
  prefixCls: o,
5143
5158
  hashId: r.value,
5144
5159
  valueKey: "showProgressBar",
5145
- onChange: (F, P) => _(F, P)
5160
+ onChange: (F, P) => E(F, P)
5146
5161
  }, null)]
5147
5162
  })]), e.hideHintAlert && e.hideCopyButton ? null : n(ct, null, null), e.hideHintAlert ? null : n(Jn, {
5148
5163
  type: "warning",
@@ -5161,12 +5176,12 @@ const {
5161
5176
  onClick: () => he(),
5162
5177
  block: !0
5163
5178
  }, {
5164
- default: () => [n(_a, null, null), W("拷贝设置")]
5179
+ default: () => [n(_a, null, null), _("拷贝设置")]
5165
5180
  }), n(Ze, {
5166
5181
  block: !0,
5167
5182
  onClick: () => de()
5168
5183
  }, {
5169
- default: () => [n(Xa, null, null), W("清空缓存")]
5184
+ default: () => [n(Xa, null, null), _("清空缓存")]
5170
5185
  })])])]
5171
5186
  })]), n(Qe, {
5172
5187
  width: 320,
@@ -5176,20 +5191,20 @@ const {
5176
5191
  bodyStyle: {
5177
5192
  padding: 0
5178
5193
  },
5179
- onClose: () => C(!1)
5194
+ onClose: () => x(!1)
5180
5195
  }, {
5181
5196
  default: () => [n(Pi, {
5182
5197
  theme: w.value.theme,
5183
5198
  settingValue: w.value,
5184
- onChange: (F, P, E) => _(P || "primaryColor", F, {
5185
- subKey: E
5199
+ onChange: (F, P, W) => E(P || "primaryColor", F, {
5200
+ subKey: W
5186
5201
  })
5187
5202
  }, null)]
5188
5203
  }), n(Qe, {
5189
5204
  width: 320,
5190
5205
  closable: !1,
5191
5206
  placement: "right",
5192
- open: b.value,
5207
+ open: v.value,
5193
5208
  bodyStyle: {
5194
5209
  padding: 0
5195
5210
  },
@@ -5197,7 +5212,7 @@ const {
5197
5212
  }, {
5198
5213
  default: () => [n(zi, {
5199
5214
  settingValue: w.value,
5200
- onChange: (F, P, E) => _(F, E, {
5215
+ onChange: (F, P, W) => E(F, W, {
5201
5216
  subKey: P
5202
5217
  })
5203
5218
  }, null)]
@@ -5205,7 +5220,7 @@ const {
5205
5220
  }));
5206
5221
  };
5207
5222
  }
5208
- }), ji = new x("backInLeft", {
5223
+ }), ji = new S("backInLeft", {
5209
5224
  "0%": {
5210
5225
  opacity: 0.7,
5211
5226
  transform: "translateX(-2000px) scale(0.7)"
@@ -5218,7 +5233,7 @@ const {
5218
5233
  opacity: 1,
5219
5234
  transform: "scale(1)"
5220
5235
  }
5221
- }), Ei = new x("backInRight", {
5236
+ }), Ei = new S("backInRight", {
5222
5237
  "0%": {
5223
5238
  opacity: 0.7,
5224
5239
  transform: "translateX(2000px) scale(0.7)"
@@ -5231,7 +5246,7 @@ const {
5231
5246
  opacity: 1,
5232
5247
  transform: "scale(1)"
5233
5248
  }
5234
- }), Ki = new x("backInUp", {
5249
+ }), Ki = new S("backInUp", {
5235
5250
  "0%": {
5236
5251
  opacity: 0.7,
5237
5252
  transform: "translateY(1200px) scale(0.7)"
@@ -5244,7 +5259,7 @@ const {
5244
5259
  opacity: 1,
5245
5260
  transform: "scale(1)"
5246
5261
  }
5247
- }), Wi = new x("backInDown", {
5262
+ }), Wi = new S("backInDown", {
5248
5263
  "0%": {
5249
5264
  opacity: 0.7,
5250
5265
  transform: "translateY(-1200px) scale(0.7)"
@@ -5257,7 +5272,7 @@ const {
5257
5272
  opacity: 1,
5258
5273
  transform: "scale(1)"
5259
5274
  }
5260
- }), Ui = new x("backOutLeft", {
5275
+ }), Ui = new S("backOutLeft", {
5261
5276
  "0%": {
5262
5277
  opacity: 1,
5263
5278
  transform: "scale(1)"
@@ -5270,7 +5285,7 @@ const {
5270
5285
  opacity: 0.7,
5271
5286
  transform: "translateX(-2000px) scale(0.7)"
5272
5287
  }
5273
- }), _i = new x("backOutRight", {
5288
+ }), _i = new S("backOutRight", {
5274
5289
  "0%": {
5275
5290
  opacity: 1,
5276
5291
  transform: "scale(1)"
@@ -5283,7 +5298,7 @@ const {
5283
5298
  opacity: 0.7,
5284
5299
  transform: "translateX(2000px) scale(0.7)"
5285
5300
  }
5286
- }), Xi = new x("backOutUp", {
5301
+ }), Xi = new S("backOutUp", {
5287
5302
  "0%": {
5288
5303
  opacity: 1,
5289
5304
  transform: "scale(1)"
@@ -5296,7 +5311,7 @@ const {
5296
5311
  opacity: 0.7,
5297
5312
  transform: "translateY(-700px) scale(0.7)"
5298
5313
  }
5299
- }), Vi = new x("backOutDown", {
5314
+ }), Vi = new S("backOutDown", {
5300
5315
  "0%": {
5301
5316
  opacity: 1,
5302
5317
  transform: "scale(1)"
@@ -5343,7 +5358,7 @@ const {
5343
5358
  animationFillMode: "both",
5344
5359
  animationName: Vi
5345
5360
  }
5346
- }), qi = new x("bounceIn", {
5361
+ }), qi = new S("bounceIn", {
5347
5362
  "from,20%,40%,60%,80%,to": {
5348
5363
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
5349
5364
  },
@@ -5367,7 +5382,7 @@ const {
5367
5382
  opacity: 1,
5368
5383
  transform: "scale3d(1, 1, 1)"
5369
5384
  }
5370
- }), Qi = new x("bounceInLeft", {
5385
+ }), Qi = new S("bounceInLeft", {
5371
5386
  "from,60%,75%,90%,to": {
5372
5387
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
5373
5388
  },
@@ -5388,7 +5403,7 @@ const {
5388
5403
  to: {
5389
5404
  transform: "translate3d(0, 0, 0)"
5390
5405
  }
5391
- }), Zi = new x("bounceInRight", {
5406
+ }), Zi = new S("bounceInRight", {
5392
5407
  "from,60%,75%,90%,to": {
5393
5408
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
5394
5409
  },
@@ -5409,7 +5424,7 @@ const {
5409
5424
  to: {
5410
5425
  transform: "translate3d(0, 0, 0)"
5411
5426
  }
5412
- }), Ji = new x("bounceInDown", {
5427
+ }), Ji = new S("bounceInDown", {
5413
5428
  "from,60%,75%,90%,to": {
5414
5429
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
5415
5430
  },
@@ -5430,7 +5445,7 @@ const {
5430
5445
  to: {
5431
5446
  transform: "translate3d(0, 0, 0)"
5432
5447
  }
5433
- }), el = new x("bounceInUp", {
5448
+ }), el = new S("bounceInUp", {
5434
5449
  "from,60%,75%,90%,to": {
5435
5450
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
5436
5451
  },
@@ -5451,7 +5466,7 @@ const {
5451
5466
  to: {
5452
5467
  transform: "translate3d(0, 0, 0)"
5453
5468
  }
5454
- }), tl = new x("bounceOut", {
5469
+ }), tl = new S("bounceOut", {
5455
5470
  "20%": {
5456
5471
  transform: "scale3d(0.9, 0.9, 0.9)"
5457
5472
  },
@@ -5465,7 +5480,7 @@ const {
5465
5480
  opacity: 0,
5466
5481
  transform: "scale3d(0.3, 0.3, 0.3)"
5467
5482
  }
5468
- }), nl = new x("bounceOutLeft", {
5483
+ }), nl = new S("bounceOutLeft", {
5469
5484
  "20%": {
5470
5485
  opacity: 1,
5471
5486
  transform: "translate3d(20px, 0, 0) scaleX(0.9)"
@@ -5474,7 +5489,7 @@ const {
5474
5489
  opacity: 0,
5475
5490
  transform: "translate3d(-2000px, 0, 0) scaleX(2)"
5476
5491
  }
5477
- }), al = new x("bounceOutRight", {
5492
+ }), al = new S("bounceOutRight", {
5478
5493
  "20%": {
5479
5494
  opacity: 1,
5480
5495
  transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
@@ -5483,7 +5498,7 @@ const {
5483
5498
  opacity: 0,
5484
5499
  transform: "translate3d(2000px, 0, 0) scaleX(2)"
5485
5500
  }
5486
- }), ol = new x("bounceOutDown", {
5501
+ }), ol = new S("bounceOutDown", {
5487
5502
  "20%": {
5488
5503
  transform: "translate3d(0, 10px, 0) scaleY(0.985)"
5489
5504
  },
@@ -5495,7 +5510,7 @@ const {
5495
5510
  opacity: 0,
5496
5511
  transform: "translate3d(0, 2000px, 0) scaleY(3)"
5497
5512
  }
5498
- }), il = new x("bounceOutUp", {
5513
+ }), il = new S("bounceOutUp", {
5499
5514
  "20%": {
5500
5515
  transform: "translate3d(0, -10px, 0) scaleY(0.985)"
5501
5516
  },
@@ -5551,14 +5566,14 @@ const {
5551
5566
  animationFillMode: "both",
5552
5567
  animationName: il
5553
5568
  }
5554
- }), sl = new x("fadeIn", {
5569
+ }), sl = new S("fadeIn", {
5555
5570
  from: {
5556
5571
  opacity: 0
5557
5572
  },
5558
5573
  to: {
5559
5574
  opacity: 1
5560
5575
  }
5561
- }), cl = new x("fadeInLeft", {
5576
+ }), cl = new S("fadeInLeft", {
5562
5577
  from: {
5563
5578
  opacity: 0,
5564
5579
  transform: "translate3d(-100%, 0, 0)"
@@ -5567,7 +5582,7 @@ const {
5567
5582
  opacity: 1,
5568
5583
  transform: "translate3d(0, 0, 0)"
5569
5584
  }
5570
- }), ul = new x("fadeInRight", {
5585
+ }), ul = new S("fadeInRight", {
5571
5586
  from: {
5572
5587
  opacity: 0,
5573
5588
  transform: "translate3d(100%, 0, 0)"
@@ -5576,7 +5591,7 @@ const {
5576
5591
  opacity: 1,
5577
5592
  transform: "translate3d(0, 0, 0)"
5578
5593
  }
5579
- }), dl = new x("fadeInDown", {
5594
+ }), dl = new S("fadeInDown", {
5580
5595
  from: {
5581
5596
  opacity: 0,
5582
5597
  transform: "translate3d(0, -100%, 0)"
@@ -5585,7 +5600,7 @@ const {
5585
5600
  opacity: 1,
5586
5601
  transform: "translate3d(0, 0, 0)"
5587
5602
  }
5588
- }), ml = new x("fadeInUp", {
5603
+ }), ml = new S("fadeInUp", {
5589
5604
  from: {
5590
5605
  opacity: 0,
5591
5606
  transform: "translate3d(0, 100%, 0)"
@@ -5594,7 +5609,7 @@ const {
5594
5609
  opacity: 1,
5595
5610
  transform: "translate3d(0, 0, 0)"
5596
5611
  }
5597
- }), fl = new x("fadeInDownBig", {
5612
+ }), fl = new S("fadeInDownBig", {
5598
5613
  from: {
5599
5614
  opacity: 0,
5600
5615
  transform: "translate3d(0, -2000px, 0)"
@@ -5603,7 +5618,7 @@ const {
5603
5618
  opacity: 1,
5604
5619
  transform: "translate3d(0, 0, 0)"
5605
5620
  }
5606
- }), hl = new x("fadeInUpBig", {
5621
+ }), hl = new S("fadeInUpBig", {
5607
5622
  from: {
5608
5623
  opacity: 0,
5609
5624
  transform: "translate3d(0, 2000px, 0)"
@@ -5612,7 +5627,7 @@ const {
5612
5627
  opacity: 1,
5613
5628
  transform: "translate3d(0, 0, 0)"
5614
5629
  }
5615
- }), gl = new x("fadeInLeftBig", {
5630
+ }), gl = new S("fadeInLeftBig", {
5616
5631
  from: {
5617
5632
  opacity: 0,
5618
5633
  transform: "translate3d(-2000px, 0, 0)"
@@ -5621,7 +5636,7 @@ const {
5621
5636
  opacity: 1,
5622
5637
  transform: "translate3d(0, 0, 0)"
5623
5638
  }
5624
- }), yl = new x("fadeInRightBig", {
5639
+ }), yl = new S("fadeInRightBig", {
5625
5640
  from: {
5626
5641
  opacity: 0,
5627
5642
  transform: "translate3d(2000px, 0, 0)"
@@ -5630,7 +5645,7 @@ const {
5630
5645
  opacity: 1,
5631
5646
  transform: "translate3d(0, 0, 0)"
5632
5647
  }
5633
- }), bl = new x("fadeInTopLeft", {
5648
+ }), bl = new S("fadeInTopLeft", {
5634
5649
  from: {
5635
5650
  opacity: 0,
5636
5651
  transform: "translate3d(-100%, -100%, 0)"
@@ -5639,7 +5654,7 @@ const {
5639
5654
  opacity: 1,
5640
5655
  transform: "translate3d(0, 0, 0)"
5641
5656
  }
5642
- }), vl = new x("fadeInBottomRight", {
5657
+ }), vl = new S("fadeInBottomRight", {
5643
5658
  from: {
5644
5659
  opacity: 0,
5645
5660
  transform: "translate3d(100%, 100%, 0)"
@@ -5648,7 +5663,7 @@ const {
5648
5663
  opacity: 1,
5649
5664
  transform: "translate3d(0, 0, 0)"
5650
5665
  }
5651
- }), pl = new x("fadeInTopRight", {
5666
+ }), pl = new S("fadeInTopRight", {
5652
5667
  from: {
5653
5668
  opacity: 0,
5654
5669
  transform: "translate3d(100%, -100%, 0)"
@@ -5657,7 +5672,7 @@ const {
5657
5672
  opacity: 1,
5658
5673
  transform: "translate3d(0, 0, 0)"
5659
5674
  }
5660
- }), Cl = new x("fadeInBottomLeft", {
5675
+ }), Cl = new S("fadeInBottomLeft", {
5661
5676
  from: {
5662
5677
  opacity: 0,
5663
5678
  transform: "translate3d(-100%, 100%, 0)"
@@ -5666,14 +5681,14 @@ const {
5666
5681
  opacity: 1,
5667
5682
  transform: "translate3d(0, 0, 0)"
5668
5683
  }
5669
- }), xl = new x("fadeOut", {
5684
+ }), xl = new S("fadeOut", {
5670
5685
  from: {
5671
5686
  opacity: 1
5672
5687
  },
5673
5688
  to: {
5674
5689
  opacity: 0
5675
5690
  }
5676
- }), Sl = new x("fadeOutLeft", {
5691
+ }), Sl = new S("fadeOutLeft", {
5677
5692
  from: {
5678
5693
  opacity: 1
5679
5694
  },
@@ -5681,7 +5696,7 @@ const {
5681
5696
  opacity: 0,
5682
5697
  transform: "translate3d(-100%, 0, 0)"
5683
5698
  }
5684
- }), Il = new x("fadeOutRight", {
5699
+ }), Il = new S("fadeOutRight", {
5685
5700
  from: {
5686
5701
  opacity: 1
5687
5702
  },
@@ -5689,7 +5704,7 @@ const {
5689
5704
  opacity: 0,
5690
5705
  transform: "translate3d(100%, 0, 0)"
5691
5706
  }
5692
- }), wl = new x("fadeOutDown", {
5707
+ }), wl = new S("fadeOutDown", {
5693
5708
  from: {
5694
5709
  opacity: 1
5695
5710
  },
@@ -5697,7 +5712,7 @@ const {
5697
5712
  opacity: 0,
5698
5713
  transform: "translate3d(0, 100%, 0)"
5699
5714
  }
5700
- }), Rl = new x("fadeOutUp", {
5715
+ }), Rl = new S("fadeOutUp", {
5701
5716
  from: {
5702
5717
  opacity: 1
5703
5718
  },
@@ -5705,7 +5720,7 @@ const {
5705
5720
  opacity: 0,
5706
5721
  transform: "translate3d(0, -100%, 0)"
5707
5722
  }
5708
- }), $l = new x("fadeOutDownBig", {
5723
+ }), $l = new S("fadeOutDownBig", {
5709
5724
  from: {
5710
5725
  opacity: 1
5711
5726
  },
@@ -5713,7 +5728,7 @@ const {
5713
5728
  opacity: 0,
5714
5729
  transform: "translate3d(0, 2000px, 0)"
5715
5730
  }
5716
- }), Bl = new x("fadeOutUpBig", {
5731
+ }), Ml = new S("fadeOutUpBig", {
5717
5732
  from: {
5718
5733
  opacity: 1
5719
5734
  },
@@ -5721,7 +5736,7 @@ const {
5721
5736
  opacity: 0,
5722
5737
  transform: "translate3d(0, -2000px, 0)"
5723
5738
  }
5724
- }), Ml = new x("fadeOutLeftBig", {
5739
+ }), Bl = new S("fadeOutLeftBig", {
5725
5740
  from: {
5726
5741
  opacity: 1
5727
5742
  },
@@ -5729,7 +5744,7 @@ const {
5729
5744
  opacity: 0,
5730
5745
  transform: "translate3d(-2000px, 0, 0)"
5731
5746
  }
5732
- }), Ll = new x("fadeOutRightBig", {
5747
+ }), Ll = new S("fadeOutRightBig", {
5733
5748
  from: {
5734
5749
  opacity: 1
5735
5750
  },
@@ -5737,7 +5752,7 @@ const {
5737
5752
  opacity: 0,
5738
5753
  transform: "translate3d(2000px, 0, 0)"
5739
5754
  }
5740
- }), Ol = new x("fadeOutTopLeft", {
5755
+ }), Ol = new S("fadeOutTopLeft", {
5741
5756
  from: {
5742
5757
  opacity: 1,
5743
5758
  transform: "translate3d(0, 0, 0)"
@@ -5746,7 +5761,7 @@ const {
5746
5761
  opacity: 0,
5747
5762
  transform: "translate3d(-100%, -100%, 0)"
5748
5763
  }
5749
- }), Fl = new x("fadeOutBottomRight", {
5764
+ }), Fl = new S("fadeOutBottomRight", {
5750
5765
  from: {
5751
5766
  opacity: 1,
5752
5767
  transform: "translate3d(0, 0, 0)"
@@ -5755,7 +5770,7 @@ const {
5755
5770
  opacity: 0,
5756
5771
  transform: "translate3d(100%, 100%, 0)"
5757
5772
  }
5758
- }), kl = new x("fadeOutTopRight", {
5773
+ }), kl = new S("fadeOutTopRight", {
5759
5774
  from: {
5760
5775
  opacity: 1,
5761
5776
  transform: "translate3d(0, 0, 0)"
@@ -5764,7 +5779,7 @@ const {
5764
5779
  opacity: 0,
5765
5780
  transform: "translate3d(100%, -100%, 0)"
5766
5781
  }
5767
- }), Tl = new x("fadeOutBottomLeft", {
5782
+ }), Tl = new S("fadeOutBottomLeft", {
5768
5783
  from: {
5769
5784
  opacity: 1,
5770
5785
  transform: "translate3d(0, 0, 0)"
@@ -5853,11 +5868,11 @@ const {
5853
5868
  },
5854
5869
  "&.fadeOutUpBig": {
5855
5870
  animationFillMode: "both",
5856
- animationName: Bl
5871
+ animationName: Ml
5857
5872
  },
5858
5873
  "&.fadeOutLeftBig": {
5859
5874
  animationFillMode: "both",
5860
- animationName: Ml
5875
+ animationName: Bl
5861
5876
  },
5862
5877
  "&.fadeOutRightBig": {
5863
5878
  animationFillMode: "both",
@@ -5879,7 +5894,7 @@ const {
5879
5894
  animationFillMode: "both",
5880
5895
  animationName: Tl
5881
5896
  }
5882
- }), zl = new x("flipInX", {
5897
+ }), zl = new S("flipInX", {
5883
5898
  from: {
5884
5899
  opacity: 0,
5885
5900
  animationTimingFunction: "ease-in",
@@ -5899,7 +5914,7 @@ const {
5899
5914
  to: {
5900
5915
  transform: "perspective(400px)"
5901
5916
  }
5902
- }), Dl = new x("flipInY", {
5917
+ }), Dl = new S("flipInY", {
5903
5918
  from: {
5904
5919
  opacity: 0,
5905
5920
  animationTimingFunction: "ease-in",
@@ -5919,7 +5934,7 @@ const {
5919
5934
  to: {
5920
5935
  transform: "perspective(400px)"
5921
5936
  }
5922
- }), Al = new x("flipOutX", {
5937
+ }), Al = new S("flipOutX", {
5923
5938
  from: {
5924
5939
  transform: "perspective(400px)"
5925
5940
  },
@@ -5931,7 +5946,7 @@ const {
5931
5946
  opacity: 0,
5932
5947
  transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
5933
5948
  }
5934
- }), Hl = new x("flipOutY", {
5949
+ }), Hl = new S("flipOutY", {
5935
5950
  from: {
5936
5951
  transform: "perspective(400px)"
5937
5952
  },
@@ -5967,7 +5982,7 @@ const {
5967
5982
  animationDuration: `${0.3 * 0.75}s !important`,
5968
5983
  animationName: Hl
5969
5984
  }
5970
- }), Kl = new x("lightSpeedInLeft", {
5985
+ }), Kl = new S("lightSpeedInLeft", {
5971
5986
  from: {
5972
5987
  opacity: 0,
5973
5988
  transform: "translate3d(-100%, 0, 0) skewX(30deg)"
@@ -5982,7 +5997,7 @@ const {
5982
5997
  to: {
5983
5998
  transform: "translate3d(0, 0, 0)"
5984
5999
  }
5985
- }), Wl = new x("lightSpeedInRight", {
6000
+ }), Wl = new S("lightSpeedInRight", {
5986
6001
  from: {
5987
6002
  opacity: 0,
5988
6003
  transform: "translate3d(100%, 0, 0) skewX(-30deg)"
@@ -5997,7 +6012,7 @@ const {
5997
6012
  to: {
5998
6013
  transform: "translate3d(0, 0, 0)"
5999
6014
  }
6000
- }), Ul = new x("lightSpeedOutLeft", {
6015
+ }), Ul = new S("lightSpeedOutLeft", {
6001
6016
  from: {
6002
6017
  opacity: 1
6003
6018
  },
@@ -6005,7 +6020,7 @@ const {
6005
6020
  opacity: 0,
6006
6021
  transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
6007
6022
  }
6008
- }), _l = new x("lightSpeedOutRight", {
6023
+ }), _l = new S("lightSpeedOutRight", {
6009
6024
  from: {
6010
6025
  opacity: 1
6011
6026
  },
@@ -6035,7 +6050,7 @@ const {
6035
6050
  animationTimingFunction: "ease-in",
6036
6051
  animationName: _l
6037
6052
  }
6038
- }), Gl = new x("rotateIn", {
6053
+ }), Gl = new S("rotateIn", {
6039
6054
  from: {
6040
6055
  opacity: 0,
6041
6056
  transform: "rotate3d(0, 0, 1, -200deg)"
@@ -6044,7 +6059,7 @@ const {
6044
6059
  opacity: 1,
6045
6060
  transform: "translate3d(0, 0, 0)"
6046
6061
  }
6047
- }), Yl = new x("rotateInDownLeft", {
6062
+ }), Yl = new S("rotateInDownLeft", {
6048
6063
  from: {
6049
6064
  opacity: 0,
6050
6065
  transform: "rotate3d(0, 0, 1, -45deg)"
@@ -6053,7 +6068,7 @@ const {
6053
6068
  opacity: 1,
6054
6069
  transform: "translate3d(0, 0, 0)"
6055
6070
  }
6056
- }), ql = new x("rotateInDownRight", {
6071
+ }), ql = new S("rotateInDownRight", {
6057
6072
  from: {
6058
6073
  opacity: 0,
6059
6074
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -6062,7 +6077,7 @@ const {
6062
6077
  opacity: 1,
6063
6078
  transform: "translate3d(0, 0, 0)"
6064
6079
  }
6065
- }), Ql = new x("rotateInUpLeft", {
6080
+ }), Ql = new S("rotateInUpLeft", {
6066
6081
  from: {
6067
6082
  opacity: 0,
6068
6083
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -6071,7 +6086,7 @@ const {
6071
6086
  opacity: 1,
6072
6087
  transform: "translate3d(0, 0, 0)"
6073
6088
  }
6074
- }), Zl = new x("rotateInUpRight", {
6089
+ }), Zl = new S("rotateInUpRight", {
6075
6090
  from: {
6076
6091
  opacity: 0,
6077
6092
  transform: "rotate3d(0, 0, 1, -90deg)"
@@ -6080,7 +6095,7 @@ const {
6080
6095
  opacity: 1,
6081
6096
  transform: "translate3d(0, 0, 0)"
6082
6097
  }
6083
- }), Jl = new x("rotateOut", {
6098
+ }), Jl = new S("rotateOut", {
6084
6099
  from: {
6085
6100
  opacity: 1
6086
6101
  },
@@ -6088,7 +6103,7 @@ const {
6088
6103
  opacity: 0,
6089
6104
  transform: "rotate3d(0, 0, 1, 200deg)"
6090
6105
  }
6091
- }), er = new x("rotateOutDownLeft", {
6106
+ }), er = new S("rotateOutDownLeft", {
6092
6107
  from: {
6093
6108
  opacity: 1
6094
6109
  },
@@ -6096,7 +6111,7 @@ const {
6096
6111
  opacity: 0,
6097
6112
  transform: "rotate3d(0, 0, 1, 45deg)"
6098
6113
  }
6099
- }), tr = new x("rotateOutDownRight", {
6114
+ }), tr = new S("rotateOutDownRight", {
6100
6115
  from: {
6101
6116
  opacity: 1
6102
6117
  },
@@ -6104,7 +6119,7 @@ const {
6104
6119
  opacity: 0,
6105
6120
  transform: "rotate3d(0, 0, 1, -45deg)"
6106
6121
  }
6107
- }), nr = new x("rotateOutUpLeft", {
6122
+ }), nr = new S("rotateOutUpLeft", {
6108
6123
  from: {
6109
6124
  opacity: 1
6110
6125
  },
@@ -6112,7 +6127,7 @@ const {
6112
6127
  opacity: 0,
6113
6128
  transform: "rotate3d(0, 0, 1, -45deg)"
6114
6129
  }
6115
- }), ar = new x("rotateOutUpRight", {
6130
+ }), ar = new S("rotateOutUpRight", {
6116
6131
  from: {
6117
6132
  opacity: 1
6118
6133
  },
@@ -6172,7 +6187,7 @@ const {
6172
6187
  transformOrigin: "right bottom",
6173
6188
  animationName: ar
6174
6189
  }
6175
- }), lr = new x("rollIn", {
6190
+ }), lr = new S("rollIn", {
6176
6191
  from: {
6177
6192
  opacity: 0,
6178
6193
  transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
@@ -6181,7 +6196,7 @@ const {
6181
6196
  opacity: 1,
6182
6197
  transform: "translate3d(0, 0, 0)"
6183
6198
  }
6184
- }), rr = new x("rollOut", {
6199
+ }), rr = new S("rollOut", {
6185
6200
  from: {
6186
6201
  opacity: 1
6187
6202
  },
@@ -6199,7 +6214,7 @@ const {
6199
6214
  animationFillMode: "both",
6200
6215
  animationName: rr
6201
6216
  }
6202
- }), ur = new x("zoomIn", {
6217
+ }), ur = new S("zoomIn", {
6203
6218
  from: {
6204
6219
  opacity: 0,
6205
6220
  transform: "scale3d(0.3, 0.3, 0.3)"
@@ -6207,7 +6222,7 @@ const {
6207
6222
  "50%": {
6208
6223
  opacity: 1
6209
6224
  }
6210
- }), dr = new x("zoomInDown", {
6225
+ }), dr = new S("zoomInDown", {
6211
6226
  from: {
6212
6227
  opacity: 0,
6213
6228
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
@@ -6218,7 +6233,7 @@ const {
6218
6233
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
6219
6234
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
6220
6235
  }
6221
- }), mr = new x("zoomInLeft", {
6236
+ }), mr = new S("zoomInLeft", {
6222
6237
  from: {
6223
6238
  opacity: 0,
6224
6239
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
@@ -6229,7 +6244,7 @@ const {
6229
6244
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
6230
6245
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
6231
6246
  }
6232
- }), fr = new x("zoomInRight", {
6247
+ }), fr = new S("zoomInRight", {
6233
6248
  from: {
6234
6249
  opacity: 0,
6235
6250
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
@@ -6240,7 +6255,7 @@ const {
6240
6255
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
6241
6256
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
6242
6257
  }
6243
- }), hr = new x("zoomInUp", {
6258
+ }), hr = new S("zoomInUp", {
6244
6259
  from: {
6245
6260
  opacity: 0,
6246
6261
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
@@ -6251,7 +6266,7 @@ const {
6251
6266
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
6252
6267
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
6253
6268
  }
6254
- }), gr = new x("zoomOut", {
6269
+ }), gr = new S("zoomOut", {
6255
6270
  from: {
6256
6271
  opacity: 1
6257
6272
  },
@@ -6262,7 +6277,7 @@ const {
6262
6277
  to: {
6263
6278
  opacity: 0
6264
6279
  }
6265
- }), yr = new x("zoomOutDown", {
6280
+ }), yr = new S("zoomOutDown", {
6266
6281
  "40%": {
6267
6282
  opacity: 1,
6268
6283
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
@@ -6273,7 +6288,7 @@ const {
6273
6288
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
6274
6289
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
6275
6290
  }
6276
- }), br = new x("zoomOutLeft", {
6291
+ }), br = new S("zoomOutLeft", {
6277
6292
  "40%": {
6278
6293
  opacity: 1,
6279
6294
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
@@ -6282,7 +6297,7 @@ const {
6282
6297
  opacity: 0,
6283
6298
  transform: "scale(0.1) translate3d(-2000px, 0, 0)"
6284
6299
  }
6285
- }), vr = new x("zoomOutRight", {
6300
+ }), vr = new S("zoomOutRight", {
6286
6301
  "40%": {
6287
6302
  opacity: 1,
6288
6303
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
@@ -6291,7 +6306,7 @@ const {
6291
6306
  opacity: 0,
6292
6307
  transform: "scale(0.1) translate3d(2000px, 0, 0)"
6293
6308
  }
6294
- }), pr = new x("zoomOutUp", {
6309
+ }), pr = new S("zoomOutUp", {
6295
6310
  "40%": {
6296
6311
  opacity: 1,
6297
6312
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
@@ -6348,7 +6363,7 @@ const {
6348
6363
  transformOrigin: "center bottom",
6349
6364
  animationName: pr
6350
6365
  }
6351
- }), Sr = new x("slideInDown", {
6366
+ }), Sr = new S("slideInDown", {
6352
6367
  from: {
6353
6368
  transform: "translate3d(0, -100%, 0)",
6354
6369
  visibility: "visible"
@@ -6356,7 +6371,7 @@ const {
6356
6371
  to: {
6357
6372
  transform: "translate3d(0, 0, 0)"
6358
6373
  }
6359
- }), Ir = new x("slideInLeft", {
6374
+ }), Ir = new S("slideInLeft", {
6360
6375
  from: {
6361
6376
  transform: "translate3d(-100%, 0, 0)",
6362
6377
  visibility: "visible"
@@ -6364,7 +6379,7 @@ const {
6364
6379
  to: {
6365
6380
  transform: "translate3d(0, 0, 0)"
6366
6381
  }
6367
- }), wr = new x("slideInRight", {
6382
+ }), wr = new S("slideInRight", {
6368
6383
  from: {
6369
6384
  transform: "translate3d(100%, 0, 0)",
6370
6385
  visibility: "visible"
@@ -6372,7 +6387,7 @@ const {
6372
6387
  to: {
6373
6388
  transform: "translate3d(0, 0, 0)"
6374
6389
  }
6375
- }), Rr = new x("slideInUp", {
6390
+ }), Rr = new S("slideInUp", {
6376
6391
  from: {
6377
6392
  transform: "translate3d(0, 100%, 0)",
6378
6393
  visibility: "visible"
@@ -6380,7 +6395,7 @@ const {
6380
6395
  to: {
6381
6396
  transform: "translate3d(0, 0, 0)"
6382
6397
  }
6383
- }), $r = new x("slideOutDown", {
6398
+ }), $r = new S("slideOutDown", {
6384
6399
  from: {
6385
6400
  transform: "translate3d(0, 0, 0)"
6386
6401
  },
@@ -6388,7 +6403,7 @@ const {
6388
6403
  transform: "translate3d(0, 100%, 0)",
6389
6404
  visibility: "hidden"
6390
6405
  }
6391
- }), Br = new x("slideOutLeft", {
6406
+ }), Mr = new S("slideOutLeft", {
6392
6407
  from: {
6393
6408
  transform: "translate3d(0, 0, 0)"
6394
6409
  },
@@ -6396,7 +6411,7 @@ const {
6396
6411
  transform: "translate3d(-100%, 0, 0)",
6397
6412
  visibility: "hidden"
6398
6413
  }
6399
- }), Mr = new x("slideOutRight", {
6414
+ }), Br = new S("slideOutRight", {
6400
6415
  from: {
6401
6416
  transform: "translate3d(0, 0, 0)"
6402
6417
  },
@@ -6404,7 +6419,7 @@ const {
6404
6419
  transform: "translate3d(100%, 0, 0)",
6405
6420
  visibility: "hidden"
6406
6421
  }
6407
- }), Lr = new x("slideOutUp", {
6422
+ }), Lr = new S("slideOutUp", {
6408
6423
  from: {
6409
6424
  transform: "translate3d(0, 0, 0)"
6410
6425
  },
@@ -6436,11 +6451,11 @@ const {
6436
6451
  },
6437
6452
  "&.slideOutLeft": {
6438
6453
  animationFillMode: "both",
6439
- animationName: Br
6454
+ animationName: Mr
6440
6455
  },
6441
6456
  "&.slideOutRight": {
6442
6457
  animationFillMode: "both",
6443
- animationName: Mr
6458
+ animationName: Br
6444
6459
  },
6445
6460
  "&.slideOutUp": {
6446
6461
  animationFillMode: "both",
@@ -6509,29 +6524,29 @@ const rs = /* @__PURE__ */ j({
6509
6524
  }), {
6510
6525
  wrapSSR: o,
6511
6526
  hashId: i
6512
- } = Tr(a), l = (h, d) => {
6513
- if (h.length === 0 || h === "x" || h === "y")
6514
- return h;
6515
- let m = d.indexOf(h);
6516
- return m = m % 2 === 1 ? m - 1 : m + 1, d[m];
6517
- }, s = (h) => {
6518
- const d = kt.preset.find((y) => e.name === y.name);
6519
- if (d === void 0)
6527
+ } = Tr(a), l = (g, f) => {
6528
+ if (g.length === 0 || g === "x" || g === "y")
6529
+ return g;
6530
+ let d = f.indexOf(g);
6531
+ return d = d % 2 === 1 ? d - 1 : d + 1, f[d];
6532
+ }, s = (g) => {
6533
+ const f = Tt.preset.find((b) => e.name === b.name);
6534
+ if (f === void 0)
6520
6535
  return "";
6521
- let m = "";
6522
- e.direction === void 0 ? m = d.directions[0] : m = d.directions.find((y) => y === e.direction) || "", m = m === void 0 || m === "default" ? "" : m, m !== "" && (m = h && e.reverse ? l(m, d.directions) : m, m = m[0].toUpperCase() + m.substring(1));
6523
- const S = h ? "Out" : "In";
6524
- return d.name + S + m;
6525
- }, r = R(() => [s(!1), `${a}-enter`, i.value].join(" ")), g = R(() => [s(!0), `${a}-leave`, i.value].join(" "));
6536
+ let d = "";
6537
+ e.direction === void 0 ? d = f.directions[0] : d = f.directions.find((b) => b === e.direction) || "", d = d === void 0 || d === "default" ? "" : d, d !== "" && (d = g && e.reverse ? l(d, f.directions) : d, d = d[0].toUpperCase() + d.substring(1));
6538
+ const y = g ? "Out" : "In";
6539
+ return f.name + y + d;
6540
+ }, r = R(() => [s(!1), `${a}-enter`, i.value].join(" ")), h = R(() => [s(!0), `${a}-leave`, i.value].join(" "));
6526
6541
  return () => {
6527
- var h;
6528
- return e.disabled ? (h = t.default) == null ? void 0 : h.call(t) : o(n(Un, {
6542
+ var g;
6543
+ return e.disabled ? (g = t.default) == null ? void 0 : g.call(t) : o(n(Un, {
6529
6544
  enterActiveClass: r.value,
6530
- leaveActiveClass: g.value
6545
+ leaveActiveClass: h.value
6531
6546
  }, {
6532
6547
  default: () => {
6533
- var d;
6534
- return [(d = t.default) == null ? void 0 : d.call(t)];
6548
+ var f;
6549
+ return [(f = t.default) == null ? void 0 : f.call(t)];
6535
6550
  }
6536
6551
  }));
6537
6552
  };
@@ -6543,7 +6558,7 @@ const rs = /* @__PURE__ */ j({
6543
6558
  },
6544
6559
  onItemClick: Function
6545
6560
  }, Pr = (e, t) => {
6546
- if (e && typeof e == "string" && Rt(e))
6561
+ if (e && typeof e == "string" && $t(e))
6547
6562
  return n("img", {
6548
6563
  src: e,
6549
6564
  alt: "logo"
@@ -6561,7 +6576,7 @@ const rs = /* @__PURE__ */ j({
6561
6576
  }, [a]);
6562
6577
  }
6563
6578
  return e;
6564
- }, An = /* @__PURE__ */ j({
6579
+ }, Hn = /* @__PURE__ */ j({
6565
6580
  props: {
6566
6581
  hashId: String,
6567
6582
  baseClassName: String,
@@ -6582,7 +6597,7 @@ const rs = /* @__PURE__ */ j({
6582
6597
  class: `${e.baseClassName}-content-list-item-group ${e.hashId}`.trim()
6583
6598
  }, [n("div", {
6584
6599
  class: `${e.baseClassName}-content-list-item-group-title ${e.hashId}`.trim()
6585
- }, [a.title]), n(An, {
6600
+ }, [a.title]), n(Hn, {
6586
6601
  hashId: e.hashId,
6587
6602
  onItemClick: e.onItemClick,
6588
6603
  appList: a == null ? void 0 : a.children,
@@ -6602,7 +6617,7 @@ const rs = /* @__PURE__ */ j({
6602
6617
  })])]);
6603
6618
  };
6604
6619
  }
6605
- }), Hn = /* @__PURE__ */ j({
6620
+ }), jn = /* @__PURE__ */ j({
6606
6621
  props: {
6607
6622
  hashId: String,
6608
6623
  baseClassName: String,
@@ -6623,7 +6638,7 @@ const rs = /* @__PURE__ */ j({
6623
6638
  class: `${e.baseClassName}-content-list-item-group ${e.hashId}`.trim()
6624
6639
  }, [n("div", {
6625
6640
  class: `${e.baseClassName}-content-list-item-group-title ${e.hashId}`.trim()
6626
- }, [a.title]), n(Hn, {
6641
+ }, [a.title]), n(jn, {
6627
6642
  hashId: e.hashId,
6628
6643
  onItemClick: e.onItemClick,
6629
6644
  appList: a == null ? void 0 : a.children,
@@ -6639,7 +6654,7 @@ const rs = /* @__PURE__ */ j({
6639
6654
  href: e.onItemClick ? void 0 : a.url,
6640
6655
  target: a.target,
6641
6656
  rel: "noreferrer"
6642
- }, [n(Bo, {
6657
+ }, [n(Mo, {
6643
6658
  logo: a.icon
6644
6659
  }, null), n("div", null, [n("div", null, [a.title]), a.desc ? n("span", null, [a.desc]) : null])])]);
6645
6660
  })])]);
@@ -6661,12 +6676,12 @@ const rs = /* @__PURE__ */ j({
6661
6676
  };
6662
6677
  return () => {
6663
6678
  var s;
6664
- 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, {
6665
6680
  hashId: o.value,
6666
6681
  appList: e.appList,
6667
6682
  onItemClick: e.onItemClick ? i : void 0,
6668
6683
  baseClassName: `${t}-simple`
6669
- }, null)) : a(n(Hn, {
6684
+ }, null)) : a(n(jn, {
6670
6685
  hashId: o.value,
6671
6686
  appList: e.appList,
6672
6687
  onItemClick: e.onItemClick ? i : void 0,
@@ -6677,10 +6692,10 @@ const rs = /* @__PURE__ */ j({
6677
6692
  });
6678
6693
  export {
6679
6694
  ss as AppsLogoList,
6680
- pn as BaseMenu,
6695
+ Cn as BaseMenu,
6681
6696
  Zo as DefaultHeader,
6682
6697
  ts as GProLayout,
6683
- Et as GlobalFooter,
6698
+ Wt as GlobalFooter,
6684
6699
  os as PageContainer,
6685
6700
  so as PageLoading,
6686
6701
  ns as PageLock,
@@ -6688,22 +6703,22 @@ export {
6688
6703
  as as RightContent,
6689
6704
  bi as SearchPageInput,
6690
6705
  ls as SettingDrawer,
6691
- Xt as SiderMenuWrapper,
6692
- kt as animateSeting,
6706
+ Gt as SiderMenuWrapper,
6707
+ Tt as animateSeting,
6693
6708
  st as baseMenuProps,
6694
6709
  Xo as checkThemeStatus,
6695
6710
  zo as clearMenuItem,
6696
6711
  Bn as coverToNewToken,
6697
6712
  to as defaultContextKey,
6698
6713
  jo as filterTree,
6699
- $n as findLastKey,
6714
+ Mn as findLastKey,
6700
6715
  Do as flatMap,
6701
- Rn as getLastPath,
6716
+ $n as getLastPath,
6702
6717
  Ho as getMatchedList,
6703
6718
  No as getMenuData,
6704
6719
  Ao as getMenuFirstChildren,
6705
6720
  _o as handleThemeConfig,
6706
- wn as hanlePathKey,
6721
+ Rn as hanlePathKey,
6707
6722
  no as provideProLayoutContext,
6708
6723
  Vo as removeDuplicatesByName,
6709
6724
  is as useLayoutMenu,