@das-fed/ui 6.4.0-test.2.1 → 6.4.0-test.3

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