vxe-pc-ui 3.16.0 → 3.16.2

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 (2031) hide show
  1. package/es/alert/index.js +12 -0
  2. package/es/alert/src/alert.js +99 -0
  3. package/es/alert/style.css +129 -0
  4. package/es/alert/style.min.css +1 -0
  5. package/es/anchor/index.js +12 -0
  6. package/es/anchor/src/anchor-link.js +137 -0
  7. package/es/anchor/src/anchor.js +249 -0
  8. package/es/anchor/src/util.js +19 -0
  9. package/es/anchor/style.css +42 -0
  10. package/es/anchor/style.min.css +1 -0
  11. package/es/anchor-link/index.js +12 -0
  12. package/es/anchor-link/style.css +0 -0
  13. package/es/anchor-link/style.min.css +0 -0
  14. package/es/avatar/index.js +12 -0
  15. package/es/avatar/src/avatar.js +126 -0
  16. package/es/avatar/style.css +98 -0
  17. package/es/avatar/style.min.css +1 -0
  18. package/es/backtop/index.js +12 -0
  19. package/es/backtop/src/backtop.js +305 -0
  20. package/es/backtop/style.css +72 -0
  21. package/es/backtop/style.min.css +1 -0
  22. package/es/badge/index.js +12 -0
  23. package/es/badge/src/badge.js +74 -0
  24. package/es/badge/style.css +42 -0
  25. package/es/badge/style.min.css +1 -0
  26. package/es/breadcrumb/index.js +12 -0
  27. package/es/breadcrumb/src/breadcrumb-item.js +102 -0
  28. package/es/breadcrumb/src/breadcrumb.js +76 -0
  29. package/es/breadcrumb/style.css +33 -0
  30. package/es/breadcrumb/style.min.css +1 -0
  31. package/es/breadcrumb-item/index.js +12 -0
  32. package/es/breadcrumb-item/style.css +0 -0
  33. package/es/breadcrumb-item/style.min.css +0 -0
  34. package/es/button/index.js +12 -0
  35. package/es/button/src/button-group.js +97 -0
  36. package/es/button/src/button.js +875 -0
  37. package/es/button/style.css +638 -0
  38. package/es/button/style.min.css +1 -0
  39. package/es/button-group/index.js +12 -0
  40. package/es/button-group/style.css +27 -0
  41. package/es/button-group/style.min.css +1 -0
  42. package/es/calendar/index.js +12 -0
  43. package/es/calendar/src/calendar.js +1469 -0
  44. package/es/calendar/style.css +350 -0
  45. package/es/calendar/style.min.css +1 -0
  46. package/es/card/index.js +12 -0
  47. package/es/card/src/card.js +149 -0
  48. package/es/card/style.css +107 -0
  49. package/es/card/style.min.css +1 -0
  50. package/es/carousel/index.js +12 -0
  51. package/es/carousel/src/carousel-item.js +102 -0
  52. package/es/carousel/src/carousel.js +429 -0
  53. package/es/carousel/src/util.js +17 -0
  54. package/es/carousel/style.css +185 -0
  55. package/es/carousel/style.min.css +1 -0
  56. package/es/carousel-item/index.js +12 -0
  57. package/es/carousel-item/style.css +0 -0
  58. package/es/carousel-item/style.min.css +0 -0
  59. package/es/cascader/index.js +12 -0
  60. package/es/cascader/src/cascader.js +1985 -0
  61. package/es/cascader/src/util.js +7 -0
  62. package/es/cascader/style.css +346 -0
  63. package/es/cascader/style.min.css +1 -0
  64. package/es/checkbox/index.js +12 -0
  65. package/es/checkbox/src/button.js +244 -0
  66. package/es/checkbox/src/checkbox.js +217 -0
  67. package/es/checkbox/src/group.js +280 -0
  68. package/es/checkbox/style.css +113 -0
  69. package/es/checkbox/style.min.css +1 -0
  70. package/es/checkbox-button/index.js +12 -0
  71. package/es/checkbox-button/style.css +202 -0
  72. package/es/checkbox-button/style.min.css +1 -0
  73. package/es/checkbox-group/index.js +12 -0
  74. package/es/checkbox-group/style.css +0 -0
  75. package/es/checkbox-group/style.min.css +0 -0
  76. package/es/col/index.js +12 -0
  77. package/es/col/style.css +0 -0
  78. package/es/col/style.min.css +0 -0
  79. package/es/collapse/index.js +12 -0
  80. package/es/collapse/src/collapse-pane.js +116 -0
  81. package/es/collapse/src/collapse.js +360 -0
  82. package/es/collapse/src/util.js +17 -0
  83. package/es/collapse/style.css +83 -0
  84. package/es/collapse/style.min.css +1 -0
  85. package/es/collapse-pane/index.js +12 -0
  86. package/es/collapse-pane/style.css +0 -0
  87. package/es/collapse-pane/style.min.css +0 -0
  88. package/es/color-picker/index.js +12 -0
  89. package/es/color-picker/src/color-picker.js +1221 -0
  90. package/es/color-picker/src/util.js +190 -0
  91. package/es/color-picker/style.css +485 -0
  92. package/es/color-picker/style.min.css +1 -0
  93. package/es/components.js +299 -0
  94. package/es/context-menu/index.js +46 -0
  95. package/es/context-menu/src/context-menu.js +684 -0
  96. package/es/context-menu/style.css +109 -0
  97. package/es/context-menu/style.min.css +1 -0
  98. package/es/countdown/index.js +12 -0
  99. package/es/countdown/src/countdown.js +249 -0
  100. package/es/countdown/style.css +38 -0
  101. package/es/countdown/style.min.css +1 -0
  102. package/es/date-panel/index.js +12 -0
  103. package/es/date-panel/src/date-panel.js +2013 -0
  104. package/es/date-panel/src/util.js +295 -0
  105. package/es/date-panel/style.css +453 -0
  106. package/es/date-panel/style.min.css +1 -0
  107. package/es/date-picker/index.js +13 -0
  108. package/es/date-picker/src/date-picker.js +1833 -0
  109. package/es/date-picker/style.css +283 -0
  110. package/es/date-picker/style.min.css +1 -0
  111. package/es/date-range-picker/index.js +12 -0
  112. package/es/date-range-picker/src/date-range-picker.js +1679 -0
  113. package/es/date-range-picker/style.css +289 -0
  114. package/es/date-range-picker/style.min.css +1 -0
  115. package/es/drawer/index.js +68 -0
  116. package/es/drawer/src/drawer.js +735 -0
  117. package/es/drawer/style.css +270 -0
  118. package/es/drawer/style.min.css +1 -0
  119. package/es/dynamics/index.js +107 -0
  120. package/es/empty/index.js +12 -0
  121. package/es/empty/src/empty.js +73 -0
  122. package/es/empty/style.css +54 -0
  123. package/es/empty/style.min.css +1 -0
  124. package/es/form/index.js +12 -0
  125. package/es/form/render/index.js +588 -0
  126. package/es/form/src/form-config-item.js +73 -0
  127. package/es/form/src/form-group.js +108 -0
  128. package/es/form/src/form-item.js +198 -0
  129. package/es/form/src/form.js +1012 -0
  130. package/es/form/src/itemInfo.js +76 -0
  131. package/es/form/src/render.js +357 -0
  132. package/es/form/src/util.js +78 -0
  133. package/es/form/style.css +621 -0
  134. package/es/form/style.min.css +1 -0
  135. package/es/form-gather/index.js +13 -0
  136. package/es/form-gather/style.css +0 -0
  137. package/es/form-gather/style.min.css +0 -0
  138. package/es/form-group/index.js +12 -0
  139. package/es/form-group/style.css +0 -0
  140. package/es/form-group/style.min.css +0 -0
  141. package/es/form-item/index.js +12 -0
  142. package/es/form-item/style.css +0 -0
  143. package/es/form-item/style.min.css +0 -0
  144. package/es/icon/iconfont.1783571795939.ttf +0 -0
  145. package/es/icon/iconfont.1783571795939.woff +0 -0
  146. package/es/icon/iconfont.1783571795939.woff2 +0 -0
  147. package/es/icon/index.js +12 -0
  148. package/es/icon/src/icon.js +62 -0
  149. package/es/icon/style.css +1034 -0
  150. package/es/icon/style.min.css +1 -0
  151. package/es/icon-picker/index.js +12 -0
  152. package/es/icon-picker/src/icon-picker.js +834 -0
  153. package/es/icon-picker/style.css +242 -0
  154. package/es/icon-picker/style.min.css +1 -0
  155. package/es/iconfont.1783571795939.ttf +0 -0
  156. package/es/iconfont.1783571795939.woff +0 -0
  157. package/es/iconfont.1783571795939.woff2 +0 -0
  158. package/es/image/index.js +12 -0
  159. package/es/image/src/group.js +144 -0
  160. package/es/image/src/image.js +274 -0
  161. package/es/image/src/preview.js +707 -0
  162. package/es/image/src/util.js +59 -0
  163. package/es/image/style.css +17 -0
  164. package/es/image/style.min.css +1 -0
  165. package/es/image-group/index.js +12 -0
  166. package/es/image-group/style.css +3 -0
  167. package/es/image-group/style.min.css +1 -0
  168. package/es/image-preview/index.js +14 -0
  169. package/es/image-preview/style.css +218 -0
  170. package/es/image-preview/style.min.css +1 -0
  171. package/es/index.esm.js +6 -0
  172. package/es/input/index.js +12 -0
  173. package/es/input/src/input.js +3084 -0
  174. package/es/input/style.css +1025 -0
  175. package/es/input/style.min.css +1 -0
  176. package/es/language/ar-EG.d.ts +2 -0
  177. package/es/language/ar-EG.js +874 -0
  178. package/es/language/de-DE.d.ts +2 -0
  179. package/es/language/de-DE.js +874 -0
  180. package/es/language/en-US.d.ts +2 -0
  181. package/es/language/en-US.js +874 -0
  182. package/es/language/es-ES.d.ts +2 -0
  183. package/es/language/es-ES.js +874 -0
  184. package/es/language/fr-FR.d.ts +2 -0
  185. package/es/language/fr-FR.js +874 -0
  186. package/es/language/hu-HU.d.ts +2 -0
  187. package/es/language/hu-HU.js +874 -0
  188. package/es/language/hy-AM.d.ts +2 -0
  189. package/es/language/hy-AM.js +874 -0
  190. package/es/language/id-ID.d.ts +2 -0
  191. package/es/language/id-ID.js +874 -0
  192. package/es/language/it-IT.d.ts +2 -0
  193. package/es/language/it-IT.js +874 -0
  194. package/es/language/ja-JP.d.ts +2 -0
  195. package/es/language/ja-JP.js +874 -0
  196. package/es/language/ko-KR.d.ts +2 -0
  197. package/es/language/ko-KR.js +874 -0
  198. package/es/language/ms-MY.d.ts +2 -0
  199. package/es/language/ms-MY.js +874 -0
  200. package/es/language/nb-NO.d.ts +2 -0
  201. package/es/language/nb-NO.js +874 -0
  202. package/es/language/pt-BR.d.ts +2 -0
  203. package/es/language/pt-BR.js +874 -0
  204. package/es/language/ru-RU.d.ts +2 -0
  205. package/es/language/ru-RU.js +874 -0
  206. package/es/language/th-TH.d.ts +2 -0
  207. package/es/language/th-TH.js +874 -0
  208. package/es/language/ug-CN.d.ts +2 -0
  209. package/es/language/ug-CN.js +874 -0
  210. package/es/language/uk-UA.d.ts +2 -0
  211. package/es/language/uk-UA.js +874 -0
  212. package/es/language/uz-UZ.d.ts +2 -0
  213. package/es/language/uz-UZ.js +874 -0
  214. package/es/language/vi-VN.d.ts +2 -0
  215. package/es/language/vi-VN.js +874 -0
  216. package/es/language/zh-CHT.d.ts +2 -0
  217. package/es/language/zh-CHT.js +874 -0
  218. package/es/language/zh-CN.d.ts +2 -0
  219. package/es/language/zh-CN.js +874 -0
  220. package/es/language/zh-HK.d.ts +2 -0
  221. package/es/language/zh-HK.js +2 -0
  222. package/es/language/zh-MO.d.ts +2 -0
  223. package/es/language/zh-MO.js +2 -0
  224. package/es/language/zh-TC.js +2 -0
  225. package/es/language/zh-TW.d.ts +2 -0
  226. package/es/language/zh-TW.js +2 -0
  227. package/es/layout-aside/index.js +12 -0
  228. package/es/layout-aside/src/layout-aside.js +111 -0
  229. package/es/layout-aside/style.css +26 -0
  230. package/es/layout-aside/style.min.css +1 -0
  231. package/es/layout-body/index.js +12 -0
  232. package/es/layout-body/src/layout-body.js +127 -0
  233. package/es/layout-body/style.css +16 -0
  234. package/es/layout-body/style.min.css +1 -0
  235. package/es/layout-container/index.js +12 -0
  236. package/es/layout-container/src/layout-container.js +54 -0
  237. package/es/layout-container/style.css +28 -0
  238. package/es/layout-container/style.min.css +1 -0
  239. package/es/layout-footer/index.js +12 -0
  240. package/es/layout-footer/src/layout-footer.js +45 -0
  241. package/es/layout-footer/style.css +14 -0
  242. package/es/layout-footer/style.min.css +1 -0
  243. package/es/layout-header/index.js +12 -0
  244. package/es/layout-header/src/layout-header.js +43 -0
  245. package/es/layout-header/style.css +11 -0
  246. package/es/layout-header/style.min.css +1 -0
  247. package/es/link/index.js +12 -0
  248. package/es/link/src/link.js +137 -0
  249. package/es/link/style.css +111 -0
  250. package/es/link/style.min.css +1 -0
  251. package/es/list/index.js +12 -0
  252. package/es/list/src/list.js +2242 -0
  253. package/es/list/src/store.js +8 -0
  254. package/es/list/src/util.js +8 -0
  255. package/es/list/style.css +379 -0
  256. package/es/list/style.min.css +1 -0
  257. package/es/loading/index.js +27 -0
  258. package/es/loading/src/loading.js +147 -0
  259. package/es/loading/style.css +120 -0
  260. package/es/loading/style.min.css +1 -0
  261. package/es/mention/index.js +12 -0
  262. package/es/mention/src/mention.js +44 -0
  263. package/es/mention/style.css +0 -0
  264. package/es/mention/style.min.css +0 -0
  265. package/es/menu/index.js +12 -0
  266. package/es/menu/src/menu.js +589 -0
  267. package/es/menu/style.css +140 -0
  268. package/es/menu/style.min.css +1 -0
  269. package/es/modal/index.js +130 -0
  270. package/es/modal/src/modal.js +1608 -0
  271. package/es/modal/style.css +415 -0
  272. package/es/modal/style.min.css +1 -0
  273. package/es/notice-bar/index.js +12 -0
  274. package/es/notice-bar/src/notice-bar.js +163 -0
  275. package/es/notice-bar/style.css +78 -0
  276. package/es/notice-bar/style.min.css +1 -0
  277. package/es/number-input/index.js +12 -0
  278. package/es/number-input/src/number-input.js +1201 -0
  279. package/es/number-input/src/util.js +22 -0
  280. package/es/number-input/style.css +274 -0
  281. package/es/number-input/style.min.css +1 -0
  282. package/es/optgroup/index.js +12 -0
  283. package/es/optgroup/style.css +0 -0
  284. package/es/optgroup/style.min.css +0 -0
  285. package/es/option/index.js +12 -0
  286. package/es/option/style.css +0 -0
  287. package/es/option/style.min.css +0 -0
  288. package/es/pager/index.js +12 -0
  289. package/es/pager/src/pager.js +844 -0
  290. package/es/pager/style.css +341 -0
  291. package/es/pager/style.min.css +1 -0
  292. package/es/password-input/index.js +12 -0
  293. package/es/password-input/src/password-input.js +428 -0
  294. package/es/password-input/style.css +598 -0
  295. package/es/password-input/style.min.css +1 -0
  296. package/es/print/index.js +14 -0
  297. package/es/print/src/page-break.js +66 -0
  298. package/es/print/src/print.js +252 -0
  299. package/es/print/src/util.js +261 -0
  300. package/es/print/style.css +4 -0
  301. package/es/print/style.min.css +1 -0
  302. package/es/print-page-break/index.js +10 -0
  303. package/es/print-page-break/style.css +0 -0
  304. package/es/print-page-break/style.min.css +0 -0
  305. package/es/pulldown/index.js +12 -0
  306. package/es/pulldown/src/pulldown.js +502 -0
  307. package/es/pulldown/style.css +109 -0
  308. package/es/pulldown/style.min.css +1 -0
  309. package/es/radio/index.js +12 -0
  310. package/es/radio/src/button.js +265 -0
  311. package/es/radio/src/group.js +258 -0
  312. package/es/radio/src/radio.js +239 -0
  313. package/es/radio/style.css +108 -0
  314. package/es/radio/style.min.css +1 -0
  315. package/es/radio-button/index.js +12 -0
  316. package/es/radio-button/style.css +202 -0
  317. package/es/radio-button/style.min.css +1 -0
  318. package/es/radio-group/index.js +12 -0
  319. package/es/radio-group/style.css +0 -0
  320. package/es/radio-group/style.min.css +0 -0
  321. package/es/rate/index.js +12 -0
  322. package/es/rate/src/rate.js +178 -0
  323. package/es/rate/style.css +54 -0
  324. package/es/rate/style.min.css +1 -0
  325. package/es/result/index.js +12 -0
  326. package/es/result/src/result.js +86 -0
  327. package/es/result/style.css +68 -0
  328. package/es/result/style.min.css +1 -0
  329. package/es/row/index.js +12 -0
  330. package/es/row/src/col.js +115 -0
  331. package/es/row/src/row.js +99 -0
  332. package/es/row/style.css +116 -0
  333. package/es/row/style.min.css +1 -0
  334. package/es/segmented/index.js +12 -0
  335. package/es/segmented/src/segmented.js +255 -0
  336. package/es/segmented/style.css +197 -0
  337. package/es/segmented/style.min.css +1 -0
  338. package/es/select/index.js +12 -0
  339. package/es/select/src/optgroup.js +90 -0
  340. package/es/select/src/option-info.js +16 -0
  341. package/es/select/src/option.js +86 -0
  342. package/es/select/src/select.js +2065 -0
  343. package/es/select/src/util.js +36 -0
  344. package/es/select/style.css +370 -0
  345. package/es/select/style.min.css +1 -0
  346. package/es/slider/index.js +12 -0
  347. package/es/slider/src/slider.js +307 -0
  348. package/es/slider/style.css +143 -0
  349. package/es/slider/style.min.css +1 -0
  350. package/es/split/index.js +12 -0
  351. package/es/split/style.css +295 -0
  352. package/es/split/style.min.css +1 -0
  353. package/es/split-pane/index.js +13 -0
  354. package/es/split-pane/style.css +0 -0
  355. package/es/split-pane/style.min.css +0 -0
  356. package/es/splitter/index.js +12 -0
  357. package/es/splitter/src/splitter-panel.js +149 -0
  358. package/es/splitter/src/splitter.js +1002 -0
  359. package/es/splitter/src/util.js +17 -0
  360. package/es/splitter/style.css +295 -0
  361. package/es/splitter/style.min.css +1 -0
  362. package/es/splitter-panel/index.js +12 -0
  363. package/es/splitter-panel/style.css +0 -0
  364. package/es/splitter-panel/style.min.css +0 -0
  365. package/es/steps/index.js +12 -0
  366. package/es/steps/src/steps.js +49 -0
  367. package/es/steps/style.css +0 -0
  368. package/es/steps/style.min.css +0 -0
  369. package/es/style.css +1 -0
  370. package/es/style.min.css +1 -0
  371. package/es/switch/index.js +12 -0
  372. package/es/switch/src/switch.js +261 -0
  373. package/es/switch/style.css +111 -0
  374. package/es/switch/style.min.css +1 -0
  375. package/es/tab-pane/index.js +12 -0
  376. package/es/tab-pane/style.css +0 -0
  377. package/es/tab-pane/style.min.css +0 -0
  378. package/es/table-select/index.js +12 -0
  379. package/es/table-select/src/table-select.js +839 -0
  380. package/es/table-select/style.css +134 -0
  381. package/es/table-select/style.min.css +1 -0
  382. package/es/table-transfer/index.js +12 -0
  383. package/es/table-transfer/src/table-transfer.js +71 -0
  384. package/es/table-transfer/style.css +0 -0
  385. package/es/table-transfer/style.min.css +0 -0
  386. package/es/tabs/index.js +12 -0
  387. package/es/tabs/src/tab-pane.js +119 -0
  388. package/es/tabs/src/tabs.js +958 -0
  389. package/es/tabs/src/util.js +17 -0
  390. package/es/tabs/style.css +705 -0
  391. package/es/tabs/style.min.css +1 -0
  392. package/es/tag/index.js +12 -0
  393. package/es/tag/src/tag.js +177 -0
  394. package/es/tag/style.css +187 -0
  395. package/es/tag/style.min.css +1 -0
  396. package/es/text/index.js +12 -0
  397. package/es/text/src/text.js +239 -0
  398. package/es/text/style.css +138 -0
  399. package/es/text/style.min.css +1 -0
  400. package/es/text-ellipsis/index.js +12 -0
  401. package/es/text-ellipsis/src/text-ellipsis.js +268 -0
  402. package/es/text-ellipsis/style.css +115 -0
  403. package/es/text-ellipsis/style.min.css +1 -0
  404. package/es/textarea/index.js +12 -0
  405. package/es/textarea/src/textarea.js +456 -0
  406. package/es/textarea/style.css +119 -0
  407. package/es/textarea/style.min.css +1 -0
  408. package/es/timeline/index.js +12 -0
  409. package/es/timeline/src/timeline-item.js +35 -0
  410. package/es/timeline/src/timeline.js +44 -0
  411. package/es/timeline/style.css +0 -0
  412. package/es/timeline/style.min.css +0 -0
  413. package/es/timeline-item/index.js +12 -0
  414. package/es/timeline-item/style.css +0 -0
  415. package/es/timeline-item/style.min.css +0 -0
  416. package/es/tip/index.js +14 -0
  417. package/es/tip/src/tip.js +100 -0
  418. package/es/tip/style.css +107 -0
  419. package/es/tip/style.min.css +1 -0
  420. package/es/tooltip/index.js +12 -0
  421. package/es/tooltip/src/tooltip.js +657 -0
  422. package/es/tooltip/style.css +117 -0
  423. package/es/tooltip/style.min.css +1 -0
  424. package/es/tour/index.js +12 -0
  425. package/es/tour/src/tour.js +44 -0
  426. package/es/tour/style.css +0 -0
  427. package/es/tour/style.min.css +0 -0
  428. package/es/transfer/index.js +12 -0
  429. package/es/transfer/src/transfer.js +86 -0
  430. package/es/transfer/style.css +0 -0
  431. package/es/transfer/style.min.css +0 -0
  432. package/es/tree/index.js +12 -0
  433. package/es/tree/src/store.js +8 -0
  434. package/es/tree/src/tree.js +3699 -0
  435. package/es/tree/src/util.js +46 -0
  436. package/es/tree/style.css +385 -0
  437. package/es/tree/style.min.css +1 -0
  438. package/es/tree-select/index.js +12 -0
  439. package/es/tree-select/src/tree-select.js +1160 -0
  440. package/es/tree-select/style.css +194 -0
  441. package/es/tree-select/style.min.css +1 -0
  442. package/es/ui/index.js +695 -0
  443. package/es/ui/src/anime.js +46 -0
  444. package/es/ui/src/comp.js +1 -0
  445. package/es/ui/src/dom.js +255 -0
  446. package/es/ui/src/log.js +15 -0
  447. package/es/ui/src/utils.js +52 -0
  448. package/es/ui/src/vn.js +51 -0
  449. package/es/ui/style.css +0 -0
  450. package/es/ui/style.min.css +0 -0
  451. package/es/upload/index.js +15 -0
  452. package/es/upload/src/upload.js +2080 -0
  453. package/es/upload/src/util.js +103 -0
  454. package/es/upload/style.css +483 -0
  455. package/es/upload/style.min.css +1 -0
  456. package/es/vxe-alert/index.js +3 -0
  457. package/es/vxe-alert/style.css +129 -0
  458. package/es/vxe-alert/style.min.css +1 -0
  459. package/es/vxe-anchor/index.js +3 -0
  460. package/es/vxe-anchor/style.css +42 -0
  461. package/es/vxe-anchor/style.min.css +1 -0
  462. package/es/vxe-anchor-link/index.js +3 -0
  463. package/es/vxe-anchor-link/style.css +0 -0
  464. package/es/vxe-anchor-link/style.min.css +0 -0
  465. package/es/vxe-avatar/index.js +3 -0
  466. package/es/vxe-avatar/style.css +98 -0
  467. package/es/vxe-avatar/style.min.css +1 -0
  468. package/es/vxe-backtop/index.js +3 -0
  469. package/es/vxe-backtop/style.css +72 -0
  470. package/es/vxe-backtop/style.min.css +1 -0
  471. package/es/vxe-badge/index.js +3 -0
  472. package/es/vxe-badge/style.css +42 -0
  473. package/es/vxe-badge/style.min.css +1 -0
  474. package/es/vxe-breadcrumb/index.js +3 -0
  475. package/es/vxe-breadcrumb/style.css +33 -0
  476. package/es/vxe-breadcrumb/style.min.css +1 -0
  477. package/es/vxe-breadcrumb-item/index.js +3 -0
  478. package/es/vxe-breadcrumb-item/style.css +0 -0
  479. package/es/vxe-breadcrumb-item/style.min.css +0 -0
  480. package/es/vxe-button/index.js +3 -0
  481. package/es/vxe-button/style.css +638 -0
  482. package/es/vxe-button/style.min.css +1 -0
  483. package/es/vxe-button-group/index.js +3 -0
  484. package/es/vxe-button-group/style.css +27 -0
  485. package/es/vxe-button-group/style.min.css +1 -0
  486. package/es/vxe-calendar/index.js +3 -0
  487. package/es/vxe-calendar/style.css +350 -0
  488. package/es/vxe-calendar/style.min.css +1 -0
  489. package/es/vxe-card/index.js +3 -0
  490. package/es/vxe-card/style.css +107 -0
  491. package/es/vxe-card/style.min.css +1 -0
  492. package/es/vxe-carousel/index.js +3 -0
  493. package/es/vxe-carousel/style.css +185 -0
  494. package/es/vxe-carousel/style.min.css +1 -0
  495. package/es/vxe-carousel-item/index.js +3 -0
  496. package/es/vxe-carousel-item/style.css +0 -0
  497. package/es/vxe-carousel-item/style.min.css +0 -0
  498. package/es/vxe-cascader/index.js +3 -0
  499. package/es/vxe-cascader/style.css +346 -0
  500. package/es/vxe-cascader/style.min.css +1 -0
  501. package/es/vxe-checkbox/index.js +3 -0
  502. package/es/vxe-checkbox/style.css +113 -0
  503. package/es/vxe-checkbox/style.min.css +1 -0
  504. package/es/vxe-checkbox-button/index.js +3 -0
  505. package/es/vxe-checkbox-button/style.css +202 -0
  506. package/es/vxe-checkbox-button/style.min.css +1 -0
  507. package/es/vxe-checkbox-group/index.js +3 -0
  508. package/es/vxe-checkbox-group/style.css +0 -0
  509. package/es/vxe-checkbox-group/style.min.css +0 -0
  510. package/es/vxe-col/index.js +3 -0
  511. package/es/vxe-col/style.css +0 -0
  512. package/es/vxe-col/style.min.css +0 -0
  513. package/es/vxe-collapse/index.js +3 -0
  514. package/es/vxe-collapse/style.css +83 -0
  515. package/es/vxe-collapse/style.min.css +1 -0
  516. package/es/vxe-collapse-pane/index.js +3 -0
  517. package/es/vxe-collapse-pane/style.css +0 -0
  518. package/es/vxe-collapse-pane/style.min.css +0 -0
  519. package/es/vxe-color-picker/index.js +3 -0
  520. package/es/vxe-color-picker/style.css +485 -0
  521. package/es/vxe-color-picker/style.min.css +1 -0
  522. package/es/vxe-context-menu/index.js +3 -0
  523. package/es/vxe-context-menu/style.css +109 -0
  524. package/es/vxe-context-menu/style.min.css +1 -0
  525. package/es/vxe-countdown/index.js +3 -0
  526. package/es/vxe-countdown/style.css +38 -0
  527. package/es/vxe-countdown/style.min.css +1 -0
  528. package/es/vxe-date-panel/index.js +3 -0
  529. package/es/vxe-date-panel/style.css +453 -0
  530. package/es/vxe-date-panel/style.min.css +1 -0
  531. package/es/vxe-date-picker/index.js +3 -0
  532. package/es/vxe-date-picker/style.css +283 -0
  533. package/es/vxe-date-picker/style.min.css +1 -0
  534. package/es/vxe-date-range-picker/index.js +3 -0
  535. package/es/vxe-date-range-picker/style.css +289 -0
  536. package/es/vxe-date-range-picker/style.min.css +1 -0
  537. package/es/vxe-drawer/index.js +3 -0
  538. package/es/vxe-drawer/style.css +270 -0
  539. package/es/vxe-drawer/style.min.css +1 -0
  540. package/es/vxe-empty/index.js +3 -0
  541. package/es/vxe-empty/style.css +54 -0
  542. package/es/vxe-empty/style.min.css +1 -0
  543. package/es/vxe-form/index.js +3 -0
  544. package/es/vxe-form/style.css +621 -0
  545. package/es/vxe-form/style.min.css +1 -0
  546. package/es/vxe-form-gather/index.js +3 -0
  547. package/es/vxe-form-gather/style.css +0 -0
  548. package/es/vxe-form-gather/style.min.css +0 -0
  549. package/es/vxe-form-group/index.js +3 -0
  550. package/es/vxe-form-group/style.css +0 -0
  551. package/es/vxe-form-group/style.min.css +0 -0
  552. package/es/vxe-form-item/index.js +3 -0
  553. package/es/vxe-form-item/style.css +0 -0
  554. package/es/vxe-form-item/style.min.css +0 -0
  555. package/es/vxe-icon/index.js +3 -0
  556. package/es/vxe-icon/style.css +1034 -0
  557. package/es/vxe-icon/style.min.css +1 -0
  558. package/es/vxe-icon-picker/index.js +3 -0
  559. package/es/vxe-icon-picker/style.css +242 -0
  560. package/es/vxe-icon-picker/style.min.css +1 -0
  561. package/es/vxe-image/index.js +3 -0
  562. package/es/vxe-image/style.css +17 -0
  563. package/es/vxe-image/style.min.css +1 -0
  564. package/es/vxe-image-group/index.js +3 -0
  565. package/es/vxe-image-group/style.css +3 -0
  566. package/es/vxe-image-group/style.min.css +1 -0
  567. package/es/vxe-image-preview/index.js +3 -0
  568. package/es/vxe-image-preview/style.css +218 -0
  569. package/es/vxe-image-preview/style.min.css +1 -0
  570. package/es/vxe-input/index.js +3 -0
  571. package/es/vxe-input/style.css +1025 -0
  572. package/es/vxe-input/style.min.css +1 -0
  573. package/es/vxe-layout-aside/index.js +3 -0
  574. package/es/vxe-layout-aside/style.css +26 -0
  575. package/es/vxe-layout-aside/style.min.css +1 -0
  576. package/es/vxe-layout-body/index.js +3 -0
  577. package/es/vxe-layout-body/style.css +16 -0
  578. package/es/vxe-layout-body/style.min.css +1 -0
  579. package/es/vxe-layout-container/index.js +3 -0
  580. package/es/vxe-layout-container/style.css +28 -0
  581. package/es/vxe-layout-container/style.min.css +1 -0
  582. package/es/vxe-layout-footer/index.js +3 -0
  583. package/es/vxe-layout-footer/style.css +14 -0
  584. package/es/vxe-layout-footer/style.min.css +1 -0
  585. package/es/vxe-layout-header/index.js +3 -0
  586. package/es/vxe-layout-header/style.css +11 -0
  587. package/es/vxe-layout-header/style.min.css +1 -0
  588. package/es/vxe-link/index.js +3 -0
  589. package/es/vxe-link/style.css +111 -0
  590. package/es/vxe-link/style.min.css +1 -0
  591. package/es/vxe-list/index.js +3 -0
  592. package/es/vxe-list/style.css +379 -0
  593. package/es/vxe-list/style.min.css +1 -0
  594. package/es/vxe-loading/index.js +3 -0
  595. package/es/vxe-loading/style.css +120 -0
  596. package/es/vxe-loading/style.min.css +1 -0
  597. package/es/vxe-mention/index.js +3 -0
  598. package/es/vxe-mention/style.css +0 -0
  599. package/es/vxe-mention/style.min.css +0 -0
  600. package/es/vxe-menu/index.js +3 -0
  601. package/es/vxe-menu/style.css +140 -0
  602. package/es/vxe-menu/style.min.css +1 -0
  603. package/es/vxe-modal/index.js +3 -0
  604. package/es/vxe-modal/style.css +415 -0
  605. package/es/vxe-modal/style.min.css +1 -0
  606. package/es/vxe-notice-bar/index.js +3 -0
  607. package/es/vxe-notice-bar/style.css +78 -0
  608. package/es/vxe-notice-bar/style.min.css +1 -0
  609. package/es/vxe-number-input/index.js +3 -0
  610. package/es/vxe-number-input/style.css +274 -0
  611. package/es/vxe-number-input/style.min.css +1 -0
  612. package/es/vxe-optgroup/index.js +3 -0
  613. package/es/vxe-optgroup/style.css +0 -0
  614. package/es/vxe-optgroup/style.min.css +0 -0
  615. package/es/vxe-option/index.js +3 -0
  616. package/es/vxe-option/style.css +0 -0
  617. package/es/vxe-option/style.min.css +0 -0
  618. package/es/vxe-pager/index.js +3 -0
  619. package/es/vxe-pager/style.css +341 -0
  620. package/es/vxe-pager/style.min.css +1 -0
  621. package/es/vxe-password-input/index.js +3 -0
  622. package/es/vxe-password-input/style.css +598 -0
  623. package/es/vxe-password-input/style.min.css +1 -0
  624. package/es/vxe-print/index.js +3 -0
  625. package/es/vxe-print/style.css +4 -0
  626. package/es/vxe-print/style.min.css +1 -0
  627. package/es/vxe-print-page-break/index.js +3 -0
  628. package/es/vxe-print-page-break/style.css +0 -0
  629. package/es/vxe-print-page-break/style.min.css +0 -0
  630. package/es/vxe-pulldown/index.js +3 -0
  631. package/es/vxe-pulldown/style.css +109 -0
  632. package/es/vxe-pulldown/style.min.css +1 -0
  633. package/es/vxe-radio/index.js +3 -0
  634. package/es/vxe-radio/style.css +108 -0
  635. package/es/vxe-radio/style.min.css +1 -0
  636. package/es/vxe-radio-button/index.js +3 -0
  637. package/es/vxe-radio-button/style.css +202 -0
  638. package/es/vxe-radio-button/style.min.css +1 -0
  639. package/es/vxe-radio-group/index.js +3 -0
  640. package/es/vxe-radio-group/style.css +0 -0
  641. package/es/vxe-radio-group/style.min.css +0 -0
  642. package/es/vxe-rate/index.js +3 -0
  643. package/es/vxe-rate/style.css +54 -0
  644. package/es/vxe-rate/style.min.css +1 -0
  645. package/es/vxe-result/index.js +3 -0
  646. package/es/vxe-result/style.css +68 -0
  647. package/es/vxe-result/style.min.css +1 -0
  648. package/es/vxe-row/index.js +3 -0
  649. package/es/vxe-row/style.css +116 -0
  650. package/es/vxe-row/style.min.css +1 -0
  651. package/es/vxe-segmented/index.js +3 -0
  652. package/es/vxe-segmented/style.css +197 -0
  653. package/es/vxe-segmented/style.min.css +1 -0
  654. package/es/vxe-select/index.js +3 -0
  655. package/es/vxe-select/style.css +370 -0
  656. package/es/vxe-select/style.min.css +1 -0
  657. package/es/vxe-slider/index.js +3 -0
  658. package/es/vxe-slider/style.css +143 -0
  659. package/es/vxe-slider/style.min.css +1 -0
  660. package/es/vxe-split/index.js +3 -0
  661. package/es/vxe-split/style.css +295 -0
  662. package/es/vxe-split/style.min.css +1 -0
  663. package/es/vxe-split-pane/index.js +3 -0
  664. package/es/vxe-split-pane/style.css +0 -0
  665. package/es/vxe-split-pane/style.min.css +0 -0
  666. package/es/vxe-splitter/index.js +3 -0
  667. package/es/vxe-splitter/style.css +295 -0
  668. package/es/vxe-splitter/style.min.css +1 -0
  669. package/es/vxe-splitter-panel/index.js +3 -0
  670. package/es/vxe-splitter-panel/style.css +0 -0
  671. package/es/vxe-splitter-panel/style.min.css +0 -0
  672. package/es/vxe-steps/index.js +3 -0
  673. package/es/vxe-steps/style.css +0 -0
  674. package/es/vxe-steps/style.min.css +0 -0
  675. package/es/vxe-switch/index.js +3 -0
  676. package/es/vxe-switch/style.css +111 -0
  677. package/es/vxe-switch/style.min.css +1 -0
  678. package/es/vxe-tab-pane/index.js +3 -0
  679. package/es/vxe-tab-pane/style.css +0 -0
  680. package/es/vxe-tab-pane/style.min.css +0 -0
  681. package/es/vxe-table-select/index.js +3 -0
  682. package/es/vxe-table-select/style.css +134 -0
  683. package/es/vxe-table-select/style.min.css +1 -0
  684. package/es/vxe-table-transfer/index.js +3 -0
  685. package/es/vxe-table-transfer/style.css +0 -0
  686. package/es/vxe-table-transfer/style.min.css +0 -0
  687. package/es/vxe-tabs/index.js +3 -0
  688. package/es/vxe-tabs/style.css +705 -0
  689. package/es/vxe-tabs/style.min.css +1 -0
  690. package/es/vxe-tag/index.js +3 -0
  691. package/es/vxe-tag/style.css +187 -0
  692. package/es/vxe-tag/style.min.css +1 -0
  693. package/es/vxe-text/index.js +3 -0
  694. package/es/vxe-text/style.css +138 -0
  695. package/es/vxe-text/style.min.css +1 -0
  696. package/es/vxe-text-ellipsis/index.js +3 -0
  697. package/es/vxe-text-ellipsis/style.css +115 -0
  698. package/es/vxe-text-ellipsis/style.min.css +1 -0
  699. package/es/vxe-textarea/index.js +3 -0
  700. package/es/vxe-textarea/style.css +119 -0
  701. package/es/vxe-textarea/style.min.css +1 -0
  702. package/es/vxe-timeline/index.js +3 -0
  703. package/es/vxe-timeline/style.css +0 -0
  704. package/es/vxe-timeline/style.min.css +0 -0
  705. package/es/vxe-timeline-item/index.js +3 -0
  706. package/es/vxe-timeline-item/style.css +0 -0
  707. package/es/vxe-timeline-item/style.min.css +0 -0
  708. package/es/vxe-tip/index.js +3 -0
  709. package/es/vxe-tip/style.css +107 -0
  710. package/es/vxe-tip/style.min.css +1 -0
  711. package/es/vxe-tooltip/index.js +3 -0
  712. package/es/vxe-tooltip/style.css +117 -0
  713. package/es/vxe-tooltip/style.min.css +1 -0
  714. package/es/vxe-tour/index.js +3 -0
  715. package/es/vxe-tour/style.css +0 -0
  716. package/es/vxe-tour/style.min.css +0 -0
  717. package/es/vxe-transfer/index.js +3 -0
  718. package/es/vxe-transfer/style.css +0 -0
  719. package/es/vxe-transfer/style.min.css +0 -0
  720. package/es/vxe-tree/index.js +3 -0
  721. package/es/vxe-tree/style.css +385 -0
  722. package/es/vxe-tree/style.min.css +1 -0
  723. package/es/vxe-tree-select/index.js +3 -0
  724. package/es/vxe-tree-select/style.css +194 -0
  725. package/es/vxe-tree-select/style.min.css +1 -0
  726. package/es/vxe-u-i/index.js +3 -0
  727. package/es/vxe-ui/index.js +3 -0
  728. package/es/vxe-ui/style.css +0 -0
  729. package/es/vxe-ui/style.min.css +0 -0
  730. package/es/vxe-upload/index.js +3 -0
  731. package/es/vxe-upload/style.css +483 -0
  732. package/es/vxe-upload/style.min.css +1 -0
  733. package/es/vxe-watermark/index.js +3 -0
  734. package/es/vxe-watermark/style.css +30 -0
  735. package/es/vxe-watermark/style.min.css +1 -0
  736. package/es/watermark/index.js +24 -0
  737. package/es/watermark/src/util.js +149 -0
  738. package/es/watermark/src/watermark.js +148 -0
  739. package/es/watermark/style.css +30 -0
  740. package/es/watermark/style.min.css +1 -0
  741. package/lib/alert/index.js +19 -0
  742. package/lib/alert/index.min.js +1 -0
  743. package/lib/alert/src/alert.js +101 -0
  744. package/lib/alert/src/alert.min.js +1 -0
  745. package/lib/alert/style/index.js +1 -0
  746. package/lib/alert/style/style.css +129 -0
  747. package/lib/alert/style/style.min.css +1 -0
  748. package/lib/anchor/index.js +19 -0
  749. package/lib/anchor/index.min.js +1 -0
  750. package/lib/anchor/src/anchor-link.js +146 -0
  751. package/lib/anchor/src/anchor-link.min.js +1 -0
  752. package/lib/anchor/src/anchor.js +263 -0
  753. package/lib/anchor/src/anchor.min.js +1 -0
  754. package/lib/anchor/src/util.js +31 -0
  755. package/lib/anchor/src/util.min.js +1 -0
  756. package/lib/anchor/style/index.js +1 -0
  757. package/lib/anchor/style/style.css +42 -0
  758. package/lib/anchor/style/style.min.css +1 -0
  759. package/lib/anchor-link/index.js +19 -0
  760. package/lib/anchor-link/index.min.js +1 -0
  761. package/lib/anchor-link/style/index.js +1 -0
  762. package/lib/anchor-link/style/style.css +0 -0
  763. package/lib/anchor-link/style/style.min.css +0 -0
  764. package/lib/avatar/index.js +19 -0
  765. package/lib/avatar/index.min.js +1 -0
  766. package/lib/avatar/src/avatar.js +139 -0
  767. package/lib/avatar/src/avatar.min.js +1 -0
  768. package/lib/avatar/style/index.js +1 -0
  769. package/lib/avatar/style/style.css +98 -0
  770. package/lib/avatar/style/style.min.css +1 -0
  771. package/lib/backtop/index.js +19 -0
  772. package/lib/backtop/index.min.js +1 -0
  773. package/lib/backtop/src/backtop.js +347 -0
  774. package/lib/backtop/src/backtop.min.js +1 -0
  775. package/lib/backtop/style/index.js +1 -0
  776. package/lib/backtop/style/style.css +72 -0
  777. package/lib/backtop/style/style.min.css +1 -0
  778. package/lib/badge/index.js +19 -0
  779. package/lib/badge/index.min.js +1 -0
  780. package/lib/badge/src/badge.js +81 -0
  781. package/lib/badge/src/badge.min.js +1 -0
  782. package/lib/badge/style/index.js +1 -0
  783. package/lib/badge/style/style.css +42 -0
  784. package/lib/badge/style/style.min.css +1 -0
  785. package/lib/breadcrumb/index.js +19 -0
  786. package/lib/breadcrumb/index.min.js +1 -0
  787. package/lib/breadcrumb/src/breadcrumb-item.js +102 -0
  788. package/lib/breadcrumb/src/breadcrumb-item.min.js +1 -0
  789. package/lib/breadcrumb/src/breadcrumb.js +88 -0
  790. package/lib/breadcrumb/src/breadcrumb.min.js +1 -0
  791. package/lib/breadcrumb/style/index.js +1 -0
  792. package/lib/breadcrumb/style/style.css +33 -0
  793. package/lib/breadcrumb/style/style.min.css +1 -0
  794. package/lib/breadcrumb-item/index.js +19 -0
  795. package/lib/breadcrumb-item/index.min.js +1 -0
  796. package/lib/breadcrumb-item/style/index.js +1 -0
  797. package/lib/breadcrumb-item/style/style.css +0 -0
  798. package/lib/breadcrumb-item/style/style.min.css +0 -0
  799. package/lib/button/index.js +19 -0
  800. package/lib/button/index.min.js +1 -0
  801. package/lib/button/src/button-group.js +110 -0
  802. package/lib/button/src/button-group.min.js +1 -0
  803. package/lib/button/src/button.js +874 -0
  804. package/lib/button/src/button.min.js +1 -0
  805. package/lib/button/style/index.js +1 -0
  806. package/lib/button/style/style.css +638 -0
  807. package/lib/button/style/style.min.css +1 -0
  808. package/lib/button-group/index.js +19 -0
  809. package/lib/button-group/index.min.js +1 -0
  810. package/lib/button-group/style/index.js +1 -0
  811. package/lib/button-group/style/style.css +27 -0
  812. package/lib/button-group/style/style.min.css +1 -0
  813. package/lib/calendar/index.js +19 -0
  814. package/lib/calendar/index.min.js +1 -0
  815. package/lib/calendar/src/calendar.js +1563 -0
  816. package/lib/calendar/src/calendar.min.js +1 -0
  817. package/lib/calendar/style/index.js +1 -0
  818. package/lib/calendar/style/style.css +350 -0
  819. package/lib/calendar/style/style.min.css +1 -0
  820. package/lib/card/index.js +19 -0
  821. package/lib/card/index.min.js +1 -0
  822. package/lib/card/src/card.js +151 -0
  823. package/lib/card/src/card.min.js +1 -0
  824. package/lib/card/style/index.js +1 -0
  825. package/lib/card/style/style.css +107 -0
  826. package/lib/card/style/style.min.css +1 -0
  827. package/lib/carousel/index.js +19 -0
  828. package/lib/carousel/index.min.js +1 -0
  829. package/lib/carousel/src/carousel-item.js +110 -0
  830. package/lib/carousel/src/carousel-item.min.js +1 -0
  831. package/lib/carousel/src/carousel.js +448 -0
  832. package/lib/carousel/src/carousel.min.js +1 -0
  833. package/lib/carousel/src/util.js +27 -0
  834. package/lib/carousel/src/util.min.js +1 -0
  835. package/lib/carousel/style/index.js +1 -0
  836. package/lib/carousel/style/style.css +185 -0
  837. package/lib/carousel/style/style.min.css +1 -0
  838. package/lib/carousel-item/index.js +19 -0
  839. package/lib/carousel-item/index.min.js +1 -0
  840. package/lib/carousel-item/style/index.js +1 -0
  841. package/lib/carousel-item/style/style.css +0 -0
  842. package/lib/carousel-item/style/style.min.css +0 -0
  843. package/lib/cascader/index.js +19 -0
  844. package/lib/cascader/index.min.js +1 -0
  845. package/lib/cascader/src/cascader.js +2097 -0
  846. package/lib/cascader/src/cascader.min.js +1 -0
  847. package/lib/cascader/src/util.js +15 -0
  848. package/lib/cascader/src/util.min.js +1 -0
  849. package/lib/cascader/style/index.js +1 -0
  850. package/lib/cascader/style/style.css +346 -0
  851. package/lib/cascader/style/style.min.css +1 -0
  852. package/lib/checkbox/index.js +19 -0
  853. package/lib/checkbox/index.min.js +1 -0
  854. package/lib/checkbox/src/button.js +239 -0
  855. package/lib/checkbox/src/button.min.js +1 -0
  856. package/lib/checkbox/src/checkbox.js +227 -0
  857. package/lib/checkbox/src/checkbox.min.js +1 -0
  858. package/lib/checkbox/src/group.js +300 -0
  859. package/lib/checkbox/src/group.min.js +1 -0
  860. package/lib/checkbox/style/index.js +1 -0
  861. package/lib/checkbox/style/style.css +113 -0
  862. package/lib/checkbox/style/style.min.css +1 -0
  863. package/lib/checkbox-button/index.js +19 -0
  864. package/lib/checkbox-button/index.min.js +1 -0
  865. package/lib/checkbox-button/style/index.js +1 -0
  866. package/lib/checkbox-button/style/style.css +202 -0
  867. package/lib/checkbox-button/style/style.min.css +1 -0
  868. package/lib/checkbox-group/index.js +19 -0
  869. package/lib/checkbox-group/index.min.js +1 -0
  870. package/lib/checkbox-group/style/index.js +1 -0
  871. package/lib/checkbox-group/style/style.css +0 -0
  872. package/lib/checkbox-group/style/style.min.css +0 -0
  873. package/lib/col/index.js +19 -0
  874. package/lib/col/index.min.js +1 -0
  875. package/lib/col/style/index.js +1 -0
  876. package/lib/col/style/style.css +0 -0
  877. package/lib/col/style/style.min.css +0 -0
  878. package/lib/collapse/index.js +19 -0
  879. package/lib/collapse/index.min.js +1 -0
  880. package/lib/collapse/src/collapse-pane.js +126 -0
  881. package/lib/collapse/src/collapse-pane.min.js +1 -0
  882. package/lib/collapse/src/collapse.js +377 -0
  883. package/lib/collapse/src/collapse.min.js +1 -0
  884. package/lib/collapse/src/util.js +29 -0
  885. package/lib/collapse/src/util.min.js +1 -0
  886. package/lib/collapse/style/index.js +1 -0
  887. package/lib/collapse/style/style.css +83 -0
  888. package/lib/collapse/style/style.min.css +1 -0
  889. package/lib/collapse-pane/index.js +19 -0
  890. package/lib/collapse-pane/index.min.js +1 -0
  891. package/lib/collapse-pane/style/index.js +1 -0
  892. package/lib/collapse-pane/style/style.css +0 -0
  893. package/lib/collapse-pane/style/style.min.css +0 -0
  894. package/lib/color-picker/index.js +19 -0
  895. package/lib/color-picker/index.min.js +1 -0
  896. package/lib/color-picker/src/color-picker.js +1183 -0
  897. package/lib/color-picker/src/color-picker.min.js +1 -0
  898. package/lib/color-picker/src/util.js +215 -0
  899. package/lib/color-picker/src/util.min.js +1 -0
  900. package/lib/color-picker/style/index.js +1 -0
  901. package/lib/color-picker/style/style.css +485 -0
  902. package/lib/color-picker/style/style.min.css +1 -0
  903. package/lib/components.js +1154 -0
  904. package/lib/components.min.js +1 -0
  905. package/lib/context-menu/index.js +56 -0
  906. package/lib/context-menu/index.min.js +1 -0
  907. package/lib/context-menu/src/context-menu.js +682 -0
  908. package/lib/context-menu/src/context-menu.min.js +1 -0
  909. package/lib/context-menu/style/index.js +1 -0
  910. package/lib/context-menu/style/style.css +109 -0
  911. package/lib/context-menu/style/style.min.css +1 -0
  912. package/lib/countdown/index.js +19 -0
  913. package/lib/countdown/index.min.js +1 -0
  914. package/lib/countdown/src/countdown.js +251 -0
  915. package/lib/countdown/src/countdown.min.js +1 -0
  916. package/lib/countdown/style/index.js +1 -0
  917. package/lib/countdown/style/style.css +38 -0
  918. package/lib/countdown/style/style.min.css +1 -0
  919. package/lib/date-panel/index.js +19 -0
  920. package/lib/date-panel/index.min.js +1 -0
  921. package/lib/date-panel/src/date-panel.js +2132 -0
  922. package/lib/date-panel/src/date-panel.min.js +1 -0
  923. package/lib/date-panel/src/util.js +327 -0
  924. package/lib/date-panel/src/util.min.js +1 -0
  925. package/lib/date-panel/style/index.js +1 -0
  926. package/lib/date-panel/style/style.css +453 -0
  927. package/lib/date-panel/style/style.min.css +1 -0
  928. package/lib/date-picker/index.js +20 -0
  929. package/lib/date-picker/index.min.js +1 -0
  930. package/lib/date-picker/src/date-picker.js +1878 -0
  931. package/lib/date-picker/src/date-picker.min.js +1 -0
  932. package/lib/date-picker/style/index.js +1 -0
  933. package/lib/date-picker/style/style.css +283 -0
  934. package/lib/date-picker/style/style.min.css +1 -0
  935. package/lib/date-range-picker/index.js +19 -0
  936. package/lib/date-range-picker/index.min.js +1 -0
  937. package/lib/date-range-picker/src/date-range-picker.js +1722 -0
  938. package/lib/date-range-picker/src/date-range-picker.min.js +1 -0
  939. package/lib/date-range-picker/style/index.js +1 -0
  940. package/lib/date-range-picker/style/style.css +289 -0
  941. package/lib/date-range-picker/style/style.min.css +1 -0
  942. package/lib/drawer/index.js +84 -0
  943. package/lib/drawer/index.min.js +1 -0
  944. package/lib/drawer/src/drawer.js +801 -0
  945. package/lib/drawer/src/drawer.min.js +1 -0
  946. package/lib/drawer/style/index.js +1 -0
  947. package/lib/drawer/style/style.css +270 -0
  948. package/lib/drawer/style/style.min.css +1 -0
  949. package/lib/dynamics/index.js +110 -0
  950. package/lib/dynamics/index.min.js +1 -0
  951. package/lib/empty/index.js +19 -0
  952. package/lib/empty/index.min.js +1 -0
  953. package/lib/empty/src/empty.js +78 -0
  954. package/lib/empty/src/empty.min.js +1 -0
  955. package/lib/empty/style/index.js +1 -0
  956. package/lib/empty/style/style.css +54 -0
  957. package/lib/empty/style/style.min.css +1 -0
  958. package/lib/form/index.js +19 -0
  959. package/lib/form/index.min.js +1 -0
  960. package/lib/form/render/index.js +650 -0
  961. package/lib/form/render/index.min.js +1 -0
  962. package/lib/form/src/form-config-item.js +87 -0
  963. package/lib/form/src/form-config-item.min.js +1 -0
  964. package/lib/form/src/form-group.js +125 -0
  965. package/lib/form/src/form-group.min.js +1 -0
  966. package/lib/form/src/form-item.js +211 -0
  967. package/lib/form/src/form-item.min.js +1 -0
  968. package/lib/form/src/form.js +1130 -0
  969. package/lib/form/src/form.min.js +1 -0
  970. package/lib/form/src/itemInfo.js +95 -0
  971. package/lib/form/src/itemInfo.min.js +1 -0
  972. package/lib/form/src/render.js +406 -0
  973. package/lib/form/src/render.min.js +1 -0
  974. package/lib/form/src/util.js +106 -0
  975. package/lib/form/src/util.min.js +1 -0
  976. package/lib/form/style/index.js +1 -0
  977. package/lib/form/style/style.css +621 -0
  978. package/lib/form/style/style.min.css +1 -0
  979. package/lib/form-gather/index.js +22 -0
  980. package/lib/form-gather/index.min.js +1 -0
  981. package/lib/form-gather/style/index.js +1 -0
  982. package/lib/form-gather/style/style.css +0 -0
  983. package/lib/form-gather/style/style.min.css +0 -0
  984. package/lib/form-group/index.js +19 -0
  985. package/lib/form-group/index.min.js +1 -0
  986. package/lib/form-group/style/index.js +1 -0
  987. package/lib/form-group/style/style.css +0 -0
  988. package/lib/form-group/style/style.min.css +0 -0
  989. package/lib/form-item/index.js +19 -0
  990. package/lib/form-item/index.min.js +1 -0
  991. package/lib/form-item/style/index.js +1 -0
  992. package/lib/form-item/style/style.css +0 -0
  993. package/lib/form-item/style/style.min.css +0 -0
  994. package/lib/icon/index.js +19 -0
  995. package/lib/icon/index.min.js +1 -0
  996. package/lib/icon/src/icon.js +75 -0
  997. package/lib/icon/src/icon.min.js +1 -0
  998. package/lib/icon/style/iconfont.1783571795939.ttf +0 -0
  999. package/lib/icon/style/iconfont.1783571795939.woff +0 -0
  1000. package/lib/icon/style/iconfont.1783571795939.woff2 +0 -0
  1001. package/lib/icon/style/index.js +1 -0
  1002. package/lib/icon/style/style.css +1034 -0
  1003. package/lib/icon/style/style.min.css +1034 -0
  1004. package/lib/icon-picker/index.js +19 -0
  1005. package/lib/icon-picker/index.min.js +1 -0
  1006. package/lib/icon-picker/src/icon-picker.js +829 -0
  1007. package/lib/icon-picker/src/icon-picker.min.js +1 -0
  1008. package/lib/icon-picker/style/index.js +1 -0
  1009. package/lib/icon-picker/style/style.css +242 -0
  1010. package/lib/icon-picker/style/style.min.css +1 -0
  1011. package/lib/iconfont.1783571795939.ttf +0 -0
  1012. package/lib/iconfont.1783571795939.woff +0 -0
  1013. package/lib/iconfont.1783571795939.woff2 +0 -0
  1014. package/lib/image/index.js +19 -0
  1015. package/lib/image/index.min.js +1 -0
  1016. package/lib/image/src/group.js +171 -0
  1017. package/lib/image/src/group.min.js +1 -0
  1018. package/lib/image/src/image.js +317 -0
  1019. package/lib/image/src/image.min.js +1 -0
  1020. package/lib/image/src/preview.js +683 -0
  1021. package/lib/image/src/preview.min.js +1 -0
  1022. package/lib/image/src/util.js +70 -0
  1023. package/lib/image/src/util.min.js +1 -0
  1024. package/lib/image/style/index.js +1 -0
  1025. package/lib/image/style/style.css +17 -0
  1026. package/lib/image/style/style.min.css +1 -0
  1027. package/lib/image-group/index.js +19 -0
  1028. package/lib/image-group/index.min.js +1 -0
  1029. package/lib/image-group/style/index.js +1 -0
  1030. package/lib/image-group/style/style.css +3 -0
  1031. package/lib/image-group/style/style.min.css +1 -0
  1032. package/lib/image-preview/index.js +21 -0
  1033. package/lib/image-preview/index.min.js +1 -0
  1034. package/lib/image-preview/style/index.js +1 -0
  1035. package/lib/image-preview/style/style.css +218 -0
  1036. package/lib/image-preview/style/style.min.css +1 -0
  1037. package/lib/index.common.js +25 -0
  1038. package/lib/index.umd.js +70070 -0
  1039. package/lib/index.umd.min.js +1 -0
  1040. package/lib/input/index.js +19 -0
  1041. package/lib/input/index.min.js +1 -0
  1042. package/lib/input/src/input.js +3098 -0
  1043. package/lib/input/src/input.min.js +1 -0
  1044. package/lib/input/style/index.js +1 -0
  1045. package/lib/input/style/style.css +1025 -0
  1046. package/lib/input/style/style.min.css +1 -0
  1047. package/lib/language/ar-EG.d.ts +2 -0
  1048. package/lib/language/ar-EG.js +880 -0
  1049. package/lib/language/ar-EG.min.js +1 -0
  1050. package/lib/language/ar-EG.umd.js +894 -0
  1051. package/lib/language/de-DE.d.ts +2 -0
  1052. package/lib/language/de-DE.js +880 -0
  1053. package/lib/language/de-DE.min.js +1 -0
  1054. package/lib/language/de-DE.umd.js +894 -0
  1055. package/lib/language/en-US.d.ts +2 -0
  1056. package/lib/language/en-US.js +880 -0
  1057. package/lib/language/en-US.min.js +1 -0
  1058. package/lib/language/en-US.umd.js +894 -0
  1059. package/lib/language/es-ES.d.ts +2 -0
  1060. package/lib/language/es-ES.js +880 -0
  1061. package/lib/language/es-ES.min.js +1 -0
  1062. package/lib/language/es-ES.umd.js +894 -0
  1063. package/lib/language/fr-FR.d.ts +2 -0
  1064. package/lib/language/fr-FR.js +880 -0
  1065. package/lib/language/fr-FR.min.js +1 -0
  1066. package/lib/language/fr-FR.umd.js +894 -0
  1067. package/lib/language/hu-HU.d.ts +2 -0
  1068. package/lib/language/hu-HU.js +880 -0
  1069. package/lib/language/hu-HU.min.js +1 -0
  1070. package/lib/language/hu-HU.umd.js +894 -0
  1071. package/lib/language/hy-AM.d.ts +2 -0
  1072. package/lib/language/hy-AM.js +880 -0
  1073. package/lib/language/hy-AM.min.js +1 -0
  1074. package/lib/language/hy-AM.umd.js +894 -0
  1075. package/lib/language/id-ID.d.ts +2 -0
  1076. package/lib/language/id-ID.js +880 -0
  1077. package/lib/language/id-ID.min.js +1 -0
  1078. package/lib/language/id-ID.umd.js +894 -0
  1079. package/lib/language/it-IT.d.ts +2 -0
  1080. package/lib/language/it-IT.js +880 -0
  1081. package/lib/language/it-IT.min.js +1 -0
  1082. package/lib/language/it-IT.umd.js +894 -0
  1083. package/lib/language/ja-JP.d.ts +2 -0
  1084. package/lib/language/ja-JP.js +880 -0
  1085. package/lib/language/ja-JP.min.js +1 -0
  1086. package/lib/language/ja-JP.umd.js +894 -0
  1087. package/lib/language/ko-KR.d.ts +2 -0
  1088. package/lib/language/ko-KR.js +880 -0
  1089. package/lib/language/ko-KR.min.js +1 -0
  1090. package/lib/language/ko-KR.umd.js +894 -0
  1091. package/lib/language/ms-MY.d.ts +2 -0
  1092. package/lib/language/ms-MY.js +880 -0
  1093. package/lib/language/ms-MY.min.js +1 -0
  1094. package/lib/language/ms-MY.umd.js +894 -0
  1095. package/lib/language/nb-NO.d.ts +2 -0
  1096. package/lib/language/nb-NO.js +880 -0
  1097. package/lib/language/nb-NO.min.js +1 -0
  1098. package/lib/language/nb-NO.umd.js +894 -0
  1099. package/lib/language/pt-BR.d.ts +2 -0
  1100. package/lib/language/pt-BR.js +880 -0
  1101. package/lib/language/pt-BR.min.js +1 -0
  1102. package/lib/language/pt-BR.umd.js +894 -0
  1103. package/lib/language/ru-RU.d.ts +2 -0
  1104. package/lib/language/ru-RU.js +880 -0
  1105. package/lib/language/ru-RU.min.js +1 -0
  1106. package/lib/language/ru-RU.umd.js +894 -0
  1107. package/lib/language/th-TH.d.ts +2 -0
  1108. package/lib/language/th-TH.js +880 -0
  1109. package/lib/language/th-TH.min.js +1 -0
  1110. package/lib/language/th-TH.umd.js +894 -0
  1111. package/lib/language/ug-CN.d.ts +2 -0
  1112. package/lib/language/ug-CN.js +880 -0
  1113. package/lib/language/ug-CN.min.js +1 -0
  1114. package/lib/language/ug-CN.umd.js +894 -0
  1115. package/lib/language/uk-UA.d.ts +2 -0
  1116. package/lib/language/uk-UA.js +880 -0
  1117. package/lib/language/uk-UA.min.js +1 -0
  1118. package/lib/language/uk-UA.umd.js +894 -0
  1119. package/lib/language/uz-UZ.d.ts +2 -0
  1120. package/lib/language/uz-UZ.js +880 -0
  1121. package/lib/language/uz-UZ.min.js +1 -0
  1122. package/lib/language/uz-UZ.umd.js +894 -0
  1123. package/lib/language/vi-VN.d.ts +2 -0
  1124. package/lib/language/vi-VN.js +880 -0
  1125. package/lib/language/vi-VN.min.js +1 -0
  1126. package/lib/language/vi-VN.umd.js +894 -0
  1127. package/lib/language/zh-CHT.d.ts +2 -0
  1128. package/lib/language/zh-CHT.js +880 -0
  1129. package/lib/language/zh-CHT.min.js +1 -0
  1130. package/lib/language/zh-CHT.umd.js +894 -0
  1131. package/lib/language/zh-CN.d.ts +2 -0
  1132. package/lib/language/zh-CN.js +880 -0
  1133. package/lib/language/zh-CN.min.js +1 -0
  1134. package/lib/language/zh-CN.umd.js +894 -0
  1135. package/lib/language/zh-HK.d.ts +2 -0
  1136. package/lib/language/zh-HK.js +9 -0
  1137. package/lib/language/zh-HK.min.js +1 -0
  1138. package/lib/language/zh-HK.umd.js +23 -0
  1139. package/lib/language/zh-MO.d.ts +2 -0
  1140. package/lib/language/zh-MO.js +9 -0
  1141. package/lib/language/zh-MO.min.js +1 -0
  1142. package/lib/language/zh-MO.umd.js +23 -0
  1143. package/lib/language/zh-TC.js +9 -0
  1144. package/lib/language/zh-TC.min.js +1 -0
  1145. package/lib/language/zh-TW.d.ts +2 -0
  1146. package/lib/language/zh-TW.js +9 -0
  1147. package/lib/language/zh-TW.min.js +1 -0
  1148. package/lib/language/zh-TW.umd.js +23 -0
  1149. package/lib/layout-aside/index.js +19 -0
  1150. package/lib/layout-aside/index.min.js +1 -0
  1151. package/lib/layout-aside/src/layout-aside.js +120 -0
  1152. package/lib/layout-aside/src/layout-aside.min.js +1 -0
  1153. package/lib/layout-aside/style/index.js +1 -0
  1154. package/lib/layout-aside/style/style.css +26 -0
  1155. package/lib/layout-aside/style/style.min.css +1 -0
  1156. package/lib/layout-body/index.js +19 -0
  1157. package/lib/layout-body/index.min.js +1 -0
  1158. package/lib/layout-body/src/layout-body.js +141 -0
  1159. package/lib/layout-body/src/layout-body.min.js +1 -0
  1160. package/lib/layout-body/style/index.js +1 -0
  1161. package/lib/layout-body/style/style.css +16 -0
  1162. package/lib/layout-body/style/style.min.css +1 -0
  1163. package/lib/layout-container/index.js +19 -0
  1164. package/lib/layout-container/index.min.js +1 -0
  1165. package/lib/layout-container/src/layout-container.js +65 -0
  1166. package/lib/layout-container/src/layout-container.min.js +1 -0
  1167. package/lib/layout-container/style/index.js +1 -0
  1168. package/lib/layout-container/style/style.css +28 -0
  1169. package/lib/layout-container/style/style.min.css +1 -0
  1170. package/lib/layout-footer/index.js +19 -0
  1171. package/lib/layout-footer/index.min.js +1 -0
  1172. package/lib/layout-footer/src/layout-footer.js +56 -0
  1173. package/lib/layout-footer/src/layout-footer.min.js +1 -0
  1174. package/lib/layout-footer/style/index.js +1 -0
  1175. package/lib/layout-footer/style/style.css +14 -0
  1176. package/lib/layout-footer/style/style.min.css +1 -0
  1177. package/lib/layout-header/index.js +19 -0
  1178. package/lib/layout-header/index.min.js +1 -0
  1179. package/lib/layout-header/src/layout-header.js +53 -0
  1180. package/lib/layout-header/src/layout-header.min.js +1 -0
  1181. package/lib/layout-header/style/index.js +1 -0
  1182. package/lib/layout-header/style/style.css +11 -0
  1183. package/lib/layout-header/style/style.min.css +1 -0
  1184. package/lib/link/index.js +19 -0
  1185. package/lib/link/index.min.js +1 -0
  1186. package/lib/link/src/link.js +138 -0
  1187. package/lib/link/src/link.min.js +1 -0
  1188. package/lib/link/style/index.js +1 -0
  1189. package/lib/link/style/style.css +111 -0
  1190. package/lib/link/style/style.min.css +1 -0
  1191. package/lib/list/index.js +19 -0
  1192. package/lib/list/index.min.js +1 -0
  1193. package/lib/list/src/list.js +2412 -0
  1194. package/lib/list/src/list.min.js +1 -0
  1195. package/lib/list/src/store.js +15 -0
  1196. package/lib/list/src/store.min.js +1 -0
  1197. package/lib/list/src/util.js +14 -0
  1198. package/lib/list/src/util.min.js +1 -0
  1199. package/lib/list/style/index.js +1 -0
  1200. package/lib/list/style/style.css +379 -0
  1201. package/lib/list/style/style.min.css +1 -0
  1202. package/lib/loading/index.js +34 -0
  1203. package/lib/loading/index.min.js +1 -0
  1204. package/lib/loading/src/loading.js +151 -0
  1205. package/lib/loading/src/loading.min.js +1 -0
  1206. package/lib/loading/style/index.js +1 -0
  1207. package/lib/loading/style/style.css +120 -0
  1208. package/lib/loading/style/style.min.css +1 -0
  1209. package/lib/mention/index.js +19 -0
  1210. package/lib/mention/index.min.js +1 -0
  1211. package/lib/mention/src/mention.js +54 -0
  1212. package/lib/mention/src/mention.min.js +1 -0
  1213. package/lib/mention/style/index.js +1 -0
  1214. package/lib/mention/style/style.css +0 -0
  1215. package/lib/mention/style/style.min.css +0 -0
  1216. package/lib/menu/index.js +19 -0
  1217. package/lib/menu/index.min.js +1 -0
  1218. package/lib/menu/src/menu.js +613 -0
  1219. package/lib/menu/src/menu.min.js +1 -0
  1220. package/lib/menu/style/index.js +1 -0
  1221. package/lib/menu/style/style.css +140 -0
  1222. package/lib/menu/style/style.min.css +1 -0
  1223. package/lib/modal/index.js +149 -0
  1224. package/lib/modal/index.min.js +1 -0
  1225. package/lib/modal/src/modal.js +1730 -0
  1226. package/lib/modal/src/modal.min.js +1 -0
  1227. package/lib/modal/style/index.js +1 -0
  1228. package/lib/modal/style/style.css +415 -0
  1229. package/lib/modal/style/style.min.css +1 -0
  1230. package/lib/notice-bar/index.js +19 -0
  1231. package/lib/notice-bar/index.min.js +1 -0
  1232. package/lib/notice-bar/src/notice-bar.js +175 -0
  1233. package/lib/notice-bar/src/notice-bar.min.js +1 -0
  1234. package/lib/notice-bar/style/index.js +1 -0
  1235. package/lib/notice-bar/style/style.css +78 -0
  1236. package/lib/notice-bar/style/style.min.css +1 -0
  1237. package/lib/number-input/index.js +19 -0
  1238. package/lib/number-input/index.min.js +1 -0
  1239. package/lib/number-input/src/number-input.js +1227 -0
  1240. package/lib/number-input/src/number-input.min.js +1 -0
  1241. package/lib/number-input/src/util.js +29 -0
  1242. package/lib/number-input/src/util.min.js +1 -0
  1243. package/lib/number-input/style/index.js +1 -0
  1244. package/lib/number-input/style/style.css +274 -0
  1245. package/lib/number-input/style/style.min.css +1 -0
  1246. package/lib/optgroup/index.js +19 -0
  1247. package/lib/optgroup/index.min.js +1 -0
  1248. package/lib/optgroup/style/index.js +1 -0
  1249. package/lib/optgroup/style/style.css +0 -0
  1250. package/lib/optgroup/style/style.min.css +0 -0
  1251. package/lib/option/index.js +19 -0
  1252. package/lib/option/index.min.js +1 -0
  1253. package/lib/option/style/index.js +1 -0
  1254. package/lib/option/style/style.css +0 -0
  1255. package/lib/option/style/style.min.css +0 -0
  1256. package/lib/pager/index.js +19 -0
  1257. package/lib/pager/index.min.js +1 -0
  1258. package/lib/pager/src/pager.js +951 -0
  1259. package/lib/pager/src/pager.min.js +1 -0
  1260. package/lib/pager/style/index.js +1 -0
  1261. package/lib/pager/style/style.css +341 -0
  1262. package/lib/pager/style/style.min.css +1 -0
  1263. package/lib/password-input/index.js +19 -0
  1264. package/lib/password-input/index.min.js +1 -0
  1265. package/lib/password-input/src/password-input.js +438 -0
  1266. package/lib/password-input/src/password-input.min.js +1 -0
  1267. package/lib/password-input/style/index.js +1 -0
  1268. package/lib/password-input/style/style.css +598 -0
  1269. package/lib/password-input/style/style.min.css +1 -0
  1270. package/lib/print/index.js +21 -0
  1271. package/lib/print/index.min.js +1 -0
  1272. package/lib/print/src/page-break.js +76 -0
  1273. package/lib/print/src/page-break.min.js +1 -0
  1274. package/lib/print/src/print.js +258 -0
  1275. package/lib/print/src/print.min.js +1 -0
  1276. package/lib/print/src/util.js +239 -0
  1277. package/lib/print/src/util.min.js +1 -0
  1278. package/lib/print/style/index.js +1 -0
  1279. package/lib/print/style/style.css +4 -0
  1280. package/lib/print/style/style.min.css +1 -0
  1281. package/lib/print-page-break/index.js +17 -0
  1282. package/lib/print-page-break/index.min.js +1 -0
  1283. package/lib/print-page-break/style/index.js +1 -0
  1284. package/lib/print-page-break/style/style.css +0 -0
  1285. package/lib/print-page-break/style/style.min.css +0 -0
  1286. package/lib/pulldown/index.js +19 -0
  1287. package/lib/pulldown/index.min.js +1 -0
  1288. package/lib/pulldown/src/pulldown.js +522 -0
  1289. package/lib/pulldown/src/pulldown.min.js +1 -0
  1290. package/lib/pulldown/style/index.js +1 -0
  1291. package/lib/pulldown/style/style.css +109 -0
  1292. package/lib/pulldown/style/style.min.css +1 -0
  1293. package/lib/radio/index.js +19 -0
  1294. package/lib/radio/index.min.js +1 -0
  1295. package/lib/radio/src/button.js +263 -0
  1296. package/lib/radio/src/button.min.js +1 -0
  1297. package/lib/radio/src/group.js +283 -0
  1298. package/lib/radio/src/group.min.js +1 -0
  1299. package/lib/radio/src/radio.js +252 -0
  1300. package/lib/radio/src/radio.min.js +1 -0
  1301. package/lib/radio/style/index.js +1 -0
  1302. package/lib/radio/style/style.css +108 -0
  1303. package/lib/radio/style/style.min.css +1 -0
  1304. package/lib/radio-button/index.js +19 -0
  1305. package/lib/radio-button/index.min.js +1 -0
  1306. package/lib/radio-button/style/index.js +1 -0
  1307. package/lib/radio-button/style/style.css +202 -0
  1308. package/lib/radio-button/style/style.min.css +1 -0
  1309. package/lib/radio-group/index.js +19 -0
  1310. package/lib/radio-group/index.min.js +1 -0
  1311. package/lib/radio-group/style/index.js +1 -0
  1312. package/lib/radio-group/style/style.css +0 -0
  1313. package/lib/radio-group/style/style.min.css +0 -0
  1314. package/lib/rate/index.js +19 -0
  1315. package/lib/rate/index.min.js +1 -0
  1316. package/lib/rate/src/rate.js +187 -0
  1317. package/lib/rate/src/rate.min.js +1 -0
  1318. package/lib/rate/style/index.js +1 -0
  1319. package/lib/rate/style/style.css +54 -0
  1320. package/lib/rate/style/style.min.css +1 -0
  1321. package/lib/result/index.js +19 -0
  1322. package/lib/result/index.min.js +1 -0
  1323. package/lib/result/src/result.js +88 -0
  1324. package/lib/result/src/result.min.js +1 -0
  1325. package/lib/result/style/index.js +1 -0
  1326. package/lib/result/style/style.css +68 -0
  1327. package/lib/result/style/style.min.css +1 -0
  1328. package/lib/row/index.js +19 -0
  1329. package/lib/row/index.min.js +1 -0
  1330. package/lib/row/src/col.js +138 -0
  1331. package/lib/row/src/col.min.js +1 -0
  1332. package/lib/row/src/row.js +122 -0
  1333. package/lib/row/src/row.min.js +1 -0
  1334. package/lib/row/style/index.js +1 -0
  1335. package/lib/row/style/style.css +116 -0
  1336. package/lib/row/style/style.min.css +1 -0
  1337. package/lib/segmented/index.js +19 -0
  1338. package/lib/segmented/index.min.js +1 -0
  1339. package/lib/segmented/src/segmented.js +260 -0
  1340. package/lib/segmented/src/segmented.min.js +1 -0
  1341. package/lib/segmented/style/index.js +1 -0
  1342. package/lib/segmented/style/style.css +197 -0
  1343. package/lib/segmented/style/style.min.css +1 -0
  1344. package/lib/select/index.js +19 -0
  1345. package/lib/select/index.min.js +1 -0
  1346. package/lib/select/src/optgroup.js +98 -0
  1347. package/lib/select/src/optgroup.min.js +1 -0
  1348. package/lib/select/src/option-info.js +33 -0
  1349. package/lib/select/src/option-info.min.js +1 -0
  1350. package/lib/select/src/option.js +94 -0
  1351. package/lib/select/src/option.min.js +1 -0
  1352. package/lib/select/src/select.js +2112 -0
  1353. package/lib/select/src/select.min.js +1 -0
  1354. package/lib/select/src/util.js +51 -0
  1355. package/lib/select/src/util.min.js +1 -0
  1356. package/lib/select/style/index.js +1 -0
  1357. package/lib/select/style/style.css +370 -0
  1358. package/lib/select/style/style.min.css +1 -0
  1359. package/lib/slider/index.js +19 -0
  1360. package/lib/slider/index.min.js +1 -0
  1361. package/lib/slider/src/slider.js +336 -0
  1362. package/lib/slider/src/slider.min.js +1 -0
  1363. package/lib/slider/style/index.js +1 -0
  1364. package/lib/slider/style/style.css +143 -0
  1365. package/lib/slider/style/style.min.css +1 -0
  1366. package/lib/split/index.js +19 -0
  1367. package/lib/split/index.min.js +1 -0
  1368. package/lib/split/style/index.js +1 -0
  1369. package/lib/split/style/style.css +295 -0
  1370. package/lib/split/style/style.min.css +1 -0
  1371. package/lib/split-pane/index.js +20 -0
  1372. package/lib/split-pane/index.min.js +1 -0
  1373. package/lib/split-pane/style/index.js +1 -0
  1374. package/lib/split-pane/style/style.css +0 -0
  1375. package/lib/split-pane/style/style.min.css +0 -0
  1376. package/lib/splitter/index.js +19 -0
  1377. package/lib/splitter/index.min.js +1 -0
  1378. package/lib/splitter/src/splitter-panel.js +161 -0
  1379. package/lib/splitter/src/splitter-panel.min.js +1 -0
  1380. package/lib/splitter/src/splitter.js +1036 -0
  1381. package/lib/splitter/src/splitter.min.js +1 -0
  1382. package/lib/splitter/src/util.js +27 -0
  1383. package/lib/splitter/src/util.min.js +1 -0
  1384. package/lib/splitter/style/index.js +1 -0
  1385. package/lib/splitter/style/style.css +295 -0
  1386. package/lib/splitter/style/style.min.css +1 -0
  1387. package/lib/splitter-panel/index.js +19 -0
  1388. package/lib/splitter-panel/index.min.js +1 -0
  1389. package/lib/splitter-panel/style/index.js +1 -0
  1390. package/lib/splitter-panel/style/style.css +0 -0
  1391. package/lib/splitter-panel/style/style.min.css +0 -0
  1392. package/lib/steps/index.js +19 -0
  1393. package/lib/steps/index.min.js +1 -0
  1394. package/lib/steps/src/steps.js +58 -0
  1395. package/lib/steps/src/steps.min.js +1 -0
  1396. package/lib/steps/style/index.js +1 -0
  1397. package/lib/steps/style/style.css +0 -0
  1398. package/lib/steps/style/style.min.css +0 -0
  1399. package/lib/style.css +1 -0
  1400. package/lib/style.min.css +1 -0
  1401. package/lib/switch/index.js +19 -0
  1402. package/lib/switch/index.min.js +1 -0
  1403. package/lib/switch/src/switch.js +256 -0
  1404. package/lib/switch/src/switch.min.js +1 -0
  1405. package/lib/switch/style/index.js +1 -0
  1406. package/lib/switch/style/style.css +111 -0
  1407. package/lib/switch/style/style.min.css +1 -0
  1408. package/lib/tab-pane/index.js +19 -0
  1409. package/lib/tab-pane/index.min.js +1 -0
  1410. package/lib/tab-pane/style/index.js +1 -0
  1411. package/lib/tab-pane/style/style.css +0 -0
  1412. package/lib/tab-pane/style/style.min.css +0 -0
  1413. package/lib/table-select/index.js +19 -0
  1414. package/lib/table-select/index.min.js +1 -0
  1415. package/lib/table-select/src/table-select.js +871 -0
  1416. package/lib/table-select/src/table-select.min.js +1 -0
  1417. package/lib/table-select/style/index.js +1 -0
  1418. package/lib/table-select/style/style.css +134 -0
  1419. package/lib/table-select/style/style.min.css +1 -0
  1420. package/lib/table-transfer/index.js +19 -0
  1421. package/lib/table-transfer/index.min.js +1 -0
  1422. package/lib/table-transfer/src/table-transfer.js +84 -0
  1423. package/lib/table-transfer/src/table-transfer.min.js +1 -0
  1424. package/lib/table-transfer/style/index.js +1 -0
  1425. package/lib/table-transfer/style/style.css +0 -0
  1426. package/lib/table-transfer/style/style.min.css +0 -0
  1427. package/lib/tabs/index.js +19 -0
  1428. package/lib/tabs/index.min.js +1 -0
  1429. package/lib/tabs/src/tab-pane.js +129 -0
  1430. package/lib/tabs/src/tab-pane.min.js +1 -0
  1431. package/lib/tabs/src/tabs.js +1031 -0
  1432. package/lib/tabs/src/tabs.min.js +1 -0
  1433. package/lib/tabs/src/util.js +29 -0
  1434. package/lib/tabs/src/util.min.js +1 -0
  1435. package/lib/tabs/style/index.js +1 -0
  1436. package/lib/tabs/style/style.css +705 -0
  1437. package/lib/tabs/style/style.min.css +1 -0
  1438. package/lib/tag/index.js +19 -0
  1439. package/lib/tag/index.min.js +1 -0
  1440. package/lib/tag/src/tag.js +183 -0
  1441. package/lib/tag/src/tag.min.js +1 -0
  1442. package/lib/tag/style/index.js +1 -0
  1443. package/lib/tag/style/style.css +187 -0
  1444. package/lib/tag/style/style.min.css +1 -0
  1445. package/lib/text/index.js +19 -0
  1446. package/lib/text/index.min.js +1 -0
  1447. package/lib/text/src/text.js +244 -0
  1448. package/lib/text/src/text.min.js +1 -0
  1449. package/lib/text/style/index.js +1 -0
  1450. package/lib/text/style/style.css +138 -0
  1451. package/lib/text/style/style.min.css +1 -0
  1452. package/lib/text-ellipsis/index.js +19 -0
  1453. package/lib/text-ellipsis/index.min.js +1 -0
  1454. package/lib/text-ellipsis/src/text-ellipsis.js +282 -0
  1455. package/lib/text-ellipsis/src/text-ellipsis.min.js +1 -0
  1456. package/lib/text-ellipsis/style/index.js +1 -0
  1457. package/lib/text-ellipsis/style/style.css +115 -0
  1458. package/lib/text-ellipsis/style/style.min.css +1 -0
  1459. package/lib/textarea/index.js +19 -0
  1460. package/lib/textarea/index.min.js +1 -0
  1461. package/lib/textarea/src/textarea.js +491 -0
  1462. package/lib/textarea/src/textarea.min.js +1 -0
  1463. package/lib/textarea/style/index.js +1 -0
  1464. package/lib/textarea/style/style.css +119 -0
  1465. package/lib/textarea/style/style.min.css +1 -0
  1466. package/lib/timeline/index.js +19 -0
  1467. package/lib/timeline/index.min.js +1 -0
  1468. package/lib/timeline/src/timeline-item.js +45 -0
  1469. package/lib/timeline/src/timeline-item.min.js +1 -0
  1470. package/lib/timeline/src/timeline.js +54 -0
  1471. package/lib/timeline/src/timeline.min.js +1 -0
  1472. package/lib/timeline/style/index.js +1 -0
  1473. package/lib/timeline/style/style.css +0 -0
  1474. package/lib/timeline/style/style.min.css +0 -0
  1475. package/lib/timeline-item/index.js +19 -0
  1476. package/lib/timeline-item/index.min.js +1 -0
  1477. package/lib/timeline-item/style/index.js +1 -0
  1478. package/lib/timeline-item/style/style.css +0 -0
  1479. package/lib/timeline-item/style/style.min.css +0 -0
  1480. package/lib/tip/index.js +21 -0
  1481. package/lib/tip/index.min.js +1 -0
  1482. package/lib/tip/src/tip.js +102 -0
  1483. package/lib/tip/src/tip.min.js +1 -0
  1484. package/lib/tip/style/index.js +1 -0
  1485. package/lib/tip/style/style.css +107 -0
  1486. package/lib/tip/style/style.min.css +1 -0
  1487. package/lib/tooltip/index.js +19 -0
  1488. package/lib/tooltip/index.min.js +1 -0
  1489. package/lib/tooltip/src/tooltip.js +721 -0
  1490. package/lib/tooltip/src/tooltip.min.js +1 -0
  1491. package/lib/tooltip/style/index.js +1 -0
  1492. package/lib/tooltip/style/style.css +117 -0
  1493. package/lib/tooltip/style/style.min.css +1 -0
  1494. package/lib/tour/index.js +19 -0
  1495. package/lib/tour/index.min.js +1 -0
  1496. package/lib/tour/src/tour.js +54 -0
  1497. package/lib/tour/src/tour.min.js +1 -0
  1498. package/lib/tour/style/index.js +1 -0
  1499. package/lib/tour/style/style.css +0 -0
  1500. package/lib/tour/style/style.min.css +0 -0
  1501. package/lib/transfer/index.js +19 -0
  1502. package/lib/transfer/index.min.js +1 -0
  1503. package/lib/transfer/src/transfer.js +93 -0
  1504. package/lib/transfer/src/transfer.min.js +1 -0
  1505. package/lib/transfer/style/index.js +1 -0
  1506. package/lib/transfer/style/style.css +0 -0
  1507. package/lib/transfer/style/style.min.css +0 -0
  1508. package/lib/tree/index.js +19 -0
  1509. package/lib/tree/index.min.js +1 -0
  1510. package/lib/tree/src/store.js +15 -0
  1511. package/lib/tree/src/store.min.js +1 -0
  1512. package/lib/tree/src/tree.js +3952 -0
  1513. package/lib/tree/src/tree.min.js +1 -0
  1514. package/lib/tree/src/util.js +53 -0
  1515. package/lib/tree/src/util.min.js +1 -0
  1516. package/lib/tree/style/index.js +1 -0
  1517. package/lib/tree/style/style.css +385 -0
  1518. package/lib/tree/style/style.min.css +1 -0
  1519. package/lib/tree-select/index.js +19 -0
  1520. package/lib/tree-select/index.min.js +1 -0
  1521. package/lib/tree-select/src/tree-select.js +1205 -0
  1522. package/lib/tree-select/src/tree-select.min.js +1 -0
  1523. package/lib/tree-select/style/index.js +1 -0
  1524. package/lib/tree-select/style/style.css +194 -0
  1525. package/lib/tree-select/style/style.min.css +1 -0
  1526. package/lib/ui/index.js +719 -0
  1527. package/lib/ui/index.min.js +1 -0
  1528. package/lib/ui/src/anime.js +64 -0
  1529. package/lib/ui/src/anime.min.js +1 -0
  1530. package/lib/ui/src/comp.js +9 -0
  1531. package/lib/ui/src/comp.min.js +1 -0
  1532. package/lib/ui/src/dom.js +304 -0
  1533. package/lib/ui/src/dom.min.js +1 -0
  1534. package/lib/ui/src/log.js +22 -0
  1535. package/lib/ui/src/log.min.js +1 -0
  1536. package/lib/ui/src/utils.js +70 -0
  1537. package/lib/ui/src/utils.min.js +1 -0
  1538. package/lib/ui/src/vn.js +63 -0
  1539. package/lib/ui/src/vn.min.js +1 -0
  1540. package/lib/ui/style/index.js +1 -0
  1541. package/lib/ui/style/style.css +0 -0
  1542. package/lib/ui/style/style.min.css +0 -0
  1543. package/lib/upload/index.js +22 -0
  1544. package/lib/upload/index.min.js +1 -0
  1545. package/lib/upload/src/upload.js +2174 -0
  1546. package/lib/upload/src/upload.min.js +1 -0
  1547. package/lib/upload/src/util.js +130 -0
  1548. package/lib/upload/src/util.min.js +1 -0
  1549. package/lib/upload/style/index.js +1 -0
  1550. package/lib/upload/style/style.css +483 -0
  1551. package/lib/upload/style/style.min.css +1 -0
  1552. package/lib/vxe-alert/index.js +22 -0
  1553. package/lib/vxe-alert/index.min.js +1 -0
  1554. package/lib/vxe-alert/style/index.js +1 -0
  1555. package/lib/vxe-alert/style/style.css +129 -0
  1556. package/lib/vxe-alert/style/style.min.css +1 -0
  1557. package/lib/vxe-anchor/index.js +22 -0
  1558. package/lib/vxe-anchor/index.min.js +1 -0
  1559. package/lib/vxe-anchor/style/index.js +1 -0
  1560. package/lib/vxe-anchor/style/style.css +42 -0
  1561. package/lib/vxe-anchor/style/style.min.css +1 -0
  1562. package/lib/vxe-anchor-link/index.js +22 -0
  1563. package/lib/vxe-anchor-link/index.min.js +1 -0
  1564. package/lib/vxe-anchor-link/style/index.js +1 -0
  1565. package/lib/vxe-anchor-link/style/style.css +0 -0
  1566. package/lib/vxe-anchor-link/style/style.min.css +0 -0
  1567. package/lib/vxe-avatar/index.js +22 -0
  1568. package/lib/vxe-avatar/index.min.js +1 -0
  1569. package/lib/vxe-avatar/style/index.js +1 -0
  1570. package/lib/vxe-avatar/style/style.css +98 -0
  1571. package/lib/vxe-avatar/style/style.min.css +1 -0
  1572. package/lib/vxe-backtop/index.js +22 -0
  1573. package/lib/vxe-backtop/index.min.js +1 -0
  1574. package/lib/vxe-backtop/style/index.js +1 -0
  1575. package/lib/vxe-backtop/style/style.css +72 -0
  1576. package/lib/vxe-backtop/style/style.min.css +1 -0
  1577. package/lib/vxe-badge/index.js +22 -0
  1578. package/lib/vxe-badge/index.min.js +1 -0
  1579. package/lib/vxe-badge/style/index.js +1 -0
  1580. package/lib/vxe-badge/style/style.css +42 -0
  1581. package/lib/vxe-badge/style/style.min.css +1 -0
  1582. package/lib/vxe-breadcrumb/index.js +22 -0
  1583. package/lib/vxe-breadcrumb/index.min.js +1 -0
  1584. package/lib/vxe-breadcrumb/style/index.js +1 -0
  1585. package/lib/vxe-breadcrumb/style/style.css +33 -0
  1586. package/lib/vxe-breadcrumb/style/style.min.css +1 -0
  1587. package/lib/vxe-breadcrumb-item/index.js +22 -0
  1588. package/lib/vxe-breadcrumb-item/index.min.js +1 -0
  1589. package/lib/vxe-breadcrumb-item/style/index.js +1 -0
  1590. package/lib/vxe-breadcrumb-item/style/style.css +0 -0
  1591. package/lib/vxe-breadcrumb-item/style/style.min.css +0 -0
  1592. package/lib/vxe-button/index.js +22 -0
  1593. package/lib/vxe-button/index.min.js +1 -0
  1594. package/lib/vxe-button/style/index.js +1 -0
  1595. package/lib/vxe-button/style/style.css +638 -0
  1596. package/lib/vxe-button/style/style.min.css +1 -0
  1597. package/lib/vxe-button-group/index.js +22 -0
  1598. package/lib/vxe-button-group/index.min.js +1 -0
  1599. package/lib/vxe-button-group/style/index.js +1 -0
  1600. package/lib/vxe-button-group/style/style.css +27 -0
  1601. package/lib/vxe-button-group/style/style.min.css +1 -0
  1602. package/lib/vxe-calendar/index.js +22 -0
  1603. package/lib/vxe-calendar/index.min.js +1 -0
  1604. package/lib/vxe-calendar/style/index.js +1 -0
  1605. package/lib/vxe-calendar/style/style.css +350 -0
  1606. package/lib/vxe-calendar/style/style.min.css +1 -0
  1607. package/lib/vxe-card/index.js +22 -0
  1608. package/lib/vxe-card/index.min.js +1 -0
  1609. package/lib/vxe-card/style/index.js +1 -0
  1610. package/lib/vxe-card/style/style.css +107 -0
  1611. package/lib/vxe-card/style/style.min.css +1 -0
  1612. package/lib/vxe-carousel/index.js +22 -0
  1613. package/lib/vxe-carousel/index.min.js +1 -0
  1614. package/lib/vxe-carousel/style/index.js +1 -0
  1615. package/lib/vxe-carousel/style/style.css +185 -0
  1616. package/lib/vxe-carousel/style/style.min.css +1 -0
  1617. package/lib/vxe-carousel-item/index.js +22 -0
  1618. package/lib/vxe-carousel-item/index.min.js +1 -0
  1619. package/lib/vxe-carousel-item/style/index.js +1 -0
  1620. package/lib/vxe-carousel-item/style/style.css +0 -0
  1621. package/lib/vxe-carousel-item/style/style.min.css +0 -0
  1622. package/lib/vxe-cascader/index.js +22 -0
  1623. package/lib/vxe-cascader/index.min.js +1 -0
  1624. package/lib/vxe-cascader/style/index.js +1 -0
  1625. package/lib/vxe-cascader/style/style.css +346 -0
  1626. package/lib/vxe-cascader/style/style.min.css +1 -0
  1627. package/lib/vxe-checkbox/index.js +22 -0
  1628. package/lib/vxe-checkbox/index.min.js +1 -0
  1629. package/lib/vxe-checkbox/style/index.js +1 -0
  1630. package/lib/vxe-checkbox/style/style.css +113 -0
  1631. package/lib/vxe-checkbox/style/style.min.css +1 -0
  1632. package/lib/vxe-checkbox-button/index.js +22 -0
  1633. package/lib/vxe-checkbox-button/index.min.js +1 -0
  1634. package/lib/vxe-checkbox-button/style/index.js +1 -0
  1635. package/lib/vxe-checkbox-button/style/style.css +202 -0
  1636. package/lib/vxe-checkbox-button/style/style.min.css +1 -0
  1637. package/lib/vxe-checkbox-group/index.js +22 -0
  1638. package/lib/vxe-checkbox-group/index.min.js +1 -0
  1639. package/lib/vxe-checkbox-group/style/index.js +1 -0
  1640. package/lib/vxe-checkbox-group/style/style.css +0 -0
  1641. package/lib/vxe-checkbox-group/style/style.min.css +0 -0
  1642. package/lib/vxe-col/index.js +22 -0
  1643. package/lib/vxe-col/index.min.js +1 -0
  1644. package/lib/vxe-col/style/index.js +1 -0
  1645. package/lib/vxe-col/style/style.css +0 -0
  1646. package/lib/vxe-col/style/style.min.css +0 -0
  1647. package/lib/vxe-collapse/index.js +22 -0
  1648. package/lib/vxe-collapse/index.min.js +1 -0
  1649. package/lib/vxe-collapse/style/index.js +1 -0
  1650. package/lib/vxe-collapse/style/style.css +83 -0
  1651. package/lib/vxe-collapse/style/style.min.css +1 -0
  1652. package/lib/vxe-collapse-pane/index.js +22 -0
  1653. package/lib/vxe-collapse-pane/index.min.js +1 -0
  1654. package/lib/vxe-collapse-pane/style/index.js +1 -0
  1655. package/lib/vxe-collapse-pane/style/style.css +0 -0
  1656. package/lib/vxe-collapse-pane/style/style.min.css +0 -0
  1657. package/lib/vxe-color-picker/index.js +22 -0
  1658. package/lib/vxe-color-picker/index.min.js +1 -0
  1659. package/lib/vxe-color-picker/style/index.js +1 -0
  1660. package/lib/vxe-color-picker/style/style.css +485 -0
  1661. package/lib/vxe-color-picker/style/style.min.css +1 -0
  1662. package/lib/vxe-context-menu/index.js +22 -0
  1663. package/lib/vxe-context-menu/index.min.js +1 -0
  1664. package/lib/vxe-context-menu/style/index.js +1 -0
  1665. package/lib/vxe-context-menu/style/style.css +109 -0
  1666. package/lib/vxe-context-menu/style/style.min.css +1 -0
  1667. package/lib/vxe-countdown/index.js +22 -0
  1668. package/lib/vxe-countdown/index.min.js +1 -0
  1669. package/lib/vxe-countdown/style/index.js +1 -0
  1670. package/lib/vxe-countdown/style/style.css +38 -0
  1671. package/lib/vxe-countdown/style/style.min.css +1 -0
  1672. package/lib/vxe-date-panel/index.js +22 -0
  1673. package/lib/vxe-date-panel/index.min.js +1 -0
  1674. package/lib/vxe-date-panel/style/index.js +1 -0
  1675. package/lib/vxe-date-panel/style/style.css +453 -0
  1676. package/lib/vxe-date-panel/style/style.min.css +1 -0
  1677. package/lib/vxe-date-picker/index.js +22 -0
  1678. package/lib/vxe-date-picker/index.min.js +1 -0
  1679. package/lib/vxe-date-picker/style/index.js +1 -0
  1680. package/lib/vxe-date-picker/style/style.css +283 -0
  1681. package/lib/vxe-date-picker/style/style.min.css +1 -0
  1682. package/lib/vxe-date-range-picker/index.js +22 -0
  1683. package/lib/vxe-date-range-picker/index.min.js +1 -0
  1684. package/lib/vxe-date-range-picker/style/index.js +1 -0
  1685. package/lib/vxe-date-range-picker/style/style.css +289 -0
  1686. package/lib/vxe-date-range-picker/style/style.min.css +1 -0
  1687. package/lib/vxe-drawer/index.js +22 -0
  1688. package/lib/vxe-drawer/index.min.js +1 -0
  1689. package/lib/vxe-drawer/style/index.js +1 -0
  1690. package/lib/vxe-drawer/style/style.css +270 -0
  1691. package/lib/vxe-drawer/style/style.min.css +1 -0
  1692. package/lib/vxe-empty/index.js +22 -0
  1693. package/lib/vxe-empty/index.min.js +1 -0
  1694. package/lib/vxe-empty/style/index.js +1 -0
  1695. package/lib/vxe-empty/style/style.css +54 -0
  1696. package/lib/vxe-empty/style/style.min.css +1 -0
  1697. package/lib/vxe-form/index.js +22 -0
  1698. package/lib/vxe-form/index.min.js +1 -0
  1699. package/lib/vxe-form/style/index.js +1 -0
  1700. package/lib/vxe-form/style/style.css +621 -0
  1701. package/lib/vxe-form/style/style.min.css +1 -0
  1702. package/lib/vxe-form-gather/index.js +22 -0
  1703. package/lib/vxe-form-gather/index.min.js +1 -0
  1704. package/lib/vxe-form-gather/style/index.js +1 -0
  1705. package/lib/vxe-form-gather/style/style.css +0 -0
  1706. package/lib/vxe-form-gather/style/style.min.css +0 -0
  1707. package/lib/vxe-form-group/index.js +22 -0
  1708. package/lib/vxe-form-group/index.min.js +1 -0
  1709. package/lib/vxe-form-group/style/index.js +1 -0
  1710. package/lib/vxe-form-group/style/style.css +0 -0
  1711. package/lib/vxe-form-group/style/style.min.css +0 -0
  1712. package/lib/vxe-form-item/index.js +22 -0
  1713. package/lib/vxe-form-item/index.min.js +1 -0
  1714. package/lib/vxe-form-item/style/index.js +1 -0
  1715. package/lib/vxe-form-item/style/style.css +0 -0
  1716. package/lib/vxe-form-item/style/style.min.css +0 -0
  1717. package/lib/vxe-icon/index.js +22 -0
  1718. package/lib/vxe-icon/index.min.js +1 -0
  1719. package/lib/vxe-icon/style/index.js +1 -0
  1720. package/lib/vxe-icon/style/style.css +1034 -0
  1721. package/lib/vxe-icon/style/style.min.css +1 -0
  1722. package/lib/vxe-icon-picker/index.js +22 -0
  1723. package/lib/vxe-icon-picker/index.min.js +1 -0
  1724. package/lib/vxe-icon-picker/style/index.js +1 -0
  1725. package/lib/vxe-icon-picker/style/style.css +242 -0
  1726. package/lib/vxe-icon-picker/style/style.min.css +1 -0
  1727. package/lib/vxe-image/index.js +22 -0
  1728. package/lib/vxe-image/index.min.js +1 -0
  1729. package/lib/vxe-image/style/index.js +1 -0
  1730. package/lib/vxe-image/style/style.css +17 -0
  1731. package/lib/vxe-image/style/style.min.css +1 -0
  1732. package/lib/vxe-image-group/index.js +22 -0
  1733. package/lib/vxe-image-group/index.min.js +1 -0
  1734. package/lib/vxe-image-group/style/index.js +1 -0
  1735. package/lib/vxe-image-group/style/style.css +3 -0
  1736. package/lib/vxe-image-group/style/style.min.css +1 -0
  1737. package/lib/vxe-image-preview/index.js +22 -0
  1738. package/lib/vxe-image-preview/index.min.js +1 -0
  1739. package/lib/vxe-image-preview/style/index.js +1 -0
  1740. package/lib/vxe-image-preview/style/style.css +218 -0
  1741. package/lib/vxe-image-preview/style/style.min.css +1 -0
  1742. package/lib/vxe-input/index.js +22 -0
  1743. package/lib/vxe-input/index.min.js +1 -0
  1744. package/lib/vxe-input/style/index.js +1 -0
  1745. package/lib/vxe-input/style/style.css +1025 -0
  1746. package/lib/vxe-input/style/style.min.css +1 -0
  1747. package/lib/vxe-layout-aside/index.js +22 -0
  1748. package/lib/vxe-layout-aside/index.min.js +1 -0
  1749. package/lib/vxe-layout-aside/style/index.js +1 -0
  1750. package/lib/vxe-layout-aside/style/style.css +26 -0
  1751. package/lib/vxe-layout-aside/style/style.min.css +1 -0
  1752. package/lib/vxe-layout-body/index.js +22 -0
  1753. package/lib/vxe-layout-body/index.min.js +1 -0
  1754. package/lib/vxe-layout-body/style/index.js +1 -0
  1755. package/lib/vxe-layout-body/style/style.css +16 -0
  1756. package/lib/vxe-layout-body/style/style.min.css +1 -0
  1757. package/lib/vxe-layout-container/index.js +22 -0
  1758. package/lib/vxe-layout-container/index.min.js +1 -0
  1759. package/lib/vxe-layout-container/style/index.js +1 -0
  1760. package/lib/vxe-layout-container/style/style.css +28 -0
  1761. package/lib/vxe-layout-container/style/style.min.css +1 -0
  1762. package/lib/vxe-layout-footer/index.js +22 -0
  1763. package/lib/vxe-layout-footer/index.min.js +1 -0
  1764. package/lib/vxe-layout-footer/style/index.js +1 -0
  1765. package/lib/vxe-layout-footer/style/style.css +14 -0
  1766. package/lib/vxe-layout-footer/style/style.min.css +1 -0
  1767. package/lib/vxe-layout-header/index.js +22 -0
  1768. package/lib/vxe-layout-header/index.min.js +1 -0
  1769. package/lib/vxe-layout-header/style/index.js +1 -0
  1770. package/lib/vxe-layout-header/style/style.css +11 -0
  1771. package/lib/vxe-layout-header/style/style.min.css +1 -0
  1772. package/lib/vxe-link/index.js +22 -0
  1773. package/lib/vxe-link/index.min.js +1 -0
  1774. package/lib/vxe-link/style/index.js +1 -0
  1775. package/lib/vxe-link/style/style.css +111 -0
  1776. package/lib/vxe-link/style/style.min.css +1 -0
  1777. package/lib/vxe-list/index.js +22 -0
  1778. package/lib/vxe-list/index.min.js +1 -0
  1779. package/lib/vxe-list/style/index.js +1 -0
  1780. package/lib/vxe-list/style/style.css +379 -0
  1781. package/lib/vxe-list/style/style.min.css +1 -0
  1782. package/lib/vxe-loading/index.js +22 -0
  1783. package/lib/vxe-loading/index.min.js +1 -0
  1784. package/lib/vxe-loading/style/index.js +1 -0
  1785. package/lib/vxe-loading/style/style.css +120 -0
  1786. package/lib/vxe-loading/style/style.min.css +1 -0
  1787. package/lib/vxe-mention/index.js +22 -0
  1788. package/lib/vxe-mention/index.min.js +1 -0
  1789. package/lib/vxe-mention/style/index.js +1 -0
  1790. package/lib/vxe-mention/style/style.css +0 -0
  1791. package/lib/vxe-mention/style/style.min.css +0 -0
  1792. package/lib/vxe-menu/index.js +22 -0
  1793. package/lib/vxe-menu/index.min.js +1 -0
  1794. package/lib/vxe-menu/style/index.js +1 -0
  1795. package/lib/vxe-menu/style/style.css +140 -0
  1796. package/lib/vxe-menu/style/style.min.css +1 -0
  1797. package/lib/vxe-modal/index.js +22 -0
  1798. package/lib/vxe-modal/index.min.js +1 -0
  1799. package/lib/vxe-modal/style/index.js +1 -0
  1800. package/lib/vxe-modal/style/style.css +415 -0
  1801. package/lib/vxe-modal/style/style.min.css +1 -0
  1802. package/lib/vxe-notice-bar/index.js +22 -0
  1803. package/lib/vxe-notice-bar/index.min.js +1 -0
  1804. package/lib/vxe-notice-bar/style/index.js +1 -0
  1805. package/lib/vxe-notice-bar/style/style.css +78 -0
  1806. package/lib/vxe-notice-bar/style/style.min.css +1 -0
  1807. package/lib/vxe-number-input/index.js +22 -0
  1808. package/lib/vxe-number-input/index.min.js +1 -0
  1809. package/lib/vxe-number-input/style/index.js +1 -0
  1810. package/lib/vxe-number-input/style/style.css +274 -0
  1811. package/lib/vxe-number-input/style/style.min.css +1 -0
  1812. package/lib/vxe-optgroup/index.js +22 -0
  1813. package/lib/vxe-optgroup/index.min.js +1 -0
  1814. package/lib/vxe-optgroup/style/index.js +1 -0
  1815. package/lib/vxe-optgroup/style/style.css +0 -0
  1816. package/lib/vxe-optgroup/style/style.min.css +0 -0
  1817. package/lib/vxe-option/index.js +22 -0
  1818. package/lib/vxe-option/index.min.js +1 -0
  1819. package/lib/vxe-option/style/index.js +1 -0
  1820. package/lib/vxe-option/style/style.css +0 -0
  1821. package/lib/vxe-option/style/style.min.css +0 -0
  1822. package/lib/vxe-pager/index.js +22 -0
  1823. package/lib/vxe-pager/index.min.js +1 -0
  1824. package/lib/vxe-pager/style/index.js +1 -0
  1825. package/lib/vxe-pager/style/style.css +341 -0
  1826. package/lib/vxe-pager/style/style.min.css +1 -0
  1827. package/lib/vxe-password-input/index.js +22 -0
  1828. package/lib/vxe-password-input/index.min.js +1 -0
  1829. package/lib/vxe-password-input/style/index.js +1 -0
  1830. package/lib/vxe-password-input/style/style.css +598 -0
  1831. package/lib/vxe-password-input/style/style.min.css +1 -0
  1832. package/lib/vxe-print/index.js +22 -0
  1833. package/lib/vxe-print/index.min.js +1 -0
  1834. package/lib/vxe-print/style/index.js +1 -0
  1835. package/lib/vxe-print/style/style.css +4 -0
  1836. package/lib/vxe-print/style/style.min.css +1 -0
  1837. package/lib/vxe-print-page-break/index.js +22 -0
  1838. package/lib/vxe-print-page-break/index.min.js +1 -0
  1839. package/lib/vxe-print-page-break/style/index.js +1 -0
  1840. package/lib/vxe-print-page-break/style/style.css +0 -0
  1841. package/lib/vxe-print-page-break/style/style.min.css +0 -0
  1842. package/lib/vxe-pulldown/index.js +22 -0
  1843. package/lib/vxe-pulldown/index.min.js +1 -0
  1844. package/lib/vxe-pulldown/style/index.js +1 -0
  1845. package/lib/vxe-pulldown/style/style.css +109 -0
  1846. package/lib/vxe-pulldown/style/style.min.css +1 -0
  1847. package/lib/vxe-radio/index.js +22 -0
  1848. package/lib/vxe-radio/index.min.js +1 -0
  1849. package/lib/vxe-radio/style/index.js +1 -0
  1850. package/lib/vxe-radio/style/style.css +108 -0
  1851. package/lib/vxe-radio/style/style.min.css +1 -0
  1852. package/lib/vxe-radio-button/index.js +22 -0
  1853. package/lib/vxe-radio-button/index.min.js +1 -0
  1854. package/lib/vxe-radio-button/style/index.js +1 -0
  1855. package/lib/vxe-radio-button/style/style.css +202 -0
  1856. package/lib/vxe-radio-button/style/style.min.css +1 -0
  1857. package/lib/vxe-radio-group/index.js +22 -0
  1858. package/lib/vxe-radio-group/index.min.js +1 -0
  1859. package/lib/vxe-radio-group/style/index.js +1 -0
  1860. package/lib/vxe-radio-group/style/style.css +0 -0
  1861. package/lib/vxe-radio-group/style/style.min.css +0 -0
  1862. package/lib/vxe-rate/index.js +22 -0
  1863. package/lib/vxe-rate/index.min.js +1 -0
  1864. package/lib/vxe-rate/style/index.js +1 -0
  1865. package/lib/vxe-rate/style/style.css +54 -0
  1866. package/lib/vxe-rate/style/style.min.css +1 -0
  1867. package/lib/vxe-result/index.js +22 -0
  1868. package/lib/vxe-result/index.min.js +1 -0
  1869. package/lib/vxe-result/style/index.js +1 -0
  1870. package/lib/vxe-result/style/style.css +68 -0
  1871. package/lib/vxe-result/style/style.min.css +1 -0
  1872. package/lib/vxe-row/index.js +22 -0
  1873. package/lib/vxe-row/index.min.js +1 -0
  1874. package/lib/vxe-row/style/index.js +1 -0
  1875. package/lib/vxe-row/style/style.css +116 -0
  1876. package/lib/vxe-row/style/style.min.css +1 -0
  1877. package/lib/vxe-segmented/index.js +22 -0
  1878. package/lib/vxe-segmented/index.min.js +1 -0
  1879. package/lib/vxe-segmented/style/index.js +1 -0
  1880. package/lib/vxe-segmented/style/style.css +197 -0
  1881. package/lib/vxe-segmented/style/style.min.css +1 -0
  1882. package/lib/vxe-select/index.js +22 -0
  1883. package/lib/vxe-select/index.min.js +1 -0
  1884. package/lib/vxe-select/style/index.js +1 -0
  1885. package/lib/vxe-select/style/style.css +370 -0
  1886. package/lib/vxe-select/style/style.min.css +1 -0
  1887. package/lib/vxe-slider/index.js +22 -0
  1888. package/lib/vxe-slider/index.min.js +1 -0
  1889. package/lib/vxe-slider/style/index.js +1 -0
  1890. package/lib/vxe-slider/style/style.css +143 -0
  1891. package/lib/vxe-slider/style/style.min.css +1 -0
  1892. package/lib/vxe-split/index.js +22 -0
  1893. package/lib/vxe-split/index.min.js +1 -0
  1894. package/lib/vxe-split/style/index.js +1 -0
  1895. package/lib/vxe-split/style/style.css +295 -0
  1896. package/lib/vxe-split/style/style.min.css +1 -0
  1897. package/lib/vxe-split-pane/index.js +22 -0
  1898. package/lib/vxe-split-pane/index.min.js +1 -0
  1899. package/lib/vxe-split-pane/style/index.js +1 -0
  1900. package/lib/vxe-split-pane/style/style.css +0 -0
  1901. package/lib/vxe-split-pane/style/style.min.css +0 -0
  1902. package/lib/vxe-splitter/index.js +22 -0
  1903. package/lib/vxe-splitter/index.min.js +1 -0
  1904. package/lib/vxe-splitter/style/index.js +1 -0
  1905. package/lib/vxe-splitter/style/style.css +295 -0
  1906. package/lib/vxe-splitter/style/style.min.css +1 -0
  1907. package/lib/vxe-splitter-panel/index.js +22 -0
  1908. package/lib/vxe-splitter-panel/index.min.js +1 -0
  1909. package/lib/vxe-splitter-panel/style/index.js +1 -0
  1910. package/lib/vxe-splitter-panel/style/style.css +0 -0
  1911. package/lib/vxe-splitter-panel/style/style.min.css +0 -0
  1912. package/lib/vxe-steps/index.js +22 -0
  1913. package/lib/vxe-steps/index.min.js +1 -0
  1914. package/lib/vxe-steps/style/index.js +1 -0
  1915. package/lib/vxe-steps/style/style.css +0 -0
  1916. package/lib/vxe-steps/style/style.min.css +0 -0
  1917. package/lib/vxe-switch/index.js +22 -0
  1918. package/lib/vxe-switch/index.min.js +1 -0
  1919. package/lib/vxe-switch/style/index.js +1 -0
  1920. package/lib/vxe-switch/style/style.css +111 -0
  1921. package/lib/vxe-switch/style/style.min.css +1 -0
  1922. package/lib/vxe-tab-pane/index.js +22 -0
  1923. package/lib/vxe-tab-pane/index.min.js +1 -0
  1924. package/lib/vxe-tab-pane/style/index.js +1 -0
  1925. package/lib/vxe-tab-pane/style/style.css +0 -0
  1926. package/lib/vxe-tab-pane/style/style.min.css +0 -0
  1927. package/lib/vxe-table-select/index.js +22 -0
  1928. package/lib/vxe-table-select/index.min.js +1 -0
  1929. package/lib/vxe-table-select/style/index.js +1 -0
  1930. package/lib/vxe-table-select/style/style.css +134 -0
  1931. package/lib/vxe-table-select/style/style.min.css +1 -0
  1932. package/lib/vxe-table-transfer/index.js +22 -0
  1933. package/lib/vxe-table-transfer/index.min.js +1 -0
  1934. package/lib/vxe-table-transfer/style/index.js +1 -0
  1935. package/lib/vxe-table-transfer/style/style.css +0 -0
  1936. package/lib/vxe-table-transfer/style/style.min.css +0 -0
  1937. package/lib/vxe-tabs/index.js +22 -0
  1938. package/lib/vxe-tabs/index.min.js +1 -0
  1939. package/lib/vxe-tabs/style/index.js +1 -0
  1940. package/lib/vxe-tabs/style/style.css +705 -0
  1941. package/lib/vxe-tabs/style/style.min.css +1 -0
  1942. package/lib/vxe-tag/index.js +22 -0
  1943. package/lib/vxe-tag/index.min.js +1 -0
  1944. package/lib/vxe-tag/style/index.js +1 -0
  1945. package/lib/vxe-tag/style/style.css +187 -0
  1946. package/lib/vxe-tag/style/style.min.css +1 -0
  1947. package/lib/vxe-text/index.js +22 -0
  1948. package/lib/vxe-text/index.min.js +1 -0
  1949. package/lib/vxe-text/style/index.js +1 -0
  1950. package/lib/vxe-text/style/style.css +138 -0
  1951. package/lib/vxe-text/style/style.min.css +1 -0
  1952. package/lib/vxe-text-ellipsis/index.js +22 -0
  1953. package/lib/vxe-text-ellipsis/index.min.js +1 -0
  1954. package/lib/vxe-text-ellipsis/style/index.js +1 -0
  1955. package/lib/vxe-text-ellipsis/style/style.css +115 -0
  1956. package/lib/vxe-text-ellipsis/style/style.min.css +1 -0
  1957. package/lib/vxe-textarea/index.js +22 -0
  1958. package/lib/vxe-textarea/index.min.js +1 -0
  1959. package/lib/vxe-textarea/style/index.js +1 -0
  1960. package/lib/vxe-textarea/style/style.css +119 -0
  1961. package/lib/vxe-textarea/style/style.min.css +1 -0
  1962. package/lib/vxe-timeline/index.js +22 -0
  1963. package/lib/vxe-timeline/index.min.js +1 -0
  1964. package/lib/vxe-timeline/style/index.js +1 -0
  1965. package/lib/vxe-timeline/style/style.css +0 -0
  1966. package/lib/vxe-timeline/style/style.min.css +0 -0
  1967. package/lib/vxe-timeline-item/index.js +22 -0
  1968. package/lib/vxe-timeline-item/index.min.js +1 -0
  1969. package/lib/vxe-timeline-item/style/index.js +1 -0
  1970. package/lib/vxe-timeline-item/style/style.css +0 -0
  1971. package/lib/vxe-timeline-item/style/style.min.css +0 -0
  1972. package/lib/vxe-tip/index.js +22 -0
  1973. package/lib/vxe-tip/index.min.js +1 -0
  1974. package/lib/vxe-tip/style/index.js +1 -0
  1975. package/lib/vxe-tip/style/style.css +107 -0
  1976. package/lib/vxe-tip/style/style.min.css +1 -0
  1977. package/lib/vxe-tooltip/index.js +22 -0
  1978. package/lib/vxe-tooltip/index.min.js +1 -0
  1979. package/lib/vxe-tooltip/style/index.js +1 -0
  1980. package/lib/vxe-tooltip/style/style.css +117 -0
  1981. package/lib/vxe-tooltip/style/style.min.css +1 -0
  1982. package/lib/vxe-tour/index.js +22 -0
  1983. package/lib/vxe-tour/index.min.js +1 -0
  1984. package/lib/vxe-tour/style/index.js +1 -0
  1985. package/lib/vxe-tour/style/style.css +0 -0
  1986. package/lib/vxe-tour/style/style.min.css +0 -0
  1987. package/lib/vxe-transfer/index.js +22 -0
  1988. package/lib/vxe-transfer/index.min.js +1 -0
  1989. package/lib/vxe-transfer/style/index.js +1 -0
  1990. package/lib/vxe-transfer/style/style.css +0 -0
  1991. package/lib/vxe-transfer/style/style.min.css +0 -0
  1992. package/lib/vxe-tree/index.js +22 -0
  1993. package/lib/vxe-tree/index.min.js +1 -0
  1994. package/lib/vxe-tree/style/index.js +1 -0
  1995. package/lib/vxe-tree/style/style.css +385 -0
  1996. package/lib/vxe-tree/style/style.min.css +1 -0
  1997. package/lib/vxe-tree-select/index.js +22 -0
  1998. package/lib/vxe-tree-select/index.min.js +1 -0
  1999. package/lib/vxe-tree-select/style/index.js +1 -0
  2000. package/lib/vxe-tree-select/style/style.css +194 -0
  2001. package/lib/vxe-tree-select/style/style.min.css +1 -0
  2002. package/lib/vxe-u-i/index.js +22 -0
  2003. package/lib/vxe-u-i/index.min.js +1 -0
  2004. package/lib/vxe-ui/index.js +22 -0
  2005. package/lib/vxe-ui/index.min.js +1 -0
  2006. package/lib/vxe-ui/style/index.js +1 -0
  2007. package/lib/vxe-ui/style/style.css +0 -0
  2008. package/lib/vxe-ui/style/style.min.css +0 -0
  2009. package/lib/vxe-upload/index.js +22 -0
  2010. package/lib/vxe-upload/index.min.js +1 -0
  2011. package/lib/vxe-upload/style/index.js +1 -0
  2012. package/lib/vxe-upload/style/style.css +483 -0
  2013. package/lib/vxe-upload/style/style.min.css +1 -0
  2014. package/lib/vxe-watermark/index.js +22 -0
  2015. package/lib/vxe-watermark/index.min.js +1 -0
  2016. package/lib/vxe-watermark/style/index.js +1 -0
  2017. package/lib/vxe-watermark/style/style.css +30 -0
  2018. package/lib/vxe-watermark/style/style.min.css +1 -0
  2019. package/lib/watermark/index.js +31 -0
  2020. package/lib/watermark/index.min.js +1 -0
  2021. package/lib/watermark/src/util.js +164 -0
  2022. package/lib/watermark/src/util.min.js +1 -0
  2023. package/lib/watermark/src/watermark.js +170 -0
  2024. package/lib/watermark/src/watermark.min.js +1 -0
  2025. package/lib/watermark/style/index.js +1 -0
  2026. package/lib/watermark/style/style.css +30 -0
  2027. package/lib/watermark/style/style.min.css +1 -0
  2028. package/package.json +1 -1
  2029. package/packages/cascader/src/cascader.ts +7 -9
  2030. package/packages/upload/src/upload.ts +5 -3
  2031. package/types/all.d.ts +75 -1
@@ -0,0 +1,1201 @@
1
+ import { defineVxeComponent } from '../../ui/src/comp';
2
+ import XEUtils from 'xe-utils';
3
+ import { getConfig, getIcon, getI18n, globalEvents, GLOBAL_EVENT_KEYS, createEvent, globalMixins, renderEmptyElement } from '../../ui';
4
+ import { getFuncText, eqEmptyValue, isEnableConf } from '../../ui/src/utils';
5
+ import { hasClass, getEventTargetNode, hasControlKey } from '../../ui/src/dom';
6
+ import { getSlotVNs } from '../../ui/src/vn';
7
+ import { handleNumber, toFloatValueFixed } from './util';
8
+ const handleNumberString = (val) => {
9
+ if (XEUtils.eqNull(val)) {
10
+ return '';
11
+ }
12
+ return `${val}`;
13
+ };
14
+ export default {
15
+ name: 'VxeNumberInput',
16
+ mixins: [
17
+ globalMixins.sizeMixin
18
+ ],
19
+ model: {
20
+ prop: 'value',
21
+ event: 'modelValue'
22
+ },
23
+ props: {
24
+ value: [String, Number],
25
+ immediate: {
26
+ type: Boolean,
27
+ default: true
28
+ },
29
+ name: String,
30
+ type: {
31
+ type: String,
32
+ default: 'number'
33
+ },
34
+ clearable: {
35
+ type: Boolean,
36
+ default: () => getConfig().numberInput.clearable
37
+ },
38
+ readonly: {
39
+ type: Boolean,
40
+ default: null
41
+ },
42
+ disabled: {
43
+ type: Boolean,
44
+ default: null
45
+ },
46
+ placeholder: String,
47
+ maxLength: {
48
+ type: [String, Number],
49
+ default: () => getConfig().numberInput.maxLength
50
+ },
51
+ autoComplete: {
52
+ type: String,
53
+ default: 'off'
54
+ },
55
+ align: String,
56
+ form: String,
57
+ className: String,
58
+ size: {
59
+ type: String,
60
+ default: () => getConfig().numberInput.size || getConfig().size
61
+ },
62
+ min: {
63
+ type: [String, Number],
64
+ default: null
65
+ },
66
+ max: {
67
+ type: [String, Number],
68
+ default: null
69
+ },
70
+ step: [String, Number],
71
+ exponential: {
72
+ type: Boolean,
73
+ default: () => getConfig().numberInput.exponential
74
+ },
75
+ showCurrency: {
76
+ type: Boolean,
77
+ default: () => getConfig().numberInput.showCurrency
78
+ },
79
+ currencySymbol: {
80
+ type: String,
81
+ default: () => getConfig().numberInput.currencySymbol
82
+ },
83
+ controlConfig: Object,
84
+ // number、float、amount
85
+ roundingMode: {
86
+ type: String,
87
+ default: () => getConfig().numberInput.roundingMode
88
+ },
89
+ // float、amount
90
+ digits: {
91
+ type: [String, Number],
92
+ default: null
93
+ },
94
+ autoFill: {
95
+ type: Boolean,
96
+ default: () => getConfig().numberInput.autoFill
97
+ },
98
+ editable: {
99
+ type: Boolean,
100
+ default: true
101
+ },
102
+ plusIcon: String,
103
+ minusIcon: String,
104
+ prefixIcon: String,
105
+ prefixConfig: Object,
106
+ suffixIcon: String,
107
+ suffixConfig: Object,
108
+ // 已废弃
109
+ controls: {
110
+ type: Boolean,
111
+ default: null
112
+ },
113
+ // 已废弃
114
+ maxlength: [String, Number],
115
+ // 已废弃
116
+ autocomplete: String
117
+ },
118
+ inject: {
119
+ $xeForm: {
120
+ default: null
121
+ },
122
+ formItemInfo: {
123
+ from: 'xeFormItemInfo',
124
+ default: null
125
+ }
126
+ },
127
+ data() {
128
+ const xID = XEUtils.uniqueId();
129
+ const reactData = {
130
+ isFocus: false,
131
+ isActivated: false,
132
+ inputValue: ''
133
+ };
134
+ const internalData = {
135
+ // dnTimeout: undefined,
136
+ // ainTimeout: undefined,
137
+ // isMouseDown: undefined,
138
+ // isUM: undefined
139
+ };
140
+ return {
141
+ xID,
142
+ reactData,
143
+ internalData
144
+ };
145
+ },
146
+ computed: Object.assign(Object.assign({}, {}), { computeFormReadonly() {
147
+ const $xeNumberInput = this;
148
+ const props = $xeNumberInput;
149
+ const $xeForm = $xeNumberInput.$xeForm;
150
+ const { readonly } = props;
151
+ if (readonly === null) {
152
+ if ($xeForm) {
153
+ return $xeForm.readonly;
154
+ }
155
+ return false;
156
+ }
157
+ return readonly;
158
+ },
159
+ computeIsDisabled() {
160
+ const $xeNumberInput = this;
161
+ const props = $xeNumberInput;
162
+ const $xeForm = $xeNumberInput.$xeForm;
163
+ const { disabled } = props;
164
+ if (disabled === null) {
165
+ if ($xeForm) {
166
+ return $xeForm.disabled;
167
+ }
168
+ return false;
169
+ }
170
+ return disabled;
171
+ },
172
+ computeDigitsValue() {
173
+ const $xeNumberInput = this;
174
+ const props = $xeNumberInput;
175
+ const { type, digits } = props;
176
+ let defDigits = digits;
177
+ if (defDigits === null) {
178
+ defDigits = getConfig().numberInput.digits;
179
+ if (defDigits === null) {
180
+ if (type === 'amount') {
181
+ defDigits = 2;
182
+ }
183
+ }
184
+ }
185
+ return XEUtils.toInteger(defDigits) || 1;
186
+ },
187
+ computeControlOpts() {
188
+ const $xeNumberInput = this;
189
+ const props = $xeNumberInput;
190
+ return Object.assign({}, getConfig().numberInput.controlConfig, props.controlConfig);
191
+ },
192
+ computePrefixOpts() {
193
+ const $xeNumberInput = this;
194
+ const props = $xeNumberInput;
195
+ return Object.assign({}, getConfig().numberInput.prefixConfig, props.prefixConfig);
196
+ },
197
+ computeSuffixOpts() {
198
+ const $xeNumberInput = this;
199
+ const props = $xeNumberInput;
200
+ return Object.assign({}, getConfig().numberInput.suffixConfig, props.suffixConfig);
201
+ },
202
+ computeDecimalsType() {
203
+ const $xeNumberInput = this;
204
+ const props = $xeNumberInput;
205
+ const { type } = props;
206
+ return type === 'float' || type === 'amount';
207
+ },
208
+ computeStepValue() {
209
+ const $xeNumberInput = this;
210
+ const props = $xeNumberInput;
211
+ const { type } = props;
212
+ const digitsValue = $xeNumberInput.computeDigitsValue;
213
+ const decimalsType = $xeNumberInput.computeDecimalsType;
214
+ const step = props.step;
215
+ if (type === 'integer') {
216
+ return XEUtils.toInteger(step) || 1;
217
+ }
218
+ else if (decimalsType) {
219
+ return XEUtils.toNumber(step) || (1 / Math.pow(10, digitsValue));
220
+ }
221
+ return XEUtils.toNumber(step) || 1;
222
+ },
223
+ computeIsClearable() {
224
+ const $xeNumberInput = this;
225
+ const props = $xeNumberInput;
226
+ return props.clearable;
227
+ },
228
+ computeInputReadonly() {
229
+ const $xeNumberInput = this;
230
+ const props = $xeNumberInput;
231
+ const { editable } = props;
232
+ const formReadonly = $xeNumberInput.computeFormReadonly;
233
+ return formReadonly || !editable;
234
+ },
235
+ computeInpPlaceholder() {
236
+ const $xeNumberInput = this;
237
+ const props = $xeNumberInput;
238
+ const { placeholder } = props;
239
+ if (placeholder) {
240
+ return getFuncText(placeholder);
241
+ }
242
+ const globalPlaceholder = getConfig().numberInput.placeholder;
243
+ if (globalPlaceholder) {
244
+ return getFuncText(globalPlaceholder);
245
+ }
246
+ return getI18n('vxe.base.pleaseInput');
247
+ },
248
+ computeInpMaxLength() {
249
+ const $xeNumberInput = this;
250
+ const props = $xeNumberInput;
251
+ const { type, maxLength, maxlength, min, max } = props;
252
+ const digitsValue = $xeNumberInput.computeDigitsValue;
253
+ // 数值最大长度默认限制 16 位,包含小数
254
+ const maxDefLen = 16;
255
+ if (!eqEmptyValue(min) && !eqEmptyValue(max)) {
256
+ return `${max}`.length + (type === 'integer' ? 0 : (digitsValue + 1)) + (XEUtils.toNumber(min) >= 0 ? 0 : 1);
257
+ }
258
+ if (maxLength || maxlength) {
259
+ return XEUtils.toNumber(maxLength || maxlength);
260
+ }
261
+ return maxDefLen;
262
+ },
263
+ computeInpImmediate() {
264
+ const $xeNumberInput = this;
265
+ const props = $xeNumberInput;
266
+ const { immediate } = props;
267
+ return immediate;
268
+ },
269
+ computeNumValue() {
270
+ const $xeNumberInput = this;
271
+ const props = $xeNumberInput;
272
+ const reactData = $xeNumberInput.reactData;
273
+ const { type } = props;
274
+ const { inputValue } = reactData;
275
+ return type === 'integer' ? XEUtils.toInteger(handleNumber(inputValue)) : XEUtils.toNumber(handleNumber(inputValue));
276
+ },
277
+ computeNumLabel() {
278
+ const $xeNumberInput = this;
279
+ const props = $xeNumberInput;
280
+ const reactData = $xeNumberInput.reactData;
281
+ const { type, roundingMode, showCurrency, currencySymbol, autoFill } = props;
282
+ const { inputValue } = reactData;
283
+ const digitsValue = $xeNumberInput.computeDigitsValue;
284
+ if (type === 'amount') {
285
+ const num = XEUtils.toNumber(inputValue);
286
+ const cfyOpts = { digits: digitsValue };
287
+ if (roundingMode === 'floor') {
288
+ cfyOpts.floor = true;
289
+ }
290
+ else if (roundingMode === 'ceil') {
291
+ cfyOpts.ceil = true;
292
+ }
293
+ else {
294
+ cfyOpts.round = true;
295
+ }
296
+ let amountLabel = XEUtils.commafy(num, cfyOpts);
297
+ if (!autoFill) {
298
+ const [iStr, dStr] = amountLabel.split('.');
299
+ if (dStr) {
300
+ const dRest = dStr.replace(/0+$/, '');
301
+ amountLabel = dRest ? [iStr, '.', dRest].join('') : iStr;
302
+ }
303
+ }
304
+ if (showCurrency) {
305
+ return `${currencySymbol || getI18n('vxe.numberInput.currencySymbol') || ''}${amountLabel}`;
306
+ }
307
+ return amountLabel;
308
+ }
309
+ return XEUtils.toString(inputValue);
310
+ },
311
+ computeIsDisabledSubtractNumber() {
312
+ const $xeNumberInput = this;
313
+ const props = $xeNumberInput;
314
+ const reactData = $xeNumberInput.reactData;
315
+ const { min } = props;
316
+ const { inputValue } = reactData;
317
+ const numValue = $xeNumberInput.computeNumValue;
318
+ // 当有值时再进行判断
319
+ if ((inputValue || inputValue === 0) && min !== null) {
320
+ return numValue <= XEUtils.toNumber(min);
321
+ }
322
+ return false;
323
+ },
324
+ computeIsDisabledAddNumber() {
325
+ const $xeNumberInput = this;
326
+ const props = $xeNumberInput;
327
+ const reactData = $xeNumberInput.reactData;
328
+ const { max } = props;
329
+ const { inputValue } = reactData;
330
+ const numValue = $xeNumberInput.computeNumValue;
331
+ // 当有值时再进行判断
332
+ if ((inputValue || inputValue === 0) && max !== null) {
333
+ return numValue >= XEUtils.toNumber(max);
334
+ }
335
+ return false;
336
+ } }),
337
+ methods: {
338
+ //
339
+ // Method
340
+ //
341
+ dispatchEvent(type, params, evnt) {
342
+ const $xeNumberInput = this;
343
+ $xeNumberInput.$emit(type, createEvent(evnt, { $numberInput: $xeNumberInput }, params));
344
+ },
345
+ emitModel(value) {
346
+ const $xeNumberInput = this;
347
+ const { _events } = $xeNumberInput;
348
+ if (_events && _events.modelValue) {
349
+ $xeNumberInput.$emit('modelValue', value);
350
+ }
351
+ else {
352
+ $xeNumberInput.$emit('model-value', value);
353
+ }
354
+ },
355
+ focus() {
356
+ const $xeNumberInput = this;
357
+ const reactData = $xeNumberInput.reactData;
358
+ const inputReadonly = $xeNumberInput.computeInputReadonly;
359
+ if (!inputReadonly) {
360
+ const inputElem = $xeNumberInput.$refs.refInputTarget;
361
+ reactData.isActivated = true;
362
+ inputElem.focus();
363
+ }
364
+ return $xeNumberInput.$nextTick();
365
+ },
366
+ blur() {
367
+ const $xeNumberInput = this;
368
+ const reactData = $xeNumberInput.reactData;
369
+ const inputElem = $xeNumberInput.$refs.refInputTarget;
370
+ inputElem.blur();
371
+ reactData.isActivated = false;
372
+ return $xeNumberInput.$nextTick();
373
+ },
374
+ select() {
375
+ const $xeNumberInput = this;
376
+ const reactData = $xeNumberInput.reactData;
377
+ const inputElem = $xeNumberInput.$refs.refInputTarget;
378
+ inputElem.select();
379
+ reactData.isActivated = false;
380
+ return $xeNumberInput.$nextTick();
381
+ },
382
+ getNumberValue(val) {
383
+ const $xeNumberInput = this;
384
+ const props = $xeNumberInput;
385
+ const { type, exponential, roundingMode, autoFill } = props;
386
+ const inpMaxLength = $xeNumberInput.computeInpMaxLength;
387
+ const digitsValue = $xeNumberInput.computeDigitsValue;
388
+ const decimalsType = $xeNumberInput.computeDecimalsType;
389
+ let restVal = '';
390
+ if (decimalsType) {
391
+ restVal = toFloatValueFixed(val, type, digitsValue, roundingMode);
392
+ if (!autoFill) {
393
+ restVal = handleNumberString(XEUtils.toNumber(restVal));
394
+ }
395
+ }
396
+ else {
397
+ restVal = handleNumberString(val);
398
+ }
399
+ if (exponential && (val === restVal || handleNumberString(val).toLowerCase() === XEUtils.toNumber(restVal).toExponential())) {
400
+ return val;
401
+ }
402
+ return restVal.slice(0, inpMaxLength);
403
+ },
404
+ triggerEvent(evnt) {
405
+ const $xeNumberInput = this;
406
+ const reactData = $xeNumberInput.reactData;
407
+ const { inputValue } = reactData;
408
+ $xeNumberInput.dispatchEvent(evnt.type, { value: inputValue }, evnt);
409
+ },
410
+ handleChange(val, inputValue, evnt) {
411
+ const $xeNumberInput = this;
412
+ const props = $xeNumberInput;
413
+ const reactData = $xeNumberInput.reactData;
414
+ const internalData = $xeNumberInput.internalData;
415
+ const $xeForm = $xeNumberInput.$xeForm;
416
+ const formItemInfo = $xeNumberInput.formItemInfo;
417
+ const value = eqEmptyValue(val) ? null : Number(val);
418
+ const isChange = value !== props.value;
419
+ if (isChange) {
420
+ internalData.isUM = true;
421
+ $xeNumberInput.emitModel(value);
422
+ }
423
+ if (reactData.inputValue !== inputValue) {
424
+ $xeNumberInput.$nextTick(() => {
425
+ reactData.inputValue = inputValue || '';
426
+ });
427
+ }
428
+ $xeNumberInput.dispatchEvent('input', { value }, evnt);
429
+ if (isChange) {
430
+ $xeNumberInput.dispatchEvent('change', { value }, evnt);
431
+ // 自动更新校验状态
432
+ if ($xeForm && formItemInfo) {
433
+ $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value);
434
+ }
435
+ }
436
+ },
437
+ emitInputEvent(inputValue, evnt) {
438
+ const $xeNumberInput = this;
439
+ const reactData = $xeNumberInput.reactData;
440
+ const inpImmediate = $xeNumberInput.computeInpImmediate;
441
+ const value = inputValue === eqEmptyValue(inputValue) ? null : XEUtils.toNumber(inputValue);
442
+ reactData.inputValue = inputValue;
443
+ if (inpImmediate) {
444
+ $xeNumberInput.handleChange(value, inputValue, evnt);
445
+ }
446
+ else {
447
+ $xeNumberInput.dispatchEvent('input', { value }, evnt);
448
+ }
449
+ },
450
+ inputEvent(evnt) {
451
+ const $xeNumberInput = this;
452
+ const inputElem = evnt.target;
453
+ const value = inputElem.value;
454
+ $xeNumberInput.emitInputEvent(value, evnt);
455
+ },
456
+ changeEvent(evnt) {
457
+ const $xeNumberInput = this;
458
+ const reactData = $xeNumberInput.reactData;
459
+ const inpImmediate = $xeNumberInput.computeInpImmediate;
460
+ if (!inpImmediate) {
461
+ $xeNumberInput.triggerEvent(evnt);
462
+ }
463
+ $xeNumberInput.dispatchEvent('lazy-change', { value: reactData.inputValue }, evnt);
464
+ },
465
+ focusEvent(evnt) {
466
+ const $xeNumberInput = this;
467
+ const reactData = $xeNumberInput.reactData;
468
+ const inputReadonly = $xeNumberInput.computeInputReadonly;
469
+ if (!inputReadonly) {
470
+ const { inputValue } = reactData;
471
+ reactData.inputValue = eqEmptyValue(inputValue) ? '' : `${XEUtils.toNumber(inputValue)}`;
472
+ reactData.isFocus = true;
473
+ reactData.isActivated = true;
474
+ $xeNumberInput.triggerEvent(evnt);
475
+ }
476
+ },
477
+ clickPrefixEvent(evnt) {
478
+ const $xeNumberInput = this;
479
+ const reactData = $xeNumberInput.reactData;
480
+ const isDisabled = $xeNumberInput.computeIsDisabled;
481
+ if (!isDisabled) {
482
+ const { inputValue } = reactData;
483
+ $xeNumberInput.dispatchEvent('prefix-click', { value: inputValue }, evnt);
484
+ }
485
+ },
486
+ clearValueEvent(evnt, value) {
487
+ const $xeNumberInput = this;
488
+ $xeNumberInput.focus();
489
+ $xeNumberInput.handleChange(null, '', evnt);
490
+ $xeNumberInput.dispatchEvent('clear', { value }, evnt);
491
+ $xeNumberInput.dispatchEvent('lazy-change', { value }, evnt);
492
+ },
493
+ clickSuffixEvent(evnt) {
494
+ const $xeNumberInput = this;
495
+ const reactData = $xeNumberInput.reactData;
496
+ const isDisabled = $xeNumberInput.computeIsDisabled;
497
+ if (!isDisabled) {
498
+ const { inputValue } = reactData;
499
+ $xeNumberInput.dispatchEvent('suffix-click', { value: inputValue }, evnt);
500
+ }
501
+ },
502
+ updateModel(val) {
503
+ const $xeNumberInput = this;
504
+ const props = $xeNumberInput;
505
+ const reactData = $xeNumberInput.reactData;
506
+ const { type, roundingMode, autoFill } = props;
507
+ const { inputValue } = reactData;
508
+ const digitsValue = $xeNumberInput.computeDigitsValue;
509
+ const decimalsType = $xeNumberInput.computeDecimalsType;
510
+ if (eqEmptyValue(val)) {
511
+ reactData.inputValue = '';
512
+ }
513
+ else {
514
+ let textValue = '' + val;
515
+ if (decimalsType) {
516
+ textValue = toFloatValueFixed(val, type, digitsValue, roundingMode);
517
+ if (!autoFill) {
518
+ textValue = '' + XEUtils.toNumber(textValue);
519
+ }
520
+ }
521
+ if (textValue !== inputValue) {
522
+ reactData.inputValue = textValue;
523
+ }
524
+ }
525
+ },
526
+ /**
527
+ * 检查初始值
528
+ */
529
+ initValue() {
530
+ const $xeNumberInput = this;
531
+ const props = $xeNumberInput;
532
+ const reactData = $xeNumberInput.reactData;
533
+ const { type, roundingMode, autoFill } = props;
534
+ const { inputValue } = reactData;
535
+ const digitsValue = $xeNumberInput.computeDigitsValue;
536
+ const decimalsType = $xeNumberInput.computeDecimalsType;
537
+ if (decimalsType) {
538
+ if (inputValue) {
539
+ let textValue = '';
540
+ let validValue = null;
541
+ if (inputValue) {
542
+ textValue = toFloatValueFixed(inputValue, type, digitsValue, roundingMode);
543
+ validValue = XEUtils.toNumber(textValue);
544
+ if (!autoFill) {
545
+ textValue = `${validValue}`;
546
+ }
547
+ }
548
+ if (inputValue !== validValue) {
549
+ $xeNumberInput.handleChange(validValue, textValue, { type: 'init' });
550
+ }
551
+ else {
552
+ reactData.inputValue = textValue;
553
+ }
554
+ }
555
+ }
556
+ },
557
+ validMaxNum(num) {
558
+ const $xeNumberInput = this;
559
+ const props = $xeNumberInput;
560
+ return props.max === null || props.max === '' || XEUtils.toNumber(num) <= XEUtils.toNumber(props.max);
561
+ },
562
+ validMinNum(num) {
563
+ const $xeNumberInput = this;
564
+ const props = $xeNumberInput;
565
+ return props.min === null || props.min === '' || XEUtils.toNumber(num) >= XEUtils.toNumber(props.min);
566
+ },
567
+ afterCheckValue() {
568
+ const $xeNumberInput = this;
569
+ const props = $xeNumberInput;
570
+ const reactData = $xeNumberInput.reactData;
571
+ const { type, min, max, exponential } = props;
572
+ const { inputValue } = reactData;
573
+ const inputReadonly = $xeNumberInput.computeInputReadonly;
574
+ if (!inputReadonly) {
575
+ if (eqEmptyValue(inputValue)) {
576
+ let inpNumVal = null;
577
+ let inpValue = inputValue;
578
+ if (min || min === 0) {
579
+ inpNumVal = XEUtils.toNumber(min);
580
+ inpValue = `${inpNumVal}`;
581
+ }
582
+ $xeNumberInput.handleChange(inpNumVal, `${inpValue || ''}`, { type: 'check' });
583
+ return;
584
+ }
585
+ if (inputValue || (min || max)) {
586
+ let inpNumVal = type === 'integer' ? XEUtils.toInteger(handleNumber(inputValue)) : XEUtils.toNumber(handleNumber(inputValue));
587
+ if (!$xeNumberInput.validMinNum(inpNumVal)) {
588
+ inpNumVal = min;
589
+ }
590
+ else if (!$xeNumberInput.validMaxNum(inpNumVal)) {
591
+ inpNumVal = max;
592
+ }
593
+ if (exponential) {
594
+ const inpStringVal = handleNumberString(inputValue).toLowerCase();
595
+ if (inpStringVal === XEUtils.toNumber(inpNumVal).toExponential()) {
596
+ inpNumVal = inpStringVal;
597
+ }
598
+ }
599
+ const inpValue = $xeNumberInput.getNumberValue(inpNumVal);
600
+ $xeNumberInput.handleChange(eqEmptyValue(inpValue) ? null : Number(inpValue), inpValue, { type: 'check' });
601
+ }
602
+ }
603
+ },
604
+ blurEvent(evnt) {
605
+ const $xeNumberInput = this;
606
+ const reactData = $xeNumberInput.reactData;
607
+ const $xeForm = $xeNumberInput.$xeForm;
608
+ const formItemInfo = $xeNumberInput.formItemInfo;
609
+ const { inputValue } = reactData;
610
+ const inpImmediate = $xeNumberInput.computeInpImmediate;
611
+ const value = inputValue ? Number(inputValue) : null;
612
+ if (!inpImmediate) {
613
+ $xeNumberInput.handleChange(value, handleNumberString(inputValue), evnt);
614
+ }
615
+ $xeNumberInput.afterCheckValue();
616
+ reactData.isFocus = false;
617
+ reactData.isActivated = false;
618
+ $xeNumberInput.dispatchEvent('blur', { value }, evnt);
619
+ // 自动更新校验状态
620
+ if ($xeForm && formItemInfo) {
621
+ $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value);
622
+ }
623
+ },
624
+ // 数值
625
+ numberChange(isPlus, evnt) {
626
+ const $xeNumberInput = this;
627
+ const props = $xeNumberInput;
628
+ const reactData = $xeNumberInput.reactData;
629
+ const { min, max, type } = props;
630
+ const { inputValue } = reactData;
631
+ const stepValue = $xeNumberInput.computeStepValue;
632
+ const numValue = type === 'integer' ? XEUtils.toInteger(handleNumber(inputValue)) : XEUtils.toNumber(handleNumber(inputValue));
633
+ const newValue = isPlus ? XEUtils.add(numValue, stepValue) : XEUtils.subtract(numValue, stepValue);
634
+ let restNum;
635
+ if (!$xeNumberInput.validMinNum(newValue)) {
636
+ restNum = min;
637
+ }
638
+ else if (!$xeNumberInput.validMaxNum(newValue)) {
639
+ restNum = max;
640
+ }
641
+ else {
642
+ restNum = newValue;
643
+ }
644
+ $xeNumberInput.emitInputEvent($xeNumberInput.getNumberValue(restNum), evnt);
645
+ },
646
+ numberPlusEvent(evnt) {
647
+ const $xeNumberInput = this;
648
+ const reactData = $xeNumberInput.reactData;
649
+ const isDisabled = $xeNumberInput.computeIsDisabled;
650
+ const formReadonly = $xeNumberInput.computeFormReadonly;
651
+ const isDisabledAddNumber = $xeNumberInput.computeIsDisabledAddNumber;
652
+ if (!isDisabled && !formReadonly && !isDisabledAddNumber) {
653
+ $xeNumberInput.numberChange(true, evnt);
654
+ }
655
+ reactData.isActivated = true;
656
+ $xeNumberInput.dispatchEvent('plus-number', { value: reactData.inputValue }, evnt);
657
+ $xeNumberInput.dispatchEvent('lazy-change', { value: reactData.inputValue }, evnt);
658
+ // 已废弃
659
+ $xeNumberInput.dispatchEvent('next-number', { value: reactData.inputValue }, evnt);
660
+ },
661
+ numberMinusEvent(evnt) {
662
+ const $xeNumberInput = this;
663
+ const reactData = $xeNumberInput.reactData;
664
+ const isDisabled = $xeNumberInput.computeIsDisabled;
665
+ const formReadonly = $xeNumberInput.computeFormReadonly;
666
+ const isDisabledSubtractNumber = $xeNumberInput.computeIsDisabledSubtractNumber;
667
+ if (!isDisabled && !formReadonly && !isDisabledSubtractNumber) {
668
+ $xeNumberInput.numberChange(false, evnt);
669
+ }
670
+ reactData.isActivated = true;
671
+ $xeNumberInput.dispatchEvent('minus-number', { value: reactData.inputValue }, evnt);
672
+ $xeNumberInput.dispatchEvent('lazy-change', { value: reactData.inputValue }, evnt);
673
+ // 已废弃
674
+ $xeNumberInput.dispatchEvent('prev-number', { value: reactData.inputValue }, evnt);
675
+ },
676
+ numberKeydownEvent(evnt) {
677
+ const $xeNumberInput = this;
678
+ const isUpArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_UP);
679
+ const isDwArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_DOWN);
680
+ if (isUpArrow || isDwArrow) {
681
+ evnt.preventDefault();
682
+ if (isUpArrow) {
683
+ $xeNumberInput.numberPlusEvent(evnt);
684
+ }
685
+ else {
686
+ $xeNumberInput.numberMinusEvent(evnt);
687
+ }
688
+ }
689
+ },
690
+ keydownEvent(evnt) {
691
+ const $xeNumberInput = this;
692
+ const props = $xeNumberInput;
693
+ const { type, exponential, controls } = props;
694
+ const controlOpts = $xeNumberInput.computeControlOpts;
695
+ const { isArrow } = controlOpts;
696
+ const inputReadonly = $xeNumberInput.computeInputReadonly;
697
+ const isControlKey = hasControlKey(evnt);
698
+ const isShiftKey = evnt.shiftKey;
699
+ const isAltKey = evnt.altKey;
700
+ const keyCode = evnt.keyCode;
701
+ const isEsc = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ESCAPE);
702
+ const isUpArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_UP);
703
+ const isDwArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_DOWN);
704
+ if (!isControlKey && !isShiftKey && !isAltKey) {
705
+ if (globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.SPACEBAR) || (type === 'integer' && keyCode === 110) || ((!exponential || keyCode !== 69) && (keyCode >= 65 && keyCode <= 90)) || (keyCode >= 186 && keyCode <= 188) || keyCode >= 191) {
706
+ evnt.preventDefault();
707
+ }
708
+ }
709
+ if (isEsc) {
710
+ $xeNumberInput.afterCheckValue();
711
+ }
712
+ else if (isUpArrow || isDwArrow) {
713
+ if (isEnableConf(controlOpts) && (controls === false ? controls : isArrow) && !inputReadonly) {
714
+ $xeNumberInput.numberKeydownEvent(evnt);
715
+ }
716
+ }
717
+ $xeNumberInput.triggerEvent(evnt);
718
+ },
719
+ keyupEvent(evnt) {
720
+ const $xeNumberInput = this;
721
+ $xeNumberInput.triggerEvent(evnt);
722
+ },
723
+ // 数值
724
+ stopDown() {
725
+ const $xeNumberInput = this;
726
+ const internalData = $xeNumberInput.internalData;
727
+ const { dnTimeout } = internalData;
728
+ if (dnTimeout) {
729
+ clearTimeout(dnTimeout);
730
+ internalData.dnTimeout = undefined;
731
+ }
732
+ },
733
+ stopAutoIncrement() {
734
+ const $xeNumberInput = this;
735
+ const internalData = $xeNumberInput.internalData;
736
+ const { ainTimeout } = internalData;
737
+ if (ainTimeout) {
738
+ clearTimeout(ainTimeout);
739
+ internalData.ainTimeout = undefined;
740
+ }
741
+ },
742
+ numberDownMinusEvent(evnt) {
743
+ const $xeNumberInput = this;
744
+ const internalData = $xeNumberInput.internalData;
745
+ $xeNumberInput.numberStopAll();
746
+ internalData.ainTimeout = setTimeout(() => {
747
+ $xeNumberInput.numberMinusEvent(evnt);
748
+ $xeNumberInput.numberDownMinusEvent(evnt);
749
+ }, 60);
750
+ },
751
+ numberDownPlusEvent(evnt) {
752
+ const $xeNumberInput = this;
753
+ const internalData = $xeNumberInput.internalData;
754
+ $xeNumberInput.numberStopAll();
755
+ internalData.ainTimeout = setTimeout(() => {
756
+ $xeNumberInput.numberPlusEvent(evnt);
757
+ $xeNumberInput.numberDownPlusEvent(evnt);
758
+ }, 60);
759
+ },
760
+ numberStopAll() {
761
+ const $xeNumberInput = this;
762
+ $xeNumberInput.stopDown();
763
+ $xeNumberInput.stopAutoIncrement();
764
+ },
765
+ numberClickEvent(evnt) {
766
+ const $xeNumberInput = this;
767
+ const internalData = $xeNumberInput.internalData;
768
+ if (internalData.isMouseDown) {
769
+ internalData.isMouseDown = false;
770
+ }
771
+ else {
772
+ $xeNumberInput.numberStopAll();
773
+ const isAddNumber = hasClass(evnt.currentTarget, 'is--plus');
774
+ if (isAddNumber) {
775
+ $xeNumberInput.numberPlusEvent(evnt);
776
+ }
777
+ else {
778
+ $xeNumberInput.numberMinusEvent(evnt);
779
+ }
780
+ }
781
+ },
782
+ numberMousedownEvent(evnt) {
783
+ const $xeNumberInput = this;
784
+ const internalData = $xeNumberInput.internalData;
785
+ $xeNumberInput.numberStopAll();
786
+ internalData.isMouseDown = true;
787
+ if (evnt.button === 0) {
788
+ const isAddNumber = hasClass(evnt.currentTarget, 'is--plus');
789
+ if (isAddNumber) {
790
+ $xeNumberInput.numberPlusEvent(evnt);
791
+ }
792
+ else {
793
+ $xeNumberInput.numberMinusEvent(evnt);
794
+ }
795
+ internalData.dnTimeout = setTimeout(() => {
796
+ if (isAddNumber) {
797
+ $xeNumberInput.numberDownPlusEvent(evnt);
798
+ }
799
+ else {
800
+ $xeNumberInput.numberDownMinusEvent(evnt);
801
+ }
802
+ }, 500);
803
+ }
804
+ },
805
+ wheelEvent(evnt) {
806
+ const $xeNumberInput = this;
807
+ const props = $xeNumberInput;
808
+ const reactData = $xeNumberInput.reactData;
809
+ const { controls } = props;
810
+ const controlOpts = $xeNumberInput.computeControlOpts;
811
+ const { isWheel } = controlOpts;
812
+ const inputReadonly = $xeNumberInput.computeInputReadonly;
813
+ if (isEnableConf(controlOpts) && (controls === false ? controls : isWheel) && !inputReadonly) {
814
+ if (reactData.isActivated) {
815
+ evnt.stopPropagation();
816
+ evnt.preventDefault();
817
+ const delta = evnt.deltaY;
818
+ if (delta > 0) {
819
+ // 向下
820
+ $xeNumberInput.numberMinusEvent(evnt);
821
+ }
822
+ else if (delta < 0) {
823
+ // 向上
824
+ $xeNumberInput.numberPlusEvent(evnt);
825
+ }
826
+ }
827
+ }
828
+ $xeNumberInput.triggerEvent(evnt);
829
+ },
830
+ clickEvent(evnt) {
831
+ const $xeNumberInput = this;
832
+ $xeNumberInput.triggerEvent(evnt);
833
+ },
834
+ // 全局事件
835
+ handleGlobalMousedownEvent(evnt) {
836
+ const $xeNumberInput = this;
837
+ const reactData = $xeNumberInput.reactData;
838
+ const { isActivated } = reactData;
839
+ const el = $xeNumberInput.$refs.refElem;
840
+ const panelElem = $xeNumberInput.$refs.refInputPanel;
841
+ const isDisabled = $xeNumberInput.computeIsDisabled;
842
+ const inpImmediate = $xeNumberInput.computeInpImmediate;
843
+ const inputReadonly = $xeNumberInput.computeInputReadonly;
844
+ if (!isDisabled && !inputReadonly && isActivated) {
845
+ reactData.isActivated = getEventTargetNode(evnt, el).flag || getEventTargetNode(evnt, panelElem).flag;
846
+ if (!reactData.isActivated) {
847
+ if (!inpImmediate) {
848
+ const { inputValue } = reactData;
849
+ const value = inputValue ? Number(inputValue) : null;
850
+ $xeNumberInput.handleChange(value, handleNumberString(inputValue), evnt);
851
+ }
852
+ $xeNumberInput.afterCheckValue();
853
+ }
854
+ }
855
+ },
856
+ handleGlobalKeydownEvent(evnt) {
857
+ const $xeNumberInput = this;
858
+ const props = $xeNumberInput;
859
+ const reactData = $xeNumberInput.reactData;
860
+ const { clearable } = props;
861
+ const isDisabled = $xeNumberInput.computeIsDisabled;
862
+ const inputReadonly = $xeNumberInput.computeInputReadonly;
863
+ if (!isDisabled && !inputReadonly) {
864
+ const isTab = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.TAB);
865
+ const isDel = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.DELETE);
866
+ let isActivated = reactData.isActivated;
867
+ if (isTab) {
868
+ if (isActivated) {
869
+ $xeNumberInput.afterCheckValue();
870
+ }
871
+ isActivated = false;
872
+ reactData.isActivated = isActivated;
873
+ }
874
+ if (isDel && clearable) {
875
+ if (isActivated) {
876
+ $xeNumberInput.clearValueEvent(evnt, null);
877
+ }
878
+ }
879
+ }
880
+ },
881
+ handleGlobalBlurEvent() {
882
+ const $xeNumberInput = this;
883
+ const reactData = $xeNumberInput.reactData;
884
+ const { isActivated } = reactData;
885
+ if (isActivated) {
886
+ $xeNumberInput.afterCheckValue();
887
+ }
888
+ },
889
+ //
890
+ // Render
891
+ //
892
+ renderPrefixIcon(h) {
893
+ const $xeNumberInput = this;
894
+ const props = $xeNumberInput;
895
+ const slots = $xeNumberInput.$scopedSlots;
896
+ const { prefixIcon } = props;
897
+ const prefixOpts = $xeNumberInput.computePrefixOpts;
898
+ const prefixSlot = slots.prefix;
899
+ const preIcon = prefixIcon || prefixOpts.icon;
900
+ const sufContent = prefixOpts.content;
901
+ return prefixSlot || preIcon || sufContent
902
+ ? h('div', {
903
+ class: 'vxe-number-input--prefix',
904
+ on: {
905
+ click: $xeNumberInput.clickPrefixEvent
906
+ }
907
+ }, [
908
+ h('div', {
909
+ class: 'vxe-number-input--prefix-icon'
910
+ }, prefixSlot
911
+ ? getSlotVNs(prefixSlot({}))
912
+ : [
913
+ preIcon
914
+ ? h('i', {
915
+ class: preIcon
916
+ })
917
+ : renderEmptyElement($xeNumberInput),
918
+ sufContent
919
+ ? h('span', {
920
+ class: 'vxe-prefix-input--suffix-text'
921
+ }, `${sufContent}`)
922
+ : renderEmptyElement($xeNumberInput)
923
+ ])
924
+ ])
925
+ : renderEmptyElement($xeNumberInput);
926
+ },
927
+ renderSuffixIcon(h) {
928
+ const $xeNumberInput = this;
929
+ const props = $xeNumberInput;
930
+ const reactData = $xeNumberInput.reactData;
931
+ const slots = $xeNumberInput.$scopedSlots;
932
+ const { suffixIcon } = props;
933
+ const { inputValue } = reactData;
934
+ const suffixSlot = slots.suffix;
935
+ const suffixOpts = $xeNumberInput.computeSuffixOpts;
936
+ const isDisabled = $xeNumberInput.computeIsDisabled;
937
+ const isClearable = $xeNumberInput.computeIsClearable;
938
+ const sufIcon = suffixIcon || suffixOpts.icon;
939
+ const sufContent = suffixOpts.content;
940
+ return h('div', {
941
+ class: ['vxe-number-input--suffix', {
942
+ 'is--clear': isClearable && !isDisabled && !(inputValue === '' || XEUtils.eqNull(inputValue))
943
+ }]
944
+ }, [
945
+ isClearable
946
+ ? h('div', {
947
+ class: 'vxe-number-input--clear-icon',
948
+ on: {
949
+ click: $xeNumberInput.clearValueEvent
950
+ }
951
+ }, [
952
+ h('i', {
953
+ class: getIcon().INPUT_CLEAR
954
+ })
955
+ ])
956
+ : renderEmptyElement($xeNumberInput),
957
+ suffixSlot || sufIcon || sufContent
958
+ ? h('div', {
959
+ class: 'vxe-number-input--suffix-icon',
960
+ on: {
961
+ click: $xeNumberInput.clickSuffixEvent
962
+ }
963
+ }, suffixSlot
964
+ ? getSlotVNs(suffixSlot({}))
965
+ : [
966
+ sufIcon
967
+ ? h('i', {
968
+ class: sufIcon
969
+ })
970
+ : renderEmptyElement($xeNumberInput),
971
+ sufContent
972
+ ? h('span', {
973
+ class: 'vxe-number-input--suffix-text'
974
+ }, `${sufContent}`)
975
+ : renderEmptyElement($xeNumberInput)
976
+ ])
977
+ : renderEmptyElement($xeNumberInput)
978
+ ]);
979
+ },
980
+ renderInput(h) {
981
+ const $xeNumberInput = this;
982
+ const props = $xeNumberInput;
983
+ const reactData = $xeNumberInput.reactData;
984
+ const { type, name, autocomplete, autoComplete } = props;
985
+ const { inputValue, isFocus } = reactData;
986
+ const isDisabled = $xeNumberInput.computeIsDisabled;
987
+ const numLabel = $xeNumberInput.computeNumLabel;
988
+ const inputReadonly = $xeNumberInput.computeInputReadonly;
989
+ const inpMaxLength = $xeNumberInput.computeInpMaxLength;
990
+ const inpPlaceholder = $xeNumberInput.computeInpPlaceholder;
991
+ return h('div', {
992
+ key: 'ni',
993
+ class: 'vxe-number-input--input-wrapper'
994
+ }, [
995
+ $xeNumberInput.renderPrefixIcon(h),
996
+ h('div', {
997
+ class: 'vxe-number-input--input-inner'
998
+ }, [
999
+ h('input', {
1000
+ ref: 'refInputTarget',
1001
+ class: 'vxe-number-input--input',
1002
+ domProps: {
1003
+ value: !isFocus && type === 'amount' ? numLabel : inputValue
1004
+ },
1005
+ attrs: {
1006
+ name,
1007
+ type: 'text',
1008
+ placeholder: inpPlaceholder,
1009
+ maxlength: inpMaxLength,
1010
+ readonly: inputReadonly,
1011
+ disabled: isDisabled,
1012
+ autocomplete: autoComplete || autocomplete
1013
+ },
1014
+ on: {
1015
+ keydown: $xeNumberInput.keydownEvent,
1016
+ keyup: $xeNumberInput.keyupEvent,
1017
+ click: $xeNumberInput.clickEvent,
1018
+ input: $xeNumberInput.inputEvent,
1019
+ change: $xeNumberInput.changeEvent,
1020
+ focus: $xeNumberInput.focusEvent,
1021
+ blur: $xeNumberInput.blurEvent
1022
+ }
1023
+ })
1024
+ ]),
1025
+ $xeNumberInput.renderSuffixIcon(h)
1026
+ ]);
1027
+ },
1028
+ renderMinusBtn(h) {
1029
+ const $xeNumberInput = this;
1030
+ const props = $xeNumberInput;
1031
+ const { minusIcon } = props;
1032
+ const isDisabledSubtractNumber = $xeNumberInput.computeIsDisabledSubtractNumber;
1033
+ return h('button', {
1034
+ key: 'prev',
1035
+ class: ['vxe-number-input--minus-btn is--minus', {
1036
+ 'is--disabled': isDisabledSubtractNumber
1037
+ }],
1038
+ attrs: {
1039
+ type: 'button'
1040
+ },
1041
+ on: {
1042
+ click: $xeNumberInput.numberClickEvent,
1043
+ mousedown: $xeNumberInput.numberMousedownEvent,
1044
+ mouseup: $xeNumberInput.numberStopAll,
1045
+ mouseleave: $xeNumberInput.numberStopAll
1046
+ }
1047
+ }, [
1048
+ h('i', {
1049
+ class: minusIcon || getIcon().NUMBER_INPUT_MINUS_NUM
1050
+ })
1051
+ ]);
1052
+ },
1053
+ renderPlusBtn(h) {
1054
+ const $xeNumberInput = this;
1055
+ const props = $xeNumberInput;
1056
+ const { plusIcon } = props;
1057
+ const isDisabledAddNumber = $xeNumberInput.computeIsDisabledAddNumber;
1058
+ return h('button', {
1059
+ key: 'next',
1060
+ class: ['vxe-number-input--plus-btn is--plus', {
1061
+ 'is--disabled': isDisabledAddNumber
1062
+ }],
1063
+ attrs: {
1064
+ type: 'button'
1065
+ },
1066
+ on: {
1067
+ click: $xeNumberInput.numberClickEvent,
1068
+ mousedown: $xeNumberInput.numberMousedownEvent,
1069
+ mouseup: $xeNumberInput.numberStopAll,
1070
+ mouseleave: $xeNumberInput.numberStopAll
1071
+ }
1072
+ }, [
1073
+ h('i', {
1074
+ class: plusIcon || getIcon().NUMBER_INPUT_PLUS_NUM
1075
+ })
1076
+ ]);
1077
+ },
1078
+ renderSideControl(h) {
1079
+ const $xeNumberInput = this;
1080
+ return h('div', {
1081
+ key: 'cplr',
1082
+ class: 'vxe-number-input--side-control'
1083
+ }, [
1084
+ $xeNumberInput.renderPlusBtn(h),
1085
+ $xeNumberInput.renderMinusBtn(h)
1086
+ ]);
1087
+ },
1088
+ renderVN(h) {
1089
+ const $xeNumberInput = this;
1090
+ const props = $xeNumberInput;
1091
+ const reactData = $xeNumberInput.reactData;
1092
+ const slots = $xeNumberInput.$scopedSlots;
1093
+ const { className, controls, type, align, prefixIcon, suffixIcon } = props;
1094
+ const { inputValue, isActivated } = reactData;
1095
+ const vSize = $xeNumberInput.computeSize;
1096
+ const controlOpts = $xeNumberInput.computeControlOpts;
1097
+ const { layout, showButton } = controlOpts;
1098
+ const isDisabled = $xeNumberInput.computeIsDisabled;
1099
+ const formReadonly = $xeNumberInput.computeFormReadonly;
1100
+ const numLabel = $xeNumberInput.computeNumLabel;
1101
+ const prefixSlot = slots.prefix;
1102
+ const suffixSlot = slots.suffix;
1103
+ if (formReadonly) {
1104
+ return h('div', {
1105
+ ref: 'refElem',
1106
+ class: ['vxe-number-input--readonly', `type--${type}`, className]
1107
+ }, numLabel);
1108
+ }
1109
+ const inputReadonly = $xeNumberInput.computeInputReadonly;
1110
+ const isClearable = $xeNumberInput.computeIsClearable;
1111
+ const isControls = isEnableConf(controlOpts) && (controls === false ? controls : showButton);
1112
+ return h('div', {
1113
+ ref: 'refElem',
1114
+ class: ['vxe-number-input', `type--${type}`, `ctl--${layout === 'right' || layout === 'left' ? layout : 'default'}`, className, {
1115
+ [`size--${vSize}`]: vSize,
1116
+ [`is--${align}`]: align,
1117
+ 'is--controls': isControls && !inputReadonly,
1118
+ 'is--prefix': !!prefixSlot || prefixIcon,
1119
+ 'is--suffix': !!suffixSlot || suffixIcon,
1120
+ 'is--disabled': isDisabled,
1121
+ 'is--active': isActivated,
1122
+ 'show--clear': isClearable && !isDisabled && !(inputValue === '' || XEUtils.eqNull(inputValue))
1123
+ }],
1124
+ attrs: {
1125
+ spellcheck: false
1126
+ }
1127
+ }, isControls
1128
+ ? (layout === 'right'
1129
+ ? [
1130
+ $xeNumberInput.renderInput(h),
1131
+ $xeNumberInput.renderSideControl(h)
1132
+ ]
1133
+ : (layout === 'left'
1134
+ ? [
1135
+ $xeNumberInput.renderSideControl(h),
1136
+ $xeNumberInput.renderInput(h)
1137
+ ]
1138
+ : [
1139
+ $xeNumberInput.renderMinusBtn(h),
1140
+ $xeNumberInput.renderInput(h),
1141
+ $xeNumberInput.renderPlusBtn(h)
1142
+ ]))
1143
+ : [
1144
+ $xeNumberInput.renderInput(h)
1145
+ ]);
1146
+ }
1147
+ },
1148
+ watch: {
1149
+ value(val) {
1150
+ const $xeNumberInput = this;
1151
+ const internalData = $xeNumberInput.internalData;
1152
+ if (!internalData.isUM) {
1153
+ this.updateModel(val);
1154
+ }
1155
+ internalData.isUM = false;
1156
+ },
1157
+ type() {
1158
+ const $xeNumberInput = this;
1159
+ const props = $xeNumberInput;
1160
+ const reactData = $xeNumberInput.reactData;
1161
+ // 切换类型是重置内置变量
1162
+ Object.assign(reactData, {
1163
+ inputValue: props.value
1164
+ });
1165
+ $xeNumberInput.initValue();
1166
+ }
1167
+ },
1168
+ created() {
1169
+ const $xeNumberInput = this;
1170
+ const props = $xeNumberInput;
1171
+ this.updateModel(props.value);
1172
+ $xeNumberInput.initValue();
1173
+ },
1174
+ mounted() {
1175
+ const $xeNumberInput = this;
1176
+ const targetElem = $xeNumberInput.$refs.refInputTarget;
1177
+ if (targetElem) {
1178
+ targetElem.addEventListener('wheel', $xeNumberInput.wheelEvent, { passive: false });
1179
+ }
1180
+ globalEvents.on($xeNumberInput, 'mousedown', $xeNumberInput.handleGlobalMousedownEvent);
1181
+ globalEvents.on($xeNumberInput, 'keydown', $xeNumberInput.handleGlobalKeydownEvent);
1182
+ globalEvents.on($xeNumberInput, 'blur', $xeNumberInput.handleGlobalBlurEvent);
1183
+ },
1184
+ beforeDestroy() {
1185
+ const $xeNumberInput = this;
1186
+ const reactData = $xeNumberInput.reactData;
1187
+ reactData.isFocus = false;
1188
+ $xeNumberInput.numberStopAll();
1189
+ $xeNumberInput.afterCheckValue();
1190
+ const targetElem = $xeNumberInput.$refs.refInputTarget;
1191
+ if (targetElem) {
1192
+ targetElem.removeEventListener('wheel', $xeNumberInput.wheelEvent);
1193
+ }
1194
+ globalEvents.off($xeNumberInput, 'mousedown');
1195
+ globalEvents.off($xeNumberInput, 'keydown');
1196
+ globalEvents.off($xeNumberInput, 'blur');
1197
+ },
1198
+ render(h) {
1199
+ return this.renderVN(h);
1200
+ }
1201
+ };