@das-fed/upf-ui 6.4.0-dev.313 → 6.4.0-dev.315

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 (750) hide show
  1. package/front-end/i18n/front-end-page/dasui_en-US.js +5 -5
  2. package/front-end/i18n/front-end-page/dasui_zh-CN.js +5 -5
  3. package/front-end/i18n/front-end-page/dasui_zh-MO.js +5 -5
  4. package/package.json +7 -7
  5. package/packages/business-components/ai-panel/{index-DCyDBdoc.js → index-BCG4Ay8z.js} +3 -18
  6. package/packages/business-components/ai-panel/index-BCG4Ay8z.js.gz +0 -0
  7. package/packages/business-components/ai-panel/{index-_XzaXcle.js → index-C5KOKfah.js} +1058 -1492
  8. package/packages/business-components/ai-panel/index-C5KOKfah.js.gz +0 -0
  9. package/packages/business-components/ai-panel/index-CPc9GB7t.js +144 -0
  10. package/packages/business-components/ai-panel/index-CPc9GB7t.js.gz +0 -0
  11. package/packages/business-components/ai-panel/index.js +1 -1
  12. package/packages/business-components/ai-panel/src/dasAI/hooks/audio.d.ts +1 -1
  13. package/packages/business-components/app-container/index.js +98 -147
  14. package/packages/business-components/app-container/index.js.gz +0 -0
  15. package/packages/business-components/area-phone-select/index.d.ts +30 -30
  16. package/packages/business-components/area-phone-select/index.js +127 -176
  17. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  18. package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +4 -4
  19. package/packages/business-components/change-enterprises/index.js +47 -73
  20. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  21. package/packages/business-components/change-pwd/index.js +15 -27
  22. package/packages/business-components/change-pwd/index.js.gz +0 -0
  23. package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +14 -14
  24. package/packages/business-components/currency-page/index.js +34 -51
  25. package/packages/business-components/currency-page/index.js.gz +0 -0
  26. package/packages/business-components/device-panel/index.js +12669 -17395
  27. package/packages/business-components/device-panel/index.js.gz +0 -0
  28. package/packages/business-components/device-panel/style.css +1 -1
  29. package/packages/business-components/device-panel/style.css.gz +0 -0
  30. package/packages/business-components/echarts/index.js +2089 -2102
  31. package/packages/business-components/echarts/index.js.gz +0 -0
  32. package/packages/business-components/export-button/index.js +110 -117
  33. package/packages/business-components/export-button/index.js.gz +0 -0
  34. package/packages/business-components/import-button/index.js +203 -237
  35. package/packages/business-components/import-button/index.js.gz +0 -0
  36. package/packages/business-components/layout-breadcrumb/index.js +42 -42
  37. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  38. package/packages/business-components/model-table-dialog/index.d.ts +4 -4
  39. package/packages/business-components/model-table-dialog/index.js +313 -361
  40. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  41. package/packages/business-components/payment/index.js +156 -246
  42. package/packages/business-components/payment/index.js.gz +0 -0
  43. package/packages/business-components/process-configuration/index.js +216 -302
  44. package/packages/business-components/process-configuration/index.js.gz +0 -0
  45. package/packages/business-components/process-form/index.js +1263 -1432
  46. package/packages/business-components/process-form/index.js.gz +0 -0
  47. package/packages/business-components/process-form/src/hooks/useForm.d.ts +14 -14
  48. package/packages/business-components/process-log/index.js +389 -572
  49. package/packages/business-components/process-log/index.js.gz +0 -0
  50. package/packages/business-components/process-log/style.css +1 -1
  51. package/packages/business-components/process-log/style.css.gz +0 -0
  52. package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +4 -4
  53. package/packages/business-components/process-search-form/index.js +1 -1
  54. package/packages/business-components/process-search-form/index.js.gz +0 -0
  55. package/packages/business-components/process-table/index.d.ts +14 -14
  56. package/packages/business-components/process-table/index.js +424 -485
  57. package/packages/business-components/process-table/index.js.gz +0 -0
  58. package/packages/business-components/upload-file/index.js +57 -63
  59. package/packages/business-components/upload-file/index.js.gz +0 -0
  60. package/packages/business-components/upload-file/style.css +1 -1
  61. package/packages/business-components/urgent-panel/index.js +1222 -1693
  62. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  63. package/packages/business-components/user-org-dialog/index.js +67 -128
  64. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  65. package/packages/business-components/video-dialog/index.js +263 -331
  66. package/packages/business-components/video-dialog/index.js.gz +0 -0
  67. package/packages/business-components/video-dialog/style.css +1 -1
  68. package/packages/business-components/video-dialog/style.css.gz +0 -0
  69. package/packages/components/alert/index.d.ts +4 -4
  70. package/packages/components/alert/index.js +50 -57
  71. package/packages/components/alert/index.js.gz +0 -0
  72. package/packages/components/audio-video/index.js +169 -196
  73. package/packages/components/audio-video/index.js.gz +0 -0
  74. package/packages/components/autocomplete/index.d.ts +6 -6
  75. package/packages/components/autocomplete/index.js +244 -269
  76. package/packages/components/autocomplete/index.js.gz +0 -0
  77. package/packages/components/autocomplete/style.css +1 -1
  78. package/packages/components/autocomplete/style.css.gz +0 -0
  79. package/packages/components/breadcrumb/index.js +55 -81
  80. package/packages/components/breadcrumb/index.js.gz +0 -0
  81. package/packages/components/button/index.js +308 -381
  82. package/packages/components/button/index.js.gz +0 -0
  83. package/packages/components/calendar/index.js +253 -339
  84. package/packages/components/calendar/index.js.gz +0 -0
  85. package/packages/components/cascader/index.d.ts +8 -8
  86. package/packages/components/cascader/index.js +139 -174
  87. package/packages/components/cascader/index.js.gz +0 -0
  88. package/packages/components/cascader/style.css +1 -1
  89. package/packages/components/cascader/style.css.gz +0 -0
  90. package/packages/components/checkbox/index.d.ts +12 -12
  91. package/packages/components/checkbox/index.js +241 -354
  92. package/packages/components/checkbox/index.js.gz +0 -0
  93. package/packages/components/checkbox/style.css +1 -1
  94. package/packages/components/checkbox/style.css.gz +0 -0
  95. package/packages/components/collapse-panel/index.js +19 -26
  96. package/packages/components/collapse-panel/index.js.gz +0 -0
  97. package/packages/components/collapse-transition/index.js +6 -13
  98. package/packages/components/collapse-transition/index.js.gz +0 -0
  99. package/packages/components/collaspe/index.d.ts +4 -4
  100. package/packages/components/collaspe/index.js +22 -23
  101. package/packages/components/collaspe/index.js.gz +0 -0
  102. package/packages/components/color-picker/index.js +66 -89
  103. package/packages/components/color-picker/index.js.gz +0 -0
  104. package/packages/components/custom-search-item/index.d.ts +4 -4
  105. package/packages/components/custom-search-item/index.js +37 -49
  106. package/packages/components/custom-search-item/index.js.gz +0 -0
  107. package/packages/components/date-picker/index.js +888 -1118
  108. package/packages/components/date-picker/index.js.gz +0 -0
  109. package/packages/components/date-picker/style.css +1 -1
  110. package/packages/components/date-picker/style.css.gz +0 -0
  111. package/packages/components/dialog/index.js +150 -200
  112. package/packages/components/dialog/index.js.gz +0 -0
  113. package/packages/components/dimple-layout/index.js +131 -149
  114. package/packages/components/dimple-layout/index.js.gz +0 -0
  115. package/packages/components/drawer/index.js +6 -13
  116. package/packages/components/drawer/index.js.gz +0 -0
  117. package/packages/components/dropdown/index.js +46 -61
  118. package/packages/components/dropdown/index.js.gz +0 -0
  119. package/packages/components/edit-table/index.d.ts +4 -4
  120. package/packages/components/edit-table/index.js +1092 -1324
  121. package/packages/components/edit-table/index.js.gz +0 -0
  122. package/packages/components/empty/index.js +33 -61
  123. package/packages/components/empty/index.js.gz +0 -0
  124. package/packages/components/error-overlay-model/index.js +35 -47
  125. package/packages/components/error-overlay-model/index.js.gz +0 -0
  126. package/packages/components/form/index.d.ts +14 -14
  127. package/packages/components/form/index.js +29 -35
  128. package/packages/components/form/index.js.gz +0 -0
  129. package/packages/components/form-item/index.js +924 -1089
  130. package/packages/components/form-item/index.js.gz +0 -0
  131. package/packages/components/form-item/style.css +1 -1
  132. package/packages/components/form-item/style.css.gz +0 -0
  133. package/packages/components/icon/index.js +7 -13
  134. package/packages/components/icon/index.js.gz +0 -0
  135. package/packages/components/image-upload/index.js +109 -143
  136. package/packages/components/image-upload/index.js.gz +0 -0
  137. package/packages/components/image-viewer/index.js +571 -664
  138. package/packages/components/image-viewer/index.js.gz +0 -0
  139. package/packages/components/infinite-scroll/index.d.ts +3 -1
  140. package/packages/components/infinite-scroll/index.js +672 -858
  141. package/packages/components/infinite-scroll/index.js.gz +0 -0
  142. package/packages/components/infinite-scroll/src/index.vue.d.ts +3 -1
  143. package/packages/components/input/index.js +1044 -1128
  144. package/packages/components/input/index.js.gz +0 -0
  145. package/packages/components/input/src/index.vue.d.ts +2 -1
  146. package/packages/components/input/src/type.d.ts +73 -71
  147. package/packages/components/input/style.css +2 -2
  148. package/packages/components/input/style.css.gz +0 -0
  149. package/packages/components/input-dialog-select/index.js +119 -156
  150. package/packages/components/input-dialog-select/index.js.gz +0 -0
  151. package/packages/components/input-number/index.js +125 -145
  152. package/packages/components/input-number/index.js.gz +0 -0
  153. package/packages/components/input-number/style.css +1 -1
  154. package/packages/components/input-number/style.css.gz +0 -0
  155. package/packages/components/live-player/index.d.ts +4 -4
  156. package/packages/components/live-player/index.js +9 -19
  157. package/packages/components/live-player/index.js.gz +0 -0
  158. package/packages/components/loading/index.js +4 -10
  159. package/packages/components/loading/index.js.gz +0 -0
  160. package/packages/components/map/index.js +103 -156
  161. package/packages/components/map/index.js.gz +0 -0
  162. package/packages/components/menu-aside/index.js +654 -879
  163. package/packages/components/menu-aside/index.js.gz +0 -0
  164. package/packages/components/menu-header/index.js +21 -39
  165. package/packages/components/menu-header/index.js.gz +0 -0
  166. package/packages/components/pagination/index.js +117 -155
  167. package/packages/components/pagination/index.js.gz +0 -0
  168. package/packages/components/pagination/style.css +1 -1
  169. package/packages/components/pagination/style.css.gz +0 -0
  170. package/packages/components/popover/index.d.ts +4 -4
  171. package/packages/components/popover/index.js +28 -49
  172. package/packages/components/popover/index.js.gz +0 -0
  173. package/packages/components/popup-mask/index.js +45 -58
  174. package/packages/components/popup-mask/index.js.gz +0 -0
  175. package/packages/components/preview/index.js +1 -6
  176. package/packages/components/preview/index.js.gz +0 -0
  177. package/packages/components/progress/index.js +117 -204
  178. package/packages/components/progress/index.js.gz +0 -0
  179. package/packages/components/progress/style.css +1 -1
  180. package/packages/components/progress/style.css.gz +0 -0
  181. package/packages/components/radio/index.d.ts +10 -10
  182. package/packages/components/radio/index.js +239 -376
  183. package/packages/components/radio/index.js.gz +0 -0
  184. package/packages/components/radio-tabs/index.js +52 -86
  185. package/packages/components/radio-tabs/index.js.gz +0 -0
  186. package/packages/components/rich-editor/index.js +269 -275
  187. package/packages/components/rich-editor/index.js.gz +0 -0
  188. package/packages/components/scrollbar/index.js +2 -3
  189. package/packages/components/scrollbar/index.js.gz +0 -0
  190. package/packages/components/search/index.js +98 -107
  191. package/packages/components/search/index.js.gz +0 -0
  192. package/packages/components/search-form/index.js +1314 -1556
  193. package/packages/components/search-form/index.js.gz +0 -0
  194. package/packages/components/search-form/style.css +1 -1
  195. package/packages/components/search-form/style.css.gz +0 -0
  196. package/packages/components/select/index.js +536 -605
  197. package/packages/components/select/index.js.gz +0 -0
  198. package/packages/components/select/style.css +1 -1
  199. package/packages/components/select/style.css.gz +0 -0
  200. package/packages/components/select-input/index.js +78 -79
  201. package/packages/components/select-input/index.js.gz +0 -0
  202. package/packages/components/select-list/index.js +541 -598
  203. package/packages/components/select-list/index.js.gz +0 -0
  204. package/packages/components/select-list/style.css +1 -1
  205. package/packages/components/select-list/style.css.gz +0 -0
  206. package/packages/components/special-range-picker-month/index.js +194 -289
  207. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  208. package/packages/components/special-range-picker-month/style.css +1 -1
  209. package/packages/components/special-range-picker-month/style.css.gz +0 -0
  210. package/packages/components/special-range-picker-year/index.js +256 -389
  211. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  212. package/packages/components/special-range-picker-year/style.css +1 -1
  213. package/packages/components/special-range-picker-year/style.css.gz +0 -0
  214. package/packages/components/spin/index.js +45 -58
  215. package/packages/components/spin/index.js.gz +0 -0
  216. package/packages/components/split-panel/index.d.ts +8 -8
  217. package/packages/components/split-panel/index.js +134 -192
  218. package/packages/components/split-panel/index.js.gz +0 -0
  219. package/packages/components/step/index.js +0 -1
  220. package/packages/components/step/index.js.gz +0 -0
  221. package/packages/components/steps/index.js +6 -13
  222. package/packages/components/switch/index.js +11 -17
  223. package/packages/components/switch/index.js.gz +0 -0
  224. package/packages/components/switch/style.css +1 -1
  225. package/packages/components/switch/style.css.gz +0 -0
  226. package/packages/components/table/index.d.ts +103 -103
  227. package/packages/components/table/index.js +2935 -3461
  228. package/packages/components/table/index.js.gz +0 -0
  229. package/packages/components/table/src/Table.vue.d.ts +9 -9
  230. package/packages/components/tabs/index.js +169 -235
  231. package/packages/components/tabs/index.js.gz +0 -0
  232. package/packages/components/tag/index.js +11 -25
  233. package/packages/components/tag/index.js.gz +0 -0
  234. package/packages/components/time-line/index.js +49 -69
  235. package/packages/components/time-line/index.js.gz +0 -0
  236. package/packages/components/tooltip/index.d.ts +6 -6
  237. package/packages/components/tooltip/index.js +74 -125
  238. package/packages/components/tooltip/index.js.gz +0 -0
  239. package/packages/components/tooltip/style.css +1 -1
  240. package/packages/components/tooltip/style.css.gz +0 -0
  241. package/packages/components/tree/index.js +846 -1013
  242. package/packages/components/tree/index.js.gz +0 -0
  243. package/packages/components/tree-select/index.js +376 -404
  244. package/packages/components/tree-select/index.js.gz +0 -0
  245. package/packages/components/tree-select/src/App.vue.d.ts +12 -12
  246. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +12 -12
  247. package/packages/components/tree-table/index.d.ts +2 -2
  248. package/packages/components/tree-table/index.js +294 -400
  249. package/packages/components/tree-table/index.js.gz +0 -0
  250. package/packages/components/tree-v2/index.js +2409 -2663
  251. package/packages/components/tree-v2/index.js.gz +0 -0
  252. package/packages/components/tree-v2/src/App.vue.d.ts +143 -141
  253. package/packages/components/tree-v2/style.css +2 -2
  254. package/packages/components/tree-v2/style.css.gz +0 -0
  255. package/packages/components/upload/index.js +135 -208
  256. package/packages/components/upload/index.js.gz +0 -0
  257. package/packages/components/virtual-tree/index.js +136 -191
  258. package/packages/components/virtual-tree/index.js.gz +0 -0
  259. package/packages/components/virtual-tree/src/App.vue.d.ts +140 -140
  260. package/packages/components/watermark/index.js +6 -13
  261. package/packages/icons/1-grids/index.js +0 -1
  262. package/packages/icons/1-grids/index.js.gz +0 -0
  263. package/packages/icons/4-grids/index.js +0 -1
  264. package/packages/icons/4-grids/index.js.gz +0 -0
  265. package/packages/icons/9-grids/index.js +0 -1
  266. package/packages/icons/9-grids/index.js.gz +0 -0
  267. package/packages/icons/add/index.js +0 -1
  268. package/packages/icons/add/index.js.gz +0 -0
  269. package/packages/icons/add-2/index.js +0 -1
  270. package/packages/icons/add-item/index.js +0 -1
  271. package/packages/icons/add-item/index.js.gz +0 -0
  272. package/packages/icons/addto/index.js +0 -1
  273. package/packages/icons/addto/index.js.gz +0 -0
  274. package/packages/icons/alarm/index.js +0 -1
  275. package/packages/icons/alarm/index.js.gz +0 -0
  276. package/packages/icons/arrow-first/index.js +0 -1
  277. package/packages/icons/arrow-first/index.js.gz +0 -0
  278. package/packages/icons/arrow-last/index.js +0 -1
  279. package/packages/icons/arrow-last/index.js.gz +0 -0
  280. package/packages/icons/audioing/index.js +0 -1
  281. package/packages/icons/audioing/index.js.gz +0 -0
  282. package/packages/icons/back/index.js +0 -1
  283. package/packages/icons/back/index.js.gz +0 -0
  284. package/packages/icons/bianjigongzuotai/index.js +0 -1
  285. package/packages/icons/bianjigongzuotai/index.js.gz +0 -0
  286. package/packages/icons/biaochi/index.js +0 -1
  287. package/packages/icons/biaochi/index.js.gz +0 -0
  288. package/packages/icons/bim/index.js +0 -1
  289. package/packages/icons/bim/index.js.gz +0 -0
  290. package/packages/icons/bobaoguanbi/index.js +0 -1
  291. package/packages/icons/bobaoguanbi/index.js.gz +0 -0
  292. package/packages/icons/bobaokaiqi/index.js +0 -1
  293. package/packages/icons/bobaokaiqi/index.js.gz +0 -0
  294. package/packages/icons/bold/index.js +0 -1
  295. package/packages/icons/bold/index.js.gz +0 -0
  296. package/packages/icons/camera/index.js +0 -1
  297. package/packages/icons/camera/index.js.gz +0 -0
  298. package/packages/icons/camera-2/index.js +0 -1
  299. package/packages/icons/camera-2/index.js.gz +0 -0
  300. package/packages/icons/camera-3/index.js +0 -1
  301. package/packages/icons/camera-3/index.js.gz +0 -0
  302. package/packages/icons/cancel-full-screen/index.js +0 -1
  303. package/packages/icons/cancel-full-screen/index.js.gz +0 -0
  304. package/packages/icons/cankaoneirong/index.js +0 -1
  305. package/packages/icons/cankaoneirong/index.js.gz +0 -0
  306. package/packages/icons/card/index.js +0 -1
  307. package/packages/icons/card/index.js.gz +0 -0
  308. package/packages/icons/card-view/index.js +0 -1
  309. package/packages/icons/card-view/index.js.gz +0 -0
  310. package/packages/icons/caret-bottom/index.js +0 -1
  311. package/packages/icons/caret-bottom/index.js.gz +0 -0
  312. package/packages/icons/caret-right/index.js +0 -1
  313. package/packages/icons/chakancelve/index.js +0 -1
  314. package/packages/icons/chakancelve/index.js.gz +0 -0
  315. package/packages/icons/change/index.js +0 -1
  316. package/packages/icons/change/index.js.gz +0 -0
  317. package/packages/icons/change-2/index.js +0 -1
  318. package/packages/icons/change-2/index.js.gz +0 -0
  319. package/packages/icons/change-3/index.js +0 -1
  320. package/packages/icons/change-3/index.js.gz +0 -0
  321. package/packages/icons/changetenant/index.js +0 -1
  322. package/packages/icons/changetenant/index.js.gz +0 -0
  323. package/packages/icons/chart/index.js +0 -1
  324. package/packages/icons/chart/index.js.gz +0 -0
  325. package/packages/icons/chaxunxiangqing/index.js +0 -1
  326. package/packages/icons/chaxunxiangqing/index.js.gz +0 -0
  327. package/packages/icons/check/index.js +0 -1
  328. package/packages/icons/check/index.js.gz +0 -0
  329. package/packages/icons/chuanglianjiang/index.js +0 -1
  330. package/packages/icons/chuanglianjiang/index.js.gz +0 -0
  331. package/packages/icons/chuangliansheng/index.js +0 -1
  332. package/packages/icons/chuangliansheng/index.js.gz +0 -0
  333. package/packages/icons/chuanglianting/index.js +0 -1
  334. package/packages/icons/chuanglianting/index.js.gz +0 -0
  335. package/packages/icons/chuizhiduiqi/index.js +0 -1
  336. package/packages/icons/chuizhiduiqi/index.js.gz +0 -0
  337. package/packages/icons/chuizhijunfen/index.js +0 -1
  338. package/packages/icons/chuizhijunfen/index.js.gz +0 -0
  339. package/packages/icons/close/index.js +0 -1
  340. package/packages/icons/close/index.js.gz +0 -0
  341. package/packages/icons/close-2/index.js +0 -1
  342. package/packages/icons/close-2/index.js.gz +0 -0
  343. package/packages/icons/closeaudio/index.js +0 -1
  344. package/packages/icons/closeaudio/index.js.gz +0 -0
  345. package/packages/icons/color/index.js +0 -1
  346. package/packages/icons/color/index.js.gz +0 -0
  347. package/packages/icons/copy/index.js +0 -1
  348. package/packages/icons/copy/index.js.gz +0 -0
  349. package/packages/icons/custom/index.js +0 -1
  350. package/packages/icons/custom/index.js.gz +0 -0
  351. package/packages/icons/daochu/index.js +0 -1
  352. package/packages/icons/daochu/index.js.gz +0 -0
  353. package/packages/icons/date/index.js +0 -1
  354. package/packages/icons/date/index.js.gz +0 -0
  355. package/packages/icons/decline/index.js +0 -1
  356. package/packages/icons/decline/index.js.gz +0 -0
  357. package/packages/icons/default-btn/index.js +0 -1
  358. package/packages/icons/default-btn/index.js.gz +0 -0
  359. package/packages/icons/default-point/index.js +0 -1
  360. package/packages/icons/default-point/index.js.gz +0 -0
  361. package/packages/icons/delete/index.js +0 -1
  362. package/packages/icons/delete/index.js.gz +0 -0
  363. package/packages/icons/delete-2/index.js +0 -1
  364. package/packages/icons/delete-2/index.js.gz +0 -0
  365. package/packages/icons/dengbijiesuo/index.js +0 -1
  366. package/packages/icons/dengbisuoding/index.js +0 -1
  367. package/packages/icons/dengdai/index.js +0 -1
  368. package/packages/icons/dengdai/index.js.gz +0 -0
  369. package/packages/icons/dianzan/index.js +0 -1
  370. package/packages/icons/dianzan/index.js.gz +0 -0
  371. package/packages/icons/dianzan-2/index.js +0 -1
  372. package/packages/icons/dianzan-2/index.js.gz +0 -0
  373. package/packages/icons/direction-control/index.js +0 -1
  374. package/packages/icons/direction-control/index.js.gz +0 -0
  375. package/packages/icons/ditu/index.js +0 -1
  376. package/packages/icons/ditu/index.js.gz +0 -0
  377. package/packages/icons/dizhixuanze/index.js +0 -1
  378. package/packages/icons/dizhixuanze/index.js.gz +0 -0
  379. package/packages/icons/double-arrow-left/index.js +0 -1
  380. package/packages/icons/double-arrow-left/index.js.gz +0 -0
  381. package/packages/icons/double-arrow-right/index.js +0 -1
  382. package/packages/icons/double-arrow-right/index.js.gz +0 -0
  383. package/packages/icons/down/index.js +0 -1
  384. package/packages/icons/down/index.js.gz +0 -0
  385. package/packages/icons/down-2/index.js +0 -1
  386. package/packages/icons/down-3/index.js +0 -1
  387. package/packages/icons/download/index.js +0 -1
  388. package/packages/icons/download/index.js.gz +0 -0
  389. package/packages/icons/drag/index.js +0 -1
  390. package/packages/icons/drag/index.js.gz +0 -0
  391. package/packages/icons/drawing/index.js +0 -1
  392. package/packages/icons/drawing/index.js.gz +0 -0
  393. package/packages/icons/edit/index.js +0 -1
  394. package/packages/icons/edit/index.js.gz +0 -0
  395. package/packages/icons/edit-1/index.js +0 -1
  396. package/packages/icons/edit-1/index.js.gz +0 -0
  397. package/packages/icons/edit-3/index.js +0 -1
  398. package/packages/icons/edit-3/index.js.gz +0 -0
  399. package/packages/icons/empty/index.js +0 -1
  400. package/packages/icons/empty/index.js.gz +0 -0
  401. package/packages/icons/enlarge/index.js +0 -1
  402. package/packages/icons/enlarge/index.js.gz +0 -0
  403. package/packages/icons/entry/index.js +0 -1
  404. package/packages/icons/entry/index.js.gz +0 -0
  405. package/packages/icons/exit/index.js +0 -1
  406. package/packages/icons/exit/index.js.gz +0 -0
  407. package/packages/icons/fabu/index.js +0 -1
  408. package/packages/icons/fabu/index.js.gz +0 -0
  409. package/packages/icons/fanhui/index.js +0 -1
  410. package/packages/icons/fanhui/index.js.gz +0 -0
  411. package/packages/icons/fasong/index.js +0 -1
  412. package/packages/icons/fasong/index.js.gz +0 -0
  413. package/packages/icons/filter-3/index.js +0 -1
  414. package/packages/icons/filter-3/index.js.gz +0 -0
  415. package/packages/icons/finish/index.js +0 -1
  416. package/packages/icons/finish/index.js.gz +0 -0
  417. package/packages/icons/fold/index.js +0 -1
  418. package/packages/icons/fold/index.js.gz +0 -0
  419. package/packages/icons/folder-quest/index.js +0 -1
  420. package/packages/icons/folder-quest/index.js.gz +0 -0
  421. package/packages/icons/form-tips/index.js +0 -1
  422. package/packages/icons/form-tips/index.js.gz +0 -0
  423. package/packages/icons/fresh/index.js +0 -1
  424. package/packages/icons/fresh/index.js.gz +0 -0
  425. package/packages/icons/full/index.js +0 -1
  426. package/packages/icons/full/index.js.gz +0 -0
  427. package/packages/icons/full-screen/index.js +0 -1
  428. package/packages/icons/full-screen/index.js.gz +0 -0
  429. package/packages/icons/fullscreen-2/index.js +0 -1
  430. package/packages/icons/fullscreen-2/index.js.gz +0 -0
  431. package/packages/icons/fuzhi/index.js +0 -1
  432. package/packages/icons/fuzhi/index.js.gz +0 -0
  433. package/packages/icons/fuzhineirong/index.js +0 -1
  434. package/packages/icons/fuzhineirong/index.js.gz +0 -0
  435. package/packages/icons/gaojin/index.js +0 -1
  436. package/packages/icons/gaojin/index.js.gz +0 -0
  437. package/packages/icons/gengduocaozuo/index.js +0 -1
  438. package/packages/icons/global/index.js +0 -1
  439. package/packages/icons/global/index.js.gz +0 -0
  440. package/packages/icons/gongzuotaiguanli/index.js +0 -1
  441. package/packages/icons/gongzuotaiguanli/index.js.gz +0 -0
  442. package/packages/icons/header-seach/index.js +0 -1
  443. package/packages/icons/header-seach/index.js.gz +0 -0
  444. package/packages/icons/header-setting/index.js +0 -1
  445. package/packages/icons/header-setting/index.js.gz +0 -0
  446. package/packages/icons/headersettings/index.js +0 -1
  447. package/packages/icons/headersettings/index.js.gz +0 -0
  448. package/packages/icons/hide/index.js +0 -1
  449. package/packages/icons/hide/index.js.gz +0 -0
  450. package/packages/icons/huabufuwei/index.js +0 -1
  451. package/packages/icons/huabufuwei/index.js.gz +0 -0
  452. package/packages/icons/huaxian/index.js +0 -1
  453. package/packages/icons/huaxian/index.js.gz +0 -0
  454. package/packages/icons/huida/index.js +0 -1
  455. package/packages/icons/huida/index.js.gz +0 -0
  456. package/packages/icons/huidaodibu/index.js +0 -1
  457. package/packages/icons/huidaodibu/index.js.gz +0 -0
  458. package/packages/icons/huifuchuchangshezhi/index.js +0 -1
  459. package/packages/icons/huifuchuchangshezhi/index.js.gz +0 -0
  460. package/packages/icons/hyperlinks/index.js +0 -1
  461. package/packages/icons/hyperlinks/index.js.gz +0 -0
  462. package/packages/icons/img/index.js +0 -1
  463. package/packages/icons/img/index.js.gz +0 -0
  464. package/packages/icons/input-close/index.js +0 -1
  465. package/packages/icons/input-close/index.js.gz +0 -0
  466. package/packages/icons/input-select/index.js +0 -1
  467. package/packages/icons/input-select/index.js.gz +0 -0
  468. package/packages/icons/intnet/index.js +0 -1
  469. package/packages/icons/intnet/index.js.gz +0 -0
  470. package/packages/icons/italic/index.js +0 -1
  471. package/packages/icons/italic/index.js.gz +0 -0
  472. package/packages/icons/jia-1/index.js +0 -1
  473. package/packages/icons/jia-1/index.js.gz +0 -0
  474. package/packages/icons/jian-1/index.js +0 -1
  475. package/packages/icons/jianshao-1/index.js +0 -1
  476. package/packages/icons/jinggao/index.js +0 -1
  477. package/packages/icons/jinggao/index.js.gz +0 -0
  478. package/packages/icons/jushangduiqi/index.js +0 -1
  479. package/packages/icons/jushangduiqi/index.js.gz +0 -0
  480. package/packages/icons/juxiaduiqi/index.js +0 -1
  481. package/packages/icons/juxiaduiqi/index.js.gz +0 -0
  482. package/packages/icons/juxinghuizhi/index.js +0 -1
  483. package/packages/icons/juxinghuizhi/index.js.gz +0 -0
  484. package/packages/icons/juyouduiqi/index.js +0 -1
  485. package/packages/icons/juyouduiqi/index.js.gz +0 -0
  486. package/packages/icons/juzuoduiqi/index.js +0 -1
  487. package/packages/icons/juzuoduiqi/index.js.gz +0 -0
  488. package/packages/icons/kaiguan/index.js +0 -1
  489. package/packages/icons/kaiguan/index.js.gz +0 -0
  490. package/packages/icons/kaimen/index.js +0 -1
  491. package/packages/icons/kaimen/index.js.gz +0 -0
  492. package/packages/icons/know/index.js +0 -1
  493. package/packages/icons/know/index.js.gz +0 -0
  494. package/packages/icons/knowed/index.js +0 -1
  495. package/packages/icons/knowed/index.js.gz +0 -0
  496. package/packages/icons/knowopen/index.js +0 -1
  497. package/packages/icons/knowopen/index.js.gz +0 -0
  498. package/packages/icons/layout-refresh/index.js +0 -1
  499. package/packages/icons/layout-refresh/index.js.gz +0 -0
  500. package/packages/icons/left/index.js +0 -1
  501. package/packages/icons/lianjie/index.js +0 -1
  502. package/packages/icons/lianjie/index.js.gz +0 -0
  503. package/packages/icons/link/index.js +0 -1
  504. package/packages/icons/link/index.js.gz +0 -0
  505. package/packages/icons/lishihuihua/index.js +0 -1
  506. package/packages/icons/lishihuihua/index.js.gz +0 -0
  507. package/packages/icons/list/index.js +0 -1
  508. package/packages/icons/list/index.js.gz +0 -0
  509. package/packages/icons/list-view/index.js +0 -1
  510. package/packages/icons/list-view/index.js.gz +0 -0
  511. package/packages/icons/load/index.js +0 -1
  512. package/packages/icons/load/index.js.gz +0 -0
  513. package/packages/icons/lock/index.js +0 -1
  514. package/packages/icons/lock/index.js.gz +0 -0
  515. package/packages/icons/marsh/index.js +0 -1
  516. package/packages/icons/me/index.js +0 -1
  517. package/packages/icons/me/index.js.gz +0 -0
  518. package/packages/icons/more/index.js +0 -1
  519. package/packages/icons/more/index.js.gz +0 -0
  520. package/packages/icons/more-2/index.js +0 -1
  521. package/packages/icons/more-btn/index.js +0 -1
  522. package/packages/icons/more-btn/index.js.gz +0 -0
  523. package/packages/icons/muted/index.js +0 -1
  524. package/packages/icons/muted/index.js.gz +0 -0
  525. package/packages/icons/notification-face/index.js +0 -1
  526. package/packages/icons/notification-face/index.js.gz +0 -0
  527. package/packages/icons/paiban/index.js +0 -1
  528. package/packages/icons/paiban/index.js.gz +0 -0
  529. package/packages/icons/password-lock/index.js +0 -1
  530. package/packages/icons/password-lock/index.js.gz +0 -0
  531. package/packages/icons/password-lock2/index.js +0 -1
  532. package/packages/icons/password-lock2/index.js.gz +0 -0
  533. package/packages/icons/pause/index.js +0 -1
  534. package/packages/icons/pause/index.js.gz +0 -0
  535. package/packages/icons/phone/index.js +0 -1
  536. package/packages/icons/phone/index.js.gz +0 -0
  537. package/packages/icons/pinglun/index.js +0 -1
  538. package/packages/icons/pinglun/index.js.gz +0 -0
  539. package/packages/icons/plan/index.js +0 -1
  540. package/packages/icons/plan/index.js.gz +0 -0
  541. package/packages/icons/play/index.js +0 -1
  542. package/packages/icons/play/index.js.gz +0 -0
  543. package/packages/icons/preview/index.js +0 -1
  544. package/packages/icons/preview/index.js.gz +0 -0
  545. package/packages/icons/preview-eye/index.js +0 -1
  546. package/packages/icons/preview-eye/index.js.gz +0 -0
  547. package/packages/icons/project-list/index.js +0 -1
  548. package/packages/icons/project-list/index.js.gz +0 -0
  549. package/packages/icons/project-tree/index.js +0 -1
  550. package/packages/icons/project-tree/index.js.gz +0 -0
  551. package/packages/icons/promptinformation-l/index.js +0 -1
  552. package/packages/icons/promptinformation-l/index.js.gz +0 -0
  553. package/packages/icons/qiehuangongzuotai/index.js +0 -1
  554. package/packages/icons/qiehuangongzuotai/index.js.gz +0 -0
  555. package/packages/icons/qingkong/index.js +0 -1
  556. package/packages/icons/qingkong/index.js.gz +0 -0
  557. package/packages/icons/quanping/index.js +0 -1
  558. package/packages/icons/quanping/index.js.gz +0 -0
  559. package/packages/icons/rate-all/index.js +0 -1
  560. package/packages/icons/rate-all/index.js.gz +0 -0
  561. package/packages/icons/rate-half/index.js +0 -1
  562. package/packages/icons/rate-half/index.js.gz +0 -0
  563. package/packages/icons/rate-none/index.js +0 -1
  564. package/packages/icons/rate-none/index.js.gz +0 -0
  565. package/packages/icons/recover/index.js +0 -1
  566. package/packages/icons/recover/index.js.gz +0 -0
  567. package/packages/icons/refresh/index.js +0 -1
  568. package/packages/icons/refresh/index.js.gz +0 -0
  569. package/packages/icons/reload/index.js +0 -1
  570. package/packages/icons/reload/index.js.gz +0 -0
  571. package/packages/icons/reset/index.js +0 -1
  572. package/packages/icons/reset/index.js.gz +0 -0
  573. package/packages/icons/right/index.js +0 -1
  574. package/packages/icons/right-3/index.js +0 -1
  575. package/packages/icons/right-3/index.js.gz +0 -0
  576. package/packages/icons/riqixuanze/index.js +0 -1
  577. package/packages/icons/riqixuanze/index.js.gz +0 -0
  578. package/packages/icons/rise/index.js +0 -1
  579. package/packages/icons/rise/index.js.gz +0 -0
  580. package/packages/icons/save/index.js +0 -1
  581. package/packages/icons/save/index.js.gz +0 -0
  582. package/packages/icons/screenshot/index.js +0 -1
  583. package/packages/icons/screenshot/index.js.gz +0 -0
  584. package/packages/icons/search/index.js +0 -1
  585. package/packages/icons/search/index.js.gz +0 -0
  586. package/packages/icons/select/index.js +0 -1
  587. package/packages/icons/select-confirm/index.js +0 -1
  588. package/packages/icons/select-confirm/index.js.gz +0 -0
  589. package/packages/icons/select2/index.js +0 -1
  590. package/packages/icons/set-up/index.js +0 -1
  591. package/packages/icons/set-up/index.js.gz +0 -0
  592. package/packages/icons/setting/index.js +0 -1
  593. package/packages/icons/setting/index.js.gz +0 -0
  594. package/packages/icons/shangchuan/index.js +0 -1
  595. package/packages/icons/shangchuan/index.js.gz +0 -0
  596. package/packages/icons/shebei/index.js +0 -1
  597. package/packages/icons/shebei/index.js.gz +0 -0
  598. package/packages/icons/shebeiqunzu/index.js +0 -1
  599. package/packages/icons/shebeiqunzu/index.js.gz +0 -0
  600. package/packages/icons/shendusikao/index.js +0 -1
  601. package/packages/icons/shendusikao/index.js.gz +0 -0
  602. package/packages/icons/sheweimoren/index.js +0 -1
  603. package/packages/icons/sheweimoren/index.js.gz +0 -0
  604. package/packages/icons/shisuan/index.js +0 -1
  605. package/packages/icons/shisuan/index.js.gz +0 -0
  606. package/packages/icons/shitu-kapian/index.js +0 -1
  607. package/packages/icons/shitu-kapian/index.js.gz +0 -0
  608. package/packages/icons/shitu-liebiao/index.js +0 -1
  609. package/packages/icons/shitu-map/index.js +0 -1
  610. package/packages/icons/shitu-map/index.js.gz +0 -0
  611. package/packages/icons/shortcut-keys/index.js +0 -1
  612. package/packages/icons/shortcut-keys/index.js.gz +0 -0
  613. package/packages/icons/shoudongzhihang/index.js +0 -1
  614. package/packages/icons/shoudongzhihang/index.js.gz +0 -0
  615. package/packages/icons/shouqiliangcemianban/index.js +0 -1
  616. package/packages/icons/shouqiyoucemianban/index.js +0 -1
  617. package/packages/icons/shouqiyoucemianban-1/index.js +0 -1
  618. package/packages/icons/shouqiyoucemianban-1/index.js.gz +0 -0
  619. package/packages/icons/shouqizuocemianban/index.js +0 -1
  620. package/packages/icons/shouqizuocemianban-1/index.js +0 -1
  621. package/packages/icons/shouqizuocemianban-1/index.js.gz +0 -0
  622. package/packages/icons/shouquan/index.js +0 -1
  623. package/packages/icons/shouquan/index.js.gz +0 -0
  624. package/packages/icons/show/index.js +0 -1
  625. package/packages/icons/show/index.js.gz +0 -0
  626. package/packages/icons/shrink/index.js +0 -1
  627. package/packages/icons/shrink/index.js.gz +0 -0
  628. package/packages/icons/shuaxin/index.js +0 -1
  629. package/packages/icons/shuaxin/index.js.gz +0 -0
  630. package/packages/icons/shuipingduiqi/index.js +0 -1
  631. package/packages/icons/shuipingduiqi/index.js.gz +0 -0
  632. package/packages/icons/shuipingjunfen/index.js +0 -1
  633. package/packages/icons/shuipingjunfen/index.js.gz +0 -0
  634. package/packages/icons/shuyoufanye/index.js +0 -1
  635. package/packages/icons/shuyoufanye/index.js.gz +0 -0
  636. package/packages/icons/shuzuofanye/index.js +0 -1
  637. package/packages/icons/shuzuofanye/index.js.gz +0 -0
  638. package/packages/icons/solid-filter/index.js +0 -1
  639. package/packages/icons/solid-filter/index.js.gz +0 -0
  640. package/packages/icons/start/index.js +0 -1
  641. package/packages/icons/start/index.js.gz +0 -0
  642. package/packages/icons/stop/index.js +0 -1
  643. package/packages/icons/stop/index.js.gz +0 -0
  644. package/packages/icons/structural-diagram/index.js +0 -1
  645. package/packages/icons/structural-diagram/index.js.gz +0 -0
  646. package/packages/icons/success/index.js +0 -1
  647. package/packages/icons/system/index.js +0 -1
  648. package/packages/icons/system/index.js.gz +0 -0
  649. package/packages/icons/table-header-search/index.js +0 -1
  650. package/packages/icons/table-header-search/index.js.gz +0 -0
  651. package/packages/icons/text/index.js +0 -1
  652. package/packages/icons/text/index.js.gz +0 -0
  653. package/packages/icons/theme-set-icon/index.js +0 -1
  654. package/packages/icons/theme-set-icon/index.js.gz +0 -0
  655. package/packages/icons/tianjiaxinhuati/index.js +0 -1
  656. package/packages/icons/tianjiaxinhuati/index.js.gz +0 -0
  657. package/packages/icons/tick/index.js +0 -1
  658. package/packages/icons/tick/index.js.gz +0 -0
  659. package/packages/icons/tishixinxi/index.js +0 -1
  660. package/packages/icons/tishixinxi/index.js.gz +0 -0
  661. package/packages/icons/tongguo/index.js +0 -1
  662. package/packages/icons/tongguo/index.js.gz +0 -0
  663. package/packages/icons/tongzhi/index.js +0 -1
  664. package/packages/icons/tongzhi/index.js.gz +0 -0
  665. package/packages/icons/tubiaoku/index.js +0 -1
  666. package/packages/icons/tubiaoku/index.js.gz +0 -0
  667. package/packages/icons/tuichuquanping/index.js +0 -1
  668. package/packages/icons/tuichuquanping/index.js.gz +0 -0
  669. package/packages/icons/tuozhuai/index.js +0 -1
  670. package/packages/icons/tuozhuai/index.js.gz +0 -0
  671. package/packages/icons/underline/index.js +0 -1
  672. package/packages/icons/underline/index.js.gz +0 -0
  673. package/packages/icons/unflod/index.js +0 -1
  674. package/packages/icons/unflod/index.js.gz +0 -0
  675. package/packages/icons/unlock/index.js +0 -1
  676. package/packages/icons/unlock/index.js.gz +0 -0
  677. package/packages/icons/up/index.js +0 -1
  678. package/packages/icons/up/index.js.gz +0 -0
  679. package/packages/icons/up-2/index.js +0 -1
  680. package/packages/icons/up-2/index.js.gz +0 -0
  681. package/packages/icons/vauth/index.js +0 -1
  682. package/packages/icons/vauth/index.js.gz +0 -0
  683. package/packages/icons/view/index.js +0 -1
  684. package/packages/icons/view/index.js.gz +0 -0
  685. package/packages/icons/view-2/index.js +0 -1
  686. package/packages/icons/view-2/index.js.gz +0 -0
  687. package/packages/icons/volume/index.js +0 -1
  688. package/packages/icons/volume/index.js.gz +0 -0
  689. package/packages/icons/wangge/index.js +0 -1
  690. package/packages/icons/wangge/index.js.gz +0 -0
  691. package/packages/icons/wangge-1/index.js +0 -1
  692. package/packages/icons/wangge-1/index.js.gz +0 -0
  693. package/packages/icons/warning/index.js +0 -1
  694. package/packages/icons/warning/index.js.gz +0 -0
  695. package/packages/icons/warning-face/index.js +0 -1
  696. package/packages/icons/warning-face/index.js.gz +0 -0
  697. package/packages/icons/wendujiang/index.js +0 -1
  698. package/packages/icons/wendujiang/index.js.gz +0 -0
  699. package/packages/icons/wendusheng/index.js +0 -1
  700. package/packages/icons/wendusheng/index.js.gz +0 -0
  701. package/packages/icons/withdraw/index.js +0 -1
  702. package/packages/icons/withdraw/index.js.gz +0 -0
  703. package/packages/icons/xiala/index.js +0 -1
  704. package/packages/icons/xiazai/index.js +0 -1
  705. package/packages/icons/xiazai/index.js.gz +0 -0
  706. package/packages/icons/xinzengtongji/index.js +0 -1
  707. package/packages/icons/xinzengtongji/index.js.gz +0 -0
  708. package/packages/icons/xuanzhuanjiaodu/index.js +0 -1
  709. package/packages/icons/xuanzhuanjiaodu/index.js.gz +0 -0
  710. package/packages/icons/yidongduan/index.js +0 -1
  711. package/packages/icons/yidongduan/index.js.gz +0 -0
  712. package/packages/icons/yincang/index.js +0 -1
  713. package/packages/icons/yincang/index.js.gz +0 -0
  714. package/packages/icons/yingpian/index.js +0 -1
  715. package/packages/icons/yingpian/index.js.gz +0 -0
  716. package/packages/icons/yingyong/index.js +0 -1
  717. package/packages/icons/yingyong/index.js.gz +0 -0
  718. package/packages/icons/yitushoutu/index.js +0 -1
  719. package/packages/icons/yitushoutu/index.js.gz +0 -0
  720. package/packages/icons/yuanxinghuizhi/index.js +0 -1
  721. package/packages/icons/yuanxinghuizhi/index.js.gz +0 -0
  722. package/packages/icons/yulan-2/index.js +0 -1
  723. package/packages/icons/yulan-2/index.js.gz +0 -0
  724. package/packages/icons/yuyin/index.js +0 -1
  725. package/packages/icons/yuyin/index.js.gz +0 -0
  726. package/packages/icons/zhangaiwu/index.js +0 -1
  727. package/packages/icons/zhangaiwu/index.js.gz +0 -0
  728. package/packages/icons/zhizhen/index.js +0 -1
  729. package/packages/icons/zhizhen/index.js.gz +0 -0
  730. package/packages/icons/zhongxinshengcheng/index.js +0 -1
  731. package/packages/icons/zhongxinshengcheng/index.js.gz +0 -0
  732. package/packages/icons/zhuomianduan/index.js +0 -1
  733. package/packages/icons/zhuomianduan/index.js.gz +0 -0
  734. package/packages/icons/zidingyihuizhi/index.js +0 -1
  735. package/packages/icons/zidingyihuizhi/index.js.gz +0 -0
  736. package/packages/icons/zuobiao/index.js +0 -1
  737. package/packages/icons/zuobiao/index.js.gz +0 -0
  738. package/presets/theme-cjb.css +321 -321
  739. package/presets/theme-default.css +321 -321
  740. package/presets/theme-dkh.css +321 -321
  741. package/presets/theme-ssl.css +321 -321
  742. package/release-meta.json +4 -4
  743. package/theme-default.css +321 -321
  744. package/packages/business-components/ai-panel/index-C1XseEkL.js +0 -182
  745. package/packages/business-components/ai-panel/index-C1XseEkL.js.gz +0 -0
  746. package/packages/business-components/ai-panel/index-DCyDBdoc.js.gz +0 -0
  747. package/packages/business-components/ai-panel/index-_XzaXcle.js.gz +0 -0
  748. package/packages/icons/caret-right/index.js.gz +0 -0
  749. package/packages/icons/shouqiyoucemianban/index.js.gz +0 -0
  750. package/packages/icons/shouqizuocemianban/index.js.gz +0 -0
@@ -1,34 +1,34 @@
1
- import { withInstall as tl } from "@das-fed/upf-utils/with-install/index";
2
- import { defineComponent as ol, useCssVars as lt, useAttrs as tt, computed as s, ref as i, watch as U, useSlots as ot, onMounted as Ae, onUnmounted as Qe, watchEffect as Ye, nextTick as C, resolveComponent as nt, openBlock as v, createElementBlock as y, normalizeClass as at, normalizeStyle as j, withModifiers as se, createBlock as K, unref as c, createCommentVNode as V, withDirectives as Te, mergeProps as _e, createSlots as rt, withCtx as h, renderSlot as w, normalizeProps as ue, guardReactiveProps as ie, Fragment as ke, createTextVNode as Ie, toDisplayString as Z, createElementVNode as b, createVNode as k, withKeys as st } from "vue";
3
- import { Select as ut, Tag as Ve } from "ant-design-vue";
4
- import { DasCheckbox as el } from "@das-fed/upf-ui/packages/components/checkbox/index";
5
- import { vScrollbar as it } from "@das-fed/upf-ui/packages/components/scrollbar/index";
6
- import { DasTooltip as dt } from "@das-fed/upf-ui/packages/components/tooltip/index";
7
- import { vDasTooltip as ll } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
8
- import { DasInput as ct } from "@das-fed/upf-ui/packages/components/input/index";
9
- import { DasIconXiala as ft } from "@das-fed/upf-ui/packages/icons/xiala/index";
10
- import { DasIconEmpty as vt } from "@das-fed/upf-ui/packages/icons/empty/index";
11
- import { DasErrorOverlayModel as pt } from "@das-fed/upf-ui/packages/components/error-overlay-model/index";
12
- import { vHoverInside as ht } from "@das-fed/upf-utils/directive";
13
- import { t as L, currentLang as mt, setI18nRule as gt } from "@das-fed/upf-web/packages/i18n/index";
14
- import { useZIndex as yt } from "@das-fed/upf-utils/hooks/popup-manager/use-zindex";
15
- import { useModelValue as bt } from "@das-fed/upf-utils/vue";
16
- import { calcTextWidth as St } from "@das-fed/upf-utils/common-tools";
1
+ import { withInstall as il } from "@das-fed/upf-utils/with-install/index";
2
+ import { defineComponent as cl, useCssVars as ct, useAttrs as dt, computed as s, ref as i, watch as Y, useSlots as ft, onMounted as Pe, onUnmounted as nl, watchEffect as al, nextTick as x, resolveComponent as vt, openBlock as v, createElementBlock as b, normalizeClass as pt, normalizeStyle as J, withModifiers as fe, createBlock as U, unref as d, createCommentVNode as Q, withDirectives as Me, mergeProps as Ee, createSlots as ht, withCtx as m, renderSlot as A, normalizeProps as ve, guardReactiveProps as pe, Fragment as rl, createTextVNode as Oe, toDisplayString as G, createVNode as I, createElementVNode as S, withKeys as mt } from "vue";
3
+ import { Select as gt, Tag as ze } from "ant-design-vue";
4
+ import { DasCheckbox as sl } from "@das-fed/upf-ui/packages/components/checkbox/index";
5
+ import { vScrollbar as yt } from "@das-fed/upf-ui/packages/components/scrollbar/index";
6
+ import { DasTooltip as bt } from "@das-fed/upf-ui/packages/components/tooltip/index";
7
+ import { vDasTooltip as ul } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
8
+ import { DasInput as St } from "@das-fed/upf-ui/packages/components/input/index";
9
+ import { DasIconXiala as Ct } from "@das-fed/upf-ui/packages/icons/xiala/index";
10
+ import { DasIconEmpty as wt } from "@das-fed/upf-ui/packages/icons/empty/index";
11
+ import { DasErrorOverlayModel as xt } from "@das-fed/upf-ui/packages/components/error-overlay-model/index";
12
+ import { vHoverInside as At } from "@das-fed/upf-utils/directive";
13
+ import { t as M, currentLang as Tt, setI18nRule as kt } from "@das-fed/upf-web/packages/i18n/index";
14
+ import { useZIndex as It } from "@das-fed/upf-utils/hooks/popup-manager/use-zindex";
15
+ import { useModelValue as Lt } from "@das-fed/upf-utils/vue";
16
+ import { calcTextWidth as Vt } from "@das-fed/upf-utils/common-tools";
17
17
  import "ant-design-vue/es/select/style/css";
18
18
  import "ant-design-vue/es/tag/style/css";
19
- import { SelectOption as Ct } from "ant-design-vue/es"
19
+ import { SelectOption as Pt } from "ant-design-vue/es"
20
20
  import '@das-fed/upf-ui/packages/components/select/style.css';
21
21
  ;
22
- const wt = { key: 0 }, xt = ["onClick"], At = { style: { display: "inline-block" } }, Tt = ["innerHTML"], kt = { key: 0 }, It = { key: 2 }, Vt = { style: { display: "inline-block" } }, _t = ["innerHTML"], Lt = ["innerHTML"], Mt = {
22
+ const Mt = { key: 0 }, Ot = ["onClick"], zt = { style: { display: "inline-block" } }, Et = ["innerHTML"], _t = { key: 0 }, Nt = { key: 2 }, $t = { style: { display: "inline-block" } }, Bt = ["innerHTML"], Dt = ["innerHTML"], Wt = {
23
23
  key: 0,
24
24
  class: "das-select-error-label-content das-select-label-content"
25
- }, Ot = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, zt = { class: "ant-select-selection-item" }, Pt = { class: "ant-select-selection-item-content" }, Et = ["innerHTML"], Nt = ol({
25
+ }, Ft = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Rt = { class: "ant-select-selection-item" }, Ht = { class: "ant-select-selection-item-content" }, qt = ["innerHTML"], Zt = cl({
26
26
  inheritAttrs: !1,
27
27
  components: {
28
- VNodes: (M, { attrs: N }) => N.vnodes
28
+ VNodes: (p, { attrs: N }) => N.vnodes
29
29
  }
30
- }), Dt = /* @__PURE__ */ ol({
31
- ...Nt,
30
+ }), Kt = /* @__PURE__ */ cl({
31
+ ...Zt,
32
32
  __name: "Select",
33
33
  props: {
34
34
  modelValue: { default: void 0 },
@@ -72,132 +72,156 @@ const wt = { key: 0 }, xt = ["onClick"], At = { style: { display: "inline-block"
72
72
  largeSelectionCollapseThreshold: { default: 200 }
73
73
  },
74
74
  emits: ["update:model-value", "change", "focus", "blur", "dropdownVisibleChange", "addCustomItem"],
75
- setup(M, { expose: N, emit: D }) {
76
- lt((e) => ({
77
- ed7cab80: Il.value,
78
- f5b6b826: Vl.value
75
+ setup(p, { expose: N, emit: $ }) {
76
+ ct((e) => ({
77
+ v2d34f3ba: Nl.value,
78
+ v5f9a89b3: $l.value
79
79
  }));
80
- const t = M, x = D, X = tt(), al = s(() => {
80
+ const t = p, T = $, ee = dt(), fl = s(() => {
81
81
  const e = {};
82
- for (const l in X)
83
- l === "size" || l === "formSize" || l === "onClick" || l.startsWith("onClick") || l === "filterOption" || l === "onSearch" || l === "onPopupScroll" || (e[l] = X[l]);
82
+ for (const l in ee)
83
+ l === "size" || l === "formSize" || l === "onClick" || l.startsWith("onClick") || l === "filterOption" || l === "onSearch" || l === "onPopupScroll" || (e[l] = ee[l]);
84
84
  return e;
85
- }), a = bt(t, "modelValue"), J = s(() => {
85
+ }), a = Lt(t, "modelValue"), le = s(() => {
86
86
  var e;
87
87
  return `<span class='key'>${((e = a.value) == null ? void 0 : e.length) ?? 0}</span>`;
88
- }), rl = s(() => {
88
+ }), vl = s(() => {
89
89
  const e = Array.isArray(a.value) ? a.value.length : a.value ? 1 : 0;
90
- return L("das-ui-select-selectedItemsCountWithPlaceholder", e);
91
- }), B = i(null), Le = i(null), g = i(!1), Q = s(() => t.isView ? t.noSetDefaultVal ? "" : "-" : t.placeholder || L("请选择")), de = s(() => B.value ? B.value.querySelector(".ant-select-selector") : null), $ = i(0), W = i(0), sl = s(() => de.value ? t.isTooltip && O.value ? !1 : !t.isTooltip || E.value || !je.value || !ye.value : !0), ul = s(() => (Array.isArray(a.value) ? a.value.length : a.value) ? je.value : Q.value), Me = () => {
90
+ return M("das-ui-select-selectedItemsCountWithPlaceholder", e);
91
+ }), B = i(null), _e = i(null), L = i(null), D = i(null);
92
+ let X = null, W = null;
93
+ const pl = () => {
94
+ if (!L.value || !D.value || !X) return;
95
+ const e = D.value.getBoundingClientRect(), l = e.left - X.left, n = e.top - X.top;
96
+ L.value.style.transform = `translate3d(${l}px, ${n}px, 0)`;
97
+ }, te = () => {
98
+ W === null && (W = requestAnimationFrame(() => {
99
+ W = null, pl();
100
+ }));
101
+ }, hl = () => {
102
+ var n;
103
+ const e = D.value ?? ((n = C.value) == null ? void 0 : n.$el);
104
+ e && !L.value && $e(e);
105
+ const l = L.value;
106
+ !e || !l || (D.value = e, X = e.getBoundingClientRect(), l.style.transform = "", l.style.zIndex = String(Te.value), document.addEventListener("scroll", te, !0), window.addEventListener("scroll", te, !0));
107
+ }, Ne = () => {
108
+ document.removeEventListener("scroll", te, !0), window.removeEventListener("scroll", te, !0), W !== null && (cancelAnimationFrame(W), W = null), X = null;
109
+ }, $e = (e) => {
110
+ if (D.value = e, !L.value) {
111
+ const l = document.createElement("div");
112
+ l.className = "das-ui-select-popup-portal", document.body.appendChild(l), L.value = l;
113
+ }
114
+ return L.value;
115
+ }, y = i(!1), oe = s(() => t.isView ? t.noSetDefaultVal ? "" : "-" : t.placeholder || M("请选择")), he = s(() => B.value ? B.value.querySelector(".ant-select-selector") : null), F = i(0), R = i(0), ml = s(() => he.value ? t.isTooltip && O.value ? !1 : !t.isTooltip || _.value || !ll.value || !xe.value : !0), gl = s(() => (Array.isArray(a.value) ? a.value.length : a.value) ? ll.value : oe.value), Be = () => {
92
116
  const e = t.size === "table" ? 12 : 14;
93
- return St(Q.value, e);
94
- }, Oe = () => {
95
- var T, G, p;
96
- const e = (T = B.value) == null ? void 0 : T.querySelector(".ant-select-selection-placeholder"), l = (p = (G = A.value) == null ? void 0 : G.$el) == null ? void 0 : p.querySelectorAll(".ant-select-selection-item");
97
- l && l.length && l.forEach((xe) => xe.removeAttribute("title"));
117
+ return Vt(oe.value, e);
118
+ }, De = () => {
119
+ var k, j, h;
120
+ const e = (k = B.value) == null ? void 0 : k.querySelector(".ant-select-selection-placeholder"), l = (h = (j = C.value) == null ? void 0 : j.$el) == null ? void 0 : h.querySelectorAll(".ant-select-selection-item");
121
+ l && l.length && l.forEach((Ve) => Ve.removeAttribute("title"));
98
122
  let n = (e == null ? void 0 : e.offsetWidth) ?? 0;
99
123
  if (n === 0) return n;
100
124
  const o = window.getComputedStyle(e, null), u = parseFloat(o.paddingRight), r = parseFloat(o.paddingLeft);
101
125
  return n - u - r;
102
126
  }, O = i(!1);
103
- U(() => [Q.value, a.value], () => {
104
- C(() => {
105
- W.value = Oe(), $.value = Me(), ((Array.isArray(a.value) ? a.value.length : a.value) || W.value === $.value || $.value - W.value < 1) && (O.value = !1);
127
+ Y(() => [oe.value, a.value], () => {
128
+ x(() => {
129
+ R.value = De(), F.value = Be(), ((Array.isArray(a.value) ? a.value.length : a.value) || R.value === F.value || F.value - R.value < 1) && (O.value = !1);
106
130
  });
107
- }), U(
131
+ }), Y(
108
132
  () => {
109
133
  var e;
110
- return (e = Le.value) == null ? void 0 : e.$tooltipRef.popperRef.contentRef;
134
+ return (e = _e.value) == null ? void 0 : e.$tooltipRef.popperRef.contentRef;
111
135
  },
112
136
  (e) => {
113
137
  e && (e.addEventListener("mouseenter", function() {
114
- O.value = !0, q.value && clearTimeout(q.value);
138
+ O.value = !0, K.value && clearTimeout(K.value);
115
139
  }), e.addEventListener("mouseleave", function() {
116
- q.value = setTimeout(() => {
140
+ K.value = setTimeout(() => {
117
141
  O.value = !1;
118
142
  }, 200);
119
143
  }));
120
144
  }
121
145
  );
122
- const ze = i(null), Pe = s(() => t.dropdownMode ?? t.mode ?? ""), F = i(null), il = i(null), R = i(""), dl = () => {
123
- F.value = !0;
124
- }, cl = () => {
125
- F.value = null;
126
- }, Ee = () => {
127
- R.value && (x("addCustomItem", R.value), C(() => {
128
- A.value.focus(), R.value = "";
146
+ const We = i(null), Fe = s(() => t.dropdownMode ?? t.mode ?? ""), H = i(null), yl = i(null), q = i(""), bl = () => {
147
+ H.value = !0;
148
+ }, Sl = () => {
149
+ H.value = null;
150
+ }, Re = () => {
151
+ q.value && (T("addCustomItem", q.value), x(() => {
152
+ C.value.focus(), q.value = "";
129
153
  }));
130
- }, Ne = ot(), ce = () => {
131
- t.dropdownMode === "custom" && !Ne.dropdownRender && (F.value = !1, C(() => {
132
- F.value = null;
154
+ }, He = ft(), me = () => {
155
+ t.dropdownMode === "custom" && !He.dropdownRender && (H.value = !1, x(() => {
156
+ H.value = null;
133
157
  }));
134
158
  };
135
- Ae(() => {
136
- document.addEventListener("click", ce);
137
- }), Qe(() => {
138
- document.removeEventListener("click", ce);
159
+ Pe(() => {
160
+ document.addEventListener("click", me);
161
+ }), nl(() => {
162
+ document.removeEventListener("click", me);
139
163
  });
140
- const A = i(), H = i(""), Y = i(0), De = `__DAS_SELECT_COLLAPSED_${Math.random().toString(36).slice(2)}__`, I = s(() => {
164
+ const C = i(), Z = i(""), ne = i(0), qe = `__DAS_SELECT_COLLAPSED_${Math.random().toString(36).slice(2)}__`, V = s(() => {
141
165
  var e;
142
166
  return t.fieldNames && t.fieldNames.label ? (e = t.fieldNames) == null ? void 0 : e.label : "label";
143
- }), m = s(() => {
167
+ }), g = s(() => {
144
168
  var e;
145
169
  return t.fieldNames && t.fieldNames.value ? (e = t.fieldNames) == null ? void 0 : e.value : "value";
146
- }), fe = i(/* @__PURE__ */ new Map()), fl = s(() => t.mode === "combobox" ? void 0 : t.mode), Be = {
170
+ }), ge = i(/* @__PURE__ */ new Map()), Cl = s(() => t.mode === "combobox" ? void 0 : t.mode), Ze = {
147
171
  large: "large",
148
172
  middle: "middle",
149
173
  default: "middle",
150
174
  small: "small",
151
175
  mini: "small",
152
176
  table: "middle"
153
- }, vl = {
177
+ }, wl = {
154
178
  large: "36px",
155
179
  middle: "32px",
156
180
  small: "24px"
157
- }, pl = (e) => e && e in Be ? e : "middle", hl = s(() => pl(t.size)), $e = s(() => Be[hl.value]), ml = s(() => t.height ?? vl[$e.value]), We = s(() => {
181
+ }, xl = (e) => e && e in Ze ? e : "middle", Al = s(() => xl(t.size)), Ke = s(() => Ze[Al.value]), Tl = s(() => t.height ?? wl[Ke.value]), Ge = s(() => {
158
182
  const e = Number(t.optionPageSize);
159
183
  return Number.isFinite(e) && e > 0 ? Math.floor(e) : 80;
160
- }), Fe = (e, l) => {
184
+ }), Ue = (e, l) => {
161
185
  Array.isArray(e) && e.forEach((n) => {
162
- l(n), Array.isArray(n == null ? void 0 : n.children) && Fe(n.children, l);
186
+ l(n), Array.isArray(n == null ? void 0 : n.children) && Ue(n.children, l);
163
187
  });
164
- }, ee = (e, l) => {
188
+ }, ae = (e, l) => {
165
189
  if (Array.isArray(e))
166
190
  for (const n of e) {
167
- if ((n == null ? void 0 : n[m.value]) == l) return n;
191
+ if ((n == null ? void 0 : n[g.value]) == l) return n;
168
192
  if (Array.isArray(n == null ? void 0 : n.children)) {
169
- const o = ee(n.children, l);
193
+ const o = ae(n.children, l);
170
194
  if (o) return o;
171
195
  }
172
196
  }
173
- }, gl = (e) => {
174
- Fe(e, (l) => {
175
- l && l[m.value] != null && l[I.value] != null && fe.value.set(l[m.value], l[I.value]);
197
+ }, kl = (e) => {
198
+ Ue(e, (l) => {
199
+ l && l[g.value] != null && l[V.value] != null && ge.value.set(l[g.value], l[V.value]);
176
200
  });
177
- }, ve = (e) => {
201
+ }, ye = (e) => {
178
202
  if (e == null || e === "") return;
179
- const l = ee(t.options, e);
180
- if (l && l[I.value] != null) return l[I.value];
203
+ const l = ae(t.options, e);
204
+ if (l && l[V.value] != null) return l[V.value];
181
205
  if (t.preserveLabelWhenMissing)
182
- return fe.value.get(e);
183
- }, yl = (e) => {
206
+ return ge.value.get(e);
207
+ }, Il = (e) => {
184
208
  const l = Array.isArray(e) ? e.slice() : [];
185
209
  return t.preserveLabelWhenMissing ? ((t.mode !== "combobox" && Array.isArray(a.value) ? a.value : a.value != null && a.value !== "" ? [a.value] : []).forEach((o) => {
186
- if (ee(l, o)) return;
187
- const r = fe.value.get(o);
210
+ if (ae(l, o)) return;
211
+ const r = ge.value.get(o);
188
212
  r != null && l.unshift({
189
- [m.value]: o,
190
- [I.value]: r,
213
+ [g.value]: o,
214
+ [V.value]: r,
191
215
  disabled: !0,
192
216
  title: "",
193
217
  __dasGhostOption: !0
194
218
  });
195
219
  }), l.map((o) => (o.title = o.title ? o.title : "", o))) : l.map((o) => (o.title = o.title ? o.title : "", o));
196
- }, bl = (e) => Array.isArray(e) ? e.some((l) => Array.isArray(l == null ? void 0 : l.children) && l.children.length > 0) : !1, le = s(() => !!t.optionPaging && Array.isArray(t.options) && !bl(t.options)), Re = (e, ...l) => {
197
- const n = X[e];
220
+ }, Ll = (e) => Array.isArray(e) ? e.some((l) => Array.isArray(l == null ? void 0 : l.children) && l.children.length > 0) : !1, re = s(() => !!t.optionPaging && Array.isArray(t.options) && !Ll(t.options)), Xe = (e, ...l) => {
221
+ const n = ee[e];
198
222
  Array.isArray(n) ? n.forEach((o) => typeof o == "function" && o(...l)) : typeof n == "function" && n(...l);
199
- }, He = (e, l) => {
200
- const n = e == null ? "" : String(e), o = X.filterOption;
223
+ }, je = (e, l) => {
224
+ const n = e == null ? "" : String(e), o = ee.filterOption;
201
225
  if (typeof o == "function")
202
226
  try {
203
227
  return o(n, l) !== !1;
@@ -205,655 +229,562 @@ const wt = { key: 0 }, xt = ["onClick"], At = { style: { display: "inline-block"
205
229
  return !1;
206
230
  }
207
231
  if (o === !1) return !0;
208
- const u = Xe.value, r = (l == null ? void 0 : l[u]) ?? (l == null ? void 0 : l[I.value]) ?? (l == null ? void 0 : l[m.value]);
232
+ const u = tl.value, r = (l == null ? void 0 : l[u]) ?? (l == null ? void 0 : l[V.value]) ?? (l == null ? void 0 : l[g.value]);
209
233
  return String(r ?? "").toLowerCase().indexOf(n.toLowerCase()) >= 0;
210
- }, pe = s(() => {
234
+ }, be = s(() => {
211
235
  if (!Array.isArray(t.options)) return;
212
- const e = yl(t.options);
213
- return Array.isArray(t.options) && gl(t.options), e;
214
- }), qe = s(() => {
215
- const e = pe.value ?? [];
216
- return !le.value || !H.value ? e : e.filter((l) => He(H.value, l));
236
+ const e = Il(t.options);
237
+ return Array.isArray(t.options) && kl(t.options), e;
238
+ }), Ye = s(() => {
239
+ const e = be.value ?? [];
240
+ return !re.value || !Z.value ? e : e.filter((l) => je(Z.value, l));
217
241
  }), z = (e) => {
218
- t.optionPagingDebug && C(() => {
242
+ t.optionPagingDebug && x(() => {
219
243
  });
220
- }, te = s(() => t.mode !== "combobox" && Array.isArray(a.value) ? a.value : a.value !== null && a.value !== void 0 && a.value !== "" ? [a.value] : []), Ze = s(() => new Set(te.value)), Sl = s(() => {
244
+ }, se = s(() => t.mode !== "combobox" && Array.isArray(a.value) ? a.value : a.value !== null && a.value !== void 0 && a.value !== "" ? [a.value] : []), Je = s(() => new Set(se.value)), Vl = s(() => {
221
245
  const e = Number(t.largeSelectionCollapseThreshold);
222
246
  return Number.isFinite(e) && e >= 0 ? Math.floor(e) : 200;
223
- }), S = s(() => t.mode !== "combobox" && te.value.length > Sl.value), Cl = s(() => S.value ? [De] : a.value), Ke = s(() => Array.isArray(t.options) ? t.options.filter((e) => !(e != null && e.disabled)) : []), oe = s(() => Ke.value.map((e) => e == null ? void 0 : e[m.value])), he = s(() => oe.value.reduce((e, l) => Ze.value.has(l) ? e + 1 : e, 0)), wl = (e, l) => {
224
- if (H.value || S.value || !te.value.length) return e;
225
- const n = new Set(e.map((u) => u == null ? void 0 : u[m.value])), o = [];
226
- return te.value.forEach((u) => {
247
+ }), w = s(() => t.mode !== "combobox" && se.value.length > Vl.value), Pl = s(() => w.value ? [qe] : a.value), Qe = s(() => Array.isArray(t.options) ? t.options.filter((e) => !(e != null && e.disabled)) : []), ue = s(() => Qe.value.map((e) => e == null ? void 0 : e[g.value])), Se = s(() => ue.value.reduce((e, l) => Je.value.has(l) ? e + 1 : e, 0)), Ml = (e, l) => {
248
+ if (Z.value || w.value || !se.value.length) return e;
249
+ const n = new Set(e.map((u) => u == null ? void 0 : u[g.value])), o = [];
250
+ return se.value.forEach((u) => {
227
251
  if (n.has(u)) return;
228
- const r = ee(l, u);
252
+ const r = ae(l, u);
229
253
  r && (o.push(r), n.add(u));
230
254
  }), o.length ? o.concat(e) : e;
231
- }, xl = s(() => {
232
- if (!le.value) return pe.value;
233
- const e = qe.value.slice(0, Y.value);
234
- return wl(e, pe.value ?? []);
235
- }), Ge = () => {
236
- Y.value = We.value, z();
237
- }, Al = () => {
238
- le.value && (Y.value = Math.min(
239
- Y.value + We.value,
240
- qe.value.length
255
+ }, Ol = s(() => {
256
+ if (!re.value) return be.value;
257
+ const e = Ye.value.slice(0, ne.value);
258
+ return Ml(e, be.value ?? []);
259
+ }), el = () => {
260
+ ne.value = Ge.value, z();
261
+ }, zl = () => {
262
+ re.value && (ne.value = Math.min(
263
+ ne.value + Ge.value,
264
+ Ye.value.length
241
265
  ), z());
242
266
  };
243
- U(
267
+ Y(
244
268
  () => [
245
269
  t.options,
246
270
  t.optionPaging,
247
271
  t.optionPageSize,
248
- H.value,
249
- I.value,
250
- m.value
272
+ Z.value,
273
+ V.value,
274
+ g.value
251
275
  ],
252
- Ge,
276
+ el,
253
277
  { immediate: !0 }
254
278
  );
255
- const me = i(!1), ge = s(() => {
256
- if (F.value !== null) return F.value;
279
+ const Ce = i(!1), we = s(() => {
280
+ if (H.value !== null) return H.value;
257
281
  if (t.open !== void 0) return t.open;
258
- }), P = 1e6, d = i(100), f = i(100), Tl = s(() => S.value ? 0 : d.value), E = i(!1), ye = i(!0), be = i(!1);
259
- Ye(() => {
260
- a.value && t.mode == "combobox" && (ye.value = !0, setTimeout(() => {
282
+ }), E = 1e6, c = i(100), f = i(100), El = s(() => w.value ? 0 : c.value), _ = i(!1), xe = i(!0), Ae = i(!1);
283
+ al(() => {
284
+ a.value && t.mode == "combobox" && (xe.value = !0, setTimeout(() => {
261
285
  var l;
262
- let e = (l = A.value) == null ? void 0 : l.$el.querySelectorAll(".ant-select-selection-item");
286
+ let e = (l = C.value) == null ? void 0 : l.$el.querySelectorAll(".ant-select-selection-item");
263
287
  if (e && e.length > 0)
264
288
  for (let n = 0; n < e.length; n++) {
265
289
  let o = e[n];
266
- o.scrollWidth <= o.offsetWidth && (ye.value = !1), o.title = "";
290
+ o.scrollWidth <= o.offsetWidth && (xe.value = !1), o.title = "";
267
291
  }
268
292
  }, 300));
269
293
  });
270
- const kl = () => {
294
+ const _l = () => {
271
295
  setTimeout(async () => {
272
- d.value = 100, await _(), d.value = f.value, g.value = !0;
296
+ c.value = 100, await P(), c.value = f.value, y.value = !0;
273
297
  }, 100);
274
298
  };
275
- Ye(() => {
276
- be.value === !0 && t.mode != "combobox" && a.value && a.value.length > 0 && t.options.length > 0 && (be.value = !1, kl());
277
- }), Ae(() => {
278
- be.value = !0, t.focusOpen || (f.value = 1, d.value = f.value, g.value = !0);
299
+ al(() => {
300
+ Ae.value === !0 && t.mode != "combobox" && a.value && a.value.length > 0 && t.options.length > 0 && (Ae.value = !1, _l());
301
+ }), Pe(() => {
302
+ Ae.value = !0, t.focusOpen || (f.value = 1, c.value = f.value, y.value = !0);
279
303
  });
280
- const Il = s(() => t.width ? t.width : "230px"), Vl = s(() => t.height ? t.height : "auto"), Ue = i(3e3), _l = s(() => ({
281
- "z-index": Ue.value
282
- })), je = s(() => {
283
- if (S.value)
284
- return rl.value;
304
+ const Nl = s(() => t.width ? t.width : "230px"), $l = s(() => t.height ? t.height : "auto"), Te = i(3e3), Bl = s(() => ({
305
+ "z-index": Te.value
306
+ })), ll = s(() => {
307
+ if (w.value)
308
+ return vl.value;
285
309
  let e = [];
286
310
  if (t.mode != "combobox" && Array.isArray(a.value))
287
311
  a.value.map((l) => {
288
- const n = ve(l);
312
+ const n = ye(l);
289
313
  n != null ? e.push(n) : l != null && l !== "" && e.push(String(l));
290
314
  });
291
315
  else if (t.mode == "combobox" && a.value) {
292
- const l = ve(a.value);
316
+ const l = ye(a.value);
293
317
  l != null ? e.push(l) : a.value !== null && a.value !== void 0 && a.value !== "" && e.push(String(a.value));
294
318
  }
295
- return mt.value === "zh-CN" ? e.join("、") : e.join(", ");
296
- }), Ll = s(() => t.mode === "combobox" ? !1 : oe.value.length > 0 && he.value === oe.value.length), Ml = s(() => t.mode === "combobox" ? !1 : he.value > 0 && he.value < oe.value.length), Xe = s(() => {
319
+ return Tt.value === "zh-CN" ? e.join("、") : e.join(", ");
320
+ }), Dl = s(() => t.mode === "combobox" ? !1 : ue.value.length > 0 && Se.value === ue.value.length), Wl = s(() => t.mode === "combobox" ? !1 : Se.value > 0 && Se.value < ue.value.length), tl = s(() => {
297
321
  var e, l;
298
322
  return t.optionFilterProp ? t.optionFilterProp : (e = t.fieldNames) != null && e.label ? (l = t.fieldNames) == null ? void 0 : l.label : "label";
299
- }), Ol = s(() => ({
323
+ }), Fl = s(() => ({
300
324
  width: typeof t.width == "number" ? t.width + "px" : t.width,
301
- "--das-select-resolved-height": ml.value
302
- })), Se = i(!1), zl = i({
325
+ "--das-select-resolved-height": Tl.value
326
+ })), ke = i(!1), Rl = i({
303
327
  display: "block",
304
328
  color: "var(--upf-color-error)",
305
329
  "white-space": "break-spaces"
306
- }), q = i(), Pl = () => {
330
+ }), K = i(), Hl = () => {
307
331
  var n;
308
- W.value = Oe(), $.value = Me();
309
- let e = (n = A.value) == null ? void 0 : n.$el.querySelectorAll(".ant-select-selection-item");
310
- !!(Array.isArray(a.value) ? a.value.length : e != null && e.length) || W.value === $.value || $.value - W.value < 1 ? O.value = !1 : (O.value = !0, q.value && clearTimeout(q.value)), Se.value = !0;
311
- }, El = () => {
312
- q.value = setTimeout(() => {
332
+ R.value = De(), F.value = Be();
333
+ let e = (n = C.value) == null ? void 0 : n.$el.querySelectorAll(".ant-select-selection-item");
334
+ !!(Array.isArray(a.value) ? a.value.length : e != null && e.length) || R.value === F.value || F.value - R.value < 1 ? O.value = !1 : (O.value = !0, K.value && clearTimeout(K.value)), ke.value = !0;
335
+ }, ql = () => {
336
+ K.value = setTimeout(() => {
313
337
  O.value = !1;
314
- }, 200), Se.value = !1;
315
- }, Nl = (e, l) => {
316
- e ? Pl() : El();
317
- }, Dl = (e) => {
318
- e ? (Ue.value = yt().nextZIndex(), R.value = "", Ge(), z()) : (H.value = "", z()), ne.value = e, t.mode == "combobox" && (e || setTimeout(() => {
338
+ }, 200), ke.value = !1;
339
+ }, Zl = (e, l) => {
340
+ e ? Hl() : ql();
341
+ }, Kl = (e) => {
342
+ e ? (Te.value = It().nextZIndex(), hl(), q.value = "", el(), z()) : (Ne(), Z.value = "", z()), ie.value = e, t.mode == "combobox" && (e || setTimeout(() => {
319
343
  var l, n;
320
- (n = (l = A.value) == null ? void 0 : l.blur) == null || n.call(l);
321
- })), x("dropdownVisibleChange", e);
322
- }, Bl = (e) => {
323
- H.value = e ?? "", z(), Re("onSearch", e);
324
- }, $l = s(() => t.mode === "combobox" ? t.showSearch === !0 : t.mode === "tags" ? !0 : typeof t.showSearch == "boolean" ? t.showSearch : t.mode === "multiple"), Wl = s(() => $l.value ? { onSearch: Bl } : {}), Fl = s(() => ({ ...al.value, ...Wl.value })), Rl = (e) => {
325
- if (Re("onPopupScroll", e), !le.value) return;
344
+ (n = (l = C.value) == null ? void 0 : l.blur) == null || n.call(l);
345
+ })), T("dropdownVisibleChange", e);
346
+ }, Gl = (e) => {
347
+ Z.value = e ?? "", z(), Xe("onSearch", e);
348
+ }, Ul = s(() => t.mode === "combobox" ? t.showSearch === !0 : t.mode === "tags" ? !0 : typeof t.showSearch == "boolean" ? t.showSearch : t.mode === "multiple"), Xl = s(() => Ul.value ? { onSearch: Gl } : {}), jl = s(() => ({ ...fl.value, ...Xl.value })), Yl = (e) => {
349
+ if (Xe("onPopupScroll", e), !re.value) return;
326
350
  const l = e.target;
327
351
  if (!l) return;
328
- l.scrollHeight - l.scrollTop - l.clientHeight <= 24 && Al();
329
- }, Hl = (e) => {
352
+ l.scrollHeight - l.scrollTop - l.clientHeight <= 24 && zl();
353
+ }, Jl = (e) => {
330
354
  let l = e.toString();
331
355
  return l.length > t.maxTagTextLength && (l = l.substr(0, t.maxTagTextLength) + "..."), l;
332
- }, ql = (e) => t.isRenderNode ? B.value : t.getPopupContainer === void 0 ? document.body : t.getPopupContainer(e), Zl = (e) => {
356
+ }, Ql = (e) => t.isRenderNode ? B.value : t.getPopupContainer !== void 0 ? t.getPopupContainer(e) : $e(e), et = (e) => {
333
357
  if (e) {
334
358
  const l = new Set(Array.isArray(a.value) ? a.value : []), n = Array.isArray(a.value) ? a.value.slice() : [], o = [];
335
- Ke.value.forEach((u) => {
336
- const r = u[m.value];
359
+ Qe.value.forEach((u) => {
360
+ const r = u[g.value];
337
361
  l.has(r) || (l.add(r), n.push(r), o.push(u));
338
- }), a.value = n, re(n, o, "inner");
362
+ }), a.value = n, de(n, o, "inner");
339
363
  } else {
340
- const l = Array.isArray(t.options) ? t.options : [], n = new Set(l.map((r) => r == null ? void 0 : r[m.value])), o = new Set(
341
- l.filter((r) => r == null ? void 0 : r.disabled).map((r) => r == null ? void 0 : r[m.value])
364
+ const l = Array.isArray(t.options) ? t.options : [], n = new Set(l.map((r) => r == null ? void 0 : r[g.value])), o = new Set(
365
+ l.filter((r) => r == null ? void 0 : r.disabled).map((r) => r == null ? void 0 : r[g.value])
342
366
  ), u = (Array.isArray(a.value) ? a.value : []).filter((r) => n.has(r) && o.has(r));
343
- a.value = u, re(u, [], "inner");
367
+ a.value = u, de(u, [], "inner");
344
368
  }
345
- }, Kl = (e) => {
369
+ }, lt = (e) => {
346
370
  const l = Array.isArray(a.value) ? a.value.slice() : [], n = l.findIndex((o) => o === e);
347
371
  return n > -1 ? l.splice(n, 1) : l.push(e), l;
348
- }, Gl = (e) => {
349
- S.value && (e.preventDefault(), e.stopPropagation());
350
- }, Ul = (e, l) => {
351
- if (!S.value || e != null && e.disabled) return;
372
+ }, tt = (e) => {
373
+ w.value && (e.preventDefault(), e.stopPropagation());
374
+ }, ot = (e, l) => {
375
+ if (!w.value || e != null && e.disabled) return;
352
376
  l.preventDefault(), l.stopPropagation();
353
- const n = e == null ? void 0 : e[m.value];
377
+ const n = e == null ? void 0 : e[g.value];
354
378
  if (n === void 0) return;
355
- const o = Kl(n);
356
- a.value = o, re(o, e, "inner");
357
- }, jl = (e) => {
379
+ const o = lt(n);
380
+ a.value = o, de(o, e, "inner");
381
+ }, nt = (e) => {
358
382
  if (e.className.indexOf("ant-select-multiple") > -1 && e.children[0])
359
383
  return e.children[0];
360
- }, Xl = (e) => {
384
+ }, at = (e) => {
361
385
  if (t.mode == "combobox") {
362
- x("focus", e);
386
+ T("focus", e);
363
387
  return;
364
388
  }
365
- me.value = !0, t.focusOpen && !t.isExterControlCount && (d.value = P, t.mode === "multiple" ? C(() => {
366
- _(), d.value = f.value, g.value = !0;
367
- }) : g.value = !1), x("focus", e);
368
- }, ne = i(!1), Jl = () => {
369
- ne.value || setTimeout(() => {
389
+ Ce.value = !0, t.focusOpen && !t.isExterControlCount && (c.value = E, t.mode === "multiple" ? x(() => {
390
+ P(), c.value = f.value, y.value = !0;
391
+ }) : y.value = !1), T("focus", e);
392
+ }, ie = i(!1), rt = () => {
393
+ ie.value || setTimeout(() => {
370
394
  var e, l;
371
- (l = (e = A.value) == null ? void 0 : e.blur) == null || l.call(e);
395
+ (l = (e = C.value) == null ? void 0 : e.blur) == null || l.call(e);
372
396
  }), t.mode != "combobox";
373
- }, Je = (e) => {
374
- if (C(() => {
375
- ne.value = !1;
397
+ }, ol = (e) => {
398
+ if (x(() => {
399
+ ie.value = !1;
376
400
  }), t.mode == "combobox") {
377
- x("blur", e);
401
+ T("blur", e);
378
402
  return;
379
403
  }
380
- me.value = !1, t.focusOpen && !t.isExterControlCount && (_(), d.value = f.value, g.value = !0), x("blur", e);
381
- }, Ql = (e) => {
382
- e.onClose(), d.value = 100, C(() => {
383
- t.mode !== "combobox" && ge.value || t.focusOpen && (_(), d.value = f.value, g.value = !0);
404
+ Ce.value = !1, t.focusOpen && !t.isExterControlCount && (P(), c.value = f.value, y.value = !0), T("blur", e);
405
+ }, st = (e) => {
406
+ e.onClose(), c.value = 100, x(() => {
407
+ t.mode !== "combobox" && we.value || t.focusOpen && (P(), c.value = f.value, y.value = !0);
384
408
  });
385
409
  };
386
- U(
410
+ Y(
387
411
  () => t.disabled || t.isView,
388
412
  (e) => {
389
413
  if (e && t.mode !== "combobox") {
390
- me.value = !1;
414
+ Ce.value = !1;
391
415
  let l = new Event("blur");
392
- Je(l);
416
+ ol(l);
393
417
  }
394
418
  }
395
419
  );
396
- let Ce = i(!1);
397
- const Yl = (e) => {
398
- Ce.value = e, E.value = !0, C(() => {
399
- if (E.value = !1, t.focusOpen) {
400
- _();
420
+ let Ie = i(!1);
421
+ const ut = (e) => {
422
+ Ie.value = e, _.value = !0, x(() => {
423
+ if (_.value = !1, t.focusOpen) {
424
+ P();
401
425
  const l = e && t.mode !== "multiple";
402
- d.value = l ? P : f.value, g.value = !l;
426
+ c.value = l ? E : f.value, y.value = !l;
403
427
  }
404
428
  });
405
429
  };
406
- let ae = null;
407
- Ae(() => {
408
- ae = new IntersectionObserver((e) => {
409
- e && e[0] && e[0].intersectionRatio > 0 && t.focusOpen && d.value === 0 && (d.value = 100, C(() => {
410
- _(), d.value = f.value, g.value = !0;
430
+ let ce = null;
431
+ Pe(() => {
432
+ ce = new IntersectionObserver((e) => {
433
+ e && e[0] && e[0].intersectionRatio > 0 && t.focusOpen && c.value === 0 && (c.value = 100, x(() => {
434
+ P(), c.value = f.value, y.value = !0;
411
435
  }));
412
- }), ae.observe(B.value);
413
- }), Qe(() => {
414
- ae && ae.disconnect();
436
+ }), ce.observe(B.value);
437
+ }), nl(() => {
438
+ var e;
439
+ ce && ce.disconnect(), Ne(), (e = L.value) == null || e.remove(), L.value = null, D.value = null;
415
440
  });
416
- const _ = () => {
417
- var G;
418
- if (S.value) {
441
+ const P = () => {
442
+ var j;
443
+ if (w.value) {
419
444
  f.value = 0;
420
445
  return;
421
446
  }
422
- let e = (G = A.value) == null ? void 0 : G.$el;
447
+ let e = (j = C.value) == null ? void 0 : j.$el;
423
448
  if (!e) return;
424
449
  let l = e == null ? void 0 : e.querySelector(".ant-select-selection-overflow");
425
450
  if (!l) return;
426
451
  let n = l.offsetWidth - 5;
427
452
  t.borderType === "underline" && (n -= 10);
428
- const u = Math.ceil(ze.value.querySelector(".ant-tag").offsetWidth) + 4;
453
+ const u = Math.ceil(We.value.querySelector(".ant-tag").offsetWidth) + 4;
429
454
  let r = e.querySelectorAll(".ant-select-selection-overflow-item");
430
455
  if (r.length < 1) return;
431
- d.value = P;
432
- let T = 0;
433
- for (let p = 0; p < r.length - 1 && (r[p].classList.remove("ellipsis"), !r[p].classList.contains("ant-select-selection-overflow-item-rest")); p++)
434
- if (T += Math.ceil(r[p].offsetWidth), T <= n - u)
435
- p >= a.value.length - 1 && T < n ? f.value = a.value.length : f.value = p + 1;
456
+ c.value = E;
457
+ let k = 0;
458
+ for (let h = 0; h < r.length - 1 && (r[h].classList.remove("ellipsis"), !r[h].classList.contains("ant-select-selection-overflow-item-rest")); h++)
459
+ if (k += Math.ceil(r[h].offsetWidth), k <= n - u)
460
+ h >= a.value.length - 1 && k < n ? f.value = a.value.length : f.value = h + 1;
436
461
  else {
437
- p >= a.value.length - 1 && T < n ? f.value = a.value.length : f.value = p;
462
+ h >= a.value.length - 1 && k < n ? f.value = a.value.length : f.value = h;
438
463
  break;
439
464
  }
440
465
  if (f.value === 0) {
441
- let p = r[0], xe = p.querySelector(".anticon-close") ? 86 : 69;
442
- p && !p.classList.contains("ant-select-selection-overflow-item-rest") && xe <= n - u && !Ne.tagRender && (f.value = 1, p.classList.add("ellipsis"));
466
+ let h = r[0], Ve = h.querySelector(".anticon-close") ? 86 : 69;
467
+ h && !h.classList.contains("ant-select-selection-overflow-item-rest") && Ve <= n - u && !He.tagRender && (f.value = 1, h.classList.add("ellipsis"));
443
468
  }
444
- }, we = i(!1);
445
- U(
469
+ }, Le = i(!1);
470
+ Y(
446
471
  () => a.value,
447
472
  async () => {
448
- if (we.value) {
449
- we.value = !1;
473
+ if (Le.value) {
474
+ Le.value = !1;
450
475
  return;
451
476
  }
452
- if (!(t.mode !== "combobox" && ge.value))
453
- if (E.value = !0, d.value = P, await C(), await _(), E.value = !1, t.isExterControlCount && t.focusOpen) {
454
- const e = Ce.value && t.mode !== "multiple";
455
- d.value = e ? P : f.value, g.value = !e;
477
+ if (!(t.mode !== "combobox" && we.value))
478
+ if (_.value = !0, c.value = E, await x(), await P(), _.value = !1, t.isExterControlCount && t.focusOpen) {
479
+ const e = Ie.value && t.mode !== "multiple";
480
+ c.value = e ? E : f.value, y.value = !e;
456
481
  } else
457
- d.value = f.value, g.value = !0;
482
+ c.value = f.value, y.value = !0;
458
483
  }
459
484
  );
460
- const et = (e) => {
461
- if (!S.value || t.mode === "combobox") return e;
485
+ const it = (e) => {
486
+ if (!w.value || t.mode === "combobox") return e;
462
487
  const l = Array.isArray(e) ? e : e == null ? [] : [e];
463
488
  if (!l.length) return [];
464
- const n = Array.from(new Set(l.filter((u) => u !== De)));
489
+ const n = Array.from(new Set(l.filter((u) => u !== qe)));
465
490
  if (!n.length) return;
466
491
  let o = Array.isArray(a.value) ? a.value.slice() : [];
467
492
  return n.forEach((u) => {
468
- const r = o.findIndex((T) => T === u);
493
+ const r = o.findIndex((k) => k === u);
469
494
  r > -1 ? o.splice(r, 1) : o.push(u);
470
495
  }), o;
471
- }, re = async (e, l, n = "antdv") => {
472
- ne.value = !1, t.mode === "combobox" && ce();
473
- let o = n === "antdv" ? et(e) : e;
496
+ }, de = async (e, l, n = "antdv") => {
497
+ ie.value = !1, t.mode === "combobox" && me();
498
+ let o = n === "antdv" ? it(e) : e;
474
499
  if (o === void 0) {
475
500
  z();
476
501
  return;
477
502
  }
478
- if (we.value = !0, t.noDropdown && Array.isArray(o) && t.maxTagsLength < o.length && (o = o.slice(), o.pop()), n === "antdv" && S.value && (a.value = o), E.value = !0, x("update:model-value", o), x("change", o, l), z(), d.value = P, await C(), await _(), E.value = !1, t.isExterControlCount && t.focusOpen) {
479
- const u = Ce.value && t.mode !== "multiple";
480
- d.value = u ? P : f.value, g.value = !u;
481
- } else t.mode === "multiple" && t.focusOpen && (d.value = f.value, g.value = !0);
482
- t.focusOpen || (d.value = f.value);
503
+ if (Le.value = !0, t.noDropdown && Array.isArray(o) && t.maxTagsLength < o.length && (o = o.slice(), o.pop()), n === "antdv" && w.value && (a.value = o), _.value = !0, T("update:model-value", o), T("change", o, l), z(), c.value = E, await x(), await P(), _.value = !1, t.isExterControlCount && t.focusOpen) {
504
+ const u = Ie.value && t.mode !== "multiple";
505
+ c.value = u ? E : f.value, y.value = !u;
506
+ } else t.mode === "multiple" && t.focusOpen && (c.value = f.value, y.value = !0);
507
+ t.focusOpen || (c.value = f.value);
483
508
  };
484
509
  return N({
485
- $select: A,
486
- toChangeMaxCount: Yl
510
+ $select: C,
511
+ toChangeMaxCount: ut
487
512
  }), (e, l) => {
488
- const n = nt("v-nodes");
489
- return v(), y(
490
- "div",
491
- {
492
- class: at(["das-ui-select", [
493
- t.borderType,
494
- t.isView ? "readonly" : "",
495
- t.error ? "is-error" : "",
496
- g.value ? "show-ellipsis" : ""
497
- ]]),
498
- ref_key: "$selectBox",
499
- ref: B,
500
- style: j(Ol.value),
501
- onClick: se(Jl, ["stop"])
502
- },
503
- [
504
- de.value ? (v(), K(c(dt), {
505
- key: 0,
506
- ref_key: "inputTooltipRef",
507
- ref: Le,
508
- placement: "top",
509
- "virtual-triggering": "",
510
- "virtual-ref": de.value,
511
- disabled: sl.value,
512
- content: ul.value
513
- }, null, 8, ["virtual-ref", "disabled", "content"])) : V("v-if", !0),
514
- Te((v(), K(c(ut), _e({ mode: fl.value }, Fl.value, {
515
- value: Cl.value,
516
- ref_key: "$select",
517
- ref: A,
518
- options: xl.value,
519
- fieldNames: e.fieldNames,
520
- bordered: t.borderType === "bordered",
521
- disabled: t.disabled || t.isView,
522
- showArrow: !0,
523
- open: t.noDropdown ? !1 : ge.value,
524
- placeholder: Q.value,
525
- showSearch: t.showSearch,
526
- optionFilterProp: Xe.value,
527
- filterOption: He,
528
- size: $e.value,
529
- style: t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {},
530
- dropdownClassName: "das-ui-select-dorpdown " + e.dropdownClassName,
531
- maxTagCount: Tl.value,
532
- getPopupContainer: ql,
533
- dropdownStyle: _l.value,
534
- onDropdownVisibleChange: Dl,
535
- onChange: l[4] || (l[4] = (o, u) => re(o, u, "antdv")),
536
- onFocus: Xl,
537
- onBlur: Je,
538
- onPopupScroll: Rl
539
- }), rt({
540
- option: h((o) => [
541
- w(e.$slots, "option", ue(ie(o)), () => [
542
- o.children && typeof o.children == "function" ? (v(), K(n, {
543
- key: 0,
544
- vnodes: o.children()
545
- }, null, 8, ["vnodes"])) : (v(), y(
546
- ke,
547
- { key: 1 },
548
- [
549
- V(' :option="{value, label, [disabled, key, title]}" '),
550
- e.mode === "combobox" ? Te((v(), y("div", wt, [
551
- Ie(
552
- Z(o[I.value]),
553
- 1
554
- /* TEXT */
555
- )
556
- ])), [
557
- [c(ll)]
558
- ]) : (v(), y(
559
- ke,
560
- { key: 1 },
561
- [
562
- V(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
563
- b("div", {
564
- class: "das-multiple-option-item",
565
- onMousedown: Gl,
566
- onClick: (u) => Ul(o, u)
567
- }, [
568
- (v(), K(c(el), {
569
- class: "das-select-checkbox",
570
- modelValue: Ze.value.has(o[m.value]),
571
- key: o[m.value],
572
- disabled: o.disabled
573
- }, null, 8, ["modelValue", "disabled"])),
574
- Te((v(), y("div", At, [
575
- Ie(
576
- Z(o[I.value]),
577
- 1
578
- /* TEXT */
579
- )
580
- ])), [
581
- [c(ll)]
582
- ])
583
- ], 40, xt)
584
- ],
585
- 2112
586
- /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
587
- ))
588
- ],
589
- 64
590
- /* STABLE_FRAGMENT */
591
- ))
592
- ], !0)
593
- ]),
594
- tagRender: h((o) => [
595
- w(e.$slots, "tagRender", ue(ie(o)), () => [
596
- k(c(Ve), {
597
- closable: !S.value && o.closable,
598
- style: { "margin-right": "3px", "background-color": "transparent" },
599
- onClose: (u) => Ql(o)
600
- }, {
601
- default: h(() => [
602
- S.value ? (v(), y("span", {
603
- key: 0,
604
- innerHTML: c(L)("das-ui-select-selectedItemsCountWithPlaceholder", J.value)
605
- }, null, 8, Tt)) : (v(), y(
606
- "span",
607
- {
608
- key: 1,
609
- class: "tag-span",
610
- style: j(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
611
- },
612
- Z(Hl(ve(o.value) ?? o.label ?? String(o.value))),
613
- 5
614
- /* TEXT, STYLE */
615
- ))
616
- ]),
617
- _: 2
618
- /* DYNAMIC */
619
- }, 1032, ["closable", "onClose"])
620
- ], !0)
621
- ]),
622
- dropdownRender: h(({ menuNode: o }) => [
623
- w(e.$slots, "dropdownRender", ue(ie({ menuNode: o })), () => {
624
- var u;
625
- return [
626
- Pe.value === "combobox" ? (v(), y("div", kt, [
627
- k(n, { vnodes: o }, null, 8, ["vnodes"])
628
- ])) : Pe.value === "custom" ? (v(), y("div", {
513
+ const n = vt("v-nodes");
514
+ return v(), b("div", {
515
+ class: pt(["das-ui-select", [
516
+ t.borderType,
517
+ t.isView ? "readonly" : "",
518
+ t.error ? "is-error" : "",
519
+ y.value ? "show-ellipsis" : ""
520
+ ]]),
521
+ ref_key: "$selectBox",
522
+ ref: B,
523
+ style: J(Fl.value),
524
+ onClick: fe(rt, ["stop"])
525
+ }, [
526
+ he.value ? (v(), U(d(bt), {
527
+ key: 0,
528
+ ref_key: "inputTooltipRef",
529
+ ref: _e,
530
+ placement: "top",
531
+ "virtual-triggering": "",
532
+ "virtual-ref": he.value,
533
+ disabled: ml.value,
534
+ content: gl.value
535
+ }, null, 8, ["virtual-ref", "disabled", "content"])) : Q("", !0),
536
+ Me((v(), U(d(gt), Ee({ mode: Cl.value }, jl.value, {
537
+ value: Pl.value,
538
+ ref_key: "$select",
539
+ ref: C,
540
+ options: Ol.value,
541
+ fieldNames: p.fieldNames,
542
+ bordered: t.borderType === "bordered",
543
+ disabled: t.disabled || t.isView,
544
+ showArrow: !0,
545
+ open: t.noDropdown ? !1 : we.value,
546
+ placeholder: oe.value,
547
+ showSearch: t.showSearch,
548
+ optionFilterProp: tl.value,
549
+ filterOption: je,
550
+ size: Ke.value,
551
+ style: t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {},
552
+ dropdownClassName: "das-ui-select-dorpdown " + p.dropdownClassName,
553
+ maxTagCount: El.value,
554
+ getPopupContainer: Ql,
555
+ dropdownStyle: Bl.value,
556
+ onDropdownVisibleChange: Kl,
557
+ onChange: l[4] || (l[4] = (o, u) => de(o, u, "antdv")),
558
+ onFocus: at,
559
+ onBlur: ol,
560
+ onPopupScroll: Yl
561
+ }), ht({
562
+ option: m((o) => [
563
+ A(e.$slots, "option", ve(pe(o)), () => [
564
+ o.children && typeof o.children == "function" ? (v(), U(n, {
565
+ key: 0,
566
+ vnodes: o.children()
567
+ }, null, 8, ["vnodes"])) : (v(), b(rl, { key: 1 }, [
568
+ p.mode === "combobox" ? Me((v(), b("div", Mt, [
569
+ Oe(G(o[V.value]), 1)
570
+ ])), [
571
+ [d(ul)]
572
+ ]) : (v(), b("div", {
573
+ key: 1,
574
+ class: "das-multiple-option-item",
575
+ onMousedown: tt,
576
+ onClick: (u) => ot(o, u)
577
+ }, [
578
+ (v(), U(d(sl), {
579
+ class: "das-select-checkbox",
580
+ modelValue: Je.value.has(o[g.value]),
581
+ key: o[g.value],
582
+ disabled: o.disabled
583
+ }, null, 8, ["modelValue", "disabled"])),
584
+ Me((v(), b("div", zt, [
585
+ Oe(G(o[V.value]), 1)
586
+ ])), [
587
+ [d(ul)]
588
+ ])
589
+ ], 40, Ot))
590
+ ], 64))
591
+ ], !0)
592
+ ]),
593
+ tagRender: m((o) => [
594
+ A(e.$slots, "tagRender", ve(pe(o)), () => [
595
+ I(d(ze), {
596
+ closable: !w.value && o.closable,
597
+ style: { "margin-right": "3px", "background-color": "transparent" },
598
+ onClose: (u) => st(o)
599
+ }, {
600
+ default: m(() => [
601
+ w.value ? (v(), b("span", {
602
+ key: 0,
603
+ innerHTML: d(M)("das-ui-select-selectedItemsCountWithPlaceholder", le.value)
604
+ }, null, 8, Et)) : (v(), b("span", {
629
605
  key: 1,
630
- onClick: l[2] || (l[2] = se(() => {
631
- }, ["stop"]))
606
+ class: "tag-span",
607
+ style: J(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
608
+ }, G(Jl(ye(o.value) ?? o.label ?? String(o.value))), 5))
609
+ ]),
610
+ _: 2
611
+ }, 1032, ["closable", "onClose"])
612
+ ], !0)
613
+ ]),
614
+ dropdownRender: m(({ menuNode: o }) => [
615
+ A(e.$slots, "dropdownRender", ve(pe({ menuNode: o })), () => {
616
+ var u;
617
+ return [
618
+ Fe.value === "combobox" ? (v(), b("div", _t, [
619
+ I(n, { vnodes: o }, null, 8, ["vnodes"])
620
+ ])) : Fe.value === "custom" ? (v(), b("div", {
621
+ key: 1,
622
+ onClick: l[2] || (l[2] = fe(() => {
623
+ }, ["stop"]))
624
+ }, [
625
+ I(n, { vnodes: o }, null, 8, ["vnodes"]),
626
+ S("div", {
627
+ class: "customDropdown",
628
+ onMousedown: l[1] || (l[1] = (r) => r.preventDefault())
632
629
  }, [
633
- k(n, { vnodes: o }, null, 8, ["vnodes"]),
634
- b(
635
- "div",
636
- {
637
- class: "customDropdown",
638
- onMousedown: l[1] || (l[1] = (r) => r.preventDefault())
639
- },
640
- [
641
- k(c(ct), _e({
642
- ref_key: "testInput",
643
- ref: il,
644
- modelValue: R.value,
645
- "onUpdate:modelValue": l[0] || (l[0] = (r) => R.value = r),
646
- onKeyup: st(Ee, ["enter"]),
647
- onFocus: se(dl, ["stop"]),
648
- onBlur: se(cl, ["stop"]),
649
- width: "100%",
650
- borderType: "bordered"
651
- }, t.inputAttrs), null, 16, ["modelValue"]),
652
- b(
653
- "div",
654
- {
655
- class: "addBtn",
656
- onClick: Ee
657
- },
658
- Z(c(L)("添加")),
659
- 1
660
- /* TEXT */
661
- )
662
- ],
663
- 32
664
- /* NEED_HYDRATION */
665
- )
666
- ])) : (v(), y("div", It, [
667
- k(n, { vnodes: o }, null, 8, ["vnodes"]),
668
- (u = t.options) != null && u.length && t.showSelectAll ? (v(), y(
669
- "div",
670
- {
671
- key: 0,
672
- class: "das-ui-select-dropdown-checkall",
673
- onMousedown: l[3] || (l[3] = (r) => r.preventDefault())
674
- },
675
- [
676
- b("div", Vt, [
677
- k(c(el), {
678
- modelValue: Ll.value,
679
- indeterminate: Ml.value,
680
- onChange: Zl,
681
- style: { display: "flex" }
682
- }, {
683
- default: h(() => [
684
- Ie(
685
- Z(c(L)("全选")),
686
- 1
687
- /* TEXT */
688
- )
689
- ]),
690
- _: 1
691
- /* STABLE */
692
- }, 8, ["modelValue", "indeterminate"])
630
+ I(d(St), Ee({
631
+ ref_key: "testInput",
632
+ ref: yl,
633
+ modelValue: q.value,
634
+ "onUpdate:modelValue": l[0] || (l[0] = (r) => q.value = r),
635
+ onKeyup: mt(Re, ["enter"]),
636
+ onFocus: fe(bl, ["stop"]),
637
+ onBlur: fe(Sl, ["stop"]),
638
+ width: "100%",
639
+ borderType: "bordered"
640
+ }, t.inputAttrs), null, 16, ["modelValue"]),
641
+ S("div", {
642
+ class: "addBtn",
643
+ onClick: Re
644
+ }, G(d(M)("添加")), 1)
645
+ ], 32)
646
+ ])) : (v(), b("div", Nt, [
647
+ I(n, { vnodes: o }, null, 8, ["vnodes"]),
648
+ (u = t.options) != null && u.length && t.showSelectAll ? (v(), b("div", {
649
+ key: 0,
650
+ class: "das-ui-select-dropdown-checkall",
651
+ onMousedown: l[3] || (l[3] = (r) => r.preventDefault())
652
+ }, [
653
+ S("div", $t, [
654
+ I(d(sl), {
655
+ modelValue: Dl.value,
656
+ indeterminate: Wl.value,
657
+ onChange: et,
658
+ style: { display: "flex" }
659
+ }, {
660
+ default: m(() => [
661
+ Oe(G(d(M)("全选")), 1)
693
662
  ]),
694
- b("span", {
695
- class: "das-ui-dropdown-has-checked",
696
- innerHTML: c(L)("das-ui-select-selectedItemsCountWithPlaceholder", J.value)
697
- }, null, 8, _t)
698
- ],
699
- 32
700
- /* NEED_HYDRATION */
701
- )) : V("v-if", !0)
702
- ]))
703
- ];
704
- }, !0)
663
+ _: 1
664
+ }, 8, ["modelValue", "indeterminate"])
665
+ ]),
666
+ S("span", {
667
+ class: "das-ui-dropdown-has-checked",
668
+ innerHTML: d(M)("das-ui-select-selectedItemsCountWithPlaceholder", le.value)
669
+ }, null, 8, Bt)
670
+ ], 32)) : Q("", !0)
671
+ ]))
672
+ ];
673
+ }, !0)
674
+ ]),
675
+ clearIcon: m(() => [
676
+ A(e.$slots, "clearIcon", {}, () => [
677
+ I(d(wt), { size: "medium" })
678
+ ], !0)
679
+ ]),
680
+ maxTagPlaceholder: m((o) => [
681
+ A(e.$slots, "maxTagPlaceholder", ve(pe(o)), () => [
682
+ I(d(ze), {
683
+ style: J(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
684
+ }, {
685
+ default: m(() => [
686
+ S("span", {
687
+ innerHTML: d(M)("das-ui-select-selectedItemsCountWithPlaceholder", le.value)
688
+ }, null, 8, Dt)
689
+ ]),
690
+ _: 1
691
+ }, 8, ["style"])
692
+ ], !0)
693
+ ]),
694
+ notFoundContent: m(() => [
695
+ A(e.$slots, "notFoundContent", {}, () => [
696
+ l[5] || (l[5] = S("div", { class: "hasNoData" }, "暂无数据", -1))
697
+ ], !0)
698
+ ]),
699
+ suffixIcon: m(() => [
700
+ A(e.$slots, "suffixIcon", {}, () => [
701
+ I(d(Ct), {
702
+ class: "das-suffix-icon",
703
+ size: "medium",
704
+ iconColor: "#666666"
705
+ })
706
+ ], !0)
707
+ ]),
708
+ default: m(() => [
709
+ A(e.$slots, "default", {}, void 0, !0)
710
+ ]),
711
+ _: 2
712
+ }, [
713
+ e.$slots.menuItemSelectedIcon ? {
714
+ name: "menuItemSelectedIcon",
715
+ fn: m(() => [
716
+ A(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
705
717
  ]),
706
- clearIcon: h(() => [
707
- w(e.$slots, "clearIcon", {}, () => [
708
- k(c(vt), { size: "medium" })
709
- ], !0)
718
+ key: "0"
719
+ } : void 0,
720
+ e.$slots.placeholder ? {
721
+ name: "placeholder",
722
+ fn: m(() => [
723
+ A(e.$slots, "placeholder", {}, void 0, !0)
710
724
  ]),
711
- maxTagPlaceholder: h((o) => [
712
- w(e.$slots, "maxTagPlaceholder", ue(ie(o)), () => [
713
- V(" 隐藏tag时显示的内容 "),
714
- k(c(Ve), {
715
- style: j(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
725
+ key: "1"
726
+ } : void 0,
727
+ e.$slots.removeIcon ? {
728
+ name: "removeIcon",
729
+ fn: m(() => [
730
+ A(e.$slots, "removeIcon", {}, void 0, !0)
731
+ ]),
732
+ key: "2"
733
+ } : void 0
734
+ ]), 1040, ["mode", "value", "options", "fieldNames", "bordered", "disabled", "open", "placeholder", "showSearch", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
735
+ [d(yt), { target: nt, x: !1 }],
736
+ [d(At), Zl]
737
+ ]),
738
+ p.error && p.errorLabel ? (v(), b(rl, { key: 1 }, [
739
+ p.errorMode === "default" ? (v(), b("div", Wt, [
740
+ S("span", {
741
+ style: J(Rl.value)
742
+ }, G(p.errorLabel), 5)
743
+ ])) : Q("", !0),
744
+ p.errorMode === "overlay" && ke.value ? (v(), U(d(xt), {
745
+ key: 1,
746
+ errorLabel: p.errorLabel,
747
+ getEl: () => C.value.$el,
748
+ errorModelZIndex: p.errorModelZIndex
749
+ }, null, 8, ["errorLabel", "getEl", "errorModelZIndex"])) : Q("", !0)
750
+ ], 64)) : Q("", !0),
751
+ S("div", {
752
+ class: "ant-select-selection-overflow",
753
+ ref_key: "virtualTotalCount",
754
+ ref: We,
755
+ style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
756
+ }, [
757
+ S("div", Ft, [
758
+ S("div", Rt, [
759
+ S("span", Ht, [
760
+ I(d(ze), {
761
+ style: J(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
716
762
  }, {
717
- default: h(() => [
718
- b("span", {
719
- innerHTML: c(L)("das-ui-select-selectedItemsCountWithPlaceholder", J.value)
720
- }, null, 8, Lt)
763
+ default: m(() => [
764
+ S("span", {
765
+ innerHTML: d(M)("das-ui-select-selectedItemsCountWithPlaceholder", le.value)
766
+ }, null, 8, qt)
721
767
  ]),
722
768
  _: 1
723
- /* STABLE */
724
- }, 8, ["style"]),
725
- V(" <a-tag>+{{ currValue?.length - maxTagCountCell }}</a-tag> ")
726
- ], !0)
727
- ]),
728
- notFoundContent: h(() => [
729
- w(e.$slots, "notFoundContent", {}, () => [
730
- l[5] || (l[5] = b(
731
- "div",
732
- { class: "hasNoData" },
733
- "暂无数据",
734
- -1
735
- /* CACHED */
736
- ))
737
- ], !0)
738
- ]),
739
- suffixIcon: h(() => [
740
- w(e.$slots, "suffixIcon", {}, () => [
741
- k(c(ft), {
742
- class: "das-suffix-icon",
743
- size: "medium",
744
- iconColor: "#666666"
745
- })
746
- ], !0)
747
- ]),
748
- default: h(() => [
749
- w(e.$slots, "default", {}, void 0, !0)
750
- ]),
751
- _: 2
752
- /* DYNAMIC */
753
- }, [
754
- e.$slots.menuItemSelectedIcon ? {
755
- name: "menuItemSelectedIcon",
756
- fn: h(() => [
757
- w(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
758
- ]),
759
- key: "0"
760
- } : void 0,
761
- e.$slots.placeholder ? {
762
- name: "placeholder",
763
- fn: h(() => [
764
- w(e.$slots, "placeholder", {}, void 0, !0)
765
- ]),
766
- key: "1"
767
- } : void 0,
768
- e.$slots.removeIcon ? {
769
- name: "removeIcon",
770
- fn: h(() => [
771
- w(e.$slots, "removeIcon", {}, void 0, !0)
772
- ]),
773
- key: "2"
774
- } : void 0
775
- ]), 1040, ["mode", "value", "options", "fieldNames", "bordered", "disabled", "open", "placeholder", "showSearch", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
776
- [c(it), { target: jl, x: !1 }],
777
- [c(ht), Nl]
778
- ]),
779
- e.error && e.errorLabel ? (v(), y(
780
- ke,
781
- { key: 1 },
782
- [
783
- e.errorMode === "default" ? (v(), y("div", Mt, [
784
- b(
785
- "span",
786
- {
787
- style: j(zl.value)
788
- },
789
- Z(e.errorLabel),
790
- 5
791
- /* TEXT, STYLE */
792
- )
793
- ])) : V("v-if", !0),
794
- e.errorMode === "overlay" && Se.value ? (v(), K(c(pt), {
795
- key: 1,
796
- errorLabel: e.errorLabel,
797
- getEl: () => A.value.$el,
798
- errorModelZIndex: e.errorModelZIndex
799
- }, null, 8, ["errorLabel", "getEl", "errorModelZIndex"])) : V("v-if", !0)
800
- ],
801
- 64
802
- /* STABLE_FRAGMENT */
803
- )) : V("v-if", !0),
804
- b(
805
- "div",
806
- {
807
- class: "ant-select-selection-overflow",
808
- ref_key: "virtualTotalCount",
809
- ref: ze,
810
- style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
811
- },
812
- [
813
- b("div", Ot, [
814
- b("div", zt, [
815
- b("span", Pt, [
816
- k(c(Ve), {
817
- style: j(t.size == "mini" || t.size == "table" ? { fontSize: "12px" } : {})
818
- }, {
819
- default: h(() => [
820
- b("span", {
821
- innerHTML: c(L)("das-ui-select-selectedItemsCountWithPlaceholder", J.value)
822
- }, null, 8, Et)
823
- ]),
824
- _: 1
825
- /* STABLE */
826
- }, 8, ["style"])
827
- ])
828
- ])
769
+ }, 8, ["style"])
829
770
  ])
830
- ],
831
- 512
832
- /* NEED_PATCH */
833
- )
834
- ],
835
- 6
836
- /* CLASS, STYLE */
837
- );
771
+ ])
772
+ ])
773
+ ], 512)
774
+ ], 6);
838
775
  };
839
776
  }
840
- }), nl = (M, N) => {
841
- const D = M.__vccOpts || M;
842
- for (const [t, x] of N)
843
- D[t] = x;
844
- return D;
845
- }, Bt = /* @__PURE__ */ nl(Dt, [["__scopeId", "data-v-21a12cc3"]]), $t = {};
846
- function Wt(M, N) {
847
- const D = Ct;
848
- return v(), K(
849
- D,
850
- _e({ class: "das-ui-select-option" }, M.$attrs),
851
- null,
852
- 16
853
- /* FULL_PROPS */
854
- );
777
+ }), dl = (p, N) => {
778
+ const $ = p.__vccOpts || p;
779
+ for (const [t, T] of N)
780
+ $[t] = T;
781
+ return $;
782
+ }, Gt = /* @__PURE__ */ dl(Kt, [["__scopeId", "data-v-d04dd707"]]), Ut = {};
783
+ function Xt(p, N) {
784
+ const $ = Pt;
785
+ return v(), U($, Ee({ class: "das-ui-select-option" }, p.$attrs), null, 16);
855
786
  }
856
- const Ft = /* @__PURE__ */ nl($t, [["render", Wt]]), Rt = {
787
+ const jt = /* @__PURE__ */ dl(Ut, [["render", Xt]]), Yt = {
857
788
  添加: { "zh-CN": "添加", en: "Add", "zh-MO": "添加", _appCode: "framework" },
858
789
  全选: { "zh-CN": "全选", en: "Select All", "zh-MO": "全選", _appCode: "framework" },
859
790
  已选: { "zh-CN": "已选", en: "Selected", "zh-MO": "已選", _appCode: "framework" },
@@ -864,10 +795,10 @@ const Ft = /* @__PURE__ */ nl($t, [["render", Wt]]), Rt = {
864
795
  _appCode: "framework"
865
796
  }
866
797
  };
867
- gt(Rt);
868
- const io = tl(Bt), co = tl(Ft), fo = { name: "select 选择器" };
798
+ kt(Yt);
799
+ const bo = il(Gt), So = il(jt), Co = { name: "select 选择器" };
869
800
  export {
870
- io as DasSelect,
871
- co as DasSelectOption,
872
- fo as default
801
+ bo as DasSelect,
802
+ So as DasSelectOption,
803
+ Co as default
873
804
  };