vxe-pc-ui 3.15.27 → 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 (2030) hide show
  1. package/package.json +3 -3
  2. package/packages/color-picker/src/color-picker.ts +3 -2
  3. package/types/all.d.ts +0 -72
  4. package/es/alert/index.js +0 -12
  5. package/es/alert/src/alert.js +0 -99
  6. package/es/alert/style.css +0 -129
  7. package/es/alert/style.min.css +0 -1
  8. package/es/anchor/index.js +0 -12
  9. package/es/anchor/src/anchor-link.js +0 -137
  10. package/es/anchor/src/anchor.js +0 -249
  11. package/es/anchor/src/util.js +0 -19
  12. package/es/anchor/style.css +0 -42
  13. package/es/anchor/style.min.css +0 -1
  14. package/es/anchor-link/index.js +0 -12
  15. package/es/anchor-link/style.css +0 -0
  16. package/es/anchor-link/style.min.css +0 -0
  17. package/es/avatar/index.js +0 -12
  18. package/es/avatar/src/avatar.js +0 -126
  19. package/es/avatar/style.css +0 -98
  20. package/es/avatar/style.min.css +0 -1
  21. package/es/backtop/index.js +0 -12
  22. package/es/backtop/src/backtop.js +0 -305
  23. package/es/backtop/style.css +0 -72
  24. package/es/backtop/style.min.css +0 -1
  25. package/es/badge/index.js +0 -12
  26. package/es/badge/src/badge.js +0 -74
  27. package/es/badge/style.css +0 -42
  28. package/es/badge/style.min.css +0 -1
  29. package/es/breadcrumb/index.js +0 -12
  30. package/es/breadcrumb/src/breadcrumb-item.js +0 -102
  31. package/es/breadcrumb/src/breadcrumb.js +0 -76
  32. package/es/breadcrumb/style.css +0 -33
  33. package/es/breadcrumb/style.min.css +0 -1
  34. package/es/breadcrumb-item/index.js +0 -12
  35. package/es/breadcrumb-item/style.css +0 -0
  36. package/es/breadcrumb-item/style.min.css +0 -0
  37. package/es/button/index.js +0 -12
  38. package/es/button/src/button-group.js +0 -97
  39. package/es/button/src/button.js +0 -875
  40. package/es/button/style.css +0 -638
  41. package/es/button/style.min.css +0 -1
  42. package/es/button-group/index.js +0 -12
  43. package/es/button-group/style.css +0 -27
  44. package/es/button-group/style.min.css +0 -1
  45. package/es/calendar/index.js +0 -12
  46. package/es/calendar/src/calendar.js +0 -1469
  47. package/es/calendar/style.css +0 -350
  48. package/es/calendar/style.min.css +0 -1
  49. package/es/card/index.js +0 -12
  50. package/es/card/src/card.js +0 -149
  51. package/es/card/style.css +0 -107
  52. package/es/card/style.min.css +0 -1
  53. package/es/carousel/index.js +0 -12
  54. package/es/carousel/src/carousel-item.js +0 -102
  55. package/es/carousel/src/carousel.js +0 -429
  56. package/es/carousel/src/util.js +0 -17
  57. package/es/carousel/style.css +0 -185
  58. package/es/carousel/style.min.css +0 -1
  59. package/es/carousel-item/index.js +0 -12
  60. package/es/carousel-item/style.css +0 -0
  61. package/es/carousel-item/style.min.css +0 -0
  62. package/es/cascader/index.js +0 -12
  63. package/es/cascader/src/cascader.js +0 -1987
  64. package/es/cascader/src/util.js +0 -7
  65. package/es/cascader/style.css +0 -346
  66. package/es/cascader/style.min.css +0 -1
  67. package/es/checkbox/index.js +0 -12
  68. package/es/checkbox/src/button.js +0 -244
  69. package/es/checkbox/src/checkbox.js +0 -217
  70. package/es/checkbox/src/group.js +0 -280
  71. package/es/checkbox/style.css +0 -113
  72. package/es/checkbox/style.min.css +0 -1
  73. package/es/checkbox-button/index.js +0 -12
  74. package/es/checkbox-button/style.css +0 -202
  75. package/es/checkbox-button/style.min.css +0 -1
  76. package/es/checkbox-group/index.js +0 -12
  77. package/es/checkbox-group/style.css +0 -0
  78. package/es/checkbox-group/style.min.css +0 -0
  79. package/es/col/index.js +0 -12
  80. package/es/col/style.css +0 -0
  81. package/es/col/style.min.css +0 -0
  82. package/es/collapse/index.js +0 -12
  83. package/es/collapse/src/collapse-pane.js +0 -116
  84. package/es/collapse/src/collapse.js +0 -360
  85. package/es/collapse/src/util.js +0 -17
  86. package/es/collapse/style.css +0 -83
  87. package/es/collapse/style.min.css +0 -1
  88. package/es/collapse-pane/index.js +0 -12
  89. package/es/collapse-pane/style.css +0 -0
  90. package/es/collapse-pane/style.min.css +0 -0
  91. package/es/color-picker/index.js +0 -12
  92. package/es/color-picker/src/color-picker.js +0 -1220
  93. package/es/color-picker/src/util.js +0 -190
  94. package/es/color-picker/style.css +0 -485
  95. package/es/color-picker/style.min.css +0 -1
  96. package/es/components.js +0 -299
  97. package/es/context-menu/index.js +0 -46
  98. package/es/context-menu/src/context-menu.js +0 -684
  99. package/es/context-menu/style.css +0 -109
  100. package/es/context-menu/style.min.css +0 -1
  101. package/es/countdown/index.js +0 -12
  102. package/es/countdown/src/countdown.js +0 -249
  103. package/es/countdown/style.css +0 -38
  104. package/es/countdown/style.min.css +0 -1
  105. package/es/date-panel/index.js +0 -12
  106. package/es/date-panel/src/date-panel.js +0 -2013
  107. package/es/date-panel/src/util.js +0 -295
  108. package/es/date-panel/style.css +0 -453
  109. package/es/date-panel/style.min.css +0 -1
  110. package/es/date-picker/index.js +0 -13
  111. package/es/date-picker/src/date-picker.js +0 -1833
  112. package/es/date-picker/style.css +0 -283
  113. package/es/date-picker/style.min.css +0 -1
  114. package/es/date-range-picker/index.js +0 -12
  115. package/es/date-range-picker/src/date-range-picker.js +0 -1679
  116. package/es/date-range-picker/style.css +0 -289
  117. package/es/date-range-picker/style.min.css +0 -1
  118. package/es/drawer/index.js +0 -68
  119. package/es/drawer/src/drawer.js +0 -735
  120. package/es/drawer/style.css +0 -270
  121. package/es/drawer/style.min.css +0 -1
  122. package/es/dynamics/index.js +0 -107
  123. package/es/empty/index.js +0 -12
  124. package/es/empty/src/empty.js +0 -73
  125. package/es/empty/style.css +0 -54
  126. package/es/empty/style.min.css +0 -1
  127. package/es/form/index.js +0 -12
  128. package/es/form/render/index.js +0 -588
  129. package/es/form/src/form-config-item.js +0 -73
  130. package/es/form/src/form-group.js +0 -108
  131. package/es/form/src/form-item.js +0 -198
  132. package/es/form/src/form.js +0 -1012
  133. package/es/form/src/itemInfo.js +0 -76
  134. package/es/form/src/render.js +0 -357
  135. package/es/form/src/util.js +0 -78
  136. package/es/form/style.css +0 -621
  137. package/es/form/style.min.css +0 -1
  138. package/es/form-gather/index.js +0 -13
  139. package/es/form-gather/style.css +0 -0
  140. package/es/form-gather/style.min.css +0 -0
  141. package/es/form-group/index.js +0 -12
  142. package/es/form-group/style.css +0 -0
  143. package/es/form-group/style.min.css +0 -0
  144. package/es/form-item/index.js +0 -12
  145. package/es/form-item/style.css +0 -0
  146. package/es/form-item/style.min.css +0 -0
  147. package/es/icon/iconfont.1783330454578.ttf +0 -0
  148. package/es/icon/iconfont.1783330454578.woff +0 -0
  149. package/es/icon/iconfont.1783330454578.woff2 +0 -0
  150. package/es/icon/index.js +0 -12
  151. package/es/icon/src/icon.js +0 -62
  152. package/es/icon/style.css +0 -1034
  153. package/es/icon/style.min.css +0 -1
  154. package/es/icon-picker/index.js +0 -12
  155. package/es/icon-picker/src/icon-picker.js +0 -834
  156. package/es/icon-picker/style.css +0 -242
  157. package/es/icon-picker/style.min.css +0 -1
  158. package/es/iconfont.1783330454578.ttf +0 -0
  159. package/es/iconfont.1783330454578.woff +0 -0
  160. package/es/iconfont.1783330454578.woff2 +0 -0
  161. package/es/image/index.js +0 -12
  162. package/es/image/src/group.js +0 -144
  163. package/es/image/src/image.js +0 -274
  164. package/es/image/src/preview.js +0 -707
  165. package/es/image/src/util.js +0 -59
  166. package/es/image/style.css +0 -17
  167. package/es/image/style.min.css +0 -1
  168. package/es/image-group/index.js +0 -12
  169. package/es/image-group/style.css +0 -3
  170. package/es/image-group/style.min.css +0 -1
  171. package/es/image-preview/index.js +0 -14
  172. package/es/image-preview/style.css +0 -218
  173. package/es/image-preview/style.min.css +0 -1
  174. package/es/index.esm.js +0 -6
  175. package/es/input/index.js +0 -12
  176. package/es/input/src/input.js +0 -3084
  177. package/es/input/style.css +0 -1025
  178. package/es/input/style.min.css +0 -1
  179. package/es/language/ar-EG.d.ts +0 -2
  180. package/es/language/ar-EG.js +0 -874
  181. package/es/language/de-DE.d.ts +0 -2
  182. package/es/language/de-DE.js +0 -874
  183. package/es/language/en-US.d.ts +0 -2
  184. package/es/language/en-US.js +0 -874
  185. package/es/language/es-ES.d.ts +0 -2
  186. package/es/language/es-ES.js +0 -874
  187. package/es/language/fr-FR.d.ts +0 -2
  188. package/es/language/fr-FR.js +0 -874
  189. package/es/language/hu-HU.d.ts +0 -2
  190. package/es/language/hu-HU.js +0 -874
  191. package/es/language/hy-AM.d.ts +0 -2
  192. package/es/language/hy-AM.js +0 -874
  193. package/es/language/id-ID.d.ts +0 -2
  194. package/es/language/id-ID.js +0 -874
  195. package/es/language/it-IT.d.ts +0 -2
  196. package/es/language/it-IT.js +0 -874
  197. package/es/language/ja-JP.d.ts +0 -2
  198. package/es/language/ja-JP.js +0 -874
  199. package/es/language/ko-KR.d.ts +0 -2
  200. package/es/language/ko-KR.js +0 -874
  201. package/es/language/ms-MY.d.ts +0 -2
  202. package/es/language/ms-MY.js +0 -874
  203. package/es/language/nb-NO.d.ts +0 -2
  204. package/es/language/nb-NO.js +0 -874
  205. package/es/language/pt-BR.d.ts +0 -2
  206. package/es/language/pt-BR.js +0 -874
  207. package/es/language/ru-RU.d.ts +0 -2
  208. package/es/language/ru-RU.js +0 -874
  209. package/es/language/th-TH.d.ts +0 -2
  210. package/es/language/th-TH.js +0 -874
  211. package/es/language/ug-CN.d.ts +0 -2
  212. package/es/language/ug-CN.js +0 -874
  213. package/es/language/uk-UA.d.ts +0 -2
  214. package/es/language/uk-UA.js +0 -874
  215. package/es/language/uz-UZ.d.ts +0 -2
  216. package/es/language/uz-UZ.js +0 -874
  217. package/es/language/vi-VN.d.ts +0 -2
  218. package/es/language/vi-VN.js +0 -874
  219. package/es/language/zh-CHT.d.ts +0 -2
  220. package/es/language/zh-CHT.js +0 -874
  221. package/es/language/zh-CN.d.ts +0 -2
  222. package/es/language/zh-CN.js +0 -874
  223. package/es/language/zh-HK.d.ts +0 -2
  224. package/es/language/zh-HK.js +0 -2
  225. package/es/language/zh-MO.d.ts +0 -2
  226. package/es/language/zh-MO.js +0 -2
  227. package/es/language/zh-TC.js +0 -2
  228. package/es/language/zh-TW.d.ts +0 -2
  229. package/es/language/zh-TW.js +0 -2
  230. package/es/layout-aside/index.js +0 -12
  231. package/es/layout-aside/src/layout-aside.js +0 -111
  232. package/es/layout-aside/style.css +0 -26
  233. package/es/layout-aside/style.min.css +0 -1
  234. package/es/layout-body/index.js +0 -12
  235. package/es/layout-body/src/layout-body.js +0 -127
  236. package/es/layout-body/style.css +0 -16
  237. package/es/layout-body/style.min.css +0 -1
  238. package/es/layout-container/index.js +0 -12
  239. package/es/layout-container/src/layout-container.js +0 -54
  240. package/es/layout-container/style.css +0 -28
  241. package/es/layout-container/style.min.css +0 -1
  242. package/es/layout-footer/index.js +0 -12
  243. package/es/layout-footer/src/layout-footer.js +0 -45
  244. package/es/layout-footer/style.css +0 -14
  245. package/es/layout-footer/style.min.css +0 -1
  246. package/es/layout-header/index.js +0 -12
  247. package/es/layout-header/src/layout-header.js +0 -43
  248. package/es/layout-header/style.css +0 -11
  249. package/es/layout-header/style.min.css +0 -1
  250. package/es/link/index.js +0 -12
  251. package/es/link/src/link.js +0 -137
  252. package/es/link/style.css +0 -111
  253. package/es/link/style.min.css +0 -1
  254. package/es/list/index.js +0 -12
  255. package/es/list/src/list.js +0 -2242
  256. package/es/list/src/store.js +0 -8
  257. package/es/list/src/util.js +0 -8
  258. package/es/list/style.css +0 -379
  259. package/es/list/style.min.css +0 -1
  260. package/es/loading/index.js +0 -27
  261. package/es/loading/src/loading.js +0 -147
  262. package/es/loading/style.css +0 -120
  263. package/es/loading/style.min.css +0 -1
  264. package/es/mention/index.js +0 -12
  265. package/es/mention/src/mention.js +0 -44
  266. package/es/mention/style.css +0 -0
  267. package/es/mention/style.min.css +0 -0
  268. package/es/menu/index.js +0 -12
  269. package/es/menu/src/menu.js +0 -589
  270. package/es/menu/style.css +0 -140
  271. package/es/menu/style.min.css +0 -1
  272. package/es/modal/index.js +0 -130
  273. package/es/modal/src/modal.js +0 -1608
  274. package/es/modal/style.css +0 -415
  275. package/es/modal/style.min.css +0 -1
  276. package/es/notice-bar/index.js +0 -12
  277. package/es/notice-bar/src/notice-bar.js +0 -163
  278. package/es/notice-bar/style.css +0 -78
  279. package/es/notice-bar/style.min.css +0 -1
  280. package/es/number-input/index.js +0 -12
  281. package/es/number-input/src/number-input.js +0 -1201
  282. package/es/number-input/src/util.js +0 -22
  283. package/es/number-input/style.css +0 -274
  284. package/es/number-input/style.min.css +0 -1
  285. package/es/optgroup/index.js +0 -12
  286. package/es/optgroup/style.css +0 -0
  287. package/es/optgroup/style.min.css +0 -0
  288. package/es/option/index.js +0 -12
  289. package/es/option/style.css +0 -0
  290. package/es/option/style.min.css +0 -0
  291. package/es/pager/index.js +0 -12
  292. package/es/pager/src/pager.js +0 -844
  293. package/es/pager/style.css +0 -341
  294. package/es/pager/style.min.css +0 -1
  295. package/es/password-input/index.js +0 -12
  296. package/es/password-input/src/password-input.js +0 -428
  297. package/es/password-input/style.css +0 -598
  298. package/es/password-input/style.min.css +0 -1
  299. package/es/print/index.js +0 -14
  300. package/es/print/src/page-break.js +0 -66
  301. package/es/print/src/print.js +0 -252
  302. package/es/print/src/util.js +0 -261
  303. package/es/print/style.css +0 -4
  304. package/es/print/style.min.css +0 -1
  305. package/es/print-page-break/index.js +0 -10
  306. package/es/print-page-break/style.css +0 -0
  307. package/es/print-page-break/style.min.css +0 -0
  308. package/es/pulldown/index.js +0 -12
  309. package/es/pulldown/src/pulldown.js +0 -502
  310. package/es/pulldown/style.css +0 -109
  311. package/es/pulldown/style.min.css +0 -1
  312. package/es/radio/index.js +0 -12
  313. package/es/radio/src/button.js +0 -265
  314. package/es/radio/src/group.js +0 -258
  315. package/es/radio/src/radio.js +0 -239
  316. package/es/radio/style.css +0 -108
  317. package/es/radio/style.min.css +0 -1
  318. package/es/radio-button/index.js +0 -12
  319. package/es/radio-button/style.css +0 -202
  320. package/es/radio-button/style.min.css +0 -1
  321. package/es/radio-group/index.js +0 -12
  322. package/es/radio-group/style.css +0 -0
  323. package/es/radio-group/style.min.css +0 -0
  324. package/es/rate/index.js +0 -12
  325. package/es/rate/src/rate.js +0 -178
  326. package/es/rate/style.css +0 -54
  327. package/es/rate/style.min.css +0 -1
  328. package/es/result/index.js +0 -12
  329. package/es/result/src/result.js +0 -86
  330. package/es/result/style.css +0 -68
  331. package/es/result/style.min.css +0 -1
  332. package/es/row/index.js +0 -12
  333. package/es/row/src/col.js +0 -115
  334. package/es/row/src/row.js +0 -99
  335. package/es/row/style.css +0 -116
  336. package/es/row/style.min.css +0 -1
  337. package/es/segmented/index.js +0 -12
  338. package/es/segmented/src/segmented.js +0 -255
  339. package/es/segmented/style.css +0 -197
  340. package/es/segmented/style.min.css +0 -1
  341. package/es/select/index.js +0 -12
  342. package/es/select/src/optgroup.js +0 -90
  343. package/es/select/src/option-info.js +0 -16
  344. package/es/select/src/option.js +0 -86
  345. package/es/select/src/select.js +0 -2065
  346. package/es/select/src/util.js +0 -36
  347. package/es/select/style.css +0 -370
  348. package/es/select/style.min.css +0 -1
  349. package/es/slider/index.js +0 -12
  350. package/es/slider/src/slider.js +0 -307
  351. package/es/slider/style.css +0 -143
  352. package/es/slider/style.min.css +0 -1
  353. package/es/split/index.js +0 -12
  354. package/es/split/style.css +0 -295
  355. package/es/split/style.min.css +0 -1
  356. package/es/split-pane/index.js +0 -13
  357. package/es/split-pane/style.css +0 -0
  358. package/es/split-pane/style.min.css +0 -0
  359. package/es/splitter/index.js +0 -12
  360. package/es/splitter/src/splitter-panel.js +0 -149
  361. package/es/splitter/src/splitter.js +0 -1002
  362. package/es/splitter/src/util.js +0 -17
  363. package/es/splitter/style.css +0 -295
  364. package/es/splitter/style.min.css +0 -1
  365. package/es/splitter-panel/index.js +0 -12
  366. package/es/splitter-panel/style.css +0 -0
  367. package/es/splitter-panel/style.min.css +0 -0
  368. package/es/steps/index.js +0 -12
  369. package/es/steps/src/steps.js +0 -49
  370. package/es/steps/style.css +0 -0
  371. package/es/steps/style.min.css +0 -0
  372. package/es/style.css +0 -1
  373. package/es/style.min.css +0 -1
  374. package/es/switch/index.js +0 -12
  375. package/es/switch/src/switch.js +0 -261
  376. package/es/switch/style.css +0 -111
  377. package/es/switch/style.min.css +0 -1
  378. package/es/tab-pane/index.js +0 -12
  379. package/es/tab-pane/style.css +0 -0
  380. package/es/tab-pane/style.min.css +0 -0
  381. package/es/table-select/index.js +0 -12
  382. package/es/table-select/src/table-select.js +0 -839
  383. package/es/table-select/style.css +0 -134
  384. package/es/table-select/style.min.css +0 -1
  385. package/es/table-transfer/index.js +0 -12
  386. package/es/table-transfer/src/table-transfer.js +0 -71
  387. package/es/table-transfer/style.css +0 -0
  388. package/es/table-transfer/style.min.css +0 -0
  389. package/es/tabs/index.js +0 -12
  390. package/es/tabs/src/tab-pane.js +0 -119
  391. package/es/tabs/src/tabs.js +0 -958
  392. package/es/tabs/src/util.js +0 -17
  393. package/es/tabs/style.css +0 -705
  394. package/es/tabs/style.min.css +0 -1
  395. package/es/tag/index.js +0 -12
  396. package/es/tag/src/tag.js +0 -177
  397. package/es/tag/style.css +0 -187
  398. package/es/tag/style.min.css +0 -1
  399. package/es/text/index.js +0 -12
  400. package/es/text/src/text.js +0 -239
  401. package/es/text/style.css +0 -138
  402. package/es/text/style.min.css +0 -1
  403. package/es/text-ellipsis/index.js +0 -12
  404. package/es/text-ellipsis/src/text-ellipsis.js +0 -268
  405. package/es/text-ellipsis/style.css +0 -115
  406. package/es/text-ellipsis/style.min.css +0 -1
  407. package/es/textarea/index.js +0 -12
  408. package/es/textarea/src/textarea.js +0 -456
  409. package/es/textarea/style.css +0 -119
  410. package/es/textarea/style.min.css +0 -1
  411. package/es/timeline/index.js +0 -12
  412. package/es/timeline/src/timeline-item.js +0 -35
  413. package/es/timeline/src/timeline.js +0 -44
  414. package/es/timeline/style.css +0 -0
  415. package/es/timeline/style.min.css +0 -0
  416. package/es/timeline-item/index.js +0 -12
  417. package/es/timeline-item/style.css +0 -0
  418. package/es/timeline-item/style.min.css +0 -0
  419. package/es/tip/index.js +0 -14
  420. package/es/tip/src/tip.js +0 -100
  421. package/es/tip/style.css +0 -107
  422. package/es/tip/style.min.css +0 -1
  423. package/es/tooltip/index.js +0 -12
  424. package/es/tooltip/src/tooltip.js +0 -657
  425. package/es/tooltip/style.css +0 -117
  426. package/es/tooltip/style.min.css +0 -1
  427. package/es/tour/index.js +0 -12
  428. package/es/tour/src/tour.js +0 -44
  429. package/es/tour/style.css +0 -0
  430. package/es/tour/style.min.css +0 -0
  431. package/es/transfer/index.js +0 -12
  432. package/es/transfer/src/transfer.js +0 -86
  433. package/es/transfer/style.css +0 -0
  434. package/es/transfer/style.min.css +0 -0
  435. package/es/tree/index.js +0 -12
  436. package/es/tree/src/store.js +0 -8
  437. package/es/tree/src/tree.js +0 -3699
  438. package/es/tree/src/util.js +0 -46
  439. package/es/tree/style.css +0 -385
  440. package/es/tree/style.min.css +0 -1
  441. package/es/tree-select/index.js +0 -12
  442. package/es/tree-select/src/tree-select.js +0 -1160
  443. package/es/tree-select/style.css +0 -194
  444. package/es/tree-select/style.min.css +0 -1
  445. package/es/ui/index.js +0 -695
  446. package/es/ui/src/anime.js +0 -46
  447. package/es/ui/src/comp.js +0 -1
  448. package/es/ui/src/dom.js +0 -255
  449. package/es/ui/src/log.js +0 -15
  450. package/es/ui/src/utils.js +0 -52
  451. package/es/ui/src/vn.js +0 -51
  452. package/es/ui/style.css +0 -0
  453. package/es/ui/style.min.css +0 -0
  454. package/es/upload/index.js +0 -15
  455. package/es/upload/src/upload.js +0 -2078
  456. package/es/upload/src/util.js +0 -103
  457. package/es/upload/style.css +0 -483
  458. package/es/upload/style.min.css +0 -1
  459. package/es/vxe-alert/index.js +0 -3
  460. package/es/vxe-alert/style.css +0 -129
  461. package/es/vxe-alert/style.min.css +0 -1
  462. package/es/vxe-anchor/index.js +0 -3
  463. package/es/vxe-anchor/style.css +0 -42
  464. package/es/vxe-anchor/style.min.css +0 -1
  465. package/es/vxe-anchor-link/index.js +0 -3
  466. package/es/vxe-anchor-link/style.css +0 -0
  467. package/es/vxe-anchor-link/style.min.css +0 -0
  468. package/es/vxe-avatar/index.js +0 -3
  469. package/es/vxe-avatar/style.css +0 -98
  470. package/es/vxe-avatar/style.min.css +0 -1
  471. package/es/vxe-backtop/index.js +0 -3
  472. package/es/vxe-backtop/style.css +0 -72
  473. package/es/vxe-backtop/style.min.css +0 -1
  474. package/es/vxe-badge/index.js +0 -3
  475. package/es/vxe-badge/style.css +0 -42
  476. package/es/vxe-badge/style.min.css +0 -1
  477. package/es/vxe-breadcrumb/index.js +0 -3
  478. package/es/vxe-breadcrumb/style.css +0 -33
  479. package/es/vxe-breadcrumb/style.min.css +0 -1
  480. package/es/vxe-breadcrumb-item/index.js +0 -3
  481. package/es/vxe-breadcrumb-item/style.css +0 -0
  482. package/es/vxe-breadcrumb-item/style.min.css +0 -0
  483. package/es/vxe-button/index.js +0 -3
  484. package/es/vxe-button/style.css +0 -638
  485. package/es/vxe-button/style.min.css +0 -1
  486. package/es/vxe-button-group/index.js +0 -3
  487. package/es/vxe-button-group/style.css +0 -27
  488. package/es/vxe-button-group/style.min.css +0 -1
  489. package/es/vxe-calendar/index.js +0 -3
  490. package/es/vxe-calendar/style.css +0 -350
  491. package/es/vxe-calendar/style.min.css +0 -1
  492. package/es/vxe-card/index.js +0 -3
  493. package/es/vxe-card/style.css +0 -107
  494. package/es/vxe-card/style.min.css +0 -1
  495. package/es/vxe-carousel/index.js +0 -3
  496. package/es/vxe-carousel/style.css +0 -185
  497. package/es/vxe-carousel/style.min.css +0 -1
  498. package/es/vxe-carousel-item/index.js +0 -3
  499. package/es/vxe-carousel-item/style.css +0 -0
  500. package/es/vxe-carousel-item/style.min.css +0 -0
  501. package/es/vxe-cascader/index.js +0 -3
  502. package/es/vxe-cascader/style.css +0 -346
  503. package/es/vxe-cascader/style.min.css +0 -1
  504. package/es/vxe-checkbox/index.js +0 -3
  505. package/es/vxe-checkbox/style.css +0 -113
  506. package/es/vxe-checkbox/style.min.css +0 -1
  507. package/es/vxe-checkbox-button/index.js +0 -3
  508. package/es/vxe-checkbox-button/style.css +0 -202
  509. package/es/vxe-checkbox-button/style.min.css +0 -1
  510. package/es/vxe-checkbox-group/index.js +0 -3
  511. package/es/vxe-checkbox-group/style.css +0 -0
  512. package/es/vxe-checkbox-group/style.min.css +0 -0
  513. package/es/vxe-col/index.js +0 -3
  514. package/es/vxe-col/style.css +0 -0
  515. package/es/vxe-col/style.min.css +0 -0
  516. package/es/vxe-collapse/index.js +0 -3
  517. package/es/vxe-collapse/style.css +0 -83
  518. package/es/vxe-collapse/style.min.css +0 -1
  519. package/es/vxe-collapse-pane/index.js +0 -3
  520. package/es/vxe-collapse-pane/style.css +0 -0
  521. package/es/vxe-collapse-pane/style.min.css +0 -0
  522. package/es/vxe-color-picker/index.js +0 -3
  523. package/es/vxe-color-picker/style.css +0 -485
  524. package/es/vxe-color-picker/style.min.css +0 -1
  525. package/es/vxe-context-menu/index.js +0 -3
  526. package/es/vxe-context-menu/style.css +0 -109
  527. package/es/vxe-context-menu/style.min.css +0 -1
  528. package/es/vxe-countdown/index.js +0 -3
  529. package/es/vxe-countdown/style.css +0 -38
  530. package/es/vxe-countdown/style.min.css +0 -1
  531. package/es/vxe-date-panel/index.js +0 -3
  532. package/es/vxe-date-panel/style.css +0 -453
  533. package/es/vxe-date-panel/style.min.css +0 -1
  534. package/es/vxe-date-picker/index.js +0 -3
  535. package/es/vxe-date-picker/style.css +0 -283
  536. package/es/vxe-date-picker/style.min.css +0 -1
  537. package/es/vxe-date-range-picker/index.js +0 -3
  538. package/es/vxe-date-range-picker/style.css +0 -289
  539. package/es/vxe-date-range-picker/style.min.css +0 -1
  540. package/es/vxe-drawer/index.js +0 -3
  541. package/es/vxe-drawer/style.css +0 -270
  542. package/es/vxe-drawer/style.min.css +0 -1
  543. package/es/vxe-empty/index.js +0 -3
  544. package/es/vxe-empty/style.css +0 -54
  545. package/es/vxe-empty/style.min.css +0 -1
  546. package/es/vxe-form/index.js +0 -3
  547. package/es/vxe-form/style.css +0 -621
  548. package/es/vxe-form/style.min.css +0 -1
  549. package/es/vxe-form-gather/index.js +0 -3
  550. package/es/vxe-form-gather/style.css +0 -0
  551. package/es/vxe-form-gather/style.min.css +0 -0
  552. package/es/vxe-form-group/index.js +0 -3
  553. package/es/vxe-form-group/style.css +0 -0
  554. package/es/vxe-form-group/style.min.css +0 -0
  555. package/es/vxe-form-item/index.js +0 -3
  556. package/es/vxe-form-item/style.css +0 -0
  557. package/es/vxe-form-item/style.min.css +0 -0
  558. package/es/vxe-icon/index.js +0 -3
  559. package/es/vxe-icon/style.css +0 -1034
  560. package/es/vxe-icon/style.min.css +0 -1
  561. package/es/vxe-icon-picker/index.js +0 -3
  562. package/es/vxe-icon-picker/style.css +0 -242
  563. package/es/vxe-icon-picker/style.min.css +0 -1
  564. package/es/vxe-image/index.js +0 -3
  565. package/es/vxe-image/style.css +0 -17
  566. package/es/vxe-image/style.min.css +0 -1
  567. package/es/vxe-image-group/index.js +0 -3
  568. package/es/vxe-image-group/style.css +0 -3
  569. package/es/vxe-image-group/style.min.css +0 -1
  570. package/es/vxe-image-preview/index.js +0 -3
  571. package/es/vxe-image-preview/style.css +0 -218
  572. package/es/vxe-image-preview/style.min.css +0 -1
  573. package/es/vxe-input/index.js +0 -3
  574. package/es/vxe-input/style.css +0 -1025
  575. package/es/vxe-input/style.min.css +0 -1
  576. package/es/vxe-layout-aside/index.js +0 -3
  577. package/es/vxe-layout-aside/style.css +0 -26
  578. package/es/vxe-layout-aside/style.min.css +0 -1
  579. package/es/vxe-layout-body/index.js +0 -3
  580. package/es/vxe-layout-body/style.css +0 -16
  581. package/es/vxe-layout-body/style.min.css +0 -1
  582. package/es/vxe-layout-container/index.js +0 -3
  583. package/es/vxe-layout-container/style.css +0 -28
  584. package/es/vxe-layout-container/style.min.css +0 -1
  585. package/es/vxe-layout-footer/index.js +0 -3
  586. package/es/vxe-layout-footer/style.css +0 -14
  587. package/es/vxe-layout-footer/style.min.css +0 -1
  588. package/es/vxe-layout-header/index.js +0 -3
  589. package/es/vxe-layout-header/style.css +0 -11
  590. package/es/vxe-layout-header/style.min.css +0 -1
  591. package/es/vxe-link/index.js +0 -3
  592. package/es/vxe-link/style.css +0 -111
  593. package/es/vxe-link/style.min.css +0 -1
  594. package/es/vxe-list/index.js +0 -3
  595. package/es/vxe-list/style.css +0 -379
  596. package/es/vxe-list/style.min.css +0 -1
  597. package/es/vxe-loading/index.js +0 -3
  598. package/es/vxe-loading/style.css +0 -120
  599. package/es/vxe-loading/style.min.css +0 -1
  600. package/es/vxe-mention/index.js +0 -3
  601. package/es/vxe-mention/style.css +0 -0
  602. package/es/vxe-mention/style.min.css +0 -0
  603. package/es/vxe-menu/index.js +0 -3
  604. package/es/vxe-menu/style.css +0 -140
  605. package/es/vxe-menu/style.min.css +0 -1
  606. package/es/vxe-modal/index.js +0 -3
  607. package/es/vxe-modal/style.css +0 -415
  608. package/es/vxe-modal/style.min.css +0 -1
  609. package/es/vxe-notice-bar/index.js +0 -3
  610. package/es/vxe-notice-bar/style.css +0 -78
  611. package/es/vxe-notice-bar/style.min.css +0 -1
  612. package/es/vxe-number-input/index.js +0 -3
  613. package/es/vxe-number-input/style.css +0 -274
  614. package/es/vxe-number-input/style.min.css +0 -1
  615. package/es/vxe-optgroup/index.js +0 -3
  616. package/es/vxe-optgroup/style.css +0 -0
  617. package/es/vxe-optgroup/style.min.css +0 -0
  618. package/es/vxe-option/index.js +0 -3
  619. package/es/vxe-option/style.css +0 -0
  620. package/es/vxe-option/style.min.css +0 -0
  621. package/es/vxe-pager/index.js +0 -3
  622. package/es/vxe-pager/style.css +0 -341
  623. package/es/vxe-pager/style.min.css +0 -1
  624. package/es/vxe-password-input/index.js +0 -3
  625. package/es/vxe-password-input/style.css +0 -598
  626. package/es/vxe-password-input/style.min.css +0 -1
  627. package/es/vxe-print/index.js +0 -3
  628. package/es/vxe-print/style.css +0 -4
  629. package/es/vxe-print/style.min.css +0 -1
  630. package/es/vxe-print-page-break/index.js +0 -3
  631. package/es/vxe-print-page-break/style.css +0 -0
  632. package/es/vxe-print-page-break/style.min.css +0 -0
  633. package/es/vxe-pulldown/index.js +0 -3
  634. package/es/vxe-pulldown/style.css +0 -109
  635. package/es/vxe-pulldown/style.min.css +0 -1
  636. package/es/vxe-radio/index.js +0 -3
  637. package/es/vxe-radio/style.css +0 -108
  638. package/es/vxe-radio/style.min.css +0 -1
  639. package/es/vxe-radio-button/index.js +0 -3
  640. package/es/vxe-radio-button/style.css +0 -202
  641. package/es/vxe-radio-button/style.min.css +0 -1
  642. package/es/vxe-radio-group/index.js +0 -3
  643. package/es/vxe-radio-group/style.css +0 -0
  644. package/es/vxe-radio-group/style.min.css +0 -0
  645. package/es/vxe-rate/index.js +0 -3
  646. package/es/vxe-rate/style.css +0 -54
  647. package/es/vxe-rate/style.min.css +0 -1
  648. package/es/vxe-result/index.js +0 -3
  649. package/es/vxe-result/style.css +0 -68
  650. package/es/vxe-result/style.min.css +0 -1
  651. package/es/vxe-row/index.js +0 -3
  652. package/es/vxe-row/style.css +0 -116
  653. package/es/vxe-row/style.min.css +0 -1
  654. package/es/vxe-segmented/index.js +0 -3
  655. package/es/vxe-segmented/style.css +0 -197
  656. package/es/vxe-segmented/style.min.css +0 -1
  657. package/es/vxe-select/index.js +0 -3
  658. package/es/vxe-select/style.css +0 -370
  659. package/es/vxe-select/style.min.css +0 -1
  660. package/es/vxe-slider/index.js +0 -3
  661. package/es/vxe-slider/style.css +0 -143
  662. package/es/vxe-slider/style.min.css +0 -1
  663. package/es/vxe-split/index.js +0 -3
  664. package/es/vxe-split/style.css +0 -295
  665. package/es/vxe-split/style.min.css +0 -1
  666. package/es/vxe-split-pane/index.js +0 -3
  667. package/es/vxe-split-pane/style.css +0 -0
  668. package/es/vxe-split-pane/style.min.css +0 -0
  669. package/es/vxe-splitter/index.js +0 -3
  670. package/es/vxe-splitter/style.css +0 -295
  671. package/es/vxe-splitter/style.min.css +0 -1
  672. package/es/vxe-splitter-panel/index.js +0 -3
  673. package/es/vxe-splitter-panel/style.css +0 -0
  674. package/es/vxe-splitter-panel/style.min.css +0 -0
  675. package/es/vxe-steps/index.js +0 -3
  676. package/es/vxe-steps/style.css +0 -0
  677. package/es/vxe-steps/style.min.css +0 -0
  678. package/es/vxe-switch/index.js +0 -3
  679. package/es/vxe-switch/style.css +0 -111
  680. package/es/vxe-switch/style.min.css +0 -1
  681. package/es/vxe-tab-pane/index.js +0 -3
  682. package/es/vxe-tab-pane/style.css +0 -0
  683. package/es/vxe-tab-pane/style.min.css +0 -0
  684. package/es/vxe-table-select/index.js +0 -3
  685. package/es/vxe-table-select/style.css +0 -134
  686. package/es/vxe-table-select/style.min.css +0 -1
  687. package/es/vxe-table-transfer/index.js +0 -3
  688. package/es/vxe-table-transfer/style.css +0 -0
  689. package/es/vxe-table-transfer/style.min.css +0 -0
  690. package/es/vxe-tabs/index.js +0 -3
  691. package/es/vxe-tabs/style.css +0 -705
  692. package/es/vxe-tabs/style.min.css +0 -1
  693. package/es/vxe-tag/index.js +0 -3
  694. package/es/vxe-tag/style.css +0 -187
  695. package/es/vxe-tag/style.min.css +0 -1
  696. package/es/vxe-text/index.js +0 -3
  697. package/es/vxe-text/style.css +0 -138
  698. package/es/vxe-text/style.min.css +0 -1
  699. package/es/vxe-text-ellipsis/index.js +0 -3
  700. package/es/vxe-text-ellipsis/style.css +0 -115
  701. package/es/vxe-text-ellipsis/style.min.css +0 -1
  702. package/es/vxe-textarea/index.js +0 -3
  703. package/es/vxe-textarea/style.css +0 -119
  704. package/es/vxe-textarea/style.min.css +0 -1
  705. package/es/vxe-timeline/index.js +0 -3
  706. package/es/vxe-timeline/style.css +0 -0
  707. package/es/vxe-timeline/style.min.css +0 -0
  708. package/es/vxe-timeline-item/index.js +0 -3
  709. package/es/vxe-timeline-item/style.css +0 -0
  710. package/es/vxe-timeline-item/style.min.css +0 -0
  711. package/es/vxe-tip/index.js +0 -3
  712. package/es/vxe-tip/style.css +0 -107
  713. package/es/vxe-tip/style.min.css +0 -1
  714. package/es/vxe-tooltip/index.js +0 -3
  715. package/es/vxe-tooltip/style.css +0 -117
  716. package/es/vxe-tooltip/style.min.css +0 -1
  717. package/es/vxe-tour/index.js +0 -3
  718. package/es/vxe-tour/style.css +0 -0
  719. package/es/vxe-tour/style.min.css +0 -0
  720. package/es/vxe-transfer/index.js +0 -3
  721. package/es/vxe-transfer/style.css +0 -0
  722. package/es/vxe-transfer/style.min.css +0 -0
  723. package/es/vxe-tree/index.js +0 -3
  724. package/es/vxe-tree/style.css +0 -385
  725. package/es/vxe-tree/style.min.css +0 -1
  726. package/es/vxe-tree-select/index.js +0 -3
  727. package/es/vxe-tree-select/style.css +0 -194
  728. package/es/vxe-tree-select/style.min.css +0 -1
  729. package/es/vxe-u-i/index.js +0 -3
  730. package/es/vxe-ui/index.js +0 -3
  731. package/es/vxe-ui/style.css +0 -0
  732. package/es/vxe-ui/style.min.css +0 -0
  733. package/es/vxe-upload/index.js +0 -3
  734. package/es/vxe-upload/style.css +0 -483
  735. package/es/vxe-upload/style.min.css +0 -1
  736. package/es/vxe-watermark/index.js +0 -3
  737. package/es/vxe-watermark/style.css +0 -30
  738. package/es/vxe-watermark/style.min.css +0 -1
  739. package/es/watermark/index.js +0 -24
  740. package/es/watermark/src/util.js +0 -149
  741. package/es/watermark/src/watermark.js +0 -148
  742. package/es/watermark/style.css +0 -30
  743. package/es/watermark/style.min.css +0 -1
  744. package/lib/alert/index.js +0 -19
  745. package/lib/alert/index.min.js +0 -1
  746. package/lib/alert/src/alert.js +0 -101
  747. package/lib/alert/src/alert.min.js +0 -1
  748. package/lib/alert/style/index.js +0 -1
  749. package/lib/alert/style/style.css +0 -129
  750. package/lib/alert/style/style.min.css +0 -1
  751. package/lib/anchor/index.js +0 -19
  752. package/lib/anchor/index.min.js +0 -1
  753. package/lib/anchor/src/anchor-link.js +0 -146
  754. package/lib/anchor/src/anchor-link.min.js +0 -1
  755. package/lib/anchor/src/anchor.js +0 -263
  756. package/lib/anchor/src/anchor.min.js +0 -1
  757. package/lib/anchor/src/util.js +0 -31
  758. package/lib/anchor/src/util.min.js +0 -1
  759. package/lib/anchor/style/index.js +0 -1
  760. package/lib/anchor/style/style.css +0 -42
  761. package/lib/anchor/style/style.min.css +0 -1
  762. package/lib/anchor-link/index.js +0 -19
  763. package/lib/anchor-link/index.min.js +0 -1
  764. package/lib/anchor-link/style/index.js +0 -1
  765. package/lib/anchor-link/style/style.css +0 -0
  766. package/lib/anchor-link/style/style.min.css +0 -0
  767. package/lib/avatar/index.js +0 -19
  768. package/lib/avatar/index.min.js +0 -1
  769. package/lib/avatar/src/avatar.js +0 -139
  770. package/lib/avatar/src/avatar.min.js +0 -1
  771. package/lib/avatar/style/index.js +0 -1
  772. package/lib/avatar/style/style.css +0 -98
  773. package/lib/avatar/style/style.min.css +0 -1
  774. package/lib/backtop/index.js +0 -19
  775. package/lib/backtop/index.min.js +0 -1
  776. package/lib/backtop/src/backtop.js +0 -347
  777. package/lib/backtop/src/backtop.min.js +0 -1
  778. package/lib/backtop/style/index.js +0 -1
  779. package/lib/backtop/style/style.css +0 -72
  780. package/lib/backtop/style/style.min.css +0 -1
  781. package/lib/badge/index.js +0 -19
  782. package/lib/badge/index.min.js +0 -1
  783. package/lib/badge/src/badge.js +0 -81
  784. package/lib/badge/src/badge.min.js +0 -1
  785. package/lib/badge/style/index.js +0 -1
  786. package/lib/badge/style/style.css +0 -42
  787. package/lib/badge/style/style.min.css +0 -1
  788. package/lib/breadcrumb/index.js +0 -19
  789. package/lib/breadcrumb/index.min.js +0 -1
  790. package/lib/breadcrumb/src/breadcrumb-item.js +0 -102
  791. package/lib/breadcrumb/src/breadcrumb-item.min.js +0 -1
  792. package/lib/breadcrumb/src/breadcrumb.js +0 -88
  793. package/lib/breadcrumb/src/breadcrumb.min.js +0 -1
  794. package/lib/breadcrumb/style/index.js +0 -1
  795. package/lib/breadcrumb/style/style.css +0 -33
  796. package/lib/breadcrumb/style/style.min.css +0 -1
  797. package/lib/breadcrumb-item/index.js +0 -19
  798. package/lib/breadcrumb-item/index.min.js +0 -1
  799. package/lib/breadcrumb-item/style/index.js +0 -1
  800. package/lib/breadcrumb-item/style/style.css +0 -0
  801. package/lib/breadcrumb-item/style/style.min.css +0 -0
  802. package/lib/button/index.js +0 -19
  803. package/lib/button/index.min.js +0 -1
  804. package/lib/button/src/button-group.js +0 -110
  805. package/lib/button/src/button-group.min.js +0 -1
  806. package/lib/button/src/button.js +0 -874
  807. package/lib/button/src/button.min.js +0 -1
  808. package/lib/button/style/index.js +0 -1
  809. package/lib/button/style/style.css +0 -638
  810. package/lib/button/style/style.min.css +0 -1
  811. package/lib/button-group/index.js +0 -19
  812. package/lib/button-group/index.min.js +0 -1
  813. package/lib/button-group/style/index.js +0 -1
  814. package/lib/button-group/style/style.css +0 -27
  815. package/lib/button-group/style/style.min.css +0 -1
  816. package/lib/calendar/index.js +0 -19
  817. package/lib/calendar/index.min.js +0 -1
  818. package/lib/calendar/src/calendar.js +0 -1563
  819. package/lib/calendar/src/calendar.min.js +0 -1
  820. package/lib/calendar/style/index.js +0 -1
  821. package/lib/calendar/style/style.css +0 -350
  822. package/lib/calendar/style/style.min.css +0 -1
  823. package/lib/card/index.js +0 -19
  824. package/lib/card/index.min.js +0 -1
  825. package/lib/card/src/card.js +0 -151
  826. package/lib/card/src/card.min.js +0 -1
  827. package/lib/card/style/index.js +0 -1
  828. package/lib/card/style/style.css +0 -107
  829. package/lib/card/style/style.min.css +0 -1
  830. package/lib/carousel/index.js +0 -19
  831. package/lib/carousel/index.min.js +0 -1
  832. package/lib/carousel/src/carousel-item.js +0 -110
  833. package/lib/carousel/src/carousel-item.min.js +0 -1
  834. package/lib/carousel/src/carousel.js +0 -448
  835. package/lib/carousel/src/carousel.min.js +0 -1
  836. package/lib/carousel/src/util.js +0 -27
  837. package/lib/carousel/src/util.min.js +0 -1
  838. package/lib/carousel/style/index.js +0 -1
  839. package/lib/carousel/style/style.css +0 -185
  840. package/lib/carousel/style/style.min.css +0 -1
  841. package/lib/carousel-item/index.js +0 -19
  842. package/lib/carousel-item/index.min.js +0 -1
  843. package/lib/carousel-item/style/index.js +0 -1
  844. package/lib/carousel-item/style/style.css +0 -0
  845. package/lib/carousel-item/style/style.min.css +0 -0
  846. package/lib/cascader/index.js +0 -19
  847. package/lib/cascader/index.min.js +0 -1
  848. package/lib/cascader/src/cascader.js +0 -2099
  849. package/lib/cascader/src/cascader.min.js +0 -1
  850. package/lib/cascader/src/util.js +0 -15
  851. package/lib/cascader/src/util.min.js +0 -1
  852. package/lib/cascader/style/index.js +0 -1
  853. package/lib/cascader/style/style.css +0 -346
  854. package/lib/cascader/style/style.min.css +0 -1
  855. package/lib/checkbox/index.js +0 -19
  856. package/lib/checkbox/index.min.js +0 -1
  857. package/lib/checkbox/src/button.js +0 -239
  858. package/lib/checkbox/src/button.min.js +0 -1
  859. package/lib/checkbox/src/checkbox.js +0 -227
  860. package/lib/checkbox/src/checkbox.min.js +0 -1
  861. package/lib/checkbox/src/group.js +0 -300
  862. package/lib/checkbox/src/group.min.js +0 -1
  863. package/lib/checkbox/style/index.js +0 -1
  864. package/lib/checkbox/style/style.css +0 -113
  865. package/lib/checkbox/style/style.min.css +0 -1
  866. package/lib/checkbox-button/index.js +0 -19
  867. package/lib/checkbox-button/index.min.js +0 -1
  868. package/lib/checkbox-button/style/index.js +0 -1
  869. package/lib/checkbox-button/style/style.css +0 -202
  870. package/lib/checkbox-button/style/style.min.css +0 -1
  871. package/lib/checkbox-group/index.js +0 -19
  872. package/lib/checkbox-group/index.min.js +0 -1
  873. package/lib/checkbox-group/style/index.js +0 -1
  874. package/lib/checkbox-group/style/style.css +0 -0
  875. package/lib/checkbox-group/style/style.min.css +0 -0
  876. package/lib/col/index.js +0 -19
  877. package/lib/col/index.min.js +0 -1
  878. package/lib/col/style/index.js +0 -1
  879. package/lib/col/style/style.css +0 -0
  880. package/lib/col/style/style.min.css +0 -0
  881. package/lib/collapse/index.js +0 -19
  882. package/lib/collapse/index.min.js +0 -1
  883. package/lib/collapse/src/collapse-pane.js +0 -126
  884. package/lib/collapse/src/collapse-pane.min.js +0 -1
  885. package/lib/collapse/src/collapse.js +0 -377
  886. package/lib/collapse/src/collapse.min.js +0 -1
  887. package/lib/collapse/src/util.js +0 -29
  888. package/lib/collapse/src/util.min.js +0 -1
  889. package/lib/collapse/style/index.js +0 -1
  890. package/lib/collapse/style/style.css +0 -83
  891. package/lib/collapse/style/style.min.css +0 -1
  892. package/lib/collapse-pane/index.js +0 -19
  893. package/lib/collapse-pane/index.min.js +0 -1
  894. package/lib/collapse-pane/style/index.js +0 -1
  895. package/lib/collapse-pane/style/style.css +0 -0
  896. package/lib/collapse-pane/style/style.min.css +0 -0
  897. package/lib/color-picker/index.js +0 -19
  898. package/lib/color-picker/index.min.js +0 -1
  899. package/lib/color-picker/src/color-picker.js +0 -1180
  900. package/lib/color-picker/src/color-picker.min.js +0 -1
  901. package/lib/color-picker/src/util.js +0 -215
  902. package/lib/color-picker/src/util.min.js +0 -1
  903. package/lib/color-picker/style/index.js +0 -1
  904. package/lib/color-picker/style/style.css +0 -485
  905. package/lib/color-picker/style/style.min.css +0 -1
  906. package/lib/components.js +0 -1154
  907. package/lib/components.min.js +0 -1
  908. package/lib/context-menu/index.js +0 -56
  909. package/lib/context-menu/index.min.js +0 -1
  910. package/lib/context-menu/src/context-menu.js +0 -682
  911. package/lib/context-menu/src/context-menu.min.js +0 -1
  912. package/lib/context-menu/style/index.js +0 -1
  913. package/lib/context-menu/style/style.css +0 -109
  914. package/lib/context-menu/style/style.min.css +0 -1
  915. package/lib/countdown/index.js +0 -19
  916. package/lib/countdown/index.min.js +0 -1
  917. package/lib/countdown/src/countdown.js +0 -251
  918. package/lib/countdown/src/countdown.min.js +0 -1
  919. package/lib/countdown/style/index.js +0 -1
  920. package/lib/countdown/style/style.css +0 -38
  921. package/lib/countdown/style/style.min.css +0 -1
  922. package/lib/date-panel/index.js +0 -19
  923. package/lib/date-panel/index.min.js +0 -1
  924. package/lib/date-panel/src/date-panel.js +0 -2132
  925. package/lib/date-panel/src/date-panel.min.js +0 -1
  926. package/lib/date-panel/src/util.js +0 -327
  927. package/lib/date-panel/src/util.min.js +0 -1
  928. package/lib/date-panel/style/index.js +0 -1
  929. package/lib/date-panel/style/style.css +0 -453
  930. package/lib/date-panel/style/style.min.css +0 -1
  931. package/lib/date-picker/index.js +0 -20
  932. package/lib/date-picker/index.min.js +0 -1
  933. package/lib/date-picker/src/date-picker.js +0 -1878
  934. package/lib/date-picker/src/date-picker.min.js +0 -1
  935. package/lib/date-picker/style/index.js +0 -1
  936. package/lib/date-picker/style/style.css +0 -283
  937. package/lib/date-picker/style/style.min.css +0 -1
  938. package/lib/date-range-picker/index.js +0 -19
  939. package/lib/date-range-picker/index.min.js +0 -1
  940. package/lib/date-range-picker/src/date-range-picker.js +0 -1722
  941. package/lib/date-range-picker/src/date-range-picker.min.js +0 -1
  942. package/lib/date-range-picker/style/index.js +0 -1
  943. package/lib/date-range-picker/style/style.css +0 -289
  944. package/lib/date-range-picker/style/style.min.css +0 -1
  945. package/lib/drawer/index.js +0 -84
  946. package/lib/drawer/index.min.js +0 -1
  947. package/lib/drawer/src/drawer.js +0 -801
  948. package/lib/drawer/src/drawer.min.js +0 -1
  949. package/lib/drawer/style/index.js +0 -1
  950. package/lib/drawer/style/style.css +0 -270
  951. package/lib/drawer/style/style.min.css +0 -1
  952. package/lib/dynamics/index.js +0 -110
  953. package/lib/dynamics/index.min.js +0 -1
  954. package/lib/empty/index.js +0 -19
  955. package/lib/empty/index.min.js +0 -1
  956. package/lib/empty/src/empty.js +0 -78
  957. package/lib/empty/src/empty.min.js +0 -1
  958. package/lib/empty/style/index.js +0 -1
  959. package/lib/empty/style/style.css +0 -54
  960. package/lib/empty/style/style.min.css +0 -1
  961. package/lib/form/index.js +0 -19
  962. package/lib/form/index.min.js +0 -1
  963. package/lib/form/render/index.js +0 -650
  964. package/lib/form/render/index.min.js +0 -1
  965. package/lib/form/src/form-config-item.js +0 -87
  966. package/lib/form/src/form-config-item.min.js +0 -1
  967. package/lib/form/src/form-group.js +0 -125
  968. package/lib/form/src/form-group.min.js +0 -1
  969. package/lib/form/src/form-item.js +0 -211
  970. package/lib/form/src/form-item.min.js +0 -1
  971. package/lib/form/src/form.js +0 -1130
  972. package/lib/form/src/form.min.js +0 -1
  973. package/lib/form/src/itemInfo.js +0 -95
  974. package/lib/form/src/itemInfo.min.js +0 -1
  975. package/lib/form/src/render.js +0 -406
  976. package/lib/form/src/render.min.js +0 -1
  977. package/lib/form/src/util.js +0 -106
  978. package/lib/form/src/util.min.js +0 -1
  979. package/lib/form/style/index.js +0 -1
  980. package/lib/form/style/style.css +0 -621
  981. package/lib/form/style/style.min.css +0 -1
  982. package/lib/form-gather/index.js +0 -22
  983. package/lib/form-gather/index.min.js +0 -1
  984. package/lib/form-gather/style/index.js +0 -1
  985. package/lib/form-gather/style/style.css +0 -0
  986. package/lib/form-gather/style/style.min.css +0 -0
  987. package/lib/form-group/index.js +0 -19
  988. package/lib/form-group/index.min.js +0 -1
  989. package/lib/form-group/style/index.js +0 -1
  990. package/lib/form-group/style/style.css +0 -0
  991. package/lib/form-group/style/style.min.css +0 -0
  992. package/lib/form-item/index.js +0 -19
  993. package/lib/form-item/index.min.js +0 -1
  994. package/lib/form-item/style/index.js +0 -1
  995. package/lib/form-item/style/style.css +0 -0
  996. package/lib/form-item/style/style.min.css +0 -0
  997. package/lib/icon/index.js +0 -19
  998. package/lib/icon/index.min.js +0 -1
  999. package/lib/icon/src/icon.js +0 -75
  1000. package/lib/icon/src/icon.min.js +0 -1
  1001. package/lib/icon/style/iconfont.1783330454578.ttf +0 -0
  1002. package/lib/icon/style/iconfont.1783330454578.woff +0 -0
  1003. package/lib/icon/style/iconfont.1783330454578.woff2 +0 -0
  1004. package/lib/icon/style/index.js +0 -1
  1005. package/lib/icon/style/style.css +0 -1034
  1006. package/lib/icon/style/style.min.css +0 -1034
  1007. package/lib/icon-picker/index.js +0 -19
  1008. package/lib/icon-picker/index.min.js +0 -1
  1009. package/lib/icon-picker/src/icon-picker.js +0 -829
  1010. package/lib/icon-picker/src/icon-picker.min.js +0 -1
  1011. package/lib/icon-picker/style/index.js +0 -1
  1012. package/lib/icon-picker/style/style.css +0 -242
  1013. package/lib/icon-picker/style/style.min.css +0 -1
  1014. package/lib/iconfont.1783330454578.ttf +0 -0
  1015. package/lib/iconfont.1783330454578.woff +0 -0
  1016. package/lib/iconfont.1783330454578.woff2 +0 -0
  1017. package/lib/image/index.js +0 -19
  1018. package/lib/image/index.min.js +0 -1
  1019. package/lib/image/src/group.js +0 -171
  1020. package/lib/image/src/group.min.js +0 -1
  1021. package/lib/image/src/image.js +0 -317
  1022. package/lib/image/src/image.min.js +0 -1
  1023. package/lib/image/src/preview.js +0 -683
  1024. package/lib/image/src/preview.min.js +0 -1
  1025. package/lib/image/src/util.js +0 -70
  1026. package/lib/image/src/util.min.js +0 -1
  1027. package/lib/image/style/index.js +0 -1
  1028. package/lib/image/style/style.css +0 -17
  1029. package/lib/image/style/style.min.css +0 -1
  1030. package/lib/image-group/index.js +0 -19
  1031. package/lib/image-group/index.min.js +0 -1
  1032. package/lib/image-group/style/index.js +0 -1
  1033. package/lib/image-group/style/style.css +0 -3
  1034. package/lib/image-group/style/style.min.css +0 -1
  1035. package/lib/image-preview/index.js +0 -21
  1036. package/lib/image-preview/index.min.js +0 -1
  1037. package/lib/image-preview/style/index.js +0 -1
  1038. package/lib/image-preview/style/style.css +0 -218
  1039. package/lib/image-preview/style/style.min.css +0 -1
  1040. package/lib/index.common.js +0 -25
  1041. package/lib/index.umd.js +0 -70067
  1042. package/lib/index.umd.min.js +0 -1
  1043. package/lib/input/index.js +0 -19
  1044. package/lib/input/index.min.js +0 -1
  1045. package/lib/input/src/input.js +0 -3098
  1046. package/lib/input/src/input.min.js +0 -1
  1047. package/lib/input/style/index.js +0 -1
  1048. package/lib/input/style/style.css +0 -1025
  1049. package/lib/input/style/style.min.css +0 -1
  1050. package/lib/language/ar-EG.d.ts +0 -2
  1051. package/lib/language/ar-EG.js +0 -880
  1052. package/lib/language/ar-EG.min.js +0 -1
  1053. package/lib/language/ar-EG.umd.js +0 -894
  1054. package/lib/language/de-DE.d.ts +0 -2
  1055. package/lib/language/de-DE.js +0 -880
  1056. package/lib/language/de-DE.min.js +0 -1
  1057. package/lib/language/de-DE.umd.js +0 -894
  1058. package/lib/language/en-US.d.ts +0 -2
  1059. package/lib/language/en-US.js +0 -880
  1060. package/lib/language/en-US.min.js +0 -1
  1061. package/lib/language/en-US.umd.js +0 -894
  1062. package/lib/language/es-ES.d.ts +0 -2
  1063. package/lib/language/es-ES.js +0 -880
  1064. package/lib/language/es-ES.min.js +0 -1
  1065. package/lib/language/es-ES.umd.js +0 -894
  1066. package/lib/language/fr-FR.d.ts +0 -2
  1067. package/lib/language/fr-FR.js +0 -880
  1068. package/lib/language/fr-FR.min.js +0 -1
  1069. package/lib/language/fr-FR.umd.js +0 -894
  1070. package/lib/language/hu-HU.d.ts +0 -2
  1071. package/lib/language/hu-HU.js +0 -880
  1072. package/lib/language/hu-HU.min.js +0 -1
  1073. package/lib/language/hu-HU.umd.js +0 -894
  1074. package/lib/language/hy-AM.d.ts +0 -2
  1075. package/lib/language/hy-AM.js +0 -880
  1076. package/lib/language/hy-AM.min.js +0 -1
  1077. package/lib/language/hy-AM.umd.js +0 -894
  1078. package/lib/language/id-ID.d.ts +0 -2
  1079. package/lib/language/id-ID.js +0 -880
  1080. package/lib/language/id-ID.min.js +0 -1
  1081. package/lib/language/id-ID.umd.js +0 -894
  1082. package/lib/language/it-IT.d.ts +0 -2
  1083. package/lib/language/it-IT.js +0 -880
  1084. package/lib/language/it-IT.min.js +0 -1
  1085. package/lib/language/it-IT.umd.js +0 -894
  1086. package/lib/language/ja-JP.d.ts +0 -2
  1087. package/lib/language/ja-JP.js +0 -880
  1088. package/lib/language/ja-JP.min.js +0 -1
  1089. package/lib/language/ja-JP.umd.js +0 -894
  1090. package/lib/language/ko-KR.d.ts +0 -2
  1091. package/lib/language/ko-KR.js +0 -880
  1092. package/lib/language/ko-KR.min.js +0 -1
  1093. package/lib/language/ko-KR.umd.js +0 -894
  1094. package/lib/language/ms-MY.d.ts +0 -2
  1095. package/lib/language/ms-MY.js +0 -880
  1096. package/lib/language/ms-MY.min.js +0 -1
  1097. package/lib/language/ms-MY.umd.js +0 -894
  1098. package/lib/language/nb-NO.d.ts +0 -2
  1099. package/lib/language/nb-NO.js +0 -880
  1100. package/lib/language/nb-NO.min.js +0 -1
  1101. package/lib/language/nb-NO.umd.js +0 -894
  1102. package/lib/language/pt-BR.d.ts +0 -2
  1103. package/lib/language/pt-BR.js +0 -880
  1104. package/lib/language/pt-BR.min.js +0 -1
  1105. package/lib/language/pt-BR.umd.js +0 -894
  1106. package/lib/language/ru-RU.d.ts +0 -2
  1107. package/lib/language/ru-RU.js +0 -880
  1108. package/lib/language/ru-RU.min.js +0 -1
  1109. package/lib/language/ru-RU.umd.js +0 -894
  1110. package/lib/language/th-TH.d.ts +0 -2
  1111. package/lib/language/th-TH.js +0 -880
  1112. package/lib/language/th-TH.min.js +0 -1
  1113. package/lib/language/th-TH.umd.js +0 -894
  1114. package/lib/language/ug-CN.d.ts +0 -2
  1115. package/lib/language/ug-CN.js +0 -880
  1116. package/lib/language/ug-CN.min.js +0 -1
  1117. package/lib/language/ug-CN.umd.js +0 -894
  1118. package/lib/language/uk-UA.d.ts +0 -2
  1119. package/lib/language/uk-UA.js +0 -880
  1120. package/lib/language/uk-UA.min.js +0 -1
  1121. package/lib/language/uk-UA.umd.js +0 -894
  1122. package/lib/language/uz-UZ.d.ts +0 -2
  1123. package/lib/language/uz-UZ.js +0 -880
  1124. package/lib/language/uz-UZ.min.js +0 -1
  1125. package/lib/language/uz-UZ.umd.js +0 -894
  1126. package/lib/language/vi-VN.d.ts +0 -2
  1127. package/lib/language/vi-VN.js +0 -880
  1128. package/lib/language/vi-VN.min.js +0 -1
  1129. package/lib/language/vi-VN.umd.js +0 -894
  1130. package/lib/language/zh-CHT.d.ts +0 -2
  1131. package/lib/language/zh-CHT.js +0 -880
  1132. package/lib/language/zh-CHT.min.js +0 -1
  1133. package/lib/language/zh-CHT.umd.js +0 -894
  1134. package/lib/language/zh-CN.d.ts +0 -2
  1135. package/lib/language/zh-CN.js +0 -880
  1136. package/lib/language/zh-CN.min.js +0 -1
  1137. package/lib/language/zh-CN.umd.js +0 -894
  1138. package/lib/language/zh-HK.d.ts +0 -2
  1139. package/lib/language/zh-HK.js +0 -9
  1140. package/lib/language/zh-HK.min.js +0 -1
  1141. package/lib/language/zh-HK.umd.js +0 -23
  1142. package/lib/language/zh-MO.d.ts +0 -2
  1143. package/lib/language/zh-MO.js +0 -9
  1144. package/lib/language/zh-MO.min.js +0 -1
  1145. package/lib/language/zh-MO.umd.js +0 -23
  1146. package/lib/language/zh-TC.js +0 -9
  1147. package/lib/language/zh-TC.min.js +0 -1
  1148. package/lib/language/zh-TW.d.ts +0 -2
  1149. package/lib/language/zh-TW.js +0 -9
  1150. package/lib/language/zh-TW.min.js +0 -1
  1151. package/lib/language/zh-TW.umd.js +0 -23
  1152. package/lib/layout-aside/index.js +0 -19
  1153. package/lib/layout-aside/index.min.js +0 -1
  1154. package/lib/layout-aside/src/layout-aside.js +0 -120
  1155. package/lib/layout-aside/src/layout-aside.min.js +0 -1
  1156. package/lib/layout-aside/style/index.js +0 -1
  1157. package/lib/layout-aside/style/style.css +0 -26
  1158. package/lib/layout-aside/style/style.min.css +0 -1
  1159. package/lib/layout-body/index.js +0 -19
  1160. package/lib/layout-body/index.min.js +0 -1
  1161. package/lib/layout-body/src/layout-body.js +0 -141
  1162. package/lib/layout-body/src/layout-body.min.js +0 -1
  1163. package/lib/layout-body/style/index.js +0 -1
  1164. package/lib/layout-body/style/style.css +0 -16
  1165. package/lib/layout-body/style/style.min.css +0 -1
  1166. package/lib/layout-container/index.js +0 -19
  1167. package/lib/layout-container/index.min.js +0 -1
  1168. package/lib/layout-container/src/layout-container.js +0 -65
  1169. package/lib/layout-container/src/layout-container.min.js +0 -1
  1170. package/lib/layout-container/style/index.js +0 -1
  1171. package/lib/layout-container/style/style.css +0 -28
  1172. package/lib/layout-container/style/style.min.css +0 -1
  1173. package/lib/layout-footer/index.js +0 -19
  1174. package/lib/layout-footer/index.min.js +0 -1
  1175. package/lib/layout-footer/src/layout-footer.js +0 -56
  1176. package/lib/layout-footer/src/layout-footer.min.js +0 -1
  1177. package/lib/layout-footer/style/index.js +0 -1
  1178. package/lib/layout-footer/style/style.css +0 -14
  1179. package/lib/layout-footer/style/style.min.css +0 -1
  1180. package/lib/layout-header/index.js +0 -19
  1181. package/lib/layout-header/index.min.js +0 -1
  1182. package/lib/layout-header/src/layout-header.js +0 -53
  1183. package/lib/layout-header/src/layout-header.min.js +0 -1
  1184. package/lib/layout-header/style/index.js +0 -1
  1185. package/lib/layout-header/style/style.css +0 -11
  1186. package/lib/layout-header/style/style.min.css +0 -1
  1187. package/lib/link/index.js +0 -19
  1188. package/lib/link/index.min.js +0 -1
  1189. package/lib/link/src/link.js +0 -138
  1190. package/lib/link/src/link.min.js +0 -1
  1191. package/lib/link/style/index.js +0 -1
  1192. package/lib/link/style/style.css +0 -111
  1193. package/lib/link/style/style.min.css +0 -1
  1194. package/lib/list/index.js +0 -19
  1195. package/lib/list/index.min.js +0 -1
  1196. package/lib/list/src/list.js +0 -2412
  1197. package/lib/list/src/list.min.js +0 -1
  1198. package/lib/list/src/store.js +0 -15
  1199. package/lib/list/src/store.min.js +0 -1
  1200. package/lib/list/src/util.js +0 -14
  1201. package/lib/list/src/util.min.js +0 -1
  1202. package/lib/list/style/index.js +0 -1
  1203. package/lib/list/style/style.css +0 -379
  1204. package/lib/list/style/style.min.css +0 -1
  1205. package/lib/loading/index.js +0 -34
  1206. package/lib/loading/index.min.js +0 -1
  1207. package/lib/loading/src/loading.js +0 -151
  1208. package/lib/loading/src/loading.min.js +0 -1
  1209. package/lib/loading/style/index.js +0 -1
  1210. package/lib/loading/style/style.css +0 -120
  1211. package/lib/loading/style/style.min.css +0 -1
  1212. package/lib/mention/index.js +0 -19
  1213. package/lib/mention/index.min.js +0 -1
  1214. package/lib/mention/src/mention.js +0 -54
  1215. package/lib/mention/src/mention.min.js +0 -1
  1216. package/lib/mention/style/index.js +0 -1
  1217. package/lib/mention/style/style.css +0 -0
  1218. package/lib/mention/style/style.min.css +0 -0
  1219. package/lib/menu/index.js +0 -19
  1220. package/lib/menu/index.min.js +0 -1
  1221. package/lib/menu/src/menu.js +0 -613
  1222. package/lib/menu/src/menu.min.js +0 -1
  1223. package/lib/menu/style/index.js +0 -1
  1224. package/lib/menu/style/style.css +0 -140
  1225. package/lib/menu/style/style.min.css +0 -1
  1226. package/lib/modal/index.js +0 -149
  1227. package/lib/modal/index.min.js +0 -1
  1228. package/lib/modal/src/modal.js +0 -1730
  1229. package/lib/modal/src/modal.min.js +0 -1
  1230. package/lib/modal/style/index.js +0 -1
  1231. package/lib/modal/style/style.css +0 -415
  1232. package/lib/modal/style/style.min.css +0 -1
  1233. package/lib/notice-bar/index.js +0 -19
  1234. package/lib/notice-bar/index.min.js +0 -1
  1235. package/lib/notice-bar/src/notice-bar.js +0 -175
  1236. package/lib/notice-bar/src/notice-bar.min.js +0 -1
  1237. package/lib/notice-bar/style/index.js +0 -1
  1238. package/lib/notice-bar/style/style.css +0 -78
  1239. package/lib/notice-bar/style/style.min.css +0 -1
  1240. package/lib/number-input/index.js +0 -19
  1241. package/lib/number-input/index.min.js +0 -1
  1242. package/lib/number-input/src/number-input.js +0 -1227
  1243. package/lib/number-input/src/number-input.min.js +0 -1
  1244. package/lib/number-input/src/util.js +0 -29
  1245. package/lib/number-input/src/util.min.js +0 -1
  1246. package/lib/number-input/style/index.js +0 -1
  1247. package/lib/number-input/style/style.css +0 -274
  1248. package/lib/number-input/style/style.min.css +0 -1
  1249. package/lib/optgroup/index.js +0 -19
  1250. package/lib/optgroup/index.min.js +0 -1
  1251. package/lib/optgroup/style/index.js +0 -1
  1252. package/lib/optgroup/style/style.css +0 -0
  1253. package/lib/optgroup/style/style.min.css +0 -0
  1254. package/lib/option/index.js +0 -19
  1255. package/lib/option/index.min.js +0 -1
  1256. package/lib/option/style/index.js +0 -1
  1257. package/lib/option/style/style.css +0 -0
  1258. package/lib/option/style/style.min.css +0 -0
  1259. package/lib/pager/index.js +0 -19
  1260. package/lib/pager/index.min.js +0 -1
  1261. package/lib/pager/src/pager.js +0 -951
  1262. package/lib/pager/src/pager.min.js +0 -1
  1263. package/lib/pager/style/index.js +0 -1
  1264. package/lib/pager/style/style.css +0 -341
  1265. package/lib/pager/style/style.min.css +0 -1
  1266. package/lib/password-input/index.js +0 -19
  1267. package/lib/password-input/index.min.js +0 -1
  1268. package/lib/password-input/src/password-input.js +0 -438
  1269. package/lib/password-input/src/password-input.min.js +0 -1
  1270. package/lib/password-input/style/index.js +0 -1
  1271. package/lib/password-input/style/style.css +0 -598
  1272. package/lib/password-input/style/style.min.css +0 -1
  1273. package/lib/print/index.js +0 -21
  1274. package/lib/print/index.min.js +0 -1
  1275. package/lib/print/src/page-break.js +0 -76
  1276. package/lib/print/src/page-break.min.js +0 -1
  1277. package/lib/print/src/print.js +0 -258
  1278. package/lib/print/src/print.min.js +0 -1
  1279. package/lib/print/src/util.js +0 -239
  1280. package/lib/print/src/util.min.js +0 -1
  1281. package/lib/print/style/index.js +0 -1
  1282. package/lib/print/style/style.css +0 -4
  1283. package/lib/print/style/style.min.css +0 -1
  1284. package/lib/print-page-break/index.js +0 -17
  1285. package/lib/print-page-break/index.min.js +0 -1
  1286. package/lib/print-page-break/style/index.js +0 -1
  1287. package/lib/print-page-break/style/style.css +0 -0
  1288. package/lib/print-page-break/style/style.min.css +0 -0
  1289. package/lib/pulldown/index.js +0 -19
  1290. package/lib/pulldown/index.min.js +0 -1
  1291. package/lib/pulldown/src/pulldown.js +0 -522
  1292. package/lib/pulldown/src/pulldown.min.js +0 -1
  1293. package/lib/pulldown/style/index.js +0 -1
  1294. package/lib/pulldown/style/style.css +0 -109
  1295. package/lib/pulldown/style/style.min.css +0 -1
  1296. package/lib/radio/index.js +0 -19
  1297. package/lib/radio/index.min.js +0 -1
  1298. package/lib/radio/src/button.js +0 -263
  1299. package/lib/radio/src/button.min.js +0 -1
  1300. package/lib/radio/src/group.js +0 -283
  1301. package/lib/radio/src/group.min.js +0 -1
  1302. package/lib/radio/src/radio.js +0 -252
  1303. package/lib/radio/src/radio.min.js +0 -1
  1304. package/lib/radio/style/index.js +0 -1
  1305. package/lib/radio/style/style.css +0 -108
  1306. package/lib/radio/style/style.min.css +0 -1
  1307. package/lib/radio-button/index.js +0 -19
  1308. package/lib/radio-button/index.min.js +0 -1
  1309. package/lib/radio-button/style/index.js +0 -1
  1310. package/lib/radio-button/style/style.css +0 -202
  1311. package/lib/radio-button/style/style.min.css +0 -1
  1312. package/lib/radio-group/index.js +0 -19
  1313. package/lib/radio-group/index.min.js +0 -1
  1314. package/lib/radio-group/style/index.js +0 -1
  1315. package/lib/radio-group/style/style.css +0 -0
  1316. package/lib/radio-group/style/style.min.css +0 -0
  1317. package/lib/rate/index.js +0 -19
  1318. package/lib/rate/index.min.js +0 -1
  1319. package/lib/rate/src/rate.js +0 -187
  1320. package/lib/rate/src/rate.min.js +0 -1
  1321. package/lib/rate/style/index.js +0 -1
  1322. package/lib/rate/style/style.css +0 -54
  1323. package/lib/rate/style/style.min.css +0 -1
  1324. package/lib/result/index.js +0 -19
  1325. package/lib/result/index.min.js +0 -1
  1326. package/lib/result/src/result.js +0 -88
  1327. package/lib/result/src/result.min.js +0 -1
  1328. package/lib/result/style/index.js +0 -1
  1329. package/lib/result/style/style.css +0 -68
  1330. package/lib/result/style/style.min.css +0 -1
  1331. package/lib/row/index.js +0 -19
  1332. package/lib/row/index.min.js +0 -1
  1333. package/lib/row/src/col.js +0 -138
  1334. package/lib/row/src/col.min.js +0 -1
  1335. package/lib/row/src/row.js +0 -122
  1336. package/lib/row/src/row.min.js +0 -1
  1337. package/lib/row/style/index.js +0 -1
  1338. package/lib/row/style/style.css +0 -116
  1339. package/lib/row/style/style.min.css +0 -1
  1340. package/lib/segmented/index.js +0 -19
  1341. package/lib/segmented/index.min.js +0 -1
  1342. package/lib/segmented/src/segmented.js +0 -260
  1343. package/lib/segmented/src/segmented.min.js +0 -1
  1344. package/lib/segmented/style/index.js +0 -1
  1345. package/lib/segmented/style/style.css +0 -197
  1346. package/lib/segmented/style/style.min.css +0 -1
  1347. package/lib/select/index.js +0 -19
  1348. package/lib/select/index.min.js +0 -1
  1349. package/lib/select/src/optgroup.js +0 -98
  1350. package/lib/select/src/optgroup.min.js +0 -1
  1351. package/lib/select/src/option-info.js +0 -33
  1352. package/lib/select/src/option-info.min.js +0 -1
  1353. package/lib/select/src/option.js +0 -94
  1354. package/lib/select/src/option.min.js +0 -1
  1355. package/lib/select/src/select.js +0 -2112
  1356. package/lib/select/src/select.min.js +0 -1
  1357. package/lib/select/src/util.js +0 -51
  1358. package/lib/select/src/util.min.js +0 -1
  1359. package/lib/select/style/index.js +0 -1
  1360. package/lib/select/style/style.css +0 -370
  1361. package/lib/select/style/style.min.css +0 -1
  1362. package/lib/slider/index.js +0 -19
  1363. package/lib/slider/index.min.js +0 -1
  1364. package/lib/slider/src/slider.js +0 -336
  1365. package/lib/slider/src/slider.min.js +0 -1
  1366. package/lib/slider/style/index.js +0 -1
  1367. package/lib/slider/style/style.css +0 -143
  1368. package/lib/slider/style/style.min.css +0 -1
  1369. package/lib/split/index.js +0 -19
  1370. package/lib/split/index.min.js +0 -1
  1371. package/lib/split/style/index.js +0 -1
  1372. package/lib/split/style/style.css +0 -295
  1373. package/lib/split/style/style.min.css +0 -1
  1374. package/lib/split-pane/index.js +0 -20
  1375. package/lib/split-pane/index.min.js +0 -1
  1376. package/lib/split-pane/style/index.js +0 -1
  1377. package/lib/split-pane/style/style.css +0 -0
  1378. package/lib/split-pane/style/style.min.css +0 -0
  1379. package/lib/splitter/index.js +0 -19
  1380. package/lib/splitter/index.min.js +0 -1
  1381. package/lib/splitter/src/splitter-panel.js +0 -161
  1382. package/lib/splitter/src/splitter-panel.min.js +0 -1
  1383. package/lib/splitter/src/splitter.js +0 -1036
  1384. package/lib/splitter/src/splitter.min.js +0 -1
  1385. package/lib/splitter/src/util.js +0 -27
  1386. package/lib/splitter/src/util.min.js +0 -1
  1387. package/lib/splitter/style/index.js +0 -1
  1388. package/lib/splitter/style/style.css +0 -295
  1389. package/lib/splitter/style/style.min.css +0 -1
  1390. package/lib/splitter-panel/index.js +0 -19
  1391. package/lib/splitter-panel/index.min.js +0 -1
  1392. package/lib/splitter-panel/style/index.js +0 -1
  1393. package/lib/splitter-panel/style/style.css +0 -0
  1394. package/lib/splitter-panel/style/style.min.css +0 -0
  1395. package/lib/steps/index.js +0 -19
  1396. package/lib/steps/index.min.js +0 -1
  1397. package/lib/steps/src/steps.js +0 -58
  1398. package/lib/steps/src/steps.min.js +0 -1
  1399. package/lib/steps/style/index.js +0 -1
  1400. package/lib/steps/style/style.css +0 -0
  1401. package/lib/steps/style/style.min.css +0 -0
  1402. package/lib/style.css +0 -1
  1403. package/lib/style.min.css +0 -1
  1404. package/lib/switch/index.js +0 -19
  1405. package/lib/switch/index.min.js +0 -1
  1406. package/lib/switch/src/switch.js +0 -256
  1407. package/lib/switch/src/switch.min.js +0 -1
  1408. package/lib/switch/style/index.js +0 -1
  1409. package/lib/switch/style/style.css +0 -111
  1410. package/lib/switch/style/style.min.css +0 -1
  1411. package/lib/tab-pane/index.js +0 -19
  1412. package/lib/tab-pane/index.min.js +0 -1
  1413. package/lib/tab-pane/style/index.js +0 -1
  1414. package/lib/tab-pane/style/style.css +0 -0
  1415. package/lib/tab-pane/style/style.min.css +0 -0
  1416. package/lib/table-select/index.js +0 -19
  1417. package/lib/table-select/index.min.js +0 -1
  1418. package/lib/table-select/src/table-select.js +0 -871
  1419. package/lib/table-select/src/table-select.min.js +0 -1
  1420. package/lib/table-select/style/index.js +0 -1
  1421. package/lib/table-select/style/style.css +0 -134
  1422. package/lib/table-select/style/style.min.css +0 -1
  1423. package/lib/table-transfer/index.js +0 -19
  1424. package/lib/table-transfer/index.min.js +0 -1
  1425. package/lib/table-transfer/src/table-transfer.js +0 -84
  1426. package/lib/table-transfer/src/table-transfer.min.js +0 -1
  1427. package/lib/table-transfer/style/index.js +0 -1
  1428. package/lib/table-transfer/style/style.css +0 -0
  1429. package/lib/table-transfer/style/style.min.css +0 -0
  1430. package/lib/tabs/index.js +0 -19
  1431. package/lib/tabs/index.min.js +0 -1
  1432. package/lib/tabs/src/tab-pane.js +0 -129
  1433. package/lib/tabs/src/tab-pane.min.js +0 -1
  1434. package/lib/tabs/src/tabs.js +0 -1031
  1435. package/lib/tabs/src/tabs.min.js +0 -1
  1436. package/lib/tabs/src/util.js +0 -29
  1437. package/lib/tabs/src/util.min.js +0 -1
  1438. package/lib/tabs/style/index.js +0 -1
  1439. package/lib/tabs/style/style.css +0 -705
  1440. package/lib/tabs/style/style.min.css +0 -1
  1441. package/lib/tag/index.js +0 -19
  1442. package/lib/tag/index.min.js +0 -1
  1443. package/lib/tag/src/tag.js +0 -183
  1444. package/lib/tag/src/tag.min.js +0 -1
  1445. package/lib/tag/style/index.js +0 -1
  1446. package/lib/tag/style/style.css +0 -187
  1447. package/lib/tag/style/style.min.css +0 -1
  1448. package/lib/text/index.js +0 -19
  1449. package/lib/text/index.min.js +0 -1
  1450. package/lib/text/src/text.js +0 -244
  1451. package/lib/text/src/text.min.js +0 -1
  1452. package/lib/text/style/index.js +0 -1
  1453. package/lib/text/style/style.css +0 -138
  1454. package/lib/text/style/style.min.css +0 -1
  1455. package/lib/text-ellipsis/index.js +0 -19
  1456. package/lib/text-ellipsis/index.min.js +0 -1
  1457. package/lib/text-ellipsis/src/text-ellipsis.js +0 -282
  1458. package/lib/text-ellipsis/src/text-ellipsis.min.js +0 -1
  1459. package/lib/text-ellipsis/style/index.js +0 -1
  1460. package/lib/text-ellipsis/style/style.css +0 -115
  1461. package/lib/text-ellipsis/style/style.min.css +0 -1
  1462. package/lib/textarea/index.js +0 -19
  1463. package/lib/textarea/index.min.js +0 -1
  1464. package/lib/textarea/src/textarea.js +0 -491
  1465. package/lib/textarea/src/textarea.min.js +0 -1
  1466. package/lib/textarea/style/index.js +0 -1
  1467. package/lib/textarea/style/style.css +0 -119
  1468. package/lib/textarea/style/style.min.css +0 -1
  1469. package/lib/timeline/index.js +0 -19
  1470. package/lib/timeline/index.min.js +0 -1
  1471. package/lib/timeline/src/timeline-item.js +0 -45
  1472. package/lib/timeline/src/timeline-item.min.js +0 -1
  1473. package/lib/timeline/src/timeline.js +0 -54
  1474. package/lib/timeline/src/timeline.min.js +0 -1
  1475. package/lib/timeline/style/index.js +0 -1
  1476. package/lib/timeline/style/style.css +0 -0
  1477. package/lib/timeline/style/style.min.css +0 -0
  1478. package/lib/timeline-item/index.js +0 -19
  1479. package/lib/timeline-item/index.min.js +0 -1
  1480. package/lib/timeline-item/style/index.js +0 -1
  1481. package/lib/timeline-item/style/style.css +0 -0
  1482. package/lib/timeline-item/style/style.min.css +0 -0
  1483. package/lib/tip/index.js +0 -21
  1484. package/lib/tip/index.min.js +0 -1
  1485. package/lib/tip/src/tip.js +0 -102
  1486. package/lib/tip/src/tip.min.js +0 -1
  1487. package/lib/tip/style/index.js +0 -1
  1488. package/lib/tip/style/style.css +0 -107
  1489. package/lib/tip/style/style.min.css +0 -1
  1490. package/lib/tooltip/index.js +0 -19
  1491. package/lib/tooltip/index.min.js +0 -1
  1492. package/lib/tooltip/src/tooltip.js +0 -721
  1493. package/lib/tooltip/src/tooltip.min.js +0 -1
  1494. package/lib/tooltip/style/index.js +0 -1
  1495. package/lib/tooltip/style/style.css +0 -117
  1496. package/lib/tooltip/style/style.min.css +0 -1
  1497. package/lib/tour/index.js +0 -19
  1498. package/lib/tour/index.min.js +0 -1
  1499. package/lib/tour/src/tour.js +0 -54
  1500. package/lib/tour/src/tour.min.js +0 -1
  1501. package/lib/tour/style/index.js +0 -1
  1502. package/lib/tour/style/style.css +0 -0
  1503. package/lib/tour/style/style.min.css +0 -0
  1504. package/lib/transfer/index.js +0 -19
  1505. package/lib/transfer/index.min.js +0 -1
  1506. package/lib/transfer/src/transfer.js +0 -93
  1507. package/lib/transfer/src/transfer.min.js +0 -1
  1508. package/lib/transfer/style/index.js +0 -1
  1509. package/lib/transfer/style/style.css +0 -0
  1510. package/lib/transfer/style/style.min.css +0 -0
  1511. package/lib/tree/index.js +0 -19
  1512. package/lib/tree/index.min.js +0 -1
  1513. package/lib/tree/src/store.js +0 -15
  1514. package/lib/tree/src/store.min.js +0 -1
  1515. package/lib/tree/src/tree.js +0 -3952
  1516. package/lib/tree/src/tree.min.js +0 -1
  1517. package/lib/tree/src/util.js +0 -53
  1518. package/lib/tree/src/util.min.js +0 -1
  1519. package/lib/tree/style/index.js +0 -1
  1520. package/lib/tree/style/style.css +0 -385
  1521. package/lib/tree/style/style.min.css +0 -1
  1522. package/lib/tree-select/index.js +0 -19
  1523. package/lib/tree-select/index.min.js +0 -1
  1524. package/lib/tree-select/src/tree-select.js +0 -1205
  1525. package/lib/tree-select/src/tree-select.min.js +0 -1
  1526. package/lib/tree-select/style/index.js +0 -1
  1527. package/lib/tree-select/style/style.css +0 -194
  1528. package/lib/tree-select/style/style.min.css +0 -1
  1529. package/lib/ui/index.js +0 -719
  1530. package/lib/ui/index.min.js +0 -1
  1531. package/lib/ui/src/anime.js +0 -64
  1532. package/lib/ui/src/anime.min.js +0 -1
  1533. package/lib/ui/src/comp.js +0 -9
  1534. package/lib/ui/src/comp.min.js +0 -1
  1535. package/lib/ui/src/dom.js +0 -304
  1536. package/lib/ui/src/dom.min.js +0 -1
  1537. package/lib/ui/src/log.js +0 -22
  1538. package/lib/ui/src/log.min.js +0 -1
  1539. package/lib/ui/src/utils.js +0 -70
  1540. package/lib/ui/src/utils.min.js +0 -1
  1541. package/lib/ui/src/vn.js +0 -63
  1542. package/lib/ui/src/vn.min.js +0 -1
  1543. package/lib/ui/style/index.js +0 -1
  1544. package/lib/ui/style/style.css +0 -0
  1545. package/lib/ui/style/style.min.css +0 -0
  1546. package/lib/upload/index.js +0 -22
  1547. package/lib/upload/index.min.js +0 -1
  1548. package/lib/upload/src/upload.js +0 -2172
  1549. package/lib/upload/src/upload.min.js +0 -1
  1550. package/lib/upload/src/util.js +0 -130
  1551. package/lib/upload/src/util.min.js +0 -1
  1552. package/lib/upload/style/index.js +0 -1
  1553. package/lib/upload/style/style.css +0 -483
  1554. package/lib/upload/style/style.min.css +0 -1
  1555. package/lib/vxe-alert/index.js +0 -22
  1556. package/lib/vxe-alert/index.min.js +0 -1
  1557. package/lib/vxe-alert/style/index.js +0 -1
  1558. package/lib/vxe-alert/style/style.css +0 -129
  1559. package/lib/vxe-alert/style/style.min.css +0 -1
  1560. package/lib/vxe-anchor/index.js +0 -22
  1561. package/lib/vxe-anchor/index.min.js +0 -1
  1562. package/lib/vxe-anchor/style/index.js +0 -1
  1563. package/lib/vxe-anchor/style/style.css +0 -42
  1564. package/lib/vxe-anchor/style/style.min.css +0 -1
  1565. package/lib/vxe-anchor-link/index.js +0 -22
  1566. package/lib/vxe-anchor-link/index.min.js +0 -1
  1567. package/lib/vxe-anchor-link/style/index.js +0 -1
  1568. package/lib/vxe-anchor-link/style/style.css +0 -0
  1569. package/lib/vxe-anchor-link/style/style.min.css +0 -0
  1570. package/lib/vxe-avatar/index.js +0 -22
  1571. package/lib/vxe-avatar/index.min.js +0 -1
  1572. package/lib/vxe-avatar/style/index.js +0 -1
  1573. package/lib/vxe-avatar/style/style.css +0 -98
  1574. package/lib/vxe-avatar/style/style.min.css +0 -1
  1575. package/lib/vxe-backtop/index.js +0 -22
  1576. package/lib/vxe-backtop/index.min.js +0 -1
  1577. package/lib/vxe-backtop/style/index.js +0 -1
  1578. package/lib/vxe-backtop/style/style.css +0 -72
  1579. package/lib/vxe-backtop/style/style.min.css +0 -1
  1580. package/lib/vxe-badge/index.js +0 -22
  1581. package/lib/vxe-badge/index.min.js +0 -1
  1582. package/lib/vxe-badge/style/index.js +0 -1
  1583. package/lib/vxe-badge/style/style.css +0 -42
  1584. package/lib/vxe-badge/style/style.min.css +0 -1
  1585. package/lib/vxe-breadcrumb/index.js +0 -22
  1586. package/lib/vxe-breadcrumb/index.min.js +0 -1
  1587. package/lib/vxe-breadcrumb/style/index.js +0 -1
  1588. package/lib/vxe-breadcrumb/style/style.css +0 -33
  1589. package/lib/vxe-breadcrumb/style/style.min.css +0 -1
  1590. package/lib/vxe-breadcrumb-item/index.js +0 -22
  1591. package/lib/vxe-breadcrumb-item/index.min.js +0 -1
  1592. package/lib/vxe-breadcrumb-item/style/index.js +0 -1
  1593. package/lib/vxe-breadcrumb-item/style/style.css +0 -0
  1594. package/lib/vxe-breadcrumb-item/style/style.min.css +0 -0
  1595. package/lib/vxe-button/index.js +0 -22
  1596. package/lib/vxe-button/index.min.js +0 -1
  1597. package/lib/vxe-button/style/index.js +0 -1
  1598. package/lib/vxe-button/style/style.css +0 -638
  1599. package/lib/vxe-button/style/style.min.css +0 -1
  1600. package/lib/vxe-button-group/index.js +0 -22
  1601. package/lib/vxe-button-group/index.min.js +0 -1
  1602. package/lib/vxe-button-group/style/index.js +0 -1
  1603. package/lib/vxe-button-group/style/style.css +0 -27
  1604. package/lib/vxe-button-group/style/style.min.css +0 -1
  1605. package/lib/vxe-calendar/index.js +0 -22
  1606. package/lib/vxe-calendar/index.min.js +0 -1
  1607. package/lib/vxe-calendar/style/index.js +0 -1
  1608. package/lib/vxe-calendar/style/style.css +0 -350
  1609. package/lib/vxe-calendar/style/style.min.css +0 -1
  1610. package/lib/vxe-card/index.js +0 -22
  1611. package/lib/vxe-card/index.min.js +0 -1
  1612. package/lib/vxe-card/style/index.js +0 -1
  1613. package/lib/vxe-card/style/style.css +0 -107
  1614. package/lib/vxe-card/style/style.min.css +0 -1
  1615. package/lib/vxe-carousel/index.js +0 -22
  1616. package/lib/vxe-carousel/index.min.js +0 -1
  1617. package/lib/vxe-carousel/style/index.js +0 -1
  1618. package/lib/vxe-carousel/style/style.css +0 -185
  1619. package/lib/vxe-carousel/style/style.min.css +0 -1
  1620. package/lib/vxe-carousel-item/index.js +0 -22
  1621. package/lib/vxe-carousel-item/index.min.js +0 -1
  1622. package/lib/vxe-carousel-item/style/index.js +0 -1
  1623. package/lib/vxe-carousel-item/style/style.css +0 -0
  1624. package/lib/vxe-carousel-item/style/style.min.css +0 -0
  1625. package/lib/vxe-cascader/index.js +0 -22
  1626. package/lib/vxe-cascader/index.min.js +0 -1
  1627. package/lib/vxe-cascader/style/index.js +0 -1
  1628. package/lib/vxe-cascader/style/style.css +0 -346
  1629. package/lib/vxe-cascader/style/style.min.css +0 -1
  1630. package/lib/vxe-checkbox/index.js +0 -22
  1631. package/lib/vxe-checkbox/index.min.js +0 -1
  1632. package/lib/vxe-checkbox/style/index.js +0 -1
  1633. package/lib/vxe-checkbox/style/style.css +0 -113
  1634. package/lib/vxe-checkbox/style/style.min.css +0 -1
  1635. package/lib/vxe-checkbox-button/index.js +0 -22
  1636. package/lib/vxe-checkbox-button/index.min.js +0 -1
  1637. package/lib/vxe-checkbox-button/style/index.js +0 -1
  1638. package/lib/vxe-checkbox-button/style/style.css +0 -202
  1639. package/lib/vxe-checkbox-button/style/style.min.css +0 -1
  1640. package/lib/vxe-checkbox-group/index.js +0 -22
  1641. package/lib/vxe-checkbox-group/index.min.js +0 -1
  1642. package/lib/vxe-checkbox-group/style/index.js +0 -1
  1643. package/lib/vxe-checkbox-group/style/style.css +0 -0
  1644. package/lib/vxe-checkbox-group/style/style.min.css +0 -0
  1645. package/lib/vxe-col/index.js +0 -22
  1646. package/lib/vxe-col/index.min.js +0 -1
  1647. package/lib/vxe-col/style/index.js +0 -1
  1648. package/lib/vxe-col/style/style.css +0 -0
  1649. package/lib/vxe-col/style/style.min.css +0 -0
  1650. package/lib/vxe-collapse/index.js +0 -22
  1651. package/lib/vxe-collapse/index.min.js +0 -1
  1652. package/lib/vxe-collapse/style/index.js +0 -1
  1653. package/lib/vxe-collapse/style/style.css +0 -83
  1654. package/lib/vxe-collapse/style/style.min.css +0 -1
  1655. package/lib/vxe-collapse-pane/index.js +0 -22
  1656. package/lib/vxe-collapse-pane/index.min.js +0 -1
  1657. package/lib/vxe-collapse-pane/style/index.js +0 -1
  1658. package/lib/vxe-collapse-pane/style/style.css +0 -0
  1659. package/lib/vxe-collapse-pane/style/style.min.css +0 -0
  1660. package/lib/vxe-color-picker/index.js +0 -22
  1661. package/lib/vxe-color-picker/index.min.js +0 -1
  1662. package/lib/vxe-color-picker/style/index.js +0 -1
  1663. package/lib/vxe-color-picker/style/style.css +0 -485
  1664. package/lib/vxe-color-picker/style/style.min.css +0 -1
  1665. package/lib/vxe-context-menu/index.js +0 -22
  1666. package/lib/vxe-context-menu/index.min.js +0 -1
  1667. package/lib/vxe-context-menu/style/index.js +0 -1
  1668. package/lib/vxe-context-menu/style/style.css +0 -109
  1669. package/lib/vxe-context-menu/style/style.min.css +0 -1
  1670. package/lib/vxe-countdown/index.js +0 -22
  1671. package/lib/vxe-countdown/index.min.js +0 -1
  1672. package/lib/vxe-countdown/style/index.js +0 -1
  1673. package/lib/vxe-countdown/style/style.css +0 -38
  1674. package/lib/vxe-countdown/style/style.min.css +0 -1
  1675. package/lib/vxe-date-panel/index.js +0 -22
  1676. package/lib/vxe-date-panel/index.min.js +0 -1
  1677. package/lib/vxe-date-panel/style/index.js +0 -1
  1678. package/lib/vxe-date-panel/style/style.css +0 -453
  1679. package/lib/vxe-date-panel/style/style.min.css +0 -1
  1680. package/lib/vxe-date-picker/index.js +0 -22
  1681. package/lib/vxe-date-picker/index.min.js +0 -1
  1682. package/lib/vxe-date-picker/style/index.js +0 -1
  1683. package/lib/vxe-date-picker/style/style.css +0 -283
  1684. package/lib/vxe-date-picker/style/style.min.css +0 -1
  1685. package/lib/vxe-date-range-picker/index.js +0 -22
  1686. package/lib/vxe-date-range-picker/index.min.js +0 -1
  1687. package/lib/vxe-date-range-picker/style/index.js +0 -1
  1688. package/lib/vxe-date-range-picker/style/style.css +0 -289
  1689. package/lib/vxe-date-range-picker/style/style.min.css +0 -1
  1690. package/lib/vxe-drawer/index.js +0 -22
  1691. package/lib/vxe-drawer/index.min.js +0 -1
  1692. package/lib/vxe-drawer/style/index.js +0 -1
  1693. package/lib/vxe-drawer/style/style.css +0 -270
  1694. package/lib/vxe-drawer/style/style.min.css +0 -1
  1695. package/lib/vxe-empty/index.js +0 -22
  1696. package/lib/vxe-empty/index.min.js +0 -1
  1697. package/lib/vxe-empty/style/index.js +0 -1
  1698. package/lib/vxe-empty/style/style.css +0 -54
  1699. package/lib/vxe-empty/style/style.min.css +0 -1
  1700. package/lib/vxe-form/index.js +0 -22
  1701. package/lib/vxe-form/index.min.js +0 -1
  1702. package/lib/vxe-form/style/index.js +0 -1
  1703. package/lib/vxe-form/style/style.css +0 -621
  1704. package/lib/vxe-form/style/style.min.css +0 -1
  1705. package/lib/vxe-form-gather/index.js +0 -22
  1706. package/lib/vxe-form-gather/index.min.js +0 -1
  1707. package/lib/vxe-form-gather/style/index.js +0 -1
  1708. package/lib/vxe-form-gather/style/style.css +0 -0
  1709. package/lib/vxe-form-gather/style/style.min.css +0 -0
  1710. package/lib/vxe-form-group/index.js +0 -22
  1711. package/lib/vxe-form-group/index.min.js +0 -1
  1712. package/lib/vxe-form-group/style/index.js +0 -1
  1713. package/lib/vxe-form-group/style/style.css +0 -0
  1714. package/lib/vxe-form-group/style/style.min.css +0 -0
  1715. package/lib/vxe-form-item/index.js +0 -22
  1716. package/lib/vxe-form-item/index.min.js +0 -1
  1717. package/lib/vxe-form-item/style/index.js +0 -1
  1718. package/lib/vxe-form-item/style/style.css +0 -0
  1719. package/lib/vxe-form-item/style/style.min.css +0 -0
  1720. package/lib/vxe-icon/index.js +0 -22
  1721. package/lib/vxe-icon/index.min.js +0 -1
  1722. package/lib/vxe-icon/style/index.js +0 -1
  1723. package/lib/vxe-icon/style/style.css +0 -1034
  1724. package/lib/vxe-icon/style/style.min.css +0 -1
  1725. package/lib/vxe-icon-picker/index.js +0 -22
  1726. package/lib/vxe-icon-picker/index.min.js +0 -1
  1727. package/lib/vxe-icon-picker/style/index.js +0 -1
  1728. package/lib/vxe-icon-picker/style/style.css +0 -242
  1729. package/lib/vxe-icon-picker/style/style.min.css +0 -1
  1730. package/lib/vxe-image/index.js +0 -22
  1731. package/lib/vxe-image/index.min.js +0 -1
  1732. package/lib/vxe-image/style/index.js +0 -1
  1733. package/lib/vxe-image/style/style.css +0 -17
  1734. package/lib/vxe-image/style/style.min.css +0 -1
  1735. package/lib/vxe-image-group/index.js +0 -22
  1736. package/lib/vxe-image-group/index.min.js +0 -1
  1737. package/lib/vxe-image-group/style/index.js +0 -1
  1738. package/lib/vxe-image-group/style/style.css +0 -3
  1739. package/lib/vxe-image-group/style/style.min.css +0 -1
  1740. package/lib/vxe-image-preview/index.js +0 -22
  1741. package/lib/vxe-image-preview/index.min.js +0 -1
  1742. package/lib/vxe-image-preview/style/index.js +0 -1
  1743. package/lib/vxe-image-preview/style/style.css +0 -218
  1744. package/lib/vxe-image-preview/style/style.min.css +0 -1
  1745. package/lib/vxe-input/index.js +0 -22
  1746. package/lib/vxe-input/index.min.js +0 -1
  1747. package/lib/vxe-input/style/index.js +0 -1
  1748. package/lib/vxe-input/style/style.css +0 -1025
  1749. package/lib/vxe-input/style/style.min.css +0 -1
  1750. package/lib/vxe-layout-aside/index.js +0 -22
  1751. package/lib/vxe-layout-aside/index.min.js +0 -1
  1752. package/lib/vxe-layout-aside/style/index.js +0 -1
  1753. package/lib/vxe-layout-aside/style/style.css +0 -26
  1754. package/lib/vxe-layout-aside/style/style.min.css +0 -1
  1755. package/lib/vxe-layout-body/index.js +0 -22
  1756. package/lib/vxe-layout-body/index.min.js +0 -1
  1757. package/lib/vxe-layout-body/style/index.js +0 -1
  1758. package/lib/vxe-layout-body/style/style.css +0 -16
  1759. package/lib/vxe-layout-body/style/style.min.css +0 -1
  1760. package/lib/vxe-layout-container/index.js +0 -22
  1761. package/lib/vxe-layout-container/index.min.js +0 -1
  1762. package/lib/vxe-layout-container/style/index.js +0 -1
  1763. package/lib/vxe-layout-container/style/style.css +0 -28
  1764. package/lib/vxe-layout-container/style/style.min.css +0 -1
  1765. package/lib/vxe-layout-footer/index.js +0 -22
  1766. package/lib/vxe-layout-footer/index.min.js +0 -1
  1767. package/lib/vxe-layout-footer/style/index.js +0 -1
  1768. package/lib/vxe-layout-footer/style/style.css +0 -14
  1769. package/lib/vxe-layout-footer/style/style.min.css +0 -1
  1770. package/lib/vxe-layout-header/index.js +0 -22
  1771. package/lib/vxe-layout-header/index.min.js +0 -1
  1772. package/lib/vxe-layout-header/style/index.js +0 -1
  1773. package/lib/vxe-layout-header/style/style.css +0 -11
  1774. package/lib/vxe-layout-header/style/style.min.css +0 -1
  1775. package/lib/vxe-link/index.js +0 -22
  1776. package/lib/vxe-link/index.min.js +0 -1
  1777. package/lib/vxe-link/style/index.js +0 -1
  1778. package/lib/vxe-link/style/style.css +0 -111
  1779. package/lib/vxe-link/style/style.min.css +0 -1
  1780. package/lib/vxe-list/index.js +0 -22
  1781. package/lib/vxe-list/index.min.js +0 -1
  1782. package/lib/vxe-list/style/index.js +0 -1
  1783. package/lib/vxe-list/style/style.css +0 -379
  1784. package/lib/vxe-list/style/style.min.css +0 -1
  1785. package/lib/vxe-loading/index.js +0 -22
  1786. package/lib/vxe-loading/index.min.js +0 -1
  1787. package/lib/vxe-loading/style/index.js +0 -1
  1788. package/lib/vxe-loading/style/style.css +0 -120
  1789. package/lib/vxe-loading/style/style.min.css +0 -1
  1790. package/lib/vxe-mention/index.js +0 -22
  1791. package/lib/vxe-mention/index.min.js +0 -1
  1792. package/lib/vxe-mention/style/index.js +0 -1
  1793. package/lib/vxe-mention/style/style.css +0 -0
  1794. package/lib/vxe-mention/style/style.min.css +0 -0
  1795. package/lib/vxe-menu/index.js +0 -22
  1796. package/lib/vxe-menu/index.min.js +0 -1
  1797. package/lib/vxe-menu/style/index.js +0 -1
  1798. package/lib/vxe-menu/style/style.css +0 -140
  1799. package/lib/vxe-menu/style/style.min.css +0 -1
  1800. package/lib/vxe-modal/index.js +0 -22
  1801. package/lib/vxe-modal/index.min.js +0 -1
  1802. package/lib/vxe-modal/style/index.js +0 -1
  1803. package/lib/vxe-modal/style/style.css +0 -415
  1804. package/lib/vxe-modal/style/style.min.css +0 -1
  1805. package/lib/vxe-notice-bar/index.js +0 -22
  1806. package/lib/vxe-notice-bar/index.min.js +0 -1
  1807. package/lib/vxe-notice-bar/style/index.js +0 -1
  1808. package/lib/vxe-notice-bar/style/style.css +0 -78
  1809. package/lib/vxe-notice-bar/style/style.min.css +0 -1
  1810. package/lib/vxe-number-input/index.js +0 -22
  1811. package/lib/vxe-number-input/index.min.js +0 -1
  1812. package/lib/vxe-number-input/style/index.js +0 -1
  1813. package/lib/vxe-number-input/style/style.css +0 -274
  1814. package/lib/vxe-number-input/style/style.min.css +0 -1
  1815. package/lib/vxe-optgroup/index.js +0 -22
  1816. package/lib/vxe-optgroup/index.min.js +0 -1
  1817. package/lib/vxe-optgroup/style/index.js +0 -1
  1818. package/lib/vxe-optgroup/style/style.css +0 -0
  1819. package/lib/vxe-optgroup/style/style.min.css +0 -0
  1820. package/lib/vxe-option/index.js +0 -22
  1821. package/lib/vxe-option/index.min.js +0 -1
  1822. package/lib/vxe-option/style/index.js +0 -1
  1823. package/lib/vxe-option/style/style.css +0 -0
  1824. package/lib/vxe-option/style/style.min.css +0 -0
  1825. package/lib/vxe-pager/index.js +0 -22
  1826. package/lib/vxe-pager/index.min.js +0 -1
  1827. package/lib/vxe-pager/style/index.js +0 -1
  1828. package/lib/vxe-pager/style/style.css +0 -341
  1829. package/lib/vxe-pager/style/style.min.css +0 -1
  1830. package/lib/vxe-password-input/index.js +0 -22
  1831. package/lib/vxe-password-input/index.min.js +0 -1
  1832. package/lib/vxe-password-input/style/index.js +0 -1
  1833. package/lib/vxe-password-input/style/style.css +0 -598
  1834. package/lib/vxe-password-input/style/style.min.css +0 -1
  1835. package/lib/vxe-print/index.js +0 -22
  1836. package/lib/vxe-print/index.min.js +0 -1
  1837. package/lib/vxe-print/style/index.js +0 -1
  1838. package/lib/vxe-print/style/style.css +0 -4
  1839. package/lib/vxe-print/style/style.min.css +0 -1
  1840. package/lib/vxe-print-page-break/index.js +0 -22
  1841. package/lib/vxe-print-page-break/index.min.js +0 -1
  1842. package/lib/vxe-print-page-break/style/index.js +0 -1
  1843. package/lib/vxe-print-page-break/style/style.css +0 -0
  1844. package/lib/vxe-print-page-break/style/style.min.css +0 -0
  1845. package/lib/vxe-pulldown/index.js +0 -22
  1846. package/lib/vxe-pulldown/index.min.js +0 -1
  1847. package/lib/vxe-pulldown/style/index.js +0 -1
  1848. package/lib/vxe-pulldown/style/style.css +0 -109
  1849. package/lib/vxe-pulldown/style/style.min.css +0 -1
  1850. package/lib/vxe-radio/index.js +0 -22
  1851. package/lib/vxe-radio/index.min.js +0 -1
  1852. package/lib/vxe-radio/style/index.js +0 -1
  1853. package/lib/vxe-radio/style/style.css +0 -108
  1854. package/lib/vxe-radio/style/style.min.css +0 -1
  1855. package/lib/vxe-radio-button/index.js +0 -22
  1856. package/lib/vxe-radio-button/index.min.js +0 -1
  1857. package/lib/vxe-radio-button/style/index.js +0 -1
  1858. package/lib/vxe-radio-button/style/style.css +0 -202
  1859. package/lib/vxe-radio-button/style/style.min.css +0 -1
  1860. package/lib/vxe-radio-group/index.js +0 -22
  1861. package/lib/vxe-radio-group/index.min.js +0 -1
  1862. package/lib/vxe-radio-group/style/index.js +0 -1
  1863. package/lib/vxe-radio-group/style/style.css +0 -0
  1864. package/lib/vxe-radio-group/style/style.min.css +0 -0
  1865. package/lib/vxe-rate/index.js +0 -22
  1866. package/lib/vxe-rate/index.min.js +0 -1
  1867. package/lib/vxe-rate/style/index.js +0 -1
  1868. package/lib/vxe-rate/style/style.css +0 -54
  1869. package/lib/vxe-rate/style/style.min.css +0 -1
  1870. package/lib/vxe-result/index.js +0 -22
  1871. package/lib/vxe-result/index.min.js +0 -1
  1872. package/lib/vxe-result/style/index.js +0 -1
  1873. package/lib/vxe-result/style/style.css +0 -68
  1874. package/lib/vxe-result/style/style.min.css +0 -1
  1875. package/lib/vxe-row/index.js +0 -22
  1876. package/lib/vxe-row/index.min.js +0 -1
  1877. package/lib/vxe-row/style/index.js +0 -1
  1878. package/lib/vxe-row/style/style.css +0 -116
  1879. package/lib/vxe-row/style/style.min.css +0 -1
  1880. package/lib/vxe-segmented/index.js +0 -22
  1881. package/lib/vxe-segmented/index.min.js +0 -1
  1882. package/lib/vxe-segmented/style/index.js +0 -1
  1883. package/lib/vxe-segmented/style/style.css +0 -197
  1884. package/lib/vxe-segmented/style/style.min.css +0 -1
  1885. package/lib/vxe-select/index.js +0 -22
  1886. package/lib/vxe-select/index.min.js +0 -1
  1887. package/lib/vxe-select/style/index.js +0 -1
  1888. package/lib/vxe-select/style/style.css +0 -370
  1889. package/lib/vxe-select/style/style.min.css +0 -1
  1890. package/lib/vxe-slider/index.js +0 -22
  1891. package/lib/vxe-slider/index.min.js +0 -1
  1892. package/lib/vxe-slider/style/index.js +0 -1
  1893. package/lib/vxe-slider/style/style.css +0 -143
  1894. package/lib/vxe-slider/style/style.min.css +0 -1
  1895. package/lib/vxe-split/index.js +0 -22
  1896. package/lib/vxe-split/index.min.js +0 -1
  1897. package/lib/vxe-split/style/index.js +0 -1
  1898. package/lib/vxe-split/style/style.css +0 -295
  1899. package/lib/vxe-split/style/style.min.css +0 -1
  1900. package/lib/vxe-split-pane/index.js +0 -22
  1901. package/lib/vxe-split-pane/index.min.js +0 -1
  1902. package/lib/vxe-split-pane/style/index.js +0 -1
  1903. package/lib/vxe-split-pane/style/style.css +0 -0
  1904. package/lib/vxe-split-pane/style/style.min.css +0 -0
  1905. package/lib/vxe-splitter/index.js +0 -22
  1906. package/lib/vxe-splitter/index.min.js +0 -1
  1907. package/lib/vxe-splitter/style/index.js +0 -1
  1908. package/lib/vxe-splitter/style/style.css +0 -295
  1909. package/lib/vxe-splitter/style/style.min.css +0 -1
  1910. package/lib/vxe-splitter-panel/index.js +0 -22
  1911. package/lib/vxe-splitter-panel/index.min.js +0 -1
  1912. package/lib/vxe-splitter-panel/style/index.js +0 -1
  1913. package/lib/vxe-splitter-panel/style/style.css +0 -0
  1914. package/lib/vxe-splitter-panel/style/style.min.css +0 -0
  1915. package/lib/vxe-steps/index.js +0 -22
  1916. package/lib/vxe-steps/index.min.js +0 -1
  1917. package/lib/vxe-steps/style/index.js +0 -1
  1918. package/lib/vxe-steps/style/style.css +0 -0
  1919. package/lib/vxe-steps/style/style.min.css +0 -0
  1920. package/lib/vxe-switch/index.js +0 -22
  1921. package/lib/vxe-switch/index.min.js +0 -1
  1922. package/lib/vxe-switch/style/index.js +0 -1
  1923. package/lib/vxe-switch/style/style.css +0 -111
  1924. package/lib/vxe-switch/style/style.min.css +0 -1
  1925. package/lib/vxe-tab-pane/index.js +0 -22
  1926. package/lib/vxe-tab-pane/index.min.js +0 -1
  1927. package/lib/vxe-tab-pane/style/index.js +0 -1
  1928. package/lib/vxe-tab-pane/style/style.css +0 -0
  1929. package/lib/vxe-tab-pane/style/style.min.css +0 -0
  1930. package/lib/vxe-table-select/index.js +0 -22
  1931. package/lib/vxe-table-select/index.min.js +0 -1
  1932. package/lib/vxe-table-select/style/index.js +0 -1
  1933. package/lib/vxe-table-select/style/style.css +0 -134
  1934. package/lib/vxe-table-select/style/style.min.css +0 -1
  1935. package/lib/vxe-table-transfer/index.js +0 -22
  1936. package/lib/vxe-table-transfer/index.min.js +0 -1
  1937. package/lib/vxe-table-transfer/style/index.js +0 -1
  1938. package/lib/vxe-table-transfer/style/style.css +0 -0
  1939. package/lib/vxe-table-transfer/style/style.min.css +0 -0
  1940. package/lib/vxe-tabs/index.js +0 -22
  1941. package/lib/vxe-tabs/index.min.js +0 -1
  1942. package/lib/vxe-tabs/style/index.js +0 -1
  1943. package/lib/vxe-tabs/style/style.css +0 -705
  1944. package/lib/vxe-tabs/style/style.min.css +0 -1
  1945. package/lib/vxe-tag/index.js +0 -22
  1946. package/lib/vxe-tag/index.min.js +0 -1
  1947. package/lib/vxe-tag/style/index.js +0 -1
  1948. package/lib/vxe-tag/style/style.css +0 -187
  1949. package/lib/vxe-tag/style/style.min.css +0 -1
  1950. package/lib/vxe-text/index.js +0 -22
  1951. package/lib/vxe-text/index.min.js +0 -1
  1952. package/lib/vxe-text/style/index.js +0 -1
  1953. package/lib/vxe-text/style/style.css +0 -138
  1954. package/lib/vxe-text/style/style.min.css +0 -1
  1955. package/lib/vxe-text-ellipsis/index.js +0 -22
  1956. package/lib/vxe-text-ellipsis/index.min.js +0 -1
  1957. package/lib/vxe-text-ellipsis/style/index.js +0 -1
  1958. package/lib/vxe-text-ellipsis/style/style.css +0 -115
  1959. package/lib/vxe-text-ellipsis/style/style.min.css +0 -1
  1960. package/lib/vxe-textarea/index.js +0 -22
  1961. package/lib/vxe-textarea/index.min.js +0 -1
  1962. package/lib/vxe-textarea/style/index.js +0 -1
  1963. package/lib/vxe-textarea/style/style.css +0 -119
  1964. package/lib/vxe-textarea/style/style.min.css +0 -1
  1965. package/lib/vxe-timeline/index.js +0 -22
  1966. package/lib/vxe-timeline/index.min.js +0 -1
  1967. package/lib/vxe-timeline/style/index.js +0 -1
  1968. package/lib/vxe-timeline/style/style.css +0 -0
  1969. package/lib/vxe-timeline/style/style.min.css +0 -0
  1970. package/lib/vxe-timeline-item/index.js +0 -22
  1971. package/lib/vxe-timeline-item/index.min.js +0 -1
  1972. package/lib/vxe-timeline-item/style/index.js +0 -1
  1973. package/lib/vxe-timeline-item/style/style.css +0 -0
  1974. package/lib/vxe-timeline-item/style/style.min.css +0 -0
  1975. package/lib/vxe-tip/index.js +0 -22
  1976. package/lib/vxe-tip/index.min.js +0 -1
  1977. package/lib/vxe-tip/style/index.js +0 -1
  1978. package/lib/vxe-tip/style/style.css +0 -107
  1979. package/lib/vxe-tip/style/style.min.css +0 -1
  1980. package/lib/vxe-tooltip/index.js +0 -22
  1981. package/lib/vxe-tooltip/index.min.js +0 -1
  1982. package/lib/vxe-tooltip/style/index.js +0 -1
  1983. package/lib/vxe-tooltip/style/style.css +0 -117
  1984. package/lib/vxe-tooltip/style/style.min.css +0 -1
  1985. package/lib/vxe-tour/index.js +0 -22
  1986. package/lib/vxe-tour/index.min.js +0 -1
  1987. package/lib/vxe-tour/style/index.js +0 -1
  1988. package/lib/vxe-tour/style/style.css +0 -0
  1989. package/lib/vxe-tour/style/style.min.css +0 -0
  1990. package/lib/vxe-transfer/index.js +0 -22
  1991. package/lib/vxe-transfer/index.min.js +0 -1
  1992. package/lib/vxe-transfer/style/index.js +0 -1
  1993. package/lib/vxe-transfer/style/style.css +0 -0
  1994. package/lib/vxe-transfer/style/style.min.css +0 -0
  1995. package/lib/vxe-tree/index.js +0 -22
  1996. package/lib/vxe-tree/index.min.js +0 -1
  1997. package/lib/vxe-tree/style/index.js +0 -1
  1998. package/lib/vxe-tree/style/style.css +0 -385
  1999. package/lib/vxe-tree/style/style.min.css +0 -1
  2000. package/lib/vxe-tree-select/index.js +0 -22
  2001. package/lib/vxe-tree-select/index.min.js +0 -1
  2002. package/lib/vxe-tree-select/style/index.js +0 -1
  2003. package/lib/vxe-tree-select/style/style.css +0 -194
  2004. package/lib/vxe-tree-select/style/style.min.css +0 -1
  2005. package/lib/vxe-u-i/index.js +0 -22
  2006. package/lib/vxe-u-i/index.min.js +0 -1
  2007. package/lib/vxe-ui/index.js +0 -22
  2008. package/lib/vxe-ui/index.min.js +0 -1
  2009. package/lib/vxe-ui/style/index.js +0 -1
  2010. package/lib/vxe-ui/style/style.css +0 -0
  2011. package/lib/vxe-ui/style/style.min.css +0 -0
  2012. package/lib/vxe-upload/index.js +0 -22
  2013. package/lib/vxe-upload/index.min.js +0 -1
  2014. package/lib/vxe-upload/style/index.js +0 -1
  2015. package/lib/vxe-upload/style/style.css +0 -483
  2016. package/lib/vxe-upload/style/style.min.css +0 -1
  2017. package/lib/vxe-watermark/index.js +0 -22
  2018. package/lib/vxe-watermark/index.min.js +0 -1
  2019. package/lib/vxe-watermark/style/index.js +0 -1
  2020. package/lib/vxe-watermark/style/style.css +0 -30
  2021. package/lib/vxe-watermark/style/style.min.css +0 -1
  2022. package/lib/watermark/index.js +0 -31
  2023. package/lib/watermark/index.min.js +0 -1
  2024. package/lib/watermark/src/util.js +0 -164
  2025. package/lib/watermark/src/util.min.js +0 -1
  2026. package/lib/watermark/src/watermark.js +0 -170
  2027. package/lib/watermark/src/watermark.min.js +0 -1
  2028. package/lib/watermark/style/index.js +0 -1
  2029. package/lib/watermark/style/style.css +0 -30
  2030. package/lib/watermark/style/style.min.css +0 -1
@@ -1,1608 +0,0 @@
1
- import { defineVxeComponent } from '../../ui/src/comp';
2
- import XEUtils from 'xe-utils';
3
- import { VxeUI, getConfig, getI18n, getIcon, createEvent, globalEvents, globalMixins, renderEmptyElement, GLOBAL_EVENT_KEYS } from '../../ui';
4
- import { getDomNode, getEventTargetNode, toCssUnit } from '../../ui/src/dom';
5
- import { getLastZIndex, nextZIndex, getSubLastZIndex, nextSubZIndex, getFuncText, handleBooleanDefaultValue } from '../../ui/src/utils';
6
- import VxeButtonComponent from '../../button';
7
- import VxeLoadingComponent from '../../loading';
8
- import { getSlotVNs } from '../../ui/src/vn';
9
- import { createComponentLog } from '../../ui/src/log';
10
- const { warnLog, errLog } = createComponentLog('modal');
11
- export const allActiveModals = [];
12
- const msgQueue = [];
13
- const notifyQueue = [];
14
- const lockScrollAttrKey = 'data-vxe-lock-scroll';
15
- const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
16
- export default {
17
- name: 'VxeModal',
18
- mixins: [
19
- globalMixins.sizeMixin,
20
- globalMixins.permissionMixin
21
- ],
22
- props: {
23
- value: Boolean,
24
- id: String,
25
- type: {
26
- type: String,
27
- default: 'modal'
28
- },
29
- loading: {
30
- type: Boolean,
31
- default: null
32
- },
33
- status: String,
34
- iconStatus: String,
35
- className: String,
36
- top: {
37
- type: [Number, String],
38
- default: () => getConfig().modal.top
39
- },
40
- position: [String, Object],
41
- title: String,
42
- duration: {
43
- type: [Number, String],
44
- default: () => getConfig().modal.duration
45
- },
46
- content: [Number, String],
47
- useHtml: {
48
- type: Boolean,
49
- default: () => getConfig().modal.useHtml
50
- },
51
- showCancelButton: {
52
- type: Boolean,
53
- default: null
54
- },
55
- cancelButtonText: {
56
- type: String,
57
- default: () => getConfig().modal.cancelButtonText
58
- },
59
- showConfirmButton: {
60
- type: Boolean,
61
- default: () => getConfig().modal.showConfirmButton
62
- },
63
- confirmButtonText: {
64
- type: String,
65
- default: () => getConfig().modal.confirmButtonText
66
- },
67
- lockView: {
68
- type: Boolean,
69
- default: () => getConfig().modal.lockView
70
- },
71
- lockScroll: Boolean,
72
- mask: {
73
- type: Boolean,
74
- default: () => getConfig().modal.mask
75
- },
76
- maskClosable: {
77
- type: Boolean,
78
- default: () => getConfig().modal.maskClosable
79
- },
80
- escClosable: {
81
- type: Boolean,
82
- default: () => getConfig().modal.escClosable
83
- },
84
- cancelClosable: {
85
- type: Boolean,
86
- default: () => getConfig().modal.cancelClosable
87
- },
88
- confirmClosable: {
89
- type: Boolean,
90
- default: () => getConfig().modal.confirmClosable
91
- },
92
- resize: Boolean,
93
- showHeader: {
94
- type: Boolean,
95
- default: () => getConfig().modal.showHeader
96
- },
97
- showFooter: {
98
- type: Boolean,
99
- default: () => getConfig().modal.showFooter
100
- },
101
- preload: Boolean,
102
- showZoom: Boolean,
103
- zoomConfig: Object,
104
- showMaximize: {
105
- type: Boolean,
106
- default: () => handleBooleanDefaultValue(getConfig().modal.showMaximize)
107
- },
108
- showMinimize: {
109
- type: Boolean,
110
- default: () => handleBooleanDefaultValue(getConfig().modal.showMinimize)
111
- },
112
- showClose: {
113
- type: Boolean,
114
- default: () => getConfig().modal.showClose
115
- },
116
- dblclickZoom: {
117
- type: Boolean,
118
- default: () => getConfig().modal.dblclickZoom
119
- },
120
- width: {
121
- type: [Number, String],
122
- default: () => getConfig().modal.width
123
- },
124
- height: {
125
- type: [Number, String],
126
- default: () => getConfig().modal.height
127
- },
128
- minWidth: {
129
- type: [Number, String],
130
- default: () => getConfig().modal.minWidth
131
- },
132
- minHeight: {
133
- type: [Number, String],
134
- default: () => getConfig().modal.minHeight
135
- },
136
- zIndex: Number,
137
- marginSize: {
138
- type: [Number, String],
139
- default: () => getConfig().modal.marginSize
140
- },
141
- fullscreen: Boolean,
142
- draggable: {
143
- type: Boolean,
144
- default: () => getConfig().modal.draggable
145
- },
146
- remember: {
147
- type: Boolean,
148
- default: () => getConfig().modal.remember
149
- },
150
- destroyOnClose: {
151
- type: Boolean,
152
- default: () => getConfig().modal.destroyOnClose
153
- },
154
- showTitleOverflow: {
155
- type: Boolean,
156
- default: () => getConfig().modal.showTitleOverflow
157
- },
158
- transfer: {
159
- type: Boolean,
160
- default: () => getConfig().modal.transfer
161
- },
162
- storage: {
163
- type: Boolean,
164
- default: () => getConfig().modal.storage
165
- },
166
- storageKey: {
167
- type: String,
168
- default: () => getConfig().modal.storageKey
169
- },
170
- padding: {
171
- type: Boolean,
172
- default: () => getConfig().modal.padding
173
- },
174
- size: {
175
- type: String,
176
- default: () => getConfig().modal.size || getConfig().size
177
- },
178
- beforeHideMethod: Function,
179
- slots: Object,
180
- /**
181
- * 已废弃
182
- * @deprecated
183
- */
184
- message: [Number, String],
185
- /**
186
- * 已废弃
187
- * @deprecated
188
- */
189
- animat: {
190
- type: Boolean,
191
- default: () => getConfig().modal.animat
192
- }
193
- },
194
- inject: {
195
- $xeParentModal: {
196
- from: '$xeModal',
197
- default: null
198
- },
199
- $xeDrawer: {
200
- default: null
201
- },
202
- $xeTable: {
203
- default: null
204
- },
205
- $xeForm: {
206
- default: null
207
- }
208
- },
209
- provide() {
210
- const $xeModal = this;
211
- return {
212
- $xeModal
213
- };
214
- },
215
- data() {
216
- const xID = XEUtils.uniqueId();
217
- const reactData = {
218
- initialized: false,
219
- visible: false,
220
- contentVisible: false,
221
- modalTop: 0,
222
- modalZindex: 0,
223
- prevZoomStatus: '',
224
- zoomStatus: '',
225
- revertLocat: null,
226
- prevLocat: null,
227
- firstOpen: true,
228
- resizeFlag: 1
229
- };
230
- const internalData = {
231
- msgTimeout: undefined
232
- };
233
- return {
234
- xID,
235
- reactData,
236
- internalData
237
- };
238
- },
239
- computed: Object.assign(Object.assign({}, {}), { computeBtnTransfer() {
240
- const $xeSelect = this;
241
- const props = $xeSelect;
242
- const $xeTable = $xeSelect.$xeTable;
243
- const $xeParentModal = $xeSelect.$xeParentModal;
244
- const $xeDrawer = $xeSelect.$xeDrawer;
245
- const $xeForm = $xeSelect.$xeForm;
246
- const { transfer } = props;
247
- if (transfer === null) {
248
- const globalTransfer = getConfig().select.transfer;
249
- if (XEUtils.isBoolean(globalTransfer)) {
250
- return globalTransfer;
251
- }
252
- if ($xeTable || $xeParentModal || $xeDrawer || $xeForm) {
253
- return true;
254
- }
255
- }
256
- return transfer;
257
- },
258
- computeIsMsg() {
259
- const $xeModal = this;
260
- const props = $xeModal;
261
- return props.type === 'message' || props.type === 'notification';
262
- },
263
- computeIsMinimizeStatus() {
264
- const $xeModal = this;
265
- const reactData = $xeModal.reactData;
266
- return reactData.zoomStatus === 'minimize';
267
- },
268
- computeIsMaximizeStatus() {
269
- const $xeModal = this;
270
- const reactData = $xeModal.reactData;
271
- return reactData.zoomStatus === 'maximize';
272
- },
273
- computeZoomOpts() {
274
- const $xeModal = this;
275
- const props = $xeModal;
276
- return Object.assign({}, getConfig().modal.zoomConfig, props.zoomConfig);
277
- } }),
278
- watch: {
279
- width() {
280
- const $xeModal = this;
281
- $xeModal.recalculate();
282
- },
283
- height() {
284
- const $xeModal = this;
285
- $xeModal.recalculate();
286
- },
287
- value(val) {
288
- const $xeModal = this;
289
- if (val) {
290
- $xeModal.openModal();
291
- }
292
- else {
293
- $xeModal.closeModal('model');
294
- }
295
- }
296
- },
297
- methods: {
298
- //
299
- // Method
300
- //
301
- dispatchEvent(type, params, evnt) {
302
- const $xeModal = this;
303
- $xeModal.$emit(type, createEvent(evnt, { $modal: $xeModal }, params));
304
- },
305
- emitModel(value) {
306
- const $xeModal = this;
307
- const { _events } = $xeModal;
308
- $xeModal.$emit('input', value);
309
- if (_events && _events.modelValue) {
310
- $xeModal.$emit('modelValue', value);
311
- }
312
- else {
313
- $xeModal.$emit('model-value', value);
314
- }
315
- },
316
- callSlot(slotFunc, params, h) {
317
- const $xeModal = this;
318
- const slots = $xeModal.$scopedSlots;
319
- if (slotFunc) {
320
- if (XEUtils.isString(slotFunc)) {
321
- slotFunc = slots[slotFunc] || null;
322
- }
323
- if (XEUtils.isFunction(slotFunc)) {
324
- return getSlotVNs(slotFunc.call($xeModal, params, h));
325
- }
326
- }
327
- return [];
328
- },
329
- open() {
330
- const $xeModal = this;
331
- return $xeModal.openModal();
332
- },
333
- close() {
334
- const $xeModal = this;
335
- return $xeModal.closeModal('close');
336
- },
337
- getBox() {
338
- const $xeModal = this;
339
- const boxElem = $xeModal.$refs.refModalBox;
340
- return boxElem;
341
- },
342
- getPosition() {
343
- const $xeModal = this;
344
- const isMsg = $xeModal.computeIsMsg;
345
- if (!isMsg) {
346
- const boxElem = $xeModal.getBox();
347
- if (boxElem) {
348
- return {
349
- top: boxElem.offsetTop,
350
- left: boxElem.offsetLeft
351
- };
352
- }
353
- }
354
- return null;
355
- },
356
- setPosition(top, left) {
357
- const $xeModal = this;
358
- const isMsg = $xeModal.computeIsMsg;
359
- if (!isMsg) {
360
- const boxElem = $xeModal.getBox();
361
- if (boxElem) {
362
- if (XEUtils.isNumber(top)) {
363
- boxElem.style.top = `${top}px`;
364
- }
365
- if (XEUtils.isNumber(left)) {
366
- boxElem.style.left = `${left}px`;
367
- }
368
- }
369
- }
370
- return $xeModal.$nextTick();
371
- },
372
- isMinimized() {
373
- const $xeModal = this;
374
- const reactData = $xeModal.reactData;
375
- return reactData.zoomStatus === 'minimize';
376
- },
377
- isMaximized() {
378
- const $xeModal = this;
379
- const reactData = $xeModal.reactData;
380
- return reactData.zoomStatus === 'maximize';
381
- },
382
- zoom() {
383
- const $xeModal = this;
384
- return $xeModal.handleZoom();
385
- },
386
- minimize() {
387
- const $xeModal = this;
388
- const reactData = $xeModal.reactData;
389
- if (!reactData.visible) {
390
- return Promise.resolve({
391
- status: false
392
- });
393
- }
394
- return $xeModal.handleMinimize();
395
- },
396
- maximize() {
397
- const $xeModal = this;
398
- const reactData = $xeModal.reactData;
399
- if (!reactData.visible) {
400
- return Promise.resolve({
401
- status: false
402
- });
403
- }
404
- return $xeModal.handleMaximize();
405
- },
406
- revert() {
407
- const $xeModal = this;
408
- const reactData = $xeModal.reactData;
409
- if (!reactData.visible) {
410
- return Promise.resolve({
411
- status: false
412
- });
413
- }
414
- return $xeModal.handleRevert();
415
- },
416
- recalculate() {
417
- const $xeModal = this;
418
- const props = $xeModal;
419
- const { width, height, minWidth, minHeight } = props;
420
- const isMsg = $xeModal.computeIsMsg;
421
- const isMinimizeStatus = $xeModal.computeIsMinimizeStatus;
422
- const boxElem = $xeModal.getBox();
423
- if (boxElem) {
424
- boxElem.style.width = width ? toCssUnit(width) : '';
425
- boxElem.style.height = height ? toCssUnit(height) : '';
426
- boxElem.style.minWidth = !isMsg && !isMinimizeStatus && minWidth ? toCssUnit(minWidth) : '';
427
- boxElem.style.minHeight = !isMsg && !isMinimizeStatus && minHeight ? toCssUnit(minHeight) : '';
428
- }
429
- return $xeModal.$nextTick();
430
- },
431
- updateZindex() {
432
- const $xeModal = this;
433
- const props = $xeModal;
434
- const reactData = $xeModal.reactData;
435
- const { zIndex } = props;
436
- const { modalZindex } = reactData;
437
- if (zIndex) {
438
- reactData.modalZindex = zIndex;
439
- }
440
- else {
441
- const isMsg = $xeModal.computeIsMsg;
442
- if (isMsg) {
443
- if (modalZindex < getSubLastZIndex()) {
444
- reactData.modalZindex = nextSubZIndex();
445
- }
446
- }
447
- else {
448
- if (modalZindex < getLastZIndex()) {
449
- reactData.modalZindex = nextZIndex();
450
- }
451
- }
452
- }
453
- },
454
- updatePosition() {
455
- const $xeModal = this;
456
- const props = $xeModal;
457
- return $xeModal.$nextTick().then(() => {
458
- const { position } = props;
459
- const marginSize = XEUtils.toNumber(props.marginSize);
460
- const boxElem = $xeModal.getBox();
461
- if (!boxElem) {
462
- return;
463
- }
464
- const clientVisibleWidth = document.documentElement.clientWidth || document.body.clientWidth;
465
- const clientVisibleHeight = document.documentElement.clientHeight || document.body.clientHeight;
466
- const isPosCenter = position === 'center';
467
- const { top, left } = XEUtils.isString(position) ? { top: position, left: position } : Object.assign({}, position);
468
- const topCenter = isPosCenter || top === 'center';
469
- const leftCenter = isPosCenter || left === 'center';
470
- let posTop = '';
471
- let posLeft = '';
472
- if (left && !leftCenter) {
473
- posLeft = isNaN(left) ? left : `${left}px`;
474
- }
475
- else {
476
- posLeft = `${Math.max(marginSize, clientVisibleWidth / 2 - boxElem.offsetWidth / 2)}px`;
477
- }
478
- if (top && !topCenter) {
479
- posTop = isNaN(top) ? top : `${top}px`;
480
- }
481
- else {
482
- posTop = `${Math.max(marginSize, clientVisibleHeight / 2 - boxElem.offsetHeight / 2)}px`;
483
- }
484
- boxElem.style.top = posTop;
485
- boxElem.style.left = posLeft;
486
- });
487
- },
488
- updateStyle() {
489
- const $xeModal = this;
490
- const props = $xeModal;
491
- $xeModal.$nextTick(() => {
492
- const { type } = props;
493
- const queueList = type === 'notification' ? notifyQueue : msgQueue;
494
- let offsetTop = 0;
495
- queueList.forEach(comp => {
496
- const boxElem = comp.getBox();
497
- if (boxElem) {
498
- offsetTop += XEUtils.toNumber(comp.top);
499
- comp.reactData.modalTop = offsetTop;
500
- offsetTop += boxElem.clientHeight;
501
- }
502
- });
503
- });
504
- },
505
- removeActiveQueue() {
506
- const $xeModal = this;
507
- if (allActiveModals.indexOf($xeModal) > -1) {
508
- XEUtils.remove(allActiveModals, item => item === $xeModal);
509
- }
510
- },
511
- removeMsgQueue() {
512
- const $xeModal = this;
513
- const props = $xeModal;
514
- const { type } = props;
515
- const queueList = type === 'notification' ? notifyQueue : msgQueue;
516
- if (queueList.indexOf($xeModal) > -1) {
517
- XEUtils.remove(queueList, comp => comp === $xeModal);
518
- }
519
- $xeModal.updateStyle();
520
- },
521
- closeModal(type) {
522
- const $xeModal = this;
523
- const props = $xeModal;
524
- const reactData = $xeModal.reactData;
525
- const { remember } = props;
526
- const { visible } = reactData;
527
- const isMsg = $xeModal.computeIsMsg;
528
- const beforeHideFn = props.beforeHideMethod || getConfig().modal.beforeHideMethod;
529
- const params = { type };
530
- if (visible) {
531
- Promise.resolve(beforeHideFn ? beforeHideFn(params) : null).then((rest) => {
532
- if (!XEUtils.isError(rest)) {
533
- if (isMsg) {
534
- $xeModal.removeMsgQueue();
535
- }
536
- reactData.contentVisible = false;
537
- if (!remember) {
538
- $xeModal.handleRevert();
539
- }
540
- $xeModal.removeActiveQueue();
541
- $xeModal.dispatchEvent('before-hide', params, null);
542
- setTimeout(() => {
543
- reactData.visible = false;
544
- $xeModal.emitModel(false);
545
- $xeModal.dispatchEvent('hide', params, null);
546
- }, 200);
547
- $xeModal.removeBodyLockScroll();
548
- }
549
- }).catch(e => e);
550
- }
551
- return $xeModal.$nextTick();
552
- },
553
- closeEvent(evnt) {
554
- const $xeModal = this;
555
- const type = 'close';
556
- $xeModal.dispatchEvent(type, { type }, evnt);
557
- $xeModal.closeModal(type);
558
- },
559
- confirmEvent(evnt) {
560
- const $xeModal = this;
561
- const props = $xeModal;
562
- const { confirmClosable } = props;
563
- const type = 'confirm';
564
- $xeModal.dispatchEvent(type, { type }, evnt);
565
- if (confirmClosable) {
566
- $xeModal.closeModal(type);
567
- }
568
- },
569
- cancelEvent(evnt) {
570
- const $xeModal = this;
571
- const props = $xeModal;
572
- const { cancelClosable } = props;
573
- const type = 'cancel';
574
- $xeModal.dispatchEvent(type, { type }, evnt);
575
- if (cancelClosable) {
576
- $xeModal.closeModal(type);
577
- }
578
- },
579
- getStorageMap(key) {
580
- const version = getConfig().version;
581
- const rest = XEUtils.toStringJSON(localStorage.getItem(key) || '');
582
- return rest && rest._v === version ? rest : { _v: version };
583
- },
584
- hasPosStorage() {
585
- const $xeModal = this;
586
- const props = $xeModal;
587
- const { id, storage, storageKey } = props;
588
- return !!(id && storage && $xeModal.getStorageMap(storageKey)[id]);
589
- },
590
- restorePosStorage() {
591
- const $xeModal = this;
592
- const props = $xeModal;
593
- const reactData = $xeModal.reactData;
594
- const { id, storage, storageKey } = props;
595
- if (id && storage) {
596
- const posStorage = $xeModal.getStorageMap(storageKey)[id];
597
- if (posStorage) {
598
- const boxElem = $xeModal.getBox();
599
- const [left, top, width, height, zoomLeft, zoomTop, zoomWidth, zoomHeight] = posStorage.split(',');
600
- if (boxElem) {
601
- if (left) {
602
- boxElem.style.left = `${left}px`;
603
- }
604
- if (top) {
605
- boxElem.style.top = `${top}px`;
606
- }
607
- if (width) {
608
- boxElem.style.width = `${width}px`;
609
- }
610
- if (height) {
611
- boxElem.style.height = `${height}px`;
612
- }
613
- }
614
- if (zoomLeft && zoomTop) {
615
- reactData.revertLocat = {
616
- left: zoomLeft,
617
- top: zoomTop,
618
- width: zoomWidth,
619
- height: zoomHeight
620
- };
621
- }
622
- }
623
- }
624
- },
625
- addMsgQueue() {
626
- const $xeModal = this;
627
- const props = $xeModal;
628
- const { type } = props;
629
- const queueList = type === 'notification' ? notifyQueue : msgQueue;
630
- if (queueList.indexOf($xeModal) === -1) {
631
- queueList.push($xeModal);
632
- }
633
- $xeModal.updateStyle();
634
- },
635
- savePosStorage() {
636
- const $xeModal = this;
637
- const props = $xeModal;
638
- const reactData = $xeModal.reactData;
639
- const { id, storage, storageKey } = props;
640
- const { zoomStatus, revertLocat } = reactData;
641
- if (zoomStatus) {
642
- return;
643
- }
644
- if (id && storage) {
645
- const boxElem = $xeModal.getBox();
646
- if (!boxElem) {
647
- return;
648
- }
649
- const posStorageMap = $xeModal.getStorageMap(storageKey);
650
- posStorageMap[id] = [
651
- boxElem.style.left,
652
- boxElem.style.top,
653
- boxElem.clientWidth,
654
- boxElem.clientHeight
655
- ].concat(revertLocat
656
- ? [
657
- revertLocat.left,
658
- revertLocat.top,
659
- revertLocat.width,
660
- revertLocat.height
661
- ]
662
- : []).map(val => val ? XEUtils.toNumber(val) : '').join(',');
663
- localStorage.setItem(storageKey, XEUtils.toJSONString(posStorageMap));
664
- }
665
- },
666
- handleMinimize() {
667
- const $xeModal = this;
668
- const reactData = $xeModal.reactData;
669
- const zoomOpts = $xeModal.computeZoomOpts;
670
- const { minimizeLayout, minimizeMaxSize, minimizeHorizontalOffset, minimizeVerticalOffset, minimizeOffsetMethod } = zoomOpts;
671
- const isHorizontalLayout = minimizeLayout === 'horizontal';
672
- const prevZoomStatus = reactData.zoomStatus;
673
- const hlMList = [];
674
- const vlMList = [];
675
- allActiveModals.forEach(item => {
676
- if (item.xID !== $xeModal.xID && item.type === 'modal' && item.reactData.zoomStatus === 'minimize') {
677
- const itemZoomOpts = item.computeZoomOpts;
678
- if (itemZoomOpts.minimizeLayout === 'horizontal') {
679
- hlMList.push(item);
680
- }
681
- else {
682
- vlMList.push(item);
683
- }
684
- }
685
- });
686
- const mList = isHorizontalLayout ? hlMList : vlMList;
687
- // 如果配置最小化最大数量
688
- if (minimizeMaxSize && mList.length >= minimizeMaxSize) {
689
- if (VxeUI.modal) {
690
- VxeUI.modal.message({
691
- status: 'error',
692
- content: getI18n('vxe.modal.miniMaxSize', [minimizeMaxSize])
693
- });
694
- }
695
- return Promise.resolve({
696
- status: false
697
- });
698
- }
699
- reactData.prevZoomStatus = prevZoomStatus;
700
- reactData.zoomStatus = 'minimize';
701
- return $xeModal.$nextTick().then(() => {
702
- const boxElem = $xeModal.getBox();
703
- if (!boxElem) {
704
- return {
705
- status: false
706
- };
707
- }
708
- const headerEl = $xeModal.$refs.refHeaderElem;
709
- if (!headerEl) {
710
- return {
711
- status: false
712
- };
713
- }
714
- const { visibleHeight } = getDomNode();
715
- // 如果当前处于复原状态
716
- if (!prevZoomStatus) {
717
- reactData.revertLocat = {
718
- top: boxElem.offsetTop,
719
- left: boxElem.offsetLeft,
720
- width: boxElem.offsetWidth + (boxElem.style.width ? 0 : 1),
721
- height: boxElem.offsetHeight + (boxElem.style.height ? 0 : 1)
722
- };
723
- }
724
- const targetModal = XEUtils[isHorizontalLayout ? 'max' : 'min'](mList, ($modal) => {
725
- const boxElem = $modal.getBox();
726
- return boxElem ? XEUtils.toNumber(boxElem.style[isHorizontalLayout ? 'left' : 'top']) : 0;
727
- });
728
- let targetTop = visibleHeight - headerEl.offsetHeight - 16;
729
- let targetLeft = 16;
730
- if (targetModal) {
731
- const minBoxElem = targetModal.getBox();
732
- if (minBoxElem) {
733
- const boxLeft = XEUtils.toNumber(minBoxElem.style.left);
734
- const boxTop = XEUtils.toNumber(minBoxElem.style.top);
735
- let offsetObj = {};
736
- if (isHorizontalLayout) {
737
- offsetObj = Object.assign({}, minimizeHorizontalOffset);
738
- }
739
- else {
740
- offsetObj = Object.assign({}, minimizeVerticalOffset);
741
- }
742
- targetLeft = boxLeft + XEUtils.toNumber(offsetObj.left);
743
- targetTop = boxTop + XEUtils.toNumber(offsetObj.top);
744
- if (minimizeOffsetMethod) {
745
- offsetObj = minimizeOffsetMethod({
746
- $modal: $xeModal,
747
- left: targetLeft,
748
- top: targetTop
749
- });
750
- targetLeft = XEUtils.toNumber(offsetObj.left);
751
- targetTop = XEUtils.toNumber(offsetObj.top);
752
- }
753
- }
754
- }
755
- Object.assign(boxElem.style, {
756
- top: `${targetTop}px`,
757
- left: `${targetLeft}px`,
758
- width: '200px',
759
- height: `${headerEl.offsetHeight}px`,
760
- minHeight: '',
761
- minWidth: ''
762
- });
763
- $xeModal.savePosStorage();
764
- return {
765
- status: true
766
- };
767
- });
768
- },
769
- handleMaximize() {
770
- const $xeModal = this;
771
- const props = $xeModal;
772
- const reactData = $xeModal.reactData;
773
- const prevZoomStatus = reactData.zoomStatus;
774
- reactData.prevZoomStatus = prevZoomStatus;
775
- reactData.zoomStatus = 'maximize';
776
- return $xeModal.$nextTick().then(() => {
777
- const boxElem = $xeModal.getBox();
778
- if (boxElem) {
779
- // 如果当前处于复原状态
780
- if (!prevZoomStatus) {
781
- const marginSize = XEUtils.toNumber(props.marginSize);
782
- const clientVisibleWidth = document.documentElement.clientWidth || document.body.clientWidth;
783
- const clientVisibleHeight = document.documentElement.clientHeight || document.body.clientHeight;
784
- reactData.revertLocat = {
785
- top: Math.max(marginSize, clientVisibleHeight / 2 - boxElem.offsetHeight / 2),
786
- left: Math.max(marginSize, clientVisibleWidth / 2 - boxElem.offsetWidth / 2),
787
- width: boxElem.offsetWidth + (boxElem.style.width ? 0 : 1),
788
- height: boxElem.offsetHeight + (boxElem.style.height ? 0 : 1)
789
- };
790
- }
791
- Object.assign(boxElem.style, {
792
- top: '0',
793
- left: '0',
794
- width: '100%',
795
- height: '100%',
796
- minHeight: '',
797
- minWidth: ''
798
- });
799
- }
800
- $xeModal.savePosStorage();
801
- });
802
- },
803
- handleMsgAutoClose() {
804
- const $xeModal = this;
805
- const props = $xeModal;
806
- const internalData = $xeModal.internalData;
807
- const { duration } = props;
808
- if (duration !== -1) {
809
- internalData.msgTimeout = setTimeout(() => $xeModal.closeModal('close'), XEUtils.toNumber(duration));
810
- }
811
- },
812
- removeBodyLockScroll() {
813
- const $xeModal = this;
814
- const xID = $xeModal.xID;
815
- const htmlElem = document.documentElement;
816
- const lockData = htmlElem.getAttribute(lockScrollAttrKey);
817
- if (lockData) {
818
- const lockList = lockData.split(',').filter(key => key !== xID);
819
- if (lockList.length) {
820
- htmlElem.setAttribute(lockScrollAttrKey, lockList.join(','));
821
- }
822
- else {
823
- htmlElem.removeAttribute(lockScrollAttrKey);
824
- htmlElem.style.removeProperty(lockScrollCssWidthKey);
825
- }
826
- }
827
- },
828
- addBodyLockScroll() {
829
- const $xeModal = this;
830
- const props = $xeModal;
831
- const xID = $xeModal.xID;
832
- const { lockScroll } = props;
833
- const isMsg = $xeModal.computeIsMsg;
834
- if (lockScroll && !isMsg) {
835
- const htmlElem = document.documentElement;
836
- const clientWidth = document.body.clientWidth;
837
- const lockData = htmlElem.getAttribute(lockScrollAttrKey);
838
- const lockList = lockData ? lockData.split(',') : [];
839
- if (!lockList.includes(xID)) {
840
- lockList.push(xID);
841
- htmlElem.setAttribute(lockScrollAttrKey, lockList.join(','));
842
- }
843
- htmlElem.style.setProperty(lockScrollCssWidthKey, `${clientWidth}px`);
844
- }
845
- },
846
- openModal() {
847
- const $xeModal = this;
848
- const props = $xeModal;
849
- const reactData = $xeModal.reactData;
850
- const { remember, showFooter } = props;
851
- const { initialized, visible } = reactData;
852
- const isMsg = $xeModal.computeIsMsg;
853
- const btnTransfer = $xeModal.computeBtnTransfer;
854
- if (!initialized) {
855
- reactData.initialized = true;
856
- if (btnTransfer) {
857
- const panelElem = $xeModal.$refs.refElem;
858
- document.body.appendChild(panelElem);
859
- }
860
- }
861
- if (!visible) {
862
- $xeModal.addBodyLockScroll();
863
- reactData.visible = true;
864
- reactData.contentVisible = false;
865
- $xeModal.updateZindex();
866
- allActiveModals.push($xeModal);
867
- setTimeout(() => {
868
- reactData.contentVisible = true;
869
- $xeModal.$nextTick(() => {
870
- if (!props.fullscreen) {
871
- $xeModal.recalculate();
872
- }
873
- if (showFooter) {
874
- const confirmBtn = $xeModal.$refs.refConfirmBtn;
875
- const cancelBtn = $xeModal.$refs.refCancelBtn;
876
- const operBtn = confirmBtn || cancelBtn;
877
- if (operBtn) {
878
- operBtn.focus();
879
- }
880
- }
881
- const type = '';
882
- const params = { type };
883
- $xeModal.emitModel(true);
884
- $xeModal.dispatchEvent('show', params, null);
885
- });
886
- }, 10);
887
- if (isMsg) {
888
- $xeModal.addMsgQueue();
889
- $xeModal.handleMsgAutoClose();
890
- }
891
- else {
892
- $xeModal.$nextTick(() => {
893
- const { firstOpen } = reactData;
894
- if (firstOpen) {
895
- reactData.firstOpen = false;
896
- if ($xeModal.hasPosStorage()) {
897
- $xeModal.restorePosStorage();
898
- }
899
- else {
900
- if (props.fullscreen) {
901
- $xeModal.$nextTick(() => $xeModal.handleMaximize());
902
- }
903
- else {
904
- $xeModal.recalculate();
905
- $xeModal.updatePosition().then(() => {
906
- setTimeout(() => $xeModal.updatePosition(), 20);
907
- });
908
- }
909
- }
910
- }
911
- else {
912
- if (!remember) {
913
- $xeModal.recalculate();
914
- $xeModal.updatePosition().then(() => {
915
- setTimeout(() => $xeModal.updatePosition(), 20);
916
- });
917
- }
918
- }
919
- });
920
- }
921
- }
922
- return $xeModal.$nextTick();
923
- },
924
- selfClickEvent(evnt) {
925
- const $xeModal = this;
926
- const props = $xeModal;
927
- const el = $xeModal.$refs.refElem;
928
- if (props.maskClosable && evnt.target === el) {
929
- const type = 'mask';
930
- $xeModal.closeModal(type);
931
- }
932
- },
933
- selfMouseoverEvent() {
934
- const $xeModal = this;
935
- const internalData = $xeModal.internalData;
936
- const { msgTimeout } = internalData;
937
- if (!msgTimeout) {
938
- return;
939
- }
940
- const isMsg = $xeModal.computeIsMsg;
941
- if (isMsg) {
942
- clearTimeout(msgTimeout);
943
- internalData.msgTimeout = undefined;
944
- }
945
- },
946
- selfMouseoutEvent() {
947
- const $xeModal = this;
948
- const internalData = $xeModal.internalData;
949
- const { msgTimeout } = internalData;
950
- if (!msgTimeout) {
951
- const isMsg = $xeModal.computeIsMsg;
952
- if (isMsg) {
953
- $xeModal.handleMsgAutoClose();
954
- }
955
- }
956
- },
957
- handleGlobalKeydownEvent(evnt) {
958
- const $xeModal = this;
959
- const isEsc = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ESCAPE);
960
- if (isEsc) {
961
- const lastModal = XEUtils.max(allActiveModals, (item) => item.reactData.modalZindex);
962
- // 多个时,只关掉最上层的窗口
963
- if (lastModal) {
964
- setTimeout(() => {
965
- if (lastModal === $xeModal && lastModal.escClosable) {
966
- const type = 'exit';
967
- $xeModal.dispatchEvent('close', { type }, evnt);
968
- $xeModal.closeModal(type);
969
- }
970
- }, 10);
971
- }
972
- }
973
- },
974
- handleRevert() {
975
- const $xeModal = this;
976
- const reactData = $xeModal.reactData;
977
- reactData.prevZoomStatus = reactData.zoomStatus;
978
- reactData.zoomStatus = '';
979
- return $xeModal.$nextTick().then(() => {
980
- const { revertLocat } = reactData;
981
- if (revertLocat) {
982
- const boxElem = $xeModal.getBox();
983
- reactData.revertLocat = null;
984
- if (boxElem) {
985
- Object.assign(boxElem.style, {
986
- top: `${revertLocat.top}px`,
987
- left: `${revertLocat.left}px`,
988
- width: `${revertLocat.width}px`,
989
- height: `${revertLocat.height}px`
990
- });
991
- }
992
- $xeModal.savePosStorage();
993
- return $xeModal.$nextTick().then(() => {
994
- return {
995
- status: true
996
- };
997
- });
998
- }
999
- return {
1000
- status: false
1001
- };
1002
- });
1003
- },
1004
- handleZoom(type) {
1005
- const $xeModal = this;
1006
- const reactData = $xeModal.reactData;
1007
- const { zoomStatus } = reactData;
1008
- return new Promise(resolve => {
1009
- if (type) {
1010
- if (type === 'maximize') {
1011
- resolve($xeModal.handleMaximize());
1012
- return;
1013
- }
1014
- if (type === 'minimize') {
1015
- resolve($xeModal.handleMinimize());
1016
- return;
1017
- }
1018
- resolve($xeModal.handleRevert());
1019
- return;
1020
- }
1021
- resolve(zoomStatus ? $xeModal.handleRevert() : $xeModal.handleMaximize());
1022
- }).then(() => {
1023
- return reactData.zoomStatus || 'revert';
1024
- });
1025
- },
1026
- toggleZoomMinEvent(evnt) {
1027
- const $xeModal = this;
1028
- const reactData = $xeModal.reactData;
1029
- const { zoomStatus, prevZoomStatus } = reactData;
1030
- return $xeModal.handleZoom(zoomStatus === 'minimize' ? (prevZoomStatus || 'revert') : 'minimize').then((type) => {
1031
- const params = { type };
1032
- $xeModal.dispatchEvent('zoom', params, evnt);
1033
- });
1034
- },
1035
- toggleZoomMaxEvent(evnt) {
1036
- const $xeModal = this;
1037
- return $xeModal.handleZoom().then((type) => {
1038
- const params = { type };
1039
- $xeModal.dispatchEvent('zoom', params, evnt);
1040
- });
1041
- },
1042
- boxMousedownEvent() {
1043
- const $xeModal = this;
1044
- const reactData = $xeModal.reactData;
1045
- const { modalZindex } = reactData;
1046
- if (allActiveModals.some(comp => comp.reactData.visible && comp.reactData.modalZindex > modalZindex)) {
1047
- $xeModal.updateZindex();
1048
- }
1049
- },
1050
- mousedownEvent(evnt) {
1051
- const $xeModal = this;
1052
- const props = $xeModal;
1053
- const reactData = $xeModal.reactData;
1054
- const { storage } = props;
1055
- const { zoomStatus } = reactData;
1056
- const marginSize = XEUtils.toNumber(props.marginSize);
1057
- const boxElem = $xeModal.getBox();
1058
- if (!boxElem) {
1059
- return;
1060
- }
1061
- if (zoomStatus !== 'maximize' && evnt.button === 0 && !getEventTargetNode(evnt, boxElem, 'trigger--btn').flag) {
1062
- evnt.preventDefault();
1063
- const disX = evnt.clientX - boxElem.offsetLeft;
1064
- const disY = evnt.clientY - boxElem.offsetTop;
1065
- const { visibleHeight, visibleWidth } = getDomNode();
1066
- document.onmousemove = evnt => {
1067
- evnt.preventDefault();
1068
- const offsetWidth = boxElem.offsetWidth;
1069
- const offsetHeight = boxElem.offsetHeight;
1070
- const minX = marginSize;
1071
- const maxX = visibleWidth - offsetWidth - marginSize - 1;
1072
- const minY = marginSize;
1073
- const maxY = visibleHeight - offsetHeight - marginSize - 1;
1074
- let left = evnt.clientX - disX;
1075
- let top = evnt.clientY - disY;
1076
- if (left > maxX) {
1077
- left = maxX;
1078
- }
1079
- if (left < minX) {
1080
- left = minX;
1081
- }
1082
- if (top > maxY) {
1083
- top = maxY;
1084
- }
1085
- if (top < minY) {
1086
- top = minY;
1087
- }
1088
- boxElem.style.left = `${left}px`;
1089
- boxElem.style.top = `${top}px`;
1090
- boxElem.className = boxElem.className.replace(/\s?is--drag/, '') + ' is--drag';
1091
- $xeModal.$emit('move', createEvent(evnt, { type: 'move' }));
1092
- reactData.resizeFlag++;
1093
- };
1094
- document.onmouseup = () => {
1095
- document.onmousemove = null;
1096
- document.onmouseup = null;
1097
- if (storage) {
1098
- $xeModal.$nextTick(() => {
1099
- $xeModal.savePosStorage();
1100
- });
1101
- }
1102
- reactData.resizeFlag++;
1103
- setTimeout(() => {
1104
- boxElem.className = boxElem.className.replace(/\s?is--drag/, '');
1105
- }, 50);
1106
- };
1107
- }
1108
- },
1109
- dragEvent(evnt) {
1110
- const $xeModal = this;
1111
- const props = $xeModal;
1112
- const reactData = $xeModal.reactData;
1113
- evnt.preventDefault();
1114
- const { storage } = props;
1115
- const { visibleHeight, visibleWidth } = getDomNode();
1116
- const marginSize = XEUtils.toNumber(props.marginSize);
1117
- const targetElem = evnt.target;
1118
- const type = targetElem.getAttribute('type');
1119
- const minWidth = XEUtils.toNumber(props.minWidth);
1120
- const minHeight = XEUtils.toNumber(props.minHeight);
1121
- const maxWidth = visibleWidth;
1122
- const maxHeight = visibleHeight;
1123
- const boxElem = $xeModal.getBox();
1124
- const clientWidth = boxElem.clientWidth;
1125
- const clientHeight = boxElem.clientHeight;
1126
- const disX = evnt.clientX;
1127
- const disY = evnt.clientY;
1128
- const offsetTop = boxElem.offsetTop;
1129
- const offsetLeft = boxElem.offsetLeft;
1130
- const params = { type: 'resize' };
1131
- document.onmousemove = evnt => {
1132
- evnt.preventDefault();
1133
- let dragLeft;
1134
- let dragTop;
1135
- let width;
1136
- let height;
1137
- switch (type) {
1138
- case 'wl':
1139
- dragLeft = disX - evnt.clientX;
1140
- width = dragLeft + clientWidth;
1141
- if (offsetLeft - dragLeft > marginSize) {
1142
- if (width > minWidth) {
1143
- boxElem.style.width = `${width < maxWidth ? width : maxWidth}px`;
1144
- boxElem.style.left = `${offsetLeft - dragLeft}px`;
1145
- }
1146
- }
1147
- break;
1148
- case 'swst':
1149
- dragLeft = disX - evnt.clientX;
1150
- dragTop = disY - evnt.clientY;
1151
- width = dragLeft + clientWidth;
1152
- height = dragTop + clientHeight;
1153
- if (offsetLeft - dragLeft > marginSize) {
1154
- if (width > minWidth) {
1155
- boxElem.style.width = `${width < maxWidth ? width : maxWidth}px`;
1156
- boxElem.style.left = `${offsetLeft - dragLeft}px`;
1157
- }
1158
- }
1159
- if (offsetTop - dragTop > marginSize) {
1160
- if (height > minHeight) {
1161
- boxElem.style.height = `${height < maxHeight ? height : maxHeight}px`;
1162
- boxElem.style.top = `${offsetTop - dragTop}px`;
1163
- }
1164
- }
1165
- break;
1166
- case 'swlb':
1167
- dragLeft = disX - evnt.clientX;
1168
- dragTop = evnt.clientY - disY;
1169
- width = dragLeft + clientWidth;
1170
- height = dragTop + clientHeight;
1171
- if (offsetLeft - dragLeft > marginSize) {
1172
- if (width > minWidth) {
1173
- boxElem.style.width = `${width < maxWidth ? width : maxWidth}px`;
1174
- boxElem.style.left = `${offsetLeft - dragLeft}px`;
1175
- }
1176
- }
1177
- if (offsetTop + height + marginSize < visibleHeight) {
1178
- if (height > minHeight) {
1179
- boxElem.style.height = `${height < maxHeight ? height : maxHeight}px`;
1180
- }
1181
- }
1182
- break;
1183
- case 'st':
1184
- dragTop = disY - evnt.clientY;
1185
- height = clientHeight + dragTop;
1186
- if (offsetTop - dragTop > marginSize) {
1187
- if (height > minHeight) {
1188
- boxElem.style.height = `${height < maxHeight ? height : maxHeight}px`;
1189
- boxElem.style.top = `${offsetTop - dragTop}px`;
1190
- }
1191
- }
1192
- break;
1193
- case 'wr':
1194
- dragLeft = evnt.clientX - disX;
1195
- width = dragLeft + clientWidth;
1196
- if (offsetLeft + width + marginSize < visibleWidth) {
1197
- if (width > minWidth) {
1198
- boxElem.style.width = `${width < maxWidth ? width : maxWidth}px`;
1199
- }
1200
- }
1201
- break;
1202
- case 'sest':
1203
- dragLeft = evnt.clientX - disX;
1204
- dragTop = disY - evnt.clientY;
1205
- width = dragLeft + clientWidth;
1206
- height = dragTop + clientHeight;
1207
- if (offsetLeft + width + marginSize < visibleWidth) {
1208
- if (width > minWidth) {
1209
- boxElem.style.width = `${width < maxWidth ? width : maxWidth}px`;
1210
- }
1211
- }
1212
- if (offsetTop - dragTop > marginSize) {
1213
- if (height > minHeight) {
1214
- boxElem.style.height = `${height < maxHeight ? height : maxHeight}px`;
1215
- boxElem.style.top = `${offsetTop - dragTop}px`;
1216
- }
1217
- }
1218
- break;
1219
- case 'selb':
1220
- dragLeft = evnt.clientX - disX;
1221
- dragTop = evnt.clientY - disY;
1222
- width = dragLeft + clientWidth;
1223
- height = dragTop + clientHeight;
1224
- if (offsetLeft + width + marginSize < visibleWidth) {
1225
- if (width > minWidth) {
1226
- boxElem.style.width = `${width < maxWidth ? width : maxWidth}px`;
1227
- }
1228
- }
1229
- if (offsetTop + height + marginSize < visibleHeight) {
1230
- if (height > minHeight) {
1231
- boxElem.style.height = `${height < maxHeight ? height : maxHeight}px`;
1232
- }
1233
- }
1234
- break;
1235
- case 'sb':
1236
- dragTop = evnt.clientY - disY;
1237
- height = dragTop + clientHeight;
1238
- if (offsetTop + height + marginSize < visibleHeight) {
1239
- if (height > minHeight) {
1240
- boxElem.style.height = `${height < maxHeight ? height : maxHeight}px`;
1241
- }
1242
- }
1243
- break;
1244
- }
1245
- boxElem.className = boxElem.className.replace(/\s?is--drag/, '') + ' is--drag';
1246
- if (storage) {
1247
- $xeModal.savePosStorage();
1248
- }
1249
- $xeModal.dispatchEvent('resize', params, evnt);
1250
- };
1251
- document.onmouseup = () => {
1252
- reactData.revertLocat = null;
1253
- document.onmousemove = null;
1254
- document.onmouseup = null;
1255
- setTimeout(() => {
1256
- boxElem.className = boxElem.className.replace(/\s?is--drag/, '');
1257
- }, 50);
1258
- };
1259
- },
1260
- //
1261
- // Render
1262
- //
1263
- renderTitles(h) {
1264
- const $xeModal = this;
1265
- const props = $xeModal;
1266
- const slots = $xeModal.$scopedSlots;
1267
- const reactData = $xeModal.reactData;
1268
- const { slots: propSlots = {}, showClose, showZoom, showMaximize, showMinimize, title } = props;
1269
- const { zoomStatus } = reactData;
1270
- const titleSlot = slots.title || propSlots.title;
1271
- const cornerSlot = slots.corner || propSlots.corner;
1272
- const isMinimizeStatus = $xeModal.computeIsMinimizeStatus;
1273
- const isMaximizeStatus = $xeModal.computeIsMaximizeStatus;
1274
- return [
1275
- h('div', {
1276
- class: 'vxe-modal--header-title'
1277
- }, titleSlot
1278
- ? $xeModal.callSlot(titleSlot, {
1279
- $modal: $xeModal,
1280
- minimized: isMinimizeStatus,
1281
- maximized: isMaximizeStatus
1282
- }, h)
1283
- : (title ? getFuncText(title) : getI18n('vxe.alert.title'))),
1284
- h('div', {
1285
- class: 'vxe-modal--header-right'
1286
- }, [
1287
- cornerSlot && !isMinimizeStatus
1288
- ? h('div', {
1289
- class: 'vxe-modal--corner-wrapper'
1290
- }, $xeModal.callSlot(cornerSlot, { $modal: $xeModal }, h))
1291
- : renderEmptyElement($xeModal),
1292
- (XEUtils.isBoolean(showMinimize) ? showMinimize : showZoom)
1293
- ? h('div', {
1294
- class: ['vxe-modal--zoom-btn', 'trigger--btn'],
1295
- attrs: {
1296
- title: getI18n(`vxe.modal.zoom${zoomStatus === 'minimize' ? 'Out' : 'Min'}`)
1297
- },
1298
- on: {
1299
- click: $xeModal.toggleZoomMinEvent
1300
- }
1301
- }, [
1302
- h('i', {
1303
- class: zoomStatus === 'minimize' ? getIcon().MODAL_ZOOM_REVERT : getIcon().MODAL_ZOOM_MIN
1304
- })
1305
- ])
1306
- : renderEmptyElement($xeModal),
1307
- (XEUtils.isBoolean(showMaximize) ? showMaximize : showZoom) && zoomStatus !== 'minimize'
1308
- ? h('div', {
1309
- class: ['vxe-modal--zoom-btn', 'trigger--btn'],
1310
- attrs: {
1311
- title: getI18n(`vxe.modal.zoom${zoomStatus === 'maximize' ? 'Out' : 'In'}`)
1312
- },
1313
- on: {
1314
- click: $xeModal.toggleZoomMaxEvent
1315
- }
1316
- }, [
1317
- h('i', {
1318
- class: zoomStatus === 'maximize' ? getIcon().MODAL_ZOOM_OUT : getIcon().MODAL_ZOOM_IN
1319
- })
1320
- ])
1321
- : renderEmptyElement($xeModal),
1322
- showClose
1323
- ? h('div', {
1324
- class: ['vxe-modal--close-btn', 'trigger--btn'],
1325
- attrs: {
1326
- title: getI18n('vxe.modal.close')
1327
- },
1328
- on: {
1329
- click: $xeModal.closeEvent
1330
- }
1331
- }, [
1332
- h('i', {
1333
- class: getIcon().MODAL_CLOSE
1334
- })
1335
- ])
1336
- : renderEmptyElement($xeModal)
1337
- ])
1338
- ];
1339
- },
1340
- renderHeader(h) {
1341
- const $xeModal = this;
1342
- const props = $xeModal;
1343
- const slots = $xeModal.$scopedSlots;
1344
- const { slots: propSlots = {}, showZoom, showMaximize, draggable } = props;
1345
- const headerSlot = slots.header || propSlots.header;
1346
- if (props.showHeader) {
1347
- const headerOns = {};
1348
- if (draggable) {
1349
- headerOns.mousedown = $xeModal.mousedownEvent;
1350
- }
1351
- if ((XEUtils.isBoolean(showMaximize) ? showMaximize : showZoom) && props.dblclickZoom && props.type === 'modal') {
1352
- headerOns.dblclick = $xeModal.toggleZoomMaxEvent;
1353
- }
1354
- return h('div', {
1355
- ref: 'refHeaderElem',
1356
- class: ['vxe-modal--header', {
1357
- 'is--ellipsis': props.showTitleOverflow
1358
- }],
1359
- on: headerOns
1360
- }, headerSlot ? $xeModal.callSlot(headerSlot, { $modal: $xeModal }, h) : $xeModal.renderTitles(h));
1361
- }
1362
- return renderEmptyElement($xeModal);
1363
- },
1364
- renderBody(h) {
1365
- const $xeModal = this;
1366
- const props = $xeModal;
1367
- const slots = $xeModal.$scopedSlots;
1368
- const { slots: propSlots = {}, status, message, iconStatus, useHtml } = props;
1369
- const content = props.content || message;
1370
- const isMsg = $xeModal.computeIsMsg;
1371
- const defaultSlot = slots.default || propSlots.default;
1372
- const leftSlot = slots.left || propSlots.left;
1373
- const rightSlot = slots.right || propSlots.right;
1374
- const contVNs = [];
1375
- if (!isMsg && (status || iconStatus)) {
1376
- contVNs.push(h('div', {
1377
- class: 'vxe-modal--status-wrapper'
1378
- }, [
1379
- h('i', {
1380
- class: ['vxe-modal--status-icon', iconStatus || getIcon()[`MODAL_${status}`.toLocaleUpperCase()]]
1381
- })
1382
- ]));
1383
- }
1384
- contVNs.push(useHtml && !defaultSlot
1385
- ? h('div', {
1386
- key: 'hc',
1387
- class: 'vxe-modal--content',
1388
- domProps: {
1389
- innerHTML: getFuncText(content)
1390
- }
1391
- })
1392
- : h('div', {
1393
- key: 'dc',
1394
- class: 'vxe-modal--content'
1395
- }, defaultSlot ? $xeModal.callSlot(defaultSlot, { $modal: $xeModal }, h) : getFuncText(content)));
1396
- return h('div', {
1397
- class: 'vxe-modal--body'
1398
- }, [
1399
- leftSlot
1400
- ? h('div', {
1401
- class: 'vxe-modal--body-left'
1402
- }, $xeModal.callSlot(leftSlot, { $modal: $xeModal }, h))
1403
- : renderEmptyElement($xeModal),
1404
- h('div', {
1405
- class: 'vxe-modal--body-default'
1406
- }, contVNs),
1407
- rightSlot
1408
- ? h('div', {
1409
- class: 'vxe-modal--body-right'
1410
- }, $xeModal.callSlot(rightSlot, { $modal: $xeModal }, h))
1411
- : renderEmptyElement($xeModal),
1412
- isMsg
1413
- ? renderEmptyElement($xeModal)
1414
- : h(VxeLoadingComponent, {
1415
- class: 'vxe-modal--loading',
1416
- props: {
1417
- value: props.loading
1418
- }
1419
- })
1420
- ]);
1421
- },
1422
- renderDefaultFooter(h) {
1423
- const $xeModal = this;
1424
- const props = $xeModal;
1425
- const slots = $xeModal.$scopedSlots;
1426
- const { slots: propSlots = {}, showCancelButton, showConfirmButton, type, loading } = props;
1427
- const lfSlot = slots.leftfoot || propSlots.leftfoot;
1428
- const rfSlot = slots.rightfoot || propSlots.rightfoot;
1429
- const btnVNs = [];
1430
- if (XEUtils.isBoolean(showCancelButton) ? showCancelButton : type === 'confirm') {
1431
- btnVNs.push(h(VxeButtonComponent, {
1432
- key: 1,
1433
- ref: 'refCancelBtn',
1434
- props: {
1435
- content: props.cancelButtonText || getI18n('vxe.button.cancel')
1436
- },
1437
- on: {
1438
- click: $xeModal.cancelEvent
1439
- }
1440
- }));
1441
- }
1442
- if (XEUtils.isBoolean(showConfirmButton) ? showConfirmButton : (type === 'confirm' || type === 'alert')) {
1443
- btnVNs.push(h(VxeButtonComponent, {
1444
- key: 2,
1445
- ref: 'refConfirmBtn',
1446
- props: {
1447
- status: 'primary',
1448
- loading: loading,
1449
- content: props.confirmButtonText || getI18n('vxe.button.confirm')
1450
- },
1451
- on: {
1452
- click: $xeModal.confirmEvent
1453
- }
1454
- }));
1455
- }
1456
- return h('div', {
1457
- class: 'vxe-modal--footer-wrapper'
1458
- }, [
1459
- h('div', {
1460
- class: 'vxe-modal--footer-left'
1461
- }, lfSlot ? $xeModal.callSlot(lfSlot, { $modal: $xeModal }, h) : []),
1462
- h('div', {
1463
- class: 'vxe-modal--footer-right'
1464
- }, rfSlot ? $xeModal.callSlot(rfSlot, { $modal: $xeModal }, h) : btnVNs)
1465
- ]);
1466
- },
1467
- renderFooter(h) {
1468
- const $xeModal = this;
1469
- const props = $xeModal;
1470
- const slots = $xeModal.$scopedSlots;
1471
- const { slots: propSlots = {} } = props;
1472
- const footerSlot = slots.footer || propSlots.footer;
1473
- if (props.showFooter) {
1474
- return h('div', {
1475
- class: 'vxe-modal--footer'
1476
- }, footerSlot ? $xeModal.callSlot(footerSlot, { $modal: $xeModal }, h) : [$xeModal.renderDefaultFooter(h)]);
1477
- }
1478
- return renderEmptyElement($xeModal);
1479
- },
1480
- renderVN(h) {
1481
- const $xeModal = this;
1482
- const props = $xeModal;
1483
- const slots = $xeModal.$scopedSlots;
1484
- const reactData = $xeModal.reactData;
1485
- const { slots: propSlots = {}, className, type, animat, draggable, iconStatus, position, loading, destroyOnClose, status, lockScroll, padding, lockView, mask, resize } = props;
1486
- const { initialized, modalTop, contentVisible, visible, zoomStatus } = reactData;
1487
- const asideSlot = slots.aside || propSlots.aside;
1488
- const vSize = $xeModal.computeSize;
1489
- const isMsg = $xeModal.computeIsMsg;
1490
- const isMinimizeStatus = $xeModal.computeIsMinimizeStatus;
1491
- const ons = {};
1492
- if (isMsg) {
1493
- ons.mouseover = $xeModal.selfMouseoverEvent;
1494
- ons.mouseout = $xeModal.selfMouseoutEvent;
1495
- }
1496
- return h('div', {
1497
- ref: 'refElem',
1498
- class: ['vxe-modal--wrapper', `type--${type}`, `zoom--${zoomStatus || 'revert'}`, className || '', position ? `pos--${position}` : '', {
1499
- [`size--${vSize}`]: vSize,
1500
- [`status--${status}`]: status,
1501
- 'is--padding': padding,
1502
- 'is--animat': animat,
1503
- 'lock--scroll': lockScroll,
1504
- 'lock--view': lockView,
1505
- 'is--draggable': draggable,
1506
- 'is--resize': resize,
1507
- 'is--mask': mask,
1508
- 'is--visible': contentVisible,
1509
- 'is--active': visible,
1510
- 'is--loading': loading
1511
- }],
1512
- style: {
1513
- zIndex: reactData.modalZindex,
1514
- top: modalTop ? `${modalTop}px` : null
1515
- },
1516
- on: Object.assign(Object.assign({}, ons), { click: $xeModal.selfClickEvent })
1517
- }, initialized
1518
- ? [
1519
- h('div', {
1520
- ref: 'refModalBox',
1521
- class: 'vxe-modal--box',
1522
- on: {
1523
- mousedown: $xeModal.boxMousedownEvent
1524
- }
1525
- }, [
1526
- (isMsg || asideSlot) && !isMinimizeStatus
1527
- ? h('div', {
1528
- class: 'vxe-modal--aside'
1529
- }, asideSlot
1530
- ? $xeModal.callSlot(asideSlot, { $modal: $xeModal }, h)
1531
- : [
1532
- status || iconStatus
1533
- ? h('div', {
1534
- class: 'vxe-modal--status-wrapper'
1535
- }, [
1536
- h('i', {
1537
- class: ['vxe-modal--status-icon', iconStatus || getIcon()[`MODAL_${status}`.toLocaleUpperCase()]]
1538
- })
1539
- ])
1540
- : renderEmptyElement($xeModal)
1541
- ])
1542
- : renderEmptyElement($xeModal),
1543
- h('div', {
1544
- class: 'vxe-modal--container'
1545
- }, !reactData.initialized || (destroyOnClose && !reactData.visible)
1546
- ? []
1547
- : [
1548
- $xeModal.renderHeader(h),
1549
- $xeModal.renderBody(h),
1550
- $xeModal.renderFooter(h),
1551
- !isMsg && resize
1552
- ? h('span', {
1553
- class: 'vxe-modal--resize'
1554
- }, ['wl', 'wr', 'swst', 'sest', 'st', 'swlb', 'selb', 'sb'].map(type => {
1555
- return h('span', {
1556
- class: `${type}-resize`,
1557
- attrs: {
1558
- type: type
1559
- },
1560
- on: {
1561
- mousedown: $xeModal.dragEvent
1562
- }
1563
- });
1564
- }))
1565
- : renderEmptyElement($xeModal)
1566
- ])
1567
- ])
1568
- ]
1569
- : []);
1570
- }
1571
- },
1572
- mounted() {
1573
- const $xeModal = this;
1574
- const slots = $xeModal.$scopedSlots;
1575
- const props = $xeModal;
1576
- const reactData = $xeModal.reactData;
1577
- if (props.type === 'modal' && props.showFooter && !(props.showConfirmButton || props.showCancelButton || slots.footer)) {
1578
- warnLog('vxe.modal.footPropErr');
1579
- }
1580
- reactData.initialized = !!props.preload;
1581
- $xeModal.$nextTick(() => {
1582
- if (props.storage && !props.id) {
1583
- errLog('vxe.error.reqProp', ['[modal] id']);
1584
- }
1585
- if (props.value) {
1586
- $xeModal.openModal();
1587
- }
1588
- $xeModal.recalculate();
1589
- });
1590
- if (props.escClosable) {
1591
- globalEvents.on($xeModal, 'keydown', $xeModal.handleGlobalKeydownEvent);
1592
- }
1593
- },
1594
- beforeDestroy() {
1595
- const $xeModal = this;
1596
- const panelElem = $xeModal.$refs.refElem;
1597
- if (panelElem && panelElem.parentNode) {
1598
- panelElem.parentNode.removeChild(panelElem);
1599
- }
1600
- globalEvents.off($xeModal, 'keydown');
1601
- $xeModal.removeMsgQueue();
1602
- $xeModal.removeActiveQueue();
1603
- $xeModal.removeBodyLockScroll();
1604
- },
1605
- render(h) {
1606
- return this.renderVN(h);
1607
- }
1608
- };