@element-plus/nightly 0.0.20261107 → 0.0.20261110

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 (724) hide show
  1. package/dist/index.full.js +48 -20
  2. package/dist/index.full.min.js +3 -3
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +3 -3
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +48 -20
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar-eg.js +1 -1
  12. package/dist/locale/ar-eg.min.js +1 -1
  13. package/dist/locale/ar-eg.min.mjs +1 -1
  14. package/dist/locale/ar-eg.mjs +1 -1
  15. package/dist/locale/ar.js +1 -1
  16. package/dist/locale/ar.min.js +1 -1
  17. package/dist/locale/ar.min.mjs +1 -1
  18. package/dist/locale/ar.mjs +1 -1
  19. package/dist/locale/az.js +1 -1
  20. package/dist/locale/az.min.js +1 -1
  21. package/dist/locale/az.min.mjs +1 -1
  22. package/dist/locale/az.mjs +1 -1
  23. package/dist/locale/bg.js +1 -1
  24. package/dist/locale/bg.min.js +1 -1
  25. package/dist/locale/bg.min.mjs +1 -1
  26. package/dist/locale/bg.mjs +1 -1
  27. package/dist/locale/bn.js +1 -1
  28. package/dist/locale/bn.min.js +1 -1
  29. package/dist/locale/bn.min.mjs +1 -1
  30. package/dist/locale/bn.mjs +1 -1
  31. package/dist/locale/ca.js +1 -1
  32. package/dist/locale/ca.min.js +1 -1
  33. package/dist/locale/ca.min.mjs +1 -1
  34. package/dist/locale/ca.mjs +1 -1
  35. package/dist/locale/ckb.js +1 -1
  36. package/dist/locale/ckb.min.js +1 -1
  37. package/dist/locale/ckb.min.mjs +1 -1
  38. package/dist/locale/ckb.mjs +1 -1
  39. package/dist/locale/cs.js +1 -1
  40. package/dist/locale/cs.min.js +1 -1
  41. package/dist/locale/cs.min.mjs +1 -1
  42. package/dist/locale/cs.mjs +1 -1
  43. package/dist/locale/da.js +1 -1
  44. package/dist/locale/da.min.js +1 -1
  45. package/dist/locale/da.min.mjs +1 -1
  46. package/dist/locale/da.mjs +1 -1
  47. package/dist/locale/de.js +1 -1
  48. package/dist/locale/de.min.js +1 -1
  49. package/dist/locale/de.min.mjs +1 -1
  50. package/dist/locale/de.mjs +1 -1
  51. package/dist/locale/el.js +1 -1
  52. package/dist/locale/el.min.js +1 -1
  53. package/dist/locale/el.min.mjs +1 -1
  54. package/dist/locale/el.mjs +1 -1
  55. package/dist/locale/en.js +1 -1
  56. package/dist/locale/en.min.js +1 -1
  57. package/dist/locale/en.min.mjs +1 -1
  58. package/dist/locale/en.mjs +1 -1
  59. package/dist/locale/eo.js +1 -1
  60. package/dist/locale/eo.min.js +1 -1
  61. package/dist/locale/eo.min.mjs +1 -1
  62. package/dist/locale/eo.mjs +1 -1
  63. package/dist/locale/es.js +1 -1
  64. package/dist/locale/es.min.js +1 -1
  65. package/dist/locale/es.min.mjs +1 -1
  66. package/dist/locale/es.mjs +1 -1
  67. package/dist/locale/et.js +1 -1
  68. package/dist/locale/et.min.js +1 -1
  69. package/dist/locale/et.min.mjs +1 -1
  70. package/dist/locale/et.mjs +1 -1
  71. package/dist/locale/eu.js +1 -1
  72. package/dist/locale/eu.min.js +1 -1
  73. package/dist/locale/eu.min.mjs +1 -1
  74. package/dist/locale/eu.mjs +1 -1
  75. package/dist/locale/fa.js +1 -1
  76. package/dist/locale/fa.min.js +1 -1
  77. package/dist/locale/fa.min.mjs +1 -1
  78. package/dist/locale/fa.mjs +1 -1
  79. package/dist/locale/fi.js +1 -1
  80. package/dist/locale/fi.min.js +1 -1
  81. package/dist/locale/fi.min.mjs +1 -1
  82. package/dist/locale/fi.mjs +1 -1
  83. package/dist/locale/fr.js +1 -1
  84. package/dist/locale/fr.min.js +1 -1
  85. package/dist/locale/fr.min.mjs +1 -1
  86. package/dist/locale/fr.mjs +1 -1
  87. package/dist/locale/gl.js +1 -1
  88. package/dist/locale/gl.min.js +1 -1
  89. package/dist/locale/gl.min.mjs +1 -1
  90. package/dist/locale/gl.mjs +1 -1
  91. package/dist/locale/he.js +1 -1
  92. package/dist/locale/he.min.js +1 -1
  93. package/dist/locale/he.min.mjs +1 -1
  94. package/dist/locale/he.mjs +1 -1
  95. package/dist/locale/hi.js +1 -1
  96. package/dist/locale/hi.min.js +1 -1
  97. package/dist/locale/hi.min.mjs +1 -1
  98. package/dist/locale/hi.mjs +1 -1
  99. package/dist/locale/hr.js +1 -1
  100. package/dist/locale/hr.min.js +1 -1
  101. package/dist/locale/hr.min.mjs +1 -1
  102. package/dist/locale/hr.mjs +1 -1
  103. package/dist/locale/hu.js +1 -1
  104. package/dist/locale/hu.min.js +1 -1
  105. package/dist/locale/hu.min.mjs +1 -1
  106. package/dist/locale/hu.mjs +1 -1
  107. package/dist/locale/hy-am.js +1 -1
  108. package/dist/locale/hy-am.min.js +1 -1
  109. package/dist/locale/hy-am.min.mjs +1 -1
  110. package/dist/locale/hy-am.mjs +1 -1
  111. package/dist/locale/id.js +1 -1
  112. package/dist/locale/id.min.js +1 -1
  113. package/dist/locale/id.min.mjs +1 -1
  114. package/dist/locale/id.mjs +1 -1
  115. package/dist/locale/it.js +1 -1
  116. package/dist/locale/it.min.js +1 -1
  117. package/dist/locale/it.min.mjs +1 -1
  118. package/dist/locale/it.mjs +1 -1
  119. package/dist/locale/ja.js +1 -1
  120. package/dist/locale/ja.min.js +1 -1
  121. package/dist/locale/ja.min.mjs +1 -1
  122. package/dist/locale/ja.mjs +1 -1
  123. package/dist/locale/kk.js +1 -1
  124. package/dist/locale/kk.min.js +1 -1
  125. package/dist/locale/kk.min.mjs +1 -1
  126. package/dist/locale/kk.mjs +1 -1
  127. package/dist/locale/km.js +1 -1
  128. package/dist/locale/km.min.js +1 -1
  129. package/dist/locale/km.min.mjs +1 -1
  130. package/dist/locale/km.mjs +1 -1
  131. package/dist/locale/ko.js +1 -1
  132. package/dist/locale/ko.min.js +1 -1
  133. package/dist/locale/ko.min.mjs +1 -1
  134. package/dist/locale/ko.mjs +1 -1
  135. package/dist/locale/ku.js +1 -1
  136. package/dist/locale/ku.min.js +1 -1
  137. package/dist/locale/ku.min.mjs +1 -1
  138. package/dist/locale/ku.mjs +1 -1
  139. package/dist/locale/ky.js +1 -1
  140. package/dist/locale/ky.min.js +1 -1
  141. package/dist/locale/ky.min.mjs +1 -1
  142. package/dist/locale/ky.mjs +1 -1
  143. package/dist/locale/lo.js +1 -1
  144. package/dist/locale/lo.min.js +1 -1
  145. package/dist/locale/lo.min.mjs +1 -1
  146. package/dist/locale/lo.mjs +1 -1
  147. package/dist/locale/lt.js +1 -1
  148. package/dist/locale/lt.min.js +1 -1
  149. package/dist/locale/lt.min.mjs +1 -1
  150. package/dist/locale/lt.mjs +1 -1
  151. package/dist/locale/lv.js +1 -1
  152. package/dist/locale/lv.min.js +1 -1
  153. package/dist/locale/lv.min.mjs +1 -1
  154. package/dist/locale/lv.mjs +1 -1
  155. package/dist/locale/mg.js +1 -1
  156. package/dist/locale/mg.min.js +1 -1
  157. package/dist/locale/mg.min.mjs +1 -1
  158. package/dist/locale/mg.mjs +1 -1
  159. package/dist/locale/mn.js +1 -1
  160. package/dist/locale/mn.min.js +1 -1
  161. package/dist/locale/mn.min.mjs +1 -1
  162. package/dist/locale/mn.mjs +1 -1
  163. package/dist/locale/ms.js +1 -1
  164. package/dist/locale/ms.min.js +1 -1
  165. package/dist/locale/ms.min.mjs +1 -1
  166. package/dist/locale/ms.mjs +1 -1
  167. package/dist/locale/my.js +1 -1
  168. package/dist/locale/my.min.js +1 -1
  169. package/dist/locale/my.min.mjs +1 -1
  170. package/dist/locale/my.mjs +1 -1
  171. package/dist/locale/nb-no.js +1 -1
  172. package/dist/locale/nb-no.min.js +1 -1
  173. package/dist/locale/nb-no.min.mjs +1 -1
  174. package/dist/locale/nb-no.mjs +1 -1
  175. package/dist/locale/nl.js +1 -1
  176. package/dist/locale/nl.min.js +1 -1
  177. package/dist/locale/nl.min.mjs +1 -1
  178. package/dist/locale/nl.mjs +1 -1
  179. package/dist/locale/no.js +1 -1
  180. package/dist/locale/no.min.js +1 -1
  181. package/dist/locale/no.min.mjs +1 -1
  182. package/dist/locale/no.mjs +1 -1
  183. package/dist/locale/pa.js +1 -1
  184. package/dist/locale/pa.min.js +1 -1
  185. package/dist/locale/pa.min.mjs +1 -1
  186. package/dist/locale/pa.mjs +1 -1
  187. package/dist/locale/pl.js +1 -1
  188. package/dist/locale/pl.min.js +1 -1
  189. package/dist/locale/pl.min.mjs +1 -1
  190. package/dist/locale/pl.mjs +1 -1
  191. package/dist/locale/pt-br.js +1 -1
  192. package/dist/locale/pt-br.min.js +1 -1
  193. package/dist/locale/pt-br.min.mjs +1 -1
  194. package/dist/locale/pt-br.mjs +1 -1
  195. package/dist/locale/pt.js +1 -1
  196. package/dist/locale/pt.min.js +1 -1
  197. package/dist/locale/pt.min.mjs +1 -1
  198. package/dist/locale/pt.mjs +1 -1
  199. package/dist/locale/ro.js +1 -1
  200. package/dist/locale/ro.min.js +1 -1
  201. package/dist/locale/ro.min.mjs +1 -1
  202. package/dist/locale/ro.mjs +1 -1
  203. package/dist/locale/ru.js +1 -1
  204. package/dist/locale/ru.min.js +1 -1
  205. package/dist/locale/ru.min.mjs +1 -1
  206. package/dist/locale/ru.mjs +1 -1
  207. package/dist/locale/sk.js +1 -1
  208. package/dist/locale/sk.min.js +1 -1
  209. package/dist/locale/sk.min.mjs +1 -1
  210. package/dist/locale/sk.mjs +1 -1
  211. package/dist/locale/sl.js +1 -1
  212. package/dist/locale/sl.min.js +1 -1
  213. package/dist/locale/sl.min.mjs +1 -1
  214. package/dist/locale/sl.mjs +1 -1
  215. package/dist/locale/sr.js +1 -1
  216. package/dist/locale/sr.min.js +1 -1
  217. package/dist/locale/sr.min.mjs +1 -1
  218. package/dist/locale/sr.mjs +1 -1
  219. package/dist/locale/sv.js +1 -1
  220. package/dist/locale/sv.min.js +1 -1
  221. package/dist/locale/sv.min.mjs +1 -1
  222. package/dist/locale/sv.mjs +1 -1
  223. package/dist/locale/sw.js +1 -1
  224. package/dist/locale/sw.min.js +1 -1
  225. package/dist/locale/sw.min.mjs +1 -1
  226. package/dist/locale/sw.mjs +1 -1
  227. package/dist/locale/ta.js +1 -1
  228. package/dist/locale/ta.min.js +1 -1
  229. package/dist/locale/ta.min.mjs +1 -1
  230. package/dist/locale/ta.mjs +1 -1
  231. package/dist/locale/te.js +1 -1
  232. package/dist/locale/te.min.js +1 -1
  233. package/dist/locale/te.min.mjs +1 -1
  234. package/dist/locale/te.mjs +1 -1
  235. package/dist/locale/th.js +1 -1
  236. package/dist/locale/th.min.js +1 -1
  237. package/dist/locale/th.min.mjs +1 -1
  238. package/dist/locale/th.mjs +1 -1
  239. package/dist/locale/tk.js +1 -1
  240. package/dist/locale/tk.min.js +1 -1
  241. package/dist/locale/tk.min.mjs +1 -1
  242. package/dist/locale/tk.mjs +1 -1
  243. package/dist/locale/tr.js +1 -1
  244. package/dist/locale/tr.min.js +1 -1
  245. package/dist/locale/tr.min.mjs +1 -1
  246. package/dist/locale/tr.mjs +1 -1
  247. package/dist/locale/ug-cn.js +1 -1
  248. package/dist/locale/ug-cn.min.js +1 -1
  249. package/dist/locale/ug-cn.min.mjs +1 -1
  250. package/dist/locale/ug-cn.mjs +1 -1
  251. package/dist/locale/uk.js +1 -1
  252. package/dist/locale/uk.min.js +1 -1
  253. package/dist/locale/uk.min.mjs +1 -1
  254. package/dist/locale/uk.mjs +1 -1
  255. package/dist/locale/uz-uz.js +1 -1
  256. package/dist/locale/uz-uz.min.js +1 -1
  257. package/dist/locale/uz-uz.min.mjs +1 -1
  258. package/dist/locale/uz-uz.mjs +1 -1
  259. package/dist/locale/vi.js +1 -1
  260. package/dist/locale/vi.min.js +1 -1
  261. package/dist/locale/vi.min.mjs +1 -1
  262. package/dist/locale/vi.mjs +1 -1
  263. package/dist/locale/zh-cn.js +1 -1
  264. package/dist/locale/zh-cn.min.js +1 -1
  265. package/dist/locale/zh-cn.min.mjs +1 -1
  266. package/dist/locale/zh-cn.mjs +1 -1
  267. package/dist/locale/zh-hk.js +1 -1
  268. package/dist/locale/zh-hk.min.js +1 -1
  269. package/dist/locale/zh-hk.min.mjs +1 -1
  270. package/dist/locale/zh-hk.mjs +1 -1
  271. package/dist/locale/zh-mo.js +1 -1
  272. package/dist/locale/zh-mo.min.js +1 -1
  273. package/dist/locale/zh-mo.min.mjs +1 -1
  274. package/dist/locale/zh-mo.mjs +1 -1
  275. package/dist/locale/zh-tw.js +1 -1
  276. package/dist/locale/zh-tw.min.js +1 -1
  277. package/dist/locale/zh-tw.min.mjs +1 -1
  278. package/dist/locale/zh-tw.mjs +1 -1
  279. package/es/components/affix/src/affix.d.ts +1 -1
  280. package/es/components/affix/src/affix.vue.d.ts +9 -7
  281. package/es/components/alert/src/alert.d.ts +2 -2
  282. package/es/components/alert/src/alert.vue.d.ts +11 -9
  283. package/es/components/anchor/src/anchor-link.vue.d.ts +7 -5
  284. package/es/components/anchor/src/anchor.vue.d.ts +10 -8
  285. package/es/components/autocomplete/src/autocomplete.d.ts +2 -2
  286. package/es/components/autocomplete/src/autocomplete.vue.d.ts +4 -4
  287. package/es/components/avatar/src/avatar-group-props.d.ts +1 -1
  288. package/es/components/avatar/src/avatar-group.d.ts +2 -2
  289. package/es/components/avatar/src/avatar.d.ts +2 -2
  290. package/es/components/avatar/src/avatar.vue.d.ts +5 -3
  291. package/es/components/backtop/src/backtop.vue.d.ts +6 -4
  292. package/es/components/badge/src/badge.d.ts +1 -1
  293. package/es/components/badge/src/badge.vue.d.ts +10 -8
  294. package/es/components/breadcrumb/src/breadcrumb-item.vue.d.ts +5 -3
  295. package/es/components/breadcrumb/src/breadcrumb.vue.d.ts +5 -3
  296. package/es/components/button/src/button-group.d.ts +1 -1
  297. package/es/components/button/src/button-group.vue.d.ts +6 -4
  298. package/es/components/button/src/button.d.ts +2 -2
  299. package/es/components/button/src/button.vue.d.ts +14 -12
  300. package/es/components/button/src/use-button.d.ts +2 -2
  301. package/es/components/calendar/src/calendar.d.ts +1 -1
  302. package/es/components/calendar/src/calendar.vue.d.ts +25 -23
  303. package/es/components/calendar/src/date-table.vue.d.ts +11 -9
  304. package/es/components/card/src/card.d.ts +1 -1
  305. package/es/components/card/src/card.vue.d.ts +13 -11
  306. package/es/components/carousel/src/carousel-item.vue.d.ts +5 -3
  307. package/es/components/carousel/src/carousel.d.ts +1 -1
  308. package/es/components/carousel/src/carousel.vue.d.ts +7 -5
  309. package/es/components/cascader/src/cascader.d.ts +4 -4
  310. package/es/components/cascader/src/cascader.vue.d.ts +110 -108
  311. package/es/components/cascader-panel/src/index.vue.d.ts +8 -6
  312. package/es/components/cascader-panel/src/menu.vue.d.ts +8 -6
  313. package/es/components/check-tag/src/check-tag.d.ts +1 -1
  314. package/es/components/check-tag/src/check-tag.vue.d.ts +6 -4
  315. package/es/components/checkbox/src/checkbox-button.vue.d.ts +10 -8
  316. package/es/components/checkbox/src/checkbox-group.vue.d.ts +10 -8
  317. package/es/components/checkbox/src/checkbox.d.ts +8 -8
  318. package/es/components/checkbox/src/checkbox.vue.d.ts +10 -8
  319. package/es/components/col/src/col.vue.d.ts +7 -5
  320. package/es/components/collapse/src/collapse-item.vue.d.ts +13 -11
  321. package/es/components/collapse/src/collapse.vue.d.ts +6 -4
  322. package/es/components/collapse-transition/src/collapse-transition.vue.d.ts +5 -3
  323. package/es/components/color-picker/src/color-picker.vue.d.ts +6 -6
  324. package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +6 -4
  325. package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  326. package/es/components/container/src/aside.vue.d.ts +5 -3
  327. package/es/components/container/src/container.vue.d.ts +5 -3
  328. package/es/components/container/src/footer.vue.d.ts +5 -3
  329. package/es/components/container/src/header.vue.d.ts +5 -3
  330. package/es/components/container/src/main.vue.d.ts +5 -3
  331. package/es/components/countdown/src/countdown.vue.d.ts +8 -4
  332. package/es/components/date-picker/src/date-picker.d.ts +25 -25
  333. package/es/components/date-picker/src/props.d.ts +3 -3
  334. package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  335. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +20 -18
  336. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +30 -28
  337. package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +17 -15
  338. package/es/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue.d.ts +17 -15
  339. package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +17 -15
  340. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +12 -12
  341. package/es/components/date-picker-panel/src/panel-utils.d.ts +35 -35
  342. package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
  343. package/es/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
  344. package/es/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
  345. package/es/components/date-picker-panel/src/props/shared.d.ts +1 -1
  346. package/es/components/descriptions/src/description-item.d.ts +19 -19
  347. package/es/components/descriptions/src/description.vue.d.ts +9 -7
  348. package/es/components/dialog/src/dialog-content.vue.d.ts +11 -9
  349. package/es/components/dialog/src/dialog.vue.d.ts +22 -20
  350. package/es/components/divider/src/divider.d.ts +1 -1
  351. package/es/components/divider/src/divider.vue.d.ts +6 -4
  352. package/es/components/drawer/src/drawer.d.ts +1 -1
  353. package/es/components/drawer/src/drawer.vue.d.ts +26 -24
  354. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  355. package/es/components/dropdown/src/dropdown-item.vue.d.ts +4 -4
  356. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  357. package/es/components/dropdown/src/dropdown.d.ts +3 -3
  358. package/es/components/dropdown/src/dropdown.vue.d.ts +77 -77
  359. package/es/components/empty/src/empty.vue.d.ts +9 -7
  360. package/es/components/form/src/form-item.vue.d.ts +12 -10
  361. package/es/components/form/src/form.vue.d.ts +5 -3
  362. package/es/components/icon/src/icon.vue.d.ts +5 -3
  363. package/es/components/image/src/image.vue.d.ts +37 -35
  364. package/es/components/image-viewer/src/image-viewer.vue.d.ts +33 -31
  365. package/es/components/input/src/input.d.ts +1 -1
  366. package/es/components/input/src/input.vue.d.ts +25 -23
  367. package/es/components/input-number/src/input-number.d.ts +2 -2
  368. package/es/components/input-number/src/input-number.vue.d.ts +21 -19
  369. package/es/components/input-otp/src/input-otp.vue.d.ts +12 -10
  370. package/es/components/input-tag/src/input-tag.d.ts +2 -2
  371. package/es/components/input-tag/src/input-tag.vue.d.ts +32 -30
  372. package/es/components/link/src/link.d.ts +2 -2
  373. package/es/components/link/src/link.vue.d.ts +9 -7
  374. package/es/components/mention/src/mention-dropdown.vue.d.ts +14 -12
  375. package/es/components/mention/src/mention.d.ts +2 -2
  376. package/es/components/mention/src/mention.vue.d.ts +3 -3
  377. package/es/components/menu/src/menu-collapse-transition.vue.d.ts +5 -3
  378. package/es/components/menu/src/menu-item-group.vue.d.ts +7 -5
  379. package/es/components/menu/src/menu-item.vue.d.ts +11 -9
  380. package/es/components/menu/src/menu.d.ts +3 -3
  381. package/es/components/message/src/instance.d.ts +1 -1
  382. package/es/components/message/src/message.d.ts +2 -2
  383. package/es/components/message/src/message.vue.d.ts +14 -12
  384. package/es/components/message-box/src/index.vue.d.ts +49 -49
  385. package/es/components/notification/src/notification.d.ts +1 -1
  386. package/es/components/notification/src/notification.vue.d.ts +13 -11
  387. package/es/components/page-header/src/page-header.vue.d.ts +16 -14
  388. package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
  389. package/es/components/popconfirm/src/popconfirm.vue.d.ts +14 -12
  390. package/es/components/popover/src/popover.d.ts +52 -52
  391. package/es/components/popover/src/popover.vue.d.ts +14 -12
  392. package/es/components/popper/src/composables/use-content.d.ts +2 -2
  393. package/es/components/popper/src/content.d.ts +4 -4
  394. package/es/components/popper/src/content.vue.d.ts +12 -10
  395. package/es/components/popper/src/popper.d.ts +2 -2
  396. package/es/components/popper/src/popper.vue.d.ts +6 -4
  397. package/es/components/popper/src/trigger.vue.d.ts +5 -3
  398. package/es/components/progress/src/progress.vue.d.ts +13 -11
  399. package/es/components/radio/src/radio-button.d.ts +3 -3
  400. package/es/components/radio/src/radio-button.vue.d.ts +6 -4
  401. package/es/components/radio/src/radio-group.vue.d.ts +10 -8
  402. package/es/components/radio/src/radio.d.ts +6 -6
  403. package/es/components/radio/src/radio.vue.d.ts +8 -6
  404. package/es/components/rate/src/rate.vue.d.ts +2 -2
  405. package/es/components/result/src/result.d.ts +1 -1
  406. package/es/components/result/src/result.vue.d.ts +12 -10
  407. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +2 -2
  408. package/es/components/row/src/row.d.ts +1 -1
  409. package/es/components/row/src/row.vue.d.ts +6 -4
  410. package/es/components/scrollbar/src/scrollbar.d.ts +1 -1
  411. package/es/components/scrollbar/src/scrollbar.vue.d.ts +10 -8
  412. package/es/components/segmented/index.d.ts +3 -3
  413. package/es/components/segmented/src/segmented.d.ts +1 -1
  414. package/es/components/segmented/src/segmented.vue.d.ts +1 -1
  415. package/es/components/select/src/option.d.ts +2 -2
  416. package/es/components/select/src/option.vue.d.ts +5 -5
  417. package/es/components/select/src/select.d.ts +5 -5
  418. package/es/components/select/src/select.vue.d.ts +98 -98
  419. package/es/components/select/src/useOption.d.ts +2 -2
  420. package/es/components/select/src/useSelect.d.ts +5 -5
  421. package/es/components/select-v2/src/defaults.d.ts +4 -4
  422. package/es/components/select-v2/src/select.vue.d.ts +74 -74
  423. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  424. package/es/components/skeleton/src/skeleton-item.vue.d.ts +1 -1
  425. package/es/components/skeleton/src/skeleton.vue.d.ts +10 -8
  426. package/es/components/slider/src/slider.vue.d.ts +6 -6
  427. package/es/components/space/src/space.d.ts +1 -1
  428. package/es/components/splitter/src/split-bar.vue.d.ts +8 -6
  429. package/es/components/splitter/src/split-panel.vue.d.ts +9 -7
  430. package/es/components/splitter/src/splitter.vue.d.ts +5 -3
  431. package/es/components/statistic/src/statistic.vue.d.ts +10 -8
  432. package/es/components/steps/src/item.d.ts +1 -1
  433. package/es/components/steps/src/item.vue.d.ts +11 -9
  434. package/es/components/steps/src/steps.d.ts +2 -2
  435. package/es/components/steps/src/steps.vue.d.ts +5 -3
  436. package/es/components/switch/src/switch.vue.d.ts +18 -16
  437. package/es/components/table/src/filter-panel.vue.d.ts +72 -72
  438. package/es/components/table/src/table/defaults.d.ts +5 -5
  439. package/es/components/table/src/table/style-helper.d.ts +1 -1
  440. package/es/components/table/src/table/style-helper.mjs +47 -19
  441. package/es/components/table/src/table/style-helper.mjs.map +1 -1
  442. package/es/components/table/src/table-body/td-wrapper.vue.d.ts +5 -3
  443. package/es/components/table/src/table-column/defaults.d.ts +4 -4
  444. package/es/components/table/src/table-footer/index.d.ts +1 -1
  445. package/es/components/table/src/table-header/index.d.ts +15 -15
  446. package/es/components/table/src/table.vue.d.ts +4 -4
  447. package/es/components/table-v2/src/components/row.d.ts +1 -1
  448. package/es/components/table-v2/src/table-grid.d.ts +2 -2
  449. package/es/components/table-v2/src/table-v2.d.ts +2 -2
  450. package/es/components/tabs/src/tab-nav.d.ts +1 -1
  451. package/es/components/tabs/src/tab-pane.vue.d.ts +6 -4
  452. package/es/components/tabs/src/tabs.d.ts +6 -6
  453. package/es/components/tag/src/tag.d.ts +2 -2
  454. package/es/components/tag/src/tag.vue.d.ts +9 -7
  455. package/es/components/text/src/text.d.ts +1 -1
  456. package/es/components/text/src/text.vue.d.ts +6 -4
  457. package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +13 -11
  458. package/es/components/time-picker/src/common/picker.vue.d.ts +61 -59
  459. package/es/components/time-picker/src/common/props.d.ts +2 -2
  460. package/es/components/time-picker/src/time-picker.d.ts +23 -23
  461. package/es/components/time-picker/src/utils.d.ts +1 -1
  462. package/es/components/time-select/src/time-select.vue.d.ts +12 -12
  463. package/es/components/timeline/src/timeline-item.d.ts +2 -2
  464. package/es/components/timeline/src/timeline-item.vue.d.ts +9 -7
  465. package/es/components/tooltip/src/content.d.ts +1 -1
  466. package/es/components/tooltip/src/content.vue.d.ts +9 -7
  467. package/es/components/tooltip/src/tooltip.d.ts +3 -3
  468. package/es/components/tooltip/src/tooltip.vue.d.ts +18 -16
  469. package/es/components/tooltip/src/trigger.d.ts +1 -1
  470. package/es/components/tooltip/src/trigger.vue.d.ts +5 -3
  471. package/es/components/tour/src/content.d.ts +2 -2
  472. package/es/components/tour/src/content.vue.d.ts +6 -4
  473. package/es/components/tour/src/step.d.ts +1 -1
  474. package/es/components/tour/src/step.vue.d.ts +9 -7
  475. package/es/components/tour/src/tour.d.ts +1 -1
  476. package/es/components/tour/src/tour.vue.d.ts +17 -15
  477. package/es/components/transfer/src/transfer.vue.d.ts +1 -1
  478. package/es/components/tree/src/tree-node.vue.d.ts +15 -15
  479. package/es/components/tree/src/tree.vue.d.ts +26 -26
  480. package/es/components/tree-select/src/tree-select-option.d.ts +5 -5
  481. package/es/components/tree-select/src/tree-select.vue.d.ts +42 -42
  482. package/es/components/tree-v2/src/composables/useTree.d.ts +8 -8
  483. package/es/components/tree-v2/src/tree.vue.d.ts +14 -12
  484. package/es/components/upload/src/upload-content.vue.d.ts +8 -6
  485. package/es/components/upload/src/upload-dragger.vue.d.ts +5 -3
  486. package/es/components/upload/src/upload-list.vue.d.ts +10 -8
  487. package/es/components/upload/src/upload.vue.d.ts +26 -24
  488. package/es/components/virtual-list/src/builders/build-grid.d.ts +3 -3
  489. package/es/components/virtual-list/src/builders/build-list.d.ts +4 -4
  490. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +3 -3
  491. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +4 -4
  492. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +3 -3
  493. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +4 -4
  494. package/es/components/watermark/src/watermark.vue.d.ts +6 -4
  495. package/es/hooks/use-floating/index.d.ts +4 -4
  496. package/es/hooks/use-popper/index.d.ts +2 -2
  497. package/es/utils/vue/size.d.ts +1 -1
  498. package/es/version.d.ts +1 -1
  499. package/es/version.mjs +1 -1
  500. package/es/version.mjs.map +1 -1
  501. package/lib/components/affix/src/affix.d.ts +1 -1
  502. package/lib/components/affix/src/affix.vue.d.ts +9 -7
  503. package/lib/components/alert/src/alert.d.ts +2 -2
  504. package/lib/components/alert/src/alert.vue.d.ts +11 -9
  505. package/lib/components/anchor/src/anchor-link.vue.d.ts +7 -5
  506. package/lib/components/anchor/src/anchor.vue.d.ts +10 -8
  507. package/lib/components/autocomplete/src/autocomplete.d.ts +2 -2
  508. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +4 -4
  509. package/lib/components/avatar/src/avatar-group-props.d.ts +1 -1
  510. package/lib/components/avatar/src/avatar-group.d.ts +2 -2
  511. package/lib/components/avatar/src/avatar.d.ts +2 -2
  512. package/lib/components/avatar/src/avatar.vue.d.ts +5 -3
  513. package/lib/components/backtop/src/backtop.vue.d.ts +6 -4
  514. package/lib/components/badge/src/badge.d.ts +1 -1
  515. package/lib/components/badge/src/badge.vue.d.ts +10 -8
  516. package/lib/components/breadcrumb/src/breadcrumb-item.vue.d.ts +5 -3
  517. package/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +5 -3
  518. package/lib/components/button/src/button-group.d.ts +1 -1
  519. package/lib/components/button/src/button-group.vue.d.ts +6 -4
  520. package/lib/components/button/src/button.d.ts +2 -2
  521. package/lib/components/button/src/button.vue.d.ts +14 -12
  522. package/lib/components/button/src/use-button.d.ts +2 -2
  523. package/lib/components/calendar/src/calendar.d.ts +1 -1
  524. package/lib/components/calendar/src/calendar.vue.d.ts +25 -23
  525. package/lib/components/calendar/src/date-table.vue.d.ts +11 -9
  526. package/lib/components/card/src/card.d.ts +1 -1
  527. package/lib/components/card/src/card.vue.d.ts +13 -11
  528. package/lib/components/carousel/src/carousel-item.vue.d.ts +5 -3
  529. package/lib/components/carousel/src/carousel.d.ts +1 -1
  530. package/lib/components/carousel/src/carousel.vue.d.ts +7 -5
  531. package/lib/components/cascader/src/cascader.d.ts +4 -4
  532. package/lib/components/cascader/src/cascader.vue.d.ts +110 -108
  533. package/lib/components/cascader-panel/src/index.vue.d.ts +8 -6
  534. package/lib/components/cascader-panel/src/menu.vue.d.ts +8 -6
  535. package/lib/components/check-tag/src/check-tag.d.ts +1 -1
  536. package/lib/components/check-tag/src/check-tag.vue.d.ts +6 -4
  537. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +10 -8
  538. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +10 -8
  539. package/lib/components/checkbox/src/checkbox.d.ts +8 -8
  540. package/lib/components/checkbox/src/checkbox.vue.d.ts +10 -8
  541. package/lib/components/col/src/col.vue.d.ts +7 -5
  542. package/lib/components/collapse/src/collapse-item.vue.d.ts +13 -11
  543. package/lib/components/collapse/src/collapse.vue.d.ts +6 -4
  544. package/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +5 -3
  545. package/lib/components/color-picker/src/color-picker.vue.d.ts +6 -6
  546. package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +6 -4
  547. package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  548. package/lib/components/container/src/aside.vue.d.ts +5 -3
  549. package/lib/components/container/src/container.vue.d.ts +5 -3
  550. package/lib/components/container/src/footer.vue.d.ts +5 -3
  551. package/lib/components/container/src/header.vue.d.ts +5 -3
  552. package/lib/components/container/src/main.vue.d.ts +5 -3
  553. package/lib/components/countdown/src/countdown.vue.d.ts +8 -4
  554. package/lib/components/date-picker/src/date-picker.d.ts +25 -25
  555. package/lib/components/date-picker/src/props.d.ts +3 -3
  556. package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  557. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +20 -18
  558. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +30 -28
  559. package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +17 -15
  560. package/lib/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue.d.ts +17 -15
  561. package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +17 -15
  562. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +12 -12
  563. package/lib/components/date-picker-panel/src/panel-utils.d.ts +35 -35
  564. package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
  565. package/lib/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
  566. package/lib/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
  567. package/lib/components/date-picker-panel/src/props/shared.d.ts +1 -1
  568. package/lib/components/descriptions/src/description-item.d.ts +19 -19
  569. package/lib/components/descriptions/src/description.vue.d.ts +9 -7
  570. package/lib/components/dialog/src/dialog-content.vue.d.ts +11 -9
  571. package/lib/components/dialog/src/dialog.vue.d.ts +22 -20
  572. package/lib/components/divider/src/divider.d.ts +1 -1
  573. package/lib/components/divider/src/divider.vue.d.ts +6 -4
  574. package/lib/components/drawer/src/drawer.d.ts +1 -1
  575. package/lib/components/drawer/src/drawer.vue.d.ts +26 -24
  576. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  577. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +4 -4
  578. package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  579. package/lib/components/dropdown/src/dropdown.d.ts +3 -3
  580. package/lib/components/dropdown/src/dropdown.vue.d.ts +77 -77
  581. package/lib/components/empty/src/empty.vue.d.ts +9 -7
  582. package/lib/components/form/src/form-item.vue.d.ts +12 -10
  583. package/lib/components/form/src/form.vue.d.ts +5 -3
  584. package/lib/components/icon/src/icon.vue.d.ts +5 -3
  585. package/lib/components/image/src/image.vue.d.ts +37 -35
  586. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +33 -31
  587. package/lib/components/input/src/input.d.ts +1 -1
  588. package/lib/components/input/src/input.vue.d.ts +25 -23
  589. package/lib/components/input-number/src/input-number.d.ts +2 -2
  590. package/lib/components/input-number/src/input-number.vue.d.ts +21 -19
  591. package/lib/components/input-otp/src/input-otp.vue.d.ts +12 -10
  592. package/lib/components/input-tag/src/input-tag.d.ts +2 -2
  593. package/lib/components/input-tag/src/input-tag.vue.d.ts +32 -30
  594. package/lib/components/link/src/link.d.ts +2 -2
  595. package/lib/components/link/src/link.vue.d.ts +9 -7
  596. package/lib/components/mention/src/mention-dropdown.vue.d.ts +14 -12
  597. package/lib/components/mention/src/mention.d.ts +2 -2
  598. package/lib/components/mention/src/mention.vue.d.ts +3 -3
  599. package/lib/components/menu/src/menu-collapse-transition.vue.d.ts +5 -3
  600. package/lib/components/menu/src/menu-item-group.vue.d.ts +7 -5
  601. package/lib/components/menu/src/menu-item.vue.d.ts +11 -9
  602. package/lib/components/menu/src/menu.d.ts +3 -3
  603. package/lib/components/message/src/instance.d.ts +1 -1
  604. package/lib/components/message/src/message.d.ts +2 -2
  605. package/lib/components/message/src/message.vue.d.ts +14 -12
  606. package/lib/components/message-box/src/index.vue.d.ts +49 -49
  607. package/lib/components/notification/src/notification.d.ts +1 -1
  608. package/lib/components/notification/src/notification.vue.d.ts +13 -11
  609. package/lib/components/page-header/src/page-header.vue.d.ts +16 -14
  610. package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
  611. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +14 -12
  612. package/lib/components/popover/src/popover.d.ts +52 -52
  613. package/lib/components/popover/src/popover.vue.d.ts +14 -12
  614. package/lib/components/popper/src/composables/use-content.d.ts +2 -2
  615. package/lib/components/popper/src/content.d.ts +4 -4
  616. package/lib/components/popper/src/content.vue.d.ts +12 -10
  617. package/lib/components/popper/src/popper.d.ts +2 -2
  618. package/lib/components/popper/src/popper.vue.d.ts +6 -4
  619. package/lib/components/popper/src/trigger.vue.d.ts +5 -3
  620. package/lib/components/progress/src/progress.vue.d.ts +13 -11
  621. package/lib/components/radio/src/radio-button.d.ts +3 -3
  622. package/lib/components/radio/src/radio-button.vue.d.ts +6 -4
  623. package/lib/components/radio/src/radio-group.vue.d.ts +10 -8
  624. package/lib/components/radio/src/radio.d.ts +6 -6
  625. package/lib/components/radio/src/radio.vue.d.ts +8 -6
  626. package/lib/components/rate/src/rate.vue.d.ts +2 -2
  627. package/lib/components/result/src/result.d.ts +1 -1
  628. package/lib/components/result/src/result.vue.d.ts +12 -10
  629. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +2 -2
  630. package/lib/components/row/src/row.d.ts +1 -1
  631. package/lib/components/row/src/row.vue.d.ts +6 -4
  632. package/lib/components/scrollbar/src/scrollbar.d.ts +1 -1
  633. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +10 -8
  634. package/lib/components/segmented/index.d.ts +3 -3
  635. package/lib/components/segmented/src/segmented.d.ts +1 -1
  636. package/lib/components/segmented/src/segmented.vue.d.ts +1 -1
  637. package/lib/components/select/src/option.d.ts +2 -2
  638. package/lib/components/select/src/option.vue.d.ts +5 -5
  639. package/lib/components/select/src/select.d.ts +5 -5
  640. package/lib/components/select/src/select.vue.d.ts +98 -98
  641. package/lib/components/select/src/useOption.d.ts +2 -2
  642. package/lib/components/select/src/useSelect.d.ts +5 -5
  643. package/lib/components/select-v2/src/defaults.d.ts +4 -4
  644. package/lib/components/select-v2/src/select.vue.d.ts +74 -74
  645. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  646. package/lib/components/skeleton/src/skeleton-item.vue.d.ts +1 -1
  647. package/lib/components/skeleton/src/skeleton.vue.d.ts +10 -8
  648. package/lib/components/slider/src/slider.vue.d.ts +6 -6
  649. package/lib/components/space/src/space.d.ts +1 -1
  650. package/lib/components/splitter/src/split-bar.vue.d.ts +8 -6
  651. package/lib/components/splitter/src/split-panel.vue.d.ts +9 -7
  652. package/lib/components/splitter/src/splitter.vue.d.ts +5 -3
  653. package/lib/components/statistic/src/statistic.vue.d.ts +10 -8
  654. package/lib/components/steps/src/item.d.ts +1 -1
  655. package/lib/components/steps/src/item.vue.d.ts +11 -9
  656. package/lib/components/steps/src/steps.d.ts +2 -2
  657. package/lib/components/steps/src/steps.vue.d.ts +5 -3
  658. package/lib/components/switch/src/switch.vue.d.ts +18 -16
  659. package/lib/components/table/src/filter-panel.vue.d.ts +72 -72
  660. package/lib/components/table/src/table/defaults.d.ts +5 -5
  661. package/lib/components/table/src/table/style-helper.d.ts +1 -1
  662. package/lib/components/table/src/table/style-helper.js +46 -18
  663. package/lib/components/table/src/table/style-helper.js.map +1 -1
  664. package/lib/components/table/src/table-body/td-wrapper.vue.d.ts +5 -3
  665. package/lib/components/table/src/table-column/defaults.d.ts +4 -4
  666. package/lib/components/table/src/table-footer/index.d.ts +1 -1
  667. package/lib/components/table/src/table-header/index.d.ts +15 -15
  668. package/lib/components/table/src/table.vue.d.ts +4 -4
  669. package/lib/components/table-v2/src/components/row.d.ts +1 -1
  670. package/lib/components/table-v2/src/table-grid.d.ts +2 -2
  671. package/lib/components/table-v2/src/table-v2.d.ts +2 -2
  672. package/lib/components/tabs/src/tab-nav.d.ts +1 -1
  673. package/lib/components/tabs/src/tab-pane.vue.d.ts +6 -4
  674. package/lib/components/tabs/src/tabs.d.ts +6 -6
  675. package/lib/components/tag/src/tag.d.ts +2 -2
  676. package/lib/components/tag/src/tag.vue.d.ts +9 -7
  677. package/lib/components/text/src/text.d.ts +1 -1
  678. package/lib/components/text/src/text.vue.d.ts +6 -4
  679. package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +13 -11
  680. package/lib/components/time-picker/src/common/picker.vue.d.ts +61 -59
  681. package/lib/components/time-picker/src/common/props.d.ts +2 -2
  682. package/lib/components/time-picker/src/time-picker.d.ts +23 -23
  683. package/lib/components/time-picker/src/utils.d.ts +1 -1
  684. package/lib/components/time-select/src/time-select.vue.d.ts +12 -12
  685. package/lib/components/timeline/src/timeline-item.d.ts +2 -2
  686. package/lib/components/timeline/src/timeline-item.vue.d.ts +9 -7
  687. package/lib/components/tooltip/src/content.d.ts +1 -1
  688. package/lib/components/tooltip/src/content.vue.d.ts +9 -7
  689. package/lib/components/tooltip/src/tooltip.d.ts +3 -3
  690. package/lib/components/tooltip/src/tooltip.vue.d.ts +18 -16
  691. package/lib/components/tooltip/src/trigger.d.ts +1 -1
  692. package/lib/components/tooltip/src/trigger.vue.d.ts +5 -3
  693. package/lib/components/tour/src/content.d.ts +2 -2
  694. package/lib/components/tour/src/content.vue.d.ts +6 -4
  695. package/lib/components/tour/src/step.d.ts +1 -1
  696. package/lib/components/tour/src/step.vue.d.ts +9 -7
  697. package/lib/components/tour/src/tour.d.ts +1 -1
  698. package/lib/components/tour/src/tour.vue.d.ts +17 -15
  699. package/lib/components/transfer/src/transfer.vue.d.ts +1 -1
  700. package/lib/components/tree/src/tree-node.vue.d.ts +15 -15
  701. package/lib/components/tree/src/tree.vue.d.ts +26 -26
  702. package/lib/components/tree-select/src/tree-select-option.d.ts +5 -5
  703. package/lib/components/tree-select/src/tree-select.vue.d.ts +42 -42
  704. package/lib/components/tree-v2/src/composables/useTree.d.ts +8 -8
  705. package/lib/components/tree-v2/src/tree.vue.d.ts +14 -12
  706. package/lib/components/upload/src/upload-content.vue.d.ts +8 -6
  707. package/lib/components/upload/src/upload-dragger.vue.d.ts +5 -3
  708. package/lib/components/upload/src/upload-list.vue.d.ts +10 -8
  709. package/lib/components/upload/src/upload.vue.d.ts +26 -24
  710. package/lib/components/virtual-list/src/builders/build-grid.d.ts +3 -3
  711. package/lib/components/virtual-list/src/builders/build-list.d.ts +4 -4
  712. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +3 -3
  713. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +4 -4
  714. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +3 -3
  715. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +4 -4
  716. package/lib/components/watermark/src/watermark.vue.d.ts +6 -4
  717. package/lib/hooks/use-floating/index.d.ts +4 -4
  718. package/lib/hooks/use-popper/index.d.ts +2 -2
  719. package/lib/utils/vue/size.d.ts +1 -1
  720. package/lib/version.d.ts +1 -1
  721. package/lib/version.js +1 -1
  722. package/lib/version.js.map +1 -1
  723. package/package.json +3 -3
  724. package/web-types.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { useFormSize } from "../../../form/src/hooks/use-form-common-props.mjs";
2
2
  import { useEventListener, useResizeObserver } from "@vueuse/core";
3
- import { computed, nextTick, onMounted, ref, unref, watch, watchEffect } from "vue";
3
+ import { computed, nextTick, onBeforeUnmount, onMounted, ref, unref, watch, watchEffect } from "vue";
4
4
  //#region ../../packages/components/table/src/table/style-helper.ts
5
5
  function useStyle(props, layout, store, table) {
6
6
  const isHidden = ref(false);
@@ -25,6 +25,10 @@ function useStyle(props, layout, store, table) {
25
25
  const headerScrollHeight = ref(0);
26
26
  const footerScrollHeight = ref(0);
27
27
  const appendScrollHeight = ref(0);
28
+ let isUnmounted = false;
29
+ let layoutFrame = null;
30
+ let syncFrame = null;
31
+ const stopFns = [];
28
32
  watch(() => props.height, (value) => {
29
33
  layout.setHeight(value ?? null);
30
34
  }, { immediate: true });
@@ -59,16 +63,24 @@ function useStyle(props, layout, store, table) {
59
63
  return { width: layout.bodyWidth.value ? `${layout.bodyWidth.value}px` : "" };
60
64
  });
61
65
  const doLayout = () => {
66
+ if (isUnmounted) return;
62
67
  if (shouldUpdateHeight.value) layout.updateElsHeight();
63
68
  layout.updateColumnsWidth();
64
69
  if (typeof window === "undefined") return;
65
- requestAnimationFrame(syncPosition);
70
+ if (syncFrame === null) syncFrame = requestAnimationFrame(() => {
71
+ syncFrame = null;
72
+ if (!isUnmounted) syncPosition();
73
+ });
66
74
  };
67
75
  onMounted(async () => {
68
76
  await nextTick();
77
+ if (isUnmounted) return;
69
78
  store.updateColumns();
70
79
  bindEvents();
71
- requestAnimationFrame(doLayout);
80
+ layoutFrame = requestAnimationFrame(() => {
81
+ layoutFrame = null;
82
+ doLayout();
83
+ });
72
84
  const el = table.vnode.el;
73
85
  const tableHeader = table.refs.headerWrapper;
74
86
  if (props.flexible && el && el.parentElement) el.parentElement.style.minWidth = "0";
@@ -118,18 +130,21 @@ function useStyle(props, layout, store, table) {
118
130
  else setScrollClass("is-scrolling-middle");
119
131
  };
120
132
  const bindEvents = () => {
121
- if (!table.refs.scrollBarRef) return;
122
- if (table.refs.scrollBarRef.wrapRef) useEventListener(table.refs.scrollBarRef.wrapRef, "scroll", syncPosition, { passive: true });
123
- if (props.fit) useResizeObserver(table.vnode.el, resizeListener);
124
- else useEventListener(window, "resize", resizeListener);
125
- useResizeObserver(table.refs.tableInnerWrapper, () => {
133
+ if (isUnmounted || !table.refs.scrollBarRef) return;
134
+ if (table.refs.scrollBarRef.wrapRef) stopFns.push(useEventListener(table.refs.scrollBarRef.wrapRef, "scroll", syncPosition, { passive: true }));
135
+ if (props.fit) {
136
+ const { stop } = useResizeObserver(table.vnode.el, resizeListener);
137
+ stopFns.push(stop);
138
+ } else stopFns.push(useEventListener(window, "resize", resizeListener));
139
+ const { stop } = useResizeObserver(table.refs.tableInnerWrapper, () => {
126
140
  resizeListener();
127
141
  table.refs?.scrollBarRef?.update();
128
142
  });
143
+ stopFns.push(stop);
129
144
  };
130
145
  const resizeListener = () => {
131
146
  const el = table.vnode.el;
132
- if (!table.$ready || !el) return;
147
+ if (isUnmounted || !table.$ready || !el) return;
133
148
  let shouldUpdateLayout = false;
134
149
  const { width: oldWidth, height: oldHeight, headerHeight: oldHeaderHeight } = resizeState.value;
135
150
  const width = tableWidth.value = el.offsetWidth;
@@ -161,6 +176,28 @@ function useStyle(props, layout, store, table) {
161
176
  if (props.maxHeight) return "fixed";
162
177
  return props.tableLayout;
163
178
  });
179
+ const emptyBlockStyle = computed(() => {
180
+ if (props.data && props.data.length) return;
181
+ let height = "100%";
182
+ if (props.height && bodyScrollHeight.value) height = `${bodyScrollHeight.value}px`;
183
+ const width = tableWidth.value;
184
+ return {
185
+ width: width ? `${width}px` : "",
186
+ height
187
+ };
188
+ });
189
+ onBeforeUnmount(() => {
190
+ isUnmounted = true;
191
+ if (layoutFrame !== null) {
192
+ cancelAnimationFrame(layoutFrame);
193
+ layoutFrame = null;
194
+ }
195
+ if (syncFrame !== null) {
196
+ cancelAnimationFrame(syncFrame);
197
+ syncFrame = null;
198
+ }
199
+ stopFns.forEach((stop) => stop());
200
+ });
164
201
  return {
165
202
  isHidden,
166
203
  renderExpanded,
@@ -169,16 +206,7 @@ function useStyle(props, layout, store, table) {
169
206
  handleMouseLeave,
170
207
  handleHeaderFooterMousewheel,
171
208
  tableSize,
172
- emptyBlockStyle: computed(() => {
173
- if (props.data && props.data.length) return;
174
- let height = "100%";
175
- if (props.height && bodyScrollHeight.value) height = `${bodyScrollHeight.value}px`;
176
- const width = tableWidth.value;
177
- return {
178
- width: width ? `${width}px` : "",
179
- height
180
- };
181
- }),
209
+ emptyBlockStyle,
182
210
  resizeProxyVisible,
183
211
  bodyWidth,
184
212
  resizeState,
@@ -1 +1 @@
1
- {"version":3,"file":"style-helper.mjs","names":[],"sources":["../../../../../../../packages/components/table/src/table/style-helper.ts"],"sourcesContent":["import {\n computed,\n nextTick,\n onMounted,\n ref,\n unref,\n watch,\n watchEffect,\n} from 'vue'\nimport { useEventListener, useResizeObserver } from '@vueuse/core'\nimport { useFormSize } from '@element-plus/components/form'\n\nimport type { DefaultRow, RenderExpanded, Table, TableProps } from './defaults'\nimport type { Store } from '../store'\nimport type TableLayout from '../table-layout'\nimport type { TableColumnCtx } from '../table-column/defaults'\n\nfunction useStyle<T extends DefaultRow>(\n props: TableProps<T>,\n layout: TableLayout<T>,\n store: Store<T>,\n table: Table<T>\n) {\n const isHidden = ref(false)\n const renderExpanded = ref<RenderExpanded<T> | null>(null)\n const resizeProxyVisible = ref(false)\n const setDragVisible = (visible: boolean) => {\n resizeProxyVisible.value = visible\n }\n const resizeState = ref<{\n width: null | number\n height: null | number\n headerHeight: null | number\n }>({\n width: null,\n height: null,\n headerHeight: null,\n })\n const isGroup = ref(false)\n const scrollbarViewStyle = {\n display: 'inline-block',\n verticalAlign: 'middle',\n }\n const tableWidth = ref()\n const tableScrollHeight = ref(0)\n const bodyScrollHeight = ref(0)\n const headerScrollHeight = ref(0)\n const footerScrollHeight = ref(0)\n const appendScrollHeight = ref(0)\n\n watch(\n () => props.height,\n (value) => {\n layout.setHeight(value ?? null)\n },\n { immediate: true }\n )\n watch(\n () => props.maxHeight,\n (value) => {\n layout.setMaxHeight(value ?? null)\n },\n { immediate: true }\n )\n watch(\n () => [props.currentRowKey, store.states.rowKey],\n ([currentRowKey, rowKey]) => {\n if (!unref(rowKey) || !unref(currentRowKey)) return\n store.setCurrentRowKey(`${currentRowKey}`)\n },\n {\n immediate: true,\n }\n )\n watch(\n () => props.data,\n (data) => {\n table.store.commit('setData', data)\n },\n {\n immediate: true,\n deep: true,\n }\n )\n watchEffect(() => {\n if (props.expandRowKeys) {\n store.setExpandRowKeysAdapter(props.expandRowKeys)\n }\n })\n\n const handleMouseLeave = () => {\n table.store.commit('setHoverRow', null)\n if (table.hoverState) table.hoverState = null\n }\n\n const handleHeaderFooterMousewheel = (_event: WheelEvent, data: any) => {\n const { pixelX, pixelY } = data\n if (Math.abs(pixelX) >= Math.abs(pixelY)) {\n table.refs.bodyWrapper.scrollLeft += data.pixelX / 5\n }\n }\n\n const shouldUpdateHeight = computed(() => {\n return (\n props.height ||\n props.maxHeight ||\n store.states.fixedColumns.value.length > 0 ||\n store.states.rightFixedColumns.value.length > 0\n )\n })\n\n const tableBodyStyles = computed(() => {\n return {\n width: layout.bodyWidth.value ? `${layout.bodyWidth.value}px` : '',\n }\n })\n\n const doLayout = () => {\n if (shouldUpdateHeight.value) {\n layout.updateElsHeight()\n }\n layout.updateColumnsWidth()\n\n // When the test case is running, the context environment simulated by jsdom may have been destroyed,\n // and window.requestAnimationFrame does not exist at this time.\n if (typeof window === 'undefined') return\n requestAnimationFrame(syncPosition)\n }\n onMounted(async () => {\n await nextTick()\n store.updateColumns()\n bindEvents()\n requestAnimationFrame(doLayout)\n\n const el: HTMLElement = table.vnode.el as HTMLElement\n const tableHeader: HTMLElement = table.refs.headerWrapper\n if (props.flexible && el && el.parentElement) {\n // Automatic minimum size of flex-items\n // Ensure that the main axis does not follow the width of the items\n el.parentElement.style.minWidth = '0'\n }\n\n resizeState.value = {\n width: (tableWidth.value = el.offsetWidth),\n height: el.offsetHeight,\n headerHeight:\n props.showHeader && tableHeader ? tableHeader.offsetHeight : null,\n }\n\n // init filters\n store.states.columns.value.forEach((column: TableColumnCtx<T>) => {\n if (column.filteredValue && column.filteredValue.length) {\n table.store.commit('filterChange', {\n column,\n values: column.filteredValue,\n silent: true,\n })\n }\n })\n table.$ready = true\n })\n const setScrollClassByEl = (el: HTMLElement, className: string) => {\n if (!el) return\n const classList = Array.from(el.classList).filter(\n (item) => !item.startsWith('is-scrolling-')\n )\n classList.push(layout.scrollX.value ? className : 'is-scrolling-none')\n el.className = classList.join(' ')\n }\n const setScrollClass = (className: string) => {\n const { tableWrapper } = table.refs\n setScrollClassByEl(tableWrapper, className)\n }\n const hasScrollClass = (className: string) => {\n const { tableWrapper } = table.refs\n return !!(tableWrapper && tableWrapper.classList.contains(className))\n }\n const syncPosition = function () {\n if (!table.refs.scrollBarRef) return\n if (!layout.scrollX.value) {\n const scrollingNoneClass = 'is-scrolling-none'\n if (!hasScrollClass(scrollingNoneClass)) {\n setScrollClass(scrollingNoneClass)\n }\n return\n }\n const scrollContainer = table.refs.scrollBarRef.wrapRef\n if (!scrollContainer) return\n const { scrollLeft, offsetWidth, scrollWidth } = scrollContainer\n const { headerWrapper, footerWrapper } = table.refs\n if (headerWrapper) headerWrapper.scrollLeft = scrollLeft\n if (footerWrapper) footerWrapper.scrollLeft = scrollLeft\n const maxScrollLeftPosition = scrollWidth - offsetWidth - 1\n if (scrollLeft >= maxScrollLeftPosition) {\n setScrollClass('is-scrolling-right')\n } else if (scrollLeft === 0) {\n setScrollClass('is-scrolling-left')\n } else {\n setScrollClass('is-scrolling-middle')\n }\n }\n\n const bindEvents = () => {\n if (!table.refs.scrollBarRef) return\n if (table.refs.scrollBarRef.wrapRef) {\n useEventListener(\n table.refs.scrollBarRef.wrapRef,\n 'scroll',\n syncPosition,\n {\n passive: true,\n }\n )\n }\n if (props.fit) {\n useResizeObserver(table.vnode.el as HTMLElement, resizeListener)\n } else {\n useEventListener(window, 'resize', resizeListener)\n }\n\n useResizeObserver(table.refs.tableInnerWrapper, () => {\n resizeListener()\n table.refs?.scrollBarRef?.update()\n })\n }\n const resizeListener = () => {\n const el = table.vnode.el\n if (!table.$ready || !el) return\n\n let shouldUpdateLayout = false\n const {\n width: oldWidth,\n height: oldHeight,\n headerHeight: oldHeaderHeight,\n } = resizeState.value\n\n const width = (tableWidth.value = el.offsetWidth)\n if (oldWidth !== width) {\n shouldUpdateLayout = true\n }\n\n const height = el.offsetHeight\n if ((props.height || shouldUpdateHeight.value) && oldHeight !== height) {\n shouldUpdateLayout = true\n }\n\n const tableHeader: HTMLElement =\n props.tableLayout === 'fixed'\n ? table.refs.headerWrapper\n : table.refs.tableHeaderRef?.$el\n if (props.showHeader && tableHeader?.offsetHeight !== oldHeaderHeight) {\n shouldUpdateLayout = true\n }\n\n tableScrollHeight.value = table.refs.tableWrapper?.scrollHeight || 0\n headerScrollHeight.value = tableHeader?.scrollHeight || 0\n footerScrollHeight.value = table.refs.footerWrapper?.offsetHeight || 0\n appendScrollHeight.value = table.refs.appendWrapper?.offsetHeight || 0\n bodyScrollHeight.value =\n tableScrollHeight.value -\n headerScrollHeight.value -\n footerScrollHeight.value -\n appendScrollHeight.value\n\n if (shouldUpdateLayout) {\n resizeState.value = {\n width,\n height,\n headerHeight: (props.showHeader && tableHeader?.offsetHeight) || 0,\n }\n doLayout()\n }\n }\n const tableSize = useFormSize()\n const bodyWidth = computed(() => {\n const { bodyWidth: bodyWidth_, scrollY, gutterWidth } = layout\n return bodyWidth_.value\n ? `${(bodyWidth_.value as number) - (scrollY.value ? gutterWidth : 0)}px`\n : ''\n })\n\n const tableLayout = computed(() => {\n if (props.maxHeight) return 'fixed'\n return props.tableLayout!\n })\n\n const emptyBlockStyle = computed(() => {\n if (props.data && props.data.length) return\n let height = '100%'\n if (props.height && bodyScrollHeight.value) {\n height = `${bodyScrollHeight.value}px`\n }\n const width = tableWidth.value\n return {\n width: width ? `${width}px` : '',\n height,\n }\n })\n\n const scrollbarStyle = computed(() => {\n if (props.height) {\n return {\n height: '100%',\n }\n }\n if (props.maxHeight) {\n if (!Number.isNaN(Number(props.maxHeight))) {\n return {\n maxHeight: `${\n +props.maxHeight -\n headerScrollHeight.value -\n footerScrollHeight.value\n }px`,\n }\n } else {\n return {\n maxHeight: `calc(${props.maxHeight} - ${\n headerScrollHeight.value + footerScrollHeight.value\n }px)`,\n }\n }\n }\n\n return {}\n })\n\n return {\n isHidden,\n renderExpanded,\n setDragVisible,\n isGroup,\n handleMouseLeave,\n handleHeaderFooterMousewheel,\n tableSize,\n emptyBlockStyle,\n resizeProxyVisible,\n bodyWidth,\n resizeState,\n doLayout,\n tableBodyStyles,\n tableLayout,\n scrollbarViewStyle,\n scrollbarStyle,\n }\n}\n\nexport default useStyle\n"],"mappings":";;;;AAiBA,SAAS,SACP,OACA,QACA,OACA,OACA;CACA,MAAM,WAAW,IAAI,KAAK;CAC1B,MAAM,iBAAiB,IAA8B,IAAI;CACzD,MAAM,qBAAqB,IAAI,KAAK;CACpC,MAAM,kBAAkB,YAAqB;EAC3C,mBAAmB,QAAQ;CAC7B;CACA,MAAM,cAAc,IAIjB;EACD,OAAO;EACP,QAAQ;EACR,cAAc;CAChB,CAAC;CACD,MAAM,UAAU,IAAI,KAAK;CACzB,MAAM,qBAAqB;EACzB,SAAS;EACT,eAAe;CACjB;CACA,MAAM,aAAa,IAAI;CACvB,MAAM,oBAAoB,IAAI,CAAC;CAC/B,MAAM,mBAAmB,IAAI,CAAC;CAC9B,MAAM,qBAAq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AACF"}
1
+ {"version":3,"file":"style-helper.mjs","names":[],"sources":["../../../../../../../packages/components/table/src/table/style-helper.ts"],"sourcesContent":["import {\n computed,\n nextTick,\n onBeforeUnmount,\n onMounted,\n ref,\n unref,\n watch,\n watchEffect,\n} from 'vue'\nimport { useEventListener, useResizeObserver } from '@vueuse/core'\nimport { useFormSize } from '@element-plus/components/form'\n\nimport type { DefaultRow, RenderExpanded, Table, TableProps } from './defaults'\nimport type { Store } from '../store'\nimport type TableLayout from '../table-layout'\nimport type { TableColumnCtx } from '../table-column/defaults'\n\nfunction useStyle<T extends DefaultRow>(\n props: TableProps<T>,\n layout: TableLayout<T>,\n store: Store<T>,\n table: Table<T>\n) {\n const isHidden = ref(false)\n const renderExpanded = ref<RenderExpanded<T> | null>(null)\n const resizeProxyVisible = ref(false)\n const setDragVisible = (visible: boolean) => {\n resizeProxyVisible.value = visible\n }\n const resizeState = ref<{\n width: null | number\n height: null | number\n headerHeight: null | number\n }>({\n width: null,\n height: null,\n headerHeight: null,\n })\n const isGroup = ref(false)\n const scrollbarViewStyle = {\n display: 'inline-block',\n verticalAlign: 'middle',\n }\n const tableWidth = ref()\n const tableScrollHeight = ref(0)\n const bodyScrollHeight = ref(0)\n const headerScrollHeight = ref(0)\n const footerScrollHeight = ref(0)\n const appendScrollHeight = ref(0)\n let isUnmounted = false\n let layoutFrame: number | null = null\n let syncFrame: number | null = null\n const stopFns: Array<() => void> = []\n\n watch(\n () => props.height,\n (value) => {\n layout.setHeight(value ?? null)\n },\n { immediate: true }\n )\n watch(\n () => props.maxHeight,\n (value) => {\n layout.setMaxHeight(value ?? null)\n },\n { immediate: true }\n )\n watch(\n () => [props.currentRowKey, store.states.rowKey],\n ([currentRowKey, rowKey]) => {\n if (!unref(rowKey) || !unref(currentRowKey)) return\n store.setCurrentRowKey(`${currentRowKey}`)\n },\n {\n immediate: true,\n }\n )\n watch(\n () => props.data,\n (data) => {\n table.store.commit('setData', data)\n },\n {\n immediate: true,\n deep: true,\n }\n )\n watchEffect(() => {\n if (props.expandRowKeys) {\n store.setExpandRowKeysAdapter(props.expandRowKeys)\n }\n })\n\n const handleMouseLeave = () => {\n table.store.commit('setHoverRow', null)\n if (table.hoverState) table.hoverState = null\n }\n\n const handleHeaderFooterMousewheel = (_event: WheelEvent, data: any) => {\n const { pixelX, pixelY } = data\n if (Math.abs(pixelX) >= Math.abs(pixelY)) {\n table.refs.bodyWrapper.scrollLeft += data.pixelX / 5\n }\n }\n\n const shouldUpdateHeight = computed(() => {\n return (\n props.height ||\n props.maxHeight ||\n store.states.fixedColumns.value.length > 0 ||\n store.states.rightFixedColumns.value.length > 0\n )\n })\n\n const tableBodyStyles = computed(() => {\n return {\n width: layout.bodyWidth.value ? `${layout.bodyWidth.value}px` : '',\n }\n })\n\n const doLayout = () => {\n if (isUnmounted) return\n if (shouldUpdateHeight.value) {\n layout.updateElsHeight()\n }\n layout.updateColumnsWidth()\n\n // When the test case is running, the context environment simulated by jsdom may have been destroyed,\n // and window.requestAnimationFrame does not exist at this time.\n if (typeof window === 'undefined') return\n if (syncFrame === null) {\n syncFrame = requestAnimationFrame(() => {\n syncFrame = null\n if (!isUnmounted) syncPosition()\n })\n }\n }\n onMounted(async () => {\n await nextTick()\n if (isUnmounted) return\n store.updateColumns()\n bindEvents()\n layoutFrame = requestAnimationFrame(() => {\n layoutFrame = null\n doLayout()\n })\n\n const el: HTMLElement = table.vnode.el as HTMLElement\n const tableHeader: HTMLElement = table.refs.headerWrapper\n if (props.flexible && el && el.parentElement) {\n // Automatic minimum size of flex-items\n // Ensure that the main axis does not follow the width of the items\n el.parentElement.style.minWidth = '0'\n }\n\n resizeState.value = {\n width: (tableWidth.value = el.offsetWidth),\n height: el.offsetHeight,\n headerHeight:\n props.showHeader && tableHeader ? tableHeader.offsetHeight : null,\n }\n\n // init filters\n store.states.columns.value.forEach((column: TableColumnCtx<T>) => {\n if (column.filteredValue && column.filteredValue.length) {\n table.store.commit('filterChange', {\n column,\n values: column.filteredValue,\n silent: true,\n })\n }\n })\n table.$ready = true\n })\n const setScrollClassByEl = (el: HTMLElement, className: string) => {\n if (!el) return\n const classList = Array.from(el.classList).filter(\n (item) => !item.startsWith('is-scrolling-')\n )\n classList.push(layout.scrollX.value ? className : 'is-scrolling-none')\n el.className = classList.join(' ')\n }\n const setScrollClass = (className: string) => {\n const { tableWrapper } = table.refs\n setScrollClassByEl(tableWrapper, className)\n }\n const hasScrollClass = (className: string) => {\n const { tableWrapper } = table.refs\n return !!(tableWrapper && tableWrapper.classList.contains(className))\n }\n const syncPosition = function () {\n if (!table.refs.scrollBarRef) return\n if (!layout.scrollX.value) {\n const scrollingNoneClass = 'is-scrolling-none'\n if (!hasScrollClass(scrollingNoneClass)) {\n setScrollClass(scrollingNoneClass)\n }\n return\n }\n const scrollContainer = table.refs.scrollBarRef.wrapRef\n if (!scrollContainer) return\n const { scrollLeft, offsetWidth, scrollWidth } = scrollContainer\n const { headerWrapper, footerWrapper } = table.refs\n if (headerWrapper) headerWrapper.scrollLeft = scrollLeft\n if (footerWrapper) footerWrapper.scrollLeft = scrollLeft\n const maxScrollLeftPosition = scrollWidth - offsetWidth - 1\n if (scrollLeft >= maxScrollLeftPosition) {\n setScrollClass('is-scrolling-right')\n } else if (scrollLeft === 0) {\n setScrollClass('is-scrolling-left')\n } else {\n setScrollClass('is-scrolling-middle')\n }\n }\n\n const bindEvents = () => {\n if (isUnmounted || !table.refs.scrollBarRef) return\n if (table.refs.scrollBarRef.wrapRef) {\n stopFns.push(\n useEventListener(\n table.refs.scrollBarRef.wrapRef,\n 'scroll',\n syncPosition,\n {\n passive: true,\n }\n )\n )\n }\n if (props.fit) {\n const { stop } = useResizeObserver(\n table.vnode.el as HTMLElement,\n resizeListener\n )\n stopFns.push(stop)\n } else {\n stopFns.push(useEventListener(window, 'resize', resizeListener))\n }\n\n const { stop } = useResizeObserver(table.refs.tableInnerWrapper, () => {\n resizeListener()\n table.refs?.scrollBarRef?.update()\n })\n stopFns.push(stop)\n }\n const resizeListener = () => {\n const el = table.vnode.el\n if (isUnmounted || !table.$ready || !el) return\n\n let shouldUpdateLayout = false\n const {\n width: oldWidth,\n height: oldHeight,\n headerHeight: oldHeaderHeight,\n } = resizeState.value\n\n const width = (tableWidth.value = el.offsetWidth)\n if (oldWidth !== width) {\n shouldUpdateLayout = true\n }\n\n const height = el.offsetHeight\n if ((props.height || shouldUpdateHeight.value) && oldHeight !== height) {\n shouldUpdateLayout = true\n }\n\n const tableHeader: HTMLElement =\n props.tableLayout === 'fixed'\n ? table.refs.headerWrapper\n : table.refs.tableHeaderRef?.$el\n if (props.showHeader && tableHeader?.offsetHeight !== oldHeaderHeight) {\n shouldUpdateLayout = true\n }\n\n tableScrollHeight.value = table.refs.tableWrapper?.scrollHeight || 0\n headerScrollHeight.value = tableHeader?.scrollHeight || 0\n footerScrollHeight.value = table.refs.footerWrapper?.offsetHeight || 0\n appendScrollHeight.value = table.refs.appendWrapper?.offsetHeight || 0\n bodyScrollHeight.value =\n tableScrollHeight.value -\n headerScrollHeight.value -\n footerScrollHeight.value -\n appendScrollHeight.value\n\n if (shouldUpdateLayout) {\n resizeState.value = {\n width,\n height,\n headerHeight: (props.showHeader && tableHeader?.offsetHeight) || 0,\n }\n doLayout()\n }\n }\n const tableSize = useFormSize()\n const bodyWidth = computed(() => {\n const { bodyWidth: bodyWidth_, scrollY, gutterWidth } = layout\n return bodyWidth_.value\n ? `${(bodyWidth_.value as number) - (scrollY.value ? gutterWidth : 0)}px`\n : ''\n })\n\n const tableLayout = computed(() => {\n if (props.maxHeight) return 'fixed'\n return props.tableLayout!\n })\n\n const emptyBlockStyle = computed(() => {\n if (props.data && props.data.length) return\n let height = '100%'\n if (props.height && bodyScrollHeight.value) {\n height = `${bodyScrollHeight.value}px`\n }\n const width = tableWidth.value\n return {\n width: width ? `${width}px` : '',\n height,\n }\n })\n\n onBeforeUnmount(() => {\n isUnmounted = true\n if (layoutFrame !== null) {\n cancelAnimationFrame(layoutFrame)\n layoutFrame = null\n }\n if (syncFrame !== null) {\n cancelAnimationFrame(syncFrame)\n syncFrame = null\n }\n stopFns.forEach((stop) => stop())\n })\n\n const scrollbarStyle = computed(() => {\n if (props.height) {\n return {\n height: '100%',\n }\n }\n if (props.maxHeight) {\n if (!Number.isNaN(Number(props.maxHeight))) {\n return {\n maxHeight: `${\n +props.maxHeight -\n headerScrollHeight.value -\n footerScrollHeight.value\n }px`,\n }\n } else {\n return {\n maxHeight: `calc(${props.maxHeight} - ${\n headerScrollHeight.value + footerScrollHeight.value\n }px)`,\n }\n }\n }\n\n return {}\n })\n\n return {\n isHidden,\n renderExpanded,\n setDragVisible,\n isGroup,\n handleMouseLeave,\n handleHeaderFooterMousewheel,\n tableSize,\n emptyBlockStyle,\n resizeProxyVisible,\n bodyWidth,\n resizeState,\n doLayout,\n tableBodyStyles,\n tableLayout,\n scrollbarViewStyle,\n scrollbarStyle,\n }\n}\n\nexport default useStyle\n"],"mappings":";;;;AAkBA,SAAS,SACP,OACA,QACA,OACA,OACA;CACA,MAAM,WAAW,IAAI,KAAK;CAC1B,MAAM,iBAAiB,IAA8B,IAAI;CACzD,MAAM,qBAAqB,IAAI,KAAK;CACpC,MAAM,kBAAkB,YAAqB;EAC3C,mBAAmB,QAAQ;CAC7B;CACA,MAAM,cAAc,IAIjB;EACD,OAAO;EACP,QAAQ;EACR,cAAc;CAChB,CAAC;CACD,MAAM,UAAU,IAAI,KAAK;CACzB,MAAM,qBAAqB;EACzB,SAAS;EACT,eAAe;CACjB;CACA,MAAM,aAAa,IAAI;CACvB,MAAM,oBAAoB,IAAI,CAAC;CAC/B,MAAM,mBAAmB,IAAI,CAAC;CAC9B,MAAM,qBAAqB,IAAI,CAAC;CAChC,MAAM,qBAAqB,IAAI,CAAC;CAChC,MAAM,qBAAqB,IAAI,CAAC;CAChC,IAAI,cAAc;CAClB,IAAI,cAA6B;CACjC,IAAI,YAA2B;CAC/B,MAAM,UAA6B,CAAC;CAEpC,YACQ,MAAM,SACX,UAAU;EACT,OAAO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EACA;EACA;EACA;EACA,gBA3CqB,eAAe;GACpC,IAAI,MAAM,QACR,OAAO,EACL,QAAQ,OACV;GAEF,IAAI,MAAM,WAAW;IACnB,IAAI,CAAC,OAAO,MAAM,OAAO,MAAM,SAAS,CAAC,GACvC,OAAO,EACL,WAAW,GACT,CAAC,MAAM,YACP,mBAAmB,QACnB,mBAAmB,MACpB,IACH;SAEA,OAAO,EACL,WAAW,QAAQ,MAAM,UAAU,KACjC,mBAAmB,QAAQ,mBAAmB,MAC/C,KACH;GAEJ;GAEA,OAAO,CAAC;EACV,CAkBe;CACf;AACF"}
@@ -1,10 +1,12 @@
1
1
  import * as _$vue from "vue";
2
2
 
3
3
  //#region ../../packages/components/table/src/table-body/td-wrapper.vue.d.ts
4
- declare var __VLS_1: {};
5
- type __VLS_Slots = {} & {
6
- default?: (props: typeof __VLS_1) => any;
4
+ declare const __VLS_template: () => {
5
+ __VLS_Slots: {
6
+ default?: (props: {}) => any;
7
+ };
7
8
  };
9
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
8
10
  declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
9
11
  colspan: {
10
12
  type: NumberConstructor;
@@ -231,14 +231,14 @@ declare const tableColumnProps: {
231
231
  * @description column width
232
232
  */
233
233
  width: {
234
- type: (StringConstructor | NumberConstructor)[];
234
+ type: (NumberConstructor | StringConstructor)[];
235
235
  default: string;
236
236
  };
237
237
  /**
238
238
  * @description column minimum width. Columns with `width` has a fixed width, while columns with `min-width` has a width that is distributed in proportion
239
239
  */
240
240
  minWidth: {
241
- type: (StringConstructor | NumberConstructor)[];
241
+ type: (NumberConstructor | StringConstructor)[];
242
242
  default: string;
243
243
  };
244
244
  /**
@@ -249,7 +249,7 @@ declare const tableColumnProps: {
249
249
  * @description whether column can be sorted. Remote sorting can be done by setting this attribute to 'custom' and listening to the `sort-change` event of Table
250
250
  */
251
251
  sortable: {
252
- type: (StringConstructor | BooleanConstructor)[];
252
+ type: (BooleanConstructor | StringConstructor)[];
253
253
  default: boolean;
254
254
  };
255
255
  /**
@@ -293,7 +293,7 @@ declare const tableColumnProps: {
293
293
  /**
294
294
  * @description whether column is fixed at left / right. Will be fixed at left if `true`
295
295
  */
296
- fixed: (StringConstructor | BooleanConstructor)[];
296
+ fixed: (BooleanConstructor | StringConstructor)[];
297
297
  /**
298
298
  * @description function that formats cell content
299
299
  */
@@ -77,8 +77,8 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
77
77
  };
78
78
  };
79
79
  }>> & Readonly<{}>, {
80
- border: boolean;
81
80
  fixed: string;
81
+ border: boolean;
82
82
  defaultSort: Sort;
83
83
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
84
84
  //#endregion
@@ -112,26 +112,26 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
112
112
  type: BooleanConstructor;
113
113
  };
114
114
  }>> & Readonly<{}>, {
115
- border: boolean;
116
115
  fixed: string;
116
+ border: boolean;
117
117
  defaultSort: Sort;
118
118
  allowDragLastColumn: boolean;
119
119
  }, {}, {
120
120
  ElCheckbox: {
121
121
  new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<CheckboxProps> & Readonly<{
122
- "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
123
122
  onChange?: ((val: CheckboxValueType) => any) | undefined;
123
+ "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
124
124
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
125
- "update:modelValue": (val: CheckboxValueType) => void;
126
125
  change: (val: CheckboxValueType) => void;
126
+ "update:modelValue": (val: CheckboxValueType) => void;
127
127
  }, _$vue.PublicProps, {
128
+ id: string;
128
129
  disabled: boolean;
129
130
  modelValue: string | number | boolean;
131
+ validateEvent: boolean;
130
132
  name: string;
131
- label: string | number | boolean | object;
132
133
  value: string | number | boolean | object;
133
- id: string;
134
- validateEvent: boolean;
134
+ label: string | number | boolean | object;
135
135
  trueValue: string | number;
136
136
  falseValue: string | number;
137
137
  trueLabel: string | number;
@@ -144,16 +144,16 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
144
144
  M: {};
145
145
  Defaults: {};
146
146
  }, Readonly<CheckboxProps> & Readonly<{
147
- "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
148
147
  onChange?: ((val: CheckboxValueType) => any) | undefined;
148
+ "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
149
149
  }>, {}, {}, {}, {}, {
150
+ id: string;
150
151
  disabled: boolean;
151
152
  modelValue: string | number | boolean;
153
+ validateEvent: boolean;
152
154
  name: string;
153
- label: string | number | boolean | object;
154
155
  value: string | number | boolean | object;
155
- id: string;
156
- validateEvent: boolean;
156
+ label: string | number | boolean | object;
157
157
  trueValue: string | number;
158
158
  falseValue: string | number;
159
159
  trueLabel: string | number;
@@ -163,19 +163,19 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
163
163
  __isTeleport?: never;
164
164
  __isSuspense?: never;
165
165
  } & _$vue.ComponentOptionsBase<Readonly<CheckboxProps> & Readonly<{
166
- "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
167
166
  onChange?: ((val: CheckboxValueType) => any) | undefined;
167
+ "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
168
168
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
169
- "update:modelValue": (val: CheckboxValueType) => void;
170
169
  change: (val: CheckboxValueType) => void;
170
+ "update:modelValue": (val: CheckboxValueType) => void;
171
171
  }, string, {
172
+ id: string;
172
173
  disabled: boolean;
173
174
  modelValue: string | number | boolean;
175
+ validateEvent: boolean;
174
176
  name: string;
175
- label: string | number | boolean | object;
176
177
  value: string | number | boolean | object;
177
- id: string;
178
- validateEvent: boolean;
178
+ label: string | number | boolean | object;
179
179
  trueValue: string | number;
180
180
  falseValue: string | number;
181
181
  trueLabel: string | number;
@@ -11,12 +11,13 @@ import * as _$lodash_unified0 from "lodash-unified";
11
11
  //#region ../../packages/components/table/src/table.vue.d.ts
12
12
  declare const __VLS_export: <T extends DefaultRow = DefaultRow>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
13
13
  props: _$vue.PublicProps & __VLS_PrettifyLocal<TableProps<T> & {
14
+ onSelect?: ((selection: T[], row: T) => any) | undefined;
14
15
  onScroll?: ((data: {
15
16
  scrollLeft: number;
16
17
  scrollTop: number;
17
18
  }) => any) | undefined;
18
- onSelect?: ((selection: T[], row: T) => any) | undefined;
19
19
  "onSelect-all"?: ((selection: T[]) => any) | undefined;
20
+ "onExpand-change"?: ((row: T, expanded: boolean) => any) | undefined;
20
21
  "onCurrent-change"?: ((currentRow: T | null, oldCurrentRow: T | null) => any) | undefined;
21
22
  "onSelection-change"?: ((newSelection: T[]) => any) | undefined;
22
23
  "onCell-mouse-enter"?: ((row: T, column: TableColumnCtx<T>, cell: HTMLTableCellElement, event: MouseEvent) => any) | undefined;
@@ -36,7 +37,6 @@ declare const __VLS_export: <T extends DefaultRow = DefaultRow>(__VLS_props: Non
36
37
  }) => any) | undefined;
37
38
  "onFilter-change"?: ((newFilters: Record<string, string[]>) => any) | undefined;
38
39
  "onHeader-dragend"?: ((newWidth: number, oldWidth: number, column: TableColumnCtx<T>, event: MouseEvent) => any) | undefined;
39
- "onExpand-change"?: ((row: T, expanded: boolean) => any) | undefined;
40
40
  }> & (typeof globalThis extends {
41
41
  __VLS_PROPS_FALLBACK: infer P;
42
42
  } ? P : {});
@@ -693,8 +693,8 @@ declare const __VLS_export: <T extends DefaultRow = DefaultRow>(__VLS_props: Non
693
693
  computedSumText: _$vue.ComputedRef<string>;
694
694
  computedEmptyText: _$vue.ComputedRef<string>;
695
695
  computedTooltipEffect: _$vue.ComputedRef<string | undefined>;
696
- computedTooltipOptions: _$vue.ComputedRef<Partial<Omit<UseTooltipProps, "visible" | "referenceEl" | "triggerTargetEl" | "virtualTriggering" | "content" | "rawContent" | "persistent" | "autoClose" | "virtualRef">> | undefined>;
697
- tableLayout: _$vue.ComputedRef<"auto" | "fixed">;
696
+ computedTooltipOptions: _$vue.ComputedRef<Partial<Omit<UseTooltipProps, "visible" | "content" | "referenceEl" | "triggerTargetEl" | "virtualTriggering" | "rawContent" | "persistent" | "autoClose" | "virtualRef">> | undefined>;
697
+ tableLayout: _$vue.ComputedRef<"fixed" | "auto">;
698
698
  scrollbarViewStyle: {
699
699
  display: string;
700
700
  verticalAlign: string;
@@ -142,9 +142,9 @@ declare const TableV2Row: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
142
142
  __epPropKey: true;
143
143
  };
144
144
  }>> & Readonly<{}>, {
145
+ readonly isScrolling: boolean;
145
146
  readonly rowKey: EpPropMergeType<(new (...args: any[]) => string | number | symbol) | (() => KeyType) | (((new (...args: any[]) => string | number | symbol) | (() => KeyType)) | null)[], unknown, unknown>;
146
147
  readonly estimatedRowHeight: number;
147
- readonly isScrolling: boolean;
148
148
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
149
149
  type TableV2RowCellRenderParam = {
150
150
  column: TableV2RowProps['columns'][number];
@@ -198,14 +198,14 @@ declare const TableGrid: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
198
198
  __epPropKey: true;
199
199
  };
200
200
  }>> & Readonly<{}>, {
201
+ readonly useIsScrolling: boolean;
201
202
  readonly scrollbarAlwaysOn: boolean;
203
+ readonly cache: number;
202
204
  readonly rowKey: EpPropMergeType<(new (...args: any[]) => string | number | symbol) | (() => KeyType) | (((new (...args: any[]) => string | number | symbol) | (() => KeyType)) | null)[], unknown, unknown>;
203
205
  readonly headerHeight: EpPropMergeType<(new (...args: any[]) => number | number[]) | (() => number | number[]) | (((new (...args: any[]) => number | number[]) | (() => number | number[])) | null)[], unknown, unknown>;
204
206
  readonly estimatedRowHeight: number;
205
- readonly useIsScrolling: boolean;
206
207
  readonly scrollbarStartGap: number;
207
208
  readonly scrollbarEndGap: number;
208
- readonly cache: number;
209
209
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
210
210
  type TableGridRowSlotParams = {
211
211
  columns: TableV2GridProps['columns'];
@@ -324,16 +324,16 @@ declare const TableV2: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
324
324
  };
325
325
  }>> & Readonly<{}>, {
326
326
  readonly fixed: boolean;
327
+ readonly useIsScrolling: boolean;
327
328
  readonly scrollbarAlwaysOn: boolean;
329
+ readonly cache: number;
328
330
  readonly rowKey: EpPropMergeType<(new (...args: any[]) => string | number | symbol) | (() => KeyType) | (((new (...args: any[]) => string | number | symbol) | (() => KeyType)) | null)[], unknown, unknown>;
329
331
  readonly headerHeight: EpPropMergeType<(new (...args: any[]) => number | number[]) | (() => number | number[]) | (((new (...args: any[]) => number | number[]) | (() => number | number[])) | null)[], unknown, unknown>;
330
332
  readonly sortBy: SortBy;
331
333
  readonly estimatedRowHeight: number;
332
- readonly useIsScrolling: boolean;
333
334
  readonly rowHeight: number;
334
335
  readonly hScrollbarSize: number;
335
336
  readonly vScrollbarSize: number;
336
- readonly cache: number;
337
337
  readonly footerHeight: number;
338
338
  readonly indentSize: number;
339
339
  readonly iconSize: number;
@@ -267,9 +267,9 @@ declare const TabNav: _$vue.DefineComponent<ExtractPropTypes<{
267
267
  }, ev: Event) => any) | undefined;
268
268
  }>, {
269
269
  readonly type: EpPropMergeType<StringConstructor, "" | "card" | "border-card", unknown>;
270
- readonly editable: boolean;
271
270
  readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
272
271
  readonly stretch: boolean;
272
+ readonly editable: boolean;
273
273
  readonly panes: {
274
274
  uid: number;
275
275
  getVnode: () => _$vue.VNode;
@@ -2,13 +2,15 @@ import { TabPaneProps } from "./tab-pane.js";
2
2
  import * as _$vue from "vue";
3
3
 
4
4
  //#region ../../packages/components/tabs/src/tab-pane.vue.d.ts
5
- declare var __VLS_1: {};
6
- type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_1) => any;
5
+ declare const __VLS_template: () => {
6
+ __VLS_Slots: {
7
+ default?: (props: {}) => any;
8
+ };
8
9
  };
10
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
9
11
  declare const __VLS_base: _$vue.DefineComponent<TabPaneProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<TabPaneProps> & Readonly<{}>, {
10
- label: string;
11
12
  closable: boolean;
13
+ label: string;
12
14
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
13
15
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
16
  declare const _default: typeof __VLS_export;
@@ -24,7 +24,7 @@ declare const tabsProps: {
24
24
  __epPropKey: true;
25
25
  };
26
26
  readonly editable: BooleanConstructor;
27
- readonly tabPosition: EpPropFinalized<StringConstructor, "left" | "right" | "top" | "bottom", unknown, "top", boolean>;
27
+ readonly tabPosition: EpPropFinalized<StringConstructor, "left" | "right" | "bottom" | "top", unknown, "top", boolean>;
28
28
  readonly beforeLeave: EpPropFinalized<(new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | (() => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | {
29
29
  (): (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
30
30
  new (): any;
@@ -66,7 +66,7 @@ declare const Tabs: _$vue.DefineComponent<ExtractPropTypes<{
66
66
  __epPropKey: true;
67
67
  };
68
68
  readonly editable: BooleanConstructor;
69
- readonly tabPosition: EpPropFinalized<StringConstructor, "left" | "right" | "top" | "bottom", unknown, "top", boolean>;
69
+ readonly tabPosition: EpPropFinalized<StringConstructor, "left" | "right" | "bottom" | "top", unknown, "top", boolean>;
70
70
  readonly beforeLeave: EpPropFinalized<(new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | (() => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | {
71
71
  (): (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
72
72
  new (): any;
@@ -102,7 +102,7 @@ declare const Tabs: _$vue.DefineComponent<ExtractPropTypes<{
102
102
  __epPropKey: true;
103
103
  };
104
104
  readonly editable: BooleanConstructor;
105
- readonly tabPosition: EpPropFinalized<StringConstructor, "left" | "right" | "top" | "bottom", unknown, "top", boolean>;
105
+ readonly tabPosition: EpPropFinalized<StringConstructor, "left" | "right" | "bottom" | "top", unknown, "top", boolean>;
106
106
  readonly beforeLeave: EpPropFinalized<(new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | (() => (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>) | {
107
107
  (): (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
108
108
  new (): any;
@@ -139,11 +139,11 @@ declare const Tabs: _$vue.DefineComponent<ExtractPropTypes<{
139
139
  onTabAdd?: (() => any) | undefined;
140
140
  }>, {
141
141
  readonly type: EpPropMergeType<StringConstructor, "" | "card" | "border-card", unknown>;
142
- readonly editable: boolean;
142
+ readonly closable: boolean;
143
143
  readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
144
144
  readonly stretch: boolean;
145
- readonly closable: boolean;
146
- readonly tabPosition: EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom", unknown>;
145
+ readonly editable: boolean;
146
+ readonly tabPosition: EpPropMergeType<StringConstructor, "left" | "right" | "bottom" | "top", unknown>;
147
147
  readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
148
148
  readonly addable: boolean;
149
149
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
@@ -43,7 +43,7 @@ interface TagProps {
43
43
  * @deprecated Removed after 3.0.0, Use `TagProps` instead.
44
44
  */
45
45
  declare const tagProps: {
46
- readonly type: EpPropFinalized<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown, "primary", boolean>;
46
+ readonly type: EpPropFinalized<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown, "primary", boolean>;
47
47
  readonly closable: BooleanConstructor;
48
48
  readonly disableTransitions: BooleanConstructor;
49
49
  readonly hit: BooleanConstructor;
@@ -54,7 +54,7 @@ declare const tagProps: {
54
54
  readonly validator: ((val: unknown) => boolean) | undefined;
55
55
  __epPropKey: true;
56
56
  };
57
- readonly effect: EpPropFinalized<StringConstructor, "plain" | "dark" | "light", unknown, "light", boolean>;
57
+ readonly effect: EpPropFinalized<StringConstructor, "light" | "dark" | "plain", unknown, "light", boolean>;
58
58
  readonly round: BooleanConstructor;
59
59
  };
60
60
  /**
@@ -2,12 +2,14 @@ import { TagProps } from "./tag.js";
2
2
  import * as _$vue from "vue";
3
3
 
4
4
  //#region ../../packages/components/tag/src/tag.vue.d.ts
5
- declare var __VLS_1: {}, __VLS_22: {};
6
- type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_1) => any;
8
- } & {
9
- default?: (props: typeof __VLS_22) => any;
5
+ declare const __VLS_template: () => {
6
+ __VLS_Slots: {
7
+ default?: (props: {}) => any;
8
+ } & {
9
+ default?: (props: {}) => any;
10
+ };
10
11
  };
12
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
11
13
  declare const __VLS_base: _$vue.DefineComponent<TagProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
12
14
  close: (evt: MouseEvent) => void;
13
15
  click: (evt: MouseEvent) => void;
@@ -15,8 +17,8 @@ declare const __VLS_base: _$vue.DefineComponent<TagProps, {}, {}, {}, {}, _$vue.
15
17
  onClose?: ((evt: MouseEvent) => any) | undefined;
16
18
  onClick?: ((evt: MouseEvent) => any) | undefined;
17
19
  }>, {
18
- type: "primary" | "success" | "warning" | "info" | "danger";
19
- effect: "plain" | "dark" | "light";
20
+ type: "info" | "primary" | "success" | "warning" | "danger";
21
+ effect: "light" | "dark" | "plain";
20
22
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
21
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
24
  declare const _default: typeof __VLS_export;
@@ -31,7 +31,7 @@ interface TextProps {
31
31
  * @deprecated Removed after 3.0.0, Use `TextProps` instead.
32
32
  */
33
33
  declare const textProps: {
34
- readonly type: EpPropFinalized<StringConstructor, "" | "primary" | "success" | "warning" | "info" | "danger", unknown, "", boolean>;
34
+ readonly type: EpPropFinalized<StringConstructor, "" | "info" | "primary" | "success" | "warning" | "danger", unknown, "", boolean>;
35
35
  readonly size: EpPropFinalized<StringConstructor, "" | "default" | "small" | "large", unknown, "", boolean>;
36
36
  readonly truncated: BooleanConstructor;
37
37
  readonly lineClamp: {
@@ -2,14 +2,16 @@ import { TextProps } from "./text.js";
2
2
  import * as _$vue from "vue";
3
3
 
4
4
  //#region ../../packages/components/text/src/text.vue.d.ts
5
- declare var __VLS_7: {};
6
- type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_7) => any;
5
+ declare const __VLS_template: () => {
6
+ __VLS_Slots: {
7
+ default?: (props: {}) => any;
8
+ };
8
9
  };
10
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
9
11
  declare const __VLS_base: _$vue.DefineComponent<TextProps, {
10
12
  /** @description whether the text is truncated */isTruncated: _$vue.Ref<boolean, boolean>;
11
13
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<TextProps> & Readonly<{}>, {
12
- type: "" | "primary" | "success" | "warning" | "info" | "danger";
14
+ type: "" | "info" | "primary" | "success" | "warning" | "danger";
13
15
  size: "" | "default" | "small" | "large";
14
16
  tag: string;
15
17
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -3,14 +3,16 @@ import { UserInput } from "./props.js";
3
3
  import * as _$vue from "vue";
4
4
 
5
5
  //#region ../../packages/components/time-picker/src/common/picker-range-trigger.vue.d.ts
6
- declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
7
- type __VLS_Slots = {} & {
8
- prefix?: (props: typeof __VLS_1) => any;
9
- } & {
10
- 'range-separator'?: (props: typeof __VLS_3) => any;
11
- } & {
12
- suffix?: (props: typeof __VLS_5) => any;
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ prefix?: (props: {}) => any;
9
+ } & {
10
+ 'range-separator'?: (props: {}) => any;
11
+ } & {
12
+ suffix?: (props: {}) => any;
13
+ };
13
14
  };
15
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
14
16
  declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
15
17
  readonly id: {
16
18
  readonly type: _$vue.PropType<string[]>;
@@ -38,10 +40,10 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
38
40
  blur: () => void;
39
41
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
40
42
  click: (...args: any[]) => void;
41
- mouseenter: (...args: any[]) => void;
42
- mouseleave: (...args: any[]) => void;
43
43
  focus: (...args: any[]) => void;
44
44
  blur: (...args: any[]) => void;
45
+ mouseleave: (...args: any[]) => void;
46
+ mouseenter: (...args: any[]) => void;
45
47
  touchstart: (...args: any[]) => void;
46
48
  startInput: (...args: any[]) => void;
47
49
  endInput: (...args: any[]) => void;
@@ -71,10 +73,10 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
71
73
  readonly disabled: BooleanConstructor;
72
74
  }>> & Readonly<{
73
75
  onClick?: ((...args: any[]) => any) | undefined;
74
- onMouseenter?: ((...args: any[]) => any) | undefined;
75
- onMouseleave?: ((...args: any[]) => any) | undefined;
76
76
  onFocus?: ((...args: any[]) => any) | undefined;
77
77
  onBlur?: ((...args: any[]) => any) | undefined;
78
+ onMouseleave?: ((...args: any[]) => any) | undefined;
79
+ onMouseenter?: ((...args: any[]) => any) | undefined;
78
80
  onTouchstart?: ((...args: any[]) => any) | undefined;
79
81
  onStartInput?: ((...args: any[]) => any) | undefined;
80
82
  onEndInput?: ((...args: any[]) => any) | undefined;