vxe-pc-ui 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (367) hide show
  1. package/README.md +23 -25
  2. package/es/calendar/index.js +12 -0
  3. package/es/calendar/src/calendar.js +1227 -0
  4. package/es/calendar/style.css +247 -0
  5. package/es/calendar/style.min.css +1 -0
  6. package/es/checkbox/src/checkbox.js +6 -1
  7. package/es/checkbox/src/group.js +6 -1
  8. package/es/collapse/index.js +12 -0
  9. package/es/collapse/src/collapse-pane.js +39 -0
  10. package/es/collapse/src/collapse.js +39 -0
  11. package/es/collapse/style.css +0 -0
  12. package/es/collapse/style.min.css +0 -0
  13. package/es/collapse-pane/index.js +12 -0
  14. package/es/collapse-pane/style.css +0 -0
  15. package/es/collapse-pane/style.min.css +0 -0
  16. package/es/components.js +27 -27
  17. package/es/date-picker/src/date-picker.js +17 -13
  18. package/es/drawer/src/drawer.js +17 -12
  19. package/es/form/index.js +13 -0
  20. package/es/form/render/index.js +461 -0
  21. package/es/form/src/form-config-item.js +201 -0
  22. package/es/form/src/form-gather.js +87 -0
  23. package/es/form/src/form-item.js +291 -0
  24. package/es/form/src/form.js +762 -0
  25. package/es/form/src/itemInfo.js +43 -0
  26. package/es/form/src/render.js +78 -0
  27. package/es/form/src/util.js +66 -0
  28. package/es/form/style.css +470 -0
  29. package/es/form/style.min.css +1 -0
  30. package/es/form-gather/index.js +12 -0
  31. package/es/form-gather/style.css +0 -0
  32. package/es/form-gather/style.min.css +0 -0
  33. package/es/form-item/index.js +12 -0
  34. package/es/form-item/style.css +0 -0
  35. package/es/form-item/style.min.css +0 -0
  36. package/es/icon/style.css +1 -1
  37. package/es/icon-picker/src/icon-picker.js +5 -1
  38. package/es/image/src/preview.js +1 -2
  39. package/es/input/src/input.js +19 -15
  40. package/es/list/index.js +12 -0
  41. package/es/list/src/list.js +373 -0
  42. package/es/list/style.css +28 -0
  43. package/es/list/style.min.css +1 -0
  44. package/es/loading/src/loading.js +5 -0
  45. package/es/menu/src/menu.js +6 -2
  46. package/es/modal/src/modal.js +7 -4
  47. package/es/number-input/src/number-input.js +11 -7
  48. package/es/pager/style.css +303 -0
  49. package/es/pager/style.min.css +1 -0
  50. package/es/password-input/src/password-input.js +7 -3
  51. package/es/pulldown/src/pulldown.js +6 -2
  52. package/es/radio/src/button.js +6 -2
  53. package/es/radio/src/group.js +6 -2
  54. package/es/radio/src/radio.js +6 -2
  55. package/es/select/src/select.js +16 -1
  56. package/es/select/src/util.js +2 -1
  57. package/es/style.css +1 -1
  58. package/es/style.min.css +1 -1
  59. package/es/switch/src/switch.js +6 -2
  60. package/es/tabs/src/tabs.js +8 -3
  61. package/es/textarea/src/textarea.js +9 -5
  62. package/es/tooltip/src/tooltip.js +6 -1
  63. package/es/tree/index.js +12 -0
  64. package/es/tree/src/tree.js +1216 -0
  65. package/es/tree/style.css +219 -0
  66. package/es/tree/style.min.css +1 -0
  67. package/es/tree-select/index.js +12 -0
  68. package/es/tree-select/src/tree-select.js +685 -0
  69. package/es/tree-select/style.css +129 -0
  70. package/es/tree-select/style.min.css +1 -0
  71. package/es/ui/index.js +1 -1
  72. package/es/ui/src/log.js +1 -1
  73. package/es/ui/src/vn.js +1 -1
  74. package/es/upload/src/upload.js +9 -5
  75. package/es/vxe-calendar/index.js +3 -0
  76. package/es/vxe-calendar/style.css +247 -0
  77. package/es/vxe-calendar/style.min.css +1 -0
  78. package/es/vxe-collapse/index.js +3 -0
  79. package/es/vxe-collapse/style.css +0 -0
  80. package/es/vxe-collapse/style.min.css +0 -0
  81. package/es/vxe-collapse-pane/index.js +3 -0
  82. package/es/vxe-collapse-pane/style.css +0 -0
  83. package/es/vxe-collapse-pane/style.min.css +0 -0
  84. package/es/vxe-form/index.js +3 -0
  85. package/es/vxe-form/style.css +470 -0
  86. package/es/vxe-form/style.min.css +1 -0
  87. package/es/vxe-form-gather/index.js +3 -0
  88. package/es/vxe-form-gather/style.css +0 -0
  89. package/es/vxe-form-gather/style.min.css +0 -0
  90. package/es/vxe-form-item/index.js +3 -0
  91. package/es/vxe-form-item/style.css +0 -0
  92. package/es/vxe-form-item/style.min.css +0 -0
  93. package/es/vxe-list/index.js +3 -0
  94. package/es/vxe-list/style.css +28 -0
  95. package/es/vxe-list/style.min.css +1 -0
  96. package/es/vxe-pager/index.js +3 -0
  97. package/es/vxe-pager/style.css +303 -0
  98. package/es/vxe-pager/style.min.css +1 -0
  99. package/es/vxe-tree/index.js +3 -0
  100. package/es/vxe-tree/style.css +219 -0
  101. package/es/vxe-tree/style.min.css +1 -0
  102. package/es/vxe-tree-select/index.js +3 -0
  103. package/es/vxe-tree-select/style.css +129 -0
  104. package/es/vxe-tree-select/style.min.css +1 -0
  105. package/lib/calendar/index.js +19 -0
  106. package/lib/calendar/index.min.js +1 -0
  107. package/lib/calendar/src/calendar.js +1286 -0
  108. package/lib/calendar/src/calendar.min.js +1 -0
  109. package/lib/calendar/style/index.js +1 -0
  110. package/lib/calendar/style/style.css +247 -0
  111. package/lib/calendar/style/style.min.css +1 -0
  112. package/lib/checkbox/src/checkbox.js +6 -1
  113. package/lib/checkbox/src/checkbox.min.js +1 -1
  114. package/lib/checkbox/src/group.js +6 -1
  115. package/lib/checkbox/src/group.min.js +1 -1
  116. package/lib/collapse/index.js +19 -0
  117. package/lib/collapse/index.min.js +1 -0
  118. package/lib/collapse/src/collapse-pane.js +48 -0
  119. package/lib/collapse/src/collapse-pane.min.js +1 -0
  120. package/lib/collapse/src/collapse.js +48 -0
  121. package/lib/collapse/src/collapse.min.js +1 -0
  122. package/lib/collapse/style/index.js +1 -0
  123. package/lib/collapse/style/style.css +0 -0
  124. package/lib/collapse/style/style.min.css +0 -0
  125. package/lib/collapse-pane/index.js +19 -0
  126. package/lib/collapse-pane/index.min.js +1 -0
  127. package/lib/collapse-pane/style/index.js +1 -0
  128. package/lib/collapse-pane/style/style.css +0 -0
  129. package/lib/collapse-pane/style/style.min.css +0 -0
  130. package/lib/components.js +114 -39
  131. package/lib/components.min.js +1 -1
  132. package/lib/date-picker/src/date-picker.js +17 -13
  133. package/lib/date-picker/src/date-picker.min.js +1 -1
  134. package/lib/drawer/src/drawer.js +17 -12
  135. package/lib/drawer/src/drawer.min.js +1 -1
  136. package/lib/form/index.js +20 -0
  137. package/lib/form/index.min.js +1 -0
  138. package/lib/form/render/index.js +509 -0
  139. package/lib/form/render/index.min.js +1 -0
  140. package/lib/form/src/form-config-item.js +210 -0
  141. package/lib/form/src/form-config-item.min.js +1 -0
  142. package/lib/form/src/form-gather.js +99 -0
  143. package/lib/form/src/form-gather.min.js +1 -0
  144. package/lib/form/src/form-item.js +299 -0
  145. package/lib/form/src/form-item.min.js +1 -0
  146. package/lib/form/src/form.js +856 -0
  147. package/lib/form/src/form.min.js +1 -0
  148. package/lib/form/src/itemInfo.js +60 -0
  149. package/lib/form/src/itemInfo.min.js +1 -0
  150. package/lib/form/src/render.js +94 -0
  151. package/lib/form/src/render.min.js +1 -0
  152. package/lib/form/src/util.js +93 -0
  153. package/lib/form/src/util.min.js +1 -0
  154. package/lib/form/style/index.js +1 -0
  155. package/lib/form/style/style.css +470 -0
  156. package/lib/form/style/style.min.css +1 -0
  157. package/lib/form-gather/index.js +19 -0
  158. package/lib/form-gather/index.min.js +1 -0
  159. package/lib/form-gather/style/index.js +1 -0
  160. package/lib/form-gather/style/style.css +0 -0
  161. package/lib/form-gather/style/style.min.css +0 -0
  162. package/lib/form-item/index.js +19 -0
  163. package/lib/form-item/index.min.js +1 -0
  164. package/lib/form-item/style/index.js +1 -0
  165. package/lib/form-item/style/style.css +0 -0
  166. package/lib/form-item/style/style.min.css +0 -0
  167. package/lib/icon/style/style.css +1 -1
  168. package/lib/icon/style/style.min.css +1 -1
  169. package/lib/icon-picker/src/icon-picker.js +5 -1
  170. package/lib/icon-picker/src/icon-picker.min.js +1 -1
  171. package/lib/image/src/preview.js +1 -2
  172. package/lib/image/src/preview.min.js +1 -1
  173. package/lib/index.umd.js +11284 -5009
  174. package/lib/index.umd.min.js +1 -1
  175. package/lib/input/src/input.js +19 -15
  176. package/lib/input/src/input.min.js +1 -1
  177. package/lib/list/index.js +19 -0
  178. package/lib/list/index.min.js +1 -0
  179. package/lib/list/src/list.js +415 -0
  180. package/lib/list/src/list.min.js +1 -0
  181. package/lib/list/style/index.js +1 -0
  182. package/lib/list/style/style.css +28 -0
  183. package/lib/list/style/style.min.css +1 -0
  184. package/lib/loading/src/loading.js +5 -0
  185. package/lib/loading/src/loading.min.js +1 -1
  186. package/lib/menu/src/menu.js +6 -2
  187. package/lib/menu/src/menu.min.js +1 -1
  188. package/lib/modal/src/modal.js +7 -4
  189. package/lib/modal/src/modal.min.js +1 -1
  190. package/lib/number-input/src/number-input.js +11 -7
  191. package/lib/number-input/src/number-input.min.js +1 -1
  192. package/lib/pager/style/index.js +1 -0
  193. package/lib/pager/style/style.css +303 -0
  194. package/lib/pager/style/style.min.css +1 -0
  195. package/lib/password-input/src/password-input.js +7 -3
  196. package/lib/password-input/src/password-input.min.js +1 -1
  197. package/lib/pulldown/src/pulldown.js +6 -2
  198. package/lib/pulldown/src/pulldown.min.js +1 -1
  199. package/lib/radio/src/button.js +6 -2
  200. package/lib/radio/src/button.min.js +1 -1
  201. package/lib/radio/src/group.js +6 -2
  202. package/lib/radio/src/group.min.js +1 -1
  203. package/lib/radio/src/radio.js +6 -2
  204. package/lib/radio/src/radio.min.js +1 -1
  205. package/lib/select/src/select.js +16 -1
  206. package/lib/select/src/select.min.js +1 -1
  207. package/lib/select/src/util.js +2 -1
  208. package/lib/style.css +1 -1
  209. package/lib/style.min.css +1 -1
  210. package/lib/switch/src/switch.js +6 -2
  211. package/lib/switch/src/switch.min.js +1 -1
  212. package/lib/tabs/src/tabs.js +8 -3
  213. package/lib/tabs/src/tabs.min.js +1 -1
  214. package/lib/textarea/src/textarea.js +9 -5
  215. package/lib/textarea/src/textarea.min.js +1 -1
  216. package/lib/tooltip/src/tooltip.js +6 -1
  217. package/lib/tooltip/src/tooltip.min.js +1 -1
  218. package/lib/tree/index.js +19 -0
  219. package/lib/tree/index.min.js +1 -0
  220. package/lib/tree/src/tree.js +1324 -0
  221. package/lib/tree/src/tree.min.js +1 -0
  222. package/lib/tree/style/index.js +1 -0
  223. package/lib/tree/style/style.css +219 -0
  224. package/lib/tree/style/style.min.css +1 -0
  225. package/lib/tree-select/index.js +19 -0
  226. package/lib/tree-select/index.min.js +1 -0
  227. package/lib/tree-select/src/tree-select.js +695 -0
  228. package/lib/tree-select/src/tree-select.min.js +1 -0
  229. package/lib/tree-select/style/index.js +1 -0
  230. package/lib/tree-select/style/style.css +129 -0
  231. package/lib/tree-select/style/style.min.css +1 -0
  232. package/lib/ui/index.js +1 -1
  233. package/lib/ui/index.min.js +1 -1
  234. package/lib/ui/src/log.js +1 -1
  235. package/lib/ui/src/log.min.js +1 -1
  236. package/lib/ui/src/vn.js +1 -1
  237. package/lib/ui/src/vn.min.js +1 -1
  238. package/lib/upload/src/upload.js +9 -5
  239. package/lib/upload/src/upload.min.js +1 -1
  240. package/lib/vxe-calendar/index.js +23 -0
  241. package/lib/vxe-calendar/index.min.js +1 -0
  242. package/lib/vxe-calendar/style/index.js +1 -0
  243. package/lib/vxe-calendar/style/style.css +247 -0
  244. package/lib/vxe-calendar/style/style.min.css +1 -0
  245. package/lib/vxe-collapse/index.js +23 -0
  246. package/lib/vxe-collapse/index.min.js +1 -0
  247. package/lib/vxe-collapse/style/index.js +1 -0
  248. package/lib/vxe-collapse/style/style.css +0 -0
  249. package/lib/vxe-collapse/style/style.min.css +0 -0
  250. package/lib/vxe-collapse-pane/index.js +23 -0
  251. package/lib/vxe-collapse-pane/index.min.js +1 -0
  252. package/lib/vxe-collapse-pane/style/index.js +1 -0
  253. package/lib/vxe-collapse-pane/style/style.css +0 -0
  254. package/lib/vxe-collapse-pane/style/style.min.css +0 -0
  255. package/lib/vxe-form/index.js +23 -0
  256. package/lib/vxe-form/index.min.js +1 -0
  257. package/lib/vxe-form/style/index.js +1 -0
  258. package/lib/vxe-form/style/style.css +470 -0
  259. package/lib/vxe-form/style/style.min.css +1 -0
  260. package/lib/vxe-form-gather/index.js +23 -0
  261. package/lib/vxe-form-gather/index.min.js +1 -0
  262. package/lib/vxe-form-gather/style/index.js +1 -0
  263. package/lib/vxe-form-gather/style/style.css +0 -0
  264. package/lib/vxe-form-gather/style/style.min.css +0 -0
  265. package/lib/vxe-form-item/index.js +23 -0
  266. package/lib/vxe-form-item/index.min.js +1 -0
  267. package/lib/vxe-form-item/style/index.js +1 -0
  268. package/lib/vxe-form-item/style/style.css +0 -0
  269. package/lib/vxe-form-item/style/style.min.css +0 -0
  270. package/lib/vxe-list/index.js +23 -0
  271. package/lib/vxe-list/index.min.js +1 -0
  272. package/lib/vxe-list/style/index.js +1 -0
  273. package/lib/vxe-list/style/style.css +28 -0
  274. package/lib/vxe-list/style/style.min.css +1 -0
  275. package/lib/vxe-pager/index.js +23 -0
  276. package/lib/vxe-pager/index.min.js +1 -0
  277. package/lib/vxe-pager/style/index.js +1 -0
  278. package/lib/vxe-pager/style/style.css +303 -0
  279. package/lib/vxe-pager/style/style.min.css +1 -0
  280. package/lib/vxe-tree/index.js +23 -0
  281. package/lib/vxe-tree/index.min.js +1 -0
  282. package/lib/vxe-tree/style/index.js +1 -0
  283. package/lib/vxe-tree/style/style.css +219 -0
  284. package/lib/vxe-tree/style/style.min.css +1 -0
  285. package/lib/vxe-tree-select/index.js +23 -0
  286. package/lib/vxe-tree-select/index.min.js +1 -0
  287. package/lib/vxe-tree-select/style/index.js +1 -0
  288. package/lib/vxe-tree-select/style/style.css +129 -0
  289. package/lib/vxe-tree-select/style/style.min.css +1 -0
  290. package/package.json +1 -1
  291. package/packages/calendar/index.ts +16 -0
  292. package/packages/calendar/src/calendar.ts +1281 -0
  293. package/packages/checkbox/src/checkbox.ts +7 -1
  294. package/packages/checkbox/src/group.ts +8 -2
  295. package/packages/collapse/index.ts +16 -0
  296. package/packages/collapse/src/collapse-pane.ts +47 -0
  297. package/packages/collapse/src/collapse.ts +47 -0
  298. package/packages/collapse-pane/index.ts +16 -0
  299. package/packages/components.ts +27 -27
  300. package/packages/date-picker/src/date-picker.ts +18 -13
  301. package/packages/drawer/src/drawer.ts +18 -12
  302. package/packages/form/index.ts +17 -0
  303. package/packages/form/render/index.ts +499 -0
  304. package/packages/form/src/form-config-item.ts +219 -0
  305. package/packages/form/src/form-gather.ts +104 -0
  306. package/packages/form/src/form-item.ts +322 -0
  307. package/packages/form/src/form.ts +809 -0
  308. package/packages/form/src/itemInfo.ts +47 -0
  309. package/packages/form/src/render.ts +98 -0
  310. package/packages/form/src/util.ts +80 -0
  311. package/packages/form-gather/index.ts +16 -0
  312. package/packages/form-item/index.ts +16 -0
  313. package/packages/icon-picker/src/icon-picker.ts +6 -1
  314. package/packages/image/src/preview.ts +1 -2
  315. package/packages/input/src/input.ts +20 -15
  316. package/packages/layout-footer/src/layout-footer.ts +1 -0
  317. package/packages/list/index.ts +16 -0
  318. package/packages/list/src/list.ts +403 -0
  319. package/packages/loading/src/loading.ts +6 -0
  320. package/packages/menu/src/menu.ts +7 -2
  321. package/packages/modal/src/modal.ts +8 -4
  322. package/packages/number-input/src/number-input.ts +12 -7
  323. package/packages/password-input/src/password-input.ts +8 -3
  324. package/packages/pulldown/src/pulldown.ts +7 -2
  325. package/packages/radio/src/button.ts +7 -2
  326. package/packages/radio/src/group.ts +7 -2
  327. package/packages/radio/src/radio.ts +7 -2
  328. package/packages/select/src/select.ts +17 -1
  329. package/packages/select/src/util.ts +4 -3
  330. package/packages/switch/src/switch.ts +7 -2
  331. package/packages/tabs/src/tabs.ts +9 -3
  332. package/packages/textarea/src/textarea.ts +10 -5
  333. package/packages/tooltip/src/tooltip.ts +7 -1
  334. package/packages/tree/index.ts +16 -0
  335. package/packages/tree/src/tree.ts +1292 -0
  336. package/packages/tree-select/index.ts +16 -0
  337. package/packages/tree-select/src/tree-select.ts +743 -0
  338. package/packages/ui/src/vn.ts +1 -1
  339. package/packages/upload/src/upload.ts +10 -5
  340. package/types/components/calendar.d.ts +6 -0
  341. package/types/components/colgroup.d.ts +1 -0
  342. package/types/components/column.d.ts +1 -0
  343. package/types/components/drawer.d.ts +11 -10
  344. package/types/components/form-item.d.ts +1 -1
  345. package/types/components/form.d.ts +8 -1
  346. package/types/components/list.d.ts +1 -0
  347. package/types/components/table.d.ts +43 -4
  348. package/types/components/toolbar.d.ts +5 -0
  349. package/types/components/tree-select.d.ts +4 -0
  350. package/types/ui/index.d.ts +0 -5
  351. package/types/ui/renderer.d.ts +37 -36
  352. package/types/handles/form-design.d.ts +0 -4
  353. package/types/handles/index.d.ts +0 -3
  354. package/types/handles/list-design.d.ts +0 -4
  355. package/types/handles/table.d.ts +0 -4
  356. /package/es/icon/style/{iconfont.1725723159302.ttf → iconfont.1725869586078.ttf} +0 -0
  357. /package/es/icon/style/{iconfont.1725723159302.woff → iconfont.1725869586078.woff} +0 -0
  358. /package/es/icon/style/{iconfont.1725723159302.woff2 → iconfont.1725869586078.woff2} +0 -0
  359. /package/es/{iconfont.1725723159302.ttf → iconfont.1725869586078.ttf} +0 -0
  360. /package/es/{iconfont.1725723159302.woff → iconfont.1725869586078.woff} +0 -0
  361. /package/es/{iconfont.1725723159302.woff2 → iconfont.1725869586078.woff2} +0 -0
  362. /package/lib/icon/style/{iconfont.1725723159302.ttf → iconfont.1725869586078.ttf} +0 -0
  363. /package/lib/icon/style/{iconfont.1725723159302.woff → iconfont.1725869586078.woff} +0 -0
  364. /package/lib/icon/style/{iconfont.1725723159302.woff2 → iconfont.1725869586078.woff2} +0 -0
  365. /package/lib/{iconfont.1725723159302.ttf → iconfont.1725869586078.ttf} +0 -0
  366. /package/lib/{iconfont.1725723159302.woff → iconfont.1725869586078.woff} +0 -0
  367. /package/lib/{iconfont.1725723159302.woff2 → iconfont.1725869586078.woff2} +0 -0
@@ -2,7 +2,7 @@ import XEUtils from 'xe-utils'
2
2
  import { VxeComponentSlotType } from '@vxe-ui/core'
3
3
 
4
4
  export function getOnName (type: string) {
5
- return 'on' + type.substring(0, 1).toLocaleUpperCase() + type.substring(1)
5
+ return type
6
6
  }
7
7
 
8
8
  export function getModelEvent (name: string) {
@@ -357,6 +357,11 @@ export default defineVxeComponent({
357
357
  const $xeUpload = this
358
358
  $xeUpload.$emit(type, createEvent(evnt, { $upload: $xeUpload }, params))
359
359
  },
360
+ emitModel (value: any) {
361
+ const $xeUpload = this
362
+
363
+ $xeUpload.$emit('modelValue', value)
364
+ },
360
365
  choose () {
361
366
  const $xeUpload = this
362
367
  return $xeUpload.handleChoose(null)
@@ -413,7 +418,7 @@ export default defineVxeComponent({
413
418
  }
414
419
  return ''
415
420
  },
416
- emitModel (value: VxeUploadDefines.FileObjItem[]) {
421
+ handleChange (value: VxeUploadDefines.FileObjItem[]) {
417
422
  const $xeUpload = this
418
423
  const props = $xeUpload
419
424
 
@@ -423,7 +428,7 @@ export default defineVxeComponent({
423
428
  if (urlMode) {
424
429
  restList = restList.map(item => item[urlProp])
425
430
  }
426
- $xeUpload.$emit('modelValue', singleMode ? (restList[0] || null) : restList)
431
+ $xeUpload.emitModel(singleMode ? (restList[0] || null) : restList)
427
432
  },
428
433
  getThumbnailFileUrl (item: VxeUploadDefines.FileObjItem) {
429
434
  const $xeUpload = this
@@ -595,7 +600,7 @@ export default defineVxeComponent({
595
600
  cacheItem.percent = 0
596
601
  $xeUpload.handleUploadResult(item, file).then(() => {
597
602
  if (urlMode) {
598
- $xeUpload.emitModel(reactData.fileList)
603
+ $xeUpload.handleChange(reactData.fileList)
599
604
  }
600
605
  })
601
606
  }
@@ -712,7 +717,7 @@ export default defineVxeComponent({
712
717
  reactData.fileList = newFileList
713
718
  reactData.fileCacheMaps = cacheMaps
714
719
  Promise.all(urlMode ? uploadPromiseRests : []).then(() => {
715
- $xeUpload.emitModel(newFileList)
720
+ $xeUpload.handleChange(newFileList)
716
721
  // 自动更新校验状态
717
722
  if ($xeForm && formItemInfo) {
718
723
  $xeForm.triggerItemEvent(evnt as any, formItemInfo.itemConfig.field, newFileList)
@@ -756,7 +761,7 @@ export default defineVxeComponent({
756
761
 
757
762
  const { fileList } = reactData
758
763
  fileList.splice(index, 1)
759
- $xeUpload.emitModel(fileList)
764
+ $xeUpload.handleChange(fileList)
760
765
  // 自动更新校验状态
761
766
  if ($xeForm && formItemInfo) {
762
767
  $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, fileList)
@@ -65,6 +65,12 @@ export interface CalendarReactData {
65
65
  currentDate: any
66
66
  }
67
67
 
68
+ export interface CalendarInternalData {
69
+ yearSize: number
70
+ monthSize: number
71
+ quarterSize: number
72
+ }
73
+
68
74
  export interface CalendarMethods {
69
75
  dispatchEvent(type: ValueOf<VxeCalendarEmits>, params: Record<string, any>, evnt: Event | null): void
70
76
  }
@@ -8,6 +8,7 @@ export type VxeColgroupComponent = DefineVxeComponentOptions<VxeColgroupProps>
8
8
 
9
9
  export type VxeColgroupInstance = DefineVxeComponentInstance<{
10
10
  reactData: ColgroupReactData
11
+ columnConfig: any
11
12
  }, VxeColgroupProps, ColgroupPrivateComputed, ColgroupMethods>
12
13
 
13
14
  export type VxeColgroupConstructor = VxeColgroupInstance
@@ -10,6 +10,7 @@ export type VxeColumnComponent = DefineVxeComponentOptions<VxeColumnProps>
10
10
 
11
11
  export type VxeColumnInstance = DefineVxeComponentInstance<{
12
12
  reactData: ColumnReactData
13
+ columnConfig: any
13
14
  }, VxeColumnProps, ColumnPrivateComputed, ColumnMethods>
14
15
 
15
16
  export type VxeColumnConstructor = VxeColumnInstance
@@ -1,3 +1,4 @@
1
+ import { CreateElement } from 'vue'
1
2
  import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, VxeComponentSlotType, ValueOf } from '@vxe-ui/core'
2
3
 
3
4
  /* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
@@ -242,43 +243,43 @@ export interface VxeDrawerSlots {
242
243
  /**
243
244
  * 自定义内容模板
244
245
  */
245
- default?: (params: VxeDrawerSlotTypes.DefaultSlotParams) => VxeComponentSlotType[] | VxeComponentSlotType
246
+ default?: (params: VxeDrawerSlotTypes.DefaultSlotParams, h: CreateElement) => VxeComponentSlotType[] | VxeComponentSlotType
246
247
  /**
247
248
  * 自定义左侧内容模板
248
249
  */
249
- left?: (params: VxeDrawerSlotTypes.LeftSlotParams) => VxeComponentSlotType[] | VxeComponentSlotType
250
+ left?: (params: VxeDrawerSlotTypes.LeftSlotParams, h: CreateElement) => VxeComponentSlotType[] | VxeComponentSlotType
250
251
  /**
251
252
  * 自定义右侧内容模板
252
253
  */
253
- right?: (params: VxeDrawerSlotTypes.RightSlotParams) => VxeComponentSlotType[] | VxeComponentSlotType
254
+ right?: (params: VxeDrawerSlotTypes.RightSlotParams, h: CreateElement) => VxeComponentSlotType[] | VxeComponentSlotType
254
255
  /**
255
256
  * 自定义侧边栏的模板
256
257
  */
257
- aside?: (params: VxeDrawerSlotTypes.AsideSlotParams) => VxeComponentSlotType[] | VxeComponentSlotType
258
+ aside?: (params: VxeDrawerSlotTypes.AsideSlotParams, h: CreateElement) => VxeComponentSlotType[] | VxeComponentSlotType
258
259
  /**
259
260
  * 自定义头部的模板
260
261
  */
261
- header?: (params: VxeDrawerSlotTypes.HeaderSlotParams) => VxeComponentSlotType[] | VxeComponentSlotType
262
+ header?: (params: VxeDrawerSlotTypes.HeaderSlotParams, h: CreateElement) => VxeComponentSlotType[] | VxeComponentSlotType
262
263
  /**
263
264
  * 自定义标题的模板(如果使用了 header 插槽,则该插槽无效)
264
265
  */
265
- title?: (params: VxeDrawerSlotTypes.TitleSlotParams) => VxeComponentSlotType[] | VxeComponentSlotType
266
+ title?: (params: VxeDrawerSlotTypes.TitleSlotParams, h: CreateElement) => VxeComponentSlotType[] | VxeComponentSlotType
266
267
  /**
267
268
  * 自定义右上角的模板
268
269
  */
269
- corner?: (params: VxeDrawerSlotTypes.TitleSlotParams) => VxeComponentSlotType[] | VxeComponentSlotType
270
+ corner?: (params: VxeDrawerSlotTypes.TitleSlotParams, h: CreateElement) => VxeComponentSlotType[] | VxeComponentSlotType
270
271
  /**
271
272
  * 自定义底部的模板
272
273
  */
273
- footer?: (params: VxeDrawerSlotTypes.FooterSlotParams) => VxeComponentSlotType[] | VxeComponentSlotType
274
+ footer?: (params: VxeDrawerSlotTypes.FooterSlotParams, h: CreateElement) => VxeComponentSlotType[] | VxeComponentSlotType
274
275
  /**
275
276
  * 自定义底部左侧的模板
276
277
  */
277
- leftfoot?: (params: VxeDrawerSlotTypes.LeftfootSlotParams) => VxeComponentSlotType[] | VxeComponentSlotType
278
+ leftfoot?: (params: VxeDrawerSlotTypes.LeftfootSlotParams, h: CreateElement) => VxeComponentSlotType[] | VxeComponentSlotType
278
279
  /**
279
280
  * 自定义底部右侧的模板
280
281
  */
281
- rightfoot?: (params: VxeDrawerSlotTypes.RightfootSlotParams) => VxeComponentSlotType[] | VxeComponentSlotType
282
+ rightfoot?: (params: VxeDrawerSlotTypes.RightfootSlotParams, h: CreateElement) => VxeComponentSlotType[] | VxeComponentSlotType
282
283
  }
283
284
 
284
285
  export const Drawer: typeof VxeDrawer
@@ -1,4 +1,4 @@
1
- import { DefineVxeComponentApp, DefineVxeComponentOptions, VxeComponentEventParams, VxeComponentStyleType, VxeComponentSlotType } from '@vxe-ui/core'
1
+ import { DefineVxeComponentApp, DefineVxeComponentOptions, VxeComponentEventParams, DefineVxeComponentInstance, VxeComponentStyleType, VxeComponentSlotType } from '@vxe-ui/core'
2
2
  import { VxeFormDefines, VxeFormConstructor, VxeFormPropTypes } from './form'
3
3
  import { VxeGridConstructor } from './grid'
4
4
  import { VxeTooltipPropTypes } from './tooltip'
@@ -1,5 +1,6 @@
1
1
  import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, ValueOf, VxeComponentSlotType } from '@vxe-ui/core'
2
2
  import { VxeFormItemPropTypes, VxeFormItemProps } from './form-item'
3
+ import { VxeGridConstructor } from './grid'
3
4
 
4
5
  /* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types,@typescript-eslint/no-unused-vars */
5
6
 
@@ -8,6 +9,8 @@ export type VxeFormComponent = DefineVxeComponentOptions<VxeFormProps>
8
9
 
9
10
  export type VxeFormInstance = DefineVxeComponentInstance<{
10
11
  reactData: FormReactData
12
+ internalData: FormInternalData
13
+ xegrid: VxeGridConstructor | null
11
14
  }, VxeFormProps, FormPrivateComputed, FormMethods>
12
15
 
13
16
  export type VxeFormConstructor = VxeFormInstance
@@ -99,6 +102,9 @@ export interface VxeFormProps<D = any> {
99
102
  }
100
103
 
101
104
  export interface FormPrivateComputed {
105
+ computeSize: VxeFormPropTypes.Size
106
+ computeValidOpts: VxeFormPropTypes.ValidOpts
107
+ computeTooltipOpts: VxeFormPropTypes.TooltipOpts
102
108
  }
103
109
  export interface VxeFormPrivateComputed extends FormPrivateComputed { }
104
110
 
@@ -109,7 +115,8 @@ export interface FormReactData {
109
115
  }
110
116
 
111
117
  export interface FormInternalData {
112
- tooltipTimeout: any
118
+ meTimeout: undefined | number
119
+ stTimeout: undefined | number
113
120
  tooltipStore: {
114
121
  item: VxeFormDefines.ItemInfo | null
115
122
  visible: boolean
@@ -69,6 +69,7 @@ export interface ListReactData {
69
69
  }
70
70
 
71
71
  export interface ListInternalData {
72
+ resizeObserver: ResizeObserver | undefined
72
73
  fullData: any[]
73
74
  lastScrollLeft: number
74
75
  lastScrollTop: number
@@ -13,11 +13,13 @@ import { VxeToolbarConstructor, VxeToolbarInstance } from './toolbar'
13
13
  export declare const VxeTable: DefineVxeComponentApp<VxeTableProps, VxeTableEventProps, VxeTableSlots>
14
14
  export type VxeTableComponent = DefineVxeComponentOptions<VxeTableProps>
15
15
 
16
- export type VxeTableInstance = DefineVxeComponentInstance<{
17
- reactData: TableReactData
18
- }, VxeTableProps, TablePrivateComputed, TableMethods>
16
+ export type VxeTableInstance<D = any> = DefineVxeComponentInstance<{
17
+ reactData: TableReactData<D>
18
+ internalData: TableInternalData<D>
19
+ xegrid: VxeGridConstructor | null
20
+ }, VxeTableProps<D>, TablePrivateComputed<D>, TableMethods<D>>
19
21
 
20
- export type VxeTableConstructor = VxeTableInstance
22
+ export type VxeTableConstructor<D = any> = VxeTableInstance<D>
21
23
 
22
24
  export interface TablePrivateRef {
23
25
  }
@@ -2000,6 +2002,43 @@ export interface VxeTableProps<D = any> {
2000
2002
  }
2001
2003
 
2002
2004
  export interface TablePrivateComputed<D = any> {
2005
+ computeSize: VxeTablePropTypes.Size
2006
+ computeTableId: string
2007
+ computeValidOpts: VxeTablePropTypes.ValidOpts<D>
2008
+ computeSXOpts: VxeTablePropTypes.SXOpts
2009
+ computeSYOpts: VxeTablePropTypes.SYOpts
2010
+ computeColumnOpts: VxeTablePropTypes.ColumnOpts
2011
+ computeRowOpts: VxeTablePropTypes.RowOpts
2012
+ computeResizeleOpts: VxeTablePropTypes.ResizeOpts
2013
+ computeResizableOpts: VxeTablePropTypes.ResizableOpts<D>
2014
+ computeSeqOpts: VxeTablePropTypes.SeqOpts<D>
2015
+ computeRadioOpts: VxeTablePropTypes.RadioOpts<D>
2016
+ computeCheckboxOpts: VxeTablePropTypes.CheckboxOpts<D>
2017
+ computeTooltipOpts: VxeTablePropTypes.TooltipOpts<D>
2018
+ computeEditOpts: VxeTablePropTypes.EditOpts<D>
2019
+ computeSortOpts: VxeTablePropTypes.SortConfig<D>
2020
+ computeFilterOpts: VxeTablePropTypes.FilterOpts<D>
2021
+ computeMouseOpts: VxeTablePropTypes.MouseOpts
2022
+ computeAreaOpts: VxeTablePropTypes.AreaOpts
2023
+ computeKeyboardOpts: VxeTablePropTypes.KeyboardOpts
2024
+ computeClipOpts: VxeTablePropTypes.ClipOpts<D>
2025
+ computeFNROpts: VxeTablePropTypes.FNROpts<D>
2026
+ computeHeaderMenu: VxeTableDefines.MenuFirstOption
2027
+ computeBodyMenu: VxeTableDefines.MenuFirstOption
2028
+ computeFooterMenu: VxeTableDefines.MenuFirstOption
2029
+ computeIsMenu: boolean
2030
+ computeMenuOpts: VxeTablePropTypes.MenuOpts<D>
2031
+ computeExportOpts: VxeTablePropTypes.ExportOpts
2032
+ computeImportOpts: VxeTablePropTypes.ImportOpts
2033
+ computePrintOpts: VxeTablePropTypes.PrintOpts
2034
+ computeExpandOpts: VxeTablePropTypes.ExpandOpts<D>
2035
+ computeTreeOpts: VxeTablePropTypes.TreeOpts<D>
2036
+ computeEmptyOpts: VxeTablePropTypes.EmptyOpts
2037
+ computeLoadingOpts: VxeTablePropTypes.LoadingOpts
2038
+ computeCustomOpts: VxeTablePropTypes.CustomOpts<D>
2039
+ computeFixedColumnSize: number
2040
+ computeIsMaxFixedColumn: boolean
2041
+ computeIsAllCheckboxDisabled: boolean
2003
2042
  }
2004
2043
  export interface VxeTablePrivateComputed extends TablePrivateComputed { }
2005
2044
 
@@ -229,9 +229,14 @@ export interface VxeToolbarPrivateComputed extends ToolbarPrivateComputed { }
229
229
 
230
230
  export interface ToolbarReactData {
231
231
  isRefresh: boolean
232
+ connectFlag: 0
232
233
  columns: VxeTableDefines.ColumnInfo[]
233
234
  }
234
235
 
236
+ export interface ToolbarInternalData {
237
+ connectTable: (VxeTableConstructor<any> & VxeTablePrivateMethods<any>) | null
238
+ }
239
+
235
240
  export interface ToolbarMethods {
236
241
  dispatchEvent(type: ValueOf<VxeToolbarEmits>, params: Record<string, any>, evnt: Event | null): void
237
242
  syncUpdate(params: {
@@ -103,6 +103,10 @@ export interface TreeSelectReactData {
103
103
  isActivated: boolean
104
104
  }
105
105
 
106
+ export interface TreeSelectInternalData {
107
+ hpTimeout?: undefined | number
108
+ }
109
+
106
110
  export interface TreeSelectMethods {
107
111
  dispatchEvent(type: ValueOf<VxeTreeSelectEmits>, params: Record<string, any>, evnt: Event | null): void
108
112
  }
@@ -5,7 +5,6 @@ import { DrawerController } from '../components/drawer'
5
5
  import { VxePrintDefines } from '../components/print'
6
6
  import { VxeUploadDefines } from '../components/upload'
7
7
  import { VxeImageDefines } from '../components/image'
8
- import { FormDesignHandleExport, ListDesignHandleExport, TableHandleExport } from '../handles'
9
8
 
10
9
  /**
11
10
  * 已废弃,请使用 setConfig
@@ -52,10 +51,6 @@ declare module '@vxe-ui/core' {
52
51
  drawer: DrawerController
53
52
  dynamicApp: any
54
53
 
55
- formDesignHandle: FormDesignHandleExport
56
- listDesignHandle: ListDesignHandleExport
57
- tableHandle: TableHandleExport
58
-
59
54
  print: VxePrintDefines.PrintFunction
60
55
  saveFile: VxeUploadDefines.SaveFileFunction
61
56
  readFile: VxeUploadDefines.ReadFileFunction
@@ -1,3 +1,4 @@
1
+ import { CreateElement } from 'vue'
1
2
  import { VxeComponentStyleType, VxeComponentClassNameType, VxeComponentSlotType } from '@vxe-ui/core'
2
3
  import { VxeTableConstructor, VxeTablePropTypes, VxeTableDefines, VxeTablePrivateMethods } from '../components/table'
3
4
  import { VxeFormItemPropTypes, VxeFormItemSlotTypes, FormItemContentRenderParams, FormItemVisibleParams, FormItemResetParams } from '../components/form-item'
@@ -26,7 +27,7 @@ declare module '@vxe-ui/core' {
26
27
  /**
27
28
  * 表格 - 自定义筛选渲染内容
28
29
  */
29
- renderTableFilter?(renderOpts: VxeGlobalRendererHandles.RenderTableFilterOptions, params: VxeGlobalRendererHandles.RenderTableFilterParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
30
+ renderTableFilter?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableFilterOptions, params: VxeGlobalRendererHandles.RenderTableFilterParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
30
31
  /**
31
32
  * 表格 - 自定义筛选逻辑方法
32
33
  */
@@ -59,15 +60,15 @@ declare module '@vxe-ui/core' {
59
60
  /**
60
61
  * 表格 - 渲染头部
61
62
  */
62
- renderTableHeader?(renderOpts: VxeGlobalRendererHandles.RenderTableHeaderOptions, params: VxeGlobalRendererHandles.RenderTableHeaderParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
63
+ renderTableHeader?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableHeaderOptions, params: VxeGlobalRendererHandles.RenderTableHeaderParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
63
64
  /**
64
65
  * 表格 - 渲染单元格
65
66
  */
66
- renderTableDefault?(renderOpts: VxeGlobalRendererHandles.RenderTableDefaultOptions, params: VxeGlobalRendererHandles.RenderTableDefaultParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
67
+ renderTableDefault?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableDefaultOptions, params: VxeGlobalRendererHandles.RenderTableDefaultParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
67
68
  /**
68
69
  * 表格 - 渲染尾部
69
70
  */
70
- renderTableFooter?(renderOpts: VxeGlobalRendererHandles.RenderTableFooterOptions, params: VxeGlobalRendererHandles.RenderTableFooterParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
71
+ renderTableFooter?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableFooterOptions, params: VxeGlobalRendererHandles.RenderTableFooterParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
71
72
  /**
72
73
  * 表格 - 自定义单元格导出逻辑
73
74
  */
@@ -88,21 +89,21 @@ declare module '@vxe-ui/core' {
88
89
  /**
89
90
  * 表格 - 渲染编辑状态时,与 renderTableCell 配合使用
90
91
  */
91
- renderTableEdit?(renderOpts: VxeGlobalRendererHandles.RenderTableEditOptions<any>, params: VxeGlobalRendererHandles.RenderTableEditParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
92
+ renderTableEdit?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableEditOptions<any>, params: VxeGlobalRendererHandles.RenderTableEditParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
92
93
  /**
93
94
  * 表格 - 渲染非编辑状态时,与 renderTableEdit 配合使用
94
95
  */
95
- renderTableCell?(renderOpts: VxeGlobalRendererHandles.RenderTableCellOptions<any>, params: VxeGlobalRendererHandles.RenderTableCellParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
96
+ renderTableCell?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableCellOptions<any>, params: VxeGlobalRendererHandles.RenderTableCellParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
96
97
 
97
98
  /**
98
99
  * 表格 - 展开行渲染
99
100
  */
100
- renderTableExpand?(renderOpts: VxeGlobalRendererHandles.RenderTableExpandOptions, params: VxeGlobalRendererHandles.RenderTableExpandParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
101
+ renderTableExpand?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableExpandOptions, params: VxeGlobalRendererHandles.RenderTableExpandParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
101
102
 
102
103
  /**
103
104
  * 表格 - 空数据时渲染
104
105
  */
105
- renderTableEmpty?(renderOpts: VxeGlobalRendererHandles.RenderTableEmptyOptions, params: VxeGlobalRendererHandles.RenderTableEmptyParams): VxeComponentSlotType | VxeComponentSlotType[]
106
+ renderTableEmpty?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableEmptyOptions, params: VxeGlobalRendererHandles.RenderTableEmptyParams): VxeComponentSlotType | VxeComponentSlotType[]
106
107
 
107
108
  /**
108
109
  * 已废弃,请使用 tableFilterMethod
@@ -188,37 +189,37 @@ declare module '@vxe-ui/core' {
188
189
  * 已废弃,请使用 renderTableHeader
189
190
  * @deprecated
190
191
  */
191
- renderHeader?(renderOpts: VxeGlobalRendererHandles.RenderTableHeaderOptions, params: VxeGlobalRendererHandles.RenderTableHeaderParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
192
+ renderHeader?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableHeaderOptions, params: VxeGlobalRendererHandles.RenderTableHeaderParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
192
193
  /**
193
194
  * 已废弃,请使用 renderTableFooter
194
195
  * @deprecated
195
196
  */
196
- renderFooter?(renderOpts: VxeGlobalRendererHandles.RenderTableFooterOptions, params: VxeGlobalRendererHandles.RenderTableFooterParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
197
+ renderFooter?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableFooterOptions, params: VxeGlobalRendererHandles.RenderTableFooterParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
197
198
  /**
198
199
  * 已废弃,请使用 renderTableFilter
199
200
  * @deprecated
200
201
  */
201
- renderFilter?(renderOpts: VxeGlobalRendererHandles.RenderTableFilterOptions, params: VxeGlobalRendererHandles.RenderTableFilterParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
202
+ renderFilter?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableFilterOptions, params: VxeGlobalRendererHandles.RenderTableFilterParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
202
203
  /**
203
204
  * 已废弃,请使用 renderTableDefault
204
205
  * @deprecated
205
206
  */
206
- renderDefault?(renderOpts: VxeGlobalRendererHandles.RenderTableDefaultOptions, params: VxeGlobalRendererHandles.RenderTableDefaultParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
207
+ renderDefault?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableDefaultOptions, params: VxeGlobalRendererHandles.RenderTableDefaultParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
207
208
  /**
208
209
  * 已废弃,请使用 renderTableEdit
209
210
  * @deprecated
210
211
  */
211
- renderEdit?(renderOpts: VxeGlobalRendererHandles.RenderTableEditOptions<any>, params: VxeGlobalRendererHandles.RenderTableEditParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
212
+ renderEdit?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableEditOptions<any>, params: VxeGlobalRendererHandles.RenderTableEditParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
212
213
  /**
213
214
  * 已废弃,请使用 renderTableCell
214
215
  * @deprecated
215
216
  */
216
- renderCell?(renderOpts: VxeGlobalRendererHandles.RenderTableCellOptions<any>, params: VxeGlobalRendererHandles.RenderTableCellParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
217
+ renderCell?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableCellOptions<any>, params: VxeGlobalRendererHandles.RenderTableCellParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
217
218
  /**
218
219
  * 已废弃,请使用 renderTableExpand
219
220
  * @deprecated
220
221
  */
221
- renderExpand?(renderOpts: VxeGlobalRendererHandles.RenderTableExpandOptions, params: VxeGlobalRendererHandles.RenderTableExpandParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
222
+ renderExpand?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableExpandOptions, params: VxeGlobalRendererHandles.RenderTableExpandParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
222
223
  /**
223
224
  * @deprecated 已废弃
224
225
  */
@@ -227,8 +228,8 @@ declare module '@vxe-ui/core' {
227
228
  * 已废弃,请使用 renderTableEmptyView
228
229
  * @deprecated
229
230
  */
230
- renderEmpty?(renderOpts: VxeGlobalRendererHandles.RenderTableEmptyOptions, params: VxeGlobalRendererHandles.RenderTableEmptyParams): VxeComponentSlotType | VxeComponentSlotType[]
231
- renderTableEmptyView?(renderOpts: VxeGlobalRendererHandles.RenderTableEmptyOptions, params: VxeGlobalRendererHandles.RenderTableEmptyParams): VxeComponentSlotType | VxeComponentSlotType[]
231
+ renderEmpty?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableEmptyOptions, params: VxeGlobalRendererHandles.RenderTableEmptyParams): VxeComponentSlotType | VxeComponentSlotType[]
232
+ renderTableEmptyView?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderTableEmptyOptions, params: VxeGlobalRendererHandles.RenderTableEmptyParams): VxeComponentSlotType | VxeComponentSlotType[]
232
233
  }
233
234
 
234
235
  export namespace VxeGlobalRendererHandles {
@@ -489,7 +490,7 @@ declare module '@vxe-ui/core' {
489
490
  /**
490
491
  * 工具栏 - 渲染左侧按钮
491
492
  */
492
- renderToolbarButton?(renderOpts: VxeGlobalRendererHandles.RenderButtonOptions, params: VxeGlobalRendererHandles.RenderButtonParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
493
+ renderToolbarButton?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderButtonOptions, params: VxeGlobalRendererHandles.RenderButtonParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
493
494
  /**
494
495
  * 工具栏 - 右侧按钮设置 class
495
496
  */
@@ -497,7 +498,7 @@ declare module '@vxe-ui/core' {
497
498
  /**
498
499
  * 工具栏 - 渲染右侧按钮
499
500
  */
500
- renderToolbarTool?(renderOpts: VxeGlobalRendererHandles.RenderToolOptions, params: VxeGlobalRendererHandles.RenderToolParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
501
+ renderToolbarTool?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderToolOptions, params: VxeGlobalRendererHandles.RenderToolParams<any>): VxeComponentSlotType | VxeComponentSlotType[]
501
502
  }
502
503
 
503
504
  export namespace VxeGlobalRendererHandles {
@@ -552,11 +553,11 @@ declare module '@vxe-ui/core' {
552
553
  /**
553
554
  * 表单项 - 渲染表单项标题
554
555
  */
555
- renderFormItemTitle?(renderOpts: VxeGlobalRendererHandles.RenderFormItemTitleOptions, params: VxeGlobalRendererHandles.RenderFormItemTitleParams): VxeComponentSlotType | VxeComponentSlotType[]
556
+ renderFormItemTitle?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormItemTitleOptions, params: VxeGlobalRendererHandles.RenderFormItemTitleParams): VxeComponentSlotType | VxeComponentSlotType[]
556
557
  /**
557
558
  * 表单项 - 渲染表单项内容
558
559
  */
559
- renderFormItemContent?(renderOpts: VxeGlobalRendererHandles.RenderFormItemContentOptions, params: VxeGlobalRendererHandles.RenderFormItemContentParams): VxeComponentSlotType | VxeComponentSlotType[]
560
+ renderFormItemContent?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormItemContentOptions, params: VxeGlobalRendererHandles.RenderFormItemContentParams): VxeComponentSlotType | VxeComponentSlotType[]
560
561
  /**
561
562
  * 表单项 - 自定义表单项被显示隐藏逻辑
562
563
  */
@@ -600,12 +601,12 @@ declare module '@vxe-ui/core' {
600
601
  * 已废弃,请使用 renderFormItemTitle
601
602
  * @deprecated
602
603
  */
603
- renderItemTitle?(renderOpts: VxeGlobalRendererHandles.RenderFormItemTitleOptions, params: VxeGlobalRendererHandles.RenderFormItemTitleParams): VxeComponentSlotType | VxeComponentSlotType[]
604
+ renderItemTitle?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormItemTitleOptions, params: VxeGlobalRendererHandles.RenderFormItemTitleParams): VxeComponentSlotType | VxeComponentSlotType[]
604
605
  /**
605
606
  * 已废弃,请使用 renderFormItemContent
606
607
  * @deprecated
607
608
  */
608
- renderItemContent?(renderOpts: VxeGlobalRendererHandles.RenderFormItemContentOptions, params: VxeGlobalRendererHandles.RenderFormItemContentParams): VxeComponentSlotType | VxeComponentSlotType[]
609
+ renderItemContent?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormItemContentOptions, params: VxeGlobalRendererHandles.RenderFormItemContentParams): VxeComponentSlotType | VxeComponentSlotType[]
609
610
  /**
610
611
  * 已废弃,请使用 formItemVisibleMethod
611
612
  * @deprecated
@@ -671,7 +672,7 @@ declare module '@vxe-ui/core' {
671
672
  /**
672
673
  * 表单设计器 - 渲染左侧控件项
673
674
  */
674
- renderFormDesignWidgetItem?(renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetItemOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetItemParams): VxeComponentSlotType | VxeComponentSlotType[]
675
+ renderFormDesignWidgetItem?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetItemOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetItemParams): VxeComponentSlotType | VxeComponentSlotType[]
675
676
  /**
676
677
  * 表单设计器 - 创建设计器-表单属性数据
677
678
  */
@@ -679,15 +680,15 @@ declare module '@vxe-ui/core' {
679
680
  /**
680
681
  * 表单设计器 - 渲染设计器-属性表单
681
682
  */
682
- renderFormDesignSettingFormView?(renderOpts: VxeGlobalRendererHandles.RenderFormDesignSettingFormViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignSettingFormViewParams): VxeComponentSlotType | VxeComponentSlotType[]
683
+ renderFormDesignSettingFormView?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormDesignSettingFormViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignSettingFormViewParams): VxeComponentSlotType | VxeComponentSlotType[]
683
684
  /**
684
685
  * 表单设计器 - 渲染设计器-电脑端表单
685
686
  */
686
- renderFormDesignStyleFormView?(renderOpts: VxeGlobalRendererHandles.RenderFormDesignStyleFormViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignStyleFormViewParams): VxeComponentSlotType | VxeComponentSlotType[]
687
+ renderFormDesignStyleFormView?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormDesignStyleFormViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignStyleFormViewParams): VxeComponentSlotType | VxeComponentSlotType[]
687
688
  /**
688
689
  * 表单设计器 - 渲染设计器-手机端表单
689
690
  */
690
- renderFormDesignMobileStyleFormView?(renderOpts: VxeGlobalRendererHandles.RenderFormDesignMobileStyleFormViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignMobileStyleFormViewParams): VxeComponentSlotType | VxeComponentSlotType[]
691
+ renderFormDesignMobileStyleFormView?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormDesignMobileStyleFormViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignMobileStyleFormViewParams): VxeComponentSlotType | VxeComponentSlotType[]
691
692
  /**
692
693
  * 表单设计器 - 创建控件-定义控件信息和控件表单数据
693
694
  */
@@ -695,39 +696,39 @@ declare module '@vxe-ui/core' {
695
696
  /**
696
697
  * 表单设计器 - 渲染右侧-控件属性表单
697
698
  */
698
- renderFormDesignWidgetFormView?(renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetFormViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetFormViewParams): VxeComponentSlotType | VxeComponentSlotType[]
699
+ renderFormDesignWidgetFormView?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetFormViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetFormViewParams): VxeComponentSlotType | VxeComponentSlotType[]
699
700
  /**
700
701
  * 表单设计器 - 控件渲染器(表单-设计时)
701
702
  * 如果不设置,则使用 renderFormDesignWidgetView 渲染
702
703
  */
703
- renderFormDesignWidgetEdit?(renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetEditOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetEditParams): VxeComponentSlotType | VxeComponentSlotType[]
704
+ renderFormDesignWidgetEdit?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetEditOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetEditParams): VxeComponentSlotType | VxeComponentSlotType[]
704
705
  /**
705
706
  * 表单设计器 - 控件渲染器(表单-预览时 - 电脑端)
706
707
  * 如果不设置,则使用 renderFormDesignWidgetView 渲染
707
708
  */
708
- renderFormDesignWidgetPreview?(renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetPreviewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetPreviewParams): VxeComponentSlotType | VxeComponentSlotType[]
709
+ renderFormDesignWidgetPreview?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetPreviewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetPreviewParams): VxeComponentSlotType | VxeComponentSlotType[]
709
710
  /**
710
711
  * 表单设计器 - 控件渲染器(表单-预览时 - 手机端)
711
712
  * 如果不设置,则使用 renderFormDesignWidgetView 渲染
712
713
  */
713
- renderFormDesignWidgetMobilePreview?(renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetMobilePreviewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetMobilePreviewParams): VxeComponentSlotType | VxeComponentSlotType[]
714
+ renderFormDesignWidgetMobilePreview?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetMobilePreviewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetMobilePreviewParams): VxeComponentSlotType | VxeComponentSlotType[]
714
715
  /**
715
716
  * 表单设计器 - 控件渲染器(表单-默认)
716
717
  */
717
- renderFormDesignWidgetView?(renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetViewParams): VxeComponentSlotType | VxeComponentSlotType[]
718
+ renderFormDesignWidgetView?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetViewParams): VxeComponentSlotType | VxeComponentSlotType[]
718
719
  /**
719
720
  * 表单设计器 - 子表渲染器(表格-默认)
720
721
  */
721
- renderFormDesignWidgetSubtableDefaultView?(renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetSubtableDefaultViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetSubtableDefaultViewParams): VxeComponentSlotType | VxeComponentSlotType[]
722
+ renderFormDesignWidgetSubtableDefaultView?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetSubtableDefaultViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetSubtableDefaultViewParams): VxeComponentSlotType | VxeComponentSlotType[]
722
723
  /**
723
724
  * 表单设计器 - 子表渲染器(表格-查看)
724
725
  * 如果不设置,则使用 renderFormDesignWidgetSubtableDefaultView 渲染
725
726
  */
726
- renderFormDesignWidgetSubtableCellView?(renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetSubtableCellViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetSubtableCellViewParams): VxeComponentSlotType | VxeComponentSlotType[]
727
+ renderFormDesignWidgetSubtableCellView?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetSubtableCellViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetSubtableCellViewParams): VxeComponentSlotType | VxeComponentSlotType[]
727
728
  /**
728
729
  * 表单设计器 - 子表渲染器(表格-编辑)
729
730
  */
730
- renderFormDesignWidgetSubtableEditView?(renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetSubtableEditViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetSubtableEditViewParams): VxeComponentSlotType | VxeComponentSlotType[]
731
+ renderFormDesignWidgetSubtableEditView?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderFormDesignWidgetSubtableEditViewOptions, params: VxeGlobalRendererHandles.RenderFormDesignWidgetSubtableEditViewParams): VxeComponentSlotType | VxeComponentSlotType[]
731
732
  /**
732
733
  * 表单设计器 - 自定义子表列的解析
733
734
  */
@@ -905,7 +906,7 @@ declare module '@vxe-ui/core' {
905
906
 
906
907
  createListDesignSettingActionButtonConfig?:(params: VxeGlobalRendererHandles.CreateListDesignSettingActionButtonConfigParams) => VxeGlobalRendererHandles.CreateListDesignSettingActionButtonConfigResult
907
908
  listDesignSettingActionButtonMethod?:(params: VxeGlobalRendererHandles.ListDesignSettingActionButtonMethodParams) => void
908
- renderListDesignSettingActionButtonFormView?(renderOpts: VxeGlobalRendererHandles.RenderListDesignSettingActionButtonFormViewOptions, params: VxeGlobalRendererHandles.RenderListDesignSettingActionButtonFormViewParams): VxeComponentSlotType | VxeComponentSlotType[]
909
+ renderListDesignSettingActionButtonFormView?(h: CreateElement, renderOpts: VxeGlobalRendererHandles.RenderListDesignSettingActionButtonFormViewOptions, params: VxeGlobalRendererHandles.RenderListDesignSettingActionButtonFormViewParams): VxeComponentSlotType | VxeComponentSlotType[]
909
910
  }
910
911
  export namespace VxeGlobalRendererHandles {
911
912
  export interface CreateListDesignSettingFormConfigParams {
@@ -1,4 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
2
-
3
- export interface FormDesignHandleExport {
4
- }
@@ -1,3 +0,0 @@
1
- export * from './table'
2
- export * from './form-design'
3
- export * from './list-design'
@@ -1,4 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
2
-
3
- export interface ListDesignHandleExport {
4
- }
@@ -1,4 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
2
-
3
- export interface TableHandleExport {
4
- }