@element-plus/nightly 0.0.20260720 → 0.0.20260721

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 (626) hide show
  1. package/es/components/affix/src/affix.d.ts +1 -1
  2. package/es/components/affix/src/affix.vue.d.ts +3 -3
  3. package/es/components/alert/src/alert.d.ts +2 -2
  4. package/es/components/anchor/src/anchor.d.ts +1 -1
  5. package/es/components/anchor/src/anchor.vue.d.ts +2 -2
  6. package/es/components/autocomplete/src/autocomplete.d.ts +7 -108
  7. package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
  8. package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  9. package/es/components/autocomplete/src/autocomplete.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  10. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  11. package/es/components/avatar/src/avatar-group-props.d.ts +9 -106
  12. package/es/components/avatar/src/avatar-group-props.mjs +9 -1
  13. package/es/components/avatar/src/avatar-group-props.mjs.map +1 -1
  14. package/es/components/avatar/src/avatar-group.d.ts +20 -213
  15. package/es/components/avatar/src/avatar.d.ts +3 -3
  16. package/es/components/backtop/src/backtop.vue.d.ts +1 -1
  17. package/es/components/badge/src/badge.d.ts +4 -8
  18. package/es/components/badge/src/badge.mjs +9 -1
  19. package/es/components/badge/src/badge.mjs.map +1 -1
  20. package/es/components/badge/src/badge.vue.d.ts +3 -1
  21. package/es/components/badge/src/badge.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  22. package/es/components/badge/src/badge2.mjs.map +1 -1
  23. package/es/components/button/src/button-group.d.ts +2 -2
  24. package/es/components/button/src/button-group.vue.d.ts +1 -1
  25. package/es/components/button/src/button.d.ts +2 -2
  26. package/es/components/button/src/button.vue.d.ts +4 -4
  27. package/es/components/button/src/use-button.d.ts +2 -2
  28. package/es/components/calendar/src/calendar.mjs.map +1 -1
  29. package/es/components/calendar/src/calendar.vue.d.ts +1 -1
  30. package/es/components/calendar/style/css.mjs +1 -1
  31. package/es/components/calendar/style/index.mjs +1 -1
  32. package/es/components/card/src/card.d.ts +8 -7
  33. package/es/components/card/src/card.mjs +27 -3
  34. package/es/components/card/src/card.mjs.map +1 -1
  35. package/es/components/card/src/card.vue.d.ts +4 -0
  36. package/es/components/card/src/card.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  37. package/es/components/card/src/card2.mjs.map +1 -1
  38. package/es/components/carousel/src/carousel.d.ts +1 -1
  39. package/es/components/carousel/src/carousel.vue.d.ts +4 -4
  40. package/es/components/cascader/src/cascader.d.ts +9 -110
  41. package/es/components/cascader/src/cascader.mjs.map +1 -1
  42. package/es/components/cascader/src/cascader.vue.d.ts +22 -20
  43. package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  44. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  45. package/es/components/cascader-panel/src/index.vue.d.ts +4 -4
  46. package/es/components/cascader-panel/src/menu.vue.d.ts +1 -1
  47. package/es/components/check-tag/src/check-tag.d.ts +1 -1
  48. package/es/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
  49. package/es/components/checkbox/src/checkbox-group.d.ts +1 -1
  50. package/es/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
  51. package/es/components/checkbox/src/checkbox.d.ts +9 -9
  52. package/es/components/checkbox/src/checkbox.vue.d.ts +6 -6
  53. package/es/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
  54. package/es/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
  55. package/es/components/col/src/col.vue.d.ts +1 -1
  56. package/es/components/collapse/src/collapse-item.vue.d.ts +1 -1
  57. package/es/components/collapse/src/collapse.d.ts +1 -1
  58. package/es/components/collapse/src/collapse.vue.d.ts +1 -1
  59. package/es/components/color-picker/src/color-picker.d.ts +5 -104
  60. package/es/components/color-picker/src/color-picker.mjs +1 -0
  61. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  62. package/es/components/color-picker/src/color-picker.vue.d.ts +12 -10
  63. package/es/components/color-picker-panel/src/color-picker-panel.d.ts +4 -10
  64. package/es/components/color-picker-panel/src/color-picker-panel.mjs +9 -5
  65. package/es/components/color-picker-panel/src/color-picker-panel.mjs.map +1 -1
  66. package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +4 -1
  67. package/es/components/color-picker-panel/src/color-picker-panel.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  68. package/es/components/color-picker-panel/src/color-picker-panel2.mjs.map +1 -1
  69. package/es/components/config-provider/src/config-provider-props.d.ts +1 -1
  70. package/es/components/config-provider/src/config-provider.d.ts +2 -2
  71. package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  72. package/es/components/date-picker/src/date-picker.d.ts +17 -217
  73. package/es/components/date-picker/src/props.d.ts +4 -104
  74. package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  75. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +3 -3
  76. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
  77. package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
  78. package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
  79. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
  80. package/es/components/date-picker-panel/src/panel-utils.d.ts +21 -21
  81. package/es/components/date-picker-panel/src/props/basic-date-table.mjs.map +1 -1
  82. package/es/components/descriptions/src/description-item.d.ts +18 -18
  83. package/es/components/descriptions/src/description.d.ts +1 -1
  84. package/es/components/descriptions/src/description.vue.d.ts +2 -2
  85. package/es/components/dialog/src/dialog-content.d.ts +10 -6
  86. package/es/components/dialog/src/dialog-content.mjs +32 -5
  87. package/es/components/dialog/src/dialog-content.mjs.map +1 -1
  88. package/es/components/dialog/src/dialog-content.vue.d.ts +5 -1
  89. package/es/components/dialog/src/dialog.d.ts +10 -5
  90. package/es/components/dialog/src/dialog.mjs +11 -14
  91. package/es/components/dialog/src/dialog.mjs.map +1 -1
  92. package/es/components/dialog/src/dialog.vue.d.ts +9 -4
  93. package/es/components/divider/src/divider.d.ts +1 -1
  94. package/es/components/divider/src/divider.vue.d.ts +1 -1
  95. package/es/components/drawer/src/drawer.d.ts +5 -4
  96. package/es/components/drawer/src/drawer.vue.d.ts +12 -7
  97. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +2 -2
  98. package/es/components/dropdown/src/dropdown-item.vue.d.ts +5 -5
  99. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  100. package/es/components/dropdown/src/dropdown.d.ts +5 -106
  101. package/es/components/dropdown/src/dropdown.vue.d.ts +115 -313
  102. package/es/components/dropdown/style/css.mjs +1 -1
  103. package/es/components/dropdown/style/index.mjs +1 -1
  104. package/es/components/form/src/form-item.d.ts +3 -3
  105. package/es/components/form/src/form-item.vue.d.ts +2 -2
  106. package/es/components/form/src/form.d.ts +4 -4
  107. package/es/components/form/src/hooks/use-form-common-props.d.ts +2 -2
  108. package/es/components/image/src/image.d.ts +1 -1
  109. package/es/components/image/src/image.mjs.map +1 -1
  110. package/es/components/image/src/image.vue.d.ts +4 -4
  111. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  112. package/es/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
  113. package/es/components/input/src/input.d.ts +4 -4
  114. package/es/components/input/src/input.vue.d.ts +19 -19
  115. package/es/components/input-number/src/input-number.d.ts +3 -3
  116. package/es/components/input-number/src/input-number.vue.d.ts +10 -10
  117. package/es/components/input-otp/src/input-otp.vue.d.ts +7 -7
  118. package/es/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
  119. package/es/components/input-tag/src/input-tag.d.ts +3 -3
  120. package/es/components/input-tag/src/input-tag.vue.d.ts +12 -12
  121. package/es/components/link/src/link.d.ts +2 -2
  122. package/es/components/link/src/link.mjs.map +1 -1
  123. package/es/components/mention/src/mention.d.ts +7 -108
  124. package/es/components/mention/src/mention.vue.d.ts +5 -5
  125. package/es/components/mention/src/mention.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  126. package/es/components/mention/src/mention2.mjs.map +1 -1
  127. package/es/components/menu/src/menu.d.ts +13 -25
  128. package/es/components/menu/src/menu.mjs +18 -2
  129. package/es/components/menu/src/menu.mjs.map +1 -1
  130. package/es/components/menu/src/sub-menu.d.ts +11 -23
  131. package/es/components/menu/src/sub-menu.mjs +18 -2
  132. package/es/components/menu/src/sub-menu.mjs.map +1 -1
  133. package/es/components/message/src/instance.d.ts +1 -1
  134. package/es/components/message/src/message.d.ts +5 -5
  135. package/es/components/message/src/message.mjs +6 -1
  136. package/es/components/message/src/message.mjs.map +1 -1
  137. package/es/components/message/src/message.vue.d.ts +7 -6
  138. package/es/components/message/src/method.mjs.map +1 -1
  139. package/es/components/message-box/src/index.vue.d.ts +73 -81
  140. package/es/components/notification/src/notification.d.ts +4 -3
  141. package/es/components/notification/src/notification.mjs +6 -1
  142. package/es/components/notification/src/notification.mjs.map +1 -1
  143. package/es/components/notification/src/notification.vue.d.ts +5 -4
  144. package/es/components/overlay/index.d.ts +4 -12
  145. package/es/components/overlay/src/overlay.d.ts +5 -18
  146. package/es/components/overlay/src/overlay.mjs +9 -5
  147. package/es/components/overlay/src/overlay.mjs.map +1 -1
  148. package/es/components/pagination/src/components/jumper.d.ts +1 -1
  149. package/es/components/pagination/src/components/jumper.vue.d.ts +2 -2
  150. package/es/components/pagination/src/components/sizes.d.ts +5 -14
  151. package/es/components/pagination/src/components/sizes.mjs +18 -2
  152. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  153. package/es/components/pagination/src/components/sizes.vue.d.ts +10 -27
  154. package/es/components/pagination/src/pagination.d.ts +16 -29
  155. package/es/components/pagination/src/pagination.mjs +15 -2
  156. package/es/components/pagination/src/pagination.mjs.map +1 -1
  157. package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
  158. package/es/components/popconfirm/src/popconfirm.vue.d.ts +5 -5
  159. package/es/components/popover/src/popover.d.ts +5 -105
  160. package/es/components/popover/src/popover.mjs +1 -0
  161. package/es/components/popover/src/popover.mjs.map +1 -1
  162. package/es/components/popover/src/popover.vue.d.ts +14 -13
  163. package/es/components/popper/src/composables/use-content-dom.d.ts +2 -25
  164. package/es/components/popper/src/composables/use-content.d.ts +4 -4
  165. package/es/components/popper/src/content.d.ts +8 -18
  166. package/es/components/popper/src/content.mjs +13 -7
  167. package/es/components/popper/src/content.mjs.map +1 -1
  168. package/es/components/popper/src/content.vue.d.ts +19 -17
  169. package/es/components/popper/src/popper.d.ts +2 -2
  170. package/es/components/popper/src/popper.mjs.map +1 -1
  171. package/es/components/progress/src/progress.d.ts +1 -1
  172. package/es/components/progress/src/progress.vue.d.ts +2 -2
  173. package/es/components/radio/src/radio-button.d.ts +4 -4
  174. package/es/components/radio/src/radio-button.vue.d.ts +2 -2
  175. package/es/components/radio/src/radio-group.d.ts +1 -1
  176. package/es/components/radio/src/radio-group.vue.d.ts +6 -6
  177. package/es/components/radio/src/radio.d.ts +8 -8
  178. package/es/components/radio/src/radio.vue.d.ts +4 -4
  179. package/es/components/radio/src/use-radio.d.ts +1 -1
  180. package/es/components/rate/src/rate.d.ts +1 -1
  181. package/es/components/rate/src/rate.vue.d.ts +3 -3
  182. package/es/components/rate/src/rate.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  183. package/es/components/rate/src/rate2.mjs.map +1 -1
  184. package/es/components/result/src/result.d.ts +1 -1
  185. package/es/components/result/src/result.vue.d.ts +1 -1
  186. package/es/components/row/src/row.d.ts +1 -1
  187. package/es/components/scrollbar/src/scrollbar.d.ts +5 -4
  188. package/es/components/scrollbar/src/scrollbar.mjs +12 -2
  189. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  190. package/es/components/scrollbar/src/scrollbar.vue.d.ts +5 -4
  191. package/es/components/scrollbar/src/thumb.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  192. package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
  193. package/es/components/segmented/index.d.ts +2 -2
  194. package/es/components/segmented/src/segmented.d.ts +2 -2
  195. package/es/components/segmented/src/segmented.vue.d.ts +1 -1
  196. package/es/components/select/src/option.d.ts +2 -2
  197. package/es/components/select/src/option.vue.d.ts +5 -5
  198. package/es/components/select/src/select-dropdown.vue.d.ts +2 -1
  199. package/es/components/select/src/select.d.ts +12 -16
  200. package/es/components/select/src/select.mjs +15 -2
  201. package/es/components/select/src/select.mjs.map +1 -1
  202. package/es/components/select/src/select.vue.d.ts +137 -143
  203. package/es/components/select/src/select.vue_vue_type_script_lang.mjs.map +1 -1
  204. package/es/components/select/src/select2.mjs.map +1 -1
  205. package/es/components/select/src/useOption.d.ts +2 -2
  206. package/es/components/select/src/useSelect.d.ts +7 -7
  207. package/es/components/select/src/useSelect.mjs.map +1 -1
  208. package/es/components/select-v2/src/defaults.d.ts +6 -106
  209. package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
  210. package/es/components/select-v2/src/select.vue.d.ts +110 -308
  211. package/es/components/select-v2/src/useSelect.d.ts +2 -2
  212. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  213. package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
  214. package/es/components/slider/src/button.d.ts +2 -1
  215. package/es/components/slider/src/button.mjs +10 -2
  216. package/es/components/slider/src/button.mjs.map +1 -1
  217. package/es/components/slider/src/button.vue.d.ts +6 -4
  218. package/es/components/slider/src/composables/use-marks.mjs.map +1 -1
  219. package/es/components/slider/src/slider.d.ts +4 -4
  220. package/es/components/slider/src/slider.mjs +6 -1
  221. package/es/components/slider/src/slider.mjs.map +1 -1
  222. package/es/components/slider/src/slider.vue.d.ts +16 -16
  223. package/es/components/space/src/space.d.ts +10 -10
  224. package/es/components/space/src/space.mjs +2 -1
  225. package/es/components/space/src/space.mjs.map +1 -1
  226. package/es/components/space/src/use-space.d.ts +2 -3
  227. package/es/components/splitter/src/split-bar.vue.d.ts +1 -1
  228. package/es/components/statistic/src/statistic.vue.d.ts +2 -2
  229. package/es/components/steps/src/item.d.ts +1 -1
  230. package/es/components/steps/src/item.vue.d.ts +1 -1
  231. package/es/components/steps/src/steps.d.ts +2 -2
  232. package/es/components/steps/src/steps.vue.d.ts +1 -1
  233. package/es/components/switch/src/switch.d.ts +1 -1
  234. package/es/components/switch/src/switch.vue.d.ts +4 -4
  235. package/es/components/table/src/filter-panel.vue.d.ts +107 -104
  236. package/es/components/table/src/table/defaults.d.ts +6 -6
  237. package/es/components/table/src/table/defaults.mjs.map +1 -1
  238. package/es/components/table/src/table/style-helper.d.ts +2 -2
  239. package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
  240. package/es/components/table/src/table-column/defaults.d.ts +4 -4
  241. package/es/components/table/src/table-footer/index.d.ts +1 -1
  242. package/es/components/table/src/table-header/index.d.ts +19 -19
  243. package/es/components/table/src/table.vue.d.ts +5 -5
  244. package/es/components/table-v2/src/components/header.d.ts +1 -1
  245. package/es/components/table-v2/src/components/row.d.ts +1 -1
  246. package/es/components/table-v2/src/table-grid.d.ts +4 -4
  247. package/es/components/table-v2/src/table-v2.d.ts +5 -5
  248. package/es/components/tabs/src/tab-nav.d.ts +1 -1
  249. package/es/components/tabs/src/tabs.d.ts +6 -6
  250. package/es/components/tag/src/tag.d.ts +3 -3
  251. package/es/components/tag/src/tag.vue.d.ts +2 -2
  252. package/es/components/text/src/text.d.ts +2 -2
  253. package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +6 -6
  254. package/es/components/time-picker/src/common/picker.vue.d.ts +23 -223
  255. package/es/components/time-picker/src/common/props.d.ts +4 -104
  256. package/es/components/time-picker/src/time-picker.d.ts +17 -217
  257. package/es/components/time-select/src/time-select.d.ts +7 -11
  258. package/es/components/time-select/src/time-select.mjs +15 -2
  259. package/es/components/time-select/src/time-select.mjs.map +1 -1
  260. package/es/components/time-select/src/time-select.vue.d.ts +11 -10
  261. package/es/components/timeline/src/timeline-item.d.ts +2 -2
  262. package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
  263. package/es/components/tooltip/src/content.d.ts +4 -199
  264. package/es/components/tooltip/src/content.vue.d.ts +18 -16
  265. package/es/components/tooltip/src/tooltip.d.ts +5 -202
  266. package/es/components/tooltip/src/tooltip.vue.d.ts +22 -21
  267. package/es/components/tooltip/src/trigger.d.ts +1 -1
  268. package/es/components/tour/src/content.d.ts +1 -1
  269. package/es/components/tour/src/content.vue.d.ts +1 -1
  270. package/es/components/tour/src/mask.vue.d.ts +1 -1
  271. package/es/components/tour/src/step.d.ts +1 -1
  272. package/es/components/tour/src/step.vue.d.ts +1 -1
  273. package/es/components/tour/src/tour.d.ts +1 -1
  274. package/es/components/tour/src/tour.vue.d.ts +7 -7
  275. package/es/components/transfer/src/transfer.vue.d.ts +1 -1
  276. package/es/components/tree/src/tree-node.vue.d.ts +18 -18
  277. package/es/components/tree/src/tree.vue.d.ts +22 -22
  278. package/es/components/tree-select/src/select.mjs +1 -5
  279. package/es/components/tree-select/src/select.mjs.map +1 -1
  280. package/es/components/tree-select/src/tree-select-option.d.ts +5 -5
  281. package/es/components/tree-select/src/tree-select.vue.d.ts +44 -52
  282. package/es/components/tree-v2/src/composables/useTree.d.ts +13 -12
  283. package/es/components/tree-v2/src/tree.vue.d.ts +5 -5
  284. package/es/components/upload/src/upload-content.d.ts +1 -1
  285. package/es/components/upload/src/upload-content.vue.d.ts +2 -2
  286. package/es/components/upload/src/upload-list.d.ts +1 -1
  287. package/es/components/upload/src/upload.d.ts +2 -2
  288. package/es/components/upload/src/upload.mjs.map +1 -1
  289. package/es/components/upload/src/upload.vue.d.ts +2 -2
  290. package/es/components/virtual-list/src/builders/build-grid.d.ts +5 -4
  291. package/es/components/virtual-list/src/builders/build-list.d.ts +7 -6
  292. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +5 -4
  293. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +7 -6
  294. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +5 -4
  295. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +7 -6
  296. package/es/components/virtual-list/src/components/scrollbar.d.ts +4 -2
  297. package/es/components/virtual-list/src/props.d.ts +5 -4
  298. package/es/components/virtual-list/src/props.mjs +15 -2
  299. package/es/components/virtual-list/src/props.mjs.map +1 -1
  300. package/es/components/watermark/src/watermark.mjs.map +1 -1
  301. package/es/components/watermark/src/watermark.vue.d.ts +1 -1
  302. package/es/hooks/use-floating/index.d.ts +12 -12
  303. package/es/hooks/use-popper/index.d.ts +4 -4
  304. package/es/hooks/use-size/index.d.ts +3 -3
  305. package/es/hooks/use-throttle-render/index.mjs.map +1 -1
  306. package/es/utils/index.d.ts +2 -2
  307. package/es/utils/typescript.d.ts +2 -1
  308. package/es/utils/typescript.mjs.map +1 -1
  309. package/es/utils/vue/size.d.ts +1 -1
  310. package/es/version.d.ts +1 -1
  311. package/es/version.mjs +1 -1
  312. package/es/version.mjs.map +1 -1
  313. package/lib/components/affix/src/affix.d.ts +1 -1
  314. package/lib/components/affix/src/affix.vue.d.ts +3 -3
  315. package/lib/components/alert/src/alert.d.ts +2 -2
  316. package/lib/components/anchor/src/anchor.d.ts +1 -1
  317. package/lib/components/anchor/src/anchor.vue.d.ts +2 -2
  318. package/lib/components/autocomplete/src/autocomplete.d.ts +7 -108
  319. package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
  320. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  321. package/lib/components/autocomplete/src/autocomplete.vue_vue_type_script_setup_true_lang.js.map +1 -1
  322. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  323. package/lib/components/avatar/src/avatar-group-props.d.ts +9 -106
  324. package/lib/components/avatar/src/avatar-group-props.js +9 -1
  325. package/lib/components/avatar/src/avatar-group-props.js.map +1 -1
  326. package/lib/components/avatar/src/avatar-group.d.ts +20 -213
  327. package/lib/components/avatar/src/avatar.d.ts +3 -3
  328. package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
  329. package/lib/components/badge/src/badge.d.ts +4 -8
  330. package/lib/components/badge/src/badge.js +9 -1
  331. package/lib/components/badge/src/badge.js.map +1 -1
  332. package/lib/components/badge/src/badge.vue.d.ts +3 -1
  333. package/lib/components/badge/src/badge.vue_vue_type_script_setup_true_lang.js.map +1 -1
  334. package/lib/components/badge/src/badge2.js.map +1 -1
  335. package/lib/components/button/src/button-group.d.ts +2 -2
  336. package/lib/components/button/src/button-group.vue.d.ts +1 -1
  337. package/lib/components/button/src/button.d.ts +2 -2
  338. package/lib/components/button/src/button.vue.d.ts +4 -4
  339. package/lib/components/button/src/use-button.d.ts +2 -2
  340. package/lib/components/calendar/src/calendar.js.map +1 -1
  341. package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
  342. package/lib/components/calendar/style/css.js +1 -1
  343. package/lib/components/calendar/style/index.js +1 -1
  344. package/lib/components/card/src/card.d.ts +8 -7
  345. package/lib/components/card/src/card.js +27 -3
  346. package/lib/components/card/src/card.js.map +1 -1
  347. package/lib/components/card/src/card.vue.d.ts +4 -0
  348. package/lib/components/card/src/card.vue_vue_type_script_setup_true_lang.js.map +1 -1
  349. package/lib/components/card/src/card2.js.map +1 -1
  350. package/lib/components/carousel/src/carousel.d.ts +1 -1
  351. package/lib/components/carousel/src/carousel.vue.d.ts +4 -4
  352. package/lib/components/cascader/src/cascader.d.ts +9 -110
  353. package/lib/components/cascader/src/cascader.js.map +1 -1
  354. package/lib/components/cascader/src/cascader.vue.d.ts +22 -20
  355. package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js.map +1 -1
  356. package/lib/components/cascader/src/cascader2.js.map +1 -1
  357. package/lib/components/cascader-panel/src/index.vue.d.ts +4 -4
  358. package/lib/components/cascader-panel/src/menu.vue.d.ts +1 -1
  359. package/lib/components/check-tag/src/check-tag.d.ts +1 -1
  360. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
  361. package/lib/components/checkbox/src/checkbox-group.d.ts +1 -1
  362. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
  363. package/lib/components/checkbox/src/checkbox.d.ts +9 -9
  364. package/lib/components/checkbox/src/checkbox.vue.d.ts +6 -6
  365. package/lib/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
  366. package/lib/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
  367. package/lib/components/col/src/col.vue.d.ts +1 -1
  368. package/lib/components/collapse/src/collapse-item.vue.d.ts +1 -1
  369. package/lib/components/collapse/src/collapse.d.ts +1 -1
  370. package/lib/components/collapse/src/collapse.vue.d.ts +1 -1
  371. package/lib/components/color-picker/src/color-picker.d.ts +5 -104
  372. package/lib/components/color-picker/src/color-picker.js +1 -0
  373. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  374. package/lib/components/color-picker/src/color-picker.vue.d.ts +12 -10
  375. package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +4 -10
  376. package/lib/components/color-picker-panel/src/color-picker-panel.js +9 -5
  377. package/lib/components/color-picker-panel/src/color-picker-panel.js.map +1 -1
  378. package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +4 -1
  379. package/lib/components/color-picker-panel/src/color-picker-panel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  380. package/lib/components/color-picker-panel/src/color-picker-panel2.js.map +1 -1
  381. package/lib/components/config-provider/src/config-provider-props.d.ts +1 -1
  382. package/lib/components/config-provider/src/config-provider.d.ts +2 -2
  383. package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  384. package/lib/components/date-picker/src/date-picker.d.ts +17 -217
  385. package/lib/components/date-picker/src/props.d.ts +4 -104
  386. package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  387. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +3 -3
  388. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
  389. package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
  390. package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
  391. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
  392. package/lib/components/date-picker-panel/src/panel-utils.d.ts +21 -21
  393. package/lib/components/date-picker-panel/src/props/basic-date-table.js.map +1 -1
  394. package/lib/components/descriptions/src/description-item.d.ts +18 -18
  395. package/lib/components/descriptions/src/description.d.ts +1 -1
  396. package/lib/components/descriptions/src/description.vue.d.ts +2 -2
  397. package/lib/components/dialog/src/dialog-content.d.ts +10 -6
  398. package/lib/components/dialog/src/dialog-content.js +31 -4
  399. package/lib/components/dialog/src/dialog-content.js.map +1 -1
  400. package/lib/components/dialog/src/dialog-content.vue.d.ts +5 -1
  401. package/lib/components/dialog/src/dialog.d.ts +10 -5
  402. package/lib/components/dialog/src/dialog.js +11 -14
  403. package/lib/components/dialog/src/dialog.js.map +1 -1
  404. package/lib/components/dialog/src/dialog.vue.d.ts +9 -4
  405. package/lib/components/divider/src/divider.d.ts +1 -1
  406. package/lib/components/divider/src/divider.vue.d.ts +1 -1
  407. package/lib/components/drawer/src/drawer.d.ts +5 -4
  408. package/lib/components/drawer/src/drawer.vue.d.ts +12 -7
  409. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +2 -2
  410. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +5 -5
  411. package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  412. package/lib/components/dropdown/src/dropdown.d.ts +5 -106
  413. package/lib/components/dropdown/src/dropdown.vue.d.ts +115 -313
  414. package/lib/components/dropdown/style/css.js +1 -1
  415. package/lib/components/dropdown/style/index.js +1 -1
  416. package/lib/components/form/src/form-item.d.ts +3 -3
  417. package/lib/components/form/src/form-item.vue.d.ts +2 -2
  418. package/lib/components/form/src/form.d.ts +4 -4
  419. package/lib/components/form/src/hooks/use-form-common-props.d.ts +2 -2
  420. package/lib/components/image/src/image.d.ts +1 -1
  421. package/lib/components/image/src/image.js.map +1 -1
  422. package/lib/components/image/src/image.vue.d.ts +4 -4
  423. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  424. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
  425. package/lib/components/input/src/input.d.ts +4 -4
  426. package/lib/components/input/src/input.vue.d.ts +19 -19
  427. package/lib/components/input-number/src/input-number.d.ts +3 -3
  428. package/lib/components/input-number/src/input-number.vue.d.ts +10 -10
  429. package/lib/components/input-otp/src/input-otp.vue.d.ts +7 -7
  430. package/lib/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
  431. package/lib/components/input-tag/src/input-tag.d.ts +3 -3
  432. package/lib/components/input-tag/src/input-tag.vue.d.ts +12 -12
  433. package/lib/components/link/src/link.d.ts +2 -2
  434. package/lib/components/link/src/link.js.map +1 -1
  435. package/lib/components/mention/src/mention.d.ts +7 -108
  436. package/lib/components/mention/src/mention.vue.d.ts +5 -5
  437. package/lib/components/mention/src/mention.vue_vue_type_script_setup_true_lang.js.map +1 -1
  438. package/lib/components/mention/src/mention2.js.map +1 -1
  439. package/lib/components/menu/src/menu.d.ts +13 -25
  440. package/lib/components/menu/src/menu.js +18 -2
  441. package/lib/components/menu/src/menu.js.map +1 -1
  442. package/lib/components/menu/src/sub-menu.d.ts +11 -23
  443. package/lib/components/menu/src/sub-menu.js +18 -2
  444. package/lib/components/menu/src/sub-menu.js.map +1 -1
  445. package/lib/components/message/src/instance.d.ts +1 -1
  446. package/lib/components/message/src/message.d.ts +5 -5
  447. package/lib/components/message/src/message.js +6 -1
  448. package/lib/components/message/src/message.js.map +1 -1
  449. package/lib/components/message/src/message.vue.d.ts +7 -6
  450. package/lib/components/message/src/method.js.map +1 -1
  451. package/lib/components/message-box/src/index.vue.d.ts +73 -81
  452. package/lib/components/notification/src/notification.d.ts +4 -3
  453. package/lib/components/notification/src/notification.js +6 -1
  454. package/lib/components/notification/src/notification.js.map +1 -1
  455. package/lib/components/notification/src/notification.vue.d.ts +5 -4
  456. package/lib/components/overlay/index.d.ts +4 -12
  457. package/lib/components/overlay/src/overlay.d.ts +5 -18
  458. package/lib/components/overlay/src/overlay.js +9 -5
  459. package/lib/components/overlay/src/overlay.js.map +1 -1
  460. package/lib/components/pagination/src/components/jumper.d.ts +1 -1
  461. package/lib/components/pagination/src/components/jumper.vue.d.ts +2 -2
  462. package/lib/components/pagination/src/components/sizes.d.ts +5 -14
  463. package/lib/components/pagination/src/components/sizes.js +18 -2
  464. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  465. package/lib/components/pagination/src/components/sizes.vue.d.ts +10 -27
  466. package/lib/components/pagination/src/pagination.d.ts +16 -29
  467. package/lib/components/pagination/src/pagination.js +15 -2
  468. package/lib/components/pagination/src/pagination.js.map +1 -1
  469. package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
  470. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +5 -5
  471. package/lib/components/popover/src/popover.d.ts +5 -105
  472. package/lib/components/popover/src/popover.js +1 -0
  473. package/lib/components/popover/src/popover.js.map +1 -1
  474. package/lib/components/popover/src/popover.vue.d.ts +14 -13
  475. package/lib/components/popper/src/composables/use-content-dom.d.ts +2 -25
  476. package/lib/components/popper/src/composables/use-content.d.ts +4 -4
  477. package/lib/components/popper/src/content.d.ts +8 -18
  478. package/lib/components/popper/src/content.js +13 -7
  479. package/lib/components/popper/src/content.js.map +1 -1
  480. package/lib/components/popper/src/content.vue.d.ts +19 -17
  481. package/lib/components/popper/src/popper.d.ts +2 -2
  482. package/lib/components/popper/src/popper.js.map +1 -1
  483. package/lib/components/progress/src/progress.d.ts +1 -1
  484. package/lib/components/progress/src/progress.vue.d.ts +2 -2
  485. package/lib/components/radio/src/radio-button.d.ts +4 -4
  486. package/lib/components/radio/src/radio-button.vue.d.ts +2 -2
  487. package/lib/components/radio/src/radio-group.d.ts +1 -1
  488. package/lib/components/radio/src/radio-group.vue.d.ts +6 -6
  489. package/lib/components/radio/src/radio.d.ts +8 -8
  490. package/lib/components/radio/src/radio.vue.d.ts +4 -4
  491. package/lib/components/radio/src/use-radio.d.ts +1 -1
  492. package/lib/components/rate/src/rate.d.ts +1 -1
  493. package/lib/components/rate/src/rate.vue.d.ts +3 -3
  494. package/lib/components/rate/src/rate.vue_vue_type_script_setup_true_lang.js.map +1 -1
  495. package/lib/components/rate/src/rate2.js.map +1 -1
  496. package/lib/components/result/src/result.d.ts +1 -1
  497. package/lib/components/result/src/result.vue.d.ts +1 -1
  498. package/lib/components/row/src/row.d.ts +1 -1
  499. package/lib/components/scrollbar/src/scrollbar.d.ts +5 -4
  500. package/lib/components/scrollbar/src/scrollbar.js +12 -2
  501. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  502. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +5 -4
  503. package/lib/components/scrollbar/src/thumb.vue_vue_type_script_setup_true_lang.js.map +1 -1
  504. package/lib/components/scrollbar/src/thumb2.js.map +1 -1
  505. package/lib/components/segmented/index.d.ts +2 -2
  506. package/lib/components/segmented/src/segmented.d.ts +2 -2
  507. package/lib/components/segmented/src/segmented.vue.d.ts +1 -1
  508. package/lib/components/select/src/option.d.ts +2 -2
  509. package/lib/components/select/src/option.vue.d.ts +5 -5
  510. package/lib/components/select/src/select-dropdown.vue.d.ts +2 -1
  511. package/lib/components/select/src/select.d.ts +12 -16
  512. package/lib/components/select/src/select.js +15 -2
  513. package/lib/components/select/src/select.js.map +1 -1
  514. package/lib/components/select/src/select.vue.d.ts +137 -143
  515. package/lib/components/select/src/select.vue_vue_type_script_lang.js.map +1 -1
  516. package/lib/components/select/src/select2.js.map +1 -1
  517. package/lib/components/select/src/useOption.d.ts +2 -2
  518. package/lib/components/select/src/useSelect.d.ts +7 -7
  519. package/lib/components/select/src/useSelect.js.map +1 -1
  520. package/lib/components/select-v2/src/defaults.d.ts +6 -106
  521. package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
  522. package/lib/components/select-v2/src/select.vue.d.ts +110 -308
  523. package/lib/components/select-v2/src/useSelect.d.ts +2 -2
  524. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  525. package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
  526. package/lib/components/slider/src/button.d.ts +2 -1
  527. package/lib/components/slider/src/button.js +9 -1
  528. package/lib/components/slider/src/button.js.map +1 -1
  529. package/lib/components/slider/src/button.vue.d.ts +6 -4
  530. package/lib/components/slider/src/composables/use-marks.js.map +1 -1
  531. package/lib/components/slider/src/slider.d.ts +4 -4
  532. package/lib/components/slider/src/slider.js +6 -1
  533. package/lib/components/slider/src/slider.js.map +1 -1
  534. package/lib/components/slider/src/slider.vue.d.ts +16 -16
  535. package/lib/components/space/src/space.d.ts +10 -10
  536. package/lib/components/space/src/space.js +2 -1
  537. package/lib/components/space/src/space.js.map +1 -1
  538. package/lib/components/space/src/use-space.d.ts +2 -3
  539. package/lib/components/splitter/src/split-bar.vue.d.ts +1 -1
  540. package/lib/components/statistic/src/statistic.vue.d.ts +2 -2
  541. package/lib/components/steps/src/item.d.ts +1 -1
  542. package/lib/components/steps/src/item.vue.d.ts +1 -1
  543. package/lib/components/steps/src/steps.d.ts +2 -2
  544. package/lib/components/steps/src/steps.vue.d.ts +1 -1
  545. package/lib/components/switch/src/switch.d.ts +1 -1
  546. package/lib/components/switch/src/switch.vue.d.ts +4 -4
  547. package/lib/components/table/src/filter-panel.vue.d.ts +107 -104
  548. package/lib/components/table/src/table/defaults.d.ts +6 -6
  549. package/lib/components/table/src/table/defaults.js.map +1 -1
  550. package/lib/components/table/src/table/style-helper.d.ts +2 -2
  551. package/lib/components/table/src/table-body/events-helper.js.map +1 -1
  552. package/lib/components/table/src/table-column/defaults.d.ts +4 -4
  553. package/lib/components/table/src/table-footer/index.d.ts +1 -1
  554. package/lib/components/table/src/table-header/index.d.ts +19 -19
  555. package/lib/components/table/src/table.vue.d.ts +5 -5
  556. package/lib/components/table-v2/src/components/header.d.ts +1 -1
  557. package/lib/components/table-v2/src/components/row.d.ts +1 -1
  558. package/lib/components/table-v2/src/table-grid.d.ts +4 -4
  559. package/lib/components/table-v2/src/table-v2.d.ts +5 -5
  560. package/lib/components/tabs/src/tab-nav.d.ts +1 -1
  561. package/lib/components/tabs/src/tabs.d.ts +6 -6
  562. package/lib/components/tag/src/tag.d.ts +3 -3
  563. package/lib/components/tag/src/tag.vue.d.ts +2 -2
  564. package/lib/components/text/src/text.d.ts +2 -2
  565. package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +6 -6
  566. package/lib/components/time-picker/src/common/picker.vue.d.ts +23 -223
  567. package/lib/components/time-picker/src/common/props.d.ts +4 -104
  568. package/lib/components/time-picker/src/time-picker.d.ts +17 -217
  569. package/lib/components/time-select/src/time-select.d.ts +7 -11
  570. package/lib/components/time-select/src/time-select.js +15 -2
  571. package/lib/components/time-select/src/time-select.js.map +1 -1
  572. package/lib/components/time-select/src/time-select.vue.d.ts +11 -10
  573. package/lib/components/timeline/src/timeline-item.d.ts +2 -2
  574. package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
  575. package/lib/components/tooltip/src/content.d.ts +4 -199
  576. package/lib/components/tooltip/src/content.vue.d.ts +18 -16
  577. package/lib/components/tooltip/src/tooltip.d.ts +5 -202
  578. package/lib/components/tooltip/src/tooltip.vue.d.ts +22 -21
  579. package/lib/components/tooltip/src/trigger.d.ts +1 -1
  580. package/lib/components/tour/src/content.d.ts +1 -1
  581. package/lib/components/tour/src/content.vue.d.ts +1 -1
  582. package/lib/components/tour/src/mask.vue.d.ts +1 -1
  583. package/lib/components/tour/src/step.d.ts +1 -1
  584. package/lib/components/tour/src/step.vue.d.ts +1 -1
  585. package/lib/components/tour/src/tour.d.ts +1 -1
  586. package/lib/components/tour/src/tour.vue.d.ts +7 -7
  587. package/lib/components/transfer/src/transfer.vue.d.ts +1 -1
  588. package/lib/components/tree/src/tree-node.vue.d.ts +18 -18
  589. package/lib/components/tree/src/tree.vue.d.ts +22 -22
  590. package/lib/components/tree-select/src/select.js +1 -5
  591. package/lib/components/tree-select/src/select.js.map +1 -1
  592. package/lib/components/tree-select/src/tree-select-option.d.ts +5 -5
  593. package/lib/components/tree-select/src/tree-select.vue.d.ts +44 -52
  594. package/lib/components/tree-v2/src/composables/useTree.d.ts +13 -12
  595. package/lib/components/tree-v2/src/tree.vue.d.ts +5 -5
  596. package/lib/components/upload/src/upload-content.d.ts +1 -1
  597. package/lib/components/upload/src/upload-content.vue.d.ts +2 -2
  598. package/lib/components/upload/src/upload-list.d.ts +1 -1
  599. package/lib/components/upload/src/upload.d.ts +2 -2
  600. package/lib/components/upload/src/upload.js.map +1 -1
  601. package/lib/components/upload/src/upload.vue.d.ts +2 -2
  602. package/lib/components/virtual-list/src/builders/build-grid.d.ts +5 -4
  603. package/lib/components/virtual-list/src/builders/build-list.d.ts +7 -6
  604. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +5 -4
  605. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +7 -6
  606. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +5 -4
  607. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +7 -6
  608. package/lib/components/virtual-list/src/components/scrollbar.d.ts +4 -2
  609. package/lib/components/virtual-list/src/props.d.ts +5 -4
  610. package/lib/components/virtual-list/src/props.js +15 -2
  611. package/lib/components/virtual-list/src/props.js.map +1 -1
  612. package/lib/components/watermark/src/watermark.js.map +1 -1
  613. package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
  614. package/lib/hooks/use-floating/index.d.ts +12 -12
  615. package/lib/hooks/use-popper/index.d.ts +4 -4
  616. package/lib/hooks/use-size/index.d.ts +3 -3
  617. package/lib/hooks/use-throttle-render/index.js.map +1 -1
  618. package/lib/utils/index.d.ts +2 -2
  619. package/lib/utils/typescript.d.ts +2 -1
  620. package/lib/utils/typescript.js.map +1 -1
  621. package/lib/utils/vue/size.d.ts +1 -1
  622. package/lib/version.d.ts +1 -1
  623. package/lib/version.js +1 -1
  624. package/lib/version.js.map +1 -1
  625. package/package.json +2 -2
  626. package/web-types.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { SFCWithInstall } from "../../../utils/vue/typescript.js";
2
2
  import { EpPropMergeType } from "../../../utils/vue/props/types.js";
3
- import { Arrayable } from "../../../utils/typescript.js";
3
+ import { Arrayable, ClassValue } from "../../../utils/typescript.js";
4
4
  import { Translator } from "../../../hooks/use-locale/index.js";
5
5
  import { PopperEffect, PopperInstance, roleTypes } from "../../popper/src/popper.js";
6
6
  import { Options, Placement } from "../../popper/index.js";
@@ -105,19 +105,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
105
105
  }, {}, {
106
106
  ElCheckbox: {
107
107
  new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<CheckboxProps> & Readonly<{
108
- onChange?: ((val: CheckboxValueType) => any) | undefined;
109
108
  "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
109
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
110
110
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
111
- change: (val: CheckboxValueType) => void;
112
111
  "update:modelValue": (val: CheckboxValueType) => void;
112
+ change: (val: CheckboxValueType) => void;
113
113
  }, _$vue.PublicProps, {
114
- id: string;
114
+ modelValue: number | string | boolean;
115
115
  disabled: boolean;
116
+ validateEvent: boolean;
116
117
  name: string;
117
- label: string | boolean | number | object;
118
+ id: string;
118
119
  value: string | boolean | number | object;
119
- validateEvent: boolean;
120
- modelValue: number | string | boolean;
120
+ label: string | boolean | number | object;
121
121
  trueValue: string | number;
122
122
  falseValue: string | number;
123
123
  trueLabel: string | number;
@@ -130,16 +130,16 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
130
130
  M: {};
131
131
  Defaults: {};
132
132
  }, Readonly<CheckboxProps> & Readonly<{
133
- onChange?: ((val: CheckboxValueType) => any) | undefined;
134
133
  "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
134
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
135
135
  }>, {}, {}, {}, {}, {
136
- id: string;
136
+ modelValue: number | string | boolean;
137
137
  disabled: boolean;
138
+ validateEvent: boolean;
138
139
  name: string;
139
- label: string | boolean | number | object;
140
+ id: string;
140
141
  value: string | boolean | number | object;
141
- validateEvent: boolean;
142
- modelValue: number | string | boolean;
142
+ label: string | boolean | number | object;
143
143
  trueValue: string | number;
144
144
  falseValue: string | number;
145
145
  trueLabel: string | number;
@@ -149,19 +149,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
149
149
  __isTeleport?: never;
150
150
  __isSuspense?: never;
151
151
  } & _$vue.ComponentOptionsBase<Readonly<CheckboxProps> & Readonly<{
152
- onChange?: ((val: CheckboxValueType) => any) | undefined;
153
152
  "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
153
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
154
154
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
155
- change: (val: CheckboxValueType) => void;
156
155
  "update:modelValue": (val: CheckboxValueType) => void;
156
+ change: (val: CheckboxValueType) => void;
157
157
  }, string, {
158
- id: string;
158
+ modelValue: number | string | boolean;
159
159
  disabled: boolean;
160
+ validateEvent: boolean;
160
161
  name: string;
161
- label: string | boolean | number | object;
162
+ id: string;
162
163
  value: string | boolean | number | object;
163
- validateEvent: boolean;
164
- modelValue: number | string | boolean;
164
+ label: string | boolean | number | object;
165
165
  trueValue: string | number;
166
166
  falseValue: string | number;
167
167
  trueLabel: string | number;
@@ -185,7 +185,7 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
185
185
  readonly falseLabel?: string | number | (() => string | number) | undefined;
186
186
  readonly id?: string | (() => string) | undefined;
187
187
  readonly border?: boolean | (() => boolean) | undefined;
188
- readonly size?: "" | "default" | "small" | "large" | (() => "" | "default" | "small" | "large") | undefined;
188
+ readonly size?: "" | "small" | "default" | "large" | (() => "" | "small" | "default" | "large") | undefined;
189
189
  readonly tabindex?: string | number | (() => string | number) | undefined;
190
190
  readonly validateEvent?: boolean | (() => boolean) | undefined;
191
191
  readonly ariaLabel?: string | (() => string) | undefined;
@@ -197,21 +197,21 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
197
197
  };
198
198
  ElCheckboxGroup: SFCWithInstall<{
199
199
  new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<CheckboxGroupProps> & Readonly<{
200
- onChange?: ((val: CheckboxValueType[]) => any) | undefined;
201
200
  "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
201
+ onChange?: ((val: CheckboxValueType[]) => any) | undefined;
202
202
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
203
- change: (val: CheckboxValueType[]) => void;
204
203
  "update:modelValue": (val: CheckboxGroupValueType) => void;
204
+ change: (val: CheckboxValueType[]) => void;
205
205
  }, _$vue.PublicProps, {
206
- type: "checkbox" | "button";
206
+ modelValue: CheckboxGroupValueType;
207
207
  disabled: boolean;
208
+ validateEvent: boolean;
209
+ type: "checkbox" | "button";
208
210
  props: {
209
211
  value?: string;
210
212
  label?: string;
211
213
  disabled?: string;
212
214
  };
213
- validateEvent: boolean;
214
- modelValue: CheckboxGroupValueType;
215
215
  tag: string;
216
216
  }, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
217
217
  P: {};
@@ -221,39 +221,39 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
221
221
  M: {};
222
222
  Defaults: {};
223
223
  }, Readonly<CheckboxGroupProps> & Readonly<{
224
- onChange?: ((val: CheckboxValueType[]) => any) | undefined;
225
224
  "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
225
+ onChange?: ((val: CheckboxValueType[]) => any) | undefined;
226
226
  }>, {}, {}, {}, {}, {
227
- type: "checkbox" | "button";
227
+ modelValue: CheckboxGroupValueType;
228
228
  disabled: boolean;
229
+ validateEvent: boolean;
230
+ type: "checkbox" | "button";
229
231
  props: {
230
232
  value?: string;
231
233
  label?: string;
232
234
  disabled?: string;
233
235
  };
234
- validateEvent: boolean;
235
- modelValue: CheckboxGroupValueType;
236
236
  tag: string;
237
237
  }>;
238
238
  __isFragment?: never;
239
239
  __isTeleport?: never;
240
240
  __isSuspense?: never;
241
241
  } & _$vue.ComponentOptionsBase<Readonly<CheckboxGroupProps> & Readonly<{
242
- onChange?: ((val: CheckboxValueType[]) => any) | undefined;
243
242
  "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
243
+ onChange?: ((val: CheckboxValueType[]) => any) | undefined;
244
244
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
245
- change: (val: CheckboxValueType[]) => void;
246
245
  "update:modelValue": (val: CheckboxGroupValueType) => void;
246
+ change: (val: CheckboxValueType[]) => void;
247
247
  }, string, {
248
- type: "checkbox" | "button";
248
+ modelValue: CheckboxGroupValueType;
249
249
  disabled: boolean;
250
+ validateEvent: boolean;
251
+ type: "checkbox" | "button";
250
252
  props: {
251
253
  value?: string;
252
254
  label?: string;
253
255
  disabled?: string;
254
256
  };
255
- validateEvent: boolean;
256
- modelValue: CheckboxGroupValueType;
257
257
  tag: string;
258
258
  }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
259
259
  $slots: {
@@ -284,14 +284,14 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
284
284
  }) => void;
285
285
  "end-reached": (direction: ScrollbarDirection) => void;
286
286
  }, _$vue.PublicProps, {
287
- height: number | string;
288
- maxHeight: number | string;
289
287
  tabindex: number | string;
288
+ height: number | string;
290
289
  tag: keyof HTMLElementTagNameMap | (string & {});
291
290
  distance: number;
291
+ maxHeight: number | string;
292
292
  wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
293
- wrapClass: string | string[];
294
- viewClass: string | string[];
293
+ wrapClass: string | false | Record<string, any> | ClassValue[] | null;
294
+ viewClass: string | false | Record<string, any> | ClassValue[] | null;
295
295
  viewStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
296
296
  minSize: number;
297
297
  }, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
@@ -318,14 +318,14 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
318
318
  setScrollLeft: (value: number) => void;
319
319
  handleScroll: () => void;
320
320
  }, {}, {}, {}, {
321
- height: number | string;
322
- maxHeight: number | string;
323
321
  tabindex: number | string;
322
+ height: number | string;
324
323
  tag: keyof HTMLElementTagNameMap | (string & {});
325
324
  distance: number;
325
+ maxHeight: number | string;
326
326
  wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
327
- wrapClass: string | string[];
328
- viewClass: string | string[];
327
+ wrapClass: string | false | Record<string, any> | ClassValue[] | null;
328
+ viewClass: string | false | Record<string, any> | ClassValue[] | null;
329
329
  viewStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
330
330
  minSize: number;
331
331
  }>;
@@ -355,14 +355,14 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
355
355
  }) => void;
356
356
  "end-reached": (direction: ScrollbarDirection) => void;
357
357
  }, string, {
358
- height: number | string;
359
- maxHeight: number | string;
360
358
  tabindex: number | string;
359
+ height: number | string;
361
360
  tag: keyof HTMLElementTagNameMap | (string & {});
362
361
  distance: number;
362
+ maxHeight: number | string;
363
363
  wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
364
- wrapClass: string | string[];
365
- viewClass: string | string[];
364
+ wrapClass: string | false | Record<string, any> | ClassValue[] | null;
365
+ viewClass: string | false | Record<string, any> | ClassValue[] | null;
366
366
  viewStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
367
367
  minSize: number;
368
368
  }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
@@ -372,10 +372,10 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
372
372
  })>;
373
373
  ElTooltip: SFCWithInstall<{
374
374
  new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<UseTooltipProps> & Readonly<{
375
- onClose?: ((...args: any[]) => any) | undefined;
376
375
  onHide?: ((...args: any[]) => any) | undefined;
377
376
  onShow?: ((...args: any[]) => any) | undefined;
378
377
  onOpen?: ((...args: any[]) => any) | undefined;
378
+ onClose?: ((...args: any[]) => any) | undefined;
379
379
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
380
380
  "onBefore-show"?: ((...args: any[]) => any) | undefined;
381
381
  "onBefore-hide"?: ((...args: any[]) => any) | undefined;
@@ -388,40 +388,41 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
388
388
  onClose: (event?: Event, delay?: number) => void;
389
389
  hide: (event?: Event) => void;
390
390
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
391
- close: (...args: any[]) => void;
392
391
  hide: (...args: any[]) => void;
393
392
  show: (...args: any[]) => void;
394
393
  open: (...args: any[]) => void;
394
+ close: (...args: any[]) => void;
395
395
  "update:visible": (...args: any[]) => void;
396
396
  "before-show": (...args: any[]) => void;
397
397
  "before-hide": (...args: any[]) => void;
398
398
  }, _$vue.PublicProps, {
399
- showAfter: number;
400
- hideAfter: number;
401
- autoClose: number;
402
- boundariesPadding: number;
403
- gpuAcceleration: boolean;
404
- offset: number;
405
- placement: Placement;
406
- popperOptions: Partial<Options>;
407
- strategy: "fixed" | "absolute";
408
- arrowOffset: number;
399
+ visible: boolean | null;
400
+ content: string;
409
401
  style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
402
+ popperClass: string | false | Record<string, any> | ClassValue[] | null;
403
+ popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
404
+ teleported: boolean;
410
405
  effect: PopperEffect;
411
406
  enterable: boolean;
412
- popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
413
- stopPopperMouseEvent: boolean;
414
- loop: boolean;
415
- visible: boolean | null;
416
407
  pure: boolean;
417
408
  focusOnShow: boolean;
418
409
  trapping: boolean;
410
+ stopPopperMouseEvent: boolean;
419
411
  virtualTriggering: boolean;
420
- content: string;
421
- teleported: boolean;
422
- trigger: Arrayable<TooltipTriggerType>;
423
- showArrow: boolean;
412
+ loop: boolean;
413
+ boundariesPadding: number;
414
+ gpuAcceleration: boolean;
415
+ offset: number;
416
+ placement: Placement;
417
+ popperOptions: Partial<Options>;
418
+ strategy: "fixed" | "absolute";
419
+ arrowOffset: number;
420
+ showAfter: number;
421
+ hideAfter: number;
422
+ autoClose: number;
424
423
  role: typeof roleTypes[number];
424
+ showArrow: boolean;
425
+ trigger: Arrayable<TooltipTriggerType>;
425
426
  triggerKeys: string[];
426
427
  }, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
427
428
  P: {};
@@ -431,10 +432,10 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
431
432
  M: {};
432
433
  Defaults: {};
433
434
  }, Readonly<UseTooltipProps> & Readonly<{
434
- onClose?: ((...args: any[]) => any) | undefined;
435
435
  onHide?: ((...args: any[]) => any) | undefined;
436
436
  onShow?: ((...args: any[]) => any) | undefined;
437
437
  onOpen?: ((...args: any[]) => any) | undefined;
438
+ onClose?: ((...args: any[]) => any) | undefined;
438
439
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
439
440
  "onBefore-show"?: ((...args: any[]) => any) | undefined;
440
441
  "onBefore-hide"?: ((...args: any[]) => any) | undefined;
@@ -447,42 +448,43 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
447
448
  onClose: (event?: Event, delay?: number) => void;
448
449
  hide: (event?: Event) => void;
449
450
  }, {}, {}, {}, {
450
- showAfter: number;
451
- hideAfter: number;
452
- autoClose: number;
453
- boundariesPadding: number;
454
- gpuAcceleration: boolean;
455
- offset: number;
456
- placement: Placement;
457
- popperOptions: Partial<Options>;
458
- strategy: "fixed" | "absolute";
459
- arrowOffset: number;
451
+ visible: boolean | null;
452
+ content: string;
460
453
  style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
454
+ popperClass: string | false | Record<string, any> | ClassValue[] | null;
455
+ popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
456
+ teleported: boolean;
461
457
  effect: PopperEffect;
462
458
  enterable: boolean;
463
- popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
464
- stopPopperMouseEvent: boolean;
465
- loop: boolean;
466
- visible: boolean | null;
467
459
  pure: boolean;
468
460
  focusOnShow: boolean;
469
461
  trapping: boolean;
462
+ stopPopperMouseEvent: boolean;
470
463
  virtualTriggering: boolean;
471
- content: string;
472
- teleported: boolean;
473
- trigger: Arrayable<TooltipTriggerType>;
474
- showArrow: boolean;
464
+ loop: boolean;
465
+ boundariesPadding: number;
466
+ gpuAcceleration: boolean;
467
+ offset: number;
468
+ placement: Placement;
469
+ popperOptions: Partial<Options>;
470
+ strategy: "fixed" | "absolute";
471
+ arrowOffset: number;
472
+ showAfter: number;
473
+ hideAfter: number;
474
+ autoClose: number;
475
475
  role: typeof roleTypes[number];
476
+ showArrow: boolean;
477
+ trigger: Arrayable<TooltipTriggerType>;
476
478
  triggerKeys: string[];
477
479
  }>;
478
480
  __isFragment?: never;
479
481
  __isTeleport?: never;
480
482
  __isSuspense?: never;
481
483
  } & _$vue.ComponentOptionsBase<Readonly<UseTooltipProps> & Readonly<{
482
- onClose?: ((...args: any[]) => any) | undefined;
483
484
  onHide?: ((...args: any[]) => any) | undefined;
484
485
  onShow?: ((...args: any[]) => any) | undefined;
485
486
  onOpen?: ((...args: any[]) => any) | undefined;
487
+ onClose?: ((...args: any[]) => any) | undefined;
486
488
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
487
489
  "onBefore-show"?: ((...args: any[]) => any) | undefined;
488
490
  "onBefore-hide"?: ((...args: any[]) => any) | undefined;
@@ -495,40 +497,41 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
495
497
  onClose: (event?: Event, delay?: number) => void;
496
498
  hide: (event?: Event) => void;
497
499
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
498
- close: (...args: any[]) => void;
499
500
  hide: (...args: any[]) => void;
500
501
  show: (...args: any[]) => void;
501
502
  open: (...args: any[]) => void;
503
+ close: (...args: any[]) => void;
502
504
  "update:visible": (...args: any[]) => void;
503
505
  "before-show": (...args: any[]) => void;
504
506
  "before-hide": (...args: any[]) => void;
505
507
  }, string, {
506
- showAfter: number;
507
- hideAfter: number;
508
- autoClose: number;
509
- boundariesPadding: number;
510
- gpuAcceleration: boolean;
511
- offset: number;
512
- placement: Placement;
513
- popperOptions: Partial<Options>;
514
- strategy: "fixed" | "absolute";
515
- arrowOffset: number;
508
+ visible: boolean | null;
509
+ content: string;
516
510
  style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
511
+ popperClass: string | false | Record<string, any> | ClassValue[] | null;
512
+ popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
513
+ teleported: boolean;
517
514
  effect: PopperEffect;
518
515
  enterable: boolean;
519
- popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
520
- stopPopperMouseEvent: boolean;
521
- loop: boolean;
522
- visible: boolean | null;
523
516
  pure: boolean;
524
517
  focusOnShow: boolean;
525
518
  trapping: boolean;
519
+ stopPopperMouseEvent: boolean;
526
520
  virtualTriggering: boolean;
527
- content: string;
528
- teleported: boolean;
529
- trigger: Arrayable<TooltipTriggerType>;
530
- showArrow: boolean;
521
+ loop: boolean;
522
+ boundariesPadding: number;
523
+ gpuAcceleration: boolean;
524
+ offset: number;
525
+ placement: Placement;
526
+ popperOptions: Partial<Options>;
527
+ strategy: "fixed" | "absolute";
528
+ arrowOffset: number;
529
+ showAfter: number;
530
+ hideAfter: number;
531
+ autoClose: number;
531
532
  role: typeof roleTypes[number];
533
+ showArrow: boolean;
534
+ trigger: Arrayable<TooltipTriggerType>;
532
535
  triggerKeys: string[];
533
536
  }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
534
537
  $slots: {
@@ -350,20 +350,20 @@ declare const tableProps: {
350
350
  * @description size of Table
351
351
  */
352
352
  size: {
353
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
353
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
354
354
  readonly required: false;
355
355
  readonly validator: ((val: unknown) => boolean) | undefined;
356
356
  __epPropKey: true;
357
357
  };
358
- width: (NumberConstructor | StringConstructor)[];
358
+ width: (StringConstructor | NumberConstructor)[];
359
359
  /**
360
360
  * @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles
361
361
  */
362
- height: (NumberConstructor | StringConstructor)[];
362
+ height: (StringConstructor | NumberConstructor)[];
363
363
  /**
364
364
  * @description table's max-height. The legal value is a number or the height in px
365
365
  */
366
- maxHeight: (NumberConstructor | StringConstructor)[];
366
+ maxHeight: (StringConstructor | NumberConstructor)[];
367
367
  /**
368
368
  * @description whether width of column automatically fits its container
369
369
  */
@@ -441,7 +441,7 @@ declare const tableProps: {
441
441
  /**
442
442
  * @description key of current row, a set only prop
443
443
  */
444
- currentRowKey: (NumberConstructor | StringConstructor)[];
444
+ currentRowKey: (StringConstructor | NumberConstructor)[];
445
445
  /**
446
446
  * @description displayed text when data is empty. You can customize this area with `#empty`
447
447
  */
@@ -545,7 +545,7 @@ declare const tableProps: {
545
545
  tooltipFormatter: PropType<TableProps<any>["tooltipFormatter"]>;
546
546
  appendFilterPanelTo: StringConstructor;
547
547
  scrollbarTabindex: {
548
- type: (NumberConstructor | StringConstructor)[];
548
+ type: (StringConstructor | NumberConstructor)[];
549
549
  default: undefined;
550
550
  };
551
551
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.mjs","names":[],"sources":["../../../../../../../packages/components/table/src/table/defaults.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\n\nimport type {\n CSSProperties,\n ComponentInternalInstance,\n PropType,\n Ref,\n StyleValue,\n VNode,\n} from 'vue'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type { Nullable } from '@element-plus/utils'\nimport type { Store } from '../store'\nimport type { TableColumnCtx } from '../table-column/defaults'\nimport type TableLayout from '../table-layout'\nimport type {\n TableOverflowTooltipFormatter,\n TableOverflowTooltipOptions,\n} from '../util'\n\ntype DefaultRow = Record<PropertyKey, any>\n\ninterface TableRefs {\n tableWrapper: HTMLElement\n headerWrapper: HTMLElement\n footerWrapper: HTMLElement\n fixedBodyWrapper: HTMLElement\n rightFixedBodyWrapper: HTMLElement\n bodyWrapper: HTMLElement\n appendWrapper: HTMLElement\n [key: string]: any\n}\n\ninterface TableState {\n isGroup: Ref<boolean>\n resizeState: Ref<{\n width: any\n height: any\n }>\n doLayout: () => void\n debouncedUpdateLayout: () => void\n}\n\ninterface TreeProps {\n hasChildren?: string\n children?: string\n checkStrictly?: boolean\n}\n\ntype HoverState<T extends DefaultRow> = Nullable<{\n cell: HTMLElement\n column: TableColumnCtx<T>\n row: T\n}>\n\ntype RIS<T extends DefaultRow> = {\n row: T\n $index: number\n store: Store<T>\n expanded: boolean\n}\n\ntype RenderExpanded<T extends DefaultRow> = ({\n row,\n $index,\n store,\n expanded,\n}: RIS<T>) => VNode[] | undefined\n\ntype SummaryMethod<T extends DefaultRow> = (data: {\n columns: TableColumnCtx<T>[]\n data: T[]\n}) => (string | VNode)[]\n\ninterface Table<T extends DefaultRow = any> extends Omit<\n ComponentInternalInstance,\n 'emit'\n> {\n $ready: boolean\n hoverState?: HoverState<T> | null\n renderExpanded: RenderExpanded<T>\n store: Store<T>\n layout: TableLayout<T>\n refs: TableRefs\n tableId: string\n state: TableState\n emit: TableEmits<T>\n}\n\ntype ColumnCls<T> = string | ((data: { row: T; rowIndex: number }) => string)\ntype ColumnStyle<T> =\n | CSSProperties\n | ((data: { row: T; rowIndex: number }) => CSSProperties)\ntype CellCls<T extends DefaultRow> =\n | string\n | ((data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) => string)\ntype CellStyle<T extends DefaultRow> =\n | CSSProperties\n | ((data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) => CSSProperties)\ntype Layout = 'fixed' | 'auto'\ninterface TableProps<T extends DefaultRow = DefaultRow> {\n /**\n * @description table data\n */\n data?: T[]\n /**\n * @description size of Table\n */\n size?: ComponentSize\n width?: string | number\n /**\n * @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles\n */\n height?: string | number\n /**\n * @description table's max-height. The legal value is a number or the height in px\n */\n maxHeight?: string | number\n /**\n * @description whether width of column automatically fits its container\n */\n fit?: boolean\n /**\n * @description whether Table is striped\n */\n stripe?: boolean\n /**\n * @description whether Table has vertical border\n */\n border?: boolean\n /**\n * @description key of row data, used for optimizing rendering. Required if `reserve-selection` is on or display tree data. When its type is String, multi-level access is supported, e.g. `user.info.id`, but `user.info[0].id` is not supported, in which case `Function` should be used\n */\n rowKey?: string | ((row: T) => string)\n context?: Table<T>\n /**\n * @description whether Table header is visible\n */\n showHeader?: boolean\n /**\n * @description whether to display a summary row\n */\n showSummary?: boolean\n /**\n * @description displayed text for the first column of summary row\n */\n sumText?: string\n /**\n * @description custom summary method\n */\n summaryMethod?: SummaryMethod<T>\n /**\n * @description function that returns custom class names for a row, or a string assigning class names for every row\n */\n rowClassName?: ColumnCls<T>\n /**\n * @description function that returns custom style for a row, or an object assigning custom style for every row\n */\n rowStyle?: ColumnStyle<T>\n /**\n * @description function that returns custom class names for a cell, or a string assigning class names for every cell\n */\n cellClassName?: CellCls<T>\n /**\n * @description function that returns custom style for a cell, or an object assigning custom style for every cell\n */\n cellStyle?: CellStyle<T>\n /**\n * @description function that returns custom class names for a row in table header, or a string assigning class names for every row in table header\n */\n headerRowClassName?: ColumnCls<T>\n /**\n * @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header\n */\n headerRowStyle?: ColumnStyle<T>\n /**\n * @description function that returns custom class names for a cell in table header, or a string assigning class names for every cell in table header\n */\n headerCellClassName?: CellCls<T>\n /**\n * @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header\n */\n headerCellStyle?: CellStyle<T>\n /**\n * @description whether current row is highlighted\n */\n highlightCurrentRow?: boolean\n /**\n * @description key of current row, a set only prop\n */\n currentRowKey?: string | number\n /**\n * @description displayed text when data is empty. You can customize this area with `#empty`\n */\n emptyText?: string\n /**\n * @description set expanded rows by this prop, prop's value is the keys of expand rows, you should set row-key before using this prop\n */\n expandRowKeys?: Array<string>\n /**\n * @description whether expand all rows by default, works when the table has a column type=\"expand\" or contains tree structure data\n */\n defaultExpandAll?: boolean\n /**\n * @description enable expandable rows, works when the table has a column type=\"expand\"\n */\n rowExpandable?: (row: T, index: number) => boolean\n /**\n * @description set the default sort column and order. property `prop` is used to set default sort column, property `order` is used to set default sort order\n */\n defaultSort?: Sort\n /**\n * @description the `effect` of the overflow tooltip\n */\n tooltipEffect?: string\n /**\n * @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)\n */\n tooltipOptions?: TableOverflowTooltipOptions\n /**\n * @description method that returns rowspan and colspan\n */\n spanMethod?: (data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) =>\n | number[]\n | {\n rowspan: number\n colspan: number\n }\n | undefined\n /**\n * @description controls the behavior of master checkbox in multi-select tables when only some rows are selected (but not all). If true, all rows will be selected, else deselected\n */\n selectOnIndeterminate?: boolean\n /**\n * @description horizontal indentation of tree data\n */\n indent?: number\n /**\n * @description configuration for rendering nested data\n */\n treeProps?: TreeProps\n /**\n * @description whether to lazy loading data\n */\n lazy?: boolean\n /**\n * @description method for loading child row data, only works when `lazy` is true\n */\n load?: (row: T, treeNode: TreeNode, resolve: (data: T[]) => void) => void\n className?: string\n style?: StyleValue\n /**\n * @description sets the algorithm used to lay out table cells, rows, and columns\n */\n tableLayout?: Layout\n /**\n * @description always show scrollbar\n */\n scrollbarAlwaysOn?: boolean\n /**\n * @description ensure main axis minimum-size doesn't follow the content\n */\n flexible?: boolean\n /**\n * @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns\n */\n showOverflowTooltip?: boolean | TableOverflowTooltipOptions\n /**\n * @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`\n */\n tooltipFormatter?: TableOverflowTooltipFormatter<T>\n appendFilterPanelTo?: string\n scrollbarTabindex?: number | string\n /**\n * @description whether to allow drag the last column\n */\n allowDragLastColumn?: boolean\n /**\n * @description whether to preserve expanded row content in DOM when collapsed\n */\n preserveExpandedContent?: boolean\n /**\n * @description whether to use native scrollbars\n */\n nativeScrollbar?: boolean\n}\n\ntype TableTooltipData<T extends DefaultRow> = Parameters<\n TableOverflowTooltipFormatter<T>\n>[0]\ntype TableSortOrder = 'ascending' | 'descending'\n\ninterface Sort {\n prop: string\n order: TableSortOrder\n init?: any\n silent?: any\n}\n\ninterface Filter<T extends DefaultRow> {\n column: TableColumnCtx<T>\n values: string[]\n silent: any\n}\n\ninterface TreeNode {\n expanded?: boolean\n loading?: boolean\n noLazyChildren?: boolean\n indent?: number\n level?: number\n display?: boolean\n}\n\ninterface RenderRowData<T extends DefaultRow> {\n store: Store<T>\n _self: Table<T>\n column: TableColumnCtx<T>\n row: T\n $index: number\n cellIndex: number\n treeNode?: TreeNode\n expanded: boolean\n}\n\ninterface TableConfigContext {\n showOverflowTooltip?: boolean | TableOverflowTooltipOptions\n tooltipEffect?: string\n tooltipOptions?: TableOverflowTooltipOptions\n tooltipFormatter?: TableOverflowTooltipFormatter<any>\n}\n\ninterface TableEmits<T extends DefaultRow = DefaultRow> {\n (e: 'select', selection: T[], row: T): void\n (e: 'select-all', selection: T[]): void\n (e: 'selection-change', newSelection: T[]): void\n (\n e: 'cell-mouse-enter' | 'cell-mouse-leave' | 'cell-dblclick',\n row: T,\n column: TableColumnCtx<T>,\n cell: HTMLTableCellElement,\n event: MouseEvent\n ): void\n (\n e: 'cell-contextmenu' | 'cell-click',\n row: T,\n column: TableColumnCtx<T>,\n cell: HTMLTableCellElement,\n event: PointerEvent\n ): void\n (\n e: 'row-dblclick',\n row: T,\n column: TableColumnCtx<T> | null,\n event: MouseEvent\n ): void\n (\n e: 'row-click' | 'row-contextmenu',\n row: T,\n column: TableColumnCtx<T> | null,\n event: PointerEvent\n ): void\n (\n e: 'header-click' | 'header-contextmenu',\n column: TableColumnCtx<T>,\n event: PointerEvent\n ): void\n (\n e: 'sort-change',\n data: {\n column: TableColumnCtx<T>\n prop: string | null\n order: TableSortOrder | null\n }\n ): void\n (e: 'filter-change', newFilters: Record<string, string[]>): void\n (e: 'current-change', currentRow: T | null, oldCurrentRow: T | null): void\n (\n e: 'header-dragend',\n newWidth: number,\n oldWidth: number,\n column: TableColumnCtx<T>,\n event: MouseEvent\n ): void\n (e: 'expand-change', row: T, expandedRows: T[]): void\n (e: 'expand-change', row: T, expanded: boolean): void\n (\n e: 'scroll',\n data: {\n scrollLeft: number\n scrollTop: number\n }\n ): void\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `TableProps` instead.\n */\nexport const tableProps = {\n /**\n * @description table data\n */\n data: {\n type: Array as PropType<any[]>,\n default: () => [],\n },\n /**\n * @description size of Table\n */\n size: useSizeProp,\n width: [String, Number],\n /**\n * @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles\n */\n height: [String, Number],\n /**\n * @description table's max-height. The legal value is a number or the height in px\n */\n maxHeight: [String, Number],\n /**\n * @description whether width of column automatically fits its container\n */\n fit: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether Table is striped\n */\n stripe: Boolean,\n /**\n * @description whether Table has vertical border\n */\n border: Boolean,\n /**\n * @description key of row data, used for optimizing rendering. Required if `reserve-selection` is on or display tree data. When its type is String, multi-level access is supported, e.g. `user.info.id`, but `user.info[0].id` is not supported, in which case `Function` should be used\n */\n rowKey: [String, Function] as PropType<TableProps<any>['rowKey']>,\n /**\n * @description whether Table header is visible\n */\n showHeader: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to display a summary row\n */\n showSummary: Boolean,\n /**\n * @description displayed text for the first column of summary row\n */\n sumText: String,\n /**\n * @description custom summary method\n */\n summaryMethod: Function as PropType<TableProps<any>['summaryMethod']>,\n /**\n * @description function that returns custom class names for a row, or a string assigning class names for every row\n */\n rowClassName: [String, Function] as PropType<TableProps<any>['rowClassName']>,\n /**\n * @description function that returns custom style for a row, or an object assigning custom style for every row\n */\n rowStyle: [Object, Function] as PropType<TableProps<any>['rowStyle']>,\n /**\n * @description function that returns custom class names for a cell, or a string assigning class names for every cell\n */\n cellClassName: [String, Function] as PropType<\n TableProps<any>['cellClassName']\n >,\n /**\n * @description function that returns custom style for a cell, or an object assigning custom style for every cell\n */\n cellStyle: [Object, Function] as PropType<TableProps<any>['cellStyle']>,\n /**\n * @description function that returns custom class names for a row in table header, or a string assigning class names for every row in table header\n */\n headerRowClassName: [String, Function] as PropType<\n TableProps<any>['headerRowClassName']\n >,\n /**\n * @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header\n */\n headerRowStyle: [Object, Function] as PropType<\n TableProps<any>['headerRowStyle']\n >,\n /**\n * @description function that returns custom class names for a cell in table header, or a string assigning class names for every cell in table header\n */\n headerCellClassName: [String, Function] as PropType<\n TableProps<any>['headerCellClassName']\n >,\n /**\n * @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header\n */\n headerCellStyle: [Object, Function] as PropType<\n TableProps<any>['headerCellStyle']\n >,\n /**\n * @description whether current row is highlighted\n */\n highlightCurrentRow: Boolean,\n /**\n * @description key of current row, a set only prop\n */\n currentRowKey: [String, Number],\n /**\n * @description displayed text when data is empty. You can customize this area with `#empty`\n */\n emptyText: String,\n /**\n * @description set expanded rows by this prop, prop's value is the keys of expand rows, you should set row-key before using this prop\n */\n expandRowKeys: Array as PropType<TableProps<any>['expandRowKeys']>,\n /**\n * @description whether expand all rows by default, works when the table has a column type=\"expand\" or contains tree structure data\n */\n defaultExpandAll: Boolean,\n /**\n * @description enable expandable rows, works when the table has a column type=\"expand\"\n */\n rowExpandable: {\n type: Function as PropType<TableProps<any>['rowExpandable']>,\n },\n /**\n * @description set the default sort column and order. property `prop` is used to set default sort column, property `order` is used to set default sort order\n */\n defaultSort: Object as PropType<TableProps<any>['defaultSort']>,\n /**\n * @description the `effect` of the overflow tooltip\n */\n tooltipEffect: String,\n /**\n * @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)\n */\n tooltipOptions: Object as PropType<TableProps<any>['tooltipOptions']>,\n /**\n * @description method that returns rowspan and colspan\n */\n spanMethod: Function as PropType<TableProps<any>['spanMethod']>,\n /**\n * @description controls the behavior of master checkbox in multi-select tables when only some rows are selected (but not all). If true, all rows will be selected, else deselected\n */\n selectOnIndeterminate: {\n type: Boolean,\n default: true,\n },\n /**\n * @description horizontal indentation of tree data\n */\n indent: {\n type: Number,\n default: 16,\n },\n /**\n * @description configuration for rendering nested data\n */\n treeProps: {\n type: Object as PropType<TableProps<any>['treeProps']>,\n default: () => {\n return {\n hasChildren: 'hasChildren',\n children: 'children',\n checkStrictly: false,\n }\n },\n },\n /**\n * @description whether to lazy loading data\n */\n lazy: Boolean,\n /**\n * @description method for loading child row data, only works when `lazy` is true\n */\n load: Function as PropType<TableProps<any>['load']>,\n style: {\n type: [String, Object, Array, Boolean] as PropType<\n TableProps<any>['style']\n >,\n default: () => ({}),\n },\n className: {\n type: String,\n default: '',\n },\n /**\n * @description sets the algorithm used to lay out table cells, rows, and columns\n */\n tableLayout: {\n type: String as PropType<Layout>,\n default: 'fixed',\n },\n /**\n * @description always show scrollbar\n */\n scrollbarAlwaysOn: Boolean,\n /**\n * @description ensure main axis minimum-size doesn't follow the content\n */\n flexible: Boolean,\n /**\n * @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns\n */\n showOverflowTooltip: {\n type: [Boolean, Object] as PropType<TableProps<any>['showOverflowTooltip']>,\n default: undefined,\n },\n /**\n * @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`\n */\n tooltipFormatter: Function as PropType<TableProps<any>['tooltipFormatter']>,\n appendFilterPanelTo: String,\n scrollbarTabindex: {\n type: [Number, String],\n default: undefined,\n },\n /**\n * @description whether to allow drag the last column\n */\n allowDragLastColumn: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to preserve expanded row content in DOM when collapsed\n */\n preserveExpandedContent: Boolean,\n /**\n * @description whether to use native scrollbars\n */\n nativeScrollbar: Boolean,\n}\nexport type {\n SummaryMethod,\n Table,\n TableProps,\n TableRefs,\n ColumnCls,\n ColumnStyle,\n CellCls,\n CellStyle,\n DefaultRow,\n TreeNode,\n RenderRowData,\n Sort,\n Filter,\n TableColumnCtx,\n TreeProps,\n TableTooltipData,\n TableSortOrder,\n RenderExpanded,\n TableConfigContext,\n TableEmits,\n}\n\nexport default tableProps\n"],"mappings":";;;;;AA6ZA,MAAa,aAAa;;;;CAIxB,MAAM;EACJ,MAAM;EACN,eAAe,EAAE;EAClB;;;;CAID,MAAM;CACN,OAAO,CAAC,QAAQ,OAAO;;;;CAIvB,QAAQ,CAAC,QAAQ,OAAO;;;;CAIxB,WAAW,CAAC,QAAQ,OAAO;;;;CAI3B,KAAK;EACH,MAAM;EACN,SAAS;EACV;;;;CAID,QAAQ;;;;CAIR,QAAQ;;;;CAIR,QAAQ,CAAC,QAAQ,SAAS;;;;CAI1B,YAAY;EACV,MAAM;EACN,SAAS;EACV;;;;CAID,aAAa;;;;CAIb,SAAS;;;;CAIT,eAAe;;;;CAIf,cAAc,CAAC,QAAQ,SAAS;;;;CAIhC,UAAU,CAAC,QAAQ,SAAS;;;;CAI5B,eAAe,CAAC,QAAQ,SAAS;;;;CAMjC,WAAW,CAAC,QAAQ,SAAS;;;;CAI7B,oBAAoB,CAAC,QAAQ,SAAS;;;;CAMtC,gBAAgB,CAAC,QAAQ,SAAS;;;;CAMlC,qBAAqB,CAAC,QAAQ,SAAS;;;;CAMvC,iBAAiB,CAAC,QAAQ,SAAS;;;;CAMnC,qBAAqB;;;;CAIrB,eAAe,CAAC,QAAQ,OAAO;;;;CAI/B,WAAW;;;;CAIX,eAAe;;;;CAIf,kBAAkB;;;;CAIlB,eAAe,EACb,MAAM,UACP;;;;CAID,aAAa;;;;CAIb,eAAe;;;;CAIf,gBAAgB;;;;CAIhB,YAAY;;;;CAIZ,uBAAuB;EACrB,MAAM;EACN,SAAS;EACV;;;;CAID,QAAQ;EACN,MAAM;EACN,SAAS;EACV;;;;CAID,WAAW;EACT,MAAM;EACN,eAAe;GACb,OAAO;IACL,aAAa;IACb,UAAU;IACV,eAAe;IAChB;;EAEJ;;;;CAID,MAAM;;;;CAIN,MAAM;CACN,OAAO;EACL,MAAM;GAAC;GAAQ;GAAQ;GAAO;GAAQ;EAGtC,gBAAgB,EAAE;EACnB;CACD,WAAW;EACT,MAAM;EACN,SAAS;EACV;;;;CAID,aAAa;EACX,MAAM;EACN,SAAS;EACV;;;;CAID,mBAAmB;;;;CAInB,UAAU;;;;CAIV,qBAAqB;EACnB,MAAM,CAAC,SAAS,OAAO;EACvB,SAAS,KAAA;EACV;;;;CAID,kBAAkB;CAClB,qBAAqB;CACrB,mBAAmB;EACjB,MAAM,CAAC,QAAQ,OAAO;EACtB,SAAS,KAAA;EACV;;;;CAID,qBAAqB;EACnB,MAAM;EACN,SAAS;EACV;;;;CAID,yBAAyB;;;;CAIzB,iBAAiB;CAClB"}
1
+ {"version":3,"file":"defaults.mjs","names":[],"sources":["../../../../../../../packages/components/table/src/table/defaults.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\n\nimport type {\n CSSProperties,\n ComponentInternalInstance,\n PropType,\n Ref,\n StyleValue,\n VNode,\n} from 'vue'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type { Nullable } from '@element-plus/utils'\nimport type { Store } from '../store'\nimport type { TableColumnCtx } from '../table-column/defaults'\nimport type TableLayout from '../table-layout'\nimport type {\n TableOverflowTooltipFormatter,\n TableOverflowTooltipOptions,\n} from '../util'\n\ntype DefaultRow = Record<PropertyKey, any>\n\ninterface TableRefs {\n tableWrapper: HTMLElement\n headerWrapper: HTMLElement\n footerWrapper: HTMLElement\n fixedBodyWrapper: HTMLElement\n rightFixedBodyWrapper: HTMLElement\n bodyWrapper: HTMLElement\n appendWrapper: HTMLElement\n [key: string]: any\n}\n\ninterface TableState {\n isGroup: Ref<boolean>\n resizeState: Ref<{\n width: any\n height: any\n }>\n doLayout: () => void\n debouncedUpdateLayout: () => void\n}\n\ninterface TreeProps {\n hasChildren?: string\n children?: string\n checkStrictly?: boolean\n}\n\ntype HoverState<T extends DefaultRow> = Nullable<{\n cell: HTMLElement\n column: TableColumnCtx<T>\n row: T\n}>\n\ntype RIS<T extends DefaultRow> = {\n row: T\n $index: number\n store: Store<T>\n expanded: boolean\n}\n\ntype RenderExpanded<T extends DefaultRow> = ({\n row,\n $index,\n store,\n expanded,\n}: RIS<T>) => VNode[] | undefined\n\ntype SummaryMethod<T extends DefaultRow> = (data: {\n columns: TableColumnCtx<T>[]\n data: T[]\n}) => (string | VNode)[]\n\ninterface Table<T extends DefaultRow = any> extends Omit<\n ComponentInternalInstance,\n 'emit'\n> {\n $ready: boolean\n hoverState?: HoverState<T> | null\n renderExpanded: RenderExpanded<T>\n store: Store<T>\n layout: TableLayout<T>\n refs: TableRefs\n tableId: string\n state: TableState\n emit: TableEmits<T>\n}\n\ntype ColumnCls<T> = string | ((data: { row: T; rowIndex: number }) => string)\ntype ColumnStyle<T> =\n CSSProperties | ((data: { row: T; rowIndex: number }) => CSSProperties)\ntype CellCls<T extends DefaultRow> =\n | string\n | ((data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) => string)\ntype CellStyle<T extends DefaultRow> =\n | CSSProperties\n | ((data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) => CSSProperties)\ntype Layout = 'fixed' | 'auto'\ninterface TableProps<T extends DefaultRow = DefaultRow> {\n /**\n * @description table data\n */\n data?: T[]\n /**\n * @description size of Table\n */\n size?: ComponentSize\n width?: string | number\n /**\n * @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles\n */\n height?: string | number\n /**\n * @description table's max-height. The legal value is a number or the height in px\n */\n maxHeight?: string | number\n /**\n * @description whether width of column automatically fits its container\n */\n fit?: boolean\n /**\n * @description whether Table is striped\n */\n stripe?: boolean\n /**\n * @description whether Table has vertical border\n */\n border?: boolean\n /**\n * @description key of row data, used for optimizing rendering. Required if `reserve-selection` is on or display tree data. When its type is String, multi-level access is supported, e.g. `user.info.id`, but `user.info[0].id` is not supported, in which case `Function` should be used\n */\n rowKey?: string | ((row: T) => string)\n context?: Table<T>\n /**\n * @description whether Table header is visible\n */\n showHeader?: boolean\n /**\n * @description whether to display a summary row\n */\n showSummary?: boolean\n /**\n * @description displayed text for the first column of summary row\n */\n sumText?: string\n /**\n * @description custom summary method\n */\n summaryMethod?: SummaryMethod<T>\n /**\n * @description function that returns custom class names for a row, or a string assigning class names for every row\n */\n rowClassName?: ColumnCls<T>\n /**\n * @description function that returns custom style for a row, or an object assigning custom style for every row\n */\n rowStyle?: ColumnStyle<T>\n /**\n * @description function that returns custom class names for a cell, or a string assigning class names for every cell\n */\n cellClassName?: CellCls<T>\n /**\n * @description function that returns custom style for a cell, or an object assigning custom style for every cell\n */\n cellStyle?: CellStyle<T>\n /**\n * @description function that returns custom class names for a row in table header, or a string assigning class names for every row in table header\n */\n headerRowClassName?: ColumnCls<T>\n /**\n * @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header\n */\n headerRowStyle?: ColumnStyle<T>\n /**\n * @description function that returns custom class names for a cell in table header, or a string assigning class names for every cell in table header\n */\n headerCellClassName?: CellCls<T>\n /**\n * @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header\n */\n headerCellStyle?: CellStyle<T>\n /**\n * @description whether current row is highlighted\n */\n highlightCurrentRow?: boolean\n /**\n * @description key of current row, a set only prop\n */\n currentRowKey?: string | number\n /**\n * @description displayed text when data is empty. You can customize this area with `#empty`\n */\n emptyText?: string\n /**\n * @description set expanded rows by this prop, prop's value is the keys of expand rows, you should set row-key before using this prop\n */\n expandRowKeys?: Array<string>\n /**\n * @description whether expand all rows by default, works when the table has a column type=\"expand\" or contains tree structure data\n */\n defaultExpandAll?: boolean\n /**\n * @description enable expandable rows, works when the table has a column type=\"expand\"\n */\n rowExpandable?: (row: T, index: number) => boolean\n /**\n * @description set the default sort column and order. property `prop` is used to set default sort column, property `order` is used to set default sort order\n */\n defaultSort?: Sort\n /**\n * @description the `effect` of the overflow tooltip\n */\n tooltipEffect?: string\n /**\n * @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)\n */\n tooltipOptions?: TableOverflowTooltipOptions\n /**\n * @description method that returns rowspan and colspan\n */\n spanMethod?: (data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) =>\n | number[]\n | {\n rowspan: number\n colspan: number\n }\n | undefined\n /**\n * @description controls the behavior of master checkbox in multi-select tables when only some rows are selected (but not all). If true, all rows will be selected, else deselected\n */\n selectOnIndeterminate?: boolean\n /**\n * @description horizontal indentation of tree data\n */\n indent?: number\n /**\n * @description configuration for rendering nested data\n */\n treeProps?: TreeProps\n /**\n * @description whether to lazy loading data\n */\n lazy?: boolean\n /**\n * @description method for loading child row data, only works when `lazy` is true\n */\n load?: (row: T, treeNode: TreeNode, resolve: (data: T[]) => void) => void\n className?: string\n style?: StyleValue\n /**\n * @description sets the algorithm used to lay out table cells, rows, and columns\n */\n tableLayout?: Layout\n /**\n * @description always show scrollbar\n */\n scrollbarAlwaysOn?: boolean\n /**\n * @description ensure main axis minimum-size doesn't follow the content\n */\n flexible?: boolean\n /**\n * @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns\n */\n showOverflowTooltip?: boolean | TableOverflowTooltipOptions\n /**\n * @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`\n */\n tooltipFormatter?: TableOverflowTooltipFormatter<T>\n appendFilterPanelTo?: string\n scrollbarTabindex?: number | string\n /**\n * @description whether to allow drag the last column\n */\n allowDragLastColumn?: boolean\n /**\n * @description whether to preserve expanded row content in DOM when collapsed\n */\n preserveExpandedContent?: boolean\n /**\n * @description whether to use native scrollbars\n */\n nativeScrollbar?: boolean\n}\n\ntype TableTooltipData<T extends DefaultRow> = Parameters<\n TableOverflowTooltipFormatter<T>\n>[0]\ntype TableSortOrder = 'ascending' | 'descending'\n\ninterface Sort {\n prop: string\n order: TableSortOrder\n init?: any\n silent?: any\n}\n\ninterface Filter<T extends DefaultRow> {\n column: TableColumnCtx<T>\n values: string[]\n silent: any\n}\n\ninterface TreeNode {\n expanded?: boolean\n loading?: boolean\n noLazyChildren?: boolean\n indent?: number\n level?: number\n display?: boolean\n}\n\ninterface RenderRowData<T extends DefaultRow> {\n store: Store<T>\n _self: Table<T>\n column: TableColumnCtx<T>\n row: T\n $index: number\n cellIndex: number\n treeNode?: TreeNode\n expanded: boolean\n}\n\ninterface TableConfigContext {\n showOverflowTooltip?: boolean | TableOverflowTooltipOptions\n tooltipEffect?: string\n tooltipOptions?: TableOverflowTooltipOptions\n tooltipFormatter?: TableOverflowTooltipFormatter<any>\n}\n\ninterface TableEmits<T extends DefaultRow = DefaultRow> {\n (e: 'select', selection: T[], row: T): void\n (e: 'select-all', selection: T[]): void\n (e: 'selection-change', newSelection: T[]): void\n (\n e: 'cell-mouse-enter' | 'cell-mouse-leave' | 'cell-dblclick',\n row: T,\n column: TableColumnCtx<T>,\n cell: HTMLTableCellElement,\n event: MouseEvent\n ): void\n (\n e: 'cell-contextmenu' | 'cell-click',\n row: T,\n column: TableColumnCtx<T>,\n cell: HTMLTableCellElement,\n event: PointerEvent\n ): void\n (\n e: 'row-dblclick',\n row: T,\n column: TableColumnCtx<T> | null,\n event: MouseEvent\n ): void\n (\n e: 'row-click' | 'row-contextmenu',\n row: T,\n column: TableColumnCtx<T> | null,\n event: PointerEvent\n ): void\n (\n e: 'header-click' | 'header-contextmenu',\n column: TableColumnCtx<T>,\n event: PointerEvent\n ): void\n (\n e: 'sort-change',\n data: {\n column: TableColumnCtx<T>\n prop: string | null\n order: TableSortOrder | null\n }\n ): void\n (e: 'filter-change', newFilters: Record<string, string[]>): void\n (e: 'current-change', currentRow: T | null, oldCurrentRow: T | null): void\n (\n e: 'header-dragend',\n newWidth: number,\n oldWidth: number,\n column: TableColumnCtx<T>,\n event: MouseEvent\n ): void\n (e: 'expand-change', row: T, expandedRows: T[]): void\n (e: 'expand-change', row: T, expanded: boolean): void\n (\n e: 'scroll',\n data: {\n scrollLeft: number\n scrollTop: number\n }\n ): void\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `TableProps` instead.\n */\nexport const tableProps = {\n /**\n * @description table data\n */\n data: {\n type: Array as PropType<any[]>,\n default: () => [],\n },\n /**\n * @description size of Table\n */\n size: useSizeProp,\n width: [String, Number],\n /**\n * @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles\n */\n height: [String, Number],\n /**\n * @description table's max-height. The legal value is a number or the height in px\n */\n maxHeight: [String, Number],\n /**\n * @description whether width of column automatically fits its container\n */\n fit: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether Table is striped\n */\n stripe: Boolean,\n /**\n * @description whether Table has vertical border\n */\n border: Boolean,\n /**\n * @description key of row data, used for optimizing rendering. Required if `reserve-selection` is on or display tree data. When its type is String, multi-level access is supported, e.g. `user.info.id`, but `user.info[0].id` is not supported, in which case `Function` should be used\n */\n rowKey: [String, Function] as PropType<TableProps<any>['rowKey']>,\n /**\n * @description whether Table header is visible\n */\n showHeader: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to display a summary row\n */\n showSummary: Boolean,\n /**\n * @description displayed text for the first column of summary row\n */\n sumText: String,\n /**\n * @description custom summary method\n */\n summaryMethod: Function as PropType<TableProps<any>['summaryMethod']>,\n /**\n * @description function that returns custom class names for a row, or a string assigning class names for every row\n */\n rowClassName: [String, Function] as PropType<TableProps<any>['rowClassName']>,\n /**\n * @description function that returns custom style for a row, or an object assigning custom style for every row\n */\n rowStyle: [Object, Function] as PropType<TableProps<any>['rowStyle']>,\n /**\n * @description function that returns custom class names for a cell, or a string assigning class names for every cell\n */\n cellClassName: [String, Function] as PropType<\n TableProps<any>['cellClassName']\n >,\n /**\n * @description function that returns custom style for a cell, or an object assigning custom style for every cell\n */\n cellStyle: [Object, Function] as PropType<TableProps<any>['cellStyle']>,\n /**\n * @description function that returns custom class names for a row in table header, or a string assigning class names for every row in table header\n */\n headerRowClassName: [String, Function] as PropType<\n TableProps<any>['headerRowClassName']\n >,\n /**\n * @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header\n */\n headerRowStyle: [Object, Function] as PropType<\n TableProps<any>['headerRowStyle']\n >,\n /**\n * @description function that returns custom class names for a cell in table header, or a string assigning class names for every cell in table header\n */\n headerCellClassName: [String, Function] as PropType<\n TableProps<any>['headerCellClassName']\n >,\n /**\n * @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header\n */\n headerCellStyle: [Object, Function] as PropType<\n TableProps<any>['headerCellStyle']\n >,\n /**\n * @description whether current row is highlighted\n */\n highlightCurrentRow: Boolean,\n /**\n * @description key of current row, a set only prop\n */\n currentRowKey: [String, Number],\n /**\n * @description displayed text when data is empty. You can customize this area with `#empty`\n */\n emptyText: String,\n /**\n * @description set expanded rows by this prop, prop's value is the keys of expand rows, you should set row-key before using this prop\n */\n expandRowKeys: Array as PropType<TableProps<any>['expandRowKeys']>,\n /**\n * @description whether expand all rows by default, works when the table has a column type=\"expand\" or contains tree structure data\n */\n defaultExpandAll: Boolean,\n /**\n * @description enable expandable rows, works when the table has a column type=\"expand\"\n */\n rowExpandable: {\n type: Function as PropType<TableProps<any>['rowExpandable']>,\n },\n /**\n * @description set the default sort column and order. property `prop` is used to set default sort column, property `order` is used to set default sort order\n */\n defaultSort: Object as PropType<TableProps<any>['defaultSort']>,\n /**\n * @description the `effect` of the overflow tooltip\n */\n tooltipEffect: String,\n /**\n * @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)\n */\n tooltipOptions: Object as PropType<TableProps<any>['tooltipOptions']>,\n /**\n * @description method that returns rowspan and colspan\n */\n spanMethod: Function as PropType<TableProps<any>['spanMethod']>,\n /**\n * @description controls the behavior of master checkbox in multi-select tables when only some rows are selected (but not all). If true, all rows will be selected, else deselected\n */\n selectOnIndeterminate: {\n type: Boolean,\n default: true,\n },\n /**\n * @description horizontal indentation of tree data\n */\n indent: {\n type: Number,\n default: 16,\n },\n /**\n * @description configuration for rendering nested data\n */\n treeProps: {\n type: Object as PropType<TableProps<any>['treeProps']>,\n default: () => {\n return {\n hasChildren: 'hasChildren',\n children: 'children',\n checkStrictly: false,\n }\n },\n },\n /**\n * @description whether to lazy loading data\n */\n lazy: Boolean,\n /**\n * @description method for loading child row data, only works when `lazy` is true\n */\n load: Function as PropType<TableProps<any>['load']>,\n style: {\n type: [String, Object, Array, Boolean] as PropType<\n TableProps<any>['style']\n >,\n default: () => ({}),\n },\n className: {\n type: String,\n default: '',\n },\n /**\n * @description sets the algorithm used to lay out table cells, rows, and columns\n */\n tableLayout: {\n type: String as PropType<Layout>,\n default: 'fixed',\n },\n /**\n * @description always show scrollbar\n */\n scrollbarAlwaysOn: Boolean,\n /**\n * @description ensure main axis minimum-size doesn't follow the content\n */\n flexible: Boolean,\n /**\n * @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns\n */\n showOverflowTooltip: {\n type: [Boolean, Object] as PropType<TableProps<any>['showOverflowTooltip']>,\n default: undefined,\n },\n /**\n * @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`\n */\n tooltipFormatter: Function as PropType<TableProps<any>['tooltipFormatter']>,\n appendFilterPanelTo: String,\n scrollbarTabindex: {\n type: [Number, String],\n default: undefined,\n },\n /**\n * @description whether to allow drag the last column\n */\n allowDragLastColumn: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to preserve expanded row content in DOM when collapsed\n */\n preserveExpandedContent: Boolean,\n /**\n * @description whether to use native scrollbars\n */\n nativeScrollbar: Boolean,\n}\nexport type {\n SummaryMethod,\n Table,\n TableProps,\n TableRefs,\n ColumnCls,\n ColumnStyle,\n CellCls,\n CellStyle,\n DefaultRow,\n TreeNode,\n RenderRowData,\n Sort,\n Filter,\n TableColumnCtx,\n TreeProps,\n TableTooltipData,\n TableSortOrder,\n RenderExpanded,\n TableConfigContext,\n TableEmits,\n}\n\nexport default tableProps\n"],"mappings":";;;;;AA4ZA,MAAa,aAAa;;;;CAIxB,MAAM;EACJ,MAAM;EACN,eAAe,EAAE;EAClB;;;;CAID,MAAM;CACN,OAAO,CAAC,QAAQ,OAAO;;;;CAIvB,QAAQ,CAAC,QAAQ,OAAO;;;;CAIxB,WAAW,CAAC,QAAQ,OAAO;;;;CAI3B,KAAK;EACH,MAAM;EACN,SAAS;EACV;;;;CAID,QAAQ;;;;CAIR,QAAQ;;;;CAIR,QAAQ,CAAC,QAAQ,SAAS;;;;CAI1B,YAAY;EACV,MAAM;EACN,SAAS;EACV;;;;CAID,aAAa;;;;CAIb,SAAS;;;;CAIT,eAAe;;;;CAIf,cAAc,CAAC,QAAQ,SAAS;;;;CAIhC,UAAU,CAAC,QAAQ,SAAS;;;;CAI5B,eAAe,CAAC,QAAQ,SAAS;;;;CAMjC,WAAW,CAAC,QAAQ,SAAS;;;;CAI7B,oBAAoB,CAAC,QAAQ,SAAS;;;;CAMtC,gBAAgB,CAAC,QAAQ,SAAS;;;;CAMlC,qBAAqB,CAAC,QAAQ,SAAS;;;;CAMvC,iBAAiB,CAAC,QAAQ,SAAS;;;;CAMnC,qBAAqB;;;;CAIrB,eAAe,CAAC,QAAQ,OAAO;;;;CAI/B,WAAW;;;;CAIX,eAAe;;;;CAIf,kBAAkB;;;;CAIlB,eAAe,EACb,MAAM,UACP;;;;CAID,aAAa;;;;CAIb,eAAe;;;;CAIf,gBAAgB;;;;CAIhB,YAAY;;;;CAIZ,uBAAuB;EACrB,MAAM;EACN,SAAS;EACV;;;;CAID,QAAQ;EACN,MAAM;EACN,SAAS;EACV;;;;CAID,WAAW;EACT,MAAM;EACN,eAAe;GACb,OAAO;IACL,aAAa;IACb,UAAU;IACV,eAAe;IAChB;;EAEJ;;;;CAID,MAAM;;;;CAIN,MAAM;CACN,OAAO;EACL,MAAM;GAAC;GAAQ;GAAQ;GAAO;GAAQ;EAGtC,gBAAgB,EAAE;EACnB;CACD,WAAW;EACT,MAAM;EACN,SAAS;EACV;;;;CAID,aAAa;EACX,MAAM;EACN,SAAS;EACV;;;;CAID,mBAAmB;;;;CAInB,UAAU;;;;CAIV,qBAAqB;EACnB,MAAM,CAAC,SAAS,OAAO;EACvB,SAAS,KAAA;EACV;;;;CAID,kBAAkB;CAClB,qBAAqB;CACrB,mBAAmB;EACjB,MAAM,CAAC,QAAQ,OAAO;EACtB,SAAS,KAAA;EACV;;;;CAID,qBAAqB;EACnB,MAAM;EACN,SAAS;EACV;;;;CAID,yBAAyB;;;;CAIzB,iBAAiB;CAClB"}
@@ -11,7 +11,7 @@ declare function useStyle<T extends DefaultRow>(props: TableProps<T>, layout: Ta
11
11
  isGroup: _$vue.Ref<boolean, boolean>;
12
12
  handleMouseLeave: () => void;
13
13
  handleHeaderFooterMousewheel: (_event: WheelEvent, data: any) => void;
14
- tableSize: _$vue.ComputedRef<"" | "default" | "small" | "large">;
14
+ tableSize: _$vue.ComputedRef<"" | "small" | "default" | "large">;
15
15
  emptyBlockStyle: _$vue.ComputedRef<{
16
16
  width: string;
17
17
  height: string;
@@ -35,7 +35,7 @@ declare function useStyle<T extends DefaultRow>(props: TableProps<T>, layout: Ta
35
35
  tableBodyStyles: _$vue.ComputedRef<{
36
36
  width: string;
37
37
  }>;
38
- tableLayout: _$vue.ComputedRef<"auto" | "fixed">;
38
+ tableLayout: _$vue.ComputedRef<"fixed" | "auto">;
39
39
  scrollbarViewStyle: {
40
40
  display: string;
41
41
  verticalAlign: string;