@gx-design-vue/pro-layout 0.1.0-beta.150 → 0.1.0-beta.151

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,6 +1,6 @@
1
1
  /*!
2
2
  * Gx Design Pro
3
- * Version: 0.1.0-beta.149
3
+ * Version: 0.1.0-beta.150
4
4
  * Author: gx12358
5
5
  * Copyright (C) 2024 gx12358
6
6
  * License: MIT License
@@ -9,26 +9,26 @@
9
9
  * Homepage:
10
10
  * Contact: gx12358@gmail.com
11
11
  */
12
- import { defineComponent as X, computed as b, resolveComponent as Ct, createVNode as o, mergeProps as U, Fragment as G, isVNode as Re, watch as V, createTextVNode as ct, toRefs as Te, unref as Oe, ref as Z, nextTick as cn, reactive as be, toRaw as un, h as dn, Transition as mn, isRef as ut, onMounted as fn } from "vue";
13
- import xt, { createFromIconfontCN as gn, CloseOutlined as $e, GithubOutlined as pn, ArrowLeftOutlined as hn, MenuUnfoldOutlined as yn, MenuFoldOutlined as bn, FullscreenExitOutlined as Rt, FullscreenOutlined as St, ReloadOutlined as wt, ExportOutlined as vn, VerticalRightOutlined as Cn, VerticalLeftOutlined as xn, VerticalAlignMiddleOutlined as Rn, SwapOutlined as Sn, DownOutlined as wn } from "@ant-design/icons-vue";
14
- import { isArray as It, convertValueBoolean as ve, isObject as Mt, isUrl as Ot, isImg as In, classNames as W, isString as Ve, getPrefixCls as ae, getRandomNumber as Ke, isBoolean as me, getSlotVNode as ye, getSlot as Fe, getLevelData as $t, deepMerge as Ye, arrayRepeat as Mn, merge as ue, isNumber as dt, getSlotsProps as de } from "@gx-design-vue/pro-utils";
15
- import { Menu as ee, Badge as On, Breadcrumb as $n, Spin as _e, Card as Fn, LayoutFooter as Tn, Layout as Ce, ConfigProvider as Ge, Drawer as Bn, Tabs as Ft, Dropdown as mt } from "ant-design-vue";
12
+ import { defineComponent as X, computed as b, resolveComponent as Ct, createVNode as o, mergeProps as U, Fragment as G, isVNode as Re, watch as V, createTextVNode as ct, toRefs as Te, unref as Oe, ref as q, nextTick as sn, reactive as be, toRaw as cn, h as un, Transition as dn, isRef as ut, onMounted as mn } from "vue";
13
+ import xt, { createFromIconfontCN as fn, CloseOutlined as $e, GithubOutlined as gn, ArrowLeftOutlined as pn, MenuUnfoldOutlined as hn, MenuFoldOutlined as yn, FullscreenExitOutlined as Rt, FullscreenOutlined as St, ReloadOutlined as wt, ExportOutlined as bn, VerticalRightOutlined as vn, VerticalLeftOutlined as Cn, VerticalAlignMiddleOutlined as xn, SwapOutlined as Rn, DownOutlined as Sn } from "@ant-design/icons-vue";
14
+ import { isArray as It, convertValueBoolean as ve, isObject as Mt, isUrl as Ot, isImg as wn, classNames as W, isString as Ve, getPrefixCls as ae, getRandomNumber as Ke, isBoolean as me, getSlotVNode as ye, getSlot as Fe, getLevelData as $t, deepMerge as Ye, arrayRepeat as In, merge as ue, isNumber as dt, getSlotsProps as de } from "@gx-design-vue/pro-utils";
15
+ import { Menu as ee, Badge as Mn, Breadcrumb as On, Spin as _e, Card as $n, LayoutFooter as Fn, Layout as Ce, ConfigProvider as Ge, Drawer as Tn, Tabs as Ft, Dropdown as mt } from "ant-design-vue";
16
16
  import { pick as se, omit as oe, cloneDeep as xe } from "lodash-es";
17
- import { useRouter as Se, RouterLink as Pn, useRoute as Ln } from "vue-router";
18
- import { getTokenTheme as Dn, useContext as Be, useProStyle as ce, useStyle as we, mergeToken as qe, useProConfigContext as Ie, unit as Y, getDefaultLayoutToken as Ze, getProSolidColor as Pe, Keyframe as u, calcUnit as re, GProConfigProvider as Nn } from "@gx-design-vue/pro-provider";
19
- import { useProAppContext as Tt, proAppProps as kn, proAppSlots as Hn, GProApp as zn } from "@gx-design-vue/pro-app";
20
- import { onMountedOrActivated as Wn, useMemo as ft, useState as An, useMediaQuery as jn, useSlotsProps as Kn } from "@gx-design-vue/pro-hooks";
21
- import Un from "dayjs";
17
+ import { useRouter as Se, RouterLink as Bn, useRoute as Pn } from "vue-router";
18
+ import { getTokenTheme as Ln, useContext as Be, useProStyle as ce, useStyle as we, mergeToken as qe, useProConfigContext as Ie, unit as Y, getDefaultLayoutToken as Ze, getProSolidColor as Pe, Keyframe as u, calcUnit as re, GProConfigProvider as Dn } from "@gx-design-vue/pro-provider";
19
+ import { useProAppContext as Tt, proAppProps as Nn, proAppSlots as kn, GProApp as Hn } from "@gx-design-vue/pro-app";
20
+ import { onMountedOrActivated as zn, useMemo as ft, useState as Wn, useMediaQuery as An, useSlotsProps as jn } from "@gx-design-vue/pro-hooks";
21
+ import Kn from "dayjs";
22
22
  import "ant-design-vue/es/spin";
23
23
  import { getAlphaColor as Bt } from "ant-design-vue/es/theme/themes/dark/colorAlgorithm";
24
- import { useDark as Xn, useToggle as En, useColorMode as Vn, useLocalStorage as Yn, useThrottleFn as _n, useStyleTag as Gn } from "@vueuse/core";
25
- import { GPorWaterMark as qn } from "@gx-design-vue/pro-watermark";
26
- import { GScrollbars as Zn } from "@gx-design-vue/scrollbar";
24
+ import { useColorMode as Un, useLocalStorage as Xn, useThrottleFn as En, useStyleTag as Vn } from "@vueuse/core";
25
+ import { GPorWaterMark as Yn } from "@gx-design-vue/pro-watermark";
26
+ import { GScrollbars as _n } from "@gx-design-vue/scrollbar";
27
27
  function Pt(e, t) {
28
28
  return `${e ? "systemDark" : t}`;
29
29
  }
30
30
  function te(e) {
31
- const { theme: t, dark: n } = Dn(e), a = e.layout?.key?.split(":") || [];
31
+ const { theme: t, dark: n } = Ln(e), a = e.layout?.key?.split(":") || [];
32
32
  return {
33
33
  theme: t,
34
34
  dark: n,
@@ -69,7 +69,7 @@ const K = {
69
69
  name: "fade",
70
70
  direction: "default"
71
71
  }
72
- }, wl = [
72
+ }, Cl = [
73
73
  { key: "techBlue", color: "#1677FF", title: "拂晓蓝(默认)" },
74
74
  { key: "dust", color: "#F5222D", title: "薄暮" },
75
75
  { key: "volcano", color: "#FA541C", title: "火山" },
@@ -78,9 +78,9 @@ const K = {
78
78
  { key: "green", color: "#52C41A", title: "极光绿" },
79
79
  { key: "geekblue", color: "#2F54EB", title: "极客蓝" },
80
80
  { key: "purple", color: "#722ED1", title: "酱紫" }
81
- ], Qn = ["collapsed", "collapsedWidth", "openKeys", "selectedKeys", "disableMobile", "shortcutKey", "pageContainer"], {
82
- provideContext: Jn,
83
- useInjectContext: q
81
+ ], Gn = ["collapsed", "collapsedWidth", "openKeys", "selectedKeys", "disableMobile", "shortcutKey", "pageContainer"], {
82
+ provideContext: qn,
83
+ useInjectContext: Z
84
84
  } = Be("pro-layout"), Le = {
85
85
  menuTheme: {
86
86
  type: String,
@@ -138,7 +138,7 @@ const K = {
138
138
  type: String,
139
139
  default: K.primaryColor
140
140
  }
141
- }, ea = {
141
+ }, Zn = {
142
142
  mode: "inline",
143
143
  menuProps: null
144
144
  }, Lt = {
@@ -167,7 +167,7 @@ const K = {
167
167
  default: () => {
168
168
  }
169
169
  }
170
- }, ta = {
170
+ }, Qn = {
171
171
  ...se(Le, ["menuTheme", "iconfontUrl"]),
172
172
  ...Lt,
173
173
  ...se(De, ["menuItemRender", "subMenuItemRender"]),
@@ -203,14 +203,14 @@ const Ue = (e) => {
203
203
  if (!t)
204
204
  return null;
205
205
  if (typeof t == "string" && t !== "") {
206
- if (Ot(t) || In(t))
206
+ if (Ot(t) || wn(t))
207
207
  return o("img", {
208
208
  src: t,
209
209
  alt: "icon",
210
210
  class: `${e.className}-icon-image`
211
211
  }, null);
212
212
  if (n && typeof n == "string") {
213
- const i = gn({
213
+ const i = fn({
214
214
  scriptUrl: a || K.iconfontUrl
215
215
  });
216
216
  return a ? o(i, {
@@ -226,44 +226,44 @@ const Ue = (e) => {
226
226
  return typeof Ue == "function" && o(l, null, null) || null;
227
227
  }, Dt = /* @__PURE__ */ X({
228
228
  name: "BaseMenu",
229
- props: ta,
229
+ props: Qn,
230
230
  setup(e) {
231
231
  const t = Se(), {
232
232
  getPrefixCls: n
233
- } = q(), a = n({
233
+ } = Z(), a = n({
234
234
  suffixCls: "menu-item",
235
235
  isPor: !0
236
- }), l = b(() => h(e.menuData)), i = (r) => {
236
+ }), l = b(() => y(e.menuData)), i = (r) => {
237
237
  e.onOpenKeys?.(r);
238
238
  }, s = (r) => {
239
239
  e.onSelect?.(r);
240
240
  }, d = (r) => {
241
241
  e.onClick?.(r);
242
- }, C = (r, y) => {
242
+ }, C = (r, p) => {
243
243
  const M = r.link || "", v = Ot(M);
244
- t.currentRoute.value?.fullPath !== y.to && v && M && r.linkStatus === 1 && window.open(M);
245
- }, m = Ct("router-link"), f = (r, y) => {
244
+ t.currentRoute.value?.fullPath !== p.to && v && M && r.linkStatus === 1 && window.open(M);
245
+ }, m = Ct("router-link"), f = (r, p) => {
246
246
  const M = ve(r?.icon), v = typeof r.badge == "function" ? o("div", {
247
247
  class: `${a}-item-badge`
248
248
  }, [r.badge?.(oe(r, "badge"))]) : null, B = o("span", {
249
249
  class: [`${a}-title`, !M && `${a}-title-no-icon`]
250
250
  }, [r.title]);
251
- return y ? B : o(G, null, [B, v ?? (Mt(r.badge) && o(On, U({
251
+ return p ? B : o(G, null, [B, v ?? (Mt(r.badge) && o(Mn, U({
252
252
  class: `${a}-item-badge`,
253
253
  overflowCount: 999
254
254
  }, r.badge), null))]);
255
255
  }, g = (r) => {
256
- let y;
256
+ let p;
257
257
  const M = {
258
258
  ...r.meta
259
259
  }, v = M.linkStatus === 1 && M.link ? "a" : m, B = {
260
260
  to: Ve(r.redirect) ? r.redirect : r.path || ""
261
- }, p = ve(r.meta?.icon), H = o(v, U(B, {
261
+ }, h = ve(r.meta?.icon), H = o(v, U(B, {
262
262
  class: "gx-pro-menu-item",
263
263
  onClick: () => C(M, B)
264
- }), je(y = f(M, !p)) ? y : {
265
- default: () => [y]
266
- }), T = p && o(Ue, {
264
+ }), je(p = f(M, !h)) ? p : {
265
+ default: () => [p]
266
+ }), T = h && o(Ue, {
267
267
  className: a,
268
268
  icon: r.meta?.icon,
269
269
  iconfontUrl: e.iconfontUrl,
@@ -276,13 +276,13 @@ const Ue = (e) => {
276
276
  if (e.subMenuItemRender)
277
277
  return e.subMenuItemRender({
278
278
  item: r,
279
- children: h(r.children)
279
+ children: y(r.children)
280
280
  });
281
- const p = r.meta?.icon ? o("span", {
281
+ const h = r.meta?.icon ? o("span", {
282
282
  class: "gx-pro-menu-item"
283
283
  }, [f(r.meta)]) : r.meta && f(r.meta), H = r.meta?.menuItemType === "group", T = H ? ee.ItemGroup : ee.SubMenu;
284
284
  return o(T, {
285
- title: p,
285
+ title: h,
286
286
  key: r.name,
287
287
  icon: H ? null : o(Ue, {
288
288
  className: a,
@@ -290,7 +290,7 @@ const Ue = (e) => {
290
290
  iconfontUrl: e.iconfontUrl,
291
291
  iconFont: r.meta?.iconFont
292
292
  }, null)
293
- }, je(B = h(r.children)) ? B : {
293
+ }, je(B = y(r.children)) ? B : {
294
294
  default: () => [B]
295
295
  });
296
296
  }
@@ -308,8 +308,8 @@ const Ue = (e) => {
308
308
  default: () => [M]
309
309
  });
310
310
  };
311
- function h(r = []) {
312
- return r.map((y) => F(y)).filter((y) => y);
311
+ function y(r = []) {
312
+ return r.map((p) => F(p)).filter((p) => p);
313
313
  }
314
314
  return () => o(ee, U({
315
315
  key: "Menu",
@@ -325,7 +325,7 @@ const Ue = (e) => {
325
325
  default: () => [l.value]
326
326
  });
327
327
  }
328
- }), { useInjectContext: na, provideContext: aa } = Be("pro-page"), oa = {
328
+ }), { useInjectContext: Jn, provideContext: ea } = Be("pro-page"), ta = {
329
329
  usePageCard: {
330
330
  type: Boolean,
331
331
  default: () => {
@@ -388,8 +388,8 @@ const Ue = (e) => {
388
388
  default: () => !1
389
389
  },
390
390
  onContentFullScreenChange: Function,
391
- ...oa
392
- }, ia = (e) => {
391
+ ...ta
392
+ }, na = (e) => {
393
393
  const { layout: t } = te(e);
394
394
  return {
395
395
  [e.componentCls]: {
@@ -404,13 +404,13 @@ const Ue = (e) => {
404
404
  breadcrumb: fe.breadcrumbRender
405
405
  },
406
406
  setup(e) {
407
- const t = q(), a = (t?.getPrefixCls || ae)({
407
+ const t = Z(), a = (t?.getPrefixCls || ae)({
408
408
  isPor: !0,
409
409
  suffixCls: "breadCrumb"
410
410
  }), {
411
411
  wrapSSR: l,
412
412
  hashId: i
413
- } = ce("ProBreadCrumb", [ia], a), s = b(() => {
413
+ } = ce("ProBreadCrumb", [na], a), s = b(() => {
414
414
  const d = t?.breadcrumb?.value || {}, C = d.routes || [], m = C.map((f, g) => ({
415
415
  ...f,
416
416
  path: f.path && g !== C.length - 1 ? Ke().uuid(10) : "",
@@ -421,7 +421,7 @@ const Ue = (e) => {
421
421
  routes: m,
422
422
  itemRender: d?.itemRender || (({
423
423
  route: f
424
- }) => f.path ? o(Pn, {
424
+ }) => f.path ? o(Bn, {
425
425
  to: f.link
426
426
  }, {
427
427
  default: () => [f.breadcrumbName]
@@ -430,9 +430,9 @@ const Ue = (e) => {
430
430
  });
431
431
  return () => l(o("div", {
432
432
  class: W(a, i.value, t?.breadcrumb?.value?.position === "header" && `${a}-header`)
433
- }, [e.breadcrumb === !1 ? o("span", null, null) : e.breadcrumb ? e.breadcrumb?.(s.value) : o($n, s.value, null)]));
433
+ }, [e.breadcrumb === !1 ? o("span", null, null) : e.breadcrumb ? e.breadcrumb?.(s.value) : o(On, s.value, null)]));
434
434
  }
435
- }), la = (e) => ({
435
+ }), aa = (e) => ({
436
436
  [e.componentCls]: {
437
437
  background: e.colorBgContainer,
438
438
  padding: `${e.paddingLG}px`,
@@ -479,7 +479,7 @@ const Ue = (e) => {
479
479
  alignItems: "center"
480
480
  }
481
481
  }
482
- }), ra = /* @__PURE__ */ X({
482
+ }), oa = /* @__PURE__ */ X({
483
483
  name: "ProPageHeader",
484
484
  props: {
485
485
  close: {
@@ -491,13 +491,13 @@ const Ue = (e) => {
491
491
  breadcrumb: fe.breadcrumbRender
492
492
  },
493
493
  setup(e) {
494
- const t = q(), a = (t?.getPrefixCls || ae)({
494
+ const t = Z(), a = (t?.getPrefixCls || ae)({
495
495
  isPor: !0,
496
496
  suffixCls: "page-header"
497
497
  }), {
498
498
  wrapSSR: l,
499
499
  hashId: i
500
- } = ce("ProPageHeader", [la], a);
500
+ } = ce("ProPageHeader", [aa], a);
501
501
  return () => {
502
502
  const s = t?.breadcrumb?.value?.position === "pageHeader";
503
503
  return l(o("div", {
@@ -526,7 +526,7 @@ const Ue = (e) => {
526
526
  }, null)])])]));
527
527
  };
528
528
  }
529
- }), sa = (e) => {
529
+ }), ia = (e) => {
530
530
  const t = e.layout?.pageContainer, { layout: n } = te(e), a = t?.borderRadius || e.borderRadiusLG, l = `${e.proComponentsCls}-basic-layout-content`;
531
531
  return {
532
532
  [`${e.proComponentsCls}-basic-layout`]: {
@@ -584,17 +584,17 @@ const Ue = (e) => {
584
584
  }
585
585
  };
586
586
  };
587
- function ca(e) {
587
+ function la(e) {
588
588
  return we("ProPageContainer", (t) => {
589
589
  const n = qe(t, {
590
590
  gridContent: `${t.proComponentsCls}-grid-content`
591
591
  });
592
- return [sa(n)];
592
+ return [ia(n)];
593
593
  }, e);
594
594
  }
595
- const ua = {
595
+ const ra = {
596
596
  type: "default"
597
- }, Il = /* @__PURE__ */ X({
597
+ }, xl = /* @__PURE__ */ X({
598
598
  inheritAttrs: !1,
599
599
  name: "GProPageContainer",
600
600
  props: fe,
@@ -605,13 +605,13 @@ const ua = {
605
605
  attrs: n,
606
606
  expose: a
607
607
  }) {
608
- const l = Tt(), i = na(), s = q(), d = Ie(), C = s?.getPrefixCls || ae, m = C({
608
+ const l = Tt(), i = Jn(), s = Z(), d = Ie(), C = s?.getPrefixCls || ae, m = C({
609
609
  suffixCls: "page-container",
610
610
  isPor: !0
611
611
  }), f = C({
612
612
  suffixCls: "grid-content",
613
613
  isPor: !0
614
- }), g = b(() => s?.pageContainer?.value || {}), F = b(() => e.pageCardProps || g.value?.pageCardProps), h = b(() => e.pageHeaderStyle || g.value?.pageHeaderStyle), r = b(() => e.pageContentStyle || g.value?.pageContentStyle), y = b(() => e.pageChildrenContentClass || g.value?.pageChildrenContentClass || ""), M = b(() => e.pageChildrenContentStyle || g.value?.pageChildrenContentStyle || {}), v = b(() => s?.layoutProps?.value?.isWide), B = b(() => me(e.usePageCard) ? e.usePageCard : me(g.value?.usePageCard) ? g.value?.usePageCard : !0), p = b(() => d?.token?.value?.layout?.pageContainer), H = b(() => {
614
+ }), g = b(() => s?.pageContainer?.value || {}), F = b(() => e.pageCardProps || g.value?.pageCardProps), y = b(() => e.pageHeaderStyle || g.value?.pageHeaderStyle), r = b(() => e.pageContentStyle || g.value?.pageContentStyle), p = b(() => e.pageChildrenContentClass || g.value?.pageChildrenContentClass || ""), M = b(() => e.pageChildrenContentStyle || g.value?.pageChildrenContentStyle || {}), v = b(() => s?.layoutProps?.value?.isWide), B = b(() => me(e.usePageCard) ? e.usePageCard : me(g.value?.usePageCard) ? g.value?.usePageCard : !0), h = b(() => d?.token?.value?.layout?.pageContainer), H = b(() => {
615
615
  const P = e.contentWidth ?? g.value?.contentWidth;
616
616
  return Y(P);
617
617
  }), T = b(() => {
@@ -619,7 +619,7 @@ const ua = {
619
619
  return i?.spinning?.value ? !1 : P;
620
620
  }), x = b(() => {
621
621
  const P = g.value?.loadingProps;
622
- return typeof e.loading == "boolean" ? P ?? ua : {
622
+ return typeof e.loading == "boolean" ? P ?? ra : {
623
623
  ...P,
624
624
  ...e.loading
625
625
  };
@@ -635,7 +635,7 @@ const ua = {
635
635
  S();
636
636
  }, {
637
637
  deep: !0
638
- }), Wn(() => {
638
+ }), zn(() => {
639
639
  s && s.fullScreenOnTabsHide && (s.fullScreenOnTabsHide.value = !!e.fullScreenOnTabsHide), S();
640
640
  });
641
641
  function S() {
@@ -649,7 +649,7 @@ const ua = {
649
649
  const {
650
650
  wrapSSR: D,
651
651
  hashId: E
652
- } = ca(m);
652
+ } = la(m);
653
653
  V(() => s?.contentFullScreen?.value, (P) => {
654
654
  e.onContentFullScreenChange?.(P);
655
655
  });
@@ -658,7 +658,7 @@ const ua = {
658
658
  slots: t,
659
659
  props: e,
660
660
  key: "pageChildrenExtraRender"
661
- }), O = W(`${m}-children-container`, E.value, y.value);
661
+ }), O = W(`${m}-children-container`, E.value, p.value);
662
662
  return o("div", {
663
663
  class: O,
664
664
  style: {
@@ -671,13 +671,13 @@ const ua = {
671
671
  tip: x.value?.tip
672
672
  }, null)]), o("div", {
673
673
  class: W(`${m}-spinning-content`, E.value, T.value && x.value.type ? `${m}-spinning-content-${x.value.type}` : "")
674
- }, [P, B.value ? o(Fn, U(F.value ? se(F.value, ["loading", "bodyStyle"]) : {}, {
674
+ }, [P, B.value ? o($n, U(F.value ? se(F.value, ["loading", "bodyStyle"]) : {}, {
675
675
  bordered: !1
676
676
  }), {
677
677
  default: () => [t.default?.()]
678
678
  }) : ve(P) ? o("div", {
679
- style: p.value?.marginBlockPageContainerContent ? {
680
- marginBlockStart: `${p.value?.marginBlockPageContainerContent}px`
679
+ style: h.value?.marginBlockPageContainerContent ? {
680
+ marginBlockStart: `${h.value?.marginBlockPageContainerContent}px`
681
681
  } : void 0
682
682
  }, [t.default?.()]) : t.default?.()])]);
683
683
  };
@@ -708,8 +708,8 @@ const ua = {
708
708
  [`${m}`]: !0
709
709
  }, n.class),
710
710
  style: _
711
- }, [z !== !1 && $.value && (z || o(ra, {
712
- style: h?.value,
711
+ }, [z !== !1 && $.value && (z || o(oa, {
712
+ style: y?.value,
713
713
  breadcrumb: P,
714
714
  content: O,
715
715
  close: e.fullScreenOnTabsHide
@@ -755,7 +755,7 @@ function zt(e) {
755
755
  const { menuSelectKey: t } = e?.meta || {};
756
756
  return t || e?.fullPath || e?.path;
757
757
  }
758
- const da = (e) => {
758
+ const sa = (e) => {
759
759
  const t = e.find((i) => i.path === "/" && i.children?.length), n = {}, a = /* @__PURE__ */ new Map(), l = Ht(t?.children || [], {
760
760
  menuMap: a,
761
761
  breadcrumb: n
@@ -767,7 +767,7 @@ const da = (e) => {
767
767
  getLevel: () => $t(l)
768
768
  };
769
769
  };
770
- function ma(e) {
770
+ function ca(e) {
771
771
  const t = /* @__PURE__ */ new Map(), n = [];
772
772
  function a(i) {
773
773
  return i.map((s) => {
@@ -788,10 +788,10 @@ function ma(e) {
788
788
  const l = a(e);
789
789
  return n.length > 0 && console.warn("The menu contains duplicate names or name undefined: ", n), l;
790
790
  }
791
- function fa(e) {
791
+ function ua(e) {
792
792
  return e.map((t) => t?.meta?.hidden ? null : (t.redirect = t.redirect === void 0 ? Wt(t.children || []) || void 0 : t.redirect, t.children && delete t.children, t)).filter((t) => t);
793
793
  }
794
- function ga(e, t) {
794
+ function da(e, t) {
795
795
  const n = e.find((a) => a.name === t);
796
796
  return t === void 0 ? [] : n?.children || [];
797
797
  }
@@ -831,19 +831,19 @@ function At(e, t) {
831
831
  function jt({ menuData: e, levelMenuData: t, menuMap: n }, { path: a, name: l }) {
832
832
  const i = n && n.size > 0 ? n.get(l) : t.find((r) => r.name === l), s = i?.key || "", d = i?.meta?.hidden, C = i?.meta?.hideInMenu;
833
833
  let m = t.find((r) => r.path === a)?.key || "";
834
- const f = !m || C, g = s.split("-").slice(0, -1).join("-"), F = At(e, g) || m, h = i ? t.find((r) => r.name === i?.meta?.menuSelectKey || r.path === zt(i))?.key : void 0;
835
- if (m = f ? i?.meta?.menuSelectKey && h || F : m, m) {
836
- const r = [], y = m.split("-");
837
- for (let v = 0; v < y.length; v += 1)
838
- r.push(xe(y).splice(0, v + 1).join("-"));
834
+ const f = !m || C, g = s.split("-").slice(0, -1).join("-"), F = At(e, g) || m, y = i ? t.find((r) => r.name === i?.meta?.menuSelectKey || r.path === zt(i))?.key : void 0;
835
+ if (m = f ? i?.meta?.menuSelectKey && y || F : m, m) {
836
+ const r = [], p = m.split("-");
837
+ for (let v = 0; v < p.length; v += 1)
838
+ r.push(xe(p).splice(0, v + 1).join("-"));
839
839
  const M = s === m || d ? [] : t.filter((v) => s === v.key);
840
840
  return t.filter((v) => r.some((B) => B === v?.key || "")).concat(M);
841
841
  }
842
842
  return [];
843
843
  }
844
- function pa(e, t) {
844
+ function ma(e, t) {
845
845
  return e.map((n) => {
846
- const a = n.children ? pa(n.children, t) : [];
846
+ const a = n.children ? ma(n.children, t) : [];
847
847
  return t(n) || a.length > 0 ? {
848
848
  ...n,
849
849
  children: a.length > 0 ? a : void 0
@@ -880,7 +880,7 @@ function Xt(e) {
880
880
  const a = /(\d+)px/.exec(e);
881
881
  return a ? Number.parseInt(a[1], 10) : e;
882
882
  }
883
- const ha = `::view-transition-old(root),
883
+ const fa = `::view-transition-old(root),
884
884
  ::view-transition-new(root) {
885
885
  animation: none;
886
886
  mix-blend-mode: normal;
@@ -901,7 +901,7 @@ html[data-theme="dark"]::view-transition-old(root) {
901
901
  html[data-theme="dark"]::view-transition-new(root) {
902
902
  z-index: 1;
903
903
  }`;
904
- function ya(e, t) {
904
+ function ga(e, t) {
905
905
  const n = /* @__PURE__ */ new Set();
906
906
  return e.filter((a) => n.has(a[t]) ? !1 : (n.add(a[t]), !0));
907
907
  }
@@ -946,7 +946,7 @@ const Je = {
946
946
  }
947
947
  },
948
948
  onLogoClick: Function
949
- }, ba = {
949
+ }, pa = {
950
950
  ...se(Le, ["title", "layout"]),
951
951
  ...Ne
952
952
  }, et = {
@@ -992,7 +992,7 @@ const Je = {
992
992
  default: () => {
993
993
  }
994
994
  }
995
- }, va = (e) => ({
995
+ }, ha = (e) => ({
996
996
  [e.componentCls]: {
997
997
  marginBlock: 0,
998
998
  marginBlockStart: 48,
@@ -1030,7 +1030,7 @@ const Je = {
1030
1030
  blankTarget: !0
1031
1031
  }, {
1032
1032
  key: "github",
1033
- title: o(pn, null, null),
1033
+ title: o(gn, null, null),
1034
1034
  href: "https://github.com/gx12358/vue3-antd-admin",
1035
1035
  blankTarget: !0
1036
1036
  }, {
@@ -1038,7 +1038,7 @@ const Je = {
1038
1038
  title: "Ant Design Vue",
1039
1039
  href: "https://next.antdv.com/components/overview-cn/",
1040
1040
  blankTarget: !0
1041
- }], Ca = /* @__PURE__ */ X({
1041
+ }], ya = /* @__PURE__ */ X({
1042
1042
  name: "GlobalFooter",
1043
1043
  props: {
1044
1044
  links: {
@@ -1051,14 +1051,14 @@ const Je = {
1051
1051
  }
1052
1052
  },
1053
1053
  setup(e) {
1054
- const a = (q()?.getPrefixCls || ae)({
1054
+ const a = (Z()?.getPrefixCls || ae)({
1055
1055
  suffixCls: "global-footer",
1056
1056
  isPor: !0
1057
1057
  }), {
1058
1058
  wrapSSR: l,
1059
1059
  hashId: i
1060
- } = ce("ProLayoutFooter", [va], a);
1061
- return () => l(o(Tn, {
1060
+ } = ce("ProLayoutFooter", [ha], a);
1061
+ return () => l(o(Fn, {
1062
1062
  style: {
1063
1063
  padding: 0
1064
1064
  }
@@ -1074,7 +1074,7 @@ const Je = {
1074
1074
  href: s.href
1075
1075
  }, [s.title]))]), e.copyright && o("div", {
1076
1076
  class: `${a}-copyright ${i.value}`
1077
- }, [ct("Copyright  "), Un().format("YYYY"), ct("  "), o("a", {
1077
+ }, [ct("Copyright  "), Kn().format("YYYY"), ct("  "), o("a", {
1078
1078
  href: "https://beian.miit.gov.cn/"
1079
1079
  }, [e.copyright])])])]
1080
1080
  }));
@@ -1114,7 +1114,7 @@ const Je = {
1114
1114
  default: () => {
1115
1115
  }
1116
1116
  }
1117
- }, xa = {
1117
+ }, ba = {
1118
1118
  visible: {
1119
1119
  type: Boolean,
1120
1120
  default: void 0
@@ -1148,20 +1148,20 @@ const Je = {
1148
1148
  type: Function
1149
1149
  }
1150
1150
  }, Yt = {
1151
- ...xa,
1151
+ ...ba,
1152
1152
  loading: {
1153
1153
  type: Boolean,
1154
1154
  default: void 0
1155
1155
  },
1156
1156
  fixedTabsBar: Le.fixedTabsBar,
1157
1157
  ...Vt
1158
- }, Ra = {
1158
+ }, va = {
1159
1159
  theme: {
1160
1160
  type: [String]
1161
1161
  },
1162
1162
  onThemeChange: Function,
1163
1163
  "onUpdate:theme": Function
1164
- }, Sa = {
1164
+ }, Ca = {
1165
1165
  id: String,
1166
1166
  class: String,
1167
1167
  style: {
@@ -1169,8 +1169,8 @@ const Je = {
1169
1169
  default: () => ({})
1170
1170
  }
1171
1171
  }, He = {
1172
- ...Sa,
1173
- ...Ra,
1172
+ ...Ca,
1173
+ ...va,
1174
1174
  ...et,
1175
1175
  ...ke,
1176
1176
  ...Vt,
@@ -1182,7 +1182,7 @@ const Je = {
1182
1182
  },
1183
1183
  menu: {
1184
1184
  type: Object,
1185
- default: () => ea
1185
+ default: () => Zn
1186
1186
  },
1187
1187
  route: {
1188
1188
  type: Object,
@@ -1243,10 +1243,10 @@ const Je = {
1243
1243
  },
1244
1244
  onContentFullScreenChange: fe.onContentFullScreenChange
1245
1245
  };
1246
- function wa() {
1247
- return o(hn, null, null);
1246
+ function xa() {
1247
+ return o(pn, null, null);
1248
1248
  }
1249
- const Ia = (e) => {
1249
+ const Ra = (e) => {
1250
1250
  const t = e.layout?.sider;
1251
1251
  return {
1252
1252
  [e.componentCls]: {
@@ -1284,7 +1284,7 @@ const Ia = (e) => {
1284
1284
  }
1285
1285
  }
1286
1286
  };
1287
- }, _t = (e, t, n) => e !== !1 ? typeof e == "function" ? e(t, n) : e || n : n, tt = (e) => e.iconRender ? typeof e?.iconRender == "function" ? e?.iconRender() : e.iconRender : e.collapsed ? o(yn, null, null) : o(bn, null, null), Ma = /* @__PURE__ */ X({
1287
+ }, _t = (e, t, n) => e !== !1 ? typeof e == "function" ? e(t, n) : e || n : n, tt = (e) => e.iconRender ? typeof e?.iconRender == "function" ? e?.iconRender() : e.iconRender : e.collapsed ? o(hn, null, null) : o(yn, null, null), Sa = /* @__PURE__ */ X({
1288
1288
  name: "CollapsedIcon",
1289
1289
  inheritAttrs: !1,
1290
1290
  props: {
@@ -1296,13 +1296,13 @@ const Ia = (e) => {
1296
1296
  setup(e) {
1297
1297
  const {
1298
1298
  getPrefixCls: t
1299
- } = q(), n = t({
1299
+ } = Z(), n = t({
1300
1300
  suffixCls: "collapsed-button",
1301
1301
  isPor: !0
1302
1302
  }), {
1303
1303
  wrapSSR: a,
1304
1304
  hashId: l
1305
- } = ce("SiderMenuCollapsedIcon", [Ia], n);
1305
+ } = ce("SiderMenuCollapsedIcon", [Ra], n);
1306
1306
  return () => a(o("div", {
1307
1307
  class: W(n, l.value, {
1308
1308
  [`${n}-collapsed`]: e.collapsed,
@@ -1311,21 +1311,21 @@ const Ia = (e) => {
1311
1311
  onClick: (i) => e.onClick?.(i)
1312
1312
  }, [tt({
1313
1313
  collapsed: e.collapsed,
1314
- iconRender: e.iconRender ? e.iconRender : () => o(wa, null, null)
1314
+ iconRender: e.iconRender ? e.iconRender : () => o(xa, null, null)
1315
1315
  })]));
1316
1316
  }
1317
1317
  }), Gt = (e, t) => e === !1 ? null : typeof e == "string" ? o("img", {
1318
1318
  src: e,
1319
1319
  alt: "logo",
1320
1320
  style: t
1321
- }, null) : typeof e == "function" ? e() : e, Oa = (e, t) => o("span", {
1321
+ }, null) : typeof e == "function" ? e() : e, wa = (e, t) => o("span", {
1322
1322
  key: "logo",
1323
1323
  onClick: () => t.onLogoClick?.(),
1324
1324
  class: e
1325
- }, [o("a", null, [Gt(t.logo, t.logoStyle)])]), $a = (e, t) => e === !1 ? null : e ? e({
1325
+ }, [o("a", null, [Gt(t.logo, t.logoStyle)])]), Ia = (e, t) => e === !1 ? null : e ? e({
1326
1326
  logo: t,
1327
1327
  title: null
1328
- }) : t, Fa = (e) => {
1328
+ }) : t, Ma = (e) => {
1329
1329
  const {
1330
1330
  logo: t,
1331
1331
  logoStyle: n,
@@ -1344,7 +1344,7 @@ const Ia = (e) => {
1344
1344
  }, nt = /* @__PURE__ */ X({
1345
1345
  name: "LogoContent",
1346
1346
  props: {
1347
- ...ba,
1347
+ ...pa,
1348
1348
  hashId: String,
1349
1349
  baseClassName: String
1350
1350
  },
@@ -1355,7 +1355,7 @@ const Ia = (e) => {
1355
1355
  collapsed: n,
1356
1356
  settings: a,
1357
1357
  collapsedWidth: l
1358
- } = q();
1358
+ } = Z();
1359
1359
  return () => o("div", {
1360
1360
  id: "logo",
1361
1361
  class: {
@@ -1366,7 +1366,7 @@ const Ia = (e) => {
1366
1366
  onClick: () => e.onLogoClick?.()
1367
1367
  }, [o("a", {
1368
1368
  key: "title"
1369
- }, [Fa({
1369
+ }, [Ma({
1370
1370
  ...e,
1371
1371
  title: e.title || a.value.title,
1372
1372
  collapsed: n.value,
@@ -1386,14 +1386,14 @@ const Ee = (e) => ({
1386
1386
  "&:hover": {
1387
1387
  background: Pe(e, e.colorBgTextHover)
1388
1388
  }
1389
- }), Ta = (e) => ({
1389
+ }), Oa = (e) => ({
1390
1390
  [e.componentCls]: {
1391
1391
  display: "flex",
1392
1392
  flexDirection: "column",
1393
1393
  width: "100%",
1394
1394
  minHeight: "100vh"
1395
1395
  }
1396
- }), Ba = (e) => {
1396
+ }), $a = (e) => {
1397
1397
  const { layout: t } = te(e), n = e.layout?.pageContainer;
1398
1398
  return {
1399
1399
  [e.componentCls]: {
@@ -1443,7 +1443,7 @@ const Ee = (e) => ({
1443
1443
  paddingBlock: 4,
1444
1444
  paddingInline: 8,
1445
1445
  marginInline: 0
1446
- }), Pa = (e) => {
1446
+ }), Fa = (e) => {
1447
1447
  const t = Qe(e, "sider"), { layout: n } = te(e), a = e.layout?.pageContainer;
1448
1448
  return {
1449
1449
  [`${e.proComponentsCls}-basic-layout`]: {
@@ -1605,7 +1605,7 @@ const Ee = (e) => ({
1605
1605
  }
1606
1606
  }
1607
1607
  };
1608
- }, La = (e) => {
1608
+ }, Ta = (e) => {
1609
1609
  const t = `${e.antCls}-menu`, n = `${e.proComponentsCls}-menu-item`, { layout: a } = te(e), l = e?.layout?.sider;
1610
1610
  return {
1611
1611
  [`${e.proComponentsCls}-basic-layout`]: {
@@ -1663,7 +1663,7 @@ const Ee = (e) => ({
1663
1663
  }
1664
1664
  }
1665
1665
  };
1666
- }, Da = (e) => ({
1666
+ }, Ba = (e) => ({
1667
1667
  [`${e.proComponentsCls}-basic-layout`]: {
1668
1668
  [`${e.antCls}-menu`]: {
1669
1669
  [`${e.proComponentsCls}-menu-item-icon${e.antCls}-menu-item-icon`]: {
@@ -1678,7 +1678,7 @@ function ht(e) {
1678
1678
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Re(e);
1679
1679
  }
1680
1680
  const {
1681
- Sider: Na
1681
+ Sider: Pa
1682
1682
  } = Ce, yt = /* @__PURE__ */ X({
1683
1683
  props: et,
1684
1684
  inheritAttrs: !1,
@@ -1693,19 +1693,19 @@ const {
1693
1693
  menuProps: d,
1694
1694
  layoutStyle: C,
1695
1695
  contentFullScreen: m
1696
- } = q(), f = Tt(), {
1696
+ } = Z(), f = Tt(), {
1697
1697
  token: g
1698
1698
  } = Ie(), {
1699
1699
  breakpoint: F,
1700
- collapsed: h,
1700
+ collapsed: y,
1701
1701
  collapsedWidth: r
1702
- } = Te(e), y = t({
1702
+ } = Te(e), p = t({
1703
1703
  suffixCls: "sider",
1704
1704
  isPor: !0
1705
- }), M = b(() => i.value.layout === "mix" && !n.value && i.value.splitMenus), v = b(() => i.value.layout === "side" || i.value.layout === "simple"), B = b(() => n.value || a.value.isWide ? !1 : i.value.fixSiderbar), p = b(() => (i.value.layout === "mix" || a.value.isWide) && "light" || d.value.baseTheme), {
1705
+ }), M = b(() => i.value.layout === "mix" && !n.value && i.value.splitMenus), v = b(() => i.value.layout === "side" || i.value.layout === "simple"), B = b(() => n.value || a.value.isWide ? !1 : i.value.fixSiderbar), h = b(() => (i.value.layout === "mix" || a.value.isWide) && "light" || d.value.baseTheme), {
1706
1706
  wrapSSR: H,
1707
1707
  hashId: T
1708
- } = ce("ProLayoutSiderMenu", [Da, La, Pa, Zt, (O) => {
1708
+ } = ce("ProLayoutSiderMenu", [Ba, Ta, Fa, Zt, (O) => {
1709
1709
  const z = O?.layout?.sider, _ = Ze("sider", O, O.layout?.key), {
1710
1710
  dark: Q
1711
1711
  } = te(O), A = Qe(O, "sider");
@@ -1720,19 +1720,19 @@ const {
1720
1720
  }
1721
1721
  }
1722
1722
  };
1723
- }], y), x = b(() => i.value.layout === "top" ? [] : d.value.menuData), $ = b(() => e.collapsed ? Y(r.value) : a.value.siderWidth), S = b(() => W([T.value, y, n.value ? "shadow" : null, `${y}-${d.value.theme}`, B.value ? `${y}-fixed` : null])), D = ft(() => i.value.layout === "simple" || !e.appsLogoComponents ? null : typeof e.appsLogoComponents == "function" ? e.appsLogoComponents?.() : e.appsLogoComponents, [() => e.appsLogoComponents]);
1723
+ }], p), x = b(() => i.value.layout === "top" ? [] : d.value.menuData), $ = b(() => e.collapsed ? Y(r.value) : a.value.siderWidth), S = b(() => W([T.value, p, n.value ? "shadow" : null, `${p}-${d.value.theme}`, B.value ? `${p}-fixed` : null])), D = ft(() => i.value.layout === "simple" || !e.appsLogoComponents ? null : typeof e.appsLogoComponents == "function" ? e.appsLogoComponents?.() : e.appsLogoComponents, [() => e.appsLogoComponents]);
1724
1724
  function E() {
1725
- e.onCollapse && e.onCollapse?.(!h.value);
1725
+ e.onCollapse && e.onCollapse?.(!y.value);
1726
1726
  }
1727
1727
  const ne = ft(() => {
1728
1728
  if (e.collapsedButtonRender === !1) return null;
1729
- const O = e.collapsedIconRender, z = e.collapsedButtonRender, _ = o(Ma, {
1729
+ const O = e.collapsedIconRender, z = e.collapsedButtonRender, _ = o(Sa, {
1730
1730
  iconRender: O,
1731
1731
  isMobile: n.value,
1732
- collapsed: h.value,
1732
+ collapsed: y.value,
1733
1733
  onClick: () => E()
1734
1734
  }, null);
1735
- return z ? z?.(!!h.value, _) : _;
1735
+ return z ? z?.(!!y.value, _) : _;
1736
1736
  }, [() => e.collapsedButtonRender, () => n.value, () => e.collapsed]), P = (O) => {
1737
1737
  if (e.onSelect) {
1738
1738
  const z = O.selectedKeys;
@@ -1749,12 +1749,12 @@ const {
1749
1749
  title: i.value.title,
1750
1750
  hashId: T.value,
1751
1751
  layout: i.value.layout,
1752
- baseClassName: y
1752
+ baseClassName: p
1753
1753
  }, se(e, Object.keys(Ne))), {
1754
1754
  default: () => [D.value]
1755
1755
  }), _ = e.menuHeaderRender && e.menuHeaderRender?.(e), Q = e.menuLinksRender, A = e.siderActionsRender, ge = o(Dt, {
1756
- class: `${y}-menu ${T.value}`,
1757
- menuTheme: p.value,
1756
+ class: `${p}-menu ${T.value}`,
1757
+ menuTheme: h.value,
1758
1758
  mode: "inline",
1759
1759
  menuData: M.value ? d.value.flatMenuData : x.value,
1760
1760
  iconfontUrl: i.value.iconfontUrl,
@@ -1794,7 +1794,7 @@ const {
1794
1794
  minWidth: `${Y($.value)}`,
1795
1795
  transition: "all 0.2s ease 0s"
1796
1796
  }
1797
- }, null), o(Na, {
1797
+ }, null), o(Pa, {
1798
1798
  collapsible: !0,
1799
1799
  trigger: null,
1800
1800
  class: S.value,
@@ -1805,67 +1805,67 @@ const {
1805
1805
  height: i.value.layout === "wide" ? `calc(100vh - ${Xe(a.value.headerHeight, 40)})` : void 0,
1806
1806
  ...C.value?.sider || {}
1807
1807
  },
1808
- theme: p.value,
1808
+ theme: h.value,
1809
1809
  breakpoint: F.value || void 0,
1810
- collapsed: h.value,
1810
+ collapsed: y.value,
1811
1811
  width: Xt(a.value.siderWidth),
1812
1812
  collapsedWidth: r.value
1813
1813
  }, {
1814
1814
  default: () => [d.value.loading && o("div", {
1815
- class: [`${y}-loading`, T.value]
1815
+ class: [`${p}-loading`, T.value]
1816
1816
  }, [o(_e, {
1817
1817
  spinning: d.value.loading,
1818
1818
  indicator: f?.indicator?.value
1819
1819
  }, null)]), z || null, o("div", {
1820
- class: `${y}-content`,
1820
+ class: `${p}-content`,
1821
1821
  style: {
1822
1822
  flex: "1 1 0%",
1823
1823
  overflow: "hidden"
1824
1824
  }
1825
1825
  }, [ve(e.menuHeaderRender) && o("div", {
1826
- class: W([T.value, `${y}-extra`, !z && `${y}-extra-no-logo`])
1826
+ class: W([T.value, `${p}-extra`, !z && `${p}-extra-no-logo`])
1827
1827
  }, [_]), o("div", {
1828
1828
  style: {
1829
1829
  flex: "1 1 0%",
1830
1830
  overflow: "hidden auto"
1831
1831
  },
1832
- class: W(`${y}-menu-container`)
1832
+ class: W(`${p}-menu-container`)
1833
1833
  }, [e.menuContentRender && e.menuContentRender?.({
1834
1834
  props: e,
1835
1835
  defaultDom: ge
1836
1836
  }) || ge])]), i.value.layout !== "wide" && o(G, null, [Q && It(Q) && Q.length > 0 && o("div", {
1837
- class: `${y}-links ${T.value}`
1837
+ class: `${p}-links ${T.value}`
1838
1838
  }, [o(ee, {
1839
- theme: p.value,
1839
+ theme: h.value,
1840
1840
  inlineIndent: 16,
1841
- class: `${y}-link-menu ${T.value}`,
1841
+ class: `${p}-link-menu ${T.value}`,
1842
1842
  selectedKeys: [],
1843
1843
  openKeys: [],
1844
1844
  mode: "inline"
1845
1845
  }, ht(O = (Q || []).map((ie, Me) => o(ee.Item, {
1846
- class: `${y}-link ${T.value}`,
1846
+ class: `${p}-link ${T.value}`,
1847
1847
  key: Me
1848
1848
  }, ht(ie) ? ie : {
1849
1849
  default: () => [ie]
1850
1850
  }))) ? O : {
1851
1851
  default: () => [O]
1852
1852
  })]), n.value ? null : A && o("div", {
1853
- class: W(`${y}-actions`, T.value)
1853
+ class: W(`${p}-actions`, T.value)
1854
1854
  }, [A]), e.collapsedType === "sider" && !n.value && o(G, null, [o("div", {
1855
- class: W(`${y}-collapsed-button`, h.value && "collapsed", T.value)
1855
+ class: W(`${p}-collapsed-button`, y.value && "collapsed", T.value)
1856
1856
  }, [o("span", {
1857
1857
  onClick: () => E()
1858
- }, [_t(e.collapsedButtonRender, !!h.value, tt({
1859
- collapsed: h.value,
1858
+ }, [_t(e.collapsedButtonRender, !!y.value, tt({
1859
+ collapsed: y.value,
1860
1860
  iconRender: e.collapsedIconRender
1861
1861
  }))])])])]), e.menuFooterRender && o("div", {
1862
- class: `${y}-footer ${T.value}`
1862
+ class: `${p}-footer ${T.value}`
1863
1863
  }, [e.menuFooterRender?.(e)]), m.value || i.value.layout === "wide" ? null : e.collapsedType === "fixed" && ne.value]
1864
1864
  })]
1865
1865
  }));
1866
1866
  };
1867
1867
  }
1868
- }), ka = /* @__PURE__ */ X({
1868
+ }), La = /* @__PURE__ */ X({
1869
1869
  name: "SiderMenuWrapper",
1870
1870
  inheritAttrs: !1,
1871
1871
  props: {
@@ -1876,7 +1876,7 @@ const {
1876
1876
  setup(e) {
1877
1877
  return () => {
1878
1878
  const t = oe(e, ["siderWidth", "isMobile"]);
1879
- return o(G, null, [e.isMobile ? o(Bn, {
1879
+ return o(G, null, [e.isMobile ? o(Tn, {
1880
1880
  maskClosable: !0,
1881
1881
  open: !e.collapsed,
1882
1882
  closable: !1,
@@ -1901,12 +1901,10 @@ const {
1901
1901
  }) : o(yt, t, null)]);
1902
1902
  };
1903
1903
  }
1904
- }), Qt = Xn({
1905
- storageKey: "gx-pro-theme-appearance"
1906
- }), Ha = En(Qt), {
1907
- provideContext: za,
1908
- useInjectContext: Ml
1909
- } = Be("theme-provider"), Wa = /* @__PURE__ */ X({
1904
+ }), {
1905
+ provideContext: Da,
1906
+ useInjectContext: Rl
1907
+ } = Be("theme-provider"), Na = /* @__PURE__ */ X({
1910
1908
  name: "ThemeProvider",
1911
1909
  props: {
1912
1910
  theme: {
@@ -1928,20 +1926,22 @@ const {
1928
1926
  setup(e, {
1929
1927
  slots: t
1930
1928
  }) {
1931
- const n = document.querySelector("html"), a = Z(), l = Z(e.theme || e.defaultTheme || "system");
1929
+ const n = document.querySelector("html"), a = q(), l = q(e.theme || e.defaultTheme || "system");
1932
1930
  V(() => e.theme, (m) => {
1933
1931
  m && (l.value = m);
1934
1932
  });
1935
1933
  const {
1936
1934
  system: i,
1937
1935
  store: s
1938
- } = Vn();
1936
+ } = Un();
1939
1937
  V(() => i.value, () => {
1940
1938
  d();
1941
1939
  }, {
1942
1940
  immediate: !0
1943
- }), V(a, (m) => {
1944
- e.onChangeBase?.(m), Ha();
1941
+ }), V(() => a.value, (m) => {
1942
+ m && e.onChangeBase?.(m);
1943
+ }, {
1944
+ immediate: !0
1945
1945
  }), V(l, (m) => {
1946
1946
  e.onChange?.(m), d();
1947
1947
  });
@@ -1951,22 +1951,22 @@ const {
1951
1951
  function C(m) {
1952
1952
  l.value = m, d();
1953
1953
  }
1954
- return za({
1954
+ return Da({
1955
1955
  theme: l,
1956
1956
  resolvedTheme: a,
1957
- isDark: Qt,
1957
+ isDark: b(() => a.value === "dark"),
1958
1958
  setTheme: C
1959
1959
  }), () => t.default();
1960
1960
  }
1961
1961
  });
1962
- function Ol(e, t) {
1962
+ function Sl(e, t) {
1963
1963
  if (!(document.startViewTransition && !window.matchMedia("(prefers-reduced-motion: reduce)").matches)) {
1964
1964
  t.setTheme?.(t.isDark ? "dark" : "light");
1965
1965
  return;
1966
1966
  }
1967
1967
  const a = e.getBoundingClientRect(), l = a.left + a.width / 2, i = a.top + a.height / 2, s = Math.hypot(Math.max(l, innerWidth - l), Math.max(i, innerHeight - i)), d = 100 * l / innerWidth, C = 100 * i / innerHeight, m = Math.hypot(innerWidth, innerHeight) / Math.SQRT2, f = 100 * s / m;
1968
1968
  document.startViewTransition(async () => {
1969
- t.setTheme?.(t.isDark ? "dark" : "light"), await cn();
1969
+ t.setTheme?.(t.isDark ? "dark" : "light"), await sn();
1970
1970
  }).ready.then(() => {
1971
1971
  const F = [
1972
1972
  `circle(0% at ${d}% ${C}%)`,
@@ -1983,7 +1983,7 @@ function Ol(e, t) {
1983
1983
  });
1984
1984
  });
1985
1985
  }
1986
- const { provideContext: Aa, useInjectContext: at } = Be("pro-layout-menu"), ja = (e) => {
1986
+ const { provideContext: ka, useInjectContext: at } = Be("pro-layout-menu"), Ha = (e) => {
1987
1987
  const { layout: t } = te(e);
1988
1988
  return {
1989
1989
  [`${e.proComponentsCls}-header`]: {
@@ -2079,12 +2079,12 @@ const { provideContext: Aa, useInjectContext: at } = Be("pro-layout-menu"), ja =
2079
2079
  }
2080
2080
  }
2081
2081
  };
2082
- }, Ka = ["mix", "top", "wide"], Ua = /* @__PURE__ */ X({
2082
+ }, za = ["mix", "top", "wide"], Wa = /* @__PURE__ */ X({
2083
2083
  props: ke,
2084
2084
  setup(e) {
2085
2085
  return () => e.rightContentRender && typeof e.rightContentRender == "function" ? e.rightContentRender(e) : o(G, null, null);
2086
2086
  }
2087
- }), Xa = /* @__PURE__ */ X({
2087
+ }), Aa = /* @__PURE__ */ X({
2088
2088
  props: ke,
2089
2089
  inheritAttrs: !1,
2090
2090
  setup(e, {
@@ -2101,26 +2101,26 @@ const { provideContext: Aa, useInjectContext: at } = Be("pro-layout-menu"), ja =
2101
2101
  menuProps: f,
2102
2102
  breadcrumb: g,
2103
2103
  breadcrumbRender: F
2104
- } = q(), h = i({
2104
+ } = Z(), y = i({
2105
2105
  suffixCls: "global-header",
2106
2106
  isPor: !0
2107
2107
  }), {
2108
2108
  wrapSSR: r,
2109
- hashId: y
2110
- } = ce("ProGlobalHeader", [ja, Zt], h), M = b(() => s.value.layout === "side" || s.value.layout === "simple"), v = b(() => M.value && "light" || f.value.baseTheme), B = b(() => ({
2111
- [`${y.value}`]: !0,
2112
- [`${h}`]: !0,
2113
- [`${h}-${s.value.layout}`]: !0
2114
- })), p = b(() => s.value.splitMenus && s.value.layout === "mix" ? fa(xe(f.value.menuData)) : s.value.layout === "top" ? f.value.menuData : []), H = ($, S, D) => {
2109
+ hashId: p
2110
+ } = ce("ProGlobalHeader", [Ha, Zt], y), M = b(() => s.value.layout === "side" || s.value.layout === "simple"), v = b(() => M.value && "light" || f.value.baseTheme), B = b(() => ({
2111
+ [`${p.value}`]: !0,
2112
+ [`${y}`]: !0,
2113
+ [`${y}-${s.value.layout}`]: !0
2114
+ })), h = b(() => s.value.splitMenus && s.value.layout === "mix" ? ua(xe(f.value.menuData)) : s.value.layout === "top" ? f.value.menuData : []), H = ($, S, D) => {
2115
2115
  const E = n?.currentRoute?.value, ne = s.value.layout === "mix", P = a?.matchedMenu?.value || jt({
2116
- menuData: p.value,
2116
+ menuData: h.value,
2117
2117
  levelMenuData: f.value.levelMenuData
2118
2118
  }, {
2119
2119
  path: zt(E),
2120
2120
  name: E?.name
2121
2121
  });
2122
2122
  if (e.onSelect && $ === "select") {
2123
- const O = p.value.find((z) => z.name === D)?.redirect;
2123
+ const O = h.value.find((z) => z.name === D)?.redirect;
2124
2124
  e.onSelect(ne && O ? P.map((z) => z.name) : S);
2125
2125
  }
2126
2126
  e.onOpenKeys && $ === "openKeys" && e.onOpenKeys(ne ? P.filter((O) => O.name !== E?.name).map((O) => O.name) : S);
@@ -2135,8 +2135,8 @@ const { provideContext: Aa, useInjectContext: at } = Be("pro-layout-menu"), ja =
2135
2135
  style: {
2136
2136
  flex: 1
2137
2137
  },
2138
- class: [`${h}-menu`, y.value]
2139
- }, [p.value?.length > 0 && o(Ge, {
2138
+ class: [`${y}-menu`, p.value]
2139
+ }, [h.value?.length > 0 && o(Ge, {
2140
2140
  theme: {
2141
2141
  components: {
2142
2142
  Layout: {
@@ -2161,7 +2161,7 @@ const { provideContext: Aa, useInjectContext: at } = Be("pro-layout-menu"), ja =
2161
2161
  default: () => [o(Dt, {
2162
2162
  mode: "horizontal",
2163
2163
  menuTheme: v.value,
2164
- menuData: p.value,
2164
+ menuData: h.value,
2165
2165
  openKeys: C.value,
2166
2166
  selectedKeys: m.value,
2167
2167
  iconfontUrl: s.value?.iconfontUrl,
@@ -2171,7 +2171,7 @@ const { provideContext: Aa, useInjectContext: at } = Be("pro-layout-menu"), ja =
2171
2171
  onOpenKeys: (S) => H("openKeys", S)
2172
2172
  }, null)]
2173
2173
  })]);
2174
- return o(G, null, [$, s.value.layout !== "simple" && o(Ua, U(e, {
2174
+ return o(G, null, [$, s.value.layout !== "simple" && o(Wa, U(e, {
2175
2175
  extraRightDropdownRender: e.extraRightDropdownRender,
2176
2176
  rightContentRender: e.rightContentRender
2177
2177
  }), null)]);
@@ -2183,22 +2183,22 @@ const { provideContext: Aa, useInjectContext: at } = Be("pro-layout-menu"), ja =
2183
2183
  }));
2184
2184
  return r(o("div", {
2185
2185
  class: B.value
2186
- }, [d.value ? o(G, null, [$a(e.logoRender, Oa(W([`${h}-logo`, d.value && "mobile", y.value]), e)), e.collapsedButtonRender !== !1 && o("span", {
2187
- class: `${h}-collapsed-button ${y.value}`,
2186
+ }, [d.value ? o(G, null, [Ia(e.logoRender, wa(W([`${y}-logo`, d.value && "mobile", p.value]), e)), e.collapsedButtonRender !== !1 && o("span", {
2187
+ class: `${y}-collapsed-button ${p.value}`,
2188
2188
  onClick: T
2189
2189
  }, [$]), x()]) : o("div", {
2190
- class: `${h}-main ${y.value}`,
2190
+ class: `${y}-main ${p.value}`,
2191
2191
  style: {
2192
2192
  width: e.headerMainWidth || e.headerMainWidth === 0 ? Y(e.headerMainWidth) : s.value.layout === "wide" ? J(s.value.wideWidth) : void 0
2193
2193
  }
2194
2194
  }, [o("div", {
2195
- class: `${h}-main-left ${y.value}`
2195
+ class: `${y}-main-left ${p.value}`
2196
2196
  }, [e.collapsedType === "header" && M.value && (s.value.layout !== "mix" ? f.value.menuData : f.value.flatMenuData).length > 0 && o("div", {
2197
- class: `${h}-collapsed-button ${y.value}`,
2197
+ class: `${y}-collapsed-button ${p.value}`,
2198
2198
  onClick: T
2199
- }, [$]), Ka.includes(s.value.layout) && o(G, null, [s.value.layout !== "wide" && e.appsLogoComponents && o(G, null, [typeof e.appsLogoComponents == "function" ? e.appsLogoComponents?.() : e.appsLogoComponents]), o(nt, U({
2200
- hashId: y.value,
2201
- baseClassName: h
2199
+ }, [$]), za.includes(s.value.layout) && o(G, null, [s.value.layout !== "wide" && e.appsLogoComponents && o(G, null, [typeof e.appsLogoComponents == "function" ? e.appsLogoComponents?.() : e.appsLogoComponents]), o(nt, U({
2200
+ hashId: p.value,
2201
+ baseClassName: y
2202
2202
  }, e, {
2203
2203
  title: s.value.title
2204
2204
  }), null)]), g.value?.position === "header" && s.value.layout === "side" && o(Nt, {
@@ -2207,12 +2207,12 @@ const { provideContext: Aa, useInjectContext: at } = Be("pro-layout-menu"), ja =
2207
2207
  };
2208
2208
  }
2209
2209
  });
2210
- function Ea(e) {
2210
+ function ja(e) {
2211
2211
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Re(e);
2212
2212
  }
2213
2213
  const {
2214
2214
  Header: bt
2215
- } = Ce, Va = /* @__PURE__ */ X({
2215
+ } = Ce, Ka = /* @__PURE__ */ X({
2216
2216
  name: "GlobalHeader",
2217
2217
  inheritAttrs: !1,
2218
2218
  props: ke,
@@ -2226,7 +2226,7 @@ const {
2226
2226
  settings: i,
2227
2227
  isMobile: s,
2228
2228
  layoutProps: d
2229
- } = q(), C = n({
2229
+ } = Z(), C = n({
2230
2230
  suffixCls: "header",
2231
2231
  isPor: !0
2232
2232
  }), m = n({
@@ -2234,27 +2234,27 @@ const {
2234
2234
  isPor: !0
2235
2235
  }), f = b(() => i.value.fixedHeader), g = b(() => i.value.layout === "side" || i.value.layout === "simple"), {
2236
2236
  wrapSSR: F,
2237
- hashId: h
2238
- } = we("ProLayoutHeader", (p) => {
2239
- const H = p.layout?.header, T = Ze("header", p, p.layout?.key), x = Qe(p, "header");
2237
+ hashId: y
2238
+ } = we("ProLayoutHeader", (h) => {
2239
+ const H = h.layout?.header, T = Ze("header", h, h.layout?.key), x = Qe(h, "header");
2240
2240
  return {
2241
- [`${p.proComponentsCls}-basic-layout`]: {
2242
- [`${p.antCls}-layout-header${p.componentCls}${p.componentCls}-${Oe(a.value.key)}`]: {
2243
- color: x ? p.colorWhite : p.colorText,
2241
+ [`${h.proComponentsCls}-basic-layout`]: {
2242
+ [`${h.antCls}-layout-header${h.componentCls}${h.componentCls}-${Oe(a.value.key)}`]: {
2243
+ color: x ? h.colorWhite : h.colorText,
2244
2244
  backgroundColor: H?.colorBgMenu || T?.colorBgMenu,
2245
2245
  boxShadow: t.value ? "#0d0d0da6 0 2px 8px" : "",
2246
- [`${p.proComponentsCls}-global-header-collapsed-button`]: {
2247
- color: x ? p.colorWhite : void 0
2246
+ [`${h.proComponentsCls}-global-header-collapsed-button`]: {
2247
+ color: x ? h.colorWhite : void 0
2248
2248
  }
2249
2249
  },
2250
- [`${p.antCls}-layout-header${p.componentCls}`]: {
2250
+ [`${h.antCls}-layout-header${h.componentCls}`]: {
2251
2251
  zIndex: 19,
2252
2252
  paddingBlock: 0,
2253
2253
  paddingInline: 0,
2254
2254
  WebkitBackdropFilter: "blur(8px)",
2255
2255
  backdropFilter: "blur(8px)",
2256
2256
  transition: "background-color 0.2s cubic-bezier(.645,.045,.355,1)",
2257
- [`&${p.proComponentsCls}`]: {
2257
+ [`&${h.proComponentsCls}`]: {
2258
2258
  "&-fixed-header": {
2259
2259
  position: "fixed",
2260
2260
  width: "100%",
@@ -2274,7 +2274,7 @@ const {
2274
2274
  paddingBlock: 0,
2275
2275
  paddingInline: 8,
2276
2276
  "&:hover": {
2277
- color: p.colorText
2277
+ color: h.colorText
2278
2278
  }
2279
2279
  }
2280
2280
  },
@@ -2286,25 +2286,25 @@ const {
2286
2286
  }
2287
2287
  };
2288
2288
  }, C), r = b(() => ({
2289
- [`${h.value}`]: !0,
2289
+ [`${y.value}`]: !0,
2290
2290
  [`${C}`]: !0,
2291
2291
  [`${C}-${a.value.key}`]: !0,
2292
2292
  [`${m}`]: f.value
2293
- })), y = b(() => f.value && !s.value), M = b(() => {
2294
- const p = e.collapsed ? e.collapsedWidth : d.value.siderWidth;
2295
- return g.value && y.value ? e.collapsed ? p ? `calc(100% - ${Y(p)})` : "100%" : p ? `calc(100% - ${Y(p)})` : "100%" : "100%";
2293
+ })), p = b(() => f.value && !s.value), M = b(() => {
2294
+ const h = e.collapsed ? e.collapsedWidth : d.value.siderWidth;
2295
+ return g.value && p.value ? e.collapsed ? h ? `calc(100% - ${Y(h)})` : "100%" : h ? `calc(100% - ${Y(h)})` : "100%" : "100%";
2296
2296
  }), v = b(() => f.value ? 0 : void 0), B = () => {
2297
- const p = o(Xa, U(e, {
2297
+ const h = o(Aa, U(e, {
2298
2298
  onCollapse: e.onCollapse,
2299
2299
  headerContentRender: e.headerContentRender
2300
2300
  }), null);
2301
2301
  return e.headerRender ? e.headerRender({
2302
2302
  props: e,
2303
- defaultDom: p
2304
- }) : p;
2303
+ defaultDom: h
2304
+ }) : h;
2305
2305
  };
2306
2306
  return () => {
2307
- let p;
2307
+ let h;
2308
2308
  return F(o(G, null, [f.value && !d.value.isWide && o(bt, {
2309
2309
  style: {
2310
2310
  height: `${d.value.headerHeight}`,
@@ -2322,17 +2322,17 @@ const {
2322
2322
  right: v.value,
2323
2323
  marginTop: l.value ? `-${d.value.headerHeight}` : void 0
2324
2324
  }
2325
- }, Ea(p = B()) ? p : {
2326
- default: () => [p]
2325
+ }, ja(h = B()) ? h : {
2326
+ default: () => [h]
2327
2327
  })]));
2328
2328
  };
2329
2329
  }
2330
- }), Jt = ["menuLinksRender", "appsLogoComponents", "siderActionsRender"], en = ["appsLogoComponents", "extraRightDropdownRender"], tn = Mn([
2331
- ...en,
2330
+ }), Qt = ["menuLinksRender", "appsLogoComponents", "siderActionsRender"], Jt = ["appsLogoComponents", "extraRightDropdownRender"], en = In([
2332
2331
  ...Jt,
2332
+ ...Qt,
2333
2333
  "pageHeaderRender",
2334
2334
  "copyrightRender"
2335
- ]), Ya = [
2335
+ ]), Ua = [
2336
2336
  "footerRender",
2337
2337
  "menuExtraRender",
2338
2338
  "menuFooterRender",
@@ -2345,8 +2345,8 @@ const {
2345
2345
  "breadcrumbRender",
2346
2346
  "collapsedButtonRender"
2347
2347
  ];
2348
- [...tn, ...Ya];
2349
- function nn(e) {
2348
+ [...en, ...Ua];
2349
+ function tn(e) {
2350
2350
  return o("svg", U({
2351
2351
  xmlns: "http://www.w3.org/2000/svg",
2352
2352
  width: "1em",
@@ -2357,7 +2357,7 @@ function nn(e) {
2357
2357
  d: "m238.15 78.54l-60.69-60.68a20 20 0 0 0-28.3 0L97.2 70c-12.43-3.33-36.68-5.72-61.74 14.5a20 20 0 0 0-1.6 29.73l45.46 45.47l-39.8 39.8a12 12 0 0 0 17 17l39.8-39.81l45.47 45.46a20 20 0 0 0 14.12 5.85c.46 0 .93 0 1.4-.05a20 20 0 0 0 14.56-7.95c4.69-6.23 11-16.13 14.44-28s3.45-22.88.16-33.4l51.7-51.87a20 20 0 0 0-.02-28.19m-74.26 68.79a12 12 0 0 0-2.23 13.84c3.43 6.86 6.9 21-6.28 40.65L54.08 100.53c21.09-14.59 39.53-6.64 41-6a11.67 11.67 0 0 0 13.81-2.29l54.43-54.61l55 55Z"
2358
2358
  }, null)]);
2359
2359
  }
2360
- function _a(e) {
2360
+ function Xa(e) {
2361
2361
  return o("svg", U({
2362
2362
  xmlns: "http://www.w3.org/2000/svg",
2363
2363
  width: "1em",
@@ -2368,7 +2368,7 @@ function _a(e) {
2368
2368
  d: "M56.88 31.93a12 12 0 1 0-17.76 16.14L60 71a76 76 0 0 0-24.54 13.51a20 20 0 0 0-1.6 29.73l45.46 45.47l-39.8 39.8a12 12 0 0 0 17 17l39.8-39.81l45.47 45.46A20 20 0 0 0 155.9 228c.47 0 .94 0 1.41-.05a20 20 0 0 0 14.56-7.95a97.5 97.5 0 0 0 9.54-15.46l17.72 19.49a12 12 0 1 0 17.76-16.14Zm98.49 169.88L54.08 100.52C62 95 70.31 92.12 78.91 91.83l84.51 93a62 62 0 0 1-8.05 16.98m82.78-95l-39 39.11a12 12 0 1 1-17-16.95l36.19-36.3l-55-55l-32.75 32.83a12 12 0 0 1-17-16.94l35.57-35.69a20 20 0 0 1 28.3 0l60.69 60.68a20 20 0 0 1 0 28.28Z"
2369
2369
  }, null)]);
2370
2370
  }
2371
- const vt = 40, Ga = (e) => {
2371
+ const vt = 40, Ea = (e) => {
2372
2372
  const t = Pe(e, e.colorBgBase);
2373
2373
  return {
2374
2374
  [`${e.componentTitleCls}`]: {
@@ -2524,20 +2524,20 @@ const vt = 40, Ga = (e) => {
2524
2524
  }
2525
2525
  };
2526
2526
  };
2527
- function qa(e) {
2527
+ function Va(e) {
2528
2528
  return we("ProMultiTabs", (t) => {
2529
2529
  const n = qe(t, {
2530
2530
  componentWrapCls: `${t.componentCls}-wrap`,
2531
2531
  componentTitleCls: `${t.componentCls}-title`
2532
2532
  });
2533
- return [Ga(n)];
2533
+ return [Ea(n)];
2534
2534
  }, e);
2535
2535
  }
2536
- const Za = [{
2536
+ const Ya = [{
2537
2537
  key: "fixed",
2538
2538
  label: "置顶",
2539
2539
  icon: (e) => o(xt, {
2540
- component: e ? _a : nn
2540
+ component: e ? Xa : tn
2541
2541
  }, null)
2542
2542
  }, {
2543
2543
  key: "close",
@@ -2553,44 +2553,44 @@ const Za = [{
2553
2553
  }, {
2554
2554
  key: "newBlank",
2555
2555
  label: "新窗口打开",
2556
- icon: o(vn, null, null)
2556
+ icon: o(bn, null, null)
2557
2557
  }, {
2558
2558
  key: "divider"
2559
2559
  }, {
2560
2560
  key: "closeLeftTabs",
2561
2561
  label: "关闭左侧",
2562
- icon: o(Cn, null, null)
2562
+ icon: o(vn, null, null)
2563
2563
  }, {
2564
2564
  key: "closeRightTabs",
2565
2565
  label: "关闭右侧",
2566
- icon: o(xn, null, null)
2566
+ icon: o(Cn, null, null)
2567
2567
  }, {
2568
2568
  key: "divider"
2569
2569
  }, {
2570
2570
  key: "closeOthersTabs",
2571
2571
  label: "关闭其他",
2572
- icon: o(Rn, {
2572
+ icon: o(xn, {
2573
2573
  rotate: 90
2574
2574
  }, null)
2575
2575
  }, {
2576
2576
  key: "closeAllTabs",
2577
2577
  label: "关闭全部",
2578
- icon: o(Sn, null, null)
2578
+ icon: o(Rn, null, null)
2579
2579
  }];
2580
- function Qa(e, t) {
2580
+ function _a(e, t) {
2581
2581
  const {
2582
2582
  fixed: n
2583
2583
  } = t.tabs, a = me(n) ? n : n === 0;
2584
2584
  return e.key === "fixed" ? a ? "取消置顶" : "置顶" : e.key === "fullScreen" ? t.fullScreen ? "还原" : "最大化" : e.label;
2585
2585
  }
2586
- function Ja(e) {
2586
+ function Ga(e) {
2587
2587
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Re(e);
2588
2588
  }
2589
- const eo = Ft.TabPane, to = ee.Item;
2589
+ const qa = Ft.TabPane, Za = ee.Item;
2590
2590
  function N(e) {
2591
2591
  return e.name;
2592
2592
  }
2593
- const no = /* @__PURE__ */ X({
2593
+ const Qa = /* @__PURE__ */ X({
2594
2594
  props: Yt,
2595
2595
  inheritAttrs: !1,
2596
2596
  setup(e, {
@@ -2599,7 +2599,7 @@ const no = /* @__PURE__ */ X({
2599
2599
  const {
2600
2600
  fixedTabsBar: n,
2601
2601
  storage: a
2602
- } = Te(e), l = Z(!1), i = be({
2602
+ } = Te(e), l = q(!1), i = be({
2603
2603
  activeKey: "",
2604
2604
  contextMenuActiveKey: ""
2605
2605
  }), s = Se(), {
@@ -2609,33 +2609,33 @@ const no = /* @__PURE__ */ X({
2609
2609
  layoutProps: f,
2610
2610
  contentFullScreen: g,
2611
2611
  settings: F,
2612
- menuProps: h,
2612
+ menuProps: y,
2613
2613
  renderRouterView: r,
2614
- getPrefixCls: y
2615
- } = q(), M = at(), v = y({
2614
+ getPrefixCls: p
2615
+ } = Z(), M = at(), v = p({
2616
2616
  isPor: !0,
2617
2617
  suffixCls: "tabs-route"
2618
2618
  }), {
2619
2619
  wrapSSR: B,
2620
- hashId: p
2621
- } = qa(v), H = Yn(v, {
2620
+ hashId: h
2621
+ } = Va(v), H = Xn(v, {
2622
2622
  fixed: [],
2623
2623
  normal: []
2624
2624
  });
2625
2625
  function T(c) {
2626
- return M?.menuMap?.value?.get(c.name) || h.value?.levelMenuData?.some((R) => R.name === c.name);
2626
+ return M?.menuMap?.value?.get(c.name) || y.value?.levelMenuData?.some((R) => R.name === c.name);
2627
2627
  }
2628
2628
  const x = be({
2629
2629
  fixed: a.value && H.value?.fixed ? H.value?.fixed : [],
2630
2630
  normal: a.value && H.value?.normal ? H.value?.normal : []
2631
2631
  });
2632
- V(() => h.value.levelMenuData, () => {
2632
+ V(() => y.value.levelMenuData, () => {
2633
2633
  x.fixed.length && (x.fixed = x.fixed.filter((c) => T(c))), x.normal.length && (x.normal = x.normal.filter((c) => T(c)));
2634
2634
  }, {
2635
2635
  immediate: !0,
2636
2636
  deep: !0
2637
2637
  }), V(a, (c) => {
2638
- H.value = c ? xe(un(x)) : {
2638
+ H.value = c ? xe(cn(x)) : {
2639
2639
  fixed: [],
2640
2640
  normal: []
2641
2641
  };
@@ -2643,10 +2643,10 @@ const no = /* @__PURE__ */ X({
2643
2643
  immediate: !0
2644
2644
  });
2645
2645
  const $ = b(() => x.fixed.concat(x.normal)), S = b(() => F.value.layout === "mix" && !d.value && F.value.splitMenus), D = b(() => N(s?.currentRoute?.value)), E = b(() => n.value && !d.value), ne = b(() => {
2646
- const c = !(S.value && h.value.flatMenuData.length === 0 || h.value.menuData.length === 0 || F.value.layout === "top");
2646
+ const c = !(S.value && y.value.flatMenuData.length === 0 || y.value.menuData.length === 0 || F.value.layout === "top");
2647
2647
  return E.value && c ? g.value ? "100%" : `calc(100% - ${C.value ? Y(m.value) : Y(f.value.siderWidth)})` : "100%";
2648
2648
  }), P = b(() => W(`${v}-wrap`, {
2649
- [`${p.value}`]: !0,
2649
+ [`${h.value}`]: !0,
2650
2650
  [`${v}-wrap-${e.type}`]: e.type,
2651
2651
  [`${v}-wrap-fixed`]: n.value,
2652
2652
  [`${v}-wrap-loading`]: e.loading
@@ -2695,7 +2695,7 @@ const no = /* @__PURE__ */ X({
2695
2695
  A(R) && ge(Oe(R));
2696
2696
  });
2697
2697
  };
2698
- V(() => h.value.levelMenuData, (c) => {
2698
+ V(() => y.value.levelMenuData, (c) => {
2699
2699
  ie(c);
2700
2700
  }, {
2701
2701
  deep: !0,
@@ -2733,19 +2733,19 @@ const no = /* @__PURE__ */ X({
2733
2733
  type: "remove",
2734
2734
  params: w
2735
2735
  }), R?.(w));
2736
- }, an = () => {
2736
+ }, nn = () => {
2737
2737
  x.fixed = [], x.normal = [];
2738
2738
  }, rt = async (c) => {
2739
2739
  lt(c, (R) => {
2740
2740
  Q(R) && it();
2741
2741
  });
2742
- }, on = (c) => {
2742
+ }, an = (c) => {
2743
2743
  const R = $.value.find((w) => N(w) === c);
2744
2744
  R && i.activeKey !== N(R) && s.push({
2745
2745
  path: Me(N(R)),
2746
2746
  ...ze(R)
2747
2747
  });
2748
- }, ln = _n(() => {
2748
+ }, on = En(() => {
2749
2749
  r.value = !1, l.value = !0, e.onReloadPage && e.onReloadPage?.(), setTimeout(() => {
2750
2750
  r.value = !0;
2751
2751
  }, 200), setTimeout(() => {
@@ -2792,7 +2792,7 @@ const no = /* @__PURE__ */ X({
2792
2792
  x.normal = x.normal.filter((j) => A(j)), it();
2793
2793
  break;
2794
2794
  case "reloadPage":
2795
- (w === 0 || w) && i.activeKey === pe(R) && ln();
2795
+ (w === 0 || w) && i.activeKey === pe(R) && on();
2796
2796
  break;
2797
2797
  case "newBlank":
2798
2798
  window.open(location.href);
@@ -2801,7 +2801,7 @@ const no = /* @__PURE__ */ X({
2801
2801
  g.value = !g.value;
2802
2802
  break;
2803
2803
  }
2804
- }, rn = (c, R) => {
2804
+ }, ln = (c, R) => {
2805
2805
  const w = $.value.findIndex((L) => N(L) === R);
2806
2806
  if (c === "closeOthersTabs")
2807
2807
  return $.value.filter((I, k) => k !== w && !A(I)).length === 0;
@@ -2818,20 +2818,20 @@ const no = /* @__PURE__ */ X({
2818
2818
  return o(ee, {
2819
2819
  selectedKeys: [],
2820
2820
  onClick: (I) => Ae(I.key, L)
2821
- }, Ja(R = Za.map((I) => {
2821
+ }, Ga(R = Ya.map((I) => {
2822
2822
  if (I.key === "divider") return o(ee.Divider, {
2823
2823
  key: I.key
2824
2824
  }, null);
2825
2825
  const k = I.icon;
2826
- return I.key === "close" && A(_(w)) ? null : o(to, {
2826
+ return I.key === "close" && A(_(w)) ? null : o(Za, {
2827
2827
  key: I.key,
2828
- disabled: rn(I.key, w)
2828
+ disabled: ln(I.key, w)
2829
2829
  }, {
2830
2830
  default: () => [I.icon && typeof I.icon == "function" ? I.key === "fullScreen" ? I.icon(g.value) : I.key === "fixed" ? I.icon(A(_(w))) : null : o(k, null, null), o("span", {
2831
2831
  style: {
2832
2832
  marginInlineStart: "8px"
2833
2833
  }
2834
- }, [Qa(I, {
2834
+ }, [_a(I, {
2835
2835
  tabs: _(w)?.meta?.tabState || {},
2836
2836
  fullScreen: g.value
2837
2837
  })])]
@@ -2839,7 +2839,7 @@ const no = /* @__PURE__ */ X({
2839
2839
  })) ? R : {
2840
2840
  default: () => [R]
2841
2841
  });
2842
- }, sn = ({
2842
+ }, rn = ({
2843
2843
  router: c
2844
2844
  }) => {
2845
2845
  const R = e.itemRender ? e.itemRender(c) : null, w = A(c);
@@ -2854,12 +2854,12 @@ const no = /* @__PURE__ */ X({
2854
2854
  }
2855
2855
  }, {
2856
2856
  default: () => [R || o("div", {
2857
- class: [`${v}-title`, p.value]
2857
+ class: [`${v}-title`, h.value]
2858
2858
  }, [c.meta?.title, w && o(xt, {
2859
- class: [`${v}-icon`, p.value],
2860
- component: nn
2859
+ class: [`${v}-icon`, h.value],
2860
+ component: tn
2861
2861
  }, null), $.value.length > 1 && !A(c) && o($e, {
2862
- class: [`${v}-close-btn`, p.value],
2862
+ class: [`${v}-close-btn`, h.value],
2863
2863
  onClick: (L) => {
2864
2864
  L.stopPropagation(), rt(N(c) || "");
2865
2865
  }
@@ -2867,7 +2867,7 @@ const no = /* @__PURE__ */ X({
2867
2867
  });
2868
2868
  };
2869
2869
  return t({
2870
- clean: an,
2870
+ clean: nn,
2871
2871
  close: lt,
2872
2872
  change: ot
2873
2873
  }), () => {
@@ -2876,25 +2876,25 @@ const no = /* @__PURE__ */ X({
2876
2876
  style: {
2877
2877
  display: O.value ? void 0 : "none"
2878
2878
  },
2879
- class: [`${v}-fixed`, p.value]
2879
+ class: [`${v}-fixed`, h.value]
2880
2880
  }, null), o(Ft, {
2881
2881
  hideAdd: !0,
2882
2882
  style: z.value,
2883
2883
  class: P.value,
2884
2884
  activeKey: i.activeKey,
2885
- onTabClick: on
2885
+ onTabClick: an
2886
2886
  }, {
2887
- default: () => [$.value.map((R) => o(eo, {
2887
+ default: () => [$.value.map((R) => o(qa, {
2888
2888
  key: N(R),
2889
2889
  closable: !1,
2890
- tab: o(sn, {
2890
+ tab: o(rn, {
2891
2891
  router: R
2892
2892
  }, null)
2893
2893
  }, null))],
2894
2894
  rightExtra: () => o("div", {
2895
- class: W(`${v}-dropdown-menu`, p.value)
2895
+ class: W(`${v}-dropdown-menu`, h.value)
2896
2896
  }, [o(wt, {
2897
- class: [`${v}-dropdown-menu-btn`, p.value],
2897
+ class: [`${v}-dropdown-menu-btn`, h.value],
2898
2898
  onClick: () => Ae("reloadPage", "activeKey")
2899
2899
  }, null), o(mt, {
2900
2900
  overlay: o(st, {
@@ -2902,17 +2902,17 @@ const no = /* @__PURE__ */ X({
2902
2902
  stateType: "activeKey"
2903
2903
  }, null)
2904
2904
  }, {
2905
- default: () => [o(wn, {
2906
- class: [`${v}-dropdown-menu-btn`, p.value]
2905
+ default: () => [o(Sn, {
2906
+ class: [`${v}-dropdown-menu-btn`, h.value]
2907
2907
  }, null)]
2908
2908
  }), o(c, {
2909
- class: [`${v}-dropdown-menu-btn`, p.value],
2909
+ class: [`${v}-dropdown-menu-btn`, h.value],
2910
2910
  onClick: () => Ae("fullScreen", "activeKey")
2911
2911
  }, null)])
2912
2912
  })]));
2913
2913
  };
2914
2914
  }
2915
- }), ao = ["isChildrenLayout", "loading", "onTabsChange", "onReloadPage"], oo = /* @__PURE__ */ X({
2915
+ }), Ja = ["isChildrenLayout", "loading", "onTabsChange", "onReloadPage"], eo = /* @__PURE__ */ X({
2916
2916
  inheritAttrs: !1,
2917
2917
  displayName: "wrap-content",
2918
2918
  props: {
@@ -2931,7 +2931,7 @@ const no = /* @__PURE__ */ X({
2931
2931
  layoutProps: l,
2932
2932
  settings: i,
2933
2933
  fullScreenOnTabsHide: s
2934
- } = q(), d = b(() => me(e.tabsRoute?.visible) ? e.tabsRoute?.visible : !(a.value && s.value));
2934
+ } = Z(), d = b(() => me(e.tabsRoute?.visible) ? e.tabsRoute?.visible : !(a.value && s.value));
2935
2935
  return () => {
2936
2936
  if (e.isChildrenLayout)
2937
2937
  return t.default?.();
@@ -2943,7 +2943,7 @@ const no = /* @__PURE__ */ X({
2943
2943
  } = e;
2944
2944
  return o("div", {
2945
2945
  class: W(`${C}-container`, m, l.value.siderWidth && `${C}-container-has-silder`)
2946
- }, [!i.value.showTabsBar || l.value.isWide || i.value.layout === "simple" ? null : o(no, U({
2946
+ }, [!i.value.showTabsBar || l.value.isWide || i.value.layout === "simple" ? null : o(Qa, U({
2947
2947
  ref: n
2948
2948
  }, g, e.tabsRoute, {
2949
2949
  visible: d.value
@@ -2951,8 +2951,8 @@ const no = /* @__PURE__ */ X({
2951
2951
  };
2952
2952
  }
2953
2953
  }), {
2954
- Content: io
2955
- } = Ce, lo = /* @__PURE__ */ X({
2954
+ Content: to
2955
+ } = Ce, no = /* @__PURE__ */ X({
2956
2956
  name: "BaseProLayout",
2957
2957
  inheritAttrs: !1,
2958
2958
  props: He,
@@ -2965,22 +2965,22 @@ const no = /* @__PURE__ */ X({
2965
2965
  suffixCls: "basic-layout",
2966
2966
  isPor: !0
2967
2967
  });
2968
- Gn(ha);
2968
+ Vn(fa);
2969
2969
  const {
2970
2970
  wrapSSR: l,
2971
2971
  hashId: i
2972
- } = ce("ProLayout", [Ta, Ba], a), s = jn(), d = at(), C = Kn({
2972
+ } = ce("ProLayout", [Oa, $a], a), s = An(), d = at(), C = jn({
2973
2973
  slots: t,
2974
2974
  props: e,
2975
- keys: tn,
2975
+ keys: en,
2976
2976
  render: !0
2977
2977
  }), {
2978
2978
  dark: m
2979
- } = Ie(), f = Z(), g = Z(!0), F = Z(!1), h = Z(!1), r = Z(), y = Z(Ke().uuid(10)), M = be({
2979
+ } = Ie(), f = q(), g = q(!0), F = q(!1), y = q(!1), r = q(), p = q(Ke().uuid(10)), M = be({
2980
2980
  position: "relative"
2981
2981
  }), v = b(() => {
2982
2982
  let S = 0;
2983
- return h.value ? S = 0 : e.settings.siderWidth || e.settings.siderWidth === 0 ? S = e.settings.siderWidth === 0 ? 0 : J(e.settings.siderWidth) : e.settings.layout === "wide" ? S = 208 : S = J(K.siderWidth), {
2983
+ return y.value ? S = 0 : e.settings.siderWidth || e.settings.siderWidth === 0 ? S = e.settings.siderWidth === 0 ? 0 : J(e.settings.siderWidth) : e.settings.layout === "wide" ? S = 208 : S = J(K.siderWidth), {
2984
2984
  isWide: e.settings.layout === "wide",
2985
2985
  headerHeight: e.settings.headerHeight || e.settings.headerHeight === 0 ? e.settings.headerHeight === 0 ? 0 : J(e.settings.headerHeight) : J(K.headerHeight),
2986
2986
  siderWidth: S,
@@ -2994,9 +2994,9 @@ const no = /* @__PURE__ */ X({
2994
2994
  levelMenuData: D,
2995
2995
  key: Pt(m.value, e.settings?.menuTheme),
2996
2996
  baseTheme: m.value ? "dark" : e.settings.menuTheme,
2997
- flatMenuData: v.value.hasSilder && e?.selectedKeys ? ga(S, e.selectedKeys[0]) : []
2997
+ flatMenuData: v.value.hasSilder && e?.selectedKeys ? da(S, e.selectedKeys[0]) : []
2998
2998
  };
2999
- }), p = b(() => (s.value === "sm" || s.value === "xs") && !e.disableMobile && !v.value.isWide), H = b(() => ({
2999
+ }), h = b(() => (s.value === "sm" || s.value === "xs") && !e.disableMobile && !v.value.isWide), H = b(() => ({
3000
3000
  position: e.breadcrumb?.position && Ve(e.breadcrumb?.position) ? e.breadcrumb?.position : e.settings.layout === "side" ? "header" : "pageHeader",
3001
3001
  ...oe(e.breadcrumb || {}, "position"),
3002
3002
  itemRender: Fe({
@@ -3008,7 +3008,7 @@ const no = /* @__PURE__ */ X({
3008
3008
  })
3009
3009
  }));
3010
3010
  V([() => e.settings.layout, () => e.settings.menuTheme], ([S]) => {
3011
- (S === "wide" || S === "simple") && (h.value = !1), y.value = Ke().uuid(10);
3011
+ (S === "wide" || S === "simple") && (y.value = !1), p.value = Ke().uuid(10);
3012
3012
  }), V(() => v.value.isWide, (S) => {
3013
3013
  if (S) {
3014
3014
  const D = document.querySelector('meta[name="viewport"]');
@@ -3016,7 +3016,7 @@ const no = /* @__PURE__ */ X({
3016
3016
  }
3017
3017
  }, {
3018
3018
  immediate: !0
3019
- }), V(h, (S) => {
3019
+ }), V(y, (S) => {
3020
3020
  e.onContentFullScreenChange?.(S);
3021
3021
  }), V([() => e.layoutStyle?.content, () => e.isChildrenLayout], ([S, D]) => {
3022
3022
  (e.isChildrenLayout || S && S.minHeight) && (M.minHeight = 0);
@@ -3041,10 +3041,10 @@ const no = /* @__PURE__ */ X({
3041
3041
  }), D = de({
3042
3042
  slots: t,
3043
3043
  props: e,
3044
- keys: en,
3044
+ keys: Jt,
3045
3045
  render: !0
3046
3046
  });
3047
- return o(Va, U(e, D, T(), {
3047
+ return o(Ka, U(e, D, T(), {
3048
3048
  logoRender: S.logoRender,
3049
3049
  headerRender: S.headerRender,
3050
3050
  rightContentRender: S.rightContentRender,
@@ -3055,15 +3055,15 @@ const no = /* @__PURE__ */ X({
3055
3055
  const S = de({
3056
3056
  slots: t,
3057
3057
  props: e,
3058
- keys: Jt,
3058
+ keys: Qt,
3059
3059
  render: !0
3060
3060
  }), D = de({
3061
3061
  slots: t,
3062
3062
  props: e,
3063
3063
  keys: ["logoRender", "menuHeaderRender", "menuFooterRender", "menuContentRender"]
3064
3064
  });
3065
- return o(ka, U(e, S, T(), {
3066
- isMobile: p.value,
3065
+ return o(La, U(e, S, T(), {
3066
+ isMobile: h.value,
3067
3067
  logoRender: D.logoRender,
3068
3068
  siderWidth: v.value.siderWidth,
3069
3069
  menuHeaderRender: D.menuHeaderRender,
@@ -3071,16 +3071,16 @@ const no = /* @__PURE__ */ X({
3071
3071
  menuContentRender: D.menuContentRender
3072
3072
  }), null);
3073
3073
  };
3074
- return Jn({
3075
- ...se(Te(e), Qn),
3074
+ return qn({
3075
+ ...se(Te(e), Gn),
3076
3076
  getPrefixCls: ae,
3077
3077
  settings: b(() => e.settings),
3078
3078
  layoutStyle: b(() => e.layoutStyle),
3079
3079
  menuProps: B,
3080
3080
  tabsComRef: f,
3081
- contentFullScreen: h,
3081
+ contentFullScreen: y,
3082
3082
  layoutProps: v,
3083
- isMobile: p,
3083
+ isMobile: h,
3084
3084
  renderRouterView: g,
3085
3085
  breadcrumb: H,
3086
3086
  fullScreenOnTabsHide: F,
@@ -3104,7 +3104,7 @@ const no = /* @__PURE__ */ X({
3104
3104
  props: e,
3105
3105
  key: "footerRender",
3106
3106
  render: !1
3107
- }), E = D === !1 ? null : D ? typeof D == "function" ? D(e) : D : o(Ca, {
3107
+ }), E = D === !1 ? null : D ? typeof D == "function" ? D(e) : D : o(ya, {
3108
3108
  copyright: C.value.copyrightRender,
3109
3109
  links: e.footerLinks
3110
3110
  }, null);
@@ -3127,7 +3127,7 @@ const no = /* @__PURE__ */ X({
3127
3127
  default: () => [$(), o(Ce, {
3128
3128
  style: M
3129
3129
  }, {
3130
- default: () => [x(), o(oo, U(se(e, ao), {
3130
+ default: () => [x(), o(eo, U(se(e, Ja), {
3131
3131
  tabsRoute: {
3132
3132
  ...e.tabsRoute,
3133
3133
  itemRender: t.tabsRouteItemRender || e.tabsRoute?.itemRender
@@ -3135,19 +3135,19 @@ const no = /* @__PURE__ */ X({
3135
3135
  hashId: i.value,
3136
3136
  prefixCls: a
3137
3137
  }), {
3138
- default: () => [o(io, {
3138
+ default: () => [o(to, {
3139
3139
  class: W(`${a}-content`, i.value)
3140
3140
  }, {
3141
3141
  default: () => [t.default?.()]
3142
3142
  })]
3143
3143
  }), !v.value.isWide && E]
3144
3144
  })]
3145
- }), v.value.isWide && E, e.waterMark !== !1 && o(qn, U({
3145
+ }), v.value.isWide && E, e.waterMark !== !1 && o(Yn, U({
3146
3146
  zIndex: 120
3147
3147
  }, Mt(e.waterMark) ? e.waterMark : {}), null)])]));
3148
3148
  };
3149
3149
  }
3150
- }), $l = /* @__PURE__ */ X({
3150
+ }), wl = /* @__PURE__ */ X({
3151
3151
  name: "GProLayout",
3152
3152
  compatConfig: {
3153
3153
  MODE: 3
@@ -3175,11 +3175,11 @@ const no = /* @__PURE__ */ X({
3175
3175
  emit: n,
3176
3176
  expose: a
3177
3177
  }) {
3178
- const l = Z(), [i, s] = An(e.theme);
3178
+ const l = q(), [i, s] = Wn(e.theme);
3179
3179
  V(() => e.theme, (r) => {
3180
3180
  r && (i.value = r);
3181
3181
  });
3182
- const d = b(() => i.value === "dark"), C = b(() => {
3182
+ const d = q(i.value === "dark"), C = b(() => {
3183
3183
  let r = e.token || {};
3184
3184
  return r.layout?.header?.heightLayoutHeader || (r = Ye(r, {
3185
3185
  layout: {
@@ -3200,7 +3200,7 @@ const no = /* @__PURE__ */ X({
3200
3200
  n("update:selected-keys", r), n("select", r);
3201
3201
  }, F = (r) => {
3202
3202
  n("update:tabs", r), n("tabsChange", r);
3203
- }, h = (r) => {
3203
+ }, y = (r) => {
3204
3204
  n("contentFullScreenChange", r);
3205
3205
  };
3206
3206
  return a({
@@ -3214,32 +3214,35 @@ const no = /* @__PURE__ */ X({
3214
3214
  }
3215
3215
  } : void 0
3216
3216
  }, {
3217
- default: () => [o(Nn, {
3217
+ default: () => [o(Dn, {
3218
3218
  token: C.value,
3219
3219
  dark: d.value,
3220
3220
  cssVar: e.cssVar
3221
3221
  }, {
3222
- default: () => [o(Wa, {
3222
+ default: () => [o(Na, {
3223
3223
  theme: i.value,
3224
- onChange: (y) => {
3225
- s(y), n("themeChange", y), n("update:theme", y);
3224
+ onChange: (p) => {
3225
+ s(p), d.value = p === "dark", n("themeChange", p), n("update:theme", p);
3226
+ },
3227
+ onChangeBase: (p) => {
3228
+ d.value = p === "dark";
3226
3229
  }
3227
3230
  }, {
3228
- default: () => [o(lo, U({
3231
+ default: () => [o(no, U({
3229
3232
  ref: l
3230
3233
  }, oe(e, r), {
3231
3234
  onSelect: g,
3232
3235
  onOpenKeys: f,
3233
3236
  onCollapse: m,
3234
3237
  onTabsChange: F,
3235
- onContentFullScreenChange: h
3238
+ onContentFullScreenChange: y
3236
3239
  }), t)]
3237
3240
  })]
3238
3241
  })]
3239
3242
  });
3240
3243
  };
3241
3244
  }
3242
- }), ro = (e) => ({
3245
+ }), ao = (e) => ({
3243
3246
  [e.componentCls]: {
3244
3247
  height: "100%",
3245
3248
  [`&${e.componentCls}-loading`]: {
@@ -3264,13 +3267,13 @@ const no = /* @__PURE__ */ X({
3264
3267
  }
3265
3268
  }
3266
3269
  });
3267
- function so(e) {
3268
- return we("PageLoading", (t) => [ro(t)], e);
3270
+ function oo(e) {
3271
+ return we("PageLoading", (t) => [ao(t)], e);
3269
3272
  }
3270
- const Fl = /* @__PURE__ */ X({
3273
+ const Il = /* @__PURE__ */ X({
3271
3274
  name: "GProAppPage",
3272
3275
  props: {
3273
- ...kn,
3276
+ ...Nn,
3274
3277
  spinning: {
3275
3278
  type: Object,
3276
3279
  default: () => ({})
@@ -3289,21 +3292,21 @@ const Fl = /* @__PURE__ */ X({
3289
3292
  }), {
3290
3293
  hashId: l,
3291
3294
  wrapSSR: i
3292
- } = so(a);
3293
- return aa({
3295
+ } = oo(a);
3296
+ return ea({
3294
3297
  spinning: b(() => e.spinning?.loading)
3295
3298
  }), () => {
3296
3299
  const s = de({
3297
3300
  slots: t,
3298
3301
  props: e,
3299
- keys: Hn,
3302
+ keys: kn,
3300
3303
  render: !0
3301
3304
  });
3302
- return i(o(zn, U({
3305
+ return i(o(Hn, U({
3303
3306
  style: n.style,
3304
3307
  class: W(n.class, e.spinning?.loading && `${a}-loading`, a, l.value)
3305
3308
  }, s), {
3306
- default: () => [o(Zn, {
3309
+ default: () => [o(_n, {
3307
3310
  barStyle: {
3308
3311
  x: {
3309
3312
  zIndex: 110
@@ -3322,7 +3325,7 @@ const Fl = /* @__PURE__ */ X({
3322
3325
  }
3323
3326
  }, [o(_e, U(oe(e.spinProps, "spinning", "iconStyle", "iconClass"), {
3324
3327
  spinning: !0,
3325
- indicator: s.indicator && dn(s.indicator, {
3328
+ indicator: s.indicator && un(s.indicator, {
3326
3329
  style: e.spinProps?.iconStyle,
3327
3330
  class: e.spinProps?.iconClass
3328
3331
  })
@@ -3330,7 +3333,7 @@ const Fl = /* @__PURE__ */ X({
3330
3333
  }));
3331
3334
  };
3332
3335
  }
3333
- }), co = ["left", "right"], he = ["left", "right", "down", "up"], uo = ["downBig", "upBig", "leftBig", "rightBig"], mo = ["topLeft", "bottomRight", "topRight", "bottomLeft"], fo = ["downLeft", "upRight", "downRight", "upLeft"], go = {
3336
+ }), io = ["left", "right"], he = ["left", "right", "down", "up"], lo = ["downBig", "upBig", "leftBig", "rightBig"], ro = ["topLeft", "bottomRight", "topRight", "bottomLeft"], so = ["downLeft", "upRight", "downRight", "upLeft"], co = {
3334
3337
  preset: [
3335
3338
  // 预设动画配置
3336
3339
  { name: "back", alias: "渐近", directions: he },
@@ -3338,16 +3341,16 @@ const Fl = /* @__PURE__ */ X({
3338
3341
  {
3339
3342
  name: "fade",
3340
3343
  alias: "淡化",
3341
- directions: he.concat(uo).concat(mo).concat("default")
3344
+ directions: he.concat(lo).concat(ro).concat("default")
3342
3345
  },
3343
3346
  { name: "flip", alias: "翻转", directions: ["x", "y"] },
3344
- { name: "lightSpeed", alias: "光速", directions: co },
3345
- { name: "rotate", alias: "旋转", directions: fo.concat("default") },
3347
+ { name: "lightSpeed", alias: "光速", directions: io },
3348
+ { name: "rotate", alias: "旋转", directions: so.concat("default") },
3346
3349
  { name: "roll", alias: "翻滚", directions: ["default"] },
3347
3350
  { name: "zoom", alias: "缩放", directions: he.concat("default") },
3348
3351
  { name: "slide", alias: "滑动", directions: he }
3349
3352
  ]
3350
- }, po = new u("backInLeft", {
3353
+ }, uo = new u("backInLeft", {
3351
3354
  "0%": {
3352
3355
  opacity: 0.7,
3353
3356
  transform: "translateX(-2000px) scale(0.7)"
@@ -3360,7 +3363,7 @@ const Fl = /* @__PURE__ */ X({
3360
3363
  opacity: 1,
3361
3364
  transform: "scale(1)"
3362
3365
  }
3363
- }), ho = new u("backInRight", {
3366
+ }), mo = new u("backInRight", {
3364
3367
  "0%": {
3365
3368
  opacity: 0.7,
3366
3369
  transform: "translateX(2000px) scale(0.7)"
@@ -3373,7 +3376,7 @@ const Fl = /* @__PURE__ */ X({
3373
3376
  opacity: 1,
3374
3377
  transform: "scale(1)"
3375
3378
  }
3376
- }), yo = new u("backInUp", {
3379
+ }), fo = new u("backInUp", {
3377
3380
  "0%": {
3378
3381
  opacity: 0.7,
3379
3382
  transform: "translateY(1200px) scale(0.7)"
@@ -3386,7 +3389,7 @@ const Fl = /* @__PURE__ */ X({
3386
3389
  opacity: 1,
3387
3390
  transform: "scale(1)"
3388
3391
  }
3389
- }), bo = new u("backInDown", {
3392
+ }), go = new u("backInDown", {
3390
3393
  "0%": {
3391
3394
  opacity: 0.7,
3392
3395
  transform: "translateY(-1200px) scale(0.7)"
@@ -3399,7 +3402,7 @@ const Fl = /* @__PURE__ */ X({
3399
3402
  opacity: 1,
3400
3403
  transform: "scale(1)"
3401
3404
  }
3402
- }), vo = new u("backOutLeft", {
3405
+ }), po = new u("backOutLeft", {
3403
3406
  "0%": {
3404
3407
  opacity: 1,
3405
3408
  transform: "scale(1)"
@@ -3412,7 +3415,7 @@ const Fl = /* @__PURE__ */ X({
3412
3415
  opacity: 0.7,
3413
3416
  transform: "translateX(-2000px) scale(0.7)"
3414
3417
  }
3415
- }), Co = new u("backOutRight", {
3418
+ }), ho = new u("backOutRight", {
3416
3419
  "0%": {
3417
3420
  opacity: 1,
3418
3421
  transform: "scale(1)"
@@ -3425,7 +3428,7 @@ const Fl = /* @__PURE__ */ X({
3425
3428
  opacity: 0.7,
3426
3429
  transform: "translateX(2000px) scale(0.7)"
3427
3430
  }
3428
- }), xo = new u("backOutUp", {
3431
+ }), yo = new u("backOutUp", {
3429
3432
  "0%": {
3430
3433
  opacity: 1,
3431
3434
  transform: "scale(1)"
@@ -3438,7 +3441,7 @@ const Fl = /* @__PURE__ */ X({
3438
3441
  opacity: 0.7,
3439
3442
  transform: "translateY(-700px) scale(0.7)"
3440
3443
  }
3441
- }), Ro = new u("backOutDown", {
3444
+ }), bo = new u("backOutDown", {
3442
3445
  "0%": {
3443
3446
  opacity: 1,
3444
3447
  transform: "scale(1)"
@@ -3451,41 +3454,41 @@ const Fl = /* @__PURE__ */ X({
3451
3454
  opacity: 0.7,
3452
3455
  transform: "translateY(700px) scale(0.7)"
3453
3456
  }
3454
- }), So = () => ({
3457
+ }), vo = () => ({
3455
3458
  "&.backInLeft": {
3456
3459
  animationFillMode: "both",
3457
- animationName: po
3460
+ animationName: uo
3458
3461
  },
3459
3462
  "&.backInRight": {
3460
3463
  animationFillMode: "both",
3461
- animationName: ho
3464
+ animationName: mo
3462
3465
  },
3463
3466
  "&.backInUp": {
3464
3467
  animationFillMode: "both",
3465
- animationName: yo
3468
+ animationName: fo
3466
3469
  },
3467
3470
  "&.backInDown": {
3468
3471
  animationFillMode: "both",
3469
- animationName: bo
3472
+ animationName: go
3470
3473
  }
3471
- }), wo = () => ({
3474
+ }), Co = () => ({
3472
3475
  "&.backOutLeft": {
3473
3476
  animationFillMode: "both",
3474
- animationName: vo
3477
+ animationName: po
3475
3478
  },
3476
3479
  "&.backOutRight": {
3477
3480
  animationFillMode: "both",
3478
- animationName: Co
3481
+ animationName: ho
3479
3482
  },
3480
3483
  "&.backOutUp": {
3481
3484
  animationFillMode: "both",
3482
- animationName: xo
3485
+ animationName: yo
3483
3486
  },
3484
3487
  "&.backOutDown": {
3485
3488
  animationFillMode: "both",
3486
- animationName: Ro
3489
+ animationName: bo
3487
3490
  }
3488
- }), Io = new u("bounceIn", {
3491
+ }), xo = new u("bounceIn", {
3489
3492
  "from,20%,40%,60%,80%,to": {
3490
3493
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3491
3494
  },
@@ -3509,7 +3512,7 @@ const Fl = /* @__PURE__ */ X({
3509
3512
  opacity: 1,
3510
3513
  transform: "scale3d(1, 1, 1)"
3511
3514
  }
3512
- }), Mo = new u("bounceInLeft", {
3515
+ }), Ro = new u("bounceInLeft", {
3513
3516
  "from,60%,75%,90%,to": {
3514
3517
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3515
3518
  },
@@ -3530,7 +3533,7 @@ const Fl = /* @__PURE__ */ X({
3530
3533
  to: {
3531
3534
  transform: "translate3d(0, 0, 0)"
3532
3535
  }
3533
- }), Oo = new u("bounceInRight", {
3536
+ }), So = new u("bounceInRight", {
3534
3537
  "from,60%,75%,90%,to": {
3535
3538
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3536
3539
  },
@@ -3551,7 +3554,7 @@ const Fl = /* @__PURE__ */ X({
3551
3554
  to: {
3552
3555
  transform: "translate3d(0, 0, 0)"
3553
3556
  }
3554
- }), $o = new u("bounceInDown", {
3557
+ }), wo = new u("bounceInDown", {
3555
3558
  "from,60%,75%,90%,to": {
3556
3559
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3557
3560
  },
@@ -3572,7 +3575,7 @@ const Fl = /* @__PURE__ */ X({
3572
3575
  to: {
3573
3576
  transform: "translate3d(0, 0, 0)"
3574
3577
  }
3575
- }), Fo = new u("bounceInUp", {
3578
+ }), Io = new u("bounceInUp", {
3576
3579
  "from,60%,75%,90%,to": {
3577
3580
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3578
3581
  },
@@ -3593,7 +3596,7 @@ const Fl = /* @__PURE__ */ X({
3593
3596
  to: {
3594
3597
  transform: "translate3d(0, 0, 0)"
3595
3598
  }
3596
- }), To = new u("bounceOut", {
3599
+ }), Mo = new u("bounceOut", {
3597
3600
  "20%": {
3598
3601
  transform: "scale3d(0.9, 0.9, 0.9)"
3599
3602
  },
@@ -3607,7 +3610,7 @@ const Fl = /* @__PURE__ */ X({
3607
3610
  opacity: 0,
3608
3611
  transform: "scale3d(0.3, 0.3, 0.3)"
3609
3612
  }
3610
- }), Bo = new u("bounceOutLeft", {
3613
+ }), Oo = new u("bounceOutLeft", {
3611
3614
  "20%": {
3612
3615
  opacity: 1,
3613
3616
  transform: "translate3d(20px, 0, 0) scaleX(0.9)"
@@ -3616,7 +3619,7 @@ const Fl = /* @__PURE__ */ X({
3616
3619
  opacity: 0,
3617
3620
  transform: "translate3d(-2000px, 0, 0) scaleX(2)"
3618
3621
  }
3619
- }), Po = new u("bounceOutRight", {
3622
+ }), $o = new u("bounceOutRight", {
3620
3623
  "20%": {
3621
3624
  opacity: 1,
3622
3625
  transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
@@ -3625,7 +3628,7 @@ const Fl = /* @__PURE__ */ X({
3625
3628
  opacity: 0,
3626
3629
  transform: "translate3d(2000px, 0, 0) scaleX(2)"
3627
3630
  }
3628
- }), Lo = new u("bounceOutDown", {
3631
+ }), Fo = new u("bounceOutDown", {
3629
3632
  "20%": {
3630
3633
  transform: "translate3d(0, 10px, 0) scaleY(0.985)"
3631
3634
  },
@@ -3637,7 +3640,7 @@ const Fl = /* @__PURE__ */ X({
3637
3640
  opacity: 0,
3638
3641
  transform: "translate3d(0, 2000px, 0) scaleY(3)"
3639
3642
  }
3640
- }), Do = new u("bounceOutUp", {
3643
+ }), To = new u("bounceOutUp", {
3641
3644
  "20%": {
3642
3645
  transform: "translate3d(0, -10px, 0) scaleY(0.985)"
3643
3646
  },
@@ -3649,58 +3652,58 @@ const Fl = /* @__PURE__ */ X({
3649
3652
  opacity: 0,
3650
3653
  transform: "translate3d(0, -2000px, 0) scaleY(3)"
3651
3654
  }
3652
- }), No = () => ({
3655
+ }), Bo = () => ({
3653
3656
  "&.bounceIn": {
3654
3657
  animationFillMode: "both",
3655
3658
  animationDuration: `${0.3 * 0.75}s !important`,
3656
- animationName: Io
3659
+ animationName: xo
3657
3660
  },
3658
3661
  "&.bounceInLeft": {
3659
3662
  animationFillMode: "both",
3660
- animationName: Mo
3663
+ animationName: Ro
3661
3664
  },
3662
3665
  "&.bounceInRight": {
3663
3666
  animationFillMode: "both",
3664
- animationName: Oo
3667
+ animationName: So
3665
3668
  },
3666
3669
  "&.bounceInDown": {
3667
3670
  animationFillMode: "both",
3668
- animationName: $o
3671
+ animationName: wo
3669
3672
  },
3670
3673
  "&.bounceInUp": {
3671
3674
  animationFillMode: "both",
3672
- animationName: Fo
3675
+ animationName: Io
3673
3676
  }
3674
- }), ko = () => ({
3677
+ }), Po = () => ({
3675
3678
  "&.bounceOut": {
3676
3679
  animationFillMode: "both",
3677
3680
  animationDuration: `${0.3 * 0.75}s !important`,
3678
- animationName: To
3681
+ animationName: Mo
3679
3682
  },
3680
3683
  "&.bounceOutLeft": {
3681
3684
  animationFillMode: "both",
3682
- animationName: Bo
3685
+ animationName: Oo
3683
3686
  },
3684
3687
  "&.bounceOutRight": {
3685
3688
  animationFillMode: "both",
3686
- animationName: Po
3689
+ animationName: $o
3687
3690
  },
3688
3691
  "&.bounceOutDown": {
3689
3692
  animationFillMode: "both",
3690
- animationName: Lo
3693
+ animationName: Fo
3691
3694
  },
3692
3695
  "&.bounceOutUp": {
3693
3696
  animationFillMode: "both",
3694
- animationName: Do
3697
+ animationName: To
3695
3698
  }
3696
- }), Ho = new u("fadeIn", {
3699
+ }), Lo = new u("fadeIn", {
3697
3700
  from: {
3698
3701
  opacity: 0
3699
3702
  },
3700
3703
  to: {
3701
3704
  opacity: 1
3702
3705
  }
3703
- }), zo = new u("fadeInLeft", {
3706
+ }), Do = new u("fadeInLeft", {
3704
3707
  from: {
3705
3708
  opacity: 0,
3706
3709
  transform: "translate3d(-100%, 0, 0)"
@@ -3709,7 +3712,7 @@ const Fl = /* @__PURE__ */ X({
3709
3712
  opacity: 1,
3710
3713
  transform: "translate3d(0, 0, 0)"
3711
3714
  }
3712
- }), Wo = new u("fadeInRight", {
3715
+ }), No = new u("fadeInRight", {
3713
3716
  from: {
3714
3717
  opacity: 0,
3715
3718
  transform: "translate3d(100%, 0, 0)"
@@ -3718,7 +3721,7 @@ const Fl = /* @__PURE__ */ X({
3718
3721
  opacity: 1,
3719
3722
  transform: "translate3d(0, 0, 0)"
3720
3723
  }
3721
- }), Ao = new u("fadeInDown", {
3724
+ }), ko = new u("fadeInDown", {
3722
3725
  from: {
3723
3726
  opacity: 0,
3724
3727
  transform: "translate3d(0, -100%, 0)"
@@ -3727,7 +3730,7 @@ const Fl = /* @__PURE__ */ X({
3727
3730
  opacity: 1,
3728
3731
  transform: "translate3d(0, 0, 0)"
3729
3732
  }
3730
- }), jo = new u("fadeInUp", {
3733
+ }), Ho = new u("fadeInUp", {
3731
3734
  from: {
3732
3735
  opacity: 0,
3733
3736
  transform: "translate3d(0, 100%, 0)"
@@ -3736,7 +3739,7 @@ const Fl = /* @__PURE__ */ X({
3736
3739
  opacity: 1,
3737
3740
  transform: "translate3d(0, 0, 0)"
3738
3741
  }
3739
- }), Ko = new u("fadeInDownBig", {
3742
+ }), zo = new u("fadeInDownBig", {
3740
3743
  from: {
3741
3744
  opacity: 0,
3742
3745
  transform: "translate3d(0, -2000px, 0)"
@@ -3745,7 +3748,7 @@ const Fl = /* @__PURE__ */ X({
3745
3748
  opacity: 1,
3746
3749
  transform: "translate3d(0, 0, 0)"
3747
3750
  }
3748
- }), Uo = new u("fadeInUpBig", {
3751
+ }), Wo = new u("fadeInUpBig", {
3749
3752
  from: {
3750
3753
  opacity: 0,
3751
3754
  transform: "translate3d(0, 2000px, 0)"
@@ -3754,7 +3757,7 @@ const Fl = /* @__PURE__ */ X({
3754
3757
  opacity: 1,
3755
3758
  transform: "translate3d(0, 0, 0)"
3756
3759
  }
3757
- }), Xo = new u("fadeInLeftBig", {
3760
+ }), Ao = new u("fadeInLeftBig", {
3758
3761
  from: {
3759
3762
  opacity: 0,
3760
3763
  transform: "translate3d(-2000px, 0, 0)"
@@ -3763,7 +3766,7 @@ const Fl = /* @__PURE__ */ X({
3763
3766
  opacity: 1,
3764
3767
  transform: "translate3d(0, 0, 0)"
3765
3768
  }
3766
- }), Eo = new u("fadeInRightBig", {
3769
+ }), jo = new u("fadeInRightBig", {
3767
3770
  from: {
3768
3771
  opacity: 0,
3769
3772
  transform: "translate3d(2000px, 0, 0)"
@@ -3772,7 +3775,7 @@ const Fl = /* @__PURE__ */ X({
3772
3775
  opacity: 1,
3773
3776
  transform: "translate3d(0, 0, 0)"
3774
3777
  }
3775
- }), Vo = new u("fadeInTopLeft", {
3778
+ }), Ko = new u("fadeInTopLeft", {
3776
3779
  from: {
3777
3780
  opacity: 0,
3778
3781
  transform: "translate3d(-100%, -100%, 0)"
@@ -3781,7 +3784,7 @@ const Fl = /* @__PURE__ */ X({
3781
3784
  opacity: 1,
3782
3785
  transform: "translate3d(0, 0, 0)"
3783
3786
  }
3784
- }), Yo = new u("fadeInBottomRight", {
3787
+ }), Uo = new u("fadeInBottomRight", {
3785
3788
  from: {
3786
3789
  opacity: 0,
3787
3790
  transform: "translate3d(100%, 100%, 0)"
@@ -3790,7 +3793,7 @@ const Fl = /* @__PURE__ */ X({
3790
3793
  opacity: 1,
3791
3794
  transform: "translate3d(0, 0, 0)"
3792
3795
  }
3793
- }), _o = new u("fadeInTopRight", {
3796
+ }), Xo = new u("fadeInTopRight", {
3794
3797
  from: {
3795
3798
  opacity: 0,
3796
3799
  transform: "translate3d(100%, -100%, 0)"
@@ -3799,7 +3802,7 @@ const Fl = /* @__PURE__ */ X({
3799
3802
  opacity: 1,
3800
3803
  transform: "translate3d(0, 0, 0)"
3801
3804
  }
3802
- }), Go = new u("fadeInBottomLeft", {
3805
+ }), Eo = new u("fadeInBottomLeft", {
3803
3806
  from: {
3804
3807
  opacity: 0,
3805
3808
  transform: "translate3d(-100%, 100%, 0)"
@@ -3808,14 +3811,14 @@ const Fl = /* @__PURE__ */ X({
3808
3811
  opacity: 1,
3809
3812
  transform: "translate3d(0, 0, 0)"
3810
3813
  }
3811
- }), qo = new u("fadeOut", {
3814
+ }), Vo = new u("fadeOut", {
3812
3815
  from: {
3813
3816
  opacity: 1
3814
3817
  },
3815
3818
  to: {
3816
3819
  opacity: 0
3817
3820
  }
3818
- }), Zo = new u("fadeOutLeft", {
3821
+ }), Yo = new u("fadeOutLeft", {
3819
3822
  from: {
3820
3823
  opacity: 1
3821
3824
  },
@@ -3823,7 +3826,7 @@ const Fl = /* @__PURE__ */ X({
3823
3826
  opacity: 0,
3824
3827
  transform: "translate3d(-100%, 0, 0)"
3825
3828
  }
3826
- }), Qo = new u("fadeOutRight", {
3829
+ }), _o = new u("fadeOutRight", {
3827
3830
  from: {
3828
3831
  opacity: 1
3829
3832
  },
@@ -3831,7 +3834,7 @@ const Fl = /* @__PURE__ */ X({
3831
3834
  opacity: 0,
3832
3835
  transform: "translate3d(100%, 0, 0)"
3833
3836
  }
3834
- }), Jo = new u("fadeOutDown", {
3837
+ }), Go = new u("fadeOutDown", {
3835
3838
  from: {
3836
3839
  opacity: 1
3837
3840
  },
@@ -3839,7 +3842,7 @@ const Fl = /* @__PURE__ */ X({
3839
3842
  opacity: 0,
3840
3843
  transform: "translate3d(0, 100%, 0)"
3841
3844
  }
3842
- }), ei = new u("fadeOutUp", {
3845
+ }), qo = new u("fadeOutUp", {
3843
3846
  from: {
3844
3847
  opacity: 1
3845
3848
  },
@@ -3847,7 +3850,7 @@ const Fl = /* @__PURE__ */ X({
3847
3850
  opacity: 0,
3848
3851
  transform: "translate3d(0, -100%, 0)"
3849
3852
  }
3850
- }), ti = new u("fadeOutDownBig", {
3853
+ }), Zo = new u("fadeOutDownBig", {
3851
3854
  from: {
3852
3855
  opacity: 1
3853
3856
  },
@@ -3855,7 +3858,7 @@ const Fl = /* @__PURE__ */ X({
3855
3858
  opacity: 0,
3856
3859
  transform: "translate3d(0, 2000px, 0)"
3857
3860
  }
3858
- }), ni = new u("fadeOutUpBig", {
3861
+ }), Qo = new u("fadeOutUpBig", {
3859
3862
  from: {
3860
3863
  opacity: 1
3861
3864
  },
@@ -3863,7 +3866,7 @@ const Fl = /* @__PURE__ */ X({
3863
3866
  opacity: 0,
3864
3867
  transform: "translate3d(0, -2000px, 0)"
3865
3868
  }
3866
- }), ai = new u("fadeOutLeftBig", {
3869
+ }), Jo = new u("fadeOutLeftBig", {
3867
3870
  from: {
3868
3871
  opacity: 1
3869
3872
  },
@@ -3871,7 +3874,7 @@ const Fl = /* @__PURE__ */ X({
3871
3874
  opacity: 0,
3872
3875
  transform: "translate3d(-2000px, 0, 0)"
3873
3876
  }
3874
- }), oi = new u("fadeOutRightBig", {
3877
+ }), ei = new u("fadeOutRightBig", {
3875
3878
  from: {
3876
3879
  opacity: 1
3877
3880
  },
@@ -3879,7 +3882,7 @@ const Fl = /* @__PURE__ */ X({
3879
3882
  opacity: 0,
3880
3883
  transform: "translate3d(2000px, 0, 0)"
3881
3884
  }
3882
- }), ii = new u("fadeOutTopLeft", {
3885
+ }), ti = new u("fadeOutTopLeft", {
3883
3886
  from: {
3884
3887
  opacity: 1,
3885
3888
  transform: "translate3d(0, 0, 0)"
@@ -3888,7 +3891,7 @@ const Fl = /* @__PURE__ */ X({
3888
3891
  opacity: 0,
3889
3892
  transform: "translate3d(-100%, -100%, 0)"
3890
3893
  }
3891
- }), li = new u("fadeOutBottomRight", {
3894
+ }), ni = new u("fadeOutBottomRight", {
3892
3895
  from: {
3893
3896
  opacity: 1,
3894
3897
  transform: "translate3d(0, 0, 0)"
@@ -3897,7 +3900,7 @@ const Fl = /* @__PURE__ */ X({
3897
3900
  opacity: 0,
3898
3901
  transform: "translate3d(100%, 100%, 0)"
3899
3902
  }
3900
- }), ri = new u("fadeOutTopRight", {
3903
+ }), ai = new u("fadeOutTopRight", {
3901
3904
  from: {
3902
3905
  opacity: 1,
3903
3906
  transform: "translate3d(0, 0, 0)"
@@ -3906,7 +3909,7 @@ const Fl = /* @__PURE__ */ X({
3906
3909
  opacity: 0,
3907
3910
  transform: "translate3d(100%, -100%, 0)"
3908
3911
  }
3909
- }), si = new u("fadeOutBottomLeft", {
3912
+ }), oi = new u("fadeOutBottomLeft", {
3910
3913
  from: {
3911
3914
  opacity: 1,
3912
3915
  transform: "translate3d(0, 0, 0)"
@@ -3915,113 +3918,113 @@ const Fl = /* @__PURE__ */ X({
3915
3918
  opacity: 0,
3916
3919
  transform: "translate3d(-100%, 100%, 0)"
3917
3920
  }
3918
- }), ci = () => ({
3921
+ }), ii = () => ({
3919
3922
  "&.fadeIn": {
3920
3923
  animationFillMode: "both",
3921
- animationName: Ho
3924
+ animationName: Lo
3922
3925
  },
3923
3926
  "&.fadeInLeft": {
3924
3927
  animationFillMode: "both",
3925
- animationName: zo
3928
+ animationName: Do
3926
3929
  },
3927
3930
  "&.fadeInRight": {
3928
3931
  animationFillMode: "both",
3929
- animationName: Wo
3932
+ animationName: No
3930
3933
  },
3931
3934
  "&.fadeInDown": {
3932
3935
  animationFillMode: "both",
3933
- animationName: Ao
3936
+ animationName: ko
3934
3937
  },
3935
3938
  "&.fadeInUp": {
3936
3939
  animationFillMode: "both",
3937
- animationName: jo
3940
+ animationName: Ho
3938
3941
  },
3939
3942
  "&.fadeInLeftBig": {
3940
3943
  animationFillMode: "both",
3941
- animationName: Xo
3944
+ animationName: Ao
3942
3945
  },
3943
3946
  "&.fadeInRightBig": {
3944
3947
  animationFillMode: "both",
3945
- animationName: Eo
3948
+ animationName: jo
3946
3949
  },
3947
3950
  "&.fadeInUpBig": {
3948
3951
  animationFillMode: "both",
3949
- animationName: Uo
3952
+ animationName: Wo
3950
3953
  },
3951
3954
  "&.fadeInDownBig": {
3952
3955
  animationFillMode: "both",
3953
- animationName: Ko
3956
+ animationName: zo
3954
3957
  },
3955
3958
  "&.fadeInTopLeft": {
3956
3959
  animationFillMode: "both",
3957
- animationName: Vo
3960
+ animationName: Ko
3958
3961
  },
3959
3962
  "&.fadeInBottomRight": {
3960
3963
  animationFillMode: "both",
3961
- animationName: Yo
3964
+ animationName: Uo
3962
3965
  },
3963
3966
  "&.fadeInTopRight": {
3964
3967
  animationFillMode: "both",
3965
- animationName: _o
3968
+ animationName: Xo
3966
3969
  },
3967
3970
  "&.fadeInBottomLeft": {
3968
3971
  animationFillMode: "both",
3969
- animationName: Go
3972
+ animationName: Eo
3970
3973
  }
3971
- }), ui = () => ({
3974
+ }), li = () => ({
3972
3975
  "&.fadeOut": {
3973
3976
  animationFillMode: "both",
3974
- animationName: qo
3977
+ animationName: Vo
3975
3978
  },
3976
3979
  "&.fadeOutLeft": {
3977
3980
  animationFillMode: "both",
3978
- animationName: Zo
3981
+ animationName: Yo
3979
3982
  },
3980
3983
  "&.fadeOutRight": {
3981
3984
  animationFillMode: "both",
3982
- animationName: Qo
3985
+ animationName: _o
3983
3986
  },
3984
3987
  "&.fadeOutDown": {
3985
3988
  animationFillMode: "both",
3986
- animationName: Jo
3989
+ animationName: Go
3987
3990
  },
3988
3991
  "&.fadeOutUp": {
3989
3992
  animationFillMode: "both",
3990
- animationName: ei
3993
+ animationName: qo
3991
3994
  },
3992
3995
  "&.fadeOutDownBig": {
3993
3996
  animationFillMode: "both",
3994
- animationName: ti
3997
+ animationName: Zo
3995
3998
  },
3996
3999
  "&.fadeOutUpBig": {
3997
4000
  animationFillMode: "both",
3998
- animationName: ni
4001
+ animationName: Qo
3999
4002
  },
4000
4003
  "&.fadeOutLeftBig": {
4001
4004
  animationFillMode: "both",
4002
- animationName: ai
4005
+ animationName: Jo
4003
4006
  },
4004
4007
  "&.fadeOutRightBig": {
4005
4008
  animationFillMode: "both",
4006
- animationName: oi
4009
+ animationName: ei
4007
4010
  },
4008
4011
  "&.fadeOutTopLeft": {
4009
4012
  animationFillMode: "both",
4010
- animationName: ii
4013
+ animationName: ti
4011
4014
  },
4012
4015
  "&.fadeOutBottomRight": {
4013
4016
  animationFillMode: "both",
4014
- animationName: li
4017
+ animationName: ni
4015
4018
  },
4016
4019
  "&.fadeOutTopRight": {
4017
4020
  animationFillMode: "both",
4018
- animationName: ri
4021
+ animationName: ai
4019
4022
  },
4020
4023
  "&.fadeOutBottomLeft": {
4021
4024
  animationFillMode: "both",
4022
- animationName: si
4025
+ animationName: oi
4023
4026
  }
4024
- }), di = new u("flipInX", {
4027
+ }), ri = new u("flipInX", {
4025
4028
  from: {
4026
4029
  opacity: 0,
4027
4030
  animationTimingFunction: "ease-in",
@@ -4041,7 +4044,7 @@ const Fl = /* @__PURE__ */ X({
4041
4044
  to: {
4042
4045
  transform: "perspective(400px)"
4043
4046
  }
4044
- }), mi = new u("flipInY", {
4047
+ }), si = new u("flipInY", {
4045
4048
  from: {
4046
4049
  opacity: 0,
4047
4050
  animationTimingFunction: "ease-in",
@@ -4061,7 +4064,7 @@ const Fl = /* @__PURE__ */ X({
4061
4064
  to: {
4062
4065
  transform: "perspective(400px)"
4063
4066
  }
4064
- }), fi = new u("flipOutX", {
4067
+ }), ci = new u("flipOutX", {
4065
4068
  from: {
4066
4069
  transform: "perspective(400px)"
4067
4070
  },
@@ -4073,7 +4076,7 @@ const Fl = /* @__PURE__ */ X({
4073
4076
  opacity: 0,
4074
4077
  transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
4075
4078
  }
4076
- }), gi = new u("flipOutY", {
4079
+ }), ui = new u("flipOutY", {
4077
4080
  from: {
4078
4081
  transform: "perspective(400px)"
4079
4082
  },
@@ -4085,31 +4088,31 @@ const Fl = /* @__PURE__ */ X({
4085
4088
  opacity: 0,
4086
4089
  transform: "perspective(400px) rotate3d(0, 1, 0, 90deg)"
4087
4090
  }
4088
- }), pi = () => ({
4091
+ }), di = () => ({
4089
4092
  "&.flipInX": {
4090
4093
  animationFillMode: "both",
4091
4094
  backfaceVisibility: "visible !important",
4092
- animationName: di
4095
+ animationName: ri
4093
4096
  },
4094
4097
  "&.flipInY": {
4095
4098
  animationFillMode: "both",
4096
4099
  backfaceVisibility: "visible !important",
4097
- animationName: mi
4100
+ animationName: si
4098
4101
  }
4099
- }), hi = () => ({
4102
+ }), mi = () => ({
4100
4103
  "&.flipOutX": {
4101
4104
  animationFillMode: "both",
4102
4105
  backfaceVisibility: "visible !important",
4103
4106
  animationDuration: `${0.3 * 0.75}s !important`,
4104
- animationName: fi
4107
+ animationName: ci
4105
4108
  },
4106
4109
  "&.flipOutY": {
4107
4110
  animationFillMode: "both",
4108
4111
  backfaceVisibility: "visible !important",
4109
4112
  animationDuration: `${0.3 * 0.75}s !important`,
4110
- animationName: gi
4113
+ animationName: ui
4111
4114
  }
4112
- }), yi = new u("lightSpeedInLeft", {
4115
+ }), fi = new u("lightSpeedInLeft", {
4113
4116
  from: {
4114
4117
  opacity: 0,
4115
4118
  transform: "translate3d(-100%, 0, 0) skewX(30deg)"
@@ -4124,7 +4127,7 @@ const Fl = /* @__PURE__ */ X({
4124
4127
  to: {
4125
4128
  transform: "translate3d(0, 0, 0)"
4126
4129
  }
4127
- }), bi = new u("lightSpeedInRight", {
4130
+ }), gi = new u("lightSpeedInRight", {
4128
4131
  from: {
4129
4132
  opacity: 0,
4130
4133
  transform: "translate3d(100%, 0, 0) skewX(-30deg)"
@@ -4139,7 +4142,7 @@ const Fl = /* @__PURE__ */ X({
4139
4142
  to: {
4140
4143
  transform: "translate3d(0, 0, 0)"
4141
4144
  }
4142
- }), vi = new u("lightSpeedOutLeft", {
4145
+ }), pi = new u("lightSpeedOutLeft", {
4143
4146
  from: {
4144
4147
  opacity: 1
4145
4148
  },
@@ -4147,7 +4150,7 @@ const Fl = /* @__PURE__ */ X({
4147
4150
  opacity: 0,
4148
4151
  transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
4149
4152
  }
4150
- }), Ci = new u("lightSpeedOutRight", {
4153
+ }), hi = new u("lightSpeedOutRight", {
4151
4154
  from: {
4152
4155
  opacity: 1
4153
4156
  },
@@ -4155,29 +4158,29 @@ const Fl = /* @__PURE__ */ X({
4155
4158
  opacity: 0,
4156
4159
  transform: "translate3d(100%, 0, 0) skewX(30deg)"
4157
4160
  }
4158
- }), xi = () => ({
4161
+ }), yi = () => ({
4159
4162
  "&.lightSpeedInLeft": {
4160
4163
  animationFillMode: "both",
4161
4164
  animationTimingFunction: "ease-out",
4162
- animationName: yi
4165
+ animationName: fi
4163
4166
  },
4164
4167
  "&.lightSpeedInRight": {
4165
4168
  animationFillMode: "both",
4166
4169
  animationTimingFunction: "ease-out",
4167
- animationName: bi
4170
+ animationName: gi
4168
4171
  }
4169
- }), Ri = () => ({
4172
+ }), bi = () => ({
4170
4173
  "&.lightSpeedOutLeft": {
4171
4174
  animationFillMode: "both",
4172
4175
  animationTimingFunction: "ease-in",
4173
- animationName: vi
4176
+ animationName: pi
4174
4177
  },
4175
4178
  "&.lightSpeedOutRight": {
4176
4179
  animationFillMode: "both",
4177
4180
  animationTimingFunction: "ease-in",
4178
- animationName: Ci
4181
+ animationName: hi
4179
4182
  }
4180
- }), Si = new u("rollIn", {
4183
+ }), vi = new u("rollIn", {
4181
4184
  from: {
4182
4185
  opacity: 0,
4183
4186
  transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
@@ -4186,7 +4189,7 @@ const Fl = /* @__PURE__ */ X({
4186
4189
  opacity: 1,
4187
4190
  transform: "translate3d(0, 0, 0)"
4188
4191
  }
4189
- }), wi = new u("rollOut", {
4192
+ }), Ci = new u("rollOut", {
4190
4193
  from: {
4191
4194
  opacity: 1
4192
4195
  },
@@ -4194,17 +4197,17 @@ const Fl = /* @__PURE__ */ X({
4194
4197
  opacity: 0,
4195
4198
  transform: "translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"
4196
4199
  }
4197
- }), Ii = () => ({
4200
+ }), xi = () => ({
4198
4201
  "&.rollIn": {
4199
4202
  animationFillMode: "both",
4200
- animationName: Si
4203
+ animationName: vi
4201
4204
  }
4202
- }), Mi = () => ({
4205
+ }), Ri = () => ({
4203
4206
  "&.rollOut": {
4204
4207
  animationFillMode: "both",
4205
- animationName: wi
4208
+ animationName: Ci
4206
4209
  }
4207
- }), Oi = new u("rotateIn", {
4210
+ }), Si = new u("rotateIn", {
4208
4211
  from: {
4209
4212
  opacity: 0,
4210
4213
  transform: "rotate3d(0, 0, 1, -200deg)"
@@ -4213,7 +4216,7 @@ const Fl = /* @__PURE__ */ X({
4213
4216
  opacity: 1,
4214
4217
  transform: "translate3d(0, 0, 0)"
4215
4218
  }
4216
- }), $i = new u("rotateInDownLeft", {
4219
+ }), wi = new u("rotateInDownLeft", {
4217
4220
  from: {
4218
4221
  opacity: 0,
4219
4222
  transform: "rotate3d(0, 0, 1, -45deg)"
@@ -4222,7 +4225,7 @@ const Fl = /* @__PURE__ */ X({
4222
4225
  opacity: 1,
4223
4226
  transform: "translate3d(0, 0, 0)"
4224
4227
  }
4225
- }), Fi = new u("rotateInDownRight", {
4228
+ }), Ii = new u("rotateInDownRight", {
4226
4229
  from: {
4227
4230
  opacity: 0,
4228
4231
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -4231,7 +4234,7 @@ const Fl = /* @__PURE__ */ X({
4231
4234
  opacity: 1,
4232
4235
  transform: "translate3d(0, 0, 0)"
4233
4236
  }
4234
- }), Ti = new u("rotateInUpLeft", {
4237
+ }), Mi = new u("rotateInUpLeft", {
4235
4238
  from: {
4236
4239
  opacity: 0,
4237
4240
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -4240,7 +4243,7 @@ const Fl = /* @__PURE__ */ X({
4240
4243
  opacity: 1,
4241
4244
  transform: "translate3d(0, 0, 0)"
4242
4245
  }
4243
- }), Bi = new u("rotateInUpRight", {
4246
+ }), Oi = new u("rotateInUpRight", {
4244
4247
  from: {
4245
4248
  opacity: 0,
4246
4249
  transform: "rotate3d(0, 0, 1, -90deg)"
@@ -4249,7 +4252,7 @@ const Fl = /* @__PURE__ */ X({
4249
4252
  opacity: 1,
4250
4253
  transform: "translate3d(0, 0, 0)"
4251
4254
  }
4252
- }), Pi = new u("rotateOut", {
4255
+ }), $i = new u("rotateOut", {
4253
4256
  from: {
4254
4257
  opacity: 1
4255
4258
  },
@@ -4257,7 +4260,7 @@ const Fl = /* @__PURE__ */ X({
4257
4260
  opacity: 0,
4258
4261
  transform: "rotate3d(0, 0, 1, 200deg)"
4259
4262
  }
4260
- }), Li = new u("rotateOutDownLeft", {
4263
+ }), Fi = new u("rotateOutDownLeft", {
4261
4264
  from: {
4262
4265
  opacity: 1
4263
4266
  },
@@ -4265,7 +4268,7 @@ const Fl = /* @__PURE__ */ X({
4265
4268
  opacity: 0,
4266
4269
  transform: "rotate3d(0, 0, 1, 45deg)"
4267
4270
  }
4268
- }), Di = new u("rotateOutDownRight", {
4271
+ }), Ti = new u("rotateOutDownRight", {
4269
4272
  from: {
4270
4273
  opacity: 1
4271
4274
  },
@@ -4273,7 +4276,7 @@ const Fl = /* @__PURE__ */ X({
4273
4276
  opacity: 0,
4274
4277
  transform: "rotate3d(0, 0, 1, -45deg)"
4275
4278
  }
4276
- }), Ni = new u("rotateOutUpLeft", {
4279
+ }), Bi = new u("rotateOutUpLeft", {
4277
4280
  from: {
4278
4281
  opacity: 1
4279
4282
  },
@@ -4281,7 +4284,7 @@ const Fl = /* @__PURE__ */ X({
4281
4284
  opacity: 0,
4282
4285
  transform: "rotate3d(0, 0, 1, -45deg)"
4283
4286
  }
4284
- }), ki = new u("rotateOutUpRight", {
4287
+ }), Pi = new u("rotateOutUpRight", {
4285
4288
  from: {
4286
4289
  opacity: 1
4287
4290
  },
@@ -4289,59 +4292,59 @@ const Fl = /* @__PURE__ */ X({
4289
4292
  opacity: 0,
4290
4293
  transform: "rotate3d(0, 0, 1, 90deg)"
4291
4294
  }
4292
- }), Hi = () => ({
4295
+ }), Li = () => ({
4293
4296
  "&.rotateIn": {
4294
4297
  animationFillMode: "both",
4295
4298
  transformOrigin: "center",
4296
- animationName: Oi
4299
+ animationName: Si
4297
4300
  },
4298
4301
  "&.rotateInDownLeft": {
4299
4302
  animationFillMode: "both",
4300
4303
  transformOrigin: "left bottom",
4301
- animationName: $i
4304
+ animationName: wi
4302
4305
  },
4303
4306
  "&.rotateInDownRight": {
4304
4307
  animationFillMode: "both",
4305
4308
  transformOrigin: "right bottom",
4306
- animationName: Fi
4309
+ animationName: Ii
4307
4310
  },
4308
4311
  "&.rotateInUpLeft": {
4309
4312
  animationFillMode: "both",
4310
4313
  transformOrigin: "left bottom",
4311
- animationName: Ti
4314
+ animationName: Mi
4312
4315
  },
4313
4316
  "&.rotateInUpRight": {
4314
4317
  animationFillMode: "both",
4315
4318
  transformOrigin: "right bottom",
4316
- animationName: Bi
4319
+ animationName: Oi
4317
4320
  }
4318
- }), zi = () => ({
4321
+ }), Di = () => ({
4319
4322
  "&.rotateOut": {
4320
4323
  animationFillMode: "both",
4321
4324
  transformOrigin: "center",
4322
- animationName: Pi
4325
+ animationName: $i
4323
4326
  },
4324
4327
  "&.rotateOutDownLeft": {
4325
4328
  animationFillMode: "both",
4326
4329
  transformOrigin: "left bottom",
4327
- animationName: Li
4330
+ animationName: Fi
4328
4331
  },
4329
4332
  "&.rotateOutDownRight": {
4330
4333
  animationFillMode: "both",
4331
4334
  transformOrigin: "right bottom",
4332
- animationName: Di
4335
+ animationName: Ti
4333
4336
  },
4334
4337
  "&.rotateOutUpLeft": {
4335
4338
  animationFillMode: "both",
4336
4339
  transformOrigin: "left bottom",
4337
- animationName: Ni
4340
+ animationName: Bi
4338
4341
  },
4339
4342
  "&.rotateOutUpRight": {
4340
4343
  animationFillMode: "both",
4341
4344
  transformOrigin: "right bottom",
4342
- animationName: ki
4345
+ animationName: Pi
4343
4346
  }
4344
- }), Wi = new u("slideInDown", {
4347
+ }), Ni = new u("slideInDown", {
4345
4348
  from: {
4346
4349
  transform: "translate3d(0, -100%, 0)",
4347
4350
  visibility: "visible"
@@ -4349,7 +4352,7 @@ const Fl = /* @__PURE__ */ X({
4349
4352
  to: {
4350
4353
  transform: "translate3d(0, 0, 0)"
4351
4354
  }
4352
- }), Ai = new u("slideInLeft", {
4355
+ }), ki = new u("slideInLeft", {
4353
4356
  from: {
4354
4357
  transform: "translate3d(-100%, 0, 0)",
4355
4358
  visibility: "visible"
@@ -4357,7 +4360,7 @@ const Fl = /* @__PURE__ */ X({
4357
4360
  to: {
4358
4361
  transform: "translate3d(0, 0, 0)"
4359
4362
  }
4360
- }), ji = new u("slideInRight", {
4363
+ }), Hi = new u("slideInRight", {
4361
4364
  from: {
4362
4365
  transform: "translate3d(100%, 0, 0)",
4363
4366
  visibility: "visible"
@@ -4365,7 +4368,7 @@ const Fl = /* @__PURE__ */ X({
4365
4368
  to: {
4366
4369
  transform: "translate3d(0, 0, 0)"
4367
4370
  }
4368
- }), Ki = new u("slideInUp", {
4371
+ }), zi = new u("slideInUp", {
4369
4372
  from: {
4370
4373
  transform: "translate3d(0, 100%, 0)",
4371
4374
  visibility: "visible"
@@ -4373,7 +4376,7 @@ const Fl = /* @__PURE__ */ X({
4373
4376
  to: {
4374
4377
  transform: "translate3d(0, 0, 0)"
4375
4378
  }
4376
- }), Ui = new u("slideOutDown", {
4379
+ }), Wi = new u("slideOutDown", {
4377
4380
  from: {
4378
4381
  transform: "translate3d(0, 0, 0)"
4379
4382
  },
@@ -4381,7 +4384,7 @@ const Fl = /* @__PURE__ */ X({
4381
4384
  transform: "translate3d(0, 100%, 0)",
4382
4385
  visibility: "hidden"
4383
4386
  }
4384
- }), Xi = new u("slideOutLeft", {
4387
+ }), Ai = new u("slideOutLeft", {
4385
4388
  from: {
4386
4389
  transform: "translate3d(0, 0, 0)"
4387
4390
  },
@@ -4389,7 +4392,7 @@ const Fl = /* @__PURE__ */ X({
4389
4392
  transform: "translate3d(-100%, 0, 0)",
4390
4393
  visibility: "hidden"
4391
4394
  }
4392
- }), Ei = new u("slideOutRight", {
4395
+ }), ji = new u("slideOutRight", {
4393
4396
  from: {
4394
4397
  transform: "translate3d(0, 0, 0)"
4395
4398
  },
@@ -4397,7 +4400,7 @@ const Fl = /* @__PURE__ */ X({
4397
4400
  transform: "translate3d(100%, 0, 0)",
4398
4401
  visibility: "hidden"
4399
4402
  }
4400
- }), Vi = new u("slideOutUp", {
4403
+ }), Ki = new u("slideOutUp", {
4401
4404
  from: {
4402
4405
  transform: "translate3d(0, 0, 0)"
4403
4406
  },
@@ -4405,41 +4408,41 @@ const Fl = /* @__PURE__ */ X({
4405
4408
  transform: "translate3d(0, -100%, 0)",
4406
4409
  visibility: "hidden"
4407
4410
  }
4408
- }), Yi = () => ({
4411
+ }), Ui = () => ({
4409
4412
  "&.slideInDown": {
4410
4413
  animationFillMode: "both",
4411
- animationName: Wi
4414
+ animationName: Ni
4412
4415
  },
4413
4416
  "&.slideInLeft": {
4414
4417
  animationFillMode: "both",
4415
- animationName: Ai
4418
+ animationName: ki
4416
4419
  },
4417
4420
  "&.slideInRight": {
4418
4421
  animationFillMode: "both",
4419
- animationName: ji
4422
+ animationName: Hi
4420
4423
  },
4421
4424
  "&.slideInUp": {
4422
4425
  animationFillMode: "both",
4423
- animationName: Ki
4426
+ animationName: zi
4424
4427
  }
4425
- }), _i = () => ({
4428
+ }), Xi = () => ({
4426
4429
  "&.slideOutDown": {
4427
4430
  animationFillMode: "both",
4428
- animationName: Ui
4431
+ animationName: Wi
4429
4432
  },
4430
4433
  "&.slideOutLeft": {
4431
4434
  animationFillMode: "both",
4432
- animationName: Xi
4435
+ animationName: Ai
4433
4436
  },
4434
4437
  "&.slideOutRight": {
4435
4438
  animationFillMode: "both",
4436
- animationName: Ei
4439
+ animationName: ji
4437
4440
  },
4438
4441
  "&.slideOutUp": {
4439
4442
  animationFillMode: "both",
4440
- animationName: Vi
4443
+ animationName: Ki
4441
4444
  }
4442
- }), Gi = new u("zoomIn", {
4445
+ }), Ei = new u("zoomIn", {
4443
4446
  from: {
4444
4447
  opacity: 0,
4445
4448
  transform: "scale3d(0.3, 0.3, 0.3)"
@@ -4447,7 +4450,7 @@ const Fl = /* @__PURE__ */ X({
4447
4450
  "50%": {
4448
4451
  opacity: 1
4449
4452
  }
4450
- }), qi = new u("zoomInDown", {
4453
+ }), Vi = new u("zoomInDown", {
4451
4454
  from: {
4452
4455
  opacity: 0,
4453
4456
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
@@ -4458,7 +4461,7 @@ const Fl = /* @__PURE__ */ X({
4458
4461
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
4459
4462
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4460
4463
  }
4461
- }), Zi = new u("zoomInLeft", {
4464
+ }), Yi = new u("zoomInLeft", {
4462
4465
  from: {
4463
4466
  opacity: 0,
4464
4467
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
@@ -4469,7 +4472,7 @@ const Fl = /* @__PURE__ */ X({
4469
4472
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
4470
4473
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4471
4474
  }
4472
- }), Qi = new u("zoomInRight", {
4475
+ }), _i = new u("zoomInRight", {
4473
4476
  from: {
4474
4477
  opacity: 0,
4475
4478
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
@@ -4480,7 +4483,7 @@ const Fl = /* @__PURE__ */ X({
4480
4483
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
4481
4484
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4482
4485
  }
4483
- }), Ji = new u("zoomInUp", {
4486
+ }), Gi = new u("zoomInUp", {
4484
4487
  from: {
4485
4488
  opacity: 0,
4486
4489
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
@@ -4491,7 +4494,7 @@ const Fl = /* @__PURE__ */ X({
4491
4494
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
4492
4495
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4493
4496
  }
4494
- }), el = new u("zoomOut", {
4497
+ }), qi = new u("zoomOut", {
4495
4498
  from: {
4496
4499
  opacity: 1
4497
4500
  },
@@ -4502,7 +4505,7 @@ const Fl = /* @__PURE__ */ X({
4502
4505
  to: {
4503
4506
  opacity: 0
4504
4507
  }
4505
- }), tl = new u("zoomOutDown", {
4508
+ }), Zi = new u("zoomOutDown", {
4506
4509
  "40%": {
4507
4510
  opacity: 1,
4508
4511
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
@@ -4513,7 +4516,7 @@ const Fl = /* @__PURE__ */ X({
4513
4516
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
4514
4517
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4515
4518
  }
4516
- }), nl = new u("zoomOutLeft", {
4519
+ }), Qi = new u("zoomOutLeft", {
4517
4520
  "40%": {
4518
4521
  opacity: 1,
4519
4522
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
@@ -4522,7 +4525,7 @@ const Fl = /* @__PURE__ */ X({
4522
4525
  opacity: 0,
4523
4526
  transform: "scale(0.1) translate3d(-2000px, 0, 0)"
4524
4527
  }
4525
- }), al = new u("zoomOutRight", {
4528
+ }), Ji = new u("zoomOutRight", {
4526
4529
  "40%": {
4527
4530
  opacity: 1,
4528
4531
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
@@ -4531,7 +4534,7 @@ const Fl = /* @__PURE__ */ X({
4531
4534
  opacity: 0,
4532
4535
  transform: "scale(0.1) translate3d(2000px, 0, 0)"
4533
4536
  }
4534
- }), ol = new u("zoomOutUp", {
4537
+ }), el = new u("zoomOutUp", {
4535
4538
  "40%": {
4536
4539
  opacity: 1,
4537
4540
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
@@ -4542,90 +4545,90 @@ const Fl = /* @__PURE__ */ X({
4542
4545
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)",
4543
4546
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4544
4547
  }
4545
- }), il = () => ({
4548
+ }), tl = () => ({
4546
4549
  "&.zoomIn": {
4547
4550
  animationFillMode: "both",
4548
- animationName: Gi
4551
+ animationName: Ei
4549
4552
  },
4550
4553
  "&.zoomInDown": {
4551
4554
  animationFillMode: "both",
4552
- animationName: qi
4555
+ animationName: Vi
4553
4556
  },
4554
4557
  "&.zoomInLeft": {
4555
4558
  animationFillMode: "both",
4556
- animationName: Zi
4559
+ animationName: Yi
4557
4560
  },
4558
4561
  "&.zoomInRight": {
4559
4562
  animationFillMode: "both",
4560
- animationName: Qi
4563
+ animationName: _i
4561
4564
  },
4562
4565
  "&.zoomInUp": {
4563
4566
  animationFillMode: "both",
4564
- animationName: Ji
4567
+ animationName: Gi
4565
4568
  }
4566
- }), ll = () => ({
4569
+ }), nl = () => ({
4567
4570
  "&.zoomOut": {
4568
4571
  animationFillMode: "both",
4569
- animationName: el
4572
+ animationName: qi
4570
4573
  },
4571
4574
  "&.zoomOutDown": {
4572
4575
  animationFillMode: "both",
4573
4576
  transformOrigin: "center bottom",
4574
- animationName: tl
4577
+ animationName: Zi
4575
4578
  },
4576
4579
  "&.zoomOutLeft": {
4577
4580
  animationFillMode: "both",
4578
4581
  transformOrigin: "left center",
4579
- animationName: nl
4582
+ animationName: Qi
4580
4583
  },
4581
4584
  "&.zoomOutRight": {
4582
4585
  animationFillMode: "both",
4583
4586
  transformOrigin: "right center",
4584
- animationName: al
4587
+ animationName: Ji
4585
4588
  },
4586
4589
  "&.zoomOutUp": {
4587
4590
  animationFillMode: "both",
4588
4591
  transformOrigin: "center bottom",
4589
- animationName: ol
4592
+ animationName: el
4590
4593
  }
4591
- }), rl = (e) => ({
4594
+ }), al = (e) => ({
4592
4595
  [e.componentCls]: {
4593
4596
  "&-enter": {
4594
4597
  background: "transparent",
4595
4598
  animationDuration: ".3s !important",
4596
- ...So(),
4597
- ...No(),
4598
- ...ci(),
4599
- ...pi(),
4599
+ ...vo(),
4600
+ ...Bo(),
4601
+ ...ii(),
4602
+ ...di(),
4603
+ ...yi(),
4604
+ ...Li(),
4600
4605
  ...xi(),
4601
- ...Hi(),
4602
- ...Ii(),
4603
- ...il(),
4604
- ...Yi()
4606
+ ...tl(),
4607
+ ...Ui()
4605
4608
  },
4606
4609
  "&-leave": {
4607
4610
  display: "none",
4608
4611
  background: "transparent",
4609
4612
  animationDuration: ".3s !important",
4610
- ...wo(),
4611
- ...ko(),
4612
- ...ui(),
4613
- ...hi(),
4613
+ ...Co(),
4614
+ ...Po(),
4615
+ ...li(),
4616
+ ...mi(),
4617
+ ...bi(),
4618
+ ...Di(),
4614
4619
  ...Ri(),
4615
- ...zi(),
4616
- ...Mi(),
4617
- ...ll(),
4618
- ..._i()
4620
+ ...nl(),
4621
+ ...Xi()
4619
4622
  }
4620
4623
  }
4621
4624
  });
4622
- function sl(e) {
4625
+ function ol(e) {
4623
4626
  return we("LayoutPageTranstion", (t) => {
4624
4627
  const n = qe(t);
4625
- return [rl(n)];
4628
+ return [al(n)];
4626
4629
  }, e);
4627
4630
  }
4628
- const Tl = /* @__PURE__ */ X({
4631
+ const Ml = /* @__PURE__ */ X({
4629
4632
  name: "PageTransition",
4630
4633
  props: {
4631
4634
  disabled: {
@@ -4651,21 +4654,21 @@ const Tl = /* @__PURE__ */ X({
4651
4654
  }), {
4652
4655
  wrapSSR: a,
4653
4656
  hashId: l
4654
- } = sl(n), i = (m, f) => {
4657
+ } = ol(n), i = (m, f) => {
4655
4658
  if (m.length === 0 || m === "x" || m === "y")
4656
4659
  return m;
4657
4660
  let g = f.indexOf(m);
4658
4661
  return g = g % 2 === 1 ? g - 1 : g + 1, f[g];
4659
4662
  }, s = (m) => {
4660
- const f = go.preset.find((h) => e.name === h.name);
4663
+ const f = co.preset.find((y) => e.name === y.name);
4661
4664
  if (f === void 0)
4662
4665
  return "";
4663
4666
  let g = "";
4664
- e.direction === void 0 ? g = f.directions[0] : g = f.directions.find((h) => h === e.direction) || "", g = g === void 0 || g === "default" ? "" : g, g !== "" && (g = m && e.reverse ? i(g, f.directions) : g, g = g[0].toUpperCase() + g.substring(1));
4667
+ e.direction === void 0 ? g = f.directions[0] : g = f.directions.find((y) => y === e.direction) || "", g = g === void 0 || g === "default" ? "" : g, g !== "" && (g = m && e.reverse ? i(g, f.directions) : g, g = g[0].toUpperCase() + g.substring(1));
4665
4668
  const F = m ? "Out" : "In";
4666
4669
  return f.name + F + g;
4667
4670
  }, d = b(() => [s(!1), `${n}-enter`, l.value].join(" ")), C = b(() => [s(!0), `${n}-leave`, l.value].join(" "));
4668
- return () => e.disabled ? t.default?.() : a(o(mn, {
4671
+ return () => e.disabled ? t.default?.() : a(o(dn, {
4669
4672
  enterActiveClass: d.value,
4670
4673
  leaveActiveClass: C.value
4671
4674
  }, {
@@ -4673,8 +4676,8 @@ const Tl = /* @__PURE__ */ X({
4673
4676
  }));
4674
4677
  }
4675
4678
  });
4676
- function Bl(e) {
4677
- const t = Ln(), n = Se(), a = () => e.value?.tabsComRef();
4679
+ function Ol(e) {
4680
+ const t = Pn(), n = Se(), a = () => e.value?.tabsComRef();
4678
4681
  return {
4679
4682
  tabsRouter: {
4680
4683
  clean: () => a()?.clean(),
@@ -4686,41 +4689,41 @@ function Bl(e) {
4686
4689
  }
4687
4690
  };
4688
4691
  }
4689
- function Pl(e) {
4690
- const t = Se(), n = e?.defaultOpen ?? !0, a = e?.autoClose ?? !0, l = t.getRoutes(), i = Z([]), s = be({
4692
+ function $l(e) {
4693
+ const t = Se(), n = e?.defaultOpen ?? !0, a = e?.autoClose ?? !0, l = t.getRoutes(), i = q([]), s = be({
4691
4694
  menuMap: /* @__PURE__ */ new Map(),
4692
4695
  levelMenuData: []
4693
4696
  }), d = be({
4694
4697
  openKeys: [],
4695
4698
  selectedKeys: []
4696
- }), C = b(() => t.currentRoute.value), m = (h) => {
4697
- const r = da(ma(h));
4699
+ }), C = b(() => t.currentRoute.value), m = (y) => {
4700
+ const r = sa(ca(y));
4698
4701
  i.value = xe(r.menuData), s.menuMap = r.menuMap, s.levelMenuData = r.getLevel();
4699
4702
  };
4700
- e?.menuData && ut(e.menuData) && V(() => e.menuData.value, (h) => m(h), { deep: !0 }), m(e?.menuData ? ut(e.menuData) ? e.menuData.value : e.menuData : l);
4703
+ e?.menuData && ut(e.menuData) && V(() => e.menuData.value, (y) => m(y), { deep: !0 }), m(e?.menuData ? ut(e.menuData) ? e.menuData.value : e.menuData : l);
4701
4704
  const f = b(() => jt({
4702
4705
  menuData: i.value,
4703
4706
  menuMap: s.menuMap,
4704
4707
  levelMenuData: s.levelMenuData
4705
4708
  }, { path: C.value.path, name: C.value.name })), g = b(() => {
4706
- const h = f.value.map((r) => {
4707
- const y = Wt(r.meta?.hideChildrenInMenu ? [] : r.children || []);
4709
+ const y = f.value.map((r) => {
4710
+ const p = Wt(r.meta?.hideChildrenInMenu ? [] : r.children || []);
4708
4711
  return {
4709
4712
  name: r.name,
4710
4713
  icon: r.meta?.icon,
4711
- path: r.redirect || y || r.path || "",
4714
+ path: r.redirect || p || r.path || "",
4712
4715
  breadcrumbName: r.meta?.title || ""
4713
4716
  };
4714
4717
  }).filter((r) => r.breadcrumbName);
4715
- return ya(h, "breadcrumbName");
4718
+ return ga(y, "breadcrumbName");
4716
4719
  }), F = () => {
4717
- d.openKeys = f.value.filter((h) => h.name !== C.value.name).map((h) => h.name);
4720
+ d.openKeys = f.value.filter((y) => y.name !== C.value.name).map((y) => y.name);
4718
4721
  };
4719
- return V(() => C.value, (h) => {
4720
- h && (d.selectedKeys = f.value.map((r) => r.name), a && F());
4721
- }, { immediate: !0, deep: !0 }), fn(() => {
4722
+ return V(() => C.value, (y) => {
4723
+ y && (d.selectedKeys = f.value.map((r) => r.name), a && F());
4724
+ }, { immediate: !0, deep: !0 }), mn(() => {
4722
4725
  n && F();
4723
- }), Aa({
4726
+ }), ka({
4724
4727
  ...Te(s),
4725
4728
  menuData: i,
4726
4729
  matchedMenu: f,
@@ -4735,45 +4738,45 @@ function Pl(e) {
4735
4738
  }
4736
4739
  export {
4737
4740
  Dt as GBaseMenu,
4738
- Tl as GPageTransition,
4739
- Fl as GProAppPage,
4740
- $l as GProLayout,
4741
- Ca as GlobalFooter,
4741
+ Ml as GPageTransition,
4742
+ Il as GProAppPage,
4743
+ wl as GProLayout,
4744
+ ya as GlobalFooter,
4742
4745
  Ue as LazyIcon,
4743
- Il as PageContainer,
4744
- ka as SiderMenuWrapper,
4745
- Wa as ThemeContext,
4746
- go as animateSetting,
4747
- ta as baseMenuProps,
4746
+ xl as PageContainer,
4747
+ La as SiderMenuWrapper,
4748
+ Na as ThemeContext,
4749
+ co as animateSetting,
4750
+ Qn as baseMenuProps,
4748
4751
  Xe as calculateCss,
4749
4752
  Qe as checkMenuDark,
4750
- ma as clearMenuItem,
4751
- wl as colorList,
4753
+ ca as clearMenuItem,
4754
+ Cl as colorList,
4752
4755
  kt as coverToNewToken,
4753
- za as createThemeContext,
4756
+ Da as createThemeContext,
4754
4757
  Xt as cssValueToNumber,
4755
- Qn as defaultContextKey,
4758
+ Gn as defaultContextKey,
4756
4759
  K as defaultSettings,
4757
4760
  Ut as extractCSSVariableName,
4758
- pa as filterTree,
4761
+ ma as filterTree,
4759
4762
  At as findLastKey,
4760
- fa as flatMap,
4763
+ ua as flatMap,
4761
4764
  J as getCssVarOrUnit,
4762
4765
  Kt as getCssVariableValue,
4763
4766
  Wt as getLastPath,
4764
4767
  Pt as getLayoutTheme,
4765
4768
  jt as getMatchedList,
4766
- da as getMenuData,
4767
- ga as getMenuFirstChildren,
4769
+ sa as getMenuData,
4770
+ da as getMenuFirstChildren,
4768
4771
  te as getTokenLayoutTheme,
4769
4772
  zt as handlePathKey,
4770
- ha as layout,
4771
- Jn as provideProLayoutContext,
4772
- ya as removeDuplicatesByName,
4773
- Ol as toggleAnimateTheme,
4774
- Pl as useLayoutMenu,
4775
- Bl as useProLayout,
4776
- q as useProLayoutContext,
4773
+ fa as layout,
4774
+ qn as provideProLayoutContext,
4775
+ ga as removeDuplicatesByName,
4776
+ Sl as toggleAnimateTheme,
4777
+ $l as useLayoutMenu,
4778
+ Ol as useProLayout,
4779
+ Z as useProLayoutContext,
4777
4780
  at as useProLayoutMenuContext,
4778
- Ml as useThemeContext
4781
+ Rl as useThemeContext
4779
4782
  };