vxe-table 4.23.4 → 4.23.6

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 (483) hide show
  1. package/dist/all.esm.js +32459 -33908
  2. package/dist/style.css +4501 -1
  3. package/dist/style.mini.css +1 -0
  4. package/es/colgroup/index.d.ts +760 -0
  5. package/es/colgroup/index.js +16 -13
  6. package/es/column/index.d.ts +760 -0
  7. package/es/column/index.js +16 -13
  8. package/es/components.d.ts +9 -0
  9. package/es/components.js +29 -29
  10. package/es/grid/index.d.ts +2824 -0
  11. package/es/grid/index.js +14 -9
  12. package/es/grid/src/emits.d.ts +2 -0
  13. package/es/grid/src/emits.js +18 -15
  14. package/es/grid/src/grid.d.ts +556 -0
  15. package/es/grid/src/grid.js +1695 -1758
  16. package/es/grid/src/props.d.ts +200 -0
  17. package/es/grid/src/props.js +19 -6
  18. package/es/{vxe-grid/style.min.css → grid/style.mini.css} +1 -1
  19. package/es/index.d.ts +3 -0
  20. package/es/index.esm.js +6 -3
  21. package/es/index.js +6 -0
  22. package/es/locale/lang/ar-EG.d.ts +908 -2
  23. package/es/locale/lang/ar-EG.js +906 -903
  24. package/es/locale/lang/de-DE.d.ts +908 -2
  25. package/es/locale/lang/de-DE.js +906 -903
  26. package/es/locale/lang/en-US.d.ts +908 -2
  27. package/es/locale/lang/en-US.js +906 -903
  28. package/es/locale/lang/es-ES.d.ts +908 -2
  29. package/es/locale/lang/es-ES.js +906 -903
  30. package/es/locale/lang/fr-FR.d.ts +908 -2
  31. package/es/locale/lang/fr-FR.js +906 -903
  32. package/es/locale/lang/hu-HU.d.ts +908 -2
  33. package/es/locale/lang/hu-HU.js +906 -903
  34. package/es/locale/lang/hy-AM.d.ts +908 -2
  35. package/es/locale/lang/hy-AM.js +906 -903
  36. package/es/locale/lang/id-ID.d.ts +908 -2
  37. package/es/locale/lang/id-ID.js +906 -903
  38. package/es/locale/lang/it-IT.d.ts +908 -2
  39. package/es/locale/lang/it-IT.js +906 -903
  40. package/es/locale/lang/ja-JP.d.ts +908 -2
  41. package/es/locale/lang/ja-JP.js +906 -903
  42. package/es/locale/lang/ko-KR.d.ts +908 -2
  43. package/es/locale/lang/ko-KR.js +906 -903
  44. package/es/locale/lang/ms-MY.d.ts +908 -2
  45. package/es/locale/lang/ms-MY.js +906 -903
  46. package/es/locale/lang/nb-NO.d.ts +908 -2
  47. package/es/locale/lang/nb-NO.js +906 -903
  48. package/es/locale/lang/pt-BR.d.ts +908 -2
  49. package/es/locale/lang/pt-BR.js +906 -903
  50. package/es/locale/lang/ru-RU.d.ts +908 -2
  51. package/es/locale/lang/ru-RU.js +906 -903
  52. package/es/locale/lang/th-TH.d.ts +908 -2
  53. package/es/locale/lang/th-TH.js +906 -903
  54. package/es/locale/lang/ug-CN.d.ts +908 -2
  55. package/es/locale/lang/ug-CN.js +906 -903
  56. package/es/locale/lang/uk-UA.d.ts +908 -2
  57. package/es/locale/lang/uk-UA.js +906 -903
  58. package/es/locale/lang/uz-UZ.d.ts +908 -2
  59. package/es/locale/lang/uz-UZ.js +906 -903
  60. package/es/locale/lang/vi-VN.d.ts +908 -2
  61. package/es/locale/lang/vi-VN.js +906 -903
  62. package/es/locale/lang/zh-CHT.d.ts +908 -2
  63. package/es/locale/lang/zh-CHT.js +906 -903
  64. package/es/locale/lang/zh-CN.d.ts +908 -2
  65. package/es/locale/lang/zh-CN.js +906 -903
  66. package/es/locale/lang/zh-HK.d.ts +908 -2
  67. package/es/locale/lang/zh-HK.js +910 -2
  68. package/es/locale/lang/zh-MO.d.ts +908 -2
  69. package/es/locale/lang/zh-MO.js +910 -2
  70. package/es/locale/lang/zh-TC.d.ts +908 -0
  71. package/es/locale/lang/zh-TC.js +910 -2
  72. package/es/locale/lang/zh-TW.d.ts +908 -2
  73. package/es/locale/lang/zh-TW.js +910 -2
  74. package/es/table/index.d.ts +2672 -0
  75. package/es/table/index.js +16 -11
  76. package/es/table/module/custom/hook.d.ts +1 -0
  77. package/es/table/module/custom/hook.js +462 -483
  78. package/es/table/module/custom/panel.d.ts +17 -0
  79. package/es/table/module/custom/panel.js +1482 -1559
  80. package/es/table/module/edit/hook.d.ts +1 -0
  81. package/es/table/module/edit/hook.js +1008 -1078
  82. package/es/table/module/export/export-panel.d.ts +27 -0
  83. package/es/table/module/export/export-panel.js +523 -575
  84. package/es/table/module/export/hook.d.ts +1 -0
  85. package/es/table/module/export/hook.js +1805 -1884
  86. package/es/table/module/export/import-panel.d.ts +27 -0
  87. package/es/table/module/export/import-panel.js +244 -252
  88. package/es/table/module/export/util.d.ts +5 -0
  89. package/es/table/module/export/util.js +20 -17
  90. package/es/table/module/filter/hook.d.ts +1 -0
  91. package/es/table/module/filter/hook.js +472 -487
  92. package/es/table/module/filter/panel.d.ts +16 -0
  93. package/es/table/module/filter/panel.js +251 -275
  94. package/es/table/module/keyboard/hook.d.ts +1 -0
  95. package/es/table/module/keyboard/hook.js +445 -497
  96. package/es/table/module/menu/hook.d.ts +1 -0
  97. package/es/table/module/menu/hook.js +295 -315
  98. package/es/table/module/menu/panel.d.ts +2 -0
  99. package/es/table/module/menu/panel.js +164 -183
  100. package/es/table/module/validator/hook.d.ts +1 -0
  101. package/es/table/module/validator/hook.js +522 -571
  102. package/es/table/render/index.d.ts +1 -0
  103. package/es/table/render/index.js +1402 -1362
  104. package/es/table/src/body.d.ts +24 -0
  105. package/es/table/src/body.js +850 -865
  106. package/es/table/src/cell.d.ts +192 -0
  107. package/es/table/src/cell.js +1209 -1207
  108. package/es/table/src/column.d.ts +263 -0
  109. package/es/table/src/column.js +178 -174
  110. package/es/table/src/columnInfo.d.ts +13 -0
  111. package/es/table/src/columnInfo.js +202 -196
  112. package/es/table/src/emits.d.ts +2 -0
  113. package/es/table/src/emits.js +126 -119
  114. package/es/table/src/footer.d.ts +45 -0
  115. package/es/table/src/footer.js +336 -340
  116. package/es/table/src/group.d.ts +178 -0
  117. package/es/table/src/group.js +49 -46
  118. package/es/table/src/header.d.ts +26 -0
  119. package/es/table/src/header.js +517 -519
  120. package/es/table/src/props.d.ts +238 -0
  121. package/es/table/src/props.js +331 -328
  122. package/es/table/src/store.d.ts +6 -0
  123. package/es/table/src/store.js +9 -6
  124. package/es/table/src/table.d.ts +539 -0
  125. package/es/table/src/table.js +14064 -15041
  126. package/es/table/src/use/cell-view.d.ts +10 -0
  127. package/es/table/src/use/cell-view.js +36 -33
  128. package/es/table/src/use/index.d.ts +1 -0
  129. package/es/table/src/use/index.js +1 -1
  130. package/es/table/src/util.d.ts +74 -0
  131. package/es/table/src/util.js +1038 -1026
  132. package/es/table/style.css +1 -1
  133. package/es/table/style.mini.css +1 -0
  134. package/es/toolbar/index.d.ts +340 -0
  135. package/es/toolbar/index.js +14 -9
  136. package/es/toolbar/src/toolbar.d.ts +75 -0
  137. package/es/toolbar/src/toolbar.js +605 -613
  138. package/es/toolbar/{style.min.css → style.mini.css} +1 -1
  139. package/es/ui/index.d.ts +86 -0
  140. package/es/ui/index.js +457 -501
  141. package/es/ui/src/anime.d.ts +10 -0
  142. package/es/ui/src/anime.js +40 -40
  143. package/es/ui/src/comp.d.ts +2 -0
  144. package/es/ui/src/comp.js +5 -2
  145. package/es/ui/src/dom.d.ts +80 -0
  146. package/es/ui/src/dom.js +377 -380
  147. package/es/ui/src/log.d.ts +6 -0
  148. package/es/ui/src/log.js +18 -13
  149. package/es/ui/src/utils.d.ts +23 -0
  150. package/es/ui/src/utils.js +57 -53
  151. package/es/ui/src/vn.d.ts +7 -0
  152. package/es/ui/src/vn.js +49 -42
  153. package/es/v-x-e-table/index.d.ts +3 -0
  154. package/es/v-x-e-table/index.js +6 -3
  155. package/es/vxe-colgroup/index.d.ts +3 -0
  156. package/es/vxe-colgroup/index.js +6 -3
  157. package/es/vxe-column/index.d.ts +3 -0
  158. package/es/vxe-column/index.js +6 -3
  159. package/es/vxe-grid/index.d.ts +3 -0
  160. package/es/vxe-grid/index.js +6 -3
  161. package/{lib/grid/style/style.min.css → es/vxe-grid/style.mini.css} +1 -1
  162. package/es/vxe-table/index.d.ts +3 -0
  163. package/es/vxe-table/index.js +6 -3
  164. package/es/vxe-table/style.css +1 -1
  165. package/es/vxe-table/style.mini.css +1 -0
  166. package/es/vxe-toolbar/index.d.ts +3 -0
  167. package/es/vxe-toolbar/index.js +6 -3
  168. package/es/vxe-toolbar/{style.min.css → style.mini.css} +1 -1
  169. package/es/vxe-ui/index.d.ts +3 -0
  170. package/es/vxe-ui/index.js +6 -3
  171. package/lib/colgroup/index.js +44 -18
  172. package/lib/colgroup/style/index.js +1 -1
  173. package/lib/column/index.js +44 -18
  174. package/lib/column/style/index.js +1 -1
  175. package/lib/components.js +58 -92
  176. package/lib/grid/index.js +42 -14
  177. package/lib/grid/src/emits.js +37 -6
  178. package/lib/grid/src/grid.js +850 -1195
  179. package/lib/grid/src/props.js +27 -11
  180. package/lib/grid/style/index.js +1 -1
  181. package/lib/{vxe-grid/style/style.min.css → grid/style/style.mini.css} +1 -1
  182. package/lib/iconfont.1792977622800.ttf +0 -0
  183. package/lib/iconfont.1792977622800.woff +0 -0
  184. package/lib/iconfont.1792977622800.woff2 +0 -0
  185. package/lib/index.common.js +35 -19
  186. package/lib/index.js +37 -0
  187. package/lib/index.umd.js +30586 -24322
  188. package/lib/index.umd.min.js +3 -1
  189. package/lib/locale/ar-EG.umd.js +948 -0
  190. package/lib/locale/de-DE.umd.js +948 -0
  191. package/lib/locale/en-US.umd.js +948 -0
  192. package/lib/locale/es-ES.umd.js +948 -0
  193. package/lib/locale/fr-FR.umd.js +948 -0
  194. package/lib/locale/hu-HU.umd.js +948 -0
  195. package/lib/locale/hy-AM.umd.js +948 -0
  196. package/lib/locale/id-ID.umd.js +948 -0
  197. package/lib/locale/it-IT.umd.js +948 -0
  198. package/lib/locale/ja-JP.umd.js +948 -0
  199. package/lib/locale/ko-KR.umd.js +948 -0
  200. package/lib/locale/lang/ar-EG.js +681 -664
  201. package/lib/locale/lang/ar-EG.umd.js +913 -892
  202. package/lib/locale/lang/de-DE.js +681 -664
  203. package/lib/locale/lang/de-DE.umd.js +913 -892
  204. package/lib/locale/lang/en-US.js +678 -661
  205. package/lib/locale/lang/en-US.umd.js +913 -892
  206. package/lib/locale/lang/es-ES.js +681 -664
  207. package/lib/locale/lang/es-ES.umd.js +913 -892
  208. package/lib/locale/lang/fr-FR.js +654 -637
  209. package/lib/locale/lang/fr-FR.umd.js +913 -892
  210. package/lib/locale/lang/hu-HU.js +681 -664
  211. package/lib/locale/lang/hu-HU.umd.js +913 -892
  212. package/lib/locale/lang/hy-AM.js +681 -664
  213. package/lib/locale/lang/hy-AM.umd.js +913 -892
  214. package/lib/locale/lang/id-ID.js +681 -664
  215. package/lib/locale/lang/id-ID.umd.js +913 -892
  216. package/lib/locale/lang/it-IT.js +661 -644
  217. package/lib/locale/lang/it-IT.umd.js +912 -891
  218. package/lib/locale/lang/ja-JP.js +710 -693
  219. package/lib/locale/lang/ja-JP.umd.js +913 -892
  220. package/lib/locale/lang/ko-KR.js +681 -664
  221. package/lib/locale/lang/ko-KR.umd.js +913 -892
  222. package/lib/locale/lang/ms-MY.js +681 -664
  223. package/lib/locale/lang/ms-MY.umd.js +913 -892
  224. package/lib/locale/lang/nb-NO.js +681 -664
  225. package/lib/locale/lang/nb-NO.umd.js +913 -892
  226. package/lib/locale/lang/pt-BR.js +681 -664
  227. package/lib/locale/lang/pt-BR.umd.js +913 -892
  228. package/lib/locale/lang/ru-RU.js +690 -673
  229. package/lib/locale/lang/ru-RU.umd.js +913 -892
  230. package/lib/locale/lang/th-TH.js +681 -664
  231. package/lib/locale/lang/th-TH.umd.js +913 -892
  232. package/lib/locale/lang/ug-CN.js +681 -664
  233. package/lib/locale/lang/ug-CN.umd.js +913 -892
  234. package/lib/locale/lang/uk-UA.js +674 -657
  235. package/lib/locale/lang/uk-UA.umd.js +913 -892
  236. package/lib/locale/lang/uz-UZ.js +583 -566
  237. package/lib/locale/lang/uz-UZ.umd.js +908 -887
  238. package/lib/locale/lang/vi-VN.js +681 -664
  239. package/lib/locale/lang/vi-VN.umd.js +913 -892
  240. package/lib/locale/lang/zh-CHT.js +681 -664
  241. package/lib/locale/lang/zh-CHT.umd.js +913 -892
  242. package/lib/locale/lang/zh-CN.js +681 -664
  243. package/lib/locale/lang/zh-CN.umd.js +913 -892
  244. package/lib/locale/lang/zh-HK.js +928 -7
  245. package/lib/locale/lang/zh-HK.umd.js +945 -20
  246. package/lib/locale/lang/zh-MO.js +928 -7
  247. package/lib/locale/lang/zh-MO.umd.js +945 -20
  248. package/lib/locale/lang/zh-TC.js +928 -7
  249. package/lib/locale/lang/zh-TC.umd.js +948 -0
  250. package/lib/locale/lang/zh-TW.js +928 -7
  251. package/lib/locale/lang/zh-TW.umd.js +945 -20
  252. package/lib/locale/ms-MY.umd.js +948 -0
  253. package/lib/locale/nb-NO.umd.js +948 -0
  254. package/lib/locale/pt-BR.umd.js +948 -0
  255. package/lib/locale/ru-RU.umd.js +948 -0
  256. package/lib/locale/th-TH.umd.js +948 -0
  257. package/lib/locale/ug-CN.umd.js +948 -0
  258. package/lib/locale/uk-UA.umd.js +948 -0
  259. package/lib/locale/uz-UZ.umd.js +948 -0
  260. package/lib/locale/vi-VN.umd.js +948 -0
  261. package/lib/locale/zh-CHT.umd.js +948 -0
  262. package/lib/locale/zh-CN.umd.js +948 -0
  263. package/lib/locale/zh-HK.umd.js +948 -0
  264. package/lib/locale/zh-MO.umd.js +948 -0
  265. package/lib/locale/zh-TC.umd.js +948 -0
  266. package/lib/locale/zh-TW.umd.js +948 -0
  267. package/lib/style.css +4501 -1
  268. package/lib/style.mini.css +1 -0
  269. package/lib/table/index.js +45 -17
  270. package/lib/table/module/custom/hook.js +132 -252
  271. package/lib/table/module/custom/panel.js +919 -970
  272. package/lib/table/module/edit/hook.js +250 -620
  273. package/lib/table/module/export/export-panel.js +390 -347
  274. package/lib/table/module/export/hook.js +745 -1179
  275. package/lib/table/module/export/import-panel.js +170 -136
  276. package/lib/table/module/export/util.js +37 -14
  277. package/lib/table/module/filter/hook.js +127 -227
  278. package/lib/table/module/filter/panel.js +177 -208
  279. package/lib/table/module/keyboard/hook.js +93 -172
  280. package/lib/table/module/menu/hook.js +86 -165
  281. package/lib/table/module/menu/panel.js +176 -141
  282. package/lib/table/module/validator/hook.js +164 -271
  283. package/lib/table/render/index.js +700 -1147
  284. package/lib/table/src/body.js +426 -559
  285. package/lib/table/src/cell.js +619 -987
  286. package/lib/table/src/column.js +55 -30
  287. package/lib/table/src/columnInfo.js +88 -110
  288. package/lib/table/src/emits.js +145 -13
  289. package/lib/table/src/footer.js +181 -240
  290. package/lib/table/src/group.js +56 -34
  291. package/lib/table/src/header.js +292 -367
  292. package/lib/table/src/props.js +27 -12
  293. package/lib/table/src/store.js +25 -9
  294. package/lib/table/src/table.js +14179 -1019
  295. package/lib/table/src/use/cell-view.js +47 -37
  296. package/lib/table/src/use/index.js +17 -15
  297. package/lib/table/src/util.js +236 -337
  298. package/lib/table/style/index.js +1 -1
  299. package/lib/table/style/style.css +1 -1
  300. package/lib/table/style/style.mini.css +1 -0
  301. package/lib/toolbar/index.js +42 -14
  302. package/lib/toolbar/src/toolbar.js +271 -379
  303. package/lib/toolbar/style/index.js +1 -1
  304. package/lib/toolbar/style/{style.min.css → style.mini.css} +1 -1
  305. package/lib/ui/index.js +153 -195
  306. package/lib/ui/src/anime.js +49 -29
  307. package/lib/ui/src/comp.js +23 -6
  308. package/lib/ui/src/dom.js +114 -147
  309. package/lib/ui/src/log.js +34 -18
  310. package/lib/ui/src/utils.js +57 -45
  311. package/lib/ui/src/vn.js +60 -34
  312. package/lib/ui/style/index.js +1 -1
  313. package/lib/v-x-e-table/index.js +35 -19
  314. package/lib/vxe-colgroup/index.js +35 -19
  315. package/lib/vxe-colgroup/style/index.js +1 -1
  316. package/lib/vxe-column/index.js +35 -19
  317. package/lib/vxe-column/style/index.js +1 -1
  318. package/lib/vxe-grid/index.js +35 -19
  319. package/lib/vxe-grid/style/index.js +1 -1
  320. package/{es/grid/style.min.css → lib/vxe-grid/style/style.mini.css} +1 -1
  321. package/lib/vxe-table/index.js +35 -19
  322. package/lib/vxe-table/style/index.js +1 -1
  323. package/lib/vxe-table/style/style.css +1 -1
  324. package/lib/vxe-table/style/style.mini.css +1 -0
  325. package/lib/vxe-toolbar/index.js +35 -19
  326. package/lib/vxe-toolbar/style/index.js +1 -1
  327. package/lib/vxe-toolbar/style/{style.min.css → style.mini.css} +1 -1
  328. package/lib/vxe-ui/index.js +35 -19
  329. package/lib/vxe-ui/style/index.js +1 -1
  330. package/package.json +8 -4
  331. package/packages/locale/lang/zh-HK.ts +907 -3
  332. package/packages/locale/lang/zh-MO.ts +907 -3
  333. package/packages/locale/lang/zh-TC.ts +907 -3
  334. package/packages/locale/lang/zh-TW.ts +907 -3
  335. package/packages/table/module/edit/hook.ts +2 -2
  336. package/packages/table/src/table.ts +64 -28
  337. package/packages/ui/index.ts +1 -28
  338. package/dist/style.min.css +0 -1
  339. package/es/index.css +0 -1
  340. package/es/index.min.css +0 -1
  341. package/es/style.css +0 -1
  342. package/es/style.min.css +0 -1
  343. package/es/table/style.min.css +0 -1
  344. package/es/vxe-table/style.min.css +0 -1
  345. package/es/vxe-v-x-e-table/index.js +0 -3
  346. package/lib/colgroup/index.min.js +0 -1
  347. package/lib/column/index.min.js +0 -1
  348. package/lib/components.min.js +0 -1
  349. package/lib/grid/index.min.js +0 -1
  350. package/lib/grid/src/emits.min.js +0 -1
  351. package/lib/grid/src/grid.min.js +0 -1
  352. package/lib/grid/src/props.min.js +0 -1
  353. package/lib/index.css +0 -1
  354. package/lib/index.min.css +0 -1
  355. package/lib/locale/lang/ar-EG.d.ts +0 -2
  356. package/lib/locale/lang/ar-EG.min.js +0 -1
  357. package/lib/locale/lang/de-DE.d.ts +0 -2
  358. package/lib/locale/lang/de-DE.min.js +0 -1
  359. package/lib/locale/lang/en-US.d.ts +0 -2
  360. package/lib/locale/lang/en-US.min.js +0 -1
  361. package/lib/locale/lang/es-ES.d.ts +0 -2
  362. package/lib/locale/lang/es-ES.min.js +0 -1
  363. package/lib/locale/lang/fr-FR.d.ts +0 -2
  364. package/lib/locale/lang/fr-FR.min.js +0 -1
  365. package/lib/locale/lang/hu-HU.d.ts +0 -2
  366. package/lib/locale/lang/hu-HU.min.js +0 -1
  367. package/lib/locale/lang/hy-AM.d.ts +0 -2
  368. package/lib/locale/lang/hy-AM.min.js +0 -1
  369. package/lib/locale/lang/id-ID.d.ts +0 -2
  370. package/lib/locale/lang/id-ID.min.js +0 -1
  371. package/lib/locale/lang/it-IT.d.ts +0 -2
  372. package/lib/locale/lang/it-IT.min.js +0 -1
  373. package/lib/locale/lang/ja-JP.d.ts +0 -2
  374. package/lib/locale/lang/ja-JP.min.js +0 -1
  375. package/lib/locale/lang/ko-KR.d.ts +0 -2
  376. package/lib/locale/lang/ko-KR.min.js +0 -1
  377. package/lib/locale/lang/ms-MY.d.ts +0 -2
  378. package/lib/locale/lang/ms-MY.min.js +0 -1
  379. package/lib/locale/lang/nb-NO.d.ts +0 -2
  380. package/lib/locale/lang/nb-NO.min.js +0 -1
  381. package/lib/locale/lang/pt-BR.d.ts +0 -2
  382. package/lib/locale/lang/pt-BR.min.js +0 -1
  383. package/lib/locale/lang/ru-RU.d.ts +0 -2
  384. package/lib/locale/lang/ru-RU.min.js +0 -1
  385. package/lib/locale/lang/th-TH.d.ts +0 -2
  386. package/lib/locale/lang/th-TH.min.js +0 -1
  387. package/lib/locale/lang/ug-CN.d.ts +0 -2
  388. package/lib/locale/lang/ug-CN.min.js +0 -1
  389. package/lib/locale/lang/uk-UA.d.ts +0 -2
  390. package/lib/locale/lang/uk-UA.min.js +0 -1
  391. package/lib/locale/lang/uz-UZ.d.ts +0 -2
  392. package/lib/locale/lang/uz-UZ.min.js +0 -1
  393. package/lib/locale/lang/vi-VN.d.ts +0 -2
  394. package/lib/locale/lang/vi-VN.min.js +0 -1
  395. package/lib/locale/lang/zh-CHT.d.ts +0 -2
  396. package/lib/locale/lang/zh-CHT.min.js +0 -1
  397. package/lib/locale/lang/zh-CN.d.ts +0 -2
  398. package/lib/locale/lang/zh-CN.min.js +0 -1
  399. package/lib/locale/lang/zh-HK.d.ts +0 -2
  400. package/lib/locale/lang/zh-HK.min.js +0 -1
  401. package/lib/locale/lang/zh-MO.d.ts +0 -2
  402. package/lib/locale/lang/zh-MO.min.js +0 -1
  403. package/lib/locale/lang/zh-TC.min.js +0 -1
  404. package/lib/locale/lang/zh-TW.d.ts +0 -2
  405. package/lib/locale/lang/zh-TW.min.js +0 -1
  406. package/lib/style.min.css +0 -1
  407. package/lib/table/index.min.js +0 -1
  408. package/lib/table/module/custom/hook.min.js +0 -1
  409. package/lib/table/module/custom/panel.min.js +0 -1
  410. package/lib/table/module/edit/hook.min.js +0 -1
  411. package/lib/table/module/export/export-panel.min.js +0 -1
  412. package/lib/table/module/export/hook.min.js +0 -1
  413. package/lib/table/module/export/import-panel.min.js +0 -1
  414. package/lib/table/module/export/util.min.js +0 -1
  415. package/lib/table/module/filter/hook.min.js +0 -1
  416. package/lib/table/module/filter/panel.min.js +0 -1
  417. package/lib/table/module/keyboard/hook.min.js +0 -1
  418. package/lib/table/module/menu/hook.min.js +0 -1
  419. package/lib/table/module/menu/panel.min.js +0 -1
  420. package/lib/table/module/validator/hook.min.js +0 -1
  421. package/lib/table/render/index.min.js +0 -1
  422. package/lib/table/src/body.min.js +0 -1
  423. package/lib/table/src/cell.min.js +0 -1
  424. package/lib/table/src/column.min.js +0 -1
  425. package/lib/table/src/columnInfo.min.js +0 -1
  426. package/lib/table/src/emits.min.js +0 -1
  427. package/lib/table/src/footer.min.js +0 -1
  428. package/lib/table/src/group.min.js +0 -1
  429. package/lib/table/src/header.min.js +0 -1
  430. package/lib/table/src/props.min.js +0 -1
  431. package/lib/table/src/store.min.js +0 -1
  432. package/lib/table/src/table.min.js +0 -1
  433. package/lib/table/src/use/cell-view.min.js +0 -1
  434. package/lib/table/src/use/index.min.js +0 -1
  435. package/lib/table/src/util.min.js +0 -1
  436. package/lib/table/style/style.min.css +0 -1
  437. package/lib/toolbar/index.min.js +0 -1
  438. package/lib/toolbar/src/toolbar.min.js +0 -1
  439. package/lib/ui/index.min.js +0 -1
  440. package/lib/ui/src/anime.min.js +0 -1
  441. package/lib/ui/src/comp.min.js +0 -1
  442. package/lib/ui/src/dom.min.js +0 -1
  443. package/lib/ui/src/log.min.js +0 -1
  444. package/lib/ui/src/utils.min.js +0 -1
  445. package/lib/ui/src/vn.min.js +0 -1
  446. package/lib/ui/style/style.min.css +0 -0
  447. package/lib/v-x-e-table/index.min.js +0 -1
  448. package/lib/v-x-e-table/style/index.js +0 -1
  449. package/lib/v-x-e-table/style/style.css +0 -0
  450. package/lib/v-x-e-table/style/style.min.css +0 -0
  451. package/lib/vxe-colgroup/index.min.js +0 -1
  452. package/lib/vxe-colgroup/style/style.min.css +0 -0
  453. package/lib/vxe-column/index.min.js +0 -1
  454. package/lib/vxe-column/style/style.min.css +0 -0
  455. package/lib/vxe-grid/index.min.js +0 -1
  456. package/lib/vxe-table/index.min.js +0 -1
  457. package/lib/vxe-table/style/style.min.css +0 -1
  458. package/lib/vxe-toolbar/index.min.js +0 -1
  459. package/lib/vxe-ui/index.min.js +0 -1
  460. package/lib/vxe-ui/style/style.min.css +0 -0
  461. package/lib/vxe-v-x-e-table/index.js +0 -21
  462. package/lib/vxe-v-x-e-table/index.min.js +0 -1
  463. package/lib/vxe-v-x-e-table/style/index.js +0 -1
  464. package/lib/vxe-v-x-e-table/style/style.css +0 -0
  465. package/lib/vxe-v-x-e-table/style/style.min.css +0 -0
  466. /package/{es/iconfont.1792740941484.ttf → dist/iconfont.1792977622800.ttf} +0 -0
  467. /package/{es/iconfont.1792740941484.woff → dist/iconfont.1792977622800.woff} +0 -0
  468. /package/{es/iconfont.1792740941484.woff2 → dist/iconfont.1792977622800.woff2} +0 -0
  469. /package/es/colgroup/{style.min.css → style.mini.css} +0 -0
  470. /package/es/column/{style.min.css → style.mini.css} +0 -0
  471. /package/{lib/iconfont.1792740941484.ttf → es/iconfont.1792977622800.ttf} +0 -0
  472. /package/{lib/iconfont.1792740941484.woff → es/iconfont.1792977622800.woff} +0 -0
  473. /package/{lib/iconfont.1792740941484.woff2 → es/iconfont.1792977622800.woff2} +0 -0
  474. /package/es/ui/{style.min.css → style.mini.css} +0 -0
  475. /package/es/{v-x-e-table/style.css → vxe-colgroup/style.mini.css} +0 -0
  476. /package/es/{v-x-e-table/style.min.css → vxe-column/style.mini.css} +0 -0
  477. /package/es/{vxe-colgroup/style.min.css → vxe-ui/style.mini.css} +0 -0
  478. /package/{es/vxe-column/style.min.css → lib/colgroup/style/style.mini.css} +0 -0
  479. /package/{es/vxe-ui/style.min.css → lib/column/style/style.mini.css} +0 -0
  480. /package/{es/vxe-v-x-e-table/style.css → lib/ui/style/style.mini.css} +0 -0
  481. /package/{es/vxe-v-x-e-table/style.min.css → lib/vxe-colgroup/style/style.mini.css} +0 -0
  482. /package/lib/{colgroup/style/style.min.css → vxe-column/style/style.mini.css} +0 -0
  483. /package/lib/{column/style/style.min.css → vxe-ui/style/style.mini.css} +0 -0
@@ -1,26 +1,46 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var export_panel_exports = {};
30
+ __export(export_panel_exports, {
31
+ default: () => export_panel_default
5
32
  });
6
- exports.default = void 0;
7
- var _vue = require("vue");
8
- var _comp = require("../../../ui/src/comp");
9
- var _ui = require("../../../ui");
10
- var _xeUtils = _interopRequireDefault(require("xe-utils"));
11
- var _utils = require("../../../ui/src/utils");
12
- var _log = require("../../../ui/src/log");
13
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
- const {
15
- errLog
16
- } = (0, _log.createComponentLog)('table');
17
- const {
18
- getI18n,
19
- getIcon,
20
- renderEmptyElement
21
- } = _ui.VxeUI;
22
- var _default = exports.default = (0, _comp.defineVxeComponent)({
23
- name: 'VxeTableExportPanel',
33
+ module.exports = __toCommonJS(export_panel_exports);
34
+ var import_vue = require("vue");
35
+ var import_comp = require("../../../ui/src/comp");
36
+ var import_ui = require("../../../ui");
37
+ var import_xe_utils = __toESM(require("xe-utils"));
38
+ var import_utils = require("../../../ui/src/utils");
39
+ var import_log = require("../../../ui/src/log");
40
+ const { errLog } = (0, import_log.createComponentLog)("table");
41
+ const { getI18n, getIcon, renderEmptyElement } = import_ui.VxeUI;
42
+ var export_panel_default = (0, import_comp.defineVxeComponent)({
43
+ name: "VxeTableExportPanel",
24
44
  props: {
25
45
  defaultOptions: {
26
46
  type: Object,
@@ -32,92 +52,65 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
32
52
  }
33
53
  },
34
54
  setup(props) {
35
- const VxeUIModalComponent = _ui.VxeUI.getComponent('VxeModal');
36
- const VxeUIButtonComponent = _ui.VxeUI.getComponent('VxeButton');
37
- const VxeUISelectComponent = _ui.VxeUI.getComponent('VxeSelect');
38
- const VxeUIInputComponent = _ui.VxeUI.getComponent('VxeInput');
39
- const VxeUICheckboxComponent = _ui.VxeUI.getComponent('VxeCheckbox');
40
- const $xeTable = (0, _vue.inject)('$xeTable', {});
41
- const {
42
- computeExportOpts,
43
- computePrintOpts
44
- } = $xeTable.getComputeMaps();
45
- const reactData = (0, _vue.reactive)({
55
+ const VxeUIModalComponent = import_ui.VxeUI.getComponent("VxeModal");
56
+ const VxeUIButtonComponent = import_ui.VxeUI.getComponent("VxeButton");
57
+ const VxeUISelectComponent = import_ui.VxeUI.getComponent("VxeSelect");
58
+ const VxeUIInputComponent = import_ui.VxeUI.getComponent("VxeInput");
59
+ const VxeUICheckboxComponent = import_ui.VxeUI.getComponent("VxeCheckbox");
60
+ const $xeTable = (0, import_vue.inject)("$xeTable", {});
61
+ const { computeExportOpts, computePrintOpts } = $xeTable.getComputeMaps();
62
+ const reactData = (0, import_vue.reactive)({
46
63
  isAll: false,
47
64
  isIndeterminate: false,
48
65
  loading: false
49
66
  });
50
- const xButtonConfirm = (0, _vue.ref)();
51
- const xInputFilename = (0, _vue.ref)();
52
- const xInputSheetname = (0, _vue.ref)();
53
- const computeColWidthModeOptions = (0, _vue.computed)(() => {
54
- return [{
55
- value: '',
56
- label: getI18n('vxe.export.wdModes.default')
57
- }, {
58
- value: 'auto',
59
- label: getI18n('vxe.export.wdModes.auto')
60
- }, {
61
- value: 'scale',
62
- label: getI18n('vxe.export.wdModes.scale')
63
- }];
67
+ const xButtonConfirm = (0, import_vue.ref)();
68
+ const xInputFilename = (0, import_vue.ref)();
69
+ const xInputSheetname = (0, import_vue.ref)();
70
+ const computeColWidthModeOptions = (0, import_vue.computed)(() => {
71
+ return [
72
+ { value: "", label: getI18n("vxe.export.wdModes.default") },
73
+ { value: "auto", label: getI18n("vxe.export.wdModes.auto") },
74
+ { value: "scale", label: getI18n("vxe.export.wdModes.scale") }
75
+ ];
64
76
  });
65
- const computeCheckedAll = (0, _vue.computed)(() => {
66
- const {
67
- storeData
68
- } = props;
69
- return storeData.columns.every(column => column.checked);
77
+ const computeCheckedAll = (0, import_vue.computed)(() => {
78
+ const { storeData } = props;
79
+ return storeData.columns.every((column) => column.checked);
70
80
  });
71
- const computeShowSheet = (0, _vue.computed)(() => {
72
- const {
73
- defaultOptions
74
- } = props;
75
- return ['html', 'xml', 'xlsx', 'pdf'].indexOf(defaultOptions.type) > -1;
81
+ const computeShowSheet = (0, import_vue.computed)(() => {
82
+ const { defaultOptions } = props;
83
+ return ["html", "xml", "xlsx", "pdf"].indexOf(defaultOptions.type) > -1;
76
84
  });
77
- const computeSupportMerge = (0, _vue.computed)(() => {
78
- const {
79
- storeData,
80
- defaultOptions
81
- } = props;
82
- return !defaultOptions.original && defaultOptions.mode === 'current' && (storeData.isPrint || ['html', 'xlsx'].indexOf(defaultOptions.type) > -1);
85
+ const computeSupportMerge = (0, import_vue.computed)(() => {
86
+ const { storeData, defaultOptions } = props;
87
+ return !defaultOptions.original && defaultOptions.mode === "current" && (storeData.isPrint || ["html", "xlsx"].indexOf(defaultOptions.type) > -1);
83
88
  });
84
- // const computeSupportGroup = computed(() => {
85
- // const { defaultOptions } = props
86
- // return ['html', 'xlsx', 'csv', 'txt'].indexOf(defaultOptions.type) > -1
87
- // })
88
- const computeSupportStyle = (0, _vue.computed)(() => {
89
- const {
90
- defaultOptions
91
- } = props;
92
- return !defaultOptions.original && ['xlsx'].indexOf(defaultOptions.type) > -1;
89
+ const computeSupportStyle = (0, import_vue.computed)(() => {
90
+ const { defaultOptions } = props;
91
+ return !defaultOptions.original && ["xlsx"].indexOf(defaultOptions.type) > -1;
93
92
  });
94
- const handleOptionCheck = column => {
95
- const {
96
- storeData
97
- } = props;
98
- const matchObj = _xeUtils.default.findTree(storeData.columns, item => item === column);
93
+ const handleOptionCheck = (column) => {
94
+ const { storeData } = props;
95
+ const matchObj = import_xe_utils.default.findTree(storeData.columns, (item) => item === column);
99
96
  if (matchObj && matchObj.parent) {
100
- const {
101
- parent
102
- } = matchObj;
97
+ const { parent } = matchObj;
103
98
  if (parent.children && parent.children.length) {
104
- parent.checked = parent.children.every(column => column.checked);
105
- parent.halfChecked = !parent.checked && parent.children.some(column => column.checked || column.halfChecked);
99
+ parent.checked = parent.children.every((column2) => column2.checked);
100
+ parent.halfChecked = !parent.checked && parent.children.some((column2) => column2.checked || column2.halfChecked);
106
101
  handleOptionCheck(parent);
107
102
  }
108
103
  }
109
104
  };
110
105
  const checkStatus = () => {
111
- const {
112
- storeData
113
- } = props;
106
+ const { storeData } = props;
114
107
  const columns = storeData.columns;
115
- reactData.isAll = columns.every(column => column.disabled || column.checked);
116
- reactData.isIndeterminate = !reactData.isAll && columns.some(column => !column.disabled && (column.checked || column.halfChecked));
108
+ reactData.isAll = columns.every((column) => column.disabled || column.checked);
109
+ reactData.isIndeterminate = !reactData.isAll && columns.some((column) => !column.disabled && (column.checked || column.halfChecked));
117
110
  };
118
- const changeOption = column => {
111
+ const changeOption = (column) => {
119
112
  const isChecked = !column.checked;
120
- _xeUtils.default.eachTree([column], item => {
113
+ import_xe_utils.default.eachTree([column], (item) => {
121
114
  item.checked = isChecked;
122
115
  item.halfChecked = false;
123
116
  });
@@ -125,11 +118,9 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
125
118
  checkStatus();
126
119
  };
127
120
  const allColumnEvent = () => {
128
- const {
129
- storeData
130
- } = props;
121
+ const { storeData } = props;
131
122
  const isAll = !reactData.isAll;
132
- _xeUtils.default.eachTree(storeData.columns, column => {
123
+ import_xe_utils.default.eachTree(storeData.columns, (column) => {
133
124
  if (!column.disabled) {
134
125
  column.checked = isAll;
135
126
  column.halfChecked = false;
@@ -139,7 +130,7 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
139
130
  checkStatus();
140
131
  };
141
132
  const showEvent = () => {
142
- (0, _vue.nextTick)(() => {
133
+ (0, import_vue.nextTick)(() => {
143
134
  const filenameInp = xInputFilename.value;
144
135
  const sheetnameInp = xInputSheetname.value;
145
136
  const confirmBtn = xButtonConfirm.value;
@@ -151,39 +142,24 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
151
142
  checkStatus();
152
143
  };
153
144
  const getExportOption = () => {
154
- const {
155
- storeData,
156
- defaultOptions
157
- } = props;
158
- const {
159
- hasMerge,
160
- columns
161
- } = storeData;
145
+ const { storeData, defaultOptions } = props;
146
+ const { hasMerge, columns } = storeData;
162
147
  const checkedAll = computeCheckedAll.value;
163
148
  const supportMerge = computeSupportMerge.value;
164
- // 内部导出使用 _columns -> _children 为自定义子集
165
- const expColumns = _xeUtils.default.searchTree(columns, column => column.checked, {
166
- children: 'children',
167
- mapChildren: '_children',
168
- original: true
169
- });
149
+ const expColumns = import_xe_utils.default.searchTree(columns, (column) => column.checked, { children: "children", mapChildren: "_children", original: true });
170
150
  return Object.assign({}, defaultOptions, {
171
151
  _columns: expColumns,
172
152
  isMerge: hasMerge && supportMerge && checkedAll ? defaultOptions.isMerge : false
173
153
  });
174
154
  };
175
155
  const printEvent = () => {
176
- const {
177
- storeData
178
- } = props;
156
+ const { storeData } = props;
179
157
  const printOpts = computePrintOpts.value;
180
158
  storeData.visible = false;
181
159
  $xeTable.print(Object.assign({}, printOpts, getExportOption()));
182
160
  };
183
161
  const exportEvent = () => {
184
- const {
185
- storeData
186
- } = props;
162
+ const { storeData } = props;
187
163
  const exportOpts = computeExportOpts.value;
188
164
  reactData.loading = true;
189
165
  $xeTable.exportData(Object.assign({}, exportOpts, getExportOption())).then(() => {
@@ -194,15 +170,11 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
194
170
  });
195
171
  };
196
172
  const cancelEvent = () => {
197
- const {
198
- storeData
199
- } = props;
173
+ const { storeData } = props;
200
174
  storeData.visible = false;
201
175
  };
202
176
  const confirmEvent = () => {
203
- const {
204
- storeData
205
- } = props;
177
+ const { storeData } = props;
206
178
  if (storeData.isPrint) {
207
179
  printEvent();
208
180
  } else {
@@ -212,25 +184,10 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
212
184
  const renderVN = () => {
213
185
  const $xeGrid = $xeTable.xeGrid;
214
186
  const $xeGantt = $xeTable.xeGantt;
215
- const {
216
- defaultOptions,
217
- storeData
218
- } = props;
219
- const {
220
- isAll: isAllChecked,
221
- isIndeterminate: isAllIndeterminate
222
- } = reactData;
223
- const {
224
- hasTree,
225
- hasRowGroup,
226
- hasMerge,
227
- isPrint,
228
- hasColgroup,
229
- columns
230
- } = storeData;
231
- const {
232
- isHeader
233
- } = defaultOptions;
187
+ const { defaultOptions, storeData } = props;
188
+ const { isAll: isAllChecked, isIndeterminate: isAllIndeterminate } = reactData;
189
+ const { hasTree, hasRowGroup, hasMerge, isPrint, hasColgroup, columns } = storeData;
190
+ const { isHeader } = defaultOptions;
234
191
  const colVNs = [];
235
192
  const exportOpts = computeExportOpts.value;
236
193
  const printOpts = computePrintOpts.value;
@@ -241,55 +198,59 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
241
198
  const supportMerge = computeSupportMerge.value;
242
199
  const supportStyle = computeSupportStyle.value;
243
200
  const colWidthModeOptions = computeColWidthModeOptions.value;
244
- // const supportGroup = computeSupportGroup.value
245
201
  const slots = defaultOptions.slots || {};
246
202
  const topSlot = slots.top;
247
203
  const bottomSlot = slots.bottom;
248
204
  const defaultSlot = slots.default;
249
205
  const footerSlot = slots.footer;
250
206
  const parameterSlot = slots.parameter;
251
- _xeUtils.default.eachTree(columns, column => {
252
- const colTitle = (0, _utils.formatText)(column.getTitle(), 1);
207
+ import_xe_utils.default.eachTree(columns, (column) => {
208
+ const colTitle = (0, import_utils.formatText)(column.getTitle(), 1);
253
209
  const isColGroup = column.children && column.children.length;
254
210
  const isChecked = column.checked;
255
211
  const indeterminate = column.halfChecked;
256
- const isHtml = column.type === 'html';
257
- colVNs.push((0, _vue.h)('li', {
258
- key: column.id,
259
- class: ['vxe-table-export--panel-column-option', `level--${column.level}`, {
260
- 'is--group': isColGroup,
261
- 'is--checked': isChecked,
262
- 'is--indeterminate': indeterminate,
263
- 'is--disabled': column.disabled
264
- }],
265
- title: isHtml ? '' : colTitle,
266
- onClick: () => {
267
- if (!column.disabled) {
268
- changeOption(column);
212
+ const isHtml = column.type === "html";
213
+ colVNs.push(
214
+ (0, import_vue.h)("li", {
215
+ key: column.id,
216
+ class: ["vxe-table-export--panel-column-option", `level--${column.level}`, {
217
+ "is--group": isColGroup,
218
+ "is--checked": isChecked,
219
+ "is--indeterminate": indeterminate,
220
+ "is--disabled": column.disabled
221
+ }],
222
+ title: isHtml ? "" : colTitle,
223
+ onClick: () => {
224
+ if (!column.disabled) {
225
+ changeOption(column);
226
+ }
269
227
  }
270
- }
271
- }, [(0, _vue.h)('span', {
272
- class: ['vxe-checkbox--icon', indeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : isChecked ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED]
273
- }), isHtml ? (0, _vue.h)('span', {
274
- key: '1',
275
- class: 'vxe-checkbox--label',
276
- innerHTML: colTitle
277
- }) : (0, _vue.h)('span', {
278
- key: '0',
279
- class: 'vxe-checkbox--label'
280
- }, colTitle)]));
228
+ }, [
229
+ (0, import_vue.h)("span", {
230
+ class: ["vxe-checkbox--icon", indeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : isChecked ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED]
231
+ }),
232
+ isHtml ? (0, import_vue.h)("span", {
233
+ key: "1",
234
+ class: "vxe-checkbox--label",
235
+ innerHTML: colTitle
236
+ }) : (0, import_vue.h)("span", {
237
+ key: "0",
238
+ class: "vxe-checkbox--label"
239
+ }, colTitle)
240
+ ])
241
+ );
281
242
  });
282
- return VxeUIModalComponent ? (0, _vue.h)(VxeUIModalComponent, {
283
- id: 'VXE_EXPORT_MODAL',
243
+ return VxeUIModalComponent ? (0, import_vue.h)(VxeUIModalComponent, {
244
+ id: "VXE_EXPORT_MODAL",
284
245
  modelValue: storeData.visible,
285
- title: modelOptions.title || getI18n(isPrint ? 'vxe.export.printTitle' : 'vxe.export.expTitle'),
286
- className: 'vxe-table-export-popup-wrapper',
246
+ title: modelOptions.title || getI18n(isPrint ? "vxe.export.printTitle" : "vxe.export.expTitle"),
247
+ className: "vxe-table-export-popup-wrapper",
287
248
  width: modelOptions.width || 660,
288
249
  height: modelOptions.height,
289
250
  minWidth: modelOptions.minWidth || 500,
290
251
  minHeight: modelOptions.minHeight || 400,
291
- mask: (0, _utils.getDefaultConfig)(modelOptions.mask, true),
292
- lockView: (0, _utils.getDefaultConfig)(modelOptions.lockView, true),
252
+ mask: (0, import_utils.getDefaultConfig)(modelOptions.mask, true),
253
+ lockView: (0, import_utils.getDefaultConfig)(modelOptions.lockView, true),
293
254
  showFooter: true,
294
255
  escClosable: true,
295
256
  maskClosable: true,
@@ -297,10 +258,10 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
297
258
  fullscreen: modelOptions.fullscreen,
298
259
  remember: modelOptions.remember,
299
260
  showMinimize: modelOptions.showMinimize,
300
- showMaximize: (0, _utils.getDefaultConfig)(modelOptions.showMaximize, true),
301
- resize: (0, _utils.getDefaultConfig)(modelOptions.resize, true),
261
+ showMaximize: (0, import_utils.getDefaultConfig)(modelOptions.showMaximize, true),
262
+ resize: (0, import_utils.getDefaultConfig)(modelOptions.resize, true),
302
263
  loading: reactData.loading,
303
- 'onUpdate:modelValue'(value) {
264
+ "onUpdate:modelValue"(value) {
304
265
  storeData.visible = value;
305
266
  },
306
267
  onShow: showEvent
@@ -314,159 +275,236 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
314
275
  columns,
315
276
  params: defaultOptions.params
316
277
  };
317
- const hasEmptyData = defaultOptions.mode === 'empty';
318
- return (0, _vue.h)('div', {
319
- class: 'vxe-table-export--panel'
320
- }, [topSlot ? (0, _vue.h)('div', {
321
- class: 'vxe-table-export--panel-top'
322
- }, $xeTable.callSlot(topSlot, params)) : renderEmptyElement($xeTable), (0, _vue.h)('div', {
323
- class: 'vxe-table-export--panel-body'
324
- }, defaultSlot ? $xeTable.callSlot(defaultSlot, params) : [(0, _vue.h)('table', {
325
- class: 'vxe-table-export--panel-table',
326
- cellspacing: 0,
327
- cellpadding: 0,
328
- border: 0
329
- }, [(0, _vue.h)('tbody', [[isPrint || settingOptions.showFileName === false ? renderEmptyElement($xeTable) : (0, _vue.h)('tr', [(0, _vue.h)('td', getI18n('vxe.export.expName')), (0, _vue.h)('td', [VxeUIInputComponent ? (0, _vue.h)(VxeUIInputComponent, {
330
- ref: xInputFilename,
331
- modelValue: defaultOptions.filename,
332
- type: 'text',
333
- clearable: true,
334
- placeholder: getI18n('vxe.export.expNamePlaceholder'),
335
- 'onUpdate:modelValue'(value) {
336
- defaultOptions.filename = value;
337
- }
338
- }) : renderEmptyElement($xeTable)])]), isPrint || settingOptions.showType === false ? renderEmptyElement($xeTable) : (0, _vue.h)('tr', [(0, _vue.h)('td', getI18n('vxe.export.expType')), (0, _vue.h)('td', [VxeUISelectComponent ? (0, _vue.h)(VxeUISelectComponent, {
339
- modelValue: defaultOptions.type,
340
- options: storeData.typeList,
341
- 'onUpdate:modelValue'(value) {
342
- defaultOptions.type = value;
343
- }
344
- }) : renderEmptyElement($xeTable)])]), (isPrint || showSheet) && settingOptions.showSheet !== false ? (0, _vue.h)('tr', [(0, _vue.h)('td', getI18n('vxe.export.expSheetName')), (0, _vue.h)('td', [VxeUIInputComponent ? (0, _vue.h)(VxeUIInputComponent, {
345
- ref: xInputSheetname,
346
- modelValue: defaultOptions.sheetName,
347
- type: 'text',
348
- clearable: true,
349
- placeholder: getI18n('vxe.export.expSheetNamePlaceholder'),
350
- 'onUpdate:modelValue'(value) {
351
- defaultOptions.sheetName = value;
352
- }
353
- }) : renderEmptyElement($xeTable)])]) : renderEmptyElement($xeTable), settingOptions.showMode === false ? renderEmptyElement($xeTable) : (0, _vue.h)('tr', [(0, _vue.h)('td', getI18n('vxe.export.expMode')), (0, _vue.h)('td', [VxeUISelectComponent ? (0, _vue.h)(VxeUISelectComponent, {
354
- modelValue: defaultOptions.mode,
355
- options: storeData.modeList.map(item => {
356
- return {
357
- value: item.value,
358
- label: getI18n(item.label)
359
- };
360
- }),
361
- 'onUpdate:modelValue'(value) {
362
- defaultOptions.mode = value;
363
- }
364
- }) : renderEmptyElement($xeTable)])]), settingOptions.showColumn === false ? renderEmptyElement($xeTable) : (0, _vue.h)('tr', [(0, _vue.h)('td', [getI18n('vxe.export.expColumn')]), (0, _vue.h)('td', [(0, _vue.h)('div', {
365
- class: 'vxe-table-export--panel-column'
366
- }, [(0, _vue.h)('ul', {
367
- class: 'vxe-table-export--panel-column-header'
368
- }, [(0, _vue.h)('li', {
369
- class: ['vxe-table-export--panel-column-option', {
370
- 'is--checked': isAllChecked,
371
- 'is--indeterminate': isAllIndeterminate
372
- }],
373
- title: getI18n('vxe.table.allTitle'),
374
- onClick: allColumnEvent
375
- }, [(0, _vue.h)('span', {
376
- class: ['vxe-checkbox--icon', isAllIndeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllChecked ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED]
377
- }), (0, _vue.h)('span', {
378
- class: 'vxe-checkbox--label'
379
- }, getI18n('vxe.export.expCurrentColumn'))])]), (0, _vue.h)('ul', {
380
- class: 'vxe-table-export--panel-column-body'
381
- }, colVNs)])])]), isPrint && settingOptions.showWidthMode !== false ? (0, _vue.h)('tr', [(0, _vue.h)('td', getI18n('vxe.export.widthMode')), (0, _vue.h)('td', [VxeUISelectComponent ? (0, _vue.h)(VxeUISelectComponent, {
382
- modelValue: defaultOptions.widthMode,
383
- options: colWidthModeOptions,
384
- 'onUpdate:modelValue'(value) {
385
- defaultOptions.widthMode = value;
386
- }
387
- }) : renderEmptyElement($xeTable)])]) : renderEmptyElement($xeTable), settingOptions.showParameter === false ? renderEmptyElement($xeTable) : (0, _vue.h)('tr', [(0, _vue.h)('td', getI18n('vxe.export.expOpts')), parameterSlot ? (0, _vue.h)('td', [(0, _vue.h)('div', {
388
- class: 'vxe-table-export--panel-option-row'
389
- }, $xeTable.callSlot(parameterSlot, params))]) : (0, _vue.h)('td', [(0, _vue.h)('div', {
390
- class: 'vxe-table-export--panel-option-row'
391
- }, VxeUICheckboxComponent ? [(0, _vue.h)(VxeUICheckboxComponent, {
392
- modelValue: hasEmptyData || isHeader,
393
- disabled: hasEmptyData,
394
- title: getI18n('vxe.export.expHeaderTitle'),
395
- content: getI18n('vxe.export.expOptHeader'),
396
- 'onUpdate:modelValue'(value) {
397
- defaultOptions.isHeader = value;
398
- }
399
- }), (0, _vue.h)(VxeUICheckboxComponent, {
400
- modelValue: defaultOptions.isFooter,
401
- disabled: !storeData.hasFooter,
402
- title: getI18n('vxe.export.expFooterTitle'),
403
- content: getI18n('vxe.export.expOptFooter'),
404
- 'onUpdate:modelValue'(value) {
405
- defaultOptions.isFooter = value;
406
- }
407
- }), (0, _vue.h)(VxeUICheckboxComponent, {
408
- modelValue: isHeader ? defaultOptions.isTitle : false,
409
- disabled: !isHeader,
410
- title: getI18n('vxe.export.expTitleTitle'),
411
- content: getI18n('vxe.export.expOptTitle'),
412
- 'onUpdate:modelValue'(value) {
413
- defaultOptions.isTitle = value;
414
- }
415
- }), (0, _vue.h)(VxeUICheckboxComponent, {
416
- modelValue: isHeader && hasColgroup && supportMerge ? defaultOptions.isColgroup : false,
417
- title: getI18n('vxe.export.expColgroupTitle'),
418
- disabled: !isHeader || !hasColgroup || !supportMerge,
419
- content: getI18n('vxe.export.expOptColgroup'),
420
- 'onUpdate:modelValue'(value) {
421
- defaultOptions.isColgroup = value;
422
- }
423
- })] : []), (0, _vue.h)('div', {
424
- class: 'vxe-table-export--panel-option-row'
425
- }, VxeUICheckboxComponent ? [(0, _vue.h)(VxeUICheckboxComponent, {
426
- modelValue: hasEmptyData ? false : defaultOptions.original,
427
- disabled: hasEmptyData,
428
- title: getI18n('vxe.export.expOriginalTitle'),
429
- content: getI18n('vxe.export.expOptOriginal'),
430
- 'onUpdate:modelValue'(value) {
431
- defaultOptions.original = value;
432
- }
433
- }), (0, _vue.h)(VxeUICheckboxComponent, {
434
- modelValue: hasMerge && supportMerge && checkedAll ? defaultOptions.isMerge : false,
435
- title: getI18n('vxe.export.expMergeTitle'),
436
- disabled: hasEmptyData || !hasMerge || !supportMerge || !checkedAll,
437
- content: getI18n('vxe.export.expOptMerge'),
438
- 'onUpdate:modelValue'(value) {
439
- defaultOptions.isMerge = value;
440
- }
441
- }), isPrint ? renderEmptyElement($xeTable) : (0, _vue.h)(VxeUICheckboxComponent, {
442
- modelValue: supportStyle ? defaultOptions.useStyle : false,
443
- disabled: !supportStyle,
444
- title: getI18n('vxe.export.expUseStyleTitle'),
445
- content: getI18n('vxe.export.expOptUseStyle'),
446
- 'onUpdate:modelValue'(value) {
447
- defaultOptions.useStyle = value;
448
- }
449
- })] : []), (0, _vue.h)('div', {
450
- class: 'vxe-table-export--panel-option-row'
451
- }, VxeUICheckboxComponent ? [(0, _vue.h)(VxeUICheckboxComponent, {
452
- modelValue: hasTree ? defaultOptions.isTreeAllExpanded : false,
453
- disabled: hasEmptyData || !hasTree,
454
- title: getI18n('vxe.export.expTreeAllExpandTitle'),
455
- content: getI18n('vxe.export.expOptTreeAllExpand'),
456
- 'onUpdate:modelValue'(value) {
457
- defaultOptions.isTreeAllExpanded = value;
458
- }
459
- }), (0, _vue.h)(VxeUICheckboxComponent, {
460
- modelValue: hasRowGroup ? defaultOptions.isRowGroupAllExpanded : false,
461
- disabled: hasEmptyData || !hasRowGroup,
462
- title: getI18n('vxe.export.expRowGroupAllExpandTitle'),
463
- content: getI18n('vxe.export.expOptRowGroupAllExpand'),
464
- 'onUpdate:modelValue'(value) {
465
- defaultOptions.isRowGroupAllExpanded = value;
466
- }
467
- })] : [])])])]])])]), bottomSlot ? (0, _vue.h)('div', {
468
- class: 'vxe-table-export--panel-bottom'
469
- }, $xeTable.callSlot(bottomSlot, params)) : renderEmptyElement($xeTable)]);
278
+ const hasEmptyData = defaultOptions.mode === "empty";
279
+ return (0, import_vue.h)("div", {
280
+ class: "vxe-table-export--panel"
281
+ }, [
282
+ topSlot ? (0, import_vue.h)("div", {
283
+ class: "vxe-table-export--panel-top"
284
+ }, $xeTable.callSlot(topSlot, params)) : renderEmptyElement($xeTable),
285
+ (0, import_vue.h)("div", {
286
+ class: "vxe-table-export--panel-body"
287
+ }, defaultSlot ? $xeTable.callSlot(defaultSlot, params) : [
288
+ (0, import_vue.h)("table", {
289
+ class: "vxe-table-export--panel-table",
290
+ cellspacing: 0,
291
+ cellpadding: 0,
292
+ border: 0
293
+ }, [
294
+ (0, import_vue.h)("tbody", [
295
+ [
296
+ isPrint || settingOptions.showFileName === false ? renderEmptyElement($xeTable) : (0, import_vue.h)("tr", [
297
+ (0, import_vue.h)("td", getI18n("vxe.export.expName")),
298
+ (0, import_vue.h)("td", [
299
+ VxeUIInputComponent ? (0, import_vue.h)(VxeUIInputComponent, {
300
+ ref: xInputFilename,
301
+ modelValue: defaultOptions.filename,
302
+ type: "text",
303
+ clearable: true,
304
+ placeholder: getI18n("vxe.export.expNamePlaceholder"),
305
+ "onUpdate:modelValue"(value) {
306
+ defaultOptions.filename = value;
307
+ }
308
+ }) : renderEmptyElement($xeTable)
309
+ ])
310
+ ]),
311
+ isPrint || settingOptions.showType === false ? renderEmptyElement($xeTable) : (0, import_vue.h)("tr", [
312
+ (0, import_vue.h)("td", getI18n("vxe.export.expType")),
313
+ (0, import_vue.h)("td", [
314
+ VxeUISelectComponent ? (0, import_vue.h)(VxeUISelectComponent, {
315
+ modelValue: defaultOptions.type,
316
+ options: storeData.typeList,
317
+ "onUpdate:modelValue"(value) {
318
+ defaultOptions.type = value;
319
+ }
320
+ }) : renderEmptyElement($xeTable)
321
+ ])
322
+ ]),
323
+ (isPrint || showSheet) && settingOptions.showSheet !== false ? (0, import_vue.h)("tr", [
324
+ (0, import_vue.h)("td", getI18n("vxe.export.expSheetName")),
325
+ (0, import_vue.h)("td", [
326
+ VxeUIInputComponent ? (0, import_vue.h)(VxeUIInputComponent, {
327
+ ref: xInputSheetname,
328
+ modelValue: defaultOptions.sheetName,
329
+ type: "text",
330
+ clearable: true,
331
+ placeholder: getI18n("vxe.export.expSheetNamePlaceholder"),
332
+ "onUpdate:modelValue"(value) {
333
+ defaultOptions.sheetName = value;
334
+ }
335
+ }) : renderEmptyElement($xeTable)
336
+ ])
337
+ ]) : renderEmptyElement($xeTable),
338
+ settingOptions.showMode === false ? renderEmptyElement($xeTable) : (0, import_vue.h)("tr", [
339
+ (0, import_vue.h)("td", getI18n("vxe.export.expMode")),
340
+ (0, import_vue.h)("td", [
341
+ VxeUISelectComponent ? (0, import_vue.h)(VxeUISelectComponent, {
342
+ modelValue: defaultOptions.mode,
343
+ options: storeData.modeList.map((item) => {
344
+ return {
345
+ value: item.value,
346
+ label: getI18n(item.label)
347
+ };
348
+ }),
349
+ "onUpdate:modelValue"(value) {
350
+ defaultOptions.mode = value;
351
+ }
352
+ }) : renderEmptyElement($xeTable)
353
+ ])
354
+ ]),
355
+ settingOptions.showColumn === false ? renderEmptyElement($xeTable) : (0, import_vue.h)("tr", [
356
+ (0, import_vue.h)("td", [getI18n("vxe.export.expColumn")]),
357
+ (0, import_vue.h)("td", [
358
+ (0, import_vue.h)("div", {
359
+ class: "vxe-table-export--panel-column"
360
+ }, [
361
+ (0, import_vue.h)("ul", {
362
+ class: "vxe-table-export--panel-column-header"
363
+ }, [
364
+ (0, import_vue.h)("li", {
365
+ class: ["vxe-table-export--panel-column-option", {
366
+ "is--checked": isAllChecked,
367
+ "is--indeterminate": isAllIndeterminate
368
+ }],
369
+ title: getI18n("vxe.table.allTitle"),
370
+ onClick: allColumnEvent
371
+ }, [
372
+ (0, import_vue.h)("span", {
373
+ class: ["vxe-checkbox--icon", isAllIndeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllChecked ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED]
374
+ }),
375
+ (0, import_vue.h)("span", {
376
+ class: "vxe-checkbox--label"
377
+ }, getI18n("vxe.export.expCurrentColumn"))
378
+ ])
379
+ ]),
380
+ (0, import_vue.h)("ul", {
381
+ class: "vxe-table-export--panel-column-body"
382
+ }, colVNs)
383
+ ])
384
+ ])
385
+ ]),
386
+ isPrint && settingOptions.showWidthMode !== false ? (0, import_vue.h)("tr", [
387
+ (0, import_vue.h)("td", getI18n("vxe.export.widthMode")),
388
+ (0, import_vue.h)("td", [
389
+ VxeUISelectComponent ? (0, import_vue.h)(VxeUISelectComponent, {
390
+ modelValue: defaultOptions.widthMode,
391
+ options: colWidthModeOptions,
392
+ "onUpdate:modelValue"(value) {
393
+ defaultOptions.widthMode = value;
394
+ }
395
+ }) : renderEmptyElement($xeTable)
396
+ ])
397
+ ]) : renderEmptyElement($xeTable),
398
+ settingOptions.showParameter === false ? renderEmptyElement($xeTable) : (0, import_vue.h)("tr", [
399
+ (0, import_vue.h)("td", getI18n("vxe.export.expOpts")),
400
+ parameterSlot ? (0, import_vue.h)("td", [
401
+ (0, import_vue.h)("div", {
402
+ class: "vxe-table-export--panel-option-row"
403
+ }, $xeTable.callSlot(parameterSlot, params))
404
+ ]) : (0, import_vue.h)("td", [
405
+ (0, import_vue.h)("div", {
406
+ class: "vxe-table-export--panel-option-row"
407
+ }, VxeUICheckboxComponent ? [
408
+ (0, import_vue.h)(VxeUICheckboxComponent, {
409
+ modelValue: hasEmptyData || isHeader,
410
+ disabled: hasEmptyData,
411
+ title: getI18n("vxe.export.expHeaderTitle"),
412
+ content: getI18n("vxe.export.expOptHeader"),
413
+ "onUpdate:modelValue"(value) {
414
+ defaultOptions.isHeader = value;
415
+ }
416
+ }),
417
+ (0, import_vue.h)(VxeUICheckboxComponent, {
418
+ modelValue: defaultOptions.isFooter,
419
+ disabled: !storeData.hasFooter,
420
+ title: getI18n("vxe.export.expFooterTitle"),
421
+ content: getI18n("vxe.export.expOptFooter"),
422
+ "onUpdate:modelValue"(value) {
423
+ defaultOptions.isFooter = value;
424
+ }
425
+ }),
426
+ (0, import_vue.h)(VxeUICheckboxComponent, {
427
+ modelValue: isHeader ? defaultOptions.isTitle : false,
428
+ disabled: !isHeader,
429
+ title: getI18n("vxe.export.expTitleTitle"),
430
+ content: getI18n("vxe.export.expOptTitle"),
431
+ "onUpdate:modelValue"(value) {
432
+ defaultOptions.isTitle = value;
433
+ }
434
+ }),
435
+ (0, import_vue.h)(VxeUICheckboxComponent, {
436
+ modelValue: isHeader && hasColgroup && supportMerge ? defaultOptions.isColgroup : false,
437
+ title: getI18n("vxe.export.expColgroupTitle"),
438
+ disabled: !isHeader || !hasColgroup || !supportMerge,
439
+ content: getI18n("vxe.export.expOptColgroup"),
440
+ "onUpdate:modelValue"(value) {
441
+ defaultOptions.isColgroup = value;
442
+ }
443
+ })
444
+ ] : []),
445
+ (0, import_vue.h)("div", {
446
+ class: "vxe-table-export--panel-option-row"
447
+ }, VxeUICheckboxComponent ? [
448
+ (0, import_vue.h)(VxeUICheckboxComponent, {
449
+ modelValue: hasEmptyData ? false : defaultOptions.original,
450
+ disabled: hasEmptyData,
451
+ title: getI18n("vxe.export.expOriginalTitle"),
452
+ content: getI18n("vxe.export.expOptOriginal"),
453
+ "onUpdate:modelValue"(value) {
454
+ defaultOptions.original = value;
455
+ }
456
+ }),
457
+ (0, import_vue.h)(VxeUICheckboxComponent, {
458
+ modelValue: hasMerge && supportMerge && checkedAll ? defaultOptions.isMerge : false,
459
+ title: getI18n("vxe.export.expMergeTitle"),
460
+ disabled: hasEmptyData || !hasMerge || !supportMerge || !checkedAll,
461
+ content: getI18n("vxe.export.expOptMerge"),
462
+ "onUpdate:modelValue"(value) {
463
+ defaultOptions.isMerge = value;
464
+ }
465
+ }),
466
+ isPrint ? renderEmptyElement($xeTable) : (0, import_vue.h)(VxeUICheckboxComponent, {
467
+ modelValue: supportStyle ? defaultOptions.useStyle : false,
468
+ disabled: !supportStyle,
469
+ title: getI18n("vxe.export.expUseStyleTitle"),
470
+ content: getI18n("vxe.export.expOptUseStyle"),
471
+ "onUpdate:modelValue"(value) {
472
+ defaultOptions.useStyle = value;
473
+ }
474
+ })
475
+ ] : []),
476
+ (0, import_vue.h)("div", {
477
+ class: "vxe-table-export--panel-option-row"
478
+ }, VxeUICheckboxComponent ? [
479
+ (0, import_vue.h)(VxeUICheckboxComponent, {
480
+ modelValue: hasTree ? defaultOptions.isTreeAllExpanded : false,
481
+ disabled: hasEmptyData || !hasTree,
482
+ title: getI18n("vxe.export.expTreeAllExpandTitle"),
483
+ content: getI18n("vxe.export.expOptTreeAllExpand"),
484
+ "onUpdate:modelValue"(value) {
485
+ defaultOptions.isTreeAllExpanded = value;
486
+ }
487
+ }),
488
+ (0, import_vue.h)(VxeUICheckboxComponent, {
489
+ modelValue: hasRowGroup ? defaultOptions.isRowGroupAllExpanded : false,
490
+ disabled: hasEmptyData || !hasRowGroup,
491
+ title: getI18n("vxe.export.expRowGroupAllExpandTitle"),
492
+ content: getI18n("vxe.export.expOptRowGroupAllExpand"),
493
+ "onUpdate:modelValue"(value) {
494
+ defaultOptions.isRowGroupAllExpanded = value;
495
+ }
496
+ })
497
+ ] : [])
498
+ ])
499
+ ])
500
+ ]
501
+ ])
502
+ ])
503
+ ]),
504
+ bottomSlot ? (0, import_vue.h)("div", {
505
+ class: "vxe-table-export--panel-bottom"
506
+ }, $xeTable.callSlot(bottomSlot, params)) : renderEmptyElement($xeTable)
507
+ ]);
470
508
  },
471
509
  footer() {
472
510
  const params = {
@@ -477,39 +515,44 @@ var _default = exports.default = (0, _comp.defineVxeComponent)({
477
515
  columns,
478
516
  params: defaultOptions.params
479
517
  };
480
- return (0, _vue.h)('div', {
481
- class: 'vxe-table-export--panel-footer'
482
- }, footerSlot ? $xeTable.callSlot(footerSlot, params) : [(0, _vue.h)('div', {
483
- class: 'vxe-table-export--panel-btns'
484
- }, [VxeUIButtonComponent ? (0, _vue.h)(VxeUIButtonComponent, {
485
- content: getI18n('vxe.export.expCancel'),
486
- onClick: cancelEvent
487
- }) : renderEmptyElement($xeTable), VxeUIButtonComponent ? (0, _vue.h)(VxeUIButtonComponent, {
488
- ref: xButtonConfirm,
489
- status: 'primary',
490
- content: getI18n(isPrint ? 'vxe.export.expPrint' : 'vxe.export.expConfirm'),
491
- onClick: confirmEvent
492
- }) : renderEmptyElement($xeTable)])]);
518
+ return (0, import_vue.h)("div", {
519
+ class: "vxe-table-export--panel-footer"
520
+ }, footerSlot ? $xeTable.callSlot(footerSlot, params) : [
521
+ (0, import_vue.h)("div", {
522
+ class: "vxe-table-export--panel-btns"
523
+ }, [
524
+ VxeUIButtonComponent ? (0, import_vue.h)(VxeUIButtonComponent, {
525
+ content: getI18n("vxe.export.expCancel"),
526
+ onClick: cancelEvent
527
+ }) : renderEmptyElement($xeTable),
528
+ VxeUIButtonComponent ? (0, import_vue.h)(VxeUIButtonComponent, {
529
+ ref: xButtonConfirm,
530
+ status: "primary",
531
+ content: getI18n(isPrint ? "vxe.export.expPrint" : "vxe.export.expConfirm"),
532
+ onClick: confirmEvent
533
+ }) : renderEmptyElement($xeTable)
534
+ ])
535
+ ]);
493
536
  }
494
537
  }) : renderEmptyElement($xeTable);
495
538
  };
496
- (0, _vue.nextTick)(() => {
539
+ (0, import_vue.nextTick)(() => {
497
540
  if (!VxeUIModalComponent) {
498
- errLog('vxe.error.reqComp', ['vxe-modal']);
541
+ errLog("vxe.error.reqComp", ["vxe-modal"]);
499
542
  }
500
543
  if (!VxeUIButtonComponent) {
501
- errLog('vxe.error.reqComp', ['vxe-button']);
544
+ errLog("vxe.error.reqComp", ["vxe-button"]);
502
545
  }
503
546
  if (!VxeUISelectComponent) {
504
- errLog('vxe.error.reqComp', ['vxe-select']);
547
+ errLog("vxe.error.reqComp", ["vxe-select"]);
505
548
  }
506
549
  if (!VxeUIInputComponent) {
507
- errLog('vxe.error.reqComp', ['vxe-input']);
550
+ errLog("vxe.error.reqComp", ["vxe-input"]);
508
551
  }
509
552
  if (!VxeUICheckboxComponent) {
510
- errLog('vxe.error.reqComp', ['vxe-checkbox']);
553
+ errLog("vxe.error.reqComp", ["vxe-checkbox"]);
511
554
  }
512
555
  });
513
556
  return renderVN;
514
557
  }
515
- });
558
+ });