@element-plus/nightly 0.0.20260423 → 0.0.20260425

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 (674) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +4763 -4445
  4. package/dist/index.full.min.js +11 -11
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +10 -10
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +4762 -4446
  9. package/dist/locale/af.js +1 -1
  10. package/dist/locale/af.min.js +1 -1
  11. package/dist/locale/af.min.mjs +1 -1
  12. package/dist/locale/af.mjs +1 -1
  13. package/dist/locale/ar-eg.js +1 -1
  14. package/dist/locale/ar-eg.min.js +1 -1
  15. package/dist/locale/ar-eg.min.mjs +1 -1
  16. package/dist/locale/ar-eg.mjs +1 -1
  17. package/dist/locale/ar.js +1 -1
  18. package/dist/locale/ar.min.js +1 -1
  19. package/dist/locale/ar.min.mjs +1 -1
  20. package/dist/locale/ar.mjs +1 -1
  21. package/dist/locale/az.js +1 -1
  22. package/dist/locale/az.min.js +1 -1
  23. package/dist/locale/az.min.mjs +1 -1
  24. package/dist/locale/az.mjs +1 -1
  25. package/dist/locale/bg.js +1 -1
  26. package/dist/locale/bg.min.js +1 -1
  27. package/dist/locale/bg.min.mjs +1 -1
  28. package/dist/locale/bg.mjs +1 -1
  29. package/dist/locale/bn.js +1 -1
  30. package/dist/locale/bn.min.js +1 -1
  31. package/dist/locale/bn.min.mjs +1 -1
  32. package/dist/locale/bn.mjs +1 -1
  33. package/dist/locale/ca.js +1 -1
  34. package/dist/locale/ca.min.js +1 -1
  35. package/dist/locale/ca.min.mjs +1 -1
  36. package/dist/locale/ca.mjs +1 -1
  37. package/dist/locale/ckb.js +1 -1
  38. package/dist/locale/ckb.min.js +1 -1
  39. package/dist/locale/ckb.min.mjs +1 -1
  40. package/dist/locale/ckb.mjs +1 -1
  41. package/dist/locale/cs.js +1 -1
  42. package/dist/locale/cs.min.js +1 -1
  43. package/dist/locale/cs.min.mjs +1 -1
  44. package/dist/locale/cs.mjs +1 -1
  45. package/dist/locale/da.js +1 -1
  46. package/dist/locale/da.min.js +1 -1
  47. package/dist/locale/da.min.mjs +1 -1
  48. package/dist/locale/da.mjs +1 -1
  49. package/dist/locale/de.js +1 -1
  50. package/dist/locale/de.min.js +1 -1
  51. package/dist/locale/de.min.mjs +1 -1
  52. package/dist/locale/de.mjs +1 -1
  53. package/dist/locale/el.js +1 -1
  54. package/dist/locale/el.min.js +1 -1
  55. package/dist/locale/el.min.mjs +1 -1
  56. package/dist/locale/el.mjs +1 -1
  57. package/dist/locale/en.js +1 -1
  58. package/dist/locale/en.min.js +1 -1
  59. package/dist/locale/en.min.mjs +1 -1
  60. package/dist/locale/en.mjs +1 -1
  61. package/dist/locale/eo.js +1 -1
  62. package/dist/locale/eo.min.js +1 -1
  63. package/dist/locale/eo.min.mjs +1 -1
  64. package/dist/locale/eo.mjs +1 -1
  65. package/dist/locale/es.js +1 -1
  66. package/dist/locale/es.min.js +1 -1
  67. package/dist/locale/es.min.mjs +1 -1
  68. package/dist/locale/es.mjs +1 -1
  69. package/dist/locale/et.js +1 -1
  70. package/dist/locale/et.min.js +1 -1
  71. package/dist/locale/et.min.mjs +1 -1
  72. package/dist/locale/et.mjs +1 -1
  73. package/dist/locale/eu.js +1 -1
  74. package/dist/locale/eu.min.js +1 -1
  75. package/dist/locale/eu.min.mjs +1 -1
  76. package/dist/locale/eu.mjs +1 -1
  77. package/dist/locale/fa.js +1 -1
  78. package/dist/locale/fa.min.js +1 -1
  79. package/dist/locale/fa.min.mjs +1 -1
  80. package/dist/locale/fa.mjs +1 -1
  81. package/dist/locale/fi.js +1 -1
  82. package/dist/locale/fi.min.js +1 -1
  83. package/dist/locale/fi.min.mjs +1 -1
  84. package/dist/locale/fi.mjs +1 -1
  85. package/dist/locale/fr.js +1 -1
  86. package/dist/locale/fr.min.js +1 -1
  87. package/dist/locale/fr.min.mjs +1 -1
  88. package/dist/locale/fr.mjs +1 -1
  89. package/dist/locale/he.js +1 -1
  90. package/dist/locale/he.min.js +1 -1
  91. package/dist/locale/he.min.mjs +1 -1
  92. package/dist/locale/he.mjs +1 -1
  93. package/dist/locale/hi.js +1 -1
  94. package/dist/locale/hi.min.js +1 -1
  95. package/dist/locale/hi.min.mjs +1 -1
  96. package/dist/locale/hi.mjs +1 -1
  97. package/dist/locale/hr.js +1 -1
  98. package/dist/locale/hr.min.js +1 -1
  99. package/dist/locale/hr.min.mjs +1 -1
  100. package/dist/locale/hr.mjs +1 -1
  101. package/dist/locale/hu.js +1 -1
  102. package/dist/locale/hu.min.js +1 -1
  103. package/dist/locale/hu.min.mjs +1 -1
  104. package/dist/locale/hu.mjs +1 -1
  105. package/dist/locale/hy-am.js +1 -1
  106. package/dist/locale/hy-am.min.js +1 -1
  107. package/dist/locale/hy-am.min.mjs +1 -1
  108. package/dist/locale/hy-am.mjs +1 -1
  109. package/dist/locale/id.js +1 -1
  110. package/dist/locale/id.min.js +1 -1
  111. package/dist/locale/id.min.mjs +1 -1
  112. package/dist/locale/id.mjs +1 -1
  113. package/dist/locale/it.js +1 -1
  114. package/dist/locale/it.min.js +1 -1
  115. package/dist/locale/it.min.mjs +1 -1
  116. package/dist/locale/it.mjs +1 -1
  117. package/dist/locale/ja.js +1 -1
  118. package/dist/locale/ja.min.js +1 -1
  119. package/dist/locale/ja.min.mjs +1 -1
  120. package/dist/locale/ja.mjs +1 -1
  121. package/dist/locale/kk.js +1 -1
  122. package/dist/locale/kk.min.js +1 -1
  123. package/dist/locale/kk.min.mjs +1 -1
  124. package/dist/locale/kk.mjs +1 -1
  125. package/dist/locale/km.js +1 -1
  126. package/dist/locale/km.min.js +1 -1
  127. package/dist/locale/km.min.mjs +1 -1
  128. package/dist/locale/km.mjs +1 -1
  129. package/dist/locale/ko.js +1 -1
  130. package/dist/locale/ko.min.js +1 -1
  131. package/dist/locale/ko.min.mjs +1 -1
  132. package/dist/locale/ko.mjs +1 -1
  133. package/dist/locale/ku.js +1 -1
  134. package/dist/locale/ku.min.js +1 -1
  135. package/dist/locale/ku.min.mjs +1 -1
  136. package/dist/locale/ku.mjs +1 -1
  137. package/dist/locale/ky.js +1 -1
  138. package/dist/locale/ky.min.js +1 -1
  139. package/dist/locale/ky.min.mjs +1 -1
  140. package/dist/locale/ky.mjs +1 -1
  141. package/dist/locale/lo.js +1 -1
  142. package/dist/locale/lo.min.js +1 -1
  143. package/dist/locale/lo.min.mjs +1 -1
  144. package/dist/locale/lo.mjs +1 -1
  145. package/dist/locale/lt.js +1 -1
  146. package/dist/locale/lt.min.js +1 -1
  147. package/dist/locale/lt.min.mjs +1 -1
  148. package/dist/locale/lt.mjs +1 -1
  149. package/dist/locale/lv.js +1 -1
  150. package/dist/locale/lv.min.js +1 -1
  151. package/dist/locale/lv.min.mjs +1 -1
  152. package/dist/locale/lv.mjs +1 -1
  153. package/dist/locale/mg.js +1 -1
  154. package/dist/locale/mg.min.js +1 -1
  155. package/dist/locale/mg.min.mjs +1 -1
  156. package/dist/locale/mg.mjs +1 -1
  157. package/dist/locale/mn.js +1 -1
  158. package/dist/locale/mn.min.js +1 -1
  159. package/dist/locale/mn.min.mjs +1 -1
  160. package/dist/locale/mn.mjs +1 -1
  161. package/dist/locale/ms.js +1 -1
  162. package/dist/locale/ms.min.js +1 -1
  163. package/dist/locale/ms.min.mjs +1 -1
  164. package/dist/locale/ms.mjs +1 -1
  165. package/dist/locale/my.js +1 -1
  166. package/dist/locale/my.min.js +1 -1
  167. package/dist/locale/my.min.mjs +1 -1
  168. package/dist/locale/my.mjs +1 -1
  169. package/dist/locale/nb-no.js +1 -1
  170. package/dist/locale/nb-no.min.js +1 -1
  171. package/dist/locale/nb-no.min.mjs +1 -1
  172. package/dist/locale/nb-no.mjs +1 -1
  173. package/dist/locale/nl.js +1 -1
  174. package/dist/locale/nl.min.js +1 -1
  175. package/dist/locale/nl.min.mjs +1 -1
  176. package/dist/locale/nl.mjs +1 -1
  177. package/dist/locale/no.js +1 -1
  178. package/dist/locale/no.min.js +1 -1
  179. package/dist/locale/no.min.mjs +1 -1
  180. package/dist/locale/no.mjs +1 -1
  181. package/dist/locale/pa.js +1 -1
  182. package/dist/locale/pa.min.js +1 -1
  183. package/dist/locale/pa.min.mjs +1 -1
  184. package/dist/locale/pa.mjs +1 -1
  185. package/dist/locale/pl.js +1 -1
  186. package/dist/locale/pl.min.js +1 -1
  187. package/dist/locale/pl.min.mjs +1 -1
  188. package/dist/locale/pl.mjs +1 -1
  189. package/dist/locale/pt-br.js +1 -1
  190. package/dist/locale/pt-br.min.js +1 -1
  191. package/dist/locale/pt-br.min.mjs +1 -1
  192. package/dist/locale/pt-br.mjs +1 -1
  193. package/dist/locale/pt.js +1 -1
  194. package/dist/locale/pt.min.js +1 -1
  195. package/dist/locale/pt.min.mjs +1 -1
  196. package/dist/locale/pt.mjs +1 -1
  197. package/dist/locale/ro.js +1 -1
  198. package/dist/locale/ro.min.js +1 -1
  199. package/dist/locale/ro.min.mjs +1 -1
  200. package/dist/locale/ro.mjs +1 -1
  201. package/dist/locale/ru.js +1 -1
  202. package/dist/locale/ru.min.js +1 -1
  203. package/dist/locale/ru.min.mjs +1 -1
  204. package/dist/locale/ru.mjs +1 -1
  205. package/dist/locale/sk.js +1 -1
  206. package/dist/locale/sk.min.js +1 -1
  207. package/dist/locale/sk.min.mjs +1 -1
  208. package/dist/locale/sk.mjs +1 -1
  209. package/dist/locale/sl.js +1 -1
  210. package/dist/locale/sl.min.js +1 -1
  211. package/dist/locale/sl.min.mjs +1 -1
  212. package/dist/locale/sl.mjs +1 -1
  213. package/dist/locale/sr.js +1 -1
  214. package/dist/locale/sr.min.js +1 -1
  215. package/dist/locale/sr.min.mjs +1 -1
  216. package/dist/locale/sr.mjs +1 -1
  217. package/dist/locale/sv.js +1 -1
  218. package/dist/locale/sv.min.js +1 -1
  219. package/dist/locale/sv.min.mjs +1 -1
  220. package/dist/locale/sv.mjs +1 -1
  221. package/dist/locale/sw.js +1 -1
  222. package/dist/locale/sw.min.js +1 -1
  223. package/dist/locale/sw.min.mjs +1 -1
  224. package/dist/locale/sw.mjs +1 -1
  225. package/dist/locale/ta.js +1 -1
  226. package/dist/locale/ta.min.js +1 -1
  227. package/dist/locale/ta.min.mjs +1 -1
  228. package/dist/locale/ta.mjs +1 -1
  229. package/dist/locale/te.js +1 -1
  230. package/dist/locale/te.min.js +1 -1
  231. package/dist/locale/te.min.mjs +1 -1
  232. package/dist/locale/te.mjs +1 -1
  233. package/dist/locale/th.js +1 -1
  234. package/dist/locale/th.min.js +1 -1
  235. package/dist/locale/th.min.mjs +1 -1
  236. package/dist/locale/th.mjs +1 -1
  237. package/dist/locale/tk.js +1 -1
  238. package/dist/locale/tk.min.js +1 -1
  239. package/dist/locale/tk.min.mjs +1 -1
  240. package/dist/locale/tk.mjs +1 -1
  241. package/dist/locale/tr.js +1 -1
  242. package/dist/locale/tr.min.js +1 -1
  243. package/dist/locale/tr.min.mjs +1 -1
  244. package/dist/locale/tr.mjs +1 -1
  245. package/dist/locale/ug-cn.js +1 -1
  246. package/dist/locale/ug-cn.min.js +1 -1
  247. package/dist/locale/ug-cn.min.mjs +1 -1
  248. package/dist/locale/ug-cn.mjs +1 -1
  249. package/dist/locale/uk.js +1 -1
  250. package/dist/locale/uk.min.js +1 -1
  251. package/dist/locale/uk.min.mjs +1 -1
  252. package/dist/locale/uk.mjs +1 -1
  253. package/dist/locale/uz-uz.js +1 -1
  254. package/dist/locale/uz-uz.min.js +1 -1
  255. package/dist/locale/uz-uz.min.mjs +1 -1
  256. package/dist/locale/uz-uz.mjs +1 -1
  257. package/dist/locale/vi.js +1 -1
  258. package/dist/locale/vi.min.js +1 -1
  259. package/dist/locale/vi.min.mjs +1 -1
  260. package/dist/locale/vi.mjs +1 -1
  261. package/dist/locale/zh-cn.js +1 -1
  262. package/dist/locale/zh-cn.min.js +1 -1
  263. package/dist/locale/zh-cn.min.mjs +1 -1
  264. package/dist/locale/zh-cn.mjs +1 -1
  265. package/dist/locale/zh-hk.js +1 -1
  266. package/dist/locale/zh-hk.min.js +1 -1
  267. package/dist/locale/zh-hk.min.mjs +1 -1
  268. package/dist/locale/zh-hk.mjs +1 -1
  269. package/dist/locale/zh-mo.js +1 -1
  270. package/dist/locale/zh-mo.min.js +1 -1
  271. package/dist/locale/zh-mo.min.mjs +1 -1
  272. package/dist/locale/zh-mo.mjs +1 -1
  273. package/dist/locale/zh-tw.js +1 -1
  274. package/dist/locale/zh-tw.min.js +1 -1
  275. package/dist/locale/zh-tw.min.mjs +1 -1
  276. package/dist/locale/zh-tw.mjs +1 -1
  277. package/es/components/affix/src/affix.vue.d.ts +2 -2
  278. package/es/components/alert/src/alert.d.ts +1 -1
  279. package/es/components/alert/src/alert.vue.d.ts +1 -1
  280. package/es/components/anchor/src/anchor.vue.d.ts +2 -2
  281. package/es/components/autocomplete/src/autocomplete.d.ts +4 -4
  282. package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  283. package/es/components/avatar/src/avatar-group-props.d.ts +1 -1
  284. package/es/components/avatar/src/avatar-group.d.ts +3 -3
  285. package/es/components/avatar/src/avatar.d.ts +2 -2
  286. package/es/components/avatar/src/avatar.vue.d.ts +1 -1
  287. package/es/components/backtop/src/backtop.vue.d.ts +1 -1
  288. package/es/components/badge/src/badge.vue.d.ts +1 -1
  289. package/es/components/button/src/button-group.vue.d.ts +1 -1
  290. package/es/components/button/src/button.d.ts +1 -1
  291. package/es/components/button/src/button.vue.d.ts +4 -4
  292. package/es/components/card/src/card.vue.d.ts +1 -1
  293. package/es/components/carousel/src/carousel.vue.d.ts +1 -1
  294. package/es/components/cascader/src/cascader.d.ts +10 -2
  295. package/es/components/cascader/src/cascader.mjs +4 -0
  296. package/es/components/cascader/src/cascader.mjs.map +1 -1
  297. package/es/components/cascader/src/cascader.vue.d.ts +30 -22
  298. package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs +155 -29
  299. package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  300. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  301. package/es/components/cascader-panel/index.d.ts +2 -2
  302. package/es/components/cascader-panel/index.mjs +2 -2
  303. package/es/components/cascader-panel/src/config.d.ts +27 -1
  304. package/es/components/cascader-panel/src/config.mjs +18 -1
  305. package/es/components/cascader-panel/src/config.mjs.map +1 -1
  306. package/es/components/cascader-panel/src/index.mjs.map +1 -1
  307. package/es/components/cascader-panel/src/index.vue.d.ts +5 -3
  308. package/es/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.mjs +44 -5
  309. package/es/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  310. package/es/components/cascader-panel/src/menu.mjs.map +1 -1
  311. package/es/components/cascader-panel/src/menu.vue.d.ts +23 -22
  312. package/es/components/cascader-panel/src/menu.vue_vue_type_script_setup_true_lang.mjs +120 -6
  313. package/es/components/cascader-panel/src/menu.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  314. package/es/components/cascader-panel/src/node.vue_vue_type_script_setup_true_lang.mjs +4 -1
  315. package/es/components/cascader-panel/src/node.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  316. package/es/components/cascader-panel/src/node2.mjs.map +1 -1
  317. package/es/components/cascader-panel/src/types.d.ts +3 -0
  318. package/es/components/cascader-panel/src/types.mjs.map +1 -1
  319. package/es/components/cascader-panel/style/css.mjs +1 -1
  320. package/es/components/cascader-panel/style/index.mjs +1 -1
  321. package/es/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
  322. package/es/components/checkbox/src/checkbox-group.vue.d.ts +3 -3
  323. package/es/components/checkbox/src/checkbox.d.ts +8 -8
  324. package/es/components/checkbox/src/checkbox.vue.d.ts +6 -6
  325. package/es/components/col/src/col.vue.d.ts +1 -1
  326. package/es/components/collapse/src/collapse-item.vue.d.ts +1 -1
  327. package/es/components/collapse/src/collapse.d.ts +1 -1
  328. package/es/components/collapse/src/collapse.vue.d.ts +2 -2
  329. package/es/components/color-picker/src/color-picker.vue.d.ts +11 -11
  330. package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
  331. package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  332. package/es/components/date-picker/src/date-picker.d.ts +15 -15
  333. package/es/components/date-picker/src/props.d.ts +2 -2
  334. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +6 -6
  335. package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
  336. package/es/components/descriptions/src/description-item.d.ts +20 -20
  337. package/es/components/descriptions/src/description.vue.d.ts +1 -1
  338. package/es/components/dialog/src/dialog.vue.d.ts +6 -6
  339. package/es/components/divider/src/divider.d.ts +1 -1
  340. package/es/components/divider/src/divider.vue.d.ts +1 -1
  341. package/es/components/drawer/src/drawer.vue.d.ts +6 -6
  342. package/es/components/dropdown/src/dropdown-item.vue.d.ts +3 -3
  343. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  344. package/es/components/dropdown/src/dropdown.d.ts +4 -4
  345. package/es/components/dropdown/src/dropdown.vue.d.ts +85 -85
  346. package/es/components/form/src/form-item.d.ts +2 -2
  347. package/es/components/form/src/form-item.vue.d.ts +1 -1
  348. package/es/components/form/src/form.d.ts +2 -2
  349. package/es/components/form/src/form.vue.d.ts +1 -1
  350. package/es/components/image/src/image.d.ts +1 -1
  351. package/es/components/image/src/image.vue.d.ts +6 -6
  352. package/es/components/image-viewer/src/image-viewer.vue.d.ts +3 -3
  353. package/es/components/index.d.ts +11 -11
  354. package/es/components/index.mjs +7 -7
  355. package/es/components/input/src/input.d.ts +3 -3
  356. package/es/components/input/src/input.vue.d.ts +18 -18
  357. package/es/components/input-number/src/input-number.d.ts +3 -3
  358. package/es/components/input-number/src/input-number.vue.d.ts +11 -11
  359. package/es/components/input-otp/src/input-otp.vue.d.ts +8 -8
  360. package/es/components/input-tag/src/input-tag.d.ts +1 -1
  361. package/es/components/input-tag/src/input-tag.vue.d.ts +13 -13
  362. package/es/components/link/src/link.vue.d.ts +1 -1
  363. package/es/components/mention/src/mention.d.ts +3 -3
  364. package/es/components/mention/src/mention.vue.d.ts +4 -4
  365. package/es/components/menu/src/menu.d.ts +2 -2
  366. package/es/components/menu/src/sub-menu.d.ts +1 -1
  367. package/es/components/message/src/message.d.ts +2 -2
  368. package/es/components/message/src/message.vue.d.ts +6 -6
  369. package/es/components/message-box/index.d.ts +2 -2
  370. package/es/components/message-box/src/message-box.type.d.ts +9 -3
  371. package/es/components/message-box/src/messageBox.mjs +9 -1
  372. package/es/components/message-box/src/messageBox.mjs.map +1 -1
  373. package/es/components/notification/src/notification.d.ts +2 -2
  374. package/es/components/notification/src/notification.vue.d.ts +5 -5
  375. package/es/components/pagination/src/pagination.d.ts +3 -3
  376. package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
  377. package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
  378. package/es/components/popover/src/popover.d.ts +2 -2
  379. package/es/components/popover/src/popover.vue.d.ts +12 -12
  380. package/es/components/popper/src/composables/use-content.d.ts +3 -3
  381. package/es/components/popper/src/content.vue.d.ts +14 -14
  382. package/es/components/popper/src/popper.d.ts +2 -2
  383. package/es/components/progress/src/progress.d.ts +1 -1
  384. package/es/components/progress/src/progress.vue.d.ts +3 -3
  385. package/es/components/radio/src/radio-button.d.ts +3 -3
  386. package/es/components/radio/src/radio-button.vue.d.ts +2 -2
  387. package/es/components/radio/src/radio-group.vue.d.ts +6 -6
  388. package/es/components/radio/src/radio.d.ts +6 -6
  389. package/es/components/radio/src/radio.vue.d.ts +5 -5
  390. package/es/components/rate/src/rate.vue.d.ts +3 -3
  391. package/es/components/result/src/result.d.ts +1 -1
  392. package/es/components/result/src/result.vue.d.ts +1 -1
  393. package/es/components/row/src/row.vue.d.ts +1 -1
  394. package/es/components/scrollbar/src/scrollbar.vue.d.ts +4 -4
  395. package/es/components/segmented/index.d.ts +3 -3
  396. package/es/components/segmented/src/segmented.d.ts +1 -1
  397. package/es/components/segmented/src/segmented.vue.d.ts +2 -2
  398. package/es/components/select/src/option.d.ts +2 -2
  399. package/es/components/select/src/option.vue.d.ts +5 -5
  400. package/es/components/select/src/select.d.ts +3 -3
  401. package/es/components/select/src/select.vue.d.ts +103 -103
  402. package/es/components/select/src/useSelect.mjs +2 -1
  403. package/es/components/select/src/useSelect.mjs.map +1 -1
  404. package/es/components/select-v2/src/defaults.d.ts +1 -1
  405. package/es/components/select-v2/src/select-dropdown.d.ts +2 -2
  406. package/es/components/select-v2/src/select.vue.d.ts +79 -79
  407. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  408. package/es/components/slider/src/button.vue.d.ts +1 -1
  409. package/es/components/slider/src/slider.vue.d.ts +7 -7
  410. package/es/components/space/src/space.d.ts +1 -1
  411. package/es/components/statistic/src/statistic.vue.d.ts +2 -2
  412. package/es/components/steps/src/item.d.ts +1 -1
  413. package/es/components/steps/src/item.vue.d.ts +1 -1
  414. package/es/components/steps/src/steps.d.ts +2 -2
  415. package/es/components/steps/src/steps.vue.d.ts +2 -2
  416. package/es/components/switch/src/switch.vue.d.ts +3 -3
  417. package/es/components/table/src/table-column/index.d.ts +26 -26
  418. package/es/components/table/src/table-footer/index.d.ts +1 -1
  419. package/es/components/table/src/table-header/index.d.ts +20 -20
  420. package/es/components/table/src/table-layout.d.ts +1 -0
  421. package/es/components/table/src/table-layout.mjs +5 -1
  422. package/es/components/table/src/table-layout.mjs.map +1 -1
  423. package/es/components/table/src/table.vue.d.ts +57 -57
  424. package/es/components/table-v2/src/table-grid.d.ts +1 -1
  425. package/es/components/table-v2/src/table-v2.d.ts +1 -1
  426. package/es/components/table-v2/style/css.mjs +1 -1
  427. package/es/components/table-v2/style/index.mjs +1 -1
  428. package/es/components/tabs/src/tab-nav.d.ts +1 -1
  429. package/es/components/tabs/src/tab-pane.vue.d.ts +1 -1
  430. package/es/components/tabs/src/tabs.d.ts +6 -6
  431. package/es/components/tag/src/tag.vue.d.ts +2 -2
  432. package/es/components/text/src/text.vue.d.ts +1 -1
  433. package/es/components/time-picker/src/common/picker.vue.d.ts +23 -23
  434. package/es/components/time-picker/src/common/props.d.ts +2 -2
  435. package/es/components/time-picker/src/time-picker.d.ts +15 -15
  436. package/es/components/time-select/src/time-select.vue.d.ts +11 -11
  437. package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
  438. package/es/components/tooltip/src/content.vue.d.ts +12 -12
  439. package/es/components/tooltip/src/tooltip.d.ts +2 -2
  440. package/es/components/tooltip/src/tooltip.vue.d.ts +14 -14
  441. package/es/components/tooltip/src/trigger.d.ts +1 -1
  442. package/es/components/tour/src/content.d.ts +1 -1
  443. package/es/components/tour/src/step.d.ts +1 -1
  444. package/es/components/tour/src/tour.d.ts +1 -1
  445. package/es/components/tour/src/tour.vue.d.ts +5 -5
  446. package/es/components/transfer/src/transfer.vue.d.ts +2 -2
  447. package/es/components/tree/src/tree.vue.d.ts +32 -32
  448. package/es/components/tree-select/src/tree-select.vue.d.ts +42 -42
  449. package/es/components/tree-v2/src/tree.vue.d.ts +8 -8
  450. package/es/components/upload/src/upload-content.d.ts +1 -1
  451. package/es/components/upload/src/upload-content.vue.d.ts +2 -2
  452. package/es/components/upload/src/upload-list.d.ts +1 -1
  453. package/es/components/upload/src/upload.d.ts +2 -2
  454. package/es/components/upload/src/upload.vue.d.ts +3 -3
  455. package/es/components/virtual-list/src/builders/build-grid.d.ts +14 -2
  456. package/es/components/virtual-list/src/builders/build-list.mjs +2 -1
  457. package/es/components/virtual-list/src/builders/build-list.mjs.map +1 -1
  458. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +14 -2
  459. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +17 -5
  460. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +14 -2
  461. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +17 -5
  462. package/es/components/virtual-list/src/props.d.ts +18 -0
  463. package/es/components/virtual-list/src/props.mjs +4 -0
  464. package/es/components/virtual-list/src/props.mjs.map +1 -1
  465. package/es/hooks/use-floating/index.d.ts +4 -4
  466. package/es/hooks/use-popper/index.d.ts +3 -3
  467. package/es/index.d.ts +10 -10
  468. package/es/index.mjs +7 -7
  469. package/es/utils/vue/size.d.ts +1 -1
  470. package/es/version.mjs +1 -1
  471. package/es/version.mjs.map +1 -1
  472. package/lib/components/affix/src/affix.vue.d.ts +2 -2
  473. package/lib/components/alert/src/alert.d.ts +1 -1
  474. package/lib/components/alert/src/alert.vue.d.ts +1 -1
  475. package/lib/components/anchor/src/anchor.vue.d.ts +2 -2
  476. package/lib/components/autocomplete/src/autocomplete.d.ts +4 -4
  477. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  478. package/lib/components/avatar/src/avatar-group-props.d.ts +1 -1
  479. package/lib/components/avatar/src/avatar-group.d.ts +3 -3
  480. package/lib/components/avatar/src/avatar.d.ts +2 -2
  481. package/lib/components/avatar/src/avatar.vue.d.ts +1 -1
  482. package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
  483. package/lib/components/badge/src/badge.vue.d.ts +1 -1
  484. package/lib/components/button/src/button-group.vue.d.ts +1 -1
  485. package/lib/components/button/src/button.d.ts +1 -1
  486. package/lib/components/button/src/button.vue.d.ts +4 -4
  487. package/lib/components/card/src/card.vue.d.ts +1 -1
  488. package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
  489. package/lib/components/cascader/src/cascader.d.ts +10 -2
  490. package/lib/components/cascader/src/cascader.js +4 -0
  491. package/lib/components/cascader/src/cascader.js.map +1 -1
  492. package/lib/components/cascader/src/cascader.vue.d.ts +30 -22
  493. package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js +154 -27
  494. package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js.map +1 -1
  495. package/lib/components/cascader/src/cascader2.js.map +1 -1
  496. package/lib/components/cascader-panel/index.d.ts +2 -2
  497. package/lib/components/cascader-panel/index.js +2 -0
  498. package/lib/components/cascader-panel/src/config.d.ts +27 -1
  499. package/lib/components/cascader-panel/src/config.js +19 -0
  500. package/lib/components/cascader-panel/src/config.js.map +1 -1
  501. package/lib/components/cascader-panel/src/index.js.map +1 -1
  502. package/lib/components/cascader-panel/src/index.vue.d.ts +5 -3
  503. package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js +44 -5
  504. package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js.map +1 -1
  505. package/lib/components/cascader-panel/src/menu.js.map +1 -1
  506. package/lib/components/cascader-panel/src/menu.vue.d.ts +23 -22
  507. package/lib/components/cascader-panel/src/menu.vue_vue_type_script_setup_true_lang.js +119 -5
  508. package/lib/components/cascader-panel/src/menu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  509. package/lib/components/cascader-panel/src/node.vue_vue_type_script_setup_true_lang.js +4 -1
  510. package/lib/components/cascader-panel/src/node.vue_vue_type_script_setup_true_lang.js.map +1 -1
  511. package/lib/components/cascader-panel/src/node2.js.map +1 -1
  512. package/lib/components/cascader-panel/src/types.d.ts +3 -0
  513. package/lib/components/cascader-panel/src/types.js.map +1 -1
  514. package/lib/components/cascader-panel/style/css.js +1 -1
  515. package/lib/components/cascader-panel/style/index.js +1 -1
  516. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
  517. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +3 -3
  518. package/lib/components/checkbox/src/checkbox.d.ts +8 -8
  519. package/lib/components/checkbox/src/checkbox.vue.d.ts +6 -6
  520. package/lib/components/col/src/col.vue.d.ts +1 -1
  521. package/lib/components/collapse/src/collapse-item.vue.d.ts +1 -1
  522. package/lib/components/collapse/src/collapse.d.ts +1 -1
  523. package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
  524. package/lib/components/color-picker/src/color-picker.vue.d.ts +11 -11
  525. package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
  526. package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  527. package/lib/components/date-picker/src/date-picker.d.ts +15 -15
  528. package/lib/components/date-picker/src/props.d.ts +2 -2
  529. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +6 -6
  530. package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
  531. package/lib/components/descriptions/src/description-item.d.ts +20 -20
  532. package/lib/components/descriptions/src/description.vue.d.ts +1 -1
  533. package/lib/components/dialog/src/dialog.vue.d.ts +6 -6
  534. package/lib/components/divider/src/divider.d.ts +1 -1
  535. package/lib/components/divider/src/divider.vue.d.ts +1 -1
  536. package/lib/components/drawer/src/drawer.vue.d.ts +6 -6
  537. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +3 -3
  538. package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  539. package/lib/components/dropdown/src/dropdown.d.ts +4 -4
  540. package/lib/components/dropdown/src/dropdown.vue.d.ts +85 -85
  541. package/lib/components/form/src/form-item.d.ts +2 -2
  542. package/lib/components/form/src/form-item.vue.d.ts +1 -1
  543. package/lib/components/form/src/form.d.ts +2 -2
  544. package/lib/components/form/src/form.vue.d.ts +1 -1
  545. package/lib/components/image/src/image.d.ts +1 -1
  546. package/lib/components/image/src/image.vue.d.ts +6 -6
  547. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +3 -3
  548. package/lib/components/index.d.ts +11 -11
  549. package/lib/components/index.js +13 -11
  550. package/lib/components/input/src/input.d.ts +3 -3
  551. package/lib/components/input/src/input.vue.d.ts +18 -18
  552. package/lib/components/input-number/src/input-number.d.ts +3 -3
  553. package/lib/components/input-number/src/input-number.vue.d.ts +11 -11
  554. package/lib/components/input-otp/src/input-otp.vue.d.ts +8 -8
  555. package/lib/components/input-tag/src/input-tag.d.ts +1 -1
  556. package/lib/components/input-tag/src/input-tag.vue.d.ts +13 -13
  557. package/lib/components/link/src/link.vue.d.ts +1 -1
  558. package/lib/components/mention/src/mention.d.ts +3 -3
  559. package/lib/components/mention/src/mention.vue.d.ts +4 -4
  560. package/lib/components/menu/src/menu.d.ts +2 -2
  561. package/lib/components/menu/src/sub-menu.d.ts +1 -1
  562. package/lib/components/message/src/message.d.ts +2 -2
  563. package/lib/components/message/src/message.vue.d.ts +6 -6
  564. package/lib/components/message-box/index.d.ts +2 -2
  565. package/lib/components/message-box/src/message-box.type.d.ts +9 -3
  566. package/lib/components/message-box/src/messageBox.js +9 -1
  567. package/lib/components/message-box/src/messageBox.js.map +1 -1
  568. package/lib/components/notification/src/notification.d.ts +2 -2
  569. package/lib/components/notification/src/notification.vue.d.ts +5 -5
  570. package/lib/components/pagination/src/pagination.d.ts +3 -3
  571. package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
  572. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
  573. package/lib/components/popover/src/popover.d.ts +2 -2
  574. package/lib/components/popover/src/popover.vue.d.ts +12 -12
  575. package/lib/components/popper/src/composables/use-content.d.ts +3 -3
  576. package/lib/components/popper/src/content.vue.d.ts +14 -14
  577. package/lib/components/popper/src/popper.d.ts +2 -2
  578. package/lib/components/progress/src/progress.d.ts +1 -1
  579. package/lib/components/progress/src/progress.vue.d.ts +3 -3
  580. package/lib/components/radio/src/radio-button.d.ts +3 -3
  581. package/lib/components/radio/src/radio-button.vue.d.ts +2 -2
  582. package/lib/components/radio/src/radio-group.vue.d.ts +6 -6
  583. package/lib/components/radio/src/radio.d.ts +6 -6
  584. package/lib/components/radio/src/radio.vue.d.ts +5 -5
  585. package/lib/components/rate/src/rate.vue.d.ts +3 -3
  586. package/lib/components/result/src/result.d.ts +1 -1
  587. package/lib/components/result/src/result.vue.d.ts +1 -1
  588. package/lib/components/row/src/row.vue.d.ts +1 -1
  589. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +4 -4
  590. package/lib/components/segmented/index.d.ts +3 -3
  591. package/lib/components/segmented/src/segmented.d.ts +1 -1
  592. package/lib/components/segmented/src/segmented.vue.d.ts +2 -2
  593. package/lib/components/select/src/option.d.ts +2 -2
  594. package/lib/components/select/src/option.vue.d.ts +5 -5
  595. package/lib/components/select/src/select.d.ts +3 -3
  596. package/lib/components/select/src/select.vue.d.ts +103 -103
  597. package/lib/components/select/src/useSelect.js +2 -1
  598. package/lib/components/select/src/useSelect.js.map +1 -1
  599. package/lib/components/select-v2/src/defaults.d.ts +1 -1
  600. package/lib/components/select-v2/src/select-dropdown.d.ts +2 -2
  601. package/lib/components/select-v2/src/select.vue.d.ts +79 -79
  602. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  603. package/lib/components/slider/src/button.vue.d.ts +1 -1
  604. package/lib/components/slider/src/slider.vue.d.ts +7 -7
  605. package/lib/components/space/src/space.d.ts +1 -1
  606. package/lib/components/statistic/src/statistic.vue.d.ts +2 -2
  607. package/lib/components/steps/src/item.d.ts +1 -1
  608. package/lib/components/steps/src/item.vue.d.ts +1 -1
  609. package/lib/components/steps/src/steps.d.ts +2 -2
  610. package/lib/components/steps/src/steps.vue.d.ts +2 -2
  611. package/lib/components/switch/src/switch.vue.d.ts +3 -3
  612. package/lib/components/table/src/table-column/index.d.ts +26 -26
  613. package/lib/components/table/src/table-footer/index.d.ts +1 -1
  614. package/lib/components/table/src/table-header/index.d.ts +20 -20
  615. package/lib/components/table/src/table-layout.d.ts +1 -0
  616. package/lib/components/table/src/table-layout.js +5 -1
  617. package/lib/components/table/src/table-layout.js.map +1 -1
  618. package/lib/components/table/src/table.vue.d.ts +57 -57
  619. package/lib/components/table-v2/src/table-grid.d.ts +1 -1
  620. package/lib/components/table-v2/src/table-v2.d.ts +1 -1
  621. package/lib/components/table-v2/style/css.js +1 -1
  622. package/lib/components/table-v2/style/index.js +1 -1
  623. package/lib/components/tabs/src/tab-nav.d.ts +1 -1
  624. package/lib/components/tabs/src/tab-pane.vue.d.ts +1 -1
  625. package/lib/components/tabs/src/tabs.d.ts +6 -6
  626. package/lib/components/tag/src/tag.vue.d.ts +2 -2
  627. package/lib/components/text/src/text.vue.d.ts +1 -1
  628. package/lib/components/time-picker/src/common/picker.vue.d.ts +23 -23
  629. package/lib/components/time-picker/src/common/props.d.ts +2 -2
  630. package/lib/components/time-picker/src/time-picker.d.ts +15 -15
  631. package/lib/components/time-select/src/time-select.vue.d.ts +11 -11
  632. package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
  633. package/lib/components/tooltip/src/content.vue.d.ts +12 -12
  634. package/lib/components/tooltip/src/tooltip.d.ts +2 -2
  635. package/lib/components/tooltip/src/tooltip.vue.d.ts +14 -14
  636. package/lib/components/tooltip/src/trigger.d.ts +1 -1
  637. package/lib/components/tour/src/content.d.ts +1 -1
  638. package/lib/components/tour/src/step.d.ts +1 -1
  639. package/lib/components/tour/src/tour.d.ts +1 -1
  640. package/lib/components/tour/src/tour.vue.d.ts +5 -5
  641. package/lib/components/transfer/src/transfer.vue.d.ts +2 -2
  642. package/lib/components/tree/src/tree.vue.d.ts +32 -32
  643. package/lib/components/tree-select/src/tree-select.vue.d.ts +42 -42
  644. package/lib/components/tree-v2/src/tree.vue.d.ts +8 -8
  645. package/lib/components/upload/src/upload-content.d.ts +1 -1
  646. package/lib/components/upload/src/upload-content.vue.d.ts +2 -2
  647. package/lib/components/upload/src/upload-list.d.ts +1 -1
  648. package/lib/components/upload/src/upload.d.ts +2 -2
  649. package/lib/components/upload/src/upload.vue.d.ts +3 -3
  650. package/lib/components/virtual-list/src/builders/build-grid.d.ts +14 -2
  651. package/lib/components/virtual-list/src/builders/build-list.js +2 -1
  652. package/lib/components/virtual-list/src/builders/build-list.js.map +1 -1
  653. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +14 -2
  654. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +17 -5
  655. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +14 -2
  656. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +17 -5
  657. package/lib/components/virtual-list/src/props.d.ts +18 -0
  658. package/lib/components/virtual-list/src/props.js +4 -0
  659. package/lib/components/virtual-list/src/props.js.map +1 -1
  660. package/lib/hooks/use-floating/index.d.ts +4 -4
  661. package/lib/hooks/use-popper/index.d.ts +3 -3
  662. package/lib/index.d.ts +10 -10
  663. package/lib/index.js +13 -11
  664. package/lib/utils/vue/size.d.ts +1 -1
  665. package/lib/version.js +1 -1
  666. package/lib/version.js.map +1 -1
  667. package/package.json +5 -5
  668. package/tags.json +1 -1
  669. package/theme-chalk/el-cascader-panel.css +1 -1
  670. package/theme-chalk/el-cascader.css +1 -1
  671. package/theme-chalk/index.css +1 -1
  672. package/theme-chalk/src/cascader-panel.scss +11 -0
  673. package/theme-chalk/src/cascader.scss +28 -1
  674. package/web-types.json +1 -1
@@ -9,13 +9,13 @@ import { Ref } from "vue";
9
9
  //#region ../../packages/components/autocomplete/src/autocomplete.vue.d.ts
10
10
  declare const __VLS_export: <T extends AutocompleteDataItem = AutocompleteDataItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
11
11
  props: vue.PublicProps & __VLS_PrettifyLocal<AutocompleteProps<T> & {
12
- onClear?: (() => any) | undefined;
13
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
14
12
  onChange?: ((value: string | number) => any) | undefined;
13
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
14
+ onClear?: (() => any) | undefined;
15
+ onSelect?: ((item: Record<string, any>) => any) | undefined;
15
16
  onInput?: ((value: string | number) => any) | undefined;
16
- onFocus?: ((evt: FocusEvent) => any) | undefined;
17
17
  onBlur?: ((evt: FocusEvent) => any) | undefined;
18
- onSelect?: ((item: Record<string, any>) => any) | undefined;
18
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
19
19
  }> & (typeof globalThis extends {
20
20
  __VLS_PROPS_FALLBACK: infer P;
21
21
  } ? P : {});
@@ -54,7 +54,7 @@ declare const __VLS_export: <T extends AutocompleteDataItem = AutocompleteDataIt
54
54
  } & {
55
55
  footer?: (props: {}) => any;
56
56
  };
57
- emit: ((event: "clear") => void) & ((event: "update:modelValue", value: string | number) => void) & ((event: "change", value: string | number) => void) & ((event: "input", value: string | number) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "select", item: Record<string, any>) => void);
57
+ emit: ((event: "change", value: string | number) => void) & ((event: "update:modelValue", value: string | number) => void) & ((event: "clear") => void) & ((event: "select", item: Record<string, any>) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "input", value: string | number) => void);
58
58
  }>) => vue.VNode & {
59
59
  __ctx?: Awaited<typeof __VLS_setup>;
60
60
  };
@@ -19,7 +19,7 @@ declare const avatarGroupProps: {
19
19
  * @description control the shape of avatars in this avatar-group
20
20
  */
21
21
  readonly shape: {
22
- readonly type: vue.PropType<"circle" | "square" | undefined>;
22
+ readonly type: vue.PropType<"square" | "circle" | undefined>;
23
23
  readonly values: readonly ["circle", "square"];
24
24
  };
25
25
  /**
@@ -14,7 +14,7 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
14
14
  readonly validator: (val: unknown) => val is number;
15
15
  };
16
16
  readonly shape: {
17
- readonly type: vue.PropType<"circle" | "square" | undefined>;
17
+ readonly type: vue.PropType<"square" | "circle" | undefined>;
18
18
  readonly values: readonly ["circle", "square"];
19
19
  };
20
20
  readonly collapseAvatars: BooleanConstructor;
@@ -151,7 +151,7 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
151
151
  readonly validator: (val: unknown) => val is number;
152
152
  };
153
153
  readonly shape: {
154
- readonly type: vue.PropType<"circle" | "square" | undefined>;
154
+ readonly type: vue.PropType<"square" | "circle" | undefined>;
155
155
  readonly values: readonly ["circle", "square"];
156
156
  };
157
157
  readonly collapseAvatars: BooleanConstructor;
@@ -282,8 +282,8 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
282
282
  readonly type: vue.PropType<vue.StyleValue>;
283
283
  };
284
284
  }>> & Readonly<{}>, {
285
- readonly placement: Placement;
286
285
  readonly effect: PopperEffect;
286
+ readonly placement: Placement;
287
287
  readonly collapseAvatars: boolean;
288
288
  readonly collapseAvatarsTooltip: boolean;
289
289
  readonly maxCollapseAvatars: number;
@@ -49,7 +49,7 @@ declare const avatarProps: {
49
49
  __epPropKey: true;
50
50
  };
51
51
  readonly shape: {
52
- readonly type: vue.PropType<EpPropMergeType<StringConstructor, "circle" | "square", unknown>>;
52
+ readonly type: vue.PropType<EpPropMergeType<StringConstructor, "square" | "circle", unknown>>;
53
53
  readonly required: false;
54
54
  readonly validator: ((val: unknown) => boolean) | undefined;
55
55
  __epPropKey: true;
@@ -63,7 +63,7 @@ declare const avatarProps: {
63
63
  readonly src: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
64
64
  readonly alt: StringConstructor;
65
65
  readonly srcSet: StringConstructor;
66
- readonly fit: EpPropFinalized<(new (...args: any[]) => "cover" | "fill" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "contain" | "none" | "scale-down") | (() => csstype.Property.ObjectFit | undefined) | (((new (...args: any[]) => "cover" | "fill" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "contain" | "none" | "scale-down") | (() => csstype.Property.ObjectFit | undefined)) | null)[], unknown, unknown, "cover", boolean>;
66
+ readonly fit: EpPropFinalized<(new (...args: any[]) => "fill" | "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "contain" | "cover" | "scale-down") | (() => csstype.Property.ObjectFit | undefined) | (((new (...args: any[]) => "fill" | "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "contain" | "cover" | "scale-down") | (() => csstype.Property.ObjectFit | undefined)) | null)[], unknown, unknown, "cover", boolean>;
67
67
  };
68
68
  /**
69
69
  * @deprecated Removed after 3.0.0, Use `AvatarProps` instead.
@@ -12,8 +12,8 @@ declare const __VLS_base: vue.DefineComponent<AvatarProps, {}, {}, {}, {}, vue.C
12
12
  }, string, vue.PublicProps, Readonly<AvatarProps> & Readonly<{
13
13
  onError?: ((evt: Event) => any) | undefined;
14
14
  }>, {
15
- src: string;
16
15
  fit: csstype.Property.ObjectFit;
16
+ src: string;
17
17
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
18
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
19
  declare const _default: typeof __VLS_export;
@@ -13,8 +13,8 @@ declare const __VLS_base: vue.DefineComponent<BacktopProps, {}, {}, {}, {}, vue.
13
13
  }>, {
14
14
  bottom: number;
15
15
  right: number;
16
- visibilityHeight: number;
17
16
  target: string;
17
+ visibilityHeight: number;
18
18
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
19
19
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
20
  declare const _default: typeof __VLS_export;
@@ -15,8 +15,8 @@ declare const __VLS_base: vue.DefineComponent<BadgeProps, {
15
15
  /** @description badge content */content: vue.ComputedRef<string>;
16
16
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
17
17
  type: "primary" | "success" | "warning" | "info" | "danger";
18
- offset: [number, number];
19
18
  value: string | number;
19
+ offset: [number, number];
20
20
  max: number;
21
21
  showZero: boolean;
22
22
  badgeStyle: string | false | vue.CSSProperties | StyleValue[] | null;
@@ -7,7 +7,7 @@ type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
9
  declare const __VLS_base: vue.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
10
- type: "" | "default" | "text" | "primary" | "success" | "info" | "warning" | "danger";
10
+ type: "" | "default" | "primary" | "success" | "info" | "warning" | "danger" | "text";
11
11
  direction: "horizontal" | "vertical";
12
12
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
13
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -99,7 +99,7 @@ declare const buttonProps: {
99
99
  __epPropKey: true;
100
100
  };
101
101
  readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
102
- readonly type: EpPropFinalized<StringConstructor, "" | "default" | "text" | "primary" | "success" | "info" | "warning" | "danger", unknown, "", boolean>;
102
+ readonly type: EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "info" | "warning" | "danger" | "text", unknown, "", boolean>;
103
103
  readonly icon: {
104
104
  readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
105
105
  readonly required: false;
@@ -16,7 +16,7 @@ type __VLS_Slots = {} & {
16
16
  declare const __VLS_base: vue.DefineComponent<ButtonProps, {
17
17
  /** @description button html element */ref: vue.Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>; /** @description button size */
18
18
  size: vue.ComputedRef<"" | "default" | "small" | "large">; /** @description button type */
19
- type: vue.ComputedRef<"" | "default" | "text" | "primary" | "success" | "info" | "warning" | "danger">; /** @description button disabled */
19
+ type: vue.ComputedRef<"default" | "" | "primary" | "success" | "info" | "warning" | "danger" | "text">; /** @description button disabled */
20
20
  disabled: vue.ComputedRef<boolean>; /** @description whether adding space */
21
21
  shouldAddSpace: vue.ComputedRef<boolean>;
22
22
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
@@ -26,14 +26,14 @@ declare const __VLS_base: vue.DefineComponent<ButtonProps, {
26
26
  }>, {
27
27
  type: ButtonType;
28
28
  disabled: boolean;
29
- text: boolean;
29
+ tag: string | vue.Component;
30
30
  round: boolean;
31
+ plain: boolean;
32
+ text: boolean;
31
33
  dashed: boolean;
32
34
  nativeType: ButtonNativeType;
33
35
  loadingIcon: IconPropType;
34
- plain: boolean;
35
36
  autoInsertSpace: boolean;
36
- tag: string | vue.Component;
37
37
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
38
38
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
39
  declare const _default: typeof __VLS_export;
@@ -11,8 +11,8 @@ type __VLS_Slots = {} & {
11
11
  footer?: (props: typeof __VLS_5) => any;
12
12
  };
13
13
  declare const __VLS_base: vue.DefineComponent<CardProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CardProps> & Readonly<{}>, {
14
- header: string;
15
14
  footer: string;
15
+ header: string;
16
16
  bodyStyle: string | false | vue.CSSProperties | vue.StyleValue[] | null;
17
17
  shadow: "always" | "hover" | "never";
18
18
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -19,8 +19,8 @@ declare const __VLS_base: vue.DefineComponent<CarouselProps, {
19
19
  type: "" | "card";
20
20
  loop: boolean;
21
21
  height: string;
22
- trigger: "hover" | "click";
23
22
  direction: "horizontal" | "vertical";
23
+ trigger: "hover" | "click";
24
24
  arrow: "always" | "hover" | "never";
25
25
  initialIndex: number;
26
26
  autoplay: boolean;
@@ -132,6 +132,10 @@ interface CascaderComponentProps extends CascaderCommonProps, UseEmptyValuesProp
132
132
  * @description whether to show the radio or checkbox prefix
133
133
  */
134
134
  showPrefix?: boolean;
135
+ /**
136
+ * @description whether the width of the suggestion panel is the same as the input, if the value is `number`, then the width is fixed
137
+ */
138
+ fitInputWidth?: boolean | number;
135
139
  }
136
140
  /**
137
141
  * @deprecated Removed after 3.0.0, Use `CascaderComponentProps` instead.
@@ -165,7 +169,7 @@ declare const cascaderProps: {
165
169
  maxCollapseTags: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
166
170
  collapseTagsTooltip: BooleanConstructor;
167
171
  maxCollapseTagsTooltipHeight: {
168
- readonly type: vue.PropType<EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>>;
172
+ readonly type: vue.PropType<EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>>;
169
173
  readonly required: false;
170
174
  readonly validator: ((val: unknown) => boolean) | undefined;
171
175
  __epPropKey: true;
@@ -180,7 +184,7 @@ declare const cascaderProps: {
180
184
  new (): any;
181
185
  readonly prototype: any;
182
186
  }) | null)[], unknown, unknown, () => true, boolean>;
183
- placement: EpPropFinalized<(new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, string, boolean>;
187
+ placement: EpPropFinalized<(new (...args: any[]) => "auto" | "top" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "auto" | "top" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, string, boolean>;
184
188
  fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, string[], boolean>;
185
189
  popperClass: {
186
190
  readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | {
@@ -311,6 +315,7 @@ declare const cascaderProps: {
311
315
  showCheckedStrategy: EpPropFinalized<StringConstructor, string, unknown, string, boolean>;
312
316
  checkOnClickNode: BooleanConstructor;
313
317
  showPrefix: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
318
+ fitInputWidth: EpPropFinalized<(BooleanConstructor | NumberConstructor)[], unknown, unknown, boolean, boolean>;
314
319
  modelValue: {
315
320
  readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | number | Record<string, any> | CascaderNodePathValue | (CascaderNodeValue | CascaderNodePathValue)[]) | (() => CascaderValue | null) | (((new (...args: any[]) => string | number | Record<string, any> | CascaderNodePathValue | (CascaderNodeValue | CascaderNodePathValue)[]) | (() => CascaderValue | null)) | null)[], unknown, unknown>>;
316
321
  readonly required: false;
@@ -319,6 +324,9 @@ declare const cascaderProps: {
319
324
  };
320
325
  options: EpPropFinalized<(new (...args: any[]) => CascaderOption[]) | (() => CascaderOption[]) | (((new (...args: any[]) => CascaderOption[]) | (() => CascaderOption[])) | null)[], unknown, unknown, () => CascaderOption[], boolean>;
321
326
  props: EpPropFinalized<(new (...args: any[]) => CascaderProps) | (() => CascaderProps) | (((new (...args: any[]) => CascaderProps) | (() => CascaderProps)) | null)[], unknown, unknown, () => CascaderProps, boolean>;
327
+ virtualScroll: BooleanConstructor;
328
+ itemSize: EpPropFinalized<NumberConstructor, unknown, unknown, 34, boolean>;
329
+ height: EpPropFinalized<NumberConstructor, unknown, unknown, 204, boolean>;
322
330
  };
323
331
  declare const cascaderEmits: {
324
332
  "update:modelValue": (value: CascaderValue | null | undefined) => boolean;
@@ -104,6 +104,10 @@ const cascaderProps = buildProps({
104
104
  type: Boolean,
105
105
  default: true
106
106
  },
107
+ fitInputWidth: {
108
+ type: [Boolean, Number],
109
+ default: false
110
+ },
107
111
  ...useEmptyValuesProps
108
112
  });
109
113
  const emitChangeFn = (value) => true;
@@ -1 +1 @@
1
- {"version":3,"file":"cascader.mjs","names":[],"sources":["../../../../../../packages/components/cascader/src/cascader.ts"],"sourcesContent":["import { placements } from '@popperjs/core'\nimport { CommonProps } from '@element-plus/components/cascader-panel'\nimport {\n buildProps,\n definePropType,\n iconPropType,\n isBoolean,\n} from '@element-plus/utils'\nimport { useEmptyValuesProps, useSizeProp } from '@element-plus/hooks'\nimport { useTooltipContentProps } from '@element-plus/components/tooltip'\nimport { tagProps } from '@element-plus/components/tag'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { CircleClose } from '@element-plus/icons-vue'\n\nimport type { StyleValue } from 'vue'\nimport type { UseEmptyValuesProps } from '@element-plus/hooks'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type { Placement, PopperEffect } from '@element-plus/components/popper'\nimport type {\n CascaderCommonProps,\n CascaderNode,\n CascaderValue,\n} from '@element-plus/components/cascader-panel'\nimport type { TagProps } from '@element-plus/components/tag'\nimport type { IconPropType } from '@element-plus/utils'\n\ntype CascaderClassType = string | Record<string, boolean> | CascaderClassType[]\n\nexport interface CascaderComponentProps\n extends CascaderCommonProps, UseEmptyValuesProps {\n /**\n * @description size of input\n */\n size?: ComponentSize\n /**\n * @description placeholder of input\n */\n placeholder?: string\n /**\n * @description whether Cascader is disabled\n */\n disabled?: boolean\n /**\n * @description whether selected value can be cleared\n */\n clearable?: boolean\n /**\n * @description custom clear icon component\n */\n clearIcon?: IconPropType\n /**\n * @description whether the options can be searched\n */\n filterable?: boolean\n /**\n * @description customize search logic, the first parameter is `node`, the second is `keyword`, and need return a boolean value indicating whether it hits.\n */\n filterMethod?: (node: CascaderNode, keyword: string) => boolean\n /**\n * @description option label separator\n */\n separator?: string\n /**\n * @description whether to display all levels of the selected value in the input\n */\n showAllLevels?: boolean\n /**\n * @description whether to collapse tags in multiple selection mode\n */\n collapseTags?: boolean\n /**\n * @description The max tags number to be shown. To use this, collapse-tags must be true\n */\n maxCollapseTags?: number\n /**\n * @description whether show all selected tags when mouse hover text of collapse-tags. To use this, collapse-tags must be true\n */\n collapseTagsTooltip?: boolean\n /**\n * @description The max height of collapse tags tooltip, in pixels. To use this, collapse-tags-tooltip must be true\n */\n maxCollapseTagsTooltipHeight?: string | number\n /**\n * @description debounce delay when typing filter keyword, in milliseconds\n */\n debounce?: number\n /**\n * @description hook function before filtering with the value to be filtered as its parameter. If `false` is returned or a `Promise` is returned and then is rejected, filtering will be aborted\n */\n beforeFilter?: (value: string) => boolean | Promise<any>\n /**\n * @description position of dropdown\n */\n placement?: Placement\n /**\n * @description list of possible positions for dropdown\n */\n fallbackPlacements?: Placement[]\n /**\n * @description custom class name for Cascader's dropdown\n */\n popperClass?: CascaderClassType\n /**\n * @description custom style for Cascader's dropdown\n */\n popperStyle?: StyleValue\n /**\n * @description whether cascader popup is teleported\n */\n teleported?: boolean\n /**\n * @description tooltip theme, built-in theme: `dark` / `light`\n */\n effect?: PopperEffect\n /**\n * @description tag type\n */\n tagType?: TagProps['type']\n /**\n * @description tag effect\n */\n tagEffect?: TagProps['effect']\n /**\n * @description whether to trigger form validation\n */\n validateEvent?: boolean\n /**\n * @description when dropdown is inactive and `persistent` is `false`, dropdown will be destroyed\n */\n persistent?: boolean\n /**\n * @description Use `parent` when you want things tidy (like \"Entire Collection\" instead of listing 100 items)\n * Use `child` when every single item matters (like important settings)\n */\n showCheckedStrategy?: 'parent' | 'child'\n /**\n * @description whether to check or uncheck node when clicking on the node\n */\n checkOnClickNode?: boolean\n /**\n * @description whether to show the radio or checkbox prefix\n */\n showPrefix?: boolean\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `CascaderComponentProps` instead.\n */\nexport const cascaderProps = buildProps({\n ...CommonProps,\n /**\n * @description size of input\n */\n size: useSizeProp,\n /**\n * @description placeholder of input\n */\n placeholder: String,\n /**\n * @description whether Cascader is disabled\n */\n disabled: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description whether selected value can be cleared\n */\n clearable: Boolean,\n /**\n * @description custom clear icon component\n */\n clearIcon: {\n type: iconPropType,\n default: CircleClose,\n },\n /**\n * @description whether the options can be searched\n */\n filterable: Boolean,\n /**\n * @description customize search logic, the first parameter is `node`, the second is `keyword`, and need return a boolean value indicating whether it hits.\n */\n filterMethod: {\n type: definePropType<(node: CascaderNode, keyword: string) => boolean>(\n Function\n ),\n default: (node: CascaderNode, keyword: string) =>\n node.text.includes(keyword),\n },\n /**\n * @description option label separator\n */\n separator: {\n type: String,\n default: ' / ',\n },\n /**\n * @description whether to display all levels of the selected value in the input\n */\n showAllLevels: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to collapse tags in multiple selection mode\n */\n collapseTags: Boolean,\n /**\n * @description The max tags number to be shown. To use this, collapse-tags must be true\n */\n maxCollapseTags: {\n type: Number,\n default: 1,\n },\n /**\n * @description whether show all selected tags when mouse hover text of collapse-tags. To use this, collapse-tags must be true\n */\n collapseTagsTooltip: Boolean,\n /**\n * @description The max height of collapse tags tooltip, in pixels. To use this, collapse-tags-tooltip must be true\n */\n maxCollapseTagsTooltipHeight: {\n type: [String, Number],\n },\n /**\n * @description debounce delay when typing filter keyword, in milliseconds\n */\n debounce: {\n type: Number,\n default: 300,\n },\n /**\n * @description hook function before filtering with the value to be filtered as its parameter. If `false` is returned or a `Promise` is returned and then is rejected, filtering will be aborted\n */\n beforeFilter: {\n type: definePropType<(value: string) => boolean | Promise<any>>(Function),\n default: () => true,\n },\n /**\n * @description position of dropdown\n */\n placement: {\n type: definePropType<Placement>(String),\n values: placements,\n default: 'bottom-start',\n },\n /**\n * @description list of possible positions for dropdown\n */\n fallbackPlacements: {\n type: definePropType<Placement[]>(Array),\n default: ['bottom-start', 'bottom', 'top-start', 'top', 'right', 'left'],\n },\n /**\n * @description custom class name for Cascader's dropdown\n */\n popperClass: useTooltipContentProps.popperClass,\n /**\n * @description custom style for Cascader's dropdown\n */\n popperStyle: useTooltipContentProps.popperStyle,\n /**\n * @description whether cascader popup is teleported\n */\n teleported: useTooltipContentProps.teleported,\n /**\n * @description tooltip theme, built-in theme: `dark` / `light`\n */\n effect: {\n type: definePropType<PopperEffect>(String),\n default: 'light',\n },\n /**\n * @description tag type\n */\n\n tagType: { ...tagProps.type, default: 'info' },\n /**\n * @description tag effect\n */\n tagEffect: { ...tagProps.effect, default: 'light' },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description when dropdown is inactive and `persistent` is `false`, dropdown will be destroyed\n */\n persistent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Use `parent` when you want things tidy (like \"Entire Collection\" instead of listing 100 items)\n * Use `child` when every single item matters (like important settings)\n */\n showCheckedStrategy: {\n type: String,\n values: ['parent', 'child'],\n default: 'child',\n },\n /**\n * @description whether to check or uncheck node when clicking on the node\n */\n checkOnClickNode: Boolean,\n /**\n * @description whether to show the radio or checkbox prefix\n */\n showPrefix: {\n type: Boolean,\n default: true,\n },\n ...useEmptyValuesProps,\n})\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst emitChangeFn = (value: CascaderValue | null | undefined) => true\n\nexport const cascaderEmits = {\n [UPDATE_MODEL_EVENT]: emitChangeFn,\n [CHANGE_EVENT]: emitChangeFn,\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n visibleChange: (val: boolean) => isBoolean(val),\n expandChange: (val: CascaderValue) => !!val,\n removeTag: (val: CascaderNode['valueByOption']) => !!val,\n}\n\nexport type CascaderEmits = typeof cascaderEmits\n"],"mappings":";;;;;;;;;;;;;;;;AAoJA,MAAa,gBAAgB,WAAW;CACtC,GAAG;CAIH,MAAM;CAIN,aAAa;CAIb,UAAU;EACR,MAAM;EACN,SAAS;EACV;CAID,WAAW;CAIX,WAAW;EACT,MAAM;EACN,SAAS;EACV;CAID,YAAY;CAIZ,cAAc;EACZ,MAAM,eACJ,SACD;EACD,UAAU,MAAoB,YAC5B,KAAK,KAAK,SAAS,QAAQ;EAC9B;CAID,WAAW;EACT,MAAM;EACN,SAAS;EACV;CAID,eAAe;EACb,MAAM;EACN,SAAS;EACV;CAID,cAAc;CAId,iBAAiB;EACf,MAAM;EACN,SAAS;EACV;CAID,qBAAqB;CAIrB,8BAA8B,EAC5B,MAAM,CAAC,QAAQ,OAAO,EACvB;CAID,UAAU;EACR,MAAM;EACN,SAAS;EACV;CAID,cAAc;EACZ,MAAM,eAA0D,SAAS;EACzE,eAAe;EAChB;CAID,WAAW;EACT,MAAM,eAA0B,OAAO;EACvC,QAAQ;EACR,SAAS;EACV;CAID,oBAAoB;EAClB,MAAM,eAA4B,MAAM;EACxC,SAAS;GAAC;GAAgB;GAAU;GAAa;GAAO;GAAS;GAAO;EACzE;CAID,aAAa,uBAAuB;CAIpC,aAAa,uBAAuB;CAIpC,YAAY,uBAAuB;CAInC,QAAQ;EACN,MAAM,eAA6B,OAAO;EAC1C,SAAS;EACV;CAKD,SAAS;EAAE,GAAG,SAAS;EAAM,SAAS;EAAQ;CAI9C,WAAW;EAAE,GAAG,SAAS;EAAQ,SAAS;EAAS;CAInD,eAAe;EACb,MAAM;EACN,SAAS;EACV;CAID,YAAY;EACV,MAAM;EACN,SAAS;EACV;CAKD,qBAAqB;EACnB,MAAM;EACN,QAAQ,CAAC,UAAU,QAAQ;EAC3B,SAAS;EACV;CAID,kBAAkB;CAIlB,YAAY;EACV,MAAM;EACN,SAAS;EACV;CACD,GAAG;CACJ,CAAC;AAGF,MAAM,gBAAgB,UAA4C;AAElE,MAAa,gBAAgB;EAC1B,qBAAqB;EACrB,eAAe;CAChB,QAAQ,QAAoB,eAAe;CAC3C,OAAO,QAAoB,eAAe;CAC1C,aAAa;CACb,gBAAgB,QAAiB,UAAU,IAAI;CAC/C,eAAe,QAAuB,CAAC,CAAC;CACxC,YAAY,QAAuC,CAAC,CAAC;CACtD"}
1
+ {"version":3,"file":"cascader.mjs","names":[],"sources":["../../../../../../packages/components/cascader/src/cascader.ts"],"sourcesContent":["import { placements } from '@popperjs/core'\nimport { CommonProps } from '@element-plus/components/cascader-panel'\nimport {\n buildProps,\n definePropType,\n iconPropType,\n isBoolean,\n} from '@element-plus/utils'\nimport { useEmptyValuesProps, useSizeProp } from '@element-plus/hooks'\nimport { useTooltipContentProps } from '@element-plus/components/tooltip'\nimport { tagProps } from '@element-plus/components/tag'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { CircleClose } from '@element-plus/icons-vue'\n\nimport type { StyleValue } from 'vue'\nimport type { UseEmptyValuesProps } from '@element-plus/hooks'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type { Placement, PopperEffect } from '@element-plus/components/popper'\nimport type {\n CascaderCommonProps,\n CascaderNode,\n CascaderValue,\n} from '@element-plus/components/cascader-panel'\nimport type { TagProps } from '@element-plus/components/tag'\nimport type { IconPropType } from '@element-plus/utils'\n\ntype CascaderClassType = string | Record<string, boolean> | CascaderClassType[]\n\nexport interface CascaderComponentProps\n extends CascaderCommonProps, UseEmptyValuesProps {\n /**\n * @description size of input\n */\n size?: ComponentSize\n /**\n * @description placeholder of input\n */\n placeholder?: string\n /**\n * @description whether Cascader is disabled\n */\n disabled?: boolean\n /**\n * @description whether selected value can be cleared\n */\n clearable?: boolean\n /**\n * @description custom clear icon component\n */\n clearIcon?: IconPropType\n /**\n * @description whether the options can be searched\n */\n filterable?: boolean\n /**\n * @description customize search logic, the first parameter is `node`, the second is `keyword`, and need return a boolean value indicating whether it hits.\n */\n filterMethod?: (node: CascaderNode, keyword: string) => boolean\n /**\n * @description option label separator\n */\n separator?: string\n /**\n * @description whether to display all levels of the selected value in the input\n */\n showAllLevels?: boolean\n /**\n * @description whether to collapse tags in multiple selection mode\n */\n collapseTags?: boolean\n /**\n * @description The max tags number to be shown. To use this, collapse-tags must be true\n */\n maxCollapseTags?: number\n /**\n * @description whether show all selected tags when mouse hover text of collapse-tags. To use this, collapse-tags must be true\n */\n collapseTagsTooltip?: boolean\n /**\n * @description The max height of collapse tags tooltip, in pixels. To use this, collapse-tags-tooltip must be true\n */\n maxCollapseTagsTooltipHeight?: string | number\n /**\n * @description debounce delay when typing filter keyword, in milliseconds\n */\n debounce?: number\n /**\n * @description hook function before filtering with the value to be filtered as its parameter. If `false` is returned or a `Promise` is returned and then is rejected, filtering will be aborted\n */\n beforeFilter?: (value: string) => boolean | Promise<any>\n /**\n * @description position of dropdown\n */\n placement?: Placement\n /**\n * @description list of possible positions for dropdown\n */\n fallbackPlacements?: Placement[]\n /**\n * @description custom class name for Cascader's dropdown\n */\n popperClass?: CascaderClassType\n /**\n * @description custom style for Cascader's dropdown\n */\n popperStyle?: StyleValue\n /**\n * @description whether cascader popup is teleported\n */\n teleported?: boolean\n /**\n * @description tooltip theme, built-in theme: `dark` / `light`\n */\n effect?: PopperEffect\n /**\n * @description tag type\n */\n tagType?: TagProps['type']\n /**\n * @description tag effect\n */\n tagEffect?: TagProps['effect']\n /**\n * @description whether to trigger form validation\n */\n validateEvent?: boolean\n /**\n * @description when dropdown is inactive and `persistent` is `false`, dropdown will be destroyed\n */\n persistent?: boolean\n /**\n * @description Use `parent` when you want things tidy (like \"Entire Collection\" instead of listing 100 items)\n * Use `child` when every single item matters (like important settings)\n */\n showCheckedStrategy?: 'parent' | 'child'\n /**\n * @description whether to check or uncheck node when clicking on the node\n */\n checkOnClickNode?: boolean\n /**\n * @description whether to show the radio or checkbox prefix\n */\n showPrefix?: boolean\n /**\n * @description whether the width of the suggestion panel is the same as the input, if the value is `number`, then the width is fixed\n */\n fitInputWidth?: boolean | number\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `CascaderComponentProps` instead.\n */\nexport const cascaderProps = buildProps({\n ...CommonProps,\n /**\n * @description size of input\n */\n size: useSizeProp,\n /**\n * @description placeholder of input\n */\n placeholder: String,\n /**\n * @description whether Cascader is disabled\n */\n disabled: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description whether selected value can be cleared\n */\n clearable: Boolean,\n /**\n * @description custom clear icon component\n */\n clearIcon: {\n type: iconPropType,\n default: CircleClose,\n },\n /**\n * @description whether the options can be searched\n */\n filterable: Boolean,\n /**\n * @description customize search logic, the first parameter is `node`, the second is `keyword`, and need return a boolean value indicating whether it hits.\n */\n filterMethod: {\n type: definePropType<(node: CascaderNode, keyword: string) => boolean>(\n Function\n ),\n default: (node: CascaderNode, keyword: string) =>\n node.text.includes(keyword),\n },\n /**\n * @description option label separator\n */\n separator: {\n type: String,\n default: ' / ',\n },\n /**\n * @description whether to display all levels of the selected value in the input\n */\n showAllLevels: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to collapse tags in multiple selection mode\n */\n collapseTags: Boolean,\n /**\n * @description The max tags number to be shown. To use this, collapse-tags must be true\n */\n maxCollapseTags: {\n type: Number,\n default: 1,\n },\n /**\n * @description whether show all selected tags when mouse hover text of collapse-tags. To use this, collapse-tags must be true\n */\n collapseTagsTooltip: Boolean,\n /**\n * @description The max height of collapse tags tooltip, in pixels. To use this, collapse-tags-tooltip must be true\n */\n maxCollapseTagsTooltipHeight: {\n type: [String, Number],\n },\n /**\n * @description debounce delay when typing filter keyword, in milliseconds\n */\n debounce: {\n type: Number,\n default: 300,\n },\n /**\n * @description hook function before filtering with the value to be filtered as its parameter. If `false` is returned or a `Promise` is returned and then is rejected, filtering will be aborted\n */\n beforeFilter: {\n type: definePropType<(value: string) => boolean | Promise<any>>(Function),\n default: () => true,\n },\n /**\n * @description position of dropdown\n */\n placement: {\n type: definePropType<Placement>(String),\n values: placements,\n default: 'bottom-start',\n },\n /**\n * @description list of possible positions for dropdown\n */\n fallbackPlacements: {\n type: definePropType<Placement[]>(Array),\n default: ['bottom-start', 'bottom', 'top-start', 'top', 'right', 'left'],\n },\n /**\n * @description custom class name for Cascader's dropdown\n */\n popperClass: useTooltipContentProps.popperClass,\n /**\n * @description custom style for Cascader's dropdown\n */\n popperStyle: useTooltipContentProps.popperStyle,\n /**\n * @description whether cascader popup is teleported\n */\n teleported: useTooltipContentProps.teleported,\n /**\n * @description tooltip theme, built-in theme: `dark` / `light`\n */\n effect: {\n type: definePropType<PopperEffect>(String),\n default: 'light',\n },\n /**\n * @description tag type\n */\n\n tagType: { ...tagProps.type, default: 'info' },\n /**\n * @description tag effect\n */\n tagEffect: { ...tagProps.effect, default: 'light' },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description when dropdown is inactive and `persistent` is `false`, dropdown will be destroyed\n */\n persistent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Use `parent` when you want things tidy (like \"Entire Collection\" instead of listing 100 items)\n * Use `child` when every single item matters (like important settings)\n */\n showCheckedStrategy: {\n type: String,\n values: ['parent', 'child'],\n default: 'child',\n },\n /**\n * @description whether to check or uncheck node when clicking on the node\n */\n checkOnClickNode: Boolean,\n /**\n * @description whether to show the radio or checkbox prefix\n */\n showPrefix: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether the width of the suggestion panel is the same as the input, if the value is `number`, then the width is fixed\n */\n fitInputWidth: {\n type: [Boolean, Number],\n default: false,\n },\n ...useEmptyValuesProps,\n})\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst emitChangeFn = (value: CascaderValue | null | undefined) => true\n\nexport const cascaderEmits = {\n [UPDATE_MODEL_EVENT]: emitChangeFn,\n [CHANGE_EVENT]: emitChangeFn,\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n visibleChange: (val: boolean) => isBoolean(val),\n expandChange: (val: CascaderValue) => !!val,\n removeTag: (val: CascaderNode['valueByOption']) => !!val,\n}\n\nexport type CascaderEmits = typeof cascaderEmits\n"],"mappings":";;;;;;;;;;;;;;;;AAwJA,MAAa,gBAAgB,WAAW;CACtC,GAAG;CAIH,MAAM;CAIN,aAAa;CAIb,UAAU;EACR,MAAM;EACN,SAAS;EACV;CAID,WAAW;CAIX,WAAW;EACT,MAAM;EACN,SAAS;EACV;CAID,YAAY;CAIZ,cAAc;EACZ,MAAM,eACJ,SACD;EACD,UAAU,MAAoB,YAC5B,KAAK,KAAK,SAAS,QAAQ;EAC9B;CAID,WAAW;EACT,MAAM;EACN,SAAS;EACV;CAID,eAAe;EACb,MAAM;EACN,SAAS;EACV;CAID,cAAc;CAId,iBAAiB;EACf,MAAM;EACN,SAAS;EACV;CAID,qBAAqB;CAIrB,8BAA8B,EAC5B,MAAM,CAAC,QAAQ,OAAO,EACvB;CAID,UAAU;EACR,MAAM;EACN,SAAS;EACV;CAID,cAAc;EACZ,MAAM,eAA0D,SAAS;EACzE,eAAe;EAChB;CAID,WAAW;EACT,MAAM,eAA0B,OAAO;EACvC,QAAQ;EACR,SAAS;EACV;CAID,oBAAoB;EAClB,MAAM,eAA4B,MAAM;EACxC,SAAS;GAAC;GAAgB;GAAU;GAAa;GAAO;GAAS;GAAO;EACzE;CAID,aAAa,uBAAuB;CAIpC,aAAa,uBAAuB;CAIpC,YAAY,uBAAuB;CAInC,QAAQ;EACN,MAAM,eAA6B,OAAO;EAC1C,SAAS;EACV;CAKD,SAAS;EAAE,GAAG,SAAS;EAAM,SAAS;EAAQ;CAI9C,WAAW;EAAE,GAAG,SAAS;EAAQ,SAAS;EAAS;CAInD,eAAe;EACb,MAAM;EACN,SAAS;EACV;CAID,YAAY;EACV,MAAM;EACN,SAAS;EACV;CAKD,qBAAqB;EACnB,MAAM;EACN,QAAQ,CAAC,UAAU,QAAQ;EAC3B,SAAS;EACV;CAID,kBAAkB;CAIlB,YAAY;EACV,MAAM;EACN,SAAS;EACV;CAID,eAAe;EACb,MAAM,CAAC,SAAS,OAAO;EACvB,SAAS;EACV;CACD,GAAG;CACJ,CAAC;AAGF,MAAM,gBAAgB,UAA4C;AAElE,MAAa,gBAAgB;EAC1B,qBAAqB;EACrB,eAAe;CAChB,QAAQ,QAAoB,eAAe;CAC3C,OAAO,QAAoB,eAAe;CAC1C,aAAa;CACb,gBAAgB,QAAiB,UAAU,IAAI;CAC/C,eAAe,QAAuB,CAAC,CAAC;CACxC,YAAY,QAAuC,CAAC,CAAC;CACtD"}
@@ -81,7 +81,7 @@ declare var __VLS_26: {}, __VLS_55: {
81
81
  closable: boolean;
82
82
  }[];
83
83
  deleteTag: (tag: Tag) => void;
84
- }, __VLS_96: {}, __VLS_110: {}, __VLS_122: {
84
+ }, __VLS_96: {}, __VLS_110: {}, __VLS_120: {
85
85
  item: {
86
86
  readonly uid: number;
87
87
  readonly level: number;
@@ -143,7 +143,9 @@ declare var __VLS_26: {}, __VLS_55: {
143
143
  setCheckState: (checked: boolean) => void;
144
144
  doCheck: (checked: boolean) => void;
145
145
  };
146
- }, __VLS_135: {}, __VLS_137: {};
146
+ }, __VLS_133: {}, __VLS_144: {
147
+ item: any;
148
+ }, __VLS_157: {}, __VLS_159: {};
147
149
  type __VLS_Slots = {} & {
148
150
  prefix?: (props: typeof __VLS_26) => any;
149
151
  } & {
@@ -153,11 +155,15 @@ type __VLS_Slots = {} & {
153
155
  } & {
154
156
  empty?: (props: typeof __VLS_110) => any;
155
157
  } & {
156
- 'suggestion-item'?: (props: typeof __VLS_122) => any;
158
+ 'suggestion-item'?: (props: typeof __VLS_120) => any;
157
159
  } & {
158
- empty?: (props: typeof __VLS_135) => any;
160
+ empty?: (props: typeof __VLS_133) => any;
159
161
  } & {
160
- footer?: (props: typeof __VLS_137) => any;
162
+ 'suggestion-item'?: (props: typeof __VLS_144) => any;
163
+ } & {
164
+ empty?: (props: typeof __VLS_157) => any;
165
+ } & {
166
+ footer?: (props: typeof __VLS_159) => any;
161
167
  };
162
168
  declare const __VLS_base: vue.DefineComponent<CascaderComponentProps, {
163
169
  /**
@@ -183,45 +189,47 @@ declare const __VLS_base: vue.DefineComponent<CascaderComponentProps, {
183
189
  focus: () => void; /** @description blur the input element */
184
190
  blur: () => void;
185
191
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
186
- clear: () => void;
187
- "update:modelValue": (value: CascaderValue | null | undefined) => void;
188
192
  change: (value: CascaderValue | null | undefined) => void;
189
- focus: (evt: FocusEvent) => void;
193
+ "update:modelValue": (value: CascaderValue | null | undefined) => void;
194
+ clear: () => void;
190
195
  blur: (evt: FocusEvent) => void;
196
+ focus: (evt: FocusEvent) => void;
191
197
  visibleChange: (val: boolean) => void;
192
198
  expandChange: (val: CascaderValue) => void;
193
199
  removeTag: (val: CascaderNodeValue | CascaderNodePathValue) => void;
194
200
  }, string, vue.PublicProps, Readonly<CascaderComponentProps> & Readonly<{
195
- onClear?: (() => any) | undefined;
196
- "onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
197
201
  onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
198
- onFocus?: ((evt: FocusEvent) => any) | undefined;
202
+ "onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
203
+ onClear?: (() => any) | undefined;
199
204
  onBlur?: ((evt: FocusEvent) => any) | undefined;
205
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
200
206
  onVisibleChange?: ((val: boolean) => any) | undefined;
201
207
  onExpandChange?: ((val: CascaderValue) => any) | undefined;
202
208
  onRemoveTag?: ((val: CascaderNodeValue | CascaderNodePathValue) => any) | undefined;
203
209
  }>, {
210
+ valueOnClear: string | number | boolean | Function | null;
204
211
  props: CascaderProps;
205
- fallbackPlacements: Placement[];
206
- placement: Placement;
212
+ disabled: boolean;
207
213
  effect: PopperEffect;
214
+ validateEvent: boolean;
215
+ placement: Placement;
208
216
  popperStyle: string | false | vue.CSSProperties | StyleValue[] | null;
217
+ fallbackPlacements: Placement[];
218
+ height: number;
219
+ filterMethod: (node: Node, keyword: string) => boolean;
220
+ itemSize: number;
221
+ separator: string;
209
222
  teleported: boolean;
210
223
  persistent: boolean;
211
- disabled: boolean;
212
- options: CascaderOption[];
213
- valueOnClear: string | number | boolean | Function | null;
214
224
  clearIcon: IconPropType;
215
- validateEvent: boolean;
216
- separator: string;
225
+ options: CascaderOption[];
217
226
  debounce: number;
218
- showPrefix: boolean;
219
- filterMethod: (node: Node, keyword: string) => boolean;
220
- showAllLevels: boolean;
221
227
  maxCollapseTags: number;
222
- beforeFilter: (value: string) => boolean | Promise<any>;
223
228
  tagType: "primary" | "success" | "info" | "warning" | "danger";
224
229
  tagEffect: "light" | "dark" | "plain";
230
+ showPrefix: boolean;
231
+ showAllLevels: boolean;
232
+ beforeFilter: (value: string) => boolean | Promise<any>;
225
233
  showCheckedStrategy: "parent" | "child";
226
234
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
227
235
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;