@das-fed/ui 7.1.0-qatar.6 → 7.1.0-qatar.8

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.
Files changed (38) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/app-container/index.d.ts +1 -1
  3. package/packages/business-components/app-container/index.js +18 -16
  4. package/packages/business-components/app-container/index.js.gz +0 -0
  5. package/packages/business-components/app-container/src/index.vue.d.ts +1 -1
  6. package/packages/business-components/app-container/src/style-theme.d.ts +2 -0
  7. package/packages/business-components/app-container/src/type.d.ts +1 -1
  8. package/packages/business-components/app-container/style.css +1 -1
  9. package/packages/business-components/app-container/style.css.gz +0 -0
  10. package/packages/components/menu-aside/index.d.ts +3 -3
  11. package/packages/components/menu-aside/index.js +746 -702
  12. package/packages/components/menu-aside/index.js.gz +0 -0
  13. package/packages/components/menu-aside/src/Index.vue.d.ts +1 -1
  14. package/packages/components/menu-aside/src/style-theme.d.ts +20 -0
  15. package/packages/components/menu-aside/src/type.d.ts +1 -1
  16. package/packages/components/menu-aside/theme/base.d.ts +24 -0
  17. package/packages/components/menu-header/index.d.ts +3 -3
  18. package/packages/components/menu-header/index.js +71 -51
  19. package/packages/components/menu-header/index.js.gz +0 -0
  20. package/packages/components/menu-header/src/Index.vue.d.ts +1 -1
  21. package/packages/components/menu-header/src/style-theme.d.ts +9 -0
  22. package/packages/components/menu-header/src/type.d.ts +1 -1
  23. package/packages/components/menu-header/theme/base.d.ts +11 -0
  24. package/packages/components/radio/index.js +102 -99
  25. package/packages/components/radio/index.js.gz +0 -0
  26. package/packages/components/radio/style.css +1 -1
  27. package/packages/components/radio/style.css.gz +0 -0
  28. package/packages/components/radio/theme/index.d.ts +3 -0
  29. package/packages/components/table/src/hooks/use-operation.d.ts +1 -1
  30. package/packages/components/tabs/index.d.ts +3 -3
  31. package/packages/components/tabs/index.js +1 -0
  32. package/packages/components/tabs/index.js.gz +0 -0
  33. package/packages/components/tabs/src/Tabs.vue.d.ts +1 -1
  34. package/packages/components/tabs/src/style-theme.d.ts +3 -3
  35. package/packages/components/tabs/src/type.d.ts +1 -1
  36. package/packages/components/tabs/style.css +1 -1
  37. package/packages/components/tabs/style.css.gz +0 -0
  38. package/packages/components/tabs/theme/base.d.ts +1 -0
@@ -1,98 +1,98 @@
1
1
  import '@das-fed/ui/packages/components/menu-aside/style.css';
2
- import { withInstall as Ye } from "@das-fed/utils/with-install/index";
3
- import { nextTick as Ze, h as Se, createVNode as w, defineComponent as ke, computed as M, createElementBlock as g, openBlock as c, normalizeStyle as te, ref as Y, createBlock as E, unref as l, mergeProps as ye, withCtx as $, createCommentVNode as y, Fragment as O, createElementVNode as F, withDirectives as x, createTextVNode as B, toDisplayString as S, withModifiers as z, renderList as G, normalizeClass as _, renderSlot as H, watch as we, onMounted as Qe, useSlots as Xe, isRef as en } from "vue";
4
- import { t as R, setI18nRule as nn } from "@das-fed/web/packages/i18n/index";
5
- import { DasScrollbar as rn } from "@das-fed/ui/packages/components/scrollbar/index";
6
- import { DasTooltip as tn } from "@das-fed/ui/packages/components/tooltip/index";
7
- import { vDasTooltip as K } from "@das-fed/ui/packages/components/text-tooltip/index";
8
- import { pureImageSrc as se } from "@das-fed/utils/pure-image-src";
9
- import { SubMenu as an, MenuItem as ae, Menu as on } from "ant-design-vue";
2
+ import { withInstall as Ze } from "@das-fed/utils/with-install/index";
3
+ import { nextTick as Qe, h as we, createVNode as O, defineComponent as Fe, computed as E, createElementBlock as p, openBlock as c, normalizeStyle as te, ref as Z, createBlock as _, unref as i, mergeProps as ve, withCtx as M, createCommentVNode as v, Fragment as j, createElementVNode as C, withDirectives as $, createTextVNode as K, toDisplayString as w, withModifiers as z, renderList as J, normalizeClass as P, renderSlot as H, watch as Oe, onMounted as Xe, useSlots as er, isRef as rr } from "vue";
4
+ import { t as R, setI18nRule as nr } from "@das-fed/web/packages/i18n/index";
5
+ import { DasScrollbar as ar } from "@das-fed/ui/packages/components/scrollbar/index";
6
+ import { DasTooltip as tr } from "@das-fed/ui/packages/components/tooltip/index";
7
+ import { vDasTooltip as N } from "@das-fed/ui/packages/components/text-tooltip/index";
8
+ import { pureImageSrc as ue } from "@das-fed/utils/pure-image-src";
9
+ import { SubMenu as or, MenuItem as oe, Menu as lr } from "ant-design-vue";
10
10
  import "ant-design-vue/es/menu/style/css";
11
- import { vOverlay as Oe } from "@das-fed/ui/packages/components/overlay/index";
12
- import { DasAutoRegisterIcon as ln, DasIcon as X } from "@das-fed/ui/packages/components/icon/index";
13
- import { updateStyle as sn, createStyle as un } from "@das-fed/utils/style";
14
- import { setThemeRule as cn } from "@das-fed/web/packages/theme/index";
15
- function j(e, r) {
16
- dn(e) && (e = "100%");
17
- var n = fn(e);
18
- return e = r === 360 ? e : Math.min(r, Math.max(0, parseFloat(e))), n && (e = parseInt(String(e * r), 10) / 100), Math.abs(e - r) < 1e-6 ? 1 : (r === 360 ? e = (e < 0 ? e % r + r : e % r) / parseFloat(String(r)) : e = e % r / parseFloat(String(r)), e);
19
- }
20
- function dn(e) {
11
+ import { vOverlay as je } from "@das-fed/ui/packages/components/overlay/index";
12
+ import { DasAutoRegisterIcon as ir, DasIcon as ee } from "@das-fed/ui/packages/components/icon/index";
13
+ import { getVar as b, setThemeRule as sr } from "@das-fed/web/packages/theme/index";
14
+ import { updateStyle as ur, createStyle as cr } from "@das-fed/utils/style";
15
+ function A(e, n) {
16
+ dr(e) && (e = "100%");
17
+ var r = fr(e);
18
+ return e = n === 360 ? e : Math.min(n, Math.max(0, parseFloat(e))), r && (e = parseInt(String(e * n), 10) / 100), Math.abs(e - n) < 1e-6 ? 1 : (n === 360 ? e = (e < 0 ? e % n + n : e % n) / parseFloat(String(n)) : e = e % n / parseFloat(String(n)), e);
19
+ }
20
+ function dr(e) {
21
21
  return typeof e == "string" && e.indexOf(".") !== -1 && parseFloat(e) === 1;
22
22
  }
23
- function fn(e) {
23
+ function fr(e) {
24
24
  return typeof e == "string" && e.indexOf("%") !== -1;
25
25
  }
26
- function pn(e) {
26
+ function gr(e) {
27
27
  return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
28
28
  }
29
- function ee(e) {
29
+ function re(e) {
30
30
  return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
31
31
  }
32
- function ue(e) {
32
+ function ce(e) {
33
33
  return e.length === 1 ? "0" + e : String(e);
34
34
  }
35
- function gn(e, r, n) {
35
+ function br(e, n, r) {
36
36
  return {
37
- r: j(e, 255) * 255,
38
- g: j(r, 255) * 255,
39
- b: j(n, 255) * 255
37
+ r: A(e, 255) * 255,
38
+ g: A(n, 255) * 255,
39
+ b: A(r, 255) * 255
40
40
  };
41
41
  }
42
- function ce(e, r, n) {
43
- return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (r - e) * (6 * n) : n < 1 / 2 ? r : n < 2 / 3 ? e + (r - e) * (2 / 3 - n) * 6 : e;
42
+ function de(e, n, r) {
43
+ return r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (n - e) * (6 * r) : r < 1 / 2 ? n : r < 2 / 3 ? e + (n - e) * (2 / 3 - r) * 6 : e;
44
44
  }
45
- function vn(e, r, n) {
46
- var t, a, o;
47
- if (e = j(e, 360), r = j(r, 100), n = j(n, 100), r === 0)
48
- a = n, o = n, t = n;
45
+ function pr(e, n, r) {
46
+ var a, t, o;
47
+ if (e = A(e, 360), n = A(n, 100), r = A(r, 100), n === 0)
48
+ t = r, o = r, a = r;
49
49
  else {
50
- var f = n < 0.5 ? n * (1 + r) : n + r - n * r, d = 2 * n - f;
51
- t = ce(d, f, e + 1 / 3), a = ce(d, f, e), o = ce(d, f, e - 1 / 3);
50
+ var f = r < 0.5 ? r * (1 + n) : r + n - r * n, d = 2 * r - f;
51
+ a = de(d, f, e + 1 / 3), t = de(d, f, e), o = de(d, f, e - 1 / 3);
52
52
  }
53
- return { r: t * 255, g: a * 255, b: o * 255 };
53
+ return { r: a * 255, g: t * 255, b: o * 255 };
54
54
  }
55
- function yn(e, r, n) {
56
- e = j(e, 255), r = j(r, 255), n = j(n, 255);
57
- var t = Math.max(e, r, n), a = Math.min(e, r, n), o = 0, f = t, d = t - a, v = t === 0 ? 0 : d / t;
58
- if (t === a)
55
+ function mr(e, n, r) {
56
+ e = A(e, 255), n = A(n, 255), r = A(r, 255);
57
+ var a = Math.max(e, n, r), t = Math.min(e, n, r), o = 0, f = a, d = a - t, m = a === 0 ? 0 : d / a;
58
+ if (a === t)
59
59
  o = 0;
60
60
  else {
61
- switch (t) {
61
+ switch (a) {
62
62
  case e:
63
- o = (r - n) / d + (r < n ? 6 : 0);
64
- break;
65
- case r:
66
- o = (n - e) / d + 2;
63
+ o = (n - r) / d + (n < r ? 6 : 0);
67
64
  break;
68
65
  case n:
69
- o = (e - r) / d + 4;
66
+ o = (r - e) / d + 2;
67
+ break;
68
+ case r:
69
+ o = (e - n) / d + 4;
70
70
  break;
71
71
  }
72
72
  o /= 6;
73
73
  }
74
- return { h: o, s: v, v: f };
75
- }
76
- function bn(e, r, n) {
77
- e = j(e, 360) * 6, r = j(r, 100), n = j(n, 100);
78
- var t = Math.floor(e), a = e - t, o = n * (1 - r), f = n * (1 - a * r), d = n * (1 - (1 - a) * r), v = t % 6, i = [n, f, o, o, d, n][v], b = [d, n, n, f, o, o][v], s = [o, o, d, n, n, f][v];
79
- return { r: i * 255, g: b * 255, b: s * 255 };
80
- }
81
- function mn(e, r, n, t) {
82
- var a = [
83
- ue(Math.round(e).toString(16)),
84
- ue(Math.round(r).toString(16)),
85
- ue(Math.round(n).toString(16))
74
+ return { h: o, s: m, v: f };
75
+ }
76
+ function vr(e, n, r) {
77
+ e = A(e, 360) * 6, n = A(n, 100), r = A(r, 100);
78
+ var a = Math.floor(e), t = e - a, o = r * (1 - n), f = r * (1 - t * n), d = r * (1 - (1 - t) * n), m = a % 6, l = [r, f, o, o, d, r][m], y = [d, r, r, f, o, o][m], s = [o, o, d, r, r, f][m];
79
+ return { r: l * 255, g: y * 255, b: s * 255 };
80
+ }
81
+ function yr(e, n, r, a) {
82
+ var t = [
83
+ ce(Math.round(e).toString(16)),
84
+ ce(Math.round(n).toString(16)),
85
+ ce(Math.round(r).toString(16))
86
86
  ];
87
- return a.join("");
87
+ return t.join("");
88
88
  }
89
- function je(e) {
90
- return C(e) / 255;
89
+ function Ae(e) {
90
+ return S(e) / 255;
91
91
  }
92
- function C(e) {
92
+ function S(e) {
93
93
  return parseInt(e, 16);
94
94
  }
95
- var Ae = {
95
+ var Te = {
96
96
  aliceblue: "#f0f8ff",
97
97
  antiquewhite: "#faebd7",
98
98
  aqua: "#00ffff",
@@ -243,66 +243,66 @@ var Ae = {
243
243
  yellowgreen: "#9acd32"
244
244
  };
245
245
  function W(e) {
246
- var r = { r: 0, g: 0, b: 0 }, n = 1, t = null, a = null, o = null, f = !1, d = !1;
247
- return typeof e == "string" && (e = Fn(e)), typeof e == "object" && (T(e.r) && T(e.g) && T(e.b) ? (r = gn(e.r, e.g, e.b), f = !0, d = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : T(e.h) && T(e.s) && T(e.v) ? (t = ee(e.s), a = ee(e.v), r = bn(e.h, t, a), f = !0, d = "hsv") : T(e.h) && T(e.s) && T(e.l) && (t = ee(e.s), o = ee(e.l), r = vn(e.h, t, o), f = !0, d = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = pn(n), {
246
+ var n = { r: 0, g: 0, b: 0 }, r = 1, a = null, t = null, o = null, f = !1, d = !1;
247
+ return typeof e == "string" && (e = Fr(e)), typeof e == "object" && (x(e.r) && x(e.g) && x(e.b) ? (n = br(e.r, e.g, e.b), f = !0, d = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : x(e.h) && x(e.s) && x(e.v) ? (a = re(e.s), t = re(e.v), n = vr(e.h, a, t), f = !0, d = "hsv") : x(e.h) && x(e.s) && x(e.l) && (a = re(e.s), o = re(e.l), n = pr(e.h, a, o), f = !0, d = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (r = e.a)), r = gr(r), {
248
248
  ok: f,
249
249
  format: e.format || d,
250
- r: Math.min(255, Math.max(r.r, 0)),
251
- g: Math.min(255, Math.max(r.g, 0)),
252
- b: Math.min(255, Math.max(r.b, 0)),
253
- a: n
250
+ r: Math.min(255, Math.max(n.r, 0)),
251
+ g: Math.min(255, Math.max(n.g, 0)),
252
+ b: Math.min(255, Math.max(n.b, 0)),
253
+ a: r
254
254
  };
255
255
  }
256
- var hn = "[-\\+]?\\d+%?", kn = "[-\\+]?\\d*\\.\\d+%?", P = "(?:".concat(kn, ")|(?:").concat(hn, ")"), de = "[\\s|\\(]+(".concat(P, ")[,|\\s]+(").concat(P, ")[,|\\s]+(").concat(P, ")\\s*\\)?"), fe = "[\\s|\\(]+(".concat(P, ")[,|\\s]+(").concat(P, ")[,|\\s]+(").concat(P, ")[,|\\s]+(").concat(P, ")\\s*\\)?"), A = {
257
- CSS_UNIT: new RegExp(P),
258
- rgb: new RegExp("rgb" + de),
259
- rgba: new RegExp("rgba" + fe),
260
- hsl: new RegExp("hsl" + de),
261
- hsla: new RegExp("hsla" + fe),
262
- hsv: new RegExp("hsv" + de),
263
- hsva: new RegExp("hsva" + fe),
256
+ var hr = "[-\\+]?\\d+%?", kr = "[-\\+]?\\d*\\.\\d+%?", D = "(?:".concat(kr, ")|(?:").concat(hr, ")"), fe = "[\\s|\\(]+(".concat(D, ")[,|\\s]+(").concat(D, ")[,|\\s]+(").concat(D, ")\\s*\\)?"), ge = "[\\s|\\(]+(".concat(D, ")[,|\\s]+(").concat(D, ")[,|\\s]+(").concat(D, ")[,|\\s]+(").concat(D, ")\\s*\\)?"), T = {
257
+ CSS_UNIT: new RegExp(D),
258
+ rgb: new RegExp("rgb" + fe),
259
+ rgba: new RegExp("rgba" + ge),
260
+ hsl: new RegExp("hsl" + fe),
261
+ hsla: new RegExp("hsla" + ge),
262
+ hsv: new RegExp("hsv" + fe),
263
+ hsva: new RegExp("hsva" + ge),
264
264
  hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
265
265
  hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
266
266
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
267
267
  hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
268
268
  };
269
- function Fn(e) {
269
+ function Fr(e) {
270
270
  if (e = e.trim().toLowerCase(), e.length === 0)
271
271
  return !1;
272
- var r = !1;
273
- if (Ae[e])
274
- e = Ae[e], r = !0;
272
+ var n = !1;
273
+ if (Te[e])
274
+ e = Te[e], n = !0;
275
275
  else if (e === "transparent")
276
276
  return { r: 0, g: 0, b: 0, a: 0, format: "name" };
277
- var n = A.rgb.exec(e);
278
- return n ? { r: n[1], g: n[2], b: n[3] } : (n = A.rgba.exec(e), n ? { r: n[1], g: n[2], b: n[3], a: n[4] } : (n = A.hsl.exec(e), n ? { h: n[1], s: n[2], l: n[3] } : (n = A.hsla.exec(e), n ? { h: n[1], s: n[2], l: n[3], a: n[4] } : (n = A.hsv.exec(e), n ? { h: n[1], s: n[2], v: n[3] } : (n = A.hsva.exec(e), n ? { h: n[1], s: n[2], v: n[3], a: n[4] } : (n = A.hex8.exec(e), n ? {
279
- r: C(n[1]),
280
- g: C(n[2]),
281
- b: C(n[3]),
282
- a: je(n[4]),
283
- format: r ? "name" : "hex8"
284
- } : (n = A.hex6.exec(e), n ? {
285
- r: C(n[1]),
286
- g: C(n[2]),
287
- b: C(n[3]),
288
- format: r ? "name" : "hex"
289
- } : (n = A.hex4.exec(e), n ? {
290
- r: C(n[1] + n[1]),
291
- g: C(n[2] + n[2]),
292
- b: C(n[3] + n[3]),
293
- a: je(n[4] + n[4]),
294
- format: r ? "name" : "hex8"
295
- } : (n = A.hex3.exec(e), n ? {
296
- r: C(n[1] + n[1]),
297
- g: C(n[2] + n[2]),
298
- b: C(n[3] + n[3]),
299
- format: r ? "name" : "hex"
277
+ var r = T.rgb.exec(e);
278
+ return r ? { r: r[1], g: r[2], b: r[3] } : (r = T.rgba.exec(e), r ? { r: r[1], g: r[2], b: r[3], a: r[4] } : (r = T.hsl.exec(e), r ? { h: r[1], s: r[2], l: r[3] } : (r = T.hsla.exec(e), r ? { h: r[1], s: r[2], l: r[3], a: r[4] } : (r = T.hsv.exec(e), r ? { h: r[1], s: r[2], v: r[3] } : (r = T.hsva.exec(e), r ? { h: r[1], s: r[2], v: r[3], a: r[4] } : (r = T.hex8.exec(e), r ? {
279
+ r: S(r[1]),
280
+ g: S(r[2]),
281
+ b: S(r[3]),
282
+ a: Ae(r[4]),
283
+ format: n ? "name" : "hex8"
284
+ } : (r = T.hex6.exec(e), r ? {
285
+ r: S(r[1]),
286
+ g: S(r[2]),
287
+ b: S(r[3]),
288
+ format: n ? "name" : "hex"
289
+ } : (r = T.hex4.exec(e), r ? {
290
+ r: S(r[1] + r[1]),
291
+ g: S(r[2] + r[2]),
292
+ b: S(r[3] + r[3]),
293
+ a: Ae(r[4] + r[4]),
294
+ format: n ? "name" : "hex8"
295
+ } : (r = T.hex3.exec(e), r ? {
296
+ r: S(r[1] + r[1]),
297
+ g: S(r[2] + r[2]),
298
+ b: S(r[3] + r[3]),
299
+ format: n ? "name" : "hex"
300
300
  } : !1)))))))));
301
301
  }
302
- function T(e) {
303
- return !!A.CSS_UNIT.exec(String(e));
302
+ function x(e) {
303
+ return !!T.CSS_UNIT.exec(String(e));
304
304
  }
305
- var ne = 2, Te = 0.16, Cn = 0.05, Sn = 0.05, wn = 0.15, Ue = 5, Le = 4, On = [{
305
+ var ne = 2, xe = 0.16, Cr = 0.05, Sr = 0.05, wr = 0.15, Ue = 5, Le = 4, Or = [{
306
306
  index: 7,
307
307
  opacity: 0.15
308
308
  }, {
@@ -333,64 +333,64 @@ var ne = 2, Te = 0.16, Cn = 0.05, Sn = 0.05, wn = 0.15, Ue = 5, Le = 4, On = [{
333
333
  index: 1,
334
334
  opacity: 0.98
335
335
  }];
336
- function xe(e) {
337
- var r = e.r, n = e.g, t = e.b, a = yn(r, n, t);
336
+ function $e(e) {
337
+ var n = e.r, r = e.g, a = e.b, t = mr(n, r, a);
338
338
  return {
339
- h: a.h * 360,
340
- s: a.s,
341
- v: a.v
339
+ h: t.h * 360,
340
+ s: t.s,
341
+ v: t.v
342
342
  };
343
343
  }
344
- function re(e) {
345
- var r = e.r, n = e.g, t = e.b;
346
- return "#".concat(mn(r, n, t));
347
- }
348
- function jn(e, r, n) {
349
- var t = n / 100, a = {
350
- r: (r.r - e.r) * t + e.r,
351
- g: (r.g - e.g) * t + e.g,
352
- b: (r.b - e.b) * t + e.b
344
+ function ae(e) {
345
+ var n = e.r, r = e.g, a = e.b;
346
+ return "#".concat(yr(n, r, a));
347
+ }
348
+ function jr(e, n, r) {
349
+ var a = r / 100, t = {
350
+ r: (n.r - e.r) * a + e.r,
351
+ g: (n.g - e.g) * a + e.g,
352
+ b: (n.b - e.b) * a + e.b
353
353
  };
354
- return a;
354
+ return t;
355
355
  }
356
- function $e(e, r, n) {
357
- var t;
358
- return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? t = n ? Math.round(e.h) - ne * r : Math.round(e.h) + ne * r : t = n ? Math.round(e.h) + ne * r : Math.round(e.h) - ne * r, t < 0 ? t += 360 : t >= 360 && (t -= 360), t;
356
+ function Me(e, n, r) {
357
+ var a;
358
+ return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? a = r ? Math.round(e.h) - ne * n : Math.round(e.h) + ne * n : a = r ? Math.round(e.h) + ne * n : Math.round(e.h) - ne * n, a < 0 ? a += 360 : a >= 360 && (a -= 360), a;
359
359
  }
360
- function Me(e, r, n) {
360
+ function Ee(e, n, r) {
361
361
  if (e.h === 0 && e.s === 0)
362
362
  return e.s;
363
- var t;
364
- return n ? t = e.s - Te * r : r === Le ? t = e.s + Te : t = e.s + Cn * r, t > 1 && (t = 1), n && r === Ue && t > 0.1 && (t = 0.1), t < 0.06 && (t = 0.06), Number(t.toFixed(2));
365
- }
366
- function Ee(e, r, n) {
367
- var t;
368
- return n ? t = e.v + Sn * r : t = e.v - wn * r, t > 1 && (t = 1), Number(t.toFixed(2));
369
- }
370
- function be(e) {
371
- for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], t = W(e), a = Ue; a > 0; a -= 1) {
372
- var o = xe(t), f = re(W({
373
- h: $e(o, a, !0),
374
- s: Me(o, a, !0),
375
- v: Ee(o, a, !0)
363
+ var a;
364
+ return r ? a = e.s - xe * n : n === Le ? a = e.s + xe : a = e.s + Cr * n, a > 1 && (a = 1), r && n === Ue && a > 0.1 && (a = 0.1), a < 0.06 && (a = 0.06), Number(a.toFixed(2));
365
+ }
366
+ function _e(e, n, r) {
367
+ var a;
368
+ return r ? a = e.v + Sr * n : a = e.v - wr * n, a > 1 && (a = 1), Number(a.toFixed(2));
369
+ }
370
+ function ye(e) {
371
+ for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [], a = W(e), t = Ue; t > 0; t -= 1) {
372
+ var o = $e(a), f = ae(W({
373
+ h: Me(o, t, !0),
374
+ s: Ee(o, t, !0),
375
+ v: _e(o, t, !0)
376
376
  }));
377
- n.push(f);
377
+ r.push(f);
378
378
  }
379
- n.push(re(t));
379
+ r.push(ae(a));
380
380
  for (var d = 1; d <= Le; d += 1) {
381
- var v = xe(t), i = re(W({
382
- h: $e(v, d),
383
- s: Me(v, d),
384
- v: Ee(v, d)
381
+ var m = $e(a), l = ae(W({
382
+ h: Me(m, d),
383
+ s: Ee(m, d),
384
+ v: _e(m, d)
385
385
  }));
386
- n.push(i);
386
+ r.push(l);
387
387
  }
388
- return r.theme === "dark" ? On.map(function(b) {
389
- var s = b.index, m = b.opacity, k = re(jn(W(r.backgroundColor || "#141414"), W(n[s]), m * 100));
390
- return k;
391
- }) : n;
388
+ return n.theme === "dark" ? Or.map(function(y) {
389
+ var s = y.index, h = y.opacity, F = ae(jr(W(n.backgroundColor || "#141414"), W(r[s]), h * 100));
390
+ return F;
391
+ }) : r;
392
392
  }
393
- var pe = {
393
+ var be = {
394
394
  red: "#F5222D",
395
395
  volcano: "#FA541C",
396
396
  orange: "#FA8C16",
@@ -404,67 +404,67 @@ var pe = {
404
404
  purple: "#722ED1",
405
405
  magenta: "#EB2F96",
406
406
  grey: "#666666"
407
- }, ge = {}, ve = {};
408
- Object.keys(pe).forEach(function(e) {
409
- ge[e] = be(pe[e]), ge[e].primary = ge[e][5], ve[e] = be(pe[e], {
407
+ }, pe = {}, me = {};
408
+ Object.keys(be).forEach(function(e) {
409
+ pe[e] = ye(be[e]), pe[e].primary = pe[e][5], me[e] = ye(be[e], {
410
410
  theme: "dark",
411
411
  backgroundColor: "#141414"
412
- }), ve[e].primary = ve[e][5];
412
+ }), me[e].primary = me[e][5];
413
413
  });
414
- var _e = [], q = [], An = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
415
- function Tn() {
414
+ var Pe = [], G = [], Ar = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
415
+ function Tr() {
416
416
  var e = document.createElement("style");
417
417
  return e.setAttribute("type", "text/css"), e;
418
418
  }
419
- function xn(e, r) {
420
- if (r = r || {}, e === void 0)
421
- throw new Error(An);
422
- var n = r.prepend === !0 ? "prepend" : "append", t = r.container !== void 0 ? r.container : document.querySelector("head"), a = _e.indexOf(t);
423
- a === -1 && (a = _e.push(t) - 1, q[a] = {});
419
+ function xr(e, n) {
420
+ if (n = n || {}, e === void 0)
421
+ throw new Error(Ar);
422
+ var r = n.prepend === !0 ? "prepend" : "append", a = n.container !== void 0 ? n.container : document.querySelector("head"), t = Pe.indexOf(a);
423
+ t === -1 && (t = Pe.push(a) - 1, G[t] = {});
424
424
  var o;
425
- return q[a] !== void 0 && q[a][n] !== void 0 ? o = q[a][n] : (o = q[a][n] = Tn(), n === "prepend" ? t.insertBefore(o, t.childNodes[0]) : t.appendChild(o)), e.charCodeAt(0) === 65279 && (e = e.substr(1, e.length)), o.styleSheet ? o.styleSheet.cssText += e : o.textContent += e, o;
426
- }
427
- function Pe(e) {
428
- for (var r = 1; r < arguments.length; r++) {
429
- var n = arguments[r] != null ? Object(arguments[r]) : {}, t = Object.keys(n);
430
- typeof Object.getOwnPropertySymbols == "function" && (t = t.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
431
- return Object.getOwnPropertyDescriptor(n, a).enumerable;
432
- }))), t.forEach(function(a) {
433
- $n(e, a, n[a]);
425
+ return G[t] !== void 0 && G[t][r] !== void 0 ? o = G[t][r] : (o = G[t][r] = Tr(), r === "prepend" ? a.insertBefore(o, a.childNodes[0]) : a.appendChild(o)), e.charCodeAt(0) === 65279 && (e = e.substr(1, e.length)), o.styleSheet ? o.styleSheet.cssText += e : o.textContent += e, o;
426
+ }
427
+ function De(e) {
428
+ for (var n = 1; n < arguments.length; n++) {
429
+ var r = arguments[n] != null ? Object(arguments[n]) : {}, a = Object.keys(r);
430
+ typeof Object.getOwnPropertySymbols == "function" && (a = a.concat(Object.getOwnPropertySymbols(r).filter(function(t) {
431
+ return Object.getOwnPropertyDescriptor(r, t).enumerable;
432
+ }))), a.forEach(function(t) {
433
+ $r(e, t, r[t]);
434
434
  });
435
435
  }
436
436
  return e;
437
437
  }
438
- function $n(e, r, n) {
439
- return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
438
+ function $r(e, n, r) {
439
+ return n in e ? Object.defineProperty(e, n, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = r, e;
440
440
  }
441
- function Mn(e, r) {
441
+ function Mr(e, n) {
442
442
  process.env.NODE_ENV;
443
443
  }
444
- function En(e, r) {
445
- Mn(e, "[@ant-design/icons-vue] ".concat(r));
444
+ function Er(e, n) {
445
+ Mr(e, "[@ant-design/icons-vue] ".concat(n));
446
446
  }
447
- function De(e) {
447
+ function Ie(e) {
448
448
  return typeof e == "object" && typeof e.name == "string" && typeof e.theme == "string" && (typeof e.icon == "object" || typeof e.icon == "function");
449
449
  }
450
- function me(e, r, n) {
451
- return n ? Se(e.tag, Pe({
452
- key: r
453
- }, n, e.attrs), (e.children || []).map(function(t, a) {
454
- return me(t, "".concat(r, "-").concat(e.tag, "-").concat(a));
455
- })) : Se(e.tag, Pe({
456
- key: r
457
- }, e.attrs), (e.children || []).map(function(t, a) {
458
- return me(t, "".concat(r, "-").concat(e.tag, "-").concat(a));
450
+ function he(e, n, r) {
451
+ return r ? we(e.tag, De({
452
+ key: n
453
+ }, r, e.attrs), (e.children || []).map(function(a, t) {
454
+ return he(a, "".concat(n, "-").concat(e.tag, "-").concat(t));
455
+ })) : we(e.tag, De({
456
+ key: n
457
+ }, e.attrs), (e.children || []).map(function(a, t) {
458
+ return he(a, "".concat(n, "-").concat(e.tag, "-").concat(t));
459
459
  }));
460
460
  }
461
461
  function Ve(e) {
462
- return be(e)[0];
462
+ return ye(e)[0];
463
463
  }
464
464
  function We(e) {
465
465
  return e ? Array.isArray(e) ? e : [e] : [];
466
466
  }
467
- var _n = `
467
+ var _r = `
468
468
  .anticon {
469
469
  display: inline-block;
470
470
  color: inherit;
@@ -518,355 +518,355 @@ var _n = `
518
518
  transform: rotate(360deg);
519
519
  }
520
520
  }
521
- `, Ie = !1, Pn = function() {
522
- var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _n;
523
- Ze(function() {
524
- Ie || (typeof window < "u" && window.document && window.document.documentElement && xn(r, {
521
+ `, Be = !1, Pr = function() {
522
+ var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _r;
523
+ Qe(function() {
524
+ Be || (typeof window < "u" && window.document && window.document.documentElement && xr(n, {
525
525
  prepend: !0
526
- }), Ie = !0);
526
+ }), Be = !0);
527
527
  });
528
- }, Dn = ["icon", "primaryColor", "secondaryColor"];
529
- function In(e, r) {
528
+ }, Dr = ["icon", "primaryColor", "secondaryColor"];
529
+ function Ir(e, n) {
530
530
  if (e == null) return {};
531
- var n = Bn(e, r), t, a;
531
+ var r = Br(e, n), a, t;
532
532
  if (Object.getOwnPropertySymbols) {
533
533
  var o = Object.getOwnPropertySymbols(e);
534
- for (a = 0; a < o.length; a++)
535
- t = o[a], !(r.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(e, t) && (n[t] = e[t]);
534
+ for (t = 0; t < o.length; t++)
535
+ a = o[t], !(n.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (r[a] = e[a]);
536
536
  }
537
- return n;
537
+ return r;
538
538
  }
539
- function Bn(e, r) {
539
+ function Br(e, n) {
540
540
  if (e == null) return {};
541
- var n = {}, t = Object.keys(e), a, o;
542
- for (o = 0; o < t.length; o++)
543
- a = t[o], !(r.indexOf(a) >= 0) && (n[a] = e[a]);
544
- return n;
545
- }
546
- function oe(e) {
547
- for (var r = 1; r < arguments.length; r++) {
548
- var n = arguments[r] != null ? Object(arguments[r]) : {}, t = Object.keys(n);
549
- typeof Object.getOwnPropertySymbols == "function" && (t = t.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
550
- return Object.getOwnPropertyDescriptor(n, a).enumerable;
551
- }))), t.forEach(function(a) {
552
- Kn(e, a, n[a]);
541
+ var r = {}, a = Object.keys(e), t, o;
542
+ for (o = 0; o < a.length; o++)
543
+ t = a[o], !(n.indexOf(t) >= 0) && (r[t] = e[t]);
544
+ return r;
545
+ }
546
+ function le(e) {
547
+ for (var n = 1; n < arguments.length; n++) {
548
+ var r = arguments[n] != null ? Object(arguments[n]) : {}, a = Object.keys(r);
549
+ typeof Object.getOwnPropertySymbols == "function" && (a = a.concat(Object.getOwnPropertySymbols(r).filter(function(t) {
550
+ return Object.getOwnPropertyDescriptor(r, t).enumerable;
551
+ }))), a.forEach(function(t) {
552
+ Kr(e, t, r[t]);
553
553
  });
554
554
  }
555
555
  return e;
556
556
  }
557
- function Kn(e, r, n) {
558
- return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
557
+ function Kr(e, n, r) {
558
+ return n in e ? Object.defineProperty(e, n, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = r, e;
559
559
  }
560
- var J = {
560
+ var Y = {
561
561
  primaryColor: "#333",
562
562
  secondaryColor: "#E6E6E6",
563
563
  calculated: !1
564
564
  };
565
- function Nn(e) {
566
- var r = e.primaryColor, n = e.secondaryColor;
567
- J.primaryColor = r, J.secondaryColor = n || Ve(r), J.calculated = !!n;
565
+ function Nr(e) {
566
+ var n = e.primaryColor, r = e.secondaryColor;
567
+ Y.primaryColor = n, Y.secondaryColor = r || Ve(n), Y.calculated = !!r;
568
568
  }
569
- function zn() {
570
- return oe({}, J);
569
+ function qr() {
570
+ return le({}, Y);
571
571
  }
572
- var D = function(r, n) {
573
- var t = oe({}, r, n.attrs), a = t.icon, o = t.primaryColor, f = t.secondaryColor, d = In(t, Dn), v = J;
574
- if (o && (v = {
572
+ var I = function(n, r) {
573
+ var a = le({}, n, r.attrs), t = a.icon, o = a.primaryColor, f = a.secondaryColor, d = Ir(a, Dr), m = Y;
574
+ if (o && (m = {
575
575
  primaryColor: o,
576
576
  secondaryColor: f || Ve(o)
577
- }), Pn(), En(De(a), "icon should be icon definiton, but got ".concat(a)), !De(a))
577
+ }), Pr(), Er(Ie(t), "icon should be icon definiton, but got ".concat(t)), !Ie(t))
578
578
  return null;
579
- var i = a;
580
- return i && typeof i.icon == "function" && (i = oe({}, i, {
581
- icon: i.icon(v.primaryColor, v.secondaryColor)
582
- })), me(i.icon, "svg-".concat(i.name), oe({}, d, {
583
- "data-icon": i.name,
579
+ var l = t;
580
+ return l && typeof l.icon == "function" && (l = le({}, l, {
581
+ icon: l.icon(m.primaryColor, m.secondaryColor)
582
+ })), he(l.icon, "svg-".concat(l.name), le({}, d, {
583
+ "data-icon": l.name,
584
584
  width: "1em",
585
585
  height: "1em",
586
586
  fill: "currentColor",
587
587
  "aria-hidden": "true"
588
588
  }));
589
589
  };
590
- D.props = {
590
+ I.props = {
591
591
  icon: Object,
592
592
  primaryColor: String,
593
593
  secondaryColor: String,
594
594
  focusable: String
595
595
  };
596
- D.inheritAttrs = !1;
597
- D.displayName = "IconBase";
598
- D.getTwoToneColors = zn;
599
- D.setTwoToneColors = Nn;
600
- function Rn(e, r) {
601
- return Vn(e) || Ln(e, r) || Un(e, r) || Hn();
602
- }
603
- function Hn() {
596
+ I.inheritAttrs = !1;
597
+ I.displayName = "IconBase";
598
+ I.getTwoToneColors = qr;
599
+ I.setTwoToneColors = Nr;
600
+ function zr(e, n) {
601
+ return Lr(e) || Ur(e, n) || Hr(e, n) || Rr();
602
+ }
603
+ function Rr() {
604
604
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
605
605
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
606
606
  }
607
- function Un(e, r) {
607
+ function Hr(e, n) {
608
608
  if (e) {
609
- if (typeof e == "string") return Be(e, r);
610
- var n = Object.prototype.toString.call(e).slice(8, -1);
611
- if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
612
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Be(e, r);
609
+ if (typeof e == "string") return Ke(e, n);
610
+ var r = Object.prototype.toString.call(e).slice(8, -1);
611
+ if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
612
+ if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Ke(e, n);
613
613
  }
614
614
  }
615
- function Be(e, r) {
616
- (r == null || r > e.length) && (r = e.length);
617
- for (var n = 0, t = new Array(r); n < r; n++)
618
- t[n] = e[n];
619
- return t;
615
+ function Ke(e, n) {
616
+ (n == null || n > e.length) && (n = e.length);
617
+ for (var r = 0, a = new Array(n); r < n; r++)
618
+ a[r] = e[r];
619
+ return a;
620
620
  }
621
- function Ln(e, r) {
622
- var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
623
- if (n != null) {
624
- var t = [], a = !0, o = !1, f, d;
621
+ function Ur(e, n) {
622
+ var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
623
+ if (r != null) {
624
+ var a = [], t = !0, o = !1, f, d;
625
625
  try {
626
- for (n = n.call(e); !(a = (f = n.next()).done) && (t.push(f.value), !(r && t.length === r)); a = !0)
626
+ for (r = r.call(e); !(t = (f = r.next()).done) && (a.push(f.value), !(n && a.length === n)); t = !0)
627
627
  ;
628
- } catch (v) {
629
- o = !0, d = v;
628
+ } catch (m) {
629
+ o = !0, d = m;
630
630
  } finally {
631
631
  try {
632
- !a && n.return != null && n.return();
632
+ !t && r.return != null && r.return();
633
633
  } finally {
634
634
  if (o) throw d;
635
635
  }
636
636
  }
637
- return t;
637
+ return a;
638
638
  }
639
639
  }
640
- function Vn(e) {
640
+ function Lr(e) {
641
641
  if (Array.isArray(e)) return e;
642
642
  }
643
- function qe(e) {
644
- var r = We(e), n = Rn(r, 2), t = n[0], a = n[1];
645
- return D.setTwoToneColors({
646
- primaryColor: t,
647
- secondaryColor: a
643
+ function Ge(e) {
644
+ var n = We(e), r = zr(n, 2), a = r[0], t = r[1];
645
+ return I.setTwoToneColors({
646
+ primaryColor: a,
647
+ secondaryColor: t
648
648
  });
649
649
  }
650
- function Wn() {
651
- var e = D.getTwoToneColors();
650
+ function Vr() {
651
+ var e = I.getTwoToneColors();
652
652
  return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
653
653
  }
654
- var qn = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
655
- function Gn(e, r) {
656
- return Qn(e) || Zn(e, r) || Yn(e, r) || Jn();
654
+ var Wr = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
655
+ function Gr(e, n) {
656
+ return Qr(e) || Zr(e, n) || Yr(e, n) || Jr();
657
657
  }
658
- function Jn() {
658
+ function Jr() {
659
659
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
660
660
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
661
661
  }
662
- function Yn(e, r) {
662
+ function Yr(e, n) {
663
663
  if (e) {
664
- if (typeof e == "string") return Ke(e, r);
665
- var n = Object.prototype.toString.call(e).slice(8, -1);
666
- if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
667
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Ke(e, r);
664
+ if (typeof e == "string") return Ne(e, n);
665
+ var r = Object.prototype.toString.call(e).slice(8, -1);
666
+ if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
667
+ if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Ne(e, n);
668
668
  }
669
669
  }
670
- function Ke(e, r) {
671
- (r == null || r > e.length) && (r = e.length);
672
- for (var n = 0, t = new Array(r); n < r; n++)
673
- t[n] = e[n];
674
- return t;
670
+ function Ne(e, n) {
671
+ (n == null || n > e.length) && (n = e.length);
672
+ for (var r = 0, a = new Array(n); r < n; r++)
673
+ a[r] = e[r];
674
+ return a;
675
675
  }
676
- function Zn(e, r) {
677
- var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
678
- if (n != null) {
679
- var t = [], a = !0, o = !1, f, d;
676
+ function Zr(e, n) {
677
+ var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
678
+ if (r != null) {
679
+ var a = [], t = !0, o = !1, f, d;
680
680
  try {
681
- for (n = n.call(e); !(a = (f = n.next()).done) && (t.push(f.value), !(r && t.length === r)); a = !0)
681
+ for (r = r.call(e); !(t = (f = r.next()).done) && (a.push(f.value), !(n && a.length === n)); t = !0)
682
682
  ;
683
- } catch (v) {
684
- o = !0, d = v;
683
+ } catch (m) {
684
+ o = !0, d = m;
685
685
  } finally {
686
686
  try {
687
- !a && n.return != null && n.return();
687
+ !t && r.return != null && r.return();
688
688
  } finally {
689
689
  if (o) throw d;
690
690
  }
691
691
  }
692
- return t;
692
+ return a;
693
693
  }
694
694
  }
695
- function Qn(e) {
695
+ function Qr(e) {
696
696
  if (Array.isArray(e)) return e;
697
697
  }
698
- function Ne(e) {
699
- for (var r = 1; r < arguments.length; r++) {
700
- var n = arguments[r] != null ? Object(arguments[r]) : {}, t = Object.keys(n);
701
- typeof Object.getOwnPropertySymbols == "function" && (t = t.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
702
- return Object.getOwnPropertyDescriptor(n, a).enumerable;
703
- }))), t.forEach(function(a) {
704
- he(e, a, n[a]);
698
+ function qe(e) {
699
+ for (var n = 1; n < arguments.length; n++) {
700
+ var r = arguments[n] != null ? Object(arguments[n]) : {}, a = Object.keys(r);
701
+ typeof Object.getOwnPropertySymbols == "function" && (a = a.concat(Object.getOwnPropertySymbols(r).filter(function(t) {
702
+ return Object.getOwnPropertyDescriptor(r, t).enumerable;
703
+ }))), a.forEach(function(t) {
704
+ ke(e, t, r[t]);
705
705
  });
706
706
  }
707
707
  return e;
708
708
  }
709
- function he(e, r, n) {
710
- return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
709
+ function ke(e, n, r) {
710
+ return n in e ? Object.defineProperty(e, n, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = r, e;
711
711
  }
712
- function Xn(e, r) {
712
+ function Xr(e, n) {
713
713
  if (e == null) return {};
714
- var n = er(e, r), t, a;
714
+ var r = en(e, n), a, t;
715
715
  if (Object.getOwnPropertySymbols) {
716
716
  var o = Object.getOwnPropertySymbols(e);
717
- for (a = 0; a < o.length; a++)
718
- t = o[a], !(r.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(e, t) && (n[t] = e[t]);
717
+ for (t = 0; t < o.length; t++)
718
+ a = o[t], !(n.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (r[a] = e[a]);
719
719
  }
720
- return n;
720
+ return r;
721
721
  }
722
- function er(e, r) {
722
+ function en(e, n) {
723
723
  if (e == null) return {};
724
- var n = {}, t = Object.keys(e), a, o;
725
- for (o = 0; o < t.length; o++)
726
- a = t[o], !(r.indexOf(a) >= 0) && (n[a] = e[a]);
727
- return n;
728
- }
729
- qe("#1890ff");
730
- var N = function(r, n) {
731
- var t, a = Ne({}, r, n.attrs), o = a.class, f = a.icon, d = a.spin, v = a.rotate, i = a.tabindex, b = a.twoToneColor, s = a.onClick, m = Xn(a, qn), k = (t = {
724
+ var r = {}, a = Object.keys(e), t, o;
725
+ for (o = 0; o < a.length; o++)
726
+ t = a[o], !(n.indexOf(t) >= 0) && (r[t] = e[t]);
727
+ return r;
728
+ }
729
+ Ge("#1890ff");
730
+ var q = function(n, r) {
731
+ var a, t = qe({}, n, r.attrs), o = t.class, f = t.icon, d = t.spin, m = t.rotate, l = t.tabindex, y = t.twoToneColor, s = t.onClick, h = Xr(t, Wr), F = (a = {
732
732
  anticon: !0
733
- }, he(t, "anticon-".concat(f.name), !!f.name), he(t, o, o), t), U = d === "" || d || f.name === "loading" ? "anticon-spin" : "", L = i;
734
- L === void 0 && s && (L = -1, m.tabindex = L);
735
- var ie = v ? {
736
- msTransform: "rotate(".concat(v, "deg)"),
737
- transform: "rotate(".concat(v, "deg)")
738
- } : void 0, Z = We(b), Q = Gn(Z, 2), le = Q[0], p = Q[1];
739
- return w("span", Ne({
733
+ }, ke(a, "anticon-".concat(f.name), !!f.name), ke(a, o, o), a), U = d === "" || d || f.name === "loading" ? "anticon-spin" : "", L = l;
734
+ L === void 0 && s && (L = -1, h.tabindex = L);
735
+ var ie = m ? {
736
+ msTransform: "rotate(".concat(m, "deg)"),
737
+ transform: "rotate(".concat(m, "deg)")
738
+ } : void 0, Q = We(y), X = Gr(Q, 2), se = X[0], g = X[1];
739
+ return O("span", qe({
740
740
  role: "img",
741
741
  "aria-label": f.name
742
- }, m, {
742
+ }, h, {
743
743
  onClick: s,
744
- class: k
745
- }), [w(D, {
744
+ class: F
745
+ }), [O(I, {
746
746
  class: U,
747
747
  icon: f,
748
- primaryColor: le,
749
- secondaryColor: p,
748
+ primaryColor: se,
749
+ secondaryColor: g,
750
750
  style: ie
751
751
  }, null)]);
752
752
  };
753
- N.props = {
753
+ q.props = {
754
754
  spin: Boolean,
755
755
  rotate: Number,
756
756
  icon: Object,
757
757
  twoToneColor: String
758
758
  };
759
- N.displayName = "AntdIcon";
760
- N.inheritAttrs = !1;
761
- N.getTwoToneColor = Wn;
762
- N.setTwoToneColor = qe;
763
- var nr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z" } }] }, name: "menu-fold", theme: "outlined" };
759
+ q.displayName = "AntdIcon";
760
+ q.inheritAttrs = !1;
761
+ q.getTwoToneColor = Vr;
762
+ q.setTwoToneColor = Ge;
763
+ var rn = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z" } }] }, name: "menu-fold", theme: "outlined" };
764
764
  function ze(e) {
765
- for (var r = 1; r < arguments.length; r++) {
766
- var n = arguments[r] != null ? Object(arguments[r]) : {}, t = Object.keys(n);
767
- typeof Object.getOwnPropertySymbols == "function" && (t = t.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
768
- return Object.getOwnPropertyDescriptor(n, a).enumerable;
769
- }))), t.forEach(function(a) {
770
- rr(e, a, n[a]);
765
+ for (var n = 1; n < arguments.length; n++) {
766
+ var r = arguments[n] != null ? Object(arguments[n]) : {}, a = Object.keys(r);
767
+ typeof Object.getOwnPropertySymbols == "function" && (a = a.concat(Object.getOwnPropertySymbols(r).filter(function(t) {
768
+ return Object.getOwnPropertyDescriptor(r, t).enumerable;
769
+ }))), a.forEach(function(t) {
770
+ nn(e, t, r[t]);
771
771
  });
772
772
  }
773
773
  return e;
774
774
  }
775
- function rr(e, r, n) {
776
- return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
775
+ function nn(e, n, r) {
776
+ return n in e ? Object.defineProperty(e, n, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = r, e;
777
777
  }
778
- var Fe = function(r, n) {
779
- var t = ze({}, r, n.attrs);
780
- return w(N, ze({}, t, {
781
- icon: nr
778
+ var Ce = function(n, r) {
779
+ var a = ze({}, n, r.attrs);
780
+ return O(q, ze({}, a, {
781
+ icon: rn
782
782
  }), null);
783
783
  };
784
- Fe.displayName = "MenuFoldOutlined";
785
- Fe.inheritAttrs = !1;
786
- var tr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z" } }] }, name: "menu-unfold", theme: "outlined" };
784
+ Ce.displayName = "MenuFoldOutlined";
785
+ Ce.inheritAttrs = !1;
786
+ var an = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z" } }] }, name: "menu-unfold", theme: "outlined" };
787
787
  function Re(e) {
788
- for (var r = 1; r < arguments.length; r++) {
789
- var n = arguments[r] != null ? Object(arguments[r]) : {}, t = Object.keys(n);
790
- typeof Object.getOwnPropertySymbols == "function" && (t = t.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
791
- return Object.getOwnPropertyDescriptor(n, a).enumerable;
792
- }))), t.forEach(function(a) {
793
- ar(e, a, n[a]);
788
+ for (var n = 1; n < arguments.length; n++) {
789
+ var r = arguments[n] != null ? Object(arguments[n]) : {}, a = Object.keys(r);
790
+ typeof Object.getOwnPropertySymbols == "function" && (a = a.concat(Object.getOwnPropertySymbols(r).filter(function(t) {
791
+ return Object.getOwnPropertyDescriptor(r, t).enumerable;
792
+ }))), a.forEach(function(t) {
793
+ tn(e, t, r[t]);
794
794
  });
795
795
  }
796
796
  return e;
797
797
  }
798
- function ar(e, r, n) {
799
- return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
798
+ function tn(e, n, r) {
799
+ return n in e ? Object.defineProperty(e, n, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = r, e;
800
800
  }
801
- var Ce = function(r, n) {
802
- var t = Re({}, r, n.attrs);
803
- return w(N, Re({}, t, {
804
- icon: tr
801
+ var Se = function(n, r) {
802
+ var a = Re({}, n, r.attrs);
803
+ return O(q, Re({}, a, {
804
+ icon: an
805
805
  }), null);
806
806
  };
807
- Ce.displayName = "MenuUnfoldOutlined";
808
- Ce.inheritAttrs = !1;
809
- const or = ["src"], Ge = /* @__PURE__ */ ke({
807
+ Se.displayName = "MenuUnfoldOutlined";
808
+ Se.inheritAttrs = !1;
809
+ const on = ["src"], Je = /* @__PURE__ */ Fe({
810
810
  __name: "menu-icon",
811
811
  props: {
812
812
  data: { default: () => ({}) },
813
813
  status: { default: "default" }
814
814
  },
815
815
  setup(e) {
816
- const r = e, n = M(() => {
817
- var o, f, d, v;
818
- return r.status === "default" ? (((o = r.data) == null ? void 0 : o.host) || "") + se(r.data.iconUrl) : (f = r.data) != null && f.hoverIcon ? (((d = r.data) == null ? void 0 : d.host) || "") + se(r.data.hoverIcon) : (((v = r.data) == null ? void 0 : v.host) || "") + se(r.data.iconUrl);
819
- }), t = M(() => ({
816
+ const n = e, r = E(() => {
817
+ var o, f, d, m;
818
+ return n.status === "default" ? (((o = n.data) == null ? void 0 : o.host) || "") + ue(n.data.iconUrl) : (f = n.data) != null && f.hoverIcon ? (((d = n.data) == null ? void 0 : d.host) || "") + ue(n.data.hoverIcon) : (((m = n.data) == null ? void 0 : m.host) || "") + ue(n.data.iconUrl);
819
+ }), a = E(() => ({
820
820
  display: "block",
821
821
  "background-color": "currentColor",
822
- "mask-image": `url(${n.value})`
822
+ "mask-image": `url(${r.value})`
823
823
  }));
824
- return (a, o) => n.value.endsWith(".svg") ? (c(), g(
824
+ return (t, o) => r.value.endsWith(".svg") ? (c(), p(
825
825
  "i",
826
826
  {
827
827
  key: 0,
828
- style: te(t.value)
828
+ style: te(a.value)
829
829
  },
830
830
  null,
831
831
  4
832
832
  /* STYLE */
833
- )) : (c(), g("img", {
833
+ )) : (c(), p("img", {
834
834
  key: 1,
835
- src: n.value,
835
+ src: r.value,
836
836
  alt: ""
837
- }, null, 8, or));
837
+ }, null, 8, on));
838
838
  }
839
- }), ir = (e, r) => ({
840
- menuClick: (a, o) => {
839
+ }), ln = (e, n) => ({
840
+ menuClick: (t, o) => {
841
841
  var f;
842
- (f = e.selectedKeys) != null && f.includes(o.id) || r("menuClick", { domEvent: a, item: o, key: o.id, keyPath: [o.parentId, o.id] });
842
+ (f = e.selectedKeys) != null && f.includes(o.id) || n("menuClick", { domEvent: t, item: o, key: o.id, keyPath: [o.parentId, o.id] });
843
843
  },
844
- toggleAffix: (a, o) => {
845
- r("toggleAffix", a, o);
844
+ toggleAffix: (t, o) => {
845
+ n("toggleAffix", t, o);
846
846
  }
847
- }), Je = (e, r = "children") => e.map((t) => (t[r] && t[r].length && (t[r] = Je(t[r], r)), (!t[r] || !t[r].length) && (t[r] = null), t)), lr = (e, r) => {
848
- for (var n = [], t = 0; t < e.length; t += r)
849
- n.push(e.slice(t, t + r));
850
- return n;
851
- }, sr = { class: "aside-menu-title has-children" }, ur = {
847
+ }), Ye = (e, n = "children") => e.map((a) => (a[n] && a[n].length && (a[n] = Ye(a[n], n)), (!a[n] || !a[n].length) && (a[n] = null), a)), sn = (e, n) => {
848
+ for (var r = [], a = 0; a < e.length; a += n)
849
+ r.push(e.slice(a, a + n));
850
+ return r;
851
+ }, un = { class: "aside-menu-title has-children" }, cn = {
852
852
  key: 0,
853
853
  class: "icon-box"
854
- }, cr = {
854
+ }, dn = {
855
855
  key: 1,
856
856
  class: "menu-title"
857
- }, dr = { class: "submenu-container" }, fr = { class: "title-bar" }, pr = { class: "title-left" }, gr = { class: "title" }, vr = { class: "item-container" }, yr = ["onClick"], br = { class: "name" }, mr = {
857
+ }, fn = { class: "submenu-container" }, gn = { class: "title-bar" }, bn = { class: "title-left" }, pn = { class: "title" }, mn = { class: "item-container" }, vn = ["onClick"], yn = { class: "name" }, hn = {
858
858
  key: 0,
859
859
  class: "expired"
860
- }, hr = { class: "name" }, kr = {
860
+ }, kn = { class: "name" }, Fn = {
861
861
  key: 0,
862
862
  class: "expired"
863
- }, Fr = { class: "submenu-container is-collapse" }, Cr = { class: "title-bar is-collapse" }, Sr = { class: "title-left" }, wr = { class: "title" }, Or = { class: "icon-title" }, jr = { class: "icon-title" }, Ar = { class: "item-collapse-container" }, Tr = ["onClick"], xr = { class: "name" }, $r = {
863
+ }, Cn = { class: "submenu-container is-collapse" }, Sn = { class: "title-bar is-collapse" }, wn = { class: "title-left" }, On = { class: "title" }, jn = { class: "icon-title" }, An = { class: "icon-title" }, Tn = { class: "item-collapse-container" }, xn = ["onClick"], $n = { class: "name" }, Mn = {
864
864
  key: 0,
865
865
  class: "expired"
866
- }, Mr = {
866
+ }, En = {
867
867
  name: "SubMenu"
868
- }, Er = /* @__PURE__ */ ke({
869
- ...Mr,
868
+ }, _n = /* @__PURE__ */ Fe({
869
+ ...En,
870
870
  props: {
871
871
  mode: { default: "vertical" },
872
872
  collapse: { type: Boolean },
@@ -880,110 +880,110 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
880
880
  rtl: { type: Boolean, default: !1 }
881
881
  },
882
882
  emits: ["menuClick", "toggleAffix"],
883
- setup(e, { emit: r }) {
884
- const t = Y(!0), a = Y(""), o = e, f = r;
885
- ln({
883
+ setup(e, { emit: n }) {
884
+ const a = Z(!0), t = Z(""), o = e, f = n;
885
+ ir({
886
886
  unlock: import("@das-fed/ui/packages/icons/unlock"),
887
887
  lock: import("@das-fed/ui/packages/icons/lock")
888
888
  });
889
- const { toggleAffix: d, menuClick: v } = ir(o, f);
890
- return (i, b) => (c(), E(l(an), ye({
891
- class: ["das-ui-sub-menu", i.parentSelectKeys.includes(i.menuInfo.id) ? "is-active" : "", o.rtl ? "is-rtl" : ""],
892
- key: i.menuInfo.id,
889
+ const { toggleAffix: d, menuClick: m } = ln(o, f);
890
+ return (l, y) => (c(), _(i(or), ve({
891
+ class: ["das-ui-sub-menu", l.parentSelectKeys.includes(l.menuInfo.id) ? "is-active" : "", o.rtl ? "is-rtl" : ""],
892
+ key: l.menuInfo.id,
893
893
  "popup-offset": [0, 0],
894
894
  direction: o.rtl ? "rtl" : "ltr"
895
- }, i.$attrs, {
896
- onMouseover: b[4] || (b[4] = (s) => a.value = i.menuInfo.id),
897
- onMouseleave: b[5] || (b[5] = (s) => a.value = -1)
895
+ }, l.$attrs, {
896
+ onMouseover: y[4] || (y[4] = (s) => t.value = l.menuInfo.id),
897
+ onMouseleave: y[5] || (y[5] = (s) => t.value = -1)
898
898
  }), {
899
- icon: $(() => {
899
+ icon: M(() => {
900
900
  var s;
901
901
  return [
902
- F("div", sr, [
903
- i.menuInfo.hideIcon ? y("v-if", !0) : (c(), g("div", ur, [
904
- H(i.$slots, "icon", { menuInfo: i.menuInfo }, () => [
905
- w(Ge, {
906
- data: i.menuInfo,
907
- status: i.parentSelectKeys.includes(i.menuInfo.id) || a.value === i.menuInfo.id ? "hover" : "default"
902
+ C("div", un, [
903
+ l.menuInfo.hideIcon ? v("v-if", !0) : (c(), p("div", cn, [
904
+ H(l.$slots, "icon", { menuInfo: l.menuInfo }, () => [
905
+ O(Je, {
906
+ data: l.menuInfo,
907
+ status: l.parentSelectKeys.includes(l.menuInfo.id) || t.value === l.menuInfo.id ? "hover" : "default"
908
908
  }, null, 8, ["data", "status"])
909
909
  ])
910
910
  ])),
911
- i.collapse ? y("v-if", !0) : (c(), g("div", cr, [
912
- H(i.$slots, ((s = i.menuInfo) == null ? void 0 : s.code) + "-name", {}, () => [
913
- x((c(), g("div", null, [
914
- B(
915
- S(i.menuInfo.name),
911
+ l.collapse ? v("v-if", !0) : (c(), p("div", dn, [
912
+ H(l.$slots, ((s = l.menuInfo) == null ? void 0 : s.code) + "-name", {}, () => [
913
+ $((c(), p("div", null, [
914
+ K(
915
+ w(l.menuInfo.name),
916
916
  1
917
917
  /* TEXT */
918
918
  )
919
919
  ])), [
920
- [l(K)]
920
+ [i(N)]
921
921
  ])
922
922
  ])
923
923
  ]))
924
924
  ])
925
925
  ];
926
926
  }),
927
- default: $(() => [
928
- i.menuInfo.children.length ? (c(), g(
929
- O,
927
+ default: M(() => [
928
+ l.menuInfo.children.length ? (c(), p(
929
+ j,
930
930
  { key: 0 },
931
931
  [
932
- y(" 展开 "),
933
- i.collapse ? (c(), g(
934
- O,
932
+ v(" 展开 "),
933
+ l.collapse ? (c(), p(
934
+ j,
935
935
  { key: 1 },
936
936
  [
937
- y(" 收起 "),
938
- w(l(ae), null, {
939
- default: $(() => [
940
- F("div", Fr, [
941
- F("div", Cr, [
942
- F("div", Sr, [
943
- x((c(), g("div", wr, [
944
- B(
945
- S(i.menuInfo.name),
937
+ v(" 收起 "),
938
+ O(i(oe), null, {
939
+ default: M(() => [
940
+ C("div", Cn, [
941
+ C("div", Sn, [
942
+ C("div", wn, [
943
+ $((c(), p("div", On, [
944
+ K(
945
+ w(l.menuInfo.name),
946
946
  1
947
947
  /* TEXT */
948
948
  )
949
949
  ])), [
950
- [l(K)]
950
+ [i(N)]
951
951
  ])
952
952
  ]),
953
- l(!1) && t.value ? (c(), g(
954
- O,
953
+ i(!1) && a.value ? (c(), p(
954
+ j,
955
955
  { key: 0 },
956
956
  [
957
- i.affixKeys.includes(i.menuInfo.id) ? (c(), g("div", {
957
+ l.affixKeys.includes(l.menuInfo.id) ? (c(), p("div", {
958
958
  key: 0,
959
959
  class: "title-right",
960
- onClick: b[2] || (b[2] = z((s) => l(d)(i.menuInfo.id, !1), ["stop"]))
960
+ onClick: y[2] || (y[2] = z((s) => i(d)(l.menuInfo.id, !1), ["stop"]))
961
961
  }, [
962
- w(l(X), {
962
+ O(i(ee), {
963
963
  icon: "unlock",
964
964
  size: "small"
965
965
  }),
966
- F(
966
+ C(
967
967
  "div",
968
- Or,
969
- S(l(R)("解锁")),
968
+ jn,
969
+ w(i(R)("解锁")),
970
970
  1
971
971
  /* TEXT */
972
972
  )
973
- ])) : y("v-if", !0),
974
- i.affixKeys.includes(i.menuInfo.id) ? y("v-if", !0) : (c(), g("div", {
973
+ ])) : v("v-if", !0),
974
+ l.affixKeys.includes(l.menuInfo.id) ? v("v-if", !0) : (c(), p("div", {
975
975
  key: 1,
976
976
  class: "title-right affix",
977
- onClick: b[3] || (b[3] = z((s) => l(d)(i.menuInfo.id, !0), ["stop"]))
977
+ onClick: y[3] || (y[3] = z((s) => i(d)(l.menuInfo.id, !0), ["stop"]))
978
978
  }, [
979
- w(l(X), {
979
+ O(i(ee), {
980
980
  icon: "lock",
981
981
  size: "small"
982
982
  }),
983
- F(
983
+ C(
984
984
  "div",
985
- jr,
986
- S(l(R)("锁住")),
985
+ An,
986
+ w(i(R)("锁住")),
987
987
  1
988
988
  /* TEXT */
989
989
  )
@@ -991,43 +991,43 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
991
991
  ],
992
992
  64
993
993
  /* STABLE_FRAGMENT */
994
- )) : y("v-if", !0)
994
+ )) : v("v-if", !0)
995
995
  ]),
996
- x((c(), g("div", Ar, [
997
- (c(!0), g(
998
- O,
996
+ $((c(), p("div", Tn, [
997
+ (c(!0), p(
998
+ j,
999
999
  null,
1000
- G(i.menuInfo.children, (s) => (c(), g("div", {
1000
+ J(l.menuInfo.children, (s) => (c(), p("div", {
1001
1001
  key: s.id,
1002
- class: _([
1002
+ class: P([
1003
1003
  "sub-menu-item",
1004
- i.selectedKeys.includes(s.id) ? "is-active" : "",
1004
+ l.selectedKeys.includes(s.id) ? "is-active" : "",
1005
1005
  s != null && s.disable ? "is-disable" : ""
1006
1006
  ]),
1007
- onClick: z((m) => l(v)(m, s), ["stop"])
1007
+ onClick: z((h) => i(m)(h, s), ["stop"])
1008
1008
  }, [
1009
- x((c(), g("div", xr, [
1010
- B(
1011
- S(s.name),
1009
+ $((c(), p("div", $n, [
1010
+ K(
1011
+ w(s.name),
1012
1012
  1
1013
1013
  /* TEXT */
1014
1014
  )
1015
1015
  ])), [
1016
- [l(K)]
1016
+ [i(N)]
1017
1017
  ]),
1018
- s != null && s.expired ? (c(), g(
1018
+ s != null && s.expired ? (c(), p(
1019
1019
  "div",
1020
- $r,
1021
- S(l(R)("已到期")),
1020
+ Mn,
1021
+ w(i(R)("已到期")),
1022
1022
  1
1023
1023
  /* TEXT */
1024
- )) : y("v-if", !0)
1025
- ], 10, Tr))),
1024
+ )) : v("v-if", !0)
1025
+ ], 10, xn))),
1026
1026
  128
1027
1027
  /* KEYED_FRAGMENT */
1028
1028
  ))
1029
1029
  ])), [
1030
- [l(Oe), { x: !1 }]
1030
+ [i(je), { x: !1 }]
1031
1031
  ])
1032
1032
  ])
1033
1033
  ]),
@@ -1037,56 +1037,56 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
1037
1037
  ],
1038
1038
  2112
1039
1039
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1040
- )) : (c(), g(
1041
- O,
1040
+ )) : (c(), p(
1041
+ j,
1042
1042
  { key: 0 },
1043
1043
  [
1044
- i.mode === "vertical" ? (c(), E(l(ae), { key: 0 }, {
1045
- default: $(() => [
1046
- F("div", dr, [
1047
- F("div", fr, [
1048
- F("div", pr, [
1049
- x((c(), g("div", gr, [
1050
- B(
1051
- S(i.menuInfo.name),
1044
+ l.mode === "vertical" ? (c(), _(i(oe), { key: 0 }, {
1045
+ default: M(() => [
1046
+ C("div", fn, [
1047
+ C("div", gn, [
1048
+ C("div", bn, [
1049
+ $((c(), p("div", pn, [
1050
+ K(
1051
+ w(l.menuInfo.name),
1052
1052
  1
1053
1053
  /* TEXT */
1054
1054
  )
1055
1055
  ])), [
1056
- [l(K)]
1056
+ [i(N)]
1057
1057
  ])
1058
1058
  ]),
1059
- l(!1) && t.value ? (c(), g(
1060
- O,
1059
+ i(!1) && a.value ? (c(), p(
1060
+ j,
1061
1061
  { key: 0 },
1062
1062
  [
1063
- i.affixKeys.includes(i.menuInfo.id) ? (c(), g("div", {
1063
+ l.affixKeys.includes(l.menuInfo.id) ? (c(), p("div", {
1064
1064
  key: 0,
1065
1065
  class: "title-right",
1066
- onClick: b[0] || (b[0] = z((s) => l(d)(i.menuInfo.id, !1), ["stop"]))
1066
+ onClick: y[0] || (y[0] = z((s) => i(d)(l.menuInfo.id, !1), ["stop"]))
1067
1067
  }, [
1068
- w(l(X), {
1068
+ O(i(ee), {
1069
1069
  icon: "unlock",
1070
1070
  size: "small"
1071
1071
  }),
1072
- b[6] || (b[6] = F(
1072
+ y[6] || (y[6] = C(
1073
1073
  "div",
1074
1074
  { class: "icon-title" },
1075
1075
  "解锁",
1076
1076
  -1
1077
1077
  /* CACHED */
1078
1078
  ))
1079
- ])) : y("v-if", !0),
1080
- i.affixKeys.includes(i.menuInfo.id) ? y("v-if", !0) : (c(), g("div", {
1079
+ ])) : v("v-if", !0),
1080
+ l.affixKeys.includes(l.menuInfo.id) ? v("v-if", !0) : (c(), p("div", {
1081
1081
  key: 1,
1082
1082
  class: "title-right affix",
1083
- onClick: b[1] || (b[1] = z((s) => l(d)(i.menuInfo.id, !0), ["stop"]))
1083
+ onClick: y[1] || (y[1] = z((s) => i(d)(l.menuInfo.id, !0), ["stop"]))
1084
1084
  }, [
1085
- w(l(X), {
1085
+ O(i(ee), {
1086
1086
  icon: "lock",
1087
1087
  size: "small"
1088
1088
  }),
1089
- b[7] || (b[7] = F(
1089
+ y[7] || (y[7] = C(
1090
1090
  "div",
1091
1091
  { class: "icon-title" },
1092
1092
  "锁住",
@@ -1097,45 +1097,45 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
1097
1097
  ],
1098
1098
  64
1099
1099
  /* STABLE_FRAGMENT */
1100
- )) : y("v-if", !0)
1100
+ )) : v("v-if", !0)
1101
1101
  ]),
1102
- x((c(), g("div", vr, [
1103
- (c(!0), g(
1104
- O,
1102
+ $((c(), p("div", mn, [
1103
+ (c(!0), p(
1104
+ j,
1105
1105
  null,
1106
- G(l(lr)(i.menuInfo.children, 4), (s, m) => (c(), g("div", {
1107
- key: m,
1106
+ J(i(sn)(l.menuInfo.children, 4), (s, h) => (c(), p("div", {
1107
+ key: h,
1108
1108
  class: "sub-menu-row"
1109
1109
  }, [
1110
- (c(!0), g(
1111
- O,
1110
+ (c(!0), p(
1111
+ j,
1112
1112
  null,
1113
- G(s, (k) => (c(), g("div", {
1114
- key: k.id,
1115
- class: _([
1113
+ J(s, (F) => (c(), p("div", {
1114
+ key: F.id,
1115
+ class: P([
1116
1116
  "sub-menu-item",
1117
- i.selectedKeys.includes(k.id) ? "is-active" : "",
1118
- k != null && k.disable ? "is-disable" : ""
1117
+ l.selectedKeys.includes(F.id) ? "is-active" : "",
1118
+ F != null && F.disable ? "is-disable" : ""
1119
1119
  ]),
1120
- onClick: z((U) => l(v)(U, k), ["stop"])
1120
+ onClick: z((U) => i(m)(U, F), ["stop"])
1121
1121
  }, [
1122
- x((c(), g("div", br, [
1123
- B(
1124
- S(k.name),
1122
+ $((c(), p("div", yn, [
1123
+ K(
1124
+ w(F.name),
1125
1125
  1
1126
1126
  /* TEXT */
1127
1127
  )
1128
1128
  ])), [
1129
- [l(K)]
1129
+ [i(N)]
1130
1130
  ]),
1131
- k != null && k.expired ? (c(), g(
1131
+ F != null && F.expired ? (c(), p(
1132
1132
  "div",
1133
- mr,
1134
- S(l(R)("已到期")),
1133
+ hn,
1134
+ w(i(R)("已到期")),
1135
1135
  1
1136
1136
  /* TEXT */
1137
- )) : y("v-if", !0)
1138
- ], 10, yr))),
1137
+ )) : v("v-if", !0)
1138
+ ], 10, vn))),
1139
1139
  128
1140
1140
  /* KEYED_FRAGMENT */
1141
1141
  ))
@@ -1144,50 +1144,50 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
1144
1144
  /* KEYED_FRAGMENT */
1145
1145
  ))
1146
1146
  ])), [
1147
- [l(Oe), { x: !1 }]
1147
+ [i(je), { x: !1 }]
1148
1148
  ])
1149
1149
  ])
1150
1150
  ]),
1151
1151
  _: 1
1152
1152
  /* STABLE */
1153
- })) : y("v-if", !0),
1154
- i.mode === "inline" ? (c(!0), g(
1155
- O,
1153
+ })) : v("v-if", !0),
1154
+ l.mode === "inline" ? (c(!0), p(
1155
+ j,
1156
1156
  { key: 1 },
1157
- G(i.menuInfo.children, (s) => (c(), E(
1158
- l(ae),
1157
+ J(l.menuInfo.children, (s) => (c(), _(
1158
+ i(oe),
1159
1159
  {
1160
1160
  key: s.id
1161
1161
  },
1162
1162
  {
1163
- default: $(() => [
1164
- F(
1163
+ default: M(() => [
1164
+ C(
1165
1165
  "div",
1166
1166
  {
1167
- class: _([
1167
+ class: P([
1168
1168
  "sub-menu-item_inline",
1169
- i.selectedKeys.includes(s.id) ? "is-active" : "",
1169
+ l.selectedKeys.includes(s.id) ? "is-active" : "",
1170
1170
  s != null && s.expired ? "is-expired" : "",
1171
1171
  s != null && s.disable ? "is-disable" : ""
1172
1172
  ])
1173
1173
  },
1174
1174
  [
1175
- x((c(), g("div", hr, [
1176
- B(
1177
- S(s.name),
1175
+ $((c(), p("div", kn, [
1176
+ K(
1177
+ w(s.name),
1178
1178
  1
1179
1179
  /* TEXT */
1180
1180
  )
1181
1181
  ])), [
1182
- [l(K)]
1182
+ [i(N)]
1183
1183
  ]),
1184
- s != null && s.expired ? (c(), g(
1184
+ s != null && s.expired ? (c(), p(
1185
1185
  "div",
1186
- kr,
1187
- S(l(R)("已到期")),
1186
+ Fn,
1187
+ w(i(R)("已到期")),
1188
1188
  1
1189
1189
  /* TEXT */
1190
- )) : y("v-if", !0)
1190
+ )) : v("v-if", !0)
1191
1191
  ],
1192
1192
  2
1193
1193
  /* CLASS */
@@ -1201,7 +1201,7 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
1201
1201
  ))),
1202
1202
  128
1203
1203
  /* KEYED_FRAGMENT */
1204
- )) : y("v-if", !0)
1204
+ )) : v("v-if", !0)
1205
1205
  ],
1206
1206
  64
1207
1207
  /* STABLE_FRAGMENT */
@@ -1209,60 +1209,60 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
1209
1209
  ],
1210
1210
  64
1211
1211
  /* STABLE_FRAGMENT */
1212
- )) : y("v-if", !0)
1212
+ )) : v("v-if", !0)
1213
1213
  ]),
1214
1214
  _: 3
1215
1215
  /* FORWARDED */
1216
1216
  }, 16, ["class", "direction"]));
1217
1217
  }
1218
- }), _r = (e, r) => {
1219
- const n = Y([]), t = Y([]);
1220
- we(
1221
- () => n.value,
1222
- (i) => {
1223
- r("update:currentOpenKeys", i);
1218
+ }), Pn = (e, n) => {
1219
+ const r = Z([]), a = Z([]);
1220
+ Oe(
1221
+ () => r.value,
1222
+ (l) => {
1223
+ n("update:currentOpenKeys", l);
1224
1224
  }
1225
- ), we(
1225
+ ), Oe(
1226
1226
  () => e.currentOpenKeys,
1227
- (i) => {
1228
- i && n.value !== i && (n.value = e.currentOpenKeys || []);
1227
+ (l) => {
1228
+ l && r.value !== l && (r.value = e.currentOpenKeys || []);
1229
1229
  },
1230
1230
  { immediate: !0 }
1231
1231
  );
1232
- const a = (i, b) => {
1233
- b ? (t.value.push(i), t.value = Array.from(new Set(t.value))) : t.value.map((s, m) => {
1234
- s === i && t.value.splice(m, 1);
1232
+ const t = (l, y) => {
1233
+ y ? (a.value.push(l), a.value = Array.from(new Set(a.value))) : a.value.map((s, h) => {
1234
+ s === l && a.value.splice(h, 1);
1235
1235
  });
1236
1236
  };
1237
- Qe(() => {
1237
+ Xe(() => {
1238
1238
  document.documentElement.style.setProperty("--das-menu-submenu-popup-z-index", "999998");
1239
1239
  });
1240
- const o = (i) => {
1240
+ const o = (l) => {
1241
1241
  if (e.mode === "inline") {
1242
1242
  if (!d.value) {
1243
- const b = t.value.filter((s) => !i.includes(s));
1244
- t.value = t.value.filter((s) => !b.includes(s));
1243
+ const y = a.value.filter((s) => !l.includes(s));
1244
+ a.value = a.value.filter((s) => !y.includes(s));
1245
1245
  }
1246
- n.value = [i[i.length - 1]];
1246
+ r.value = [l[l.length - 1]];
1247
1247
  }
1248
- e.mode === "vertical" && (n.value = Array.from(new Set(i.concat(t.value))));
1249
- }, f = (i) => {
1250
- !i || !i.key || r("menuClick", i);
1251
- }, d = M({
1248
+ e.mode === "vertical" && (r.value = Array.from(new Set(l.concat(a.value))));
1249
+ }, f = (l) => {
1250
+ !l || !l.key || n("menuClick", l);
1251
+ }, d = E({
1252
1252
  get: () => !!e.collapse,
1253
- set: (i) => {
1254
- r("update:collapse", i);
1253
+ set: (l) => {
1254
+ n("update:collapse", l);
1255
1255
  }
1256
1256
  });
1257
1257
  return {
1258
1258
  isCollapse: d,
1259
- openKeys: n,
1260
- affixKeys: t,
1261
- toggleAffix: a,
1259
+ openKeys: r,
1260
+ affixKeys: a,
1261
+ toggleAffix: t,
1262
1262
  openChange: o,
1263
1263
  menuClick: f,
1264
- toggleCollapse: (i) => {
1265
- d.value = i, r("toggleCollapse", i);
1264
+ toggleCollapse: (l) => {
1265
+ d.value = l, n("toggleCollapse", l);
1266
1266
  }
1267
1267
  };
1268
1268
  }, He = {
@@ -1270,139 +1270,159 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
1270
1270
  kjl: "#D9D9D9",
1271
1271
  ssl: "#1B1F40",
1272
1272
  cjb: "#D9D9D9",
1273
- dkh: "#D9D9D9"
1273
+ dkh: "#D9D9D9",
1274
+ qatar: b("--das-menu-color-fog-blue-9")
1274
1275
  },
1275
1276
  "--das-ui-layout-aside-background-color": {
1276
1277
  kjl: "#2673DC",
1277
1278
  ssl: "#1B1F40",
1278
1279
  cjb: "#FFFFFF",
1279
- dkh: "linear-gradient(180deg, #EB0E1B 0%, #FFFFFF 189%)"
1280
+ dkh: "linear-gradient(180deg, #EB0E1B 0%, #FFFFFF 189%)",
1281
+ qatar: b("--das-menu-color-fog-blue-10")
1280
1282
  },
1281
1283
  "--das-ui-layout-aside-icon-container-background-color": {
1282
1284
  kjl: "#2673DC",
1283
1285
  ssl: "#1B1F40",
1284
1286
  cjb: "#FFFFFF",
1285
- dkh: "linear-gradient(180deg, #F6888E 0%, #F68E94 100%)"
1287
+ dkh: "linear-gradient(180deg, #F6888E 0%, #F68E94 100%)",
1288
+ qatar: b("--das-menu-color-fog-blue-10")
1286
1289
  },
1287
1290
  "--das-ui-layout-aside--item-color": {
1288
1291
  kjl: "rgba(255, 255, 255, 0.8)",
1289
1292
  ssl: "#D6D7DA",
1290
1293
  cjb: "#666666",
1291
- dkh: "rgba(255, 255, 255, 0.8)"
1294
+ dkh: "rgba(255, 255, 255, 0.8)",
1295
+ qatar: b("--das-menu-color-fog-blue-2")
1292
1296
  },
1293
1297
  "--das-ui-layout-aside--item-arrow-color": {
1294
1298
  kjl: "#FFFFFF",
1295
1299
  ssl: "#999999",
1296
1300
  cjb: "#999999",
1297
- dkh: "#ffffff"
1301
+ dkh: "#ffffff",
1302
+ qatar: b("--das-menu-color-fog-blue-2")
1298
1303
  },
1299
1304
  "--das-ui-layout-aside--item-active-color": {
1300
1305
  kjl: "#FFFFFF",
1301
1306
  ssl: "#FFFFFF",
1302
1307
  cjb: "#5582F3",
1303
- dkh: "#FFFFFF"
1308
+ dkh: "#FFFFFF",
1309
+ qatar: b("--das-menu-color-fog-blue-1")
1304
1310
  },
1305
1311
  "--das-ui-layout-aside--item-active-background-color": {
1306
1312
  kjl: "#1352A7",
1307
1313
  ssl: "#0D122C",
1308
1314
  cjb: "#F2F6FF",
1309
- dkh: "#FF737E"
1315
+ dkh: "#FF737E",
1316
+ qatar: b("--das-menu-color-fog-blue-8")
1310
1317
  },
1311
1318
  "--das-ui-layout-aside-item-hover-color": {
1312
1319
  kjl: "rgba(255, 255, 255)",
1313
1320
  ssl: "#FFFFFF",
1314
1321
  cjb: "#5582F3",
1315
- dkh: "#FFFFFF"
1322
+ dkh: "#FFFFFF",
1323
+ qatar: b("--das-menu-color-fog-blue-1")
1316
1324
  },
1317
1325
  "--das-ui-layout-aside-item-hover-background-color": {
1318
1326
  kjl: "#1352A7",
1319
1327
  ssl: "#0D122C",
1320
1328
  cjb: "transparent",
1321
- dkh: "transparent"
1329
+ dkh: "transparent",
1330
+ qatar: b("--das-menu-color-fog-blue-9")
1322
1331
  },
1323
1332
  "--das-ui-layout-aside-submenu-vertical-background-color": {
1324
1333
  kjl: "#FFFFFF",
1325
1334
  ssl: "#0D122C",
1326
1335
  cjb: "#FFFFFF",
1327
- dkh: "#FF737E"
1336
+ dkh: "#FF737E",
1337
+ qatar: b("--das-menu-color-fog-blue-10")
1328
1338
  },
1329
1339
  "--das-ui-layout-aside-submenu-vertical-item-hover-background-color": {
1330
1340
  kjl: "#1352A7",
1331
1341
  ssl: "#000000",
1332
1342
  cjb: "#F2F6FF",
1333
- dkh: "rgba(235, 14, 27, 0.5)"
1343
+ dkh: "rgba(235, 14, 27, 0.5)",
1344
+ qatar: b("--das-menu-color-fog-blue-8")
1334
1345
  },
1335
1346
  "--das-ui-layout-aside-submenu-item-color": {
1336
1347
  kjl: "rgba(255,255,255,0.8)",
1337
1348
  ssl: "rgba(255,255,255,0.8)",
1338
1349
  cjb: "#666666",
1339
- dkh: "rgba(255,255,255,0.8)"
1350
+ dkh: "rgba(255,255,255,0.8)",
1351
+ qatar: b("--das-menu-color-fog-blue-2")
1340
1352
  },
1341
1353
  "--das-ui-layout-aside-submenu-background-color": {
1342
1354
  kjl: "#185EBE",
1343
1355
  ssl: "#0D122C",
1344
1356
  cjb: "#FFFFFF",
1345
- dkh: "rgba(255, 115, 126, 0.502)"
1357
+ dkh: "rgba(255, 115, 126, 0.502)",
1358
+ qatar: b("--das-menu-color-fog-blue-10")
1346
1359
  },
1347
1360
  "--das-ui-layout-aside-submenu-item-hover-color": {
1348
1361
  kjl: "#FFFFFF",
1349
1362
  ssl: "#FFFFFF",
1350
1363
  cjb: "#5582F3",
1351
- dkh: "#FFFFFF"
1364
+ dkh: "#FFFFFF",
1365
+ qatar: b("--das-menu-color-fog-blue-1")
1352
1366
  },
1353
1367
  "--das-ui-layout-aside-submenu-item-hover-background-color": {
1354
1368
  kjl: "#1352A7",
1355
1369
  ssl: "#000000",
1356
1370
  cjb: "transparent",
1357
- dkh: "#FF737E"
1371
+ dkh: "#FF737E",
1372
+ qatar: b("--das-menu-color-fog-blue-8")
1358
1373
  },
1359
1374
  "--das-ui-layout-aside-submenu-item-active-background-color": {
1360
1375
  kjl: "#1352A7",
1361
1376
  ssl: "#000000",
1362
1377
  cjb: "#F2F6FF",
1363
- dkh: "#FF737E"
1378
+ dkh: "#FF737E",
1379
+ qatar: b("--das-menu-color-fog-blue-8")
1364
1380
  },
1365
1381
  "--das-ui-layout-aside-submenu-title-border-color": {
1366
1382
  kjl: "rgba(217,217,217,0.3)",
1367
1383
  ssl: "rgba(217,217,217,0.3)",
1368
1384
  cjb: "#D9D9D9",
1369
- dkh: "rgba(217,217,217,0.3)"
1385
+ dkh: "rgba(217,217,217,0.3)",
1386
+ qatar: b("--das-menu-color-fog-blue-9")
1370
1387
  },
1371
1388
  "--das-ui-layout-aside-collapse-icon-bg-color": {
1372
1389
  kjl: "rgba(255,255,255,0.65)",
1373
1390
  ssl: "#D6D7DA",
1374
1391
  cjb: "#666666",
1375
- dkh: "#ffffff "
1392
+ dkh: "#ffffff ",
1393
+ qatar: b("--das-menu-color-fog-blue-2")
1376
1394
  },
1377
1395
  "--das-ui-layout-aside-collapse-icon-hover-bg-color": {
1378
1396
  kjl: "rgba(255,255,255)",
1379
1397
  ssl: "#FFFFFF",
1380
1398
  cjb: "#5582F3",
1381
- dkh: "#FFFFFF "
1399
+ dkh: "#FFFFFF ",
1400
+ qatar: b("--das-menu-color-fog-blue-1")
1382
1401
  },
1383
1402
  "--das-ui-layout-aside-divise-border-color": {
1384
1403
  kjl: "rgba(255, 255, 255, 0.3)",
1385
1404
  ssl: "rgba(255, 255, 255, 0.3)",
1386
1405
  cjb: "rgba(102, 102, 102, 0.3)",
1387
- dkh: "rgba(255, 255, 255, 0.3)"
1406
+ dkh: "rgba(255, 255, 255, 0.3)",
1407
+ qatar: b("--das-menu-color-fog-blue-9")
1388
1408
  }
1389
- }, Pr = ["dir"], Dr = {
1409
+ }, Dn = ["dir"], In = {
1390
1410
  key: 0,
1391
1411
  class: "icon-box"
1392
- }, Ir = {
1412
+ }, Bn = {
1393
1413
  key: 1,
1394
1414
  class: "custom-left-icon"
1395
- }, Br = { class: "menu-item-content" }, Kr = {
1415
+ }, Kn = { class: "menu-item-content" }, Nn = {
1396
1416
  key: 1,
1397
1417
  class: "expired"
1398
- }, Nr = {
1418
+ }, qn = {
1399
1419
  key: 2,
1400
1420
  class: "ant-menu-submenu-arrow",
1401
1421
  custom: "true"
1402
- }, zr = { class: "das-aside-menu-bottom-container" }, Rr = {
1422
+ }, zn = { class: "das-aside-menu-bottom-container" }, Rn = {
1403
1423
  name: "DasMenuAside"
1404
- }, Hr = /* @__PURE__ */ ke({
1405
- ...Rr,
1424
+ }, Hn = /* @__PURE__ */ Fe({
1425
+ ...Rn,
1406
1426
  props: {
1407
1427
  globalTheme: { default: "default" },
1408
1428
  mode: { default: "vertical" },
@@ -1415,157 +1435,157 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
1415
1435
  rtl: { type: Boolean, default: !1 }
1416
1436
  },
1417
1437
  emits: ["update:collapse", "update:currentOpenKeys", "menuClick", "toggleCollapse"],
1418
- setup(e, { emit: r }) {
1419
- const n = Y(""), t = Xe(), a = e, o = r, f = "das-aside-menu-submenu", d = M(() => {
1420
- var h;
1421
- let p = f;
1422
- return (h = a == null ? void 0 : a.subMenuAttrs) != null && h.popupClassName && (p = `${p} ${a.subMenuAttrs.popupClassName}`), a.rtl && (p = `${p} is-rtl`), {
1423
- popupClassName: p
1438
+ setup(e, { emit: n }) {
1439
+ const r = Z(""), a = er(), t = e, o = n, f = "das-aside-menu-submenu", d = E(() => {
1440
+ var k;
1441
+ let g = f;
1442
+ return (k = t == null ? void 0 : t.subMenuAttrs) != null && k.popupClassName && (g = `${g} ${t.subMenuAttrs.popupClassName}`), t.rtl && (g = `${g} is-rtl`), {
1443
+ popupClassName: g
1424
1444
  };
1425
- }), v = M(() => a.rtl ? "left" : "right"), i = (p) => {
1445
+ }), m = E(() => t.rtl ? "left" : "right"), l = (g) => {
1426
1446
  var u;
1427
- const h = t[(p == null ? void 0 : p.code) + "-rightIcon"] || p != null && p.expired ? "0" : p != null && p.disable && ((u = p == null ? void 0 : p.originalChildren) != null && u.length) ? "30px" : "15px";
1428
- return a.rtl ? { "padding-left": h } : { "padding-right": h };
1429
- }, b = M(() => {
1430
- const p = {}, h = document.getElementById(f);
1431
- if (a.globalTheme === "default")
1432
- return h && h.remove(), p;
1433
- Object.keys(He).forEach((I) => {
1447
+ const k = a[(g == null ? void 0 : g.code) + "-rightIcon"] || g != null && g.expired ? "0" : g != null && g.disable && ((u = g == null ? void 0 : g.originalChildren) != null && u.length) ? "30px" : "15px";
1448
+ return t.rtl ? { "padding-left": k } : { "padding-right": k };
1449
+ }, y = E(() => {
1450
+ const g = {}, k = document.getElementById(f);
1451
+ if (t.globalTheme === "default")
1452
+ return k && k.remove(), g;
1453
+ Object.keys(He).forEach((B) => {
1434
1454
  var V;
1435
- p[I] = ((V = He[I]) == null ? void 0 : V[a.globalTheme]) ?? void 0;
1455
+ g[B] = ((V = He[B]) == null ? void 0 : V[t.globalTheme]) ?? void 0;
1436
1456
  });
1437
1457
  const u = [
1438
1458
  {
1439
1459
  className: `.${f}`,
1440
- style: p
1460
+ style: g
1441
1461
  }
1442
1462
  ];
1443
- return h ? sn(f, u) : un(f, u), p;
1444
- }), s = M(() => {
1445
- const p = a.menus || [], h = JSON.parse(JSON.stringify(p));
1446
- return !h || !h.length ? [] : Je(h);
1447
- }), { isCollapse: m, openKeys: k, affixKeys: U, toggleAffix: L, openChange: ie, menuClick: Z, toggleCollapse: Q } = _r(
1448
- a,
1463
+ return k ? ur(f, u) : cr(f, u), g;
1464
+ }), s = E(() => {
1465
+ const g = t.menus || [], k = JSON.parse(JSON.stringify(g));
1466
+ return !k || !k.length ? [] : Ye(k);
1467
+ }), { isCollapse: h, openKeys: F, affixKeys: U, toggleAffix: L, openChange: ie, menuClick: Q, toggleCollapse: X } = Pn(
1468
+ t,
1449
1469
  o
1450
- ), le = M(() => a.rtl ? { "padding-right": m.value ? "0" : "16px" } : { "padding-left": m.value ? "0" : "16px" });
1451
- return (p, h) => (c(), g("div", {
1452
- class: _([
1470
+ ), se = E(() => t.rtl ? { "padding-right": h.value ? "0" : "16px" } : { "padding-left": h.value ? "0" : "16px" });
1471
+ return (g, k) => (c(), p("div", {
1472
+ class: P([
1453
1473
  "das-ui-menu-aside",
1454
- p.collapse ? "is-collapse" : "",
1455
- a.rtl ? "is-rtl" : "",
1456
- `theme-${p.globalTheme}`,
1457
- p.globalTheme === "dkh" ? "das-ui-menu-aside-dkh" : ""
1474
+ g.collapse ? "is-collapse" : "",
1475
+ t.rtl ? "is-rtl" : "",
1476
+ `theme-${g.globalTheme}`,
1477
+ g.globalTheme === "dkh" ? "das-ui-menu-aside-dkh" : ""
1458
1478
  ]),
1459
- style: te(b.value),
1460
- dir: a.rtl ? "rtl" : "ltr"
1479
+ style: te(y.value),
1480
+ dir: t.rtl ? "rtl" : "ltr"
1461
1481
  }, [
1462
- (c(), g(
1482
+ (c(), p(
1463
1483
  "div",
1464
1484
  {
1465
- key: p.collapse + "",
1466
- class: _(["das-ui-aside-menu", p.collapse ? "is-collapse" : ""])
1485
+ key: g.collapse + "",
1486
+ class: P(["das-ui-aside-menu", g.collapse ? "is-collapse" : ""])
1467
1487
  },
1468
1488
  [
1469
- w(l(rn), { style: { height: "100%" } }, {
1470
- default: $(() => [
1471
- s.value && s.value.length ? (c(), E(l(on), ye({
1489
+ O(i(ar), { style: { height: "100%" } }, {
1490
+ default: M(() => [
1491
+ s.value && s.value.length ? (c(), _(i(lr), ve({
1472
1492
  key: 0,
1473
- class: ["das-menu", p.collapse ? "is-collapse" : ""],
1474
- mode: p.mode,
1475
- openKeys: l(k),
1476
- "onUpdate:openKeys": h[1] || (h[1] = (u) => en(k) ? k.value = u : null),
1477
- selectedKeys: p.currentSelectKeys,
1493
+ class: ["das-menu", g.collapse ? "is-collapse" : ""],
1494
+ mode: g.mode,
1495
+ openKeys: i(F),
1496
+ "onUpdate:openKeys": k[1] || (k[1] = (u) => rr(F) ? F.value = u : null),
1497
+ selectedKeys: g.currentSelectKeys,
1478
1498
  theme: "dark",
1479
- "inline-collapsed": l(m),
1480
- direction: a.rtl ? "rtl" : "ltr"
1481
- }, p.$attrs, {
1482
- onOpenChange: l(ie),
1483
- onClick: l(Z)
1499
+ "inline-collapsed": i(h),
1500
+ direction: t.rtl ? "rtl" : "ltr"
1501
+ }, g.$attrs, {
1502
+ onOpenChange: i(ie),
1503
+ onClick: i(Q)
1484
1504
  }), {
1485
- default: $(() => [
1486
- (c(!0), g(
1487
- O,
1505
+ default: M(() => [
1506
+ (c(!0), p(
1507
+ j,
1488
1508
  null,
1489
- G(s.value, (u) => (c(), g(
1490
- O,
1509
+ J(s.value, (u) => (c(), p(
1510
+ j,
1491
1511
  null,
1492
1512
  [
1493
- y(" 只有一级菜单 "),
1494
- u.children ? (c(), g(
1495
- O,
1513
+ v(" 只有一级菜单 "),
1514
+ u.children ? (c(), p(
1515
+ j,
1496
1516
  { key: 1 },
1497
1517
  [
1498
- y(" 有二级菜单 "),
1499
- (c(), E(Er, ye({
1518
+ v(" 有二级菜单 "),
1519
+ (c(), _(_n, ve({
1500
1520
  key: u.id,
1501
- mode: p.mode,
1521
+ mode: g.mode,
1502
1522
  menuInfo: u,
1503
- collapse: l(m),
1504
- affixKeys: l(U),
1505
- parentSelectKeys: p.parentSelectKeys,
1506
- selectedKeys: p.currentSelectKeys,
1507
- rtl: a.rtl
1523
+ collapse: i(h),
1524
+ affixKeys: i(U),
1525
+ parentSelectKeys: g.parentSelectKeys,
1526
+ selectedKeys: g.currentSelectKeys,
1527
+ rtl: t.rtl
1508
1528
  }, { ref_for: !0 }, d.value, {
1509
- onMenuClick: l(Z),
1510
- onToggleAffix: l(L)
1529
+ onMenuClick: i(Q),
1530
+ onToggleAffix: i(L)
1511
1531
  }), null, 16, ["mode", "menuInfo", "collapse", "affixKeys", "parentSelectKeys", "selectedKeys", "rtl", "onMenuClick", "onToggleAffix"]))
1512
1532
  ],
1513
1533
  64
1514
1534
  /* STABLE_FRAGMENT */
1515
- )) : (c(), E(l(ae), {
1516
- class: _({ "divise-menu-item": u.divise }),
1535
+ )) : (c(), _(i(oe), {
1536
+ class: P({ "divise-menu-item": u.divise }),
1517
1537
  key: u.id,
1518
- onMouseover: (I) => n.value = u.id,
1519
- onMouseleave: h[0] || (h[0] = (I) => n.value = "")
1538
+ onMouseover: (B) => r.value = u.id,
1539
+ onMouseleave: k[0] || (k[0] = (B) => r.value = "")
1520
1540
  }, {
1521
- icon: $(() => [
1522
- w(l(tn), {
1541
+ icon: M(() => [
1542
+ O(i(tr), {
1523
1543
  content: u.name,
1524
- placement: v.value,
1525
- disabled: !l(m)
1544
+ placement: m.value,
1545
+ disabled: !i(h)
1526
1546
  }, {
1527
- default: $(() => {
1528
- var I, V;
1547
+ default: M(() => {
1548
+ var B, V;
1529
1549
  return [
1530
- F(
1550
+ C(
1531
1551
  "div",
1532
1552
  {
1533
- class: _([
1553
+ class: P([
1534
1554
  "aside-menu-title",
1535
- (I = u == null ? void 0 : u.originalChildren) != null && I.length ? "has-children" : "",
1555
+ (B = u == null ? void 0 : u.originalChildren) != null && B.length ? "has-children" : "",
1536
1556
  u != null && u.expired ? "is-expired" : "",
1537
1557
  u != null && u.disable ? "is-disable" : "",
1538
- p.currentSelectKeys.includes(u.id) ? "is-active" : ""
1558
+ g.currentSelectKeys.includes(u.id) ? "is-active" : ""
1539
1559
  ])
1540
1560
  },
1541
1561
  [
1542
- y(" 自定义leftIcon "),
1543
- u.hideIcon ? y("v-if", !0) : (c(), g("div", Dr, [
1544
- y(" 第一种icon插槽 "),
1545
- p.$slots[`${u == null ? void 0 : u.code}-leftIcon`] ? (c(), g("div", Ir, [
1546
- y(" 第二种icon插槽 "),
1547
- H(p.$slots, `${u == null ? void 0 : u.code}-leftIcon`)
1548
- ])) : H(p.$slots, "icon", {
1562
+ v(" 自定义leftIcon "),
1563
+ u.hideIcon ? v("v-if", !0) : (c(), p("div", In, [
1564
+ v(" 第一种icon插槽 "),
1565
+ g.$slots[`${u == null ? void 0 : u.code}-leftIcon`] ? (c(), p("div", Bn, [
1566
+ v(" 第二种icon插槽 "),
1567
+ H(g.$slots, `${u == null ? void 0 : u.code}-leftIcon`)
1568
+ ])) : H(g.$slots, "icon", {
1549
1569
  key: 0,
1550
1570
  menuInfo: u
1551
1571
  }, () => [
1552
- w(Ge, {
1572
+ O(Je, {
1553
1573
  data: u,
1554
- status: p.currentSelectKeys.includes(u.id) || n.value === u.id ? "hover" : "default"
1574
+ status: g.currentSelectKeys.includes(u.id) || r.value === u.id ? "hover" : "default"
1555
1575
  }, null, 8, ["data", "status"])
1556
1576
  ])
1557
1577
  ])),
1558
- F("div", Br, [
1559
- l(m) ? y("v-if", !0) : x((c(), g(
1578
+ C("div", Kn, [
1579
+ i(h) ? v("v-if", !0) : $((c(), p(
1560
1580
  "div",
1561
1581
  {
1562
1582
  key: 0,
1563
1583
  class: "menu-title",
1564
- style: te(i(u))
1584
+ style: te(l(u))
1565
1585
  },
1566
1586
  [
1567
- B(
1568
- S(u.name),
1587
+ K(
1588
+ w(u.name),
1569
1589
  1
1570
1590
  /* TEXT */
1571
1591
  )
@@ -1573,20 +1593,20 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
1573
1593
  4
1574
1594
  /* STYLE */
1575
1595
  )), [
1576
- [l(K)]
1596
+ [i(N)]
1577
1597
  ]),
1578
- y(" 已到期标识 "),
1579
- u != null && u.expired ? (c(), g(
1598
+ v(" 已到期标识 "),
1599
+ u != null && u.expired ? (c(), p(
1580
1600
  "div",
1581
- Kr,
1582
- S(l(R)("已到期")),
1601
+ Nn,
1602
+ w(i(R)("已到期")),
1583
1603
  1
1584
1604
  /* TEXT */
1585
- )) : y("v-if", !0),
1586
- y(" 箭头 "),
1587
- u != null && u.disable && ((V = u == null ? void 0 : u.originalChildren) != null && V.length) ? (c(), g("i", Nr)) : y("v-if", !0),
1588
- y("@slots 右侧icon "),
1589
- H(p.$slots, (u == null ? void 0 : u.code) + "-rightIcon")
1605
+ )) : v("v-if", !0),
1606
+ v(" 箭头 "),
1607
+ u != null && u.disable && ((V = u == null ? void 0 : u.originalChildren) != null && V.length) ? (c(), p("i", qn)) : v("v-if", !0),
1608
+ v("@slots 右侧icon "),
1609
+ H(g.$slots, (u == null ? void 0 : u.code) + "-rightIcon")
1590
1610
  ])
1591
1611
  ],
1592
1612
  2
@@ -1611,10 +1631,10 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
1611
1631
  ]),
1612
1632
  _: 3
1613
1633
  /* FORWARDED */
1614
- }, 16, ["class", "mode", "openKeys", "selectedKeys", "inline-collapsed", "direction", "onOpenChange", "onClick"])) : y("v-if", !0),
1615
- y(" 底部插槽 "),
1616
- F("div", zr, [
1617
- H(p.$slots, "bottom")
1634
+ }, 16, ["class", "mode", "openKeys", "selectedKeys", "inline-collapsed", "direction", "onOpenChange", "onClick"])) : v("v-if", !0),
1635
+ v(" 底部插槽 "),
1636
+ C("div", zn, [
1637
+ H(g.$slots, "bottom")
1618
1638
  ])
1619
1639
  ]),
1620
1640
  _: 3
@@ -1624,24 +1644,24 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
1624
1644
  2
1625
1645
  /* CLASS */
1626
1646
  )),
1627
- F(
1647
+ C(
1628
1648
  "div",
1629
1649
  {
1630
- class: _(["icon-container", l(m) ? "is-collapse" : ""])
1650
+ class: P(["icon-container", i(h) ? "is-collapse" : ""])
1631
1651
  },
1632
1652
  [
1633
- F(
1653
+ C(
1634
1654
  "div",
1635
1655
  {
1636
- style: te(le.value),
1637
- onClick: h[2] || (h[2] = (u) => l(Q)(!l(m)))
1656
+ style: te(se.value),
1657
+ onClick: k[2] || (k[2] = (u) => i(X)(!i(h)))
1638
1658
  },
1639
1659
  [
1640
- F("div", null, [
1641
- l(m) ? (c(), E(l(Ce), {
1660
+ C("div", null, [
1661
+ i(h) ? (c(), _(i(Se), {
1642
1662
  key: 0,
1643
1663
  class: "collapse-icon"
1644
- })) : (c(), E(l(Fe), {
1664
+ })) : (c(), _(i(Ce), {
1645
1665
  key: 1,
1646
1666
  class: "collapse-icon"
1647
1667
  }))
@@ -1654,9 +1674,9 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
1654
1674
  2
1655
1675
  /* CLASS */
1656
1676
  )
1657
- ], 14, Pr));
1677
+ ], 14, Dn));
1658
1678
  }
1659
- }), Ur = {
1679
+ }), Un = {
1660
1680
  "--das-ui-layout-aside-menu-width": "214px",
1661
1681
  "--das-ui-layout-aside-collapse-menu-width": "50px",
1662
1682
  "--das-ui-layout-aside-menu-item-height": "50px",
@@ -1680,12 +1700,36 @@ const or = ["src"], Ge = /* @__PURE__ */ ke({
1680
1700
  "--das-ui-layout-aside-collapse-icon-bg-color": "rgba(255,255,255,0.65)",
1681
1701
  "--das-ui-layout-aside-collapse-icon-hover-bg-color": "#FFFFFF",
1682
1702
  "--das-ui-layout-aside-divise-border-color": "rgba(255, 255, 255, 0.3)",
1683
- "--das-ui-layout-aside-menu-expired-color": "#BBBBBB"
1684
- }, Lr = { 已到期: { "zh-CN": "已到期", en: "Expired", ar: "منتهي الصلاحية", _appCode: "framework" } };
1685
- nn(Lr);
1686
- cn(Ur);
1687
- const at = Ye(Hr), ot = { title: "Menu-Aside 垂直导航栏" };
1703
+ "--das-ui-layout-aside-menu-expired-color": "#BBBBBB",
1704
+ qatar: {
1705
+ "--das-ui-layout-aside-border-color": b("--das-menu-color-fog-blue-9"),
1706
+ "--das-ui-layout-aside-background-color": b("--das-menu-color-fog-blue-10"),
1707
+ "--das-ui-layout-aside-icon-container-background-color": b("--das-menu-color-fog-blue-10"),
1708
+ "--das-ui-layout-aside--item-color": b("--das-menu-color-fog-blue-2"),
1709
+ "--das-ui-layout-aside--item-arrow-color": b("--das-menu-color-fog-blue-2"),
1710
+ "--das-ui-layout-aside--item-active-color": b("--das-menu-color-fog-blue-1"),
1711
+ "--das-ui-layout-aside--item-active-background-color": b("--das-menu-color-fog-blue-8"),
1712
+ "--das-ui-layout-aside-item-hover-color": b("--das-menu-color-fog-blue-1"),
1713
+ "--das-ui-layout-aside-item-hover-background-color": b("--das-menu-color-fog-blue-9"),
1714
+ "--das-ui-layout-aside-submenu-title-border-color": b("--das-menu-color-fog-blue-9"),
1715
+ "--das-ui-layout-aside-submenu-vertical-background-color": b("--das-menu-color-fog-blue-10"),
1716
+ "--das-ui-layout-aside-submenu-vertical-item-hover-background-color": b("--das-menu-color-fog-blue-8"),
1717
+ "--das-ui-layout-aside-submenu-background-color": b("--das-menu-color-fog-blue-10"),
1718
+ "--das-ui-layout-aside-submenu-item-affix-color": b("--das-menu-color-fog-blue-4"),
1719
+ "--das-ui-layout-aside-submenu-item-color": b("--das-menu-color-fog-blue-2"),
1720
+ "--das-ui-layout-aside-submenu-item-hover-color": b("--das-menu-color-fog-blue-1"),
1721
+ "--das-ui-layout-aside-submenu-item-hover-background-color": b("--das-menu-color-fog-blue-8"),
1722
+ "--das-ui-layout-aside-submenu-item-active-background-color": b("--das-menu-color-fog-blue-8"),
1723
+ "--das-ui-layout-aside-collapse-icon-bg-color": b("--das-menu-color-fog-blue-2"),
1724
+ "--das-ui-layout-aside-collapse-icon-hover-bg-color": b("--das-menu-color-fog-blue-1"),
1725
+ "--das-ui-layout-aside-divise-border-color": b("--das-menu-color-fog-blue-9"),
1726
+ "--das-ui-layout-aside-menu-expired-color": b("--das-menu-color-fog-blue-4")
1727
+ }
1728
+ }, Ln = { 已到期: { "zh-CN": "已到期", en: "Expired", ar: "منتهي الصلاحية", _appCode: "framework" } };
1729
+ nr(Ln);
1730
+ sr(Un);
1731
+ const oa = Ze(Hn), la = { title: "Menu-Aside 垂直导航栏" };
1688
1732
  export {
1689
- at as DasMenuAside,
1690
- ot as default
1733
+ oa as DasMenuAside,
1734
+ la as default
1691
1735
  };