@sdata/web-vue 1.9.0 → 1.11.0

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 (1052) hide show
  1. package/dist/sd.css +199 -1035
  2. package/dist/sd.min.css +1 -1
  3. package/es/_components/auto-tooltip/auto-tooltip.js +1 -4
  4. package/es/_components/feedback-icon.vue.d.ts +12 -0
  5. package/es/_components/input-label/style/input-label.scss +11 -51
  6. package/es/_components/picker/input-range.vue.d.ts +15 -0
  7. package/es/_components/picker/input.vue.d.ts +15 -0
  8. package/es/_components/resize-trigger.vue.d.ts +6 -0
  9. package/es/_components/select-view/select-view.d.ts +2 -2
  10. package/es/_components/select-view/style/index.css +0 -84
  11. package/es/_components/transition/expand-transition.vue.d.ts +6 -6
  12. package/es/_components/transition/expand-transition.vue_vue_type_script_lang.js +13 -6
  13. package/es/_components/virtual-list/index.js +5 -0
  14. package/es/_components/virtual-list/interface.d.ts +62 -11
  15. package/es/_components/virtual-list/style/index.scss +1 -0
  16. package/es/_components/{virtual-list-v2/hooks/use-size.d.ts → virtual-list/use-virtual-size.d.ts} +5 -4
  17. package/es/_components/virtual-list/use-virtual-size.js +94 -0
  18. package/es/_components/virtual-list/virtual-list.js +122 -0
  19. package/es/_components/virtual-list/virtual-list.vue.d.ts +512 -94
  20. package/es/_components/virtual-list/virtual-list.vue_vue_type_script_lang.js +742 -0
  21. package/es/_hooks/use-allow-clear.d.ts +1 -1
  22. package/es/_hooks/use-allow-clear.js +2 -2
  23. package/es/_hooks/use-pure-prop.js +2 -2
  24. package/es/_hooks/use-resize-observer.d.ts +1 -1
  25. package/es/_utils/clipboard.js +2 -1
  26. package/es/_utils/date.d.ts +1 -3
  27. package/es/_utils/date.js +1 -1
  28. package/es/_utils/raf.d.ts +2 -2
  29. package/es/_utils/style.d.ts +1 -1
  30. package/es/_utils/use-prop-or-slot.d.ts +3 -5
  31. package/es/_utils/virtual-dropdown.d.ts +4 -0
  32. package/es/_utils/virtual-dropdown.js +17 -0
  33. package/es/alert/alert.vue.d.ts +15 -0
  34. package/es/alert/index.d.ts +30 -0
  35. package/es/auto-complete/auto-complete.d.ts +2 -2
  36. package/es/auto-complete/auto-complete.js +8 -3
  37. package/es/auto-complete/index.d.ts +27 -18
  38. package/es/auto-complete/style/index.css +0 -16
  39. package/es/auto-complete/style/index.scss +11 -26
  40. package/es/avatar/avatar.vue.d.ts +6 -0
  41. package/es/avatar/index.d.ts +12 -0
  42. package/es/back-top/back-top.vue.d.ts +3 -0
  43. package/es/back-top/index.d.ts +6 -0
  44. package/es/badge/badge.d.ts +1 -1
  45. package/es/badge/index.d.ts +3 -3
  46. package/es/badge/style/index.scss +11 -41
  47. package/es/button/button.vue.d.ts +3 -0
  48. package/es/button/index.d.ts +6 -0
  49. package/es/button/interface.d.ts +1 -1
  50. package/es/button/style/index.css +35 -445
  51. package/es/button/style/index.scss +57 -332
  52. package/es/calendar/hooks/useCellClassName.d.ts +18 -10
  53. package/es/calendar/hooks/useCellClassName.js +1 -1
  54. package/es/card/style/index.scss +18 -52
  55. package/es/carousel/carousel-arrow.vue.d.ts +12 -0
  56. package/es/carousel/carousel.d.ts +2 -2
  57. package/es/carousel/index.d.ts +7 -6
  58. package/es/cascader/base-cascader-panel.d.ts +1 -1
  59. package/es/cascader/cascader-column.d.ts +1 -1
  60. package/es/cascader/cascader-column.js +3 -3
  61. package/es/cascader/cascader-option.d.ts +1 -1
  62. package/es/cascader/cascader-option.js +18 -20
  63. package/es/cascader/cascader-panel.vue.d.ts +95 -31
  64. package/es/cascader/cascader-panel.vue_vue_type_script_lang.js +23 -8
  65. package/es/cascader/cascader.js +3 -3
  66. package/es/cascader/cascader.vue.d.ts +177 -48
  67. package/es/cascader/cascader.vue_vue_type_script_lang.js +85 -30
  68. package/es/cascader/context.d.ts +5 -5
  69. package/es/cascader/index.d.ts +503 -141
  70. package/es/cascader/interface.d.ts +14 -8
  71. package/es/cascader/style/index.css +5 -0
  72. package/es/cascader/style/index.scss +4 -0
  73. package/es/cascader/utils.d.ts +9 -6
  74. package/es/cascader/utils.js +33 -21
  75. package/es/checkbox/checkbox-group.d.ts +1 -1
  76. package/es/checkbox/context.d.ts +1 -1
  77. package/es/checkbox/index.d.ts +1 -1
  78. package/es/collapse/collapse-item.d.ts +6 -0
  79. package/es/collapse/index.d.ts +6 -0
  80. package/es/color-picker/color-picker.d.ts +1 -1
  81. package/es/color-picker/index.d.ts +3 -3
  82. package/es/color-picker/style/index.scss +17 -99
  83. package/es/config-provider/config-provider.vue.d.ts +5 -5
  84. package/es/config-provider/index.d.ts +13 -12
  85. package/es/config-provider/theme-provider.vue.d.ts +1 -1
  86. package/es/date-picker/index.d.ts +204 -33
  87. package/es/date-picker/panels/date/index.js +1 -1
  88. package/es/date-picker/panels/date/index.vue.d.ts +28 -3
  89. package/es/date-picker/panels/date/index.vue_vue_type_script_lang.js +14 -1
  90. package/es/date-picker/panels/footer.vue.d.ts +18 -0
  91. package/es/date-picker/panels/header.vue.d.ts +12 -0
  92. package/es/date-picker/panels/month/index.vue.d.ts +12 -0
  93. package/es/date-picker/panels/quarter/index.vue.d.ts +12 -0
  94. package/es/date-picker/panels/shortcuts.vue.d.ts +6 -0
  95. package/es/date-picker/panels/week/index.js +6 -0
  96. package/es/date-picker/panels/week/index.vue.d.ts +68 -17
  97. package/es/date-picker/panels/week/index.vue_vue_type_script_lang.js +18 -4
  98. package/es/date-picker/panels/year/index.vue.d.ts +12 -0
  99. package/es/date-picker/picker-panel.vue.d.ts +138 -2
  100. package/es/date-picker/picker.vue.d.ts +167 -13
  101. package/es/date-picker/range-picker-panel.js +1 -1
  102. package/es/date-picker/range-picker-panel.vue.d.ts +155 -9
  103. package/es/date-picker/range-picker-panel.vue_vue_type_script_lang.js +9 -5
  104. package/es/date-picker/range-picker.js +1 -1
  105. package/es/date-picker/range-picker.vue.d.ts +185 -21
  106. package/es/date-picker/range-picker.vue_vue_type_script_lang.js +22 -9
  107. package/es/descriptions/descriptions.d.ts +1 -1
  108. package/es/descriptions/index.d.ts +4 -4
  109. package/es/descriptions/style/index.scss +18 -63
  110. package/es/drawer/drawer.vue.d.ts +9 -0
  111. package/es/drawer/drawer.vue_vue_type_script_lang.js +1 -1
  112. package/es/drawer/index.d.ts +18 -0
  113. package/es/drawer/index.js +1 -1
  114. package/es/dropdown/dropdown-button.vue.d.ts +312 -178
  115. package/es/dropdown/dropdown-button.vue_vue_type_script_lang.js +5 -1
  116. package/es/dropdown/dropdown-panel.vue.d.ts +293 -168
  117. package/es/dropdown/dropdown-submenu.vue.d.ts +302 -174
  118. package/es/dropdown/dropdown-submenu.vue_vue_type_script_lang.js +5 -1
  119. package/es/dropdown/dropdown.vue.d.ts +299 -174
  120. package/es/dropdown/dropdown.vue_vue_type_script_lang.js +5 -1
  121. package/es/dropdown/index.d.ts +1212 -700
  122. package/es/ellipsis/ellipsis.vue.d.ts +14 -14
  123. package/es/ellipsis/ellipsis.vue_vue_type_script_lang.js +1 -1
  124. package/es/ellipsis/index.d.ts +61 -61
  125. package/es/ellipsis/performant-ellipsis.vue.d.ts +15 -15
  126. package/es/form/form-item-label.vue.d.ts +15 -12
  127. package/es/form/form-item.vue.d.ts +15 -12
  128. package/es/form/form.vue.d.ts +2 -2
  129. package/es/form/form.vue_vue_type_script_lang.js +3 -6
  130. package/es/form/index.d.ts +18 -15
  131. package/es/form/style/index.css +12 -176
  132. package/es/form/style/status.scss +36 -73
  133. package/es/icon/icon-align-center/icon-align-center.vue.d.ts +1 -0
  134. package/es/icon/icon-align-center/index.d.ts +3 -0
  135. package/es/icon/icon-align-left/icon-align-left.vue.d.ts +1 -0
  136. package/es/icon/icon-align-left/index.d.ts +3 -0
  137. package/es/icon/icon-align-right/icon-align-right.vue.d.ts +1 -0
  138. package/es/icon/icon-align-right/index.d.ts +3 -0
  139. package/es/icon/icon-alipay-circle/icon-alipay-circle.vue.d.ts +1 -0
  140. package/es/icon/icon-alipay-circle/index.d.ts +3 -0
  141. package/es/icon/icon-apps/icon-apps.vue.d.ts +1 -0
  142. package/es/icon/icon-apps/index.d.ts +3 -0
  143. package/es/icon/icon-archive/icon-archive.vue.d.ts +1 -0
  144. package/es/icon/icon-archive/index.d.ts +3 -0
  145. package/es/icon/icon-arrow-down/icon-arrow-down.vue.d.ts +1 -0
  146. package/es/icon/icon-arrow-down/index.d.ts +3 -0
  147. package/es/icon/icon-arrow-fall/icon-arrow-fall.vue.d.ts +1 -0
  148. package/es/icon/icon-arrow-fall/index.d.ts +3 -0
  149. package/es/icon/icon-arrow-left/icon-arrow-left.vue.d.ts +1 -0
  150. package/es/icon/icon-arrow-left/index.d.ts +3 -0
  151. package/es/icon/icon-arrow-right/icon-arrow-right.vue.d.ts +1 -0
  152. package/es/icon/icon-arrow-right/index.d.ts +3 -0
  153. package/es/icon/icon-arrow-rise/icon-arrow-rise.vue.d.ts +1 -0
  154. package/es/icon/icon-arrow-rise/index.d.ts +3 -0
  155. package/es/icon/icon-arrow-up/icon-arrow-up.vue.d.ts +1 -0
  156. package/es/icon/icon-arrow-up/index.d.ts +3 -0
  157. package/es/icon/icon-at/icon-at.vue.d.ts +1 -0
  158. package/es/icon/icon-at/index.d.ts +3 -0
  159. package/es/icon/icon-attachment/icon-attachment.vue.d.ts +1 -0
  160. package/es/icon/icon-attachment/index.d.ts +3 -0
  161. package/es/icon/icon-backward/icon-backward.vue.d.ts +1 -0
  162. package/es/icon/icon-backward/index.d.ts +3 -0
  163. package/es/icon/icon-bar-chart/icon-bar-chart.vue.d.ts +1 -0
  164. package/es/icon/icon-bar-chart/index.d.ts +3 -0
  165. package/es/icon/icon-bg-colors/icon-bg-colors.vue.d.ts +1 -0
  166. package/es/icon/icon-bg-colors/index.d.ts +3 -0
  167. package/es/icon/icon-bold/icon-bold.vue.d.ts +1 -0
  168. package/es/icon/icon-bold/index.d.ts +3 -0
  169. package/es/icon/icon-book/icon-book.vue.d.ts +1 -0
  170. package/es/icon/icon-book/index.d.ts +3 -0
  171. package/es/icon/icon-bookmark/icon-bookmark.vue.d.ts +1 -0
  172. package/es/icon/icon-bookmark/index.d.ts +3 -0
  173. package/es/icon/icon-branch/icon-branch.vue.d.ts +1 -0
  174. package/es/icon/icon-branch/index.d.ts +3 -0
  175. package/es/icon/icon-brush/icon-brush.vue.d.ts +1 -0
  176. package/es/icon/icon-brush/index.d.ts +3 -0
  177. package/es/icon/icon-bug/icon-bug.vue.d.ts +1 -0
  178. package/es/icon/icon-bug/index.d.ts +3 -0
  179. package/es/icon/icon-bulb/icon-bulb.vue.d.ts +1 -0
  180. package/es/icon/icon-bulb/index.d.ts +3 -0
  181. package/es/icon/icon-bytedance-color/icon-bytedance-color.vue.d.ts +1 -0
  182. package/es/icon/icon-bytedance-color/index.d.ts +3 -0
  183. package/es/icon/icon-calendar/icon-calendar.js +5 -14
  184. package/es/icon/icon-calendar/icon-calendar.vue.d.ts +1 -0
  185. package/es/icon/icon-calendar/icon-calendar.vue_vue_type_script_lang.js +6 -0
  186. package/es/icon/icon-calendar/index.d.ts +3 -0
  187. package/es/icon/icon-calendar-clock/icon-calendar-clock.vue.d.ts +1 -0
  188. package/es/icon/icon-calendar-clock/index.d.ts +3 -0
  189. package/es/icon/icon-camera/icon-camera.vue.d.ts +1 -0
  190. package/es/icon/icon-camera/index.d.ts +3 -0
  191. package/es/icon/icon-caret-down/icon-caret-down.js +6 -15
  192. package/es/icon/icon-caret-down/icon-caret-down.vue.d.ts +1 -0
  193. package/es/icon/icon-caret-down/icon-caret-down.vue_vue_type_script_lang.js +6 -0
  194. package/es/icon/icon-caret-down/index.d.ts +3 -0
  195. package/es/icon/icon-caret-left/icon-caret-left.js +6 -15
  196. package/es/icon/icon-caret-left/icon-caret-left.vue.d.ts +1 -0
  197. package/es/icon/icon-caret-left/icon-caret-left.vue_vue_type_script_lang.js +6 -0
  198. package/es/icon/icon-caret-left/index.d.ts +3 -0
  199. package/es/icon/icon-caret-right/icon-caret-right.js +6 -15
  200. package/es/icon/icon-caret-right/icon-caret-right.vue.d.ts +1 -0
  201. package/es/icon/icon-caret-right/icon-caret-right.vue_vue_type_script_lang.js +6 -0
  202. package/es/icon/icon-caret-right/index.d.ts +3 -0
  203. package/es/icon/icon-caret-up/icon-caret-up.js +6 -15
  204. package/es/icon/icon-caret-up/icon-caret-up.vue.d.ts +1 -0
  205. package/es/icon/icon-caret-up/icon-caret-up.vue_vue_type_script_lang.js +6 -0
  206. package/es/icon/icon-caret-up/index.d.ts +3 -0
  207. package/es/icon/icon-check/icon-check.js +5 -14
  208. package/es/icon/icon-check/icon-check.vue.d.ts +1 -0
  209. package/es/icon/icon-check/icon-check.vue_vue_type_script_lang.js +6 -0
  210. package/es/icon/icon-check/index.d.ts +3 -0
  211. package/es/icon/icon-check-circle/icon-check-circle.vue.d.ts +1 -0
  212. package/es/icon/icon-check-circle/index.d.ts +3 -0
  213. package/es/icon/icon-check-circle-fill/icon-check-circle-fill.js +6 -15
  214. package/es/icon/icon-check-circle-fill/icon-check-circle-fill.vue.d.ts +1 -0
  215. package/es/icon/icon-check-circle-fill/icon-check-circle-fill.vue_vue_type_script_lang.js +6 -0
  216. package/es/icon/icon-check-circle-fill/index.d.ts +3 -0
  217. package/es/icon/icon-check-square/icon-check-square.vue.d.ts +1 -0
  218. package/es/icon/icon-check-square/index.d.ts +3 -0
  219. package/es/icon/icon-chinese-fill/icon-chinese-fill.vue.d.ts +1 -0
  220. package/es/icon/icon-chinese-fill/index.d.ts +3 -0
  221. package/es/icon/icon-clock-circle/icon-clock-circle.js +5 -14
  222. package/es/icon/icon-clock-circle/icon-clock-circle.vue.d.ts +1 -0
  223. package/es/icon/icon-clock-circle/icon-clock-circle.vue_vue_type_script_lang.js +6 -0
  224. package/es/icon/icon-clock-circle/index.d.ts +3 -0
  225. package/es/icon/icon-close/icon-close.js +5 -14
  226. package/es/icon/icon-close/icon-close.vue.d.ts +1 -0
  227. package/es/icon/icon-close/icon-close.vue_vue_type_script_lang.js +6 -0
  228. package/es/icon/icon-close/index.d.ts +3 -0
  229. package/es/icon/icon-close-circle/icon-close-circle.vue.d.ts +1 -0
  230. package/es/icon/icon-close-circle/index.d.ts +3 -0
  231. package/es/icon/icon-close-circle-fill/icon-close-circle-fill.js +6 -15
  232. package/es/icon/icon-close-circle-fill/icon-close-circle-fill.vue.d.ts +1 -0
  233. package/es/icon/icon-close-circle-fill/icon-close-circle-fill.vue_vue_type_script_lang.js +6 -0
  234. package/es/icon/icon-close-circle-fill/index.d.ts +3 -0
  235. package/es/icon/icon-cloud/icon-cloud.vue.d.ts +1 -0
  236. package/es/icon/icon-cloud/index.d.ts +3 -0
  237. package/es/icon/icon-cloud-download/icon-cloud-download.vue.d.ts +1 -0
  238. package/es/icon/icon-cloud-download/index.d.ts +3 -0
  239. package/es/icon/icon-code/icon-code.vue.d.ts +1 -0
  240. package/es/icon/icon-code/index.d.ts +3 -0
  241. package/es/icon/icon-code-block/icon-code-block.vue.d.ts +1 -0
  242. package/es/icon/icon-code-block/index.d.ts +3 -0
  243. package/es/icon/icon-code-sandbox/icon-code-sandbox.vue.d.ts +1 -0
  244. package/es/icon/icon-code-sandbox/index.d.ts +3 -0
  245. package/es/icon/icon-code-square/icon-code-square.vue.d.ts +1 -0
  246. package/es/icon/icon-code-square/index.d.ts +3 -0
  247. package/es/icon/icon-codepen/icon-codepen.vue.d.ts +1 -0
  248. package/es/icon/icon-codepen/index.d.ts +3 -0
  249. package/es/icon/icon-command/icon-command.vue.d.ts +1 -0
  250. package/es/icon/icon-command/index.d.ts +3 -0
  251. package/es/icon/icon-common/icon-common.vue.d.ts +1 -0
  252. package/es/icon/icon-common/index.d.ts +3 -0
  253. package/es/icon/icon-compass/icon-compass.vue.d.ts +1 -0
  254. package/es/icon/icon-compass/index.d.ts +3 -0
  255. package/es/icon/icon-computer/icon-computer.vue.d.ts +1 -0
  256. package/es/icon/icon-computer/index.d.ts +3 -0
  257. package/es/icon/icon-copy/icon-copy.js +5 -14
  258. package/es/icon/icon-copy/icon-copy.vue.d.ts +1 -0
  259. package/es/icon/icon-copy/icon-copy.vue_vue_type_script_lang.js +6 -0
  260. package/es/icon/icon-copy/index.d.ts +3 -0
  261. package/es/icon/icon-copyright/icon-copyright.vue.d.ts +1 -0
  262. package/es/icon/icon-copyright/index.d.ts +3 -0
  263. package/es/icon/icon-customer-service/icon-customer-service.vue.d.ts +1 -0
  264. package/es/icon/icon-customer-service/index.d.ts +3 -0
  265. package/es/icon/icon-dashboard/icon-dashboard.vue.d.ts +1 -0
  266. package/es/icon/icon-dashboard/index.d.ts +3 -0
  267. package/es/icon/icon-delete/icon-delete.js +5 -14
  268. package/es/icon/icon-delete/icon-delete.vue.d.ts +1 -0
  269. package/es/icon/icon-delete/icon-delete.vue_vue_type_script_lang.js +6 -0
  270. package/es/icon/icon-delete/index.d.ts +3 -0
  271. package/es/icon/icon-desktop/icon-desktop.vue.d.ts +1 -0
  272. package/es/icon/icon-desktop/index.d.ts +3 -0
  273. package/es/icon/icon-dice/icon-dice.vue.d.ts +1 -0
  274. package/es/icon/icon-dice/index.d.ts +3 -0
  275. package/es/icon/icon-double-down/icon-double-down.vue.d.ts +1 -0
  276. package/es/icon/icon-double-down/index.d.ts +3 -0
  277. package/es/icon/icon-double-left/icon-double-left.js +5 -14
  278. package/es/icon/icon-double-left/icon-double-left.vue.d.ts +1 -0
  279. package/es/icon/icon-double-left/icon-double-left.vue_vue_type_script_lang.js +6 -0
  280. package/es/icon/icon-double-left/index.d.ts +3 -0
  281. package/es/icon/icon-double-right/icon-double-right.js +5 -14
  282. package/es/icon/icon-double-right/icon-double-right.vue.d.ts +1 -0
  283. package/es/icon/icon-double-right/icon-double-right.vue_vue_type_script_lang.js +6 -0
  284. package/es/icon/icon-double-right/index.d.ts +3 -0
  285. package/es/icon/icon-double-up/icon-double-up.vue.d.ts +1 -0
  286. package/es/icon/icon-double-up/index.d.ts +3 -0
  287. package/es/icon/icon-down/icon-down.js +5 -14
  288. package/es/icon/icon-down/icon-down.vue.d.ts +1 -0
  289. package/es/icon/icon-down/icon-down.vue_vue_type_script_lang.js +6 -0
  290. package/es/icon/icon-down/index.d.ts +3 -0
  291. package/es/icon/icon-down-circle/icon-down-circle.vue.d.ts +1 -0
  292. package/es/icon/icon-down-circle/index.d.ts +3 -0
  293. package/es/icon/icon-download/icon-download.vue.d.ts +1 -0
  294. package/es/icon/icon-download/index.d.ts +3 -0
  295. package/es/icon/icon-drag-arrow/icon-drag-arrow.vue.d.ts +1 -0
  296. package/es/icon/icon-drag-arrow/index.d.ts +3 -0
  297. package/es/icon/icon-drag-dot/icon-drag-dot.js +6 -15
  298. package/es/icon/icon-drag-dot/icon-drag-dot.vue.d.ts +1 -0
  299. package/es/icon/icon-drag-dot/icon-drag-dot.vue_vue_type_script_lang.js +6 -0
  300. package/es/icon/icon-drag-dot/index.d.ts +3 -0
  301. package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.js +6 -15
  302. package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.vue.d.ts +1 -0
  303. package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.vue_vue_type_script_lang.js +6 -0
  304. package/es/icon/icon-drag-dot-vertical/index.d.ts +3 -0
  305. package/es/icon/icon-drive-file/icon-drive-file.vue.d.ts +1 -0
  306. package/es/icon/icon-drive-file/index.d.ts +3 -0
  307. package/es/icon/icon-ear/icon-ear.vue.d.ts +1 -0
  308. package/es/icon/icon-ear/index.d.ts +3 -0
  309. package/es/icon/icon-edit/icon-edit.js +5 -14
  310. package/es/icon/icon-edit/icon-edit.vue.d.ts +1 -0
  311. package/es/icon/icon-edit/icon-edit.vue_vue_type_script_lang.js +6 -0
  312. package/es/icon/icon-edit/index.d.ts +3 -0
  313. package/es/icon/icon-email/icon-email.vue.d.ts +1 -0
  314. package/es/icon/icon-email/index.d.ts +3 -0
  315. package/es/icon/icon-empty/icon-empty.js +5 -14
  316. package/es/icon/icon-empty/icon-empty.vue.d.ts +1 -0
  317. package/es/icon/icon-empty/icon-empty.vue_vue_type_script_lang.js +6 -0
  318. package/es/icon/icon-empty/index.d.ts +3 -0
  319. package/es/icon/icon-english-fill/icon-english-fill.vue.d.ts +1 -0
  320. package/es/icon/icon-english-fill/index.d.ts +3 -0
  321. package/es/icon/icon-eraser/icon-eraser.vue.d.ts +1 -0
  322. package/es/icon/icon-eraser/index.d.ts +3 -0
  323. package/es/icon/icon-exclamation/icon-exclamation.js +6 -15
  324. package/es/icon/icon-exclamation/icon-exclamation.vue.d.ts +1 -0
  325. package/es/icon/icon-exclamation/icon-exclamation.vue_vue_type_script_lang.js +6 -0
  326. package/es/icon/icon-exclamation/index.d.ts +3 -0
  327. package/es/icon/icon-exclamation-circle/icon-exclamation-circle.vue.d.ts +1 -0
  328. package/es/icon/icon-exclamation-circle/index.d.ts +3 -0
  329. package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.js +6 -15
  330. package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.vue.d.ts +1 -0
  331. package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.vue_vue_type_script_lang.js +6 -0
  332. package/es/icon/icon-exclamation-circle-fill/index.d.ts +3 -0
  333. package/es/icon/icon-exclamation-polygon-fill/icon-exclamation-polygon-fill.vue.d.ts +1 -0
  334. package/es/icon/icon-exclamation-polygon-fill/index.d.ts +3 -0
  335. package/es/icon/icon-expand/icon-expand.vue.d.ts +1 -0
  336. package/es/icon/icon-expand/index.d.ts +3 -0
  337. package/es/icon/icon-experiment/icon-experiment.vue.d.ts +1 -0
  338. package/es/icon/icon-experiment/index.d.ts +3 -0
  339. package/es/icon/icon-export/icon-export.vue.d.ts +1 -0
  340. package/es/icon/icon-export/index.d.ts +3 -0
  341. package/es/icon/icon-eye/icon-eye.js +6 -15
  342. package/es/icon/icon-eye/icon-eye.vue.d.ts +1 -0
  343. package/es/icon/icon-eye/icon-eye.vue_vue_type_script_lang.js +6 -0
  344. package/es/icon/icon-eye/index.d.ts +3 -0
  345. package/es/icon/icon-eye-invisible/icon-eye-invisible.js +5 -14
  346. package/es/icon/icon-eye-invisible/icon-eye-invisible.vue.d.ts +1 -0
  347. package/es/icon/icon-eye-invisible/icon-eye-invisible.vue_vue_type_script_lang.js +6 -0
  348. package/es/icon/icon-eye-invisible/index.d.ts +3 -0
  349. package/es/icon/icon-face-frown-fill/icon-face-frown-fill.js +6 -15
  350. package/es/icon/icon-face-frown-fill/icon-face-frown-fill.vue.d.ts +1 -0
  351. package/es/icon/icon-face-frown-fill/icon-face-frown-fill.vue_vue_type_script_lang.js +6 -0
  352. package/es/icon/icon-face-frown-fill/index.d.ts +3 -0
  353. package/es/icon/icon-face-meh-fill/icon-face-meh-fill.js +6 -15
  354. package/es/icon/icon-face-meh-fill/icon-face-meh-fill.vue.d.ts +1 -0
  355. package/es/icon/icon-face-meh-fill/icon-face-meh-fill.vue_vue_type_script_lang.js +6 -0
  356. package/es/icon/icon-face-meh-fill/index.d.ts +3 -0
  357. package/es/icon/icon-face-smile-fill/icon-face-smile-fill.js +6 -15
  358. package/es/icon/icon-face-smile-fill/icon-face-smile-fill.vue.d.ts +1 -0
  359. package/es/icon/icon-face-smile-fill/icon-face-smile-fill.vue_vue_type_script_lang.js +6 -0
  360. package/es/icon/icon-face-smile-fill/index.d.ts +3 -0
  361. package/es/icon/icon-faceBook-circle-fill/icon-faceBook-circle-fill.vue.d.ts +1 -0
  362. package/es/icon/icon-faceBook-circle-fill/index.d.ts +3 -0
  363. package/es/icon/icon-facebook/icon-facebook.vue.d.ts +1 -0
  364. package/es/icon/icon-facebook/index.d.ts +3 -0
  365. package/es/icon/icon-facebook-square-fill/icon-facebook-square-fill.vue.d.ts +1 -0
  366. package/es/icon/icon-facebook-square-fill/index.d.ts +3 -0
  367. package/es/icon/icon-file/icon-file.js +5 -14
  368. package/es/icon/icon-file/icon-file.vue.d.ts +1 -0
  369. package/es/icon/icon-file/icon-file.vue_vue_type_script_lang.js +6 -0
  370. package/es/icon/icon-file/index.d.ts +3 -0
  371. package/es/icon/icon-file-audio/icon-file-audio.js +6 -15
  372. package/es/icon/icon-file-audio/icon-file-audio.vue.d.ts +1 -0
  373. package/es/icon/icon-file-audio/icon-file-audio.vue_vue_type_script_lang.js +6 -0
  374. package/es/icon/icon-file-audio/index.d.ts +3 -0
  375. package/es/icon/icon-file-image/icon-file-image.js +5 -14
  376. package/es/icon/icon-file-image/icon-file-image.vue.d.ts +1 -0
  377. package/es/icon/icon-file-image/icon-file-image.vue_vue_type_script_lang.js +6 -0
  378. package/es/icon/icon-file-image/index.d.ts +3 -0
  379. package/es/icon/icon-file-pdf/icon-file-pdf.js +5 -14
  380. package/es/icon/icon-file-pdf/icon-file-pdf.vue.d.ts +1 -0
  381. package/es/icon/icon-file-pdf/icon-file-pdf.vue_vue_type_script_lang.js +6 -0
  382. package/es/icon/icon-file-pdf/index.d.ts +3 -0
  383. package/es/icon/icon-file-video/icon-file-video.js +5 -14
  384. package/es/icon/icon-file-video/icon-file-video.vue.d.ts +1 -0
  385. package/es/icon/icon-file-video/icon-file-video.vue_vue_type_script_lang.js +6 -0
  386. package/es/icon/icon-file-video/index.d.ts +3 -0
  387. package/es/icon/icon-filter/icon-filter.js +5 -14
  388. package/es/icon/icon-filter/icon-filter.vue.d.ts +1 -0
  389. package/es/icon/icon-filter/icon-filter.vue_vue_type_script_lang.js +6 -0
  390. package/es/icon/icon-filter/index.d.ts +3 -0
  391. package/es/icon/icon-find-replace/icon-find-replace.vue.d.ts +1 -0
  392. package/es/icon/icon-find-replace/index.d.ts +3 -0
  393. package/es/icon/icon-fire/icon-fire.vue.d.ts +1 -0
  394. package/es/icon/icon-fire/index.d.ts +3 -0
  395. package/es/icon/icon-folder/icon-folder.vue.d.ts +1 -0
  396. package/es/icon/icon-folder/index.d.ts +3 -0
  397. package/es/icon/icon-folder-add/icon-folder-add.vue.d.ts +1 -0
  398. package/es/icon/icon-folder-add/index.d.ts +3 -0
  399. package/es/icon/icon-folder-delete/icon-folder-delete.vue.d.ts +1 -0
  400. package/es/icon/icon-folder-delete/index.d.ts +3 -0
  401. package/es/icon/icon-font-colors/icon-font-colors.vue.d.ts +1 -0
  402. package/es/icon/icon-font-colors/index.d.ts +3 -0
  403. package/es/icon/icon-formula/icon-formula.vue.d.ts +1 -0
  404. package/es/icon/icon-formula/index.d.ts +3 -0
  405. package/es/icon/icon-forward/icon-forward.vue.d.ts +1 -0
  406. package/es/icon/icon-forward/index.d.ts +3 -0
  407. package/es/icon/icon-fullscreen/icon-fullscreen.js +5 -14
  408. package/es/icon/icon-fullscreen/icon-fullscreen.vue.d.ts +1 -0
  409. package/es/icon/icon-fullscreen/icon-fullscreen.vue_vue_type_script_lang.js +6 -0
  410. package/es/icon/icon-fullscreen/index.d.ts +3 -0
  411. package/es/icon/icon-fullscreen-exit/icon-fullscreen-exit.vue.d.ts +1 -0
  412. package/es/icon/icon-fullscreen-exit/index.d.ts +3 -0
  413. package/es/icon/icon-gift/icon-gift.vue.d.ts +1 -0
  414. package/es/icon/icon-gift/index.d.ts +3 -0
  415. package/es/icon/icon-github/icon-github.vue.d.ts +1 -0
  416. package/es/icon/icon-github/index.d.ts +3 -0
  417. package/es/icon/icon-gitlab/icon-gitlab.vue.d.ts +1 -0
  418. package/es/icon/icon-gitlab/index.d.ts +3 -0
  419. package/es/icon/icon-google/icon-google.vue.d.ts +1 -0
  420. package/es/icon/icon-google/index.d.ts +3 -0
  421. package/es/icon/icon-google-circle-fill/icon-google-circle-fill.vue.d.ts +1 -0
  422. package/es/icon/icon-google-circle-fill/index.d.ts +3 -0
  423. package/es/icon/icon-h1/icon-h1.vue.d.ts +1 -0
  424. package/es/icon/icon-h1/index.d.ts +3 -0
  425. package/es/icon/icon-h2/icon-h2.vue.d.ts +1 -0
  426. package/es/icon/icon-h2/index.d.ts +3 -0
  427. package/es/icon/icon-h3/icon-h3.vue.d.ts +1 -0
  428. package/es/icon/icon-h3/index.d.ts +3 -0
  429. package/es/icon/icon-h4/icon-h4.vue.d.ts +1 -0
  430. package/es/icon/icon-h4/index.d.ts +3 -0
  431. package/es/icon/icon-h5/icon-h5.vue.d.ts +1 -0
  432. package/es/icon/icon-h5/index.d.ts +3 -0
  433. package/es/icon/icon-h6/icon-h6.vue.d.ts +1 -0
  434. package/es/icon/icon-h6/index.d.ts +3 -0
  435. package/es/icon/icon-h7/icon-h7.vue.d.ts +1 -0
  436. package/es/icon/icon-h7/index.d.ts +3 -0
  437. package/es/icon/icon-heart/icon-heart.vue.d.ts +1 -0
  438. package/es/icon/icon-heart/index.d.ts +3 -0
  439. package/es/icon/icon-heart-fill/icon-heart-fill.vue.d.ts +1 -0
  440. package/es/icon/icon-heart-fill/index.d.ts +3 -0
  441. package/es/icon/icon-highlight/icon-highlight.vue.d.ts +1 -0
  442. package/es/icon/icon-highlight/index.d.ts +3 -0
  443. package/es/icon/icon-history/icon-history.vue.d.ts +1 -0
  444. package/es/icon/icon-history/index.d.ts +3 -0
  445. package/es/icon/icon-home/icon-home.vue.d.ts +1 -0
  446. package/es/icon/icon-home/index.d.ts +3 -0
  447. package/es/icon/icon-idcard/icon-idcard.vue.d.ts +1 -0
  448. package/es/icon/icon-idcard/index.d.ts +3 -0
  449. package/es/icon/icon-image/icon-image.vue.d.ts +1 -0
  450. package/es/icon/icon-image/index.d.ts +3 -0
  451. package/es/icon/icon-image-close/icon-image-close.js +5 -14
  452. package/es/icon/icon-image-close/icon-image-close.vue.d.ts +1 -0
  453. package/es/icon/icon-image-close/icon-image-close.vue_vue_type_script_lang.js +6 -0
  454. package/es/icon/icon-image-close/index.d.ts +3 -0
  455. package/es/icon/icon-import/icon-import.vue.d.ts +1 -0
  456. package/es/icon/icon-import/index.d.ts +3 -0
  457. package/es/icon/icon-info/icon-info.js +6 -15
  458. package/es/icon/icon-info/icon-info.vue.d.ts +1 -0
  459. package/es/icon/icon-info/icon-info.vue_vue_type_script_lang.js +6 -0
  460. package/es/icon/icon-info/index.d.ts +3 -0
  461. package/es/icon/icon-info-circle/icon-info-circle.vue.d.ts +1 -0
  462. package/es/icon/icon-info-circle/index.d.ts +3 -0
  463. package/es/icon/icon-info-circle-fill/icon-info-circle-fill.js +6 -15
  464. package/es/icon/icon-info-circle-fill/icon-info-circle-fill.vue.d.ts +1 -0
  465. package/es/icon/icon-info-circle-fill/icon-info-circle-fill.vue_vue_type_script_lang.js +6 -0
  466. package/es/icon/icon-info-circle-fill/index.d.ts +3 -0
  467. package/es/icon/icon-interaction/icon-interaction.vue.d.ts +1 -0
  468. package/es/icon/icon-interaction/index.d.ts +3 -0
  469. package/es/icon/icon-italic/icon-italic.vue.d.ts +1 -0
  470. package/es/icon/icon-italic/index.d.ts +3 -0
  471. package/es/icon/icon-language/icon-language.vue.d.ts +1 -0
  472. package/es/icon/icon-language/index.d.ts +3 -0
  473. package/es/icon/icon-lark-color/icon-lark-color.vue.d.ts +1 -0
  474. package/es/icon/icon-lark-color/index.d.ts +3 -0
  475. package/es/icon/icon-launch/icon-launch.vue.d.ts +1 -0
  476. package/es/icon/icon-launch/index.d.ts +3 -0
  477. package/es/icon/icon-layers/icon-layers.vue.d.ts +1 -0
  478. package/es/icon/icon-layers/index.d.ts +3 -0
  479. package/es/icon/icon-layout/icon-layout.vue.d.ts +1 -0
  480. package/es/icon/icon-layout/index.d.ts +3 -0
  481. package/es/icon/icon-left/icon-left.js +5 -14
  482. package/es/icon/icon-left/icon-left.vue.d.ts +1 -0
  483. package/es/icon/icon-left/icon-left.vue_vue_type_script_lang.js +6 -0
  484. package/es/icon/icon-left/index.d.ts +3 -0
  485. package/es/icon/icon-left-circle/icon-left-circle.vue.d.ts +1 -0
  486. package/es/icon/icon-left-circle/index.d.ts +3 -0
  487. package/es/icon/icon-line-height/icon-line-height.vue.d.ts +1 -0
  488. package/es/icon/icon-line-height/index.d.ts +3 -0
  489. package/es/icon/icon-link/icon-link.js +5 -14
  490. package/es/icon/icon-link/icon-link.vue.d.ts +1 -0
  491. package/es/icon/icon-link/icon-link.vue_vue_type_script_lang.js +6 -0
  492. package/es/icon/icon-link/index.d.ts +3 -0
  493. package/es/icon/icon-list/icon-list.vue.d.ts +1 -0
  494. package/es/icon/icon-list/index.d.ts +3 -0
  495. package/es/icon/icon-live-broadcast/icon-live-broadcast.vue.d.ts +1 -0
  496. package/es/icon/icon-live-broadcast/index.d.ts +3 -0
  497. package/es/icon/icon-loading/icon-loading.js +5 -14
  498. package/es/icon/icon-loading/icon-loading.vue.d.ts +1 -0
  499. package/es/icon/icon-loading/icon-loading.vue_vue_type_script_lang.js +6 -0
  500. package/es/icon/icon-loading/index.d.ts +3 -0
  501. package/es/icon/icon-location/icon-location.vue.d.ts +1 -0
  502. package/es/icon/icon-location/index.d.ts +3 -0
  503. package/es/icon/icon-lock/icon-lock.vue.d.ts +1 -0
  504. package/es/icon/icon-lock/index.d.ts +3 -0
  505. package/es/icon/icon-loop/icon-loop.vue.d.ts +1 -0
  506. package/es/icon/icon-loop/index.d.ts +3 -0
  507. package/es/icon/icon-man/icon-man.vue.d.ts +1 -0
  508. package/es/icon/icon-man/index.d.ts +3 -0
  509. package/es/icon/icon-menu/icon-menu.vue.d.ts +1 -0
  510. package/es/icon/icon-menu/index.d.ts +3 -0
  511. package/es/icon/icon-menu-fold/icon-menu-fold.js +5 -14
  512. package/es/icon/icon-menu-fold/icon-menu-fold.vue.d.ts +1 -0
  513. package/es/icon/icon-menu-fold/icon-menu-fold.vue_vue_type_script_lang.js +6 -0
  514. package/es/icon/icon-menu-fold/index.d.ts +3 -0
  515. package/es/icon/icon-menu-unfold/icon-menu-unfold.js +5 -14
  516. package/es/icon/icon-menu-unfold/icon-menu-unfold.vue.d.ts +1 -0
  517. package/es/icon/icon-menu-unfold/icon-menu-unfold.vue_vue_type_script_lang.js +6 -0
  518. package/es/icon/icon-menu-unfold/index.d.ts +3 -0
  519. package/es/icon/icon-message/icon-message.vue.d.ts +1 -0
  520. package/es/icon/icon-message/index.d.ts +3 -0
  521. package/es/icon/icon-message-banned/icon-message-banned.vue.d.ts +1 -0
  522. package/es/icon/icon-message-banned/index.d.ts +3 -0
  523. package/es/icon/icon-mind-mapping/icon-mind-mapping.vue.d.ts +1 -0
  524. package/es/icon/icon-mind-mapping/index.d.ts +3 -0
  525. package/es/icon/icon-minus/icon-minus.js +5 -14
  526. package/es/icon/icon-minus/icon-minus.vue.d.ts +1 -0
  527. package/es/icon/icon-minus/icon-minus.vue_vue_type_script_lang.js +6 -0
  528. package/es/icon/icon-minus/index.d.ts +3 -0
  529. package/es/icon/icon-minus-circle/icon-minus-circle.vue.d.ts +1 -0
  530. package/es/icon/icon-minus-circle/index.d.ts +3 -0
  531. package/es/icon/icon-minus-circle-fill/icon-minus-circle-fill.vue.d.ts +1 -0
  532. package/es/icon/icon-minus-circle-fill/index.d.ts +3 -0
  533. package/es/icon/icon-mobile/icon-mobile.vue.d.ts +1 -0
  534. package/es/icon/icon-mobile/index.d.ts +3 -0
  535. package/es/icon/icon-moon/icon-moon.vue.d.ts +1 -0
  536. package/es/icon/icon-moon/index.d.ts +3 -0
  537. package/es/icon/icon-moon-fill/icon-moon-fill.vue.d.ts +1 -0
  538. package/es/icon/icon-moon-fill/index.d.ts +3 -0
  539. package/es/icon/icon-more/icon-more.js +6 -15
  540. package/es/icon/icon-more/icon-more.vue.d.ts +1 -0
  541. package/es/icon/icon-more/icon-more.vue_vue_type_script_lang.js +6 -0
  542. package/es/icon/icon-more/index.d.ts +3 -0
  543. package/es/icon/icon-more-vertical/icon-more-vertical.vue.d.ts +1 -0
  544. package/es/icon/icon-more-vertical/index.d.ts +3 -0
  545. package/es/icon/icon-mosaic/icon-mosaic.vue.d.ts +1 -0
  546. package/es/icon/icon-mosaic/index.d.ts +3 -0
  547. package/es/icon/icon-music/icon-music.vue.d.ts +1 -0
  548. package/es/icon/icon-music/index.d.ts +3 -0
  549. package/es/icon/icon-mute/icon-mute.vue.d.ts +1 -0
  550. package/es/icon/icon-mute/index.d.ts +3 -0
  551. package/es/icon/icon-mute-fill/icon-mute-fill.vue.d.ts +1 -0
  552. package/es/icon/icon-mute-fill/index.d.ts +3 -0
  553. package/es/icon/icon-nav/icon-nav.vue.d.ts +1 -0
  554. package/es/icon/icon-nav/index.d.ts +3 -0
  555. package/es/icon/icon-notification/icon-notification.vue.d.ts +1 -0
  556. package/es/icon/icon-notification/index.d.ts +3 -0
  557. package/es/icon/icon-notification-close/icon-notification-close.vue.d.ts +1 -0
  558. package/es/icon/icon-notification-close/index.d.ts +3 -0
  559. package/es/icon/icon-oblique-line/icon-oblique-line.js +5 -14
  560. package/es/icon/icon-oblique-line/icon-oblique-line.vue.d.ts +1 -0
  561. package/es/icon/icon-oblique-line/icon-oblique-line.vue_vue_type_script_lang.js +6 -0
  562. package/es/icon/icon-oblique-line/index.d.ts +3 -0
  563. package/es/icon/icon-ordered-list/icon-ordered-list.vue.d.ts +1 -0
  564. package/es/icon/icon-ordered-list/index.d.ts +3 -0
  565. package/es/icon/icon-original-size/icon-original-size.js +6 -15
  566. package/es/icon/icon-original-size/icon-original-size.vue.d.ts +1 -0
  567. package/es/icon/icon-original-size/icon-original-size.vue_vue_type_script_lang.js +6 -0
  568. package/es/icon/icon-original-size/index.d.ts +3 -0
  569. package/es/icon/icon-palette/icon-palette.vue.d.ts +1 -0
  570. package/es/icon/icon-palette/index.d.ts +3 -0
  571. package/es/icon/icon-paste/icon-paste.vue.d.ts +1 -0
  572. package/es/icon/icon-paste/index.d.ts +3 -0
  573. package/es/icon/icon-pause/icon-pause.js +6 -15
  574. package/es/icon/icon-pause/icon-pause.vue.d.ts +1 -0
  575. package/es/icon/icon-pause/icon-pause.vue_vue_type_script_lang.js +6 -0
  576. package/es/icon/icon-pause/index.d.ts +3 -0
  577. package/es/icon/icon-pause-circle/icon-pause-circle.vue.d.ts +1 -0
  578. package/es/icon/icon-pause-circle/index.d.ts +3 -0
  579. package/es/icon/icon-pause-circle-fill/icon-pause-circle-fill.vue.d.ts +1 -0
  580. package/es/icon/icon-pause-circle-fill/index.d.ts +3 -0
  581. package/es/icon/icon-pen/icon-pen.vue.d.ts +1 -0
  582. package/es/icon/icon-pen/index.d.ts +3 -0
  583. package/es/icon/icon-pen-fill/icon-pen-fill.vue.d.ts +1 -0
  584. package/es/icon/icon-pen-fill/index.d.ts +3 -0
  585. package/es/icon/icon-phone/icon-phone.vue.d.ts +1 -0
  586. package/es/icon/icon-phone/index.d.ts +3 -0
  587. package/es/icon/icon-play-arrow/icon-play-arrow.vue.d.ts +1 -0
  588. package/es/icon/icon-play-arrow/index.d.ts +3 -0
  589. package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.js +6 -15
  590. package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.vue.d.ts +1 -0
  591. package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.vue_vue_type_script_lang.js +6 -0
  592. package/es/icon/icon-play-arrow-fill/index.d.ts +3 -0
  593. package/es/icon/icon-play-circle/icon-play-circle.vue.d.ts +1 -0
  594. package/es/icon/icon-play-circle/index.d.ts +3 -0
  595. package/es/icon/icon-play-circle-fill/icon-play-circle-fill.vue.d.ts +1 -0
  596. package/es/icon/icon-play-circle-fill/index.d.ts +3 -0
  597. package/es/icon/icon-plus/icon-plus.js +5 -14
  598. package/es/icon/icon-plus/icon-plus.vue.d.ts +1 -0
  599. package/es/icon/icon-plus/icon-plus.vue_vue_type_script_lang.js +6 -0
  600. package/es/icon/icon-plus/index.d.ts +3 -0
  601. package/es/icon/icon-plus-circle/icon-plus-circle.vue.d.ts +1 -0
  602. package/es/icon/icon-plus-circle/index.d.ts +3 -0
  603. package/es/icon/icon-plus-circle-fill/icon-plus-circle-fill.vue.d.ts +1 -0
  604. package/es/icon/icon-plus-circle-fill/index.d.ts +3 -0
  605. package/es/icon/icon-poweroff/icon-poweroff.vue.d.ts +1 -0
  606. package/es/icon/icon-poweroff/index.d.ts +3 -0
  607. package/es/icon/icon-printer/icon-printer.vue.d.ts +1 -0
  608. package/es/icon/icon-printer/index.d.ts +3 -0
  609. package/es/icon/icon-public/icon-public.vue.d.ts +1 -0
  610. package/es/icon/icon-public/index.d.ts +3 -0
  611. package/es/icon/icon-pushpin/icon-pushpin.vue.d.ts +1 -0
  612. package/es/icon/icon-pushpin/index.d.ts +3 -0
  613. package/es/icon/icon-qq/icon-qq.vue.d.ts +1 -0
  614. package/es/icon/icon-qq/index.d.ts +3 -0
  615. package/es/icon/icon-qq-circle-fill/icon-qq-circle-fill.vue.d.ts +1 -0
  616. package/es/icon/icon-qq-circle-fill/index.d.ts +3 -0
  617. package/es/icon/icon-qq-zone/icon-qq-zone.vue.d.ts +1 -0
  618. package/es/icon/icon-qq-zone/index.d.ts +3 -0
  619. package/es/icon/icon-qrcode/icon-qrcode.vue.d.ts +1 -0
  620. package/es/icon/icon-qrcode/index.d.ts +3 -0
  621. package/es/icon/icon-question/icon-question.vue.d.ts +1 -0
  622. package/es/icon/icon-question/index.d.ts +3 -0
  623. package/es/icon/icon-question-circle/icon-question-circle.js +5 -14
  624. package/es/icon/icon-question-circle/icon-question-circle.vue.d.ts +1 -0
  625. package/es/icon/icon-question-circle/icon-question-circle.vue_vue_type_script_lang.js +6 -0
  626. package/es/icon/icon-question-circle/index.d.ts +3 -0
  627. package/es/icon/icon-question-circle-fill/icon-question-circle-fill.vue.d.ts +1 -0
  628. package/es/icon/icon-question-circle-fill/index.d.ts +3 -0
  629. package/es/icon/icon-quote/icon-quote.vue.d.ts +1 -0
  630. package/es/icon/icon-quote/index.d.ts +3 -0
  631. package/es/icon/icon-record/icon-record.vue.d.ts +1 -0
  632. package/es/icon/icon-record/index.d.ts +3 -0
  633. package/es/icon/icon-record-stop/icon-record-stop.vue.d.ts +1 -0
  634. package/es/icon/icon-record-stop/index.d.ts +3 -0
  635. package/es/icon/icon-redo/icon-redo.vue.d.ts +1 -0
  636. package/es/icon/icon-redo/index.d.ts +3 -0
  637. package/es/icon/icon-refresh/icon-refresh.vue.d.ts +1 -0
  638. package/es/icon/icon-refresh/index.d.ts +3 -0
  639. package/es/icon/icon-relation/icon-relation.vue.d.ts +1 -0
  640. package/es/icon/icon-relation/index.d.ts +3 -0
  641. package/es/icon/icon-reply/icon-reply.vue.d.ts +1 -0
  642. package/es/icon/icon-reply/index.d.ts +3 -0
  643. package/es/icon/icon-right/icon-right.js +5 -14
  644. package/es/icon/icon-right/icon-right.vue.d.ts +1 -0
  645. package/es/icon/icon-right/icon-right.vue_vue_type_script_lang.js +6 -0
  646. package/es/icon/icon-right/index.d.ts +3 -0
  647. package/es/icon/icon-right-circle/icon-right-circle.vue.d.ts +1 -0
  648. package/es/icon/icon-right-circle/index.d.ts +3 -0
  649. package/es/icon/icon-robot/icon-robot.vue.d.ts +1 -0
  650. package/es/icon/icon-robot/index.d.ts +3 -0
  651. package/es/icon/icon-robot-add/icon-robot-add.vue.d.ts +1 -0
  652. package/es/icon/icon-robot-add/index.d.ts +3 -0
  653. package/es/icon/icon-rotate-left/icon-rotate-left.js +5 -14
  654. package/es/icon/icon-rotate-left/icon-rotate-left.vue.d.ts +1 -0
  655. package/es/icon/icon-rotate-left/icon-rotate-left.vue_vue_type_script_lang.js +6 -0
  656. package/es/icon/icon-rotate-left/index.d.ts +3 -0
  657. package/es/icon/icon-rotate-right/icon-rotate-right.js +5 -14
  658. package/es/icon/icon-rotate-right/icon-rotate-right.vue.d.ts +1 -0
  659. package/es/icon/icon-rotate-right/icon-rotate-right.vue_vue_type_script_lang.js +6 -0
  660. package/es/icon/icon-rotate-right/index.d.ts +3 -0
  661. package/es/icon/icon-safe/icon-safe.vue.d.ts +1 -0
  662. package/es/icon/icon-safe/index.d.ts +3 -0
  663. package/es/icon/icon-save/icon-save.vue.d.ts +1 -0
  664. package/es/icon/icon-save/index.d.ts +3 -0
  665. package/es/icon/icon-scan/icon-scan.vue.d.ts +1 -0
  666. package/es/icon/icon-scan/index.d.ts +3 -0
  667. package/es/icon/icon-schedule/icon-schedule.vue.d.ts +1 -0
  668. package/es/icon/icon-schedule/index.d.ts +3 -0
  669. package/es/icon/icon-scissor/icon-scissor.vue.d.ts +1 -0
  670. package/es/icon/icon-scissor/index.d.ts +3 -0
  671. package/es/icon/icon-search/icon-search.js +5 -14
  672. package/es/icon/icon-search/icon-search.vue.d.ts +1 -0
  673. package/es/icon/icon-search/icon-search.vue_vue_type_script_lang.js +6 -0
  674. package/es/icon/icon-search/index.d.ts +3 -0
  675. package/es/icon/icon-select-all/icon-select-all.vue.d.ts +1 -0
  676. package/es/icon/icon-select-all/index.d.ts +3 -0
  677. package/es/icon/icon-send/icon-send.vue.d.ts +1 -0
  678. package/es/icon/icon-send/index.d.ts +3 -0
  679. package/es/icon/icon-settings/icon-settings.vue.d.ts +1 -0
  680. package/es/icon/icon-settings/index.d.ts +3 -0
  681. package/es/icon/icon-shake/icon-shake.vue.d.ts +1 -0
  682. package/es/icon/icon-shake/index.d.ts +3 -0
  683. package/es/icon/icon-share-alt/icon-share-alt.vue.d.ts +1 -0
  684. package/es/icon/icon-share-alt/index.d.ts +3 -0
  685. package/es/icon/icon-share-external/icon-share-external.vue.d.ts +1 -0
  686. package/es/icon/icon-share-external/index.d.ts +3 -0
  687. package/es/icon/icon-share-internal/icon-share-internal.vue.d.ts +1 -0
  688. package/es/icon/icon-share-internal/index.d.ts +3 -0
  689. package/es/icon/icon-shrink/icon-shrink.vue.d.ts +1 -0
  690. package/es/icon/icon-shrink/index.d.ts +3 -0
  691. package/es/icon/icon-skin/icon-skin.vue.d.ts +1 -0
  692. package/es/icon/icon-skin/index.d.ts +3 -0
  693. package/es/icon/icon-skip-next/icon-skip-next.vue.d.ts +1 -0
  694. package/es/icon/icon-skip-next/index.d.ts +3 -0
  695. package/es/icon/icon-skip-next-fill/icon-skip-next-fill.vue.d.ts +1 -0
  696. package/es/icon/icon-skip-next-fill/index.d.ts +3 -0
  697. package/es/icon/icon-skip-previous/icon-skip-previous.vue.d.ts +1 -0
  698. package/es/icon/icon-skip-previous/index.d.ts +3 -0
  699. package/es/icon/icon-skip-previous-fill/icon-skip-previous-fill.vue.d.ts +1 -0
  700. package/es/icon/icon-skip-previous-fill/index.d.ts +3 -0
  701. package/es/icon/icon-sort/icon-sort.vue.d.ts +1 -0
  702. package/es/icon/icon-sort/index.d.ts +3 -0
  703. package/es/icon/icon-sort-ascending/icon-sort-ascending.vue.d.ts +1 -0
  704. package/es/icon/icon-sort-ascending/index.d.ts +3 -0
  705. package/es/icon/icon-sort-descending/icon-sort-descending.vue.d.ts +1 -0
  706. package/es/icon/icon-sort-descending/index.d.ts +3 -0
  707. package/es/icon/icon-sound/icon-sound.vue.d.ts +1 -0
  708. package/es/icon/icon-sound/index.d.ts +3 -0
  709. package/es/icon/icon-sound-fill/icon-sound-fill.vue.d.ts +1 -0
  710. package/es/icon/icon-sound-fill/index.d.ts +3 -0
  711. package/es/icon/icon-stamp/icon-stamp.vue.d.ts +1 -0
  712. package/es/icon/icon-stamp/index.d.ts +3 -0
  713. package/es/icon/icon-star/icon-star.vue.d.ts +1 -0
  714. package/es/icon/icon-star/index.d.ts +3 -0
  715. package/es/icon/icon-star-fill/icon-star-fill.js +6 -15
  716. package/es/icon/icon-star-fill/icon-star-fill.vue.d.ts +1 -0
  717. package/es/icon/icon-star-fill/icon-star-fill.vue_vue_type_script_lang.js +6 -0
  718. package/es/icon/icon-star-fill/index.d.ts +3 -0
  719. package/es/icon/icon-stop/icon-stop.vue.d.ts +1 -0
  720. package/es/icon/icon-stop/index.d.ts +3 -0
  721. package/es/icon/icon-storage/icon-storage.vue.d.ts +1 -0
  722. package/es/icon/icon-storage/index.d.ts +3 -0
  723. package/es/icon/icon-strikethrough/icon-strikethrough.vue.d.ts +1 -0
  724. package/es/icon/icon-strikethrough/index.d.ts +3 -0
  725. package/es/icon/icon-subscribe/icon-subscribe.vue.d.ts +1 -0
  726. package/es/icon/icon-subscribe/index.d.ts +3 -0
  727. package/es/icon/icon-subscribe-add/icon-subscribe-add.vue.d.ts +1 -0
  728. package/es/icon/icon-subscribe-add/index.d.ts +3 -0
  729. package/es/icon/icon-subscribed/icon-subscribed.vue.d.ts +1 -0
  730. package/es/icon/icon-subscribed/index.d.ts +3 -0
  731. package/es/icon/icon-sun/icon-sun.vue.d.ts +1 -0
  732. package/es/icon/icon-sun/index.d.ts +3 -0
  733. package/es/icon/icon-sun-fill/icon-sun-fill.vue.d.ts +1 -0
  734. package/es/icon/icon-sun-fill/index.d.ts +3 -0
  735. package/es/icon/icon-swap/icon-swap.vue.d.ts +1 -0
  736. package/es/icon/icon-swap/index.d.ts +3 -0
  737. package/es/icon/icon-sync/icon-sync.vue.d.ts +1 -0
  738. package/es/icon/icon-sync/index.d.ts +3 -0
  739. package/es/icon/icon-tag/icon-tag.vue.d.ts +1 -0
  740. package/es/icon/icon-tag/index.d.ts +3 -0
  741. package/es/icon/icon-tags/icon-tags.vue.d.ts +1 -0
  742. package/es/icon/icon-tags/index.d.ts +3 -0
  743. package/es/icon/icon-thumb-down/icon-thumb-down.vue.d.ts +1 -0
  744. package/es/icon/icon-thumb-down/index.d.ts +3 -0
  745. package/es/icon/icon-thumb-down-fill/icon-thumb-down-fill.vue.d.ts +1 -0
  746. package/es/icon/icon-thumb-down-fill/index.d.ts +3 -0
  747. package/es/icon/icon-thumb-up/icon-thumb-up.vue.d.ts +1 -0
  748. package/es/icon/icon-thumb-up/index.d.ts +3 -0
  749. package/es/icon/icon-thumb-up-fill/icon-thumb-up-fill.vue.d.ts +1 -0
  750. package/es/icon/icon-thumb-up-fill/index.d.ts +3 -0
  751. package/es/icon/icon-thunderbolt/icon-thunderbolt.vue.d.ts +1 -0
  752. package/es/icon/icon-thunderbolt/index.d.ts +3 -0
  753. package/es/icon/icon-tiktok-color/icon-tiktok-color.vue.d.ts +1 -0
  754. package/es/icon/icon-tiktok-color/index.d.ts +3 -0
  755. package/es/icon/icon-to-bottom/icon-to-bottom.vue.d.ts +1 -0
  756. package/es/icon/icon-to-bottom/index.d.ts +3 -0
  757. package/es/icon/icon-to-left/icon-to-left.vue.d.ts +1 -0
  758. package/es/icon/icon-to-left/index.d.ts +3 -0
  759. package/es/icon/icon-to-right/icon-to-right.vue.d.ts +1 -0
  760. package/es/icon/icon-to-right/index.d.ts +3 -0
  761. package/es/icon/icon-to-top/icon-to-top.js +6 -15
  762. package/es/icon/icon-to-top/icon-to-top.vue.d.ts +1 -0
  763. package/es/icon/icon-to-top/icon-to-top.vue_vue_type_script_lang.js +6 -0
  764. package/es/icon/icon-to-top/index.d.ts +3 -0
  765. package/es/icon/icon-tool/icon-tool.vue.d.ts +1 -0
  766. package/es/icon/icon-tool/index.d.ts +3 -0
  767. package/es/icon/icon-translate/icon-translate.vue.d.ts +1 -0
  768. package/es/icon/icon-translate/index.d.ts +3 -0
  769. package/es/icon/icon-trophy/icon-trophy.vue.d.ts +1 -0
  770. package/es/icon/icon-trophy/index.d.ts +3 -0
  771. package/es/icon/icon-twitter/icon-twitter.vue.d.ts +1 -0
  772. package/es/icon/icon-twitter/index.d.ts +3 -0
  773. package/es/icon/icon-twitter-circle-fill/icon-twitter-circle-fill.vue.d.ts +1 -0
  774. package/es/icon/icon-twitter-circle-fill/index.d.ts +3 -0
  775. package/es/icon/icon-underline/icon-underline.vue.d.ts +1 -0
  776. package/es/icon/icon-underline/index.d.ts +3 -0
  777. package/es/icon/icon-undo/icon-undo.vue.d.ts +1 -0
  778. package/es/icon/icon-undo/index.d.ts +3 -0
  779. package/es/icon/icon-unlock/icon-unlock.vue.d.ts +1 -0
  780. package/es/icon/icon-unlock/index.d.ts +3 -0
  781. package/es/icon/icon-unordered-list/icon-unordered-list.vue.d.ts +1 -0
  782. package/es/icon/icon-unordered-list/index.d.ts +3 -0
  783. package/es/icon/icon-up/icon-up.js +5 -14
  784. package/es/icon/icon-up/icon-up.vue.d.ts +1 -0
  785. package/es/icon/icon-up/icon-up.vue_vue_type_script_lang.js +6 -0
  786. package/es/icon/icon-up/index.d.ts +3 -0
  787. package/es/icon/icon-up-circle/icon-up-circle.vue.d.ts +1 -0
  788. package/es/icon/icon-up-circle/index.d.ts +3 -0
  789. package/es/icon/icon-upload/icon-upload.js +5 -14
  790. package/es/icon/icon-upload/icon-upload.vue.d.ts +1 -0
  791. package/es/icon/icon-upload/icon-upload.vue_vue_type_script_lang.js +6 -0
  792. package/es/icon/icon-upload/index.d.ts +3 -0
  793. package/es/icon/icon-user/icon-user.vue.d.ts +1 -0
  794. package/es/icon/icon-user/index.d.ts +3 -0
  795. package/es/icon/icon-user-add/icon-user-add.vue.d.ts +1 -0
  796. package/es/icon/icon-user-add/index.d.ts +3 -0
  797. package/es/icon/icon-user-group/icon-user-group.vue.d.ts +1 -0
  798. package/es/icon/icon-user-group/index.d.ts +3 -0
  799. package/es/icon/icon-video-camera/icon-video-camera.vue.d.ts +1 -0
  800. package/es/icon/icon-video-camera/index.d.ts +3 -0
  801. package/es/icon/icon-voice/icon-voice.vue.d.ts +1 -0
  802. package/es/icon/icon-voice/index.d.ts +3 -0
  803. package/es/icon/icon-wechat/icon-wechat.vue.d.ts +1 -0
  804. package/es/icon/icon-wechat/index.d.ts +3 -0
  805. package/es/icon/icon-wechatpay/icon-wechatpay.vue.d.ts +1 -0
  806. package/es/icon/icon-wechatpay/index.d.ts +3 -0
  807. package/es/icon/icon-weibo/icon-weibo.vue.d.ts +1 -0
  808. package/es/icon/icon-weibo/index.d.ts +3 -0
  809. package/es/icon/icon-weibo-circle-fill/icon-weibo-circle-fill.vue.d.ts +1 -0
  810. package/es/icon/icon-weibo-circle-fill/index.d.ts +3 -0
  811. package/es/icon/icon-wifi/icon-wifi.vue.d.ts +1 -0
  812. package/es/icon/icon-wifi/index.d.ts +3 -0
  813. package/es/icon/icon-woman/icon-woman.vue.d.ts +1 -0
  814. package/es/icon/icon-woman/index.d.ts +3 -0
  815. package/es/icon/icon-xigua-color/icon-xigua-color.vue.d.ts +1 -0
  816. package/es/icon/icon-xigua-color/index.d.ts +3 -0
  817. package/es/icon/icon-zoom-in/icon-zoom-in.js +5 -14
  818. package/es/icon/icon-zoom-in/icon-zoom-in.vue.d.ts +1 -0
  819. package/es/icon/icon-zoom-in/icon-zoom-in.vue_vue_type_script_lang.js +6 -0
  820. package/es/icon/icon-zoom-in/index.d.ts +3 -0
  821. package/es/icon/icon-zoom-out/icon-zoom-out.js +5 -14
  822. package/es/icon/icon-zoom-out/icon-zoom-out.vue.d.ts +1 -0
  823. package/es/icon/icon-zoom-out/icon-zoom-out.vue_vue_type_script_lang.js +6 -0
  824. package/es/icon/icon-zoom-out/index.d.ts +3 -0
  825. package/es/icon.js +2975 -3836
  826. package/es/image/image.vue.d.ts +30 -12
  827. package/es/image/preview-action.d.ts +12 -12
  828. package/es/image/preview-arrow.vue.d.ts +6 -0
  829. package/es/image/preview-group.vue.d.ts +24 -12
  830. package/es/image/preview-toolbar.vue.d.ts +12 -12
  831. package/es/image/preview.vue.d.ts +24 -12
  832. package/es/index.css +199 -1035
  833. package/es/index.d.ts +22 -21
  834. package/es/index.js +2 -2
  835. package/es/index.scss +1 -0
  836. package/es/input/index.d.ts +6 -0
  837. package/es/input/input-password.vue.d.ts +6 -0
  838. package/es/input/style/input.scss +14 -66
  839. package/es/input-number/index.d.ts +5 -0
  840. package/es/input-tag/style/index.css +0 -84
  841. package/es/input-tag/style/input-tag.scss +16 -170
  842. package/es/layout/index.d.ts +18 -0
  843. package/es/layout/sider.vue.d.ts +18 -0
  844. package/es/link/index.d.ts +12 -0
  845. package/es/link/link.vue.d.ts +6 -0
  846. package/es/list/index.d.ts +9 -9
  847. package/es/list/list.d.ts +2 -2
  848. package/es/list/list.js +45 -11
  849. package/es/list/style/index.scss +12 -42
  850. package/es/mention/utils.js +1 -1
  851. package/es/menu/base-menu.vue.d.ts +6 -0
  852. package/es/menu/index.d.ts +8 -0
  853. package/es/menu/index.js +3 -3
  854. package/es/menu/item.js +1 -2
  855. package/es/menu/menu.d.ts +6 -0
  856. package/es/menu/overflow-wrap.js +2 -2
  857. package/es/menu/style/index.css +0 -178
  858. package/es/menu/style/index.scss +36 -139
  859. package/es/menu/sub-menu-inline.vue.d.ts +6 -6
  860. package/es/menu/sub-menu-pop.vue.d.ts +12 -6
  861. package/es/menu/sub-menu.d.ts +62 -3
  862. package/es/menu/sub-menu.js +3 -6
  863. package/es/message/message-list.d.ts +3 -1
  864. package/es/message/message-list.js +22 -28
  865. package/es/message/message.vue.d.ts +18 -0
  866. package/es/modal/index.d.ts +42 -0
  867. package/es/modal/index.js +1 -1
  868. package/es/modal/modal.vue.d.ts +21 -0
  869. package/es/modal/modal.vue_vue_type_script_lang.js +1 -1
  870. package/es/notification/notification-list.d.ts +3 -1
  871. package/es/notification/notification-list.js +28 -34
  872. package/es/notification/notification.vue.d.ts +15 -0
  873. package/es/overflow-list/index.d.ts +3 -3
  874. package/es/overflow-list/overflow-list.d.ts +1 -1
  875. package/es/page-header/index.d.ts +6 -0
  876. package/es/page-header/page-header.vue.d.ts +3 -0
  877. package/es/pagination/index.d.ts +3 -3
  878. package/es/pagination/interface.d.ts +2 -1
  879. package/es/pagination/page-item-ellipsis.vue.d.ts +3 -0
  880. package/es/pagination/page-item-step.vue.d.ts +6 -0
  881. package/es/pagination/page-jumper.vue.d.ts +7 -6
  882. package/es/pagination/page-jumper.vue_vue_type_script_lang.js +2 -1
  883. package/es/pagination/page-options.js +1 -1
  884. package/es/pagination/page-options.vue.d.ts +96 -95
  885. package/es/pagination/page-options.vue_vue_type_script_lang.js +6 -0
  886. package/es/pagination/pagination.d.ts +3 -3
  887. package/es/pagination/style/index.css +0 -12
  888. package/es/pagination/style/index.scss +19 -76
  889. package/es/popconfirm/index.d.ts +48 -12
  890. package/es/popconfirm/popconfirm.vue.d.ts +24 -6
  891. package/es/popconfirm/popconfirm.vue_vue_type_script_lang.js +1 -1
  892. package/es/popover/index.d.ts +12 -12
  893. package/es/popover/popover.vue.d.ts +6 -6
  894. package/es/progress/circle.js +7 -14
  895. package/es/progress/circle.vue.d.ts +18 -7
  896. package/es/progress/circle.vue_vue_type_script_lang.js +21 -1
  897. package/es/progress/index.d.ts +39 -0
  898. package/es/progress/line.vue.d.ts +3 -0
  899. package/es/progress/progress.js +1 -1
  900. package/es/progress/progress.vue.d.ts +19 -0
  901. package/es/progress/progress.vue_vue_type_script_lang.js +2 -0
  902. package/es/progress/steps.js +1 -1
  903. package/es/progress/steps.vue.d.ts +8 -3
  904. package/es/progress/steps.vue_vue_type_script_lang.js +9 -4
  905. package/es/radio/index.d.ts +4 -1
  906. package/es/radio/radio-group.d.ts +1 -1
  907. package/es/resize-box/index.d.ts +12 -0
  908. package/es/resize-box/resize-box.vue.d.ts +6 -0
  909. package/es/result/index.d.ts +24 -0
  910. package/es/result/result.vue.d.ts +12 -0
  911. package/es/result/style/index.css +0 -16
  912. package/es/result/style/index.scss +12 -34
  913. package/es/scrollbar/index.d.ts +296 -170
  914. package/es/scrollbar/interface.d.ts +101 -12
  915. package/es/scrollbar/scrollbar.js +6 -40
  916. package/es/scrollbar/scrollbar.vue.d.ts +123 -79
  917. package/es/scrollbar/scrollbar.vue_vue_type_script_lang.js +180 -116
  918. package/es/scrollbar/style/index.css +43 -86
  919. package/es/scrollbar/style/index.d.ts +1 -0
  920. package/es/scrollbar/style/index.scss +43 -107
  921. package/es/scrollbar/style/token.scss +6 -2
  922. package/es/sd-vue.js +2 -2
  923. package/es/select/hooks/use-select.d.ts +1 -1
  924. package/es/select/index.d.ts +42 -42
  925. package/es/select/interface.d.ts +3 -2
  926. package/es/select/option.vue.d.ts +1 -1
  927. package/es/select/select-dropdown.vue.d.ts +293 -168
  928. package/es/select/select.d.ts +16 -16
  929. package/es/select/select.js +8 -3
  930. package/es/select/utils.js +5 -5
  931. package/es/slider/index.d.ts +37 -34
  932. package/es/slider/slider-button.vue.d.ts +12 -12
  933. package/es/slider/slider-input.vue.d.ts +2 -2
  934. package/es/slider/slider.vue.d.ts +16 -16
  935. package/es/slider/slider.vue_vue_type_script_lang.js +2 -2
  936. package/es/split/index.d.ts +15 -3
  937. package/es/split/split.vue.d.ts +7 -1
  938. package/es/split/split.vue_vue_type_script_lang.js +8 -5
  939. package/es/statistic/index.d.ts +3 -3
  940. package/es/statistic/statistic.vue.d.ts +1 -1
  941. package/es/steps/index.d.ts +11 -3
  942. package/es/steps/step.vue.d.ts +6 -0
  943. package/es/steps/steps.vue.d.ts +1 -1
  944. package/es/style/icon.scss +1 -1
  945. package/es/switch/index.d.ts +9 -0
  946. package/es/switch/switch.vue.d.ts +3 -0
  947. package/es/switch/switch.vue_vue_type_script_lang.js +1 -1
  948. package/es/table/context.d.ts +1 -1
  949. package/es/table/hooks/use-column-resize.d.ts +2 -3
  950. package/es/table/hooks/use-column-resize.js +48 -21
  951. package/es/table/hooks/use-drag.d.ts +4 -2
  952. package/es/table/hooks/use-drag.js +16 -2
  953. package/es/table/index.d.ts +45 -30
  954. package/es/table/interface.d.ts +21 -2
  955. package/es/table/style/index.css +97 -21
  956. package/es/table/style/index.scss +137 -125
  957. package/es/table/table-column.d.ts +1 -1
  958. package/es/table/table-operation-td.d.ts +10 -4
  959. package/es/table/table-operation-td.js +4 -5
  960. package/es/table/table-operation-th.js +4 -4
  961. package/es/table/table-tbody.js +1 -1
  962. package/es/table/table-td.js +5 -6
  963. package/es/table/table-th.js +25 -24
  964. package/es/table/table-thead.js +1 -1
  965. package/es/table/table-tr.d.ts +1 -1
  966. package/es/table/table-tr.js +1 -1
  967. package/es/table/table.d.ts +22 -16
  968. package/es/table/table.js +399 -190
  969. package/es/tabs/index.d.ts +7 -6
  970. package/es/tabs/style/index.scss +53 -135
  971. package/es/tabs/tabs-tab.vue.d.ts +3 -0
  972. package/es/tabs/tabs.d.ts +2 -2
  973. package/es/tag/index.d.ts +12 -0
  974. package/es/tag/style/index.css +0 -84
  975. package/es/tag/style/index.scss +19 -146
  976. package/es/tag/tag.vue.d.ts +6 -0
  977. package/es/textarea/index.d.ts +6 -0
  978. package/es/textarea/textarea.vue.d.ts +3 -0
  979. package/es/theme-provider/index.d.ts +12 -12
  980. package/es/time-picker/index.d.ts +113 -22
  981. package/es/time-picker/panel.vue.d.ts +7 -1
  982. package/es/time-picker/range-panel.d.ts +7 -1
  983. package/es/time-picker/time-column.vue.d.ts +2 -2
  984. package/es/time-picker/time-column.vue_vue_type_script_lang.js +2 -1
  985. package/es/time-picker/time-picker.vue.d.ts +55 -10
  986. package/es/time-picker/utils/index.d.ts +1 -0
  987. package/es/timeline/index.d.ts +1 -0
  988. package/es/tooltip/index.d.ts +12 -12
  989. package/es/tooltip/tooltip.vue.d.ts +6 -6
  990. package/es/transfer/index.d.ts +639 -358
  991. package/es/transfer/interface.d.ts +1 -1
  992. package/es/transfer/transfer-view.vue.d.ts +307 -179
  993. package/es/transfer/transfer-view.vue_vue_type_script_lang.js +2 -2
  994. package/es/transfer/transfer.vue.d.ts +319 -179
  995. package/es/tree/base-node.vue.d.ts +12 -6
  996. package/es/tree/base-node.vue_vue_type_script_lang.js +20 -11
  997. package/es/tree/expand-transition.vue.d.ts +3 -3
  998. package/es/tree/expand-transition.vue_vue_type_script_lang.js +9 -6
  999. package/es/tree/hooks/use-tree-data.d.ts +19 -31
  1000. package/es/tree/index.d.ts +8 -1605
  1001. package/es/tree/interface.d.ts +5 -3
  1002. package/es/tree/node-switcher.vue.d.ts +3 -0
  1003. package/es/tree/transition-node-list.vue.d.ts +15 -9
  1004. package/es/tree/tree.js +9 -6
  1005. package/es/tree/tree.vue.d.ts +10615 -96
  1006. package/es/tree/tree.vue_vue_type_script_lang.js +52 -9
  1007. package/es/tree/utils/tree-data.d.ts +2 -2
  1008. package/es/tree-select/hooks/use-selected-state.js +3 -1
  1009. package/es/tree-select/index.d.ts +5 -5737
  1010. package/es/tree-select/interface.d.ts +2 -0
  1011. package/es/tree-select/panel.d.ts +9 -1651
  1012. package/es/tree-select/panel.js +3 -2
  1013. package/es/tree-select/style/index.css +5 -0
  1014. package/es/tree-select/style/index.scss +6 -0
  1015. package/es/tree-select/tree-select.js +1 -1
  1016. package/es/tree-select/tree-select.vue.d.ts +129 -1671
  1017. package/es/tree-select/tree-select.vue_vue_type_script_lang.js +17 -1
  1018. package/es/trigger/index.d.ts +6 -6
  1019. package/es/trigger/trigger.d.ts +2 -2
  1020. package/es/trigger/trigger.js +1 -1
  1021. package/es/typography/edit-content.vue.d.ts +18 -0
  1022. package/es/typography/operations.vue.d.ts +21 -12
  1023. package/es/watermark/index.d.ts +3 -3
  1024. package/es/watermark/watermark.d.ts +1 -1
  1025. package/es/web-vue.css +670 -0
  1026. package/json/vetur-attributes.json +58 -12
  1027. package/json/vetur-tags.json +17 -2
  1028. package/json/web-types.json +143 -19
  1029. package/package.json +8 -3
  1030. package/es/_components/virtual-list/filler.vue.d.ts +0 -35
  1031. package/es/_components/virtual-list/hooks/use-item-height.d.ts +0 -15
  1032. package/es/_components/virtual-list/hooks/use-range-state.d.ts +0 -16
  1033. package/es/_components/virtual-list/hooks/use-render-children.d.ts +0 -11
  1034. package/es/_components/virtual-list/hooks/use-scroll-to.d.ts +0 -35
  1035. package/es/_components/virtual-list/hooks/use-viewport-height.d.ts +0 -7
  1036. package/es/_components/virtual-list/utils/algorithm.d.ts +0 -6
  1037. package/es/_components/virtual-list/utils/index.d.ts +0 -37
  1038. package/es/_components/virtual-list-v2/hooks/use-size.js +0 -91
  1039. package/es/_components/virtual-list-v2/index.js +0 -5
  1040. package/es/_components/virtual-list-v2/interface.d.ts +0 -35
  1041. package/es/_components/virtual-list-v2/virtual-list-item.d.ts +0 -22
  1042. package/es/_components/virtual-list-v2/virtual-list-item.js +0 -37
  1043. package/es/_components/virtual-list-v2/virtual-list.js +0 -47
  1044. package/es/_components/virtual-list-v2/virtual-list.vue.d.ts +0 -151
  1045. package/es/_components/virtual-list-v2/virtual-list.vue_vue_type_script_lang.js +0 -142
  1046. package/es/scrollbar/thumb.js +0 -22
  1047. package/es/scrollbar/thumb.vue.d.ts +0 -58
  1048. package/es/scrollbar/thumb.vue_vue_type_script_lang.js +0 -116
  1049. package/es/style/theme/legacy-less-var.scss +0 -15
  1050. package/es/table/table-col-group.js +0 -21
  1051. package/es/table/table-col-group.vue_vue_type_script_lang.js +0 -32
  1052. /package/es/_components/{virtual-list-v2 → virtual-list}/index.d.ts +0 -0
package/es/table/table.js CHANGED
@@ -2,14 +2,15 @@ import { configProviderInjectionKey } from "../config-provider/context.js";
2
2
  import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
3
3
  import { getPrefixCls } from "../_utils/global-config.js";
4
4
  import { isArray, isFunction, isNull, isNumber, isObject, isString, isUndefined } from "../_utils/is.js";
5
- import resize_observer_default from "../_components/resize-observer.js";
6
- import virtual_list_v2_default from "../_components/virtual-list-v2/index.js";
5
+ import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/asyncToGenerator.js";
6
+ import virtual_list_default from "../_components/virtual-list/index.js";
7
7
  import { omit } from "../_utils/omit.js";
8
8
  import { useComponentRef } from "../_hooks/use-component-ref.js";
9
9
  import { useScrollbar } from "../_hooks/use-scrollbar.js";
10
10
  import Empty from "../empty/index.js";
11
11
  import Scrollbar from "../scrollbar/index.js";
12
12
  import Spin from "../spin/index.js";
13
+ import { _objectWithoutProperties } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectWithoutProperties.js";
13
14
  import { debounce } from "../_utils/debounce.js";
14
15
  import { useChildrenComponents } from "../_hooks/use-children-components.js";
15
16
  import IconMinus from "../icon/icon-minus/index.js";
@@ -26,7 +27,6 @@ import { getGroupColumns, mapArrayWithChildren, mapRawTableData } from "./utils.
26
27
  import { useRowSelection } from "./hooks/use-row-selection.js";
27
28
  import { useSorter } from "./hooks/use-sorter.js";
28
29
  import { useSpan } from "./hooks/use-span.js";
29
- import table_col_group_default from "./table-col-group.js";
30
30
  import table_operation_td_default from "./table-operation-td.js";
31
31
  import table_operation_th_default from "./table-operation-th.js";
32
32
  import table_tbody_default from "./table-tbody.js";
@@ -34,11 +34,26 @@ import table_td_default from "./table-td.js";
34
34
  import table_th_default from "./table-th.js";
35
35
  import table_thead_default from "./table-thead.js";
36
36
  import table_tr_default from "./table-tr.js";
37
- import { Fragment, computed, createVNode, defineComponent, inject, isVNode, mergeProps, onMounted, provide, reactive, ref, toRefs, watch, watchEffect } from "vue";
37
+ import { Fragment, computed, createVNode, defineComponent, inject, isVNode, mergeProps, nextTick, onMounted, provide, reactive, ref, toRefs, watch, watchEffect } from "vue";
38
+ import { useElementBounding, useElementSize, useResizeObserver, watchThrottled } from "@vueuse/core";
38
39
  //#region components/table/table.tsx
40
+ var _excluded = [
41
+ "itemKey",
42
+ "keyField",
43
+ "estimatedSize",
44
+ "scrollbar",
45
+ "itemSize",
46
+ "minItemSize",
47
+ "component",
48
+ "listAttrs",
49
+ "contentAttrs",
50
+ "listStyle",
51
+ "paddingPosition"
52
+ ];
39
53
  function _isSlot(s) {
40
54
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
41
55
  }
56
+ var getRecordKey = (record, rowKey) => isFunction(rowKey) ? rowKey(record) : record[rowKey];
42
57
  var DEFAULT_BORDERED = {
43
58
  wrapper: true,
44
59
  cell: false,
@@ -75,10 +90,6 @@ var table_default = /* @__PURE__ */ defineComponent({
75
90
  return (_inject$size = (_inject = inject(configProviderInjectionKey, void 0)) === null || _inject === void 0 ? void 0 : _inject.size) !== null && _inject$size !== void 0 ? _inject$size : "large";
76
91
  }
77
92
  },
78
- tableLayoutFixed: {
79
- type: Boolean,
80
- default: false
81
- },
82
93
  loading: {
83
94
  type: [Boolean, Object],
84
95
  default: false
@@ -99,7 +110,7 @@ var table_default = /* @__PURE__ */ defineComponent({
99
110
  default: 16
100
111
  },
101
112
  rowKey: {
102
- type: String,
113
+ type: [String, Function],
103
114
  default: "key"
104
115
  },
105
116
  showHeader: {
@@ -153,6 +164,10 @@ var table_default = /* @__PURE__ */ defineComponent({
153
164
  type: [Object, Boolean],
154
165
  default: true
155
166
  },
167
+ debug: {
168
+ type: Boolean,
169
+ default: false
170
+ },
156
171
  showEmptyTree: {
157
172
  type: Boolean,
158
173
  default: false
@@ -196,6 +211,12 @@ var table_default = /* @__PURE__ */ defineComponent({
196
211
  return (_rowSelection$value$c = (_rowSelection$value = rowSelection.value) === null || _rowSelection$value === void 0 ? void 0 : _rowSelection$value.checkStrictly) !== null && _rowSelection$value$c !== void 0 ? _rowSelection$value$c : true;
197
212
  });
198
213
  const { displayScrollbar, scrollbarProps } = useScrollbar(scrollbar);
214
+ const containerClientWidth = ref(0);
215
+ const containerScrollWidth = ref(0);
216
+ const autoScrollX = ref(false);
217
+ const debugLog = (_phase, _payload) => {
218
+ if (!props.debug) return;
219
+ };
199
220
  const isScroll = computed(() => {
200
221
  var _props$scroll, _props$scroll2, _props$scroll3, _props$scroll4;
201
222
  return {
@@ -203,20 +224,53 @@ var table_default = /* @__PURE__ */ defineComponent({
203
224
  y: Boolean(((_props$scroll3 = props.scroll) === null || _props$scroll3 === void 0 ? void 0 : _props$scroll3.y) || ((_props$scroll4 = props.scroll) === null || _props$scroll4 === void 0 ? void 0 : _props$scroll4.maxHeight))
204
225
  };
205
226
  });
227
+ const resolvedScroll = computed(() => ({
228
+ x: isScroll.value.x || autoScrollX.value,
229
+ y: isScroll.value.y
230
+ }));
206
231
  const summaryRef = ref();
207
232
  const thRefs = ref({});
208
233
  const { componentRef: contentComRef, elementRef: contentRef } = useComponentRef("containerRef");
209
234
  const { componentRef: tbodyComRef, elementRef: tbodyRef } = useComponentRef("containerRef");
210
235
  const { componentRef: _virtualComRef, elementRef: virtualRef } = useComponentRef("viewportRef");
211
- const { componentRef: theadComRef, elementRef: theadRef } = useComponentRef("containerRef");
212
- const containerElement = computed(() => {
236
+ const getVirtualListInstance = () => _virtualComRef.value;
237
+ const theadRef = ref();
238
+ const isVirtualList = computed(() => Boolean(props.virtualListProps));
239
+ const splitTable = computed(() => {
240
+ var _props$data$length, _props$data;
241
+ return resolvedScroll.value.y || props.stickyHeader || isVirtualList.value || resolvedScroll.value.x && ((_props$data$length = (_props$data = props.data) === null || _props$data === void 0 ? void 0 : _props$data.length) !== null && _props$data$length !== void 0 ? _props$data$length : 0) === 0;
242
+ });
243
+ const containerScrollLeft = ref(0);
244
+ const alignLeft = ref(true);
245
+ const alignRight = ref(true);
246
+ const getScrollbarScrollElement = (component) => {
247
+ var _ref, _scrollbar$elements$s, _scrollbar$elements, _scrollbar$elements2;
248
+ if (component instanceof HTMLElement) return component;
249
+ const scrollbar = component;
250
+ return (_ref = (_scrollbar$elements$s = scrollbar === null || scrollbar === void 0 || (_scrollbar$elements = scrollbar.elements) === null || _scrollbar$elements === void 0 || (_scrollbar$elements = _scrollbar$elements.call(scrollbar)) === null || _scrollbar$elements === void 0 ? void 0 : _scrollbar$elements.scrollOffsetElement) !== null && _scrollbar$elements$s !== void 0 ? _scrollbar$elements$s : scrollbar === null || scrollbar === void 0 || (_scrollbar$elements2 = scrollbar.elements) === null || _scrollbar$elements2 === void 0 || (_scrollbar$elements2 = _scrollbar$elements2.call(scrollbar)) === null || _scrollbar$elements2 === void 0 ? void 0 : _scrollbar$elements2.viewport) !== null && _ref !== void 0 ? _ref : null;
251
+ };
252
+ const getScrollContainer = () => {
253
+ var _ref3, _getScrollbarScrollEl2;
213
254
  if (splitTable.value) {
214
- if (isVirtualList.value) return virtualRef.value;
215
- return tbodyRef.value;
255
+ var _ref2, _getScrollbarScrollEl;
256
+ if (isVirtualList.value) {
257
+ var _virtualRef$value;
258
+ return (_virtualRef$value = virtualRef.value) !== null && _virtualRef$value !== void 0 ? _virtualRef$value : null;
259
+ }
260
+ return (_ref2 = (_getScrollbarScrollEl = getScrollbarScrollElement(tbodyComRef.value)) !== null && _getScrollbarScrollEl !== void 0 ? _getScrollbarScrollEl : tbodyRef.value) !== null && _ref2 !== void 0 ? _ref2 : null;
216
261
  }
217
- return contentRef.value;
218
- });
219
- const splitTable = computed(() => isScroll.value.y || props.stickyHeader || isVirtualList.value || isScroll.value.x && flattenData.value.length === 0);
262
+ return (_ref3 = (_getScrollbarScrollEl2 = getScrollbarScrollElement(contentComRef.value)) !== null && _getScrollbarScrollEl2 !== void 0 ? _getScrollbarScrollEl2 : contentRef.value) !== null && _ref3 !== void 0 ? _ref3 : null;
263
+ };
264
+ const { width: containerElementWidth } = useElementSize(computed(() => getScrollContainer()));
265
+ const getContainerMetrics = () => {
266
+ var _element$scrollWidth;
267
+ const element = getScrollContainer();
268
+ return {
269
+ element,
270
+ clientWidth: containerElementWidth.value || (element === null || element === void 0 ? void 0 : element.clientWidth) || containerClientWidth.value,
271
+ scrollWidth: (_element$scrollWidth = element === null || element === void 0 ? void 0 : element.scrollWidth) !== null && _element$scrollWidth !== void 0 ? _element$scrollWidth : containerScrollWidth.value
272
+ };
273
+ };
220
274
  const slotColumnMap = reactive(/* @__PURE__ */ new Map());
221
275
  const slotColumns = ref();
222
276
  watch([components, slotColumnMap], ([components, slotColumnMap]) => {
@@ -232,14 +286,17 @@ var table_default = /* @__PURE__ */ defineComponent({
232
286
  const dataColumnMap = /* @__PURE__ */ new Map();
233
287
  const dataColumns = ref([]);
234
288
  const groupColumns = ref([]);
235
- const { resizingColumn, columnWidth, handleThMouseDown } = useColumnResize(thRefs, emit);
289
+ const { resizingColumn, columnWidth, handleThMouseDown } = useColumnResize(thRefs, emit, (dataIndex) => {
290
+ var _dataColumnMap$get;
291
+ return (_dataColumnMap$get = dataColumnMap.get(dataIndex)) === null || _dataColumnMap$get === void 0 ? void 0 : _dataColumnMap$get.width;
292
+ });
236
293
  watch([
237
294
  columns,
238
295
  slotColumns,
239
296
  columnWidth
240
297
  ], ([columns, slotColumns]) => {
241
- var _ref;
242
- const result = getGroupColumns((_ref = slotColumns !== null && slotColumns !== void 0 ? slotColumns : columns) !== null && _ref !== void 0 ? _ref : [], dataColumnMap, columnWidth);
298
+ var _ref4;
299
+ const result = getGroupColumns((_ref4 = slotColumns !== null && slotColumns !== void 0 ? slotColumns : columns) !== null && _ref4 !== void 0 ? _ref4 : [], dataColumnMap, columnWidth);
243
300
  dataColumns.value = result.dataColumns;
244
301
  groupColumns.value = result.groupColumns;
245
302
  }, {
@@ -268,10 +325,6 @@ var table_default = /* @__PURE__ */ defineComponent({
268
325
  if (_hasRightFixedColumn !== hasRightFixedColumn.value) hasRightFixedColumn.value = _hasRightFixedColumn;
269
326
  if (_hasLeftFixedDataColumns !== hasLeftFixedDataColumns.value) hasLeftFixedDataColumns.value = _hasLeftFixedDataColumns;
270
327
  });
271
- const hasEllipsis = computed(() => {
272
- for (const col of dataColumns.value) if (col.ellipsis) return true;
273
- return false;
274
- });
275
328
  const handleChange = (type) => {
276
329
  const extra = {
277
330
  type,
@@ -310,8 +363,9 @@ var table_default = /* @__PURE__ */ defineComponent({
310
363
  disabledKeys.clear();
311
364
  const travelData = (data) => {
312
365
  if (isArray(data) && data.length > 0) for (const record of data) {
313
- allRowKeys.push(record[rowKey.value]);
314
- if (record.disabled) disabledKeys.add(record[rowKey.value]);
366
+ const recordKey = getRecordKey(record, rowKey.value);
367
+ allRowKeys.push(recordKey);
368
+ if (record.disabled) disabledKeys.add(recordKey);
315
369
  if (record.children) travelData(record.children);
316
370
  }
317
371
  };
@@ -375,13 +429,13 @@ var table_default = /* @__PURE__ */ defineComponent({
375
429
  };
376
430
  const { dragType, dragState, handleDragStart, handleDragEnter, handleDragover, handleDragEnd, handleDrop } = useDrag(draggable);
377
431
  const processedData = computed(() => {
378
- var _props$data;
432
+ var _props$data2;
379
433
  const travel = (data) => {
380
434
  const result = [];
381
435
  for (const _record of data) {
382
436
  const record = {
383
437
  raw: _record,
384
- key: _record[props.rowKey],
438
+ key: getRecordKey(_record, props.rowKey),
385
439
  disabled: _record.disabled,
386
440
  expand: _record.expand,
387
441
  isLeaf: _record.isLeaf
@@ -398,7 +452,7 @@ var table_default = /* @__PURE__ */ defineComponent({
398
452
  }
399
453
  return result;
400
454
  };
401
- return travel((_props$data = props.data) !== null && _props$data !== void 0 ? _props$data : []);
455
+ return travel((_props$data2 = props.data) !== null && _props$data2 !== void 0 ? _props$data2 : []);
402
456
  });
403
457
  const validData = computed(() => {
404
458
  const travel = (data) => data.filter((record) => {
@@ -493,7 +547,7 @@ var table_default = /* @__PURE__ */ defineComponent({
493
547
  if (data && data.length > 0) return data.map((raw) => {
494
548
  return {
495
549
  raw,
496
- key: raw[props.rowKey]
550
+ key: getRecordKey(raw, props.rowKey)
497
551
  };
498
552
  });
499
553
  return [];
@@ -508,19 +562,16 @@ var table_default = /* @__PURE__ */ defineComponent({
508
562
  }
509
563
  return [];
510
564
  });
511
- const containerScrollLeft = ref(0);
512
- const alignLeft = ref(true);
513
- const alignRight = ref(true);
514
- const setAlignPosition = () => {
515
- let _alignLeft = true;
516
- let _alignRight = true;
517
- const scrollContainer = containerElement.value;
518
- if (scrollContainer) {
519
- _alignLeft = containerScrollLeft.value === 0;
520
- _alignRight = Math.ceil(containerScrollLeft.value + scrollContainer.offsetWidth) >= scrollContainer.scrollWidth;
565
+ const setAlignPosition = (element = getScrollContainer()) => {
566
+ if (!element) {
567
+ alignLeft.value = true;
568
+ alignRight.value = true;
569
+ return;
521
570
  }
522
- if (_alignLeft !== alignLeft.value) alignLeft.value = _alignLeft;
523
- if (_alignRight !== alignRight.value) alignRight.value = _alignRight;
571
+ const nextAlignLeft = containerScrollLeft.value === 0;
572
+ const nextAlignRight = Math.ceil(containerScrollLeft.value + element.clientWidth) >= element.scrollWidth;
573
+ if (nextAlignLeft !== alignLeft.value) alignLeft.value = nextAlignLeft;
574
+ if (nextAlignRight !== alignRight.value) alignRight.value = nextAlignRight;
524
575
  };
525
576
  const getTableScrollCls = () => {
526
577
  if (alignLeft.value && alignRight.value) return `${prefixCls}-scroll-position-both`;
@@ -534,13 +585,26 @@ var table_default = /* @__PURE__ */ defineComponent({
534
585
  if (hasRightFixedColumn.value) cls.push(`${prefixCls}-has-fixed-col-right`);
535
586
  return cls;
536
587
  };
537
- const handleScroll = (e) => {
538
- if (e.target.scrollLeft !== containerScrollLeft.value) containerScrollLeft.value = e.target.scrollLeft;
539
- setAlignPosition();
588
+ const handleScroll = (event) => {
589
+ const element = event.target;
590
+ if (!element) return;
591
+ if (element.scrollLeft !== containerScrollLeft.value) containerScrollLeft.value = element.scrollLeft;
592
+ containerClientWidth.value = element.clientWidth;
593
+ containerScrollWidth.value = element.scrollWidth;
594
+ debugLog("scroll:x", {
595
+ scrollLeft: element.scrollLeft,
596
+ clientWidth: element.clientWidth,
597
+ scrollWidth: element.scrollWidth,
598
+ autoScrollX: autoScrollX.value,
599
+ calculatedTableWidth: getCalculatedTableWidth()
600
+ });
601
+ setAlignPosition(element);
540
602
  };
541
- const onTbodyScroll = (e) => {
542
- handleScroll(e);
543
- const { scrollLeft } = e.target;
603
+ const onTbodyScroll = (event) => {
604
+ handleScroll(event);
605
+ const element = event.target;
606
+ if (!element) return;
607
+ const scrollLeft = element.scrollLeft;
544
608
  if (theadRef.value) theadRef.value.scrollLeft = scrollLeft;
545
609
  if (summaryRef.value) summaryRef.value.scrollLeft = scrollLeft;
546
610
  };
@@ -613,22 +677,7 @@ var table_default = /* @__PURE__ */ defineComponent({
613
677
  selection
614
678
  }) : operations;
615
679
  });
616
- const headerStyle = computed(() => {
617
- if (isScroll.value.x) {
618
- var _props$scroll5, _props$scroll6, _props$scroll7, _props$scroll8;
619
- const style = { width: isNumber((_props$scroll5 = props.scroll) === null || _props$scroll5 === void 0 ? void 0 : _props$scroll5.x) ? `${(_props$scroll6 = props.scroll) === null || _props$scroll6 === void 0 ? void 0 : _props$scroll6.x}px` : (_props$scroll7 = props.scroll) === null || _props$scroll7 === void 0 ? void 0 : _props$scroll7.x };
620
- if ((_props$scroll8 = props.scroll) === null || _props$scroll8 === void 0 ? void 0 : _props$scroll8.minWidth) style.minWidth = isNumber(props.scroll.minWidth) ? `${props.scroll.minWidth}px` : props.scroll.minWidth;
621
- return style;
622
- }
623
- });
624
- const contentStyle = computed(() => {
625
- if (isScroll.value.x && flattenData.value.length > 0) {
626
- var _props$scroll9, _props$scroll10, _props$scroll11, _props$scroll12;
627
- const style = { width: isNumber((_props$scroll9 = props.scroll) === null || _props$scroll9 === void 0 ? void 0 : _props$scroll9.x) ? `${(_props$scroll10 = props.scroll) === null || _props$scroll10 === void 0 ? void 0 : _props$scroll10.x}px` : (_props$scroll11 = props.scroll) === null || _props$scroll11 === void 0 ? void 0 : _props$scroll11.x };
628
- if ((_props$scroll12 = props.scroll) === null || _props$scroll12 === void 0 ? void 0 : _props$scroll12.minWidth) style.minWidth = isNumber(props.scroll.minWidth) ? `${props.scroll.minWidth}px` : props.scroll.minWidth;
629
- return style;
630
- }
631
- });
680
+ const hasResizedColumns = computed(() => Object.keys(columnWidth).length > 0);
632
681
  const addColumn = (id, column) => {
633
682
  slotColumnMap.set(id, column);
634
683
  };
@@ -667,8 +716,7 @@ var table_default = /* @__PURE__ */ defineComponent({
667
716
  [`${prefixCls}-hover`]: props.hoverable,
668
717
  [`${prefixCls}-dragging`]: dragState.dragging,
669
718
  [`${prefixCls}-type-selection`]: Boolean(props.rowSelection),
670
- [`${prefixCls}-empty`]: props.data && flattenData.value.length === 0,
671
- [`${prefixCls}-layout-fixed`]: props.tableLayoutFixed || isScroll.value.x || splitTable.value || hasEllipsis.value
719
+ [`${prefixCls}-empty`]: props.data && flattenData.value.length === 0
672
720
  }
673
721
  ]);
674
722
  const paginationCls = computed(() => [`${prefixCls}-pagination`, {
@@ -679,39 +727,244 @@ var table_default = /* @__PURE__ */ defineComponent({
679
727
  }]);
680
728
  const tableCls = computed(() => {
681
729
  const cls = getTableFixedCls();
682
- if (isScroll.value.x) cls.push(getTableScrollCls());
730
+ if (resolvedScroll.value.x) cls.push(getTableScrollCls());
683
731
  if (splitTable.value) cls.push(`${prefixCls}-scroll-y`);
684
732
  return cls;
685
733
  });
686
- const isVirtualList = computed(() => Boolean(props.virtualListProps));
734
+ const resolvedVirtualListProps = computed(() => {
735
+ var _ref5;
736
+ if (!props.virtualListProps) return;
737
+ const _props$virtualListPro = props.virtualListProps, { itemKey, keyField, estimatedSize, scrollbar: virtualScrollbar, itemSize, minItemSize, component: _component, listAttrs: _listAttrs, contentAttrs: _contentAttrs, listStyle: _listStyle, paddingPosition: _paddingPosition } = _props$virtualListPro;
738
+ return _objectSpread2(_objectSpread2({}, _objectWithoutProperties(_props$virtualListPro, _excluded)), {}, {
739
+ itemSize,
740
+ minItemSize: minItemSize !== null && minItemSize !== void 0 ? minItemSize : itemSize === void 0 ? estimatedSize : void 0,
741
+ keyField: (_ref5 = keyField !== null && keyField !== void 0 ? keyField : itemKey) !== null && _ref5 !== void 0 ? _ref5 : "key",
742
+ estimatedSize,
743
+ scrollbar: virtualScrollbar !== null && virtualScrollbar !== void 0 ? virtualScrollbar : props.scrollbar
744
+ });
745
+ });
746
+ const tableVirtualListProps = computed(() => {
747
+ var _ref6, _ref7, _ref8, _props$scroll5, _props$scroll$y, _props$scroll6;
748
+ if (!resolvedVirtualListProps.value) return;
749
+ if ("prerender" in resolvedVirtualListProps.value && resolvedVirtualListProps.value.prerender !== void 0) return resolvedVirtualListProps.value;
750
+ const rowHeightSource = (_ref6 = (_ref7 = (_ref8 = typeof resolvedVirtualListProps.value.itemSize === "number" ? resolvedVirtualListProps.value.itemSize : void 0) !== null && _ref8 !== void 0 ? _ref8 : typeof resolvedVirtualListProps.value.minItemSize === "number" ? resolvedVirtualListProps.value.minItemSize : void 0) !== null && _ref7 !== void 0 ? _ref7 : resolvedVirtualListProps.value.estimatedSize) !== null && _ref6 !== void 0 ? _ref6 : 32;
751
+ const scrollY = typeof ((_props$scroll5 = props.scroll) === null || _props$scroll5 === void 0 ? void 0 : _props$scroll5.y) === "number" ? props.scroll.y : Number.parseFloat((_props$scroll$y = (_props$scroll6 = props.scroll) === null || _props$scroll6 === void 0 ? void 0 : _props$scroll6.y) !== null && _props$scroll$y !== void 0 ? _props$scroll$y : "") || rowHeightSource * 8;
752
+ const prerender = Math.max(Math.ceil(scrollY / Math.max(rowHeightSource, 1)), 8);
753
+ return _objectSpread2(_objectSpread2({}, resolvedVirtualListProps.value), {}, { prerender });
754
+ });
687
755
  const thWidth = ref({});
688
756
  const getThWidth = () => {
689
757
  const width = {};
690
758
  for (const key of Object.keys(thRefs.value)) width[key] = thRefs.value[key].offsetWidth;
691
759
  thWidth.value = width;
692
760
  };
761
+ const getCalculatedTableWidth = () => {
762
+ return operations.value.reduce((sum, item) => {
763
+ var _item$width;
764
+ return sum + ((_item$width = item.width) !== null && _item$width !== void 0 ? _item$width : 40);
765
+ }, 0) + dataColumns.value.reduce((sum, item) => {
766
+ const resizedWidth = item.dataIndex ? columnWidth[item.dataIndex] : void 0;
767
+ if (resizedWidth) return sum + resizedWidth;
768
+ if (item.width) return sum + item.width;
769
+ if (item.minWidth) return sum + item.minWidth;
770
+ const measuredWidth = item.dataIndex ? thWidth.value[item.dataIndex] : void 0;
771
+ return sum + (measuredWidth !== null && measuredWidth !== void 0 ? measuredWidth : 0);
772
+ }, 0);
773
+ };
774
+ const resolvedColumnWidth = computed(() => {
775
+ var _props$scroll7, _props$scroll8;
776
+ if (Boolean(((_props$scroll7 = props.scroll) === null || _props$scroll7 === void 0 ? void 0 : _props$scroll7.x) || ((_props$scroll8 = props.scroll) === null || _props$scroll8 === void 0 ? void 0 : _props$scroll8.minWidth)) || autoScrollX.value || containerClientWidth.value <= 0) return _objectSpread2({}, columnWidth);
777
+ const operationWidth = operations.value.reduce((sum, item) => {
778
+ var _item$width2;
779
+ return sum + ((_item$width2 = item.width) !== null && _item$width2 !== void 0 ? _item$width2 : 40);
780
+ }, 0);
781
+ const availableDataWidth = containerClientWidth.value - operationWidth;
782
+ if (availableDataWidth <= 0) return columnWidth;
783
+ const nextColumnWidth = {};
784
+ const flexColumns = [];
785
+ let frozenWidth = 0;
786
+ for (const item of dataColumns.value) {
787
+ var _item$minWidth, _thWidth$value$key;
788
+ if (!item.dataIndex) continue;
789
+ const key = item.dataIndex;
790
+ const min = Math.max((_item$minWidth = item.minWidth) !== null && _item$minWidth !== void 0 ? _item$minWidth : 40, 40);
791
+ const resizedWidth = columnWidth[key];
792
+ const declaredWidth = item.width;
793
+ if (resizedWidth != null || declaredWidth != null) {
794
+ var _ref9;
795
+ const width = Math.max((_ref9 = resizedWidth !== null && resizedWidth !== void 0 ? resizedWidth : declaredWidth) !== null && _ref9 !== void 0 ? _ref9 : min, min);
796
+ nextColumnWidth[key] = width;
797
+ frozenWidth += width;
798
+ continue;
799
+ }
800
+ const measuredWidth = (_thWidth$value$key = thWidth.value[key]) !== null && _thWidth$value$key !== void 0 ? _thWidth$value$key : min;
801
+ flexColumns.push({
802
+ key,
803
+ min,
804
+ base: Math.max(measuredWidth, min)
805
+ });
806
+ }
807
+ if (flexColumns.length === 0) return nextColumnWidth;
808
+ let remaining = availableDataWidth - frozenWidth;
809
+ if (remaining <= 0) {
810
+ for (const item of flexColumns) nextColumnWidth[item.key] = item.base;
811
+ return nextColumnWidth;
812
+ }
813
+ let unfrozen = [...flexColumns];
814
+ while (unfrozen.length > 0) {
815
+ const ideal = remaining / unfrozen.length;
816
+ const idealRounded = Math.round(ideal);
817
+ const violated = unfrozen.filter((item) => idealRounded < item.min);
818
+ if (violated.length === 0) {
819
+ let assigned = 0;
820
+ unfrozen.forEach((item, index) => {
821
+ const width = index === unfrozen.length - 1 ? Math.max(Math.round(remaining - assigned), item.min) : idealRounded;
822
+ nextColumnWidth[item.key] = width;
823
+ assigned += width;
824
+ });
825
+ break;
826
+ }
827
+ for (const item of violated) {
828
+ nextColumnWidth[item.key] = item.min;
829
+ remaining -= item.min;
830
+ }
831
+ unfrozen = unfrozen.filter((item) => idealRounded >= item.min);
832
+ if (remaining <= 0) {
833
+ for (const item of unfrozen) nextColumnWidth[item.key] = item.min;
834
+ break;
835
+ }
836
+ }
837
+ return nextColumnWidth;
838
+ });
839
+ const collectColumnMetrics = () => dataColumns.value.map((item) => ({
840
+ dataIndex: item.dataIndex,
841
+ width: item.width,
842
+ minWidth: item.minWidth,
843
+ resizedWidth: item.dataIndex ? columnWidth[item.dataIndex] : void 0,
844
+ measuredThWidth: item.dataIndex ? thWidth.value[item.dataIndex] : void 0
845
+ }));
846
+ const resolvedTableMinWidth = computed(() => {
847
+ const totalWidth = getCalculatedTableWidth();
848
+ if (!autoScrollX.value) return;
849
+ return totalWidth > 0 ? `${totalWidth}px` : void 0;
850
+ });
851
+ const mergeMinWidth = (style = {}) => {
852
+ if (!resolvedTableMinWidth.value) return Object.keys(style).length > 0 ? style : void 0;
853
+ return _objectSpread2(_objectSpread2({}, style), {}, { minWidth: style.minWidth ? `max(${style.minWidth}, ${resolvedTableMinWidth.value})` : resolvedTableMinWidth.value });
854
+ };
855
+ const tableStyle = computed(() => {
856
+ if (resolvedScroll.value.x) {
857
+ var _props$scroll9, _props$scroll10, _props$scroll11, _props$scroll12;
858
+ const resolvedScrollWidth = isNumber((_props$scroll9 = props.scroll) === null || _props$scroll9 === void 0 ? void 0 : _props$scroll9.x) ? `${(_props$scroll10 = props.scroll) === null || _props$scroll10 === void 0 ? void 0 : _props$scroll10.x}px` : (_props$scroll11 = props.scroll) === null || _props$scroll11 === void 0 ? void 0 : _props$scroll11.x;
859
+ const style = { width: resolvedScrollWidth };
860
+ if ((_props$scroll12 = props.scroll) === null || _props$scroll12 === void 0 ? void 0 : _props$scroll12.minWidth) style.minWidth = isNumber(props.scroll.minWidth) ? `${props.scroll.minWidth}px` : props.scroll.minWidth;
861
+ else if (resolvedScrollWidth) style.minWidth = resolvedScrollWidth;
862
+ return mergeMinWidth(style);
863
+ }
864
+ return mergeMinWidth();
865
+ });
866
+ const gridTemplateColumns = computed(() => {
867
+ const operationTracks = operations.value.map((item) => {
868
+ var _item$width3;
869
+ return `${(_item$width3 = item.width) !== null && _item$width3 !== void 0 ? _item$width3 : 40}px`;
870
+ });
871
+ const dataTracks = dataColumns.value.map((item) => {
872
+ var _item$minWidth2;
873
+ const key = item.dataIndex;
874
+ const resizedWidth = key ? resolvedColumnWidth.value[key] : void 0;
875
+ const width = resizedWidth !== null && resizedWidth !== void 0 ? resizedWidth : item.width;
876
+ const minWidth = (_item$minWidth2 = item.minWidth) !== null && _item$minWidth2 !== void 0 ? _item$minWidth2 : 40;
877
+ if (width != null) return `${Math.max(width, minWidth)}px`;
878
+ return `minmax(${minWidth}px, 1fr)`;
879
+ });
880
+ return operationTracks.concat(dataTracks).join(" ");
881
+ });
882
+ const elementStyle = computed(() => {
883
+ return _objectSpread2(_objectSpread2({}, tableStyle.value ? _objectSpread2({}, tableStyle.value) : {}), {}, { "--sd-table-grid-template": gridTemplateColumns.value });
884
+ });
885
+ const syncContainerMetrics = (reason) => {
886
+ var _props$scroll13, _props$scroll14;
887
+ const { element, clientWidth, scrollWidth } = getContainerMetrics();
888
+ if (!element) return;
889
+ containerClientWidth.value = clientWidth;
890
+ containerScrollWidth.value = scrollWidth;
891
+ containerScrollLeft.value = element.scrollLeft;
892
+ const explicitScrollX = Boolean(((_props$scroll13 = props.scroll) === null || _props$scroll13 === void 0 ? void 0 : _props$scroll13.x) || ((_props$scroll14 = props.scroll) === null || _props$scroll14 === void 0 ? void 0 : _props$scroll14.minWidth));
893
+ const calculatedTableWidth = getCalculatedTableWidth();
894
+ autoScrollX.value = !explicitScrollX && containerClientWidth.value > 0 && calculatedTableWidth > containerClientWidth.value;
895
+ debugLog(`layout:${reason}`, {
896
+ explicitScroll: props.scroll,
897
+ resolvedScroll: resolvedScroll.value,
898
+ autoScrollX: autoScrollX.value,
899
+ calculatedTableWidth,
900
+ resolvedTableMinWidth: resolvedTableMinWidth.value,
901
+ container: {
902
+ clientWidth: containerClientWidth.value,
903
+ scrollWidth: containerScrollWidth.value,
904
+ scrollLeft: element.scrollLeft
905
+ },
906
+ splitTable: splitTable.value,
907
+ hasResizedColumns: hasResizedColumns.value,
908
+ columns: collectColumnMetrics()
909
+ });
910
+ setAlignPosition(element);
911
+ };
693
912
  const hasScrollBar = ref(false);
913
+ const { width: tbodyBorderWidth } = useElementBounding(tbodyRef);
914
+ const { width: tbodyContentWidth } = useElementSize(tbodyRef);
694
915
  const isTbodyHasScrollBar = () => {
695
- if (tbodyRef.value) return tbodyRef.value.offsetWidth > tbodyRef.value.clientWidth;
916
+ if (tbodyRef.value) return tbodyBorderWidth.value > tbodyContentWidth.value + 1;
696
917
  return false;
697
918
  };
698
919
  const handleTbodyResize = () => {
699
920
  const _hasScrollBar = isTbodyHasScrollBar();
700
921
  if (hasScrollBar.value !== _hasScrollBar) hasScrollBar.value = _hasScrollBar;
701
- setAlignPosition();
702
922
  getThWidth();
923
+ syncContainerMetrics("tbody-resize");
703
924
  };
925
+ useResizeObserver(tbodyRef, () => {
926
+ handleTbodyResize();
927
+ });
928
+ useResizeObserver(virtualRef, () => {
929
+ handleTbodyResize();
930
+ });
931
+ useResizeObserver(contentRef, () => {
932
+ getThWidth();
933
+ syncContainerMetrics("content-resize");
934
+ });
704
935
  onMounted(() => {
705
936
  hasScrollBar.value = isTbodyHasScrollBar();
706
937
  getThWidth();
938
+ syncContainerMetrics("mounted");
939
+ });
940
+ watch([
941
+ thWidth,
942
+ columnWidth,
943
+ dataColumns
944
+ ], _asyncToGenerator(function* () {
945
+ yield nextTick();
946
+ syncContainerMetrics("state-change");
947
+ }), { deep: true });
948
+ watchThrottled(columnWidth, _asyncToGenerator(function* () {
949
+ var _getVirtualListInstan, _getVirtualListInstan2;
950
+ if (!isVirtualList.value) return;
951
+ yield nextTick();
952
+ (_getVirtualListInstan = getVirtualListInstance()) === null || _getVirtualListInstan === void 0 || (_getVirtualListInstan2 = _getVirtualListInstan.forceUpdate) === null || _getVirtualListInstan2 === void 0 || _getVirtualListInstan2.call(_getVirtualListInstan, true);
953
+ }), {
954
+ deep: true,
955
+ throttle: 400
707
956
  });
708
957
  const spinProps = computed(() => isObject(props.loading) ? props.loading : { loading: props.loading });
709
958
  const renderEmpty = () => {
710
959
  return createVNode(table_tr_default, { "empty": true }, { default: () => [createVNode(table_td_default, { "colSpan": dataColumns.value.length + operations.value.length }, { default: () => {
711
- var _ref2, _slots$empty, _slots$empty2, _configCtx$slots, _configCtx$slots$empt;
712
- return [(_ref2 = (_slots$empty = (_slots$empty2 = slots.empty) === null || _slots$empty2 === void 0 ? void 0 : _slots$empty2.call(slots)) !== null && _slots$empty !== void 0 ? _slots$empty : configCtx === null || configCtx === void 0 || (_configCtx$slots$empt = (_configCtx$slots = configCtx.slots).empty) === null || _configCtx$slots$empt === void 0 ? void 0 : _configCtx$slots$empt.call(_configCtx$slots, { component: "table" })) !== null && _ref2 !== void 0 ? _ref2 : createVNode(Empty, null, null)];
960
+ var _ref10, _slots$empty, _slots$empty2, _configCtx$slots, _configCtx$slots$empt;
961
+ return [(_ref10 = (_slots$empty = (_slots$empty2 = slots.empty) === null || _slots$empty2 === void 0 ? void 0 : _slots$empty2.call(slots)) !== null && _slots$empty !== void 0 ? _slots$empty : configCtx === null || configCtx === void 0 || (_configCtx$slots$empt = (_configCtx$slots = configCtx.slots).empty) === null || _configCtx$slots$empt === void 0 ? void 0 : _configCtx$slots$empt.call(_configCtx$slots, { component: "table" })) !== null && _ref10 !== void 0 ? _ref10 : createVNode(Empty, null, null)];
713
962
  } })] });
714
963
  };
964
+ const renderAppend = () => {
965
+ if (!slots.append) return null;
966
+ return createVNode("div", { "class": `${prefixCls}-append` }, [slots.append()]);
967
+ };
715
968
  const renderExpandContent = (record) => {
716
969
  var _props$expandable2;
717
970
  if (record.expand) return isFunction(record.expand) ? record.expand() : record.expand;
@@ -729,10 +982,6 @@ var table_default = /* @__PURE__ */ defineComponent({
729
982
  data: summaryData,
730
983
  columns: allColumns
731
984
  });
732
- const getVirtualColumnStyle = (name) => {
733
- if (!isVirtualList.value || !name || !thWidth.value[name]) return;
734
- return { width: `${thWidth.value[name]}px` };
735
- };
736
985
  const renderSummaryRow = (record, rowIndex) => {
737
986
  return createVNode(table_tr_default, {
738
987
  "key": `table-summary-${rowIndex}`,
@@ -745,7 +994,6 @@ var table_default = /* @__PURE__ */ defineComponent({
745
994
  const [rowspan, colspan] = (_tableSummarySpan$val = tableSummarySpan.value[cellId]) !== null && _tableSummarySpan$val !== void 0 ? _tableSummarySpan$val : [1, 1];
746
995
  if (removedSummaryCells.value.includes(cellId)) return null;
747
996
  return createVNode(table_operation_td_default, {
748
- "style": getVirtualColumnStyle(operation.name),
749
997
  "operationColumn": operation,
750
998
  "operations": operations.value,
751
999
  "record": record,
@@ -758,10 +1006,8 @@ var table_default = /* @__PURE__ */ defineComponent({
758
1006
  const cellId = `${rowIndex}-${operations.value.length + index}-${record.key}`;
759
1007
  const [rowspan, colspan] = (_tableSummarySpan$val2 = tableSummarySpan.value[cellId]) !== null && _tableSummarySpan$val2 !== void 0 ? _tableSummarySpan$val2 : [1, 1];
760
1008
  if (removedSummaryCells.value.includes(cellId)) return null;
761
- const style = getVirtualColumnStyle(column.dataIndex);
762
1009
  return createVNode(table_td_default, {
763
1010
  "key": `td-${cellId}`,
764
- "style": style,
765
1011
  "rowIndex": rowIndex,
766
1012
  "record": record,
767
1013
  "column": column,
@@ -784,11 +1030,11 @@ var table_default = /* @__PURE__ */ defineComponent({
784
1030
  });
785
1031
  };
786
1032
  const renderSummary = () => {
787
- if (summaryData.value && summaryData.value.length > 0) return createVNode("tfoot", null, [summaryData.value.map((data, index) => renderSummaryRow(data, index))]);
1033
+ if (summaryData.value && summaryData.value.length > 0) return createVNode("div", { "class": `${prefixCls}-tfoot-content` }, [summaryData.value.map((data, index) => renderSummaryRow(data, index))]);
788
1034
  return null;
789
1035
  };
790
1036
  const renderExpandBtn = (record, stopPropagation = true) => {
791
- var _ref3, _slots$expandIcon, _slots$expandIcon2, _props$expandable3, _props$expandable3$ic;
1037
+ var _ref11, _slots$expandIcon, _slots$expandIcon2, _props$expandable3, _props$expandable3$ic;
792
1038
  const currentKey = record.key;
793
1039
  const expanded = expandedRowKeys.value.includes(currentKey);
794
1040
  return createVNode("button", {
@@ -798,10 +1044,10 @@ var table_default = /* @__PURE__ */ defineComponent({
798
1044
  handleExpand(currentKey, record.raw);
799
1045
  if (stopPropagation) ev.stopPropagation();
800
1046
  }
801
- }, [(_ref3 = (_slots$expandIcon = (_slots$expandIcon2 = slots["expand-icon"]) === null || _slots$expandIcon2 === void 0 ? void 0 : _slots$expandIcon2.call(slots, {
1047
+ }, [(_ref11 = (_slots$expandIcon = (_slots$expandIcon2 = slots["expand-icon"]) === null || _slots$expandIcon2 === void 0 ? void 0 : _slots$expandIcon2.call(slots, {
802
1048
  expanded,
803
1049
  record: record.raw
804
- })) !== null && _slots$expandIcon !== void 0 ? _slots$expandIcon : (_props$expandable3 = props.expandable) === null || _props$expandable3 === void 0 || (_props$expandable3$ic = _props$expandable3.icon) === null || _props$expandable3$ic === void 0 ? void 0 : _props$expandable3$ic.call(_props$expandable3, expanded, record.raw)) !== null && _ref3 !== void 0 ? _ref3 : expanded ? createVNode(IconMinus, null, null) : createVNode(IconPlus, null, null)]);
1050
+ })) !== null && _slots$expandIcon !== void 0 ? _slots$expandIcon : (_props$expandable3 = props.expandable) === null || _props$expandable3 === void 0 || (_props$expandable3$ic = _props$expandable3.icon) === null || _props$expandable3$ic === void 0 ? void 0 : _props$expandable3$ic.call(_props$expandable3, expanded, record.raw)) !== null && _ref11 !== void 0 ? _ref11 : expanded ? createVNode(IconMinus, null, null) : createVNode(IconPlus, null, null)]);
805
1051
  };
806
1052
  const renderExpand = (record, { indentSize, indexPath, allowDrag, expandContent }) => {
807
1053
  if (record.hasSubtree) {
@@ -813,17 +1059,14 @@ var table_default = /* @__PURE__ */ defineComponent({
813
1059
  allowDrag
814
1060
  }));
815
1061
  }
816
- if (expandContent) {
817
- const scrollContainer = containerElement.value;
818
- return createVNode(table_tr_default, {
819
- "key": `${record.key}-expand`,
820
- "expand": true
821
- }, { default: () => [createVNode(table_td_default, {
822
- "isFixedExpand": hasLeftFixedColumn.value || hasRightFixedColumn.value,
823
- "containerWidth": scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.clientWidth,
824
- "colSpan": dataColumns.value.length + operations.value.length
825
- }, _isSlot(expandContent) ? expandContent : { default: () => [expandContent] })] });
826
- }
1062
+ if (expandContent) return createVNode(table_tr_default, {
1063
+ "key": `${record.key}-expand`,
1064
+ "expand": true
1065
+ }, { default: () => [createVNode(table_td_default, {
1066
+ "isFixedExpand": hasLeftFixedColumn.value || hasRightFixedColumn.value,
1067
+ "containerWidth": containerClientWidth.value,
1068
+ "colSpan": dataColumns.value.length + operations.value.length
1069
+ }, _isSlot(expandContent) ? expandContent : { default: () => [expandContent] })] });
827
1070
  return null;
828
1071
  };
829
1072
  const renderRecord = (record, rowIndex, { indentSize = 0, indexPath, allowDrag = true } = {}) => {
@@ -833,6 +1076,7 @@ var table_default = /* @__PURE__ */ defineComponent({
833
1076
  const expandContent = renderExpandContent(record);
834
1077
  const showExpand = expandedRowKeys.value.includes(currentKey);
835
1078
  const isDragTarget = dragState.sourceKey === record.key;
1079
+ const isDropTarget = dragState.dragging && dragState.dropIndicatorPath.toString() === currentPath.toString() && !isDragTarget;
836
1080
  const dragSourceEvent = dragType.value ? {
837
1081
  draggable: allowDrag,
838
1082
  onDragstart: (ev) => {
@@ -863,7 +1107,8 @@ var table_default = /* @__PURE__ */ defineComponent({
863
1107
  "key": currentKey,
864
1108
  "class": [{
865
1109
  [`${prefixCls}-tr-draggable`]: dragType.value === "row",
866
- [`${prefixCls}-tr-drag`]: isDragTarget
1110
+ [`${prefixCls}-tr-drag`]: isDragTarget,
1111
+ [`${prefixCls}-tr-drop-target`]: isDropTarget
867
1112
  }, isFunction(props.rowClass) ? props.rowClass(record.raw, rowIndex) : props.rowClass],
868
1113
  "rowIndex": rowIndex,
869
1114
  "record": record,
@@ -877,10 +1122,8 @@ var table_default = /* @__PURE__ */ defineComponent({
877
1122
  const cellId = `${rowIndex}-${index}-${record.key}`;
878
1123
  const [rowspan, colspan] = props.spanAll ? (_tableSpan$value$cell = tableSpan.value[cellId]) !== null && _tableSpan$value$cell !== void 0 ? _tableSpan$value$cell : [1, 1] : [1, 1];
879
1124
  if (props.spanAll && removedCells.value.includes(cellId)) return null;
880
- const style = getVirtualColumnStyle(operation.name);
881
1125
  return createVNode(table_operation_td_default, mergeProps({
882
1126
  "key": `operation-td-${index}`,
883
- "style": style,
884
1127
  "operationColumn": operation,
885
1128
  "operations": operations.value,
886
1129
  "record": record,
@@ -899,10 +1142,8 @@ var table_default = /* @__PURE__ */ defineComponent({
899
1142
  showExpandBtn: record.hasSubtree,
900
1143
  indentSize: record.hasSubtree ? indentSize - 20 : indentSize
901
1144
  } : {};
902
- const style = getVirtualColumnStyle(column.dataIndex);
903
1145
  return createVNode(table_td_default, mergeProps({
904
1146
  "key": `td-${index}`,
905
- "style": style,
906
1147
  "rowIndex": rowIndex,
907
1148
  "record": record,
908
1149
  "column": column,
@@ -934,6 +1175,10 @@ var table_default = /* @__PURE__ */ defineComponent({
934
1175
  tbody: slots.tbody
935
1176
  });
936
1177
  };
1178
+ const renderVirtualRecord = (record, index) => {
1179
+ const hasSubData = flattenData.value.some((item) => Boolean(item.hasSubtree));
1180
+ return createVNode("div", { "class": `${prefixCls}-virtual-item` }, [renderRecord(record, index, { indentSize: hasSubData ? 20 : 0 })]);
1181
+ };
937
1182
  const renderHeader = () => createVNode(table_thead_default, null, {
938
1183
  default: () => [groupColumns.value.map((row, index) => createVNode(table_tr_default, { "key": `header-row-${index}` }, { default: () => [index === 0 && operations.value.map((operation, index) => {
939
1184
  var _props$rowSelection2;
@@ -965,117 +1210,81 @@ var table_default = /* @__PURE__ */ defineComponent({
965
1210
  });
966
1211
  const renderContent = () => {
967
1212
  if (splitTable.value) {
968
- var _scrollbarProps$value, _scrollbarProps$value2;
1213
+ var _props$scroll15, _props$scroll16;
969
1214
  const top = isNumber(props.stickyHeader) ? `${props.stickyHeader}px` : void 0;
970
- const mergeOuterClass = [(_scrollbarProps$value = scrollbarProps.value) === null || _scrollbarProps$value === void 0 ? void 0 : _scrollbarProps$value.outerClass];
971
- if (props.stickyHeader) mergeOuterClass.push(`${prefixCls}-header-sticky`);
972
- const mergeOuterStyle = _objectSpread2({ top }, (_scrollbarProps$value2 = scrollbarProps.value) === null || _scrollbarProps$value2 === void 0 ? void 0 : _scrollbarProps$value2.outerStyle);
973
- const Component = displayScrollbar.value ? Scrollbar : "div";
1215
+ const BodyComponent = displayScrollbar.value ? Scrollbar : "div";
1216
+ const bodyContent = isVirtualList.value && flattenData.value.length ? createVNode("div", {
1217
+ "class": `${prefixCls}-element`,
1218
+ "style": elementStyle.value
1219
+ }, [createVNode("div", { "class": `${prefixCls}-tbody` }, [createVNode(virtual_list_default, mergeProps({
1220
+ "ref": (ins) => {
1221
+ var _ins$scrollerRef;
1222
+ _virtualComRef.value = ins;
1223
+ if (ins === null || ins === void 0 ? void 0 : ins.$el) tbodyRef.value = ins.$el;
1224
+ if ((ins === null || ins === void 0 || (_ins$scrollerRef = ins.scrollerRef) === null || _ins$scrollerRef === void 0 ? void 0 : _ins$scrollerRef.$el) instanceof HTMLElement) virtualRef.value = ins.scrollerRef.$el;
1225
+ else if (ins === null || ins === void 0 ? void 0 : ins.viewportRef) virtualRef.value = ins.viewportRef;
1226
+ },
1227
+ "class": `${prefixCls}-body`,
1228
+ "items": flattenData.value,
1229
+ "keyField": "key",
1230
+ "height": "auto",
1231
+ "onScroll": onTbodyScroll
1232
+ }, tableVirtualListProps.value), { item: ({ item, index }) => renderVirtualRecord(item, index) })])]) : createVNode(BodyComponent, mergeProps({
1233
+ "ref": tbodyComRef,
1234
+ "class": `${prefixCls}-body`,
1235
+ "style": { maxHeight: isNumber((_props$scroll15 = props.scroll) === null || _props$scroll15 === void 0 ? void 0 : _props$scroll15.y) ? `${(_props$scroll16 = props.scroll) === null || _props$scroll16 === void 0 ? void 0 : _props$scroll16.y}px` : "100%" }
1236
+ }, scrollbar.value ? _objectSpread2({ outerStyle: {
1237
+ display: "flex",
1238
+ minHeight: "0"
1239
+ } }, scrollbarProps.value) : void 0, { "onScroll": onTbodyScroll }), { default: () => [createVNode("div", {
1240
+ "class": `${prefixCls}-element`,
1241
+ "style": elementStyle.value
1242
+ }, [renderBody()])] });
974
1243
  return createVNode(Fragment, null, [
975
- props.showHeader && createVNode(Component, mergeProps({
976
- "ref": theadComRef,
977
- "class": [`${prefixCls}-header`, { [`${prefixCls}-header-sticky`]: props.stickyHeader && !displayScrollbar.value }],
1244
+ props.showHeader && createVNode("div", {
1245
+ "ref": theadRef,
1246
+ "class": [`${prefixCls}-header`, { [`${prefixCls}-header-sticky`]: props.stickyHeader }],
978
1247
  "style": {
979
- overflowY: hasScrollBar.value ? "scroll" : void 0,
980
- top: !displayScrollbar.value ? top : void 0
1248
+ overflowX: "hidden",
1249
+ overflowY: hasScrollBar.value && !displayScrollbar.value ? "scroll" : "hidden",
1250
+ top
981
1251
  }
982
- }, scrollbar.value ? _objectSpread2(_objectSpread2({
983
- hide: flattenData.value.length !== 0,
984
- disableVertical: true
985
- }, scrollbarProps.value), {}, {
986
- outerClass: mergeOuterClass,
987
- outerStyle: mergeOuterStyle
988
- }) : void 0), { default: () => [createVNode("table", {
1252
+ }, [createVNode("div", {
989
1253
  "class": `${prefixCls}-element`,
990
- "style": headerStyle.value,
991
- "cellpadding": 0,
992
- "cellspacing": 0
993
- }, [createVNode(table_col_group_default, {
994
- "dataColumns": dataColumns.value,
995
- "operations": operations.value,
996
- "columnWidth": columnWidth
997
- }, null), renderHeader()])] }),
998
- createVNode(resize_observer_default, { "onResize": handleTbodyResize }, { default: () => {
999
- var _props$scroll13, _props$scroll14;
1000
- return [isVirtualList.value && flattenData.value.length ? createVNode(virtual_list_v2_default, mergeProps({
1001
- "ref": (ins) => {
1002
- if (ins === null || ins === void 0 ? void 0 : ins.$el) tbodyRef.value = ins.$el;
1003
- },
1004
- "class": `${prefixCls}-body`,
1005
- "data": flattenData.value,
1006
- "itemKey": "_key",
1007
- "component": {
1008
- list: "table",
1009
- content: "tbody"
1010
- },
1011
- "listAttrs": {
1012
- class: `${prefixCls}-element`,
1013
- style: contentStyle.value
1014
- },
1015
- "paddingPosition": "list",
1016
- "height": "auto"
1017
- }, props.virtualListProps, { "onScroll": onTbodyScroll }), { item: ({ item, index }) => renderRecord(item, index) }) : createVNode(Component, mergeProps({
1018
- "ref": tbodyComRef,
1019
- "class": `${prefixCls}-body`,
1020
- "style": { maxHeight: isNumber((_props$scroll13 = props.scroll) === null || _props$scroll13 === void 0 ? void 0 : _props$scroll13.y) ? `${(_props$scroll14 = props.scroll) === null || _props$scroll14 === void 0 ? void 0 : _props$scroll14.y}px` : "100%" }
1021
- }, scrollbar.value ? _objectSpread2({ outerStyle: {
1022
- display: "flex",
1023
- minHeight: "0"
1024
- } }, scrollbarProps.value) : void 0, { "onScroll": onTbodyScroll }), { default: () => [createVNode("table", {
1025
- "class": `${prefixCls}-element`,
1026
- "style": contentStyle.value,
1027
- "cellpadding": 0,
1028
- "cellspacing": 0
1029
- }, [flattenData.value.length !== 0 && createVNode(table_col_group_default, {
1030
- "dataColumns": dataColumns.value,
1031
- "operations": operations.value,
1032
- "columnWidth": columnWidth
1033
- }, null), renderBody()])] })];
1034
- } }),
1254
+ "style": elementStyle.value
1255
+ }, [renderHeader()])]),
1256
+ bodyContent,
1035
1257
  summaryData.value && summaryData.value.length > 0 && createVNode("div", {
1036
1258
  "ref": summaryRef,
1037
1259
  "class": `${prefixCls}-tfoot`,
1038
1260
  "style": { overflowY: hasScrollBar.value ? "scroll" : "hidden" }
1039
- }, [createVNode("table", {
1261
+ }, [createVNode("div", {
1040
1262
  "class": `${prefixCls}-element`,
1041
- "style": contentStyle.value,
1042
- "cellpadding": 0,
1043
- "cellspacing": 0
1044
- }, [createVNode(table_col_group_default, {
1045
- "dataColumns": dataColumns.value,
1046
- "operations": operations.value,
1047
- "columnWidth": columnWidth
1048
- }, null), renderSummary()])])
1263
+ "style": elementStyle.value
1264
+ }, [renderSummary()])]),
1265
+ renderAppend()
1049
1266
  ]);
1050
1267
  }
1051
- return createVNode(resize_observer_default, { "onResize": () => setAlignPosition() }, { default: () => [createVNode("table", {
1268
+ return createVNode(Fragment, null, [createVNode("div", {
1052
1269
  "class": `${prefixCls}-element`,
1053
- "cellpadding": 0,
1054
- "cellspacing": 0,
1055
- "style": contentStyle.value
1270
+ "style": elementStyle.value
1056
1271
  }, [
1057
- createVNode(table_col_group_default, {
1058
- "dataColumns": dataColumns.value,
1059
- "operations": operations.value,
1060
- "columnWidth": columnWidth
1061
- }, null),
1062
1272
  props.showHeader && renderHeader(),
1063
1273
  renderBody(),
1064
1274
  summaryData.value && summaryData.value.length > 0 && renderSummary()
1065
- ])] });
1275
+ ]), renderAppend()]);
1066
1276
  };
1067
1277
  const renderTable = (content) => {
1068
- var _props$scroll15;
1069
- const style = ((_props$scroll15 = props.scroll) === null || _props$scroll15 === void 0 ? void 0 : _props$scroll15.maxHeight) ? { maxHeight: props.scroll.maxHeight } : void 0;
1070
- const Component = displayScrollbar.value ? Scrollbar : "div";
1071
- return createVNode(Fragment, null, [createVNode("div", { "class": [`${prefixCls}-container`, tableCls.value] }, [createVNode(Component, mergeProps({
1278
+ var _props$scroll17;
1279
+ const style = ((_props$scroll17 = props.scroll) === null || _props$scroll17 === void 0 ? void 0 : _props$scroll17.maxHeight) ? { maxHeight: props.scroll.maxHeight } : void 0;
1280
+ const ContentComponent = !splitTable.value && displayScrollbar.value ? Scrollbar : "div";
1281
+ return createVNode(Fragment, null, [createVNode("div", { "class": [`${prefixCls}-container`, tableCls.value] }, [createVNode(ContentComponent, mergeProps({
1072
1282
  "ref": contentComRef,
1073
1283
  "class": [`${prefixCls}-content`, { [`${prefixCls}-content-scroll-x`]: !splitTable.value }],
1074
1284
  "style": style
1075
- }, scrollbar.value ? _objectSpread2({ outerStyle: { height: "100%" } }, scrollbarProps.value) : void 0, { "onScroll": handleScroll }), { default: () => [content ? createVNode("table", {
1285
+ }, !splitTable.value && scrollbar.value ? _objectSpread2({ outerStyle: { height: "100%" } }, scrollbarProps.value) : void 0, { "onScroll": handleScroll }), { default: () => [content ? createVNode("div", {
1076
1286
  "class": `${prefixCls}-element`,
1077
- "cellpadding": 0,
1078
- "cellspacing": 0
1287
+ "style": elementStyle.value
1079
1288
  }, [content()]) : renderContent()] })]), slots.footer && createVNode("div", { "class": `${prefixCls}-footer` }, [slots.footer()])]);
1080
1289
  };
1081
1290
  const renderPagination = () => {
@@ -1105,10 +1314,10 @@ var table_default = /* @__PURE__ */ defineComponent({
1105
1314
  ]);
1106
1315
  };
1107
1316
  const style = computed(() => {
1108
- var _props$scroll16;
1109
- if (isString((_props$scroll16 = props.scroll) === null || _props$scroll16 === void 0 ? void 0 : _props$scroll16.y)) {
1110
- var _props$scroll17;
1111
- return { height: (_props$scroll17 = props.scroll) === null || _props$scroll17 === void 0 ? void 0 : _props$scroll17.y };
1317
+ var _props$scroll18;
1318
+ if (isString((_props$scroll18 = props.scroll) === null || _props$scroll18 === void 0 ? void 0 : _props$scroll18.y)) {
1319
+ var _props$scroll19;
1320
+ return { height: (_props$scroll19 = props.scroll) === null || _props$scroll19 === void 0 ? void 0 : _props$scroll19.y };
1112
1321
  }
1113
1322
  });
1114
1323
  const render = () => {