tomtaw-vxe-table 3.25.13 → 3.25.14

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 (593) hide show
  1. package/es/colgroup/index.d.ts +122 -0
  2. package/es/colgroup/index.js +16 -13
  3. package/es/column/index.d.ts +122 -0
  4. package/es/column/index.js +16 -13
  5. package/es/components.d.ts +12 -0
  6. package/es/components.js +28 -31
  7. package/es/grid/index.d.ts +1252 -0
  8. package/es/grid/index.js +18 -13
  9. package/es/grid/src/grid.d.ts +638 -0
  10. package/es/grid/src/grid.js +1883 -1876
  11. package/es/{vxe-grid/style.min.css → grid/style.mini.css} +1 -1
  12. package/es/index.d.ts +3 -0
  13. package/es/index.esm.js +14 -21
  14. package/es/index.js +15 -0
  15. package/es/locale/lang/ar-EG.d.ts +908 -2
  16. package/es/locale/lang/ar-EG.js +906 -899
  17. package/es/locale/lang/de-DE.d.ts +908 -2
  18. package/es/locale/lang/de-DE.js +906 -899
  19. package/es/locale/lang/en-US.d.ts +908 -2
  20. package/es/locale/lang/en-US.js +906 -899
  21. package/es/locale/lang/es-ES.d.ts +908 -2
  22. package/es/locale/lang/es-ES.js +906 -899
  23. package/es/locale/lang/fr-FR.d.ts +908 -2
  24. package/es/locale/lang/fr-FR.js +906 -899
  25. package/es/locale/lang/hu-HU.d.ts +908 -2
  26. package/es/locale/lang/hu-HU.js +906 -899
  27. package/es/locale/lang/hy-AM.d.ts +908 -2
  28. package/es/locale/lang/hy-AM.js +906 -899
  29. package/es/locale/lang/id-ID.d.ts +908 -2
  30. package/es/locale/lang/id-ID.js +906 -899
  31. package/es/locale/lang/it-IT.d.ts +908 -2
  32. package/es/locale/lang/it-IT.js +906 -899
  33. package/es/locale/lang/ja-JP.d.ts +908 -2
  34. package/es/locale/lang/ja-JP.js +906 -899
  35. package/es/locale/lang/ko-KR.d.ts +908 -2
  36. package/es/locale/lang/ko-KR.js +906 -899
  37. package/es/locale/lang/ms-MY.d.ts +908 -2
  38. package/es/locale/lang/ms-MY.js +906 -899
  39. package/es/locale/lang/nb-NO.d.ts +908 -2
  40. package/es/locale/lang/nb-NO.js +906 -899
  41. package/es/locale/lang/pt-BR.d.ts +908 -2
  42. package/es/locale/lang/pt-BR.js +906 -899
  43. package/es/locale/lang/ru-RU.d.ts +908 -2
  44. package/es/locale/lang/ru-RU.js +906 -899
  45. package/es/locale/lang/th-TH.d.ts +908 -2
  46. package/es/locale/lang/th-TH.js +906 -899
  47. package/es/locale/lang/ug-CN.d.ts +908 -2
  48. package/es/locale/lang/ug-CN.js +906 -899
  49. package/es/locale/lang/uk-UA.d.ts +908 -2
  50. package/es/locale/lang/uk-UA.js +906 -899
  51. package/es/locale/lang/uz-UZ.d.ts +908 -2
  52. package/es/locale/lang/uz-UZ.js +906 -899
  53. package/es/locale/lang/vi-VN.d.ts +908 -2
  54. package/es/locale/lang/vi-VN.js +906 -899
  55. package/es/locale/lang/zh-CHT.d.ts +908 -2
  56. package/es/locale/lang/zh-CHT.js +906 -899
  57. package/es/locale/lang/zh-CN.d.ts +908 -2
  58. package/es/locale/lang/zh-CN.js +906 -899
  59. package/es/locale/lang/zh-HK.d.ts +908 -2
  60. package/es/locale/lang/zh-HK.js +910 -2
  61. package/es/locale/lang/zh-MO.d.ts +908 -2
  62. package/es/locale/lang/zh-MO.js +910 -2
  63. package/es/locale/lang/zh-TC.d.ts +908 -0
  64. package/es/locale/lang/zh-TC.js +910 -2
  65. package/es/locale/lang/zh-TW.d.ts +908 -2
  66. package/es/locale/lang/zh-TW.js +910 -2
  67. package/es/style.css +4499 -1
  68. package/es/style.mini.css +1 -0
  69. package/es/table/index.d.ts +4 -0
  70. package/es/table/index.js +49 -44
  71. package/es/table/module/custom/mixin.d.ts +4 -0
  72. package/es/table/module/custom/mixin.js +476 -487
  73. package/es/table/module/custom/panel.d.ts +57 -0
  74. package/es/table/module/custom/panel.js +1939 -1771
  75. package/es/table/module/edit/mixin.d.ts +2 -0
  76. package/es/table/module/edit/mixin.js +1097 -1110
  77. package/es/table/module/export/export-panel.d.ts +51 -0
  78. package/es/table/module/export/export-panel.js +718 -683
  79. package/es/table/module/export/import-panel.d.ts +39 -0
  80. package/es/table/module/export/import-panel.js +327 -294
  81. package/es/table/module/export/mixin.d.ts +2 -0
  82. package/es/table/module/export/mixin.js +1838 -1860
  83. package/es/table/module/export/util.d.ts +5 -0
  84. package/es/table/module/export/util.js +20 -17
  85. package/es/table/module/filter/mixin.d.ts +4 -0
  86. package/es/table/module/filter/mixin.js +492 -508
  87. package/es/table/module/filter/panel.d.ts +41 -0
  88. package/es/table/module/filter/panel.js +342 -293
  89. package/es/table/module/keyboard/mixin.d.ts +12 -0
  90. package/es/table/module/keyboard/mixin.js +462 -507
  91. package/es/table/module/menu/mixin.d.ts +25 -0
  92. package/es/table/module/menu/mixin.js +302 -320
  93. package/es/table/module/menu/panel.d.ts +22 -0
  94. package/es/table/module/menu/panel.js +246 -197
  95. package/es/table/module/validator/mixin.d.ts +4 -0
  96. package/es/table/module/validator/mixin.js +516 -561
  97. package/es/table/render/index.d.ts +1 -0
  98. package/es/table/render/index.js +1472 -1476
  99. package/es/table/src/body.d.ts +8 -0
  100. package/es/table/src/body.js +950 -886
  101. package/es/table/src/cell.d.ts +148 -0
  102. package/es/table/src/cell.js +1348 -1212
  103. package/es/table/src/column.d.ts +150 -0
  104. package/es/table/src/column.js +202 -199
  105. package/es/table/src/columnInfo.d.ts +12 -0
  106. package/es/table/src/columnInfo.js +210 -205
  107. package/es/table/src/expand-height.d.ts +14 -0
  108. package/es/table/src/expand-height.js +109 -127
  109. package/es/table/src/footer.d.ts +8 -0
  110. package/es/table/src/footer.js +388 -354
  111. package/es/table/src/group.d.ts +59 -0
  112. package/es/table/src/group.js +52 -50
  113. package/es/table/src/header.d.ts +11 -0
  114. package/es/table/src/header.js +611 -564
  115. package/es/table/src/layout-scheduler.d.ts +13 -0
  116. package/es/table/src/layout-scheduler.js +118 -138
  117. package/es/table/src/methods.d.ts +2 -0
  118. package/es/table/src/methods.js +13243 -13956
  119. package/es/table/src/props.d.ts +239 -0
  120. package/es/table/src/props.js +315 -312
  121. package/es/table/src/scroll-sync.d.ts +9 -0
  122. package/es/table/src/scroll-sync.js +57 -65
  123. package/es/table/src/store.d.ts +7 -0
  124. package/es/table/src/store.js +9 -6
  125. package/es/table/src/table.d.ts +2 -0
  126. package/es/table/src/table.js +2729 -2668
  127. package/es/table/src/util.d.ts +70 -0
  128. package/es/table/src/util.js +1018 -1017
  129. package/es/table/style.css +31 -12
  130. package/es/table/style.mini.css +1 -0
  131. package/es/toolbar/index.d.ts +148 -0
  132. package/es/toolbar/index.js +14 -9
  133. package/es/toolbar/src/toolbar.d.ts +81 -0
  134. package/es/toolbar/src/toolbar.js +791 -766
  135. package/es/toolbar/{style.min.css → style.mini.css} +1 -1
  136. package/es/ui/index.d.ts +85 -0
  137. package/es/ui/index.js +460 -503
  138. package/es/ui/src/anime.d.ts +10 -0
  139. package/es/ui/src/anime.js +40 -40
  140. package/es/ui/src/comp.d.ts +2 -0
  141. package/es/ui/src/comp.js +4 -1
  142. package/es/ui/src/dom.d.ts +80 -0
  143. package/es/ui/src/dom.js +373 -378
  144. package/es/ui/src/log.d.ts +6 -0
  145. package/es/ui/src/log.js +18 -13
  146. package/es/ui/src/utils.d.ts +24 -0
  147. package/es/ui/src/utils.js +61 -56
  148. package/es/ui/src/vn.d.ts +7 -0
  149. package/es/ui/src/vn.js +61 -52
  150. package/es/v-x-e-table/index.d.ts +2 -0
  151. package/es/v-x-e-table/index.js +5 -3
  152. package/es/vxe-colgroup/index.d.ts +3 -0
  153. package/es/vxe-colgroup/index.js +6 -3
  154. package/es/vxe-column/index.d.ts +3 -0
  155. package/es/vxe-column/index.js +6 -3
  156. package/es/vxe-grid/index.d.ts +3 -0
  157. package/es/vxe-grid/index.js +6 -3
  158. package/{lib/grid/style/style.min.css → es/vxe-grid/style.mini.css} +1 -1
  159. package/es/vxe-table/index.d.ts +3 -0
  160. package/es/vxe-table/index.js +6 -3
  161. package/es/vxe-table/style.css +31 -12
  162. package/es/vxe-table/style.mini.css +1 -0
  163. package/es/vxe-toolbar/index.d.ts +3 -0
  164. package/es/vxe-toolbar/index.js +6 -3
  165. package/{lib/toolbar/style/style.min.css → es/vxe-toolbar/style.mini.css} +1 -1
  166. package/es/vxe-ui/index.d.ts +3 -0
  167. package/es/vxe-ui/index.js +6 -3
  168. package/lib/colgroup/index.js +44 -18
  169. package/lib/colgroup/style/index.js +1 -1
  170. package/lib/column/index.js +44 -18
  171. package/lib/column/style/index.js +1 -1
  172. package/lib/components.js +55 -92
  173. package/lib/grid/index.js +42 -14
  174. package/lib/grid/src/grid.js +860 -1112
  175. package/lib/grid/style/index.js +1 -1
  176. package/{es/grid/style.min.css → lib/grid/style/style.mini.css} +1 -1
  177. package/lib/index.common.js +43 -19
  178. package/lib/index.js +46 -0
  179. package/lib/index.umd.js +26848 -20027
  180. package/lib/index.umd.min.js +3 -1
  181. package/lib/locale/ar-EG.umd.js +948 -0
  182. package/lib/locale/ar-EG.umd.min.js +1 -0
  183. package/lib/locale/de-DE.umd.js +948 -0
  184. package/lib/locale/de-DE.umd.min.js +1 -0
  185. package/lib/locale/en-US.umd.js +948 -0
  186. package/lib/locale/en-US.umd.min.js +1 -0
  187. package/lib/locale/es-ES.umd.js +948 -0
  188. package/lib/locale/es-ES.umd.min.js +1 -0
  189. package/lib/locale/fr-FR.umd.js +948 -0
  190. package/lib/locale/fr-FR.umd.min.js +1 -0
  191. package/lib/locale/hu-HU.umd.js +948 -0
  192. package/lib/locale/hu-HU.umd.min.js +1 -0
  193. package/lib/locale/hy-AM.umd.js +948 -0
  194. package/lib/locale/hy-AM.umd.min.js +1 -0
  195. package/lib/locale/id-ID.umd.js +948 -0
  196. package/lib/locale/id-ID.umd.min.js +1 -0
  197. package/lib/locale/it-IT.umd.js +948 -0
  198. package/lib/locale/it-IT.umd.min.js +1 -0
  199. package/lib/locale/ja-JP.umd.js +948 -0
  200. package/lib/locale/ja-JP.umd.min.js +1 -0
  201. package/lib/locale/ko-KR.umd.js +948 -0
  202. package/lib/locale/ko-KR.umd.min.js +1 -0
  203. package/lib/locale/lang/ar-EG.js +683 -662
  204. package/lib/locale/lang/ar-EG.umd.js +913 -888
  205. package/lib/locale/lang/ar-EG.umd.min.js +1 -0
  206. package/lib/locale/lang/de-DE.js +683 -662
  207. package/lib/locale/lang/de-DE.umd.js +913 -888
  208. package/lib/locale/lang/de-DE.umd.min.js +1 -0
  209. package/lib/locale/lang/en-US.js +680 -659
  210. package/lib/locale/lang/en-US.umd.js +913 -888
  211. package/lib/locale/lang/en-US.umd.min.js +1 -0
  212. package/lib/locale/lang/es-ES.js +683 -662
  213. package/lib/locale/lang/es-ES.umd.js +913 -888
  214. package/lib/locale/lang/es-ES.umd.min.js +1 -0
  215. package/lib/locale/lang/fr-FR.js +656 -635
  216. package/lib/locale/lang/fr-FR.umd.js +913 -888
  217. package/lib/locale/lang/fr-FR.umd.min.js +1 -0
  218. package/lib/locale/lang/hu-HU.js +683 -662
  219. package/lib/locale/lang/hu-HU.umd.js +913 -888
  220. package/lib/locale/lang/hu-HU.umd.min.js +1 -0
  221. package/lib/locale/lang/hy-AM.js +683 -662
  222. package/lib/locale/lang/hy-AM.umd.js +913 -888
  223. package/lib/locale/lang/hy-AM.umd.min.js +1 -0
  224. package/lib/locale/lang/id-ID.js +683 -662
  225. package/lib/locale/lang/id-ID.umd.js +913 -888
  226. package/lib/locale/lang/id-ID.umd.min.js +1 -0
  227. package/lib/locale/lang/it-IT.js +663 -642
  228. package/lib/locale/lang/it-IT.umd.js +912 -887
  229. package/lib/locale/lang/it-IT.umd.min.js +1 -0
  230. package/lib/locale/lang/ja-JP.js +712 -691
  231. package/lib/locale/lang/ja-JP.umd.js +913 -888
  232. package/lib/locale/lang/ja-JP.umd.min.js +1 -0
  233. package/lib/locale/lang/ko-KR.js +683 -662
  234. package/lib/locale/lang/ko-KR.umd.js +913 -888
  235. package/lib/locale/lang/ko-KR.umd.min.js +1 -0
  236. package/lib/locale/lang/ms-MY.js +683 -662
  237. package/lib/locale/lang/ms-MY.umd.js +913 -888
  238. package/lib/locale/lang/ms-MY.umd.min.js +1 -0
  239. package/lib/locale/lang/nb-NO.js +683 -662
  240. package/lib/locale/lang/nb-NO.umd.js +913 -888
  241. package/lib/locale/lang/nb-NO.umd.min.js +1 -0
  242. package/lib/locale/lang/pt-BR.js +683 -662
  243. package/lib/locale/lang/pt-BR.umd.js +913 -888
  244. package/lib/locale/lang/pt-BR.umd.min.js +1 -0
  245. package/lib/locale/lang/ru-RU.js +692 -671
  246. package/lib/locale/lang/ru-RU.umd.js +913 -888
  247. package/lib/locale/lang/ru-RU.umd.min.js +1 -0
  248. package/lib/locale/lang/th-TH.js +683 -662
  249. package/lib/locale/lang/th-TH.umd.js +913 -888
  250. package/lib/locale/lang/th-TH.umd.min.js +1 -0
  251. package/lib/locale/lang/ug-CN.js +683 -662
  252. package/lib/locale/lang/ug-CN.umd.js +913 -888
  253. package/lib/locale/lang/ug-CN.umd.min.js +1 -0
  254. package/lib/locale/lang/uk-UA.js +676 -655
  255. package/lib/locale/lang/uk-UA.umd.js +913 -888
  256. package/lib/locale/lang/uk-UA.umd.min.js +1 -0
  257. package/lib/locale/lang/uz-UZ.js +585 -564
  258. package/lib/locale/lang/uz-UZ.umd.js +908 -883
  259. package/lib/locale/lang/uz-UZ.umd.min.js +1 -0
  260. package/lib/locale/lang/vi-VN.js +683 -662
  261. package/lib/locale/lang/vi-VN.umd.js +913 -888
  262. package/lib/locale/lang/vi-VN.umd.min.js +1 -0
  263. package/lib/locale/lang/zh-CHT.js +683 -662
  264. package/lib/locale/lang/zh-CHT.umd.js +913 -888
  265. package/lib/locale/lang/zh-CHT.umd.min.js +1 -0
  266. package/lib/locale/lang/zh-CN.js +683 -662
  267. package/lib/locale/lang/zh-CN.umd.js +913 -888
  268. package/lib/locale/lang/zh-CN.umd.min.js +1 -0
  269. package/lib/locale/lang/zh-HK.js +928 -7
  270. package/lib/locale/lang/zh-HK.umd.js +945 -20
  271. package/lib/locale/lang/zh-HK.umd.min.js +1 -0
  272. package/lib/locale/lang/zh-MO.js +928 -7
  273. package/lib/locale/lang/zh-MO.umd.js +945 -20
  274. package/lib/locale/lang/zh-MO.umd.min.js +1 -0
  275. package/lib/locale/lang/zh-TC.js +928 -7
  276. package/lib/locale/lang/zh-TC.umd.js +948 -0
  277. package/lib/locale/lang/zh-TC.umd.min.js +1 -0
  278. package/lib/locale/lang/zh-TW.js +928 -7
  279. package/lib/locale/lang/zh-TW.umd.js +945 -20
  280. package/lib/locale/lang/zh-TW.umd.min.js +1 -0
  281. package/lib/locale/ms-MY.umd.js +948 -0
  282. package/lib/locale/ms-MY.umd.min.js +1 -0
  283. package/lib/locale/nb-NO.umd.js +948 -0
  284. package/lib/locale/nb-NO.umd.min.js +1 -0
  285. package/lib/locale/pt-BR.umd.js +948 -0
  286. package/lib/locale/pt-BR.umd.min.js +1 -0
  287. package/lib/locale/ru-RU.umd.js +948 -0
  288. package/lib/locale/ru-RU.umd.min.js +1 -0
  289. package/lib/locale/th-TH.umd.js +948 -0
  290. package/lib/locale/th-TH.umd.min.js +1 -0
  291. package/lib/locale/ug-CN.umd.js +948 -0
  292. package/lib/locale/ug-CN.umd.min.js +1 -0
  293. package/lib/locale/uk-UA.umd.js +948 -0
  294. package/lib/locale/uk-UA.umd.min.js +1 -0
  295. package/lib/locale/uz-UZ.umd.js +948 -0
  296. package/lib/locale/uz-UZ.umd.min.js +1 -0
  297. package/lib/locale/vi-VN.umd.js +948 -0
  298. package/lib/locale/vi-VN.umd.min.js +1 -0
  299. package/lib/locale/zh-CHT.umd.js +948 -0
  300. package/lib/locale/zh-CHT.umd.min.js +1 -0
  301. package/lib/locale/zh-CN.umd.js +948 -0
  302. package/lib/locale/zh-CN.umd.min.js +1 -0
  303. package/lib/locale/zh-HK.umd.js +948 -0
  304. package/lib/locale/zh-HK.umd.min.js +1 -0
  305. package/lib/locale/zh-MO.umd.js +948 -0
  306. package/lib/locale/zh-MO.umd.min.js +1 -0
  307. package/lib/locale/zh-TC.umd.js +948 -0
  308. package/lib/locale/zh-TC.umd.min.js +1 -0
  309. package/lib/locale/zh-TW.umd.js +948 -0
  310. package/lib/locale/zh-TW.umd.min.js +1 -0
  311. package/lib/style.css +4499 -1
  312. package/lib/style.mini.css +1 -0
  313. package/lib/table/index.js +60 -32
  314. package/lib/table/module/custom/mixin.js +166 -262
  315. package/lib/table/module/custom/panel.js +1277 -1076
  316. package/lib/table/module/edit/mixin.js +347 -645
  317. package/lib/table/module/export/export-panel.js +526 -399
  318. package/lib/table/module/export/import-panel.js +210 -141
  319. package/lib/table/module/export/mixin.js +898 -1253
  320. package/lib/table/module/export/util.js +37 -14
  321. package/lib/table/module/filter/mixin.js +110 -196
  322. package/lib/table/module/filter/panel.js +229 -186
  323. package/lib/table/module/keyboard/mixin.js +104 -153
  324. package/lib/table/module/menu/mixin.js +89 -151
  325. package/lib/table/module/menu/panel.js +243 -140
  326. package/lib/table/module/validator/mixin.js +188 -278
  327. package/lib/table/render/index.js +777 -1230
  328. package/lib/table/src/body.js +542 -556
  329. package/lib/table/src/cell.js +783 -933
  330. package/lib/table/src/column.js +49 -23
  331. package/lib/table/src/columnInfo.js +86 -104
  332. package/lib/table/src/expand-height.js +43 -47
  333. package/lib/table/src/footer.js +231 -234
  334. package/lib/table/src/group.js +45 -23
  335. package/lib/table/src/header.js +352 -357
  336. package/lib/table/src/layout-scheduler.js +44 -48
  337. package/lib/table/src/methods.js +13656 -945
  338. package/lib/table/src/props.js +33 -36
  339. package/lib/table/src/scroll-sync.js +28 -17
  340. package/lib/table/src/store.js +24 -8
  341. package/lib/table/src/table.js +1217 -1302
  342. package/lib/table/src/util.js +218 -304
  343. package/lib/table/style/index.js +1 -1
  344. package/lib/table/style/style.css +31 -12
  345. package/lib/table/style/style.mini.css +1 -0
  346. package/lib/toolbar/index.js +42 -14
  347. package/lib/toolbar/src/toolbar.js +302 -357
  348. package/lib/toolbar/style/index.js +1 -1
  349. package/lib/{vxe-toolbar/style/style.min.css → toolbar/style/style.mini.css} +1 -1
  350. package/lib/ui/index.js +152 -194
  351. package/lib/ui/src/anime.js +49 -29
  352. package/lib/ui/src/comp.js +22 -6
  353. package/lib/ui/src/dom.js +126 -158
  354. package/lib/ui/src/log.js +34 -18
  355. package/lib/ui/src/utils.js +59 -47
  356. package/lib/ui/src/vn.js +72 -45
  357. package/lib/ui/style/index.js +1 -1
  358. package/lib/v-x-e-table/index.js +33 -20
  359. package/lib/vxe-colgroup/index.js +35 -20
  360. package/lib/vxe-colgroup/style/index.js +1 -1
  361. package/lib/vxe-column/index.js +35 -20
  362. package/lib/vxe-column/style/index.js +1 -1
  363. package/lib/vxe-grid/index.js +35 -20
  364. package/lib/vxe-grid/style/index.js +1 -1
  365. package/lib/vxe-grid/style/{style.min.css → style.mini.css} +1 -1
  366. package/lib/vxe-table/index.js +35 -20
  367. package/lib/vxe-table/style/index.js +1 -1
  368. package/lib/vxe-table/style/style.css +31 -12
  369. package/lib/vxe-table/style/style.mini.css +1 -0
  370. package/lib/vxe-toolbar/index.js +35 -20
  371. package/lib/vxe-toolbar/style/index.js +1 -1
  372. package/{es/vxe-toolbar/style.min.css → lib/vxe-toolbar/style/style.mini.css} +1 -1
  373. package/lib/vxe-ui/index.js +35 -20
  374. package/lib/vxe-ui/style/index.js +1 -1
  375. package/package.json +21 -6
  376. package/packages/colgroup/index.ts +2 -2
  377. package/packages/column/index.ts +2 -2
  378. package/packages/components.ts +12 -10
  379. package/packages/grid/index.ts +2 -2
  380. package/packages/grid/src/grid.ts +437 -351
  381. package/packages/index.ts +11 -0
  382. package/packages/locale/lang/ar-EG.ts +4 -0
  383. package/packages/locale/lang/de-DE.ts +4 -0
  384. package/packages/locale/lang/en-US.ts +4 -0
  385. package/packages/locale/lang/es-ES.ts +4 -0
  386. package/packages/locale/lang/fr-FR.ts +22 -18
  387. package/packages/locale/lang/hu-HU.ts +4 -0
  388. package/packages/locale/lang/hy-AM.ts +4 -0
  389. package/packages/locale/lang/id-ID.ts +4 -0
  390. package/packages/locale/lang/it-IT.ts +8 -4
  391. package/packages/locale/lang/ja-JP.ts +4 -0
  392. package/packages/locale/lang/ko-KR.ts +4 -0
  393. package/packages/locale/lang/ms-MY.ts +4 -0
  394. package/packages/locale/lang/nb-NO.ts +4 -0
  395. package/packages/locale/lang/pt-BR.ts +4 -0
  396. package/packages/locale/lang/ru-RU.ts +4 -0
  397. package/packages/locale/lang/th-TH.ts +4 -0
  398. package/packages/locale/lang/ug-CN.ts +4 -0
  399. package/packages/locale/lang/uk-UA.ts +5 -1
  400. package/packages/locale/lang/uz-UZ.ts +17 -13
  401. package/packages/locale/lang/vi-VN.ts +4 -0
  402. package/packages/locale/lang/zh-CHT.ts +4 -0
  403. package/packages/locale/lang/zh-CN.ts +4 -0
  404. package/packages/locale/lang/zh-HK.ts +907 -3
  405. package/packages/locale/lang/zh-MO.ts +907 -3
  406. package/packages/locale/lang/zh-TC.ts +907 -3
  407. package/packages/locale/lang/zh-TW.ts +907 -3
  408. package/packages/table/index.ts +6 -6
  409. package/packages/table/module/custom/mixin.ts +73 -66
  410. package/packages/table/module/custom/panel.ts +1176 -925
  411. package/packages/table/module/edit/mixin.ts +253 -173
  412. package/packages/table/module/export/export-panel.ts +541 -461
  413. package/packages/table/module/export/import-panel.ts +179 -136
  414. package/packages/table/module/export/mixin.ts +725 -633
  415. package/packages/table/module/export/util.ts +4 -3
  416. package/packages/table/module/filter/mixin.ts +58 -54
  417. package/packages/table/module/filter/panel.ts +176 -122
  418. package/packages/table/module/keyboard/mixin.ts +35 -31
  419. package/packages/table/module/menu/mixin.ts +12 -12
  420. package/packages/table/module/menu/panel.ts +225 -158
  421. package/packages/table/module/validator/mixin.ts +179 -162
  422. package/packages/table/render/index.ts +362 -285
  423. package/packages/table/src/body.ts +383 -284
  424. package/packages/table/src/cell.ts +579 -410
  425. package/packages/table/src/column.ts +6 -6
  426. package/packages/table/src/columnInfo.ts +7 -7
  427. package/packages/table/src/expand-height.ts +27 -26
  428. package/packages/table/src/footer.ts +172 -127
  429. package/packages/table/src/group.ts +5 -5
  430. package/packages/table/src/header.ts +275 -211
  431. package/packages/table/src/layout-scheduler.ts +7 -9
  432. package/packages/table/src/methods.ts +2132 -1809
  433. package/packages/table/src/props.ts +1 -1
  434. package/packages/table/src/scroll-sync.ts +5 -5
  435. package/packages/table/src/store.ts +1 -1
  436. package/packages/table/src/table.ts +1062 -871
  437. package/packages/table/src/util.ts +58 -71
  438. package/packages/toolbar/index.ts +2 -2
  439. package/packages/toolbar/src/toolbar.ts +245 -191
  440. package/packages/ui/index.ts +9 -36
  441. package/packages/ui/src/anime.ts +10 -11
  442. package/packages/ui/src/dom.ts +52 -49
  443. package/packages/ui/src/log.ts +2 -2
  444. package/packages/ui/src/utils.ts +13 -13
  445. package/packages/ui/src/vn.ts +8 -7
  446. package/packages/v-x-e-table/index.ts +0 -1
  447. package/styles/components/table-module/filter.scss +26 -13
  448. package/styles/components/table.scss +6 -0
  449. package/styles/theme/base.scss +1 -0
  450. package/types/all.d.ts +1 -1
  451. package/es/index.css +0 -1
  452. package/es/index.min.css +0 -1
  453. package/es/style.min.css +0 -1
  454. package/es/table/style.min.css +0 -1
  455. package/es/vxe-table/style.min.css +0 -1
  456. package/es/vxe-v-x-e-table/index.js +0 -3
  457. package/lib/colgroup/index.min.js +0 -1
  458. package/lib/column/index.min.js +0 -1
  459. package/lib/components.min.js +0 -1
  460. package/lib/grid/index.min.js +0 -1
  461. package/lib/grid/src/grid.min.js +0 -1
  462. package/lib/index.css +0 -1
  463. package/lib/index.min.css +0 -1
  464. package/lib/locale/lang/ar-EG.d.ts +0 -2
  465. package/lib/locale/lang/ar-EG.min.js +0 -1
  466. package/lib/locale/lang/de-DE.d.ts +0 -2
  467. package/lib/locale/lang/de-DE.min.js +0 -1
  468. package/lib/locale/lang/en-US.d.ts +0 -2
  469. package/lib/locale/lang/en-US.min.js +0 -1
  470. package/lib/locale/lang/es-ES.d.ts +0 -2
  471. package/lib/locale/lang/es-ES.min.js +0 -1
  472. package/lib/locale/lang/fr-FR.d.ts +0 -2
  473. package/lib/locale/lang/fr-FR.min.js +0 -1
  474. package/lib/locale/lang/hu-HU.d.ts +0 -2
  475. package/lib/locale/lang/hu-HU.min.js +0 -1
  476. package/lib/locale/lang/hy-AM.d.ts +0 -2
  477. package/lib/locale/lang/hy-AM.min.js +0 -1
  478. package/lib/locale/lang/id-ID.d.ts +0 -2
  479. package/lib/locale/lang/id-ID.min.js +0 -1
  480. package/lib/locale/lang/it-IT.d.ts +0 -2
  481. package/lib/locale/lang/it-IT.min.js +0 -1
  482. package/lib/locale/lang/ja-JP.d.ts +0 -2
  483. package/lib/locale/lang/ja-JP.min.js +0 -1
  484. package/lib/locale/lang/ko-KR.d.ts +0 -2
  485. package/lib/locale/lang/ko-KR.min.js +0 -1
  486. package/lib/locale/lang/ms-MY.d.ts +0 -2
  487. package/lib/locale/lang/ms-MY.min.js +0 -1
  488. package/lib/locale/lang/nb-NO.d.ts +0 -2
  489. package/lib/locale/lang/nb-NO.min.js +0 -1
  490. package/lib/locale/lang/pt-BR.d.ts +0 -2
  491. package/lib/locale/lang/pt-BR.min.js +0 -1
  492. package/lib/locale/lang/ru-RU.d.ts +0 -2
  493. package/lib/locale/lang/ru-RU.min.js +0 -1
  494. package/lib/locale/lang/th-TH.d.ts +0 -2
  495. package/lib/locale/lang/th-TH.min.js +0 -1
  496. package/lib/locale/lang/ug-CN.d.ts +0 -2
  497. package/lib/locale/lang/ug-CN.min.js +0 -1
  498. package/lib/locale/lang/uk-UA.d.ts +0 -2
  499. package/lib/locale/lang/uk-UA.min.js +0 -1
  500. package/lib/locale/lang/uz-UZ.d.ts +0 -2
  501. package/lib/locale/lang/uz-UZ.min.js +0 -1
  502. package/lib/locale/lang/vi-VN.d.ts +0 -2
  503. package/lib/locale/lang/vi-VN.min.js +0 -1
  504. package/lib/locale/lang/zh-CHT.d.ts +0 -2
  505. package/lib/locale/lang/zh-CHT.min.js +0 -1
  506. package/lib/locale/lang/zh-CN.d.ts +0 -2
  507. package/lib/locale/lang/zh-CN.min.js +0 -1
  508. package/lib/locale/lang/zh-HK.d.ts +0 -2
  509. package/lib/locale/lang/zh-HK.min.js +0 -1
  510. package/lib/locale/lang/zh-MO.d.ts +0 -2
  511. package/lib/locale/lang/zh-MO.min.js +0 -1
  512. package/lib/locale/lang/zh-TC.min.js +0 -1
  513. package/lib/locale/lang/zh-TW.d.ts +0 -2
  514. package/lib/locale/lang/zh-TW.min.js +0 -1
  515. package/lib/style.min.css +0 -1
  516. package/lib/table/index.min.js +0 -1
  517. package/lib/table/module/custom/mixin.min.js +0 -1
  518. package/lib/table/module/custom/panel.min.js +0 -1
  519. package/lib/table/module/edit/mixin.min.js +0 -1
  520. package/lib/table/module/export/export-panel.min.js +0 -1
  521. package/lib/table/module/export/import-panel.min.js +0 -1
  522. package/lib/table/module/export/mixin.min.js +0 -1
  523. package/lib/table/module/export/util.min.js +0 -1
  524. package/lib/table/module/filter/mixin.min.js +0 -1
  525. package/lib/table/module/filter/panel.min.js +0 -1
  526. package/lib/table/module/keyboard/mixin.min.js +0 -1
  527. package/lib/table/module/menu/mixin.min.js +0 -1
  528. package/lib/table/module/menu/panel.min.js +0 -1
  529. package/lib/table/module/validator/mixin.min.js +0 -1
  530. package/lib/table/render/index.min.js +0 -1
  531. package/lib/table/src/body.min.js +0 -1
  532. package/lib/table/src/cell.min.js +0 -1
  533. package/lib/table/src/column.min.js +0 -1
  534. package/lib/table/src/columnInfo.min.js +0 -1
  535. package/lib/table/src/expand-height.min.js +0 -1
  536. package/lib/table/src/footer.min.js +0 -1
  537. package/lib/table/src/group.min.js +0 -1
  538. package/lib/table/src/header.min.js +0 -1
  539. package/lib/table/src/layout-scheduler.min.js +0 -1
  540. package/lib/table/src/methods.min.js +0 -1
  541. package/lib/table/src/props.min.js +0 -1
  542. package/lib/table/src/scroll-sync.min.js +0 -1
  543. package/lib/table/src/store.min.js +0 -1
  544. package/lib/table/src/table.min.js +0 -1
  545. package/lib/table/src/util.min.js +0 -1
  546. package/lib/table/style/style.min.css +0 -1
  547. package/lib/toolbar/index.min.js +0 -1
  548. package/lib/toolbar/src/toolbar.min.js +0 -1
  549. package/lib/ui/index.min.js +0 -1
  550. package/lib/ui/src/anime.min.js +0 -1
  551. package/lib/ui/src/comp.min.js +0 -1
  552. package/lib/ui/src/dom.min.js +0 -1
  553. package/lib/ui/src/log.min.js +0 -1
  554. package/lib/ui/src/utils.min.js +0 -1
  555. package/lib/ui/src/vn.min.js +0 -1
  556. package/lib/ui/style/style.min.css +0 -0
  557. package/lib/v-x-e-table/index.min.js +0 -1
  558. package/lib/v-x-e-table/style/index.js +0 -1
  559. package/lib/v-x-e-table/style/style.css +0 -0
  560. package/lib/v-x-e-table/style/style.min.css +0 -0
  561. package/lib/vxe-colgroup/index.min.js +0 -1
  562. package/lib/vxe-colgroup/style/style.min.css +0 -0
  563. package/lib/vxe-column/index.min.js +0 -1
  564. package/lib/vxe-column/style/style.min.css +0 -0
  565. package/lib/vxe-grid/index.min.js +0 -1
  566. package/lib/vxe-table/index.min.js +0 -1
  567. package/lib/vxe-table/style/style.min.css +0 -1
  568. package/lib/vxe-toolbar/index.min.js +0 -1
  569. package/lib/vxe-ui/index.min.js +0 -1
  570. package/lib/vxe-ui/style/style.min.css +0 -0
  571. package/lib/vxe-v-x-e-table/index.js +0 -22
  572. package/lib/vxe-v-x-e-table/index.min.js +0 -1
  573. package/lib/vxe-v-x-e-table/style/index.js +0 -1
  574. package/lib/vxe-v-x-e-table/style/style.css +0 -0
  575. package/lib/vxe-v-x-e-table/style/style.min.css +0 -0
  576. /package/es/colgroup/{style.min.css → style.mini.css} +0 -0
  577. /package/es/column/{style.min.css → style.mini.css} +0 -0
  578. /package/es/{iconfont.1792648484860.ttf → iconfont.1793178568083.ttf} +0 -0
  579. /package/es/{iconfont.1792648484860.woff → iconfont.1793178568083.woff} +0 -0
  580. /package/es/{iconfont.1792648484860.woff2 → iconfont.1793178568083.woff2} +0 -0
  581. /package/es/ui/{style.min.css → style.mini.css} +0 -0
  582. /package/es/{v-x-e-table/style.css → vxe-colgroup/style.mini.css} +0 -0
  583. /package/es/{v-x-e-table/style.min.css → vxe-column/style.mini.css} +0 -0
  584. /package/es/{vxe-colgroup/style.min.css → vxe-ui/style.mini.css} +0 -0
  585. /package/{es/vxe-column/style.min.css → lib/colgroup/style/style.mini.css} +0 -0
  586. /package/{es/vxe-ui/style.min.css → lib/column/style/style.mini.css} +0 -0
  587. /package/lib/{iconfont.1792648484860.ttf → iconfont.1793178568083.ttf} +0 -0
  588. /package/lib/{iconfont.1792648484860.woff → iconfont.1793178568083.woff} +0 -0
  589. /package/lib/{iconfont.1792648484860.woff2 → iconfont.1793178568083.woff2} +0 -0
  590. /package/{es/vxe-v-x-e-table/style.css → lib/ui/style/style.mini.css} +0 -0
  591. /package/{es/vxe-v-x-e-table/style.min.css → lib/vxe-colgroup/style/style.mini.css} +0 -0
  592. /package/lib/{colgroup/style/style.min.css → vxe-column/style/style.mini.css} +0 -0
  593. /package/lib/{column/style/style.min.css → vxe-ui/style/style.mini.css} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { PropType, CreateElement } from 'vue'
2
2
  import XEUtils from 'xe-utils'
3
- import { VxeUI } from '../../ui'
3
+ import { VxeUI } from '@vxe-ui/core'
4
4
  import { defineVxeComponent } from '../../ui/src/comp'
5
5
  import { isEnableConf, getClass, getDefaultConfig, hasEnableConf } from '../../ui/src/utils'
6
6
  import { getRowid, createHandleGetRowId, getCellRestHeight } from './util'
@@ -27,7 +27,7 @@ const isVMScrollProcess = ($xeTable: VxeTableConstructor & VxeTablePrivateMethod
27
27
  return !!(isDragResize || (lastSTime && Date.now() < lastSTime + (delayHover as number)))
28
28
  }
29
29
 
30
- function renderLine (h: CreateElement, $xeTable : VxeTableConstructor & VxeTablePrivateMethods, rowid: string, params: VxeTableDefines.CellRenderBodyParams, cellHeight: number): VxeComponentSlotType[] {
30
+ function renderLine(h: CreateElement, $xeTable: VxeTableConstructor & VxeTablePrivateMethods, rowid: string, params: VxeTableDefines.CellRenderBodyParams, cellHeight: number): VxeComponentSlotType[] {
31
31
  const tableProps = $xeTable
32
32
  const tableInternalData = $xeTable as unknown as TableInternalData
33
33
 
@@ -64,19 +64,23 @@ function renderLine (h: CreateElement, $xeTable : VxeTableConstructor & VxeTable
64
64
  lineHeight = `calc(-1em + ${Math.floor(cellHeight / 2 + getCellRestHeight(parentRowRest, cellOpts, rowOpts, defaultRowHeight) / 2)}px)`
65
65
  }
66
66
  return [
67
- h('div', {
68
- key: 'tl',
69
- class: 'vxe-tree--line-wrapper'
70
- }, [
71
- h('div', {
72
- class: 'vxe-tree--line',
73
- style: {
74
- height: lineHeight,
75
- bottom: `-${Math.floor(cellHeight / 2)}px`,
76
- left: `calc(${(rLevel * treeOpts.indent)}px + 1em)`
77
- }
78
- })
79
- ])
67
+ h(
68
+ 'div',
69
+ {
70
+ key: 'tl',
71
+ class: 'vxe-tree--line-wrapper'
72
+ },
73
+ [
74
+ h('div', {
75
+ class: 'vxe-tree--line',
76
+ style: {
77
+ height: lineHeight,
78
+ bottom: `-${Math.floor(cellHeight / 2)}px`,
79
+ left: `calc(${rLevel * treeOpts.indent}px + 1em)`
80
+ }
81
+ })
82
+ ]
83
+ )
80
84
  ]
81
85
  }
82
86
  return []
@@ -85,7 +89,7 @@ function renderLine (h: CreateElement, $xeTable : VxeTableConstructor & VxeTable
85
89
  /**
86
90
  * 渲染列
87
91
  */
88
- function renderTdColumn (
92
+ function renderTdColumn(
89
93
  h: CreateElement,
90
94
  $xeTable: VxeTableConstructor & VxeTablePrivateMethods,
91
95
  seq: number | string,
@@ -123,7 +127,7 @@ function renderTdColumn (
123
127
  const rowOpts = $xeTable.computeRowOpts
124
128
  const rowDragOpts = $xeTable.computeRowDragOpts
125
129
  const defaultRowHeight = $xeTable.computeDefaultRowHeight
126
- const customCellHeight = calcCellHeightFlag ? (cellOpts.height || rowOpts.height) : 0
130
+ const customCellHeight = calcCellHeightFlag ? cellOpts.height || rowOpts.height : 0
127
131
  const { disabledMethod: dragDisabledMethod, isCrossDrag, isPeerDrag } = rowDragOpts
128
132
  const columnOpts = $xeTable.computeColumnOpts
129
133
  const mouseOpts = $xeTable.computeMouseOpts
@@ -137,28 +141,28 @@ function renderTdColumn (
137
141
  const colid = column.id
138
142
  const colRest = fullColumnIdData[colid] || {}
139
143
  const renderOpts = editRender || cellRender
140
- const compConf = renderOpts && renderOpts.name ? (rendererOpts[renderOpts.name] || renderer.get(renderOpts.name)) : null
141
- const compCellClassName = compConf ? (compConf.tableCellClassName || compConf.cellClassName) : null
142
- const compCellStyle = compConf ? (compConf.tableCellStyle || compConf.cellStyle) : ''
144
+ const compConf = renderOpts && renderOpts.name ? rendererOpts[renderOpts.name] || renderer.get(renderOpts.name) : null
145
+ const compCellClassName = compConf ? compConf.tableCellClassName || compConf.cellClassName : null
146
+ const compCellStyle = compConf ? compConf.tableCellStyle || compConf.cellStyle : ''
143
147
  const showAllTip = tooltipOpts.showAll
144
148
  const columnIndex = colRest.index
145
149
  const _columnIndex = colRest._index
146
150
  const isEdit = isEnableConf(editRender)
147
151
  const resizeHeight = resizeHeightFlag ? rowRest.resizeHeight : 0
148
152
  let fixedHiddenColumn = overflowX && (fixedType ? column.fixed !== fixedType : !!column.fixed)
149
- const cellPadding = getDefaultConfig(padding, (allPadding === null ? cellOpts.padding : allPadding))
153
+ const cellPadding = getDefaultConfig(padding, allPadding === null ? cellOpts.padding : allPadding)
150
154
  const isAllCellPadding = cellPadding === true
151
- const isCellPaddingTop = cellPadding ? (isAllCellPadding || cellPadding.top !== false) : false
152
- const isCellPaddingBottom = cellPadding ? (isAllCellPadding || cellPadding.bottom !== false) : false
153
- const isCellPaddingLeft = cellPadding ? (isAllCellPadding || cellPadding.left !== false) : false
154
- const isCellPaddingRight = cellPadding ? (isAllCellPadding || cellPadding.right !== false) : false
155
+ const isCellPaddingTop = cellPadding ? isAllCellPadding || cellPadding.top !== false : false
156
+ const isCellPaddingBottom = cellPadding ? isAllCellPadding || cellPadding.bottom !== false : false
157
+ const isCellPaddingLeft = cellPadding ? isAllCellPadding || cellPadding.left !== false : false
158
+ const isCellPaddingRight = cellPadding ? isAllCellPadding || cellPadding.right !== false : false
155
159
 
156
160
  const cellOverflow = getDefaultConfig(showOverflow, allShowOverflow)
157
161
  const showEllipsis = cellOverflow === 'ellipsis'
158
162
  const showTitle = cellOverflow === 'title'
159
163
  const showTooltip = cellOverflow === true ? tooltipOpts.mode === 'tooltip' : cellOverflow === 'tooltip'
160
164
  const hasEllipsis = isAllOverflow || showTitle || showTooltip || showEllipsis
161
- const showResizable = (XEUtils.isBoolean(column.resizable) ? column.resizable : (columnOpts.resizable || allResizable))
165
+ const showResizable = XEUtils.isBoolean(column.resizable) ? column.resizable : columnOpts.resizable || allResizable
162
166
  const isCsHeight = !!customCellHeight
163
167
  const isRsHeight = resizeHeight > 0
164
168
  let isDirty
@@ -166,7 +170,7 @@ function renderTdColumn (
166
170
  const cellAlign = align || (compConf ? compConf.tableCellAlign : '') || allAlign
167
171
  const cellVerticalAlign = XEUtils.eqNull(verticalAlign) ? allVerticalAlign : verticalAlign
168
172
  const errorValidItem = validErrorMaps[`${rowid}:${colid}`]
169
- const showValidTip = editRules && validOpts.showErrorMessage && (validOpts.message === 'default' ? (height || tableData.length > 1) : validOpts.message === 'inline')
173
+ const showValidTip = editRules && validOpts.showErrorMessage && (validOpts.message === 'default' ? height || tableData.length > 1 : validOpts.message === 'inline')
170
174
  const tdAttrs: any = { colid }
171
175
  const cellParams: VxeTableDefines.CellRenderBodyParams & {
172
176
  $table: VxeTableConstructor<any> & VxeTablePrivateMethods
@@ -342,7 +346,7 @@ function renderTdColumn (
342
346
  }
343
347
  }
344
348
  }
345
- tcStyle.width = (column.renderWidth + mergeColWidth - cellOffsetWidth) + 'px'
349
+ tcStyle.width = column.renderWidth + mergeColWidth - cellOffsetWidth + 'px'
346
350
  }
347
351
  if (scrollYLoad || scrollXLoad || hasEllipsis || isCsHeight || isRsHeight) {
348
352
  tcStyle.height = cellHeight + 'px'
@@ -361,11 +365,14 @@ function renderTdColumn (
361
365
  tdVNs.push(
362
366
  h('div', {
363
367
  key: 'tc',
364
- class: ['vxe-cell', {
365
- 'c--title': showTitle,
366
- 'c--tooltip': showTooltip,
367
- 'c--ellipsis': showEllipsis
368
- }],
368
+ class: [
369
+ 'vxe-cell',
370
+ {
371
+ 'c--title': showTitle,
372
+ 'c--tooltip': showTooltip,
373
+ 'c--ellipsis': showEllipsis
374
+ }
375
+ ],
369
376
  style: tcStyle
370
377
  })
371
378
  )
@@ -377,55 +384,79 @@ function renderTdColumn (
377
384
  const clVNs: VxeComponentSlotType[] = []
378
385
  if (!isVNPreEmptyStatus) {
379
386
  clVNs.push(
380
- h('div', {
381
- attrs: {
382
- colid,
383
- rowid
387
+ h(
388
+ 'div',
389
+ {
390
+ attrs: {
391
+ colid,
392
+ rowid
393
+ },
394
+ class: 'vxe-cell--wrapper vxe-body-cell--wrapper'
384
395
  },
385
- class: 'vxe-cell--wrapper vxe-body-cell--wrapper'
386
- }, column.renderCell(h, cellParams))
396
+ column.renderCell(h, cellParams)
397
+ )
387
398
  )
388
399
  }
389
400
  tdVNs.push(
390
- h('div', {
391
- key: 'tc',
392
- class: ['vxe-cell', {
393
- 'c--title': showTitle,
394
- 'c--tooltip': showTooltip,
395
- 'c--ellipsis': showEllipsis
396
- }],
397
- style: tcStyle,
398
- attrs: {
399
- title: showTitle ? $xeTable.getCellLabel(row, column) : null
400
- }
401
- }, clVNs)
401
+ h(
402
+ 'div',
403
+ {
404
+ key: 'tc',
405
+ class: [
406
+ 'vxe-cell',
407
+ {
408
+ 'c--title': showTitle,
409
+ 'c--tooltip': showTooltip,
410
+ 'c--ellipsis': showEllipsis
411
+ }
412
+ ],
413
+ style: tcStyle,
414
+ attrs: {
415
+ title: showTitle ? $xeTable.getCellLabel(row, column) : null
416
+ }
417
+ },
418
+ clVNs
419
+ )
402
420
  )
403
421
  if (showValidTip && errorValidItem) {
404
422
  const errRule = errorValidItem.rule
405
423
  const validSlot = slots ? slots.valid : null
406
424
  const validParams = { ...cellParams, ...errorValidItem, rule: errorValidItem }
407
425
  tdVNs.push(
408
- h('div', {
409
- key: 'tcv',
410
- class: ['vxe-cell--valid-error-tip', getClass(validOpts.className, errorValidItem)],
411
- style: errRule && errRule.maxWidth
412
- ? {
413
- width: errRule.maxWidth + 'px'
414
- }
415
- : undefined
416
- }, [
417
- h('div', {
418
- class: `vxe-cell--valid-error-wrapper vxe-cell--valid-error-theme-${validOpts.theme || 'normal'}`
419
- }, [
420
- validSlot
421
- ? $xeTable.callSlot(validSlot, validParams, h)
422
- : [
423
- h('span', {
424
- class: 'vxe-cell--valid-error-msg'
425
- }, errorValidItem.content)
426
- ]
427
- ])
428
- ])
426
+ h(
427
+ 'div',
428
+ {
429
+ key: 'tcv',
430
+ class: ['vxe-cell--valid-error-tip', getClass(validOpts.className, errorValidItem)],
431
+ style:
432
+ errRule && errRule.maxWidth
433
+ ? {
434
+ width: errRule.maxWidth + 'px'
435
+ }
436
+ : undefined
437
+ },
438
+ [
439
+ h(
440
+ 'div',
441
+ {
442
+ class: `vxe-cell--valid-error-wrapper vxe-cell--valid-error-theme-${validOpts.theme || 'normal'}`
443
+ },
444
+ [
445
+ validSlot
446
+ ? $xeTable.callSlot(validSlot, validParams, h)
447
+ : [
448
+ h(
449
+ 'span',
450
+ {
451
+ class: 'vxe-cell--valid-error-msg'
452
+ },
453
+ errorValidItem.content
454
+ )
455
+ ]
456
+ ]
457
+ )
458
+ ]
459
+ )
429
460
  )
430
461
  }
431
462
  }
@@ -439,9 +470,12 @@ function renderTdColumn (
439
470
  tdVNs.push(
440
471
  h('div', {
441
472
  key: 'tcc',
442
- class: ['vxe-cell--col-resizable', {
443
- 'is--line': !border || border === 'none'
444
- }],
473
+ class: [
474
+ 'vxe-cell--col-resizable',
475
+ {
476
+ 'is--line': !border || border === 'none'
477
+ }
478
+ ],
445
479
  on: {
446
480
  mousedown: (evnt: MouseEvent) => $xeTable.handleColResizeMousedownEvent(evnt, fixedType, cellParams),
447
481
  dblclick: (evnt: MouseEvent) => $xeTable.handleColResizeDblclickEvent(evnt, cellParams)
@@ -463,50 +497,54 @@ function renderTdColumn (
463
497
  )
464
498
  }
465
499
 
466
- return h('td', {
467
- class: [
468
- 'vxe-table--column vxe-body--column',
469
- colid,
470
- cellVerticalAlign ? `col--vertical-${cellVerticalAlign}` : '',
471
- cellAlign ? `col--${cellAlign}` : '',
472
- type ? `col--${type}` : '',
473
- {
474
- 'col--last': isLastColumn,
475
- 'col--tree-node': treeNode,
476
- 'col--edit': isEdit,
477
- 'col--ellipsis': hasEllipsis,
478
- 'col--cs-height': isCsHeight,
479
- 'col--rs-height': isRsHeight,
480
- 'col--to-row': showAreaRowStatus,
481
- 'col--auto-height': isVNAutoHeight,
482
- 'col--max-height': maxHeight,
483
- 'fixed--width': !isAutoCellWidth,
484
- 'fixed--hidden': fixedHiddenColumn,
485
- 'is--pg-top': isCellPaddingTop,
486
- 'is--pg-bottom': isCellPaddingBottom,
487
- 'is--pg-left': isCellPaddingLeft,
488
- 'is--pg-right': isCellPaddingRight,
489
- 'is--progress': (fixedHiddenColumn && isAllOverflow) || isVNPreEmptyStatus,
490
- 'is--drag-cell': isRowDragCell && (isCrossDrag || isPeerDrag || !rowLevel),
491
- 'is--drag-disabled': isDisabledDrag,
492
- 'col--dirty': isDirty,
493
- 'col--active': editConfig && isEdit && (actived.row === row && (actived.column === column || editOpts.mode === 'row')),
494
- 'col--valid-error': !!errorValidItem,
495
- 'show--valid-bg': errorValidItem && validOpts.showErrorBackground,
496
- 'col--current': currColFlag && currentCol === column
497
- },
498
- getClass(compCellClassName, cellParams),
499
- getClass(className, cellParams),
500
- getClass(allCellClassName, cellParams)
501
- ],
502
- key: columnKey || scrollXLoad || scrollYLoad || columnOpts.useKey || rowOpts.useKey || columnOpts.drag ? column.id : $columnIndex,
503
- attrs: tdAttrs,
504
- style: Object.assign({}, XEUtils.isFunction(compCellStyle) ? compCellStyle(cellParams) : compCellStyle, XEUtils.isFunction(cellStyle) ? cellStyle(cellParams) : cellStyle),
505
- on: tdOns
506
- }, isOptimizeMode && fixedHiddenColumn ? [] : tdVNs)
500
+ return h(
501
+ 'td',
502
+ {
503
+ class: [
504
+ 'vxe-table--column vxe-body--column',
505
+ colid,
506
+ cellVerticalAlign ? `col--vertical-${cellVerticalAlign}` : '',
507
+ cellAlign ? `col--${cellAlign}` : '',
508
+ type ? `col--${type}` : '',
509
+ {
510
+ 'col--last': isLastColumn,
511
+ 'col--tree-node': treeNode,
512
+ 'col--edit': isEdit,
513
+ 'col--ellipsis': hasEllipsis,
514
+ 'col--cs-height': isCsHeight,
515
+ 'col--rs-height': isRsHeight,
516
+ 'col--to-row': showAreaRowStatus,
517
+ 'col--auto-height': isVNAutoHeight,
518
+ 'col--max-height': maxHeight,
519
+ 'fixed--width': !isAutoCellWidth,
520
+ 'fixed--hidden': fixedHiddenColumn,
521
+ 'is--pg-top': isCellPaddingTop,
522
+ 'is--pg-bottom': isCellPaddingBottom,
523
+ 'is--pg-left': isCellPaddingLeft,
524
+ 'is--pg-right': isCellPaddingRight,
525
+ 'is--progress': (fixedHiddenColumn && isAllOverflow) || isVNPreEmptyStatus,
526
+ 'is--drag-cell': isRowDragCell && (isCrossDrag || isPeerDrag || !rowLevel),
527
+ 'is--drag-disabled': isDisabledDrag,
528
+ 'col--dirty': isDirty,
529
+ 'col--active': editConfig && isEdit && actived.row === row && (actived.column === column || editOpts.mode === 'row'),
530
+ 'col--valid-error': !!errorValidItem,
531
+ 'show--valid-bg': errorValidItem && validOpts.showErrorBackground,
532
+ 'col--current': currColFlag && currentCol === column
533
+ },
534
+ getClass(compCellClassName, cellParams),
535
+ getClass(className, cellParams),
536
+ getClass(allCellClassName, cellParams)
537
+ ],
538
+ key: columnKey || scrollXLoad || scrollYLoad || columnOpts.useKey || rowOpts.useKey || columnOpts.drag ? column.id : $columnIndex,
539
+ attrs: tdAttrs,
540
+ style: Object.assign({}, XEUtils.isFunction(compCellStyle) ? compCellStyle(cellParams) : compCellStyle, XEUtils.isFunction(cellStyle) ? cellStyle(cellParams) : cellStyle),
541
+ on: tdOns
542
+ },
543
+ isOptimizeMode && fixedHiddenColumn ? [] : tdVNs
544
+ )
507
545
  }
508
546
 
509
- function renderRows (h: CreateElement, _vm: any, fixedType: 'left' | 'right' | '', isOptimizeMode: boolean, tableData: any[], tableColumn: VxeTableDefines.ColumnInfo[]) {
547
+ function renderRows(h: CreateElement, _vm: any, fixedType: 'left' | 'right' | '', isOptimizeMode: boolean, tableData: any[], tableColumn: VxeTableDefines.ColumnInfo[]) {
510
548
  const $xeTable = _vm.$parent as VxeTableConstructor & VxeTablePrivateMethods
511
549
  const tableProps = $xeTable
512
550
  const tableReactData = $xeTable as unknown as TableReactData
@@ -559,7 +597,7 @@ function renderRows (h: CreateElement, _vm: any, fixedType: 'left' | 'right' | '
559
597
  seq = rowRest.seq
560
598
  if (hasRowGroupAggregate || (treeConfig && transform && seqMode === 'increasing')) {
561
599
  seq = rowRest._index + 1
562
- } else if ((treeConfig && seqMode === 'fixed')) {
600
+ } else if (treeConfig && seqMode === 'fixed') {
563
601
  seq = rowRest._tIndex + 1
564
602
  }
565
603
  }
@@ -616,15 +654,19 @@ function renderRows (h: CreateElement, _vm: any, fixedType: 'left' | 'right' | '
616
654
  return renderTdColumn(h, $xeTable, seq, rowid, fixedType, isOptimizeMode, rowLevel, row, rowIndex, $rowIndex, _rowIndex, column, $columnIndex, tableColumn, tableData)
617
655
  })
618
656
  rows.push(
619
- h('tr', {
620
- class: trClass,
621
- attrs: {
622
- rowid
657
+ h(
658
+ 'tr',
659
+ {
660
+ class: trClass,
661
+ attrs: {
662
+ rowid
663
+ },
664
+ style: rowStyle ? ((XEUtils.isFunction(rowStyle) ? rowStyle(params) : rowStyle) as VxeComponentStyleType) : undefined,
665
+ key: rowKey || rowOpts.useKey || rowOpts.drag || columnOpts.drag || isRowGroupStatus || treeConfig ? rowid : $rowIndex,
666
+ on: trOn
623
667
  },
624
- style: rowStyle ? (XEUtils.isFunction(rowStyle) ? rowStyle(params) : rowStyle) as VxeComponentStyleType : undefined,
625
- key: rowKey || rowOpts.useKey || rowOpts.drag || columnOpts.drag || isRowGroupStatus || treeConfig ? rowid : $rowIndex,
626
- on: trOn
627
- }, tdVNs)
668
+ tdVNs
669
+ )
628
670
  )
629
671
  // 如果行被展开了
630
672
  if (isExpandRow) {
@@ -632,27 +674,29 @@ function renderRows (h: CreateElement, _vm: any, fixedType: 'left' | 'right' | '
632
674
  const { height: expandHeight, padding, mode: expandMode } = expandOpts
633
675
  if (expandMode === 'fixed') {
634
676
  // 与位置及总高度计算共用同一规则;估算不改变展开内容的自然高度。
635
- const expHeight = rowExpandHeightFlag || expandOpts.estimateHeight
636
- ? getRowExpandHeight($xeTable, row, rowRest)
637
- : 0
677
+ const expHeight = rowExpandHeightFlag || expandOpts.estimateHeight ? getRowExpandHeight($xeTable, row, rowRest) : 0
638
678
  rows.push(
639
- h('tr', {
640
- class: 'vxe-body--row-expanded-place',
641
- key: `expand_${rowid}`,
642
- attrs: {
643
- rowid
644
- }
645
- }, [
646
- h('td', {
647
- class: 'vxe-body--row-expanded-place-column',
679
+ h(
680
+ 'tr',
681
+ {
682
+ class: 'vxe-body--row-expanded-place',
683
+ key: `expand_${rowid}`,
648
684
  attrs: {
649
- colspan: tableColumn.length
650
- },
651
- style: {
652
- height: `${expHeight}px`
685
+ rowid
653
686
  }
654
- })
655
- ])
687
+ },
688
+ [
689
+ h('td', {
690
+ class: 'vxe-body--row-expanded-place-column',
691
+ attrs: {
692
+ colspan: tableColumn.length
693
+ },
694
+ style: {
695
+ height: `${expHeight}px`
696
+ }
697
+ })
698
+ ]
699
+ )
656
700
  )
657
701
  } else {
658
702
  const cellStyle: any = {}
@@ -660,7 +704,7 @@ function renderRows (h: CreateElement, _vm: any, fixedType: 'left' | 'right' | '
660
704
  cellStyle.height = `${expandHeight}px`
661
705
  }
662
706
  if (treeConfig) {
663
- cellStyle.paddingLeft = `${(rowLevel * treeOpts.indent) + 30}px`
707
+ cellStyle.paddingLeft = `${rowLevel * treeOpts.indent + 30}px`
664
708
  }
665
709
  const { showOverflow } = expandColumn || {}
666
710
  const colid = expandColumn.id
@@ -699,31 +743,50 @@ function renderRows (h: CreateElement, _vm: any, fixedType: 'left' | 'right' | '
699
743
  items: []
700
744
  }
701
745
  rows.push(
702
- h('tr', {
703
- class: ['vxe-body--expanded-row', {
704
- 'is--padding': padding
705
- }],
706
- key: `expand_${rowid}`
707
- }, [
708
- h('td', {
709
- class: ['vxe-body--expanded-column', {
710
- 'fixed--hidden': fixedType && !hasFixedColumn,
711
- 'col--ellipsis': hasEllipsis
712
- }],
713
- attrs: {
714
- colspan: tableColumn.length
715
- }
716
- }, [
717
- h('div', {
718
- class: ['vxe-body--expanded-cell', {
719
- 'is--ellipsis': expandHeight
720
- }],
721
- style: cellStyle
722
- }, [
723
- expandColumn.renderData(h, expandParams)
724
- ])
725
- ])
726
- ])
746
+ h(
747
+ 'tr',
748
+ {
749
+ class: [
750
+ 'vxe-body--expanded-row',
751
+ {
752
+ 'is--padding': padding
753
+ }
754
+ ],
755
+ key: `expand_${rowid}`
756
+ },
757
+ [
758
+ h(
759
+ 'td',
760
+ {
761
+ class: [
762
+ 'vxe-body--expanded-column',
763
+ {
764
+ 'fixed--hidden': fixedType && !hasFixedColumn,
765
+ 'col--ellipsis': hasEllipsis
766
+ }
767
+ ],
768
+ attrs: {
769
+ colspan: tableColumn.length
770
+ }
771
+ },
772
+ [
773
+ h(
774
+ 'div',
775
+ {
776
+ class: [
777
+ 'vxe-body--expanded-cell',
778
+ {
779
+ 'is--ellipsis': expandHeight
780
+ }
781
+ ],
782
+ style: cellStyle
783
+ },
784
+ [expandColumn.renderData(h, expandParams)]
785
+ )
786
+ ]
787
+ )
788
+ ]
789
+ )
727
790
  )
728
791
  }
729
792
  }
@@ -746,7 +809,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
746
809
  default: '' as 'right' | 'left' | ''
747
810
  }
748
811
  },
749
- mounted () {
812
+ mounted() {
750
813
  const _vm = this
751
814
  const props = _vm
752
815
  const $xeTable = _vm.$parent as VxeTableConstructor & VxeTablePrivateMethods
@@ -764,7 +827,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
764
827
  elemStore[`${prefix}ySpace`] = _vm.$refs.refBodyYSpace
765
828
  elemStore[`${prefix}emptyBlock`] = _vm.$refs.refBodyEmptyBlock
766
829
  },
767
- destroyed () {
830
+ destroyed() {
768
831
  const props = this
769
832
  const $xeTable = this.$parent as VxeTableConstructor & VxeTablePrivateMethods
770
833
  const tableInternalData = $xeTable as unknown as TableInternalData
@@ -781,7 +844,7 @@ export default /* define-vxe-component start */ defineVxeComponent({
781
844
  elemStore[`${prefix}ySpace`] = null
782
845
  elemStore[`${prefix}emptyBlock`] = null
783
846
  },
784
- render (h: CreateElement) {
847
+ render(h: CreateElement) {
785
848
  const props = this
786
849
  const $xeTable = this.$parent as VxeTableConstructor & VxeTablePrivateMethods
787
850
  const tableProps = $xeTable
@@ -870,8 +933,8 @@ export default /* define-vxe-component start */ defineVxeComponent({
870
933
  emptyContent = emptySlot.call($xeTable, emptyParams)
871
934
  } else {
872
935
  const rendererOpts = $xeTable.computeRendererOpts
873
- const compConf = emptyOpts.name ? (rendererOpts[emptyOpts.name] || renderer.get(emptyOpts.name)) : null
874
- const rtEmptyView = compConf ? (compConf.renderTableEmpty || compConf.renderTableEmptyView || compConf.renderEmpty) : null
936
+ const compConf = emptyOpts.name ? rendererOpts[emptyOpts.name] || renderer.get(emptyOpts.name) : null
937
+ const rtEmptyView = compConf ? compConf.renderTableEmpty || compConf.renderTableEmptyView || compConf.renderEmpty : null
875
938
  if (rtEmptyView) {
876
939
  emptyContent = getSlotVNs(rtEmptyView.call($xeTable, h, emptyOpts, emptyParams))
877
940
  } else {
@@ -879,120 +942,156 @@ export default /* define-vxe-component start */ defineVxeComponent({
879
942
  }
880
943
  }
881
944
 
882
- return h('div', {
883
- ref: 'refElem',
884
- class: ['vxe-table--body-wrapper', fixedType ? `fixed-${fixedType}--wrapper` : 'body--wrapper'],
885
- attrs: {
886
- xid: xID
887
- }
888
- }, [
889
- h('div', {
890
- ref: 'refBodyScroll',
891
- class: 'vxe-table--body-inner-wrapper',
892
- on: {
893
- scroll (evnt: Event) {
894
- $xeTable.triggerBodyScrollEvent(evnt, fixedType)
895
- }
945
+ return h(
946
+ 'div',
947
+ {
948
+ ref: 'refElem',
949
+ class: ['vxe-table--body-wrapper', fixedType ? `fixed-${fixedType}--wrapper` : 'body--wrapper'],
950
+ attrs: {
951
+ xid: xID
896
952
  }
897
- }, [
898
- fixedType
899
- ? renderEmptyElement($xeTable)
900
- : h('div', {
901
- ref: 'refBodyXSpace',
902
- class: 'vxe-body--x-space'
903
- }),
904
- h('div', {
905
- ref: 'refBodyYSpace',
906
- class: 'vxe-body--y-space'
907
- }),
908
- h('table', {
909
- ref: 'refBodyTable',
910
- class: 'vxe-table--body',
911
- attrs: {
912
- xid: xID,
913
- cellspacing: 0,
914
- cellpadding: 0,
915
- border: 0,
916
- xvm: isOptimizeMode ? '1' : null
917
- }
918
- }, [
919
- /**
920
- * 列宽
921
- */
922
- h('colgroup', {
923
- ref: 'refBodyColgroup'
924
- }, renderColumnList.map((column, $columnIndex) => {
925
- return h('col', {
926
- attrs: {
927
- name: column.id
928
- },
929
- key: $columnIndex,
930
- style: {
931
- width: `${column.renderWidth}px`
953
+ },
954
+ [
955
+ h(
956
+ 'div',
957
+ {
958
+ ref: 'refBodyScroll',
959
+ class: 'vxe-table--body-inner-wrapper',
960
+ on: {
961
+ scroll(evnt: Event) {
962
+ $xeTable.triggerBodyScrollEvent(evnt, fixedType)
932
963
  }
933
- })
934
- })),
935
- /**
936
- * 内容
937
- */
938
- h('tbody', {
939
- ref: 'refBodyTBody'
940
- }, renderRows(h, this, fixedType, isOptimizeMode, renderDataList, renderColumnList))
941
- ]),
942
- h('div', {
943
- class: 'vxe-table--checkbox-range'
944
- }),
945
- hasEnableConf(mouseConfig, mouseOpts) && mouseOpts.area
946
- ? h('div', {
947
- class: 'vxe-table--cell-area',
948
- attrs: {
949
- xid: xID
950
964
  }
951
- }, [
952
- h('span', {
953
- class: 'vxe-table--cell-main-area'
954
- }, mouseOpts.extension
955
- ? [
956
- h('span', {
957
- class: 'vxe-table--cell-main-area-btn',
958
- on: {
959
- mousedown (evnt: MouseEvent) {
960
- if ($xeTable.triggerCellAreaExtendMousedownEvent) {
961
- $xeTable.triggerCellAreaExtendMousedownEvent(evnt, { $table: $xeTable, fixed: fixedType, type: renderType })
962
- }
965
+ },
966
+ [
967
+ fixedType
968
+ ? renderEmptyElement($xeTable)
969
+ : h('div', {
970
+ ref: 'refBodyXSpace',
971
+ class: 'vxe-body--x-space'
972
+ }),
973
+ h('div', {
974
+ ref: 'refBodyYSpace',
975
+ class: 'vxe-body--y-space'
976
+ }),
977
+ h(
978
+ 'table',
979
+ {
980
+ ref: 'refBodyTable',
981
+ class: 'vxe-table--body',
982
+ attrs: {
983
+ xid: xID,
984
+ cellspacing: 0,
985
+ cellpadding: 0,
986
+ border: 0,
987
+ xvm: isOptimizeMode ? '1' : null
988
+ }
989
+ },
990
+ [
991
+ /**
992
+ * 列宽
993
+ */
994
+ h(
995
+ 'colgroup',
996
+ {
997
+ ref: 'refBodyColgroup'
998
+ },
999
+ renderColumnList.map((column, $columnIndex) => {
1000
+ return h('col', {
1001
+ attrs: {
1002
+ name: column.id
1003
+ },
1004
+ key: $columnIndex,
1005
+ style: {
1006
+ width: `${column.renderWidth}px`
963
1007
  }
964
- }
1008
+ })
965
1009
  })
966
- ]
967
- : null),
968
- h('span', {
969
- class: 'vxe-table--cell-clip-area'
970
- }),
971
- h('span', {
972
- class: 'vxe-table--cell-extend-area'
973
- }),
974
- h('span', {
975
- class: 'vxe-table--cell-multi-area'
976
- }),
977
- h('span', {
978
- class: 'vxe-table--cell-active-area'
979
- }),
980
- h('span', {
981
- class: 'vxe-table--cell-row-status-area'
982
- })
983
- ])
984
- : renderEmptyElement($xeTable),
985
- !fixedType
986
- ? h('div', {
987
- class: 'vxe-table--empty-block',
988
- ref: 'emptyBlock'
989
- }, [
1010
+ ),
1011
+ /**
1012
+ * 内容
1013
+ */
1014
+ h(
1015
+ 'tbody',
1016
+ {
1017
+ ref: 'refBodyTBody'
1018
+ },
1019
+ renderRows(h, this, fixedType, isOptimizeMode, renderDataList, renderColumnList)
1020
+ )
1021
+ ]
1022
+ ),
990
1023
  h('div', {
991
- class: 'vxe-table--empty-content'
992
- }, emptyContent)
993
- ])
994
- : renderEmptyElement($xeTable)
995
- ])
996
- ])
1024
+ class: 'vxe-table--checkbox-range'
1025
+ }),
1026
+ hasEnableConf(mouseConfig, mouseOpts) && mouseOpts.area
1027
+ ? h(
1028
+ 'div',
1029
+ {
1030
+ class: 'vxe-table--cell-area',
1031
+ attrs: {
1032
+ xid: xID
1033
+ }
1034
+ },
1035
+ [
1036
+ h(
1037
+ 'span',
1038
+ {
1039
+ class: 'vxe-table--cell-main-area'
1040
+ },
1041
+ mouseOpts.extension
1042
+ ? [
1043
+ h('span', {
1044
+ class: 'vxe-table--cell-main-area-btn',
1045
+ on: {
1046
+ mousedown(evnt: MouseEvent) {
1047
+ if ($xeTable.triggerCellAreaExtendMousedownEvent) {
1048
+ $xeTable.triggerCellAreaExtendMousedownEvent(evnt, { $table: $xeTable, fixed: fixedType, type: renderType })
1049
+ }
1050
+ }
1051
+ }
1052
+ })
1053
+ ]
1054
+ : null
1055
+ ),
1056
+ h('span', {
1057
+ class: 'vxe-table--cell-clip-area'
1058
+ }),
1059
+ h('span', {
1060
+ class: 'vxe-table--cell-extend-area'
1061
+ }),
1062
+ h('span', {
1063
+ class: 'vxe-table--cell-multi-area'
1064
+ }),
1065
+ h('span', {
1066
+ class: 'vxe-table--cell-active-area'
1067
+ }),
1068
+ h('span', {
1069
+ class: 'vxe-table--cell-row-status-area'
1070
+ })
1071
+ ]
1072
+ )
1073
+ : renderEmptyElement($xeTable),
1074
+ !fixedType
1075
+ ? h(
1076
+ 'div',
1077
+ {
1078
+ class: 'vxe-table--empty-block',
1079
+ ref: 'emptyBlock'
1080
+ },
1081
+ [
1082
+ h(
1083
+ 'div',
1084
+ {
1085
+ class: 'vxe-table--empty-content'
1086
+ },
1087
+ emptyContent
1088
+ )
1089
+ ]
1090
+ )
1091
+ : renderEmptyElement($xeTable)
1092
+ ]
1093
+ )
1094
+ ]
1095
+ )
997
1096
  }
998
1097
  }) /* define-vxe-component end */