@gx-design-vue/pro-layout 0.1.0-beta.45 → 0.1.0-beta.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,36 +1,36 @@
1
- import { defineComponent as j, createVNode as n, mergeProps as q, provide as it, readonly as Rt, inject as kt, resolveComponent as lt, computed as b, isVNode as le, Fragment as ee, toRefs as Se, unref as A, createTextVNode as ae, ref as Re, reactive as rt, watch as ce, withDirectives as Bt, vShow as $t, watchEffect as Ft, Transition as Tt } from "vue";
2
- import { Spin as xe, Menu as oe, ConfigProvider as Te, Layout as me, Drawer as pe, Breadcrumb as Pt, Card as Lt, LayoutFooter as Dt, Tabs as Pe, Dropdown as Ye, Tooltip as Ie, List as ie, Switch as st, TabPane as Nt, Select as he, message as zt, Divider as Oe, Alert as Ht, Button as Vt } from "ant-design-vue";
3
- import { useProAppContext as Le } from "@gx-design-vue/pro-app";
4
- import { useRouter as De, RouterLink as jt } from "vue-router";
1
+ import { defineComponent as W, createVNode as n, mergeProps as G, provide as it, readonly as Rt, inject as kt, resolveComponent as lt, computed as b, isVNode as re, Fragment as Q, toRefs as Ie, unref as U, createTextVNode as oe, ref as ke, reactive as rt, watch as me, withDirectives as Bt, vShow as $t, watchEffect as Ft, Transition as Tt } from "vue";
2
+ import { Spin as Ce, Menu as ie, ConfigProvider as Pe, Layout as fe, Drawer as ve, Breadcrumb as Pt, Card as Lt, LayoutFooter as Dt, Tabs as Le, Dropdown as Ye, Tooltip as Me, List as le, Switch as st, TabPane as Nt, Select as ye, message as zt, Divider as Re, Alert as Ht, Button as Vt } from "ant-design-vue";
3
+ import { useProAppContext as De } from "@gx-design-vue/pro-app";
4
+ import { useRouter as Ne, RouterLink as jt } from "vue-router";
5
5
  import { createFromIconfontCN as Wt, MenuUnfoldOutlined as Kt, MenuFoldOutlined as At, GithubOutlined as Ut, EllipsisOutlined as Et, ReloadOutlined as Xt, CloseOutlined as dt, CheckOutlined as ut, SettingOutlined as Yt, NotificationOutlined as _t, CopyOutlined as Gt } from "@ant-design/icons-vue";
6
- import qt, { themeConfig as V, Keyframe as s, useProStyle as ne, useProConfigContext as ge, useStyle as Ne, mergeToken as ze, colorList as Zt } from "@gx-design-vue/pro-provider";
6
+ import qt, { themeConfig as j, Keyframe as s, useProStyle as ae, useProConfigContext as he, useStyle as ze, mergeToken as He, colorList as Zt } from "@gx-design-vue/pro-provider";
7
7
  import { createTypes as Jt } from "vue-types";
8
- import { cloneDeep as He, pick as re, omit as Ve } from "lodash-es";
8
+ import { cloneDeep as Ve, pick as se, omit as je } from "lodash-es";
9
9
  import { GPorWaterMark as Qt } from "@gx-design-vue/pro-watermark";
10
- import { isBoolean as _e, getSlot as K, getPrefixCls as fe, classNames as ct, getLevelData as en, isArray as tn, isBrowser as nn, merge as an } from "@gx-design-vue/pro-utils";
11
- import { useMediaQuery as on, useState as ve, useMergedState as ln } from "@gx-design-vue/pro-hooks";
10
+ import { isBoolean as _e, getSlot as K, getPrefixCls as ge, classNames as ct, getLevelData as en, isArray as tn, isBrowser as nn, merge as an } from "@gx-design-vue/pro-utils";
11
+ import { useMediaQuery as on, useState as xe, useMergedState as ln } from "@gx-design-vue/pro-hooks";
12
12
  import { useWindowSize as rn, useClipboard as sn } from "@vueuse/core";
13
13
  import dn from "@gx-design-vue/scrollbar";
14
14
  import { GColorPicker as Ge } from "@gx-design-vue/color-picker";
15
- const un = /* @__PURE__ */ j({
15
+ const un = /* @__PURE__ */ W({
16
16
  name: "PageLoading",
17
17
  props: {
18
- ...xe.props
18
+ ...Ce.props
19
19
  },
20
20
  setup(e) {
21
21
  const {
22
22
  indicator: t
23
- } = Le();
23
+ } = De();
24
24
  return n("div", {
25
25
  style: {
26
26
  paddingTop: "100px",
27
27
  textAlign: "center"
28
28
  }
29
- }, [n(xe, q(e, {
29
+ }, [n(Ce, G(e, {
30
30
  indicator: t == null ? void 0 : t.value
31
31
  }), null)]);
32
32
  }
33
- }), D = Jt({
33
+ }), L = Jt({
34
34
  func: void 0,
35
35
  bool: void 0,
36
36
  string: void 0,
@@ -39,7 +39,7 @@ const un = /* @__PURE__ */ j({
39
39
  object: void 0,
40
40
  integer: void 0
41
41
  });
42
- D.extend([{
42
+ L.extend([{
43
43
  name: "looseBool",
44
44
  getter: !0,
45
45
  type: Boolean,
@@ -54,75 +54,75 @@ D.extend([{
54
54
  getter: !0,
55
55
  type: null
56
56
  }]);
57
- const de = {
57
+ const ue = {
58
58
  theme: {
59
59
  type: String,
60
- default: V.theme
60
+ default: j.theme
61
61
  },
62
62
  layout: {
63
63
  type: String,
64
- default: V.layout
64
+ default: j.layout
65
65
  },
66
66
  wideWidth: {
67
67
  type: Number,
68
- default: V.wideWidth
68
+ default: j.wideWidth
69
69
  },
70
70
  splitMenus: {
71
71
  type: Boolean,
72
- default: V.splitMenus
72
+ default: j.splitMenus
73
73
  },
74
74
  fixedMultiTab: {
75
75
  type: Boolean,
76
- default: V.fixedMultiTab
76
+ default: j.fixedMultiTab
77
77
  },
78
78
  showProgressBar: {
79
79
  type: Boolean,
80
- default: V.showProgressBar
80
+ default: j.showProgressBar
81
81
  },
82
82
  fixedHeader: {
83
83
  type: Boolean,
84
- default: V.fixedHeader
84
+ default: j.fixedHeader
85
85
  },
86
86
  fixSiderbar: {
87
87
  type: Boolean,
88
- default: V.fixSiderbar
88
+ default: j.fixSiderbar
89
89
  },
90
90
  showTabsBar: {
91
91
  type: Boolean,
92
- default: V.showTabsBar
92
+ default: j.showTabsBar
93
93
  },
94
94
  showFullScreen: {
95
95
  type: Boolean,
96
- default: V.showFullScreen
96
+ default: j.showFullScreen
97
97
  },
98
98
  autoHideHeader: {
99
99
  type: Boolean,
100
- default: V.autoHideHeader
100
+ default: j.autoHideHeader
101
101
  },
102
102
  headerHeight: {
103
103
  type: Number,
104
- default: V.headerHeight
104
+ default: j.headerHeight
105
105
  },
106
106
  title: {
107
107
  type: String,
108
- default: V.title
108
+ default: j.title
109
109
  },
110
110
  iconfontUrl: {
111
111
  type: String,
112
- default: V.iconfontUrl
112
+ default: j.iconfontUrl
113
113
  },
114
114
  animate: {
115
115
  type: Object,
116
- default: V.animate
116
+ default: j.animate
117
117
  },
118
118
  primaryColor: {
119
119
  type: String,
120
- default: V.primaryColor
120
+ default: j.primaryColor
121
121
  }
122
- }, se = {
123
- renderKey: D.string.def("menuHeaderRender"),
124
- title: de.title,
125
- layout: de.layout,
122
+ }, de = {
123
+ renderKey: L.string.def("menuHeaderRender"),
124
+ title: ue.title,
125
+ layout: ue.layout,
126
126
  logo: {
127
127
  type: [Object, String, Function],
128
128
  default: () => {
@@ -137,16 +137,16 @@ const de = {
137
137
  type: String,
138
138
  default: "horizontal"
139
139
  },
140
- drawer: D.looseBool,
141
- collapsed: D.looseBool,
140
+ drawer: L.looseBool,
141
+ collapsed: L.looseBool,
142
142
  menuHeaderRender: {
143
143
  type: [Object, Function],
144
144
  default: () => {
145
145
  }
146
146
  },
147
147
  onMenuHeaderClick: Function
148
- }, Me = {
149
- ...de,
148
+ }, Oe = {
149
+ ...ue,
150
150
  mode: {
151
151
  type: String,
152
152
  default: "inline"
@@ -197,15 +197,15 @@ const de = {
197
197
  type: Function
198
198
  }
199
199
  }, Z = {
200
- ...de,
201
- ...Me,
202
- menuLoading: D.looseBool,
203
- logo: se.logo,
204
- logoStyle: se.logoStyle,
205
- logoDirection: se.logoDirection,
206
- siderWidth: D.number.def(208),
207
- headerHeight: D.number.def(48),
208
- collapsedWidth: D.number.def(48),
200
+ ...ue,
201
+ ...Oe,
202
+ menuLoading: L.looseBool,
203
+ logo: de.logo,
204
+ logoStyle: de.logoStyle,
205
+ logoDirection: de.logoDirection,
206
+ siderWidth: L.number.def(208),
207
+ headerHeight: L.number.def(48),
208
+ collapsedWidth: L.number.def(48),
209
209
  links: {
210
210
  type: [Function, Object, Array],
211
211
  default: () => {
@@ -237,14 +237,14 @@ const de = {
237
237
  type: [Object, Boolean],
238
238
  default: () => !1
239
239
  },
240
- isMobile: D.looseBool,
240
+ isMobile: L.looseBool,
241
241
  matchMenuKeys: {
242
242
  type: Array,
243
243
  default: () => []
244
244
  },
245
245
  // events
246
- onMenuHeaderClick: D.func,
247
- onMenuClick: D.func,
246
+ onMenuHeaderClick: L.func,
247
+ onMenuClick: L.func,
248
248
  onCollapse: {
249
249
  type: Function
250
250
  }
@@ -252,39 +252,39 @@ const de = {
252
252
  function mn(e) {
253
253
  return /\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(e);
254
254
  }
255
- function ft(e, t, a, o) {
256
- var d, f, c, w, p, O, h, P, l, r, I, k, x, y, g, C, $, u, S, R, M, L, H, N, F, W, X, U, Y, m, v, B, T, z;
257
- const i = { ...e };
258
- return a === "light" ? (i.colorItemBg = (f = (d = t.layout) == null ? void 0 : d[o]) == null ? void 0 : f.colorBgMenu, i.colorSubItemBg = (w = (c = t.layout) == null ? void 0 : c[o]) == null ? void 0 : w.colorSubItemBg, i.colorItemBgSelected = (O = (p = t.layout) == null ? void 0 : p[o]) == null ? void 0 : O.colorBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (P = (h = t.layout) == null ? void 0 : h[o]) == null ? void 0 : P.colorBgMenuItemSelected, i.colorItemText = (r = (l = t.layout) == null ? void 0 : l[o]) == null ? void 0 : r.colorTextMenu, i.colorItemTextHover = (k = (I = t.layout) == null ? void 0 : I[o]) == null ? void 0 : k.colorTextMenuHover, i.colorItemTextSelected = (y = (x = t.layout) == null ? void 0 : x[o]) == null ? void 0 : y.colorTextMenuSelected, i.colorItemTextSelectedHorizontal = (C = (g = t.layout) == null ? void 0 : g[o]) == null ? void 0 : C.colorTextMenuSelected, o === "sider" && (i.colorItemBgHover = (u = ($ = t.layout) == null ? void 0 : $[o]) == null ? void 0 : u.colorBgMenuItemHover)) : a === "dark" && (i.colorItemBg = (R = (S = t.layout) == null ? void 0 : S[o]) == null ? void 0 : R.colorDarkBgMenu, i.colorSubItemBg = (L = (M = t.layout) == null ? void 0 : M[o]) == null ? void 0 : L.colorDarkSubItemBg, i.colorItemBgSelected = (N = (H = t.layout) == null ? void 0 : H[o]) == null ? void 0 : N.colorDarkBgMenuItemSelected, i.colorItemBgSelectedHorizontal = (W = (F = t.layout) == null ? void 0 : F[o]) == null ? void 0 : W.colorDarkBgMenuItemSelected, i.colorItemText = (U = (X = t.layout) == null ? void 0 : X[o]) == null ? void 0 : U.colorDarkTextMenu, i.colorItemTextHover = (m = (Y = t.layout) == null ? void 0 : Y[o]) == null ? void 0 : m.colorDarkTextMenuHover, i.colorItemTextSelected = (B = (v = t.layout) == null ? void 0 : v[o]) == null ? void 0 : B.colorDarkTextMenuSelected, i.colorItemTextSelectedHorizontal = (z = (T = t.layout) == null ? void 0 : T[o]) == null ? void 0 : z.colorDarkTextMenuSelected, o === "header" && (i.colorActiveBarHeight = 0)), i;
255
+ function ft(e, t, a, i) {
256
+ var d, f, m, w, p, R, h, T, l, r, I, k, x, y, g, C, $, u, S, M, O, P, H, N, D, V, Y, _, E, J, c, v, B, F;
257
+ const o = { ...e };
258
+ return a === "light" ? (o.colorItemBg = (f = (d = t.layout) == null ? void 0 : d[i]) == null ? void 0 : f.colorBgMenu, o.colorSubItemBg = (w = (m = t.layout) == null ? void 0 : m[i]) == null ? void 0 : w.colorSubItemBg, o.colorItemBgSelected = (R = (p = t.layout) == null ? void 0 : p[i]) == null ? void 0 : R.colorBgMenuItemSelected, o.colorItemBgSelectedHorizontal = (T = (h = t.layout) == null ? void 0 : h[i]) == null ? void 0 : T.colorBgMenuItemSelected, o.colorItemText = (r = (l = t.layout) == null ? void 0 : l[i]) == null ? void 0 : r.colorTextMenu, o.colorItemTextHover = (k = (I = t.layout) == null ? void 0 : I[i]) == null ? void 0 : k.colorTextMenuHover, o.colorItemTextSelected = (y = (x = t.layout) == null ? void 0 : x[i]) == null ? void 0 : y.colorTextMenuSelected, o.colorItemTextSelectedHorizontal = (C = (g = t.layout) == null ? void 0 : g[i]) == null ? void 0 : C.colorTextMenuSelected, i === "sider" && (o.colorItemBgHover = (u = ($ = t.layout) == null ? void 0 : $[i]) == null ? void 0 : u.colorBgMenuItemHover)) : a === "dark" && (o.colorItemBg = (M = (S = t.layout) == null ? void 0 : S[i]) == null ? void 0 : M.colorDarkBgMenu, o.colorSubItemBg = (P = (O = t.layout) == null ? void 0 : O[i]) == null ? void 0 : P.colorDarkSubItemBg, o.colorItemBgSelected = (N = (H = t.layout) == null ? void 0 : H[i]) == null ? void 0 : N.colorDarkBgMenuItemSelected, o.colorItemBgSelectedHorizontal = (V = (D = t.layout) == null ? void 0 : D[i]) == null ? void 0 : V.colorDarkBgMenuItemSelected, o.colorItemText = (_ = (Y = t.layout) == null ? void 0 : Y[i]) == null ? void 0 : _.colorDarkTextMenu, o.colorItemTextHover = (J = (E = t.layout) == null ? void 0 : E[i]) == null ? void 0 : J.colorDarkTextMenuHover, o.colorItemTextSelected = (v = (c = t.layout) == null ? void 0 : c[i]) == null ? void 0 : v.colorDarkTextMenuSelected, o.colorItemTextSelectedHorizontal = (F = (B = t.layout) == null ? void 0 : B[i]) == null ? void 0 : F.colorDarkTextMenuSelected, i === "header" && (o.colorActiveBarHeight = 0)), o;
259
259
  }
260
- const fn = ["left", "right"], ue = ["left", "right", "down", "up"], gn = ["downBig", "upBig", "leftBig", "rightBig"], hn = ["topLeft", "bottomRight", "topRight", "bottomLeft"], yn = ["downLeft", "upRight", "downRight", "upLeft"], je = {
260
+ const fn = ["left", "right"], ce = ["left", "right", "down", "up"], gn = ["downBig", "upBig", "leftBig", "rightBig"], hn = ["topLeft", "bottomRight", "topRight", "bottomLeft"], yn = ["downLeft", "upRight", "downRight", "upLeft"], We = {
261
261
  preset: [
262
262
  //预设动画配置
263
- { name: "back", alias: "渐近", directions: ue },
264
- { name: "bounce", alias: "弹跳", directions: ue.concat("default") },
263
+ { name: "back", alias: "渐近", directions: ce },
264
+ { name: "bounce", alias: "弹跳", directions: ce.concat("default") },
265
265
  {
266
266
  name: "fade",
267
267
  alias: "淡化",
268
- directions: ue.concat(gn).concat(hn).concat("default")
268
+ directions: ce.concat(gn).concat(hn).concat("default")
269
269
  },
270
270
  { name: "flip", alias: "翻转", directions: ["x", "y"] },
271
271
  { name: "lightSpeed", alias: "光速", directions: fn },
272
272
  { name: "rotate", alias: "旋转", directions: yn.concat("default") },
273
273
  { name: "roll", alias: "翻滚", directions: ["default"] },
274
- { name: "zoom", alias: "缩放", directions: ue.concat("default") },
275
- { name: "slide", alias: "滑动", directions: ue }
274
+ { name: "zoom", alias: "缩放", directions: ce.concat("default") },
275
+ { name: "slide", alias: "滑动", directions: ce }
276
276
  ]
277
277
  };
278
278
  function bn(e) {
279
279
  return e.map((t) => {
280
- var o;
280
+ var i;
281
281
  const a = { ...t };
282
- if ((o = a.meta) != null && o.hideInMenu)
282
+ if ((i = a.meta) != null && i.hideInMenu)
283
283
  return null;
284
284
  if (a && (a != null && a.children)) {
285
- if (a.children.some((i) => {
285
+ if (a.children.some((o) => {
286
286
  var d;
287
- return i && !((d = i.meta) != null && d.hideInMenu);
287
+ return o && !((d = o.meta) != null && d.hideInMenu);
288
288
  }))
289
289
  return {
290
290
  ...a,
@@ -297,39 +297,39 @@ function bn(e) {
297
297
  }
298
298
  function pn(e) {
299
299
  return e.map((t) => {
300
- var o;
300
+ var i;
301
301
  const a = { ...t };
302
- return (o = a.meta) != null && o.hideInMenu ? null : (a.linkPath = xn(a.children || []), a.children && delete a.children, a);
302
+ return (i = a.meta) != null && i.hideInMenu ? null : (a.linkPath = xn(a.children || []), a.children && delete a.children, a);
303
303
  }).filter((t) => t);
304
304
  }
305
305
  function vn(e, t) {
306
- const a = (t || "").split("/").length === 2 ? t || "" : `/${(t || "").split("/")[1]}`, o = e.find((i) => i.path === a);
307
- return t === void 0 ? [] : (o == null ? void 0 : o.children) || [];
306
+ const a = (t || "").split("/").length === 2 ? t || "" : `/${(t || "").split("/")[1]}`, i = e.find((o) => o.path === a);
307
+ return t === void 0 ? [] : (i == null ? void 0 : i.children) || [];
308
308
  }
309
309
  function xn(e) {
310
310
  let t = "";
311
- const a = function(i) {
311
+ const a = function(o) {
312
312
  let d = "";
313
- return i.children && i.children.length > 0 ? d = a(i.children[0]) : d = i.path, d;
314
- }, o = e == null ? void 0 : e.filter((i) => !i.hidden);
315
- if (o.length > 0 && o[0].children && o[0].children.length > 0)
316
- t = a(o[0].children[0]);
313
+ return o.children && o.children.length > 0 ? d = a(o.children[0]) : d = o.path, d;
314
+ }, i = e == null ? void 0 : e.filter((o) => !o.hidden);
315
+ if (i.length > 0 && i[0].children && i[0].children.length > 0)
316
+ t = a(i[0].children[0]);
317
317
  else {
318
- const i = o.length > 0 ? o[0] : void 0;
319
- t = (i == null ? void 0 : i.path) || "";
318
+ const o = i.length > 0 ? i[0] : void 0;
319
+ t = (o == null ? void 0 : o.path) || "";
320
320
  }
321
321
  return t;
322
322
  }
323
323
  function Ii(e, t) {
324
- var o, i;
325
- const a = ((i = (o = e.find((d) => d.path === t)) == null ? void 0 : o.meta) == null ? void 0 : i.key) || "";
324
+ var i, o;
325
+ const a = ((o = (i = e.find((d) => d.path === t)) == null ? void 0 : i.meta) == null ? void 0 : o.key) || "";
326
326
  if (a) {
327
327
  const d = [], f = a.split("-");
328
- for (let c = 0; c < f.length; c += 1)
329
- d.push(He(f).splice(0, c + 1).join("-"));
330
- return e.filter((c) => d.some((w) => {
328
+ for (let m = 0; m < f.length; m += 1)
329
+ d.push(Ve(f).splice(0, m + 1).join("-"));
330
+ return e.filter((m) => d.some((w) => {
331
331
  var p;
332
- return w === ((p = c == null ? void 0 : c.meta) == null ? void 0 : p.key) || "";
332
+ return w === ((p = m == null ? void 0 : m.meta) == null ? void 0 : p.key) || "";
333
333
  }));
334
334
  }
335
335
  return [];
@@ -339,15 +339,15 @@ function Cn(e) {
339
339
  }
340
340
  function wn(e) {
341
341
  const t = ["showTabsBar", "fixedMultiTab", "fixSiderbar", "fixedHeader", "splitMenus"];
342
- let o = Object.keys(e).reduce((i, d) => (i[d] = !1, i), {});
343
- return o = Sn(o, t), e.layout === "mix" && (o.fixSiderbar = !0, o.fixedHeader = !0), e.layout === "side" && (o.splitMenus = !0), e.layout === "simple" && (o.splitMenus = !0, o.fixedHeader = !0, o.showTabsBar = !0, o.fixedMultiTab = !0), e.layout === "wide" && (o.splitMenus = !0, o.fixedHeader = !0, o.fixSiderbar = !0, o.showTabsBar = !0, o.fixedMultiTab = !0), o;
342
+ let i = Object.keys(e).reduce((o, d) => (o[d] = !1, o), {});
343
+ return i = Sn(i, t), e.layout === "mix" && (i.fixSiderbar = !0, i.fixedHeader = !0), e.layout === "side" && (i.splitMenus = !0), e.layout === "simple" && (i.splitMenus = !0, i.fixedHeader = !0, i.showTabsBar = !0, i.fixedMultiTab = !0), e.layout === "wide" && (i.splitMenus = !0, i.fixedHeader = !0, i.fixSiderbar = !0, i.showTabsBar = !0, i.fixedMultiTab = !0), i;
344
344
  }
345
345
  function Sn(e, t) {
346
346
  return {
347
- ...t.reduce((a, o) => ({ ...a, [o]: e[o] }), {})
347
+ ...t.reduce((a, i) => ({ ...a, [i]: e[i] }), {})
348
348
  };
349
349
  }
350
- const In = (e = Symbol(), t = "Context.Provider") => j({
350
+ const In = (e = Symbol(), t = "Context.Provider") => W({
351
351
  name: t,
352
352
  props: {
353
353
  value: {
@@ -355,24 +355,24 @@ const In = (e = Symbol(), t = "Context.Provider") => j({
355
355
  required: !0
356
356
  }
357
357
  },
358
- setup(o, { slots: i }) {
359
- return it(e, Rt(o.value)), () => {
358
+ setup(i, { slots: o }) {
359
+ return it(e, Rt(i.value)), () => {
360
360
  var d;
361
- return (d = i.default) == null ? void 0 : d.call(i);
361
+ return (d = o.default) == null ? void 0 : d.call(o);
362
362
  };
363
363
  }
364
- }), Mn = (e = Symbol(), t) => kt(e, t || {}), We = Symbol("pro-layout-context"), On = () => In(We, "ProLayoutContext.Provider"), Rn = (e) => {
365
- it(We, e);
366
- }, te = () => Mn(We);
364
+ }), Mn = (e = Symbol(), t) => kt(e, t || {}), Ke = Symbol("pro-layout-context"), On = () => In(Ke, "ProLayoutContext.Provider"), Rn = (e) => {
365
+ it(Ke, e);
366
+ }, te = () => Mn(Ke);
367
367
  On();
368
368
  function qe(e) {
369
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !le(e);
369
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !re(e);
370
370
  }
371
- const Ce = (e) => {
371
+ const we = (e) => {
372
372
  const {
373
373
  icon: t,
374
374
  iconType: a,
375
- iconfontUrl: o
375
+ iconfontUrl: i
376
376
  } = e;
377
377
  if (!t)
378
378
  return null;
@@ -385,21 +385,21 @@ const Ce = (e) => {
385
385
  }, null);
386
386
  if (a === 1) {
387
387
  const d = Wt({
388
- scriptUrl: o || V.iconfontUrl
388
+ scriptUrl: i || j.iconfontUrl
389
389
  });
390
- return o ? n(d, {
390
+ return i ? n(d, {
391
391
  type: t
392
392
  }, null) : n("i", {
393
393
  class: `iconfont ${t} ${e.className}-icon`
394
394
  }, null);
395
395
  }
396
396
  }
397
- if (le(t))
397
+ if (re(t))
398
398
  return t;
399
- const i = lt(t);
400
- return typeof Ce == "function" && n(i, null, null) || null;
399
+ const o = lt(t);
400
+ return typeof we == "function" && n(o, null, null) || null;
401
401
  };
402
- Ce.props = {
402
+ we.props = {
403
403
  icon: {
404
404
  type: [String, Function, Object]
405
405
  },
@@ -407,16 +407,16 @@ Ce.props = {
407
407
  className: String,
408
408
  iconfontUrl: String
409
409
  };
410
- const gt = /* @__PURE__ */ j({
410
+ const gt = /* @__PURE__ */ W({
411
411
  name: "BaseMenu",
412
- props: Me,
412
+ props: Oe,
413
413
  setup(e) {
414
- const t = De(), {
414
+ const t = Ne(), {
415
415
  getPrefixCls: a
416
- } = te(), o = a({
416
+ } = te(), i = a({
417
417
  suffixCls: "menu-item",
418
418
  isPor: !0
419
- }), i = (l) => {
419
+ }), o = (l) => {
420
420
  var r;
421
421
  (r = e.onOpenKeys) == null || r.call(e, l);
422
422
  }, d = (l) => {
@@ -425,37 +425,37 @@ const gt = /* @__PURE__ */ j({
425
425
  }, f = (l) => {
426
426
  var r;
427
427
  (r = e.onClick) == null || r.call(e, ...l);
428
- }, c = (l, r) => {
428
+ }, m = (l, r) => {
429
429
  var x;
430
430
  const I = l.target || "", k = mt(I);
431
431
  ((x = t.currentRoute.value) == null ? void 0 : x.fullPath) !== r.to && k && I && l.targetStatus === 1 && window.open(I);
432
- }, w = lt("router-link"), p = (l = []) => l.map((r) => O(r)).filter((r) => r), O = (l) => {
433
- var k, x, y, g, C, $, u, S, R;
432
+ }, w = lt("router-link"), p = (l = []) => l.map((r) => R(r)).filter((r) => r), R = (l) => {
433
+ var k, x, y, g, C, $, u, S, M;
434
434
  if (Array.isArray(l.children) && l.children.length > 0 && !((k = l == null ? void 0 : l.meta) != null && k.hideInMenu) && !((x = l == null ? void 0 : l.meta) != null && x.hideChildrenInMenu)) {
435
- let M;
435
+ let O;
436
436
  if (e.subMenuItemRender)
437
437
  return e.subMenuItemRender({
438
438
  item: l,
439
439
  children: p(l.children)
440
440
  });
441
- const L = (y = l.meta) == null ? void 0 : y.title, H = (g = l.meta) != null && g.icon ? n("span", {
441
+ const P = (y = l.meta) == null ? void 0 : y.title, H = (g = l.meta) != null && g.icon ? n("span", {
442
442
  class: "gx-pro-sider-menu-item"
443
443
  }, [n("span", {
444
444
  class: "gx-pro-sider-menu-item-title"
445
- }, [L])]) : n("span", {
445
+ }, [P])]) : n("span", {
446
446
  class: "gx-pro-sider-menu-item"
447
- }, [L]), N = ((C = l.meta) == null ? void 0 : C.type) === "group", F = N ? oe.ItemGroup : oe.SubMenu;
448
- return n(F, {
447
+ }, [P]), N = ((C = l.meta) == null ? void 0 : C.type) === "group", D = N ? ie.ItemGroup : ie.SubMenu;
448
+ return n(D, {
449
449
  title: H,
450
450
  key: l.path,
451
- icon: N ? null : n(Ce, {
452
- className: o,
451
+ icon: N ? null : n(we, {
452
+ className: i,
453
453
  icon: ($ = l.meta) == null ? void 0 : $.icon,
454
454
  iconfontUrl: e.iconfontUrl,
455
455
  iconType: (u = l.meta) == null ? void 0 : u.iconType
456
456
  }, null)
457
- }, qe(M = p(l.children)) ? M : {
458
- default: () => [M]
457
+ }, qe(O = p(l.children)) ? O : {
458
+ default: () => [O]
459
459
  });
460
460
  }
461
461
  const [r, I] = h(l);
@@ -463,52 +463,52 @@ const gt = /* @__PURE__ */ j({
463
463
  item: l,
464
464
  title: r,
465
465
  icon: I
466
- }) || n(oe.Item, {
466
+ }) || n(ie.Item, {
467
467
  disabled: (S = l.meta) == null ? void 0 : S.disabled,
468
- danger: (R = l.meta) == null ? void 0 : R.danger,
468
+ danger: (M = l.meta) == null ? void 0 : M.danger,
469
469
  key: l.path,
470
470
  icon: I
471
471
  }, qe(r) ? r : {
472
472
  default: () => [r]
473
473
  });
474
474
  }, h = (l) => {
475
- var C, $, u, S, R;
475
+ var C, $, u, S, M;
476
476
  const r = {
477
477
  ...l.meta
478
478
  }, I = r.targetStatus === 1 && r.target ? "a" : w, k = {
479
479
  to: l.linkPath || l.path || ""
480
- }, x = (C = l.meta) == null ? void 0 : C.title, y = ($ = l.meta) != null && $.icon ? n(I, q(k, {
480
+ }, x = (C = l.meta) == null ? void 0 : C.title, y = ($ = l.meta) != null && $.icon ? n(I, G(k, {
481
481
  class: "gx-pro-sider-menu-item",
482
- onClick: () => c(r, k)
482
+ onClick: () => m(r, k)
483
483
  }), {
484
484
  default: () => [n("span", {
485
485
  class: "gx-pro-sider-menu-item-title"
486
486
  }, [x])]
487
- }) : n(I, q(k, {
487
+ }) : n(I, G(k, {
488
488
  class: "gx-pro-sider-menu-item",
489
- onClick: () => c(r, k)
489
+ onClick: () => m(r, k)
490
490
  }), {
491
491
  default: () => [n("span", null, [x])]
492
- }), g = ((u = l.meta) == null ? void 0 : u.icon) && n(Ce, {
493
- className: o,
492
+ }), g = ((u = l.meta) == null ? void 0 : u.icon) && n(we, {
493
+ className: i,
494
494
  icon: (S = l.meta) == null ? void 0 : S.icon,
495
495
  iconfontUrl: e.iconfontUrl,
496
- iconType: (R = l.meta) == null ? void 0 : R.iconType
496
+ iconType: (M = l.meta) == null ? void 0 : M.iconType
497
497
  }, null) || void 0;
498
498
  return [y, g];
499
- }, P = b(() => p(e.menuData));
500
- return () => n(oe, q({
499
+ }, T = b(() => p(e.menuData));
500
+ return () => n(ie, G({
501
501
  key: "Menu",
502
502
  inlineIndent: 16,
503
503
  mode: e.mode,
504
504
  theme: e.theme,
505
505
  openKeys: e.openKeys === !1 ? [] : e.openKeys,
506
506
  selectedKeys: e.selectedKeys || [],
507
- onOpenChange: i,
507
+ onOpenChange: o,
508
508
  onSelect: d,
509
509
  onClick: f
510
510
  }, e.menuProps), {
511
- default: () => [P.value]
511
+ default: () => [T.value]
512
512
  });
513
513
  }
514
514
  }), ht = new s("pro-layout-title-hide", {
@@ -533,7 +533,7 @@ const gt = /* @__PURE__ */ j({
533
533
  }
534
534
  };
535
535
  }, Bn = (e) => {
536
- var t, a, o, i, d, f, c, w, p, O, h, P;
536
+ var t, a, i, o, d, f, m, w, p, R, h, T;
537
537
  return {
538
538
  [`${e.proComponentsCls}-basic-layout`]: {
539
539
  [`&${e.proComponentsCls}-basic-layout-wide`]: {
@@ -563,7 +563,7 @@ const gt = /* @__PURE__ */ j({
563
563
  height: "100%"
564
564
  },
565
565
  "&-light": {
566
- background: (i = (o = e.layout) == null ? void 0 : o.sider) == null ? void 0 : i.colorBgMenu,
566
+ background: (o = (i = e.layout) == null ? void 0 : i.sider) == null ? void 0 : o.colorBgMenu,
567
567
  boxShadow: "2px 0 8px 0 rgba(29,35,41,.05)",
568
568
  [`${e.componentCls}-footer`]: {
569
569
  color: (f = (d = e.layout) == null ? void 0 : d.sider) == null ? void 0 : f.colorTextMenu
@@ -582,7 +582,7 @@ const gt = /* @__PURE__ */ j({
582
582
  background: "transparent"
583
583
  },
584
584
  "&-footer": {
585
- color: (w = (c = e.layout) == null ? void 0 : c.sider) == null ? void 0 : w.colorDarkTextMenu,
585
+ color: (w = (m = e.layout) == null ? void 0 : m.sider) == null ? void 0 : w.colorDarkTextMenu,
586
586
  paddingBlockEnd: 16,
587
587
  fontSize: e.fontSize,
588
588
  animationName: ht,
@@ -597,8 +597,8 @@ const gt = /* @__PURE__ */ j({
597
597
  zIndex: "100",
598
598
  height: "100%",
599
599
  "&-mix": {
600
- height: `calc(100% - ${((O = (p = e.layout) == null ? void 0 : p.header) == null ? void 0 : O.heightLayoutHeader) || V.headerHeight}px)`,
601
- insetBlockStart: `${((P = (h = e.layout) == null ? void 0 : h.header) == null ? void 0 : P.heightLayoutHeader) || V.headerHeight}px`
600
+ height: `calc(100% - ${((R = (p = e.layout) == null ? void 0 : p.header) == null ? void 0 : R.heightLayoutHeader) || j.headerHeight}px)`,
601
+ insetBlockStart: `${((T = (h = e.layout) == null ? void 0 : h.header) == null ? void 0 : T.heightLayoutHeader) || j.headerHeight}px`
602
602
  }
603
603
  }
604
604
  }
@@ -678,69 +678,69 @@ const gt = /* @__PURE__ */ j({
678
678
  }, null) : typeof e == "function" ? e() : e : null, Tn = (e, t = "menuHeaderRender") => {
679
679
  const {
680
680
  logo: a,
681
- logoStyle: o,
682
- title: i,
681
+ logoStyle: i,
682
+ title: o,
683
683
  layout: d
684
684
  } = e, f = e[t || ""];
685
685
  if (f === !1)
686
686
  return null;
687
- const c = yt(a, o), w = i && n("h1", null, [i]);
688
- return typeof f == "function" ? f(c, e.collapsed ? null : w, e) : n(ee, null, [c || null, e.collapsed && d === "side" ? null : w]);
689
- }, Ke = /* @__PURE__ */ j({
687
+ const m = yt(a, i), w = o && n("h1", null, [o]);
688
+ return typeof f == "function" ? f(m, e.collapsed ? null : w, e) : n(Q, null, [m || null, e.collapsed && d === "side" ? null : w]);
689
+ }, Ae = /* @__PURE__ */ W({
690
690
  name: "LogoContent",
691
- props: se,
691
+ props: de,
692
692
  setup(e) {
693
693
  const {
694
694
  getPrefixCls: t
695
- } = te(), a = b(() => e.layout === "side" || e.layout === "simple"), o = b(() => t({
695
+ } = te(), a = b(() => e.layout === "side" || e.layout === "simple"), i = b(() => t({
696
696
  suffixCls: a.value || e.drawer ? "sider" : "global-header",
697
697
  isPor: !0
698
698
  })), {
699
- wrapSSR: i,
699
+ wrapSSR: o,
700
700
  hashId: d
701
- } = ne("ProLayoutLogo", [Fn]), f = b(() => Tn(e, e.renderKey));
702
- return () => i(n("div", {
701
+ } = ae("ProLayoutLogo", [Fn]), f = b(() => Tn(e, e.renderKey));
702
+ return () => o(n("div", {
703
703
  id: "logo",
704
704
  class: {
705
705
  [`${d.value}`]: !0,
706
- [`${o.value}-logo`]: !0,
707
- [`${o.value}-logo-collapsed`]: !!e.collapsed
706
+ [`${i.value}-logo`]: !0,
707
+ [`${i.value}-logo-collapsed`]: !!e.collapsed
708
708
  },
709
709
  onClick: () => {
710
- var c;
711
- return (c = e.onMenuHeaderClick) == null ? void 0 : c.call(e);
710
+ var m;
711
+ return (m = e.onMenuHeaderClick) == null ? void 0 : m.call(e);
712
712
  }
713
713
  }, [n("a", null, [f.value || null])]));
714
714
  }
715
715
  });
716
- Ke.inheritAttrs = !1;
716
+ Ae.inheritAttrs = !1;
717
717
  function Pn(e) {
718
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !le(e);
718
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !re(e);
719
719
  }
720
720
  const {
721
721
  Sider: Ln
722
- } = me, {
722
+ } = fe, {
723
723
  Item: Ze
724
- } = oe, bt = (e) => e ? n(Kt, null, null) : n(At, null, null), Je = /* @__PURE__ */ j({
724
+ } = ie, bt = (e) => e ? n(Kt, null, null) : n(At, null, null), Je = /* @__PURE__ */ W({
725
725
  props: Z,
726
726
  inheritAttrs: !1,
727
727
  setup(e) {
728
728
  const {
729
729
  getPrefixCls: t,
730
730
  selectedKeys: a,
731
- flatMenuData: o,
732
- menuData: i,
731
+ flatMenuData: i,
732
+ menuData: o,
733
733
  openKeys: d
734
734
  } = te(), {
735
735
  indicator: f
736
- } = Le(), {
737
- token: c
738
- } = ge(), {
736
+ } = De(), {
737
+ token: m
738
+ } = he(), {
739
739
  theme: w,
740
740
  layout: p,
741
- isMobile: O,
741
+ isMobile: R,
742
742
  menuLoading: h,
743
- breakpoint: P,
743
+ breakpoint: T,
744
744
  fixSiderbar: l,
745
745
  collapsed: r,
746
746
  siderWidth: I,
@@ -750,34 +750,34 @@ const {
750
750
  menuFooterRender: g,
751
751
  collapsedButtonRender: C,
752
752
  links: $
753
- } = Se(e), u = t({
753
+ } = Ie(e), u = t({
754
754
  suffixCls: "sider",
755
755
  isPor: !0
756
756
  }), {
757
757
  wrapSSR: S,
758
- hashId: R
759
- } = ne("ProLayoutSiderMenu", [kn, Bn, $n], u), M = b(() => e.layout === "wide"), L = b(() => e.layout === "mix" && !e.isMobile && e.splitMenus), H = b(() => p.value === "side" || p.value === "simple"), N = b(() => (e.layout === "mix" || M.value) && "light" || w.value), F = b(() => p.value === "top" ? [] : i.value), W = b(() => e.collapsed ? e.collapsedWidth : e.siderWidth), X = b(() => [R.value, u, O.value ? "shadow" : null, `${u}-${N.value}`, l.value && e.layout !== "wide" ? `${u}-fixed` : null]), U = b(() => {
758
+ hashId: M
759
+ } = ae("ProLayoutSiderMenu", [kn, Bn, $n], u), O = b(() => e.layout === "wide"), P = b(() => e.layout === "mix" && !e.isMobile && e.splitMenus), H = b(() => p.value === "side" || p.value === "simple"), N = b(() => (e.layout === "mix" || O.value) && "light" || w.value), D = b(() => p.value === "top" ? [] : o.value), V = b(() => e.collapsed ? e.collapsedWidth : e.siderWidth), Y = b(() => [M.value, u, R.value ? "shadow" : null, `${u}-${N.value}`, l.value && e.layout !== "wide" ? `${u}-fixed` : null]), _ = b(() => {
760
+ var c;
761
+ return typeof $.value == "function" ? (c = $.value) == null ? void 0 : c.call($) : $.value;
762
+ }), E = b(() => C.value !== !1 ? C.value || bt : !1), J = (c) => {
760
763
  var v;
761
- return typeof $.value == "function" ? (v = $.value) == null ? void 0 : v.call($) : $.value;
762
- }), Y = b(() => C.value !== !1 ? C.value || bt : !1), m = (v) => {
763
- var B;
764
764
  if (e.onSelect) {
765
- if (A(L)) {
766
- e.onSelect([(B = a == null ? void 0 : a.value) == null ? void 0 : B[0], ...v]);
765
+ if (U(P)) {
766
+ e.onSelect([(v = a == null ? void 0 : a.value) == null ? void 0 : v[0], ...c]);
767
767
  return;
768
768
  }
769
- e.onSelect(v);
769
+ e.onSelect(c);
770
770
  }
771
771
  };
772
772
  return () => {
773
- var z;
774
- const v = H.value ? n(Ke, q({
775
- drawer: O.value
776
- }, e), null) : null, B = x.value && ((z = x.value) == null ? void 0 : z.call(x, e)), T = n(gt, {
777
- class: `${u}-menu ${R.value}`,
773
+ var F;
774
+ const c = H.value ? n(Ae, G({
775
+ drawer: R.value
776
+ }, e), null) : null, v = x.value && ((F = x.value) == null ? void 0 : F.call(x, e)), B = n(gt, {
777
+ class: `${u}-menu ${M.value}`,
778
778
  theme: N.value,
779
779
  mode: "inline",
780
- menuData: L.value ? o.value : F.value,
780
+ menuData: P.value ? i.value : D.value,
781
781
  iconfontUrl: e.iconfontUrl,
782
782
  openKeys: d.value,
783
783
  selectedKeys: a.value,
@@ -787,13 +787,13 @@ const {
787
787
  style: {
788
788
  width: "100%"
789
789
  },
790
- onOpenKeys: (_) => {
791
- var J;
792
- return e.onOpenKeys && ((J = e.onOpenKeys) == null ? void 0 : J.call(e, _));
790
+ onOpenKeys: (z) => {
791
+ var q;
792
+ return e.onOpenKeys && ((q = e.onOpenKeys) == null ? void 0 : q.call(e, z));
793
793
  },
794
- onSelect: m
794
+ onSelect: J
795
795
  }, null);
796
- return L.value && A(o.value).length === 0 || F.value.length === 0 ? null : S(n(Te, {
796
+ return P.value && U(i.value).length === 0 || D.value.length === 0 ? null : S(n(Pe, {
797
797
  theme: {
798
798
  components: {
799
799
  Menu: ft({
@@ -802,92 +802,92 @@ const {
802
802
  colorActiveBarHeight: 0,
803
803
  colorActiveBarBorderSize: 0
804
804
  // 主题颜色
805
- }, (c == null ? void 0 : c.value) || {}, N.value, "sider")
805
+ }, (m == null ? void 0 : m.value) || {}, N.value, "sider")
806
806
  }
807
807
  }
808
808
  }, {
809
809
  default: () => [l.value && n("div", {
810
810
  style: {
811
- width: `${W.value}px`,
811
+ width: `${V.value}px`,
812
812
  overflow: "hidden",
813
- flex: `0 0 ${W.value}px`,
814
- maxWidth: `${W.value}px`,
815
- minWidth: `${W.value}px`,
813
+ flex: `0 0 ${V.value}px`,
814
+ maxWidth: `${V.value}px`,
815
+ minWidth: `${V.value}px`,
816
816
  transition: "background-color 0.2s, min-width 0.2s, max-width 0.2s"
817
817
  }
818
818
  }, null), n(Ln, {
819
819
  collapsible: !0,
820
820
  trigger: null,
821
- class: X.value,
821
+ class: Y.value,
822
822
  style: {
823
823
  overflow: "hidden",
824
824
  zIndex: l.value ? 101 : void 0,
825
- paddingTop: H.value || e.isMobile || M.value ? 0 : `${e.headerHeight}px`,
825
+ paddingTop: H.value || e.isMobile || O.value ? 0 : `${e.headerHeight}px`,
826
826
  top: e.layout === "wide" ? `${e.headerHeight + 20}px` : void 0,
827
827
  height: e.layout === "wide" ? `calc(100vh - ${e.headerHeight + 20 * 2}px)` : void 0
828
828
  },
829
829
  theme: N.value,
830
- breakpoint: P.value || void 0,
830
+ breakpoint: T.value || void 0,
831
831
  collapsed: r.value,
832
832
  width: I.value,
833
833
  collapsedWidth: k.value
834
834
  }, {
835
835
  default: () => {
836
- var _, J;
836
+ var z, q;
837
837
  return [h.value && n("div", {
838
- class: ["gx-pro-sider-loading", R.value]
839
- }, [n(xe, {
838
+ class: ["gx-pro-sider-loading", M.value]
839
+ }, [n(Ce, {
840
840
  spinning: h.value,
841
841
  indicator: f == null ? void 0 : f.value
842
- }, null)]), v || null, B && !e.collapsed && n("div", {
842
+ }, null)]), c || null, v && !e.collapsed && n("div", {
843
843
  class: {
844
- [`${R.value}`]: !0,
844
+ [`${M.value}`]: !0,
845
845
  [`${u}-extra`]: !0,
846
- [`${u}-extra-no-logo`]: !v
846
+ [`${u}-extra-no-logo`]: !c
847
847
  }
848
- }, [B]), n("div", {
848
+ }, [v]), n("div", {
849
849
  style: {
850
850
  flex: "1 1 0%",
851
851
  overflow: "hidden auto"
852
852
  }
853
- }, [y.value && ((_ = y.value) == null ? void 0 : _.call(y, e, T)) || T]), e.layout !== "wide" && n("div", {
854
- class: `${u}-links ${R.value}`
855
- }, [n(oe, {
853
+ }, [y.value && ((z = y.value) == null ? void 0 : z.call(y, e, B)) || B]), e.layout !== "wide" && n("div", {
854
+ class: `${u}-links ${M.value}`
855
+ }, [n(ie, {
856
856
  theme: N.value,
857
857
  inlineIndent: 16,
858
- class: `${u}-link-menu ${R.value}`,
858
+ class: `${u}-link-menu ${M.value}`,
859
859
  selectedKeys: [],
860
860
  openKeys: [],
861
861
  mode: "inline"
862
862
  }, {
863
- default: () => [(U.value || []).map((E, Q) => n(Ze, {
864
- class: `${u}-link ${R.value}`,
865
- key: Q
866
- }, Pn(E) ? E : {
867
- default: () => [E]
868
- })), Y.value && !O.value && n(Ze, {
869
- class: `${u}-collapsed-button ${R.value}`,
863
+ default: () => [(_.value || []).map((X, ne) => n(Ze, {
864
+ class: `${u}-link ${M.value}`,
865
+ key: ne
866
+ }, Pn(X) ? X : {
867
+ default: () => [X]
868
+ })), E.value && !R.value && n(Ze, {
869
+ class: `${u}-collapsed-button ${M.value}`,
870
870
  title: !1,
871
871
  key: "collapsed",
872
872
  onClick: () => {
873
- var E;
874
- e.onCollapse && ((E = e.onCollapse) == null || E.call(e, !r.value));
873
+ var X;
874
+ e.onCollapse && ((X = e.onCollapse) == null || X.call(e, !r.value));
875
875
  }
876
876
  }, {
877
877
  default: () => {
878
- var E;
879
- return [(E = Y.value) == null ? void 0 : E.call(Y, r.value)];
878
+ var X;
879
+ return [(X = E.value) == null ? void 0 : X.call(E, r.value)];
880
880
  }
881
881
  })]
882
882
  })]), g.value && n("div", {
883
- class: `${u}-footer ${R.value}`
884
- }, [(J = g.value) == null ? void 0 : J.call(g, e)])];
883
+ class: `${u}-footer ${M.value}`
884
+ }, [(q = g.value) == null ? void 0 : q.call(g, e)])];
885
885
  }
886
886
  })]
887
887
  }));
888
888
  };
889
889
  }
890
- }), ke = /* @__PURE__ */ j({
890
+ }), Be = /* @__PURE__ */ W({
891
891
  name: "SiderMenuWrapper",
892
892
  inheritAttrs: !1,
893
893
  props: {
@@ -898,7 +898,7 @@ const {
898
898
  }
899
899
  },
900
900
  setup(e) {
901
- return () => n(ee, null, [e.isMobile ? n(pe, {
901
+ return () => n(Q, null, [e.isMobile ? n(ve, {
902
902
  maskClosable: !0,
903
903
  open: !e.collapsed,
904
904
  closable: !1,
@@ -917,7 +917,7 @@ const {
917
917
  flexDirection: "row"
918
918
  }
919
919
  }, {
920
- default: () => [n(Je, q(e, {
920
+ default: () => [n(Je, G(e, {
921
921
  collapsed: e.isMobile ? !1 : e.collapsed
922
922
  }), null)]
923
923
  }) : n(Je, e, null)]);
@@ -929,18 +929,18 @@ const {
929
929
  }
930
930
  },
931
931
  pageCardProps: Object,
932
- pageContentStyle: D.style,
933
- pageChildrenContentStyle: D.style,
932
+ pageContentStyle: L.style,
933
+ pageChildrenContentStyle: L.style,
934
934
  waterMarkProps: {
935
935
  type: Object
936
936
  },
937
- waterMark: D.bool.def(!0),
937
+ waterMark: L.bool.def(!0),
938
938
  pageHeaderRender: {
939
939
  type: [Object, Function, Boolean],
940
940
  default: () => {
941
941
  }
942
942
  }
943
- }, we = {
943
+ }, Se = {
944
944
  pageChildrenExtraRender: {
945
945
  type: [Object, Function, Boolean],
946
946
  default: () => {
@@ -956,8 +956,8 @@ const {
956
956
  default: () => {
957
957
  }
958
958
  },
959
- pageHeaderStyle: D.style,
960
- loading: D.bool.def(!1),
959
+ pageHeaderStyle: L.style,
960
+ loading: L.bool.def(!1),
961
961
  ...pt
962
962
  }, Dn = (e) => ({
963
963
  [e.componentCls]: {
@@ -970,27 +970,27 @@ const {
970
970
  marginTop: "8px"
971
971
  }
972
972
  }
973
- }), Nn = /* @__PURE__ */ j({
973
+ }), Nn = /* @__PURE__ */ W({
974
974
  name: "ProPageHeader",
975
975
  props: {
976
- content: we.contentRender,
977
- breadcrumb: we.breadcrumbRender
976
+ content: Se.contentRender,
977
+ breadcrumb: Se.breadcrumbRender
978
978
  },
979
979
  setup(e) {
980
980
  const {
981
981
  breadcrumb: t,
982
982
  getPrefixCls: a
983
- } = te(), o = a({
983
+ } = te(), i = a({
984
984
  isPor: !0,
985
985
  suffixCls: "page-header"
986
986
  }), {
987
- wrapSSR: i,
987
+ wrapSSR: o,
988
988
  hashId: d
989
- } = ne("ProPageHeader", [Dn], o), f = b(() => {
990
- var c;
989
+ } = ae("ProPageHeader", [Dn], i), f = b(() => {
990
+ var m;
991
991
  return {
992
992
  ...t.value,
993
- itemRender: ((c = t.value) == null ? void 0 : c.itemRender) || (({
993
+ itemRender: ((m = t.value) == null ? void 0 : m.itemRender) || (({
994
994
  route: w
995
995
  }) => w.path ? n(jt, {
996
996
  to: w.path
@@ -1000,21 +1000,21 @@ const {
1000
1000
  };
1001
1001
  });
1002
1002
  return () => {
1003
- var c, w;
1004
- return i(n("div", {
1005
- class: [`${o}`, d.value, `${o}-has-breadcrumb`]
1006
- }, [e.breadcrumb ? (c = e.breadcrumb) == null ? void 0 : c.call(e, f.value) : n(Pt, f.value, null), e.content && n("div", {
1007
- class: [`${o}-content`, d.value]
1003
+ var m, w;
1004
+ return o(n("div", {
1005
+ class: [`${i}`, d.value, `${i}-has-breadcrumb`]
1006
+ }, [e.breadcrumb ? (m = e.breadcrumb) == null ? void 0 : m.call(e, f.value) : n(Pt, f.value, null), e.content && n("div", {
1007
+ class: [`${i}-content`, d.value]
1008
1008
  }, [(w = e.content) == null ? void 0 : w.call(e)])]));
1009
1009
  };
1010
1010
  }
1011
1011
  }), zn = (e) => {
1012
- var t, a, o, i, d, f, c, w;
1012
+ var t, a, i, o, d, f, m, w;
1013
1013
  return {
1014
1014
  [`${e.proComponentsCls}-basic-layout`]: {
1015
1015
  [e.componentCls]: {
1016
1016
  marginInline: -(((a = (t = e.layout) == null ? void 0 : t.pageContainer) == null ? void 0 : a.paddingBlockPageContainerContent) ?? 24),
1017
- marginBlockStart: -(((i = (o = e.layout) == null ? void 0 : o.pageContainer) == null ? void 0 : i.paddingBlockPageContainerContent) ?? 24)
1017
+ marginBlockStart: -(((o = (i = e.layout) == null ? void 0 : i.pageContainer) == null ? void 0 : o.paddingBlockPageContainerContent) ?? 24)
1018
1018
  },
1019
1019
  [e.gridContent]: {
1020
1020
  width: "100%"
@@ -1023,84 +1023,84 @@ const {
1023
1023
  [e.componentCls]: {
1024
1024
  "&-children-content": {
1025
1025
  marginInline: ((f = (d = e.layout) == null ? void 0 : d.pageContainer) == null ? void 0 : f.marginInlinePageContainerContent) ?? 24,
1026
- marginBlockStart: ((w = (c = e.layout) == null ? void 0 : c.pageContainer) == null ? void 0 : w.marginBlockPageContainerContent) ?? 24,
1026
+ marginBlockStart: ((w = (m = e.layout) == null ? void 0 : m.pageContainer) == null ? void 0 : w.marginBlockPageContainerContent) ?? 24,
1027
1027
  padding: "inherit"
1028
1028
  }
1029
1029
  }
1030
1030
  };
1031
1031
  };
1032
1032
  function Hn(e) {
1033
- return Ne("ProPageContainter", (t) => {
1034
- const a = ze(t, {
1033
+ return ze("ProPageContainter", (t) => {
1034
+ const a = He(t, {
1035
1035
  gridContent: `${t.proComponentsCls}-grid-content`
1036
1036
  });
1037
1037
  return [zn(a)];
1038
1038
  }, e);
1039
1039
  }
1040
1040
  function Vn(e) {
1041
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !le(e);
1041
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !re(e);
1042
1042
  }
1043
- const Mi = /* @__PURE__ */ j({
1043
+ const Mi = /* @__PURE__ */ W({
1044
1044
  inheritAttrs: !1,
1045
1045
  name: "GProPageContainer",
1046
- props: we,
1046
+ props: Se,
1047
1047
  setup(e, {
1048
1048
  slots: t,
1049
1049
  attrs: a
1050
1050
  }) {
1051
1051
  const {
1052
- getPrefixCls: o,
1053
- hasContentWide: i,
1052
+ getPrefixCls: i,
1053
+ hasContentWide: o,
1054
1054
  waterMark: d,
1055
1055
  pageHeaderRender: f,
1056
- pageContentStyle: c,
1056
+ pageContentStyle: m,
1057
1057
  pageChildrenContentStyle: w,
1058
1058
  pageCardProps: p,
1059
- usePageCard: O,
1059
+ usePageCard: R,
1060
1060
  waterMarkProps: h
1061
1061
  } = te(), {
1062
- indicator: P
1063
- } = Le(), l = ge(), r = o({
1062
+ indicator: T
1063
+ } = De(), l = he(), r = i({
1064
1064
  suffixCls: "page-container",
1065
1065
  isPor: !0
1066
- }), I = o({
1066
+ }), I = i({
1067
1067
  suffixCls: "grid-content",
1068
1068
  isPor: !0
1069
- }), k = b(() => e.pageCardProps || p.value), x = b(() => e.waterMarkProps || h.value || {}), y = b(() => e.pageContentStyle || c.value), g = b(() => e.pageChildrenContentStyle || w.value || {}), C = b(() => _e(e.usePageCard) ? e.usePageCard : _e(O.value) ? O.value : !0), {
1069
+ }), k = b(() => e.pageCardProps || p.value), x = b(() => e.waterMarkProps || h.value || {}), y = b(() => e.pageContentStyle || m.value), g = b(() => e.pageChildrenContentStyle || w.value || {}), C = b(() => _e(e.usePageCard) ? e.usePageCard : _e(R.value) ? R.value : !0), {
1070
1070
  wrapSSR: $,
1071
1071
  hashId: u
1072
1072
  } = Hn(r), S = () => {
1073
- var L, H, N, F, W, X;
1074
- const M = K(t, e, "pageChildrenExtraRender");
1073
+ var P, H, N, D, V, Y;
1074
+ const O = K(t, e, "pageChildrenExtraRender");
1075
1075
  return n("div", {
1076
1076
  class: `${r}-children-content ${u.value}`,
1077
1077
  style: g.value
1078
- }, [M && (M == null ? void 0 : M()), C.value ? n(Lt, q(k.value ? re(k.value, ["loading", "bodyStyle"]) : {}, {
1079
- style: i.value ? {
1078
+ }, [O && (O == null ? void 0 : O()), C.value ? n(Lt, G(k.value ? se(k.value, ["loading", "bodyStyle"]) : {}, {
1079
+ style: o.value ? {
1080
1080
  minHeight: "853px"
1081
1081
  } : void 0,
1082
1082
  bordered: !1
1083
1083
  }), {
1084
1084
  default: () => {
1085
- var U;
1086
- return [(U = t.default) == null ? void 0 : U.call(t)];
1085
+ var _;
1086
+ return [(_ = t.default) == null ? void 0 : _.call(t)];
1087
1087
  }
1088
- }) : M ? n("div", {
1088
+ }) : O ? n("div", {
1089
1089
  style: {
1090
- marginBlockStart: `${(F = (N = (H = (L = l == null ? void 0 : l.token) == null ? void 0 : L.value) == null ? void 0 : H.layout) == null ? void 0 : N.pageContainer) == null ? void 0 : F.marginBlockPageContainerContent}px`
1090
+ marginBlockStart: `${(D = (N = (H = (P = l == null ? void 0 : l.token) == null ? void 0 : P.value) == null ? void 0 : H.layout) == null ? void 0 : N.pageContainer) == null ? void 0 : D.marginBlockPageContainerContent}px`
1091
1091
  }
1092
- }, [(W = t.default) == null ? void 0 : W.call(t)]) : (X = t.default) == null ? void 0 : X.call(t)]);
1093
- }, R = () => {
1094
- let M;
1095
- return n(ee, null, [e.waterMark && d.value ? n(Qt, x.value, Vn(M = S()) ? M : {
1096
- default: () => [M]
1092
+ }, [(V = t.default) == null ? void 0 : V.call(t)]) : (Y = t.default) == null ? void 0 : Y.call(t)]);
1093
+ }, M = () => {
1094
+ let O;
1095
+ return n(Q, null, [e.waterMark && d.value ? n(Qt, x.value, Vn(O = S()) ? O : {
1096
+ default: () => [O]
1097
1097
  }) : S()]);
1098
1098
  };
1099
1099
  return () => {
1100
- const M = K(t, e, "pageHeaderRender") || f.value, L = K(t, e, "breadcrumbRender"), H = K(t, e, "contentRender");
1101
- return $(n(xe, {
1100
+ const O = K(t, e, "pageHeaderRender") || f.value, P = K(t, e, "breadcrumbRender"), H = K(t, e, "contentRender");
1101
+ return $(n(Ce, {
1102
1102
  spinning: e.loading,
1103
- indicator: P == null ? void 0 : P.value
1103
+ indicator: T == null ? void 0 : T.value
1104
1104
  }, {
1105
1105
  default: () => [n("div", {
1106
1106
  style: a.style,
@@ -1108,25 +1108,25 @@ const Mi = /* @__PURE__ */ j({
1108
1108
  [`${u.value}`]: !0,
1109
1109
  [`${r}`]: !0
1110
1110
  }
1111
- }, [!i.value && M !== !1 && (M || n(Nn, {
1111
+ }, [!o.value && O !== !1 && (O || n(Nn, {
1112
1112
  style: e.pageHeaderStyle,
1113
- breadcrumb: L,
1113
+ breadcrumb: P,
1114
1114
  content: H
1115
1115
  }, null)), n("div", {
1116
1116
  class: [I, u.value]
1117
1117
  }, [n("div", {
1118
1118
  class: `${I}-children ${u.value}`,
1119
1119
  style: y.value
1120
- }, [R()])])])]
1120
+ }, [M()])])])]
1121
1121
  }));
1122
1122
  };
1123
1123
  }
1124
- }), Ae = {
1125
- ...de,
1126
- ...Me,
1127
- logo: se.logo,
1128
- logoStyle: se.logoStyle,
1129
- logoDirection: se.logoDirection,
1124
+ }), Ue = {
1125
+ ...ue,
1126
+ ...Oe,
1127
+ logo: de.logo,
1128
+ logoStyle: de.logoStyle,
1129
+ logoDirection: de.logoDirection,
1130
1130
  menuLoading: Boolean,
1131
1131
  autoHideHeader: Boolean,
1132
1132
  collapsed: Boolean,
@@ -1162,7 +1162,7 @@ const Mi = /* @__PURE__ */ j({
1162
1162
  onMenuHeaderClick: Function,
1163
1163
  onSelect: Z.onSelect
1164
1164
  }, vt = {
1165
- ...Ae,
1165
+ ...Ue,
1166
1166
  headerTitleRender: {
1167
1167
  type: [Object, Function],
1168
1168
  default: () => {
@@ -1182,12 +1182,12 @@ const Mi = /* @__PURE__ */ j({
1182
1182
  collapsedWidth: Z.collapsedWidth,
1183
1183
  siderWidth: Z.siderWidth
1184
1184
  }, xt = {
1185
- loading: D.looseBool,
1185
+ loading: L.looseBool,
1186
1186
  isMobile: Z.isMobile,
1187
- collapsed: Me.collapsed,
1187
+ collapsed: Oe.collapsed,
1188
1188
  siderWidth: Z.siderWidth,
1189
1189
  collapsedWidth: Z.collapsedWidth,
1190
- isFixedMultiTab: de.fixedMultiTab,
1190
+ isFixedMultiTab: ue.fixedMultiTab,
1191
1191
  onReloadPage: {
1192
1192
  type: Function
1193
1193
  },
@@ -1243,7 +1243,7 @@ const Mi = /* @__PURE__ */ j({
1243
1243
  title: "Ant Design Vue",
1244
1244
  href: "https://next.antdv.com/components/overview-cn/",
1245
1245
  blankTarget: !0
1246
- }], Be = /* @__PURE__ */ j({
1246
+ }], $e = /* @__PURE__ */ W({
1247
1247
  name: "GlobalFooter",
1248
1248
  props: {
1249
1249
  links: {
@@ -1256,41 +1256,41 @@ const Mi = /* @__PURE__ */ j({
1256
1256
  }
1257
1257
  },
1258
1258
  setup(e) {
1259
- const t = fe({
1259
+ const t = ge({
1260
1260
  suffixCls: "global-footer",
1261
1261
  isPor: !0
1262
1262
  }), {
1263
1263
  wrapSSR: a,
1264
- hashId: o
1265
- } = ne("ProLayoutFooter", [jn], t);
1264
+ hashId: i
1265
+ } = ae("ProLayoutFooter", [jn], t);
1266
1266
  return () => a(n(Dt, {
1267
1267
  style: {
1268
1268
  padding: 0
1269
1269
  }
1270
1270
  }, {
1271
1271
  default: () => [n("div", {
1272
- class: [t, o.value]
1272
+ class: [t, i.value]
1273
1273
  }, [e.links && n("div", {
1274
- class: `${t}-links ${o.value}`
1275
- }, [e.links.map((i) => n("a", {
1276
- key: i.key,
1277
- title: i.key,
1278
- target: i.blankTarget ? "_blank" : "_self",
1279
- href: i.href
1280
- }, [i.title]))]), e.copyright && n("div", {
1281
- class: `${t}-copyright ${o.value}`
1282
- }, [ae("Copyright  2022  "), n("a", {
1274
+ class: `${t}-links ${i.value}`
1275
+ }, [e.links.map((o) => n("a", {
1276
+ key: o.key,
1277
+ title: o.key,
1278
+ target: o.blankTarget ? "_blank" : "_self",
1279
+ href: o.href
1280
+ }, [o.title]))]), e.copyright && n("div", {
1281
+ class: `${t}-copyright ${i.value}`
1282
+ }, [oe("Copyright  2022  "), n("a", {
1283
1283
  href: "https://beian.miit.gov.cn/"
1284
1284
  }, [e.copyright])])])]
1285
1285
  }));
1286
1286
  }
1287
1287
  }), wt = {
1288
- ...de,
1289
- ...Ae,
1288
+ ...ue,
1289
+ ...Ue,
1290
1290
  ...Z,
1291
1291
  ...vt,
1292
1292
  ...xt,
1293
- ...we,
1293
+ ...Se,
1294
1294
  pure: Boolean,
1295
1295
  token: Object,
1296
1296
  waterMark: {
@@ -1312,9 +1312,9 @@ const Mi = /* @__PURE__ */ j({
1312
1312
  type: [Object, Function],
1313
1313
  default: () => null
1314
1314
  },
1315
- disableContentMargin: D.looseBool,
1316
- isChildrenLayout: D.looseBool,
1317
- loading: D.looseBool,
1315
+ disableContentMargin: L.looseBool,
1316
+ isChildrenLayout: L.looseBool,
1317
+ loading: L.looseBool,
1318
1318
  footerLinks: {
1319
1319
  type: [Array, Boolean],
1320
1320
  default: Ct
@@ -1337,7 +1337,7 @@ const Mi = /* @__PURE__ */ j({
1337
1337
  type: Array,
1338
1338
  default: () => []
1339
1339
  },
1340
- collapsed: D.looseBool
1340
+ collapsed: L.looseBool
1341
1341
  }, Wn = (e) => ({
1342
1342
  [e.componentCls]: {
1343
1343
  display: "flex",
@@ -1418,7 +1418,7 @@ const Mi = /* @__PURE__ */ j({
1418
1418
  "&-fixed": {
1419
1419
  position: "fixed",
1420
1420
  height: 62,
1421
- top: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.heightLayoutHeader) || V.headerHeight,
1421
+ top: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.heightLayoutHeader) || j.headerHeight,
1422
1422
  right: 0,
1423
1423
  zIndex: 9,
1424
1424
  transition: "width .2s"
@@ -1427,8 +1427,8 @@ const Mi = /* @__PURE__ */ j({
1427
1427
  };
1428
1428
  };
1429
1429
  function Un(e) {
1430
- return Ne("ProMultiTabs", (t) => {
1431
- const a = ze(t, {
1430
+ return ze("ProMultiTabs", (t) => {
1431
+ const a = He(t, {
1432
1432
  componentWrapCls: `${t.componentCls}-wrap`
1433
1433
  });
1434
1434
  return [An(a)];
@@ -1453,13 +1453,13 @@ const En = [
1453
1453
  }
1454
1454
  ];
1455
1455
  function Xn(e) {
1456
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !le(e);
1456
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !re(e);
1457
1457
  }
1458
- function G(e) {
1458
+ function A(e) {
1459
1459
  var t;
1460
1460
  return ((t = e == null ? void 0 : e.meta) == null ? void 0 : t.currenFulltPath) || e.fullPath || e.path;
1461
1461
  }
1462
- const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1462
+ const Yn = Le.TabPane, _n = ie.Item, Gn = /* @__PURE__ */ W({
1463
1463
  props: {
1464
1464
  ...xt,
1465
1465
  visible: {
@@ -1472,37 +1472,37 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1472
1472
  const {
1473
1473
  isMobile: t,
1474
1474
  isFixedMultiTab: a
1475
- } = Se(e), o = Re(!1), i = rt({
1475
+ } = Ie(e), i = ke(!1), o = rt({
1476
1476
  activeKey: "",
1477
1477
  contextMenuActiveKey: ""
1478
- }), d = De(), {
1478
+ }), d = Ne(), {
1479
1479
  menuData: f,
1480
- flatMenuData: c,
1480
+ flatMenuData: m,
1481
1481
  layout: w,
1482
1482
  splitMenus: p,
1483
- getPrefixCls: O
1484
- } = te(), h = O({
1483
+ getPrefixCls: R
1484
+ } = te(), h = R({
1485
1485
  isPor: !0,
1486
1486
  suffixCls: "multi-tab"
1487
1487
  }), {
1488
- wrapSSR: P,
1488
+ wrapSSR: T,
1489
1489
  hashId: l
1490
- } = Un(h), r = Re([]);
1491
- ce(r, () => {
1492
- var m;
1493
- (m = e.onChangeTabs) == null || m.call(e, He(A(r)));
1490
+ } = Un(h), r = ke([]);
1491
+ me(r, () => {
1492
+ var c;
1493
+ (c = e.onChangeTabs) == null || c.call(e, Ve(U(r)));
1494
1494
  }, {
1495
1495
  deep: !0
1496
1496
  });
1497
- const I = b(() => w.value === "mix" && !e.isMobile && p.value), k = b(() => G(d.currentRoute.value)), x = b(() => a.value && !t.value), y = b(() => {
1498
- const m = !(I.value && A(c.value).length === 0 || f.value.length === 0 || w.value === "top");
1499
- return x.value && m ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
1497
+ const I = b(() => w.value === "mix" && !e.isMobile && p.value), k = b(() => A(d.currentRoute.value)), x = b(() => a.value && !t.value), y = b(() => {
1498
+ const c = !(I.value && U(m.value).length === 0 || f.value.length === 0 || w.value === "top");
1499
+ return x.value && c ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
1500
1500
  }), g = b(() => ct(`${h}-wrap`, {
1501
1501
  [`${l.value}`]: !0,
1502
1502
  [`${h}-wrap-fixed`]: e.isFixedMultiTab,
1503
1503
  [`${h}-wrap-loading`]: e.loading
1504
1504
  })), C = b(() => {
1505
- const m = {
1505
+ const c = {
1506
1506
  display: e.visible ? void 0 : "none"
1507
1507
  };
1508
1508
  return e.isFixedMultiTab ? {
@@ -1510,169 +1510,177 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1510
1510
  width: y.value,
1511
1511
  paddingTop: "6px",
1512
1512
  zIndex: 99,
1513
- ...m
1514
- } : m;
1515
- }), $ = (m) => G(m) === k.value, u = (m) => {
1516
- if (m.name && m.meta && m.meta.tagHidden !== !0) {
1517
- const v = G(m), B = r.value.find((z) => G(z) === v), T = {
1518
- path: m.path,
1513
+ ...c
1514
+ } : c;
1515
+ }), $ = (c) => A(c) === k.value, u = (c) => {
1516
+ if (c.name && c.meta && c.meta.tagHidden !== !0) {
1517
+ const v = A(c), B = r.value.find((z) => A(z) === v), F = {
1518
+ path: c.path,
1519
1519
  fullPath: v,
1520
- query: m.query,
1521
- params: m.params,
1522
- name: m.name,
1520
+ query: c.query,
1521
+ params: c.params,
1522
+ name: c.name,
1523
1523
  meta: {
1524
- ...m.meta
1524
+ ...c.meta,
1525
+ originTagPath: c.fullPath
1525
1526
  }
1526
1527
  };
1527
- B ? Object.assign(B, T) : m.meta.tagFixed ? r.value.unshift(T) : r.value.push(T), $(m) && (i.activeKey = v);
1528
+ B ? Object.assign(B, F) : c.meta.tagFixed ? r.value.unshift(F) : r.value.push(F), $(c) && (o.activeKey = v);
1528
1529
  }
1529
- }, S = (m) => {
1530
- m.forEach((v) => {
1530
+ }, S = (c) => {
1531
+ c.forEach((v) => {
1531
1532
  v.meta && v.meta.tagFixed && u(v), v.children && S(v.children);
1532
1533
  });
1533
1534
  };
1534
- ce(() => f.value, (m) => {
1535
- S(m);
1535
+ me(() => f.value, (c) => {
1536
+ S(c);
1536
1537
  }, {
1537
1538
  deep: !0,
1538
1539
  immediate: !0
1539
- }), ce(() => d.currentRoute.value, (m) => {
1540
- u(m);
1540
+ }), me(() => d.currentRoute.value, (c) => {
1541
+ u(c);
1541
1542
  }, {
1542
1543
  deep: !0,
1543
1544
  immediate: !0
1544
1545
  });
1545
- const R = () => {
1546
- const m = r.value.slice(-1)[0];
1547
- m ? d.push(m) : d.push("/");
1548
- }, M = async (m) => {
1549
- const v = r.value.find((B) => m === G(B));
1550
- r.value = r.value.filter((B) => G(B) !== m), v && $(v) && R();
1551
- }, L = (m) => {
1552
- const v = r.value.find((B) => G(B) === m);
1553
- v && i.activeKey !== G(v) && v.fullPath && d.push(v.fullPath);
1554
- }, H = () => {
1555
- var m;
1556
- o.value = !0, e.onReloadPage && ((m = e.onReloadPage) == null || m.call(e)), setTimeout(() => {
1557
- o.value = !1;
1546
+ const M = (c) => {
1547
+ var v, B;
1548
+ return ((B = (v = r.value.find((F) => (c || o.activeKey) === A(F))) == null ? void 0 : v.meta) == null ? void 0 : B.originTagPath) || c || o.activeKey;
1549
+ }, O = () => {
1550
+ const c = r.value.slice(-1)[0];
1551
+ c ? d.push({
1552
+ path: M(A(c))
1553
+ }) : d.push("/");
1554
+ }, P = async (c) => {
1555
+ const v = r.value.find((B) => c === A(B));
1556
+ r.value = r.value.filter((B) => A(B) !== c), v && $(v) && O();
1557
+ }, H = (c) => {
1558
+ const v = r.value.find((B) => A(B) === c);
1559
+ v && o.activeKey !== A(v) && d.push({
1560
+ path: M(A(v))
1561
+ });
1562
+ }, N = () => {
1563
+ var c;
1564
+ i.value = !0, e.onReloadPage && ((c = e.onReloadPage) == null || c.call(e)), setTimeout(() => {
1565
+ i.value = !1;
1558
1566
  }, 500);
1559
- }, N = (m) => m.meta && m.meta.tagFixed, F = (m) => i[m], W = (m, v) => {
1560
- const B = r.value.findIndex((T) => G(T) === F(v));
1561
- switch (m) {
1567
+ }, D = (c) => c.meta && c.meta.tagFixed, V = (c) => o[c], Y = (c, v) => {
1568
+ const B = r.value.findIndex((F) => A(F) === V(v));
1569
+ switch (c) {
1562
1570
  case "closeOthersTabs":
1563
- r.value = r.value.filter((T) => {
1571
+ r.value = r.value.filter((F) => {
1564
1572
  var z;
1565
- return G(T) === F(v) || ((z = T.meta) == null ? void 0 : z.tagFixed);
1573
+ return A(F) === V(v) || ((z = F.meta) == null ? void 0 : z.tagFixed);
1566
1574
  });
1567
1575
  break;
1568
1576
  case "closeLeftTabs":
1569
- B && (r.value = r.value.filter((T, z) => {
1570
- var _;
1571
- return z >= B || ((_ = T.meta) == null ? void 0 : _.tagFixed);
1577
+ B && (r.value = r.value.filter((F, z) => {
1578
+ var q;
1579
+ return z >= B || ((q = F.meta) == null ? void 0 : q.tagFixed);
1572
1580
  }));
1573
1581
  break;
1574
1582
  case "closeRightTabs":
1575
- B && (r.value = r.value.filter((T, z) => {
1576
- var _;
1577
- return z <= B || ((_ = T.meta) == null ? void 0 : _.tagFixed);
1583
+ B && (r.value = r.value.filter((F, z) => {
1584
+ var q;
1585
+ return z <= B || ((q = F.meta) == null ? void 0 : q.tagFixed);
1578
1586
  }));
1579
1587
  break;
1580
1588
  case "reloadPage":
1581
- (B === 0 || B) && i.activeKey === F(v) && H();
1589
+ (B === 0 || B) && o.activeKey === V(v) && N();
1582
1590
  break;
1583
1591
  }
1584
- i.activeKey !== F(v) && d.push(F(v));
1585
- }, X = (m, v) => {
1586
- const B = r.value.findIndex((T) => G(T) === v);
1587
- switch (m) {
1592
+ o.activeKey !== V(v) && d.push(M(V(v)));
1593
+ }, _ = (c, v) => {
1594
+ const B = r.value.findIndex((F) => A(F) === v);
1595
+ switch (c) {
1588
1596
  case "closeOthersTabs":
1589
- return r.value.filter((J, E) => {
1590
- var Q;
1591
- return E !== B && !((Q = J.meta) != null && Q.tagFixed);
1597
+ return r.value.filter((X, ne) => {
1598
+ var ee;
1599
+ return ne !== B && !((ee = X.meta) != null && ee.tagFixed);
1592
1600
  }).length === 0;
1593
1601
  case "closeLeftTabs":
1594
- return r.value.filter((J, E) => {
1595
- var Q;
1596
- return E < B && !((Q = J.meta) != null && Q.tagFixed);
1602
+ return r.value.filter((X, ne) => {
1603
+ var ee;
1604
+ return ne < B && !((ee = X.meta) != null && ee.tagFixed);
1597
1605
  }).length === 0;
1598
1606
  case "closeRightTabs":
1599
- return r.value.filter((J, E) => {
1600
- var Q;
1601
- return E > B && !((Q = J.meta) != null && Q.tagFixed);
1607
+ return r.value.filter((X, ne) => {
1608
+ var ee;
1609
+ return ne > B && !((ee = X.meta) != null && ee.tagFixed);
1602
1610
  }).length === 0;
1603
1611
  }
1604
- }, U = (m) => {
1612
+ }, E = (c) => {
1605
1613
  let v;
1606
1614
  const {
1607
1615
  path: B,
1608
- stateType: T
1609
- } = m;
1610
- return n(oe, {
1616
+ stateType: F
1617
+ } = c;
1618
+ return n(ie, {
1611
1619
  selectedKeys: [],
1612
1620
  onClick: ({
1613
1621
  key: z
1614
- }) => W(z, T)
1622
+ }) => Y(z, F)
1615
1623
  }, Xn(v = En.map((z) => n(_n, {
1616
1624
  key: z.key,
1617
- disabled: X(z.key, B)
1625
+ disabled: _(z.key, B)
1618
1626
  }, {
1619
1627
  default: () => [z.label]
1620
1628
  }))) ? v : {
1621
1629
  default: () => [v]
1622
1630
  });
1623
- }, Y = (m) => {
1631
+ }, J = (c) => {
1624
1632
  const {
1625
1633
  router: v
1626
- } = m;
1634
+ } = c;
1627
1635
  return n(Ye, {
1628
1636
  trigger: "contextmenu",
1629
- overlay: n(U, {
1630
- path: G(v) || "",
1637
+ overlay: n(E, {
1638
+ path: A(v) || "",
1631
1639
  stateType: "contextMenuActiveKey"
1632
1640
  }, null),
1633
1641
  onOpenChange: (B) => {
1634
- i.contextMenuActiveKey = B && G(v) || "";
1642
+ o.contextMenuActiveKey = B && A(v) || "";
1635
1643
  }
1636
1644
  }, {
1637
1645
  default: () => {
1638
1646
  var B;
1639
1647
  return [n("div", {
1640
1648
  class: [`${h}-title`, l.value]
1641
- }, [(B = v.meta) == null ? void 0 : B.title, i.activeKey === G(v) && n(Xt, {
1649
+ }, [(B = v.meta) == null ? void 0 : B.title, o.activeKey === A(v) && n(Xt, {
1642
1650
  class: [`${h}-reload-btn`, l.value],
1643
- spin: o.value,
1644
- onClick: (T) => {
1645
- T.stopPropagation(), !o.value && H();
1651
+ spin: i.value,
1652
+ onClick: (F) => {
1653
+ F.stopPropagation(), !i.value && N();
1646
1654
  }
1647
- }, null), r.value.length > 1 && !N(v) && n(dt, {
1655
+ }, null), r.value.length > 1 && !D(v) && n(dt, {
1648
1656
  class: [`${h}-close-btn`, l.value],
1649
- onClick: (T) => {
1650
- T.stopPropagation(), !o.value && M(G(v) || "");
1657
+ onClick: (F) => {
1658
+ F.stopPropagation(), !i.value && P(A(v) || "");
1651
1659
  }
1652
1660
  }, null)])];
1653
1661
  }
1654
1662
  });
1655
1663
  };
1656
- return () => P(n(ee, null, [!!e.isFixedMultiTab && Bt(n("div", {
1664
+ return () => T(n(Q, null, [!!e.isFixedMultiTab && Bt(n("div", {
1657
1665
  class: [`${h}-fixed`, l.value]
1658
- }, null), [[$t, e.visible]]), n(Pe, {
1666
+ }, null), [[$t, e.visible]]), n(Le, {
1659
1667
  hideAdd: !0,
1660
1668
  type: "editable-card",
1661
1669
  style: C.value,
1662
1670
  class: g.value,
1663
- activeKey: i.activeKey,
1664
- onTabClick: L
1671
+ activeKey: o.activeKey,
1672
+ onTabClick: H
1665
1673
  }, {
1666
- default: () => [r.value.map((m) => n(Yn, {
1667
- key: G(m),
1674
+ default: () => [r.value.map((c) => n(Yn, {
1675
+ key: A(c),
1668
1676
  closable: !1,
1669
- tab: n(Y, {
1670
- router: m
1677
+ tab: n(J, {
1678
+ router: c
1671
1679
  }, null)
1672
1680
  }, null))],
1673
1681
  rightExtra: () => n(Ye, {
1674
- overlay: n(U, {
1675
- path: i.activeKey,
1682
+ overlay: n(E, {
1683
+ path: o.activeKey,
1676
1684
  stateType: "activeKey"
1677
1685
  }, null)
1678
1686
  }, {
@@ -1685,22 +1693,22 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1685
1693
  }
1686
1694
  }), {
1687
1695
  Content: qn
1688
- } = me, Ue = (e, {
1696
+ } = fe, Ee = (e, {
1689
1697
  slots: t,
1690
1698
  attrs: a
1691
1699
  }) => {
1692
1700
  var I;
1693
1701
  const {
1694
- hashId: o,
1695
- prefixCls: i,
1702
+ hashId: i,
1703
+ prefixCls: o,
1696
1704
  isMobile: d,
1697
1705
  loading: f,
1698
- collapsed: c,
1706
+ collapsed: m,
1699
1707
  siderWidth: w,
1700
1708
  isShowTabsBar: p,
1701
- isFixedMultiTab: O,
1709
+ isFixedMultiTab: R,
1702
1710
  onReloadPage: h,
1703
- onChangeTabs: P
1711
+ onChangeTabs: T
1704
1712
  } = e;
1705
1713
  if (e.isChildrenLayout)
1706
1714
  return (I = t.default) == null ? void 0 : I.call(t);
@@ -1708,23 +1716,23 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1708
1716
  flatMenuData: l,
1709
1717
  layout: r
1710
1718
  } = te();
1711
- return n(ee, null, [n(Gn, {
1712
- visible: (A(r) === "mix" ? A(l).length > 0 : !0) && p,
1719
+ return n(Q, null, [n(Gn, {
1720
+ visible: (U(r) === "mix" ? U(l).length > 0 : !0) && p,
1713
1721
  isMobile: d,
1714
1722
  loading: f,
1715
- isFixedMultiTab: O,
1723
+ isFixedMultiTab: R,
1716
1724
  siderWidth: w,
1717
- collapsed: c,
1725
+ collapsed: m,
1718
1726
  onReloadPage: h,
1719
- onChangeTabs: P
1727
+ onChangeTabs: T
1720
1728
  }, null), n(qn, {
1721
1729
  style: a.style,
1722
- class: [`${i}-content`]
1730
+ class: [`${o}-content`]
1723
1731
  }, {
1724
1732
  default: () => {
1725
1733
  var k;
1726
1734
  return [f && n(un, null, null), n("div", {
1727
- class: [`${i}-content-spin-container`, o],
1735
+ class: [`${o}-content-spin-container`, i],
1728
1736
  style: {
1729
1737
  opacity: f ? "0" : void 0
1730
1738
  }
@@ -1732,17 +1740,17 @@ const Yn = Pe.TabPane, _n = oe.Item, Gn = /* @__PURE__ */ j({
1732
1740
  }
1733
1741
  })]);
1734
1742
  };
1735
- Ue.inheritAttrs = !1;
1736
- Ue.displayName = "wrap-content";
1743
+ Ee.inheritAttrs = !1;
1744
+ Ee.displayName = "wrap-content";
1737
1745
  const Zn = (e) => {
1738
- var t, a, o, i;
1746
+ var t, a, i, o;
1739
1747
  return {
1740
1748
  [`${e.proComponentsCls}-basic-layout`]: {
1741
1749
  [`${e.antCls}-layout-header${e.componentCls}${e.componentCls}-light`]: {
1742
1750
  backgroundColor: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.colorBgMenu) || e.colorBgElevated
1743
1751
  },
1744
1752
  [`${e.antCls}-layout-header${e.componentCls}${e.componentCls}-dark`]: {
1745
- backgroundColor: (i = (o = e.layout) == null ? void 0 : o.header) == null ? void 0 : i.colorDarkBgMenu,
1753
+ backgroundColor: (o = (i = e.layout) == null ? void 0 : i.header) == null ? void 0 : o.colorDarkBgMenu,
1746
1754
  [`${e.proComponentsCls}-global-header-collapsed-button`]: {
1747
1755
  color: "#fff"
1748
1756
  }
@@ -1871,55 +1879,55 @@ const Zn = (e) => {
1871
1879
  }
1872
1880
  }), St = {
1873
1881
  ...Z,
1874
- ...Ae
1875
- }, Qn = (e, t) => e === !1 ? null : e ? e(t, null) : t, ea = /* @__PURE__ */ j({
1882
+ ...Ue
1883
+ }, Qn = (e, t) => e === !1 ? null : e ? e(t, null) : t, ea = /* @__PURE__ */ W({
1876
1884
  props: St,
1877
1885
  setup(e) {
1878
- return () => e.rightContentRender && typeof e.rightContentRender == "function" && n(ee, null, [e.rightContentRender({
1886
+ return () => e.rightContentRender && typeof e.rightContentRender == "function" && n(Q, null, [e.rightContentRender({
1879
1887
  ...e
1880
1888
  })]);
1881
1889
  }
1882
- }), ta = /* @__PURE__ */ j({
1890
+ }), ta = /* @__PURE__ */ W({
1883
1891
  props: St,
1884
1892
  inheritAttrs: !1,
1885
1893
  setup(e, {
1886
1894
  slots: t,
1887
1895
  emit: a
1888
1896
  }) {
1889
- const o = De(), {
1890
- token: i
1891
- } = ge(), {
1897
+ const i = Ne(), {
1898
+ token: o
1899
+ } = he(), {
1892
1900
  getPrefixCls: d,
1893
1901
  openKeys: f,
1894
- selectedKeys: c
1902
+ selectedKeys: m
1895
1903
  } = te(), {
1896
1904
  width: w
1897
1905
  } = rn(), p = d({
1898
1906
  suffixCls: "global-header",
1899
1907
  isPor: !0
1900
1908
  }), {
1901
- wrapSSR: O,
1909
+ wrapSSR: R,
1902
1910
  hashId: h
1903
- } = ne("ProGlobalHeader", [Jn], p), P = b(() => !e.isMobile || e.layout === "top" || e.layout === "mix" && e.splitMenus), l = b(() => ({
1911
+ } = ae("ProGlobalHeader", [Jn], p), T = b(() => !e.isMobile || e.layout === "top" || e.layout === "mix" && e.splitMenus), l = b(() => ({
1904
1912
  [`${h.value}`]: !0,
1905
1913
  [`${p}`]: !0,
1906
1914
  [`${p}-${e.layout}`]: !0
1907
1915
  })), r = (y) => {
1908
1916
  var g;
1909
- if (o.currentRoute) {
1910
- const C = o.currentRoute.value.matched.concat();
1911
- e.onSelect && y === "select" && e.onSelect(C.filter(($) => $.name !== "index").map(($) => $.path)), e.onOpenKeys && y === "openKeys" && ((g = e.onOpenKeys) == null || g.call(e, C.filter(($) => $.path !== o.currentRoute.value.path).map(($) => $.path)));
1917
+ if (i.currentRoute) {
1918
+ const C = i.currentRoute.value.matched.concat();
1919
+ e.onSelect && y === "select" && e.onSelect(C.filter(($) => $.name !== "index").map(($) => $.path)), e.onOpenKeys && y === "openKeys" && ((g = e.onOpenKeys) == null || g.call(e, C.filter(($) => $.path !== i.currentRoute.value.path).map(($) => $.path)));
1912
1920
  }
1913
1921
  }, I = () => {
1914
1922
  a("collapse", !e.collapsed);
1915
1923
  }, k = b(() => e.collapsedButtonRender || bt), x = () => {
1916
1924
  var y;
1917
- return n(ee, null, [P.value ? n("div", {
1925
+ return n(Q, null, [T.value ? n("div", {
1918
1926
  style: {
1919
1927
  flex: 1
1920
1928
  },
1921
1929
  class: [`${p}-menu`, h.value]
1922
- }, [n(Te, {
1930
+ }, [n(Pe, {
1923
1931
  theme: {
1924
1932
  components: {
1925
1933
  Layout: {
@@ -1932,17 +1940,17 @@ const Zn = (e) => {
1932
1940
  colorActiveBarHeight: 2,
1933
1941
  colorActiveBarBorderSize: 0,
1934
1942
  horizontalItemBorderRadius: 4
1935
- }, i.value || {}, e.theme, "header")
1943
+ }, o.value || {}, e.theme, "header")
1936
1944
  }
1937
1945
  }
1938
1946
  }, {
1939
- default: () => [n(gt, q({
1947
+ default: () => [n(gt, G({
1940
1948
  theme: e.theme,
1941
1949
  mode: e.mode,
1942
1950
  collapsed: e.collapsed,
1943
1951
  menuData: e.menuData,
1944
1952
  openKeys: f.value,
1945
- selectedKeys: c.value,
1953
+ selectedKeys: m.value,
1946
1954
  iconfontUrl: e.iconfontUrl,
1947
1955
  menuItemRender: e.menuItemRender,
1948
1956
  subMenuItemRender: e.subMenuItemRender,
@@ -1958,7 +1966,7 @@ const Zn = (e) => {
1958
1966
  style: {
1959
1967
  flex: 1
1960
1968
  }
1961
- }, [(y = t.default) == null ? void 0 : y.call(t)]), e.layout !== "simple" && n(ea, q(e, {
1969
+ }, [(y = t.default) == null ? void 0 : y.call(t)]), e.layout !== "simple" && n(ea, G(e, {
1962
1970
  extraRightDropdownRender: e.extraRightDropdownRender,
1963
1971
  rightContentRender: e.rightContentRender
1964
1972
  }), null)]);
@@ -1972,12 +1980,12 @@ const Zn = (e) => {
1972
1980
  },
1973
1981
  class: [`${p}-logo`, e.isMobile ? "mobile" : "", h.value]
1974
1982
  }, [n("a", null, [yt(e.logo)])]);
1975
- return O(n("div", {
1983
+ return R(n("div", {
1976
1984
  class: l.value
1977
- }, [e.isMobile ? n(ee, null, [Qn(e.menuHeaderRender, y), e.isMobile && A(k) && n("span", {
1985
+ }, [e.isMobile ? n(Q, null, [Qn(e.menuHeaderRender, y), e.isMobile && U(k) && n("span", {
1978
1986
  class: `${p}-collapsed-button ${h.value}`,
1979
1987
  onClick: I
1980
- }, [A(k)(e.collapsed)]), x()]) : ["mix", "wide", "top"].includes(e.layout) ? n(ee, null, [n("div", {
1988
+ }, [U(k)(e.collapsed)]), x()]) : ["mix", "wide", "top"].includes(e.layout) ? n(Q, null, [n("div", {
1981
1989
  style: {
1982
1990
  width: e.layout === "wide" ? `${e.wideWidth}px` : void 0,
1983
1991
  padding: e.layout === "wide" && w.value < e.wideWidth ? "0 50px" : void 0
@@ -1985,48 +1993,48 @@ const Zn = (e) => {
1985
1993
  class: `${p}-main ${h.value}`
1986
1994
  }, [n("div", {
1987
1995
  class: `${p}-main-left ${h.value}`
1988
- }, [n(Ke, q(e, {
1996
+ }, [n(Ae, G(e, {
1989
1997
  renderKey: "headerTitleRender"
1990
1998
  }), null)]), x()])]) : x()]));
1991
1999
  };
1992
2000
  }
1993
2001
  });
1994
2002
  function na(e) {
1995
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !le(e);
2003
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !re(e);
1996
2004
  }
1997
2005
  const {
1998
2006
  Header: Qe
1999
- } = me, $e = /* @__PURE__ */ j({
2007
+ } = fe, Fe = /* @__PURE__ */ W({
2000
2008
  inheritAttrs: !1,
2001
2009
  props: vt,
2002
2010
  setup(e) {
2003
2011
  const {
2004
2012
  theme: t,
2005
2013
  isMobile: a,
2006
- fixedHeader: o,
2007
- headerHeight: i,
2014
+ fixedHeader: i,
2015
+ headerHeight: o,
2008
2016
  layout: d,
2009
2017
  onCollapse: f,
2010
- splitMenus: c
2011
- } = Se(e), {
2018
+ splitMenus: m
2019
+ } = Ie(e), {
2012
2020
  getPrefixCls: w,
2013
2021
  menuData: p
2014
- } = te(), O = w({
2022
+ } = te(), R = w({
2015
2023
  suffixCls: "header",
2016
2024
  isPor: !0
2017
2025
  }), h = w({
2018
2026
  suffixCls: "fixed-header",
2019
2027
  isPor: !0
2020
2028
  }), {
2021
- wrapSSR: P,
2029
+ wrapSSR: T,
2022
2030
  hashId: l
2023
- } = ne("ProLayoutHeader", [Zn], O), r = b(() => d.value === "wide"), I = b(() => o.value), k = b(() => d.value === "mix" || r.value), x = b(() => d.value === "side" || d.value === "simple"), y = b(() => x.value && "light" || t.value), g = b(() => ({
2031
+ } = ae("ProLayoutHeader", [Zn], R), r = b(() => d.value === "wide"), I = b(() => i.value), k = b(() => d.value === "mix" || r.value), x = b(() => d.value === "side" || d.value === "simple"), y = b(() => x.value && "light" || t.value), g = b(() => ({
2024
2032
  [`${l.value}`]: !0,
2025
- [`${O}-${y.value}`]: !0,
2026
- [`${O}`]: !0,
2033
+ [`${R}-${y.value}`]: !0,
2034
+ [`${R}`]: !0,
2027
2035
  [`${h}`]: I.value
2028
- })), C = b(() => I.value && !a.value), $ = b(() => c.value ? p.value && pn(p.value) || [] : d.value === "top" ? p.value : []), u = b(() => x.value && C.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), S = b(() => I.value ? 0 : void 0), R = () => {
2029
- const M = n(ta, q(e, {
2036
+ })), C = b(() => I.value && !a.value), $ = b(() => m.value ? p.value && pn(p.value) || [] : d.value === "top" ? p.value : []), u = b(() => x.value && C.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), S = b(() => I.value ? 0 : void 0), M = () => {
2037
+ const O = n(ta, G(e, {
2030
2038
  theme: y.value,
2031
2039
  mode: "horizontal",
2032
2040
  onCollapse: f.value,
@@ -2034,132 +2042,132 @@ const {
2034
2042
  }), {
2035
2043
  default: () => [k.value ? null : e.headerContentRender && typeof e.headerContentRender == "function" ? e.headerContentRender(e) : e.headerContentRender]
2036
2044
  });
2037
- return e.headerRender ? e.headerRender(e, M) : M;
2045
+ return e.headerRender ? e.headerRender(e, O) : O;
2038
2046
  };
2039
2047
  return () => {
2040
- let M;
2041
- return P(n(ee, null, [I.value && !r.value && n(Qe, {
2048
+ let O;
2049
+ return T(n(Q, null, [I.value && !r.value && n(Qe, {
2042
2050
  theme: y.value,
2043
2051
  style: {
2044
- height: `${i.value}px`,
2045
- lineHeight: `${i.value}px`,
2052
+ height: `${o.value}px`,
2053
+ lineHeight: `${o.value}px`,
2046
2054
  background: "transparent"
2047
2055
  }
2048
2056
  }, null), n(Qe, {
2049
2057
  theme: y.value,
2050
2058
  class: g.value,
2051
2059
  style: {
2052
- height: `${i.value}px`,
2053
- lineHeight: `${i.value}px`,
2060
+ height: `${o.value}px`,
2061
+ lineHeight: `${o.value}px`,
2054
2062
  width: u.value,
2055
2063
  zIndex: x.value ? 100 : 101,
2056
2064
  right: S.value
2057
2065
  }
2058
- }, na(M = R()) ? M : {
2059
- default: () => [M]
2066
+ }, na(O = M()) ? O : {
2067
+ default: () => [O]
2060
2068
  })]));
2061
2069
  };
2062
2070
  }
2063
- }), aa = /* @__PURE__ */ j({
2071
+ }), aa = /* @__PURE__ */ W({
2064
2072
  name: "BaseProLayout",
2065
2073
  inheritAttrs: !1,
2066
2074
  components: {
2067
- GlobalHeader: $e,
2068
- GlobalFooter: Be,
2069
- SiderMenuWrapper: ke
2075
+ GlobalHeader: Fe,
2076
+ GlobalFooter: $e,
2077
+ SiderMenuWrapper: Be
2070
2078
  },
2071
2079
  props: wt,
2072
2080
  emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
2073
2081
  setup(e, {
2074
2082
  slots: t
2075
2083
  }) {
2076
- const a = fe({
2084
+ const a = ge({
2077
2085
  suffixCls: "basic-layout",
2078
2086
  isPor: !0
2079
2087
  }), {
2080
- wrapSSR: o,
2081
- hashId: i
2082
- } = ne("ProLayout", [Wn, Kn], a), d = on(), {
2088
+ wrapSSR: i,
2089
+ hashId: o
2090
+ } = ae("ProLayout", [Wn, Kn], a), d = on(), {
2083
2091
  token: f
2084
- } = ge(), c = b(() => {
2092
+ } = he(), m = b(() => {
2085
2093
  var y;
2086
2094
  return (y = f == null ? void 0 : f.value) == null ? void 0 : y.colorPrimary;
2087
2095
  });
2088
2096
  Ft(() => {
2089
- c.value && document.querySelector("html") && document.querySelector("html").style.setProperty("--gx-primary-color", c.value);
2097
+ m.value && document.querySelector("html") && document.querySelector("html").style.setProperty("--gx-primary-color", m.value);
2090
2098
  });
2091
- const w = b(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), p = b(() => e.layout === "wide"), O = b(() => w.value), h = b(() => e.collapsed ? e.collapsedWidth : e.siderWidth), P = b(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), l = b(() => (d.value === "sm" || d.value === "xs") && !e.disableMobile && !p.value), r = rt({
2099
+ const w = b(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), p = b(() => e.layout === "wide"), R = b(() => w.value), h = b(() => e.collapsed ? e.collapsedWidth : e.siderWidth), T = b(() => (e.theme || "dark").toLocaleLowerCase().includes("dark") ? "dark" : "light"), l = b(() => (d.value === "sm" || d.value === "xs") && !e.disableMobile && !p.value), r = rt({
2092
2100
  position: "relative"
2093
2101
  });
2094
2102
  (e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (r.minHeight = 0);
2095
- const I = (y, g) => y.headerRender === !1 || y.pure ? null : n($e, q(y, {
2103
+ const I = (y, g) => y.headerRender === !1 || y.pure ? null : n(Fe, G(y, {
2096
2104
  matchMenuKeys: g || []
2097
2105
  }), null), k = b(() => ({
2098
2106
  ...e.breadcrumb,
2099
2107
  itemRender: K(t, e, "breadcrumbRender")
2100
- })), x = b(() => O.value && e.selectedKeys ? vn(e.menuData, e.selectedKeys[0]) : []);
2108
+ })), x = b(() => R.value && e.selectedKeys ? vn(e.menuData, e.selectedKeys[0]) : []);
2101
2109
  return Rn({
2102
- getPrefixCls: fe,
2103
- ...re(Se(e), ["layout", "waterMark", "menuData", "openKeys", "splitMenus", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps"].concat(Object.keys(pt))),
2104
- theme: P.value,
2110
+ getPrefixCls: ge,
2111
+ ...se(Ie(e), ["layout", "waterMark", "menuData", "openKeys", "splitMenus", "headerHeight", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps"].concat(Object.keys(pt))),
2112
+ theme: T.value,
2105
2113
  hasContentWide: p,
2106
2114
  isMobile: l,
2107
2115
  siderWidth: h,
2108
2116
  breadcrumb: k,
2109
2117
  flatMenuData: x,
2110
2118
  hasSide: w,
2111
- flatMenu: O,
2119
+ flatMenu: R,
2112
2120
  pageHeaderRender: b(() => K(t, e, "pageHeaderRender"))
2113
2121
  }), () => {
2114
- var z;
2115
- const y = K(t, e, "collapsedButtonRender"), g = K(t, e, "headerContentRender"), C = K(t, e, "rightContentRender"), $ = K(t, e, "headerRender"), u = K(t, e, "footerRender"), S = K(t, e, "links"), R = K(t, e, "copyrightRender"), M = K(t, e, "extraRightDropdownRender"), L = K(t, e, "menuHeaderRender"), H = K(t, e, "menuExtraRender"), N = K(t, e, "menuContentRender"), F = K(t, e, "menuFooterRender"), W = K(t, e, "menuItemRender"), X = K(t, e, "subMenuItemRender"), U = {
2116
- menuItemRender: W,
2117
- subMenuItemRender: X
2118
- }, Y = b(() => I({
2122
+ var F;
2123
+ const y = K(t, e, "collapsedButtonRender"), g = K(t, e, "headerContentRender"), C = K(t, e, "rightContentRender"), $ = K(t, e, "headerRender"), u = K(t, e, "footerRender"), S = K(t, e, "links"), M = K(t, e, "copyrightRender"), O = K(t, e, "extraRightDropdownRender"), P = K(t, e, "menuHeaderRender"), H = K(t, e, "menuExtraRender"), N = K(t, e, "menuContentRender"), D = K(t, e, "menuFooterRender"), V = K(t, e, "menuItemRender"), Y = K(t, e, "subMenuItemRender"), _ = {
2124
+ menuItemRender: V,
2125
+ subMenuItemRender: Y
2126
+ }, E = b(() => I({
2119
2127
  ...e,
2120
- ...U,
2128
+ ..._,
2121
2129
  hasSiderMenu: w.value,
2122
2130
  menuData: e.menuData,
2123
- isMobile: A(l),
2131
+ isMobile: U(l),
2124
2132
  rightContentRender: C,
2125
- extraRightDropdownRender: M,
2126
- headerTitleRender: L,
2133
+ extraRightDropdownRender: O,
2134
+ headerTitleRender: P,
2127
2135
  headerContentRender: g,
2128
2136
  headerRender: $,
2129
- theme: P.value
2130
- }, e.matchMenuKeys)), m = b(() => ({
2131
- [`${i.value}`]: !0,
2137
+ theme: T.value
2138
+ }, e.matchMenuKeys)), J = b(() => ({
2139
+ [`${o.value}`]: !0,
2132
2140
  [`${a}`]: !0,
2133
2141
  [`${a}-${e.layout}`]: !0
2134
- })), v = b(() => p.value ? {
2142
+ })), c = b(() => p.value ? {
2135
2143
  minWidth: `${e.wideWidth}px`
2136
- } : void 0), B = b(() => p.value ? {
2144
+ } : void 0), v = b(() => p.value ? {
2137
2145
  width: e.menuData.length ? `${e.wideWidth}px` : `${e.wideWidth - e.siderWidth - 20}px`,
2138
2146
  paddingTop: `${e.headerHeight + 20}px`,
2139
2147
  margin: p.value ? "0 auto" : void 0
2140
- } : void 0), T = b(() => p.value ? {
2148
+ } : void 0), B = b(() => p.value ? {
2141
2149
  minHeight: "835px"
2142
2150
  } : {});
2143
- return o(n(ee, null, [e.pure ? (z = t.default) == null ? void 0 : z.call(t) : n("div", {
2144
- class: m.value,
2151
+ return i(n(Q, null, [e.pure ? (F = t.default) == null ? void 0 : F.call(t) : n("div", {
2152
+ class: J.value,
2153
+ style: c.value
2154
+ }, [n(fe, {
2145
2155
  style: v.value
2146
- }, [n(me, {
2147
- style: B.value
2148
2156
  }, {
2149
- default: () => [n(ke, q(Ve(e, ["pure", "theme"]), {
2157
+ default: () => [n(Be, G(je(e, ["pure", "theme"]), {
2150
2158
  links: S,
2151
- theme: P.value,
2159
+ theme: T.value,
2152
2160
  isMobile: l.value,
2153
- menuHeaderRender: L,
2161
+ menuHeaderRender: P,
2154
2162
  menuContentRender: N,
2155
2163
  menuExtraRender: H,
2156
- menuFooterRender: F,
2164
+ menuFooterRender: D,
2157
2165
  collapsedButtonRender: y
2158
- }), null), n(me, {
2166
+ }), null), n(fe, {
2159
2167
  style: r
2160
2168
  }, {
2161
- default: () => [Y.value, n(Ue, q({
2162
- hashId: i.value,
2169
+ default: () => [E.value, n(Ee, G({
2170
+ hashId: o.value,
2163
2171
  isMobile: l.value,
2164
2172
  prefixCls: a,
2165
2173
  collapsedWidth: e.collapsedWidth,
@@ -2169,27 +2177,27 @@ const {
2169
2177
  isFixedMultiTab: e.fixedMultiTab,
2170
2178
  siderWidth: e.siderWidth,
2171
2179
  collapsed: e.collapsed,
2172
- style: e.disableContentMargin ? T.value : {
2180
+ style: e.disableContentMargin ? B.value : {
2173
2181
  ...e.contentStyle,
2174
- ...T.value
2182
+ ...B.value
2175
2183
  }
2176
- }, re(e, ["onReloadPage", "onChangeTabs"])), {
2184
+ }, se(e, ["onReloadPage", "onChangeTabs"])), {
2177
2185
  default: () => {
2178
- var _;
2179
- return [(_ = t.default) == null ? void 0 : _.call(t)];
2186
+ var z;
2187
+ return [(z = t.default) == null ? void 0 : z.call(t)];
2180
2188
  }
2181
- }), u === !1 ? null : u ? u(e) : n(Be, {
2182
- copyright: R
2189
+ }), u === !1 ? null : u ? u(e) : n($e, {
2190
+ copyright: M
2183
2191
  }, null)]
2184
2192
  })]
2185
2193
  })])]));
2186
2194
  };
2187
2195
  }
2188
- }), Oi = /* @__PURE__ */ j({
2196
+ }), Oi = /* @__PURE__ */ W({
2189
2197
  components: {
2190
- GlobalHeader: $e,
2191
- GlobalFooter: Be,
2192
- SiderMenuWrapper: ke
2198
+ GlobalHeader: Fe,
2199
+ GlobalFooter: $e,
2200
+ SiderMenuWrapper: Be
2193
2201
  },
2194
2202
  props: wt,
2195
2203
  emits: ["update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "menuHeaderClick", "menuClick", "changeTabs"],
@@ -2197,42 +2205,42 @@ const {
2197
2205
  slots: t,
2198
2206
  emit: a
2199
2207
  }) {
2200
- const o = b(() => e.theme !== void 0 ? {
2208
+ const i = b(() => e.theme !== void 0 ? {
2201
2209
  dark: e.theme === "realDark"
2202
- } : {}), i = (c) => {
2203
- a("update:collapsed", c), a("collapse", c);
2204
- }, d = (c) => {
2205
- a("update:open-keys", c), a("openKeys", c);
2206
- }, f = (c) => {
2207
- a("update:selected-keys", c), a("select", c);
2210
+ } : {}), o = (m) => {
2211
+ a("update:collapsed", m), a("collapse", m);
2212
+ }, d = (m) => {
2213
+ a("update:open-keys", m), a("openKeys", m);
2214
+ }, f = (m) => {
2215
+ a("update:selected-keys", m), a("select", m);
2208
2216
  };
2209
- return () => n(Te, {
2217
+ return () => n(Pe, {
2210
2218
  theme: e.primaryColor ? {
2211
2219
  token: {
2212
2220
  colorPrimary: e.primaryColor
2213
2221
  }
2214
2222
  } : void 0
2215
2223
  }, {
2216
- default: () => [n(qt, q({
2224
+ default: () => [n(qt, G({
2217
2225
  token: e.token
2218
- }, o.value), {
2219
- default: () => [n(aa, q(Ve(e, ["onSelect", "onOpenKeys", "onCollapse"]), {
2226
+ }, i.value), {
2227
+ default: () => [n(aa, G(je(e, ["onSelect", "onOpenKeys", "onCollapse"]), {
2220
2228
  onSelect: f,
2221
2229
  onOpenKeys: d,
2222
- onCollapse: i
2230
+ onCollapse: o
2223
2231
  }), t)]
2224
2232
  })]
2225
2233
  });
2226
2234
  }
2227
- }), It = (e, t, a) => e.map((o, i) => {
2235
+ }), It = (e, t, a) => e.map((i, o) => {
2228
2236
  var d;
2229
- return o.meta && (o.meta.key = a ? `${a}-${i}` : `${i}`), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = It(o.children, t, (d = o.meta) == null ? void 0 : d.key)), t[`${o.path}`] = o, o;
2237
+ return i.meta && (i.meta.key = a ? `${a}-${o}` : `${o}`), i.path = i.path.replace("//", "/"), i.children && i.children.length > 0 && (i.children = It(i.children, t, (d = i.meta) == null ? void 0 : d.key)), t[`${i.path}`] = i, i;
2230
2238
  }), Ri = (e) => {
2231
- const t = e.find((i) => i.path === "/"), a = {}, o = It((t == null ? void 0 : t.children) || [], a);
2239
+ const t = e.find((o) => o.path === "/"), a = {}, i = It((t == null ? void 0 : t.children) || [], a);
2232
2240
  return {
2233
- menuData: o,
2241
+ menuData: i,
2234
2242
  breadcrumb: a,
2235
- levelMenuData: en(o)
2243
+ levelMenuData: en(i)
2236
2244
  };
2237
2245
  }, Mt = [
2238
2246
  {
@@ -2438,17 +2446,17 @@ const {
2438
2446
  }
2439
2447
  }
2440
2448
  }
2441
- }), et = /* @__PURE__ */ j({
2449
+ }), et = /* @__PURE__ */ W({
2442
2450
  name: "BlockCheckbox",
2443
2451
  props: {
2444
- value: D.string,
2452
+ value: L.string,
2445
2453
  list: {
2446
2454
  type: Array,
2447
2455
  default: () => []
2448
2456
  },
2449
- configType: D.string,
2450
- prefixCls: D.string,
2451
- hashId: D.string,
2457
+ configType: L.string,
2458
+ prefixCls: L.string,
2459
+ hashId: L.string,
2452
2460
  onChange: Function
2453
2461
  },
2454
2462
  setup(e) {
@@ -2456,15 +2464,15 @@ const {
2456
2464
  const t = `${e.prefixCls}-block-checkbox`;
2457
2465
  return n("div", {
2458
2466
  class: [t, e.hashId]
2459
- }, [e.list.map((a) => n(Ie, {
2467
+ }, [e.list.map((a) => n(Me, {
2460
2468
  title: a.title,
2461
2469
  key: a.key
2462
2470
  }, {
2463
2471
  default: () => [n("div", {
2464
2472
  class: ct(e.hashId, `${t}-item`, `${t}-item-${a.key}`, `${t}-${e.configType}-item`),
2465
2473
  onClick: () => {
2466
- var o;
2467
- return (o = e.onChange) == null ? void 0 : o.call(e, a.key);
2474
+ var i;
2475
+ return (i = e.onChange) == null ? void 0 : i.call(e, a.key);
2468
2476
  }
2469
2477
  }, [a.key === "wide" && n("div", {
2470
2478
  class: [`${t}-item-${a.key}-content`, e.hashId]
@@ -2479,7 +2487,7 @@ const {
2479
2487
  }))]);
2480
2488
  };
2481
2489
  }
2482
- }), la = /* @__PURE__ */ j({
2490
+ }), la = /* @__PURE__ */ W({
2483
2491
  name: "ThemeColor",
2484
2492
  inheritAttrs: !1,
2485
2493
  props: {
@@ -2488,60 +2496,60 @@ const {
2488
2496
  type: Array,
2489
2497
  default: () => []
2490
2498
  },
2491
- prefixCls: D.string,
2492
- hashId: D.string,
2499
+ prefixCls: L.string,
2500
+ hashId: L.string,
2493
2501
  onChange: Function
2494
2502
  },
2495
2503
  setup(e) {
2496
2504
  return () => {
2497
2505
  var a;
2498
2506
  const t = `${e.prefixCls}-theme-color`;
2499
- return n(ee, null, [n("div", {
2507
+ return n(Q, null, [n("div", {
2500
2508
  class: `${t} ${e.hashId}`.trim()
2501
2509
  }, [(a = e.colorList) == null ? void 0 : a.map(({
2502
- key: o,
2503
- color: i,
2504
- title: d
2505
- }) => o ? n(Ie, {
2506
2510
  key: i,
2511
+ color: o,
2512
+ title: d
2513
+ }) => i ? n(Me, {
2514
+ key: o,
2507
2515
  title: d
2508
2516
  }, {
2509
2517
  default: () => {
2510
- var f, c;
2518
+ var f, m;
2511
2519
  return [n("div", {
2512
- class: [`${t}-block ${e.hashId}`.trim(), ((f = e.settingValue) == null ? void 0 : f.primaryColor) === i ? `${t}-block-checked` : ""],
2520
+ class: [`${t}-block ${e.hashId}`.trim(), ((f = e.settingValue) == null ? void 0 : f.primaryColor) === o ? `${t}-block-checked` : ""],
2513
2521
  style: {
2514
- backgroundColor: i
2522
+ backgroundColor: o
2515
2523
  },
2516
- onClick: () => e.onChange && e.onChange(i)
2517
- }, [((c = e.settingValue) == null ? void 0 : c.primaryColor) === i && n(ut, null, null)])];
2524
+ onClick: () => e.onChange && e.onChange(o)
2525
+ }, [((m = e.settingValue) == null ? void 0 : m.primaryColor) === o && n(ut, null, null)])];
2518
2526
  }
2519
2527
  }) : null)])]);
2520
2528
  };
2521
2529
  }
2522
- }), ye = /* @__PURE__ */ j({
2530
+ }), be = /* @__PURE__ */ W({
2523
2531
  name: "RegionalChange",
2524
2532
  props: {
2525
- label: D.string,
2526
- value: D.bool,
2527
- prefixCls: D.string,
2533
+ label: L.string,
2534
+ value: L.bool,
2535
+ prefixCls: L.string,
2528
2536
  valueKey: String,
2529
- hashId: D.string,
2530
- disabled: D.bool,
2537
+ hashId: L.string,
2538
+ disabled: L.bool,
2531
2539
  onChange: Function
2532
2540
  },
2533
2541
  setup(e) {
2534
- return () => n(ie, {
2542
+ return () => n(le, {
2535
2543
  class: `${e.prefixCls}-list ${e.hashId}`.trim(),
2536
2544
  split: !1,
2537
2545
  size: "small",
2538
2546
  renderItem: ({
2539
2547
  item: t
2540
- }) => n(Ie, {
2548
+ }) => n(Me, {
2541
2549
  title: t.disabled ? t.disabledReason : "",
2542
2550
  placement: "left"
2543
2551
  }, {
2544
- default: () => [n(ie.Item, {
2552
+ default: () => [n(le.Item, {
2545
2553
  actions: [t.action]
2546
2554
  }, {
2547
2555
  default: () => [n("span", {
@@ -2596,9 +2604,9 @@ const {
2596
2604
  }
2597
2605
  });
2598
2606
  function sa(e) {
2599
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !le(e);
2607
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !re(e);
2600
2608
  }
2601
- const da = /* @__PURE__ */ j({
2609
+ const da = /* @__PURE__ */ W({
2602
2610
  name: "ThemeEditor",
2603
2611
  props: {
2604
2612
  settingValue: Object,
@@ -2607,19 +2615,19 @@ const da = /* @__PURE__ */ j({
2607
2615
  setup(e) {
2608
2616
  const {
2609
2617
  getPrefixCls: t
2610
- } = te(), [a, o] = ve("header"), i = t({
2618
+ } = te(), [a, i] = xe("header"), o = t({
2611
2619
  suffixCls: "theme-editor",
2612
2620
  isPor: !0
2613
2621
  }), {
2614
2622
  wrapSSR: d,
2615
2623
  hashId: f
2616
- } = ne("ProThemeEditor", [ra], i), {
2617
- token: c
2618
- } = ge(), w = b(() => {
2624
+ } = ae("ProThemeEditor", [ra], o), {
2625
+ token: m
2626
+ } = he(), w = b(() => {
2619
2627
  var l;
2620
- return (l = c.value) == null ? void 0 : l.layout;
2628
+ return (l = m.value) == null ? void 0 : l.layout;
2621
2629
  }), p = b(() => {
2622
- var l, r, I, k, x, y, g, C, $, u, S, R, M, L, H, N, F, W, X, U, Y, m, v, B, T;
2630
+ var l, r, I, k, x, y, g, C, $, u, S, M, O, P, H, N, D, V, Y, _, E, J, c, v, B;
2623
2631
  return [{
2624
2632
  key: "colorBgMenu",
2625
2633
  title: "全部背景",
@@ -2647,30 +2655,30 @@ const da = /* @__PURE__ */ j({
2647
2655
  }, {
2648
2656
  key: "colorTextMenu",
2649
2657
  title: "菜单文字颜色",
2650
- disabled: ((S = e.settingValue) == null ? void 0 : S.theme) === "dark" && ["mix", "wide"].includes((R = e.settingValue) == null ? void 0 : R.layout)
2658
+ disabled: ((S = e.settingValue) == null ? void 0 : S.theme) === "dark" && ["mix", "wide"].includes((M = e.settingValue) == null ? void 0 : M.layout)
2651
2659
  }, {
2652
2660
  key: "colorDarkTextMenu",
2653
2661
  title: "菜单文字颜色",
2654
- disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "light" || ((L = e.settingValue) == null ? void 0 : L.theme) === "dark" && ["side", "simple"].includes((H = e.settingValue) == null ? void 0 : H.layout)
2662
+ disabled: ((O = e.settingValue) == null ? void 0 : O.theme) === "light" || ((P = e.settingValue) == null ? void 0 : P.theme) === "dark" && ["side", "simple"].includes((H = e.settingValue) == null ? void 0 : H.layout)
2655
2663
  }, {
2656
2664
  key: "colorTextMenuHover",
2657
2665
  title: "菜单文字移入颜色",
2658
- disabled: ((N = e.settingValue) == null ? void 0 : N.theme) === "dark" && ["mix", "wide"].includes((F = e.settingValue) == null ? void 0 : F.layout)
2666
+ disabled: ((N = e.settingValue) == null ? void 0 : N.theme) === "dark" && ["mix", "wide"].includes((D = e.settingValue) == null ? void 0 : D.layout)
2659
2667
  }, {
2660
2668
  key: "colorDarkTextMenuHover",
2661
2669
  title: "菜单文字移入颜色",
2662
- disabled: ((W = e.settingValue) == null ? void 0 : W.theme) === "light" || ((X = e.settingValue) == null ? void 0 : X.theme) === "dark" && ["side", "simple"].includes((U = e.settingValue) == null ? void 0 : U.layout)
2670
+ disabled: ((V = e.settingValue) == null ? void 0 : V.theme) === "light" || ((Y = e.settingValue) == null ? void 0 : Y.theme) === "dark" && ["side", "simple"].includes((_ = e.settingValue) == null ? void 0 : _.layout)
2663
2671
  }, {
2664
2672
  key: "colorTextMenuSelected",
2665
2673
  title: "菜单文字选中颜色",
2666
- disabled: ((Y = e.settingValue) == null ? void 0 : Y.theme) === "dark" && ["mix", "wide"].includes((m = e.settingValue) == null ? void 0 : m.layout)
2674
+ disabled: ((E = e.settingValue) == null ? void 0 : E.theme) === "dark" && ["mix", "wide"].includes((J = e.settingValue) == null ? void 0 : J.layout)
2667
2675
  }, {
2668
2676
  key: "colorDarkTextMenuSelected",
2669
2677
  title: "菜单文字选中颜色",
2670
- disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "light" || ((B = e.settingValue) == null ? void 0 : B.theme) === "dark" && ["side", "simple"].includes((T = e.settingValue) == null ? void 0 : T.layout)
2678
+ disabled: ((c = e.settingValue) == null ? void 0 : c.theme) === "light" || ((v = e.settingValue) == null ? void 0 : v.theme) === "dark" && ["side", "simple"].includes((B = e.settingValue) == null ? void 0 : B.layout)
2671
2679
  }];
2672
- }), O = b(() => {
2673
- var l, r, I, k, x, y, g, C, $, u, S, R, M, L, H, N, F, W, X, U, Y, m, v, B, T, z, _, J, E, Q, Ee, Xe;
2680
+ }), R = b(() => {
2681
+ var l, r, I, k, x, y, g, C, $, u, S, M, O, P, H, N, D, V, Y, _, E, J, c, v, B, F, z, q, X, ne, ee, Xe;
2674
2682
  return [{
2675
2683
  key: "colorBgMenu",
2676
2684
  title: "全部背景",
@@ -2690,41 +2698,41 @@ const da = /* @__PURE__ */ j({
2690
2698
  }, {
2691
2699
  key: "colorBgMenuItemHover",
2692
2700
  title: "菜单移入背景",
2693
- disabled: ((S = e.settingValue) == null ? void 0 : S.theme) === "dark" && ((R = e.settingValue) == null ? void 0 : R.layout) !== "mix"
2701
+ disabled: ((S = e.settingValue) == null ? void 0 : S.theme) === "dark" && ((M = e.settingValue) == null ? void 0 : M.layout) !== "mix"
2694
2702
  }, {
2695
2703
  key: "colorBgMenuItemSelected",
2696
2704
  title: "菜单选中背景",
2697
- disabled: ((M = e.settingValue) == null ? void 0 : M.theme) === "dark" && ((L = e.settingValue) == null ? void 0 : L.layout) !== "mix"
2705
+ disabled: ((O = e.settingValue) == null ? void 0 : O.theme) === "dark" && ((P = e.settingValue) == null ? void 0 : P.layout) !== "mix"
2698
2706
  }, {
2699
2707
  key: "colorDarkBgMenuItemSelected",
2700
2708
  title: "菜单选中背景",
2701
- disabled: ((H = e.settingValue) == null ? void 0 : H.theme) === "light" || ((N = e.settingValue) == null ? void 0 : N.theme) === "dark" && ["mix", "wide"].includes((F = e.settingValue) == null ? void 0 : F.layout)
2709
+ disabled: ((H = e.settingValue) == null ? void 0 : H.theme) === "light" || ((N = e.settingValue) == null ? void 0 : N.theme) === "dark" && ["mix", "wide"].includes((D = e.settingValue) == null ? void 0 : D.layout)
2702
2710
  }, {
2703
2711
  key: "colorTextMenu",
2704
2712
  title: "菜单文字颜色",
2705
- disabled: ((W = e.settingValue) == null ? void 0 : W.theme) === "dark" && ((X = e.settingValue) == null ? void 0 : X.layout) !== "mix"
2713
+ disabled: ((V = e.settingValue) == null ? void 0 : V.theme) === "dark" && ((Y = e.settingValue) == null ? void 0 : Y.layout) !== "mix"
2706
2714
  }, {
2707
2715
  key: "colorDarkTextMenu",
2708
2716
  title: "菜单文字颜色",
2709
- disabled: ((U = e.settingValue) == null ? void 0 : U.theme) === "light" || ((Y = e.settingValue) == null ? void 0 : Y.theme) === "dark" && ["mix", "wide"].includes((m = e.settingValue) == null ? void 0 : m.layout)
2717
+ disabled: ((_ = e.settingValue) == null ? void 0 : _.theme) === "light" || ((E = e.settingValue) == null ? void 0 : E.theme) === "dark" && ["mix", "wide"].includes((J = e.settingValue) == null ? void 0 : J.layout)
2710
2718
  }, {
2711
2719
  key: "colorTextMenuHover",
2712
2720
  title: "菜单文字移入颜色",
2713
- disabled: ((v = e.settingValue) == null ? void 0 : v.theme) === "dark" && ((B = e.settingValue) == null ? void 0 : B.layout) !== "mix"
2721
+ disabled: ((c = e.settingValue) == null ? void 0 : c.theme) === "dark" && ((v = e.settingValue) == null ? void 0 : v.layout) !== "mix"
2714
2722
  }, {
2715
2723
  key: "colorDarkTextMenuHover",
2716
2724
  title: "菜单文字移入颜色",
2717
- disabled: ((T = e.settingValue) == null ? void 0 : T.theme) === "light" || ((z = e.settingValue) == null ? void 0 : z.theme) === "dark" && ["mix", "wide"].includes((_ = e.settingValue) == null ? void 0 : _.layout)
2725
+ disabled: ((B = e.settingValue) == null ? void 0 : B.theme) === "light" || ((F = e.settingValue) == null ? void 0 : F.theme) === "dark" && ["mix", "wide"].includes((z = e.settingValue) == null ? void 0 : z.layout)
2718
2726
  }, {
2719
2727
  key: "colorTextMenuSelected",
2720
2728
  title: "菜单文字选中颜色",
2721
- disabled: ((J = e.settingValue) == null ? void 0 : J.theme) === "dark" && ((E = e.settingValue) == null ? void 0 : E.layout) !== "mix"
2729
+ disabled: ((q = e.settingValue) == null ? void 0 : q.theme) === "dark" && ((X = e.settingValue) == null ? void 0 : X.layout) !== "mix"
2722
2730
  }, {
2723
2731
  key: "colorDarkTextMenuSelected",
2724
2732
  title: "菜单文字选中颜色",
2725
- disabled: ((Q = e.settingValue) == null ? void 0 : Q.theme) === "light" || ((Ee = e.settingValue) == null ? void 0 : Ee.theme) === "dark" && ["mix", "wide"].includes((Xe = e.settingValue) == null ? void 0 : Xe.layout)
2733
+ disabled: ((ne = e.settingValue) == null ? void 0 : ne.theme) === "light" || ((ee = e.settingValue) == null ? void 0 : ee.theme) === "dark" && ["mix", "wide"].includes((Xe = e.settingValue) == null ? void 0 : Xe.layout)
2726
2734
  }];
2727
- }), h = b(() => a.value === "header" ? p.value : a.value === "sider" ? O.value : []), P = (l) => {
2735
+ }), h = b(() => a.value === "header" ? p.value : a.value === "sider" ? R.value : []), T = (l) => {
2728
2736
  var r, I;
2729
2737
  return (I = (r = w.value) == null ? void 0 : r[a.value]) == null ? void 0 : I[l];
2730
2738
  };
@@ -2732,11 +2740,11 @@ const da = /* @__PURE__ */ j({
2732
2740
  var r, I, k;
2733
2741
  let l;
2734
2742
  return d(n("div", {
2735
- class: [i, f.value]
2743
+ class: [o, f.value]
2736
2744
  }, [n("h3", {
2737
- class: [`${i}-title`, f.value]
2738
- }, [ae("主题编辑器"), n("div", {
2739
- class: [`${i}-sub-title`, f.value]
2745
+ class: [`${o}-title`, f.value]
2746
+ }, [oe("主题编辑器"), n("div", {
2747
+ class: [`${o}-sub-title`, f.value]
2740
2748
  }, [n("span", null, [(r = Mt.find((x) => {
2741
2749
  var y;
2742
2750
  return x.key === ((y = e.settingValue) == null ? void 0 : y.theme);
@@ -2744,18 +2752,18 @@ const da = /* @__PURE__ */ j({
2744
2752
  style: {
2745
2753
  marginInline: "8px"
2746
2754
  }
2747
- }, [ae("/")]), n("span", null, [(I = Ot.find((x) => {
2755
+ }, [oe("/")]), n("span", null, [(I = Ot.find((x) => {
2748
2756
  var y;
2749
2757
  return x.key === ((y = e.settingValue) == null ? void 0 : y.layout);
2750
2758
  })) == null ? void 0 : I.title])])]), n("div", {
2751
- class: [`${i}-content`, f.value]
2752
- }, [n(ie, {
2753
- class: `${i}-list ${f.value}`.trim(),
2759
+ class: [`${o}-content`, f.value]
2760
+ }, [n(le, {
2761
+ class: `${o}-list ${f.value}`.trim(),
2754
2762
  split: !1,
2755
2763
  size: "small",
2756
2764
  renderItem: ({
2757
2765
  item: x
2758
- }) => n(ie.Item, {
2766
+ }) => n(le.Item, {
2759
2767
  actions: [x.action]
2760
2768
  }, {
2761
2769
  default: () => [n("span", {
@@ -2774,20 +2782,20 @@ const da = /* @__PURE__ */ j({
2774
2782
  onConfirm: (x) => e.onChange && e.onChange(x, "primaryColor")
2775
2783
  }, null)
2776
2784
  }]
2777
- }, null), n(Pe, {
2785
+ }, null), n(Le, {
2778
2786
  activeKey: a.value,
2779
- onChange: o
2787
+ onChange: i
2780
2788
  }, sa(l = oa.map((x) => n(Nt, {
2781
2789
  key: x.key,
2782
2790
  tab: x.title
2783
2791
  }, {
2784
- default: () => [n(ie, {
2785
- class: `${i}-list ${f.value}`.trim(),
2792
+ default: () => [n(le, {
2793
+ class: `${o}-list ${f.value}`.trim(),
2786
2794
  split: !1,
2787
2795
  size: "small",
2788
2796
  renderItem: ({
2789
2797
  item: y
2790
- }) => n(ie.Item, {
2798
+ }) => n(le.Item, {
2791
2799
  actions: [y.action]
2792
2800
  }, {
2793
2801
  default: () => [n("span", {
@@ -2799,7 +2807,7 @@ const da = /* @__PURE__ */ j({
2799
2807
  dataSource: h.value.filter((y) => !y.disabled).map((y) => ({
2800
2808
  ...y,
2801
2809
  action: n(Ge, {
2802
- value: P(y.key),
2810
+ value: T(y.key),
2803
2811
  actions: ["confirm"],
2804
2812
  modes: ["rgb"],
2805
2813
  size: "small",
@@ -2844,43 +2852,43 @@ const da = /* @__PURE__ */ j({
2844
2852
  }
2845
2853
  });
2846
2854
  function tt(e) {
2847
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !le(e);
2855
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !re(e);
2848
2856
  }
2849
2857
  const {
2850
2858
  preset: nt
2851
- } = je, ca = /* @__PURE__ */ j({
2859
+ } = We, ca = /* @__PURE__ */ W({
2852
2860
  name: "OthersChange",
2853
2861
  props: {
2854
- prefixCls: D.string,
2862
+ prefixCls: L.string,
2855
2863
  settingValue: Object,
2856
2864
  onChange: Function
2857
2865
  },
2858
2866
  setup(e) {
2859
- const t = fe({
2867
+ const t = ge({
2860
2868
  suffixCls: "others",
2861
2869
  isPor: !0
2862
2870
  }), {
2863
2871
  wrapSSR: a,
2864
- hashId: o
2865
- } = ne("SettingsDrawOthers", [ua], t);
2872
+ hashId: i
2873
+ } = ae("SettingsDrawOthers", [ua], t);
2866
2874
  return () => {
2867
- var d, f, c, w, p, O, h, P, l, r, I, k, x, y;
2868
- let i;
2875
+ var d, f, m, w, p, R, h, T, l, r, I, k, x, y;
2876
+ let o;
2869
2877
  return a(n("div", {
2870
- class: [t, o.value]
2878
+ class: [t, i.value]
2871
2879
  }, [n("h3", {
2872
- class: [`${t}-title`, o.value]
2873
- }, [ae("页面动画设置")]), n(ie, {
2874
- class: `${t}-list ${o.value}`.trim(),
2880
+ class: [`${t}-title`, i.value]
2881
+ }, [oe("页面动画设置")]), n(le, {
2882
+ class: `${t}-list ${i.value}`.trim(),
2875
2883
  split: !1,
2876
2884
  size: "small",
2877
2885
  renderItem: ({
2878
2886
  item: g
2879
- }) => n(Ie, {
2887
+ }) => n(Me, {
2880
2888
  title: g.disabled ? g.disabledReason : "",
2881
2889
  placement: "left"
2882
2890
  }, {
2883
- default: () => [n(ie.Item, {
2891
+ default: () => [n(le.Item, {
2884
2892
  actions: [g.action]
2885
2893
  }, {
2886
2894
  default: () => [n("span", {
@@ -2902,30 +2910,30 @@ const {
2902
2910
  }, null)
2903
2911
  }, {
2904
2912
  title: "动画效果",
2905
- disabled: (w = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : w.disabled,
2906
- action: n(he, {
2907
- value: (O = (p = e.settingValue) == null ? void 0 : p.animate) == null ? void 0 : O.name,
2913
+ disabled: (w = (m = e.settingValue) == null ? void 0 : m.animate) == null ? void 0 : w.disabled,
2914
+ action: n(ye, {
2915
+ value: (R = (p = e.settingValue) == null ? void 0 : p.animate) == null ? void 0 : R.name,
2908
2916
  style: {
2909
2917
  width: "100px"
2910
2918
  },
2911
2919
  size: "small",
2912
- disabled: (P = (h = e.settingValue) == null ? void 0 : h.animate) == null ? void 0 : P.disabled,
2920
+ disabled: (T = (h = e.settingValue) == null ? void 0 : h.animate) == null ? void 0 : T.disabled,
2913
2921
  getPopupContainer: (g) => g && g.parentNode ? g.parentNode : g,
2914
2922
  onChange: (g) => {
2915
2923
  var C;
2916
2924
  return (C = e.onChange) == null ? void 0 : C.call(e, "animate", "name", g);
2917
2925
  }
2918
- }, tt(i = nt.map((g) => n(he.Option, {
2926
+ }, tt(o = nt.map((g) => n(ye.Option, {
2919
2927
  value: g.name
2920
2928
  }, {
2921
2929
  default: () => [g.alias]
2922
- }))) ? i : {
2923
- default: () => [i]
2930
+ }))) ? o : {
2931
+ default: () => [o]
2924
2932
  })
2925
2933
  }, {
2926
2934
  title: "动画方向",
2927
2935
  disabled: (r = (l = e.settingValue) == null ? void 0 : l.animate) == null ? void 0 : r.disabled,
2928
- action: n(he, {
2936
+ action: n(ye, {
2929
2937
  value: (k = (I = e.settingValue) == null ? void 0 : I.animate) == null ? void 0 : k.direction,
2930
2938
  style: {
2931
2939
  width: "100px"
@@ -2946,7 +2954,7 @@ const {
2946
2954
  return [(g = nt.find((C) => {
2947
2955
  var $, u;
2948
2956
  return C.name === ((u = ($ = e.settingValue) == null ? void 0 : $.animate) == null ? void 0 : u.name);
2949
- })) == null ? void 0 : g.directions.map((C) => n(he.Option, {
2957
+ })) == null ? void 0 : g.directions.map((C) => n(ye.Option, {
2950
2958
  value: C
2951
2959
  }, tt(C) ? C : {
2952
2960
  default: () => [C]
@@ -2959,7 +2967,7 @@ const {
2959
2967
  }
2960
2968
  }), {
2961
2969
  preset: ma
2962
- } = je, Fe = Object.keys(V).filter((e) => e !== "title"), at = {
2970
+ } = We, Te = Object.keys(j).filter((e) => e !== "title"), at = {
2963
2971
  color: "#fff",
2964
2972
  fontSize: 20
2965
2973
  }, fa = [{
@@ -2978,9 +2986,9 @@ const {
2978
2986
  label: "fixedMultiTab",
2979
2987
  title: "固定多标签"
2980
2988
  }], ot = (e) => nn() ? {
2981
- ...re(V, Fe),
2989
+ ...se(j, Te),
2982
2990
  ...e || {}
2983
- } : He(V), be = (e, {
2991
+ } : Ve(j), pe = (e, {
2984
2992
  slots: t
2985
2993
  }) => {
2986
2994
  var a;
@@ -2991,7 +2999,7 @@ const {
2991
2999
  }, [n("h3", {
2992
3000
  class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
2993
3001
  }, [e.title]), (a = t.default) == null ? void 0 : a.call(t)]);
2994
- }, ki = /* @__PURE__ */ j({
3002
+ }, ki = /* @__PURE__ */ W({
2995
3003
  name: "SettingDrawer",
2996
3004
  props: {
2997
3005
  themeOnly: Boolean,
@@ -3017,44 +3025,44 @@ const {
3017
3025
  suffixCls: "setting-drawer",
3018
3026
  isPor: !0
3019
3027
  }), {
3020
- wrapSSR: o,
3021
- hashId: i
3022
- } = ne("ProSettingDraw", [ia], a), d = Re(!1), [f, c] = ve(!1), [w, p] = ve(!1), [O, h] = ve(!1), P = b(() => ot(re(e.settings, Fe))), [l, r] = ln(() => ot(re(e.settings, Fe)), {
3023
- value: P,
3028
+ wrapSSR: i,
3029
+ hashId: o
3030
+ } = ae("ProSettingDraw", [ia], a), d = ke(!1), [f, m] = xe(!1), [w, p] = xe(!1), [R, h] = xe(!1), T = b(() => ot(se(e.settings, Te))), [l, r] = ln(() => ot(se(e.settings, Te)), {
3031
+ value: T,
3024
3032
  onChange: e.onChange
3025
- }), I = b(() => e.colorList && tn(e.colorList) ? e.colorList : []), k = b(() => wn(A(l))), {
3033
+ }), I = b(() => e.colorList && tn(e.colorList) ? e.colorList : []), k = b(() => wn(U(l))), {
3026
3034
  copy: x,
3027
3035
  copied: y,
3028
3036
  isSupported: g
3029
3037
  } = sn();
3030
- ce(f, () => {
3038
+ me(f, () => {
3031
3039
  d.value || (d.value = !0);
3032
3040
  });
3033
- const C = (u, S, R) => {
3041
+ const C = (u, S, M) => {
3034
3042
  var H, N;
3035
- const M = ["header", "sider"], L = {};
3036
- if (R && M.includes(u)) {
3037
- L[u] = {}, L[u][R] = S, e.onChangeLayout && e.onChangeLayout(re(L, M));
3043
+ const O = ["header", "sider"], P = {};
3044
+ if (M && O.includes(u)) {
3045
+ P[u] = {}, P[u][M] = S, e.onChangeLayout && e.onChangeLayout(se(P, O));
3038
3046
  return;
3039
3047
  } else
3040
- u === "animate" ? (L[u] = {}, L[u][R] = S, R === "name" && (L[u].direction = (N = (H = ma.find((F) => F.name === S)) == null ? void 0 : H.directions) == null ? void 0 : N[0])) : L[u] = S;
3048
+ u === "animate" ? (P[u] = {}, P[u][M] = S, M === "name" && (P[u].direction = (N = (H = ma.find((D) => D.name === S)) == null ? void 0 : H.directions) == null ? void 0 : N[0])) : P[u] = S;
3041
3049
  if (u === "colorWeak") {
3042
- const F = document.querySelector("body");
3043
- F && (F.dataset.prosettingdrawer = S === !0 ? F.style.filter : F.dataset.prosettingdrawer || "none", S === !0 && (F.dataset.prosettingdrawer = F.style.filter), F.style.filter = S === !0 ? "invert(80%)" : F.dataset.prosettingdrawer || "none", S || delete F.dataset.prosettingdrawer);
3050
+ const D = document.querySelector("body");
3051
+ D && (D.dataset.prosettingdrawer = S === !0 ? D.style.filter : D.dataset.prosettingdrawer || "none", S === !0 && (D.dataset.prosettingdrawer = D.style.filter), D.style.filter = S === !0 ? "invert(80%)" : D.dataset.prosettingdrawer || "none", S || delete D.dataset.prosettingdrawer);
3044
3052
  }
3045
- r(an(A(l), {
3046
- ...Cn(Ve(L, M))
3053
+ r(an(U(l), {
3054
+ ...Cn(je(P, O))
3047
3055
  }));
3048
3056
  }, $ = () => {
3049
- g.value && x(JSON.stringify(A(l)));
3057
+ g.value && x(JSON.stringify(U(l)));
3050
3058
  };
3051
- return ce(y, (u) => {
3059
+ return me(y, (u) => {
3052
3060
  u && zt.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
3053
- }), () => o(n(pe, {
3061
+ }), () => i(n(ve, {
3054
3062
  width: 300,
3055
3063
  closable: !1,
3056
3064
  open: f.value,
3057
- rootClassName: `${a} ${i.value} ${f.value && `${a}-show`} ${!d.value && `${a}-trantion-none`}`,
3065
+ rootClassName: `${a} ${o.value} ${f.value && `${a}-show`} ${!d.value && `${a}-trantion-none`}`,
3058
3066
  placement: "right",
3059
3067
  rootStyle: {
3060
3068
  zIndex: 999
@@ -3062,10 +3070,10 @@ const {
3062
3070
  bodyStyle: {
3063
3071
  padding: 0
3064
3072
  },
3065
- onClose: () => c(!1),
3073
+ onClose: () => m(!1),
3066
3074
  handle: n("div", {
3067
- class: [`${a}-handle`, i.value],
3068
- onClick: () => c(!f.value)
3075
+ class: [`${a}-handle`, o.value],
3076
+ onClick: () => m(!f.value)
3069
3077
  }, [f.value ? n(dt, {
3070
3078
  style: at
3071
3079
  }, null) : n(Yt, {
@@ -3073,17 +3081,17 @@ const {
3073
3081
  }, null)])
3074
3082
  }, {
3075
3083
  default: () => [n("div", {
3076
- class: [`${a}-wrapper`, i.value]
3084
+ class: [`${a}-wrapper`, o.value]
3077
3085
  }, [n(dn, null, {
3078
3086
  default: () => [n("div", {
3079
- class: [`${a}-content`, i.value]
3080
- }, [n(be, {
3087
+ class: [`${a}-content`, o.value]
3088
+ }, [n(pe, {
3081
3089
  prefixCls: a,
3082
- hashId: i.value,
3090
+ hashId: o.value,
3083
3091
  title: "整体风格设置"
3084
3092
  }, {
3085
3093
  default: () => [n(et, {
3086
- hashId: i.value,
3094
+ hashId: o.value,
3087
3095
  prefixCls: a,
3088
3096
  list: Mt,
3089
3097
  value: l.value.theme,
@@ -3091,33 +3099,33 @@ const {
3091
3099
  key: "navTheme",
3092
3100
  onChange: (u) => C("theme", u)
3093
3101
  }, null)]
3094
- }), n(be, {
3095
- hashId: i.value,
3096
- title: n("span", null, [ae("主题色 "), n("a", {
3102
+ }), n(pe, {
3103
+ hashId: o.value,
3104
+ title: n("span", null, [oe("主题色 "), n("a", {
3097
3105
  style: {
3098
3106
  fontSize: "12px"
3099
3107
  },
3100
3108
  onClick: () => p(!0)
3101
- }, [ae("更多配置")])]),
3109
+ }, [oe("更多配置")])]),
3102
3110
  prefixCls: a
3103
3111
  }, {
3104
3112
  default: () => [n(la, {
3105
- hashId: i.value,
3113
+ hashId: o.value,
3106
3114
  prefixCls: a,
3107
3115
  colorList: I.value,
3108
3116
  settingValue: l.value,
3109
3117
  onChange: (u, S) => C(S || "primaryColor", u)
3110
3118
  }, null)]
3111
- }), !e.themeOnly && n(ee, null, [n(Oe, null, null), n(be, {
3112
- hashId: i.value,
3119
+ }), !e.themeOnly && n(Q, null, [n(Re, null, null), n(pe, {
3120
+ hashId: o.value,
3113
3121
  prefixCls: a,
3114
3122
  title: "导航模式"
3115
3123
  }, {
3116
3124
  default: () => [n(et, {
3117
3125
  prefixCls: a,
3118
- value: A(l).layout,
3126
+ value: U(l).layout,
3119
3127
  key: "layout",
3120
- hashId: i.value,
3128
+ hashId: o.value,
3121
3129
  configType: "layout",
3122
3130
  list: Ot,
3123
3131
  onChange: (u) => C("layout", u)
@@ -3125,51 +3133,51 @@ const {
3125
3133
  }), fa.map(({
3126
3134
  label: u,
3127
3135
  title: S
3128
- }) => n(ye, {
3136
+ }) => n(be, {
3129
3137
  label: S,
3130
- disabled: A(k)[u],
3131
- value: A(l)[u],
3138
+ disabled: U(k)[u],
3139
+ value: U(l)[u],
3132
3140
  prefixCls: a,
3133
- hashId: i.value,
3141
+ hashId: o.value,
3134
3142
  valueKey: u,
3135
- onChange: (R, M) => C(R, M)
3136
- }, null)), n(Oe, null, null), n(be, {
3137
- hashId: i.value,
3143
+ onChange: (M, O) => C(M, O)
3144
+ }, null)), n(Re, null, null), n(pe, {
3145
+ hashId: o.value,
3138
3146
  prefixCls: a,
3139
- title: n("span", null, [ae("其他设置 "), n("a", {
3147
+ title: n("span", null, [oe("其他设置 "), n("a", {
3140
3148
  style: {
3141
3149
  fontSize: "12px"
3142
3150
  },
3143
3151
  onClick: () => h(!0)
3144
- }, [ae("更多配置")])])
3152
+ }, [oe("更多配置")])])
3145
3153
  }, {
3146
3154
  default: () => [ga.map(({
3147
3155
  label: u,
3148
3156
  title: S
3149
- }) => n(ye, {
3157
+ }) => n(be, {
3150
3158
  label: S,
3151
- disabled: A(k)[u],
3152
- value: A(l)[u],
3159
+ disabled: U(k)[u],
3160
+ value: U(l)[u],
3153
3161
  prefixCls: a,
3154
- hashId: i.value,
3162
+ hashId: o.value,
3155
3163
  valueKey: u,
3156
- onChange: (R, M) => C(R, M)
3157
- }, null)), e.weakmode && n(ye, {
3164
+ onChange: (M, O) => C(M, O)
3165
+ }, null)), e.weakmode && n(be, {
3158
3166
  label: "色弱模式",
3159
- value: A(l).colorWeak,
3167
+ value: U(l).colorWeak,
3160
3168
  prefixCls: a,
3161
- hashId: i.value,
3169
+ hashId: o.value,
3162
3170
  valueKey: "colorWeak",
3163
3171
  onChange: (u, S) => C(u, S)
3164
- }, null), e.showProgress && n(ye, {
3172
+ }, null), e.showProgress && n(be, {
3165
3173
  label: "顶部进度条",
3166
- value: A(l).showProgressBar,
3174
+ value: U(l).showProgressBar,
3167
3175
  prefixCls: a,
3168
- hashId: i.value,
3176
+ hashId: o.value,
3169
3177
  valueKey: "showProgressBar",
3170
3178
  onChange: (u, S) => C(u, S)
3171
3179
  }, null)]
3172
- })]), e.hideHintAlert && e.hideCopyButton ? null : n(Oe, null, null), e.hideHintAlert ? null : n(Ht, {
3180
+ })]), e.hideHintAlert && e.hideCopyButton ? null : n(Re, null, null), e.hideHintAlert ? null : n(Ht, {
3173
3181
  type: "warning",
3174
3182
  message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
3175
3183
  icon: n(_t, null, null),
@@ -3181,9 +3189,9 @@ const {
3181
3189
  onClick: () => $(),
3182
3190
  block: !0
3183
3191
  }, {
3184
- default: () => [n(Gt, null, null), ae("拷贝设置")]
3192
+ default: () => [n(Gt, null, null), oe("拷贝设置")]
3185
3193
  })])]
3186
- })]), n(pe, {
3194
+ })]), n(ve, {
3187
3195
  width: 320,
3188
3196
  closable: !1,
3189
3197
  placement: "right",
@@ -3195,13 +3203,13 @@ const {
3195
3203
  }, {
3196
3204
  default: () => [n(da, {
3197
3205
  settingValue: l.value,
3198
- onChange: (u, S, R) => C(S || "primaryColor", u, R)
3206
+ onChange: (u, S, M) => C(S || "primaryColor", u, M)
3199
3207
  }, null)]
3200
- }), n(pe, {
3208
+ }), n(ve, {
3201
3209
  width: 320,
3202
3210
  closable: !1,
3203
3211
  placement: "right",
3204
- open: O.value,
3212
+ open: R.value,
3205
3213
  bodyStyle: {
3206
3214
  padding: 0
3207
3215
  },
@@ -3209,7 +3217,7 @@ const {
3209
3217
  }, {
3210
3218
  default: () => [n(ca, {
3211
3219
  settingValue: l.value,
3212
- onChange: (u, S, R) => C(u, R, S)
3220
+ onChange: (u, S, M) => C(u, M, S)
3213
3221
  }, null)]
3214
3222
  })]
3215
3223
  }));
@@ -4487,12 +4495,12 @@ const {
4487
4495
  }
4488
4496
  });
4489
4497
  function di(e) {
4490
- return Ne("LayoutPageTranstion", (t) => {
4491
- const a = ze(t);
4498
+ return ze("LayoutPageTranstion", (t) => {
4499
+ const a = He(t);
4492
4500
  return [si(a)];
4493
4501
  }, e);
4494
4502
  }
4495
- const Bi = /* @__PURE__ */ j({
4503
+ const Bi = /* @__PURE__ */ W({
4496
4504
  name: "PageTranstion",
4497
4505
  props: {
4498
4506
  disabled: {
@@ -4512,35 +4520,35 @@ const Bi = /* @__PURE__ */ j({
4512
4520
  setup(e, {
4513
4521
  slots: t
4514
4522
  }) {
4515
- const a = fe({
4523
+ const a = ge({
4516
4524
  suffixCls: "page-transtion",
4517
4525
  isPor: !0
4518
4526
  }), {
4519
- wrapSSR: o,
4520
- hashId: i
4521
- } = di(a), d = b(() => [c(!1), `${a}-enter`, i.value].join(" ")), f = b(() => [c(!0), `${a}-leave`, i.value].join(" ")), c = (p) => {
4522
- const O = je.preset.find((l) => e.name == l.name);
4523
- if (O == null)
4527
+ wrapSSR: i,
4528
+ hashId: o
4529
+ } = di(a), d = b(() => [m(!1), `${a}-enter`, o.value].join(" ")), f = b(() => [m(!0), `${a}-leave`, o.value].join(" ")), m = (p) => {
4530
+ const R = We.preset.find((l) => e.name == l.name);
4531
+ if (R == null)
4524
4532
  return "";
4525
4533
  let h = "";
4526
- e.direction == null ? h = O.directions[0] : h = O.directions.find((l) => l == e.direction) || "", h = h == null || h === "default" ? "" : h, h != "" && (h = p && e.reverse ? w(h, O.directions) : h, h = h[0].toUpperCase() + h.substring(1));
4527
- const P = p ? "Out" : "In";
4528
- return O.name + P + h;
4529
- }, w = (p, O) => {
4534
+ 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 ? w(h, R.directions) : h, h = h[0].toUpperCase() + h.substring(1));
4535
+ const T = p ? "Out" : "In";
4536
+ return R.name + T + h;
4537
+ }, w = (p, R) => {
4530
4538
  if (p.length == 0 || p == "x" || p == "y")
4531
4539
  return p;
4532
- let h = O.indexOf(p);
4533
- return h = h % 2 == 1 ? h - 1 : h + 1, O[h];
4540
+ let h = R.indexOf(p);
4541
+ return h = h % 2 == 1 ? h - 1 : h + 1, R[h];
4534
4542
  };
4535
4543
  return () => {
4536
4544
  var p;
4537
- return e.disabled ? (p = t.default) == null ? void 0 : p.call(t) : o(n(Tt, {
4545
+ return e.disabled ? (p = t.default) == null ? void 0 : p.call(t) : i(n(Tt, {
4538
4546
  enterActiveClass: d.value,
4539
4547
  leaveActiveClass: f.value
4540
4548
  }, {
4541
4549
  default: () => {
4542
- var O;
4543
- return [(O = t.default) == null ? void 0 : O.call(t)];
4550
+ var R;
4551
+ return [(R = t.default) == null ? void 0 : R.call(t)];
4544
4552
  }
4545
4553
  }));
4546
4554
  };
@@ -4550,14 +4558,14 @@ export {
4550
4558
  gt as BaseMenu,
4551
4559
  ta as DefaultHeader,
4552
4560
  Oi as GProLayout,
4553
- Be as GlobalFooter,
4561
+ $e as GlobalFooter,
4554
4562
  Mi as PageContainer,
4555
4563
  un as PageLoading,
4556
4564
  Bi as PageTranstion,
4557
4565
  ki as SettingDrawer,
4558
- ke as SiderMenuWrapper,
4559
- Ue as WrapContent,
4560
- Me as baseMenuProps,
4566
+ Be as SiderMenuWrapper,
4567
+ Ee as WrapContent,
4568
+ Oe as baseMenuProps,
4561
4569
  bn as clearMenuItem,
4562
4570
  In as createContext,
4563
4571
  On as createRouteContext,
@@ -4567,7 +4575,7 @@ export {
4567
4575
  vn as getMenuFirstChildren,
4568
4576
  xn as getMenuFirstLastChildPath,
4569
4577
  Cn as handleThemeConfig,
4570
- G as hanlePathKey,
4578
+ A as hanlePathKey,
4571
4579
  Rn as provideProLayoutContext,
4572
4580
  Mn as useContext,
4573
4581
  te as useProLayoutContext