@element-plus/nightly 0.0.20261109 → 0.0.20261111

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 (746) hide show
  1. package/dist/index.full.js +281 -53
  2. package/dist/index.full.min.js +14 -14
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +8 -8
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +281 -53
  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/component.mjs +3 -3
  280. package/es/components/affix/src/affix.d.ts +1 -1
  281. package/es/components/affix/src/affix.vue.d.ts +2 -2
  282. package/es/components/alert/src/alert.d.ts +2 -2
  283. package/es/components/alert/src/alert.vue.d.ts +2 -2
  284. package/es/components/anchor/src/anchor.d.ts +1 -1
  285. package/es/components/anchor/src/anchor.vue.d.ts +4 -4
  286. package/es/components/autocomplete/src/autocomplete.d.ts +4 -4
  287. package/es/components/autocomplete/src/autocomplete.vue.d.ts +2 -2
  288. package/es/components/avatar/src/avatar-group-props.d.ts +1 -1
  289. package/es/components/avatar/src/avatar-group.d.ts +2 -2
  290. package/es/components/avatar/src/avatar.d.ts +1 -1
  291. package/es/components/backtop/src/backtop.vue.d.ts +1 -1
  292. package/es/components/badge/src/badge.d.ts +1 -1
  293. package/es/components/badge/src/badge.vue.d.ts +1 -1
  294. package/es/components/button/src/button-group.d.ts +2 -2
  295. package/es/components/button/src/button-group.vue.d.ts +1 -1
  296. package/es/components/button/src/button.d.ts +2 -2
  297. package/es/components/button/src/button.vue.d.ts +4 -4
  298. package/es/components/button/src/use-button.d.ts +2 -2
  299. package/es/components/carousel/src/carousel.d.ts +1 -1
  300. package/es/components/carousel/src/carousel.vue.d.ts +2 -2
  301. package/es/components/cascader/src/cascader.d.ts +5 -5
  302. package/es/components/cascader/src/cascader.vue.d.ts +9 -9
  303. package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs +2 -2
  304. package/es/components/cascader-panel/src/index.vue.d.ts +3 -3
  305. package/es/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.mjs +1 -1
  306. package/es/components/cascader-panel/src/menu.vue.d.ts +1 -1
  307. package/es/components/check-tag/src/check-tag.d.ts +1 -1
  308. package/es/components/check-tag/src/check-tag.vue.d.ts +1 -1
  309. package/es/components/checkbox/src/checkbox-button.vue.d.ts +3 -3
  310. package/es/components/checkbox/src/checkbox-group.d.ts +1 -1
  311. package/es/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
  312. package/es/components/checkbox/src/checkbox.d.ts +9 -9
  313. package/es/components/checkbox/src/checkbox.vue.d.ts +3 -3
  314. package/es/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
  315. package/es/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
  316. package/es/components/collapse/src/collapse-item.vue.d.ts +1 -1
  317. package/es/components/collapse/src/collapse.vue.d.ts +2 -2
  318. package/es/components/color-picker/src/color-picker.d.ts +2 -2
  319. package/es/components/color-picker/src/color-picker.vue.d.ts +2 -2
  320. package/es/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.mjs +1 -1
  321. package/es/components/color-picker-panel/src/color-picker-panel.d.ts +1 -1
  322. package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
  323. package/es/components/config-provider/src/config-provider-props.d.ts +1 -1
  324. package/es/components/config-provider/src/config-provider.d.ts +2 -2
  325. package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  326. package/es/components/countdown/src/countdown.vue_vue_type_script_setup_true_lang.mjs +1 -1
  327. package/es/components/date-picker/src/date-picker.d.ts +11 -11
  328. package/es/components/date-picker/src/props.d.ts +4 -4
  329. package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  330. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +3 -3
  331. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.mjs +1 -1
  332. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +3 -3
  333. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.mjs +1 -1
  334. package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
  335. package/es/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue.d.ts +1 -1
  336. package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +1 -1
  337. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +7 -7
  338. package/es/components/date-picker-panel/src/panel-utils.d.ts +15 -15
  339. package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
  340. package/es/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
  341. package/es/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
  342. package/es/components/date-picker-panel/src/props/shared.d.ts +1 -1
  343. package/es/components/descriptions/src/description-item.d.ts +18 -18
  344. package/es/components/descriptions/src/description.d.ts +1 -1
  345. package/es/components/descriptions/src/description.vue.d.ts +1 -1
  346. package/es/components/dialog/src/dialog-content.vue.d.ts +1 -1
  347. package/es/components/dialog/src/dialog.vue.d.ts +6 -6
  348. package/es/components/divider/src/divider.d.ts +1 -1
  349. package/es/components/divider/src/divider.vue.d.ts +2 -2
  350. package/es/components/drawer/src/drawer.vue.d.ts +7 -7
  351. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  352. package/es/components/dropdown/src/dropdown.d.ts +4 -4
  353. package/es/components/dropdown/src/dropdown.vue.d.ts +53 -53
  354. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  355. package/es/components/form/src/form-item.d.ts +2 -2
  356. package/es/components/form/src/form-item.vue.d.ts +2 -2
  357. package/es/components/form/src/form.d.ts +2 -2
  358. package/es/components/form/src/hooks/use-form-common-props.d.ts +2 -2
  359. package/es/components/image/src/image.vue.d.ts +2 -2
  360. package/es/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
  361. package/es/components/index.mjs +6 -6
  362. package/es/components/input/src/input.d.ts +3 -3
  363. package/es/components/input/src/input.vue.d.ts +2 -2
  364. package/es/components/input-number/src/input-number.d.ts +3 -3
  365. package/es/components/input-number/src/input-number.vue.d.ts +4 -4
  366. package/es/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.mjs +1 -1
  367. package/es/components/input-otp/src/input-otp.vue.d.ts +6 -6
  368. package/es/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
  369. package/es/components/input-tag/src/input-tag.d.ts +3 -3
  370. package/es/components/input-tag/src/input-tag.vue.d.ts +4 -4
  371. package/es/components/link/src/link.d.ts +1 -1
  372. package/es/components/link/src/link.vue.d.ts +2 -2
  373. package/es/components/mention/src/mention.d.ts +4 -4
  374. package/es/components/menu/src/menu.d.ts +5 -5
  375. package/es/components/menu/src/menu.mjs +1 -1
  376. package/es/components/menu/src/utils/menu-item.mjs +1 -1
  377. package/es/components/menu/src/utils/submenu.mjs +1 -1
  378. package/es/components/message/src/instance.d.ts +1 -1
  379. package/es/components/message/src/message.d.ts +2 -2
  380. package/es/components/message/src/message.vue.d.ts +4 -4
  381. package/es/components/message-box/src/index.vue.d.ts +24 -24
  382. package/es/components/message-box/src/index.vue_vue_type_script_lang.mjs +1 -1
  383. package/es/components/notification/src/notification.d.ts +1 -1
  384. package/es/components/notification/src/notification.vue.d.ts +5 -5
  385. package/es/components/pagination/src/components/jumper.d.ts +1 -1
  386. package/es/components/pagination/src/components/jumper.vue.d.ts +2 -2
  387. package/es/components/pagination/src/components/sizes.d.ts +1 -1
  388. package/es/components/pagination/src/components/sizes.vue.d.ts +2 -2
  389. package/es/components/pagination/src/pagination.d.ts +6 -6
  390. package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
  391. package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
  392. package/es/components/popover/src/popover.d.ts +16 -16
  393. package/es/components/popover/src/popover.vue.d.ts +6 -6
  394. package/es/components/popper/src/composables/use-content.d.ts +2 -2
  395. package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  396. package/es/components/popper/src/content.d.ts +4 -4
  397. package/es/components/popper/src/content.vue.d.ts +3 -3
  398. package/es/components/popper/src/popper.d.ts +2 -2
  399. package/es/components/popper/src/popper.vue.d.ts +1 -1
  400. package/es/components/progress/src/progress.vue.d.ts +2 -2
  401. package/es/components/radio/src/radio-button.d.ts +4 -4
  402. package/es/components/radio/src/radio-button.vue.d.ts +1 -1
  403. package/es/components/radio/src/radio-group.d.ts +1 -1
  404. package/es/components/radio/src/radio-group.vue.d.ts +5 -5
  405. package/es/components/radio/src/radio.d.ts +8 -8
  406. package/es/components/radio/src/radio.vue.d.ts +4 -4
  407. package/es/components/radio/src/use-radio.d.ts +1 -1
  408. package/es/components/rate/src/rate.d.ts +1 -1
  409. package/es/components/rate/src/rate.vue.d.ts +2 -2
  410. package/es/components/result/src/result.d.ts +1 -1
  411. package/es/components/result/src/result.vue.d.ts +1 -1
  412. package/es/components/row/src/row.d.ts +2 -2
  413. package/es/components/row/src/row.vue.d.ts +1 -1
  414. package/es/components/scrollbar/src/scrollbar.d.ts +1 -1
  415. package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  416. package/es/components/segmented/index.d.ts +4 -4
  417. package/es/components/segmented/src/segmented.d.ts +2 -2
  418. package/es/components/segmented/src/segmented.vue.d.ts +2 -2
  419. package/es/components/select/src/option.d.ts +2 -2
  420. package/es/components/select/src/option.vue.d.ts +5 -5
  421. package/es/components/select/src/select.d.ts +6 -6
  422. package/es/components/select/src/select.vue.d.ts +68 -68
  423. package/es/components/select/src/select.vue_vue_type_script_lang.mjs +1 -1
  424. package/es/components/select/src/useOption.d.ts +2 -2
  425. package/es/components/select/src/useSelect.d.ts +7 -7
  426. package/es/components/select-v2/src/defaults.d.ts +4 -4
  427. package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
  428. package/es/components/select-v2/src/select.vue.d.ts +51 -51
  429. package/es/components/select-v2/src/select.vue_vue_type_script_lang.mjs +1 -1
  430. package/es/components/select-v2/src/useSelect.d.ts +2 -2
  431. package/es/components/slider/src/button.vue.d.ts +1 -1
  432. package/es/components/slider/src/slider.d.ts +2 -2
  433. package/es/components/slider/src/slider.vue.d.ts +8 -8
  434. package/es/components/space/src/space.d.ts +4 -4
  435. package/es/components/splitter/src/splitter.vue.d.ts +2 -2
  436. package/es/components/steps/src/item.d.ts +1 -1
  437. package/es/components/steps/src/item.vue.d.ts +2 -2
  438. package/es/components/steps/src/steps.d.ts +2 -2
  439. package/es/components/switch/src/switch.d.ts +1 -1
  440. package/es/components/switch/src/switch.vue.d.ts +4 -4
  441. package/es/components/table/src/filter-panel.vue.d.ts +43 -43
  442. package/es/components/table/src/table/defaults.d.ts +6 -6
  443. package/es/components/table/src/table/style-helper.d.ts +2 -2
  444. package/es/components/table/src/table/style-helper.mjs +47 -19
  445. package/es/components/table/src/table/style-helper.mjs.map +1 -1
  446. package/es/components/table/src/table-column/defaults.d.ts +2 -2
  447. package/es/components/table/src/table-header/index.d.ts +9 -9
  448. package/es/components/table/src/table.vue.d.ts +4 -4
  449. package/es/components/table/src/table.vue_vue_type_script_setup_true_lang.mjs +1 -1
  450. package/es/components/table-v2/src/table-grid.d.ts +1 -1
  451. package/es/components/table-v2/src/table-v2.d.ts +2 -2
  452. package/es/components/tabs/src/tab-nav.d.ts +1 -1
  453. package/es/components/tabs/src/tabs.d.ts +5 -5
  454. package/es/components/tag/src/tag.d.ts +3 -3
  455. package/es/components/tag/src/tag.vue.d.ts +4 -4
  456. package/es/components/text/src/text.d.ts +2 -2
  457. package/es/components/text/src/text.vue.d.ts +2 -2
  458. package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +2 -2
  459. package/es/components/time-picker/src/common/picker.vue.d.ts +10 -10
  460. package/es/components/time-picker/src/common/props.d.ts +3 -3
  461. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue_vue_type_script_setup_true_lang.mjs +1 -1
  462. package/es/components/time-picker/src/time-picker.d.ts +8 -8
  463. package/es/components/time-select/src/time-select.d.ts +1 -1
  464. package/es/components/time-select/src/time-select.vue.d.ts +4 -4
  465. package/es/components/timeline/src/timeline-item.d.ts +3 -3
  466. package/es/components/timeline/src/timeline-item.vue.d.ts +3 -3
  467. package/es/components/tooltip/src/content.d.ts +1 -1
  468. package/es/components/tooltip/src/content.vue.d.ts +4 -4
  469. package/es/components/tooltip/src/tooltip.d.ts +3 -3
  470. package/es/components/tooltip/src/tooltip.vue.d.ts +7 -7
  471. package/es/components/tooltip/src/trigger.d.ts +1 -1
  472. package/es/components/tour/src/content.d.ts +2 -2
  473. package/es/components/tour/src/step.d.ts +1 -1
  474. package/es/components/tour/src/tour.d.ts +1 -1
  475. package/es/components/tour/src/tour.vue.d.ts +5 -5
  476. package/es/components/transfer/src/transfer.vue.d.ts +2 -2
  477. package/es/components/tree/src/tree-node.vue.d.ts +10 -10
  478. package/es/components/tree/src/tree.vue.d.ts +20 -20
  479. package/es/components/tree-select/src/tree-select-option.d.ts +5 -5
  480. package/es/components/tree-select/src/tree-select.vue.d.ts +29 -29
  481. package/es/components/tree-v2/src/composables/useTree.d.ts +14 -14
  482. package/es/components/tree-v2/src/tree-node.vue.d.ts +2 -2
  483. package/es/components/tree-v2/src/tree.vue.d.ts +13 -13
  484. package/es/components/upload/src/upload-content.vue.d.ts +2 -2
  485. package/es/components/upload/src/upload.vue.d.ts +2 -2
  486. package/es/components/virtual-list/src/builders/build-grid.d.ts +6 -6
  487. package/es/components/virtual-list/src/builders/build-list.d.ts +7 -7
  488. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +6 -6
  489. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +7 -7
  490. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +6 -6
  491. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +7 -7
  492. package/es/components/virtual-list/src/components/scrollbar.d.ts +1 -1
  493. package/es/components/watermark/src/watermark.vue.d.ts +2 -2
  494. package/es/constants/index.mjs +2 -2
  495. package/es/directives/trap-focus/index.mjs +1 -1
  496. package/es/hooks/use-floating/index.d.ts +4 -4
  497. package/es/hooks/use-popper/index.d.ts +2 -2
  498. package/es/hooks/use-size/index.d.ts +3 -3
  499. package/es/index.mjs +13 -13
  500. package/es/plugin.mjs +1 -1
  501. package/es/version.d.ts +1 -1
  502. package/es/version.mjs +1 -1
  503. package/es/version.mjs.map +1 -1
  504. package/lib/component.js +109 -109
  505. package/lib/components/affix/src/affix.d.ts +1 -1
  506. package/lib/components/affix/src/affix.vue.d.ts +2 -2
  507. package/lib/components/alert/src/alert.d.ts +2 -2
  508. package/lib/components/alert/src/alert.vue.d.ts +2 -2
  509. package/lib/components/anchor/src/anchor.d.ts +1 -1
  510. package/lib/components/anchor/src/anchor.vue.d.ts +4 -4
  511. package/lib/components/autocomplete/src/autocomplete.d.ts +4 -4
  512. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +2 -2
  513. package/lib/components/avatar/src/avatar-group-props.d.ts +1 -1
  514. package/lib/components/avatar/src/avatar-group.d.ts +2 -2
  515. package/lib/components/avatar/src/avatar.d.ts +1 -1
  516. package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
  517. package/lib/components/badge/src/badge.d.ts +1 -1
  518. package/lib/components/badge/src/badge.vue.d.ts +1 -1
  519. package/lib/components/button/src/button-group.d.ts +2 -2
  520. package/lib/components/button/src/button-group.vue.d.ts +1 -1
  521. package/lib/components/button/src/button.d.ts +2 -2
  522. package/lib/components/button/src/button.vue.d.ts +4 -4
  523. package/lib/components/button/src/use-button.d.ts +2 -2
  524. package/lib/components/carousel/src/carousel.d.ts +1 -1
  525. package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
  526. package/lib/components/cascader/src/cascader.d.ts +5 -5
  527. package/lib/components/cascader/src/cascader.vue.d.ts +9 -9
  528. package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js +40 -40
  529. package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js.map +1 -1
  530. package/lib/components/cascader-panel/src/index.vue.d.ts +3 -3
  531. package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js +12 -12
  532. package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js.map +1 -1
  533. package/lib/components/cascader-panel/src/menu.vue.d.ts +1 -1
  534. package/lib/components/check-tag/src/check-tag.d.ts +1 -1
  535. package/lib/components/check-tag/src/check-tag.vue.d.ts +1 -1
  536. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +3 -3
  537. package/lib/components/checkbox/src/checkbox-group.d.ts +1 -1
  538. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
  539. package/lib/components/checkbox/src/checkbox.d.ts +9 -9
  540. package/lib/components/checkbox/src/checkbox.vue.d.ts +3 -3
  541. package/lib/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
  542. package/lib/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
  543. package/lib/components/collapse/src/collapse-item.vue.d.ts +1 -1
  544. package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
  545. package/lib/components/color-picker/src/color-picker.d.ts +2 -2
  546. package/lib/components/color-picker/src/color-picker.vue.d.ts +2 -2
  547. package/lib/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.js +18 -18
  548. package/lib/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  549. package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +1 -1
  550. package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
  551. package/lib/components/config-provider/src/config-provider-props.d.ts +1 -1
  552. package/lib/components/config-provider/src/config-provider.d.ts +2 -2
  553. package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  554. package/lib/components/countdown/src/countdown.vue_vue_type_script_setup_true_lang.js +1 -1
  555. package/lib/components/date-picker/src/date-picker.d.ts +11 -11
  556. package/lib/components/date-picker/src/props.d.ts +4 -4
  557. package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  558. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +3 -3
  559. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.js +18 -18
  560. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.js.map +1 -1
  561. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +3 -3
  562. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js +23 -23
  563. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js.map +1 -1
  564. package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
  565. package/lib/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue.d.ts +1 -1
  566. package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +1 -1
  567. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +7 -7
  568. package/lib/components/date-picker-panel/src/panel-utils.d.ts +15 -15
  569. package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
  570. package/lib/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
  571. package/lib/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
  572. package/lib/components/date-picker-panel/src/props/shared.d.ts +1 -1
  573. package/lib/components/descriptions/src/description-item.d.ts +18 -18
  574. package/lib/components/descriptions/src/description.d.ts +1 -1
  575. package/lib/components/descriptions/src/description.vue.d.ts +1 -1
  576. package/lib/components/dialog/src/dialog-content.vue.d.ts +1 -1
  577. package/lib/components/dialog/src/dialog.vue.d.ts +6 -6
  578. package/lib/components/divider/src/divider.d.ts +1 -1
  579. package/lib/components/divider/src/divider.vue.d.ts +2 -2
  580. package/lib/components/drawer/src/drawer.vue.d.ts +7 -7
  581. package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  582. package/lib/components/dropdown/src/dropdown.d.ts +4 -4
  583. package/lib/components/dropdown/src/dropdown.vue.d.ts +53 -53
  584. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  585. package/lib/components/form/src/form-item.d.ts +2 -2
  586. package/lib/components/form/src/form-item.vue.d.ts +2 -2
  587. package/lib/components/form/src/form.d.ts +2 -2
  588. package/lib/components/form/src/hooks/use-form-common-props.d.ts +2 -2
  589. package/lib/components/image/src/image.vue.d.ts +2 -2
  590. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
  591. package/lib/components/index.js +125 -125
  592. package/lib/components/input/src/input.d.ts +3 -3
  593. package/lib/components/input/src/input.vue.d.ts +2 -2
  594. package/lib/components/input-number/src/input-number.d.ts +3 -3
  595. package/lib/components/input-number/src/input-number.vue.d.ts +4 -4
  596. package/lib/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.js +12 -12
  597. package/lib/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.js.map +1 -1
  598. package/lib/components/input-otp/src/input-otp.vue.d.ts +6 -6
  599. package/lib/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
  600. package/lib/components/input-tag/src/input-tag.d.ts +3 -3
  601. package/lib/components/input-tag/src/input-tag.vue.d.ts +4 -4
  602. package/lib/components/link/src/link.d.ts +1 -1
  603. package/lib/components/link/src/link.vue.d.ts +2 -2
  604. package/lib/components/mention/src/mention.d.ts +4 -4
  605. package/lib/components/menu/src/menu.d.ts +5 -5
  606. package/lib/components/menu/src/menu.js +7 -7
  607. package/lib/components/menu/src/menu.js.map +1 -1
  608. package/lib/components/menu/src/utils/menu-item.js +11 -11
  609. package/lib/components/menu/src/utils/menu-item.js.map +1 -1
  610. package/lib/components/menu/src/utils/submenu.js +9 -9
  611. package/lib/components/menu/src/utils/submenu.js.map +1 -1
  612. package/lib/components/message/src/instance.d.ts +1 -1
  613. package/lib/components/message/src/message.d.ts +2 -2
  614. package/lib/components/message/src/message.vue.d.ts +4 -4
  615. package/lib/components/message-box/src/index.vue.d.ts +24 -24
  616. package/lib/components/message-box/src/index.vue_vue_type_script_lang.js +19 -19
  617. package/lib/components/message-box/src/index.vue_vue_type_script_lang.js.map +1 -1
  618. package/lib/components/notification/src/notification.d.ts +1 -1
  619. package/lib/components/notification/src/notification.vue.d.ts +5 -5
  620. package/lib/components/pagination/src/components/jumper.d.ts +1 -1
  621. package/lib/components/pagination/src/components/jumper.vue.d.ts +2 -2
  622. package/lib/components/pagination/src/components/sizes.d.ts +1 -1
  623. package/lib/components/pagination/src/components/sizes.vue.d.ts +2 -2
  624. package/lib/components/pagination/src/pagination.d.ts +6 -6
  625. package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
  626. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
  627. package/lib/components/popover/src/popover.d.ts +16 -16
  628. package/lib/components/popover/src/popover.vue.d.ts +6 -6
  629. package/lib/components/popper/src/composables/use-content.d.ts +2 -2
  630. package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  631. package/lib/components/popper/src/content.d.ts +4 -4
  632. package/lib/components/popper/src/content.vue.d.ts +3 -3
  633. package/lib/components/popper/src/popper.d.ts +2 -2
  634. package/lib/components/popper/src/popper.vue.d.ts +1 -1
  635. package/lib/components/progress/src/progress.vue.d.ts +2 -2
  636. package/lib/components/radio/src/radio-button.d.ts +4 -4
  637. package/lib/components/radio/src/radio-button.vue.d.ts +1 -1
  638. package/lib/components/radio/src/radio-group.d.ts +1 -1
  639. package/lib/components/radio/src/radio-group.vue.d.ts +5 -5
  640. package/lib/components/radio/src/radio.d.ts +8 -8
  641. package/lib/components/radio/src/radio.vue.d.ts +4 -4
  642. package/lib/components/radio/src/use-radio.d.ts +1 -1
  643. package/lib/components/rate/src/rate.d.ts +1 -1
  644. package/lib/components/rate/src/rate.vue.d.ts +2 -2
  645. package/lib/components/result/src/result.d.ts +1 -1
  646. package/lib/components/result/src/result.vue.d.ts +1 -1
  647. package/lib/components/row/src/row.d.ts +2 -2
  648. package/lib/components/row/src/row.vue.d.ts +1 -1
  649. package/lib/components/scrollbar/src/scrollbar.d.ts +1 -1
  650. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  651. package/lib/components/segmented/index.d.ts +4 -4
  652. package/lib/components/segmented/src/segmented.d.ts +2 -2
  653. package/lib/components/segmented/src/segmented.vue.d.ts +2 -2
  654. package/lib/components/select/src/option.d.ts +2 -2
  655. package/lib/components/select/src/option.vue.d.ts +5 -5
  656. package/lib/components/select/src/select.d.ts +6 -6
  657. package/lib/components/select/src/select.vue.d.ts +68 -68
  658. package/lib/components/select/src/select.vue_vue_type_script_lang.js +10 -10
  659. package/lib/components/select/src/select.vue_vue_type_script_lang.js.map +1 -1
  660. package/lib/components/select/src/useOption.d.ts +2 -2
  661. package/lib/components/select/src/useSelect.d.ts +7 -7
  662. package/lib/components/select-v2/src/defaults.d.ts +4 -4
  663. package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
  664. package/lib/components/select-v2/src/select.vue.d.ts +51 -51
  665. package/lib/components/select-v2/src/select.vue_vue_type_script_lang.js +10 -10
  666. package/lib/components/select-v2/src/select.vue_vue_type_script_lang.js.map +1 -1
  667. package/lib/components/select-v2/src/useSelect.d.ts +2 -2
  668. package/lib/components/slider/src/button.vue.d.ts +1 -1
  669. package/lib/components/slider/src/slider.d.ts +2 -2
  670. package/lib/components/slider/src/slider.vue.d.ts +8 -8
  671. package/lib/components/space/src/space.d.ts +4 -4
  672. package/lib/components/splitter/src/splitter.vue.d.ts +2 -2
  673. package/lib/components/steps/src/item.d.ts +1 -1
  674. package/lib/components/steps/src/item.vue.d.ts +2 -2
  675. package/lib/components/steps/src/steps.d.ts +2 -2
  676. package/lib/components/switch/src/switch.d.ts +1 -1
  677. package/lib/components/switch/src/switch.vue.d.ts +4 -4
  678. package/lib/components/table/src/filter-panel.vue.d.ts +43 -43
  679. package/lib/components/table/src/table/defaults.d.ts +6 -6
  680. package/lib/components/table/src/table/style-helper.d.ts +2 -2
  681. package/lib/components/table/src/table/style-helper.js +46 -18
  682. package/lib/components/table/src/table/style-helper.js.map +1 -1
  683. package/lib/components/table/src/table-column/defaults.d.ts +2 -2
  684. package/lib/components/table/src/table-header/index.d.ts +9 -9
  685. package/lib/components/table/src/table.vue.d.ts +4 -4
  686. package/lib/components/table/src/table.vue_vue_type_script_setup_true_lang.js +9 -9
  687. package/lib/components/table/src/table.vue_vue_type_script_setup_true_lang.js.map +1 -1
  688. package/lib/components/table-v2/src/table-grid.d.ts +1 -1
  689. package/lib/components/table-v2/src/table-v2.d.ts +2 -2
  690. package/lib/components/tabs/src/tab-nav.d.ts +1 -1
  691. package/lib/components/tabs/src/tabs.d.ts +5 -5
  692. package/lib/components/tag/src/tag.d.ts +3 -3
  693. package/lib/components/tag/src/tag.vue.d.ts +4 -4
  694. package/lib/components/text/src/text.d.ts +2 -2
  695. package/lib/components/text/src/text.vue.d.ts +2 -2
  696. package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +2 -2
  697. package/lib/components/time-picker/src/common/picker.vue.d.ts +10 -10
  698. package/lib/components/time-picker/src/common/props.d.ts +3 -3
  699. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue_vue_type_script_setup_true_lang.js +10 -10
  700. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue_vue_type_script_setup_true_lang.js.map +1 -1
  701. package/lib/components/time-picker/src/time-picker.d.ts +8 -8
  702. package/lib/components/time-select/src/time-select.d.ts +1 -1
  703. package/lib/components/time-select/src/time-select.vue.d.ts +4 -4
  704. package/lib/components/timeline/src/timeline-item.d.ts +3 -3
  705. package/lib/components/timeline/src/timeline-item.vue.d.ts +3 -3
  706. package/lib/components/tooltip/src/content.d.ts +1 -1
  707. package/lib/components/tooltip/src/content.vue.d.ts +4 -4
  708. package/lib/components/tooltip/src/tooltip.d.ts +3 -3
  709. package/lib/components/tooltip/src/tooltip.vue.d.ts +7 -7
  710. package/lib/components/tooltip/src/trigger.d.ts +1 -1
  711. package/lib/components/tour/src/content.d.ts +2 -2
  712. package/lib/components/tour/src/step.d.ts +1 -1
  713. package/lib/components/tour/src/tour.d.ts +1 -1
  714. package/lib/components/tour/src/tour.vue.d.ts +5 -5
  715. package/lib/components/transfer/src/transfer.vue.d.ts +2 -2
  716. package/lib/components/tree/src/tree-node.vue.d.ts +10 -10
  717. package/lib/components/tree/src/tree.vue.d.ts +20 -20
  718. package/lib/components/tree-select/src/tree-select-option.d.ts +5 -5
  719. package/lib/components/tree-select/src/tree-select.vue.d.ts +29 -29
  720. package/lib/components/tree-v2/src/composables/useTree.d.ts +14 -14
  721. package/lib/components/tree-v2/src/tree-node.vue.d.ts +2 -2
  722. package/lib/components/tree-v2/src/tree.vue.d.ts +13 -13
  723. package/lib/components/upload/src/upload-content.vue.d.ts +2 -2
  724. package/lib/components/upload/src/upload.vue.d.ts +2 -2
  725. package/lib/components/virtual-list/src/builders/build-grid.d.ts +6 -6
  726. package/lib/components/virtual-list/src/builders/build-list.d.ts +7 -7
  727. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +6 -6
  728. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +7 -7
  729. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +6 -6
  730. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +7 -7
  731. package/lib/components/virtual-list/src/components/scrollbar.d.ts +1 -1
  732. package/lib/components/watermark/src/watermark.vue.d.ts +2 -2
  733. package/lib/constants/index.js +2 -2
  734. package/lib/directives/trap-focus/index.js +5 -5
  735. package/lib/directives/trap-focus/index.js.map +1 -1
  736. package/lib/hooks/use-floating/index.d.ts +4 -4
  737. package/lib/hooks/use-popper/index.d.ts +2 -2
  738. package/lib/hooks/use-size/index.d.ts +3 -3
  739. package/lib/index.js +269 -269
  740. package/lib/plugin.js +12 -12
  741. package/lib/plugin.js.map +1 -1
  742. package/lib/version.d.ts +1 -1
  743. package/lib/version.js +1 -1
  744. package/lib/version.js.map +1 -1
  745. package/package.json +3 -3
  746. package/web-types.json +1 -1
@@ -270,21 +270,21 @@ declare const __VLS_base: _$vue.DefineComponent<CascaderPanelProps, {
270
270
  scrollToExpandingNode: () => void;
271
271
  loadLazyRootNodes: () => void;
272
272
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
273
+ "update:modelValue": (value: CascaderValue | null | undefined) => void;
273
274
  change: (value: CascaderValue | null | undefined) => void;
274
275
  close: () => void;
275
- "update:modelValue": (value: CascaderValue | null | undefined) => void;
276
276
  "expand-change": (value: CascaderNodePathValue) => void;
277
277
  }, string, _$vue.PublicProps, Readonly<CascaderPanelProps> & Readonly<{
278
+ "onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
278
279
  onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
279
280
  onClose?: (() => any) | undefined;
280
- "onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
281
281
  "onExpand-change"?: ((value: CascaderNodePathValue) => any) | undefined;
282
282
  }>, {
283
283
  props: CascaderProps;
284
284
  height: number;
285
- itemSize: number;
286
285
  border: boolean;
287
286
  options: CascaderOption[];
287
+ itemSize: number;
288
288
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
289
289
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
290
290
  declare const _default: typeof __VLS_export;
@@ -1,6 +1,6 @@
1
- const require_aria = require("../../../utils/dom/aria.js");
2
- const require_aria$1 = require("../../../constants/aria.js");
1
+ const require_aria = require("../../../constants/aria.js");
3
2
  const require_event = require("../../../constants/event.js");
3
+ const require_aria$1 = require("../../../utils/dom/aria.js");
4
4
  const require_event$1 = require("../../../utils/dom/event.js");
5
5
  const require_types = require("../../../utils/types.js");
6
6
  const require_scroll = require("../../../utils/dom/scroll.js");
@@ -186,10 +186,10 @@ var index_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.de
186
186
  const target = e.target;
187
187
  const code = require_event$1.getEventCode(e);
188
188
  switch (code) {
189
- case require_aria$1.EVENT_CODE.up:
190
- case require_aria$1.EVENT_CODE.down: {
189
+ case require_aria.EVENT_CODE.up:
190
+ case require_aria.EVENT_CODE.down: {
191
191
  e.preventDefault();
192
- const distance = code === require_aria$1.EVENT_CODE.up ? -1 : 1;
192
+ const distance = code === require_aria.EVENT_CODE.up ? -1 : 1;
193
193
  if (virtualScroll.value) {
194
194
  const menuIndex = require_utils.getMenuIndex(target);
195
195
  const menu = menuList.value[menuIndex];
@@ -209,23 +209,23 @@ var index_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.de
209
209
  }
210
210
  }
211
211
  }
212
- require_aria.focusNode(require_aria.getSibling(target, distance, `.${ns.b("node")}[tabindex="-1"]`));
212
+ require_aria$1.focusNode(require_aria$1.getSibling(target, distance, `.${ns.b("node")}[tabindex="-1"]`));
213
213
  break;
214
214
  }
215
- case require_aria$1.EVENT_CODE.left: {
215
+ case require_aria.EVENT_CODE.left: {
216
216
  e.preventDefault();
217
217
  const expandedNode = menuList.value[require_utils.getMenuIndex(target) - 1]?.$el.querySelector(`.${ns.b("node")}[aria-expanded="true"]`);
218
- require_aria.focusNode(expandedNode);
218
+ require_aria$1.focusNode(expandedNode);
219
219
  break;
220
220
  }
221
- case require_aria$1.EVENT_CODE.right: {
221
+ case require_aria.EVENT_CODE.right: {
222
222
  e.preventDefault();
223
223
  const firstNode = menuList.value[require_utils.getMenuIndex(target) + 1]?.$el.querySelector(`.${ns.b("node")}[tabindex="-1"]`);
224
- require_aria.focusNode(firstNode);
224
+ require_aria$1.focusNode(firstNode);
225
225
  break;
226
226
  }
227
- case require_aria$1.EVENT_CODE.enter:
228
- case require_aria$1.EVENT_CODE.numpadEnter: require_utils.checkNode(target);
227
+ case require_aria.EVENT_CODE.enter:
228
+ case require_aria.EVENT_CODE.numpadEnter: require_utils.checkNode(target);
229
229
  }
230
230
  };
231
231
  (0, vue.provide)(require_types$1.CASCADER_PANEL_INJECTION_KEY, (0, vue.reactive)({
@@ -1 +1 @@
1
- {"version":3,"file":"index.vue_vue_type_script_setup_true_lang.js","names":["cascaderPanelProps","cascaderPanelEmits","useNamespace","useCascaderConfig","useSlots","ref","computed","Store","isEmpty","Node","sortByOriginalOrder","isEqual","unique","flattenDeep","castArray","cloneDeep","isClient","getEventCode","EVENT_CODE","getMenuIndex","getSibling","CASCADER_PANEL_INJECTION_KEY","reactive","UPDATE_MODEL_EVENT","CHANGE_EVENT","_openBlock","_createElementBlock","_normalizeClass","_unref","_Fragment","_renderList","_createBlock","ElCascaderMenu","_withCtx","_renderSlot"],"sources":["../../../../../../packages/components/cascader-panel/src/index.vue"],"sourcesContent":["<template>\n <div\n :class=\"[ns.b('panel'), ns.is('bordered', border)]\"\n @keydown=\"handleKeyDown\"\n >\n <el-cascader-menu\n v-for=\"(menu, index) in menus\"\n :key=\"index\"\n :ref=\"(item) => (menuList[index] = item as CascaderMenuInstance)\"\n :index=\"index\"\n :nodes=\"[...menu]\"\n :virtual-scroll=\"virtualScroll\"\n :item-size=\"itemSize\"\n :height=\"height\"\n >\n <template #empty>\n <slot name=\"empty\" />\n </template>\n </el-cascader-menu>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onBeforeUpdate,\n onMounted,\n provide,\n reactive,\n ref,\n useSlots,\n watch,\n} from 'vue'\nimport { cloneDeep, flattenDeep, isEqual } from 'lodash-unified'\nimport {\n castArray,\n focusNode,\n getEventCode,\n getSibling,\n isClient,\n isEmpty,\n scrollIntoView,\n unique,\n} from '@element-plus/utils'\nimport {\n CHANGE_EVENT,\n EVENT_CODE,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { useNamespace } from '@element-plus/hooks'\nimport ElCascaderMenu from './menu.vue'\nimport Store from './store'\nimport Node from './node'\nimport {\n CASCADER_PANEL_HEIGHT,\n CASCADER_PANEL_ITEM_SIZE,\n cascaderPanelEmits,\n useCascaderConfig,\n} from './config'\nimport { checkNode, getMenuIndex, sortByOriginalOrder } from './utils'\nimport { CASCADER_PANEL_INJECTION_KEY } from './types'\n\nimport type {\n CascaderNode,\n CascaderNodeValue,\n CascaderOption,\n CascaderValue,\n ElCascaderPanelContext,\n} from './types'\nimport type { CascaderMenuInstance } from './instance'\nimport type { CascaderPanelProps } from './config'\n\ndefineOptions({\n name: 'ElCascaderPanel',\n})\n\nconst props = withDefaults(defineProps<CascaderPanelProps>(), {\n options: () => [],\n props: () => ({}),\n border: true,\n itemSize: CASCADER_PANEL_ITEM_SIZE,\n height: CASCADER_PANEL_HEIGHT,\n})\nconst emit = defineEmits(cascaderPanelEmits)\n\n// for interrupt sync check status in lazy mode\nlet manualChecked = false\n\nconst ns = useNamespace('cascader')\nconst config = useCascaderConfig(props)\nconst slots = useSlots()\n\nlet store: Store\nconst initialLoaded = ref(true)\nconst initialLoadedOnce = ref(false)\nconst menuList = ref<CascaderMenuInstance[]>([])\nconst checkedValue = ref<CascaderValue>()\nconst menus = ref<CascaderNode[][]>([])\nconst expandingNode = ref<CascaderNode>()\nconst checkedNodes = ref<CascaderNode[]>([])\n\nconst isHoverMenu = computed(() => config.value.expandTrigger === 'hover')\nconst renderLabelFn = computed(() => props.renderLabel || slots.default)\nconst virtualScroll = computed(() => props.virtualScroll)\nconst itemSize = computed(() => props.itemSize)\nconst height = computed(() => props.height)\n\nconst initStore = () => {\n const { options } = props\n const cfg = config.value\n\n manualChecked = false\n store = new Store(options, cfg)\n menus.value = [store.getNodes()]\n\n if (cfg.lazy && isEmpty(props.options)) {\n initialLoaded.value = false\n lazyLoad(undefined, (list) => {\n if (list) {\n store = new Store(list, cfg)\n menus.value = [store.getNodes()]\n }\n initialLoaded.value = true\n syncCheckedValue(false, true)\n })\n } else {\n syncCheckedValue(false, true)\n }\n}\n\nconst lazyLoad: ElCascaderPanelContext['lazyLoad'] = (node, cb) => {\n const cfg = config.value\n node! = node || new Node({}, cfg, undefined, true)\n node.loading = true\n\n const resolve = (dataList?: CascaderOption[]) => {\n const _node = node as Node\n const parent = _node.root ? null : _node\n _node.loading = false\n _node.loaded = true\n _node.childrenData = _node.childrenData || []\n dataList && store?.appendNodes(dataList, parent as Node)\n dataList && cb?.(dataList)\n if (node.level === 0) {\n initialLoadedOnce.value = true\n }\n }\n\n const reject = () => {\n node!.loading = false\n node!.loaded = false\n if (node!.level === 0) {\n initialLoaded.value = true\n }\n }\n\n cfg.lazyLoad(node, resolve, reject)\n}\n\nconst expandNode: ElCascaderPanelContext['expandNode'] = (node, silent) => {\n const { level } = node\n const newMenus = menus.value.slice(0, level)\n let newExpandingNode: CascaderNode\n\n if (node.isLeaf) {\n newExpandingNode = node.pathNodes[level - 2]\n } else {\n newExpandingNode = node\n newMenus.push(node.children)\n }\n\n if (expandingNode.value?.uid !== newExpandingNode?.uid) {\n expandingNode.value = node\n menus.value = newMenus\n !silent && emit('expand-change', node?.pathValues || [])\n }\n}\n\nconst handleCheckChange: ElCascaderPanelContext['handleCheckChange'] = (\n node,\n checked,\n emitClose = true\n) => {\n const { checkStrictly, multiple } = config.value\n const oldNode = checkedNodes.value[0]\n manualChecked = true\n\n !multiple && oldNode?.doCheck(false)\n node.doCheck(checked)\n calculateCheckedValue()\n emitClose && !multiple && !checkStrictly && emit('close')\n !emitClose && !multiple && expandParentNode(node)\n}\n\nconst expandParentNode = (node: Node | undefined) => {\n if (!node) return\n node = node.parent\n expandParentNode(node)\n node && expandNode(node)\n}\n\nconst getFlattedNodes = (leafOnly: boolean) => store?.getFlattedNodes(leafOnly)\n\nconst getCheckedNodes = (leafOnly: boolean) => {\n return getFlattedNodes(leafOnly)?.filter(({ checked }) => checked !== false)\n}\n\nconst clearCheckedNodes = () => {\n checkedNodes.value.forEach((node) => node.doCheck(false))\n calculateCheckedValue()\n menus.value = menus.value.slice(0, 1)\n expandingNode.value = undefined\n emit('expand-change', [])\n}\n\nconst calculateCheckedValue = () => {\n const { checkStrictly, multiple } = config.value\n const oldNodes = checkedNodes.value\n const newNodes = getCheckedNodes(!checkStrictly)!\n // ensure the original order\n const nodes = sortByOriginalOrder(oldNodes, newNodes)\n const values = nodes.map((node) => node.valueByOption)\n checkedNodes.value = nodes\n checkedValue.value = multiple ? values : (values[0] ?? null)\n}\n\nconst syncCheckedValue = (loaded = false, forced = false) => {\n const { modelValue } = props\n const { lazy, multiple, checkStrictly } = config.value\n const leafOnly = !checkStrictly\n\n if (\n !initialLoaded.value ||\n manualChecked ||\n (!forced && isEqual(modelValue, checkedValue.value))\n )\n return\n\n if (lazy && !loaded) {\n const values: CascaderNodeValue[] = unique(\n flattenDeep(castArray(modelValue as CascaderNodeValue[]))\n )\n const nodes = values\n .map((val) => store?.getNodeByValue(val))\n .filter((node) => !!node && !node.loaded && !node.loading) as Node[]\n\n if (nodes.length) {\n nodes.forEach((node) => {\n lazyLoad(node, () => syncCheckedValue(false, forced))\n })\n } else {\n syncCheckedValue(true, forced)\n }\n } else {\n const values = multiple ? castArray(modelValue) : [modelValue]\n const nodes = unique(\n values.map((val) =>\n store?.getNodeByValue(val as CascaderNodeValue, leafOnly)\n )\n ) as Node[]\n syncMenuState(nodes, forced)\n checkedValue.value = cloneDeep(modelValue ?? undefined)\n }\n}\n\nconst syncMenuState = (\n newCheckedNodes: CascaderNode[],\n reserveExpandingState = true\n) => {\n const { checkStrictly } = config.value\n const oldNodes = checkedNodes.value\n const newNodes = newCheckedNodes.filter(\n (node) => !!node && (checkStrictly || node.isLeaf)\n )\n const oldExpandingNode = store?.getSameNode(expandingNode.value!)\n const newExpandingNode =\n (reserveExpandingState && oldExpandingNode) || newNodes[0]\n\n if (newExpandingNode) {\n newExpandingNode.pathNodes.forEach((node) => expandNode(node, true))\n } else {\n expandingNode.value = undefined\n }\n\n oldNodes.forEach((node) => node.doCheck(false))\n reactive(newNodes).forEach((node) => node.doCheck(true))\n checkedNodes.value = newNodes\n nextTick(scrollToExpandingNode)\n}\n\nconst scrollToExpandingNode = () => {\n if (!isClient) return\n\n menuList.value.forEach((menu) => {\n const menuElement = menu?.$el\n if (menuElement) {\n // virtual scroll mode, use scrollToItem method\n if (virtualScroll.value) {\n const activeIndex = menu?.getActiveNodeIndex?.()\n if (activeIndex !== undefined && activeIndex >= 0) {\n menu?.scrollToItem?.(activeIndex)\n }\n } else {\n // logic for non-virtual scroll mode\n const container = menuElement.querySelector(\n `.${ns.namespace.value}-scrollbar__wrap`\n )\n let activeNode = menuElement.querySelector(\n `.${ns.b('node')}.in-active-path`\n )\n if (!activeNode) {\n const activeElements = menuElement.querySelectorAll(\n `.${ns.b('node')}.${ns.is('active')}`\n )\n activeNode = activeElements[activeElements.length - 1]\n }\n scrollIntoView(container, activeNode)\n }\n }\n })\n}\n\nconst handleKeyDown = (e: KeyboardEvent) => {\n const target = e.target as HTMLElement\n const code = getEventCode(e)\n\n switch (code) {\n case EVENT_CODE.up:\n case EVENT_CODE.down: {\n e.preventDefault()\n const distance = code === EVENT_CODE.up ? -1 : 1\n\n if (virtualScroll.value) {\n const menuIndex = getMenuIndex(target)\n const menu = menuList.value[menuIndex]\n if (menu) {\n // For virtual scroll, calculate the target index and use focusNodeAt\n const currentIndex = menu.getNodeIndexById(target.id)\n if (currentIndex >= 0) {\n const nodesInMenu = menus.value[menuIndex] ?? []\n const nodesCount = nodesInMenu.length\n // Find the next non-disabled node\n let targetIndex = currentIndex + distance\n while (targetIndex >= 0 && targetIndex < nodesCount) {\n if (!nodesInMenu[targetIndex].isDisabled) {\n menu.focusNodeAt(targetIndex)\n return\n }\n targetIndex += distance\n }\n }\n }\n }\n\n focusNode(\n getSibling(\n target,\n distance,\n `.${ns.b('node')}[tabindex=\"-1\"]`\n ) as HTMLElement\n )\n break\n }\n case EVENT_CODE.left: {\n e.preventDefault()\n const preMenu = menuList.value[getMenuIndex(target) - 1]\n const expandedNode = preMenu?.$el.querySelector(\n `.${ns.b('node')}[aria-expanded=\"true\"]`\n )\n focusNode(expandedNode)\n break\n }\n case EVENT_CODE.right: {\n e.preventDefault()\n const nextMenu = menuList.value[getMenuIndex(target) + 1]\n const firstNode = nextMenu?.$el.querySelector(\n `.${ns.b('node')}[tabindex=\"-1\"]`\n )\n focusNode(firstNode)\n break\n }\n case EVENT_CODE.enter:\n case EVENT_CODE.numpadEnter:\n checkNode(target)\n break\n }\n}\n\nprovide(\n CASCADER_PANEL_INJECTION_KEY,\n reactive({\n config,\n expandingNode,\n checkedNodes,\n isHoverMenu,\n initialLoaded,\n renderLabelFn,\n virtualScroll,\n itemSize,\n height,\n lazyLoad,\n expandNode,\n handleCheckChange,\n })\n)\n\nwatch(\n config,\n (newVal, oldVal) => {\n if (isEqual(newVal, oldVal)) return\n initStore()\n },\n {\n immediate: true,\n }\n)\n\nwatch(() => props.options, initStore, {\n deep: true,\n})\n\nwatch(\n () => props.modelValue,\n () => {\n manualChecked = false\n syncCheckedValue()\n },\n {\n deep: true,\n }\n)\n\nwatch(\n () => checkedValue.value,\n (val) => {\n if (!isEqual(val, props.modelValue)) {\n emit(UPDATE_MODEL_EVENT, val)\n emit(CHANGE_EVENT, val)\n }\n }\n)\n\nconst loadLazyRootNodes = () => {\n if (initialLoadedOnce.value || !initialLoaded.value) return\n initStore()\n}\n\nonBeforeUpdate(() => (menuList.value = []))\n\nonMounted(() => !isEmpty(props.modelValue) && syncCheckedValue())\n\ndefineExpose({\n menuList,\n menus,\n checkedNodes,\n handleKeyDown,\n handleCheckChange,\n getFlattedNodes,\n /**\n * @description get an array of currently selected node,(leafOnly) whether only return the leaf checked nodes, default is `false`\n */\n getCheckedNodes,\n /**\n * @description clear checked nodes\n */\n clearCheckedNodes,\n calculateCheckedValue,\n scrollToExpandingNode,\n loadLazyRootNodes,\n})\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;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c,GAAG;GACxB;EACF,CACF;EAEA,MAAM,0BAA0B;GAC9B,IAAI,kBAAkB,SAAS,CAAC,cAAc,OAAO;GACrD,UAAU;EACZ;EAEA,CAAA,GAAA,IAAA,eAAA,OAAsB,SAAS,QAAQ,CAAC,CAAE;EAE1C,CAAA,GAAA,IAAA,UAAA,OAAgB,CAAChB,cAAAA,QAAQ,MAAM,UAAU,KAAK,iBAAiB,CAAC;EAEhE,SAAa;GACX;GACA;GACA;GACA;GACA;GACA;;;;GAIA;;;;GAIA;GACA;GACA;GACA;EACF,CAAC;;GArdC,QAAA,GAAAiB,IAAAA,UAAAA,CAAA,IAAA,GAAAC,IAAAA,mBAAAA,CAkBM,OAAA;IAjBH,QAAA,GAAKC,IAAAA,eAAAA,CAAA,EAAA,GAAGC,IAAAA,MAAAA,CAAA,EAAA,CAAE,CAAC,EAAC,OAAA,IAAA,GAAWA,IAAAA,MAAAA,CAAA,EAAA,CAAE,CAAC,GAAE,YAAa,QAAA,MAAM,CAAA,CAAA;IAC/C,WAAS;G,SAEVH,IAAAA,UAAAA,CAAA,IAAA,IAAA,GAAAC,IAAAA,mBAAAA,CAamBG,IAAAA,UAAA,OAAA,GAAAC,IAAAA,WAAAA,CAZO,MAAA,QAAhB,MAAM,UAAK;IADrB,QAAA,GAAAL,IAAAA,UAAAA,CAAA,IAAA,GAAAM,IAAAA,YAAAA,CAamBC,aAAAA,SAAA;KAXhB,KAAK;;KACL,MAAM,SAAU,SAAA,MAAS,SAAS;KAC3B;KACP,OAAK,CAAA,GAAM,IAAI;KACf,kBAAgB,cAAA;KAChB,aAAW,SAAA;KACX,QAAQ,OAAA;;KAEE,QAAA,GAAKC,IAAAA,QAAAA,OACO,EAAA,GAArBC,IAAAA,WAAAA,CAAqB,KAAA,QAAA,OAAA,C"}
1
+ {"version":3,"file":"index.vue_vue_type_script_setup_true_lang.js","names":["cascaderPanelProps","cascaderPanelEmits","useNamespace","useCascaderConfig","useSlots","ref","computed","Store","isEmpty","Node","sortByOriginalOrder","isEqual","unique","flattenDeep","castArray","cloneDeep","isClient","getEventCode","EVENT_CODE","getMenuIndex","getSibling","CASCADER_PANEL_INJECTION_KEY","reactive","UPDATE_MODEL_EVENT","CHANGE_EVENT","_openBlock","_createElementBlock","_normalizeClass","_unref","_Fragment","_renderList","_createBlock","ElCascaderMenu","_withCtx","_renderSlot"],"sources":["../../../../../../packages/components/cascader-panel/src/index.vue"],"sourcesContent":["<template>\n <div\n :class=\"[ns.b('panel'), ns.is('bordered', border)]\"\n @keydown=\"handleKeyDown\"\n >\n <el-cascader-menu\n v-for=\"(menu, index) in menus\"\n :key=\"index\"\n :ref=\"(item) => (menuList[index] = item as CascaderMenuInstance)\"\n :index=\"index\"\n :nodes=\"[...menu]\"\n :virtual-scroll=\"virtualScroll\"\n :item-size=\"itemSize\"\n :height=\"height\"\n >\n <template #empty>\n <slot name=\"empty\" />\n </template>\n </el-cascader-menu>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onBeforeUpdate,\n onMounted,\n provide,\n reactive,\n ref,\n useSlots,\n watch,\n} from 'vue'\nimport { cloneDeep, flattenDeep, isEqual } from 'lodash-unified'\nimport {\n castArray,\n focusNode,\n getEventCode,\n getSibling,\n isClient,\n isEmpty,\n scrollIntoView,\n unique,\n} from '@element-plus/utils'\nimport {\n CHANGE_EVENT,\n EVENT_CODE,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { useNamespace } from '@element-plus/hooks'\nimport ElCascaderMenu from './menu.vue'\nimport Store from './store'\nimport Node from './node'\nimport {\n CASCADER_PANEL_HEIGHT,\n CASCADER_PANEL_ITEM_SIZE,\n cascaderPanelEmits,\n useCascaderConfig,\n} from './config'\nimport { checkNode, getMenuIndex, sortByOriginalOrder } from './utils'\nimport { CASCADER_PANEL_INJECTION_KEY } from './types'\n\nimport type {\n CascaderNode,\n CascaderNodeValue,\n CascaderOption,\n CascaderValue,\n ElCascaderPanelContext,\n} from './types'\nimport type { CascaderMenuInstance } from './instance'\nimport type { CascaderPanelProps } from './config'\n\ndefineOptions({\n name: 'ElCascaderPanel',\n})\n\nconst props = withDefaults(defineProps<CascaderPanelProps>(), {\n options: () => [],\n props: () => ({}),\n border: true,\n itemSize: CASCADER_PANEL_ITEM_SIZE,\n height: CASCADER_PANEL_HEIGHT,\n})\nconst emit = defineEmits(cascaderPanelEmits)\n\n// for interrupt sync check status in lazy mode\nlet manualChecked = false\n\nconst ns = useNamespace('cascader')\nconst config = useCascaderConfig(props)\nconst slots = useSlots()\n\nlet store: Store\nconst initialLoaded = ref(true)\nconst initialLoadedOnce = ref(false)\nconst menuList = ref<CascaderMenuInstance[]>([])\nconst checkedValue = ref<CascaderValue>()\nconst menus = ref<CascaderNode[][]>([])\nconst expandingNode = ref<CascaderNode>()\nconst checkedNodes = ref<CascaderNode[]>([])\n\nconst isHoverMenu = computed(() => config.value.expandTrigger === 'hover')\nconst renderLabelFn = computed(() => props.renderLabel || slots.default)\nconst virtualScroll = computed(() => props.virtualScroll)\nconst itemSize = computed(() => props.itemSize)\nconst height = computed(() => props.height)\n\nconst initStore = () => {\n const { options } = props\n const cfg = config.value\n\n manualChecked = false\n store = new Store(options, cfg)\n menus.value = [store.getNodes()]\n\n if (cfg.lazy && isEmpty(props.options)) {\n initialLoaded.value = false\n lazyLoad(undefined, (list) => {\n if (list) {\n store = new Store(list, cfg)\n menus.value = [store.getNodes()]\n }\n initialLoaded.value = true\n syncCheckedValue(false, true)\n })\n } else {\n syncCheckedValue(false, true)\n }\n}\n\nconst lazyLoad: ElCascaderPanelContext['lazyLoad'] = (node, cb) => {\n const cfg = config.value\n node! = node || new Node({}, cfg, undefined, true)\n node.loading = true\n\n const resolve = (dataList?: CascaderOption[]) => {\n const _node = node as Node\n const parent = _node.root ? null : _node\n _node.loading = false\n _node.loaded = true\n _node.childrenData = _node.childrenData || []\n dataList && store?.appendNodes(dataList, parent as Node)\n dataList && cb?.(dataList)\n if (node.level === 0) {\n initialLoadedOnce.value = true\n }\n }\n\n const reject = () => {\n node!.loading = false\n node!.loaded = false\n if (node!.level === 0) {\n initialLoaded.value = true\n }\n }\n\n cfg.lazyLoad(node, resolve, reject)\n}\n\nconst expandNode: ElCascaderPanelContext['expandNode'] = (node, silent) => {\n const { level } = node\n const newMenus = menus.value.slice(0, level)\n let newExpandingNode: CascaderNode\n\n if (node.isLeaf) {\n newExpandingNode = node.pathNodes[level - 2]\n } else {\n newExpandingNode = node\n newMenus.push(node.children)\n }\n\n if (expandingNode.value?.uid !== newExpandingNode?.uid) {\n expandingNode.value = node\n menus.value = newMenus\n !silent && emit('expand-change', node?.pathValues || [])\n }\n}\n\nconst handleCheckChange: ElCascaderPanelContext['handleCheckChange'] = (\n node,\n checked,\n emitClose = true\n) => {\n const { checkStrictly, multiple } = config.value\n const oldNode = checkedNodes.value[0]\n manualChecked = true\n\n !multiple && oldNode?.doCheck(false)\n node.doCheck(checked)\n calculateCheckedValue()\n emitClose && !multiple && !checkStrictly && emit('close')\n !emitClose && !multiple && expandParentNode(node)\n}\n\nconst expandParentNode = (node: Node | undefined) => {\n if (!node) return\n node = node.parent\n expandParentNode(node)\n node && expandNode(node)\n}\n\nconst getFlattedNodes = (leafOnly: boolean) => store?.getFlattedNodes(leafOnly)\n\nconst getCheckedNodes = (leafOnly: boolean) => {\n return getFlattedNodes(leafOnly)?.filter(({ checked }) => checked !== false)\n}\n\nconst clearCheckedNodes = () => {\n checkedNodes.value.forEach((node) => node.doCheck(false))\n calculateCheckedValue()\n menus.value = menus.value.slice(0, 1)\n expandingNode.value = undefined\n emit('expand-change', [])\n}\n\nconst calculateCheckedValue = () => {\n const { checkStrictly, multiple } = config.value\n const oldNodes = checkedNodes.value\n const newNodes = getCheckedNodes(!checkStrictly)!\n // ensure the original order\n const nodes = sortByOriginalOrder(oldNodes, newNodes)\n const values = nodes.map((node) => node.valueByOption)\n checkedNodes.value = nodes\n checkedValue.value = multiple ? values : (values[0] ?? null)\n}\n\nconst syncCheckedValue = (loaded = false, forced = false) => {\n const { modelValue } = props\n const { lazy, multiple, checkStrictly } = config.value\n const leafOnly = !checkStrictly\n\n if (\n !initialLoaded.value ||\n manualChecked ||\n (!forced && isEqual(modelValue, checkedValue.value))\n )\n return\n\n if (lazy && !loaded) {\n const values: CascaderNodeValue[] = unique(\n flattenDeep(castArray(modelValue as CascaderNodeValue[]))\n )\n const nodes = values\n .map((val) => store?.getNodeByValue(val))\n .filter((node) => !!node && !node.loaded && !node.loading) as Node[]\n\n if (nodes.length) {\n nodes.forEach((node) => {\n lazyLoad(node, () => syncCheckedValue(false, forced))\n })\n } else {\n syncCheckedValue(true, forced)\n }\n } else {\n const values = multiple ? castArray(modelValue) : [modelValue]\n const nodes = unique(\n values.map((val) =>\n store?.getNodeByValue(val as CascaderNodeValue, leafOnly)\n )\n ) as Node[]\n syncMenuState(nodes, forced)\n checkedValue.value = cloneDeep(modelValue ?? undefined)\n }\n}\n\nconst syncMenuState = (\n newCheckedNodes: CascaderNode[],\n reserveExpandingState = true\n) => {\n const { checkStrictly } = config.value\n const oldNodes = checkedNodes.value\n const newNodes = newCheckedNodes.filter(\n (node) => !!node && (checkStrictly || node.isLeaf)\n )\n const oldExpandingNode = store?.getSameNode(expandingNode.value!)\n const newExpandingNode =\n (reserveExpandingState && oldExpandingNode) || newNodes[0]\n\n if (newExpandingNode) {\n newExpandingNode.pathNodes.forEach((node) => expandNode(node, true))\n } else {\n expandingNode.value = undefined\n }\n\n oldNodes.forEach((node) => node.doCheck(false))\n reactive(newNodes).forEach((node) => node.doCheck(true))\n checkedNodes.value = newNodes\n nextTick(scrollToExpandingNode)\n}\n\nconst scrollToExpandingNode = () => {\n if (!isClient) return\n\n menuList.value.forEach((menu) => {\n const menuElement = menu?.$el\n if (menuElement) {\n // virtual scroll mode, use scrollToItem method\n if (virtualScroll.value) {\n const activeIndex = menu?.getActiveNodeIndex?.()\n if (activeIndex !== undefined && activeIndex >= 0) {\n menu?.scrollToItem?.(activeIndex)\n }\n } else {\n // logic for non-virtual scroll mode\n const container = menuElement.querySelector(\n `.${ns.namespace.value}-scrollbar__wrap`\n )\n let activeNode = menuElement.querySelector(\n `.${ns.b('node')}.in-active-path`\n )\n if (!activeNode) {\n const activeElements = menuElement.querySelectorAll(\n `.${ns.b('node')}.${ns.is('active')}`\n )\n activeNode = activeElements[activeElements.length - 1]\n }\n scrollIntoView(container, activeNode)\n }\n }\n })\n}\n\nconst handleKeyDown = (e: KeyboardEvent) => {\n const target = e.target as HTMLElement\n const code = getEventCode(e)\n\n switch (code) {\n case EVENT_CODE.up:\n case EVENT_CODE.down: {\n e.preventDefault()\n const distance = code === EVENT_CODE.up ? -1 : 1\n\n if (virtualScroll.value) {\n const menuIndex = getMenuIndex(target)\n const menu = menuList.value[menuIndex]\n if (menu) {\n // For virtual scroll, calculate the target index and use focusNodeAt\n const currentIndex = menu.getNodeIndexById(target.id)\n if (currentIndex >= 0) {\n const nodesInMenu = menus.value[menuIndex] ?? []\n const nodesCount = nodesInMenu.length\n // Find the next non-disabled node\n let targetIndex = currentIndex + distance\n while (targetIndex >= 0 && targetIndex < nodesCount) {\n if (!nodesInMenu[targetIndex].isDisabled) {\n menu.focusNodeAt(targetIndex)\n return\n }\n targetIndex += distance\n }\n }\n }\n }\n\n focusNode(\n getSibling(\n target,\n distance,\n `.${ns.b('node')}[tabindex=\"-1\"]`\n ) as HTMLElement\n )\n break\n }\n case EVENT_CODE.left: {\n e.preventDefault()\n const preMenu = menuList.value[getMenuIndex(target) - 1]\n const expandedNode = preMenu?.$el.querySelector(\n `.${ns.b('node')}[aria-expanded=\"true\"]`\n )\n focusNode(expandedNode)\n break\n }\n case EVENT_CODE.right: {\n e.preventDefault()\n const nextMenu = menuList.value[getMenuIndex(target) + 1]\n const firstNode = nextMenu?.$el.querySelector(\n `.${ns.b('node')}[tabindex=\"-1\"]`\n )\n focusNode(firstNode)\n break\n }\n case EVENT_CODE.enter:\n case EVENT_CODE.numpadEnter:\n checkNode(target)\n break\n }\n}\n\nprovide(\n CASCADER_PANEL_INJECTION_KEY,\n reactive({\n config,\n expandingNode,\n checkedNodes,\n isHoverMenu,\n initialLoaded,\n renderLabelFn,\n virtualScroll,\n itemSize,\n height,\n lazyLoad,\n expandNode,\n handleCheckChange,\n })\n)\n\nwatch(\n config,\n (newVal, oldVal) => {\n if (isEqual(newVal, oldVal)) return\n initStore()\n },\n {\n immediate: true,\n }\n)\n\nwatch(() => props.options, initStore, {\n deep: true,\n})\n\nwatch(\n () => props.modelValue,\n () => {\n manualChecked = false\n syncCheckedValue()\n },\n {\n deep: true,\n }\n)\n\nwatch(\n () => checkedValue.value,\n (val) => {\n if (!isEqual(val, props.modelValue)) {\n emit(UPDATE_MODEL_EVENT, val)\n emit(CHANGE_EVENT, val)\n }\n }\n)\n\nconst loadLazyRootNodes = () => {\n if (initialLoadedOnce.value || !initialLoaded.value) return\n initStore()\n}\n\nonBeforeUpdate(() => (menuList.value = []))\n\nonMounted(() => !isEmpty(props.modelValue) && syncCheckedValue())\n\ndefineExpose({\n menuList,\n menus,\n checkedNodes,\n handleKeyDown,\n handleCheckChange,\n getFlattedNodes,\n /**\n * @description get an array of currently selected node,(leafOnly) whether only return the leaf checked nodes, default is `false`\n */\n getCheckedNodes,\n /**\n * @description clear checked nodes\n */\n clearCheckedNodes,\n calculateCheckedValue,\n scrollToExpandingNode,\n loadLazyRootNodes,\n})\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;EA6EA,MAAM,QAAQ;EAOd,MAAM,OAAO;EAGb,IAAI,gBAAgB;EAEpB,MAAM,KAAKE,cAAAA,aAAa,UAAU;EAClC,MAAM,SAASC,eAAAA,kBAAkB,KAAK;EACtC,MAAM,SAAA,GAAQC,IAAAA,SAAAA,CAAS;EAEvB,IAAI;EACJ,MAAM,iBAAA,GAAgBC,IAAAA,IAAAA,CAAI,IAAI;EAC9B,MAAM,qBAAA,GAAoBA,IAAAA,IAAAA,CAAI,KAAK;EACnC,MAAM,YAAA,GAAWA,IAAAA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AC;;GArdC,QAAA,GAAAiB,IAAAA,UAAAA,CAAA,IAAA,GAAAC,IAAAA,mBAAAA,CAkBM,OAAA;IAjBH,QAAA,GAAKC,IAAAA,eAAAA,CAAA,EAAA,GAAGC,IAAAA,MAAAA,CAAA,EAAA,CAAE,CAAC,EAAC,OAAA,IAAA,GAAWA,IAAAA,MAAAA,CAAA,EAAA,CAAE,CAAC,GAAE,YAAa,QAAA,MAAM,CAAA,CAAA;IAC/C,WAAS;G,SAEVH,IAAAA,UAAAA,CAAA,IAAA,IAAA,GAAAC,IAAAA,mBAAAA,CAamBG,IAAAA,UAAA,OAAA,GAAAC,IAAAA,WAAAA,CAZO,MAAA,QAAhB,MAAM,UAAK;IADrB,QAAA,GAAAL,IAAAA,UAAAA,CAAA,IAAA,GAAAM,IAAAA,YAAAA,CAamBC,aAAAA,SAAA;KAXhB,KAAK;;KACL,MAAM,SAAU,SAAA,MAAS,SAAS;KAC3B;KACP,OAAK,CAAA,GAAM,IAAI;KACf,kBAAgB,cAAA;KAChB,aAAW,SAAA;KACX,QAAQ,OAAA;;KAEE,QAAA,GAAKC,IAAAA,QAAAA,OACO,EAAA,GAArBC,IAAAA,WAAAA,CAAqB,KAAA,QAAA,OAAA,C"}
@@ -25,8 +25,8 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_Props, {
25
25
  readonly $el: HTMLElement;
26
26
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
27
27
  height: number;
28
- itemSize: number;
29
28
  virtualScroll: boolean;
29
+ itemSize: number;
30
30
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
31
31
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
32
  declare const _default: typeof __VLS_export;
@@ -23,7 +23,7 @@ interface CheckTagProps {
23
23
  declare const checkTagProps: {
24
24
  readonly checked: BooleanConstructor;
25
25
  readonly disabled: BooleanConstructor;
26
- readonly type: EpPropFinalized<StringConstructor, "success" | "info" | "primary" | "warning" | "danger", unknown, "primary", boolean>;
26
+ readonly type: EpPropFinalized<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown, "primary", boolean>;
27
27
  };
28
28
  /**
29
29
  * @deprecated Removed after 3.0.0, Use `CheckTagProps` instead.
@@ -15,7 +15,7 @@ declare const __VLS_base: _$vue.DefineComponent<CheckTagProps, {}, {}, {}, {}, _
15
15
  onChange?: ((value: boolean) => any) | undefined;
16
16
  "onUpdate:checked"?: ((value: boolean) => any) | undefined;
17
17
  }>, {
18
- type: "success" | "info" | "primary" | "warning" | "danger";
18
+ type: "primary" | "success" | "warning" | "info" | "danger";
19
19
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
@@ -9,17 +9,17 @@ declare const __VLS_template: () => {
9
9
  };
10
10
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
11
11
  declare const __VLS_base: _$vue.DefineComponent<CheckboxProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
12
- change: (val: CheckboxValueType) => void;
13
12
  "update:modelValue": (val: CheckboxValueType) => void;
13
+ change: (val: CheckboxValueType) => void;
14
14
  }, string, _$vue.PublicProps, Readonly<CheckboxProps> & Readonly<{
15
- onChange?: ((val: CheckboxValueType) => any) | undefined;
16
15
  "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
16
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
17
17
  }>, {
18
- name: string;
19
18
  disabled: boolean;
20
19
  id: string;
21
20
  modelValue: string | number | boolean;
22
21
  validateEvent: boolean;
22
+ name: string;
23
23
  value: string | number | boolean | object;
24
24
  label: string | number | boolean | object;
25
25
  trueValue: string | number;
@@ -68,7 +68,7 @@ declare const checkboxGroupProps: {
68
68
  readonly min: NumberConstructor;
69
69
  readonly max: NumberConstructor;
70
70
  readonly size: {
71
- readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
71
+ readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
72
72
  readonly required: false;
73
73
  readonly validator: ((val: unknown) => boolean) | undefined;
74
74
  __epPropKey: true;
@@ -10,19 +10,19 @@ declare const __VLS_template: () => {
10
10
  };
11
11
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
12
12
  declare const __VLS_base: _$vue.DefineComponent<CheckboxGroupProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
13
- change: (val: CheckboxValueType[]) => void;
14
13
  "update:modelValue": (val: CheckboxGroupValueType) => void;
14
+ change: (val: CheckboxValueType[]) => void;
15
15
  }, string, _$vue.PublicProps, Readonly<CheckboxGroupProps> & Readonly<{
16
- onChange?: ((val: CheckboxValueType[]) => any) | undefined;
17
16
  "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
17
+ onChange?: ((val: CheckboxValueType[]) => any) | undefined;
18
18
  }>, {
19
+ type: "button" | "checkbox";
20
+ disabled: boolean;
19
21
  props: {
20
22
  value?: string;
21
23
  label?: string;
22
24
  disabled?: string;
23
25
  };
24
- type: "button" | "checkbox";
25
- disabled: boolean;
26
26
  modelValue: CheckboxGroupValueType;
27
27
  validateEvent: boolean;
28
28
  tag: string;
@@ -84,21 +84,21 @@ declare const checkboxProps: {
84
84
  * @description binding value
85
85
  */
86
86
  modelValue: {
87
- type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
87
+ type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
88
88
  default: undefined;
89
89
  };
90
90
  /**
91
91
  * @description label of the Checkbox when used inside a `checkbox-group`
92
92
  */
93
93
  label: {
94
- type: (BooleanConstructor | ObjectConstructor | NumberConstructor | StringConstructor)[];
94
+ type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
95
95
  default: undefined;
96
96
  };
97
97
  /**
98
98
  * @description value of the Checkbox when used inside a `checkbox-group`
99
99
  */
100
100
  value: {
101
- type: (BooleanConstructor | ObjectConstructor | NumberConstructor | StringConstructor)[];
101
+ type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
102
102
  default: undefined;
103
103
  };
104
104
  /**
@@ -127,14 +127,14 @@ declare const checkboxProps: {
127
127
  * @description value of the Checkbox if it's checked
128
128
  */
129
129
  trueValue: {
130
- type: (NumberConstructor | StringConstructor)[];
130
+ type: (StringConstructor | NumberConstructor)[];
131
131
  default: undefined;
132
132
  };
133
133
  /**
134
134
  * @description value of the Checkbox if it's not checked
135
135
  */
136
136
  falseValue: {
137
- type: (NumberConstructor | StringConstructor)[];
137
+ type: (StringConstructor | NumberConstructor)[];
138
138
  default: undefined;
139
139
  };
140
140
  /**
@@ -142,7 +142,7 @@ declare const checkboxProps: {
142
142
  * @description value of the Checkbox if it's checked
143
143
  */
144
144
  trueLabel: {
145
- type: (NumberConstructor | StringConstructor)[];
145
+ type: (StringConstructor | NumberConstructor)[];
146
146
  default: undefined;
147
147
  };
148
148
  /**
@@ -150,7 +150,7 @@ declare const checkboxProps: {
150
150
  * @description value of the Checkbox if it's not checked
151
151
  */
152
152
  falseLabel: {
153
- type: (NumberConstructor | StringConstructor)[];
153
+ type: (StringConstructor | NumberConstructor)[];
154
154
  default: undefined;
155
155
  };
156
156
  /**
@@ -168,7 +168,7 @@ declare const checkboxProps: {
168
168
  * @description size of the Checkbox
169
169
  */
170
170
  size: {
171
- readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
171
+ readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
172
172
  readonly required: false;
173
173
  readonly validator: ((val: unknown) => boolean) | undefined;
174
174
  __epPropKey: true;
@@ -176,7 +176,7 @@ declare const checkboxProps: {
176
176
  /**
177
177
  * @description input tabindex
178
178
  */
179
- tabindex: (NumberConstructor | StringConstructor)[];
179
+ tabindex: (StringConstructor | NumberConstructor)[];
180
180
  /**
181
181
  * @description whether to trigger form validation
182
182
  */
@@ -9,17 +9,17 @@ declare const __VLS_template: () => {
9
9
  };
10
10
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
11
11
  declare const __VLS_base: _$vue.DefineComponent<CheckboxProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
12
- change: (val: CheckboxValueType) => void;
13
12
  "update:modelValue": (val: CheckboxValueType) => void;
13
+ change: (val: CheckboxValueType) => void;
14
14
  }, string, _$vue.PublicProps, Readonly<CheckboxProps> & Readonly<{
15
- onChange?: ((val: CheckboxValueType) => any) | undefined;
16
15
  "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
16
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
17
17
  }>, {
18
- name: string;
19
18
  disabled: boolean;
20
19
  id: string;
21
20
  modelValue: string | number | boolean;
22
21
  validateEvent: boolean;
22
+ name: string;
23
23
  value: string | number | boolean | object;
24
24
  label: string | number | boolean | object;
25
25
  trueValue: string | number;
@@ -7,10 +7,10 @@ import { ComponentInternalInstance } from "vue";
7
7
  declare const useCheckboxStatus: (props: CheckboxProps, slots: ComponentInternalInstance["slots"], {
8
8
  model
9
9
  }: Pick<CheckboxModel, "model">) => {
10
- checkboxButtonSize: _$vue.ComputedRef<"" | "default" | "large" | "small">;
10
+ checkboxButtonSize: _$vue.ComputedRef<"" | "default" | "small" | "large">;
11
11
  isChecked: _$vue.ComputedRef<boolean>;
12
12
  isFocused: _$vue.Ref<boolean, boolean>;
13
- checkboxSize: _$vue.ComputedRef<"" | "default" | "large" | "small">;
13
+ checkboxSize: _$vue.ComputedRef<"" | "default" | "small" | "large">;
14
14
  hasOwnLabel: _$vue.ComputedRef<boolean>;
15
15
  actualValue: _$vue.ComputedRef<string | number | boolean | object | undefined>;
16
16
  };
@@ -9,8 +9,8 @@ declare const useCheckbox: (props: CheckboxProps, slots: ComponentInternalInstan
9
9
  isChecked: _$vue.ComputedRef<boolean>;
10
10
  isDisabled: _$vue.ComputedRef<boolean>;
11
11
  isFocused: _$vue.Ref<boolean, boolean>;
12
- checkboxButtonSize: _$vue.ComputedRef<"" | "default" | "large" | "small">;
13
- checkboxSize: _$vue.ComputedRef<"" | "default" | "large" | "small">;
12
+ checkboxButtonSize: _$vue.ComputedRef<"" | "default" | "small" | "large">;
13
+ checkboxSize: _$vue.ComputedRef<"" | "default" | "small" | "large">;
14
14
  hasOwnLabel: _$vue.ComputedRef<boolean>;
15
15
  model: _$vue.WritableComputedRef<any, unknown>;
16
16
  actualValue: _$vue.ComputedRef<string | number | boolean | object | undefined>;
@@ -20,8 +20,8 @@ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
20
20
  declare const __VLS_base: _$vue.DefineComponent<CollapseItemProps, {
21
21
  /** @description current collapse-item whether active */isActive: _$vue.ComputedRef<boolean | undefined>;
22
22
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<CollapseItemProps> & Readonly<{}>, {
23
- title: string;
24
23
  icon: IconPropType;
24
+ title: string;
25
25
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
26
26
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
27
  declare const _default: typeof __VLS_export;
@@ -12,11 +12,11 @@ declare const __VLS_base: _$vue.DefineComponent<CollapseProps, {
12
12
  /** @description active names */activeNames: _$vue.Ref<(string | number)[], (string | number)[]>; /** @description set active names */
13
13
  setActiveNames: (_activeNames: CollapseActiveName[]) => void;
14
14
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
15
- change: (value: CollapseModelValue) => void;
16
15
  "update:modelValue": (value: CollapseModelValue) => void;
16
+ change: (value: CollapseModelValue) => void;
17
17
  }, string, _$vue.PublicProps, Readonly<CollapseProps> & Readonly<{
18
- onChange?: ((value: CollapseModelValue) => any) | undefined;
19
18
  "onUpdate:modelValue"?: ((value: CollapseModelValue) => any) | undefined;
19
+ onChange?: ((value: CollapseModelValue) => any) | undefined;
20
20
  }>, {
21
21
  modelValue: CollapseModelValue;
22
22
  expandIconPosition: CollapseIconPositionType;
@@ -84,7 +84,7 @@ declare const colorPickerProps: {
84
84
  readonly id: StringConstructor;
85
85
  readonly showAlpha: BooleanConstructor;
86
86
  readonly colorFormat: {
87
- readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => "name" | "rgb" | "prgb" | "hex" | "hex3" | "hex4" | "hex6" | "hex8" | "hsl" | "hsv" | "cmyk") | (() => ColorFormats) | (((new (...args: any[]) => "name" | "rgb" | "prgb" | "hex" | "hex3" | "hex4" | "hex6" | "hex8" | "hsl" | "hsv" | "cmyk") | (() => ColorFormats)) | null)[], unknown, unknown>>;
87
+ readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => "name" | "rgb" | "prgb" | "hex" | "hex3" | "hex4" | "hex6" | "hex8" | "hsl" | "hsv" | "oklch" | "cmyk") | (() => ColorFormats) | (((new (...args: any[]) => "name" | "rgb" | "prgb" | "hex" | "hex3" | "hex4" | "hex6" | "hex8" | "hsl" | "hsv" | "oklch" | "cmyk") | (() => ColorFormats)) | null)[], unknown, unknown>>;
88
88
  readonly required: false;
89
89
  readonly validator: ((val: unknown) => boolean) | undefined;
90
90
  __epPropKey: true;
@@ -92,7 +92,7 @@ declare const colorPickerProps: {
92
92
  readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
93
93
  readonly clearable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
94
94
  readonly size: {
95
- readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
95
+ readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
96
96
  readonly required: false;
97
97
  readonly validator: ((val: unknown) => boolean) | undefined;
98
98
  __epPropKey: true;
@@ -30,16 +30,16 @@ declare const __VLS_export: _$vue.DefineComponent<ColorPickerProps, {
30
30
  */
31
31
  blur: typeof blur;
32
32
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
33
- change: (val: string | null) => void;
34
33
  clear: () => void;
35
34
  "update:modelValue": (val: string | null) => void;
35
+ change: (val: string | null) => void;
36
36
  focus: (evt: FocusEvent) => void;
37
37
  blur: (evt: FocusEvent) => void;
38
38
  activeChange: (val: string | null) => void;
39
39
  }, string, _$vue.PublicProps, Readonly<ColorPickerProps> & Readonly<{
40
- onChange?: ((val: string | null) => any) | undefined;
41
40
  onClear?: (() => any) | undefined;
42
41
  "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
42
+ onChange?: ((val: string | null) => any) | undefined;
43
43
  onFocus?: ((evt: FocusEvent) => any) | undefined;
44
44
  onBlur?: ((evt: FocusEvent) => any) | undefined;
45
45
  onActiveChange?: ((val: string | null) => any) | undefined;
@@ -1,16 +1,16 @@
1
1
  const require_aria = require("../../../constants/aria.js");
2
2
  const require_event = require("../../../constants/event.js");
3
3
  const require_event$1 = require("../../../utils/dom/event.js");
4
- const require_index = require("../../../hooks/use-locale/index.js");
5
- const require_index$1 = require("../../../hooks/use-namespace/index.js");
6
- const require_index$2 = require("../../../hooks/use-focus-controller/index.js");
7
- const require_index$3 = require("../../../hooks/use-empty-values/index.js");
8
- const require_index$4 = require("../../icon/index.js");
4
+ const require_index = require("../../../directives/click-outside/index.js");
5
+ const require_index$1 = require("../../../hooks/use-locale/index.js");
6
+ const require_index$2 = require("../../../hooks/use-namespace/index.js");
7
+ const require_index$3 = require("../../../hooks/use-focus-controller/index.js");
8
+ const require_index$4 = require("../../../hooks/use-empty-values/index.js");
9
+ const require_index$5 = require("../../icon/index.js");
9
10
  const require_use_form_common_props = require("../../form/src/hooks/use-form-common-props.js");
10
11
  const require_use_form_item = require("../../form/src/hooks/use-form-item.js");
11
- const require_index$5 = require("../../tooltip/index.js");
12
- const require_index$6 = require("../../button/index.js");
13
- const require_index$7 = require("../../../directives/click-outside/index.js");
12
+ const require_index$6 = require("../../tooltip/index.js");
13
+ const require_index$7 = require("../../button/index.js");
14
14
  const require_color_picker_panel = require("../../color-picker-panel/src/color-picker-panel.js");
15
15
  const require_color = require("../../color-picker-panel/src/utils/color.js");
16
16
  const require_use_common_color = require("../../color-picker-panel/src/composables/use-common-color.js");
@@ -38,12 +38,12 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0,
38
38
  setup(__props, { expose: __expose, emit: __emit }) {
39
39
  const props = __props;
40
40
  const emit = __emit;
41
- const { t } = require_index.useLocale();
42
- const ns = require_index$1.useNamespace("color");
41
+ const { t } = require_index$1.useLocale();
42
+ const ns = require_index$2.useNamespace("color");
43
43
  const { formItem } = require_use_form_item.useFormItem();
44
44
  const colorSize = require_use_form_common_props.useFormSize();
45
45
  const colorDisabled = require_use_form_common_props.useFormDisabled();
46
- const { valueOnClear, isEmptyValue } = require_index$3.useEmptyValues(props, null);
46
+ const { valueOnClear, isEmptyValue } = require_index$4.useEmptyValues(props, null);
47
47
  const commonColor = require_use_common_color.useCommonColor(props, emit);
48
48
  const { inputId: buttonId, isLabeledByFormItem } = require_use_form_item.useFormItemInputId(props, { formItemContext: formItem });
49
49
  const popper = (0, vue.ref)();
@@ -52,7 +52,7 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0,
52
52
  const showPicker = (0, vue.ref)(false);
53
53
  const showPanelColor = (0, vue.ref)(false);
54
54
  let shouldActiveChange = true;
55
- const { isFocused, handleFocus, handleBlur } = require_index$2.useFocusController(triggerRef, {
55
+ const { isFocused, handleFocus, handleBlur } = require_index$3.useFocusController(triggerRef, {
56
56
  disabled: colorDisabled,
57
57
  beforeBlur(event) {
58
58
  return popper.value?.isFocusInsideContent(event);
@@ -214,7 +214,7 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0,
214
214
  blur
215
215
  });
216
216
  return (_ctx, _cache) => {
217
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$5.ElTooltip), {
217
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$6.ElTooltip), {
218
218
  ref_key: "popper",
219
219
  ref: popper,
220
220
  visible: showPicker.value,
@@ -250,7 +250,7 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0,
250
250
  "validate-event": false,
251
251
  onKeydown: (0, vue.withKeys)(handleEsc, ["esc"])
252
252
  }), {
253
- footer: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", null, [__props.clearable ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$6.ElButton), {
253
+ footer: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", null, [__props.clearable ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$7.ElButton), {
254
254
  key: 0,
255
255
  class: (0, vue.normalizeClass)((0, vue.unref)(ns).be("footer", "link-btn")),
256
256
  text: "",
@@ -259,7 +259,7 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0,
259
259
  }, {
260
260
  default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(t)("el.colorpicker.clear")), 1)]),
261
261
  _: 1
262
- }, 8, ["class"])) : (0, vue.createCommentVNode)("v-if", true), (0, vue.createVNode)((0, vue.unref)(require_index$6.ElButton), {
262
+ }, 8, ["class"])) : (0, vue.createCommentVNode)("v-if", true), (0, vue.createVNode)((0, vue.unref)(require_index$7.ElButton), {
263
263
  plain: "",
264
264
  size: "small",
265
265
  class: (0, vue.normalizeClass)((0, vue.unref)(ns).be("footer", "btn")),
@@ -270,7 +270,7 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0,
270
270
  }, 8, ["class"])])]),
271
271
  _: 1
272
272
  }, 16)), [[
273
- (0, vue.unref)(require_index$7.default),
273
+ (0, vue.unref)(require_index.default),
274
274
  handleClickOutside,
275
275
  triggerRef.value
276
276
  ]])]),
@@ -295,10 +295,10 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0,
295
295
  }, [(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)([(0, vue.unref)(ns).be("picker", "color"), (0, vue.unref)(ns).is("alpha", __props.showAlpha)]) }, [(0, vue.createElementVNode)("span", {
296
296
  class: (0, vue.normalizeClass)((0, vue.unref)(ns).be("picker", "color-inner")),
297
297
  style: (0, vue.normalizeStyle)({ backgroundColor: displayedColor.value })
298
- }, [(0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(require_index$4.ElIcon), { class: (0, vue.normalizeClass)([(0, vue.unref)(ns).be("picker", "icon"), (0, vue.unref)(ns).is("icon-arrow-down")]) }, {
298
+ }, [(0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(require_index$5.ElIcon), { class: (0, vue.normalizeClass)([(0, vue.unref)(ns).be("picker", "icon"), (0, vue.unref)(ns).is("icon-arrow-down")]) }, {
299
299
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.ArrowDown))]),
300
300
  _: 1
301
- }, 8, ["class"]), [[vue.vShow, __props.modelValue || showPanelColor.value]]), (0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(require_index$4.ElIcon), { class: (0, vue.normalizeClass)([(0, vue.unref)(ns).be("picker", "empty"), (0, vue.unref)(ns).is("icon-close")]) }, {
301
+ }, 8, ["class"]), [[vue.vShow, __props.modelValue || showPanelColor.value]]), (0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(require_index$5.ElIcon), { class: (0, vue.normalizeClass)([(0, vue.unref)(ns).be("picker", "empty"), (0, vue.unref)(ns).is("icon-close")]) }, {
302
302
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.Close))]),
303
303
  _: 1
304
304
  }, 8, ["class"]), [[vue.vShow, !__props.modelValue && !showPanelColor.value]])], 6)], 2)], 2)], 16, _hoisted_1)]),