@gx-design-vue/pro-layout 0.1.0-beta.42 → 0.1.0-beta.44

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