@das-fed/ui 7.0.7-hot.17 → 7.0.7-hot.19

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 (222) hide show
  1. package/esm-map.json +2 -2
  2. package/package.json +5 -5
  3. package/packages/business-components/ai-panel/{index-OwRrV6K8.js → index-BeqEuT6Z.js} +1 -1
  4. package/packages/business-components/ai-panel/index-BeqEuT6Z.js.gz +0 -0
  5. package/packages/business-components/ai-panel/{index-8yffh0Id.js → index-DP1B0qnu.js} +1138 -1120
  6. package/packages/business-components/ai-panel/index-DP1B0qnu.js.gz +0 -0
  7. package/packages/business-components/ai-panel/{index-IzGl26KU.js → index-d7mK0plW.js} +5 -5
  8. package/packages/business-components/ai-panel/index-d7mK0plW.js.gz +0 -0
  9. package/packages/business-components/ai-panel/index.js +1 -1
  10. package/packages/business-components/app-container/index.js +75 -75
  11. package/packages/business-components/app-container/index.js.gz +0 -0
  12. package/packages/business-components/area-phone-select/index.js +87 -87
  13. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  14. package/packages/business-components/change-enterprises/index.js +19 -19
  15. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  16. package/packages/business-components/change-pwd/index.js +15 -15
  17. package/packages/business-components/change-pwd/index.js.gz +0 -0
  18. package/packages/business-components/currency-page/index.js +40 -40
  19. package/packages/business-components/currency-page/index.js.gz +0 -0
  20. package/packages/business-components/device-panel/index.js +265 -265
  21. package/packages/business-components/device-panel/index.js.gz +0 -0
  22. package/packages/business-components/device-panel/style.css +1 -1
  23. package/packages/business-components/device-panel/style.css.gz +0 -0
  24. package/packages/business-components/export-button/index.js +92 -92
  25. package/packages/business-components/export-button/index.js.gz +0 -0
  26. package/packages/business-components/import-button/index.js +191 -191
  27. package/packages/business-components/import-button/index.js.gz +0 -0
  28. package/packages/business-components/layout-breadcrumb/index.js +47 -47
  29. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  30. package/packages/business-components/model-table-dialog/index.js +232 -232
  31. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  32. package/packages/business-components/payment/api.d.ts +8 -0
  33. package/packages/business-components/payment/index.d.ts +9 -11
  34. package/packages/business-components/payment/index.js +186 -180
  35. package/packages/business-components/payment/index.js.gz +0 -0
  36. package/packages/business-components/payment/style.css +1 -1
  37. package/packages/business-components/payment/type.d.ts +2 -0
  38. package/packages/business-components/process-configuration/index.js +5 -5
  39. package/packages/business-components/process-configuration/index.js.gz +0 -0
  40. package/packages/business-components/process-configuration/style.css +1 -1
  41. package/packages/business-components/process-configuration/style.css.gz +0 -0
  42. package/packages/business-components/process-form/index.js +1154 -1134
  43. package/packages/business-components/process-form/index.js.gz +0 -0
  44. package/packages/business-components/process-form/src/utils/common-methods.d.ts +6 -0
  45. package/packages/business-components/process-log/index.js +329 -329
  46. package/packages/business-components/process-log/index.js.gz +0 -0
  47. package/packages/business-components/process-log/style.css +1 -1
  48. package/packages/business-components/process-log/style.css.gz +0 -0
  49. package/packages/business-components/process-search-form/index.js +54 -54
  50. package/packages/business-components/process-search-form/index.js.gz +0 -0
  51. package/packages/business-components/upload-file/index.js +46 -46
  52. package/packages/business-components/upload-file/index.js.gz +0 -0
  53. package/packages/business-components/upload-file/style.css +1 -1
  54. package/packages/business-components/urgent-panel/index.js +295 -295
  55. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  56. package/packages/business-components/video-dialog/index.d.ts +10 -0
  57. package/packages/business-components/video-dialog/index.js +396 -377
  58. package/packages/business-components/video-dialog/index.js.gz +0 -0
  59. package/packages/business-components/video-dialog/src/api.d.ts +1 -0
  60. package/packages/business-components/video-dialog/src/component/Player/index.vue.d.ts +2 -0
  61. package/packages/business-components/video-dialog/src/hooks/use-video/PlayerProvider.d.ts +6 -0
  62. package/packages/business-components/video-dialog/src/index.vue.d.ts +2 -0
  63. package/packages/business-components/video-dialog/src/type.d.ts +7 -1
  64. package/packages/business-components/video-dialog/style.css +1 -1
  65. package/packages/business-components/video-dialog/style.css.gz +0 -0
  66. package/packages/components/alert/index.js +9 -9
  67. package/packages/components/alert/index.js.gz +0 -0
  68. package/packages/components/audio-video/index.js +141 -141
  69. package/packages/components/audio-video/index.js.gz +0 -0
  70. package/packages/components/autocomplete/index.js +39 -39
  71. package/packages/components/autocomplete/index.js.gz +0 -0
  72. package/packages/components/autocomplete/style.css +1 -1
  73. package/packages/components/autocomplete/style.css.gz +0 -0
  74. package/packages/components/breadcrumb/index.js +39 -39
  75. package/packages/components/breadcrumb/index.js.gz +0 -0
  76. package/packages/components/button/index.js +188 -188
  77. package/packages/components/button/index.js.gz +0 -0
  78. package/packages/components/calendar/index.js +172 -172
  79. package/packages/components/calendar/index.js.gz +0 -0
  80. package/packages/components/cascader/index.js +92 -92
  81. package/packages/components/cascader/index.js.gz +0 -0
  82. package/packages/components/cascader/style.css +1 -1
  83. package/packages/components/cascader/style.css.gz +0 -0
  84. package/packages/components/checkbox/index.js +176 -176
  85. package/packages/components/checkbox/index.js.gz +0 -0
  86. package/packages/components/checkbox/style.css +1 -1
  87. package/packages/components/checkbox/style.css.gz +0 -0
  88. package/packages/components/collapse-panel/index.js +16 -16
  89. package/packages/components/collapse-panel/index.js.gz +0 -0
  90. package/packages/components/collaspe/index.js +22 -22
  91. package/packages/components/collaspe/index.js.gz +0 -0
  92. package/packages/components/custom-search-item/index.js +36 -36
  93. package/packages/components/custom-search-item/index.js.gz +0 -0
  94. package/packages/components/date-picker/index.js +496 -496
  95. package/packages/components/date-picker/index.js.gz +0 -0
  96. package/packages/components/date-picker/style.css +1 -1
  97. package/packages/components/date-picker/style.css.gz +0 -0
  98. package/packages/components/dialog/index.js +89 -89
  99. package/packages/components/dialog/index.js.gz +0 -0
  100. package/packages/components/dimple-layout/index.js +73 -31
  101. package/packages/components/dimple-layout/index.js.gz +0 -0
  102. package/packages/components/dropdown/index.js +30 -30
  103. package/packages/components/dropdown/index.js.gz +0 -0
  104. package/packages/components/edit-table/index.d.ts +2 -2
  105. package/packages/components/edit-table/index.js +150 -150
  106. package/packages/components/edit-table/index.js.gz +0 -0
  107. package/packages/components/empty/index.js +32 -32
  108. package/packages/components/empty/index.js.gz +0 -0
  109. package/packages/components/error-overlay-model/index.js +30 -30
  110. package/packages/components/error-overlay-model/index.js.gz +0 -0
  111. package/packages/components/form/index.js +19 -19
  112. package/packages/components/form/index.js.gz +0 -0
  113. package/packages/components/form-item/index.js +715 -715
  114. package/packages/components/form-item/index.js.gz +0 -0
  115. package/packages/components/form-item/style.css +1 -1
  116. package/packages/components/form-item/style.css.gz +0 -0
  117. package/packages/components/hls-player/index.js +5229 -4588
  118. package/packages/components/hls-player/index.js.gz +0 -0
  119. package/packages/components/hls-player/src/type.d.ts +3 -0
  120. package/packages/components/hls-player/style.css +1 -1
  121. package/packages/components/hls-player/style.css.gz +0 -0
  122. package/packages/components/image-upload/index.js +184 -184
  123. package/packages/components/image-upload/index.js.gz +0 -0
  124. package/packages/components/image-viewer/index.js +566 -566
  125. package/packages/components/image-viewer/index.js.gz +0 -0
  126. package/packages/components/input/index.js +94 -94
  127. package/packages/components/input/index.js.gz +0 -0
  128. package/packages/components/input-dialog-select/index.js +86 -86
  129. package/packages/components/input-dialog-select/index.js.gz +0 -0
  130. package/packages/components/input-number/index.js +93 -93
  131. package/packages/components/input-number/index.js.gz +0 -0
  132. package/packages/components/input-number/style.css +1 -1
  133. package/packages/components/input-number/style.css.gz +0 -0
  134. package/packages/components/live-player/index.d.ts +2 -0
  135. package/packages/components/live-player/index.js +822 -814
  136. package/packages/components/live-player/index.js.gz +0 -0
  137. package/packages/components/live-player/src/type.d.ts +3 -0
  138. package/packages/components/live-player/style.css +1 -1
  139. package/packages/components/loading/index.js +45 -45
  140. package/packages/components/loading/index.js.gz +0 -0
  141. package/packages/components/menu-aside/index.js +558 -558
  142. package/packages/components/menu-aside/index.js.gz +0 -0
  143. package/packages/components/menu-header/index.js +16 -16
  144. package/packages/components/menu-header/index.js.gz +0 -0
  145. package/packages/components/pagination/index.js +100 -100
  146. package/packages/components/pagination/index.js.gz +0 -0
  147. package/packages/components/pagination/style.css +1 -1
  148. package/packages/components/pagination/style.css.gz +0 -0
  149. package/packages/components/popover/index.js +33 -33
  150. package/packages/components/popover/index.js.gz +0 -0
  151. package/packages/components/popup-mask/index.js +13 -13
  152. package/packages/components/popup-mask/index.js.gz +0 -0
  153. package/packages/components/progress/index.js +111 -111
  154. package/packages/components/progress/index.js.gz +0 -0
  155. package/packages/components/progress/style.css +1 -1
  156. package/packages/components/progress/style.css.gz +0 -0
  157. package/packages/components/radio/index.js +162 -162
  158. package/packages/components/radio/index.js.gz +0 -0
  159. package/packages/components/rich-editor/index.js +7906 -7889
  160. package/packages/components/rich-editor/index.js.gz +0 -0
  161. package/packages/components/scrollbar/index.js +2 -2
  162. package/packages/components/scrollbar/index.js.gz +0 -0
  163. package/packages/components/search/index.js +76 -76
  164. package/packages/components/search/index.js.gz +0 -0
  165. package/packages/components/search-form/index.js +598 -597
  166. package/packages/components/search-form/index.js.gz +0 -0
  167. package/packages/components/search-form/style.css +1 -1
  168. package/packages/components/search-form/style.css.gz +0 -0
  169. package/packages/components/select/index.js +284 -284
  170. package/packages/components/select/index.js.gz +0 -0
  171. package/packages/components/select/style.css +1 -1
  172. package/packages/components/select/style.css.gz +0 -0
  173. package/packages/components/select-input/index.js +76 -76
  174. package/packages/components/select-input/index.js.gz +0 -0
  175. package/packages/components/select-list/index.js +406 -406
  176. package/packages/components/select-list/index.js.gz +0 -0
  177. package/packages/components/select-list/style.css +1 -1
  178. package/packages/components/select-list/style.css.gz +0 -0
  179. package/packages/components/special-range-picker-month/index.js +154 -154
  180. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  181. package/packages/components/special-range-picker-month/style.css +1 -1
  182. package/packages/components/special-range-picker-month/style.css.gz +0 -0
  183. package/packages/components/special-range-picker-year/index.js +196 -196
  184. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  185. package/packages/components/special-range-picker-year/style.css +1 -1
  186. package/packages/components/special-range-picker-year/style.css.gz +0 -0
  187. package/packages/components/spin/index.js +30 -30
  188. package/packages/components/spin/index.js.gz +0 -0
  189. package/packages/components/split-panel/index.js +60 -60
  190. package/packages/components/split-panel/index.js.gz +0 -0
  191. package/packages/components/table/index.d.ts +253 -27
  192. package/packages/components/table/index.js +2061 -2061
  193. package/packages/components/table/index.js.gz +0 -0
  194. package/packages/components/table/src/Table.vue.d.ts +39 -5
  195. package/packages/components/tabs/index.js +109 -109
  196. package/packages/components/tabs/index.js.gz +0 -0
  197. package/packages/components/time-line/index.js +35 -35
  198. package/packages/components/time-line/index.js.gz +0 -0
  199. package/packages/components/tooltip/index.js +52 -52
  200. package/packages/components/tooltip/index.js.gz +0 -0
  201. package/packages/components/tooltip/style.css +1 -1
  202. package/packages/components/tooltip/style.css.gz +0 -0
  203. package/packages/components/tree/index.js +748 -748
  204. package/packages/components/tree/index.js.gz +0 -0
  205. package/packages/components/tree/src/App.vue.d.ts +29 -5
  206. package/packages/components/tree-select/index.js +262 -262
  207. package/packages/components/tree-select/index.js.gz +0 -0
  208. package/packages/components/tree-select/src/App.vue.d.ts +116 -16
  209. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +116 -16
  210. package/packages/components/tree-table/index.js +224 -224
  211. package/packages/components/tree-table/index.js.gz +0 -0
  212. package/packages/components/tree-v2/index.d.ts +175 -27
  213. package/packages/components/tree-v2/index.js +614 -614
  214. package/packages/components/tree-v2/index.js.gz +0 -0
  215. package/packages/components/tree-v2/src/App.vue.d.ts +27 -5
  216. package/packages/components/upload/index.js +80 -80
  217. package/packages/components/upload/index.js.gz +0 -0
  218. package/packages/components/virtual-tree/index.js +61 -61
  219. package/packages/components/virtual-tree/index.js.gz +0 -0
  220. package/packages/business-components/ai-panel/index-8yffh0Id.js.gz +0 -0
  221. package/packages/business-components/ai-panel/index-IzGl26KU.js.gz +0 -0
  222. package/packages/business-components/ai-panel/index-OwRrV6K8.js.gz +0 -0
@@ -1,21 +1,21 @@
1
1
  import '@das-fed/ui/packages/components/menu-aside/style.css';
2
- import { withInstall as qe } from "@das-fed/utils/with-install/index";
3
- import { nextTick as Ge, h as ke, createVNode as S, defineComponent as ye, computed as L, createElementBlock as p, openBlock as c, normalizeStyle as ne, ref as Y, createBlock as E, unref as s, mergeProps as fe, withCtx as M, createCommentVNode as b, Fragment as O, createElementVNode as h, withDirectives as $, createTextVNode as B, toDisplayString as C, withModifiers as R, renderList as G, normalizeClass as _, renderSlot as U, watch as Fe, onMounted as Je, isRef as Ye } from "vue";
4
- import { t as H, setI18nRule as Ze } from "@das-fed/web/packages/i18n/index";
2
+ import { withInstall as _e } from "@das-fed/utils/with-install/index";
3
+ import { nextTick as Ge, h as ke, createVNode as x, defineComponent as be, computed as V, createElementBlock as g, openBlock as c, normalizeStyle as ne, ref as Y, createBlock as E, unref as l, mergeProps as fe, withCtx as M, createCommentVNode as b, Fragment as w, createElementVNode as p, withDirectives as $, createTextVNode as K, toDisplayString as C, withModifiers as H, renderList as G, normalizeClass as D, renderSlot as L, watch as Fe, onMounted as Je, isRef as Ye } from "vue";
4
+ import { t as U, setI18nRule as Ze } from "@das-fed/web/packages/i18n/index";
5
5
  import { DasScrollbar as Qe } from "@das-fed/ui/packages/components/scrollbar/index";
6
6
  import { DasTooltip as Xe } from "@das-fed/ui/packages/components/tooltip/index";
7
- import { vDasTooltip as K } from "@das-fed/ui/packages/components/text-tooltip/index";
7
+ import { vDasTooltip as N } from "@das-fed/ui/packages/components/text-tooltip/index";
8
8
  import { pureImageSrc as ae } from "@das-fed/utils/pure-image-src";
9
- import { SubMenu as en, MenuItem as re, Menu as nn } from "ant-design-vue";
9
+ import { SubMenu as en, MenuItem as te, Menu as nn } from "ant-design-vue";
10
10
  import "ant-design-vue/es/menu/style/css";
11
11
  import { vOverlay as Ce } from "@das-fed/ui/packages/components/overlay/index";
12
- import { DasAutoRegisterIcon as rn, DasIcon as Z } from "@das-fed/ui/packages/components/icon/index";
13
- import { updateStyle as tn, createStyle as an } from "@das-fed/utils/style";
12
+ import { DasAutoRegisterIcon as tn, DasIcon as Z } from "@das-fed/ui/packages/components/icon/index";
13
+ import { updateStyle as rn, createStyle as an } from "@das-fed/utils/style";
14
14
  import { setThemeRule as on } from "@das-fed/web/packages/theme/index";
15
- function j(e, r) {
15
+ function O(e, t) {
16
16
  ln(e) && (e = "100%");
17
17
  var n = sn(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);
18
+ return e = t === 360 ? e : Math.min(t, Math.max(0, parseFloat(e))), n && (e = parseInt(String(e * t), 10) / 100), Math.abs(e - t) < 1e-6 ? 1 : (t === 360 ? e = (e < 0 ? e % t + t : e % t) / parseFloat(String(t)) : e = e % t / parseFloat(String(t)), e);
19
19
  }
20
20
  function ln(e) {
21
21
  return typeof e == "string" && e.indexOf(".") !== -1 && parseFloat(e) === 1;
@@ -32,67 +32,67 @@ function Q(e) {
32
32
  function oe(e) {
33
33
  return e.length === 1 ? "0" + e : String(e);
34
34
  }
35
- function cn(e, r, n) {
35
+ function cn(e, t, n) {
36
36
  return {
37
- r: j(e, 255) * 255,
38
- g: j(r, 255) * 255,
39
- b: j(n, 255) * 255
37
+ r: O(e, 255) * 255,
38
+ g: O(t, 255) * 255,
39
+ b: O(n, 255) * 255
40
40
  };
41
41
  }
42
- function ie(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 ie(e, t, n) {
43
+ return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * (6 * n) : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
44
44
  }
45
- function dn(e, r, n) {
46
- var t, a, i;
47
- if (e = j(e, 360), r = j(r, 100), n = j(n, 100), r === 0)
48
- a = n, i = n, t = n;
45
+ function dn(e, t, n) {
46
+ var r, a, o;
47
+ if (e = O(e, 360), t = O(t, 100), n = O(n, 100), t === 0)
48
+ a = n, o = n, r = n;
49
49
  else {
50
- var f = n < 0.5 ? n * (1 + r) : n + r - n * r, d = 2 * n - f;
51
- t = ie(d, f, e + 1 / 3), a = ie(d, f, e), i = ie(d, f, e - 1 / 3);
50
+ var f = n < 0.5 ? n * (1 + t) : n + t - n * t, d = 2 * n - f;
51
+ r = ie(d, f, e + 1 / 3), a = ie(d, f, e), o = ie(d, f, e - 1 / 3);
52
52
  }
53
- return { r: t * 255, g: a * 255, b: i * 255 };
53
+ return { r: r * 255, g: a * 255, b: o * 255 };
54
54
  }
55
- function fn(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), i = 0, f = t, d = t - a, v = t === 0 ? 0 : d / t;
58
- if (t === a)
59
- i = 0;
55
+ function fn(e, t, n) {
56
+ e = O(e, 255), t = O(t, 255), n = O(n, 255);
57
+ var r = Math.max(e, t, n), a = Math.min(e, t, n), o = 0, f = r, d = r - a, v = r === 0 ? 0 : d / r;
58
+ if (r === a)
59
+ o = 0;
60
60
  else {
61
- switch (t) {
61
+ switch (r) {
62
62
  case e:
63
- i = (r - n) / d + (r < n ? 6 : 0);
63
+ o = (t - n) / d + (t < n ? 6 : 0);
64
64
  break;
65
- case r:
66
- i = (n - e) / d + 2;
65
+ case t:
66
+ o = (n - e) / d + 2;
67
67
  break;
68
68
  case n:
69
- i = (e - r) / d + 4;
69
+ o = (e - t) / d + 4;
70
70
  break;
71
71
  }
72
- i /= 6;
72
+ o /= 6;
73
73
  }
74
- return { h: i, s: v, v: f };
74
+ return { h: o, s: v, v: f };
75
75
  }
76
- function pn(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, i = n * (1 - r), f = n * (1 - a * r), d = n * (1 - (1 - a) * r), v = t % 6, o = [n, f, i, i, d, n][v], y = [d, n, n, f, i, i][v], u = [i, i, d, n, n, f][v];
79
- return { r: o * 255, g: y * 255, b: u * 255 };
76
+ function gn(e, t, n) {
77
+ e = O(e, 360) * 6, t = O(t, 100), n = O(n, 100);
78
+ var r = Math.floor(e), a = e - r, o = n * (1 - t), f = n * (1 - a * t), d = n * (1 - (1 - a) * t), v = r % 6, s = [n, f, o, o, d, n][v], y = [d, n, n, f, o, o][v], u = [o, o, d, n, n, f][v];
79
+ return { r: s * 255, g: y * 255, b: u * 255 };
80
80
  }
81
- function gn(e, r, n, t) {
81
+ function vn(e, t, n, r) {
82
82
  var a = [
83
83
  oe(Math.round(e).toString(16)),
84
- oe(Math.round(r).toString(16)),
84
+ oe(Math.round(t).toString(16)),
85
85
  oe(Math.round(n).toString(16))
86
86
  ];
87
87
  return a.join("");
88
88
  }
89
- function Se(e) {
89
+ function xe(e) {
90
90
  return F(e) / 255;
91
91
  }
92
92
  function F(e) {
93
93
  return parseInt(e, 16);
94
94
  }
95
- var we = {
95
+ var Se = {
96
96
  aliceblue: "#f0f8ff",
97
97
  antiquewhite: "#faebd7",
98
98
  aqua: "#00ffff",
@@ -242,19 +242,19 @@ var we = {
242
242
  yellow: "#ffff00",
243
243
  yellowgreen: "#9acd32"
244
244
  };
245
- function W(e) {
246
- var r = { r: 0, g: 0, b: 0 }, n = 1, t = null, a = null, i = null, f = !1, d = !1;
247
- return typeof e == "string" && (e = bn(e)), typeof e == "object" && (x(e.r) && x(e.g) && x(e.b) ? (r = cn(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) ? (t = Q(e.s), a = Q(e.v), r = pn(e.h, t, a), f = !0, d = "hsv") : x(e.h) && x(e.s) && x(e.l) && (t = Q(e.s), i = Q(e.l), r = dn(e.h, t, i), f = !0, d = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = un(n), {
245
+ function q(e) {
246
+ var t = { r: 0, g: 0, b: 0 }, n = 1, r = null, a = null, o = null, f = !1, d = !1;
247
+ return typeof e == "string" && (e = mn(e)), typeof e == "object" && (T(e.r) && T(e.g) && T(e.b) ? (t = cn(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) ? (r = Q(e.s), a = Q(e.v), t = gn(e.h, r, a), f = !0, d = "hsv") : T(e.h) && T(e.s) && T(e.l) && (r = Q(e.s), o = Q(e.l), t = dn(e.h, r, o), f = !0, d = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = un(n), {
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)),
250
+ r: Math.min(255, Math.max(t.r, 0)),
251
+ g: Math.min(255, Math.max(t.g, 0)),
252
+ b: Math.min(255, Math.max(t.b, 0)),
253
253
  a: n
254
254
  };
255
255
  }
256
- var vn = "[-\\+]?\\d+%?", yn = "[-\\+]?\\d*\\.\\d+%?", D = "(?:".concat(yn, ")|(?:").concat(vn, ")"), le = "[\\s|\\(]+(".concat(D, ")[,|\\s]+(").concat(D, ")[,|\\s]+(").concat(D, ")\\s*\\)?"), se = "[\\s|\\(]+(".concat(D, ")[,|\\s]+(").concat(D, ")[,|\\s]+(").concat(D, ")[,|\\s]+(").concat(D, ")\\s*\\)?"), A = {
257
- CSS_UNIT: new RegExp(D),
256
+ var yn = "[-\\+]?\\d+%?", bn = "[-\\+]?\\d*\\.\\d+%?", P = "(?:".concat(bn, ")|(?:").concat(yn, ")"), le = "[\\s|\\(]+(".concat(P, ")[,|\\s]+(").concat(P, ")[,|\\s]+(").concat(P, ")\\s*\\)?"), se = "[\\s|\\(]+(".concat(P, ")[,|\\s]+(").concat(P, ")[,|\\s]+(").concat(P, ")[,|\\s]+(").concat(P, ")\\s*\\)?"), j = {
257
+ CSS_UNIT: new RegExp(P),
258
258
  rgb: new RegExp("rgb" + le),
259
259
  rgba: new RegExp("rgba" + se),
260
260
  hsl: new RegExp("hsl" + le),
@@ -266,43 +266,43 @@ var vn = "[-\\+]?\\d+%?", yn = "[-\\+]?\\d*\\.\\d+%?", D = "(?:".concat(yn, ")|(
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 bn(e) {
269
+ function mn(e) {
270
270
  if (e = e.trim().toLowerCase(), e.length === 0)
271
271
  return !1;
272
- var r = !1;
273
- if (we[e])
274
- e = we[e], r = !0;
272
+ var t = !1;
273
+ if (Se[e])
274
+ e = Se[e], t = !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 ? {
277
+ var n = j.rgb.exec(e);
278
+ return n ? { r: n[1], g: n[2], b: n[3] } : (n = j.rgba.exec(e), n ? { r: n[1], g: n[2], b: n[3], a: n[4] } : (n = j.hsl.exec(e), n ? { h: n[1], s: n[2], l: n[3] } : (n = j.hsla.exec(e), n ? { h: n[1], s: n[2], l: n[3], a: n[4] } : (n = j.hsv.exec(e), n ? { h: n[1], s: n[2], v: n[3] } : (n = j.hsva.exec(e), n ? { h: n[1], s: n[2], v: n[3], a: n[4] } : (n = j.hex8.exec(e), n ? {
279
279
  r: F(n[1]),
280
280
  g: F(n[2]),
281
281
  b: F(n[3]),
282
- a: Se(n[4]),
283
- format: r ? "name" : "hex8"
284
- } : (n = A.hex6.exec(e), n ? {
282
+ a: xe(n[4]),
283
+ format: t ? "name" : "hex8"
284
+ } : (n = j.hex6.exec(e), n ? {
285
285
  r: F(n[1]),
286
286
  g: F(n[2]),
287
287
  b: F(n[3]),
288
- format: r ? "name" : "hex"
289
- } : (n = A.hex4.exec(e), n ? {
288
+ format: t ? "name" : "hex"
289
+ } : (n = j.hex4.exec(e), n ? {
290
290
  r: F(n[1] + n[1]),
291
291
  g: F(n[2] + n[2]),
292
292
  b: F(n[3] + n[3]),
293
- a: Se(n[4] + n[4]),
294
- format: r ? "name" : "hex8"
295
- } : (n = A.hex3.exec(e), n ? {
293
+ a: xe(n[4] + n[4]),
294
+ format: t ? "name" : "hex8"
295
+ } : (n = j.hex3.exec(e), n ? {
296
296
  r: F(n[1] + n[1]),
297
297
  g: F(n[2] + n[2]),
298
298
  b: F(n[3] + n[3]),
299
- format: r ? "name" : "hex"
299
+ format: t ? "name" : "hex"
300
300
  } : !1)))))))));
301
301
  }
302
- function x(e) {
303
- return !!A.CSS_UNIT.exec(String(e));
302
+ function T(e) {
303
+ return !!j.CSS_UNIT.exec(String(e));
304
304
  }
305
- var X = 2, Oe = 0.16, mn = 0.05, hn = 0.05, kn = 0.15, ze = 5, Re = 4, Fn = [{
305
+ var X = 2, we = 0.16, hn = 0.05, pn = 0.05, kn = 0.15, Re = 5, He = 4, Fn = [{
306
306
  index: 7,
307
307
  opacity: 0.15
308
308
  }, {
@@ -333,8 +333,8 @@ var X = 2, Oe = 0.16, mn = 0.05, hn = 0.05, kn = 0.15, ze = 5, Re = 4, Fn = [{
333
333
  index: 1,
334
334
  opacity: 0.98
335
335
  }];
336
- function je(e) {
337
- var r = e.r, n = e.g, t = e.b, a = fn(r, n, t);
336
+ function Oe(e) {
337
+ var t = e.r, n = e.g, r = e.b, a = fn(t, n, r);
338
338
  return {
339
339
  h: a.h * 360,
340
340
  s: a.s,
@@ -342,51 +342,51 @@ function je(e) {
342
342
  };
343
343
  }
344
344
  function ee(e) {
345
- var r = e.r, n = e.g, t = e.b;
346
- return "#".concat(gn(r, n, t));
347
- }
348
- function Cn(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
345
+ var t = e.r, n = e.g, r = e.b;
346
+ return "#".concat(vn(t, n, r));
347
+ }
348
+ function Cn(e, t, n) {
349
+ var r = n / 100, a = {
350
+ r: (t.r - e.r) * r + e.r,
351
+ g: (t.g - e.g) * r + e.g,
352
+ b: (t.b - e.b) * r + e.b
353
353
  };
354
354
  return a;
355
355
  }
356
- function Ae(e, r, n) {
357
- var t;
358
- return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? t = n ? Math.round(e.h) - X * r : Math.round(e.h) + X * r : t = n ? Math.round(e.h) + X * r : Math.round(e.h) - X * r, t < 0 ? t += 360 : t >= 360 && (t -= 360), t;
356
+ function je(e, t, n) {
357
+ var r;
358
+ return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? r = n ? Math.round(e.h) - X * t : Math.round(e.h) + X * t : r = n ? Math.round(e.h) + X * t : Math.round(e.h) - X * t, r < 0 ? r += 360 : r >= 360 && (r -= 360), r;
359
359
  }
360
- function Te(e, r, n) {
360
+ function Ae(e, t, n) {
361
361
  if (e.h === 0 && e.s === 0)
362
362
  return e.s;
363
- var t;
364
- return n ? t = e.s - Oe * r : r === Re ? t = e.s + Oe : t = e.s + mn * r, t > 1 && (t = 1), n && r === ze && t > 0.1 && (t = 0.1), t < 0.06 && (t = 0.06), Number(t.toFixed(2));
365
- }
366
- function xe(e, r, n) {
367
- var t;
368
- return n ? t = e.v + hn * r : t = e.v - kn * r, t > 1 && (t = 1), Number(t.toFixed(2));
369
- }
370
- function pe(e) {
371
- for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], t = W(e), a = ze; a > 0; a -= 1) {
372
- var i = je(t), f = ee(W({
373
- h: Ae(i, a, !0),
374
- s: Te(i, a, !0),
375
- v: xe(i, a, !0)
363
+ var r;
364
+ return n ? r = e.s - we * t : t === He ? r = e.s + we : r = e.s + hn * t, r > 1 && (r = 1), n && t === Re && r > 0.1 && (r = 0.1), r < 0.06 && (r = 0.06), Number(r.toFixed(2));
365
+ }
366
+ function Te(e, t, n) {
367
+ var r;
368
+ return n ? r = e.v + pn * t : r = e.v - kn * t, r > 1 && (r = 1), Number(r.toFixed(2));
369
+ }
370
+ function ge(e) {
371
+ for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], r = q(e), a = Re; a > 0; a -= 1) {
372
+ var o = Oe(r), f = ee(q({
373
+ h: je(o, a, !0),
374
+ s: Ae(o, a, !0),
375
+ v: Te(o, a, !0)
376
376
  }));
377
377
  n.push(f);
378
378
  }
379
- n.push(ee(t));
380
- for (var d = 1; d <= Re; d += 1) {
381
- var v = je(t), o = ee(W({
382
- h: Ae(v, d),
383
- s: Te(v, d),
384
- v: xe(v, d)
379
+ n.push(ee(r));
380
+ for (var d = 1; d <= He; d += 1) {
381
+ var v = Oe(r), s = ee(q({
382
+ h: je(v, d),
383
+ s: Ae(v, d),
384
+ v: Te(v, d)
385
385
  }));
386
- n.push(o);
386
+ n.push(s);
387
387
  }
388
- return r.theme === "dark" ? Fn.map(function(y) {
389
- var u = y.index, w = y.opacity, k = ee(Cn(W(r.backgroundColor || "#141414"), W(n[u]), w * 100));
388
+ return t.theme === "dark" ? Fn.map(function(y) {
389
+ var u = y.index, S = y.opacity, k = ee(Cn(q(t.backgroundColor || "#141414"), q(n[u]), S * 100));
390
390
  return k;
391
391
  }) : n;
392
392
  }
@@ -406,65 +406,65 @@ var ue = {
406
406
  grey: "#666666"
407
407
  }, ce = {}, de = {};
408
408
  Object.keys(ue).forEach(function(e) {
409
- ce[e] = pe(ue[e]), ce[e].primary = ce[e][5], de[e] = pe(ue[e], {
409
+ ce[e] = ge(ue[e]), ce[e].primary = ce[e][5], de[e] = ge(ue[e], {
410
410
  theme: "dark",
411
411
  backgroundColor: "#141414"
412
412
  }), de[e].primary = de[e][5];
413
413
  });
414
- var $e = [], q = [], Sn = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
415
- function wn() {
414
+ var $e = [], _ = [], xn = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
415
+ function Sn() {
416
416
  var e = document.createElement("style");
417
417
  return e.setAttribute("type", "text/css"), e;
418
418
  }
419
- function On(e, r) {
420
- if (r = r || {}, e === void 0)
421
- throw new Error(Sn);
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] = {});
424
- var i;
425
- return q[a] !== void 0 && q[a][n] !== void 0 ? i = q[a][n] : (i = q[a][n] = wn(), n === "prepend" ? t.insertBefore(i, t.childNodes[0]) : t.appendChild(i)), e.charCodeAt(0) === 65279 && (e = e.substr(1, e.length)), i.styleSheet ? i.styleSheet.cssText += e : i.textContent += e, i;
419
+ function wn(e, t) {
420
+ if (t = t || {}, e === void 0)
421
+ throw new Error(xn);
422
+ var n = t.prepend === !0 ? "prepend" : "append", r = t.container !== void 0 ? t.container : document.querySelector("head"), a = $e.indexOf(r);
423
+ a === -1 && (a = $e.push(r) - 1, _[a] = {});
424
+ var o;
425
+ return _[a] !== void 0 && _[a][n] !== void 0 ? o = _[a][n] : (o = _[a][n] = Sn(), n === "prepend" ? r.insertBefore(o, r.childNodes[0]) : r.appendChild(o)), e.charCodeAt(0) === 65279 && (e = e.substr(1, e.length)), o.styleSheet ? o.styleSheet.cssText += e : o.textContent += e, o;
426
426
  }
427
427
  function Me(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) {
428
+ for (var t = 1; t < arguments.length; t++) {
429
+ var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
430
+ typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
431
431
  return Object.getOwnPropertyDescriptor(n, a).enumerable;
432
- }))), t.forEach(function(a) {
433
- jn(e, a, n[a]);
432
+ }))), r.forEach(function(a) {
433
+ On(e, a, n[a]);
434
434
  });
435
435
  }
436
436
  return e;
437
437
  }
438
- function jn(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 On(e, t, n) {
439
+ return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
440
440
  }
441
- function An(e, r) {
441
+ function jn(e, t) {
442
442
  process.env.NODE_ENV;
443
443
  }
444
- function Tn(e, r) {
445
- An(e, "[@ant-design/icons-vue] ".concat(r));
444
+ function An(e, t) {
445
+ jn(e, "[@ant-design/icons-vue] ".concat(t));
446
446
  }
447
447
  function Ee(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 ge(e, r, n) {
450
+ function ve(e, t, n) {
451
451
  return n ? ke(e.tag, Me({
452
- key: r
453
- }, n, e.attrs), (e.children || []).map(function(t, a) {
454
- return ge(t, "".concat(r, "-").concat(e.tag, "-").concat(a));
452
+ key: t
453
+ }, n, e.attrs), (e.children || []).map(function(r, a) {
454
+ return ve(r, "".concat(t, "-").concat(e.tag, "-").concat(a));
455
455
  })) : ke(e.tag, Me({
456
- key: r
457
- }, e.attrs), (e.children || []).map(function(t, a) {
458
- return ge(t, "".concat(r, "-").concat(e.tag, "-").concat(a));
456
+ key: t
457
+ }, e.attrs), (e.children || []).map(function(r, a) {
458
+ return ve(r, "".concat(t, "-").concat(e.tag, "-").concat(a));
459
459
  }));
460
460
  }
461
- function He(e) {
462
- return pe(e)[0];
463
- }
464
461
  function Ue(e) {
462
+ return ge(e)[0];
463
+ }
464
+ function Le(e) {
465
465
  return e ? Array.isArray(e) ? e : [e] : [];
466
466
  }
467
- var xn = `
467
+ var Tn = `
468
468
  .anticon {
469
469
  display: inline-block;
470
470
  color: inherit;
@@ -518,355 +518,355 @@ var xn = `
518
518
  transform: rotate(360deg);
519
519
  }
520
520
  }
521
- `, _e = !1, $n = function() {
522
- var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : xn;
521
+ `, De = !1, $n = function() {
522
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Tn;
523
523
  Ge(function() {
524
- _e || (typeof window < "u" && window.document && window.document.documentElement && On(r, {
524
+ De || (typeof window < "u" && window.document && window.document.documentElement && wn(t, {
525
525
  prepend: !0
526
- }), _e = !0);
526
+ }), De = !0);
527
527
  });
528
528
  }, Mn = ["icon", "primaryColor", "secondaryColor"];
529
- function En(e, r) {
529
+ function En(e, t) {
530
530
  if (e == null) return {};
531
- var n = _n(e, r), t, a;
531
+ var n = Dn(e, t), r, a;
532
532
  if (Object.getOwnPropertySymbols) {
533
- var i = Object.getOwnPropertySymbols(e);
534
- for (a = 0; a < i.length; a++)
535
- t = i[a], !(r.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(e, t) && (n[t] = e[t]);
533
+ var o = Object.getOwnPropertySymbols(e);
534
+ for (a = 0; a < o.length; a++)
535
+ r = o[a], !(t.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (n[r] = e[r]);
536
536
  }
537
537
  return n;
538
538
  }
539
- function _n(e, r) {
539
+ function Dn(e, t) {
540
540
  if (e == null) return {};
541
- var n = {}, t = Object.keys(e), a, i;
542
- for (i = 0; i < t.length; i++)
543
- a = t[i], !(r.indexOf(a) >= 0) && (n[a] = e[a]);
541
+ var n = {}, r = Object.keys(e), a, o;
542
+ for (o = 0; o < r.length; o++)
543
+ a = r[o], !(t.indexOf(a) >= 0) && (n[a] = e[a]);
544
544
  return n;
545
545
  }
546
- function te(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) {
546
+ function re(e) {
547
+ for (var t = 1; t < arguments.length; t++) {
548
+ var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
549
+ typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
550
550
  return Object.getOwnPropertyDescriptor(n, a).enumerable;
551
- }))), t.forEach(function(a) {
552
- Dn(e, a, n[a]);
551
+ }))), r.forEach(function(a) {
552
+ Pn(e, a, n[a]);
553
553
  });
554
554
  }
555
555
  return e;
556
556
  }
557
- function Dn(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 Pn(e, t, n) {
558
+ return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
559
559
  }
560
560
  var J = {
561
561
  primaryColor: "#333",
562
562
  secondaryColor: "#E6E6E6",
563
563
  calculated: !1
564
564
  };
565
- function Pn(e) {
566
- var r = e.primaryColor, n = e.secondaryColor;
567
- J.primaryColor = r, J.secondaryColor = n || He(r), J.calculated = !!n;
568
- }
569
- function In() {
570
- return te({}, J);
571
- }
572
- var P = function(r, n) {
573
- var t = te({}, r, n.attrs), a = t.icon, i = t.primaryColor, f = t.secondaryColor, d = En(t, Mn), v = J;
574
- if (i && (v = {
575
- primaryColor: i,
576
- secondaryColor: f || He(i)
577
- }), $n(), Tn(Ee(a), "icon should be icon definiton, but got ".concat(a)), !Ee(a))
565
+ function In(e) {
566
+ var t = e.primaryColor, n = e.secondaryColor;
567
+ J.primaryColor = t, J.secondaryColor = n || Ue(t), J.calculated = !!n;
568
+ }
569
+ function Bn() {
570
+ return re({}, J);
571
+ }
572
+ var I = function(t, n) {
573
+ var r = re({}, t, n.attrs), a = r.icon, o = r.primaryColor, f = r.secondaryColor, d = En(r, Mn), v = J;
574
+ if (o && (v = {
575
+ primaryColor: o,
576
+ secondaryColor: f || Ue(o)
577
+ }), $n(), An(Ee(a), "icon should be icon definiton, but got ".concat(a)), !Ee(a))
578
578
  return null;
579
- var o = a;
580
- return o && typeof o.icon == "function" && (o = te({}, o, {
581
- icon: o.icon(v.primaryColor, v.secondaryColor)
582
- })), ge(o.icon, "svg-".concat(o.name), te({}, d, {
583
- "data-icon": o.name,
579
+ var s = a;
580
+ return s && typeof s.icon == "function" && (s = re({}, s, {
581
+ icon: s.icon(v.primaryColor, v.secondaryColor)
582
+ })), ve(s.icon, "svg-".concat(s.name), re({}, d, {
583
+ "data-icon": s.name,
584
584
  width: "1em",
585
585
  height: "1em",
586
586
  fill: "currentColor",
587
587
  "aria-hidden": "true"
588
588
  }));
589
589
  };
590
- P.props = {
590
+ I.props = {
591
591
  icon: Object,
592
592
  primaryColor: String,
593
593
  secondaryColor: String,
594
594
  focusable: String
595
595
  };
596
- P.inheritAttrs = !1;
597
- P.displayName = "IconBase";
598
- P.getTwoToneColors = In;
599
- P.setTwoToneColors = Pn;
600
- function Bn(e, r) {
601
- return Rn(e) || zn(e, r) || Nn(e, r) || Kn();
602
- }
603
- function Kn() {
596
+ I.inheritAttrs = !1;
597
+ I.displayName = "IconBase";
598
+ I.getTwoToneColors = Bn;
599
+ I.setTwoToneColors = In;
600
+ function Kn(e, t) {
601
+ return Hn(e) || Rn(e, t) || zn(e, t) || Nn();
602
+ }
603
+ function Nn() {
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 Nn(e, r) {
607
+ function zn(e, t) {
608
608
  if (e) {
609
- if (typeof e == "string") return De(e, r);
609
+ if (typeof e == "string") return Pe(e, t);
610
610
  var n = Object.prototype.toString.call(e).slice(8, -1);
611
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 De(e, r);
612
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Pe(e, t);
613
613
  }
614
614
  }
615
- function De(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 Pe(e, t) {
616
+ (t == null || t > e.length) && (t = e.length);
617
+ for (var n = 0, r = new Array(t); n < t; n++)
618
+ r[n] = e[n];
619
+ return r;
620
620
  }
621
- function zn(e, r) {
621
+ function Rn(e, t) {
622
622
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
623
623
  if (n != null) {
624
- var t = [], a = !0, i = !1, f, d;
624
+ var r = [], a = !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 (n = n.call(e); !(a = (f = n.next()).done) && (r.push(f.value), !(t && r.length === t)); a = !0)
627
627
  ;
628
628
  } catch (v) {
629
- i = !0, d = v;
629
+ o = !0, d = v;
630
630
  } finally {
631
631
  try {
632
632
  !a && n.return != null && n.return();
633
633
  } finally {
634
- if (i) throw d;
634
+ if (o) throw d;
635
635
  }
636
636
  }
637
- return t;
637
+ return r;
638
638
  }
639
639
  }
640
- function Rn(e) {
640
+ function Hn(e) {
641
641
  if (Array.isArray(e)) return e;
642
642
  }
643
- function Le(e) {
644
- var r = Ue(e), n = Bn(r, 2), t = n[0], a = n[1];
645
- return P.setTwoToneColors({
646
- primaryColor: t,
643
+ function Ve(e) {
644
+ var t = Le(e), n = Kn(t, 2), r = n[0], a = n[1];
645
+ return I.setTwoToneColors({
646
+ primaryColor: r,
647
647
  secondaryColor: a
648
648
  });
649
649
  }
650
- function Hn() {
651
- var e = P.getTwoToneColors();
650
+ function Un() {
651
+ var e = I.getTwoToneColors();
652
652
  return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
653
653
  }
654
- var Un = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
655
- function Ln(e, r) {
656
- return Gn(e) || qn(e, r) || Wn(e, r) || Vn();
654
+ var Ln = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
655
+ function Vn(e, t) {
656
+ return Gn(e) || _n(e, t) || qn(e, t) || Wn();
657
657
  }
658
- function Vn() {
658
+ function Wn() {
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 Wn(e, r) {
662
+ function qn(e, t) {
663
663
  if (e) {
664
- if (typeof e == "string") return Pe(e, r);
664
+ if (typeof e == "string") return Ie(e, t);
665
665
  var n = Object.prototype.toString.call(e).slice(8, -1);
666
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 Pe(e, r);
667
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Ie(e, t);
668
668
  }
669
669
  }
670
- function Pe(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 Ie(e, t) {
671
+ (t == null || t > e.length) && (t = e.length);
672
+ for (var n = 0, r = new Array(t); n < t; n++)
673
+ r[n] = e[n];
674
+ return r;
675
675
  }
676
- function qn(e, r) {
676
+ function _n(e, t) {
677
677
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
678
678
  if (n != null) {
679
- var t = [], a = !0, i = !1, f, d;
679
+ var r = [], a = !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 (n = n.call(e); !(a = (f = n.next()).done) && (r.push(f.value), !(t && r.length === t)); a = !0)
682
682
  ;
683
683
  } catch (v) {
684
- i = !0, d = v;
684
+ o = !0, d = v;
685
685
  } finally {
686
686
  try {
687
687
  !a && n.return != null && n.return();
688
688
  } finally {
689
- if (i) throw d;
689
+ if (o) throw d;
690
690
  }
691
691
  }
692
- return t;
692
+ return r;
693
693
  }
694
694
  }
695
695
  function Gn(e) {
696
696
  if (Array.isArray(e)) return e;
697
697
  }
698
- function Ie(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) {
698
+ function Be(e) {
699
+ for (var t = 1; t < arguments.length; t++) {
700
+ var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
701
+ typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
702
702
  return Object.getOwnPropertyDescriptor(n, a).enumerable;
703
- }))), t.forEach(function(a) {
704
- ve(e, a, n[a]);
703
+ }))), r.forEach(function(a) {
704
+ ye(e, a, n[a]);
705
705
  });
706
706
  }
707
707
  return e;
708
708
  }
709
- function ve(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 ye(e, t, n) {
710
+ return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
711
711
  }
712
- function Jn(e, r) {
712
+ function Jn(e, t) {
713
713
  if (e == null) return {};
714
- var n = Yn(e, r), t, a;
714
+ var n = Yn(e, t), r, a;
715
715
  if (Object.getOwnPropertySymbols) {
716
- var i = Object.getOwnPropertySymbols(e);
717
- for (a = 0; a < i.length; a++)
718
- t = i[a], !(r.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(e, t) && (n[t] = e[t]);
716
+ var o = Object.getOwnPropertySymbols(e);
717
+ for (a = 0; a < o.length; a++)
718
+ r = o[a], !(t.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (n[r] = e[r]);
719
719
  }
720
720
  return n;
721
721
  }
722
- function Yn(e, r) {
722
+ function Yn(e, t) {
723
723
  if (e == null) return {};
724
- var n = {}, t = Object.keys(e), a, i;
725
- for (i = 0; i < t.length; i++)
726
- a = t[i], !(r.indexOf(a) >= 0) && (n[a] = e[a]);
724
+ var n = {}, r = Object.keys(e), a, o;
725
+ for (o = 0; o < r.length; o++)
726
+ a = r[o], !(t.indexOf(a) >= 0) && (n[a] = e[a]);
727
727
  return n;
728
728
  }
729
- Le("#1890ff");
730
- var N = function(r, n) {
731
- var t, a = Ie({}, r, n.attrs), i = a.class, f = a.icon, d = a.spin, v = a.rotate, o = a.tabindex, y = a.twoToneColor, u = a.onClick, w = Jn(a, Un), k = (t = {
729
+ Ve("#1890ff");
730
+ var z = function(t, n) {
731
+ var r, a = Be({}, t, n.attrs), o = a.class, f = a.icon, d = a.spin, v = a.rotate, s = a.tabindex, y = a.twoToneColor, u = a.onClick, S = Jn(a, Ln), k = (r = {
732
732
  anticon: !0
733
- }, ve(t, "anticon-".concat(f.name), !!f.name), ve(t, i, i), t), z = d === "" || d || f.name === "loading" ? "anticon-spin" : "", V = o;
734
- V === void 0 && u && (V = -1, w.tabindex = V);
735
- var g = v ? {
733
+ }, ye(r, "anticon-".concat(f.name), !!f.name), ye(r, o, o), r), R = d === "" || d || f.name === "loading" ? "anticon-spin" : "", W = s;
734
+ W === void 0 && u && (W = -1, S.tabindex = W);
735
+ var m = v ? {
736
736
  msTransform: "rotate(".concat(v, "deg)"),
737
737
  transform: "rotate(".concat(v, "deg)")
738
- } : void 0, m = Ue(y), l = Ln(m, 2), T = l[0], I = l[1];
739
- return S("span", Ie({
738
+ } : void 0, h = Le(y), i = Vn(h, 2), A = i[0], B = i[1];
739
+ return x("span", Be({
740
740
  role: "img",
741
741
  "aria-label": f.name
742
- }, w, {
742
+ }, S, {
743
743
  onClick: u,
744
744
  class: k
745
- }), [S(P, {
746
- class: z,
745
+ }), [x(I, {
746
+ class: R,
747
747
  icon: f,
748
- primaryColor: T,
749
- secondaryColor: I,
750
- style: g
748
+ primaryColor: A,
749
+ secondaryColor: B,
750
+ style: m
751
751
  }, null)]);
752
752
  };
753
- N.props = {
753
+ z.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 = Hn;
762
- N.setTwoToneColor = Le;
759
+ z.displayName = "AntdIcon";
760
+ z.inheritAttrs = !1;
761
+ z.getTwoToneColor = Un;
762
+ z.setTwoToneColor = Ve;
763
763
  var Zn = { 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
- function Be(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) {
764
+ function Ke(e) {
765
+ for (var t = 1; t < arguments.length; t++) {
766
+ var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
767
+ typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
768
768
  return Object.getOwnPropertyDescriptor(n, a).enumerable;
769
- }))), t.forEach(function(a) {
769
+ }))), r.forEach(function(a) {
770
770
  Qn(e, a, n[a]);
771
771
  });
772
772
  }
773
773
  return e;
774
774
  }
775
- function Qn(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 Qn(e, t, n) {
776
+ return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
777
777
  }
778
- var be = function(r, n) {
779
- var t = Be({}, r, n.attrs);
780
- return S(N, Be({}, t, {
778
+ var me = function(t, n) {
779
+ var r = Ke({}, t, n.attrs);
780
+ return x(z, Ke({}, r, {
781
781
  icon: Zn
782
782
  }), null);
783
783
  };
784
- be.displayName = "MenuFoldOutlined";
785
- be.inheritAttrs = !1;
784
+ me.displayName = "MenuFoldOutlined";
785
+ me.inheritAttrs = !1;
786
786
  var Xn = { 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
- function Ke(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) {
787
+ function Ne(e) {
788
+ for (var t = 1; t < arguments.length; t++) {
789
+ var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
790
+ typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
791
791
  return Object.getOwnPropertyDescriptor(n, a).enumerable;
792
- }))), t.forEach(function(a) {
793
- er(e, a, n[a]);
792
+ }))), r.forEach(function(a) {
793
+ et(e, a, n[a]);
794
794
  });
795
795
  }
796
796
  return e;
797
797
  }
798
- function er(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 et(e, t, n) {
799
+ return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
800
800
  }
801
- var me = function(r, n) {
802
- var t = Ke({}, r, n.attrs);
803
- return S(N, Ke({}, t, {
801
+ var he = function(t, n) {
802
+ var r = Ne({}, t, n.attrs);
803
+ return x(z, Ne({}, r, {
804
804
  icon: Xn
805
805
  }), null);
806
806
  };
807
- me.displayName = "MenuUnfoldOutlined";
808
- me.inheritAttrs = !1;
809
- const nr = ["src"], Ve = /* @__PURE__ */ ye({
807
+ he.displayName = "MenuUnfoldOutlined";
808
+ he.inheritAttrs = !1;
809
+ const nt = ["src"], We = /* @__PURE__ */ be({
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 = L(() => {
817
- var i, f, d, v;
818
- return r.status === "default" ? (((i = r.data) == null ? void 0 : i.host) || "") + ae(r.data.iconUrl) : (f = r.data) != null && f.hoverIcon ? (((d = r.data) == null ? void 0 : d.host) || "") + ae(r.data.hoverIcon) : (((v = r.data) == null ? void 0 : v.host) || "") + ae(r.data.iconUrl);
819
- }), t = L(() => ({
816
+ const t = e, n = V(() => {
817
+ var o, f, d, v;
818
+ return t.status === "default" ? (((o = t.data) == null ? void 0 : o.host) || "") + ae(t.data.iconUrl) : (f = t.data) != null && f.hoverIcon ? (((d = t.data) == null ? void 0 : d.host) || "") + ae(t.data.hoverIcon) : (((v = t.data) == null ? void 0 : v.host) || "") + ae(t.data.iconUrl);
819
+ }), r = V(() => ({
820
820
  display: "block",
821
821
  "background-color": "currentColor",
822
822
  "mask-image": `url(${n.value})`
823
823
  }));
824
- return (a, i) => n.value.endsWith(".svg") ? (c(), p(
824
+ return (a, o) => n.value.endsWith(".svg") ? (c(), g(
825
825
  "i",
826
826
  {
827
827
  key: 0,
828
- style: ne(t.value)
828
+ style: ne(r.value)
829
829
  },
830
830
  null,
831
831
  4
832
832
  /* STYLE */
833
- )) : (c(), p("img", {
833
+ )) : (c(), g("img", {
834
834
  key: 1,
835
835
  src: n.value,
836
836
  alt: ""
837
- }, null, 8, nr));
837
+ }, null, 8, nt));
838
838
  }
839
- }), rr = (e, r) => ({
840
- menuClick: (a, i) => {
839
+ }), tt = (e, t) => ({
840
+ menuClick: (a, o) => {
841
841
  var f;
842
- (f = e.selectedKeys) != null && f.includes(i.id) || r("menuClick", { domEvent: a, item: i, key: i.id, keyPath: [i.parentId, i.id] });
842
+ (f = e.selectedKeys) != null && f.includes(o.id) || t("menuClick", { domEvent: a, item: o, key: o.id, keyPath: [o.parentId, o.id] });
843
843
  },
844
- toggleAffix: (a, i) => {
845
- r("toggleAffix", a, i);
844
+ toggleAffix: (a, o) => {
845
+ t("toggleAffix", a, o);
846
846
  }
847
- }), We = (e, r = "children") => e.map((t) => (t[r] && t[r].length && (t[r] = We(t[r], r)), (!t[r] || !t[r].length) && (t[r] = null), t)), tr = (e, r) => {
848
- for (var n = [], t = 0; t < e.length; t += r)
849
- n.push(e.slice(t, t + r));
847
+ }), qe = (e, t = "children") => e.map((r) => (r[t] && r[t].length && (r[t] = qe(r[t], t)), (!r[t] || !r[t].length) && (r[t] = null), r)), rt = (e, t) => {
848
+ for (var n = [], r = 0; r < e.length; r += t)
849
+ n.push(e.slice(r, r + t));
850
850
  return n;
851
- }, ar = { class: "aside-menu-title has-children" }, or = {
851
+ }, at = { class: "aside-menu-title has-children" }, ot = {
852
852
  key: 0,
853
853
  class: "icon-box"
854
- }, ir = {
854
+ }, it = {
855
855
  key: 1,
856
856
  class: "menu-title"
857
- }, lr = { class: "submenu-container" }, sr = { class: "title-bar" }, ur = { class: "title-left" }, cr = { class: "title" }, dr = { class: "item-container" }, fr = ["onClick"], pr = { class: "name" }, gr = {
857
+ }, lt = { class: "submenu-container" }, st = { class: "title-bar" }, ut = { class: "title-left" }, ct = { class: "title" }, dt = { class: "item-container" }, ft = ["onClick"], gt = { class: "name" }, vt = {
858
858
  key: 0,
859
859
  class: "expired"
860
- }, vr = { class: "name" }, yr = {
860
+ }, yt = { class: "name" }, bt = {
861
861
  key: 0,
862
862
  class: "expired"
863
- }, br = { class: "submenu-container is-collapse" }, mr = { class: "title-bar is-collapse" }, hr = { class: "title-left" }, kr = { class: "title" }, Fr = { class: "icon-title" }, Cr = { class: "icon-title" }, Sr = { class: "item-collapse-container" }, wr = ["onClick"], Or = { class: "name" }, jr = {
863
+ }, mt = { class: "submenu-container is-collapse" }, ht = { class: "title-bar is-collapse" }, pt = { class: "title-left" }, kt = { class: "title" }, Ft = { class: "icon-title" }, Ct = { class: "icon-title" }, xt = { class: "item-collapse-container" }, St = ["onClick"], wt = { class: "name" }, Ot = {
864
864
  key: 0,
865
865
  class: "expired"
866
- }, Ar = {
866
+ }, jt = {
867
867
  name: "SubMenu"
868
- }, Tr = /* @__PURE__ */ ye({
869
- ...Ar,
868
+ }, At = /* @__PURE__ */ be({
869
+ ...jt,
870
870
  props: {
871
871
  mode: { default: "vertical" },
872
872
  collapse: { type: Boolean },
@@ -879,43 +879,43 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
879
879
  selectedKeys: { default: () => [] }
880
880
  },
881
881
  emits: ["menuClick", "toggleAffix"],
882
- setup(e, { emit: r }) {
883
- const t = Y(!0), a = Y(""), i = e, f = r;
884
- rn({
882
+ setup(e, { emit: t }) {
883
+ const r = Y(!0), a = Y(""), o = e, f = t;
884
+ tn({
885
885
  unlock: import("@das-fed/ui/packages/icons/unlock"),
886
886
  lock: import("@das-fed/ui/packages/icons/lock")
887
887
  });
888
- const { toggleAffix: d, menuClick: v } = rr(i, f);
889
- return (o, y) => (c(), E(s(en), fe({
890
- class: ["das-ui-sub-menu", o.parentSelectKeys.includes(o.menuInfo.id) ? "is-active" : ""],
891
- key: o.menuInfo.id,
888
+ const { toggleAffix: d, menuClick: v } = tt(o, f);
889
+ return (s, y) => (c(), E(l(en), fe({
890
+ class: ["das-ui-sub-menu", e.parentSelectKeys.includes(e.menuInfo.id) ? "is-active" : ""],
891
+ key: e.menuInfo.id,
892
892
  "popup-offset": [0, 0]
893
- }, o.$attrs, {
894
- onMouseover: y[4] || (y[4] = (u) => a.value = o.menuInfo.id),
893
+ }, s.$attrs, {
894
+ onMouseover: y[4] || (y[4] = (u) => a.value = e.menuInfo.id),
895
895
  onMouseleave: y[5] || (y[5] = (u) => a.value = -1)
896
896
  }), {
897
897
  icon: M(() => {
898
898
  var u;
899
899
  return [
900
- h("div", ar, [
901
- o.menuInfo.hideIcon ? b("v-if", !0) : (c(), p("div", or, [
902
- U(o.$slots, "icon", { menuInfo: o.menuInfo }, () => [
903
- S(Ve, {
904
- data: o.menuInfo,
905
- status: o.parentSelectKeys.includes(o.menuInfo.id) || a.value === o.menuInfo.id ? "hover" : "default"
900
+ p("div", at, [
901
+ e.menuInfo.hideIcon ? b("v-if", !0) : (c(), g("div", ot, [
902
+ L(s.$slots, "icon", { menuInfo: e.menuInfo }, () => [
903
+ x(We, {
904
+ data: e.menuInfo,
905
+ status: e.parentSelectKeys.includes(e.menuInfo.id) || a.value === e.menuInfo.id ? "hover" : "default"
906
906
  }, null, 8, ["data", "status"])
907
907
  ])
908
908
  ])),
909
- o.collapse ? b("v-if", !0) : (c(), p("div", ir, [
910
- U(o.$slots, ((u = o.menuInfo) == null ? void 0 : u.code) + "-name", {}, () => [
911
- $((c(), p("div", null, [
912
- B(
913
- C(o.menuInfo.name),
909
+ e.collapse ? b("v-if", !0) : (c(), g("div", it, [
910
+ L(s.$slots, ((u = e.menuInfo) == null ? void 0 : u.code) + "-name", {}, () => [
911
+ $((c(), g("div", null, [
912
+ K(
913
+ C(e.menuInfo.name),
914
914
  1
915
915
  /* TEXT */
916
916
  )
917
917
  ])), [
918
- [s(K)]
918
+ [l(N)]
919
919
  ])
920
920
  ])
921
921
  ]))
@@ -923,65 +923,65 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
923
923
  ];
924
924
  }),
925
925
  default: M(() => [
926
- o.menuInfo.children.length ? (c(), p(
927
- O,
926
+ e.menuInfo.children.length ? (c(), g(
927
+ w,
928
928
  { key: 0 },
929
929
  [
930
930
  b(" 展开 "),
931
- o.collapse ? (c(), p(
932
- O,
931
+ e.collapse ? (c(), g(
932
+ w,
933
933
  { key: 1 },
934
934
  [
935
935
  b(" 收起 "),
936
- S(s(re), null, {
936
+ x(l(te), null, {
937
937
  default: M(() => [
938
- h("div", br, [
939
- h("div", mr, [
940
- h("div", hr, [
941
- $((c(), p("div", kr, [
942
- B(
943
- C(o.menuInfo.name),
938
+ p("div", mt, [
939
+ p("div", ht, [
940
+ p("div", pt, [
941
+ $((c(), g("div", kt, [
942
+ K(
943
+ C(e.menuInfo.name),
944
944
  1
945
945
  /* TEXT */
946
946
  )
947
947
  ])), [
948
- [s(K)]
948
+ [l(N)]
949
949
  ])
950
950
  ]),
951
- s(!1) && t.value ? (c(), p(
952
- O,
951
+ l(!1) && r.value ? (c(), g(
952
+ w,
953
953
  { key: 0 },
954
954
  [
955
- o.affixKeys.includes(o.menuInfo.id) ? (c(), p("div", {
955
+ e.affixKeys.includes(e.menuInfo.id) ? (c(), g("div", {
956
956
  key: 0,
957
957
  class: "title-right",
958
- onClick: y[2] || (y[2] = R((u) => s(d)(o.menuInfo.id, !1), ["stop"]))
958
+ onClick: y[2] || (y[2] = H((u) => l(d)(e.menuInfo.id, !1), ["stop"]))
959
959
  }, [
960
- S(s(Z), {
960
+ x(l(Z), {
961
961
  icon: "unlock",
962
962
  size: "small"
963
963
  }),
964
- h(
964
+ p(
965
965
  "div",
966
- Fr,
967
- C(s(H)("解锁")),
966
+ Ft,
967
+ C(l(U)("解锁")),
968
968
  1
969
969
  /* TEXT */
970
970
  )
971
971
  ])) : b("v-if", !0),
972
- o.affixKeys.includes(o.menuInfo.id) ? b("v-if", !0) : (c(), p("div", {
972
+ e.affixKeys.includes(e.menuInfo.id) ? b("v-if", !0) : (c(), g("div", {
973
973
  key: 1,
974
974
  class: "title-right affix",
975
- onClick: y[3] || (y[3] = R((u) => s(d)(o.menuInfo.id, !0), ["stop"]))
975
+ onClick: y[3] || (y[3] = H((u) => l(d)(e.menuInfo.id, !0), ["stop"]))
976
976
  }, [
977
- S(s(Z), {
977
+ x(l(Z), {
978
978
  icon: "lock",
979
979
  size: "small"
980
980
  }),
981
- h(
981
+ p(
982
982
  "div",
983
- Cr,
984
- C(s(H)("锁住")),
983
+ Ct,
984
+ C(l(U)("锁住")),
985
985
  1
986
986
  /* TEXT */
987
987
  )
@@ -991,41 +991,41 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
991
991
  /* STABLE_FRAGMENT */
992
992
  )) : b("v-if", !0)
993
993
  ]),
994
- $((c(), p("div", Sr, [
995
- (c(!0), p(
996
- O,
994
+ $((c(), g("div", xt, [
995
+ (c(!0), g(
996
+ w,
997
997
  null,
998
- G(o.menuInfo.children, (u) => (c(), p("div", {
998
+ G(e.menuInfo.children, (u) => (c(), g("div", {
999
999
  key: u.id,
1000
- class: _([
1000
+ class: D([
1001
1001
  "sub-menu-item",
1002
- o.selectedKeys.includes(u.id) ? "is-active" : "",
1002
+ e.selectedKeys.includes(u.id) ? "is-active" : "",
1003
1003
  u != null && u.disable ? "is-disable" : ""
1004
1004
  ]),
1005
- onClick: R((w) => s(v)(w, u), ["stop"])
1005
+ onClick: H((S) => l(v)(S, u), ["stop"])
1006
1006
  }, [
1007
- $((c(), p("div", Or, [
1008
- B(
1007
+ $((c(), g("div", wt, [
1008
+ K(
1009
1009
  C(u.name),
1010
1010
  1
1011
1011
  /* TEXT */
1012
1012
  )
1013
1013
  ])), [
1014
- [s(K)]
1014
+ [l(N)]
1015
1015
  ]),
1016
- u != null && u.expired ? (c(), p(
1016
+ u != null && u.expired ? (c(), g(
1017
1017
  "div",
1018
- jr,
1019
- C(s(H)("已到期")),
1018
+ Ot,
1019
+ C(l(U)("已到期")),
1020
1020
  1
1021
1021
  /* TEXT */
1022
1022
  )) : b("v-if", !0)
1023
- ], 10, wr))),
1023
+ ], 10, St))),
1024
1024
  128
1025
1025
  /* KEYED_FRAGMENT */
1026
1026
  ))
1027
1027
  ])), [
1028
- [s(Ce), { x: !1 }]
1028
+ [l(Ce), { x: !1 }]
1029
1029
  ])
1030
1030
  ])
1031
1031
  ]),
@@ -1035,39 +1035,39 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
1035
1035
  ],
1036
1036
  2112
1037
1037
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1038
- )) : (c(), p(
1039
- O,
1038
+ )) : (c(), g(
1039
+ w,
1040
1040
  { key: 0 },
1041
1041
  [
1042
- o.mode === "vertical" ? (c(), E(s(re), { key: 0 }, {
1042
+ e.mode === "vertical" ? (c(), E(l(te), { key: 0 }, {
1043
1043
  default: M(() => [
1044
- h("div", lr, [
1045
- h("div", sr, [
1046
- h("div", ur, [
1047
- $((c(), p("div", cr, [
1048
- B(
1049
- C(o.menuInfo.name),
1044
+ p("div", lt, [
1045
+ p("div", st, [
1046
+ p("div", ut, [
1047
+ $((c(), g("div", ct, [
1048
+ K(
1049
+ C(e.menuInfo.name),
1050
1050
  1
1051
1051
  /* TEXT */
1052
1052
  )
1053
1053
  ])), [
1054
- [s(K)]
1054
+ [l(N)]
1055
1055
  ])
1056
1056
  ]),
1057
- s(!1) && t.value ? (c(), p(
1058
- O,
1057
+ l(!1) && r.value ? (c(), g(
1058
+ w,
1059
1059
  { key: 0 },
1060
1060
  [
1061
- o.affixKeys.includes(o.menuInfo.id) ? (c(), p("div", {
1061
+ e.affixKeys.includes(e.menuInfo.id) ? (c(), g("div", {
1062
1062
  key: 0,
1063
1063
  class: "title-right",
1064
- onClick: y[0] || (y[0] = R((u) => s(d)(o.menuInfo.id, !1), ["stop"]))
1064
+ onClick: y[0] || (y[0] = H((u) => l(d)(e.menuInfo.id, !1), ["stop"]))
1065
1065
  }, [
1066
- S(s(Z), {
1066
+ x(l(Z), {
1067
1067
  icon: "unlock",
1068
1068
  size: "small"
1069
1069
  }),
1070
- y[6] || (y[6] = h(
1070
+ y[6] || (y[6] = p(
1071
1071
  "div",
1072
1072
  { class: "icon-title" },
1073
1073
  "解锁",
@@ -1075,16 +1075,16 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
1075
1075
  /* CACHED */
1076
1076
  ))
1077
1077
  ])) : b("v-if", !0),
1078
- o.affixKeys.includes(o.menuInfo.id) ? b("v-if", !0) : (c(), p("div", {
1078
+ e.affixKeys.includes(e.menuInfo.id) ? b("v-if", !0) : (c(), g("div", {
1079
1079
  key: 1,
1080
1080
  class: "title-right affix",
1081
- onClick: y[1] || (y[1] = R((u) => s(d)(o.menuInfo.id, !0), ["stop"]))
1081
+ onClick: y[1] || (y[1] = H((u) => l(d)(e.menuInfo.id, !0), ["stop"]))
1082
1082
  }, [
1083
- S(s(Z), {
1083
+ x(l(Z), {
1084
1084
  icon: "lock",
1085
1085
  size: "small"
1086
1086
  }),
1087
- y[7] || (y[7] = h(
1087
+ y[7] || (y[7] = p(
1088
1088
  "div",
1089
1089
  { class: "icon-title" },
1090
1090
  "锁住",
@@ -1097,43 +1097,43 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
1097
1097
  /* STABLE_FRAGMENT */
1098
1098
  )) : b("v-if", !0)
1099
1099
  ]),
1100
- $((c(), p("div", dr, [
1101
- (c(!0), p(
1102
- O,
1100
+ $((c(), g("div", dt, [
1101
+ (c(!0), g(
1102
+ w,
1103
1103
  null,
1104
- G(s(tr)(o.menuInfo.children, 4), (u, w) => (c(), p("div", {
1105
- key: w,
1104
+ G(l(rt)(e.menuInfo.children, 4), (u, S) => (c(), g("div", {
1105
+ key: S,
1106
1106
  class: "sub-menu-row"
1107
1107
  }, [
1108
- (c(!0), p(
1109
- O,
1108
+ (c(!0), g(
1109
+ w,
1110
1110
  null,
1111
- G(u, (k) => (c(), p("div", {
1111
+ G(u, (k) => (c(), g("div", {
1112
1112
  key: k.id,
1113
- class: _([
1113
+ class: D([
1114
1114
  "sub-menu-item",
1115
- o.selectedKeys.includes(k.id) ? "is-active" : "",
1115
+ e.selectedKeys.includes(k.id) ? "is-active" : "",
1116
1116
  k != null && k.disable ? "is-disable" : ""
1117
1117
  ]),
1118
- onClick: R((z) => s(v)(z, k), ["stop"])
1118
+ onClick: H((R) => l(v)(R, k), ["stop"])
1119
1119
  }, [
1120
- $((c(), p("div", pr, [
1121
- B(
1120
+ $((c(), g("div", gt, [
1121
+ K(
1122
1122
  C(k.name),
1123
1123
  1
1124
1124
  /* TEXT */
1125
1125
  )
1126
1126
  ])), [
1127
- [s(K)]
1127
+ [l(N)]
1128
1128
  ]),
1129
- k != null && k.expired ? (c(), p(
1129
+ k != null && k.expired ? (c(), g(
1130
1130
  "div",
1131
- gr,
1132
- C(s(H)("已到期")),
1131
+ vt,
1132
+ C(l(U)("已到期")),
1133
1133
  1
1134
1134
  /* TEXT */
1135
1135
  )) : b("v-if", !0)
1136
- ], 10, fr))),
1136
+ ], 10, ft))),
1137
1137
  128
1138
1138
  /* KEYED_FRAGMENT */
1139
1139
  ))
@@ -1142,47 +1142,47 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
1142
1142
  /* KEYED_FRAGMENT */
1143
1143
  ))
1144
1144
  ])), [
1145
- [s(Ce), { x: !1 }]
1145
+ [l(Ce), { x: !1 }]
1146
1146
  ])
1147
1147
  ])
1148
1148
  ]),
1149
1149
  _: 1
1150
1150
  /* STABLE */
1151
1151
  })) : b("v-if", !0),
1152
- o.mode === "inline" ? (c(!0), p(
1153
- O,
1152
+ e.mode === "inline" ? (c(!0), g(
1153
+ w,
1154
1154
  { key: 1 },
1155
- G(o.menuInfo.children, (u) => (c(), E(
1156
- s(re),
1155
+ G(e.menuInfo.children, (u) => (c(), E(
1156
+ l(te),
1157
1157
  {
1158
1158
  key: u.id
1159
1159
  },
1160
1160
  {
1161
1161
  default: M(() => [
1162
- h(
1162
+ p(
1163
1163
  "div",
1164
1164
  {
1165
- class: _([
1165
+ class: D([
1166
1166
  "sub-menu-item_inline",
1167
- o.selectedKeys.includes(u.id) ? "is-active" : "",
1167
+ e.selectedKeys.includes(u.id) ? "is-active" : "",
1168
1168
  u != null && u.expired ? "is-expired" : "",
1169
1169
  u != null && u.disable ? "is-disable" : ""
1170
1170
  ])
1171
1171
  },
1172
1172
  [
1173
- $((c(), p("div", vr, [
1174
- B(
1173
+ $((c(), g("div", yt, [
1174
+ K(
1175
1175
  C(u.name),
1176
1176
  1
1177
1177
  /* TEXT */
1178
1178
  )
1179
1179
  ])), [
1180
- [s(K)]
1180
+ [l(N)]
1181
1181
  ]),
1182
- u != null && u.expired ? (c(), p(
1182
+ u != null && u.expired ? (c(), g(
1183
1183
  "div",
1184
- yr,
1185
- C(s(H)("已到期")),
1184
+ bt,
1185
+ C(l(U)("已到期")),
1186
1186
  1
1187
1187
  /* TEXT */
1188
1188
  )) : b("v-if", !0)
@@ -1213,57 +1213,57 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
1213
1213
  /* FORWARDED */
1214
1214
  }, 16, ["class"]));
1215
1215
  }
1216
- }), xr = (e, r) => {
1217
- const n = Y([]), t = Y([]);
1216
+ }), Tt = (e, t) => {
1217
+ const n = Y([]), r = Y([]);
1218
1218
  Fe(
1219
1219
  () => n.value,
1220
- (o) => {
1221
- r("update:currentOpenKeys", o);
1220
+ (s) => {
1221
+ t("update:currentOpenKeys", s);
1222
1222
  }
1223
1223
  ), Fe(
1224
1224
  () => e.currentOpenKeys,
1225
- (o) => {
1226
- o && n.value !== o && (n.value = e.currentOpenKeys || []);
1225
+ (s) => {
1226
+ s && n.value !== s && (n.value = e.currentOpenKeys || []);
1227
1227
  },
1228
1228
  { immediate: !0 }
1229
1229
  );
1230
- const a = (o, y) => {
1231
- y ? (t.value.push(o), t.value = Array.from(new Set(t.value))) : t.value.map((u, w) => {
1232
- u === o && t.value.splice(w, 1);
1230
+ const a = (s, y) => {
1231
+ y ? (r.value.push(s), r.value = Array.from(new Set(r.value))) : r.value.map((u, S) => {
1232
+ u === s && r.value.splice(S, 1);
1233
1233
  });
1234
1234
  };
1235
1235
  Je(() => {
1236
1236
  document.documentElement.style.setProperty("--das-menu-submenu-popup-z-index", "999998");
1237
1237
  });
1238
- const i = (o) => {
1238
+ const o = (s) => {
1239
1239
  if (e.mode === "inline") {
1240
1240
  if (!d.value) {
1241
- const y = t.value.filter((u) => !o.includes(u));
1242
- t.value = t.value.filter((u) => !y.includes(u));
1241
+ const y = r.value.filter((u) => !s.includes(u));
1242
+ r.value = r.value.filter((u) => !y.includes(u));
1243
1243
  }
1244
- n.value = [o[o.length - 1]];
1244
+ n.value = [s[s.length - 1]];
1245
1245
  }
1246
- e.mode === "vertical" && (n.value = Array.from(new Set(o.concat(t.value))));
1247
- }, f = (o) => {
1248
- !o || !o.key || r("menuClick", o);
1249
- }, d = L({
1246
+ e.mode === "vertical" && (n.value = Array.from(new Set(s.concat(r.value))));
1247
+ }, f = (s) => {
1248
+ !s || !s.key || t("menuClick", s);
1249
+ }, d = V({
1250
1250
  get: () => !!e.collapse,
1251
- set: (o) => {
1252
- r("update:collapse", o);
1251
+ set: (s) => {
1252
+ t("update:collapse", s);
1253
1253
  }
1254
1254
  });
1255
1255
  return {
1256
1256
  isCollapse: d,
1257
1257
  openKeys: n,
1258
- affixKeys: t,
1258
+ affixKeys: r,
1259
1259
  toggleAffix: a,
1260
- openChange: i,
1260
+ openChange: o,
1261
1261
  menuClick: f,
1262
- toggleCollapse: (o) => {
1263
- d.value = o, r("toggleCollapse", o);
1262
+ toggleCollapse: (s) => {
1263
+ d.value = s, t("toggleCollapse", s);
1264
1264
  }
1265
1265
  };
1266
- }, Ne = {
1266
+ }, ze = {
1267
1267
  "--das-ui-layout-aside-border-color": {
1268
1268
  kjl: "#D9D9D9",
1269
1269
  ssl: "#1B1F40",
@@ -1384,23 +1384,23 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
1384
1384
  cjb: "rgba(102, 102, 102, 0.3)",
1385
1385
  dkh: "rgba(255, 255, 255, 0.3)"
1386
1386
  }
1387
- }, $r = {
1387
+ }, $t = {
1388
1388
  key: 0,
1389
1389
  class: "icon-box"
1390
- }, Mr = {
1390
+ }, Mt = {
1391
1391
  key: 1,
1392
1392
  class: "custom-left-icon"
1393
- }, Er = { class: "menu-item-content" }, _r = {
1393
+ }, Et = { class: "menu-item-content" }, Dt = {
1394
1394
  key: 1,
1395
1395
  class: "expired"
1396
- }, Dr = {
1396
+ }, Pt = {
1397
1397
  key: 2,
1398
1398
  class: "ant-menu-submenu-arrow",
1399
1399
  custom: "true"
1400
- }, Pr = { class: "das-aside-menu-bottom-container" }, Ir = {
1400
+ }, It = { class: "das-aside-menu-bottom-container" }, Bt = {
1401
1401
  name: "DasMenuAside"
1402
- }, Br = /* @__PURE__ */ ye({
1403
- ...Ir,
1402
+ }, Kt = /* @__PURE__ */ be({
1403
+ ...Bt,
1404
1404
  props: {
1405
1405
  globalTheme: { default: "default" },
1406
1406
  mode: { default: "vertical" },
@@ -1412,149 +1412,149 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
1412
1412
  subMenuAttrs: { default: () => ({}) }
1413
1413
  },
1414
1414
  emits: ["update:collapse", "update:currentOpenKeys", "menuClick", "toggleCollapse"],
1415
- setup(e, { emit: r }) {
1416
- const n = Y(""), t = e, a = r, i = "das-aside-menu-submenu", f = L(() => {
1417
- var m;
1418
- let g = i;
1419
- return (m = t == null ? void 0 : t.subMenuAttrs) != null && m.popupClassName && (g = `${g} ${t.subMenuAttrs.popupClassName}`), {
1420
- popupClassName: g
1415
+ setup(e, { emit: t }) {
1416
+ const n = Y(""), r = e, a = t, o = "das-aside-menu-submenu", f = V(() => {
1417
+ var h;
1418
+ let m = o;
1419
+ return (h = r == null ? void 0 : r.subMenuAttrs) != null && h.popupClassName && (m = `${m} ${r.subMenuAttrs.popupClassName}`), {
1420
+ popupClassName: m
1421
1421
  };
1422
- }), d = L(() => {
1423
- const g = {}, m = document.getElementById(i);
1424
- if (t.globalTheme === "default")
1425
- return m && m.remove(), g;
1426
- Object.keys(Ne).forEach((T) => {
1427
- var I;
1428
- g[T] = ((I = Ne[T]) == null ? void 0 : I[t.globalTheme]) ?? void 0;
1422
+ }), d = V(() => {
1423
+ const m = {}, h = document.getElementById(o);
1424
+ if (r.globalTheme === "default")
1425
+ return h && h.remove(), m;
1426
+ Object.keys(ze).forEach((A) => {
1427
+ var B;
1428
+ m[A] = ((B = ze[A]) == null ? void 0 : B[r.globalTheme]) ?? void 0;
1429
1429
  });
1430
- const l = [
1430
+ const i = [
1431
1431
  {
1432
- className: `.${i}`,
1433
- style: g
1432
+ className: `.${o}`,
1433
+ style: m
1434
1434
  }
1435
1435
  ];
1436
- return m ? tn(i, l) : an(i, l), g;
1437
- }), v = L(() => {
1438
- const g = t.menus || [], m = JSON.parse(JSON.stringify(g));
1439
- return !m || !m.length ? [] : We(m);
1440
- }), { isCollapse: o, openKeys: y, affixKeys: u, toggleAffix: w, openChange: k, menuClick: z, toggleCollapse: V } = xr(
1441
- t,
1436
+ return h ? rn(o, i) : an(o, i), m;
1437
+ }), v = V(() => {
1438
+ const m = r.menus || [], h = JSON.parse(JSON.stringify(m));
1439
+ return !h || !h.length ? [] : qe(h);
1440
+ }), { isCollapse: s, openKeys: y, affixKeys: u, toggleAffix: S, openChange: k, menuClick: R, toggleCollapse: W } = Tt(
1441
+ r,
1442
1442
  a
1443
1443
  );
1444
- return (g, m) => (c(), p(
1444
+ return (m, h) => (c(), g(
1445
1445
  "div",
1446
1446
  {
1447
- class: _(["das-ui-menu-aside", g.collapse ? "is-collapse" : "", `theme-${g.globalTheme}`, g.globalTheme === "dkh" ? "das-ui-menu-aside-dkh" : ""]),
1447
+ class: D(["das-ui-menu-aside", e.collapse ? "is-collapse" : "", `theme-${e.globalTheme}`, e.globalTheme === "dkh" ? "das-ui-menu-aside-dkh" : ""]),
1448
1448
  style: ne(d.value)
1449
1449
  },
1450
1450
  [
1451
- (c(), p(
1451
+ (c(), g(
1452
1452
  "div",
1453
1453
  {
1454
- key: g.collapse + "",
1455
- class: _(["das-ui-aside-menu", g.collapse ? "is-collapse" : ""])
1454
+ key: e.collapse + "",
1455
+ class: D(["das-ui-aside-menu", e.collapse ? "is-collapse" : ""])
1456
1456
  },
1457
1457
  [
1458
- S(s(Qe), { style: { height: "100%" } }, {
1458
+ x(l(Qe), { style: { height: "100%" } }, {
1459
1459
  default: M(() => [
1460
- v.value && v.value.length ? (c(), E(s(nn), fe({
1460
+ v.value && v.value.length ? (c(), E(l(nn), fe({
1461
1461
  key: 0,
1462
- class: ["das-menu", g.collapse ? "is-collapse" : ""],
1463
- mode: g.mode,
1464
- openKeys: s(y),
1465
- "onUpdate:openKeys": m[1] || (m[1] = (l) => Ye(y) ? y.value = l : null),
1466
- selectedKeys: g.currentSelectKeys,
1462
+ class: ["das-menu", e.collapse ? "is-collapse" : ""],
1463
+ mode: e.mode,
1464
+ openKeys: l(y),
1465
+ "onUpdate:openKeys": h[1] || (h[1] = (i) => Ye(y) ? y.value = i : null),
1466
+ selectedKeys: e.currentSelectKeys,
1467
1467
  theme: "dark",
1468
- "inline-collapsed": s(o)
1469
- }, g.$attrs, {
1470
- onOpenChange: s(k),
1471
- onClick: s(z)
1468
+ "inline-collapsed": l(s)
1469
+ }, m.$attrs, {
1470
+ onOpenChange: l(k),
1471
+ onClick: l(R)
1472
1472
  }), {
1473
1473
  default: M(() => [
1474
- (c(!0), p(
1475
- O,
1474
+ (c(!0), g(
1475
+ w,
1476
1476
  null,
1477
- G(v.value, (l) => (c(), p(
1478
- O,
1477
+ G(v.value, (i) => (c(), g(
1478
+ w,
1479
1479
  null,
1480
1480
  [
1481
1481
  b(" 只有一级菜单 "),
1482
- l.children ? (c(), p(
1483
- O,
1482
+ i.children ? (c(), g(
1483
+ w,
1484
1484
  { key: 1 },
1485
1485
  [
1486
1486
  b(" 有二级菜单 "),
1487
- (c(), E(Tr, fe({
1488
- key: l.id,
1489
- mode: g.mode,
1490
- menuInfo: l,
1491
- collapse: s(o),
1492
- affixKeys: s(u),
1493
- parentSelectKeys: g.parentSelectKeys,
1494
- selectedKeys: g.currentSelectKeys
1487
+ (c(), E(At, fe({
1488
+ key: i.id,
1489
+ mode: e.mode,
1490
+ menuInfo: i,
1491
+ collapse: l(s),
1492
+ affixKeys: l(u),
1493
+ parentSelectKeys: e.parentSelectKeys,
1494
+ selectedKeys: e.currentSelectKeys
1495
1495
  }, { ref_for: !0 }, f.value, {
1496
- onMenuClick: s(z),
1497
- onToggleAffix: s(w)
1496
+ onMenuClick: l(R),
1497
+ onToggleAffix: l(S)
1498
1498
  }), null, 16, ["mode", "menuInfo", "collapse", "affixKeys", "parentSelectKeys", "selectedKeys", "onMenuClick", "onToggleAffix"]))
1499
1499
  ],
1500
1500
  64
1501
1501
  /* STABLE_FRAGMENT */
1502
- )) : (c(), E(s(re), {
1503
- class: _({ "divise-menu-item": l.divise }),
1504
- key: l.id,
1505
- onMouseover: (T) => n.value = l.id,
1506
- onMouseleave: m[0] || (m[0] = (T) => n.value = "")
1502
+ )) : (c(), E(l(te), {
1503
+ class: D({ "divise-menu-item": i.divise }),
1504
+ key: i.id,
1505
+ onMouseover: (A) => n.value = i.id,
1506
+ onMouseleave: h[0] || (h[0] = (A) => n.value = "")
1507
1507
  }, {
1508
1508
  icon: M(() => [
1509
- S(s(Xe), {
1510
- content: l.name,
1509
+ x(l(Xe), {
1510
+ content: i.name,
1511
1511
  placement: "right",
1512
- disabled: !s(o)
1512
+ disabled: !l(s)
1513
1513
  }, {
1514
1514
  default: M(() => {
1515
- var T, I, he;
1515
+ var A, B, pe;
1516
1516
  return [
1517
- h(
1517
+ p(
1518
1518
  "div",
1519
1519
  {
1520
- class: _([
1520
+ class: D([
1521
1521
  "aside-menu-title",
1522
- (T = l == null ? void 0 : l.originalChildren) != null && T.length ? "has-children" : "",
1523
- l != null && l.expired ? "is-expired" : "",
1524
- l != null && l.disable ? "is-disable" : "",
1525
- g.currentSelectKeys.includes(l.id) ? "is-active" : ""
1522
+ (A = i == null ? void 0 : i.originalChildren) != null && A.length ? "has-children" : "",
1523
+ i != null && i.expired ? "is-expired" : "",
1524
+ i != null && i.disable ? "is-disable" : "",
1525
+ e.currentSelectKeys.includes(i.id) ? "is-active" : ""
1526
1526
  ])
1527
1527
  },
1528
1528
  [
1529
1529
  b(" 自定义leftIcon "),
1530
- l.hideIcon ? b("v-if", !0) : (c(), p("div", $r, [
1530
+ i.hideIcon ? b("v-if", !0) : (c(), g("div", $t, [
1531
1531
  b(" 第一种icon插槽 "),
1532
- g.$slots[`${l == null ? void 0 : l.code}-leftIcon`] ? (c(), p("div", Mr, [
1532
+ m.$slots[`${i == null ? void 0 : i.code}-leftIcon`] ? (c(), g("div", Mt, [
1533
1533
  b(" 第二种icon插槽 "),
1534
- U(g.$slots, `${l == null ? void 0 : l.code}-leftIcon`)
1535
- ])) : U(g.$slots, "icon", {
1534
+ L(m.$slots, `${i == null ? void 0 : i.code}-leftIcon`)
1535
+ ])) : L(m.$slots, "icon", {
1536
1536
  key: 0,
1537
- menuInfo: l
1537
+ menuInfo: i
1538
1538
  }, () => [
1539
- S(Ve, {
1540
- data: l,
1541
- status: g.currentSelectKeys.includes(l.id) || n.value === l.id ? "hover" : "default"
1539
+ x(We, {
1540
+ data: i,
1541
+ status: e.currentSelectKeys.includes(i.id) || n.value === i.id ? "hover" : "default"
1542
1542
  }, null, 8, ["data", "status"])
1543
1543
  ])
1544
1544
  ])),
1545
- h("div", Er, [
1546
- s(o) ? b("v-if", !0) : $((c(), p(
1545
+ p("div", Et, [
1546
+ l(s) ? b("v-if", !0) : $((c(), g(
1547
1547
  "div",
1548
1548
  {
1549
1549
  key: 0,
1550
1550
  class: "menu-title",
1551
1551
  style: ne({
1552
- "padding-right": g.$slots[(l == null ? void 0 : l.code) + "-rightIcon"] || l != null && l.expired ? "0" : l != null && l.disable && ((I = l == null ? void 0 : l.originalChildren) != null && I.length) ? "30px" : "15px"
1552
+ "padding-right": m.$slots[(i == null ? void 0 : i.code) + "-rightIcon"] || i != null && i.expired ? "0" : i != null && i.disable && ((B = i == null ? void 0 : i.originalChildren) != null && B.length) ? "30px" : "15px"
1553
1553
  })
1554
1554
  },
1555
1555
  [
1556
- B(
1557
- C(l.name),
1556
+ K(
1557
+ C(i.name),
1558
1558
  1
1559
1559
  /* TEXT */
1560
1560
  )
@@ -1562,20 +1562,20 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
1562
1562
  4
1563
1563
  /* STYLE */
1564
1564
  )), [
1565
- [s(K)]
1565
+ [l(N)]
1566
1566
  ]),
1567
1567
  b(" 已到期标识 "),
1568
- l != null && l.expired ? (c(), p(
1568
+ i != null && i.expired ? (c(), g(
1569
1569
  "div",
1570
- _r,
1571
- C(s(H)("已到期")),
1570
+ Dt,
1571
+ C(l(U)("已到期")),
1572
1572
  1
1573
1573
  /* TEXT */
1574
1574
  )) : b("v-if", !0),
1575
1575
  b(" 箭头 "),
1576
- l != null && l.disable && ((he = l == null ? void 0 : l.originalChildren) != null && he.length) ? (c(), p("i", Dr)) : b("v-if", !0),
1576
+ i != null && i.disable && ((pe = i == null ? void 0 : i.originalChildren) != null && pe.length) ? (c(), g("i", Pt)) : b("v-if", !0),
1577
1577
  b("@slots 右侧icon "),
1578
- U(g.$slots, (l == null ? void 0 : l.code) + "-rightIcon")
1578
+ L(m.$slots, (i == null ? void 0 : i.code) + "-rightIcon")
1579
1579
  ])
1580
1580
  ],
1581
1581
  2
@@ -1602,8 +1602,8 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
1602
1602
  /* FORWARDED */
1603
1603
  }, 16, ["class", "mode", "openKeys", "selectedKeys", "inline-collapsed", "onOpenChange", "onClick"])) : b("v-if", !0),
1604
1604
  b(" 底部插槽 "),
1605
- h("div", Pr, [
1606
- U(g.$slots, "bottom")
1605
+ p("div", It, [
1606
+ L(m.$slots, "bottom")
1607
1607
  ])
1608
1608
  ]),
1609
1609
  _: 3
@@ -1613,24 +1613,24 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
1613
1613
  2
1614
1614
  /* CLASS */
1615
1615
  )),
1616
- h(
1616
+ p(
1617
1617
  "div",
1618
1618
  {
1619
- class: _(["icon-container", s(o) ? "is-collapse" : ""])
1619
+ class: D(["icon-container", l(s) ? "is-collapse" : ""])
1620
1620
  },
1621
1621
  [
1622
- h(
1622
+ p(
1623
1623
  "div",
1624
1624
  {
1625
- style: ne({ "padding-left": s(o) ? "0" : "16px" }),
1626
- onClick: m[2] || (m[2] = (l) => s(V)(!s(o)))
1625
+ style: ne({ "padding-left": l(s) ? "0" : "16px" }),
1626
+ onClick: h[2] || (h[2] = (i) => l(W)(!l(s)))
1627
1627
  },
1628
1628
  [
1629
- h("div", null, [
1630
- s(o) ? (c(), E(s(me), {
1629
+ p("div", null, [
1630
+ l(s) ? (c(), E(l(he), {
1631
1631
  key: 0,
1632
1632
  class: "collapse-icon"
1633
- })) : (c(), E(s(be), {
1633
+ })) : (c(), E(l(me), {
1634
1634
  key: 1,
1635
1635
  class: "collapse-icon"
1636
1636
  }))
@@ -1648,7 +1648,7 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
1648
1648
  /* CLASS, STYLE */
1649
1649
  ));
1650
1650
  }
1651
- }), Kr = {
1651
+ }), Nt = {
1652
1652
  "--das-ui-layout-aside-menu-width": "214px",
1653
1653
  "--das-ui-layout-aside-collapse-menu-width": "50px",
1654
1654
  "--das-ui-layout-aside-menu-item-height": "50px",
@@ -1673,11 +1673,11 @@ const nr = ["src"], Ve = /* @__PURE__ */ ye({
1673
1673
  "--das-ui-layout-aside-collapse-icon-hover-bg-color": "#FFFFFF",
1674
1674
  "--das-ui-layout-aside-divise-border-color": "rgba(255, 255, 255, 0.3)",
1675
1675
  "--das-ui-layout-aside-menu-expired-color": "#BBBBBB"
1676
- }, Nr = { 已到期: { "zh-CN": "已到期", en: "Expired", _appCode: "framework" } };
1677
- Ze(Nr);
1678
- on(Kr);
1679
- const Xr = qe(Br), et = { title: "Menu-Aside 垂直导航栏" };
1676
+ }, zt = { 已到期: { "zh-CN": "已到期", en: "Expired", _appCode: "framework" } };
1677
+ Ze(zt);
1678
+ on(Nt);
1679
+ const Xt = _e(Kt), er = { title: "Menu-Aside 垂直导航栏" };
1680
1680
  export {
1681
- Xr as DasMenuAside,
1682
- et as default
1681
+ Xt as DasMenuAside,
1682
+ er as default
1683
1683
  };