@gx-design-vue/pro-layout 0.1.0-beta.27 → 0.1.0-beta.29

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,12 +1,12 @@
1
- import { defineComponent as H, createVNode as o, mergeProps as X, provide as ze, readonly as Vt, inject as mt, resolveComponent as ft, computed as w, isVNode as ne, Fragment as q, toRefs as Oe, unref as U, createTextVNode as Q, ref as ve, reactive as Ne, watch as le, withDirectives as At, vShow as Et, getCurrentInstance as jt, onMounted as Wt, onUpdated as Kt, onUnmounted as Ut, watchEffect as Xt, Transition as Gt } from "vue";
2
- import { Spin as xe, Menu as ee, ConfigProvider as He, Layout as de, Drawer as be, Breadcrumb as Yt, Card as qt, LayoutFooter as Zt, Tabs as _e, Dropdown as et, Tooltip as Me, List as te, Switch as ht, TabPane as Jt, Select as he, message as Qt, Divider as ke, Alert as en, Button as tn } from "ant-design-vue";
3
- import { useRouter as Ve, RouterLink as nn } from "vue-router";
4
- import { createFromIconfontCN as an, MenuUnfoldOutlined as on, MenuFoldOutlined as ln, GithubOutlined as rn, EllipsisOutlined as sn, ReloadOutlined as un, CloseOutlined as gt, CheckOutlined as yt, SettingOutlined as dn, NotificationOutlined as cn, CopyOutlined as mn } from "@ant-design/icons-vue";
5
- import fn, { themeConfig as A, Keyframe as u, useProStyle as Z, useProConfigContext as Re, useStyle as Ae, mergeToken as Ee, colorList as hn } from "@gx-design-vue/pro-provider";
6
- import { createTypes as gn } from "vue-types";
7
- import { pick as ae, cloneDeep as bt, omit as je } from "lodash-es";
8
- import { GPorWaterMark as yn } from "@gx-design-vue/pro-watermark";
9
- import { getSlot as K, isBoolean as bn, getPrefixCls as ce, classNames as pt, isArray as pn, isBrowser as vn, merge as xn } from "@gx-design-vue/pro-utils";
1
+ import { defineComponent as H, createVNode as o, mergeProps as X, provide as De, readonly as _t, inject as mt, resolveComponent as ft, computed as S, isVNode as ne, Fragment as q, toRefs as Ie, unref as U, createTextVNode as Q, ref as ve, reactive as ze, watch as le, withDirectives as Vt, vShow as At, getCurrentInstance as Et, onMounted as jt, onUpdated as Wt, onUnmounted as Kt, watchEffect as Ut, Transition as Xt } from "vue";
2
+ import { Spin as xe, Menu as ee, ConfigProvider as Ne, Layout as de, Drawer as be, Breadcrumb as Gt, Card as Yt, LayoutFooter as qt, Tabs as He, Dropdown as et, Tooltip as Oe, List as te, Switch as ht, TabPane as Zt, Select as he, message as Jt, Divider as Be, Alert as Qt, Button as en } from "ant-design-vue";
3
+ import { useRouter as _e, RouterLink as tn } from "vue-router";
4
+ import { createFromIconfontCN as nn, MenuUnfoldOutlined as an, MenuFoldOutlined as on, GithubOutlined as ln, EllipsisOutlined as rn, ReloadOutlined as sn, CloseOutlined as gt, CheckOutlined as yt, SettingOutlined as un, NotificationOutlined as dn, CopyOutlined as cn } from "@ant-design/icons-vue";
5
+ import mn, { themeConfig as A, Keyframe as c, useProStyle as Z, useProConfigContext as Me, useStyle as Ve, mergeToken as Ae, colorList as fn } from "@gx-design-vue/pro-provider";
6
+ import { createTypes as hn } from "vue-types";
7
+ import { cloneDeep as Ee, pick as ae, omit as je } from "lodash-es";
8
+ import { GPorWaterMark as gn } from "@gx-design-vue/pro-watermark";
9
+ import { getSlot as K, isBoolean as yn, getPrefixCls as ce, classNames as bt, getLevelData as bn, isArray as pn, isBrowser as vn, merge as xn } from "@gx-design-vue/pro-utils";
10
10
  import { useMediaQuery as Cn, useState as pe, useMergedState as wn } from "@gx-design-vue/pro-hooks";
11
11
  import { useWindowSize as Sn, useClipboard as In } from "@vueuse/core";
12
12
  import On from "@gx-design-vue/scrollbar";
@@ -31,7 +31,7 @@ const Mn = /* @__PURE__ */ H({
31
31
  }, null)
32
32
  }), null)]);
33
33
  }
34
- }), vt = gn({
34
+ }), pt = hn({
35
35
  func: void 0,
36
36
  bool: void 0,
37
37
  string: void 0,
@@ -40,7 +40,7 @@ const Mn = /* @__PURE__ */ H({
40
40
  object: void 0,
41
41
  integer: void 0
42
42
  });
43
- vt.extend([{
43
+ pt.extend([{
44
44
  name: "looseBool",
45
45
  getter: !0,
46
46
  type: Boolean,
@@ -55,7 +55,7 @@ vt.extend([{
55
55
  getter: !0,
56
56
  type: null
57
57
  }]);
58
- const L = vt, ie = {
58
+ const L = pt, ie = {
59
59
  theme: {
60
60
  type: String,
61
61
  default: A.theme
@@ -247,14 +247,14 @@ const L = vt, ie = {
247
247
  onCollapse: {
248
248
  type: Function
249
249
  }
250
- }, Rn = /(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/, xt = (e) => Rn.test(e);
250
+ }, Rn = /(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/, vt = (e) => Rn.test(e);
251
251
  function Bn(e) {
252
252
  return /\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e);
253
253
  }
254
- function Ct(e, t, n, a) {
255
- var r, d, m, b, h, S, s, k, l, p, I, M, g, c, f, v, T, x, O, F, R, D, _, N, z, y, C, $, B, P, j, W, E, V;
254
+ function xt(e, t, n, a) {
255
+ var l, u, d, h, f, b, s, B, r, p, I, O, v, m, g, x, T, C, M, F, k, D, _, N, z, y, w, $, R, P, j, W, E, V;
256
256
  const i = { ...e };
257
- return n === "light" ? (i.colorItemBg = (d = (r = t.layout) == null ? void 0 : r[a]) == null ? void 0 : d.colorBgMenu, i.colorSubItemBg = (b = (m = t.layout) == null ? void 0 : m[a]) == null ? void 0 : b.colorSubItemBg, i.colorItemBgSelected = (S = (h = t.layout) == null ? void 0 : h[a]) == null ? void 0 : S.colorBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (k = (s = t.layout) == null ? void 0 : s[a]) == null ? void 0 : k.colorBgMenuItemSelected, i.colorItemText = (p = (l = t.layout) == null ? void 0 : l[a]) == null ? void 0 : p.colorTextMenu, i.colorItemTextHover = (M = (I = t.layout) == null ? void 0 : I[a]) == null ? void 0 : M.colorTextMenuHover, i.colorItemTextSelected = (c = (g = t.layout) == null ? void 0 : g[a]) == null ? void 0 : c.colorTextMenuSelected, i.colorItemTextSelectedHorizontal = (v = (f = t.layout) == null ? void 0 : f[a]) == null ? void 0 : v.colorTextMenuSelected, a === "sider" && (i.colorItemBgHover = (x = (T = t.layout) == null ? void 0 : T[a]) == null ? void 0 : x.colorBgMenuItemHover)) : n === "dark" && (i.colorItemBg = (F = (O = t.layout) == null ? void 0 : O[a]) == null ? void 0 : F.colorDarkBgMenu, i.colorSubItemBg = (D = (R = t.layout) == null ? void 0 : R[a]) == null ? void 0 : D.colorDarkSubItemBg, i.colorItemBgSelected = (N = (_ = t.layout) == null ? void 0 : _[a]) == null ? void 0 : N.colorDarkBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (y = (z = t.layout) == null ? void 0 : z[a]) == null ? void 0 : y.colorDarkBgMenuItemSelected, i.colorItemText = ($ = (C = t.layout) == null ? void 0 : C[a]) == null ? void 0 : $.colorDarkTextMenu, i.colorItemTextHover = (P = (B = t.layout) == null ? void 0 : B[a]) == null ? void 0 : P.colorDarkTextMenuHover, i.colorItemTextSelected = (W = (j = t.layout) == null ? void 0 : j[a]) == null ? void 0 : W.colorDarkTextMenuSelected, i.colorItemTextSelectedHorizontal = (V = (E = t.layout) == null ? void 0 : E[a]) == null ? void 0 : V.colorDarkTextMenuSelected, a === "header" && (i.colorActiveBarHeight = 0)), i;
257
+ return n === "light" ? (i.colorItemBg = (u = (l = t.layout) == null ? void 0 : l[a]) == null ? void 0 : u.colorBgMenu, i.colorSubItemBg = (h = (d = t.layout) == null ? void 0 : d[a]) == null ? void 0 : h.colorSubItemBg, i.colorItemBgSelected = (b = (f = t.layout) == null ? void 0 : f[a]) == null ? void 0 : b.colorBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (B = (s = t.layout) == null ? void 0 : s[a]) == null ? void 0 : B.colorBgMenuItemSelected, i.colorItemText = (p = (r = t.layout) == null ? void 0 : r[a]) == null ? void 0 : p.colorTextMenu, i.colorItemTextHover = (O = (I = t.layout) == null ? void 0 : I[a]) == null ? void 0 : O.colorTextMenuHover, i.colorItemTextSelected = (m = (v = t.layout) == null ? void 0 : v[a]) == null ? void 0 : m.colorTextMenuSelected, i.colorItemTextSelectedHorizontal = (x = (g = t.layout) == null ? void 0 : g[a]) == null ? void 0 : x.colorTextMenuSelected, a === "sider" && (i.colorItemBgHover = (C = (T = t.layout) == null ? void 0 : T[a]) == null ? void 0 : C.colorBgMenuItemHover)) : n === "dark" && (i.colorItemBg = (F = (M = t.layout) == null ? void 0 : M[a]) == null ? void 0 : F.colorDarkBgMenu, i.colorSubItemBg = (D = (k = t.layout) == null ? void 0 : k[a]) == null ? void 0 : D.colorDarkSubItemBg, i.colorItemBgSelected = (N = (_ = t.layout) == null ? void 0 : _[a]) == null ? void 0 : N.colorDarkBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (y = (z = t.layout) == null ? void 0 : z[a]) == null ? void 0 : y.colorDarkBgMenuItemSelected, i.colorItemText = ($ = (w = t.layout) == null ? void 0 : w[a]) == null ? void 0 : $.colorDarkTextMenu, i.colorItemTextHover = (P = (R = t.layout) == null ? void 0 : R[a]) == null ? void 0 : P.colorDarkTextMenuHover, i.colorItemTextSelected = (W = (j = t.layout) == null ? void 0 : j[a]) == null ? void 0 : W.colorDarkTextMenuSelected, i.colorItemTextSelectedHorizontal = (V = (E = t.layout) == null ? void 0 : E[a]) == null ? void 0 : V.colorDarkTextMenuSelected, a === "header" && (i.colorActiveBarHeight = 0)), i;
258
258
  }
259
259
  const kn = ["left", "right"], se = ["left", "right", "down", "up"], $n = ["downBig", "upBig", "leftBig", "rightBig"], Tn = ["topLeft", "bottomRight", "topRight", "bottomLeft"], Fn = ["downLeft", "upRight", "downRight", "upLeft"], Ke = {
260
260
  preset: [
@@ -274,22 +274,19 @@ const kn = ["left", "right"], se = ["left", "right", "down", "up"], $n = ["downB
274
274
  { name: "slide", alias: "滑动", directions: se }
275
275
  ]
276
276
  };
277
- function Ce(e, t) {
278
- return t != null && t.isNamed && (t == null ? void 0 : t.target) || e;
279
- }
280
277
  function Pn(e) {
281
278
  return e.map((t) => {
282
279
  var a;
283
280
  const n = { ...t };
284
- if (!n.name || (a = n.meta) != null && a.hideInMenu)
281
+ if ((a = n.meta) != null && a.hideInMenu)
285
282
  return null;
286
283
  if (n && (n != null && n.children)) {
287
284
  if (n.children.some((i) => {
288
- var r;
289
- return i && i.name && !((r = i.meta) != null && r.hideInMenu);
285
+ var l;
286
+ return i && !((l = i.meta) != null && l.hideInMenu);
290
287
  }))
291
288
  return {
292
- ...t,
289
+ ...n,
293
290
  children: Pn(n.children)
294
291
  };
295
292
  delete n.children;
@@ -301,36 +298,47 @@ function Ln(e) {
301
298
  return e.map((t) => {
302
299
  var a;
303
300
  const n = { ...t };
304
- return !n.name || (a = n.meta) != null && a.hideInMenu ? null : (n.linkPath = zn(n.children || []), n.children && delete n.children, n);
301
+ return (a = n.meta) != null && a.hideInMenu ? null : (n.linkPath = zn(n.children || []), n.children && delete n.children, n);
305
302
  }).filter((t) => t);
306
303
  }
307
304
  function Dn(e, t) {
308
- const n = (t || "").split("/").length === 2 ? t || "" : `/${(t || "").split("/")[1]}`, a = e.find((i) => {
309
- var r;
310
- return (r = i.meta) != null && r.isNamed ? i.path.includes(n) : i.path === n;
311
- });
305
+ const n = (t || "").split("/").length === 2 ? t || "" : `/${(t || "").split("/")[1]}`, a = e.find((i) => i.path === n);
312
306
  return t === void 0 ? [] : (a == null ? void 0 : a.children) || [];
313
307
  }
314
308
  function zn(e) {
315
309
  let t = "";
316
310
  const n = function(a) {
317
311
  let i = "";
318
- return a.children && a.children.length > 0 ? i = n(a.children[0]) : i = Ce(a.path, a.meta), i;
312
+ return a.children && a.children.length > 0 ? i = n(a.children[0]) : i = a.path, i;
319
313
  };
320
314
  if (e.length > 0 && e[0].children && e[0].children.length > 0)
321
315
  t = n(e[0].children[0]);
322
316
  else {
323
317
  const a = e.length > 0 ? e[0] : void 0;
324
- t = Ce((a == null ? void 0 : a.path) || "", a == null ? void 0 : a.meta);
318
+ t = (a == null ? void 0 : a.path) || "";
325
319
  }
326
320
  return t;
327
321
  }
322
+ function yl(e, t) {
323
+ var a, i;
324
+ const n = ((i = (a = e.find((l) => l.path === t)) == null ? void 0 : a.meta) == null ? void 0 : i.key) || "";
325
+ if (n) {
326
+ const l = [], u = n.split("-");
327
+ for (let d = 0; d < u.length; d += 1)
328
+ l.push(Ee(u).splice(0, d + 1).join("-"));
329
+ return e.filter((d) => l.some((h) => {
330
+ var f;
331
+ return h === ((f = d == null ? void 0 : d.meta) == null ? void 0 : f.key) || "";
332
+ }));
333
+ }
334
+ return [];
335
+ }
328
336
  function Nn(e) {
329
337
  return e.layout === "mix" && (e.fixSiderbar = !0, e.fixedHeader = !0, e.splitMenus = !0), e.layout === "simple" && (e.splitMenus = !1, e.showTabsBar = !1), e.layout === "side" && (e.splitMenus = !1), e.layout === "wide" && (e.splitMenus = !1, e.fixSiderbar = !1, e.fixedHeader = !0, e.showTabsBar = !1, e.fixedMultiTab = !1), { ...e };
330
338
  }
331
339
  function Hn(e) {
332
340
  const t = ["showTabsBar", "fixedMultiTab", "fixSiderbar", "fixedHeader", "splitMenus"];
333
- let a = Object.keys(e).reduce((i, r) => (i[r] = !1, i), {});
341
+ let a = Object.keys(e).reduce((i, l) => (i[l] = !1, i), {});
334
342
  return a = _n(a, t), e.layout === "mix" && (a.fixSiderbar = !0, a.fixedHeader = !0), e.layout === "side" && (a.splitMenus = !0), e.layout === "simple" && (a.splitMenus = !0, a.fixedHeader = !0, a.showTabsBar = !0, a.fixedMultiTab = !0), e.layout === "wide" && (a.splitMenus = !0, a.fixedHeader = !0, a.fixSiderbar = !0, a.showTabsBar = !0, a.fixedMultiTab = !0), a;
335
343
  }
336
344
  function _n(e, t) {
@@ -347,19 +355,19 @@ const Vn = (e = Symbol(), t = "Context.Provider") => H({
347
355
  }
348
356
  },
349
357
  setup(a, { slots: i }) {
350
- return ze(e, Vt(a.value)), () => {
351
- var r;
352
- return (r = i.default) == null ? void 0 : r.call(i);
358
+ return De(e, _t(a.value)), () => {
359
+ var l;
360
+ return (l = i.default) == null ? void 0 : l.call(i);
353
361
  };
354
362
  }
355
363
  }), An = (e = Symbol(), t) => mt(e, t || {}), Ue = Symbol("pro-layout-context"), En = () => Vn(Ue, "ProLayoutContext.Provider"), jn = (e) => {
356
- ze(Ue, e);
364
+ De(Ue, e);
357
365
  }, J = () => An(Ue);
358
366
  En();
359
367
  function nt(e) {
360
368
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ne(e);
361
369
  }
362
- const we = (e) => {
370
+ const Ce = (e) => {
363
371
  const {
364
372
  icon: t,
365
373
  iconType: n,
@@ -368,17 +376,17 @@ const we = (e) => {
368
376
  if (!t)
369
377
  return null;
370
378
  if (typeof t == "string" && t !== "") {
371
- if (xt(t) || Bn(t))
379
+ if (vt(t) || Bn(t))
372
380
  return o("img", {
373
381
  src: t,
374
382
  alt: "icon",
375
383
  class: `${e.className}-icon-image`
376
384
  }, null);
377
385
  if (n === 1) {
378
- const r = an({
386
+ const l = nn({
379
387
  scriptUrl: a || A.iconfontUrl
380
388
  });
381
- return a ? o(r, {
389
+ return a ? o(l, {
382
390
  type: t
383
391
  }, null) : o("i", {
384
392
  class: `iconfont ${t} ${e.className}-icon`
@@ -388,9 +396,9 @@ const we = (e) => {
388
396
  if (ne(t))
389
397
  return t;
390
398
  const i = ft(t);
391
- return typeof we == "function" && o(i, null, null) || null;
399
+ return typeof Ce == "function" && o(i, null, null) || null;
392
400
  };
393
- we.props = {
401
+ Ce.props = {
394
402
  icon: {
395
403
  type: [String, Function, Object]
396
404
  },
@@ -398,98 +406,98 @@ we.props = {
398
406
  className: String,
399
407
  iconfontUrl: String
400
408
  };
401
- const wt = /* @__PURE__ */ H({
409
+ const Ct = /* @__PURE__ */ H({
402
410
  name: "BaseMenu",
403
411
  props: We,
404
412
  setup(e) {
405
- const t = Ve(), {
413
+ const t = _e(), {
406
414
  getPrefixCls: n
407
415
  } = J(), a = n({
408
416
  suffixCls: "menu-item",
409
417
  isPor: !0
410
- }), i = (l) => {
418
+ }), i = (r) => {
411
419
  var p;
412
- (p = e.onOpenKeys) == null || p.call(e, l);
413
- }, r = (l) => {
420
+ (p = e.onOpenKeys) == null || p.call(e, r);
421
+ }, l = (r) => {
414
422
  var p;
415
- (p = e.onSelect) == null || p.call(e, l.selectedKeys);
416
- }, d = (l) => {
423
+ (p = e.onSelect) == null || p.call(e, r.selectedKeys);
424
+ }, u = (r) => {
417
425
  var p;
418
- (p = e.onClick) == null || p.call(e, ...l);
419
- }, m = (l, p) => {
420
- var g;
421
- const I = l.target || "", M = xt(I);
422
- ((g = t.currentRoute.value) == null ? void 0 : g.fullPath) !== p.to && M && I && l.targetStatus === 1 && window.open(I);
423
- }, b = ft("router-link"), h = (l = []) => l.map((p) => S(p)).filter((p) => p), S = (l) => {
424
- var M, g, c, f, v, T, x, O, F;
425
- if (Array.isArray(l.children) && l.children.length > 0 && !((M = l == null ? void 0 : l.meta) != null && M.hideInMenu) && !((g = l == null ? void 0 : l.meta) != null && g.hideChildrenInMenu)) {
426
- let R;
426
+ (p = e.onClick) == null || p.call(e, ...r);
427
+ }, d = (r, p) => {
428
+ var v;
429
+ const I = r.target || "", O = vt(I);
430
+ ((v = t.currentRoute.value) == null ? void 0 : v.fullPath) !== p.to && O && I && r.targetStatus === 1 && window.open(I);
431
+ }, h = ft("router-link"), f = (r = []) => r.map((p) => b(p)).filter((p) => p), b = (r) => {
432
+ var O, v, m, g, x, T, C, M, F;
433
+ if (Array.isArray(r.children) && r.children.length > 0 && !((O = r == null ? void 0 : r.meta) != null && O.hideInMenu) && !((v = r == null ? void 0 : r.meta) != null && v.hideChildrenInMenu)) {
434
+ let k;
427
435
  if (e.subMenuItemRender)
428
436
  return e.subMenuItemRender({
429
- item: l,
430
- children: h(l.children)
437
+ item: r,
438
+ children: f(r.children)
431
439
  });
432
- const D = (c = l.meta) == null ? void 0 : c.title, _ = (f = l.meta) != null && f.icon ? o("span", {
440
+ const D = (m = r.meta) == null ? void 0 : m.title, _ = (g = r.meta) != null && g.icon ? o("span", {
433
441
  class: "gx-pro-sider-menu-item"
434
442
  }, [o("span", {
435
443
  class: "gx-pro-sider-menu-item-title"
436
444
  }, [D])]) : o("span", {
437
445
  class: "gx-pro-sider-menu-item"
438
- }, [D]), N = ((v = l.meta) == null ? void 0 : v.type) === "group", z = N ? ee.ItemGroup : ee.SubMenu;
446
+ }, [D]), N = ((x = r.meta) == null ? void 0 : x.type) === "group", z = N ? ee.ItemGroup : ee.SubMenu;
439
447
  return o(z, {
440
448
  title: _,
441
- key: l.path,
442
- icon: N ? null : o(we, {
449
+ key: r.path,
450
+ icon: N ? null : o(Ce, {
443
451
  className: a,
444
- icon: (T = l.meta) == null ? void 0 : T.icon,
452
+ icon: (T = r.meta) == null ? void 0 : T.icon,
445
453
  iconfontUrl: e.iconfontUrl,
446
- iconType: (x = l.meta) == null ? void 0 : x.iconType
454
+ iconType: (C = r.meta) == null ? void 0 : C.iconType
447
455
  }, null)
448
- }, nt(R = h(l.children)) ? R : {
449
- default: () => [R]
456
+ }, nt(k = f(r.children)) ? k : {
457
+ default: () => [k]
450
458
  });
451
459
  }
452
- const [p, I] = s(l);
460
+ const [p, I] = s(r);
453
461
  return e.menuItemRender && e.menuItemRender({
454
- item: l,
462
+ item: r,
455
463
  title: p,
456
464
  icon: I
457
465
  }) || o(ee.Item, {
458
- disabled: (O = l.meta) == null ? void 0 : O.disabled,
459
- danger: (F = l.meta) == null ? void 0 : F.danger,
460
- key: l.path,
466
+ disabled: (M = r.meta) == null ? void 0 : M.disabled,
467
+ danger: (F = r.meta) == null ? void 0 : F.danger,
468
+ key: r.path,
461
469
  icon: I
462
470
  }, nt(p) ? p : {
463
471
  default: () => [p]
464
472
  });
465
- }, s = (l) => {
466
- var T, x, O, F, R;
473
+ }, s = (r) => {
474
+ var x, T, C, M, F;
467
475
  const p = {
468
- ...l.meta
469
- }, I = p.targetStatus === 1 && p.target ? "a" : b, M = l.linkPath || l.path || "", g = {
470
- to: Ce(M, p)
476
+ ...r.meta
477
+ }, I = p.targetStatus === 1 && p.target ? "a" : h, O = {
478
+ to: r.linkPath || r.path || ""
471
479
  };
472
- g.to === "/live/list/operation/:id" && (g.to = "/live/list/operation/add");
473
- const c = (T = l.meta) == null ? void 0 : T.title, f = (x = l.meta) != null && x.icon ? o(I, X(g, {
480
+ O.to === "/live/list/operation/:id" && (O.to = "/live/list/operation/add");
481
+ const v = (x = r.meta) == null ? void 0 : x.title, m = (T = r.meta) != null && T.icon ? o(I, X(O, {
474
482
  class: "gx-pro-sider-menu-item",
475
- onClick: () => m(p, g)
483
+ onClick: () => d(p, O)
476
484
  }), {
477
485
  default: () => [o("span", {
478
486
  class: "gx-pro-sider-menu-item-title"
479
- }, [c])]
480
- }) : o(I, X(g, {
487
+ }, [v])]
488
+ }) : o(I, X(O, {
481
489
  class: "gx-pro-sider-menu-item",
482
- onClick: () => m(p, g)
490
+ onClick: () => d(p, O)
483
491
  }), {
484
- default: () => [o("span", null, [c])]
485
- }), v = ((O = l.meta) == null ? void 0 : O.icon) && o(we, {
492
+ default: () => [o("span", null, [v])]
493
+ }), g = ((C = r.meta) == null ? void 0 : C.icon) && o(Ce, {
486
494
  className: a,
487
- icon: (F = l.meta) == null ? void 0 : F.icon,
495
+ icon: (M = r.meta) == null ? void 0 : M.icon,
488
496
  iconfontUrl: e.iconfontUrl,
489
- iconType: (R = l.meta) == null ? void 0 : R.iconType
497
+ iconType: (F = r.meta) == null ? void 0 : F.iconType
490
498
  }, null) || void 0;
491
- return [f, v];
492
- }, k = w(() => h(e.menuData));
499
+ return [m, g];
500
+ }, B = S(() => f(e.menuData));
493
501
  return () => o(ee, X({
494
502
  key: "Menu",
495
503
  inlineIndent: 16,
@@ -498,13 +506,13 @@ const wt = /* @__PURE__ */ H({
498
506
  openKeys: e.openKeys === !1 ? [] : e.openKeys,
499
507
  selectedKeys: e.selectedKeys || [],
500
508
  onOpenChange: i,
501
- onSelect: r,
502
- onClick: d
509
+ onSelect: l,
510
+ onClick: u
503
511
  }, e.menuProps), {
504
- default: () => [k.value]
512
+ default: () => [B.value]
505
513
  });
506
514
  }
507
- }), St = new u("pro-layout-title-hide", {
515
+ }), wt = new c("pro-layout-title-hide", {
508
516
  "0%": { display: "none", opacity: 0 },
509
517
  "99%": {
510
518
  display: "none",
@@ -526,7 +534,7 @@ const wt = /* @__PURE__ */ H({
526
534
  }
527
535
  };
528
536
  }, Kn = (e) => {
529
- var t, n, a, i, r, d, m, b, h, S, s, k;
537
+ var t, n, a, i, l, u, d, h, f, b, s, B;
530
538
  return {
531
539
  [`${e.proComponentsCls}-basic-layout`]: {
532
540
  [`&${e.proComponentsCls}-basic-layout-wide`]: {
@@ -559,7 +567,7 @@ const wt = /* @__PURE__ */ H({
559
567
  background: (i = (a = e.layout) == null ? void 0 : a.sider) == null ? void 0 : i.colorBgMenu,
560
568
  boxShadow: "2px 0 8px 0 rgba(29,35,41,.05)",
561
569
  [`${e.componentCls}-footer`]: {
562
- color: (d = (r = e.layout) == null ? void 0 : r.sider) == null ? void 0 : d.colorTextMenu
570
+ color: (u = (l = e.layout) == null ? void 0 : l.sider) == null ? void 0 : u.colorTextMenu
563
571
  }
564
572
  },
565
573
  "&-links": {
@@ -575,10 +583,10 @@ const wt = /* @__PURE__ */ H({
575
583
  background: "transparent"
576
584
  },
577
585
  "&-footer": {
578
- color: (b = (m = e.layout) == null ? void 0 : m.sider) == null ? void 0 : b.colorDarkTextMenu,
586
+ color: (h = (d = e.layout) == null ? void 0 : d.sider) == null ? void 0 : h.colorDarkTextMenu,
579
587
  paddingBlockEnd: 16,
580
588
  fontSize: e.fontSize,
581
- animationName: St,
589
+ animationName: wt,
582
590
  animationDuration: ".4s",
583
591
  animationTimingFunction: "ease"
584
592
  }
@@ -590,8 +598,8 @@ const wt = /* @__PURE__ */ H({
590
598
  zIndex: "100",
591
599
  height: "100%",
592
600
  "&-mix": {
593
- height: `calc(100% - ${((S = (h = e.layout) == null ? void 0 : h.header) == null ? void 0 : S.heightLayoutHeader) || A.headerHeight}px)`,
594
- insetBlockStart: `${((k = (s = e.layout) == null ? void 0 : s.header) == null ? void 0 : k.heightLayoutHeader) || A.headerHeight}px`
601
+ height: `calc(100% - ${((b = (f = e.layout) == null ? void 0 : f.header) == null ? void 0 : b.heightLayoutHeader) || A.headerHeight}px)`,
602
+ insetBlockStart: `${((B = (s = e.layout) == null ? void 0 : s.header) == null ? void 0 : B.heightLayoutHeader) || A.headerHeight}px`
595
603
  }
596
604
  }
597
605
  }
@@ -639,7 +647,7 @@ const wt = /* @__PURE__ */ H({
639
647
  marginInlineEnd: 0,
640
648
  marginInlineStart: 12,
641
649
  color: e.colorWhite,
642
- animationName: St,
650
+ animationName: wt,
643
651
  animationDuration: ".2s",
644
652
  fontWeight: 600,
645
653
  fontSize: 18,
@@ -664,7 +672,7 @@ const wt = /* @__PURE__ */ H({
664
672
  }
665
673
  }
666
674
  }
667
- }), It = (e, t) => e ? typeof e == "string" ? o("img", {
675
+ }), St = (e, t) => e ? typeof e == "string" ? o("img", {
668
676
  src: e,
669
677
  alt: "logo",
670
678
  style: t
@@ -673,37 +681,37 @@ const wt = /* @__PURE__ */ H({
673
681
  logo: n,
674
682
  logoStyle: a,
675
683
  title: i,
676
- layout: r
677
- } = e, d = e[t || ""];
678
- if (d === !1)
684
+ layout: l
685
+ } = e, u = e[t || ""];
686
+ if (u === !1)
679
687
  return null;
680
- const m = It(n, a), b = i && o("h1", null, [i]);
681
- return typeof d == "function" ? d(m, e.collapsed ? null : b, e) : o(q, null, [m || null, e.collapsed && r === "side" ? null : b]);
688
+ const d = St(n, a), h = i && o("h1", null, [i]);
689
+ return typeof u == "function" ? u(d, e.collapsed ? null : h, e) : o(q, null, [d || null, e.collapsed && l === "side" ? null : h]);
682
690
  }, Xe = /* @__PURE__ */ H({
683
691
  name: "LogoContent",
684
692
  props: oe,
685
693
  setup(e) {
686
694
  const {
687
695
  getPrefixCls: t
688
- } = J(), n = w(() => e.layout === "side" || e.layout === "simple"), a = w(() => t({
696
+ } = J(), n = S(() => e.layout === "side" || e.layout === "simple"), a = S(() => t({
689
697
  suffixCls: n.value || e.drawer ? "sider" : "global-header",
690
698
  isPor: !0
691
699
  })), {
692
700
  wrapSSR: i,
693
- hashId: r
694
- } = Z("ProLayoutLogo", [Xn]), d = w(() => Gn(e, e.renderKey));
701
+ hashId: l
702
+ } = Z("ProLayoutLogo", [Xn]), u = S(() => Gn(e, e.renderKey));
695
703
  return () => i(o("div", {
696
704
  id: "logo",
697
705
  class: {
698
- [`${r.value}`]: !0,
706
+ [`${l.value}`]: !0,
699
707
  [`${a.value}-logo`]: !0,
700
708
  [`${a.value}-logo-collapsed`]: !!e.collapsed
701
709
  },
702
710
  onClick: () => {
703
- var m;
704
- return (m = e.onMenuHeaderClick) == null ? void 0 : m.call(e);
711
+ var d;
712
+ return (d = e.onMenuHeaderClick) == null ? void 0 : d.call(e);
705
713
  }
706
- }, [o("a", null, [d.value || null])]));
714
+ }, [o("a", null, [u.value || null])]));
707
715
  }
708
716
  });
709
717
  Xe.inheritAttrs = !1;
@@ -714,7 +722,7 @@ const {
714
722
  Sider: qn
715
723
  } = de, {
716
724
  Item: at
717
- } = ee, Ot = (e) => e ? o(on, null, null) : o(ln, null, null), ot = /* @__PURE__ */ H({
725
+ } = ee, It = (e) => e ? o(an, null, null) : o(on, null, null), ot = /* @__PURE__ */ H({
718
726
  props: Y,
719
727
  inheritAttrs: !1,
720
728
  setup(e) {
@@ -723,54 +731,54 @@ const {
723
731
  selectedKeys: n,
724
732
  flatMenuData: a,
725
733
  menuData: i,
726
- openKeys: r
734
+ openKeys: l
727
735
  } = J(), {
728
- token: d
729
- } = Re(), {
730
- theme: m,
731
- layout: b,
732
- isMobile: h,
733
- menuLoading: S,
736
+ token: u
737
+ } = Me(), {
738
+ theme: d,
739
+ layout: h,
740
+ isMobile: f,
741
+ menuLoading: b,
734
742
  breakpoint: s,
735
- fixSiderbar: k,
736
- collapsed: l,
743
+ fixSiderbar: B,
744
+ collapsed: r,
737
745
  siderWidth: p,
738
746
  collapsedWidth: I,
739
- menuExtraRender: M,
740
- menuContentRender: g,
741
- menuFooterRender: c,
742
- collapsedButtonRender: f,
743
- links: v
744
- } = Oe(e), T = t({
747
+ menuExtraRender: O,
748
+ menuContentRender: v,
749
+ menuFooterRender: m,
750
+ collapsedButtonRender: g,
751
+ links: x
752
+ } = Ie(e), T = t({
745
753
  suffixCls: "sider",
746
754
  isPor: !0
747
755
  }), {
748
- wrapSSR: x,
749
- hashId: O
750
- } = Z("ProLayoutSiderMenu", [Wn, Kn, Un], T), F = w(() => e.layout === "wide"), R = w(() => e.layout === "mix" && !e.isMobile && e.splitMenus), D = w(() => b.value === "side" || b.value === "simple"), _ = w(() => (e.layout === "mix" || F.value) && "light" || m.value), N = w(() => e.collapsed ? e.collapsedWidth : e.siderWidth), z = w(() => [O.value, T, h.value ? "shadow" : null, `${T}-${_.value}`, k.value && e.layout !== "wide" ? `${T}-fixed` : null]), y = w(() => {
751
- var B;
752
- return typeof v.value == "function" ? (B = v.value) == null ? void 0 : B.call(v) : v.value;
753
- }), C = w(() => f.value !== !1 ? f.value || Ot : !1), $ = (B) => {
756
+ wrapSSR: C,
757
+ hashId: M
758
+ } = Z("ProLayoutSiderMenu", [Wn, Kn, Un], T), F = S(() => e.layout === "wide"), k = S(() => e.layout === "mix" && !e.isMobile && e.splitMenus), D = S(() => h.value === "side" || h.value === "simple"), _ = S(() => (e.layout === "mix" || F.value) && "light" || d.value), N = S(() => e.collapsed ? e.collapsedWidth : e.siderWidth), z = S(() => [M.value, T, f.value ? "shadow" : null, `${T}-${_.value}`, B.value && e.layout !== "wide" ? `${T}-fixed` : null]), y = S(() => {
759
+ var R;
760
+ return typeof x.value == "function" ? (R = x.value) == null ? void 0 : R.call(x) : x.value;
761
+ }), w = S(() => g.value !== !1 ? g.value || It : !1), $ = (R) => {
754
762
  var P;
755
763
  if (e.onSelect) {
756
- if (U(R)) {
757
- e.onSelect([(P = n == null ? void 0 : n.value) == null ? void 0 : P[0], ...B]);
764
+ if (U(k)) {
765
+ e.onSelect([(P = n == null ? void 0 : n.value) == null ? void 0 : P[0], ...R]);
758
766
  return;
759
767
  }
760
- e.onSelect(B);
768
+ e.onSelect(R);
761
769
  }
762
770
  };
763
771
  return () => {
764
772
  var W;
765
- const B = D.value ? o(Xe, X({
766
- drawer: h.value
767
- }, e), null) : null, P = M.value && ((W = M.value) == null ? void 0 : W.call(M, e)), j = o(wt, {
768
- class: `${T}-menu ${O.value}`,
773
+ const R = D.value ? o(Xe, X({
774
+ drawer: f.value
775
+ }, e), null) : null, P = O.value && ((W = O.value) == null ? void 0 : W.call(O, e)), j = o(Ct, {
776
+ class: `${T}-menu ${M.value}`,
769
777
  theme: _.value,
770
778
  mode: "inline",
771
- menuData: R.value ? a.value : i.value,
779
+ menuData: k.value ? a.value : i.value,
772
780
  iconfontUrl: e.iconfontUrl,
773
- openKeys: r.value,
781
+ openKeys: l.value,
774
782
  selectedKeys: n.value,
775
783
  menuItemRender: e.menuItemRender,
776
784
  subMenuItemRender: e.subMenuItemRender,
@@ -784,20 +792,20 @@ const {
784
792
  },
785
793
  onSelect: $
786
794
  }, null);
787
- return R.value && U(a.value).length === 0 || i.value.length === 0 ? null : x(o(He, {
795
+ return k.value && U(a.value).length === 0 || i.value.length === 0 ? null : C(o(Ne, {
788
796
  theme: {
789
797
  components: {
790
- Menu: Ct({
798
+ Menu: xt({
791
799
  radiusItem: 4,
792
800
  colorActiveBarWidth: 0,
793
801
  colorActiveBarHeight: 0,
794
802
  colorActiveBarBorderSize: 0
795
803
  // 主题颜色
796
- }, (d == null ? void 0 : d.value) || {}, _.value, "sider")
804
+ }, (u == null ? void 0 : u.value) || {}, _.value, "sider")
797
805
  }
798
806
  }
799
807
  }, {
800
- default: () => [k.value && o("div", {
808
+ default: () => [B.value && o("div", {
801
809
  style: {
802
810
  width: `${N.value}px`,
803
811
  overflow: "hidden",
@@ -812,72 +820,72 @@ const {
812
820
  class: z.value,
813
821
  style: {
814
822
  overflow: "hidden",
815
- zIndex: k.value ? 101 : void 0,
823
+ zIndex: B.value ? 101 : void 0,
816
824
  paddingTop: D.value || e.isMobile || F.value ? 0 : `${e.headerHeight}px`,
817
825
  top: e.layout === "wide" ? `${e.headerHeight + 20}px` : void 0,
818
826
  height: e.layout === "wide" ? `calc(100vh - ${e.headerHeight + 20 * 2}px)` : void 0
819
827
  },
820
828
  theme: _.value,
821
829
  breakpoint: s.value || void 0,
822
- collapsed: l.value,
830
+ collapsed: r.value,
823
831
  width: p.value,
824
832
  collapsedWidth: I.value
825
833
  }, {
826
834
  default: () => {
827
835
  var E, V;
828
- return [S.value && o("div", {
829
- class: ["gx-pro-sider-loading", O.value]
836
+ return [b.value && o("div", {
837
+ class: ["gx-pro-sider-loading", M.value]
830
838
  }, [o(xe, {
831
- spinning: S.value
832
- }, null)]), B || null, P && !e.collapsed && o("div", {
839
+ spinning: b.value
840
+ }, null)]), R || null, P && !e.collapsed && o("div", {
833
841
  class: {
834
- [`${O.value}`]: !0,
842
+ [`${M.value}`]: !0,
835
843
  [`${T}-extra`]: !0,
836
- [`${T}-extra-no-logo`]: !B
844
+ [`${T}-extra-no-logo`]: !R
837
845
  }
838
846
  }, [P]), o("div", {
839
847
  style: {
840
848
  flex: "1 1 0%",
841
849
  overflow: "hidden auto"
842
850
  }
843
- }, [g.value && ((E = g.value) == null ? void 0 : E.call(g, e, j)) || j]), e.layout !== "wide" && o("div", {
844
- class: `${T}-links ${O.value}`
851
+ }, [v.value && ((E = v.value) == null ? void 0 : E.call(v, e, j)) || j]), e.layout !== "wide" && o("div", {
852
+ class: `${T}-links ${M.value}`
845
853
  }, [o(ee, {
846
854
  theme: _.value,
847
855
  inlineIndent: 16,
848
- class: `${T}-link-menu ${O.value}`,
856
+ class: `${T}-link-menu ${M.value}`,
849
857
  selectedKeys: [],
850
858
  openKeys: [],
851
859
  mode: "inline"
852
860
  }, {
853
861
  default: () => [(y.value || []).map((G, fe) => o(at, {
854
- class: `${T}-link ${O.value}`,
862
+ class: `${T}-link ${M.value}`,
855
863
  key: fe
856
864
  }, Yn(G) ? G : {
857
865
  default: () => [G]
858
- })), C.value && !h.value && o(at, {
859
- class: `${T}-collapsed-button ${O.value}`,
866
+ })), w.value && !f.value && o(at, {
867
+ class: `${T}-collapsed-button ${M.value}`,
860
868
  title: !1,
861
869
  key: "collapsed",
862
870
  onClick: () => {
863
871
  var G;
864
- e.onCollapse && ((G = e.onCollapse) == null || G.call(e, !l.value));
872
+ e.onCollapse && ((G = e.onCollapse) == null || G.call(e, !r.value));
865
873
  }
866
874
  }, {
867
875
  default: () => {
868
876
  var G;
869
- return [(G = C.value) == null ? void 0 : G.call(C, l.value)];
877
+ return [(G = w.value) == null ? void 0 : G.call(w, r.value)];
870
878
  }
871
879
  })]
872
- })]), c.value && o("div", {
873
- class: `${T}-footer ${O.value}`
874
- }, [(V = c.value) == null ? void 0 : V.call(c, e)])];
880
+ })]), m.value && o("div", {
881
+ class: `${T}-footer ${M.value}`
882
+ }, [(V = m.value) == null ? void 0 : V.call(m, e)])];
875
883
  }
876
884
  })]
877
885
  }));
878
886
  };
879
887
  }
880
- }), Te = /* @__PURE__ */ H({
888
+ }), $e = /* @__PURE__ */ H({
881
889
  name: "SiderMenuWrapper",
882
890
  inheritAttrs: !1,
883
891
  props: {
@@ -912,9 +920,9 @@ const {
912
920
  }), null)]
913
921
  }) : o(ot, e, null)]);
914
922
  }
915
- }), Mt = Symbol("pro-app-context"), Zn = (e = Symbol(), t) => mt(e, t || {}), Jn = (e) => {
916
- ze(Mt, e);
917
- }, Qn = () => Zn(Mt, []);
923
+ }), Ot = Symbol("pro-app-context"), Zn = (e = Symbol(), t) => mt(e, t || {}), Jn = (e) => {
924
+ De(Ot, e);
925
+ }, Qn = () => Zn(Ot, []);
918
926
  process.env.NODE_ENV !== "production" && Object.freeze({});
919
927
  process.env.NODE_ENV !== "production" && Object.freeze([]);
920
928
  const ea = Object.prototype.toString;
@@ -939,16 +947,16 @@ const ia = ({ suffixCls: e, customizePrefixCls: t, isPor: n, className: a }) =>
939
947
  const i = a || (n ? "gx-pro" : "gx");
940
948
  return t || (e ? `${i}-${e}` : i);
941
949
  }, la = (e) => {
942
- const { componentCls: t, colorText: n, fontSize: a, lineHeight: i, fontFamily: r } = e;
950
+ const { componentCls: t, colorText: n, fontSize: a, lineHeight: i, fontFamily: l } = e;
943
951
  return {
944
952
  [t]: {
945
953
  color: n,
946
954
  fontSize: a,
947
955
  lineHeight: i,
948
- fontFamily: r
956
+ fontFamily: l
949
957
  }
950
958
  };
951
- }, ra = ["emptyText", "indicator"], $e = /* @__PURE__ */ H({
959
+ }, ra = ["emptyText", "indicator"], ke = /* @__PURE__ */ H({
952
960
  name: "GProApp",
953
961
  props: {
954
962
  rootClassName: String,
@@ -964,19 +972,19 @@ const ia = ({ suffixCls: e, customizePrefixCls: t, isPor: n, className: a }) =>
964
972
  }), {
965
973
  wrapSSR: a,
966
974
  hashId: i
967
- } = Z("BaseApp", [la], n), r = w(() => oa(ra, t, e)), d = w(() => [i.value, n, e.rootClassName]);
975
+ } = Z("BaseApp", [la], n), l = S(() => oa(ra, t, e)), u = S(() => [i.value, n, e.rootClassName]);
968
976
  return Jn({
969
- emptyText: w(() => r.value.emptyText),
970
- indicator: w(() => r.value.indicator)
977
+ emptyText: S(() => l.value.emptyText),
978
+ indicator: S(() => l.value.indicator)
971
979
  }), () => {
972
- var m;
980
+ var d;
973
981
  return a(o("div", {
974
- class: d.value
975
- }, [(m = t.default) == null ? void 0 : m.call(t)]));
982
+ class: u.value
983
+ }, [(d = t.default) == null ? void 0 : d.call(t)]));
976
984
  };
977
985
  }
978
986
  });
979
- $e.install = (e) => (e.component($e.name, $e), e);
987
+ ke.install = (e) => (e.component(ke.name, ke), e);
980
988
  const me = {
981
989
  pageHeaderRender: {
982
990
  type: [Object, Function, Boolean],
@@ -1024,31 +1032,31 @@ const me = {
1024
1032
  suffixCls: "page-header"
1025
1033
  }), {
1026
1034
  wrapSSR: i,
1027
- hashId: r
1028
- } = Z("ProPageHeader", [sa], a), d = w(() => {
1029
- var m;
1035
+ hashId: l
1036
+ } = Z("ProPageHeader", [sa], a), u = S(() => {
1037
+ var d;
1030
1038
  return {
1031
1039
  ...t.value,
1032
- itemRender: ((m = t.value) == null ? void 0 : m.itemRender) || (({
1033
- route: b
1034
- }) => o(nn, {
1035
- to: b.path
1040
+ itemRender: ((d = t.value) == null ? void 0 : d.itemRender) || (({
1041
+ route: h
1042
+ }) => h.path ? o(tn, {
1043
+ to: h.path
1036
1044
  }, {
1037
- default: () => [b.breadcrumbName]
1038
- }))
1045
+ default: () => [h.breadcrumbName]
1046
+ }) : h.breadcrumbName)
1039
1047
  };
1040
1048
  });
1041
1049
  return () => {
1042
- var m, b;
1050
+ var d, h;
1043
1051
  return i(o("div", {
1044
- class: [`${a}`, r.value, `${a}-has-breadcrumb`]
1045
- }, [e.breadcrumb ? (m = e.breadcrumb) == null ? void 0 : m.call(e, d.value) : o(Yt, d.value, null), e.content && o("div", {
1046
- class: [`${a}-content`, r.value]
1047
- }, [(b = e.content) == null ? void 0 : b.call(e)])]));
1052
+ class: [`${a}`, l.value, `${a}-has-breadcrumb`]
1053
+ }, [e.breadcrumb ? (d = e.breadcrumb) == null ? void 0 : d.call(e, u.value) : o(Gt, u.value, null), e.content && o("div", {
1054
+ class: [`${a}-content`, l.value]
1055
+ }, [(h = e.content) == null ? void 0 : h.call(e)])]));
1048
1056
  };
1049
1057
  }
1050
1058
  }), da = (e) => {
1051
- var t, n, a, i, r, d, m, b;
1059
+ var t, n, a, i, l, u, d, h;
1052
1060
  return {
1053
1061
  [`${e.proComponentsCls}-basic-layout`]: {
1054
1062
  [e.componentCls]: {
@@ -1061,16 +1069,16 @@ const me = {
1061
1069
  },
1062
1070
  [e.componentCls]: {
1063
1071
  ["&-children-content"]: {
1064
- marginInline: ((d = (r = e.layout) == null ? void 0 : r.pageContainer) == null ? void 0 : d.paddingBlockPageContainerContent) ?? 24,
1065
- marginBlockStart: ((b = (m = e.layout) == null ? void 0 : m.pageContainer) == null ? void 0 : b.paddingBlockPageContainerContent) ?? 24,
1072
+ marginInline: ((u = (l = e.layout) == null ? void 0 : l.pageContainer) == null ? void 0 : u.paddingBlockPageContainerContent) ?? 24,
1073
+ marginBlockStart: ((h = (d = e.layout) == null ? void 0 : d.pageContainer) == null ? void 0 : h.paddingBlockPageContainerContent) ?? 24,
1066
1074
  padding: "inherit"
1067
1075
  }
1068
1076
  }
1069
1077
  };
1070
1078
  };
1071
1079
  function ca(e) {
1072
- return Ae("ProPageContainter", (t) => {
1073
- const n = Ee(t, {
1080
+ return Ve("ProPageContainter", (t) => {
1081
+ const n = Ae(t, {
1074
1082
  gridContent: `${t.proComponentsCls}-grid-content`
1075
1083
  });
1076
1084
  return [da(n)];
@@ -1079,7 +1087,7 @@ function ca(e) {
1079
1087
  function ma(e) {
1080
1088
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ne(e);
1081
1089
  }
1082
- const yl = /* @__PURE__ */ H({
1090
+ const bl = /* @__PURE__ */ H({
1083
1091
  inheritAttrs: !1,
1084
1092
  name: "GProPageContainer",
1085
1093
  props: me,
@@ -1090,62 +1098,62 @@ const yl = /* @__PURE__ */ H({
1090
1098
  getPrefixCls: n,
1091
1099
  hasContentWide: a,
1092
1100
  waterMark: i,
1093
- pageHeaderRender: r,
1094
- pageContentStyle: d,
1095
- pageCardProps: m,
1096
- usePageCard: b
1101
+ pageHeaderRender: l,
1102
+ pageContentStyle: u,
1103
+ pageCardProps: d,
1104
+ usePageCard: h
1097
1105
  } = J(), {
1098
- indicator: h
1099
- } = Qn(), S = n({
1106
+ indicator: f
1107
+ } = Qn(), b = n({
1100
1108
  suffixCls: "page-container",
1101
1109
  isPor: !0
1102
1110
  }), s = n({
1103
1111
  suffixCls: "grid-content",
1104
1112
  isPor: !0
1105
- }), k = w(() => e.pageCardProps || m.value), l = w(() => e.pageContentStyle || d.value), {
1113
+ }), B = S(() => e.pageCardProps || d.value), r = S(() => e.pageContentStyle || u.value), {
1106
1114
  wrapSSR: p,
1107
1115
  hashId: I
1108
- } = ca(S), M = () => {
1109
- var c;
1116
+ } = ca(b), O = () => {
1117
+ var m;
1110
1118
  return o("div", {
1111
- class: `${S}-children-content ${I.value}`
1112
- }, [(bn(e.usePageCard) ? e.usePageCard : b.value) ? o(qt, X(k.value ? ae(k.value, ["loading", "bodyStyle"]) : {}, {
1119
+ class: `${b}-children-content ${I.value}`
1120
+ }, [(yn(e.usePageCard) ? e.usePageCard : h.value) ? o(Yt, X(B.value ? ae(B.value, ["loading", "bodyStyle"]) : {}, {
1113
1121
  style: a.value ? {
1114
1122
  minHeight: "853px"
1115
1123
  } : void 0,
1116
1124
  bordered: !1
1117
1125
  }), {
1118
1126
  default: () => {
1119
- var f;
1120
- return [(f = t.default) == null ? void 0 : f.call(t)];
1127
+ var g;
1128
+ return [(g = t.default) == null ? void 0 : g.call(t)];
1121
1129
  }
1122
- }) : (c = t.default) == null ? void 0 : c.call(t)]);
1123
- }, g = () => {
1124
- let c;
1125
- return o(q, null, [e.waterMark && i.value ? o(yn, null, ma(c = M()) ? c : {
1126
- default: () => [c]
1127
- }) : M()]);
1130
+ }) : (m = t.default) == null ? void 0 : m.call(t)]);
1131
+ }, v = () => {
1132
+ let m;
1133
+ return o(q, null, [e.waterMark && i.value ? o(gn, null, ma(m = O()) ? m : {
1134
+ default: () => [m]
1135
+ }) : O()]);
1128
1136
  };
1129
1137
  return () => {
1130
- const c = K(t, e, "pageHeaderRender") || r.value, f = K(t, e, "breadcrumbRender"), v = K(t, e, "contentRender");
1138
+ const m = K(t, e, "pageHeaderRender") || l.value, g = K(t, e, "breadcrumbRender"), x = K(t, e, "contentRender");
1131
1139
  return p(o(xe, {
1132
1140
  spinning: e.loading,
1133
- indicator: h == null ? void 0 : h.value
1141
+ indicator: f == null ? void 0 : f.value
1134
1142
  }, {
1135
1143
  default: () => [o("div", {
1136
1144
  class: {
1137
1145
  [`${I.value}`]: !0,
1138
- [`${S}`]: !0
1146
+ [`${b}`]: !0
1139
1147
  }
1140
- }, [!a.value && c !== !1 && (c || o(ua, {
1141
- breadcrumb: f,
1142
- content: v
1148
+ }, [!a.value && m !== !1 && (m || o(ua, {
1149
+ breadcrumb: g,
1150
+ content: x
1143
1151
  }, null)), o("div", {
1144
1152
  class: [s, I.value]
1145
1153
  }, [o("div", {
1146
1154
  class: `${s}-children ${I.value}`,
1147
- style: l.value
1148
- }, [g()])])])]
1155
+ style: r.value
1156
+ }, [v()])])])]
1149
1157
  }));
1150
1158
  };
1151
1159
  }
@@ -1188,7 +1196,7 @@ const yl = /* @__PURE__ */ H({
1188
1196
  onOpenKeys: Y.onOpenKeys,
1189
1197
  onMenuHeaderClick: Function,
1190
1198
  onSelect: Y.onSelect
1191
- }, Rt = {
1199
+ }, Mt = {
1192
1200
  ...Ge,
1193
1201
  headerTitleRender: {
1194
1202
  type: [Object, Function],
@@ -1208,7 +1216,7 @@ const yl = /* @__PURE__ */ H({
1208
1216
  hasSiderMenu: Boolean,
1209
1217
  collapsedWidth: Y.collapsedWidth,
1210
1218
  siderWidth: Y.siderWidth
1211
- }, Bt = {
1219
+ }, Rt = {
1212
1220
  loading: L.looseBool,
1213
1221
  isMobile: Y.isMobile,
1214
1222
  collapsed: We.collapsed,
@@ -1255,14 +1263,14 @@ const yl = /* @__PURE__ */ H({
1255
1263
  }
1256
1264
  }
1257
1265
  }
1258
- }), kt = [{
1266
+ }), Bt = [{
1259
1267
  key: "Ant Design Pro",
1260
1268
  title: "Ant Design Pro",
1261
1269
  href: "https://pro.ant.design",
1262
1270
  blankTarget: !0
1263
1271
  }, {
1264
1272
  key: "gitee",
1265
- title: o(rn, null, null),
1273
+ title: o(ln, null, null),
1266
1274
  href: "https://gitee.com/gx12358/vue-antd-admin",
1267
1275
  blankTarget: !0
1268
1276
  }, {
@@ -1270,12 +1278,12 @@ const yl = /* @__PURE__ */ H({
1270
1278
  title: "Ant Design Vue",
1271
1279
  href: "https://next.antdv.com/components/overview-cn/",
1272
1280
  blankTarget: !0
1273
- }], Fe = /* @__PURE__ */ H({
1281
+ }], Te = /* @__PURE__ */ H({
1274
1282
  name: "GlobalFooter",
1275
1283
  props: {
1276
1284
  links: {
1277
1285
  type: [Array, Boolean],
1278
- default: kt
1286
+ default: Bt
1279
1287
  },
1280
1288
  copyright: {
1281
1289
  type: [Object, Function, Boolean, String],
@@ -1290,7 +1298,7 @@ const yl = /* @__PURE__ */ H({
1290
1298
  wrapSSR: n,
1291
1299
  hashId: a
1292
1300
  } = Z("ProLayoutFooter", [fa], t);
1293
- return () => n(o(Zt, {
1301
+ return () => n(o(qt, {
1294
1302
  style: {
1295
1303
  padding: 0
1296
1304
  }
@@ -1311,12 +1319,12 @@ const yl = /* @__PURE__ */ H({
1311
1319
  }, [e.copyright])])])]
1312
1320
  }));
1313
1321
  }
1314
- }), $t = {
1322
+ }), kt = {
1315
1323
  ...ie,
1316
1324
  ...Ge,
1317
1325
  ...Y,
1326
+ ...Mt,
1318
1327
  ...Rt,
1319
- ...Bt,
1320
1328
  ...me,
1321
1329
  pure: Boolean,
1322
1330
  token: Object,
@@ -1344,7 +1352,7 @@ const yl = /* @__PURE__ */ H({
1344
1352
  loading: L.looseBool,
1345
1353
  footerLinks: {
1346
1354
  type: [Array, Boolean],
1347
- default: kt
1355
+ default: Bt
1348
1356
  },
1349
1357
  copyrightRender: {
1350
1358
  type: [Object, Function, Boolean, String],
@@ -1360,6 +1368,10 @@ const yl = /* @__PURE__ */ H({
1360
1368
  type: Array,
1361
1369
  default: () => []
1362
1370
  },
1371
+ levelMenuData: {
1372
+ type: Array,
1373
+ default: () => []
1374
+ },
1363
1375
  collapsed: L.looseBool
1364
1376
  }, ha = (e) => ({
1365
1377
  [e.componentCls]: {
@@ -1450,8 +1462,8 @@ const yl = /* @__PURE__ */ H({
1450
1462
  };
1451
1463
  };
1452
1464
  function ba(e) {
1453
- return Ae("ProMultiTabs", (t) => {
1454
- const n = Ee(t, {
1465
+ return Ve("ProMultiTabs", (t) => {
1466
+ const n = Ae(t, {
1455
1467
  componentWrapCls: `${t.componentCls}-wrap`
1456
1468
  });
1457
1469
  return [ya(n)];
@@ -1478,9 +1490,9 @@ const pa = [
1478
1490
  function va(e) {
1479
1491
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ne(e);
1480
1492
  }
1481
- const xa = _e.TabPane, Ca = ee.Item, wa = /* @__PURE__ */ H({
1493
+ const xa = He.TabPane, Ca = ee.Item, wa = /* @__PURE__ */ H({
1482
1494
  props: {
1483
- ...Bt,
1495
+ ...Rt,
1484
1496
  visible: {
1485
1497
  type: Boolean,
1486
1498
  default: !0
@@ -1491,30 +1503,30 @@ const xa = _e.TabPane, Ca = ee.Item, wa = /* @__PURE__ */ H({
1491
1503
  const {
1492
1504
  isMobile: t,
1493
1505
  isFixedMultiTab: n
1494
- } = Oe(e), a = ve(!1), i = Ne({
1506
+ } = Ie(e), a = ve(!1), i = ze({
1495
1507
  activeKey: "",
1496
1508
  contextMenuActiveKey: ""
1497
- }), r = Ve(), {
1498
- menuData: d,
1499
- getPrefixCls: m
1500
- } = J(), b = m({
1509
+ }), l = _e(), {
1510
+ menuData: u,
1511
+ getPrefixCls: d
1512
+ } = J(), h = d({
1501
1513
  isPor: !0,
1502
1514
  suffixCls: "multi-tab"
1503
1515
  }), {
1504
- wrapSSR: h,
1505
- hashId: S
1506
- } = ba(b), s = ve([]);
1516
+ wrapSSR: f,
1517
+ hashId: b
1518
+ } = ba(h), s = ve([]);
1507
1519
  le(s, () => {
1508
1520
  var y;
1509
- (y = e.onChangeTabs) == null || y.call(e, bt(U(s)));
1521
+ (y = e.onChangeTabs) == null || y.call(e, Ee(U(s)));
1510
1522
  }, {
1511
1523
  deep: !0
1512
1524
  });
1513
- const k = w(() => r.currentRoute.value.path), l = w(() => n.value && !t.value), p = w(() => l.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), I = w(() => pt(`${b}-wrap`, {
1514
- [`${S.value}`]: !0,
1515
- [`${b}-wrap-fixed`]: e.isFixedMultiTab,
1516
- [`${b}-wrap-loading`]: e.loading
1517
- })), M = w(() => {
1525
+ const B = S(() => l.currentRoute.value.fullPath || l.currentRoute.value.path), r = S(() => n.value && !t.value), p = S(() => r.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), I = S(() => bt(`${h}-wrap`, {
1526
+ [`${b.value}`]: !0,
1527
+ [`${h}-wrap-fixed`]: e.isFixedMultiTab,
1528
+ [`${h}-wrap-loading`]: e.loading
1529
+ })), O = S(() => {
1518
1530
  const y = {
1519
1531
  display: e.visible ? void 0 : "none"
1520
1532
  };
@@ -1525,11 +1537,11 @@ const xa = _e.TabPane, Ca = ee.Item, wa = /* @__PURE__ */ H({
1525
1537
  zIndex: 99,
1526
1538
  ...y
1527
1539
  } : y;
1528
- }), g = (y) => y.fullPath === k.value, c = (y) => {
1540
+ }), v = (y) => (y.fullPath || y.path) === B.value, m = (y) => {
1529
1541
  if (y.name && y.meta && y.meta.tagHidden !== !0) {
1530
- const C = y.fullPath || y.path, $ = s.value.find((P) => P.fullPath === C), B = {
1542
+ const w = y.fullPath || y.path, $ = s.value.find((P) => P.fullPath === w), R = {
1531
1543
  path: y.path,
1532
- fullPath: C,
1544
+ fullPath: w,
1533
1545
  query: y.query,
1534
1546
  params: y.params,
1535
1547
  name: y.name,
@@ -1537,66 +1549,66 @@ const xa = _e.TabPane, Ca = ee.Item, wa = /* @__PURE__ */ H({
1537
1549
  ...y.meta
1538
1550
  }
1539
1551
  };
1540
- $ ? Object.assign($, B) : y.meta.tagFixed ? s.value.unshift(B) : s.value.push(B), g(y) && (i.activeKey = C);
1552
+ $ ? Object.assign($, R) : y.meta.tagFixed ? s.value.unshift(R) : s.value.push(R), v(y) && (i.activeKey = w);
1541
1553
  }
1542
- }, f = (y) => {
1543
- y.forEach((C) => {
1544
- C.meta && C.meta.tagFixed && c(C), C.children && f(C.children);
1554
+ }, g = (y) => {
1555
+ y.forEach((w) => {
1556
+ w.meta && w.meta.tagFixed && m(w), w.children && g(w.children);
1545
1557
  });
1546
1558
  };
1547
- le(() => d.value, (y) => {
1548
- f(y);
1559
+ le(() => u.value, (y) => {
1560
+ g(y);
1549
1561
  }, {
1550
1562
  deep: !0,
1551
1563
  immediate: !0
1552
- }), le(() => r.currentRoute.value, (y) => {
1553
- c(y);
1564
+ }), le(() => l.currentRoute.value, (y) => {
1565
+ m(y);
1554
1566
  }, {
1555
1567
  deep: !0,
1556
1568
  immediate: !0
1557
1569
  });
1558
- const v = () => {
1570
+ const x = () => {
1559
1571
  const y = s.value.slice(-1)[0];
1560
- y ? r.push(y) : r.push("/");
1572
+ y ? l.push(y) : l.push("/");
1561
1573
  }, T = async (y) => {
1562
- const C = s.value.find(($) => y === $.fullPath);
1563
- s.value = s.value.filter(($) => $.fullPath !== y), C && g(C) && v();
1564
- }, x = (y) => {
1565
- const C = s.value.find(($) => $.path === y);
1566
- i.activeKey !== (C == null ? void 0 : C.fullPath) && (C != null && C.fullPath) && r.push(C == null ? void 0 : C.fullPath);
1567
- }, O = () => {
1574
+ const w = s.value.find(($) => y === $.fullPath);
1575
+ s.value = s.value.filter(($) => $.fullPath !== y), w && v(w) && x();
1576
+ }, C = (y) => {
1577
+ const w = s.value.find(($) => $.fullPath === y);
1578
+ i.activeKey !== (w == null ? void 0 : w.fullPath) && (w != null && w.fullPath) && l.push(w == null ? void 0 : w.fullPath);
1579
+ }, M = () => {
1568
1580
  var y;
1569
1581
  a.value = !0, e.onReloadPage && ((y = e.onReloadPage) == null || y.call(e)), setTimeout(() => {
1570
1582
  a.value = !1;
1571
1583
  }, 500);
1572
- }, F = (y) => y.meta && y.meta.tagFixed, R = (y) => i[y], D = (y, C) => {
1573
- const $ = s.value.findIndex((B) => B.fullPath === R(C));
1584
+ }, F = (y) => y.meta && y.meta.tagFixed, k = (y) => i[y], D = (y, w) => {
1585
+ const $ = s.value.findIndex((R) => R.fullPath === k(w));
1574
1586
  switch (y) {
1575
1587
  case "closeOthersTabs":
1576
- s.value = s.value.filter((B) => {
1588
+ s.value = s.value.filter((R) => {
1577
1589
  var P;
1578
- return B.fullPath === R(C) || ((P = B.meta) == null ? void 0 : P.tagFixed);
1590
+ return R.fullPath === k(w) || ((P = R.meta) == null ? void 0 : P.tagFixed);
1579
1591
  });
1580
1592
  break;
1581
1593
  case "closeLeftTabs":
1582
- $ && (s.value = s.value.filter((B, P) => {
1594
+ $ && (s.value = s.value.filter((R, P) => {
1583
1595
  var j;
1584
- return P >= $ || ((j = B.meta) == null ? void 0 : j.tagFixed);
1596
+ return P >= $ || ((j = R.meta) == null ? void 0 : j.tagFixed);
1585
1597
  }));
1586
1598
  break;
1587
1599
  case "closeRightTabs":
1588
- $ && (s.value = s.value.filter((B, P) => {
1600
+ $ && (s.value = s.value.filter((R, P) => {
1589
1601
  var j;
1590
- return P <= $ || ((j = B.meta) == null ? void 0 : j.tagFixed);
1602
+ return P <= $ || ((j = R.meta) == null ? void 0 : j.tagFixed);
1591
1603
  }));
1592
1604
  break;
1593
1605
  case "reloadPage":
1594
- ($ === 0 || $) && i.activeKey === R(C) && O();
1606
+ ($ === 0 || $) && i.activeKey === k(w) && M();
1595
1607
  break;
1596
1608
  }
1597
- i.activeKey !== R(C) && r.push(R(C));
1598
- }, _ = (y, C) => {
1599
- const $ = s.value.findIndex((B) => B.fullPath === C);
1609
+ i.activeKey !== k(w) && l.push(k(w));
1610
+ }, _ = (y, w) => {
1611
+ const $ = s.value.findIndex((R) => R.fullPath === w);
1600
1612
  switch (y) {
1601
1613
  case "closeOthersTabs":
1602
1614
  return s.value.filter((W, E) => {
@@ -1615,66 +1627,66 @@ const xa = _e.TabPane, Ca = ee.Item, wa = /* @__PURE__ */ H({
1615
1627
  }).length === 0;
1616
1628
  }
1617
1629
  }, N = (y) => {
1618
- let C;
1630
+ let w;
1619
1631
  const {
1620
1632
  path: $,
1621
- stateType: B
1633
+ stateType: R
1622
1634
  } = y;
1623
1635
  return o(ee, {
1624
1636
  selectedKeys: [],
1625
1637
  onClick: ({
1626
1638
  key: P
1627
- }) => D(P, B)
1628
- }, va(C = pa.map((P) => o(Ca, {
1639
+ }) => D(P, R)
1640
+ }, va(w = pa.map((P) => o(Ca, {
1629
1641
  key: P.key,
1630
1642
  disabled: _(P.key, $)
1631
1643
  }, {
1632
1644
  default: () => [P.label]
1633
- }))) ? C : {
1634
- default: () => [C]
1645
+ }))) ? w : {
1646
+ default: () => [w]
1635
1647
  });
1636
1648
  }, z = (y) => {
1637
1649
  const {
1638
- router: C
1650
+ router: w
1639
1651
  } = y;
1640
1652
  return o(et, {
1641
1653
  trigger: "contextmenu",
1642
1654
  overlay: o(N, {
1643
- path: (C == null ? void 0 : C.fullPath) || "",
1655
+ path: (w == null ? void 0 : w.fullPath) || "",
1644
1656
  stateType: "contextMenuActiveKey"
1645
1657
  }, null),
1646
1658
  onOpenChange: ($) => {
1647
- i.contextMenuActiveKey = $ && C.fullPath || "";
1659
+ i.contextMenuActiveKey = $ && w.fullPath || "";
1648
1660
  }
1649
1661
  }, {
1650
1662
  default: () => {
1651
1663
  var $;
1652
1664
  return [o("div", {
1653
- class: [`${b}-title`, S.value]
1654
- }, [($ = C.meta) == null ? void 0 : $.title, i.activeKey === C.fullPath && o(un, {
1655
- class: [`${b}-reload-btn`, S.value],
1665
+ class: [`${h}-title`, b.value]
1666
+ }, [($ = w.meta) == null ? void 0 : $.title, i.activeKey === w.fullPath && o(sn, {
1667
+ class: [`${h}-reload-btn`, b.value],
1656
1668
  spin: a.value,
1657
- onClick: (B) => {
1658
- B.stopPropagation(), !a.value && O();
1669
+ onClick: (R) => {
1670
+ R.stopPropagation(), !a.value && M();
1659
1671
  }
1660
- }, null), s.value.length > 1 && !F(C) && o(gt, {
1661
- class: [`${b}-close-btn`, S.value],
1662
- onClick: (B) => {
1663
- B.stopPropagation(), !a.value && T((C == null ? void 0 : C.fullPath) || "");
1672
+ }, null), s.value.length > 1 && !F(w) && o(gt, {
1673
+ class: [`${h}-close-btn`, b.value],
1674
+ onClick: (R) => {
1675
+ R.stopPropagation(), !a.value && T((w == null ? void 0 : w.fullPath) || "");
1664
1676
  }
1665
1677
  }, null)])];
1666
1678
  }
1667
1679
  });
1668
1680
  };
1669
- return () => h(o(q, null, [!!e.isFixedMultiTab && At(o("div", {
1670
- class: [`${b}-fixed`, S.value]
1671
- }, null), [[Et, e.visible]]), o(_e, {
1681
+ return () => f(o(q, null, [!!e.isFixedMultiTab && Vt(o("div", {
1682
+ class: [`${h}-fixed`, b.value]
1683
+ }, null), [[At, e.visible]]), o(He, {
1672
1684
  hideAdd: !0,
1673
1685
  type: "editable-card",
1674
- style: M.value,
1686
+ style: O.value,
1675
1687
  class: I.value,
1676
1688
  activeKey: i.activeKey,
1677
- onTabClick: x
1689
+ onTabClick: C
1678
1690
  }, {
1679
1691
  default: () => [s.value.map((y) => o(xa, {
1680
1692
  key: y.fullPath,
@@ -1689,8 +1701,8 @@ const xa = _e.TabPane, Ca = ee.Item, wa = /* @__PURE__ */ H({
1689
1701
  stateType: "activeKey"
1690
1702
  }, null)
1691
1703
  }, {
1692
- default: () => [o(sn, {
1693
- class: [`${b}-dropdown-menu-btn`, S.value],
1704
+ default: () => [o(rn, {
1705
+ class: [`${h}-dropdown-menu-btn`, b.value],
1694
1706
  rotate: 90
1695
1707
  }, null)]
1696
1708
  })
@@ -1702,45 +1714,46 @@ const xa = _e.TabPane, Ca = ee.Item, wa = /* @__PURE__ */ H({
1702
1714
  slots: t,
1703
1715
  attrs: n
1704
1716
  }) => {
1705
- var p;
1717
+ var I;
1706
1718
  const {
1707
1719
  hashId: a,
1708
1720
  prefixCls: i,
1709
- isMobile: r,
1710
- loading: d,
1711
- collapsed: m,
1712
- siderWidth: b,
1713
- isShowTabsBar: h,
1714
- isFixedMultiTab: S,
1721
+ isMobile: l,
1722
+ loading: u,
1723
+ collapsed: d,
1724
+ siderWidth: h,
1725
+ isShowTabsBar: f,
1726
+ isFixedMultiTab: b,
1715
1727
  onReloadPage: s,
1716
- onChangeTabs: k
1728
+ onChangeTabs: B
1717
1729
  } = e;
1718
1730
  if (e.isChildrenLayout)
1719
- return (p = t.default) == null ? void 0 : p.call(t);
1731
+ return (I = t.default) == null ? void 0 : I.call(t);
1720
1732
  const {
1721
- flatMenuData: l
1733
+ flatMenuData: r,
1734
+ layout: p
1722
1735
  } = J();
1723
1736
  return o(q, null, [o(wa, {
1724
- visible: U(l).length > 0 && h,
1725
- isMobile: r,
1726
- loading: d,
1727
- isFixedMultiTab: S,
1728
- siderWidth: b,
1729
- collapsed: m,
1737
+ visible: (U(p) === "mix" ? U(r).length > 0 : !0) && f,
1738
+ isMobile: l,
1739
+ loading: u,
1740
+ isFixedMultiTab: b,
1741
+ siderWidth: h,
1742
+ collapsed: d,
1730
1743
  onReloadPage: s,
1731
- onChangeTabs: k
1744
+ onChangeTabs: B
1732
1745
  }, null), o(Sa, {
1733
1746
  style: n.style,
1734
1747
  class: [`${i}-content`]
1735
1748
  }, {
1736
1749
  default: () => {
1737
- var I;
1738
- return [d && o(Mn, null, null), o("div", {
1750
+ var O;
1751
+ return [u && o(Mn, null, null), o("div", {
1739
1752
  class: [`${i}-content-spin-container`, a],
1740
1753
  style: {
1741
- opacity: d ? "0" : void 0
1754
+ opacity: u ? "0" : void 0
1742
1755
  }
1743
- }, [(I = t.default) == null ? void 0 : I.call(t)])];
1756
+ }, [(O = t.default) == null ? void 0 : O.call(t)])];
1744
1757
  }
1745
1758
  })]);
1746
1759
  };
@@ -1809,13 +1822,13 @@ function ue() {
1809
1822
  return e;
1810
1823
  }, ue.apply(this, arguments);
1811
1824
  }
1812
- var Tt = function() {
1825
+ var $t = function() {
1813
1826
  if (typeof Map < "u")
1814
1827
  return Map;
1815
1828
  function e(t, n) {
1816
1829
  var a = -1;
1817
- return t.some(function(i, r) {
1818
- return i[0] === n ? (a = r, !0) : !1;
1830
+ return t.some(function(i, l) {
1831
+ return i[0] === n ? (a = l, !0) : !1;
1819
1832
  }), a;
1820
1833
  }
1821
1834
  return (
@@ -1848,17 +1861,17 @@ var Tt = function() {
1848
1861
  this.__entries__.splice(0);
1849
1862
  }, t.prototype.forEach = function(n, a) {
1850
1863
  a === void 0 && (a = null);
1851
- for (var i = 0, r = this.__entries__; i < r.length; i++) {
1852
- var d = r[i];
1853
- n.call(a, d[1], d[0]);
1864
+ for (var i = 0, l = this.__entries__; i < l.length; i++) {
1865
+ var u = l[i];
1866
+ n.call(a, u[1], u[0]);
1854
1867
  }
1855
1868
  }, t;
1856
1869
  }()
1857
1870
  );
1858
- }(), Pe = typeof window < "u" && typeof document < "u" && window.document === document, Se = function() {
1871
+ }(), Fe = typeof window < "u" && typeof document < "u" && window.document === document, we = function() {
1859
1872
  return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
1860
1873
  }(), Oa = function() {
1861
- return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Se) : function(e) {
1874
+ return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(we) : function(e) {
1862
1875
  return setTimeout(function() {
1863
1876
  return e(Date.now());
1864
1877
  }, 1e3 / 60);
@@ -1866,23 +1879,23 @@ var Tt = function() {
1866
1879
  }(), Ma = 2;
1867
1880
  function Ra(e, t) {
1868
1881
  var n = !1, a = !1, i = 0;
1869
- function r() {
1870
- n && (n = !1, e()), a && m();
1882
+ function l() {
1883
+ n && (n = !1, e()), a && d();
1871
1884
  }
1872
- function d() {
1873
- Oa(r);
1885
+ function u() {
1886
+ Oa(l);
1874
1887
  }
1875
- function m() {
1876
- var b = Date.now();
1888
+ function d() {
1889
+ var h = Date.now();
1877
1890
  if (n) {
1878
- if (b - i < Ma)
1891
+ if (h - i < Ma)
1879
1892
  return;
1880
1893
  a = !0;
1881
1894
  } else
1882
- n = !0, a = !1, setTimeout(d, t);
1883
- i = b;
1895
+ n = !0, a = !1, setTimeout(u, t);
1896
+ i = h;
1884
1897
  }
1885
- return m;
1898
+ return d;
1886
1899
  }
1887
1900
  var Ba = 20, ka = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], $a = typeof MutationObserver < "u", Ta = (
1888
1901
  /** @class */
@@ -1906,24 +1919,24 @@ var Ba = 20, ka = ["top", "right", "bottom", "left", "width", "height", "size",
1906
1919
  return n.broadcastActive();
1907
1920
  }), t.length > 0;
1908
1921
  }, e.prototype.connect_ = function() {
1909
- !Pe || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), $a ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
1922
+ !Fe || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), $a ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
1910
1923
  attributes: !0,
1911
1924
  childList: !0,
1912
1925
  characterData: !0,
1913
1926
  subtree: !0
1914
1927
  })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
1915
1928
  }, e.prototype.disconnect_ = function() {
1916
- !Pe || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
1929
+ !Fe || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
1917
1930
  }, e.prototype.onTransitionEnd_ = function(t) {
1918
- var n = t.propertyName, a = n === void 0 ? "" : n, i = ka.some(function(r) {
1919
- return !!~a.indexOf(r);
1931
+ var n = t.propertyName, a = n === void 0 ? "" : n, i = ka.some(function(l) {
1932
+ return !!~a.indexOf(l);
1920
1933
  });
1921
1934
  i && this.refresh();
1922
1935
  }, e.getInstance = function() {
1923
1936
  return this.instance_ || (this.instance_ = new e()), this.instance_;
1924
1937
  }, e.instance_ = null, e;
1925
1938
  }()
1926
- ), Ft = function(e, t) {
1939
+ ), Tt = function(e, t) {
1927
1940
  for (var n = 0, a = Object.keys(t); n < a.length; n++) {
1928
1941
  var i = a[n];
1929
1942
  Object.defineProperty(e, i, {
@@ -1936,40 +1949,40 @@ var Ba = 20, ka = ["top", "right", "bottom", "left", "width", "height", "size",
1936
1949
  return e;
1937
1950
  }, re = function(e) {
1938
1951
  var t = e && e.ownerDocument && e.ownerDocument.defaultView;
1939
- return t || Se;
1940
- }, Pt = Be(0, 0, 0, 0);
1941
- function Ie(e) {
1952
+ return t || we;
1953
+ }, Ft = Re(0, 0, 0, 0);
1954
+ function Se(e) {
1942
1955
  return parseFloat(e) || 0;
1943
1956
  }
1944
1957
  function it(e) {
1945
1958
  for (var t = [], n = 1; n < arguments.length; n++)
1946
1959
  t[n - 1] = arguments[n];
1947
1960
  return t.reduce(function(a, i) {
1948
- var r = e["border-" + i + "-width"];
1949
- return a + Ie(r);
1961
+ var l = e["border-" + i + "-width"];
1962
+ return a + Se(l);
1950
1963
  }, 0);
1951
1964
  }
1952
1965
  function Fa(e) {
1953
1966
  for (var t = ["top", "right", "bottom", "left"], n = {}, a = 0, i = t; a < i.length; a++) {
1954
- var r = i[a], d = e["padding-" + r];
1955
- n[r] = Ie(d);
1967
+ var l = i[a], u = e["padding-" + l];
1968
+ n[l] = Se(u);
1956
1969
  }
1957
1970
  return n;
1958
1971
  }
1959
1972
  function Pa(e) {
1960
1973
  var t = e.getBBox();
1961
- return Be(0, 0, t.width, t.height);
1974
+ return Re(0, 0, t.width, t.height);
1962
1975
  }
1963
1976
  function La(e) {
1964
1977
  var t = e.clientWidth, n = e.clientHeight;
1965
1978
  if (!t && !n)
1966
- return Pt;
1967
- var a = re(e).getComputedStyle(e), i = Fa(a), r = i.left + i.right, d = i.top + i.bottom, m = Ie(a.width), b = Ie(a.height);
1968
- if (a.boxSizing === "border-box" && (Math.round(m + r) !== t && (m -= it(a, "left", "right") + r), Math.round(b + d) !== n && (b -= it(a, "top", "bottom") + d)), !za(e)) {
1969
- var h = Math.round(m + r) - t, S = Math.round(b + d) - n;
1970
- Math.abs(h) !== 1 && (m -= h), Math.abs(S) !== 1 && (b -= S);
1979
+ return Ft;
1980
+ var a = re(e).getComputedStyle(e), i = Fa(a), l = i.left + i.right, u = i.top + i.bottom, d = Se(a.width), h = Se(a.height);
1981
+ if (a.boxSizing === "border-box" && (Math.round(d + l) !== t && (d -= it(a, "left", "right") + l), Math.round(h + u) !== n && (h -= it(a, "top", "bottom") + u)), !za(e)) {
1982
+ var f = Math.round(d + l) - t, b = Math.round(h + u) - n;
1983
+ Math.abs(f) !== 1 && (d -= f), Math.abs(b) !== 1 && (h -= b);
1971
1984
  }
1972
- return Be(i.left, i.top, m, b);
1985
+ return Re(i.left, i.top, d, h);
1973
1986
  }
1974
1987
  var Da = function() {
1975
1988
  return typeof SVGGraphicsElement < "u" ? function(e) {
@@ -1982,11 +1995,11 @@ function za(e) {
1982
1995
  return e === re(e).document.documentElement;
1983
1996
  }
1984
1997
  function Na(e) {
1985
- return Pe ? Da(e) ? Pa(e) : La(e) : Pt;
1998
+ return Fe ? Da(e) ? Pa(e) : La(e) : Ft;
1986
1999
  }
1987
2000
  function Ha(e) {
1988
- var t = e.x, n = e.y, a = e.width, i = e.height, r = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, d = Object.create(r.prototype);
1989
- return Ft(d, {
2001
+ var t = e.x, n = e.y, a = e.width, i = e.height, l = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, u = Object.create(l.prototype);
2002
+ return Tt(u, {
1990
2003
  x: t,
1991
2004
  y: n,
1992
2005
  width: a,
@@ -1995,16 +2008,16 @@ function Ha(e) {
1995
2008
  right: t + a,
1996
2009
  bottom: i + n,
1997
2010
  left: t
1998
- }), d;
2011
+ }), u;
1999
2012
  }
2000
- function Be(e, t, n, a) {
2013
+ function Re(e, t, n, a) {
2001
2014
  return { x: e, y: t, width: n, height: a };
2002
2015
  }
2003
2016
  var _a = (
2004
2017
  /** @class */
2005
2018
  function() {
2006
2019
  function e(t) {
2007
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Be(0, 0, 0, 0), this.target = t;
2020
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Re(0, 0, 0, 0), this.target = t;
2008
2021
  }
2009
2022
  return e.prototype.isActive = function() {
2010
2023
  var t = Na(this.target);
@@ -2019,7 +2032,7 @@ var _a = (
2019
2032
  function() {
2020
2033
  function e(t, n) {
2021
2034
  var a = Ha(n);
2022
- Ft(this, { target: t, contentRect: a });
2035
+ Tt(this, { target: t, contentRect: a });
2023
2036
  }
2024
2037
  return e;
2025
2038
  }()
@@ -2027,7 +2040,7 @@ var _a = (
2027
2040
  /** @class */
2028
2041
  function() {
2029
2042
  function e(t, n, a) {
2030
- if (this.activeObservations_ = [], this.observations_ = new Tt(), typeof t != "function")
2043
+ if (this.activeObservations_ = [], this.observations_ = new $t(), typeof t != "function")
2031
2044
  throw new TypeError("The callback provided as parameter 1 is not a function.");
2032
2045
  this.callback_ = t, this.controller_ = n, this.callbackCtx_ = a;
2033
2046
  }
@@ -2069,7 +2082,7 @@ var _a = (
2069
2082
  return this.activeObservations_.length > 0;
2070
2083
  }, e;
2071
2084
  }()
2072
- ), Lt = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new Tt(), Dt = (
2085
+ ), Pt = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new $t(), Lt = (
2073
2086
  /** @class */
2074
2087
  function() {
2075
2088
  function e(t) {
@@ -2078,7 +2091,7 @@ var _a = (
2078
2091
  if (!arguments.length)
2079
2092
  throw new TypeError("1 argument required, but only 0 present.");
2080
2093
  var n = Ta.getInstance(), a = new Aa(t, n, this);
2081
- Lt.set(this, a);
2094
+ Pt.set(this, a);
2082
2095
  }
2083
2096
  return e;
2084
2097
  }()
@@ -2088,13 +2101,13 @@ var _a = (
2088
2101
  "unobserve",
2089
2102
  "disconnect"
2090
2103
  ].forEach(function(e) {
2091
- Dt.prototype[e] = function() {
2104
+ Lt.prototype[e] = function() {
2092
2105
  var t;
2093
- return (t = Lt.get(this))[e].apply(t, arguments);
2106
+ return (t = Pt.get(this))[e].apply(t, arguments);
2094
2107
  };
2095
2108
  });
2096
2109
  var Ea = function() {
2097
- return typeof Se.ResizeObserver < "u" ? Se.ResizeObserver : Dt;
2110
+ return typeof we.ResizeObserver < "u" ? we.ResizeObserver : Lt;
2098
2111
  }();
2099
2112
  const ja = (e) => {
2100
2113
  var t;
@@ -2116,63 +2129,63 @@ const ja = (e) => {
2116
2129
  let {
2117
2130
  slots: n
2118
2131
  } = t;
2119
- const a = Ne({
2132
+ const a = ze({
2120
2133
  width: 0,
2121
2134
  height: 0,
2122
2135
  offsetHeight: 0,
2123
2136
  offsetWidth: 0
2124
2137
  });
2125
- let i = null, r = null;
2126
- const d = () => {
2127
- r && (r.disconnect(), r = null);
2128
- }, m = (S) => {
2138
+ let i = null, l = null;
2139
+ const u = () => {
2140
+ l && (l.disconnect(), l = null);
2141
+ }, d = (b) => {
2129
2142
  const {
2130
2143
  onResize: s
2131
- } = e, k = S[0].target, {
2132
- width: l,
2144
+ } = e, B = b[0].target, {
2145
+ width: r,
2133
2146
  height: p
2134
- } = k.getBoundingClientRect(), {
2147
+ } = B.getBoundingClientRect(), {
2135
2148
  offsetWidth: I,
2136
- offsetHeight: M
2137
- } = k, g = Math.floor(l), c = Math.floor(p);
2138
- if (a.width !== g || a.height !== c || a.offsetWidth !== I || a.offsetHeight !== M) {
2139
- const f = {
2140
- width: g,
2141
- height: c,
2149
+ offsetHeight: O
2150
+ } = B, v = Math.floor(r), m = Math.floor(p);
2151
+ if (a.width !== v || a.height !== m || a.offsetWidth !== I || a.offsetHeight !== O) {
2152
+ const g = {
2153
+ width: v,
2154
+ height: m,
2142
2155
  offsetWidth: I,
2143
- offsetHeight: M
2156
+ offsetHeight: O
2144
2157
  };
2145
- ue(a, f), s && Promise.resolve().then(() => {
2146
- s(ue(ue({}, f), {
2158
+ ue(a, g), s && Promise.resolve().then(() => {
2159
+ s(ue(ue({}, g), {
2147
2160
  offsetWidth: I,
2148
- offsetHeight: M
2149
- }), k);
2161
+ offsetHeight: O
2162
+ }), B);
2150
2163
  });
2151
2164
  }
2152
- }, b = jt(), h = () => {
2165
+ }, h = Et(), f = () => {
2153
2166
  const {
2154
- disabled: S
2167
+ disabled: b
2155
2168
  } = e;
2156
- if (S) {
2157
- d();
2169
+ if (b) {
2170
+ u();
2158
2171
  return;
2159
2172
  }
2160
- const s = ja(b);
2161
- s !== i && (d(), i = s), !r && s && (r = new Ea(m), r.observe(s));
2173
+ const s = ja(h);
2174
+ s !== i && (u(), i = s), !l && s && (l = new Ea(d), l.observe(s));
2162
2175
  };
2163
- return Wt(() => {
2164
- h();
2176
+ return jt(() => {
2177
+ f();
2178
+ }), Wt(() => {
2179
+ f();
2165
2180
  }), Kt(() => {
2166
- h();
2167
- }), Ut(() => {
2168
- d();
2181
+ u();
2169
2182
  }), le(() => e.disabled, () => {
2170
- h();
2183
+ f();
2171
2184
  }, {
2172
2185
  flush: "post"
2173
2186
  }), () => {
2174
- var S;
2175
- return (S = n.default) === null || S === void 0 ? void 0 : S.call(n)[0];
2187
+ var b;
2188
+ return (b = n.default) === null || b === void 0 ? void 0 : b.call(n)[0];
2176
2189
  };
2177
2190
  }
2178
2191
  }), Ka = (e) => ({
@@ -2258,11 +2271,11 @@ const ja = (e) => {
2258
2271
  marginInlineEnd: 0
2259
2272
  }
2260
2273
  }
2261
- }), zt = {
2274
+ }), Dt = {
2262
2275
  ...Y,
2263
2276
  ...Ge
2264
2277
  }, Ua = (e, t) => e === !1 ? null : e ? e(t, null) : t, Xa = /* @__PURE__ */ H({
2265
- props: zt,
2278
+ props: Dt,
2266
2279
  setup(e) {
2267
2280
  const t = ve("auto"), n = ({
2268
2281
  width: a
@@ -2286,53 +2299,53 @@ const ja = (e) => {
2286
2299
  })])]);
2287
2300
  }
2288
2301
  }), Ga = /* @__PURE__ */ H({
2289
- props: zt,
2302
+ props: Dt,
2290
2303
  inheritAttrs: !1,
2291
2304
  setup(e, {
2292
2305
  slots: t,
2293
2306
  emit: n
2294
2307
  }) {
2295
- const a = Ve(), {
2308
+ const a = _e(), {
2296
2309
  token: i
2297
- } = Re(), {
2298
- getPrefixCls: r,
2299
- openKeys: d,
2300
- selectedKeys: m
2310
+ } = Me(), {
2311
+ getPrefixCls: l,
2312
+ openKeys: u,
2313
+ selectedKeys: d
2301
2314
  } = J(), {
2302
- width: b
2303
- } = Sn(), h = r({
2315
+ width: h
2316
+ } = Sn(), f = l({
2304
2317
  suffixCls: "global-header",
2305
2318
  isPor: !0
2306
2319
  }), {
2307
- wrapSSR: S,
2320
+ wrapSSR: b,
2308
2321
  hashId: s
2309
- } = Z("ProGlobalHeader", [Ka], h), k = w(() => ({
2322
+ } = Z("ProGlobalHeader", [Ka], f), B = S(() => ({
2310
2323
  [`${s.value}`]: !0,
2311
- [`${h}`]: !0,
2312
- [`${h}-${e.layout}`]: !0
2313
- })), l = (g) => {
2314
- var c;
2324
+ [`${f}`]: !0,
2325
+ [`${f}-${e.layout}`]: !0
2326
+ })), r = (v) => {
2327
+ var m;
2315
2328
  if (a.currentRoute) {
2316
- const f = a.currentRoute.value.matched.concat();
2317
- e.onSelect && g === "select" && e.onSelect(f.filter((v) => v.name !== "index").map((v) => v.path)), e.onOpenKeys && g === "openKeys" && ((c = e.onOpenKeys) == null || c.call(e, f.filter((v) => v.path !== a.currentRoute.value.path).map((v) => v.path)));
2329
+ const g = a.currentRoute.value.matched.concat();
2330
+ e.onSelect && v === "select" && e.onSelect(g.filter((x) => x.name !== "index").map((x) => x.path)), e.onOpenKeys && v === "openKeys" && ((m = e.onOpenKeys) == null || m.call(e, g.filter((x) => x.path !== a.currentRoute.value.path).map((x) => x.path)));
2318
2331
  }
2319
2332
  }, p = () => {
2320
2333
  n("collapse", !e.collapsed);
2321
- }, I = w(() => e.collapsedButtonRender || Ot), M = () => {
2322
- var g;
2334
+ }, I = S(() => e.collapsedButtonRender || It), O = () => {
2335
+ var v;
2323
2336
  return o(q, null, [e.layout === "mix" && !e.isMobile && e.splitMenus ? o("div", {
2324
2337
  style: {
2325
2338
  flex: 1
2326
2339
  },
2327
- class: [`${h}-menu`, s.value]
2328
- }, [o(He, {
2340
+ class: [`${f}-menu`, s.value]
2341
+ }, [o(Ne, {
2329
2342
  theme: {
2330
2343
  components: {
2331
2344
  Layout: {
2332
2345
  headerBg: "transparent",
2333
2346
  bodyBg: "transparent"
2334
2347
  },
2335
- Menu: Ct({
2348
+ Menu: xt({
2336
2349
  radiusItem: 4,
2337
2350
  colorActiveBarWidth: 0,
2338
2351
  colorActiveBarHeight: 2,
@@ -2342,13 +2355,13 @@ const ja = (e) => {
2342
2355
  }
2343
2356
  }
2344
2357
  }, {
2345
- default: () => [o(wt, X({
2358
+ default: () => [o(Ct, X({
2346
2359
  theme: e.theme,
2347
2360
  mode: e.mode,
2348
2361
  collapsed: e.collapsed,
2349
2362
  menuData: e.menuData,
2350
- openKeys: d.value,
2351
- selectedKeys: m.value,
2363
+ openKeys: u.value,
2364
+ selectedKeys: d.value,
2352
2365
  iconfontUrl: e.iconfontUrl,
2353
2366
  menuItemRender: e.menuItemRender,
2354
2367
  subMenuItemRender: e.subMenuItemRender,
@@ -2357,43 +2370,43 @@ const ja = (e) => {
2357
2370
  [`${s.value}`]: !0
2358
2371
  }
2359
2372
  }, {
2360
- "onUpdate:openKeys": () => l("openKeys"),
2361
- "onUpdate:selectedKeys": () => l("select")
2373
+ "onUpdate:openKeys": () => r("openKeys"),
2374
+ "onUpdate:selectedKeys": () => r("select")
2362
2375
  }), null)]
2363
2376
  })]) : o("div", {
2364
2377
  style: {
2365
2378
  flex: 1
2366
2379
  }
2367
- }, [(g = t.default) == null ? void 0 : g.call(t)]), e.layout !== "simple" && o(Xa, X(e, {
2380
+ }, [(v = t.default) == null ? void 0 : v.call(t)]), e.layout !== "simple" && o(Xa, X(e, {
2368
2381
  extraRightDropdownRender: e.extraRightDropdownRender,
2369
2382
  rightContentRender: e.rightContentRender
2370
2383
  }), null)]);
2371
2384
  };
2372
2385
  return () => {
2373
- const g = o("span", {
2386
+ const v = o("span", {
2374
2387
  key: "logo",
2375
2388
  onClick: () => {
2376
- var c;
2377
- return (c = e.onMenuHeaderClick) == null ? void 0 : c.call(e);
2389
+ var m;
2390
+ return (m = e.onMenuHeaderClick) == null ? void 0 : m.call(e);
2378
2391
  },
2379
- class: [`${h}-logo`, e.isMobile ? "mobile" : "", s.value]
2380
- }, [o("a", null, [It(e.logo)])]);
2381
- return S(o("div", {
2382
- class: k.value
2383
- }, [e.isMobile ? o(q, null, [Ua(e.menuHeaderRender, g), e.isMobile && U(I) && o("span", {
2384
- class: `${h}-collapsed-button ${s.value}`,
2392
+ class: [`${f}-logo`, e.isMobile ? "mobile" : "", s.value]
2393
+ }, [o("a", null, [St(e.logo)])]);
2394
+ return b(o("div", {
2395
+ class: B.value
2396
+ }, [e.isMobile ? o(q, null, [Ua(e.menuHeaderRender, v), e.isMobile && U(I) && o("span", {
2397
+ class: `${f}-collapsed-button ${s.value}`,
2385
2398
  onClick: p
2386
- }, [U(I)(e.collapsed)]), M()]) : e.layout === "mix" || e.layout === "wide" ? o(q, null, [o("div", {
2399
+ }, [U(I)(e.collapsed)]), O()]) : e.layout === "mix" || e.layout === "wide" ? o(q, null, [o("div", {
2387
2400
  style: {
2388
2401
  width: e.layout === "wide" ? `${e.wideWidth}px` : void 0,
2389
- padding: e.layout === "wide" && b.value < e.wideWidth ? "0 50px" : void 0
2402
+ padding: e.layout === "wide" && h.value < e.wideWidth ? "0 50px" : void 0
2390
2403
  },
2391
- class: `${h}-main ${s.value}`
2404
+ class: `${f}-main ${s.value}`
2392
2405
  }, [o("div", {
2393
- class: `${h}-main-left ${s.value}`
2406
+ class: `${f}-main-left ${s.value}`
2394
2407
  }, [o(Xe, X(e, {
2395
2408
  renderKey: "headerTitleRender"
2396
- }), null)]), M()])]) : M()]));
2409
+ }), null)]), O()])]) : O()]));
2397
2410
  };
2398
2411
  }
2399
2412
  });
@@ -2402,67 +2415,67 @@ function Ya(e) {
2402
2415
  }
2403
2416
  const {
2404
2417
  Header: lt
2405
- } = de, Le = /* @__PURE__ */ H({
2418
+ } = de, Pe = /* @__PURE__ */ H({
2406
2419
  inheritAttrs: !1,
2407
- props: Rt,
2420
+ props: Mt,
2408
2421
  setup(e) {
2409
2422
  const {
2410
2423
  theme: t,
2411
2424
  isMobile: n,
2412
2425
  fixedHeader: a,
2413
2426
  headerHeight: i,
2414
- layout: r,
2415
- onCollapse: d,
2416
- splitMenus: m
2417
- } = Oe(e), {
2418
- getPrefixCls: b,
2419
- menuData: h
2420
- } = J(), S = b({
2427
+ layout: l,
2428
+ onCollapse: u,
2429
+ splitMenus: d
2430
+ } = Ie(e), {
2431
+ getPrefixCls: h,
2432
+ menuData: f
2433
+ } = J(), b = h({
2421
2434
  suffixCls: "header",
2422
2435
  isPor: !0
2423
- }), s = b({
2436
+ }), s = h({
2424
2437
  suffixCls: "fixed-header",
2425
2438
  isPor: !0
2426
2439
  }), {
2427
- wrapSSR: k,
2428
- hashId: l
2429
- } = Z("ProLayoutHeader", [Ia], S), p = w(() => r.value === "wide"), I = w(() => a.value), M = w(() => r.value === "mix" || p.value), g = w(() => r.value === "side" || r.value === "simple"), c = w(() => g.value && "light" || t.value), f = w(() => ({
2430
- [`${l.value}`]: !0,
2431
- [`${S}-${c.value}`]: !0,
2432
- [`${S}`]: !0,
2440
+ wrapSSR: B,
2441
+ hashId: r
2442
+ } = Z("ProLayoutHeader", [Ia], b), p = S(() => l.value === "wide"), I = S(() => a.value), O = S(() => l.value === "mix" || p.value), v = S(() => l.value === "side" || l.value === "simple"), m = S(() => v.value && "light" || t.value), g = S(() => ({
2443
+ [`${r.value}`]: !0,
2444
+ [`${b}-${m.value}`]: !0,
2445
+ [`${b}`]: !0,
2433
2446
  [`${s}`]: I.value
2434
- })), v = w(() => I.value && !n.value), T = w(() => m.value ? h.value && Ln(h.value) || [] : []), x = w(() => g.value && v.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), O = w(() => I.value ? 0 : void 0), F = () => {
2435
- const R = o(Ga, X(e, {
2436
- theme: c.value,
2447
+ })), x = S(() => I.value && !n.value), T = S(() => d.value ? f.value && Ln(f.value) || [] : []), C = S(() => v.value && x.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), M = S(() => I.value ? 0 : void 0), F = () => {
2448
+ const k = o(Ga, X(e, {
2449
+ theme: m.value,
2437
2450
  mode: "horizontal",
2438
- onCollapse: d.value,
2451
+ onCollapse: u.value,
2439
2452
  menuData: T.value
2440
2453
  }), {
2441
- default: () => [M.value ? null : e.headerContentRender && typeof e.headerContentRender == "function" ? e.headerContentRender(e) : e.headerContentRender]
2454
+ default: () => [O.value ? null : e.headerContentRender && typeof e.headerContentRender == "function" ? e.headerContentRender(e) : e.headerContentRender]
2442
2455
  });
2443
- return e.headerRender ? e.headerRender(e, R) : R;
2456
+ return e.headerRender ? e.headerRender(e, k) : k;
2444
2457
  };
2445
2458
  return () => {
2446
- let R;
2447
- return k(o(q, null, [I.value && !p.value && o(lt, {
2448
- theme: c.value,
2459
+ let k;
2460
+ return B(o(q, null, [I.value && !p.value && o(lt, {
2461
+ theme: m.value,
2449
2462
  style: {
2450
2463
  height: `${i.value}px`,
2451
2464
  lineHeight: `${i.value}px`,
2452
2465
  background: "transparent"
2453
2466
  }
2454
2467
  }, null), o(lt, {
2455
- theme: c.value,
2456
- class: f.value,
2468
+ theme: m.value,
2469
+ class: g.value,
2457
2470
  style: {
2458
2471
  height: `${i.value}px`,
2459
2472
  lineHeight: `${i.value}px`,
2460
- width: x.value,
2461
- zIndex: g.value ? 100 : 101,
2462
- right: O.value
2473
+ width: C.value,
2474
+ zIndex: v.value ? 100 : 101,
2475
+ right: M.value
2463
2476
  }
2464
- }, Ya(R = F()) ? R : {
2465
- default: () => [R]
2477
+ }, Ya(k = F()) ? k : {
2478
+ default: () => [k]
2466
2479
  })]));
2467
2480
  };
2468
2481
  }
@@ -2470,11 +2483,11 @@ const {
2470
2483
  name: "BaseProLayout",
2471
2484
  inheritAttrs: !1,
2472
2485
  components: {
2473
- GlobalHeader: Le,
2474
- GlobalFooter: Fe,
2475
- SiderMenuWrapper: Te
2486
+ GlobalHeader: Pe,
2487
+ GlobalFooter: Te,
2488
+ SiderMenuWrapper: $e
2476
2489
  },
2477
- props: $t,
2490
+ props: kt,
2478
2491
  emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
2479
2492
  setup(e, {
2480
2493
  slots: t
@@ -2485,65 +2498,65 @@ const {
2485
2498
  }), {
2486
2499
  wrapSSR: a,
2487
2500
  hashId: i
2488
- } = Z("ProLayout", [ha, ga], n), r = Cn(), {
2489
- token: d
2490
- } = Re(), m = w(() => {
2491
- var c;
2492
- return (c = d == null ? void 0 : d.value) == null ? void 0 : c.colorPrimary;
2501
+ } = Z("ProLayout", [ha, ga], n), l = Cn(), {
2502
+ token: u
2503
+ } = Me(), d = S(() => {
2504
+ var m;
2505
+ return (m = u == null ? void 0 : u.value) == null ? void 0 : m.colorPrimary;
2493
2506
  });
2494
- Xt(() => {
2495
- m.value && document.querySelector("html") && document.querySelector("html").style.setProperty("--gx-primary-color", m.value);
2507
+ Ut(() => {
2508
+ d.value && document.querySelector("html") && document.querySelector("html").style.setProperty("--gx-primary-color", d.value);
2496
2509
  });
2497
- const b = w(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), h = w(() => e.layout === "wide"), S = w(() => b.value), s = w(() => e.collapsed ? e.collapsedWidth : e.siderWidth), k = w(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), l = w(() => (r.value === "sm" || r.value === "xs") && !e.disableMobile && !h.value), p = Ne({
2510
+ const h = S(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), f = S(() => e.layout === "wide"), b = S(() => h.value), s = S(() => e.collapsed ? e.collapsedWidth : e.siderWidth), B = S(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), r = S(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !f.value), p = ze({
2498
2511
  position: "relative"
2499
2512
  });
2500
2513
  (e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (p.minHeight = 0);
2501
- const I = (c, f) => c.headerRender === !1 || c.pure ? null : o(Le, X(c, {
2502
- matchMenuKeys: f || []
2503
- }), null), M = w(() => ({
2514
+ const I = (m, g) => m.headerRender === !1 || m.pure ? null : o(Pe, X(m, {
2515
+ matchMenuKeys: g || []
2516
+ }), null), O = S(() => ({
2504
2517
  ...e.breadcrumb,
2505
2518
  itemRender: K(t, e, "breadcrumbRender")
2506
- })), g = w(() => S.value && e.selectedKeys ? Dn(e.menuData, e.selectedKeys[0]) : []);
2519
+ })), v = S(() => b.value && e.selectedKeys ? Dn(e.menuData, e.selectedKeys[0]) : []);
2507
2520
  return jn({
2508
2521
  getPrefixCls: ce,
2509
- ...ae(Oe(e), ["layout", "waterMark", "menuData", "openKeys", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader"].concat(Object.keys(me))),
2510
- theme: k.value,
2511
- hasContentWide: h,
2512
- isMobile: l,
2522
+ ...ae(Ie(e), ["layout", "waterMark", "menuData", "openKeys", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader"].concat(Object.keys(me))),
2523
+ theme: B.value,
2524
+ hasContentWide: f,
2525
+ isMobile: r,
2513
2526
  siderWidth: s,
2514
- breadcrumb: M,
2515
- flatMenuData: g,
2516
- hasSide: b,
2517
- flatMenu: S,
2518
- pageHeaderRender: w(() => K(t, e, "pageHeaderRender"))
2527
+ breadcrumb: O,
2528
+ flatMenuData: v,
2529
+ hasSide: h,
2530
+ flatMenu: b,
2531
+ pageHeaderRender: S(() => K(t, e, "pageHeaderRender"))
2519
2532
  }), () => {
2520
2533
  var V;
2521
- const c = K(t, e, "collapsedButtonRender"), f = K(t, e, "headerContentRender"), v = K(t, e, "rightContentRender"), T = K(t, e, "headerRender"), x = K(t, e, "footerRender"), O = K(t, e, "links"), F = K(t, e, "copyrightRender"), R = K(t, e, "extraRightDropdownRender"), D = K(t, e, "menuHeaderRender"), _ = K(t, e, "menuExtraRender"), N = K(t, e, "menuContentRender"), z = K(t, e, "menuFooterRender"), y = K(t, e, "menuItemRender"), C = K(t, e, "subMenuItemRender"), $ = {
2534
+ const m = K(t, e, "collapsedButtonRender"), g = K(t, e, "headerContentRender"), x = K(t, e, "rightContentRender"), T = K(t, e, "headerRender"), C = K(t, e, "footerRender"), M = K(t, e, "links"), F = K(t, e, "copyrightRender"), k = K(t, e, "extraRightDropdownRender"), D = K(t, e, "menuHeaderRender"), _ = K(t, e, "menuExtraRender"), N = K(t, e, "menuContentRender"), z = K(t, e, "menuFooterRender"), y = K(t, e, "menuItemRender"), w = K(t, e, "subMenuItemRender"), $ = {
2522
2535
  menuItemRender: y,
2523
- subMenuItemRender: C
2524
- }, B = w(() => I({
2536
+ subMenuItemRender: w
2537
+ }, R = S(() => I({
2525
2538
  ...e,
2526
2539
  ...$,
2527
- hasSiderMenu: b.value,
2540
+ hasSiderMenu: h.value,
2528
2541
  menuData: e.menuData,
2529
- isMobile: U(l),
2530
- rightContentRender: v,
2531
- extraRightDropdownRender: R,
2542
+ isMobile: U(r),
2543
+ rightContentRender: x,
2544
+ extraRightDropdownRender: k,
2532
2545
  headerTitleRender: D,
2533
- headerContentRender: f,
2546
+ headerContentRender: g,
2534
2547
  headerRender: T,
2535
- theme: k.value
2536
- }, e.matchMenuKeys)), P = w(() => ({
2548
+ theme: B.value
2549
+ }, e.matchMenuKeys)), P = S(() => ({
2537
2550
  [`${i.value}`]: !0,
2538
2551
  [`${n}`]: !0,
2539
2552
  [`${n}-${e.layout}`]: !0
2540
- })), j = w(() => h.value ? {
2553
+ })), j = S(() => f.value ? {
2541
2554
  minWidth: `${e.wideWidth}px`
2542
- } : void 0), W = w(() => h.value ? {
2555
+ } : void 0), W = S(() => f.value ? {
2543
2556
  width: e.menuData.length ? `${e.wideWidth}px` : `${e.wideWidth - e.siderWidth - 20}px`,
2544
2557
  paddingTop: `${e.headerHeight + 20}px`,
2545
- margin: h.value ? "0 auto" : void 0
2546
- } : void 0), E = w(() => h.value ? {
2558
+ margin: f.value ? "0 auto" : void 0
2559
+ } : void 0), E = S(() => f.value ? {
2547
2560
  minHeight: "835px"
2548
2561
  } : {});
2549
2562
  return a(o(q, null, [e.pure ? (V = t.default) == null ? void 0 : V.call(t) : o("div", {
@@ -2552,21 +2565,21 @@ const {
2552
2565
  }, [o(de, {
2553
2566
  style: W.value
2554
2567
  }, {
2555
- default: () => [o(Te, X(je(e, ["pure", "theme"]), {
2556
- links: O,
2557
- theme: k.value,
2558
- isMobile: l.value,
2568
+ default: () => [o($e, X(je(e, ["pure", "theme"]), {
2569
+ links: M,
2570
+ theme: B.value,
2571
+ isMobile: r.value,
2559
2572
  menuHeaderRender: D,
2560
2573
  menuContentRender: N,
2561
2574
  menuExtraRender: _,
2562
2575
  menuFooterRender: z,
2563
- collapsedButtonRender: c
2576
+ collapsedButtonRender: m
2564
2577
  }), null), o(de, {
2565
2578
  style: p
2566
2579
  }, {
2567
- default: () => [B.value, o(Ye, X({
2580
+ default: () => [R.value, o(Ye, X({
2568
2581
  hashId: i.value,
2569
- isMobile: l.value,
2582
+ isMobile: r.value,
2570
2583
  prefixCls: n,
2571
2584
  collapsedWidth: e.collapsedWidth,
2572
2585
  isChildrenLayout: e.isChildrenLayout,
@@ -2584,59 +2597,63 @@ const {
2584
2597
  var G;
2585
2598
  return [(G = t.default) == null ? void 0 : G.call(t)];
2586
2599
  }
2587
- }), x === !1 ? null : x ? x(e) : o(Fe, {
2600
+ }), C === !1 ? null : C ? C(e) : o(Te, {
2588
2601
  copyright: F
2589
2602
  }, null)]
2590
2603
  })]
2591
2604
  })])]));
2592
2605
  };
2593
2606
  }
2594
- }), bl = /* @__PURE__ */ H({
2607
+ }), pl = /* @__PURE__ */ H({
2595
2608
  components: {
2596
- GlobalHeader: Le,
2597
- GlobalFooter: Fe,
2598
- SiderMenuWrapper: Te
2609
+ GlobalHeader: Pe,
2610
+ GlobalFooter: Te,
2611
+ SiderMenuWrapper: $e
2599
2612
  },
2600
- props: $t,
2613
+ props: kt,
2601
2614
  emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
2602
2615
  setup(e, {
2603
2616
  slots: t,
2604
2617
  emit: n
2605
2618
  }) {
2606
- const a = w(() => e.theme !== void 0 ? {
2619
+ const a = S(() => e.theme !== void 0 ? {
2607
2620
  dark: e.theme === "realDark"
2608
- } : {}), i = (m) => {
2609
- n("update:collapsed", m), n("collapse", m);
2610
- }, r = (m) => {
2611
- n("update:open-keys", m), n("openKeys", m);
2612
- }, d = (m) => {
2613
- n("update:selected-keys", m), n("select", m);
2621
+ } : {}), i = (d) => {
2622
+ n("update:collapsed", d), n("collapse", d);
2623
+ }, l = (d) => {
2624
+ n("update:open-keys", d), n("openKeys", d);
2625
+ }, u = (d) => {
2626
+ n("update:selected-keys", d), n("select", d);
2614
2627
  };
2615
- return () => o(He, {
2628
+ return () => o(Ne, {
2616
2629
  theme: e.primaryColor ? {
2617
2630
  token: {
2618
2631
  colorPrimary: e.primaryColor
2619
2632
  }
2620
2633
  } : void 0
2621
2634
  }, {
2622
- default: () => [o(fn, X({
2635
+ default: () => [o(mn, X({
2623
2636
  token: e.token
2624
2637
  }, a.value), {
2625
2638
  default: () => [o(qa, X(je(e, ["onSelect", "onOpenKeys", "onCollapse"]), {
2626
- onSelect: d,
2627
- onOpenKeys: r,
2639
+ onSelect: u,
2640
+ onOpenKeys: l,
2628
2641
  onCollapse: i
2629
2642
  }), t)]
2630
2643
  })]
2631
2644
  });
2632
2645
  }
2633
- }), Nt = (e, t) => e.map((n) => (n.path = n.path.replace("//", "/"), n.path = Ce(n.path, n.meta), n.children && n.children.length > 0 && (n.children = Nt(n.children, t)), t[`${n.path}`] = n, n)), pl = (e) => {
2634
- const t = e.find((a) => a.path === "/"), n = {};
2646
+ }), zt = (e, t, n) => e.map((a, i) => {
2647
+ var l;
2648
+ return a.meta && (a.meta.key = n ? `${n}-${i}` : `${i}`), a.path = a.path.replace("//", "/"), a.children && a.children.length > 0 && (a.children = zt(a.children, t, (l = a.meta) == null ? void 0 : l.key)), t[`${a.path}`] = a, a;
2649
+ }), vl = (e) => {
2650
+ const t = e.find((i) => i.path === "/"), n = {}, a = zt((t == null ? void 0 : t.children) || [], n);
2635
2651
  return {
2636
- menuData: Nt((t == null ? void 0 : t.children) || [], n),
2637
- breadcrumb: n
2652
+ menuData: a,
2653
+ breadcrumb: n,
2654
+ levelMenuData: bn(a)
2638
2655
  };
2639
- }, Ht = [
2656
+ }, Nt = [
2640
2657
  {
2641
2658
  key: "light",
2642
2659
  title: "亮色菜单风格"
@@ -2649,7 +2666,7 @@ const {
2649
2666
  key: "realDark",
2650
2667
  title: "暗黑模式"
2651
2668
  }
2652
- ], _t = [
2669
+ ], Ht = [
2653
2670
  {
2654
2671
  key: "side",
2655
2672
  title: "侧边菜单布局"
@@ -2858,12 +2875,12 @@ const {
2858
2875
  const t = `${e.prefixCls}-block-checkbox`;
2859
2876
  return o("div", {
2860
2877
  class: [t, e.hashId]
2861
- }, [e.list.map((n) => o(Me, {
2878
+ }, [e.list.map((n) => o(Oe, {
2862
2879
  title: n.title,
2863
2880
  key: n.key
2864
2881
  }, {
2865
2882
  default: () => [o("div", {
2866
- class: pt(e.hashId, `${t}-item`, `${t}-item-${n.key}`, `${t}-${e.configType}-item`),
2883
+ class: bt(e.hashId, `${t}-item`, `${t}-item-${n.key}`, `${t}-${e.configType}-item`),
2867
2884
  onClick: () => {
2868
2885
  var a;
2869
2886
  return (a = e.onChange) == null ? void 0 : a.call(e, n.key);
@@ -2903,20 +2920,20 @@ const {
2903
2920
  }, [(n = e.colorList) == null ? void 0 : n.map(({
2904
2921
  key: a,
2905
2922
  color: i,
2906
- title: r
2907
- }) => a ? o(Me, {
2923
+ title: l
2924
+ }) => a ? o(Oe, {
2908
2925
  key: i,
2909
- title: r
2926
+ title: l
2910
2927
  }, {
2911
2928
  default: () => {
2912
- var d, m;
2929
+ var u, d;
2913
2930
  return [o("div", {
2914
- class: [`${t}-block ${e.hashId}`.trim(), ((d = e.settingValue) == null ? void 0 : d.primaryColor) === i ? `${t}-block-checked` : ""],
2931
+ class: [`${t}-block ${e.hashId}`.trim(), ((u = e.settingValue) == null ? void 0 : u.primaryColor) === i ? `${t}-block-checked` : ""],
2915
2932
  style: {
2916
2933
  backgroundColor: i
2917
2934
  },
2918
2935
  onClick: () => e.onChange && e.onChange(i)
2919
- }, [((m = e.settingValue) == null ? void 0 : m.primaryColor) === i && o(yt, null, null)])];
2936
+ }, [((d = e.settingValue) == null ? void 0 : d.primaryColor) === i && o(yt, null, null)])];
2920
2937
  }
2921
2938
  }) : null)])]);
2922
2939
  };
@@ -2939,7 +2956,7 @@ const {
2939
2956
  size: "small",
2940
2957
  renderItem: ({
2941
2958
  item: t
2942
- }) => o(Me, {
2959
+ }) => o(Oe, {
2943
2960
  title: t.disabled ? t.disabledReason : "",
2944
2961
  placement: "left"
2945
2962
  }, {
@@ -3013,23 +3030,23 @@ const no = /* @__PURE__ */ H({
3013
3030
  suffixCls: "theme-editor",
3014
3031
  isPor: !0
3015
3032
  }), {
3016
- wrapSSR: r,
3017
- hashId: d
3033
+ wrapSSR: l,
3034
+ hashId: u
3018
3035
  } = Z("ProThemeEditor", [eo], i), {
3019
- token: m
3020
- } = Re(), b = w(() => {
3021
- var l;
3022
- return (l = m.value) == null ? void 0 : l.layout;
3023
- }), h = w(() => {
3024
- var l, p, I, M, g, c, f, v, T, x, O, F, R, D, _, N, z, y, C, $, B, P, j, W, E;
3036
+ token: d
3037
+ } = Me(), h = S(() => {
3038
+ var r;
3039
+ return (r = d.value) == null ? void 0 : r.layout;
3040
+ }), f = S(() => {
3041
+ var r, p, I, O, v, m, g, x, T, C, M, F, k, D, _, N, z, y, w, $, R, P, j, W, E;
3025
3042
  return [{
3026
3043
  key: "colorBgMenu",
3027
3044
  title: "全部背景",
3028
- disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["mix", "wide"].includes((p = e.settingValue) == null ? void 0 : p.layout)
3045
+ disabled: ((r = e.settingValue) == null ? void 0 : r.theme) === "dark" && ["mix", "wide"].includes((p = e.settingValue) == null ? void 0 : p.layout)
3029
3046
  }, {
3030
3047
  key: "colorDarkBgMenu",
3031
3048
  title: "全部背景",
3032
- disabled: ((I = e.settingValue) == null ? void 0 : I.theme) === "light" || ((M = e.settingValue) == null ? void 0 : M.theme) === "dark" && ["side", "simple"].includes((g = e.settingValue) == null ? void 0 : g.layout)
3049
+ disabled: ((I = e.settingValue) == null ? void 0 : I.theme) === "light" || ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ["side", "simple"].includes((v = e.settingValue) == null ? void 0 : v.layout)
3033
3050
  }, {
3034
3051
  key: "colorSubItemBg",
3035
3052
  title: "子菜单背景",
@@ -3041,19 +3058,19 @@ const no = /* @__PURE__ */ H({
3041
3058
  }, {
3042
3059
  key: "colorBgMenuItemSelected",
3043
3060
  title: "菜单选中背景",
3044
- disabled: ((c = e.settingValue) == null ? void 0 : c.theme) === "dark" && ["mix", "wide"].includes((f = e.settingValue) == null ? void 0 : f.layout)
3061
+ disabled: ((m = e.settingValue) == null ? void 0 : m.theme) === "dark" && ["mix", "wide"].includes((g = e.settingValue) == null ? void 0 : g.layout)
3045
3062
  }, {
3046
3063
  key: "colorDarkBgMenuItemSelected",
3047
3064
  title: "菜单选中背景",
3048
- disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "light" || ((T = e.settingValue) == null ? void 0 : T.theme) === "dark" && ["side", "simple"].includes((x = e.settingValue) == null ? void 0 : x.layout)
3065
+ disabled: ((x = e.settingValue) == null ? void 0 : x.theme) === "light" || ((T = e.settingValue) == null ? void 0 : T.theme) === "dark" && ["side", "simple"].includes((C = e.settingValue) == null ? void 0 : C.layout)
3049
3066
  }, {
3050
3067
  key: "colorTextMenu",
3051
3068
  title: "菜单文字颜色",
3052
- disabled: ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ["mix", "wide"].includes((F = e.settingValue) == null ? void 0 : F.layout)
3069
+ disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "dark" && ["mix", "wide"].includes((F = e.settingValue) == null ? void 0 : F.layout)
3053
3070
  }, {
3054
3071
  key: "colorDarkTextMenu",
3055
3072
  title: "菜单文字颜色",
3056
- disabled: ((R = e.settingValue) == null ? void 0 : R.theme) === "light" || ((D = e.settingValue) == null ? void 0 : D.theme) === "dark" && ["side", "simple"].includes((_ = e.settingValue) == null ? void 0 : _.layout)
3073
+ disabled: ((k = e.settingValue) == null ? void 0 : k.theme) === "light" || ((D = e.settingValue) == null ? void 0 : D.theme) === "dark" && ["side", "simple"].includes((_ = e.settingValue) == null ? void 0 : _.layout)
3057
3074
  }, {
3058
3075
  key: "colorTextMenuHover",
3059
3076
  title: "菜单文字移入颜色",
@@ -3061,42 +3078,42 @@ const no = /* @__PURE__ */ H({
3061
3078
  }, {
3062
3079
  key: "colorDarkTextMenuHover",
3063
3080
  title: "菜单文字移入颜色",
3064
- disabled: ((y = e.settingValue) == null ? void 0 : y.theme) === "light" || ((C = e.settingValue) == null ? void 0 : C.theme) === "dark" && ["side", "simple"].includes(($ = e.settingValue) == null ? void 0 : $.layout)
3081
+ disabled: ((y = e.settingValue) == null ? void 0 : y.theme) === "light" || ((w = e.settingValue) == null ? void 0 : w.theme) === "dark" && ["side", "simple"].includes(($ = e.settingValue) == null ? void 0 : $.layout)
3065
3082
  }, {
3066
3083
  key: "colorTextMenuSelected",
3067
3084
  title: "菜单文字选中颜色",
3068
- disabled: ((B = e.settingValue) == null ? void 0 : B.theme) === "dark" && ["mix", "wide"].includes((P = e.settingValue) == null ? void 0 : P.layout)
3085
+ disabled: ((R = e.settingValue) == null ? void 0 : R.theme) === "dark" && ["mix", "wide"].includes((P = e.settingValue) == null ? void 0 : P.layout)
3069
3086
  }, {
3070
3087
  key: "colorDarkTextMenuSelected",
3071
3088
  title: "菜单文字选中颜色",
3072
3089
  disabled: ((j = e.settingValue) == null ? void 0 : j.theme) === "light" || ((W = e.settingValue) == null ? void 0 : W.theme) === "dark" && ["side", "simple"].includes((E = e.settingValue) == null ? void 0 : E.layout)
3073
3090
  }];
3074
- }), S = w(() => {
3075
- var l, p, I, M, g, c, f, v, T, x, O, F, R, D, _, N, z, y, C, $, B, P, j, W, E, V, G, fe, qe, Ze, Je, Qe;
3091
+ }), b = S(() => {
3092
+ var r, p, I, O, v, m, g, x, T, C, M, F, k, D, _, N, z, y, w, $, R, P, j, W, E, V, G, fe, qe, Ze, Je, Qe;
3076
3093
  return [{
3077
3094
  key: "colorBgMenu",
3078
3095
  title: "全部背景",
3079
- disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["side", "simple"].includes((p = e.settingValue) == null ? void 0 : p.layout)
3096
+ disabled: ((r = e.settingValue) == null ? void 0 : r.theme) === "dark" && ["side", "simple"].includes((p = e.settingValue) == null ? void 0 : p.layout)
3080
3097
  }, {
3081
3098
  key: "colorDarkBgMenu",
3082
3099
  title: "全部背景",
3083
- disabled: ((I = e.settingValue) == null ? void 0 : I.theme) === "light" || ((M = e.settingValue) == null ? void 0 : M.theme) === "dark" && ["mix", "wide"].includes((g = e.settingValue) == null ? void 0 : g.layout)
3100
+ disabled: ((I = e.settingValue) == null ? void 0 : I.theme) === "light" || ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ["mix", "wide"].includes((v = e.settingValue) == null ? void 0 : v.layout)
3084
3101
  }, {
3085
3102
  key: "colorSubItemBg",
3086
3103
  title: "子菜单背景",
3087
- disabled: ((c = e.settingValue) == null ? void 0 : c.theme) === "dark" && ["side", "simple"].includes((f = e.settingValue) == null ? void 0 : f.layout)
3104
+ disabled: ((m = e.settingValue) == null ? void 0 : m.theme) === "dark" && ["side", "simple"].includes((g = e.settingValue) == null ? void 0 : g.layout)
3088
3105
  }, {
3089
3106
  key: "colorDarkSubItemBg",
3090
3107
  title: "子菜单背景",
3091
- disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "light" || ((T = e.settingValue) == null ? void 0 : T.theme) === "dark" && ["mix", "wide"].includes((x = e.settingValue) == null ? void 0 : x.layout)
3108
+ disabled: ((x = e.settingValue) == null ? void 0 : x.theme) === "light" || ((T = e.settingValue) == null ? void 0 : T.theme) === "dark" && ["mix", "wide"].includes((C = e.settingValue) == null ? void 0 : C.layout)
3092
3109
  }, {
3093
3110
  key: "colorBgMenuItemHover",
3094
3111
  title: "菜单移入背景",
3095
- disabled: ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ((F = e.settingValue) == null ? void 0 : F.layout) !== "mix"
3112
+ disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "dark" && ((F = e.settingValue) == null ? void 0 : F.layout) !== "mix"
3096
3113
  }, {
3097
3114
  key: "colorBgMenuItemSelected",
3098
3115
  title: "菜单选中背景",
3099
- disabled: ((R = e.settingValue) == null ? void 0 : R.theme) === "dark" && ((D = e.settingValue) == null ? void 0 : D.layout) !== "mix"
3116
+ disabled: ((k = e.settingValue) == null ? void 0 : k.theme) === "dark" && ((D = e.settingValue) == null ? void 0 : D.layout) !== "mix"
3100
3117
  }, {
3101
3118
  key: "colorDarkBgMenuItemSelected",
3102
3119
  title: "菜单选中背景",
@@ -3104,11 +3121,11 @@ const no = /* @__PURE__ */ H({
3104
3121
  }, {
3105
3122
  key: "colorTextMenu",
3106
3123
  title: "菜单文字颜色",
3107
- disabled: ((y = e.settingValue) == null ? void 0 : y.theme) === "dark" && ((C = e.settingValue) == null ? void 0 : C.layout) !== "mix"
3124
+ disabled: ((y = e.settingValue) == null ? void 0 : y.theme) === "dark" && ((w = e.settingValue) == null ? void 0 : w.layout) !== "mix"
3108
3125
  }, {
3109
3126
  key: "colorDarkTextMenu",
3110
3127
  title: "菜单文字颜色",
3111
- disabled: (($ = e.settingValue) == null ? void 0 : $.theme) === "light" || ((B = e.settingValue) == null ? void 0 : B.theme) === "dark" && ["mix", "wide"].includes((P = e.settingValue) == null ? void 0 : P.layout)
3128
+ disabled: (($ = e.settingValue) == null ? void 0 : $.theme) === "light" || ((R = e.settingValue) == null ? void 0 : R.theme) === "dark" && ["mix", "wide"].includes((P = e.settingValue) == null ? void 0 : P.layout)
3112
3129
  }, {
3113
3130
  key: "colorTextMenuHover",
3114
3131
  title: "菜单文字移入颜色",
@@ -3126,91 +3143,91 @@ const no = /* @__PURE__ */ H({
3126
3143
  title: "菜单文字选中颜色",
3127
3144
  disabled: ((Ze = e.settingValue) == null ? void 0 : Ze.theme) === "light" || ((Je = e.settingValue) == null ? void 0 : Je.theme) === "dark" && ["mix", "wide"].includes((Qe = e.settingValue) == null ? void 0 : Qe.layout)
3128
3145
  }];
3129
- }), s = w(() => n.value === "header" ? h.value : n.value === "sider" ? S.value : []), k = (l) => {
3146
+ }), s = S(() => n.value === "header" ? f.value : n.value === "sider" ? b.value : []), B = (r) => {
3130
3147
  var p, I;
3131
- return (I = (p = b.value) == null ? void 0 : p[n.value]) == null ? void 0 : I[l];
3148
+ return (I = (p = h.value) == null ? void 0 : p[n.value]) == null ? void 0 : I[r];
3132
3149
  };
3133
3150
  return () => {
3134
- var p, I, M;
3135
- let l;
3136
- return r(o("div", {
3137
- class: [i, d.value]
3151
+ var p, I, O;
3152
+ let r;
3153
+ return l(o("div", {
3154
+ class: [i, u.value]
3138
3155
  }, [o("h3", {
3139
- class: [`${i}-title`, d.value]
3156
+ class: [`${i}-title`, u.value]
3140
3157
  }, [Q("主题编辑器"), o("div", {
3141
- class: [`${i}-sub-title`, d.value]
3142
- }, [o("span", null, [(p = Ht.find((g) => {
3143
- var c;
3144
- return g.key === ((c = e.settingValue) == null ? void 0 : c.theme);
3158
+ class: [`${i}-sub-title`, u.value]
3159
+ }, [o("span", null, [(p = Nt.find((v) => {
3160
+ var m;
3161
+ return v.key === ((m = e.settingValue) == null ? void 0 : m.theme);
3145
3162
  })) == null ? void 0 : p.title]), o("span", {
3146
3163
  style: {
3147
3164
  marginInline: "8px"
3148
3165
  }
3149
- }, [Q("/")]), o("span", null, [(I = _t.find((g) => {
3150
- var c;
3151
- return g.key === ((c = e.settingValue) == null ? void 0 : c.layout);
3166
+ }, [Q("/")]), o("span", null, [(I = Ht.find((v) => {
3167
+ var m;
3168
+ return v.key === ((m = e.settingValue) == null ? void 0 : m.layout);
3152
3169
  })) == null ? void 0 : I.title])])]), o("div", {
3153
- class: [`${i}-content`, d.value]
3170
+ class: [`${i}-content`, u.value]
3154
3171
  }, [o(te, {
3155
- class: `${i}-list ${d.value}`.trim(),
3172
+ class: `${i}-list ${u.value}`.trim(),
3156
3173
  split: !1,
3157
3174
  size: "small",
3158
3175
  renderItem: ({
3159
- item: g
3176
+ item: v
3160
3177
  }) => o(te.Item, {
3161
- actions: [g.action]
3178
+ actions: [v.action]
3162
3179
  }, {
3163
3180
  default: () => [o("span", {
3164
3181
  style: {
3165
- opacity: g.disabled ? 0.5 : 1
3182
+ opacity: v.disabled ? 0.5 : 1
3166
3183
  }
3167
- }, [g.title])]
3184
+ }, [v.title])]
3168
3185
  }),
3169
3186
  dataSource: [{
3170
3187
  title: "自定义主题色",
3171
3188
  action: o(tt, {
3172
- value: (M = e.settingValue) == null ? void 0 : M.primaryColor,
3189
+ value: (O = e.settingValue) == null ? void 0 : O.primaryColor,
3173
3190
  actions: ["confirm"],
3174
3191
  modes: ["rgb"],
3175
3192
  size: "small",
3176
- onConfirm: (g) => e.onChange && e.onChange(g, "primaryColor")
3193
+ onConfirm: (v) => e.onChange && e.onChange(v, "primaryColor")
3177
3194
  }, null)
3178
3195
  }]
3179
- }, null), o(_e, {
3196
+ }, null), o(He, {
3180
3197
  activeKey: n.value,
3181
3198
  onChange: a
3182
- }, to(l = Za.map((g) => o(Jt, {
3183
- key: g.key,
3184
- tab: g.title
3199
+ }, to(r = Za.map((v) => o(Zt, {
3200
+ key: v.key,
3201
+ tab: v.title
3185
3202
  }, {
3186
3203
  default: () => [o(te, {
3187
- class: `${i}-list ${d.value}`.trim(),
3204
+ class: `${i}-list ${u.value}`.trim(),
3188
3205
  split: !1,
3189
3206
  size: "small",
3190
3207
  renderItem: ({
3191
- item: c
3208
+ item: m
3192
3209
  }) => o(te.Item, {
3193
- actions: [c.action]
3210
+ actions: [m.action]
3194
3211
  }, {
3195
3212
  default: () => [o("span", {
3196
3213
  style: {
3197
- opacity: c.disabled ? 0.5 : 1
3214
+ opacity: m.disabled ? 0.5 : 1
3198
3215
  }
3199
- }, [c.title])]
3216
+ }, [m.title])]
3200
3217
  }),
3201
- dataSource: s.value.filter((c) => !c.disabled).map((c) => ({
3202
- ...c,
3218
+ dataSource: s.value.filter((m) => !m.disabled).map((m) => ({
3219
+ ...m,
3203
3220
  action: o(tt, {
3204
- value: k(c.key),
3221
+ value: B(m.key),
3205
3222
  actions: ["confirm"],
3206
3223
  modes: ["rgb"],
3207
3224
  size: "small",
3208
- onConfirm: (f) => e.onChange && e.onChange(f, n.value, c.key)
3225
+ onConfirm: (g) => e.onChange && e.onChange(g, n.value, m.key)
3209
3226
  }, null)
3210
3227
  }))
3211
3228
  }, null)]
3212
- }))) ? l : {
3213
- default: () => [l]
3229
+ }))) ? r : {
3230
+ default: () => [r]
3214
3231
  })])]));
3215
3232
  };
3216
3233
  }
@@ -3266,7 +3283,7 @@ const {
3266
3283
  hashId: a
3267
3284
  } = Z("SettingsDrawOthers", [ao], t);
3268
3285
  return () => {
3269
- var r, d, m, b, h, S, s, k, l, p, I, M, g, c;
3286
+ var l, u, d, h, f, b, s, B, r, p, I, O, v, m;
3270
3287
  let i;
3271
3288
  return n(o("div", {
3272
3289
  class: [t, a.value]
@@ -3277,58 +3294,58 @@ const {
3277
3294
  split: !1,
3278
3295
  size: "small",
3279
3296
  renderItem: ({
3280
- item: f
3281
- }) => o(Me, {
3282
- title: f.disabled ? f.disabledReason : "",
3297
+ item: g
3298
+ }) => o(Oe, {
3299
+ title: g.disabled ? g.disabledReason : "",
3283
3300
  placement: "left"
3284
3301
  }, {
3285
3302
  default: () => [o(te.Item, {
3286
- actions: [f.action]
3303
+ actions: [g.action]
3287
3304
  }, {
3288
3305
  default: () => [o("span", {
3289
3306
  style: {
3290
- opacity: f.disabled ? 0.5 : 1
3307
+ opacity: g.disabled ? 0.5 : 1
3291
3308
  }
3292
- }, [f.title])]
3309
+ }, [g.title])]
3293
3310
  })]
3294
3311
  }),
3295
3312
  dataSource: [{
3296
3313
  title: "禁用动画",
3297
3314
  action: o(ht, {
3298
- checked: !((d = (r = e.settingValue) == null ? void 0 : r.animate) != null && d.disabled),
3315
+ checked: !((u = (l = e.settingValue) == null ? void 0 : l.animate) != null && u.disabled),
3299
3316
  size: "small",
3300
- onChange: (f) => {
3301
- var v;
3302
- return (v = e.onChange) == null ? void 0 : v.call(e, "animate", "disabled", !f);
3317
+ onChange: (g) => {
3318
+ var x;
3319
+ return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "disabled", !g);
3303
3320
  }
3304
3321
  }, null)
3305
3322
  }, {
3306
3323
  title: "动画效果",
3307
- disabled: (b = (m = e.settingValue) == null ? void 0 : m.animate) == null ? void 0 : b.disabled,
3324
+ disabled: (h = (d = e.settingValue) == null ? void 0 : d.animate) == null ? void 0 : h.disabled,
3308
3325
  action: o(he, {
3309
- value: (S = (h = e.settingValue) == null ? void 0 : h.animate) == null ? void 0 : S.name,
3326
+ value: (b = (f = e.settingValue) == null ? void 0 : f.animate) == null ? void 0 : b.name,
3310
3327
  style: {
3311
3328
  width: "100px"
3312
3329
  },
3313
3330
  size: "small",
3314
- disabled: (k = (s = e.settingValue) == null ? void 0 : s.animate) == null ? void 0 : k.disabled,
3315
- getPopupContainer: (f) => f && f.parentNode ? f.parentNode : f,
3316
- onChange: (f) => {
3317
- var v;
3318
- return (v = e.onChange) == null ? void 0 : v.call(e, "animate", "name", f);
3331
+ disabled: (B = (s = e.settingValue) == null ? void 0 : s.animate) == null ? void 0 : B.disabled,
3332
+ getPopupContainer: (g) => g && g.parentNode ? g.parentNode : g,
3333
+ onChange: (g) => {
3334
+ var x;
3335
+ return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "name", g);
3319
3336
  }
3320
- }, st(i = ut.map((f) => o(he.Option, {
3321
- value: f.name
3337
+ }, st(i = ut.map((g) => o(he.Option, {
3338
+ value: g.name
3322
3339
  }, {
3323
- default: () => [f.alias]
3340
+ default: () => [g.alias]
3324
3341
  }))) ? i : {
3325
3342
  default: () => [i]
3326
3343
  })
3327
3344
  }, {
3328
3345
  title: "动画方向",
3329
- disabled: (p = (l = e.settingValue) == null ? void 0 : l.animate) == null ? void 0 : p.disabled,
3346
+ disabled: (p = (r = e.settingValue) == null ? void 0 : r.animate) == null ? void 0 : p.disabled,
3330
3347
  action: o(he, {
3331
- value: (M = (I = e.settingValue) == null ? void 0 : I.animate) == null ? void 0 : M.direction,
3348
+ value: (O = (I = e.settingValue) == null ? void 0 : I.animate) == null ? void 0 : O.direction,
3332
3349
  style: {
3333
3350
  width: "100px"
3334
3351
  },
@@ -3336,22 +3353,22 @@ const {
3336
3353
  dropdownStyle: {
3337
3354
  minWidth: "120px"
3338
3355
  },
3339
- disabled: (c = (g = e.settingValue) == null ? void 0 : g.animate) == null ? void 0 : c.disabled,
3340
- getPopupContainer: (f) => f && f.parentNode ? f.parentNode : f,
3341
- onChange: (f) => {
3342
- var v;
3343
- return (v = e.onChange) == null ? void 0 : v.call(e, "animate", "direction", f);
3356
+ disabled: (m = (v = e.settingValue) == null ? void 0 : v.animate) == null ? void 0 : m.disabled,
3357
+ getPopupContainer: (g) => g && g.parentNode ? g.parentNode : g,
3358
+ onChange: (g) => {
3359
+ var x;
3360
+ return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "direction", g);
3344
3361
  }
3345
3362
  }, {
3346
3363
  default: () => {
3347
- var f;
3348
- return [(f = ut.find((v) => {
3349
- var T, x;
3350
- return v.name === ((x = (T = e.settingValue) == null ? void 0 : T.animate) == null ? void 0 : x.name);
3351
- })) == null ? void 0 : f.directions.map((v) => o(he.Option, {
3352
- value: v
3353
- }, st(v) ? v : {
3354
- default: () => [v]
3364
+ var g;
3365
+ return [(g = ut.find((x) => {
3366
+ var T, C;
3367
+ return x.name === ((C = (T = e.settingValue) == null ? void 0 : T.animate) == null ? void 0 : C.name);
3368
+ })) == null ? void 0 : g.directions.map((x) => o(he.Option, {
3369
+ value: x
3370
+ }, st(x) ? x : {
3371
+ default: () => [x]
3355
3372
  }))];
3356
3373
  }
3357
3374
  })
@@ -3361,7 +3378,7 @@ const {
3361
3378
  }
3362
3379
  }), {
3363
3380
  preset: io
3364
- } = Ke, De = Object.keys(A).filter((e) => e !== "title"), dt = {
3381
+ } = Ke, Le = Object.keys(A).filter((e) => e !== "title"), dt = {
3365
3382
  color: "#fff",
3366
3383
  fontSize: 20
3367
3384
  }, lo = [{
@@ -3380,9 +3397,9 @@ const {
3380
3397
  label: "fixedMultiTab",
3381
3398
  title: "固定多标签"
3382
3399
  }], ct = (e) => vn() ? {
3383
- ...ae(A, De),
3400
+ ...ae(A, Le),
3384
3401
  ...e || {}
3385
- } : bt(A), ye = (e, {
3402
+ } : Ee(A), ye = (e, {
3386
3403
  slots: t
3387
3404
  }) => {
3388
3405
  var n;
@@ -3393,7 +3410,7 @@ const {
3393
3410
  }, [o("h3", {
3394
3411
  class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
3395
3412
  }, [e.title]), (n = t.default) == null ? void 0 : n.call(t)]);
3396
- }, vl = /* @__PURE__ */ H({
3413
+ }, xl = /* @__PURE__ */ H({
3397
3414
  name: "SettingDrawer",
3398
3415
  props: {
3399
3416
  themeOnly: Boolean,
@@ -3406,7 +3423,7 @@ const {
3406
3423
  },
3407
3424
  colorList: {
3408
3425
  type: [Boolean, Array],
3409
- default: () => hn
3426
+ default: () => fn
3410
3427
  },
3411
3428
  onChange: Function,
3412
3429
  onChangeLayout: Function
@@ -3421,42 +3438,42 @@ const {
3421
3438
  }), {
3422
3439
  wrapSSR: a,
3423
3440
  hashId: i
3424
- } = Z("ProSettingDraw", [Ja], n), r = ve(!1), [d, m] = pe(!1), [b, h] = pe(!1), [S, s] = pe(!1), k = w(() => ct(ae(e.settings, De))), [l, p] = wn(() => ct(ae(e.settings, De)), {
3425
- value: k,
3441
+ } = Z("ProSettingDraw", [Ja], n), l = ve(!1), [u, d] = pe(!1), [h, f] = pe(!1), [b, s] = pe(!1), B = S(() => ct(ae(e.settings, Le))), [r, p] = wn(() => ct(ae(e.settings, Le)), {
3442
+ value: B,
3426
3443
  onChange: e.onChange
3427
- }), I = w(() => e.colorList && pn(e.colorList) ? e.colorList : []), M = w(() => Hn(U(l))), {
3428
- copy: g,
3429
- copied: c,
3430
- isSupported: f
3444
+ }), I = S(() => e.colorList && pn(e.colorList) ? e.colorList : []), O = S(() => Hn(U(r))), {
3445
+ copy: v,
3446
+ copied: m,
3447
+ isSupported: g
3431
3448
  } = In();
3432
- le(d, () => {
3433
- r.value || (r.value = !0);
3449
+ le(u, () => {
3450
+ l.value || (l.value = !0);
3434
3451
  });
3435
- const v = (x, O, F) => {
3452
+ const x = (C, M, F) => {
3436
3453
  var _, N;
3437
- const R = ["header", "sider"], D = {};
3438
- if (F && R.includes(x)) {
3439
- D[x] = {}, D[x][F] = O, e.onChangeLayout && e.onChangeLayout(ae(D, R));
3454
+ const k = ["header", "sider"], D = {};
3455
+ if (F && k.includes(C)) {
3456
+ D[C] = {}, D[C][F] = M, e.onChangeLayout && e.onChangeLayout(ae(D, k));
3440
3457
  return;
3441
3458
  } else
3442
- x === "animate" ? (D[x] = {}, D[x][F] = O, F === "name" && (D[x].direction = (N = (_ = io.find((z) => z.name === O)) == null ? void 0 : _.directions) == null ? void 0 : N[0])) : D[x] = O;
3443
- if (x === "colorWeak") {
3459
+ C === "animate" ? (D[C] = {}, D[C][F] = M, F === "name" && (D[C].direction = (N = (_ = io.find((z) => z.name === M)) == null ? void 0 : _.directions) == null ? void 0 : N[0])) : D[C] = M;
3460
+ if (C === "colorWeak") {
3444
3461
  const z = document.querySelector("body");
3445
- z && (z.dataset.prosettingdrawer = O === !0 ? z.style.filter : z.dataset.prosettingdrawer || "none", O === !0 && (z.dataset.prosettingdrawer = z.style.filter), z.style.filter = O === !0 ? "invert(80%)" : z.dataset.prosettingdrawer || "none", O || delete z.dataset.prosettingdrawer);
3462
+ z && (z.dataset.prosettingdrawer = M === !0 ? z.style.filter : z.dataset.prosettingdrawer || "none", M === !0 && (z.dataset.prosettingdrawer = z.style.filter), z.style.filter = M === !0 ? "invert(80%)" : z.dataset.prosettingdrawer || "none", M || delete z.dataset.prosettingdrawer);
3446
3463
  }
3447
- p(xn(U(l), {
3448
- ...Nn(je(D, R))
3464
+ p(xn(U(r), {
3465
+ ...Nn(je(D, k))
3449
3466
  }));
3450
3467
  }, T = () => {
3451
- f.value && g(JSON.stringify(U(l)));
3468
+ g.value && v(JSON.stringify(U(r)));
3452
3469
  };
3453
- return le(c, (x) => {
3454
- x && Qt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3470
+ return le(m, (C) => {
3471
+ C && Jt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3455
3472
  }), () => a(o(be, {
3456
3473
  width: 300,
3457
3474
  closable: !1,
3458
- open: d.value,
3459
- rootClassName: `${n} ${i.value} ${d.value && `${n}-show`} ${!r.value && `${n}-trantion-none`}`,
3475
+ open: u.value,
3476
+ rootClassName: `${n} ${i.value} ${u.value && `${n}-show`} ${!l.value && `${n}-trantion-none`}`,
3460
3477
  placement: "right",
3461
3478
  rootStyle: {
3462
3479
  zIndex: 999
@@ -3464,13 +3481,13 @@ const {
3464
3481
  bodyStyle: {
3465
3482
  padding: 0
3466
3483
  },
3467
- onClose: () => m(!1),
3484
+ onClose: () => d(!1),
3468
3485
  handle: o("div", {
3469
3486
  class: [`${n}-handle`, i.value],
3470
- onClick: () => m(!d.value)
3471
- }, [d.value ? o(gt, {
3487
+ onClick: () => d(!u.value)
3488
+ }, [u.value ? o(gt, {
3472
3489
  style: dt
3473
- }, null) : o(dn, {
3490
+ }, null) : o(un, {
3474
3491
  style: dt
3475
3492
  }, null)])
3476
3493
  }, {
@@ -3487,11 +3504,11 @@ const {
3487
3504
  default: () => [o(rt, {
3488
3505
  hashId: i.value,
3489
3506
  prefixCls: n,
3490
- list: Ht,
3491
- value: l.value.theme,
3507
+ list: Nt,
3508
+ value: r.value.theme,
3492
3509
  configType: "theme",
3493
3510
  key: "navTheme",
3494
- onChange: (x) => v("theme", x)
3511
+ onChange: (C) => x("theme", C)
3495
3512
  }, null)]
3496
3513
  }), o(ye, {
3497
3514
  hashId: i.value,
@@ -3499,7 +3516,7 @@ const {
3499
3516
  style: {
3500
3517
  fontSize: "12px"
3501
3518
  },
3502
- onClick: () => h(!0)
3519
+ onClick: () => f(!0)
3503
3520
  }, [Q("更多配置")])]),
3504
3521
  prefixCls: n
3505
3522
  }, {
@@ -3507,35 +3524,35 @@ const {
3507
3524
  hashId: i.value,
3508
3525
  prefixCls: n,
3509
3526
  colorList: I.value,
3510
- settingValue: l.value,
3511
- onChange: (x, O) => v(O || "primaryColor", x)
3527
+ settingValue: r.value,
3528
+ onChange: (C, M) => x(M || "primaryColor", C)
3512
3529
  }, null)]
3513
- }), !e.themeOnly && o(q, null, [o(ke, null, null), o(ye, {
3530
+ }), !e.themeOnly && o(q, null, [o(Be, null, null), o(ye, {
3514
3531
  hashId: i.value,
3515
3532
  prefixCls: n,
3516
3533
  title: "导航模式"
3517
3534
  }, {
3518
3535
  default: () => [o(rt, {
3519
3536
  prefixCls: n,
3520
- value: U(l).layout,
3537
+ value: U(r).layout,
3521
3538
  key: "layout",
3522
3539
  hashId: i.value,
3523
3540
  configType: "layout",
3524
- list: _t,
3525
- onChange: (x) => v("layout", x)
3541
+ list: Ht,
3542
+ onChange: (C) => x("layout", C)
3526
3543
  }, null)]
3527
3544
  }), lo.map(({
3528
- label: x,
3529
- title: O
3545
+ label: C,
3546
+ title: M
3530
3547
  }) => o(ge, {
3531
- label: O,
3532
- disabled: U(M)[x],
3533
- value: U(l)[x],
3548
+ label: M,
3549
+ disabled: U(O)[C],
3550
+ value: U(r)[C],
3534
3551
  prefixCls: n,
3535
3552
  hashId: i.value,
3536
- valueKey: x,
3537
- onChange: (F, R) => v(F, R)
3538
- }, null)), o(ke, null, null), o(ye, {
3553
+ valueKey: C,
3554
+ onChange: (F, k) => x(F, k)
3555
+ }, null)), o(Be, null, null), o(ye, {
3539
3556
  hashId: i.value,
3540
3557
  prefixCls: n,
3541
3558
  title: o("span", null, [Q("其他设置 "), o("a", {
@@ -3546,77 +3563,77 @@ const {
3546
3563
  }, [Q("更多配置")])])
3547
3564
  }, {
3548
3565
  default: () => [ro.map(({
3549
- label: x,
3550
- title: O
3566
+ label: C,
3567
+ title: M
3551
3568
  }) => o(ge, {
3552
- label: O,
3553
- disabled: U(M)[x],
3554
- value: U(l)[x],
3569
+ label: M,
3570
+ disabled: U(O)[C],
3571
+ value: U(r)[C],
3555
3572
  prefixCls: n,
3556
3573
  hashId: i.value,
3557
- valueKey: x,
3558
- onChange: (F, R) => v(F, R)
3574
+ valueKey: C,
3575
+ onChange: (F, k) => x(F, k)
3559
3576
  }, null)), e.weakmode && o(ge, {
3560
3577
  label: "色弱模式",
3561
- value: U(l).colorWeak,
3578
+ value: U(r).colorWeak,
3562
3579
  prefixCls: n,
3563
3580
  hashId: i.value,
3564
3581
  valueKey: "colorWeak",
3565
- onChange: (x, O) => v(x, O)
3582
+ onChange: (C, M) => x(C, M)
3566
3583
  }, null), e.showProgress && o(ge, {
3567
3584
  label: "顶部进度条",
3568
- value: U(l).showProgressBar,
3585
+ value: U(r).showProgressBar,
3569
3586
  prefixCls: n,
3570
3587
  hashId: i.value,
3571
3588
  valueKey: "showProgressBar",
3572
- onChange: (x, O) => v(x, O)
3589
+ onChange: (C, M) => x(C, M)
3573
3590
  }, null)]
3574
- })]), e.hideHintAlert && e.hideCopyButton ? null : o(ke, null, null), e.hideHintAlert ? null : o(en, {
3591
+ })]), e.hideHintAlert && e.hideCopyButton ? null : o(Be, null, null), e.hideHintAlert ? null : o(Qt, {
3575
3592
  type: "warning",
3576
3593
  message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
3577
- icon: o(cn, null, null),
3594
+ icon: o(dn, null, null),
3578
3595
  showIcon: !0,
3579
3596
  style: {
3580
3597
  marginBottom: "16px"
3581
3598
  }
3582
- }, null), e.hideCopyButton ? null : o(tn, {
3599
+ }, null), e.hideCopyButton ? null : o(en, {
3583
3600
  onClick: () => T(),
3584
3601
  block: !0
3585
3602
  }, {
3586
- default: () => [o(mn, null, null), Q("拷贝设置")]
3603
+ default: () => [o(cn, null, null), Q("拷贝设置")]
3587
3604
  })])]
3588
3605
  })]), o(be, {
3589
3606
  width: 320,
3590
3607
  closable: !1,
3591
3608
  placement: "right",
3592
- open: b.value,
3609
+ open: h.value,
3593
3610
  bodyStyle: {
3594
3611
  padding: 0
3595
3612
  },
3596
- onClose: () => h(!1)
3613
+ onClose: () => f(!1)
3597
3614
  }, {
3598
3615
  default: () => [o(no, {
3599
- settingValue: l.value,
3600
- onChange: (x, O, F) => v(O || "primaryColor", x, F)
3616
+ settingValue: r.value,
3617
+ onChange: (C, M, F) => x(M || "primaryColor", C, F)
3601
3618
  }, null)]
3602
3619
  }), o(be, {
3603
3620
  width: 320,
3604
3621
  closable: !1,
3605
3622
  placement: "right",
3606
- open: S.value,
3623
+ open: b.value,
3607
3624
  bodyStyle: {
3608
3625
  padding: 0
3609
3626
  },
3610
3627
  onClose: () => s(!1)
3611
3628
  }, {
3612
3629
  default: () => [o(oo, {
3613
- settingValue: l.value,
3614
- onChange: (x, O, F) => v(x, F, O)
3630
+ settingValue: r.value,
3631
+ onChange: (C, M, F) => x(C, F, M)
3615
3632
  }, null)]
3616
3633
  })]
3617
3634
  }));
3618
3635
  }
3619
- }), so = new u("backInLeft", {
3636
+ }), so = new c("backInLeft", {
3620
3637
  "0%": {
3621
3638
  opacity: 0.7,
3622
3639
  transform: "translateX(-2000px) scale(0.7)"
@@ -3629,7 +3646,7 @@ const {
3629
3646
  opacity: 1,
3630
3647
  transform: "scale(1)"
3631
3648
  }
3632
- }), uo = new u("backInRight", {
3649
+ }), uo = new c("backInRight", {
3633
3650
  "0%": {
3634
3651
  opacity: 0.7,
3635
3652
  transform: "translateX(2000px) scale(0.7)"
@@ -3642,7 +3659,7 @@ const {
3642
3659
  opacity: 1,
3643
3660
  transform: "scale(1)"
3644
3661
  }
3645
- }), co = new u("backInUp", {
3662
+ }), co = new c("backInUp", {
3646
3663
  "0%": {
3647
3664
  opacity: 0.7,
3648
3665
  transform: "translateY(1200px) scale(0.7)"
@@ -3655,7 +3672,7 @@ const {
3655
3672
  opacity: 1,
3656
3673
  transform: "scale(1)"
3657
3674
  }
3658
- }), mo = new u("backInDown", {
3675
+ }), mo = new c("backInDown", {
3659
3676
  "0%": {
3660
3677
  opacity: 0.7,
3661
3678
  transform: "translateY(-1200px) scale(0.7)"
@@ -3668,7 +3685,7 @@ const {
3668
3685
  opacity: 1,
3669
3686
  transform: "scale(1)"
3670
3687
  }
3671
- }), fo = new u("backOutLeft", {
3688
+ }), fo = new c("backOutLeft", {
3672
3689
  "0%": {
3673
3690
  opacity: 1,
3674
3691
  transform: "scale(1)"
@@ -3681,7 +3698,7 @@ const {
3681
3698
  opacity: 0.7,
3682
3699
  transform: "translateX(-2000px) scale(0.7)"
3683
3700
  }
3684
- }), ho = new u("backOutRight", {
3701
+ }), ho = new c("backOutRight", {
3685
3702
  "0%": {
3686
3703
  opacity: 1,
3687
3704
  transform: "scale(1)"
@@ -3694,7 +3711,7 @@ const {
3694
3711
  opacity: 0.7,
3695
3712
  transform: "translateX(2000px) scale(0.7)"
3696
3713
  }
3697
- }), go = new u("backOutUp", {
3714
+ }), go = new c("backOutUp", {
3698
3715
  "0%": {
3699
3716
  opacity: 1,
3700
3717
  transform: "scale(1)"
@@ -3707,7 +3724,7 @@ const {
3707
3724
  opacity: 0.7,
3708
3725
  transform: "translateY(-700px) scale(0.7)"
3709
3726
  }
3710
- }), yo = new u("backOutDown", {
3727
+ }), yo = new c("backOutDown", {
3711
3728
  "0%": {
3712
3729
  opacity: 1,
3713
3730
  transform: "scale(1)"
@@ -3754,7 +3771,7 @@ const {
3754
3771
  animationFillMode: "both",
3755
3772
  animationName: yo
3756
3773
  }
3757
- }), vo = new u("bounceIn", {
3774
+ }), vo = new c("bounceIn", {
3758
3775
  "from,20%,40%,60%,80%,to": {
3759
3776
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3760
3777
  },
@@ -3778,7 +3795,7 @@ const {
3778
3795
  opacity: 1,
3779
3796
  transform: "scale3d(1, 1, 1)"
3780
3797
  }
3781
- }), xo = new u("bounceInLeft", {
3798
+ }), xo = new c("bounceInLeft", {
3782
3799
  "from,60%,75%,90%,to": {
3783
3800
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3784
3801
  },
@@ -3799,7 +3816,7 @@ const {
3799
3816
  to: {
3800
3817
  transform: "translate3d(0, 0, 0)"
3801
3818
  }
3802
- }), Co = new u("bounceInRight", {
3819
+ }), Co = new c("bounceInRight", {
3803
3820
  "from,60%,75%,90%,to": {
3804
3821
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3805
3822
  },
@@ -3820,7 +3837,7 @@ const {
3820
3837
  to: {
3821
3838
  transform: "translate3d(0, 0, 0)"
3822
3839
  }
3823
- }), wo = new u("bounceInDown", {
3840
+ }), wo = new c("bounceInDown", {
3824
3841
  "from,60%,75%,90%,to": {
3825
3842
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3826
3843
  },
@@ -3841,7 +3858,7 @@ const {
3841
3858
  to: {
3842
3859
  transform: "translate3d(0, 0, 0)"
3843
3860
  }
3844
- }), So = new u("bounceInUp", {
3861
+ }), So = new c("bounceInUp", {
3845
3862
  "from,60%,75%,90%,to": {
3846
3863
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3847
3864
  },
@@ -3862,7 +3879,7 @@ const {
3862
3879
  to: {
3863
3880
  transform: "translate3d(0, 0, 0)"
3864
3881
  }
3865
- }), Io = new u("bounceOut", {
3882
+ }), Io = new c("bounceOut", {
3866
3883
  "20%": {
3867
3884
  transform: "scale3d(0.9, 0.9, 0.9)"
3868
3885
  },
@@ -3876,7 +3893,7 @@ const {
3876
3893
  opacity: 0,
3877
3894
  transform: "scale3d(0.3, 0.3, 0.3)"
3878
3895
  }
3879
- }), Oo = new u("bounceOutLeft", {
3896
+ }), Oo = new c("bounceOutLeft", {
3880
3897
  "20%": {
3881
3898
  opacity: 1,
3882
3899
  transform: "translate3d(20px, 0, 0) scaleX(0.9)"
@@ -3885,7 +3902,7 @@ const {
3885
3902
  opacity: 0,
3886
3903
  transform: "translate3d(-2000px, 0, 0) scaleX(2)"
3887
3904
  }
3888
- }), Mo = new u("bounceOutRight", {
3905
+ }), Mo = new c("bounceOutRight", {
3889
3906
  "20%": {
3890
3907
  opacity: 1,
3891
3908
  transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
@@ -3894,7 +3911,7 @@ const {
3894
3911
  opacity: 0,
3895
3912
  transform: "translate3d(2000px, 0, 0) scaleX(2)"
3896
3913
  }
3897
- }), Ro = new u("bounceOutDown", {
3914
+ }), Ro = new c("bounceOutDown", {
3898
3915
  "20%": {
3899
3916
  transform: "translate3d(0, 10px, 0) scaleY(0.985)"
3900
3917
  },
@@ -3906,7 +3923,7 @@ const {
3906
3923
  opacity: 0,
3907
3924
  transform: "translate3d(0, 2000px, 0) scaleY(3)"
3908
3925
  }
3909
- }), Bo = new u("bounceOutUp", {
3926
+ }), Bo = new c("bounceOutUp", {
3910
3927
  "20%": {
3911
3928
  transform: "translate3d(0, -10px, 0) scaleY(0.985)"
3912
3929
  },
@@ -3962,14 +3979,14 @@ const {
3962
3979
  animationFillMode: "both",
3963
3980
  animationName: Bo
3964
3981
  }
3965
- }), To = new u("fadeIn", {
3982
+ }), To = new c("fadeIn", {
3966
3983
  from: {
3967
3984
  opacity: 0
3968
3985
  },
3969
3986
  to: {
3970
3987
  opacity: 1
3971
3988
  }
3972
- }), Fo = new u("fadeInLeft", {
3989
+ }), Fo = new c("fadeInLeft", {
3973
3990
  from: {
3974
3991
  opacity: 0,
3975
3992
  transform: "translate3d(-100%, 0, 0)"
@@ -3978,7 +3995,7 @@ const {
3978
3995
  opacity: 1,
3979
3996
  transform: "translate3d(0, 0, 0)"
3980
3997
  }
3981
- }), Po = new u("fadeInRight", {
3998
+ }), Po = new c("fadeInRight", {
3982
3999
  from: {
3983
4000
  opacity: 0,
3984
4001
  transform: "translate3d(100%, 0, 0)"
@@ -3987,7 +4004,7 @@ const {
3987
4004
  opacity: 1,
3988
4005
  transform: "translate3d(0, 0, 0)"
3989
4006
  }
3990
- }), Lo = new u("fadeInDown", {
4007
+ }), Lo = new c("fadeInDown", {
3991
4008
  from: {
3992
4009
  opacity: 0,
3993
4010
  transform: "translate3d(0, -100%, 0)"
@@ -3996,7 +4013,7 @@ const {
3996
4013
  opacity: 1,
3997
4014
  transform: "translate3d(0, 0, 0)"
3998
4015
  }
3999
- }), Do = new u("fadeInUp", {
4016
+ }), Do = new c("fadeInUp", {
4000
4017
  from: {
4001
4018
  opacity: 0,
4002
4019
  transform: "translate3d(0, 100%, 0)"
@@ -4005,7 +4022,7 @@ const {
4005
4022
  opacity: 1,
4006
4023
  transform: "translate3d(0, 0, 0)"
4007
4024
  }
4008
- }), zo = new u("fadeInDownBig", {
4025
+ }), zo = new c("fadeInDownBig", {
4009
4026
  from: {
4010
4027
  opacity: 0,
4011
4028
  transform: "translate3d(0, -2000px, 0)"
@@ -4014,7 +4031,7 @@ const {
4014
4031
  opacity: 1,
4015
4032
  transform: "translate3d(0, 0, 0)"
4016
4033
  }
4017
- }), No = new u("fadeInUpBig", {
4034
+ }), No = new c("fadeInUpBig", {
4018
4035
  from: {
4019
4036
  opacity: 0,
4020
4037
  transform: "translate3d(0, 2000px, 0)"
@@ -4023,7 +4040,7 @@ const {
4023
4040
  opacity: 1,
4024
4041
  transform: "translate3d(0, 0, 0)"
4025
4042
  }
4026
- }), Ho = new u("fadeInLeftBig", {
4043
+ }), Ho = new c("fadeInLeftBig", {
4027
4044
  from: {
4028
4045
  opacity: 0,
4029
4046
  transform: "translate3d(-2000px, 0, 0)"
@@ -4032,7 +4049,7 @@ const {
4032
4049
  opacity: 1,
4033
4050
  transform: "translate3d(0, 0, 0)"
4034
4051
  }
4035
- }), _o = new u("fadeInRightBig", {
4052
+ }), _o = new c("fadeInRightBig", {
4036
4053
  from: {
4037
4054
  opacity: 0,
4038
4055
  transform: "translate3d(2000px, 0, 0)"
@@ -4041,7 +4058,7 @@ const {
4041
4058
  opacity: 1,
4042
4059
  transform: "translate3d(0, 0, 0)"
4043
4060
  }
4044
- }), Vo = new u("fadeInTopLeft", {
4061
+ }), Vo = new c("fadeInTopLeft", {
4045
4062
  from: {
4046
4063
  opacity: 0,
4047
4064
  transform: "translate3d(-100%, -100%, 0)"
@@ -4050,7 +4067,7 @@ const {
4050
4067
  opacity: 1,
4051
4068
  transform: "translate3d(0, 0, 0)"
4052
4069
  }
4053
- }), Ao = new u("fadeInBottomRight", {
4070
+ }), Ao = new c("fadeInBottomRight", {
4054
4071
  from: {
4055
4072
  opacity: 0,
4056
4073
  transform: "translate3d(100%, 100%, 0)"
@@ -4059,7 +4076,7 @@ const {
4059
4076
  opacity: 1,
4060
4077
  transform: "translate3d(0, 0, 0)"
4061
4078
  }
4062
- }), Eo = new u("fadeInTopRight", {
4079
+ }), Eo = new c("fadeInTopRight", {
4063
4080
  from: {
4064
4081
  opacity: 0,
4065
4082
  transform: "translate3d(100%, -100%, 0)"
@@ -4068,7 +4085,7 @@ const {
4068
4085
  opacity: 1,
4069
4086
  transform: "translate3d(0, 0, 0)"
4070
4087
  }
4071
- }), jo = new u("fadeInBottomLeft", {
4088
+ }), jo = new c("fadeInBottomLeft", {
4072
4089
  from: {
4073
4090
  opacity: 0,
4074
4091
  transform: "translate3d(-100%, 100%, 0)"
@@ -4077,14 +4094,14 @@ const {
4077
4094
  opacity: 1,
4078
4095
  transform: "translate3d(0, 0, 0)"
4079
4096
  }
4080
- }), Wo = new u("fadeOut", {
4097
+ }), Wo = new c("fadeOut", {
4081
4098
  from: {
4082
4099
  opacity: 1
4083
4100
  },
4084
4101
  to: {
4085
4102
  opacity: 0
4086
4103
  }
4087
- }), Ko = new u("fadeOutLeft", {
4104
+ }), Ko = new c("fadeOutLeft", {
4088
4105
  from: {
4089
4106
  opacity: 1
4090
4107
  },
@@ -4092,7 +4109,7 @@ const {
4092
4109
  opacity: 0,
4093
4110
  transform: "translate3d(-100%, 0, 0)"
4094
4111
  }
4095
- }), Uo = new u("fadeOutRight", {
4112
+ }), Uo = new c("fadeOutRight", {
4096
4113
  from: {
4097
4114
  opacity: 1
4098
4115
  },
@@ -4100,7 +4117,7 @@ const {
4100
4117
  opacity: 0,
4101
4118
  transform: "translate3d(100%, 0, 0)"
4102
4119
  }
4103
- }), Xo = new u("fadeOutDown", {
4120
+ }), Xo = new c("fadeOutDown", {
4104
4121
  from: {
4105
4122
  opacity: 1
4106
4123
  },
@@ -4108,7 +4125,7 @@ const {
4108
4125
  opacity: 0,
4109
4126
  transform: "translate3d(0, 100%, 0)"
4110
4127
  }
4111
- }), Go = new u("fadeOutUp", {
4128
+ }), Go = new c("fadeOutUp", {
4112
4129
  from: {
4113
4130
  opacity: 1
4114
4131
  },
@@ -4116,7 +4133,7 @@ const {
4116
4133
  opacity: 0,
4117
4134
  transform: "translate3d(0, -100%, 0)"
4118
4135
  }
4119
- }), Yo = new u("fadeOutDownBig", {
4136
+ }), Yo = new c("fadeOutDownBig", {
4120
4137
  from: {
4121
4138
  opacity: 1
4122
4139
  },
@@ -4124,7 +4141,7 @@ const {
4124
4141
  opacity: 0,
4125
4142
  transform: "translate3d(0, 2000px, 0)"
4126
4143
  }
4127
- }), qo = new u("fadeOutUpBig", {
4144
+ }), qo = new c("fadeOutUpBig", {
4128
4145
  from: {
4129
4146
  opacity: 1
4130
4147
  },
@@ -4132,7 +4149,7 @@ const {
4132
4149
  opacity: 0,
4133
4150
  transform: "translate3d(0, -2000px, 0)"
4134
4151
  }
4135
- }), Zo = new u("fadeOutLeftBig", {
4152
+ }), Zo = new c("fadeOutLeftBig", {
4136
4153
  from: {
4137
4154
  opacity: 1
4138
4155
  },
@@ -4140,7 +4157,7 @@ const {
4140
4157
  opacity: 0,
4141
4158
  transform: "translate3d(-2000px, 0, 0)"
4142
4159
  }
4143
- }), Jo = new u("fadeOutRightBig", {
4160
+ }), Jo = new c("fadeOutRightBig", {
4144
4161
  from: {
4145
4162
  opacity: 1
4146
4163
  },
@@ -4148,7 +4165,7 @@ const {
4148
4165
  opacity: 0,
4149
4166
  transform: "translate3d(2000px, 0, 0)"
4150
4167
  }
4151
- }), Qo = new u("fadeOutTopLeft", {
4168
+ }), Qo = new c("fadeOutTopLeft", {
4152
4169
  from: {
4153
4170
  opacity: 1,
4154
4171
  transform: "translate3d(0, 0, 0)"
@@ -4157,7 +4174,7 @@ const {
4157
4174
  opacity: 0,
4158
4175
  transform: "translate3d(-100%, -100%, 0)"
4159
4176
  }
4160
- }), ei = new u("fadeOutBottomRight", {
4177
+ }), ei = new c("fadeOutBottomRight", {
4161
4178
  from: {
4162
4179
  opacity: 1,
4163
4180
  transform: "translate3d(0, 0, 0)"
@@ -4166,7 +4183,7 @@ const {
4166
4183
  opacity: 0,
4167
4184
  transform: "translate3d(100%, 100%, 0)"
4168
4185
  }
4169
- }), ti = new u("fadeOutTopRight", {
4186
+ }), ti = new c("fadeOutTopRight", {
4170
4187
  from: {
4171
4188
  opacity: 1,
4172
4189
  transform: "translate3d(0, 0, 0)"
@@ -4175,7 +4192,7 @@ const {
4175
4192
  opacity: 0,
4176
4193
  transform: "translate3d(100%, -100%, 0)"
4177
4194
  }
4178
- }), ni = new u("fadeOutBottomLeft", {
4195
+ }), ni = new c("fadeOutBottomLeft", {
4179
4196
  from: {
4180
4197
  opacity: 1,
4181
4198
  transform: "translate3d(0, 0, 0)"
@@ -4290,7 +4307,7 @@ const {
4290
4307
  animationFillMode: "both",
4291
4308
  animationName: ni
4292
4309
  }
4293
- }), ii = new u("flipInX", {
4310
+ }), ii = new c("flipInX", {
4294
4311
  from: {
4295
4312
  opacity: 0,
4296
4313
  animationTimingFunction: "ease-in",
@@ -4310,7 +4327,7 @@ const {
4310
4327
  to: {
4311
4328
  transform: "perspective(400px)"
4312
4329
  }
4313
- }), li = new u("flipInY", {
4330
+ }), li = new c("flipInY", {
4314
4331
  from: {
4315
4332
  opacity: 0,
4316
4333
  animationTimingFunction: "ease-in",
@@ -4330,7 +4347,7 @@ const {
4330
4347
  to: {
4331
4348
  transform: "perspective(400px)"
4332
4349
  }
4333
- }), ri = new u("flipOutX", {
4350
+ }), ri = new c("flipOutX", {
4334
4351
  from: {
4335
4352
  transform: "perspective(400px)"
4336
4353
  },
@@ -4342,7 +4359,7 @@ const {
4342
4359
  opacity: 0,
4343
4360
  transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
4344
4361
  }
4345
- }), si = new u("flipOutY", {
4362
+ }), si = new c("flipOutY", {
4346
4363
  from: {
4347
4364
  transform: "perspective(400px)"
4348
4365
  },
@@ -4378,7 +4395,7 @@ const {
4378
4395
  animationDuration: `${0.3 * 0.75}s !important`,
4379
4396
  animationName: si
4380
4397
  }
4381
- }), ci = new u("lightSpeedInLeft", {
4398
+ }), ci = new c("lightSpeedInLeft", {
4382
4399
  from: {
4383
4400
  opacity: 0,
4384
4401
  transform: "translate3d(-100%, 0, 0) skewX(30deg)"
@@ -4393,7 +4410,7 @@ const {
4393
4410
  to: {
4394
4411
  transform: "translate3d(0, 0, 0)"
4395
4412
  }
4396
- }), mi = new u("lightSpeedInRight", {
4413
+ }), mi = new c("lightSpeedInRight", {
4397
4414
  from: {
4398
4415
  opacity: 0,
4399
4416
  transform: "translate3d(100%, 0, 0) skewX(-30deg)"
@@ -4408,7 +4425,7 @@ const {
4408
4425
  to: {
4409
4426
  transform: "translate3d(0, 0, 0)"
4410
4427
  }
4411
- }), fi = new u("lightSpeedOutLeft", {
4428
+ }), fi = new c("lightSpeedOutLeft", {
4412
4429
  from: {
4413
4430
  opacity: 1
4414
4431
  },
@@ -4416,7 +4433,7 @@ const {
4416
4433
  opacity: 0,
4417
4434
  transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
4418
4435
  }
4419
- }), hi = new u("lightSpeedOutRight", {
4436
+ }), hi = new c("lightSpeedOutRight", {
4420
4437
  from: {
4421
4438
  opacity: 1
4422
4439
  },
@@ -4446,7 +4463,7 @@ const {
4446
4463
  animationTimingFunction: "ease-in",
4447
4464
  animationName: hi
4448
4465
  }
4449
- }), bi = new u("rotateIn", {
4466
+ }), bi = new c("rotateIn", {
4450
4467
  from: {
4451
4468
  opacity: 0,
4452
4469
  transform: "rotate3d(0, 0, 1, -200deg)"
@@ -4455,7 +4472,7 @@ const {
4455
4472
  opacity: 1,
4456
4473
  transform: "translate3d(0, 0, 0)"
4457
4474
  }
4458
- }), pi = new u("rotateInDownLeft", {
4475
+ }), pi = new c("rotateInDownLeft", {
4459
4476
  from: {
4460
4477
  opacity: 0,
4461
4478
  transform: "rotate3d(0, 0, 1, -45deg)"
@@ -4464,7 +4481,7 @@ const {
4464
4481
  opacity: 1,
4465
4482
  transform: "translate3d(0, 0, 0)"
4466
4483
  }
4467
- }), vi = new u("rotateInDownRight", {
4484
+ }), vi = new c("rotateInDownRight", {
4468
4485
  from: {
4469
4486
  opacity: 0,
4470
4487
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -4473,7 +4490,7 @@ const {
4473
4490
  opacity: 1,
4474
4491
  transform: "translate3d(0, 0, 0)"
4475
4492
  }
4476
- }), xi = new u("rotateInUpLeft", {
4493
+ }), xi = new c("rotateInUpLeft", {
4477
4494
  from: {
4478
4495
  opacity: 0,
4479
4496
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -4482,7 +4499,7 @@ const {
4482
4499
  opacity: 1,
4483
4500
  transform: "translate3d(0, 0, 0)"
4484
4501
  }
4485
- }), Ci = new u("rotateInUpRight", {
4502
+ }), Ci = new c("rotateInUpRight", {
4486
4503
  from: {
4487
4504
  opacity: 0,
4488
4505
  transform: "rotate3d(0, 0, 1, -90deg)"
@@ -4491,7 +4508,7 @@ const {
4491
4508
  opacity: 1,
4492
4509
  transform: "translate3d(0, 0, 0)"
4493
4510
  }
4494
- }), wi = new u("rotateOut", {
4511
+ }), wi = new c("rotateOut", {
4495
4512
  from: {
4496
4513
  opacity: 1
4497
4514
  },
@@ -4499,7 +4516,7 @@ const {
4499
4516
  opacity: 0,
4500
4517
  transform: "rotate3d(0, 0, 1, 200deg)"
4501
4518
  }
4502
- }), Si = new u("rotateOutDownLeft", {
4519
+ }), Si = new c("rotateOutDownLeft", {
4503
4520
  from: {
4504
4521
  opacity: 1
4505
4522
  },
@@ -4507,7 +4524,7 @@ const {
4507
4524
  opacity: 0,
4508
4525
  transform: "rotate3d(0, 0, 1, 45deg)"
4509
4526
  }
4510
- }), Ii = new u("rotateOutDownRight", {
4527
+ }), Ii = new c("rotateOutDownRight", {
4511
4528
  from: {
4512
4529
  opacity: 1
4513
4530
  },
@@ -4515,7 +4532,7 @@ const {
4515
4532
  opacity: 0,
4516
4533
  transform: "rotate3d(0, 0, 1, -45deg)"
4517
4534
  }
4518
- }), Oi = new u("rotateOutUpLeft", {
4535
+ }), Oi = new c("rotateOutUpLeft", {
4519
4536
  from: {
4520
4537
  opacity: 1
4521
4538
  },
@@ -4523,7 +4540,7 @@ const {
4523
4540
  opacity: 0,
4524
4541
  transform: "rotate3d(0, 0, 1, -45deg)"
4525
4542
  }
4526
- }), Mi = new u("rotateOutUpRight", {
4543
+ }), Mi = new c("rotateOutUpRight", {
4527
4544
  from: {
4528
4545
  opacity: 1
4529
4546
  },
@@ -4583,7 +4600,7 @@ const {
4583
4600
  transformOrigin: "right bottom",
4584
4601
  animationName: Mi
4585
4602
  }
4586
- }), ki = new u("rollIn", {
4603
+ }), ki = new c("rollIn", {
4587
4604
  from: {
4588
4605
  opacity: 0,
4589
4606
  transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
@@ -4592,7 +4609,7 @@ const {
4592
4609
  opacity: 1,
4593
4610
  transform: "translate3d(0, 0, 0)"
4594
4611
  }
4595
- }), $i = new u("rollOut", {
4612
+ }), $i = new c("rollOut", {
4596
4613
  from: {
4597
4614
  opacity: 1
4598
4615
  },
@@ -4610,7 +4627,7 @@ const {
4610
4627
  animationFillMode: "both",
4611
4628
  animationName: $i
4612
4629
  }
4613
- }), Pi = new u("zoomIn", {
4630
+ }), Pi = new c("zoomIn", {
4614
4631
  from: {
4615
4632
  opacity: 0,
4616
4633
  transform: "scale3d(0.3, 0.3, 0.3)"
@@ -4618,7 +4635,7 @@ const {
4618
4635
  "50%": {
4619
4636
  opacity: 1
4620
4637
  }
4621
- }), Li = new u("zoomInDown", {
4638
+ }), Li = new c("zoomInDown", {
4622
4639
  from: {
4623
4640
  opacity: 0,
4624
4641
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
@@ -4629,7 +4646,7 @@ const {
4629
4646
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
4630
4647
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4631
4648
  }
4632
- }), Di = new u("zoomInLeft", {
4649
+ }), Di = new c("zoomInLeft", {
4633
4650
  from: {
4634
4651
  opacity: 0,
4635
4652
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
@@ -4640,7 +4657,7 @@ const {
4640
4657
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
4641
4658
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4642
4659
  }
4643
- }), zi = new u("zoomInRight", {
4660
+ }), zi = new c("zoomInRight", {
4644
4661
  from: {
4645
4662
  opacity: 0,
4646
4663
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
@@ -4651,7 +4668,7 @@ const {
4651
4668
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
4652
4669
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4653
4670
  }
4654
- }), Ni = new u("zoomInUp", {
4671
+ }), Ni = new c("zoomInUp", {
4655
4672
  from: {
4656
4673
  opacity: 0,
4657
4674
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
@@ -4662,7 +4679,7 @@ const {
4662
4679
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
4663
4680
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4664
4681
  }
4665
- }), Hi = new u("zoomOut", {
4682
+ }), Hi = new c("zoomOut", {
4666
4683
  from: {
4667
4684
  opacity: 1
4668
4685
  },
@@ -4673,7 +4690,7 @@ const {
4673
4690
  to: {
4674
4691
  opacity: 0
4675
4692
  }
4676
- }), _i = new u("zoomOutDown", {
4693
+ }), _i = new c("zoomOutDown", {
4677
4694
  "40%": {
4678
4695
  opacity: 1,
4679
4696
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
@@ -4684,7 +4701,7 @@ const {
4684
4701
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
4685
4702
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4686
4703
  }
4687
- }), Vi = new u("zoomOutLeft", {
4704
+ }), Vi = new c("zoomOutLeft", {
4688
4705
  "40%": {
4689
4706
  opacity: 1,
4690
4707
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
@@ -4693,7 +4710,7 @@ const {
4693
4710
  opacity: 0,
4694
4711
  transform: "scale(0.1) translate3d(-2000px, 0, 0)"
4695
4712
  }
4696
- }), Ai = new u("zoomOutRight", {
4713
+ }), Ai = new c("zoomOutRight", {
4697
4714
  "40%": {
4698
4715
  opacity: 1,
4699
4716
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
@@ -4702,7 +4719,7 @@ const {
4702
4719
  opacity: 0,
4703
4720
  transform: "scale(0.1) translate3d(2000px, 0, 0)"
4704
4721
  }
4705
- }), Ei = new u("zoomOutUp", {
4722
+ }), Ei = new c("zoomOutUp", {
4706
4723
  "40%": {
4707
4724
  opacity: 1,
4708
4725
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
@@ -4759,7 +4776,7 @@ const {
4759
4776
  transformOrigin: "center bottom",
4760
4777
  animationName: Ei
4761
4778
  }
4762
- }), Ki = new u("slideInDown", {
4779
+ }), Ki = new c("slideInDown", {
4763
4780
  from: {
4764
4781
  transform: "translate3d(0, -100%, 0)",
4765
4782
  visibility: "visible"
@@ -4767,7 +4784,7 @@ const {
4767
4784
  to: {
4768
4785
  transform: "translate3d(0, 0, 0)"
4769
4786
  }
4770
- }), Ui = new u("slideInLeft", {
4787
+ }), Ui = new c("slideInLeft", {
4771
4788
  from: {
4772
4789
  transform: "translate3d(-100%, 0, 0)",
4773
4790
  visibility: "visible"
@@ -4775,7 +4792,7 @@ const {
4775
4792
  to: {
4776
4793
  transform: "translate3d(0, 0, 0)"
4777
4794
  }
4778
- }), Xi = new u("slideInRight", {
4795
+ }), Xi = new c("slideInRight", {
4779
4796
  from: {
4780
4797
  transform: "translate3d(100%, 0, 0)",
4781
4798
  visibility: "visible"
@@ -4783,7 +4800,7 @@ const {
4783
4800
  to: {
4784
4801
  transform: "translate3d(0, 0, 0)"
4785
4802
  }
4786
- }), Gi = new u("slideInUp", {
4803
+ }), Gi = new c("slideInUp", {
4787
4804
  from: {
4788
4805
  transform: "translate3d(0, 100%, 0)",
4789
4806
  visibility: "visible"
@@ -4791,7 +4808,7 @@ const {
4791
4808
  to: {
4792
4809
  transform: "translate3d(0, 0, 0)"
4793
4810
  }
4794
- }), Yi = new u("slideOutDown", {
4811
+ }), Yi = new c("slideOutDown", {
4795
4812
  from: {
4796
4813
  transform: "translate3d(0, 0, 0)"
4797
4814
  },
@@ -4799,7 +4816,7 @@ const {
4799
4816
  transform: "translate3d(0, 100%, 0)",
4800
4817
  visibility: "hidden"
4801
4818
  }
4802
- }), qi = new u("slideOutLeft", {
4819
+ }), qi = new c("slideOutLeft", {
4803
4820
  from: {
4804
4821
  transform: "translate3d(0, 0, 0)"
4805
4822
  },
@@ -4807,7 +4824,7 @@ const {
4807
4824
  transform: "translate3d(-100%, 0, 0)",
4808
4825
  visibility: "hidden"
4809
4826
  }
4810
- }), Zi = new u("slideOutRight", {
4827
+ }), Zi = new c("slideOutRight", {
4811
4828
  from: {
4812
4829
  transform: "translate3d(0, 0, 0)"
4813
4830
  },
@@ -4815,7 +4832,7 @@ const {
4815
4832
  transform: "translate3d(100%, 0, 0)",
4816
4833
  visibility: "hidden"
4817
4834
  }
4818
- }), Ji = new u("slideOutUp", {
4835
+ }), Ji = new c("slideOutUp", {
4819
4836
  from: {
4820
4837
  transform: "translate3d(0, 0, 0)"
4821
4838
  },
@@ -4889,12 +4906,12 @@ const {
4889
4906
  }
4890
4907
  });
4891
4908
  function nl(e) {
4892
- return Ae("LayoutPageTranstion", (t) => {
4893
- const n = Ee(t);
4909
+ return Ve("LayoutPageTranstion", (t) => {
4910
+ const n = Ae(t);
4894
4911
  return [tl(n)];
4895
4912
  }, e);
4896
4913
  }
4897
- const xl = /* @__PURE__ */ H({
4914
+ const Cl = /* @__PURE__ */ H({
4898
4915
  name: "PageTranstion",
4899
4916
  props: {
4900
4917
  disabled: {
@@ -4920,51 +4937,54 @@ const xl = /* @__PURE__ */ H({
4920
4937
  }), {
4921
4938
  wrapSSR: a,
4922
4939
  hashId: i
4923
- } = nl(n), r = w(() => [m(!1), `${n}-enter`, i.value].join(" ")), d = w(() => [m(!0), `${n}-leave`, i.value].join(" ")), m = (h) => {
4924
- const S = Ke.preset.find((l) => e.name == l.name);
4925
- if (S == null)
4940
+ } = nl(n), l = S(() => [d(!1), `${n}-enter`, i.value].join(" ")), u = S(() => [d(!0), `${n}-leave`, i.value].join(" ")), d = (f) => {
4941
+ const b = Ke.preset.find((r) => e.name == r.name);
4942
+ if (b == null)
4926
4943
  return "";
4927
4944
  let s = "";
4928
- e.direction == null ? s = S.directions[0] : s = S.directions.find((l) => l == e.direction) || "", s = s == null || s === "default" ? "" : s, s != "" && (s = h && e.reverse ? b(s, S.directions) : s, s = s[0].toUpperCase() + s.substring(1));
4929
- const k = h ? "Out" : "In";
4930
- return S.name + k + s;
4931
- }, b = (h, S) => {
4932
- if (h.length == 0 || h == "x" || h == "y")
4933
- return h;
4934
- let s = S.indexOf(h);
4935
- return s = s % 2 == 1 ? s - 1 : s + 1, S[s];
4945
+ e.direction == null ? s = b.directions[0] : s = b.directions.find((r) => r == e.direction) || "", s = s == null || s === "default" ? "" : s, s != "" && (s = f && e.reverse ? h(s, b.directions) : s, s = s[0].toUpperCase() + s.substring(1));
4946
+ const B = f ? "Out" : "In";
4947
+ return b.name + B + s;
4948
+ }, h = (f, b) => {
4949
+ if (f.length == 0 || f == "x" || f == "y")
4950
+ return f;
4951
+ let s = b.indexOf(f);
4952
+ return s = s % 2 == 1 ? s - 1 : s + 1, b[s];
4953
+ };
4954
+ return () => {
4955
+ var f;
4956
+ return e.disabled ? (f = t.default) == null ? void 0 : f.call(t) : a(o(Xt, {
4957
+ enterActiveClass: l.value,
4958
+ leaveActiveClass: u.value
4959
+ }, {
4960
+ default: () => {
4961
+ var b;
4962
+ return [(b = t.default) == null ? void 0 : b.call(t)];
4963
+ }
4964
+ }));
4936
4965
  };
4937
- return () => e.disabled ? null : a(o(Gt, {
4938
- enterActiveClass: r.value,
4939
- leaveActiveClass: d.value
4940
- }, {
4941
- default: () => {
4942
- var h;
4943
- return [(h = t.default) == null ? void 0 : h.call(t)];
4944
- }
4945
- }));
4946
4966
  }
4947
4967
  });
4948
4968
  export {
4949
- wt as BaseMenu,
4969
+ Ct as BaseMenu,
4950
4970
  Ga as DefaultHeader,
4951
- bl as GProLayout,
4952
- Fe as GlobalFooter,
4953
- yl as PageContainer,
4971
+ pl as GProLayout,
4972
+ Te as GlobalFooter,
4973
+ bl as PageContainer,
4954
4974
  Mn as PageLoading,
4955
- xl as PageTranstion,
4956
- vl as SettingDrawer,
4957
- Te as SiderMenuWrapper,
4975
+ Cl as PageTranstion,
4976
+ xl as SettingDrawer,
4977
+ $e as SiderMenuWrapper,
4958
4978
  Ye as WrapContent,
4959
4979
  We as baseMenuProps,
4960
4980
  Pn as clearMenuItem,
4961
4981
  Vn as createContext,
4962
4982
  En as createRouteContext,
4963
4983
  Ln as flatMap,
4964
- pl as getMenuData,
4984
+ yl as getMatchedList,
4985
+ vl as getMenuData,
4965
4986
  Dn as getMenuFirstChildren,
4966
4987
  zn as getMenuFirstLastChildPath,
4967
- Ce as getRealPath,
4968
4988
  Nn as handleThemeConfig,
4969
4989
  jn as provideProLayoutContext,
4970
4990
  An as useContext,