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

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