@gx-design-vue/pro-layout 0.1.0-beta.26 → 0.1.0-beta.28

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,16 +1,16 @@
1
- import { defineComponent as H, createVNode as o, mergeProps as X, provide as De, readonly as Vt, inject as ct, resolveComponent as mt, computed as w, 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 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 Ne, Layout as de, Drawer as be, Breadcrumb as Yt, Card as qt, LayoutFooter as Zt, Tabs as He, Dropdown as Qe, Tooltip as Oe, List as te, Switch as ft, TabPane as Jt, Select as he, message as Qt, Divider as Be, Alert as en, Button as tn } from "ant-design-vue";
3
- import { useRouter as _e, 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 ht, CheckOutlined as gt, 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 Me, useStyle as Ve, mergeToken as Ae, colorList as hn } from "@gx-design-vue/pro-provider";
6
- import { createTypes as gn } from "vue-types";
7
- import { pick as ae, cloneDeep as yt, omit as Ee } 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 bt, 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 w, 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 d, 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";
13
- import { GColorPicker as et } from "@gx-design-vue/color-picker";
13
+ import { GColorPicker as tt } from "@gx-design-vue/color-picker";
14
14
  const Mn = /* @__PURE__ */ H({
15
15
  name: "PageLoading",
16
16
  props: {
@@ -31,7 +31,7 @@ const Mn = /* @__PURE__ */ H({
31
31
  }, null)
32
32
  }), null)]);
33
33
  }
34
- }), pt = gn({
34
+ }), pt = hn({
35
35
  func: void 0,
36
36
  bool: void 0,
37
37
  string: void 0,
@@ -146,7 +146,7 @@ const L = pt, ie = {
146
146
  }
147
147
  },
148
148
  onMenuHeaderClick: Function
149
- }, je = {
149
+ }, We = {
150
150
  ...ie,
151
151
  mode: {
152
152
  type: String,
@@ -195,9 +195,9 @@ const L = pt, ie = {
195
195
  onSelect: {
196
196
  type: Function
197
197
  }
198
- }, Y = {
198
+ }, G = {
199
199
  ...ie,
200
- ...je,
200
+ ...We,
201
201
  menuLoading: L.looseBool,
202
202
  logo: oe.logo,
203
203
  logoStyle: oe.logoStyle,
@@ -252,11 +252,11 @@ function Bn(e) {
252
252
  return /\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e);
253
253
  }
254
254
  function xt(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;
255
+ var l, s, u, v, c, O, h, p, r, y, I, R, x, m, g, b, $, C, M, T, P, F, _, V, D, Y, f, S, B, k, z, j, E, W;
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 = (s = (l = t.layout) == null ? void 0 : l[a]) == null ? void 0 : s.colorBgMenu, i.colorSubItemBg = (v = (u = t.layout) == null ? void 0 : u[a]) == null ? void 0 : v.colorSubItemBg, i.colorItemBgSelected = (O = (c = t.layout) == null ? void 0 : c[a]) == null ? void 0 : O.colorBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (p = (h = t.layout) == null ? void 0 : h[a]) == null ? void 0 : p.colorBgMenuItemSelected, i.colorItemText = (y = (r = t.layout) == null ? void 0 : r[a]) == null ? void 0 : y.colorTextMenu, i.colorItemTextHover = (R = (I = t.layout) == null ? void 0 : I[a]) == null ? void 0 : R.colorTextMenuHover, i.colorItemTextSelected = (m = (x = t.layout) == null ? void 0 : x[a]) == null ? void 0 : m.colorTextMenuSelected, i.colorItemTextSelectedHorizontal = (b = (g = t.layout) == null ? void 0 : g[a]) == null ? void 0 : b.colorTextMenuSelected, a === "sider" && (i.colorItemBgHover = (C = ($ = t.layout) == null ? void 0 : $[a]) == null ? void 0 : C.colorBgMenuItemHover)) : n === "dark" && (i.colorItemBg = (T = (M = t.layout) == null ? void 0 : M[a]) == null ? void 0 : T.colorDarkBgMenu, i.colorSubItemBg = (F = (P = t.layout) == null ? void 0 : P[a]) == null ? void 0 : F.colorDarkSubItemBg, i.colorItemBgSelected = (V = (_ = t.layout) == null ? void 0 : _[a]) == null ? void 0 : V.colorDarkBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (Y = (D = t.layout) == null ? void 0 : D[a]) == null ? void 0 : Y.colorDarkBgMenuItemSelected, i.colorItemText = (S = (f = t.layout) == null ? void 0 : f[a]) == null ? void 0 : S.colorDarkTextMenu, i.colorItemTextHover = (k = (B = t.layout) == null ? void 0 : B[a]) == null ? void 0 : k.colorDarkTextMenuHover, i.colorItemTextSelected = (j = (z = t.layout) == null ? void 0 : z[a]) == null ? void 0 : j.colorDarkTextMenuSelected, i.colorItemTextSelectedHorizontal = (W = (E = t.layout) == null ? void 0 : E[a]) == null ? void 0 : W.colorDarkTextMenuSelected, a === "header" && (i.colorActiveBarHeight = 0)), i;
258
258
  }
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"], We = {
259
+ const kn = ["left", "right"], se = ["left", "right", "down", "up"], $n = ["downBig", "upBig", "leftBig", "rightBig"], Tn = ["topLeft", "bottomRight", "topRight", "bottomLeft"], Pn = ["downLeft", "upRight", "downRight", "upLeft"], Ke = {
260
260
  preset: [
261
261
  //预设动画配置
262
262
  { name: "back", alias: "渐近", directions: se },
@@ -268,16 +268,16 @@ const kn = ["left", "right"], se = ["left", "right", "down", "up"], $n = ["downB
268
268
  },
269
269
  { name: "flip", alias: "翻转", directions: ["x", "y"] },
270
270
  { name: "lightSpeed", alias: "光速", directions: kn },
271
- { name: "rotate", alias: "旋转", directions: Fn.concat("default") },
271
+ { name: "rotate", alias: "旋转", directions: Pn.concat("default") },
272
272
  { name: "roll", alias: "翻滚", directions: ["default"] },
273
273
  { name: "zoom", alias: "缩放", directions: se.concat("default") },
274
274
  { name: "slide", alias: "滑动", directions: se }
275
275
  ]
276
276
  };
277
- function Ct(e, t) {
277
+ function Fn(e, t) {
278
278
  return t != null && t.isNamed && (t == null ? void 0 : t.target) || e;
279
279
  }
280
- function Pn(e) {
280
+ function Ln(e) {
281
281
  return e.map((t) => {
282
282
  var a;
283
283
  const n = { ...t };
@@ -285,54 +285,74 @@ function Pn(e) {
285
285
  return null;
286
286
  if (n && (n != null && n.children)) {
287
287
  if (n.children.some((i) => {
288
- var r;
289
- return i && i.name && !((r = i.meta) != null && r.hideInMenu);
288
+ var l;
289
+ return i && i.name && !((l = i.meta) != null && l.hideInMenu);
290
290
  }))
291
291
  return {
292
- ...t,
293
- children: Pn(n.children)
292
+ ...n,
293
+ children: Ln(n.children)
294
294
  };
295
295
  delete n.children;
296
296
  }
297
297
  return n;
298
298
  }).filter((t) => t);
299
299
  }
300
- function Ln(e) {
300
+ function Dn(e) {
301
301
  return e.map((t) => {
302
302
  var a;
303
303
  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);
304
+ return !n.name || (a = n.meta) != null && a.hideInMenu ? null : (n.linkPath = Nn(n.children || []), n.children && delete n.children, n);
305
305
  }).filter((t) => t);
306
306
  }
307
- function Dn(e, t) {
307
+ function zn(e, t) {
308
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;
309
+ var l;
310
+ return (l = i.meta) != null && l.isNamed ? i.path.includes(n) : i.path === n;
311
311
  });
312
312
  return t === void 0 ? [] : (a == null ? void 0 : a.children) || [];
313
313
  }
314
- function zn(e) {
314
+ function Nn(e) {
315
315
  let t = "";
316
316
  const n = function(a) {
317
317
  let i = "";
318
- return a.children && a.children.length > 0 ? i = n(a.children[0]) : i = `${a.path}`, i;
318
+ return a.children && a.children.length > 0 ? i = n(a.children[0]) : i = a.path, i;
319
319
  };
320
- return e.length > 0 && e[0].children && e[0].children.length > 0 ? t = n(e[0].children[0]) : t = e.length > 0 ? e[0].path : "", t;
320
+ if (e.length > 0 && e[0].children && e[0].children.length > 0)
321
+ t = n(e[0].children[0]);
322
+ else {
323
+ const a = e.length > 0 ? e[0] : void 0;
324
+ t = (a == null ? void 0 : a.path) || "";
325
+ }
326
+ return t;
321
327
  }
322
- function Nn(e) {
323
- 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 };
328
+ function bl(e, t) {
329
+ var a, i;
330
+ const n = ((i = (a = e.find((l) => l.path === t)) == null ? void 0 : a.meta) == null ? void 0 : i.key) || "";
331
+ if (n) {
332
+ const l = [], s = n.split("-");
333
+ for (let u = 0; u < s.length; u += 1)
334
+ l.push(Ee(s).splice(0, u + 1).join("-"));
335
+ return e.filter((u) => l.some((v) => {
336
+ var c;
337
+ return v === ((c = u == null ? void 0 : u.meta) == null ? void 0 : c.key) || "";
338
+ }));
339
+ }
340
+ return [];
324
341
  }
325
342
  function Hn(e) {
343
+ 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 };
344
+ }
345
+ function _n(e) {
326
346
  const t = ["showTabsBar", "fixedMultiTab", "fixSiderbar", "fixedHeader", "splitMenus"];
327
- let a = Object.keys(e).reduce((i, r) => (i[r] = !1, i), {});
328
- 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;
347
+ let a = Object.keys(e).reduce((i, l) => (i[l] = !1, i), {});
348
+ return a = Vn(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;
329
349
  }
330
- function _n(e, t) {
350
+ function Vn(e, t) {
331
351
  return {
332
352
  ...t.reduce((n, a) => ({ ...n, [a]: e[a] }), {})
333
353
  };
334
354
  }
335
- const Vn = (e = Symbol(), t = "Context.Provider") => H({
355
+ const An = (e = Symbol(), t = "Context.Provider") => H({
336
356
  name: t,
337
357
  props: {
338
358
  value: {
@@ -341,16 +361,16 @@ const Vn = (e = Symbol(), t = "Context.Provider") => H({
341
361
  }
342
362
  },
343
363
  setup(a, { slots: i }) {
344
- return De(e, Vt(a.value)), () => {
345
- var r;
346
- return (r = i.default) == null ? void 0 : r.call(i);
364
+ return De(e, _t(a.value)), () => {
365
+ var l;
366
+ return (l = i.default) == null ? void 0 : l.call(i);
347
367
  };
348
368
  }
349
- }), An = (e = Symbol(), t) => ct(e, t || {}), Ke = Symbol("pro-layout-context"), En = () => Vn(Ke, "ProLayoutContext.Provider"), jn = (e) => {
350
- De(Ke, e);
351
- }, J = () => An(Ke);
352
- En();
353
- function tt(e) {
369
+ }), En = (e = Symbol(), t) => mt(e, t || {}), Ue = Symbol("pro-layout-context"), jn = () => An(Ue, "ProLayoutContext.Provider"), Wn = (e) => {
370
+ De(Ue, e);
371
+ }, J = () => En(Ue);
372
+ jn();
373
+ function nt(e) {
354
374
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ne(e);
355
375
  }
356
376
  const Ce = (e) => {
@@ -369,10 +389,10 @@ const Ce = (e) => {
369
389
  class: `${e.className}-icon-image`
370
390
  }, null);
371
391
  if (n === 1) {
372
- const r = an({
392
+ const l = nn({
373
393
  scriptUrl: a || A.iconfontUrl
374
394
  });
375
- return a ? o(r, {
395
+ return a ? o(l, {
376
396
  type: t
377
397
  }, null) : o("i", {
378
398
  class: `iconfont ${t} ${e.className}-icon`
@@ -381,7 +401,7 @@ const Ce = (e) => {
381
401
  }
382
402
  if (ne(t))
383
403
  return t;
384
- const i = mt(t);
404
+ const i = ft(t);
385
405
  return typeof Ce == "function" && o(i, null, null) || null;
386
406
  };
387
407
  Ce.props = {
@@ -392,98 +412,98 @@ Ce.props = {
392
412
  className: String,
393
413
  iconfontUrl: String
394
414
  };
395
- const wt = /* @__PURE__ */ H({
415
+ const Ct = /* @__PURE__ */ H({
396
416
  name: "BaseMenu",
397
- props: je,
417
+ props: We,
398
418
  setup(e) {
399
419
  const t = _e(), {
400
420
  getPrefixCls: n
401
421
  } = J(), a = n({
402
422
  suffixCls: "menu-item",
403
423
  isPor: !0
404
- }), i = (l) => {
405
- var p;
406
- (p = e.onOpenKeys) == null || p.call(e, l);
407
- }, r = (l) => {
408
- var p;
409
- (p = e.onSelect) == null || p.call(e, l.selectedKeys);
410
- }, d = (l) => {
411
- var p;
412
- (p = e.onClick) == null || p.call(e, ...l);
413
- }, m = (l, p) => {
414
- var g;
415
- const I = l.target || "", M = vt(I);
416
- ((g = t.currentRoute.value) == null ? void 0 : g.fullPath) !== p.to && M && I && l.targetStatus === 1 && window.open(I);
417
- }, b = mt("router-link"), h = (l = []) => l.map((p) => S(p)).filter((p) => p), S = (l) => {
418
- var M, g, c, f, v, T, x, O, F;
419
- 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)) {
420
- let R;
424
+ }), i = (r) => {
425
+ var y;
426
+ (y = e.onOpenKeys) == null || y.call(e, r);
427
+ }, l = (r) => {
428
+ var y;
429
+ (y = e.onSelect) == null || y.call(e, r.selectedKeys);
430
+ }, s = (r) => {
431
+ var y;
432
+ (y = e.onClick) == null || y.call(e, ...r);
433
+ }, u = (r, y) => {
434
+ var x;
435
+ const I = r.target || "", R = vt(I);
436
+ ((x = t.currentRoute.value) == null ? void 0 : x.fullPath) !== y.to && R && I && r.targetStatus === 1 && window.open(I);
437
+ }, v = ft("router-link"), c = (r = []) => r.map((y) => O(y)).filter((y) => y), O = (r) => {
438
+ var R, x, m, g, b, $, C, M, T;
439
+ if (Array.isArray(r.children) && r.children.length > 0 && !((R = r == null ? void 0 : r.meta) != null && R.hideInMenu) && !((x = r == null ? void 0 : r.meta) != null && x.hideChildrenInMenu)) {
440
+ let P;
421
441
  if (e.subMenuItemRender)
422
442
  return e.subMenuItemRender({
423
- item: l,
424
- children: h(l.children)
443
+ item: r,
444
+ children: c(r.children)
425
445
  });
426
- const D = (c = l.meta) == null ? void 0 : c.title, _ = (f = l.meta) != null && f.icon ? o("span", {
446
+ const F = (m = r.meta) == null ? void 0 : m.title, _ = (g = r.meta) != null && g.icon ? o("span", {
427
447
  class: "gx-pro-sider-menu-item"
428
448
  }, [o("span", {
429
449
  class: "gx-pro-sider-menu-item-title"
430
- }, [D])]) : o("span", {
450
+ }, [F])]) : o("span", {
431
451
  class: "gx-pro-sider-menu-item"
432
- }, [D]), N = ((v = l.meta) == null ? void 0 : v.type) === "group", z = N ? ee.ItemGroup : ee.SubMenu;
433
- return o(z, {
452
+ }, [F]), V = ((b = r.meta) == null ? void 0 : b.type) === "group", D = V ? ee.ItemGroup : ee.SubMenu;
453
+ return o(D, {
434
454
  title: _,
435
- key: l.path,
436
- icon: N ? null : o(Ce, {
455
+ key: r.path,
456
+ icon: V ? null : o(Ce, {
437
457
  className: a,
438
- icon: (T = l.meta) == null ? void 0 : T.icon,
458
+ icon: ($ = r.meta) == null ? void 0 : $.icon,
439
459
  iconfontUrl: e.iconfontUrl,
440
- iconType: (x = l.meta) == null ? void 0 : x.iconType
460
+ iconType: (C = r.meta) == null ? void 0 : C.iconType
441
461
  }, null)
442
- }, tt(R = h(l.children)) ? R : {
443
- default: () => [R]
462
+ }, nt(P = c(r.children)) ? P : {
463
+ default: () => [P]
444
464
  });
445
465
  }
446
- const [p, I] = s(l);
466
+ const [y, I] = h(r);
447
467
  return e.menuItemRender && e.menuItemRender({
448
- item: l,
449
- title: p,
468
+ item: r,
469
+ title: y,
450
470
  icon: I
451
471
  }) || o(ee.Item, {
452
- disabled: (O = l.meta) == null ? void 0 : O.disabled,
453
- danger: (F = l.meta) == null ? void 0 : F.danger,
454
- key: l.path,
472
+ disabled: (M = r.meta) == null ? void 0 : M.disabled,
473
+ danger: (T = r.meta) == null ? void 0 : T.danger,
474
+ key: r.path,
455
475
  icon: I
456
- }, tt(p) ? p : {
457
- default: () => [p]
476
+ }, nt(y) ? y : {
477
+ default: () => [y]
458
478
  });
459
- }, s = (l) => {
460
- var T, x, O, F, R;
461
- const p = {
462
- ...l.meta
463
- }, I = p.targetStatus === 1 && p.target ? "a" : b, M = l.linkPath || l.path || "", g = {
464
- to: Ct(M, p)
479
+ }, h = (r) => {
480
+ var b, $, C, M, T;
481
+ const y = {
482
+ ...r.meta
483
+ }, I = y.targetStatus === 1 && y.target ? "a" : v, R = {
484
+ to: r.linkPath || r.path || ""
465
485
  };
466
- g.to === "/live/list/operation/:id" && (g.to = "/live/list/operation/add");
467
- const c = (T = l.meta) == null ? void 0 : T.title, f = (x = l.meta) != null && x.icon ? o(I, X(g, {
486
+ R.to === "/live/list/operation/:id" && (R.to = "/live/list/operation/add");
487
+ const x = (b = r.meta) == null ? void 0 : b.title, m = ($ = r.meta) != null && $.icon ? o(I, X(R, {
468
488
  class: "gx-pro-sider-menu-item",
469
- onClick: () => m(p, g)
489
+ onClick: () => u(y, R)
470
490
  }), {
471
491
  default: () => [o("span", {
472
492
  class: "gx-pro-sider-menu-item-title"
473
- }, [c])]
474
- }) : o(I, X(g, {
493
+ }, [x])]
494
+ }) : o(I, X(R, {
475
495
  class: "gx-pro-sider-menu-item",
476
- onClick: () => m(p, g)
496
+ onClick: () => u(y, R)
477
497
  }), {
478
- default: () => [o("span", null, [c])]
479
- }), v = ((O = l.meta) == null ? void 0 : O.icon) && o(Ce, {
498
+ default: () => [o("span", null, [x])]
499
+ }), g = ((C = r.meta) == null ? void 0 : C.icon) && o(Ce, {
480
500
  className: a,
481
- icon: (F = l.meta) == null ? void 0 : F.icon,
501
+ icon: (M = r.meta) == null ? void 0 : M.icon,
482
502
  iconfontUrl: e.iconfontUrl,
483
- iconType: (R = l.meta) == null ? void 0 : R.iconType
503
+ iconType: (T = r.meta) == null ? void 0 : T.iconType
484
504
  }, null) || void 0;
485
- return [f, v];
486
- }, k = w(() => h(e.menuData));
505
+ return [m, g];
506
+ }, p = w(() => c(e.menuData));
487
507
  return () => o(ee, X({
488
508
  key: "Menu",
489
509
  inlineIndent: 16,
@@ -492,13 +512,13 @@ const wt = /* @__PURE__ */ H({
492
512
  openKeys: e.openKeys === !1 ? [] : e.openKeys,
493
513
  selectedKeys: e.selectedKeys || [],
494
514
  onOpenChange: i,
495
- onSelect: r,
496
- onClick: d
515
+ onSelect: l,
516
+ onClick: s
497
517
  }, e.menuProps), {
498
- default: () => [k.value]
518
+ default: () => [p.value]
499
519
  });
500
520
  }
501
- }), St = new u("pro-layout-title-hide", {
521
+ }), wt = new d("pro-layout-title-hide", {
502
522
  "0%": { display: "none", opacity: 0 },
503
523
  "99%": {
504
524
  display: "none",
@@ -508,7 +528,7 @@ const wt = /* @__PURE__ */ H({
508
528
  display: "block",
509
529
  opacity: 1
510
530
  }
511
- }), Wn = (e) => {
531
+ }), Kn = (e) => {
512
532
  const t = `${e.antCls}-menu`;
513
533
  return {
514
534
  [`${e.proComponentsCls}-basic-layout`]: {
@@ -519,8 +539,8 @@ const wt = /* @__PURE__ */ H({
519
539
  }
520
540
  }
521
541
  };
522
- }, Kn = (e) => {
523
- var t, n, a, i, r, d, m, b, h, S, s, k;
542
+ }, Un = (e) => {
543
+ var t, n, a, i, l, s, u, v, c, O, h, p;
524
544
  return {
525
545
  [`${e.proComponentsCls}-basic-layout`]: {
526
546
  [`&${e.proComponentsCls}-basic-layout-wide`]: {
@@ -553,7 +573,7 @@ const wt = /* @__PURE__ */ H({
553
573
  background: (i = (a = e.layout) == null ? void 0 : a.sider) == null ? void 0 : i.colorBgMenu,
554
574
  boxShadow: "2px 0 8px 0 rgba(29,35,41,.05)",
555
575
  [`${e.componentCls}-footer`]: {
556
- color: (d = (r = e.layout) == null ? void 0 : r.sider) == null ? void 0 : d.colorTextMenu
576
+ color: (s = (l = e.layout) == null ? void 0 : l.sider) == null ? void 0 : s.colorTextMenu
557
577
  }
558
578
  },
559
579
  "&-links": {
@@ -569,10 +589,10 @@ const wt = /* @__PURE__ */ H({
569
589
  background: "transparent"
570
590
  },
571
591
  "&-footer": {
572
- color: (b = (m = e.layout) == null ? void 0 : m.sider) == null ? void 0 : b.colorDarkTextMenu,
592
+ color: (v = (u = e.layout) == null ? void 0 : u.sider) == null ? void 0 : v.colorDarkTextMenu,
573
593
  paddingBlockEnd: 16,
574
594
  fontSize: e.fontSize,
575
- animationName: St,
595
+ animationName: wt,
576
596
  animationDuration: ".4s",
577
597
  animationTimingFunction: "ease"
578
598
  }
@@ -584,13 +604,13 @@ const wt = /* @__PURE__ */ H({
584
604
  zIndex: "100",
585
605
  height: "100%",
586
606
  "&-mix": {
587
- height: `calc(100% - ${((S = (h = e.layout) == null ? void 0 : h.header) == null ? void 0 : S.heightLayoutHeader) || A.headerHeight}px)`,
588
- insetBlockStart: `${((k = (s = e.layout) == null ? void 0 : s.header) == null ? void 0 : k.heightLayoutHeader) || A.headerHeight}px`
607
+ height: `calc(100% - ${((O = (c = e.layout) == null ? void 0 : c.header) == null ? void 0 : O.heightLayoutHeader) || A.headerHeight}px)`,
608
+ insetBlockStart: `${((p = (h = e.layout) == null ? void 0 : h.header) == null ? void 0 : p.heightLayoutHeader) || A.headerHeight}px`
589
609
  }
590
610
  }
591
611
  }
592
612
  };
593
- }, Un = (e) => ({
613
+ }, Xn = (e) => ({
594
614
  [`${e.proComponentsCls}-basic-layout`]: {
595
615
  [`${e.antCls}-menu`]: {
596
616
  [`${e.proComponentsCls}-menu-item-icon${e.antCls}-menu-item-icon`]: {
@@ -599,7 +619,7 @@ const wt = /* @__PURE__ */ H({
599
619
  }
600
620
  }
601
621
  }
602
- }), Xn = (e) => ({
622
+ }), Gn = (e) => ({
603
623
  [`${e.proComponentsCls}-sider`]: {
604
624
  "&-light": {
605
625
  [`${e.proComponentsCls}-sider-logo`]: {
@@ -633,7 +653,7 @@ const wt = /* @__PURE__ */ H({
633
653
  marginInlineEnd: 0,
634
654
  marginInlineStart: 12,
635
655
  color: e.colorWhite,
636
- animationName: St,
656
+ animationName: wt,
637
657
  animationDuration: ".2s",
638
658
  fontWeight: 600,
639
659
  fontSize: 18,
@@ -658,22 +678,22 @@ const wt = /* @__PURE__ */ H({
658
678
  }
659
679
  }
660
680
  }
661
- }), It = (e, t) => e ? typeof e == "string" ? o("img", {
681
+ }), St = (e, t) => e ? typeof e == "string" ? o("img", {
662
682
  src: e,
663
683
  alt: "logo",
664
684
  style: t
665
- }, null) : typeof e == "function" ? e() : e : null, Gn = (e, t = "menuHeaderRender") => {
685
+ }, null) : typeof e == "function" ? e() : e : null, Yn = (e, t = "menuHeaderRender") => {
666
686
  const {
667
687
  logo: n,
668
688
  logoStyle: a,
669
689
  title: i,
670
- layout: r
671
- } = e, d = e[t || ""];
672
- if (d === !1)
690
+ layout: l
691
+ } = e, s = e[t || ""];
692
+ if (s === !1)
673
693
  return null;
674
- const m = It(n, a), b = i && o("h1", null, [i]);
675
- return typeof d == "function" ? d(m, e.collapsed ? null : b, e) : o(q, null, [m || null, e.collapsed && r === "side" ? null : b]);
676
- }, Ue = /* @__PURE__ */ H({
694
+ const u = St(n, a), v = i && o("h1", null, [i]);
695
+ return typeof s == "function" ? s(u, e.collapsed ? null : v, e) : o(q, null, [u || null, e.collapsed && l === "side" ? null : v]);
696
+ }, Xe = /* @__PURE__ */ H({
677
697
  name: "LogoContent",
678
698
  props: oe,
679
699
  setup(e) {
@@ -684,32 +704,32 @@ const wt = /* @__PURE__ */ H({
684
704
  isPor: !0
685
705
  })), {
686
706
  wrapSSR: i,
687
- hashId: r
688
- } = Z("ProLayoutLogo", [Xn]), d = w(() => Gn(e, e.renderKey));
707
+ hashId: l
708
+ } = Z("ProLayoutLogo", [Gn]), s = w(() => Yn(e, e.renderKey));
689
709
  return () => i(o("div", {
690
710
  id: "logo",
691
711
  class: {
692
- [`${r.value}`]: !0,
712
+ [`${l.value}`]: !0,
693
713
  [`${a.value}-logo`]: !0,
694
714
  [`${a.value}-logo-collapsed`]: !!e.collapsed
695
715
  },
696
716
  onClick: () => {
697
- var m;
698
- return (m = e.onMenuHeaderClick) == null ? void 0 : m.call(e);
717
+ var u;
718
+ return (u = e.onMenuHeaderClick) == null ? void 0 : u.call(e);
699
719
  }
700
- }, [o("a", null, [d.value || null])]));
720
+ }, [o("a", null, [s.value || null])]));
701
721
  }
702
722
  });
703
- Ue.inheritAttrs = !1;
704
- function Yn(e) {
723
+ Xe.inheritAttrs = !1;
724
+ function qn(e) {
705
725
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ne(e);
706
726
  }
707
727
  const {
708
- Sider: qn
728
+ Sider: Zn
709
729
  } = de, {
710
- Item: nt
711
- } = ee, Ot = (e) => e ? o(on, null, null) : o(ln, null, null), at = /* @__PURE__ */ H({
712
- props: Y,
730
+ Item: at
731
+ } = ee, It = (e) => e ? o(an, null, null) : o(on, null, null), ot = /* @__PURE__ */ H({
732
+ props: G,
713
733
  inheritAttrs: !1,
714
734
  setup(e) {
715
735
  const {
@@ -717,54 +737,54 @@ const {
717
737
  selectedKeys: n,
718
738
  flatMenuData: a,
719
739
  menuData: i,
720
- openKeys: r
740
+ openKeys: l
721
741
  } = J(), {
722
- token: d
742
+ token: s
723
743
  } = Me(), {
724
- theme: m,
725
- layout: b,
726
- isMobile: h,
727
- menuLoading: S,
728
- breakpoint: s,
729
- fixSiderbar: k,
730
- collapsed: l,
731
- siderWidth: p,
744
+ theme: u,
745
+ layout: v,
746
+ isMobile: c,
747
+ menuLoading: O,
748
+ breakpoint: h,
749
+ fixSiderbar: p,
750
+ collapsed: r,
751
+ siderWidth: y,
732
752
  collapsedWidth: I,
733
- menuExtraRender: M,
734
- menuContentRender: g,
735
- menuFooterRender: c,
736
- collapsedButtonRender: f,
737
- links: v
738
- } = Ie(e), T = t({
753
+ menuExtraRender: R,
754
+ menuContentRender: x,
755
+ menuFooterRender: m,
756
+ collapsedButtonRender: g,
757
+ links: b
758
+ } = Ie(e), $ = t({
739
759
  suffixCls: "sider",
740
760
  isPor: !0
741
761
  }), {
742
- wrapSSR: x,
743
- hashId: O
744
- } = 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(() => {
762
+ wrapSSR: C,
763
+ hashId: M
764
+ } = Z("ProLayoutSiderMenu", [Kn, Un, Xn], $), T = w(() => e.layout === "wide"), P = w(() => e.layout === "mix" && !e.isMobile && e.splitMenus), F = w(() => v.value === "side" || v.value === "simple"), _ = w(() => (e.layout === "mix" || T.value) && "light" || u.value), V = w(() => e.collapsed ? e.collapsedWidth : e.siderWidth), D = w(() => [M.value, $, c.value ? "shadow" : null, `${$}-${_.value}`, p.value && e.layout !== "wide" ? `${$}-fixed` : null]), Y = w(() => {
745
765
  var B;
746
- return typeof v.value == "function" ? (B = v.value) == null ? void 0 : B.call(v) : v.value;
747
- }), C = w(() => f.value !== !1 ? f.value || Ot : !1), $ = (B) => {
748
- var P;
766
+ return typeof b.value == "function" ? (B = b.value) == null ? void 0 : B.call(b) : b.value;
767
+ }), f = w(() => g.value !== !1 ? g.value || It : !1), S = (B) => {
768
+ var k;
749
769
  if (e.onSelect) {
750
- if (U(R)) {
751
- e.onSelect([(P = n == null ? void 0 : n.value) == null ? void 0 : P[0], ...B]);
770
+ if (U(P)) {
771
+ e.onSelect([(k = n == null ? void 0 : n.value) == null ? void 0 : k[0], ...B]);
752
772
  return;
753
773
  }
754
774
  e.onSelect(B);
755
775
  }
756
776
  };
757
777
  return () => {
758
- var W;
759
- const B = D.value ? o(Ue, X({
760
- drawer: h.value
761
- }, e), null) : null, P = M.value && ((W = M.value) == null ? void 0 : W.call(M, e)), j = o(wt, {
762
- class: `${T}-menu ${O.value}`,
778
+ var j;
779
+ const B = F.value ? o(Xe, X({
780
+ drawer: c.value
781
+ }, e), null) : null, k = R.value && ((j = R.value) == null ? void 0 : j.call(R, e)), z = o(Ct, {
782
+ class: `${$}-menu ${M.value}`,
763
783
  theme: _.value,
764
784
  mode: "inline",
765
- menuData: R.value ? a.value : i.value,
785
+ menuData: P.value ? a.value : i.value,
766
786
  iconfontUrl: e.iconfontUrl,
767
- openKeys: r.value,
787
+ openKeys: l.value,
768
788
  selectedKeys: n.value,
769
789
  menuItemRender: e.menuItemRender,
770
790
  subMenuItemRender: e.subMenuItemRender,
@@ -773,12 +793,12 @@ const {
773
793
  width: "100%"
774
794
  },
775
795
  onOpenKeys: (E) => {
776
- var V;
777
- return e.onOpenKeys && ((V = e.onOpenKeys) == null ? void 0 : V.call(e, E));
796
+ var W;
797
+ return e.onOpenKeys && ((W = e.onOpenKeys) == null ? void 0 : W.call(e, E));
778
798
  },
779
- onSelect: $
799
+ onSelect: S
780
800
  }, null);
781
- return R.value && U(a.value).length === 0 || i.value.length === 0 ? null : x(o(Ne, {
801
+ return P.value && U(a.value).length === 0 || i.value.length === 0 ? null : C(o(Ne, {
782
802
  theme: {
783
803
  components: {
784
804
  Menu: xt({
@@ -787,85 +807,85 @@ const {
787
807
  colorActiveBarHeight: 0,
788
808
  colorActiveBarBorderSize: 0
789
809
  // 主题颜色
790
- }, (d == null ? void 0 : d.value) || {}, _.value, "sider")
810
+ }, (s == null ? void 0 : s.value) || {}, _.value, "sider")
791
811
  }
792
812
  }
793
813
  }, {
794
- default: () => [k.value && o("div", {
814
+ default: () => [p.value && o("div", {
795
815
  style: {
796
- width: `${N.value}px`,
816
+ width: `${V.value}px`,
797
817
  overflow: "hidden",
798
- flex: `0 0 ${N.value}px`,
799
- maxWidth: `${N.value}px`,
800
- minWidth: `${N.value}px`,
818
+ flex: `0 0 ${V.value}px`,
819
+ maxWidth: `${V.value}px`,
820
+ minWidth: `${V.value}px`,
801
821
  transition: "background-color 0.2s, min-width 0.2s, max-width 0.2s"
802
822
  }
803
- }, null), o(qn, {
823
+ }, null), o(Zn, {
804
824
  collapsible: !0,
805
825
  trigger: null,
806
- class: z.value,
826
+ class: D.value,
807
827
  style: {
808
828
  overflow: "hidden",
809
- zIndex: k.value ? 101 : void 0,
810
- paddingTop: D.value || e.isMobile || F.value ? 0 : `${e.headerHeight}px`,
829
+ zIndex: p.value ? 101 : void 0,
830
+ paddingTop: F.value || e.isMobile || T.value ? 0 : `${e.headerHeight}px`,
811
831
  top: e.layout === "wide" ? `${e.headerHeight + 20}px` : void 0,
812
832
  height: e.layout === "wide" ? `calc(100vh - ${e.headerHeight + 20 * 2}px)` : void 0
813
833
  },
814
834
  theme: _.value,
815
- breakpoint: s.value || void 0,
816
- collapsed: l.value,
817
- width: p.value,
835
+ breakpoint: h.value || void 0,
836
+ collapsed: r.value,
837
+ width: y.value,
818
838
  collapsedWidth: I.value
819
839
  }, {
820
840
  default: () => {
821
- var E, V;
822
- return [S.value && o("div", {
823
- class: ["gx-pro-sider-loading", O.value]
841
+ var E, W;
842
+ return [O.value && o("div", {
843
+ class: ["gx-pro-sider-loading", M.value]
824
844
  }, [o(xe, {
825
- spinning: S.value
826
- }, null)]), B || null, P && !e.collapsed && o("div", {
845
+ spinning: O.value
846
+ }, null)]), B || null, k && !e.collapsed && o("div", {
827
847
  class: {
828
- [`${O.value}`]: !0,
829
- [`${T}-extra`]: !0,
830
- [`${T}-extra-no-logo`]: !B
848
+ [`${M.value}`]: !0,
849
+ [`${$}-extra`]: !0,
850
+ [`${$}-extra-no-logo`]: !B
831
851
  }
832
- }, [P]), o("div", {
852
+ }, [k]), o("div", {
833
853
  style: {
834
854
  flex: "1 1 0%",
835
855
  overflow: "hidden auto"
836
856
  }
837
- }, [g.value && ((E = g.value) == null ? void 0 : E.call(g, e, j)) || j]), e.layout !== "wide" && o("div", {
838
- class: `${T}-links ${O.value}`
857
+ }, [x.value && ((E = x.value) == null ? void 0 : E.call(x, e, z)) || z]), e.layout !== "wide" && o("div", {
858
+ class: `${$}-links ${M.value}`
839
859
  }, [o(ee, {
840
860
  theme: _.value,
841
861
  inlineIndent: 16,
842
- class: `${T}-link-menu ${O.value}`,
862
+ class: `${$}-link-menu ${M.value}`,
843
863
  selectedKeys: [],
844
864
  openKeys: [],
845
865
  mode: "inline"
846
866
  }, {
847
- default: () => [(y.value || []).map((G, fe) => o(nt, {
848
- class: `${T}-link ${O.value}`,
867
+ default: () => [(Y.value || []).map((N, fe) => o(at, {
868
+ class: `${$}-link ${M.value}`,
849
869
  key: fe
850
- }, Yn(G) ? G : {
851
- default: () => [G]
852
- })), C.value && !h.value && o(nt, {
853
- class: `${T}-collapsed-button ${O.value}`,
870
+ }, qn(N) ? N : {
871
+ default: () => [N]
872
+ })), f.value && !c.value && o(at, {
873
+ class: `${$}-collapsed-button ${M.value}`,
854
874
  title: !1,
855
875
  key: "collapsed",
856
876
  onClick: () => {
857
- var G;
858
- e.onCollapse && ((G = e.onCollapse) == null || G.call(e, !l.value));
877
+ var N;
878
+ e.onCollapse && ((N = e.onCollapse) == null || N.call(e, !r.value));
859
879
  }
860
880
  }, {
861
881
  default: () => {
862
- var G;
863
- return [(G = C.value) == null ? void 0 : G.call(C, l.value)];
882
+ var N;
883
+ return [(N = f.value) == null ? void 0 : N.call(f, r.value)];
864
884
  }
865
885
  })]
866
- })]), c.value && o("div", {
867
- class: `${T}-footer ${O.value}`
868
- }, [(V = c.value) == null ? void 0 : V.call(c, e)])];
886
+ })]), m.value && o("div", {
887
+ class: `${$}-footer ${M.value}`
888
+ }, [(W = m.value) == null ? void 0 : W.call(m, e)])];
869
889
  }
870
890
  })]
871
891
  }));
@@ -875,7 +895,7 @@ const {
875
895
  name: "SiderMenuWrapper",
876
896
  inheritAttrs: !1,
877
897
  props: {
878
- ...Y,
898
+ ...G,
879
899
  matchMenuKeys: {
880
900
  type: Array,
881
901
  default: () => []
@@ -901,48 +921,48 @@ const {
901
921
  flexDirection: "row"
902
922
  }
903
923
  }, {
904
- default: () => [o(at, X(e, {
924
+ default: () => [o(ot, X(e, {
905
925
  collapsed: e.isMobile ? !1 : e.collapsed
906
926
  }), null)]
907
- }) : o(at, e, null)]);
927
+ }) : o(ot, e, null)]);
908
928
  }
909
- }), Mt = Symbol("pro-app-context"), Zn = (e = Symbol(), t) => ct(e, t || {}), Jn = (e) => {
910
- De(Mt, e);
911
- }, Qn = () => Zn(Mt, []);
929
+ }), Ot = Symbol("pro-app-context"), Jn = (e = Symbol(), t) => mt(e, t || {}), Qn = (e) => {
930
+ De(Ot, e);
931
+ }, ea = () => Jn(Ot, []);
912
932
  process.env.NODE_ENV !== "production" && Object.freeze({});
913
933
  process.env.NODE_ENV !== "production" && Object.freeze([]);
914
- const ea = Object.prototype.toString;
915
- function ta(e, t) {
916
- return ea.call(e) === `[object ${t}]`;
934
+ const ta = Object.prototype.toString;
935
+ function na(e, t) {
936
+ return ta.call(e) === `[object ${t}]`;
917
937
  }
918
- function na(e) {
919
- return ta(e, "Boolean");
938
+ function aa(e) {
939
+ return na(e, "Boolean");
920
940
  }
921
941
  typeof process < "u" && process.versions != null && process.versions.node != null;
922
- function aa(e, t, n = "default") {
942
+ function oa(e, t, n = "default") {
923
943
  var a, i;
924
- return t[n] === !1 ? !1 : na(t[n]) && t[n] ? ((a = e == null ? void 0 : e[n]) == null ? void 0 : a.call(e)) || t[n] : t[n] || ((i = e[n]) == null ? void 0 : i.call(e));
944
+ return t[n] === !1 ? !1 : aa(t[n]) && t[n] ? ((a = e == null ? void 0 : e[n]) == null ? void 0 : a.call(e)) || t[n] : t[n] || ((i = e[n]) == null ? void 0 : i.call(e));
925
945
  }
926
- function oa(e, t, n) {
946
+ function ia(e, t, n) {
927
947
  const a = {};
928
948
  return e.forEach((i) => {
929
- a[i] = aa(t, n, i);
949
+ a[i] = oa(t, n, i);
930
950
  }), a;
931
951
  }
932
- const ia = ({ suffixCls: e, customizePrefixCls: t, isPor: n, className: a }) => {
952
+ const la = ({ suffixCls: e, customizePrefixCls: t, isPor: n, className: a }) => {
933
953
  const i = a || (n ? "gx-pro" : "gx");
934
954
  return t || (e ? `${i}-${e}` : i);
935
- }, la = (e) => {
936
- const { componentCls: t, colorText: n, fontSize: a, lineHeight: i, fontFamily: r } = e;
955
+ }, ra = (e) => {
956
+ const { componentCls: t, colorText: n, fontSize: a, lineHeight: i, fontFamily: l } = e;
937
957
  return {
938
958
  [t]: {
939
959
  color: n,
940
960
  fontSize: a,
941
961
  lineHeight: i,
942
- fontFamily: r
962
+ fontFamily: l
943
963
  }
944
964
  };
945
- }, ra = ["emptyText", "indicator"], ke = /* @__PURE__ */ H({
965
+ }, sa = ["emptyText", "indicator"], ke = /* @__PURE__ */ H({
946
966
  name: "GProApp",
947
967
  props: {
948
968
  rootClassName: String,
@@ -952,21 +972,21 @@ const ia = ({ suffixCls: e, customizePrefixCls: t, isPor: n, className: a }) =>
952
972
  setup(e, {
953
973
  slots: t
954
974
  }) {
955
- const n = ia({
975
+ const n = la({
956
976
  suffixCls: "app",
957
977
  isPor: !0
958
978
  }), {
959
979
  wrapSSR: a,
960
980
  hashId: i
961
- } = Z("BaseApp", [la], n), r = w(() => oa(ra, t, e)), d = w(() => [i.value, n, e.rootClassName]);
962
- return Jn({
963
- emptyText: w(() => r.value.emptyText),
964
- indicator: w(() => r.value.indicator)
981
+ } = Z("BaseApp", [ra], n), l = w(() => ia(sa, t, e)), s = w(() => [i.value, n, e.rootClassName]);
982
+ return Qn({
983
+ emptyText: w(() => l.value.emptyText),
984
+ indicator: w(() => l.value.indicator)
965
985
  }), () => {
966
- var m;
986
+ var u;
967
987
  return a(o("div", {
968
- class: d.value
969
- }, [(m = t.default) == null ? void 0 : m.call(t)]));
988
+ class: s.value
989
+ }, [(u = t.default) == null ? void 0 : u.call(t)]));
970
990
  };
971
991
  }
972
992
  });
@@ -992,7 +1012,7 @@ const me = {
992
1012
  usePageCard: L.bool.def(!0),
993
1013
  waterMark: L.bool.def(!0),
994
1014
  pageCardProps: Object
995
- }, sa = (e) => ({
1015
+ }, ua = (e) => ({
996
1016
  [e.componentCls]: {
997
1017
  background: e.colorBgContainer,
998
1018
  padding: `${e.paddingLG}px`,
@@ -1003,7 +1023,7 @@ const me = {
1003
1023
  marginTop: "8px"
1004
1024
  }
1005
1025
  }
1006
- }), ua = /* @__PURE__ */ H({
1026
+ }), da = /* @__PURE__ */ H({
1007
1027
  name: "ProPageHeader",
1008
1028
  props: {
1009
1029
  content: me.contentRender,
@@ -1018,31 +1038,31 @@ const me = {
1018
1038
  suffixCls: "page-header"
1019
1039
  }), {
1020
1040
  wrapSSR: i,
1021
- hashId: r
1022
- } = Z("ProPageHeader", [sa], a), d = w(() => {
1023
- var m;
1041
+ hashId: l
1042
+ } = Z("ProPageHeader", [ua], a), s = w(() => {
1043
+ var u;
1024
1044
  return {
1025
1045
  ...t.value,
1026
- itemRender: ((m = t.value) == null ? void 0 : m.itemRender) || (({
1027
- route: b
1028
- }) => o(nn, {
1029
- to: b.path
1046
+ itemRender: ((u = t.value) == null ? void 0 : u.itemRender) || (({
1047
+ route: v
1048
+ }) => v.path ? o(tn, {
1049
+ to: v.path
1030
1050
  }, {
1031
- default: () => [b.breadcrumbName]
1032
- }))
1051
+ default: () => [v.breadcrumbName]
1052
+ }) : v.breadcrumbName)
1033
1053
  };
1034
1054
  });
1035
1055
  return () => {
1036
- var m, b;
1056
+ var u, v;
1037
1057
  return i(o("div", {
1038
- class: [`${a}`, r.value, `${a}-has-breadcrumb`]
1039
- }, [e.breadcrumb ? (m = e.breadcrumb) == null ? void 0 : m.call(e, d.value) : o(Yt, d.value, null), e.content && o("div", {
1040
- class: [`${a}-content`, r.value]
1041
- }, [(b = e.content) == null ? void 0 : b.call(e)])]));
1058
+ class: [`${a}`, l.value, `${a}-has-breadcrumb`]
1059
+ }, [e.breadcrumb ? (u = e.breadcrumb) == null ? void 0 : u.call(e, s.value) : o(Gt, s.value, null), e.content && o("div", {
1060
+ class: [`${a}-content`, l.value]
1061
+ }, [(v = e.content) == null ? void 0 : v.call(e)])]));
1042
1062
  };
1043
1063
  }
1044
- }), da = (e) => {
1045
- var t, n, a, i, r, d, m, b;
1064
+ }), ca = (e) => {
1065
+ var t, n, a, i, l, s, u, v;
1046
1066
  return {
1047
1067
  [`${e.proComponentsCls}-basic-layout`]: {
1048
1068
  [e.componentCls]: {
@@ -1055,25 +1075,25 @@ const me = {
1055
1075
  },
1056
1076
  [e.componentCls]: {
1057
1077
  ["&-children-content"]: {
1058
- marginInline: ((d = (r = e.layout) == null ? void 0 : r.pageContainer) == null ? void 0 : d.paddingBlockPageContainerContent) ?? 24,
1059
- marginBlockStart: ((b = (m = e.layout) == null ? void 0 : m.pageContainer) == null ? void 0 : b.paddingBlockPageContainerContent) ?? 24,
1078
+ marginInline: ((s = (l = e.layout) == null ? void 0 : l.pageContainer) == null ? void 0 : s.paddingBlockPageContainerContent) ?? 24,
1079
+ marginBlockStart: ((v = (u = e.layout) == null ? void 0 : u.pageContainer) == null ? void 0 : v.paddingBlockPageContainerContent) ?? 24,
1060
1080
  padding: "inherit"
1061
1081
  }
1062
1082
  }
1063
1083
  };
1064
1084
  };
1065
- function ca(e) {
1085
+ function ma(e) {
1066
1086
  return Ve("ProPageContainter", (t) => {
1067
1087
  const n = Ae(t, {
1068
1088
  gridContent: `${t.proComponentsCls}-grid-content`
1069
1089
  });
1070
- return [da(n)];
1090
+ return [ca(n)];
1071
1091
  }, e);
1072
1092
  }
1073
- function ma(e) {
1093
+ function fa(e) {
1074
1094
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ne(e);
1075
1095
  }
1076
- const yl = /* @__PURE__ */ H({
1096
+ const pl = /* @__PURE__ */ H({
1077
1097
  inheritAttrs: !1,
1078
1098
  name: "GProPageContainer",
1079
1099
  props: me,
@@ -1084,66 +1104,66 @@ const yl = /* @__PURE__ */ H({
1084
1104
  getPrefixCls: n,
1085
1105
  hasContentWide: a,
1086
1106
  waterMark: i,
1087
- pageHeaderRender: r,
1088
- pageContentStyle: d,
1089
- pageCardProps: m,
1090
- usePageCard: b
1107
+ pageHeaderRender: l,
1108
+ pageContentStyle: s,
1109
+ pageCardProps: u,
1110
+ usePageCard: v
1091
1111
  } = J(), {
1092
- indicator: h
1093
- } = Qn(), S = n({
1112
+ indicator: c
1113
+ } = ea(), O = n({
1094
1114
  suffixCls: "page-container",
1095
1115
  isPor: !0
1096
- }), s = n({
1116
+ }), h = n({
1097
1117
  suffixCls: "grid-content",
1098
1118
  isPor: !0
1099
- }), k = w(() => e.pageCardProps || m.value), l = w(() => e.pageContentStyle || d.value), {
1100
- wrapSSR: p,
1119
+ }), p = w(() => e.pageCardProps || u.value), r = w(() => e.pageContentStyle || s.value), {
1120
+ wrapSSR: y,
1101
1121
  hashId: I
1102
- } = ca(S), M = () => {
1103
- var c;
1122
+ } = ma(O), R = () => {
1123
+ var m;
1104
1124
  return o("div", {
1105
- class: `${S}-children-content ${I.value}`
1106
- }, [(bn(e.usePageCard) ? e.usePageCard : b.value) ? o(qt, X(k.value ? ae(k.value, ["loading", "bodyStyle"]) : {}, {
1125
+ class: `${O}-children-content ${I.value}`
1126
+ }, [(yn(e.usePageCard) ? e.usePageCard : v.value) ? o(Yt, X(p.value ? ae(p.value, ["loading", "bodyStyle"]) : {}, {
1107
1127
  style: a.value ? {
1108
1128
  minHeight: "853px"
1109
1129
  } : void 0,
1110
1130
  bordered: !1
1111
1131
  }), {
1112
1132
  default: () => {
1113
- var f;
1114
- return [(f = t.default) == null ? void 0 : f.call(t)];
1133
+ var g;
1134
+ return [(g = t.default) == null ? void 0 : g.call(t)];
1115
1135
  }
1116
- }) : (c = t.default) == null ? void 0 : c.call(t)]);
1117
- }, g = () => {
1118
- let c;
1119
- return o(q, null, [e.waterMark && i.value ? o(yn, null, ma(c = M()) ? c : {
1120
- default: () => [c]
1121
- }) : M()]);
1136
+ }) : (m = t.default) == null ? void 0 : m.call(t)]);
1137
+ }, x = () => {
1138
+ let m;
1139
+ return o(q, null, [e.waterMark && i.value ? o(gn, null, fa(m = R()) ? m : {
1140
+ default: () => [m]
1141
+ }) : R()]);
1122
1142
  };
1123
1143
  return () => {
1124
- const c = K(t, e, "pageHeaderRender") || r.value, f = K(t, e, "breadcrumbRender"), v = K(t, e, "contentRender");
1125
- return p(o(xe, {
1144
+ const m = K(t, e, "pageHeaderRender") || l.value, g = K(t, e, "breadcrumbRender"), b = K(t, e, "contentRender");
1145
+ return y(o(xe, {
1126
1146
  spinning: e.loading,
1127
- indicator: h == null ? void 0 : h.value
1147
+ indicator: c == null ? void 0 : c.value
1128
1148
  }, {
1129
1149
  default: () => [o("div", {
1130
1150
  class: {
1131
1151
  [`${I.value}`]: !0,
1132
- [`${S}`]: !0
1152
+ [`${O}`]: !0
1133
1153
  }
1134
- }, [!a.value && c !== !1 && (c || o(ua, {
1135
- breadcrumb: f,
1136
- content: v
1154
+ }, [!a.value && m !== !1 && (m || o(da, {
1155
+ breadcrumb: g,
1156
+ content: b
1137
1157
  }, null)), o("div", {
1138
- class: [s, I.value]
1158
+ class: [h, I.value]
1139
1159
  }, [o("div", {
1140
- class: `${s}-children ${I.value}`,
1141
- style: l.value
1142
- }, [g()])])])]
1160
+ class: `${h}-children ${I.value}`,
1161
+ style: r.value
1162
+ }, [x()])])])]
1143
1163
  }));
1144
1164
  };
1145
1165
  }
1146
- }), Xe = {
1166
+ }), Ge = {
1147
1167
  ...ie,
1148
1168
  logo: oe.logo,
1149
1169
  logoStyle: oe.logoStyle,
@@ -1152,7 +1172,7 @@ const yl = /* @__PURE__ */ H({
1152
1172
  autoHideHeader: Boolean,
1153
1173
  collapsed: Boolean,
1154
1174
  isMobile: Boolean,
1155
- siderWidth: Y.siderWidth,
1175
+ siderWidth: G.siderWidth,
1156
1176
  headerTheme: {
1157
1177
  type: String,
1158
1178
  default: "dark"
@@ -1176,14 +1196,14 @@ const yl = /* @__PURE__ */ H({
1176
1196
  default: () => {
1177
1197
  }
1178
1198
  },
1179
- collapsedButtonRender: Y.collapsedButtonRender,
1180
- matchMenuKeys: Y.matchMenuKeys,
1181
- onCollapse: Y.onCollapse,
1182
- onOpenKeys: Y.onOpenKeys,
1199
+ collapsedButtonRender: G.collapsedButtonRender,
1200
+ matchMenuKeys: G.matchMenuKeys,
1201
+ onCollapse: G.onCollapse,
1202
+ onOpenKeys: G.onOpenKeys,
1183
1203
  onMenuHeaderClick: Function,
1184
- onSelect: Y.onSelect
1185
- }, Rt = {
1186
- ...Xe,
1204
+ onSelect: G.onSelect
1205
+ }, Mt = {
1206
+ ...Ge,
1187
1207
  headerTitleRender: {
1188
1208
  type: [Object, Function],
1189
1209
  default: () => {
@@ -1200,14 +1220,14 @@ const yl = /* @__PURE__ */ H({
1200
1220
  }
1201
1221
  },
1202
1222
  hasSiderMenu: Boolean,
1203
- collapsedWidth: Y.collapsedWidth,
1204
- siderWidth: Y.siderWidth
1205
- }, Bt = {
1223
+ collapsedWidth: G.collapsedWidth,
1224
+ siderWidth: G.siderWidth
1225
+ }, Rt = {
1206
1226
  loading: L.looseBool,
1207
- isMobile: Y.isMobile,
1208
- collapsed: je.collapsed,
1209
- siderWidth: Y.siderWidth,
1210
- collapsedWidth: Y.collapsedWidth,
1227
+ isMobile: G.isMobile,
1228
+ collapsed: We.collapsed,
1229
+ siderWidth: G.siderWidth,
1230
+ collapsedWidth: G.collapsedWidth,
1211
1231
  isFixedMultiTab: ie.fixedMultiTab,
1212
1232
  onReloadPage: {
1213
1233
  type: Function
@@ -1218,7 +1238,7 @@ const yl = /* @__PURE__ */ H({
1218
1238
  "onUpdate:tabs": {
1219
1239
  type: Function
1220
1240
  }
1221
- }, fa = (e) => ({
1241
+ }, ha = (e) => ({
1222
1242
  [e.componentCls]: {
1223
1243
  marginBlock: 0,
1224
1244
  marginBlockStart: 48,
@@ -1249,14 +1269,14 @@ const yl = /* @__PURE__ */ H({
1249
1269
  }
1250
1270
  }
1251
1271
  }
1252
- }), kt = [{
1272
+ }), Bt = [{
1253
1273
  key: "Ant Design Pro",
1254
1274
  title: "Ant Design Pro",
1255
1275
  href: "https://pro.ant.design",
1256
1276
  blankTarget: !0
1257
1277
  }, {
1258
1278
  key: "gitee",
1259
- title: o(rn, null, null),
1279
+ title: o(ln, null, null),
1260
1280
  href: "https://gitee.com/gx12358/vue-antd-admin",
1261
1281
  blankTarget: !0
1262
1282
  }, {
@@ -1269,7 +1289,7 @@ const yl = /* @__PURE__ */ H({
1269
1289
  props: {
1270
1290
  links: {
1271
1291
  type: [Array, Boolean],
1272
- default: kt
1292
+ default: Bt
1273
1293
  },
1274
1294
  copyright: {
1275
1295
  type: [Object, Function, Boolean, String],
@@ -1283,8 +1303,8 @@ const yl = /* @__PURE__ */ H({
1283
1303
  }), {
1284
1304
  wrapSSR: n,
1285
1305
  hashId: a
1286
- } = Z("ProLayoutFooter", [fa], t);
1287
- return () => n(o(Zt, {
1306
+ } = Z("ProLayoutFooter", [ha], t);
1307
+ return () => n(o(qt, {
1288
1308
  style: {
1289
1309
  padding: 0
1290
1310
  }
@@ -1305,12 +1325,12 @@ const yl = /* @__PURE__ */ H({
1305
1325
  }, [e.copyright])])])]
1306
1326
  }));
1307
1327
  }
1308
- }), $t = {
1328
+ }), kt = {
1309
1329
  ...ie,
1310
- ...Xe,
1311
- ...Y,
1330
+ ...Ge,
1331
+ ...G,
1332
+ ...Mt,
1312
1333
  ...Rt,
1313
- ...Bt,
1314
1334
  ...me,
1315
1335
  pure: Boolean,
1316
1336
  token: Object,
@@ -1338,7 +1358,7 @@ const yl = /* @__PURE__ */ H({
1338
1358
  loading: L.looseBool,
1339
1359
  footerLinks: {
1340
1360
  type: [Array, Boolean],
1341
- default: kt
1361
+ default: Bt
1342
1362
  },
1343
1363
  copyrightRender: {
1344
1364
  type: [Object, Function, Boolean, String],
@@ -1354,15 +1374,19 @@ const yl = /* @__PURE__ */ H({
1354
1374
  type: Array,
1355
1375
  default: () => []
1356
1376
  },
1377
+ levelMenuData: {
1378
+ type: Array,
1379
+ default: () => []
1380
+ },
1357
1381
  collapsed: L.looseBool
1358
- }, ha = (e) => ({
1382
+ }, ga = (e) => ({
1359
1383
  [e.componentCls]: {
1360
1384
  display: "flex",
1361
1385
  flexDirection: "column",
1362
1386
  width: "100%",
1363
1387
  minHeight: "100vh"
1364
1388
  }
1365
- }), ga = (e) => {
1389
+ }), ya = (e) => {
1366
1390
  var t, n;
1367
1391
  return {
1368
1392
  [e.componentCls]: {
@@ -1393,7 +1417,7 @@ const yl = /* @__PURE__ */ H({
1393
1417
  }
1394
1418
  }
1395
1419
  };
1396
- }, ya = (e) => {
1420
+ }, ba = (e) => {
1397
1421
  var t, n;
1398
1422
  return {
1399
1423
  [`${e.componentCls}`]: {
@@ -1443,15 +1467,15 @@ const yl = /* @__PURE__ */ H({
1443
1467
  }
1444
1468
  };
1445
1469
  };
1446
- function ba(e) {
1470
+ function pa(e) {
1447
1471
  return Ve("ProMultiTabs", (t) => {
1448
1472
  const n = Ae(t, {
1449
1473
  componentWrapCls: `${t.componentCls}-wrap`
1450
1474
  });
1451
- return [ya(n)];
1475
+ return [ba(n)];
1452
1476
  }, e);
1453
1477
  }
1454
- const pa = [
1478
+ const va = [
1455
1479
  {
1456
1480
  key: "closeOthersTabs",
1457
1481
  label: "关闭其他"
@@ -1469,12 +1493,12 @@ const pa = [
1469
1493
  label: "刷新当前页"
1470
1494
  }
1471
1495
  ];
1472
- function va(e) {
1496
+ function xa(e) {
1473
1497
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ne(e);
1474
1498
  }
1475
- const xa = He.TabPane, Ca = ee.Item, wa = /* @__PURE__ */ H({
1499
+ const Ca = He.TabPane, wa = ee.Item, Sa = /* @__PURE__ */ H({
1476
1500
  props: {
1477
- ...Bt,
1501
+ ...Rt,
1478
1502
  visible: {
1479
1503
  type: Boolean,
1480
1504
  default: !0
@@ -1488,259 +1512,265 @@ const xa = He.TabPane, Ca = ee.Item, wa = /* @__PURE__ */ H({
1488
1512
  } = Ie(e), a = ve(!1), i = ze({
1489
1513
  activeKey: "",
1490
1514
  contextMenuActiveKey: ""
1491
- }), r = _e(), {
1492
- menuData: d,
1493
- getPrefixCls: m
1494
- } = J(), b = m({
1515
+ }), l = _e(), {
1516
+ menuData: s,
1517
+ getPrefixCls: u,
1518
+ levelMenuData: v
1519
+ } = J(), c = u({
1495
1520
  isPor: !0,
1496
1521
  suffixCls: "multi-tab"
1497
1522
  }), {
1498
- wrapSSR: h,
1499
- hashId: S
1500
- } = ba(b), s = ve([]);
1501
- le(s, () => {
1502
- var y;
1503
- (y = e.onChangeTabs) == null || y.call(e, yt(U(s)));
1523
+ wrapSSR: O,
1524
+ hashId: h
1525
+ } = pa(c), p = ve([]);
1526
+ le(p, () => {
1527
+ var f;
1528
+ (f = e.onChangeTabs) == null || f.call(e, Ee(U(p)));
1504
1529
  }, {
1505
1530
  deep: !0
1506
1531
  });
1507
- 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(() => bt(`${b}-wrap`, {
1508
- [`${S.value}`]: !0,
1509
- [`${b}-wrap-fixed`]: e.isFixedMultiTab,
1510
- [`${b}-wrap-loading`]: e.loading
1511
- })), M = w(() => {
1512
- const y = {
1532
+ const r = w(() => l.currentRoute.value.fullPath || l.currentRoute.value.path), y = w(() => n.value && !t.value), I = w(() => y.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), R = w(() => bt(`${c}-wrap`, {
1533
+ [`${h.value}`]: !0,
1534
+ [`${c}-wrap-fixed`]: e.isFixedMultiTab,
1535
+ [`${c}-wrap-loading`]: e.loading
1536
+ })), x = w(() => {
1537
+ const f = {
1513
1538
  display: e.visible ? void 0 : "none"
1514
1539
  };
1515
1540
  return e.isFixedMultiTab ? {
1516
1541
  margin: 0,
1517
- width: p.value,
1542
+ width: I.value,
1518
1543
  paddingTop: "6px",
1519
1544
  zIndex: 99,
1520
- ...y
1521
- } : y;
1522
- }), g = (y) => y.fullPath === k.value, c = (y) => {
1523
- if (y.name && y.meta && y.meta.tagHidden !== !0) {
1524
- const C = y.fullPath || y.path, $ = s.value.find((P) => P.fullPath === C), B = {
1525
- path: y.path,
1526
- fullPath: C,
1527
- query: y.query,
1528
- params: y.params,
1529
- name: y.name,
1545
+ ...f
1546
+ } : f;
1547
+ }), m = (f) => (f.fullPath || f.path) === r.value, g = (f) => {
1548
+ if (f.name && f.meta && f.meta.tagHidden !== !0) {
1549
+ const S = f.fullPath || f.path, B = p.value.find((z) => z.fullPath === S), k = {
1550
+ path: f.path,
1551
+ fullPath: S,
1552
+ query: f.query,
1553
+ params: f.params,
1554
+ name: f.name,
1530
1555
  meta: {
1531
- ...y.meta
1556
+ ...f.meta
1532
1557
  }
1533
1558
  };
1534
- $ ? Object.assign($, B) : y.meta.tagFixed ? s.value.unshift(B) : s.value.push(B), g(y) && (i.activeKey = C);
1559
+ B ? Object.assign(B, k) : f.meta.tagFixed ? p.value.unshift(k) : p.value.push(k), m(f) && (i.activeKey = S);
1535
1560
  }
1536
- }, f = (y) => {
1537
- y.forEach((C) => {
1538
- C.meta && C.meta.tagFixed && c(C), C.children && f(C.children);
1561
+ }, b = (f) => {
1562
+ f.forEach((S) => {
1563
+ S.meta && S.meta.tagFixed && g(S), S.children && b(S.children);
1539
1564
  });
1540
1565
  };
1541
- le(() => d.value, (y) => {
1542
- f(y);
1566
+ le(() => s.value, (f) => {
1567
+ b(f);
1543
1568
  }, {
1544
1569
  deep: !0,
1545
1570
  immediate: !0
1546
- }), le(() => r.currentRoute.value, (y) => {
1547
- c(y);
1571
+ }), le(() => l.currentRoute.value, (f) => {
1572
+ var B;
1573
+ const S = (B = v.value.find((k) => k.path === f.path)) == null ? void 0 : B.meta;
1574
+ g({
1575
+ ...f,
1576
+ meta: S || f.meta
1577
+ });
1548
1578
  }, {
1549
1579
  deep: !0,
1550
1580
  immediate: !0
1551
1581
  });
1552
- const v = () => {
1553
- const y = s.value.slice(-1)[0];
1554
- y ? r.push(y) : r.push("/");
1555
- }, T = async (y) => {
1556
- const C = s.value.find(($) => y === $.fullPath);
1557
- s.value = s.value.filter(($) => $.fullPath !== y), C && g(C) && v();
1558
- }, x = (y) => {
1559
- const C = s.value.find(($) => $.path === y);
1560
- i.activeKey !== (C == null ? void 0 : C.fullPath) && (C != null && C.fullPath) && r.push(C == null ? void 0 : C.fullPath);
1561
- }, O = () => {
1562
- var y;
1563
- a.value = !0, e.onReloadPage && ((y = e.onReloadPage) == null || y.call(e)), setTimeout(() => {
1582
+ const $ = () => {
1583
+ const f = p.value.slice(-1)[0];
1584
+ f ? l.push(f) : l.push("/");
1585
+ }, C = async (f) => {
1586
+ const S = p.value.find((B) => f === B.fullPath);
1587
+ p.value = p.value.filter((B) => B.fullPath !== f), S && m(S) && $();
1588
+ }, M = (f) => {
1589
+ const S = p.value.find((B) => B.fullPath === f);
1590
+ i.activeKey !== (S == null ? void 0 : S.fullPath) && (S != null && S.fullPath) && l.push(S == null ? void 0 : S.fullPath);
1591
+ }, T = () => {
1592
+ var f;
1593
+ a.value = !0, e.onReloadPage && ((f = e.onReloadPage) == null || f.call(e)), setTimeout(() => {
1564
1594
  a.value = !1;
1565
1595
  }, 500);
1566
- }, F = (y) => y.meta && y.meta.tagFixed, R = (y) => i[y], D = (y, C) => {
1567
- const $ = s.value.findIndex((B) => B.fullPath === R(C));
1568
- switch (y) {
1596
+ }, P = (f) => f.meta && f.meta.tagFixed, F = (f) => i[f], _ = (f, S) => {
1597
+ const B = p.value.findIndex((k) => k.fullPath === F(S));
1598
+ switch (f) {
1569
1599
  case "closeOthersTabs":
1570
- s.value = s.value.filter((B) => {
1571
- var P;
1572
- return B.fullPath === R(C) || ((P = B.meta) == null ? void 0 : P.tagFixed);
1600
+ p.value = p.value.filter((k) => {
1601
+ var z;
1602
+ return k.fullPath === F(S) || ((z = k.meta) == null ? void 0 : z.tagFixed);
1573
1603
  });
1574
1604
  break;
1575
1605
  case "closeLeftTabs":
1576
- $ && (s.value = s.value.filter((B, P) => {
1606
+ B && (p.value = p.value.filter((k, z) => {
1577
1607
  var j;
1578
- return P >= $ || ((j = B.meta) == null ? void 0 : j.tagFixed);
1608
+ return z >= B || ((j = k.meta) == null ? void 0 : j.tagFixed);
1579
1609
  }));
1580
1610
  break;
1581
1611
  case "closeRightTabs":
1582
- $ && (s.value = s.value.filter((B, P) => {
1612
+ B && (p.value = p.value.filter((k, z) => {
1583
1613
  var j;
1584
- return P <= $ || ((j = B.meta) == null ? void 0 : j.tagFixed);
1614
+ return z <= B || ((j = k.meta) == null ? void 0 : j.tagFixed);
1585
1615
  }));
1586
1616
  break;
1587
1617
  case "reloadPage":
1588
- ($ === 0 || $) && i.activeKey === R(C) && O();
1618
+ (B === 0 || B) && i.activeKey === F(S) && T();
1589
1619
  break;
1590
1620
  }
1591
- i.activeKey !== R(C) && r.push(R(C));
1592
- }, _ = (y, C) => {
1593
- const $ = s.value.findIndex((B) => B.fullPath === C);
1594
- switch (y) {
1621
+ i.activeKey !== F(S) && l.push(F(S));
1622
+ }, V = (f, S) => {
1623
+ const B = p.value.findIndex((k) => k.fullPath === S);
1624
+ switch (f) {
1595
1625
  case "closeOthersTabs":
1596
- return s.value.filter((W, E) => {
1597
- var V;
1598
- return E !== $ && !((V = W.meta) != null && V.tagFixed);
1626
+ return p.value.filter((E, W) => {
1627
+ var N;
1628
+ return W !== B && !((N = E.meta) != null && N.tagFixed);
1599
1629
  }).length === 0;
1600
1630
  case "closeLeftTabs":
1601
- return s.value.filter((W, E) => {
1602
- var V;
1603
- return E < $ && !((V = W.meta) != null && V.tagFixed);
1631
+ return p.value.filter((E, W) => {
1632
+ var N;
1633
+ return W < B && !((N = E.meta) != null && N.tagFixed);
1604
1634
  }).length === 0;
1605
1635
  case "closeRightTabs":
1606
- return s.value.filter((W, E) => {
1607
- var V;
1608
- return E > $ && !((V = W.meta) != null && V.tagFixed);
1636
+ return p.value.filter((E, W) => {
1637
+ var N;
1638
+ return W > B && !((N = E.meta) != null && N.tagFixed);
1609
1639
  }).length === 0;
1610
1640
  }
1611
- }, N = (y) => {
1612
- let C;
1641
+ }, D = (f) => {
1642
+ let S;
1613
1643
  const {
1614
- path: $,
1615
- stateType: B
1616
- } = y;
1644
+ path: B,
1645
+ stateType: k
1646
+ } = f;
1617
1647
  return o(ee, {
1618
1648
  selectedKeys: [],
1619
1649
  onClick: ({
1620
- key: P
1621
- }) => D(P, B)
1622
- }, va(C = pa.map((P) => o(Ca, {
1623
- key: P.key,
1624
- disabled: _(P.key, $)
1650
+ key: z
1651
+ }) => _(z, k)
1652
+ }, xa(S = va.map((z) => o(wa, {
1653
+ key: z.key,
1654
+ disabled: V(z.key, B)
1625
1655
  }, {
1626
- default: () => [P.label]
1627
- }))) ? C : {
1628
- default: () => [C]
1656
+ default: () => [z.label]
1657
+ }))) ? S : {
1658
+ default: () => [S]
1629
1659
  });
1630
- }, z = (y) => {
1660
+ }, Y = (f) => {
1631
1661
  const {
1632
- router: C
1633
- } = y;
1634
- return o(Qe, {
1662
+ router: S
1663
+ } = f;
1664
+ return o(et, {
1635
1665
  trigger: "contextmenu",
1636
- overlay: o(N, {
1637
- path: (C == null ? void 0 : C.fullPath) || "",
1666
+ overlay: o(D, {
1667
+ path: (S == null ? void 0 : S.fullPath) || "",
1638
1668
  stateType: "contextMenuActiveKey"
1639
1669
  }, null),
1640
- onOpenChange: ($) => {
1641
- i.contextMenuActiveKey = $ && C.fullPath || "";
1670
+ onOpenChange: (B) => {
1671
+ i.contextMenuActiveKey = B && S.fullPath || "";
1642
1672
  }
1643
1673
  }, {
1644
1674
  default: () => {
1645
- var $;
1675
+ var B;
1646
1676
  return [o("div", {
1647
- class: [`${b}-title`, S.value]
1648
- }, [($ = C.meta) == null ? void 0 : $.title, i.activeKey === C.fullPath && o(un, {
1649
- class: [`${b}-reload-btn`, S.value],
1677
+ class: [`${c}-title`, h.value]
1678
+ }, [(B = S.meta) == null ? void 0 : B.title, i.activeKey === S.fullPath && o(sn, {
1679
+ class: [`${c}-reload-btn`, h.value],
1650
1680
  spin: a.value,
1651
- onClick: (B) => {
1652
- B.stopPropagation(), !a.value && O();
1681
+ onClick: (k) => {
1682
+ k.stopPropagation(), !a.value && T();
1653
1683
  }
1654
- }, null), s.value.length > 1 && !F(C) && o(ht, {
1655
- class: [`${b}-close-btn`, S.value],
1656
- onClick: (B) => {
1657
- B.stopPropagation(), !a.value && T((C == null ? void 0 : C.fullPath) || "");
1684
+ }, null), p.value.length > 1 && !P(S) && o(gt, {
1685
+ class: [`${c}-close-btn`, h.value],
1686
+ onClick: (k) => {
1687
+ k.stopPropagation(), !a.value && C((S == null ? void 0 : S.fullPath) || "");
1658
1688
  }
1659
1689
  }, null)])];
1660
1690
  }
1661
1691
  });
1662
1692
  };
1663
- return () => h(o(q, null, [!!e.isFixedMultiTab && At(o("div", {
1664
- class: [`${b}-fixed`, S.value]
1665
- }, null), [[Et, e.visible]]), o(He, {
1693
+ return () => O(o(q, null, [!!e.isFixedMultiTab && Vt(o("div", {
1694
+ class: [`${c}-fixed`, h.value]
1695
+ }, null), [[At, e.visible]]), o(He, {
1666
1696
  hideAdd: !0,
1667
1697
  type: "editable-card",
1668
- style: M.value,
1669
- class: I.value,
1698
+ style: x.value,
1699
+ class: R.value,
1670
1700
  activeKey: i.activeKey,
1671
- onTabClick: x
1701
+ onTabClick: M
1672
1702
  }, {
1673
- default: () => [s.value.map((y) => o(xa, {
1674
- key: y.fullPath,
1703
+ default: () => [p.value.map((f) => o(Ca, {
1704
+ key: f.fullPath,
1675
1705
  closable: !1,
1676
- tab: o(z, {
1677
- router: y
1706
+ tab: o(Y, {
1707
+ router: f
1678
1708
  }, null)
1679
1709
  }, null))],
1680
- rightExtra: () => o(Qe, {
1681
- overlay: o(N, {
1710
+ rightExtra: () => o(et, {
1711
+ overlay: o(D, {
1682
1712
  path: i.activeKey,
1683
1713
  stateType: "activeKey"
1684
1714
  }, null)
1685
1715
  }, {
1686
- default: () => [o(sn, {
1687
- class: [`${b}-dropdown-menu-btn`, S.value],
1716
+ default: () => [o(rn, {
1717
+ class: [`${c}-dropdown-menu-btn`, h.value],
1688
1718
  rotate: 90
1689
1719
  }, null)]
1690
1720
  })
1691
1721
  })]));
1692
1722
  }
1693
1723
  }), {
1694
- Content: Sa
1695
- } = de, Ge = (e, {
1724
+ Content: Ia
1725
+ } = de, Ye = (e, {
1696
1726
  slots: t,
1697
1727
  attrs: n
1698
1728
  }) => {
1699
- var p;
1729
+ var y;
1700
1730
  const {
1701
1731
  hashId: a,
1702
1732
  prefixCls: i,
1703
- isMobile: r,
1704
- loading: d,
1705
- collapsed: m,
1706
- siderWidth: b,
1707
- isShowTabsBar: h,
1708
- isFixedMultiTab: S,
1709
- onReloadPage: s,
1710
- onChangeTabs: k
1733
+ isMobile: l,
1734
+ loading: s,
1735
+ collapsed: u,
1736
+ siderWidth: v,
1737
+ isShowTabsBar: c,
1738
+ isFixedMultiTab: O,
1739
+ onReloadPage: h,
1740
+ onChangeTabs: p
1711
1741
  } = e;
1712
1742
  if (e.isChildrenLayout)
1713
- return (p = t.default) == null ? void 0 : p.call(t);
1743
+ return (y = t.default) == null ? void 0 : y.call(t);
1714
1744
  const {
1715
- flatMenuData: l
1745
+ flatMenuData: r
1716
1746
  } = J();
1717
- return o(q, null, [o(wa, {
1718
- visible: U(l).length > 0 && h,
1719
- isMobile: r,
1720
- loading: d,
1721
- isFixedMultiTab: S,
1722
- siderWidth: b,
1723
- collapsed: m,
1724
- onReloadPage: s,
1725
- onChangeTabs: k
1726
- }, null), o(Sa, {
1747
+ return o(q, null, [o(Sa, {
1748
+ visible: U(r).length > 0 && c,
1749
+ isMobile: l,
1750
+ loading: s,
1751
+ isFixedMultiTab: O,
1752
+ siderWidth: v,
1753
+ collapsed: u,
1754
+ onReloadPage: h,
1755
+ onChangeTabs: p
1756
+ }, null), o(Ia, {
1727
1757
  style: n.style,
1728
1758
  class: [`${i}-content`]
1729
1759
  }, {
1730
1760
  default: () => {
1731
1761
  var I;
1732
- return [d && o(Mn, null, null), o("div", {
1762
+ return [s && o(Mn, null, null), o("div", {
1733
1763
  class: [`${i}-content-spin-container`, a],
1734
1764
  style: {
1735
- opacity: d ? "0" : void 0
1765
+ opacity: s ? "0" : void 0
1736
1766
  }
1737
1767
  }, [(I = t.default) == null ? void 0 : I.call(t)])];
1738
1768
  }
1739
1769
  })]);
1740
1770
  };
1741
- Ge.inheritAttrs = !1;
1742
- Ge.displayName = "wrap-content";
1743
- const Ia = (e) => {
1771
+ Ye.inheritAttrs = !1;
1772
+ Ye.displayName = "wrap-content";
1773
+ const Oa = (e) => {
1744
1774
  var t, n, a, i;
1745
1775
  return {
1746
1776
  [`${e.proComponentsCls}-basic-layout`]: {
@@ -1803,13 +1833,13 @@ function ue() {
1803
1833
  return e;
1804
1834
  }, ue.apply(this, arguments);
1805
1835
  }
1806
- var Tt = function() {
1836
+ var $t = function() {
1807
1837
  if (typeof Map < "u")
1808
1838
  return Map;
1809
1839
  function e(t, n) {
1810
1840
  var a = -1;
1811
- return t.some(function(i, r) {
1812
- return i[0] === n ? (a = r, !0) : !1;
1841
+ return t.some(function(i, l) {
1842
+ return i[0] === n ? (a = l, !0) : !1;
1813
1843
  }), a;
1814
1844
  }
1815
1845
  return (
@@ -1842,47 +1872,47 @@ var Tt = function() {
1842
1872
  this.__entries__.splice(0);
1843
1873
  }, t.prototype.forEach = function(n, a) {
1844
1874
  a === void 0 && (a = null);
1845
- for (var i = 0, r = this.__entries__; i < r.length; i++) {
1846
- var d = r[i];
1847
- n.call(a, d[1], d[0]);
1875
+ for (var i = 0, l = this.__entries__; i < l.length; i++) {
1876
+ var s = l[i];
1877
+ n.call(a, s[1], s[0]);
1848
1878
  }
1849
1879
  }, t;
1850
1880
  }()
1851
1881
  );
1852
- }(), Fe = typeof window < "u" && typeof document < "u" && window.document === document, we = function() {
1882
+ }(), Pe = typeof window < "u" && typeof document < "u" && window.document === document, we = function() {
1853
1883
  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")();
1854
- }(), Oa = function() {
1884
+ }(), Ma = function() {
1855
1885
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(we) : function(e) {
1856
1886
  return setTimeout(function() {
1857
1887
  return e(Date.now());
1858
1888
  }, 1e3 / 60);
1859
1889
  };
1860
- }(), Ma = 2;
1861
- function Ra(e, t) {
1890
+ }(), Ra = 2;
1891
+ function Ba(e, t) {
1862
1892
  var n = !1, a = !1, i = 0;
1863
- function r() {
1864
- n && (n = !1, e()), a && m();
1893
+ function l() {
1894
+ n && (n = !1, e()), a && u();
1865
1895
  }
1866
- function d() {
1867
- Oa(r);
1896
+ function s() {
1897
+ Ma(l);
1868
1898
  }
1869
- function m() {
1870
- var b = Date.now();
1899
+ function u() {
1900
+ var v = Date.now();
1871
1901
  if (n) {
1872
- if (b - i < Ma)
1902
+ if (v - i < Ra)
1873
1903
  return;
1874
1904
  a = !0;
1875
1905
  } else
1876
- n = !0, a = !1, setTimeout(d, t);
1877
- i = b;
1906
+ n = !0, a = !1, setTimeout(s, t);
1907
+ i = v;
1878
1908
  }
1879
- return m;
1909
+ return u;
1880
1910
  }
1881
- var Ba = 20, ka = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], $a = typeof MutationObserver < "u", Ta = (
1911
+ var ka = 20, $a = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Ta = typeof MutationObserver < "u", Pa = (
1882
1912
  /** @class */
1883
1913
  function() {
1884
1914
  function e() {
1885
- this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Ra(this.refresh.bind(this), Ba);
1915
+ this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Ba(this.refresh.bind(this), ka);
1886
1916
  }
1887
1917
  return e.prototype.addObserver = function(t) {
1888
1918
  ~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_();
@@ -1900,24 +1930,24 @@ var Ba = 20, ka = ["top", "right", "bottom", "left", "width", "height", "size",
1900
1930
  return n.broadcastActive();
1901
1931
  }), t.length > 0;
1902
1932
  }, e.prototype.connect_ = function() {
1903
- !Fe || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), $a ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
1933
+ !Pe || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Ta ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
1904
1934
  attributes: !0,
1905
1935
  childList: !0,
1906
1936
  characterData: !0,
1907
1937
  subtree: !0
1908
1938
  })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
1909
1939
  }, e.prototype.disconnect_ = function() {
1910
- !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);
1940
+ !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);
1911
1941
  }, e.prototype.onTransitionEnd_ = function(t) {
1912
- var n = t.propertyName, a = n === void 0 ? "" : n, i = ka.some(function(r) {
1913
- return !!~a.indexOf(r);
1942
+ var n = t.propertyName, a = n === void 0 ? "" : n, i = $a.some(function(l) {
1943
+ return !!~a.indexOf(l);
1914
1944
  });
1915
1945
  i && this.refresh();
1916
1946
  }, e.getInstance = function() {
1917
1947
  return this.instance_ || (this.instance_ = new e()), this.instance_;
1918
1948
  }, e.instance_ = null, e;
1919
1949
  }()
1920
- ), Ft = function(e, t) {
1950
+ ), Tt = function(e, t) {
1921
1951
  for (var n = 0, a = Object.keys(t); n < a.length; n++) {
1922
1952
  var i = a[n];
1923
1953
  Object.defineProperty(e, i, {
@@ -1935,52 +1965,52 @@ var Ba = 20, ka = ["top", "right", "bottom", "left", "width", "height", "size",
1935
1965
  function Se(e) {
1936
1966
  return parseFloat(e) || 0;
1937
1967
  }
1938
- function ot(e) {
1968
+ function it(e) {
1939
1969
  for (var t = [], n = 1; n < arguments.length; n++)
1940
1970
  t[n - 1] = arguments[n];
1941
1971
  return t.reduce(function(a, i) {
1942
- var r = e["border-" + i + "-width"];
1943
- return a + Se(r);
1972
+ var l = e["border-" + i + "-width"];
1973
+ return a + Se(l);
1944
1974
  }, 0);
1945
1975
  }
1946
1976
  function Fa(e) {
1947
1977
  for (var t = ["top", "right", "bottom", "left"], n = {}, a = 0, i = t; a < i.length; a++) {
1948
- var r = i[a], d = e["padding-" + r];
1949
- n[r] = Se(d);
1978
+ var l = i[a], s = e["padding-" + l];
1979
+ n[l] = Se(s);
1950
1980
  }
1951
1981
  return n;
1952
1982
  }
1953
- function Pa(e) {
1983
+ function La(e) {
1954
1984
  var t = e.getBBox();
1955
1985
  return Re(0, 0, t.width, t.height);
1956
1986
  }
1957
- function La(e) {
1987
+ function Da(e) {
1958
1988
  var t = e.clientWidth, n = e.clientHeight;
1959
1989
  if (!t && !n)
1960
1990
  return Pt;
1961
- var a = re(e).getComputedStyle(e), i = Fa(a), r = i.left + i.right, d = i.top + i.bottom, m = Se(a.width), b = Se(a.height);
1962
- if (a.boxSizing === "border-box" && (Math.round(m + r) !== t && (m -= ot(a, "left", "right") + r), Math.round(b + d) !== n && (b -= ot(a, "top", "bottom") + d)), !za(e)) {
1963
- var h = Math.round(m + r) - t, S = Math.round(b + d) - n;
1964
- Math.abs(h) !== 1 && (m -= h), Math.abs(S) !== 1 && (b -= S);
1991
+ var a = re(e).getComputedStyle(e), i = Fa(a), l = i.left + i.right, s = i.top + i.bottom, u = Se(a.width), v = Se(a.height);
1992
+ if (a.boxSizing === "border-box" && (Math.round(u + l) !== t && (u -= it(a, "left", "right") + l), Math.round(v + s) !== n && (v -= it(a, "top", "bottom") + s)), !Na(e)) {
1993
+ var c = Math.round(u + l) - t, O = Math.round(v + s) - n;
1994
+ Math.abs(c) !== 1 && (u -= c), Math.abs(O) !== 1 && (v -= O);
1965
1995
  }
1966
- return Re(i.left, i.top, m, b);
1996
+ return Re(i.left, i.top, u, v);
1967
1997
  }
1968
- var Da = function() {
1998
+ var za = function() {
1969
1999
  return typeof SVGGraphicsElement < "u" ? function(e) {
1970
2000
  return e instanceof re(e).SVGGraphicsElement;
1971
2001
  } : function(e) {
1972
2002
  return e instanceof re(e).SVGElement && typeof e.getBBox == "function";
1973
2003
  };
1974
2004
  }();
1975
- function za(e) {
1976
- return e === re(e).document.documentElement;
1977
- }
1978
2005
  function Na(e) {
1979
- return Fe ? Da(e) ? Pa(e) : La(e) : Pt;
2006
+ return e === re(e).document.documentElement;
1980
2007
  }
1981
2008
  function Ha(e) {
1982
- var t = e.x, n = e.y, a = e.width, i = e.height, r = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, d = Object.create(r.prototype);
1983
- return Ft(d, {
2009
+ return Pe ? za(e) ? La(e) : Da(e) : Pt;
2010
+ }
2011
+ function _a(e) {
2012
+ var t = e.x, n = e.y, a = e.width, i = e.height, l = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, s = Object.create(l.prototype);
2013
+ return Tt(s, {
1984
2014
  x: t,
1985
2015
  y: n,
1986
2016
  width: a,
@@ -1989,39 +2019,39 @@ function Ha(e) {
1989
2019
  right: t + a,
1990
2020
  bottom: i + n,
1991
2021
  left: t
1992
- }), d;
2022
+ }), s;
1993
2023
  }
1994
2024
  function Re(e, t, n, a) {
1995
2025
  return { x: e, y: t, width: n, height: a };
1996
2026
  }
1997
- var _a = (
2027
+ var Va = (
1998
2028
  /** @class */
1999
2029
  function() {
2000
2030
  function e(t) {
2001
2031
  this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Re(0, 0, 0, 0), this.target = t;
2002
2032
  }
2003
2033
  return e.prototype.isActive = function() {
2004
- var t = Na(this.target);
2034
+ var t = Ha(this.target);
2005
2035
  return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
2006
2036
  }, e.prototype.broadcastRect = function() {
2007
2037
  var t = this.contentRect_;
2008
2038
  return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t;
2009
2039
  }, e;
2010
2040
  }()
2011
- ), Va = (
2041
+ ), Aa = (
2012
2042
  /** @class */
2013
2043
  function() {
2014
2044
  function e(t, n) {
2015
- var a = Ha(n);
2016
- Ft(this, { target: t, contentRect: a });
2045
+ var a = _a(n);
2046
+ Tt(this, { target: t, contentRect: a });
2017
2047
  }
2018
2048
  return e;
2019
2049
  }()
2020
- ), Aa = (
2050
+ ), Ea = (
2021
2051
  /** @class */
2022
2052
  function() {
2023
2053
  function e(t, n, a) {
2024
- if (this.activeObservations_ = [], this.observations_ = new Tt(), typeof t != "function")
2054
+ if (this.activeObservations_ = [], this.observations_ = new $t(), typeof t != "function")
2025
2055
  throw new TypeError("The callback provided as parameter 1 is not a function.");
2026
2056
  this.callback_ = t, this.controller_ = n, this.callbackCtx_ = a;
2027
2057
  }
@@ -2032,7 +2062,7 @@ var _a = (
2032
2062
  if (!(t instanceof re(t).Element))
2033
2063
  throw new TypeError('parameter 1 is not of type "Element".');
2034
2064
  var n = this.observations_;
2035
- n.has(t) || (n.set(t, new _a(t)), this.controller_.addObserver(this), this.controller_.refresh());
2065
+ n.has(t) || (n.set(t, new Va(t)), this.controller_.addObserver(this), this.controller_.refresh());
2036
2066
  }
2037
2067
  }, e.prototype.unobserve = function(t) {
2038
2068
  if (!arguments.length)
@@ -2053,7 +2083,7 @@ var _a = (
2053
2083
  }, e.prototype.broadcastActive = function() {
2054
2084
  if (this.hasActive()) {
2055
2085
  var t = this.callbackCtx_, n = this.activeObservations_.map(function(a) {
2056
- return new Va(a.target, a.broadcastRect());
2086
+ return new Aa(a.target, a.broadcastRect());
2057
2087
  });
2058
2088
  this.callback_.call(t, n, t), this.clearActive();
2059
2089
  }
@@ -2063,7 +2093,7 @@ var _a = (
2063
2093
  return this.activeObservations_.length > 0;
2064
2094
  }, e;
2065
2095
  }()
2066
- ), Lt = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new Tt(), Dt = (
2096
+ ), Ft = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new $t(), Lt = (
2067
2097
  /** @class */
2068
2098
  function() {
2069
2099
  function e(t) {
@@ -2071,8 +2101,8 @@ var _a = (
2071
2101
  throw new TypeError("Cannot call a class as a function.");
2072
2102
  if (!arguments.length)
2073
2103
  throw new TypeError("1 argument required, but only 0 present.");
2074
- var n = Ta.getInstance(), a = new Aa(t, n, this);
2075
- Lt.set(this, a);
2104
+ var n = Pa.getInstance(), a = new Ea(t, n, this);
2105
+ Ft.set(this, a);
2076
2106
  }
2077
2107
  return e;
2078
2108
  }()
@@ -2082,21 +2112,21 @@ var _a = (
2082
2112
  "unobserve",
2083
2113
  "disconnect"
2084
2114
  ].forEach(function(e) {
2085
- Dt.prototype[e] = function() {
2115
+ Lt.prototype[e] = function() {
2086
2116
  var t;
2087
- return (t = Lt.get(this))[e].apply(t, arguments);
2117
+ return (t = Ft.get(this))[e].apply(t, arguments);
2088
2118
  };
2089
2119
  });
2090
- var Ea = function() {
2091
- return typeof we.ResizeObserver < "u" ? we.ResizeObserver : Dt;
2120
+ var ja = function() {
2121
+ return typeof we.ResizeObserver < "u" ? we.ResizeObserver : Lt;
2092
2122
  }();
2093
- const ja = (e) => {
2123
+ const Wa = (e) => {
2094
2124
  var t;
2095
2125
  let n = ((t = e == null ? void 0 : e.vnode) === null || t === void 0 ? void 0 : t.el) || e && (e.$el || e);
2096
2126
  for (; n && !n.tagName; )
2097
2127
  n = n.nextSibling;
2098
2128
  return n;
2099
- }, Wa = H({
2129
+ }, Ka = H({
2100
2130
  compatConfig: {
2101
2131
  MODE: 3
2102
2132
  },
@@ -2116,60 +2146,60 @@ const ja = (e) => {
2116
2146
  offsetHeight: 0,
2117
2147
  offsetWidth: 0
2118
2148
  });
2119
- let i = null, r = null;
2120
- const d = () => {
2121
- r && (r.disconnect(), r = null);
2122
- }, m = (S) => {
2149
+ let i = null, l = null;
2150
+ const s = () => {
2151
+ l && (l.disconnect(), l = null);
2152
+ }, u = (O) => {
2123
2153
  const {
2124
- onResize: s
2125
- } = e, k = S[0].target, {
2126
- width: l,
2127
- height: p
2128
- } = k.getBoundingClientRect(), {
2154
+ onResize: h
2155
+ } = e, p = O[0].target, {
2156
+ width: r,
2157
+ height: y
2158
+ } = p.getBoundingClientRect(), {
2129
2159
  offsetWidth: I,
2130
- offsetHeight: M
2131
- } = k, g = Math.floor(l), c = Math.floor(p);
2132
- if (a.width !== g || a.height !== c || a.offsetWidth !== I || a.offsetHeight !== M) {
2133
- const f = {
2134
- width: g,
2135
- height: c,
2160
+ offsetHeight: R
2161
+ } = p, x = Math.floor(r), m = Math.floor(y);
2162
+ if (a.width !== x || a.height !== m || a.offsetWidth !== I || a.offsetHeight !== R) {
2163
+ const g = {
2164
+ width: x,
2165
+ height: m,
2136
2166
  offsetWidth: I,
2137
- offsetHeight: M
2167
+ offsetHeight: R
2138
2168
  };
2139
- ue(a, f), s && Promise.resolve().then(() => {
2140
- s(ue(ue({}, f), {
2169
+ ue(a, g), h && Promise.resolve().then(() => {
2170
+ h(ue(ue({}, g), {
2141
2171
  offsetWidth: I,
2142
- offsetHeight: M
2143
- }), k);
2172
+ offsetHeight: R
2173
+ }), p);
2144
2174
  });
2145
2175
  }
2146
- }, b = jt(), h = () => {
2176
+ }, v = Et(), c = () => {
2147
2177
  const {
2148
- disabled: S
2178
+ disabled: O
2149
2179
  } = e;
2150
- if (S) {
2151
- d();
2180
+ if (O) {
2181
+ s();
2152
2182
  return;
2153
2183
  }
2154
- const s = ja(b);
2155
- s !== i && (d(), i = s), !r && s && (r = new Ea(m), r.observe(s));
2184
+ const h = Wa(v);
2185
+ h !== i && (s(), i = h), !l && h && (l = new ja(u), l.observe(h));
2156
2186
  };
2157
- return Wt(() => {
2158
- h();
2187
+ return jt(() => {
2188
+ c();
2189
+ }), Wt(() => {
2190
+ c();
2159
2191
  }), Kt(() => {
2160
- h();
2161
- }), Ut(() => {
2162
- d();
2192
+ s();
2163
2193
  }), le(() => e.disabled, () => {
2164
- h();
2194
+ c();
2165
2195
  }, {
2166
2196
  flush: "post"
2167
2197
  }), () => {
2168
- var S;
2169
- return (S = n.default) === null || S === void 0 ? void 0 : S.call(n)[0];
2198
+ var O;
2199
+ return (O = n.default) === null || O === void 0 ? void 0 : O.call(n)[0];
2170
2200
  };
2171
2201
  }
2172
- }), Ka = (e) => ({
2202
+ }), Ua = (e) => ({
2173
2203
  [`${e.proComponentsCls}-header`]: {
2174
2204
  "&-light": {
2175
2205
  [`${e.componentCls}-logo`]: {
@@ -2252,11 +2282,11 @@ const ja = (e) => {
2252
2282
  marginInlineEnd: 0
2253
2283
  }
2254
2284
  }
2255
- }), zt = {
2256
- ...Y,
2257
- ...Xe
2258
- }, Ua = (e, t) => e === !1 ? null : e ? e(t, null) : t, Xa = /* @__PURE__ */ H({
2259
- props: zt,
2285
+ }), Dt = {
2286
+ ...G,
2287
+ ...Ge
2288
+ }, Xa = (e, t) => e === !1 ? null : e ? e(t, null) : t, Ga = /* @__PURE__ */ H({
2289
+ props: Dt,
2260
2290
  setup(e) {
2261
2291
  const t = ve("auto"), n = ({
2262
2292
  width: a
@@ -2271,7 +2301,7 @@ const ja = (e) => {
2271
2301
  style: {
2272
2302
  paddingRight: "8px"
2273
2303
  }
2274
- }, [o(Wa, {
2304
+ }, [o(Ka, {
2275
2305
  onResize: n
2276
2306
  }, {
2277
2307
  default: () => [e.rightContentRender && typeof e.rightContentRender == "function" ? o("div", null, [e.rightContentRender({
@@ -2279,8 +2309,8 @@ const ja = (e) => {
2279
2309
  })]) : o("div", null, null)]
2280
2310
  })])]);
2281
2311
  }
2282
- }), Ga = /* @__PURE__ */ H({
2283
- props: zt,
2312
+ }), Ya = /* @__PURE__ */ H({
2313
+ props: Dt,
2284
2314
  inheritAttrs: !1,
2285
2315
  setup(e, {
2286
2316
  slots: t,
@@ -2289,36 +2319,36 @@ const ja = (e) => {
2289
2319
  const a = _e(), {
2290
2320
  token: i
2291
2321
  } = Me(), {
2292
- getPrefixCls: r,
2293
- openKeys: d,
2294
- selectedKeys: m
2322
+ getPrefixCls: l,
2323
+ openKeys: s,
2324
+ selectedKeys: u
2295
2325
  } = J(), {
2296
- width: b
2297
- } = Sn(), h = r({
2326
+ width: v
2327
+ } = Sn(), c = l({
2298
2328
  suffixCls: "global-header",
2299
2329
  isPor: !0
2300
2330
  }), {
2301
- wrapSSR: S,
2302
- hashId: s
2303
- } = Z("ProGlobalHeader", [Ka], h), k = w(() => ({
2304
- [`${s.value}`]: !0,
2305
- [`${h}`]: !0,
2306
- [`${h}-${e.layout}`]: !0
2307
- })), l = (g) => {
2308
- var c;
2331
+ wrapSSR: O,
2332
+ hashId: h
2333
+ } = Z("ProGlobalHeader", [Ua], c), p = w(() => ({
2334
+ [`${h.value}`]: !0,
2335
+ [`${c}`]: !0,
2336
+ [`${c}-${e.layout}`]: !0
2337
+ })), r = (x) => {
2338
+ var m;
2309
2339
  if (a.currentRoute) {
2310
- const f = a.currentRoute.value.matched.concat();
2311
- 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)));
2340
+ const g = a.currentRoute.value.matched.concat();
2341
+ e.onSelect && x === "select" && e.onSelect(g.filter((b) => b.name !== "index").map((b) => b.path)), e.onOpenKeys && x === "openKeys" && ((m = e.onOpenKeys) == null || m.call(e, g.filter((b) => b.path !== a.currentRoute.value.path).map((b) => b.path)));
2312
2342
  }
2313
- }, p = () => {
2343
+ }, y = () => {
2314
2344
  n("collapse", !e.collapsed);
2315
- }, I = w(() => e.collapsedButtonRender || Ot), M = () => {
2316
- var g;
2345
+ }, I = w(() => e.collapsedButtonRender || It), R = () => {
2346
+ var x;
2317
2347
  return o(q, null, [e.layout === "mix" && !e.isMobile && e.splitMenus ? o("div", {
2318
2348
  style: {
2319
2349
  flex: 1
2320
2350
  },
2321
- class: [`${h}-menu`, s.value]
2351
+ class: [`${c}-menu`, h.value]
2322
2352
  }, [o(Ne, {
2323
2353
  theme: {
2324
2354
  components: {
@@ -2336,139 +2366,139 @@ const ja = (e) => {
2336
2366
  }
2337
2367
  }
2338
2368
  }, {
2339
- default: () => [o(wt, X({
2369
+ default: () => [o(Ct, X({
2340
2370
  theme: e.theme,
2341
2371
  mode: e.mode,
2342
2372
  collapsed: e.collapsed,
2343
2373
  menuData: e.menuData,
2344
- openKeys: d.value,
2345
- selectedKeys: m.value,
2374
+ openKeys: s.value,
2375
+ selectedKeys: u.value,
2346
2376
  iconfontUrl: e.iconfontUrl,
2347
2377
  menuItemRender: e.menuItemRender,
2348
2378
  subMenuItemRender: e.subMenuItemRender,
2349
2379
  class: {
2350
2380
  "top-nav-menu": e.mode === "horizontal",
2351
- [`${s.value}`]: !0
2381
+ [`${h.value}`]: !0
2352
2382
  }
2353
2383
  }, {
2354
- "onUpdate:openKeys": () => l("openKeys"),
2355
- "onUpdate:selectedKeys": () => l("select")
2384
+ "onUpdate:openKeys": () => r("openKeys"),
2385
+ "onUpdate:selectedKeys": () => r("select")
2356
2386
  }), null)]
2357
2387
  })]) : o("div", {
2358
2388
  style: {
2359
2389
  flex: 1
2360
2390
  }
2361
- }, [(g = t.default) == null ? void 0 : g.call(t)]), e.layout !== "simple" && o(Xa, X(e, {
2391
+ }, [(x = t.default) == null ? void 0 : x.call(t)]), e.layout !== "simple" && o(Ga, X(e, {
2362
2392
  extraRightDropdownRender: e.extraRightDropdownRender,
2363
2393
  rightContentRender: e.rightContentRender
2364
2394
  }), null)]);
2365
2395
  };
2366
2396
  return () => {
2367
- const g = o("span", {
2397
+ const x = o("span", {
2368
2398
  key: "logo",
2369
2399
  onClick: () => {
2370
- var c;
2371
- return (c = e.onMenuHeaderClick) == null ? void 0 : c.call(e);
2400
+ var m;
2401
+ return (m = e.onMenuHeaderClick) == null ? void 0 : m.call(e);
2372
2402
  },
2373
- class: [`${h}-logo`, e.isMobile ? "mobile" : "", s.value]
2374
- }, [o("a", null, [It(e.logo)])]);
2375
- return S(o("div", {
2376
- class: k.value
2377
- }, [e.isMobile ? o(q, null, [Ua(e.menuHeaderRender, g), e.isMobile && U(I) && o("span", {
2378
- class: `${h}-collapsed-button ${s.value}`,
2379
- onClick: p
2380
- }, [U(I)(e.collapsed)]), M()]) : e.layout === "mix" || e.layout === "wide" ? o(q, null, [o("div", {
2403
+ class: [`${c}-logo`, e.isMobile ? "mobile" : "", h.value]
2404
+ }, [o("a", null, [St(e.logo)])]);
2405
+ return O(o("div", {
2406
+ class: p.value
2407
+ }, [e.isMobile ? o(q, null, [Xa(e.menuHeaderRender, x), e.isMobile && U(I) && o("span", {
2408
+ class: `${c}-collapsed-button ${h.value}`,
2409
+ onClick: y
2410
+ }, [U(I)(e.collapsed)]), R()]) : e.layout === "mix" || e.layout === "wide" ? o(q, null, [o("div", {
2381
2411
  style: {
2382
2412
  width: e.layout === "wide" ? `${e.wideWidth}px` : void 0,
2383
- padding: e.layout === "wide" && b.value < e.wideWidth ? "0 50px" : void 0
2413
+ padding: e.layout === "wide" && v.value < e.wideWidth ? "0 50px" : void 0
2384
2414
  },
2385
- class: `${h}-main ${s.value}`
2415
+ class: `${c}-main ${h.value}`
2386
2416
  }, [o("div", {
2387
- class: `${h}-main-left ${s.value}`
2388
- }, [o(Ue, X(e, {
2417
+ class: `${c}-main-left ${h.value}`
2418
+ }, [o(Xe, X(e, {
2389
2419
  renderKey: "headerTitleRender"
2390
- }), null)]), M()])]) : M()]));
2420
+ }), null)]), R()])]) : R()]));
2391
2421
  };
2392
2422
  }
2393
2423
  });
2394
- function Ya(e) {
2424
+ function qa(e) {
2395
2425
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ne(e);
2396
2426
  }
2397
2427
  const {
2398
- Header: it
2399
- } = de, Pe = /* @__PURE__ */ H({
2428
+ Header: lt
2429
+ } = de, Fe = /* @__PURE__ */ H({
2400
2430
  inheritAttrs: !1,
2401
- props: Rt,
2431
+ props: Mt,
2402
2432
  setup(e) {
2403
2433
  const {
2404
2434
  theme: t,
2405
2435
  isMobile: n,
2406
2436
  fixedHeader: a,
2407
2437
  headerHeight: i,
2408
- layout: r,
2409
- onCollapse: d,
2410
- splitMenus: m
2438
+ layout: l,
2439
+ onCollapse: s,
2440
+ splitMenus: u
2411
2441
  } = Ie(e), {
2412
- getPrefixCls: b,
2413
- menuData: h
2414
- } = J(), S = b({
2442
+ getPrefixCls: v,
2443
+ menuData: c
2444
+ } = J(), O = v({
2415
2445
  suffixCls: "header",
2416
2446
  isPor: !0
2417
- }), s = b({
2447
+ }), h = v({
2418
2448
  suffixCls: "fixed-header",
2419
2449
  isPor: !0
2420
2450
  }), {
2421
- wrapSSR: k,
2422
- hashId: l
2423
- } = 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(() => ({
2424
- [`${l.value}`]: !0,
2425
- [`${S}-${c.value}`]: !0,
2426
- [`${S}`]: !0,
2427
- [`${s}`]: I.value
2428
- })), 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 = () => {
2429
- const R = o(Ga, X(e, {
2430
- theme: c.value,
2451
+ wrapSSR: p,
2452
+ hashId: r
2453
+ } = Z("ProLayoutHeader", [Oa], O), y = w(() => l.value === "wide"), I = w(() => a.value), R = w(() => l.value === "mix" || y.value), x = w(() => l.value === "side" || l.value === "simple"), m = w(() => x.value && "light" || t.value), g = w(() => ({
2454
+ [`${r.value}`]: !0,
2455
+ [`${O}-${m.value}`]: !0,
2456
+ [`${O}`]: !0,
2457
+ [`${h}`]: I.value
2458
+ })), b = w(() => I.value && !n.value), $ = w(() => u.value ? c.value && Dn(c.value) || [] : []), C = w(() => x.value && b.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), M = w(() => I.value ? 0 : void 0), T = () => {
2459
+ const P = o(Ya, X(e, {
2460
+ theme: m.value,
2431
2461
  mode: "horizontal",
2432
- onCollapse: d.value,
2433
- menuData: T.value
2462
+ onCollapse: s.value,
2463
+ menuData: $.value
2434
2464
  }), {
2435
- default: () => [M.value ? null : e.headerContentRender && typeof e.headerContentRender == "function" ? e.headerContentRender(e) : e.headerContentRender]
2465
+ default: () => [R.value ? null : e.headerContentRender && typeof e.headerContentRender == "function" ? e.headerContentRender(e) : e.headerContentRender]
2436
2466
  });
2437
- return e.headerRender ? e.headerRender(e, R) : R;
2467
+ return e.headerRender ? e.headerRender(e, P) : P;
2438
2468
  };
2439
2469
  return () => {
2440
- let R;
2441
- return k(o(q, null, [I.value && !p.value && o(it, {
2442
- theme: c.value,
2470
+ let P;
2471
+ return p(o(q, null, [I.value && !y.value && o(lt, {
2472
+ theme: m.value,
2443
2473
  style: {
2444
2474
  height: `${i.value}px`,
2445
2475
  lineHeight: `${i.value}px`,
2446
2476
  background: "transparent"
2447
2477
  }
2448
- }, null), o(it, {
2449
- theme: c.value,
2450
- class: f.value,
2478
+ }, null), o(lt, {
2479
+ theme: m.value,
2480
+ class: g.value,
2451
2481
  style: {
2452
2482
  height: `${i.value}px`,
2453
2483
  lineHeight: `${i.value}px`,
2454
- width: x.value,
2455
- zIndex: g.value ? 100 : 101,
2456
- right: O.value
2484
+ width: C.value,
2485
+ zIndex: x.value ? 100 : 101,
2486
+ right: M.value
2457
2487
  }
2458
- }, Ya(R = F()) ? R : {
2459
- default: () => [R]
2488
+ }, qa(P = T()) ? P : {
2489
+ default: () => [P]
2460
2490
  })]));
2461
2491
  };
2462
2492
  }
2463
- }), qa = /* @__PURE__ */ H({
2493
+ }), Za = /* @__PURE__ */ H({
2464
2494
  name: "BaseProLayout",
2465
2495
  inheritAttrs: !1,
2466
2496
  components: {
2467
- GlobalHeader: Pe,
2497
+ GlobalHeader: Fe,
2468
2498
  GlobalFooter: Te,
2469
2499
  SiderMenuWrapper: $e
2470
2500
  },
2471
- props: $t,
2501
+ props: kt,
2472
2502
  emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
2473
2503
  setup(e, {
2474
2504
  slots: t
@@ -2479,88 +2509,88 @@ const {
2479
2509
  }), {
2480
2510
  wrapSSR: a,
2481
2511
  hashId: i
2482
- } = Z("ProLayout", [ha, ga], n), r = Cn(), {
2483
- token: d
2484
- } = Me(), m = w(() => {
2485
- var c;
2486
- return (c = d == null ? void 0 : d.value) == null ? void 0 : c.colorPrimary;
2512
+ } = Z("ProLayout", [ga, ya], n), l = Cn(), {
2513
+ token: s
2514
+ } = Me(), u = w(() => {
2515
+ var m;
2516
+ return (m = s == null ? void 0 : s.value) == null ? void 0 : m.colorPrimary;
2487
2517
  });
2488
- Xt(() => {
2489
- m.value && document.querySelector("html") && document.querySelector("html").style.setProperty("--gx-primary-color", m.value);
2518
+ Ut(() => {
2519
+ u.value && document.querySelector("html") && document.querySelector("html").style.setProperty("--gx-primary-color", u.value);
2490
2520
  });
2491
- 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 = ze({
2521
+ const v = w(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), c = w(() => e.layout === "wide"), O = w(() => v.value), h = w(() => e.collapsed ? e.collapsedWidth : e.siderWidth), p = w(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), r = w(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !c.value), y = ze({
2492
2522
  position: "relative"
2493
2523
  });
2494
- (e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (p.minHeight = 0);
2495
- const I = (c, f) => c.headerRender === !1 || c.pure ? null : o(Pe, X(c, {
2496
- matchMenuKeys: f || []
2497
- }), null), M = w(() => ({
2524
+ (e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (y.minHeight = 0);
2525
+ const I = (m, g) => m.headerRender === !1 || m.pure ? null : o(Fe, X(m, {
2526
+ matchMenuKeys: g || []
2527
+ }), null), R = w(() => ({
2498
2528
  ...e.breadcrumb,
2499
2529
  itemRender: K(t, e, "breadcrumbRender")
2500
- })), g = w(() => S.value && e.selectedKeys ? Dn(e.menuData, e.selectedKeys[0]) : []);
2501
- return jn({
2530
+ })), x = w(() => O.value && e.selectedKeys ? zn(e.menuData, e.selectedKeys[0]) : []);
2531
+ return Wn({
2502
2532
  getPrefixCls: ce,
2503
- ...ae(Ie(e), ["layout", "waterMark", "menuData", "openKeys", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader"].concat(Object.keys(me))),
2504
- theme: k.value,
2505
- hasContentWide: h,
2506
- isMobile: l,
2507
- siderWidth: s,
2508
- breadcrumb: M,
2509
- flatMenuData: g,
2510
- hasSide: b,
2511
- flatMenu: S,
2533
+ ...ae(Ie(e), ["layout", "waterMark", "menuData", "levelMenuData", "openKeys", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader"].concat(Object.keys(me))),
2534
+ theme: p.value,
2535
+ hasContentWide: c,
2536
+ isMobile: r,
2537
+ siderWidth: h,
2538
+ breadcrumb: R,
2539
+ flatMenuData: x,
2540
+ hasSide: v,
2541
+ flatMenu: O,
2512
2542
  pageHeaderRender: w(() => K(t, e, "pageHeaderRender"))
2513
2543
  }), () => {
2514
- var V;
2515
- 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"), $ = {
2516
- menuItemRender: y,
2517
- subMenuItemRender: C
2544
+ var W;
2545
+ const m = K(t, e, "collapsedButtonRender"), g = K(t, e, "headerContentRender"), b = K(t, e, "rightContentRender"), $ = K(t, e, "headerRender"), C = K(t, e, "footerRender"), M = K(t, e, "links"), T = K(t, e, "copyrightRender"), P = K(t, e, "extraRightDropdownRender"), F = K(t, e, "menuHeaderRender"), _ = K(t, e, "menuExtraRender"), V = K(t, e, "menuContentRender"), D = K(t, e, "menuFooterRender"), Y = K(t, e, "menuItemRender"), f = K(t, e, "subMenuItemRender"), S = {
2546
+ menuItemRender: Y,
2547
+ subMenuItemRender: f
2518
2548
  }, B = w(() => I({
2519
2549
  ...e,
2520
- ...$,
2521
- hasSiderMenu: b.value,
2550
+ ...S,
2551
+ hasSiderMenu: v.value,
2522
2552
  menuData: e.menuData,
2523
- isMobile: U(l),
2524
- rightContentRender: v,
2525
- extraRightDropdownRender: R,
2526
- headerTitleRender: D,
2527
- headerContentRender: f,
2528
- headerRender: T,
2529
- theme: k.value
2530
- }, e.matchMenuKeys)), P = w(() => ({
2553
+ isMobile: U(r),
2554
+ rightContentRender: b,
2555
+ extraRightDropdownRender: P,
2556
+ headerTitleRender: F,
2557
+ headerContentRender: g,
2558
+ headerRender: $,
2559
+ theme: p.value
2560
+ }, e.matchMenuKeys)), k = w(() => ({
2531
2561
  [`${i.value}`]: !0,
2532
2562
  [`${n}`]: !0,
2533
2563
  [`${n}-${e.layout}`]: !0
2534
- })), j = w(() => h.value ? {
2564
+ })), z = w(() => c.value ? {
2535
2565
  minWidth: `${e.wideWidth}px`
2536
- } : void 0), W = w(() => h.value ? {
2566
+ } : void 0), j = w(() => c.value ? {
2537
2567
  width: e.menuData.length ? `${e.wideWidth}px` : `${e.wideWidth - e.siderWidth - 20}px`,
2538
2568
  paddingTop: `${e.headerHeight + 20}px`,
2539
- margin: h.value ? "0 auto" : void 0
2540
- } : void 0), E = w(() => h.value ? {
2569
+ margin: c.value ? "0 auto" : void 0
2570
+ } : void 0), E = w(() => c.value ? {
2541
2571
  minHeight: "835px"
2542
2572
  } : {});
2543
- return a(o(q, null, [e.pure ? (V = t.default) == null ? void 0 : V.call(t) : o("div", {
2544
- class: P.value,
2545
- style: j.value
2573
+ return a(o(q, null, [e.pure ? (W = t.default) == null ? void 0 : W.call(t) : o("div", {
2574
+ class: k.value,
2575
+ style: z.value
2546
2576
  }, [o(de, {
2547
- style: W.value
2577
+ style: j.value
2548
2578
  }, {
2549
- default: () => [o($e, X(Ee(e, ["pure", "theme"]), {
2550
- links: O,
2551
- theme: k.value,
2552
- isMobile: l.value,
2553
- menuHeaderRender: D,
2554
- menuContentRender: N,
2579
+ default: () => [o($e, X(je(e, ["pure", "theme"]), {
2580
+ links: M,
2581
+ theme: p.value,
2582
+ isMobile: r.value,
2583
+ menuHeaderRender: F,
2584
+ menuContentRender: V,
2555
2585
  menuExtraRender: _,
2556
- menuFooterRender: z,
2557
- collapsedButtonRender: c
2586
+ menuFooterRender: D,
2587
+ collapsedButtonRender: m
2558
2588
  }), null), o(de, {
2559
- style: p
2589
+ style: y
2560
2590
  }, {
2561
- default: () => [B.value, o(Ge, X({
2591
+ default: () => [B.value, o(Ye, X({
2562
2592
  hashId: i.value,
2563
- isMobile: l.value,
2593
+ isMobile: r.value,
2564
2594
  prefixCls: n,
2565
2595
  collapsedWidth: e.collapsedWidth,
2566
2596
  isChildrenLayout: e.isChildrenLayout,
@@ -2575,23 +2605,23 @@ const {
2575
2605
  }
2576
2606
  }, ae(e, ["onReloadPage", "onChangeTabs"])), {
2577
2607
  default: () => {
2578
- var G;
2579
- return [(G = t.default) == null ? void 0 : G.call(t)];
2608
+ var N;
2609
+ return [(N = t.default) == null ? void 0 : N.call(t)];
2580
2610
  }
2581
- }), x === !1 ? null : x ? x(e) : o(Te, {
2582
- copyright: F
2611
+ }), C === !1 ? null : C ? C(e) : o(Te, {
2612
+ copyright: T
2583
2613
  }, null)]
2584
2614
  })]
2585
2615
  })])]));
2586
2616
  };
2587
2617
  }
2588
- }), bl = /* @__PURE__ */ H({
2618
+ }), vl = /* @__PURE__ */ H({
2589
2619
  components: {
2590
- GlobalHeader: Pe,
2620
+ GlobalHeader: Fe,
2591
2621
  GlobalFooter: Te,
2592
2622
  SiderMenuWrapper: $e
2593
2623
  },
2594
- props: $t,
2624
+ props: kt,
2595
2625
  emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
2596
2626
  setup(e, {
2597
2627
  slots: t,
@@ -2599,12 +2629,12 @@ const {
2599
2629
  }) {
2600
2630
  const a = w(() => e.theme !== void 0 ? {
2601
2631
  dark: e.theme === "realDark"
2602
- } : {}), i = (m) => {
2603
- n("update:collapsed", m), n("collapse", m);
2604
- }, r = (m) => {
2605
- n("update:open-keys", m), n("openKeys", m);
2606
- }, d = (m) => {
2607
- n("update:selected-keys", m), n("select", m);
2632
+ } : {}), i = (u) => {
2633
+ n("update:collapsed", u), n("collapse", u);
2634
+ }, l = (u) => {
2635
+ n("update:open-keys", u), n("openKeys", u);
2636
+ }, s = (u) => {
2637
+ n("update:selected-keys", u), n("select", u);
2608
2638
  };
2609
2639
  return () => o(Ne, {
2610
2640
  theme: e.primaryColor ? {
@@ -2613,24 +2643,28 @@ const {
2613
2643
  }
2614
2644
  } : void 0
2615
2645
  }, {
2616
- default: () => [o(fn, X({
2646
+ default: () => [o(mn, X({
2617
2647
  token: e.token
2618
2648
  }, a.value), {
2619
- default: () => [o(qa, X(Ee(e, ["onSelect", "onOpenKeys", "onCollapse"]), {
2620
- onSelect: d,
2621
- onOpenKeys: r,
2649
+ default: () => [o(Za, X(je(e, ["onSelect", "onOpenKeys", "onCollapse"]), {
2650
+ onSelect: s,
2651
+ onOpenKeys: l,
2622
2652
  onCollapse: i
2623
2653
  }), t)]
2624
2654
  })]
2625
2655
  });
2626
2656
  }
2627
- }), Nt = (e, t) => e.map((n) => (n.path = n.path.replace("//", "/"), n.path = Ct(n.path, n.meta), n.children && n.children.length > 0 && (n.children = Nt(n.children, t)), t[`${n.path}`] = n, n)), pl = (e) => {
2628
- const t = e.find((a) => a.path === "/"), n = {};
2657
+ }), zt = (e, t, n) => e.map((a, i) => {
2658
+ var l;
2659
+ return a.meta && (a.meta.key = n ? `${n}-${i}` : `${i}`), a.path = Fn(a.path.replace("//", "/"), a.meta), 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;
2660
+ }), xl = (e) => {
2661
+ const t = e.find((i) => i.path === "/"), n = {}, a = zt((t == null ? void 0 : t.children) || [], n);
2629
2662
  return {
2630
- menuData: Nt((t == null ? void 0 : t.children) || [], n),
2631
- breadcrumb: n
2663
+ menuData: a,
2664
+ breadcrumb: n,
2665
+ levelMenuData: bn(a)
2632
2666
  };
2633
- }, Ht = [
2667
+ }, Nt = [
2634
2668
  {
2635
2669
  key: "light",
2636
2670
  title: "亮色菜单风格"
@@ -2643,7 +2677,7 @@ const {
2643
2677
  key: "realDark",
2644
2678
  title: "暗黑模式"
2645
2679
  }
2646
- ], _t = [
2680
+ ], Ht = [
2647
2681
  {
2648
2682
  key: "side",
2649
2683
  title: "侧边菜单布局"
@@ -2660,7 +2694,7 @@ const {
2660
2694
  key: "simple",
2661
2695
  title: "简单菜单布局"
2662
2696
  }
2663
- ], Za = [
2697
+ ], Ja = [
2664
2698
  {
2665
2699
  key: "header",
2666
2700
  title: "顶部主题"
@@ -2669,7 +2703,7 @@ const {
2669
2703
  key: "sider",
2670
2704
  title: "左侧主题"
2671
2705
  }
2672
- ], Ja = (e) => ({
2706
+ ], Qa = (e) => ({
2673
2707
  [e.componentCls]: {
2674
2708
  [`${e.antCls}-drawer-content-wrapper`]: {
2675
2709
  transform: "translate(100%)",
@@ -2834,7 +2868,7 @@ const {
2834
2868
  }
2835
2869
  }
2836
2870
  }
2837
- }), lt = /* @__PURE__ */ H({
2871
+ }), rt = /* @__PURE__ */ H({
2838
2872
  name: "BlockCheckbox",
2839
2873
  props: {
2840
2874
  value: L.string,
@@ -2864,7 +2898,7 @@ const {
2864
2898
  }
2865
2899
  }, [n.key === "wide" && o("div", {
2866
2900
  class: [`${t}-item-${n.key}-content`, e.hashId]
2867
- }, null), o(gt, {
2901
+ }, null), o(yt, {
2868
2902
  class: `${t}-selectIcon ${e.hashId}`.trim(),
2869
2903
  style: {
2870
2904
  display: e.value === n.key ? "block" : "none"
@@ -2875,7 +2909,7 @@ const {
2875
2909
  }))]);
2876
2910
  };
2877
2911
  }
2878
- }), Qa = /* @__PURE__ */ H({
2912
+ }), eo = /* @__PURE__ */ H({
2879
2913
  name: "ThemeColor",
2880
2914
  inheritAttrs: !1,
2881
2915
  props: {
@@ -2897,20 +2931,20 @@ const {
2897
2931
  }, [(n = e.colorList) == null ? void 0 : n.map(({
2898
2932
  key: a,
2899
2933
  color: i,
2900
- title: r
2934
+ title: l
2901
2935
  }) => a ? o(Oe, {
2902
2936
  key: i,
2903
- title: r
2937
+ title: l
2904
2938
  }, {
2905
2939
  default: () => {
2906
- var d, m;
2940
+ var s, u;
2907
2941
  return [o("div", {
2908
- class: [`${t}-block ${e.hashId}`.trim(), ((d = e.settingValue) == null ? void 0 : d.primaryColor) === i ? `${t}-block-checked` : ""],
2942
+ class: [`${t}-block ${e.hashId}`.trim(), ((s = e.settingValue) == null ? void 0 : s.primaryColor) === i ? `${t}-block-checked` : ""],
2909
2943
  style: {
2910
2944
  backgroundColor: i
2911
2945
  },
2912
2946
  onClick: () => e.onChange && e.onChange(i)
2913
- }, [((m = e.settingValue) == null ? void 0 : m.primaryColor) === i && o(gt, null, null)])];
2947
+ }, [((u = e.settingValue) == null ? void 0 : u.primaryColor) === i && o(yt, null, null)])];
2914
2948
  }
2915
2949
  }) : null)])]);
2916
2950
  };
@@ -2949,7 +2983,7 @@ const {
2949
2983
  }),
2950
2984
  dataSource: [{
2951
2985
  title: e.label,
2952
- action: o(ft, {
2986
+ action: o(ht, {
2953
2987
  size: "small",
2954
2988
  disabled: e.disabled,
2955
2989
  checked: !!e.value,
@@ -2960,7 +2994,7 @@ const {
2960
2994
  }]
2961
2995
  }, null);
2962
2996
  }
2963
- }), eo = (e) => ({
2997
+ }), to = (e) => ({
2964
2998
  [e.componentCls]: {
2965
2999
  padding: e.marginLG,
2966
3000
  "&-title": {
@@ -2991,10 +3025,10 @@ const {
2991
3025
  }
2992
3026
  }
2993
3027
  });
2994
- function to(e) {
3028
+ function no(e) {
2995
3029
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ne(e);
2996
3030
  }
2997
- const no = /* @__PURE__ */ H({
3031
+ const ao = /* @__PURE__ */ H({
2998
3032
  name: "ThemeEditor",
2999
3033
  props: {
3000
3034
  settingValue: Object,
@@ -3007,23 +3041,23 @@ const no = /* @__PURE__ */ H({
3007
3041
  suffixCls: "theme-editor",
3008
3042
  isPor: !0
3009
3043
  }), {
3010
- wrapSSR: r,
3011
- hashId: d
3012
- } = Z("ProThemeEditor", [eo], i), {
3013
- token: m
3014
- } = Me(), b = w(() => {
3015
- var l;
3016
- return (l = m.value) == null ? void 0 : l.layout;
3017
- }), h = w(() => {
3018
- var l, p, I, M, g, c, f, v, T, x, O, F, R, D, _, N, z, y, C, $, B, P, j, W, E;
3044
+ wrapSSR: l,
3045
+ hashId: s
3046
+ } = Z("ProThemeEditor", [to], i), {
3047
+ token: u
3048
+ } = Me(), v = w(() => {
3049
+ var r;
3050
+ return (r = u.value) == null ? void 0 : r.layout;
3051
+ }), c = w(() => {
3052
+ var r, y, I, R, x, m, g, b, $, C, M, T, P, F, _, V, D, Y, f, S, B, k, z, j, E;
3019
3053
  return [{
3020
3054
  key: "colorBgMenu",
3021
3055
  title: "全部背景",
3022
- disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["mix", "wide"].includes((p = e.settingValue) == null ? void 0 : p.layout)
3056
+ disabled: ((r = e.settingValue) == null ? void 0 : r.theme) === "dark" && ["mix", "wide"].includes((y = e.settingValue) == null ? void 0 : y.layout)
3023
3057
  }, {
3024
3058
  key: "colorDarkBgMenu",
3025
3059
  title: "全部背景",
3026
- 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)
3060
+ disabled: ((I = e.settingValue) == null ? void 0 : I.theme) === "light" || ((R = e.settingValue) == null ? void 0 : R.theme) === "dark" && ["side", "simple"].includes((x = e.settingValue) == null ? void 0 : x.layout)
3027
3061
  }, {
3028
3062
  key: "colorSubItemBg",
3029
3063
  title: "子菜单背景",
@@ -3035,180 +3069,180 @@ const no = /* @__PURE__ */ H({
3035
3069
  }, {
3036
3070
  key: "colorBgMenuItemSelected",
3037
3071
  title: "菜单选中背景",
3038
- disabled: ((c = e.settingValue) == null ? void 0 : c.theme) === "dark" && ["mix", "wide"].includes((f = e.settingValue) == null ? void 0 : f.layout)
3072
+ disabled: ((m = e.settingValue) == null ? void 0 : m.theme) === "dark" && ["mix", "wide"].includes((g = e.settingValue) == null ? void 0 : g.layout)
3039
3073
  }, {
3040
3074
  key: "colorDarkBgMenuItemSelected",
3041
3075
  title: "菜单选中背景",
3042
- 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)
3076
+ disabled: ((b = e.settingValue) == null ? void 0 : b.theme) === "light" || (($ = e.settingValue) == null ? void 0 : $.theme) === "dark" && ["side", "simple"].includes((C = e.settingValue) == null ? void 0 : C.layout)
3043
3077
  }, {
3044
3078
  key: "colorTextMenu",
3045
3079
  title: "菜单文字颜色",
3046
- disabled: ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ["mix", "wide"].includes((F = e.settingValue) == null ? void 0 : F.layout)
3080
+ disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "dark" && ["mix", "wide"].includes((T = e.settingValue) == null ? void 0 : T.layout)
3047
3081
  }, {
3048
3082
  key: "colorDarkTextMenu",
3049
3083
  title: "菜单文字颜色",
3050
- 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)
3084
+ disabled: ((P = e.settingValue) == null ? void 0 : P.theme) === "light" || ((F = e.settingValue) == null ? void 0 : F.theme) === "dark" && ["side", "simple"].includes((_ = e.settingValue) == null ? void 0 : _.layout)
3051
3085
  }, {
3052
3086
  key: "colorTextMenuHover",
3053
3087
  title: "菜单文字移入颜色",
3054
- disabled: ((N = e.settingValue) == null ? void 0 : N.theme) === "dark" && ["mix", "wide"].includes((z = e.settingValue) == null ? void 0 : z.layout)
3088
+ disabled: ((V = e.settingValue) == null ? void 0 : V.theme) === "dark" && ["mix", "wide"].includes((D = e.settingValue) == null ? void 0 : D.layout)
3055
3089
  }, {
3056
3090
  key: "colorDarkTextMenuHover",
3057
3091
  title: "菜单文字移入颜色",
3058
- 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)
3092
+ disabled: ((Y = e.settingValue) == null ? void 0 : Y.theme) === "light" || ((f = e.settingValue) == null ? void 0 : f.theme) === "dark" && ["side", "simple"].includes((S = e.settingValue) == null ? void 0 : S.layout)
3059
3093
  }, {
3060
3094
  key: "colorTextMenuSelected",
3061
3095
  title: "菜单文字选中颜色",
3062
- disabled: ((B = e.settingValue) == null ? void 0 : B.theme) === "dark" && ["mix", "wide"].includes((P = e.settingValue) == null ? void 0 : P.layout)
3096
+ disabled: ((B = e.settingValue) == null ? void 0 : B.theme) === "dark" && ["mix", "wide"].includes((k = e.settingValue) == null ? void 0 : k.layout)
3063
3097
  }, {
3064
3098
  key: "colorDarkTextMenuSelected",
3065
3099
  title: "菜单文字选中颜色",
3066
- 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)
3100
+ disabled: ((z = e.settingValue) == null ? void 0 : z.theme) === "light" || ((j = e.settingValue) == null ? void 0 : j.theme) === "dark" && ["side", "simple"].includes((E = e.settingValue) == null ? void 0 : E.layout)
3067
3101
  }];
3068
- }), S = w(() => {
3069
- 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, Ye, qe, Ze, Je;
3102
+ }), O = w(() => {
3103
+ var r, y, I, R, x, m, g, b, $, C, M, T, P, F, _, V, D, Y, f, S, B, k, z, j, E, W, N, fe, qe, Ze, Je, Qe;
3070
3104
  return [{
3071
3105
  key: "colorBgMenu",
3072
3106
  title: "全部背景",
3073
- disabled: ((l = e.settingValue) == null ? void 0 : l.theme) === "dark" && ["side", "simple"].includes((p = e.settingValue) == null ? void 0 : p.layout)
3107
+ disabled: ((r = e.settingValue) == null ? void 0 : r.theme) === "dark" && ["side", "simple"].includes((y = e.settingValue) == null ? void 0 : y.layout)
3074
3108
  }, {
3075
3109
  key: "colorDarkBgMenu",
3076
3110
  title: "全部背景",
3077
- 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)
3111
+ disabled: ((I = e.settingValue) == null ? void 0 : I.theme) === "light" || ((R = e.settingValue) == null ? void 0 : R.theme) === "dark" && ["mix", "wide"].includes((x = e.settingValue) == null ? void 0 : x.layout)
3078
3112
  }, {
3079
3113
  key: "colorSubItemBg",
3080
3114
  title: "子菜单背景",
3081
- disabled: ((c = e.settingValue) == null ? void 0 : c.theme) === "dark" && ["side", "simple"].includes((f = e.settingValue) == null ? void 0 : f.layout)
3115
+ disabled: ((m = e.settingValue) == null ? void 0 : m.theme) === "dark" && ["side", "simple"].includes((g = e.settingValue) == null ? void 0 : g.layout)
3082
3116
  }, {
3083
3117
  key: "colorDarkSubItemBg",
3084
3118
  title: "子菜单背景",
3085
- 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)
3119
+ disabled: ((b = e.settingValue) == null ? void 0 : b.theme) === "light" || (($ = e.settingValue) == null ? void 0 : $.theme) === "dark" && ["mix", "wide"].includes((C = e.settingValue) == null ? void 0 : C.layout)
3086
3120
  }, {
3087
3121
  key: "colorBgMenuItemHover",
3088
3122
  title: "菜单移入背景",
3089
- disabled: ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ((F = e.settingValue) == null ? void 0 : F.layout) !== "mix"
3123
+ disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "dark" && ((T = e.settingValue) == null ? void 0 : T.layout) !== "mix"
3090
3124
  }, {
3091
3125
  key: "colorBgMenuItemSelected",
3092
3126
  title: "菜单选中背景",
3093
- disabled: ((R = e.settingValue) == null ? void 0 : R.theme) === "dark" && ((D = e.settingValue) == null ? void 0 : D.layout) !== "mix"
3127
+ disabled: ((P = e.settingValue) == null ? void 0 : P.theme) === "dark" && ((F = e.settingValue) == null ? void 0 : F.layout) !== "mix"
3094
3128
  }, {
3095
3129
  key: "colorDarkBgMenuItemSelected",
3096
3130
  title: "菜单选中背景",
3097
- disabled: ((_ = e.settingValue) == null ? void 0 : _.theme) === "light" || ((N = e.settingValue) == null ? void 0 : N.theme) === "dark" && ["mix", "wide"].includes((z = e.settingValue) == null ? void 0 : z.layout)
3131
+ disabled: ((_ = e.settingValue) == null ? void 0 : _.theme) === "light" || ((V = e.settingValue) == null ? void 0 : V.theme) === "dark" && ["mix", "wide"].includes((D = e.settingValue) == null ? void 0 : D.layout)
3098
3132
  }, {
3099
3133
  key: "colorTextMenu",
3100
3134
  title: "菜单文字颜色",
3101
- disabled: ((y = e.settingValue) == null ? void 0 : y.theme) === "dark" && ((C = e.settingValue) == null ? void 0 : C.layout) !== "mix"
3135
+ disabled: ((Y = e.settingValue) == null ? void 0 : Y.theme) === "dark" && ((f = e.settingValue) == null ? void 0 : f.layout) !== "mix"
3102
3136
  }, {
3103
3137
  key: "colorDarkTextMenu",
3104
3138
  title: "菜单文字颜色",
3105
- 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)
3139
+ disabled: ((S = e.settingValue) == null ? void 0 : S.theme) === "light" || ((B = e.settingValue) == null ? void 0 : B.theme) === "dark" && ["mix", "wide"].includes((k = e.settingValue) == null ? void 0 : k.layout)
3106
3140
  }, {
3107
3141
  key: "colorTextMenuHover",
3108
3142
  title: "菜单文字移入颜色",
3109
- disabled: ((j = e.settingValue) == null ? void 0 : j.theme) === "dark" && ((W = e.settingValue) == null ? void 0 : W.layout) !== "mix"
3143
+ disabled: ((z = e.settingValue) == null ? void 0 : z.theme) === "dark" && ((j = e.settingValue) == null ? void 0 : j.layout) !== "mix"
3110
3144
  }, {
3111
3145
  key: "colorDarkTextMenuHover",
3112
3146
  title: "菜单文字移入颜色",
3113
- disabled: ((E = e.settingValue) == null ? void 0 : E.theme) === "light" || ((V = e.settingValue) == null ? void 0 : V.theme) === "dark" && ["mix", "wide"].includes((G = e.settingValue) == null ? void 0 : G.layout)
3147
+ disabled: ((E = e.settingValue) == null ? void 0 : E.theme) === "light" || ((W = e.settingValue) == null ? void 0 : W.theme) === "dark" && ["mix", "wide"].includes((N = e.settingValue) == null ? void 0 : N.layout)
3114
3148
  }, {
3115
3149
  key: "colorTextMenuSelected",
3116
3150
  title: "菜单文字选中颜色",
3117
- disabled: ((fe = e.settingValue) == null ? void 0 : fe.theme) === "dark" && ((Ye = e.settingValue) == null ? void 0 : Ye.layout) !== "mix"
3151
+ disabled: ((fe = e.settingValue) == null ? void 0 : fe.theme) === "dark" && ((qe = e.settingValue) == null ? void 0 : qe.layout) !== "mix"
3118
3152
  }, {
3119
3153
  key: "colorDarkTextMenuSelected",
3120
3154
  title: "菜单文字选中颜色",
3121
- disabled: ((qe = e.settingValue) == null ? void 0 : qe.theme) === "light" || ((Ze = e.settingValue) == null ? void 0 : Ze.theme) === "dark" && ["mix", "wide"].includes((Je = e.settingValue) == null ? void 0 : Je.layout)
3155
+ 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)
3122
3156
  }];
3123
- }), s = w(() => n.value === "header" ? h.value : n.value === "sider" ? S.value : []), k = (l) => {
3124
- var p, I;
3125
- return (I = (p = b.value) == null ? void 0 : p[n.value]) == null ? void 0 : I[l];
3157
+ }), h = w(() => n.value === "header" ? c.value : n.value === "sider" ? O.value : []), p = (r) => {
3158
+ var y, I;
3159
+ return (I = (y = v.value) == null ? void 0 : y[n.value]) == null ? void 0 : I[r];
3126
3160
  };
3127
3161
  return () => {
3128
- var p, I, M;
3129
- let l;
3130
- return r(o("div", {
3131
- class: [i, d.value]
3162
+ var y, I, R;
3163
+ let r;
3164
+ return l(o("div", {
3165
+ class: [i, s.value]
3132
3166
  }, [o("h3", {
3133
- class: [`${i}-title`, d.value]
3167
+ class: [`${i}-title`, s.value]
3134
3168
  }, [Q("主题编辑器"), o("div", {
3135
- class: [`${i}-sub-title`, d.value]
3136
- }, [o("span", null, [(p = Ht.find((g) => {
3137
- var c;
3138
- return g.key === ((c = e.settingValue) == null ? void 0 : c.theme);
3139
- })) == null ? void 0 : p.title]), o("span", {
3169
+ class: [`${i}-sub-title`, s.value]
3170
+ }, [o("span", null, [(y = Nt.find((x) => {
3171
+ var m;
3172
+ return x.key === ((m = e.settingValue) == null ? void 0 : m.theme);
3173
+ })) == null ? void 0 : y.title]), o("span", {
3140
3174
  style: {
3141
3175
  marginInline: "8px"
3142
3176
  }
3143
- }, [Q("/")]), o("span", null, [(I = _t.find((g) => {
3144
- var c;
3145
- return g.key === ((c = e.settingValue) == null ? void 0 : c.layout);
3177
+ }, [Q("/")]), o("span", null, [(I = Ht.find((x) => {
3178
+ var m;
3179
+ return x.key === ((m = e.settingValue) == null ? void 0 : m.layout);
3146
3180
  })) == null ? void 0 : I.title])])]), o("div", {
3147
- class: [`${i}-content`, d.value]
3181
+ class: [`${i}-content`, s.value]
3148
3182
  }, [o(te, {
3149
- class: `${i}-list ${d.value}`.trim(),
3183
+ class: `${i}-list ${s.value}`.trim(),
3150
3184
  split: !1,
3151
3185
  size: "small",
3152
3186
  renderItem: ({
3153
- item: g
3187
+ item: x
3154
3188
  }) => o(te.Item, {
3155
- actions: [g.action]
3189
+ actions: [x.action]
3156
3190
  }, {
3157
3191
  default: () => [o("span", {
3158
3192
  style: {
3159
- opacity: g.disabled ? 0.5 : 1
3193
+ opacity: x.disabled ? 0.5 : 1
3160
3194
  }
3161
- }, [g.title])]
3195
+ }, [x.title])]
3162
3196
  }),
3163
3197
  dataSource: [{
3164
3198
  title: "自定义主题色",
3165
- action: o(et, {
3166
- value: (M = e.settingValue) == null ? void 0 : M.primaryColor,
3199
+ action: o(tt, {
3200
+ value: (R = e.settingValue) == null ? void 0 : R.primaryColor,
3167
3201
  actions: ["confirm"],
3168
3202
  modes: ["rgb"],
3169
3203
  size: "small",
3170
- onConfirm: (g) => e.onChange && e.onChange(g, "primaryColor")
3204
+ onConfirm: (x) => e.onChange && e.onChange(x, "primaryColor")
3171
3205
  }, null)
3172
3206
  }]
3173
3207
  }, null), o(He, {
3174
3208
  activeKey: n.value,
3175
3209
  onChange: a
3176
- }, to(l = Za.map((g) => o(Jt, {
3177
- key: g.key,
3178
- tab: g.title
3210
+ }, no(r = Ja.map((x) => o(Zt, {
3211
+ key: x.key,
3212
+ tab: x.title
3179
3213
  }, {
3180
3214
  default: () => [o(te, {
3181
- class: `${i}-list ${d.value}`.trim(),
3215
+ class: `${i}-list ${s.value}`.trim(),
3182
3216
  split: !1,
3183
3217
  size: "small",
3184
3218
  renderItem: ({
3185
- item: c
3219
+ item: m
3186
3220
  }) => o(te.Item, {
3187
- actions: [c.action]
3221
+ actions: [m.action]
3188
3222
  }, {
3189
3223
  default: () => [o("span", {
3190
3224
  style: {
3191
- opacity: c.disabled ? 0.5 : 1
3225
+ opacity: m.disabled ? 0.5 : 1
3192
3226
  }
3193
- }, [c.title])]
3227
+ }, [m.title])]
3194
3228
  }),
3195
- dataSource: s.value.filter((c) => !c.disabled).map((c) => ({
3196
- ...c,
3197
- action: o(et, {
3198
- value: k(c.key),
3229
+ dataSource: h.value.filter((m) => !m.disabled).map((m) => ({
3230
+ ...m,
3231
+ action: o(tt, {
3232
+ value: p(m.key),
3199
3233
  actions: ["confirm"],
3200
3234
  modes: ["rgb"],
3201
3235
  size: "small",
3202
- onConfirm: (f) => e.onChange && e.onChange(f, n.value, c.key)
3236
+ onConfirm: (g) => e.onChange && e.onChange(g, n.value, m.key)
3203
3237
  }, null)
3204
3238
  }))
3205
3239
  }, null)]
3206
- }))) ? l : {
3207
- default: () => [l]
3240
+ }))) ? r : {
3241
+ default: () => [r]
3208
3242
  })])]));
3209
3243
  };
3210
3244
  }
3211
- }), ao = (e) => ({
3245
+ }), oo = (e) => ({
3212
3246
  [e.componentCls]: {
3213
3247
  padding: e.marginLG,
3214
3248
  "&-title": {
@@ -3239,12 +3273,12 @@ const no = /* @__PURE__ */ H({
3239
3273
  }
3240
3274
  }
3241
3275
  });
3242
- function rt(e) {
3276
+ function st(e) {
3243
3277
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ne(e);
3244
3278
  }
3245
3279
  const {
3246
- preset: st
3247
- } = We, oo = /* @__PURE__ */ H({
3280
+ preset: ut
3281
+ } = Ke, io = /* @__PURE__ */ H({
3248
3282
  name: "OthersChange",
3249
3283
  props: {
3250
3284
  prefixCls: L.string,
@@ -3258,9 +3292,9 @@ const {
3258
3292
  }), {
3259
3293
  wrapSSR: n,
3260
3294
  hashId: a
3261
- } = Z("SettingsDrawOthers", [ao], t);
3295
+ } = Z("SettingsDrawOthers", [oo], t);
3262
3296
  return () => {
3263
- var r, d, m, b, h, S, s, k, l, p, I, M, g, c;
3297
+ var l, s, u, v, c, O, h, p, r, y, I, R, x, m;
3264
3298
  let i;
3265
3299
  return n(o("div", {
3266
3300
  class: [t, a.value]
@@ -3271,58 +3305,58 @@ const {
3271
3305
  split: !1,
3272
3306
  size: "small",
3273
3307
  renderItem: ({
3274
- item: f
3308
+ item: g
3275
3309
  }) => o(Oe, {
3276
- title: f.disabled ? f.disabledReason : "",
3310
+ title: g.disabled ? g.disabledReason : "",
3277
3311
  placement: "left"
3278
3312
  }, {
3279
3313
  default: () => [o(te.Item, {
3280
- actions: [f.action]
3314
+ actions: [g.action]
3281
3315
  }, {
3282
3316
  default: () => [o("span", {
3283
3317
  style: {
3284
- opacity: f.disabled ? 0.5 : 1
3318
+ opacity: g.disabled ? 0.5 : 1
3285
3319
  }
3286
- }, [f.title])]
3320
+ }, [g.title])]
3287
3321
  })]
3288
3322
  }),
3289
3323
  dataSource: [{
3290
3324
  title: "禁用动画",
3291
- action: o(ft, {
3292
- checked: !((d = (r = e.settingValue) == null ? void 0 : r.animate) != null && d.disabled),
3325
+ action: o(ht, {
3326
+ checked: !((s = (l = e.settingValue) == null ? void 0 : l.animate) != null && s.disabled),
3293
3327
  size: "small",
3294
- onChange: (f) => {
3295
- var v;
3296
- return (v = e.onChange) == null ? void 0 : v.call(e, "animate", "disabled", !f);
3328
+ onChange: (g) => {
3329
+ var b;
3330
+ return (b = e.onChange) == null ? void 0 : b.call(e, "animate", "disabled", !g);
3297
3331
  }
3298
3332
  }, null)
3299
3333
  }, {
3300
3334
  title: "动画效果",
3301
- disabled: (b = (m = e.settingValue) == null ? void 0 : m.animate) == null ? void 0 : b.disabled,
3335
+ disabled: (v = (u = e.settingValue) == null ? void 0 : u.animate) == null ? void 0 : v.disabled,
3302
3336
  action: o(he, {
3303
- value: (S = (h = e.settingValue) == null ? void 0 : h.animate) == null ? void 0 : S.name,
3337
+ value: (O = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : O.name,
3304
3338
  style: {
3305
3339
  width: "100px"
3306
3340
  },
3307
3341
  size: "small",
3308
- disabled: (k = (s = e.settingValue) == null ? void 0 : s.animate) == null ? void 0 : k.disabled,
3309
- getPopupContainer: (f) => f && f.parentNode ? f.parentNode : f,
3310
- onChange: (f) => {
3311
- var v;
3312
- return (v = e.onChange) == null ? void 0 : v.call(e, "animate", "name", f);
3342
+ disabled: (p = (h = e.settingValue) == null ? void 0 : h.animate) == null ? void 0 : p.disabled,
3343
+ getPopupContainer: (g) => g && g.parentNode ? g.parentNode : g,
3344
+ onChange: (g) => {
3345
+ var b;
3346
+ return (b = e.onChange) == null ? void 0 : b.call(e, "animate", "name", g);
3313
3347
  }
3314
- }, rt(i = st.map((f) => o(he.Option, {
3315
- value: f.name
3348
+ }, st(i = ut.map((g) => o(he.Option, {
3349
+ value: g.name
3316
3350
  }, {
3317
- default: () => [f.alias]
3351
+ default: () => [g.alias]
3318
3352
  }))) ? i : {
3319
3353
  default: () => [i]
3320
3354
  })
3321
3355
  }, {
3322
3356
  title: "动画方向",
3323
- disabled: (p = (l = e.settingValue) == null ? void 0 : l.animate) == null ? void 0 : p.disabled,
3357
+ disabled: (y = (r = e.settingValue) == null ? void 0 : r.animate) == null ? void 0 : y.disabled,
3324
3358
  action: o(he, {
3325
- value: (M = (I = e.settingValue) == null ? void 0 : I.animate) == null ? void 0 : M.direction,
3359
+ value: (R = (I = e.settingValue) == null ? void 0 : I.animate) == null ? void 0 : R.direction,
3326
3360
  style: {
3327
3361
  width: "100px"
3328
3362
  },
@@ -3330,22 +3364,22 @@ const {
3330
3364
  dropdownStyle: {
3331
3365
  minWidth: "120px"
3332
3366
  },
3333
- disabled: (c = (g = e.settingValue) == null ? void 0 : g.animate) == null ? void 0 : c.disabled,
3334
- getPopupContainer: (f) => f && f.parentNode ? f.parentNode : f,
3335
- onChange: (f) => {
3336
- var v;
3337
- return (v = e.onChange) == null ? void 0 : v.call(e, "animate", "direction", f);
3367
+ disabled: (m = (x = e.settingValue) == null ? void 0 : x.animate) == null ? void 0 : m.disabled,
3368
+ getPopupContainer: (g) => g && g.parentNode ? g.parentNode : g,
3369
+ onChange: (g) => {
3370
+ var b;
3371
+ return (b = e.onChange) == null ? void 0 : b.call(e, "animate", "direction", g);
3338
3372
  }
3339
3373
  }, {
3340
3374
  default: () => {
3341
- var f;
3342
- return [(f = st.find((v) => {
3343
- var T, x;
3344
- return v.name === ((x = (T = e.settingValue) == null ? void 0 : T.animate) == null ? void 0 : x.name);
3345
- })) == null ? void 0 : f.directions.map((v) => o(he.Option, {
3346
- value: v
3347
- }, rt(v) ? v : {
3348
- default: () => [v]
3375
+ var g;
3376
+ return [(g = ut.find((b) => {
3377
+ var $, C;
3378
+ return b.name === ((C = ($ = e.settingValue) == null ? void 0 : $.animate) == null ? void 0 : C.name);
3379
+ })) == null ? void 0 : g.directions.map((b) => o(he.Option, {
3380
+ value: b
3381
+ }, st(b) ? b : {
3382
+ default: () => [b]
3349
3383
  }))];
3350
3384
  }
3351
3385
  })
@@ -3354,11 +3388,11 @@ const {
3354
3388
  };
3355
3389
  }
3356
3390
  }), {
3357
- preset: io
3358
- } = We, Le = Object.keys(A).filter((e) => e !== "title"), ut = {
3391
+ preset: lo
3392
+ } = Ke, Le = Object.keys(A).filter((e) => e !== "title"), dt = {
3359
3393
  color: "#fff",
3360
3394
  fontSize: 20
3361
- }, lo = [{
3395
+ }, ro = [{
3362
3396
  label: "fixedHeader",
3363
3397
  title: "固定 Header"
3364
3398
  }, {
@@ -3367,16 +3401,16 @@ const {
3367
3401
  }, {
3368
3402
  label: "splitMenus",
3369
3403
  title: "自动分割菜单"
3370
- }], ro = [{
3404
+ }], so = [{
3371
3405
  label: "showTabsBar",
3372
3406
  title: "多标签"
3373
3407
  }, {
3374
3408
  label: "fixedMultiTab",
3375
3409
  title: "固定多标签"
3376
- }], dt = (e) => vn() ? {
3410
+ }], ct = (e) => vn() ? {
3377
3411
  ...ae(A, Le),
3378
3412
  ...e || {}
3379
- } : yt(A), ye = (e, {
3413
+ } : Ee(A), ye = (e, {
3380
3414
  slots: t
3381
3415
  }) => {
3382
3416
  var n;
@@ -3387,7 +3421,7 @@ const {
3387
3421
  }, [o("h3", {
3388
3422
  class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
3389
3423
  }, [e.title]), (n = t.default) == null ? void 0 : n.call(t)]);
3390
- }, vl = /* @__PURE__ */ H({
3424
+ }, Cl = /* @__PURE__ */ H({
3391
3425
  name: "SettingDrawer",
3392
3426
  props: {
3393
3427
  themeOnly: Boolean,
@@ -3400,7 +3434,7 @@ const {
3400
3434
  },
3401
3435
  colorList: {
3402
3436
  type: [Boolean, Array],
3403
- default: () => hn
3437
+ default: () => fn
3404
3438
  },
3405
3439
  onChange: Function,
3406
3440
  onChangeLayout: Function
@@ -3415,42 +3449,42 @@ const {
3415
3449
  }), {
3416
3450
  wrapSSR: a,
3417
3451
  hashId: i
3418
- } = Z("ProSettingDraw", [Ja], n), r = ve(!1), [d, m] = pe(!1), [b, h] = pe(!1), [S, s] = pe(!1), k = w(() => dt(ae(e.settings, Le))), [l, p] = wn(() => dt(ae(e.settings, Le)), {
3419
- value: k,
3452
+ } = Z("ProSettingDraw", [Qa], n), l = ve(!1), [s, u] = pe(!1), [v, c] = pe(!1), [O, h] = pe(!1), p = w(() => ct(ae(e.settings, Le))), [r, y] = wn(() => ct(ae(e.settings, Le)), {
3453
+ value: p,
3420
3454
  onChange: e.onChange
3421
- }), I = w(() => e.colorList && pn(e.colorList) ? e.colorList : []), M = w(() => Hn(U(l))), {
3422
- copy: g,
3423
- copied: c,
3424
- isSupported: f
3455
+ }), I = w(() => e.colorList && pn(e.colorList) ? e.colorList : []), R = w(() => _n(U(r))), {
3456
+ copy: x,
3457
+ copied: m,
3458
+ isSupported: g
3425
3459
  } = In();
3426
- le(d, () => {
3427
- r.value || (r.value = !0);
3460
+ le(s, () => {
3461
+ l.value || (l.value = !0);
3428
3462
  });
3429
- const v = (x, O, F) => {
3430
- var _, N;
3431
- const R = ["header", "sider"], D = {};
3432
- if (F && R.includes(x)) {
3433
- D[x] = {}, D[x][F] = O, e.onChangeLayout && e.onChangeLayout(ae(D, R));
3463
+ const b = (C, M, T) => {
3464
+ var _, V;
3465
+ const P = ["header", "sider"], F = {};
3466
+ if (T && P.includes(C)) {
3467
+ F[C] = {}, F[C][T] = M, e.onChangeLayout && e.onChangeLayout(ae(F, P));
3434
3468
  return;
3435
3469
  } else
3436
- 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;
3437
- if (x === "colorWeak") {
3438
- const z = document.querySelector("body");
3439
- 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);
3470
+ C === "animate" ? (F[C] = {}, F[C][T] = M, T === "name" && (F[C].direction = (V = (_ = lo.find((D) => D.name === M)) == null ? void 0 : _.directions) == null ? void 0 : V[0])) : F[C] = M;
3471
+ if (C === "colorWeak") {
3472
+ const D = document.querySelector("body");
3473
+ D && (D.dataset.prosettingdrawer = M === !0 ? D.style.filter : D.dataset.prosettingdrawer || "none", M === !0 && (D.dataset.prosettingdrawer = D.style.filter), D.style.filter = M === !0 ? "invert(80%)" : D.dataset.prosettingdrawer || "none", M || delete D.dataset.prosettingdrawer);
3440
3474
  }
3441
- p(xn(U(l), {
3442
- ...Nn(Ee(D, R))
3475
+ y(xn(U(r), {
3476
+ ...Hn(je(F, P))
3443
3477
  }));
3444
- }, T = () => {
3445
- f.value && g(JSON.stringify(U(l)));
3478
+ }, $ = () => {
3479
+ g.value && x(JSON.stringify(U(r)));
3446
3480
  };
3447
- return le(c, (x) => {
3448
- x && Qt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3481
+ return le(m, (C) => {
3482
+ C && Jt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3449
3483
  }), () => a(o(be, {
3450
3484
  width: 300,
3451
3485
  closable: !1,
3452
- open: d.value,
3453
- rootClassName: `${n} ${i.value} ${d.value && `${n}-show`} ${!r.value && `${n}-trantion-none`}`,
3486
+ open: s.value,
3487
+ rootClassName: `${n} ${i.value} ${s.value && `${n}-show`} ${!l.value && `${n}-trantion-none`}`,
3454
3488
  placement: "right",
3455
3489
  rootStyle: {
3456
3490
  zIndex: 999
@@ -3458,14 +3492,14 @@ const {
3458
3492
  bodyStyle: {
3459
3493
  padding: 0
3460
3494
  },
3461
- onClose: () => m(!1),
3495
+ onClose: () => u(!1),
3462
3496
  handle: o("div", {
3463
3497
  class: [`${n}-handle`, i.value],
3464
- onClick: () => m(!d.value)
3465
- }, [d.value ? o(ht, {
3466
- style: ut
3467
- }, null) : o(dn, {
3468
- style: ut
3498
+ onClick: () => u(!s.value)
3499
+ }, [s.value ? o(gt, {
3500
+ style: dt
3501
+ }, null) : o(un, {
3502
+ style: dt
3469
3503
  }, null)])
3470
3504
  }, {
3471
3505
  default: () => [o("div", {
@@ -3478,14 +3512,14 @@ const {
3478
3512
  hashId: i.value,
3479
3513
  title: "整体风格设置"
3480
3514
  }, {
3481
- default: () => [o(lt, {
3515
+ default: () => [o(rt, {
3482
3516
  hashId: i.value,
3483
3517
  prefixCls: n,
3484
- list: Ht,
3485
- value: l.value.theme,
3518
+ list: Nt,
3519
+ value: r.value.theme,
3486
3520
  configType: "theme",
3487
3521
  key: "navTheme",
3488
- onChange: (x) => v("theme", x)
3522
+ onChange: (C) => b("theme", C)
3489
3523
  }, null)]
3490
3524
  }), o(ye, {
3491
3525
  hashId: i.value,
@@ -3493,42 +3527,42 @@ const {
3493
3527
  style: {
3494
3528
  fontSize: "12px"
3495
3529
  },
3496
- onClick: () => h(!0)
3530
+ onClick: () => c(!0)
3497
3531
  }, [Q("更多配置")])]),
3498
3532
  prefixCls: n
3499
3533
  }, {
3500
- default: () => [o(Qa, {
3534
+ default: () => [o(eo, {
3501
3535
  hashId: i.value,
3502
3536
  prefixCls: n,
3503
3537
  colorList: I.value,
3504
- settingValue: l.value,
3505
- onChange: (x, O) => v(O || "primaryColor", x)
3538
+ settingValue: r.value,
3539
+ onChange: (C, M) => b(M || "primaryColor", C)
3506
3540
  }, null)]
3507
3541
  }), !e.themeOnly && o(q, null, [o(Be, null, null), o(ye, {
3508
3542
  hashId: i.value,
3509
3543
  prefixCls: n,
3510
3544
  title: "导航模式"
3511
3545
  }, {
3512
- default: () => [o(lt, {
3546
+ default: () => [o(rt, {
3513
3547
  prefixCls: n,
3514
- value: U(l).layout,
3548
+ value: U(r).layout,
3515
3549
  key: "layout",
3516
3550
  hashId: i.value,
3517
3551
  configType: "layout",
3518
- list: _t,
3519
- onChange: (x) => v("layout", x)
3552
+ list: Ht,
3553
+ onChange: (C) => b("layout", C)
3520
3554
  }, null)]
3521
- }), lo.map(({
3522
- label: x,
3523
- title: O
3555
+ }), ro.map(({
3556
+ label: C,
3557
+ title: M
3524
3558
  }) => o(ge, {
3525
- label: O,
3526
- disabled: U(M)[x],
3527
- value: U(l)[x],
3559
+ label: M,
3560
+ disabled: U(R)[C],
3561
+ value: U(r)[C],
3528
3562
  prefixCls: n,
3529
3563
  hashId: i.value,
3530
- valueKey: x,
3531
- onChange: (F, R) => v(F, R)
3564
+ valueKey: C,
3565
+ onChange: (T, P) => b(T, P)
3532
3566
  }, null)), o(Be, null, null), o(ye, {
3533
3567
  hashId: i.value,
3534
3568
  prefixCls: n,
@@ -3536,81 +3570,81 @@ const {
3536
3570
  style: {
3537
3571
  fontSize: "12px"
3538
3572
  },
3539
- onClick: () => s(!0)
3573
+ onClick: () => h(!0)
3540
3574
  }, [Q("更多配置")])])
3541
3575
  }, {
3542
- default: () => [ro.map(({
3543
- label: x,
3544
- title: O
3576
+ default: () => [so.map(({
3577
+ label: C,
3578
+ title: M
3545
3579
  }) => o(ge, {
3546
- label: O,
3547
- disabled: U(M)[x],
3548
- value: U(l)[x],
3580
+ label: M,
3581
+ disabled: U(R)[C],
3582
+ value: U(r)[C],
3549
3583
  prefixCls: n,
3550
3584
  hashId: i.value,
3551
- valueKey: x,
3552
- onChange: (F, R) => v(F, R)
3585
+ valueKey: C,
3586
+ onChange: (T, P) => b(T, P)
3553
3587
  }, null)), e.weakmode && o(ge, {
3554
3588
  label: "色弱模式",
3555
- value: U(l).colorWeak,
3589
+ value: U(r).colorWeak,
3556
3590
  prefixCls: n,
3557
3591
  hashId: i.value,
3558
3592
  valueKey: "colorWeak",
3559
- onChange: (x, O) => v(x, O)
3593
+ onChange: (C, M) => b(C, M)
3560
3594
  }, null), e.showProgress && o(ge, {
3561
3595
  label: "顶部进度条",
3562
- value: U(l).showProgressBar,
3596
+ value: U(r).showProgressBar,
3563
3597
  prefixCls: n,
3564
3598
  hashId: i.value,
3565
3599
  valueKey: "showProgressBar",
3566
- onChange: (x, O) => v(x, O)
3600
+ onChange: (C, M) => b(C, M)
3567
3601
  }, null)]
3568
- })]), e.hideHintAlert && e.hideCopyButton ? null : o(Be, null, null), e.hideHintAlert ? null : o(en, {
3602
+ })]), e.hideHintAlert && e.hideCopyButton ? null : o(Be, null, null), e.hideHintAlert ? null : o(Qt, {
3569
3603
  type: "warning",
3570
3604
  message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
3571
- icon: o(cn, null, null),
3605
+ icon: o(dn, null, null),
3572
3606
  showIcon: !0,
3573
3607
  style: {
3574
3608
  marginBottom: "16px"
3575
3609
  }
3576
- }, null), e.hideCopyButton ? null : o(tn, {
3577
- onClick: () => T(),
3610
+ }, null), e.hideCopyButton ? null : o(en, {
3611
+ onClick: () => $(),
3578
3612
  block: !0
3579
3613
  }, {
3580
- default: () => [o(mn, null, null), Q("拷贝设置")]
3614
+ default: () => [o(cn, null, null), Q("拷贝设置")]
3581
3615
  })])]
3582
3616
  })]), o(be, {
3583
3617
  width: 320,
3584
3618
  closable: !1,
3585
3619
  placement: "right",
3586
- open: b.value,
3620
+ open: v.value,
3587
3621
  bodyStyle: {
3588
3622
  padding: 0
3589
3623
  },
3590
- onClose: () => h(!1)
3624
+ onClose: () => c(!1)
3591
3625
  }, {
3592
- default: () => [o(no, {
3593
- settingValue: l.value,
3594
- onChange: (x, O, F) => v(O || "primaryColor", x, F)
3626
+ default: () => [o(ao, {
3627
+ settingValue: r.value,
3628
+ onChange: (C, M, T) => b(M || "primaryColor", C, T)
3595
3629
  }, null)]
3596
3630
  }), o(be, {
3597
3631
  width: 320,
3598
3632
  closable: !1,
3599
3633
  placement: "right",
3600
- open: S.value,
3634
+ open: O.value,
3601
3635
  bodyStyle: {
3602
3636
  padding: 0
3603
3637
  },
3604
- onClose: () => s(!1)
3638
+ onClose: () => h(!1)
3605
3639
  }, {
3606
- default: () => [o(oo, {
3607
- settingValue: l.value,
3608
- onChange: (x, O, F) => v(x, F, O)
3640
+ default: () => [o(io, {
3641
+ settingValue: r.value,
3642
+ onChange: (C, M, T) => b(C, T, M)
3609
3643
  }, null)]
3610
3644
  })]
3611
3645
  }));
3612
3646
  }
3613
- }), so = new u("backInLeft", {
3647
+ }), uo = new d("backInLeft", {
3614
3648
  "0%": {
3615
3649
  opacity: 0.7,
3616
3650
  transform: "translateX(-2000px) scale(0.7)"
@@ -3623,7 +3657,7 @@ const {
3623
3657
  opacity: 1,
3624
3658
  transform: "scale(1)"
3625
3659
  }
3626
- }), uo = new u("backInRight", {
3660
+ }), co = new d("backInRight", {
3627
3661
  "0%": {
3628
3662
  opacity: 0.7,
3629
3663
  transform: "translateX(2000px) scale(0.7)"
@@ -3636,7 +3670,7 @@ const {
3636
3670
  opacity: 1,
3637
3671
  transform: "scale(1)"
3638
3672
  }
3639
- }), co = new u("backInUp", {
3673
+ }), mo = new d("backInUp", {
3640
3674
  "0%": {
3641
3675
  opacity: 0.7,
3642
3676
  transform: "translateY(1200px) scale(0.7)"
@@ -3649,7 +3683,7 @@ const {
3649
3683
  opacity: 1,
3650
3684
  transform: "scale(1)"
3651
3685
  }
3652
- }), mo = new u("backInDown", {
3686
+ }), fo = new d("backInDown", {
3653
3687
  "0%": {
3654
3688
  opacity: 0.7,
3655
3689
  transform: "translateY(-1200px) scale(0.7)"
@@ -3662,7 +3696,7 @@ const {
3662
3696
  opacity: 1,
3663
3697
  transform: "scale(1)"
3664
3698
  }
3665
- }), fo = new u("backOutLeft", {
3699
+ }), ho = new d("backOutLeft", {
3666
3700
  "0%": {
3667
3701
  opacity: 1,
3668
3702
  transform: "scale(1)"
@@ -3675,7 +3709,7 @@ const {
3675
3709
  opacity: 0.7,
3676
3710
  transform: "translateX(-2000px) scale(0.7)"
3677
3711
  }
3678
- }), ho = new u("backOutRight", {
3712
+ }), go = new d("backOutRight", {
3679
3713
  "0%": {
3680
3714
  opacity: 1,
3681
3715
  transform: "scale(1)"
@@ -3688,7 +3722,7 @@ const {
3688
3722
  opacity: 0.7,
3689
3723
  transform: "translateX(2000px) scale(0.7)"
3690
3724
  }
3691
- }), go = new u("backOutUp", {
3725
+ }), yo = new d("backOutUp", {
3692
3726
  "0%": {
3693
3727
  opacity: 1,
3694
3728
  transform: "scale(1)"
@@ -3701,7 +3735,7 @@ const {
3701
3735
  opacity: 0.7,
3702
3736
  transform: "translateY(-700px) scale(0.7)"
3703
3737
  }
3704
- }), yo = new u("backOutDown", {
3738
+ }), bo = new d("backOutDown", {
3705
3739
  "0%": {
3706
3740
  opacity: 1,
3707
3741
  transform: "scale(1)"
@@ -3714,41 +3748,41 @@ const {
3714
3748
  opacity: 0.7,
3715
3749
  transform: "translateY(700px) scale(0.7)"
3716
3750
  }
3717
- }), bo = () => ({
3751
+ }), po = () => ({
3718
3752
  "&.backInLeft": {
3719
3753
  animationFillMode: "both",
3720
- animationName: so
3754
+ animationName: uo
3721
3755
  },
3722
3756
  "&.backInRight": {
3723
3757
  animationFillMode: "both",
3724
- animationName: uo
3758
+ animationName: co
3725
3759
  },
3726
3760
  "&.backInUp": {
3727
3761
  animationFillMode: "both",
3728
- animationName: co
3762
+ animationName: mo
3729
3763
  },
3730
3764
  "&.backInDown": {
3731
3765
  animationFillMode: "both",
3732
- animationName: mo
3766
+ animationName: fo
3733
3767
  }
3734
- }), po = () => ({
3768
+ }), vo = () => ({
3735
3769
  "&.backOutLeft": {
3736
3770
  animationFillMode: "both",
3737
- animationName: fo
3771
+ animationName: ho
3738
3772
  },
3739
3773
  "&.backOutRight": {
3740
3774
  animationFillMode: "both",
3741
- animationName: ho
3775
+ animationName: go
3742
3776
  },
3743
3777
  "&.backOutUp": {
3744
3778
  animationFillMode: "both",
3745
- animationName: go
3779
+ animationName: yo
3746
3780
  },
3747
3781
  "&.backOutDown": {
3748
3782
  animationFillMode: "both",
3749
- animationName: yo
3783
+ animationName: bo
3750
3784
  }
3751
- }), vo = new u("bounceIn", {
3785
+ }), xo = new d("bounceIn", {
3752
3786
  "from,20%,40%,60%,80%,to": {
3753
3787
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3754
3788
  },
@@ -3772,7 +3806,7 @@ const {
3772
3806
  opacity: 1,
3773
3807
  transform: "scale3d(1, 1, 1)"
3774
3808
  }
3775
- }), xo = new u("bounceInLeft", {
3809
+ }), Co = new d("bounceInLeft", {
3776
3810
  "from,60%,75%,90%,to": {
3777
3811
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3778
3812
  },
@@ -3793,7 +3827,7 @@ const {
3793
3827
  to: {
3794
3828
  transform: "translate3d(0, 0, 0)"
3795
3829
  }
3796
- }), Co = new u("bounceInRight", {
3830
+ }), wo = new d("bounceInRight", {
3797
3831
  "from,60%,75%,90%,to": {
3798
3832
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3799
3833
  },
@@ -3814,7 +3848,7 @@ const {
3814
3848
  to: {
3815
3849
  transform: "translate3d(0, 0, 0)"
3816
3850
  }
3817
- }), wo = new u("bounceInDown", {
3851
+ }), So = new d("bounceInDown", {
3818
3852
  "from,60%,75%,90%,to": {
3819
3853
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3820
3854
  },
@@ -3835,7 +3869,7 @@ const {
3835
3869
  to: {
3836
3870
  transform: "translate3d(0, 0, 0)"
3837
3871
  }
3838
- }), So = new u("bounceInUp", {
3872
+ }), Io = new d("bounceInUp", {
3839
3873
  "from,60%,75%,90%,to": {
3840
3874
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3841
3875
  },
@@ -3856,7 +3890,7 @@ const {
3856
3890
  to: {
3857
3891
  transform: "translate3d(0, 0, 0)"
3858
3892
  }
3859
- }), Io = new u("bounceOut", {
3893
+ }), Oo = new d("bounceOut", {
3860
3894
  "20%": {
3861
3895
  transform: "scale3d(0.9, 0.9, 0.9)"
3862
3896
  },
@@ -3870,7 +3904,7 @@ const {
3870
3904
  opacity: 0,
3871
3905
  transform: "scale3d(0.3, 0.3, 0.3)"
3872
3906
  }
3873
- }), Oo = new u("bounceOutLeft", {
3907
+ }), Mo = new d("bounceOutLeft", {
3874
3908
  "20%": {
3875
3909
  opacity: 1,
3876
3910
  transform: "translate3d(20px, 0, 0) scaleX(0.9)"
@@ -3879,7 +3913,7 @@ const {
3879
3913
  opacity: 0,
3880
3914
  transform: "translate3d(-2000px, 0, 0) scaleX(2)"
3881
3915
  }
3882
- }), Mo = new u("bounceOutRight", {
3916
+ }), Ro = new d("bounceOutRight", {
3883
3917
  "20%": {
3884
3918
  opacity: 1,
3885
3919
  transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
@@ -3888,7 +3922,7 @@ const {
3888
3922
  opacity: 0,
3889
3923
  transform: "translate3d(2000px, 0, 0) scaleX(2)"
3890
3924
  }
3891
- }), Ro = new u("bounceOutDown", {
3925
+ }), Bo = new d("bounceOutDown", {
3892
3926
  "20%": {
3893
3927
  transform: "translate3d(0, 10px, 0) scaleY(0.985)"
3894
3928
  },
@@ -3900,7 +3934,7 @@ const {
3900
3934
  opacity: 0,
3901
3935
  transform: "translate3d(0, 2000px, 0) scaleY(3)"
3902
3936
  }
3903
- }), Bo = new u("bounceOutUp", {
3937
+ }), ko = new d("bounceOutUp", {
3904
3938
  "20%": {
3905
3939
  transform: "translate3d(0, -10px, 0) scaleY(0.985)"
3906
3940
  },
@@ -3912,58 +3946,58 @@ const {
3912
3946
  opacity: 0,
3913
3947
  transform: "translate3d(0, -2000px, 0) scaleY(3)"
3914
3948
  }
3915
- }), ko = () => ({
3949
+ }), $o = () => ({
3916
3950
  "&.bounceIn": {
3917
3951
  animationFillMode: "both",
3918
3952
  animationDuration: `${0.3 * 0.75}s !important`,
3919
- animationName: vo
3953
+ animationName: xo
3920
3954
  },
3921
3955
  "&.bounceInLeft": {
3922
3956
  animationFillMode: "both",
3923
- animationName: xo
3957
+ animationName: Co
3924
3958
  },
3925
3959
  "&.bounceInRight": {
3926
3960
  animationFillMode: "both",
3927
- animationName: Co
3961
+ animationName: wo
3928
3962
  },
3929
3963
  "&.bounceInDown": {
3930
3964
  animationFillMode: "both",
3931
- animationName: wo
3965
+ animationName: So
3932
3966
  },
3933
3967
  "&.bounceInUp": {
3934
3968
  animationFillMode: "both",
3935
- animationName: So
3969
+ animationName: Io
3936
3970
  }
3937
- }), $o = () => ({
3971
+ }), To = () => ({
3938
3972
  "&.bounceOut": {
3939
3973
  animationFillMode: "both",
3940
3974
  animationDuration: `${0.3 * 0.75}s !important`,
3941
- animationName: Io
3975
+ animationName: Oo
3942
3976
  },
3943
3977
  "&.bounceOutLeft": {
3944
3978
  animationFillMode: "both",
3945
- animationName: Oo
3979
+ animationName: Mo
3946
3980
  },
3947
3981
  "&.bounceOutRight": {
3948
3982
  animationFillMode: "both",
3949
- animationName: Mo
3983
+ animationName: Ro
3950
3984
  },
3951
3985
  "&.bounceOutDown": {
3952
3986
  animationFillMode: "both",
3953
- animationName: Ro
3987
+ animationName: Bo
3954
3988
  },
3955
3989
  "&.bounceOutUp": {
3956
3990
  animationFillMode: "both",
3957
- animationName: Bo
3991
+ animationName: ko
3958
3992
  }
3959
- }), To = new u("fadeIn", {
3993
+ }), Po = new d("fadeIn", {
3960
3994
  from: {
3961
3995
  opacity: 0
3962
3996
  },
3963
3997
  to: {
3964
3998
  opacity: 1
3965
3999
  }
3966
- }), Fo = new u("fadeInLeft", {
4000
+ }), Fo = new d("fadeInLeft", {
3967
4001
  from: {
3968
4002
  opacity: 0,
3969
4003
  transform: "translate3d(-100%, 0, 0)"
@@ -3972,7 +4006,7 @@ const {
3972
4006
  opacity: 1,
3973
4007
  transform: "translate3d(0, 0, 0)"
3974
4008
  }
3975
- }), Po = new u("fadeInRight", {
4009
+ }), Lo = new d("fadeInRight", {
3976
4010
  from: {
3977
4011
  opacity: 0,
3978
4012
  transform: "translate3d(100%, 0, 0)"
@@ -3981,7 +4015,7 @@ const {
3981
4015
  opacity: 1,
3982
4016
  transform: "translate3d(0, 0, 0)"
3983
4017
  }
3984
- }), Lo = new u("fadeInDown", {
4018
+ }), Do = new d("fadeInDown", {
3985
4019
  from: {
3986
4020
  opacity: 0,
3987
4021
  transform: "translate3d(0, -100%, 0)"
@@ -3990,7 +4024,7 @@ const {
3990
4024
  opacity: 1,
3991
4025
  transform: "translate3d(0, 0, 0)"
3992
4026
  }
3993
- }), Do = new u("fadeInUp", {
4027
+ }), zo = new d("fadeInUp", {
3994
4028
  from: {
3995
4029
  opacity: 0,
3996
4030
  transform: "translate3d(0, 100%, 0)"
@@ -3999,7 +4033,7 @@ const {
3999
4033
  opacity: 1,
4000
4034
  transform: "translate3d(0, 0, 0)"
4001
4035
  }
4002
- }), zo = new u("fadeInDownBig", {
4036
+ }), No = new d("fadeInDownBig", {
4003
4037
  from: {
4004
4038
  opacity: 0,
4005
4039
  transform: "translate3d(0, -2000px, 0)"
@@ -4008,7 +4042,7 @@ const {
4008
4042
  opacity: 1,
4009
4043
  transform: "translate3d(0, 0, 0)"
4010
4044
  }
4011
- }), No = new u("fadeInUpBig", {
4045
+ }), Ho = new d("fadeInUpBig", {
4012
4046
  from: {
4013
4047
  opacity: 0,
4014
4048
  transform: "translate3d(0, 2000px, 0)"
@@ -4017,7 +4051,7 @@ const {
4017
4051
  opacity: 1,
4018
4052
  transform: "translate3d(0, 0, 0)"
4019
4053
  }
4020
- }), Ho = new u("fadeInLeftBig", {
4054
+ }), _o = new d("fadeInLeftBig", {
4021
4055
  from: {
4022
4056
  opacity: 0,
4023
4057
  transform: "translate3d(-2000px, 0, 0)"
@@ -4026,7 +4060,7 @@ const {
4026
4060
  opacity: 1,
4027
4061
  transform: "translate3d(0, 0, 0)"
4028
4062
  }
4029
- }), _o = new u("fadeInRightBig", {
4063
+ }), Vo = new d("fadeInRightBig", {
4030
4064
  from: {
4031
4065
  opacity: 0,
4032
4066
  transform: "translate3d(2000px, 0, 0)"
@@ -4035,7 +4069,7 @@ const {
4035
4069
  opacity: 1,
4036
4070
  transform: "translate3d(0, 0, 0)"
4037
4071
  }
4038
- }), Vo = new u("fadeInTopLeft", {
4072
+ }), Ao = new d("fadeInTopLeft", {
4039
4073
  from: {
4040
4074
  opacity: 0,
4041
4075
  transform: "translate3d(-100%, -100%, 0)"
@@ -4044,7 +4078,7 @@ const {
4044
4078
  opacity: 1,
4045
4079
  transform: "translate3d(0, 0, 0)"
4046
4080
  }
4047
- }), Ao = new u("fadeInBottomRight", {
4081
+ }), Eo = new d("fadeInBottomRight", {
4048
4082
  from: {
4049
4083
  opacity: 0,
4050
4084
  transform: "translate3d(100%, 100%, 0)"
@@ -4053,7 +4087,7 @@ const {
4053
4087
  opacity: 1,
4054
4088
  transform: "translate3d(0, 0, 0)"
4055
4089
  }
4056
- }), Eo = new u("fadeInTopRight", {
4090
+ }), jo = new d("fadeInTopRight", {
4057
4091
  from: {
4058
4092
  opacity: 0,
4059
4093
  transform: "translate3d(100%, -100%, 0)"
@@ -4062,7 +4096,7 @@ const {
4062
4096
  opacity: 1,
4063
4097
  transform: "translate3d(0, 0, 0)"
4064
4098
  }
4065
- }), jo = new u("fadeInBottomLeft", {
4099
+ }), Wo = new d("fadeInBottomLeft", {
4066
4100
  from: {
4067
4101
  opacity: 0,
4068
4102
  transform: "translate3d(-100%, 100%, 0)"
@@ -4071,14 +4105,14 @@ const {
4071
4105
  opacity: 1,
4072
4106
  transform: "translate3d(0, 0, 0)"
4073
4107
  }
4074
- }), Wo = new u("fadeOut", {
4108
+ }), Ko = new d("fadeOut", {
4075
4109
  from: {
4076
4110
  opacity: 1
4077
4111
  },
4078
4112
  to: {
4079
4113
  opacity: 0
4080
4114
  }
4081
- }), Ko = new u("fadeOutLeft", {
4115
+ }), Uo = new d("fadeOutLeft", {
4082
4116
  from: {
4083
4117
  opacity: 1
4084
4118
  },
@@ -4086,7 +4120,7 @@ const {
4086
4120
  opacity: 0,
4087
4121
  transform: "translate3d(-100%, 0, 0)"
4088
4122
  }
4089
- }), Uo = new u("fadeOutRight", {
4123
+ }), Xo = new d("fadeOutRight", {
4090
4124
  from: {
4091
4125
  opacity: 1
4092
4126
  },
@@ -4094,7 +4128,7 @@ const {
4094
4128
  opacity: 0,
4095
4129
  transform: "translate3d(100%, 0, 0)"
4096
4130
  }
4097
- }), Xo = new u("fadeOutDown", {
4131
+ }), Go = new d("fadeOutDown", {
4098
4132
  from: {
4099
4133
  opacity: 1
4100
4134
  },
@@ -4102,7 +4136,7 @@ const {
4102
4136
  opacity: 0,
4103
4137
  transform: "translate3d(0, 100%, 0)"
4104
4138
  }
4105
- }), Go = new u("fadeOutUp", {
4139
+ }), Yo = new d("fadeOutUp", {
4106
4140
  from: {
4107
4141
  opacity: 1
4108
4142
  },
@@ -4110,7 +4144,7 @@ const {
4110
4144
  opacity: 0,
4111
4145
  transform: "translate3d(0, -100%, 0)"
4112
4146
  }
4113
- }), Yo = new u("fadeOutDownBig", {
4147
+ }), qo = new d("fadeOutDownBig", {
4114
4148
  from: {
4115
4149
  opacity: 1
4116
4150
  },
@@ -4118,7 +4152,7 @@ const {
4118
4152
  opacity: 0,
4119
4153
  transform: "translate3d(0, 2000px, 0)"
4120
4154
  }
4121
- }), qo = new u("fadeOutUpBig", {
4155
+ }), Zo = new d("fadeOutUpBig", {
4122
4156
  from: {
4123
4157
  opacity: 1
4124
4158
  },
@@ -4126,7 +4160,7 @@ const {
4126
4160
  opacity: 0,
4127
4161
  transform: "translate3d(0, -2000px, 0)"
4128
4162
  }
4129
- }), Zo = new u("fadeOutLeftBig", {
4163
+ }), Jo = new d("fadeOutLeftBig", {
4130
4164
  from: {
4131
4165
  opacity: 1
4132
4166
  },
@@ -4134,7 +4168,7 @@ const {
4134
4168
  opacity: 0,
4135
4169
  transform: "translate3d(-2000px, 0, 0)"
4136
4170
  }
4137
- }), Jo = new u("fadeOutRightBig", {
4171
+ }), Qo = new d("fadeOutRightBig", {
4138
4172
  from: {
4139
4173
  opacity: 1
4140
4174
  },
@@ -4142,7 +4176,7 @@ const {
4142
4176
  opacity: 0,
4143
4177
  transform: "translate3d(2000px, 0, 0)"
4144
4178
  }
4145
- }), Qo = new u("fadeOutTopLeft", {
4179
+ }), ei = new d("fadeOutTopLeft", {
4146
4180
  from: {
4147
4181
  opacity: 1,
4148
4182
  transform: "translate3d(0, 0, 0)"
@@ -4151,7 +4185,7 @@ const {
4151
4185
  opacity: 0,
4152
4186
  transform: "translate3d(-100%, -100%, 0)"
4153
4187
  }
4154
- }), ei = new u("fadeOutBottomRight", {
4188
+ }), ti = new d("fadeOutBottomRight", {
4155
4189
  from: {
4156
4190
  opacity: 1,
4157
4191
  transform: "translate3d(0, 0, 0)"
@@ -4160,7 +4194,7 @@ const {
4160
4194
  opacity: 0,
4161
4195
  transform: "translate3d(100%, 100%, 0)"
4162
4196
  }
4163
- }), ti = new u("fadeOutTopRight", {
4197
+ }), ni = new d("fadeOutTopRight", {
4164
4198
  from: {
4165
4199
  opacity: 1,
4166
4200
  transform: "translate3d(0, 0, 0)"
@@ -4169,7 +4203,7 @@ const {
4169
4203
  opacity: 0,
4170
4204
  transform: "translate3d(100%, -100%, 0)"
4171
4205
  }
4172
- }), ni = new u("fadeOutBottomLeft", {
4206
+ }), ai = new d("fadeOutBottomLeft", {
4173
4207
  from: {
4174
4208
  opacity: 1,
4175
4209
  transform: "translate3d(0, 0, 0)"
@@ -4178,10 +4212,10 @@ const {
4178
4212
  opacity: 0,
4179
4213
  transform: "translate3d(-100%, 100%, 0)"
4180
4214
  }
4181
- }), ai = () => ({
4215
+ }), oi = () => ({
4182
4216
  "&.fadeIn": {
4183
4217
  animationFillMode: "both",
4184
- animationName: To
4218
+ animationName: Po
4185
4219
  },
4186
4220
  "&.fadeInLeft": {
4187
4221
  animationFillMode: "both",
@@ -4189,102 +4223,102 @@ const {
4189
4223
  },
4190
4224
  "&.fadeInRight": {
4191
4225
  animationFillMode: "both",
4192
- animationName: Po
4226
+ animationName: Lo
4193
4227
  },
4194
4228
  "&.fadeInDown": {
4195
4229
  animationFillMode: "both",
4196
- animationName: Lo
4230
+ animationName: Do
4197
4231
  },
4198
4232
  "&.fadeInUp": {
4199
4233
  animationFillMode: "both",
4200
- animationName: Do
4234
+ animationName: zo
4201
4235
  },
4202
4236
  "&.fadeInLeftBig": {
4203
4237
  animationFillMode: "both",
4204
- animationName: Ho
4238
+ animationName: _o
4205
4239
  },
4206
4240
  "&.fadeInRightBig": {
4207
4241
  animationFillMode: "both",
4208
- animationName: _o
4242
+ animationName: Vo
4209
4243
  },
4210
4244
  "&.fadeInUpBig": {
4211
4245
  animationFillMode: "both",
4212
- animationName: No
4246
+ animationName: Ho
4213
4247
  },
4214
4248
  "&.fadeInDownBig": {
4215
4249
  animationFillMode: "both",
4216
- animationName: zo
4250
+ animationName: No
4217
4251
  },
4218
4252
  "&.fadeInTopLeft": {
4219
4253
  animationFillMode: "both",
4220
- animationName: Vo
4254
+ animationName: Ao
4221
4255
  },
4222
4256
  "&.fadeInBottomRight": {
4223
4257
  animationFillMode: "both",
4224
- animationName: Ao
4258
+ animationName: Eo
4225
4259
  },
4226
4260
  "&.fadeInTopRight": {
4227
4261
  animationFillMode: "both",
4228
- animationName: Eo
4262
+ animationName: jo
4229
4263
  },
4230
4264
  "&.fadeInBottomLeft": {
4231
4265
  animationFillMode: "both",
4232
- animationName: jo
4266
+ animationName: Wo
4233
4267
  }
4234
- }), oi = () => ({
4268
+ }), ii = () => ({
4235
4269
  "&.fadeOut": {
4236
4270
  animationFillMode: "both",
4237
- animationName: Wo
4271
+ animationName: Ko
4238
4272
  },
4239
4273
  "&.fadeOutLeft": {
4240
4274
  animationFillMode: "both",
4241
- animationName: Ko
4275
+ animationName: Uo
4242
4276
  },
4243
4277
  "&.fadeOutRight": {
4244
4278
  animationFillMode: "both",
4245
- animationName: Uo
4279
+ animationName: Xo
4246
4280
  },
4247
4281
  "&.fadeOutDown": {
4248
4282
  animationFillMode: "both",
4249
- animationName: Xo
4283
+ animationName: Go
4250
4284
  },
4251
4285
  "&.fadeOutUp": {
4252
4286
  animationFillMode: "both",
4253
- animationName: Go
4287
+ animationName: Yo
4254
4288
  },
4255
4289
  "&.fadeOutDownBig": {
4256
4290
  animationFillMode: "both",
4257
- animationName: Yo
4291
+ animationName: qo
4258
4292
  },
4259
4293
  "&.fadeOutUpBig": {
4260
4294
  animationFillMode: "both",
4261
- animationName: qo
4295
+ animationName: Zo
4262
4296
  },
4263
4297
  "&.fadeOutLeftBig": {
4264
4298
  animationFillMode: "both",
4265
- animationName: Zo
4299
+ animationName: Jo
4266
4300
  },
4267
4301
  "&.fadeOutRightBig": {
4268
4302
  animationFillMode: "both",
4269
- animationName: Jo
4303
+ animationName: Qo
4270
4304
  },
4271
4305
  "&.fadeOutTopLeft": {
4272
4306
  animationFillMode: "both",
4273
- animationName: Qo
4307
+ animationName: ei
4274
4308
  },
4275
4309
  "&.fadeOutBottomRight": {
4276
4310
  animationFillMode: "both",
4277
- animationName: ei
4311
+ animationName: ti
4278
4312
  },
4279
4313
  "&.fadeOutTopRight": {
4280
4314
  animationFillMode: "both",
4281
- animationName: ti
4315
+ animationName: ni
4282
4316
  },
4283
4317
  "&.fadeOutBottomLeft": {
4284
4318
  animationFillMode: "both",
4285
- animationName: ni
4319
+ animationName: ai
4286
4320
  }
4287
- }), ii = new u("flipInX", {
4321
+ }), li = new d("flipInX", {
4288
4322
  from: {
4289
4323
  opacity: 0,
4290
4324
  animationTimingFunction: "ease-in",
@@ -4304,7 +4338,7 @@ const {
4304
4338
  to: {
4305
4339
  transform: "perspective(400px)"
4306
4340
  }
4307
- }), li = new u("flipInY", {
4341
+ }), ri = new d("flipInY", {
4308
4342
  from: {
4309
4343
  opacity: 0,
4310
4344
  animationTimingFunction: "ease-in",
@@ -4324,7 +4358,7 @@ const {
4324
4358
  to: {
4325
4359
  transform: "perspective(400px)"
4326
4360
  }
4327
- }), ri = new u("flipOutX", {
4361
+ }), si = new d("flipOutX", {
4328
4362
  from: {
4329
4363
  transform: "perspective(400px)"
4330
4364
  },
@@ -4336,7 +4370,7 @@ const {
4336
4370
  opacity: 0,
4337
4371
  transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
4338
4372
  }
4339
- }), si = new u("flipOutY", {
4373
+ }), ui = new d("flipOutY", {
4340
4374
  from: {
4341
4375
  transform: "perspective(400px)"
4342
4376
  },
@@ -4348,31 +4382,31 @@ const {
4348
4382
  opacity: 0,
4349
4383
  transform: "perspective(400px) rotate3d(0, 1, 0, 90deg)"
4350
4384
  }
4351
- }), ui = () => ({
4385
+ }), di = () => ({
4352
4386
  "&.flipInX": {
4353
4387
  animationFillMode: "both",
4354
4388
  backfaceVisibility: "visible !important",
4355
- animationName: ii
4389
+ animationName: li
4356
4390
  },
4357
4391
  "&.flipInY": {
4358
4392
  animationFillMode: "both",
4359
4393
  backfaceVisibility: "visible !important",
4360
- animationName: li
4394
+ animationName: ri
4361
4395
  }
4362
- }), di = () => ({
4396
+ }), ci = () => ({
4363
4397
  "&.flipOutX": {
4364
4398
  animationFillMode: "both",
4365
4399
  backfaceVisibility: "visible !important",
4366
4400
  animationDuration: `${0.3 * 0.75}s !important`,
4367
- animationName: ri
4401
+ animationName: si
4368
4402
  },
4369
4403
  "&.flipOutY": {
4370
4404
  animationFillMode: "both",
4371
4405
  backfaceVisibility: "visible !important",
4372
4406
  animationDuration: `${0.3 * 0.75}s !important`,
4373
- animationName: si
4407
+ animationName: ui
4374
4408
  }
4375
- }), ci = new u("lightSpeedInLeft", {
4409
+ }), mi = new d("lightSpeedInLeft", {
4376
4410
  from: {
4377
4411
  opacity: 0,
4378
4412
  transform: "translate3d(-100%, 0, 0) skewX(30deg)"
@@ -4387,7 +4421,7 @@ const {
4387
4421
  to: {
4388
4422
  transform: "translate3d(0, 0, 0)"
4389
4423
  }
4390
- }), mi = new u("lightSpeedInRight", {
4424
+ }), fi = new d("lightSpeedInRight", {
4391
4425
  from: {
4392
4426
  opacity: 0,
4393
4427
  transform: "translate3d(100%, 0, 0) skewX(-30deg)"
@@ -4402,7 +4436,7 @@ const {
4402
4436
  to: {
4403
4437
  transform: "translate3d(0, 0, 0)"
4404
4438
  }
4405
- }), fi = new u("lightSpeedOutLeft", {
4439
+ }), hi = new d("lightSpeedOutLeft", {
4406
4440
  from: {
4407
4441
  opacity: 1
4408
4442
  },
@@ -4410,7 +4444,7 @@ const {
4410
4444
  opacity: 0,
4411
4445
  transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
4412
4446
  }
4413
- }), hi = new u("lightSpeedOutRight", {
4447
+ }), gi = new d("lightSpeedOutRight", {
4414
4448
  from: {
4415
4449
  opacity: 1
4416
4450
  },
@@ -4418,29 +4452,29 @@ const {
4418
4452
  opacity: 0,
4419
4453
  transform: "translate3d(100%, 0, 0) skewX(30deg)"
4420
4454
  }
4421
- }), gi = () => ({
4455
+ }), yi = () => ({
4422
4456
  "&.lightSpeedInLeft": {
4423
4457
  animationFillMode: "both",
4424
4458
  animationTimingFunction: "ease-out",
4425
- animationName: ci
4459
+ animationName: mi
4426
4460
  },
4427
4461
  "&.lightSpeedInRight": {
4428
4462
  animationFillMode: "both",
4429
4463
  animationTimingFunction: "ease-out",
4430
- animationName: mi
4464
+ animationName: fi
4431
4465
  }
4432
- }), yi = () => ({
4466
+ }), bi = () => ({
4433
4467
  "&.lightSpeedOutLeft": {
4434
4468
  animationFillMode: "both",
4435
4469
  animationTimingFunction: "ease-in",
4436
- animationName: fi
4470
+ animationName: hi
4437
4471
  },
4438
4472
  "&.lightSpeedOutRight": {
4439
4473
  animationFillMode: "both",
4440
4474
  animationTimingFunction: "ease-in",
4441
- animationName: hi
4475
+ animationName: gi
4442
4476
  }
4443
- }), bi = new u("rotateIn", {
4477
+ }), pi = new d("rotateIn", {
4444
4478
  from: {
4445
4479
  opacity: 0,
4446
4480
  transform: "rotate3d(0, 0, 1, -200deg)"
@@ -4449,7 +4483,7 @@ const {
4449
4483
  opacity: 1,
4450
4484
  transform: "translate3d(0, 0, 0)"
4451
4485
  }
4452
- }), pi = new u("rotateInDownLeft", {
4486
+ }), vi = new d("rotateInDownLeft", {
4453
4487
  from: {
4454
4488
  opacity: 0,
4455
4489
  transform: "rotate3d(0, 0, 1, -45deg)"
@@ -4458,7 +4492,7 @@ const {
4458
4492
  opacity: 1,
4459
4493
  transform: "translate3d(0, 0, 0)"
4460
4494
  }
4461
- }), vi = new u("rotateInDownRight", {
4495
+ }), xi = new d("rotateInDownRight", {
4462
4496
  from: {
4463
4497
  opacity: 0,
4464
4498
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -4467,7 +4501,7 @@ const {
4467
4501
  opacity: 1,
4468
4502
  transform: "translate3d(0, 0, 0)"
4469
4503
  }
4470
- }), xi = new u("rotateInUpLeft", {
4504
+ }), Ci = new d("rotateInUpLeft", {
4471
4505
  from: {
4472
4506
  opacity: 0,
4473
4507
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -4476,7 +4510,7 @@ const {
4476
4510
  opacity: 1,
4477
4511
  transform: "translate3d(0, 0, 0)"
4478
4512
  }
4479
- }), Ci = new u("rotateInUpRight", {
4513
+ }), wi = new d("rotateInUpRight", {
4480
4514
  from: {
4481
4515
  opacity: 0,
4482
4516
  transform: "rotate3d(0, 0, 1, -90deg)"
@@ -4485,7 +4519,7 @@ const {
4485
4519
  opacity: 1,
4486
4520
  transform: "translate3d(0, 0, 0)"
4487
4521
  }
4488
- }), wi = new u("rotateOut", {
4522
+ }), Si = new d("rotateOut", {
4489
4523
  from: {
4490
4524
  opacity: 1
4491
4525
  },
@@ -4493,7 +4527,7 @@ const {
4493
4527
  opacity: 0,
4494
4528
  transform: "rotate3d(0, 0, 1, 200deg)"
4495
4529
  }
4496
- }), Si = new u("rotateOutDownLeft", {
4530
+ }), Ii = new d("rotateOutDownLeft", {
4497
4531
  from: {
4498
4532
  opacity: 1
4499
4533
  },
@@ -4501,7 +4535,7 @@ const {
4501
4535
  opacity: 0,
4502
4536
  transform: "rotate3d(0, 0, 1, 45deg)"
4503
4537
  }
4504
- }), Ii = new u("rotateOutDownRight", {
4538
+ }), Oi = new d("rotateOutDownRight", {
4505
4539
  from: {
4506
4540
  opacity: 1
4507
4541
  },
@@ -4509,7 +4543,7 @@ const {
4509
4543
  opacity: 0,
4510
4544
  transform: "rotate3d(0, 0, 1, -45deg)"
4511
4545
  }
4512
- }), Oi = new u("rotateOutUpLeft", {
4546
+ }), Mi = new d("rotateOutUpLeft", {
4513
4547
  from: {
4514
4548
  opacity: 1
4515
4549
  },
@@ -4517,7 +4551,7 @@ const {
4517
4551
  opacity: 0,
4518
4552
  transform: "rotate3d(0, 0, 1, -45deg)"
4519
4553
  }
4520
- }), Mi = new u("rotateOutUpRight", {
4554
+ }), Ri = new d("rotateOutUpRight", {
4521
4555
  from: {
4522
4556
  opacity: 1
4523
4557
  },
@@ -4525,59 +4559,59 @@ const {
4525
4559
  opacity: 0,
4526
4560
  transform: "rotate3d(0, 0, 1, 90deg)"
4527
4561
  }
4528
- }), Ri = () => ({
4562
+ }), Bi = () => ({
4529
4563
  "&.rotateIn": {
4530
4564
  animationFillMode: "both",
4531
4565
  transformOrigin: "center",
4532
- animationName: bi
4566
+ animationName: pi
4533
4567
  },
4534
4568
  "&.rotateInDownLeft": {
4535
4569
  animationFillMode: "both",
4536
4570
  transformOrigin: "left bottom",
4537
- animationName: pi
4571
+ animationName: vi
4538
4572
  },
4539
4573
  "&.rotateInDownRight": {
4540
4574
  animationFillMode: "both",
4541
4575
  transformOrigin: "right bottom",
4542
- animationName: vi
4576
+ animationName: xi
4543
4577
  },
4544
4578
  "&.rotateInUpLeft": {
4545
4579
  animationFillMode: "both",
4546
4580
  transformOrigin: "left bottom",
4547
- animationName: xi
4581
+ animationName: Ci
4548
4582
  },
4549
4583
  "&.rotateInUpRight": {
4550
4584
  animationFillMode: "both",
4551
4585
  transformOrigin: "right bottom",
4552
- animationName: Ci
4586
+ animationName: wi
4553
4587
  }
4554
- }), Bi = () => ({
4588
+ }), ki = () => ({
4555
4589
  "&.rotateOut": {
4556
4590
  animationFillMode: "both",
4557
4591
  transformOrigin: "center",
4558
- animationName: wi
4592
+ animationName: Si
4559
4593
  },
4560
4594
  "&.rotateOutDownLeft": {
4561
4595
  animationFillMode: "both",
4562
4596
  transformOrigin: "left bottom",
4563
- animationName: Si
4597
+ animationName: Ii
4564
4598
  },
4565
4599
  "&.rotateOutDownRight": {
4566
4600
  animationFillMode: "both",
4567
4601
  transformOrigin: "right bottom",
4568
- animationName: Ii
4602
+ animationName: Oi
4569
4603
  },
4570
4604
  "&.rotateOutUpLeft": {
4571
4605
  animationFillMode: "both",
4572
4606
  transformOrigin: "left bottom",
4573
- animationName: Oi
4607
+ animationName: Mi
4574
4608
  },
4575
4609
  "&.rotateOutUpRight": {
4576
4610
  animationFillMode: "both",
4577
4611
  transformOrigin: "right bottom",
4578
- animationName: Mi
4612
+ animationName: Ri
4579
4613
  }
4580
- }), ki = new u("rollIn", {
4614
+ }), $i = new d("rollIn", {
4581
4615
  from: {
4582
4616
  opacity: 0,
4583
4617
  transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
@@ -4586,7 +4620,7 @@ const {
4586
4620
  opacity: 1,
4587
4621
  transform: "translate3d(0, 0, 0)"
4588
4622
  }
4589
- }), $i = new u("rollOut", {
4623
+ }), Ti = new d("rollOut", {
4590
4624
  from: {
4591
4625
  opacity: 1
4592
4626
  },
@@ -4594,17 +4628,17 @@ const {
4594
4628
  opacity: 0,
4595
4629
  transform: "translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"
4596
4630
  }
4597
- }), Ti = () => ({
4631
+ }), Pi = () => ({
4598
4632
  "&.rollIn": {
4599
4633
  animationFillMode: "both",
4600
- animationName: ki
4634
+ animationName: $i
4601
4635
  }
4602
4636
  }), Fi = () => ({
4603
4637
  "&.rollOut": {
4604
4638
  animationFillMode: "both",
4605
- animationName: $i
4639
+ animationName: Ti
4606
4640
  }
4607
- }), Pi = new u("zoomIn", {
4641
+ }), Li = new d("zoomIn", {
4608
4642
  from: {
4609
4643
  opacity: 0,
4610
4644
  transform: "scale3d(0.3, 0.3, 0.3)"
@@ -4612,7 +4646,7 @@ const {
4612
4646
  "50%": {
4613
4647
  opacity: 1
4614
4648
  }
4615
- }), Li = new u("zoomInDown", {
4649
+ }), Di = new d("zoomInDown", {
4616
4650
  from: {
4617
4651
  opacity: 0,
4618
4652
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
@@ -4623,7 +4657,7 @@ const {
4623
4657
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
4624
4658
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4625
4659
  }
4626
- }), Di = new u("zoomInLeft", {
4660
+ }), zi = new d("zoomInLeft", {
4627
4661
  from: {
4628
4662
  opacity: 0,
4629
4663
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
@@ -4634,7 +4668,7 @@ const {
4634
4668
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
4635
4669
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4636
4670
  }
4637
- }), zi = new u("zoomInRight", {
4671
+ }), Ni = new d("zoomInRight", {
4638
4672
  from: {
4639
4673
  opacity: 0,
4640
4674
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
@@ -4645,7 +4679,7 @@ const {
4645
4679
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
4646
4680
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4647
4681
  }
4648
- }), Ni = new u("zoomInUp", {
4682
+ }), Hi = new d("zoomInUp", {
4649
4683
  from: {
4650
4684
  opacity: 0,
4651
4685
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
@@ -4656,7 +4690,7 @@ const {
4656
4690
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
4657
4691
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4658
4692
  }
4659
- }), Hi = new u("zoomOut", {
4693
+ }), _i = new d("zoomOut", {
4660
4694
  from: {
4661
4695
  opacity: 1
4662
4696
  },
@@ -4667,7 +4701,7 @@ const {
4667
4701
  to: {
4668
4702
  opacity: 0
4669
4703
  }
4670
- }), _i = new u("zoomOutDown", {
4704
+ }), Vi = new d("zoomOutDown", {
4671
4705
  "40%": {
4672
4706
  opacity: 1,
4673
4707
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
@@ -4678,7 +4712,7 @@ const {
4678
4712
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
4679
4713
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4680
4714
  }
4681
- }), Vi = new u("zoomOutLeft", {
4715
+ }), Ai = new d("zoomOutLeft", {
4682
4716
  "40%": {
4683
4717
  opacity: 1,
4684
4718
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
@@ -4687,7 +4721,7 @@ const {
4687
4721
  opacity: 0,
4688
4722
  transform: "scale(0.1) translate3d(-2000px, 0, 0)"
4689
4723
  }
4690
- }), Ai = new u("zoomOutRight", {
4724
+ }), Ei = new d("zoomOutRight", {
4691
4725
  "40%": {
4692
4726
  opacity: 1,
4693
4727
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
@@ -4696,7 +4730,7 @@ const {
4696
4730
  opacity: 0,
4697
4731
  transform: "scale(0.1) translate3d(2000px, 0, 0)"
4698
4732
  }
4699
- }), Ei = new u("zoomOutUp", {
4733
+ }), ji = new d("zoomOutUp", {
4700
4734
  "40%": {
4701
4735
  opacity: 1,
4702
4736
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
@@ -4707,53 +4741,53 @@ const {
4707
4741
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)",
4708
4742
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4709
4743
  }
4710
- }), ji = () => ({
4744
+ }), Wi = () => ({
4711
4745
  "&.zoomIn": {
4712
4746
  animationFillMode: "both",
4713
- animationName: Pi
4747
+ animationName: Li
4714
4748
  },
4715
4749
  "&.zoomInDown": {
4716
4750
  animationFillMode: "both",
4717
- animationName: Li
4751
+ animationName: Di
4718
4752
  },
4719
4753
  "&.zoomInLeft": {
4720
4754
  animationFillMode: "both",
4721
- animationName: Di
4755
+ animationName: zi
4722
4756
  },
4723
4757
  "&.zoomInRight": {
4724
4758
  animationFillMode: "both",
4725
- animationName: zi
4759
+ animationName: Ni
4726
4760
  },
4727
4761
  "&.zoomInUp": {
4728
4762
  animationFillMode: "both",
4729
- animationName: Ni
4763
+ animationName: Hi
4730
4764
  }
4731
- }), Wi = () => ({
4765
+ }), Ki = () => ({
4732
4766
  "&.zoomOut": {
4733
4767
  animationFillMode: "both",
4734
- animationName: Hi
4768
+ animationName: _i
4735
4769
  },
4736
4770
  "&.zoomOutDown": {
4737
4771
  animationFillMode: "both",
4738
4772
  transformOrigin: "center bottom",
4739
- animationName: _i
4773
+ animationName: Vi
4740
4774
  },
4741
4775
  "&.zoomOutLeft": {
4742
4776
  animationFillMode: "both",
4743
4777
  transformOrigin: "left center",
4744
- animationName: Vi
4778
+ animationName: Ai
4745
4779
  },
4746
4780
  "&.zoomOutRight": {
4747
4781
  animationFillMode: "both",
4748
4782
  transformOrigin: "right center",
4749
- animationName: Ai
4783
+ animationName: Ei
4750
4784
  },
4751
4785
  "&.zoomOutUp": {
4752
4786
  animationFillMode: "both",
4753
4787
  transformOrigin: "center bottom",
4754
- animationName: Ei
4788
+ animationName: ji
4755
4789
  }
4756
- }), Ki = new u("slideInDown", {
4790
+ }), Ui = new d("slideInDown", {
4757
4791
  from: {
4758
4792
  transform: "translate3d(0, -100%, 0)",
4759
4793
  visibility: "visible"
@@ -4761,7 +4795,7 @@ const {
4761
4795
  to: {
4762
4796
  transform: "translate3d(0, 0, 0)"
4763
4797
  }
4764
- }), Ui = new u("slideInLeft", {
4798
+ }), Xi = new d("slideInLeft", {
4765
4799
  from: {
4766
4800
  transform: "translate3d(-100%, 0, 0)",
4767
4801
  visibility: "visible"
@@ -4769,7 +4803,7 @@ const {
4769
4803
  to: {
4770
4804
  transform: "translate3d(0, 0, 0)"
4771
4805
  }
4772
- }), Xi = new u("slideInRight", {
4806
+ }), Gi = new d("slideInRight", {
4773
4807
  from: {
4774
4808
  transform: "translate3d(100%, 0, 0)",
4775
4809
  visibility: "visible"
@@ -4777,7 +4811,7 @@ const {
4777
4811
  to: {
4778
4812
  transform: "translate3d(0, 0, 0)"
4779
4813
  }
4780
- }), Gi = new u("slideInUp", {
4814
+ }), Yi = new d("slideInUp", {
4781
4815
  from: {
4782
4816
  transform: "translate3d(0, 100%, 0)",
4783
4817
  visibility: "visible"
@@ -4785,7 +4819,7 @@ const {
4785
4819
  to: {
4786
4820
  transform: "translate3d(0, 0, 0)"
4787
4821
  }
4788
- }), Yi = new u("slideOutDown", {
4822
+ }), qi = new d("slideOutDown", {
4789
4823
  from: {
4790
4824
  transform: "translate3d(0, 0, 0)"
4791
4825
  },
@@ -4793,7 +4827,7 @@ const {
4793
4827
  transform: "translate3d(0, 100%, 0)",
4794
4828
  visibility: "hidden"
4795
4829
  }
4796
- }), qi = new u("slideOutLeft", {
4830
+ }), Zi = new d("slideOutLeft", {
4797
4831
  from: {
4798
4832
  transform: "translate3d(0, 0, 0)"
4799
4833
  },
@@ -4801,7 +4835,7 @@ const {
4801
4835
  transform: "translate3d(-100%, 0, 0)",
4802
4836
  visibility: "hidden"
4803
4837
  }
4804
- }), Zi = new u("slideOutRight", {
4838
+ }), Ji = new d("slideOutRight", {
4805
4839
  from: {
4806
4840
  transform: "translate3d(0, 0, 0)"
4807
4841
  },
@@ -4809,7 +4843,7 @@ const {
4809
4843
  transform: "translate3d(100%, 0, 0)",
4810
4844
  visibility: "hidden"
4811
4845
  }
4812
- }), Ji = new u("slideOutUp", {
4846
+ }), Qi = new d("slideOutUp", {
4813
4847
  from: {
4814
4848
  transform: "translate3d(0, 0, 0)"
4815
4849
  },
@@ -4817,57 +4851,43 @@ const {
4817
4851
  transform: "translate3d(0, -100%, 0)",
4818
4852
  visibility: "hidden"
4819
4853
  }
4820
- }), Qi = () => ({
4854
+ }), el = () => ({
4821
4855
  "&.slideInDown": {
4822
4856
  animationFillMode: "both",
4823
- animationName: Ki
4857
+ animationName: Ui
4824
4858
  },
4825
4859
  "&.slideInLeft": {
4826
4860
  animationFillMode: "both",
4827
- animationName: Ui
4861
+ animationName: Xi
4828
4862
  },
4829
4863
  "&.slideInRight": {
4830
4864
  animationFillMode: "both",
4831
- animationName: Xi
4865
+ animationName: Gi
4832
4866
  },
4833
4867
  "&.slideInUp": {
4834
4868
  animationFillMode: "both",
4835
- animationName: Gi
4869
+ animationName: Yi
4836
4870
  }
4837
- }), el = () => ({
4871
+ }), tl = () => ({
4838
4872
  "&.slideOutDown": {
4839
4873
  animationFillMode: "both",
4840
- animationName: Yi
4874
+ animationName: qi
4841
4875
  },
4842
4876
  "&.slideOutLeft": {
4843
4877
  animationFillMode: "both",
4844
- animationName: qi
4878
+ animationName: Zi
4845
4879
  },
4846
4880
  "&.slideOutRight": {
4847
4881
  animationFillMode: "both",
4848
- animationName: Zi
4882
+ animationName: Ji
4849
4883
  },
4850
4884
  "&.slideOutUp": {
4851
4885
  animationFillMode: "both",
4852
- animationName: Ji
4886
+ animationName: Qi
4853
4887
  }
4854
- }), tl = (e) => ({
4888
+ }), nl = (e) => ({
4855
4889
  [e.componentCls]: {
4856
4890
  "&-enter": {
4857
- background: "transparent",
4858
- animationDuration: ".3s !important",
4859
- ...bo(),
4860
- ...ko(),
4861
- ...ai(),
4862
- ...ui(),
4863
- ...gi(),
4864
- ...Ri(),
4865
- ...Ti(),
4866
- ...ji(),
4867
- ...Qi()
4868
- },
4869
- "&-leave": {
4870
- display: "none",
4871
4891
  background: "transparent",
4872
4892
  animationDuration: ".3s !important",
4873
4893
  ...po(),
@@ -4876,19 +4896,33 @@ const {
4876
4896
  ...di(),
4877
4897
  ...yi(),
4878
4898
  ...Bi(),
4879
- ...Fi(),
4899
+ ...Pi(),
4880
4900
  ...Wi(),
4881
4901
  ...el()
4902
+ },
4903
+ "&-leave": {
4904
+ display: "none",
4905
+ background: "transparent",
4906
+ animationDuration: ".3s !important",
4907
+ ...vo(),
4908
+ ...To(),
4909
+ ...ii(),
4910
+ ...ci(),
4911
+ ...bi(),
4912
+ ...ki(),
4913
+ ...Fi(),
4914
+ ...Ki(),
4915
+ ...tl()
4882
4916
  }
4883
4917
  }
4884
4918
  });
4885
- function nl(e) {
4919
+ function al(e) {
4886
4920
  return Ve("LayoutPageTranstion", (t) => {
4887
4921
  const n = Ae(t);
4888
- return [tl(n)];
4922
+ return [nl(n)];
4889
4923
  }, e);
4890
4924
  }
4891
- const xl = /* @__PURE__ */ H({
4925
+ const wl = /* @__PURE__ */ H({
4892
4926
  name: "PageTranstion",
4893
4927
  props: {
4894
4928
  disabled: {
@@ -4914,52 +4948,54 @@ const xl = /* @__PURE__ */ H({
4914
4948
  }), {
4915
4949
  wrapSSR: a,
4916
4950
  hashId: i
4917
- } = nl(n), r = w(() => [m(!1), `${n}-enter`, i.value].join(" ")), d = w(() => [m(!0), `${n}-leave`, i.value].join(" ")), m = (h) => {
4918
- const S = We.preset.find((l) => e.name == l.name);
4919
- if (S == null)
4951
+ } = al(n), l = w(() => [u(!1), `${n}-enter`, i.value].join(" ")), s = w(() => [u(!0), `${n}-leave`, i.value].join(" ")), u = (c) => {
4952
+ const O = Ke.preset.find((r) => e.name == r.name);
4953
+ if (O == null)
4920
4954
  return "";
4921
- let s = "";
4922
- 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));
4923
- const k = h ? "Out" : "In";
4924
- return S.name + k + s;
4925
- }, b = (h, S) => {
4926
- if (h.length == 0 || h == "x" || h == "y")
4927
- return h;
4928
- let s = S.indexOf(h);
4929
- return s = s % 2 == 1 ? s - 1 : s + 1, S[s];
4955
+ let h = "";
4956
+ e.direction == null ? h = O.directions[0] : h = O.directions.find((r) => r == e.direction) || "", h = h == null || h === "default" ? "" : h, h != "" && (h = c && e.reverse ? v(h, O.directions) : h, h = h[0].toUpperCase() + h.substring(1));
4957
+ const p = c ? "Out" : "In";
4958
+ return O.name + p + h;
4959
+ }, v = (c, O) => {
4960
+ if (c.length == 0 || c == "x" || c == "y")
4961
+ return c;
4962
+ let h = O.indexOf(c);
4963
+ return h = h % 2 == 1 ? h - 1 : h + 1, O[h];
4930
4964
  };
4931
- return () => e.disabled ? null : a(o(Gt, {
4932
- enterActiveClass: r.value,
4933
- leaveActiveClass: d.value
4965
+ return () => e.disabled ? null : a(o(Xt, {
4966
+ enterActiveClass: l.value,
4967
+ leaveActiveClass: s.value
4934
4968
  }, {
4935
4969
  default: () => {
4936
- var h;
4937
- return [(h = t.default) == null ? void 0 : h.call(t)];
4970
+ var c;
4971
+ return [(c = t.default) == null ? void 0 : c.call(t)];
4938
4972
  }
4939
4973
  }));
4940
4974
  }
4941
4975
  });
4942
4976
  export {
4943
- wt as BaseMenu,
4944
- Ga as DefaultHeader,
4945
- bl as GProLayout,
4977
+ Ct as BaseMenu,
4978
+ Ya as DefaultHeader,
4979
+ vl as GProLayout,
4946
4980
  Te as GlobalFooter,
4947
- yl as PageContainer,
4981
+ pl as PageContainer,
4948
4982
  Mn as PageLoading,
4949
- xl as PageTranstion,
4950
- vl as SettingDrawer,
4983
+ wl as PageTranstion,
4984
+ Cl as SettingDrawer,
4951
4985
  $e as SiderMenuWrapper,
4952
- Ge as WrapContent,
4953
- je as baseMenuProps,
4954
- Pn as clearMenuItem,
4955
- Vn as createContext,
4956
- En as createRouteContext,
4957
- Ln as flatMap,
4958
- pl as getMenuData,
4959
- Dn as getMenuFirstChildren,
4960
- Ct as getRealPath,
4961
- Nn as handleThemeConfig,
4962
- jn as provideProLayoutContext,
4963
- An as useContext,
4986
+ Ye as WrapContent,
4987
+ We as baseMenuProps,
4988
+ Ln as clearMenuItem,
4989
+ An as createContext,
4990
+ jn as createRouteContext,
4991
+ Dn as flatMap,
4992
+ bl as getMatchedList,
4993
+ xl as getMenuData,
4994
+ zn as getMenuFirstChildren,
4995
+ Nn as getMenuFirstLastChildPath,
4996
+ Fn as getRealPath,
4997
+ Hn as handleThemeConfig,
4998
+ Wn as provideProLayoutContext,
4999
+ En as useContext,
4964
5000
  J as useProLayoutContext
4965
5001
  };