vxe-pc-ui 4.20.34 → 4.20.36

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 (879) hide show
  1. package/dist/all.esm.js +45718 -45038
  2. package/dist/all.esm.min.js +3 -3
  3. package/dist/style.css +307 -1
  4. package/dist/style.mini.css +1 -1
  5. package/es/alert/src/alert.js +117 -114
  6. package/es/anchor/index.d.ts +8 -8
  7. package/es/anchor/src/anchor-link.js +110 -107
  8. package/es/anchor/src/anchor.d.ts +1 -1
  9. package/es/anchor/src/anchor.js +212 -209
  10. package/es/avatar/index.d.ts +6 -6
  11. package/es/avatar/src/avatar.d.ts +1 -1
  12. package/es/avatar/src/avatar.js +132 -129
  13. package/es/backtop/index.d.ts +42 -42
  14. package/es/backtop/src/backtop.d.ts +7 -7
  15. package/es/backtop/src/backtop.js +267 -264
  16. package/es/badge/index.d.ts +6 -6
  17. package/es/badge/src/badge.d.ts +1 -1
  18. package/es/badge/src/badge.js +102 -99
  19. package/es/breadcrumb/src/breadcrumb-item.js +104 -101
  20. package/es/breadcrumb/src/breadcrumb.js +70 -67
  21. package/es/button/index.d.ts +20 -20
  22. package/es/button/src/button-group.js +88 -85
  23. package/es/button/src/button.d.ts +3 -3
  24. package/es/calendar/index.d.ts +20 -20
  25. package/es/calendar/src/calendar.d.ts +3 -3
  26. package/es/calendar/src/calendar.js +1371 -1368
  27. package/es/card/index.d.ts +12 -12
  28. package/es/card/src/card.d.ts +2 -2
  29. package/es/card/src/card.js +235 -232
  30. package/es/carousel/index.d.ts +14 -14
  31. package/es/carousel/src/carousel-item.js +78 -75
  32. package/es/carousel/src/carousel.d.ts +2 -2
  33. package/es/carousel/src/carousel.js +392 -389
  34. package/es/cascader/index.d.ts +70 -70
  35. package/es/cascader/src/cascader.d.ts +11 -11
  36. package/es/cascader/src/cascader.js +1667 -1664
  37. package/es/checkbox/index.d.ts +14 -14
  38. package/es/checkbox/src/button.d.ts +2 -2
  39. package/es/checkbox/src/button.js +198 -195
  40. package/es/checkbox/src/checkbox.d.ts +2 -2
  41. package/es/checkbox/src/checkbox.js +181 -178
  42. package/es/checkbox/src/group.d.ts +4 -4
  43. package/es/checkbox/src/group.js +210 -207
  44. package/es/checkbox-button/index.d.ts +14 -14
  45. package/es/checkbox-group/index.d.ts +26 -26
  46. package/es/collapse/index.d.ts +14 -14
  47. package/es/collapse/src/collapse-pane.js +98 -95
  48. package/es/collapse/src/collapse.d.ts +2 -2
  49. package/es/collapse/src/collapse.js +340 -337
  50. package/es/color-picker/index.d.ts +46 -46
  51. package/es/color-picker/src/color-picker.d.ts +8 -8
  52. package/es/color-picker/src/color-picker.js +1116 -1113
  53. package/es/color-picker/src/util.d.ts +9 -1
  54. package/es/components.d.ts +1 -0
  55. package/es/components.js +3 -0
  56. package/es/context-menu/index.d.ts +16 -16
  57. package/es/context-menu/src/context-menu.d.ts +3 -3
  58. package/es/context-menu/src/context-menu.js +601 -598
  59. package/es/countdown/index.d.ts +2 -2
  60. package/es/countdown/src/countdown.d.ts +1 -1
  61. package/es/countdown/src/countdown.js +224 -221
  62. package/es/date-panel/index.d.ts +46 -46
  63. package/es/date-panel/src/date-panel.d.ts +7 -7
  64. package/es/date-panel/src/date-panel.js +1905 -1902
  65. package/es/date-picker/index.d.ts +110 -110
  66. package/es/date-picker/src/date-picker.d.ts +17 -17
  67. package/es/date-picker/src/date-picker.js +1537 -1534
  68. package/es/date-range-picker/index.d.ts +114 -114
  69. package/es/date-range-picker/src/date-range-picker.d.ts +17 -17
  70. package/es/date-range-picker/src/date-range-picker.js +1412 -1409
  71. package/es/divider/index.d.ts +6 -6
  72. package/es/divider/src/divider.d.ts +1 -1
  73. package/es/divider/src/divider.js +80 -77
  74. package/es/drawer/index.d.ts +74 -74
  75. package/es/drawer/src/drawer.d.ts +13 -13
  76. package/es/drawer/src/drawer.js +778 -775
  77. package/es/dynamics/index.d.ts +12 -12
  78. package/es/empty/src/empty.js +100 -97
  79. package/es/form/index.d.ts +36 -36
  80. package/es/form/src/form-config-item.d.ts +7 -7
  81. package/es/form/src/form-group.d.ts +7 -7
  82. package/es/form/src/form-group.js +74 -71
  83. package/es/form/src/form-item.d.ts +7 -7
  84. package/es/form/src/form-item.js +76 -73
  85. package/es/form/src/form.d.ts +6 -6
  86. package/es/form/src/form.js +789 -786
  87. package/es/form-gather/index.d.ts +42 -42
  88. package/es/form-group/index.d.ts +42 -42
  89. package/es/form-item/index.d.ts +42 -42
  90. package/es/icon/src/icon.js +59 -56
  91. package/es/icon/style.css +1 -1
  92. package/es/icon/style.mini.css +1 -1
  93. package/es/icon-picker/index.d.ts +22 -22
  94. package/es/icon-picker/src/icon-picker.d.ts +4 -4
  95. package/es/icon-picker/src/icon-picker.js +719 -716
  96. package/es/image/index.d.ts +30 -30
  97. package/es/image/src/group.d.ts +2 -2
  98. package/es/image/src/group.js +130 -127
  99. package/es/image/src/image.d.ts +5 -5
  100. package/es/image/src/image.js +243 -240
  101. package/es/image/src/preview.d.ts +3 -3
  102. package/es/image/src/preview.js +627 -624
  103. package/es/image-group/index.d.ts +8 -8
  104. package/es/image-preview/index.d.ts +16 -16
  105. package/es/index.esm.js +2 -0
  106. package/es/index.js +2 -0
  107. package/es/input/index.d.ts +160 -160
  108. package/es/input/src/input.d.ts +25 -25
  109. package/es/input/src/input.js +2700 -2697
  110. package/es/layout-aside/src/layout-aside.js +138 -135
  111. package/es/layout-body/src/layout-body.js +145 -142
  112. package/es/layout-container/src/layout-container.js +71 -68
  113. package/es/layout-footer/src/layout-footer.js +60 -57
  114. package/es/layout-header/src/layout-header.js +58 -55
  115. package/es/link/src/link.js +131 -128
  116. package/es/list/src/list.js +2174 -2171
  117. package/es/loading/index.d.ts +6 -6
  118. package/es/loading/src/loading.d.ts +1 -1
  119. package/es/loading/src/loading.js +141 -138
  120. package/es/mention/src/mention.js +49 -46
  121. package/es/menu/index.d.ts +32 -32
  122. package/es/menu/src/menu.d.ts +5 -5
  123. package/es/menu/src/menu.js +799 -796
  124. package/es/modal/index.d.ts +92 -92
  125. package/es/modal/src/modal.d.ts +16 -16
  126. package/es/modal/src/modal.js +1519 -1527
  127. package/es/notice-bar/index.d.ts +8 -8
  128. package/es/notice-bar/src/notice-bar.d.ts +2 -2
  129. package/es/notice-bar/src/notice-bar.js +168 -165
  130. package/es/number-input/index.d.ts +134 -134
  131. package/es/number-input/src/number-input.d.ts +21 -21
  132. package/es/number-input/src/number-input.js +1094 -1091
  133. package/es/optgroup/index.d.ts +6 -6
  134. package/es/option/index.d.ts +6 -6
  135. package/es/pager/index.d.ts +34 -34
  136. package/es/pager/src/pager.d.ts +6 -6
  137. package/es/pager/src/pager.js +767 -764
  138. package/es/password-input/index.d.ts +72 -72
  139. package/es/password-input/src/password-input.d.ts +11 -11
  140. package/es/password-input/src/password-input.js +431 -428
  141. package/es/print/index.d.ts +6 -6
  142. package/es/print/src/page-break.js +63 -60
  143. package/es/print/src/print.d.ts +1 -1
  144. package/es/print/src/print.js +303 -300
  145. package/es/pulldown/index.d.ts +22 -22
  146. package/es/pulldown/src/pulldown.d.ts +4 -4
  147. package/es/pulldown/src/pulldown.js +403 -400
  148. package/es/radio/index.d.ts +20 -20
  149. package/es/radio/src/button.d.ts +3 -3
  150. package/es/radio/src/button.js +214 -211
  151. package/es/radio/src/group.d.ts +4 -4
  152. package/es/radio/src/group.js +195 -192
  153. package/es/radio/src/radio.d.ts +3 -3
  154. package/es/radio/src/radio.js +194 -191
  155. package/es/radio-button/index.d.ts +20 -20
  156. package/es/radio-group/index.d.ts +26 -26
  157. package/es/rate/index.d.ts +14 -14
  158. package/es/rate/src/rate.d.ts +2 -2
  159. package/es/rate/src/rate.js +164 -161
  160. package/es/result/src/result.js +116 -113
  161. package/es/row/index.d.ts +6 -6
  162. package/es/row/src/col.js +133 -130
  163. package/es/row/src/row.d.ts +1 -1
  164. package/es/row/src/row.js +111 -108
  165. package/es/scrollbar/index.d.ts +30 -30
  166. package/es/scrollbar/src/scrollbar.d.ts +5 -5
  167. package/es/scrollbar/src/scrollbar.js +518 -515
  168. package/es/segmented/index.d.ts +14 -14
  169. package/es/segmented/src/segmented.d.ts +2 -2
  170. package/es/segmented/src/segmented.js +240 -237
  171. package/es/select/index.d.ts +66 -66
  172. package/es/select/src/optgroup.d.ts +1 -1
  173. package/es/select/src/optgroup.js +44 -41
  174. package/es/select/src/option.d.ts +1 -1
  175. package/es/select/src/option.js +39 -36
  176. package/es/select/src/select.d.ts +11 -11
  177. package/es/select/src/select.js +1914 -1896
  178. package/es/slider/index.d.ts +38 -38
  179. package/es/slider/src/slider.d.ts +6 -6
  180. package/es/slider/src/slider.js +419 -416
  181. package/es/space/index.d.ts +36 -36
  182. package/es/space/src/space.d.ts +6 -6
  183. package/es/space/src/space.js +190 -187
  184. package/es/split/index.d.ts +14 -14
  185. package/es/split-pane/index.d.ts +18 -18
  186. package/es/splitter/index.d.ts +14 -14
  187. package/es/splitter/src/splitter-panel.d.ts +3 -3
  188. package/es/splitter/src/splitter-panel.js +146 -143
  189. package/es/splitter/src/splitter.d.ts +3 -3
  190. package/es/splitter/src/splitter.js +917 -914
  191. package/es/splitter-panel/index.d.ts +18 -18
  192. package/es/step-item/index.d.ts +76 -0
  193. package/es/step-item/index.js +17 -0
  194. package/es/steps/index.d.ts +288 -34
  195. package/es/steps/src/step-info.d.ts +6 -0
  196. package/es/steps/src/step-info.js +20 -0
  197. package/es/steps/src/step-item.d.ts +14 -0
  198. package/es/steps/src/step-item.js +39 -0
  199. package/es/steps/src/steps.d.ts +68 -8
  200. package/es/steps/src/steps.js +299 -47
  201. package/es/steps/src/util.d.ts +7 -0
  202. package/es/steps/src/util.js +44 -0
  203. package/es/steps/style.css +297 -0
  204. package/es/steps/style.mini.css +1 -0
  205. package/es/style.css +307 -1
  206. package/es/style.mini.css +1 -1
  207. package/es/switch/index.d.ts +24 -24
  208. package/es/switch/src/switch.d.ts +4 -4
  209. package/es/switch/src/switch.js +228 -225
  210. package/es/table-select/index.d.ts +30 -30
  211. package/es/table-select/src/table-select.d.ts +5 -5
  212. package/es/table-select/src/table-select.js +865 -862
  213. package/es/table-transfer/src/table-transfer.js +61 -58
  214. package/es/tabs/index.d.ts +26 -26
  215. package/es/tabs/src/tab-pane.js +102 -99
  216. package/es/tabs/src/tabs.d.ts +4 -4
  217. package/es/tabs/src/tabs.js +936 -933
  218. package/es/tag/index.d.ts +16 -16
  219. package/es/tag/src/tag.d.ts +3 -3
  220. package/es/tag/src/tag.js +163 -160
  221. package/es/text/src/text.js +232 -229
  222. package/es/text-ellipsis/src/text-ellipsis.js +252 -249
  223. package/es/textarea/index.d.ts +76 -76
  224. package/es/textarea/src/textarea.d.ts +12 -12
  225. package/es/textarea/src/textarea.js +434 -431
  226. package/es/timeline/index.d.ts +6 -6
  227. package/es/timeline/src/timeline.d.ts +1 -1
  228. package/es/timeline/src/timeline.js +74 -36
  229. package/es/timeline/src/util.js +7 -4
  230. package/es/tip/index.d.ts +9 -9
  231. package/es/tip/src/tip.d.ts +1 -1
  232. package/es/tip/src/tip.js +117 -114
  233. package/es/tooltip/index.d.ts +72 -72
  234. package/es/tooltip/src/tooltip.d.ts +14 -14
  235. package/es/tooltip/src/tooltip.js +552 -549
  236. package/es/tour/src/tour.js +49 -46
  237. package/es/transfer/src/transfer.js +95 -92
  238. package/es/tree/index.d.ts +44 -44
  239. package/es/tree/src/tree.d.ts +7 -7
  240. package/es/tree/src/tree.js +3379 -3376
  241. package/es/tree-select/index.d.ts +74 -74
  242. package/es/tree-select/src/tree-select.d.ts +12 -12
  243. package/es/tree-select/src/tree-select.js +969 -966
  244. package/es/ui/index.js +8 -2
  245. package/es/ui/src/log.js +1 -1
  246. package/es/ui/src/vn.d.ts +1 -1
  247. package/es/upload/index.d.ts +128 -128
  248. package/es/upload/src/upload.d.ts +21 -21
  249. package/es/upload/src/upload.js +1791 -1788
  250. package/es/vxe-icon/style.css +1 -1
  251. package/es/vxe-icon/style.mini.css +1 -1
  252. package/es/vxe-steps/style.css +297 -0
  253. package/es/vxe-steps/style.mini.css +1 -0
  254. package/es/watermark/index.d.ts +6 -6
  255. package/es/watermark/src/watermark.d.ts +1 -1
  256. package/es/watermark/src/watermark.js +158 -155
  257. package/lib/alert/index.d.ts +170 -0
  258. package/lib/alert/src/alert.d.ts +35 -0
  259. package/lib/alert/src/alert.js +117 -114
  260. package/lib/anchor/index.d.ts +140 -0
  261. package/lib/anchor/src/anchor-link.d.ts +12 -0
  262. package/lib/anchor/src/anchor-link.js +110 -107
  263. package/lib/anchor/src/anchor.d.ts +26 -0
  264. package/lib/anchor/src/anchor.js +212 -209
  265. package/lib/anchor/src/util.d.ts +3 -0
  266. package/lib/anchor-link/index.d.ts +64 -0
  267. package/lib/avatar/index.d.ts +216 -0
  268. package/lib/avatar/src/avatar.d.ts +48 -0
  269. package/lib/avatar/src/avatar.js +132 -129
  270. package/lib/backtop/index.d.ts +640 -0
  271. package/lib/backtop/src/backtop.d.ts +146 -0
  272. package/lib/backtop/src/backtop.js +267 -264
  273. package/lib/badge/index.d.ts +154 -0
  274. package/lib/badge/src/badge.d.ts +33 -0
  275. package/lib/badge/src/badge.js +102 -99
  276. package/lib/breadcrumb/index.d.ts +108 -0
  277. package/lib/breadcrumb/src/breadcrumb-item.d.ts +10 -0
  278. package/lib/breadcrumb/src/breadcrumb-item.js +104 -101
  279. package/lib/breadcrumb/src/breadcrumb.d.ts +20 -0
  280. package/lib/breadcrumb/src/breadcrumb.js +70 -67
  281. package/lib/breadcrumb-item/index.d.ts +56 -0
  282. package/lib/button/index.d.ts +592 -0
  283. package/lib/button/src/button-group.d.ts +39 -0
  284. package/lib/button/src/button-group.js +88 -85
  285. package/lib/button/src/button.d.ts +235 -0
  286. package/lib/button-group/index.d.ts +188 -0
  287. package/lib/calendar/index.d.ts +442 -0
  288. package/lib/calendar/src/calendar.d.ts +93 -0
  289. package/lib/calendar/src/calendar.js +1371 -1368
  290. package/lib/card/index.d.ts +314 -0
  291. package/lib/card/src/card.d.ts +71 -0
  292. package/lib/card/src/card.js +235 -232
  293. package/lib/carousel/index.d.ts +360 -0
  294. package/lib/carousel/src/carousel-item.d.ts +12 -0
  295. package/lib/carousel/src/carousel-item.js +78 -75
  296. package/lib/carousel/src/carousel.d.ts +79 -0
  297. package/lib/carousel/src/carousel.js +392 -389
  298. package/lib/carousel/src/util.d.ts +3 -0
  299. package/lib/carousel-item/index.d.ts +64 -0
  300. package/lib/cascader/index.d.ts +842 -0
  301. package/lib/cascader/src/cascader.d.ts +183 -0
  302. package/lib/cascader/src/cascader.js +1665 -1662
  303. package/lib/cascader/src/util.d.ts +2 -0
  304. package/lib/checkbox/index.d.ts +292 -0
  305. package/lib/checkbox/src/button.d.ts +73 -0
  306. package/lib/checkbox/src/button.js +198 -195
  307. package/lib/checkbox/src/checkbox.d.ts +71 -0
  308. package/lib/checkbox/src/checkbox.js +181 -178
  309. package/lib/checkbox/src/group.d.ts +68 -0
  310. package/lib/checkbox/src/group.js +210 -207
  311. package/lib/checkbox-button/index.d.ts +304 -0
  312. package/lib/checkbox-group/index.d.ts +320 -0
  313. package/lib/col/index.d.ts +124 -0
  314. package/lib/collapse/index.d.ts +224 -0
  315. package/lib/collapse/src/collapse-pane.d.ts +16 -0
  316. package/lib/collapse/src/collapse-pane.js +98 -95
  317. package/lib/collapse/src/collapse.d.ts +45 -0
  318. package/lib/collapse/src/collapse.js +340 -337
  319. package/lib/collapse/src/util.d.ts +3 -0
  320. package/lib/collapse-pane/index.d.ts +80 -0
  321. package/lib/color-picker/index.d.ts +636 -0
  322. package/lib/color-picker/src/color-picker.d.ts +159 -0
  323. package/lib/color-picker/src/color-picker.js +1116 -1113
  324. package/lib/color-picker/src/util.d.ts +62 -0
  325. package/lib/components.d.ts +156 -0
  326. package/lib/components.js +3 -0
  327. package/lib/context-menu/index.d.ts +338 -0
  328. package/lib/context-menu/src/context-menu.d.ts +70 -0
  329. package/lib/context-menu/src/context-menu.js +601 -598
  330. package/lib/countdown/index.d.ts +148 -0
  331. package/lib/countdown/src/countdown.d.ts +28 -0
  332. package/lib/countdown/src/countdown.js +224 -221
  333. package/lib/date-panel/index.d.ts +520 -0
  334. package/lib/date-panel/src/date-panel.d.ts +112 -0
  335. package/lib/date-panel/src/date-panel.js +1905 -1902
  336. package/lib/date-panel/src/util.d.ts +40 -0
  337. package/lib/date-picker/index.d.ts +1074 -0
  338. package/lib/date-picker/src/date-picker.d.ts +262 -0
  339. package/lib/date-picker/src/date-picker.js +1537 -1534
  340. package/lib/date-range-picker/index.d.ts +1044 -0
  341. package/lib/date-range-picker/src/date-range-picker.d.ts +245 -0
  342. package/lib/date-range-picker/src/date-range-picker.js +1412 -1409
  343. package/lib/divider/index.d.ts +198 -0
  344. package/lib/divider/src/divider.d.ts +43 -0
  345. package/lib/divider/src/divider.js +80 -77
  346. package/lib/drawer/index.d.ts +1398 -0
  347. package/lib/drawer/src/drawer.d.ts +317 -0
  348. package/lib/drawer/src/drawer.js +778 -775
  349. package/lib/drawer/src/store.d.ts +2 -0
  350. package/lib/dynamics/index.d.ts +463 -0
  351. package/lib/empty/index.d.ts +116 -0
  352. package/lib/empty/src/empty.d.ts +24 -0
  353. package/lib/empty/src/empty.js +100 -97
  354. package/lib/form/index.d.ts +836 -0
  355. package/lib/form/render/index.d.ts +1 -0
  356. package/lib/form/src/form-config-item.d.ts +187 -0
  357. package/lib/form/src/form-group.d.ts +188 -0
  358. package/lib/form/src/form-group.js +74 -71
  359. package/lib/form/src/form-item.d.ts +271 -0
  360. package/lib/form/src/form-item.js +76 -73
  361. package/lib/form/src/form.d.ts +191 -0
  362. package/lib/form/src/form.js +789 -786
  363. package/lib/form/src/itemInfo.d.ts +5 -0
  364. package/lib/form/src/render.d.ts +27 -0
  365. package/lib/form/src/util.d.ts +13 -0
  366. package/lib/form-gather/index.d.ts +840 -0
  367. package/lib/form-group/index.d.ts +828 -0
  368. package/lib/form-item/index.d.ts +828 -0
  369. package/lib/icon/index.d.ts +132 -0
  370. package/lib/icon/src/icon.d.ts +26 -0
  371. package/lib/icon/src/icon.js +59 -56
  372. package/lib/icon/style/style.css +1 -1
  373. package/lib/icon/style/style.mini.css +1 -1
  374. package/lib/icon-picker/index.d.ts +440 -0
  375. package/lib/icon-picker/src/icon-picker.d.ts +105 -0
  376. package/lib/icon-picker/src/icon-picker.js +719 -716
  377. package/lib/image/index.d.ts +442 -0
  378. package/lib/image/src/group.d.ts +57 -0
  379. package/lib/image/src/group.js +130 -127
  380. package/lib/image/src/image.d.ts +96 -0
  381. package/lib/image/src/image.js +243 -240
  382. package/lib/image/src/preview.d.ts +73 -0
  383. package/lib/image/src/preview.js +627 -624
  384. package/lib/image/src/util.d.ts +2 -0
  385. package/lib/image-group/index.d.ts +270 -0
  386. package/lib/image-preview/index.d.ts +352 -0
  387. package/lib/index.common.js +2 -0
  388. package/lib/index.d.ts +6 -0
  389. package/lib/index.js +2 -0
  390. package/lib/index.umd.js +47411 -46732
  391. package/lib/index.umd.min.js +3 -3
  392. package/lib/input/index.d.ts +1402 -0
  393. package/lib/input/src/input.d.ts +318 -0
  394. package/lib/input/src/input.js +2700 -2697
  395. package/lib/language/ar-EG.d.ts +908 -0
  396. package/lib/language/de-DE.d.ts +908 -0
  397. package/lib/language/en-US.d.ts +908 -0
  398. package/lib/language/es-ES.d.ts +908 -0
  399. package/lib/language/fr-FR.d.ts +908 -0
  400. package/lib/language/hu-HU.d.ts +908 -0
  401. package/lib/language/hy-AM.d.ts +908 -0
  402. package/lib/language/id-ID.d.ts +908 -0
  403. package/lib/language/it-IT.d.ts +908 -0
  404. package/lib/language/ja-JP.d.ts +908 -0
  405. package/lib/language/ko-KR.d.ts +908 -0
  406. package/lib/language/ms-MY.d.ts +908 -0
  407. package/lib/language/nb-NO.d.ts +908 -0
  408. package/lib/language/pt-BR.d.ts +908 -0
  409. package/lib/language/ru-RU.d.ts +908 -0
  410. package/lib/language/th-TH.d.ts +908 -0
  411. package/lib/language/ug-CN.d.ts +908 -0
  412. package/lib/language/uk-UA.d.ts +908 -0
  413. package/lib/language/uz-UZ.d.ts +908 -0
  414. package/lib/language/vi-VN.d.ts +908 -0
  415. package/lib/language/zh-CHT.d.ts +908 -0
  416. package/lib/language/zh-CN.d.ts +908 -0
  417. package/lib/language/zh-HK.d.ts +908 -0
  418. package/lib/language/zh-MO.d.ts +908 -0
  419. package/lib/language/zh-TC.d.ts +908 -0
  420. package/lib/language/zh-TW.d.ts +908 -0
  421. package/lib/layout-aside/index.d.ts +178 -0
  422. package/lib/layout-aside/src/layout-aside.d.ts +39 -0
  423. package/lib/layout-aside/src/layout-aside.js +138 -135
  424. package/lib/layout-body/index.d.ts +192 -0
  425. package/lib/layout-body/src/layout-body.d.ts +42 -0
  426. package/lib/layout-body/src/layout-body.js +145 -142
  427. package/lib/layout-container/index.d.ts +130 -0
  428. package/lib/layout-container/src/layout-container.d.ts +27 -0
  429. package/lib/layout-container/src/layout-container.js +71 -68
  430. package/lib/layout-footer/index.d.ts +56 -0
  431. package/lib/layout-footer/src/layout-footer.d.ts +10 -0
  432. package/lib/layout-footer/src/layout-footer.js +60 -57
  433. package/lib/layout-header/index.d.ts +48 -0
  434. package/lib/layout-header/src/layout-header.d.ts +8 -0
  435. package/lib/layout-header/src/layout-header.js +58 -55
  436. package/lib/link/index.d.ts +210 -0
  437. package/lib/link/src/link.d.ts +51 -0
  438. package/lib/link/src/link.js +131 -128
  439. package/lib/list/index.d.ts +538 -0
  440. package/lib/list/src/list.d.ts +110 -0
  441. package/lib/list/src/list.js +2173 -2170
  442. package/lib/list/src/store.d.ts +6 -0
  443. package/lib/list/src/util.d.ts +2 -0
  444. package/lib/loading/index.d.ts +257 -0
  445. package/lib/loading/src/loading.d.ts +56 -0
  446. package/lib/loading/src/loading.js +141 -138
  447. package/lib/locale/ar-EG.umd.d.ts +908 -0
  448. package/lib/locale/de-DE.umd.d.ts +908 -0
  449. package/lib/locale/en-US.umd.d.ts +908 -0
  450. package/lib/locale/es-ES.umd.d.ts +908 -0
  451. package/lib/locale/fr-FR.umd.d.ts +908 -0
  452. package/lib/locale/hu-HU.umd.d.ts +908 -0
  453. package/lib/locale/hy-AM.umd.d.ts +908 -0
  454. package/lib/locale/id-ID.umd.d.ts +908 -0
  455. package/lib/locale/it-IT.umd.d.ts +908 -0
  456. package/lib/locale/ja-JP.umd.d.ts +908 -0
  457. package/lib/locale/ko-KR.umd.d.ts +908 -0
  458. package/lib/locale/ms-MY.umd.d.ts +908 -0
  459. package/lib/locale/nb-NO.umd.d.ts +908 -0
  460. package/lib/locale/pt-BR.umd.d.ts +908 -0
  461. package/lib/locale/ru-RU.umd.d.ts +908 -0
  462. package/lib/locale/th-TH.umd.d.ts +908 -0
  463. package/lib/locale/ug-CN.umd.d.ts +908 -0
  464. package/lib/locale/uk-UA.umd.d.ts +908 -0
  465. package/lib/locale/uz-UZ.umd.d.ts +908 -0
  466. package/lib/locale/vi-VN.umd.d.ts +908 -0
  467. package/lib/locale/zh-CHT.umd.d.ts +908 -0
  468. package/lib/locale/zh-CN.umd.d.ts +908 -0
  469. package/lib/locale/zh-HK.umd.d.ts +908 -0
  470. package/lib/locale/zh-MO.umd.d.ts +908 -0
  471. package/lib/locale/zh-TC.umd.d.ts +908 -0
  472. package/lib/locale/zh-TW.umd.d.ts +908 -0
  473. package/lib/mention/index.d.ts +84 -0
  474. package/lib/mention/src/mention.d.ts +16 -0
  475. package/lib/mention/src/mention.js +49 -46
  476. package/lib/menu/index.d.ts +446 -0
  477. package/lib/menu/src/menu.d.ts +98 -0
  478. package/lib/menu/src/menu.js +799 -796
  479. package/lib/modal/index.d.ts +1934 -0
  480. package/lib/modal/src/modal.d.ts +457 -0
  481. package/lib/modal/src/modal.js +1519 -1527
  482. package/lib/modal/src/store.d.ts +2 -0
  483. package/lib/notice-bar/index.d.ts +232 -0
  484. package/lib/notice-bar/src/notice-bar.d.ts +49 -0
  485. package/lib/notice-bar/src/notice-bar.js +168 -165
  486. package/lib/number-input/index.d.ts +1208 -0
  487. package/lib/number-input/src/number-input.d.ts +268 -0
  488. package/lib/number-input/src/number-input.js +1094 -1091
  489. package/lib/number-input/src/util.d.ts +3 -0
  490. package/lib/optgroup/index.d.ts +150 -0
  491. package/lib/option/index.d.ts +158 -0
  492. package/lib/pager/index.d.ts +682 -0
  493. package/lib/pager/src/pager.d.ts +155 -0
  494. package/lib/pager/src/pager.js +767 -764
  495. package/lib/password-input/index.d.ts +572 -0
  496. package/lib/password-input/src/password-input.d.ts +122 -0
  497. package/lib/password-input/src/password-input.js +431 -428
  498. package/lib/print/index.d.ts +454 -0
  499. package/lib/print/src/page-break.d.ts +9 -0
  500. package/lib/print/src/page-break.js +63 -60
  501. package/lib/print/src/print.d.ts +113 -0
  502. package/lib/print/src/print.js +303 -300
  503. package/lib/print/src/util.d.ts +6 -0
  504. package/lib/print-page-break/index.d.ts +60 -0
  505. package/lib/pulldown/index.d.ts +356 -0
  506. package/lib/pulldown/src/pulldown.d.ts +99 -0
  507. package/lib/pulldown/src/pulldown.js +403 -400
  508. package/lib/radio/index.d.ts +292 -0
  509. package/lib/radio/src/button.d.ts +73 -0
  510. package/lib/radio/src/button.js +214 -211
  511. package/lib/radio/src/group.d.ts +66 -0
  512. package/lib/radio/src/group.js +195 -192
  513. package/lib/radio/src/radio.d.ts +71 -0
  514. package/lib/radio/src/radio.js +194 -191
  515. package/lib/radio-button/index.d.ts +304 -0
  516. package/lib/radio-group/index.d.ts +308 -0
  517. package/lib/rate/index.d.ts +200 -0
  518. package/lib/rate/src/rate.d.ts +41 -0
  519. package/lib/rate/src/rate.js +164 -161
  520. package/lib/result/index.d.ts +96 -0
  521. package/lib/result/src/result.d.ts +20 -0
  522. package/lib/result/src/result.js +116 -113
  523. package/lib/row/index.d.ts +192 -0
  524. package/lib/row/src/col.d.ts +26 -0
  525. package/lib/row/src/col.js +133 -130
  526. package/lib/row/src/row.d.ts +40 -0
  527. package/lib/row/src/row.js +111 -108
  528. package/lib/scrollbar/index.d.ts +660 -0
  529. package/lib/scrollbar/src/scrollbar.d.ts +167 -0
  530. package/lib/scrollbar/src/scrollbar.js +518 -515
  531. package/lib/segmented/index.d.ts +210 -0
  532. package/lib/segmented/src/segmented.d.ts +44 -0
  533. package/lib/segmented/src/segmented.js +240 -237
  534. package/lib/select/index.d.ts +1120 -0
  535. package/lib/select/src/optgroup.d.ts +31 -0
  536. package/lib/select/src/optgroup.js +44 -41
  537. package/lib/select/src/option-info.d.ts +5 -0
  538. package/lib/select/src/option.d.ts +33 -0
  539. package/lib/select/src/option.js +39 -36
  540. package/lib/select/src/select.d.ts +303 -0
  541. package/lib/select/src/select.js +1915 -1897
  542. package/lib/select/src/util.d.ts +10 -0
  543. package/lib/slider/index.d.ts +530 -0
  544. package/lib/slider/src/slider.d.ts +115 -0
  545. package/lib/slider/src/slider.js +419 -416
  546. package/lib/space/index.d.ts +548 -0
  547. package/lib/space/src/space.d.ts +126 -0
  548. package/lib/space/src/space.js +190 -187
  549. package/lib/split/index.d.ts +348 -0
  550. package/lib/split-pane/index.d.ts +230 -0
  551. package/lib/splitter/index.d.ts +348 -0
  552. package/lib/splitter/src/splitter-panel.d.ts +51 -0
  553. package/lib/splitter/src/splitter-panel.js +146 -143
  554. package/lib/splitter/src/splitter.d.ts +73 -0
  555. package/lib/splitter/src/splitter.js +917 -914
  556. package/lib/splitter/src/util.d.ts +3 -0
  557. package/lib/splitter-panel/index.d.ts +230 -0
  558. package/lib/step-item/index.d.ts +76 -0
  559. package/lib/step-item/index.js +47 -0
  560. package/lib/steps/index.d.ts +314 -0
  561. package/lib/steps/src/step-info.d.ts +6 -0
  562. package/lib/steps/src/step-info.js +49 -0
  563. package/lib/steps/src/step-item.d.ts +14 -0
  564. package/lib/steps/src/step-item.js +59 -0
  565. package/lib/steps/src/steps.d.ts +69 -0
  566. package/lib/steps/src/steps.js +298 -46
  567. package/lib/steps/src/util.d.ts +7 -0
  568. package/lib/steps/src/util.js +74 -0
  569. package/lib/steps/style/style.css +297 -0
  570. package/lib/steps/style/style.mini.css +1 -0
  571. package/lib/style.css +307 -1
  572. package/lib/style.mini.css +1 -1
  573. package/lib/switch/index.d.ts +332 -0
  574. package/lib/switch/src/switch.d.ts +71 -0
  575. package/lib/switch/src/switch.js +228 -225
  576. package/lib/tab-pane/index.d.ts +96 -0
  577. package/lib/table-select/index.d.ts +528 -0
  578. package/lib/table-select/src/table-select.d.ts +122 -0
  579. package/lib/table-select/src/table-select.js +865 -862
  580. package/lib/table-transfer/index.d.ts +100 -0
  581. package/lib/table-transfer/src/table-transfer.d.ts +20 -0
  582. package/lib/table-transfer/src/table-transfer.js +61 -58
  583. package/lib/tabs/index.d.ts +488 -0
  584. package/lib/tabs/src/tab-pane.d.ts +20 -0
  585. package/lib/tabs/src/tab-pane.js +102 -99
  586. package/lib/tabs/src/tabs.d.ts +105 -0
  587. package/lib/tabs/src/tabs.js +936 -933
  588. package/lib/tabs/src/util.d.ts +3 -0
  589. package/lib/tag/index.d.ts +332 -0
  590. package/lib/tag/src/tag.d.ts +71 -0
  591. package/lib/tag/src/tag.js +163 -160
  592. package/lib/text/index.d.ts +242 -0
  593. package/lib/text/src/text.d.ts +48 -0
  594. package/lib/text/src/text.js +232 -229
  595. package/lib/text-ellipsis/index.d.ts +218 -0
  596. package/lib/text-ellipsis/src/text-ellipsis.d.ts +53 -0
  597. package/lib/text-ellipsis/src/text-ellipsis.js +252 -249
  598. package/lib/textarea/index.d.ts +738 -0
  599. package/lib/textarea/src/textarea.d.ts +170 -0
  600. package/lib/textarea/src/textarea.js +434 -431
  601. package/lib/timeline/index.d.ts +176 -0
  602. package/lib/timeline/src/timeline-info.d.ts +6 -0
  603. package/lib/timeline/src/timeline-item.d.ts +12 -0
  604. package/lib/timeline/src/timeline.d.ts +38 -0
  605. package/lib/timeline/src/timeline.js +74 -36
  606. package/lib/timeline/src/util.d.ts +7 -0
  607. package/lib/timeline/src/util.js +7 -4
  608. package/lib/timeline-item/index.d.ts +68 -0
  609. package/lib/tip/index.d.ts +275 -0
  610. package/lib/tip/src/tip.d.ts +46 -0
  611. package/lib/tip/src/tip.js +117 -114
  612. package/lib/tooltip/index.d.ts +890 -0
  613. package/lib/tooltip/src/tooltip.d.ts +202 -0
  614. package/lib/tooltip/src/tooltip.js +552 -549
  615. package/lib/tour/index.d.ts +84 -0
  616. package/lib/tour/src/tour.d.ts +16 -0
  617. package/lib/tour/src/tour.js +49 -46
  618. package/lib/transfer/index.d.ts +100 -0
  619. package/lib/transfer/src/transfer.d.ts +20 -0
  620. package/lib/transfer/src/transfer.js +95 -92
  621. package/lib/tree/index.d.ts +1402 -0
  622. package/lib/tree/src/store.d.ts +6 -0
  623. package/lib/tree/src/tree.d.ts +313 -0
  624. package/lib/tree/src/tree.js +3379 -3376
  625. package/lib/tree/src/util.d.ts +3 -0
  626. package/lib/tree-select/index.d.ts +986 -0
  627. package/lib/tree-select/src/tree-select.d.ts +255 -0
  628. package/lib/tree-select/src/tree-select.js +969 -966
  629. package/lib/ui/index.d.ts +6 -0
  630. package/lib/ui/index.js +8 -2
  631. package/lib/ui/src/anime.d.ts +10 -0
  632. package/lib/ui/src/comp.d.ts +2 -0
  633. package/lib/ui/src/dom.d.ts +70 -0
  634. package/lib/ui/src/log.d.ts +6 -0
  635. package/lib/ui/src/log.js +1 -1
  636. package/lib/ui/src/utils.d.ts +23 -0
  637. package/lib/ui/src/vn.d.ts +6 -0
  638. package/lib/upload/index.d.ts +1778 -0
  639. package/lib/upload/src/upload.d.ts +413 -0
  640. package/lib/upload/src/upload.js +1788 -1785
  641. package/lib/upload/src/util.d.ts +16 -0
  642. package/lib/vxe-alert/index.d.ts +3 -0
  643. package/lib/vxe-anchor/index.d.ts +3 -0
  644. package/lib/vxe-anchor-link/index.d.ts +3 -0
  645. package/lib/vxe-avatar/index.d.ts +3 -0
  646. package/lib/vxe-backtop/index.d.ts +3 -0
  647. package/lib/vxe-badge/index.d.ts +3 -0
  648. package/lib/vxe-breadcrumb/index.d.ts +3 -0
  649. package/lib/vxe-breadcrumb-item/index.d.ts +3 -0
  650. package/lib/vxe-button/index.d.ts +3 -0
  651. package/lib/vxe-button-group/index.d.ts +3 -0
  652. package/lib/vxe-calendar/index.d.ts +3 -0
  653. package/lib/vxe-card/index.d.ts +3 -0
  654. package/lib/vxe-carousel/index.d.ts +3 -0
  655. package/lib/vxe-carousel-item/index.d.ts +3 -0
  656. package/lib/vxe-cascader/index.d.ts +3 -0
  657. package/lib/vxe-checkbox/index.d.ts +3 -0
  658. package/lib/vxe-checkbox-button/index.d.ts +3 -0
  659. package/lib/vxe-checkbox-group/index.d.ts +3 -0
  660. package/lib/vxe-col/index.d.ts +3 -0
  661. package/lib/vxe-collapse/index.d.ts +3 -0
  662. package/lib/vxe-collapse-pane/index.d.ts +3 -0
  663. package/lib/vxe-color-picker/index.d.ts +3 -0
  664. package/lib/vxe-context-menu/index.d.ts +3 -0
  665. package/lib/vxe-countdown/index.d.ts +3 -0
  666. package/lib/vxe-date-panel/index.d.ts +3 -0
  667. package/lib/vxe-date-picker/index.d.ts +3 -0
  668. package/lib/vxe-date-range-picker/index.d.ts +3 -0
  669. package/lib/vxe-divider/index.d.ts +3 -0
  670. package/lib/vxe-drawer/index.d.ts +3 -0
  671. package/lib/vxe-empty/index.d.ts +3 -0
  672. package/lib/vxe-form/index.d.ts +3 -0
  673. package/lib/vxe-form-gather/index.d.ts +3 -0
  674. package/lib/vxe-form-group/index.d.ts +3 -0
  675. package/lib/vxe-form-item/index.d.ts +3 -0
  676. package/lib/vxe-icon/index.d.ts +3 -0
  677. package/lib/vxe-icon/style/style.css +1 -1
  678. package/lib/vxe-icon/style/style.mini.css +1 -1
  679. package/lib/vxe-icon-picker/index.d.ts +3 -0
  680. package/lib/vxe-image/index.d.ts +3 -0
  681. package/lib/vxe-image-group/index.d.ts +3 -0
  682. package/lib/vxe-image-preview/index.d.ts +3 -0
  683. package/lib/vxe-input/index.d.ts +3 -0
  684. package/lib/vxe-layout-aside/index.d.ts +3 -0
  685. package/lib/vxe-layout-body/index.d.ts +3 -0
  686. package/lib/vxe-layout-container/index.d.ts +3 -0
  687. package/lib/vxe-layout-footer/index.d.ts +3 -0
  688. package/lib/vxe-layout-header/index.d.ts +3 -0
  689. package/lib/vxe-link/index.d.ts +3 -0
  690. package/lib/vxe-list/index.d.ts +3 -0
  691. package/lib/vxe-loading/index.d.ts +3 -0
  692. package/lib/vxe-mention/index.d.ts +3 -0
  693. package/lib/vxe-menu/index.d.ts +3 -0
  694. package/lib/vxe-modal/index.d.ts +3 -0
  695. package/lib/vxe-notice-bar/index.d.ts +3 -0
  696. package/lib/vxe-number-input/index.d.ts +3 -0
  697. package/lib/vxe-optgroup/index.d.ts +3 -0
  698. package/lib/vxe-option/index.d.ts +3 -0
  699. package/lib/vxe-pager/index.d.ts +3 -0
  700. package/lib/vxe-password-input/index.d.ts +3 -0
  701. package/lib/vxe-print/index.d.ts +3 -0
  702. package/lib/vxe-print-page-break/index.d.ts +3 -0
  703. package/lib/vxe-pulldown/index.d.ts +3 -0
  704. package/lib/vxe-radio/index.d.ts +3 -0
  705. package/lib/vxe-radio-button/index.d.ts +3 -0
  706. package/lib/vxe-radio-group/index.d.ts +3 -0
  707. package/lib/vxe-rate/index.d.ts +3 -0
  708. package/lib/vxe-result/index.d.ts +3 -0
  709. package/lib/vxe-row/index.d.ts +3 -0
  710. package/lib/vxe-scrollbar/index.d.ts +3 -0
  711. package/lib/vxe-segmented/index.d.ts +3 -0
  712. package/lib/vxe-select/index.d.ts +3 -0
  713. package/lib/vxe-slider/index.d.ts +3 -0
  714. package/lib/vxe-space/index.d.ts +3 -0
  715. package/lib/vxe-split/index.d.ts +3 -0
  716. package/lib/vxe-split-pane/index.d.ts +3 -0
  717. package/lib/vxe-splitter/index.d.ts +3 -0
  718. package/lib/vxe-splitter-panel/index.d.ts +3 -0
  719. package/lib/vxe-steps/index.d.ts +3 -0
  720. package/lib/vxe-steps/style/style.css +297 -0
  721. package/lib/vxe-steps/style/style.mini.css +1 -0
  722. package/lib/vxe-switch/index.d.ts +3 -0
  723. package/lib/vxe-tab-pane/index.d.ts +3 -0
  724. package/lib/vxe-table-select/index.d.ts +3 -0
  725. package/lib/vxe-table-transfer/index.d.ts +3 -0
  726. package/lib/vxe-tabs/index.d.ts +3 -0
  727. package/lib/vxe-tag/index.d.ts +3 -0
  728. package/lib/vxe-text/index.d.ts +3 -0
  729. package/lib/vxe-text-ellipsis/index.d.ts +3 -0
  730. package/lib/vxe-textarea/index.d.ts +3 -0
  731. package/lib/vxe-timeline/index.d.ts +3 -0
  732. package/lib/vxe-timeline-item/index.d.ts +3 -0
  733. package/lib/vxe-tip/index.d.ts +3 -0
  734. package/lib/vxe-tooltip/index.d.ts +3 -0
  735. package/lib/vxe-tour/index.d.ts +3 -0
  736. package/lib/vxe-transfer/index.d.ts +3 -0
  737. package/lib/vxe-tree/index.d.ts +3 -0
  738. package/lib/vxe-tree-select/index.d.ts +3 -0
  739. package/lib/vxe-ui/index.d.ts +3 -0
  740. package/lib/vxe-upload/index.d.ts +3 -0
  741. package/lib/vxe-watermark/index.d.ts +3 -0
  742. package/lib/watermark/index.d.ts +183 -0
  743. package/lib/watermark/src/util.d.ts +9 -0
  744. package/lib/watermark/src/watermark.d.ts +39 -0
  745. package/lib/watermark/src/watermark.js +158 -155
  746. package/package.json +9 -9
  747. package/packages/alert/src/alert.ts +2 -2
  748. package/packages/anchor/src/anchor-link.ts +2 -2
  749. package/packages/anchor/src/anchor.ts +2 -2
  750. package/packages/avatar/src/avatar.ts +2 -2
  751. package/packages/backtop/src/backtop.ts +2 -2
  752. package/packages/badge/src/badge.ts +2 -2
  753. package/packages/breadcrumb/src/breadcrumb-item.ts +2 -2
  754. package/packages/breadcrumb/src/breadcrumb.ts +2 -2
  755. package/packages/button/src/button-group.ts +2 -2
  756. package/packages/calendar/src/calendar.ts +2 -2
  757. package/packages/card/src/card.ts +2 -2
  758. package/packages/carousel/src/carousel-item.ts +2 -2
  759. package/packages/carousel/src/carousel.ts +2 -2
  760. package/packages/cascader/src/cascader.ts +2 -2
  761. package/packages/checkbox/src/button.ts +3 -15
  762. package/packages/checkbox/src/checkbox.ts +2 -2
  763. package/packages/checkbox/src/group.ts +2 -2
  764. package/packages/collapse/src/collapse-pane.ts +2 -2
  765. package/packages/collapse/src/collapse.ts +2 -2
  766. package/packages/color-picker/src/color-picker.ts +2 -2
  767. package/packages/components.ts +3 -0
  768. package/packages/context-menu/src/context-menu.ts +3 -16
  769. package/packages/countdown/src/countdown.ts +2 -2
  770. package/packages/date-panel/src/date-panel.ts +2 -2
  771. package/packages/date-picker/src/date-picker.ts +2 -2
  772. package/packages/date-range-picker/src/date-range-picker.ts +2 -2
  773. package/packages/divider/src/divider.ts +2 -2
  774. package/packages/drawer/src/drawer.ts +2 -2
  775. package/packages/empty/src/empty.ts +2 -2
  776. package/packages/form/src/form-group.ts +2 -2
  777. package/packages/form/src/form-item.ts +2 -2
  778. package/packages/form/src/form.ts +2 -2
  779. package/packages/icon/src/icon.ts +2 -2
  780. package/packages/icon-picker/src/icon-picker.ts +2 -2
  781. package/packages/image/src/group.ts +2 -2
  782. package/packages/image/src/image.ts +2 -2
  783. package/packages/image/src/preview.ts +3 -16
  784. package/packages/index.ts +2 -2
  785. package/packages/input/src/input.ts +2 -2
  786. package/packages/layout-aside/src/layout-aside.ts +2 -2
  787. package/packages/layout-body/src/layout-body.ts +2 -2
  788. package/packages/layout-container/src/layout-container.ts +3 -14
  789. package/packages/layout-footer/src/layout-footer.ts +2 -2
  790. package/packages/layout-header/src/layout-header.ts +2 -2
  791. package/packages/link/src/link.ts +2 -2
  792. package/packages/list/src/list.ts +2 -2
  793. package/packages/loading/src/loading.ts +2 -2
  794. package/packages/mention/src/mention.ts +2 -2
  795. package/packages/menu/src/menu.ts +2 -2
  796. package/packages/modal/src/modal.ts +5 -20
  797. package/packages/notice-bar/src/notice-bar.ts +2 -2
  798. package/packages/number-input/src/number-input.ts +3 -17
  799. package/packages/pager/src/pager.ts +2 -2
  800. package/packages/password-input/src/password-input.ts +2 -2
  801. package/packages/print/src/page-break.ts +2 -2
  802. package/packages/print/src/print.ts +2 -2
  803. package/packages/pulldown/src/pulldown.ts +2 -2
  804. package/packages/radio/src/button.ts +3 -16
  805. package/packages/radio/src/group.ts +3 -17
  806. package/packages/radio/src/radio.ts +2 -2
  807. package/packages/rate/src/rate.ts +2 -2
  808. package/packages/result/src/result.ts +2 -2
  809. package/packages/row/src/col.ts +2 -2
  810. package/packages/row/src/row.ts +2 -2
  811. package/packages/scrollbar/src/scrollbar.ts +3 -4
  812. package/packages/segmented/src/segmented.ts +2 -2
  813. package/packages/select/src/optgroup.ts +2 -2
  814. package/packages/select/src/option.ts +2 -2
  815. package/packages/select/src/select.ts +33 -19
  816. package/packages/slider/src/slider.ts +2 -2
  817. package/packages/space/src/space.ts +2 -2
  818. package/packages/splitter/src/splitter-panel.ts +2 -2
  819. package/packages/splitter/src/splitter.ts +2 -2
  820. package/packages/step-item/index.ts +16 -0
  821. package/packages/steps/src/step-info.ts +18 -0
  822. package/packages/steps/src/step-item.ts +41 -0
  823. package/packages/steps/src/steps.ts +273 -13
  824. package/packages/steps/src/util.ts +44 -0
  825. package/packages/switch/src/switch.ts +2 -2
  826. package/packages/table-select/src/table-select.ts +2 -2
  827. package/packages/table-transfer/src/table-transfer.ts +3 -15
  828. package/packages/tabs/src/tab-pane.ts +2 -2
  829. package/packages/tabs/src/tabs.ts +2 -2
  830. package/packages/tag/src/tag.ts +2 -2
  831. package/packages/text/src/text.ts +2 -2
  832. package/packages/text-ellipsis/src/text-ellipsis.ts +2 -2
  833. package/packages/textarea/src/textarea.ts +2 -2
  834. package/packages/timeline/src/timeline-info.ts +17 -17
  835. package/packages/timeline/src/timeline.ts +93 -49
  836. package/packages/timeline/src/util.ts +44 -41
  837. package/packages/tip/src/tip.ts +2 -2
  838. package/packages/tooltip/src/tooltip.ts +2 -2
  839. package/packages/tour/src/tour.ts +2 -2
  840. package/packages/transfer/src/transfer.ts +2 -2
  841. package/packages/tree/src/tree.ts +2 -2
  842. package/packages/tree-select/src/tree-select.ts +2 -2
  843. package/packages/ui/index.ts +8 -1
  844. package/packages/upload/src/upload.ts +2 -2
  845. package/packages/watermark/src/watermark.ts +2 -2
  846. package/styles/all.scss +1 -0
  847. package/styles/components/step-item.scss +0 -0
  848. package/styles/components/steps.scss +354 -0
  849. package/styles/theme/base.scss +9 -0
  850. package/types/all.d.ts +3 -0
  851. package/types/components/gantt.d.ts +1 -3
  852. package/types/components/select.d.ts +1 -13
  853. package/types/components/step-item.d.ts +72 -0
  854. package/types/components/steps.d.ts +67 -8
  855. package/types/components/table.d.ts +7 -66
  856. package/types/handles/form-design.d.ts +1 -4
  857. package/types/ui/global-config.d.ts +2 -0
  858. package/types/ui/global-icon.d.ts +7 -0
  859. /package/dist/{iconfont.1793330162657.ttf → iconfont.1793683457630.ttf} +0 -0
  860. /package/dist/{iconfont.1793330162657.woff → iconfont.1793683457630.woff} +0 -0
  861. /package/dist/{iconfont.1793330162657.woff2 → iconfont.1793683457630.woff2} +0 -0
  862. /package/es/icon/{iconfont.1793330162657.ttf → iconfont.1793683457630.ttf} +0 -0
  863. /package/es/icon/{iconfont.1793330162657.woff → iconfont.1793683457630.woff} +0 -0
  864. /package/es/icon/{iconfont.1793330162657.woff2 → iconfont.1793683457630.woff2} +0 -0
  865. /package/es/{iconfont.1793330162657.ttf → iconfont.1793683457630.ttf} +0 -0
  866. /package/es/{iconfont.1793330162657.woff → iconfont.1793683457630.woff} +0 -0
  867. /package/es/{iconfont.1793330162657.woff2 → iconfont.1793683457630.woff2} +0 -0
  868. /package/es/vxe-icon/{iconfont.1793330162657.ttf → iconfont.1793683457630.ttf} +0 -0
  869. /package/es/vxe-icon/{iconfont.1793330162657.woff → iconfont.1793683457630.woff} +0 -0
  870. /package/es/vxe-icon/{iconfont.1793330162657.woff2 → iconfont.1793683457630.woff2} +0 -0
  871. /package/lib/icon/style/{iconfont.1793330162657.ttf → iconfont.1793683457630.ttf} +0 -0
  872. /package/lib/icon/style/{iconfont.1793330162657.woff → iconfont.1793683457630.woff} +0 -0
  873. /package/lib/icon/style/{iconfont.1793330162657.woff2 → iconfont.1793683457630.woff2} +0 -0
  874. /package/lib/{iconfont.1793330162657.ttf → iconfont.1793683457630.ttf} +0 -0
  875. /package/lib/{iconfont.1793330162657.woff → iconfont.1793683457630.woff} +0 -0
  876. /package/lib/{iconfont.1793330162657.woff2 → iconfont.1793683457630.woff2} +0 -0
  877. /package/lib/vxe-icon/style/{iconfont.1793330162657.ttf → iconfont.1793683457630.ttf} +0 -0
  878. /package/lib/vxe-icon/style/{iconfont.1793330162657.woff → iconfont.1793683457630.woff} +0 -0
  879. /package/lib/vxe-icon/style/{iconfont.1793330162657.woff2 → iconfont.1793683457630.woff2} +0 -0
@@ -71,924 +71,927 @@ function createInternalData() {
71
71
  fullValMaps: {}
72
72
  };
73
73
  }
74
- var table_select_default = (0, import_comp.defineVxeComponent)({
75
- name: "VxeTableSelect",
76
- props: {
77
- modelValue: [String, Number, Array],
78
- clearable: {
79
- type: Boolean,
80
- default: () => getConfig().tableSelect.clearable
81
- },
82
- placeholder: {
83
- type: String,
84
- default: () => import_xe_utils.default.eqNull(getConfig().tableSelect.placeholder) ? getI18n("vxe.base.pleaseSelect") : getConfig().tableSelect.placeholder
85
- },
86
- readonly: {
87
- type: Boolean,
88
- default: null
89
- },
90
- loading: Boolean,
91
- disabled: {
92
- type: Boolean,
93
- default: null
94
- },
95
- multiple: Boolean,
96
- className: [String, Function],
97
- prefixIcon: String,
98
- placement: String,
99
- columns: Array,
100
- options: Array,
101
- optionProps: Object,
102
- lazyOptions: Array,
103
- filterable: {
104
- type: Boolean,
105
- default: () => getConfig().tableSelect.filterable
106
- },
107
- filterConfig: Object,
108
- remote: Boolean,
109
- remoteConfig: Object,
110
- /**
111
- * 已废弃,请使用 popupConfig.zIndex
112
- * @deprecated
113
- */
114
- zIndex: Number,
115
- size: {
116
- type: String,
117
- default: () => getConfig().tableSelect.size || getConfig().size
118
- },
119
- popupConfig: Object,
120
- gridConfig: Object,
121
- transfer: {
122
- type: Boolean,
123
- default: null
124
- }
125
- },
126
- emits: [
127
- "update:modelValue",
128
- "change",
129
- "clear",
130
- "blur",
131
- "focus",
132
- "click",
133
- "form-submit",
134
- "form-reset",
135
- "form-collapse",
136
- "page-change"
137
- ],
138
- setup(props, context) {
139
- const { emit, slots } = context;
140
- const VxeTableGridComponent = import_core.VxeUI.getComponent("vxe-grid");
141
- const $xeModal = (0, import_vue.inject)("$xeModal", null);
142
- const $xeDrawer = (0, import_vue.inject)("$xeDrawer", null);
143
- const $xeTable = (0, import_vue.inject)("$xeTable", null);
144
- const $xeForm = (0, import_vue.inject)("$xeForm", null);
145
- const formItemInfo = (0, import_vue.inject)("xeFormItemInfo", null);
146
- const xID = import_xe_utils.default.uniqueId();
147
- const { computeSize } = useFns.useSize(props);
148
- const refElem = (0, import_vue.ref)();
149
- const refInput = (0, import_vue.ref)();
150
- const refGridWrapper = (0, import_vue.ref)();
151
- const refOptionPanel = (0, import_vue.ref)();
152
- const refInpSearch = (0, import_vue.ref)();
153
- const refGrid = (0, import_vue.ref)();
154
- const reactData = (0, import_vue.reactive)(createReactData());
155
- const internalData = createInternalData();
156
- const refMaps = {
157
- refElem
158
- };
159
- const computeFormReadonly = (0, import_vue.computed)(() => {
160
- const { readonly } = props;
161
- if (readonly === null) {
162
- if ($xeForm) {
163
- return $xeForm.props.readonly;
164
- }
165
- return false;
166
- }
167
- return readonly;
168
- });
169
- const computeIsDisabled = (0, import_vue.computed)(() => {
170
- const { disabled } = props;
171
- if (disabled === null) {
172
- if ($xeForm) {
173
- return $xeForm.props.disabled;
174
- }
175
- return false;
74
+ var table_select_default = (
75
+ /* define-vxe-component start */
76
+ (0, import_comp.defineVxeComponent)({
77
+ name: "VxeTableSelect",
78
+ props: {
79
+ modelValue: [String, Number, Array],
80
+ clearable: {
81
+ type: Boolean,
82
+ default: () => getConfig().tableSelect.clearable
83
+ },
84
+ placeholder: {
85
+ type: String,
86
+ default: () => import_xe_utils.default.eqNull(getConfig().tableSelect.placeholder) ? getI18n("vxe.base.pleaseSelect") : getConfig().tableSelect.placeholder
87
+ },
88
+ readonly: {
89
+ type: Boolean,
90
+ default: null
91
+ },
92
+ loading: Boolean,
93
+ disabled: {
94
+ type: Boolean,
95
+ default: null
96
+ },
97
+ multiple: Boolean,
98
+ className: [String, Function],
99
+ prefixIcon: String,
100
+ placement: String,
101
+ columns: Array,
102
+ options: Array,
103
+ optionProps: Object,
104
+ lazyOptions: Array,
105
+ filterable: {
106
+ type: Boolean,
107
+ default: () => getConfig().tableSelect.filterable
108
+ },
109
+ filterConfig: Object,
110
+ remote: Boolean,
111
+ remoteConfig: Object,
112
+ /**
113
+ * 已废弃,请使用 popupConfig.zIndex
114
+ * @deprecated
115
+ */
116
+ zIndex: Number,
117
+ size: {
118
+ type: String,
119
+ default: () => getConfig().tableSelect.size || getConfig().size
120
+ },
121
+ popupConfig: Object,
122
+ gridConfig: Object,
123
+ transfer: {
124
+ type: Boolean,
125
+ default: null
176
126
  }
177
- return disabled;
178
- });
179
- const computeBtnTransfer = (0, import_vue.computed)(() => {
180
- const { transfer } = props;
181
- const popupOpts = computePopupOpts.value;
182
- if (import_xe_utils.default.isBoolean(popupOpts.transfer)) {
183
- return popupOpts.transfer;
184
- }
185
- if (transfer === null) {
186
- const globalTransfer = getConfig().tableSelect.transfer;
187
- if (import_xe_utils.default.isBoolean(globalTransfer)) {
188
- return globalTransfer;
189
- }
190
- if ($xeTable || $xeModal || $xeDrawer || $xeForm) {
191
- return true;
127
+ },
128
+ emits: [
129
+ "update:modelValue",
130
+ "change",
131
+ "clear",
132
+ "blur",
133
+ "focus",
134
+ "click",
135
+ "form-submit",
136
+ "form-reset",
137
+ "form-collapse",
138
+ "page-change"
139
+ ],
140
+ setup(props, context) {
141
+ const { emit, slots } = context;
142
+ const VxeTableGridComponent = import_core.VxeUI.getComponent("vxe-grid");
143
+ const $xeModal = (0, import_vue.inject)("$xeModal", null);
144
+ const $xeDrawer = (0, import_vue.inject)("$xeDrawer", null);
145
+ const $xeTable = (0, import_vue.inject)("$xeTable", null);
146
+ const $xeForm = (0, import_vue.inject)("$xeForm", null);
147
+ const formItemInfo = (0, import_vue.inject)("xeFormItemInfo", null);
148
+ const xID = import_xe_utils.default.uniqueId();
149
+ const { computeSize } = useFns.useSize(props);
150
+ const refElem = (0, import_vue.ref)();
151
+ const refInput = (0, import_vue.ref)();
152
+ const refGridWrapper = (0, import_vue.ref)();
153
+ const refOptionPanel = (0, import_vue.ref)();
154
+ const refInpSearch = (0, import_vue.ref)();
155
+ const refGrid = (0, import_vue.ref)();
156
+ const reactData = (0, import_vue.reactive)(createReactData());
157
+ const internalData = createInternalData();
158
+ const refMaps = {
159
+ refElem
160
+ };
161
+ const computeFormReadonly = (0, import_vue.computed)(() => {
162
+ const { readonly } = props;
163
+ if (readonly === null) {
164
+ if ($xeForm) {
165
+ return $xeForm.props.readonly;
166
+ }
167
+ return false;
192
168
  }
193
- }
194
- return transfer;
195
- });
196
- const computePropsOpts = (0, import_vue.computed)(() => {
197
- return props.optionProps || {};
198
- });
199
- const computeCheckboxOpts = (0, import_vue.computed)(() => {
200
- const { multiple } = props;
201
- const gridOpts = computeGridOpts.value;
202
- return Object.assign(
203
- {
204
- reserve: multiple,
205
- showReserveStatus: multiple
206
- },
207
- getConfig().table.checkboxConfig,
208
- gridOpts.checkboxConfig
209
- );
210
- });
211
- const computeRowOpts = (0, import_vue.computed)(() => {
212
- const { multiple } = props;
213
- const gridOpts = computeGridOpts.value;
214
- const valueField = computeValueField.value;
215
- return Object.assign(
216
- {
217
- isCurrent: true
218
- },
219
- multiple ? { keyField: valueField } : {},
220
- getConfig().table.rowConfig,
221
- gridOpts.rowConfig
222
- );
223
- });
224
- const computeRowKeyField = (0, import_vue.computed)(() => {
225
- const rowOpts = computeRowOpts.value;
226
- return rowOpts.keyField || "_X_ROW_KEY";
227
- });
228
- const computeLabelField = (0, import_vue.computed)(() => {
229
- const propsOpts = computePropsOpts.value;
230
- return propsOpts.label || "label";
231
- });
232
- const computeValueField = (0, import_vue.computed)(() => {
233
- const propsOpts = computePropsOpts.value;
234
- return propsOpts.value || "value";
235
- });
236
- const computePopupOpts = (0, import_vue.computed)(() => {
237
- return Object.assign({}, getConfig().tableSelect.popupConfig, props.popupConfig);
238
- });
239
- const computeGridOpts = (0, import_vue.computed)(() => {
240
- return Object.assign({}, getConfig().tableSelect.gridConfig, props.gridConfig, {
241
- data: void 0
169
+ return readonly;
242
170
  });
243
- });
244
- const computeRemoteOpts = (0, import_vue.computed)(() => {
245
- return Object.assign({}, getConfig().tableSelect.remoteConfig, props.remoteConfig);
246
- });
247
- const computeFilterOpts = (0, import_vue.computed)(() => {
248
- return Object.assign({}, getConfig().tableSelect.filterConfig, props.filterConfig);
249
- });
250
- const computeSelectGridOpts = (0, import_vue.computed)(() => {
251
- const gridOpts = computeGridOpts.value;
252
- const checkboxOpts = computeCheckboxOpts.value;
253
- const { pagerConfig, proxyConfig } = gridOpts;
254
- if (proxyConfig) {
255
- const proxyAjax = proxyConfig.ajax;
256
- if (proxyAjax && proxyAjax.query) {
257
- const newProxyConfig = import_xe_utils.default.clone(proxyConfig, true);
258
- const ajaxMethods = proxyAjax.query;
259
- if (ajaxMethods) {
260
- const resConfigs = proxyConfig.response || proxyConfig.props || {};
261
- Object.assign(newProxyConfig.ajax, {
262
- query(params, ...args) {
263
- return Promise.resolve(ajaxMethods(params, ...args)).then((rest) => {
264
- let currData = [];
265
- if (pagerConfig) {
266
- const resultProp = resConfigs.result;
267
- currData = (import_xe_utils.default.isFunction(resultProp) ? resultProp({ data: rest, $table: null, $grid: null, $gantt: null }) : import_xe_utils.default.get(rest, resultProp || "result")) || [];
268
- } else {
269
- const listProp = resConfigs.list;
270
- currData = (listProp ? import_xe_utils.default.isFunction(listProp) ? listProp({ data: rest, $table: null, $grid: null, $gantt: null }) : import_xe_utils.default.get(rest, listProp) : rest) || [];
271
- }
272
- cacheDataMap(currData || []);
273
- return rest;
274
- });
275
- }
276
- });
171
+ const computeIsDisabled = (0, import_vue.computed)(() => {
172
+ const { disabled } = props;
173
+ if (disabled === null) {
174
+ if ($xeForm) {
175
+ return $xeForm.props.disabled;
277
176
  }
278
- return Object.assign({}, gridOpts, { checkboxConfig: checkboxOpts, proxyConfig: newProxyConfig });
177
+ return false;
279
178
  }
280
- }
281
- return Object.assign({}, gridOpts, { checkboxConfig: checkboxOpts });
282
- });
283
- const computeSelectLabel = (0, import_vue.computed)(() => {
284
- const { modelValue, lazyOptions } = props;
285
- const { fullValMaps, fullData } = internalData;
286
- const valueField = computeValueField.value;
287
- const labelField = computeLabelField.value;
288
- if (!fullData) {
289
- return "";
290
- }
291
- return (import_xe_utils.default.isArray(modelValue) ? modelValue : [modelValue]).map((val) => {
292
- const cacheItem = fullValMaps[val];
293
- if (cacheItem) {
294
- return cacheItem.item[labelField];
295
- }
296
- if (lazyOptions) {
297
- const lazyItem = lazyOptions.find((item) => item[valueField] === val);
298
- if (lazyItem) {
299
- return lazyItem[labelField];
179
+ return disabled;
180
+ });
181
+ const computeBtnTransfer = (0, import_vue.computed)(() => {
182
+ const { transfer } = props;
183
+ const popupOpts = computePopupOpts.value;
184
+ if (import_xe_utils.default.isBoolean(popupOpts.transfer)) {
185
+ return popupOpts.transfer;
186
+ }
187
+ if (transfer === null) {
188
+ const globalTransfer = getConfig().tableSelect.transfer;
189
+ if (import_xe_utils.default.isBoolean(globalTransfer)) {
190
+ return globalTransfer;
191
+ }
192
+ if ($xeTable || $xeModal || $xeDrawer || $xeForm) {
193
+ return true;
300
194
  }
301
195
  }
302
- return val;
303
- }).join(", ");
304
- });
305
- const computePopupWrapperStyle = (0, import_vue.computed)(() => {
306
- const popupOpts = computePopupOpts.value;
307
- const { height, width } = popupOpts;
308
- const stys = {};
309
- if (width) {
310
- stys.width = (0, import_dom.toCssUnit)(width);
311
- }
312
- if (height) {
313
- stys.height = (0, import_dom.toCssUnit)(height);
314
- }
315
- return stys;
316
- });
317
- const computeMaps = {};
318
- const $xeTableSelect = {
319
- xID,
320
- props,
321
- context,
322
- reactData,
323
- getRefMaps: () => refMaps,
324
- getComputeMaps: () => computeMaps
325
- };
326
- const gridEventKeys = ["form-submit", "form-reset", "form-collapse", "page-change"];
327
- const gridEvents = {};
328
- gridEventKeys.forEach((name) => {
329
- gridEvents[(0, import_vn.getOnName)(import_xe_utils.default.camelCase(name))] = (params) => {
330
- dispatchEvent(name, params, params.$event);
331
- };
332
- });
333
- const dispatchEvent = (type, params, evnt) => {
334
- emit(type, createEvent(evnt, { $tableSelect: $xeTableSelect }, params));
335
- };
336
- const emitModel = (value) => {
337
- emit("update:modelValue", value);
338
- };
339
- const tableSelectMethods = {
340
- dispatchEvent
341
- };
342
- const tableSelectPrivateMethods = {};
343
- const getRowid = (option) => {
344
- const rowKeyField = computeRowKeyField.value;
345
- const rowid = option[rowKeyField];
346
- return rowid ? encodeURIComponent(rowid) : "";
347
- };
348
- const getRowsByValue = (modelValue) => {
349
- const { fullValMaps } = internalData;
350
- const checkboxOpts = computeCheckboxOpts.value;
351
- const rowKeyField = computeRowKeyField.value;
352
- const valueField = computeValueField.value;
353
- const labelField = computeLabelField.value;
354
- const rows = [];
355
- const vals = import_xe_utils.default.eqNull(modelValue) ? [] : import_xe_utils.default.isArray(modelValue) ? modelValue : [modelValue];
356
- if (checkboxOpts.reserve) {
357
- vals.forEach((val) => {
358
- const cacheItem = fullValMaps[val];
359
- rows.push(
360
- cacheItem ? cacheItem.item : {
361
- [rowKeyField]: val,
362
- [valueField]: val,
363
- [labelField]: val
364
- }
365
- );
196
+ return transfer;
197
+ });
198
+ const computePropsOpts = (0, import_vue.computed)(() => {
199
+ return props.optionProps || {};
200
+ });
201
+ const computeCheckboxOpts = (0, import_vue.computed)(() => {
202
+ const { multiple } = props;
203
+ const gridOpts = computeGridOpts.value;
204
+ return Object.assign(
205
+ {
206
+ reserve: multiple,
207
+ showReserveStatus: multiple
208
+ },
209
+ getConfig().table.checkboxConfig,
210
+ gridOpts.checkboxConfig
211
+ );
212
+ });
213
+ const computeRowOpts = (0, import_vue.computed)(() => {
214
+ const { multiple } = props;
215
+ const gridOpts = computeGridOpts.value;
216
+ const valueField = computeValueField.value;
217
+ return Object.assign(
218
+ {
219
+ isCurrent: true
220
+ },
221
+ multiple ? { keyField: valueField } : {},
222
+ getConfig().table.rowConfig,
223
+ gridOpts.rowConfig
224
+ );
225
+ });
226
+ const computeRowKeyField = (0, import_vue.computed)(() => {
227
+ const rowOpts = computeRowOpts.value;
228
+ return rowOpts.keyField || "_X_ROW_KEY";
229
+ });
230
+ const computeLabelField = (0, import_vue.computed)(() => {
231
+ const propsOpts = computePropsOpts.value;
232
+ return propsOpts.label || "label";
233
+ });
234
+ const computeValueField = (0, import_vue.computed)(() => {
235
+ const propsOpts = computePropsOpts.value;
236
+ return propsOpts.value || "value";
237
+ });
238
+ const computePopupOpts = (0, import_vue.computed)(() => {
239
+ return Object.assign({}, getConfig().tableSelect.popupConfig, props.popupConfig);
240
+ });
241
+ const computeGridOpts = (0, import_vue.computed)(() => {
242
+ return Object.assign({}, getConfig().tableSelect.gridConfig, props.gridConfig, {
243
+ data: void 0
366
244
  });
367
- } else {
368
- vals.forEach((val) => {
245
+ });
246
+ const computeRemoteOpts = (0, import_vue.computed)(() => {
247
+ return Object.assign({}, getConfig().tableSelect.remoteConfig, props.remoteConfig);
248
+ });
249
+ const computeFilterOpts = (0, import_vue.computed)(() => {
250
+ return Object.assign({}, getConfig().tableSelect.filterConfig, props.filterConfig);
251
+ });
252
+ const computeSelectGridOpts = (0, import_vue.computed)(() => {
253
+ const gridOpts = computeGridOpts.value;
254
+ const checkboxOpts = computeCheckboxOpts.value;
255
+ const { pagerConfig, proxyConfig } = gridOpts;
256
+ if (proxyConfig) {
257
+ const proxyAjax = proxyConfig.ajax;
258
+ if (proxyAjax && proxyAjax.query) {
259
+ const newProxyConfig = import_xe_utils.default.clone(proxyConfig, true);
260
+ const ajaxMethods = proxyAjax.query;
261
+ if (ajaxMethods) {
262
+ const resConfigs = proxyConfig.response || proxyConfig.props || {};
263
+ Object.assign(newProxyConfig.ajax, {
264
+ query(params, ...args) {
265
+ return Promise.resolve(ajaxMethods(params, ...args)).then((rest) => {
266
+ let currData = [];
267
+ if (pagerConfig) {
268
+ const resultProp = resConfigs.result;
269
+ currData = (import_xe_utils.default.isFunction(resultProp) ? resultProp({ data: rest, $table: null, $grid: null, $gantt: null }) : import_xe_utils.default.get(rest, resultProp || "result")) || [];
270
+ } else {
271
+ const listProp = resConfigs.list;
272
+ currData = (listProp ? import_xe_utils.default.isFunction(listProp) ? listProp({ data: rest, $table: null, $grid: null, $gantt: null }) : import_xe_utils.default.get(rest, listProp) : rest) || [];
273
+ }
274
+ cacheDataMap(currData || []);
275
+ return rest;
276
+ });
277
+ }
278
+ });
279
+ }
280
+ return Object.assign({}, gridOpts, { checkboxConfig: checkboxOpts, proxyConfig: newProxyConfig });
281
+ }
282
+ }
283
+ return Object.assign({}, gridOpts, { checkboxConfig: checkboxOpts });
284
+ });
285
+ const computeSelectLabel = (0, import_vue.computed)(() => {
286
+ const { modelValue, lazyOptions } = props;
287
+ const { fullValMaps, fullData } = internalData;
288
+ const valueField = computeValueField.value;
289
+ const labelField = computeLabelField.value;
290
+ if (!fullData) {
291
+ return "";
292
+ }
293
+ return (import_xe_utils.default.isArray(modelValue) ? modelValue : [modelValue]).map((val) => {
369
294
  const cacheItem = fullValMaps[val];
370
295
  if (cacheItem) {
371
- rows.push(cacheItem.item);
296
+ return cacheItem.item[labelField];
372
297
  }
373
- });
374
- }
375
- return rows;
376
- };
377
- const updateModel = (modelValue) => {
378
- const { multiple } = props;
379
- (0, import_vue.nextTick)(() => {
380
- const $grid = refGrid.value;
381
- if ($grid) {
382
- const selectList = getRowsByValue(modelValue);
383
- if (selectList.length) {
384
- if (multiple) {
385
- $grid.setCheckboxRow(selectList, true);
386
- } else {
387
- $grid.setRadioRow(selectList[0]);
298
+ if (lazyOptions) {
299
+ const lazyItem = lazyOptions.find((item) => item[valueField] === val);
300
+ if (lazyItem) {
301
+ return lazyItem[labelField];
388
302
  }
389
303
  }
304
+ return val;
305
+ }).join(", ");
306
+ });
307
+ const computePopupWrapperStyle = (0, import_vue.computed)(() => {
308
+ const popupOpts = computePopupOpts.value;
309
+ const { height, width } = popupOpts;
310
+ const stys = {};
311
+ if (width) {
312
+ stys.width = (0, import_dom.toCssUnit)(width);
313
+ }
314
+ if (height) {
315
+ stys.height = (0, import_dom.toCssUnit)(height);
390
316
  }
317
+ return stys;
391
318
  });
392
- };
393
- const loadData = (data) => {
394
- cacheDataMap(data);
395
- handleData();
396
- };
397
- const loadColumn = (columns) => {
398
- if (!columns || !columns.length) {
399
- return;
400
- }
401
- const { multiple } = props;
402
- const tableCols = [];
403
- let hasRadioCol = false;
404
- let hasCheckboxCol = false;
405
- columns.forEach((column) => {
406
- if (!hasRadioCol && column.type === "radio") {
407
- hasRadioCol = true;
408
- } else if (!hasCheckboxCol && column.type === "checkbox") {
409
- hasCheckboxCol = true;
410
- }
411
- tableCols.push(column);
319
+ const computeMaps = {};
320
+ const $xeTableSelect = {
321
+ xID,
322
+ props,
323
+ context,
324
+ reactData,
325
+ getRefMaps: () => refMaps,
326
+ getComputeMaps: () => computeMaps
327
+ };
328
+ const gridEventKeys = ["form-submit", "form-reset", "form-collapse", "page-change"];
329
+ const gridEvents = {};
330
+ gridEventKeys.forEach((name) => {
331
+ gridEvents[(0, import_vn.getOnName)(import_xe_utils.default.camelCase(name))] = (params) => {
332
+ dispatchEvent(name, params, params.$event);
333
+ };
412
334
  });
413
- if (multiple) {
414
- if (!hasCheckboxCol) {
415
- tableCols.unshift({
416
- type: "checkbox",
417
- width: 70
335
+ const dispatchEvent = (type, params, evnt) => {
336
+ emit(type, createEvent(evnt, { $tableSelect: $xeTableSelect }, params));
337
+ };
338
+ const emitModel = (value) => {
339
+ emit("update:modelValue", value);
340
+ };
341
+ const tableSelectMethods = {
342
+ dispatchEvent
343
+ };
344
+ const tableSelectPrivateMethods = {};
345
+ const getRowid = (option) => {
346
+ const rowKeyField = computeRowKeyField.value;
347
+ const rowid = option[rowKeyField];
348
+ return rowid ? encodeURIComponent(rowid) : "";
349
+ };
350
+ const getRowsByValue = (modelValue) => {
351
+ const { fullValMaps } = internalData;
352
+ const checkboxOpts = computeCheckboxOpts.value;
353
+ const rowKeyField = computeRowKeyField.value;
354
+ const valueField = computeValueField.value;
355
+ const labelField = computeLabelField.value;
356
+ const rows = [];
357
+ const vals = import_xe_utils.default.eqNull(modelValue) ? [] : import_xe_utils.default.isArray(modelValue) ? modelValue : [modelValue];
358
+ if (checkboxOpts.reserve) {
359
+ vals.forEach((val) => {
360
+ const cacheItem = fullValMaps[val];
361
+ rows.push(
362
+ cacheItem ? cacheItem.item : {
363
+ [rowKeyField]: val,
364
+ [valueField]: val,
365
+ [labelField]: val
366
+ }
367
+ );
418
368
  });
419
- }
420
- } else {
421
- if (!hasRadioCol) {
422
- tableCols.unshift({
423
- type: "radio",
424
- width: 70
369
+ } else {
370
+ vals.forEach((val) => {
371
+ const cacheItem = fullValMaps[val];
372
+ if (cacheItem) {
373
+ rows.push(cacheItem.item);
374
+ }
425
375
  });
426
376
  }
427
- }
428
- reactData.tableColumns = tableCols;
429
- };
430
- const cacheDataMap = (dataList) => {
431
- const { options } = props;
432
- const rowKeyField = computeRowKeyField.value;
433
- const valueField = computeValueField.value;
434
- const gridOpts = computeGridOpts.value;
435
- const { treeConfig, pagerConfig } = gridOpts;
436
- const rowMaps = {};
437
- const keyMaps = {};
438
- if (treeConfig) {
439
- } else {
440
- import_xe_utils.default.arrayEach(dataList || options || [], (item, index, items) => {
441
- let rowid = getRowid(item);
442
- if (!rowid) {
443
- rowid = getRowUniqueId();
444
- }
445
- if (keyMaps[rowid]) {
446
- errLog("vxe.error.repeatKey", [rowKeyField, rowid]);
377
+ return rows;
378
+ };
379
+ const updateModel = (modelValue) => {
380
+ const { multiple } = props;
381
+ (0, import_vue.nextTick)(() => {
382
+ const $grid = refGrid.value;
383
+ if ($grid) {
384
+ const selectList = getRowsByValue(modelValue);
385
+ if (selectList.length) {
386
+ if (multiple) {
387
+ $grid.setCheckboxRow(selectList, true);
388
+ } else {
389
+ $grid.setRadioRow(selectList[0]);
390
+ }
391
+ }
447
392
  }
448
- keyMaps[rowid] = true;
449
- const value = item[valueField];
450
- if (rowMaps[value]) {
451
- errLog("vxe.error.repeatKey", [valueField, value]);
393
+ });
394
+ };
395
+ const loadData = (data) => {
396
+ cacheDataMap(data);
397
+ handleData();
398
+ };
399
+ const loadColumn = (columns) => {
400
+ if (!columns || !columns.length) {
401
+ return;
402
+ }
403
+ const { multiple } = props;
404
+ const tableCols = [];
405
+ let hasRadioCol = false;
406
+ let hasCheckboxCol = false;
407
+ columns.forEach((column) => {
408
+ if (!hasRadioCol && column.type === "radio") {
409
+ hasRadioCol = true;
410
+ } else if (!hasCheckboxCol && column.type === "checkbox") {
411
+ hasCheckboxCol = true;
452
412
  }
453
- rowMaps[value] = { item, index, _index: index, items, parent: null, nodes: [] };
413
+ tableCols.push(column);
454
414
  });
455
- }
456
- internalData.fullData = dataList || options || [];
457
- internalData.fullValMaps = pagerConfig ? Object.assign({}, internalData.fullValMaps, rowMaps) : rowMaps;
458
- handleOptList();
459
- updateModel(props.modelValue);
460
- };
461
- const handleOptList = () => {
462
- const { remote, modelValue, filterable } = props;
463
- const { searchValue } = reactData;
464
- const { fullData, fullValMaps } = internalData;
465
- const valueField = computeValueField.value;
466
- const labelField = computeLabelField.value;
467
- const filterOpts = computeFilterOpts.value;
468
- const frMethod = filterOpts.filterMethod;
469
- const searchStr = `${searchValue || ""}`.toLowerCase();
470
- let avList = [];
471
- if (remote) {
472
- avList = fullData;
473
- } else {
474
- if (filterable && frMethod) {
475
- avList = searchStr ? fullData.filter(
476
- (row) => frMethod({
477
- $tableSelect: $xeTableSelect,
478
- row,
479
- filterValue: searchValue,
480
- value: modelValue
481
- })
482
- ) : fullData;
483
- } else if (filterable) {
484
- avList = searchStr ? fullData.filter((row) => `${row[labelField] || row[valueField]}`.toLowerCase().indexOf(searchStr) > -1) : fullData;
415
+ if (multiple) {
416
+ if (!hasCheckboxCol) {
417
+ tableCols.unshift({
418
+ type: "checkbox",
419
+ width: 70
420
+ });
421
+ }
485
422
  } else {
486
- avList = fullData;
423
+ if (!hasRadioCol) {
424
+ tableCols.unshift({
425
+ type: "radio",
426
+ width: 70
427
+ });
428
+ }
487
429
  }
488
- }
489
- avList.forEach((item, index) => {
490
- const cacheItem = fullValMaps[item[valueField]];
491
- if (cacheItem) {
492
- cacheItem._index = index;
430
+ reactData.tableColumns = tableCols;
431
+ };
432
+ const cacheDataMap = (dataList) => {
433
+ const { options } = props;
434
+ const rowKeyField = computeRowKeyField.value;
435
+ const valueField = computeValueField.value;
436
+ const gridOpts = computeGridOpts.value;
437
+ const { treeConfig, pagerConfig } = gridOpts;
438
+ const rowMaps = {};
439
+ const keyMaps = {};
440
+ if (treeConfig) {
441
+ } else {
442
+ import_xe_utils.default.arrayEach(dataList || options || [], (item, index, items) => {
443
+ let rowid = getRowid(item);
444
+ if (!rowid) {
445
+ rowid = getRowUniqueId();
446
+ }
447
+ if (keyMaps[rowid]) {
448
+ errLog("vxe.error.repeatKey", [rowKeyField, rowid]);
449
+ }
450
+ keyMaps[rowid] = true;
451
+ const value = item[valueField];
452
+ if (rowMaps[value]) {
453
+ errLog("vxe.error.repeatKey", [valueField, value]);
454
+ }
455
+ rowMaps[value] = { item, index, _index: index, items, parent: null, nodes: [] };
456
+ });
493
457
  }
494
- });
495
- internalData.afterVisibleList = avList;
496
- return (0, import_vue.nextTick)();
497
- };
498
- const updateZindex = () => {
499
- const popupOpts = computePopupOpts.value;
500
- const customZIndex = popupOpts.zIndex || props.zIndex;
501
- if (customZIndex) {
502
- reactData.panelIndex = import_xe_utils.default.toNumber(customZIndex);
503
- } else if (reactData.panelIndex < (0, import_utils.getLastZIndex)()) {
504
- reactData.panelIndex = (0, import_utils.nextZIndex)();
505
- }
506
- };
507
- const updatePlacement = () => {
508
- const { placement } = props;
509
- const { panelIndex } = reactData;
510
- const targetElem = refElem.value;
511
- const panelElem = refOptionPanel.value;
512
- const btnTransfer = computeBtnTransfer.value;
513
- const popupOpts = computePopupOpts.value;
514
- const handleStyle = () => {
515
- const ppObj = (0, import_dom.updatePanelPlacement)(targetElem, panelElem, {
516
- placement: popupOpts.placement || placement,
517
- defaultPlacement: popupOpts.defaultPlacement,
518
- appendTo: popupOpts.appendTo,
519
- teleportTo: btnTransfer
520
- });
521
- const panelStyle = Object.assign(ppObj.style, {
522
- zIndex: panelIndex
458
+ internalData.fullData = dataList || options || [];
459
+ internalData.fullValMaps = pagerConfig ? Object.assign({}, internalData.fullValMaps, rowMaps) : rowMaps;
460
+ handleOptList();
461
+ updateModel(props.modelValue);
462
+ };
463
+ const handleOptList = () => {
464
+ const { remote, modelValue, filterable } = props;
465
+ const { searchValue } = reactData;
466
+ const { fullData, fullValMaps } = internalData;
467
+ const valueField = computeValueField.value;
468
+ const labelField = computeLabelField.value;
469
+ const filterOpts = computeFilterOpts.value;
470
+ const frMethod = filterOpts.filterMethod;
471
+ const searchStr = `${searchValue || ""}`.toLowerCase();
472
+ let avList = [];
473
+ if (remote) {
474
+ avList = fullData;
475
+ } else {
476
+ if (filterable && frMethod) {
477
+ avList = searchStr ? fullData.filter(
478
+ (row) => frMethod({
479
+ $tableSelect: $xeTableSelect,
480
+ row,
481
+ filterValue: searchValue,
482
+ value: modelValue
483
+ })
484
+ ) : fullData;
485
+ } else if (filterable) {
486
+ avList = searchStr ? fullData.filter((row) => `${row[labelField] || row[valueField]}`.toLowerCase().indexOf(searchStr) > -1) : fullData;
487
+ } else {
488
+ avList = fullData;
489
+ }
490
+ }
491
+ avList.forEach((item, index) => {
492
+ const cacheItem = fullValMaps[item[valueField]];
493
+ if (cacheItem) {
494
+ cacheItem._index = index;
495
+ }
523
496
  });
524
- reactData.panelStyle = panelStyle;
525
- reactData.panelPlacement = ppObj.placement;
526
- };
527
- handleStyle();
528
- return (0, import_vue.nextTick)().then(handleStyle);
529
- };
530
- const showOptionPanel = () => {
531
- const { loading, remote, filterable } = props;
532
- const { fullData } = internalData;
533
- const isDisabled = computeIsDisabled.value;
534
- const remoteOpts = computeRemoteOpts.value;
535
- if (!loading && !isDisabled) {
497
+ internalData.afterVisibleList = avList;
498
+ return (0, import_vue.nextTick)();
499
+ };
500
+ const updateZindex = () => {
501
+ const popupOpts = computePopupOpts.value;
502
+ const customZIndex = popupOpts.zIndex || props.zIndex;
503
+ if (customZIndex) {
504
+ reactData.panelIndex = import_xe_utils.default.toNumber(customZIndex);
505
+ } else if (reactData.panelIndex < (0, import_utils.getLastZIndex)()) {
506
+ reactData.panelIndex = (0, import_utils.nextZIndex)();
507
+ }
508
+ };
509
+ const updatePlacement = () => {
510
+ const { placement } = props;
511
+ const { panelIndex } = reactData;
512
+ const targetElem = refElem.value;
513
+ const panelElem = refOptionPanel.value;
514
+ const btnTransfer = computeBtnTransfer.value;
515
+ const popupOpts = computePopupOpts.value;
516
+ const handleStyle = () => {
517
+ const ppObj = (0, import_dom.updatePanelPlacement)(targetElem, panelElem, {
518
+ placement: popupOpts.placement || placement,
519
+ defaultPlacement: popupOpts.defaultPlacement,
520
+ appendTo: popupOpts.appendTo,
521
+ teleportTo: btnTransfer
522
+ });
523
+ const panelStyle = Object.assign(ppObj.style, {
524
+ zIndex: panelIndex
525
+ });
526
+ reactData.panelStyle = panelStyle;
527
+ reactData.panelPlacement = ppObj.placement;
528
+ };
529
+ handleStyle();
530
+ return (0, import_vue.nextTick)().then(handleStyle);
531
+ };
532
+ const showOptionPanel = () => {
533
+ const { loading, remote, filterable } = props;
534
+ const { fullData } = internalData;
535
+ const isDisabled = computeIsDisabled.value;
536
+ const remoteOpts = computeRemoteOpts.value;
537
+ if (!loading && !isDisabled) {
538
+ if (internalData.vpTimeout) {
539
+ clearTimeout(internalData.vpTimeout);
540
+ }
541
+ if (internalData.hpTimeout) {
542
+ clearTimeout(internalData.hpTimeout);
543
+ }
544
+ if (!reactData.initialized) {
545
+ reactData.initialized = true;
546
+ }
547
+ if (filterable) {
548
+ if (remote && remoteOpts.enabled && remoteOpts.autoLoad && !fullData.length) {
549
+ handleSearchEvent();
550
+ }
551
+ }
552
+ reactData.isActivated = true;
553
+ reactData.isAniVisible = true;
554
+ internalData.vpTimeout = setTimeout(() => {
555
+ reactData.visiblePanel = true;
556
+ updateModel(props.modelValue);
557
+ internalData.vpTimeout = void 0;
558
+ handleFocusSearch();
559
+ updatePlacement();
560
+ }, 10);
561
+ updateZindex();
562
+ updatePlacement();
563
+ }
564
+ };
565
+ const hideOptionPanel = () => {
566
+ const { filterable } = props;
567
+ const filterOpts = computeFilterOpts.value;
568
+ reactData.visiblePanel = false;
569
+ if (filterable) {
570
+ if (filterOpts.clearOnClose) {
571
+ reactData.searchValue = "";
572
+ }
573
+ }
536
574
  if (internalData.vpTimeout) {
537
575
  clearTimeout(internalData.vpTimeout);
538
576
  }
539
577
  if (internalData.hpTimeout) {
540
578
  clearTimeout(internalData.hpTimeout);
541
579
  }
542
- if (!reactData.initialized) {
543
- reactData.initialized = true;
580
+ internalData.hpTimeout = setTimeout(() => {
581
+ reactData.isAniVisible = false;
582
+ internalData.hpTimeout = void 0;
583
+ }, 350);
584
+ };
585
+ const handleData = () => {
586
+ const { afterVisibleList } = internalData;
587
+ reactData.tableData = afterVisibleList;
588
+ return (0, import_vue.nextTick)();
589
+ };
590
+ const modelSearchEvent = (value) => {
591
+ reactData.searchValue = value;
592
+ };
593
+ const focusSearchEvent = () => {
594
+ reactData.isActivated = true;
595
+ };
596
+ const handleSearchEvent = () => {
597
+ const { modelValue, remote } = props;
598
+ const { searchValue } = reactData;
599
+ const remoteOpts = computeRemoteOpts.value;
600
+ const queryMethod = remoteOpts.queryMethod;
601
+ if (remote && queryMethod && remoteOpts.enabled) {
602
+ reactData.searchLoading = true;
603
+ Promise.resolve(queryMethod({ $tableSelect: $xeTableSelect, searchValue, value: modelValue })).then(() => (0, import_vue.nextTick)()).catch(() => (0, import_vue.nextTick)()).finally(() => {
604
+ reactData.searchLoading = false;
605
+ });
606
+ } else {
607
+ handleOptList();
608
+ handleData();
544
609
  }
545
- if (filterable) {
546
- if (remote && remoteOpts.enabled && remoteOpts.autoLoad && !fullData.length) {
547
- handleSearchEvent();
610
+ };
611
+ const triggerSearchEvent = import_xe_utils.default.debounce(handleSearchEvent, 350, { trailing: true });
612
+ const changeEvent = (evnt, selectValue, row) => {
613
+ emitModel(selectValue);
614
+ if (selectValue !== props.modelValue) {
615
+ dispatchEvent("change", { value: selectValue, row, option: row }, evnt);
616
+ if ($xeForm && formItemInfo) {
617
+ $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, selectValue);
548
618
  }
549
619
  }
550
- reactData.isActivated = true;
551
- reactData.isAniVisible = true;
552
- internalData.vpTimeout = setTimeout(() => {
553
- reactData.visiblePanel = true;
554
- updateModel(props.modelValue);
555
- internalData.vpTimeout = void 0;
556
- handleFocusSearch();
557
- updatePlacement();
558
- }, 10);
559
- updateZindex();
560
- updatePlacement();
561
- }
562
- };
563
- const hideOptionPanel = () => {
564
- const { filterable } = props;
565
- const filterOpts = computeFilterOpts.value;
566
- reactData.visiblePanel = false;
567
- if (filterable) {
568
- if (filterOpts.clearOnClose) {
569
- reactData.searchValue = "";
620
+ };
621
+ const clearValueEvent = (evnt, selectValue) => {
622
+ changeEvent(evnt, selectValue, null);
623
+ dispatchEvent("clear", { value: selectValue }, evnt);
624
+ };
625
+ const clearEvent = (params, evnt) => {
626
+ const $grid = refGrid.value;
627
+ if ($grid) {
628
+ $grid.clearRadioRow();
629
+ $grid.clearCheckboxRow();
570
630
  }
571
- }
572
- if (internalData.vpTimeout) {
573
- clearTimeout(internalData.vpTimeout);
574
- }
575
- if (internalData.hpTimeout) {
576
- clearTimeout(internalData.hpTimeout);
577
- }
578
- internalData.hpTimeout = setTimeout(() => {
579
- reactData.isAniVisible = false;
580
- internalData.hpTimeout = void 0;
581
- }, 350);
582
- };
583
- const handleData = () => {
584
- const { afterVisibleList } = internalData;
585
- reactData.tableData = afterVisibleList;
586
- return (0, import_vue.nextTick)();
587
- };
588
- const modelSearchEvent = (value) => {
589
- reactData.searchValue = value;
590
- };
591
- const focusSearchEvent = () => {
592
- reactData.isActivated = true;
593
- };
594
- const handleSearchEvent = () => {
595
- const { modelValue, remote } = props;
596
- const { searchValue } = reactData;
597
- const remoteOpts = computeRemoteOpts.value;
598
- const queryMethod = remoteOpts.queryMethod;
599
- if (remote && queryMethod && remoteOpts.enabled) {
600
- reactData.searchLoading = true;
601
- Promise.resolve(queryMethod({ $tableSelect: $xeTableSelect, searchValue, value: modelValue })).then(() => (0, import_vue.nextTick)()).catch(() => (0, import_vue.nextTick)()).finally(() => {
602
- reactData.searchLoading = false;
603
- });
604
- } else {
605
- handleOptList();
606
- handleData();
607
- }
608
- };
609
- const triggerSearchEvent = import_xe_utils.default.debounce(handleSearchEvent, 350, { trailing: true });
610
- const changeEvent = (evnt, selectValue, row) => {
611
- emitModel(selectValue);
612
- if (selectValue !== props.modelValue) {
613
- dispatchEvent("change", { value: selectValue, row, option: row }, evnt);
614
- if ($xeForm && formItemInfo) {
615
- $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, selectValue);
631
+ clearValueEvent(evnt, null);
632
+ hideOptionPanel();
633
+ };
634
+ const handleGlobalMousedownEvent = (evnt) => {
635
+ const { visiblePanel } = reactData;
636
+ const isDisabled = computeIsDisabled.value;
637
+ if (!isDisabled) {
638
+ const el = refElem.value;
639
+ const panelElem = refOptionPanel.value;
640
+ reactData.isActivated = (0, import_dom.getEventTargetNode)(evnt, el).flag || (0, import_dom.getEventTargetNode)(evnt, panelElem).flag;
641
+ if (visiblePanel && !reactData.isActivated) {
642
+ hideOptionPanel();
643
+ }
616
644
  }
617
- }
618
- };
619
- const clearValueEvent = (evnt, selectValue) => {
620
- changeEvent(evnt, selectValue, null);
621
- dispatchEvent("clear", { value: selectValue }, evnt);
622
- };
623
- const clearEvent = (params, evnt) => {
624
- const $grid = refGrid.value;
625
- if ($grid) {
626
- $grid.clearRadioRow();
627
- $grid.clearCheckboxRow();
628
- }
629
- clearValueEvent(evnt, null);
630
- hideOptionPanel();
631
- };
632
- const handleGlobalMousedownEvent = (evnt) => {
633
- const { visiblePanel } = reactData;
634
- const isDisabled = computeIsDisabled.value;
635
- if (!isDisabled) {
636
- const el = refElem.value;
637
- const panelElem = refOptionPanel.value;
638
- reactData.isActivated = (0, import_dom.getEventTargetNode)(evnt, el).flag || (0, import_dom.getEventTargetNode)(evnt, panelElem).flag;
639
- if (visiblePanel && !reactData.isActivated) {
645
+ };
646
+ const handleGlobalBlurEvent = () => {
647
+ const { visiblePanel, isActivated } = reactData;
648
+ if (visiblePanel) {
640
649
  hideOptionPanel();
641
650
  }
642
- }
643
- };
644
- const handleGlobalBlurEvent = () => {
645
- const { visiblePanel, isActivated } = reactData;
646
- if (visiblePanel) {
647
- hideOptionPanel();
648
- }
649
- if (isActivated) {
650
- reactData.isActivated = false;
651
- }
652
- if (visiblePanel || isActivated) {
653
- const $input = refInput.value;
654
- if ($input) {
655
- $input.blur();
651
+ if (isActivated) {
652
+ reactData.isActivated = false;
656
653
  }
657
- }
658
- };
659
- const handleGlobalResizeEvent = () => {
660
- const { visiblePanel } = reactData;
661
- if (visiblePanel) {
662
- updatePlacement();
663
- }
664
- };
665
- const handleGlobalScrollEvent = () => {
666
- const { visiblePanel } = reactData;
667
- if (visiblePanel) {
668
- updatePlacement();
669
- }
670
- };
671
- const handleFocusSearch = () => {
672
- if (props.filterable) {
673
- (0, import_vue.nextTick)(() => {
674
- const inpSearch = refInpSearch.value;
675
- if (inpSearch) {
676
- inpSearch.focus();
654
+ if (visiblePanel || isActivated) {
655
+ const $input = refInput.value;
656
+ if ($input) {
657
+ $input.blur();
677
658
  }
678
- });
679
- }
680
- };
681
- const focusEvent = (evnt) => {
682
- const isDisabled = computeIsDisabled.value;
683
- if (!isDisabled) {
684
- if (!reactData.visiblePanel) {
685
- reactData.triggerFocusPanel = true;
686
- showOptionPanel();
687
- setTimeout(() => {
688
- reactData.triggerFocusPanel = false;
689
- }, 150);
690
659
  }
691
- }
692
- dispatchEvent("focus", {}, evnt);
693
- };
694
- const clickEvent = (evnt) => {
695
- togglePanelEvent(evnt);
696
- dispatchEvent("click", {}, evnt);
697
- };
698
- const blurEvent = (evnt) => {
699
- reactData.isActivated = false;
700
- dispatchEvent("blur", {}, evnt);
701
- };
702
- const togglePanelEvent = (params) => {
703
- const { $event } = params;
704
- $event.preventDefault();
705
- if (reactData.triggerFocusPanel) {
706
- reactData.triggerFocusPanel = false;
707
- } else {
708
- if (reactData.visiblePanel) {
709
- hideOptionPanel();
710
- } else {
711
- showOptionPanel();
660
+ };
661
+ const handleGlobalResizeEvent = () => {
662
+ const { visiblePanel } = reactData;
663
+ if (visiblePanel) {
664
+ updatePlacement();
712
665
  }
713
- }
714
- };
715
- const radioChangeEvent = (params) => {
716
- const { $event, row } = params;
717
- const valueField = computeValueField.value;
718
- const value = row[valueField];
719
- changeEvent($event, value, row);
720
- hideOptionPanel();
721
- };
722
- const checkboxChangeEvent = (params) => {
723
- const { $grid, $event, row } = params;
724
- const checkboxOpts = computeCheckboxOpts.value;
725
- const valueField = computeValueField.value;
726
- if ($grid) {
727
- const checkboxRecords = $grid.getCheckboxRecords();
728
- if (checkboxOpts.reserve) {
729
- checkboxRecords.push(...$grid.getCheckboxReserveRecords());
666
+ };
667
+ const handleGlobalScrollEvent = () => {
668
+ const { visiblePanel } = reactData;
669
+ if (visiblePanel) {
670
+ updatePlacement();
730
671
  }
731
- const value = checkboxRecords.map((row2) => {
732
- return row2[valueField];
733
- });
672
+ };
673
+ const handleFocusSearch = () => {
674
+ if (props.filterable) {
675
+ (0, import_vue.nextTick)(() => {
676
+ const inpSearch = refInpSearch.value;
677
+ if (inpSearch) {
678
+ inpSearch.focus();
679
+ }
680
+ });
681
+ }
682
+ };
683
+ const focusEvent = (evnt) => {
684
+ const isDisabled = computeIsDisabled.value;
685
+ if (!isDisabled) {
686
+ if (!reactData.visiblePanel) {
687
+ reactData.triggerFocusPanel = true;
688
+ showOptionPanel();
689
+ setTimeout(() => {
690
+ reactData.triggerFocusPanel = false;
691
+ }, 150);
692
+ }
693
+ }
694
+ dispatchEvent("focus", {}, evnt);
695
+ };
696
+ const clickEvent = (evnt) => {
697
+ togglePanelEvent(evnt);
698
+ dispatchEvent("click", {}, evnt);
699
+ };
700
+ const blurEvent = (evnt) => {
701
+ reactData.isActivated = false;
702
+ dispatchEvent("blur", {}, evnt);
703
+ };
704
+ const togglePanelEvent = (params) => {
705
+ const { $event } = params;
706
+ $event.preventDefault();
707
+ if (reactData.triggerFocusPanel) {
708
+ reactData.triggerFocusPanel = false;
709
+ } else {
710
+ if (reactData.visiblePanel) {
711
+ hideOptionPanel();
712
+ } else {
713
+ showOptionPanel();
714
+ }
715
+ }
716
+ };
717
+ const radioChangeEvent = (params) => {
718
+ const { $event, row } = params;
719
+ const valueField = computeValueField.value;
720
+ const value = row[valueField];
734
721
  changeEvent($event, value, row);
735
- }
736
- };
737
- const checkboxAllEvent = (params) => {
738
- checkboxChangeEvent(params);
739
- };
740
- Object.assign($xeTableSelect, tableSelectMethods, tableSelectPrivateMethods);
741
- const renderVN = () => {
742
- const { className, loading, filterable, remote } = props;
743
- const { initialized, isActivated, isAniVisible, visiblePanel, tableColumns, searchValue, tableData, searchLoading } = reactData;
744
- const vSize = computeSize.value;
745
- const isDisabled = computeIsDisabled.value;
746
- const selectLabel = computeSelectLabel.value;
747
- const btnTransfer = computeBtnTransfer.value;
748
- const formReadonly = computeFormReadonly.value;
749
- const popupOpts = computePopupOpts.value;
750
- const selectGridOpts = computeSelectGridOpts.value;
751
- const rowOpts = computeRowOpts.value;
752
- const filterOpts = computeFilterOpts.value;
753
- const popupWrapperStyle = computePopupWrapperStyle.value;
754
- const { appendTo } = popupOpts;
755
- const headerSlot = slots.header;
756
- const footerSlot = slots.footer;
757
- const prefixSlot = slots.prefix;
758
- const ppClassName = popupOpts.className;
759
- if (formReadonly) {
722
+ hideOptionPanel();
723
+ };
724
+ const checkboxChangeEvent = (params) => {
725
+ const { $grid, $event, row } = params;
726
+ const checkboxOpts = computeCheckboxOpts.value;
727
+ const valueField = computeValueField.value;
728
+ if ($grid) {
729
+ const checkboxRecords = $grid.getCheckboxRecords();
730
+ if (checkboxOpts.reserve) {
731
+ checkboxRecords.push(...$grid.getCheckboxReserveRecords());
732
+ }
733
+ const value = checkboxRecords.map((row2) => {
734
+ return row2[valueField];
735
+ });
736
+ changeEvent($event, value, row);
737
+ }
738
+ };
739
+ const checkboxAllEvent = (params) => {
740
+ checkboxChangeEvent(params);
741
+ };
742
+ Object.assign($xeTableSelect, tableSelectMethods, tableSelectPrivateMethods);
743
+ const renderVN = () => {
744
+ const { className, loading, filterable, remote } = props;
745
+ const { initialized, isActivated, isAniVisible, visiblePanel, tableColumns, searchValue, tableData, searchLoading } = reactData;
746
+ const vSize = computeSize.value;
747
+ const isDisabled = computeIsDisabled.value;
748
+ const selectLabel = computeSelectLabel.value;
749
+ const btnTransfer = computeBtnTransfer.value;
750
+ const formReadonly = computeFormReadonly.value;
751
+ const popupOpts = computePopupOpts.value;
752
+ const selectGridOpts = computeSelectGridOpts.value;
753
+ const rowOpts = computeRowOpts.value;
754
+ const filterOpts = computeFilterOpts.value;
755
+ const popupWrapperStyle = computePopupWrapperStyle.value;
756
+ const { appendTo } = popupOpts;
757
+ const headerSlot = slots.header;
758
+ const footerSlot = slots.footer;
759
+ const prefixSlot = slots.prefix;
760
+ const ppClassName = popupOpts.className;
761
+ if (formReadonly) {
762
+ return (0, import_vue.h)(
763
+ "div",
764
+ {
765
+ ref: refElem,
766
+ class: ["vxe-table-select--readonly", className]
767
+ },
768
+ [
769
+ (0, import_vue.h)(
770
+ "span",
771
+ {
772
+ class: "vxe-table-select-label"
773
+ },
774
+ selectLabel
775
+ )
776
+ ]
777
+ );
778
+ }
760
779
  return (0, import_vue.h)(
761
780
  "div",
762
781
  {
763
782
  ref: refElem,
764
- class: ["vxe-table-select--readonly", className]
783
+ class: [
784
+ "vxe-table-select",
785
+ className ? import_xe_utils.default.isFunction(className) ? className({ $tableSelect: $xeTableSelect }) : className : "",
786
+ {
787
+ [`size--${vSize}`]: vSize,
788
+ "is--filterable": filterable,
789
+ "is--visible": visiblePanel,
790
+ "is--disabled": isDisabled,
791
+ "is--loading": loading,
792
+ "is--active": isActivated
793
+ }
794
+ ]
765
795
  },
766
796
  [
767
797
  (0, import_vue.h)(
768
- "span",
798
+ import_input.default,
769
799
  {
770
- class: "vxe-table-select-label"
800
+ ref: refInput,
801
+ clearable: props.clearable,
802
+ placeholder: loading ? getI18n("vxe.select.loadingText") : props.placeholder,
803
+ editable: false,
804
+ disabled: isDisabled,
805
+ type: "text",
806
+ prefixIcon: props.prefixIcon,
807
+ suffixIcon: loading ? getIcon().TABLE_SELECT_LOADED : visiblePanel ? getIcon().TABLE_SELECT_OPEN : getIcon().TABLE_SELECT_CLOSE,
808
+ modelValue: loading ? "" : selectLabel,
809
+ onClear: clearEvent,
810
+ onClick: clickEvent,
811
+ onFocus: focusEvent,
812
+ onBlur: blurEvent,
813
+ onSuffixClick: togglePanelEvent
771
814
  },
772
- selectLabel
815
+ prefixSlot ? {
816
+ prefix: () => prefixSlot({})
817
+ } : {}
818
+ ),
819
+ (0, import_vue.h)(
820
+ import_vue.Teleport,
821
+ {
822
+ to: (0, import_dom.getPopupContainer)(appendTo),
823
+ disabled: btnTransfer ? !initialized : true
824
+ },
825
+ [
826
+ (0, import_vue.h)(
827
+ "div",
828
+ {
829
+ ref: refOptionPanel,
830
+ class: [
831
+ "vxe-table--ignore-clear vxe-table-select--panel",
832
+ ppClassName ? import_xe_utils.default.isFunction(ppClassName) ? ppClassName({ $tableSelect: $xeTableSelect }) : ppClassName : "",
833
+ {
834
+ [`size--${vSize}`]: vSize,
835
+ "is--transfer": btnTransfer,
836
+ "ani--leave": !loading && isAniVisible,
837
+ "ani--enter": !loading && visiblePanel
838
+ }
839
+ ],
840
+ placement: reactData.panelPlacement,
841
+ style: reactData.panelStyle
842
+ },
843
+ initialized ? [
844
+ (0, import_vue.h)(
845
+ "div",
846
+ {
847
+ class: "vxe-table-select--panel-wrapper"
848
+ },
849
+ [
850
+ filterable ? (0, import_vue.h)(
851
+ "div",
852
+ {
853
+ class: "vxe-table-select--panel-search"
854
+ },
855
+ [
856
+ (0, import_vue.h)(import_input.default, {
857
+ ref: refInpSearch,
858
+ class: "vxe-table-select-search--input",
859
+ modelValue: searchValue,
860
+ clearable: true,
861
+ disabled: false,
862
+ readonly: false,
863
+ placeholder: getI18n("vxe.treeSelect.search"),
864
+ prefixIcon: getIcon().INPUT_SEARCH,
865
+ "onUpdate:modelValue": modelSearchEvent,
866
+ onFocus: focusSearchEvent,
867
+ onChange: triggerSearchEvent,
868
+ onSearch: triggerSearchEvent
869
+ })
870
+ ]
871
+ ) : renderEmptyElement($xeTableSelect),
872
+ headerSlot ? (0, import_vue.h)(
873
+ "div",
874
+ {
875
+ class: "vxe-table-select--panel-header"
876
+ },
877
+ headerSlot({})
878
+ ) : renderEmptyElement($xeTableSelect),
879
+ (0, import_vue.h)(
880
+ "div",
881
+ {
882
+ class: "vxe-table-select--panel-body"
883
+ },
884
+ [
885
+ (0, import_vue.h)(
886
+ "div",
887
+ {
888
+ ref: refGridWrapper,
889
+ class: "vxe-table-select-grid--wrapper",
890
+ style: popupWrapperStyle
891
+ },
892
+ [
893
+ VxeTableGridComponent ? (0, import_vue.h)(
894
+ VxeTableGridComponent,
895
+ {
896
+ ...selectGridOpts,
897
+ ...gridEvents,
898
+ class: "vxe-table-select--grid",
899
+ ref: refGrid,
900
+ loading: remote && searchLoading,
901
+ rowConfig: rowOpts,
902
+ data: tableData,
903
+ columns: tableColumns.length ? tableColumns : selectGridOpts.columns,
904
+ height: "100%",
905
+ autoResize: true,
906
+ onRadioChange: radioChangeEvent,
907
+ onCheckboxChange: checkboxChangeEvent,
908
+ onCheckboxAll: checkboxAllEvent
909
+ },
910
+ Object.assign({}, slots, {
911
+ header: void 0,
912
+ footer: void 0,
913
+ prefixSlot: void 0
914
+ })
915
+ ) : renderEmptyElement($xeTableSelect)
916
+ ]
917
+ )
918
+ ]
919
+ ),
920
+ footerSlot || filterable && searchValue && !remote && filterOpts.showResultCount ? (0, import_vue.h)(
921
+ "div",
922
+ {
923
+ class: "vxe-table-select--panel-footer"
924
+ },
925
+ footerSlot ? footerSlot({}) : [
926
+ (0, import_vue.h)(
927
+ "div",
928
+ {
929
+ class: "vxe-table-select--search-count"
930
+ },
931
+ searchLoading ? "" : getI18n("vxe.tableSelect.filterCount", [tableData.length])
932
+ )
933
+ ]
934
+ ) : renderEmptyElement($xeTableSelect)
935
+ ]
936
+ )
937
+ ] : []
938
+ )
939
+ ]
773
940
  )
774
941
  ]
775
942
  );
776
- }
777
- return (0, import_vue.h)(
778
- "div",
779
- {
780
- ref: refElem,
781
- class: [
782
- "vxe-table-select",
783
- className ? import_xe_utils.default.isFunction(className) ? className({ $tableSelect: $xeTableSelect }) : className : "",
784
- {
785
- [`size--${vSize}`]: vSize,
786
- "is--filterable": filterable,
787
- "is--visible": visiblePanel,
788
- "is--disabled": isDisabled,
789
- "is--loading": loading,
790
- "is--active": isActivated
791
- }
792
- ]
793
- },
794
- [
795
- (0, import_vue.h)(
796
- import_input.default,
797
- {
798
- ref: refInput,
799
- clearable: props.clearable,
800
- placeholder: loading ? getI18n("vxe.select.loadingText") : props.placeholder,
801
- editable: false,
802
- disabled: isDisabled,
803
- type: "text",
804
- prefixIcon: props.prefixIcon,
805
- suffixIcon: loading ? getIcon().TABLE_SELECT_LOADED : visiblePanel ? getIcon().TABLE_SELECT_OPEN : getIcon().TABLE_SELECT_CLOSE,
806
- modelValue: loading ? "" : selectLabel,
807
- onClear: clearEvent,
808
- onClick: clickEvent,
809
- onFocus: focusEvent,
810
- onBlur: blurEvent,
811
- onSuffixClick: togglePanelEvent
812
- },
813
- prefixSlot ? {
814
- prefix: () => prefixSlot({})
815
- } : {}
816
- ),
817
- (0, import_vue.h)(
818
- import_vue.Teleport,
819
- {
820
- to: (0, import_dom.getPopupContainer)(appendTo),
821
- disabled: btnTransfer ? !initialized : true
822
- },
823
- [
824
- (0, import_vue.h)(
825
- "div",
826
- {
827
- ref: refOptionPanel,
828
- class: [
829
- "vxe-table--ignore-clear vxe-table-select--panel",
830
- ppClassName ? import_xe_utils.default.isFunction(ppClassName) ? ppClassName({ $tableSelect: $xeTableSelect }) : ppClassName : "",
831
- {
832
- [`size--${vSize}`]: vSize,
833
- "is--transfer": btnTransfer,
834
- "ani--leave": !loading && isAniVisible,
835
- "ani--enter": !loading && visiblePanel
836
- }
837
- ],
838
- placement: reactData.panelPlacement,
839
- style: reactData.panelStyle
840
- },
841
- initialized ? [
842
- (0, import_vue.h)(
843
- "div",
844
- {
845
- class: "vxe-table-select--panel-wrapper"
846
- },
847
- [
848
- filterable ? (0, import_vue.h)(
849
- "div",
850
- {
851
- class: "vxe-table-select--panel-search"
852
- },
853
- [
854
- (0, import_vue.h)(import_input.default, {
855
- ref: refInpSearch,
856
- class: "vxe-table-select-search--input",
857
- modelValue: searchValue,
858
- clearable: true,
859
- disabled: false,
860
- readonly: false,
861
- placeholder: getI18n("vxe.treeSelect.search"),
862
- prefixIcon: getIcon().INPUT_SEARCH,
863
- "onUpdate:modelValue": modelSearchEvent,
864
- onFocus: focusSearchEvent,
865
- onChange: triggerSearchEvent,
866
- onSearch: triggerSearchEvent
867
- })
868
- ]
869
- ) : renderEmptyElement($xeTableSelect),
870
- headerSlot ? (0, import_vue.h)(
871
- "div",
872
- {
873
- class: "vxe-table-select--panel-header"
874
- },
875
- headerSlot({})
876
- ) : renderEmptyElement($xeTableSelect),
877
- (0, import_vue.h)(
878
- "div",
879
- {
880
- class: "vxe-table-select--panel-body"
881
- },
882
- [
883
- (0, import_vue.h)(
884
- "div",
885
- {
886
- ref: refGridWrapper,
887
- class: "vxe-table-select-grid--wrapper",
888
- style: popupWrapperStyle
889
- },
890
- [
891
- VxeTableGridComponent ? (0, import_vue.h)(
892
- VxeTableGridComponent,
893
- {
894
- ...selectGridOpts,
895
- ...gridEvents,
896
- class: "vxe-table-select--grid",
897
- ref: refGrid,
898
- loading: remote && searchLoading,
899
- rowConfig: rowOpts,
900
- data: tableData,
901
- columns: tableColumns.length ? tableColumns : selectGridOpts.columns,
902
- height: "100%",
903
- autoResize: true,
904
- onRadioChange: radioChangeEvent,
905
- onCheckboxChange: checkboxChangeEvent,
906
- onCheckboxAll: checkboxAllEvent
907
- },
908
- Object.assign({}, slots, {
909
- header: void 0,
910
- footer: void 0,
911
- prefixSlot: void 0
912
- })
913
- ) : renderEmptyElement($xeTableSelect)
914
- ]
915
- )
916
- ]
917
- ),
918
- footerSlot || filterable && searchValue && !remote && filterOpts.showResultCount ? (0, import_vue.h)(
919
- "div",
920
- {
921
- class: "vxe-table-select--panel-footer"
922
- },
923
- footerSlot ? footerSlot({}) : [
924
- (0, import_vue.h)(
925
- "div",
926
- {
927
- class: "vxe-table-select--search-count"
928
- },
929
- searchLoading ? "" : getI18n("vxe.tableSelect.filterCount", [tableData.length])
930
- )
931
- ]
932
- ) : renderEmptyElement($xeTableSelect)
933
- ]
934
- )
935
- ] : []
936
- )
937
- ]
938
- )
939
- ]
943
+ };
944
+ (0, import_vue.watch)(
945
+ () => props.options,
946
+ (val) => {
947
+ loadData(val || []);
948
+ }
940
949
  );
941
- };
942
- (0, import_vue.watch)(
943
- () => props.options,
944
- (val) => {
945
- loadData(val || []);
946
- }
947
- );
948
- (0, import_vue.watch)(
949
- () => props.columns,
950
- (val) => {
951
- loadColumn(val);
952
- }
953
- );
954
- (0, import_vue.watch)(
955
- () => props.modelValue,
956
- (val) => {
957
- updateModel(val);
958
- }
959
- );
960
- loadColumn(props.columns);
961
- loadData(props.options || []);
962
- (0, import_vue.onMounted)(() => {
963
- const { gridConfig } = props;
964
- if (gridConfig && gridConfig.proxyConfig) {
965
- if (gridConfig.proxyConfig.autoLoad !== false) {
966
- reactData.initialized = true;
950
+ (0, import_vue.watch)(
951
+ () => props.columns,
952
+ (val) => {
953
+ loadColumn(val);
967
954
  }
968
- }
969
- globalEvents.on($xeTableSelect, "mousedown", handleGlobalMousedownEvent);
970
- globalEvents.on($xeTableSelect, "blur", handleGlobalBlurEvent);
971
- globalEvents.on($xeTableSelect, "resize", handleGlobalResizeEvent);
972
- globalEvents.on($xeTableSelect, "scroll", handleGlobalScrollEvent);
973
- });
974
- (0, import_vue.onUnmounted)(() => {
975
- globalEvents.off($xeTableSelect, "mousedown");
976
- globalEvents.off($xeTableSelect, "blur");
977
- globalEvents.off($xeTableSelect, "resize");
978
- globalEvents.off($xeTableSelect, "scroll");
979
- import_xe_utils.default.assign(reactData, createReactData());
980
- import_xe_utils.default.assign(internalData, createInternalData());
981
- });
982
- (0, import_vue.nextTick)(() => {
983
- if (!VxeTableGridComponent) {
984
- errLog("vxe.error.reqComp", ["vxe-grid"]);
985
- }
986
- });
987
- (0, import_vue.provide)("$xeTableSelect", $xeTableSelect);
988
- $xeTableSelect.renderVN = renderVN;
989
- return $xeTableSelect;
990
- },
991
- render() {
992
- return this.renderVN();
993
- }
994
- });
955
+ );
956
+ (0, import_vue.watch)(
957
+ () => props.modelValue,
958
+ (val) => {
959
+ updateModel(val);
960
+ }
961
+ );
962
+ loadColumn(props.columns);
963
+ loadData(props.options || []);
964
+ (0, import_vue.onMounted)(() => {
965
+ const { gridConfig } = props;
966
+ if (gridConfig && gridConfig.proxyConfig) {
967
+ if (gridConfig.proxyConfig.autoLoad !== false) {
968
+ reactData.initialized = true;
969
+ }
970
+ }
971
+ globalEvents.on($xeTableSelect, "mousedown", handleGlobalMousedownEvent);
972
+ globalEvents.on($xeTableSelect, "blur", handleGlobalBlurEvent);
973
+ globalEvents.on($xeTableSelect, "resize", handleGlobalResizeEvent);
974
+ globalEvents.on($xeTableSelect, "scroll", handleGlobalScrollEvent);
975
+ });
976
+ (0, import_vue.onUnmounted)(() => {
977
+ globalEvents.off($xeTableSelect, "mousedown");
978
+ globalEvents.off($xeTableSelect, "blur");
979
+ globalEvents.off($xeTableSelect, "resize");
980
+ globalEvents.off($xeTableSelect, "scroll");
981
+ import_xe_utils.default.assign(reactData, createReactData());
982
+ import_xe_utils.default.assign(internalData, createInternalData());
983
+ });
984
+ (0, import_vue.nextTick)(() => {
985
+ if (!VxeTableGridComponent) {
986
+ errLog("vxe.error.reqComp", ["vxe-grid"]);
987
+ }
988
+ });
989
+ (0, import_vue.provide)("$xeTableSelect", $xeTableSelect);
990
+ $xeTableSelect.renderVN = renderVN;
991
+ return $xeTableSelect;
992
+ },
993
+ render() {
994
+ return this.renderVN();
995
+ }
996
+ })
997
+ );