@element-plus/nightly 0.0.20260729 → 0.0.20260731

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 (632) hide show
  1. package/dist/index.full.js +33 -104
  2. package/dist/index.full.min.js +4 -4
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +4 -4
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +33 -104
  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/he.js +1 -1
  88. package/dist/locale/he.min.js +1 -1
  89. package/dist/locale/he.min.mjs +1 -1
  90. package/dist/locale/he.mjs +1 -1
  91. package/dist/locale/hi.js +1 -1
  92. package/dist/locale/hi.min.js +1 -1
  93. package/dist/locale/hi.min.mjs +1 -1
  94. package/dist/locale/hi.mjs +1 -1
  95. package/dist/locale/hr.js +1 -1
  96. package/dist/locale/hr.min.js +1 -1
  97. package/dist/locale/hr.min.mjs +1 -1
  98. package/dist/locale/hr.mjs +1 -1
  99. package/dist/locale/hu.js +1 -1
  100. package/dist/locale/hu.min.js +1 -1
  101. package/dist/locale/hu.min.mjs +1 -1
  102. package/dist/locale/hu.mjs +1 -1
  103. package/dist/locale/hy-am.js +1 -1
  104. package/dist/locale/hy-am.min.js +1 -1
  105. package/dist/locale/hy-am.min.mjs +1 -1
  106. package/dist/locale/hy-am.mjs +1 -1
  107. package/dist/locale/id.js +1 -1
  108. package/dist/locale/id.min.js +1 -1
  109. package/dist/locale/id.min.mjs +1 -1
  110. package/dist/locale/id.mjs +1 -1
  111. package/dist/locale/it.js +1 -1
  112. package/dist/locale/it.min.js +1 -1
  113. package/dist/locale/it.min.mjs +1 -1
  114. package/dist/locale/it.mjs +1 -1
  115. package/dist/locale/ja.js +1 -1
  116. package/dist/locale/ja.min.js +1 -1
  117. package/dist/locale/ja.min.mjs +1 -1
  118. package/dist/locale/ja.mjs +1 -1
  119. package/dist/locale/kk.js +1 -1
  120. package/dist/locale/kk.min.js +1 -1
  121. package/dist/locale/kk.min.mjs +1 -1
  122. package/dist/locale/kk.mjs +1 -1
  123. package/dist/locale/km.js +1 -1
  124. package/dist/locale/km.min.js +1 -1
  125. package/dist/locale/km.min.mjs +1 -1
  126. package/dist/locale/km.mjs +1 -1
  127. package/dist/locale/ko.js +1 -1
  128. package/dist/locale/ko.min.js +1 -1
  129. package/dist/locale/ko.min.mjs +1 -1
  130. package/dist/locale/ko.mjs +1 -1
  131. package/dist/locale/ku.js +1 -1
  132. package/dist/locale/ku.min.js +1 -1
  133. package/dist/locale/ku.min.mjs +1 -1
  134. package/dist/locale/ku.mjs +1 -1
  135. package/dist/locale/ky.js +1 -1
  136. package/dist/locale/ky.min.js +1 -1
  137. package/dist/locale/ky.min.mjs +1 -1
  138. package/dist/locale/ky.mjs +1 -1
  139. package/dist/locale/lo.js +1 -1
  140. package/dist/locale/lo.min.js +1 -1
  141. package/dist/locale/lo.min.mjs +1 -1
  142. package/dist/locale/lo.mjs +1 -1
  143. package/dist/locale/lt.js +1 -1
  144. package/dist/locale/lt.min.js +1 -1
  145. package/dist/locale/lt.min.mjs +1 -1
  146. package/dist/locale/lt.mjs +1 -1
  147. package/dist/locale/lv.js +1 -1
  148. package/dist/locale/lv.min.js +1 -1
  149. package/dist/locale/lv.min.mjs +1 -1
  150. package/dist/locale/lv.mjs +1 -1
  151. package/dist/locale/mg.js +1 -1
  152. package/dist/locale/mg.min.js +1 -1
  153. package/dist/locale/mg.min.mjs +1 -1
  154. package/dist/locale/mg.mjs +1 -1
  155. package/dist/locale/mn.js +1 -1
  156. package/dist/locale/mn.min.js +1 -1
  157. package/dist/locale/mn.min.mjs +1 -1
  158. package/dist/locale/mn.mjs +1 -1
  159. package/dist/locale/ms.js +1 -1
  160. package/dist/locale/ms.min.js +1 -1
  161. package/dist/locale/ms.min.mjs +1 -1
  162. package/dist/locale/ms.mjs +1 -1
  163. package/dist/locale/my.js +1 -1
  164. package/dist/locale/my.min.js +1 -1
  165. package/dist/locale/my.min.mjs +1 -1
  166. package/dist/locale/my.mjs +1 -1
  167. package/dist/locale/nb-no.js +1 -1
  168. package/dist/locale/nb-no.min.js +1 -1
  169. package/dist/locale/nb-no.min.mjs +1 -1
  170. package/dist/locale/nb-no.mjs +1 -1
  171. package/dist/locale/nl.js +1 -1
  172. package/dist/locale/nl.min.js +1 -1
  173. package/dist/locale/nl.min.mjs +1 -1
  174. package/dist/locale/nl.mjs +1 -1
  175. package/dist/locale/no.js +1 -1
  176. package/dist/locale/no.min.js +1 -1
  177. package/dist/locale/no.min.mjs +1 -1
  178. package/dist/locale/no.mjs +1 -1
  179. package/dist/locale/pa.js +1 -1
  180. package/dist/locale/pa.min.js +1 -1
  181. package/dist/locale/pa.min.mjs +1 -1
  182. package/dist/locale/pa.mjs +1 -1
  183. package/dist/locale/pl.js +1 -1
  184. package/dist/locale/pl.min.js +1 -1
  185. package/dist/locale/pl.min.mjs +1 -1
  186. package/dist/locale/pl.mjs +1 -1
  187. package/dist/locale/pt-br.js +1 -1
  188. package/dist/locale/pt-br.min.js +1 -1
  189. package/dist/locale/pt-br.min.mjs +1 -1
  190. package/dist/locale/pt-br.mjs +1 -1
  191. package/dist/locale/pt.js +1 -1
  192. package/dist/locale/pt.min.js +1 -1
  193. package/dist/locale/pt.min.mjs +1 -1
  194. package/dist/locale/pt.mjs +1 -1
  195. package/dist/locale/ro.js +1 -1
  196. package/dist/locale/ro.min.js +1 -1
  197. package/dist/locale/ro.min.mjs +1 -1
  198. package/dist/locale/ro.mjs +1 -1
  199. package/dist/locale/ru.js +1 -1
  200. package/dist/locale/ru.min.js +1 -1
  201. package/dist/locale/ru.min.mjs +1 -1
  202. package/dist/locale/ru.mjs +1 -1
  203. package/dist/locale/sk.js +1 -1
  204. package/dist/locale/sk.min.js +1 -1
  205. package/dist/locale/sk.min.mjs +1 -1
  206. package/dist/locale/sk.mjs +1 -1
  207. package/dist/locale/sl.js +1 -1
  208. package/dist/locale/sl.min.js +1 -1
  209. package/dist/locale/sl.min.mjs +1 -1
  210. package/dist/locale/sl.mjs +1 -1
  211. package/dist/locale/sr.js +1 -1
  212. package/dist/locale/sr.min.js +1 -1
  213. package/dist/locale/sr.min.mjs +1 -1
  214. package/dist/locale/sr.mjs +1 -1
  215. package/dist/locale/sv.js +1 -1
  216. package/dist/locale/sv.min.js +1 -1
  217. package/dist/locale/sv.min.mjs +1 -1
  218. package/dist/locale/sv.mjs +1 -1
  219. package/dist/locale/sw.js +1 -1
  220. package/dist/locale/sw.min.js +1 -1
  221. package/dist/locale/sw.min.mjs +1 -1
  222. package/dist/locale/sw.mjs +1 -1
  223. package/dist/locale/ta.js +1 -1
  224. package/dist/locale/ta.min.js +1 -1
  225. package/dist/locale/ta.min.mjs +1 -1
  226. package/dist/locale/ta.mjs +1 -1
  227. package/dist/locale/te.js +1 -1
  228. package/dist/locale/te.min.js +1 -1
  229. package/dist/locale/te.min.mjs +1 -1
  230. package/dist/locale/te.mjs +1 -1
  231. package/dist/locale/th.js +1 -1
  232. package/dist/locale/th.min.js +1 -1
  233. package/dist/locale/th.min.mjs +1 -1
  234. package/dist/locale/th.mjs +1 -1
  235. package/dist/locale/tk.js +1 -1
  236. package/dist/locale/tk.min.js +1 -1
  237. package/dist/locale/tk.min.mjs +1 -1
  238. package/dist/locale/tk.mjs +1 -1
  239. package/dist/locale/tr.js +1 -1
  240. package/dist/locale/tr.min.js +1 -1
  241. package/dist/locale/tr.min.mjs +1 -1
  242. package/dist/locale/tr.mjs +1 -1
  243. package/dist/locale/ug-cn.js +1 -1
  244. package/dist/locale/ug-cn.min.js +1 -1
  245. package/dist/locale/ug-cn.min.mjs +1 -1
  246. package/dist/locale/ug-cn.mjs +1 -1
  247. package/dist/locale/uk.js +1 -1
  248. package/dist/locale/uk.min.js +1 -1
  249. package/dist/locale/uk.min.mjs +1 -1
  250. package/dist/locale/uk.mjs +1 -1
  251. package/dist/locale/uz-uz.js +1 -1
  252. package/dist/locale/uz-uz.min.js +1 -1
  253. package/dist/locale/uz-uz.min.mjs +1 -1
  254. package/dist/locale/uz-uz.mjs +1 -1
  255. package/dist/locale/vi.js +1 -1
  256. package/dist/locale/vi.min.js +1 -1
  257. package/dist/locale/vi.min.mjs +1 -1
  258. package/dist/locale/vi.mjs +1 -1
  259. package/dist/locale/zh-cn.js +1 -1
  260. package/dist/locale/zh-cn.min.js +1 -1
  261. package/dist/locale/zh-cn.min.mjs +1 -1
  262. package/dist/locale/zh-cn.mjs +1 -1
  263. package/dist/locale/zh-hk.js +1 -1
  264. package/dist/locale/zh-hk.min.js +1 -1
  265. package/dist/locale/zh-hk.min.mjs +1 -1
  266. package/dist/locale/zh-hk.mjs +1 -1
  267. package/dist/locale/zh-mo.js +1 -1
  268. package/dist/locale/zh-mo.min.js +1 -1
  269. package/dist/locale/zh-mo.min.mjs +1 -1
  270. package/dist/locale/zh-mo.mjs +1 -1
  271. package/dist/locale/zh-tw.js +1 -1
  272. package/dist/locale/zh-tw.min.js +1 -1
  273. package/dist/locale/zh-tw.min.mjs +1 -1
  274. package/dist/locale/zh-tw.mjs +1 -1
  275. package/es/components/affix/src/affix.d.ts +1 -1
  276. package/es/components/affix/src/affix.vue.d.ts +2 -2
  277. package/es/components/alert/src/alert.d.ts +1 -1
  278. package/es/components/alert/src/alert.vue.d.ts +2 -2
  279. package/es/components/anchor/src/anchor.d.ts +1 -1
  280. package/es/components/anchor/src/anchor.vue.d.ts +4 -4
  281. package/es/components/autocomplete/src/autocomplete.d.ts +4 -4
  282. package/es/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
  283. package/es/components/avatar/src/avatar-group.d.ts +2 -2
  284. package/es/components/avatar/src/avatar.d.ts +1 -1
  285. package/es/components/backtop/src/backtop.vue.d.ts +2 -2
  286. package/es/components/badge/src/badge.vue.d.ts +2 -2
  287. package/es/components/button/src/button-group.d.ts +1 -1
  288. package/es/components/button/src/button-group.vue.d.ts +1 -1
  289. package/es/components/button/src/button.d.ts +1 -1
  290. package/es/components/button/src/button.vue.d.ts +4 -4
  291. package/es/components/button/src/use-button.d.ts +1 -1
  292. package/es/components/calendar/src/calendar.vue.d.ts +2 -2
  293. package/es/components/calendar/src/select-controller.vue.d.ts +2 -2
  294. package/es/components/card/src/card.d.ts +1 -1
  295. package/es/components/carousel/src/carousel.d.ts +2 -2
  296. package/es/components/carousel/src/carousel.vue.d.ts +4 -4
  297. package/es/components/cascader/src/cascader.d.ts +3 -3
  298. package/es/components/cascader/src/cascader.vue.d.ts +15 -15
  299. package/es/components/cascader-panel/src/index.vue.d.ts +3 -3
  300. package/es/components/checkbox/src/checkbox-button.vue.d.ts +1 -1
  301. package/es/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
  302. package/es/components/checkbox/src/checkbox.d.ts +8 -8
  303. package/es/components/checkbox/src/checkbox.vue.d.ts +1 -1
  304. package/es/components/col/src/col.vue.d.ts +1 -1
  305. package/es/components/collapse/src/collapse.d.ts +1 -1
  306. package/es/components/color-picker/src/color-picker.vue.d.ts +7 -7
  307. package/es/components/config-provider/src/config-provider.d.ts +1 -1
  308. package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  309. package/es/components/date-picker/src/date-picker.d.ts +12 -12
  310. package/es/components/date-picker/src/props.d.ts +2 -2
  311. package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  312. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +2 -2
  313. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +1 -1
  314. package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
  315. package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +1 -1
  316. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +5 -5
  317. package/es/components/date-picker-panel/src/panel-utils.d.ts +12 -12
  318. package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
  319. package/es/components/descriptions/src/description-item.d.ts +19 -19
  320. package/es/components/dialog/src/dialog.vue.d.ts +4 -4
  321. package/es/components/divider/src/divider.d.ts +1 -1
  322. package/es/components/drawer/src/drawer.vue.d.ts +4 -4
  323. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  324. package/es/components/dropdown/src/dropdown.d.ts +4 -4
  325. package/es/components/dropdown/src/dropdown.vue.d.ts +57 -57
  326. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  327. package/es/components/form/src/form-item.d.ts +2 -2
  328. package/es/components/form/src/form-item.vue.d.ts +1 -1
  329. package/es/components/form/src/form.d.ts +2 -2
  330. package/es/components/image/src/image.d.ts +1 -1
  331. package/es/components/image/src/image.vue.d.ts +3 -3
  332. package/es/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  333. package/es/components/input/src/input.d.ts +3 -3
  334. package/es/components/input/src/input.vue.d.ts +16 -16
  335. package/es/components/input-number/src/input-number.d.ts +2 -2
  336. package/es/components/input-number/src/input-number.vue.d.ts +11 -11
  337. package/es/components/input-otp/src/input-otp.vue.d.ts +4 -4
  338. package/es/components/input-tag/src/input-tag.d.ts +1 -1
  339. package/es/components/input-tag/src/input-tag.vue.d.ts +8 -8
  340. package/es/components/link/src/link.d.ts +1 -1
  341. package/es/components/link/src/link.vue.d.ts +1 -1
  342. package/es/components/mention/src/mention.d.ts +4 -4
  343. package/es/components/mention/src/mention.vue.d.ts +3 -3
  344. package/es/components/menu/src/menu.d.ts +8 -8
  345. package/es/components/menu/src/sub-menu.d.ts +1 -1
  346. package/es/components/message/src/instance.d.ts +1 -1
  347. package/es/components/message/src/message.d.ts +2 -2
  348. package/es/components/message/src/message.vue.d.ts +5 -5
  349. package/es/components/message-box/src/index.vue.d.ts +61 -61
  350. package/es/components/notification/src/notification.d.ts +2 -2
  351. package/es/components/notification/src/notification.vue.d.ts +6 -6
  352. package/es/components/pagination/src/components/sizes.vue.d.ts +1 -1
  353. package/es/components/pagination/src/pagination.d.ts +3 -3
  354. package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
  355. package/es/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
  356. package/es/components/popover/src/popover.d.ts +133 -124
  357. package/es/components/popover/src/popover.mjs +18 -101
  358. package/es/components/popover/src/popover.mjs.map +1 -1
  359. package/es/components/popover/src/popover.vue.d.ts +22 -11
  360. package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +7 -45
  361. package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  362. package/es/components/popover/src/popover2.mjs.map +1 -1
  363. package/es/components/popper/src/composables/use-content.d.ts +4 -4
  364. package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  365. package/es/components/popper/src/content.vue.d.ts +10 -10
  366. package/es/components/popper/src/popper.d.ts +2 -2
  367. package/es/components/progress/src/progress.vue.d.ts +3 -3
  368. package/es/components/radio/src/radio-button.d.ts +3 -3
  369. package/es/components/radio/src/radio-button.vue.d.ts +1 -1
  370. package/es/components/radio/src/radio-group.vue.d.ts +4 -4
  371. package/es/components/radio/src/radio.d.ts +6 -6
  372. package/es/components/radio/src/radio.vue.d.ts +2 -2
  373. package/es/components/rate/src/rate.vue.d.ts +2 -2
  374. package/es/components/result/src/result.d.ts +1 -1
  375. package/es/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +1 -1
  376. package/es/components/roving-focus-group/src/roving-focus-group.vue.d.ts +1 -1
  377. package/es/components/row/src/row.d.ts +1 -1
  378. package/es/components/row/src/row.vue.d.ts +1 -1
  379. package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  380. package/es/components/segmented/index.d.ts +1 -1
  381. package/es/components/segmented/src/segmented.d.ts +1 -1
  382. package/es/components/select/src/option.d.ts +2 -2
  383. package/es/components/select/src/option.vue.d.ts +5 -5
  384. package/es/components/select/src/select.d.ts +3 -3
  385. package/es/components/select/src/select.vue.d.ts +63 -63
  386. package/es/components/select/src/useOption.d.ts +2 -2
  387. package/es/components/select/src/useSelect.d.ts +5 -5
  388. package/es/components/select-v2/src/defaults.d.ts +1 -1
  389. package/es/components/select-v2/src/select.vue.d.ts +47 -47
  390. package/es/components/select-v2/src/useSelect.d.ts +1 -1
  391. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  392. package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
  393. package/es/components/slider/src/button.vue.d.ts +1 -1
  394. package/es/components/slider/src/slider.vue.d.ts +8 -8
  395. package/es/components/statistic/src/statistic.vue.d.ts +2 -2
  396. package/es/components/steps/src/item.d.ts +1 -1
  397. package/es/components/steps/src/item.vue.d.ts +1 -1
  398. package/es/components/steps/src/steps.d.ts +2 -2
  399. package/es/components/switch/src/switch.vue.d.ts +3 -3
  400. package/es/components/table/src/filter-panel.mjs.map +1 -1
  401. package/es/components/table/src/filter-panel.vue.d.ts +39 -39
  402. package/es/components/table/src/filter-panel.vue_vue_type_script_lang.mjs +6 -2
  403. package/es/components/table/src/filter-panel.vue_vue_type_script_lang.mjs.map +1 -1
  404. package/es/components/table/src/table/defaults.d.ts +5 -5
  405. package/es/components/table/src/table-column/defaults.d.ts +4 -4
  406. package/es/components/table/src/table-header/index.d.ts +3 -3
  407. package/es/components/table/src/table.vue.d.ts +4 -4
  408. package/es/components/tabs/src/tab-pane.vue.d.ts +1 -1
  409. package/es/components/tabs/src/tabs.d.ts +5 -5
  410. package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +4 -4
  411. package/es/components/time-picker/src/common/picker.vue.d.ts +14 -14
  412. package/es/components/time-picker/src/common/props.d.ts +2 -2
  413. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
  414. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
  415. package/es/components/time-picker/src/time-picker.d.ts +12 -12
  416. package/es/components/time-select/src/time-select.vue.d.ts +9 -9
  417. package/es/components/timeline/src/timeline-item.d.ts +1 -1
  418. package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
  419. package/es/components/tooltip/src/content.vue.d.ts +6 -6
  420. package/es/components/tooltip/src/tooltip.d.ts +2 -2
  421. package/es/components/tooltip/src/tooltip.vue.d.ts +7 -7
  422. package/es/components/tooltip/src/trigger.d.ts +1 -1
  423. package/es/components/tour/src/content.d.ts +1 -1
  424. package/es/components/tour/src/content.vue.d.ts +1 -1
  425. package/es/components/tour/src/step.d.ts +1 -1
  426. package/es/components/tour/src/step.vue.d.ts +1 -1
  427. package/es/components/tour/src/tour.d.ts +1 -1
  428. package/es/components/tour/src/tour.vue.d.ts +4 -4
  429. package/es/components/tree/src/tree-node.vue.d.ts +3 -3
  430. package/es/components/tree/src/tree.vue.d.ts +3 -3
  431. package/es/components/tree-select/src/tree-select-option.d.ts +5 -5
  432. package/es/components/tree-select/src/tree-select.vue.d.ts +31 -31
  433. package/es/components/tree-v2/src/composables/useTree.d.ts +2 -2
  434. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  435. package/es/components/upload/src/upload-list.vue_vue_type_script_setup_true_lang.mjs +8 -3
  436. package/es/components/upload/src/upload-list.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  437. package/es/components/upload/src/upload-list2.mjs.map +1 -1
  438. package/es/components/upload/src/upload.vue.d.ts +2 -2
  439. package/es/components/virtual-list/src/builders/build-grid.d.ts +1 -1
  440. package/es/components/virtual-list/src/builders/build-list.d.ts +1 -1
  441. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
  442. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +1 -1
  443. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
  444. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +1 -1
  445. package/es/components/watermark/src/watermark.vue.d.ts +1 -1
  446. package/es/hooks/use-floating/index.d.ts +12 -12
  447. package/es/hooks/use-popper/index.d.ts +4 -4
  448. package/es/utils/vue/size.d.ts +1 -1
  449. package/es/utils/vue/vnode.d.ts +4 -4
  450. package/es/version.d.ts +1 -1
  451. package/es/version.mjs +1 -1
  452. package/es/version.mjs.map +1 -1
  453. package/lib/components/affix/src/affix.d.ts +1 -1
  454. package/lib/components/affix/src/affix.vue.d.ts +2 -2
  455. package/lib/components/alert/src/alert.d.ts +1 -1
  456. package/lib/components/alert/src/alert.vue.d.ts +2 -2
  457. package/lib/components/anchor/src/anchor.d.ts +1 -1
  458. package/lib/components/anchor/src/anchor.vue.d.ts +4 -4
  459. package/lib/components/autocomplete/src/autocomplete.d.ts +4 -4
  460. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
  461. package/lib/components/avatar/src/avatar-group.d.ts +2 -2
  462. package/lib/components/avatar/src/avatar.d.ts +1 -1
  463. package/lib/components/backtop/src/backtop.vue.d.ts +2 -2
  464. package/lib/components/badge/src/badge.vue.d.ts +2 -2
  465. package/lib/components/button/src/button-group.d.ts +1 -1
  466. package/lib/components/button/src/button-group.vue.d.ts +1 -1
  467. package/lib/components/button/src/button.d.ts +1 -1
  468. package/lib/components/button/src/button.vue.d.ts +4 -4
  469. package/lib/components/button/src/use-button.d.ts +1 -1
  470. package/lib/components/calendar/src/calendar.vue.d.ts +2 -2
  471. package/lib/components/calendar/src/select-controller.vue.d.ts +2 -2
  472. package/lib/components/card/src/card.d.ts +1 -1
  473. package/lib/components/carousel/src/carousel.d.ts +2 -2
  474. package/lib/components/carousel/src/carousel.vue.d.ts +4 -4
  475. package/lib/components/cascader/src/cascader.d.ts +3 -3
  476. package/lib/components/cascader/src/cascader.vue.d.ts +15 -15
  477. package/lib/components/cascader-panel/src/index.vue.d.ts +3 -3
  478. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +1 -1
  479. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
  480. package/lib/components/checkbox/src/checkbox.d.ts +8 -8
  481. package/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
  482. package/lib/components/col/src/col.vue.d.ts +1 -1
  483. package/lib/components/collapse/src/collapse.d.ts +1 -1
  484. package/lib/components/color-picker/src/color-picker.vue.d.ts +7 -7
  485. package/lib/components/config-provider/src/config-provider.d.ts +1 -1
  486. package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  487. package/lib/components/date-picker/src/date-picker.d.ts +12 -12
  488. package/lib/components/date-picker/src/props.d.ts +2 -2
  489. package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  490. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +2 -2
  491. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +1 -1
  492. package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
  493. package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +1 -1
  494. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +5 -5
  495. package/lib/components/date-picker-panel/src/panel-utils.d.ts +12 -12
  496. package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
  497. package/lib/components/descriptions/src/description-item.d.ts +19 -19
  498. package/lib/components/dialog/src/dialog.vue.d.ts +4 -4
  499. package/lib/components/divider/src/divider.d.ts +1 -1
  500. package/lib/components/drawer/src/drawer.vue.d.ts +4 -4
  501. package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  502. package/lib/components/dropdown/src/dropdown.d.ts +4 -4
  503. package/lib/components/dropdown/src/dropdown.vue.d.ts +57 -57
  504. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  505. package/lib/components/form/src/form-item.d.ts +2 -2
  506. package/lib/components/form/src/form-item.vue.d.ts +1 -1
  507. package/lib/components/form/src/form.d.ts +2 -2
  508. package/lib/components/image/src/image.d.ts +1 -1
  509. package/lib/components/image/src/image.vue.d.ts +3 -3
  510. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  511. package/lib/components/input/src/input.d.ts +3 -3
  512. package/lib/components/input/src/input.vue.d.ts +16 -16
  513. package/lib/components/input-number/src/input-number.d.ts +2 -2
  514. package/lib/components/input-number/src/input-number.vue.d.ts +11 -11
  515. package/lib/components/input-otp/src/input-otp.vue.d.ts +4 -4
  516. package/lib/components/input-tag/src/input-tag.d.ts +1 -1
  517. package/lib/components/input-tag/src/input-tag.vue.d.ts +8 -8
  518. package/lib/components/link/src/link.d.ts +1 -1
  519. package/lib/components/link/src/link.vue.d.ts +1 -1
  520. package/lib/components/mention/src/mention.d.ts +4 -4
  521. package/lib/components/mention/src/mention.vue.d.ts +3 -3
  522. package/lib/components/menu/src/menu.d.ts +8 -8
  523. package/lib/components/menu/src/sub-menu.d.ts +1 -1
  524. package/lib/components/message/src/instance.d.ts +1 -1
  525. package/lib/components/message/src/message.d.ts +2 -2
  526. package/lib/components/message/src/message.vue.d.ts +5 -5
  527. package/lib/components/message-box/src/index.vue.d.ts +61 -61
  528. package/lib/components/notification/src/notification.d.ts +2 -2
  529. package/lib/components/notification/src/notification.vue.d.ts +6 -6
  530. package/lib/components/pagination/src/components/sizes.vue.d.ts +1 -1
  531. package/lib/components/pagination/src/pagination.d.ts +3 -3
  532. package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
  533. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
  534. package/lib/components/popover/src/popover.d.ts +133 -124
  535. package/lib/components/popover/src/popover.js +19 -101
  536. package/lib/components/popover/src/popover.js.map +1 -1
  537. package/lib/components/popover/src/popover.vue.d.ts +22 -11
  538. package/lib/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +7 -45
  539. package/lib/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js.map +1 -1
  540. package/lib/components/popover/src/popover2.js.map +1 -1
  541. package/lib/components/popper/src/composables/use-content.d.ts +4 -4
  542. package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  543. package/lib/components/popper/src/content.vue.d.ts +10 -10
  544. package/lib/components/popper/src/popper.d.ts +2 -2
  545. package/lib/components/progress/src/progress.vue.d.ts +3 -3
  546. package/lib/components/radio/src/radio-button.d.ts +3 -3
  547. package/lib/components/radio/src/radio-button.vue.d.ts +1 -1
  548. package/lib/components/radio/src/radio-group.vue.d.ts +4 -4
  549. package/lib/components/radio/src/radio.d.ts +6 -6
  550. package/lib/components/radio/src/radio.vue.d.ts +2 -2
  551. package/lib/components/rate/src/rate.vue.d.ts +2 -2
  552. package/lib/components/result/src/result.d.ts +1 -1
  553. package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +1 -1
  554. package/lib/components/roving-focus-group/src/roving-focus-group.vue.d.ts +1 -1
  555. package/lib/components/row/src/row.d.ts +1 -1
  556. package/lib/components/row/src/row.vue.d.ts +1 -1
  557. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  558. package/lib/components/segmented/index.d.ts +1 -1
  559. package/lib/components/segmented/src/segmented.d.ts +1 -1
  560. package/lib/components/select/src/option.d.ts +2 -2
  561. package/lib/components/select/src/option.vue.d.ts +5 -5
  562. package/lib/components/select/src/select.d.ts +3 -3
  563. package/lib/components/select/src/select.vue.d.ts +63 -63
  564. package/lib/components/select/src/useOption.d.ts +2 -2
  565. package/lib/components/select/src/useSelect.d.ts +5 -5
  566. package/lib/components/select-v2/src/defaults.d.ts +1 -1
  567. package/lib/components/select-v2/src/select.vue.d.ts +47 -47
  568. package/lib/components/select-v2/src/useSelect.d.ts +1 -1
  569. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  570. package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
  571. package/lib/components/slider/src/button.vue.d.ts +1 -1
  572. package/lib/components/slider/src/slider.vue.d.ts +8 -8
  573. package/lib/components/statistic/src/statistic.vue.d.ts +2 -2
  574. package/lib/components/steps/src/item.d.ts +1 -1
  575. package/lib/components/steps/src/item.vue.d.ts +1 -1
  576. package/lib/components/steps/src/steps.d.ts +2 -2
  577. package/lib/components/switch/src/switch.vue.d.ts +3 -3
  578. package/lib/components/table/src/filter-panel.js.map +1 -1
  579. package/lib/components/table/src/filter-panel.vue.d.ts +39 -39
  580. package/lib/components/table/src/filter-panel.vue_vue_type_script_lang.js +6 -2
  581. package/lib/components/table/src/filter-panel.vue_vue_type_script_lang.js.map +1 -1
  582. package/lib/components/table/src/table/defaults.d.ts +5 -5
  583. package/lib/components/table/src/table-column/defaults.d.ts +4 -4
  584. package/lib/components/table/src/table-header/index.d.ts +3 -3
  585. package/lib/components/table/src/table.vue.d.ts +4 -4
  586. package/lib/components/tabs/src/tab-pane.vue.d.ts +1 -1
  587. package/lib/components/tabs/src/tabs.d.ts +5 -5
  588. package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +4 -4
  589. package/lib/components/time-picker/src/common/picker.vue.d.ts +14 -14
  590. package/lib/components/time-picker/src/common/props.d.ts +2 -2
  591. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
  592. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
  593. package/lib/components/time-picker/src/time-picker.d.ts +12 -12
  594. package/lib/components/time-select/src/time-select.vue.d.ts +9 -9
  595. package/lib/components/timeline/src/timeline-item.d.ts +1 -1
  596. package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
  597. package/lib/components/tooltip/src/content.vue.d.ts +6 -6
  598. package/lib/components/tooltip/src/tooltip.d.ts +2 -2
  599. package/lib/components/tooltip/src/tooltip.vue.d.ts +7 -7
  600. package/lib/components/tooltip/src/trigger.d.ts +1 -1
  601. package/lib/components/tour/src/content.d.ts +1 -1
  602. package/lib/components/tour/src/content.vue.d.ts +1 -1
  603. package/lib/components/tour/src/step.d.ts +1 -1
  604. package/lib/components/tour/src/step.vue.d.ts +1 -1
  605. package/lib/components/tour/src/tour.d.ts +1 -1
  606. package/lib/components/tour/src/tour.vue.d.ts +4 -4
  607. package/lib/components/tree/src/tree-node.vue.d.ts +3 -3
  608. package/lib/components/tree/src/tree.vue.d.ts +3 -3
  609. package/lib/components/tree-select/src/tree-select-option.d.ts +5 -5
  610. package/lib/components/tree-select/src/tree-select.vue.d.ts +31 -31
  611. package/lib/components/tree-v2/src/composables/useTree.d.ts +2 -2
  612. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  613. package/lib/components/upload/src/upload-list.vue_vue_type_script_setup_true_lang.js +7 -2
  614. package/lib/components/upload/src/upload-list.vue_vue_type_script_setup_true_lang.js.map +1 -1
  615. package/lib/components/upload/src/upload-list2.js.map +1 -1
  616. package/lib/components/upload/src/upload.vue.d.ts +2 -2
  617. package/lib/components/virtual-list/src/builders/build-grid.d.ts +1 -1
  618. package/lib/components/virtual-list/src/builders/build-list.d.ts +1 -1
  619. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
  620. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +1 -1
  621. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
  622. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +1 -1
  623. package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
  624. package/lib/hooks/use-floating/index.d.ts +12 -12
  625. package/lib/hooks/use-popper/index.d.ts +4 -4
  626. package/lib/utils/vue/size.d.ts +1 -1
  627. package/lib/utils/vue/vnode.d.ts +4 -4
  628. package/lib/version.d.ts +1 -1
  629. package/lib/version.js +1 -1
  630. package/lib/version.js.map +1 -1
  631. package/package.json +2 -2
  632. package/web-types.json +1 -1
@@ -112,8 +112,8 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
112
112
  "update:modelValue": (val: CheckboxValueType) => void;
113
113
  }, _$vue.PublicProps, {
114
114
  id: string;
115
- disabled: boolean;
116
115
  modelValue: number | string | boolean;
116
+ disabled: boolean;
117
117
  validateEvent: boolean;
118
118
  name: string;
119
119
  value: string | boolean | number | object;
@@ -134,8 +134,8 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
134
134
  "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
135
135
  }>, {}, {}, {}, {}, {
136
136
  id: string;
137
- disabled: boolean;
138
137
  modelValue: number | string | boolean;
138
+ disabled: boolean;
139
139
  validateEvent: boolean;
140
140
  name: string;
141
141
  value: string | boolean | number | object;
@@ -156,8 +156,8 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
156
156
  "update:modelValue": (val: CheckboxValueType) => void;
157
157
  }, string, {
158
158
  id: string;
159
- disabled: boolean;
160
159
  modelValue: number | string | boolean;
160
+ disabled: boolean;
161
161
  validateEvent: boolean;
162
162
  name: string;
163
163
  value: string | boolean | number | object;
@@ -203,15 +203,15 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
203
203
  change: (val: CheckboxValueType[]) => void;
204
204
  "update:modelValue": (val: CheckboxGroupValueType) => void;
205
205
  }, _$vue.PublicProps, {
206
+ type: "checkbox" | "button";
207
+ modelValue: CheckboxGroupValueType;
208
+ disabled: boolean;
209
+ validateEvent: boolean;
206
210
  props: {
207
211
  value?: string;
208
212
  label?: string;
209
213
  disabled?: string;
210
214
  };
211
- type: "checkbox" | "button";
212
- disabled: boolean;
213
- modelValue: CheckboxGroupValueType;
214
- validateEvent: boolean;
215
215
  tag: string;
216
216
  }, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
217
217
  P: {};
@@ -224,15 +224,15 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
224
224
  onChange?: ((val: CheckboxValueType[]) => any) | undefined;
225
225
  "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
226
226
  }>, {}, {}, {}, {}, {
227
+ type: "checkbox" | "button";
228
+ modelValue: CheckboxGroupValueType;
229
+ disabled: boolean;
230
+ validateEvent: boolean;
227
231
  props: {
228
232
  value?: string;
229
233
  label?: string;
230
234
  disabled?: string;
231
235
  };
232
- type: "checkbox" | "button";
233
- disabled: boolean;
234
- modelValue: CheckboxGroupValueType;
235
- validateEvent: boolean;
236
236
  tag: string;
237
237
  }>;
238
238
  __isFragment?: never;
@@ -245,15 +245,15 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
245
245
  change: (val: CheckboxValueType[]) => void;
246
246
  "update:modelValue": (val: CheckboxGroupValueType) => void;
247
247
  }, string, {
248
+ type: "checkbox" | "button";
249
+ modelValue: CheckboxGroupValueType;
250
+ disabled: boolean;
251
+ validateEvent: boolean;
248
252
  props: {
249
253
  value?: string;
250
254
  label?: string;
251
255
  disabled?: string;
252
256
  };
253
- type: "checkbox" | "button";
254
- disabled: boolean;
255
- modelValue: CheckboxGroupValueType;
256
- validateEvent: boolean;
257
257
  tag: string;
258
258
  }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
259
259
  $slots: {
@@ -285,9 +285,9 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
285
285
  "end-reached": (direction: ScrollbarDirection) => void;
286
286
  }, _$vue.PublicProps, {
287
287
  tabindex: number | string;
288
+ tag: keyof HTMLElementTagNameMap | (string & {});
288
289
  height: number | string;
289
290
  maxHeight: number | string;
290
- tag: keyof HTMLElementTagNameMap | (string & {});
291
291
  distance: number;
292
292
  wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
293
293
  wrapClass: string | false | Record<string, any> | ClassValue[] | null;
@@ -319,9 +319,9 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
319
319
  handleScroll: () => void;
320
320
  }, {}, {}, {}, {
321
321
  tabindex: number | string;
322
+ tag: keyof HTMLElementTagNameMap | (string & {});
322
323
  height: number | string;
323
324
  maxHeight: number | string;
324
- tag: keyof HTMLElementTagNameMap | (string & {});
325
325
  distance: number;
326
326
  wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
327
327
  wrapClass: string | false | Record<string, any> | ClassValue[] | null;
@@ -356,9 +356,9 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
356
356
  "end-reached": (direction: ScrollbarDirection) => void;
357
357
  }, string, {
358
358
  tabindex: number | string;
359
+ tag: keyof HTMLElementTagNameMap | (string & {});
359
360
  height: number | string;
360
361
  maxHeight: number | string;
361
- tag: keyof HTMLElementTagNameMap | (string & {});
362
362
  distance: number;
363
363
  wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
364
364
  wrapClass: string | false | Record<string, any> | ClassValue[] | null;
@@ -396,24 +396,25 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
396
396
  "before-show": (...args: any[]) => void;
397
397
  "before-hide": (...args: any[]) => void;
398
398
  }, _$vue.PublicProps, {
399
- offset: number;
399
+ trigger: Arrayable<TooltipTriggerType>;
400
+ loop: boolean;
401
+ style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
402
+ placement: Placement;
403
+ popperClass: string | false | Record<string, any> | ClassValue[] | null;
404
+ popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
400
405
  teleported: boolean;
401
406
  effect: PopperEffect;
402
407
  visible: boolean | null;
403
408
  content: string;
404
- style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
405
409
  enterable: boolean;
406
410
  pure: boolean;
407
411
  focusOnShow: boolean;
408
412
  trapping: boolean;
409
- popperClass: string | false | Record<string, any> | ClassValue[] | null;
410
- popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
411
413
  stopPopperMouseEvent: boolean;
412
414
  virtualTriggering: boolean;
413
- loop: boolean;
414
415
  boundariesPadding: number;
415
416
  gpuAcceleration: boolean;
416
- placement: Placement;
417
+ offset: number;
417
418
  popperOptions: Partial<Options>;
418
419
  strategy: "fixed" | "absolute";
419
420
  arrowOffset: number;
@@ -422,7 +423,6 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
422
423
  showAfter: number;
423
424
  hideAfter: number;
424
425
  autoClose: number;
425
- trigger: Arrayable<TooltipTriggerType>;
426
426
  triggerKeys: string[];
427
427
  }, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
428
428
  P: {};
@@ -448,24 +448,25 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
448
448
  onClose: (event?: Event, delay?: number) => void;
449
449
  hide: (event?: Event) => void;
450
450
  }, {}, {}, {}, {
451
- offset: number;
451
+ trigger: Arrayable<TooltipTriggerType>;
452
+ loop: boolean;
453
+ style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
454
+ placement: Placement;
455
+ popperClass: string | false | Record<string, any> | ClassValue[] | null;
456
+ popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
452
457
  teleported: boolean;
453
458
  effect: PopperEffect;
454
459
  visible: boolean | null;
455
460
  content: string;
456
- style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
457
461
  enterable: boolean;
458
462
  pure: boolean;
459
463
  focusOnShow: boolean;
460
464
  trapping: boolean;
461
- popperClass: string | false | Record<string, any> | ClassValue[] | null;
462
- popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
463
465
  stopPopperMouseEvent: boolean;
464
466
  virtualTriggering: boolean;
465
- loop: boolean;
466
467
  boundariesPadding: number;
467
468
  gpuAcceleration: boolean;
468
- placement: Placement;
469
+ offset: number;
469
470
  popperOptions: Partial<Options>;
470
471
  strategy: "fixed" | "absolute";
471
472
  arrowOffset: number;
@@ -474,7 +475,6 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
474
475
  showAfter: number;
475
476
  hideAfter: number;
476
477
  autoClose: number;
477
- trigger: Arrayable<TooltipTriggerType>;
478
478
  triggerKeys: string[];
479
479
  }>;
480
480
  __isFragment?: never;
@@ -505,24 +505,25 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
505
505
  "before-show": (...args: any[]) => void;
506
506
  "before-hide": (...args: any[]) => void;
507
507
  }, string, {
508
- offset: number;
508
+ trigger: Arrayable<TooltipTriggerType>;
509
+ loop: boolean;
510
+ style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
511
+ placement: Placement;
512
+ popperClass: string | false | Record<string, any> | ClassValue[] | null;
513
+ popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
509
514
  teleported: boolean;
510
515
  effect: PopperEffect;
511
516
  visible: boolean | null;
512
517
  content: string;
513
- style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
514
518
  enterable: boolean;
515
519
  pure: boolean;
516
520
  focusOnShow: boolean;
517
521
  trapping: boolean;
518
- popperClass: string | false | Record<string, any> | ClassValue[] | null;
519
- popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
520
522
  stopPopperMouseEvent: boolean;
521
523
  virtualTriggering: boolean;
522
- loop: boolean;
523
524
  boundariesPadding: number;
524
525
  gpuAcceleration: boolean;
525
- placement: Placement;
526
+ offset: number;
526
527
  popperOptions: Partial<Options>;
527
528
  strategy: "fixed" | "absolute";
528
529
  arrowOffset: number;
@@ -531,7 +532,6 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
531
532
  showAfter: number;
532
533
  hideAfter: number;
533
534
  autoClose: number;
534
- trigger: Arrayable<TooltipTriggerType>;
535
535
  triggerKeys: string[];
536
536
  }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
537
537
  $slots: {
@@ -52,8 +52,12 @@ var filter_panel_vue_vue_type_script_lang_default = (0, vue.defineComponent)({
52
52
  const filterValue = (0, vue.computed)({
53
53
  get: () => (props.column?.filteredValue || [])[0],
54
54
  set: (value) => {
55
- if (filteredValue.value) if (!require_types.isPropAbsent(value)) filteredValue.value.splice(0, 1, value);
56
- else filteredValue.value.splice(0, 1);
55
+ if (props.column) {
56
+ const arr = [...props.column.filteredValue ?? []];
57
+ if (!require_types.isPropAbsent(value)) arr.splice(0, 1, value);
58
+ else arr.splice(0, 1);
59
+ props.upDataColumn?.("filteredValue", arr);
60
+ }
57
61
  }
58
62
  });
59
63
  const filteredValue = (0, vue.computed)({
@@ -1 +1 @@
1
- {"version":3,"file":"filter-panel.vue_vue_type_script_lang.js","names":[],"sources":["../../../../../../packages/components/table/src/filter-panel.vue"],"sourcesContent":["<template>\n <el-tooltip\n ref=\"tooltipRef\"\n :offset=\"0\"\n :placement=\"placement\"\n :show-arrow=\"false\"\n trigger=\"click\"\n role=\"dialog\"\n teleported\n effect=\"light\"\n pure\n loop\n :popper-class=\"filterClassName\"\n persistent\n :append-to=\"appendTo\"\n @show=\"handleShowTooltip\"\n @hide=\"handleHideTooltip\"\n >\n <template #content>\n <div\n v-if=\"multiple\"\n ref=\"rootRef\"\n tabindex=\"-1\"\n :class=\"ns.e('multiple')\"\n >\n <div :class=\"ns.e('content')\">\n <el-scrollbar :wrap-class=\"ns.e('wrap')\">\n <el-checkbox-group\n v-model=\"filteredValue\"\n :class=\"ns.e('checkbox-group')\"\n >\n <el-checkbox\n v-for=\"filter in filters\"\n :key=\"filter.value\"\n :value=\"filter.value\"\n >\n {{ filter.text }}\n </el-checkbox>\n </el-checkbox-group>\n </el-scrollbar>\n </div>\n <div :class=\"ns.e('bottom')\">\n <button\n :class=\"ns.is('disabled', filteredValue.length === 0)\"\n :disabled=\"filteredValue.length === 0\"\n type=\"button\"\n @click=\"handleConfirm\"\n >\n {{ t('el.table.confirmFilter') }}\n </button>\n <button type=\"button\" @click=\"handleReset\">\n {{ t('el.table.resetFilter') }}\n </button>\n </div>\n </div>\n <ul\n v-else\n ref=\"rootRef\"\n tabindex=\"-1\"\n role=\"radiogroup\"\n :class=\"ns.e('list')\"\n @keydown=\"handleKeydown\"\n >\n <li\n role=\"radio\"\n :class=\"[\n ns.e('list-item'),\n ns.is('active', isPropAbsent(filterValue)),\n ]\"\n :tabindex=\"checkedIndex === 0 ? 0 : -1\"\n :aria-checked=\"isPropAbsent(filterValue)\"\n @click=\"handleSelect(null, 0)\"\n >\n {{ t('el.table.clearFilter') }}\n </li>\n <li\n v-for=\"(filter, idx) in filters\"\n :key=\"filter.value\"\n role=\"radio\"\n :class=\"[ns.e('list-item'), ns.is('active', isActive(filter))]\"\n :tabindex=\"checkedIndex === idx + 1 ? 0 : -1\"\n :aria-checked=\"isActive(filter)\"\n @click=\"handleSelect(filter.value, idx + 1)\"\n >\n {{ filter.text }}\n </li>\n </ul>\n </template>\n <template #default>\n <button\n type=\"button\"\n :class=\"`${ns.namespace.value}-table__column-filter-trigger`\"\n :aria-label=\"t('el.table.filterLabel', { column: column?.label || '' })\"\n >\n <el-icon>\n <slot name=\"filter-icon\">\n <arrow-up v-if=\"column?.filterOpened\" />\n <arrow-down v-else />\n </slot>\n </el-icon>\n </button>\n </template>\n </el-tooltip>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, getCurrentInstance, ref } from 'vue'\nimport { ElCheckbox, ElCheckboxGroup } from '@element-plus/components/checkbox'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { ArrowDown, ArrowUp } from '@element-plus/icons-vue'\nimport { EVENT_CODE } from '@element-plus/constants'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport {\n ElTooltip,\n useTooltipContentProps,\n} from '@element-plus/components/tooltip'\nimport ElScrollbar from '@element-plus/components/scrollbar'\nimport { getEventCode, isPropAbsent } from '@element-plus/utils'\n\nimport type { DefaultRow } from './table/defaults'\nimport type { TooltipInstance } from '@element-plus/components/tooltip'\nimport type { Placement } from '@element-plus/components/popper'\nimport type { PropType, WritableComputedRef } from 'vue'\nimport type { TableColumnCtx } from './table-column/defaults'\nimport type { TableHeader } from './table-header'\nimport type { Store } from './store'\n\nexport default defineComponent({\n name: 'ElTableFilterPanel',\n components: {\n ElCheckbox,\n ElCheckboxGroup,\n ElScrollbar,\n ElTooltip,\n ElIcon,\n ArrowDown,\n ArrowUp,\n },\n props: {\n placement: {\n type: String as PropType<Placement>,\n default: 'bottom-start',\n },\n store: {\n type: Object as PropType<Store<DefaultRow>>,\n },\n column: {\n type: Object as PropType<TableColumnCtx<DefaultRow>>,\n },\n upDataColumn: {\n type: Function,\n },\n appendTo: useTooltipContentProps.appendTo,\n },\n setup(props) {\n const instance = getCurrentInstance()\n const { t } = useLocale()\n const ns = useNamespace('table-filter')\n const parent = instance?.parent as TableHeader\n if (props.column && !parent.filterPanels.value[props.column.id]) {\n parent.filterPanels.value[props.column.id] = instance\n }\n\n const tooltipRef = ref<TooltipInstance | null>(null)\n const rootRef = ref<HTMLElement | null>(null)\n const checkedIndex = ref(0)\n\n const filters = computed(() => {\n return props.column && props.column.filters\n })\n const filterClassName = computed(() => {\n if (props.column && props.column.filterClassName) {\n return `${ns.b()} ${props.column.filterClassName}`\n }\n return ns.b()\n })\n const filterValue = computed({\n get: () => (props.column?.filteredValue || [])[0],\n set: (value?: string | null) => {\n if (filteredValue.value) {\n if (!isPropAbsent(value)) {\n filteredValue.value.splice(0, 1, value)\n } else {\n filteredValue.value.splice(0, 1)\n }\n }\n },\n })\n const filteredValue: WritableComputedRef<string[]> = computed({\n get() {\n if (props.column) {\n return props.column.filteredValue || []\n }\n return []\n },\n set(value: string[]) {\n if (props.column) {\n props.upDataColumn?.('filteredValue', value)\n }\n },\n })\n const multiple = computed(() => {\n if (props.column) {\n return props.column.filterMultiple\n }\n return true\n })\n const isActive = (filter: { value: string; text: string }) => {\n return filter.value === filterValue.value\n }\n const hidden = () => {\n tooltipRef.value?.onClose()\n }\n const handleConfirm = () => {\n confirmFilter(filteredValue.value)\n hidden()\n }\n const handleReset = () => {\n filteredValue.value = []\n confirmFilter(filteredValue.value)\n hidden()\n }\n const handleSelect = (_filterValue: string | null, index: number) => {\n filterValue.value = _filterValue!\n checkedIndex.value = index\n if (!isPropAbsent(_filterValue)) {\n confirmFilter(filteredValue.value)\n } else {\n confirmFilter([])\n }\n hidden()\n }\n const confirmFilter = (filteredValue: unknown[]) => {\n props.store?.commit('filterChange', {\n column: props.column,\n values: filteredValue,\n })\n props.store?.updateAllSelected()\n }\n const handleShowTooltip = () => {\n rootRef.value?.focus()\n !multiple.value && initCheckedIndex()\n if (props.column) {\n props.upDataColumn?.('filterOpened', true)\n }\n }\n const handleHideTooltip = () => {\n if (props.column) {\n props.upDataColumn?.('filterOpened', false)\n }\n }\n\n const initCheckedIndex = () => {\n if (isPropAbsent(filterValue)) {\n checkedIndex.value = 0\n return\n }\n const idx = (filters.value || []).findIndex((item) => {\n return item.value === filterValue.value\n })\n checkedIndex.value = idx >= 0 ? idx + 1 : 0\n }\n\n const handleKeydown = (event: KeyboardEvent) => {\n const code = getEventCode(event)\n const len = (filters.value ? filters.value.length : 0) + 1\n let index = checkedIndex.value\n let isPreventDefault = true\n\n switch (code) {\n case EVENT_CODE.down:\n case EVENT_CODE.right:\n index = (index + 1) % len\n break\n case EVENT_CODE.up:\n case EVENT_CODE.left:\n index = (index - 1 + len) % len\n break\n case EVENT_CODE.tab:\n hidden()\n isPreventDefault = false\n break\n case EVENT_CODE.enter:\n case EVENT_CODE.space:\n if (index === 0) {\n handleSelect(null, 0)\n } else {\n const item = (filters.value || [])[index - 1]\n item.value && handleSelect(item.value, index)\n }\n break\n default:\n isPreventDefault = false\n break\n }\n\n isPreventDefault && event.preventDefault()\n checkedIndex.value = index\n rootRef.value\n ?.querySelector<HTMLElement>(\n `.${ns.e('list-item')}:nth-child(${index + 1})`\n )\n ?.focus()\n }\n\n return {\n multiple,\n filterClassName,\n filteredValue,\n filterValue,\n filters,\n handleConfirm,\n handleReset,\n handleSelect,\n isPropAbsent,\n isActive,\n t,\n ns,\n tooltipRef,\n rootRef,\n checkedIndex,\n handleShowTooltip,\n handleHideTooltip,\n handleKeydown,\n }\n },\n})\n</script>\n"],"mappings":"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"}
1
+ {"version":3,"file":"filter-panel.vue_vue_type_script_lang.js","names":[],"sources":["../../../../../../packages/components/table/src/filter-panel.vue"],"sourcesContent":["<template>\n <el-tooltip\n ref=\"tooltipRef\"\n :offset=\"0\"\n :placement=\"placement\"\n :show-arrow=\"false\"\n trigger=\"click\"\n role=\"dialog\"\n teleported\n effect=\"light\"\n pure\n loop\n :popper-class=\"filterClassName\"\n persistent\n :append-to=\"appendTo\"\n @show=\"handleShowTooltip\"\n @hide=\"handleHideTooltip\"\n >\n <template #content>\n <div\n v-if=\"multiple\"\n ref=\"rootRef\"\n tabindex=\"-1\"\n :class=\"ns.e('multiple')\"\n >\n <div :class=\"ns.e('content')\">\n <el-scrollbar :wrap-class=\"ns.e('wrap')\">\n <el-checkbox-group\n v-model=\"filteredValue\"\n :class=\"ns.e('checkbox-group')\"\n >\n <el-checkbox\n v-for=\"filter in filters\"\n :key=\"filter.value\"\n :value=\"filter.value\"\n >\n {{ filter.text }}\n </el-checkbox>\n </el-checkbox-group>\n </el-scrollbar>\n </div>\n <div :class=\"ns.e('bottom')\">\n <button\n :class=\"ns.is('disabled', filteredValue.length === 0)\"\n :disabled=\"filteredValue.length === 0\"\n type=\"button\"\n @click=\"handleConfirm\"\n >\n {{ t('el.table.confirmFilter') }}\n </button>\n <button type=\"button\" @click=\"handleReset\">\n {{ t('el.table.resetFilter') }}\n </button>\n </div>\n </div>\n <ul\n v-else\n ref=\"rootRef\"\n tabindex=\"-1\"\n role=\"radiogroup\"\n :class=\"ns.e('list')\"\n @keydown=\"handleKeydown\"\n >\n <li\n role=\"radio\"\n :class=\"[\n ns.e('list-item'),\n ns.is('active', isPropAbsent(filterValue)),\n ]\"\n :tabindex=\"checkedIndex === 0 ? 0 : -1\"\n :aria-checked=\"isPropAbsent(filterValue)\"\n @click=\"handleSelect(null, 0)\"\n >\n {{ t('el.table.clearFilter') }}\n </li>\n <li\n v-for=\"(filter, idx) in filters\"\n :key=\"filter.value\"\n role=\"radio\"\n :class=\"[ns.e('list-item'), ns.is('active', isActive(filter))]\"\n :tabindex=\"checkedIndex === idx + 1 ? 0 : -1\"\n :aria-checked=\"isActive(filter)\"\n @click=\"handleSelect(filter.value, idx + 1)\"\n >\n {{ filter.text }}\n </li>\n </ul>\n </template>\n <template #default>\n <button\n type=\"button\"\n :class=\"`${ns.namespace.value}-table__column-filter-trigger`\"\n :aria-label=\"t('el.table.filterLabel', { column: column?.label || '' })\"\n >\n <el-icon>\n <slot name=\"filter-icon\">\n <arrow-up v-if=\"column?.filterOpened\" />\n <arrow-down v-else />\n </slot>\n </el-icon>\n </button>\n </template>\n </el-tooltip>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, getCurrentInstance, ref } from 'vue'\nimport { ElCheckbox, ElCheckboxGroup } from '@element-plus/components/checkbox'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { ArrowDown, ArrowUp } from '@element-plus/icons-vue'\nimport { EVENT_CODE } from '@element-plus/constants'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport {\n ElTooltip,\n useTooltipContentProps,\n} from '@element-plus/components/tooltip'\nimport ElScrollbar from '@element-plus/components/scrollbar'\nimport { getEventCode, isPropAbsent } from '@element-plus/utils'\n\nimport type { DefaultRow } from './table/defaults'\nimport type { TooltipInstance } from '@element-plus/components/tooltip'\nimport type { Placement } from '@element-plus/components/popper'\nimport type { PropType, WritableComputedRef } from 'vue'\nimport type { TableColumnCtx } from './table-column/defaults'\nimport type { TableHeader } from './table-header'\nimport type { Store } from './store'\n\nexport default defineComponent({\n name: 'ElTableFilterPanel',\n components: {\n ElCheckbox,\n ElCheckboxGroup,\n ElScrollbar,\n ElTooltip,\n ElIcon,\n ArrowDown,\n ArrowUp,\n },\n props: {\n placement: {\n type: String as PropType<Placement>,\n default: 'bottom-start',\n },\n store: {\n type: Object as PropType<Store<DefaultRow>>,\n },\n column: {\n type: Object as PropType<TableColumnCtx<DefaultRow>>,\n },\n upDataColumn: {\n type: Function,\n },\n appendTo: useTooltipContentProps.appendTo,\n },\n setup(props) {\n const instance = getCurrentInstance()\n const { t } = useLocale()\n const ns = useNamespace('table-filter')\n const parent = instance?.parent as TableHeader\n if (props.column && !parent.filterPanels.value[props.column.id]) {\n parent.filterPanels.value[props.column.id] = instance\n }\n\n const tooltipRef = ref<TooltipInstance | null>(null)\n const rootRef = ref<HTMLElement | null>(null)\n const checkedIndex = ref(0)\n\n const filters = computed(() => {\n return props.column && props.column.filters\n })\n const filterClassName = computed(() => {\n if (props.column && props.column.filterClassName) {\n return `${ns.b()} ${props.column.filterClassName}`\n }\n return ns.b()\n })\n const filterValue = computed({\n get: () => (props.column?.filteredValue || [])[0],\n set: (value?: string | null) => {\n if (props.column) {\n const arr = [...(props.column.filteredValue ?? [])]\n if (!isPropAbsent(value)) {\n arr.splice(0, 1, value)\n } else {\n arr.splice(0, 1)\n }\n props.upDataColumn?.('filteredValue', arr)\n }\n },\n })\n const filteredValue: WritableComputedRef<string[]> = computed({\n get() {\n if (props.column) {\n return props.column.filteredValue || []\n }\n return []\n },\n set(value: string[]) {\n if (props.column) {\n props.upDataColumn?.('filteredValue', value)\n }\n },\n })\n const multiple = computed(() => {\n if (props.column) {\n return props.column.filterMultiple\n }\n return true\n })\n const isActive = (filter: { value: string; text: string }) => {\n return filter.value === filterValue.value\n }\n const hidden = () => {\n tooltipRef.value?.onClose()\n }\n const handleConfirm = () => {\n confirmFilter(filteredValue.value)\n hidden()\n }\n const handleReset = () => {\n filteredValue.value = []\n confirmFilter(filteredValue.value)\n hidden()\n }\n const handleSelect = (_filterValue: string | null, index: number) => {\n filterValue.value = _filterValue!\n checkedIndex.value = index\n if (!isPropAbsent(_filterValue)) {\n confirmFilter(filteredValue.value)\n } else {\n confirmFilter([])\n }\n hidden()\n }\n const confirmFilter = (filteredValue: unknown[]) => {\n props.store?.commit('filterChange', {\n column: props.column,\n values: filteredValue,\n })\n props.store?.updateAllSelected()\n }\n const handleShowTooltip = () => {\n rootRef.value?.focus()\n !multiple.value && initCheckedIndex()\n if (props.column) {\n props.upDataColumn?.('filterOpened', true)\n }\n }\n const handleHideTooltip = () => {\n if (props.column) {\n props.upDataColumn?.('filterOpened', false)\n }\n }\n\n const initCheckedIndex = () => {\n if (isPropAbsent(filterValue)) {\n checkedIndex.value = 0\n return\n }\n const idx = (filters.value || []).findIndex((item) => {\n return item.value === filterValue.value\n })\n checkedIndex.value = idx >= 0 ? idx + 1 : 0\n }\n\n const handleKeydown = (event: KeyboardEvent) => {\n const code = getEventCode(event)\n const len = (filters.value ? filters.value.length : 0) + 1\n let index = checkedIndex.value\n let isPreventDefault = true\n\n switch (code) {\n case EVENT_CODE.down:\n case EVENT_CODE.right:\n index = (index + 1) % len\n break\n case EVENT_CODE.up:\n case EVENT_CODE.left:\n index = (index - 1 + len) % len\n break\n case EVENT_CODE.tab:\n hidden()\n isPreventDefault = false\n break\n case EVENT_CODE.enter:\n case EVENT_CODE.space:\n if (index === 0) {\n handleSelect(null, 0)\n } else {\n const item = (filters.value || [])[index - 1]\n item.value && handleSelect(item.value, index)\n }\n break\n default:\n isPreventDefault = false\n break\n }\n\n isPreventDefault && event.preventDefault()\n checkedIndex.value = index\n rootRef.value\n ?.querySelector<HTMLElement>(\n `.${ns.e('list-item')}:nth-child(${index + 1})`\n )\n ?.focus()\n }\n\n return {\n multiple,\n filterClassName,\n filteredValue,\n filterValue,\n filters,\n handleConfirm,\n handleReset,\n handleSelect,\n isPropAbsent,\n isActive,\n t,\n ns,\n tooltipRef,\n rootRef,\n checkedIndex,\n handleShowTooltip,\n handleHideTooltip,\n handleKeydown,\n }\n },\n})\n</script>\n"],"mappings":"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"}
@@ -355,15 +355,15 @@ declare const tableProps: {
355
355
  readonly validator: ((val: unknown) => boolean) | undefined;
356
356
  __epPropKey: true;
357
357
  };
358
- width: (NumberConstructor | StringConstructor)[];
358
+ width: (StringConstructor | NumberConstructor)[];
359
359
  /**
360
360
  * @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles
361
361
  */
362
- height: (NumberConstructor | StringConstructor)[];
362
+ height: (StringConstructor | NumberConstructor)[];
363
363
  /**
364
364
  * @description table's max-height. The legal value is a number or the height in px
365
365
  */
366
- maxHeight: (NumberConstructor | StringConstructor)[];
366
+ maxHeight: (StringConstructor | NumberConstructor)[];
367
367
  /**
368
368
  * @description whether width of column automatically fits its container
369
369
  */
@@ -441,7 +441,7 @@ declare const tableProps: {
441
441
  /**
442
442
  * @description key of current row, a set only prop
443
443
  */
444
- currentRowKey: (NumberConstructor | StringConstructor)[];
444
+ currentRowKey: (StringConstructor | NumberConstructor)[];
445
445
  /**
446
446
  * @description displayed text when data is empty. You can customize this area with `#empty`
447
447
  */
@@ -545,7 +545,7 @@ declare const tableProps: {
545
545
  tooltipFormatter: PropType<TableProps<any>["tooltipFormatter"]>;
546
546
  appendFilterPanelTo: StringConstructor;
547
547
  scrollbarTabindex: {
548
- type: (NumberConstructor | StringConstructor)[];
548
+ type: (StringConstructor | NumberConstructor)[];
549
549
  default: undefined;
550
550
  };
551
551
  /**
@@ -231,14 +231,14 @@ declare const tableColumnProps: {
231
231
  * @description column width
232
232
  */
233
233
  width: {
234
- type: (NumberConstructor | StringConstructor)[];
234
+ type: (StringConstructor | NumberConstructor)[];
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: (NumberConstructor | StringConstructor)[];
241
+ type: (StringConstructor | NumberConstructor)[];
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: (BooleanConstructor | StringConstructor)[];
252
+ type: (StringConstructor | BooleanConstructor)[];
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: (BooleanConstructor | StringConstructor)[];
296
+ fixed: (StringConstructor | BooleanConstructor)[];
297
297
  /**
298
298
  * @description function that formats cell content
299
299
  */
@@ -126,8 +126,8 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
126
126
  "update:modelValue": (val: CheckboxValueType) => void;
127
127
  }, _$vue.PublicProps, {
128
128
  id: string;
129
- disabled: boolean;
130
129
  modelValue: number | string | boolean;
130
+ disabled: boolean;
131
131
  validateEvent: boolean;
132
132
  name: string;
133
133
  value: string | boolean | number | object;
@@ -148,8 +148,8 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
148
148
  "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
149
149
  }>, {}, {}, {}, {}, {
150
150
  id: string;
151
- disabled: boolean;
152
151
  modelValue: number | string | boolean;
152
+ disabled: boolean;
153
153
  validateEvent: boolean;
154
154
  name: string;
155
155
  value: string | boolean | number | object;
@@ -170,8 +170,8 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
170
170
  "update:modelValue": (val: CheckboxValueType) => void;
171
171
  }, string, {
172
172
  id: string;
173
- disabled: boolean;
174
173
  modelValue: number | string | boolean;
174
+ disabled: boolean;
175
175
  validateEvent: boolean;
176
176
  name: string;
177
177
  value: string | boolean | number | object;
@@ -11,13 +11,14 @@ 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
- "onSelect-all"?: ((selection: T[]) => any) | undefined;
20
19
  "onExpand-change"?: ((row: T, expanded: boolean) => any) | undefined;
20
+ "onSelect-all"?: ((selection: T[]) => any) | undefined;
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;
23
24
  "onCell-mouse-leave"?: ((row: T, column: TableColumnCtx<T>, cell: HTMLTableCellElement, event: MouseEvent) => any) | undefined;
@@ -35,7 +36,6 @@ declare const __VLS_export: <T extends DefaultRow = DefaultRow>(__VLS_props: Non
35
36
  order: TableSortOrder | null;
36
37
  }) => any) | undefined;
37
38
  "onFilter-change"?: ((newFilters: Record<string, string[]>) => any) | undefined;
38
- "onCurrent-change"?: ((currentRow: T | null, oldCurrentRow: T | null) => any) | undefined;
39
39
  "onHeader-dragend"?: ((newWidth: number, oldWidth: number, column: TableColumnCtx<T>, event: MouseEvent) => any) | undefined;
40
40
  }> & (typeof globalThis extends {
41
41
  __VLS_PROPS_FALLBACK: infer P;
@@ -693,7 +693,7 @@ 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" | "content" | "referenceEl" | "triggerTargetEl" | "virtualTriggering" | "rawContent" | "persistent" | "autoClose" | "virtualRef">> | undefined>;
696
+ computedTooltipOptions: _$vue.ComputedRef<Partial<Omit<UseTooltipProps, "persistent" | "visible" | "content" | "referenceEl" | "triggerTargetEl" | "virtualTriggering" | "rawContent" | "autoClose" | "virtualRef">> | undefined>;
697
697
  tableLayout: _$vue.ComputedRef<"fixed" | "auto">;
698
698
  scrollbarViewStyle: {
699
699
  display: string;
@@ -7,8 +7,8 @@ type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
9
  declare const __VLS_base: _$vue.DefineComponent<TabPaneProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<TabPaneProps> & Readonly<{}>, {
10
- closable: boolean;
11
10
  label: string;
11
+ closable: boolean;
12
12
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
13
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
14
  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, "top" | "bottom" | "left" | "right", unknown, "top", boolean>;
27
+ readonly tabPosition: EpPropFinalized<StringConstructor, "right" | "left" | "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, "top" | "bottom" | "left" | "right", unknown, "top", boolean>;
69
+ readonly tabPosition: EpPropFinalized<StringConstructor, "right" | "left" | "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, "top" | "bottom" | "left" | "right", unknown, "top", boolean>;
105
+ readonly tabPosition: EpPropFinalized<StringConstructor, "right" | "left" | "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 closable: boolean;
143
142
  readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
144
143
  readonly stretch: boolean;
144
+ readonly closable: boolean;
145
145
  readonly editable: boolean;
146
- readonly tabPosition: EpPropMergeType<StringConstructor, "top" | "bottom" | "left" | "right", unknown>;
146
+ readonly tabPosition: EpPropMergeType<StringConstructor, "right" | "left" | "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>;
@@ -37,11 +37,11 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
37
37
  focus: () => void;
38
38
  blur: () => void;
39
39
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
40
- click: (...args: any[]) => void;
41
40
  focus: (...args: any[]) => void;
42
41
  blur: (...args: any[]) => void;
43
- mouseleave: (...args: any[]) => void;
42
+ click: (...args: any[]) => void;
44
43
  mouseenter: (...args: any[]) => void;
44
+ mouseleave: (...args: any[]) => void;
45
45
  touchstart: (...args: any[]) => void;
46
46
  startInput: (...args: any[]) => void;
47
47
  endInput: (...args: any[]) => void;
@@ -70,11 +70,11 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
70
70
  readonly endPlaceholder: StringConstructor;
71
71
  readonly disabled: BooleanConstructor;
72
72
  }>> & Readonly<{
73
- onClick?: ((...args: any[]) => any) | undefined;
74
73
  onFocus?: ((...args: any[]) => any) | undefined;
75
74
  onBlur?: ((...args: any[]) => any) | undefined;
76
- onMouseleave?: ((...args: any[]) => any) | undefined;
75
+ onClick?: ((...args: any[]) => any) | undefined;
77
76
  onMouseenter?: ((...args: any[]) => any) | undefined;
77
+ onMouseleave?: ((...args: any[]) => any) | undefined;
78
78
  onTouchstart?: ((...args: any[]) => any) | undefined;
79
79
  onStartInput?: ((...args: any[]) => any) | undefined;
80
80
  onEndInput?: ((...args: any[]) => any) | undefined;