vxe-pc-ui 3.15.28 → 3.16.0

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/package.json +3 -3
  2. package/types/all.d.ts +0 -72
  3. package/es/alert/index.js +0 -12
  4. package/es/alert/src/alert.js +0 -99
  5. package/es/alert/style.css +0 -129
  6. package/es/alert/style.min.css +0 -1
  7. package/es/anchor/index.js +0 -12
  8. package/es/anchor/src/anchor-link.js +0 -137
  9. package/es/anchor/src/anchor.js +0 -249
  10. package/es/anchor/src/util.js +0 -19
  11. package/es/anchor/style.css +0 -42
  12. package/es/anchor/style.min.css +0 -1
  13. package/es/anchor-link/index.js +0 -12
  14. package/es/anchor-link/style.css +0 -0
  15. package/es/anchor-link/style.min.css +0 -0
  16. package/es/avatar/index.js +0 -12
  17. package/es/avatar/src/avatar.js +0 -126
  18. package/es/avatar/style.css +0 -98
  19. package/es/avatar/style.min.css +0 -1
  20. package/es/backtop/index.js +0 -12
  21. package/es/backtop/src/backtop.js +0 -305
  22. package/es/backtop/style.css +0 -72
  23. package/es/backtop/style.min.css +0 -1
  24. package/es/badge/index.js +0 -12
  25. package/es/badge/src/badge.js +0 -74
  26. package/es/badge/style.css +0 -42
  27. package/es/badge/style.min.css +0 -1
  28. package/es/breadcrumb/index.js +0 -12
  29. package/es/breadcrumb/src/breadcrumb-item.js +0 -102
  30. package/es/breadcrumb/src/breadcrumb.js +0 -76
  31. package/es/breadcrumb/style.css +0 -33
  32. package/es/breadcrumb/style.min.css +0 -1
  33. package/es/breadcrumb-item/index.js +0 -12
  34. package/es/breadcrumb-item/style.css +0 -0
  35. package/es/breadcrumb-item/style.min.css +0 -0
  36. package/es/button/index.js +0 -12
  37. package/es/button/src/button-group.js +0 -97
  38. package/es/button/src/button.js +0 -875
  39. package/es/button/style.css +0 -638
  40. package/es/button/style.min.css +0 -1
  41. package/es/button-group/index.js +0 -12
  42. package/es/button-group/style.css +0 -27
  43. package/es/button-group/style.min.css +0 -1
  44. package/es/calendar/index.js +0 -12
  45. package/es/calendar/src/calendar.js +0 -1469
  46. package/es/calendar/style.css +0 -350
  47. package/es/calendar/style.min.css +0 -1
  48. package/es/card/index.js +0 -12
  49. package/es/card/src/card.js +0 -149
  50. package/es/card/style.css +0 -107
  51. package/es/card/style.min.css +0 -1
  52. package/es/carousel/index.js +0 -12
  53. package/es/carousel/src/carousel-item.js +0 -102
  54. package/es/carousel/src/carousel.js +0 -429
  55. package/es/carousel/src/util.js +0 -17
  56. package/es/carousel/style.css +0 -185
  57. package/es/carousel/style.min.css +0 -1
  58. package/es/carousel-item/index.js +0 -12
  59. package/es/carousel-item/style.css +0 -0
  60. package/es/carousel-item/style.min.css +0 -0
  61. package/es/cascader/index.js +0 -12
  62. package/es/cascader/src/cascader.js +0 -1987
  63. package/es/cascader/src/util.js +0 -7
  64. package/es/cascader/style.css +0 -346
  65. package/es/cascader/style.min.css +0 -1
  66. package/es/checkbox/index.js +0 -12
  67. package/es/checkbox/src/button.js +0 -244
  68. package/es/checkbox/src/checkbox.js +0 -217
  69. package/es/checkbox/src/group.js +0 -280
  70. package/es/checkbox/style.css +0 -113
  71. package/es/checkbox/style.min.css +0 -1
  72. package/es/checkbox-button/index.js +0 -12
  73. package/es/checkbox-button/style.css +0 -202
  74. package/es/checkbox-button/style.min.css +0 -1
  75. package/es/checkbox-group/index.js +0 -12
  76. package/es/checkbox-group/style.css +0 -0
  77. package/es/checkbox-group/style.min.css +0 -0
  78. package/es/col/index.js +0 -12
  79. package/es/col/style.css +0 -0
  80. package/es/col/style.min.css +0 -0
  81. package/es/collapse/index.js +0 -12
  82. package/es/collapse/src/collapse-pane.js +0 -116
  83. package/es/collapse/src/collapse.js +0 -360
  84. package/es/collapse/src/util.js +0 -17
  85. package/es/collapse/style.css +0 -83
  86. package/es/collapse/style.min.css +0 -1
  87. package/es/collapse-pane/index.js +0 -12
  88. package/es/collapse-pane/style.css +0 -0
  89. package/es/collapse-pane/style.min.css +0 -0
  90. package/es/color-picker/index.js +0 -12
  91. package/es/color-picker/src/color-picker.js +0 -1221
  92. package/es/color-picker/src/util.js +0 -190
  93. package/es/color-picker/style.css +0 -485
  94. package/es/color-picker/style.min.css +0 -1
  95. package/es/components.js +0 -299
  96. package/es/context-menu/index.js +0 -46
  97. package/es/context-menu/src/context-menu.js +0 -684
  98. package/es/context-menu/style.css +0 -109
  99. package/es/context-menu/style.min.css +0 -1
  100. package/es/countdown/index.js +0 -12
  101. package/es/countdown/src/countdown.js +0 -249
  102. package/es/countdown/style.css +0 -38
  103. package/es/countdown/style.min.css +0 -1
  104. package/es/date-panel/index.js +0 -12
  105. package/es/date-panel/src/date-panel.js +0 -2013
  106. package/es/date-panel/src/util.js +0 -295
  107. package/es/date-panel/style.css +0 -453
  108. package/es/date-panel/style.min.css +0 -1
  109. package/es/date-picker/index.js +0 -13
  110. package/es/date-picker/src/date-picker.js +0 -1833
  111. package/es/date-picker/style.css +0 -283
  112. package/es/date-picker/style.min.css +0 -1
  113. package/es/date-range-picker/index.js +0 -12
  114. package/es/date-range-picker/src/date-range-picker.js +0 -1679
  115. package/es/date-range-picker/style.css +0 -289
  116. package/es/date-range-picker/style.min.css +0 -1
  117. package/es/drawer/index.js +0 -68
  118. package/es/drawer/src/drawer.js +0 -735
  119. package/es/drawer/style.css +0 -270
  120. package/es/drawer/style.min.css +0 -1
  121. package/es/dynamics/index.js +0 -107
  122. package/es/empty/index.js +0 -12
  123. package/es/empty/src/empty.js +0 -73
  124. package/es/empty/style.css +0 -54
  125. package/es/empty/style.min.css +0 -1
  126. package/es/form/index.js +0 -12
  127. package/es/form/render/index.js +0 -588
  128. package/es/form/src/form-config-item.js +0 -73
  129. package/es/form/src/form-group.js +0 -108
  130. package/es/form/src/form-item.js +0 -198
  131. package/es/form/src/form.js +0 -1012
  132. package/es/form/src/itemInfo.js +0 -76
  133. package/es/form/src/render.js +0 -357
  134. package/es/form/src/util.js +0 -78
  135. package/es/form/style.css +0 -621
  136. package/es/form/style.min.css +0 -1
  137. package/es/form-gather/index.js +0 -13
  138. package/es/form-gather/style.css +0 -0
  139. package/es/form-gather/style.min.css +0 -0
  140. package/es/form-group/index.js +0 -12
  141. package/es/form-group/style.css +0 -0
  142. package/es/form-group/style.min.css +0 -0
  143. package/es/form-item/index.js +0 -12
  144. package/es/form-item/style.css +0 -0
  145. package/es/form-item/style.min.css +0 -0
  146. package/es/icon/iconfont.1783338703528.ttf +0 -0
  147. package/es/icon/iconfont.1783338703528.woff +0 -0
  148. package/es/icon/iconfont.1783338703528.woff2 +0 -0
  149. package/es/icon/index.js +0 -12
  150. package/es/icon/src/icon.js +0 -62
  151. package/es/icon/style.css +0 -1034
  152. package/es/icon/style.min.css +0 -1
  153. package/es/icon-picker/index.js +0 -12
  154. package/es/icon-picker/src/icon-picker.js +0 -834
  155. package/es/icon-picker/style.css +0 -242
  156. package/es/icon-picker/style.min.css +0 -1
  157. package/es/iconfont.1783338703528.ttf +0 -0
  158. package/es/iconfont.1783338703528.woff +0 -0
  159. package/es/iconfont.1783338703528.woff2 +0 -0
  160. package/es/image/index.js +0 -12
  161. package/es/image/src/group.js +0 -144
  162. package/es/image/src/image.js +0 -274
  163. package/es/image/src/preview.js +0 -707
  164. package/es/image/src/util.js +0 -59
  165. package/es/image/style.css +0 -17
  166. package/es/image/style.min.css +0 -1
  167. package/es/image-group/index.js +0 -12
  168. package/es/image-group/style.css +0 -3
  169. package/es/image-group/style.min.css +0 -1
  170. package/es/image-preview/index.js +0 -14
  171. package/es/image-preview/style.css +0 -218
  172. package/es/image-preview/style.min.css +0 -1
  173. package/es/index.esm.js +0 -6
  174. package/es/input/index.js +0 -12
  175. package/es/input/src/input.js +0 -3084
  176. package/es/input/style.css +0 -1025
  177. package/es/input/style.min.css +0 -1
  178. package/es/language/ar-EG.d.ts +0 -2
  179. package/es/language/ar-EG.js +0 -874
  180. package/es/language/de-DE.d.ts +0 -2
  181. package/es/language/de-DE.js +0 -874
  182. package/es/language/en-US.d.ts +0 -2
  183. package/es/language/en-US.js +0 -874
  184. package/es/language/es-ES.d.ts +0 -2
  185. package/es/language/es-ES.js +0 -874
  186. package/es/language/fr-FR.d.ts +0 -2
  187. package/es/language/fr-FR.js +0 -874
  188. package/es/language/hu-HU.d.ts +0 -2
  189. package/es/language/hu-HU.js +0 -874
  190. package/es/language/hy-AM.d.ts +0 -2
  191. package/es/language/hy-AM.js +0 -874
  192. package/es/language/id-ID.d.ts +0 -2
  193. package/es/language/id-ID.js +0 -874
  194. package/es/language/it-IT.d.ts +0 -2
  195. package/es/language/it-IT.js +0 -874
  196. package/es/language/ja-JP.d.ts +0 -2
  197. package/es/language/ja-JP.js +0 -874
  198. package/es/language/ko-KR.d.ts +0 -2
  199. package/es/language/ko-KR.js +0 -874
  200. package/es/language/ms-MY.d.ts +0 -2
  201. package/es/language/ms-MY.js +0 -874
  202. package/es/language/nb-NO.d.ts +0 -2
  203. package/es/language/nb-NO.js +0 -874
  204. package/es/language/pt-BR.d.ts +0 -2
  205. package/es/language/pt-BR.js +0 -874
  206. package/es/language/ru-RU.d.ts +0 -2
  207. package/es/language/ru-RU.js +0 -874
  208. package/es/language/th-TH.d.ts +0 -2
  209. package/es/language/th-TH.js +0 -874
  210. package/es/language/ug-CN.d.ts +0 -2
  211. package/es/language/ug-CN.js +0 -874
  212. package/es/language/uk-UA.d.ts +0 -2
  213. package/es/language/uk-UA.js +0 -874
  214. package/es/language/uz-UZ.d.ts +0 -2
  215. package/es/language/uz-UZ.js +0 -874
  216. package/es/language/vi-VN.d.ts +0 -2
  217. package/es/language/vi-VN.js +0 -874
  218. package/es/language/zh-CHT.d.ts +0 -2
  219. package/es/language/zh-CHT.js +0 -874
  220. package/es/language/zh-CN.d.ts +0 -2
  221. package/es/language/zh-CN.js +0 -874
  222. package/es/language/zh-HK.d.ts +0 -2
  223. package/es/language/zh-HK.js +0 -2
  224. package/es/language/zh-MO.d.ts +0 -2
  225. package/es/language/zh-MO.js +0 -2
  226. package/es/language/zh-TC.js +0 -2
  227. package/es/language/zh-TW.d.ts +0 -2
  228. package/es/language/zh-TW.js +0 -2
  229. package/es/layout-aside/index.js +0 -12
  230. package/es/layout-aside/src/layout-aside.js +0 -111
  231. package/es/layout-aside/style.css +0 -26
  232. package/es/layout-aside/style.min.css +0 -1
  233. package/es/layout-body/index.js +0 -12
  234. package/es/layout-body/src/layout-body.js +0 -127
  235. package/es/layout-body/style.css +0 -16
  236. package/es/layout-body/style.min.css +0 -1
  237. package/es/layout-container/index.js +0 -12
  238. package/es/layout-container/src/layout-container.js +0 -54
  239. package/es/layout-container/style.css +0 -28
  240. package/es/layout-container/style.min.css +0 -1
  241. package/es/layout-footer/index.js +0 -12
  242. package/es/layout-footer/src/layout-footer.js +0 -45
  243. package/es/layout-footer/style.css +0 -14
  244. package/es/layout-footer/style.min.css +0 -1
  245. package/es/layout-header/index.js +0 -12
  246. package/es/layout-header/src/layout-header.js +0 -43
  247. package/es/layout-header/style.css +0 -11
  248. package/es/layout-header/style.min.css +0 -1
  249. package/es/link/index.js +0 -12
  250. package/es/link/src/link.js +0 -137
  251. package/es/link/style.css +0 -111
  252. package/es/link/style.min.css +0 -1
  253. package/es/list/index.js +0 -12
  254. package/es/list/src/list.js +0 -2242
  255. package/es/list/src/store.js +0 -8
  256. package/es/list/src/util.js +0 -8
  257. package/es/list/style.css +0 -379
  258. package/es/list/style.min.css +0 -1
  259. package/es/loading/index.js +0 -27
  260. package/es/loading/src/loading.js +0 -147
  261. package/es/loading/style.css +0 -120
  262. package/es/loading/style.min.css +0 -1
  263. package/es/mention/index.js +0 -12
  264. package/es/mention/src/mention.js +0 -44
  265. package/es/mention/style.css +0 -0
  266. package/es/mention/style.min.css +0 -0
  267. package/es/menu/index.js +0 -12
  268. package/es/menu/src/menu.js +0 -589
  269. package/es/menu/style.css +0 -140
  270. package/es/menu/style.min.css +0 -1
  271. package/es/modal/index.js +0 -130
  272. package/es/modal/src/modal.js +0 -1608
  273. package/es/modal/style.css +0 -415
  274. package/es/modal/style.min.css +0 -1
  275. package/es/notice-bar/index.js +0 -12
  276. package/es/notice-bar/src/notice-bar.js +0 -163
  277. package/es/notice-bar/style.css +0 -78
  278. package/es/notice-bar/style.min.css +0 -1
  279. package/es/number-input/index.js +0 -12
  280. package/es/number-input/src/number-input.js +0 -1201
  281. package/es/number-input/src/util.js +0 -22
  282. package/es/number-input/style.css +0 -274
  283. package/es/number-input/style.min.css +0 -1
  284. package/es/optgroup/index.js +0 -12
  285. package/es/optgroup/style.css +0 -0
  286. package/es/optgroup/style.min.css +0 -0
  287. package/es/option/index.js +0 -12
  288. package/es/option/style.css +0 -0
  289. package/es/option/style.min.css +0 -0
  290. package/es/pager/index.js +0 -12
  291. package/es/pager/src/pager.js +0 -844
  292. package/es/pager/style.css +0 -341
  293. package/es/pager/style.min.css +0 -1
  294. package/es/password-input/index.js +0 -12
  295. package/es/password-input/src/password-input.js +0 -428
  296. package/es/password-input/style.css +0 -598
  297. package/es/password-input/style.min.css +0 -1
  298. package/es/print/index.js +0 -14
  299. package/es/print/src/page-break.js +0 -66
  300. package/es/print/src/print.js +0 -252
  301. package/es/print/src/util.js +0 -261
  302. package/es/print/style.css +0 -4
  303. package/es/print/style.min.css +0 -1
  304. package/es/print-page-break/index.js +0 -10
  305. package/es/print-page-break/style.css +0 -0
  306. package/es/print-page-break/style.min.css +0 -0
  307. package/es/pulldown/index.js +0 -12
  308. package/es/pulldown/src/pulldown.js +0 -502
  309. package/es/pulldown/style.css +0 -109
  310. package/es/pulldown/style.min.css +0 -1
  311. package/es/radio/index.js +0 -12
  312. package/es/radio/src/button.js +0 -265
  313. package/es/radio/src/group.js +0 -258
  314. package/es/radio/src/radio.js +0 -239
  315. package/es/radio/style.css +0 -108
  316. package/es/radio/style.min.css +0 -1
  317. package/es/radio-button/index.js +0 -12
  318. package/es/radio-button/style.css +0 -202
  319. package/es/radio-button/style.min.css +0 -1
  320. package/es/radio-group/index.js +0 -12
  321. package/es/radio-group/style.css +0 -0
  322. package/es/radio-group/style.min.css +0 -0
  323. package/es/rate/index.js +0 -12
  324. package/es/rate/src/rate.js +0 -178
  325. package/es/rate/style.css +0 -54
  326. package/es/rate/style.min.css +0 -1
  327. package/es/result/index.js +0 -12
  328. package/es/result/src/result.js +0 -86
  329. package/es/result/style.css +0 -68
  330. package/es/result/style.min.css +0 -1
  331. package/es/row/index.js +0 -12
  332. package/es/row/src/col.js +0 -115
  333. package/es/row/src/row.js +0 -99
  334. package/es/row/style.css +0 -116
  335. package/es/row/style.min.css +0 -1
  336. package/es/segmented/index.js +0 -12
  337. package/es/segmented/src/segmented.js +0 -255
  338. package/es/segmented/style.css +0 -197
  339. package/es/segmented/style.min.css +0 -1
  340. package/es/select/index.js +0 -12
  341. package/es/select/src/optgroup.js +0 -90
  342. package/es/select/src/option-info.js +0 -16
  343. package/es/select/src/option.js +0 -86
  344. package/es/select/src/select.js +0 -2065
  345. package/es/select/src/util.js +0 -36
  346. package/es/select/style.css +0 -370
  347. package/es/select/style.min.css +0 -1
  348. package/es/slider/index.js +0 -12
  349. package/es/slider/src/slider.js +0 -307
  350. package/es/slider/style.css +0 -143
  351. package/es/slider/style.min.css +0 -1
  352. package/es/split/index.js +0 -12
  353. package/es/split/style.css +0 -295
  354. package/es/split/style.min.css +0 -1
  355. package/es/split-pane/index.js +0 -13
  356. package/es/split-pane/style.css +0 -0
  357. package/es/split-pane/style.min.css +0 -0
  358. package/es/splitter/index.js +0 -12
  359. package/es/splitter/src/splitter-panel.js +0 -149
  360. package/es/splitter/src/splitter.js +0 -1002
  361. package/es/splitter/src/util.js +0 -17
  362. package/es/splitter/style.css +0 -295
  363. package/es/splitter/style.min.css +0 -1
  364. package/es/splitter-panel/index.js +0 -12
  365. package/es/splitter-panel/style.css +0 -0
  366. package/es/splitter-panel/style.min.css +0 -0
  367. package/es/steps/index.js +0 -12
  368. package/es/steps/src/steps.js +0 -49
  369. package/es/steps/style.css +0 -0
  370. package/es/steps/style.min.css +0 -0
  371. package/es/style.css +0 -1
  372. package/es/style.min.css +0 -1
  373. package/es/switch/index.js +0 -12
  374. package/es/switch/src/switch.js +0 -261
  375. package/es/switch/style.css +0 -111
  376. package/es/switch/style.min.css +0 -1
  377. package/es/tab-pane/index.js +0 -12
  378. package/es/tab-pane/style.css +0 -0
  379. package/es/tab-pane/style.min.css +0 -0
  380. package/es/table-select/index.js +0 -12
  381. package/es/table-select/src/table-select.js +0 -839
  382. package/es/table-select/style.css +0 -134
  383. package/es/table-select/style.min.css +0 -1
  384. package/es/table-transfer/index.js +0 -12
  385. package/es/table-transfer/src/table-transfer.js +0 -71
  386. package/es/table-transfer/style.css +0 -0
  387. package/es/table-transfer/style.min.css +0 -0
  388. package/es/tabs/index.js +0 -12
  389. package/es/tabs/src/tab-pane.js +0 -119
  390. package/es/tabs/src/tabs.js +0 -958
  391. package/es/tabs/src/util.js +0 -17
  392. package/es/tabs/style.css +0 -705
  393. package/es/tabs/style.min.css +0 -1
  394. package/es/tag/index.js +0 -12
  395. package/es/tag/src/tag.js +0 -177
  396. package/es/tag/style.css +0 -187
  397. package/es/tag/style.min.css +0 -1
  398. package/es/text/index.js +0 -12
  399. package/es/text/src/text.js +0 -239
  400. package/es/text/style.css +0 -138
  401. package/es/text/style.min.css +0 -1
  402. package/es/text-ellipsis/index.js +0 -12
  403. package/es/text-ellipsis/src/text-ellipsis.js +0 -268
  404. package/es/text-ellipsis/style.css +0 -115
  405. package/es/text-ellipsis/style.min.css +0 -1
  406. package/es/textarea/index.js +0 -12
  407. package/es/textarea/src/textarea.js +0 -456
  408. package/es/textarea/style.css +0 -119
  409. package/es/textarea/style.min.css +0 -1
  410. package/es/timeline/index.js +0 -12
  411. package/es/timeline/src/timeline-item.js +0 -35
  412. package/es/timeline/src/timeline.js +0 -44
  413. package/es/timeline/style.css +0 -0
  414. package/es/timeline/style.min.css +0 -0
  415. package/es/timeline-item/index.js +0 -12
  416. package/es/timeline-item/style.css +0 -0
  417. package/es/timeline-item/style.min.css +0 -0
  418. package/es/tip/index.js +0 -14
  419. package/es/tip/src/tip.js +0 -100
  420. package/es/tip/style.css +0 -107
  421. package/es/tip/style.min.css +0 -1
  422. package/es/tooltip/index.js +0 -12
  423. package/es/tooltip/src/tooltip.js +0 -657
  424. package/es/tooltip/style.css +0 -117
  425. package/es/tooltip/style.min.css +0 -1
  426. package/es/tour/index.js +0 -12
  427. package/es/tour/src/tour.js +0 -44
  428. package/es/tour/style.css +0 -0
  429. package/es/tour/style.min.css +0 -0
  430. package/es/transfer/index.js +0 -12
  431. package/es/transfer/src/transfer.js +0 -86
  432. package/es/transfer/style.css +0 -0
  433. package/es/transfer/style.min.css +0 -0
  434. package/es/tree/index.js +0 -12
  435. package/es/tree/src/store.js +0 -8
  436. package/es/tree/src/tree.js +0 -3699
  437. package/es/tree/src/util.js +0 -46
  438. package/es/tree/style.css +0 -385
  439. package/es/tree/style.min.css +0 -1
  440. package/es/tree-select/index.js +0 -12
  441. package/es/tree-select/src/tree-select.js +0 -1160
  442. package/es/tree-select/style.css +0 -194
  443. package/es/tree-select/style.min.css +0 -1
  444. package/es/ui/index.js +0 -695
  445. package/es/ui/src/anime.js +0 -46
  446. package/es/ui/src/comp.js +0 -1
  447. package/es/ui/src/dom.js +0 -255
  448. package/es/ui/src/log.js +0 -15
  449. package/es/ui/src/utils.js +0 -52
  450. package/es/ui/src/vn.js +0 -51
  451. package/es/ui/style.css +0 -0
  452. package/es/ui/style.min.css +0 -0
  453. package/es/upload/index.js +0 -15
  454. package/es/upload/src/upload.js +0 -2078
  455. package/es/upload/src/util.js +0 -103
  456. package/es/upload/style.css +0 -483
  457. package/es/upload/style.min.css +0 -1
  458. package/es/vxe-alert/index.js +0 -3
  459. package/es/vxe-alert/style.css +0 -129
  460. package/es/vxe-alert/style.min.css +0 -1
  461. package/es/vxe-anchor/index.js +0 -3
  462. package/es/vxe-anchor/style.css +0 -42
  463. package/es/vxe-anchor/style.min.css +0 -1
  464. package/es/vxe-anchor-link/index.js +0 -3
  465. package/es/vxe-anchor-link/style.css +0 -0
  466. package/es/vxe-anchor-link/style.min.css +0 -0
  467. package/es/vxe-avatar/index.js +0 -3
  468. package/es/vxe-avatar/style.css +0 -98
  469. package/es/vxe-avatar/style.min.css +0 -1
  470. package/es/vxe-backtop/index.js +0 -3
  471. package/es/vxe-backtop/style.css +0 -72
  472. package/es/vxe-backtop/style.min.css +0 -1
  473. package/es/vxe-badge/index.js +0 -3
  474. package/es/vxe-badge/style.css +0 -42
  475. package/es/vxe-badge/style.min.css +0 -1
  476. package/es/vxe-breadcrumb/index.js +0 -3
  477. package/es/vxe-breadcrumb/style.css +0 -33
  478. package/es/vxe-breadcrumb/style.min.css +0 -1
  479. package/es/vxe-breadcrumb-item/index.js +0 -3
  480. package/es/vxe-breadcrumb-item/style.css +0 -0
  481. package/es/vxe-breadcrumb-item/style.min.css +0 -0
  482. package/es/vxe-button/index.js +0 -3
  483. package/es/vxe-button/style.css +0 -638
  484. package/es/vxe-button/style.min.css +0 -1
  485. package/es/vxe-button-group/index.js +0 -3
  486. package/es/vxe-button-group/style.css +0 -27
  487. package/es/vxe-button-group/style.min.css +0 -1
  488. package/es/vxe-calendar/index.js +0 -3
  489. package/es/vxe-calendar/style.css +0 -350
  490. package/es/vxe-calendar/style.min.css +0 -1
  491. package/es/vxe-card/index.js +0 -3
  492. package/es/vxe-card/style.css +0 -107
  493. package/es/vxe-card/style.min.css +0 -1
  494. package/es/vxe-carousel/index.js +0 -3
  495. package/es/vxe-carousel/style.css +0 -185
  496. package/es/vxe-carousel/style.min.css +0 -1
  497. package/es/vxe-carousel-item/index.js +0 -3
  498. package/es/vxe-carousel-item/style.css +0 -0
  499. package/es/vxe-carousel-item/style.min.css +0 -0
  500. package/es/vxe-cascader/index.js +0 -3
  501. package/es/vxe-cascader/style.css +0 -346
  502. package/es/vxe-cascader/style.min.css +0 -1
  503. package/es/vxe-checkbox/index.js +0 -3
  504. package/es/vxe-checkbox/style.css +0 -113
  505. package/es/vxe-checkbox/style.min.css +0 -1
  506. package/es/vxe-checkbox-button/index.js +0 -3
  507. package/es/vxe-checkbox-button/style.css +0 -202
  508. package/es/vxe-checkbox-button/style.min.css +0 -1
  509. package/es/vxe-checkbox-group/index.js +0 -3
  510. package/es/vxe-checkbox-group/style.css +0 -0
  511. package/es/vxe-checkbox-group/style.min.css +0 -0
  512. package/es/vxe-col/index.js +0 -3
  513. package/es/vxe-col/style.css +0 -0
  514. package/es/vxe-col/style.min.css +0 -0
  515. package/es/vxe-collapse/index.js +0 -3
  516. package/es/vxe-collapse/style.css +0 -83
  517. package/es/vxe-collapse/style.min.css +0 -1
  518. package/es/vxe-collapse-pane/index.js +0 -3
  519. package/es/vxe-collapse-pane/style.css +0 -0
  520. package/es/vxe-collapse-pane/style.min.css +0 -0
  521. package/es/vxe-color-picker/index.js +0 -3
  522. package/es/vxe-color-picker/style.css +0 -485
  523. package/es/vxe-color-picker/style.min.css +0 -1
  524. package/es/vxe-context-menu/index.js +0 -3
  525. package/es/vxe-context-menu/style.css +0 -109
  526. package/es/vxe-context-menu/style.min.css +0 -1
  527. package/es/vxe-countdown/index.js +0 -3
  528. package/es/vxe-countdown/style.css +0 -38
  529. package/es/vxe-countdown/style.min.css +0 -1
  530. package/es/vxe-date-panel/index.js +0 -3
  531. package/es/vxe-date-panel/style.css +0 -453
  532. package/es/vxe-date-panel/style.min.css +0 -1
  533. package/es/vxe-date-picker/index.js +0 -3
  534. package/es/vxe-date-picker/style.css +0 -283
  535. package/es/vxe-date-picker/style.min.css +0 -1
  536. package/es/vxe-date-range-picker/index.js +0 -3
  537. package/es/vxe-date-range-picker/style.css +0 -289
  538. package/es/vxe-date-range-picker/style.min.css +0 -1
  539. package/es/vxe-drawer/index.js +0 -3
  540. package/es/vxe-drawer/style.css +0 -270
  541. package/es/vxe-drawer/style.min.css +0 -1
  542. package/es/vxe-empty/index.js +0 -3
  543. package/es/vxe-empty/style.css +0 -54
  544. package/es/vxe-empty/style.min.css +0 -1
  545. package/es/vxe-form/index.js +0 -3
  546. package/es/vxe-form/style.css +0 -621
  547. package/es/vxe-form/style.min.css +0 -1
  548. package/es/vxe-form-gather/index.js +0 -3
  549. package/es/vxe-form-gather/style.css +0 -0
  550. package/es/vxe-form-gather/style.min.css +0 -0
  551. package/es/vxe-form-group/index.js +0 -3
  552. package/es/vxe-form-group/style.css +0 -0
  553. package/es/vxe-form-group/style.min.css +0 -0
  554. package/es/vxe-form-item/index.js +0 -3
  555. package/es/vxe-form-item/style.css +0 -0
  556. package/es/vxe-form-item/style.min.css +0 -0
  557. package/es/vxe-icon/index.js +0 -3
  558. package/es/vxe-icon/style.css +0 -1034
  559. package/es/vxe-icon/style.min.css +0 -1
  560. package/es/vxe-icon-picker/index.js +0 -3
  561. package/es/vxe-icon-picker/style.css +0 -242
  562. package/es/vxe-icon-picker/style.min.css +0 -1
  563. package/es/vxe-image/index.js +0 -3
  564. package/es/vxe-image/style.css +0 -17
  565. package/es/vxe-image/style.min.css +0 -1
  566. package/es/vxe-image-group/index.js +0 -3
  567. package/es/vxe-image-group/style.css +0 -3
  568. package/es/vxe-image-group/style.min.css +0 -1
  569. package/es/vxe-image-preview/index.js +0 -3
  570. package/es/vxe-image-preview/style.css +0 -218
  571. package/es/vxe-image-preview/style.min.css +0 -1
  572. package/es/vxe-input/index.js +0 -3
  573. package/es/vxe-input/style.css +0 -1025
  574. package/es/vxe-input/style.min.css +0 -1
  575. package/es/vxe-layout-aside/index.js +0 -3
  576. package/es/vxe-layout-aside/style.css +0 -26
  577. package/es/vxe-layout-aside/style.min.css +0 -1
  578. package/es/vxe-layout-body/index.js +0 -3
  579. package/es/vxe-layout-body/style.css +0 -16
  580. package/es/vxe-layout-body/style.min.css +0 -1
  581. package/es/vxe-layout-container/index.js +0 -3
  582. package/es/vxe-layout-container/style.css +0 -28
  583. package/es/vxe-layout-container/style.min.css +0 -1
  584. package/es/vxe-layout-footer/index.js +0 -3
  585. package/es/vxe-layout-footer/style.css +0 -14
  586. package/es/vxe-layout-footer/style.min.css +0 -1
  587. package/es/vxe-layout-header/index.js +0 -3
  588. package/es/vxe-layout-header/style.css +0 -11
  589. package/es/vxe-layout-header/style.min.css +0 -1
  590. package/es/vxe-link/index.js +0 -3
  591. package/es/vxe-link/style.css +0 -111
  592. package/es/vxe-link/style.min.css +0 -1
  593. package/es/vxe-list/index.js +0 -3
  594. package/es/vxe-list/style.css +0 -379
  595. package/es/vxe-list/style.min.css +0 -1
  596. package/es/vxe-loading/index.js +0 -3
  597. package/es/vxe-loading/style.css +0 -120
  598. package/es/vxe-loading/style.min.css +0 -1
  599. package/es/vxe-mention/index.js +0 -3
  600. package/es/vxe-mention/style.css +0 -0
  601. package/es/vxe-mention/style.min.css +0 -0
  602. package/es/vxe-menu/index.js +0 -3
  603. package/es/vxe-menu/style.css +0 -140
  604. package/es/vxe-menu/style.min.css +0 -1
  605. package/es/vxe-modal/index.js +0 -3
  606. package/es/vxe-modal/style.css +0 -415
  607. package/es/vxe-modal/style.min.css +0 -1
  608. package/es/vxe-notice-bar/index.js +0 -3
  609. package/es/vxe-notice-bar/style.css +0 -78
  610. package/es/vxe-notice-bar/style.min.css +0 -1
  611. package/es/vxe-number-input/index.js +0 -3
  612. package/es/vxe-number-input/style.css +0 -274
  613. package/es/vxe-number-input/style.min.css +0 -1
  614. package/es/vxe-optgroup/index.js +0 -3
  615. package/es/vxe-optgroup/style.css +0 -0
  616. package/es/vxe-optgroup/style.min.css +0 -0
  617. package/es/vxe-option/index.js +0 -3
  618. package/es/vxe-option/style.css +0 -0
  619. package/es/vxe-option/style.min.css +0 -0
  620. package/es/vxe-pager/index.js +0 -3
  621. package/es/vxe-pager/style.css +0 -341
  622. package/es/vxe-pager/style.min.css +0 -1
  623. package/es/vxe-password-input/index.js +0 -3
  624. package/es/vxe-password-input/style.css +0 -598
  625. package/es/vxe-password-input/style.min.css +0 -1
  626. package/es/vxe-print/index.js +0 -3
  627. package/es/vxe-print/style.css +0 -4
  628. package/es/vxe-print/style.min.css +0 -1
  629. package/es/vxe-print-page-break/index.js +0 -3
  630. package/es/vxe-print-page-break/style.css +0 -0
  631. package/es/vxe-print-page-break/style.min.css +0 -0
  632. package/es/vxe-pulldown/index.js +0 -3
  633. package/es/vxe-pulldown/style.css +0 -109
  634. package/es/vxe-pulldown/style.min.css +0 -1
  635. package/es/vxe-radio/index.js +0 -3
  636. package/es/vxe-radio/style.css +0 -108
  637. package/es/vxe-radio/style.min.css +0 -1
  638. package/es/vxe-radio-button/index.js +0 -3
  639. package/es/vxe-radio-button/style.css +0 -202
  640. package/es/vxe-radio-button/style.min.css +0 -1
  641. package/es/vxe-radio-group/index.js +0 -3
  642. package/es/vxe-radio-group/style.css +0 -0
  643. package/es/vxe-radio-group/style.min.css +0 -0
  644. package/es/vxe-rate/index.js +0 -3
  645. package/es/vxe-rate/style.css +0 -54
  646. package/es/vxe-rate/style.min.css +0 -1
  647. package/es/vxe-result/index.js +0 -3
  648. package/es/vxe-result/style.css +0 -68
  649. package/es/vxe-result/style.min.css +0 -1
  650. package/es/vxe-row/index.js +0 -3
  651. package/es/vxe-row/style.css +0 -116
  652. package/es/vxe-row/style.min.css +0 -1
  653. package/es/vxe-segmented/index.js +0 -3
  654. package/es/vxe-segmented/style.css +0 -197
  655. package/es/vxe-segmented/style.min.css +0 -1
  656. package/es/vxe-select/index.js +0 -3
  657. package/es/vxe-select/style.css +0 -370
  658. package/es/vxe-select/style.min.css +0 -1
  659. package/es/vxe-slider/index.js +0 -3
  660. package/es/vxe-slider/style.css +0 -143
  661. package/es/vxe-slider/style.min.css +0 -1
  662. package/es/vxe-split/index.js +0 -3
  663. package/es/vxe-split/style.css +0 -295
  664. package/es/vxe-split/style.min.css +0 -1
  665. package/es/vxe-split-pane/index.js +0 -3
  666. package/es/vxe-split-pane/style.css +0 -0
  667. package/es/vxe-split-pane/style.min.css +0 -0
  668. package/es/vxe-splitter/index.js +0 -3
  669. package/es/vxe-splitter/style.css +0 -295
  670. package/es/vxe-splitter/style.min.css +0 -1
  671. package/es/vxe-splitter-panel/index.js +0 -3
  672. package/es/vxe-splitter-panel/style.css +0 -0
  673. package/es/vxe-splitter-panel/style.min.css +0 -0
  674. package/es/vxe-steps/index.js +0 -3
  675. package/es/vxe-steps/style.css +0 -0
  676. package/es/vxe-steps/style.min.css +0 -0
  677. package/es/vxe-switch/index.js +0 -3
  678. package/es/vxe-switch/style.css +0 -111
  679. package/es/vxe-switch/style.min.css +0 -1
  680. package/es/vxe-tab-pane/index.js +0 -3
  681. package/es/vxe-tab-pane/style.css +0 -0
  682. package/es/vxe-tab-pane/style.min.css +0 -0
  683. package/es/vxe-table-select/index.js +0 -3
  684. package/es/vxe-table-select/style.css +0 -134
  685. package/es/vxe-table-select/style.min.css +0 -1
  686. package/es/vxe-table-transfer/index.js +0 -3
  687. package/es/vxe-table-transfer/style.css +0 -0
  688. package/es/vxe-table-transfer/style.min.css +0 -0
  689. package/es/vxe-tabs/index.js +0 -3
  690. package/es/vxe-tabs/style.css +0 -705
  691. package/es/vxe-tabs/style.min.css +0 -1
  692. package/es/vxe-tag/index.js +0 -3
  693. package/es/vxe-tag/style.css +0 -187
  694. package/es/vxe-tag/style.min.css +0 -1
  695. package/es/vxe-text/index.js +0 -3
  696. package/es/vxe-text/style.css +0 -138
  697. package/es/vxe-text/style.min.css +0 -1
  698. package/es/vxe-text-ellipsis/index.js +0 -3
  699. package/es/vxe-text-ellipsis/style.css +0 -115
  700. package/es/vxe-text-ellipsis/style.min.css +0 -1
  701. package/es/vxe-textarea/index.js +0 -3
  702. package/es/vxe-textarea/style.css +0 -119
  703. package/es/vxe-textarea/style.min.css +0 -1
  704. package/es/vxe-timeline/index.js +0 -3
  705. package/es/vxe-timeline/style.css +0 -0
  706. package/es/vxe-timeline/style.min.css +0 -0
  707. package/es/vxe-timeline-item/index.js +0 -3
  708. package/es/vxe-timeline-item/style.css +0 -0
  709. package/es/vxe-timeline-item/style.min.css +0 -0
  710. package/es/vxe-tip/index.js +0 -3
  711. package/es/vxe-tip/style.css +0 -107
  712. package/es/vxe-tip/style.min.css +0 -1
  713. package/es/vxe-tooltip/index.js +0 -3
  714. package/es/vxe-tooltip/style.css +0 -117
  715. package/es/vxe-tooltip/style.min.css +0 -1
  716. package/es/vxe-tour/index.js +0 -3
  717. package/es/vxe-tour/style.css +0 -0
  718. package/es/vxe-tour/style.min.css +0 -0
  719. package/es/vxe-transfer/index.js +0 -3
  720. package/es/vxe-transfer/style.css +0 -0
  721. package/es/vxe-transfer/style.min.css +0 -0
  722. package/es/vxe-tree/index.js +0 -3
  723. package/es/vxe-tree/style.css +0 -385
  724. package/es/vxe-tree/style.min.css +0 -1
  725. package/es/vxe-tree-select/index.js +0 -3
  726. package/es/vxe-tree-select/style.css +0 -194
  727. package/es/vxe-tree-select/style.min.css +0 -1
  728. package/es/vxe-u-i/index.js +0 -3
  729. package/es/vxe-ui/index.js +0 -3
  730. package/es/vxe-ui/style.css +0 -0
  731. package/es/vxe-ui/style.min.css +0 -0
  732. package/es/vxe-upload/index.js +0 -3
  733. package/es/vxe-upload/style.css +0 -483
  734. package/es/vxe-upload/style.min.css +0 -1
  735. package/es/vxe-watermark/index.js +0 -3
  736. package/es/vxe-watermark/style.css +0 -30
  737. package/es/vxe-watermark/style.min.css +0 -1
  738. package/es/watermark/index.js +0 -24
  739. package/es/watermark/src/util.js +0 -149
  740. package/es/watermark/src/watermark.js +0 -148
  741. package/es/watermark/style.css +0 -30
  742. package/es/watermark/style.min.css +0 -1
  743. package/lib/alert/index.js +0 -19
  744. package/lib/alert/index.min.js +0 -1
  745. package/lib/alert/src/alert.js +0 -101
  746. package/lib/alert/src/alert.min.js +0 -1
  747. package/lib/alert/style/index.js +0 -1
  748. package/lib/alert/style/style.css +0 -129
  749. package/lib/alert/style/style.min.css +0 -1
  750. package/lib/anchor/index.js +0 -19
  751. package/lib/anchor/index.min.js +0 -1
  752. package/lib/anchor/src/anchor-link.js +0 -146
  753. package/lib/anchor/src/anchor-link.min.js +0 -1
  754. package/lib/anchor/src/anchor.js +0 -263
  755. package/lib/anchor/src/anchor.min.js +0 -1
  756. package/lib/anchor/src/util.js +0 -31
  757. package/lib/anchor/src/util.min.js +0 -1
  758. package/lib/anchor/style/index.js +0 -1
  759. package/lib/anchor/style/style.css +0 -42
  760. package/lib/anchor/style/style.min.css +0 -1
  761. package/lib/anchor-link/index.js +0 -19
  762. package/lib/anchor-link/index.min.js +0 -1
  763. package/lib/anchor-link/style/index.js +0 -1
  764. package/lib/anchor-link/style/style.css +0 -0
  765. package/lib/anchor-link/style/style.min.css +0 -0
  766. package/lib/avatar/index.js +0 -19
  767. package/lib/avatar/index.min.js +0 -1
  768. package/lib/avatar/src/avatar.js +0 -139
  769. package/lib/avatar/src/avatar.min.js +0 -1
  770. package/lib/avatar/style/index.js +0 -1
  771. package/lib/avatar/style/style.css +0 -98
  772. package/lib/avatar/style/style.min.css +0 -1
  773. package/lib/backtop/index.js +0 -19
  774. package/lib/backtop/index.min.js +0 -1
  775. package/lib/backtop/src/backtop.js +0 -347
  776. package/lib/backtop/src/backtop.min.js +0 -1
  777. package/lib/backtop/style/index.js +0 -1
  778. package/lib/backtop/style/style.css +0 -72
  779. package/lib/backtop/style/style.min.css +0 -1
  780. package/lib/badge/index.js +0 -19
  781. package/lib/badge/index.min.js +0 -1
  782. package/lib/badge/src/badge.js +0 -81
  783. package/lib/badge/src/badge.min.js +0 -1
  784. package/lib/badge/style/index.js +0 -1
  785. package/lib/badge/style/style.css +0 -42
  786. package/lib/badge/style/style.min.css +0 -1
  787. package/lib/breadcrumb/index.js +0 -19
  788. package/lib/breadcrumb/index.min.js +0 -1
  789. package/lib/breadcrumb/src/breadcrumb-item.js +0 -102
  790. package/lib/breadcrumb/src/breadcrumb-item.min.js +0 -1
  791. package/lib/breadcrumb/src/breadcrumb.js +0 -88
  792. package/lib/breadcrumb/src/breadcrumb.min.js +0 -1
  793. package/lib/breadcrumb/style/index.js +0 -1
  794. package/lib/breadcrumb/style/style.css +0 -33
  795. package/lib/breadcrumb/style/style.min.css +0 -1
  796. package/lib/breadcrumb-item/index.js +0 -19
  797. package/lib/breadcrumb-item/index.min.js +0 -1
  798. package/lib/breadcrumb-item/style/index.js +0 -1
  799. package/lib/breadcrumb-item/style/style.css +0 -0
  800. package/lib/breadcrumb-item/style/style.min.css +0 -0
  801. package/lib/button/index.js +0 -19
  802. package/lib/button/index.min.js +0 -1
  803. package/lib/button/src/button-group.js +0 -110
  804. package/lib/button/src/button-group.min.js +0 -1
  805. package/lib/button/src/button.js +0 -874
  806. package/lib/button/src/button.min.js +0 -1
  807. package/lib/button/style/index.js +0 -1
  808. package/lib/button/style/style.css +0 -638
  809. package/lib/button/style/style.min.css +0 -1
  810. package/lib/button-group/index.js +0 -19
  811. package/lib/button-group/index.min.js +0 -1
  812. package/lib/button-group/style/index.js +0 -1
  813. package/lib/button-group/style/style.css +0 -27
  814. package/lib/button-group/style/style.min.css +0 -1
  815. package/lib/calendar/index.js +0 -19
  816. package/lib/calendar/index.min.js +0 -1
  817. package/lib/calendar/src/calendar.js +0 -1563
  818. package/lib/calendar/src/calendar.min.js +0 -1
  819. package/lib/calendar/style/index.js +0 -1
  820. package/lib/calendar/style/style.css +0 -350
  821. package/lib/calendar/style/style.min.css +0 -1
  822. package/lib/card/index.js +0 -19
  823. package/lib/card/index.min.js +0 -1
  824. package/lib/card/src/card.js +0 -151
  825. package/lib/card/src/card.min.js +0 -1
  826. package/lib/card/style/index.js +0 -1
  827. package/lib/card/style/style.css +0 -107
  828. package/lib/card/style/style.min.css +0 -1
  829. package/lib/carousel/index.js +0 -19
  830. package/lib/carousel/index.min.js +0 -1
  831. package/lib/carousel/src/carousel-item.js +0 -110
  832. package/lib/carousel/src/carousel-item.min.js +0 -1
  833. package/lib/carousel/src/carousel.js +0 -448
  834. package/lib/carousel/src/carousel.min.js +0 -1
  835. package/lib/carousel/src/util.js +0 -27
  836. package/lib/carousel/src/util.min.js +0 -1
  837. package/lib/carousel/style/index.js +0 -1
  838. package/lib/carousel/style/style.css +0 -185
  839. package/lib/carousel/style/style.min.css +0 -1
  840. package/lib/carousel-item/index.js +0 -19
  841. package/lib/carousel-item/index.min.js +0 -1
  842. package/lib/carousel-item/style/index.js +0 -1
  843. package/lib/carousel-item/style/style.css +0 -0
  844. package/lib/carousel-item/style/style.min.css +0 -0
  845. package/lib/cascader/index.js +0 -19
  846. package/lib/cascader/index.min.js +0 -1
  847. package/lib/cascader/src/cascader.js +0 -2099
  848. package/lib/cascader/src/cascader.min.js +0 -1
  849. package/lib/cascader/src/util.js +0 -15
  850. package/lib/cascader/src/util.min.js +0 -1
  851. package/lib/cascader/style/index.js +0 -1
  852. package/lib/cascader/style/style.css +0 -346
  853. package/lib/cascader/style/style.min.css +0 -1
  854. package/lib/checkbox/index.js +0 -19
  855. package/lib/checkbox/index.min.js +0 -1
  856. package/lib/checkbox/src/button.js +0 -239
  857. package/lib/checkbox/src/button.min.js +0 -1
  858. package/lib/checkbox/src/checkbox.js +0 -227
  859. package/lib/checkbox/src/checkbox.min.js +0 -1
  860. package/lib/checkbox/src/group.js +0 -300
  861. package/lib/checkbox/src/group.min.js +0 -1
  862. package/lib/checkbox/style/index.js +0 -1
  863. package/lib/checkbox/style/style.css +0 -113
  864. package/lib/checkbox/style/style.min.css +0 -1
  865. package/lib/checkbox-button/index.js +0 -19
  866. package/lib/checkbox-button/index.min.js +0 -1
  867. package/lib/checkbox-button/style/index.js +0 -1
  868. package/lib/checkbox-button/style/style.css +0 -202
  869. package/lib/checkbox-button/style/style.min.css +0 -1
  870. package/lib/checkbox-group/index.js +0 -19
  871. package/lib/checkbox-group/index.min.js +0 -1
  872. package/lib/checkbox-group/style/index.js +0 -1
  873. package/lib/checkbox-group/style/style.css +0 -0
  874. package/lib/checkbox-group/style/style.min.css +0 -0
  875. package/lib/col/index.js +0 -19
  876. package/lib/col/index.min.js +0 -1
  877. package/lib/col/style/index.js +0 -1
  878. package/lib/col/style/style.css +0 -0
  879. package/lib/col/style/style.min.css +0 -0
  880. package/lib/collapse/index.js +0 -19
  881. package/lib/collapse/index.min.js +0 -1
  882. package/lib/collapse/src/collapse-pane.js +0 -126
  883. package/lib/collapse/src/collapse-pane.min.js +0 -1
  884. package/lib/collapse/src/collapse.js +0 -377
  885. package/lib/collapse/src/collapse.min.js +0 -1
  886. package/lib/collapse/src/util.js +0 -29
  887. package/lib/collapse/src/util.min.js +0 -1
  888. package/lib/collapse/style/index.js +0 -1
  889. package/lib/collapse/style/style.css +0 -83
  890. package/lib/collapse/style/style.min.css +0 -1
  891. package/lib/collapse-pane/index.js +0 -19
  892. package/lib/collapse-pane/index.min.js +0 -1
  893. package/lib/collapse-pane/style/index.js +0 -1
  894. package/lib/collapse-pane/style/style.css +0 -0
  895. package/lib/collapse-pane/style/style.min.css +0 -0
  896. package/lib/color-picker/index.js +0 -19
  897. package/lib/color-picker/index.min.js +0 -1
  898. package/lib/color-picker/src/color-picker.js +0 -1183
  899. package/lib/color-picker/src/color-picker.min.js +0 -1
  900. package/lib/color-picker/src/util.js +0 -215
  901. package/lib/color-picker/src/util.min.js +0 -1
  902. package/lib/color-picker/style/index.js +0 -1
  903. package/lib/color-picker/style/style.css +0 -485
  904. package/lib/color-picker/style/style.min.css +0 -1
  905. package/lib/components.js +0 -1154
  906. package/lib/components.min.js +0 -1
  907. package/lib/context-menu/index.js +0 -56
  908. package/lib/context-menu/index.min.js +0 -1
  909. package/lib/context-menu/src/context-menu.js +0 -682
  910. package/lib/context-menu/src/context-menu.min.js +0 -1
  911. package/lib/context-menu/style/index.js +0 -1
  912. package/lib/context-menu/style/style.css +0 -109
  913. package/lib/context-menu/style/style.min.css +0 -1
  914. package/lib/countdown/index.js +0 -19
  915. package/lib/countdown/index.min.js +0 -1
  916. package/lib/countdown/src/countdown.js +0 -251
  917. package/lib/countdown/src/countdown.min.js +0 -1
  918. package/lib/countdown/style/index.js +0 -1
  919. package/lib/countdown/style/style.css +0 -38
  920. package/lib/countdown/style/style.min.css +0 -1
  921. package/lib/date-panel/index.js +0 -19
  922. package/lib/date-panel/index.min.js +0 -1
  923. package/lib/date-panel/src/date-panel.js +0 -2132
  924. package/lib/date-panel/src/date-panel.min.js +0 -1
  925. package/lib/date-panel/src/util.js +0 -327
  926. package/lib/date-panel/src/util.min.js +0 -1
  927. package/lib/date-panel/style/index.js +0 -1
  928. package/lib/date-panel/style/style.css +0 -453
  929. package/lib/date-panel/style/style.min.css +0 -1
  930. package/lib/date-picker/index.js +0 -20
  931. package/lib/date-picker/index.min.js +0 -1
  932. package/lib/date-picker/src/date-picker.js +0 -1878
  933. package/lib/date-picker/src/date-picker.min.js +0 -1
  934. package/lib/date-picker/style/index.js +0 -1
  935. package/lib/date-picker/style/style.css +0 -283
  936. package/lib/date-picker/style/style.min.css +0 -1
  937. package/lib/date-range-picker/index.js +0 -19
  938. package/lib/date-range-picker/index.min.js +0 -1
  939. package/lib/date-range-picker/src/date-range-picker.js +0 -1722
  940. package/lib/date-range-picker/src/date-range-picker.min.js +0 -1
  941. package/lib/date-range-picker/style/index.js +0 -1
  942. package/lib/date-range-picker/style/style.css +0 -289
  943. package/lib/date-range-picker/style/style.min.css +0 -1
  944. package/lib/drawer/index.js +0 -84
  945. package/lib/drawer/index.min.js +0 -1
  946. package/lib/drawer/src/drawer.js +0 -801
  947. package/lib/drawer/src/drawer.min.js +0 -1
  948. package/lib/drawer/style/index.js +0 -1
  949. package/lib/drawer/style/style.css +0 -270
  950. package/lib/drawer/style/style.min.css +0 -1
  951. package/lib/dynamics/index.js +0 -110
  952. package/lib/dynamics/index.min.js +0 -1
  953. package/lib/empty/index.js +0 -19
  954. package/lib/empty/index.min.js +0 -1
  955. package/lib/empty/src/empty.js +0 -78
  956. package/lib/empty/src/empty.min.js +0 -1
  957. package/lib/empty/style/index.js +0 -1
  958. package/lib/empty/style/style.css +0 -54
  959. package/lib/empty/style/style.min.css +0 -1
  960. package/lib/form/index.js +0 -19
  961. package/lib/form/index.min.js +0 -1
  962. package/lib/form/render/index.js +0 -650
  963. package/lib/form/render/index.min.js +0 -1
  964. package/lib/form/src/form-config-item.js +0 -87
  965. package/lib/form/src/form-config-item.min.js +0 -1
  966. package/lib/form/src/form-group.js +0 -125
  967. package/lib/form/src/form-group.min.js +0 -1
  968. package/lib/form/src/form-item.js +0 -211
  969. package/lib/form/src/form-item.min.js +0 -1
  970. package/lib/form/src/form.js +0 -1130
  971. package/lib/form/src/form.min.js +0 -1
  972. package/lib/form/src/itemInfo.js +0 -95
  973. package/lib/form/src/itemInfo.min.js +0 -1
  974. package/lib/form/src/render.js +0 -406
  975. package/lib/form/src/render.min.js +0 -1
  976. package/lib/form/src/util.js +0 -106
  977. package/lib/form/src/util.min.js +0 -1
  978. package/lib/form/style/index.js +0 -1
  979. package/lib/form/style/style.css +0 -621
  980. package/lib/form/style/style.min.css +0 -1
  981. package/lib/form-gather/index.js +0 -22
  982. package/lib/form-gather/index.min.js +0 -1
  983. package/lib/form-gather/style/index.js +0 -1
  984. package/lib/form-gather/style/style.css +0 -0
  985. package/lib/form-gather/style/style.min.css +0 -0
  986. package/lib/form-group/index.js +0 -19
  987. package/lib/form-group/index.min.js +0 -1
  988. package/lib/form-group/style/index.js +0 -1
  989. package/lib/form-group/style/style.css +0 -0
  990. package/lib/form-group/style/style.min.css +0 -0
  991. package/lib/form-item/index.js +0 -19
  992. package/lib/form-item/index.min.js +0 -1
  993. package/lib/form-item/style/index.js +0 -1
  994. package/lib/form-item/style/style.css +0 -0
  995. package/lib/form-item/style/style.min.css +0 -0
  996. package/lib/icon/index.js +0 -19
  997. package/lib/icon/index.min.js +0 -1
  998. package/lib/icon/src/icon.js +0 -75
  999. package/lib/icon/src/icon.min.js +0 -1
  1000. package/lib/icon/style/iconfont.1783338703528.ttf +0 -0
  1001. package/lib/icon/style/iconfont.1783338703528.woff +0 -0
  1002. package/lib/icon/style/iconfont.1783338703528.woff2 +0 -0
  1003. package/lib/icon/style/index.js +0 -1
  1004. package/lib/icon/style/style.css +0 -1034
  1005. package/lib/icon/style/style.min.css +0 -1034
  1006. package/lib/icon-picker/index.js +0 -19
  1007. package/lib/icon-picker/index.min.js +0 -1
  1008. package/lib/icon-picker/src/icon-picker.js +0 -829
  1009. package/lib/icon-picker/src/icon-picker.min.js +0 -1
  1010. package/lib/icon-picker/style/index.js +0 -1
  1011. package/lib/icon-picker/style/style.css +0 -242
  1012. package/lib/icon-picker/style/style.min.css +0 -1
  1013. package/lib/iconfont.1783338703528.ttf +0 -0
  1014. package/lib/iconfont.1783338703528.woff +0 -0
  1015. package/lib/iconfont.1783338703528.woff2 +0 -0
  1016. package/lib/image/index.js +0 -19
  1017. package/lib/image/index.min.js +0 -1
  1018. package/lib/image/src/group.js +0 -171
  1019. package/lib/image/src/group.min.js +0 -1
  1020. package/lib/image/src/image.js +0 -317
  1021. package/lib/image/src/image.min.js +0 -1
  1022. package/lib/image/src/preview.js +0 -683
  1023. package/lib/image/src/preview.min.js +0 -1
  1024. package/lib/image/src/util.js +0 -70
  1025. package/lib/image/src/util.min.js +0 -1
  1026. package/lib/image/style/index.js +0 -1
  1027. package/lib/image/style/style.css +0 -17
  1028. package/lib/image/style/style.min.css +0 -1
  1029. package/lib/image-group/index.js +0 -19
  1030. package/lib/image-group/index.min.js +0 -1
  1031. package/lib/image-group/style/index.js +0 -1
  1032. package/lib/image-group/style/style.css +0 -3
  1033. package/lib/image-group/style/style.min.css +0 -1
  1034. package/lib/image-preview/index.js +0 -21
  1035. package/lib/image-preview/index.min.js +0 -1
  1036. package/lib/image-preview/style/index.js +0 -1
  1037. package/lib/image-preview/style/style.css +0 -218
  1038. package/lib/image-preview/style/style.min.css +0 -1
  1039. package/lib/index.common.js +0 -25
  1040. package/lib/index.umd.js +0 -70070
  1041. package/lib/index.umd.min.js +0 -1
  1042. package/lib/input/index.js +0 -19
  1043. package/lib/input/index.min.js +0 -1
  1044. package/lib/input/src/input.js +0 -3098
  1045. package/lib/input/src/input.min.js +0 -1
  1046. package/lib/input/style/index.js +0 -1
  1047. package/lib/input/style/style.css +0 -1025
  1048. package/lib/input/style/style.min.css +0 -1
  1049. package/lib/language/ar-EG.d.ts +0 -2
  1050. package/lib/language/ar-EG.js +0 -880
  1051. package/lib/language/ar-EG.min.js +0 -1
  1052. package/lib/language/ar-EG.umd.js +0 -894
  1053. package/lib/language/de-DE.d.ts +0 -2
  1054. package/lib/language/de-DE.js +0 -880
  1055. package/lib/language/de-DE.min.js +0 -1
  1056. package/lib/language/de-DE.umd.js +0 -894
  1057. package/lib/language/en-US.d.ts +0 -2
  1058. package/lib/language/en-US.js +0 -880
  1059. package/lib/language/en-US.min.js +0 -1
  1060. package/lib/language/en-US.umd.js +0 -894
  1061. package/lib/language/es-ES.d.ts +0 -2
  1062. package/lib/language/es-ES.js +0 -880
  1063. package/lib/language/es-ES.min.js +0 -1
  1064. package/lib/language/es-ES.umd.js +0 -894
  1065. package/lib/language/fr-FR.d.ts +0 -2
  1066. package/lib/language/fr-FR.js +0 -880
  1067. package/lib/language/fr-FR.min.js +0 -1
  1068. package/lib/language/fr-FR.umd.js +0 -894
  1069. package/lib/language/hu-HU.d.ts +0 -2
  1070. package/lib/language/hu-HU.js +0 -880
  1071. package/lib/language/hu-HU.min.js +0 -1
  1072. package/lib/language/hu-HU.umd.js +0 -894
  1073. package/lib/language/hy-AM.d.ts +0 -2
  1074. package/lib/language/hy-AM.js +0 -880
  1075. package/lib/language/hy-AM.min.js +0 -1
  1076. package/lib/language/hy-AM.umd.js +0 -894
  1077. package/lib/language/id-ID.d.ts +0 -2
  1078. package/lib/language/id-ID.js +0 -880
  1079. package/lib/language/id-ID.min.js +0 -1
  1080. package/lib/language/id-ID.umd.js +0 -894
  1081. package/lib/language/it-IT.d.ts +0 -2
  1082. package/lib/language/it-IT.js +0 -880
  1083. package/lib/language/it-IT.min.js +0 -1
  1084. package/lib/language/it-IT.umd.js +0 -894
  1085. package/lib/language/ja-JP.d.ts +0 -2
  1086. package/lib/language/ja-JP.js +0 -880
  1087. package/lib/language/ja-JP.min.js +0 -1
  1088. package/lib/language/ja-JP.umd.js +0 -894
  1089. package/lib/language/ko-KR.d.ts +0 -2
  1090. package/lib/language/ko-KR.js +0 -880
  1091. package/lib/language/ko-KR.min.js +0 -1
  1092. package/lib/language/ko-KR.umd.js +0 -894
  1093. package/lib/language/ms-MY.d.ts +0 -2
  1094. package/lib/language/ms-MY.js +0 -880
  1095. package/lib/language/ms-MY.min.js +0 -1
  1096. package/lib/language/ms-MY.umd.js +0 -894
  1097. package/lib/language/nb-NO.d.ts +0 -2
  1098. package/lib/language/nb-NO.js +0 -880
  1099. package/lib/language/nb-NO.min.js +0 -1
  1100. package/lib/language/nb-NO.umd.js +0 -894
  1101. package/lib/language/pt-BR.d.ts +0 -2
  1102. package/lib/language/pt-BR.js +0 -880
  1103. package/lib/language/pt-BR.min.js +0 -1
  1104. package/lib/language/pt-BR.umd.js +0 -894
  1105. package/lib/language/ru-RU.d.ts +0 -2
  1106. package/lib/language/ru-RU.js +0 -880
  1107. package/lib/language/ru-RU.min.js +0 -1
  1108. package/lib/language/ru-RU.umd.js +0 -894
  1109. package/lib/language/th-TH.d.ts +0 -2
  1110. package/lib/language/th-TH.js +0 -880
  1111. package/lib/language/th-TH.min.js +0 -1
  1112. package/lib/language/th-TH.umd.js +0 -894
  1113. package/lib/language/ug-CN.d.ts +0 -2
  1114. package/lib/language/ug-CN.js +0 -880
  1115. package/lib/language/ug-CN.min.js +0 -1
  1116. package/lib/language/ug-CN.umd.js +0 -894
  1117. package/lib/language/uk-UA.d.ts +0 -2
  1118. package/lib/language/uk-UA.js +0 -880
  1119. package/lib/language/uk-UA.min.js +0 -1
  1120. package/lib/language/uk-UA.umd.js +0 -894
  1121. package/lib/language/uz-UZ.d.ts +0 -2
  1122. package/lib/language/uz-UZ.js +0 -880
  1123. package/lib/language/uz-UZ.min.js +0 -1
  1124. package/lib/language/uz-UZ.umd.js +0 -894
  1125. package/lib/language/vi-VN.d.ts +0 -2
  1126. package/lib/language/vi-VN.js +0 -880
  1127. package/lib/language/vi-VN.min.js +0 -1
  1128. package/lib/language/vi-VN.umd.js +0 -894
  1129. package/lib/language/zh-CHT.d.ts +0 -2
  1130. package/lib/language/zh-CHT.js +0 -880
  1131. package/lib/language/zh-CHT.min.js +0 -1
  1132. package/lib/language/zh-CHT.umd.js +0 -894
  1133. package/lib/language/zh-CN.d.ts +0 -2
  1134. package/lib/language/zh-CN.js +0 -880
  1135. package/lib/language/zh-CN.min.js +0 -1
  1136. package/lib/language/zh-CN.umd.js +0 -894
  1137. package/lib/language/zh-HK.d.ts +0 -2
  1138. package/lib/language/zh-HK.js +0 -9
  1139. package/lib/language/zh-HK.min.js +0 -1
  1140. package/lib/language/zh-HK.umd.js +0 -23
  1141. package/lib/language/zh-MO.d.ts +0 -2
  1142. package/lib/language/zh-MO.js +0 -9
  1143. package/lib/language/zh-MO.min.js +0 -1
  1144. package/lib/language/zh-MO.umd.js +0 -23
  1145. package/lib/language/zh-TC.js +0 -9
  1146. package/lib/language/zh-TC.min.js +0 -1
  1147. package/lib/language/zh-TW.d.ts +0 -2
  1148. package/lib/language/zh-TW.js +0 -9
  1149. package/lib/language/zh-TW.min.js +0 -1
  1150. package/lib/language/zh-TW.umd.js +0 -23
  1151. package/lib/layout-aside/index.js +0 -19
  1152. package/lib/layout-aside/index.min.js +0 -1
  1153. package/lib/layout-aside/src/layout-aside.js +0 -120
  1154. package/lib/layout-aside/src/layout-aside.min.js +0 -1
  1155. package/lib/layout-aside/style/index.js +0 -1
  1156. package/lib/layout-aside/style/style.css +0 -26
  1157. package/lib/layout-aside/style/style.min.css +0 -1
  1158. package/lib/layout-body/index.js +0 -19
  1159. package/lib/layout-body/index.min.js +0 -1
  1160. package/lib/layout-body/src/layout-body.js +0 -141
  1161. package/lib/layout-body/src/layout-body.min.js +0 -1
  1162. package/lib/layout-body/style/index.js +0 -1
  1163. package/lib/layout-body/style/style.css +0 -16
  1164. package/lib/layout-body/style/style.min.css +0 -1
  1165. package/lib/layout-container/index.js +0 -19
  1166. package/lib/layout-container/index.min.js +0 -1
  1167. package/lib/layout-container/src/layout-container.js +0 -65
  1168. package/lib/layout-container/src/layout-container.min.js +0 -1
  1169. package/lib/layout-container/style/index.js +0 -1
  1170. package/lib/layout-container/style/style.css +0 -28
  1171. package/lib/layout-container/style/style.min.css +0 -1
  1172. package/lib/layout-footer/index.js +0 -19
  1173. package/lib/layout-footer/index.min.js +0 -1
  1174. package/lib/layout-footer/src/layout-footer.js +0 -56
  1175. package/lib/layout-footer/src/layout-footer.min.js +0 -1
  1176. package/lib/layout-footer/style/index.js +0 -1
  1177. package/lib/layout-footer/style/style.css +0 -14
  1178. package/lib/layout-footer/style/style.min.css +0 -1
  1179. package/lib/layout-header/index.js +0 -19
  1180. package/lib/layout-header/index.min.js +0 -1
  1181. package/lib/layout-header/src/layout-header.js +0 -53
  1182. package/lib/layout-header/src/layout-header.min.js +0 -1
  1183. package/lib/layout-header/style/index.js +0 -1
  1184. package/lib/layout-header/style/style.css +0 -11
  1185. package/lib/layout-header/style/style.min.css +0 -1
  1186. package/lib/link/index.js +0 -19
  1187. package/lib/link/index.min.js +0 -1
  1188. package/lib/link/src/link.js +0 -138
  1189. package/lib/link/src/link.min.js +0 -1
  1190. package/lib/link/style/index.js +0 -1
  1191. package/lib/link/style/style.css +0 -111
  1192. package/lib/link/style/style.min.css +0 -1
  1193. package/lib/list/index.js +0 -19
  1194. package/lib/list/index.min.js +0 -1
  1195. package/lib/list/src/list.js +0 -2412
  1196. package/lib/list/src/list.min.js +0 -1
  1197. package/lib/list/src/store.js +0 -15
  1198. package/lib/list/src/store.min.js +0 -1
  1199. package/lib/list/src/util.js +0 -14
  1200. package/lib/list/src/util.min.js +0 -1
  1201. package/lib/list/style/index.js +0 -1
  1202. package/lib/list/style/style.css +0 -379
  1203. package/lib/list/style/style.min.css +0 -1
  1204. package/lib/loading/index.js +0 -34
  1205. package/lib/loading/index.min.js +0 -1
  1206. package/lib/loading/src/loading.js +0 -151
  1207. package/lib/loading/src/loading.min.js +0 -1
  1208. package/lib/loading/style/index.js +0 -1
  1209. package/lib/loading/style/style.css +0 -120
  1210. package/lib/loading/style/style.min.css +0 -1
  1211. package/lib/mention/index.js +0 -19
  1212. package/lib/mention/index.min.js +0 -1
  1213. package/lib/mention/src/mention.js +0 -54
  1214. package/lib/mention/src/mention.min.js +0 -1
  1215. package/lib/mention/style/index.js +0 -1
  1216. package/lib/mention/style/style.css +0 -0
  1217. package/lib/mention/style/style.min.css +0 -0
  1218. package/lib/menu/index.js +0 -19
  1219. package/lib/menu/index.min.js +0 -1
  1220. package/lib/menu/src/menu.js +0 -613
  1221. package/lib/menu/src/menu.min.js +0 -1
  1222. package/lib/menu/style/index.js +0 -1
  1223. package/lib/menu/style/style.css +0 -140
  1224. package/lib/menu/style/style.min.css +0 -1
  1225. package/lib/modal/index.js +0 -149
  1226. package/lib/modal/index.min.js +0 -1
  1227. package/lib/modal/src/modal.js +0 -1730
  1228. package/lib/modal/src/modal.min.js +0 -1
  1229. package/lib/modal/style/index.js +0 -1
  1230. package/lib/modal/style/style.css +0 -415
  1231. package/lib/modal/style/style.min.css +0 -1
  1232. package/lib/notice-bar/index.js +0 -19
  1233. package/lib/notice-bar/index.min.js +0 -1
  1234. package/lib/notice-bar/src/notice-bar.js +0 -175
  1235. package/lib/notice-bar/src/notice-bar.min.js +0 -1
  1236. package/lib/notice-bar/style/index.js +0 -1
  1237. package/lib/notice-bar/style/style.css +0 -78
  1238. package/lib/notice-bar/style/style.min.css +0 -1
  1239. package/lib/number-input/index.js +0 -19
  1240. package/lib/number-input/index.min.js +0 -1
  1241. package/lib/number-input/src/number-input.js +0 -1227
  1242. package/lib/number-input/src/number-input.min.js +0 -1
  1243. package/lib/number-input/src/util.js +0 -29
  1244. package/lib/number-input/src/util.min.js +0 -1
  1245. package/lib/number-input/style/index.js +0 -1
  1246. package/lib/number-input/style/style.css +0 -274
  1247. package/lib/number-input/style/style.min.css +0 -1
  1248. package/lib/optgroup/index.js +0 -19
  1249. package/lib/optgroup/index.min.js +0 -1
  1250. package/lib/optgroup/style/index.js +0 -1
  1251. package/lib/optgroup/style/style.css +0 -0
  1252. package/lib/optgroup/style/style.min.css +0 -0
  1253. package/lib/option/index.js +0 -19
  1254. package/lib/option/index.min.js +0 -1
  1255. package/lib/option/style/index.js +0 -1
  1256. package/lib/option/style/style.css +0 -0
  1257. package/lib/option/style/style.min.css +0 -0
  1258. package/lib/pager/index.js +0 -19
  1259. package/lib/pager/index.min.js +0 -1
  1260. package/lib/pager/src/pager.js +0 -951
  1261. package/lib/pager/src/pager.min.js +0 -1
  1262. package/lib/pager/style/index.js +0 -1
  1263. package/lib/pager/style/style.css +0 -341
  1264. package/lib/pager/style/style.min.css +0 -1
  1265. package/lib/password-input/index.js +0 -19
  1266. package/lib/password-input/index.min.js +0 -1
  1267. package/lib/password-input/src/password-input.js +0 -438
  1268. package/lib/password-input/src/password-input.min.js +0 -1
  1269. package/lib/password-input/style/index.js +0 -1
  1270. package/lib/password-input/style/style.css +0 -598
  1271. package/lib/password-input/style/style.min.css +0 -1
  1272. package/lib/print/index.js +0 -21
  1273. package/lib/print/index.min.js +0 -1
  1274. package/lib/print/src/page-break.js +0 -76
  1275. package/lib/print/src/page-break.min.js +0 -1
  1276. package/lib/print/src/print.js +0 -258
  1277. package/lib/print/src/print.min.js +0 -1
  1278. package/lib/print/src/util.js +0 -239
  1279. package/lib/print/src/util.min.js +0 -1
  1280. package/lib/print/style/index.js +0 -1
  1281. package/lib/print/style/style.css +0 -4
  1282. package/lib/print/style/style.min.css +0 -1
  1283. package/lib/print-page-break/index.js +0 -17
  1284. package/lib/print-page-break/index.min.js +0 -1
  1285. package/lib/print-page-break/style/index.js +0 -1
  1286. package/lib/print-page-break/style/style.css +0 -0
  1287. package/lib/print-page-break/style/style.min.css +0 -0
  1288. package/lib/pulldown/index.js +0 -19
  1289. package/lib/pulldown/index.min.js +0 -1
  1290. package/lib/pulldown/src/pulldown.js +0 -522
  1291. package/lib/pulldown/src/pulldown.min.js +0 -1
  1292. package/lib/pulldown/style/index.js +0 -1
  1293. package/lib/pulldown/style/style.css +0 -109
  1294. package/lib/pulldown/style/style.min.css +0 -1
  1295. package/lib/radio/index.js +0 -19
  1296. package/lib/radio/index.min.js +0 -1
  1297. package/lib/radio/src/button.js +0 -263
  1298. package/lib/radio/src/button.min.js +0 -1
  1299. package/lib/radio/src/group.js +0 -283
  1300. package/lib/radio/src/group.min.js +0 -1
  1301. package/lib/radio/src/radio.js +0 -252
  1302. package/lib/radio/src/radio.min.js +0 -1
  1303. package/lib/radio/style/index.js +0 -1
  1304. package/lib/radio/style/style.css +0 -108
  1305. package/lib/radio/style/style.min.css +0 -1
  1306. package/lib/radio-button/index.js +0 -19
  1307. package/lib/radio-button/index.min.js +0 -1
  1308. package/lib/radio-button/style/index.js +0 -1
  1309. package/lib/radio-button/style/style.css +0 -202
  1310. package/lib/radio-button/style/style.min.css +0 -1
  1311. package/lib/radio-group/index.js +0 -19
  1312. package/lib/radio-group/index.min.js +0 -1
  1313. package/lib/radio-group/style/index.js +0 -1
  1314. package/lib/radio-group/style/style.css +0 -0
  1315. package/lib/radio-group/style/style.min.css +0 -0
  1316. package/lib/rate/index.js +0 -19
  1317. package/lib/rate/index.min.js +0 -1
  1318. package/lib/rate/src/rate.js +0 -187
  1319. package/lib/rate/src/rate.min.js +0 -1
  1320. package/lib/rate/style/index.js +0 -1
  1321. package/lib/rate/style/style.css +0 -54
  1322. package/lib/rate/style/style.min.css +0 -1
  1323. package/lib/result/index.js +0 -19
  1324. package/lib/result/index.min.js +0 -1
  1325. package/lib/result/src/result.js +0 -88
  1326. package/lib/result/src/result.min.js +0 -1
  1327. package/lib/result/style/index.js +0 -1
  1328. package/lib/result/style/style.css +0 -68
  1329. package/lib/result/style/style.min.css +0 -1
  1330. package/lib/row/index.js +0 -19
  1331. package/lib/row/index.min.js +0 -1
  1332. package/lib/row/src/col.js +0 -138
  1333. package/lib/row/src/col.min.js +0 -1
  1334. package/lib/row/src/row.js +0 -122
  1335. package/lib/row/src/row.min.js +0 -1
  1336. package/lib/row/style/index.js +0 -1
  1337. package/lib/row/style/style.css +0 -116
  1338. package/lib/row/style/style.min.css +0 -1
  1339. package/lib/segmented/index.js +0 -19
  1340. package/lib/segmented/index.min.js +0 -1
  1341. package/lib/segmented/src/segmented.js +0 -260
  1342. package/lib/segmented/src/segmented.min.js +0 -1
  1343. package/lib/segmented/style/index.js +0 -1
  1344. package/lib/segmented/style/style.css +0 -197
  1345. package/lib/segmented/style/style.min.css +0 -1
  1346. package/lib/select/index.js +0 -19
  1347. package/lib/select/index.min.js +0 -1
  1348. package/lib/select/src/optgroup.js +0 -98
  1349. package/lib/select/src/optgroup.min.js +0 -1
  1350. package/lib/select/src/option-info.js +0 -33
  1351. package/lib/select/src/option-info.min.js +0 -1
  1352. package/lib/select/src/option.js +0 -94
  1353. package/lib/select/src/option.min.js +0 -1
  1354. package/lib/select/src/select.js +0 -2112
  1355. package/lib/select/src/select.min.js +0 -1
  1356. package/lib/select/src/util.js +0 -51
  1357. package/lib/select/src/util.min.js +0 -1
  1358. package/lib/select/style/index.js +0 -1
  1359. package/lib/select/style/style.css +0 -370
  1360. package/lib/select/style/style.min.css +0 -1
  1361. package/lib/slider/index.js +0 -19
  1362. package/lib/slider/index.min.js +0 -1
  1363. package/lib/slider/src/slider.js +0 -336
  1364. package/lib/slider/src/slider.min.js +0 -1
  1365. package/lib/slider/style/index.js +0 -1
  1366. package/lib/slider/style/style.css +0 -143
  1367. package/lib/slider/style/style.min.css +0 -1
  1368. package/lib/split/index.js +0 -19
  1369. package/lib/split/index.min.js +0 -1
  1370. package/lib/split/style/index.js +0 -1
  1371. package/lib/split/style/style.css +0 -295
  1372. package/lib/split/style/style.min.css +0 -1
  1373. package/lib/split-pane/index.js +0 -20
  1374. package/lib/split-pane/index.min.js +0 -1
  1375. package/lib/split-pane/style/index.js +0 -1
  1376. package/lib/split-pane/style/style.css +0 -0
  1377. package/lib/split-pane/style/style.min.css +0 -0
  1378. package/lib/splitter/index.js +0 -19
  1379. package/lib/splitter/index.min.js +0 -1
  1380. package/lib/splitter/src/splitter-panel.js +0 -161
  1381. package/lib/splitter/src/splitter-panel.min.js +0 -1
  1382. package/lib/splitter/src/splitter.js +0 -1036
  1383. package/lib/splitter/src/splitter.min.js +0 -1
  1384. package/lib/splitter/src/util.js +0 -27
  1385. package/lib/splitter/src/util.min.js +0 -1
  1386. package/lib/splitter/style/index.js +0 -1
  1387. package/lib/splitter/style/style.css +0 -295
  1388. package/lib/splitter/style/style.min.css +0 -1
  1389. package/lib/splitter-panel/index.js +0 -19
  1390. package/lib/splitter-panel/index.min.js +0 -1
  1391. package/lib/splitter-panel/style/index.js +0 -1
  1392. package/lib/splitter-panel/style/style.css +0 -0
  1393. package/lib/splitter-panel/style/style.min.css +0 -0
  1394. package/lib/steps/index.js +0 -19
  1395. package/lib/steps/index.min.js +0 -1
  1396. package/lib/steps/src/steps.js +0 -58
  1397. package/lib/steps/src/steps.min.js +0 -1
  1398. package/lib/steps/style/index.js +0 -1
  1399. package/lib/steps/style/style.css +0 -0
  1400. package/lib/steps/style/style.min.css +0 -0
  1401. package/lib/style.css +0 -1
  1402. package/lib/style.min.css +0 -1
  1403. package/lib/switch/index.js +0 -19
  1404. package/lib/switch/index.min.js +0 -1
  1405. package/lib/switch/src/switch.js +0 -256
  1406. package/lib/switch/src/switch.min.js +0 -1
  1407. package/lib/switch/style/index.js +0 -1
  1408. package/lib/switch/style/style.css +0 -111
  1409. package/lib/switch/style/style.min.css +0 -1
  1410. package/lib/tab-pane/index.js +0 -19
  1411. package/lib/tab-pane/index.min.js +0 -1
  1412. package/lib/tab-pane/style/index.js +0 -1
  1413. package/lib/tab-pane/style/style.css +0 -0
  1414. package/lib/tab-pane/style/style.min.css +0 -0
  1415. package/lib/table-select/index.js +0 -19
  1416. package/lib/table-select/index.min.js +0 -1
  1417. package/lib/table-select/src/table-select.js +0 -871
  1418. package/lib/table-select/src/table-select.min.js +0 -1
  1419. package/lib/table-select/style/index.js +0 -1
  1420. package/lib/table-select/style/style.css +0 -134
  1421. package/lib/table-select/style/style.min.css +0 -1
  1422. package/lib/table-transfer/index.js +0 -19
  1423. package/lib/table-transfer/index.min.js +0 -1
  1424. package/lib/table-transfer/src/table-transfer.js +0 -84
  1425. package/lib/table-transfer/src/table-transfer.min.js +0 -1
  1426. package/lib/table-transfer/style/index.js +0 -1
  1427. package/lib/table-transfer/style/style.css +0 -0
  1428. package/lib/table-transfer/style/style.min.css +0 -0
  1429. package/lib/tabs/index.js +0 -19
  1430. package/lib/tabs/index.min.js +0 -1
  1431. package/lib/tabs/src/tab-pane.js +0 -129
  1432. package/lib/tabs/src/tab-pane.min.js +0 -1
  1433. package/lib/tabs/src/tabs.js +0 -1031
  1434. package/lib/tabs/src/tabs.min.js +0 -1
  1435. package/lib/tabs/src/util.js +0 -29
  1436. package/lib/tabs/src/util.min.js +0 -1
  1437. package/lib/tabs/style/index.js +0 -1
  1438. package/lib/tabs/style/style.css +0 -705
  1439. package/lib/tabs/style/style.min.css +0 -1
  1440. package/lib/tag/index.js +0 -19
  1441. package/lib/tag/index.min.js +0 -1
  1442. package/lib/tag/src/tag.js +0 -183
  1443. package/lib/tag/src/tag.min.js +0 -1
  1444. package/lib/tag/style/index.js +0 -1
  1445. package/lib/tag/style/style.css +0 -187
  1446. package/lib/tag/style/style.min.css +0 -1
  1447. package/lib/text/index.js +0 -19
  1448. package/lib/text/index.min.js +0 -1
  1449. package/lib/text/src/text.js +0 -244
  1450. package/lib/text/src/text.min.js +0 -1
  1451. package/lib/text/style/index.js +0 -1
  1452. package/lib/text/style/style.css +0 -138
  1453. package/lib/text/style/style.min.css +0 -1
  1454. package/lib/text-ellipsis/index.js +0 -19
  1455. package/lib/text-ellipsis/index.min.js +0 -1
  1456. package/lib/text-ellipsis/src/text-ellipsis.js +0 -282
  1457. package/lib/text-ellipsis/src/text-ellipsis.min.js +0 -1
  1458. package/lib/text-ellipsis/style/index.js +0 -1
  1459. package/lib/text-ellipsis/style/style.css +0 -115
  1460. package/lib/text-ellipsis/style/style.min.css +0 -1
  1461. package/lib/textarea/index.js +0 -19
  1462. package/lib/textarea/index.min.js +0 -1
  1463. package/lib/textarea/src/textarea.js +0 -491
  1464. package/lib/textarea/src/textarea.min.js +0 -1
  1465. package/lib/textarea/style/index.js +0 -1
  1466. package/lib/textarea/style/style.css +0 -119
  1467. package/lib/textarea/style/style.min.css +0 -1
  1468. package/lib/timeline/index.js +0 -19
  1469. package/lib/timeline/index.min.js +0 -1
  1470. package/lib/timeline/src/timeline-item.js +0 -45
  1471. package/lib/timeline/src/timeline-item.min.js +0 -1
  1472. package/lib/timeline/src/timeline.js +0 -54
  1473. package/lib/timeline/src/timeline.min.js +0 -1
  1474. package/lib/timeline/style/index.js +0 -1
  1475. package/lib/timeline/style/style.css +0 -0
  1476. package/lib/timeline/style/style.min.css +0 -0
  1477. package/lib/timeline-item/index.js +0 -19
  1478. package/lib/timeline-item/index.min.js +0 -1
  1479. package/lib/timeline-item/style/index.js +0 -1
  1480. package/lib/timeline-item/style/style.css +0 -0
  1481. package/lib/timeline-item/style/style.min.css +0 -0
  1482. package/lib/tip/index.js +0 -21
  1483. package/lib/tip/index.min.js +0 -1
  1484. package/lib/tip/src/tip.js +0 -102
  1485. package/lib/tip/src/tip.min.js +0 -1
  1486. package/lib/tip/style/index.js +0 -1
  1487. package/lib/tip/style/style.css +0 -107
  1488. package/lib/tip/style/style.min.css +0 -1
  1489. package/lib/tooltip/index.js +0 -19
  1490. package/lib/tooltip/index.min.js +0 -1
  1491. package/lib/tooltip/src/tooltip.js +0 -721
  1492. package/lib/tooltip/src/tooltip.min.js +0 -1
  1493. package/lib/tooltip/style/index.js +0 -1
  1494. package/lib/tooltip/style/style.css +0 -117
  1495. package/lib/tooltip/style/style.min.css +0 -1
  1496. package/lib/tour/index.js +0 -19
  1497. package/lib/tour/index.min.js +0 -1
  1498. package/lib/tour/src/tour.js +0 -54
  1499. package/lib/tour/src/tour.min.js +0 -1
  1500. package/lib/tour/style/index.js +0 -1
  1501. package/lib/tour/style/style.css +0 -0
  1502. package/lib/tour/style/style.min.css +0 -0
  1503. package/lib/transfer/index.js +0 -19
  1504. package/lib/transfer/index.min.js +0 -1
  1505. package/lib/transfer/src/transfer.js +0 -93
  1506. package/lib/transfer/src/transfer.min.js +0 -1
  1507. package/lib/transfer/style/index.js +0 -1
  1508. package/lib/transfer/style/style.css +0 -0
  1509. package/lib/transfer/style/style.min.css +0 -0
  1510. package/lib/tree/index.js +0 -19
  1511. package/lib/tree/index.min.js +0 -1
  1512. package/lib/tree/src/store.js +0 -15
  1513. package/lib/tree/src/store.min.js +0 -1
  1514. package/lib/tree/src/tree.js +0 -3952
  1515. package/lib/tree/src/tree.min.js +0 -1
  1516. package/lib/tree/src/util.js +0 -53
  1517. package/lib/tree/src/util.min.js +0 -1
  1518. package/lib/tree/style/index.js +0 -1
  1519. package/lib/tree/style/style.css +0 -385
  1520. package/lib/tree/style/style.min.css +0 -1
  1521. package/lib/tree-select/index.js +0 -19
  1522. package/lib/tree-select/index.min.js +0 -1
  1523. package/lib/tree-select/src/tree-select.js +0 -1205
  1524. package/lib/tree-select/src/tree-select.min.js +0 -1
  1525. package/lib/tree-select/style/index.js +0 -1
  1526. package/lib/tree-select/style/style.css +0 -194
  1527. package/lib/tree-select/style/style.min.css +0 -1
  1528. package/lib/ui/index.js +0 -719
  1529. package/lib/ui/index.min.js +0 -1
  1530. package/lib/ui/src/anime.js +0 -64
  1531. package/lib/ui/src/anime.min.js +0 -1
  1532. package/lib/ui/src/comp.js +0 -9
  1533. package/lib/ui/src/comp.min.js +0 -1
  1534. package/lib/ui/src/dom.js +0 -304
  1535. package/lib/ui/src/dom.min.js +0 -1
  1536. package/lib/ui/src/log.js +0 -22
  1537. package/lib/ui/src/log.min.js +0 -1
  1538. package/lib/ui/src/utils.js +0 -70
  1539. package/lib/ui/src/utils.min.js +0 -1
  1540. package/lib/ui/src/vn.js +0 -63
  1541. package/lib/ui/src/vn.min.js +0 -1
  1542. package/lib/ui/style/index.js +0 -1
  1543. package/lib/ui/style/style.css +0 -0
  1544. package/lib/ui/style/style.min.css +0 -0
  1545. package/lib/upload/index.js +0 -22
  1546. package/lib/upload/index.min.js +0 -1
  1547. package/lib/upload/src/upload.js +0 -2172
  1548. package/lib/upload/src/upload.min.js +0 -1
  1549. package/lib/upload/src/util.js +0 -130
  1550. package/lib/upload/src/util.min.js +0 -1
  1551. package/lib/upload/style/index.js +0 -1
  1552. package/lib/upload/style/style.css +0 -483
  1553. package/lib/upload/style/style.min.css +0 -1
  1554. package/lib/vxe-alert/index.js +0 -22
  1555. package/lib/vxe-alert/index.min.js +0 -1
  1556. package/lib/vxe-alert/style/index.js +0 -1
  1557. package/lib/vxe-alert/style/style.css +0 -129
  1558. package/lib/vxe-alert/style/style.min.css +0 -1
  1559. package/lib/vxe-anchor/index.js +0 -22
  1560. package/lib/vxe-anchor/index.min.js +0 -1
  1561. package/lib/vxe-anchor/style/index.js +0 -1
  1562. package/lib/vxe-anchor/style/style.css +0 -42
  1563. package/lib/vxe-anchor/style/style.min.css +0 -1
  1564. package/lib/vxe-anchor-link/index.js +0 -22
  1565. package/lib/vxe-anchor-link/index.min.js +0 -1
  1566. package/lib/vxe-anchor-link/style/index.js +0 -1
  1567. package/lib/vxe-anchor-link/style/style.css +0 -0
  1568. package/lib/vxe-anchor-link/style/style.min.css +0 -0
  1569. package/lib/vxe-avatar/index.js +0 -22
  1570. package/lib/vxe-avatar/index.min.js +0 -1
  1571. package/lib/vxe-avatar/style/index.js +0 -1
  1572. package/lib/vxe-avatar/style/style.css +0 -98
  1573. package/lib/vxe-avatar/style/style.min.css +0 -1
  1574. package/lib/vxe-backtop/index.js +0 -22
  1575. package/lib/vxe-backtop/index.min.js +0 -1
  1576. package/lib/vxe-backtop/style/index.js +0 -1
  1577. package/lib/vxe-backtop/style/style.css +0 -72
  1578. package/lib/vxe-backtop/style/style.min.css +0 -1
  1579. package/lib/vxe-badge/index.js +0 -22
  1580. package/lib/vxe-badge/index.min.js +0 -1
  1581. package/lib/vxe-badge/style/index.js +0 -1
  1582. package/lib/vxe-badge/style/style.css +0 -42
  1583. package/lib/vxe-badge/style/style.min.css +0 -1
  1584. package/lib/vxe-breadcrumb/index.js +0 -22
  1585. package/lib/vxe-breadcrumb/index.min.js +0 -1
  1586. package/lib/vxe-breadcrumb/style/index.js +0 -1
  1587. package/lib/vxe-breadcrumb/style/style.css +0 -33
  1588. package/lib/vxe-breadcrumb/style/style.min.css +0 -1
  1589. package/lib/vxe-breadcrumb-item/index.js +0 -22
  1590. package/lib/vxe-breadcrumb-item/index.min.js +0 -1
  1591. package/lib/vxe-breadcrumb-item/style/index.js +0 -1
  1592. package/lib/vxe-breadcrumb-item/style/style.css +0 -0
  1593. package/lib/vxe-breadcrumb-item/style/style.min.css +0 -0
  1594. package/lib/vxe-button/index.js +0 -22
  1595. package/lib/vxe-button/index.min.js +0 -1
  1596. package/lib/vxe-button/style/index.js +0 -1
  1597. package/lib/vxe-button/style/style.css +0 -638
  1598. package/lib/vxe-button/style/style.min.css +0 -1
  1599. package/lib/vxe-button-group/index.js +0 -22
  1600. package/lib/vxe-button-group/index.min.js +0 -1
  1601. package/lib/vxe-button-group/style/index.js +0 -1
  1602. package/lib/vxe-button-group/style/style.css +0 -27
  1603. package/lib/vxe-button-group/style/style.min.css +0 -1
  1604. package/lib/vxe-calendar/index.js +0 -22
  1605. package/lib/vxe-calendar/index.min.js +0 -1
  1606. package/lib/vxe-calendar/style/index.js +0 -1
  1607. package/lib/vxe-calendar/style/style.css +0 -350
  1608. package/lib/vxe-calendar/style/style.min.css +0 -1
  1609. package/lib/vxe-card/index.js +0 -22
  1610. package/lib/vxe-card/index.min.js +0 -1
  1611. package/lib/vxe-card/style/index.js +0 -1
  1612. package/lib/vxe-card/style/style.css +0 -107
  1613. package/lib/vxe-card/style/style.min.css +0 -1
  1614. package/lib/vxe-carousel/index.js +0 -22
  1615. package/lib/vxe-carousel/index.min.js +0 -1
  1616. package/lib/vxe-carousel/style/index.js +0 -1
  1617. package/lib/vxe-carousel/style/style.css +0 -185
  1618. package/lib/vxe-carousel/style/style.min.css +0 -1
  1619. package/lib/vxe-carousel-item/index.js +0 -22
  1620. package/lib/vxe-carousel-item/index.min.js +0 -1
  1621. package/lib/vxe-carousel-item/style/index.js +0 -1
  1622. package/lib/vxe-carousel-item/style/style.css +0 -0
  1623. package/lib/vxe-carousel-item/style/style.min.css +0 -0
  1624. package/lib/vxe-cascader/index.js +0 -22
  1625. package/lib/vxe-cascader/index.min.js +0 -1
  1626. package/lib/vxe-cascader/style/index.js +0 -1
  1627. package/lib/vxe-cascader/style/style.css +0 -346
  1628. package/lib/vxe-cascader/style/style.min.css +0 -1
  1629. package/lib/vxe-checkbox/index.js +0 -22
  1630. package/lib/vxe-checkbox/index.min.js +0 -1
  1631. package/lib/vxe-checkbox/style/index.js +0 -1
  1632. package/lib/vxe-checkbox/style/style.css +0 -113
  1633. package/lib/vxe-checkbox/style/style.min.css +0 -1
  1634. package/lib/vxe-checkbox-button/index.js +0 -22
  1635. package/lib/vxe-checkbox-button/index.min.js +0 -1
  1636. package/lib/vxe-checkbox-button/style/index.js +0 -1
  1637. package/lib/vxe-checkbox-button/style/style.css +0 -202
  1638. package/lib/vxe-checkbox-button/style/style.min.css +0 -1
  1639. package/lib/vxe-checkbox-group/index.js +0 -22
  1640. package/lib/vxe-checkbox-group/index.min.js +0 -1
  1641. package/lib/vxe-checkbox-group/style/index.js +0 -1
  1642. package/lib/vxe-checkbox-group/style/style.css +0 -0
  1643. package/lib/vxe-checkbox-group/style/style.min.css +0 -0
  1644. package/lib/vxe-col/index.js +0 -22
  1645. package/lib/vxe-col/index.min.js +0 -1
  1646. package/lib/vxe-col/style/index.js +0 -1
  1647. package/lib/vxe-col/style/style.css +0 -0
  1648. package/lib/vxe-col/style/style.min.css +0 -0
  1649. package/lib/vxe-collapse/index.js +0 -22
  1650. package/lib/vxe-collapse/index.min.js +0 -1
  1651. package/lib/vxe-collapse/style/index.js +0 -1
  1652. package/lib/vxe-collapse/style/style.css +0 -83
  1653. package/lib/vxe-collapse/style/style.min.css +0 -1
  1654. package/lib/vxe-collapse-pane/index.js +0 -22
  1655. package/lib/vxe-collapse-pane/index.min.js +0 -1
  1656. package/lib/vxe-collapse-pane/style/index.js +0 -1
  1657. package/lib/vxe-collapse-pane/style/style.css +0 -0
  1658. package/lib/vxe-collapse-pane/style/style.min.css +0 -0
  1659. package/lib/vxe-color-picker/index.js +0 -22
  1660. package/lib/vxe-color-picker/index.min.js +0 -1
  1661. package/lib/vxe-color-picker/style/index.js +0 -1
  1662. package/lib/vxe-color-picker/style/style.css +0 -485
  1663. package/lib/vxe-color-picker/style/style.min.css +0 -1
  1664. package/lib/vxe-context-menu/index.js +0 -22
  1665. package/lib/vxe-context-menu/index.min.js +0 -1
  1666. package/lib/vxe-context-menu/style/index.js +0 -1
  1667. package/lib/vxe-context-menu/style/style.css +0 -109
  1668. package/lib/vxe-context-menu/style/style.min.css +0 -1
  1669. package/lib/vxe-countdown/index.js +0 -22
  1670. package/lib/vxe-countdown/index.min.js +0 -1
  1671. package/lib/vxe-countdown/style/index.js +0 -1
  1672. package/lib/vxe-countdown/style/style.css +0 -38
  1673. package/lib/vxe-countdown/style/style.min.css +0 -1
  1674. package/lib/vxe-date-panel/index.js +0 -22
  1675. package/lib/vxe-date-panel/index.min.js +0 -1
  1676. package/lib/vxe-date-panel/style/index.js +0 -1
  1677. package/lib/vxe-date-panel/style/style.css +0 -453
  1678. package/lib/vxe-date-panel/style/style.min.css +0 -1
  1679. package/lib/vxe-date-picker/index.js +0 -22
  1680. package/lib/vxe-date-picker/index.min.js +0 -1
  1681. package/lib/vxe-date-picker/style/index.js +0 -1
  1682. package/lib/vxe-date-picker/style/style.css +0 -283
  1683. package/lib/vxe-date-picker/style/style.min.css +0 -1
  1684. package/lib/vxe-date-range-picker/index.js +0 -22
  1685. package/lib/vxe-date-range-picker/index.min.js +0 -1
  1686. package/lib/vxe-date-range-picker/style/index.js +0 -1
  1687. package/lib/vxe-date-range-picker/style/style.css +0 -289
  1688. package/lib/vxe-date-range-picker/style/style.min.css +0 -1
  1689. package/lib/vxe-drawer/index.js +0 -22
  1690. package/lib/vxe-drawer/index.min.js +0 -1
  1691. package/lib/vxe-drawer/style/index.js +0 -1
  1692. package/lib/vxe-drawer/style/style.css +0 -270
  1693. package/lib/vxe-drawer/style/style.min.css +0 -1
  1694. package/lib/vxe-empty/index.js +0 -22
  1695. package/lib/vxe-empty/index.min.js +0 -1
  1696. package/lib/vxe-empty/style/index.js +0 -1
  1697. package/lib/vxe-empty/style/style.css +0 -54
  1698. package/lib/vxe-empty/style/style.min.css +0 -1
  1699. package/lib/vxe-form/index.js +0 -22
  1700. package/lib/vxe-form/index.min.js +0 -1
  1701. package/lib/vxe-form/style/index.js +0 -1
  1702. package/lib/vxe-form/style/style.css +0 -621
  1703. package/lib/vxe-form/style/style.min.css +0 -1
  1704. package/lib/vxe-form-gather/index.js +0 -22
  1705. package/lib/vxe-form-gather/index.min.js +0 -1
  1706. package/lib/vxe-form-gather/style/index.js +0 -1
  1707. package/lib/vxe-form-gather/style/style.css +0 -0
  1708. package/lib/vxe-form-gather/style/style.min.css +0 -0
  1709. package/lib/vxe-form-group/index.js +0 -22
  1710. package/lib/vxe-form-group/index.min.js +0 -1
  1711. package/lib/vxe-form-group/style/index.js +0 -1
  1712. package/lib/vxe-form-group/style/style.css +0 -0
  1713. package/lib/vxe-form-group/style/style.min.css +0 -0
  1714. package/lib/vxe-form-item/index.js +0 -22
  1715. package/lib/vxe-form-item/index.min.js +0 -1
  1716. package/lib/vxe-form-item/style/index.js +0 -1
  1717. package/lib/vxe-form-item/style/style.css +0 -0
  1718. package/lib/vxe-form-item/style/style.min.css +0 -0
  1719. package/lib/vxe-icon/index.js +0 -22
  1720. package/lib/vxe-icon/index.min.js +0 -1
  1721. package/lib/vxe-icon/style/index.js +0 -1
  1722. package/lib/vxe-icon/style/style.css +0 -1034
  1723. package/lib/vxe-icon/style/style.min.css +0 -1
  1724. package/lib/vxe-icon-picker/index.js +0 -22
  1725. package/lib/vxe-icon-picker/index.min.js +0 -1
  1726. package/lib/vxe-icon-picker/style/index.js +0 -1
  1727. package/lib/vxe-icon-picker/style/style.css +0 -242
  1728. package/lib/vxe-icon-picker/style/style.min.css +0 -1
  1729. package/lib/vxe-image/index.js +0 -22
  1730. package/lib/vxe-image/index.min.js +0 -1
  1731. package/lib/vxe-image/style/index.js +0 -1
  1732. package/lib/vxe-image/style/style.css +0 -17
  1733. package/lib/vxe-image/style/style.min.css +0 -1
  1734. package/lib/vxe-image-group/index.js +0 -22
  1735. package/lib/vxe-image-group/index.min.js +0 -1
  1736. package/lib/vxe-image-group/style/index.js +0 -1
  1737. package/lib/vxe-image-group/style/style.css +0 -3
  1738. package/lib/vxe-image-group/style/style.min.css +0 -1
  1739. package/lib/vxe-image-preview/index.js +0 -22
  1740. package/lib/vxe-image-preview/index.min.js +0 -1
  1741. package/lib/vxe-image-preview/style/index.js +0 -1
  1742. package/lib/vxe-image-preview/style/style.css +0 -218
  1743. package/lib/vxe-image-preview/style/style.min.css +0 -1
  1744. package/lib/vxe-input/index.js +0 -22
  1745. package/lib/vxe-input/index.min.js +0 -1
  1746. package/lib/vxe-input/style/index.js +0 -1
  1747. package/lib/vxe-input/style/style.css +0 -1025
  1748. package/lib/vxe-input/style/style.min.css +0 -1
  1749. package/lib/vxe-layout-aside/index.js +0 -22
  1750. package/lib/vxe-layout-aside/index.min.js +0 -1
  1751. package/lib/vxe-layout-aside/style/index.js +0 -1
  1752. package/lib/vxe-layout-aside/style/style.css +0 -26
  1753. package/lib/vxe-layout-aside/style/style.min.css +0 -1
  1754. package/lib/vxe-layout-body/index.js +0 -22
  1755. package/lib/vxe-layout-body/index.min.js +0 -1
  1756. package/lib/vxe-layout-body/style/index.js +0 -1
  1757. package/lib/vxe-layout-body/style/style.css +0 -16
  1758. package/lib/vxe-layout-body/style/style.min.css +0 -1
  1759. package/lib/vxe-layout-container/index.js +0 -22
  1760. package/lib/vxe-layout-container/index.min.js +0 -1
  1761. package/lib/vxe-layout-container/style/index.js +0 -1
  1762. package/lib/vxe-layout-container/style/style.css +0 -28
  1763. package/lib/vxe-layout-container/style/style.min.css +0 -1
  1764. package/lib/vxe-layout-footer/index.js +0 -22
  1765. package/lib/vxe-layout-footer/index.min.js +0 -1
  1766. package/lib/vxe-layout-footer/style/index.js +0 -1
  1767. package/lib/vxe-layout-footer/style/style.css +0 -14
  1768. package/lib/vxe-layout-footer/style/style.min.css +0 -1
  1769. package/lib/vxe-layout-header/index.js +0 -22
  1770. package/lib/vxe-layout-header/index.min.js +0 -1
  1771. package/lib/vxe-layout-header/style/index.js +0 -1
  1772. package/lib/vxe-layout-header/style/style.css +0 -11
  1773. package/lib/vxe-layout-header/style/style.min.css +0 -1
  1774. package/lib/vxe-link/index.js +0 -22
  1775. package/lib/vxe-link/index.min.js +0 -1
  1776. package/lib/vxe-link/style/index.js +0 -1
  1777. package/lib/vxe-link/style/style.css +0 -111
  1778. package/lib/vxe-link/style/style.min.css +0 -1
  1779. package/lib/vxe-list/index.js +0 -22
  1780. package/lib/vxe-list/index.min.js +0 -1
  1781. package/lib/vxe-list/style/index.js +0 -1
  1782. package/lib/vxe-list/style/style.css +0 -379
  1783. package/lib/vxe-list/style/style.min.css +0 -1
  1784. package/lib/vxe-loading/index.js +0 -22
  1785. package/lib/vxe-loading/index.min.js +0 -1
  1786. package/lib/vxe-loading/style/index.js +0 -1
  1787. package/lib/vxe-loading/style/style.css +0 -120
  1788. package/lib/vxe-loading/style/style.min.css +0 -1
  1789. package/lib/vxe-mention/index.js +0 -22
  1790. package/lib/vxe-mention/index.min.js +0 -1
  1791. package/lib/vxe-mention/style/index.js +0 -1
  1792. package/lib/vxe-mention/style/style.css +0 -0
  1793. package/lib/vxe-mention/style/style.min.css +0 -0
  1794. package/lib/vxe-menu/index.js +0 -22
  1795. package/lib/vxe-menu/index.min.js +0 -1
  1796. package/lib/vxe-menu/style/index.js +0 -1
  1797. package/lib/vxe-menu/style/style.css +0 -140
  1798. package/lib/vxe-menu/style/style.min.css +0 -1
  1799. package/lib/vxe-modal/index.js +0 -22
  1800. package/lib/vxe-modal/index.min.js +0 -1
  1801. package/lib/vxe-modal/style/index.js +0 -1
  1802. package/lib/vxe-modal/style/style.css +0 -415
  1803. package/lib/vxe-modal/style/style.min.css +0 -1
  1804. package/lib/vxe-notice-bar/index.js +0 -22
  1805. package/lib/vxe-notice-bar/index.min.js +0 -1
  1806. package/lib/vxe-notice-bar/style/index.js +0 -1
  1807. package/lib/vxe-notice-bar/style/style.css +0 -78
  1808. package/lib/vxe-notice-bar/style/style.min.css +0 -1
  1809. package/lib/vxe-number-input/index.js +0 -22
  1810. package/lib/vxe-number-input/index.min.js +0 -1
  1811. package/lib/vxe-number-input/style/index.js +0 -1
  1812. package/lib/vxe-number-input/style/style.css +0 -274
  1813. package/lib/vxe-number-input/style/style.min.css +0 -1
  1814. package/lib/vxe-optgroup/index.js +0 -22
  1815. package/lib/vxe-optgroup/index.min.js +0 -1
  1816. package/lib/vxe-optgroup/style/index.js +0 -1
  1817. package/lib/vxe-optgroup/style/style.css +0 -0
  1818. package/lib/vxe-optgroup/style/style.min.css +0 -0
  1819. package/lib/vxe-option/index.js +0 -22
  1820. package/lib/vxe-option/index.min.js +0 -1
  1821. package/lib/vxe-option/style/index.js +0 -1
  1822. package/lib/vxe-option/style/style.css +0 -0
  1823. package/lib/vxe-option/style/style.min.css +0 -0
  1824. package/lib/vxe-pager/index.js +0 -22
  1825. package/lib/vxe-pager/index.min.js +0 -1
  1826. package/lib/vxe-pager/style/index.js +0 -1
  1827. package/lib/vxe-pager/style/style.css +0 -341
  1828. package/lib/vxe-pager/style/style.min.css +0 -1
  1829. package/lib/vxe-password-input/index.js +0 -22
  1830. package/lib/vxe-password-input/index.min.js +0 -1
  1831. package/lib/vxe-password-input/style/index.js +0 -1
  1832. package/lib/vxe-password-input/style/style.css +0 -598
  1833. package/lib/vxe-password-input/style/style.min.css +0 -1
  1834. package/lib/vxe-print/index.js +0 -22
  1835. package/lib/vxe-print/index.min.js +0 -1
  1836. package/lib/vxe-print/style/index.js +0 -1
  1837. package/lib/vxe-print/style/style.css +0 -4
  1838. package/lib/vxe-print/style/style.min.css +0 -1
  1839. package/lib/vxe-print-page-break/index.js +0 -22
  1840. package/lib/vxe-print-page-break/index.min.js +0 -1
  1841. package/lib/vxe-print-page-break/style/index.js +0 -1
  1842. package/lib/vxe-print-page-break/style/style.css +0 -0
  1843. package/lib/vxe-print-page-break/style/style.min.css +0 -0
  1844. package/lib/vxe-pulldown/index.js +0 -22
  1845. package/lib/vxe-pulldown/index.min.js +0 -1
  1846. package/lib/vxe-pulldown/style/index.js +0 -1
  1847. package/lib/vxe-pulldown/style/style.css +0 -109
  1848. package/lib/vxe-pulldown/style/style.min.css +0 -1
  1849. package/lib/vxe-radio/index.js +0 -22
  1850. package/lib/vxe-radio/index.min.js +0 -1
  1851. package/lib/vxe-radio/style/index.js +0 -1
  1852. package/lib/vxe-radio/style/style.css +0 -108
  1853. package/lib/vxe-radio/style/style.min.css +0 -1
  1854. package/lib/vxe-radio-button/index.js +0 -22
  1855. package/lib/vxe-radio-button/index.min.js +0 -1
  1856. package/lib/vxe-radio-button/style/index.js +0 -1
  1857. package/lib/vxe-radio-button/style/style.css +0 -202
  1858. package/lib/vxe-radio-button/style/style.min.css +0 -1
  1859. package/lib/vxe-radio-group/index.js +0 -22
  1860. package/lib/vxe-radio-group/index.min.js +0 -1
  1861. package/lib/vxe-radio-group/style/index.js +0 -1
  1862. package/lib/vxe-radio-group/style/style.css +0 -0
  1863. package/lib/vxe-radio-group/style/style.min.css +0 -0
  1864. package/lib/vxe-rate/index.js +0 -22
  1865. package/lib/vxe-rate/index.min.js +0 -1
  1866. package/lib/vxe-rate/style/index.js +0 -1
  1867. package/lib/vxe-rate/style/style.css +0 -54
  1868. package/lib/vxe-rate/style/style.min.css +0 -1
  1869. package/lib/vxe-result/index.js +0 -22
  1870. package/lib/vxe-result/index.min.js +0 -1
  1871. package/lib/vxe-result/style/index.js +0 -1
  1872. package/lib/vxe-result/style/style.css +0 -68
  1873. package/lib/vxe-result/style/style.min.css +0 -1
  1874. package/lib/vxe-row/index.js +0 -22
  1875. package/lib/vxe-row/index.min.js +0 -1
  1876. package/lib/vxe-row/style/index.js +0 -1
  1877. package/lib/vxe-row/style/style.css +0 -116
  1878. package/lib/vxe-row/style/style.min.css +0 -1
  1879. package/lib/vxe-segmented/index.js +0 -22
  1880. package/lib/vxe-segmented/index.min.js +0 -1
  1881. package/lib/vxe-segmented/style/index.js +0 -1
  1882. package/lib/vxe-segmented/style/style.css +0 -197
  1883. package/lib/vxe-segmented/style/style.min.css +0 -1
  1884. package/lib/vxe-select/index.js +0 -22
  1885. package/lib/vxe-select/index.min.js +0 -1
  1886. package/lib/vxe-select/style/index.js +0 -1
  1887. package/lib/vxe-select/style/style.css +0 -370
  1888. package/lib/vxe-select/style/style.min.css +0 -1
  1889. package/lib/vxe-slider/index.js +0 -22
  1890. package/lib/vxe-slider/index.min.js +0 -1
  1891. package/lib/vxe-slider/style/index.js +0 -1
  1892. package/lib/vxe-slider/style/style.css +0 -143
  1893. package/lib/vxe-slider/style/style.min.css +0 -1
  1894. package/lib/vxe-split/index.js +0 -22
  1895. package/lib/vxe-split/index.min.js +0 -1
  1896. package/lib/vxe-split/style/index.js +0 -1
  1897. package/lib/vxe-split/style/style.css +0 -295
  1898. package/lib/vxe-split/style/style.min.css +0 -1
  1899. package/lib/vxe-split-pane/index.js +0 -22
  1900. package/lib/vxe-split-pane/index.min.js +0 -1
  1901. package/lib/vxe-split-pane/style/index.js +0 -1
  1902. package/lib/vxe-split-pane/style/style.css +0 -0
  1903. package/lib/vxe-split-pane/style/style.min.css +0 -0
  1904. package/lib/vxe-splitter/index.js +0 -22
  1905. package/lib/vxe-splitter/index.min.js +0 -1
  1906. package/lib/vxe-splitter/style/index.js +0 -1
  1907. package/lib/vxe-splitter/style/style.css +0 -295
  1908. package/lib/vxe-splitter/style/style.min.css +0 -1
  1909. package/lib/vxe-splitter-panel/index.js +0 -22
  1910. package/lib/vxe-splitter-panel/index.min.js +0 -1
  1911. package/lib/vxe-splitter-panel/style/index.js +0 -1
  1912. package/lib/vxe-splitter-panel/style/style.css +0 -0
  1913. package/lib/vxe-splitter-panel/style/style.min.css +0 -0
  1914. package/lib/vxe-steps/index.js +0 -22
  1915. package/lib/vxe-steps/index.min.js +0 -1
  1916. package/lib/vxe-steps/style/index.js +0 -1
  1917. package/lib/vxe-steps/style/style.css +0 -0
  1918. package/lib/vxe-steps/style/style.min.css +0 -0
  1919. package/lib/vxe-switch/index.js +0 -22
  1920. package/lib/vxe-switch/index.min.js +0 -1
  1921. package/lib/vxe-switch/style/index.js +0 -1
  1922. package/lib/vxe-switch/style/style.css +0 -111
  1923. package/lib/vxe-switch/style/style.min.css +0 -1
  1924. package/lib/vxe-tab-pane/index.js +0 -22
  1925. package/lib/vxe-tab-pane/index.min.js +0 -1
  1926. package/lib/vxe-tab-pane/style/index.js +0 -1
  1927. package/lib/vxe-tab-pane/style/style.css +0 -0
  1928. package/lib/vxe-tab-pane/style/style.min.css +0 -0
  1929. package/lib/vxe-table-select/index.js +0 -22
  1930. package/lib/vxe-table-select/index.min.js +0 -1
  1931. package/lib/vxe-table-select/style/index.js +0 -1
  1932. package/lib/vxe-table-select/style/style.css +0 -134
  1933. package/lib/vxe-table-select/style/style.min.css +0 -1
  1934. package/lib/vxe-table-transfer/index.js +0 -22
  1935. package/lib/vxe-table-transfer/index.min.js +0 -1
  1936. package/lib/vxe-table-transfer/style/index.js +0 -1
  1937. package/lib/vxe-table-transfer/style/style.css +0 -0
  1938. package/lib/vxe-table-transfer/style/style.min.css +0 -0
  1939. package/lib/vxe-tabs/index.js +0 -22
  1940. package/lib/vxe-tabs/index.min.js +0 -1
  1941. package/lib/vxe-tabs/style/index.js +0 -1
  1942. package/lib/vxe-tabs/style/style.css +0 -705
  1943. package/lib/vxe-tabs/style/style.min.css +0 -1
  1944. package/lib/vxe-tag/index.js +0 -22
  1945. package/lib/vxe-tag/index.min.js +0 -1
  1946. package/lib/vxe-tag/style/index.js +0 -1
  1947. package/lib/vxe-tag/style/style.css +0 -187
  1948. package/lib/vxe-tag/style/style.min.css +0 -1
  1949. package/lib/vxe-text/index.js +0 -22
  1950. package/lib/vxe-text/index.min.js +0 -1
  1951. package/lib/vxe-text/style/index.js +0 -1
  1952. package/lib/vxe-text/style/style.css +0 -138
  1953. package/lib/vxe-text/style/style.min.css +0 -1
  1954. package/lib/vxe-text-ellipsis/index.js +0 -22
  1955. package/lib/vxe-text-ellipsis/index.min.js +0 -1
  1956. package/lib/vxe-text-ellipsis/style/index.js +0 -1
  1957. package/lib/vxe-text-ellipsis/style/style.css +0 -115
  1958. package/lib/vxe-text-ellipsis/style/style.min.css +0 -1
  1959. package/lib/vxe-textarea/index.js +0 -22
  1960. package/lib/vxe-textarea/index.min.js +0 -1
  1961. package/lib/vxe-textarea/style/index.js +0 -1
  1962. package/lib/vxe-textarea/style/style.css +0 -119
  1963. package/lib/vxe-textarea/style/style.min.css +0 -1
  1964. package/lib/vxe-timeline/index.js +0 -22
  1965. package/lib/vxe-timeline/index.min.js +0 -1
  1966. package/lib/vxe-timeline/style/index.js +0 -1
  1967. package/lib/vxe-timeline/style/style.css +0 -0
  1968. package/lib/vxe-timeline/style/style.min.css +0 -0
  1969. package/lib/vxe-timeline-item/index.js +0 -22
  1970. package/lib/vxe-timeline-item/index.min.js +0 -1
  1971. package/lib/vxe-timeline-item/style/index.js +0 -1
  1972. package/lib/vxe-timeline-item/style/style.css +0 -0
  1973. package/lib/vxe-timeline-item/style/style.min.css +0 -0
  1974. package/lib/vxe-tip/index.js +0 -22
  1975. package/lib/vxe-tip/index.min.js +0 -1
  1976. package/lib/vxe-tip/style/index.js +0 -1
  1977. package/lib/vxe-tip/style/style.css +0 -107
  1978. package/lib/vxe-tip/style/style.min.css +0 -1
  1979. package/lib/vxe-tooltip/index.js +0 -22
  1980. package/lib/vxe-tooltip/index.min.js +0 -1
  1981. package/lib/vxe-tooltip/style/index.js +0 -1
  1982. package/lib/vxe-tooltip/style/style.css +0 -117
  1983. package/lib/vxe-tooltip/style/style.min.css +0 -1
  1984. package/lib/vxe-tour/index.js +0 -22
  1985. package/lib/vxe-tour/index.min.js +0 -1
  1986. package/lib/vxe-tour/style/index.js +0 -1
  1987. package/lib/vxe-tour/style/style.css +0 -0
  1988. package/lib/vxe-tour/style/style.min.css +0 -0
  1989. package/lib/vxe-transfer/index.js +0 -22
  1990. package/lib/vxe-transfer/index.min.js +0 -1
  1991. package/lib/vxe-transfer/style/index.js +0 -1
  1992. package/lib/vxe-transfer/style/style.css +0 -0
  1993. package/lib/vxe-transfer/style/style.min.css +0 -0
  1994. package/lib/vxe-tree/index.js +0 -22
  1995. package/lib/vxe-tree/index.min.js +0 -1
  1996. package/lib/vxe-tree/style/index.js +0 -1
  1997. package/lib/vxe-tree/style/style.css +0 -385
  1998. package/lib/vxe-tree/style/style.min.css +0 -1
  1999. package/lib/vxe-tree-select/index.js +0 -22
  2000. package/lib/vxe-tree-select/index.min.js +0 -1
  2001. package/lib/vxe-tree-select/style/index.js +0 -1
  2002. package/lib/vxe-tree-select/style/style.css +0 -194
  2003. package/lib/vxe-tree-select/style/style.min.css +0 -1
  2004. package/lib/vxe-u-i/index.js +0 -22
  2005. package/lib/vxe-u-i/index.min.js +0 -1
  2006. package/lib/vxe-ui/index.js +0 -22
  2007. package/lib/vxe-ui/index.min.js +0 -1
  2008. package/lib/vxe-ui/style/index.js +0 -1
  2009. package/lib/vxe-ui/style/style.css +0 -0
  2010. package/lib/vxe-ui/style/style.min.css +0 -0
  2011. package/lib/vxe-upload/index.js +0 -22
  2012. package/lib/vxe-upload/index.min.js +0 -1
  2013. package/lib/vxe-upload/style/index.js +0 -1
  2014. package/lib/vxe-upload/style/style.css +0 -483
  2015. package/lib/vxe-upload/style/style.min.css +0 -1
  2016. package/lib/vxe-watermark/index.js +0 -22
  2017. package/lib/vxe-watermark/index.min.js +0 -1
  2018. package/lib/vxe-watermark/style/index.js +0 -1
  2019. package/lib/vxe-watermark/style/style.css +0 -30
  2020. package/lib/vxe-watermark/style/style.min.css +0 -1
  2021. package/lib/watermark/index.js +0 -31
  2022. package/lib/watermark/index.min.js +0 -1
  2023. package/lib/watermark/src/util.js +0 -164
  2024. package/lib/watermark/src/util.min.js +0 -1
  2025. package/lib/watermark/src/watermark.js +0 -170
  2026. package/lib/watermark/src/watermark.min.js +0 -1
  2027. package/lib/watermark/style/index.js +0 -1
  2028. package/lib/watermark/style/style.css +0 -30
  2029. package/lib/watermark/style/style.min.css +0 -1
@@ -1,2412 +0,0 @@
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 _store = require("./store");
12
- var _dom = require("../../ui/src/dom");
13
- var _utils = require("../../ui/src/utils");
14
- var _vn = require("../../ui/src/vn");
15
- var _log = require("../../ui/src/log");
16
- var _anime = require("../../ui/src/anime");
17
- var _util = require("./util");
18
- var _loading = _interopRequireDefault(require("../../loading/src/loading"));
19
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
20
- 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; }
21
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
22
- 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); }
23
- function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
24
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
25
- function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
26
- function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
27
- function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
28
- 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; } }
29
- 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; }
30
- var _createComponentLog = (0, _log.createComponentLog)('tree'),
31
- warnLog = _createComponentLog.warnLog,
32
- errLog = _createComponentLog.errLog;
33
- var crossListDragRowObj = null;
34
- function eqRowKey(rowKey1, rowKey2) {
35
- return '' + rowKey1 === '' + rowKey2;
36
- }
37
- function getRowKeyByField(row, keyField) {
38
- return row ? '' + (row[keyField] || '') : '';
39
- }
40
- function getRowIdByField(row, keyField) {
41
- if (!row) {
42
- return '';
43
- }
44
- var rowKey = getRowKeyByField(row, keyField);
45
- return (0, _utils.enModelValue)(rowKey);
46
- }
47
- function createReactData() {
48
- return {
49
- scrollYLoad: false,
50
- bodyHeight: 0,
51
- headHeight: 0,
52
- footHeight: 0,
53
- customHeight: 0,
54
- customMaxHeight: 0,
55
- parentHeight: 0,
56
- topSpaceHeight: 0,
57
- rowList: [],
58
- selectRadioRow: null,
59
- currRowFlag: 1,
60
- updateCheckboxFlag: 1,
61
- isAllChecked: false,
62
- isAllIndeterminate: false,
63
- insertRowFlag: 1,
64
- removeRowFlag: 1,
65
- dragRow: null,
66
- dragTipText: '',
67
- isCrossDragRow: false
68
- };
69
- }
70
- function createInternalData() {
71
- return {
72
- resizeObserver: undefined,
73
- fullData: [],
74
- afterList: [],
75
- fullKeyMaps: {},
76
- rowMaps: {},
77
- lastScrollLeft: 0,
78
- lastScrollTop: 0,
79
- scrollYStore: {
80
- startIndex: 0,
81
- endIndex: 0,
82
- visibleSize: 0,
83
- offsetSize: 0,
84
- rowHeight: 0
85
- },
86
- currentRow: null,
87
- selectCheckboxMaps: {},
88
- insertRowMaps: {},
89
- removeRowMaps: {}
90
- // prevDragRow: null,
91
- // prevDragPos: ''
92
- };
93
- }
94
- var _default2 = exports.default = /* define-vxe-component start */(0, _comp.defineVxeComponent)({
95
- name: 'VxeList',
96
- mixins: [_ui.globalMixins.sizeMixin],
97
- props: {
98
- data: Array,
99
- height: [Number, String],
100
- maxHeight: [Number, String],
101
- loading: Boolean,
102
- className: [String, Function],
103
- size: {
104
- type: String,
105
- default: function _default() {
106
- return (0, _ui.getConfig)().list.size || (0, _ui.getConfig)().size;
107
- }
108
- },
109
- autoResize: {
110
- type: Boolean,
111
- default: function _default() {
112
- return (0, _ui.getConfig)().list.autoResize;
113
- }
114
- },
115
- syncResize: [Boolean, String, Number],
116
- showSeq: {
117
- type: Boolean,
118
- default: function _default() {
119
- return (0, _ui.getConfig)().list.showSeq;
120
- }
121
- },
122
- showRadio: {
123
- type: Boolean,
124
- default: function _default() {
125
- return (0, _ui.getConfig)().list.showRadio;
126
- }
127
- },
128
- checkRowKey: [String, Number],
129
- radioConfig: Object,
130
- showCheckbox: {
131
- type: Boolean,
132
- default: function _default() {
133
- return (0, _ui.getConfig)().list.showCheckbox;
134
- }
135
- },
136
- checkRowKeys: Array,
137
- checkboxConfig: Object,
138
- rowConfig: Object,
139
- dragConfig: Object,
140
- menuConfig: Object,
141
- virtualYConfig: Object,
142
- scrollY: Object
143
- },
144
- data: function data() {
145
- var xID = _xeUtils.default.uniqueId();
146
- var reactData = createReactData();
147
- return Object.assign(Object.assign({}, {}), {
148
- xID: xID,
149
- reactData: reactData,
150
- crossListDragRowInfo: _store.crossListDragRowGlobal,
151
- reFlag: 0
152
- });
153
- },
154
- computed: Object.assign(Object.assign({}, {}), {
155
- computeRowOpts: function computeRowOpts() {
156
- var $xeList = this;
157
- var props = $xeList;
158
- return Object.assign({}, (0, _ui.getConfig)().list.rowConfig, props.rowConfig);
159
- },
160
- computeDragOpts: function computeDragOpts() {
161
- var $xeList = this;
162
- var props = $xeList;
163
- return Object.assign({}, (0, _ui.getConfig)().list.dragConfig, props.dragConfig);
164
- },
165
- computeSYOpts: function computeSYOpts() {
166
- var $xeList = this;
167
- var props = $xeList;
168
- return Object.assign({}, (0, _ui.getConfig)().list.virtualYConfig || (0, _ui.getConfig)().list.scrollY, props.virtualYConfig || props.scrollY);
169
- },
170
- computeKeyField: function computeKeyField() {
171
- var $xeList = this;
172
- var rowOpts = $xeList.computeRowOpts;
173
- var keyField = rowOpts.keyField;
174
- return keyField || '';
175
- },
176
- computeIsDrag: function computeIsDrag() {
177
- var $xeList = this;
178
- var props = $xeList;
179
- var dragConfig = props.dragConfig;
180
- var dragOpts = $xeList.computeDragOpts;
181
- return dragConfig && (0, _utils.isEnableConf)(dragOpts);
182
- },
183
- computeRowHeight: function computeRowHeight() {
184
- var $xeList = this;
185
- var rowOpts = $xeList.computeRowOpts;
186
- var height = rowOpts.height;
187
- return height;
188
- },
189
- computeRadioOpts: function computeRadioOpts() {
190
- var $xeList = this;
191
- var props = $xeList;
192
- return Object.assign({
193
- showIcon: true
194
- }, (0, _ui.getConfig)().list.radioConfig, props.radioConfig);
195
- },
196
- computeCheckboxOpts: function computeCheckboxOpts() {
197
- var $xeList = this;
198
- var props = $xeList;
199
- return Object.assign({
200
- showIcon: true
201
- }, (0, _ui.getConfig)().list.checkboxConfig, props.checkboxConfig);
202
- },
203
- computeMenuOpts: function computeMenuOpts() {
204
- var $xeList = this;
205
- var props = $xeList;
206
- return Object.assign({}, (0, _ui.getConfig)().list.menuConfig, props.menuConfig);
207
- },
208
- computeWrapperStyles: function computeWrapperStyles() {
209
- var $xeList = this;
210
- var rowHeight = $xeList.computeRowHeight;
211
- var style = {};
212
- if (rowHeight) {
213
- style['--vxe-ui-list-row-height'] = (0, _dom.toCssUnit)(rowHeight);
214
- }
215
- return style;
216
- },
217
- computeVirtualStyles: function computeVirtualStyles() {
218
- var $xeList = this;
219
- var props = $xeList;
220
- var reactData = $xeList.reactData;
221
- var height = props.height,
222
- maxHeight = props.maxHeight;
223
- var customHeight = reactData.customHeight,
224
- customMaxHeight = reactData.customMaxHeight,
225
- headHeight = reactData.headHeight,
226
- footHeight = reactData.footHeight;
227
- var style = {};
228
- if (height) {
229
- style.height = (0, _dom.toCssUnit)(Math.max(20, customHeight - headHeight - footHeight));
230
- } else if (maxHeight) {
231
- style.height = 'auto';
232
- style.maxHeight = (0, _dom.toCssUnit)(Math.max(20, customMaxHeight - headHeight - footHeight));
233
- }
234
- return style;
235
- }
236
- }),
237
- methods: {
238
- //
239
- // Method
240
- //
241
- dispatchEvent: function dispatchEvent(type, params, evnt) {
242
- var $xeList = this;
243
- $xeList.$emit(type, (0, _ui.createEvent)(evnt, {
244
- $list: $xeList
245
- }, params));
246
- },
247
- emitCheckboxMode: function emitCheckboxMode(value) {
248
- var $xeList = this;
249
- $xeList.$emit('update:checkRowKeys', value);
250
- },
251
- emitRadioMode: function emitRadioMode(value) {
252
- var $xeList = this;
253
- $xeList.$emit('update:checkRowKey', value);
254
- },
255
- callSlot: function callSlot(slotFunc, params, h) {
256
- var $xeList = this;
257
- var slots = $xeList.$scopedSlots;
258
- if (slotFunc) {
259
- if (_xeUtils.default.isString(slotFunc)) {
260
- slotFunc = slots[slotFunc] || null;
261
- }
262
- if (_xeUtils.default.isFunction(slotFunc)) {
263
- return (0, _vn.getSlotVNs)(slotFunc.call($xeList, params, h));
264
- }
265
- }
266
- return [];
267
- },
268
- getRowId: function getRowId(row) {
269
- var $xeList = this;
270
- var keyField = $xeList.computeKeyField;
271
- return getRowIdByField(row, keyField);
272
- },
273
- updateRadioModeValue: function updateRadioModeValue() {
274
- var $xeList = this;
275
- var props = $xeList;
276
- var reactData = $xeList.reactData;
277
- var internalData = $xeList.internalData;
278
- var checkRowKey = props.checkRowKey;
279
- var fullKeyMaps = internalData.fullKeyMaps;
280
- if (checkRowKey) {
281
- var row = fullKeyMaps[checkRowKey];
282
- reactData.selectRadioRow = row || null;
283
- } else {
284
- reactData.selectRadioRow = null;
285
- }
286
- },
287
- updateCheckboxModeValue: function updateCheckboxModeValue() {
288
- var $xeList = this;
289
- var props = $xeList;
290
- var internalData = $xeList.internalData;
291
- var checkRowKeys = props.checkRowKeys;
292
- var fullKeyMaps = internalData.fullKeyMaps;
293
- var keyField = $xeList.computeKeyField;
294
- var selectMaps = {};
295
- if (checkRowKeys && checkRowKeys.length) {
296
- var _iterator = _createForOfIteratorHelper(checkRowKeys),
297
- _step;
298
- try {
299
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
300
- var rowKey = _step.value;
301
- var row = fullKeyMaps[rowKey];
302
- if (row) {
303
- var rowid = getRowIdByField(row, keyField);
304
- selectMaps[rowid] = row;
305
- }
306
- }
307
- } catch (err) {
308
- _iterator.e(err);
309
- } finally {
310
- _iterator.f();
311
- }
312
- }
313
- internalData.selectCheckboxMaps = selectMaps;
314
- $xeList.updateCheckboxStatus();
315
- },
316
- updateAfterDataIndex: function updateAfterDataIndex() {
317
- var $xeList = this;
318
- var internalData = $xeList.internalData;
319
- var afterList = internalData.afterList,
320
- rowMaps = internalData.rowMaps;
321
- var keyField = $xeList.computeKeyField;
322
- var vtIndex = 0;
323
- afterList.forEach(function (item, index) {
324
- var roweid = getRowIdByField(item, keyField);
325
- var rowRest = rowMaps[roweid];
326
- if (rowRest) {
327
- rowRest._index = vtIndex;
328
- } else {
329
- var rest = {
330
- item: item,
331
- index: index,
332
- $index: -1,
333
- _index: vtIndex
334
- };
335
- rowMaps[roweid] = rest;
336
- }
337
- vtIndex++;
338
- });
339
- },
340
- cacheRowMap: function cacheRowMap() {
341
- var $xeList = this;
342
- var internalData = $xeList.internalData;
343
- var fullData = internalData.fullData;
344
- var keyField = $xeList.computeKeyField;
345
- var keyMaps = {};
346
- fullData.forEach(function (row) {
347
- var rowKey = getRowKeyByField(row, keyField);
348
- keyMaps[rowKey] = row;
349
- });
350
- internalData.fullKeyMaps = keyMaps;
351
- },
352
- /**
353
- * 加载数据
354
- * @param {Array} datas 数据
355
- */
356
- loadData: function loadData(datas) {
357
- var $xeList = this;
358
- var reactData = $xeList.reactData;
359
- var internalData = $xeList.internalData;
360
- var scrollYStore = internalData.scrollYStore;
361
- var sYOpts = $xeList.computeSYOpts;
362
- var fullData = datas ? datas.slice(0) : [];
363
- Object.assign(scrollYStore, {
364
- startIndex: 0,
365
- endIndex: 1,
366
- visibleSize: 0
367
- });
368
- internalData.fullData = fullData;
369
- internalData.insertRowMaps = {};
370
- reactData.insertRowFlag++;
371
- internalData.removeRowMaps = {};
372
- reactData.removeRowFlag++;
373
- // 如果gt为0,则总是启用
374
- reactData.scrollYLoad = !!sYOpts.enabled && sYOpts.gt > -1 && (sYOpts.gt === 0 || sYOpts.gt <= fullData.length);
375
- $xeList.cacheRowMap();
376
- $xeList.handleData(true);
377
- $xeList.updateRadioModeValue();
378
- $xeList.updateCheckboxModeValue();
379
- return $xeList.computeScrollLoad().then(function () {
380
- $xeList.refreshScroll();
381
- });
382
- },
383
- /**
384
- * 重新加载数据
385
- * @param {Array} datas 数据
386
- */
387
- reloadData: function reloadData(datas) {
388
- var $xeList = this;
389
- $xeList.clearScroll();
390
- return $xeList.loadData(datas);
391
- },
392
- getFullData: function getFullData() {
393
- var $xeList = this;
394
- var internalData = $xeList.internalData;
395
- var fullData = internalData.fullData;
396
- return fullData;
397
- },
398
- calcTableHeight: function calcTableHeight(key) {
399
- var $xeList = this;
400
- var props = $xeList;
401
- var reactData = $xeList.reactData;
402
- var parentHeight = reactData.parentHeight;
403
- var val = props[key];
404
- var num = 0;
405
- if (val) {
406
- if (val === '100%' || val === 'auto') {
407
- num = parentHeight;
408
- } else {
409
- if ((0, _dom.isScale)(val)) {
410
- num = Math.floor((_xeUtils.default.toInteger(val) || 1) / 100 * parentHeight);
411
- } else {
412
- num = _xeUtils.default.toNumber(val);
413
- }
414
- num = Math.max(40, num);
415
- }
416
- }
417
- return num;
418
- },
419
- updateHeight: function updateHeight() {
420
- var $xeList = this;
421
- var reactData = $xeList.reactData;
422
- var headEl = $xeList.$refs.refHeaderElem;
423
- var footEl = $xeList.$refs.refFooterElem;
424
- reactData.headHeight = headEl ? Math.floor(headEl.offsetHeight) : 0;
425
- reactData.footHeight = footEl ? Math.floor(footEl.offsetHeight) : 0;
426
- reactData.customHeight = $xeList.calcTableHeight('height');
427
- reactData.customMaxHeight = $xeList.calcTableHeight('maxHeight');
428
- },
429
- updateYSpace: function updateYSpace() {
430
- var $xeList = this;
431
- var reactData = $xeList.reactData;
432
- var internalData = $xeList.internalData;
433
- var scrollYLoad = reactData.scrollYLoad;
434
- var scrollYStore = internalData.scrollYStore,
435
- fullData = internalData.fullData;
436
- reactData.bodyHeight = scrollYLoad ? fullData.length * scrollYStore.rowHeight : 0;
437
- reactData.topSpaceHeight = scrollYLoad ? Math.max(scrollYStore.startIndex * scrollYStore.rowHeight, 0) : 0;
438
- },
439
- updateAfterFullData: function updateAfterFullData() {
440
- var $xeList = this;
441
- var internalData = $xeList.internalData;
442
- var fullData = internalData.fullData;
443
- internalData.afterList = fullData.slice(0);
444
- $xeList.updateAfterDataIndex();
445
- },
446
- handleData: function handleData(force) {
447
- var $xeList = this;
448
- var reactData = $xeList.reactData;
449
- var internalData = $xeList.internalData;
450
- var scrollYLoad = reactData.scrollYLoad;
451
- var fullData = internalData.fullData,
452
- scrollYStore = internalData.scrollYStore,
453
- rowMaps = internalData.rowMaps;
454
- var keyField = $xeList.computeKeyField;
455
- if (force) {
456
- // 更新数据,处理筛选和排序
457
- $xeList.updateAfterFullData();
458
- }
459
- var rowList = scrollYLoad ? fullData.slice(scrollYStore.startIndex, scrollYStore.endIndex) : fullData.slice(0);
460
- if (keyField) {
461
- rowList.forEach(function (item, $index) {
462
- var rowid = getRowIdByField(item, keyField);
463
- var rowRest = rowMaps[rowid];
464
- if (rowRest) {
465
- rowRest.$index = $index;
466
- }
467
- });
468
- }
469
- reactData.rowList = rowList;
470
- return $xeList.$nextTick();
471
- },
472
- updateYData: function updateYData() {
473
- var $xeList = this;
474
- $xeList.handleData();
475
- $xeList.updateYSpace();
476
- },
477
- computeScrollLoad: function computeScrollLoad() {
478
- var $xeList = this;
479
- var reactData = $xeList.reactData;
480
- var internalData = $xeList.internalData;
481
- var browseObj = $xeList.browseObj;
482
- return $xeList.$nextTick().then(function () {
483
- var scrollYLoad = reactData.scrollYLoad;
484
- var scrollYStore = internalData.scrollYStore;
485
- var virtualBodyElem = $xeList.$refs.refVirtualBody;
486
- var sYOpts = $xeList.computeSYOpts;
487
- var rowHeight = 0;
488
- var firstRowElem;
489
- if (virtualBodyElem) {
490
- if (sYOpts.sItem) {
491
- firstRowElem = virtualBodyElem.querySelector(sYOpts.sItem);
492
- }
493
- if (!firstRowElem) {
494
- firstRowElem = virtualBodyElem.children[0];
495
- }
496
- }
497
- if (firstRowElem) {
498
- rowHeight = firstRowElem.offsetHeight;
499
- }
500
- rowHeight = Math.max(12, rowHeight);
501
- scrollYStore.rowHeight = rowHeight;
502
- // 计算 Y 逻辑
503
- if (scrollYLoad) {
504
- var scrollBodyElem = $xeList.$refs.refVirtualWrapper;
505
- var visibleYSize = Math.max(8, Math.ceil(scrollBodyElem.clientHeight / rowHeight));
506
- var offsetYSize = sYOpts.oSize ? _xeUtils.default.toNumber(sYOpts.oSize) : browseObj.edge ? 10 : 0;
507
- scrollYStore.offsetSize = offsetYSize;
508
- scrollYStore.visibleSize = visibleYSize;
509
- scrollYStore.endIndex = Math.max(scrollYStore.startIndex + visibleYSize + offsetYSize, scrollYStore.endIndex);
510
- $xeList.updateYData();
511
- } else {
512
- $xeList.updateYSpace();
513
- }
514
- });
515
- },
516
- /**
517
- * 清除滚动条
518
- */
519
- clearScroll: function clearScroll() {
520
- var $xeList = this;
521
- var scrollBodyElem = $xeList.$refs.refVirtualWrapper;
522
- if (scrollBodyElem) {
523
- scrollBodyElem.scrollTop = 0;
524
- }
525
- return $xeList.$nextTick();
526
- },
527
- /**
528
- * 如果有滚动条,则滚动到对应的位置
529
- */
530
- scrollTo: function scrollTo(scrollLeft, scrollTop) {
531
- var $xeList = this;
532
- var reactData = $xeList.reactData;
533
- var scrollBodyElem = $xeList.$refs.refVirtualWrapper;
534
- if (scrollLeft) {
535
- if (!_xeUtils.default.isNumber(scrollLeft)) {
536
- scrollTop = scrollLeft.top;
537
- scrollLeft = scrollLeft.left;
538
- }
539
- }
540
- if (_xeUtils.default.isNumber(scrollLeft)) {
541
- scrollBodyElem.scrollLeft = scrollLeft;
542
- }
543
- if (_xeUtils.default.isNumber(scrollTop)) {
544
- scrollBodyElem.scrollTop = scrollTop;
545
- }
546
- if (reactData.scrollYLoad) {
547
- return new Promise(function (resolve) {
548
- setTimeout(function () {
549
- $xeList.$nextTick(function () {
550
- resolve();
551
- });
552
- }, 50);
553
- });
554
- }
555
- return $xeList.$nextTick();
556
- },
557
- /**
558
- * 刷新滚动条
559
- */
560
- refreshScroll: function refreshScroll() {
561
- var $xeList = this;
562
- var internalData = $xeList.internalData;
563
- var lastScrollLeft = internalData.lastScrollLeft,
564
- lastScrollTop = internalData.lastScrollTop;
565
- return $xeList.clearScroll().then(function () {
566
- if (lastScrollLeft || lastScrollTop) {
567
- internalData.lastScrollLeft = 0;
568
- internalData.lastScrollTop = 0;
569
- return scrollTo(lastScrollLeft, lastScrollTop);
570
- }
571
- });
572
- },
573
- /**
574
- * 重新计算列表
575
- */
576
- recalculate: function recalculate() {
577
- var $xeList = this;
578
- var reactData = $xeList.reactData;
579
- var el = $xeList.$refs.refElem;
580
- if (el) {
581
- var parentEl = el.parentElement;
582
- reactData.parentHeight = parentEl ? parentEl.clientHeight : 0;
583
- $xeList.updateHeight();
584
- if (el.clientWidth && el.clientHeight) {
585
- return $xeList.computeScrollLoad();
586
- }
587
- }
588
- return $xeList.$nextTick();
589
- },
590
- loadYData: function loadYData(evnt) {
591
- var $xeList = this;
592
- var internalData = $xeList.internalData;
593
- var scrollYStore = internalData.scrollYStore;
594
- var startIndex = scrollYStore.startIndex,
595
- endIndex = scrollYStore.endIndex,
596
- visibleSize = scrollYStore.visibleSize,
597
- offsetSize = scrollYStore.offsetSize,
598
- rowHeight = scrollYStore.rowHeight;
599
- var scrollBodyElem = evnt.target;
600
- var scrollTop = scrollBodyElem.scrollTop;
601
- var toVisibleIndex = Math.floor(scrollTop / rowHeight);
602
- var offsetStartIndex = Math.max(0, toVisibleIndex - 1 - offsetSize);
603
- var offsetEndIndex = toVisibleIndex + visibleSize + offsetSize;
604
- if (toVisibleIndex <= startIndex || toVisibleIndex >= endIndex - visibleSize - 1) {
605
- if (startIndex !== offsetStartIndex || endIndex !== offsetEndIndex) {
606
- scrollYStore.startIndex = offsetStartIndex;
607
- scrollYStore.endIndex = offsetEndIndex;
608
- $xeList.updateYData();
609
- }
610
- }
611
- },
612
- scrollEvent: function scrollEvent(evnt) {
613
- var $xeList = this;
614
- var reactData = $xeList.reactData;
615
- var internalData = $xeList.internalData;
616
- var scrollBodyElem = evnt.target;
617
- var scrollTop = scrollBodyElem.scrollTop;
618
- var scrollLeft = scrollBodyElem.scrollLeft;
619
- var isX = scrollLeft !== internalData.lastScrollLeft;
620
- var isY = scrollTop !== internalData.lastScrollTop;
621
- internalData.lastScrollTop = scrollTop;
622
- internalData.lastScrollLeft = scrollLeft;
623
- if (reactData.scrollYLoad) {
624
- $xeList.loadYData(evnt);
625
- }
626
- $xeList.dispatchEvent('scroll', {
627
- scrollLeft: scrollLeft,
628
- scrollTop: scrollTop,
629
- isX: isX,
630
- isY: isY
631
- }, evnt);
632
- },
633
- getRowKey: function getRowKey(row) {
634
- var $xeList = this;
635
- var keyField = $xeList.computeKeyField;
636
- return getRowKeyByField(row, keyField);
637
- },
638
- eqRowKey: eqRowKey,
639
- eqRow: function eqRow(row1, row2) {
640
- var $xeList = this;
641
- if (row1 && row2) {
642
- if (row1 === row2) {
643
- return true;
644
- }
645
- return eqRowKey($xeList.getRowId(row1), $xeList.getRowId(row2));
646
- }
647
- return false;
648
- },
649
- eqRowByKey: function eqRowByKey(row, rowKey) {
650
- var $xeList = this;
651
- return row && eqRowKey($xeList.getRowKey(row), rowKey);
652
- },
653
- findRow: function findRow(list, row) {
654
- var $xeList = this;
655
- return row ? _xeUtils.default.find(list, function (obj) {
656
- return $xeList.eqRow(obj, row);
657
- }) : null;
658
- },
659
- findRowByKey: function findRowByKey(list, rowId) {
660
- var $xeList = this;
661
- var keyField = $xeList.computeKeyField;
662
- return _xeUtils.default.find(list, function (obj) {
663
- return eqRowKey(getRowIdByField(obj, keyField), rowId);
664
- });
665
- },
666
- findRowIndexOf: function findRowIndexOf(list, row) {
667
- var $xeList = this;
668
- return row ? _xeUtils.default.findIndexOf(list, function (obj) {
669
- return $xeList.eqRow(obj, row);
670
- }) : -1;
671
- },
672
- findRowIndexOfByKey: function findRowIndexOfByKey(list, rowKey) {
673
- var $xeList = this;
674
- var keyField = $xeList.computeKeyField;
675
- return _xeUtils.default.findIndexOf(list, function (obj) {
676
- return eqRowKey(getRowIdByField(obj, keyField), rowKey);
677
- });
678
- },
679
- isCheckedByRadioRowKey: function isCheckedByRadioRowKey(rowKey) {
680
- var $xeList = this;
681
- var reactData = $xeList.reactData;
682
- var selectRadioRow = reactData.selectRadioRow;
683
- return $xeList.getRowKey(selectRadioRow) === rowKey;
684
- },
685
- isCheckedByRadioRow: function isCheckedByRadioRow(row) {
686
- var $xeList = this;
687
- return $xeList.isCheckedByRadioRowKey($xeList.getRowKey(row));
688
- },
689
- isCheckedByCheckboxRowKey: function isCheckedByCheckboxRowKey(rowid) {
690
- var $xeList = this;
691
- var reactData = $xeList.reactData;
692
- var internalData = $xeList.internalData;
693
- var updateCheckboxFlag = reactData.updateCheckboxFlag;
694
- var selectCheckboxMaps = internalData.selectCheckboxMaps;
695
- return !!(updateCheckboxFlag && selectCheckboxMaps[rowid]);
696
- },
697
- isCheckedByCheckboxRow: function isCheckedByCheckboxRow(row) {
698
- var $xeList = this;
699
- return $xeList.isCheckedByCheckboxRowKey($xeList.getRowKey(row));
700
- },
701
- setCurrentRow: function setCurrentRow(row) {
702
- var $xeList = this;
703
- var reactData = $xeList.reactData;
704
- var internalData = $xeList.internalData;
705
- internalData.currentRow = row;
706
- reactData.currRowFlag++;
707
- return $xeList.$nextTick();
708
- },
709
- setCurrentRowByKey: function setCurrentRowByKey(rowKey) {
710
- var $xeList = this;
711
- var reactData = $xeList.reactData;
712
- var internalData = $xeList.internalData;
713
- var fullData = internalData.fullData;
714
- internalData.currentRow = $xeList.findRowByKey(fullData, rowKey);
715
- reactData.currRowFlag++;
716
- return $xeList.$nextTick();
717
- },
718
- getCurrentRow: function getCurrentRow() {
719
- var $xeList = this;
720
- var internalData = $xeList.internalData;
721
- var currentRow = internalData.currentRow;
722
- return currentRow;
723
- },
724
- getCurrentRowKey: function getCurrentRowKey() {
725
- var $xeList = this;
726
- var internalData = $xeList.internalData;
727
- var currentRow = internalData.currentRow;
728
- return currentRow ? $xeList.getRowKey(currentRow) : null;
729
- },
730
- clearCurrentRow: function clearCurrentRow() {
731
- var $xeList = this;
732
- var reactData = $xeList.reactData;
733
- var internalData = $xeList.internalData;
734
- internalData.currentRow = null;
735
- reactData.currRowFlag++;
736
- return $xeList.$nextTick();
737
- },
738
- setRadioRow: function setRadioRow(row) {
739
- var $xeList = this;
740
- var reactData = $xeList.reactData;
741
- reactData.selectRadioRow = row;
742
- var value = $xeList.getRowKey(row);
743
- $xeList.emitRadioMode(value);
744
- return $xeList.$nextTick();
745
- },
746
- setRadioRowByKey: function setRadioRowByKey(rowKey) {
747
- var $xeList = this;
748
- var reactData = $xeList.reactData;
749
- var internalData = $xeList.internalData;
750
- var fullData = internalData.fullData;
751
- reactData.selectRadioRow = $xeList.findRowByKey(fullData, rowKey);
752
- var value = rowKey;
753
- $xeList.emitRadioMode(value);
754
- return $xeList.$nextTick();
755
- },
756
- getRadioRow: function getRadioRow() {
757
- var $xeList = this;
758
- var reactData = $xeList.reactData;
759
- var selectRadioRow = reactData.selectRadioRow;
760
- return selectRadioRow;
761
- },
762
- getRadioRowKey: function getRadioRowKey() {
763
- var $xeList = this;
764
- var reactData = $xeList.reactData;
765
- var selectRadioRow = reactData.selectRadioRow;
766
- return selectRadioRow ? $xeList.getRowKey(selectRadioRow) : null;
767
- },
768
- clearRadioRow: function clearRadioRow() {
769
- var $xeList = this;
770
- var reactData = $xeList.reactData;
771
- var value = null;
772
- reactData.selectRadioRow = value;
773
- $xeList.emitRadioMode(value);
774
- return $xeList.$nextTick();
775
- },
776
- setCheckboxRow: function setCheckboxRow(row, checked) {
777
- var $xeList = this;
778
- var internalData = $xeList.internalData;
779
- var selectCheckboxMaps = internalData.selectCheckboxMaps;
780
- var keyField = $xeList.computeKeyField;
781
- var rowList = row ? _xeUtils.default.isArray(row) ? row : [row] : [];
782
- rowList.forEach(checked ? function (obj) {
783
- var rowid = getRowIdByField(obj, keyField);
784
- if (!selectCheckboxMaps[rowid]) {
785
- selectCheckboxMaps[rowid] = obj;
786
- }
787
- } : function (obj) {
788
- var rowid = getRowIdByField(obj, keyField);
789
- if (selectCheckboxMaps[rowid]) {
790
- delete selectCheckboxMaps[rowid];
791
- }
792
- });
793
- var value = $xeList.getCheckboxRowKeys();
794
- $xeList.emitCheckboxMode(value);
795
- return $xeList.updateCheckboxStatus();
796
- },
797
- setCheckboxRowByKey: function setCheckboxRowByKey(rowKey, checked) {
798
- var $xeList = this;
799
- var internalData = $xeList.internalData;
800
- var selectCheckboxMaps = internalData.selectCheckboxMaps,
801
- fullKeyMaps = internalData.fullKeyMaps;
802
- var keyField = $xeList.computeKeyField;
803
- var rowKeys = rowKey ? _xeUtils.default.isArray(rowKey) ? rowKey : [rowKey] : [];
804
- rowKeys.forEach(checked ? function (key) {
805
- var row = fullKeyMaps[key || ''];
806
- if (row) {
807
- var rowid = getRowIdByField(row, keyField);
808
- if (row && !selectCheckboxMaps[rowid]) {
809
- selectCheckboxMaps[rowid] = row;
810
- }
811
- }
812
- } : function (key) {
813
- var row = fullKeyMaps[key || ''];
814
- if (row) {
815
- var rowid = getRowIdByField(row, keyField);
816
- if (selectCheckboxMaps[rowid]) {
817
- delete selectCheckboxMaps[rowid];
818
- }
819
- }
820
- });
821
- var value = $xeList.getCheckboxRowKeys();
822
- $xeList.emitCheckboxMode(value);
823
- return $xeList.updateCheckboxStatus();
824
- },
825
- getCheckboxRows: function getCheckboxRows() {
826
- var $xeList = this;
827
- var reactData = $xeList.reactData;
828
- var internalData = $xeList.internalData;
829
- var updateCheckboxFlag = reactData.updateCheckboxFlag;
830
- var selectCheckboxMaps = internalData.selectCheckboxMaps;
831
- var rowList = [];
832
- if (updateCheckboxFlag) {
833
- _xeUtils.default.each(selectCheckboxMaps, function (row) {
834
- if (row) {
835
- rowList.push(row);
836
- }
837
- });
838
- }
839
- return rowList;
840
- },
841
- getCheckboxRowKeys: function getCheckboxRowKeys() {
842
- var $xeList = this;
843
- var reactData = $xeList.reactData;
844
- var internalData = $xeList.internalData;
845
- var updateCheckboxFlag = reactData.updateCheckboxFlag;
846
- var selectCheckboxMaps = internalData.selectCheckboxMaps;
847
- var keyField = $xeList.computeKeyField;
848
- var rowKeys = [];
849
- if (updateCheckboxFlag) {
850
- _xeUtils.default.each(selectCheckboxMaps, function (row) {
851
- if (row) {
852
- var rowKey = getRowKeyByField(row, keyField);
853
- rowKeys.push(rowKey);
854
- }
855
- });
856
- }
857
- return rowKeys;
858
- },
859
- clearCheckboxRow: function clearCheckboxRow() {
860
- var $xeList = this;
861
- var reactData = $xeList.reactData;
862
- var internalData = $xeList.internalData;
863
- internalData.selectCheckboxMaps = {};
864
- reactData.updateCheckboxFlag++;
865
- reactData.isAllChecked = false;
866
- reactData.isAllIndeterminate = false;
867
- var value = [];
868
- $xeList.emitCheckboxMode(value);
869
- return $xeList.$nextTick();
870
- },
871
- setAllCheckboxRow: function setAllCheckboxRow(checked) {
872
- var $xeList = this;
873
- var internalData = $xeList.internalData;
874
- var fullData = internalData.fullData,
875
- selectCheckboxMaps = internalData.selectCheckboxMaps;
876
- var keyField = $xeList.computeKeyField;
877
- if (checked) {
878
- var value = [];
879
- var _iterator2 = _createForOfIteratorHelper(fullData),
880
- _step2;
881
- try {
882
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
883
- var row = _step2.value;
884
- var rowKey = getRowKeyByField(row, keyField);
885
- var rowid = getRowIdByField(row, keyField);
886
- selectCheckboxMaps[rowid] = row;
887
- value.push(rowKey);
888
- }
889
- } catch (err) {
890
- _iterator2.e(err);
891
- } finally {
892
- _iterator2.f();
893
- }
894
- $xeList.emitCheckboxMode(value);
895
- return $xeList.updateCheckboxStatus();
896
- }
897
- return $xeList.clearCheckboxRow();
898
- },
899
- updateCheckboxStatus: function updateCheckboxStatus() {
900
- var $xeList = this;
901
- var reactData = $xeList.reactData;
902
- var internalData = $xeList.internalData;
903
- var selectCheckboxMaps = internalData.selectCheckboxMaps,
904
- fullData = internalData.fullData;
905
- var keyField = $xeList.computeKeyField;
906
- var checkboxOpts = $xeList.computeCheckboxOpts;
907
- var checkMethod = checkboxOpts.checkMethod;
908
- var hasChecked = false;
909
- var hasUnchecked = false;
910
- if (checkMethod) {
911
- var _iterator3 = _createForOfIteratorHelper(fullData),
912
- _step3;
913
- try {
914
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
915
- var row = _step3.value;
916
- if (checkMethod({
917
- row: row,
918
- $list: $xeList
919
- })) {
920
- var rowid = getRowIdByField(row, keyField);
921
- if (selectCheckboxMaps[rowid]) {
922
- hasChecked = true;
923
- } else {
924
- hasUnchecked = true;
925
- if (hasChecked) {
926
- break;
927
- }
928
- }
929
- }
930
- }
931
- } catch (err) {
932
- _iterator3.e(err);
933
- } finally {
934
- _iterator3.f();
935
- }
936
- } else {
937
- var _iterator4 = _createForOfIteratorHelper(fullData),
938
- _step4;
939
- try {
940
- for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
941
- var _row = _step4.value;
942
- var _rowid = getRowIdByField(_row, keyField);
943
- if (selectCheckboxMaps[_rowid]) {
944
- hasChecked = true;
945
- } else {
946
- hasUnchecked = true;
947
- if (hasChecked) {
948
- break;
949
- }
950
- }
951
- }
952
- } catch (err) {
953
- _iterator4.e(err);
954
- } finally {
955
- _iterator4.f();
956
- }
957
- }
958
- reactData.isAllChecked = hasChecked && !hasUnchecked;
959
- reactData.isAllIndeterminate = hasChecked && hasUnchecked;
960
- reactData.updateCheckboxFlag++;
961
- return $xeList.$nextTick();
962
- },
963
- changeCheckboxAllEvent: function changeCheckboxAllEvent(evnt) {
964
- var $xeList = this;
965
- var reactData = $xeList.reactData;
966
- var isAllChecked = reactData.isAllChecked;
967
- var isChecked = !isAllChecked;
968
- if (isChecked) {
969
- $xeList.setAllCheckboxRow(true);
970
- } else {
971
- $xeList.clearCheckboxRow();
972
- }
973
- $xeList.dispatchEvent('checkbox-all', {
974
- checked: isChecked
975
- }, evnt);
976
- },
977
- changeCheckboxEvent: function changeCheckboxEvent(evnt, row) {
978
- var $xeList = this;
979
- var reactData = $xeList.reactData;
980
- var internalData = $xeList.internalData;
981
- evnt.preventDefault();
982
- evnt.stopPropagation();
983
- var selectCheckboxMaps = internalData.selectCheckboxMaps;
984
- var checkboxOpts = $xeList.computeCheckboxOpts;
985
- var checkMethod = checkboxOpts.checkMethod;
986
- var rowid = $xeList.getRowKey(row);
987
- var isDisabled = checkMethod ? !checkMethod({
988
- $list: $xeList,
989
- row: row
990
- }) : false;
991
- if (isDisabled) {
992
- return;
993
- }
994
- var isChecked = false;
995
- if (selectCheckboxMaps[rowid]) {
996
- delete selectCheckboxMaps[rowid];
997
- } else {
998
- isChecked = true;
999
- selectCheckboxMaps[rowid] = row;
1000
- }
1001
- reactData.updateCheckboxFlag++;
1002
- $xeList.updateCheckboxStatus();
1003
- var rowids = _xeUtils.default.keys(selectCheckboxMaps);
1004
- var value = rowids.map(_utils.deModelValue);
1005
- $xeList.emitCheckboxMode(value);
1006
- $xeList.dispatchEvent('checkbox-change', {
1007
- row: row,
1008
- value: value,
1009
- checked: isChecked
1010
- }, evnt);
1011
- },
1012
- changeCurrentEvent: function changeCurrentEvent(evnt, row) {
1013
- var $xeList = this;
1014
- var reactData = $xeList.reactData;
1015
- var internalData = $xeList.internalData;
1016
- evnt.preventDefault();
1017
- var rowOpts = $xeList.computeRowOpts;
1018
- var currentMethod = rowOpts.currentMethod;
1019
- var isDisabled = false;
1020
- if (currentMethod) {
1021
- isDisabled = !currentMethod({
1022
- row: row
1023
- });
1024
- }
1025
- if (isDisabled) {
1026
- return;
1027
- }
1028
- var isChecked = true;
1029
- internalData.currentRow = row;
1030
- reactData.currRowFlag++;
1031
- $xeList.dispatchEvent('current-change', {
1032
- row: row,
1033
- checked: isChecked
1034
- }, evnt);
1035
- },
1036
- changeRadioEvent: function changeRadioEvent(evnt, row) {
1037
- var $xeList = this;
1038
- var reactData = $xeList.reactData;
1039
- evnt.preventDefault();
1040
- evnt.stopPropagation();
1041
- var selectRadioRow = reactData.selectRadioRow;
1042
- var radioOpts = $xeList.computeRadioOpts;
1043
- var strict = radioOpts.strict,
1044
- checkMethod = radioOpts.checkMethod;
1045
- var rowKey = $xeList.getRowKey(row);
1046
- var isDisabled = checkMethod ? !checkMethod({
1047
- $list: $xeList,
1048
- row: row
1049
- }) : false;
1050
- if (isDisabled) {
1051
- return;
1052
- }
1053
- var value = rowKey;
1054
- var isChecked = true;
1055
- if (strict) {
1056
- if (selectRadioRow && rowKey === $xeList.getRowKey(selectRadioRow)) {
1057
- isChecked = false;
1058
- reactData.selectRadioRow = null;
1059
- } else {
1060
- reactData.selectRadioRow = row;
1061
- }
1062
- } else {
1063
- reactData.selectRadioRow = row;
1064
- }
1065
- $xeList.emitRadioMode(value);
1066
- $xeList.dispatchEvent('radio-change', {
1067
- row: row,
1068
- value: value,
1069
- checked: isChecked
1070
- }, evnt);
1071
- },
1072
- handleRowDragEndClearStatus: function handleRowDragEndClearStatus() {
1073
- var $xeList = this;
1074
- $xeList.clearRowDragData();
1075
- $xeList.clearCrossListDragStatus();
1076
- $xeList.recalculate();
1077
- },
1078
- clearRowDropOrigin: function clearRowDropOrigin() {
1079
- var $xeList = this;
1080
- var el = $xeList.$refs.refElem;
1081
- if (el) {
1082
- var clss = 'row--drag-origin';
1083
- _xeUtils.default.arrayEach(el.querySelectorAll(".".concat(clss)), function (elem) {
1084
- elem.draggable = false;
1085
- (0, _dom.removeClass)(elem, clss);
1086
- });
1087
- }
1088
- },
1089
- updateRowDropOrigin: function updateRowDropOrigin(row) {
1090
- var $xeList = this;
1091
- var sYOpts = $xeList.computeSYOpts;
1092
- var sItem = sYOpts.sItem;
1093
- var el = $xeList.$refs.refElem;
1094
- if (el) {
1095
- var clss = 'row--drag-origin';
1096
- var rowid = $xeList.getRowId(row);
1097
- _xeUtils.default.arrayEach(el.querySelectorAll(".vxe-list--row[rowid=\"".concat(rowid, "\"]") + (sItem ? "".concat(sItem, "[rowid=\"").concat(rowid, "\"]") : '')), function (elem) {
1098
- (0, _dom.addClass)(elem, clss);
1099
- });
1100
- }
1101
- },
1102
- updateRowDropTipContent: function updateRowDropTipContent(rowEl) {
1103
- var $xeList = this;
1104
- var reactData = $xeList.reactData;
1105
- var dragRow = reactData.dragRow;
1106
- var dragOpts = $xeList.computeDragOpts;
1107
- var tooltipMethod = dragOpts.tooltipMethod;
1108
- var rTooltipMethod = tooltipMethod;
1109
- var tipContent = '';
1110
- if (rTooltipMethod) {
1111
- var rtParams = {
1112
- $list: $xeList,
1113
- row: dragRow
1114
- };
1115
- tipContent = "".concat(rTooltipMethod(rtParams) || '');
1116
- } else {
1117
- tipContent = (0, _ui.getI18n)('vxe.list.dragTip', [rowEl.textContent || '']);
1118
- }
1119
- reactData.dragTipText = tipContent;
1120
- },
1121
- hideDropTip: function hideDropTip() {
1122
- var $xeList = this;
1123
- var rdTipEl = $xeList.$refs.refDragTipElem;
1124
- var rdLineEl = $xeList.$refs.refDragRowLineElem;
1125
- if (rdTipEl) {
1126
- rdTipEl.style.display = '';
1127
- }
1128
- if (rdLineEl) {
1129
- rdLineEl.style.display = '';
1130
- }
1131
- },
1132
- clearCrossListDragStatus: function clearCrossListDragStatus() {
1133
- var $xeList = this;
1134
- var crossListDragRowInfo = (0, _store.getCrossListDragRowInfo)($xeList);
1135
- crossListDragRowObj = null;
1136
- crossListDragRowInfo.row = null;
1137
- },
1138
- clearDragStatus: function clearDragStatus() {
1139
- var $xeList = this;
1140
- var reactData = $xeList.reactData;
1141
- var dragRow = reactData.dragRow;
1142
- if (dragRow) {
1143
- $xeList.hideDropTip();
1144
- $xeList.clearRowDropOrigin();
1145
- $xeList.clearCrossListDragStatus();
1146
- reactData.dragRow = null;
1147
- }
1148
- },
1149
- handleRowDragMousedownEvent: function handleRowDragMousedownEvent(evnt, params) {
1150
- var $xeList = this;
1151
- var reactData = $xeList.reactData;
1152
- var crossListDragRowInfo = (0, _store.getCrossListDragRowInfo)($xeList);
1153
- evnt.stopPropagation();
1154
- var row = params.row;
1155
- var dragConfig = $xeList.computeDragOpts;
1156
- var isCrossListDrag = dragConfig.isCrossListDrag,
1157
- trigger = dragConfig.trigger,
1158
- dragStartMethod = dragConfig.dragStartMethod;
1159
- var dragEl = evnt.currentTarget;
1160
- var rowEl = trigger === 'row' ? dragEl : dragEl.parentElement.parentElement;
1161
- $xeList.clearRowDropOrigin();
1162
- if (dragStartMethod && !dragStartMethod(params)) {
1163
- rowEl.draggable = false;
1164
- reactData.dragRow = null;
1165
- $xeList.hideDropTip();
1166
- return;
1167
- }
1168
- if (isCrossListDrag) {
1169
- crossListDragRowInfo.row = row;
1170
- crossListDragRowObj = {
1171
- $oldList: $xeList,
1172
- $newList: null
1173
- };
1174
- }
1175
- var dragstartEventParams = {
1176
- row: row
1177
- };
1178
- reactData.dragRow = row;
1179
- rowEl.draggable = true;
1180
- $xeList.updateRowDropOrigin(row);
1181
- $xeList.updateRowDropTipContent(rowEl);
1182
- $xeList.dispatchEvent('row-dragstart', dragstartEventParams, evnt);
1183
- },
1184
- handleRowDragMouseupEvent: function handleRowDragMouseupEvent() {
1185
- var $xeList = this;
1186
- $xeList.clearDragStatus();
1187
- },
1188
- showDropTip: function showDropTip(evnt, rowEl, showLine, dragPos) {
1189
- var $xeList = this;
1190
- var wrapperEl = $xeList.$refs.refElem;
1191
- if (!wrapperEl) {
1192
- return;
1193
- }
1194
- var wrapperRect = wrapperEl.getBoundingClientRect();
1195
- var wrapperHeight = wrapperEl.clientHeight;
1196
- if (rowEl) {
1197
- var rdLineEl = $xeList.$refs.refDragRowLineElem;
1198
- if (rdLineEl) {
1199
- if (showLine) {
1200
- var trRect = rowEl.getBoundingClientRect();
1201
- var rowHeight = rowEl.clientHeight;
1202
- var offsetTop = Math.max(1, trRect.y - wrapperRect.y);
1203
- if (offsetTop + rowHeight > wrapperHeight) {
1204
- rowHeight = wrapperHeight - offsetTop;
1205
- }
1206
- rdLineEl.style.display = 'block';
1207
- rdLineEl.style.top = "".concat(offsetTop, "px");
1208
- rdLineEl.style.height = "".concat(rowHeight, "px");
1209
- rdLineEl.setAttribute('drag-pos', dragPos);
1210
- } else {
1211
- rdLineEl.style.display = '';
1212
- }
1213
- }
1214
- }
1215
- var rdTipEl = $xeList.$refs.refDragTipElem;
1216
- if (rdTipEl) {
1217
- rdTipEl.style.display = 'block';
1218
- rdTipEl.style.top = "".concat(Math.min(wrapperEl.clientHeight - wrapperEl.scrollTop - rdTipEl.clientHeight, evnt.clientY - wrapperRect.y), "px");
1219
- rdTipEl.style.left = "".concat(Math.min(wrapperEl.clientWidth - wrapperEl.scrollLeft - rdTipEl.clientWidth - 1, evnt.clientX - wrapperRect.x), "px");
1220
- rdTipEl.setAttribute('drag-status', showLine ? 'normal' : 'disabled');
1221
- }
1222
- },
1223
- clearRowDragData: function clearRowDragData() {
1224
- var $xeList = this;
1225
- var reactData = $xeList.reactData;
1226
- var wrapperEl = $xeList.$refs.refElem;
1227
- var dtClss = ['.vxe-list--row'];
1228
- $xeList.hideDropTip();
1229
- $xeList.clearRowDropOrigin();
1230
- (0, _anime.clearRowAnimate)(wrapperEl, dtClss);
1231
- reactData.dragRow = null;
1232
- },
1233
- handleRowDragSwapEvent: function handleRowDragSwapEvent(evnt, dragRow, prevDragRow, prevDragPos) {
1234
- var $xeList = this;
1235
- var reactData = $xeList.reactData;
1236
- var internalData = $xeList.internalData;
1237
- var fullData = internalData.fullData;
1238
- var dragConfig = $xeList.computeDragOpts;
1239
- var animation = dragConfig.animation,
1240
- dragEndMethod = dragConfig.dragEndMethod;
1241
- var dEndMethod = dragEndMethod || (dragConfig ? dragConfig.dragEndMethod : null);
1242
- var dragOffsetIndex = prevDragPos === 'bottom' ? 1 : 0;
1243
- var el = $xeList.$refs.refElem;
1244
- var errRest = {
1245
- status: false
1246
- };
1247
- if (!(el && prevDragRow && dragRow)) {
1248
- return Promise.resolve(errRest);
1249
- }
1250
- // 判断是否有拖动
1251
- if (prevDragRow !== dragRow) {
1252
- var dragParams = {
1253
- oldRow: dragRow,
1254
- newRow: prevDragRow,
1255
- dragRow: dragRow,
1256
- dragPos: prevDragPos,
1257
- offsetIndex: dragOffsetIndex
1258
- };
1259
- var dragRowid = $xeList.getRowId(dragRow);
1260
- var _dragRowIndex = $xeList.findRowIndexOfByKey(fullData, dragRowid);
1261
- var newRowid = $xeList.getRowKey(prevDragRow);
1262
- var dragRowHeight = 0;
1263
- var dragOffsetTop = -1;
1264
- if (animation) {
1265
- var prevRowEl = el.querySelector(".vxe-list--row[rowid=\"".concat(newRowid, "\"]"));
1266
- var oldRowEl = el.querySelector(".vxe-list--row[rowid=\"".concat(dragRowid, "\"]"));
1267
- var targetRowEl = prevRowEl || oldRowEl;
1268
- if (targetRowEl) {
1269
- dragRowHeight = targetRowEl.offsetHeight;
1270
- }
1271
- if (oldRowEl) {
1272
- dragOffsetTop = oldRowEl.offsetTop;
1273
- }
1274
- }
1275
- var oafIndex = -1;
1276
- var nafIndex = -1;
1277
- return Promise.resolve(dEndMethod ? dEndMethod(dragParams) : true).then(function (status) {
1278
- if (!status) {
1279
- return errRest;
1280
- }
1281
- // 移出
1282
- oafIndex = $xeList.findRowIndexOf(fullData, dragRow);
1283
- fullData.splice(oafIndex, 1);
1284
- // 插入
1285
- var pafIndex = $xeList.findRowIndexOf(fullData, prevDragRow);
1286
- nafIndex = pafIndex + dragOffsetIndex;
1287
- fullData.splice(nafIndex, 0, dragRow);
1288
- $xeList.handleData();
1289
- if (reactData.scrollYLoad) {
1290
- $xeList.updateYSpace();
1291
- }
1292
- if (evnt) {
1293
- var dragendEventParams = {
1294
- oldRow: dragRow,
1295
- newRow: prevDragRow,
1296
- dragRow: dragRow,
1297
- dragPos: prevDragPos,
1298
- offsetIndex: dragOffsetIndex,
1299
- _index: {
1300
- newIndex: nafIndex,
1301
- oldIndex: oafIndex
1302
- }
1303
- };
1304
- $xeList.dispatchEvent('row-dragend', dragendEventParams, evnt);
1305
- }
1306
- return $xeList.$nextTick().then(function () {
1307
- if (animation) {
1308
- var rowList = reactData.rowList;
1309
- var _fullData = internalData.fullData;
1310
- var _newRowIndex = $xeList.findRowIndexOfByKey(_fullData, dragRowid);
1311
- var firstRow = _fullData[0];
1312
- var _firstRowIndex = $xeList.findRowIndexOf(_fullData, firstRow);
1313
- var wrapperEl = el;
1314
- if (_firstRowIndex > -1) {
1315
- var _lastRowIndex = _firstRowIndex + _fullData.length;
1316
- var rsIndex = -1;
1317
- var reIndex = -1;
1318
- var offsetRate = 1;
1319
- if (_dragRowIndex < _firstRowIndex) {
1320
- // 从上往下虚拟拖拽
1321
- rsIndex = 0;
1322
- reIndex = _newRowIndex - _firstRowIndex;
1323
- } else if (_dragRowIndex > _lastRowIndex) {
1324
- // 从下往上虚拟拖拽
1325
- var $newRowIndex = $xeList.findRowIndexOfByKey(rowList, dragRowid);
1326
- rsIndex = $newRowIndex + 1;
1327
- reIndex = _fullData.length;
1328
- offsetRate = -1;
1329
- } else {
1330
- if (_newRowIndex > _dragRowIndex) {
1331
- // 从上往下拖拽
1332
- rsIndex = _dragRowIndex - _firstRowIndex;
1333
- reIndex = rsIndex + _newRowIndex - _dragRowIndex;
1334
- } else {
1335
- // 从下往上拖拽
1336
- rsIndex = _newRowIndex - _firstRowIndex;
1337
- reIndex = rsIndex + _dragRowIndex - _newRowIndex + 1;
1338
- offsetRate = -1;
1339
- }
1340
- }
1341
- var dragRangeList = _fullData.slice(rsIndex, reIndex);
1342
- if (dragRangeList.length) {
1343
- var dtClss = [];
1344
- dragRangeList.forEach(function (obj) {
1345
- var rowid = $xeList.getRowId(obj);
1346
- dtClss.push(".vxe-list--row[rowid=\"".concat(rowid, "\"]"));
1347
- });
1348
- var dtTrList = wrapperEl.querySelectorAll(dtClss.join(','));
1349
- (0, _anime.moveRowAnimateToTb)(dtTrList, offsetRate * dragRowHeight);
1350
- }
1351
- }
1352
- var drClss = [".vxe-list--row[rowid=\"".concat(dragRowid, "\"]")];
1353
- var newDtTrList = wrapperEl.querySelectorAll(drClss.join(','));
1354
- var newTrEl = newDtTrList[0];
1355
- if (dragOffsetTop > -1 && newTrEl) {
1356
- (0, _anime.moveRowAnimateToTb)(newDtTrList, dragOffsetTop - newTrEl.offsetTop);
1357
- }
1358
- }
1359
- $xeList.recalculate();
1360
- }).then(function () {
1361
- return {
1362
- status: true
1363
- };
1364
- });
1365
- }).catch(function () {
1366
- return errRest;
1367
- }).then(function (rest) {
1368
- $xeList.clearRowDragData();
1369
- $xeList.clearCrossListDragStatus();
1370
- return rest;
1371
- });
1372
- }
1373
- $xeList.clearRowDragData();
1374
- $xeList.clearCrossListDragStatus();
1375
- return Promise.resolve(errRest);
1376
- },
1377
- handleRowDragDragstartEvent: function handleRowDragDragstartEvent(evnt) {
1378
- if (evnt.dataTransfer) {
1379
- evnt.dataTransfer.setDragImage((0, _dom.getTpImg)(), 0, 0);
1380
- }
1381
- },
1382
- handleRowDragDragendEvent: function handleRowDragDragendEvent(evnt) {
1383
- var $xeList = this;
1384
- var reactData = $xeList.reactData;
1385
- var internalData = $xeList.internalData;
1386
- var dragRow = reactData.dragRow;
1387
- var prevDragRow = internalData.prevDragRow,
1388
- prevDragPos = internalData.prevDragPos;
1389
- var dragConfig = $xeList.computeDragOpts;
1390
- var isCrossListDrag = dragConfig.isCrossListDrag;
1391
- // 跨列表拖拽
1392
- if (isCrossListDrag && crossListDragRowObj) {
1393
- var _crossListDragRowObj = crossListDragRowObj,
1394
- $newList = _crossListDragRowObj.$newList;
1395
- if ($newList && $newList.xID !== $xeList.xID) {
1396
- $newList.handleCrossListRowDragInsertEvent(evnt);
1397
- return;
1398
- }
1399
- }
1400
- $xeList.handleRowDragSwapEvent(evnt, dragRow, prevDragRow, prevDragPos);
1401
- },
1402
- handleRowDragDragoverEvent: function handleRowDragDragoverEvent(evnt) {
1403
- var $xeList = this;
1404
- var reactData = $xeList.reactData;
1405
- var internalData = $xeList.internalData;
1406
- var dragRow = reactData.dragRow;
1407
- var fullData = internalData.fullData;
1408
- if (!dragRow) {
1409
- evnt.preventDefault();
1410
- }
1411
- var rowEl = evnt.currentTarget;
1412
- var rowid = rowEl.getAttribute('rowid') || '';
1413
- var row = $xeList.findRowByKey(fullData, rowid);
1414
- if (row) {
1415
- evnt.preventDefault();
1416
- var offsetY = evnt.clientY - rowEl.getBoundingClientRect().y;
1417
- var dragPos = offsetY < rowEl.clientHeight / 2 ? 'top' : 'bottom';
1418
- internalData.prevDragRow = row;
1419
- internalData.prevDragPos = dragPos;
1420
- if (dragRow && $xeList.getRowId(dragRow) === rowid) {
1421
- $xeList.showDropTip(evnt, rowEl, false, dragPos);
1422
- return;
1423
- }
1424
- var dragOffsetIndex = dragPos === 'bottom' ? 1 : 0;
1425
- var offsetIndex = dragOffsetIndex;
1426
- var dragoverEventParams = {
1427
- oldRow: dragRow,
1428
- targetRow: row,
1429
- dragPos: dragPos,
1430
- dragRow: dragRow,
1431
- offsetIndex: offsetIndex
1432
- };
1433
- $xeList.showDropTip(evnt, rowEl, true, dragPos);
1434
- $xeList.dispatchEvent('row-dragover', dragoverEventParams, evnt);
1435
- }
1436
- },
1437
- handleRowMousedownEvent: function handleRowMousedownEvent(evnt, row) {
1438
- var $xeList = this;
1439
- var dragConfig = $xeList.computeDragOpts;
1440
- var isDrag = $xeList.computeIsDrag;
1441
- var trigger = dragConfig.trigger,
1442
- disabledMethod = dragConfig.disabledMethod;
1443
- var isRowDrag = false;
1444
- if (isDrag) {
1445
- isRowDrag = trigger === 'row';
1446
- }
1447
- var params = {
1448
- row: row,
1449
- $list: $xeList
1450
- };
1451
- if (isRowDrag && !(disabledMethod && disabledMethod(params))) {
1452
- $xeList.handleRowDragMousedownEvent(evnt, params);
1453
- }
1454
- },
1455
- handleRowClickEvent: function handleRowClickEvent(evnt, row) {
1456
- var $xeList = this;
1457
- var props = $xeList;
1458
- var reactData = $xeList.reactData;
1459
- var internalData = $xeList.internalData;
1460
- var showRadio = props.showRadio,
1461
- showCheckbox = props.showCheckbox;
1462
- var currentRow = internalData.currentRow;
1463
- var radioOpts = $xeList.computeRadioOpts;
1464
- var checkboxOpts = $xeList.computeCheckboxOpts;
1465
- var rowOpts = $xeList.computeRowOpts;
1466
- var isCurrent = rowOpts.isCurrent;
1467
- var triggerCurrent = false;
1468
- var triggerRadio = false;
1469
- var triggerCheckbox = false;
1470
- if (isCurrent) {
1471
- triggerCurrent = true;
1472
- $xeList.changeCurrentEvent(evnt, row);
1473
- } else if (currentRow) {
1474
- internalData.currentRow = null;
1475
- reactData.currRowFlag++;
1476
- }
1477
- if (showRadio && radioOpts.trigger === 'row') {
1478
- triggerRadio = true;
1479
- $xeList.changeRadioEvent(evnt, row);
1480
- }
1481
- if (showCheckbox && checkboxOpts.trigger === 'row') {
1482
- triggerCheckbox = true;
1483
- $xeList.changeCheckboxEvent(evnt, row);
1484
- }
1485
- $xeList.dispatchEvent('row-click', {
1486
- row: row,
1487
- triggerCurrent: triggerCurrent,
1488
- triggerRadio: triggerRadio,
1489
- triggerCheckbox: triggerCheckbox
1490
- }, evnt);
1491
- },
1492
- handleRowDblclickEvent: function handleRowDblclickEvent(evnt, row) {
1493
- var $xeList = this;
1494
- $xeList.dispatchEvent('row-dblclick', {
1495
- row: row
1496
- }, evnt);
1497
- },
1498
- insertListRow: function insertListRow(newRecords, isAppend) {
1499
- var $xeList = this;
1500
- var internalData = $xeList.internalData;
1501
- var fullData = internalData.fullData,
1502
- rowMaps = internalData.rowMaps;
1503
- var keyField = $xeList.computeKeyField;
1504
- var funcName = isAppend ? 'push' : 'unshift';
1505
- newRecords.forEach(function (item) {
1506
- var rowid = getRowIdByField(item, keyField);
1507
- var rowRest = (0, _util.getItemCacheObj)(item);
1508
- fullData[funcName](item);
1509
- rowMaps[rowid] = rowRest;
1510
- });
1511
- },
1512
- handleInsertRowAt: function handleInsertRowAt(records, targetRowOrRowKey, isInsertNextRow) {
1513
- var $xeList = this;
1514
- var reactData = $xeList.reactData;
1515
- var internalData = $xeList.internalData;
1516
- var fullData = internalData.fullData,
1517
- rowMaps = internalData.rowMaps,
1518
- removeRowMaps = internalData.removeRowMaps,
1519
- insertRowMaps = internalData.insertRowMaps;
1520
- var keyField = $xeList.computeKeyField;
1521
- if (!keyField) {
1522
- errLog('vxe.error.reqSupportProp', ['insert() | insertAt() | insertNextAt()', 'row-config.keyField']);
1523
- return Promise.resolve({
1524
- row: null,
1525
- rows: []
1526
- });
1527
- }
1528
- if (!_xeUtils.default.isArray(records)) {
1529
- records = [records];
1530
- }
1531
- var targetRow = targetRowOrRowKey;
1532
- if (_xeUtils.default.isString(targetRowOrRowKey) || _xeUtils.default.isNumber(targetRowOrRowKey)) {
1533
- var rowRest = rowMaps[targetRowOrRowKey];
1534
- if (rowRest) {
1535
- targetRow = rowRest.item;
1536
- }
1537
- }
1538
- if (!records.length) {
1539
- return Promise.resolve({
1540
- row: null,
1541
- rows: []
1542
- });
1543
- }
1544
- var newRecords = records.map(function (record) {
1545
- return _xeUtils.default.assign({}, record);
1546
- });
1547
- if (_xeUtils.default.eqNull(targetRow)) {
1548
- $xeList.insertListRow(newRecords, false);
1549
- } else {
1550
- if (targetRow === -1) {
1551
- $xeList.insertListRow(newRecords, true);
1552
- } else {
1553
- var rowIndex = fullData.findIndex(function (item) {
1554
- return targetRow[keyField] === item[keyField];
1555
- });
1556
- if (rowIndex > -1) {
1557
- newRecords.forEach(function (item) {
1558
- var rowid = getRowIdByField(item, keyField);
1559
- var rowRest = (0, _util.getItemCacheObj)(item);
1560
- rowMaps[rowid] = rowRest;
1561
- });
1562
- var targetIndex = rowIndex;
1563
- if (isInsertNextRow) {
1564
- targetIndex = targetIndex + 1;
1565
- }
1566
- fullData.splice.apply(fullData, [targetIndex, 0].concat(_toConsumableArray(newRecords)));
1567
- } else {
1568
- warnLog('vxe.error.unableInsert');
1569
- $xeList.insertListRow(newRecords, true);
1570
- }
1571
- }
1572
- }
1573
- newRecords.forEach(function (newItem) {
1574
- var rowid = getRowIdByField(newItem, keyField);
1575
- // 如果是被删除的数据,则还原状态
1576
- if (removeRowMaps[rowid]) {
1577
- delete removeRowMaps[rowid];
1578
- if (insertRowMaps[rowid]) {
1579
- delete insertRowMaps[rowid];
1580
- }
1581
- } else {
1582
- insertRowMaps[rowid] = newItem;
1583
- }
1584
- });
1585
- reactData.removeRowFlag++;
1586
- reactData.insertRowFlag++;
1587
- $xeList.cacheRowMap();
1588
- $xeList.handleData(true);
1589
- $xeList.updateAfterDataIndex();
1590
- $xeList.updateCheckboxStatus();
1591
- if (reactData.scrollYLoad) {
1592
- $xeList.updateYSpace();
1593
- }
1594
- return $xeList.$nextTick().then(function () {
1595
- return {
1596
- row: newRecords.length ? newRecords[newRecords.length - 1] : null,
1597
- rows: newRecords
1598
- };
1599
- });
1600
- },
1601
- insert: function insert(records) {
1602
- var $xeList = this;
1603
- return $xeList.handleInsertRowAt(records, null);
1604
- },
1605
- insertAt: function insertAt(records, targetRowOrRowKey) {
1606
- var $xeList = this;
1607
- return $xeList.handleInsertRowAt(records, targetRowOrRowKey);
1608
- },
1609
- insertNextAt: function insertNextAt(records, targetRowOrRowKey) {
1610
- var $xeList = this;
1611
- return $xeList.handleInsertRowAt(records, targetRowOrRowKey, true);
1612
- },
1613
- getInsertRecords: function getInsertRecords() {
1614
- var $xeList = this;
1615
- var internalData = $xeList.internalData;
1616
- var insertRowMaps = internalData.insertRowMaps;
1617
- var insertRecords = [];
1618
- _xeUtils.default.each(insertRowMaps, function (item) {
1619
- insertRecords.push(item);
1620
- });
1621
- return insertRecords;
1622
- },
1623
- isInsertByRow: function isInsertByRow(row) {
1624
- var $xeList = this;
1625
- var reactData = $xeList.reactData;
1626
- var internalData = $xeList.internalData;
1627
- var rowid = $xeList.getRowId(row);
1628
- return !!reactData.insertRowFlag && !!internalData.insertRowMaps[rowid];
1629
- },
1630
- remove: function remove(rows) {
1631
- var $xeList = this;
1632
- var reactData = $xeList.reactData;
1633
- var internalData = $xeList.internalData;
1634
- var fullData = internalData.fullData,
1635
- insertRowMaps = internalData.insertRowMaps,
1636
- removeRowMaps = internalData.removeRowMaps;
1637
- var keyField = $xeList.computeKeyField;
1638
- if (!keyField) {
1639
- errLog('vxe.error.reqSupportProp', ['insert() | insertAt() | insertNextAt()', 'row-config.keyField']);
1640
- return Promise.resolve({
1641
- row: null,
1642
- rows: []
1643
- });
1644
- }
1645
- var delList = [];
1646
- if (!rows) {
1647
- rows = fullData;
1648
- } else if (!_xeUtils.default.isArray(rows)) {
1649
- rows = [rows];
1650
- }
1651
- if (!rows.length) {
1652
- return Promise.resolve({
1653
- row: null,
1654
- rows: []
1655
- });
1656
- }
1657
- // 如果是新增,则保存记录
1658
- rows.forEach(function (item) {
1659
- if (!$xeList.isInsertByRow(item)) {
1660
- var rowid = $xeList.getRowId(item);
1661
- removeRowMaps[rowid] = item;
1662
- }
1663
- });
1664
- // 从数据源中移除
1665
- if (fullData === rows) {
1666
- rows = delList = fullData.slice(0);
1667
- internalData.fullData = [];
1668
- } else {
1669
- rows.forEach(function (item) {
1670
- var rowid = $xeList.getRowId(item);
1671
- var rowIndex = _xeUtils.default.findIndexOf(fullData, function (item) {
1672
- return rowid === $xeList.getRowId(item);
1673
- });
1674
- if (rowIndex > -1) {
1675
- var rItems = fullData.splice(rowIndex, 1);
1676
- delList.push(rItems[0]);
1677
- }
1678
- });
1679
- }
1680
- // 从新增中移除已删除的数据
1681
- rows.forEach(function (item) {
1682
- var rowid = $xeList.getRowId(item);
1683
- if (insertRowMaps[rowid]) {
1684
- delete insertRowMaps[rowid];
1685
- }
1686
- });
1687
- reactData.removeRowFlag++;
1688
- reactData.insertRowFlag++;
1689
- $xeList.cacheRowMap();
1690
- $xeList.handleData(true);
1691
- $xeList.updateAfterDataIndex();
1692
- $xeList.updateCheckboxStatus();
1693
- if (reactData.scrollYLoad) {
1694
- $xeList.updateYSpace();
1695
- }
1696
- return $xeList.$nextTick().then(function () {
1697
- return $xeList.recalculate();
1698
- }).then(function () {
1699
- return {
1700
- row: delList.length ? delList[delList.length - 1] : null,
1701
- rows: delList
1702
- };
1703
- });
1704
- },
1705
- getRemoveRecords: function getRemoveRecords() {
1706
- var $xeList = this;
1707
- var internalData = $xeList.internalData;
1708
- var removeRowMaps = internalData.removeRowMaps;
1709
- var removeRecords = [];
1710
- _xeUtils.default.each(removeRowMaps, function (item) {
1711
- removeRecords.push(item);
1712
- });
1713
- return removeRecords;
1714
- },
1715
- isRemoveByRow: function isRemoveByRow(row) {
1716
- var $xeList = this;
1717
- var reactData = $xeList.reactData;
1718
- var internalData = $xeList.internalData;
1719
- var rowid = $xeList.getRowId(row);
1720
- return !!reactData.removeRowFlag && !!internalData.removeRowMaps[rowid];
1721
- },
1722
- handleCrossListRowDragCancelEvent: function handleCrossListRowDragCancelEvent() {
1723
- var $xeList = this;
1724
- $xeList.clearRowDragData();
1725
- $xeList.clearCrossListDragStatus();
1726
- },
1727
- /**
1728
- * 处理跨树拖拽完成
1729
- */
1730
- handleCrossListRowDragFinishEvent: function handleCrossListRowDragFinishEvent(evnt) {
1731
- var $xeList = this;
1732
- var reactData = $xeList.reactData;
1733
- var internalData = $xeList.internalData;
1734
- var crossListDragRowInfo = (0, _store.getCrossListDragRowInfo)($xeList);
1735
- var rowList = reactData.rowList;
1736
- var rowMaps = internalData.rowMaps;
1737
- var dragOpts = $xeList.computeDragOpts;
1738
- var animation = dragOpts.animation,
1739
- isCrossListDrag = dragOpts.isCrossListDrag;
1740
- var el = $xeList.$refs.refElem;
1741
- if (!el) {
1742
- return;
1743
- }
1744
- if (isCrossListDrag && crossListDragRowObj && crossListDragRowInfo) {
1745
- var dragRow = crossListDragRowInfo.row;
1746
- if (dragRow) {
1747
- var dragRowid = $xeList.getRowId(dragRow);
1748
- var dragRowRest = rowMaps[dragRowid];
1749
- var dragRowHeight = 0;
1750
- var rsIndex = -1;
1751
- if (dragRowRest) {
1752
- if (animation) {
1753
- var oldItemEl = el.querySelector(".vxe-list--row[rowid=\"".concat(dragRowid, "\"]"));
1754
- var targetItemEl = oldItemEl;
1755
- if (targetItemEl) {
1756
- dragRowHeight = targetItemEl.offsetHeight;
1757
- }
1758
- }
1759
- rsIndex = dragRowRest.$index;
1760
- }
1761
- var dragRangeList = rsIndex > -1 && rsIndex < rowList.length - 1 ? rowList.slice(rsIndex + 1) : [];
1762
- var dragList = [dragRow];
1763
- $xeList.remove(dragList).then(function () {
1764
- if (animation && dragRowHeight && dragRangeList.length) {
1765
- var wrapperEl = el;
1766
- var dtClss = [];
1767
- dragRangeList.forEach(function (item) {
1768
- var rowid = $xeList.getRowId(item);
1769
- dtClss.push(".vxe-list--row[rowid=\"".concat(rowid, "\"]"));
1770
- });
1771
- var dtTrList = wrapperEl.querySelectorAll(dtClss.join(','));
1772
- (0, _anime.moveRowAnimateToTb)(dtTrList, dragRowHeight);
1773
- }
1774
- });
1775
- $xeList.dispatchEvent('row-remove-dragend', {
1776
- row: dragRow
1777
- }, evnt);
1778
- $xeList.handleRowDragEndClearStatus();
1779
- }
1780
- }
1781
- },
1782
- /**
1783
- * 处理跨树拖至新的空树
1784
- */
1785
- handleCrossListRowDragoverEmptyEvent: function handleCrossListRowDragoverEmptyEvent(evnt) {
1786
- var $xeList = this;
1787
- var reactData = $xeList.reactData;
1788
- var internalData = $xeList.internalData;
1789
- var rowList = reactData.rowList;
1790
- var dragOpts = $xeList.computeDragOpts;
1791
- var isCrossListDrag = dragOpts.isCrossListDrag;
1792
- if (isCrossListDrag && crossListDragRowObj && !rowList.length) {
1793
- var _crossListDragRowObj2 = crossListDragRowObj,
1794
- $oldList = _crossListDragRowObj2.$oldList,
1795
- $newList = _crossListDragRowObj2.$newList;
1796
- if ($oldList) {
1797
- var oldListReactData = $oldList;
1798
- if ($oldList.xID !== $xeList.xID) {
1799
- if ($newList && $newList.xID !== $xeList.xID) {
1800
- $newList.hideCrossListRowDropClearStatus();
1801
- }
1802
- evnt.preventDefault();
1803
- $oldList.hideCrossListRowDropClearStatus();
1804
- crossListDragRowObj.$newList = $xeList;
1805
- internalData.prevDragRow = null;
1806
- reactData.dragTipText = oldListReactData.dragTipText;
1807
- $xeList.showDropTip(evnt, evnt.currentTarget, true, '');
1808
- }
1809
- }
1810
- }
1811
- },
1812
- /**
1813
- * 处理跨树拖插入
1814
- */
1815
- handleCrossListRowDragInsertEvent: function handleCrossListRowDragInsertEvent(evnt) {
1816
- var $xeList = this;
1817
- var reactData = $xeList.reactData;
1818
- var internalData = $xeList.internalData;
1819
- var crossListDragRowInfo = (0, _store.getCrossListDragRowInfo)($xeList);
1820
- var prevDragRow = internalData.prevDragRow,
1821
- prevDragPos = internalData.prevDragPos;
1822
- var dragOpts = $xeList.computeDragOpts;
1823
- var animation = dragOpts.animation,
1824
- isCrossListDrag = dragOpts.isCrossListDrag,
1825
- dragEndMethod = dragOpts.dragEndMethod;
1826
- // 跨表拖拽
1827
- if (isCrossListDrag && crossListDragRowObj && crossListDragRowInfo) {
1828
- var oldRow = crossListDragRowInfo.row;
1829
- var _crossListDragRowObj3 = crossListDragRowObj,
1830
- $oldList = _crossListDragRowObj3.$oldList;
1831
- var el = $xeList.$refs.refElem;
1832
- if (!el) {
1833
- return;
1834
- }
1835
- if ($oldList && oldRow) {
1836
- var dragRow = oldRow;
1837
- var dragOffsetIndex = -1;
1838
- if (prevDragRow) {
1839
- dragOffsetIndex = prevDragPos === 'bottom' ? 1 : 0;
1840
- }
1841
- var dragParams = {
1842
- oldRow: dragRow,
1843
- newRow: prevDragRow,
1844
- dragRow: dragRow,
1845
- dragPos: prevDragPos,
1846
- offsetIndex: dragOffsetIndex
1847
- };
1848
- var errRest = {
1849
- status: false
1850
- };
1851
- Promise.resolve(dragEndMethod ? dragEndMethod(dragParams) : true).then(function (status) {
1852
- if (!status) {
1853
- if ($oldList) {
1854
- if ($oldList.xID !== $xeList.xID) {
1855
- $oldList.handleCrossListRowDragCancelEvent(evnt);
1856
- }
1857
- }
1858
- $xeList.handleRowDragEndClearStatus();
1859
- return errRest;
1860
- }
1861
- var insertRest = Promise.resolve();
1862
- var dragList = [dragRow];
1863
- $oldList.handleCrossListRowDragFinishEvent(evnt);
1864
- if (prevDragRow) {
1865
- if (prevDragPos === 'bottom') {
1866
- insertRest = $xeList.insertNextAt(dragList, prevDragRow);
1867
- } else {
1868
- insertRest = $xeList.insertAt(dragList, prevDragRow);
1869
- }
1870
- } else {
1871
- insertRest = $xeList.insert(dragList);
1872
- }
1873
- $xeList.dispatchEvent('row-insert-dragend', {
1874
- oldRow: oldRow,
1875
- newRow: prevDragRow,
1876
- dragRow: dragRow,
1877
- dragPos: prevDragPos,
1878
- offsetIndex: dragOffsetIndex
1879
- }, evnt);
1880
- $xeList.clearRowDragData();
1881
- insertRest.then(function () {
1882
- var rowList = reactData.rowList;
1883
- var rowMaps = internalData.rowMaps;
1884
- var oldRowid = $xeList.getRowId(dragRow);
1885
- var oldRowRest = rowMaps[oldRowid];
1886
- var dragRowHeight = 0;
1887
- var rsIndex = -1;
1888
- if (oldRowRest) {
1889
- if (animation) {
1890
- var oldItemEl = el.querySelector(".vxe-list--row[rowid=\"".concat(oldRowid, "\"]"));
1891
- var targetItemEl = oldItemEl;
1892
- if (targetItemEl) {
1893
- dragRowHeight = targetItemEl.offsetHeight;
1894
- }
1895
- }
1896
- rsIndex = oldRowRest.$index;
1897
- }
1898
- var dragRangeList = rsIndex > -1 ? rowList.slice(rsIndex) : [];
1899
- if (animation && dragRowHeight && dragRangeList.length) {
1900
- var wrapperEl = el;
1901
- var dtClss = [];
1902
- dragRangeList.forEach(function (item) {
1903
- var rowid = $xeList.getRowId(item);
1904
- dtClss.push(".vxe-list--row[rowid=\"".concat(rowid, "\"]"));
1905
- });
1906
- var dtTrList = wrapperEl.querySelectorAll(dtClss.join(','));
1907
- (0, _anime.moveRowAnimateToTb)(dtTrList, -dragRowHeight);
1908
- }
1909
- });
1910
- });
1911
- }
1912
- }
1913
- },
1914
- hideCrossListRowDropClearStatus: function hideCrossListRowDropClearStatus() {
1915
- var $xeList = this;
1916
- $xeList.hideDropTip();
1917
- },
1918
- handleContextmenuEvent: function handleContextmenuEvent(evnt, row) {
1919
- var $xeList = this;
1920
- var props = $xeList;
1921
- var reactData = $xeList.reactData;
1922
- var internalData = $xeList.internalData;
1923
- var menuConfig = props.menuConfig;
1924
- var menuOpts = $xeList.computeMenuOpts;
1925
- var rowOpts = $xeList.computeRowOpts;
1926
- var isCurrent = rowOpts.isCurrent;
1927
- if (menuConfig ? (0, _utils.isEnableConf)(menuOpts) : menuOpts.enabled) {
1928
- var options = menuOpts.options,
1929
- visibleMethod = menuOpts.visibleMethod;
1930
- if (!visibleMethod || visibleMethod({
1931
- $list: $xeList,
1932
- options: options,
1933
- row: row
1934
- })) {
1935
- if (isCurrent) {
1936
- $xeList.changeCurrentEvent(evnt, row);
1937
- } else if (internalData.currentRow) {
1938
- internalData.currentRow = null;
1939
- reactData.currRowFlag++;
1940
- }
1941
- if (_ui.VxeUI.contextMenu) {
1942
- _ui.VxeUI.contextMenu.openByEvent(evnt, {
1943
- options: options,
1944
- events: {
1945
- optionClick: function optionClick(eventParams) {
1946
- var option = eventParams.option;
1947
- var gMenuOpts = _ui.menus.get(option.code);
1948
- var tmMethod = gMenuOpts ? gMenuOpts.listMenuMethod : null;
1949
- var params = {
1950
- menu: option,
1951
- row: row,
1952
- $event: evnt,
1953
- $list: $xeList
1954
- };
1955
- if (tmMethod) {
1956
- tmMethod(params, evnt);
1957
- }
1958
- $xeList.dispatchEvent('menu-click', params, eventParams.$event);
1959
- }
1960
- }
1961
- });
1962
- }
1963
- }
1964
- }
1965
- $xeList.dispatchEvent('row-menu', {
1966
- row: row
1967
- }, evnt);
1968
- },
1969
- //
1970
- // Render
1971
- //
1972
- renderDragTip: function renderDragTip(h) {
1973
- var $xeList = this;
1974
- var reactData = $xeList.reactData;
1975
- var dragRow = reactData.dragRow,
1976
- dragTipText = reactData.dragTipText;
1977
- var dragOpts = $xeList.computeDragOpts;
1978
- var isDrag = $xeList.computeIsDrag;
1979
- var dRow = dragRow;
1980
- if (isDrag) {
1981
- return h('div', {
1982
- class: 'vxe-list--drag-wrapper'
1983
- }, [h('div', {
1984
- ref: 'refDragRowLineElem',
1985
- class: ['vxe-list--drag-row-line', {
1986
- 'is--guides': dragOpts.showGuidesStatus
1987
- }]
1988
- }), dRow && dragOpts.showDragTip ? h('div', {
1989
- ref: 'refDragTipElem',
1990
- class: 'vxe-list--drag-sort-tip'
1991
- }, [h('div', {
1992
- class: 'vxe-list--drag-sort-tip-wrapper'
1993
- }, [h('div', {
1994
- class: 'vxe-list--drag-sort-tip-status'
1995
- }, [h('span', {
1996
- class: ['vxe-list--drag-sort-tip-normal-status', (0, _ui.getIcon)().LIST_DRAG_STATUS_NODE]
1997
- }), h('span', {
1998
- class: ['vxe-list--drag-sort-tip-disabled-status', (0, _ui.getIcon)().LIST_DRAG_DISABLED]
1999
- })]), h('div', {
2000
- class: 'vxe-list--drag-sort-tip-content'
2001
- }, dragTipText)])]) : (0, _ui.renderEmptyElement)($xeList)]);
2002
- }
2003
- return (0, _ui.renderEmptyElement)($xeList);
2004
- },
2005
- renderRadio: function renderRadio(h, row, rowid, isChecked) {
2006
- var $xeList = this;
2007
- var props = $xeList;
2008
- var showRadio = props.showRadio;
2009
- var radioOpts = $xeList.computeRadioOpts;
2010
- var showIcon = radioOpts.showIcon,
2011
- checkMethod = radioOpts.checkMethod,
2012
- visibleMethod = radioOpts.visibleMethod;
2013
- var isVisible = !visibleMethod || visibleMethod({
2014
- $list: $xeList,
2015
- row: row
2016
- });
2017
- if (showRadio && showIcon && isVisible) {
2018
- var isDisabled = checkMethod ? !checkMethod({
2019
- $list: $xeList,
2020
- row: row
2021
- }) : false;
2022
- return h('div', {
2023
- key: 'ct2',
2024
- class: ['vxe-list--radio-option', {
2025
- 'is--checked': isChecked,
2026
- 'is--disabled': isDisabled
2027
- }],
2028
- on: {
2029
- click: function click(evnt) {
2030
- if (!isDisabled) {
2031
- $xeList.changeRadioEvent(evnt, row);
2032
- }
2033
- }
2034
- }
2035
- }, [h('span', {
2036
- class: ['vxe-radio--icon', isChecked ? (0, _ui.getIcon)().RADIO_CHECKED : (0, _ui.getIcon)().RADIO_UNCHECKED]
2037
- })]);
2038
- }
2039
- return (0, _ui.renderEmptyElement)($xeList);
2040
- },
2041
- renderCheckbox: function renderCheckbox(h, row, rowid, isChecked) {
2042
- var $xeList = this;
2043
- var props = $xeList;
2044
- var showCheckbox = props.showCheckbox;
2045
- var checkboxOpts = $xeList.computeCheckboxOpts;
2046
- var showIcon = checkboxOpts.showIcon,
2047
- checkMethod = checkboxOpts.checkMethod,
2048
- visibleMethod = checkboxOpts.visibleMethod;
2049
- var isVisible = !visibleMethod || visibleMethod({
2050
- $list: $xeList,
2051
- row: row
2052
- });
2053
- if (showCheckbox && showIcon && isVisible) {
2054
- var isDisabled = checkMethod ? !checkMethod({
2055
- $list: $xeList,
2056
- row: row
2057
- }) : false;
2058
- return h('div', {
2059
- key: 'ct3',
2060
- class: ['vxe-list--checkbox-option', {
2061
- 'is--checked': isChecked,
2062
- 'is--disabled': isDisabled
2063
- }],
2064
- on: {
2065
- click: function click(evnt) {
2066
- if (!isDisabled) {
2067
- $xeList.changeCheckboxEvent(evnt, row);
2068
- }
2069
- }
2070
- }
2071
- }, [h('span', {
2072
- class: ['vxe-checkbox--icon', isChecked ? (0, _ui.getIcon)().CHECKBOX_CHECKED : (0, _ui.getIcon)().CHECKBOX_UNCHECKED]
2073
- })]);
2074
- }
2075
- return (0, _ui.renderEmptyElement)($xeList);
2076
- },
2077
- renderRow: function renderRow(h, row, rowIndex) {
2078
- var $xeList = this;
2079
- var props = $xeList;
2080
- var reactData = $xeList.reactData;
2081
- var internalData = $xeList.internalData;
2082
- var slots = $xeList.$scopedSlots;
2083
- var showRadio = props.showRadio,
2084
- showCheckbox = props.showCheckbox;
2085
- var selectRadioRow = reactData.selectRadioRow,
2086
- currRowFlag = reactData.currRowFlag,
2087
- updateCheckboxFlag = reactData.updateCheckboxFlag;
2088
- var selectCheckboxMaps = internalData.selectCheckboxMaps,
2089
- currentRow = internalData.currentRow;
2090
- var contentSlot = slots.content;
2091
- var extraSlot = slots.extra;
2092
- var dragOpts = $xeList.computeDragOpts;
2093
- var trigger = dragOpts.trigger,
2094
- icon = dragOpts.icon,
2095
- disabledMethod = dragOpts.disabledMethod,
2096
- visibleMethod = dragOpts.visibleMethod;
2097
- var rowOpts = $xeList.computeRowOpts;
2098
- var useKey = rowOpts.useKey,
2099
- contentField = rowOpts.contentField,
2100
- rowClassName = rowOpts.className,
2101
- isCurrent = rowOpts.isCurrent;
2102
- var isDrag = $xeList.computeIsDrag;
2103
- var keyField = $xeList.computeKeyField;
2104
- var isRowFnCls = rowClassName && _xeUtils.default.isFunction(rowClassName);
2105
- var hasKey = keyField || useKey || isDrag || isCurrent || showRadio || showCheckbox;
2106
- var rowKey = hasKey && keyField ? getRowIdByField(row, keyField) : '';
2107
- var rowid = (0, _utils.enModelValue)(rowKey);
2108
- var rowParams = {
2109
- row: row,
2110
- $list: $xeList
2111
- };
2112
- var isRadioChecked = false;
2113
- if (showRadio) {
2114
- isRadioChecked = selectRadioRow && (row === selectRadioRow || $xeList.eqRowByKey(selectRadioRow, rowKey));
2115
- }
2116
- var isCheckboxChecked = false;
2117
- if (showCheckbox) {
2118
- isCheckboxChecked = !!(updateCheckboxFlag && selectCheckboxMaps[rowid]);
2119
- }
2120
- var ctVNs = [];
2121
- var isDragDisabled = false;
2122
- if (isDrag && keyField && (!visibleMethod || visibleMethod(rowParams))) {
2123
- var handleOns = {};
2124
- if (trigger !== 'row') {
2125
- isDragDisabled = !!(disabledMethod && disabledMethod(rowParams));
2126
- handleOns.mousedown = function (evnt) {
2127
- if (!isDragDisabled) {
2128
- $xeList.handleRowDragMousedownEvent(evnt, rowParams);
2129
- }
2130
- };
2131
- handleOns.mouseup = $xeList.handleRowDragMouseupEvent;
2132
- }
2133
- ctVNs.push(h('div', {
2134
- key: 'ct1',
2135
- class: 'vxe-list--row-drag'
2136
- }, [h('span', {
2137
- class: 'vxe-list--drag-handle',
2138
- on: handleOns
2139
- }, [h('i', {
2140
- class: icon || (0, _ui.getIcon)().LIST_DRAG
2141
- })])]));
2142
- }
2143
- if (showRadio) {
2144
- ctVNs.push($xeList.renderRadio(h, row, rowid, isRadioChecked));
2145
- }
2146
- if (showCheckbox) {
2147
- ctVNs.push($xeList.renderCheckbox(h, row, rowid, isCheckboxChecked));
2148
- }
2149
- ctVNs.push(h('div', {
2150
- key: 'ct5',
2151
- class: 'vxe-list--row-content'
2152
- }, contentSlot ? contentSlot(rowParams) : contentField ? (0, _utils.getText)(row[contentField]) : ''));
2153
- if (extraSlot) {
2154
- ctVNs.push(h('div', {
2155
- key: 'ct7',
2156
- class: 'vxe-list--row-extra'
2157
- }, extraSlot(rowParams)));
2158
- }
2159
- var rowOns = {
2160
- mousedown: function mousedown(evnt) {
2161
- $xeList.handleRowMousedownEvent(evnt, row);
2162
- },
2163
- mouseup: $xeList.handleRowDragMouseupEvent,
2164
- click: function click(evnt) {
2165
- $xeList.handleRowClickEvent(evnt, row);
2166
- },
2167
- dblclick: function dblclick(evnt) {
2168
- $xeList.handleRowDblclickEvent(evnt, row);
2169
- },
2170
- contextmenu: function contextmenu(evnt) {
2171
- $xeList.handleContextmenuEvent(evnt, row);
2172
- }
2173
- };
2174
- // 拖拽行事件
2175
- if (isDrag) {
2176
- rowOns.dragstart = $xeList.handleRowDragDragstartEvent;
2177
- rowOns.dragend = $xeList.handleRowDragDragendEvent;
2178
- rowOns.dragover = $xeList.handleRowDragDragoverEvent;
2179
- }
2180
- return h('div', {
2181
- key: hasKey && keyField ? rowid : rowIndex,
2182
- class: ['vxe-list--row', isRowFnCls ? rowClassName(rowParams) : rowClassName || '', {
2183
- 'is--drag-disabled': isDragDisabled,
2184
- 'is--current': currRowFlag && currentRow && $xeList.eqRowByKey(currentRow, rowKey),
2185
- 'is-radio--checked': isRadioChecked,
2186
- 'is-checkbox--checked': isCheckboxChecked
2187
- }],
2188
- attrs: hasKey && keyField ? {
2189
- rowid: rowid
2190
- } : undefined,
2191
- on: rowOns
2192
- }, ctVNs);
2193
- },
2194
- renderVN: function renderVN(h) {
2195
- var $xeList = this;
2196
- var props = $xeList;
2197
- var reactData = $xeList.reactData;
2198
- var slots = $xeList.$scopedSlots;
2199
- var showCheckbox = props.showCheckbox,
2200
- className = props.className,
2201
- loading = props.loading;
2202
- var bodyHeight = reactData.bodyHeight,
2203
- topSpaceHeight = reactData.topSpaceHeight,
2204
- rowList = reactData.rowList,
2205
- isAllChecked = reactData.isAllChecked,
2206
- isAllIndeterminate = reactData.isAllIndeterminate;
2207
- var defaultSlot = slots.default;
2208
- var headerSlot = slots.header;
2209
- var footerSlot = slots.footer;
2210
- var vSize = $xeList.computeSize;
2211
- var wrapperStyles = $xeList.computeWrapperStyles;
2212
- var virtualStyles = $xeList.computeVirtualStyles;
2213
- var radioOpts = $xeList.computeRadioOpts;
2214
- var checkboxOpts = $xeList.computeCheckboxOpts;
2215
- var dragOpts = $xeList.computeDragOpts;
2216
- var trigger = dragOpts.trigger,
2217
- isCrossListDrag = dragOpts.isCrossListDrag;
2218
- var rowOpts = $xeList.computeRowOpts;
2219
- var isHover = rowOpts.isHover,
2220
- padding = rowOpts.padding;
2221
- var showDefChekboxHead = showCheckbox && checkboxOpts.showHeader !== false;
2222
- var leOns = {};
2223
- if (isCrossListDrag && !rowList.length) {
2224
- leOns.dragover = $xeList.handleCrossListRowDragoverEmptyEvent;
2225
- }
2226
- return h('div', {
2227
- ref: 'refElem',
2228
- class: ['vxe-list', className ? _xeUtils.default.isFunction(className) ? className({
2229
- $list: $xeList
2230
- }) : className : '', _defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--loading', loading)],
2231
- on: leOns,
2232
- style: wrapperStyles
2233
- }, [headerSlot || showDefChekboxHead ? h('div', {
2234
- ref: 'refHeaderElem',
2235
- class: 'vxe-list--header-wrapper'
2236
- }, [showDefChekboxHead ? h('div', {
2237
- class: 'vxe-list--header-left'
2238
- }, [h('div', {
2239
- class: ['vxe-list--checkbox-header', {
2240
- 'is--checked': isAllChecked,
2241
- 'is--indeterminate': isAllIndeterminate
2242
- }],
2243
- on: {
2244
- click: $xeList.changeCheckboxAllEvent
2245
- }
2246
- }, [h('span', {
2247
- class: ['vxe-checkbox--icon', isAllChecked ? (0, _ui.getIcon)().CHECKBOX_CHECKED : isAllIndeterminate ? (0, _ui.getIcon)().CHECKBOX_INDETERMINATE : (0, _ui.getIcon)().CHECKBOX_UNCHECKED]
2248
- })])]) : (0, _ui.renderEmptyElement)($xeList), headerSlot ? h('div', {
2249
- class: 'vxe-list--header-content'
2250
- }, headerSlot({
2251
- items: rowList,
2252
- $list: $xeList
2253
- })) : (0, _ui.renderEmptyElement)($xeList)]) : (0, _ui.renderEmptyElement)($xeList), h('div', {
2254
- ref: 'refVirtualWrapper',
2255
- class: 'vxe-list--virtual-wrapper',
2256
- style: virtualStyles,
2257
- on: {
2258
- scroll: $xeList.scrollEvent
2259
- }
2260
- }, [h('div', {
2261
- class: 'vxe-list--y-space',
2262
- style: {
2263
- height: bodyHeight ? "".concat(bodyHeight, "px") : ''
2264
- }
2265
- }), h('div', {
2266
- ref: 'refVirtualBody',
2267
- class: ['vxe-list--body', {
2268
- 'trigger--row': trigger === 'row',
2269
- 'checkbox--highlight': checkboxOpts.highlight,
2270
- 'radio--highlight': radioOpts.highlight,
2271
- 'row--hover': isHover,
2272
- 'is--padding': padding
2273
- }],
2274
- style: {
2275
- marginTop: topSpaceHeight ? "".concat(topSpaceHeight, "px") : ''
2276
- }
2277
- }, defaultSlot ? defaultSlot({
2278
- items: rowList,
2279
- $list: $xeList
2280
- }) : rowList.map(function (row, i) {
2281
- return $xeList.renderRow(h, row, i);
2282
- }))]), footerSlot ? h('div', {
2283
- ref: 'refFooterElem',
2284
- class: 'vxe-list--footer-wrapper'
2285
- }, footerSlot({
2286
- items: rowList,
2287
- $list: $xeList
2288
- })) : (0, _ui.renderEmptyElement)($xeList),
2289
- /**
2290
- * 拖拽提示
2291
- */
2292
- $xeList.renderDragTip(h),
2293
- /**
2294
- * 加载中
2295
- */
2296
- h(_loading.default, {
2297
- class: 'vxe-list--loading',
2298
- props: {
2299
- value: loading
2300
- }
2301
- })]);
2302
- }
2303
- },
2304
- watch: {
2305
- data: function data() {
2306
- var $xeList = this;
2307
- var props = $xeList;
2308
- $xeList.loadData(props.data || []);
2309
- },
2310
- height: function height() {
2311
- var $xeList = this;
2312
- $xeList.reFlag++;
2313
- },
2314
- maxHeight: function maxHeight() {
2315
- var $xeList = this;
2316
- $xeList.reFlag++;
2317
- },
2318
- syncResize: function syncResize() {
2319
- var $xeList = this;
2320
- $xeList.reFlag++;
2321
- },
2322
- computeRowHeight: function computeRowHeight() {
2323
- var $xeList = this;
2324
- $xeList.reFlag++;
2325
- },
2326
- reFlag: function reFlag() {
2327
- var $xeList = this;
2328
- $xeList.$nextTick(function () {
2329
- $xeList.recalculate();
2330
- });
2331
- },
2332
- checkRowKey: function checkRowKey() {
2333
- var $xeList = this;
2334
- $xeList.updateRadioModeValue();
2335
- },
2336
- checkRowKeys: function checkRowKeys() {
2337
- var $xeList = this;
2338
- $xeList.updateCheckboxModeValue();
2339
- }
2340
- },
2341
- created: function created() {
2342
- var $xeList = this;
2343
- var props = $xeList;
2344
- $xeList.internalData = createInternalData();
2345
- $xeList.browseObj = _xeUtils.default.browse();
2346
- $xeList.loadData(props.data || []);
2347
- },
2348
- mounted: function mounted() {
2349
- var $xeList = this;
2350
- var props = $xeList;
2351
- var internalData = $xeList.internalData;
2352
- var showSeq = props.showSeq,
2353
- showRadio = props.showRadio,
2354
- showCheckbox = props.showCheckbox;
2355
- var rowOpts = $xeList.computeRowOpts;
2356
- var useKey = rowOpts.useKey,
2357
- keyField = rowOpts.keyField;
2358
- var isDrag = $xeList.computeIsDrag;
2359
- if (!keyField) {
2360
- if (showSeq) {
2361
- errLog('vxe.error.reqSupportProp', ['show-seq', 'row-config.keyField']);
2362
- }
2363
- if (showRadio) {
2364
- errLog('vxe.error.reqSupportProp', ['show-radio', 'row-config.keyField']);
2365
- }
2366
- if (showCheckbox) {
2367
- errLog('vxe.error.reqSupportProp', ['show-checkbox', 'row-config.keyField']);
2368
- }
2369
- if (isDrag) {
2370
- errLog('vxe.error.reqSupportProp', ['drag-config', 'row-config.keyField']);
2371
- }
2372
- }
2373
- if (useKey && !keyField) {
2374
- errLog('vxe.error.reqSupportProp', ['row-config.useKey', 'row-config.keyField']);
2375
- }
2376
- if (props.autoResize) {
2377
- var el = $xeList.$refs.refElem;
2378
- var resizeObserver = _ui.globalResize.create(function () {
2379
- return $xeList.recalculate();
2380
- });
2381
- resizeObserver.observe(el);
2382
- if (el) {
2383
- resizeObserver.observe(el.parentElement);
2384
- }
2385
- internalData.resizeObserver = resizeObserver;
2386
- }
2387
- $xeList.recalculate();
2388
- _ui.globalEvents.on($xeList, 'resize', $xeList.recalculate);
2389
- },
2390
- activated: function activated() {
2391
- var $xeList = this;
2392
- $xeList.recalculate().then(function () {
2393
- return $xeList.refreshScroll();
2394
- });
2395
- },
2396
- beforeDestroy: function beforeDestroy() {
2397
- var $xeList = this;
2398
- var reactData = $xeList.reactData;
2399
- var internalData = $xeList.internalData;
2400
- var resizeObserver = internalData.resizeObserver;
2401
- if (resizeObserver) {
2402
- resizeObserver.disconnect();
2403
- }
2404
- _ui.globalEvents.off($xeList, 'resize');
2405
- _xeUtils.default.assign(reactData, createReactData());
2406
- _xeUtils.default.assign(internalData, createInternalData());
2407
- },
2408
- render: function render(h) {
2409
- return this.renderVN(h);
2410
- }
2411
- });
2412
- /* define-vxe-component end */