@gx-design-vue/pro-layout 0.1.0-beta.34 → 0.1.0-beta.36

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