vxe-table 4.3.5 → 4.3.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 (491) hide show
  1. package/es/button/style.css +465 -341
  2. package/es/checkbox/style.css +156 -127
  3. package/es/checkbox-group/style.css +1 -1
  4. package/es/colgroup/style.css +1 -1
  5. package/es/column/style.css +1 -1
  6. package/es/edit/style.css +1 -1
  7. package/es/export/src/hook.js +1 -0
  8. package/es/export/style.css +136 -108
  9. package/es/filter/src/hook.js +1 -1
  10. package/es/filter/style.css +103 -82
  11. package/es/form/src/form.js +5 -4
  12. package/es/form/style.css +201 -168
  13. package/es/form-gather/style.css +1 -1
  14. package/es/form-item/style.css +1 -1
  15. package/es/grid/style.css +61 -50
  16. package/es/icon/style/iconfont.1669214286403.ttf +0 -0
  17. package/es/icon/style/iconfont.1669214286403.woff +0 -0
  18. package/es/icon/style/iconfont.1669214286403.woff2 +0 -0
  19. package/es/icon/style.css +372 -195
  20. package/es/iconfont.1669214286403.ttf +0 -0
  21. package/es/iconfont.1669214286403.woff +0 -0
  22. package/es/iconfont.1669214286403.woff2 +0 -0
  23. package/es/input/style.css +771 -595
  24. package/es/keyboard/style.css +1 -1
  25. package/es/list/src/list.js +7 -1
  26. package/es/list/style.css +19 -14
  27. package/es/loading/style.css +52 -48
  28. package/es/menu/style.css +79 -59
  29. package/es/modal/style.css +311 -247
  30. package/es/optgroup/style.css +1 -1
  31. package/es/option/style.css +1 -1
  32. package/es/pager/style.css +307 -257
  33. package/es/pulldown/src/pulldown.js +9 -3
  34. package/es/pulldown/style.css +42 -31
  35. package/es/radio/style.css +184 -151
  36. package/es/radio-button/style.css +1 -1
  37. package/es/radio-group/style.css +1 -1
  38. package/es/select/style.css +108 -79
  39. package/es/style.css +1 -1
  40. package/es/style.min.css +1 -1
  41. package/es/switch/style.css +87 -67
  42. package/es/table/src/column.js +2 -0
  43. package/es/table/src/columnInfo.js +1 -0
  44. package/es/table/src/table.js +16 -16
  45. package/es/table/style.css +1025 -835
  46. package/es/textarea/style.css +57 -41
  47. package/es/toolbar/style.css +216 -174
  48. package/es/tools/log.js +1 -1
  49. package/es/tooltip/style.css +87 -63
  50. package/es/v-x-e-table/index.js +1 -1
  51. package/es/v-x-e-table/style.css +424 -243
  52. package/es/validator/style.css +1 -1
  53. package/es/vxe-button/style.css +465 -341
  54. package/es/vxe-checkbox/style.css +156 -127
  55. package/es/vxe-checkbox-group/style.css +1 -1
  56. package/es/vxe-colgroup/style.css +1 -1
  57. package/es/vxe-column/style.css +1 -1
  58. package/es/vxe-form/style.css +201 -168
  59. package/es/vxe-form-gather/style.css +1 -1
  60. package/es/vxe-form-item/style.css +1 -1
  61. package/es/vxe-grid/style.css +61 -50
  62. package/es/vxe-icon/style.css +372 -195
  63. package/es/vxe-input/style.css +771 -595
  64. package/es/vxe-list/style.css +19 -14
  65. package/es/vxe-loading/style.css +52 -48
  66. package/es/vxe-modal/style.css +311 -247
  67. package/es/vxe-module-edit/style.css +1 -1
  68. package/es/vxe-module-export/style.css +136 -108
  69. package/es/vxe-module-filter/style.css +103 -82
  70. package/es/vxe-module-keyboard/style.css +1 -1
  71. package/es/vxe-module-menu/style.css +79 -59
  72. package/es/vxe-module-validator/style.css +1 -1
  73. package/es/vxe-optgroup/style.css +1 -1
  74. package/es/vxe-option/style.css +1 -1
  75. package/es/vxe-pager/style.css +307 -257
  76. package/es/vxe-pulldown/style.css +42 -31
  77. package/es/vxe-radio/style.css +184 -151
  78. package/es/vxe-radio-button/style.css +1 -1
  79. package/es/vxe-radio-group/style.css +1 -1
  80. package/es/vxe-select/style.css +108 -79
  81. package/es/vxe-switch/style.css +87 -67
  82. package/es/vxe-table/style.css +1025 -835
  83. package/es/vxe-textarea/style.css +57 -41
  84. package/es/vxe-toolbar/style.css +216 -174
  85. package/es/vxe-tooltip/style.css +87 -63
  86. package/lib/all.js +45 -115
  87. package/lib/all.min.js +1 -1
  88. package/lib/button/index.js +1 -7
  89. package/lib/button/index.min.js +1 -1
  90. package/lib/button/src/button.js +48 -113
  91. package/lib/button/src/button.min.js +1 -1
  92. package/lib/button/style/style.css +465 -341
  93. package/lib/button/style/style.min.css +1 -1
  94. package/lib/checkbox/index.js +1 -7
  95. package/lib/checkbox/index.min.js +1 -1
  96. package/lib/checkbox/src/checkbox.js +12 -32
  97. package/lib/checkbox/src/checkbox.min.js +1 -1
  98. package/lib/checkbox/src/group.js +13 -28
  99. package/lib/checkbox/src/group.min.js +1 -1
  100. package/lib/checkbox/style/style.css +156 -127
  101. package/lib/checkbox/style/style.min.css +1 -1
  102. package/lib/checkbox-group/index.js +1 -7
  103. package/lib/checkbox-group/index.min.js +1 -1
  104. package/lib/checkbox-group/style/style.css +1 -1
  105. package/lib/colgroup/index.js +5 -12
  106. package/lib/colgroup/index.min.js +1 -1
  107. package/lib/colgroup/style/style.css +1 -1
  108. package/lib/column/index.js +5 -12
  109. package/lib/column/index.min.js +1 -1
  110. package/lib/column/style/style.css +1 -1
  111. package/lib/dynamics/index.js +1 -5
  112. package/lib/dynamics/index.min.js +1 -1
  113. package/lib/edit/index.js +1 -5
  114. package/lib/edit/index.min.js +1 -1
  115. package/lib/edit/src/hook.js +102 -248
  116. package/lib/edit/src/hook.min.js +1 -1
  117. package/lib/edit/style/style.css +1 -1
  118. package/lib/export/index.js +4 -19
  119. package/lib/export/index.min.js +1 -1
  120. package/lib/export/src/export-panel.js +38 -77
  121. package/lib/export/src/export-panel.min.js +1 -1
  122. package/lib/export/src/hook.js +127 -380
  123. package/lib/export/src/hook.min.js +1 -1
  124. package/lib/export/src/import-panel.js +17 -39
  125. package/lib/export/src/import-panel.min.js +1 -1
  126. package/lib/export/src/util.js +10 -52
  127. package/lib/export/src/util.min.js +1 -1
  128. package/lib/export/style/style.css +136 -108
  129. package/lib/export/style/style.min.css +1 -1
  130. package/lib/filter/index.js +1 -10
  131. package/lib/filter/index.min.js +1 -1
  132. package/lib/filter/src/hook.js +31 -82
  133. package/lib/filter/src/hook.min.js +1 -1
  134. package/lib/filter/src/panel.js +25 -52
  135. package/lib/filter/src/panel.min.js +1 -1
  136. package/lib/filter/style/style.css +103 -82
  137. package/lib/filter/style/style.min.css +1 -1
  138. package/lib/footer/index.js +1 -7
  139. package/lib/footer/index.min.js +1 -1
  140. package/lib/footer/src/footer.js +51 -96
  141. package/lib/footer/src/footer.min.js +1 -1
  142. package/lib/form/index.js +1 -7
  143. package/lib/form/index.min.js +1 -1
  144. package/lib/form/src/form-config-item.js +27 -56
  145. package/lib/form/src/form-config-item.min.js +1 -1
  146. package/lib/form/src/form-gather.js +3 -12
  147. package/lib/form/src/form-gather.min.js +1 -1
  148. package/lib/form/src/form-item.js +23 -52
  149. package/lib/form/src/form-item.min.js +1 -1
  150. package/lib/form/src/form.js +78 -185
  151. package/lib/form/src/form.min.js +1 -1
  152. package/lib/form/src/itemInfo.js +1 -9
  153. package/lib/form/src/render.js +7 -26
  154. package/lib/form/src/render.min.js +1 -1
  155. package/lib/form/src/util.js +4 -28
  156. package/lib/form/src/util.min.js +1 -1
  157. package/lib/form/style/style.css +201 -168
  158. package/lib/form/style/style.min.css +1 -1
  159. package/lib/form-gather/index.js +1 -7
  160. package/lib/form-gather/index.min.js +1 -1
  161. package/lib/form-gather/style/style.css +1 -1
  162. package/lib/form-item/index.js +1 -7
  163. package/lib/form-item/index.min.js +1 -1
  164. package/lib/form-item/style/style.css +1 -1
  165. package/lib/grid/index.js +1 -7
  166. package/lib/grid/index.min.js +1 -1
  167. package/lib/grid/src/grid.js +97 -315
  168. package/lib/grid/src/grid.min.js +1 -1
  169. package/lib/grid/style/style.css +61 -50
  170. package/lib/grid/style/style.min.css +1 -1
  171. package/lib/header/index.js +1 -7
  172. package/lib/header/index.min.js +1 -1
  173. package/lib/header/src/header.js +47 -87
  174. package/lib/header/src/header.min.js +1 -1
  175. package/lib/header/src/util.js +3 -14
  176. package/lib/header/src/util.min.js +1 -1
  177. package/lib/hooks/size.js +0 -2
  178. package/lib/icon/index.js +1 -7
  179. package/lib/icon/index.min.js +1 -1
  180. package/lib/icon/src/icon.js +2 -7
  181. package/lib/icon/style/iconfont.1669214286403.ttf +0 -0
  182. package/lib/icon/style/iconfont.1669214286403.woff +0 -0
  183. package/lib/icon/style/iconfont.1669214286403.woff2 +0 -0
  184. package/lib/icon/style/style.css +372 -195
  185. package/lib/icon/style/style.min.css +719 -1
  186. package/lib/iconfont.1669214286403.ttf +0 -0
  187. package/lib/iconfont.1669214286403.woff +0 -0
  188. package/lib/iconfont.1669214286403.woff2 +0 -0
  189. package/lib/index.common.js +3 -10
  190. package/lib/index.common.min.js +1 -1
  191. package/lib/index.umd.js +14466 -23839
  192. package/lib/index.umd.min.js +1 -1
  193. package/lib/input/index.js +1 -7
  194. package/lib/input/index.min.js +1 -1
  195. package/lib/input/src/date.js +0 -10
  196. package/lib/input/src/date.min.js +1 -1
  197. package/lib/input/src/input.js +217 -553
  198. package/lib/input/src/input.min.js +1 -1
  199. package/lib/input/src/number.js +0 -5
  200. package/lib/input/style/style.css +771 -595
  201. package/lib/input/style/style.min.css +1 -1
  202. package/lib/keyboard/index.js +1 -5
  203. package/lib/keyboard/index.min.js +1 -1
  204. package/lib/keyboard/src/hook.js +40 -106
  205. package/lib/keyboard/src/hook.min.js +1 -1
  206. package/lib/keyboard/style/style.css +1 -1
  207. package/lib/list/index.js +1 -7
  208. package/lib/list/index.min.js +1 -1
  209. package/lib/list/src/list.js +39 -91
  210. package/lib/list/src/list.min.js +1 -1
  211. package/lib/list/style/style.css +19 -14
  212. package/lib/loading/index.js +1 -4
  213. package/lib/loading/index.min.js +1 -1
  214. package/lib/loading/src/loading.js +1 -6
  215. package/lib/loading/style/style.css +52 -48
  216. package/lib/loading/style/style.min.css +1 -1
  217. package/lib/locale/lang/zh-HK.js +0 -3
  218. package/lib/locale/lang/zh-MO.js +0 -3
  219. package/lib/locale/lang/zh-TW.js +0 -3
  220. package/lib/menu/index.js +1 -10
  221. package/lib/menu/index.min.js +1 -1
  222. package/lib/menu/src/hooks.js +45 -109
  223. package/lib/menu/src/hooks.min.js +1 -1
  224. package/lib/menu/src/panel.js +10 -19
  225. package/lib/menu/src/panel.min.js +1 -1
  226. package/lib/menu/style/style.css +79 -59
  227. package/lib/menu/style/style.min.css +1 -1
  228. package/lib/modal/index.js +5 -36
  229. package/lib/modal/index.min.js +1 -1
  230. package/lib/modal/src/modal.js +128 -315
  231. package/lib/modal/src/modal.min.js +1 -1
  232. package/lib/modal/style/style.css +311 -247
  233. package/lib/modal/style/style.min.css +1 -1
  234. package/lib/optgroup/index.js +1 -7
  235. package/lib/optgroup/index.min.js +1 -1
  236. package/lib/optgroup/style/style.css +1 -1
  237. package/lib/option/index.js +1 -7
  238. package/lib/option/index.min.js +1 -1
  239. package/lib/option/style/style.css +1 -1
  240. package/lib/pager/index.js +1 -7
  241. package/lib/pager/index.min.js +1 -1
  242. package/lib/pager/src/pager.js +74 -151
  243. package/lib/pager/src/pager.min.js +1 -1
  244. package/lib/pager/style/style.css +307 -257
  245. package/lib/pager/style/style.min.css +1 -1
  246. package/lib/pulldown/index.js +1 -7
  247. package/lib/pulldown/index.min.js +1 -1
  248. package/lib/pulldown/src/pulldown.js +46 -90
  249. package/lib/pulldown/src/pulldown.min.js +1 -1
  250. package/lib/pulldown/style/style.css +42 -31
  251. package/lib/pulldown/style/style.min.css +1 -1
  252. package/lib/radio/index.js +1 -7
  253. package/lib/radio/index.min.js +1 -1
  254. package/lib/radio/src/button.js +14 -32
  255. package/lib/radio/src/button.min.js +1 -1
  256. package/lib/radio/src/group.js +11 -22
  257. package/lib/radio/src/group.min.js +1 -1
  258. package/lib/radio/src/radio.js +15 -34
  259. package/lib/radio/src/radio.min.js +1 -1
  260. package/lib/radio/style/style.css +184 -151
  261. package/lib/radio/style/style.min.css +1 -1
  262. package/lib/radio-button/index.js +1 -7
  263. package/lib/radio-button/index.min.js +1 -1
  264. package/lib/radio-button/style/style.css +1 -1
  265. package/lib/radio-group/index.js +1 -7
  266. package/lib/radio-group/index.min.js +1 -1
  267. package/lib/radio-group/style/style.css +1 -1
  268. package/lib/select/index.js +1 -7
  269. package/lib/select/index.min.js +1 -1
  270. package/lib/select/src/optgroup.js +1 -5
  271. package/lib/select/src/option.js +1 -5
  272. package/lib/select/src/optionInfo.js +1 -9
  273. package/lib/select/src/select.js +103 -256
  274. package/lib/select/src/select.min.js +1 -1
  275. package/lib/select/src/util.js +0 -13
  276. package/lib/select/src/util.min.js +1 -1
  277. package/lib/select/style/style.css +108 -79
  278. package/lib/select/style/style.min.css +1 -1
  279. package/lib/style.css +1 -1
  280. package/lib/style.min.css +1 -1
  281. package/lib/switch/index.js +1 -7
  282. package/lib/switch/index.min.js +1 -1
  283. package/lib/switch/src/switch.js +16 -35
  284. package/lib/switch/src/switch.min.js +1 -1
  285. package/lib/switch/style/style.css +87 -67
  286. package/lib/switch/style/style.min.css +1 -1
  287. package/lib/table/index.js +1 -7
  288. package/lib/table/index.min.js +1 -1
  289. package/lib/table/src/body.js +143 -262
  290. package/lib/table/src/body.min.js +1 -1
  291. package/lib/table/src/cell.js +138 -259
  292. package/lib/table/src/cell.min.js +1 -1
  293. package/lib/table/src/column.js +4 -13
  294. package/lib/table/src/column.min.js +1 -1
  295. package/lib/table/src/columnInfo.js +6 -35
  296. package/lib/table/src/columnInfo.min.js +1 -1
  297. package/lib/table/src/group.js +2 -15
  298. package/lib/table/src/group.min.js +1 -1
  299. package/lib/table/src/props.js +25 -29
  300. package/lib/table/src/props.min.js +1 -1
  301. package/lib/table/src/table.js +650 -1593
  302. package/lib/table/src/table.min.js +1 -1
  303. package/lib/table/src/util.js +32 -102
  304. package/lib/table/src/util.min.js +1 -1
  305. package/lib/table/style/style.css +1025 -835
  306. package/lib/table/style/style.min.css +1 -1
  307. package/lib/textarea/index.js +1 -7
  308. package/lib/textarea/index.min.js +1 -1
  309. package/lib/textarea/src/textarea.js +31 -71
  310. package/lib/textarea/src/textarea.min.js +1 -1
  311. package/lib/textarea/style/style.css +57 -41
  312. package/lib/textarea/style/style.min.css +1 -1
  313. package/lib/toolbar/index.js +1 -7
  314. package/lib/toolbar/index.min.js +1 -1
  315. package/lib/toolbar/src/toolbar.js +60 -167
  316. package/lib/toolbar/src/toolbar.min.js +1 -1
  317. package/lib/toolbar/style/style.css +216 -174
  318. package/lib/toolbar/style/style.min.css +1 -1
  319. package/lib/tools/dom.js +6 -48
  320. package/lib/tools/dom.min.js +1 -1
  321. package/lib/tools/event.js +8 -20
  322. package/lib/tools/event.min.js +1 -1
  323. package/lib/tools/log.js +1 -6
  324. package/lib/tools/log.min.js +1 -1
  325. package/lib/tools/resize.js +3 -27
  326. package/lib/tools/utils.js +0 -16
  327. package/lib/tools/utils.min.js +1 -1
  328. package/lib/tools/vn.js +0 -5
  329. package/lib/tooltip/index.js +1 -8
  330. package/lib/tooltip/index.min.js +1 -1
  331. package/lib/tooltip/src/tooltip.js +47 -111
  332. package/lib/tooltip/src/tooltip.min.js +1 -1
  333. package/lib/tooltip/style/style.css +87 -63
  334. package/lib/v-x-e-table/index.js +13 -44
  335. package/lib/v-x-e-table/index.min.js +1 -1
  336. package/lib/v-x-e-table/src/commands.js +0 -4
  337. package/lib/v-x-e-table/src/conf.js +31 -19
  338. package/lib/v-x-e-table/src/formats.js +0 -4
  339. package/lib/v-x-e-table/src/hooks.js +0 -3
  340. package/lib/v-x-e-table/src/interceptor.js +6 -18
  341. package/lib/v-x-e-table/src/interceptor.min.js +1 -1
  342. package/lib/v-x-e-table/src/menus.js +0 -4
  343. package/lib/v-x-e-table/src/renderer.js +66 -199
  344. package/lib/v-x-e-table/src/renderer.min.js +1 -1
  345. package/lib/v-x-e-table/src/setup.js +1 -6
  346. package/lib/v-x-e-table/src/store.js +3 -19
  347. package/lib/v-x-e-table/style/style.css +424 -243
  348. package/lib/v-x-e-table/style/style.min.css +1 -1
  349. package/lib/validator/index.js +1 -5
  350. package/lib/validator/index.min.js +1 -1
  351. package/lib/validator/src/hook.js +50 -116
  352. package/lib/validator/src/hook.min.js +1 -1
  353. package/lib/validator/style/style.css +1 -1
  354. package/lib/vxe-button/index.js +3 -10
  355. package/lib/vxe-button/index.min.js +1 -1
  356. package/lib/vxe-button/style/style.css +465 -341
  357. package/lib/vxe-button/style/style.min.css +1 -1
  358. package/lib/vxe-checkbox/index.js +3 -10
  359. package/lib/vxe-checkbox/index.min.js +1 -1
  360. package/lib/vxe-checkbox/style/style.css +156 -127
  361. package/lib/vxe-checkbox/style/style.min.css +1 -1
  362. package/lib/vxe-checkbox-group/index.js +3 -10
  363. package/lib/vxe-checkbox-group/index.min.js +1 -1
  364. package/lib/vxe-checkbox-group/style/style.css +1 -1
  365. package/lib/vxe-colgroup/index.js +3 -10
  366. package/lib/vxe-colgroup/index.min.js +1 -1
  367. package/lib/vxe-colgroup/style/style.css +1 -1
  368. package/lib/vxe-column/index.js +3 -10
  369. package/lib/vxe-column/index.min.js +1 -1
  370. package/lib/vxe-column/style/style.css +1 -1
  371. package/lib/vxe-form/index.js +3 -10
  372. package/lib/vxe-form/index.min.js +1 -1
  373. package/lib/vxe-form/style/style.css +201 -168
  374. package/lib/vxe-form/style/style.min.css +1 -1
  375. package/lib/vxe-form-gather/index.js +3 -10
  376. package/lib/vxe-form-gather/index.min.js +1 -1
  377. package/lib/vxe-form-gather/style/style.css +1 -1
  378. package/lib/vxe-form-item/index.js +3 -10
  379. package/lib/vxe-form-item/index.min.js +1 -1
  380. package/lib/vxe-form-item/style/style.css +1 -1
  381. package/lib/vxe-grid/index.js +3 -10
  382. package/lib/vxe-grid/index.min.js +1 -1
  383. package/lib/vxe-grid/style/style.css +61 -50
  384. package/lib/vxe-grid/style/style.min.css +1 -1
  385. package/lib/vxe-icon/index.js +3 -10
  386. package/lib/vxe-icon/index.min.js +1 -1
  387. package/lib/vxe-icon/style/style.css +372 -195
  388. package/lib/vxe-icon/style/style.min.css +1 -1
  389. package/lib/vxe-input/index.js +3 -10
  390. package/lib/vxe-input/index.min.js +1 -1
  391. package/lib/vxe-input/style/style.css +771 -595
  392. package/lib/vxe-input/style/style.min.css +1 -1
  393. package/lib/vxe-list/index.js +3 -10
  394. package/lib/vxe-list/index.min.js +1 -1
  395. package/lib/vxe-list/style/style.css +19 -14
  396. package/lib/vxe-loading/index.js +3 -10
  397. package/lib/vxe-loading/index.min.js +1 -1
  398. package/lib/vxe-loading/style/style.css +52 -48
  399. package/lib/vxe-loading/style/style.min.css +1 -1
  400. package/lib/vxe-modal/index.js +3 -10
  401. package/lib/vxe-modal/index.min.js +1 -1
  402. package/lib/vxe-modal/style/style.css +311 -247
  403. package/lib/vxe-modal/style/style.min.css +1 -1
  404. package/lib/vxe-module-edit/index.js +3 -10
  405. package/lib/vxe-module-edit/index.min.js +1 -1
  406. package/lib/vxe-module-edit/style/style.css +1 -1
  407. package/lib/vxe-module-export/index.js +3 -10
  408. package/lib/vxe-module-export/index.min.js +1 -1
  409. package/lib/vxe-module-export/style/style.css +136 -108
  410. package/lib/vxe-module-export/style/style.min.css +1 -1
  411. package/lib/vxe-module-filter/index.js +3 -10
  412. package/lib/vxe-module-filter/index.min.js +1 -1
  413. package/lib/vxe-module-filter/style/style.css +103 -82
  414. package/lib/vxe-module-filter/style/style.min.css +1 -1
  415. package/lib/vxe-module-keyboard/index.js +3 -10
  416. package/lib/vxe-module-keyboard/index.min.js +1 -1
  417. package/lib/vxe-module-keyboard/style/style.css +1 -1
  418. package/lib/vxe-module-menu/index.js +3 -10
  419. package/lib/vxe-module-menu/index.min.js +1 -1
  420. package/lib/vxe-module-menu/style/style.css +79 -59
  421. package/lib/vxe-module-menu/style/style.min.css +1 -1
  422. package/lib/vxe-module-validator/index.js +3 -10
  423. package/lib/vxe-module-validator/index.min.js +1 -1
  424. package/lib/vxe-module-validator/style/style.css +1 -1
  425. package/lib/vxe-optgroup/index.js +3 -10
  426. package/lib/vxe-optgroup/index.min.js +1 -1
  427. package/lib/vxe-optgroup/style/style.css +1 -1
  428. package/lib/vxe-option/index.js +3 -10
  429. package/lib/vxe-option/index.min.js +1 -1
  430. package/lib/vxe-option/style/style.css +1 -1
  431. package/lib/vxe-pager/index.js +3 -10
  432. package/lib/vxe-pager/index.min.js +1 -1
  433. package/lib/vxe-pager/style/style.css +307 -257
  434. package/lib/vxe-pager/style/style.min.css +1 -1
  435. package/lib/vxe-pulldown/index.js +3 -10
  436. package/lib/vxe-pulldown/index.min.js +1 -1
  437. package/lib/vxe-pulldown/style/style.css +42 -31
  438. package/lib/vxe-pulldown/style/style.min.css +1 -1
  439. package/lib/vxe-radio/index.js +3 -10
  440. package/lib/vxe-radio/index.min.js +1 -1
  441. package/lib/vxe-radio/style/style.css +184 -151
  442. package/lib/vxe-radio/style/style.min.css +1 -1
  443. package/lib/vxe-radio-button/index.js +3 -10
  444. package/lib/vxe-radio-button/index.min.js +1 -1
  445. package/lib/vxe-radio-button/style/style.css +1 -1
  446. package/lib/vxe-radio-group/index.js +3 -10
  447. package/lib/vxe-radio-group/index.min.js +1 -1
  448. package/lib/vxe-radio-group/style/style.css +1 -1
  449. package/lib/vxe-select/index.js +3 -10
  450. package/lib/vxe-select/index.min.js +1 -1
  451. package/lib/vxe-select/style/style.css +108 -79
  452. package/lib/vxe-select/style/style.min.css +1 -1
  453. package/lib/vxe-switch/index.js +3 -10
  454. package/lib/vxe-switch/index.min.js +1 -1
  455. package/lib/vxe-switch/style/style.css +87 -67
  456. package/lib/vxe-switch/style/style.min.css +1 -1
  457. package/lib/vxe-table/index.js +3 -10
  458. package/lib/vxe-table/index.min.js +1 -1
  459. package/lib/vxe-table/style/style.css +1025 -835
  460. package/lib/vxe-table/style/style.min.css +1 -1
  461. package/lib/vxe-textarea/index.js +3 -10
  462. package/lib/vxe-textarea/index.min.js +1 -1
  463. package/lib/vxe-textarea/style/style.css +57 -41
  464. package/lib/vxe-textarea/style/style.min.css +1 -1
  465. package/lib/vxe-toolbar/index.js +3 -10
  466. package/lib/vxe-toolbar/index.min.js +1 -1
  467. package/lib/vxe-toolbar/style/style.css +216 -174
  468. package/lib/vxe-toolbar/style/style.min.css +1 -1
  469. package/lib/vxe-tooltip/index.js +3 -10
  470. package/lib/vxe-tooltip/index.min.js +1 -1
  471. package/lib/vxe-tooltip/style/style.css +87 -63
  472. package/package.json +27 -33
  473. package/packages/export/src/hook.ts +1 -0
  474. package/packages/filter/src/hook.ts +1 -1
  475. package/packages/form/src/form.ts +5 -4
  476. package/packages/list/src/list.ts +8 -2
  477. package/packages/pulldown/src/pulldown.ts +11 -5
  478. package/packages/table/src/column.ts +2 -0
  479. package/packages/table/src/columnInfo.ts +1 -0
  480. package/packages/table/src/table.ts +95 -87
  481. package/packages/table/src/util.ts +1 -1
  482. package/styles/icon/iconfont.ttf +0 -0
  483. package/styles/icon/iconfont.woff +0 -0
  484. package/styles/icon/iconfont.woff2 +0 -0
  485. package/styles/icon.scss +10 -2
  486. package/styles/table.scss +1 -1
  487. package/styles/variable.scss +2 -2
  488. package/types/column.d.ts +6 -1
  489. package/types/list.d.ts +4 -4
  490. package/types/pulldown.d.ts +61 -61
  491. package/types/table.d.ts +11 -1
@@ -4,78 +4,59 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = exports.Cell = void 0;
7
-
8
7
  var _vue = require("vue");
9
-
10
8
  var _xeUtils = _interopRequireDefault(require("xe-utils"));
11
-
12
9
  var _conf = _interopRequireDefault(require("../../v-x-e-table/src/conf"));
13
-
14
10
  var _vXETable = require("../../v-x-e-table");
15
-
16
11
  var _utils = require("../../tools/utils");
17
-
18
12
  var _dom = require("../../tools/dom");
19
-
20
13
  var _util = require("./util");
21
-
22
14
  var _vn = require("../../tools/vn");
23
-
24
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
-
26
16
  var __assign = void 0 && (void 0).__assign || function () {
27
17
  __assign = Object.assign || function (t) {
28
18
  for (var s, i = 1, n = arguments.length; i < n; i++) {
29
19
  s = arguments[i];
30
-
31
- for (var p in s) {
32
- if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
33
- }
20
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
34
21
  }
35
-
36
22
  return t;
37
23
  };
38
-
39
24
  return __assign.apply(this, arguments);
40
25
  };
41
-
42
26
  function renderHelpIcon(params) {
43
27
  var $table = params.$table,
44
- column = params.column;
28
+ column = params.column;
45
29
  var titlePrefix = column.titlePrefix || column.titleHelp;
46
30
  return titlePrefix ? [(0, _vue.h)('i', {
47
31
  class: ['vxe-cell-help-icon', titlePrefix.icon || _conf.default.icon.TABLE_HELP],
48
- onMouseenter: function onMouseenter(evnt) {
32
+ onMouseenter: function (evnt) {
49
33
  $table.triggerHeaderHelpEvent(evnt, params);
50
34
  },
51
- onMouseleave: function onMouseleave(evnt) {
35
+ onMouseleave: function (evnt) {
52
36
  $table.handleTargetLeaveEvent(evnt);
53
37
  }
54
38
  })] : [];
55
39
  }
56
-
57
40
  function renderTitleContent(params, content) {
58
41
  var $table = params.$table,
59
- column = params.column;
42
+ column = params.column;
60
43
  var props = $table.props,
61
- internalData = $table.internalData;
44
+ internalData = $table.internalData;
62
45
  var computeTooltipOpts = $table.getComputeMaps().computeTooltipOpts;
63
46
  var allColumnHeaderOverflow = props.showHeaderOverflow;
64
47
  var type = column.type,
65
- showHeaderOverflow = column.showHeaderOverflow;
48
+ showHeaderOverflow = column.showHeaderOverflow;
66
49
  var tooltipOpts = computeTooltipOpts.value;
67
50
  var showAllTip = tooltipOpts.showAll;
68
51
  var headOverflow = _xeUtils.default.isUndefined(showHeaderOverflow) || _xeUtils.default.isNull(showHeaderOverflow) ? allColumnHeaderOverflow : showHeaderOverflow;
69
52
  var showTitle = headOverflow === 'title';
70
53
  var showTooltip = headOverflow === true || headOverflow === 'tooltip';
71
54
  var ons = {};
72
-
73
55
  if (showTitle || showTooltip || showAllTip) {
74
56
  ons.onMouseenter = function (evnt) {
75
57
  if (internalData._isResize) {
76
58
  return;
77
59
  }
78
-
79
60
  if (showTitle) {
80
61
  (0, _dom.updateCellTitle)(evnt.currentTarget, column);
81
62
  } else if (showTooltip || showAllTip) {
@@ -83,19 +64,16 @@ function renderTitleContent(params, content) {
83
64
  }
84
65
  };
85
66
  }
86
-
87
67
  if (showTooltip || showAllTip) {
88
68
  ons.onMouseleave = function (evnt) {
89
69
  if (internalData._isResize) {
90
70
  return;
91
71
  }
92
-
93
72
  if (showTooltip || showAllTip) {
94
73
  $table.handleTargetLeaveEvent(evnt);
95
74
  }
96
75
  };
97
76
  }
98
-
99
77
  return [type === 'html' && _xeUtils.default.isString(content) ? (0, _vue.h)('span', __assign({
100
78
  class: 'vxe-cell--title',
101
79
  innerHTML: content
@@ -103,54 +81,45 @@ function renderTitleContent(params, content) {
103
81
  class: 'vxe-cell--title'
104
82
  }, ons), content)];
105
83
  }
106
-
107
84
  function getFooterContent(params) {
108
85
  var $table = params.$table,
109
- column = params.column,
110
- _columnIndex = params._columnIndex,
111
- items = params.items;
86
+ column = params.column,
87
+ _columnIndex = params._columnIndex,
88
+ items = params.items;
112
89
  var slots = column.slots,
113
- editRender = column.editRender,
114
- cellRender = column.cellRender;
90
+ editRender = column.editRender,
91
+ cellRender = column.cellRender;
115
92
  var renderOpts = editRender || cellRender;
116
93
  var footerSlot = slots ? slots.footer : null;
117
-
118
94
  if (footerSlot) {
119
95
  return $table.callSlot(footerSlot, params);
120
96
  }
121
-
122
97
  if (renderOpts) {
123
98
  var compConf = _vXETable.VXETable.renderer.get(renderOpts.name);
124
-
125
99
  if (compConf && compConf.renderFooter) {
126
100
  return (0, _vn.getSlotVNs)(compConf.renderFooter(renderOpts, params));
127
101
  }
128
102
  }
129
-
130
103
  return [(0, _utils.formatText)(items[_columnIndex], 1)];
131
104
  }
132
-
133
105
  function getDefaultCellLabel(params) {
134
106
  var $table = params.$table,
135
- row = params.row,
136
- column = params.column;
107
+ row = params.row,
108
+ column = params.column;
137
109
  return (0, _utils.formatText)($table.getCellLabel(row, column), 1);
138
110
  }
139
-
140
111
  var Cell = {
141
- createColumn: function createColumn($xetable, columnOpts) {
112
+ createColumn: function ($xetable, columnOpts) {
142
113
  var type = columnOpts.type,
143
- sortable = columnOpts.sortable,
144
- filters = columnOpts.filters,
145
- editRender = columnOpts.editRender,
146
- treeNode = columnOpts.treeNode;
114
+ sortable = columnOpts.sortable,
115
+ filters = columnOpts.filters,
116
+ editRender = columnOpts.editRender,
117
+ treeNode = columnOpts.treeNode;
147
118
  var props = $xetable.props;
148
119
  var editConfig = props.editConfig;
149
-
150
120
  var _a = $xetable.getComputeMaps(),
151
- computeEditOpts = _a.computeEditOpts,
152
- computeCheckboxOpts = _a.computeCheckboxOpts;
153
-
121
+ computeEditOpts = _a.computeEditOpts,
122
+ computeCheckboxOpts = _a.computeCheckboxOpts;
154
123
  var checkboxOpts = computeCheckboxOpts.value;
155
124
  var editOpts = computeEditOpts.value;
156
125
  var renConfs = {
@@ -158,31 +127,25 @@ var Cell = {
158
127
  renderCell: treeNode ? Cell.renderTreeCell : Cell.renderDefaultCell,
159
128
  renderFooter: Cell.renderDefaultFooter
160
129
  };
161
-
162
130
  switch (type) {
163
131
  case 'seq':
164
132
  renConfs.renderHeader = Cell.renderSeqHeader;
165
133
  renConfs.renderCell = treeNode ? Cell.renderTreeIndexCell : Cell.renderSeqCell;
166
134
  break;
167
-
168
135
  case 'radio':
169
136
  renConfs.renderHeader = Cell.renderRadioHeader;
170
137
  renConfs.renderCell = treeNode ? Cell.renderTreeRadioCell : Cell.renderRadioCell;
171
138
  break;
172
-
173
139
  case 'checkbox':
174
140
  renConfs.renderHeader = Cell.renderCheckboxHeader;
175
141
  renConfs.renderCell = checkboxOpts.checkField ? treeNode ? Cell.renderTreeSelectionCellByProp : Cell.renderCheckboxCellByProp : treeNode ? Cell.renderTreeSelectionCell : Cell.renderCheckboxCell;
176
142
  break;
177
-
178
143
  case 'expand':
179
144
  renConfs.renderCell = Cell.renderExpandCell;
180
145
  renConfs.renderData = Cell.renderExpandData;
181
146
  break;
182
-
183
147
  case 'html':
184
148
  renConfs.renderCell = treeNode ? Cell.renderTreeHTMLCell : Cell.renderHTMLCell;
185
-
186
149
  if (filters && sortable) {
187
150
  renConfs.renderHeader = Cell.renderSortAndFilterHeader;
188
151
  } else if (sortable) {
@@ -190,9 +153,7 @@ var Cell = {
190
153
  } else if (filters) {
191
154
  renConfs.renderHeader = Cell.renderFilterHeader;
192
155
  }
193
-
194
156
  break;
195
-
196
157
  default:
197
158
  if (editConfig && editRender) {
198
159
  renConfs.renderHeader = Cell.renderEditHeader;
@@ -204,137 +165,119 @@ var Cell = {
204
165
  } else if (filters) {
205
166
  renConfs.renderHeader = Cell.renderFilterHeader;
206
167
  }
207
-
208
168
  }
209
-
210
169
  return (0, _util.createColumn)($xetable, columnOpts, renConfs);
211
170
  },
212
-
213
171
  /**
214
172
  * 单元格
215
173
  */
216
- renderHeaderTitle: function renderHeaderTitle(params) {
174
+ renderHeaderTitle: function (params) {
217
175
  var $table = params.$table,
218
- column = params.column;
176
+ column = params.column;
219
177
  var slots = column.slots,
220
- editRender = column.editRender,
221
- cellRender = column.cellRender;
178
+ editRender = column.editRender,
179
+ cellRender = column.cellRender;
222
180
  var renderOpts = editRender || cellRender;
223
181
  var headerSlot = slots ? slots.header : null;
224
-
225
182
  if (headerSlot) {
226
183
  return renderTitleContent(params, $table.callSlot(headerSlot, params));
227
184
  }
228
-
229
185
  if (renderOpts) {
230
186
  var compConf = _vXETable.VXETable.renderer.get(renderOpts.name);
231
-
232
187
  if (compConf && compConf.renderHeader) {
233
188
  return renderTitleContent(params, (0, _vn.getSlotVNs)(compConf.renderHeader(renderOpts, params)));
234
189
  }
235
190
  }
236
-
237
191
  return renderTitleContent(params, [(0, _utils.formatText)(column.getTitle(), 1)]);
238
192
  },
239
- renderDefaultHeader: function renderDefaultHeader(params) {
193
+ renderDefaultHeader: function (params) {
240
194
  return renderHelpIcon(params).concat(Cell.renderHeaderTitle(params));
241
195
  },
242
- renderDefaultCell: function renderDefaultCell(params) {
196
+ renderDefaultCell: function (params) {
243
197
  var $table = params.$table,
244
- row = params.row,
245
- column = params.column;
198
+ row = params.row,
199
+ column = params.column;
246
200
  var slots = column.slots,
247
- editRender = column.editRender,
248
- cellRender = column.cellRender;
201
+ editRender = column.editRender,
202
+ cellRender = column.cellRender;
249
203
  var renderOpts = editRender || cellRender;
250
204
  var defaultSlot = slots ? slots.default : null;
251
-
252
205
  if (defaultSlot) {
253
206
  return $table.callSlot(defaultSlot, params);
254
207
  }
255
-
256
208
  if (renderOpts) {
257
209
  var funName = editRender ? 'renderCell' : 'renderDefault';
258
-
259
210
  var compConf = _vXETable.VXETable.renderer.get(renderOpts.name);
260
-
261
211
  var compFn = compConf ? compConf[funName] : null;
262
-
263
212
  if (compFn) {
264
213
  return (0, _vn.getSlotVNs)(compFn(renderOpts, Object.assign({
265
214
  $type: editRender ? 'edit' : 'cell'
266
215
  }, params)));
267
216
  }
268
217
  }
269
-
270
218
  var cellValue = $table.getCellLabel(row, column);
271
219
  var cellPlaceholder = editRender ? editRender.placeholder : '';
272
220
  return [(0, _vue.h)('span', {
273
221
  class: 'vxe-cell--label'
274
- }, editRender && (0, _utils.eqEmptyValue)(cellValue) ? [// 如果设置占位符
222
+ }, editRender && (0, _utils.eqEmptyValue)(cellValue) ? [
223
+ // 如果设置占位符
275
224
  (0, _vue.h)('span', {
276
225
  class: 'vxe-cell--placeholder'
277
226
  }, (0, _utils.formatText)((0, _utils.getFuncText)(cellPlaceholder), 1))] : (0, _utils.formatText)(cellValue, 1))];
278
227
  },
279
- renderTreeCell: function renderTreeCell(params) {
228
+ renderTreeCell: function (params) {
280
229
  return Cell.renderTreeIcon(params, Cell.renderDefaultCell(params));
281
230
  },
282
- renderDefaultFooter: function renderDefaultFooter(params) {
231
+ renderDefaultFooter: function (params) {
283
232
  return [(0, _vue.h)('span', {
284
233
  class: 'vxe-cell--item'
285
234
  }, getFooterContent(params))];
286
235
  },
287
-
288
236
  /**
289
237
  * 树节点
290
238
  */
291
- renderTreeIcon: function renderTreeIcon(params, cellVNodes) {
239
+ renderTreeIcon: function (params, cellVNodes) {
292
240
  var $table = params.$table,
293
- isHidden = params.isHidden;
241
+ isHidden = params.isHidden;
294
242
  var reactData = $table.reactData;
295
243
  var computeTreeOpts = $table.getComputeMaps().computeTreeOpts;
296
244
  var treeExpandeds = reactData.treeExpandeds,
297
- treeLazyLoadeds = reactData.treeLazyLoadeds;
245
+ treeLazyLoadeds = reactData.treeLazyLoadeds;
298
246
  var treeOpts = computeTreeOpts.value;
299
247
  var row = params.row,
300
- column = params.column,
301
- level = params.level;
248
+ column = params.column,
249
+ level = params.level;
302
250
  var slots = column.slots;
303
251
  var children = treeOpts.children,
304
- hasChild = treeOpts.hasChild,
305
- indent = treeOpts.indent,
306
- lazy = treeOpts.lazy,
307
- trigger = treeOpts.trigger,
308
- iconLoaded = treeOpts.iconLoaded,
309
- showIcon = treeOpts.showIcon,
310
- iconOpen = treeOpts.iconOpen,
311
- iconClose = treeOpts.iconClose;
252
+ hasChild = treeOpts.hasChild,
253
+ indent = treeOpts.indent,
254
+ lazy = treeOpts.lazy,
255
+ trigger = treeOpts.trigger,
256
+ iconLoaded = treeOpts.iconLoaded,
257
+ showIcon = treeOpts.showIcon,
258
+ iconOpen = treeOpts.iconOpen,
259
+ iconClose = treeOpts.iconClose;
312
260
  var rowChilds = row[children];
313
261
  var iconSlot = slots ? slots.icon : null;
314
262
  var hasLazyChilds = false;
315
263
  var isAceived = false;
316
264
  var isLazyLoaded = false;
317
265
  var ons = {};
318
-
319
266
  if (iconSlot) {
320
267
  return $table.callSlot(iconSlot, params);
321
268
  }
322
-
323
269
  if (!isHidden) {
324
270
  isAceived = $table.findRowIndexOf(treeExpandeds, row) > -1;
325
-
326
271
  if (lazy) {
327
272
  isLazyLoaded = $table.findRowIndexOf(treeLazyLoadeds, row) > -1;
328
273
  hasLazyChilds = row[hasChild];
329
274
  }
330
275
  }
331
-
332
276
  if (!trigger || trigger === 'default') {
333
277
  ons.onClick = function (evnt) {
334
278
  return $table.triggerTreeExpandEvent(evnt, params);
335
279
  };
336
280
  }
337
-
338
281
  return [(0, _vue.h)('div', {
339
282
  class: ['vxe-cell--tree-node', {
340
283
  'is--active': isAceived
@@ -350,45 +293,41 @@ var Cell = {
350
293
  class: 'vxe-tree-cell'
351
294
  }, cellVNodes)])];
352
295
  },
353
-
354
296
  /**
355
297
  * 索引
356
298
  */
357
- renderSeqHeader: function renderSeqHeader(params) {
299
+ renderSeqHeader: function (params) {
358
300
  var $table = params.$table,
359
- column = params.column;
301
+ column = params.column;
360
302
  var slots = column.slots;
361
303
  var headerSlot = slots ? slots.header : null;
362
304
  return renderTitleContent(params, headerSlot ? $table.callSlot(headerSlot, params) : [(0, _utils.formatText)(column.getTitle(), 1)]);
363
305
  },
364
- renderSeqCell: function renderSeqCell(params) {
306
+ renderSeqCell: function (params) {
365
307
  var $table = params.$table,
366
- column = params.column;
308
+ column = params.column;
367
309
  var props = $table.props;
368
310
  var treeConfig = props.treeConfig;
369
311
  var computeSeqOpts = $table.getComputeMaps().computeSeqOpts;
370
312
  var seqOpts = computeSeqOpts.value;
371
313
  var slots = column.slots;
372
314
  var defaultSlot = slots ? slots.default : null;
373
-
374
315
  if (defaultSlot) {
375
316
  return $table.callSlot(defaultSlot, params);
376
317
  }
377
-
378
318
  var seq = params.seq;
379
319
  var seqMethod = seqOpts.seqMethod;
380
320
  return [(0, _utils.formatText)(seqMethod ? seqMethod(params) : treeConfig ? seq : (seqOpts.startIndex || 0) + seq, 1)];
381
321
  },
382
- renderTreeIndexCell: function renderTreeIndexCell(params) {
322
+ renderTreeIndexCell: function (params) {
383
323
  return Cell.renderTreeIcon(params, Cell.renderSeqCell(params));
384
324
  },
385
-
386
325
  /**
387
326
  * 单选
388
327
  */
389
- renderRadioHeader: function renderRadioHeader(params) {
328
+ renderRadioHeader: function (params) {
390
329
  var $table = params.$table,
391
- column = params.column;
330
+ column = params.column;
392
331
  var slots = column.slots;
393
332
  var headerSlot = slots ? slots.header : null;
394
333
  var titleSlot = slots ? slots.title : null;
@@ -396,18 +335,18 @@ var Cell = {
396
335
  class: 'vxe-radio--label'
397
336
  }, titleSlot ? $table.callSlot(titleSlot, params) : (0, _utils.formatText)(column.getTitle(), 1))]);
398
337
  },
399
- renderRadioCell: function renderRadioCell(params) {
338
+ renderRadioCell: function (params) {
400
339
  var $table = params.$table,
401
- column = params.column,
402
- isHidden = params.isHidden;
340
+ column = params.column,
341
+ isHidden = params.isHidden;
403
342
  var reactData = $table.reactData;
404
343
  var computeRadioOpts = $table.getComputeMaps().computeRadioOpts;
405
344
  var selectRow = reactData.selectRow;
406
345
  var radioOpts = computeRadioOpts.value;
407
346
  var slots = column.slots;
408
347
  var labelField = radioOpts.labelField,
409
- checkMethod = radioOpts.checkMethod,
410
- visibleMethod = radioOpts.visibleMethod;
348
+ checkMethod = radioOpts.checkMethod,
349
+ visibleMethod = radioOpts.visibleMethod;
411
350
  var row = params.row;
412
351
  var defaultSlot = slots ? slots.default : null;
413
352
  var radioSlot = slots ? slots.radio : null;
@@ -417,47 +356,39 @@ var Cell = {
417
356
  });
418
357
  var isDisabled = !!checkMethod;
419
358
  var ons;
420
-
421
359
  if (!isHidden) {
422
360
  ons = {
423
- onClick: function onClick(evnt) {
361
+ onClick: function (evnt) {
424
362
  if (!isDisabled && isVisible) {
425
363
  $table.triggerRadioRowEvent(evnt, params);
426
364
  }
427
365
  }
428
366
  };
429
-
430
367
  if (checkMethod) {
431
368
  isDisabled = !checkMethod({
432
369
  row: row
433
370
  });
434
371
  }
435
372
  }
436
-
437
373
  var radioParams = __assign(__assign({}, params), {
438
374
  checked: isChecked,
439
375
  disabled: isDisabled,
440
376
  visible: isVisible
441
377
  });
442
-
443
378
  if (radioSlot) {
444
379
  return $table.callSlot(radioSlot, radioParams);
445
380
  }
446
-
447
381
  var radioVNs = [];
448
-
449
382
  if (isVisible) {
450
383
  radioVNs.push((0, _vue.h)('span', {
451
384
  class: ['vxe-radio--icon', isChecked ? _conf.default.icon.TABLE_RADIO_CHECKED : _conf.default.icon.TABLE_RADIO_UNCHECKED]
452
385
  }));
453
386
  }
454
-
455
387
  if (defaultSlot || labelField) {
456
388
  radioVNs.push((0, _vue.h)('span', {
457
389
  class: 'vxe-radio--label'
458
390
  }, defaultSlot ? $table.callSlot(defaultSlot, radioParams) : _xeUtils.default.get(row, labelField)));
459
391
  }
460
-
461
392
  return [(0, _vue.h)('span', __assign({
462
393
  class: ['vxe-cell--radio', {
463
394
  'is--checked': isChecked,
@@ -465,25 +396,22 @@ var Cell = {
465
396
  }]
466
397
  }, ons), radioVNs)];
467
398
  },
468
- renderTreeRadioCell: function renderTreeRadioCell(params) {
399
+ renderTreeRadioCell: function (params) {
469
400
  return Cell.renderTreeIcon(params, Cell.renderRadioCell(params));
470
401
  },
471
-
472
402
  /**
473
403
  * 多选
474
404
  */
475
- renderCheckboxHeader: function renderCheckboxHeader(params) {
405
+ renderCheckboxHeader: function (params) {
476
406
  var $table = params.$table,
477
- column = params.column,
478
- isHidden = params.isHidden;
407
+ column = params.column,
408
+ isHidden = params.isHidden;
479
409
  var reactData = $table.reactData;
480
-
481
410
  var _a = $table.getComputeMaps(),
482
- computeIsAllCheckboxDisabled = _a.computeIsAllCheckboxDisabled,
483
- computeCheckboxOpts = _a.computeCheckboxOpts;
484
-
411
+ computeIsAllCheckboxDisabled = _a.computeIsAllCheckboxDisabled,
412
+ computeCheckboxOpts = _a.computeCheckboxOpts;
485
413
  var isAllCheckboxSelected = reactData.isAllSelected,
486
- isAllCheckboxIndeterminate = reactData.isIndeterminate;
414
+ isAllCheckboxIndeterminate = reactData.isIndeterminate;
487
415
  var isAllCheckboxDisabled = computeIsAllCheckboxDisabled.value;
488
416
  var slots = column.slots;
489
417
  var headerSlot = slots ? slots.header : null;
@@ -491,33 +419,28 @@ var Cell = {
491
419
  var checkboxOpts = computeCheckboxOpts.value;
492
420
  var headerTitle = column.getTitle();
493
421
  var ons;
494
-
495
422
  if (!isHidden) {
496
423
  ons = {
497
- onClick: function onClick(evnt) {
424
+ onClick: function (evnt) {
498
425
  if (!isAllCheckboxDisabled) {
499
426
  $table.triggerCheckAllEvent(evnt, !isAllCheckboxSelected);
500
427
  }
501
428
  }
502
429
  };
503
430
  }
504
-
505
431
  var checkboxParams = __assign(__assign({}, params), {
506
432
  checked: isAllCheckboxSelected,
507
433
  disabled: isAllCheckboxDisabled,
508
434
  indeterminate: isAllCheckboxIndeterminate
509
435
  });
510
-
511
436
  if (headerSlot) {
512
437
  return renderTitleContent(checkboxParams, $table.callSlot(headerSlot, checkboxParams));
513
438
  }
514
-
515
439
  if (checkboxOpts.checkStrictly ? !checkboxOpts.showHeader : checkboxOpts.showHeader === false) {
516
440
  return renderTitleContent(checkboxParams, [(0, _vue.h)('span', {
517
441
  class: 'vxe-checkbox--label'
518
442
  }, titleSlot ? $table.callSlot(titleSlot, checkboxParams) : headerTitle)]);
519
443
  }
520
-
521
444
  return renderTitleContent(checkboxParams, [(0, _vue.h)('span', __assign({
522
445
  class: ['vxe-cell--checkbox', {
523
446
  'is--checked': isAllCheckboxSelected,
@@ -531,21 +454,21 @@ var Cell = {
531
454
  class: 'vxe-checkbox--label'
532
455
  }, titleSlot ? $table.callSlot(titleSlot, checkboxParams) : headerTitle)] : []))]);
533
456
  },
534
- renderCheckboxCell: function renderCheckboxCell(params) {
457
+ renderCheckboxCell: function (params) {
535
458
  var $table = params.$table,
536
- row = params.row,
537
- column = params.column,
538
- isHidden = params.isHidden;
459
+ row = params.row,
460
+ column = params.column,
461
+ isHidden = params.isHidden;
539
462
  var props = $table.props,
540
- reactData = $table.reactData;
463
+ reactData = $table.reactData;
541
464
  var treeConfig = props.treeConfig;
542
465
  var selection = reactData.selection,
543
- treeIndeterminates = reactData.treeIndeterminates;
466
+ treeIndeterminates = reactData.treeIndeterminates;
544
467
  var computeCheckboxOpts = $table.getComputeMaps().computeCheckboxOpts;
545
468
  var checkboxOpts = computeCheckboxOpts.value;
546
469
  var labelField = checkboxOpts.labelField,
547
- checkMethod = checkboxOpts.checkMethod,
548
- visibleMethod = checkboxOpts.visibleMethod;
470
+ checkMethod = checkboxOpts.checkMethod,
471
+ visibleMethod = checkboxOpts.visibleMethod;
549
472
  var slots = column.slots;
550
473
  var defaultSlot = slots ? slots.default : null;
551
474
  var checkboxSlot = slots ? slots.checkbox : null;
@@ -556,53 +479,44 @@ var Cell = {
556
479
  });
557
480
  var isDisabled = !!checkMethod;
558
481
  var ons;
559
-
560
482
  if (!isHidden) {
561
483
  isChecked = $table.findRowIndexOf(selection, row) > -1;
562
484
  ons = {
563
- onClick: function onClick(evnt) {
485
+ onClick: function (evnt) {
564
486
  if (!isDisabled && isVisible) {
565
487
  $table.triggerCheckRowEvent(evnt, params, !isChecked);
566
488
  }
567
489
  }
568
490
  };
569
-
570
491
  if (checkMethod) {
571
492
  isDisabled = !checkMethod({
572
493
  row: row
573
494
  });
574
495
  }
575
-
576
496
  if (treeConfig) {
577
497
  indeterminate = $table.findRowIndexOf(treeIndeterminates, row) > -1;
578
498
  }
579
499
  }
580
-
581
500
  var checkboxParams = __assign(__assign({}, params), {
582
501
  checked: isChecked,
583
502
  disabled: isDisabled,
584
503
  visible: isVisible,
585
504
  indeterminate: indeterminate
586
505
  });
587
-
588
506
  if (checkboxSlot) {
589
507
  return $table.callSlot(checkboxSlot, checkboxParams);
590
508
  }
591
-
592
509
  var checkVNs = [];
593
-
594
510
  if (isVisible) {
595
511
  checkVNs.push((0, _vue.h)('span', {
596
512
  class: ['vxe-checkbox--icon', indeterminate ? _conf.default.icon.TABLE_CHECKBOX_INDETERMINATE : isChecked ? _conf.default.icon.TABLE_CHECKBOX_CHECKED : _conf.default.icon.TABLE_CHECKBOX_UNCHECKED]
597
513
  }));
598
514
  }
599
-
600
515
  if (defaultSlot || labelField) {
601
516
  checkVNs.push((0, _vue.h)('span', {
602
517
  class: 'vxe-checkbox--label'
603
518
  }, defaultSlot ? $table.callSlot(defaultSlot, checkboxParams) : _xeUtils.default.get(row, labelField)));
604
519
  }
605
-
606
520
  return [(0, _vue.h)('span', __assign({
607
521
  class: ['vxe-cell--checkbox', {
608
522
  'is--checked': isChecked,
@@ -611,25 +525,25 @@ var Cell = {
611
525
  }]
612
526
  }, ons), checkVNs)];
613
527
  },
614
- renderTreeSelectionCell: function renderTreeSelectionCell(params) {
528
+ renderTreeSelectionCell: function (params) {
615
529
  return Cell.renderTreeIcon(params, Cell.renderCheckboxCell(params));
616
530
  },
617
- renderCheckboxCellByProp: function renderCheckboxCellByProp(params) {
531
+ renderCheckboxCellByProp: function (params) {
618
532
  var $table = params.$table,
619
- row = params.row,
620
- column = params.column,
621
- isHidden = params.isHidden;
533
+ row = params.row,
534
+ column = params.column,
535
+ isHidden = params.isHidden;
622
536
  var props = $table.props,
623
- reactData = $table.reactData;
537
+ reactData = $table.reactData;
624
538
  var treeConfig = props.treeConfig;
625
539
  var treeIndeterminates = reactData.treeIndeterminates;
626
540
  var computeCheckboxOpts = $table.getComputeMaps().computeCheckboxOpts;
627
541
  var checkboxOpts = computeCheckboxOpts.value;
628
542
  var labelField = checkboxOpts.labelField,
629
- checkField = checkboxOpts.checkField,
630
- halfField = checkboxOpts.halfField,
631
- checkMethod = checkboxOpts.checkMethod,
632
- visibleMethod = checkboxOpts.visibleMethod;
543
+ checkField = checkboxOpts.checkField,
544
+ halfField = checkboxOpts.halfField,
545
+ checkMethod = checkboxOpts.checkMethod,
546
+ visibleMethod = checkboxOpts.visibleMethod;
633
547
  var slots = column.slots;
634
548
  var defaultSlot = slots ? slots.default : null;
635
549
  var checkboxSlot = slots ? slots.checkbox : null;
@@ -640,53 +554,44 @@ var Cell = {
640
554
  });
641
555
  var isDisabled = !!checkMethod;
642
556
  var ons;
643
-
644
557
  if (!isHidden) {
645
558
  isChecked = _xeUtils.default.get(row, checkField);
646
559
  ons = {
647
- onClick: function onClick(evnt) {
560
+ onClick: function (evnt) {
648
561
  if (!isDisabled && isVisible) {
649
562
  $table.triggerCheckRowEvent(evnt, params, !isChecked);
650
563
  }
651
564
  }
652
565
  };
653
-
654
566
  if (checkMethod) {
655
567
  isDisabled = !checkMethod({
656
568
  row: row
657
569
  });
658
570
  }
659
-
660
571
  if (treeConfig) {
661
572
  indeterminate = $table.findRowIndexOf(treeIndeterminates, row) > -1;
662
573
  }
663
574
  }
664
-
665
575
  var checkboxParams = __assign(__assign({}, params), {
666
576
  checked: isChecked,
667
577
  disabled: isDisabled,
668
578
  visible: isVisible,
669
579
  indeterminate: indeterminate
670
580
  });
671
-
672
581
  if (checkboxSlot) {
673
582
  return $table.callSlot(checkboxSlot, checkboxParams);
674
583
  }
675
-
676
584
  var checkVNs = [];
677
-
678
585
  if (isVisible) {
679
586
  checkVNs.push((0, _vue.h)('span', {
680
587
  class: ['vxe-checkbox--icon', indeterminate ? _conf.default.icon.TABLE_CHECKBOX_INDETERMINATE : isChecked ? _conf.default.icon.TABLE_CHECKBOX_CHECKED : _conf.default.icon.TABLE_CHECKBOX_UNCHECKED]
681
588
  }));
682
-
683
589
  if (defaultSlot || labelField) {
684
590
  checkVNs.push((0, _vue.h)('span', {
685
591
  class: 'vxe-checkbox--label'
686
592
  }, defaultSlot ? $table.callSlot(defaultSlot, checkboxParams) : _xeUtils.default.get(row, labelField)));
687
593
  }
688
594
  }
689
-
690
595
  return [(0, _vue.h)('span', __assign({
691
596
  class: ['vxe-cell--checkbox', {
692
597
  'is--checked': isChecked,
@@ -695,53 +600,48 @@ var Cell = {
695
600
  }]
696
601
  }, ons), checkVNs)];
697
602
  },
698
- renderTreeSelectionCellByProp: function renderTreeSelectionCellByProp(params) {
603
+ renderTreeSelectionCellByProp: function (params) {
699
604
  return Cell.renderTreeIcon(params, Cell.renderCheckboxCellByProp(params));
700
605
  },
701
-
702
606
  /**
703
607
  * 展开行
704
608
  */
705
- renderExpandCell: function renderExpandCell(params) {
609
+ renderExpandCell: function (params) {
706
610
  var $table = params.$table,
707
- isHidden = params.isHidden,
708
- row = params.row,
709
- column = params.column;
611
+ isHidden = params.isHidden,
612
+ row = params.row,
613
+ column = params.column;
710
614
  var reactData = $table.reactData;
711
615
  var rowExpandeds = reactData.rowExpandeds,
712
- expandLazyLoadeds = reactData.expandLazyLoadeds;
616
+ expandLazyLoadeds = reactData.expandLazyLoadeds;
713
617
  var computeExpandOpts = $table.getComputeMaps().computeExpandOpts;
714
618
  var expandOpts = computeExpandOpts.value;
715
619
  var lazy = expandOpts.lazy,
716
- labelField = expandOpts.labelField,
717
- iconLoaded = expandOpts.iconLoaded,
718
- showIcon = expandOpts.showIcon,
719
- iconOpen = expandOpts.iconOpen,
720
- iconClose = expandOpts.iconClose,
721
- visibleMethod = expandOpts.visibleMethod;
620
+ labelField = expandOpts.labelField,
621
+ iconLoaded = expandOpts.iconLoaded,
622
+ showIcon = expandOpts.showIcon,
623
+ iconOpen = expandOpts.iconOpen,
624
+ iconClose = expandOpts.iconClose,
625
+ visibleMethod = expandOpts.visibleMethod;
722
626
  var slots = column.slots;
723
627
  var defaultSlot = slots ? slots.default : null;
724
628
  var iconSlot = slots ? slots.icon : null;
725
629
  var isAceived = false;
726
630
  var isLazyLoaded = false;
727
-
728
631
  if (iconSlot) {
729
632
  return $table.callSlot(iconSlot, params);
730
633
  }
731
-
732
634
  if (!isHidden) {
733
635
  isAceived = $table.findRowIndexOf(rowExpandeds, params.row) > -1;
734
-
735
636
  if (lazy) {
736
637
  isLazyLoaded = $table.findRowIndexOf(expandLazyLoadeds, row) > -1;
737
638
  }
738
639
  }
739
-
740
640
  return [showIcon && (!visibleMethod || visibleMethod(params)) ? (0, _vue.h)('span', {
741
641
  class: ['vxe-table--expanded', {
742
642
  'is--active': isAceived
743
643
  }],
744
- onClick: function onClick(evnt) {
644
+ onClick: function (evnt) {
745
645
  $table.triggerRowExpandEvent(evnt, params);
746
646
  }
747
647
  }, [(0, _vue.h)('i', {
@@ -750,71 +650,62 @@ var Cell = {
750
650
  class: 'vxe-table--expand-label'
751
651
  }, defaultSlot ? $table.callSlot(defaultSlot, params) : _xeUtils.default.get(row, labelField)) : null];
752
652
  },
753
- renderExpandData: function renderExpandData(params) {
653
+ renderExpandData: function (params) {
754
654
  var $table = params.$table,
755
- column = params.column;
655
+ column = params.column;
756
656
  var slots = column.slots,
757
- contentRender = column.contentRender;
657
+ contentRender = column.contentRender;
758
658
  var contentSlot = slots ? slots.content : null;
759
-
760
659
  if (contentSlot) {
761
660
  return $table.callSlot(contentSlot, params);
762
661
  }
763
-
764
662
  if (contentRender) {
765
663
  var compConf = _vXETable.VXETable.renderer.get(contentRender.name);
766
-
767
664
  if (compConf && compConf.renderExpand) {
768
665
  return (0, _vn.getSlotVNs)(compConf.renderExpand(contentRender, params));
769
666
  }
770
667
  }
771
-
772
668
  return [];
773
669
  },
774
-
775
670
  /**
776
671
  * HTML 标签
777
672
  */
778
- renderHTMLCell: function renderHTMLCell(params) {
673
+ renderHTMLCell: function (params) {
779
674
  var $table = params.$table,
780
- column = params.column;
675
+ column = params.column;
781
676
  var slots = column.slots;
782
677
  var defaultSlot = slots ? slots.default : null;
783
-
784
678
  if (defaultSlot) {
785
679
  return $table.callSlot(defaultSlot, params);
786
680
  }
787
-
788
681
  return [(0, _vue.h)('span', {
789
682
  class: 'vxe-cell--html',
790
683
  innerHTML: getDefaultCellLabel(params)
791
684
  })];
792
685
  },
793
- renderTreeHTMLCell: function renderTreeHTMLCell(params) {
686
+ renderTreeHTMLCell: function (params) {
794
687
  return Cell.renderTreeIcon(params, Cell.renderHTMLCell(params));
795
688
  },
796
-
797
689
  /**
798
690
  * 排序和筛选
799
691
  */
800
- renderSortAndFilterHeader: function renderSortAndFilterHeader(params) {
692
+ renderSortAndFilterHeader: function (params) {
801
693
  return Cell.renderDefaultHeader(params).concat(Cell.renderSortIcon(params)).concat(Cell.renderFilterIcon(params));
802
694
  },
803
-
804
695
  /**
805
696
  * 排序
806
697
  */
807
- renderSortHeader: function renderSortHeader(params) {
698
+ renderSortHeader: function (params) {
808
699
  return Cell.renderDefaultHeader(params).concat(Cell.renderSortIcon(params));
809
700
  },
810
- renderSortIcon: function renderSortIcon(params) {
701
+ renderSortIcon: function (params) {
811
702
  var $table = params.$table,
812
- column = params.column;
703
+ column = params.column;
813
704
  var computeSortOpts = $table.getComputeMaps().computeSortOpts;
814
705
  var sortOpts = computeSortOpts.value;
815
706
  var showIcon = sortOpts.showIcon,
816
- iconAsc = sortOpts.iconAsc,
817
- iconDesc = sortOpts.iconDesc;
707
+ iconAsc = sortOpts.iconAsc,
708
+ iconDesc = sortOpts.iconDesc;
818
709
  var order = column.order;
819
710
  return showIcon ? [(0, _vue.h)('span', {
820
711
  class: 'vxe-cell--sort'
@@ -823,7 +714,7 @@ var Cell = {
823
714
  'sort--active': order === 'asc'
824
715
  }],
825
716
  title: _conf.default.i18n('vxe.table.sortAsc'),
826
- onClick: function onClick(evnt) {
717
+ onClick: function (evnt) {
827
718
  $table.triggerSortEvent(evnt, column, 'asc');
828
719
  }
829
720
  }), (0, _vue.h)('i', {
@@ -831,29 +722,28 @@ var Cell = {
831
722
  'sort--active': order === 'desc'
832
723
  }],
833
724
  title: _conf.default.i18n('vxe.table.sortDesc'),
834
- onClick: function onClick(evnt) {
725
+ onClick: function (evnt) {
835
726
  $table.triggerSortEvent(evnt, column, 'desc');
836
727
  }
837
728
  })])] : [];
838
729
  },
839
-
840
730
  /**
841
731
  * 筛选
842
732
  */
843
- renderFilterHeader: function renderFilterHeader(params) {
733
+ renderFilterHeader: function (params) {
844
734
  return Cell.renderDefaultHeader(params).concat(Cell.renderFilterIcon(params));
845
735
  },
846
- renderFilterIcon: function renderFilterIcon(params) {
736
+ renderFilterIcon: function (params) {
847
737
  var $table = params.$table,
848
- column = params.column,
849
- hasFilter = params.hasFilter;
738
+ column = params.column,
739
+ hasFilter = params.hasFilter;
850
740
  var reactData = $table.reactData;
851
741
  var filterStore = reactData.filterStore;
852
742
  var computeFilterOpts = $table.getComputeMaps().computeFilterOpts;
853
743
  var filterOpts = computeFilterOpts.value;
854
744
  var showIcon = filterOpts.showIcon,
855
- iconNone = filterOpts.iconNone,
856
- iconMatch = filterOpts.iconMatch;
745
+ iconNone = filterOpts.iconNone,
746
+ iconMatch = filterOpts.iconMatch;
857
747
  return showIcon ? [(0, _vue.h)('span', {
858
748
  class: ['vxe-cell--filter', {
859
749
  'is--active': filterStore.visible && filterStore.column === column
@@ -861,38 +751,34 @@ var Cell = {
861
751
  }, [(0, _vue.h)('i', {
862
752
  class: ['vxe-filter--btn', hasFilter ? iconMatch || _conf.default.icon.TABLE_FILTER_MATCH : iconNone || _conf.default.icon.TABLE_FILTER_NONE],
863
753
  title: _conf.default.i18n('vxe.table.filter'),
864
- onClick: function onClick(evnt) {
754
+ onClick: function (evnt) {
865
755
  $table.triggerFilterEvent(evnt, params.column, params);
866
756
  }
867
757
  })])] : [];
868
758
  },
869
-
870
759
  /**
871
760
  * 可编辑
872
761
  */
873
- renderEditHeader: function renderEditHeader(params) {
762
+ renderEditHeader: function (params) {
874
763
  var $table = params.$table,
875
- column = params.column;
764
+ column = params.column;
876
765
  var props = $table.props;
877
766
  var computeEditOpts = $table.getComputeMaps().computeEditOpts;
878
767
  var editConfig = props.editConfig,
879
- editRules = props.editRules;
768
+ editRules = props.editRules;
880
769
  var editOpts = computeEditOpts.value;
881
770
  var sortable = column.sortable,
882
- filters = column.filters,
883
- editRender = column.editRender;
771
+ filters = column.filters,
772
+ editRender = column.editRender;
884
773
  var isRequired = false;
885
-
886
774
  if (editRules) {
887
775
  var columnRules = _xeUtils.default.get(editRules, column.field);
888
-
889
776
  if (columnRules) {
890
777
  isRequired = columnRules.some(function (rule) {
891
778
  return rule.required;
892
779
  });
893
780
  }
894
781
  }
895
-
896
782
  return ((0, _utils.isEnableConf)(editConfig) ? [isRequired && editOpts.showAsterisk ? (0, _vue.h)('i', {
897
783
  class: 'vxe-cell--required-icon'
898
784
  }) : null, (0, _utils.isEnableConf)(editRender) && editOpts.showIcon ? (0, _vue.h)('i', {
@@ -900,66 +786,59 @@ var Cell = {
900
786
  }) : null] : []).concat(Cell.renderDefaultHeader(params)).concat(sortable ? Cell.renderSortIcon(params) : []).concat(filters ? Cell.renderFilterIcon(params) : []);
901
787
  },
902
788
  // 行格编辑模式
903
- renderRowEdit: function renderRowEdit(params) {
789
+ renderRowEdit: function (params) {
904
790
  var $table = params.$table,
905
- column = params.column;
791
+ column = params.column;
906
792
  var reactData = $table.reactData;
907
793
  var editStore = reactData.editStore;
908
794
  var actived = editStore.actived;
909
795
  var editRender = column.editRender;
910
796
  return Cell.runRenderer(params, (0, _utils.isEnableConf)(editRender) && actived && actived.row === params.row);
911
797
  },
912
- renderTreeRowEdit: function renderTreeRowEdit(params) {
798
+ renderTreeRowEdit: function (params) {
913
799
  return Cell.renderTreeIcon(params, Cell.renderRowEdit(params));
914
800
  },
915
801
  // 单元格编辑模式
916
- renderCellEdit: function renderCellEdit(params) {
802
+ renderCellEdit: function (params) {
917
803
  var $table = params.$table,
918
- column = params.column;
804
+ column = params.column;
919
805
  var reactData = $table.reactData;
920
806
  var editStore = reactData.editStore;
921
807
  var actived = editStore.actived;
922
808
  var editRender = column.editRender;
923
809
  return Cell.runRenderer(params, (0, _utils.isEnableConf)(editRender) && actived && actived.row === params.row && actived.column === params.column);
924
810
  },
925
- renderTreeCellEdit: function renderTreeCellEdit(params) {
811
+ renderTreeCellEdit: function (params) {
926
812
  return Cell.renderTreeIcon(params, Cell.renderCellEdit(params));
927
813
  },
928
- runRenderer: function runRenderer(params, isEdit) {
814
+ runRenderer: function (params, isEdit) {
929
815
  var $table = params.$table,
930
- column = params.column;
816
+ column = params.column;
931
817
  var slots = column.slots,
932
- editRender = column.editRender,
933
- formatter = column.formatter;
818
+ editRender = column.editRender,
819
+ formatter = column.formatter;
934
820
  var defaultSlot = slots ? slots.default : null;
935
821
  var editSlot = slots ? slots.edit : null;
936
-
937
822
  var compConf = _vXETable.VXETable.renderer.get(editRender.name);
938
-
939
823
  if (isEdit) {
940
824
  if (editSlot) {
941
825
  return $table.callSlot(editSlot, params);
942
826
  }
943
-
944
827
  if (compConf && compConf.renderEdit) {
945
828
  return (0, _vn.getSlotVNs)(compConf.renderEdit(editRender, Object.assign({
946
829
  $type: 'edit'
947
830
  }, params)));
948
831
  }
949
-
950
832
  return [];
951
833
  }
952
-
953
834
  if (defaultSlot) {
954
835
  return $table.callSlot(defaultSlot, params);
955
836
  }
956
-
957
837
  if (formatter) {
958
838
  return [(0, _vue.h)('span', {
959
839
  class: 'vxe-cell--label'
960
840
  }, getDefaultCellLabel(params))];
961
841
  }
962
-
963
842
  return Cell.renderDefaultCell(params);
964
843
  }
965
844
  };