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
@@ -39,456 +39,459 @@ var import_utils = require("../../ui/src/utils");
39
39
  var import_vn = require("../../ui/src/vn");
40
40
  var import_dom = require("../../ui/src/dom");
41
41
  const { getConfig, getIcon, getI18n, createEvent, useFns, renderEmptyElement } = import_core.VxeUI;
42
- var password_input_default = (0, import_comp.defineVxeComponent)({
43
- name: "VxePasswordInput",
44
- props: {
45
- modelValue: String,
46
- immediate: {
47
- type: Boolean,
48
- default: true
49
- },
50
- name: String,
51
- clearable: {
52
- type: Boolean,
53
- default: () => getConfig().passwordInput.clearable
54
- },
55
- readonly: Boolean,
56
- disabled: Boolean,
57
- maxLength: [String, Number],
58
- placeholder: String,
59
- floatContent: {
60
- type: String,
61
- default: () => getConfig().passwordInput.floatContent
62
- },
63
- floatAlign: {
64
- type: String,
65
- default: () => getConfig().passwordInput.floatAlign
66
- },
67
- autoComplete: {
68
- type: String,
69
- default: "off"
70
- },
71
- className: String,
72
- inputClassName: {
73
- type: String,
74
- default: () => getConfig().passwordInput.inputClassName
75
- },
76
- width: [String, Number],
77
- size: {
78
- type: String,
79
- default: () => getConfig().passwordInput.size || getConfig().size
80
- },
81
- prefixIcon: String,
82
- suffixIcon: String,
83
- controls: {
84
- type: Boolean,
85
- default: () => getConfig().passwordInput.controls
86
- },
87
- editable: {
88
- type: Boolean,
89
- default: true
42
+ var password_input_default = (
43
+ /* define-vxe-component start */
44
+ (0, import_comp.defineVxeComponent)({
45
+ name: "VxePasswordInput",
46
+ props: {
47
+ modelValue: String,
48
+ immediate: {
49
+ type: Boolean,
50
+ default: true
51
+ },
52
+ name: String,
53
+ clearable: {
54
+ type: Boolean,
55
+ default: () => getConfig().passwordInput.clearable
56
+ },
57
+ readonly: Boolean,
58
+ disabled: Boolean,
59
+ maxLength: [String, Number],
60
+ placeholder: String,
61
+ floatContent: {
62
+ type: String,
63
+ default: () => getConfig().passwordInput.floatContent
64
+ },
65
+ floatAlign: {
66
+ type: String,
67
+ default: () => getConfig().passwordInput.floatAlign
68
+ },
69
+ autoComplete: {
70
+ type: String,
71
+ default: "off"
72
+ },
73
+ className: String,
74
+ inputClassName: {
75
+ type: String,
76
+ default: () => getConfig().passwordInput.inputClassName
77
+ },
78
+ width: [String, Number],
79
+ size: {
80
+ type: String,
81
+ default: () => getConfig().passwordInput.size || getConfig().size
82
+ },
83
+ prefixIcon: String,
84
+ suffixIcon: String,
85
+ controls: {
86
+ type: Boolean,
87
+ default: () => getConfig().passwordInput.controls
88
+ },
89
+ editable: {
90
+ type: Boolean,
91
+ default: true
92
+ },
93
+ // 已废弃
94
+ autocomplete: String
90
95
  },
91
- // 已废弃
92
- autocomplete: String
93
- },
94
- emits: ["update:modelValue", "input", "change", "click", "focus", "blur", "clear", "lazy-change", "toggle-visible", "prefix-click", "suffix-click"],
95
- setup(props, context) {
96
- const { emit, slots } = context;
97
- const $xeForm = (0, import_vue.inject)("$xeForm", null);
98
- const formItemInfo = (0, import_vue.inject)("xeFormItemInfo", null);
99
- const xID = import_xe_utils.default.uniqueId();
100
- const { computeSize } = useFns.useSize(props);
101
- const reactData = (0, import_vue.reactive)({
102
- showPwd: false,
103
- isActivated: false,
104
- inputValue: props.modelValue
105
- });
106
- const refElem = (0, import_vue.ref)();
107
- const refInputTarget = (0, import_vue.ref)();
108
- const refMaps = {
109
- refElem,
110
- refInput: refInputTarget
111
- };
112
- const $xePasswordInput = {
113
- xID,
114
- props,
115
- context,
116
- reactData,
117
- getRefMaps: () => refMaps
118
- };
119
- const computeIsClearable = (0, import_vue.computed)(() => {
120
- return props.clearable;
121
- });
122
- const computeInpPlaceholder = (0, import_vue.computed)(() => {
123
- const { placeholder } = props;
124
- if (placeholder) {
125
- return (0, import_utils.getFuncText)(placeholder);
126
- }
127
- const globalPlaceholder = getConfig().passwordInput.placeholder;
128
- if (globalPlaceholder) {
129
- return (0, import_utils.getFuncText)(globalPlaceholder);
130
- }
131
- return getI18n("vxe.base.pleaseInput");
132
- });
133
- const computeFormReadonly = (0, import_vue.computed)(() => {
134
- if (getConfig().inputReadonly === "obsolete") {
135
- if ($xeForm) {
136
- return $xeForm.props.readonly;
96
+ emits: ["update:modelValue", "input", "change", "click", "focus", "blur", "clear", "lazy-change", "toggle-visible", "prefix-click", "suffix-click"],
97
+ setup(props, context) {
98
+ const { emit, slots } = context;
99
+ const $xeForm = (0, import_vue.inject)("$xeForm", null);
100
+ const formItemInfo = (0, import_vue.inject)("xeFormItemInfo", null);
101
+ const xID = import_xe_utils.default.uniqueId();
102
+ const { computeSize } = useFns.useSize(props);
103
+ const reactData = (0, import_vue.reactive)({
104
+ showPwd: false,
105
+ isActivated: false,
106
+ inputValue: props.modelValue
107
+ });
108
+ const refElem = (0, import_vue.ref)();
109
+ const refInputTarget = (0, import_vue.ref)();
110
+ const refMaps = {
111
+ refElem,
112
+ refInput: refInputTarget
113
+ };
114
+ const $xePasswordInput = {
115
+ xID,
116
+ props,
117
+ context,
118
+ reactData,
119
+ getRefMaps: () => refMaps
120
+ };
121
+ const computeIsClearable = (0, import_vue.computed)(() => {
122
+ return props.clearable;
123
+ });
124
+ const computeInpPlaceholder = (0, import_vue.computed)(() => {
125
+ const { placeholder } = props;
126
+ if (placeholder) {
127
+ return (0, import_utils.getFuncText)(placeholder);
137
128
  }
138
- return false;
139
- }
140
- const { readonly } = props;
141
- if (readonly === null) {
142
- if ($xeForm) {
143
- return $xeForm.props.readonly;
129
+ const globalPlaceholder = getConfig().passwordInput.placeholder;
130
+ if (globalPlaceholder) {
131
+ return (0, import_utils.getFuncText)(globalPlaceholder);
144
132
  }
145
- return false;
146
- }
147
- return readonly;
148
- });
149
- const computeIsDisabled = (0, import_vue.computed)(() => {
150
- const { disabled } = props;
151
- if (disabled === null) {
152
- if ($xeForm) {
153
- return $xeForm.props.disabled;
133
+ return getI18n("vxe.base.pleaseInput");
134
+ });
135
+ const computeFormReadonly = (0, import_vue.computed)(() => {
136
+ if (getConfig().inputReadonly === "obsolete") {
137
+ if ($xeForm) {
138
+ return $xeForm.props.readonly;
139
+ }
140
+ return false;
154
141
  }
155
- return false;
156
- }
157
- return disabled;
158
- });
159
- const computeInputType = (0, import_vue.computed)(() => {
160
- const { showPwd } = reactData;
161
- if (showPwd) {
162
- return "text";
163
- }
164
- return "password";
165
- });
166
- const computeInpImmediate = (0, import_vue.computed)(() => {
167
- const { immediate } = props;
168
- return immediate;
169
- });
170
- const computeInputReadonly = (0, import_vue.computed)(() => {
171
- const { editable } = props;
172
- const formReadonly = computeFormReadonly.value;
173
- return formReadonly || !editable;
174
- });
175
- const computeDomValue = (0, import_vue.computed)(() => {
176
- const { inputValue } = reactData;
177
- return inputValue;
178
- });
179
- const computeCurrStyle = (0, import_vue.computed)(() => {
180
- const { width } = props;
181
- const stys = {};
182
- if (width) {
183
- stys.width = (0, import_dom.toCssUnit)(width);
184
- }
185
- return stys;
186
- });
187
- const dispatchEvent = (type, params, evnt) => {
188
- emit(type, createEvent(evnt, { $passwordInput: $xePasswordInput }, params));
189
- };
190
- const updateDomValue = () => {
191
- const domValue = computeDomValue.value;
192
- const inputElem = refInputTarget.value;
193
- if (inputElem) {
194
- inputElem.value = import_xe_utils.default.eqNull(domValue) ? "" : "" + domValue;
195
- }
196
- };
197
- const triggerEvent = (evnt) => {
198
- const { inputValue } = reactData;
199
- dispatchEvent(evnt.type, { value: inputValue }, evnt);
200
- };
201
- const emitInputEvent = (value, evnt) => {
202
- const inpImmediate = computeInpImmediate.value;
203
- reactData.inputValue = value;
204
- if (inpImmediate) {
205
- handleChange(value, evnt);
206
- } else {
207
- dispatchEvent("input", { value }, evnt);
208
- }
209
- };
210
- const inputEvent = (evnt) => {
211
- const inputElem = evnt.target;
212
- const value = inputElem.value;
213
- emitInputEvent(value, evnt);
214
- };
215
- const handleChange = (value, evnt) => {
216
- reactData.inputValue = value;
217
- emit("update:modelValue", value);
218
- dispatchEvent("input", { value }, evnt);
219
- if (import_xe_utils.default.toValueString(props.modelValue) !== value) {
220
- dispatchEvent("change", { value }, evnt);
221
- if ($xeForm && formItemInfo) {
222
- $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value);
142
+ const { readonly } = props;
143
+ if (readonly === null) {
144
+ if ($xeForm) {
145
+ return $xeForm.props.readonly;
146
+ }
147
+ return false;
223
148
  }
224
- }
225
- };
226
- const changeEvent = (evnt) => {
227
- triggerEvent(evnt);
228
- dispatchEvent("lazy-change", { value: reactData.inputValue }, evnt);
229
- if ($xeForm && formItemInfo) {
230
- $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, reactData.inputValue);
231
- }
232
- };
233
- const focusEvent = (evnt) => {
234
- reactData.isActivated = true;
235
- triggerEvent(evnt);
236
- };
237
- const blurEvent = (evnt) => {
238
- const { inputValue } = reactData;
239
- const value = inputValue;
240
- reactData.isActivated = false;
241
- dispatchEvent("blur", { value }, evnt);
242
- if ($xeForm && formItemInfo) {
243
- $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value);
244
- }
245
- };
246
- const passwordToggleEvent = (evnt) => {
247
- const { showPwd } = reactData;
248
- const isDisabled = computeIsDisabled.value;
249
- const formReadonly = computeFormReadonly.value;
250
- if (!isDisabled && !formReadonly) {
251
- reactData.showPwd = !showPwd;
252
- }
253
- dispatchEvent("toggle-visible", { visible: reactData.showPwd }, evnt);
254
- };
255
- const clickEvent = (evnt) => {
256
- triggerEvent(evnt);
257
- };
258
- const clearValueEvent = (evnt, value) => {
259
- focus();
260
- handleChange("", evnt);
261
- dispatchEvent("clear", { value }, evnt);
262
- dispatchEvent("lazy-change", { value: reactData.inputValue }, evnt);
263
- };
264
- const clickSuffixEvent = (evnt) => {
265
- const isDisabled = computeIsDisabled.value;
266
- if (!isDisabled) {
267
- const { inputValue } = reactData;
268
- dispatchEvent("suffix-click", { value: inputValue }, evnt);
269
- }
270
- };
271
- const clickPrefixEvent = (evnt) => {
272
- const isDisabled = computeIsDisabled.value;
273
- if (!isDisabled) {
149
+ return readonly;
150
+ });
151
+ const computeIsDisabled = (0, import_vue.computed)(() => {
152
+ const { disabled } = props;
153
+ if (disabled === null) {
154
+ if ($xeForm) {
155
+ return $xeForm.props.disabled;
156
+ }
157
+ return false;
158
+ }
159
+ return disabled;
160
+ });
161
+ const computeInputType = (0, import_vue.computed)(() => {
162
+ const { showPwd } = reactData;
163
+ if (showPwd) {
164
+ return "text";
165
+ }
166
+ return "password";
167
+ });
168
+ const computeInpImmediate = (0, import_vue.computed)(() => {
169
+ const { immediate } = props;
170
+ return immediate;
171
+ });
172
+ const computeInputReadonly = (0, import_vue.computed)(() => {
173
+ const { editable } = props;
174
+ const formReadonly = computeFormReadonly.value;
175
+ return formReadonly || !editable;
176
+ });
177
+ const computeDomValue = (0, import_vue.computed)(() => {
274
178
  const { inputValue } = reactData;
275
- dispatchEvent("prefix-click", { value: inputValue }, evnt);
276
- }
277
- };
278
- const passwordInputMethods = {
279
- dispatchEvent,
280
- focus() {
179
+ return inputValue;
180
+ });
181
+ const computeCurrStyle = (0, import_vue.computed)(() => {
182
+ const { width } = props;
183
+ const stys = {};
184
+ if (width) {
185
+ stys.width = (0, import_dom.toCssUnit)(width);
186
+ }
187
+ return stys;
188
+ });
189
+ const dispatchEvent = (type, params, evnt) => {
190
+ emit(type, createEvent(evnt, { $passwordInput: $xePasswordInput }, params));
191
+ };
192
+ const updateDomValue = () => {
193
+ const domValue = computeDomValue.value;
281
194
  const inputElem = refInputTarget.value;
195
+ if (inputElem) {
196
+ inputElem.value = import_xe_utils.default.eqNull(domValue) ? "" : "" + domValue;
197
+ }
198
+ };
199
+ const triggerEvent = (evnt) => {
200
+ const { inputValue } = reactData;
201
+ dispatchEvent(evnt.type, { value: inputValue }, evnt);
202
+ };
203
+ const emitInputEvent = (value, evnt) => {
204
+ const inpImmediate = computeInpImmediate.value;
205
+ reactData.inputValue = value;
206
+ if (inpImmediate) {
207
+ handleChange(value, evnt);
208
+ } else {
209
+ dispatchEvent("input", { value }, evnt);
210
+ }
211
+ };
212
+ const inputEvent = (evnt) => {
213
+ const inputElem = evnt.target;
214
+ const value = inputElem.value;
215
+ emitInputEvent(value, evnt);
216
+ };
217
+ const handleChange = (value, evnt) => {
218
+ reactData.inputValue = value;
219
+ emit("update:modelValue", value);
220
+ dispatchEvent("input", { value }, evnt);
221
+ if (import_xe_utils.default.toValueString(props.modelValue) !== value) {
222
+ dispatchEvent("change", { value }, evnt);
223
+ if ($xeForm && formItemInfo) {
224
+ $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value);
225
+ }
226
+ }
227
+ };
228
+ const changeEvent = (evnt) => {
229
+ triggerEvent(evnt);
230
+ dispatchEvent("lazy-change", { value: reactData.inputValue }, evnt);
231
+ if ($xeForm && formItemInfo) {
232
+ $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, reactData.inputValue);
233
+ }
234
+ };
235
+ const focusEvent = (evnt) => {
282
236
  reactData.isActivated = true;
283
- inputElem.focus();
284
- return (0, import_vue.nextTick)();
285
- },
286
- blur() {
287
- const inputElem = refInputTarget.value;
288
- inputElem.blur();
289
- reactData.isActivated = false;
290
- return (0, import_vue.nextTick)();
291
- },
292
- select() {
293
- const inputElem = refInputTarget.value;
294
- inputElem.select();
237
+ triggerEvent(evnt);
238
+ };
239
+ const blurEvent = (evnt) => {
240
+ const { inputValue } = reactData;
241
+ const value = inputValue;
295
242
  reactData.isActivated = false;
296
- return (0, import_vue.nextTick)();
297
- }
298
- };
299
- Object.assign($xePasswordInput, passwordInputMethods);
300
- const renderPasswordIcon = () => {
301
- const { showPwd } = reactData;
302
- return (0, import_vue.h)(
303
- "div",
304
- {
305
- class: "vxe-password-input--control-icon",
306
- onClick: passwordToggleEvent
243
+ dispatchEvent("blur", { value }, evnt);
244
+ if ($xeForm && formItemInfo) {
245
+ $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value);
246
+ }
247
+ };
248
+ const passwordToggleEvent = (evnt) => {
249
+ const { showPwd } = reactData;
250
+ const isDisabled = computeIsDisabled.value;
251
+ const formReadonly = computeFormReadonly.value;
252
+ if (!isDisabled && !formReadonly) {
253
+ reactData.showPwd = !showPwd;
254
+ }
255
+ dispatchEvent("toggle-visible", { visible: reactData.showPwd }, evnt);
256
+ };
257
+ const clickEvent = (evnt) => {
258
+ triggerEvent(evnt);
259
+ };
260
+ const clearValueEvent = (evnt, value) => {
261
+ focus();
262
+ handleChange("", evnt);
263
+ dispatchEvent("clear", { value }, evnt);
264
+ dispatchEvent("lazy-change", { value: reactData.inputValue }, evnt);
265
+ };
266
+ const clickSuffixEvent = (evnt) => {
267
+ const isDisabled = computeIsDisabled.value;
268
+ if (!isDisabled) {
269
+ const { inputValue } = reactData;
270
+ dispatchEvent("suffix-click", { value: inputValue }, evnt);
271
+ }
272
+ };
273
+ const clickPrefixEvent = (evnt) => {
274
+ const isDisabled = computeIsDisabled.value;
275
+ if (!isDisabled) {
276
+ const { inputValue } = reactData;
277
+ dispatchEvent("prefix-click", { value: inputValue }, evnt);
278
+ }
279
+ };
280
+ const passwordInputMethods = {
281
+ dispatchEvent,
282
+ focus() {
283
+ const inputElem = refInputTarget.value;
284
+ reactData.isActivated = true;
285
+ inputElem.focus();
286
+ return (0, import_vue.nextTick)();
307
287
  },
308
- [
309
- (0, import_vue.h)("i", {
310
- class: ["vxe-password-input--password-icon", showPwd ? getIcon().PASSWORD_INPUT_SHOW_PWD : getIcon().PASSWORD_INPUT_HIDE_PWD]
311
- })
312
- ]
313
- );
314
- };
315
- const renderPrefixIcon = () => {
316
- const { prefixIcon } = props;
317
- const prefixSlot = slots.prefix;
318
- return prefixSlot || prefixIcon ? (0, import_vue.h)(
319
- "div",
320
- {
321
- class: "vxe-password-input--prefix",
322
- onClick: clickPrefixEvent
288
+ blur() {
289
+ const inputElem = refInputTarget.value;
290
+ inputElem.blur();
291
+ reactData.isActivated = false;
292
+ return (0, import_vue.nextTick)();
323
293
  },
324
- [
325
- (0, import_vue.h)(
326
- "div",
327
- {
328
- class: "vxe-password-input--prefix-icon"
329
- },
330
- prefixSlot ? (0, import_vn.getSlotVNs)(prefixSlot({})) : [
331
- (0, import_vue.h)("i", {
332
- class: prefixIcon
333
- })
334
- ]
335
- )
336
- ]
337
- ) : null;
338
- };
339
- const renderSuffixIcon = () => {
340
- const { suffixIcon, controls } = props;
341
- const { inputValue } = reactData;
342
- const isDisabled = computeIsDisabled.value;
343
- const isClearable = computeIsClearable.value;
344
- const suffixSlot = slots.suffix;
345
- return isClearable || controls || suffixSlot || suffixIcon ? (0, import_vue.h)(
346
- "div",
347
- {
348
- class: [
349
- "vxe-password-input--suffix",
350
- {
351
- "is--clear": isClearable && !isDisabled && !(inputValue === "" || import_xe_utils.default.eqNull(inputValue))
352
- }
294
+ select() {
295
+ const inputElem = refInputTarget.value;
296
+ inputElem.select();
297
+ reactData.isActivated = false;
298
+ return (0, import_vue.nextTick)();
299
+ }
300
+ };
301
+ Object.assign($xePasswordInput, passwordInputMethods);
302
+ const renderPasswordIcon = () => {
303
+ const { showPwd } = reactData;
304
+ return (0, import_vue.h)(
305
+ "div",
306
+ {
307
+ class: "vxe-password-input--control-icon",
308
+ onClick: passwordToggleEvent
309
+ },
310
+ [
311
+ (0, import_vue.h)("i", {
312
+ class: ["vxe-password-input--password-icon", showPwd ? getIcon().PASSWORD_INPUT_SHOW_PWD : getIcon().PASSWORD_INPUT_HIDE_PWD]
313
+ })
353
314
  ]
354
- },
355
- [
356
- isClearable ? (0, import_vue.h)(
357
- "div",
358
- {
359
- class: "vxe-password-input--clear-icon",
360
- onClick: clearValueEvent
361
- },
362
- [
363
- (0, import_vue.h)("i", {
364
- class: getIcon().INPUT_CLEAR
365
- })
315
+ );
316
+ };
317
+ const renderPrefixIcon = () => {
318
+ const { prefixIcon } = props;
319
+ const prefixSlot = slots.prefix;
320
+ return prefixSlot || prefixIcon ? (0, import_vue.h)(
321
+ "div",
322
+ {
323
+ class: "vxe-password-input--prefix",
324
+ onClick: clickPrefixEvent
325
+ },
326
+ [
327
+ (0, import_vue.h)(
328
+ "div",
329
+ {
330
+ class: "vxe-password-input--prefix-icon"
331
+ },
332
+ prefixSlot ? (0, import_vn.getSlotVNs)(prefixSlot({})) : [
333
+ (0, import_vue.h)("i", {
334
+ class: prefixIcon
335
+ })
336
+ ]
337
+ )
338
+ ]
339
+ ) : null;
340
+ };
341
+ const renderSuffixIcon = () => {
342
+ const { suffixIcon, controls } = props;
343
+ const { inputValue } = reactData;
344
+ const isDisabled = computeIsDisabled.value;
345
+ const isClearable = computeIsClearable.value;
346
+ const suffixSlot = slots.suffix;
347
+ return isClearable || controls || suffixSlot || suffixIcon ? (0, import_vue.h)(
348
+ "div",
349
+ {
350
+ class: [
351
+ "vxe-password-input--suffix",
352
+ {
353
+ "is--clear": isClearable && !isDisabled && !(inputValue === "" || import_xe_utils.default.eqNull(inputValue))
354
+ }
366
355
  ]
367
- ) : renderEmptyElement($xePasswordInput),
368
- controls ? renderPasswordIcon() : renderEmptyElement($xePasswordInput),
369
- suffixSlot || suffixIcon ? (0, import_vue.h)(
356
+ },
357
+ [
358
+ isClearable ? (0, import_vue.h)(
359
+ "div",
360
+ {
361
+ class: "vxe-password-input--clear-icon",
362
+ onClick: clearValueEvent
363
+ },
364
+ [
365
+ (0, import_vue.h)("i", {
366
+ class: getIcon().INPUT_CLEAR
367
+ })
368
+ ]
369
+ ) : renderEmptyElement($xePasswordInput),
370
+ controls ? renderPasswordIcon() : renderEmptyElement($xePasswordInput),
371
+ suffixSlot || suffixIcon ? (0, import_vue.h)(
372
+ "div",
373
+ {
374
+ class: "vxe-password-input--suffix-icon",
375
+ onClick: clickSuffixEvent
376
+ },
377
+ suffixSlot ? (0, import_vn.getSlotVNs)(suffixSlot({})) : [
378
+ (0, import_vue.h)("i", {
379
+ class: suffixIcon
380
+ })
381
+ ]
382
+ ) : renderEmptyElement($xePasswordInput)
383
+ ]
384
+ ) : null;
385
+ };
386
+ const renderVN = () => {
387
+ const { className, inputClassName, name, readonly, floatContent, autocomplete, autoComplete, maxLength, floatAlign } = props;
388
+ const { inputValue, isActivated } = reactData;
389
+ const isDisabled = computeIsDisabled.value;
390
+ const formReadonly = computeFormReadonly.value;
391
+ if (formReadonly) {
392
+ return (0, import_vue.h)(
370
393
  "div",
371
394
  {
372
- class: "vxe-password-input--suffix-icon",
373
- onClick: clickSuffixEvent
395
+ ref: refElem,
396
+ class: ["vxe-password-input--readonly", className]
374
397
  },
375
- suffixSlot ? (0, import_vn.getSlotVNs)(suffixSlot({})) : [
376
- (0, import_vue.h)("i", {
377
- class: suffixIcon
378
- })
379
- ]
380
- ) : renderEmptyElement($xePasswordInput)
381
- ]
382
- ) : null;
383
- };
384
- const renderVN = () => {
385
- const { className, inputClassName, name, readonly, floatContent, autocomplete, autoComplete, maxLength, floatAlign } = props;
386
- const { inputValue, isActivated } = reactData;
387
- const isDisabled = computeIsDisabled.value;
388
- const formReadonly = computeFormReadonly.value;
389
- if (formReadonly) {
398
+ (0, import_utils.getText)(inputValue)
399
+ );
400
+ }
401
+ const currStyle = computeCurrStyle.value;
402
+ const vSize = computeSize.value;
403
+ const inputType = computeInputType.value;
404
+ const inpPlaceholder = computeInpPlaceholder.value;
405
+ const isClearable = computeIsClearable.value;
406
+ const inputReadonly = computeInputReadonly.value;
407
+ const prefix = renderPrefixIcon();
408
+ const suffix = renderSuffixIcon();
409
+ const floatSlot = slots.float;
390
410
  return (0, import_vue.h)(
391
411
  "div",
392
412
  {
393
413
  ref: refElem,
394
- class: ["vxe-password-input--readonly", className]
414
+ class: [
415
+ "vxe-password-input",
416
+ floatContent ? `fla--${floatAlign || "center"}` : "",
417
+ className,
418
+ {
419
+ [`size--${vSize}`]: vSize,
420
+ "is--prefix": !!prefix,
421
+ "is--suffix": !!suffix,
422
+ "is--readonly": readonly,
423
+ "is--disabled": isDisabled,
424
+ "is--active": isActivated,
425
+ "show--clear": isClearable && !isDisabled && !(inputValue === "" || import_xe_utils.default.eqNull(inputValue))
426
+ }
427
+ ],
428
+ style: currStyle,
429
+ spellcheck: false
395
430
  },
396
- (0, import_utils.getText)(inputValue)
431
+ [
432
+ prefix || renderEmptyElement($xePasswordInput),
433
+ (0, import_vue.h)(
434
+ "div",
435
+ {
436
+ class: "vxe-password-input--wrapper"
437
+ },
438
+ [
439
+ (0, import_vue.h)("input", {
440
+ ref: refInputTarget,
441
+ class: "vxe-password-input--inner" + (inputClassName ? " " + inputClassName : ""),
442
+ name,
443
+ type: inputType,
444
+ placeholder: inpPlaceholder,
445
+ readonly: inputReadonly,
446
+ disabled: isDisabled,
447
+ autocomplete: autocomplete || autoComplete,
448
+ maxlength: maxLength,
449
+ onClick: clickEvent,
450
+ onInput: inputEvent,
451
+ onChange: changeEvent,
452
+ onFocus: focusEvent,
453
+ onBlur: blurEvent
454
+ }),
455
+ floatContent || floatSlot ? (0, import_vue.h)(
456
+ "span",
457
+ {
458
+ class: "vxe-password-input--float-wrapper"
459
+ },
460
+ floatSlot ? floatSlot({}) : (0, import_utils.getText)(floatContent)
461
+ ) : renderEmptyElement($xePasswordInput)
462
+ ]
463
+ ),
464
+ suffix || renderEmptyElement($xePasswordInput)
465
+ ]
397
466
  );
398
- }
399
- const currStyle = computeCurrStyle.value;
400
- const vSize = computeSize.value;
401
- const inputType = computeInputType.value;
402
- const inpPlaceholder = computeInpPlaceholder.value;
403
- const isClearable = computeIsClearable.value;
404
- const inputReadonly = computeInputReadonly.value;
405
- const prefix = renderPrefixIcon();
406
- const suffix = renderSuffixIcon();
407
- const floatSlot = slots.float;
408
- return (0, import_vue.h)(
409
- "div",
410
- {
411
- ref: refElem,
412
- class: [
413
- "vxe-password-input",
414
- floatContent ? `fla--${floatAlign || "center"}` : "",
415
- className,
416
- {
417
- [`size--${vSize}`]: vSize,
418
- "is--prefix": !!prefix,
419
- "is--suffix": !!suffix,
420
- "is--readonly": readonly,
421
- "is--disabled": isDisabled,
422
- "is--active": isActivated,
423
- "show--clear": isClearable && !isDisabled && !(inputValue === "" || import_xe_utils.default.eqNull(inputValue))
424
- }
425
- ],
426
- style: currStyle,
427
- spellcheck: false
428
- },
429
- [
430
- prefix || renderEmptyElement($xePasswordInput),
431
- (0, import_vue.h)(
432
- "div",
433
- {
434
- class: "vxe-password-input--wrapper"
435
- },
436
- [
437
- (0, import_vue.h)("input", {
438
- ref: refInputTarget,
439
- class: "vxe-password-input--inner" + (inputClassName ? " " + inputClassName : ""),
440
- name,
441
- type: inputType,
442
- placeholder: inpPlaceholder,
443
- readonly: inputReadonly,
444
- disabled: isDisabled,
445
- autocomplete: autocomplete || autoComplete,
446
- maxlength: maxLength,
447
- onClick: clickEvent,
448
- onInput: inputEvent,
449
- onChange: changeEvent,
450
- onFocus: focusEvent,
451
- onBlur: blurEvent
452
- }),
453
- floatContent || floatSlot ? (0, import_vue.h)(
454
- "span",
455
- {
456
- class: "vxe-password-input--float-wrapper"
457
- },
458
- floatSlot ? floatSlot({}) : (0, import_utils.getText)(floatContent)
459
- ) : renderEmptyElement($xePasswordInput)
460
- ]
461
- ),
462
- suffix || renderEmptyElement($xePasswordInput)
463
- ]
467
+ };
468
+ (0, import_vue.watch)(
469
+ () => props.modelValue,
470
+ (val) => {
471
+ reactData.inputValue = val;
472
+ }
464
473
  );
465
- };
466
- (0, import_vue.watch)(
467
- () => props.modelValue,
468
- (val) => {
469
- reactData.inputValue = val;
470
- }
471
- );
472
- const rDvFlag = (0, import_vue.ref)(0);
473
- (0, import_vue.watch)(computeFormReadonly, () => {
474
- rDvFlag.value++;
475
- });
476
- (0, import_vue.watch)(computeDomValue, () => {
477
- rDvFlag.value++;
478
- });
479
- (0, import_vue.watch)(rDvFlag, () => {
480
- updateDomValue();
481
- (0, import_vue.nextTick)(() => {
474
+ const rDvFlag = (0, import_vue.ref)(0);
475
+ (0, import_vue.watch)(computeFormReadonly, () => {
476
+ rDvFlag.value++;
477
+ });
478
+ (0, import_vue.watch)(computeDomValue, () => {
479
+ rDvFlag.value++;
480
+ });
481
+ (0, import_vue.watch)(rDvFlag, () => {
482
482
  updateDomValue();
483
+ (0, import_vue.nextTick)(() => {
484
+ updateDomValue();
485
+ });
483
486
  });
484
- });
485
- (0, import_vue.onMounted)(() => {
486
- updateDomValue();
487
- });
488
- $xePasswordInput.renderVN = renderVN;
489
- return $xePasswordInput;
490
- },
491
- render() {
492
- return this.renderVN();
493
- }
494
- });
487
+ (0, import_vue.onMounted)(() => {
488
+ updateDomValue();
489
+ });
490
+ $xePasswordInput.renderVN = renderVN;
491
+ return $xePasswordInput;
492
+ },
493
+ render() {
494
+ return this.renderVN();
495
+ }
496
+ })
497
+ );