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

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 (477) hide show
  1. package/es/ele-admin-layout/index.d.ts +29 -24
  2. package/es/ele-admin-layout/props.d.ts +15 -11
  3. package/es/ele-admin-layout/props.js +4 -1
  4. package/es/ele-admin-layout/style/index.scss +7 -2
  5. package/es/ele-admin-layout/style/sidebar.scss +2 -0
  6. package/es/ele-alert/index.d.ts +15 -15
  7. package/es/ele-alert/index.js +3 -3
  8. package/es/ele-alert/props.d.ts +9 -8
  9. package/es/ele-app/components/message-body.d.ts +6 -5
  10. package/es/ele-app/components/message-body.js +2 -2
  11. package/es/ele-app/components/message-box-icon.d.ts +7 -6
  12. package/es/ele-app/plus.d.ts +3 -0
  13. package/es/ele-app/style/overwrite/input/index.scss +2 -0
  14. package/es/ele-avatar-group/index.d.ts +19 -18
  15. package/es/ele-avatar-group/index.js +15 -15
  16. package/es/ele-avatar-group/props.d.ts +10 -7
  17. package/es/ele-basic-select/index.d.ts +22 -19
  18. package/es/ele-basic-select/index.js +30 -23
  19. package/es/ele-basic-select/props.d.ts +11 -6
  20. package/es/ele-basic-select/props.js +3 -1
  21. package/es/ele-basic-select/util.d.ts +6 -0
  22. package/es/ele-basic-select/util.js +13 -0
  23. package/es/ele-bottom-bar/index.d.ts +4 -4
  24. package/es/ele-bottom-bar/props.d.ts +3 -2
  25. package/es/ele-breadcrumb/index.d.ts +3 -3
  26. package/es/ele-breadcrumb/props.d.ts +1 -1
  27. package/es/ele-card/index.d.ts +14 -14
  28. package/es/ele-card/props.d.ts +8 -6
  29. package/es/ele-check-card/components/card-item.d.ts +3 -2
  30. package/es/ele-check-card/index.d.ts +5 -5
  31. package/es/ele-check-card/index.js +12 -7
  32. package/es/ele-check-card/props.d.ts +3 -2
  33. package/es/ele-config-provider/index.d.ts +4 -4
  34. package/es/ele-config-provider/props.d.ts +3 -3
  35. package/es/ele-config-provider/types.d.ts +1 -0
  36. package/es/ele-copyable/index.d.ts +12 -12
  37. package/es/ele-copyable/index.js +6 -6
  38. package/es/ele-copyable/props.d.ts +7 -5
  39. package/es/ele-count-up/index.d.ts +1 -1
  40. package/es/ele-cropper/components/cropper-tools.d.ts +6 -5
  41. package/es/ele-cropper/components/cropper-tools.js +10 -10
  42. package/es/ele-cropper/index.d.ts +16 -16
  43. package/es/ele-cropper/index.js +39 -39
  44. package/es/ele-cropper/props.d.ts +2 -1
  45. package/es/ele-cropper-modal/index.d.ts +5 -5
  46. package/es/ele-cropper-modal/index.js +3 -3
  47. package/es/ele-cropper-modal/props.d.ts +1 -4
  48. package/es/ele-data-table/index.d.ts +22 -22
  49. package/es/ele-data-table/props.d.ts +16 -16
  50. package/es/ele-data-table/style/index.scss +1 -1
  51. package/es/ele-data-table/types.d.ts +2 -0
  52. package/es/ele-data-table/util.js +6 -2
  53. package/es/ele-drawer/index.d.ts +18 -18
  54. package/es/ele-drawer/index.js +18 -18
  55. package/es/ele-drawer/props.d.ts +11 -10
  56. package/es/ele-dropdown/index.d.ts +24 -24
  57. package/es/ele-dropdown/index.js +54 -48
  58. package/es/ele-dropdown/props.d.ts +13 -12
  59. package/es/ele-dropdown/types.d.ts +2 -0
  60. package/es/ele-edit-tag/index.d.ts +21 -19
  61. package/es/ele-edit-tag/index.js +10 -2
  62. package/es/ele-edit-tag/props.d.ts +13 -8
  63. package/es/ele-edit-tag/props.js +3 -1
  64. package/es/ele-ellipsis/index.d.ts +6 -5
  65. package/es/ele-ellipsis/index.js +3 -3
  66. package/es/ele-ellipsis/props.d.ts +1 -1
  67. package/es/ele-file-list/components/file-grid-item.d.ts +5 -5
  68. package/es/ele-file-list/components/file-grid-item.js +15 -15
  69. package/es/ele-file-list/components/file-grid.d.ts +6 -6
  70. package/es/ele-file-list/components/file-grid.js +15 -15
  71. package/es/ele-file-list/components/file-table-item.d.ts +5 -5
  72. package/es/ele-file-list/components/file-table-item.js +15 -15
  73. package/es/ele-file-list/components/file-table.d.ts +7 -7
  74. package/es/ele-file-list/components/file-table.js +19 -19
  75. package/es/ele-file-list/index.d.ts +10 -10
  76. package/es/ele-file-list/index.js +22 -22
  77. package/es/ele-file-list-tool/index.d.ts +1 -1
  78. package/es/ele-file-list-tool/index.js +2 -2
  79. package/es/ele-icon-select/components/icon-grid.d.ts +10 -8
  80. package/es/ele-icon-select/components/icon-grid.js +6 -6
  81. package/es/ele-icon-select/index.d.ts +44 -43
  82. package/es/ele-icon-select/index.js +29 -25
  83. package/es/ele-icon-select/props.d.ts +18 -14
  84. package/es/ele-icon-select/props.js +2 -0
  85. package/es/ele-loading/index.d.ts +4 -4
  86. package/es/ele-loading/props.d.ts +3 -2
  87. package/es/ele-map-picker/components/map-view.d.ts +26 -28
  88. package/es/ele-map-picker/components/map-view.js +1 -0
  89. package/es/ele-map-picker/index.d.ts +10 -10
  90. package/es/ele-map-picker/props.d.ts +6 -5
  91. package/es/ele-map-picker/style/index.scss +1 -1
  92. package/es/ele-menus/index.d.ts +2 -2
  93. package/es/ele-menus/index.js +15 -15
  94. package/es/ele-menus/props.d.ts +1 -1
  95. package/es/ele-menus/style/index.scss +5 -0
  96. package/es/ele-menus/util.d.ts +7 -0
  97. package/es/ele-menus/util.js +49 -26
  98. package/es/ele-modal/index.d.ts +30 -29
  99. package/es/ele-modal/index.js +48 -82
  100. package/es/ele-modal/props.d.ts +14 -13
  101. package/es/ele-modal/util.d.ts +31 -24
  102. package/es/ele-modal/util.js +235 -132
  103. package/es/ele-pagination/index.d.ts +20 -8
  104. package/es/ele-pagination/index.js +9 -8
  105. package/es/ele-pagination/props.d.ts +8 -2
  106. package/es/ele-pagination/style/index.scss +70 -0
  107. package/es/ele-popconfirm/index.d.ts +37 -47
  108. package/es/ele-popconfirm/index.js +15 -15
  109. package/es/ele-popconfirm/props.d.ts +18 -21
  110. package/es/ele-popover/index.d.ts +27 -37
  111. package/es/ele-popover/index.js +15 -15
  112. package/es/ele-popover/props.d.ts +11 -15
  113. package/es/ele-popover/props.js +1 -0
  114. package/es/ele-printer/index.d.ts +9 -9
  115. package/es/ele-printer/index.js +19 -22
  116. package/es/ele-printer/props.d.ts +6 -5
  117. package/es/ele-printer/style/index.scss +2 -2
  118. package/es/ele-printer/types.d.ts +0 -2
  119. package/es/ele-printer/util.d.ts +7 -28
  120. package/es/ele-printer/util.js +111 -77
  121. package/es/ele-pro-layout/index.d.ts +44 -48
  122. package/es/ele-pro-layout/index.js +2 -2
  123. package/es/ele-pro-layout/props.d.ts +17 -15
  124. package/es/ele-pro-layout/props.js +1 -1
  125. package/es/ele-pro-table/components/table-tools.d.ts +405 -35
  126. package/es/ele-pro-table/components/table-tools.js +227 -151
  127. package/es/ele-pro-table/components/tool-column-list.d.ts +21 -9
  128. package/es/ele-pro-table/components/tool-column-list.js +64 -37
  129. package/es/ele-pro-table/components/tool-column.d.ts +31 -44
  130. package/es/ele-pro-table/components/tool-column.js +87 -103
  131. package/es/ele-pro-table/components/tool-export.d.ts +37 -34
  132. package/es/ele-pro-table/components/tool-export.js +223 -215
  133. package/es/ele-pro-table/components/tool-print-body-cell.d.ts +5 -4
  134. package/es/ele-pro-table/components/tool-print-header-cell.d.ts +5 -4
  135. package/es/ele-pro-table/components/tool-print.d.ts +47 -43
  136. package/es/ele-pro-table/components/tool-print.js +380 -369
  137. package/es/ele-pro-table/index.d.ts +1020 -81
  138. package/es/ele-pro-table/index.js +103 -76
  139. package/es/ele-pro-table/props.d.ts +18 -19
  140. package/es/ele-pro-table/props.js +4 -2
  141. package/es/ele-pro-table/style/index.scss +44 -12
  142. package/es/ele-pro-table/types.d.ts +54 -0
  143. package/es/ele-pro-table/util.d.ts +84 -34
  144. package/es/ele-pro-table/util.js +186 -94
  145. package/es/ele-qr-code/components/canvas-render.d.ts +67 -0
  146. package/es/ele-qr-code/components/canvas-render.js +147 -0
  147. package/es/ele-qr-code/index.d.ts +5 -9
  148. package/es/ele-qr-code/index.js +33 -136
  149. package/es/ele-qr-code/props.d.ts +5 -2
  150. package/es/ele-qr-code/props.js +3 -1
  151. package/es/ele-qr-code/types.d.ts +5 -0
  152. package/es/ele-qr-code-svg/index.d.ts +6 -5
  153. package/es/ele-qr-code-svg/index.js +11 -14
  154. package/es/ele-segmented/index.d.ts +1 -1
  155. package/es/ele-segmented/index.js +6 -3
  156. package/es/ele-split-panel/index.d.ts +8 -8
  157. package/es/ele-split-panel/index.js +3 -3
  158. package/es/ele-split-panel/props.d.ts +4 -3
  159. package/es/ele-steps/index.d.ts +2 -2
  160. package/es/ele-steps/props.d.ts +2 -2
  161. package/es/ele-tab-wrap/components/tab-dropdown.d.ts +1 -1
  162. package/es/ele-tab-wrap/components/tab-dropdown.js +3 -3
  163. package/es/ele-table/index.d.ts +2 -2
  164. package/es/ele-table/props.d.ts +2 -1
  165. package/es/ele-table-select/index.d.ts +29 -27
  166. package/es/ele-table-select/index.js +47 -39
  167. package/es/ele-table-select/props.d.ts +11 -7
  168. package/es/ele-table-select/props.js +2 -0
  169. package/es/ele-tabs/index.d.ts +19 -34
  170. package/es/ele-tabs/index.js +133 -86
  171. package/es/ele-tabs/props.d.ts +10 -24
  172. package/es/ele-tabs/props.js +3 -1
  173. package/es/ele-tabs/style/index.scss +42 -2
  174. package/es/ele-tabs/types.d.ts +2 -11
  175. package/es/ele-text/index.d.ts +2 -2
  176. package/es/ele-text/props.d.ts +2 -1
  177. package/es/ele-tool/index.d.ts +11 -5
  178. package/es/ele-tool/index.js +32 -32
  179. package/es/ele-tool/props.d.ts +4 -1
  180. package/es/ele-tool/props.js +3 -1
  181. package/es/ele-tool/style/index.js +0 -1
  182. package/es/ele-toolbar/index.d.ts +3253 -7
  183. package/es/ele-toolbar/index.js +44 -5
  184. package/es/ele-toolbar/props.d.ts +10 -5
  185. package/es/ele-toolbar/props.js +2 -0
  186. package/es/ele-toolbar/style/index.js +1 -0
  187. package/es/ele-toolbar/types.d.ts +15 -0
  188. package/es/ele-tooltip/index.d.ts +22 -21
  189. package/es/ele-tooltip/index.js +25 -25
  190. package/es/ele-tooltip/props.d.ts +7 -6
  191. package/es/ele-tour/index.d.ts +4 -4
  192. package/es/ele-tour/index.js +10 -10
  193. package/es/ele-tree-select/index.d.ts +27 -27
  194. package/es/ele-tree-select/index.js +33 -30
  195. package/es/ele-tree-select/props.d.ts +12 -8
  196. package/es/ele-tree-select/props.js +3 -1
  197. package/es/ele-upload-list/components/list-item.d.ts +3 -3
  198. package/es/ele-upload-list/components/list-item.js +7 -7
  199. package/es/ele-upload-list/index.d.ts +11 -13
  200. package/es/ele-upload-list/index.js +13 -13
  201. package/es/ele-upload-list/props.d.ts +4 -3
  202. package/es/ele-upload-list/style/index.scss +4 -0
  203. package/es/ele-virtual-table/components/body-cell.d.ts +19 -35
  204. package/es/ele-virtual-table/components/body-cell.js +24 -24
  205. package/es/ele-virtual-table/components/body-row.d.ts +20 -36
  206. package/es/ele-virtual-table/components/body-row.js +21 -21
  207. package/es/ele-virtual-table/components/cell-checkbox.d.ts +4 -3
  208. package/es/ele-virtual-table/components/cell-checkbox.js +3 -3
  209. package/es/ele-virtual-table/components/cell-filter.d.ts +11 -11
  210. package/es/ele-virtual-table/components/cell-filter.js +18 -18
  211. package/es/ele-virtual-table/components/footer-row.d.ts +4 -4
  212. package/es/ele-virtual-table/components/footer-row.js +3 -3
  213. package/es/ele-virtual-table/components/header-cell.d.ts +12 -12
  214. package/es/ele-virtual-table/components/header-cell.js +15 -15
  215. package/es/ele-virtual-table/components/header-row.d.ts +12 -12
  216. package/es/ele-virtual-table/components/header-row.js +15 -15
  217. package/es/ele-virtual-table/index.d.ts +36 -35
  218. package/es/ele-virtual-table/index.js +50 -48
  219. package/es/ele-virtual-table/props.d.ts +11 -11
  220. package/es/ele-virtual-table/util.js +3 -3
  221. package/es/ele-watermark/index.d.ts +5 -4
  222. package/es/ele-watermark/index.js +1 -0
  223. package/es/ele-watermark/props.d.ts +2 -1
  224. package/es/ele-xg-player/index.d.ts +3 -3
  225. package/es/icons/SizeCompactOutlined.d.ts +2 -0
  226. package/es/icons/SizeCompactOutlined.js +34 -0
  227. package/es/icons/SizeSlackOutlined.d.ts +2 -0
  228. package/es/icons/SizeSlackOutlined.js +34 -0
  229. package/es/icons/index.d.ts +2 -0
  230. package/es/icons/index.js +46 -42
  231. package/es/lang/en_US.js +1 -0
  232. package/es/lang/zh_CN.js +1 -0
  233. package/es/lang/zh_TW.js +1 -0
  234. package/es/style/themes/default.scss +20 -13
  235. package/es/style/themes/rounded.scss +4 -9
  236. package/es/utils/core.d.ts +7 -1
  237. package/es/utils/hook.d.ts +75 -4
  238. package/es/utils/hook.js +155 -6
  239. package/lib/ele-admin-layout/index.d.ts +29 -24
  240. package/lib/ele-admin-layout/props.cjs +4 -1
  241. package/lib/ele-admin-layout/props.d.ts +15 -11
  242. package/lib/ele-admin-layout/style/index.scss +7 -2
  243. package/lib/ele-admin-layout/style/sidebar.scss +2 -0
  244. package/lib/ele-alert/index.cjs +3 -3
  245. package/lib/ele-alert/index.d.ts +15 -15
  246. package/lib/ele-alert/props.d.ts +9 -8
  247. package/lib/ele-app/components/message-body.cjs +2 -2
  248. package/lib/ele-app/components/message-body.d.ts +6 -5
  249. package/lib/ele-app/components/message-box-icon.d.ts +7 -6
  250. package/lib/ele-app/plus.d.ts +3 -0
  251. package/lib/ele-app/style/overwrite/input/index.scss +2 -0
  252. package/lib/ele-avatar-group/index.cjs +15 -15
  253. package/lib/ele-avatar-group/index.d.ts +19 -18
  254. package/lib/ele-avatar-group/props.d.ts +10 -7
  255. package/lib/ele-basic-select/index.cjs +30 -23
  256. package/lib/ele-basic-select/index.d.ts +22 -19
  257. package/lib/ele-basic-select/props.cjs +3 -1
  258. package/lib/ele-basic-select/props.d.ts +11 -6
  259. package/lib/ele-basic-select/util.cjs +13 -0
  260. package/lib/ele-basic-select/util.d.ts +6 -0
  261. package/lib/ele-bottom-bar/index.d.ts +4 -4
  262. package/lib/ele-bottom-bar/props.d.ts +3 -2
  263. package/lib/ele-breadcrumb/index.d.ts +3 -3
  264. package/lib/ele-breadcrumb/props.d.ts +1 -1
  265. package/lib/ele-card/index.d.ts +14 -14
  266. package/lib/ele-card/props.d.ts +8 -6
  267. package/lib/ele-check-card/components/card-item.d.ts +3 -2
  268. package/lib/ele-check-card/index.cjs +12 -7
  269. package/lib/ele-check-card/index.d.ts +5 -5
  270. package/lib/ele-check-card/props.d.ts +3 -2
  271. package/lib/ele-config-provider/index.d.ts +4 -4
  272. package/lib/ele-config-provider/props.d.ts +3 -3
  273. package/lib/ele-config-provider/types.d.ts +1 -0
  274. package/lib/ele-copyable/index.cjs +6 -6
  275. package/lib/ele-copyable/index.d.ts +12 -12
  276. package/lib/ele-copyable/props.d.ts +7 -5
  277. package/lib/ele-count-up/index.d.ts +1 -1
  278. package/lib/ele-cropper/components/cropper-tools.cjs +10 -10
  279. package/lib/ele-cropper/components/cropper-tools.d.ts +6 -5
  280. package/lib/ele-cropper/index.cjs +39 -39
  281. package/lib/ele-cropper/index.d.ts +16 -16
  282. package/lib/ele-cropper/props.d.ts +2 -1
  283. package/lib/ele-cropper-modal/index.cjs +3 -3
  284. package/lib/ele-cropper-modal/index.d.ts +5 -5
  285. package/lib/ele-cropper-modal/props.d.ts +1 -4
  286. package/lib/ele-data-table/index.d.ts +22 -22
  287. package/lib/ele-data-table/props.d.ts +16 -16
  288. package/lib/ele-data-table/style/index.scss +1 -1
  289. package/lib/ele-data-table/types.d.ts +2 -0
  290. package/lib/ele-data-table/util.cjs +6 -2
  291. package/lib/ele-drawer/index.cjs +18 -18
  292. package/lib/ele-drawer/index.d.ts +18 -18
  293. package/lib/ele-drawer/props.d.ts +11 -10
  294. package/lib/ele-dropdown/index.cjs +54 -48
  295. package/lib/ele-dropdown/index.d.ts +24 -24
  296. package/lib/ele-dropdown/props.d.ts +13 -12
  297. package/lib/ele-dropdown/types.d.ts +2 -0
  298. package/lib/ele-edit-tag/index.cjs +10 -2
  299. package/lib/ele-edit-tag/index.d.ts +21 -19
  300. package/lib/ele-edit-tag/props.cjs +3 -1
  301. package/lib/ele-edit-tag/props.d.ts +13 -8
  302. package/lib/ele-ellipsis/index.cjs +3 -3
  303. package/lib/ele-ellipsis/index.d.ts +6 -5
  304. package/lib/ele-ellipsis/props.d.ts +1 -1
  305. package/lib/ele-file-list/components/file-grid-item.cjs +15 -15
  306. package/lib/ele-file-list/components/file-grid-item.d.ts +5 -5
  307. package/lib/ele-file-list/components/file-grid.cjs +15 -15
  308. package/lib/ele-file-list/components/file-grid.d.ts +6 -6
  309. package/lib/ele-file-list/components/file-table-item.cjs +15 -15
  310. package/lib/ele-file-list/components/file-table-item.d.ts +5 -5
  311. package/lib/ele-file-list/components/file-table.cjs +19 -19
  312. package/lib/ele-file-list/components/file-table.d.ts +7 -7
  313. package/lib/ele-file-list/index.cjs +22 -22
  314. package/lib/ele-file-list/index.d.ts +10 -10
  315. package/lib/ele-file-list-tool/index.cjs +2 -2
  316. package/lib/ele-file-list-tool/index.d.ts +1 -1
  317. package/lib/ele-icon-select/components/icon-grid.cjs +6 -6
  318. package/lib/ele-icon-select/components/icon-grid.d.ts +10 -8
  319. package/lib/ele-icon-select/index.cjs +32 -28
  320. package/lib/ele-icon-select/index.d.ts +44 -43
  321. package/lib/ele-icon-select/props.cjs +2 -0
  322. package/lib/ele-icon-select/props.d.ts +18 -14
  323. package/lib/ele-loading/index.d.ts +4 -4
  324. package/lib/ele-loading/props.d.ts +3 -2
  325. package/lib/ele-map-picker/components/map-view.cjs +1 -0
  326. package/lib/ele-map-picker/components/map-view.d.ts +26 -28
  327. package/lib/ele-map-picker/index.d.ts +10 -10
  328. package/lib/ele-map-picker/props.d.ts +6 -5
  329. package/lib/ele-map-picker/style/index.scss +1 -1
  330. package/lib/ele-menus/index.cjs +15 -15
  331. package/lib/ele-menus/index.d.ts +2 -2
  332. package/lib/ele-menus/props.d.ts +1 -1
  333. package/lib/ele-menus/style/index.scss +5 -0
  334. package/lib/ele-menus/util.cjs +49 -26
  335. package/lib/ele-menus/util.d.ts +7 -0
  336. package/lib/ele-modal/index.cjs +46 -80
  337. package/lib/ele-modal/index.d.ts +30 -29
  338. package/lib/ele-modal/props.d.ts +14 -13
  339. package/lib/ele-modal/util.cjs +235 -132
  340. package/lib/ele-modal/util.d.ts +31 -24
  341. package/lib/ele-pagination/index.cjs +9 -8
  342. package/lib/ele-pagination/index.d.ts +20 -8
  343. package/lib/ele-pagination/props.d.ts +8 -2
  344. package/lib/ele-pagination/style/index.scss +70 -0
  345. package/lib/ele-popconfirm/index.cjs +15 -15
  346. package/lib/ele-popconfirm/index.d.ts +37 -47
  347. package/lib/ele-popconfirm/props.d.ts +18 -21
  348. package/lib/ele-popover/index.cjs +15 -15
  349. package/lib/ele-popover/index.d.ts +27 -37
  350. package/lib/ele-popover/props.cjs +1 -0
  351. package/lib/ele-popover/props.d.ts +11 -15
  352. package/lib/ele-printer/index.cjs +17 -20
  353. package/lib/ele-printer/index.d.ts +9 -9
  354. package/lib/ele-printer/props.d.ts +6 -5
  355. package/lib/ele-printer/style/index.scss +2 -2
  356. package/lib/ele-printer/types.d.ts +0 -2
  357. package/lib/ele-printer/util.cjs +111 -77
  358. package/lib/ele-printer/util.d.ts +7 -28
  359. package/lib/ele-pro-layout/index.cjs +2 -2
  360. package/lib/ele-pro-layout/index.d.ts +44 -48
  361. package/lib/ele-pro-layout/props.cjs +1 -1
  362. package/lib/ele-pro-layout/props.d.ts +17 -15
  363. package/lib/ele-pro-table/components/table-tools.cjs +225 -149
  364. package/lib/ele-pro-table/components/table-tools.d.ts +405 -35
  365. package/lib/ele-pro-table/components/tool-column-list.cjs +63 -36
  366. package/lib/ele-pro-table/components/tool-column-list.d.ts +21 -9
  367. package/lib/ele-pro-table/components/tool-column.cjs +86 -102
  368. package/lib/ele-pro-table/components/tool-column.d.ts +31 -44
  369. package/lib/ele-pro-table/components/tool-export.cjs +220 -212
  370. package/lib/ele-pro-table/components/tool-export.d.ts +37 -34
  371. package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +5 -4
  372. package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +5 -4
  373. package/lib/ele-pro-table/components/tool-print.cjs +377 -366
  374. package/lib/ele-pro-table/components/tool-print.d.ts +47 -43
  375. package/lib/ele-pro-table/index.cjs +100 -73
  376. package/lib/ele-pro-table/index.d.ts +1020 -81
  377. package/lib/ele-pro-table/props.cjs +4 -2
  378. package/lib/ele-pro-table/props.d.ts +18 -19
  379. package/lib/ele-pro-table/style/index.scss +44 -12
  380. package/lib/ele-pro-table/types.d.ts +54 -0
  381. package/lib/ele-pro-table/util.cjs +186 -94
  382. package/lib/ele-pro-table/util.d.ts +84 -34
  383. package/lib/ele-qr-code/components/canvas-render.cjs +146 -0
  384. package/lib/ele-qr-code/components/canvas-render.d.ts +67 -0
  385. package/lib/ele-qr-code/index.cjs +32 -135
  386. package/lib/ele-qr-code/index.d.ts +5 -9
  387. package/lib/ele-qr-code/props.cjs +3 -1
  388. package/lib/ele-qr-code/props.d.ts +5 -2
  389. package/lib/ele-qr-code/types.d.ts +5 -0
  390. package/lib/ele-qr-code-svg/index.cjs +10 -13
  391. package/lib/ele-qr-code-svg/index.d.ts +6 -5
  392. package/lib/ele-segmented/index.cjs +6 -3
  393. package/lib/ele-segmented/index.d.ts +1 -1
  394. package/lib/ele-split-panel/index.cjs +3 -3
  395. package/lib/ele-split-panel/index.d.ts +8 -8
  396. package/lib/ele-split-panel/props.d.ts +4 -3
  397. package/lib/ele-steps/index.d.ts +2 -2
  398. package/lib/ele-steps/props.d.ts +2 -2
  399. package/lib/ele-tab-wrap/components/tab-dropdown.cjs +3 -3
  400. package/lib/ele-tab-wrap/components/tab-dropdown.d.ts +1 -1
  401. package/lib/ele-table/index.d.ts +2 -2
  402. package/lib/ele-table/props.d.ts +2 -1
  403. package/lib/ele-table-select/index.cjs +62 -54
  404. package/lib/ele-table-select/index.d.ts +29 -27
  405. package/lib/ele-table-select/props.cjs +2 -0
  406. package/lib/ele-table-select/props.d.ts +11 -7
  407. package/lib/ele-tabs/index.cjs +132 -85
  408. package/lib/ele-tabs/index.d.ts +19 -34
  409. package/lib/ele-tabs/props.cjs +3 -1
  410. package/lib/ele-tabs/props.d.ts +10 -24
  411. package/lib/ele-tabs/style/index.scss +42 -2
  412. package/lib/ele-tabs/types.d.ts +2 -11
  413. package/lib/ele-text/index.d.ts +2 -2
  414. package/lib/ele-text/props.d.ts +2 -1
  415. package/lib/ele-tool/index.cjs +31 -31
  416. package/lib/ele-tool/index.d.ts +11 -5
  417. package/lib/ele-tool/props.cjs +3 -1
  418. package/lib/ele-tool/props.d.ts +4 -1
  419. package/lib/ele-tool/style/index.cjs +0 -1
  420. package/lib/ele-toolbar/index.cjs +42 -3
  421. package/lib/ele-toolbar/index.d.ts +3253 -7
  422. package/lib/ele-toolbar/props.cjs +2 -0
  423. package/lib/ele-toolbar/props.d.ts +10 -5
  424. package/lib/ele-toolbar/style/index.cjs +1 -0
  425. package/lib/ele-toolbar/types.d.ts +15 -0
  426. package/lib/ele-tooltip/index.cjs +25 -25
  427. package/lib/ele-tooltip/index.d.ts +22 -21
  428. package/lib/ele-tooltip/props.d.ts +7 -6
  429. package/lib/ele-tour/index.cjs +10 -10
  430. package/lib/ele-tour/index.d.ts +4 -4
  431. package/lib/ele-tree-select/index.cjs +32 -29
  432. package/lib/ele-tree-select/index.d.ts +27 -27
  433. package/lib/ele-tree-select/props.cjs +3 -1
  434. package/lib/ele-tree-select/props.d.ts +12 -8
  435. package/lib/ele-upload-list/components/list-item.cjs +7 -7
  436. package/lib/ele-upload-list/components/list-item.d.ts +3 -3
  437. package/lib/ele-upload-list/index.cjs +13 -13
  438. package/lib/ele-upload-list/index.d.ts +11 -13
  439. package/lib/ele-upload-list/props.d.ts +4 -3
  440. package/lib/ele-upload-list/style/index.scss +4 -0
  441. package/lib/ele-virtual-table/components/body-cell.cjs +24 -24
  442. package/lib/ele-virtual-table/components/body-cell.d.ts +19 -35
  443. package/lib/ele-virtual-table/components/body-row.cjs +21 -21
  444. package/lib/ele-virtual-table/components/body-row.d.ts +20 -36
  445. package/lib/ele-virtual-table/components/cell-checkbox.cjs +3 -3
  446. package/lib/ele-virtual-table/components/cell-checkbox.d.ts +4 -3
  447. package/lib/ele-virtual-table/components/cell-filter.cjs +18 -18
  448. package/lib/ele-virtual-table/components/cell-filter.d.ts +11 -11
  449. package/lib/ele-virtual-table/components/footer-row.cjs +3 -3
  450. package/lib/ele-virtual-table/components/footer-row.d.ts +4 -4
  451. package/lib/ele-virtual-table/components/header-cell.cjs +15 -15
  452. package/lib/ele-virtual-table/components/header-cell.d.ts +12 -12
  453. package/lib/ele-virtual-table/components/header-row.cjs +15 -15
  454. package/lib/ele-virtual-table/components/header-row.d.ts +12 -12
  455. package/lib/ele-virtual-table/index.cjs +50 -48
  456. package/lib/ele-virtual-table/index.d.ts +36 -35
  457. package/lib/ele-virtual-table/props.d.ts +11 -11
  458. package/lib/ele-virtual-table/util.cjs +3 -3
  459. package/lib/ele-watermark/index.cjs +1 -0
  460. package/lib/ele-watermark/index.d.ts +5 -4
  461. package/lib/ele-watermark/props.d.ts +2 -1
  462. package/lib/ele-xg-player/index.d.ts +3 -3
  463. package/lib/icons/SizeCompactOutlined.cjs +33 -0
  464. package/lib/icons/SizeCompactOutlined.d.ts +2 -0
  465. package/lib/icons/SizeSlackOutlined.cjs +33 -0
  466. package/lib/icons/SizeSlackOutlined.d.ts +2 -0
  467. package/lib/icons/index.cjs +4 -0
  468. package/lib/icons/index.d.ts +2 -0
  469. package/lib/lang/en_US.cjs +1 -0
  470. package/lib/lang/zh_CN.cjs +1 -0
  471. package/lib/lang/zh_TW.cjs +1 -0
  472. package/lib/style/themes/default.scss +20 -13
  473. package/lib/style/themes/rounded.scss +4 -9
  474. package/lib/utils/core.d.ts +7 -1
  475. package/lib/utils/hook.cjs +154 -5
  476. package/lib/utils/hook.d.ts +75 -4
  477. package/package.json +14 -13
@@ -9,11 +9,14 @@ const EleTool = require("../../ele-tool/index");
9
9
  const ToolColumn = require("./tool-column");
10
10
  const ToolExport = require("./tool-export");
11
11
  const ToolPrint = require("./tool-print");
12
+ const ownSlots = ["default", "printTop", "printBottom"];
12
13
  const _sfc_main = vue.defineComponent({
13
14
  name: "TableTools",
14
15
  components: {
15
16
  ElIcon: elementPlus.ElIcon,
16
17
  ReloadOutlined: icons.ReloadOutlined,
18
+ DownloadOutlined: icons.DownloadOutlined,
19
+ PrinterOutlined: icons.PrinterOutlined,
17
20
  ColumnHeightOutlined: icons.ColumnHeightOutlined,
18
21
  FullscreenOutlined: icons.FullscreenOutlined,
19
22
  FullscreenExitOutlined: icons.FullscreenExitOutlined,
@@ -85,14 +88,14 @@ const _sfc_main = vue.defineComponent({
85
88
  emits: {
86
89
  reload: () => true,
87
90
  "update:size": (_size) => true,
88
- "update:columns": (_columns) => true,
91
+ "update:columns": (_columns, _tableColumns) => true,
89
92
  "update:maximized": (_maximized) => true
90
93
  },
91
94
  setup(props, { emit }) {
92
95
  const { lang } = receiver.useLocale("table", props);
93
- const placement = vue.computed(() => {
94
- return props.maximized ? "bottom" : "top";
95
- });
96
+ const toolExportRef = vue.ref(null);
97
+ const toolPrintRef = vue.ref(null);
98
+ const placement = vue.computed(() => props.maximized ? "bottom" : "top");
96
99
  const reload = () => {
97
100
  emit("reload");
98
101
  };
@@ -102,19 +105,49 @@ const _sfc_main = vue.defineComponent({
102
105
  }
103
106
  emit("update:size", size);
104
107
  };
105
- const updateColumns = (columns) => {
106
- emit("update:columns", columns);
108
+ const updateColumns = (columns, tableColumns) => {
109
+ emit("update:columns", columns, tableColumns);
107
110
  };
108
111
  const toggleMaximized = () => {
109
112
  emit("update:maximized", !props.maximized);
110
113
  };
114
+ const openExportModal = () => {
115
+ if (toolExportRef.value) {
116
+ toolExportRef.value.openModal();
117
+ }
118
+ };
119
+ const openPrintModal = () => {
120
+ if (toolPrintRef.value) {
121
+ toolPrintRef.value.openModal();
122
+ }
123
+ };
124
+ const printData = (params) => {
125
+ if (toolPrintRef.value) {
126
+ toolPrintRef.value.printData(params);
127
+ }
128
+ };
129
+ const exportData = (params) => {
130
+ if (toolExportRef.value) {
131
+ toolExportRef.value.exportData(params);
132
+ }
133
+ };
111
134
  return {
135
+ ownSlots,
136
+ SizeSlackOutlined: icons.SizeSlackOutlined,
137
+ MenuOutlined: icons.MenuOutlined,
138
+ SizeCompactOutlined: icons.SizeCompactOutlined,
112
139
  lang,
140
+ toolExportRef,
141
+ toolPrintRef,
113
142
  placement,
114
143
  reload,
115
144
  updateSize,
116
145
  updateColumns,
117
- toggleMaximized
146
+ toggleMaximized,
147
+ openExportModal,
148
+ openPrintModal,
149
+ printData,
150
+ exportData
118
151
  };
119
152
  }
120
153
  });
@@ -126,156 +159,199 @@ const _export_sfc = (sfc, props) => {
126
159
  return target;
127
160
  };
128
161
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
162
+ const _component_ToolExport = vue.resolveComponent("ToolExport");
163
+ const _component_ToolPrint = vue.resolveComponent("ToolPrint");
129
164
  const _component_ReloadOutlined = vue.resolveComponent("ReloadOutlined");
130
165
  const _component_ElIcon = vue.resolveComponent("ElIcon");
131
166
  const _component_EleTool = vue.resolveComponent("EleTool");
167
+ const _component_DownloadOutlined = vue.resolveComponent("DownloadOutlined");
168
+ const _component_PrinterOutlined = vue.resolveComponent("PrinterOutlined");
132
169
  const _component_ColumnHeightOutlined = vue.resolveComponent("ColumnHeightOutlined");
133
170
  const _component_EleDropdown = vue.resolveComponent("EleDropdown");
134
171
  const _component_ToolColumn = vue.resolveComponent("ToolColumn");
135
172
  const _component_FullscreenExitOutlined = vue.resolveComponent("FullscreenExitOutlined");
136
173
  const _component_FullscreenOutlined = vue.resolveComponent("FullscreenOutlined");
137
- const _component_ToolExport = vue.resolveComponent("ToolExport");
138
- const _component_ToolPrint = vue.resolveComponent("ToolPrint");
139
- return vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tools, (tool, index) => {
140
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
141
- tool === "reload" ? (vue.openBlock(), vue.createBlock(_component_EleTool, {
142
- key: index + "-reload",
143
- placement: _ctx.placement,
144
- title: _ctx.lang.refresh,
145
- onClick: _ctx.reload
146
- }, {
147
- default: vue.withCtx(() => [
148
- vue.createVNode(_component_ElIcon, null, {
149
- default: vue.withCtx(() => [
150
- vue.createVNode(_component_ReloadOutlined)
151
- ]),
152
- _: 1
153
- })
154
- ]),
155
- _: 2
156
- }, 1032, ["placement", "title", "onClick"])) : tool === "size" ? (vue.openBlock(), vue.createBlock(_component_EleTool, {
157
- key: index + "-size",
158
- placement: _ctx.placement,
159
- title: _ctx.lang.sizes
160
- }, {
161
- default: vue.withCtx(() => [
162
- vue.createVNode(_component_EleDropdown, {
163
- trigger: "click",
164
- placement: "bottom",
165
- popperClass: "ele-tool-size-popper",
166
- modelValue: _ctx.size,
167
- items: [
168
- { title: _ctx.lang.sizeLarge, command: "large" },
169
- { title: _ctx.lang.sizeDefault, command: "default" },
170
- { title: _ctx.lang.sizeSmall, command: "small" }
171
- ],
172
- popperOptions: {
173
- modifiers: [{ name: "offset", options: { offset: [0, 10] } }]
174
- },
175
- onCommand: _ctx.updateSize
176
- }, {
177
- default: vue.withCtx(() => [
178
- vue.createVNode(_component_ElIcon, null, {
179
- default: vue.withCtx(() => [
180
- vue.createVNode(_component_ColumnHeightOutlined)
181
- ]),
182
- _: 1
183
- })
184
- ]),
185
- _: 1
186
- }, 8, ["modelValue", "items", "onCommand"])
187
- ]),
188
- _: 2
189
- }, 1032, ["placement", "title"])) : tool === "columns" ? (vue.openBlock(), vue.createBlock(_component_ToolColumn, {
190
- key: index + "-columns",
191
- title: _ctx.lang.columns,
192
- placement: _ctx.placement,
193
- checkAllText: _ctx.lang.columnTitle,
194
- resetText: _ctx.lang.columnReset,
195
- untitledText: _ctx.lang.columnUntitled,
196
- fixedLeftText: _ctx.lang.columnFixedLeft,
197
- fixedRightText: _ctx.lang.columnFixedRight,
198
- columns: _ctx.columns,
199
- sortable: _ctx.columnSortable,
200
- allowFixed: _ctx.columnFixed,
201
- cacheKey: _ctx.cacheKey,
202
- "onUpdate:columns": _ctx.updateColumns
203
- }, null, 8, ["title", "placement", "checkAllText", "resetText", "untitledText", "fixedLeftText", "fixedRightText", "columns", "sortable", "allowFixed", "cacheKey", "onUpdate:columns"])) : tool === "maximized" ? (vue.openBlock(), vue.createBlock(_component_EleTool, {
204
- key: index + "-maximized",
205
- placement: _ctx.placement,
206
- title: _ctx.lang.maximized,
207
- onClick: _ctx.toggleMaximized
208
- }, {
209
- default: vue.withCtx(() => [
210
- vue.createVNode(_component_ElIcon, null, {
211
- default: vue.withCtx(() => [
212
- _ctx.maximized ? (vue.openBlock(), vue.createBlock(_component_FullscreenExitOutlined, { key: 0 })) : (vue.openBlock(), vue.createBlock(_component_FullscreenOutlined, { key: 1 }))
213
- ]),
214
- _: 1
215
- })
216
- ]),
217
- _: 2
218
- }, 1032, ["placement", "title", "onClick"])) : tool === "export" ? (vue.openBlock(), vue.createBlock(_component_ToolExport, {
219
- key: index + "-export",
220
- placement: _ctx.placement,
221
- locale: _ctx.lang,
222
- modalProps: _ctx.exportConfig.modalProps,
223
- columns: _ctx.columns,
224
- selections: _ctx.selections,
225
- pageData: _ctx.pageData,
226
- datasource: _ctx.exportConfig.datasource,
227
- spanMethod: _ctx.spanMethod,
228
- tableHeader: _ctx.tableHeader,
229
- showSummary: _ctx.showSummary,
230
- sumText: _ctx.sumText,
231
- summaryMethod: _ctx.summaryMethod,
232
- pageIndex: _ctx.pageIndex,
233
- treeProps: _ctx.treeProps,
234
- fetch: _ctx.fetch,
235
- defaultFileName: _ctx.exportConfig.fileName,
236
- defaultDataType: _ctx.exportConfig.dataType,
237
- beforeExport: _ctx.exportConfig.beforeExport
238
- }, null, 8, ["placement", "locale", "modalProps", "columns", "selections", "pageData", "datasource", "spanMethod", "tableHeader", "showSummary", "sumText", "summaryMethod", "pageIndex", "treeProps", "fetch", "defaultFileName", "defaultDataType", "beforeExport"])) : tool === "print" ? (vue.openBlock(), vue.createBlock(_component_ToolPrint, {
239
- key: index + "-print",
240
- placement: _ctx.placement,
241
- locale: _ctx.lang,
242
- modalProps: _ctx.printConfig.modalProps,
243
- printerProps: _ctx.printConfig.printerProps,
244
- tableProps: _ctx.printConfig.tableProps,
245
- columns: _ctx.columns,
246
- selections: _ctx.selections,
247
- pageData: _ctx.pageData,
248
- datasource: _ctx.printConfig.datasource,
249
- spanMethod: _ctx.spanMethod,
250
- tableHeader: _ctx.tableHeader,
251
- showSummary: _ctx.showSummary,
252
- sumText: _ctx.sumText,
253
- summaryMethod: _ctx.summaryMethod,
254
- cellStyle: _ctx.cellStyle,
255
- cellClassName: _ctx.cellClassName,
256
- headerCellStyle: _ctx.headerCellStyle,
257
- headerCellClassName: _ctx.headerCellClassName,
258
- pageIndex: _ctx.pageIndex,
259
- treeProps: _ctx.treeProps,
260
- fetch: _ctx.fetch,
261
- defaultDataType: _ctx.printConfig.dataType,
262
- beforePrint: _ctx.printConfig.beforePrint
263
- }, vue.createSlots({ _: 2 }, [
264
- vue.renderList(Object.keys(_ctx.$slots), (name) => {
265
- return {
266
- name,
267
- fn: vue.withCtx((slotProps) => [
268
- vue.renderSlot(_ctx.$slots, name, vue.mergeProps({ ref_for: true }, slotProps || {}))
269
- ])
270
- };
271
- })
272
- ]), 1032, ["placement", "locale", "modalProps", "printerProps", "tableProps", "columns", "selections", "pageData", "datasource", "spanMethod", "tableHeader", "showSummary", "sumText", "summaryMethod", "cellStyle", "cellClassName", "headerCellStyle", "headerCellClassName", "pageIndex", "treeProps", "fetch", "defaultDataType", "beforePrint"])) : tool && !["default", "printTop", "printBottom"].includes(tool) && _ctx.$slots[tool] ? vue.renderSlot(_ctx.$slots, tool, {
273
- key: 6,
274
- pageIndex: _ctx.pageIndex,
275
- fetch: _ctx.fetch
276
- }) : vue.createCommentVNode("", true)
277
- ], 64);
278
- }), 256);
174
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
175
+ vue.createVNode(_component_ToolExport, {
176
+ ref: "toolExportRef",
177
+ locale: _ctx.lang,
178
+ cacheKey: _ctx.cacheKey,
179
+ modalProps: _ctx.exportConfig.modalProps,
180
+ columns: _ctx.exportConfig.columns || _ctx.columns,
181
+ selections: _ctx.selections,
182
+ pageData: _ctx.pageData,
183
+ datasource: _ctx.exportConfig.datasource,
184
+ spanMethod: _ctx.spanMethod,
185
+ tableHeader: _ctx.exportConfig.showHeader ?? _ctx.tableHeader,
186
+ showSummary: _ctx.showSummary,
187
+ sumText: _ctx.sumText,
188
+ summaryMethod: _ctx.summaryMethod,
189
+ pageIndex: _ctx.pageIndex,
190
+ treeProps: _ctx.treeProps,
191
+ fetch: _ctx.fetch,
192
+ defaultFileName: _ctx.exportConfig.fileName,
193
+ defaultDataType: _ctx.exportConfig.dataType,
194
+ defaultShowFooter: _ctx.exportConfig.showFooter,
195
+ defaultShowTreeIndex: _ctx.exportConfig.showTreeIndex,
196
+ beforeExport: _ctx.exportConfig.beforeExport
197
+ }, null, 8, ["locale", "cacheKey", "modalProps", "columns", "selections", "pageData", "datasource", "spanMethod", "tableHeader", "showSummary", "sumText", "summaryMethod", "pageIndex", "treeProps", "fetch", "defaultFileName", "defaultDataType", "defaultShowFooter", "defaultShowTreeIndex", "beforeExport"]),
198
+ vue.createVNode(_component_ToolPrint, {
199
+ ref: "toolPrintRef",
200
+ locale: _ctx.lang,
201
+ cacheKey: _ctx.cacheKey,
202
+ modalProps: _ctx.printConfig.modalProps,
203
+ printerProps: _ctx.printConfig.printerProps,
204
+ tableProps: _ctx.printConfig.tableProps,
205
+ columns: _ctx.printConfig.columns || _ctx.columns,
206
+ selections: _ctx.selections,
207
+ pageData: _ctx.pageData,
208
+ datasource: _ctx.printConfig.datasource,
209
+ spanMethod: _ctx.spanMethod,
210
+ tableHeader: _ctx.printConfig.showHeader ?? _ctx.tableHeader,
211
+ showSummary: _ctx.showSummary,
212
+ sumText: _ctx.sumText,
213
+ summaryMethod: _ctx.summaryMethod,
214
+ cellStyle: _ctx.cellStyle,
215
+ cellClassName: _ctx.cellClassName,
216
+ headerCellStyle: _ctx.headerCellStyle,
217
+ headerCellClassName: _ctx.headerCellClassName,
218
+ pageIndex: _ctx.pageIndex,
219
+ treeProps: _ctx.treeProps,
220
+ fetch: _ctx.fetch,
221
+ defaultDataType: _ctx.printConfig.dataType,
222
+ defaultShowFooter: _ctx.printConfig.showFooter,
223
+ defaultShowTreeIndex: _ctx.printConfig.showTreeIndex,
224
+ beforePrint: _ctx.printConfig.beforePrint
225
+ }, vue.createSlots({ _: 2 }, [
226
+ vue.renderList(Object.keys(_ctx.$slots), (name) => {
227
+ return {
228
+ name,
229
+ fn: vue.withCtx((slotProps) => [
230
+ vue.renderSlot(_ctx.$slots, name, vue.normalizeProps(vue.guardReactiveProps(slotProps || {})))
231
+ ])
232
+ };
233
+ })
234
+ ]), 1032, ["locale", "cacheKey", "modalProps", "printerProps", "tableProps", "columns", "selections", "pageData", "datasource", "spanMethod", "tableHeader", "showSummary", "sumText", "summaryMethod", "cellStyle", "cellClassName", "headerCellStyle", "headerCellClassName", "pageIndex", "treeProps", "fetch", "defaultDataType", "defaultShowFooter", "defaultShowTreeIndex", "beforePrint"]),
235
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tools, (tool, index) => {
236
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
237
+ tool === "reload" ? (vue.openBlock(), vue.createBlock(_component_EleTool, {
238
+ key: index + "-reload",
239
+ placement: _ctx.placement,
240
+ title: _ctx.lang.refresh,
241
+ onClick: _ctx.reload
242
+ }, {
243
+ default: vue.withCtx(() => [
244
+ vue.createVNode(_component_ElIcon, null, {
245
+ default: vue.withCtx(() => [
246
+ vue.createVNode(_component_ReloadOutlined)
247
+ ]),
248
+ _: 1
249
+ })
250
+ ]),
251
+ _: 2
252
+ }, 1032, ["placement", "title", "onClick"])) : tool === "export" ? (vue.openBlock(), vue.createBlock(_component_EleTool, {
253
+ key: index + "-export",
254
+ title: _ctx.lang.export,
255
+ placement: _ctx.placement,
256
+ clickHideTooltip: true,
257
+ onClick: _ctx.openExportModal
258
+ }, {
259
+ default: vue.withCtx(() => [
260
+ vue.createVNode(_component_ElIcon, { style: { "transform": "scale(1.1)", "transform-origin": "bottom" } }, {
261
+ default: vue.withCtx(() => [
262
+ vue.createVNode(_component_DownloadOutlined)
263
+ ]),
264
+ _: 1
265
+ })
266
+ ]),
267
+ _: 2
268
+ }, 1032, ["title", "placement", "onClick"])) : tool === "print" ? (vue.openBlock(), vue.createBlock(_component_EleTool, {
269
+ key: index + "-print",
270
+ title: _ctx.lang.print,
271
+ placement: _ctx.placement,
272
+ clickHideTooltip: true,
273
+ onClick: _ctx.openPrintModal
274
+ }, {
275
+ default: vue.withCtx(() => [
276
+ vue.createVNode(_component_ElIcon, null, {
277
+ default: vue.withCtx(() => [
278
+ vue.createVNode(_component_PrinterOutlined)
279
+ ]),
280
+ _: 1
281
+ })
282
+ ]),
283
+ _: 2
284
+ }, 1032, ["title", "placement", "onClick"])) : tool === "size" ? (vue.openBlock(), vue.createBlock(_component_EleTool, {
285
+ key: index + "-size",
286
+ placement: _ctx.placement,
287
+ title: _ctx.lang.sizes
288
+ }, {
289
+ default: vue.withCtx(() => [
290
+ vue.createVNode(_component_EleDropdown, {
291
+ trigger: "click",
292
+ placement: "bottom",
293
+ popperClass: "ele-tool-size-popper",
294
+ modelValue: _ctx.size,
295
+ items: [
296
+ { title: _ctx.lang.sizeLarge, command: "large", icon: _ctx.SizeSlackOutlined },
297
+ {
298
+ title: _ctx.lang.sizeDefault,
299
+ command: "default",
300
+ icon: _ctx.MenuOutlined,
301
+ iconStyle: { transform: "scale(0.94)", transformOrigin: "left" }
302
+ },
303
+ { title: _ctx.lang.sizeSmall, command: "small", icon: _ctx.SizeCompactOutlined }
304
+ ],
305
+ popperOptions: {
306
+ modifiers: [{ name: "offset", options: { offset: [0, 10] } }]
307
+ },
308
+ onCommand: _ctx.updateSize
309
+ }, {
310
+ default: vue.withCtx(() => [
311
+ vue.createVNode(_component_ElIcon, null, {
312
+ default: vue.withCtx(() => [
313
+ vue.createVNode(_component_ColumnHeightOutlined)
314
+ ]),
315
+ _: 1
316
+ })
317
+ ]),
318
+ _: 1
319
+ }, 8, ["modelValue", "items", "onCommand"])
320
+ ]),
321
+ _: 2
322
+ }, 1032, ["placement", "title"])) : tool === "columns" ? (vue.openBlock(), vue.createBlock(_component_ToolColumn, {
323
+ key: index + "-columns",
324
+ placement: _ctx.placement,
325
+ locale: _ctx.lang,
326
+ columns: _ctx.columns,
327
+ sortable: _ctx.columnSortable,
328
+ allowFixed: _ctx.columnFixed,
329
+ cacheKey: _ctx.cacheKey,
330
+ "onUpdate:columns": _ctx.updateColumns
331
+ }, null, 8, ["placement", "locale", "columns", "sortable", "allowFixed", "cacheKey", "onUpdate:columns"])) : tool === "maximized" ? (vue.openBlock(), vue.createBlock(_component_EleTool, {
332
+ key: index + "-maximized",
333
+ placement: _ctx.placement,
334
+ title: _ctx.lang.maximized,
335
+ clickHideTooltip: true,
336
+ onClick: _ctx.toggleMaximized
337
+ }, {
338
+ default: vue.withCtx(() => [
339
+ vue.createVNode(_component_ElIcon, null, {
340
+ default: vue.withCtx(() => [
341
+ _ctx.maximized ? (vue.openBlock(), vue.createBlock(_component_FullscreenExitOutlined, { key: 0 })) : (vue.openBlock(), vue.createBlock(_component_FullscreenOutlined, { key: 1 }))
342
+ ]),
343
+ _: 1
344
+ })
345
+ ]),
346
+ _: 2
347
+ }, 1032, ["placement", "title", "onClick"])) : tool && !_ctx.ownSlots.includes(tool) && _ctx.$slots[tool] ? vue.renderSlot(_ctx.$slots, tool, {
348
+ key: 6,
349
+ pageIndex: _ctx.pageIndex,
350
+ fetch: _ctx.fetch
351
+ }) : vue.createCommentVNode("", true)
352
+ ], 64);
353
+ }), 256))
354
+ ], 64);
279
355
  }
280
356
  const tableTools = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
281
357
  module.exports = tableTools;