@das-fed/upf-ui 6.4.0-dev.305 → 6.4.0-dev.307

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 (268) hide show
  1. package/front-end/i18n/front-end-page/dasui_en-US.js +1 -1
  2. package/front-end/i18n/front-end-page/dasui_zh-CN.js +1 -1
  3. package/front-end/i18n/front-end-page/dasui_zh-MO.js +1 -1
  4. package/package.json +9 -9
  5. package/packages/business-components/ai-panel/{index-BdLFU3HT.js → index-C1XseEkL.js} +1 -1
  6. package/packages/business-components/ai-panel/index-C1XseEkL.js.gz +0 -0
  7. package/packages/business-components/ai-panel/{index-Cc1_Wpca.js → index-_XzaXcle.js} +1136 -1154
  8. package/packages/business-components/ai-panel/index-_XzaXcle.js.gz +0 -0
  9. package/packages/business-components/ai-panel/index.js +1 -1
  10. package/packages/business-components/ai-panel/src/dasAI/components/referenceContent/index.vue.d.ts +2 -2
  11. package/packages/business-components/ai-panel/src/dasAI/hooks/audio.d.ts +1 -1
  12. package/packages/business-components/app-container/index.js +56 -56
  13. package/packages/business-components/app-container/index.js.gz +0 -0
  14. package/packages/business-components/area-phone-select/index.d.ts +39 -39
  15. package/packages/business-components/area-phone-select/index.js +87 -87
  16. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  17. package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +5 -5
  18. package/packages/business-components/change-enterprises/index.js +20 -20
  19. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  20. package/packages/business-components/change-pwd/index.js +15 -15
  21. package/packages/business-components/change-pwd/index.js.gz +0 -0
  22. package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +28 -28
  23. package/packages/business-components/currency-page/index.js +39 -39
  24. package/packages/business-components/currency-page/index.js.gz +0 -0
  25. package/packages/business-components/device-panel/index.js +46 -46
  26. package/packages/business-components/device-panel/index.js.gz +0 -0
  27. package/packages/business-components/device-panel/src/components/drag-resize/index.vue.d.ts +1 -1
  28. package/packages/business-components/device-panel/style.css +1 -1
  29. package/packages/business-components/device-panel/style.css.gz +0 -0
  30. package/packages/business-components/echarts/index.d.ts +10 -10
  31. package/packages/business-components/echarts/src/Index.vue.d.ts +2 -2
  32. package/packages/business-components/export-button/index.d.ts +3 -3
  33. package/packages/business-components/export-button/index.js +92 -92
  34. package/packages/business-components/export-button/index.js.gz +0 -0
  35. package/packages/business-components/export-button/src/App.vue.d.ts +1 -1
  36. package/packages/business-components/import-button/index.js +171 -171
  37. package/packages/business-components/import-button/index.js.gz +0 -0
  38. package/packages/business-components/layout-breadcrumb/index.js +42 -42
  39. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  40. package/packages/business-components/model-table-dialog/index.d.ts +43 -43
  41. package/packages/business-components/model-table-dialog/index.js +233 -233
  42. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  43. package/packages/business-components/model-table-dialog/src/Index.vue.d.ts +4 -4
  44. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +1 -1
  45. package/packages/business-components/payment/index.js +44 -44
  46. package/packages/business-components/payment/index.js.gz +0 -0
  47. package/packages/business-components/process-form/index.js +939 -939
  48. package/packages/business-components/process-form/index.js.gz +0 -0
  49. package/packages/business-components/process-form/src/hooks/useForm.d.ts +28 -28
  50. package/packages/business-components/process-form/src/widgets/layout/accordion/accordion.d.ts +1 -1
  51. package/packages/business-components/process-form/src/widgets/layout/grid/grid.d.ts +1 -1
  52. package/packages/business-components/process-log/index.js +331 -331
  53. package/packages/business-components/process-log/index.js.gz +0 -0
  54. package/packages/business-components/process-log/style.css +1 -1
  55. package/packages/business-components/process-log/style.css.gz +0 -0
  56. package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +4 -4
  57. package/packages/business-components/process-table/index.d.ts +14 -14
  58. package/packages/business-components/upload-file/index.js +43 -43
  59. package/packages/business-components/upload-file/index.js.gz +0 -0
  60. package/packages/business-components/upload-file/style.css +1 -1
  61. package/packages/business-components/urgent-panel/index.js +340 -340
  62. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  63. package/packages/business-components/urgent-panel/src/components/drag-resize/index.vue.d.ts +1 -1
  64. package/packages/business-components/video-dialog/index.js +17 -17
  65. package/packages/business-components/video-dialog/index.js.gz +0 -0
  66. package/packages/business-components/video-dialog/style.css +1 -1
  67. package/packages/business-components/video-dialog/style.css.gz +0 -0
  68. package/packages/components/alert/index.d.ts +13 -13
  69. package/packages/components/alert/index.js +5 -5
  70. package/packages/components/alert/index.js.gz +0 -0
  71. package/packages/components/alert/src/index.vue.d.ts +1 -1
  72. package/packages/components/audio-video/index.d.ts +10 -10
  73. package/packages/components/audio-video/index.js +141 -141
  74. package/packages/components/audio-video/index.js.gz +0 -0
  75. package/packages/components/audio-video/src/Index.vue.d.ts +2 -2
  76. package/packages/components/autocomplete/index.d.ts +15 -15
  77. package/packages/components/autocomplete/index.js +162 -162
  78. package/packages/components/autocomplete/index.js.gz +0 -0
  79. package/packages/components/autocomplete/src/index.vue.d.ts +1 -1
  80. package/packages/components/autocomplete/style.css +1 -1
  81. package/packages/components/autocomplete/style.css.gz +0 -0
  82. package/packages/components/breadcrumb/index.js +37 -37
  83. package/packages/components/breadcrumb/index.js.gz +0 -0
  84. package/packages/components/button/index.d.ts +3 -3
  85. package/packages/components/button/index.js +223 -223
  86. package/packages/components/button/index.js.gz +0 -0
  87. package/packages/components/button/src/Index.vue.d.ts +1 -1
  88. package/packages/components/calendar/index.js +164 -164
  89. package/packages/components/calendar/index.js.gz +0 -0
  90. package/packages/components/cascader/index.d.ts +8 -8
  91. package/packages/components/cascader/index.js +89 -89
  92. package/packages/components/cascader/index.js.gz +0 -0
  93. package/packages/components/cascader/style.css +1 -1
  94. package/packages/components/cascader/style.css.gz +0 -0
  95. package/packages/components/checkbox/index.d.ts +12 -12
  96. package/packages/components/checkbox/index.js +180 -180
  97. package/packages/components/checkbox/index.js.gz +0 -0
  98. package/packages/components/checkbox/style.css +1 -1
  99. package/packages/components/checkbox/style.css.gz +0 -0
  100. package/packages/components/collapse-panel/index.js +12 -12
  101. package/packages/components/collapse-panel/index.js.gz +0 -0
  102. package/packages/components/collaspe/index.d.ts +4 -4
  103. package/packages/components/collaspe/index.js +22 -22
  104. package/packages/components/collaspe/index.js.gz +0 -0
  105. package/packages/components/custom-search-item/index.d.ts +4 -4
  106. package/packages/components/custom-search-item/index.js +36 -36
  107. package/packages/components/custom-search-item/index.js.gz +0 -0
  108. package/packages/components/date-picker/index.d.ts +15 -15
  109. package/packages/components/date-picker/index.js +658 -658
  110. package/packages/components/date-picker/index.js.gz +0 -0
  111. package/packages/components/date-picker/src/DatePicker.vue.d.ts +1 -1
  112. package/packages/components/date-picker/src/DateRangePicker.vue.d.ts +1 -1
  113. package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -1
  114. package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -1
  115. package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -1
  116. package/packages/components/date-picker/style.css +1 -1
  117. package/packages/components/date-picker/style.css.gz +0 -0
  118. package/packages/components/dialog/index.d.ts +3 -3
  119. package/packages/components/dialog/index.js +1 -1
  120. package/packages/components/dialog/index.js.gz +0 -0
  121. package/packages/components/dialog/src/Index.vue.d.ts +1 -1
  122. package/packages/components/dialog/style.css +1 -1
  123. package/packages/components/dialog/style.css.gz +0 -0
  124. package/packages/components/dimple-layout/index.js +31 -73
  125. package/packages/components/dimple-layout/index.js.gz +0 -0
  126. package/packages/components/dropdown/index.js +33 -33
  127. package/packages/components/dropdown/index.js.gz +0 -0
  128. package/packages/components/edit-table/index.d.ts +4 -4
  129. package/packages/components/edit-table/index.js +190 -190
  130. package/packages/components/edit-table/index.js.gz +0 -0
  131. package/packages/components/empty/index.d.ts +3 -3
  132. package/packages/components/empty/index.js +29 -29
  133. package/packages/components/empty/index.js.gz +0 -0
  134. package/packages/components/empty/src/Index.vue.d.ts +1 -1
  135. package/packages/components/error-overlay-model/index.js +31 -31
  136. package/packages/components/error-overlay-model/index.js.gz +0 -0
  137. package/packages/components/form/index.d.ts +37 -37
  138. package/packages/components/form/index.js +23 -23
  139. package/packages/components/form/index.js.gz +0 -0
  140. package/packages/components/form/src/Index.vue.d.ts +3 -3
  141. package/packages/components/form-item/index.js +847 -841
  142. package/packages/components/form-item/index.js.gz +0 -0
  143. package/packages/components/form-item/style.css +1 -1
  144. package/packages/components/form-item/style.css.gz +0 -0
  145. package/packages/components/image-upload/index.js +90 -90
  146. package/packages/components/image-upload/index.js.gz +0 -0
  147. package/packages/components/image-viewer/index.js +418 -418
  148. package/packages/components/image-viewer/index.js.gz +0 -0
  149. package/packages/components/infinite-scroll/index.d.ts +2 -4
  150. package/packages/components/infinite-scroll/index.js +509 -509
  151. package/packages/components/infinite-scroll/index.js.gz +0 -0
  152. package/packages/components/infinite-scroll/src/index.vue.d.ts +3 -5
  153. package/packages/components/infinite-scroll/src/type.d.ts +78 -78
  154. package/packages/components/infinite-scroll/style.css +1 -1
  155. package/packages/components/infinite-scroll/style.css.gz +0 -0
  156. package/packages/components/input/index.js +544 -544
  157. package/packages/components/input/index.js.gz +0 -0
  158. package/packages/components/input/src/index.vue.d.ts +2 -2
  159. package/packages/components/input/style.css +1 -1
  160. package/packages/components/input/style.css.gz +0 -0
  161. package/packages/components/input-dialog-select/index.js +82 -82
  162. package/packages/components/input-dialog-select/index.js.gz +0 -0
  163. package/packages/components/input-number/index.js +103 -103
  164. package/packages/components/input-number/index.js.gz +0 -0
  165. package/packages/components/input-number/style.css +1 -1
  166. package/packages/components/input-number/style.css.gz +0 -0
  167. package/packages/components/live-player/index.d.ts +4 -4
  168. package/packages/components/loading/index.js +1 -1
  169. package/packages/components/loading/index.js.gz +0 -0
  170. package/packages/components/menu-aside/index.js +600 -600
  171. package/packages/components/menu-aside/index.js.gz +0 -0
  172. package/packages/components/menu-header/index.js +17 -17
  173. package/packages/components/menu-header/index.js.gz +0 -0
  174. package/packages/components/pagination/index.js +91 -91
  175. package/packages/components/pagination/index.js.gz +0 -0
  176. package/packages/components/pagination/style.css +1 -1
  177. package/packages/components/pagination/style.css.gz +0 -0
  178. package/packages/components/popover/index.d.ts +4 -4
  179. package/packages/components/popover/index.js +33 -33
  180. package/packages/components/popover/index.js.gz +0 -0
  181. package/packages/components/popup-mask/index.js +13 -13
  182. package/packages/components/popup-mask/index.js.gz +0 -0
  183. package/packages/components/progress/index.js +93 -93
  184. package/packages/components/progress/index.js.gz +0 -0
  185. package/packages/components/progress/style.css +1 -1
  186. package/packages/components/progress/style.css.gz +0 -0
  187. package/packages/components/radio/index.d.ts +10 -10
  188. package/packages/components/radio/index.js +175 -175
  189. package/packages/components/radio/index.js.gz +0 -0
  190. package/packages/components/rich-editor/index.js +234 -234
  191. package/packages/components/rich-editor/index.js.gz +0 -0
  192. package/packages/components/scrollbar/index.js +2 -2
  193. package/packages/components/scrollbar/index.js.gz +0 -0
  194. package/packages/components/search/index.js +68 -68
  195. package/packages/components/search/index.js.gz +0 -0
  196. package/packages/components/search-form/index.js +736 -736
  197. package/packages/components/search-form/index.js.gz +0 -0
  198. package/packages/components/search-form/style.css +1 -1
  199. package/packages/components/search-form/style.css.gz +0 -0
  200. package/packages/components/select/index.d.ts +3 -3
  201. package/packages/components/select/index.js +212 -212
  202. package/packages/components/select/index.js.gz +0 -0
  203. package/packages/components/select/src/Select.vue.d.ts +1 -1
  204. package/packages/components/select/style.css +1 -1
  205. package/packages/components/select/style.css.gz +0 -0
  206. package/packages/components/select-input/index.js +77 -77
  207. package/packages/components/select-input/index.js.gz +0 -0
  208. package/packages/components/select-list/index.d.ts +3 -3
  209. package/packages/components/select-list/index.js +430 -430
  210. package/packages/components/select-list/index.js.gz +0 -0
  211. package/packages/components/select-list/src/Index.vue.d.ts +1 -1
  212. package/packages/components/select-list/style.css +1 -1
  213. package/packages/components/select-list/style.css.gz +0 -0
  214. package/packages/components/special-range-picker-month/index.js +140 -140
  215. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  216. package/packages/components/special-range-picker-month/style.css +1 -1
  217. package/packages/components/special-range-picker-month/style.css.gz +0 -0
  218. package/packages/components/special-range-picker-year/index.js +169 -169
  219. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  220. package/packages/components/special-range-picker-year/style.css +1 -1
  221. package/packages/components/special-range-picker-year/style.css.gz +0 -0
  222. package/packages/components/spin/index.js +37 -37
  223. package/packages/components/spin/index.js.gz +0 -0
  224. package/packages/components/split-panel/index.d.ts +8 -8
  225. package/packages/components/split-panel/index.js +27 -27
  226. package/packages/components/split-panel/index.js.gz +0 -0
  227. package/packages/components/switch/style.css +1 -1
  228. package/packages/components/switch/style.css.gz +0 -0
  229. package/packages/components/table/index.d.ts +121 -121
  230. package/packages/components/table/index.js +1869 -1869
  231. package/packages/components/table/index.js.gz +0 -0
  232. package/packages/components/table/src/Table.vue.d.ts +10 -10
  233. package/packages/components/table/src/table-column/index.vue.d.ts +1 -1
  234. package/packages/components/tabs/index.js +101 -101
  235. package/packages/components/tabs/index.js.gz +0 -0
  236. package/packages/components/tag/index.d.ts +3 -3
  237. package/packages/components/tag/src/Index.vue.d.ts +1 -1
  238. package/packages/components/text-tooltip/src/type.d.ts +5 -5
  239. package/packages/components/time-line/index.js +35 -35
  240. package/packages/components/time-line/index.js.gz +0 -0
  241. package/packages/components/tooltip/index.d.ts +22 -22
  242. package/packages/components/tooltip/index.js +62 -62
  243. package/packages/components/tooltip/index.js.gz +0 -0
  244. package/packages/components/tooltip/src/index.vue.d.ts +2 -2
  245. package/packages/components/tooltip/style.css +1 -1
  246. package/packages/components/tooltip/style.css.gz +0 -0
  247. package/packages/components/tree/index.js +426 -426
  248. package/packages/components/tree/index.js.gz +0 -0
  249. package/packages/components/tree-select/index.js +233 -233
  250. package/packages/components/tree-select/index.js.gz +0 -0
  251. package/packages/components/tree-select/src/App.vue.d.ts +20 -20
  252. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +18 -18
  253. package/packages/components/tree-table/index.d.ts +2 -2
  254. package/packages/components/tree-table/index.js +181 -181
  255. package/packages/components/tree-table/index.js.gz +0 -0
  256. package/packages/components/tree-v2/index.js +1308 -1308
  257. package/packages/components/tree-v2/index.js.gz +0 -0
  258. package/packages/components/tree-v2/src/App.vue.d.ts +145 -155
  259. package/packages/components/tree-v2/style.css +1 -1
  260. package/packages/components/tree-v2/style.css.gz +0 -0
  261. package/packages/components/upload/index.js +98 -98
  262. package/packages/components/upload/index.js.gz +0 -0
  263. package/packages/components/virtual-tree/index.js +62 -62
  264. package/packages/components/virtual-tree/index.js.gz +0 -0
  265. package/packages/components/virtual-tree/src/App.vue.d.ts +140 -140
  266. package/release-meta.json +6 -6
  267. package/packages/business-components/ai-panel/index-BdLFU3HT.js.gz +0 -0
  268. package/packages/business-components/ai-panel/index-Cc1_Wpca.js.gz +0 -0
@@ -1,26 +1,26 @@
1
- import { withInstall as _e } from "@das-fed/upf-utils/with-install/index";
2
- import { h as Ce, nextTick as qe, createVNode as S, defineComponent as pe, computed as G, openBlock as f, createElementBlock as v, normalizeStyle as ue, ref as J, createBlock as P, unref as l, mergeProps as de, withCtx as j, createElementVNode as m, renderSlot as H, createCommentVNode as y, withDirectives as $, createTextVNode as K, toDisplayString as x, Fragment as O, withModifiers as R, renderList as _, normalizeClass as E, watch as ke, onMounted as Ge, isRef as Je } from "vue";
3
- import { t as B, setI18nRule as Ye } from "@das-fed/upf-web/packages/i18n/index";
1
+ import { withInstall as We } from "@das-fed/upf-utils/with-install/index";
2
+ import { h as Ce, nextTick as qe, createVNode as w, defineComponent as ye, computed as G, openBlock as c, createElementBlock as p, normalizeStyle as ce, ref as J, createBlock as j, unref as s, mergeProps as de, withCtx as _, createElementVNode as h, renderSlot as B, createCommentVNode as g, withDirectives as $, createTextVNode as F, toDisplayString as S, Fragment as A, withModifiers as z, renderList as W, normalizeClass as P, watch as ke, onMounted as Ge, isRef as Je } from "vue";
3
+ import { t as R, setI18nRule as Ye } from "@das-fed/upf-web/packages/i18n/index";
4
4
  import { DasScrollbar as Ze } from "@das-fed/upf-ui/packages/components/scrollbar/index";
5
5
  import { DasTooltip as Qe } from "@das-fed/upf-ui/packages/components/tooltip/index";
6
- import { vDasTooltip as N } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
7
- import { pureImageSrc as re } from "@das-fed/upf-utils/pure-image-src";
6
+ import { vDasTooltip as K } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
7
+ import { pureImageSrc as te } from "@das-fed/upf-utils/pure-image-src";
8
8
  import { SubMenu as Xe, MenuItem as ne, Menu as en } from "ant-design-vue";
9
9
  import "ant-design-vue/es/menu/style/css";
10
- import { vOverlay as xe } from "@das-fed/upf-ui/packages/components/overlay/index";
10
+ import { vOverlay as Se } from "@das-fed/upf-ui/packages/components/overlay/index";
11
11
  import { DasAutoRegisterIcon as nn, DasIcon as Z } from "@das-fed/upf-ui/packages/components/icon/index";
12
12
  import "@das-fed/upf-utils/hooks/popup-manager/use-zindex"
13
13
  import '@das-fed/upf-ui/packages/components/menu-aside/style.css';
14
14
  ;
15
- function A(e, t) {
16
- tn(e) && (e = "100%");
17
- var n = rn(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);
15
+ function T(e, r) {
16
+ rn(e) && (e = "100%");
17
+ var n = tn(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
19
  }
20
- function tn(e) {
20
+ function rn(e) {
21
21
  return typeof e == "string" && e.indexOf(".") !== -1 && parseFloat(e) === 1;
22
22
  }
23
- function rn(e) {
23
+ function tn(e) {
24
24
  return typeof e == "string" && e.indexOf("%") !== -1;
25
25
  }
26
26
  function an(e) {
@@ -32,67 +32,67 @@ function Q(e) {
32
32
  function ae(e) {
33
33
  return e.length === 1 ? "0" + e : String(e);
34
34
  }
35
- function on(e, t, n) {
35
+ function on(e, r, n) {
36
36
  return {
37
- r: A(e, 255) * 255,
38
- g: A(t, 255) * 255,
39
- b: A(n, 255) * 255
37
+ r: T(e, 255) * 255,
38
+ g: T(r, 255) * 255,
39
+ b: T(n, 255) * 255
40
40
  };
41
41
  }
42
- function oe(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;
42
+ function oe(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;
44
44
  }
45
- function ln(e, t, n) {
46
- var r, a, o;
47
- if (e = A(e, 360), t = A(t, 100), n = A(n, 100), t === 0)
48
- a = n, o = n, r = n;
45
+ function ln(e, r, n) {
46
+ var t, a, i;
47
+ if (e = T(e, 360), r = T(r, 100), n = T(n, 100), r === 0)
48
+ a = n, i = n, t = n;
49
49
  else {
50
- var d = n < 0.5 ? n * (1 + t) : n + t - n * t, s = 2 * n - d;
51
- r = oe(s, d, e + 1 / 3), a = oe(s, d, e), o = oe(s, d, e - 1 / 3);
50
+ var d = n < 0.5 ? n * (1 + r) : n + r - n * r, f = 2 * n - d;
51
+ t = oe(f, d, e + 1 / 3), a = oe(f, d, e), i = oe(f, d, e - 1 / 3);
52
52
  }
53
- return { r: r * 255, g: a * 255, b: o * 255 };
53
+ return { r: t * 255, g: a * 255, b: i * 255 };
54
54
  }
55
- function sn(e, t, n) {
56
- e = A(e, 255), t = A(t, 255), n = A(n, 255);
57
- var r = Math.max(e, t, n), a = Math.min(e, t, n), o = 0, d = r, s = r - a, g = r === 0 ? 0 : s / r;
58
- if (r === a)
59
- o = 0;
55
+ function sn(e, r, n) {
56
+ e = T(e, 255), r = T(r, 255), n = T(n, 255);
57
+ var t = Math.max(e, r, n), a = Math.min(e, r, n), i = 0, d = t, f = t - a, v = t === 0 ? 0 : f / t;
58
+ if (t === a)
59
+ i = 0;
60
60
  else {
61
- switch (r) {
61
+ switch (t) {
62
62
  case e:
63
- o = (t - n) / s + (t < n ? 6 : 0);
63
+ i = (r - n) / f + (r < n ? 6 : 0);
64
64
  break;
65
- case t:
66
- o = (n - e) / s + 2;
65
+ case r:
66
+ i = (n - e) / f + 2;
67
67
  break;
68
68
  case n:
69
- o = (e - t) / s + 4;
69
+ i = (e - r) / f + 4;
70
70
  break;
71
71
  }
72
- o /= 6;
72
+ i /= 6;
73
73
  }
74
- return { h: o, s: g, v: d };
74
+ return { h: i, s: v, v: d };
75
75
  }
76
- function cn(e, t, n) {
77
- e = A(e, 360) * 6, t = A(t, 100), n = A(n, 100);
78
- var r = Math.floor(e), a = e - r, o = n * (1 - t), d = n * (1 - a * t), s = n * (1 - (1 - a) * t), g = r % 6, u = [n, d, o, o, s, n][g], p = [s, n, n, d, o, o][g], c = [o, o, s, n, n, d][g];
79
- return { r: u * 255, g: p * 255, b: c * 255 };
76
+ function fn(e, r, n) {
77
+ e = T(e, 360) * 6, r = T(r, 100), n = T(n, 100);
78
+ var t = Math.floor(e), a = e - t, i = n * (1 - r), d = n * (1 - a * r), f = n * (1 - (1 - a) * r), v = t % 6, o = [n, d, i, i, f, n][v], y = [f, n, n, d, i, i][v], u = [i, i, f, n, n, d][v];
79
+ return { r: o * 255, g: y * 255, b: u * 255 };
80
80
  }
81
- function fn(e, t, n, r) {
81
+ function un(e, r, n, t) {
82
82
  var a = [
83
83
  ae(Math.round(e).toString(16)),
84
- ae(Math.round(t).toString(16)),
84
+ ae(Math.round(r).toString(16)),
85
85
  ae(Math.round(n).toString(16))
86
86
  ];
87
87
  return a.join("");
88
88
  }
89
- function Se(e) {
89
+ function we(e) {
90
90
  return k(e) / 255;
91
91
  }
92
92
  function k(e) {
93
93
  return parseInt(e, 16);
94
94
  }
95
- var we = {
95
+ var Oe = {
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 V(e) {
246
- var t = { r: 0, g: 0, b: 0 }, n = 1, r = null, a = null, o = null, d = !1, s = !1;
247
- return typeof e == "string" && (e = vn(e)), typeof e == "object" && (M(e.r) && M(e.g) && M(e.b) ? (t = on(e.r, e.g, e.b), d = !0, s = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : M(e.h) && M(e.s) && M(e.v) ? (r = Q(e.s), a = Q(e.v), t = cn(e.h, r, a), d = !0, s = "hsv") : M(e.h) && M(e.s) && M(e.l) && (r = Q(e.s), o = Q(e.l), t = ln(e.h, r, o), d = !0, s = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = an(n), {
245
+ function L(e) {
246
+ var r = { r: 0, g: 0, b: 0 }, n = 1, t = null, a = null, i = null, d = !1, f = !1;
247
+ return typeof e == "string" && (e = pn(e)), typeof e == "object" && (M(e.r) && M(e.g) && M(e.b) ? (r = on(e.r, e.g, e.b), d = !0, f = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : M(e.h) && M(e.s) && M(e.v) ? (t = Q(e.s), a = Q(e.v), r = fn(e.h, t, a), d = !0, f = "hsv") : M(e.h) && M(e.s) && M(e.l) && (t = Q(e.s), i = Q(e.l), r = ln(e.h, t, i), d = !0, f = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = an(n), {
248
248
  ok: d,
249
- format: e.format || s,
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)),
249
+ format: e.format || f,
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
253
  a: n
254
254
  };
255
255
  }
256
- var un = "[-\\+]?\\d+%?", dn = "[-\\+]?\\d*\\.\\d+%?", I = "(?:".concat(dn, ")|(?:").concat(un, ")"), ie = "[\\s|\\(]+(".concat(I, ")[,|\\s]+(").concat(I, ")[,|\\s]+(").concat(I, ")\\s*\\)?"), le = "[\\s|\\(]+(".concat(I, ")[,|\\s]+(").concat(I, ")[,|\\s]+(").concat(I, ")[,|\\s]+(").concat(I, ")\\s*\\)?"), T = {
257
- CSS_UNIT: new RegExp(I),
256
+ var cn = "[-\\+]?\\d+%?", dn = "[-\\+]?\\d*\\.\\d+%?", E = "(?:".concat(dn, ")|(?:").concat(cn, ")"), ie = "[\\s|\\(]+(".concat(E, ")[,|\\s]+(").concat(E, ")[,|\\s]+(").concat(E, ")\\s*\\)?"), le = "[\\s|\\(]+(".concat(E, ")[,|\\s]+(").concat(E, ")[,|\\s]+(").concat(E, ")[,|\\s]+(").concat(E, ")\\s*\\)?"), x = {
257
+ CSS_UNIT: new RegExp(E),
258
258
  rgb: new RegExp("rgb" + ie),
259
259
  rgba: new RegExp("rgba" + le),
260
260
  hsl: new RegExp("hsl" + ie),
@@ -266,43 +266,43 @@ var un = "[-\\+]?\\d+%?", dn = "[-\\+]?\\d*\\.\\d+%?", I = "(?:".concat(dn, ")|(
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 vn(e) {
269
+ function pn(e) {
270
270
  if (e = e.trim().toLowerCase(), e.length === 0)
271
271
  return !1;
272
- var t = !1;
273
- if (we[e])
274
- e = we[e], t = !0;
272
+ var r = !1;
273
+ if (Oe[e])
274
+ e = Oe[e], r = !0;
275
275
  else if (e === "transparent")
276
276
  return { r: 0, g: 0, b: 0, a: 0, format: "name" };
277
- var n = T.rgb.exec(e);
278
- return n ? { r: n[1], g: n[2], b: n[3] } : (n = T.rgba.exec(e), n ? { r: n[1], g: n[2], b: n[3], a: n[4] } : (n = T.hsl.exec(e), n ? { h: n[1], s: n[2], l: n[3] } : (n = T.hsla.exec(e), n ? { h: n[1], s: n[2], l: n[3], a: n[4] } : (n = T.hsv.exec(e), n ? { h: n[1], s: n[2], v: n[3] } : (n = T.hsva.exec(e), n ? { h: n[1], s: n[2], v: n[3], a: n[4] } : (n = T.hex8.exec(e), n ? {
277
+ var n = x.rgb.exec(e);
278
+ return n ? { r: n[1], g: n[2], b: n[3] } : (n = x.rgba.exec(e), n ? { r: n[1], g: n[2], b: n[3], a: n[4] } : (n = x.hsl.exec(e), n ? { h: n[1], s: n[2], l: n[3] } : (n = x.hsla.exec(e), n ? { h: n[1], s: n[2], l: n[3], a: n[4] } : (n = x.hsv.exec(e), n ? { h: n[1], s: n[2], v: n[3] } : (n = x.hsva.exec(e), n ? { h: n[1], s: n[2], v: n[3], a: n[4] } : (n = x.hex8.exec(e), n ? {
279
279
  r: k(n[1]),
280
280
  g: k(n[2]),
281
281
  b: k(n[3]),
282
- a: Se(n[4]),
283
- format: t ? "name" : "hex8"
284
- } : (n = T.hex6.exec(e), n ? {
282
+ a: we(n[4]),
283
+ format: r ? "name" : "hex8"
284
+ } : (n = x.hex6.exec(e), n ? {
285
285
  r: k(n[1]),
286
286
  g: k(n[2]),
287
287
  b: k(n[3]),
288
- format: t ? "name" : "hex"
289
- } : (n = T.hex4.exec(e), n ? {
288
+ format: r ? "name" : "hex"
289
+ } : (n = x.hex4.exec(e), n ? {
290
290
  r: k(n[1] + n[1]),
291
291
  g: k(n[2] + n[2]),
292
292
  b: k(n[3] + n[3]),
293
- a: Se(n[4] + n[4]),
294
- format: t ? "name" : "hex8"
295
- } : (n = T.hex3.exec(e), n ? {
293
+ a: we(n[4] + n[4]),
294
+ format: r ? "name" : "hex8"
295
+ } : (n = x.hex3.exec(e), n ? {
296
296
  r: k(n[1] + n[1]),
297
297
  g: k(n[2] + n[2]),
298
298
  b: k(n[3] + n[3]),
299
- format: t ? "name" : "hex"
299
+ format: r ? "name" : "hex"
300
300
  } : !1)))))))));
301
301
  }
302
302
  function M(e) {
303
- return !!T.CSS_UNIT.exec(String(e));
303
+ return !!x.CSS_UNIT.exec(String(e));
304
304
  }
305
- var X = 2, Oe = 0.16, gn = 0.05, yn = 0.05, pn = 0.15, Re = 5, Be = 4, mn = [{
305
+ var X = 2, Ae = 0.16, vn = 0.05, gn = 0.05, yn = 0.15, ze = 5, Re = 4, mn = [{
306
306
  index: 7,
307
307
  opacity: 0.15
308
308
  }, {
@@ -333,8 +333,8 @@ var X = 2, Oe = 0.16, gn = 0.05, yn = 0.05, pn = 0.15, Re = 5, Be = 4, mn = [{
333
333
  index: 1,
334
334
  opacity: 0.98
335
335
  }];
336
- function Ae(e) {
337
- var t = e.r, n = e.g, r = e.b, a = sn(t, n, r);
336
+ function Te(e) {
337
+ var r = e.r, n = e.g, t = e.b, a = sn(r, n, t);
338
338
  return {
339
339
  h: a.h * 360,
340
340
  s: a.s,
@@ -342,52 +342,52 @@ function Ae(e) {
342
342
  };
343
343
  }
344
344
  function ee(e) {
345
- var t = e.r, n = e.g, r = e.b;
346
- return "#".concat(fn(t, n, r));
347
- }
348
- function hn(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
345
+ var r = e.r, n = e.g, t = e.b;
346
+ return "#".concat(un(r, n, t));
347
+ }
348
+ function hn(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
353
353
  };
354
354
  return a;
355
355
  }
356
- function Te(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;
356
+ function xe(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;
359
359
  }
360
- function Me(e, t, n) {
360
+ function Me(e, r, n) {
361
361
  if (e.h === 0 && e.s === 0)
362
362
  return e.s;
363
- var r;
364
- return n ? r = e.s - Oe * t : t === Be ? r = e.s + Oe : r = e.s + gn * 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 $e(e, t, n) {
367
- var r;
368
- return n ? r = e.v + yn * t : r = e.v - pn * t, r > 1 && (r = 1), Number(r.toFixed(2));
369
- }
370
- function ve(e) {
371
- for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], r = V(e), a = Re; a > 0; a -= 1) {
372
- var o = Ae(r), d = ee(V({
373
- h: Te(o, a, !0),
374
- s: Me(o, a, !0),
375
- v: $e(o, a, !0)
363
+ var t;
364
+ return n ? t = e.s - Ae * r : r === Re ? t = e.s + Ae : t = e.s + vn * 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 $e(e, r, n) {
367
+ var t;
368
+ return n ? t = e.v + gn * r : t = e.v - yn * 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 = L(e), a = ze; a > 0; a -= 1) {
372
+ var i = Te(t), d = ee(L({
373
+ h: xe(i, a, !0),
374
+ s: Me(i, a, !0),
375
+ v: $e(i, a, !0)
376
376
  }));
377
377
  n.push(d);
378
378
  }
379
- n.push(ee(r));
380
- for (var s = 1; s <= Be; s += 1) {
381
- var g = Ae(r), u = ee(V({
382
- h: Te(g, s),
383
- s: Me(g, s),
384
- v: $e(g, s)
379
+ n.push(ee(t));
380
+ for (var f = 1; f <= Re; f += 1) {
381
+ var v = Te(t), o = ee(L({
382
+ h: xe(v, f),
383
+ s: Me(v, f),
384
+ v: $e(v, f)
385
385
  }));
386
- n.push(u);
386
+ n.push(o);
387
387
  }
388
- return t.theme === "dark" ? mn.map(function(p) {
389
- var c = p.index, w = p.opacity, h = ee(hn(V(t.backgroundColor || "#141414"), V(n[c]), w * 100));
390
- return h;
388
+ return r.theme === "dark" ? mn.map(function(y) {
389
+ var u = y.index, O = y.opacity, b = ee(hn(L(r.backgroundColor || "#141414"), L(n[u]), O * 100));
390
+ return b;
391
391
  }) : n;
392
392
  }
393
393
  var se = {
@@ -404,67 +404,67 @@ var se = {
404
404
  purple: "#722ED1",
405
405
  magenta: "#EB2F96",
406
406
  grey: "#666666"
407
- }, ce = {}, fe = {};
407
+ }, fe = {}, ue = {};
408
408
  Object.keys(se).forEach(function(e) {
409
- ce[e] = ve(se[e]), ce[e].primary = ce[e][5], fe[e] = ve(se[e], {
409
+ fe[e] = pe(se[e]), fe[e].primary = fe[e][5], ue[e] = pe(se[e], {
410
410
  theme: "dark",
411
411
  backgroundColor: "#141414"
412
- }), fe[e].primary = fe[e][5];
412
+ }), ue[e].primary = ue[e][5];
413
413
  });
414
- var je = [], W = [], bn = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
414
+ var _e = [], V = [], bn = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
415
415
  function Cn() {
416
416
  var e = document.createElement("style");
417
417
  return e.setAttribute("type", "text/css"), e;
418
418
  }
419
- function kn(e, t) {
420
- if (t = t || {}, e === void 0)
419
+ function kn(e, r) {
420
+ if (r = r || {}, e === void 0)
421
421
  throw new Error(bn);
422
- var n = t.prepend === !0 ? "prepend" : "append", r = t.container !== void 0 ? t.container : document.querySelector("head"), a = je.indexOf(r);
423
- a === -1 && (a = je.push(r) - 1, W[a] = {});
424
- var o;
425
- return W[a] !== void 0 && W[a][n] !== void 0 ? o = W[a][n] : (o = W[a][n] = Cn(), 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
- }
427
- function Pe(e) {
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) {
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, V[a] = {});
424
+ var i;
425
+ return V[a] !== void 0 && V[a][n] !== void 0 ? i = V[a][n] : (i = V[a][n] = Cn(), 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;
426
+ }
427
+ function je(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
431
  return Object.getOwnPropertyDescriptor(n, a).enumerable;
432
- }))), r.forEach(function(a) {
433
- xn(e, a, n[a]);
432
+ }))), t.forEach(function(a) {
433
+ Sn(e, a, n[a]);
434
434
  });
435
435
  }
436
436
  return e;
437
437
  }
438
- function xn(e, t, n) {
439
- return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
438
+ function Sn(e, r, n) {
439
+ return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
440
440
  }
441
- function Sn(e, t) {
441
+ function wn(e, r) {
442
442
  process.env.NODE_ENV;
443
443
  }
444
- function wn(e, t) {
445
- Sn(e, "[@ant-design/icons-vue] ".concat(t));
444
+ function On(e, r) {
445
+ wn(e, "[@ant-design/icons-vue] ".concat(r));
446
446
  }
447
- function Ee(e) {
447
+ function Pe(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, t, n) {
451
- return n ? Ce(e.tag, Pe({
452
- key: t
453
- }, n, e.attrs), (e.children || []).map(function(r, a) {
454
- return ge(r, "".concat(t, "-").concat(e.tag, "-").concat(a));
455
- })) : Ce(e.tag, Pe({
456
- key: t
457
- }, e.attrs), (e.children || []).map(function(r, a) {
458
- return ge(r, "".concat(t, "-").concat(e.tag, "-").concat(a));
450
+ function ve(e, r, n) {
451
+ return n ? Ce(e.tag, je({
452
+ key: r
453
+ }, n, e.attrs), (e.children || []).map(function(t, a) {
454
+ return ve(t, "".concat(r, "-").concat(e.tag, "-").concat(a));
455
+ })) : Ce(e.tag, je({
456
+ key: r
457
+ }, e.attrs), (e.children || []).map(function(t, a) {
458
+ return ve(t, "".concat(r, "-").concat(e.tag, "-").concat(a));
459
459
  }));
460
460
  }
461
- function He(e) {
462
- return ve(e)[0];
461
+ function Be(e) {
462
+ return pe(e)[0];
463
463
  }
464
- function Ue(e) {
464
+ function He(e) {
465
465
  return e ? Array.isArray(e) ? e : [e] : [];
466
466
  }
467
- var On = `
467
+ var An = `
468
468
  .anticon {
469
469
  display: inline-block;
470
470
  color: inherit;
@@ -518,355 +518,355 @@ var On = `
518
518
  transform: rotate(360deg);
519
519
  }
520
520
  }
521
- `, Ie = !1, An = function() {
522
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : On;
521
+ `, Ee = !1, Tn = function() {
522
+ var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : An;
523
523
  qe(function() {
524
- Ie || (typeof window < "u" && window.document && window.document.documentElement && kn(t, {
524
+ Ee || (typeof window < "u" && window.document && window.document.documentElement && kn(r, {
525
525
  prepend: !0
526
- }), Ie = !0);
526
+ }), Ee = !0);
527
527
  });
528
- }, Tn = ["icon", "primaryColor", "secondaryColor"];
529
- function Mn(e, t) {
528
+ }, xn = ["icon", "primaryColor", "secondaryColor"];
529
+ function Mn(e, r) {
530
530
  if (e == null) return {};
531
- var n = $n(e, t), r, a;
531
+ var n = $n(e, r), t, a;
532
532
  if (Object.getOwnPropertySymbols) {
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]);
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]);
536
536
  }
537
537
  return n;
538
538
  }
539
- function $n(e, t) {
539
+ function $n(e, r) {
540
540
  if (e == null) return {};
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]);
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]);
544
544
  return n;
545
545
  }
546
- function te(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) {
546
+ function re(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
550
  return Object.getOwnPropertyDescriptor(n, a).enumerable;
551
- }))), r.forEach(function(a) {
552
- jn(e, a, n[a]);
551
+ }))), t.forEach(function(a) {
552
+ _n(e, a, n[a]);
553
553
  });
554
554
  }
555
555
  return e;
556
556
  }
557
- function jn(e, t, n) {
558
- return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
557
+ function _n(e, r, n) {
558
+ return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
559
559
  }
560
560
  var q = {
561
561
  primaryColor: "#333",
562
562
  secondaryColor: "#E6E6E6",
563
563
  calculated: !1
564
564
  };
565
- function Pn(e) {
566
- var t = e.primaryColor, n = e.secondaryColor;
567
- q.primaryColor = t, q.secondaryColor = n || He(t), q.calculated = !!n;
568
- }
569
- function En() {
570
- return te({}, q);
571
- }
572
- var F = function(t, n) {
573
- var r = te({}, t, n.attrs), a = r.icon, o = r.primaryColor, d = r.secondaryColor, s = Mn(r, Tn), g = q;
574
- if (o && (g = {
575
- primaryColor: o,
576
- secondaryColor: d || He(o)
577
- }), An(), wn(Ee(a), "icon should be icon definiton, but got ".concat(a)), !Ee(a))
565
+ function jn(e) {
566
+ var r = e.primaryColor, n = e.secondaryColor;
567
+ q.primaryColor = r, q.secondaryColor = n || Be(r), q.calculated = !!n;
568
+ }
569
+ function Pn() {
570
+ return re({}, q);
571
+ }
572
+ var I = function(r, n) {
573
+ var t = re({}, r, n.attrs), a = t.icon, i = t.primaryColor, d = t.secondaryColor, f = Mn(t, xn), v = q;
574
+ if (i && (v = {
575
+ primaryColor: i,
576
+ secondaryColor: d || Be(i)
577
+ }), Tn(), On(Pe(a), "icon should be icon definiton, but got ".concat(a)), !Pe(a))
578
578
  return null;
579
- var u = a;
580
- return u && typeof u.icon == "function" && (u = te({}, u, {
581
- icon: u.icon(g.primaryColor, g.secondaryColor)
582
- })), ge(u.icon, "svg-".concat(u.name), te({}, s, {
583
- "data-icon": u.name,
579
+ var o = a;
580
+ return o && typeof o.icon == "function" && (o = re({}, o, {
581
+ icon: o.icon(v.primaryColor, v.secondaryColor)
582
+ })), ve(o.icon, "svg-".concat(o.name), re({}, f, {
583
+ "data-icon": o.name,
584
584
  width: "1em",
585
585
  height: "1em",
586
586
  fill: "currentColor",
587
587
  "aria-hidden": "true"
588
588
  }));
589
589
  };
590
- F.props = {
590
+ I.props = {
591
591
  icon: Object,
592
592
  primaryColor: String,
593
593
  secondaryColor: String,
594
594
  focusable: String
595
595
  };
596
- F.inheritAttrs = !1;
597
- F.displayName = "IconBase";
598
- F.getTwoToneColors = En;
599
- F.setTwoToneColors = Pn;
600
- function In(e, t) {
601
- return Dn(e) || Nn(e, t) || Kn(e, t) || Fn();
602
- }
603
- function Fn() {
596
+ I.inheritAttrs = !1;
597
+ I.displayName = "IconBase";
598
+ I.getTwoToneColors = Pn;
599
+ I.setTwoToneColors = jn;
600
+ function En(e, r) {
601
+ return Nn(e) || Kn(e, r) || Fn(e, r) || In();
602
+ }
603
+ function In() {
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 Kn(e, t) {
607
+ function Fn(e, r) {
608
608
  if (e) {
609
- if (typeof e == "string") return Fe(e, t);
609
+ if (typeof e == "string") return Ie(e, r);
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 Fe(e, t);
612
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Ie(e, r);
613
613
  }
614
614
  }
615
- function Fe(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;
615
+ function Ie(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;
620
620
  }
621
- function Nn(e, t) {
621
+ function Kn(e, r) {
622
622
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
623
623
  if (n != null) {
624
- var r = [], a = !0, o = !1, d, s;
624
+ var t = [], a = !0, i = !1, d, f;
625
625
  try {
626
- for (n = n.call(e); !(a = (d = n.next()).done) && (r.push(d.value), !(t && r.length === t)); a = !0)
626
+ for (n = n.call(e); !(a = (d = n.next()).done) && (t.push(d.value), !(r && t.length === r)); a = !0)
627
627
  ;
628
- } catch (g) {
629
- o = !0, s = g;
628
+ } catch (v) {
629
+ i = !0, f = v;
630
630
  } finally {
631
631
  try {
632
632
  !a && n.return != null && n.return();
633
633
  } finally {
634
- if (o) throw s;
634
+ if (i) throw f;
635
635
  }
636
636
  }
637
- return r;
637
+ return t;
638
638
  }
639
639
  }
640
- function Dn(e) {
640
+ function Nn(e) {
641
641
  if (Array.isArray(e)) return e;
642
642
  }
643
- function Le(e) {
644
- var t = Ue(e), n = In(t, 2), r = n[0], a = n[1];
645
- return F.setTwoToneColors({
646
- primaryColor: r,
643
+ function Ue(e) {
644
+ var r = He(e), n = En(r, 2), t = n[0], a = n[1];
645
+ return I.setTwoToneColors({
646
+ primaryColor: t,
647
647
  secondaryColor: a
648
648
  });
649
649
  }
650
- function zn() {
651
- var e = F.getTwoToneColors();
650
+ function Dn() {
651
+ var e = I.getTwoToneColors();
652
652
  return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
653
653
  }
654
- var Rn = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
655
- function Bn(e, t) {
656
- return Vn(e) || Ln(e, t) || Un(e, t) || Hn();
654
+ var zn = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
655
+ function Rn(e, r) {
656
+ return Ln(e) || Un(e, r) || Hn(e, r) || Bn();
657
657
  }
658
- function Hn() {
658
+ function Bn() {
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 Un(e, t) {
662
+ function Hn(e, r) {
663
663
  if (e) {
664
- if (typeof e == "string") return Ke(e, t);
664
+ if (typeof e == "string") return Fe(e, r);
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 Ke(e, t);
667
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Fe(e, r);
668
668
  }
669
669
  }
670
- function Ke(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;
670
+ function Fe(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;
675
675
  }
676
- function Ln(e, t) {
676
+ function Un(e, r) {
677
677
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
678
678
  if (n != null) {
679
- var r = [], a = !0, o = !1, d, s;
679
+ var t = [], a = !0, i = !1, d, f;
680
680
  try {
681
- for (n = n.call(e); !(a = (d = n.next()).done) && (r.push(d.value), !(t && r.length === t)); a = !0)
681
+ for (n = n.call(e); !(a = (d = n.next()).done) && (t.push(d.value), !(r && t.length === r)); a = !0)
682
682
  ;
683
- } catch (g) {
684
- o = !0, s = g;
683
+ } catch (v) {
684
+ i = !0, f = v;
685
685
  } finally {
686
686
  try {
687
687
  !a && n.return != null && n.return();
688
688
  } finally {
689
- if (o) throw s;
689
+ if (i) throw f;
690
690
  }
691
691
  }
692
- return r;
692
+ return t;
693
693
  }
694
694
  }
695
- function Vn(e) {
695
+ function Ln(e) {
696
696
  if (Array.isArray(e)) return e;
697
697
  }
698
- function Ne(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) {
698
+ function Ke(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
702
  return Object.getOwnPropertyDescriptor(n, a).enumerable;
703
- }))), r.forEach(function(a) {
704
- ye(e, a, n[a]);
703
+ }))), t.forEach(function(a) {
704
+ ge(e, a, n[a]);
705
705
  });
706
706
  }
707
707
  return e;
708
708
  }
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;
709
+ function ge(e, r, n) {
710
+ return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
711
711
  }
712
- function Wn(e, t) {
712
+ function Vn(e, r) {
713
713
  if (e == null) return {};
714
- var n = _n(e, t), r, a;
714
+ var n = Wn(e, r), t, a;
715
715
  if (Object.getOwnPropertySymbols) {
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]);
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]);
719
719
  }
720
720
  return n;
721
721
  }
722
- function _n(e, t) {
722
+ function Wn(e, r) {
723
723
  if (e == null) return {};
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]);
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]);
727
727
  return n;
728
728
  }
729
- Le("#1890ff");
730
- var D = function(t, n) {
731
- var r, a = Ne({}, t, n.attrs), o = a.class, d = a.icon, s = a.spin, g = a.rotate, u = a.tabindex, p = a.twoToneColor, c = a.onClick, w = Wn(a, Rn), h = (r = {
729
+ Ue("#1890ff");
730
+ var N = function(r, n) {
731
+ var t, a = Ke({}, r, n.attrs), i = a.class, d = a.icon, f = a.spin, v = a.rotate, o = a.tabindex, y = a.twoToneColor, u = a.onClick, O = Vn(a, zn), b = (t = {
732
732
  anticon: !0
733
- }, ye(r, "anticon-".concat(d.name), !!d.name), ye(r, o, o), r), U = s === "" || s || d.name === "loading" ? "anticon-spin" : "", L = u;
734
- L === void 0 && c && (L = -1, w.tabindex = L);
735
- var b = g ? {
736
- msTransform: "rotate(".concat(g, "deg)"),
737
- transform: "rotate(".concat(g, "deg)")
738
- } : void 0, C = Ue(p), i = Bn(C, 2), z = i[0], Y = i[1];
739
- return S("span", Ne({
733
+ }, ge(t, "anticon-".concat(d.name), !!d.name), ge(t, i, i), t), H = f === "" || f || d.name === "loading" ? "anticon-spin" : "", U = o;
734
+ U === void 0 && u && (U = -1, O.tabindex = U);
735
+ var m = v ? {
736
+ msTransform: "rotate(".concat(v, "deg)"),
737
+ transform: "rotate(".concat(v, "deg)")
738
+ } : void 0, C = He(y), l = Rn(C, 2), D = l[0], Y = l[1];
739
+ return w("span", Ke({
740
740
  role: "img",
741
741
  "aria-label": d.name
742
- }, w, {
743
- onClick: c,
744
- class: h
745
- }), [S(F, {
746
- class: U,
742
+ }, O, {
743
+ onClick: u,
744
+ class: b
745
+ }), [w(I, {
746
+ class: H,
747
747
  icon: d,
748
- primaryColor: z,
748
+ primaryColor: D,
749
749
  secondaryColor: Y,
750
- style: b
750
+ style: m
751
751
  }, null)]);
752
752
  };
753
- D.props = {
753
+ N.props = {
754
754
  spin: Boolean,
755
755
  rotate: Number,
756
756
  icon: Object,
757
757
  twoToneColor: String
758
758
  };
759
- D.displayName = "AntdIcon";
760
- D.inheritAttrs = !1;
761
- D.getTwoToneColor = zn;
762
- D.setTwoToneColor = Le;
759
+ N.displayName = "AntdIcon";
760
+ N.inheritAttrs = !1;
761
+ N.getTwoToneColor = Dn;
762
+ N.setTwoToneColor = Ue;
763
763
  var qn = { 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 De(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) {
764
+ function Ne(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
768
  return Object.getOwnPropertyDescriptor(n, a).enumerable;
769
- }))), r.forEach(function(a) {
769
+ }))), t.forEach(function(a) {
770
770
  Gn(e, a, n[a]);
771
771
  });
772
772
  }
773
773
  return e;
774
774
  }
775
- function Gn(e, t, n) {
776
- return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
775
+ function Gn(e, r, n) {
776
+ return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
777
777
  }
778
- var me = function(t, n) {
779
- var r = De({}, t, n.attrs);
780
- return S(D, De({}, r, {
778
+ var me = function(r, n) {
779
+ var t = Ne({}, r, n.attrs);
780
+ return w(N, Ne({}, t, {
781
781
  icon: qn
782
782
  }), null);
783
783
  };
784
784
  me.displayName = "MenuFoldOutlined";
785
785
  me.inheritAttrs = !1;
786
786
  var Jn = { 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 ze(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) {
787
+ function De(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
791
  return Object.getOwnPropertyDescriptor(n, a).enumerable;
792
- }))), r.forEach(function(a) {
792
+ }))), t.forEach(function(a) {
793
793
  Yn(e, a, n[a]);
794
794
  });
795
795
  }
796
796
  return e;
797
797
  }
798
- function Yn(e, t, n) {
799
- return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
798
+ function Yn(e, r, n) {
799
+ return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
800
800
  }
801
- var he = function(t, n) {
802
- var r = ze({}, t, n.attrs);
803
- return S(D, ze({}, r, {
801
+ var he = function(r, n) {
802
+ var t = De({}, r, n.attrs);
803
+ return w(N, De({}, t, {
804
804
  icon: Jn
805
805
  }), null);
806
806
  };
807
807
  he.displayName = "MenuUnfoldOutlined";
808
808
  he.inheritAttrs = !1;
809
- const Zn = ["src"], Ve = /* @__PURE__ */ pe({
809
+ const Zn = ["src"], Le = /* @__PURE__ */ ye({
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 t = e, n = G(() => {
817
- var o, d, s, g;
818
- return t.status === "default" ? (((o = t.data) == null ? void 0 : o.host) || "") + re(t.data.iconUrl) : (d = t.data) != null && d.hoverIcon ? (((s = t.data) == null ? void 0 : s.host) || "") + re(t.data.hoverIcon) : (((g = t.data) == null ? void 0 : g.host) || "") + re(t.data.iconUrl);
819
- }), r = G(() => ({
816
+ const r = e, n = G(() => {
817
+ var i, d, f, v;
818
+ return r.status === "default" ? (((i = r.data) == null ? void 0 : i.host) || "") + te(r.data.iconUrl) : (d = r.data) != null && d.hoverIcon ? (((f = r.data) == null ? void 0 : f.host) || "") + te(r.data.hoverIcon) : (((v = r.data) == null ? void 0 : v.host) || "") + te(r.data.iconUrl);
819
+ }), t = G(() => ({
820
820
  display: "block",
821
821
  "background-color": "currentColor",
822
822
  "mask-image": `url(${n.value})`
823
823
  }));
824
- return (a, o) => n.value.endsWith(".svg") ? (f(), v(
824
+ return (a, i) => n.value.endsWith(".svg") ? (c(), p(
825
825
  "i",
826
826
  {
827
827
  key: 0,
828
- style: ue(r.value)
828
+ style: ce(t.value)
829
829
  },
830
830
  null,
831
831
  4
832
832
  /* STYLE */
833
- )) : (f(), v("img", {
833
+ )) : (c(), p("img", {
834
834
  key: 1,
835
835
  src: n.value,
836
836
  alt: ""
837
837
  }, null, 8, Zn));
838
838
  }
839
- }), Qn = (e, t) => ({
840
- menuClick: (a, o) => {
839
+ }), Qn = (e, r) => ({
840
+ menuClick: (a, i) => {
841
841
  var d;
842
- (d = e.selectedKeys) != null && d.includes(o.id) || t("menuClick", { domEvent: a, item: o, key: o.id, keyPath: [o.parentId, o.id] });
842
+ (d = e.selectedKeys) != null && d.includes(i.id) || r("menuClick", { domEvent: a, item: i, key: i.id, keyPath: [i.parentId, i.id] });
843
843
  },
844
- toggleAffix: (a, o) => {
845
- t("toggleAffix", a, o);
844
+ toggleAffix: (a, i) => {
845
+ r("toggleAffix", a, i);
846
846
  }
847
- }), We = (e, t = "children") => e.map((r) => (r[t] && r[t].length && (r[t] = We(r[t], t)), (!r[t] || !r[t].length) && (r[t] = null), r)), Xn = (e, t) => {
848
- for (var n = [], r = 0; r < e.length; r += t)
849
- n.push(e.slice(r, r + t));
847
+ }), Ve = (e, r = "children") => e.map((t) => (t[r] && t[r].length && (t[r] = Ve(t[r], r)), (!t[r] || !t[r].length) && (t[r] = null), t)), Xn = (e, r) => {
848
+ for (var n = [], t = 0; t < e.length; t += r)
849
+ n.push(e.slice(t, t + r));
850
850
  return n;
851
- }, et = { class: "aside-menu-title has-children" }, nt = {
851
+ }, er = { class: "aside-menu-title has-children" }, nr = {
852
852
  key: 0,
853
853
  class: "icon-box"
854
- }, tt = {
854
+ }, rr = {
855
855
  key: 1,
856
856
  class: "menu-title"
857
- }, rt = { class: "submenu-container" }, at = { class: "title-bar" }, ot = { class: "title-left" }, it = { class: "title" }, lt = { class: "item-container" }, st = ["onClick"], ct = { class: "name" }, ft = {
857
+ }, tr = { class: "submenu-container" }, ar = { class: "title-bar" }, or = { class: "title-left" }, ir = { class: "title" }, lr = { class: "item-container" }, sr = ["onClick"], fr = { class: "name" }, ur = {
858
858
  key: 0,
859
859
  class: "expired"
860
- }, ut = { class: "name" }, dt = {
860
+ }, cr = { class: "name" }, dr = {
861
861
  key: 0,
862
862
  class: "expired"
863
- }, vt = { class: "submenu-container is-collapse" }, gt = { class: "title-bar is-collapse" }, yt = { class: "title-left" }, pt = { class: "title" }, mt = { class: "icon-title" }, ht = { class: "icon-title" }, bt = { class: "item-collapse-container" }, Ct = ["onClick"], kt = { class: "name" }, xt = {
863
+ }, pr = { class: "submenu-container is-collapse" }, vr = { class: "title-bar is-collapse" }, gr = { class: "title-left" }, yr = { class: "title" }, mr = { class: "icon-title" }, hr = { class: "icon-title" }, br = { class: "item-collapse-container" }, Cr = ["onClick"], kr = { class: "name" }, Sr = {
864
864
  key: 0,
865
865
  class: "expired"
866
- }, St = {
866
+ }, wr = {
867
867
  name: "SubMenu"
868
- }, wt = /* @__PURE__ */ pe({
869
- ...St,
868
+ }, Or = /* @__PURE__ */ ye({
869
+ ...wr,
870
870
  props: {
871
871
  mode: { default: "vertical" },
872
872
  collapse: { type: Boolean },
@@ -879,109 +879,109 @@ const Zn = ["src"], Ve = /* @__PURE__ */ pe({
879
879
  selectedKeys: { default: () => [] }
880
880
  },
881
881
  emits: ["menuClick", "toggleAffix"],
882
- setup(e, { emit: t }) {
883
- const r = J(!0), a = J(""), o = e, d = t;
882
+ setup(e, { emit: r }) {
883
+ const t = J(!0), a = J(""), i = e, d = r;
884
884
  nn({
885
885
  unlock: import("@das-fed/upf-ui/packages/icons/unlock"),
886
886
  lock: import("@das-fed/upf-ui/packages/icons/lock")
887
887
  });
888
- const { toggleAffix: s, menuClick: g } = Qn(o, d);
889
- return (u, p) => (f(), P(l(Xe), de({
890
- class: ["das-ui-sub-menu", e.parentSelectKeys.includes(e.menuInfo.id) ? "is-active" : ""],
891
- key: e.menuInfo.id,
888
+ const { toggleAffix: f, menuClick: v } = Qn(i, d);
889
+ return (o, y) => (c(), j(s(Xe), de({
890
+ class: ["das-ui-sub-menu", o.parentSelectKeys.includes(o.menuInfo.id) ? "is-active" : ""],
891
+ key: o.menuInfo.id,
892
892
  "popup-offset": [0, 0]
893
- }, u.$attrs, {
894
- onMouseover: p[4] || (p[4] = (c) => a.value = e.menuInfo.id),
895
- onMouseleave: p[5] || (p[5] = (c) => a.value = -1)
893
+ }, o.$attrs, {
894
+ onMouseover: y[4] || (y[4] = (u) => a.value = o.menuInfo.id),
895
+ onMouseleave: y[5] || (y[5] = (u) => a.value = -1)
896
896
  }), {
897
- icon: j(() => {
898
- var c;
897
+ icon: _(() => {
898
+ var u;
899
899
  return [
900
- m("div", et, [
901
- e.menuInfo.hideIcon ? y("v-if", !0) : (f(), v("div", nt, [
902
- H(u.$slots, "icon", { menuInfo: e.menuInfo }, () => [
903
- S(Ve, {
904
- data: e.menuInfo,
905
- status: e.parentSelectKeys.includes(e.menuInfo.id) || a.value === e.menuInfo.id ? "hover" : "default"
900
+ h("div", er, [
901
+ o.menuInfo.hideIcon ? g("v-if", !0) : (c(), p("div", nr, [
902
+ B(o.$slots, "icon", { menuInfo: o.menuInfo }, () => [
903
+ w(Le, {
904
+ data: o.menuInfo,
905
+ status: o.parentSelectKeys.includes(o.menuInfo.id) || a.value === o.menuInfo.id ? "hover" : "default"
906
906
  }, null, 8, ["data", "status"])
907
907
  ])
908
908
  ])),
909
- e.collapse ? y("v-if", !0) : (f(), v("div", tt, [
910
- H(u.$slots, ((c = e.menuInfo) == null ? void 0 : c.code) + "-name", {}, () => [
911
- $((f(), v("div", null, [
912
- K(
913
- x(e.menuInfo.name),
909
+ o.collapse ? g("v-if", !0) : (c(), p("div", rr, [
910
+ B(o.$slots, ((u = o.menuInfo) == null ? void 0 : u.code) + "-name", {}, () => [
911
+ $((c(), p("div", null, [
912
+ F(
913
+ S(o.menuInfo.name),
914
914
  1
915
915
  /* TEXT */
916
916
  )
917
917
  ])), [
918
- [l(N)]
918
+ [s(K)]
919
919
  ])
920
920
  ])
921
921
  ]))
922
922
  ])
923
923
  ];
924
924
  }),
925
- default: j(() => [
926
- e.menuInfo.children.length ? (f(), v(
927
- O,
925
+ default: _(() => [
926
+ o.menuInfo.children.length ? (c(), p(
927
+ A,
928
928
  { key: 0 },
929
929
  [
930
- y(" 展开 "),
931
- e.collapse ? (f(), v(
932
- O,
930
+ g(" 展开 "),
931
+ o.collapse ? (c(), p(
932
+ A,
933
933
  { key: 1 },
934
934
  [
935
- y(" 收起 "),
936
- S(l(ne), null, {
937
- default: j(() => [
938
- m("div", vt, [
939
- m("div", gt, [
940
- m("div", yt, [
941
- $((f(), v("div", pt, [
942
- K(
943
- x(e.menuInfo.name),
935
+ g(" 收起 "),
936
+ w(s(ne), null, {
937
+ default: _(() => [
938
+ h("div", pr, [
939
+ h("div", vr, [
940
+ h("div", gr, [
941
+ $((c(), p("div", yr, [
942
+ F(
943
+ S(o.menuInfo.name),
944
944
  1
945
945
  /* TEXT */
946
946
  )
947
947
  ])), [
948
- [l(N)]
948
+ [s(K)]
949
949
  ])
950
950
  ]),
951
- l(!1) && r.value ? (f(), v(
952
- O,
951
+ s(!1) && t.value ? (c(), p(
952
+ A,
953
953
  { key: 0 },
954
954
  [
955
- e.affixKeys.includes(e.menuInfo.id) ? (f(), v("div", {
955
+ o.affixKeys.includes(o.menuInfo.id) ? (c(), p("div", {
956
956
  key: 0,
957
957
  class: "title-right",
958
- onClick: p[2] || (p[2] = R((c) => l(s)(e.menuInfo.id, !1), ["stop"]))
958
+ onClick: y[2] || (y[2] = z((u) => s(f)(o.menuInfo.id, !1), ["stop"]))
959
959
  }, [
960
- S(l(Z), {
960
+ w(s(Z), {
961
961
  icon: "unlock",
962
962
  size: "small"
963
963
  }),
964
- m(
964
+ h(
965
965
  "div",
966
- mt,
967
- x(l(B)("解锁")),
966
+ mr,
967
+ S(s(R)("解锁")),
968
968
  1
969
969
  /* TEXT */
970
970
  )
971
- ])) : y("v-if", !0),
972
- e.affixKeys.includes(e.menuInfo.id) ? y("v-if", !0) : (f(), v("div", {
971
+ ])) : g("v-if", !0),
972
+ o.affixKeys.includes(o.menuInfo.id) ? g("v-if", !0) : (c(), p("div", {
973
973
  key: 1,
974
974
  class: "title-right affix",
975
- onClick: p[3] || (p[3] = R((c) => l(s)(e.menuInfo.id, !0), ["stop"]))
975
+ onClick: y[3] || (y[3] = z((u) => s(f)(o.menuInfo.id, !0), ["stop"]))
976
976
  }, [
977
- S(l(Z), {
977
+ w(s(Z), {
978
978
  icon: "lock",
979
979
  size: "small"
980
980
  }),
981
- m(
981
+ h(
982
982
  "div",
983
- ht,
984
- x(l(B)("锁住")),
983
+ hr,
984
+ S(s(R)("锁住")),
985
985
  1
986
986
  /* TEXT */
987
987
  )
@@ -989,43 +989,43 @@ const Zn = ["src"], Ve = /* @__PURE__ */ pe({
989
989
  ],
990
990
  64
991
991
  /* STABLE_FRAGMENT */
992
- )) : y("v-if", !0)
992
+ )) : g("v-if", !0)
993
993
  ]),
994
- $((f(), v("div", bt, [
995
- (f(!0), v(
996
- O,
994
+ $((c(), p("div", br, [
995
+ (c(!0), p(
996
+ A,
997
997
  null,
998
- _(e.menuInfo.children, (c) => (f(), v("div", {
999
- key: c.id,
1000
- class: E([
998
+ W(o.menuInfo.children, (u) => (c(), p("div", {
999
+ key: u.id,
1000
+ class: P([
1001
1001
  "sub-menu-item",
1002
- e.selectedKeys.includes(c.id) ? "is-active" : "",
1003
- c != null && c.disable ? "is-disable" : ""
1002
+ o.selectedKeys.includes(u.id) ? "is-active" : "",
1003
+ u != null && u.disable ? "is-disable" : ""
1004
1004
  ]),
1005
- onClick: R((w) => l(g)(w, c), ["stop"])
1005
+ onClick: z((O) => s(v)(O, u), ["stop"])
1006
1006
  }, [
1007
- $((f(), v("div", kt, [
1008
- K(
1009
- x(c.name),
1007
+ $((c(), p("div", kr, [
1008
+ F(
1009
+ S(u.name),
1010
1010
  1
1011
1011
  /* TEXT */
1012
1012
  )
1013
1013
  ])), [
1014
- [l(N)]
1014
+ [s(K)]
1015
1015
  ]),
1016
- c != null && c.expired ? (f(), v(
1016
+ u != null && u.expired ? (c(), p(
1017
1017
  "div",
1018
- xt,
1019
- x(l(B)("已到期")),
1018
+ Sr,
1019
+ S(s(R)("已到期")),
1020
1020
  1
1021
1021
  /* TEXT */
1022
- )) : y("v-if", !0)
1023
- ], 10, Ct))),
1022
+ )) : g("v-if", !0)
1023
+ ], 10, Cr))),
1024
1024
  128
1025
1025
  /* KEYED_FRAGMENT */
1026
1026
  ))
1027
1027
  ])), [
1028
- [l(xe), { x: !1 }]
1028
+ [s(Se), { x: !1 }]
1029
1029
  ])
1030
1030
  ])
1031
1031
  ]),
@@ -1035,56 +1035,56 @@ const Zn = ["src"], Ve = /* @__PURE__ */ pe({
1035
1035
  ],
1036
1036
  2112
1037
1037
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1038
- )) : (f(), v(
1039
- O,
1038
+ )) : (c(), p(
1039
+ A,
1040
1040
  { key: 0 },
1041
1041
  [
1042
- e.mode === "vertical" ? (f(), P(l(ne), { key: 0 }, {
1043
- default: j(() => [
1044
- m("div", rt, [
1045
- m("div", at, [
1046
- m("div", ot, [
1047
- $((f(), v("div", it, [
1048
- K(
1049
- x(e.menuInfo.name),
1042
+ o.mode === "vertical" ? (c(), j(s(ne), { key: 0 }, {
1043
+ default: _(() => [
1044
+ h("div", tr, [
1045
+ h("div", ar, [
1046
+ h("div", or, [
1047
+ $((c(), p("div", ir, [
1048
+ F(
1049
+ S(o.menuInfo.name),
1050
1050
  1
1051
1051
  /* TEXT */
1052
1052
  )
1053
1053
  ])), [
1054
- [l(N)]
1054
+ [s(K)]
1055
1055
  ])
1056
1056
  ]),
1057
- l(!1) && r.value ? (f(), v(
1058
- O,
1057
+ s(!1) && t.value ? (c(), p(
1058
+ A,
1059
1059
  { key: 0 },
1060
1060
  [
1061
- e.affixKeys.includes(e.menuInfo.id) ? (f(), v("div", {
1061
+ o.affixKeys.includes(o.menuInfo.id) ? (c(), p("div", {
1062
1062
  key: 0,
1063
1063
  class: "title-right",
1064
- onClick: p[0] || (p[0] = R((c) => l(s)(e.menuInfo.id, !1), ["stop"]))
1064
+ onClick: y[0] || (y[0] = z((u) => s(f)(o.menuInfo.id, !1), ["stop"]))
1065
1065
  }, [
1066
- S(l(Z), {
1066
+ w(s(Z), {
1067
1067
  icon: "unlock",
1068
1068
  size: "small"
1069
1069
  }),
1070
- p[6] || (p[6] = m(
1070
+ y[6] || (y[6] = h(
1071
1071
  "div",
1072
1072
  { class: "icon-title" },
1073
1073
  "解锁",
1074
1074
  -1
1075
1075
  /* CACHED */
1076
1076
  ))
1077
- ])) : y("v-if", !0),
1078
- e.affixKeys.includes(e.menuInfo.id) ? y("v-if", !0) : (f(), v("div", {
1077
+ ])) : g("v-if", !0),
1078
+ o.affixKeys.includes(o.menuInfo.id) ? g("v-if", !0) : (c(), p("div", {
1079
1079
  key: 1,
1080
1080
  class: "title-right affix",
1081
- onClick: p[1] || (p[1] = R((c) => l(s)(e.menuInfo.id, !0), ["stop"]))
1081
+ onClick: y[1] || (y[1] = z((u) => s(f)(o.menuInfo.id, !0), ["stop"]))
1082
1082
  }, [
1083
- S(l(Z), {
1083
+ w(s(Z), {
1084
1084
  icon: "lock",
1085
1085
  size: "small"
1086
1086
  }),
1087
- p[7] || (p[7] = m(
1087
+ y[7] || (y[7] = h(
1088
1088
  "div",
1089
1089
  { class: "icon-title" },
1090
1090
  "锁住",
@@ -1095,45 +1095,45 @@ const Zn = ["src"], Ve = /* @__PURE__ */ pe({
1095
1095
  ],
1096
1096
  64
1097
1097
  /* STABLE_FRAGMENT */
1098
- )) : y("v-if", !0)
1098
+ )) : g("v-if", !0)
1099
1099
  ]),
1100
- $((f(), v("div", lt, [
1101
- (f(!0), v(
1102
- O,
1100
+ $((c(), p("div", lr, [
1101
+ (c(!0), p(
1102
+ A,
1103
1103
  null,
1104
- _(l(Xn)(e.menuInfo.children, 4), (c, w) => (f(), v("div", {
1105
- key: w,
1104
+ W(s(Xn)(o.menuInfo.children, 4), (u, O) => (c(), p("div", {
1105
+ key: O,
1106
1106
  class: "sub-menu-row"
1107
1107
  }, [
1108
- (f(!0), v(
1109
- O,
1108
+ (c(!0), p(
1109
+ A,
1110
1110
  null,
1111
- _(c, (h) => (f(), v("div", {
1112
- key: h.id,
1113
- class: E([
1111
+ W(u, (b) => (c(), p("div", {
1112
+ key: b.id,
1113
+ class: P([
1114
1114
  "sub-menu-item",
1115
- e.selectedKeys.includes(h.id) ? "is-active" : "",
1116
- h != null && h.disable ? "is-disable" : ""
1115
+ o.selectedKeys.includes(b.id) ? "is-active" : "",
1116
+ b != null && b.disable ? "is-disable" : ""
1117
1117
  ]),
1118
- onClick: R((U) => l(g)(U, h), ["stop"])
1118
+ onClick: z((H) => s(v)(H, b), ["stop"])
1119
1119
  }, [
1120
- $((f(), v("div", ct, [
1121
- K(
1122
- x(h.name),
1120
+ $((c(), p("div", fr, [
1121
+ F(
1122
+ S(b.name),
1123
1123
  1
1124
1124
  /* TEXT */
1125
1125
  )
1126
1126
  ])), [
1127
- [l(N)]
1127
+ [s(K)]
1128
1128
  ]),
1129
- h != null && h.expired ? (f(), v(
1129
+ b != null && b.expired ? (c(), p(
1130
1130
  "div",
1131
- ft,
1132
- x(l(B)("已到期")),
1131
+ ur,
1132
+ S(s(R)("已到期")),
1133
1133
  1
1134
1134
  /* TEXT */
1135
- )) : y("v-if", !0)
1136
- ], 10, st))),
1135
+ )) : g("v-if", !0)
1136
+ ], 10, sr))),
1137
1137
  128
1138
1138
  /* KEYED_FRAGMENT */
1139
1139
  ))
@@ -1142,50 +1142,50 @@ const Zn = ["src"], Ve = /* @__PURE__ */ pe({
1142
1142
  /* KEYED_FRAGMENT */
1143
1143
  ))
1144
1144
  ])), [
1145
- [l(xe), { x: !1 }]
1145
+ [s(Se), { x: !1 }]
1146
1146
  ])
1147
1147
  ])
1148
1148
  ]),
1149
1149
  _: 1
1150
1150
  /* STABLE */
1151
- })) : y("v-if", !0),
1152
- e.mode === "inline" ? (f(!0), v(
1153
- O,
1151
+ })) : g("v-if", !0),
1152
+ o.mode === "inline" ? (c(!0), p(
1153
+ A,
1154
1154
  { key: 1 },
1155
- _(e.menuInfo.children, (c) => (f(), P(
1156
- l(ne),
1155
+ W(o.menuInfo.children, (u) => (c(), j(
1156
+ s(ne),
1157
1157
  {
1158
- key: c.id
1158
+ key: u.id
1159
1159
  },
1160
1160
  {
1161
- default: j(() => [
1162
- m(
1161
+ default: _(() => [
1162
+ h(
1163
1163
  "div",
1164
1164
  {
1165
- class: E([
1165
+ class: P([
1166
1166
  "sub-menu-item_inline",
1167
- e.selectedKeys.includes(c.id) ? "is-active" : "",
1168
- c != null && c.expired ? "is-expired" : "",
1169
- c != null && c.disable ? "is-disable" : ""
1167
+ o.selectedKeys.includes(u.id) ? "is-active" : "",
1168
+ u != null && u.expired ? "is-expired" : "",
1169
+ u != null && u.disable ? "is-disable" : ""
1170
1170
  ])
1171
1171
  },
1172
1172
  [
1173
- $((f(), v("div", ut, [
1174
- K(
1175
- x(c.name),
1173
+ $((c(), p("div", cr, [
1174
+ F(
1175
+ S(u.name),
1176
1176
  1
1177
1177
  /* TEXT */
1178
1178
  )
1179
1179
  ])), [
1180
- [l(N)]
1180
+ [s(K)]
1181
1181
  ]),
1182
- c != null && c.expired ? (f(), v(
1182
+ u != null && u.expired ? (c(), p(
1183
1183
  "div",
1184
- dt,
1185
- x(l(B)("已到期")),
1184
+ dr,
1185
+ S(s(R)("已到期")),
1186
1186
  1
1187
1187
  /* TEXT */
1188
- )) : y("v-if", !0)
1188
+ )) : g("v-if", !0)
1189
1189
  ],
1190
1190
  2
1191
1191
  /* CLASS */
@@ -1199,7 +1199,7 @@ const Zn = ["src"], Ve = /* @__PURE__ */ pe({
1199
1199
  ))),
1200
1200
  128
1201
1201
  /* KEYED_FRAGMENT */
1202
- )) : y("v-if", !0)
1202
+ )) : g("v-if", !0)
1203
1203
  ],
1204
1204
  64
1205
1205
  /* STABLE_FRAGMENT */
@@ -1207,79 +1207,79 @@ const Zn = ["src"], Ve = /* @__PURE__ */ pe({
1207
1207
  ],
1208
1208
  64
1209
1209
  /* STABLE_FRAGMENT */
1210
- )) : y("v-if", !0)
1210
+ )) : g("v-if", !0)
1211
1211
  ]),
1212
1212
  _: 3
1213
1213
  /* FORWARDED */
1214
1214
  }, 16, ["class"]));
1215
1215
  }
1216
- }), Ot = (e, t) => {
1217
- const n = J([]), r = J([]);
1216
+ }), Ar = (e, r) => {
1217
+ const n = J([]), t = J([]);
1218
1218
  ke(
1219
1219
  () => n.value,
1220
- (u) => {
1221
- t("update:currentOpenKeys", u);
1220
+ (o) => {
1221
+ r("update:currentOpenKeys", o);
1222
1222
  }
1223
1223
  ), ke(
1224
1224
  () => e.currentOpenKeys,
1225
- (u) => {
1226
- u && n.value !== u && (n.value = e.currentOpenKeys || []);
1225
+ (o) => {
1226
+ o && n.value !== o && (n.value = e.currentOpenKeys || []);
1227
1227
  },
1228
1228
  { immediate: !0 }
1229
1229
  );
1230
- const a = (u, p) => {
1231
- p ? (r.value.push(u), r.value = Array.from(new Set(r.value))) : r.value.map((c, w) => {
1232
- c === u && r.value.splice(w, 1);
1230
+ const a = (o, y) => {
1231
+ y ? (t.value.push(o), t.value = Array.from(new Set(t.value))) : t.value.map((u, O) => {
1232
+ u === o && t.value.splice(O, 1);
1233
1233
  });
1234
1234
  };
1235
1235
  Ge(() => {
1236
1236
  document.documentElement.style.setProperty("--das-menu-submenu-popup-z-index", "999998");
1237
1237
  });
1238
- const o = (u) => {
1238
+ const i = (o) => {
1239
1239
  if (e.mode === "inline") {
1240
- if (!s.value) {
1241
- const p = r.value.filter((c) => !u.includes(c));
1242
- r.value = r.value.filter((c) => !p.includes(c));
1240
+ if (!f.value) {
1241
+ const y = t.value.filter((u) => !o.includes(u));
1242
+ t.value = t.value.filter((u) => !y.includes(u));
1243
1243
  }
1244
- n.value = [u[u.length - 1]];
1244
+ n.value = [o[o.length - 1]];
1245
1245
  }
1246
- e.mode === "vertical" && (n.value = Array.from(new Set(u.concat(r.value))));
1247
- }, d = (u) => {
1248
- !u || !u.key || t("menuClick", u);
1249
- }, s = G({
1246
+ e.mode === "vertical" && (n.value = Array.from(new Set(o.concat(t.value))));
1247
+ }, d = (o) => {
1248
+ !o || !o.key || r("menuClick", o);
1249
+ }, f = G({
1250
1250
  get: () => !!e.collapse,
1251
- set: (u) => {
1252
- t("update:collapse", u);
1251
+ set: (o) => {
1252
+ r("update:collapse", o);
1253
1253
  }
1254
1254
  });
1255
1255
  return {
1256
- isCollapse: s,
1256
+ isCollapse: f,
1257
1257
  openKeys: n,
1258
- affixKeys: r,
1258
+ affixKeys: t,
1259
1259
  toggleAffix: a,
1260
- openChange: o,
1260
+ openChange: i,
1261
1261
  menuClick: d,
1262
- toggleCollapse: (u) => {
1263
- s.value = u, t("toggleCollapse", u);
1262
+ toggleCollapse: (o) => {
1263
+ f.value = o, r("toggleCollapse", o);
1264
1264
  }
1265
1265
  };
1266
- }, At = {
1266
+ }, Tr = {
1267
1267
  key: 0,
1268
1268
  class: "icon-box"
1269
- }, Tt = {
1269
+ }, xr = {
1270
1270
  key: 1,
1271
1271
  class: "custom-left-icon"
1272
- }, Mt = { class: "menu-item-content" }, $t = {
1272
+ }, Mr = { class: "menu-item-content" }, $r = {
1273
1273
  key: 1,
1274
1274
  class: "expired"
1275
- }, jt = {
1275
+ }, _r = {
1276
1276
  key: 2,
1277
1277
  class: "ant-menu-submenu-arrow",
1278
1278
  custom: "true"
1279
- }, Pt = { class: "das-aside-menu-bottom-container" }, Et = {
1279
+ }, jr = { class: "das-aside-menu-bottom-container" }, Pr = {
1280
1280
  name: "DasMenuAside"
1281
- }, It = /* @__PURE__ */ pe({
1282
- ...Et,
1281
+ }, Er = /* @__PURE__ */ ye({
1282
+ ...Pr,
1283
1283
  props: {
1284
1284
  mode: { default: "vertical" },
1285
1285
  collapse: { type: Boolean },
@@ -1290,133 +1290,133 @@ const Zn = ["src"], Ve = /* @__PURE__ */ pe({
1290
1290
  subMenuAttrs: { default: () => ({}) }
1291
1291
  },
1292
1292
  emits: ["update:collapse", "update:currentOpenKeys", "menuClick", "toggleCollapse"],
1293
- setup(e, { emit: t }) {
1294
- const n = J(""), r = e, a = t, o = "das-aside-menu-submenu", d = G(() => {
1293
+ setup(e, { emit: r }) {
1294
+ const n = J(""), t = e, a = r, i = "das-aside-menu-submenu", d = G(() => {
1295
1295
  var C;
1296
- let b = o;
1297
- return (C = r == null ? void 0 : r.subMenuAttrs) != null && C.popupClassName && (b = `${b} ${r.subMenuAttrs.popupClassName}`), {
1298
- popupClassName: b
1296
+ let m = i;
1297
+ return (C = t == null ? void 0 : t.subMenuAttrs) != null && C.popupClassName && (m = `${m} ${t.subMenuAttrs.popupClassName}`), {
1298
+ popupClassName: m
1299
1299
  };
1300
- }), s = G(() => {
1301
- const b = r.menus || [], C = JSON.parse(JSON.stringify(b));
1302
- return !C || !C.length ? [] : We(C);
1303
- }), { isCollapse: g, openKeys: u, affixKeys: p, toggleAffix: c, openChange: w, menuClick: h, toggleCollapse: U } = Ot(
1304
- r,
1300
+ }), f = G(() => {
1301
+ const m = t.menus || [], C = JSON.parse(JSON.stringify(m));
1302
+ return !C || !C.length ? [] : Ve(C);
1303
+ }), { isCollapse: v, openKeys: o, affixKeys: y, toggleAffix: u, openChange: O, menuClick: b, toggleCollapse: H } = Ar(
1304
+ t,
1305
1305
  a
1306
- ), L = (b) => w(b.map(String));
1307
- return (b, C) => (f(), v(
1306
+ ), U = (m) => O(m.map(String));
1307
+ return (m, C) => (c(), p(
1308
1308
  "div",
1309
1309
  {
1310
- class: E(["das-ui-menu-aside", e.collapse ? "is-collapse" : ""])
1310
+ class: P(["das-ui-menu-aside", m.collapse ? "is-collapse" : ""])
1311
1311
  },
1312
1312
  [
1313
- (f(), v(
1313
+ (c(), p(
1314
1314
  "div",
1315
1315
  {
1316
- key: e.collapse + "",
1317
- class: E(["das-ui-aside-menu", e.collapse ? "is-collapse" : ""])
1316
+ key: m.collapse + "",
1317
+ class: P(["das-ui-aside-menu", m.collapse ? "is-collapse" : ""])
1318
1318
  },
1319
1319
  [
1320
- S(l(Ze), { style: { height: "100%" } }, {
1321
- default: j(() => [
1322
- s.value && s.value.length ? (f(), P(l(en), de({
1320
+ w(s(Ze), { style: { height: "100%" } }, {
1321
+ default: _(() => [
1322
+ f.value && f.value.length ? (c(), j(s(en), de({
1323
1323
  key: 0,
1324
- class: ["das-menu", e.collapse ? "is-collapse" : ""],
1325
- mode: e.mode,
1326
- openKeys: l(u),
1327
- "onUpdate:openKeys": C[1] || (C[1] = (i) => Je(u) ? u.value = i : null),
1328
- selectedKeys: e.currentSelectKeys,
1324
+ class: ["das-menu", m.collapse ? "is-collapse" : ""],
1325
+ mode: m.mode,
1326
+ openKeys: s(o),
1327
+ "onUpdate:openKeys": C[1] || (C[1] = (l) => Je(o) ? o.value = l : null),
1328
+ selectedKeys: m.currentSelectKeys,
1329
1329
  theme: "dark",
1330
- "inline-collapsed": l(g)
1331
- }, b.$attrs, {
1332
- onOpenChange: L,
1333
- onClick: l(h)
1330
+ "inline-collapsed": s(v)
1331
+ }, m.$attrs, {
1332
+ onOpenChange: U,
1333
+ onClick: s(b)
1334
1334
  }), {
1335
- default: j(() => [
1336
- (f(!0), v(
1337
- O,
1335
+ default: _(() => [
1336
+ (c(!0), p(
1337
+ A,
1338
1338
  null,
1339
- _(s.value, (i) => (f(), v(
1340
- O,
1339
+ W(f.value, (l) => (c(), p(
1340
+ A,
1341
1341
  null,
1342
1342
  [
1343
- y(" 只有一级菜单 "),
1344
- i.children ? (f(), v(
1345
- O,
1343
+ g(" 只有一级菜单 "),
1344
+ l.children ? (c(), p(
1345
+ A,
1346
1346
  { key: 1 },
1347
1347
  [
1348
- y(" 有二级菜单 "),
1349
- (f(), P(wt, de({
1350
- key: i.id,
1351
- mode: e.mode,
1352
- menuInfo: i,
1353
- collapse: l(g),
1354
- affixKeys: l(p),
1355
- parentSelectKeys: e.parentSelectKeys,
1356
- selectedKeys: e.currentSelectKeys
1348
+ g(" 有二级菜单 "),
1349
+ (c(), j(Or, de({
1350
+ key: l.id,
1351
+ mode: m.mode,
1352
+ menuInfo: l,
1353
+ collapse: s(v),
1354
+ affixKeys: s(y),
1355
+ parentSelectKeys: m.parentSelectKeys,
1356
+ selectedKeys: m.currentSelectKeys
1357
1357
  }, { ref_for: !0 }, d.value, {
1358
- onMenuClick: l(h),
1359
- onToggleAffix: l(c)
1358
+ onMenuClick: s(b),
1359
+ onToggleAffix: s(u)
1360
1360
  }), null, 16, ["mode", "menuInfo", "collapse", "affixKeys", "parentSelectKeys", "selectedKeys", "onMenuClick", "onToggleAffix"]))
1361
1361
  ],
1362
1362
  64
1363
1363
  /* STABLE_FRAGMENT */
1364
- )) : (f(), P(l(ne), {
1365
- class: E({ "divise-menu-item": i.divise }),
1366
- key: i.id,
1367
- onMouseover: (z) => n.value = i.id,
1368
- onMouseleave: C[0] || (C[0] = (z) => n.value = "")
1364
+ )) : (c(), j(s(ne), {
1365
+ class: P({ "divise-menu-item": l.divise }),
1366
+ key: l.id,
1367
+ onMouseover: (D) => n.value = l.id,
1368
+ onMouseleave: C[0] || (C[0] = (D) => n.value = "")
1369
1369
  }, {
1370
- icon: j(() => [
1371
- S(l(Qe), {
1372
- content: i.name,
1370
+ icon: _(() => [
1371
+ w(s(Qe), {
1372
+ content: l.name,
1373
1373
  placement: "right",
1374
- disabled: !l(g)
1374
+ disabled: !s(v)
1375
1375
  }, {
1376
- default: j(() => {
1377
- var z, Y, be;
1376
+ default: _(() => {
1377
+ var D, Y, be;
1378
1378
  return [
1379
- m(
1379
+ h(
1380
1380
  "div",
1381
1381
  {
1382
- class: E([
1382
+ class: P([
1383
1383
  "aside-menu-title",
1384
- (z = i == null ? void 0 : i.originalChildren) != null && z.length ? "has-children" : "",
1385
- i != null && i.expired ? "is-expired" : "",
1386
- i != null && i.disable ? "is-disable" : "",
1387
- e.currentSelectKeys.includes(i.id) ? "is-active" : ""
1384
+ (D = l == null ? void 0 : l.originalChildren) != null && D.length ? "has-children" : "",
1385
+ l != null && l.expired ? "is-expired" : "",
1386
+ l != null && l.disable ? "is-disable" : "",
1387
+ m.currentSelectKeys.includes(l.id) ? "is-active" : ""
1388
1388
  ])
1389
1389
  },
1390
1390
  [
1391
- y(" 自定义leftIcon "),
1392
- i.hideIcon ? y("v-if", !0) : (f(), v("div", At, [
1393
- y(" 第一种icon插槽 "),
1394
- b.$slots[`${i == null ? void 0 : i.code}-leftIcon`] ? (f(), v("div", Tt, [
1395
- y(" 第二种icon插槽 "),
1396
- H(b.$slots, `${i == null ? void 0 : i.code}-leftIcon`)
1397
- ])) : H(b.$slots, "icon", {
1391
+ g(" 自定义leftIcon "),
1392
+ l.hideIcon ? g("v-if", !0) : (c(), p("div", Tr, [
1393
+ g(" 第一种icon插槽 "),
1394
+ m.$slots[`${l == null ? void 0 : l.code}-leftIcon`] ? (c(), p("div", xr, [
1395
+ g(" 第二种icon插槽 "),
1396
+ B(m.$slots, `${l == null ? void 0 : l.code}-leftIcon`)
1397
+ ])) : B(m.$slots, "icon", {
1398
1398
  key: 0,
1399
- menuInfo: i
1399
+ menuInfo: l
1400
1400
  }, () => [
1401
- S(Ve, {
1402
- data: i,
1403
- status: e.currentSelectKeys.includes(i.id) || n.value === i.id ? "hover" : "default"
1401
+ w(Le, {
1402
+ data: l,
1403
+ status: m.currentSelectKeys.includes(l.id) || n.value === l.id ? "hover" : "default"
1404
1404
  }, null, 8, ["data", "status"])
1405
1405
  ])
1406
1406
  ])),
1407
- m("div", Mt, [
1408
- l(g) ? y("v-if", !0) : $((f(), v(
1407
+ h("div", Mr, [
1408
+ s(v) ? g("v-if", !0) : $((c(), p(
1409
1409
  "div",
1410
1410
  {
1411
1411
  key: 0,
1412
1412
  class: "menu-title",
1413
- style: ue({
1414
- "padding-right": b.$slots[(i == null ? void 0 : i.code) + "-rightIcon"] || i != null && i.expired ? "0" : i != null && i.disable && ((Y = i == null ? void 0 : i.originalChildren) != null && Y.length) ? "30px" : "15px"
1413
+ style: ce({
1414
+ "padding-right": m.$slots[(l == null ? void 0 : l.code) + "-rightIcon"] || l != null && l.expired ? "0" : l != null && l.disable && ((Y = l == null ? void 0 : l.originalChildren) != null && Y.length) ? "30px" : "15px"
1415
1415
  })
1416
1416
  },
1417
1417
  [
1418
- K(
1419
- x(i.name),
1418
+ F(
1419
+ S(l.name),
1420
1420
  1
1421
1421
  /* TEXT */
1422
1422
  )
@@ -1424,20 +1424,20 @@ const Zn = ["src"], Ve = /* @__PURE__ */ pe({
1424
1424
  4
1425
1425
  /* STYLE */
1426
1426
  )), [
1427
- [l(N)]
1427
+ [s(K)]
1428
1428
  ]),
1429
- y(" 已到期标识 "),
1430
- i != null && i.expired ? (f(), v(
1429
+ g(" 已到期标识 "),
1430
+ l != null && l.expired ? (c(), p(
1431
1431
  "div",
1432
- $t,
1433
- x(l(B)("已到期")),
1432
+ $r,
1433
+ S(s(R)("已到期")),
1434
1434
  1
1435
1435
  /* TEXT */
1436
- )) : y("v-if", !0),
1437
- y(" 箭头 "),
1438
- i != null && i.disable && ((be = i == null ? void 0 : i.originalChildren) != null && be.length) ? (f(), v("i", jt)) : y("v-if", !0),
1439
- y("@slots 右侧icon "),
1440
- H(b.$slots, (i == null ? void 0 : i.code) + "-rightIcon")
1436
+ )) : g("v-if", !0),
1437
+ g(" 箭头 "),
1438
+ l != null && l.disable && ((be = l == null ? void 0 : l.originalChildren) != null && be.length) ? (c(), p("i", _r)) : g("v-if", !0),
1439
+ g("@slots 右侧icon "),
1440
+ B(m.$slots, (l == null ? void 0 : l.code) + "-rightIcon")
1441
1441
  ])
1442
1442
  ],
1443
1443
  2
@@ -1462,10 +1462,10 @@ const Zn = ["src"], Ve = /* @__PURE__ */ pe({
1462
1462
  ]),
1463
1463
  _: 3
1464
1464
  /* FORWARDED */
1465
- }, 16, ["class", "mode", "openKeys", "selectedKeys", "inline-collapsed", "onClick"])) : y("v-if", !0),
1466
- y(" 底部插槽 "),
1467
- m("div", Pt, [
1468
- H(b.$slots, "bottom")
1465
+ }, 16, ["class", "mode", "openKeys", "selectedKeys", "inline-collapsed", "onClick"])) : g("v-if", !0),
1466
+ g(" 底部插槽 "),
1467
+ h("div", jr, [
1468
+ B(m.$slots, "bottom")
1469
1469
  ])
1470
1470
  ]),
1471
1471
  _: 3
@@ -1475,24 +1475,24 @@ const Zn = ["src"], Ve = /* @__PURE__ */ pe({
1475
1475
  2
1476
1476
  /* CLASS */
1477
1477
  )),
1478
- m(
1478
+ h(
1479
1479
  "div",
1480
1480
  {
1481
- class: E(["icon-container", l(g) ? "is-collapse" : ""])
1481
+ class: P(["icon-container", s(v) ? "is-collapse" : ""])
1482
1482
  },
1483
1483
  [
1484
- m(
1484
+ h(
1485
1485
  "div",
1486
1486
  {
1487
- style: ue({ "padding-left": l(g) ? "0" : "16px" }),
1488
- onClick: C[2] || (C[2] = (i) => l(U)(!l(g)))
1487
+ style: ce({ "padding-left": s(v) ? "0" : "16px" }),
1488
+ onClick: C[2] || (C[2] = (l) => s(H)(!s(v)))
1489
1489
  },
1490
1490
  [
1491
- m("div", null, [
1492
- l(g) ? (f(), P(l(he), {
1491
+ h("div", null, [
1492
+ s(v) ? (c(), j(s(he), {
1493
1493
  key: 0,
1494
1494
  class: "collapse-icon"
1495
- })) : (f(), P(l(me), {
1495
+ })) : (c(), j(s(me), {
1496
1496
  key: 1,
1497
1497
  class: "collapse-icon"
1498
1498
  }))
@@ -1510,10 +1510,10 @@ const Zn = ["src"], Ve = /* @__PURE__ */ pe({
1510
1510
  /* CLASS */
1511
1511
  ));
1512
1512
  }
1513
- }), Ft = { 已到期: { "zh-CN": "已到期", en: "Expired", "zh-MO": "已到期", _appCode: "framework" } };
1514
- Ye(Ft);
1515
- const qt = _e(It), Gt = { title: "Menu-Aside 垂直导航栏" };
1513
+ }), Ir = { 已到期: { "zh-CN": "已到期", en: "Expired", "zh-MO": "已到期", _appCode: "framework" } };
1514
+ Ye(Ir);
1515
+ const qr = We(Er), Gr = { title: "Menu-Aside 垂直导航栏" };
1516
1516
  export {
1517
- qt as DasMenuAside,
1518
- Gt as default
1517
+ qr as DasMenuAside,
1518
+ Gr as default
1519
1519
  };