@gx-design-vue/pro-layout 0.1.0-beta.38 → 0.1.0-beta.39

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,37 +1,36 @@
1
- import { defineComponent as j, createVNode as n, mergeProps as _, provide as Fe, readonly as kt, inject as it, resolveComponent as lt, computed as g, isVNode as ie, Fragment as Z, toRefs as we, unref as K, createTextVNode as ne, ref as Re, reactive as rt, watch as de, withDirectives as $t, vShow as Pt, watchEffect as Ft, Transition as Tt } from "vue";
2
- import { Spin as ve, Menu as ae, ConfigProvider as Te, Layout as ce, Drawer as be, Breadcrumb as Lt, Card as Dt, LayoutFooter as Nt, Tabs as Le, Dropdown as Ye, Tooltip as Se, List as oe, Switch as st, TabPane as zt, Select as ge, message as Ht, Divider as Me, Alert as Vt, Button as jt } from "ant-design-vue";
3
- import { useRouter as De, RouterLink as Wt } from "vue-router";
4
- import { createFromIconfontCN as At, MenuUnfoldOutlined as Kt, MenuFoldOutlined as Ut, GithubOutlined as Et, EllipsisOutlined as Xt, ReloadOutlined as Yt, CloseOutlined as ut, CheckOutlined as dt, SettingOutlined as _t, NotificationOutlined as Gt, CopyOutlined as qt } from "@ant-design/icons-vue";
5
- import Zt, { themeConfig as V, Keyframe as s, useProStyle as Q, useProConfigContext as fe, useStyle as Ne, mergeToken as ze, colorList as Jt } from "@gx-design-vue/pro-provider";
6
- import { createTypes as Qt } from "vue-types";
7
- import { cloneDeep as He, pick as le, omit as Ve } from "lodash-es";
8
- import { GPorWaterMark as en } from "@gx-design-vue/pro-watermark";
9
- import { isBoolean as _e, getSlot as A, getPrefixCls as me, classNames as ct, getLevelData as tn, isArray as nn, isBrowser as an, merge as on } from "@gx-design-vue/pro-utils";
10
- import { useMediaQuery as ln, useState as pe, useMergedState as rn } from "@gx-design-vue/pro-hooks";
11
- import { useWindowSize as sn, useClipboard as un } from "@vueuse/core";
12
- import dn from "@gx-design-vue/scrollbar";
13
- import { GColorPicker as Ge } from "@gx-design-vue/color-picker";
14
- const cn = /* @__PURE__ */ j({
1
+ import { defineComponent as j, createVNode as a, mergeProps as G, provide as ot, readonly as Rt, inject as kt, resolveComponent as it, computed as p, isVNode as ie, Fragment as Q, toRefs as we, unref as K, createTextVNode as ae, ref as Oe, reactive as lt, watch as ue, withDirectives as Bt, vShow as $t, watchEffect as Pt, Transition as Ft } from "vue";
2
+ import { Spin as ve, Menu as ne, ConfigProvider as Pe, Layout as ce, Drawer as be, Breadcrumb as Tt, Card as Lt, LayoutFooter as Dt, Tabs as Fe, Dropdown as Xe, Tooltip as Se, List as oe, Switch as rt, TabPane as Nt, Select as ge, message as zt, Divider as Me, Alert as Ht, Button as Vt } from "ant-design-vue";
3
+ import { useProAppContext as Te } from "@gx-design-vue/pro-app";
4
+ import { useRouter as Le, RouterLink as jt } from "vue-router";
5
+ import { createFromIconfontCN as Wt, MenuUnfoldOutlined as At, MenuFoldOutlined as Kt, GithubOutlined as Ut, EllipsisOutlined as Et, ReloadOutlined as Xt, CloseOutlined as st, CheckOutlined as dt, SettingOutlined as Yt, NotificationOutlined as _t, CopyOutlined as Gt } from "@ant-design/icons-vue";
6
+ import qt, { themeConfig as V, Keyframe as s, useProStyle as te, useProConfigContext as fe, useStyle as De, mergeToken as Ne, colorList as Zt } from "@gx-design-vue/pro-provider";
7
+ import { createTypes as Jt } from "vue-types";
8
+ import { cloneDeep as ze, pick as le, omit as He } from "lodash-es";
9
+ import { GPorWaterMark as Qt } from "@gx-design-vue/pro-watermark";
10
+ import { isBoolean as Ye, getSlot as A, getPrefixCls as me, classNames as ut, getLevelData as ea, isArray as ta, isBrowser as aa, merge as na } from "@gx-design-vue/pro-utils";
11
+ import { useMediaQuery as oa, useState as pe, useMergedState as ia } from "@gx-design-vue/pro-hooks";
12
+ import { useWindowSize as la, useClipboard as ra } from "@vueuse/core";
13
+ import sa from "@gx-design-vue/scrollbar";
14
+ import { GColorPicker as _e } from "@gx-design-vue/color-picker";
15
+ const da = /* @__PURE__ */ j({
15
16
  name: "PageLoading",
16
17
  props: {
17
18
  ...ve.props
18
19
  },
19
20
  setup(e) {
20
- return n("div", {
21
+ const {
22
+ indicator: t
23
+ } = Te();
24
+ return a("div", {
21
25
  style: {
22
26
  paddingTop: "100px",
23
27
  textAlign: "center"
24
28
  }
25
- }, [n(ve, _(e, {
26
- indicator: n("i", {
27
- class: "toolsfont create-spin toolsfont tools-icon-jiazaizhong",
28
- style: {
29
- fontSize: "30px"
30
- }
31
- }, null)
29
+ }, [a(ve, G(e, {
30
+ indicator: t == null ? void 0 : t.value
32
31
  }), null)]);
33
32
  }
34
- }), mt = Qt({
33
+ }), ct = Jt({
35
34
  func: void 0,
36
35
  bool: void 0,
37
36
  string: void 0,
@@ -40,7 +39,7 @@ const cn = /* @__PURE__ */ j({
40
39
  object: void 0,
41
40
  integer: void 0
42
41
  });
43
- mt.extend([{
42
+ ct.extend([{
44
43
  name: "looseBool",
45
44
  getter: !0,
46
45
  type: Boolean,
@@ -55,7 +54,7 @@ mt.extend([{
55
54
  getter: !0,
56
55
  type: null
57
56
  }]);
58
- const D = mt, se = {
57
+ const D = ct, se = {
59
58
  theme: {
60
59
  type: String,
61
60
  default: V.theme
@@ -197,7 +196,7 @@ const D = mt, se = {
197
196
  onSelect: {
198
197
  type: Function
199
198
  }
200
- }, G = {
199
+ }, q = {
201
200
  ...se,
202
201
  ...Ie,
203
202
  menuLoading: D.looseBool,
@@ -249,106 +248,106 @@ const D = mt, se = {
249
248
  onCollapse: {
250
249
  type: Function
251
250
  }
252
- }, mn = /(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/, ft = (e) => mn.test(e);
253
- function fn(e) {
251
+ }, ua = /(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/, mt = (e) => ua.test(e);
252
+ function ca(e) {
254
253
  return /\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e);
255
254
  }
256
- function gt(e, t, a, o) {
257
- var u, m, c, S, p, B, y, F, l, r, M, R, w, h, b, x, I, f, C, $, O, L, N, H, P, X, Y, W, q, d, v, k, T, z;
255
+ function ft(e, t, n, o) {
256
+ var u, f, c, w, v, O, h, T, l, r, I, k, x, y, g, C, $, d, S, R, M, L, H, N, P, W, X, U, Y, m, b, B, F, z;
258
257
  const i = { ...e };
259
- return a === "light" ? (i.colorItemBg = (m = (u = t.layout) == null ? void 0 : u[o]) == null ? void 0 : m.colorBgMenu, i.colorSubItemBg = (S = (c = t.layout) == null ? void 0 : c[o]) == null ? void 0 : S.colorSubItemBg, i.colorItemBgSelected = (B = (p = t.layout) == null ? void 0 : p[o]) == null ? void 0 : B.colorBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (F = (y = t.layout) == null ? void 0 : y[o]) == null ? void 0 : F.colorBgMenuItemSelected, i.colorItemText = (r = (l = t.layout) == null ? void 0 : l[o]) == null ? void 0 : r.colorTextMenu, i.colorItemTextHover = (R = (M = t.layout) == null ? void 0 : M[o]) == null ? void 0 : R.colorTextMenuHover, i.colorItemTextSelected = (h = (w = t.layout) == null ? void 0 : w[o]) == null ? void 0 : h.colorTextMenuSelected, i.colorItemTextSelectedHorizontal = (x = (b = t.layout) == null ? void 0 : b[o]) == null ? void 0 : x.colorTextMenuSelected, o === "sider" && (i.colorItemBgHover = (f = (I = t.layout) == null ? void 0 : I[o]) == null ? void 0 : f.colorBgMenuItemHover)) : a === "dark" && (i.colorItemBg = ($ = (C = t.layout) == null ? void 0 : C[o]) == null ? void 0 : $.colorDarkBgMenu, i.colorSubItemBg = (L = (O = t.layout) == null ? void 0 : O[o]) == null ? void 0 : L.colorDarkSubItemBg, i.colorItemBgSelected = (H = (N = t.layout) == null ? void 0 : N[o]) == null ? void 0 : H.colorDarkBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (X = (P = t.layout) == null ? void 0 : P[o]) == null ? void 0 : X.colorDarkBgMenuItemSelected, i.colorItemText = (W = (Y = t.layout) == null ? void 0 : Y[o]) == null ? void 0 : W.colorDarkTextMenu, i.colorItemTextHover = (d = (q = t.layout) == null ? void 0 : q[o]) == null ? void 0 : d.colorDarkTextMenuHover, i.colorItemTextSelected = (k = (v = t.layout) == null ? void 0 : v[o]) == null ? void 0 : k.colorDarkTextMenuSelected, i.colorItemTextSelectedHorizontal = (z = (T = t.layout) == null ? void 0 : T[o]) == null ? void 0 : z.colorDarkTextMenuSelected, o === "header" && (i.colorActiveBarHeight = 0)), i;
258
+ return n === "light" ? (i.colorItemBg = (f = (u = t.layout) == null ? void 0 : u[o]) == null ? void 0 : f.colorBgMenu, i.colorSubItemBg = (w = (c = t.layout) == null ? void 0 : c[o]) == null ? void 0 : w.colorSubItemBg, i.colorItemBgSelected = (O = (v = t.layout) == null ? void 0 : v[o]) == null ? void 0 : O.colorBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (T = (h = t.layout) == null ? void 0 : h[o]) == null ? void 0 : T.colorBgMenuItemSelected, i.colorItemText = (r = (l = t.layout) == null ? void 0 : l[o]) == null ? void 0 : r.colorTextMenu, i.colorItemTextHover = (k = (I = t.layout) == null ? void 0 : I[o]) == null ? void 0 : k.colorTextMenuHover, i.colorItemTextSelected = (y = (x = t.layout) == null ? void 0 : x[o]) == null ? void 0 : y.colorTextMenuSelected, i.colorItemTextSelectedHorizontal = (C = (g = t.layout) == null ? void 0 : g[o]) == null ? void 0 : C.colorTextMenuSelected, o === "sider" && (i.colorItemBgHover = (d = ($ = t.layout) == null ? void 0 : $[o]) == null ? void 0 : d.colorBgMenuItemHover)) : n === "dark" && (i.colorItemBg = (R = (S = t.layout) == null ? void 0 : S[o]) == null ? void 0 : R.colorDarkBgMenu, i.colorSubItemBg = (L = (M = t.layout) == null ? void 0 : M[o]) == null ? void 0 : L.colorDarkSubItemBg, i.colorItemBgSelected = (N = (H = t.layout) == null ? void 0 : H[o]) == null ? void 0 : N.colorDarkBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (W = (P = t.layout) == null ? void 0 : P[o]) == null ? void 0 : W.colorDarkBgMenuItemSelected, i.colorItemText = (U = (X = t.layout) == null ? void 0 : X[o]) == null ? void 0 : U.colorDarkTextMenu, i.colorItemTextHover = (m = (Y = t.layout) == null ? void 0 : Y[o]) == null ? void 0 : m.colorDarkTextMenuHover, i.colorItemTextSelected = (B = (b = t.layout) == null ? void 0 : b[o]) == null ? void 0 : B.colorDarkTextMenuSelected, i.colorItemTextSelectedHorizontal = (z = (F = t.layout) == null ? void 0 : F[o]) == null ? void 0 : z.colorDarkTextMenuSelected, o === "header" && (i.colorActiveBarHeight = 0)), i;
260
259
  }
261
- const gn = ["left", "right"], ue = ["left", "right", "down", "up"], hn = ["downBig", "upBig", "leftBig", "rightBig"], yn = ["topLeft", "bottomRight", "topRight", "bottomLeft"], bn = ["downLeft", "upRight", "downRight", "upLeft"], je = {
260
+ const ma = ["left", "right"], de = ["left", "right", "down", "up"], fa = ["downBig", "upBig", "leftBig", "rightBig"], ga = ["topLeft", "bottomRight", "topRight", "bottomLeft"], ha = ["downLeft", "upRight", "downRight", "upLeft"], Ve = {
262
261
  preset: [
263
262
  //预设动画配置
264
- { name: "back", alias: "渐近", directions: ue },
265
- { name: "bounce", alias: "弹跳", directions: ue.concat("default") },
263
+ { name: "back", alias: "渐近", directions: de },
264
+ { name: "bounce", alias: "弹跳", directions: de.concat("default") },
266
265
  {
267
266
  name: "fade",
268
267
  alias: "淡化",
269
- directions: ue.concat(hn).concat(yn).concat("default")
268
+ directions: de.concat(fa).concat(ga).concat("default")
270
269
  },
271
270
  { name: "flip", alias: "翻转", directions: ["x", "y"] },
272
- { name: "lightSpeed", alias: "光速", directions: gn },
273
- { name: "rotate", alias: "旋转", directions: bn.concat("default") },
271
+ { name: "lightSpeed", alias: "光速", directions: ma },
272
+ { name: "rotate", alias: "旋转", directions: ha.concat("default") },
274
273
  { name: "roll", alias: "翻滚", directions: ["default"] },
275
- { name: "zoom", alias: "缩放", directions: ue.concat("default") },
276
- { name: "slide", alias: "滑动", directions: ue }
274
+ { name: "zoom", alias: "缩放", directions: de.concat("default") },
275
+ { name: "slide", alias: "滑动", directions: de }
277
276
  ]
278
277
  };
279
- function pn(e) {
278
+ function ya(e) {
280
279
  return e.map((t) => {
281
280
  var o;
282
- const a = { ...t };
283
- if ((o = a.meta) != null && o.hideInMenu)
281
+ const n = { ...t };
282
+ if ((o = n.meta) != null && o.hideInMenu)
284
283
  return null;
285
- if (a && (a != null && a.children)) {
286
- if (a.children.some((i) => {
284
+ if (n && (n != null && n.children)) {
285
+ if (n.children.some((i) => {
287
286
  var u;
288
287
  return i && !((u = i.meta) != null && u.hideInMenu);
289
288
  }))
290
289
  return {
291
- ...a,
292
- children: pn(a.children)
290
+ ...n,
291
+ children: ya(n.children)
293
292
  };
294
- delete a.children;
293
+ delete n.children;
295
294
  }
296
- return a;
295
+ return n;
297
296
  }).filter((t) => t);
298
297
  }
299
- function vn(e) {
298
+ function ba(e) {
300
299
  return e.map((t) => {
301
300
  var o;
302
- const a = { ...t };
303
- return (o = a.meta) != null && o.hideInMenu ? null : (a.linkPath = Cn(a.children || []), a.children && delete a.children, a);
301
+ const n = { ...t };
302
+ return (o = n.meta) != null && o.hideInMenu ? null : (n.linkPath = va(n.children || []), n.children && delete n.children, n);
304
303
  }).filter((t) => t);
305
304
  }
306
- function xn(e, t) {
307
- const a = (t || "").split("/").length === 2 ? t || "" : `/${(t || "").split("/")[1]}`, o = e.find((i) => i.path === a);
305
+ function pa(e, t) {
306
+ const n = (t || "").split("/").length === 2 ? t || "" : `/${(t || "").split("/")[1]}`, o = e.find((i) => i.path === n);
308
307
  return t === void 0 ? [] : (o == null ? void 0 : o.children) || [];
309
308
  }
310
- function Cn(e) {
309
+ function va(e) {
311
310
  let t = "";
312
- const a = function(o) {
311
+ const n = function(o) {
313
312
  let i = "";
314
- return o.children && o.children.length > 0 ? i = a(o.children[0]) : i = o.path, i;
313
+ return o.children && o.children.length > 0 ? i = n(o.children[0]) : i = o.path, i;
315
314
  };
316
315
  if (e.length > 0 && e[0].children && e[0].children.length > 0)
317
- t = a(e[0].children[0]);
316
+ t = n(e[0].children[0]);
318
317
  else {
319
318
  const o = e.length > 0 ? e[0] : void 0;
320
319
  t = (o == null ? void 0 : o.path) || "";
321
320
  }
322
321
  return t;
323
322
  }
324
- function Di(e, t) {
323
+ function Ii(e, t) {
325
324
  var o, i;
326
- const a = ((i = (o = e.find((u) => u.path === t)) == null ? void 0 : o.meta) == null ? void 0 : i.key) || "";
327
- if (a) {
328
- const u = [], m = a.split("-");
329
- for (let c = 0; c < m.length; c += 1)
330
- u.push(He(m).splice(0, c + 1).join("-"));
331
- return e.filter((c) => u.some((S) => {
332
- var p;
333
- return S === ((p = c == null ? void 0 : c.meta) == null ? void 0 : p.key) || "";
325
+ const n = ((i = (o = e.find((u) => u.path === t)) == null ? void 0 : o.meta) == null ? void 0 : i.key) || "";
326
+ if (n) {
327
+ const u = [], f = n.split("-");
328
+ for (let c = 0; c < f.length; c += 1)
329
+ u.push(ze(f).splice(0, c + 1).join("-"));
330
+ return e.filter((c) => u.some((w) => {
331
+ var v;
332
+ return w === ((v = c == null ? void 0 : c.meta) == null ? void 0 : v.key) || "";
334
333
  }));
335
334
  }
336
335
  return [];
337
336
  }
338
- function wn(e) {
337
+ function xa(e) {
339
338
  return e.layout === "mix" && (e.fixSiderbar = !0, e.fixedHeader = !0, e.splitMenus = !0), e.layout === "top" && (e.fixSiderbar = !1, e.fixedHeader = !0, e.splitMenus = !1), 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 };
340
339
  }
341
- function Sn(e) {
340
+ function Ca(e) {
342
341
  const t = ["showTabsBar", "fixedMultiTab", "fixSiderbar", "fixedHeader", "splitMenus"];
343
342
  let o = Object.keys(e).reduce((i, u) => (i[u] = !1, i), {});
344
- return o = In(o, t), e.layout === "mix" && (o.fixSiderbar = !0, o.fixedHeader = !0), e.layout === "side" && (o.splitMenus = !0), e.layout === "simple" && (o.splitMenus = !0, o.fixedHeader = !0, o.showTabsBar = !0, o.fixedMultiTab = !0), e.layout === "wide" && (o.splitMenus = !0, o.fixedHeader = !0, o.fixSiderbar = !0, o.showTabsBar = !0, o.fixedMultiTab = !0), o;
343
+ return o = wa(o, t), e.layout === "mix" && (o.fixSiderbar = !0, o.fixedHeader = !0), e.layout === "side" && (o.splitMenus = !0), e.layout === "simple" && (o.splitMenus = !0, o.fixedHeader = !0, o.showTabsBar = !0, o.fixedMultiTab = !0), e.layout === "wide" && (o.splitMenus = !0, o.fixedHeader = !0, o.fixSiderbar = !0, o.showTabsBar = !0, o.fixedMultiTab = !0), o;
345
344
  }
346
- function In(e, t) {
345
+ function wa(e, t) {
347
346
  return {
348
- ...t.reduce((a, o) => ({ ...a, [o]: e[o] }), {})
347
+ ...t.reduce((n, o) => ({ ...n, [o]: e[o] }), {})
349
348
  };
350
349
  }
351
- const Mn = (e = Symbol(), t = "Context.Provider") => j({
350
+ const Sa = (e = Symbol(), t = "Context.Provider") => j({
352
351
  name: t,
353
352
  props: {
354
353
  value: {
@@ -357,48 +356,48 @@ const Mn = (e = Symbol(), t = "Context.Provider") => j({
357
356
  }
358
357
  },
359
358
  setup(o, { slots: i }) {
360
- return Fe(e, kt(o.value)), () => {
359
+ return ot(e, Rt(o.value)), () => {
361
360
  var u;
362
361
  return (u = i.default) == null ? void 0 : u.call(i);
363
362
  };
364
363
  }
365
- }), On = (e = Symbol(), t) => it(e, t || {}), We = Symbol("pro-layout-context"), Rn = () => Mn(We, "ProLayoutContext.Provider"), Bn = (e) => {
366
- Fe(We, e);
367
- }, ee = () => On(We);
368
- Rn();
369
- function qe(e) {
364
+ }), Ia = (e = Symbol(), t) => kt(e, t || {}), je = Symbol("pro-layout-context"), Ma = () => Sa(je, "ProLayoutContext.Provider"), Oa = (e) => {
365
+ ot(je, e);
366
+ }, ee = () => Ia(je);
367
+ Ma();
368
+ function Ge(e) {
370
369
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
371
370
  }
372
371
  const xe = (e) => {
373
372
  const {
374
373
  icon: t,
375
- iconType: a,
374
+ iconType: n,
376
375
  iconfontUrl: o
377
376
  } = e;
378
377
  if (!t)
379
378
  return null;
380
379
  if (typeof t == "string" && t !== "") {
381
- if (ft(t) || fn(t))
382
- return n("img", {
380
+ if (mt(t) || ca(t))
381
+ return a("img", {
383
382
  src: t,
384
383
  alt: "icon",
385
384
  class: `${e.className}-icon-image`
386
385
  }, null);
387
- if (a === 1) {
388
- const u = At({
386
+ if (n === 1) {
387
+ const u = Wt({
389
388
  scriptUrl: o || V.iconfontUrl
390
389
  });
391
- return o ? n(u, {
390
+ return o ? a(u, {
392
391
  type: t
393
- }, null) : n("i", {
392
+ }, null) : a("i", {
394
393
  class: `iconfont ${t} ${e.className}-icon`
395
394
  }, null);
396
395
  }
397
396
  }
398
397
  if (ie(t))
399
398
  return t;
400
- const i = lt(t);
401
- return typeof xe == "function" && n(i, null, null) || null;
399
+ const i = it(t);
400
+ return typeof xe == "function" && a(i, null, null) || null;
402
401
  };
403
402
  xe.props = {
404
403
  icon: {
@@ -408,13 +407,13 @@ xe.props = {
408
407
  className: String,
409
408
  iconfontUrl: String
410
409
  };
411
- const ht = /* @__PURE__ */ j({
410
+ const gt = /* @__PURE__ */ j({
412
411
  name: "BaseMenu",
413
412
  props: Ie,
414
413
  setup(e) {
415
- const t = De(), {
416
- getPrefixCls: a
417
- } = ee(), o = a({
414
+ const t = Le(), {
415
+ getPrefixCls: n
416
+ } = ee(), o = n({
418
417
  suffixCls: "menu-item",
419
418
  isPor: !0
420
419
  }), i = (l) => {
@@ -423,82 +422,82 @@ const ht = /* @__PURE__ */ j({
423
422
  }, u = (l) => {
424
423
  var r;
425
424
  (r = e.onSelect) == null || r.call(e, l.selectedKeys);
426
- }, m = (l) => {
425
+ }, f = (l) => {
427
426
  var r;
428
427
  (r = e.onClick) == null || r.call(e, ...l);
429
428
  }, c = (l, r) => {
430
- var w;
431
- const M = l.target || "", R = ft(M);
432
- ((w = t.currentRoute.value) == null ? void 0 : w.fullPath) !== r.to && R && M && l.targetStatus === 1 && window.open(M);
433
- }, S = lt("router-link"), p = (l = []) => l.map((r) => B(r)).filter((r) => r), B = (l) => {
434
- var R, w, h, b, x, I, f, C, $;
435
- if (Array.isArray(l.children) && l.children.length > 0 && !((R = l == null ? void 0 : l.meta) != null && R.hideInMenu) && !((w = l == null ? void 0 : l.meta) != null && w.hideChildrenInMenu)) {
436
- let O;
429
+ var x;
430
+ const I = l.target || "", k = mt(I);
431
+ ((x = t.currentRoute.value) == null ? void 0 : x.fullPath) !== r.to && k && I && l.targetStatus === 1 && window.open(I);
432
+ }, w = it("router-link"), v = (l = []) => l.map((r) => O(r)).filter((r) => r), O = (l) => {
433
+ var k, x, y, g, C, $, d, S, R;
434
+ if (Array.isArray(l.children) && l.children.length > 0 && !((k = l == null ? void 0 : l.meta) != null && k.hideInMenu) && !((x = l == null ? void 0 : l.meta) != null && x.hideChildrenInMenu)) {
435
+ let M;
437
436
  if (e.subMenuItemRender)
438
437
  return e.subMenuItemRender({
439
438
  item: l,
440
- children: p(l.children)
439
+ children: v(l.children)
441
440
  });
442
- const L = (h = l.meta) == null ? void 0 : h.title, N = (b = l.meta) != null && b.icon ? n("span", {
441
+ const L = (y = l.meta) == null ? void 0 : y.title, H = (g = l.meta) != null && g.icon ? a("span", {
443
442
  class: "gx-pro-sider-menu-item"
444
- }, [n("span", {
443
+ }, [a("span", {
445
444
  class: "gx-pro-sider-menu-item-title"
446
- }, [L])]) : n("span", {
445
+ }, [L])]) : a("span", {
447
446
  class: "gx-pro-sider-menu-item"
448
- }, [L]), H = ((x = l.meta) == null ? void 0 : x.type) === "group", P = H ? ae.ItemGroup : ae.SubMenu;
449
- return n(P, {
450
- title: N,
447
+ }, [L]), N = ((C = l.meta) == null ? void 0 : C.type) === "group", P = N ? ne.ItemGroup : ne.SubMenu;
448
+ return a(P, {
449
+ title: H,
451
450
  key: l.path,
452
- icon: H ? null : n(xe, {
451
+ icon: N ? null : a(xe, {
453
452
  className: o,
454
- icon: (I = l.meta) == null ? void 0 : I.icon,
453
+ icon: ($ = l.meta) == null ? void 0 : $.icon,
455
454
  iconfontUrl: e.iconfontUrl,
456
- iconType: (f = l.meta) == null ? void 0 : f.iconType
455
+ iconType: (d = l.meta) == null ? void 0 : d.iconType
457
456
  }, null)
458
- }, qe(O = p(l.children)) ? O : {
459
- default: () => [O]
457
+ }, Ge(M = v(l.children)) ? M : {
458
+ default: () => [M]
460
459
  });
461
460
  }
462
- const [r, M] = y(l);
461
+ const [r, I] = h(l);
463
462
  return e.menuItemRender && e.menuItemRender({
464
463
  item: l,
465
464
  title: r,
466
- icon: M
467
- }) || n(ae.Item, {
468
- disabled: (C = l.meta) == null ? void 0 : C.disabled,
469
- danger: ($ = l.meta) == null ? void 0 : $.danger,
465
+ icon: I
466
+ }) || a(ne.Item, {
467
+ disabled: (S = l.meta) == null ? void 0 : S.disabled,
468
+ danger: (R = l.meta) == null ? void 0 : R.danger,
470
469
  key: l.path,
471
- icon: M
472
- }, qe(r) ? r : {
470
+ icon: I
471
+ }, Ge(r) ? r : {
473
472
  default: () => [r]
474
473
  });
475
- }, y = (l) => {
476
- var x, I, f, C, $;
474
+ }, h = (l) => {
475
+ var C, $, d, S, R;
477
476
  const r = {
478
477
  ...l.meta
479
- }, M = r.targetStatus === 1 && r.target ? "a" : S, R = {
478
+ }, I = r.targetStatus === 1 && r.target ? "a" : w, k = {
480
479
  to: l.linkPath || l.path || ""
481
- }, w = (x = l.meta) == null ? void 0 : x.title, h = (I = l.meta) != null && I.icon ? n(M, _(R, {
480
+ }, x = (C = l.meta) == null ? void 0 : C.title, y = ($ = l.meta) != null && $.icon ? a(I, G(k, {
482
481
  class: "gx-pro-sider-menu-item",
483
- onClick: () => c(r, R)
482
+ onClick: () => c(r, k)
484
483
  }), {
485
- default: () => [n("span", {
484
+ default: () => [a("span", {
486
485
  class: "gx-pro-sider-menu-item-title"
487
- }, [w])]
488
- }) : n(M, _(R, {
486
+ }, [x])]
487
+ }) : a(I, G(k, {
489
488
  class: "gx-pro-sider-menu-item",
490
- onClick: () => c(r, R)
489
+ onClick: () => c(r, k)
491
490
  }), {
492
- default: () => [n("span", null, [w])]
493
- }), b = ((f = l.meta) == null ? void 0 : f.icon) && n(xe, {
491
+ default: () => [a("span", null, [x])]
492
+ }), g = ((d = l.meta) == null ? void 0 : d.icon) && a(xe, {
494
493
  className: o,
495
- icon: (C = l.meta) == null ? void 0 : C.icon,
494
+ icon: (S = l.meta) == null ? void 0 : S.icon,
496
495
  iconfontUrl: e.iconfontUrl,
497
- iconType: ($ = l.meta) == null ? void 0 : $.iconType
496
+ iconType: (R = l.meta) == null ? void 0 : R.iconType
498
497
  }, null) || void 0;
499
- return [h, b];
500
- }, F = g(() => p(e.menuData));
501
- return () => n(ae, _({
498
+ return [y, g];
499
+ }, T = p(() => v(e.menuData));
500
+ return () => a(ne, G({
502
501
  key: "Menu",
503
502
  inlineIndent: 16,
504
503
  mode: e.mode,
@@ -507,12 +506,12 @@ const ht = /* @__PURE__ */ j({
507
506
  selectedKeys: e.selectedKeys || [],
508
507
  onOpenChange: i,
509
508
  onSelect: u,
510
- onClick: m
509
+ onClick: f
511
510
  }, e.menuProps), {
512
- default: () => [F.value]
511
+ default: () => [T.value]
513
512
  });
514
513
  }
515
- }), yt = new s("pro-layout-title-hide", {
514
+ }), ht = new s("pro-layout-title-hide", {
516
515
  "0%": { display: "none", opacity: 0 },
517
516
  "99%": {
518
517
  display: "none",
@@ -522,7 +521,7 @@ const ht = /* @__PURE__ */ j({
522
521
  display: "block",
523
522
  opacity: 1
524
523
  }
525
- }), kn = (e) => {
524
+ }), Ra = (e) => {
526
525
  const t = `${e.antCls}-menu`;
527
526
  return {
528
527
  [`${e.proComponentsCls}-basic-layout`]: {
@@ -533,8 +532,8 @@ const ht = /* @__PURE__ */ j({
533
532
  }
534
533
  }
535
534
  };
536
- }, $n = (e) => {
537
- var t, a, o, i, u, m, c, S, p, B, y, F;
535
+ }, ka = (e) => {
536
+ var t, n, o, i, u, f, c, w, v, O, h, T;
538
537
  return {
539
538
  [`${e.proComponentsCls}-basic-layout`]: {
540
539
  [`&${e.proComponentsCls}-basic-layout-wide`]: {
@@ -547,7 +546,7 @@ const ht = /* @__PURE__ */ j({
547
546
  [e.componentCls]: {
548
547
  position: "relative",
549
548
  borderRight: 0,
550
- background: (a = (t = e.layout) == null ? void 0 : t.sider) == null ? void 0 : a.colorDarkBgMenu,
549
+ background: (n = (t = e.layout) == null ? void 0 : t.sider) == null ? void 0 : n.colorDarkBgMenu,
551
550
  zIndex: 9,
552
551
  "&-menu": {
553
552
  position: "relative",
@@ -567,7 +566,7 @@ const ht = /* @__PURE__ */ j({
567
566
  background: (i = (o = e.layout) == null ? void 0 : o.sider) == null ? void 0 : i.colorBgMenu,
568
567
  boxShadow: "2px 0 8px 0 rgba(29,35,41,.05)",
569
568
  [`${e.componentCls}-footer`]: {
570
- color: (m = (u = e.layout) == null ? void 0 : u.sider) == null ? void 0 : m.colorTextMenu
569
+ color: (f = (u = e.layout) == null ? void 0 : u.sider) == null ? void 0 : f.colorTextMenu
571
570
  }
572
571
  },
573
572
  "&-links": {
@@ -583,10 +582,10 @@ const ht = /* @__PURE__ */ j({
583
582
  background: "transparent"
584
583
  },
585
584
  "&-footer": {
586
- color: (S = (c = e.layout) == null ? void 0 : c.sider) == null ? void 0 : S.colorDarkTextMenu,
585
+ color: (w = (c = e.layout) == null ? void 0 : c.sider) == null ? void 0 : w.colorDarkTextMenu,
587
586
  paddingBlockEnd: 16,
588
587
  fontSize: e.fontSize,
589
- animationName: yt,
588
+ animationName: ht,
590
589
  animationDuration: ".4s",
591
590
  animationTimingFunction: "ease"
592
591
  }
@@ -598,13 +597,13 @@ const ht = /* @__PURE__ */ j({
598
597
  zIndex: "100",
599
598
  height: "100%",
600
599
  "&-mix": {
601
- height: `calc(100% - ${((B = (p = e.layout) == null ? void 0 : p.header) == null ? void 0 : B.heightLayoutHeader) || V.headerHeight}px)`,
602
- insetBlockStart: `${((F = (y = e.layout) == null ? void 0 : y.header) == null ? void 0 : F.heightLayoutHeader) || V.headerHeight}px`
600
+ height: `calc(100% - ${((O = (v = e.layout) == null ? void 0 : v.header) == null ? void 0 : O.heightLayoutHeader) || V.headerHeight}px)`,
601
+ insetBlockStart: `${((T = (h = e.layout) == null ? void 0 : h.header) == null ? void 0 : T.heightLayoutHeader) || V.headerHeight}px`
603
602
  }
604
603
  }
605
604
  }
606
605
  };
607
- }, Pn = (e) => ({
606
+ }, Ba = (e) => ({
608
607
  [`${e.proComponentsCls}-basic-layout`]: {
609
608
  [`${e.antCls}-menu`]: {
610
609
  [`${e.proComponentsCls}-menu-item-icon${e.antCls}-menu-item-icon`]: {
@@ -613,7 +612,7 @@ const ht = /* @__PURE__ */ j({
613
612
  }
614
613
  }
615
614
  }
616
- }), Fn = (e) => ({
615
+ }), $a = (e) => ({
617
616
  [`${e.proComponentsCls}-sider`]: {
618
617
  "&-light": {
619
618
  [`${e.proComponentsCls}-sider-logo`]: {
@@ -647,7 +646,7 @@ const ht = /* @__PURE__ */ j({
647
646
  marginInlineEnd: 0,
648
647
  marginInlineStart: 12,
649
648
  color: e.colorWhite,
650
- animationName: yt,
649
+ animationName: ht,
651
650
  animationDuration: ".2s",
652
651
  fontWeight: 600,
653
652
  fontSize: 18,
@@ -672,35 +671,35 @@ const ht = /* @__PURE__ */ j({
672
671
  }
673
672
  }
674
673
  }
675
- }), bt = (e, t) => e ? typeof e == "string" ? n("img", {
674
+ }), yt = (e, t) => e ? typeof e == "string" ? a("img", {
676
675
  src: e,
677
676
  alt: "logo",
678
677
  style: t
679
- }, null) : typeof e == "function" ? e() : e : null, Tn = (e, t = "menuHeaderRender") => {
678
+ }, null) : typeof e == "function" ? e() : e : null, Pa = (e, t = "menuHeaderRender") => {
680
679
  const {
681
- logo: a,
680
+ logo: n,
682
681
  logoStyle: o,
683
682
  title: i,
684
683
  layout: u
685
- } = e, m = e[t || ""];
686
- if (m === !1)
684
+ } = e, f = e[t || ""];
685
+ if (f === !1)
687
686
  return null;
688
- const c = bt(a, o), S = i && n("h1", null, [i]);
689
- return typeof m == "function" ? m(c, e.collapsed ? null : S, e) : n(Z, null, [c || null, e.collapsed && u === "side" ? null : S]);
690
- }, Ae = /* @__PURE__ */ j({
687
+ const c = yt(n, o), w = i && a("h1", null, [i]);
688
+ return typeof f == "function" ? f(c, e.collapsed ? null : w, e) : a(Q, null, [c || null, e.collapsed && u === "side" ? null : w]);
689
+ }, We = /* @__PURE__ */ j({
691
690
  name: "LogoContent",
692
691
  props: re,
693
692
  setup(e) {
694
693
  const {
695
694
  getPrefixCls: t
696
- } = ee(), a = g(() => e.layout === "side" || e.layout === "simple"), o = g(() => t({
697
- suffixCls: a.value || e.drawer ? "sider" : "global-header",
695
+ } = ee(), n = p(() => e.layout === "side" || e.layout === "simple"), o = p(() => t({
696
+ suffixCls: n.value || e.drawer ? "sider" : "global-header",
698
697
  isPor: !0
699
698
  })), {
700
699
  wrapSSR: i,
701
700
  hashId: u
702
- } = Q("ProLayoutLogo", [Fn]), m = g(() => Tn(e, e.renderKey));
703
- return () => i(n("div", {
701
+ } = te("ProLayoutLogo", [$a]), f = p(() => Pa(e, e.renderKey));
702
+ return () => i(a("div", {
704
703
  id: "logo",
705
704
  class: {
706
705
  [`${u.value}`]: !0,
@@ -711,192 +710,195 @@ const ht = /* @__PURE__ */ j({
711
710
  var c;
712
711
  return (c = e.onMenuHeaderClick) == null ? void 0 : c.call(e);
713
712
  }
714
- }, [n("a", null, [m.value || null])]));
713
+ }, [a("a", null, [f.value || null])]));
715
714
  }
716
715
  });
717
- Ae.inheritAttrs = !1;
718
- function Ln(e) {
716
+ We.inheritAttrs = !1;
717
+ function Fa(e) {
719
718
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
720
719
  }
721
720
  const {
722
- Sider: Dn
721
+ Sider: Ta
723
722
  } = ce, {
724
- Item: Ze
725
- } = ae, pt = (e) => e ? n(Kt, null, null) : n(Ut, null, null), Je = /* @__PURE__ */ j({
726
- props: G,
723
+ Item: qe
724
+ } = ne, bt = (e) => e ? a(At, null, null) : a(Kt, null, null), Ze = /* @__PURE__ */ j({
725
+ props: q,
727
726
  inheritAttrs: !1,
728
727
  setup(e) {
729
728
  const {
730
729
  getPrefixCls: t,
731
- selectedKeys: a,
730
+ selectedKeys: n,
732
731
  flatMenuData: o,
733
732
  menuData: i,
734
733
  openKeys: u
735
734
  } = ee(), {
736
- token: m
735
+ indicator: f
736
+ } = Te(), {
737
+ token: c
737
738
  } = fe(), {
738
- theme: c,
739
- layout: S,
740
- isMobile: p,
741
- menuLoading: B,
742
- breakpoint: y,
743
- fixSiderbar: F,
744
- collapsed: l,
745
- siderWidth: r,
746
- collapsedWidth: M,
747
- menuExtraRender: R,
748
- menuContentRender: w,
749
- menuFooterRender: h,
750
- collapsedButtonRender: b,
751
- links: x
752
- } = we(e), I = t({
739
+ theme: w,
740
+ layout: v,
741
+ isMobile: O,
742
+ menuLoading: h,
743
+ breakpoint: T,
744
+ fixSiderbar: l,
745
+ collapsed: r,
746
+ siderWidth: I,
747
+ collapsedWidth: k,
748
+ menuExtraRender: x,
749
+ menuContentRender: y,
750
+ menuFooterRender: g,
751
+ collapsedButtonRender: C,
752
+ links: $
753
+ } = we(e), d = t({
753
754
  suffixCls: "sider",
754
755
  isPor: !0
755
756
  }), {
756
- wrapSSR: f,
757
- hashId: C
758
- } = Q("ProLayoutSiderMenu", [kn, $n, Pn], I), $ = g(() => e.layout === "wide"), O = g(() => e.layout === "mix" && !e.isMobile && e.splitMenus), L = g(() => S.value === "side" || S.value === "simple"), N = g(() => (e.layout === "mix" || $.value) && "light" || c.value), H = g(() => S.value === "top" ? [] : i.value), P = g(() => e.collapsed ? e.collapsedWidth : e.siderWidth), X = g(() => [C.value, I, p.value ? "shadow" : null, `${I}-${N.value}`, F.value && e.layout !== "wide" ? `${I}-fixed` : null]), Y = g(() => {
759
- var d;
760
- return typeof x.value == "function" ? (d = x.value) == null ? void 0 : d.call(x) : x.value;
761
- }), W = g(() => b.value !== !1 ? b.value || pt : !1), q = (d) => {
762
- var v;
757
+ wrapSSR: S,
758
+ hashId: R
759
+ } = te("ProLayoutSiderMenu", [Ra, ka, Ba], d), M = p(() => e.layout === "wide"), L = p(() => e.layout === "mix" && !e.isMobile && e.splitMenus), H = p(() => v.value === "side" || v.value === "simple"), N = p(() => (e.layout === "mix" || M.value) && "light" || w.value), P = p(() => v.value === "top" ? [] : i.value), W = p(() => e.collapsed ? e.collapsedWidth : e.siderWidth), X = p(() => [R.value, d, O.value ? "shadow" : null, `${d}-${N.value}`, l.value && e.layout !== "wide" ? `${d}-fixed` : null]), U = p(() => {
760
+ var b;
761
+ return typeof $.value == "function" ? (b = $.value) == null ? void 0 : b.call($) : $.value;
762
+ }), Y = p(() => C.value !== !1 ? C.value || bt : !1), m = (b) => {
763
+ var B;
763
764
  if (e.onSelect) {
764
- if (K(O)) {
765
- e.onSelect([(v = a == null ? void 0 : a.value) == null ? void 0 : v[0], ...d]);
765
+ if (K(L)) {
766
+ e.onSelect([(B = n == null ? void 0 : n.value) == null ? void 0 : B[0], ...b]);
766
767
  return;
767
768
  }
768
- e.onSelect(d);
769
+ e.onSelect(b);
769
770
  }
770
771
  };
771
772
  return () => {
772
- var T;
773
- const d = L.value ? n(Ae, _({
774
- drawer: p.value
775
- }, e), null) : null, v = R.value && ((T = R.value) == null ? void 0 : T.call(R, e)), k = n(ht, {
776
- class: `${I}-menu ${C.value}`,
773
+ var z;
774
+ const b = H.value ? a(We, G({
775
+ drawer: O.value
776
+ }, e), null) : null, B = x.value && ((z = x.value) == null ? void 0 : z.call(x, e)), F = a(gt, {
777
+ class: `${d}-menu ${R.value}`,
777
778
  theme: N.value,
778
779
  mode: "inline",
779
- menuData: O.value ? o.value : H.value,
780
+ menuData: L.value ? o.value : P.value,
780
781
  iconfontUrl: e.iconfontUrl,
781
782
  openKeys: u.value,
782
- selectedKeys: a.value,
783
+ selectedKeys: n.value,
783
784
  menuItemRender: e.menuItemRender,
784
785
  subMenuItemRender: e.subMenuItemRender,
785
786
  onClick: e.onMenuClick,
786
787
  style: {
787
788
  width: "100%"
788
789
  },
789
- onOpenKeys: (z) => {
790
- var U;
791
- return e.onOpenKeys && ((U = e.onOpenKeys) == null ? void 0 : U.call(e, z));
790
+ onOpenKeys: (_) => {
791
+ var Z;
792
+ return e.onOpenKeys && ((Z = e.onOpenKeys) == null ? void 0 : Z.call(e, _));
792
793
  },
793
- onSelect: q
794
+ onSelect: m
794
795
  }, null);
795
- return O.value && K(o.value).length === 0 || H.value.length === 0 ? null : f(n(Te, {
796
+ return L.value && K(o.value).length === 0 || P.value.length === 0 ? null : S(a(Pe, {
796
797
  theme: {
797
798
  components: {
798
- Menu: gt({
799
+ Menu: ft({
799
800
  radiusItem: 4,
800
801
  colorActiveBarWidth: 0,
801
802
  colorActiveBarHeight: 0,
802
803
  colorActiveBarBorderSize: 0
803
804
  // 主题颜色
804
- }, (m == null ? void 0 : m.value) || {}, N.value, "sider")
805
+ }, (c == null ? void 0 : c.value) || {}, N.value, "sider")
805
806
  }
806
807
  }
807
808
  }, {
808
- default: () => [F.value && n("div", {
809
+ default: () => [l.value && a("div", {
809
810
  style: {
810
- width: `${P.value}px`,
811
+ width: `${W.value}px`,
811
812
  overflow: "hidden",
812
- flex: `0 0 ${P.value}px`,
813
- maxWidth: `${P.value}px`,
814
- minWidth: `${P.value}px`,
813
+ flex: `0 0 ${W.value}px`,
814
+ maxWidth: `${W.value}px`,
815
+ minWidth: `${W.value}px`,
815
816
  transition: "background-color 0.2s, min-width 0.2s, max-width 0.2s"
816
817
  }
817
- }, null), n(Dn, {
818
+ }, null), a(Ta, {
818
819
  collapsible: !0,
819
820
  trigger: null,
820
821
  class: X.value,
821
822
  style: {
822
823
  overflow: "hidden",
823
- zIndex: F.value ? 101 : void 0,
824
- paddingTop: L.value || e.isMobile || $.value ? 0 : `${e.headerHeight}px`,
824
+ zIndex: l.value ? 101 : void 0,
825
+ paddingTop: H.value || e.isMobile || M.value ? 0 : `${e.headerHeight}px`,
825
826
  top: e.layout === "wide" ? `${e.headerHeight + 20}px` : void 0,
826
827
  height: e.layout === "wide" ? `calc(100vh - ${e.headerHeight + 20 * 2}px)` : void 0
827
828
  },
828
829
  theme: N.value,
829
- breakpoint: y.value || void 0,
830
- collapsed: l.value,
831
- width: r.value,
832
- collapsedWidth: M.value
830
+ breakpoint: T.value || void 0,
831
+ collapsed: r.value,
832
+ width: I.value,
833
+ collapsedWidth: k.value
833
834
  }, {
834
835
  default: () => {
835
- var z, U;
836
- return [B.value && n("div", {
837
- class: ["gx-pro-sider-loading", C.value]
838
- }, [n(ve, {
839
- spinning: B.value
840
- }, null)]), d || null, v && !e.collapsed && n("div", {
836
+ var _, Z;
837
+ return [h.value && a("div", {
838
+ class: ["gx-pro-sider-loading", R.value]
839
+ }, [a(ve, {
840
+ spinning: h.value,
841
+ indicator: f == null ? void 0 : f.value
842
+ }, null)]), b || null, B && !e.collapsed && a("div", {
841
843
  class: {
842
- [`${C.value}`]: !0,
843
- [`${I}-extra`]: !0,
844
- [`${I}-extra-no-logo`]: !d
844
+ [`${R.value}`]: !0,
845
+ [`${d}-extra`]: !0,
846
+ [`${d}-extra-no-logo`]: !b
845
847
  }
846
- }, [v]), n("div", {
848
+ }, [B]), a("div", {
847
849
  style: {
848
850
  flex: "1 1 0%",
849
851
  overflow: "hidden auto"
850
852
  }
851
- }, [w.value && ((z = w.value) == null ? void 0 : z.call(w, e, k)) || k]), e.layout !== "wide" && n("div", {
852
- class: `${I}-links ${C.value}`
853
- }, [n(ae, {
853
+ }, [y.value && ((_ = y.value) == null ? void 0 : _.call(y, e, F)) || F]), e.layout !== "wide" && a("div", {
854
+ class: `${d}-links ${R.value}`
855
+ }, [a(ne, {
854
856
  theme: N.value,
855
857
  inlineIndent: 16,
856
- class: `${I}-link-menu ${C.value}`,
858
+ class: `${d}-link-menu ${R.value}`,
857
859
  selectedKeys: [],
858
860
  openKeys: [],
859
861
  mode: "inline"
860
862
  }, {
861
- default: () => [(Y.value || []).map((E, te) => n(Ze, {
862
- class: `${I}-link ${C.value}`,
863
- key: te
864
- }, Ln(E) ? E : {
863
+ default: () => [(U.value || []).map((E, J) => a(qe, {
864
+ class: `${d}-link ${R.value}`,
865
+ key: J
866
+ }, Fa(E) ? E : {
865
867
  default: () => [E]
866
- })), W.value && !p.value && n(Ze, {
867
- class: `${I}-collapsed-button ${C.value}`,
868
+ })), Y.value && !O.value && a(qe, {
869
+ class: `${d}-collapsed-button ${R.value}`,
868
870
  title: !1,
869
871
  key: "collapsed",
870
872
  onClick: () => {
871
873
  var E;
872
- e.onCollapse && ((E = e.onCollapse) == null || E.call(e, !l.value));
874
+ e.onCollapse && ((E = e.onCollapse) == null || E.call(e, !r.value));
873
875
  }
874
876
  }, {
875
877
  default: () => {
876
878
  var E;
877
- return [(E = W.value) == null ? void 0 : E.call(W, l.value)];
879
+ return [(E = Y.value) == null ? void 0 : E.call(Y, r.value)];
878
880
  }
879
881
  })]
880
- })]), h.value && n("div", {
881
- class: `${I}-footer ${C.value}`
882
- }, [(U = h.value) == null ? void 0 : U.call(h, e)])];
882
+ })]), g.value && a("div", {
883
+ class: `${d}-footer ${R.value}`
884
+ }, [(Z = g.value) == null ? void 0 : Z.call(g, e)])];
883
885
  }
884
886
  })]
885
887
  }));
886
888
  };
887
889
  }
888
- }), Be = /* @__PURE__ */ j({
890
+ }), Re = /* @__PURE__ */ j({
889
891
  name: "SiderMenuWrapper",
890
892
  inheritAttrs: !1,
891
893
  props: {
892
- ...G,
894
+ ...q,
893
895
  matchMenuKeys: {
894
896
  type: Array,
895
897
  default: () => []
896
898
  }
897
899
  },
898
900
  setup(e) {
899
- return () => n(Z, null, [e.isMobile ? n(be, {
901
+ return () => a(Q, null, [e.isMobile ? a(be, {
900
902
  maskClosable: !0,
901
903
  open: !e.collapsed,
902
904
  closable: !1,
@@ -915,77 +917,12 @@ const {
915
917
  flexDirection: "row"
916
918
  }
917
919
  }, {
918
- default: () => [n(Je, _(e, {
920
+ default: () => [a(Ze, G(e, {
919
921
  collapsed: e.isMobile ? !1 : e.collapsed
920
922
  }), null)]
921
- }) : n(Je, e, null)]);
922
- }
923
- }), vt = Symbol("pro-app-context"), Nn = (e = Symbol(), t) => it(e, t || {}), zn = (e) => {
924
- Fe(vt, e);
925
- }, Hn = () => Nn(vt, []);
926
- process.env.NODE_ENV !== "production" && Object.freeze({});
927
- process.env.NODE_ENV !== "production" && Object.freeze([]);
928
- const Vn = Object.prototype.toString;
929
- function jn(e, t) {
930
- return Vn.call(e) === `[object ${t}]`;
931
- }
932
- function Wn(e) {
933
- return jn(e, "Boolean");
934
- }
935
- typeof process < "u" && process.versions != null && process.versions.node != null;
936
- function An(e, t, a = "default") {
937
- var o, i;
938
- return t[a] === !1 ? !1 : Wn(t[a]) && t[a] ? ((o = e == null ? void 0 : e[a]) == null ? void 0 : o.call(e)) || t[a] : t[a] || ((i = e[a]) == null ? void 0 : i.call(e));
939
- }
940
- function Kn(e, t, a) {
941
- const o = {};
942
- return e.forEach((i) => {
943
- o[i] = An(t, a, i);
944
- }), o;
945
- }
946
- const Un = ({ suffixCls: e, customizePrefixCls: t, isPor: a, className: o }) => {
947
- const i = o || (a ? "gx-pro" : "gx");
948
- return t || (e ? `${i}-${e}` : i);
949
- }, En = (e) => {
950
- const { componentCls: t, colorText: a, fontSize: o, lineHeight: i, fontFamily: u } = e;
951
- return {
952
- [t]: {
953
- color: a,
954
- fontSize: o,
955
- lineHeight: i,
956
- fontFamily: u
957
- }
958
- };
959
- }, Xn = ["emptyText", "indicator"], Oe = /* @__PURE__ */ j({
960
- name: "GProApp",
961
- props: {
962
- rootClassName: String,
963
- emptyText: Object,
964
- indicator: Object
965
- },
966
- setup(e, {
967
- slots: t
968
- }) {
969
- const a = Un({
970
- suffixCls: "app",
971
- isPor: !0
972
- }), {
973
- wrapSSR: o,
974
- hashId: i
975
- } = Q("BaseApp", [En], a), u = g(() => Kn(Xn, t, e)), m = g(() => [i.value, a, e.rootClassName]);
976
- return zn({
977
- emptyText: g(() => u.value.emptyText),
978
- indicator: g(() => u.value.indicator)
979
- }), () => {
980
- var c;
981
- return o(n("div", {
982
- class: m.value
983
- }, [(c = t.default) == null ? void 0 : c.call(t)]));
984
- };
923
+ }) : a(Ze, e, null)]);
985
924
  }
986
- });
987
- Oe.install = (e) => (e.component(Oe.name, Oe), e);
988
- const xt = {
925
+ }), pt = {
989
926
  usePageCard: {
990
927
  type: [Boolean]
991
928
  },
@@ -1019,8 +956,8 @@ const xt = {
1019
956
  },
1020
957
  pageHeaderStyle: D.style,
1021
958
  loading: D.bool.def(!1),
1022
- ...xt
1023
- }, Yn = (e) => ({
959
+ ...pt
960
+ }, La = (e) => ({
1024
961
  [e.componentCls]: {
1025
962
  background: e.colorBgContainer,
1026
963
  padding: `${e.paddingLG}px`,
@@ -1031,7 +968,7 @@ const xt = {
1031
968
  marginTop: "8px"
1032
969
  }
1033
970
  }
1034
- }), _n = /* @__PURE__ */ j({
971
+ }), Da = /* @__PURE__ */ j({
1035
972
  name: "ProPageHeader",
1036
973
  props: {
1037
974
  content: Ce.contentRender,
@@ -1040,41 +977,41 @@ const xt = {
1040
977
  setup(e) {
1041
978
  const {
1042
979
  breadcrumb: t,
1043
- getPrefixCls: a
1044
- } = ee(), o = a({
980
+ getPrefixCls: n
981
+ } = ee(), o = n({
1045
982
  isPor: !0,
1046
983
  suffixCls: "page-header"
1047
984
  }), {
1048
985
  wrapSSR: i,
1049
986
  hashId: u
1050
- } = Q("ProPageHeader", [Yn], o), m = g(() => {
987
+ } = te("ProPageHeader", [La], o), f = p(() => {
1051
988
  var c;
1052
989
  return {
1053
990
  ...t.value,
1054
991
  itemRender: ((c = t.value) == null ? void 0 : c.itemRender) || (({
1055
- route: S
1056
- }) => S.path ? n(Wt, {
1057
- to: S.path
992
+ route: w
993
+ }) => w.path ? a(jt, {
994
+ to: w.path
1058
995
  }, {
1059
- default: () => [S.breadcrumbName]
1060
- }) : S.breadcrumbName)
996
+ default: () => [w.breadcrumbName]
997
+ }) : w.breadcrumbName)
1061
998
  };
1062
999
  });
1063
1000
  return () => {
1064
- var c, S;
1065
- return i(n("div", {
1001
+ var c, w;
1002
+ return i(a("div", {
1066
1003
  class: [`${o}`, u.value, `${o}-has-breadcrumb`]
1067
- }, [e.breadcrumb ? (c = e.breadcrumb) == null ? void 0 : c.call(e, m.value) : n(Lt, m.value, null), e.content && n("div", {
1004
+ }, [e.breadcrumb ? (c = e.breadcrumb) == null ? void 0 : c.call(e, f.value) : a(Tt, f.value, null), e.content && a("div", {
1068
1005
  class: [`${o}-content`, u.value]
1069
- }, [(S = e.content) == null ? void 0 : S.call(e)])]));
1006
+ }, [(w = e.content) == null ? void 0 : w.call(e)])]));
1070
1007
  };
1071
1008
  }
1072
- }), Gn = (e) => {
1073
- var t, a, o, i, u, m, c, S;
1009
+ }), Na = (e) => {
1010
+ var t, n, o, i, u, f, c, w;
1074
1011
  return {
1075
1012
  [`${e.proComponentsCls}-basic-layout`]: {
1076
1013
  [e.componentCls]: {
1077
- marginInline: -(((a = (t = e.layout) == null ? void 0 : t.pageContainer) == null ? void 0 : a.paddingBlockPageContainerContent) ?? 24),
1014
+ marginInline: -(((n = (t = e.layout) == null ? void 0 : t.pageContainer) == null ? void 0 : n.paddingBlockPageContainerContent) ?? 24),
1078
1015
  marginBlockStart: -(((i = (o = e.layout) == null ? void 0 : o.pageContainer) == null ? void 0 : i.paddingBlockPageContainerContent) ?? 24)
1079
1016
  },
1080
1017
  [e.gridContent]: {
@@ -1083,106 +1020,106 @@ const xt = {
1083
1020
  },
1084
1021
  [e.componentCls]: {
1085
1022
  ["&-children-content"]: {
1086
- marginInline: ((m = (u = e.layout) == null ? void 0 : u.pageContainer) == null ? void 0 : m.marginInlinePageContainerContent) ?? 24,
1087
- marginBlockStart: ((S = (c = e.layout) == null ? void 0 : c.pageContainer) == null ? void 0 : S.marginBlockPageContainerContent) ?? 24,
1023
+ marginInline: ((f = (u = e.layout) == null ? void 0 : u.pageContainer) == null ? void 0 : f.marginInlinePageContainerContent) ?? 24,
1024
+ marginBlockStart: ((w = (c = e.layout) == null ? void 0 : c.pageContainer) == null ? void 0 : w.marginBlockPageContainerContent) ?? 24,
1088
1025
  padding: "inherit"
1089
1026
  }
1090
1027
  }
1091
1028
  };
1092
1029
  };
1093
- function qn(e) {
1094
- return Ne("ProPageContainter", (t) => {
1095
- const a = ze(t, {
1030
+ function za(e) {
1031
+ return De("ProPageContainter", (t) => {
1032
+ const n = Ne(t, {
1096
1033
  gridContent: `${t.proComponentsCls}-grid-content`
1097
1034
  });
1098
- return [Gn(a)];
1035
+ return [Na(n)];
1099
1036
  }, e);
1100
1037
  }
1101
- function Zn(e) {
1038
+ function Ha(e) {
1102
1039
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
1103
1040
  }
1104
- const Ni = /* @__PURE__ */ j({
1041
+ const Mi = /* @__PURE__ */ j({
1105
1042
  inheritAttrs: !1,
1106
1043
  name: "GProPageContainer",
1107
1044
  props: Ce,
1108
1045
  setup(e, {
1109
1046
  slots: t,
1110
- attrs: a
1047
+ attrs: n
1111
1048
  }) {
1112
1049
  const {
1113
1050
  getPrefixCls: o,
1114
1051
  hasContentWide: i,
1115
1052
  waterMark: u,
1116
- pageHeaderRender: m,
1053
+ pageHeaderRender: f,
1117
1054
  pageContentStyle: c,
1118
- pageChildrenContentStyle: S,
1119
- pageCardProps: p,
1120
- usePageCard: B,
1121
- waterMarkProps: y
1055
+ pageChildrenContentStyle: w,
1056
+ pageCardProps: v,
1057
+ usePageCard: O,
1058
+ waterMarkProps: h
1122
1059
  } = ee(), {
1123
- indicator: F
1124
- } = Hn(), l = fe(), r = o({
1060
+ indicator: T
1061
+ } = Te(), l = fe(), r = o({
1125
1062
  suffixCls: "page-container",
1126
1063
  isPor: !0
1127
- }), M = o({
1064
+ }), I = o({
1128
1065
  suffixCls: "grid-content",
1129
1066
  isPor: !0
1130
- }), R = g(() => e.pageCardProps || p.value), w = g(() => e.waterMarkProps || y.value || {}), h = g(() => e.pageContentStyle || c.value), b = g(() => e.pageChildrenContentStyle || S.value || {}), x = g(() => _e(e.usePageCard) ? e.usePageCard : _e(B.value) ? B.value : !0), {
1131
- wrapSSR: I,
1132
- hashId: f
1133
- } = qn(r), C = () => {
1134
- var L, N, H, P, X, Y;
1135
- const O = A(t, e, "pageChildrenExtraRender");
1136
- return n("div", {
1137
- class: `${r}-children-content ${f.value}`,
1138
- style: b.value
1139
- }, [O && (O == null ? void 0 : O()), x.value ? n(Dt, _(R.value ? le(R.value, ["loading", "bodyStyle"]) : {}, {
1067
+ }), k = p(() => e.pageCardProps || v.value), x = p(() => e.waterMarkProps || h.value || {}), y = p(() => e.pageContentStyle || c.value), g = p(() => e.pageChildrenContentStyle || w.value || {}), C = p(() => Ye(e.usePageCard) ? e.usePageCard : Ye(O.value) ? O.value : !0), {
1068
+ wrapSSR: $,
1069
+ hashId: d
1070
+ } = za(r), S = () => {
1071
+ var L, H, N, P, W, X;
1072
+ const M = A(t, e, "pageChildrenExtraRender");
1073
+ return a("div", {
1074
+ class: `${r}-children-content ${d.value}`,
1075
+ style: g.value
1076
+ }, [M && (M == null ? void 0 : M()), C.value ? a(Lt, G(k.value ? le(k.value, ["loading", "bodyStyle"]) : {}, {
1140
1077
  style: i.value ? {
1141
1078
  minHeight: "853px"
1142
1079
  } : void 0,
1143
1080
  bordered: !1
1144
1081
  }), {
1145
1082
  default: () => {
1146
- var W;
1147
- return [(W = t.default) == null ? void 0 : W.call(t)];
1083
+ var U;
1084
+ return [(U = t.default) == null ? void 0 : U.call(t)];
1148
1085
  }
1149
- }) : O ? n("div", {
1086
+ }) : M ? a("div", {
1150
1087
  style: {
1151
- marginBlockStart: `${(P = (H = (N = (L = l == null ? void 0 : l.token) == null ? void 0 : L.value) == null ? void 0 : N.layout) == null ? void 0 : H.pageContainer) == null ? void 0 : P.marginBlockPageContainerContent}px`
1088
+ marginBlockStart: `${(P = (N = (H = (L = l == null ? void 0 : l.token) == null ? void 0 : L.value) == null ? void 0 : H.layout) == null ? void 0 : N.pageContainer) == null ? void 0 : P.marginBlockPageContainerContent}px`
1152
1089
  }
1153
- }, [(X = t.default) == null ? void 0 : X.call(t)]) : (Y = t.default) == null ? void 0 : Y.call(t)]);
1154
- }, $ = () => {
1155
- let O;
1156
- return n(Z, null, [e.waterMark && u.value ? n(en, w.value, Zn(O = C()) ? O : {
1157
- default: () => [O]
1158
- }) : C()]);
1090
+ }, [(W = t.default) == null ? void 0 : W.call(t)]) : (X = t.default) == null ? void 0 : X.call(t)]);
1091
+ }, R = () => {
1092
+ let M;
1093
+ return a(Q, null, [e.waterMark && u.value ? a(Qt, x.value, Ha(M = S()) ? M : {
1094
+ default: () => [M]
1095
+ }) : S()]);
1159
1096
  };
1160
1097
  return () => {
1161
- const O = A(t, e, "pageHeaderRender") || m.value, L = A(t, e, "breadcrumbRender"), N = A(t, e, "contentRender");
1162
- return I(n(ve, {
1098
+ const M = A(t, e, "pageHeaderRender") || f.value, L = A(t, e, "breadcrumbRender"), H = A(t, e, "contentRender");
1099
+ return $(a(ve, {
1163
1100
  spinning: e.loading,
1164
- indicator: F == null ? void 0 : F.value
1101
+ indicator: T == null ? void 0 : T.value
1165
1102
  }, {
1166
- default: () => [n("div", {
1167
- style: a.style,
1103
+ default: () => [a("div", {
1104
+ style: n.style,
1168
1105
  class: {
1169
- [`${f.value}`]: !0,
1106
+ [`${d.value}`]: !0,
1170
1107
  [`${r}`]: !0
1171
1108
  }
1172
- }, [!i.value && O !== !1 && (O || n(_n, {
1109
+ }, [!i.value && M !== !1 && (M || a(Da, {
1173
1110
  style: e.pageHeaderStyle,
1174
1111
  breadcrumb: L,
1175
- content: N
1176
- }, null)), n("div", {
1177
- class: [M, f.value]
1178
- }, [n("div", {
1179
- class: `${M}-children ${f.value}`,
1180
- style: h.value
1181
- }, [$()])])])]
1112
+ content: H
1113
+ }, null)), a("div", {
1114
+ class: [I, d.value]
1115
+ }, [a("div", {
1116
+ class: `${I}-children ${d.value}`,
1117
+ style: y.value
1118
+ }, [R()])])])]
1182
1119
  }));
1183
1120
  };
1184
1121
  }
1185
- }), Ke = {
1122
+ }), Ae = {
1186
1123
  ...se,
1187
1124
  ...Ie,
1188
1125
  logo: re.logo,
@@ -1192,7 +1129,7 @@ const Ni = /* @__PURE__ */ j({
1192
1129
  autoHideHeader: Boolean,
1193
1130
  collapsed: Boolean,
1194
1131
  isMobile: Boolean,
1195
- siderWidth: G.siderWidth,
1132
+ siderWidth: q.siderWidth,
1196
1133
  headerTheme: {
1197
1134
  type: String,
1198
1135
  default: "dark"
@@ -1216,14 +1153,14 @@ const Ni = /* @__PURE__ */ j({
1216
1153
  default: () => {
1217
1154
  }
1218
1155
  },
1219
- collapsedButtonRender: G.collapsedButtonRender,
1220
- matchMenuKeys: G.matchMenuKeys,
1221
- onCollapse: G.onCollapse,
1222
- onOpenKeys: G.onOpenKeys,
1156
+ collapsedButtonRender: q.collapsedButtonRender,
1157
+ matchMenuKeys: q.matchMenuKeys,
1158
+ onCollapse: q.onCollapse,
1159
+ onOpenKeys: q.onOpenKeys,
1223
1160
  onMenuHeaderClick: Function,
1224
- onSelect: G.onSelect
1225
- }, Ct = {
1226
- ...Ke,
1161
+ onSelect: q.onSelect
1162
+ }, vt = {
1163
+ ...Ae,
1227
1164
  headerTitleRender: {
1228
1165
  type: [Object, Function],
1229
1166
  default: () => {
@@ -1240,14 +1177,14 @@ const Ni = /* @__PURE__ */ j({
1240
1177
  }
1241
1178
  },
1242
1179
  hasSiderMenu: Boolean,
1243
- collapsedWidth: G.collapsedWidth,
1244
- siderWidth: G.siderWidth
1245
- }, wt = {
1180
+ collapsedWidth: q.collapsedWidth,
1181
+ siderWidth: q.siderWidth
1182
+ }, xt = {
1246
1183
  loading: D.looseBool,
1247
- isMobile: G.isMobile,
1184
+ isMobile: q.isMobile,
1248
1185
  collapsed: Ie.collapsed,
1249
- siderWidth: G.siderWidth,
1250
- collapsedWidth: G.collapsedWidth,
1186
+ siderWidth: q.siderWidth,
1187
+ collapsedWidth: q.collapsedWidth,
1251
1188
  isFixedMultiTab: se.fixedMultiTab,
1252
1189
  onReloadPage: {
1253
1190
  type: Function
@@ -1258,7 +1195,7 @@ const Ni = /* @__PURE__ */ j({
1258
1195
  "onUpdate:tabs": {
1259
1196
  type: Function
1260
1197
  }
1261
- }, Jn = (e) => ({
1198
+ }, Va = (e) => ({
1262
1199
  [e.componentCls]: {
1263
1200
  marginBlock: 0,
1264
1201
  marginBlockStart: 48,
@@ -1289,14 +1226,14 @@ const Ni = /* @__PURE__ */ j({
1289
1226
  }
1290
1227
  }
1291
1228
  }
1292
- }), St = [{
1229
+ }), Ct = [{
1293
1230
  key: "Ant Design Pro",
1294
1231
  title: "Ant Design Pro",
1295
1232
  href: "https://pro.ant.design",
1296
1233
  blankTarget: !0
1297
1234
  }, {
1298
1235
  key: "gitee",
1299
- title: n(Et, null, null),
1236
+ title: a(Ut, null, null),
1300
1237
  href: "https://gitee.com/gx12358/vue-antd-admin",
1301
1238
  blankTarget: !0
1302
1239
  }, {
@@ -1309,7 +1246,7 @@ const Ni = /* @__PURE__ */ j({
1309
1246
  props: {
1310
1247
  links: {
1311
1248
  type: [Array, Boolean],
1312
- default: St
1249
+ default: Ct
1313
1250
  },
1314
1251
  copyright: {
1315
1252
  type: [Object, Function, Boolean, String],
@@ -1321,36 +1258,36 @@ const Ni = /* @__PURE__ */ j({
1321
1258
  suffixCls: "global-footer",
1322
1259
  isPor: !0
1323
1260
  }), {
1324
- wrapSSR: a,
1261
+ wrapSSR: n,
1325
1262
  hashId: o
1326
- } = Q("ProLayoutFooter", [Jn], t);
1327
- return () => a(n(Nt, {
1263
+ } = te("ProLayoutFooter", [Va], t);
1264
+ return () => n(a(Dt, {
1328
1265
  style: {
1329
1266
  padding: 0
1330
1267
  }
1331
1268
  }, {
1332
- default: () => [n("div", {
1269
+ default: () => [a("div", {
1333
1270
  class: [t, o.value]
1334
- }, [e.links && n("div", {
1271
+ }, [e.links && a("div", {
1335
1272
  class: `${t}-links ${o.value}`
1336
- }, [e.links.map((i) => n("a", {
1273
+ }, [e.links.map((i) => a("a", {
1337
1274
  key: i.key,
1338
1275
  title: i.key,
1339
1276
  target: i.blankTarget ? "_blank" : "_self",
1340
1277
  href: i.href
1341
- }, [i.title]))]), e.copyright && n("div", {
1278
+ }, [i.title]))]), e.copyright && a("div", {
1342
1279
  class: `${t}-copyright ${o.value}`
1343
- }, [ne("Copyright  2022  "), n("a", {
1280
+ }, [ae("Copyright  2022  "), a("a", {
1344
1281
  href: "https://beian.miit.gov.cn/"
1345
1282
  }, [e.copyright])])])]
1346
1283
  }));
1347
1284
  }
1348
- }), It = {
1285
+ }), wt = {
1349
1286
  ...se,
1350
- ...Ke,
1351
- ...G,
1352
- ...Ct,
1353
- ...wt,
1287
+ ...Ae,
1288
+ ...q,
1289
+ ...vt,
1290
+ ...xt,
1354
1291
  ...Ce,
1355
1292
  pure: Boolean,
1356
1293
  token: Object,
@@ -1378,7 +1315,7 @@ const Ni = /* @__PURE__ */ j({
1378
1315
  loading: D.looseBool,
1379
1316
  footerLinks: {
1380
1317
  type: [Array, Boolean],
1381
- default: St
1318
+ default: Ct
1382
1319
  },
1383
1320
  copyrightRender: {
1384
1321
  type: [Object, Function, Boolean, String],
@@ -1399,15 +1336,15 @@ const Ni = /* @__PURE__ */ j({
1399
1336
  default: () => []
1400
1337
  },
1401
1338
  collapsed: D.looseBool
1402
- }, Qn = (e) => ({
1339
+ }, ja = (e) => ({
1403
1340
  [e.componentCls]: {
1404
1341
  display: "flex",
1405
1342
  flexDirection: "column",
1406
1343
  width: "100%",
1407
1344
  minHeight: "100vh"
1408
1345
  }
1409
- }), ea = (e) => {
1410
- var t, a;
1346
+ }), Wa = (e) => {
1347
+ var t, n;
1411
1348
  return {
1412
1349
  [e.componentCls]: {
1413
1350
  a: {
@@ -1425,7 +1362,7 @@ const Ni = /* @__PURE__ */ j({
1425
1362
  },
1426
1363
  [`${e.componentCls}-content`]: {
1427
1364
  position: "relative",
1428
- margin: (a = (t = e.layout) == null ? void 0 : t.pageContainer) == null ? void 0 : a.paddingBlockPageContainerContent
1365
+ margin: (n = (t = e.layout) == null ? void 0 : t.pageContainer) == null ? void 0 : n.paddingBlockPageContainerContent
1429
1366
  },
1430
1367
  [`${e.componentCls}-container`]: {
1431
1368
  width: "100%",
@@ -1437,8 +1374,8 @@ const Ni = /* @__PURE__ */ j({
1437
1374
  }
1438
1375
  }
1439
1376
  };
1440
- }, ta = (e) => {
1441
- var t, a;
1377
+ }, Aa = (e) => {
1378
+ var t, n;
1442
1379
  return {
1443
1380
  [`${e.componentCls}`]: {
1444
1381
  "&-fixed": {
@@ -1479,7 +1416,7 @@ const Ni = /* @__PURE__ */ j({
1479
1416
  "&-fixed": {
1480
1417
  position: "fixed",
1481
1418
  height: 62,
1482
- top: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.heightLayoutHeader) || V.headerHeight,
1419
+ top: ((n = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : n.heightLayoutHeader) || V.headerHeight,
1483
1420
  right: 0,
1484
1421
  zIndex: 9,
1485
1422
  transition: "width .2s"
@@ -1487,15 +1424,15 @@ const Ni = /* @__PURE__ */ j({
1487
1424
  }
1488
1425
  };
1489
1426
  };
1490
- function na(e) {
1491
- return Ne("ProMultiTabs", (t) => {
1492
- const a = ze(t, {
1427
+ function Ka(e) {
1428
+ return De("ProMultiTabs", (t) => {
1429
+ const n = Ne(t, {
1493
1430
  componentWrapCls: `${t.componentCls}-wrap`
1494
1431
  });
1495
- return [ta(a)];
1432
+ return [Aa(n)];
1496
1433
  }, e);
1497
1434
  }
1498
- const aa = [
1435
+ const Ua = [
1499
1436
  {
1500
1437
  key: "closeOthersTabs",
1501
1438
  label: "关闭其他"
@@ -1513,12 +1450,12 @@ const aa = [
1513
1450
  label: "刷新当前页"
1514
1451
  }
1515
1452
  ];
1516
- function oa(e) {
1453
+ function Ea(e) {
1517
1454
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
1518
1455
  }
1519
- const ia = Le.TabPane, la = ae.Item, ra = /* @__PURE__ */ j({
1456
+ const Xa = Fe.TabPane, Ya = ne.Item, _a = /* @__PURE__ */ j({
1520
1457
  props: {
1521
- ...wt,
1458
+ ...xt,
1522
1459
  visible: {
1523
1460
  type: Boolean,
1524
1461
  default: !0
@@ -1528,275 +1465,275 @@ const ia = Le.TabPane, la = ae.Item, ra = /* @__PURE__ */ j({
1528
1465
  setup(e) {
1529
1466
  const {
1530
1467
  isMobile: t,
1531
- isFixedMultiTab: a
1532
- } = we(e), o = Re(!1), i = rt({
1468
+ isFixedMultiTab: n
1469
+ } = we(e), o = Oe(!1), i = lt({
1533
1470
  activeKey: "",
1534
1471
  contextMenuActiveKey: ""
1535
- }), u = De(), {
1536
- menuData: m,
1472
+ }), u = Le(), {
1473
+ menuData: f,
1537
1474
  flatMenuData: c,
1538
- layout: S,
1539
- splitMenus: p,
1540
- getPrefixCls: B
1541
- } = ee(), y = B({
1475
+ layout: w,
1476
+ splitMenus: v,
1477
+ getPrefixCls: O
1478
+ } = ee(), h = O({
1542
1479
  isPor: !0,
1543
1480
  suffixCls: "multi-tab"
1544
1481
  }), {
1545
- wrapSSR: F,
1482
+ wrapSSR: T,
1546
1483
  hashId: l
1547
- } = na(y), r = Re([]);
1548
- de(r, () => {
1549
- var d;
1550
- (d = e.onChangeTabs) == null || d.call(e, He(K(r)));
1484
+ } = Ka(h), r = Oe([]);
1485
+ ue(r, () => {
1486
+ var m;
1487
+ (m = e.onChangeTabs) == null || m.call(e, ze(K(r)));
1551
1488
  }, {
1552
1489
  deep: !0
1553
1490
  });
1554
- const M = g(() => S.value === "mix" && !e.isMobile && p.value), R = g(() => u.currentRoute.value.fullPath || u.currentRoute.value.path), w = g(() => a.value && !t.value), h = g(() => {
1555
- const d = !(M.value && K(c.value).length === 0 || m.value.length === 0 || S.value === "top");
1556
- return w.value && d ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
1557
- }), b = g(() => ct(`${y}-wrap`, {
1491
+ const I = p(() => w.value === "mix" && !e.isMobile && v.value), k = p(() => u.currentRoute.value.fullPath || u.currentRoute.value.path), x = p(() => n.value && !t.value), y = p(() => {
1492
+ const m = !(I.value && K(c.value).length === 0 || f.value.length === 0 || w.value === "top");
1493
+ return x.value && m ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
1494
+ }), g = p(() => ut(`${h}-wrap`, {
1558
1495
  [`${l.value}`]: !0,
1559
- [`${y}-wrap-fixed`]: e.isFixedMultiTab,
1560
- [`${y}-wrap-loading`]: e.loading
1561
- })), x = g(() => {
1562
- const d = {
1496
+ [`${h}-wrap-fixed`]: e.isFixedMultiTab,
1497
+ [`${h}-wrap-loading`]: e.loading
1498
+ })), C = p(() => {
1499
+ const m = {
1563
1500
  display: e.visible ? void 0 : "none"
1564
1501
  };
1565
1502
  return e.isFixedMultiTab ? {
1566
1503
  margin: 0,
1567
- width: h.value,
1504
+ width: y.value,
1568
1505
  paddingTop: "6px",
1569
1506
  zIndex: 99,
1570
- ...d
1571
- } : d;
1572
- }), I = (d) => (d.fullPath || d.path) === R.value, f = (d) => {
1573
- if (d.name && d.meta && d.meta.tagHidden !== !0) {
1574
- const v = d.fullPath || d.path, k = r.value.find((z) => z.fullPath === v), T = {
1575
- path: d.path,
1576
- fullPath: v,
1577
- query: d.query,
1578
- params: d.params,
1579
- name: d.name,
1507
+ ...m
1508
+ } : m;
1509
+ }), $ = (m) => (m.fullPath || m.path) === k.value, d = (m) => {
1510
+ if (m.name && m.meta && m.meta.tagHidden !== !0) {
1511
+ const b = m.fullPath || m.path, B = r.value.find((z) => z.fullPath === b), F = {
1512
+ path: m.path,
1513
+ fullPath: b,
1514
+ query: m.query,
1515
+ params: m.params,
1516
+ name: m.name,
1580
1517
  meta: {
1581
- ...d.meta
1518
+ ...m.meta
1582
1519
  }
1583
1520
  };
1584
- k ? Object.assign(k, T) : d.meta.tagFixed ? r.value.unshift(T) : r.value.push(T), I(d) && (i.activeKey = v);
1521
+ B ? Object.assign(B, F) : m.meta.tagFixed ? r.value.unshift(F) : r.value.push(F), $(m) && (i.activeKey = b);
1585
1522
  }
1586
- }, C = (d) => {
1587
- d.forEach((v) => {
1588
- v.meta && v.meta.tagFixed && f(v), v.children && C(v.children);
1523
+ }, S = (m) => {
1524
+ m.forEach((b) => {
1525
+ b.meta && b.meta.tagFixed && d(b), b.children && S(b.children);
1589
1526
  });
1590
1527
  };
1591
- de(() => m.value, (d) => {
1592
- C(d);
1528
+ ue(() => f.value, (m) => {
1529
+ S(m);
1593
1530
  }, {
1594
1531
  deep: !0,
1595
1532
  immediate: !0
1596
- }), de(() => u.currentRoute.value, (d) => {
1597
- f(d);
1533
+ }), ue(() => u.currentRoute.value, (m) => {
1534
+ d(m);
1598
1535
  }, {
1599
1536
  deep: !0,
1600
1537
  immediate: !0
1601
1538
  });
1602
- const $ = () => {
1603
- const d = r.value.slice(-1)[0];
1604
- d ? u.push(d) : u.push("/");
1605
- }, O = async (d) => {
1606
- const v = r.value.find((k) => d === k.fullPath);
1607
- r.value = r.value.filter((k) => k.fullPath !== d), v && I(v) && $();
1608
- }, L = (d) => {
1609
- const v = r.value.find((k) => k.fullPath === d);
1610
- i.activeKey !== (v == null ? void 0 : v.fullPath) && (v != null && v.fullPath) && u.push(v == null ? void 0 : v.fullPath);
1611
- }, N = () => {
1612
- var d;
1613
- o.value = !0, e.onReloadPage && ((d = e.onReloadPage) == null || d.call(e)), setTimeout(() => {
1539
+ const R = () => {
1540
+ const m = r.value.slice(-1)[0];
1541
+ m ? u.push(m) : u.push("/");
1542
+ }, M = async (m) => {
1543
+ const b = r.value.find((B) => m === B.fullPath);
1544
+ r.value = r.value.filter((B) => B.fullPath !== m), b && $(b) && R();
1545
+ }, L = (m) => {
1546
+ const b = r.value.find((B) => B.fullPath === m);
1547
+ i.activeKey !== (b == null ? void 0 : b.fullPath) && (b != null && b.fullPath) && u.push(b == null ? void 0 : b.fullPath);
1548
+ }, H = () => {
1549
+ var m;
1550
+ o.value = !0, e.onReloadPage && ((m = e.onReloadPage) == null || m.call(e)), setTimeout(() => {
1614
1551
  o.value = !1;
1615
1552
  }, 500);
1616
- }, H = (d) => d.meta && d.meta.tagFixed, P = (d) => i[d], X = (d, v) => {
1617
- const k = r.value.findIndex((T) => T.fullPath === P(v));
1618
- switch (d) {
1553
+ }, N = (m) => m.meta && m.meta.tagFixed, P = (m) => i[m], W = (m, b) => {
1554
+ const B = r.value.findIndex((F) => F.fullPath === P(b));
1555
+ switch (m) {
1619
1556
  case "closeOthersTabs":
1620
- r.value = r.value.filter((T) => {
1557
+ r.value = r.value.filter((F) => {
1621
1558
  var z;
1622
- return T.fullPath === P(v) || ((z = T.meta) == null ? void 0 : z.tagFixed);
1559
+ return F.fullPath === P(b) || ((z = F.meta) == null ? void 0 : z.tagFixed);
1623
1560
  });
1624
1561
  break;
1625
1562
  case "closeLeftTabs":
1626
- k && (r.value = r.value.filter((T, z) => {
1627
- var U;
1628
- return z >= k || ((U = T.meta) == null ? void 0 : U.tagFixed);
1563
+ B && (r.value = r.value.filter((F, z) => {
1564
+ var _;
1565
+ return z >= B || ((_ = F.meta) == null ? void 0 : _.tagFixed);
1629
1566
  }));
1630
1567
  break;
1631
1568
  case "closeRightTabs":
1632
- k && (r.value = r.value.filter((T, z) => {
1633
- var U;
1634
- return z <= k || ((U = T.meta) == null ? void 0 : U.tagFixed);
1569
+ B && (r.value = r.value.filter((F, z) => {
1570
+ var _;
1571
+ return z <= B || ((_ = F.meta) == null ? void 0 : _.tagFixed);
1635
1572
  }));
1636
1573
  break;
1637
1574
  case "reloadPage":
1638
- (k === 0 || k) && i.activeKey === P(v) && N();
1575
+ (B === 0 || B) && i.activeKey === P(b) && H();
1639
1576
  break;
1640
1577
  }
1641
- i.activeKey !== P(v) && u.push(P(v));
1642
- }, Y = (d, v) => {
1643
- const k = r.value.findIndex((T) => T.fullPath === v);
1644
- switch (d) {
1578
+ i.activeKey !== P(b) && u.push(P(b));
1579
+ }, X = (m, b) => {
1580
+ const B = r.value.findIndex((F) => F.fullPath === b);
1581
+ switch (m) {
1645
1582
  case "closeOthersTabs":
1646
- return r.value.filter((E, te) => {
1583
+ return r.value.filter((Z, E) => {
1647
1584
  var J;
1648
- return te !== k && !((J = E.meta) != null && J.tagFixed);
1585
+ return E !== B && !((J = Z.meta) != null && J.tagFixed);
1649
1586
  }).length === 0;
1650
1587
  case "closeLeftTabs":
1651
- return r.value.filter((E, te) => {
1588
+ return r.value.filter((Z, E) => {
1652
1589
  var J;
1653
- return te < k && !((J = E.meta) != null && J.tagFixed);
1590
+ return E < B && !((J = Z.meta) != null && J.tagFixed);
1654
1591
  }).length === 0;
1655
1592
  case "closeRightTabs":
1656
- return r.value.filter((E, te) => {
1593
+ return r.value.filter((Z, E) => {
1657
1594
  var J;
1658
- return te > k && !((J = E.meta) != null && J.tagFixed);
1595
+ return E > B && !((J = Z.meta) != null && J.tagFixed);
1659
1596
  }).length === 0;
1660
1597
  }
1661
- }, W = (d) => {
1662
- let v;
1598
+ }, U = (m) => {
1599
+ let b;
1663
1600
  const {
1664
- path: k,
1665
- stateType: T
1666
- } = d;
1667
- return n(ae, {
1601
+ path: B,
1602
+ stateType: F
1603
+ } = m;
1604
+ return a(ne, {
1668
1605
  selectedKeys: [],
1669
1606
  onClick: ({
1670
1607
  key: z
1671
- }) => X(z, T)
1672
- }, oa(v = aa.map((z) => n(la, {
1608
+ }) => W(z, F)
1609
+ }, Ea(b = Ua.map((z) => a(Ya, {
1673
1610
  key: z.key,
1674
- disabled: Y(z.key, k)
1611
+ disabled: X(z.key, B)
1675
1612
  }, {
1676
1613
  default: () => [z.label]
1677
- }))) ? v : {
1678
- default: () => [v]
1614
+ }))) ? b : {
1615
+ default: () => [b]
1679
1616
  });
1680
- }, q = (d) => {
1617
+ }, Y = (m) => {
1681
1618
  const {
1682
- router: v
1683
- } = d;
1684
- return n(Ye, {
1619
+ router: b
1620
+ } = m;
1621
+ return a(Xe, {
1685
1622
  trigger: "contextmenu",
1686
- overlay: n(W, {
1687
- path: (v == null ? void 0 : v.fullPath) || "",
1623
+ overlay: a(U, {
1624
+ path: (b == null ? void 0 : b.fullPath) || "",
1688
1625
  stateType: "contextMenuActiveKey"
1689
1626
  }, null),
1690
- onOpenChange: (k) => {
1691
- i.contextMenuActiveKey = k && v.fullPath || "";
1627
+ onOpenChange: (B) => {
1628
+ i.contextMenuActiveKey = B && b.fullPath || "";
1692
1629
  }
1693
1630
  }, {
1694
1631
  default: () => {
1695
- var k;
1696
- return [n("div", {
1697
- class: [`${y}-title`, l.value]
1698
- }, [(k = v.meta) == null ? void 0 : k.title, i.activeKey === v.fullPath && n(Yt, {
1699
- class: [`${y}-reload-btn`, l.value],
1632
+ var B;
1633
+ return [a("div", {
1634
+ class: [`${h}-title`, l.value]
1635
+ }, [(B = b.meta) == null ? void 0 : B.title, i.activeKey === b.fullPath && a(Xt, {
1636
+ class: [`${h}-reload-btn`, l.value],
1700
1637
  spin: o.value,
1701
- onClick: (T) => {
1702
- T.stopPropagation(), !o.value && N();
1638
+ onClick: (F) => {
1639
+ F.stopPropagation(), !o.value && H();
1703
1640
  }
1704
- }, null), r.value.length > 1 && !H(v) && n(ut, {
1705
- class: [`${y}-close-btn`, l.value],
1706
- onClick: (T) => {
1707
- T.stopPropagation(), !o.value && O((v == null ? void 0 : v.fullPath) || "");
1641
+ }, null), r.value.length > 1 && !N(b) && a(st, {
1642
+ class: [`${h}-close-btn`, l.value],
1643
+ onClick: (F) => {
1644
+ F.stopPropagation(), !o.value && M((b == null ? void 0 : b.fullPath) || "");
1708
1645
  }
1709
1646
  }, null)])];
1710
1647
  }
1711
1648
  });
1712
1649
  };
1713
- return () => F(n(Z, null, [!!e.isFixedMultiTab && $t(n("div", {
1714
- class: [`${y}-fixed`, l.value]
1715
- }, null), [[Pt, e.visible]]), n(Le, {
1650
+ return () => T(a(Q, null, [!!e.isFixedMultiTab && Bt(a("div", {
1651
+ class: [`${h}-fixed`, l.value]
1652
+ }, null), [[$t, e.visible]]), a(Fe, {
1716
1653
  hideAdd: !0,
1717
1654
  type: "editable-card",
1718
- style: x.value,
1719
- class: b.value,
1655
+ style: C.value,
1656
+ class: g.value,
1720
1657
  activeKey: i.activeKey,
1721
1658
  onTabClick: L
1722
1659
  }, {
1723
- default: () => [r.value.map((d) => n(ia, {
1724
- key: d.fullPath,
1660
+ default: () => [r.value.map((m) => a(Xa, {
1661
+ key: m.fullPath,
1725
1662
  closable: !1,
1726
- tab: n(q, {
1727
- router: d
1663
+ tab: a(Y, {
1664
+ router: m
1728
1665
  }, null)
1729
1666
  }, null))],
1730
- rightExtra: () => n(Ye, {
1731
- overlay: n(W, {
1667
+ rightExtra: () => a(Xe, {
1668
+ overlay: a(U, {
1732
1669
  path: i.activeKey,
1733
1670
  stateType: "activeKey"
1734
1671
  }, null)
1735
1672
  }, {
1736
- default: () => [n(Xt, {
1737
- class: [`${y}-dropdown-menu-btn`, l.value],
1673
+ default: () => [a(Et, {
1674
+ class: [`${h}-dropdown-menu-btn`, l.value],
1738
1675
  rotate: 90
1739
1676
  }, null)]
1740
1677
  })
1741
1678
  })]));
1742
1679
  }
1743
1680
  }), {
1744
- Content: sa
1745
- } = ce, Ue = (e, {
1681
+ Content: Ga
1682
+ } = ce, Ke = (e, {
1746
1683
  slots: t,
1747
- attrs: a
1684
+ attrs: n
1748
1685
  }) => {
1749
- var M;
1686
+ var I;
1750
1687
  const {
1751
1688
  hashId: o,
1752
1689
  prefixCls: i,
1753
1690
  isMobile: u,
1754
- loading: m,
1691
+ loading: f,
1755
1692
  collapsed: c,
1756
- siderWidth: S,
1757
- isShowTabsBar: p,
1758
- isFixedMultiTab: B,
1759
- onReloadPage: y,
1760
- onChangeTabs: F
1693
+ siderWidth: w,
1694
+ isShowTabsBar: v,
1695
+ isFixedMultiTab: O,
1696
+ onReloadPage: h,
1697
+ onChangeTabs: T
1761
1698
  } = e;
1762
1699
  if (e.isChildrenLayout)
1763
- return (M = t.default) == null ? void 0 : M.call(t);
1700
+ return (I = t.default) == null ? void 0 : I.call(t);
1764
1701
  const {
1765
1702
  flatMenuData: l,
1766
1703
  layout: r
1767
1704
  } = ee();
1768
- return n(Z, null, [n(ra, {
1769
- visible: (K(r) === "mix" ? K(l).length > 0 : !0) && p,
1705
+ return a(Q, null, [a(_a, {
1706
+ visible: (K(r) === "mix" ? K(l).length > 0 : !0) && v,
1770
1707
  isMobile: u,
1771
- loading: m,
1772
- isFixedMultiTab: B,
1773
- siderWidth: S,
1708
+ loading: f,
1709
+ isFixedMultiTab: O,
1710
+ siderWidth: w,
1774
1711
  collapsed: c,
1775
- onReloadPage: y,
1776
- onChangeTabs: F
1777
- }, null), n(sa, {
1778
- style: a.style,
1712
+ onReloadPage: h,
1713
+ onChangeTabs: T
1714
+ }, null), a(Ga, {
1715
+ style: n.style,
1779
1716
  class: [`${i}-content`]
1780
1717
  }, {
1781
1718
  default: () => {
1782
- var R;
1783
- return [m && n(cn, null, null), n("div", {
1719
+ var k;
1720
+ return [f && a(da, null, null), a("div", {
1784
1721
  class: [`${i}-content-spin-container`, o],
1785
1722
  style: {
1786
- opacity: m ? "0" : void 0
1723
+ opacity: f ? "0" : void 0
1787
1724
  }
1788
- }, [(R = t.default) == null ? void 0 : R.call(t)])];
1725
+ }, [(k = t.default) == null ? void 0 : k.call(t)])];
1789
1726
  }
1790
1727
  })]);
1791
1728
  };
1792
- Ue.inheritAttrs = !1;
1793
- Ue.displayName = "wrap-content";
1794
- const ua = (e) => {
1795
- var t, a, o, i;
1729
+ Ke.inheritAttrs = !1;
1730
+ Ke.displayName = "wrap-content";
1731
+ const qa = (e) => {
1732
+ var t, n, o, i;
1796
1733
  return {
1797
1734
  [`${e.proComponentsCls}-basic-layout`]: {
1798
1735
  [`${e.antCls}-layout-header${e.componentCls}${e.componentCls}-light`]: {
1799
- backgroundColor: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.colorBgMenu) || e.colorBgElevated
1736
+ backgroundColor: ((n = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : n.colorBgMenu) || e.colorBgElevated
1800
1737
  },
1801
1738
  [`${e.antCls}-layout-header${e.componentCls}${e.componentCls}-dark`]: {
1802
1739
  backgroundColor: (i = (o = e.layout) == null ? void 0 : o.header) == null ? void 0 : i.colorDarkBgMenu,
@@ -1843,7 +1780,7 @@ const ua = (e) => {
1843
1780
  }
1844
1781
  }
1845
1782
  };
1846
- }, da = (e) => ({
1783
+ }, Za = (e) => ({
1847
1784
  [`${e.proComponentsCls}-header`]: {
1848
1785
  "&-light": {
1849
1786
  [`${e.componentCls}-logo`]: {
@@ -1926,64 +1863,64 @@ const ua = (e) => {
1926
1863
  marginInlineEnd: 0
1927
1864
  }
1928
1865
  }
1929
- }), Mt = {
1930
- ...G,
1931
- ...Ke
1932
- }, ca = (e, t) => e === !1 ? null : e ? e(t, null) : t, ma = /* @__PURE__ */ j({
1933
- props: Mt,
1866
+ }), St = {
1867
+ ...q,
1868
+ ...Ae
1869
+ }, Ja = (e, t) => e === !1 ? null : e ? e(t, null) : t, Qa = /* @__PURE__ */ j({
1870
+ props: St,
1934
1871
  setup(e) {
1935
- return () => e.rightContentRender && typeof e.rightContentRender == "function" && n(Z, null, [e.rightContentRender({
1872
+ return () => e.rightContentRender && typeof e.rightContentRender == "function" && a(Q, null, [e.rightContentRender({
1936
1873
  ...e
1937
1874
  })]);
1938
1875
  }
1939
- }), fa = /* @__PURE__ */ j({
1940
- props: Mt,
1876
+ }), en = /* @__PURE__ */ j({
1877
+ props: St,
1941
1878
  inheritAttrs: !1,
1942
1879
  setup(e, {
1943
1880
  slots: t,
1944
- emit: a
1881
+ emit: n
1945
1882
  }) {
1946
- const o = De(), {
1883
+ const o = Le(), {
1947
1884
  token: i
1948
1885
  } = fe(), {
1949
1886
  getPrefixCls: u,
1950
- openKeys: m,
1887
+ openKeys: f,
1951
1888
  selectedKeys: c
1952
1889
  } = ee(), {
1953
- width: S
1954
- } = sn(), p = u({
1890
+ width: w
1891
+ } = la(), v = u({
1955
1892
  suffixCls: "global-header",
1956
1893
  isPor: !0
1957
1894
  }), {
1958
- wrapSSR: B,
1959
- hashId: y
1960
- } = Q("ProGlobalHeader", [da], p), F = g(() => !e.isMobile || e.layout === "top" || e.layout === "mix" && e.splitMenus), l = g(() => ({
1961
- [`${y.value}`]: !0,
1962
- [`${p}`]: !0,
1963
- [`${p}-${e.layout}`]: !0
1964
- })), r = (h) => {
1965
- var b;
1895
+ wrapSSR: O,
1896
+ hashId: h
1897
+ } = te("ProGlobalHeader", [Za], v), T = p(() => !e.isMobile || e.layout === "top" || e.layout === "mix" && e.splitMenus), l = p(() => ({
1898
+ [`${h.value}`]: !0,
1899
+ [`${v}`]: !0,
1900
+ [`${v}-${e.layout}`]: !0
1901
+ })), r = (y) => {
1902
+ var g;
1966
1903
  if (o.currentRoute) {
1967
- const x = o.currentRoute.value.matched.concat();
1968
- e.onSelect && h === "select" && e.onSelect(x.filter((I) => I.name !== "index").map((I) => I.path)), e.onOpenKeys && h === "openKeys" && ((b = e.onOpenKeys) == null || b.call(e, x.filter((I) => I.path !== o.currentRoute.value.path).map((I) => I.path)));
1904
+ const C = o.currentRoute.value.matched.concat();
1905
+ e.onSelect && y === "select" && e.onSelect(C.filter(($) => $.name !== "index").map(($) => $.path)), e.onOpenKeys && y === "openKeys" && ((g = e.onOpenKeys) == null || g.call(e, C.filter(($) => $.path !== o.currentRoute.value.path).map(($) => $.path)));
1969
1906
  }
1970
- }, M = () => {
1971
- a("collapse", !e.collapsed);
1972
- }, R = g(() => e.collapsedButtonRender || pt), w = () => {
1973
- var h;
1974
- return n(Z, null, [F.value ? n("div", {
1907
+ }, I = () => {
1908
+ n("collapse", !e.collapsed);
1909
+ }, k = p(() => e.collapsedButtonRender || bt), x = () => {
1910
+ var y;
1911
+ return a(Q, null, [T.value ? a("div", {
1975
1912
  style: {
1976
1913
  flex: 1
1977
1914
  },
1978
- class: [`${p}-menu`, y.value]
1979
- }, [n(Te, {
1915
+ class: [`${v}-menu`, h.value]
1916
+ }, [a(Pe, {
1980
1917
  theme: {
1981
1918
  components: {
1982
1919
  Layout: {
1983
1920
  headerBg: "transparent",
1984
1921
  bodyBg: "transparent"
1985
1922
  },
1986
- Menu: gt({
1923
+ Menu: ft({
1987
1924
  radiusItem: 4,
1988
1925
  colorActiveBarWidth: 0,
1989
1926
  colorActiveBarHeight: 2,
@@ -1993,232 +1930,232 @@ const ua = (e) => {
1993
1930
  }
1994
1931
  }
1995
1932
  }, {
1996
- default: () => [n(ht, _({
1933
+ default: () => [a(gt, G({
1997
1934
  theme: e.theme,
1998
1935
  mode: e.mode,
1999
1936
  collapsed: e.collapsed,
2000
1937
  menuData: e.menuData,
2001
- openKeys: m.value,
1938
+ openKeys: f.value,
2002
1939
  selectedKeys: c.value,
2003
1940
  iconfontUrl: e.iconfontUrl,
2004
1941
  menuItemRender: e.menuItemRender,
2005
1942
  subMenuItemRender: e.subMenuItemRender,
2006
1943
  class: {
2007
1944
  "top-nav-menu": e.mode === "horizontal",
2008
- [`${y.value}`]: !0
1945
+ [`${h.value}`]: !0
2009
1946
  }
2010
1947
  }, {
2011
1948
  "onUpdate:openKeys": () => r("openKeys"),
2012
1949
  "onUpdate:selectedKeys": () => r("select")
2013
1950
  }), null)]
2014
- })]) : n("div", {
1951
+ })]) : a("div", {
2015
1952
  style: {
2016
1953
  flex: 1
2017
1954
  }
2018
- }, [(h = t.default) == null ? void 0 : h.call(t)]), e.layout !== "simple" && n(ma, _(e, {
1955
+ }, [(y = t.default) == null ? void 0 : y.call(t)]), e.layout !== "simple" && a(Qa, G(e, {
2019
1956
  extraRightDropdownRender: e.extraRightDropdownRender,
2020
1957
  rightContentRender: e.rightContentRender
2021
1958
  }), null)]);
2022
1959
  };
2023
1960
  return () => {
2024
- const h = n("span", {
1961
+ const y = a("span", {
2025
1962
  key: "logo",
2026
1963
  onClick: () => {
2027
- var b;
2028
- return (b = e.onMenuHeaderClick) == null ? void 0 : b.call(e);
1964
+ var g;
1965
+ return (g = e.onMenuHeaderClick) == null ? void 0 : g.call(e);
2029
1966
  },
2030
- class: [`${p}-logo`, e.isMobile ? "mobile" : "", y.value]
2031
- }, [n("a", null, [bt(e.logo)])]);
2032
- return B(n("div", {
1967
+ class: [`${v}-logo`, e.isMobile ? "mobile" : "", h.value]
1968
+ }, [a("a", null, [yt(e.logo)])]);
1969
+ return O(a("div", {
2033
1970
  class: l.value
2034
- }, [e.isMobile ? n(Z, null, [ca(e.menuHeaderRender, h), e.isMobile && K(R) && n("span", {
2035
- class: `${p}-collapsed-button ${y.value}`,
2036
- onClick: M
2037
- }, [K(R)(e.collapsed)]), w()]) : ["mix", "wide", "top"].includes(e.layout) ? n(Z, null, [n("div", {
1971
+ }, [e.isMobile ? a(Q, null, [Ja(e.menuHeaderRender, y), e.isMobile && K(k) && a("span", {
1972
+ class: `${v}-collapsed-button ${h.value}`,
1973
+ onClick: I
1974
+ }, [K(k)(e.collapsed)]), x()]) : ["mix", "wide", "top"].includes(e.layout) ? a(Q, null, [a("div", {
2038
1975
  style: {
2039
1976
  width: e.layout === "wide" ? `${e.wideWidth}px` : void 0,
2040
- padding: e.layout === "wide" && S.value < e.wideWidth ? "0 50px" : void 0
1977
+ padding: e.layout === "wide" && w.value < e.wideWidth ? "0 50px" : void 0
2041
1978
  },
2042
- class: `${p}-main ${y.value}`
2043
- }, [n("div", {
2044
- class: `${p}-main-left ${y.value}`
2045
- }, [n(Ae, _(e, {
1979
+ class: `${v}-main ${h.value}`
1980
+ }, [a("div", {
1981
+ class: `${v}-main-left ${h.value}`
1982
+ }, [a(We, G(e, {
2046
1983
  renderKey: "headerTitleRender"
2047
- }), null)]), w()])]) : w()]));
1984
+ }), null)]), x()])]) : x()]));
2048
1985
  };
2049
1986
  }
2050
1987
  });
2051
- function ga(e) {
1988
+ function tn(e) {
2052
1989
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
2053
1990
  }
2054
1991
  const {
2055
- Header: Qe
2056
- } = ce, $e = /* @__PURE__ */ j({
1992
+ Header: Je
1993
+ } = ce, Be = /* @__PURE__ */ j({
2057
1994
  inheritAttrs: !1,
2058
- props: Ct,
1995
+ props: vt,
2059
1996
  setup(e) {
2060
1997
  const {
2061
1998
  theme: t,
2062
- isMobile: a,
1999
+ isMobile: n,
2063
2000
  fixedHeader: o,
2064
2001
  headerHeight: i,
2065
2002
  layout: u,
2066
- onCollapse: m,
2003
+ onCollapse: f,
2067
2004
  splitMenus: c
2068
2005
  } = we(e), {
2069
- getPrefixCls: S,
2070
- menuData: p
2071
- } = ee(), B = S({
2006
+ getPrefixCls: w,
2007
+ menuData: v
2008
+ } = ee(), O = w({
2072
2009
  suffixCls: "header",
2073
2010
  isPor: !0
2074
- }), y = S({
2011
+ }), h = w({
2075
2012
  suffixCls: "fixed-header",
2076
2013
  isPor: !0
2077
2014
  }), {
2078
- wrapSSR: F,
2015
+ wrapSSR: T,
2079
2016
  hashId: l
2080
- } = Q("ProLayoutHeader", [ua], B), r = g(() => u.value === "wide"), M = g(() => o.value), R = g(() => u.value === "mix" || r.value), w = g(() => u.value === "side" || u.value === "simple"), h = g(() => w.value && "light" || t.value), b = g(() => ({
2017
+ } = te("ProLayoutHeader", [qa], O), r = p(() => u.value === "wide"), I = p(() => o.value), k = p(() => u.value === "mix" || r.value), x = p(() => u.value === "side" || u.value === "simple"), y = p(() => x.value && "light" || t.value), g = p(() => ({
2081
2018
  [`${l.value}`]: !0,
2082
- [`${B}-${h.value}`]: !0,
2083
- [`${B}`]: !0,
2084
- [`${y}`]: M.value
2085
- })), x = g(() => M.value && !a.value), I = g(() => c.value ? p.value && vn(p.value) || [] : u.value === "top" ? p.value : []), f = g(() => w.value && x.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), C = g(() => M.value ? 0 : void 0), $ = () => {
2086
- const O = n(fa, _(e, {
2087
- theme: h.value,
2019
+ [`${O}-${y.value}`]: !0,
2020
+ [`${O}`]: !0,
2021
+ [`${h}`]: I.value
2022
+ })), C = p(() => I.value && !n.value), $ = p(() => c.value ? v.value && ba(v.value) || [] : u.value === "top" ? v.value : []), d = p(() => x.value && C.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), S = p(() => I.value ? 0 : void 0), R = () => {
2023
+ const M = a(en, G(e, {
2024
+ theme: y.value,
2088
2025
  mode: "horizontal",
2089
- onCollapse: m.value,
2090
- menuData: I.value
2026
+ onCollapse: f.value,
2027
+ menuData: $.value
2091
2028
  }), {
2092
- default: () => [R.value ? null : e.headerContentRender && typeof e.headerContentRender == "function" ? e.headerContentRender(e) : e.headerContentRender]
2029
+ default: () => [k.value ? null : e.headerContentRender && typeof e.headerContentRender == "function" ? e.headerContentRender(e) : e.headerContentRender]
2093
2030
  });
2094
- return e.headerRender ? e.headerRender(e, O) : O;
2031
+ return e.headerRender ? e.headerRender(e, M) : M;
2095
2032
  };
2096
2033
  return () => {
2097
- let O;
2098
- return F(n(Z, null, [M.value && !r.value && n(Qe, {
2099
- theme: h.value,
2034
+ let M;
2035
+ return T(a(Q, null, [I.value && !r.value && a(Je, {
2036
+ theme: y.value,
2100
2037
  style: {
2101
2038
  height: `${i.value}px`,
2102
2039
  lineHeight: `${i.value}px`,
2103
2040
  background: "transparent"
2104
2041
  }
2105
- }, null), n(Qe, {
2106
- theme: h.value,
2107
- class: b.value,
2042
+ }, null), a(Je, {
2043
+ theme: y.value,
2044
+ class: g.value,
2108
2045
  style: {
2109
2046
  height: `${i.value}px`,
2110
2047
  lineHeight: `${i.value}px`,
2111
- width: f.value,
2112
- zIndex: w.value ? 100 : 101,
2113
- right: C.value
2048
+ width: d.value,
2049
+ zIndex: x.value ? 100 : 101,
2050
+ right: S.value
2114
2051
  }
2115
- }, ga(O = $()) ? O : {
2116
- default: () => [O]
2052
+ }, tn(M = R()) ? M : {
2053
+ default: () => [M]
2117
2054
  })]));
2118
2055
  };
2119
2056
  }
2120
- }), ha = /* @__PURE__ */ j({
2057
+ }), an = /* @__PURE__ */ j({
2121
2058
  name: "BaseProLayout",
2122
2059
  inheritAttrs: !1,
2123
2060
  components: {
2124
- GlobalHeader: $e,
2061
+ GlobalHeader: Be,
2125
2062
  GlobalFooter: ke,
2126
- SiderMenuWrapper: Be
2063
+ SiderMenuWrapper: Re
2127
2064
  },
2128
- props: It,
2065
+ props: wt,
2129
2066
  emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
2130
2067
  setup(e, {
2131
2068
  slots: t
2132
2069
  }) {
2133
- const a = me({
2070
+ const n = me({
2134
2071
  suffixCls: "basic-layout",
2135
2072
  isPor: !0
2136
2073
  }), {
2137
2074
  wrapSSR: o,
2138
2075
  hashId: i
2139
- } = Q("ProLayout", [Qn, ea], a), u = ln(), {
2140
- token: m
2141
- } = fe(), c = g(() => {
2142
- var h;
2143
- return (h = m == null ? void 0 : m.value) == null ? void 0 : h.colorPrimary;
2076
+ } = te("ProLayout", [ja, Wa], n), u = oa(), {
2077
+ token: f
2078
+ } = fe(), c = p(() => {
2079
+ var y;
2080
+ return (y = f == null ? void 0 : f.value) == null ? void 0 : y.colorPrimary;
2144
2081
  });
2145
- Ft(() => {
2082
+ Pt(() => {
2146
2083
  c.value && document.querySelector("html") && document.querySelector("html").style.setProperty("--gx-primary-color", c.value);
2147
2084
  });
2148
- const S = g(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), p = g(() => e.layout === "wide"), B = g(() => S.value), y = g(() => e.collapsed ? e.collapsedWidth : e.siderWidth), F = g(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), l = g(() => (u.value === "sm" || u.value === "xs") && !e.disableMobile && !p.value), r = rt({
2085
+ const w = p(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), v = p(() => e.layout === "wide"), O = p(() => w.value), h = p(() => e.collapsed ? e.collapsedWidth : e.siderWidth), T = p(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), l = p(() => (u.value === "sm" || u.value === "xs") && !e.disableMobile && !v.value), r = lt({
2149
2086
  position: "relative"
2150
2087
  });
2151
2088
  (e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (r.minHeight = 0);
2152
- const M = (h, b) => h.headerRender === !1 || h.pure ? null : n($e, _(h, {
2153
- matchMenuKeys: b || []
2154
- }), null), R = g(() => ({
2089
+ const I = (y, g) => y.headerRender === !1 || y.pure ? null : a(Be, G(y, {
2090
+ matchMenuKeys: g || []
2091
+ }), null), k = p(() => ({
2155
2092
  ...e.breadcrumb,
2156
2093
  itemRender: A(t, e, "breadcrumbRender")
2157
- })), w = g(() => B.value && e.selectedKeys ? xn(e.menuData, e.selectedKeys[0]) : []);
2158
- return Bn({
2094
+ })), x = p(() => O.value && e.selectedKeys ? pa(e.menuData, e.selectedKeys[0]) : []);
2095
+ return Oa({
2159
2096
  getPrefixCls: me,
2160
- ...le(we(e), ["layout", "waterMark", "menuData", "openKeys", "splitMenus", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps"].concat(Object.keys(xt))),
2161
- theme: F.value,
2162
- hasContentWide: p,
2097
+ ...le(we(e), ["layout", "waterMark", "menuData", "openKeys", "splitMenus", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps"].concat(Object.keys(pt))),
2098
+ theme: T.value,
2099
+ hasContentWide: v,
2163
2100
  isMobile: l,
2164
- siderWidth: y,
2165
- breadcrumb: R,
2166
- flatMenuData: w,
2167
- hasSide: S,
2168
- flatMenu: B,
2169
- pageHeaderRender: g(() => A(t, e, "pageHeaderRender"))
2101
+ siderWidth: h,
2102
+ breadcrumb: k,
2103
+ flatMenuData: x,
2104
+ hasSide: w,
2105
+ flatMenu: O,
2106
+ pageHeaderRender: p(() => A(t, e, "pageHeaderRender"))
2170
2107
  }), () => {
2171
2108
  var z;
2172
- const h = A(t, e, "collapsedButtonRender"), b = A(t, e, "headerContentRender"), x = A(t, e, "rightContentRender"), I = A(t, e, "headerRender"), f = A(t, e, "footerRender"), C = A(t, e, "links"), $ = A(t, e, "copyrightRender"), O = A(t, e, "extraRightDropdownRender"), L = A(t, e, "menuHeaderRender"), N = A(t, e, "menuExtraRender"), H = A(t, e, "menuContentRender"), P = A(t, e, "menuFooterRender"), X = A(t, e, "menuItemRender"), Y = A(t, e, "subMenuItemRender"), W = {
2173
- menuItemRender: X,
2174
- subMenuItemRender: Y
2175
- }, q = g(() => M({
2109
+ const y = A(t, e, "collapsedButtonRender"), g = A(t, e, "headerContentRender"), C = A(t, e, "rightContentRender"), $ = A(t, e, "headerRender"), d = A(t, e, "footerRender"), S = A(t, e, "links"), R = A(t, e, "copyrightRender"), M = A(t, e, "extraRightDropdownRender"), L = A(t, e, "menuHeaderRender"), H = A(t, e, "menuExtraRender"), N = A(t, e, "menuContentRender"), P = A(t, e, "menuFooterRender"), W = A(t, e, "menuItemRender"), X = A(t, e, "subMenuItemRender"), U = {
2110
+ menuItemRender: W,
2111
+ subMenuItemRender: X
2112
+ }, Y = p(() => I({
2176
2113
  ...e,
2177
- ...W,
2178
- hasSiderMenu: S.value,
2114
+ ...U,
2115
+ hasSiderMenu: w.value,
2179
2116
  menuData: e.menuData,
2180
2117
  isMobile: K(l),
2181
- rightContentRender: x,
2182
- extraRightDropdownRender: O,
2118
+ rightContentRender: C,
2119
+ extraRightDropdownRender: M,
2183
2120
  headerTitleRender: L,
2184
- headerContentRender: b,
2185
- headerRender: I,
2186
- theme: F.value
2187
- }, e.matchMenuKeys)), d = g(() => ({
2121
+ headerContentRender: g,
2122
+ headerRender: $,
2123
+ theme: T.value
2124
+ }, e.matchMenuKeys)), m = p(() => ({
2188
2125
  [`${i.value}`]: !0,
2189
- [`${a}`]: !0,
2190
- [`${a}-${e.layout}`]: !0
2191
- })), v = g(() => p.value ? {
2126
+ [`${n}`]: !0,
2127
+ [`${n}-${e.layout}`]: !0
2128
+ })), b = p(() => v.value ? {
2192
2129
  minWidth: `${e.wideWidth}px`
2193
- } : void 0), k = g(() => p.value ? {
2130
+ } : void 0), B = p(() => v.value ? {
2194
2131
  width: e.menuData.length ? `${e.wideWidth}px` : `${e.wideWidth - e.siderWidth - 20}px`,
2195
2132
  paddingTop: `${e.headerHeight + 20}px`,
2196
- margin: p.value ? "0 auto" : void 0
2197
- } : void 0), T = g(() => p.value ? {
2133
+ margin: v.value ? "0 auto" : void 0
2134
+ } : void 0), F = p(() => v.value ? {
2198
2135
  minHeight: "835px"
2199
2136
  } : {});
2200
- return o(n(Z, null, [e.pure ? (z = t.default) == null ? void 0 : z.call(t) : n("div", {
2201
- class: d.value,
2202
- style: v.value
2203
- }, [n(ce, {
2204
- style: k.value
2137
+ return o(a(Q, null, [e.pure ? (z = t.default) == null ? void 0 : z.call(t) : a("div", {
2138
+ class: m.value,
2139
+ style: b.value
2140
+ }, [a(ce, {
2141
+ style: B.value
2205
2142
  }, {
2206
- default: () => [n(Be, _(Ve(e, ["pure", "theme"]), {
2207
- links: C,
2208
- theme: F.value,
2143
+ default: () => [a(Re, G(He(e, ["pure", "theme"]), {
2144
+ links: S,
2145
+ theme: T.value,
2209
2146
  isMobile: l.value,
2210
2147
  menuHeaderRender: L,
2211
- menuContentRender: H,
2212
- menuExtraRender: N,
2148
+ menuContentRender: N,
2149
+ menuExtraRender: H,
2213
2150
  menuFooterRender: P,
2214
- collapsedButtonRender: h
2215
- }), null), n(ce, {
2151
+ collapsedButtonRender: y
2152
+ }), null), a(ce, {
2216
2153
  style: r
2217
2154
  }, {
2218
- default: () => [q.value, n(Ue, _({
2155
+ default: () => [Y.value, a(Ke, G({
2219
2156
  hashId: i.value,
2220
2157
  isMobile: l.value,
2221
- prefixCls: a,
2158
+ prefixCls: n,
2222
2159
  collapsedWidth: e.collapsedWidth,
2223
2160
  isChildrenLayout: e.isChildrenLayout,
2224
2161
  loading: e.loading,
@@ -2226,72 +2163,72 @@ const {
2226
2163
  isFixedMultiTab: e.fixedMultiTab,
2227
2164
  siderWidth: e.siderWidth,
2228
2165
  collapsed: e.collapsed,
2229
- style: e.disableContentMargin ? T.value : {
2166
+ style: e.disableContentMargin ? F.value : {
2230
2167
  ...e.contentStyle,
2231
- ...T.value
2168
+ ...F.value
2232
2169
  }
2233
2170
  }, le(e, ["onReloadPage", "onChangeTabs"])), {
2234
2171
  default: () => {
2235
- var U;
2236
- return [(U = t.default) == null ? void 0 : U.call(t)];
2172
+ var _;
2173
+ return [(_ = t.default) == null ? void 0 : _.call(t)];
2237
2174
  }
2238
- }), f === !1 ? null : f ? f(e) : n(ke, {
2239
- copyright: $
2175
+ }), d === !1 ? null : d ? d(e) : a(ke, {
2176
+ copyright: R
2240
2177
  }, null)]
2241
2178
  })]
2242
2179
  })])]));
2243
2180
  };
2244
2181
  }
2245
- }), zi = /* @__PURE__ */ j({
2182
+ }), Oi = /* @__PURE__ */ j({
2246
2183
  components: {
2247
- GlobalHeader: $e,
2184
+ GlobalHeader: Be,
2248
2185
  GlobalFooter: ke,
2249
- SiderMenuWrapper: Be
2186
+ SiderMenuWrapper: Re
2250
2187
  },
2251
- props: It,
2188
+ props: wt,
2252
2189
  emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
2253
2190
  setup(e, {
2254
2191
  slots: t,
2255
- emit: a
2192
+ emit: n
2256
2193
  }) {
2257
- const o = g(() => e.theme !== void 0 ? {
2194
+ const o = p(() => e.theme !== void 0 ? {
2258
2195
  dark: e.theme === "realDark"
2259
2196
  } : {}), i = (c) => {
2260
- a("update:collapsed", c), a("collapse", c);
2197
+ n("update:collapsed", c), n("collapse", c);
2261
2198
  }, u = (c) => {
2262
- a("update:open-keys", c), a("openKeys", c);
2263
- }, m = (c) => {
2264
- a("update:selected-keys", c), a("select", c);
2199
+ n("update:open-keys", c), n("openKeys", c);
2200
+ }, f = (c) => {
2201
+ n("update:selected-keys", c), n("select", c);
2265
2202
  };
2266
- return () => n(Te, {
2203
+ return () => a(Pe, {
2267
2204
  theme: e.primaryColor ? {
2268
2205
  token: {
2269
2206
  colorPrimary: e.primaryColor
2270
2207
  }
2271
2208
  } : void 0
2272
2209
  }, {
2273
- default: () => [n(Zt, _({
2210
+ default: () => [a(qt, G({
2274
2211
  token: e.token
2275
2212
  }, o.value), {
2276
- default: () => [n(ha, _(Ve(e, ["onSelect", "onOpenKeys", "onCollapse"]), {
2277
- onSelect: m,
2213
+ default: () => [a(an, G(He(e, ["onSelect", "onOpenKeys", "onCollapse"]), {
2214
+ onSelect: f,
2278
2215
  onOpenKeys: u,
2279
2216
  onCollapse: i
2280
2217
  }), t)]
2281
2218
  })]
2282
2219
  });
2283
2220
  }
2284
- }), Ot = (e, t, a) => e.map((o, i) => {
2221
+ }), It = (e, t, n) => e.map((o, i) => {
2285
2222
  var u;
2286
- return o.meta && (o.meta.key = a ? `${a}-${i}` : `${i}`), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = Ot(o.children, t, (u = o.meta) == null ? void 0 : u.key)), t[`${o.path}`] = o, o;
2287
- }), Hi = (e) => {
2288
- const t = e.find((i) => i.path === "/"), a = {}, o = Ot((t == null ? void 0 : t.children) || [], a);
2223
+ return o.meta && (o.meta.key = n ? `${n}-${i}` : `${i}`), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = It(o.children, t, (u = o.meta) == null ? void 0 : u.key)), t[`${o.path}`] = o, o;
2224
+ }), Ri = (e) => {
2225
+ const t = e.find((i) => i.path === "/"), n = {}, o = It((t == null ? void 0 : t.children) || [], n);
2289
2226
  return {
2290
2227
  menuData: o,
2291
- breadcrumb: a,
2292
- levelMenuData: tn(o)
2228
+ breadcrumb: n,
2229
+ levelMenuData: ea(o)
2293
2230
  };
2294
- }, Rt = [
2231
+ }, Mt = [
2295
2232
  {
2296
2233
  key: "light",
2297
2234
  title: "亮色菜单风格"
@@ -2304,7 +2241,7 @@ const {
2304
2241
  key: "realDark",
2305
2242
  title: "暗黑模式"
2306
2243
  }
2307
- ], Bt = [
2244
+ ], Ot = [
2308
2245
  {
2309
2246
  key: "side",
2310
2247
  title: "侧边菜单布局"
@@ -2321,7 +2258,7 @@ const {
2321
2258
  key: "simple",
2322
2259
  title: "简单菜单布局"
2323
2260
  }
2324
- ], ya = [
2261
+ ], nn = [
2325
2262
  {
2326
2263
  key: "header",
2327
2264
  title: "顶部主题"
@@ -2330,7 +2267,7 @@ const {
2330
2267
  key: "sider",
2331
2268
  title: "左侧主题"
2332
2269
  }
2333
- ], ba = (e) => ({
2270
+ ], on = (e) => ({
2334
2271
  [e.componentCls]: {
2335
2272
  [`${e.antCls}-drawer-content-wrapper`]: {
2336
2273
  transform: "translate(100%)",
@@ -2495,7 +2432,7 @@ const {
2495
2432
  }
2496
2433
  }
2497
2434
  }
2498
- }), et = /* @__PURE__ */ j({
2435
+ }), Qe = /* @__PURE__ */ j({
2499
2436
  name: "BlockCheckbox",
2500
2437
  props: {
2501
2438
  value: D.string,
@@ -2511,32 +2448,32 @@ const {
2511
2448
  setup(e) {
2512
2449
  return () => {
2513
2450
  const t = `${e.prefixCls}-block-checkbox`;
2514
- return n("div", {
2451
+ return a("div", {
2515
2452
  class: [t, e.hashId]
2516
- }, [e.list.map((a) => n(Se, {
2517
- title: a.title,
2518
- key: a.key
2453
+ }, [e.list.map((n) => a(Se, {
2454
+ title: n.title,
2455
+ key: n.key
2519
2456
  }, {
2520
- default: () => [n("div", {
2521
- class: ct(e.hashId, `${t}-item`, `${t}-item-${a.key}`, `${t}-${e.configType}-item`),
2457
+ default: () => [a("div", {
2458
+ class: ut(e.hashId, `${t}-item`, `${t}-item-${n.key}`, `${t}-${e.configType}-item`),
2522
2459
  onClick: () => {
2523
2460
  var o;
2524
- return (o = e.onChange) == null ? void 0 : o.call(e, a.key);
2461
+ return (o = e.onChange) == null ? void 0 : o.call(e, n.key);
2525
2462
  }
2526
- }, [a.key === "wide" && n("div", {
2527
- class: [`${t}-item-${a.key}-content`, e.hashId]
2528
- }, null), n(dt, {
2463
+ }, [n.key === "wide" && a("div", {
2464
+ class: [`${t}-item-${n.key}-content`, e.hashId]
2465
+ }, null), a(dt, {
2529
2466
  class: `${t}-selectIcon ${e.hashId}`.trim(),
2530
2467
  style: {
2531
- display: e.value === a.key ? "block" : "none"
2468
+ display: e.value === n.key ? "block" : "none"
2532
2469
  }
2533
- }, null), a != null && a.icon ? n("div", {
2470
+ }, null), n != null && n.icon ? a("div", {
2534
2471
  class: `${t}-icon ${e.hashId}`.trim()
2535
- }, [a.icon]) : null])]
2472
+ }, [n.icon]) : null])]
2536
2473
  }))]);
2537
2474
  };
2538
2475
  }
2539
- }), pa = /* @__PURE__ */ j({
2476
+ }), ln = /* @__PURE__ */ j({
2540
2477
  name: "ThemeColor",
2541
2478
  inheritAttrs: !1,
2542
2479
  props: {
@@ -2551,27 +2488,27 @@ const {
2551
2488
  },
2552
2489
  setup(e) {
2553
2490
  return () => {
2554
- var a;
2491
+ var n;
2555
2492
  const t = `${e.prefixCls}-theme-color`;
2556
- return n(Z, null, [n("div", {
2493
+ return a(Q, null, [a("div", {
2557
2494
  class: `${t} ${e.hashId}`.trim()
2558
- }, [(a = e.colorList) == null ? void 0 : a.map(({
2495
+ }, [(n = e.colorList) == null ? void 0 : n.map(({
2559
2496
  key: o,
2560
2497
  color: i,
2561
2498
  title: u
2562
- }) => o ? n(Se, {
2499
+ }) => o ? a(Se, {
2563
2500
  key: i,
2564
2501
  title: u
2565
2502
  }, {
2566
2503
  default: () => {
2567
- var m, c;
2568
- return [n("div", {
2569
- class: [`${t}-block ${e.hashId}`.trim(), ((m = e.settingValue) == null ? void 0 : m.primaryColor) === i ? `${t}-block-checked` : ""],
2504
+ var f, c;
2505
+ return [a("div", {
2506
+ class: [`${t}-block ${e.hashId}`.trim(), ((f = e.settingValue) == null ? void 0 : f.primaryColor) === i ? `${t}-block-checked` : ""],
2570
2507
  style: {
2571
2508
  backgroundColor: i
2572
2509
  },
2573
2510
  onClick: () => e.onChange && e.onChange(i)
2574
- }, [((c = e.settingValue) == null ? void 0 : c.primaryColor) === i && n(dt, null, null)])];
2511
+ }, [((c = e.settingValue) == null ? void 0 : c.primaryColor) === i && a(dt, null, null)])];
2575
2512
  }
2576
2513
  }) : null)])]);
2577
2514
  };
@@ -2588,20 +2525,20 @@ const {
2588
2525
  onChange: Function
2589
2526
  },
2590
2527
  setup(e) {
2591
- return () => n(oe, {
2528
+ return () => a(oe, {
2592
2529
  class: `${e.prefixCls}-list ${e.hashId}`.trim(),
2593
2530
  split: !1,
2594
2531
  size: "small",
2595
2532
  renderItem: ({
2596
2533
  item: t
2597
- }) => n(Se, {
2534
+ }) => a(Se, {
2598
2535
  title: t.disabled ? t.disabledReason : "",
2599
2536
  placement: "left"
2600
2537
  }, {
2601
- default: () => [n(oe.Item, {
2538
+ default: () => [a(oe.Item, {
2602
2539
  actions: [t.action]
2603
2540
  }, {
2604
- default: () => [n("span", {
2541
+ default: () => [a("span", {
2605
2542
  style: {
2606
2543
  opacity: t.disabled ? 0.5 : 1
2607
2544
  }
@@ -2610,7 +2547,7 @@ const {
2610
2547
  }),
2611
2548
  dataSource: [{
2612
2549
  title: e.label,
2613
- action: n(st, {
2550
+ action: a(rt, {
2614
2551
  size: "small",
2615
2552
  disabled: e.disabled,
2616
2553
  checked: !!e.value,
@@ -2621,7 +2558,7 @@ const {
2621
2558
  }]
2622
2559
  }, null);
2623
2560
  }
2624
- }), va = (e) => ({
2561
+ }), rn = (e) => ({
2625
2562
  [e.componentCls]: {
2626
2563
  padding: e.marginLG,
2627
2564
  "&-title": {
@@ -2652,10 +2589,10 @@ const {
2652
2589
  }
2653
2590
  }
2654
2591
  });
2655
- function xa(e) {
2592
+ function sn(e) {
2656
2593
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
2657
2594
  }
2658
- const Ca = /* @__PURE__ */ j({
2595
+ const dn = /* @__PURE__ */ j({
2659
2596
  name: "ThemeEditor",
2660
2597
  props: {
2661
2598
  settingValue: Object,
@@ -2664,19 +2601,19 @@ const Ca = /* @__PURE__ */ j({
2664
2601
  setup(e) {
2665
2602
  const {
2666
2603
  getPrefixCls: t
2667
- } = ee(), [a, o] = pe("header"), i = t({
2604
+ } = ee(), [n, o] = pe("header"), i = t({
2668
2605
  suffixCls: "theme-editor",
2669
2606
  isPor: !0
2670
2607
  }), {
2671
2608
  wrapSSR: u,
2672
- hashId: m
2673
- } = Q("ProThemeEditor", [va], i), {
2609
+ hashId: f
2610
+ } = te("ProThemeEditor", [rn], i), {
2674
2611
  token: c
2675
- } = fe(), S = g(() => {
2612
+ } = fe(), w = p(() => {
2676
2613
  var l;
2677
2614
  return (l = c.value) == null ? void 0 : l.layout;
2678
- }), p = g(() => {
2679
- var l, r, M, R, w, h, b, x, I, f, C, $, O, L, N, H, P, X, Y, W, q, d, v, k, T;
2615
+ }), v = p(() => {
2616
+ var l, r, I, k, x, y, g, C, $, d, S, R, M, L, H, N, P, W, X, U, Y, m, b, B, F;
2680
2617
  return [{
2681
2618
  key: "colorBgMenu",
2682
2619
  title: "全部背景",
@@ -2684,7 +2621,7 @@ const Ca = /* @__PURE__ */ j({
2684
2621
  }, {
2685
2622
  key: "colorDarkBgMenu",
2686
2623
  title: "全部背景",
2687
- disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "light" || ((R = e.settingValue) == null ? void 0 : R.theme) === "dark" && ["side", "simple"].includes((w = e.settingValue) == null ? void 0 : w.layout)
2624
+ disabled: ((I = e.settingValue) == null ? void 0 : I.theme) === "light" || ((k = e.settingValue) == null ? void 0 : k.theme) === "dark" && ["side", "simple"].includes((x = e.settingValue) == null ? void 0 : x.layout)
2688
2625
  }, {
2689
2626
  key: "colorSubItemBg",
2690
2627
  title: "子菜单背景",
@@ -2696,38 +2633,38 @@ const Ca = /* @__PURE__ */ j({
2696
2633
  }, {
2697
2634
  key: "colorBgMenuItemSelected",
2698
2635
  title: "菜单选中背景",
2699
- disabled: ((h = e.settingValue) == null ? void 0 : h.theme) === "dark" && ["mix", "wide"].includes((b = e.settingValue) == null ? void 0 : b.layout)
2636
+ disabled: ((y = e.settingValue) == null ? void 0 : y.theme) === "dark" && ["mix", "wide"].includes((g = e.settingValue) == null ? void 0 : g.layout)
2700
2637
  }, {
2701
2638
  key: "colorDarkBgMenuItemSelected",
2702
2639
  title: "菜单选中背景",
2703
- disabled: ((x = e.settingValue) == null ? void 0 : x.theme) === "light" || ((I = e.settingValue) == null ? void 0 : I.theme) === "dark" && ["side", "simple"].includes((f = e.settingValue) == null ? void 0 : f.layout)
2640
+ disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "light" || (($ = e.settingValue) == null ? void 0 : $.theme) === "dark" && ["side", "simple"].includes((d = e.settingValue) == null ? void 0 : d.layout)
2704
2641
  }, {
2705
2642
  key: "colorTextMenu",
2706
2643
  title: "菜单文字颜色",
2707
- disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "dark" && ["mix", "wide"].includes(($ = e.settingValue) == null ? void 0 : $.layout)
2644
+ disabled: ((S = e.settingValue) == null ? void 0 : S.theme) === "dark" && ["mix", "wide"].includes((R = e.settingValue) == null ? void 0 : R.layout)
2708
2645
  }, {
2709
2646
  key: "colorDarkTextMenu",
2710
2647
  title: "菜单文字颜色",
2711
- disabled: ((O = e.settingValue) == null ? void 0 : O.theme) === "light" || ((L = e.settingValue) == null ? void 0 : L.theme) === "dark" && ["side", "simple"].includes((N = e.settingValue) == null ? void 0 : N.layout)
2648
+ disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "light" || ((L = e.settingValue) == null ? void 0 : L.theme) === "dark" && ["side", "simple"].includes((H = e.settingValue) == null ? void 0 : H.layout)
2712
2649
  }, {
2713
2650
  key: "colorTextMenuHover",
2714
2651
  title: "菜单文字移入颜色",
2715
- disabled: ((H = e.settingValue) == null ? void 0 : H.theme) === "dark" && ["mix", "wide"].includes((P = e.settingValue) == null ? void 0 : P.layout)
2652
+ disabled: ((N = e.settingValue) == null ? void 0 : N.theme) === "dark" && ["mix", "wide"].includes((P = e.settingValue) == null ? void 0 : P.layout)
2716
2653
  }, {
2717
2654
  key: "colorDarkTextMenuHover",
2718
2655
  title: "菜单文字移入颜色",
2719
- disabled: ((X = e.settingValue) == null ? void 0 : X.theme) === "light" || ((Y = e.settingValue) == null ? void 0 : Y.theme) === "dark" && ["side", "simple"].includes((W = e.settingValue) == null ? void 0 : W.layout)
2656
+ disabled: ((W = e.settingValue) == null ? void 0 : W.theme) === "light" || ((X = e.settingValue) == null ? void 0 : X.theme) === "dark" && ["side", "simple"].includes((U = e.settingValue) == null ? void 0 : U.layout)
2720
2657
  }, {
2721
2658
  key: "colorTextMenuSelected",
2722
2659
  title: "菜单文字选中颜色",
2723
- disabled: ((q = e.settingValue) == null ? void 0 : q.theme) === "dark" && ["mix", "wide"].includes((d = e.settingValue) == null ? void 0 : d.layout)
2660
+ disabled: ((Y = e.settingValue) == null ? void 0 : Y.theme) === "dark" && ["mix", "wide"].includes((m = e.settingValue) == null ? void 0 : m.layout)
2724
2661
  }, {
2725
2662
  key: "colorDarkTextMenuSelected",
2726
2663
  title: "菜单文字选中颜色",
2727
- disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "light" || ((k = e.settingValue) == null ? void 0 : k.theme) === "dark" && ["side", "simple"].includes((T = e.settingValue) == null ? void 0 : T.layout)
2664
+ disabled: ((b = e.settingValue) == null ? void 0 : b.theme) === "light" || ((B = e.settingValue) == null ? void 0 : B.theme) === "dark" && ["side", "simple"].includes((F = e.settingValue) == null ? void 0 : F.layout)
2728
2665
  }];
2729
- }), B = g(() => {
2730
- var l, r, M, R, w, h, b, x, I, f, C, $, O, L, N, H, P, X, Y, W, q, d, v, k, T, z, U, E, te, J, Ee, Xe;
2666
+ }), O = p(() => {
2667
+ var l, r, I, k, x, y, g, C, $, d, S, R, M, L, H, N, P, W, X, U, Y, m, b, B, F, z, _, Z, E, J, Ue, Ee;
2731
2668
  return [{
2732
2669
  key: "colorBgMenu",
2733
2670
  title: "全部背景",
@@ -2735,132 +2672,132 @@ const Ca = /* @__PURE__ */ j({
2735
2672
  }, {
2736
2673
  key: "colorDarkBgMenu",
2737
2674
  title: "全部背景",
2738
- disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "light" || ((R = e.settingValue) == null ? void 0 : R.theme) === "dark" && ["mix", "wide"].includes((w = e.settingValue) == null ? void 0 : w.layout)
2675
+ disabled: ((I = e.settingValue) == null ? void 0 : I.theme) === "light" || ((k = e.settingValue) == null ? void 0 : k.theme) === "dark" && ["mix", "wide"].includes((x = e.settingValue) == null ? void 0 : x.layout)
2739
2676
  }, {
2740
2677
  key: "colorSubItemBg",
2741
2678
  title: "子菜单背景",
2742
- disabled: ((h = e.settingValue) == null ? void 0 : h.theme) === "dark" && ["side", "simple"].includes((b = e.settingValue) == null ? void 0 : b.layout)
2679
+ disabled: ((y = e.settingValue) == null ? void 0 : y.theme) === "dark" && ["side", "simple"].includes((g = e.settingValue) == null ? void 0 : g.layout)
2743
2680
  }, {
2744
2681
  key: "colorDarkSubItemBg",
2745
2682
  title: "子菜单背景",
2746
- disabled: ((x = e.settingValue) == null ? void 0 : x.theme) === "light" || ((I = e.settingValue) == null ? void 0 : I.theme) === "dark" && ["mix", "wide"].includes((f = e.settingValue) == null ? void 0 : f.layout)
2683
+ disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "light" || (($ = e.settingValue) == null ? void 0 : $.theme) === "dark" && ["mix", "wide"].includes((d = e.settingValue) == null ? void 0 : d.layout)
2747
2684
  }, {
2748
2685
  key: "colorBgMenuItemHover",
2749
2686
  title: "菜单移入背景",
2750
- disabled: ((C = e.settingValue) == null ? void 0 : C.theme) === "dark" && (($ = e.settingValue) == null ? void 0 : $.layout) !== "mix"
2687
+ disabled: ((S = e.settingValue) == null ? void 0 : S.theme) === "dark" && ((R = e.settingValue) == null ? void 0 : R.layout) !== "mix"
2751
2688
  }, {
2752
2689
  key: "colorBgMenuItemSelected",
2753
2690
  title: "菜单选中背景",
2754
- disabled: ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ((L = e.settingValue) == null ? void 0 : L.layout) !== "mix"
2691
+ disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "dark" && ((L = e.settingValue) == null ? void 0 : L.layout) !== "mix"
2755
2692
  }, {
2756
2693
  key: "colorDarkBgMenuItemSelected",
2757
2694
  title: "菜单选中背景",
2758
- disabled: ((N = e.settingValue) == null ? void 0 : N.theme) === "light" || ((H = e.settingValue) == null ? void 0 : H.theme) === "dark" && ["mix", "wide"].includes((P = e.settingValue) == null ? void 0 : P.layout)
2695
+ disabled: ((H = e.settingValue) == null ? void 0 : H.theme) === "light" || ((N = e.settingValue) == null ? void 0 : N.theme) === "dark" && ["mix", "wide"].includes((P = e.settingValue) == null ? void 0 : P.layout)
2759
2696
  }, {
2760
2697
  key: "colorTextMenu",
2761
2698
  title: "菜单文字颜色",
2762
- disabled: ((X = e.settingValue) == null ? void 0 : X.theme) === "dark" && ((Y = e.settingValue) == null ? void 0 : Y.layout) !== "mix"
2699
+ disabled: ((W = e.settingValue) == null ? void 0 : W.theme) === "dark" && ((X = e.settingValue) == null ? void 0 : X.layout) !== "mix"
2763
2700
  }, {
2764
2701
  key: "colorDarkTextMenu",
2765
2702
  title: "菜单文字颜色",
2766
- disabled: ((W = e.settingValue) == null ? void 0 : W.theme) === "light" || ((q = e.settingValue) == null ? void 0 : q.theme) === "dark" && ["mix", "wide"].includes((d = e.settingValue) == null ? void 0 : d.layout)
2703
+ disabled: ((U = e.settingValue) == null ? void 0 : U.theme) === "light" || ((Y = e.settingValue) == null ? void 0 : Y.theme) === "dark" && ["mix", "wide"].includes((m = e.settingValue) == null ? void 0 : m.layout)
2767
2704
  }, {
2768
2705
  key: "colorTextMenuHover",
2769
2706
  title: "菜单文字移入颜色",
2770
- disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "dark" && ((k = e.settingValue) == null ? void 0 : k.layout) !== "mix"
2707
+ disabled: ((b = e.settingValue) == null ? void 0 : b.theme) === "dark" && ((B = e.settingValue) == null ? void 0 : B.layout) !== "mix"
2771
2708
  }, {
2772
2709
  key: "colorDarkTextMenuHover",
2773
2710
  title: "菜单文字移入颜色",
2774
- disabled: ((T = e.settingValue) == null ? void 0 : T.theme) === "light" || ((z = e.settingValue) == null ? void 0 : z.theme) === "dark" && ["mix", "wide"].includes((U = e.settingValue) == null ? void 0 : U.layout)
2711
+ disabled: ((F = e.settingValue) == null ? void 0 : F.theme) === "light" || ((z = e.settingValue) == null ? void 0 : z.theme) === "dark" && ["mix", "wide"].includes((_ = e.settingValue) == null ? void 0 : _.layout)
2775
2712
  }, {
2776
2713
  key: "colorTextMenuSelected",
2777
2714
  title: "菜单文字选中颜色",
2778
- disabled: ((E = e.settingValue) == null ? void 0 : E.theme) === "dark" && ((te = e.settingValue) == null ? void 0 : te.layout) !== "mix"
2715
+ disabled: ((Z = e.settingValue) == null ? void 0 : Z.theme) === "dark" && ((E = e.settingValue) == null ? void 0 : E.layout) !== "mix"
2779
2716
  }, {
2780
2717
  key: "colorDarkTextMenuSelected",
2781
2718
  title: "菜单文字选中颜色",
2782
- disabled: ((J = e.settingValue) == null ? void 0 : J.theme) === "light" || ((Ee = e.settingValue) == null ? void 0 : Ee.theme) === "dark" && ["mix", "wide"].includes((Xe = e.settingValue) == null ? void 0 : Xe.layout)
2719
+ disabled: ((J = e.settingValue) == null ? void 0 : J.theme) === "light" || ((Ue = e.settingValue) == null ? void 0 : Ue.theme) === "dark" && ["mix", "wide"].includes((Ee = e.settingValue) == null ? void 0 : Ee.layout)
2783
2720
  }];
2784
- }), y = g(() => a.value === "header" ? p.value : a.value === "sider" ? B.value : []), F = (l) => {
2785
- var r, M;
2786
- return (M = (r = S.value) == null ? void 0 : r[a.value]) == null ? void 0 : M[l];
2721
+ }), h = p(() => n.value === "header" ? v.value : n.value === "sider" ? O.value : []), T = (l) => {
2722
+ var r, I;
2723
+ return (I = (r = w.value) == null ? void 0 : r[n.value]) == null ? void 0 : I[l];
2787
2724
  };
2788
2725
  return () => {
2789
- var r, M, R;
2726
+ var r, I, k;
2790
2727
  let l;
2791
- return u(n("div", {
2792
- class: [i, m.value]
2793
- }, [n("h3", {
2794
- class: [`${i}-title`, m.value]
2795
- }, [ne("主题编辑器"), n("div", {
2796
- class: [`${i}-sub-title`, m.value]
2797
- }, [n("span", null, [(r = Rt.find((w) => {
2798
- var h;
2799
- return w.key === ((h = e.settingValue) == null ? void 0 : h.theme);
2800
- })) == null ? void 0 : r.title]), n("span", {
2728
+ return u(a("div", {
2729
+ class: [i, f.value]
2730
+ }, [a("h3", {
2731
+ class: [`${i}-title`, f.value]
2732
+ }, [ae("主题编辑器"), a("div", {
2733
+ class: [`${i}-sub-title`, f.value]
2734
+ }, [a("span", null, [(r = Mt.find((x) => {
2735
+ var y;
2736
+ return x.key === ((y = e.settingValue) == null ? void 0 : y.theme);
2737
+ })) == null ? void 0 : r.title]), a("span", {
2801
2738
  style: {
2802
2739
  marginInline: "8px"
2803
2740
  }
2804
- }, [ne("/")]), n("span", null, [(M = Bt.find((w) => {
2805
- var h;
2806
- return w.key === ((h = e.settingValue) == null ? void 0 : h.layout);
2807
- })) == null ? void 0 : M.title])])]), n("div", {
2808
- class: [`${i}-content`, m.value]
2809
- }, [n(oe, {
2810
- class: `${i}-list ${m.value}`.trim(),
2741
+ }, [ae("/")]), a("span", null, [(I = Ot.find((x) => {
2742
+ var y;
2743
+ return x.key === ((y = e.settingValue) == null ? void 0 : y.layout);
2744
+ })) == null ? void 0 : I.title])])]), a("div", {
2745
+ class: [`${i}-content`, f.value]
2746
+ }, [a(oe, {
2747
+ class: `${i}-list ${f.value}`.trim(),
2811
2748
  split: !1,
2812
2749
  size: "small",
2813
2750
  renderItem: ({
2814
- item: w
2815
- }) => n(oe.Item, {
2816
- actions: [w.action]
2751
+ item: x
2752
+ }) => a(oe.Item, {
2753
+ actions: [x.action]
2817
2754
  }, {
2818
- default: () => [n("span", {
2755
+ default: () => [a("span", {
2819
2756
  style: {
2820
- opacity: w.disabled ? 0.5 : 1
2757
+ opacity: x.disabled ? 0.5 : 1
2821
2758
  }
2822
- }, [w.title])]
2759
+ }, [x.title])]
2823
2760
  }),
2824
2761
  dataSource: [{
2825
2762
  title: "自定义主题色",
2826
- action: n(Ge, {
2827
- value: (R = e.settingValue) == null ? void 0 : R.primaryColor,
2763
+ action: a(_e, {
2764
+ value: (k = e.settingValue) == null ? void 0 : k.primaryColor,
2828
2765
  actions: ["confirm"],
2829
2766
  modes: ["rgb"],
2830
2767
  size: "small",
2831
- onConfirm: (w) => e.onChange && e.onChange(w, "primaryColor")
2768
+ onConfirm: (x) => e.onChange && e.onChange(x, "primaryColor")
2832
2769
  }, null)
2833
2770
  }]
2834
- }, null), n(Le, {
2835
- activeKey: a.value,
2771
+ }, null), a(Fe, {
2772
+ activeKey: n.value,
2836
2773
  onChange: o
2837
- }, xa(l = ya.map((w) => n(zt, {
2838
- key: w.key,
2839
- tab: w.title
2774
+ }, sn(l = nn.map((x) => a(Nt, {
2775
+ key: x.key,
2776
+ tab: x.title
2840
2777
  }, {
2841
- default: () => [n(oe, {
2842
- class: `${i}-list ${m.value}`.trim(),
2778
+ default: () => [a(oe, {
2779
+ class: `${i}-list ${f.value}`.trim(),
2843
2780
  split: !1,
2844
2781
  size: "small",
2845
2782
  renderItem: ({
2846
- item: h
2847
- }) => n(oe.Item, {
2848
- actions: [h.action]
2783
+ item: y
2784
+ }) => a(oe.Item, {
2785
+ actions: [y.action]
2849
2786
  }, {
2850
- default: () => [n("span", {
2787
+ default: () => [a("span", {
2851
2788
  style: {
2852
- opacity: h.disabled ? 0.5 : 1
2789
+ opacity: y.disabled ? 0.5 : 1
2853
2790
  }
2854
- }, [h.title])]
2791
+ }, [y.title])]
2855
2792
  }),
2856
- dataSource: y.value.filter((h) => !h.disabled).map((h) => ({
2857
- ...h,
2858
- action: n(Ge, {
2859
- value: F(h.key),
2793
+ dataSource: h.value.filter((y) => !y.disabled).map((y) => ({
2794
+ ...y,
2795
+ action: a(_e, {
2796
+ value: T(y.key),
2860
2797
  actions: ["confirm"],
2861
2798
  modes: ["rgb"],
2862
2799
  size: "small",
2863
- onConfirm: (b) => e.onChange && e.onChange(b, a.value, h.key)
2800
+ onConfirm: (g) => e.onChange && e.onChange(g, n.value, y.key)
2864
2801
  }, null)
2865
2802
  }))
2866
2803
  }, null)]
@@ -2869,7 +2806,7 @@ const Ca = /* @__PURE__ */ j({
2869
2806
  })])]));
2870
2807
  };
2871
2808
  }
2872
- }), wa = (e) => ({
2809
+ }), un = (e) => ({
2873
2810
  [e.componentCls]: {
2874
2811
  padding: e.marginLG,
2875
2812
  "&-title": {
@@ -2900,12 +2837,12 @@ const Ca = /* @__PURE__ */ j({
2900
2837
  }
2901
2838
  }
2902
2839
  });
2903
- function tt(e) {
2840
+ function et(e) {
2904
2841
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ie(e);
2905
2842
  }
2906
2843
  const {
2907
- preset: nt
2908
- } = je, Sa = /* @__PURE__ */ j({
2844
+ preset: tt
2845
+ } = Ve, cn = /* @__PURE__ */ j({
2909
2846
  name: "OthersChange",
2910
2847
  props: {
2911
2848
  prefixCls: D.string,
@@ -2917,73 +2854,73 @@ const {
2917
2854
  suffixCls: "others",
2918
2855
  isPor: !0
2919
2856
  }), {
2920
- wrapSSR: a,
2857
+ wrapSSR: n,
2921
2858
  hashId: o
2922
- } = Q("SettingsDrawOthers", [wa], t);
2859
+ } = te("SettingsDrawOthers", [un], t);
2923
2860
  return () => {
2924
- var u, m, c, S, p, B, y, F, l, r, M, R, w, h;
2861
+ var u, f, c, w, v, O, h, T, l, r, I, k, x, y;
2925
2862
  let i;
2926
- return a(n("div", {
2863
+ return n(a("div", {
2927
2864
  class: [t, o.value]
2928
- }, [n("h3", {
2865
+ }, [a("h3", {
2929
2866
  class: [`${t}-title`, o.value]
2930
- }, [ne("页面动画设置")]), n(oe, {
2867
+ }, [ae("页面动画设置")]), a(oe, {
2931
2868
  class: `${t}-list ${o.value}`.trim(),
2932
2869
  split: !1,
2933
2870
  size: "small",
2934
2871
  renderItem: ({
2935
- item: b
2936
- }) => n(Se, {
2937
- title: b.disabled ? b.disabledReason : "",
2872
+ item: g
2873
+ }) => a(Se, {
2874
+ title: g.disabled ? g.disabledReason : "",
2938
2875
  placement: "left"
2939
2876
  }, {
2940
- default: () => [n(oe.Item, {
2941
- actions: [b.action]
2877
+ default: () => [a(oe.Item, {
2878
+ actions: [g.action]
2942
2879
  }, {
2943
- default: () => [n("span", {
2880
+ default: () => [a("span", {
2944
2881
  style: {
2945
- opacity: b.disabled ? 0.5 : 1
2882
+ opacity: g.disabled ? 0.5 : 1
2946
2883
  }
2947
- }, [b.title])]
2884
+ }, [g.title])]
2948
2885
  })]
2949
2886
  }),
2950
2887
  dataSource: [{
2951
2888
  title: "禁用动画",
2952
- action: n(st, {
2953
- checked: !((m = (u = e.settingValue) == null ? void 0 : u.animate) != null && m.disabled),
2889
+ action: a(rt, {
2890
+ checked: !((f = (u = e.settingValue) == null ? void 0 : u.animate) != null && f.disabled),
2954
2891
  size: "small",
2955
- onChange: (b) => {
2956
- var x;
2957
- return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "disabled", !b);
2892
+ onChange: (g) => {
2893
+ var C;
2894
+ return (C = e.onChange) == null ? void 0 : C.call(e, "animate", "disabled", !g);
2958
2895
  }
2959
2896
  }, null)
2960
2897
  }, {
2961
2898
  title: "动画效果",
2962
- disabled: (S = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : S.disabled,
2963
- action: n(ge, {
2964
- value: (B = (p = e.settingValue) == null ? void 0 : p.animate) == null ? void 0 : B.name,
2899
+ disabled: (w = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : w.disabled,
2900
+ action: a(ge, {
2901
+ value: (O = (v = e.settingValue) == null ? void 0 : v.animate) == null ? void 0 : O.name,
2965
2902
  style: {
2966
2903
  width: "100px"
2967
2904
  },
2968
2905
  size: "small",
2969
- disabled: (F = (y = e.settingValue) == null ? void 0 : y.animate) == null ? void 0 : F.disabled,
2970
- getPopupContainer: (b) => b && b.parentNode ? b.parentNode : b,
2971
- onChange: (b) => {
2972
- var x;
2973
- return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "name", b);
2906
+ disabled: (T = (h = e.settingValue) == null ? void 0 : h.animate) == null ? void 0 : T.disabled,
2907
+ getPopupContainer: (g) => g && g.parentNode ? g.parentNode : g,
2908
+ onChange: (g) => {
2909
+ var C;
2910
+ return (C = e.onChange) == null ? void 0 : C.call(e, "animate", "name", g);
2974
2911
  }
2975
- }, tt(i = nt.map((b) => n(ge.Option, {
2976
- value: b.name
2912
+ }, et(i = tt.map((g) => a(ge.Option, {
2913
+ value: g.name
2977
2914
  }, {
2978
- default: () => [b.alias]
2915
+ default: () => [g.alias]
2979
2916
  }))) ? i : {
2980
2917
  default: () => [i]
2981
2918
  })
2982
2919
  }, {
2983
2920
  title: "动画方向",
2984
2921
  disabled: (r = (l = e.settingValue) == null ? void 0 : l.animate) == null ? void 0 : r.disabled,
2985
- action: n(ge, {
2986
- value: (R = (M = e.settingValue) == null ? void 0 : M.animate) == null ? void 0 : R.direction,
2922
+ action: a(ge, {
2923
+ value: (k = (I = e.settingValue) == null ? void 0 : I.animate) == null ? void 0 : k.direction,
2987
2924
  style: {
2988
2925
  width: "100px"
2989
2926
  },
@@ -2991,22 +2928,22 @@ const {
2991
2928
  dropdownStyle: {
2992
2929
  minWidth: "120px"
2993
2930
  },
2994
- disabled: (h = (w = e.settingValue) == null ? void 0 : w.animate) == null ? void 0 : h.disabled,
2995
- getPopupContainer: (b) => b && b.parentNode ? b.parentNode : b,
2996
- onChange: (b) => {
2997
- var x;
2998
- return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "direction", b);
2931
+ disabled: (y = (x = e.settingValue) == null ? void 0 : x.animate) == null ? void 0 : y.disabled,
2932
+ getPopupContainer: (g) => g && g.parentNode ? g.parentNode : g,
2933
+ onChange: (g) => {
2934
+ var C;
2935
+ return (C = e.onChange) == null ? void 0 : C.call(e, "animate", "direction", g);
2999
2936
  }
3000
2937
  }, {
3001
2938
  default: () => {
3002
- var b;
3003
- return [(b = nt.find((x) => {
3004
- var I, f;
3005
- return x.name === ((f = (I = e.settingValue) == null ? void 0 : I.animate) == null ? void 0 : f.name);
3006
- })) == null ? void 0 : b.directions.map((x) => n(ge.Option, {
3007
- value: x
3008
- }, tt(x) ? x : {
3009
- default: () => [x]
2939
+ var g;
2940
+ return [(g = tt.find((C) => {
2941
+ var $, d;
2942
+ return C.name === ((d = ($ = e.settingValue) == null ? void 0 : $.animate) == null ? void 0 : d.name);
2943
+ })) == null ? void 0 : g.directions.map((C) => a(ge.Option, {
2944
+ value: C
2945
+ }, et(C) ? C : {
2946
+ default: () => [C]
3010
2947
  }))];
3011
2948
  }
3012
2949
  })
@@ -3015,11 +2952,11 @@ const {
3015
2952
  };
3016
2953
  }
3017
2954
  }), {
3018
- preset: Ia
3019
- } = je, Pe = Object.keys(V).filter((e) => e !== "title"), at = {
2955
+ preset: mn
2956
+ } = Ve, $e = Object.keys(V).filter((e) => e !== "title"), at = {
3020
2957
  color: "#fff",
3021
2958
  fontSize: 20
3022
- }, Ma = [{
2959
+ }, fn = [{
3023
2960
  label: "fixedHeader",
3024
2961
  title: "固定 Header"
3025
2962
  }, {
@@ -3028,27 +2965,27 @@ const {
3028
2965
  }, {
3029
2966
  label: "splitMenus",
3030
2967
  title: "自动分割菜单"
3031
- }], Oa = [{
2968
+ }], gn = [{
3032
2969
  label: "showTabsBar",
3033
2970
  title: "多标签"
3034
2971
  }, {
3035
2972
  label: "fixedMultiTab",
3036
2973
  title: "固定多标签"
3037
- }], ot = (e) => an() ? {
3038
- ...le(V, Pe),
2974
+ }], nt = (e) => aa() ? {
2975
+ ...le(V, $e),
3039
2976
  ...e || {}
3040
- } : He(V), ye = (e, {
2977
+ } : ze(V), ye = (e, {
3041
2978
  slots: t
3042
2979
  }) => {
3043
- var a;
3044
- return n("div", {
2980
+ var n;
2981
+ return a("div", {
3045
2982
  style: {
3046
2983
  marginBottom: "24px"
3047
2984
  }
3048
- }, [n("h3", {
2985
+ }, [a("h3", {
3049
2986
  class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
3050
- }, [e.title]), (a = t.default) == null ? void 0 : a.call(t)]);
3051
- }, Vi = /* @__PURE__ */ j({
2987
+ }, [e.title]), (n = t.default) == null ? void 0 : n.call(t)]);
2988
+ }, ki = /* @__PURE__ */ j({
3052
2989
  name: "SettingDrawer",
3053
2990
  props: {
3054
2991
  themeOnly: Boolean,
@@ -3061,7 +2998,7 @@ const {
3061
2998
  },
3062
2999
  colorList: {
3063
3000
  type: [Boolean, Array],
3064
- default: () => Jt
3001
+ default: () => Zt
3065
3002
  },
3066
3003
  onChange: Function,
3067
3004
  onChangeLayout: Function
@@ -3070,48 +3007,48 @@ const {
3070
3007
  setup(e) {
3071
3008
  const {
3072
3009
  getPrefixCls: t
3073
- } = ee(), a = t({
3010
+ } = ee(), n = t({
3074
3011
  suffixCls: "setting-drawer",
3075
3012
  isPor: !0
3076
3013
  }), {
3077
3014
  wrapSSR: o,
3078
3015
  hashId: i
3079
- } = Q("ProSettingDraw", [ba], a), u = Re(!1), [m, c] = pe(!1), [S, p] = pe(!1), [B, y] = pe(!1), F = g(() => ot(le(e.settings, Pe))), [l, r] = rn(() => ot(le(e.settings, Pe)), {
3080
- value: F,
3016
+ } = te("ProSettingDraw", [on], n), u = Oe(!1), [f, c] = pe(!1), [w, v] = pe(!1), [O, h] = pe(!1), T = p(() => nt(le(e.settings, $e))), [l, r] = ia(() => nt(le(e.settings, $e)), {
3017
+ value: T,
3081
3018
  onChange: e.onChange
3082
- }), M = g(() => e.colorList && nn(e.colorList) ? e.colorList : []), R = g(() => Sn(K(l))), {
3083
- copy: w,
3084
- copied: h,
3085
- isSupported: b
3086
- } = un();
3087
- de(m, () => {
3019
+ }), I = p(() => e.colorList && ta(e.colorList) ? e.colorList : []), k = p(() => Ca(K(l))), {
3020
+ copy: x,
3021
+ copied: y,
3022
+ isSupported: g
3023
+ } = ra();
3024
+ ue(f, () => {
3088
3025
  u.value || (u.value = !0);
3089
3026
  });
3090
- const x = (f, C, $) => {
3091
- var N, H;
3092
- const O = ["header", "sider"], L = {};
3093
- if ($ && O.includes(f)) {
3094
- L[f] = {}, L[f][$] = C, e.onChangeLayout && e.onChangeLayout(le(L, O));
3027
+ const C = (d, S, R) => {
3028
+ var H, N;
3029
+ const M = ["header", "sider"], L = {};
3030
+ if (R && M.includes(d)) {
3031
+ L[d] = {}, L[d][R] = S, e.onChangeLayout && e.onChangeLayout(le(L, M));
3095
3032
  return;
3096
3033
  } else
3097
- f === "animate" ? (L[f] = {}, L[f][$] = C, $ === "name" && (L[f].direction = (H = (N = Ia.find((P) => P.name === C)) == null ? void 0 : N.directions) == null ? void 0 : H[0])) : L[f] = C;
3098
- if (f === "colorWeak") {
3034
+ d === "animate" ? (L[d] = {}, L[d][R] = S, R === "name" && (L[d].direction = (N = (H = mn.find((P) => P.name === S)) == null ? void 0 : H.directions) == null ? void 0 : N[0])) : L[d] = S;
3035
+ if (d === "colorWeak") {
3099
3036
  const P = document.querySelector("body");
3100
- P && (P.dataset.prosettingdrawer = C === !0 ? P.style.filter : P.dataset.prosettingdrawer || "none", C === !0 && (P.dataset.prosettingdrawer = P.style.filter), P.style.filter = C === !0 ? "invert(80%)" : P.dataset.prosettingdrawer || "none", C || delete P.dataset.prosettingdrawer);
3037
+ P && (P.dataset.prosettingdrawer = S === !0 ? P.style.filter : P.dataset.prosettingdrawer || "none", S === !0 && (P.dataset.prosettingdrawer = P.style.filter), P.style.filter = S === !0 ? "invert(80%)" : P.dataset.prosettingdrawer || "none", S || delete P.dataset.prosettingdrawer);
3101
3038
  }
3102
- r(on(K(l), {
3103
- ...wn(Ve(L, O))
3039
+ r(na(K(l), {
3040
+ ...xa(He(L, M))
3104
3041
  }));
3105
- }, I = () => {
3106
- b.value && w(JSON.stringify(K(l)));
3042
+ }, $ = () => {
3043
+ g.value && x(JSON.stringify(K(l)));
3107
3044
  };
3108
- return de(h, (f) => {
3109
- f && Ht.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3110
- }), () => o(n(be, {
3045
+ return ue(y, (d) => {
3046
+ d && zt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3047
+ }), () => o(a(be, {
3111
3048
  width: 300,
3112
3049
  closable: !1,
3113
- open: m.value,
3114
- rootClassName: `${a} ${i.value} ${m.value && `${a}-show`} ${!u.value && `${a}-trantion-none`}`,
3050
+ open: f.value,
3051
+ rootClassName: `${n} ${i.value} ${f.value && `${n}-show`} ${!u.value && `${n}-trantion-none`}`,
3115
3052
  placement: "right",
3116
3053
  rootStyle: {
3117
3054
  zIndex: 999
@@ -3120,158 +3057,158 @@ const {
3120
3057
  padding: 0
3121
3058
  },
3122
3059
  onClose: () => c(!1),
3123
- handle: n("div", {
3124
- class: [`${a}-handle`, i.value],
3125
- onClick: () => c(!m.value)
3126
- }, [m.value ? n(ut, {
3060
+ handle: a("div", {
3061
+ class: [`${n}-handle`, i.value],
3062
+ onClick: () => c(!f.value)
3063
+ }, [f.value ? a(st, {
3127
3064
  style: at
3128
- }, null) : n(_t, {
3065
+ }, null) : a(Yt, {
3129
3066
  style: at
3130
3067
  }, null)])
3131
3068
  }, {
3132
- default: () => [n("div", {
3133
- class: [`${a}-wrapper`, i.value]
3134
- }, [n(dn, null, {
3135
- default: () => [n("div", {
3136
- class: [`${a}-content`, i.value]
3137
- }, [n(ye, {
3138
- prefixCls: a,
3069
+ default: () => [a("div", {
3070
+ class: [`${n}-wrapper`, i.value]
3071
+ }, [a(sa, null, {
3072
+ default: () => [a("div", {
3073
+ class: [`${n}-content`, i.value]
3074
+ }, [a(ye, {
3075
+ prefixCls: n,
3139
3076
  hashId: i.value,
3140
3077
  title: "整体风格设置"
3141
3078
  }, {
3142
- default: () => [n(et, {
3079
+ default: () => [a(Qe, {
3143
3080
  hashId: i.value,
3144
- prefixCls: a,
3145
- list: Rt,
3081
+ prefixCls: n,
3082
+ list: Mt,
3146
3083
  value: l.value.theme,
3147
3084
  configType: "theme",
3148
3085
  key: "navTheme",
3149
- onChange: (f) => x("theme", f)
3086
+ onChange: (d) => C("theme", d)
3150
3087
  }, null)]
3151
- }), n(ye, {
3088
+ }), a(ye, {
3152
3089
  hashId: i.value,
3153
- title: n("span", null, [ne("主题色 "), n("a", {
3090
+ title: a("span", null, [ae("主题色 "), a("a", {
3154
3091
  style: {
3155
3092
  fontSize: "12px"
3156
3093
  },
3157
- onClick: () => p(!0)
3158
- }, [ne("更多配置")])]),
3159
- prefixCls: a
3094
+ onClick: () => v(!0)
3095
+ }, [ae("更多配置")])]),
3096
+ prefixCls: n
3160
3097
  }, {
3161
- default: () => [n(pa, {
3098
+ default: () => [a(ln, {
3162
3099
  hashId: i.value,
3163
- prefixCls: a,
3164
- colorList: M.value,
3100
+ prefixCls: n,
3101
+ colorList: I.value,
3165
3102
  settingValue: l.value,
3166
- onChange: (f, C) => x(C || "primaryColor", f)
3103
+ onChange: (d, S) => C(S || "primaryColor", d)
3167
3104
  }, null)]
3168
- }), !e.themeOnly && n(Z, null, [n(Me, null, null), n(ye, {
3105
+ }), !e.themeOnly && a(Q, null, [a(Me, null, null), a(ye, {
3169
3106
  hashId: i.value,
3170
- prefixCls: a,
3107
+ prefixCls: n,
3171
3108
  title: "导航模式"
3172
3109
  }, {
3173
- default: () => [n(et, {
3174
- prefixCls: a,
3110
+ default: () => [a(Qe, {
3111
+ prefixCls: n,
3175
3112
  value: K(l).layout,
3176
3113
  key: "layout",
3177
3114
  hashId: i.value,
3178
3115
  configType: "layout",
3179
- list: Bt,
3180
- onChange: (f) => x("layout", f)
3116
+ list: Ot,
3117
+ onChange: (d) => C("layout", d)
3181
3118
  }, null)]
3182
- }), Ma.map(({
3183
- label: f,
3184
- title: C
3185
- }) => n(he, {
3186
- label: C,
3187
- disabled: K(R)[f],
3188
- value: K(l)[f],
3189
- prefixCls: a,
3119
+ }), fn.map(({
3120
+ label: d,
3121
+ title: S
3122
+ }) => a(he, {
3123
+ label: S,
3124
+ disabled: K(k)[d],
3125
+ value: K(l)[d],
3126
+ prefixCls: n,
3190
3127
  hashId: i.value,
3191
- valueKey: f,
3192
- onChange: ($, O) => x($, O)
3193
- }, null)), n(Me, null, null), n(ye, {
3128
+ valueKey: d,
3129
+ onChange: (R, M) => C(R, M)
3130
+ }, null)), a(Me, null, null), a(ye, {
3194
3131
  hashId: i.value,
3195
- prefixCls: a,
3196
- title: n("span", null, [ne("其他设置 "), n("a", {
3132
+ prefixCls: n,
3133
+ title: a("span", null, [ae("其他设置 "), a("a", {
3197
3134
  style: {
3198
3135
  fontSize: "12px"
3199
3136
  },
3200
- onClick: () => y(!0)
3201
- }, [ne("更多配置")])])
3137
+ onClick: () => h(!0)
3138
+ }, [ae("更多配置")])])
3202
3139
  }, {
3203
- default: () => [Oa.map(({
3204
- label: f,
3205
- title: C
3206
- }) => n(he, {
3207
- label: C,
3208
- disabled: K(R)[f],
3209
- value: K(l)[f],
3210
- prefixCls: a,
3140
+ default: () => [gn.map(({
3141
+ label: d,
3142
+ title: S
3143
+ }) => a(he, {
3144
+ label: S,
3145
+ disabled: K(k)[d],
3146
+ value: K(l)[d],
3147
+ prefixCls: n,
3211
3148
  hashId: i.value,
3212
- valueKey: f,
3213
- onChange: ($, O) => x($, O)
3214
- }, null)), e.weakmode && n(he, {
3149
+ valueKey: d,
3150
+ onChange: (R, M) => C(R, M)
3151
+ }, null)), e.weakmode && a(he, {
3215
3152
  label: "色弱模式",
3216
3153
  value: K(l).colorWeak,
3217
- prefixCls: a,
3154
+ prefixCls: n,
3218
3155
  hashId: i.value,
3219
3156
  valueKey: "colorWeak",
3220
- onChange: (f, C) => x(f, C)
3221
- }, null), e.showProgress && n(he, {
3157
+ onChange: (d, S) => C(d, S)
3158
+ }, null), e.showProgress && a(he, {
3222
3159
  label: "顶部进度条",
3223
3160
  value: K(l).showProgressBar,
3224
- prefixCls: a,
3161
+ prefixCls: n,
3225
3162
  hashId: i.value,
3226
3163
  valueKey: "showProgressBar",
3227
- onChange: (f, C) => x(f, C)
3164
+ onChange: (d, S) => C(d, S)
3228
3165
  }, null)]
3229
- })]), e.hideHintAlert && e.hideCopyButton ? null : n(Me, null, null), e.hideHintAlert ? null : n(Vt, {
3166
+ })]), e.hideHintAlert && e.hideCopyButton ? null : a(Me, null, null), e.hideHintAlert ? null : a(Ht, {
3230
3167
  type: "warning",
3231
3168
  message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
3232
- icon: n(Gt, null, null),
3169
+ icon: a(_t, null, null),
3233
3170
  showIcon: !0,
3234
3171
  style: {
3235
3172
  marginBottom: "16px"
3236
3173
  }
3237
- }, null), e.hideCopyButton ? null : n(jt, {
3238
- onClick: () => I(),
3174
+ }, null), e.hideCopyButton ? null : a(Vt, {
3175
+ onClick: () => $(),
3239
3176
  block: !0
3240
3177
  }, {
3241
- default: () => [n(qt, null, null), ne("拷贝设置")]
3178
+ default: () => [a(Gt, null, null), ae("拷贝设置")]
3242
3179
  })])]
3243
- })]), n(be, {
3180
+ })]), a(be, {
3244
3181
  width: 320,
3245
3182
  closable: !1,
3246
3183
  placement: "right",
3247
- open: S.value,
3184
+ open: w.value,
3248
3185
  bodyStyle: {
3249
3186
  padding: 0
3250
3187
  },
3251
- onClose: () => p(!1)
3188
+ onClose: () => v(!1)
3252
3189
  }, {
3253
- default: () => [n(Ca, {
3190
+ default: () => [a(dn, {
3254
3191
  settingValue: l.value,
3255
- onChange: (f, C, $) => x(C || "primaryColor", f, $)
3192
+ onChange: (d, S, R) => C(S || "primaryColor", d, R)
3256
3193
  }, null)]
3257
- }), n(be, {
3194
+ }), a(be, {
3258
3195
  width: 320,
3259
3196
  closable: !1,
3260
3197
  placement: "right",
3261
- open: B.value,
3198
+ open: O.value,
3262
3199
  bodyStyle: {
3263
3200
  padding: 0
3264
3201
  },
3265
- onClose: () => y(!1)
3202
+ onClose: () => h(!1)
3266
3203
  }, {
3267
- default: () => [n(Sa, {
3204
+ default: () => [a(cn, {
3268
3205
  settingValue: l.value,
3269
- onChange: (f, C, $) => x(f, $, C)
3206
+ onChange: (d, S, R) => C(d, R, S)
3270
3207
  }, null)]
3271
3208
  })]
3272
3209
  }));
3273
3210
  }
3274
- }), Ra = new s("backInLeft", {
3211
+ }), hn = new s("backInLeft", {
3275
3212
  "0%": {
3276
3213
  opacity: 0.7,
3277
3214
  transform: "translateX(-2000px) scale(0.7)"
@@ -3284,7 +3221,7 @@ const {
3284
3221
  opacity: 1,
3285
3222
  transform: "scale(1)"
3286
3223
  }
3287
- }), Ba = new s("backInRight", {
3224
+ }), yn = new s("backInRight", {
3288
3225
  "0%": {
3289
3226
  opacity: 0.7,
3290
3227
  transform: "translateX(2000px) scale(0.7)"
@@ -3297,7 +3234,7 @@ const {
3297
3234
  opacity: 1,
3298
3235
  transform: "scale(1)"
3299
3236
  }
3300
- }), ka = new s("backInUp", {
3237
+ }), bn = new s("backInUp", {
3301
3238
  "0%": {
3302
3239
  opacity: 0.7,
3303
3240
  transform: "translateY(1200px) scale(0.7)"
@@ -3310,7 +3247,7 @@ const {
3310
3247
  opacity: 1,
3311
3248
  transform: "scale(1)"
3312
3249
  }
3313
- }), $a = new s("backInDown", {
3250
+ }), pn = new s("backInDown", {
3314
3251
  "0%": {
3315
3252
  opacity: 0.7,
3316
3253
  transform: "translateY(-1200px) scale(0.7)"
@@ -3323,7 +3260,7 @@ const {
3323
3260
  opacity: 1,
3324
3261
  transform: "scale(1)"
3325
3262
  }
3326
- }), Pa = new s("backOutLeft", {
3263
+ }), vn = new s("backOutLeft", {
3327
3264
  "0%": {
3328
3265
  opacity: 1,
3329
3266
  transform: "scale(1)"
@@ -3336,7 +3273,7 @@ const {
3336
3273
  opacity: 0.7,
3337
3274
  transform: "translateX(-2000px) scale(0.7)"
3338
3275
  }
3339
- }), Fa = new s("backOutRight", {
3276
+ }), xn = new s("backOutRight", {
3340
3277
  "0%": {
3341
3278
  opacity: 1,
3342
3279
  transform: "scale(1)"
@@ -3349,7 +3286,7 @@ const {
3349
3286
  opacity: 0.7,
3350
3287
  transform: "translateX(2000px) scale(0.7)"
3351
3288
  }
3352
- }), Ta = new s("backOutUp", {
3289
+ }), Cn = new s("backOutUp", {
3353
3290
  "0%": {
3354
3291
  opacity: 1,
3355
3292
  transform: "scale(1)"
@@ -3362,7 +3299,7 @@ const {
3362
3299
  opacity: 0.7,
3363
3300
  transform: "translateY(-700px) scale(0.7)"
3364
3301
  }
3365
- }), La = new s("backOutDown", {
3302
+ }), wn = new s("backOutDown", {
3366
3303
  "0%": {
3367
3304
  opacity: 1,
3368
3305
  transform: "scale(1)"
@@ -3375,41 +3312,41 @@ const {
3375
3312
  opacity: 0.7,
3376
3313
  transform: "translateY(700px) scale(0.7)"
3377
3314
  }
3378
- }), Da = () => ({
3315
+ }), Sn = () => ({
3379
3316
  "&.backInLeft": {
3380
3317
  animationFillMode: "both",
3381
- animationName: Ra
3318
+ animationName: hn
3382
3319
  },
3383
3320
  "&.backInRight": {
3384
3321
  animationFillMode: "both",
3385
- animationName: Ba
3322
+ animationName: yn
3386
3323
  },
3387
3324
  "&.backInUp": {
3388
3325
  animationFillMode: "both",
3389
- animationName: ka
3326
+ animationName: bn
3390
3327
  },
3391
3328
  "&.backInDown": {
3392
3329
  animationFillMode: "both",
3393
- animationName: $a
3330
+ animationName: pn
3394
3331
  }
3395
- }), Na = () => ({
3332
+ }), In = () => ({
3396
3333
  "&.backOutLeft": {
3397
3334
  animationFillMode: "both",
3398
- animationName: Pa
3335
+ animationName: vn
3399
3336
  },
3400
3337
  "&.backOutRight": {
3401
3338
  animationFillMode: "both",
3402
- animationName: Fa
3339
+ animationName: xn
3403
3340
  },
3404
3341
  "&.backOutUp": {
3405
3342
  animationFillMode: "both",
3406
- animationName: Ta
3343
+ animationName: Cn
3407
3344
  },
3408
3345
  "&.backOutDown": {
3409
3346
  animationFillMode: "both",
3410
- animationName: La
3347
+ animationName: wn
3411
3348
  }
3412
- }), za = new s("bounceIn", {
3349
+ }), Mn = new s("bounceIn", {
3413
3350
  "from,20%,40%,60%,80%,to": {
3414
3351
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3415
3352
  },
@@ -3433,7 +3370,7 @@ const {
3433
3370
  opacity: 1,
3434
3371
  transform: "scale3d(1, 1, 1)"
3435
3372
  }
3436
- }), Ha = new s("bounceInLeft", {
3373
+ }), On = new s("bounceInLeft", {
3437
3374
  "from,60%,75%,90%,to": {
3438
3375
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3439
3376
  },
@@ -3454,7 +3391,7 @@ const {
3454
3391
  to: {
3455
3392
  transform: "translate3d(0, 0, 0)"
3456
3393
  }
3457
- }), Va = new s("bounceInRight", {
3394
+ }), Rn = new s("bounceInRight", {
3458
3395
  "from,60%,75%,90%,to": {
3459
3396
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3460
3397
  },
@@ -3475,7 +3412,7 @@ const {
3475
3412
  to: {
3476
3413
  transform: "translate3d(0, 0, 0)"
3477
3414
  }
3478
- }), ja = new s("bounceInDown", {
3415
+ }), kn = new s("bounceInDown", {
3479
3416
  "from,60%,75%,90%,to": {
3480
3417
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3481
3418
  },
@@ -3496,7 +3433,7 @@ const {
3496
3433
  to: {
3497
3434
  transform: "translate3d(0, 0, 0)"
3498
3435
  }
3499
- }), Wa = new s("bounceInUp", {
3436
+ }), Bn = new s("bounceInUp", {
3500
3437
  "from,60%,75%,90%,to": {
3501
3438
  animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
3502
3439
  },
@@ -3517,7 +3454,7 @@ const {
3517
3454
  to: {
3518
3455
  transform: "translate3d(0, 0, 0)"
3519
3456
  }
3520
- }), Aa = new s("bounceOut", {
3457
+ }), $n = new s("bounceOut", {
3521
3458
  "20%": {
3522
3459
  transform: "scale3d(0.9, 0.9, 0.9)"
3523
3460
  },
@@ -3531,7 +3468,7 @@ const {
3531
3468
  opacity: 0,
3532
3469
  transform: "scale3d(0.3, 0.3, 0.3)"
3533
3470
  }
3534
- }), Ka = new s("bounceOutLeft", {
3471
+ }), Pn = new s("bounceOutLeft", {
3535
3472
  "20%": {
3536
3473
  opacity: 1,
3537
3474
  transform: "translate3d(20px, 0, 0) scaleX(0.9)"
@@ -3540,7 +3477,7 @@ const {
3540
3477
  opacity: 0,
3541
3478
  transform: "translate3d(-2000px, 0, 0) scaleX(2)"
3542
3479
  }
3543
- }), Ua = new s("bounceOutRight", {
3480
+ }), Fn = new s("bounceOutRight", {
3544
3481
  "20%": {
3545
3482
  opacity: 1,
3546
3483
  transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
@@ -3549,7 +3486,7 @@ const {
3549
3486
  opacity: 0,
3550
3487
  transform: "translate3d(2000px, 0, 0) scaleX(2)"
3551
3488
  }
3552
- }), Ea = new s("bounceOutDown", {
3489
+ }), Tn = new s("bounceOutDown", {
3553
3490
  "20%": {
3554
3491
  transform: "translate3d(0, 10px, 0) scaleY(0.985)"
3555
3492
  },
@@ -3561,7 +3498,7 @@ const {
3561
3498
  opacity: 0,
3562
3499
  transform: "translate3d(0, 2000px, 0) scaleY(3)"
3563
3500
  }
3564
- }), Xa = new s("bounceOutUp", {
3501
+ }), Ln = new s("bounceOutUp", {
3565
3502
  "20%": {
3566
3503
  transform: "translate3d(0, -10px, 0) scaleY(0.985)"
3567
3504
  },
@@ -3573,58 +3510,58 @@ const {
3573
3510
  opacity: 0,
3574
3511
  transform: "translate3d(0, -2000px, 0) scaleY(3)"
3575
3512
  }
3576
- }), Ya = () => ({
3513
+ }), Dn = () => ({
3577
3514
  "&.bounceIn": {
3578
3515
  animationFillMode: "both",
3579
3516
  animationDuration: `${0.3 * 0.75}s !important`,
3580
- animationName: za
3517
+ animationName: Mn
3581
3518
  },
3582
3519
  "&.bounceInLeft": {
3583
3520
  animationFillMode: "both",
3584
- animationName: Ha
3521
+ animationName: On
3585
3522
  },
3586
3523
  "&.bounceInRight": {
3587
3524
  animationFillMode: "both",
3588
- animationName: Va
3525
+ animationName: Rn
3589
3526
  },
3590
3527
  "&.bounceInDown": {
3591
3528
  animationFillMode: "both",
3592
- animationName: ja
3529
+ animationName: kn
3593
3530
  },
3594
3531
  "&.bounceInUp": {
3595
3532
  animationFillMode: "both",
3596
- animationName: Wa
3533
+ animationName: Bn
3597
3534
  }
3598
- }), _a = () => ({
3535
+ }), Nn = () => ({
3599
3536
  "&.bounceOut": {
3600
3537
  animationFillMode: "both",
3601
3538
  animationDuration: `${0.3 * 0.75}s !important`,
3602
- animationName: Aa
3539
+ animationName: $n
3603
3540
  },
3604
3541
  "&.bounceOutLeft": {
3605
3542
  animationFillMode: "both",
3606
- animationName: Ka
3543
+ animationName: Pn
3607
3544
  },
3608
3545
  "&.bounceOutRight": {
3609
3546
  animationFillMode: "both",
3610
- animationName: Ua
3547
+ animationName: Fn
3611
3548
  },
3612
3549
  "&.bounceOutDown": {
3613
3550
  animationFillMode: "both",
3614
- animationName: Ea
3551
+ animationName: Tn
3615
3552
  },
3616
3553
  "&.bounceOutUp": {
3617
3554
  animationFillMode: "both",
3618
- animationName: Xa
3555
+ animationName: Ln
3619
3556
  }
3620
- }), Ga = new s("fadeIn", {
3557
+ }), zn = new s("fadeIn", {
3621
3558
  from: {
3622
3559
  opacity: 0
3623
3560
  },
3624
3561
  to: {
3625
3562
  opacity: 1
3626
3563
  }
3627
- }), qa = new s("fadeInLeft", {
3564
+ }), Hn = new s("fadeInLeft", {
3628
3565
  from: {
3629
3566
  opacity: 0,
3630
3567
  transform: "translate3d(-100%, 0, 0)"
@@ -3633,7 +3570,7 @@ const {
3633
3570
  opacity: 1,
3634
3571
  transform: "translate3d(0, 0, 0)"
3635
3572
  }
3636
- }), Za = new s("fadeInRight", {
3573
+ }), Vn = new s("fadeInRight", {
3637
3574
  from: {
3638
3575
  opacity: 0,
3639
3576
  transform: "translate3d(100%, 0, 0)"
@@ -3642,7 +3579,7 @@ const {
3642
3579
  opacity: 1,
3643
3580
  transform: "translate3d(0, 0, 0)"
3644
3581
  }
3645
- }), Ja = new s("fadeInDown", {
3582
+ }), jn = new s("fadeInDown", {
3646
3583
  from: {
3647
3584
  opacity: 0,
3648
3585
  transform: "translate3d(0, -100%, 0)"
@@ -3651,7 +3588,7 @@ const {
3651
3588
  opacity: 1,
3652
3589
  transform: "translate3d(0, 0, 0)"
3653
3590
  }
3654
- }), Qa = new s("fadeInUp", {
3591
+ }), Wn = new s("fadeInUp", {
3655
3592
  from: {
3656
3593
  opacity: 0,
3657
3594
  transform: "translate3d(0, 100%, 0)"
@@ -3660,7 +3597,7 @@ const {
3660
3597
  opacity: 1,
3661
3598
  transform: "translate3d(0, 0, 0)"
3662
3599
  }
3663
- }), eo = new s("fadeInDownBig", {
3600
+ }), An = new s("fadeInDownBig", {
3664
3601
  from: {
3665
3602
  opacity: 0,
3666
3603
  transform: "translate3d(0, -2000px, 0)"
@@ -3669,7 +3606,7 @@ const {
3669
3606
  opacity: 1,
3670
3607
  transform: "translate3d(0, 0, 0)"
3671
3608
  }
3672
- }), to = new s("fadeInUpBig", {
3609
+ }), Kn = new s("fadeInUpBig", {
3673
3610
  from: {
3674
3611
  opacity: 0,
3675
3612
  transform: "translate3d(0, 2000px, 0)"
@@ -3678,7 +3615,7 @@ const {
3678
3615
  opacity: 1,
3679
3616
  transform: "translate3d(0, 0, 0)"
3680
3617
  }
3681
- }), no = new s("fadeInLeftBig", {
3618
+ }), Un = new s("fadeInLeftBig", {
3682
3619
  from: {
3683
3620
  opacity: 0,
3684
3621
  transform: "translate3d(-2000px, 0, 0)"
@@ -3687,7 +3624,7 @@ const {
3687
3624
  opacity: 1,
3688
3625
  transform: "translate3d(0, 0, 0)"
3689
3626
  }
3690
- }), ao = new s("fadeInRightBig", {
3627
+ }), En = new s("fadeInRightBig", {
3691
3628
  from: {
3692
3629
  opacity: 0,
3693
3630
  transform: "translate3d(2000px, 0, 0)"
@@ -3696,7 +3633,7 @@ const {
3696
3633
  opacity: 1,
3697
3634
  transform: "translate3d(0, 0, 0)"
3698
3635
  }
3699
- }), oo = new s("fadeInTopLeft", {
3636
+ }), Xn = new s("fadeInTopLeft", {
3700
3637
  from: {
3701
3638
  opacity: 0,
3702
3639
  transform: "translate3d(-100%, -100%, 0)"
@@ -3705,7 +3642,7 @@ const {
3705
3642
  opacity: 1,
3706
3643
  transform: "translate3d(0, 0, 0)"
3707
3644
  }
3708
- }), io = new s("fadeInBottomRight", {
3645
+ }), Yn = new s("fadeInBottomRight", {
3709
3646
  from: {
3710
3647
  opacity: 0,
3711
3648
  transform: "translate3d(100%, 100%, 0)"
@@ -3714,7 +3651,7 @@ const {
3714
3651
  opacity: 1,
3715
3652
  transform: "translate3d(0, 0, 0)"
3716
3653
  }
3717
- }), lo = new s("fadeInTopRight", {
3654
+ }), _n = new s("fadeInTopRight", {
3718
3655
  from: {
3719
3656
  opacity: 0,
3720
3657
  transform: "translate3d(100%, -100%, 0)"
@@ -3723,7 +3660,7 @@ const {
3723
3660
  opacity: 1,
3724
3661
  transform: "translate3d(0, 0, 0)"
3725
3662
  }
3726
- }), ro = new s("fadeInBottomLeft", {
3663
+ }), Gn = new s("fadeInBottomLeft", {
3727
3664
  from: {
3728
3665
  opacity: 0,
3729
3666
  transform: "translate3d(-100%, 100%, 0)"
@@ -3732,14 +3669,14 @@ const {
3732
3669
  opacity: 1,
3733
3670
  transform: "translate3d(0, 0, 0)"
3734
3671
  }
3735
- }), so = new s("fadeOut", {
3672
+ }), qn = new s("fadeOut", {
3736
3673
  from: {
3737
3674
  opacity: 1
3738
3675
  },
3739
3676
  to: {
3740
3677
  opacity: 0
3741
3678
  }
3742
- }), uo = new s("fadeOutLeft", {
3679
+ }), Zn = new s("fadeOutLeft", {
3743
3680
  from: {
3744
3681
  opacity: 1
3745
3682
  },
@@ -3747,7 +3684,7 @@ const {
3747
3684
  opacity: 0,
3748
3685
  transform: "translate3d(-100%, 0, 0)"
3749
3686
  }
3750
- }), co = new s("fadeOutRight", {
3687
+ }), Jn = new s("fadeOutRight", {
3751
3688
  from: {
3752
3689
  opacity: 1
3753
3690
  },
@@ -3755,7 +3692,7 @@ const {
3755
3692
  opacity: 0,
3756
3693
  transform: "translate3d(100%, 0, 0)"
3757
3694
  }
3758
- }), mo = new s("fadeOutDown", {
3695
+ }), Qn = new s("fadeOutDown", {
3759
3696
  from: {
3760
3697
  opacity: 1
3761
3698
  },
@@ -3763,7 +3700,7 @@ const {
3763
3700
  opacity: 0,
3764
3701
  transform: "translate3d(0, 100%, 0)"
3765
3702
  }
3766
- }), fo = new s("fadeOutUp", {
3703
+ }), eo = new s("fadeOutUp", {
3767
3704
  from: {
3768
3705
  opacity: 1
3769
3706
  },
@@ -3771,7 +3708,7 @@ const {
3771
3708
  opacity: 0,
3772
3709
  transform: "translate3d(0, -100%, 0)"
3773
3710
  }
3774
- }), go = new s("fadeOutDownBig", {
3711
+ }), to = new s("fadeOutDownBig", {
3775
3712
  from: {
3776
3713
  opacity: 1
3777
3714
  },
@@ -3779,7 +3716,7 @@ const {
3779
3716
  opacity: 0,
3780
3717
  transform: "translate3d(0, 2000px, 0)"
3781
3718
  }
3782
- }), ho = new s("fadeOutUpBig", {
3719
+ }), ao = new s("fadeOutUpBig", {
3783
3720
  from: {
3784
3721
  opacity: 1
3785
3722
  },
@@ -3787,7 +3724,7 @@ const {
3787
3724
  opacity: 0,
3788
3725
  transform: "translate3d(0, -2000px, 0)"
3789
3726
  }
3790
- }), yo = new s("fadeOutLeftBig", {
3727
+ }), no = new s("fadeOutLeftBig", {
3791
3728
  from: {
3792
3729
  opacity: 1
3793
3730
  },
@@ -3795,7 +3732,7 @@ const {
3795
3732
  opacity: 0,
3796
3733
  transform: "translate3d(-2000px, 0, 0)"
3797
3734
  }
3798
- }), bo = new s("fadeOutRightBig", {
3735
+ }), oo = new s("fadeOutRightBig", {
3799
3736
  from: {
3800
3737
  opacity: 1
3801
3738
  },
@@ -3803,7 +3740,7 @@ const {
3803
3740
  opacity: 0,
3804
3741
  transform: "translate3d(2000px, 0, 0)"
3805
3742
  }
3806
- }), po = new s("fadeOutTopLeft", {
3743
+ }), io = new s("fadeOutTopLeft", {
3807
3744
  from: {
3808
3745
  opacity: 1,
3809
3746
  transform: "translate3d(0, 0, 0)"
@@ -3812,7 +3749,7 @@ const {
3812
3749
  opacity: 0,
3813
3750
  transform: "translate3d(-100%, -100%, 0)"
3814
3751
  }
3815
- }), vo = new s("fadeOutBottomRight", {
3752
+ }), lo = new s("fadeOutBottomRight", {
3816
3753
  from: {
3817
3754
  opacity: 1,
3818
3755
  transform: "translate3d(0, 0, 0)"
@@ -3821,7 +3758,7 @@ const {
3821
3758
  opacity: 0,
3822
3759
  transform: "translate3d(100%, 100%, 0)"
3823
3760
  }
3824
- }), xo = new s("fadeOutTopRight", {
3761
+ }), ro = new s("fadeOutTopRight", {
3825
3762
  from: {
3826
3763
  opacity: 1,
3827
3764
  transform: "translate3d(0, 0, 0)"
@@ -3830,7 +3767,7 @@ const {
3830
3767
  opacity: 0,
3831
3768
  transform: "translate3d(100%, -100%, 0)"
3832
3769
  }
3833
- }), Co = new s("fadeOutBottomLeft", {
3770
+ }), so = new s("fadeOutBottomLeft", {
3834
3771
  from: {
3835
3772
  opacity: 1,
3836
3773
  transform: "translate3d(0, 0, 0)"
@@ -3839,113 +3776,113 @@ const {
3839
3776
  opacity: 0,
3840
3777
  transform: "translate3d(-100%, 100%, 0)"
3841
3778
  }
3842
- }), wo = () => ({
3779
+ }), uo = () => ({
3843
3780
  "&.fadeIn": {
3844
3781
  animationFillMode: "both",
3845
- animationName: Ga
3782
+ animationName: zn
3846
3783
  },
3847
3784
  "&.fadeInLeft": {
3848
3785
  animationFillMode: "both",
3849
- animationName: qa
3786
+ animationName: Hn
3850
3787
  },
3851
3788
  "&.fadeInRight": {
3852
3789
  animationFillMode: "both",
3853
- animationName: Za
3790
+ animationName: Vn
3854
3791
  },
3855
3792
  "&.fadeInDown": {
3856
3793
  animationFillMode: "both",
3857
- animationName: Ja
3794
+ animationName: jn
3858
3795
  },
3859
3796
  "&.fadeInUp": {
3860
3797
  animationFillMode: "both",
3861
- animationName: Qa
3798
+ animationName: Wn
3862
3799
  },
3863
3800
  "&.fadeInLeftBig": {
3864
3801
  animationFillMode: "both",
3865
- animationName: no
3802
+ animationName: Un
3866
3803
  },
3867
3804
  "&.fadeInRightBig": {
3868
3805
  animationFillMode: "both",
3869
- animationName: ao
3806
+ animationName: En
3870
3807
  },
3871
3808
  "&.fadeInUpBig": {
3872
3809
  animationFillMode: "both",
3873
- animationName: to
3810
+ animationName: Kn
3874
3811
  },
3875
3812
  "&.fadeInDownBig": {
3876
3813
  animationFillMode: "both",
3877
- animationName: eo
3814
+ animationName: An
3878
3815
  },
3879
3816
  "&.fadeInTopLeft": {
3880
3817
  animationFillMode: "both",
3881
- animationName: oo
3818
+ animationName: Xn
3882
3819
  },
3883
3820
  "&.fadeInBottomRight": {
3884
3821
  animationFillMode: "both",
3885
- animationName: io
3822
+ animationName: Yn
3886
3823
  },
3887
3824
  "&.fadeInTopRight": {
3888
3825
  animationFillMode: "both",
3889
- animationName: lo
3826
+ animationName: _n
3890
3827
  },
3891
3828
  "&.fadeInBottomLeft": {
3892
3829
  animationFillMode: "both",
3893
- animationName: ro
3830
+ animationName: Gn
3894
3831
  }
3895
- }), So = () => ({
3832
+ }), co = () => ({
3896
3833
  "&.fadeOut": {
3897
3834
  animationFillMode: "both",
3898
- animationName: so
3835
+ animationName: qn
3899
3836
  },
3900
3837
  "&.fadeOutLeft": {
3901
3838
  animationFillMode: "both",
3902
- animationName: uo
3839
+ animationName: Zn
3903
3840
  },
3904
3841
  "&.fadeOutRight": {
3905
3842
  animationFillMode: "both",
3906
- animationName: co
3843
+ animationName: Jn
3907
3844
  },
3908
3845
  "&.fadeOutDown": {
3909
3846
  animationFillMode: "both",
3910
- animationName: mo
3847
+ animationName: Qn
3911
3848
  },
3912
3849
  "&.fadeOutUp": {
3913
3850
  animationFillMode: "both",
3914
- animationName: fo
3851
+ animationName: eo
3915
3852
  },
3916
3853
  "&.fadeOutDownBig": {
3917
3854
  animationFillMode: "both",
3918
- animationName: go
3855
+ animationName: to
3919
3856
  },
3920
3857
  "&.fadeOutUpBig": {
3921
3858
  animationFillMode: "both",
3922
- animationName: ho
3859
+ animationName: ao
3923
3860
  },
3924
3861
  "&.fadeOutLeftBig": {
3925
3862
  animationFillMode: "both",
3926
- animationName: yo
3863
+ animationName: no
3927
3864
  },
3928
3865
  "&.fadeOutRightBig": {
3929
3866
  animationFillMode: "both",
3930
- animationName: bo
3867
+ animationName: oo
3931
3868
  },
3932
3869
  "&.fadeOutTopLeft": {
3933
3870
  animationFillMode: "both",
3934
- animationName: po
3871
+ animationName: io
3935
3872
  },
3936
3873
  "&.fadeOutBottomRight": {
3937
3874
  animationFillMode: "both",
3938
- animationName: vo
3875
+ animationName: lo
3939
3876
  },
3940
3877
  "&.fadeOutTopRight": {
3941
3878
  animationFillMode: "both",
3942
- animationName: xo
3879
+ animationName: ro
3943
3880
  },
3944
3881
  "&.fadeOutBottomLeft": {
3945
3882
  animationFillMode: "both",
3946
- animationName: Co
3883
+ animationName: so
3947
3884
  }
3948
- }), Io = new s("flipInX", {
3885
+ }), mo = new s("flipInX", {
3949
3886
  from: {
3950
3887
  opacity: 0,
3951
3888
  animationTimingFunction: "ease-in",
@@ -3965,7 +3902,7 @@ const {
3965
3902
  to: {
3966
3903
  transform: "perspective(400px)"
3967
3904
  }
3968
- }), Mo = new s("flipInY", {
3905
+ }), fo = new s("flipInY", {
3969
3906
  from: {
3970
3907
  opacity: 0,
3971
3908
  animationTimingFunction: "ease-in",
@@ -3985,7 +3922,7 @@ const {
3985
3922
  to: {
3986
3923
  transform: "perspective(400px)"
3987
3924
  }
3988
- }), Oo = new s("flipOutX", {
3925
+ }), go = new s("flipOutX", {
3989
3926
  from: {
3990
3927
  transform: "perspective(400px)"
3991
3928
  },
@@ -3997,7 +3934,7 @@ const {
3997
3934
  opacity: 0,
3998
3935
  transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
3999
3936
  }
4000
- }), Ro = new s("flipOutY", {
3937
+ }), ho = new s("flipOutY", {
4001
3938
  from: {
4002
3939
  transform: "perspective(400px)"
4003
3940
  },
@@ -4009,31 +3946,31 @@ const {
4009
3946
  opacity: 0,
4010
3947
  transform: "perspective(400px) rotate3d(0, 1, 0, 90deg)"
4011
3948
  }
4012
- }), Bo = () => ({
3949
+ }), yo = () => ({
4013
3950
  "&.flipInX": {
4014
3951
  animationFillMode: "both",
4015
3952
  backfaceVisibility: "visible !important",
4016
- animationName: Io
3953
+ animationName: mo
4017
3954
  },
4018
3955
  "&.flipInY": {
4019
3956
  animationFillMode: "both",
4020
3957
  backfaceVisibility: "visible !important",
4021
- animationName: Mo
3958
+ animationName: fo
4022
3959
  }
4023
- }), ko = () => ({
3960
+ }), bo = () => ({
4024
3961
  "&.flipOutX": {
4025
3962
  animationFillMode: "both",
4026
3963
  backfaceVisibility: "visible !important",
4027
3964
  animationDuration: `${0.3 * 0.75}s !important`,
4028
- animationName: Oo
3965
+ animationName: go
4029
3966
  },
4030
3967
  "&.flipOutY": {
4031
3968
  animationFillMode: "both",
4032
3969
  backfaceVisibility: "visible !important",
4033
3970
  animationDuration: `${0.3 * 0.75}s !important`,
4034
- animationName: Ro
3971
+ animationName: ho
4035
3972
  }
4036
- }), $o = new s("lightSpeedInLeft", {
3973
+ }), po = new s("lightSpeedInLeft", {
4037
3974
  from: {
4038
3975
  opacity: 0,
4039
3976
  transform: "translate3d(-100%, 0, 0) skewX(30deg)"
@@ -4048,7 +3985,7 @@ const {
4048
3985
  to: {
4049
3986
  transform: "translate3d(0, 0, 0)"
4050
3987
  }
4051
- }), Po = new s("lightSpeedInRight", {
3988
+ }), vo = new s("lightSpeedInRight", {
4052
3989
  from: {
4053
3990
  opacity: 0,
4054
3991
  transform: "translate3d(100%, 0, 0) skewX(-30deg)"
@@ -4063,7 +4000,7 @@ const {
4063
4000
  to: {
4064
4001
  transform: "translate3d(0, 0, 0)"
4065
4002
  }
4066
- }), Fo = new s("lightSpeedOutLeft", {
4003
+ }), xo = new s("lightSpeedOutLeft", {
4067
4004
  from: {
4068
4005
  opacity: 1
4069
4006
  },
@@ -4071,7 +4008,7 @@ const {
4071
4008
  opacity: 0,
4072
4009
  transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
4073
4010
  }
4074
- }), To = new s("lightSpeedOutRight", {
4011
+ }), Co = new s("lightSpeedOutRight", {
4075
4012
  from: {
4076
4013
  opacity: 1
4077
4014
  },
@@ -4079,29 +4016,29 @@ const {
4079
4016
  opacity: 0,
4080
4017
  transform: "translate3d(100%, 0, 0) skewX(30deg)"
4081
4018
  }
4082
- }), Lo = () => ({
4019
+ }), wo = () => ({
4083
4020
  "&.lightSpeedInLeft": {
4084
4021
  animationFillMode: "both",
4085
4022
  animationTimingFunction: "ease-out",
4086
- animationName: $o
4023
+ animationName: po
4087
4024
  },
4088
4025
  "&.lightSpeedInRight": {
4089
4026
  animationFillMode: "both",
4090
4027
  animationTimingFunction: "ease-out",
4091
- animationName: Po
4028
+ animationName: vo
4092
4029
  }
4093
- }), Do = () => ({
4030
+ }), So = () => ({
4094
4031
  "&.lightSpeedOutLeft": {
4095
4032
  animationFillMode: "both",
4096
4033
  animationTimingFunction: "ease-in",
4097
- animationName: Fo
4034
+ animationName: xo
4098
4035
  },
4099
4036
  "&.lightSpeedOutRight": {
4100
4037
  animationFillMode: "both",
4101
4038
  animationTimingFunction: "ease-in",
4102
- animationName: To
4039
+ animationName: Co
4103
4040
  }
4104
- }), No = new s("rotateIn", {
4041
+ }), Io = new s("rotateIn", {
4105
4042
  from: {
4106
4043
  opacity: 0,
4107
4044
  transform: "rotate3d(0, 0, 1, -200deg)"
@@ -4110,7 +4047,7 @@ const {
4110
4047
  opacity: 1,
4111
4048
  transform: "translate3d(0, 0, 0)"
4112
4049
  }
4113
- }), zo = new s("rotateInDownLeft", {
4050
+ }), Mo = new s("rotateInDownLeft", {
4114
4051
  from: {
4115
4052
  opacity: 0,
4116
4053
  transform: "rotate3d(0, 0, 1, -45deg)"
@@ -4119,7 +4056,7 @@ const {
4119
4056
  opacity: 1,
4120
4057
  transform: "translate3d(0, 0, 0)"
4121
4058
  }
4122
- }), Ho = new s("rotateInDownRight", {
4059
+ }), Oo = new s("rotateInDownRight", {
4123
4060
  from: {
4124
4061
  opacity: 0,
4125
4062
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -4128,7 +4065,7 @@ const {
4128
4065
  opacity: 1,
4129
4066
  transform: "translate3d(0, 0, 0)"
4130
4067
  }
4131
- }), Vo = new s("rotateInUpLeft", {
4068
+ }), Ro = new s("rotateInUpLeft", {
4132
4069
  from: {
4133
4070
  opacity: 0,
4134
4071
  transform: "rotate3d(0, 0, 1, 45deg)"
@@ -4137,7 +4074,7 @@ const {
4137
4074
  opacity: 1,
4138
4075
  transform: "translate3d(0, 0, 0)"
4139
4076
  }
4140
- }), jo = new s("rotateInUpRight", {
4077
+ }), ko = new s("rotateInUpRight", {
4141
4078
  from: {
4142
4079
  opacity: 0,
4143
4080
  transform: "rotate3d(0, 0, 1, -90deg)"
@@ -4146,7 +4083,7 @@ const {
4146
4083
  opacity: 1,
4147
4084
  transform: "translate3d(0, 0, 0)"
4148
4085
  }
4149
- }), Wo = new s("rotateOut", {
4086
+ }), Bo = new s("rotateOut", {
4150
4087
  from: {
4151
4088
  opacity: 1
4152
4089
  },
@@ -4154,7 +4091,7 @@ const {
4154
4091
  opacity: 0,
4155
4092
  transform: "rotate3d(0, 0, 1, 200deg)"
4156
4093
  }
4157
- }), Ao = new s("rotateOutDownLeft", {
4094
+ }), $o = new s("rotateOutDownLeft", {
4158
4095
  from: {
4159
4096
  opacity: 1
4160
4097
  },
@@ -4162,7 +4099,7 @@ const {
4162
4099
  opacity: 0,
4163
4100
  transform: "rotate3d(0, 0, 1, 45deg)"
4164
4101
  }
4165
- }), Ko = new s("rotateOutDownRight", {
4102
+ }), Po = new s("rotateOutDownRight", {
4166
4103
  from: {
4167
4104
  opacity: 1
4168
4105
  },
@@ -4170,7 +4107,7 @@ const {
4170
4107
  opacity: 0,
4171
4108
  transform: "rotate3d(0, 0, 1, -45deg)"
4172
4109
  }
4173
- }), Uo = new s("rotateOutUpLeft", {
4110
+ }), Fo = new s("rotateOutUpLeft", {
4174
4111
  from: {
4175
4112
  opacity: 1
4176
4113
  },
@@ -4178,7 +4115,7 @@ const {
4178
4115
  opacity: 0,
4179
4116
  transform: "rotate3d(0, 0, 1, -45deg)"
4180
4117
  }
4181
- }), Eo = new s("rotateOutUpRight", {
4118
+ }), To = new s("rotateOutUpRight", {
4182
4119
  from: {
4183
4120
  opacity: 1
4184
4121
  },
@@ -4186,59 +4123,59 @@ const {
4186
4123
  opacity: 0,
4187
4124
  transform: "rotate3d(0, 0, 1, 90deg)"
4188
4125
  }
4189
- }), Xo = () => ({
4126
+ }), Lo = () => ({
4190
4127
  "&.rotateIn": {
4191
4128
  animationFillMode: "both",
4192
4129
  transformOrigin: "center",
4193
- animationName: No
4130
+ animationName: Io
4194
4131
  },
4195
4132
  "&.rotateInDownLeft": {
4196
4133
  animationFillMode: "both",
4197
4134
  transformOrigin: "left bottom",
4198
- animationName: zo
4135
+ animationName: Mo
4199
4136
  },
4200
4137
  "&.rotateInDownRight": {
4201
4138
  animationFillMode: "both",
4202
4139
  transformOrigin: "right bottom",
4203
- animationName: Ho
4140
+ animationName: Oo
4204
4141
  },
4205
4142
  "&.rotateInUpLeft": {
4206
4143
  animationFillMode: "both",
4207
4144
  transformOrigin: "left bottom",
4208
- animationName: Vo
4145
+ animationName: Ro
4209
4146
  },
4210
4147
  "&.rotateInUpRight": {
4211
4148
  animationFillMode: "both",
4212
4149
  transformOrigin: "right bottom",
4213
- animationName: jo
4150
+ animationName: ko
4214
4151
  }
4215
- }), Yo = () => ({
4152
+ }), Do = () => ({
4216
4153
  "&.rotateOut": {
4217
4154
  animationFillMode: "both",
4218
4155
  transformOrigin: "center",
4219
- animationName: Wo
4156
+ animationName: Bo
4220
4157
  },
4221
4158
  "&.rotateOutDownLeft": {
4222
4159
  animationFillMode: "both",
4223
4160
  transformOrigin: "left bottom",
4224
- animationName: Ao
4161
+ animationName: $o
4225
4162
  },
4226
4163
  "&.rotateOutDownRight": {
4227
4164
  animationFillMode: "both",
4228
4165
  transformOrigin: "right bottom",
4229
- animationName: Ko
4166
+ animationName: Po
4230
4167
  },
4231
4168
  "&.rotateOutUpLeft": {
4232
4169
  animationFillMode: "both",
4233
4170
  transformOrigin: "left bottom",
4234
- animationName: Uo
4171
+ animationName: Fo
4235
4172
  },
4236
4173
  "&.rotateOutUpRight": {
4237
4174
  animationFillMode: "both",
4238
4175
  transformOrigin: "right bottom",
4239
- animationName: Eo
4176
+ animationName: To
4240
4177
  }
4241
- }), _o = new s("rollIn", {
4178
+ }), No = new s("rollIn", {
4242
4179
  from: {
4243
4180
  opacity: 0,
4244
4181
  transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
@@ -4247,7 +4184,7 @@ const {
4247
4184
  opacity: 1,
4248
4185
  transform: "translate3d(0, 0, 0)"
4249
4186
  }
4250
- }), Go = new s("rollOut", {
4187
+ }), zo = new s("rollOut", {
4251
4188
  from: {
4252
4189
  opacity: 1
4253
4190
  },
@@ -4255,17 +4192,17 @@ const {
4255
4192
  opacity: 0,
4256
4193
  transform: "translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"
4257
4194
  }
4258
- }), qo = () => ({
4195
+ }), Ho = () => ({
4259
4196
  "&.rollIn": {
4260
4197
  animationFillMode: "both",
4261
- animationName: _o
4198
+ animationName: No
4262
4199
  }
4263
- }), Zo = () => ({
4200
+ }), Vo = () => ({
4264
4201
  "&.rollOut": {
4265
4202
  animationFillMode: "both",
4266
- animationName: Go
4203
+ animationName: zo
4267
4204
  }
4268
- }), Jo = new s("zoomIn", {
4205
+ }), jo = new s("zoomIn", {
4269
4206
  from: {
4270
4207
  opacity: 0,
4271
4208
  transform: "scale3d(0.3, 0.3, 0.3)"
@@ -4273,7 +4210,7 @@ const {
4273
4210
  "50%": {
4274
4211
  opacity: 1
4275
4212
  }
4276
- }), Qo = new s("zoomInDown", {
4213
+ }), Wo = new s("zoomInDown", {
4277
4214
  from: {
4278
4215
  opacity: 0,
4279
4216
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
@@ -4284,7 +4221,7 @@ const {
4284
4221
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
4285
4222
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4286
4223
  }
4287
- }), ei = new s("zoomInLeft", {
4224
+ }), Ao = new s("zoomInLeft", {
4288
4225
  from: {
4289
4226
  opacity: 0,
4290
4227
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
@@ -4295,7 +4232,7 @@ const {
4295
4232
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
4296
4233
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4297
4234
  }
4298
- }), ti = new s("zoomInRight", {
4235
+ }), Ko = new s("zoomInRight", {
4299
4236
  from: {
4300
4237
  opacity: 0,
4301
4238
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
@@ -4306,7 +4243,7 @@ const {
4306
4243
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
4307
4244
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4308
4245
  }
4309
- }), ni = new s("zoomInUp", {
4246
+ }), Uo = new s("zoomInUp", {
4310
4247
  from: {
4311
4248
  opacity: 0,
4312
4249
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
@@ -4317,7 +4254,7 @@ const {
4317
4254
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
4318
4255
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4319
4256
  }
4320
- }), ai = new s("zoomOut", {
4257
+ }), Eo = new s("zoomOut", {
4321
4258
  from: {
4322
4259
  opacity: 1
4323
4260
  },
@@ -4328,7 +4265,7 @@ const {
4328
4265
  to: {
4329
4266
  opacity: 0
4330
4267
  }
4331
- }), oi = new s("zoomOutDown", {
4268
+ }), Xo = new s("zoomOutDown", {
4332
4269
  "40%": {
4333
4270
  opacity: 1,
4334
4271
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
@@ -4339,7 +4276,7 @@ const {
4339
4276
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
4340
4277
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4341
4278
  }
4342
- }), ii = new s("zoomOutLeft", {
4279
+ }), Yo = new s("zoomOutLeft", {
4343
4280
  "40%": {
4344
4281
  opacity: 1,
4345
4282
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
@@ -4348,7 +4285,7 @@ const {
4348
4285
  opacity: 0,
4349
4286
  transform: "scale(0.1) translate3d(-2000px, 0, 0)"
4350
4287
  }
4351
- }), li = new s("zoomOutRight", {
4288
+ }), _o = new s("zoomOutRight", {
4352
4289
  "40%": {
4353
4290
  opacity: 1,
4354
4291
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
@@ -4357,7 +4294,7 @@ const {
4357
4294
  opacity: 0,
4358
4295
  transform: "scale(0.1) translate3d(2000px, 0, 0)"
4359
4296
  }
4360
- }), ri = new s("zoomOutUp", {
4297
+ }), Go = new s("zoomOutUp", {
4361
4298
  "40%": {
4362
4299
  opacity: 1,
4363
4300
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
@@ -4368,53 +4305,53 @@ const {
4368
4305
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)",
4369
4306
  animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
4370
4307
  }
4371
- }), si = () => ({
4308
+ }), qo = () => ({
4372
4309
  "&.zoomIn": {
4373
4310
  animationFillMode: "both",
4374
- animationName: Jo
4311
+ animationName: jo
4375
4312
  },
4376
4313
  "&.zoomInDown": {
4377
4314
  animationFillMode: "both",
4378
- animationName: Qo
4315
+ animationName: Wo
4379
4316
  },
4380
4317
  "&.zoomInLeft": {
4381
4318
  animationFillMode: "both",
4382
- animationName: ei
4319
+ animationName: Ao
4383
4320
  },
4384
4321
  "&.zoomInRight": {
4385
4322
  animationFillMode: "both",
4386
- animationName: ti
4323
+ animationName: Ko
4387
4324
  },
4388
4325
  "&.zoomInUp": {
4389
4326
  animationFillMode: "both",
4390
- animationName: ni
4327
+ animationName: Uo
4391
4328
  }
4392
- }), ui = () => ({
4329
+ }), Zo = () => ({
4393
4330
  "&.zoomOut": {
4394
4331
  animationFillMode: "both",
4395
- animationName: ai
4332
+ animationName: Eo
4396
4333
  },
4397
4334
  "&.zoomOutDown": {
4398
4335
  animationFillMode: "both",
4399
4336
  transformOrigin: "center bottom",
4400
- animationName: oi
4337
+ animationName: Xo
4401
4338
  },
4402
4339
  "&.zoomOutLeft": {
4403
4340
  animationFillMode: "both",
4404
4341
  transformOrigin: "left center",
4405
- animationName: ii
4342
+ animationName: Yo
4406
4343
  },
4407
4344
  "&.zoomOutRight": {
4408
4345
  animationFillMode: "both",
4409
4346
  transformOrigin: "right center",
4410
- animationName: li
4347
+ animationName: _o
4411
4348
  },
4412
4349
  "&.zoomOutUp": {
4413
4350
  animationFillMode: "both",
4414
4351
  transformOrigin: "center bottom",
4415
- animationName: ri
4352
+ animationName: Go
4416
4353
  }
4417
- }), di = new s("slideInDown", {
4354
+ }), Jo = new s("slideInDown", {
4418
4355
  from: {
4419
4356
  transform: "translate3d(0, -100%, 0)",
4420
4357
  visibility: "visible"
@@ -4422,7 +4359,7 @@ const {
4422
4359
  to: {
4423
4360
  transform: "translate3d(0, 0, 0)"
4424
4361
  }
4425
- }), ci = new s("slideInLeft", {
4362
+ }), Qo = new s("slideInLeft", {
4426
4363
  from: {
4427
4364
  transform: "translate3d(-100%, 0, 0)",
4428
4365
  visibility: "visible"
@@ -4430,7 +4367,7 @@ const {
4430
4367
  to: {
4431
4368
  transform: "translate3d(0, 0, 0)"
4432
4369
  }
4433
- }), mi = new s("slideInRight", {
4370
+ }), ei = new s("slideInRight", {
4434
4371
  from: {
4435
4372
  transform: "translate3d(100%, 0, 0)",
4436
4373
  visibility: "visible"
@@ -4438,7 +4375,7 @@ const {
4438
4375
  to: {
4439
4376
  transform: "translate3d(0, 0, 0)"
4440
4377
  }
4441
- }), fi = new s("slideInUp", {
4378
+ }), ti = new s("slideInUp", {
4442
4379
  from: {
4443
4380
  transform: "translate3d(0, 100%, 0)",
4444
4381
  visibility: "visible"
@@ -4446,7 +4383,7 @@ const {
4446
4383
  to: {
4447
4384
  transform: "translate3d(0, 0, 0)"
4448
4385
  }
4449
- }), gi = new s("slideOutDown", {
4386
+ }), ai = new s("slideOutDown", {
4450
4387
  from: {
4451
4388
  transform: "translate3d(0, 0, 0)"
4452
4389
  },
@@ -4454,7 +4391,7 @@ const {
4454
4391
  transform: "translate3d(0, 100%, 0)",
4455
4392
  visibility: "hidden"
4456
4393
  }
4457
- }), hi = new s("slideOutLeft", {
4394
+ }), ni = new s("slideOutLeft", {
4458
4395
  from: {
4459
4396
  transform: "translate3d(0, 0, 0)"
4460
4397
  },
@@ -4462,7 +4399,7 @@ const {
4462
4399
  transform: "translate3d(-100%, 0, 0)",
4463
4400
  visibility: "hidden"
4464
4401
  }
4465
- }), yi = new s("slideOutRight", {
4402
+ }), oi = new s("slideOutRight", {
4466
4403
  from: {
4467
4404
  transform: "translate3d(0, 0, 0)"
4468
4405
  },
@@ -4470,7 +4407,7 @@ const {
4470
4407
  transform: "translate3d(100%, 0, 0)",
4471
4408
  visibility: "hidden"
4472
4409
  }
4473
- }), bi = new s("slideOutUp", {
4410
+ }), ii = new s("slideOutUp", {
4474
4411
  from: {
4475
4412
  transform: "translate3d(0, 0, 0)"
4476
4413
  },
@@ -4478,78 +4415,78 @@ const {
4478
4415
  transform: "translate3d(0, -100%, 0)",
4479
4416
  visibility: "hidden"
4480
4417
  }
4481
- }), pi = () => ({
4418
+ }), li = () => ({
4482
4419
  "&.slideInDown": {
4483
4420
  animationFillMode: "both",
4484
- animationName: di
4421
+ animationName: Jo
4485
4422
  },
4486
4423
  "&.slideInLeft": {
4487
4424
  animationFillMode: "both",
4488
- animationName: ci
4425
+ animationName: Qo
4489
4426
  },
4490
4427
  "&.slideInRight": {
4491
4428
  animationFillMode: "both",
4492
- animationName: mi
4429
+ animationName: ei
4493
4430
  },
4494
4431
  "&.slideInUp": {
4495
4432
  animationFillMode: "both",
4496
- animationName: fi
4433
+ animationName: ti
4497
4434
  }
4498
- }), vi = () => ({
4435
+ }), ri = () => ({
4499
4436
  "&.slideOutDown": {
4500
4437
  animationFillMode: "both",
4501
- animationName: gi
4438
+ animationName: ai
4502
4439
  },
4503
4440
  "&.slideOutLeft": {
4504
4441
  animationFillMode: "both",
4505
- animationName: hi
4442
+ animationName: ni
4506
4443
  },
4507
4444
  "&.slideOutRight": {
4508
4445
  animationFillMode: "both",
4509
- animationName: yi
4446
+ animationName: oi
4510
4447
  },
4511
4448
  "&.slideOutUp": {
4512
4449
  animationFillMode: "both",
4513
- animationName: bi
4450
+ animationName: ii
4514
4451
  }
4515
- }), xi = (e) => ({
4452
+ }), si = (e) => ({
4516
4453
  [e.componentCls]: {
4517
4454
  "&-enter": {
4518
4455
  background: "transparent",
4519
4456
  animationDuration: ".3s !important",
4520
- ...Da(),
4521
- ...Ya(),
4457
+ ...Sn(),
4458
+ ...Dn(),
4459
+ ...uo(),
4460
+ ...yo(),
4522
4461
  ...wo(),
4523
- ...Bo(),
4524
4462
  ...Lo(),
4525
- ...Xo(),
4463
+ ...Ho(),
4526
4464
  ...qo(),
4527
- ...si(),
4528
- ...pi()
4465
+ ...li()
4529
4466
  },
4530
4467
  "&-leave": {
4531
4468
  display: "none",
4532
4469
  background: "transparent",
4533
4470
  animationDuration: ".3s !important",
4534
- ...Na(),
4535
- ..._a(),
4471
+ ...In(),
4472
+ ...Nn(),
4473
+ ...co(),
4474
+ ...bo(),
4536
4475
  ...So(),
4537
- ...ko(),
4538
4476
  ...Do(),
4539
- ...Yo(),
4477
+ ...Vo(),
4540
4478
  ...Zo(),
4541
- ...ui(),
4542
- ...vi()
4479
+ ...ri()
4543
4480
  }
4544
4481
  }
4545
4482
  });
4546
- function Ci(e) {
4547
- return Ne("LayoutPageTranstion", (t) => {
4548
- const a = ze(t);
4549
- return [xi(a)];
4483
+ function di(e) {
4484
+ return De("LayoutPageTranstion", (t) => {
4485
+ const n = Ne(t);
4486
+ return [si(n)];
4550
4487
  }, e);
4551
4488
  }
4552
- const ji = /* @__PURE__ */ j({
4489
+ const Bi = /* @__PURE__ */ j({
4553
4490
  name: "PageTranstion",
4554
4491
  props: {
4555
4492
  disabled: {
@@ -4569,62 +4506,62 @@ const ji = /* @__PURE__ */ j({
4569
4506
  setup(e, {
4570
4507
  slots: t
4571
4508
  }) {
4572
- const a = me({
4509
+ const n = me({
4573
4510
  suffixCls: "page-transtion",
4574
4511
  isPor: !0
4575
4512
  }), {
4576
4513
  wrapSSR: o,
4577
4514
  hashId: i
4578
- } = Ci(a), u = g(() => [c(!1), `${a}-enter`, i.value].join(" ")), m = g(() => [c(!0), `${a}-leave`, i.value].join(" ")), c = (p) => {
4579
- const B = je.preset.find((l) => e.name == l.name);
4580
- if (B == null)
4515
+ } = di(n), u = p(() => [c(!1), `${n}-enter`, i.value].join(" ")), f = p(() => [c(!0), `${n}-leave`, i.value].join(" ")), c = (v) => {
4516
+ const O = Ve.preset.find((l) => e.name == l.name);
4517
+ if (O == null)
4581
4518
  return "";
4582
- let y = "";
4583
- e.direction == null ? y = B.directions[0] : y = B.directions.find((l) => l == e.direction) || "", y = y == null || y === "default" ? "" : y, y != "" && (y = p && e.reverse ? S(y, B.directions) : y, y = y[0].toUpperCase() + y.substring(1));
4584
- const F = p ? "Out" : "In";
4585
- return B.name + F + y;
4586
- }, S = (p, B) => {
4587
- if (p.length == 0 || p == "x" || p == "y")
4588
- return p;
4589
- let y = B.indexOf(p);
4590
- return y = y % 2 == 1 ? y - 1 : y + 1, B[y];
4519
+ let h = "";
4520
+ e.direction == null ? h = O.directions[0] : h = O.directions.find((l) => l == e.direction) || "", h = h == null || h === "default" ? "" : h, h != "" && (h = v && e.reverse ? w(h, O.directions) : h, h = h[0].toUpperCase() + h.substring(1));
4521
+ const T = v ? "Out" : "In";
4522
+ return O.name + T + h;
4523
+ }, w = (v, O) => {
4524
+ if (v.length == 0 || v == "x" || v == "y")
4525
+ return v;
4526
+ let h = O.indexOf(v);
4527
+ return h = h % 2 == 1 ? h - 1 : h + 1, O[h];
4591
4528
  };
4592
4529
  return () => {
4593
- var p;
4594
- return e.disabled ? (p = t.default) == null ? void 0 : p.call(t) : o(n(Tt, {
4530
+ var v;
4531
+ return e.disabled ? (v = t.default) == null ? void 0 : v.call(t) : o(a(Ft, {
4595
4532
  enterActiveClass: u.value,
4596
- leaveActiveClass: m.value
4533
+ leaveActiveClass: f.value
4597
4534
  }, {
4598
4535
  default: () => {
4599
- var B;
4600
- return [(B = t.default) == null ? void 0 : B.call(t)];
4536
+ var O;
4537
+ return [(O = t.default) == null ? void 0 : O.call(t)];
4601
4538
  }
4602
4539
  }));
4603
4540
  };
4604
4541
  }
4605
4542
  });
4606
4543
  export {
4607
- ht as BaseMenu,
4608
- fa as DefaultHeader,
4609
- zi as GProLayout,
4544
+ gt as BaseMenu,
4545
+ en as DefaultHeader,
4546
+ Oi as GProLayout,
4610
4547
  ke as GlobalFooter,
4611
- Ni as PageContainer,
4612
- cn as PageLoading,
4613
- ji as PageTranstion,
4614
- Vi as SettingDrawer,
4615
- Be as SiderMenuWrapper,
4616
- Ue as WrapContent,
4548
+ Mi as PageContainer,
4549
+ da as PageLoading,
4550
+ Bi as PageTranstion,
4551
+ ki as SettingDrawer,
4552
+ Re as SiderMenuWrapper,
4553
+ Ke as WrapContent,
4617
4554
  Ie as baseMenuProps,
4618
- pn as clearMenuItem,
4619
- Mn as createContext,
4620
- Rn as createRouteContext,
4621
- vn as flatMap,
4622
- Di as getMatchedList,
4623
- Hi as getMenuData,
4624
- xn as getMenuFirstChildren,
4625
- Cn as getMenuFirstLastChildPath,
4626
- wn as handleThemeConfig,
4627
- Bn as provideProLayoutContext,
4628
- On as useContext,
4555
+ ya as clearMenuItem,
4556
+ Sa as createContext,
4557
+ Ma as createRouteContext,
4558
+ ba as flatMap,
4559
+ Ii as getMatchedList,
4560
+ Ri as getMenuData,
4561
+ pa as getMenuFirstChildren,
4562
+ va as getMenuFirstLastChildPath,
4563
+ xa as handleThemeConfig,
4564
+ Oa as provideProLayoutContext,
4565
+ Ia as useContext,
4629
4566
  ee as useProLayoutContext
4630
4567
  };