ele-admin-plus 1.2.1-beta.3 → 1.2.1-beta.5

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 (400) hide show
  1. package/es/core-components.d.ts +1 -0
  2. package/es/core-components.js +60 -58
  3. package/es/ele-admin-layout/components/layout-tabs.d.ts +1 -6
  4. package/es/ele-admin-layout/components/layout-tabs.js +18 -76
  5. package/es/ele-admin-layout/index.js +7 -2
  6. package/es/ele-admin-layout/types.d.ts +2 -0
  7. package/es/ele-app/el.d.ts +3 -0
  8. package/es/ele-app/plus.d.ts +21 -0
  9. package/es/ele-app/style/overwrite/css-var.scss +0 -2
  10. package/es/ele-app/style/overwrite/date-picker/index.scss +13 -11
  11. package/es/ele-app/style/overwrite/index.js +0 -1
  12. package/es/ele-app/style/overwrite/index.scss +0 -1
  13. package/es/ele-app/style/scrollbar/css-var.scss +17 -16
  14. package/es/ele-app/types.d.ts +8 -1
  15. package/es/ele-basic-select/index.d.ts +2 -2
  16. package/es/ele-bottom-bar/index.d.ts +9 -2
  17. package/es/ele-bottom-bar/index.js +37 -15
  18. package/es/ele-bottom-bar/props.d.ts +2 -0
  19. package/es/ele-bottom-bar/props.js +3 -1
  20. package/es/ele-bottom-bar/style/index.scss +5 -0
  21. package/es/ele-check-card/index.d.ts +2 -2
  22. package/es/ele-cropper/components/cropper-tools.d.ts +9 -3
  23. package/es/ele-cropper/components/cropper-tools.js +42 -14
  24. package/es/ele-cropper/index.d.ts +3 -1
  25. package/es/ele-cropper/index.js +2 -1
  26. package/es/ele-cropper/props.d.ts +3 -1
  27. package/es/ele-cropper/props.js +2 -0
  28. package/es/ele-cropper/style/index.scss +3 -2
  29. package/es/ele-cropper/types.d.ts +16 -0
  30. package/es/ele-cropper-modal/index.d.ts +3 -1
  31. package/es/ele-cropper-modal/index.js +2 -1
  32. package/es/ele-cropper-modal/props.d.ts +1 -0
  33. package/es/ele-data-table/components/table-columns.d.ts +32 -0
  34. package/es/ele-data-table/components/table-columns.js +124 -0
  35. package/es/ele-data-table/index.d.ts +327 -23
  36. package/es/ele-data-table/index.js +202 -120
  37. package/es/ele-data-table/props.d.ts +14 -18
  38. package/es/ele-data-table/style/index.scss +0 -4
  39. package/es/ele-data-table/types.d.ts +5 -2
  40. package/es/ele-data-table/util.d.ts +1 -45
  41. package/es/ele-data-table/util.js +2 -110
  42. package/es/ele-drawer/index.d.ts +9 -8
  43. package/es/ele-drawer/index.js +8 -2
  44. package/es/ele-drawer/props.d.ts +2 -2
  45. package/es/ele-dropdown/components/dropdown-menu-item.d.ts +39 -0
  46. package/es/ele-dropdown/components/dropdown-menu-item.js +132 -0
  47. package/es/ele-dropdown/components/dropdown-menus.d.ts +44 -0
  48. package/es/ele-dropdown/components/dropdown-menus.js +111 -0
  49. package/es/ele-dropdown/components/pro-dropdown.d.ts +238 -0
  50. package/es/ele-dropdown/components/pro-dropdown.js +205 -0
  51. package/es/ele-dropdown/index.d.ts +521 -33
  52. package/es/ele-dropdown/index.js +147 -66
  53. package/es/ele-dropdown/props.d.ts +109 -15
  54. package/es/ele-dropdown/props.js +54 -7
  55. package/es/ele-dropdown/style/index.js +4 -1
  56. package/es/ele-dropdown/style/index.scss +226 -7
  57. package/es/ele-dropdown/types.d.ts +2 -2
  58. package/es/ele-edit-tag/index.d.ts +2 -2
  59. package/es/ele-file-list/components/file-grid-item.d.ts +11 -20
  60. package/es/ele-file-list/components/file-grid-item.js +19 -58
  61. package/es/ele-file-list/components/file-grid.d.ts +15 -19
  62. package/es/ele-file-list/components/file-grid.js +16 -39
  63. package/es/ele-file-list/components/file-table-item.d.ts +11 -20
  64. package/es/ele-file-list/components/file-table-item.js +19 -58
  65. package/es/ele-file-list/components/file-table.d.ts +15 -19
  66. package/es/ele-file-list/components/file-table.js +17 -37
  67. package/es/ele-file-list/index.d.ts +33 -12
  68. package/es/ele-file-list/index.js +118 -20
  69. package/es/ele-file-list/props.d.ts +4 -5
  70. package/es/ele-file-list/props.js +5 -8
  71. package/es/ele-file-list/style/index.scss +10 -5
  72. package/es/ele-file-list/types.d.ts +13 -1
  73. package/es/ele-icon-select/components/icon-grid.d.ts +1 -1
  74. package/es/ele-icon-select/index.d.ts +2 -2
  75. package/es/ele-image-viewer/index.d.ts +120 -0
  76. package/es/ele-image-viewer/index.js +88 -0
  77. package/es/ele-image-viewer/props.d.ts +58 -0
  78. package/es/ele-image-viewer/props.js +35 -0
  79. package/es/ele-image-viewer/style/css-var.scss +8 -0
  80. package/es/ele-image-viewer/style/index.js +2 -0
  81. package/es/ele-image-viewer/style/index.scss +117 -0
  82. package/es/ele-map-picker/components/map-view.d.ts +18 -18
  83. package/es/ele-menus/components/item-title.d.ts +48 -0
  84. package/es/ele-menus/components/item-title.js +108 -0
  85. package/es/ele-menus/components/menu-items.d.ts +78 -0
  86. package/es/ele-menus/components/menu-items.js +269 -0
  87. package/es/ele-menus/index.d.ts +77 -18
  88. package/es/ele-menus/index.js +280 -210
  89. package/es/ele-menus/props.d.ts +2 -2
  90. package/es/ele-menus/util.d.ts +1 -62
  91. package/es/ele-menus/util.js +3 -244
  92. package/es/ele-modal/index.d.ts +9 -9
  93. package/es/ele-modal/props.d.ts +2 -2
  94. package/es/ele-modal/util.d.ts +1 -1
  95. package/es/ele-modal/util.js +8 -4
  96. package/es/ele-pagination/index.d.ts +2 -2
  97. package/es/ele-pagination/props.d.ts +1 -1
  98. package/es/ele-popconfirm/index.d.ts +11 -14
  99. package/es/ele-popconfirm/index.js +31 -24
  100. package/es/ele-popconfirm/props.d.ts +3 -4
  101. package/es/ele-popover/index.d.ts +11 -14
  102. package/es/ele-popover/props.d.ts +0 -1
  103. package/es/ele-popover/props.js +1 -1
  104. package/es/ele-printer/util.js +1 -1
  105. package/es/ele-pro-layout/components/pro-iframe.d.ts +6 -6
  106. package/es/ele-pro-layout/components/pro-iframe.js +6 -4
  107. package/es/ele-pro-layout/index.d.ts +1 -1
  108. package/es/ele-pro-layout/index.js +20 -6
  109. package/es/ele-pro-layout/props.d.ts +3 -3
  110. package/es/ele-pro-layout/props.js +3 -3
  111. package/es/ele-pro-layout/types.d.ts +9 -5
  112. package/es/ele-pro-layout/util.d.ts +6 -0
  113. package/es/ele-pro-layout/util.js +12 -0
  114. package/es/ele-pro-table/components/table-tools.d.ts +25 -26
  115. package/es/ele-pro-table/components/table-tools.js +26 -18
  116. package/es/ele-pro-table/components/tool-column.d.ts +7 -7
  117. package/es/ele-pro-table/components/tool-column.js +4 -4
  118. package/es/ele-pro-table/components/tool-export.d.ts +5 -5
  119. package/es/ele-pro-table/components/tool-print-body-cell.js +1 -1
  120. package/es/ele-pro-table/components/tool-print-header-cell.js +3 -2
  121. package/es/ele-pro-table/components/tool-print.d.ts +5 -5
  122. package/es/ele-pro-table/index.d.ts +71 -85
  123. package/es/ele-pro-table/index.js +19 -23
  124. package/es/ele-pro-table/props.d.ts +9 -11
  125. package/es/ele-pro-table/props.js +1 -1
  126. package/es/ele-segmented/index.d.ts +3 -1
  127. package/es/ele-segmented/index.js +27 -3
  128. package/es/ele-segmented/style/index.scss +7 -1
  129. package/es/ele-steps/index.d.ts +12 -12
  130. package/es/ele-steps/props.d.ts +3 -3
  131. package/es/ele-tab-tool/index.d.ts +6 -1
  132. package/es/ele-tab-tool/index.js +44 -3
  133. package/es/ele-tab-tool/props.d.ts +2 -0
  134. package/es/ele-tab-tool/props.js +3 -1
  135. package/es/ele-tab-wrap/components/tab-dropdown.js +9 -26
  136. package/es/ele-tab-wrap/index.js +21 -2
  137. package/es/ele-table/style/index.scss +1 -2
  138. package/es/ele-table-select/index.d.ts +6 -6
  139. package/es/ele-tabs/index.d.ts +21 -19
  140. package/es/ele-tabs/index.js +240 -115
  141. package/es/ele-tabs/props.d.ts +1 -6
  142. package/es/ele-tabs/props.js +1 -1
  143. package/es/ele-tabs/style/index.scss +152 -176
  144. package/es/ele-tabs/types.d.ts +29 -6
  145. package/es/ele-tool/index.js +6 -1
  146. package/es/ele-toolbar/index.d.ts +9 -9
  147. package/es/ele-tooltip/index.d.ts +15 -15
  148. package/es/ele-tooltip/props.d.ts +2 -2
  149. package/es/ele-tooltip/style/css-var.scss +4 -0
  150. package/es/ele-tree-select/index.d.ts +5 -5
  151. package/es/ele-upload-list/components/list-item.d.ts +31 -5
  152. package/es/ele-upload-list/components/list-item.js +146 -66
  153. package/es/ele-upload-list/index.d.ts +55 -26
  154. package/es/ele-upload-list/index.js +180 -97
  155. package/es/ele-upload-list/props.d.ts +22 -9
  156. package/es/ele-upload-list/props.js +20 -8
  157. package/es/ele-upload-list/style/css-var.scss +8 -0
  158. package/es/ele-upload-list/style/index.js +1 -1
  159. package/es/ele-upload-list/style/index.scss +425 -135
  160. package/es/ele-upload-list/types.d.ts +35 -11
  161. package/es/ele-virtual-table/components/body-cell.d.ts +2 -2
  162. package/es/ele-virtual-table/components/header-cell.d.ts +1 -1
  163. package/es/ele-virtual-table/components/header-row.d.ts +1 -1
  164. package/es/ele-virtual-table/index.d.ts +14 -22
  165. package/es/ele-virtual-table/index.js +8 -6
  166. package/es/ele-virtual-table/props.d.ts +6 -8
  167. package/es/icons/CornerLeftFilled.d.ts +2 -0
  168. package/es/icons/CornerLeftFilled.js +26 -0
  169. package/es/icons/CornerRightFilled.d.ts +2 -0
  170. package/es/icons/CornerRightFilled.js +26 -0
  171. package/es/icons/EyeOutlined.d.ts +2 -0
  172. package/es/icons/EyeOutlined.js +30 -0
  173. package/es/icons/FileOutlined.js +4 -4
  174. package/es/icons/SizeCompactOutlined.js +4 -4
  175. package/es/icons/SizeMiddleOutlined.d.ts +2 -0
  176. package/es/icons/SizeMiddleOutlined.js +34 -0
  177. package/es/icons/SizeSlackOutlined.js +4 -4
  178. package/es/icons/index.d.ts +4 -0
  179. package/es/icons/index.js +162 -154
  180. package/es/lang/en_US.js +4 -1
  181. package/es/lang/zh_CN.js +4 -1
  182. package/es/lang/zh_TW.js +4 -1
  183. package/es/style/plus.scss +1 -0
  184. package/es/style/themes/default.scss +84 -6
  185. package/es/style/themes/rounded.scss +6 -3
  186. package/es/style/themes/theme-util.scss +4 -0
  187. package/es/style/util.scss +10 -3
  188. package/es/utils/core.d.ts +4 -2
  189. package/es/utils/hook.d.ts +2 -0
  190. package/es/utils/hook.js +5 -1
  191. package/es/utils/menu-util.js +11 -5
  192. package/es/utils/message-box.js +5 -1
  193. package/es/utils/message.js +2 -2
  194. package/lib/core-components.cjs +60 -58
  195. package/lib/core-components.d.ts +1 -0
  196. package/lib/ele-admin-layout/components/layout-tabs.cjs +17 -75
  197. package/lib/ele-admin-layout/components/layout-tabs.d.ts +1 -6
  198. package/lib/ele-admin-layout/index.cjs +7 -2
  199. package/lib/ele-admin-layout/types.d.ts +2 -0
  200. package/lib/ele-app/el.d.ts +3 -0
  201. package/lib/ele-app/plus.d.ts +21 -0
  202. package/lib/ele-app/style/overwrite/css-var.scss +0 -2
  203. package/lib/ele-app/style/overwrite/date-picker/index.scss +13 -11
  204. package/lib/ele-app/style/overwrite/index.cjs +0 -1
  205. package/lib/ele-app/style/overwrite/index.scss +0 -1
  206. package/lib/ele-app/style/scrollbar/css-var.scss +17 -16
  207. package/lib/ele-app/types.d.ts +8 -1
  208. package/lib/ele-basic-select/index.d.ts +2 -2
  209. package/lib/ele-bottom-bar/index.cjs +36 -14
  210. package/lib/ele-bottom-bar/index.d.ts +9 -2
  211. package/lib/ele-bottom-bar/props.cjs +3 -1
  212. package/lib/ele-bottom-bar/props.d.ts +2 -0
  213. package/lib/ele-bottom-bar/style/index.scss +5 -0
  214. package/lib/ele-check-card/index.d.ts +2 -2
  215. package/lib/ele-cropper/components/cropper-tools.cjs +41 -13
  216. package/lib/ele-cropper/components/cropper-tools.d.ts +9 -3
  217. package/lib/ele-cropper/index.cjs +2 -1
  218. package/lib/ele-cropper/index.d.ts +3 -1
  219. package/lib/ele-cropper/props.cjs +2 -0
  220. package/lib/ele-cropper/props.d.ts +3 -1
  221. package/lib/ele-cropper/style/index.scss +3 -2
  222. package/lib/ele-cropper/types.d.ts +16 -0
  223. package/lib/ele-cropper-modal/index.cjs +2 -1
  224. package/lib/ele-cropper-modal/index.d.ts +3 -1
  225. package/lib/ele-cropper-modal/props.d.ts +1 -0
  226. package/lib/ele-data-table/components/table-columns.cjs +123 -0
  227. package/lib/ele-data-table/components/table-columns.d.ts +32 -0
  228. package/lib/ele-data-table/index.cjs +199 -117
  229. package/lib/ele-data-table/index.d.ts +327 -23
  230. package/lib/ele-data-table/props.d.ts +14 -18
  231. package/lib/ele-data-table/style/index.scss +0 -4
  232. package/lib/ele-data-table/types.d.ts +5 -2
  233. package/lib/ele-data-table/util.cjs +0 -108
  234. package/lib/ele-data-table/util.d.ts +1 -45
  235. package/lib/ele-drawer/index.cjs +8 -2
  236. package/lib/ele-drawer/index.d.ts +9 -8
  237. package/lib/ele-drawer/props.d.ts +2 -2
  238. package/lib/ele-dropdown/components/dropdown-menu-item.cjs +131 -0
  239. package/lib/ele-dropdown/components/dropdown-menu-item.d.ts +39 -0
  240. package/lib/ele-dropdown/components/dropdown-menus.cjs +110 -0
  241. package/lib/ele-dropdown/components/dropdown-menus.d.ts +44 -0
  242. package/lib/ele-dropdown/components/pro-dropdown.cjs +204 -0
  243. package/lib/ele-dropdown/components/pro-dropdown.d.ts +238 -0
  244. package/lib/ele-dropdown/index.cjs +149 -68
  245. package/lib/ele-dropdown/index.d.ts +521 -33
  246. package/lib/ele-dropdown/props.cjs +53 -6
  247. package/lib/ele-dropdown/props.d.ts +109 -15
  248. package/lib/ele-dropdown/style/index.cjs +4 -1
  249. package/lib/ele-dropdown/style/index.scss +226 -7
  250. package/lib/ele-dropdown/types.d.ts +2 -2
  251. package/lib/ele-edit-tag/index.d.ts +2 -2
  252. package/lib/ele-file-list/components/file-grid-item.cjs +18 -57
  253. package/lib/ele-file-list/components/file-grid-item.d.ts +11 -20
  254. package/lib/ele-file-list/components/file-grid.cjs +15 -38
  255. package/lib/ele-file-list/components/file-grid.d.ts +15 -19
  256. package/lib/ele-file-list/components/file-table-item.cjs +18 -57
  257. package/lib/ele-file-list/components/file-table-item.d.ts +11 -20
  258. package/lib/ele-file-list/components/file-table.cjs +16 -36
  259. package/lib/ele-file-list/components/file-table.d.ts +15 -19
  260. package/lib/ele-file-list/index.cjs +117 -19
  261. package/lib/ele-file-list/index.d.ts +33 -12
  262. package/lib/ele-file-list/props.cjs +4 -7
  263. package/lib/ele-file-list/props.d.ts +4 -5
  264. package/lib/ele-file-list/style/index.scss +10 -5
  265. package/lib/ele-file-list/types.d.ts +13 -1
  266. package/lib/ele-icon-select/components/icon-grid.d.ts +1 -1
  267. package/lib/ele-icon-select/index.d.ts +2 -2
  268. package/lib/ele-image-viewer/index.cjs +87 -0
  269. package/lib/ele-image-viewer/index.d.ts +120 -0
  270. package/lib/ele-image-viewer/props.cjs +35 -0
  271. package/lib/ele-image-viewer/props.d.ts +58 -0
  272. package/lib/ele-image-viewer/style/css-var.scss +8 -0
  273. package/lib/ele-image-viewer/style/index.cjs +3 -0
  274. package/lib/ele-image-viewer/style/index.scss +117 -0
  275. package/lib/ele-map-picker/components/map-view.d.ts +18 -18
  276. package/lib/ele-menus/components/item-title.cjs +107 -0
  277. package/lib/ele-menus/components/item-title.d.ts +48 -0
  278. package/lib/ele-menus/components/menu-items.cjs +268 -0
  279. package/lib/ele-menus/components/menu-items.d.ts +78 -0
  280. package/lib/ele-menus/index.cjs +278 -208
  281. package/lib/ele-menus/index.d.ts +77 -18
  282. package/lib/ele-menus/props.d.ts +2 -2
  283. package/lib/ele-menus/util.cjs +1 -242
  284. package/lib/ele-menus/util.d.ts +1 -62
  285. package/lib/ele-modal/index.d.ts +9 -9
  286. package/lib/ele-modal/props.d.ts +2 -2
  287. package/lib/ele-modal/util.cjs +8 -4
  288. package/lib/ele-modal/util.d.ts +1 -1
  289. package/lib/ele-pagination/index.d.ts +2 -2
  290. package/lib/ele-pagination/props.d.ts +1 -1
  291. package/lib/ele-popconfirm/index.cjs +31 -24
  292. package/lib/ele-popconfirm/index.d.ts +11 -14
  293. package/lib/ele-popconfirm/props.d.ts +3 -4
  294. package/lib/ele-popover/index.d.ts +11 -14
  295. package/lib/ele-popover/props.cjs +1 -1
  296. package/lib/ele-popover/props.d.ts +0 -1
  297. package/lib/ele-printer/util.cjs +1 -1
  298. package/lib/ele-pro-layout/components/pro-iframe.cjs +6 -4
  299. package/lib/ele-pro-layout/components/pro-iframe.d.ts +6 -6
  300. package/lib/ele-pro-layout/index.cjs +19 -5
  301. package/lib/ele-pro-layout/index.d.ts +1 -1
  302. package/lib/ele-pro-layout/props.cjs +3 -3
  303. package/lib/ele-pro-layout/props.d.ts +3 -3
  304. package/lib/ele-pro-layout/types.d.ts +9 -5
  305. package/lib/ele-pro-layout/util.cjs +12 -0
  306. package/lib/ele-pro-layout/util.d.ts +6 -0
  307. package/lib/ele-pro-table/components/table-tools.cjs +24 -16
  308. package/lib/ele-pro-table/components/table-tools.d.ts +25 -26
  309. package/lib/ele-pro-table/components/tool-column.cjs +4 -4
  310. package/lib/ele-pro-table/components/tool-column.d.ts +7 -7
  311. package/lib/ele-pro-table/components/tool-export.d.ts +5 -5
  312. package/lib/ele-pro-table/components/tool-print-body-cell.cjs +1 -1
  313. package/lib/ele-pro-table/components/tool-print-header-cell.cjs +3 -2
  314. package/lib/ele-pro-table/components/tool-print.d.ts +5 -5
  315. package/lib/ele-pro-table/index.cjs +17 -21
  316. package/lib/ele-pro-table/index.d.ts +71 -85
  317. package/lib/ele-pro-table/props.cjs +1 -1
  318. package/lib/ele-pro-table/props.d.ts +9 -11
  319. package/lib/ele-segmented/index.cjs +26 -2
  320. package/lib/ele-segmented/index.d.ts +3 -1
  321. package/lib/ele-segmented/style/index.scss +7 -1
  322. package/lib/ele-steps/index.d.ts +12 -12
  323. package/lib/ele-steps/props.d.ts +3 -3
  324. package/lib/ele-tab-tool/index.cjs +43 -2
  325. package/lib/ele-tab-tool/index.d.ts +6 -1
  326. package/lib/ele-tab-tool/props.cjs +3 -1
  327. package/lib/ele-tab-tool/props.d.ts +2 -0
  328. package/lib/ele-tab-wrap/components/tab-dropdown.cjs +8 -25
  329. package/lib/ele-tab-wrap/index.cjs +20 -1
  330. package/lib/ele-table/style/index.scss +1 -2
  331. package/lib/ele-table-select/index.d.ts +6 -6
  332. package/lib/ele-tabs/index.cjs +238 -113
  333. package/lib/ele-tabs/index.d.ts +21 -19
  334. package/lib/ele-tabs/props.cjs +1 -1
  335. package/lib/ele-tabs/props.d.ts +1 -6
  336. package/lib/ele-tabs/style/index.scss +152 -176
  337. package/lib/ele-tabs/types.d.ts +29 -6
  338. package/lib/ele-tool/index.cjs +6 -1
  339. package/lib/ele-toolbar/index.d.ts +9 -9
  340. package/lib/ele-tooltip/index.d.ts +15 -15
  341. package/lib/ele-tooltip/props.d.ts +2 -2
  342. package/lib/ele-tooltip/style/css-var.scss +4 -0
  343. package/lib/ele-tree-select/index.d.ts +5 -5
  344. package/lib/ele-upload-list/components/list-item.cjs +144 -64
  345. package/lib/ele-upload-list/components/list-item.d.ts +31 -5
  346. package/lib/ele-upload-list/index.cjs +178 -95
  347. package/lib/ele-upload-list/index.d.ts +55 -26
  348. package/lib/ele-upload-list/props.cjs +20 -8
  349. package/lib/ele-upload-list/props.d.ts +22 -9
  350. package/lib/ele-upload-list/style/css-var.scss +8 -0
  351. package/lib/ele-upload-list/style/index.cjs +1 -1
  352. package/lib/ele-upload-list/style/index.scss +425 -135
  353. package/lib/ele-upload-list/types.d.ts +35 -11
  354. package/lib/ele-virtual-table/components/body-cell.d.ts +2 -2
  355. package/lib/ele-virtual-table/components/header-cell.d.ts +1 -1
  356. package/lib/ele-virtual-table/components/header-row.d.ts +1 -1
  357. package/lib/ele-virtual-table/index.cjs +7 -5
  358. package/lib/ele-virtual-table/index.d.ts +14 -22
  359. package/lib/ele-virtual-table/props.d.ts +6 -8
  360. package/lib/icons/CornerLeftFilled.cjs +25 -0
  361. package/lib/icons/CornerLeftFilled.d.ts +2 -0
  362. package/lib/icons/CornerRightFilled.cjs +25 -0
  363. package/lib/icons/CornerRightFilled.d.ts +2 -0
  364. package/lib/icons/EyeOutlined.cjs +29 -0
  365. package/lib/icons/EyeOutlined.d.ts +2 -0
  366. package/lib/icons/FileOutlined.cjs +4 -4
  367. package/lib/icons/SizeCompactOutlined.cjs +4 -4
  368. package/lib/icons/SizeMiddleOutlined.cjs +33 -0
  369. package/lib/icons/SizeMiddleOutlined.d.ts +2 -0
  370. package/lib/icons/SizeSlackOutlined.cjs +4 -4
  371. package/lib/icons/index.cjs +8 -0
  372. package/lib/icons/index.d.ts +4 -0
  373. package/lib/lang/en_US.cjs +4 -1
  374. package/lib/lang/zh_CN.cjs +4 -1
  375. package/lib/lang/zh_TW.cjs +4 -1
  376. package/lib/style/plus.scss +1 -0
  377. package/lib/style/themes/default.scss +84 -6
  378. package/lib/style/themes/rounded.scss +6 -3
  379. package/lib/style/themes/theme-util.scss +4 -0
  380. package/lib/style/util.scss +10 -3
  381. package/lib/utils/core.d.ts +4 -2
  382. package/lib/utils/hook.cjs +5 -1
  383. package/lib/utils/hook.d.ts +2 -0
  384. package/lib/utils/menu-util.cjs +9 -3
  385. package/lib/utils/message-box.cjs +4 -0
  386. package/lib/utils/message.cjs +1 -1
  387. package/package.json +36 -36
  388. package/typings/global.d.ts +1 -0
  389. package/es/ele-app/style/overwrite/image-viewer/css-var.scss +0 -8
  390. package/es/ele-app/style/overwrite/image-viewer/index.js +0 -1
  391. package/es/ele-app/style/overwrite/image-viewer/index.scss +0 -10
  392. package/es/ele-tabs/components/tab-title.d.ts +0 -52
  393. package/es/ele-tabs/components/tab-title.js +0 -115
  394. package/lib/ele-app/style/overwrite/image-viewer/css-var.scss +0 -8
  395. package/lib/ele-app/style/overwrite/image-viewer/index.cjs +0 -2
  396. package/lib/ele-app/style/overwrite/image-viewer/index.scss +0 -10
  397. package/lib/ele-tabs/components/tab-title.cjs +0 -114
  398. package/lib/ele-tabs/components/tab-title.d.ts +0 -52
  399. /package/es/{ele-app/style/overwrite/image-viewer → ele-image-viewer/style}/index.d.ts +0 -0
  400. /package/lib/{ele-app/style/overwrite/image-viewer → ele-image-viewer/style}/index.d.ts +0 -0
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const elementPlus = require("element-plus");
4
+ const icons = require("../../icons");
5
+ const core = require("../../utils/core");
6
+ const util = require("../util");
7
+ const _sfc_main = vue.defineComponent({
8
+ name: "TableColumns",
9
+ components: { ElTableColumn: elementPlus.ElTableColumn, FilterFilled: icons.FilterFilled },
10
+ props: {
11
+ /** 列配置 */
12
+ columns: Array,
13
+ /** 序号列起始值 */
14
+ pageIndex: Number,
15
+ /** 是否过滤非正常的插槽渲染 */
16
+ slotNormalize: Boolean,
17
+ /** 表格提示组件属性 */
18
+ globalTooltip: [Object, Boolean]
19
+ },
20
+ setup() {
21
+ return {
22
+ omit: core.omit,
23
+ getCellClass: util.getCellClass,
24
+ getFilterPopperClass: util.getFilterPopperClass,
25
+ getTooltipProps: util.getTooltipProps
26
+ };
27
+ }
28
+ });
29
+ const _export_sfc = (sfc, props) => {
30
+ const target = sfc.__vccOpts || sfc;
31
+ for (const [key, val] of props) {
32
+ target[key] = val;
33
+ }
34
+ return target;
35
+ };
36
+ const _hoisted_1 = ["title"];
37
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
38
+ const _component_TableColumns = vue.resolveComponent("TableColumns", true);
39
+ const _component_FilterFilled = vue.resolveComponent("FilterFilled");
40
+ const _component_ElTableColumn = vue.resolveComponent("ElTableColumn");
41
+ return vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.columns, (col) => {
42
+ return vue.openBlock(), vue.createBlock(_component_ElTableColumn, vue.mergeProps(
43
+ { ref_for: true },
44
+ _ctx.omit(col, [
45
+ "showOverflowTooltip",
46
+ "filterClassName",
47
+ "columnKey",
48
+ "className",
49
+ "uid",
50
+ "slot",
51
+ "headerSlot",
52
+ "hideInTable",
53
+ "hideInSetting",
54
+ "hideInExport",
55
+ "hideInPrint",
56
+ "printSlot",
57
+ "children"
58
+ ]),
59
+ {
60
+ key: col.uid ?? col.columnKey ?? col.prop,
61
+ index: col.index ?? _ctx.pageIndex,
62
+ className: _ctx.getCellClass(col),
63
+ columnKey: col.columnKey ?? col.prop,
64
+ filterClassName: _ctx.getFilterPopperClass(col.filterClassName),
65
+ showOverflowTooltip: _ctx.getTooltipProps(col.showOverflowTooltip, _ctx.globalTooltip)
66
+ }
67
+ ), {
68
+ header: vue.withCtx((slotProps) => {
69
+ var _a, _b;
70
+ return [
71
+ vue.createElementVNode("div", {
72
+ class: "ele-cell-title",
73
+ title: (_a = slotProps == null ? void 0 : slotProps.column) == null ? void 0 : _a.label
74
+ }, [
75
+ col.headerSlot ? vue.renderSlot(_ctx.$slots, col.headerSlot, vue.mergeProps({
76
+ key: 0,
77
+ ref_for: true
78
+ }, slotProps || {}), () => {
79
+ var _a2;
80
+ return [
81
+ vue.createTextVNode(vue.toDisplayString((_a2 = slotProps == null ? void 0 : slotProps.column) == null ? void 0 : _a2.label), 1)
82
+ ];
83
+ }) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
84
+ vue.createTextVNode(vue.toDisplayString((_b = slotProps == null ? void 0 : slotProps.column) == null ? void 0 : _b.label), 1)
85
+ ], 64))
86
+ ], 8, _hoisted_1)
87
+ ];
88
+ }),
89
+ default: vue.withCtx((slotProps) => [
90
+ col.slot && _ctx.$slots[col.slot] && (!_ctx.slotNormalize || (slotProps == null ? void 0 : slotProps.$index) != -1) ? vue.renderSlot(_ctx.$slots, col.slot, vue.mergeProps({
91
+ key: 0,
92
+ ref_for: true
93
+ }, slotProps || {})) : col.children && col.children.length ? (vue.openBlock(), vue.createBlock(_component_TableColumns, {
94
+ key: 1,
95
+ columns: col.children,
96
+ pageIndex: _ctx.pageIndex,
97
+ slotNormalize: _ctx.slotNormalize,
98
+ globalTooltip: _ctx.globalTooltip
99
+ }, vue.createSlots({ _: 2 }, [
100
+ vue.renderList(Object.keys(_ctx.$slots), (name) => {
101
+ return {
102
+ name,
103
+ fn: vue.withCtx((tempProps) => [
104
+ vue.renderSlot(_ctx.$slots, name, vue.mergeProps({ ref_for: true }, tempProps || {}))
105
+ ])
106
+ };
107
+ })
108
+ ]), 1032, ["columns", "pageIndex", "slotNormalize", "globalTooltip"])) : vue.createCommentVNode("", true)
109
+ ]),
110
+ "filter-icon": vue.withCtx((slotProps) => [
111
+ !col.filterIcon ? (vue.openBlock(), vue.createBlock(_component_FilterFilled, { key: 0 })) : typeof col.filterIcon === "string" ? vue.renderSlot(_ctx.$slots, col.filterIcon, vue.mergeProps({
112
+ key: 1,
113
+ ref_for: true
114
+ }, slotProps || {}), () => [
115
+ vue.createVNode(_component_FilterFilled)
116
+ ]) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(col.filterIcon), { key: 2 }))
117
+ ]),
118
+ _: 2
119
+ }, 1040, ["index", "className", "columnKey", "filterClassName", "showOverflowTooltip"]);
120
+ }), 128);
121
+ }
122
+ const tableColumns = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
123
+ module.exports = tableColumns;
@@ -0,0 +1,32 @@
1
+ import { PropType } from 'vue';
2
+ import { omit } from '../../utils/core';
3
+ import { Columns, ShowOverflowTooltip } from '../types';
4
+ import { getCellClass, getFilterPopperClass, getTooltipProps } from '../util';
5
+
6
+ declare const _default: import('vue').DefineComponent<{
7
+ /** 列配置 */
8
+ columns: PropType<Columns>;
9
+ /** 序号列起始值 */
10
+ pageIndex: NumberConstructor;
11
+ /** 是否过滤非正常的插槽渲染 */
12
+ slotNormalize: BooleanConstructor;
13
+ /** 表格提示组件属性 */
14
+ globalTooltip: PropType<ShowOverflowTooltip>;
15
+ }, {
16
+ omit: typeof omit;
17
+ getCellClass: typeof getCellClass;
18
+ getFilterPopperClass: typeof getFilterPopperClass;
19
+ getTooltipProps: typeof getTooltipProps;
20
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
+ /** 列配置 */
22
+ columns: PropType<Columns>;
23
+ /** 序号列起始值 */
24
+ pageIndex: NumberConstructor;
25
+ /** 是否过滤非正常的插槽渲染 */
26
+ slotNormalize: BooleanConstructor;
27
+ /** 表格提示组件属性 */
28
+ globalTooltip: PropType<ShowOverflowTooltip>;
29
+ }>>, {
30
+ slotNormalize: boolean;
31
+ }, {}>;
32
+ export default _default;
@@ -2,13 +2,16 @@
2
2
  const vue = require("vue");
3
3
  const elementPlus = require("element-plus");
4
4
  const core = require("../utils/core");
5
+ const TableColumns = require("./components/table-columns");
5
6
  const util = require("./util");
6
7
  const props = require("./props");
7
- const index = vue.defineComponent({
8
+ const ownSlots = ["default", "append", "empty"];
9
+ const _sfc_main = vue.defineComponent({
8
10
  name: "EleDataTable",
11
+ components: { ElTable: elementPlus.ElTable, ElEmpty: elementPlus.ElEmpty, TableColumns },
9
12
  props: props.dataTableProps,
10
13
  emits: props.dataTableEmits,
11
- setup(props$1, { emit, slots, expose }) {
14
+ setup(props$1, { emit }) {
12
15
  const events = util.useEmits(emit);
13
16
  const methods = util.useMethods(() => tableRef.value);
14
17
  const { isLayoutFixedHead, isLayoutMaximized } = util.useStickyHeader();
@@ -33,6 +36,78 @@ const index = vue.defineComponent({
33
36
  var _a;
34
37
  return ((_a = props$1.treeProps) == null ? void 0 : _a.children) || "children";
35
38
  });
39
+ const tableProps = vue.computed(() => {
40
+ const propKeys = props.tablePropKeys.filter(
41
+ (k) => ![
42
+ "currentRowKey",
43
+ "showOverflowTooltip",
44
+ "tooltipOptions",
45
+ "tooltipEffect"
46
+ ].includes(k)
47
+ );
48
+ return {
49
+ ...core.pick(props$1, propKeys),
50
+ ...core.omit(events, [
51
+ "onUpdate:currentRowKey",
52
+ "onUpdate:selectedRowKeys",
53
+ "onRowClick",
54
+ "onHeaderClick",
55
+ "onSortChange",
56
+ "onFilterChange",
57
+ "onCurrentChange",
58
+ "onSelect",
59
+ "onSelectAll",
60
+ "onSelectionChange"
61
+ ])
62
+ };
63
+ });
64
+ const handleRowClick = (row, column, event) => {
65
+ if (props$1.rowClickChecked && !util.isDisableRow(row, props$1.data.indexOf(row), props$1.columns)) {
66
+ const selections = methods.getSelectionRows();
67
+ if (props$1.rowClickChecked === "smart" && (!selections || !selections.length || selections.length === 1)) {
68
+ const key = core.getValue(row, props$1.rowKey);
69
+ updateCheckedState(key == null ? [] : [key]);
70
+ } else {
71
+ toggleRowSelection(row);
72
+ }
73
+ }
74
+ events.onRowClick(row, column, event);
75
+ };
76
+ const handleHeaderClick = (column, e) => {
77
+ if (column.sortable && column.filters) {
78
+ const el = e.currentTarget;
79
+ if (el) {
80
+ const caretEl = el.querySelector(".caret-wrapper");
81
+ caretEl && caretEl.dispatchEvent(new MouseEvent("click"));
82
+ }
83
+ }
84
+ events.onHeaderClick(column, e);
85
+ };
86
+ const handleSortChange = (sorter) => {
87
+ const currentSorter = tableState.sorter;
88
+ if (currentSorter && sorter.prop === currentSorter.prop && sorter.order === currentSorter.order) {
89
+ return;
90
+ }
91
+ tableState.sorter = sorter;
92
+ events.onSortChange(sorter);
93
+ };
94
+ const handleFilterChange = (filter) => {
95
+ tableState.filter = util.getTableFilter(tableRef.value) ?? filter;
96
+ events.onFilterChange(tableState.filter);
97
+ };
98
+ const handleCurrentChange = (row, old) => {
99
+ if (row != null && row !== old) {
100
+ updateSelectedState(core.getValue(row, props$1.rowKey), row);
101
+ }
102
+ };
103
+ const handleSelect = (selection, row) => {
104
+ events.onSelect(selection, row);
105
+ updateCheckedState(util.getRowKeys(selection, props$1.rowKey), selection);
106
+ };
107
+ const handleSelectAll = (selection) => {
108
+ updateCheckedState(util.getRowKeys(selection, props$1.rowKey), selection);
109
+ events.onSelectAll(selection);
110
+ };
36
111
  const updateScrollBar = () => {
37
112
  var _a;
38
113
  const scrollBarRef = (_a = tableRef.value) == null ? void 0 : _a.scrollBarRef;
@@ -63,7 +138,11 @@ const index = vue.defineComponent({
63
138
  };
64
139
  const setSelectedRows = (rows) => {
65
140
  if (rows) {
66
- updateCheckedState(util.getRowKeys(rows, props$1.rowKey), rows, !!rows.length);
141
+ updateCheckedState(
142
+ util.getRowKeys(rows, props$1.rowKey),
143
+ rows,
144
+ !!rows.length
145
+ );
67
146
  }
68
147
  };
69
148
  const setSelectedRowKeys = (keys) => {
@@ -95,7 +174,12 @@ const index = vue.defineComponent({
95
174
  return;
96
175
  }
97
176
  if (key != null) {
98
- const row = util.getRowByKey(key, props$1.data, props$1.rowKey, childKey.value);
177
+ const row = util.getRowByKey(
178
+ key,
179
+ props$1.data,
180
+ props$1.rowKey,
181
+ childKey.value
182
+ );
99
183
  if (row != null || props$1.reserveCurrent) {
100
184
  tableState.oldRow = tableState.row;
101
185
  tableState.row = row || item || void 0;
@@ -138,7 +222,9 @@ const index = vue.defineComponent({
138
222
  childKey.value
139
223
  );
140
224
  const itemKeys = items ? items.map((d) => core.getValue(d, props$1.rowKey)) : [];
141
- const oldKeys = tableState.checked.map((d) => core.getValue(d, props$1.rowKey));
225
+ const oldKeys = tableState.checked.map(
226
+ (d) => core.getValue(d, props$1.rowKey)
227
+ );
142
228
  const checkedKeys = [];
143
229
  const checked = [];
144
230
  keys.forEach((key) => {
@@ -189,7 +275,12 @@ const index = vue.defineComponent({
189
275
  const updateSelectedAndChecked = () => {
190
276
  const key = tableState.key;
191
277
  if (key != null) {
192
- const row = util.getRowByKey(key, props$1.data, props$1.rowKey, childKey.value);
278
+ const row = util.getRowByKey(
279
+ key,
280
+ props$1.data,
281
+ props$1.rowKey,
282
+ childKey.value
283
+ );
193
284
  if (row != null) {
194
285
  updateSelectedState(key, row);
195
286
  } else if (!props$1.reserveCurrent) {
@@ -238,7 +329,10 @@ const index = vue.defineComponent({
238
329
  methods.doLayout();
239
330
  updateScrollBar();
240
331
  if (sorter) {
241
- methods.sort(sorter.prop, sorter.order || "ascending");
332
+ methods.sort(
333
+ sorter.prop,
334
+ sorter.order || "ascending"
335
+ );
242
336
  }
243
337
  });
244
338
  }
@@ -271,8 +365,24 @@ const index = vue.defineComponent({
271
365
  updateCheckedState(props$1.selectedRowKeys);
272
366
  }
273
367
  });
274
- const exposeValue = {
368
+ return {
369
+ ownSlots,
370
+ getBodyRowClass: util.getBodyRowClass,
371
+ getHeadRowClass: util.getHeadRowClass,
275
372
  ...methods,
373
+ isLayoutFixedHead,
374
+ isLayoutMaximized,
375
+ tableRef,
376
+ tableCols,
377
+ tableOverflowTooltip,
378
+ tableProps,
379
+ handleRowClick,
380
+ handleHeaderClick,
381
+ handleSortChange,
382
+ handleFilterChange,
383
+ handleCurrentChange,
384
+ handleSelect,
385
+ handleSelectAll,
276
386
  clearSort,
277
387
  clearSelection,
278
388
  toggleRowSelection,
@@ -282,116 +392,88 @@ const index = vue.defineComponent({
282
392
  setSelectedRows,
283
393
  setSelectedRowKeys,
284
394
  toggleRowExpansionAll,
285
- updateSelectedAndChecked,
286
- tableRef
287
- };
288
- expose(exposeValue);
289
- return () => {
290
- return vue.h(
291
- elementPlus.ElTable,
292
- {
293
- ...core.pick(props$1, props.tablePropKeys),
294
- ...core.omit(events, [
295
- "onUpdate:currentRowKey",
296
- "onUpdate:selectedRowKeys"
297
- ]),
298
- ref: tableRef,
299
- class: [
300
- "ele-data-table",
301
- { "is-sticky": props$1.sticky },
302
- { "is-layout-fixed-head": props$1.sticky && isLayoutFixedHead.value },
303
- { "is-layout-maximized": props$1.sticky && isLayoutMaximized.value },
304
- { "is-sticky": props$1.sticky },
305
- { "hide-header": !props$1.showHeader },
306
- { "hide-bottom-line": !props$1.bottomLine }
307
- ],
308
- currentRowKey: void 0,
309
- emptyText: props$1.errorText || props$1.emptyText,
310
- rowClassName: (param) => {
311
- return util.getBodyRowClass(props$1.rowClassName, param);
312
- },
313
- headerRowClassName: (param) => {
314
- return util.getHeadRowClass(
315
- props$1.headerRowClassName,
316
- param,
317
- props$1.headerEllipsis
318
- );
319
- },
320
- onRowClick: (row, column, event) => {
321
- if (props$1.rowClickChecked && !util.isDisableRow(row, props$1.data.indexOf(row), props$1.columns)) {
322
- const selections = methods.getSelectionRows();
323
- if (props$1.rowClickChecked === "smart" && (!selections || !selections.length || selections.length === 1)) {
324
- const key = core.getValue(row, props$1.rowKey);
325
- updateCheckedState(key == null ? [] : [key]);
326
- } else {
327
- toggleRowSelection(row);
328
- }
329
- }
330
- events.onRowClick(row, column, event);
331
- },
332
- onHeaderClick: (column, e) => {
333
- if (column.sortable && column.filters) {
334
- const el = e.currentTarget;
335
- if (el) {
336
- const caretEl = el.querySelector(".caret-wrapper");
337
- caretEl && caretEl.dispatchEvent(new MouseEvent("click"));
338
- }
339
- }
340
- events.onHeaderClick(column, e);
341
- },
342
- onSortChange: (sorter) => {
343
- const currentSorter = tableState.sorter;
344
- if (currentSorter && sorter.prop === currentSorter.prop && sorter.order === currentSorter.order) {
345
- return;
346
- }
347
- tableState.sorter = sorter;
348
- events.onSortChange(sorter);
349
- },
350
- onFilterChange: (filter) => {
351
- tableState.filter = util.getTableFilter(tableRef.value) ?? filter;
352
- events.onFilterChange(tableState.filter);
353
- },
354
- // 重写选中逻辑
355
- onCurrentChange: (row, old) => {
356
- if (row != null && row !== old) {
357
- updateSelectedState(core.getValue(row, props$1.rowKey), row);
358
- }
359
- },
360
- onSelect: (selection, row) => {
361
- events.onSelect(selection, row);
362
- updateCheckedState(util.getRowKeys(selection, props$1.rowKey), selection);
363
- },
364
- onSelectAll: (selection) => {
365
- updateCheckedState(util.getRowKeys(selection, props$1.rowKey), selection);
366
- events.onSelectAll(selection);
367
- },
368
- onSelectionChange: () => {
369
- },
370
- // 移除提示组件相关属性
371
- showOverflowTooltip: void 0,
372
- tooltipOptions: void 0,
373
- tooltipEffect: void 0
374
- },
375
- {
376
- default: () => {
377
- return util.getCols(
378
- tableCols.value,
379
- props$1.pageIndex,
380
- slots,
381
- props$1.slotNormalize,
382
- tableOverflowTooltip.value
383
- );
384
- },
385
- append: slots.append,
386
- empty: util.getEmptySlot(
387
- slots,
388
- props$1.emptyProps,
389
- props$1.emptyText,
390
- props$1.errorText
391
- )
392
- }
393
- );
395
+ updateSelectedAndChecked
394
396
  };
395
397
  }
396
398
  });
399
+ const _export_sfc = (sfc, props2) => {
400
+ const target = sfc.__vccOpts || sfc;
401
+ for (const [key, val] of props2) {
402
+ target[key] = val;
403
+ }
404
+ return target;
405
+ };
406
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
407
+ const _component_TableColumns = vue.resolveComponent("TableColumns");
408
+ const _component_ElEmpty = vue.resolveComponent("ElEmpty");
409
+ const _component_ElTable = vue.resolveComponent("ElTable");
410
+ return vue.openBlock(), vue.createBlock(_component_ElTable, vue.mergeProps(_ctx.tableProps, {
411
+ ref: "tableRef",
412
+ emptyText: _ctx.errorText || _ctx.emptyText,
413
+ rowClassName: (param) => _ctx.getBodyRowClass(_ctx.rowClassName, param),
414
+ headerRowClassName: (param) => _ctx.getHeadRowClass(_ctx.headerRowClassName, param, _ctx.headerEllipsis),
415
+ class: [
416
+ "ele-data-table",
417
+ { "is-sticky": _ctx.sticky },
418
+ { "is-layout-fixed-head": _ctx.sticky && _ctx.isLayoutFixedHead },
419
+ { "is-layout-maximized": _ctx.sticky && _ctx.isLayoutMaximized },
420
+ { "is-sticky": _ctx.sticky },
421
+ { "hide-header": !_ctx.showHeader },
422
+ { "hide-bottom-line": !_ctx.bottomLine }
423
+ ],
424
+ onRowClick: _ctx.handleRowClick,
425
+ onHeaderClick: _ctx.handleHeaderClick,
426
+ onSortChange: _ctx.handleSortChange,
427
+ onFilterChange: _ctx.handleFilterChange,
428
+ onCurrentChange: _ctx.handleCurrentChange,
429
+ onSelect: _ctx.handleSelect,
430
+ onSelectAll: _ctx.handleSelectAll
431
+ }), vue.createSlots({
432
+ default: vue.withCtx(() => [
433
+ _ctx.tableCols && _ctx.tableCols.length ? (vue.openBlock(), vue.createBlock(_component_TableColumns, {
434
+ key: 0,
435
+ columns: _ctx.tableCols,
436
+ pageIndex: _ctx.pageIndex,
437
+ slotNormalize: _ctx.slotNormalize,
438
+ globalTooltip: _ctx.tableOverflowTooltip
439
+ }, vue.createSlots({ _: 2 }, [
440
+ vue.renderList(Object.keys(_ctx.$slots).filter((k) => !_ctx.ownSlots.includes(k)), (name) => {
441
+ return {
442
+ name,
443
+ fn: vue.withCtx((slotProps) => [
444
+ vue.renderSlot(_ctx.$slots, name, vue.normalizeProps(vue.guardReactiveProps(slotProps || {})))
445
+ ])
446
+ };
447
+ })
448
+ ]), 1032, ["columns", "pageIndex", "slotNormalize", "globalTooltip"])) : vue.createCommentVNode("", true)
449
+ ]),
450
+ _: 2
451
+ }, [
452
+ _ctx.$slots.append ? {
453
+ name: "append",
454
+ fn: vue.withCtx((slotProps) => [
455
+ vue.renderSlot(_ctx.$slots, "append", vue.normalizeProps(vue.guardReactiveProps(slotProps || {})))
456
+ ]),
457
+ key: "0"
458
+ } : void 0,
459
+ _ctx.$slots.empty || _ctx.emptyProps ? {
460
+ name: "empty",
461
+ fn: vue.withCtx(() => [
462
+ _ctx.$slots.empty ? vue.renderSlot(_ctx.$slots, "empty", {
463
+ key: 0,
464
+ text: _ctx.emptyText,
465
+ error: _ctx.errorText
466
+ }) : _ctx.emptyProps ? (vue.openBlock(), vue.createBlock(_component_ElEmpty, vue.mergeProps({
467
+ key: 1,
468
+ imageSize: 68
469
+ }, !_ctx.emptyProps || _ctx.emptyProps === true ? {} : _ctx.emptyProps, {
470
+ description: _ctx.errorText || _ctx.emptyText,
471
+ class: "ele-table-empty"
472
+ }), null, 16, ["description"])) : vue.createCommentVNode("", true)
473
+ ]),
474
+ key: "1"
475
+ } : void 0
476
+ ]), 1040, ["emptyText", "rowClassName", "headerRowClassName", "class", "onRowClick", "onHeaderClick", "onSortChange", "onFilterChange", "onCurrentChange", "onSelect", "onSelectAll"]);
477
+ }
478
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
397
479
  module.exports = index;