vxe-pc-ui 3.16.0 → 3.16.1

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 (2029) 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 +1987 -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.1783439857168.ttf +0 -0
  145. package/es/icon/iconfont.1783439857168.woff +0 -0
  146. package/es/icon/iconfont.1783439857168.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.1783439857168.ttf +0 -0
  156. package/es/iconfont.1783439857168.woff +0 -0
  157. package/es/iconfont.1783439857168.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 +2078 -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 +2099 -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.1783439857168.ttf +0 -0
  999. package/lib/icon/style/iconfont.1783439857168.woff +0 -0
  1000. package/lib/icon/style/iconfont.1783439857168.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.1783439857168.ttf +0 -0
  1012. package/lib/iconfont.1783439857168.woff +0 -0
  1013. package/lib/iconfont.1783439857168.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 +2172 -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/types/all.d.ts +72 -0
@@ -0,0 +1,1227 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _comp = require("../../ui/src/comp");
9
+ var _xeUtils = _interopRequireDefault(require("xe-utils"));
10
+ var _ui = require("../../ui");
11
+ var _utils = require("../../ui/src/utils");
12
+ var _dom = require("../../ui/src/dom");
13
+ var _vn = require("../../ui/src/vn");
14
+ var _util = require("./util");
15
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
19
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
20
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
21
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
22
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
23
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
24
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
25
+ var handleNumberString = function handleNumberString(val) {
26
+ if (_xeUtils.default.eqNull(val)) {
27
+ return '';
28
+ }
29
+ return "".concat(val);
30
+ };
31
+ var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defineVxeComponent)({
32
+ name: 'VxeNumberInput',
33
+ mixins: [_ui.globalMixins.sizeMixin],
34
+ model: {
35
+ prop: 'value',
36
+ event: 'modelValue'
37
+ },
38
+ props: {
39
+ value: [String, Number],
40
+ immediate: {
41
+ type: Boolean,
42
+ default: true
43
+ },
44
+ name: String,
45
+ type: {
46
+ type: String,
47
+ default: 'number'
48
+ },
49
+ clearable: {
50
+ type: Boolean,
51
+ default: function _default() {
52
+ return (0, _ui.getConfig)().numberInput.clearable;
53
+ }
54
+ },
55
+ readonly: {
56
+ type: Boolean,
57
+ default: null
58
+ },
59
+ disabled: {
60
+ type: Boolean,
61
+ default: null
62
+ },
63
+ placeholder: String,
64
+ maxLength: {
65
+ type: [String, Number],
66
+ default: function _default() {
67
+ return (0, _ui.getConfig)().numberInput.maxLength;
68
+ }
69
+ },
70
+ autoComplete: {
71
+ type: String,
72
+ default: 'off'
73
+ },
74
+ align: String,
75
+ form: String,
76
+ className: String,
77
+ size: {
78
+ type: String,
79
+ default: function _default() {
80
+ return (0, _ui.getConfig)().numberInput.size || (0, _ui.getConfig)().size;
81
+ }
82
+ },
83
+ min: {
84
+ type: [String, Number],
85
+ default: null
86
+ },
87
+ max: {
88
+ type: [String, Number],
89
+ default: null
90
+ },
91
+ step: [String, Number],
92
+ exponential: {
93
+ type: Boolean,
94
+ default: function _default() {
95
+ return (0, _ui.getConfig)().numberInput.exponential;
96
+ }
97
+ },
98
+ showCurrency: {
99
+ type: Boolean,
100
+ default: function _default() {
101
+ return (0, _ui.getConfig)().numberInput.showCurrency;
102
+ }
103
+ },
104
+ currencySymbol: {
105
+ type: String,
106
+ default: function _default() {
107
+ return (0, _ui.getConfig)().numberInput.currencySymbol;
108
+ }
109
+ },
110
+ controlConfig: Object,
111
+ // number、float、amount
112
+ roundingMode: {
113
+ type: String,
114
+ default: function _default() {
115
+ return (0, _ui.getConfig)().numberInput.roundingMode;
116
+ }
117
+ },
118
+ // float、amount
119
+ digits: {
120
+ type: [String, Number],
121
+ default: null
122
+ },
123
+ autoFill: {
124
+ type: Boolean,
125
+ default: function _default() {
126
+ return (0, _ui.getConfig)().numberInput.autoFill;
127
+ }
128
+ },
129
+ editable: {
130
+ type: Boolean,
131
+ default: true
132
+ },
133
+ plusIcon: String,
134
+ minusIcon: String,
135
+ prefixIcon: String,
136
+ prefixConfig: Object,
137
+ suffixIcon: String,
138
+ suffixConfig: Object,
139
+ // 已废弃
140
+ controls: {
141
+ type: Boolean,
142
+ default: null
143
+ },
144
+ // 已废弃
145
+ maxlength: [String, Number],
146
+ // 已废弃
147
+ autocomplete: String
148
+ },
149
+ inject: {
150
+ $xeForm: {
151
+ default: null
152
+ },
153
+ formItemInfo: {
154
+ from: 'xeFormItemInfo',
155
+ default: null
156
+ }
157
+ },
158
+ data: function data() {
159
+ var xID = _xeUtils.default.uniqueId();
160
+ var reactData = {
161
+ isFocus: false,
162
+ isActivated: false,
163
+ inputValue: ''
164
+ };
165
+ var internalData = {
166
+ // dnTimeout: undefined,
167
+ // ainTimeout: undefined,
168
+ // isMouseDown: undefined,
169
+ // isUM: undefined
170
+ };
171
+ return {
172
+ xID: xID,
173
+ reactData: reactData,
174
+ internalData: internalData
175
+ };
176
+ },
177
+ computed: Object.assign(Object.assign({}, {}), {
178
+ computeFormReadonly: function computeFormReadonly() {
179
+ var $xeNumberInput = this;
180
+ var props = $xeNumberInput;
181
+ var $xeForm = $xeNumberInput.$xeForm;
182
+ var readonly = props.readonly;
183
+ if (readonly === null) {
184
+ if ($xeForm) {
185
+ return $xeForm.readonly;
186
+ }
187
+ return false;
188
+ }
189
+ return readonly;
190
+ },
191
+ computeIsDisabled: function computeIsDisabled() {
192
+ var $xeNumberInput = this;
193
+ var props = $xeNumberInput;
194
+ var $xeForm = $xeNumberInput.$xeForm;
195
+ var disabled = props.disabled;
196
+ if (disabled === null) {
197
+ if ($xeForm) {
198
+ return $xeForm.disabled;
199
+ }
200
+ return false;
201
+ }
202
+ return disabled;
203
+ },
204
+ computeDigitsValue: function computeDigitsValue() {
205
+ var $xeNumberInput = this;
206
+ var props = $xeNumberInput;
207
+ var type = props.type,
208
+ digits = props.digits;
209
+ var defDigits = digits;
210
+ if (defDigits === null) {
211
+ defDigits = (0, _ui.getConfig)().numberInput.digits;
212
+ if (defDigits === null) {
213
+ if (type === 'amount') {
214
+ defDigits = 2;
215
+ }
216
+ }
217
+ }
218
+ return _xeUtils.default.toInteger(defDigits) || 1;
219
+ },
220
+ computeControlOpts: function computeControlOpts() {
221
+ var $xeNumberInput = this;
222
+ var props = $xeNumberInput;
223
+ return Object.assign({}, (0, _ui.getConfig)().numberInput.controlConfig, props.controlConfig);
224
+ },
225
+ computePrefixOpts: function computePrefixOpts() {
226
+ var $xeNumberInput = this;
227
+ var props = $xeNumberInput;
228
+ return Object.assign({}, (0, _ui.getConfig)().numberInput.prefixConfig, props.prefixConfig);
229
+ },
230
+ computeSuffixOpts: function computeSuffixOpts() {
231
+ var $xeNumberInput = this;
232
+ var props = $xeNumberInput;
233
+ return Object.assign({}, (0, _ui.getConfig)().numberInput.suffixConfig, props.suffixConfig);
234
+ },
235
+ computeDecimalsType: function computeDecimalsType() {
236
+ var $xeNumberInput = this;
237
+ var props = $xeNumberInput;
238
+ var type = props.type;
239
+ return type === 'float' || type === 'amount';
240
+ },
241
+ computeStepValue: function computeStepValue() {
242
+ var $xeNumberInput = this;
243
+ var props = $xeNumberInput;
244
+ var type = props.type;
245
+ var digitsValue = $xeNumberInput.computeDigitsValue;
246
+ var decimalsType = $xeNumberInput.computeDecimalsType;
247
+ var step = props.step;
248
+ if (type === 'integer') {
249
+ return _xeUtils.default.toInteger(step) || 1;
250
+ } else if (decimalsType) {
251
+ return _xeUtils.default.toNumber(step) || 1 / Math.pow(10, digitsValue);
252
+ }
253
+ return _xeUtils.default.toNumber(step) || 1;
254
+ },
255
+ computeIsClearable: function computeIsClearable() {
256
+ var $xeNumberInput = this;
257
+ var props = $xeNumberInput;
258
+ return props.clearable;
259
+ },
260
+ computeInputReadonly: function computeInputReadonly() {
261
+ var $xeNumberInput = this;
262
+ var props = $xeNumberInput;
263
+ var editable = props.editable;
264
+ var formReadonly = $xeNumberInput.computeFormReadonly;
265
+ return formReadonly || !editable;
266
+ },
267
+ computeInpPlaceholder: function computeInpPlaceholder() {
268
+ var $xeNumberInput = this;
269
+ var props = $xeNumberInput;
270
+ var placeholder = props.placeholder;
271
+ if (placeholder) {
272
+ return (0, _utils.getFuncText)(placeholder);
273
+ }
274
+ var globalPlaceholder = (0, _ui.getConfig)().numberInput.placeholder;
275
+ if (globalPlaceholder) {
276
+ return (0, _utils.getFuncText)(globalPlaceholder);
277
+ }
278
+ return (0, _ui.getI18n)('vxe.base.pleaseInput');
279
+ },
280
+ computeInpMaxLength: function computeInpMaxLength() {
281
+ var $xeNumberInput = this;
282
+ var props = $xeNumberInput;
283
+ var type = props.type,
284
+ maxLength = props.maxLength,
285
+ maxlength = props.maxlength,
286
+ min = props.min,
287
+ max = props.max;
288
+ var digitsValue = $xeNumberInput.computeDigitsValue;
289
+ // 数值最大长度默认限制 16 位,包含小数
290
+ var maxDefLen = 16;
291
+ if (!(0, _utils.eqEmptyValue)(min) && !(0, _utils.eqEmptyValue)(max)) {
292
+ return "".concat(max).length + (type === 'integer' ? 0 : digitsValue + 1) + (_xeUtils.default.toNumber(min) >= 0 ? 0 : 1);
293
+ }
294
+ if (maxLength || maxlength) {
295
+ return _xeUtils.default.toNumber(maxLength || maxlength);
296
+ }
297
+ return maxDefLen;
298
+ },
299
+ computeInpImmediate: function computeInpImmediate() {
300
+ var $xeNumberInput = this;
301
+ var props = $xeNumberInput;
302
+ var immediate = props.immediate;
303
+ return immediate;
304
+ },
305
+ computeNumValue: function computeNumValue() {
306
+ var $xeNumberInput = this;
307
+ var props = $xeNumberInput;
308
+ var reactData = $xeNumberInput.reactData;
309
+ var type = props.type;
310
+ var inputValue = reactData.inputValue;
311
+ return type === 'integer' ? _xeUtils.default.toInteger((0, _util.handleNumber)(inputValue)) : _xeUtils.default.toNumber((0, _util.handleNumber)(inputValue));
312
+ },
313
+ computeNumLabel: function computeNumLabel() {
314
+ var $xeNumberInput = this;
315
+ var props = $xeNumberInput;
316
+ var reactData = $xeNumberInput.reactData;
317
+ var type = props.type,
318
+ roundingMode = props.roundingMode,
319
+ showCurrency = props.showCurrency,
320
+ currencySymbol = props.currencySymbol,
321
+ autoFill = props.autoFill;
322
+ var inputValue = reactData.inputValue;
323
+ var digitsValue = $xeNumberInput.computeDigitsValue;
324
+ if (type === 'amount') {
325
+ var num = _xeUtils.default.toNumber(inputValue);
326
+ var cfyOpts = {
327
+ digits: digitsValue
328
+ };
329
+ if (roundingMode === 'floor') {
330
+ cfyOpts.floor = true;
331
+ } else if (roundingMode === 'ceil') {
332
+ cfyOpts.ceil = true;
333
+ } else {
334
+ cfyOpts.round = true;
335
+ }
336
+ var amountLabel = _xeUtils.default.commafy(num, cfyOpts);
337
+ if (!autoFill) {
338
+ var _amountLabel$split = amountLabel.split('.'),
339
+ _amountLabel$split2 = _slicedToArray(_amountLabel$split, 2),
340
+ iStr = _amountLabel$split2[0],
341
+ dStr = _amountLabel$split2[1];
342
+ if (dStr) {
343
+ var dRest = dStr.replace(/0+$/, '');
344
+ amountLabel = dRest ? [iStr, '.', dRest].join('') : iStr;
345
+ }
346
+ }
347
+ if (showCurrency) {
348
+ return "".concat(currencySymbol || (0, _ui.getI18n)('vxe.numberInput.currencySymbol') || '').concat(amountLabel);
349
+ }
350
+ return amountLabel;
351
+ }
352
+ return _xeUtils.default.toString(inputValue);
353
+ },
354
+ computeIsDisabledSubtractNumber: function computeIsDisabledSubtractNumber() {
355
+ var $xeNumberInput = this;
356
+ var props = $xeNumberInput;
357
+ var reactData = $xeNumberInput.reactData;
358
+ var min = props.min;
359
+ var inputValue = reactData.inputValue;
360
+ var numValue = $xeNumberInput.computeNumValue;
361
+ // 当有值时再进行判断
362
+ if ((inputValue || inputValue === 0) && min !== null) {
363
+ return numValue <= _xeUtils.default.toNumber(min);
364
+ }
365
+ return false;
366
+ },
367
+ computeIsDisabledAddNumber: function computeIsDisabledAddNumber() {
368
+ var $xeNumberInput = this;
369
+ var props = $xeNumberInput;
370
+ var reactData = $xeNumberInput.reactData;
371
+ var max = props.max;
372
+ var inputValue = reactData.inputValue;
373
+ var numValue = $xeNumberInput.computeNumValue;
374
+ // 当有值时再进行判断
375
+ if ((inputValue || inputValue === 0) && max !== null) {
376
+ return numValue >= _xeUtils.default.toNumber(max);
377
+ }
378
+ return false;
379
+ }
380
+ }),
381
+ methods: {
382
+ //
383
+ // Method
384
+ //
385
+ dispatchEvent: function dispatchEvent(type, params, evnt) {
386
+ var $xeNumberInput = this;
387
+ $xeNumberInput.$emit(type, (0, _ui.createEvent)(evnt, {
388
+ $numberInput: $xeNumberInput
389
+ }, params));
390
+ },
391
+ emitModel: function emitModel(value) {
392
+ var $xeNumberInput = this;
393
+ var _events = $xeNumberInput._events;
394
+ if (_events && _events.modelValue) {
395
+ $xeNumberInput.$emit('modelValue', value);
396
+ } else {
397
+ $xeNumberInput.$emit('model-value', value);
398
+ }
399
+ },
400
+ focus: function focus() {
401
+ var $xeNumberInput = this;
402
+ var reactData = $xeNumberInput.reactData;
403
+ var inputReadonly = $xeNumberInput.computeInputReadonly;
404
+ if (!inputReadonly) {
405
+ var inputElem = $xeNumberInput.$refs.refInputTarget;
406
+ reactData.isActivated = true;
407
+ inputElem.focus();
408
+ }
409
+ return $xeNumberInput.$nextTick();
410
+ },
411
+ blur: function blur() {
412
+ var $xeNumberInput = this;
413
+ var reactData = $xeNumberInput.reactData;
414
+ var inputElem = $xeNumberInput.$refs.refInputTarget;
415
+ inputElem.blur();
416
+ reactData.isActivated = false;
417
+ return $xeNumberInput.$nextTick();
418
+ },
419
+ select: function select() {
420
+ var $xeNumberInput = this;
421
+ var reactData = $xeNumberInput.reactData;
422
+ var inputElem = $xeNumberInput.$refs.refInputTarget;
423
+ inputElem.select();
424
+ reactData.isActivated = false;
425
+ return $xeNumberInput.$nextTick();
426
+ },
427
+ getNumberValue: function getNumberValue(val) {
428
+ var $xeNumberInput = this;
429
+ var props = $xeNumberInput;
430
+ var type = props.type,
431
+ exponential = props.exponential,
432
+ roundingMode = props.roundingMode,
433
+ autoFill = props.autoFill;
434
+ var inpMaxLength = $xeNumberInput.computeInpMaxLength;
435
+ var digitsValue = $xeNumberInput.computeDigitsValue;
436
+ var decimalsType = $xeNumberInput.computeDecimalsType;
437
+ var restVal = '';
438
+ if (decimalsType) {
439
+ restVal = (0, _util.toFloatValueFixed)(val, type, digitsValue, roundingMode);
440
+ if (!autoFill) {
441
+ restVal = handleNumberString(_xeUtils.default.toNumber(restVal));
442
+ }
443
+ } else {
444
+ restVal = handleNumberString(val);
445
+ }
446
+ if (exponential && (val === restVal || handleNumberString(val).toLowerCase() === _xeUtils.default.toNumber(restVal).toExponential())) {
447
+ return val;
448
+ }
449
+ return restVal.slice(0, inpMaxLength);
450
+ },
451
+ triggerEvent: function triggerEvent(evnt) {
452
+ var $xeNumberInput = this;
453
+ var reactData = $xeNumberInput.reactData;
454
+ var inputValue = reactData.inputValue;
455
+ $xeNumberInput.dispatchEvent(evnt.type, {
456
+ value: inputValue
457
+ }, evnt);
458
+ },
459
+ handleChange: function handleChange(val, inputValue, evnt) {
460
+ var $xeNumberInput = this;
461
+ var props = $xeNumberInput;
462
+ var reactData = $xeNumberInput.reactData;
463
+ var internalData = $xeNumberInput.internalData;
464
+ var $xeForm = $xeNumberInput.$xeForm;
465
+ var formItemInfo = $xeNumberInput.formItemInfo;
466
+ var value = (0, _utils.eqEmptyValue)(val) ? null : Number(val);
467
+ var isChange = value !== props.value;
468
+ if (isChange) {
469
+ internalData.isUM = true;
470
+ $xeNumberInput.emitModel(value);
471
+ }
472
+ if (reactData.inputValue !== inputValue) {
473
+ $xeNumberInput.$nextTick(function () {
474
+ reactData.inputValue = inputValue || '';
475
+ });
476
+ }
477
+ $xeNumberInput.dispatchEvent('input', {
478
+ value: value
479
+ }, evnt);
480
+ if (isChange) {
481
+ $xeNumberInput.dispatchEvent('change', {
482
+ value: value
483
+ }, evnt);
484
+ // 自动更新校验状态
485
+ if ($xeForm && formItemInfo) {
486
+ $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value);
487
+ }
488
+ }
489
+ },
490
+ emitInputEvent: function emitInputEvent(inputValue, evnt) {
491
+ var $xeNumberInput = this;
492
+ var reactData = $xeNumberInput.reactData;
493
+ var inpImmediate = $xeNumberInput.computeInpImmediate;
494
+ var value = inputValue === (0, _utils.eqEmptyValue)(inputValue) ? null : _xeUtils.default.toNumber(inputValue);
495
+ reactData.inputValue = inputValue;
496
+ if (inpImmediate) {
497
+ $xeNumberInput.handleChange(value, inputValue, evnt);
498
+ } else {
499
+ $xeNumberInput.dispatchEvent('input', {
500
+ value: value
501
+ }, evnt);
502
+ }
503
+ },
504
+ inputEvent: function inputEvent(evnt) {
505
+ var $xeNumberInput = this;
506
+ var inputElem = evnt.target;
507
+ var value = inputElem.value;
508
+ $xeNumberInput.emitInputEvent(value, evnt);
509
+ },
510
+ changeEvent: function changeEvent(evnt) {
511
+ var $xeNumberInput = this;
512
+ var reactData = $xeNumberInput.reactData;
513
+ var inpImmediate = $xeNumberInput.computeInpImmediate;
514
+ if (!inpImmediate) {
515
+ $xeNumberInput.triggerEvent(evnt);
516
+ }
517
+ $xeNumberInput.dispatchEvent('lazy-change', {
518
+ value: reactData.inputValue
519
+ }, evnt);
520
+ },
521
+ focusEvent: function focusEvent(evnt) {
522
+ var $xeNumberInput = this;
523
+ var reactData = $xeNumberInput.reactData;
524
+ var inputReadonly = $xeNumberInput.computeInputReadonly;
525
+ if (!inputReadonly) {
526
+ var inputValue = reactData.inputValue;
527
+ reactData.inputValue = (0, _utils.eqEmptyValue)(inputValue) ? '' : "".concat(_xeUtils.default.toNumber(inputValue));
528
+ reactData.isFocus = true;
529
+ reactData.isActivated = true;
530
+ $xeNumberInput.triggerEvent(evnt);
531
+ }
532
+ },
533
+ clickPrefixEvent: function clickPrefixEvent(evnt) {
534
+ var $xeNumberInput = this;
535
+ var reactData = $xeNumberInput.reactData;
536
+ var isDisabled = $xeNumberInput.computeIsDisabled;
537
+ if (!isDisabled) {
538
+ var inputValue = reactData.inputValue;
539
+ $xeNumberInput.dispatchEvent('prefix-click', {
540
+ value: inputValue
541
+ }, evnt);
542
+ }
543
+ },
544
+ clearValueEvent: function clearValueEvent(evnt, value) {
545
+ var $xeNumberInput = this;
546
+ $xeNumberInput.focus();
547
+ $xeNumberInput.handleChange(null, '', evnt);
548
+ $xeNumberInput.dispatchEvent('clear', {
549
+ value: value
550
+ }, evnt);
551
+ $xeNumberInput.dispatchEvent('lazy-change', {
552
+ value: value
553
+ }, evnt);
554
+ },
555
+ clickSuffixEvent: function clickSuffixEvent(evnt) {
556
+ var $xeNumberInput = this;
557
+ var reactData = $xeNumberInput.reactData;
558
+ var isDisabled = $xeNumberInput.computeIsDisabled;
559
+ if (!isDisabled) {
560
+ var inputValue = reactData.inputValue;
561
+ $xeNumberInput.dispatchEvent('suffix-click', {
562
+ value: inputValue
563
+ }, evnt);
564
+ }
565
+ },
566
+ updateModel: function updateModel(val) {
567
+ var $xeNumberInput = this;
568
+ var props = $xeNumberInput;
569
+ var reactData = $xeNumberInput.reactData;
570
+ var type = props.type,
571
+ roundingMode = props.roundingMode,
572
+ autoFill = props.autoFill;
573
+ var inputValue = reactData.inputValue;
574
+ var digitsValue = $xeNumberInput.computeDigitsValue;
575
+ var decimalsType = $xeNumberInput.computeDecimalsType;
576
+ if ((0, _utils.eqEmptyValue)(val)) {
577
+ reactData.inputValue = '';
578
+ } else {
579
+ var textValue = '' + val;
580
+ if (decimalsType) {
581
+ textValue = (0, _util.toFloatValueFixed)(val, type, digitsValue, roundingMode);
582
+ if (!autoFill) {
583
+ textValue = '' + _xeUtils.default.toNumber(textValue);
584
+ }
585
+ }
586
+ if (textValue !== inputValue) {
587
+ reactData.inputValue = textValue;
588
+ }
589
+ }
590
+ },
591
+ /**
592
+ * 检查初始值
593
+ */
594
+ initValue: function initValue() {
595
+ var $xeNumberInput = this;
596
+ var props = $xeNumberInput;
597
+ var reactData = $xeNumberInput.reactData;
598
+ var type = props.type,
599
+ roundingMode = props.roundingMode,
600
+ autoFill = props.autoFill;
601
+ var inputValue = reactData.inputValue;
602
+ var digitsValue = $xeNumberInput.computeDigitsValue;
603
+ var decimalsType = $xeNumberInput.computeDecimalsType;
604
+ if (decimalsType) {
605
+ if (inputValue) {
606
+ var textValue = '';
607
+ var validValue = null;
608
+ if (inputValue) {
609
+ textValue = (0, _util.toFloatValueFixed)(inputValue, type, digitsValue, roundingMode);
610
+ validValue = _xeUtils.default.toNumber(textValue);
611
+ if (!autoFill) {
612
+ textValue = "".concat(validValue);
613
+ }
614
+ }
615
+ if (inputValue !== validValue) {
616
+ $xeNumberInput.handleChange(validValue, textValue, {
617
+ type: 'init'
618
+ });
619
+ } else {
620
+ reactData.inputValue = textValue;
621
+ }
622
+ }
623
+ }
624
+ },
625
+ validMaxNum: function validMaxNum(num) {
626
+ var $xeNumberInput = this;
627
+ var props = $xeNumberInput;
628
+ return props.max === null || props.max === '' || _xeUtils.default.toNumber(num) <= _xeUtils.default.toNumber(props.max);
629
+ },
630
+ validMinNum: function validMinNum(num) {
631
+ var $xeNumberInput = this;
632
+ var props = $xeNumberInput;
633
+ return props.min === null || props.min === '' || _xeUtils.default.toNumber(num) >= _xeUtils.default.toNumber(props.min);
634
+ },
635
+ afterCheckValue: function afterCheckValue() {
636
+ var $xeNumberInput = this;
637
+ var props = $xeNumberInput;
638
+ var reactData = $xeNumberInput.reactData;
639
+ var type = props.type,
640
+ min = props.min,
641
+ max = props.max,
642
+ exponential = props.exponential;
643
+ var inputValue = reactData.inputValue;
644
+ var inputReadonly = $xeNumberInput.computeInputReadonly;
645
+ if (!inputReadonly) {
646
+ if ((0, _utils.eqEmptyValue)(inputValue)) {
647
+ var inpNumVal = null;
648
+ var inpValue = inputValue;
649
+ if (min || min === 0) {
650
+ inpNumVal = _xeUtils.default.toNumber(min);
651
+ inpValue = "".concat(inpNumVal);
652
+ }
653
+ $xeNumberInput.handleChange(inpNumVal, "".concat(inpValue || ''), {
654
+ type: 'check'
655
+ });
656
+ return;
657
+ }
658
+ if (inputValue || min || max) {
659
+ var _inpNumVal = type === 'integer' ? _xeUtils.default.toInteger((0, _util.handleNumber)(inputValue)) : _xeUtils.default.toNumber((0, _util.handleNumber)(inputValue));
660
+ if (!$xeNumberInput.validMinNum(_inpNumVal)) {
661
+ _inpNumVal = min;
662
+ } else if (!$xeNumberInput.validMaxNum(_inpNumVal)) {
663
+ _inpNumVal = max;
664
+ }
665
+ if (exponential) {
666
+ var inpStringVal = handleNumberString(inputValue).toLowerCase();
667
+ if (inpStringVal === _xeUtils.default.toNumber(_inpNumVal).toExponential()) {
668
+ _inpNumVal = inpStringVal;
669
+ }
670
+ }
671
+ var _inpValue = $xeNumberInput.getNumberValue(_inpNumVal);
672
+ $xeNumberInput.handleChange((0, _utils.eqEmptyValue)(_inpValue) ? null : Number(_inpValue), _inpValue, {
673
+ type: 'check'
674
+ });
675
+ }
676
+ }
677
+ },
678
+ blurEvent: function blurEvent(evnt) {
679
+ var $xeNumberInput = this;
680
+ var reactData = $xeNumberInput.reactData;
681
+ var $xeForm = $xeNumberInput.$xeForm;
682
+ var formItemInfo = $xeNumberInput.formItemInfo;
683
+ var inputValue = reactData.inputValue;
684
+ var inpImmediate = $xeNumberInput.computeInpImmediate;
685
+ var value = inputValue ? Number(inputValue) : null;
686
+ if (!inpImmediate) {
687
+ $xeNumberInput.handleChange(value, handleNumberString(inputValue), evnt);
688
+ }
689
+ $xeNumberInput.afterCheckValue();
690
+ reactData.isFocus = false;
691
+ reactData.isActivated = false;
692
+ $xeNumberInput.dispatchEvent('blur', {
693
+ value: value
694
+ }, evnt);
695
+ // 自动更新校验状态
696
+ if ($xeForm && formItemInfo) {
697
+ $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value);
698
+ }
699
+ },
700
+ // 数值
701
+ numberChange: function numberChange(isPlus, evnt) {
702
+ var $xeNumberInput = this;
703
+ var props = $xeNumberInput;
704
+ var reactData = $xeNumberInput.reactData;
705
+ var min = props.min,
706
+ max = props.max,
707
+ type = props.type;
708
+ var inputValue = reactData.inputValue;
709
+ var stepValue = $xeNumberInput.computeStepValue;
710
+ var numValue = type === 'integer' ? _xeUtils.default.toInteger((0, _util.handleNumber)(inputValue)) : _xeUtils.default.toNumber((0, _util.handleNumber)(inputValue));
711
+ var newValue = isPlus ? _xeUtils.default.add(numValue, stepValue) : _xeUtils.default.subtract(numValue, stepValue);
712
+ var restNum;
713
+ if (!$xeNumberInput.validMinNum(newValue)) {
714
+ restNum = min;
715
+ } else if (!$xeNumberInput.validMaxNum(newValue)) {
716
+ restNum = max;
717
+ } else {
718
+ restNum = newValue;
719
+ }
720
+ $xeNumberInput.emitInputEvent($xeNumberInput.getNumberValue(restNum), evnt);
721
+ },
722
+ numberPlusEvent: function numberPlusEvent(evnt) {
723
+ var $xeNumberInput = this;
724
+ var reactData = $xeNumberInput.reactData;
725
+ var isDisabled = $xeNumberInput.computeIsDisabled;
726
+ var formReadonly = $xeNumberInput.computeFormReadonly;
727
+ var isDisabledAddNumber = $xeNumberInput.computeIsDisabledAddNumber;
728
+ if (!isDisabled && !formReadonly && !isDisabledAddNumber) {
729
+ $xeNumberInput.numberChange(true, evnt);
730
+ }
731
+ reactData.isActivated = true;
732
+ $xeNumberInput.dispatchEvent('plus-number', {
733
+ value: reactData.inputValue
734
+ }, evnt);
735
+ $xeNumberInput.dispatchEvent('lazy-change', {
736
+ value: reactData.inputValue
737
+ }, evnt);
738
+ // 已废弃
739
+ $xeNumberInput.dispatchEvent('next-number', {
740
+ value: reactData.inputValue
741
+ }, evnt);
742
+ },
743
+ numberMinusEvent: function numberMinusEvent(evnt) {
744
+ var $xeNumberInput = this;
745
+ var reactData = $xeNumberInput.reactData;
746
+ var isDisabled = $xeNumberInput.computeIsDisabled;
747
+ var formReadonly = $xeNumberInput.computeFormReadonly;
748
+ var isDisabledSubtractNumber = $xeNumberInput.computeIsDisabledSubtractNumber;
749
+ if (!isDisabled && !formReadonly && !isDisabledSubtractNumber) {
750
+ $xeNumberInput.numberChange(false, evnt);
751
+ }
752
+ reactData.isActivated = true;
753
+ $xeNumberInput.dispatchEvent('minus-number', {
754
+ value: reactData.inputValue
755
+ }, evnt);
756
+ $xeNumberInput.dispatchEvent('lazy-change', {
757
+ value: reactData.inputValue
758
+ }, evnt);
759
+ // 已废弃
760
+ $xeNumberInput.dispatchEvent('prev-number', {
761
+ value: reactData.inputValue
762
+ }, evnt);
763
+ },
764
+ numberKeydownEvent: function numberKeydownEvent(evnt) {
765
+ var $xeNumberInput = this;
766
+ var isUpArrow = _ui.globalEvents.hasKey(evnt, _ui.GLOBAL_EVENT_KEYS.ARROW_UP);
767
+ var isDwArrow = _ui.globalEvents.hasKey(evnt, _ui.GLOBAL_EVENT_KEYS.ARROW_DOWN);
768
+ if (isUpArrow || isDwArrow) {
769
+ evnt.preventDefault();
770
+ if (isUpArrow) {
771
+ $xeNumberInput.numberPlusEvent(evnt);
772
+ } else {
773
+ $xeNumberInput.numberMinusEvent(evnt);
774
+ }
775
+ }
776
+ },
777
+ keydownEvent: function keydownEvent(evnt) {
778
+ var $xeNumberInput = this;
779
+ var props = $xeNumberInput;
780
+ var type = props.type,
781
+ exponential = props.exponential,
782
+ controls = props.controls;
783
+ var controlOpts = $xeNumberInput.computeControlOpts;
784
+ var isArrow = controlOpts.isArrow;
785
+ var inputReadonly = $xeNumberInput.computeInputReadonly;
786
+ var isControlKey = (0, _dom.hasControlKey)(evnt);
787
+ var isShiftKey = evnt.shiftKey;
788
+ var isAltKey = evnt.altKey;
789
+ var keyCode = evnt.keyCode;
790
+ var isEsc = _ui.globalEvents.hasKey(evnt, _ui.GLOBAL_EVENT_KEYS.ESCAPE);
791
+ var isUpArrow = _ui.globalEvents.hasKey(evnt, _ui.GLOBAL_EVENT_KEYS.ARROW_UP);
792
+ var isDwArrow = _ui.globalEvents.hasKey(evnt, _ui.GLOBAL_EVENT_KEYS.ARROW_DOWN);
793
+ if (!isControlKey && !isShiftKey && !isAltKey) {
794
+ if (_ui.globalEvents.hasKey(evnt, _ui.GLOBAL_EVENT_KEYS.SPACEBAR) || type === 'integer' && keyCode === 110 || (!exponential || keyCode !== 69) && keyCode >= 65 && keyCode <= 90 || keyCode >= 186 && keyCode <= 188 || keyCode >= 191) {
795
+ evnt.preventDefault();
796
+ }
797
+ }
798
+ if (isEsc) {
799
+ $xeNumberInput.afterCheckValue();
800
+ } else if (isUpArrow || isDwArrow) {
801
+ if ((0, _utils.isEnableConf)(controlOpts) && (controls === false ? controls : isArrow) && !inputReadonly) {
802
+ $xeNumberInput.numberKeydownEvent(evnt);
803
+ }
804
+ }
805
+ $xeNumberInput.triggerEvent(evnt);
806
+ },
807
+ keyupEvent: function keyupEvent(evnt) {
808
+ var $xeNumberInput = this;
809
+ $xeNumberInput.triggerEvent(evnt);
810
+ },
811
+ // 数值
812
+ stopDown: function stopDown() {
813
+ var $xeNumberInput = this;
814
+ var internalData = $xeNumberInput.internalData;
815
+ var dnTimeout = internalData.dnTimeout;
816
+ if (dnTimeout) {
817
+ clearTimeout(dnTimeout);
818
+ internalData.dnTimeout = undefined;
819
+ }
820
+ },
821
+ stopAutoIncrement: function stopAutoIncrement() {
822
+ var $xeNumberInput = this;
823
+ var internalData = $xeNumberInput.internalData;
824
+ var ainTimeout = internalData.ainTimeout;
825
+ if (ainTimeout) {
826
+ clearTimeout(ainTimeout);
827
+ internalData.ainTimeout = undefined;
828
+ }
829
+ },
830
+ numberDownMinusEvent: function numberDownMinusEvent(evnt) {
831
+ var $xeNumberInput = this;
832
+ var internalData = $xeNumberInput.internalData;
833
+ $xeNumberInput.numberStopAll();
834
+ internalData.ainTimeout = setTimeout(function () {
835
+ $xeNumberInput.numberMinusEvent(evnt);
836
+ $xeNumberInput.numberDownMinusEvent(evnt);
837
+ }, 60);
838
+ },
839
+ numberDownPlusEvent: function numberDownPlusEvent(evnt) {
840
+ var $xeNumberInput = this;
841
+ var internalData = $xeNumberInput.internalData;
842
+ $xeNumberInput.numberStopAll();
843
+ internalData.ainTimeout = setTimeout(function () {
844
+ $xeNumberInput.numberPlusEvent(evnt);
845
+ $xeNumberInput.numberDownPlusEvent(evnt);
846
+ }, 60);
847
+ },
848
+ numberStopAll: function numberStopAll() {
849
+ var $xeNumberInput = this;
850
+ $xeNumberInput.stopDown();
851
+ $xeNumberInput.stopAutoIncrement();
852
+ },
853
+ numberClickEvent: function numberClickEvent(evnt) {
854
+ var $xeNumberInput = this;
855
+ var internalData = $xeNumberInput.internalData;
856
+ if (internalData.isMouseDown) {
857
+ internalData.isMouseDown = false;
858
+ } else {
859
+ $xeNumberInput.numberStopAll();
860
+ var isAddNumber = (0, _dom.hasClass)(evnt.currentTarget, 'is--plus');
861
+ if (isAddNumber) {
862
+ $xeNumberInput.numberPlusEvent(evnt);
863
+ } else {
864
+ $xeNumberInput.numberMinusEvent(evnt);
865
+ }
866
+ }
867
+ },
868
+ numberMousedownEvent: function numberMousedownEvent(evnt) {
869
+ var $xeNumberInput = this;
870
+ var internalData = $xeNumberInput.internalData;
871
+ $xeNumberInput.numberStopAll();
872
+ internalData.isMouseDown = true;
873
+ if (evnt.button === 0) {
874
+ var isAddNumber = (0, _dom.hasClass)(evnt.currentTarget, 'is--plus');
875
+ if (isAddNumber) {
876
+ $xeNumberInput.numberPlusEvent(evnt);
877
+ } else {
878
+ $xeNumberInput.numberMinusEvent(evnt);
879
+ }
880
+ internalData.dnTimeout = setTimeout(function () {
881
+ if (isAddNumber) {
882
+ $xeNumberInput.numberDownPlusEvent(evnt);
883
+ } else {
884
+ $xeNumberInput.numberDownMinusEvent(evnt);
885
+ }
886
+ }, 500);
887
+ }
888
+ },
889
+ wheelEvent: function wheelEvent(evnt) {
890
+ var $xeNumberInput = this;
891
+ var props = $xeNumberInput;
892
+ var reactData = $xeNumberInput.reactData;
893
+ var controls = props.controls;
894
+ var controlOpts = $xeNumberInput.computeControlOpts;
895
+ var isWheel = controlOpts.isWheel;
896
+ var inputReadonly = $xeNumberInput.computeInputReadonly;
897
+ if ((0, _utils.isEnableConf)(controlOpts) && (controls === false ? controls : isWheel) && !inputReadonly) {
898
+ if (reactData.isActivated) {
899
+ evnt.stopPropagation();
900
+ evnt.preventDefault();
901
+ var delta = evnt.deltaY;
902
+ if (delta > 0) {
903
+ // 向下
904
+ $xeNumberInput.numberMinusEvent(evnt);
905
+ } else if (delta < 0) {
906
+ // 向上
907
+ $xeNumberInput.numberPlusEvent(evnt);
908
+ }
909
+ }
910
+ }
911
+ $xeNumberInput.triggerEvent(evnt);
912
+ },
913
+ clickEvent: function clickEvent(evnt) {
914
+ var $xeNumberInput = this;
915
+ $xeNumberInput.triggerEvent(evnt);
916
+ },
917
+ // 全局事件
918
+ handleGlobalMousedownEvent: function handleGlobalMousedownEvent(evnt) {
919
+ var $xeNumberInput = this;
920
+ var reactData = $xeNumberInput.reactData;
921
+ var isActivated = reactData.isActivated;
922
+ var el = $xeNumberInput.$refs.refElem;
923
+ var panelElem = $xeNumberInput.$refs.refInputPanel;
924
+ var isDisabled = $xeNumberInput.computeIsDisabled;
925
+ var inpImmediate = $xeNumberInput.computeInpImmediate;
926
+ var inputReadonly = $xeNumberInput.computeInputReadonly;
927
+ if (!isDisabled && !inputReadonly && isActivated) {
928
+ reactData.isActivated = (0, _dom.getEventTargetNode)(evnt, el).flag || (0, _dom.getEventTargetNode)(evnt, panelElem).flag;
929
+ if (!reactData.isActivated) {
930
+ if (!inpImmediate) {
931
+ var inputValue = reactData.inputValue;
932
+ var value = inputValue ? Number(inputValue) : null;
933
+ $xeNumberInput.handleChange(value, handleNumberString(inputValue), evnt);
934
+ }
935
+ $xeNumberInput.afterCheckValue();
936
+ }
937
+ }
938
+ },
939
+ handleGlobalKeydownEvent: function handleGlobalKeydownEvent(evnt) {
940
+ var $xeNumberInput = this;
941
+ var props = $xeNumberInput;
942
+ var reactData = $xeNumberInput.reactData;
943
+ var clearable = props.clearable;
944
+ var isDisabled = $xeNumberInput.computeIsDisabled;
945
+ var inputReadonly = $xeNumberInput.computeInputReadonly;
946
+ if (!isDisabled && !inputReadonly) {
947
+ var isTab = _ui.globalEvents.hasKey(evnt, _ui.GLOBAL_EVENT_KEYS.TAB);
948
+ var isDel = _ui.globalEvents.hasKey(evnt, _ui.GLOBAL_EVENT_KEYS.DELETE);
949
+ var isActivated = reactData.isActivated;
950
+ if (isTab) {
951
+ if (isActivated) {
952
+ $xeNumberInput.afterCheckValue();
953
+ }
954
+ isActivated = false;
955
+ reactData.isActivated = isActivated;
956
+ }
957
+ if (isDel && clearable) {
958
+ if (isActivated) {
959
+ $xeNumberInput.clearValueEvent(evnt, null);
960
+ }
961
+ }
962
+ }
963
+ },
964
+ handleGlobalBlurEvent: function handleGlobalBlurEvent() {
965
+ var $xeNumberInput = this;
966
+ var reactData = $xeNumberInput.reactData;
967
+ var isActivated = reactData.isActivated;
968
+ if (isActivated) {
969
+ $xeNumberInput.afterCheckValue();
970
+ }
971
+ },
972
+ //
973
+ // Render
974
+ //
975
+ renderPrefixIcon: function renderPrefixIcon(h) {
976
+ var $xeNumberInput = this;
977
+ var props = $xeNumberInput;
978
+ var slots = $xeNumberInput.$scopedSlots;
979
+ var prefixIcon = props.prefixIcon;
980
+ var prefixOpts = $xeNumberInput.computePrefixOpts;
981
+ var prefixSlot = slots.prefix;
982
+ var preIcon = prefixIcon || prefixOpts.icon;
983
+ var sufContent = prefixOpts.content;
984
+ return prefixSlot || preIcon || sufContent ? h('div', {
985
+ class: 'vxe-number-input--prefix',
986
+ on: {
987
+ click: $xeNumberInput.clickPrefixEvent
988
+ }
989
+ }, [h('div', {
990
+ class: 'vxe-number-input--prefix-icon'
991
+ }, prefixSlot ? (0, _vn.getSlotVNs)(prefixSlot({})) : [preIcon ? h('i', {
992
+ class: preIcon
993
+ }) : (0, _ui.renderEmptyElement)($xeNumberInput), sufContent ? h('span', {
994
+ class: 'vxe-prefix-input--suffix-text'
995
+ }, "".concat(sufContent)) : (0, _ui.renderEmptyElement)($xeNumberInput)])]) : (0, _ui.renderEmptyElement)($xeNumberInput);
996
+ },
997
+ renderSuffixIcon: function renderSuffixIcon(h) {
998
+ var $xeNumberInput = this;
999
+ var props = $xeNumberInput;
1000
+ var reactData = $xeNumberInput.reactData;
1001
+ var slots = $xeNumberInput.$scopedSlots;
1002
+ var suffixIcon = props.suffixIcon;
1003
+ var inputValue = reactData.inputValue;
1004
+ var suffixSlot = slots.suffix;
1005
+ var suffixOpts = $xeNumberInput.computeSuffixOpts;
1006
+ var isDisabled = $xeNumberInput.computeIsDisabled;
1007
+ var isClearable = $xeNumberInput.computeIsClearable;
1008
+ var sufIcon = suffixIcon || suffixOpts.icon;
1009
+ var sufContent = suffixOpts.content;
1010
+ return h('div', {
1011
+ class: ['vxe-number-input--suffix', {
1012
+ 'is--clear': isClearable && !isDisabled && !(inputValue === '' || _xeUtils.default.eqNull(inputValue))
1013
+ }]
1014
+ }, [isClearable ? h('div', {
1015
+ class: 'vxe-number-input--clear-icon',
1016
+ on: {
1017
+ click: $xeNumberInput.clearValueEvent
1018
+ }
1019
+ }, [h('i', {
1020
+ class: (0, _ui.getIcon)().INPUT_CLEAR
1021
+ })]) : (0, _ui.renderEmptyElement)($xeNumberInput), suffixSlot || sufIcon || sufContent ? h('div', {
1022
+ class: 'vxe-number-input--suffix-icon',
1023
+ on: {
1024
+ click: $xeNumberInput.clickSuffixEvent
1025
+ }
1026
+ }, suffixSlot ? (0, _vn.getSlotVNs)(suffixSlot({})) : [sufIcon ? h('i', {
1027
+ class: sufIcon
1028
+ }) : (0, _ui.renderEmptyElement)($xeNumberInput), sufContent ? h('span', {
1029
+ class: 'vxe-number-input--suffix-text'
1030
+ }, "".concat(sufContent)) : (0, _ui.renderEmptyElement)($xeNumberInput)]) : (0, _ui.renderEmptyElement)($xeNumberInput)]);
1031
+ },
1032
+ renderInput: function renderInput(h) {
1033
+ var $xeNumberInput = this;
1034
+ var props = $xeNumberInput;
1035
+ var reactData = $xeNumberInput.reactData;
1036
+ var type = props.type,
1037
+ name = props.name,
1038
+ autocomplete = props.autocomplete,
1039
+ autoComplete = props.autoComplete;
1040
+ var inputValue = reactData.inputValue,
1041
+ isFocus = reactData.isFocus;
1042
+ var isDisabled = $xeNumberInput.computeIsDisabled;
1043
+ var numLabel = $xeNumberInput.computeNumLabel;
1044
+ var inputReadonly = $xeNumberInput.computeInputReadonly;
1045
+ var inpMaxLength = $xeNumberInput.computeInpMaxLength;
1046
+ var inpPlaceholder = $xeNumberInput.computeInpPlaceholder;
1047
+ return h('div', {
1048
+ key: 'ni',
1049
+ class: 'vxe-number-input--input-wrapper'
1050
+ }, [$xeNumberInput.renderPrefixIcon(h), h('div', {
1051
+ class: 'vxe-number-input--input-inner'
1052
+ }, [h('input', {
1053
+ ref: 'refInputTarget',
1054
+ class: 'vxe-number-input--input',
1055
+ domProps: {
1056
+ value: !isFocus && type === 'amount' ? numLabel : inputValue
1057
+ },
1058
+ attrs: {
1059
+ name: name,
1060
+ type: 'text',
1061
+ placeholder: inpPlaceholder,
1062
+ maxlength: inpMaxLength,
1063
+ readonly: inputReadonly,
1064
+ disabled: isDisabled,
1065
+ autocomplete: autoComplete || autocomplete
1066
+ },
1067
+ on: {
1068
+ keydown: $xeNumberInput.keydownEvent,
1069
+ keyup: $xeNumberInput.keyupEvent,
1070
+ click: $xeNumberInput.clickEvent,
1071
+ input: $xeNumberInput.inputEvent,
1072
+ change: $xeNumberInput.changeEvent,
1073
+ focus: $xeNumberInput.focusEvent,
1074
+ blur: $xeNumberInput.blurEvent
1075
+ }
1076
+ })]), $xeNumberInput.renderSuffixIcon(h)]);
1077
+ },
1078
+ renderMinusBtn: function renderMinusBtn(h) {
1079
+ var $xeNumberInput = this;
1080
+ var props = $xeNumberInput;
1081
+ var minusIcon = props.minusIcon;
1082
+ var isDisabledSubtractNumber = $xeNumberInput.computeIsDisabledSubtractNumber;
1083
+ return h('button', {
1084
+ key: 'prev',
1085
+ class: ['vxe-number-input--minus-btn is--minus', {
1086
+ 'is--disabled': isDisabledSubtractNumber
1087
+ }],
1088
+ attrs: {
1089
+ type: 'button'
1090
+ },
1091
+ on: {
1092
+ click: $xeNumberInput.numberClickEvent,
1093
+ mousedown: $xeNumberInput.numberMousedownEvent,
1094
+ mouseup: $xeNumberInput.numberStopAll,
1095
+ mouseleave: $xeNumberInput.numberStopAll
1096
+ }
1097
+ }, [h('i', {
1098
+ class: minusIcon || (0, _ui.getIcon)().NUMBER_INPUT_MINUS_NUM
1099
+ })]);
1100
+ },
1101
+ renderPlusBtn: function renderPlusBtn(h) {
1102
+ var $xeNumberInput = this;
1103
+ var props = $xeNumberInput;
1104
+ var plusIcon = props.plusIcon;
1105
+ var isDisabledAddNumber = $xeNumberInput.computeIsDisabledAddNumber;
1106
+ return h('button', {
1107
+ key: 'next',
1108
+ class: ['vxe-number-input--plus-btn is--plus', {
1109
+ 'is--disabled': isDisabledAddNumber
1110
+ }],
1111
+ attrs: {
1112
+ type: 'button'
1113
+ },
1114
+ on: {
1115
+ click: $xeNumberInput.numberClickEvent,
1116
+ mousedown: $xeNumberInput.numberMousedownEvent,
1117
+ mouseup: $xeNumberInput.numberStopAll,
1118
+ mouseleave: $xeNumberInput.numberStopAll
1119
+ }
1120
+ }, [h('i', {
1121
+ class: plusIcon || (0, _ui.getIcon)().NUMBER_INPUT_PLUS_NUM
1122
+ })]);
1123
+ },
1124
+ renderSideControl: function renderSideControl(h) {
1125
+ var $xeNumberInput = this;
1126
+ return h('div', {
1127
+ key: 'cplr',
1128
+ class: 'vxe-number-input--side-control'
1129
+ }, [$xeNumberInput.renderPlusBtn(h), $xeNumberInput.renderMinusBtn(h)]);
1130
+ },
1131
+ renderVN: function renderVN(h) {
1132
+ var $xeNumberInput = this;
1133
+ var props = $xeNumberInput;
1134
+ var reactData = $xeNumberInput.reactData;
1135
+ var slots = $xeNumberInput.$scopedSlots;
1136
+ var className = props.className,
1137
+ controls = props.controls,
1138
+ type = props.type,
1139
+ align = props.align,
1140
+ prefixIcon = props.prefixIcon,
1141
+ suffixIcon = props.suffixIcon;
1142
+ var inputValue = reactData.inputValue,
1143
+ isActivated = reactData.isActivated;
1144
+ var vSize = $xeNumberInput.computeSize;
1145
+ var controlOpts = $xeNumberInput.computeControlOpts;
1146
+ var layout = controlOpts.layout,
1147
+ showButton = controlOpts.showButton;
1148
+ var isDisabled = $xeNumberInput.computeIsDisabled;
1149
+ var formReadonly = $xeNumberInput.computeFormReadonly;
1150
+ var numLabel = $xeNumberInput.computeNumLabel;
1151
+ var prefixSlot = slots.prefix;
1152
+ var suffixSlot = slots.suffix;
1153
+ if (formReadonly) {
1154
+ return h('div', {
1155
+ ref: 'refElem',
1156
+ class: ['vxe-number-input--readonly', "type--".concat(type), className]
1157
+ }, numLabel);
1158
+ }
1159
+ var inputReadonly = $xeNumberInput.computeInputReadonly;
1160
+ var isClearable = $xeNumberInput.computeIsClearable;
1161
+ var isControls = (0, _utils.isEnableConf)(controlOpts) && (controls === false ? controls : showButton);
1162
+ return h('div', {
1163
+ ref: 'refElem',
1164
+ class: ['vxe-number-input', "type--".concat(type), "ctl--".concat(layout === 'right' || layout === 'left' ? layout : 'default'), className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), "is--".concat(align), align), 'is--controls', isControls && !inputReadonly), 'is--prefix', !!prefixSlot || prefixIcon), 'is--suffix', !!suffixSlot || suffixIcon), 'is--disabled', isDisabled), 'is--active', isActivated), 'show--clear', isClearable && !isDisabled && !(inputValue === '' || _xeUtils.default.eqNull(inputValue)))],
1165
+ attrs: {
1166
+ spellcheck: false
1167
+ }
1168
+ }, isControls ? layout === 'right' ? [$xeNumberInput.renderInput(h), $xeNumberInput.renderSideControl(h)] : layout === 'left' ? [$xeNumberInput.renderSideControl(h), $xeNumberInput.renderInput(h)] : [$xeNumberInput.renderMinusBtn(h), $xeNumberInput.renderInput(h), $xeNumberInput.renderPlusBtn(h)] : [$xeNumberInput.renderInput(h)]);
1169
+ }
1170
+ },
1171
+ watch: {
1172
+ value: function value(val) {
1173
+ var $xeNumberInput = this;
1174
+ var internalData = $xeNumberInput.internalData;
1175
+ if (!internalData.isUM) {
1176
+ this.updateModel(val);
1177
+ }
1178
+ internalData.isUM = false;
1179
+ },
1180
+ type: function type() {
1181
+ var $xeNumberInput = this;
1182
+ var props = $xeNumberInput;
1183
+ var reactData = $xeNumberInput.reactData;
1184
+ // 切换类型是重置内置变量
1185
+ Object.assign(reactData, {
1186
+ inputValue: props.value
1187
+ });
1188
+ $xeNumberInput.initValue();
1189
+ }
1190
+ },
1191
+ created: function created() {
1192
+ var $xeNumberInput = this;
1193
+ var props = $xeNumberInput;
1194
+ this.updateModel(props.value);
1195
+ $xeNumberInput.initValue();
1196
+ },
1197
+ mounted: function mounted() {
1198
+ var $xeNumberInput = this;
1199
+ var targetElem = $xeNumberInput.$refs.refInputTarget;
1200
+ if (targetElem) {
1201
+ targetElem.addEventListener('wheel', $xeNumberInput.wheelEvent, {
1202
+ passive: false
1203
+ });
1204
+ }
1205
+ _ui.globalEvents.on($xeNumberInput, 'mousedown', $xeNumberInput.handleGlobalMousedownEvent);
1206
+ _ui.globalEvents.on($xeNumberInput, 'keydown', $xeNumberInput.handleGlobalKeydownEvent);
1207
+ _ui.globalEvents.on($xeNumberInput, 'blur', $xeNumberInput.handleGlobalBlurEvent);
1208
+ },
1209
+ beforeDestroy: function beforeDestroy() {
1210
+ var $xeNumberInput = this;
1211
+ var reactData = $xeNumberInput.reactData;
1212
+ reactData.isFocus = false;
1213
+ $xeNumberInput.numberStopAll();
1214
+ $xeNumberInput.afterCheckValue();
1215
+ var targetElem = $xeNumberInput.$refs.refInputTarget;
1216
+ if (targetElem) {
1217
+ targetElem.removeEventListener('wheel', $xeNumberInput.wheelEvent);
1218
+ }
1219
+ _ui.globalEvents.off($xeNumberInput, 'mousedown');
1220
+ _ui.globalEvents.off($xeNumberInput, 'keydown');
1221
+ _ui.globalEvents.off($xeNumberInput, 'blur');
1222
+ },
1223
+ render: function render(h) {
1224
+ return this.renderVN(h);
1225
+ }
1226
+ });
1227
+ /* define-vxe-component end */