@gx-design-vue/pro-layout 0.1.0-beta.202 → 0.1.0-beta.203

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,36 +1,36 @@
1
1
  /*!
2
2
  * Gx Design Pro
3
- * Version: 0.1.0-beta.201
3
+ * Version: 0.1.0-beta.202
4
4
  * Author: gx12358
5
5
  * Copyright (C) 2024 gx12358
6
6
  * License: MIT License
7
7
  * Description: Gx Design Pro Layout
8
- * Date Created: 2025-12-25
8
+ * Date Created: 2025-12-26
9
9
  * Homepage:
10
10
  * Contact: gx12358@gmail.com
11
11
  */
12
- import { defineComponent as G, computed as b, watch as U, createVNode as o, mergeProps as le, isVNode as xe, cloneVNode as tn, resolveComponent as nn, ref as Z, toRefs as Xe, unref as Ae, Fragment as Y, reactive as Oe, toRaw as an, inject as on, onMounted as It, onUnmounted as ln, Teleport as rn, Transition as sn, isRef as st } from "vue";
13
- import { createFromIconfontCN as Ze, MenuUnfoldOutlined as un, MenuFoldOutlined as cn, GithubOutlined as dn, HomeOutlined as mn, CloseOutlined as Ke, FullscreenExitOutlined as St, FullscreenOutlined as Rt, ReloadOutlined as $t, ExportOutlined as fn, VerticalRightOutlined as pn, VerticalLeftOutlined as gn, VerticalAlignMiddleOutlined as hn, SwapOutlined as yn, DownOutlined as bn } from "@ant-design/icons-vue";
14
- import { useState as Be, useMemo as Pe, useMediaQuery as vn, useSlotsProps as Cn, onMountedOrActivated as xn } from "@gx-design-vue/pro-hooks";
15
- import { unit as z, useProConfigContext as Ne, useProStyle as ie, Keyframe as p, useStyle as Ie, mergeToken as Qe, GProConfigProvider as In, setAlpha as Sn, getAlphaColor as Rn } from "@gx-design-vue/pro-provider";
16
- import { isString as Ve, getPrefixCls as ae, classNames as O, isUrl as he, isImg as Ue, getLevelData as wt, convertValueBoolean as $n, isArray as wn, getSlotVNode as re, arrayRepeat as Mn, isBoolean as se, merge as we, isNumber as ut, deepMerge as qe, getRandomNumber as ct, getSlot as Te, getSlotsProps as ge, isFunction as On, isBrowser as Bn } from "@gx-design-vue/pro-utils";
12
+ import { defineComponent as X, computed as v, watch as U, createVNode as o, mergeProps as oe, isVNode as ve, cloneVNode as tn, resolveComponent as nn, ref as q, toRefs as Xe, unref as Ae, Fragment as G, reactive as we, toRaw as an, inject as on, onMounted as It, onUnmounted as ln, Teleport as rn, Transition as sn, isRef as st } from "vue";
13
+ import { createFromIconfontCN as Ze, MenuUnfoldOutlined as un, MenuFoldOutlined as cn, GithubOutlined as dn, HomeOutlined as mn, CloseOutlined as Ke, FullscreenExitOutlined as St, FullscreenOutlined as $t, ReloadOutlined as Rt, ExportOutlined as fn, VerticalRightOutlined as pn, VerticalLeftOutlined as gn, VerticalAlignMiddleOutlined as hn, SwapOutlined as yn, DownOutlined as bn } from "@ant-design/icons-vue";
14
+ import { useState as Me, useMemo as Oe, useMediaQuery as vn, useSlotsProps as Cn, onMountedOrActivated as xn } from "@gx-design-vue/pro-hooks";
15
+ import { unit as z, useProConfigContext as Le, useProStyle as le, Keyframe as h, useStyle as Ce, mergeToken as Qe, GProConfigProvider as In, setAlpha as Sn, getAlphaColor as $n } from "@gx-design-vue/pro-provider";
16
+ import { isString as Ve, getPrefixCls as ae, classNames as O, isUrl as ge, isImg as Ue, getLevelData as wt, convertValueBoolean as Rn, isArray as wn, getSlotVNode as ie, arrayRepeat as Mn, isBoolean as re, merge as $e, isNumber as ut, deepMerge as qe, getRandomNumber as ct, getSlot as Be, getSlotsProps as pe, isFunction as On, isBrowser as Bn } from "@gx-design-vue/pro-utils";
17
17
  import { useStyleTag as Mt, useMouse as Pn, watchThrottled as Tn, useElementBounding as Fn, useLocalStorage as Ln, useThrottleFn as Nn, useDark as Ot } from "@vueuse/core";
18
- import { Menu as be, Layout as Fe, ConfigProvider as Je, Spin as Bt, Drawer as Hn, LayoutFooter as Dn, Breadcrumb as zn, Tabs as Pt, Dropdown as dt, Card as Wn } from "ant-design-vue";
19
- import { pick as ve, omit as Ce, cloneDeep as Le } from "lodash-es";
20
- import { useRouter as He, RouterLink as mt, useRoute as jn } from "vue-router";
18
+ import { Menu as ye, Layout as Pe, ConfigProvider as Je, Spin as Bt, Drawer as Hn, LayoutFooter as Dn, Breadcrumb as zn, Tabs as Pt, Dropdown as dt, Card as Wn } from "ant-design-vue";
19
+ import { pick as Te, omit as be, cloneDeep as Fe } from "lodash-es";
20
+ import { useRouter as Ne, RouterLink as mt, useRoute as jn } from "vue-router";
21
21
  import { useContext as et, useThemeContext as Tt, ThemeContext as An } from "@gx-design-vue/context";
22
22
  import { useProAppContext as Ft, proAppProps as Kn, proAppSlots as Un, GProApp as kn } from "@gx-design-vue/pro-app";
23
23
  import { GIcon as ke } from "@gx-design-vue/icon";
24
24
  import { GPorWaterMark as En } from "@gx-design-vue/pro-watermark";
25
25
  import { GScrollbars as Xn } from "@gx-design-vue/scrollbar";
26
- function Se(e) {
26
+ function xe(e) {
27
27
  const n = e.layout?.key?.split(":") || [];
28
28
  return {
29
29
  theme: n[0],
30
30
  layout: n[1]
31
31
  };
32
32
  }
33
- const E = {
33
+ const k = {
34
34
  // 布局模式 side/mix/simple/wide/top
35
35
  layout: "mix",
36
36
  // 标题
@@ -58,7 +58,7 @@ const E = {
58
58
  }
59
59
  }, Vn = ["styles", "waterMarkProps", "classNames", "openKeys", "selectedKeys", "disableMobile", "shortcutKey", "pageContainer"], {
60
60
  provideContext: Gn,
61
- useInjectContext: Q
61
+ useInjectContext: Z
62
62
  } = et("pro-layout");
63
63
  function Yn(e) {
64
64
  const n = document.documentElement;
@@ -71,7 +71,7 @@ function Nt(e) {
71
71
  const n = /var\((--[\w-]+)\)/, t = e.match(n);
72
72
  return t ? t[1] : (/^--[\w-]+$/.test(e), e);
73
73
  }
74
- function ue(e) {
74
+ function se(e) {
75
75
  return e || e === 0 ? Ve(e) && e.includes("--") ? `var(${e})` : z(e) : "";
76
76
  }
77
77
  function _n(e, n) {
@@ -122,35 +122,35 @@ html[data-theme="dark"]::view-transition-new(root) {
122
122
  }`, tt = {
123
123
  layout: {
124
124
  type: String,
125
- default: E.layout
125
+ default: k.layout
126
126
  },
127
127
  wideWidth: {
128
128
  type: [Number, String],
129
- default: E.wideWidth
129
+ default: k.wideWidth
130
130
  },
131
131
  splitMenus: {
132
132
  type: Boolean,
133
- default: E.splitMenus
133
+ default: k.splitMenus
134
134
  },
135
135
  fixedTabsBar: {
136
136
  type: Boolean,
137
- default: E.fixedTabsBar
137
+ default: k.fixedTabsBar
138
138
  },
139
139
  fixedHeader: {
140
140
  type: Boolean,
141
- default: E.fixedHeader
141
+ default: k.fixedHeader
142
142
  },
143
143
  fixSiderbar: {
144
144
  type: Boolean,
145
- default: E.fixSiderbar
145
+ default: k.fixSiderbar
146
146
  },
147
147
  showTabsBar: {
148
148
  type: Boolean,
149
- default: E.showTabsBar
149
+ default: k.showTabsBar
150
150
  },
151
151
  headerHeight: {
152
152
  type: [Number, String],
153
- default: E.headerHeight
153
+ default: k.headerHeight
154
154
  },
155
155
  siderWidth: {
156
156
  type: [Number, String],
@@ -158,15 +158,15 @@ html[data-theme="dark"]::view-transition-new(root) {
158
158
  },
159
159
  title: {
160
160
  type: String,
161
- default: E.title
161
+ default: k.title
162
162
  },
163
163
  iconfontUrl: {
164
164
  type: String,
165
- default: E.iconfontUrl
165
+ default: k.iconfontUrl
166
166
  },
167
167
  animate: {
168
168
  type: Object,
169
- default: E.animate
169
+ default: k.animate
170
170
  }
171
171
  }, Qn = {
172
172
  mode: "inline",
@@ -204,7 +204,7 @@ html[data-theme="dark"]::view-transition-new(root) {
204
204
  }
205
205
  }, Jn = {
206
206
  ...Ht,
207
- ...ve(Ge, ["menuItemRender", "subMenuItemRender", "menuTextRender"]),
207
+ ...Te(Ge, ["menuItemRender", "subMenuItemRender", "menuTextRender"]),
208
208
  class: {
209
209
  type: String
210
210
  },
@@ -445,14 +445,14 @@ html[data-theme="dark"]::view-transition-new(root) {
445
445
  }
446
446
  }
447
447
  };
448
- }, Oi = (e) => {
448
+ }, Bi = (e) => {
449
449
  const {
450
450
  icon: n,
451
451
  iconPrefix: t = "",
452
452
  iconfontUrl: a,
453
453
  hashId: l,
454
454
  style: i
455
- } = e, r = O(e.className, t, l), h = o("span", {
455
+ } = e, r = O(e.className, t, l), g = o("span", {
456
456
  class: O(r),
457
457
  style: {
458
458
  display: "none"
@@ -460,18 +460,18 @@ html[data-theme="dark"]::view-transition-new(root) {
460
460
  }, [o("span", {
461
461
  class: "anticon"
462
462
  }, null)]);
463
- if (!n) return h;
464
- const c = (g) => o("img", {
465
- src: g,
463
+ if (!n) return g;
464
+ const u = (p) => o("img", {
465
+ src: p,
466
466
  alt: "icon",
467
467
  class: O(e.className ? `${e.className}-image` : "", r),
468
468
  style: i
469
- }, null), d = (g) => {
470
- const v = Ze({
471
- scriptUrl: a || E.iconfontUrl
469
+ }, null), d = (p) => {
470
+ const C = Ze({
471
+ scriptUrl: a || k.iconfontUrl
472
472
  });
473
- return a ? o(v, {
474
- type: g,
473
+ return a ? o(C, {
474
+ type: p,
475
475
  class: r,
476
476
  style: i
477
477
  }, null) : o("span", {
@@ -481,16 +481,16 @@ html[data-theme="dark"]::view-transition-new(root) {
481
481
  }, m = () => tn(n, {
482
482
  class: r,
483
483
  style: i
484
- }), u = (g) => {
485
- if (he(g) || Ue(g)) return c(g);
486
- if (t === "iconfont") return d(g);
487
- const v = nn(g);
488
- return typeof v == "function" && o(v, null, null) || h;
484
+ }), c = (p) => {
485
+ if (ge(p) || Ue(p)) return u(p);
486
+ if (t === "iconfont") return d(p);
487
+ const C = nn(p);
488
+ return typeof C == "function" && o(C, null, null) || g;
489
489
  };
490
- return typeof n == "string" ? n !== "" ? u(n) : h : xe(n) ? m() : h;
490
+ return typeof n == "string" ? n !== "" ? c(n) : g : ve(n) ? m() : g;
491
491
  };
492
492
  let Dt = Ze({
493
- scriptUrl: E.iconfontUrl
493
+ scriptUrl: k.iconfontUrl
494
494
  });
495
495
  const pt = ({
496
496
  icon: e,
@@ -500,7 +500,7 @@ const pt = ({
500
500
  hashId: l
501
501
  }) => {
502
502
  if (typeof e == "string" && e !== "") {
503
- if (he(e) || Ue(e))
503
+ if (ge(e) || Ue(e))
504
504
  return o("img", {
505
505
  key: e,
506
506
  src: e,
@@ -522,68 +522,68 @@ class ta {
522
522
  const {
523
523
  menuRenderType: i,
524
524
  subMenuItemRender: r,
525
- baseClassName: h,
526
- collapsed: c,
525
+ baseClassName: g,
526
+ collapsed: u,
527
527
  iconPrefixes: d,
528
528
  styles: m,
529
- classNames: u
530
- } = this.props, g = this.getIntlName(t), v = i === "sider" ? t.meta?.inlineIndent ?? a * (this.props.extraInlineIndent ?? 10) : 0, S = t?.children, s = t?.meta?.hideInMenu, C = t?.meta?.rightContent, I = t?.meta?.divider, w = Array.isArray(S) && S.length > 0 && !s, T = S?.every((N) => N.meta?.hideInMenu);
531
- if (w && !T) {
532
- const N = t.meta?.icon || a === 1, y = typeof t.meta?.icon == "string" ? he(t.meta?.icon) || Ue(t.meta?.icon) : !1, M = pt({
529
+ classNames: c
530
+ } = this.props, p = this.getIntlName(t), C = i === "sider" ? t.meta?.inlineIndent ?? a * (this.props.extraInlineIndent ?? 10) : 0, S = t?.children, s = t?.meta?.hideInMenu, x = t?.meta?.rightContent, I = t?.meta?.divider, M = Array.isArray(S) && S.length > 0 && !s, T = S?.every((N) => N.meta?.hideInMenu);
531
+ if (M && !T) {
532
+ const N = t.meta?.icon || a === 1, y = typeof t.meta?.icon == "string" ? ge(t.meta?.icon) || Ue(t.meta?.icon) : !1, w = pt({
533
533
  icon: t.meta?.icon,
534
534
  iconStyle: t.meta?.iconStyle,
535
535
  iconPrefixes: d,
536
- className: `${h}-item`,
536
+ className: `${g}-item`,
537
537
  hashId: this.props?.hashId
538
- }), k = c && N ? gt(g) : null, X = o("div", {
539
- class: O(u?.menuItemTitle, `${h}-item-title`, this.props?.hashId, {
540
- [`${h}-item-title-collapsed`]: c,
541
- [`${h}-item-title-collapsed-level-${l}`]: c
538
+ }), V = u && N ? gt(p) : null, j = o("div", {
539
+ class: O(c?.menuItemTitle, `${g}-item-title`, this.props?.hashId, {
540
+ [`${g}-item-title-collapsed`]: u,
541
+ [`${g}-item-title-collapsed-level-${l}`]: u
542
542
  }),
543
543
  style: {
544
- paddingInlineStart: this.props.collapsed ? 0 : z(v),
544
+ paddingInlineStart: this.props.collapsed ? 0 : z(C),
545
545
  ...m?.menuItemTitle
546
546
  }
547
- }, [c ? null : N && M ? o("span", {
548
- class: O(`${h}-item-icon`, this.props?.hashId, u?.menuItemIcon),
547
+ }, [u ? null : N && w ? o("span", {
548
+ class: O(`${g}-item-icon`, this.props?.hashId, c?.menuItemIcon),
549
549
  style: {
550
550
  ...m?.menuItemIcon,
551
551
  ...y ? {} : t.meta?.iconStyle || {}
552
552
  }
553
- }, [M]) : k, o("span", {
554
- class: O(u?.menuItemTitleText, `${h}-item-text`, this.props?.hashId, {
555
- [`${h}-item-text-has-icon`]: N && (M || k)
553
+ }, [w]) : V, o("span", {
554
+ class: O(c?.menuItemTitleText, `${g}-item-text`, this.props?.hashId, {
555
+ [`${g}-item-text-has-icon`]: N && (w || V)
556
556
  }),
557
557
  style: m?.menuItemTitleText
558
- }, [g]), C && typeof C == "function" ? o("div", {
559
- class: O(`${h}-item-right-content`, this.props.hashId)
560
- }, [C(t.meta)]) : null]), A = r ? r({
558
+ }, [p]), x && typeof x == "function" ? o("div", {
559
+ class: O(`${g}-item-right-content`, this.props.hashId)
560
+ }, [x(t.meta)]) : null]), A = r ? r({
561
561
  item: t,
562
- children: X,
562
+ children: j,
563
563
  menuProps: this.props
564
- }) : X;
564
+ }) : j;
565
565
  if (a === 0 && this.props.collapsed)
566
566
  return this.getNavMenuItems(S, a + 1, a);
567
- const V = this.getNavMenuItems(S, a + 1, a === 0 && this.props.collapsed ? a : a + 1);
567
+ const E = this.getNavMenuItems(S, a + 1, a === 0 && this.props.collapsed ? a : a + 1);
568
568
  return [I ? {
569
569
  type: "divider"
570
570
  } : void 0, {
571
571
  key: t.name,
572
572
  label: A,
573
- children: V,
573
+ children: E,
574
574
  style: m?.subMenu,
575
575
  disabled: t.meta?.disabled,
576
- class: O(u?.subMenu, {
577
- [`${h}-submenu`]: !0,
578
- [`${h}-submenu-has-icon`]: N && M
576
+ class: O(c?.subMenu, {
577
+ [`${g}-submenu`]: !0,
578
+ [`${g}-submenu-has-icon`]: N && w
579
579
  }),
580
- popupClassName: O(u?.subMenuPopup, `${h}-submenu-popup`, `${h}-submenu-popup-${this.props?.menuRenderType}`, this.props?.hashId)
580
+ popupClassName: O(c?.subMenuPopup, `${g}-submenu-popup`, `${g}-submenu-popup-${this.props?.menuRenderType}`, this.props?.hashId)
581
581
  }].filter(Boolean);
582
582
  }
583
583
  return [I ? {
584
584
  type: "divider"
585
585
  } : void 0, {
586
- class: O(`${h}-item`, u?.menuItem),
586
+ class: O(`${g}-item`, c?.menuItem),
587
587
  style: m?.menuItem,
588
588
  key: t.name,
589
589
  disabled: t.meta?.disabled,
@@ -601,83 +601,83 @@ class ta {
601
601
  }, this.getMenuItemPath = (t, a, l) => {
602
602
  const i = this.conversionPath(t.path || "/"), {
603
603
  isMobile: r,
604
- menuRenderType: h,
605
- onCollapse: c,
604
+ menuRenderType: g,
605
+ onCollapse: u,
606
606
  menuItemRender: d,
607
607
  iconPrefixes: m,
608
- classNames: u,
609
- styles: g
610
- } = this.props, v = this.getIntlName(t), {
608
+ classNames: c,
609
+ styles: p
610
+ } = this.props, C = this.getIntlName(t), {
611
611
  baseClassName: S,
612
612
  collapsed: s
613
- } = this.props, C = t.meta?.icon || a === 1, I = t.meta?.rightContent, w = typeof t.meta?.icon == "string" ? he(t.meta?.icon) || Ue(t.meta?.icon) : !1, T = h === "sider" ? t.meta?.inlineIndent ?? a * (this.props.extraInlineIndent ?? 10) : 0, N = C ? pt({
613
+ } = this.props, x = t.meta?.icon || a === 1, I = t.meta?.rightContent, M = typeof t.meta?.icon == "string" ? ge(t.meta?.icon) || Ue(t.meta?.icon) : !1, T = g === "sider" ? t.meta?.inlineIndent ?? a * (this.props.extraInlineIndent ?? 10) : 0, N = x ? pt({
614
614
  icon: t.meta?.icon,
615
615
  iconStyle: t.meta?.iconStyle,
616
616
  iconPrefixes: m,
617
617
  className: `${S}-item`,
618
618
  hashId: this.props?.hashId
619
- }) : null, y = s && C ? gt(v) : null, M = t.meta?.linkStatus === 1 && he(t.meta?.link), k = o("div", {
619
+ }) : null, y = s && x ? gt(C) : null, w = t.meta?.linkStatus === 1 && ge(t.meta?.link), V = o("div", {
620
620
  key: i,
621
- class: O(u?.menuItemTitle, `${S}-item-title`, this.props?.hashId, {
622
- [`${S}-item-link`]: M,
621
+ class: O(c?.menuItemTitle, `${S}-item-title`, this.props?.hashId, {
622
+ [`${S}-item-link`]: w,
623
623
  [`${S}-item-title-collapsed`]: s,
624
624
  [`${S}-item-title-collapsed-level-${l}`]: s
625
625
  }),
626
626
  style: {
627
627
  paddingInlineStart: this.props.collapsed ? 0 : z(T),
628
- ...g?.menuItemTitle
628
+ ...p?.menuItemTitle
629
629
  }
630
630
  }, [o("span", {
631
- class: O(`${S}-item-icon ${this.props?.hashId}`, u?.menuItemIcon),
631
+ class: O(`${S}-item-icon ${this.props?.hashId}`, c?.menuItemIcon),
632
632
  style: {
633
633
  display: y === null && !N ? "none" : "",
634
- ...g?.menuItemIcon,
635
- ...w ? {} : t.meta?.iconStyle || {}
634
+ ...p?.menuItemIcon,
635
+ ...M ? {} : t.meta?.iconStyle || {}
636
636
  }
637
637
  }, [N || o("span", {
638
638
  class: "anticon"
639
639
  }, [y])]), o("span", {
640
- class: O(u?.menuItemTitleText, `${S}-item-text`, this.props?.hashId, {
641
- [`${S}-item-text-has-icon`]: C && (N || y)
640
+ class: O(c?.menuItemTitleText, `${S}-item-text`, this.props?.hashId, {
641
+ [`${S}-item-text-has-icon`]: x && (N || y)
642
642
  }),
643
- style: g?.menuItemTitleText
644
- }, [v]), I && typeof I == "function" ? o("div", {
643
+ style: p?.menuItemTitleText
644
+ }, [C]), I && typeof I == "function" ? o("div", {
645
645
  class: O(`${S}-item-right-content`, this.props.hashId)
646
646
  }, [I(t.meta)]) : null]);
647
647
  if (d) {
648
- const X = {
648
+ const j = {
649
649
  ...t,
650
- isUrl: M,
650
+ isUrl: w,
651
651
  itemPath: i,
652
652
  isMobile: r,
653
653
  replace: i === location.pathname,
654
- onClick: () => c && c(!0),
654
+ onClick: () => u && u(!0),
655
655
  children: void 0
656
656
  };
657
657
  return d({
658
- item: X,
659
- defaultDom: k,
658
+ item: j,
659
+ defaultDom: V,
660
660
  menuProps: this.props
661
661
  });
662
662
  }
663
- return k;
663
+ return V;
664
664
  }, this.conversionPath = (t) => t && t.indexOf("http") === 0 ? t : `/${t || ""}`.replace(/\/+/g, "/"), this.props = n;
665
665
  }
666
666
  }
667
- const zt = /* @__PURE__ */ G({
667
+ const zt = /* @__PURE__ */ X({
668
668
  name: "BaseMenu",
669
669
  props: Jn,
670
670
  setup(e) {
671
- const n = He(), {
671
+ const n = Ne(), {
672
672
  dark: t,
673
673
  token: a
674
- } = Ne(), l = Q(), r = (l?.getPrefixCls || ae)({
674
+ } = Le(), l = Z(), r = (l?.getPrefixCls || ae)({
675
675
  isPor: !0,
676
676
  suffixCls: "base-menu"
677
677
  }), {
678
- wrapSSR: h,
679
- hashId: c
680
- } = ie("ProBaseMenu", [ea], r), [d, m] = Be(e.openKeys || []), [u, g] = Be(e.selectedKeys || []), v = Pe(() => new ta({
678
+ wrapSSR: g,
679
+ hashId: u
680
+ } = le("ProBaseMenu", [ea], r), [d, m] = Me(e.openKeys || []), [c, p] = Me(e.selectedKeys || []), C = Oe(() => new ta({
681
681
  ...e,
682
682
  layout: l?.settings?.value?.layout,
683
683
  isMobile: l?.isMobile?.value,
@@ -688,60 +688,60 @@ const zt = /* @__PURE__ */ G({
688
688
  inlineIndent: e.menuProps?.inlineIndent,
689
689
  extraInlineIndent: e.menuProps?.extraInlineIndent,
690
690
  iconfontUrl: e.iconfontUrl,
691
- hashId: c.value,
691
+ hashId: u.value,
692
692
  onCollapse: (s) => {
693
693
  l && (l.collapsed.value = s);
694
694
  }
695
- }), [() => c.value, () => a.value, () => e.menuData, () => e.iconfontUrl, () => e.styles, () => e.classNames, () => e.menuProps?.inlineIndent, () => e.menuProps?.extraInlineIndent, () => l?.isMobile?.value, () => l?.collapsedEffect?.value, () => l?.settings?.value?.layout]), S = b(() => {
696
- const s = `.${r}`, C = `.${r}-item`, I = `.${r}-submenu`, w = `${a.value.antCls}-menu-item-selected`, T = `${a.value.antCls}-menu-submenu-title`;
695
+ }), [() => u.value, () => a.value, () => e.menuData, () => e.iconfontUrl, () => e.styles, () => e.classNames, () => e.menuProps?.inlineIndent, () => e.menuProps?.extraInlineIndent, () => l?.isMobile?.value, () => l?.collapsedEffect?.value, () => l?.settings?.value?.layout]), S = v(() => {
696
+ const s = `.${r}`, x = `.${r}-item`, I = `.${r}-submenu`, M = `${a.value.antCls}-menu-item-selected`, T = `${a.value.antCls}-menu-submenu-title`;
697
697
  return `
698
698
  ${s} ${I}>${T} {
699
699
  ${ft(e.styles.subMenuTitle)}
700
700
  }
701
- ${s} ${C}${w} {
701
+ ${s} ${x}${M} {
702
702
  ${ft(e.styles.menuItemSelect)}
703
703
  }
704
704
  `;
705
705
  });
706
- return Mt(S), U(() => e.openKeys, (s) => m(s)), U(() => e.selectedKeys, (s) => g(s)), U(() => e.iconfontUrl, () => {
706
+ return Mt(S), U(() => e.openKeys, (s) => m(s)), U(() => e.selectedKeys, (s) => p(s)), U(() => e.iconfontUrl, () => {
707
707
  e.iconfontUrl && (Dt = Ze({
708
708
  scriptUrl: e.iconfontUrl
709
709
  }));
710
710
  }, {
711
711
  immediate: !0
712
- }), () => e.menuData && e.menuData?.length < 1 ? null : h(o(be, le({
712
+ }), () => e.menuData && e.menuData?.length < 1 ? null : g(o(ye, oe({
713
713
  key: "Menu",
714
714
  mode: e.mode,
715
715
  inlineIndent: 16,
716
716
  theme: t.value ? "dark" : "light",
717
717
  openKeys: d.value,
718
- selectedKeys: u.value,
718
+ selectedKeys: c.value,
719
719
  style: {
720
720
  backgroundColor: "transparent",
721
721
  border: "none",
722
722
  ...e.style
723
723
  },
724
- class: O(e.class, c, r, {
724
+ class: O(e.class, u, r, {
725
725
  [`${r}-inline`]: e.mode === "inline",
726
726
  [`${r}-horizontal`]: e.mode === "horizontal",
727
727
  [`${r}-collapsed`]: l?.collapsedEffect?.value
728
728
  }),
729
- items: v.value.getNavMenuItems(e.menuData, 0, 0)
730
- }, Ce(e.menuProps, ["onOpenChange", "onSelect", "onClick"]), {
729
+ items: C.value.getNavMenuItems(e.menuData, 0, 0)
730
+ }, be(e.menuProps, ["onOpenChange", "onSelect", "onClick"]), {
731
731
  onOpenChange: (s) => {
732
732
  m(s), e.onOpenKeys && e.onOpenKeys(s);
733
733
  },
734
734
  onSelect: (s) => {
735
- e.onSelect && e.onSelect(s), g(s.selectedKeys);
735
+ e.onSelect && e.onSelect(s), p(s.selectedKeys);
736
736
  },
737
737
  onClick: (s) => {
738
738
  if (e.onClick)
739
739
  e.onClick(s);
740
740
  else {
741
- const C = l?.menu?.value?.flatMenus?.find((I) => I.name === s.key);
742
- if (C) {
743
- const I = Ve(C.redirect) ? C.redirect : C.path || "", w = C.meta?.link || "", T = he(w);
744
- n.currentRoute.value?.fullPath !== I && (T && w && C.meta?.linkStatus === 1 ? window.open(w) : n.push({
741
+ const x = l?.menu?.value?.flatMenus?.find((I) => I.name === s.key);
742
+ if (x) {
743
+ const I = Ve(x.redirect) ? x.redirect : x.path || "", M = x.meta?.link || "", T = ge(M);
744
+ n.currentRoute.value?.fullPath !== I && (T && M && x.meta?.linkStatus === 1 ? window.open(M) : n.push({
745
745
  path: I
746
746
  }));
747
747
  }
@@ -749,7 +749,7 @@ const zt = /* @__PURE__ */ G({
749
749
  }
750
750
  }), null));
751
751
  }
752
- }), De = {
752
+ }), He = {
753
753
  collapsedButtonRender: {
754
754
  type: [Function, Object, Boolean, Array, String, Number],
755
755
  default: () => {
@@ -761,14 +761,14 @@ const zt = /* @__PURE__ */ G({
761
761
  }
762
762
  }
763
763
  }, na = {
764
- ...De
764
+ ...He
765
765
  }, Wt = (e, { breadcrumb: n, parentRoute: t, menuMap: a }) => e.map((l, i) => (l.meta = l.meta || {}, l.meta.order = l.meta.order ?? i + 1, l.key = t?.key ? `${t?.key}-${i}` : `${i}`, t?.meta?.hidden && (l.meta.hidden = !0), t?.meta?.hideChildren && (l.meta.hidden = !0), t?.meta?.hideInMenu && (l.meta.hideInMenu = !0), t?.meta?.hideChildrenInMenu && (l.meta.hideInMenu = !0), l.path = l.path.replace("//", "/"), l.children && l.children.length > 0 && (l.children = Wt(l.children, {
766
766
  breadcrumb: n,
767
767
  parentRoute: l,
768
768
  menuMap: a
769
- })), a.has(l.name) || a.set(l.name, Ce(l, "children")), n[`${l.path}`] = l, Ce(l, "component"))).sort((l, i) => {
770
- const r = l.meta?.order || 0, h = i.meta?.order || 0;
771
- return r - h > 0 ? 1 : -1;
769
+ })), a.has(l.name) || a.set(l.name, be(l, "children")), n[`${l.path}`] = l, be(l, "component"))).sort((l, i) => {
770
+ const r = l.meta?.order || 0, g = i.meta?.order || 0;
771
+ return r - g > 0 ? 1 : -1;
772
772
  });
773
773
  function jt(e) {
774
774
  const { menuSelectKey: n } = e?.meta || {};
@@ -790,10 +790,10 @@ function oa(e) {
790
790
  const n = /* @__PURE__ */ new Map(), t = [];
791
791
  function a(i) {
792
792
  return i.map((r) => {
793
- const h = r.path, c = r.name, d = n.has(c) && n.get(c) !== h;
794
- if (r?.meta?.hidden || !c || d)
795
- return (!c || d) && (t.some((m) => m.name === c && h === r.path) || t.push({ ...r })), null;
796
- if (n.set(c, h), r && r?.children)
793
+ const g = r.path, u = r.name, d = n.has(u) && n.get(u) !== g;
794
+ if (r?.meta?.hidden || !u || d)
795
+ return (!u || d) && (t.some((m) => m.name === u && g === r.path) || t.push({ ...r })), null;
796
+ if (n.set(u, g), r && r?.children)
797
797
  if (r?.meta?.hideChildren)
798
798
  r.children = [];
799
799
  else
@@ -848,15 +848,15 @@ function Kt(e, n) {
848
848
  }
849
849
  }
850
850
  function Ut({ menuData: e, flatMenus: n, menuMap: t }, { path: a, name: l }) {
851
- const i = t && t.size > 0 ? t.get(l) : n.find((S) => S.name === l), r = i?.key || "", h = i?.meta?.hidden, c = i?.meta?.hideInMenu;
851
+ const i = t && t.size > 0 ? t.get(l) : n.find((S) => S.name === l), r = i?.key || "", g = i?.meta?.hidden, u = i?.meta?.hideInMenu;
852
852
  let d = n.find((S) => S.path === a)?.key || "";
853
- const m = !d || c, u = r.split("-").slice(0, -1).join("-"), g = Kt(e, u) || d, v = i ? n.find((S) => S.name === i?.meta?.menuSelectKey || S.path === jt(i))?.key : void 0;
854
- if (d = m ? i?.meta?.menuSelectKey && v || g : d, d) {
853
+ const m = !d || u, c = r.split("-").slice(0, -1).join("-"), p = Kt(e, c) || d, C = i ? n.find((S) => S.name === i?.meta?.menuSelectKey || S.path === jt(i))?.key : void 0;
854
+ if (d = m ? i?.meta?.menuSelectKey && C || p : d, d) {
855
855
  const S = [], s = d.split("-");
856
856
  for (let I = 0; I < s.length; I += 1)
857
- S.push(Le(s).splice(0, I + 1).join("-"));
858
- const C = r === d || h ? [] : n.filter((I) => r === I.key);
859
- return n.filter((I) => S.some((w) => w === I?.key || "")).concat(C);
857
+ S.push(Fe(s).splice(0, I + 1).join("-"));
858
+ const x = r === d || g ? [] : n.filter((I) => r === I.key);
859
+ return n.filter((I) => S.some((M) => M === I?.key || "")).concat(x);
860
860
  }
861
861
  return [];
862
862
  }
@@ -893,7 +893,7 @@ const Ye = {
893
893
  },
894
894
  onLogoClick: Function
895
895
  }, ua = {
896
- ...ve(tt, ["title", "layout"]),
896
+ ...Te(tt, ["title", "layout"]),
897
897
  ...Ye
898
898
  }, nt = {
899
899
  ...Ye,
@@ -939,38 +939,38 @@ const Ye = {
939
939
  }
940
940
  };
941
941
  function ca(e, n) {
942
- const { x: t, y: a } = Pn(), [l, i] = Be(!1);
942
+ const { x: t, y: a } = Pn(), [l, i] = Me(!1);
943
943
  if (!n?.disabled) {
944
944
  let d;
945
945
  U(() => e.value, (m) => {
946
- m ? d = Tn([() => t.value, () => a.value], ([u, g]) => {
947
- c(u, g);
946
+ m ? d = Tn([() => t.value, () => a.value], ([c, p]) => {
947
+ u(c, p);
948
948
  }, { throttle: 60 }) : (d?.(), i(!1));
949
949
  }, { immediate: !0 });
950
950
  }
951
- function r(d, m, u) {
952
- return d >= u.left && d <= u.right && m >= u.top && m <= u.bottom;
951
+ function r(d, m, c) {
952
+ return d >= c.left && d <= c.right && m >= c.top && m <= c.bottom;
953
953
  }
954
- function h(d, m, u) {
955
- return u.some((g) => {
956
- if (!g)
954
+ function g(d, m, c) {
955
+ return c.some((p) => {
956
+ if (!p)
957
957
  return !1;
958
- const v = g.getBoundingClientRect();
959
- return r(d, m, v);
958
+ const C = p.getBoundingClientRect();
959
+ return r(d, m, C);
960
960
  });
961
961
  }
962
- function c(d, m) {
963
- const u = n?.rectEl?.value, g = n?.footEl?.value;
964
- if (!u)
962
+ function u(d, m) {
963
+ const c = n?.rectEl?.value, p = n?.footEl?.value;
964
+ if (!c)
965
965
  return;
966
- const v = n?.distance || 50;
967
- if (d <= v && !l.value) {
966
+ const C = n?.distance || 50;
967
+ if (d <= C && !l.value) {
968
968
  i(!0);
969
969
  return;
970
970
  }
971
- if (!l.value || d <= v)
971
+ if (!l.value || d <= C)
972
972
  return;
973
- h(d, m, [u, g]) || i(!1);
973
+ g(d, m, [c, p]) || i(!1);
974
974
  }
975
975
  return {
976
976
  innerCollapsed: l,
@@ -1024,7 +1024,7 @@ const ma = (e) => ({
1024
1024
  }
1025
1025
  }
1026
1026
  }
1027
- }), kt = (e, n, t) => e !== !1 ? typeof e == "function" ? e(n, t) : e || t : t, at = (e) => e.iconRender ? typeof e?.iconRender == "function" ? e?.iconRender() : e.iconRender : e.collapsed ? o(un, null, null) : o(cn, null, null), fa = /* @__PURE__ */ G({
1027
+ }), kt = (e, n, t) => e !== !1 ? typeof e == "function" ? e(n, t) : e || t : t, at = (e) => e.iconRender ? typeof e?.iconRender == "function" ? e?.iconRender() : e.iconRender : e.collapsed ? o(un, null, null) : o(cn, null, null), fa = /* @__PURE__ */ X({
1028
1028
  name: "CollapsedIcon",
1029
1029
  inheritAttrs: !1,
1030
1030
  props: {
@@ -1036,13 +1036,13 @@ const ma = (e) => ({
1036
1036
  setup(e) {
1037
1037
  const {
1038
1038
  getPrefixCls: n
1039
- } = Q(), t = n({
1039
+ } = Z(), t = n({
1040
1040
  suffixCls: "collapsed-button",
1041
1041
  isPor: !0
1042
1042
  }), {
1043
1043
  wrapSSR: a,
1044
1044
  hashId: l
1045
- } = ie("SiderMenuCollapsedIcon", [ma], t);
1045
+ } = le("SiderMenuCollapsedIcon", [ma], t);
1046
1046
  return () => a(o("div", {
1047
1047
  class: O(t, l.value, {
1048
1048
  [`${t}-collapsed`]: e.collapsed,
@@ -1073,18 +1073,18 @@ const ma = (e) => ({
1073
1073
  layout: l,
1074
1074
  collapsed: i,
1075
1075
  collapsedWidth: r
1076
- } = e, h = e.logoRender;
1077
- if (h === !1) return null;
1078
- const c = Et(n, t), d = a && o("h1", null, [a]);
1079
- return typeof h == "function" ? h({
1080
- logo: c,
1076
+ } = e, g = e.logoRender;
1077
+ if (g === !1) return null;
1078
+ const u = Et(n, t), d = a && o("h1", null, [a]);
1079
+ return typeof g == "function" ? g({
1080
+ logo: u,
1081
1081
  title: e.collapsed ? null : d,
1082
1082
  props: e
1083
- }) : h || o("a", {
1083
+ }) : g || o("a", {
1084
1084
  key: "title",
1085
1085
  onClick: () => e.onLogoClick?.()
1086
- }, [(i && r || !i) && (c || null), e.collapsed && (l === "side" || l === "simple") ? null : d]);
1087
- }, ot = /* @__PURE__ */ G({
1086
+ }, [(i && r || !i) && (u || null), e.collapsed && (l === "side" || l === "simple") ? null : d]);
1087
+ }, ot = /* @__PURE__ */ X({
1088
1088
  name: "LogoContent",
1089
1089
  props: {
1090
1090
  ...ua,
@@ -1100,9 +1100,9 @@ const ma = (e) => ({
1100
1100
  settings: l,
1101
1101
  collapsedProps: i,
1102
1102
  styles: r,
1103
- classNames: h,
1104
- isMobile: c
1105
- } = Q(), d = Z(), {
1103
+ classNames: g,
1104
+ isMobile: u
1105
+ } = Z(), d = q(), {
1106
1106
  height: m
1107
1107
  } = Fn(d);
1108
1108
  return t({
@@ -1114,9 +1114,9 @@ const ma = (e) => ({
1114
1114
  [`${e.class}`]: e.class,
1115
1115
  [`${e.hashId}`]: !0,
1116
1116
  [`${e.baseClassName}-logo`]: !0,
1117
- [`${e.baseClassName}-logo-mobile`]: c.value,
1117
+ [`${e.baseClassName}-logo-mobile`]: u.value,
1118
1118
  [`${e.baseClassName}-logo-collapsed`]: !!a.value,
1119
- [`${h.value?.logo}`]: !!h.value?.logo
1119
+ [`${g.value?.logo}`]: !!g.value?.logo
1120
1120
  },
1121
1121
  style: {
1122
1122
  ...e.style || {},
@@ -1152,7 +1152,7 @@ const Ee = (e) => ({
1152
1152
  minHeight: "100vh"
1153
1153
  }
1154
1154
  }), ba = (e) => {
1155
- const { layout: n } = Se(e), t = e.layout?.pageContainer;
1155
+ const { layout: n } = xe(e), t = e.layout?.pageContainer;
1156
1156
  return {
1157
1157
  [`${e.antCls}-layout`]: {
1158
1158
  background: "transparent !important"
@@ -1189,7 +1189,7 @@ const Ee = (e) => ({
1189
1189
  }
1190
1190
  }
1191
1191
  };
1192
- }, Xt = new p("antBadgeLoadingCircle", {
1192
+ }, Xt = new h("antBadgeLoadingCircle", {
1193
1193
  "0%": { display: "none", opacity: 0, overflow: "hidden" },
1194
1194
  "80%": {
1195
1195
  overflow: "hidden"
@@ -1206,7 +1206,7 @@ const Ee = (e) => ({
1206
1206
  paddingInline: 8,
1207
1207
  marginInline: 0
1208
1208
  }), va = (e, { siderChildren: n = {} }) => {
1209
- const { layout: t } = Se(e), a = e.layout?.pageContainer;
1209
+ const { layout: t } = xe(e), a = e.layout?.pageContainer;
1210
1210
  return {
1211
1211
  [`${e.proComponentsCls}-basic-layout`]: {
1212
1212
  [`${e.antCls}-layout-sider${e.componentCls}`]: {
@@ -1365,7 +1365,7 @@ const Ee = (e) => ({
1365
1365
  }
1366
1366
  };
1367
1367
  }, Vt = (e) => {
1368
- const { layout: n } = Se(e);
1368
+ const { layout: n } = xe(e);
1369
1369
  return {
1370
1370
  [`${e.componentCls}-logo`]: {
1371
1371
  position: "relative",
@@ -1427,14 +1427,14 @@ const Ee = (e) => ({
1427
1427
  };
1428
1428
  };
1429
1429
  function yt(e) {
1430
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !xe(e);
1430
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ve(e);
1431
1431
  }
1432
1432
  const {
1433
1433
  Sider: Ca
1434
- } = Fe, bt = /* @__PURE__ */ G({
1434
+ } = Pe, bt = /* @__PURE__ */ X({
1435
1435
  props: {
1436
1436
  ...nt,
1437
- ...De
1437
+ ...He
1438
1438
  },
1439
1439
  inheritAttrs: !1,
1440
1440
  setup(e) {
@@ -1445,100 +1445,100 @@ const {
1445
1445
  collapsedEffect: l,
1446
1446
  collapsedProps: i,
1447
1447
  layoutProps: r,
1448
- selectedKeys: h,
1449
- settings: c,
1448
+ selectedKeys: g,
1449
+ settings: u,
1450
1450
  openKeys: d,
1451
1451
  menu: m,
1452
- styles: u,
1453
- classNames: g,
1454
- contentFullScreen: v
1455
- } = Q(), S = Ft(), {
1452
+ styles: c,
1453
+ classNames: p,
1454
+ contentFullScreen: C
1455
+ } = Z(), S = Ft(), {
1456
1456
  token: s
1457
- } = Ne(), {
1458
- breakpoint: C
1457
+ } = Le(), {
1458
+ breakpoint: x
1459
1459
  } = Xe(e), I = n({
1460
1460
  suffixCls: "sider",
1461
1461
  isPor: !0
1462
- }), w = Z(), T = Z(), N = Z(), y = b(() => t.value ? !1 : l.value), M = b(() => c.value.layout === "mix" && !t.value && c.value.splitMenus), k = b(() => c.value.layout === "side" || c.value.layout === "simple"), X = b(() => t.value || r.value.isWide ? !1 : c.value.fixSiderbar), A = b(() => (c.value.layout === "mix" || r.value.isWide) && "light" || m.value.baseTheme), V = b(() => i.value?.width ? {} : {
1462
+ }), M = q(), T = q(), N = q(), y = v(() => t.value ? !1 : l.value), w = v(() => u.value.layout === "mix" && !t.value && u.value.splitMenus), V = v(() => u.value.layout === "side" || u.value.layout === "simple"), j = v(() => t.value || r.value.isWide ? !1 : u.value.fixSiderbar), A = v(() => (u.value.layout === "mix" || r.value.isWide) && "light" || m.value.baseTheme), E = v(() => i.value?.width ? {} : {
1463
1463
  transform: `translateX(${a.value ? "-100%" : "0"})`,
1464
1464
  pointerEvents: a.value ? "none" : void 0
1465
1465
  }), {
1466
- wrapSSR: _,
1466
+ wrapSSR: Y,
1467
1467
  hashId: D
1468
- } = ie("ProLayoutSiderMenu", [(j) => va(j, {
1469
- siderChildren: u.value?.siderChildren
1470
- }), Vt], I), ee = b(() => c.value.layout === "top" ? [] : m.value.menuData), q = b(() => M.value ? m.value.mixSiderMenus : ee.value), $ = b(() => q.value.filter((j) => !j.meta?.fixed)), x = b(() => q.value.filter((j) => j.meta?.fixed)), W = b(() => i.value?.width ? y.value ? i.value?.width : r.value.siderWidth : a.value ? 0 : r.value.siderWidth), {
1471
- innerCollapsed: oe
1472
- } = ca(b(() => i.value?.width === 0 && a.value), {
1468
+ } = le("ProLayoutSiderMenu", [(W) => va(W, {
1469
+ siderChildren: c.value?.siderChildren
1470
+ }), Vt], I), te = v(() => u.value.layout === "top" ? [] : m.value.menuData), _ = v(() => w.value ? m.value.mixSiderMenus : te.value), b = v(() => _.value.filter((W) => !W.meta?.fixed)), $ = v(() => _.value.filter((W) => W.meta?.fixed)), J = v(() => i.value?.width ? y.value ? i.value?.width : r.value.siderWidth : a.value ? 0 : r.value.siderWidth), {
1471
+ innerCollapsed: ue
1472
+ } = ca(v(() => i.value?.width === 0 && a.value), {
1473
1473
  rectEl: N,
1474
- footEl: b(() => e.menuFooterRender || x.value.length > 0 ? T.value : void 0),
1474
+ footEl: v(() => e.menuFooterRender || $.value.length > 0 ? T.value : void 0),
1475
1475
  disabled: i.value?.disabledInnerCollapse ?? i.value?.width !== 0
1476
- }), de = b(() => O(a.value && `${I}-collapsed`, oe.value && `${I}-inner-collapsed`, (e.menuFooterRender || x.value.length > 0) && `${I}-has-footer`, [D.value, I, g?.value?.sider, t.value ? "shadow" : null, `${I}-${m.value.baseTheme}`, X.value ? `${I}-fixed` : null])), me = b(() => {
1477
- const j = s.value?.layout?.pageContainer;
1478
- return (j?.padding || j?.margin || "").split(" ")?.[0] || z(20);
1479
- }), ze = Pe(() => c.value.layout === "simple" || !e.appsLogoComponents ? null : typeof e.appsLogoComponents == "function" ? e.appsLogoComponents?.() : e.appsLogoComponents, [() => e.appsLogoComponents]);
1480
- function Re() {
1476
+ }), De = v(() => O(a.value && `${I}-collapsed`, ue.value && `${I}-inner-collapsed`, (e.menuFooterRender || $.value.length > 0) && `${I}-has-footer`, [D.value, I, p?.value?.sider, t.value ? "shadow" : null, `${I}-${m.value.baseTheme}`, j.value ? `${I}-fixed` : null])), de = v(() => {
1477
+ const W = s.value?.layout?.pageContainer;
1478
+ return (W?.padding || W?.margin || "").split(" ")?.[0] || z(20);
1479
+ }), ze = Oe(() => u.value.layout === "simple" || !e.appsLogoComponents ? null : typeof e.appsLogoComponents == "function" ? e.appsLogoComponents?.() : e.appsLogoComponents, [() => e.appsLogoComponents]);
1480
+ function Ie() {
1481
1481
  a.value = !a.value;
1482
1482
  }
1483
- const We = Pe(() => {
1483
+ const We = Oe(() => {
1484
1484
  if (i.value?.collapsedButtonRender === !1) return null;
1485
- const j = e.collapsedButtonRender || i.value?.collapsedButtonRender, J = e.collapsedIconRender || i.value?.collapsedIconRender, te = o(fa, {
1486
- iconRender: J,
1485
+ const W = e.collapsedButtonRender || i.value?.collapsedButtonRender, Q = e.collapsedIconRender || i.value?.collapsedIconRender, ee = o(fa, {
1486
+ iconRender: Q,
1487
1487
  isMobile: t.value,
1488
1488
  collapsed: y.value,
1489
- onClick: () => Re()
1489
+ onClick: () => Ie()
1490
1490
  }, null);
1491
- return j ? j?.(!!y.value, te) : te;
1492
- }, [() => i.value?.collapsedButtonRender, () => t.value, () => y.value]), _e = (j) => {
1491
+ return W ? W?.(!!y.value, ee) : ee;
1492
+ }, [() => i.value?.collapsedButtonRender, () => t.value, () => y.value]), _e = (W) => {
1493
1493
  if (e.onSelect) {
1494
- const J = j.selectedKeys;
1495
- if (Ae(M)) {
1496
- e.onSelect([h?.value?.[0], ...J]);
1494
+ const Q = W.selectedKeys;
1495
+ if (Ae(w)) {
1496
+ e.onSelect([g?.value?.[0], ...Q]);
1497
1497
  return;
1498
1498
  }
1499
- e.onSelect(J);
1499
+ e.onSelect(Q);
1500
1500
  }
1501
- }, fe = (j, J) => o(zt, {
1501
+ }, me = (W, Q) => o(zt, {
1502
1502
  key: "sider-base-menu",
1503
- class: O(`${I}-menu ${D.value}`, J?.class),
1504
- styles: u.value,
1505
- classNames: g.value,
1503
+ class: O(`${I}-menu ${D.value}`, Q?.class),
1504
+ styles: c.value,
1505
+ classNames: p.value,
1506
1506
  type: m.value?.type,
1507
1507
  mode: y.value && !t.value ? "vertical" : "inline",
1508
1508
  menuRenderType: "sider",
1509
1509
  menuProps: m.value?.menuProps,
1510
- menuData: j,
1511
- iconfontUrl: c.value.iconfontUrl,
1510
+ menuData: W,
1511
+ iconfontUrl: u.value.iconfontUrl,
1512
1512
  openKeys: d.value,
1513
- selectedKeys: h.value,
1513
+ selectedKeys: g.value,
1514
1514
  menuTextRender: e.menuTextRender,
1515
1515
  menuItemRender: e.menuItemRender,
1516
1516
  subMenuItemRender: e.subMenuItemRender,
1517
1517
  style: {
1518
1518
  width: "100%",
1519
- minHeight: oe.value ? "unset" : "",
1520
- backgroundColor: oe.value ? s.value.layout?.sider?.colorMenuBackground : "",
1521
- ...J?.style || {}
1519
+ minHeight: ue.value ? "unset" : "",
1520
+ backgroundColor: ue.value ? s.value.layout?.sider?.colorMenuBackground : "",
1521
+ ...Q?.style || {}
1522
1522
  },
1523
1523
  onClick: m.value?.menuProps?.onClick,
1524
1524
  onOpenKeys: (ne) => e.onOpenKeys && e.onOpenKeys?.(ne),
1525
1525
  onSelect: _e
1526
1526
  }, null);
1527
1527
  return () => {
1528
- let j;
1529
- const J = k.value && c.value.layout !== "simple" && o(ot, le({
1530
- ref: w,
1531
- title: c.value.title,
1528
+ let W;
1529
+ const Q = V.value && u.value.layout !== "simple" && o(ot, oe({
1530
+ ref: M,
1531
+ title: u.value.title,
1532
1532
  hashId: D.value,
1533
- layout: c.value.layout,
1533
+ layout: u.value.layout,
1534
1534
  style: a.value && i.value.width === 0 ? {
1535
1535
  opacity: 0
1536
1536
  } : void 0,
1537
1537
  baseClassName: I
1538
- }, ve(e, Object.keys(Ye))), {
1538
+ }, Te(e, Object.keys(Ye))), {
1539
1539
  default: () => [ze.value]
1540
- }), te = e.menuHeaderRender && e.menuHeaderRender?.(e), ne = e.menuLinksRender, pe = e.siderActionsRender;
1541
- return M.value && Ae(m.value.mixSiderMenus).length === 0 && e.suppressSiderWhenMenuEmpty || ee.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : _(o(Je, {
1540
+ }), ee = e.menuHeaderRender && e.menuHeaderRender?.(e), ne = e.menuLinksRender, fe = e.siderActionsRender;
1541
+ return w.value && Ae(m.value.mixSiderMenus).length === 0 && e.suppressSiderWhenMenuEmpty || te.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : Y(o(Je, {
1542
1542
  theme: {
1543
1543
  components: {
1544
1544
  Menu: {
@@ -1557,32 +1557,32 @@ const {
1557
1557
  }
1558
1558
  }
1559
1559
  }, {
1560
- default: () => [X.value && o("div", {
1560
+ default: () => [j.value && o("div", {
1561
1561
  style: {
1562
- width: `${z(W.value)}`,
1562
+ width: `${z(J.value)}`,
1563
1563
  overflow: "hidden",
1564
- flex: `0 0 ${z(W.value)}`,
1565
- maxWidth: `${z(W.value)}`,
1566
- minWidth: `${z(W.value)}`,
1564
+ flex: `0 0 ${z(J.value)}`,
1565
+ maxWidth: `${z(J.value)}`,
1566
+ minWidth: `${z(J.value)}`,
1567
1567
  transition: "all 0.2s ease 0s",
1568
- ...V.value
1568
+ ...E.value
1569
1569
  }
1570
1570
  }, null), o(Ca, {
1571
1571
  collapsible: !0,
1572
1572
  trigger: null,
1573
- class: de.value,
1573
+ class: De.value,
1574
1574
  style: {
1575
- zIndex: X.value ? 101 : void 0,
1576
- paddingTop: X.value && c.value.fixedHeader && c.value.layout === "mix" ? r.value.headerHeight : 0,
1577
- top: c.value.layout === "wide" ? `calc(${r.value.headerHeight} + ${me.value})` : void 0,
1578
- height: c.value.layout === "wide" ? `calc(100vh - ${r.value.headerHeight} - (${me.value}) * 2)` : void 0,
1579
- ...u.value?.sider || {},
1580
- ...V.value
1575
+ zIndex: j.value ? 101 : void 0,
1576
+ paddingTop: j.value && u.value.fixedHeader && u.value.layout === "mix" ? r.value.headerHeight : 0,
1577
+ top: u.value.layout === "wide" ? `calc(${r.value.headerHeight} + ${de.value})` : void 0,
1578
+ height: u.value.layout === "wide" ? `calc(100vh - ${r.value.headerHeight} - (${de.value}) * 2)` : void 0,
1579
+ ...c.value?.sider || {},
1580
+ ...E.value
1581
1581
  },
1582
1582
  theme: A.value,
1583
- breakpoint: C.value || void 0,
1583
+ breakpoint: x.value || void 0,
1584
1584
  collapsed: y.value,
1585
- width: W.value,
1585
+ width: J.value,
1586
1586
  collapsedWidth: i.value?.width
1587
1587
  }, {
1588
1588
  default: () => [m.value.loading && o("div", {
@@ -1590,18 +1590,18 @@ const {
1590
1590
  }, [o(Bt, {
1591
1591
  spinning: m.value.loading,
1592
1592
  indicator: S?.indicator?.value
1593
- }, null)]), J || null, o("div", {
1593
+ }, null)]), Q || null, o("div", {
1594
1594
  ref: N,
1595
1595
  class: `${I}-content`,
1596
1596
  style: {
1597
1597
  flex: "1 1 0%",
1598
1598
  overflow: "hidden",
1599
- maxHeight: a.value && i.value?.width === 0 ? `calc(100% - ${w.value?.getHeight?.() * 2}px)` : ""
1599
+ maxHeight: a.value && i.value?.width === 0 ? `calc(100% - ${M.value?.getHeight?.() * 2}px)` : ""
1600
1600
  }
1601
- }, [$n(e.menuHeaderRender) && o("div", {
1602
- class: O(g.value?.siderHeader, [D.value, `${I}-header`, !J && `${I}-header-only`]),
1603
- style: u.value?.siderHeader
1604
- }, [te]), o("div", {
1601
+ }, [Rn(e.menuHeaderRender) && o("div", {
1602
+ class: O(p.value?.siderHeader, [D.value, `${I}-header`, !Q && `${I}-header-only`]),
1603
+ style: c.value?.siderHeader
1604
+ }, [ee]), o("div", {
1605
1605
  style: {
1606
1606
  flex: "1 1 0%",
1607
1607
  overflow: "hidden auto"
@@ -1609,66 +1609,66 @@ const {
1609
1609
  class: O(`${I}-menu-container`)
1610
1610
  }, [e.menuContentRender && e.menuContentRender?.({
1611
1611
  props: e,
1612
- defaultDom: fe($.value, {
1613
- style: u.value?.menu,
1614
- class: g.value?.menu
1612
+ defaultDom: me(b.value, {
1613
+ style: c.value?.menu,
1614
+ class: p.value?.menu
1615
1615
  })
1616
- }) || fe($.value, {
1617
- style: u.value?.menu,
1618
- class: g.value?.menu
1619
- })])]), c.value.layout !== "wide" && o(Y, null, [ne && wn(ne) && ne.length > 0 && o("div", {
1616
+ }) || me(b.value, {
1617
+ style: c.value?.menu,
1618
+ class: p.value?.menu
1619
+ })])]), u.value.layout !== "wide" && o(G, null, [ne && wn(ne) && ne.length > 0 && o("div", {
1620
1620
  class: `${I}-links ${D.value}`
1621
- }, [o(be, {
1621
+ }, [o(ye, {
1622
1622
  theme: A.value,
1623
1623
  inlineIndent: 16,
1624
1624
  class: `${I}-link-menu ${D.value}`,
1625
1625
  selectedKeys: [],
1626
1626
  openKeys: [],
1627
1627
  mode: "inline"
1628
- }, yt(j = (ne || []).map(($e, je) => o(be.Item, {
1628
+ }, yt(W = (ne || []).map((Se, je) => o(ye.Item, {
1629
1629
  class: `${I}-link ${D.value}`,
1630
1630
  key: je
1631
- }, yt($e) ? $e : {
1632
- default: () => [$e]
1633
- }))) ? j : {
1634
- default: () => [j]
1635
- })]), t.value ? null : pe && o("div", {
1631
+ }, yt(Se) ? Se : {
1632
+ default: () => [Se]
1633
+ }))) ? W : {
1634
+ default: () => [W]
1635
+ })]), t.value ? null : fe && o("div", {
1636
1636
  class: O(`${I}-actions`, D.value)
1637
- }, [pe]), i.value?.position === "sider" && !t.value && i.value.collapsedButtonRender !== !1 && o(Y, null, [o("div", {
1637
+ }, [fe]), i.value?.position === "sider" && !t.value && i.value.collapsedButtonRender !== !1 && o(G, null, [o("div", {
1638
1638
  class: O(`${I}-collapsed-button`, y.value && "collapsed", D.value)
1639
1639
  }, [o("span", {
1640
- onClick: () => Re()
1640
+ onClick: () => Ie()
1641
1641
  }, [kt(e.collapsedButtonRender || i.value?.collapsedButtonRender, y.value, at({
1642
1642
  collapsed: y.value,
1643
1643
  iconRender: e.collapsedIconRender || i.value?.collapsedIconRender
1644
- }))])])])]), (e.menuFooterRender || x.value.length > 0) && o("div", {
1644
+ }))])])])]), (e.menuFooterRender || $.value.length > 0) && o("div", {
1645
1645
  ref: T,
1646
- class: O(`${I}-footer ${D.value}`, g.value?.siderFooter),
1647
- style: u.value?.siderFooter
1648
- }, [fe(x.value, {
1649
- style: u.value?.footerMenu,
1650
- class: g.value?.footerMenu
1651
- }), e.menuFooterRender && e.menuFooterRender?.(e)]), v.value || c.value.layout === "wide" || t.value ? null : i.value?.position === "fixed" && We.value]
1646
+ class: O(`${I}-footer ${D.value}`, p.value?.siderFooter),
1647
+ style: c.value?.siderFooter
1648
+ }, [me($.value, {
1649
+ style: c.value?.footerMenu,
1650
+ class: p.value?.footerMenu
1651
+ }), e.menuFooterRender && e.menuFooterRender?.(e)]), C.value || u.value.layout === "wide" || t.value ? null : i.value?.position === "fixed" && We.value]
1652
1652
  })]
1653
1653
  }));
1654
1654
  };
1655
1655
  }
1656
- }), xa = /* @__PURE__ */ G({
1656
+ }), xa = /* @__PURE__ */ X({
1657
1657
  name: "SiderMenuWrapper",
1658
1658
  inheritAttrs: !1,
1659
1659
  props: {
1660
1660
  ...nt,
1661
- ...De,
1661
+ ...He,
1662
1662
  isMobile: Boolean,
1663
1663
  siderWidth: tt.siderWidth
1664
1664
  },
1665
1665
  setup(e) {
1666
1666
  const {
1667
1667
  collapsed: n
1668
- } = Q();
1668
+ } = Z();
1669
1669
  return () => {
1670
- const t = Ce(e, ["siderWidth", "isMobile"]);
1671
- return o(Y, null, [e.isMobile ? o(Hn, {
1670
+ const t = be(e, ["siderWidth", "isMobile"]);
1671
+ return o(G, null, [e.isMobile ? o(Hn, {
1672
1672
  maskClosable: !0,
1673
1673
  open: !n.value,
1674
1674
  closable: !1,
@@ -1691,7 +1691,21 @@ const {
1691
1691
  }) : o(bt, t, null)]);
1692
1692
  };
1693
1693
  }
1694
- }), { provideContext: Ia, useInjectContext: lt } = et("pro-layout-menu"), Sa = (e) => ({
1694
+ });
1695
+ function Ia(e = 0) {
1696
+ const { token: n } = Le(), { settings: t } = Z();
1697
+ return v(() => {
1698
+ const l = n.value?.layout?.header?.heightLayoutHeader ?? t.value?.headerHeight ?? 48, i = n.value?.layout?.pageContainer?.margin || "", r = n.value?.layout?.pageContainer?.padding || "", g = i?.split(" ")?.[0], u = r?.split(" ")?.[0], d = g ? `(${g} * 2)` : 0, m = u ? `(${u} * 2)` : 0;
1699
+ return `calc(100vh - ${[
1700
+ l,
1701
+ t.value?.showTabsBar ? 40 : 0,
1702
+ d,
1703
+ m,
1704
+ e
1705
+ ].filter(Boolean).map((p) => z(p)).join(" - ")})`;
1706
+ });
1707
+ }
1708
+ const { provideContext: Sa, useInjectContext: lt } = et("pro-layout-menu"), $a = (e) => ({
1695
1709
  [e.componentCls]: {
1696
1710
  marginBlock: 0,
1697
1711
  marginBlockStart: 48,
@@ -1731,7 +1745,7 @@ const {
1731
1745
  title: "Ant Design Vue",
1732
1746
  href: "https://next.antdv.com/components/overview-cn/",
1733
1747
  blankTarget: !0
1734
- }], Ra = /* @__PURE__ */ G({
1748
+ }], Ra = /* @__PURE__ */ X({
1735
1749
  name: "GlobalFooter",
1736
1750
  props: {
1737
1751
  links: {
@@ -1746,15 +1760,15 @@ const {
1746
1760
  setup(e, {
1747
1761
  slots: n
1748
1762
  }) {
1749
- const t = Q(), l = (t?.getPrefixCls || ae)({
1763
+ const t = Z(), l = (t?.getPrefixCls || ae)({
1750
1764
  suffixCls: "global-footer",
1751
1765
  isPor: !0
1752
1766
  }), {
1753
1767
  wrapSSR: i,
1754
1768
  hashId: r
1755
- } = ie("ProLayoutFooter", [Sa], l);
1769
+ } = le("ProLayoutFooter", [$a], l);
1756
1770
  return () => {
1757
- const h = re({
1771
+ const g = ie({
1758
1772
  slots: n,
1759
1773
  props: e,
1760
1774
  key: "copyright"
@@ -1771,19 +1785,19 @@ const {
1771
1785
  class: [l, r.value]
1772
1786
  }, [e.links && o("div", {
1773
1787
  class: `${l}-list ${r.value}`
1774
- }, [e.links.map((c) => o("a", {
1788
+ }, [e.links.map((u) => o("a", {
1775
1789
  class: `${l}-list-link ${r.value}`.trim(),
1776
- key: c.key,
1777
- title: c.key,
1778
- target: c.blankTarget ? "_blank" : "_self",
1779
- href: c.href
1780
- }, [c.title]))]), h !== !1 && o("div", {
1790
+ key: u.key,
1791
+ title: u.key,
1792
+ target: u.blankTarget ? "_blank" : "_self",
1793
+ href: u.href
1794
+ }, [u.title]))]), g !== !1 && o("div", {
1781
1795
  class: `${l}-copyright ${r.value}`
1782
- }, [h])])]
1796
+ }, [g])])]
1783
1797
  }));
1784
1798
  };
1785
1799
  }
1786
- }), $a = {
1800
+ }), wa = {
1787
1801
  usePageCard: {
1788
1802
  type: Boolean,
1789
1803
  default: () => {
@@ -1825,7 +1839,7 @@ const {
1825
1839
  default: () => {
1826
1840
  }
1827
1841
  }
1828
- }, ye = {
1842
+ }, he = {
1829
1843
  pageChildrenExtraRender: {
1830
1844
  type: [Object, Function, Boolean, Array],
1831
1845
  default: () => {
@@ -1858,59 +1872,64 @@ const {
1858
1872
  default: () => {
1859
1873
  }
1860
1874
  },
1861
- ...$a
1862
- }, wa = (e) => ({
1875
+ height: {
1876
+ type: String,
1877
+ default: () => {
1878
+ }
1879
+ },
1880
+ ...wa
1881
+ }, Ma = (e) => ({
1863
1882
  [e.componentCls]: {
1864
1883
  [`&${e.componentCls}-header`]: {
1865
1884
  marginInline: e.margin
1866
1885
  }
1867
1886
  }
1868
- }), Yt = /* @__PURE__ */ G({
1887
+ }), Yt = /* @__PURE__ */ X({
1869
1888
  name: "BreadCrumb",
1870
1889
  props: {
1871
- breadcrumb: ye.breadcrumbRender
1890
+ breadcrumb: he.breadcrumbRender
1872
1891
  },
1873
1892
  setup(e) {
1874
- const n = Q(), a = (n?.getPrefixCls || ae)({
1893
+ const n = Z(), a = (n?.getPrefixCls || ae)({
1875
1894
  isPor: !0,
1876
1895
  suffixCls: "breadCrumb"
1877
1896
  }), {
1878
1897
  wrapSSR: l,
1879
1898
  hashId: i
1880
- } = ie("ProBreadCrumb", [wa], a), r = b(() => {
1881
- const h = n?.breadcrumb?.value || {}, c = h.showHome ?? !0, d = Le(h.routes || []);
1882
- d.length && c && d.unshift({
1899
+ } = le("ProBreadCrumb", [Ma], a), r = v(() => {
1900
+ const g = n?.breadcrumb?.value || {}, u = g.showHome ?? !0, d = Fe(g.routes || []);
1901
+ d.length && u && d.unshift({
1883
1902
  path: "/",
1884
1903
  name: "首页",
1885
1904
  breadcrumbName: "首页"
1886
1905
  });
1887
- function m(g) {
1906
+ function m(p) {
1888
1907
  return {
1889
- ...g,
1890
- link: g.path
1908
+ ...p,
1909
+ link: p.path
1891
1910
  };
1892
1911
  }
1893
- const u = d.map((g, v) => ({
1894
- ...g,
1895
- path: g.name,
1896
- children: g.children ? g.children?.map((S) => m(S)) : [],
1897
- isFirst: c && v === 0,
1898
- isLast: g.path && v === d.length - 1,
1899
- link: g.path
1912
+ const c = d.map((p, C) => ({
1913
+ ...p,
1914
+ path: p.name,
1915
+ children: p.children ? p.children?.map((S) => m(S)) : [],
1916
+ isFirst: u && C === 0,
1917
+ isLast: p.path && C === d.length - 1,
1918
+ link: p.path
1900
1919
  }));
1901
1920
  return {
1902
- ...h,
1903
- routes: u,
1904
- itemRender: h?.itemRender || (({
1905
- route: g
1906
- }) => g.isFirst ? o(mt, {
1907
- to: g.link
1921
+ ...g,
1922
+ routes: c,
1923
+ itemRender: g?.itemRender || (({
1924
+ route: p
1925
+ }) => p.isFirst ? o(mt, {
1926
+ to: p.link
1908
1927
  }, {
1909
1928
  default: () => [o(mn, null, null)]
1910
- }) : g.isLast ? g.breadcrumbName : o(mt, {
1911
- to: g.link
1929
+ }) : p.isLast ? p.breadcrumbName : o(mt, {
1930
+ to: p.link
1912
1931
  }, {
1913
- default: () => [g.breadcrumbName]
1932
+ default: () => [p.breadcrumbName]
1914
1933
  }))
1915
1934
  };
1916
1935
  });
@@ -1952,8 +1971,8 @@ const {
1952
1971
  default: () => {
1953
1972
  }
1954
1973
  }
1955
- }, Ma = (e) => {
1956
- const { layout: n, theme: t } = Se(e), a = e.lineWidth, l = e?.layout?.header;
1974
+ }, Oa = (e) => {
1975
+ const { layout: n, theme: t } = xe(e), a = e.lineWidth, l = e?.layout?.header;
1957
1976
  return {
1958
1977
  [`${e.proComponentsCls}-header`]: {
1959
1978
  "&-light": {
@@ -2079,55 +2098,55 @@ const {
2079
2098
  }
2080
2099
  }
2081
2100
  };
2082
- }, Oa = ["mix", "top", "wide"], Ba = /* @__PURE__ */ G({
2101
+ }, Ba = ["mix", "top", "wide"], Pa = /* @__PURE__ */ X({
2083
2102
  name: "DefaultHeader",
2084
2103
  props: {
2085
2104
  ...it,
2086
- ...De
2105
+ ...He
2087
2106
  },
2088
2107
  inheritAttrs: !1,
2089
2108
  setup(e) {
2090
- const n = He(), t = lt(), {
2109
+ const n = Ne(), t = lt(), {
2091
2110
  token: a
2092
- } = Ne(), {
2111
+ } = Le(), {
2093
2112
  styles: l,
2094
2113
  classNames: i,
2095
2114
  getPrefixCls: r,
2096
- collapsed: h,
2097
- collapsedProps: c,
2115
+ collapsed: g,
2116
+ collapsedProps: u,
2098
2117
  settings: d,
2099
2118
  isMobile: m,
2100
- openKeys: u,
2101
- selectedKeys: g,
2102
- menu: v,
2119
+ openKeys: c,
2120
+ selectedKeys: p,
2121
+ menu: C,
2103
2122
  breadcrumb: S,
2104
2123
  breadcrumbRender: s
2105
- } = Q(), C = r({
2124
+ } = Z(), x = r({
2106
2125
  suffixCls: "global-header",
2107
2126
  isPor: !0
2108
2127
  }), {
2109
2128
  wrapSSR: I,
2110
- hashId: w
2111
- } = ie("ProDefaultHeader", [Ma, Vt], C), T = b(() => d.value.layout === "side" || d.value.layout === "simple"), N = b(() => ({
2112
- [`${w.value}`]: !0,
2113
- [`${C}`]: !0,
2114
- [`${C}-${d.value.layout}`]: !0
2115
- })), y = b(() => d.value.splitMenus && d.value.layout === "mix" ? la(v.value.menuData) : d.value.layout === "top" ? v.value.menuData : []), M = (A, V, _) => {
2116
- const D = n?.currentRoute?.value, ee = d.value.layout === "mix", q = t?.matchedMenu?.value || Ut({
2129
+ hashId: M
2130
+ } = le("ProDefaultHeader", [Oa, Vt], x), T = v(() => d.value.layout === "side" || d.value.layout === "simple"), N = v(() => ({
2131
+ [`${M.value}`]: !0,
2132
+ [`${x}`]: !0,
2133
+ [`${x}-${d.value.layout}`]: !0
2134
+ })), y = v(() => d.value.splitMenus && d.value.layout === "mix" ? la(C.value.menuData) : d.value.layout === "top" ? C.value.menuData : []), w = (A, E, Y) => {
2135
+ const D = n?.currentRoute?.value, te = d.value.layout === "mix", _ = t?.matchedMenu?.value || Ut({
2117
2136
  menuData: y.value,
2118
- flatMenus: v.value.flatMenus
2137
+ flatMenus: C.value.flatMenus
2119
2138
  }, {
2120
2139
  path: jt(D),
2121
2140
  name: D?.name
2122
2141
  });
2123
2142
  if (e.onSelect && A === "select") {
2124
- const $ = y.value.find((x) => x.name === _)?.redirect;
2125
- e.onSelect(ee && $ ? q.map((x) => x.name) : V);
2143
+ const b = y.value.find(($) => $.name === Y)?.redirect;
2144
+ e.onSelect(te && b ? _.map(($) => $.name) : E);
2126
2145
  }
2127
- e.onOpenKeys && A === "openKeys" && e.onOpenKeys(ee ? q.filter(($) => $.name !== D?.name).map(($) => $.name) : V);
2128
- }, k = () => {
2129
- h.value = !h.value;
2130
- }, X = () => {
2146
+ e.onOpenKeys && A === "openKeys" && e.onOpenKeys(te ? _.filter((b) => b.name !== D?.name).map((b) => b.name) : E);
2147
+ }, V = () => {
2148
+ g.value = !g.value;
2149
+ }, j = () => {
2131
2150
  const A = e.headerContentRender !== !1 && typeof e.headerContentRender == "function" ? o("div", {
2132
2151
  style: {
2133
2152
  flex: 1
@@ -2136,7 +2155,7 @@ const {
2136
2155
  style: {
2137
2156
  flex: 1
2138
2157
  },
2139
- class: [`${C}-menu`, w.value]
2158
+ class: [`${x}-menu`, M.value]
2140
2159
  }, [y.value?.length > 0 && o(Je, {
2141
2160
  theme: {
2142
2161
  components: {
@@ -2161,59 +2180,59 @@ const {
2161
2180
  }, {
2162
2181
  default: () => [o(zt, {
2163
2182
  key: "header-base-menu",
2164
- class: O(`${C}-menu ${w.value}`, i.value?.menu),
2183
+ class: O(`${x}-menu ${M.value}`, i.value?.menu),
2165
2184
  styles: l.value,
2166
2185
  classNames: i.value,
2167
- type: v.value?.type,
2186
+ type: C.value?.type,
2168
2187
  mode: "horizontal",
2169
2188
  menuRenderType: "header",
2170
2189
  style: l.value?.menu,
2171
- menuProps: v.value?.menuProps,
2190
+ menuProps: C.value?.menuProps,
2172
2191
  menuData: y.value,
2173
2192
  iconfontUrl: d.value?.iconfontUrl,
2174
- openKeys: u.value,
2175
- selectedKeys: g.value,
2193
+ openKeys: c.value,
2194
+ selectedKeys: p.value,
2176
2195
  menuTextRender: e.menuTextRender,
2177
2196
  menuItemRender: e.menuItemRender,
2178
2197
  subMenuItemRender: e.subMenuItemRender,
2179
- onClick: v.value?.menuProps?.onClick,
2180
- onSelect: (V) => M("select", V.selectedKeys, V.key),
2181
- onOpenKeys: (V) => M("openKeys", V)
2198
+ onClick: C.value?.menuProps?.onClick,
2199
+ onSelect: (E) => w("select", E.selectedKeys, E.key),
2200
+ onOpenKeys: (E) => w("openKeys", E)
2182
2201
  }, null)]
2183
2202
  })]);
2184
- return o(Y, null, [A, d.value.layout !== "simple" && (e.rightContentRender && typeof e.rightContentRender == "function" ? e.rightContentRender(e) : o(Y, null, null))]);
2203
+ return o(G, null, [A, d.value.layout !== "simple" && (e.rightContentRender && typeof e.rightContentRender == "function" ? e.rightContentRender(e) : o(G, null, null))]);
2185
2204
  };
2186
2205
  return () => {
2187
- const A = kt(e.collapsedButtonRender || c.value?.collapsedButtonRender, h.value, at({
2188
- collapsed: h.value,
2189
- iconRender: e.collapsedIconRender || c.value?.collapsedIconRender
2206
+ const A = kt(e.collapsedButtonRender || u.value?.collapsedButtonRender, g.value, at({
2207
+ collapsed: g.value,
2208
+ iconRender: e.collapsedIconRender || u.value?.collapsedIconRender
2190
2209
  }));
2191
2210
  return I(o("div", {
2192
2211
  class: N.value
2193
- }, [m.value ? o(Y, null, [ga(e.logoRender, pa(O([`${C}-logo`, m.value && `${C}-logo-mobile`, w.value]), e)), c.value?.collapsedButtonRender !== !1 && o("span", {
2194
- class: `${C}-collapsed-button ${w.value}`,
2195
- onClick: k
2196
- }, [A]), X()]) : o("div", {
2197
- class: `${C}-main ${w.value}`,
2212
+ }, [m.value ? o(G, null, [ga(e.logoRender, pa(O([`${x}-logo`, m.value && `${x}-logo-mobile`, M.value]), e)), u.value?.collapsedButtonRender !== !1 && o("span", {
2213
+ class: `${x}-collapsed-button ${M.value}`,
2214
+ onClick: V
2215
+ }, [A]), j()]) : o("div", {
2216
+ class: `${x}-main ${M.value}`,
2198
2217
  style: {
2199
- width: e.headerMainWidth || e.headerMainWidth === 0 ? z(e.headerMainWidth) : d.value.layout === "wide" ? ue(d.value.wideWidth) : void 0
2218
+ width: e.headerMainWidth || e.headerMainWidth === 0 ? z(e.headerMainWidth) : d.value.layout === "wide" ? se(d.value.wideWidth) : void 0
2200
2219
  }
2201
2220
  }, [o("div", {
2202
- class: `${C}-main-left ${w.value}`
2203
- }, [c.value?.position === "header" && c.value?.collapsedButtonRender !== !1 && T.value && (d.value.layout !== "mix" ? v.value.menuData : v.value.mixSiderMenus).length > 0 && o("div", {
2204
- class: `${C}-collapsed-button ${w.value}`,
2205
- onClick: k
2206
- }, [A]), Oa.includes(d.value.layout) && o(Y, null, [d.value.layout !== "wide" && e.appsLogoComponents && o(Y, null, [typeof e.appsLogoComponents == "function" ? e.appsLogoComponents?.() : e.appsLogoComponents]), o(ot, le({
2207
- hashId: w.value,
2208
- baseClassName: C
2221
+ class: `${x}-main-left ${M.value}`
2222
+ }, [u.value?.position === "header" && u.value?.collapsedButtonRender !== !1 && T.value && (d.value.layout !== "mix" ? C.value.menuData : C.value.mixSiderMenus).length > 0 && o("div", {
2223
+ class: `${x}-collapsed-button ${M.value}`,
2224
+ onClick: V
2225
+ }, [A]), Ba.includes(d.value.layout) && o(G, null, [d.value.layout !== "wide" && e.appsLogoComponents && o(G, null, [typeof e.appsLogoComponents == "function" ? e.appsLogoComponents?.() : e.appsLogoComponents]), o(ot, oe({
2226
+ hashId: M.value,
2227
+ baseClassName: x
2209
2228
  }, e, {
2210
2229
  title: d.value.title
2211
2230
  }), null)]), S.value?.position === "header" && S.value?.visible && o(Yt, {
2212
2231
  breadcrumb: s.value
2213
- }, null)]), X()])]));
2232
+ }, null)]), j()])]));
2214
2233
  };
2215
2234
  }
2216
- }), Pa = (e) => ({
2235
+ }), Ta = (e) => ({
2217
2236
  [`${e.proComponentsCls}-basic-layout`]: {
2218
2237
  [`${e.antCls}-layout-header${e.componentCls}`]: {
2219
2238
  height: z(e.layout?.header?.heightLayoutHeader || 56),
@@ -2258,17 +2277,17 @@ const {
2258
2277
  }
2259
2278
  }
2260
2279
  });
2261
- function Ta(e) {
2262
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !xe(e);
2280
+ function Fa(e) {
2281
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ve(e);
2263
2282
  }
2264
2283
  const {
2265
2284
  Header: vt
2266
- } = Fe, Fa = /* @__PURE__ */ G({
2285
+ } = Pe, La = /* @__PURE__ */ X({
2267
2286
  name: "GlobalHeader",
2268
2287
  inheritAttrs: !1,
2269
2288
  props: {
2270
2289
  ...it,
2271
- ...De
2290
+ ...He
2272
2291
  },
2273
2292
  setup(e) {
2274
2293
  const {
@@ -2278,28 +2297,28 @@ const {
2278
2297
  collapsedEffect: l,
2279
2298
  collapsedProps: i,
2280
2299
  getPrefixCls: r,
2281
- contentFullScreen: h,
2282
- settings: c,
2300
+ contentFullScreen: g,
2301
+ settings: u,
2283
2302
  isMobile: d,
2284
2303
  layoutProps: m
2285
- } = Q(), u = r({
2304
+ } = Z(), c = r({
2286
2305
  suffixCls: "layout-header",
2287
2306
  isPor: !0
2288
- }), g = b(() => c.value.fixedHeader), v = b(() => c.value.layout === "side" || c.value.layout === "simple"), {
2307
+ }), p = v(() => u.value.fixedHeader), C = v(() => u.value.layout === "side" || u.value.layout === "simple"), {
2289
2308
  wrapSSR: S,
2290
2309
  hashId: s
2291
- } = ie("ProLayoutHeader", [Pa], u), C = b(() => ({
2310
+ } = le("ProLayoutHeader", [Ta], c), x = v(() => ({
2292
2311
  [`${s.value}`]: !0,
2293
- [`${u}`]: !0,
2312
+ [`${c}`]: !0,
2294
2313
  [`${t.value.header}`]: t.value.header,
2295
- [`${u}-fixed-header`]: g.value
2296
- })), I = b(() => g.value && !d.value), w = b(() => {
2314
+ [`${c}-fixed-header`]: p.value
2315
+ })), I = v(() => p.value && !d.value), M = v(() => {
2297
2316
  if (i.value?.width === 0 && a.value)
2298
2317
  return "100%";
2299
2318
  const y = l.value ? i.value?.width : m.value.siderWidth;
2300
- return v.value && I.value ? l.value ? y ? `calc(100% - ${z(y)})` : "100%" : y ? `calc(100% - ${z(y)})` : "100%" : "100%";
2301
- }), T = b(() => g.value ? 0 : void 0), N = () => {
2302
- const y = o(Ba, e, null);
2319
+ return C.value && I.value ? l.value ? y ? `calc(100% - ${z(y)})` : "100%" : y ? `calc(100% - ${z(y)})` : "100%" : "100%";
2320
+ }), T = v(() => p.value ? 0 : void 0), N = () => {
2321
+ const y = o(Pa, e, null);
2303
2322
  return e.headerRender ? e.headerRender({
2304
2323
  props: e,
2305
2324
  defaultDom: y
@@ -2307,30 +2326,30 @@ const {
2307
2326
  };
2308
2327
  return () => {
2309
2328
  let y;
2310
- return S(o(Y, null, [g.value && o(vt, {
2329
+ return S(o(G, null, [p.value && o(vt, {
2311
2330
  style: {
2312
2331
  height: `${m.value.headerHeight}`,
2313
2332
  lineHeight: `${m.value.headerHeight}`,
2314
2333
  background: "transparent",
2315
- marginTop: h.value ? `-${m.value.headerHeight}` : void 0
2334
+ marginTop: g.value ? `-${m.value.headerHeight}` : void 0
2316
2335
  }
2317
2336
  }, null), o(vt, {
2318
- class: C.value,
2337
+ class: x.value,
2319
2338
  style: {
2320
2339
  height: `${m.value.headerHeight}`,
2321
2340
  lineHeight: `${m.value.headerHeight}`,
2322
- width: w.value,
2323
- zIndex: v.value ? 100 : 101,
2341
+ width: M.value,
2342
+ zIndex: C.value ? 100 : 101,
2324
2343
  right: T.value,
2325
- marginTop: h.value ? `-${m.value.headerHeight}` : void 0,
2344
+ marginTop: g.value ? `-${m.value.headerHeight}` : void 0,
2326
2345
  ...n.value?.header || {}
2327
2346
  }
2328
- }, Ta(y = N()) ? y : {
2347
+ }, Fa(y = N()) ? y : {
2329
2348
  default: () => [y]
2330
2349
  })]));
2331
2350
  };
2332
2351
  }
2333
- }), La = {
2352
+ }), Na = {
2334
2353
  visible: {
2335
2354
  type: Boolean,
2336
2355
  default: void 0
@@ -2364,20 +2383,20 @@ const {
2364
2383
  type: Function
2365
2384
  }
2366
2385
  }, qt = {
2367
- ...La,
2386
+ ...Na,
2368
2387
  loading: {
2369
2388
  type: Boolean,
2370
2389
  default: void 0
2371
2390
  },
2372
2391
  ..._t
2373
- }, Na = {
2392
+ }, Ha = {
2374
2393
  theme: {
2375
2394
  type: [String]
2376
2395
  },
2377
2396
  onDarkChange: Function,
2378
2397
  onThemeChange: Function,
2379
2398
  "onUpdate:theme": Function
2380
- }, Ha = {
2399
+ }, Da = {
2381
2400
  id: String,
2382
2401
  class: String,
2383
2402
  style: {
@@ -2385,8 +2404,8 @@ const {
2385
2404
  default: () => ({})
2386
2405
  }
2387
2406
  }, rt = {
2407
+ ...Da,
2388
2408
  ...Ha,
2389
- ...Na,
2390
2409
  ...nt,
2391
2410
  ...it,
2392
2411
  ..._t,
@@ -2405,7 +2424,7 @@ const {
2405
2424
  },
2406
2425
  settings: {
2407
2426
  type: Object,
2408
- default: () => E
2427
+ default: () => k
2409
2428
  },
2410
2429
  menu: {
2411
2430
  type: Object,
@@ -2464,13 +2483,13 @@ const {
2464
2483
  default: () => {
2465
2484
  }
2466
2485
  },
2467
- onContentFullScreenChange: ye.onContentFullScreenChange
2486
+ onContentFullScreenChange: he.onContentFullScreenChange
2468
2487
  }, Zt = ["menuLinksRender", "appsLogoComponents", "siderActionsRender"], Qt = ["appsLogoComponents", "extraRightDropdownRender"], Jt = Mn([
2469
2488
  ...Qt,
2470
2489
  ...Zt,
2471
2490
  "pageHeaderRender",
2472
2491
  "copyrightRender"
2473
- ]), Da = [
2492
+ ]), za = [
2474
2493
  "footerRender",
2475
2494
  "menuExtraRender",
2476
2495
  "menuFooterRender",
@@ -2483,9 +2502,9 @@ const {
2483
2502
  "breadcrumbRender",
2484
2503
  "collapsedButtonRender"
2485
2504
  ];
2486
- [...Jt, ...Da];
2487
- const Ct = 40, za = (e) => {
2488
- const { theme: n } = Se(e);
2505
+ [...Jt, ...za];
2506
+ const Ct = 40, Wa = (e) => {
2507
+ const { theme: n } = xe(e);
2489
2508
  return {
2490
2509
  [`${e.componentTitleCls}`]: {
2491
2510
  display: "flex",
@@ -2624,7 +2643,7 @@ const Ct = 40, za = (e) => {
2624
2643
  "&-fixed": {
2625
2644
  position: "fixed",
2626
2645
  height: Ct,
2627
- top: ue(e.layout?.header?.heightLayoutHeader || E.headerHeight),
2646
+ top: se(e.layout?.header?.heightLayoutHeader || k.headerHeight),
2628
2647
  right: 0,
2629
2648
  zIndex: 9,
2630
2649
  transition: "width .2s"
@@ -2632,16 +2651,16 @@ const Ct = 40, za = (e) => {
2632
2651
  }
2633
2652
  };
2634
2653
  };
2635
- function Wa(e) {
2636
- return Ie("ProMultiTabs", (n) => {
2654
+ function ja(e) {
2655
+ return Ce("ProMultiTabs", (n) => {
2637
2656
  const t = Qe(n, {
2638
2657
  componentWrapCls: `${n.componentCls}-wrap`,
2639
2658
  componentTitleCls: `${n.componentCls}-title`
2640
2659
  });
2641
- return [za(t)];
2660
+ return [Wa(t)];
2642
2661
  }, e);
2643
2662
  }
2644
- const ja = [{
2663
+ const Aa = [{
2645
2664
  key: "fixed",
2646
2665
  label: "置顶",
2647
2666
  icon: (e) => o(ke, {
@@ -2653,11 +2672,11 @@ const ja = [{
2653
2672
  icon: o(Ke, null, null)
2654
2673
  }, {
2655
2674
  key: "fullScreen",
2656
- icon: (e) => e ? o(St, null, null) : o(Rt, null, null)
2675
+ icon: (e) => e ? o(St, null, null) : o($t, null, null)
2657
2676
  }, {
2658
2677
  key: "reloadPage",
2659
2678
  label: "重新加载",
2660
- icon: o($t, null, null)
2679
+ icon: o(Rt, null, null)
2661
2680
  }, {
2662
2681
  key: "newBlank",
2663
2682
  label: "新窗口打开",
@@ -2685,20 +2704,20 @@ const ja = [{
2685
2704
  label: "关闭全部",
2686
2705
  icon: o(yn, null, null)
2687
2706
  }];
2688
- function Aa(e, n) {
2707
+ function Ka(e, n) {
2689
2708
  const {
2690
2709
  fixed: t
2691
- } = n.tabs, a = se(t) ? t : t === 0;
2710
+ } = n.tabs, a = re(t) ? t : t === 0;
2692
2711
  return e.key === "fixed" ? a ? "取消置顶" : "置顶" : e.key === "fullScreen" ? n.fullScreen ? "还原" : "最大化" : e.label;
2693
2712
  }
2694
- function Ka(e) {
2695
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !xe(e);
2713
+ function Ua(e) {
2714
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ve(e);
2696
2715
  }
2697
- const Ua = Pt.TabPane, ka = be.Item;
2716
+ const ka = Pt.TabPane, Ea = ye.Item;
2698
2717
  function L(e) {
2699
2718
  return e.name;
2700
2719
  }
2701
- const Ea = /* @__PURE__ */ G({
2720
+ const Xa = /* @__PURE__ */ X({
2702
2721
  props: qt,
2703
2722
  inheritAttrs: !1,
2704
2723
  setup(e, {
@@ -2706,64 +2725,64 @@ const Ea = /* @__PURE__ */ G({
2706
2725
  }) {
2707
2726
  const {
2708
2727
  storage: t
2709
- } = Xe(e), a = Z(!1), l = Oe({
2728
+ } = Xe(e), a = q(!1), l = we({
2710
2729
  activeKey: "",
2711
2730
  contextMenuActiveKey: ""
2712
- }), i = He(), {
2731
+ }), i = Ne(), {
2713
2732
  isMobile: r,
2714
- collapsedEffect: h,
2715
- collapsedProps: c,
2733
+ collapsedEffect: g,
2734
+ collapsedProps: u,
2716
2735
  layoutProps: d,
2717
2736
  contentFullScreen: m,
2718
- settings: u,
2719
- menu: g,
2720
- renderRouterView: v,
2737
+ settings: c,
2738
+ menu: p,
2739
+ renderRouterView: C,
2721
2740
  getPrefixCls: S
2722
- } = Q(), s = lt(), C = S({
2741
+ } = Z(), s = lt(), x = S({
2723
2742
  isPor: !0,
2724
2743
  suffixCls: "layout-tabs"
2725
2744
  }), {
2726
2745
  wrapSSR: I,
2727
- hashId: w
2728
- } = Wa(C), T = Ln(C, {
2746
+ hashId: M
2747
+ } = ja(x), T = Ln(x, {
2729
2748
  fixed: [],
2730
2749
  normal: []
2731
2750
  });
2732
2751
  function N(f) {
2733
- return s?.menuMap?.value?.get(f.name) || g.value?.flatMenus?.some((R) => R.name === f.name);
2752
+ return s?.menuMap?.value?.get(f.name) || p.value?.flatMenus?.some((R) => R.name === f.name);
2734
2753
  }
2735
- const y = Oe({
2754
+ const y = we({
2736
2755
  fixed: t.value && T.value?.fixed ? T.value?.fixed : [],
2737
2756
  normal: t.value && T.value?.normal ? T.value?.normal : []
2738
2757
  });
2739
- U(() => g.value.flatMenus, () => {
2758
+ U(() => p.value.flatMenus, () => {
2740
2759
  y.fixed.length && (y.fixed = y.fixed.filter((f) => N(f))), y.normal.length && (y.normal = y.normal.filter((f) => N(f)));
2741
2760
  }, {
2742
2761
  immediate: !0,
2743
2762
  deep: !0
2744
2763
  }), U(t, (f) => {
2745
- T.value = f ? Le(an(y)) : {
2764
+ T.value = f ? Fe(an(y)) : {
2746
2765
  fixed: [],
2747
2766
  normal: []
2748
2767
  };
2749
2768
  }, {
2750
2769
  immediate: !0
2751
2770
  });
2752
- const M = b(() => y.fixed.concat(y.normal)), k = b(() => u.value.layout === "mix" && !r.value && u.value.splitMenus), X = b(() => L(i?.currentRoute?.value)), A = b(() => u.value.fixedTabsBar && !r.value), V = b(() => {
2753
- const f = !(k.value && g.value.mixSiderMenus.length === 0 || g.value.menuData.length === 0 || u.value.layout === "top");
2754
- return A.value && f ? m.value ? "100%" : `calc(100% - ${h.value ? z(c.value?.width) : d.value.siderWidth})` : "100%";
2755
- }), _ = b(() => O(`${C}-wrap`, {
2756
- [`${w.value}`]: !0,
2757
- [`${C}-wrap-${e.type}`]: e.type,
2758
- [`${C}-wrap-fixed`]: u.value.fixedTabsBar,
2759
- [`${C}-wrap-loading`]: e.loading
2760
- })), D = b(() => e.destroyOnHide === !1 && e.visible), ee = b(() => {
2771
+ const w = v(() => y.fixed.concat(y.normal)), V = v(() => c.value.layout === "mix" && !r.value && c.value.splitMenus), j = v(() => L(i?.currentRoute?.value)), A = v(() => c.value.fixedTabsBar && !r.value), E = v(() => {
2772
+ const f = !(V.value && p.value.mixSiderMenus.length === 0 || p.value.menuData.length === 0 || c.value.layout === "top");
2773
+ return A.value && f ? m.value ? "100%" : `calc(100% - ${g.value ? z(u.value?.width) : d.value.siderWidth})` : "100%";
2774
+ }), Y = v(() => O(`${x}-wrap`, {
2775
+ [`${M.value}`]: !0,
2776
+ [`${x}-wrap-${e.type}`]: e.type,
2777
+ [`${x}-wrap-fixed`]: c.value.fixedTabsBar,
2778
+ [`${x}-wrap-loading`]: e.loading
2779
+ })), D = v(() => e.destroyOnHide === !1 && e.visible), te = v(() => {
2761
2780
  const f = {
2762
2781
  display: D.value ? void 0 : "none"
2763
2782
  };
2764
- return u.value.fixedTabsBar ? {
2783
+ return c.value.fixedTabsBar ? {
2765
2784
  margin: 0,
2766
- width: V.value,
2785
+ width: E.value,
2767
2786
  paddingTop: "6px",
2768
2787
  zIndex: 99,
2769
2788
  top: m.value ? 0 : void 0,
@@ -2771,53 +2790,53 @@ const Ea = /* @__PURE__ */ G({
2771
2790
  } : f;
2772
2791
  });
2773
2792
  U(() => y, (f) => {
2774
- t.value && (T.value = Le(f)), e.onTabsChange?.([...y.fixed, ...y.normal]);
2793
+ t.value && (T.value = Fe(f)), e.onTabsChange?.([...y.fixed, ...y.normal]);
2775
2794
  }, {
2776
2795
  deep: !0
2777
2796
  });
2778
- const q = (f) => M.value.find((R) => L(R) === f), $ = (f) => L(f) === X.value, x = (f) => {
2797
+ const _ = (f) => w.value.find((R) => L(R) === f), b = (f) => L(f) === j.value, $ = (f) => {
2779
2798
  const {
2780
2799
  fixed: R
2781
2800
  } = f?.meta?.tabState || {};
2782
- return f?.meta ? se(R) ? R : R === 0 : !1;
2783
- }, W = (f) => {
2801
+ return f?.meta ? re(R) ? R : R === 0 : !1;
2802
+ }, J = (f) => {
2784
2803
  const {
2785
2804
  hidden: R
2786
2805
  } = f?.meta?.tabState || {};
2787
2806
  if (f.name && f.meta && R !== !0) {
2788
- const B = x(f), F = L(f), P = q(F), H = {
2807
+ const B = $(f), F = L(f), P = _(F), H = {
2789
2808
  name: F,
2790
2809
  path: f.path,
2791
2810
  fullPath: f.fullPath,
2792
2811
  query: f.query,
2793
2812
  params: f.params,
2794
- meta: we(f.meta, {
2813
+ meta: $e(f.meta, {
2795
2814
  tabState: f.meta?.tabState
2796
2815
  })
2797
2816
  };
2798
- P ? we(P, H) : B ? y.fixed.push(H) : y.normal.push(H), $(f) && (l.activeKey = F);
2817
+ P ? $e(P, H) : B ? y.fixed.push(H) : y.normal.push(H), b(f) && (l.activeKey = F);
2799
2818
  }
2800
- }, oe = (f) => {
2819
+ }, ue = (f) => {
2801
2820
  f.forEach((R) => {
2802
- x(R) && W(Ae(R));
2821
+ $(R) && J(Ae(R));
2803
2822
  });
2804
2823
  };
2805
- U(() => g.value.flatMenus, (f) => {
2806
- oe(f);
2824
+ U(() => p.value.flatMenus, (f) => {
2825
+ ue(f);
2807
2826
  }, {
2808
2827
  deep: !0,
2809
2828
  immediate: !0
2810
2829
  }), U(() => i?.currentRoute?.value, (f) => {
2811
- f && W(f);
2830
+ f && J(f);
2812
2831
  }, {
2813
2832
  deep: !0,
2814
2833
  immediate: !0
2815
2834
  });
2816
- const de = (f) => {
2817
- const R = M.value.find((B) => (f || l.activeKey) === L(B));
2835
+ const De = (f) => {
2836
+ const R = w.value.find((B) => (f || l.activeKey) === L(B));
2818
2837
  return R?.redirect || R?.fullPath || R?.path || "";
2819
2838
  };
2820
- function me(f) {
2839
+ function de(f) {
2821
2840
  const R = {};
2822
2841
  return f.query && (R.query = f.query), f.params && (R.params = f.params), R;
2823
2842
  }
@@ -2826,56 +2845,56 @@ const Ea = /* @__PURE__ */ G({
2826
2845
  addType: B,
2827
2846
  params: F
2828
2847
  }) => {
2829
- const P = x(f) ? "fixed" : "normal";
2830
- R === "add" && B ? y[P][B](F) : R === "merge" ? y[P] = y[P].map((H) => L(H) === L(f) ? we(H, F) : H) : R === "remove" && (y[P] = y[P].filter((H) => L(H) !== L(f)));
2831
- }, Re = () => {
2832
- const f = M.value.slice(-1)[0];
2848
+ const P = $(f) ? "fixed" : "normal";
2849
+ R === "add" && B ? y[P][B](F) : R === "merge" ? y[P] = y[P].map((H) => L(H) === L(f) ? $e(H, F) : H) : R === "remove" && (y[P] = y[P].filter((H) => L(H) !== L(f)));
2850
+ }, Ie = () => {
2851
+ const f = w.value.slice(-1)[0];
2833
2852
  f ? i.push({
2834
- path: de(L(f)),
2835
- ...me(f)
2853
+ path: De(L(f)),
2854
+ ...de(f)
2836
2855
  }) : i.push("/");
2837
2856
  }, We = (f, R) => {
2838
- const B = M.value.find((F) => f === L(F));
2857
+ const B = w.value.find((F) => f === L(F));
2839
2858
  B && (ze(B, {
2840
2859
  type: "remove",
2841
2860
  params: B
2842
2861
  }), R?.(B));
2843
2862
  }, _e = () => {
2844
2863
  y.fixed = [], y.normal = [];
2845
- }, fe = async (f) => {
2864
+ }, me = async (f) => {
2846
2865
  We(f, (R) => {
2847
- $(R) && Re();
2866
+ b(R) && Ie();
2848
2867
  });
2849
- }, j = (f) => {
2850
- const R = M.value.find((B) => L(B) === f);
2868
+ }, W = (f) => {
2869
+ const R = w.value.find((B) => L(B) === f);
2851
2870
  R && l.activeKey !== L(R) && i.push({
2852
- path: de(L(R)),
2853
- ...me(R)
2871
+ path: De(L(R)),
2872
+ ...de(R)
2854
2873
  });
2855
- }, J = Nn(() => {
2856
- v.value = !1, a.value = !0, e.onReloadPage && e.onReloadPage?.(), setTimeout(() => {
2857
- v.value = !0;
2874
+ }, Q = Nn(() => {
2875
+ C.value = !1, a.value = !0, e.onReloadPage && e.onReloadPage?.(), setTimeout(() => {
2876
+ C.value = !0;
2858
2877
  }, 200), setTimeout(() => {
2859
2878
  a.value = !1;
2860
2879
  }, 500);
2861
- }, 500), te = (f) => l[f], ne = (f) => {
2880
+ }, 500), ee = (f) => l[f], ne = (f) => {
2862
2881
  i.push({
2863
2882
  path: f.path,
2864
- ...me(f)
2883
+ ...de(f)
2865
2884
  });
2866
- }, pe = (f, R) => {
2867
- let B = y.normal.findIndex((K) => L(K) === te(R));
2868
- const F = M.value.find((K) => L(K) === te(R)), P = x(F);
2885
+ }, fe = (f, R) => {
2886
+ let B = y.normal.findIndex((K) => L(K) === ee(R));
2887
+ const F = w.value.find((K) => L(K) === ee(R)), P = $(F);
2869
2888
  let H = !1;
2870
2889
  switch (f) {
2871
2890
  case "fixed":
2872
- P ? (B = y.fixed.findIndex((K) => L(K) === te(R)), y.normal.unshift(we(F, {
2891
+ P ? (B = y.fixed.findIndex((K) => L(K) === ee(R)), y.normal.unshift($e(F, {
2873
2892
  meta: {
2874
2893
  tabState: {
2875
2894
  fixed: !P
2876
2895
  }
2877
2896
  }
2878
- })), y.fixed = y.fixed.filter((K, ce) => ce !== B)) : (y.fixed.push(we(F, {
2897
+ })), y.fixed = y.fixed.filter((K, ce) => ce !== B)) : (y.fixed.push($e(F, {
2879
2898
  meta: {
2880
2899
  tabState: {
2881
2900
  fixed: !P
@@ -2884,22 +2903,22 @@ const Ea = /* @__PURE__ */ G({
2884
2903
  })), y.normal = y.normal.filter((K, ce) => ce !== B));
2885
2904
  break;
2886
2905
  case "close":
2887
- fe(L(F) || "");
2906
+ me(L(F) || "");
2888
2907
  break;
2889
2908
  case "closeOthersTabs":
2890
- y.normal = y.normal.filter((K) => L(K) === te(R) || x(K)), H = l[R] !== l.activeKey, H && ne(F);
2909
+ y.normal = y.normal.filter((K) => L(K) === ee(R) || $(K)), H = l[R] !== l.activeKey, H && ne(F);
2891
2910
  break;
2892
2911
  case "closeLeftTabs":
2893
- ut(B) && (y.normal = y.normal.filter((K, ce) => ce >= B || x(K)), H = !M.value.some((K) => L(K) === l.activeKey), H && ne(F));
2912
+ ut(B) && (y.normal = y.normal.filter((K, ce) => ce >= B || $(K)), H = !w.value.some((K) => L(K) === l.activeKey), H && ne(F));
2894
2913
  break;
2895
2914
  case "closeRightTabs":
2896
- ut(B) && (y.normal = y.normal.filter((K, ce) => ce <= B || x(K))), H = !M.value.some((K) => L(K) === l.activeKey), H && ne(F);
2915
+ ut(B) && (y.normal = y.normal.filter((K, ce) => ce <= B || $(K))), H = !w.value.some((K) => L(K) === l.activeKey), H && ne(F);
2897
2916
  break;
2898
2917
  case "closeAllTabs":
2899
- y.normal = y.normal.filter((K) => x(K)), Re();
2918
+ y.normal = y.normal.filter((K) => $(K)), Ie();
2900
2919
  break;
2901
2920
  case "reloadPage":
2902
- (B === 0 || B) && l.activeKey === te(R) && J();
2921
+ (B === 0 || B) && l.activeKey === ee(R) && Q();
2903
2922
  break;
2904
2923
  case "newBlank":
2905
2924
  window.open(location.href);
@@ -2908,38 +2927,38 @@ const Ea = /* @__PURE__ */ G({
2908
2927
  m.value = !m.value;
2909
2928
  break;
2910
2929
  }
2911
- }, $e = (f, R) => {
2912
- const B = M.value.findIndex((F) => L(F) === R);
2930
+ }, Se = (f, R) => {
2931
+ const B = w.value.findIndex((F) => L(F) === R);
2913
2932
  if (f === "closeOthersTabs")
2914
- return M.value.filter((P, H) => H !== B && !x(P)).length === 0;
2933
+ return w.value.filter((P, H) => H !== B && !$(P)).length === 0;
2915
2934
  if (f === "closeLeftTabs")
2916
- return M.value.filter((P, H) => H < B && !x(P)).length === 0;
2935
+ return w.value.filter((P, H) => H < B && !$(P)).length === 0;
2917
2936
  if (f === "closeRightTabs")
2918
- return M.value.filter((P, H) => H > B && !x(P)).length === 0;
2937
+ return w.value.filter((P, H) => H > B && !$(P)).length === 0;
2919
2938
  }, je = (f) => {
2920
2939
  let R;
2921
2940
  const {
2922
2941
  name: B,
2923
2942
  stateType: F
2924
2943
  } = f;
2925
- return o(be, {
2944
+ return o(ye, {
2926
2945
  selectedKeys: [],
2927
- onClick: (P) => pe(P.key, F)
2928
- }, Ka(R = ja.map((P) => {
2929
- if (P.key === "divider") return o(be.Divider, {
2946
+ onClick: (P) => fe(P.key, F)
2947
+ }, Ua(R = Aa.map((P) => {
2948
+ if (P.key === "divider") return o(ye.Divider, {
2930
2949
  key: P.key
2931
2950
  }, null);
2932
2951
  const H = P.icon;
2933
- return P.key === "close" && x(q(B)) ? null : o(ka, {
2952
+ return P.key === "close" && $(_(B)) ? null : o(Ea, {
2934
2953
  key: P.key,
2935
- disabled: $e(P.key, B)
2954
+ disabled: Se(P.key, B)
2936
2955
  }, {
2937
- default: () => [P.icon && typeof P.icon == "function" ? P.key === "fullScreen" ? P.icon(m.value) : P.key === "fixed" ? P.icon(x(q(B))) : null : o(H, null, null), o("span", {
2956
+ default: () => [P.icon && typeof P.icon == "function" ? P.key === "fullScreen" ? P.icon(m.value) : P.key === "fixed" ? P.icon($(_(B))) : null : o(H, null, null), o("span", {
2938
2957
  style: {
2939
2958
  marginInlineStart: "8px"
2940
2959
  }
2941
- }, [Aa(P, {
2942
- tabs: q(B)?.meta?.tabState || {},
2960
+ }, [Ka(P, {
2961
+ tabs: _(B)?.meta?.tabState || {},
2943
2962
  fullScreen: m.value
2944
2963
  })])]
2945
2964
  });
@@ -2949,7 +2968,7 @@ const Ea = /* @__PURE__ */ G({
2949
2968
  }, en = ({
2950
2969
  router: f
2951
2970
  }) => {
2952
- const R = e.itemRender ? e.itemRender(f) : null, B = x(f);
2971
+ const R = e.itemRender ? e.itemRender(f) : null, B = $(f);
2953
2972
  return o(dt, {
2954
2973
  trigger: "contextmenu",
2955
2974
  overlay: o(je, {
@@ -2961,14 +2980,14 @@ const Ea = /* @__PURE__ */ G({
2961
2980
  }
2962
2981
  }, {
2963
2982
  default: () => [R || o("div", {
2964
- class: [`${C}-title`, w.value]
2983
+ class: [`${x}-title`, M.value]
2965
2984
  }, [f.meta?.title, B && o(ke, {
2966
2985
  type: "pin",
2967
- class: [`${C}-icon`, w.value]
2968
- }, null), M.value.length > 1 && !x(f) && o(Ke, {
2969
- class: [`${C}-close-btn`, w.value],
2986
+ class: [`${x}-icon`, M.value]
2987
+ }, null), w.value.length > 1 && !$(f) && o(Ke, {
2988
+ class: [`${x}-close-btn`, M.value],
2970
2989
  onClick: (F) => {
2971
- F.stopPropagation(), fe(L(f) || "");
2990
+ F.stopPropagation(), me(L(f) || "");
2972
2991
  }
2973
2992
  }, null)])]
2974
2993
  });
@@ -2978,20 +2997,20 @@ const Ea = /* @__PURE__ */ G({
2978
2997
  close: We,
2979
2998
  change: ze
2980
2999
  }), () => {
2981
- const f = m.value ? St : Rt;
2982
- return I(o(Y, null, [u.value.fixedTabsBar && o("div", {
3000
+ const f = m.value ? St : $t;
3001
+ return I(o(G, null, [c.value.fixedTabsBar && o("div", {
2983
3002
  style: {
2984
3003
  display: D.value ? void 0 : "none"
2985
3004
  },
2986
- class: [`${C}-fixed`, w.value]
3005
+ class: [`${x}-fixed`, M.value]
2987
3006
  }, null), o(Pt, {
2988
3007
  hideAdd: !0,
2989
- style: ee.value,
2990
- class: _.value,
3008
+ style: te.value,
3009
+ class: Y.value,
2991
3010
  activeKey: l.activeKey,
2992
- onTabClick: j
3011
+ onTabClick: W
2993
3012
  }, {
2994
- default: () => [M.value.map((R) => o(Ua, {
3013
+ default: () => [w.value.map((R) => o(ka, {
2995
3014
  key: L(R),
2996
3015
  closable: !1,
2997
3016
  tab: o(en, {
@@ -2999,10 +3018,10 @@ const Ea = /* @__PURE__ */ G({
2999
3018
  }, null)
3000
3019
  }, null))],
3001
3020
  rightExtra: () => o("div", {
3002
- class: O(`${C}-dropdown-menu`, w.value)
3003
- }, [o($t, {
3004
- class: [`${C}-dropdown-menu-btn`, w.value],
3005
- onClick: () => pe("reloadPage", "activeKey")
3021
+ class: O(`${x}-dropdown-menu`, M.value)
3022
+ }, [o(Rt, {
3023
+ class: [`${x}-dropdown-menu-btn`, M.value],
3024
+ onClick: () => fe("reloadPage", "activeKey")
3006
3025
  }, null), o(dt, {
3007
3026
  overlay: o(je, {
3008
3027
  name: l.activeKey,
@@ -3010,20 +3029,20 @@ const Ea = /* @__PURE__ */ G({
3010
3029
  }, null)
3011
3030
  }, {
3012
3031
  default: () => [o(bn, {
3013
- class: [`${C}-dropdown-menu-btn`, w.value]
3032
+ class: [`${x}-dropdown-menu-btn`, M.value]
3014
3033
  }, null)]
3015
3034
  }), o(f, {
3016
- class: [`${C}-dropdown-menu-btn`, w.value],
3017
- onClick: () => pe("fullScreen", "activeKey")
3035
+ class: [`${x}-dropdown-menu-btn`, M.value],
3036
+ onClick: () => fe("fullScreen", "activeKey")
3018
3037
  }, null)])
3019
3038
  })]));
3020
3039
  };
3021
3040
  }
3022
- }), Xa = ["isChildrenLayout", "loading", "onTabsChange", "onReloadPage"], Va = /* @__PURE__ */ G({
3041
+ }), Va = ["isChildrenLayout", "loading", "onTabsChange", "onReloadPage"], Ga = /* @__PURE__ */ X({
3023
3042
  inheritAttrs: !1,
3024
3043
  displayName: "wrap-content",
3025
3044
  props: {
3026
- ...Ce(qt, ["visible", "destroyOnHide", "storage", "itemRender"]),
3045
+ ...be(qt, ["visible", "destroyOnHide", "storage", "itemRender"]),
3027
3046
  hashId: String,
3028
3047
  prefixCls: String,
3029
3048
  isChildrenLayout: Boolean,
@@ -3038,26 +3057,26 @@ const Ea = /* @__PURE__ */ G({
3038
3057
  layoutProps: l,
3039
3058
  settings: i,
3040
3059
  fullScreenOnTabsHide: r
3041
- } = Q(), h = b(() => se(e.tabsRoute?.visible) ? e.tabsRoute?.visible : !(a.value && r.value));
3060
+ } = Z(), g = v(() => re(e.tabsRoute?.visible) ? e.tabsRoute?.visible : !(a.value && r.value));
3042
3061
  return () => {
3043
3062
  const {
3044
- prefixCls: c,
3063
+ prefixCls: u,
3045
3064
  hashId: d,
3046
3065
  tabsRoute: m,
3047
- ...u
3066
+ ...c
3048
3067
  } = e;
3049
3068
  return e.isChildrenLayout ? n.default?.() : o("div", {
3050
- class: O(`${c}-container`, d, l.value.siderWidth && `${c}-container-has-silder`)
3051
- }, [!i.value.showTabsBar || l.value.isWide || i.value.layout === "simple" ? null : o(Ea, le({
3069
+ class: O(`${u}-container`, d, l.value.siderWidth && `${u}-container-has-silder`)
3070
+ }, [!i.value.showTabsBar || l.value.isWide || i.value.layout === "simple" ? null : o(Xa, oe({
3052
3071
  ref: t
3053
- }, u, e.tabsRoute, {
3054
- visible: h.value
3072
+ }, c, e.tabsRoute, {
3073
+ visible: g.value
3055
3074
  }), null), n.default?.()]);
3056
3075
  };
3057
3076
  }
3058
3077
  }), {
3059
- Content: Ga
3060
- } = Fe, Ya = /* @__PURE__ */ G({
3078
+ Content: Ya
3079
+ } = Pe, _a = /* @__PURE__ */ X({
3061
3080
  name: "BaseProLayout",
3062
3081
  inheritAttrs: !1,
3063
3082
  props: {
@@ -3075,52 +3094,52 @@ const Ea = /* @__PURE__ */ G({
3075
3094
  }), {
3076
3095
  wrapSSR: l,
3077
3096
  hashId: i
3078
- } = ie("ProLayout", [ya, ba], a), {
3097
+ } = le("ProLayout", [ya, ba], a), {
3079
3098
  theme: r,
3080
- resolvedTheme: h
3081
- } = Tt(), [c, d] = Be(!1), m = vn(), u = lt(), g = Cn({
3099
+ resolvedTheme: g
3100
+ } = Tt(), [u, d] = Me(!1), m = vn(), c = lt(), p = Cn({
3082
3101
  slots: n,
3083
3102
  props: e,
3084
3103
  keys: Jt,
3085
3104
  render: !0
3086
3105
  }), {
3087
- token: v
3088
- } = Ne(), S = Z(), s = Z(!!e.collapsedProps?.value), C = Z(!0), I = Z(!1), w = Z(!1), T = Z(), N = Z(ct().uuid(10)), y = Oe({
3106
+ token: C
3107
+ } = Le(), S = q(), s = q(!!e.collapsedProps?.value), x = q(!0), I = q(!1), M = q(!1), T = q(), N = q(ct().uuid(10)), y = we({
3089
3108
  position: "relative"
3090
- }), M = b(() => {
3091
- let $ = 0;
3092
- if (w.value)
3093
- $ = 0;
3109
+ }), w = v(() => {
3110
+ let b = 0;
3111
+ if (M.value)
3112
+ b = 0;
3094
3113
  else if (e.settings.siderWidth === 0)
3095
- $ = 0;
3114
+ b = 0;
3096
3115
  else {
3097
- const x = e.settings.layout === "wide" ? 208 : E.siderWidth;
3098
- $ = ue(e.settings.siderWidth || x);
3116
+ const $ = e.settings.layout === "wide" ? 208 : k.siderWidth;
3117
+ b = se(e.settings.siderWidth || $);
3099
3118
  }
3100
3119
  return {
3101
3120
  isWide: e.settings.layout === "wide",
3102
- headerHeight: e.settings.headerHeight === 0 ? 0 : ue(e.settings.headerHeight || E.headerHeight),
3103
- siderWidth: $,
3121
+ headerHeight: e.settings.headerHeight === 0 ? 0 : se(e.settings.headerHeight || k.headerHeight),
3122
+ siderWidth: b,
3104
3123
  hasSilder: e.settings.layout === "mix" || e.settings.layout === "side" || e.settings.layout === "wide" || !1
3105
3124
  };
3106
- }), k = b(() => qe({
3125
+ }), V = v(() => qe({
3107
3126
  position: "fixed",
3108
3127
  width: 64
3109
- }, e.collapsedProps || {})), X = b(() => {
3110
- const $ = e.route || u?.menuData?.value || [], x = u?.flatMenus?.value ?? wt($);
3128
+ }, e.collapsedProps || {})), j = v(() => {
3129
+ const b = e.route || c?.menuData?.value || [], $ = c?.flatMenus?.value ?? wt(b);
3111
3130
  return {
3112
3131
  ...e.menu,
3113
- menuData: $,
3114
- flatMenus: x,
3132
+ menuData: b,
3133
+ flatMenus: $,
3115
3134
  key: r.value,
3116
- baseTheme: h.value,
3117
- mixSiderMenus: M.value.hasSilder && e?.selectedKeys ? ia($, e.selectedKeys[0]) : []
3135
+ baseTheme: g.value,
3136
+ mixSiderMenus: w.value.hasSilder && e?.selectedKeys ? ia(b, e.selectedKeys[0]) : []
3118
3137
  };
3119
- }), A = b(() => (m.value === "sm" || m.value === "xs") && !e.disableMobile && !M.value.isWide), V = b(() => ({
3138
+ }), A = v(() => (m.value === "sm" || m.value === "xs") && !e.disableMobile && !w.value.isWide), E = v(() => ({
3120
3139
  ...e.breadcrumb,
3121
3140
  position: e.breadcrumb?.position && Ve(e.breadcrumb?.position) ? e.breadcrumb?.position : e.settings.layout === "side" ? "header" : "pageHeader",
3122
3141
  visible: e.breadcrumb?.visible ?? !0,
3123
- itemRender: Te({
3142
+ itemRender: Be({
3124
3143
  slots: n,
3125
3144
  props: {
3126
3145
  breadcrumbRender: e.pageContainer?.breadcrumbRender
@@ -3128,111 +3147,111 @@ const Ea = /* @__PURE__ */ G({
3128
3147
  key: "breadcrumbRender"
3129
3148
  })
3130
3149
  }));
3131
- U(() => e.collapsedProps?.value, ($) => {
3132
- s.value = !!$;
3133
- }), U(() => s.value, ($) => {
3134
- e.onCollapse?.($);
3135
- }), U([() => e.settings.layout], ([$]) => {
3136
- ($ === "wide" || $ === "simple") && (w.value = !1), N.value = ct().uuid(10);
3137
- }), U(() => M.value.isWide, ($) => {
3138
- if ($) {
3139
- const x = document.querySelector('meta[name="viewport"]');
3140
- x && (x.content = "");
3150
+ U(() => e.collapsedProps?.value, (b) => {
3151
+ s.value = !!b;
3152
+ }), U(() => s.value, (b) => {
3153
+ e.onCollapse?.(b);
3154
+ }), U([() => e.settings.layout], ([b]) => {
3155
+ (b === "wide" || b === "simple") && (M.value = !1), N.value = ct().uuid(10);
3156
+ }), U(() => w.value.isWide, (b) => {
3157
+ if (b) {
3158
+ const $ = document.querySelector('meta[name="viewport"]');
3159
+ $ && ($.content = "");
3141
3160
  }
3142
3161
  }, {
3143
3162
  immediate: !0
3144
- }), U(w, ($) => {
3145
- e.onContentFullScreenChange?.($);
3163
+ }), U(M, (b) => {
3164
+ e.onContentFullScreenChange?.(b);
3146
3165
  }), U([() => e.isChildrenLayout], () => {
3147
- const $ = e.styles?.content;
3148
- (e.isChildrenLayout || $ && $.minHeight) && (y.minHeight = 0);
3166
+ const b = e.styles?.content;
3167
+ (e.isChildrenLayout || b && b.minHeight) && (y.minHeight = 0);
3149
3168
  }, {
3150
3169
  immediate: !0,
3151
3170
  deep: !0
3152
3171
  });
3153
- function _() {
3154
- return ge({
3172
+ function Y() {
3173
+ return pe({
3155
3174
  slots: n,
3156
3175
  props: e,
3157
3176
  keys: ["menuItemRender", "menuTextRender", "subMenuItemRender", "collapsedIconRender", "collapsedButtonRender"]
3158
3177
  });
3159
3178
  }
3160
3179
  const D = () => {
3161
- if (e.headerRender === !1 || e.pure || e.settings.layout === "simple" || !M.value.headerHeight || M.value.headerHeight === 0)
3180
+ if (e.headerRender === !1 || e.pure || e.settings.layout === "simple" || !w.value.headerHeight || w.value.headerHeight === 0)
3162
3181
  return null;
3163
- const $ = ge({
3182
+ const b = pe({
3164
3183
  slots: n,
3165
3184
  props: e,
3166
3185
  keys: ["logoRender", "headerRender", "headerContentRender", "rightContentRender"]
3167
- }), x = ge({
3186
+ }), $ = pe({
3168
3187
  slots: n,
3169
3188
  props: e,
3170
3189
  keys: Qt,
3171
3190
  render: !0
3172
3191
  });
3173
- return o(Fa, le(e, x, _(), {
3174
- logoRender: $.logoRender,
3175
- headerRender: $.headerRender,
3176
- rightContentRender: $.rightContentRender,
3177
- headerContentRender: $.headerContentRender
3192
+ return o(La, oe(e, $, Y(), {
3193
+ logoRender: b.logoRender,
3194
+ headerRender: b.headerRender,
3195
+ rightContentRender: b.rightContentRender,
3196
+ headerContentRender: b.headerContentRender
3178
3197
  }), null);
3179
- }, ee = () => {
3180
- if (!M.value.siderWidth || M.value.siderWidth === 0) return null;
3181
- const $ = ge({
3198
+ }, te = () => {
3199
+ if (!w.value.siderWidth || w.value.siderWidth === 0) return null;
3200
+ const b = pe({
3182
3201
  slots: n,
3183
3202
  props: e,
3184
3203
  keys: Zt,
3185
3204
  render: !0
3186
- }), x = ge({
3205
+ }), $ = pe({
3187
3206
  slots: n,
3188
3207
  props: e,
3189
3208
  keys: ["logoRender", "menuHeaderRender", "menuFooterRender", "menuContentRender"]
3190
3209
  });
3191
- return o(xa, le(e, $, _(), {
3210
+ return o(xa, oe(e, b, Y(), {
3192
3211
  isMobile: A.value,
3193
- logoRender: x.logoRender,
3194
- siderWidth: M.value.siderWidth,
3195
- menuHeaderRender: x.menuHeaderRender,
3196
- menuFooterRender: x.menuFooterRender,
3197
- menuContentRender: x.menuContentRender
3212
+ logoRender: $.logoRender,
3213
+ siderWidth: w.value.siderWidth,
3214
+ menuHeaderRender: $.menuHeaderRender,
3215
+ menuFooterRender: $.menuFooterRender,
3216
+ menuContentRender: $.menuContentRender
3198
3217
  }), null);
3199
- }, q = () => {
3200
- const $ = Te({
3218
+ }, _ = () => {
3219
+ const b = Be({
3201
3220
  slots: n,
3202
3221
  props: e,
3203
3222
  key: "footerRender",
3204
3223
  render: !1
3205
3224
  });
3206
- return o(Y, null, [$ === !1 ? null : typeof $ == "function" ? $(e) : $ || o(Ra, {
3207
- copyright: g.value.copyrightRender,
3225
+ return o(G, null, [b === !1 ? null : typeof b == "function" ? b(e) : b || o(Ra, {
3226
+ copyright: p.value.copyrightRender,
3208
3227
  links: e.footerLinks
3209
- }, null), c.value && o("div", {
3228
+ }, null), u.value && o("div", {
3210
3229
  class: `${a}-has-footer`,
3211
3230
  style: {
3212
3231
  height: "64px",
3213
- marginBlockStart: v.value.marginMD
3232
+ marginBlockStart: C.value.marginMD
3214
3233
  }
3215
3234
  }, null)]);
3216
3235
  };
3217
3236
  return Gn({
3218
- ...ve(Xe(e), Vn),
3219
- collapsedProps: k,
3237
+ ...Te(Xe(e), Vn),
3238
+ collapsedProps: V,
3220
3239
  getPrefixCls: ae,
3221
3240
  collapsed: s,
3222
- collapsedEffect: b(() => k.value?.width ? s.value : !1),
3223
- settings: b(() => e.settings),
3224
- menu: X,
3241
+ collapsedEffect: v(() => V.value?.width ? s.value : !1),
3242
+ settings: v(() => e.settings),
3243
+ menu: j,
3225
3244
  tabsComRef: S,
3226
- contentFullScreen: w,
3227
- layoutProps: M,
3245
+ contentFullScreen: M,
3246
+ layoutProps: w,
3228
3247
  isMobile: A,
3229
- renderRouterView: C,
3230
- breadcrumb: V,
3248
+ renderRouterView: x,
3249
+ breadcrumb: E,
3231
3250
  fullScreenOnTabsHide: I,
3232
3251
  breadcrumbRender: T,
3233
- hasFooterToolbar: c,
3252
+ hasFooterToolbar: u,
3234
3253
  setHasFooterToolbar: d,
3235
- pageHeaderRender: b(() => re({
3254
+ pageHeaderRender: v(() => ie({
3236
3255
  slots: n,
3237
3256
  props: {
3238
3257
  pageHeaderRender: e.pageContainer?.pageHeaderRender
@@ -3242,12 +3261,12 @@ const Ea = /* @__PURE__ */ G({
3242
3261
  }), t({
3243
3262
  tabsComRef: () => S.value
3244
3263
  }), () => {
3245
- const $ = {
3246
- minWidth: M.value.isWide ? ue(e.settings.wideWidth) : void 0,
3247
- minHeight: e.settings.layout === "simple" ? `calc(100vh - ${ue(e.settings.headerHeight)})` : void 0,
3264
+ const b = {
3265
+ minWidth: w.value.isWide ? se(e.settings.wideWidth) : void 0,
3266
+ minHeight: e.settings.layout === "simple" ? `calc(100vh - ${se(e.settings.headerHeight)})` : void 0,
3248
3267
  ...e.styles?.root || {}
3249
3268
  };
3250
- return l(o(Y, null, [e.pure ? n.default?.() : o("div", {
3269
+ return l(o(G, null, [e.pure ? n.default?.() : o("div", {
3251
3270
  id: e.id,
3252
3271
  class: O({
3253
3272
  [`${i.value}`]: !0,
@@ -3255,20 +3274,20 @@ const Ea = /* @__PURE__ */ G({
3255
3274
  [`${a}`]: !0,
3256
3275
  [`${a}-${e.settings.layout}`]: !0
3257
3276
  }),
3258
- style: $
3259
- }, [v.value.layout?.bgLayout ? o("div", {
3277
+ style: b
3278
+ }, [C.value.layout?.bgLayout ? o("div", {
3260
3279
  class: O(`${a}-bg-list`, i.value)
3261
- }, null) : null, o(Fe, {
3262
- style: M.value.isWide ? {
3263
- width: ue(e.settings.wideWidth),
3264
- paddingTop: _n(M.value.headerHeight, 20),
3265
- margin: M.value.isWide ? "0 auto" : void 0
3280
+ }, null) : null, o(Pe, {
3281
+ style: w.value.isWide ? {
3282
+ width: se(e.settings.wideWidth),
3283
+ paddingTop: _n(w.value.headerHeight, 20),
3284
+ margin: w.value.isWide ? "0 auto" : void 0
3266
3285
  } : void 0
3267
3286
  }, {
3268
- default: () => [ee(), o(Fe, {
3287
+ default: () => [te(), o(Pe, {
3269
3288
  style: y
3270
3289
  }, {
3271
- default: () => [D(), o(Va, le(ve(e, Xa), {
3290
+ default: () => [D(), o(Ga, oe(Te(e, Va), {
3272
3291
  tabsRoute: {
3273
3292
  ...e.tabsRoute,
3274
3293
  itemRender: n.tabsRouteItemRender || e.tabsRoute?.itemRender
@@ -3276,17 +3295,17 @@ const Ea = /* @__PURE__ */ G({
3276
3295
  hashId: i.value,
3277
3296
  prefixCls: a
3278
3297
  }), {
3279
- default: () => [o(Ga, {
3298
+ default: () => [o(Ya, {
3280
3299
  class: O(`${a}-content`, i.value)
3281
3300
  }, {
3282
3301
  default: () => [n.default?.()]
3283
3302
  })]
3284
- }), !M.value.isWide && q()]
3303
+ }), !w.value.isWide && _()]
3285
3304
  })]
3286
- }), M.value.isWide && q()])]));
3305
+ }), w.value.isWide && _()])]));
3287
3306
  };
3288
3307
  }
3289
- }), Bi = /* @__PURE__ */ G({
3308
+ }), Pi = /* @__PURE__ */ X({
3290
3309
  name: "GProLayout",
3291
3310
  compatConfig: {
3292
3311
  MODE: 3
@@ -3314,34 +3333,34 @@ const Ea = /* @__PURE__ */ G({
3314
3333
  emit: t,
3315
3334
  expose: a
3316
3335
  }) {
3317
- const l = Tt(), i = Z(), [r, h] = Be(e.theme ?? l?.theme?.value ?? "system");
3336
+ const l = Tt(), i = q(), [r, g] = Me(e.theme ?? l?.theme?.value ?? "system");
3318
3337
  U(() => e.theme, (s) => {
3319
3338
  s && (r.value = s);
3320
3339
  });
3321
- const c = Ot(), d = b(() => {
3340
+ const u = Ot(), d = v(() => {
3322
3341
  let s = e.token || {};
3323
3342
  if (!s.layout?.header?.heightLayoutHeader) {
3324
- const C = e.settings.headerHeight === 0 ? E.headerHeight : ue(e.settings.headerHeight || E.headerHeight);
3343
+ const x = e.settings.headerHeight === 0 ? k.headerHeight : se(e.settings.headerHeight || k.headerHeight);
3325
3344
  s = qe(s, {
3326
3345
  layout: {
3327
3346
  header: {
3328
- heightLayoutHeader: C
3347
+ heightLayoutHeader: x
3329
3348
  }
3330
3349
  }
3331
3350
  });
3332
3351
  }
3333
3352
  return qe(s, {
3334
3353
  layout: {
3335
- key: `${c.value ? "dark" : "light"}:${e.settings.layout}`
3354
+ key: `${u.value ? "dark" : "light"}:${e.settings.layout}`
3336
3355
  }
3337
3356
  });
3338
3357
  }), m = (s) => {
3339
3358
  t("collapse", s), e.collapsedProps?.onCollapse && e.collapsedProps.onCollapse(s);
3340
- }, u = (s) => {
3359
+ }, c = (s) => {
3341
3360
  t("update:open-keys", s), t("openKeys", s);
3342
- }, g = (s) => {
3361
+ }, p = (s) => {
3343
3362
  t("update:selected-keys", s), t("select", s);
3344
- }, v = (s) => {
3363
+ }, C = (s) => {
3345
3364
  t("update:tabs", s), t("tabsChange", s);
3346
3365
  }, S = (s) => {
3347
3366
  t("contentFullScreenChange", s);
@@ -3353,25 +3372,25 @@ const Ea = /* @__PURE__ */ G({
3353
3372
  return o(Je, null, {
3354
3373
  default: () => [o(In, {
3355
3374
  token: d.value,
3356
- dark: c.value,
3375
+ dark: u.value,
3357
3376
  cssVar: e.cssVar
3358
3377
  }, {
3359
3378
  default: () => [o(An, {
3360
3379
  theme: r.value,
3361
- onChange: (C) => {
3362
- h(C), t("themeChange", C), t("update:theme", C);
3380
+ onChange: (x) => {
3381
+ g(x), t("themeChange", x), t("update:theme", x);
3363
3382
  },
3364
3383
  onChangeBase: () => {
3365
- e.onDarkChange?.(c.value);
3384
+ e.onDarkChange?.(u.value);
3366
3385
  }
3367
3386
  }, {
3368
- default: () => [o(Ya, le({
3387
+ default: () => [o(_a, oe({
3369
3388
  ref: i
3370
- }, Ce(e, s), {
3371
- onSelect: g,
3372
- onOpenKeys: u,
3389
+ }, be(e, s), {
3390
+ onSelect: p,
3391
+ onOpenKeys: c,
3373
3392
  onCollapse: m,
3374
- onTabsChange: v,
3393
+ onTabsChange: C,
3375
3394
  onContentFullScreenChange: S
3376
3395
  }), n)]
3377
3396
  })]
@@ -3379,12 +3398,12 @@ const Ea = /* @__PURE__ */ G({
3379
3398
  });
3380
3399
  };
3381
3400
  }
3382
- }), { useInjectContext: _a, provideContext: qa } = et("pro-page"), Za = "anticon", Qa = Symbol("configProvider"), Ja = {
3401
+ }), { useInjectContext: qa, provideContext: Za } = et("pro-page"), Qa = "anticon", Ja = Symbol("configProvider"), eo = {
3383
3402
  getPrefixCls: (e, n) => n || (e ? `ant-${e}` : "ant"),
3384
- iconPrefixCls: b(() => Za),
3385
- getPopupContainer: b(() => () => document.body),
3386
- direction: b(() => "ltr")
3387
- }, eo = () => on(Qa, Ja), to = () => ({
3403
+ iconPrefixCls: v(() => Qa),
3404
+ getPopupContainer: v(() => () => document.body),
3405
+ direction: v(() => "ltr")
3406
+ }, to = () => on(Ja, eo), no = () => ({
3388
3407
  extra: {
3389
3408
  type: [Object, String, Number, Function, Object, Array],
3390
3409
  default: void 0
@@ -3400,7 +3419,7 @@ const Ea = /* @__PURE__ */ G({
3400
3419
  },
3401
3420
  portalDom: { type: Boolean, default: !0 },
3402
3421
  stylish: { type: Object }
3403
- }), no = (e) => ({
3422
+ }), ao = (e) => ({
3404
3423
  [e.componentCls]: {
3405
3424
  position: "fixed",
3406
3425
  insetInlineEnd: 0,
@@ -3436,17 +3455,17 @@ const Ea = /* @__PURE__ */ G({
3436
3455
  }
3437
3456
  }
3438
3457
  });
3439
- function ao(e) {
3440
- return Ie("ProLayoutFooterToolbar", (n) => {
3458
+ function oo(e) {
3459
+ return Ce("ProLayoutFooterToolbar", (n) => {
3441
3460
  const t = {
3442
3461
  ...n,
3443
3462
  componentCls: `.${e}`
3444
3463
  };
3445
- return [no(t)];
3464
+ return [ao(t)];
3446
3465
  });
3447
3466
  }
3448
- function oo(e, { stylish: n }) {
3449
- return Ie("ProLayoutFooterToolbarStylish", (t) => {
3467
+ function lo(e, { stylish: n }) {
3468
+ return Ce("ProLayoutFooterToolbarStylish", (t) => {
3450
3469
  const a = {
3451
3470
  ...t,
3452
3471
  componentCls: `.${e}`
@@ -3458,29 +3477,29 @@ function oo(e, { stylish: n }) {
3458
3477
  ] : [];
3459
3478
  });
3460
3479
  }
3461
- function lo(e) {
3462
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !xe(e);
3480
+ function io(e) {
3481
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ve(e);
3463
3482
  }
3464
- const io = /* @__PURE__ */ G({
3483
+ const ro = /* @__PURE__ */ X({
3465
3484
  name: "FooterToolbar",
3466
- props: to(),
3485
+ props: no(),
3467
3486
  inheritAttrs: !1,
3468
3487
  slots: Object,
3469
3488
  setup(e, {
3470
3489
  slots: n
3471
3490
  }) {
3472
- const t = Q(), a = (t.getPrefixCls || ae)({
3491
+ const t = Z(), a = (t.getPrefixCls || ae)({
3473
3492
  suffixCls: "footer-toolbar",
3474
3493
  isPor: !0
3475
3494
  }), {
3476
3495
  getTargetContainer: l
3477
- } = eo(), {
3496
+ } = to(), {
3478
3497
  wrapSSR: i,
3479
3498
  hashId: r
3480
- } = ao(a), h = b(() => t?.collapsed?.value), c = b(() => t?.layoutProps?.value), d = b(() => t?.collapsedProps?.value), m = b(() => t?.isMobile.value ? !1 : t?.collapsedEffect?.value), u = b(() => d?.value?.width ? m.value ? d.value?.width : c.value.siderWidth : h.value ? 0 : c.value.siderWidth), g = Pe(() => {
3481
- if (c.value?.hasSilder)
3482
- return c.value?.siderWidth ? t?.isMobile?.value ? "100%" : `calc(100% - ${z(u.value)})` : "100%";
3483
- }, [() => t?.collapsed?.value, () => t?.layoutProps?.value?.hasSilder, () => t?.isMobile, () => t?.layoutProps?.value?.siderWidth]), v = Pe(() => typeof window > "u" || typeof document > "u" ? null : l?.value?.() || document.body, []), S = oo(`${a}.${a}-stylish`, {
3499
+ } = oo(a), g = v(() => t?.collapsed?.value), u = v(() => t?.layoutProps?.value), d = v(() => t?.collapsedProps?.value), m = v(() => t?.isMobile.value ? !1 : t?.collapsedEffect?.value), c = v(() => d?.value?.width ? m.value ? d.value?.width : u.value.siderWidth : g.value ? 0 : u.value.siderWidth), p = Oe(() => {
3500
+ if (u.value?.hasSilder)
3501
+ return u.value?.siderWidth ? t?.isMobile?.value ? "100%" : `calc(100% - ${z(c.value)})` : "100%";
3502
+ }, [() => t?.collapsed?.value, () => t?.layoutProps?.value?.hasSilder, () => t?.isMobile, () => t?.layoutProps?.value?.siderWidth]), C = Oe(() => typeof window > "u" || typeof document > "u" ? null : l?.value?.() || document.body, []), S = lo(`${a}.${a}-stylish`, {
3484
3503
  stylish: e.stylish
3485
3504
  });
3486
3505
  return It(() => {
@@ -3488,42 +3507,42 @@ const io = /* @__PURE__ */ G({
3488
3507
  }), ln(() => {
3489
3508
  t?.setHasFooterToolbar?.(!1);
3490
3509
  }), () => {
3491
- const s = re({
3510
+ const s = ie({
3492
3511
  slots: n,
3493
3512
  props: e,
3494
3513
  key: "extra"
3495
- }), C = Te({
3514
+ }), x = Be({
3496
3515
  slots: n,
3497
3516
  props: e,
3498
3517
  key: "renderContent"
3499
- }), I = o(Y, null, [o("div", {
3518
+ }), I = o(G, null, [o("div", {
3500
3519
  class: `${a}-left ${r.value}`.trim()
3501
3520
  }, [s]), o("div", {
3502
3521
  class: `${a}-right ${r.value}`.trim()
3503
- }, [n.default?.()])]), w = o("div", {
3522
+ }, [n.default?.()])]), M = o("div", {
3504
3523
  class: O(e.class, r.value, a, {
3505
3524
  [`${a}-stylish`]: !!e.stylish
3506
3525
  }),
3507
3526
  style: {
3508
- width: g.value,
3527
+ width: p.value,
3509
3528
  ...e.style
3510
3529
  }
3511
- }, [C && On(C) ? C({
3530
+ }, [x && On(x) ? x({
3512
3531
  props: {
3513
3532
  ...e,
3514
3533
  ...t,
3515
- leftWidth: g.value
3534
+ leftWidth: p.value
3516
3535
  },
3517
3536
  dom: I
3518
- }) : I]), T = !Bn() || !e.portalDom || !v.value ? w : o(rn, {
3519
- to: v.value
3520
- }, lo(w) ? w : {
3521
- default: () => [w]
3537
+ }) : I]), T = !Bn() || !e.portalDom || !C.value ? M : o(rn, {
3538
+ to: C.value
3539
+ }, io(M) ? M : {
3540
+ default: () => [M]
3522
3541
  });
3523
- return S.wrapSSR(i(o(Y, null, [T])));
3542
+ return S.wrapSSR(i(o(G, null, [T])));
3524
3543
  };
3525
3544
  }
3526
- }), ro = (e) => ({
3545
+ }), so = (e) => ({
3527
3546
  [`${e.proComponentsCls}-basic-layout&${e.proComponentsCls}-basic-layout-simple`]: {
3528
3547
  [`${e.componentCls}`]: {
3529
3548
  borderBlockEnd: `1px solid ${e.colorSplit}`
@@ -3570,25 +3589,25 @@ const io = /* @__PURE__ */ G({
3570
3589
  }
3571
3590
  }
3572
3591
  }
3573
- }), so = /* @__PURE__ */ G({
3592
+ }), uo = /* @__PURE__ */ X({
3574
3593
  name: "ProPageHeader",
3575
3594
  props: {
3576
3595
  close: {
3577
3596
  type: Boolean,
3578
3597
  default: void 0
3579
3598
  },
3580
- style: ye.pageHeaderStyle,
3581
- content: ye.pageHeaderContentRender,
3582
- breadcrumb: ye.breadcrumbRender
3599
+ style: he.pageHeaderStyle,
3600
+ content: he.pageHeaderContentRender,
3601
+ breadcrumb: he.breadcrumbRender
3583
3602
  },
3584
3603
  setup(e) {
3585
- const n = Q(), a = (n?.getPrefixCls || ae)({
3604
+ const n = Z(), a = (n?.getPrefixCls || ae)({
3586
3605
  isPor: !0,
3587
3606
  suffixCls: "page-header"
3588
3607
  }), {
3589
3608
  wrapSSR: l,
3590
3609
  hashId: i
3591
- } = ie("ProPageHeader", [ro], a);
3610
+ } = le("ProPageHeader", [so], a);
3592
3611
  return () => {
3593
3612
  const r = n?.breadcrumb?.value?.position === "pageHeader";
3594
3613
  return l(o("div", {
@@ -3617,8 +3636,8 @@ const io = /* @__PURE__ */ G({
3617
3636
  }, null)])])]));
3618
3637
  };
3619
3638
  }
3620
- }), uo = (e) => {
3621
- const { layout: n } = Se(e), t = e.layout?.pageContainer, a = t?.borderRadius || e.borderRadiusLG, l = `${e.proComponentsCls}-basic-layout-content`;
3639
+ }), co = (e) => {
3640
+ const { layout: n } = xe(e), t = e.layout?.pageContainer, a = t?.borderRadius || e.borderRadiusLG, l = `${e.proComponentsCls}-basic-layout-content`;
3622
3641
  return {
3623
3642
  [`${e.proComponentsCls}-basic-layout`]: {
3624
3643
  [`&-content${l}-width`]: {
@@ -3668,23 +3687,23 @@ const io = /* @__PURE__ */ G({
3668
3687
  }
3669
3688
  };
3670
3689
  };
3671
- function co(e) {
3672
- return Ie("ProPageContainer", (n) => {
3690
+ function mo(e) {
3691
+ return Ce("ProPageContainer", (n) => {
3673
3692
  const t = Qe(n, {
3674
3693
  gridContent: `${n.proComponentsCls}-grid-content`
3675
3694
  });
3676
- return [uo(t)];
3695
+ return [co(t)];
3677
3696
  }, e);
3678
3697
  }
3679
3698
  function xt(e) {
3680
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !xe(e);
3699
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ve(e);
3681
3700
  }
3682
- const mo = {
3701
+ const fo = {
3683
3702
  type: "default"
3684
- }, Pi = /* @__PURE__ */ G({
3703
+ }, Ti = /* @__PURE__ */ X({
3685
3704
  inheritAttrs: !1,
3686
3705
  name: "GProPageContainer",
3687
- props: ye,
3706
+ props: he,
3688
3707
  slots: Object,
3689
3708
  emits: ["contentFullScreenChange"],
3690
3709
  setup(e, {
@@ -3692,38 +3711,41 @@ const mo = {
3692
3711
  attrs: t,
3693
3712
  expose: a
3694
3713
  }) {
3695
- const l = Ft(), i = _a(), r = Q(), h = Ne(), c = r?.getPrefixCls || ae, d = c({
3714
+ const l = Ft(), i = qa(), r = Z(), g = Ia(), u = r?.getPrefixCls || ae, d = u({
3696
3715
  suffixCls: "page-container",
3697
3716
  isPor: !0
3698
- }), m = c({
3717
+ }), m = u({
3699
3718
  suffixCls: "grid-content",
3700
3719
  isPor: !0
3701
- }), u = b(() => r?.pageContainer?.value || {}), g = b(() => {
3702
- const x = se(e.waterMarkProps) ? {} : e.waterMarkProps || {};
3720
+ }), c = v(() => r?.pageContainer?.value || {}), p = v(() => {
3721
+ const b = re(e.waterMarkProps) ? {} : e.waterMarkProps || {};
3703
3722
  return {
3704
- ...se(r?.waterMarkProps?.value) ? {} : r?.waterMarkProps?.value || {},
3705
- ...x
3723
+ ...re(r?.waterMarkProps?.value) ? {} : r?.waterMarkProps?.value || {},
3724
+ ...b
3706
3725
  };
3707
- }), v = b(() => e.pageCardProps || u.value?.pageCardProps), S = b(() => e.pageHeaderStyle || u.value?.pageHeaderStyle), s = b(() => e.pageContentStyle || u.value?.pageContentStyle), C = b(() => e.pageChildrenContentClass || u.value?.pageChildrenContentClass || ""), I = b(() => e.pageChildrenContentStyle || u.value?.pageChildrenContentStyle || {}), w = b(() => r?.layoutProps?.value?.isWide), T = b(() => se(e.usePageCard) ? e.usePageCard : se(u.value?.usePageCard) ? u.value?.usePageCard : !0), N = b(() => h?.token?.value?.layout?.pageContainer), y = b(() => {
3708
- const x = e.contentWidth ?? u.value?.contentWidth;
3709
- return z(x);
3710
- }), M = b(() => {
3711
- const x = se(e.loading) ? e.loading : !!e.loading?.spinning;
3712
- return i?.spinning?.value ? !1 : x;
3713
- }), k = b(() => {
3714
- const x = u.value?.loadingProps;
3715
- return typeof e.loading == "boolean" ? x ?? mo : {
3716
- ...x,
3726
+ }), C = v(() => e.pageCardProps || c.value?.pageCardProps), S = v(() => e.pageHeaderStyle || c.value?.pageHeaderStyle), s = v(() => e.pageContentStyle || c.value?.pageContentStyle), x = v(() => e.pageChildrenContentClass || c.value?.pageChildrenContentClass || ""), I = v(() => e.pageChildrenContentStyle || c.value?.pageChildrenContentStyle || {}), M = v(() => r?.layoutProps?.value?.isWide), T = v(() => re(e.usePageCard) ? e.usePageCard : re(c.value?.usePageCard) ? c.value?.usePageCard : !0), N = v(() => {
3727
+ const b = e.contentWidth ?? c.value?.contentWidth;
3728
+ return z(b);
3729
+ }), y = v(() => {
3730
+ const b = re(e.loading) ? e.loading : !!e.loading?.spinning;
3731
+ return i?.spinning?.value ? !1 : b;
3732
+ }), w = v(() => {
3733
+ const b = c.value?.loadingProps;
3734
+ return typeof e.loading == "boolean" ? b ?? fo : {
3735
+ ...b,
3717
3736
  ...e.loading
3718
3737
  };
3719
- }), X = b(() => {
3720
- const x = re({
3738
+ }), V = v(() => {
3739
+ const b = ie({
3721
3740
  slots: n,
3722
3741
  props: e,
3723
3742
  key: "pageHeaderContentRender"
3724
- }), W = r?.breadcrumb?.value || {}, oe = W.routes || [];
3725
- return w.value ? !1 : W?.position === "pageHeader" && oe.length > 0 || x;
3726
- });
3743
+ }), $ = r?.breadcrumb?.value || {}, J = $.routes || [];
3744
+ return M.value ? !1 : $?.position === "pageHeader" && J.length > 0 || b;
3745
+ }), j = v(() => e.height ? {
3746
+ [e.height === "min" ? "min-height" : e.height === "max" ? "max-height" : "height"]: g.value,
3747
+ overflow: e.height !== "min" ? "hidden" : void 0
3748
+ } : {});
3727
3749
  U([() => e.breadcrumbRender, () => r?.breadcrumb?.value?.position], () => {
3728
3750
  A();
3729
3751
  }, {
@@ -3732,104 +3754,115 @@ const mo = {
3732
3754
  r && r.fullScreenOnTabsHide && (r.fullScreenOnTabsHide.value = !!e.fullScreenOnTabsHide), A();
3733
3755
  });
3734
3756
  function A() {
3735
- const x = Te({
3757
+ const b = Be({
3736
3758
  slots: n,
3737
3759
  props: e,
3738
3760
  key: "breadcrumbRender"
3739
3761
  });
3740
- r && (r.breadcrumbRender.value = r?.breadcrumb?.value?.position === "header" ? x : void 0);
3762
+ r && (r.breadcrumbRender.value = r?.breadcrumb?.value?.position === "header" ? b : void 0);
3741
3763
  }
3742
3764
  const {
3743
- wrapSSR: V,
3744
- hashId: _
3745
- } = co(d);
3746
- U(() => r?.contentFullScreen?.value, (x) => {
3747
- e.onContentFullScreenChange?.(x);
3765
+ wrapSSR: E,
3766
+ hashId: Y
3767
+ } = mo(d);
3768
+ U(() => r?.contentFullScreen?.value, (b) => {
3769
+ e.onContentFullScreenChange?.(b);
3748
3770
  });
3749
- const D = b(() => (N.value?.padding || N.value?.margin || "").split(" ")?.[0] || z(20)), ee = () => {
3750
- const x = re({
3771
+ const D = () => {
3772
+ const b = ie({
3751
3773
  slots: n,
3752
3774
  props: e,
3753
3775
  key: "pageChildrenExtraRender"
3754
- }), W = O(`${d}-children-container`, _.value, C.value);
3776
+ }), $ = O(`${d}-children-container`, Y.value, x.value);
3755
3777
  return o("div", {
3756
- class: W,
3778
+ class: $,
3757
3779
  style: {
3758
3780
  ...I.value
3759
3781
  }
3760
- }, [M.value && o("div", {
3761
- class: O(`${d}-spinning`, _.value)
3782
+ }, [y.value && o("div", {
3783
+ class: O(`${d}-spinning`, Y.value)
3762
3784
  }, [o(Bt, {
3763
3785
  indicator: l?.indicator?.value,
3764
- tip: k.value?.tip
3786
+ tip: w.value?.tip
3765
3787
  }, null)]), o("div", {
3766
- class: O(`${d}-spinning-content`, _.value, M.value && k.value.type ? `${d}-spinning-content-${k.value.type}` : "")
3767
- }, [x, T.value ? o(Wn, le(v.value ? ve(v.value, ["loading", "bodyStyle"]) : {}, {
3788
+ class: O(`${d}-spinning-content`, Y.value, y.value && w.value.type ? `${d}-spinning-content-${w.value.type}` : "")
3789
+ }, [b, T.value ? o(Wn, oe({
3768
3790
  bordered: !1
3791
+ }, C.value || {}, {
3792
+ style: {
3793
+ ...C.value?.style || {},
3794
+ ...j.value
3795
+ },
3796
+ bodyStyle: {
3797
+ ...C.value?.bodyStyle || {},
3798
+ ...j.value
3799
+ }
3769
3800
  }), {
3770
3801
  default: () => [n.default?.()]
3771
- }) : x ? o("div", {
3772
- style: D.value ? {
3773
- marginBlockStart: D.value
3774
- } : void 0
3775
- }, [n.default?.()]) : n.default?.()])]);
3776
- }, q = () => {
3802
+ }) : o("div", {
3803
+ class: C.value?.class,
3804
+ style: {
3805
+ ...C.value?.style || {},
3806
+ ...j.value
3807
+ }
3808
+ }, [n.default?.()])])]);
3809
+ }, te = () => {
3777
3810
  if (e.waterMarkProps !== !1 && r?.waterMarkProps?.value !== !1) {
3778
- let W;
3779
- return o(En, Ae(g.value), xt(W = ee()) ? W : {
3780
- default: () => [W]
3811
+ let $;
3812
+ return o(En, Ae(p.value), xt($ = D()) ? $ : {
3813
+ default: () => [$]
3781
3814
  });
3782
3815
  }
3783
- return ee();
3784
- }, $ = () => o(Y, null, [o("div", {
3785
- class: [m, _.value],
3816
+ return D();
3817
+ }, _ = () => o(G, null, [o("div", {
3818
+ class: [m, Y.value],
3786
3819
  style: {
3787
- width: y.value,
3788
- marginInline: y.value && "auto"
3820
+ width: N.value,
3821
+ marginInline: N.value && "auto"
3789
3822
  }
3790
3823
  }, [o("div", {
3791
- class: `${m}-children ${_.value}`,
3824
+ class: `${m}-children ${Y.value}`,
3792
3825
  style: s.value
3793
- }, [q()])])]);
3826
+ }, [te()])])]);
3794
3827
  return a({
3795
- changeContentFullScreen: (x) => {
3796
- r && (r.contentFullScreen.value = x);
3828
+ changeContentFullScreen: (b) => {
3829
+ r && (r.contentFullScreen.value = b);
3797
3830
  }
3798
3831
  }), () => {
3799
- const x = re({
3832
+ const b = ie({
3800
3833
  slots: n,
3801
3834
  props: e,
3802
3835
  key: "footer"
3803
- }), W = re({
3836
+ }), $ = ie({
3804
3837
  slots: n,
3805
3838
  props: e,
3806
3839
  key: "pageHeaderRender"
3807
- }) || r?.pageHeaderRender?.value, oe = re({
3840
+ }) || r?.pageHeaderRender?.value, J = ie({
3808
3841
  slots: n,
3809
3842
  props: e,
3810
3843
  key: "pageHeaderContentRender"
3811
- }), de = Te({
3844
+ }), ue = Be({
3812
3845
  slots: n,
3813
3846
  props: e,
3814
3847
  key: "breadcrumbRender"
3815
3848
  });
3816
- return V(o("div", {
3817
- class: O(r?.classNames?.value?.content, _.value, d, t.class),
3849
+ return E(o("div", {
3850
+ class: O(r?.classNames?.value?.content, Y.value, d, t.class),
3818
3851
  style: {
3819
3852
  ...t.style || {},
3820
3853
  ...r?.styles?.value?.content || {}
3821
3854
  }
3822
- }, [o(Y, null, [W !== !1 && X.value && (W || o(so, {
3855
+ }, [o(G, null, [$ !== !1 && V.value && ($ || o(uo, {
3823
3856
  style: S?.value,
3824
- breadcrumb: de,
3825
- content: oe,
3857
+ breadcrumb: ue,
3858
+ content: J,
3826
3859
  close: e.fullScreenOnTabsHide
3827
- }, null)), $()]), x && o(io, e.footerToolBarProps || {}, xt(x) ? x : {
3828
- default: () => [x]
3860
+ }, null)), _()]), b && o(ro, e.footerToolBarProps || {}, xt(b) ? b : {
3861
+ default: () => [b]
3829
3862
  })]));
3830
3863
  };
3831
3864
  }
3832
- }), fo = (e) => ({
3865
+ }), po = (e) => ({
3833
3866
  [e.componentCls]: {
3834
3867
  height: "100%",
3835
3868
  [`&${e.componentCls}-loading`]: {
@@ -3844,7 +3877,7 @@ const mo = {
3844
3877
  width: "100%",
3845
3878
  height: "100%",
3846
3879
  zIndex: 200,
3847
- backgroundColor: Rn(e.colorBgContainer, 0.5),
3880
+ backgroundColor: $n(e.colorBgContainer, 0.5),
3848
3881
  [`& > ${e.componentCls}-spin`]: {
3849
3882
  position: "absolute",
3850
3883
  top: "50%",
@@ -3863,10 +3896,10 @@ const mo = {
3863
3896
  }
3864
3897
  }
3865
3898
  });
3866
- function po(e) {
3867
- return Ie("PageLoading", (n) => [fo(n)], e);
3899
+ function go(e) {
3900
+ return Ce("PageLoading", (n) => [po(n)], e);
3868
3901
  }
3869
- const Ti = /* @__PURE__ */ G({
3902
+ const Fi = /* @__PURE__ */ X({
3870
3903
  name: "GProAppPage",
3871
3904
  props: {
3872
3905
  ...Kn,
@@ -3888,11 +3921,11 @@ const Ti = /* @__PURE__ */ G({
3888
3921
  }), {
3889
3922
  hashId: l,
3890
3923
  wrapSSR: i
3891
- } = po(a);
3892
- return qa({
3893
- spinning: b(() => e.spinning?.loading)
3924
+ } = go(a);
3925
+ return Za({
3926
+ spinning: v(() => e.spinning?.loading)
3894
3927
  }), () => {
3895
- const r = ge({
3928
+ const r = pe({
3896
3929
  slots: n,
3897
3930
  props: e,
3898
3931
  keys: Un,
@@ -3938,24 +3971,24 @@ const Ti = /* @__PURE__ */ G({
3938
3971
  }));
3939
3972
  };
3940
3973
  }
3941
- }), go = ["left", "right"], Me = ["left", "right", "down", "up"], ho = ["downBig", "upBig", "leftBig", "rightBig"], yo = ["topLeft", "bottomRight", "topRight", "bottomLeft"], bo = ["downLeft", "upRight", "downRight", "upLeft"], vo = {
3974
+ }), ho = ["left", "right"], Re = ["left", "right", "down", "up"], yo = ["downBig", "upBig", "leftBig", "rightBig"], bo = ["topLeft", "bottomRight", "topRight", "bottomLeft"], vo = ["downLeft", "upRight", "downRight", "upLeft"], Co = {
3942
3975
  preset: [
3943
3976
  // 预设动画配置
3944
- { name: "back", alias: "渐近", directions: Me },
3945
- { name: "bounce", alias: "弹跳", directions: Me.concat("default") },
3977
+ { name: "back", alias: "渐近", directions: Re },
3978
+ { name: "bounce", alias: "弹跳", directions: Re.concat("default") },
3946
3979
  {
3947
3980
  name: "fade",
3948
3981
  alias: "淡化",
3949
- directions: Me.concat(ho).concat(yo).concat("default")
3982
+ directions: Re.concat(yo).concat(bo).concat("default")
3950
3983
  },
3951
3984
  { name: "flip", alias: "翻转", directions: ["x", "y"] },
3952
- { name: "lightSpeed", alias: "光速", directions: go },
3953
- { name: "rotate", alias: "旋转", directions: bo.concat("default") },
3985
+ { name: "lightSpeed", alias: "光速", directions: ho },
3986
+ { name: "rotate", alias: "旋转", directions: vo.concat("default") },
3954
3987
  { name: "roll", alias: "翻滚", directions: ["default"] },
3955
- { name: "zoom", alias: "缩放", directions: Me.concat("default") },
3956
- { name: "slide", alias: "滑动", directions: Me }
3988
+ { name: "zoom", alias: "缩放", directions: Re.concat("default") },
3989
+ { name: "slide", alias: "滑动", directions: Re }
3957
3990
  ]
3958
- }, Co = new p("backInLeft", {
3991
+ }, xo = new h("backInLeft", {
3959
3992
  "0%": {
3960
3993
  opacity: 0.7,
3961
3994
  transform: "translateX(-2000px) scale(0.7)"
@@ -3968,7 +4001,7 @@ const Ti = /* @__PURE__ */ G({
3968
4001
  opacity: 1,
3969
4002
  transform: "scale(1)"
3970
4003
  }
3971
- }), xo = new p("backInRight", {
4004
+ }), Io = new h("backInRight", {
3972
4005
  "0%": {
3973
4006
  opacity: 0.7,
3974
4007
  transform: "translateX(2000px) scale(0.7)"
@@ -3981,7 +4014,7 @@ const Ti = /* @__PURE__ */ G({
3981
4014
  opacity: 1,
3982
4015
  transform: "scale(1)"
3983
4016
  }
3984
- }), Io = new p("backInUp", {
4017
+ }), So = new h("backInUp", {
3985
4018
  "0%": {
3986
4019
  opacity: 0.7,
3987
4020
  transform: "translateY(1200px) scale(0.7)"
@@ -3994,7 +4027,7 @@ const Ti = /* @__PURE__ */ G({
3994
4027
  opacity: 1,
3995
4028
  transform: "scale(1)"
3996
4029
  }
3997
- }), So = new p("backInDown", {
4030
+ }), $o = new h("backInDown", {
3998
4031
  "0%": {
3999
4032
  opacity: 0.7,
4000
4033
  transform: "translateY(-1200px) scale(0.7)"
@@ -4007,7 +4040,7 @@ const Ti = /* @__PURE__ */ G({
4007
4040
  opacity: 1,
4008
4041
  transform: "scale(1)"
4009
4042
  }
4010
- }), Ro = new p("backOutLeft", {
4043
+ }), Ro = new h("backOutLeft", {
4011
4044
  "0%": {
4012
4045
  opacity: 1,
4013
4046
  transform: "scale(1)"
@@ -4020,7 +4053,7 @@ const Ti = /* @__PURE__ */ G({
4020
4053
  opacity: 0.7,
4021
4054
  transform: "translateX(-2000px) scale(0.7)"
4022
4055
  }
4023
- }), $o = new p("backOutRight", {
4056
+ }), wo = new h("backOutRight", {
4024
4057
  "0%": {
4025
4058
  opacity: 1,
4026
4059
  transform: "scale(1)"
@@ -4033,7 +4066,7 @@ const Ti = /* @__PURE__ */ G({
4033
4066
  opacity: 0.7,
4034
4067
  transform: "translateX(2000px) scale(0.7)"
4035
4068
  }
4036
- }), wo = new p("backOutUp", {
4069
+ }), Mo = new h("backOutUp", {
4037
4070
  "0%": {
4038
4071
  opacity: 1,
4039
4072
  transform: "scale(1)"
@@ -4046,7 +4079,7 @@ const Ti = /* @__PURE__ */ G({
4046
4079
  opacity: 0.7,
4047
4080
  transform: "translateY(-700px) scale(0.7)"
4048
4081
  }
4049
- }), Mo = new p("backOutDown", {
4082
+ }), Oo = new h("backOutDown", {
4050
4083
  "0%": {
4051
4084
  opacity: 1,
4052
4085
  transform: "scale(1)"
@@ -4059,41 +4092,41 @@ const Ti = /* @__PURE__ */ G({
4059
4092
  opacity: 0.7,
4060
4093
  transform: "translateY(700px) scale(0.7)"
4061
4094
  }
4062
- }), Oo = () => ({
4095
+ }), Bo = () => ({
4063
4096
  "&.backInLeft": {
4064
4097
  animationFillMode: "both",
4065
- animationName: Co
4098
+ animationName: xo
4066
4099
  },
4067
4100
  "&.backInRight": {
4068
4101
  animationFillMode: "both",
4069
- animationName: xo
4102
+ animationName: Io
4070
4103
  },
4071
4104
  "&.backInUp": {
4072
4105
  animationFillMode: "both",
4073
- animationName: Io
4106
+ animationName: So
4074
4107
  },
4075
4108
  "&.backInDown": {
4076
4109
  animationFillMode: "both",
4077
- animationName: So
4110
+ animationName: $o
4078
4111
  }
4079
- }), Bo = () => ({
4112
+ }), Po = () => ({
4080
4113
  "&.backOutLeft": {
4081
4114
  animationFillMode: "both",
4082
4115
  animationName: Ro
4083
4116
  },
4084
4117
  "&.backOutRight": {
4085
4118
  animationFillMode: "both",
4086
- animationName: $o
4119
+ animationName: wo
4087
4120
  },
4088
4121
  "&.backOutUp": {
4089
4122
  animationFillMode: "both",
4090
- animationName: wo
4123
+ animationName: Mo
4091
4124
  },
4092
4125
  "&.backOutDown": {
4093
4126
  animationFillMode: "both",
4094
- animationName: Mo
4127
+ animationName: Oo
4095
4128
  }
4096
- }), Po = new p("bounceIn", {
4129
+ }), To = new h("bounceIn", {
4097
4130
  "from,20%,40%,60%,80%,to": {
4098
4131
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
4099
4132
  },
@@ -4117,7 +4150,7 @@ const Ti = /* @__PURE__ */ G({
4117
4150
  opacity: 1,
4118
4151
  transform: "scale3d(1, 1, 1)"
4119
4152
  }
4120
- }), To = new p("bounceInLeft", {
4153
+ }), Fo = new h("bounceInLeft", {
4121
4154
  "from,60%,75%,90%,to": {
4122
4155
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
4123
4156
  },
@@ -4138,7 +4171,7 @@ const Ti = /* @__PURE__ */ G({
4138
4171
  to: {
4139
4172
  transform: "translate3d(0, 0, 0)"
4140
4173
  }
4141
- }), Fo = new p("bounceInRight", {
4174
+ }), Lo = new h("bounceInRight", {
4142
4175
  "from,60%,75%,90%,to": {
4143
4176
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
4144
4177
  },
@@ -4159,7 +4192,7 @@ const Ti = /* @__PURE__ */ G({
4159
4192
  to: {
4160
4193
  transform: "translate3d(0, 0, 0)"
4161
4194
  }
4162
- }), Lo = new p("bounceInDown", {
4195
+ }), No = new h("bounceInDown", {
4163
4196
  "from,60%,75%,90%,to": {
4164
4197
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
4165
4198
  },
@@ -4180,7 +4213,7 @@ const Ti = /* @__PURE__ */ G({
4180
4213
  to: {
4181
4214
  transform: "translate3d(0, 0, 0)"
4182
4215
  }
4183
- }), No = new p("bounceInUp", {
4216
+ }), Ho = new h("bounceInUp", {
4184
4217
  "from,60%,75%,90%,to": {
4185
4218
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
4186
4219
  },
@@ -4201,7 +4234,7 @@ const Ti = /* @__PURE__ */ G({
4201
4234
  to: {
4202
4235
  transform: "translate3d(0, 0, 0)"
4203
4236
  }
4204
- }), Ho = new p("bounceOut", {
4237
+ }), Do = new h("bounceOut", {
4205
4238
  "20%": {
4206
4239
  transform: "scale3d(0.9, 0.9, 0.9)"
4207
4240
  },
@@ -4215,7 +4248,7 @@ const Ti = /* @__PURE__ */ G({
4215
4248
  opacity: 0,
4216
4249
  transform: "scale3d(0.3, 0.3, 0.3)"
4217
4250
  }
4218
- }), Do = new p("bounceOutLeft", {
4251
+ }), zo = new h("bounceOutLeft", {
4219
4252
  "20%": {
4220
4253
  opacity: 1,
4221
4254
  transform: "translate3d(20px, 0, 0) scaleX(0.9)"
@@ -4224,7 +4257,7 @@ const Ti = /* @__PURE__ */ G({
4224
4257
  opacity: 0,
4225
4258
  transform: "translate3d(-2000px, 0, 0) scaleX(2)"
4226
4259
  }
4227
- }), zo = new p("bounceOutRight", {
4260
+ }), Wo = new h("bounceOutRight", {
4228
4261
  "20%": {
4229
4262
  opacity: 1,
4230
4263
  transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
@@ -4233,7 +4266,7 @@ const Ti = /* @__PURE__ */ G({
4233
4266
  opacity: 0,
4234
4267
  transform: "translate3d(2000px, 0, 0) scaleX(2)"
4235
4268
  }
4236
- }), Wo = new p("bounceOutDown", {
4269
+ }), jo = new h("bounceOutDown", {
4237
4270
  "20%": {
4238
4271
  transform: "translate3d(0, 10px, 0) scaleY(0.985)"
4239
4272
  },
@@ -4245,7 +4278,7 @@ const Ti = /* @__PURE__ */ G({
4245
4278
  opacity: 0,
4246
4279
  transform: "translate3d(0, 2000px, 0) scaleY(3)"
4247
4280
  }
4248
- }), jo = new p("bounceOutUp", {
4281
+ }), Ao = new h("bounceOutUp", {
4249
4282
  "20%": {
4250
4283
  transform: "translate3d(0, -10px, 0) scaleY(0.985)"
4251
4284
  },
@@ -4257,58 +4290,58 @@ const Ti = /* @__PURE__ */ G({
4257
4290
  opacity: 0,
4258
4291
  transform: "translate3d(0, -2000px, 0) scaleY(3)"
4259
4292
  }
4260
- }), Ao = () => ({
4293
+ }), Ko = () => ({
4261
4294
  "&.bounceIn": {
4262
4295
  animationFillMode: "both",
4263
4296
  animationDuration: `${0.3 * 0.75}s !important`,
4264
- animationName: Po
4297
+ animationName: To
4265
4298
  },
4266
4299
  "&.bounceInLeft": {
4267
4300
  animationFillMode: "both",
4268
- animationName: To
4301
+ animationName: Fo
4269
4302
  },
4270
4303
  "&.bounceInRight": {
4271
4304
  animationFillMode: "both",
4272
- animationName: Fo
4305
+ animationName: Lo
4273
4306
  },
4274
4307
  "&.bounceInDown": {
4275
4308
  animationFillMode: "both",
4276
- animationName: Lo
4309
+ animationName: No
4277
4310
  },
4278
4311
  "&.bounceInUp": {
4279
4312
  animationFillMode: "both",
4280
- animationName: No
4313
+ animationName: Ho
4281
4314
  }
4282
- }), Ko = () => ({
4315
+ }), Uo = () => ({
4283
4316
  "&.bounceOut": {
4284
4317
  animationFillMode: "both",
4285
4318
  animationDuration: `${0.3 * 0.75}s !important`,
4286
- animationName: Ho
4319
+ animationName: Do
4287
4320
  },
4288
4321
  "&.bounceOutLeft": {
4289
4322
  animationFillMode: "both",
4290
- animationName: Do
4323
+ animationName: zo
4291
4324
  },
4292
4325
  "&.bounceOutRight": {
4293
4326
  animationFillMode: "both",
4294
- animationName: zo
4327
+ animationName: Wo
4295
4328
  },
4296
4329
  "&.bounceOutDown": {
4297
4330
  animationFillMode: "both",
4298
- animationName: Wo
4331
+ animationName: jo
4299
4332
  },
4300
4333
  "&.bounceOutUp": {
4301
4334
  animationFillMode: "both",
4302
- animationName: jo
4335
+ animationName: Ao
4303
4336
  }
4304
- }), Uo = new p("fadeIn", {
4337
+ }), ko = new h("fadeIn", {
4305
4338
  from: {
4306
4339
  opacity: 0
4307
4340
  },
4308
4341
  to: {
4309
4342
  opacity: 1
4310
4343
  }
4311
- }), ko = new p("fadeInLeft", {
4344
+ }), Eo = new h("fadeInLeft", {
4312
4345
  from: {
4313
4346
  opacity: 0,
4314
4347
  transform: "translate3d(-100%, 0, 0)"
@@ -4317,7 +4350,7 @@ const Ti = /* @__PURE__ */ G({
4317
4350
  opacity: 1,
4318
4351
  transform: "translate3d(0, 0, 0)"
4319
4352
  }
4320
- }), Eo = new p("fadeInRight", {
4353
+ }), Xo = new h("fadeInRight", {
4321
4354
  from: {
4322
4355
  opacity: 0,
4323
4356
  transform: "translate3d(100%, 0, 0)"
@@ -4326,7 +4359,7 @@ const Ti = /* @__PURE__ */ G({
4326
4359
  opacity: 1,
4327
4360
  transform: "translate3d(0, 0, 0)"
4328
4361
  }
4329
- }), Xo = new p("fadeInDown", {
4362
+ }), Vo = new h("fadeInDown", {
4330
4363
  from: {
4331
4364
  opacity: 0,
4332
4365
  transform: "translate3d(0, -100%, 0)"
@@ -4335,7 +4368,7 @@ const Ti = /* @__PURE__ */ G({
4335
4368
  opacity: 1,
4336
4369
  transform: "translate3d(0, 0, 0)"
4337
4370
  }
4338
- }), Vo = new p("fadeInUp", {
4371
+ }), Go = new h("fadeInUp", {
4339
4372
  from: {
4340
4373
  opacity: 0,
4341
4374
  transform: "translate3d(0, 100%, 0)"
@@ -4344,7 +4377,7 @@ const Ti = /* @__PURE__ */ G({
4344
4377
  opacity: 1,
4345
4378
  transform: "translate3d(0, 0, 0)"
4346
4379
  }
4347
- }), Go = new p("fadeInDownBig", {
4380
+ }), Yo = new h("fadeInDownBig", {
4348
4381
  from: {
4349
4382
  opacity: 0,
4350
4383
  transform: "translate3d(0, -2000px, 0)"
@@ -4353,7 +4386,7 @@ const Ti = /* @__PURE__ */ G({
4353
4386
  opacity: 1,
4354
4387
  transform: "translate3d(0, 0, 0)"
4355
4388
  }
4356
- }), Yo = new p("fadeInUpBig", {
4389
+ }), _o = new h("fadeInUpBig", {
4357
4390
  from: {
4358
4391
  opacity: 0,
4359
4392
  transform: "translate3d(0, 2000px, 0)"
@@ -4362,7 +4395,7 @@ const Ti = /* @__PURE__ */ G({
4362
4395
  opacity: 1,
4363
4396
  transform: "translate3d(0, 0, 0)"
4364
4397
  }
4365
- }), _o = new p("fadeInLeftBig", {
4398
+ }), qo = new h("fadeInLeftBig", {
4366
4399
  from: {
4367
4400
  opacity: 0,
4368
4401
  transform: "translate3d(-2000px, 0, 0)"
@@ -4371,7 +4404,7 @@ const Ti = /* @__PURE__ */ G({
4371
4404
  opacity: 1,
4372
4405
  transform: "translate3d(0, 0, 0)"
4373
4406
  }
4374
- }), qo = new p("fadeInRightBig", {
4407
+ }), Zo = new h("fadeInRightBig", {
4375
4408
  from: {
4376
4409
  opacity: 0,
4377
4410
  transform: "translate3d(2000px, 0, 0)"
@@ -4380,7 +4413,7 @@ const Ti = /* @__PURE__ */ G({
4380
4413
  opacity: 1,
4381
4414
  transform: "translate3d(0, 0, 0)"
4382
4415
  }
4383
- }), Zo = new p("fadeInTopLeft", {
4416
+ }), Qo = new h("fadeInTopLeft", {
4384
4417
  from: {
4385
4418
  opacity: 0,
4386
4419
  transform: "translate3d(-100%, -100%, 0)"
@@ -4389,7 +4422,7 @@ const Ti = /* @__PURE__ */ G({
4389
4422
  opacity: 1,
4390
4423
  transform: "translate3d(0, 0, 0)"
4391
4424
  }
4392
- }), Qo = new p("fadeInBottomRight", {
4425
+ }), Jo = new h("fadeInBottomRight", {
4393
4426
  from: {
4394
4427
  opacity: 0,
4395
4428
  transform: "translate3d(100%, 100%, 0)"
@@ -4398,7 +4431,7 @@ const Ti = /* @__PURE__ */ G({
4398
4431
  opacity: 1,
4399
4432
  transform: "translate3d(0, 0, 0)"
4400
4433
  }
4401
- }), Jo = new p("fadeInTopRight", {
4434
+ }), el = new h("fadeInTopRight", {
4402
4435
  from: {
4403
4436
  opacity: 0,
4404
4437
  transform: "translate3d(100%, -100%, 0)"
@@ -4407,7 +4440,7 @@ const Ti = /* @__PURE__ */ G({
4407
4440
  opacity: 1,
4408
4441
  transform: "translate3d(0, 0, 0)"
4409
4442
  }
4410
- }), el = new p("fadeInBottomLeft", {
4443
+ }), tl = new h("fadeInBottomLeft", {
4411
4444
  from: {
4412
4445
  opacity: 0,
4413
4446
  transform: "translate3d(-100%, 100%, 0)"
@@ -4416,14 +4449,14 @@ const Ti = /* @__PURE__ */ G({
4416
4449
  opacity: 1,
4417
4450
  transform: "translate3d(0, 0, 0)"
4418
4451
  }
4419
- }), tl = new p("fadeOut", {
4452
+ }), nl = new h("fadeOut", {
4420
4453
  from: {
4421
4454
  opacity: 1
4422
4455
  },
4423
4456
  to: {
4424
4457
  opacity: 0
4425
4458
  }
4426
- }), nl = new p("fadeOutLeft", {
4459
+ }), al = new h("fadeOutLeft", {
4427
4460
  from: {
4428
4461
  opacity: 1
4429
4462
  },
@@ -4431,7 +4464,7 @@ const Ti = /* @__PURE__ */ G({
4431
4464
  opacity: 0,
4432
4465
  transform: "translate3d(-100%, 0, 0)"
4433
4466
  }
4434
- }), al = new p("fadeOutRight", {
4467
+ }), ol = new h("fadeOutRight", {
4435
4468
  from: {
4436
4469
  opacity: 1
4437
4470
  },
@@ -4439,7 +4472,7 @@ const Ti = /* @__PURE__ */ G({
4439
4472
  opacity: 0,
4440
4473
  transform: "translate3d(100%, 0, 0)"
4441
4474
  }
4442
- }), ol = new p("fadeOutDown", {
4475
+ }), ll = new h("fadeOutDown", {
4443
4476
  from: {
4444
4477
  opacity: 1
4445
4478
  },
@@ -4447,7 +4480,7 @@ const Ti = /* @__PURE__ */ G({
4447
4480
  opacity: 0,
4448
4481
  transform: "translate3d(0, 100%, 0)"
4449
4482
  }
4450
- }), ll = new p("fadeOutUp", {
4483
+ }), il = new h("fadeOutUp", {
4451
4484
  from: {
4452
4485
  opacity: 1
4453
4486
  },
@@ -4455,7 +4488,7 @@ const Ti = /* @__PURE__ */ G({
4455
4488
  opacity: 0,
4456
4489
  transform: "translate3d(0, -100%, 0)"
4457
4490
  }
4458
- }), il = new p("fadeOutDownBig", {
4491
+ }), rl = new h("fadeOutDownBig", {
4459
4492
  from: {
4460
4493
  opacity: 1
4461
4494
  },
@@ -4463,7 +4496,7 @@ const Ti = /* @__PURE__ */ G({
4463
4496
  opacity: 0,
4464
4497
  transform: "translate3d(0, 2000px, 0)"
4465
4498
  }
4466
- }), rl = new p("fadeOutUpBig", {
4499
+ }), sl = new h("fadeOutUpBig", {
4467
4500
  from: {
4468
4501
  opacity: 1
4469
4502
  },
@@ -4471,7 +4504,7 @@ const Ti = /* @__PURE__ */ G({
4471
4504
  opacity: 0,
4472
4505
  transform: "translate3d(0, -2000px, 0)"
4473
4506
  }
4474
- }), sl = new p("fadeOutLeftBig", {
4507
+ }), ul = new h("fadeOutLeftBig", {
4475
4508
  from: {
4476
4509
  opacity: 1
4477
4510
  },
@@ -4479,7 +4512,7 @@ const Ti = /* @__PURE__ */ G({
4479
4512
  opacity: 0,
4480
4513
  transform: "translate3d(-2000px, 0, 0)"
4481
4514
  }
4482
- }), ul = new p("fadeOutRightBig", {
4515
+ }), cl = new h("fadeOutRightBig", {
4483
4516
  from: {
4484
4517
  opacity: 1
4485
4518
  },
@@ -4487,7 +4520,7 @@ const Ti = /* @__PURE__ */ G({
4487
4520
  opacity: 0,
4488
4521
  transform: "translate3d(2000px, 0, 0)"
4489
4522
  }
4490
- }), cl = new p("fadeOutTopLeft", {
4523
+ }), dl = new h("fadeOutTopLeft", {
4491
4524
  from: {
4492
4525
  opacity: 1,
4493
4526
  transform: "translate3d(0, 0, 0)"
@@ -4496,7 +4529,7 @@ const Ti = /* @__PURE__ */ G({
4496
4529
  opacity: 0,
4497
4530
  transform: "translate3d(-100%, -100%, 0)"
4498
4531
  }
4499
- }), dl = new p("fadeOutBottomRight", {
4532
+ }), ml = new h("fadeOutBottomRight", {
4500
4533
  from: {
4501
4534
  opacity: 1,
4502
4535
  transform: "translate3d(0, 0, 0)"
@@ -4505,7 +4538,7 @@ const Ti = /* @__PURE__ */ G({
4505
4538
  opacity: 0,
4506
4539
  transform: "translate3d(100%, 100%, 0)"
4507
4540
  }
4508
- }), ml = new p("fadeOutTopRight", {
4541
+ }), fl = new h("fadeOutTopRight", {
4509
4542
  from: {
4510
4543
  opacity: 1,
4511
4544
  transform: "translate3d(0, 0, 0)"
@@ -4514,7 +4547,7 @@ const Ti = /* @__PURE__ */ G({
4514
4547
  opacity: 0,
4515
4548
  transform: "translate3d(100%, -100%, 0)"
4516
4549
  }
4517
- }), fl = new p("fadeOutBottomLeft", {
4550
+ }), pl = new h("fadeOutBottomLeft", {
4518
4551
  from: {
4519
4552
  opacity: 1,
4520
4553
  transform: "translate3d(0, 0, 0)"
@@ -4523,113 +4556,113 @@ const Ti = /* @__PURE__ */ G({
4523
4556
  opacity: 0,
4524
4557
  transform: "translate3d(-100%, 100%, 0)"
4525
4558
  }
4526
- }), pl = () => ({
4559
+ }), gl = () => ({
4527
4560
  "&.fadeIn": {
4528
4561
  animationFillMode: "both",
4529
- animationName: Uo
4562
+ animationName: ko
4530
4563
  },
4531
4564
  "&.fadeInLeft": {
4532
4565
  animationFillMode: "both",
4533
- animationName: ko
4566
+ animationName: Eo
4534
4567
  },
4535
4568
  "&.fadeInRight": {
4536
4569
  animationFillMode: "both",
4537
- animationName: Eo
4570
+ animationName: Xo
4538
4571
  },
4539
4572
  "&.fadeInDown": {
4540
4573
  animationFillMode: "both",
4541
- animationName: Xo
4574
+ animationName: Vo
4542
4575
  },
4543
4576
  "&.fadeInUp": {
4544
4577
  animationFillMode: "both",
4545
- animationName: Vo
4578
+ animationName: Go
4546
4579
  },
4547
4580
  "&.fadeInLeftBig": {
4548
4581
  animationFillMode: "both",
4549
- animationName: _o
4582
+ animationName: qo
4550
4583
  },
4551
4584
  "&.fadeInRightBig": {
4552
4585
  animationFillMode: "both",
4553
- animationName: qo
4586
+ animationName: Zo
4554
4587
  },
4555
4588
  "&.fadeInUpBig": {
4556
4589
  animationFillMode: "both",
4557
- animationName: Yo
4590
+ animationName: _o
4558
4591
  },
4559
4592
  "&.fadeInDownBig": {
4560
4593
  animationFillMode: "both",
4561
- animationName: Go
4594
+ animationName: Yo
4562
4595
  },
4563
4596
  "&.fadeInTopLeft": {
4564
4597
  animationFillMode: "both",
4565
- animationName: Zo
4598
+ animationName: Qo
4566
4599
  },
4567
4600
  "&.fadeInBottomRight": {
4568
4601
  animationFillMode: "both",
4569
- animationName: Qo
4602
+ animationName: Jo
4570
4603
  },
4571
4604
  "&.fadeInTopRight": {
4572
4605
  animationFillMode: "both",
4573
- animationName: Jo
4606
+ animationName: el
4574
4607
  },
4575
4608
  "&.fadeInBottomLeft": {
4576
4609
  animationFillMode: "both",
4577
- animationName: el
4610
+ animationName: tl
4578
4611
  }
4579
- }), gl = () => ({
4612
+ }), hl = () => ({
4580
4613
  "&.fadeOut": {
4581
4614
  animationFillMode: "both",
4582
- animationName: tl
4615
+ animationName: nl
4583
4616
  },
4584
4617
  "&.fadeOutLeft": {
4585
4618
  animationFillMode: "both",
4586
- animationName: nl
4619
+ animationName: al
4587
4620
  },
4588
4621
  "&.fadeOutRight": {
4589
4622
  animationFillMode: "both",
4590
- animationName: al
4623
+ animationName: ol
4591
4624
  },
4592
4625
  "&.fadeOutDown": {
4593
4626
  animationFillMode: "both",
4594
- animationName: ol
4627
+ animationName: ll
4595
4628
  },
4596
4629
  "&.fadeOutUp": {
4597
4630
  animationFillMode: "both",
4598
- animationName: ll
4631
+ animationName: il
4599
4632
  },
4600
4633
  "&.fadeOutDownBig": {
4601
4634
  animationFillMode: "both",
4602
- animationName: il
4635
+ animationName: rl
4603
4636
  },
4604
4637
  "&.fadeOutUpBig": {
4605
4638
  animationFillMode: "both",
4606
- animationName: rl
4639
+ animationName: sl
4607
4640
  },
4608
4641
  "&.fadeOutLeftBig": {
4609
4642
  animationFillMode: "both",
4610
- animationName: sl
4643
+ animationName: ul
4611
4644
  },
4612
4645
  "&.fadeOutRightBig": {
4613
4646
  animationFillMode: "both",
4614
- animationName: ul
4647
+ animationName: cl
4615
4648
  },
4616
4649
  "&.fadeOutTopLeft": {
4617
4650
  animationFillMode: "both",
4618
- animationName: cl
4651
+ animationName: dl
4619
4652
  },
4620
4653
  "&.fadeOutBottomRight": {
4621
4654
  animationFillMode: "both",
4622
- animationName: dl
4655
+ animationName: ml
4623
4656
  },
4624
4657
  "&.fadeOutTopRight": {
4625
4658
  animationFillMode: "both",
4626
- animationName: ml
4659
+ animationName: fl
4627
4660
  },
4628
4661
  "&.fadeOutBottomLeft": {
4629
4662
  animationFillMode: "both",
4630
- animationName: fl
4663
+ animationName: pl
4631
4664
  }
4632
- }), hl = new p("flipInX", {
4665
+ }), yl = new h("flipInX", {
4633
4666
  from: {
4634
4667
  opacity: 0,
4635
4668
  animationTimingFunction: "ease-in",
@@ -4649,7 +4682,7 @@ const Ti = /* @__PURE__ */ G({
4649
4682
  to: {
4650
4683
  transform: "perspective(400px)"
4651
4684
  }
4652
- }), yl = new p("flipInY", {
4685
+ }), bl = new h("flipInY", {
4653
4686
  from: {
4654
4687
  opacity: 0,
4655
4688
  animationTimingFunction: "ease-in",
@@ -4669,7 +4702,7 @@ const Ti = /* @__PURE__ */ G({
4669
4702
  to: {
4670
4703
  transform: "perspective(400px)"
4671
4704
  }
4672
- }), bl = new p("flipOutX", {
4705
+ }), vl = new h("flipOutX", {
4673
4706
  from: {
4674
4707
  transform: "perspective(400px)"
4675
4708
  },
@@ -4681,7 +4714,7 @@ const Ti = /* @__PURE__ */ G({
4681
4714
  opacity: 0,
4682
4715
  transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
4683
4716
  }
4684
- }), vl = new p("flipOutY", {
4717
+ }), Cl = new h("flipOutY", {
4685
4718
  from: {
4686
4719
  transform: "perspective(400px)"
4687
4720
  },
@@ -4693,31 +4726,31 @@ const Ti = /* @__PURE__ */ G({
4693
4726
  opacity: 0,
4694
4727
  transform: "perspective(400px) rotate3d(0, 1, 0, 90deg)"
4695
4728
  }
4696
- }), Cl = () => ({
4729
+ }), xl = () => ({
4697
4730
  "&.flipInX": {
4698
4731
  animationFillMode: "both",
4699
4732
  backfaceVisibility: "visible !important",
4700
- animationName: hl
4733
+ animationName: yl
4701
4734
  },
4702
4735
  "&.flipInY": {
4703
4736
  animationFillMode: "both",
4704
4737
  backfaceVisibility: "visible !important",
4705
- animationName: yl
4738
+ animationName: bl
4706
4739
  }
4707
- }), xl = () => ({
4740
+ }), Il = () => ({
4708
4741
  "&.flipOutX": {
4709
4742
  animationFillMode: "both",
4710
4743
  backfaceVisibility: "visible !important",
4711
4744
  animationDuration: `${0.3 * 0.75}s !important`,
4712
- animationName: bl
4745
+ animationName: vl
4713
4746
  },
4714
4747
  "&.flipOutY": {
4715
4748
  animationFillMode: "both",
4716
4749
  backfaceVisibility: "visible !important",
4717
4750
  animationDuration: `${0.3 * 0.75}s !important`,
4718
- animationName: vl
4751
+ animationName: Cl
4719
4752
  }
4720
- }), Il = new p("lightSpeedInLeft", {
4753
+ }), Sl = new h("lightSpeedInLeft", {
4721
4754
  from: {
4722
4755
  opacity: 0,
4723
4756
  transform: "translate3d(-100%, 0, 0) skewX(30deg)"
@@ -4732,7 +4765,7 @@ const Ti = /* @__PURE__ */ G({
4732
4765
  to: {
4733
4766
  transform: "translate3d(0, 0, 0)"
4734
4767
  }
4735
- }), Sl = new p("lightSpeedInRight", {
4768
+ }), $l = new h("lightSpeedInRight", {
4736
4769
  from: {
4737
4770
  opacity: 0,
4738
4771
  transform: "translate3d(100%, 0, 0) skewX(-30deg)"
@@ -4747,7 +4780,7 @@ const Ti = /* @__PURE__ */ G({
4747
4780
  to: {
4748
4781
  transform: "translate3d(0, 0, 0)"
4749
4782
  }
4750
- }), Rl = new p("lightSpeedOutLeft", {
4783
+ }), Rl = new h("lightSpeedOutLeft", {
4751
4784
  from: {
4752
4785
  opacity: 1
4753
4786
  },
@@ -4755,7 +4788,7 @@ const Ti = /* @__PURE__ */ G({
4755
4788
  opacity: 0,
4756
4789
  transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
4757
4790
  }
4758
- }), $l = new p("lightSpeedOutRight", {
4791
+ }), wl = new h("lightSpeedOutRight", {
4759
4792
  from: {
4760
4793
  opacity: 1
4761
4794
  },
@@ -4763,18 +4796,18 @@ const Ti = /* @__PURE__ */ G({
4763
4796
  opacity: 0,
4764
4797
  transform: "translate3d(100%, 0, 0) skewX(30deg)"
4765
4798
  }
4766
- }), wl = () => ({
4799
+ }), Ml = () => ({
4767
4800
  "&.lightSpeedInLeft": {
4768
4801
  animationFillMode: "both",
4769
4802
  animationTimingFunction: "ease-out",
4770
- animationName: Il
4803
+ animationName: Sl
4771
4804
  },
4772
4805
  "&.lightSpeedInRight": {
4773
4806
  animationFillMode: "both",
4774
4807
  animationTimingFunction: "ease-out",
4775
- animationName: Sl
4808
+ animationName: $l
4776
4809
  }
4777
- }), Ml = () => ({
4810
+ }), Ol = () => ({
4778
4811
  "&.lightSpeedOutLeft": {
4779
4812
  animationFillMode: "both",
4780
4813
  animationTimingFunction: "ease-in",
@@ -4783,9 +4816,9 @@ const Ti = /* @__PURE__ */ G({
4783
4816
  "&.lightSpeedOutRight": {
4784
4817
  animationFillMode: "both",
4785
4818
  animationTimingFunction: "ease-in",
4786
- animationName: $l
4819
+ animationName: wl
4787
4820
  }
4788
- }), Ol = new p("rollIn", {
4821
+ }), Bl = new h("rollIn", {
4789
4822
  from: {
4790
4823
  opacity: 0,
4791
4824
  transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
@@ -4794,7 +4827,7 @@ const Ti = /* @__PURE__ */ G({
4794
4827
  opacity: 1,
4795
4828
  transform: "translate3d(0, 0, 0)"
4796
4829
  }
4797
- }), Bl = new p("rollOut", {
4830
+ }), Pl = new h("rollOut", {
4798
4831
  from: {
4799
4832
  opacity: 1
4800
4833
  },
@@ -4802,17 +4835,17 @@ const Ti = /* @__PURE__ */ G({
4802
4835
  opacity: 0,
4803
4836
  transform: "translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"
4804
4837
  }
4805
- }), Pl = () => ({
4838
+ }), Tl = () => ({
4806
4839
  "&.rollIn": {
4807
4840
  animationFillMode: "both",
4808
- animationName: Ol
4841
+ animationName: Bl
4809
4842
  }
4810
- }), Tl = () => ({
4843
+ }), Fl = () => ({
4811
4844
  "&.rollOut": {
4812
4845
  animationFillMode: "both",
4813
- animationName: Bl
4846
+ animationName: Pl
4814
4847
  }
4815
- }), Fl = new p("rotateIn", {
4848
+ }), Ll = new h("rotateIn", {
4816
4849
  from: {
4817
4850
  opacity: 0,
4818
4851
  transform: "rotate3d(0, 0, 1, -200deg)"
@@ -4821,7 +4854,7 @@ const Ti = /* @__PURE__ */ G({
4821
4854
  opacity: 1,
4822
4855
  transform: "translate3d(0, 0, 0)"
4823
4856
  }
4824
- }), Ll = new p("rotateInDownLeft", {
4857
+ }), Nl = new h("rotateInDownLeft", {
4825
4858
  from: {
4826
4859
  opacity: 0,
4827
4860
  transform: "rotate3d(0, 0, 1, -45deg)"
@@ -4830,7 +4863,7 @@ const Ti = /* @__PURE__ */ G({
4830
4863
  opacity: 1,
4831
4864
  transform: "translate3d(0, 0, 0)"
4832
4865
  }
4833
- }), Nl = new p("rotateInDownRight", {
4866
+ }), Hl = new h("rotateInDownRight", {
4834
4867
  from: {
4835
4868
  opacity: 0,
4836
4869
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -4839,7 +4872,7 @@ const Ti = /* @__PURE__ */ G({
4839
4872
  opacity: 1,
4840
4873
  transform: "translate3d(0, 0, 0)"
4841
4874
  }
4842
- }), Hl = new p("rotateInUpLeft", {
4875
+ }), Dl = new h("rotateInUpLeft", {
4843
4876
  from: {
4844
4877
  opacity: 0,
4845
4878
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -4848,7 +4881,7 @@ const Ti = /* @__PURE__ */ G({
4848
4881
  opacity: 1,
4849
4882
  transform: "translate3d(0, 0, 0)"
4850
4883
  }
4851
- }), Dl = new p("rotateInUpRight", {
4884
+ }), zl = new h("rotateInUpRight", {
4852
4885
  from: {
4853
4886
  opacity: 0,
4854
4887
  transform: "rotate3d(0, 0, 1, -90deg)"
@@ -4857,7 +4890,7 @@ const Ti = /* @__PURE__ */ G({
4857
4890
  opacity: 1,
4858
4891
  transform: "translate3d(0, 0, 0)"
4859
4892
  }
4860
- }), zl = new p("rotateOut", {
4893
+ }), Wl = new h("rotateOut", {
4861
4894
  from: {
4862
4895
  opacity: 1
4863
4896
  },
@@ -4865,7 +4898,7 @@ const Ti = /* @__PURE__ */ G({
4865
4898
  opacity: 0,
4866
4899
  transform: "rotate3d(0, 0, 1, 200deg)"
4867
4900
  }
4868
- }), Wl = new p("rotateOutDownLeft", {
4901
+ }), jl = new h("rotateOutDownLeft", {
4869
4902
  from: {
4870
4903
  opacity: 1
4871
4904
  },
@@ -4873,7 +4906,7 @@ const Ti = /* @__PURE__ */ G({
4873
4906
  opacity: 0,
4874
4907
  transform: "rotate3d(0, 0, 1, 45deg)"
4875
4908
  }
4876
- }), jl = new p("rotateOutDownRight", {
4909
+ }), Al = new h("rotateOutDownRight", {
4877
4910
  from: {
4878
4911
  opacity: 1
4879
4912
  },
@@ -4881,7 +4914,7 @@ const Ti = /* @__PURE__ */ G({
4881
4914
  opacity: 0,
4882
4915
  transform: "rotate3d(0, 0, 1, -45deg)"
4883
4916
  }
4884
- }), Al = new p("rotateOutUpLeft", {
4917
+ }), Kl = new h("rotateOutUpLeft", {
4885
4918
  from: {
4886
4919
  opacity: 1
4887
4920
  },
@@ -4889,7 +4922,7 @@ const Ti = /* @__PURE__ */ G({
4889
4922
  opacity: 0,
4890
4923
  transform: "rotate3d(0, 0, 1, -45deg)"
4891
4924
  }
4892
- }), Kl = new p("rotateOutUpRight", {
4925
+ }), Ul = new h("rotateOutUpRight", {
4893
4926
  from: {
4894
4927
  opacity: 1
4895
4928
  },
@@ -4897,59 +4930,59 @@ const Ti = /* @__PURE__ */ G({
4897
4930
  opacity: 0,
4898
4931
  transform: "rotate3d(0, 0, 1, 90deg)"
4899
4932
  }
4900
- }), Ul = () => ({
4933
+ }), kl = () => ({
4901
4934
  "&.rotateIn": {
4902
4935
  animationFillMode: "both",
4903
4936
  transformOrigin: "center",
4904
- animationName: Fl
4937
+ animationName: Ll
4905
4938
  },
4906
4939
  "&.rotateInDownLeft": {
4907
4940
  animationFillMode: "both",
4908
4941
  transformOrigin: "left bottom",
4909
- animationName: Ll
4942
+ animationName: Nl
4910
4943
  },
4911
4944
  "&.rotateInDownRight": {
4912
4945
  animationFillMode: "both",
4913
4946
  transformOrigin: "right bottom",
4914
- animationName: Nl
4947
+ animationName: Hl
4915
4948
  },
4916
4949
  "&.rotateInUpLeft": {
4917
4950
  animationFillMode: "both",
4918
4951
  transformOrigin: "left bottom",
4919
- animationName: Hl
4952
+ animationName: Dl
4920
4953
  },
4921
4954
  "&.rotateInUpRight": {
4922
4955
  animationFillMode: "both",
4923
4956
  transformOrigin: "right bottom",
4924
- animationName: Dl
4957
+ animationName: zl
4925
4958
  }
4926
- }), kl = () => ({
4959
+ }), El = () => ({
4927
4960
  "&.rotateOut": {
4928
4961
  animationFillMode: "both",
4929
4962
  transformOrigin: "center",
4930
- animationName: zl
4963
+ animationName: Wl
4931
4964
  },
4932
4965
  "&.rotateOutDownLeft": {
4933
4966
  animationFillMode: "both",
4934
4967
  transformOrigin: "left bottom",
4935
- animationName: Wl
4968
+ animationName: jl
4936
4969
  },
4937
4970
  "&.rotateOutDownRight": {
4938
4971
  animationFillMode: "both",
4939
4972
  transformOrigin: "right bottom",
4940
- animationName: jl
4973
+ animationName: Al
4941
4974
  },
4942
4975
  "&.rotateOutUpLeft": {
4943
4976
  animationFillMode: "both",
4944
4977
  transformOrigin: "left bottom",
4945
- animationName: Al
4978
+ animationName: Kl
4946
4979
  },
4947
4980
  "&.rotateOutUpRight": {
4948
4981
  animationFillMode: "both",
4949
4982
  transformOrigin: "right bottom",
4950
- animationName: Kl
4983
+ animationName: Ul
4951
4984
  }
4952
- }), El = new p("slideInDown", {
4985
+ }), Xl = new h("slideInDown", {
4953
4986
  from: {
4954
4987
  transform: "translate3d(0, -100%, 0)",
4955
4988
  visibility: "visible"
@@ -4957,7 +4990,7 @@ const Ti = /* @__PURE__ */ G({
4957
4990
  to: {
4958
4991
  transform: "translate3d(0, 0, 0)"
4959
4992
  }
4960
- }), Xl = new p("slideInLeft", {
4993
+ }), Vl = new h("slideInLeft", {
4961
4994
  from: {
4962
4995
  transform: "translate3d(-100%, 0, 0)",
4963
4996
  visibility: "visible"
@@ -4965,7 +4998,7 @@ const Ti = /* @__PURE__ */ G({
4965
4998
  to: {
4966
4999
  transform: "translate3d(0, 0, 0)"
4967
5000
  }
4968
- }), Vl = new p("slideInRight", {
5001
+ }), Gl = new h("slideInRight", {
4969
5002
  from: {
4970
5003
  transform: "translate3d(100%, 0, 0)",
4971
5004
  visibility: "visible"
@@ -4973,7 +5006,7 @@ const Ti = /* @__PURE__ */ G({
4973
5006
  to: {
4974
5007
  transform: "translate3d(0, 0, 0)"
4975
5008
  }
4976
- }), Gl = new p("slideInUp", {
5009
+ }), Yl = new h("slideInUp", {
4977
5010
  from: {
4978
5011
  transform: "translate3d(0, 100%, 0)",
4979
5012
  visibility: "visible"
@@ -4981,7 +5014,7 @@ const Ti = /* @__PURE__ */ G({
4981
5014
  to: {
4982
5015
  transform: "translate3d(0, 0, 0)"
4983
5016
  }
4984
- }), Yl = new p("slideOutDown", {
5017
+ }), _l = new h("slideOutDown", {
4985
5018
  from: {
4986
5019
  transform: "translate3d(0, 0, 0)"
4987
5020
  },
@@ -4989,7 +5022,7 @@ const Ti = /* @__PURE__ */ G({
4989
5022
  transform: "translate3d(0, 100%, 0)",
4990
5023
  visibility: "hidden"
4991
5024
  }
4992
- }), _l = new p("slideOutLeft", {
5025
+ }), ql = new h("slideOutLeft", {
4993
5026
  from: {
4994
5027
  transform: "translate3d(0, 0, 0)"
4995
5028
  },
@@ -4997,7 +5030,7 @@ const Ti = /* @__PURE__ */ G({
4997
5030
  transform: "translate3d(-100%, 0, 0)",
4998
5031
  visibility: "hidden"
4999
5032
  }
5000
- }), ql = new p("slideOutRight", {
5033
+ }), Zl = new h("slideOutRight", {
5001
5034
  from: {
5002
5035
  transform: "translate3d(0, 0, 0)"
5003
5036
  },
@@ -5005,7 +5038,7 @@ const Ti = /* @__PURE__ */ G({
5005
5038
  transform: "translate3d(100%, 0, 0)",
5006
5039
  visibility: "hidden"
5007
5040
  }
5008
- }), Zl = new p("slideOutUp", {
5041
+ }), Ql = new h("slideOutUp", {
5009
5042
  from: {
5010
5043
  transform: "translate3d(0, 0, 0)"
5011
5044
  },
@@ -5013,41 +5046,41 @@ const Ti = /* @__PURE__ */ G({
5013
5046
  transform: "translate3d(0, -100%, 0)",
5014
5047
  visibility: "hidden"
5015
5048
  }
5016
- }), Ql = () => ({
5049
+ }), Jl = () => ({
5017
5050
  "&.slideInDown": {
5018
5051
  animationFillMode: "both",
5019
- animationName: El
5052
+ animationName: Xl
5020
5053
  },
5021
5054
  "&.slideInLeft": {
5022
5055
  animationFillMode: "both",
5023
- animationName: Xl
5056
+ animationName: Vl
5024
5057
  },
5025
5058
  "&.slideInRight": {
5026
5059
  animationFillMode: "both",
5027
- animationName: Vl
5060
+ animationName: Gl
5028
5061
  },
5029
5062
  "&.slideInUp": {
5030
5063
  animationFillMode: "both",
5031
- animationName: Gl
5064
+ animationName: Yl
5032
5065
  }
5033
- }), Jl = () => ({
5066
+ }), ei = () => ({
5034
5067
  "&.slideOutDown": {
5035
5068
  animationFillMode: "both",
5036
- animationName: Yl
5069
+ animationName: _l
5037
5070
  },
5038
5071
  "&.slideOutLeft": {
5039
5072
  animationFillMode: "both",
5040
- animationName: _l
5073
+ animationName: ql
5041
5074
  },
5042
5075
  "&.slideOutRight": {
5043
5076
  animationFillMode: "both",
5044
- animationName: ql
5077
+ animationName: Zl
5045
5078
  },
5046
5079
  "&.slideOutUp": {
5047
5080
  animationFillMode: "both",
5048
- animationName: Zl
5081
+ animationName: Ql
5049
5082
  }
5050
- }), ei = new p("zoomIn", {
5083
+ }), ti = new h("zoomIn", {
5051
5084
  from: {
5052
5085
  opacity: 0,
5053
5086
  transform: "scale3d(0.3, 0.3, 0.3)"
@@ -5055,7 +5088,7 @@ const Ti = /* @__PURE__ */ G({
5055
5088
  "50%": {
5056
5089
  opacity: 1
5057
5090
  }
5058
- }), ti = new p("zoomInDown", {
5091
+ }), ni = new h("zoomInDown", {
5059
5092
  from: {
5060
5093
  opacity: 0,
5061
5094
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
@@ -5066,7 +5099,7 @@ const Ti = /* @__PURE__ */ G({
5066
5099
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
5067
5100
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
5068
5101
  }
5069
- }), ni = new p("zoomInLeft", {
5102
+ }), ai = new h("zoomInLeft", {
5070
5103
  from: {
5071
5104
  opacity: 0,
5072
5105
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
@@ -5077,7 +5110,7 @@ const Ti = /* @__PURE__ */ G({
5077
5110
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
5078
5111
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
5079
5112
  }
5080
- }), ai = new p("zoomInRight", {
5113
+ }), oi = new h("zoomInRight", {
5081
5114
  from: {
5082
5115
  opacity: 0,
5083
5116
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
@@ -5088,7 +5121,7 @@ const Ti = /* @__PURE__ */ G({
5088
5121
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
5089
5122
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
5090
5123
  }
5091
- }), oi = new p("zoomInUp", {
5124
+ }), li = new h("zoomInUp", {
5092
5125
  from: {
5093
5126
  opacity: 0,
5094
5127
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
@@ -5099,7 +5132,7 @@ const Ti = /* @__PURE__ */ G({
5099
5132
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
5100
5133
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
5101
5134
  }
5102
- }), li = new p("zoomOut", {
5135
+ }), ii = new h("zoomOut", {
5103
5136
  from: {
5104
5137
  opacity: 1
5105
5138
  },
@@ -5110,7 +5143,7 @@ const Ti = /* @__PURE__ */ G({
5110
5143
  to: {
5111
5144
  opacity: 0
5112
5145
  }
5113
- }), ii = new p("zoomOutDown", {
5146
+ }), ri = new h("zoomOutDown", {
5114
5147
  "40%": {
5115
5148
  opacity: 1,
5116
5149
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
@@ -5121,7 +5154,7 @@ const Ti = /* @__PURE__ */ G({
5121
5154
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
5122
5155
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
5123
5156
  }
5124
- }), ri = new p("zoomOutLeft", {
5157
+ }), si = new h("zoomOutLeft", {
5125
5158
  "40%": {
5126
5159
  opacity: 1,
5127
5160
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
@@ -5130,7 +5163,7 @@ const Ti = /* @__PURE__ */ G({
5130
5163
  opacity: 0,
5131
5164
  transform: "scale(0.1) translate3d(-2000px, 0, 0)"
5132
5165
  }
5133
- }), si = new p("zoomOutRight", {
5166
+ }), ui = new h("zoomOutRight", {
5134
5167
  "40%": {
5135
5168
  opacity: 1,
5136
5169
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
@@ -5139,7 +5172,7 @@ const Ti = /* @__PURE__ */ G({
5139
5172
  opacity: 0,
5140
5173
  transform: "scale(0.1) translate3d(2000px, 0, 0)"
5141
5174
  }
5142
- }), ui = new p("zoomOutUp", {
5175
+ }), ci = new h("zoomOutUp", {
5143
5176
  "40%": {
5144
5177
  opacity: 1,
5145
5178
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
@@ -5150,69 +5183,55 @@ const Ti = /* @__PURE__ */ G({
5150
5183
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)",
5151
5184
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
5152
5185
  }
5153
- }), ci = () => ({
5186
+ }), di = () => ({
5154
5187
  "&.zoomIn": {
5155
5188
  animationFillMode: "both",
5156
- animationName: ei
5189
+ animationName: ti
5157
5190
  },
5158
5191
  "&.zoomInDown": {
5159
5192
  animationFillMode: "both",
5160
- animationName: ti
5193
+ animationName: ni
5161
5194
  },
5162
5195
  "&.zoomInLeft": {
5163
5196
  animationFillMode: "both",
5164
- animationName: ni
5197
+ animationName: ai
5165
5198
  },
5166
5199
  "&.zoomInRight": {
5167
5200
  animationFillMode: "both",
5168
- animationName: ai
5201
+ animationName: oi
5169
5202
  },
5170
5203
  "&.zoomInUp": {
5171
5204
  animationFillMode: "both",
5172
- animationName: oi
5205
+ animationName: li
5173
5206
  }
5174
- }), di = () => ({
5207
+ }), mi = () => ({
5175
5208
  "&.zoomOut": {
5176
5209
  animationFillMode: "both",
5177
- animationName: li
5210
+ animationName: ii
5178
5211
  },
5179
5212
  "&.zoomOutDown": {
5180
5213
  animationFillMode: "both",
5181
5214
  transformOrigin: "center bottom",
5182
- animationName: ii
5215
+ animationName: ri
5183
5216
  },
5184
5217
  "&.zoomOutLeft": {
5185
5218
  animationFillMode: "both",
5186
5219
  transformOrigin: "left center",
5187
- animationName: ri
5220
+ animationName: si
5188
5221
  },
5189
5222
  "&.zoomOutRight": {
5190
5223
  animationFillMode: "both",
5191
5224
  transformOrigin: "right center",
5192
- animationName: si
5225
+ animationName: ui
5193
5226
  },
5194
5227
  "&.zoomOutUp": {
5195
5228
  animationFillMode: "both",
5196
5229
  transformOrigin: "center bottom",
5197
- animationName: ui
5230
+ animationName: ci
5198
5231
  }
5199
- }), mi = (e) => ({
5232
+ }), fi = (e) => ({
5200
5233
  [e.componentCls]: {
5201
5234
  "&-enter": {
5202
- background: "transparent",
5203
- animationDuration: ".3s !important",
5204
- ...Oo(),
5205
- ...Ao(),
5206
- ...pl(),
5207
- ...Cl(),
5208
- ...wl(),
5209
- ...Ul(),
5210
- ...Pl(),
5211
- ...ci(),
5212
- ...Ql()
5213
- },
5214
- "&-leave": {
5215
- display: "none",
5216
5235
  background: "transparent",
5217
5236
  animationDuration: ".3s !important",
5218
5237
  ...Bo(),
@@ -5224,16 +5243,30 @@ const Ti = /* @__PURE__ */ G({
5224
5243
  ...Tl(),
5225
5244
  ...di(),
5226
5245
  ...Jl()
5246
+ },
5247
+ "&-leave": {
5248
+ display: "none",
5249
+ background: "transparent",
5250
+ animationDuration: ".3s !important",
5251
+ ...Po(),
5252
+ ...Uo(),
5253
+ ...hl(),
5254
+ ...Il(),
5255
+ ...Ol(),
5256
+ ...El(),
5257
+ ...Fl(),
5258
+ ...mi(),
5259
+ ...ei()
5227
5260
  }
5228
5261
  }
5229
5262
  });
5230
- function fi(e) {
5231
- return Ie("LayoutPageTranstion", (n) => {
5263
+ function pi(e) {
5264
+ return Ce("LayoutPageTranstion", (n) => {
5232
5265
  const t = Qe(n);
5233
- return [mi(t)];
5266
+ return [fi(t)];
5234
5267
  }, e);
5235
5268
  }
5236
- const Fi = /* @__PURE__ */ G({
5269
+ const Li = /* @__PURE__ */ X({
5237
5270
  name: "PageTransition",
5238
5271
  props: {
5239
5272
  disabled: {
@@ -5259,30 +5292,30 @@ const Fi = /* @__PURE__ */ G({
5259
5292
  }), {
5260
5293
  wrapSSR: a,
5261
5294
  hashId: l
5262
- } = fi(t), i = (d, m) => {
5295
+ } = pi(t), i = (d, m) => {
5263
5296
  if (d.length === 0 || d === "x" || d === "y")
5264
5297
  return d;
5265
- let u = m.indexOf(d);
5266
- return u = u % 2 === 1 ? u - 1 : u + 1, m[u];
5298
+ let c = m.indexOf(d);
5299
+ return c = c % 2 === 1 ? c - 1 : c + 1, m[c];
5267
5300
  }, r = (d) => {
5268
- const m = vo.preset.find((v) => e.name === v.name);
5301
+ const m = Co.preset.find((C) => e.name === C.name);
5269
5302
  if (m === void 0)
5270
5303
  return "";
5271
- let u = "";
5272
- e.direction === void 0 ? u = m.directions[0] : u = m.directions.find((v) => v === e.direction) || "", u = u === void 0 || u === "default" ? "" : u, u !== "" && (u = d && e.reverse ? i(u, m.directions) : u, u = u[0].toUpperCase() + u.substring(1));
5273
- const g = d ? "Out" : "In";
5274
- return m.name + g + u;
5275
- }, h = b(() => [r(!1), `${t}-enter`, l.value].join(" ")), c = b(() => [r(!0), `${t}-leave`, l.value].join(" "));
5304
+ let c = "";
5305
+ e.direction === void 0 ? c = m.directions[0] : c = m.directions.find((C) => C === e.direction) || "", c = c === void 0 || c === "default" ? "" : c, c !== "" && (c = d && e.reverse ? i(c, m.directions) : c, c = c[0].toUpperCase() + c.substring(1));
5306
+ const p = d ? "Out" : "In";
5307
+ return m.name + p + c;
5308
+ }, g = v(() => [r(!1), `${t}-enter`, l.value].join(" ")), u = v(() => [r(!0), `${t}-leave`, l.value].join(" "));
5276
5309
  return () => e.disabled ? n.default?.() : a(o(sn, {
5277
- enterActiveClass: h.value,
5278
- leaveActiveClass: c.value
5310
+ enterActiveClass: g.value,
5311
+ leaveActiveClass: u.value
5279
5312
  }, {
5280
5313
  default: () => [n.default?.()]
5281
5314
  }));
5282
5315
  }
5283
5316
  });
5284
- function Li(e) {
5285
- const n = jn(), t = He(), a = () => e.value?.tabsComRef();
5317
+ function Ni(e) {
5318
+ const n = jn(), t = Ne(), a = () => e.value?.tabsComRef();
5286
5319
  return {
5287
5320
  tabsRouter: {
5288
5321
  clean: () => a()?.clean(),
@@ -5294,62 +5327,62 @@ function Li(e) {
5294
5327
  }
5295
5328
  };
5296
5329
  }
5297
- function Ni(e) {
5298
- const n = He(), t = e?.defaultOpen ?? !0, a = e?.autoClose ?? !0, l = n.getRoutes(), i = Z([]), r = Oe({
5330
+ function Hi(e) {
5331
+ const n = Ne(), t = e?.defaultOpen ?? !0, a = e?.autoClose ?? !0, l = n.getRoutes(), i = q([]), r = we({
5299
5332
  menuMap: /* @__PURE__ */ new Map(),
5300
5333
  flatMenus: []
5301
- }), h = Oe({
5334
+ }), g = we({
5302
5335
  openKeys: [],
5303
5336
  selectedKeys: []
5304
- }), c = b(() => n.currentRoute.value), d = (v) => {
5305
- const S = aa(oa(v));
5306
- i.value = Le(S.menuData), r.menuMap = S.menuMap, r.flatMenus = S.flatMenus;
5337
+ }), u = v(() => n.currentRoute.value), d = (C) => {
5338
+ const S = aa(oa(C));
5339
+ i.value = Fe(S.menuData), r.menuMap = S.menuMap, r.flatMenus = S.flatMenus;
5307
5340
  };
5308
- e?.menuData && st(e.menuData) && U(() => e.menuData.value, (v) => d(v), { deep: !0 }), d(e?.menuData ? st(e.menuData) ? e.menuData.value : e.menuData : l);
5309
- const m = b(() => Ut({
5341
+ e?.menuData && st(e.menuData) && U(() => e.menuData.value, (C) => d(C), { deep: !0 }), d(e?.menuData ? st(e.menuData) ? e.menuData.value : e.menuData : l);
5342
+ const m = v(() => Ut({
5310
5343
  menuData: i.value,
5311
5344
  menuMap: r.menuMap,
5312
5345
  flatMenus: r.flatMenus
5313
- }, { path: c.value.path, name: c.value.name })), u = b(() => {
5314
- function v(s) {
5315
- const C = At(s.meta?.hideChildrenInMenu ? [] : s.children || []);
5346
+ }, { path: u.value.path, name: u.value.name })), c = v(() => {
5347
+ function C(s) {
5348
+ const x = At(s.meta?.hideChildrenInMenu ? [] : s.children || []);
5316
5349
  return {
5317
5350
  name: s.name,
5318
5351
  icon: s.meta?.icon || "",
5319
- path: s.redirect || C || s.path || "",
5352
+ path: s.redirect || x || s.path || "",
5320
5353
  breadcrumbName: s.meta?.title || "",
5321
- children: s.children && s.children?.length > 1 ? s.children?.map((I) => v(I)).filter((I) => I.breadcrumbName) : []
5354
+ children: s.children && s.children?.length > 1 ? s.children?.map((I) => C(I)).filter((I) => I.breadcrumbName) : []
5322
5355
  };
5323
5356
  }
5324
- const S = m.value.map((s) => v(s)).filter((s) => s.breadcrumbName);
5357
+ const S = m.value.map((s) => C(s)).filter((s) => s.breadcrumbName);
5325
5358
  return sa(S, "breadcrumbName");
5326
- }), g = () => {
5327
- h.openKeys = m.value.filter((v) => v.name !== c.value.name).map((v) => v.name);
5359
+ }), p = () => {
5360
+ g.openKeys = m.value.filter((C) => C.name !== u.value.name).map((C) => C.name);
5328
5361
  };
5329
- return U(() => c.value, (v) => {
5330
- v && (h.selectedKeys = m.value.map((S) => S.name), a && g());
5362
+ return U(() => u.value, (C) => {
5363
+ C && (g.selectedKeys = m.value.map((S) => S.name), a && p());
5331
5364
  }, { immediate: !0, deep: !0 }), It(() => {
5332
- t && g();
5333
- }), Ia({
5365
+ t && p();
5366
+ }), Sa({
5334
5367
  ...Xe(r),
5335
- syncMatchedKeys: (v = 60) => {
5368
+ syncMatchedKeys: (C = 60) => {
5336
5369
  setTimeout(() => {
5337
- h.selectedKeys = m.value.map((S) => S.name), g();
5338
- }, v);
5370
+ g.selectedKeys = m.value.map((S) => S.name), p();
5371
+ }, C);
5339
5372
  },
5340
5373
  menuData: i,
5341
5374
  matchedMenu: m,
5342
- matchedKeys: h
5375
+ matchedKeys: g
5343
5376
  }), {
5344
5377
  menuState: r,
5345
5378
  menuData: i,
5346
- matchedKeys: h,
5379
+ matchedKeys: g,
5347
5380
  matchedMenu: m,
5348
- breadcrumbRouters: u
5381
+ breadcrumbRouters: c
5349
5382
  };
5350
5383
  }
5351
- function Hi(e) {
5352
- const n = Z(e ?? "system"), t = Ot();
5384
+ function Di(e) {
5385
+ const n = q(e ?? "system"), t = Ot();
5353
5386
  return {
5354
5387
  theme: n,
5355
5388
  isDark: t
@@ -5357,41 +5390,42 @@ function Hi(e) {
5357
5390
  }
5358
5391
  export {
5359
5392
  zt as GBaseMenu,
5360
- Fi as GPageTransition,
5361
- Ti as GProAppPage,
5362
- Bi as GProLayout,
5363
- Pi as GProPageContainer,
5393
+ Li as GPageTransition,
5394
+ Fi as GProAppPage,
5395
+ Pi as GProLayout,
5396
+ Ti as GProPageContainer,
5364
5397
  Ra as GlobalFooter,
5365
- Oi as LazyIcon,
5398
+ Bi as LazyIcon,
5366
5399
  xa as SiderMenuWrapper,
5367
- vo as animateSetting,
5400
+ Co as animateSetting,
5368
5401
  Jn as baseMenuProps,
5369
5402
  _n as calculateCss,
5370
5403
  oa as clearMenuItem,
5371
5404
  ft as convertCSSPropertiesToString,
5372
5405
  qn as cssValueToNumber,
5373
5406
  Vn as defaultContextKey,
5374
- E as defaultSettings,
5407
+ k as defaultSettings,
5375
5408
  Nt as extractCSSVariableName,
5376
5409
  ra as filterTree,
5377
5410
  Kt as findLastKey,
5378
5411
  la as flatMap,
5379
- ue as getCssVarOrUnit,
5412
+ se as getCssVarOrUnit,
5380
5413
  Yn as getCssVarValue,
5381
5414
  Lt as getCssVariableValue,
5382
5415
  At as getLastPath,
5383
5416
  Ut as getMatchedList,
5384
5417
  aa as getMenuData,
5385
5418
  ia as getMenuFirstChildren,
5386
- Se as getTokenLayoutTheme,
5419
+ xe as getTokenLayoutTheme,
5387
5420
  jt as handlePathKey,
5388
5421
  Ee as iconStyle,
5389
5422
  Zn as layout,
5390
5423
  Gn as provideProLayoutContext,
5391
5424
  sa as removeDuplicatesByName,
5392
- Ni as useLayoutMenu,
5393
- Li as useProLayout,
5394
- Q as useProLayoutContext,
5425
+ Hi as useLayoutMenu,
5426
+ Ia as usePageContent,
5427
+ Ni as useProLayout,
5428
+ Z as useProLayoutContext,
5395
5429
  lt as useProLayoutMenuContext,
5396
- Hi as useThemeState
5430
+ Di as useThemeState
5397
5431
  };