@element-plus/nightly 0.0.20260423 → 0.0.20260424

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 (678) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +4761 -4444
  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 +4760 -4445
  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.d.ts +1 -1
  278. package/es/components/affix/src/affix.vue.d.ts +3 -3
  279. package/es/components/alert/src/alert.d.ts +1 -1
  280. package/es/components/alert/src/alert.vue.d.ts +1 -1
  281. package/es/components/anchor/src/anchor.d.ts +1 -1
  282. package/es/components/autocomplete/src/autocomplete.d.ts +2 -2
  283. package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  284. package/es/components/avatar/src/avatar-group-props.d.ts +1 -1
  285. package/es/components/avatar/src/avatar-group.d.ts +3 -3
  286. package/es/components/avatar/src/avatar.d.ts +2 -2
  287. package/es/components/backtop/src/backtop.vue.d.ts +1 -1
  288. package/es/components/badge/src/badge.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 +1 -1
  292. package/es/components/calendar/src/calendar.d.ts +1 -1
  293. package/es/components/calendar/src/calendar.vue.d.ts +1 -1
  294. package/es/components/card/src/card.d.ts +1 -1
  295. package/es/components/card/src/card.vue.d.ts +1 -1
  296. package/es/components/carousel/src/carousel.d.ts +2 -2
  297. package/es/components/carousel/src/carousel.vue.d.ts +2 -2
  298. package/es/components/cascader/src/cascader.d.ts +11 -3
  299. package/es/components/cascader/src/cascader.mjs +4 -0
  300. package/es/components/cascader/src/cascader.mjs.map +1 -1
  301. package/es/components/cascader/src/cascader.vue.d.ts +24 -16
  302. package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs +155 -29
  303. package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  304. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  305. package/es/components/cascader-panel/index.d.ts +2 -2
  306. package/es/components/cascader-panel/index.mjs +2 -2
  307. package/es/components/cascader-panel/src/config.d.ts +27 -1
  308. package/es/components/cascader-panel/src/config.mjs +18 -1
  309. package/es/components/cascader-panel/src/config.mjs.map +1 -1
  310. package/es/components/cascader-panel/src/index.mjs.map +1 -1
  311. package/es/components/cascader-panel/src/index.vue.d.ts +7 -5
  312. package/es/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.mjs +44 -5
  313. package/es/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  314. package/es/components/cascader-panel/src/menu.mjs.map +1 -1
  315. package/es/components/cascader-panel/src/menu.vue.d.ts +23 -22
  316. package/es/components/cascader-panel/src/menu.vue_vue_type_script_setup_true_lang.mjs +120 -6
  317. package/es/components/cascader-panel/src/menu.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  318. package/es/components/cascader-panel/src/node.vue_vue_type_script_setup_true_lang.mjs +4 -1
  319. package/es/components/cascader-panel/src/node.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  320. package/es/components/cascader-panel/src/node2.mjs.map +1 -1
  321. package/es/components/cascader-panel/src/types.d.ts +3 -0
  322. package/es/components/cascader-panel/src/types.mjs.map +1 -1
  323. package/es/components/cascader-panel/style/css.mjs +1 -1
  324. package/es/components/cascader-panel/style/index.mjs +1 -1
  325. package/es/components/check-tag/src/check-tag.d.ts +1 -1
  326. package/es/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
  327. package/es/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
  328. package/es/components/checkbox/src/checkbox.d.ts +8 -8
  329. package/es/components/checkbox/src/checkbox.vue.d.ts +6 -6
  330. package/es/components/col/src/col.vue.d.ts +1 -1
  331. package/es/components/collapse/src/collapse-item.vue.d.ts +1 -1
  332. package/es/components/collapse/src/collapse.vue.d.ts +2 -2
  333. package/es/components/color-picker/src/color-picker.vue.d.ts +7 -7
  334. package/es/components/config-provider/src/config-provider.d.ts +1 -1
  335. package/es/components/date-picker/src/date-picker.d.ts +7 -7
  336. package/es/components/date-picker/src/props.d.ts +2 -2
  337. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
  338. package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
  339. package/es/components/descriptions/src/description-item.d.ts +12 -12
  340. package/es/components/descriptions/src/description.vue.d.ts +1 -1
  341. package/es/components/dialog/src/dialog.vue.d.ts +4 -4
  342. package/es/components/drawer/src/drawer.vue.d.ts +6 -6
  343. package/es/components/dropdown/src/dropdown-item.vue.d.ts +6 -6
  344. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  345. package/es/components/dropdown/src/dropdown.d.ts +4 -4
  346. package/es/components/dropdown/src/dropdown.vue.d.ts +84 -84
  347. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  348. package/es/components/image/src/image.d.ts +1 -1
  349. package/es/components/image/src/image.vue.d.ts +7 -7
  350. package/es/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
  351. package/es/components/index.d.ts +11 -11
  352. package/es/components/index.mjs +7 -7
  353. package/es/components/input/src/input.d.ts +1 -1
  354. package/es/components/input/src/input.vue.d.ts +14 -14
  355. package/es/components/input-number/src/input-number.d.ts +1 -1
  356. package/es/components/input-number/src/input-number.vue.d.ts +8 -8
  357. package/es/components/input-otp/src/input-otp.vue.d.ts +6 -6
  358. package/es/components/input-tag/src/input-tag.d.ts +1 -1
  359. package/es/components/input-tag/src/input-tag.vue.d.ts +10 -10
  360. package/es/components/link/src/link.d.ts +2 -2
  361. package/es/components/link/src/link.vue.d.ts +1 -1
  362. package/es/components/mention/src/mention.d.ts +2 -2
  363. package/es/components/mention/src/mention.vue.d.ts +5 -5
  364. package/es/components/menu/src/menu.d.ts +10 -10
  365. package/es/components/menu/src/sub-menu.d.ts +1 -1
  366. package/es/components/message/src/message.d.ts +2 -2
  367. package/es/components/message/src/message.vue.d.ts +6 -6
  368. package/es/components/message-box/index.d.ts +2 -2
  369. package/es/components/message-box/src/message-box.type.d.ts +9 -3
  370. package/es/components/message-box/src/messageBox.mjs +9 -1
  371. package/es/components/message-box/src/messageBox.mjs.map +1 -1
  372. package/es/components/notification/src/notification.d.ts +2 -2
  373. package/es/components/notification/src/notification.vue.d.ts +5 -5
  374. package/es/components/page-header/src/page-header.vue.d.ts +1 -1
  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 +5 -5
  378. package/es/components/popover/src/popover.d.ts +2 -2
  379. package/es/components/popover/src/popover.vue.d.ts +11 -11
  380. package/es/components/popper/src/composables/use-content.d.ts +1 -1
  381. package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  382. package/es/components/popper/src/content.d.ts +4 -4
  383. package/es/components/popper/src/content.vue.d.ts +15 -15
  384. package/es/components/popper/src/popper.d.ts +2 -2
  385. package/es/components/progress/src/progress.d.ts +2 -2
  386. package/es/components/progress/src/progress.vue.d.ts +1 -1
  387. package/es/components/radio/src/radio-button.d.ts +3 -3
  388. package/es/components/radio/src/radio-button.vue.d.ts +3 -3
  389. package/es/components/radio/src/radio-group.vue.d.ts +5 -5
  390. package/es/components/radio/src/radio.d.ts +6 -6
  391. package/es/components/radio/src/radio.vue.d.ts +5 -5
  392. package/es/components/rate/src/rate.vue.d.ts +4 -4
  393. package/es/components/result/src/result.d.ts +1 -1
  394. package/es/components/result/src/result.vue.d.ts +1 -1
  395. package/es/components/row/src/row.d.ts +2 -2
  396. package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  397. package/es/components/segmented/index.d.ts +3 -3
  398. package/es/components/segmented/src/segmented.d.ts +1 -1
  399. package/es/components/segmented/src/segmented.vue.d.ts +2 -2
  400. package/es/components/select/src/option.d.ts +2 -2
  401. package/es/components/select/src/option.vue.d.ts +5 -5
  402. package/es/components/select/src/select.d.ts +4 -4
  403. package/es/components/select/src/select.vue.d.ts +96 -96
  404. package/es/components/select-v2/src/defaults.d.ts +2 -2
  405. package/es/components/select-v2/src/select-dropdown.d.ts +2 -2
  406. package/es/components/select-v2/src/select.vue.d.ts +80 -80
  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 +6 -6
  410. package/es/components/space/src/space.d.ts +2 -2
  411. package/es/components/splitter/src/splitter.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 +2 -2
  414. package/es/components/steps/src/steps.d.ts +2 -2
  415. package/es/components/steps/src/steps.vue.d.ts +1 -1
  416. package/es/components/switch/src/switch.vue.d.ts +5 -5
  417. package/es/components/table/src/table-column/index.d.ts +24 -24
  418. package/es/components/table/src/table-header/index.d.ts +19 -19
  419. package/es/components/table/src/table-layout.d.ts +1 -0
  420. package/es/components/table/src/table-layout.mjs +5 -1
  421. package/es/components/table/src/table-layout.mjs.map +1 -1
  422. package/es/components/table/src/table.vue.d.ts +39 -39
  423. package/es/components/table-v2/src/components/row.d.ts +1 -1
  424. package/es/components/table-v2/src/table-grid.d.ts +2 -2
  425. package/es/components/table-v2/src/table-v2.d.ts +2 -2
  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/tabs.d.ts +5 -5
  430. package/es/components/tag/src/tag.d.ts +1 -1
  431. package/es/components/tag/src/tag.vue.d.ts +2 -2
  432. package/es/components/text/src/text.d.ts +1 -1
  433. package/es/components/text/src/text.vue.d.ts +1 -1
  434. package/es/components/time-picker/src/common/picker.vue.d.ts +11 -11
  435. package/es/components/time-picker/src/common/props.d.ts +2 -2
  436. package/es/components/time-picker/src/time-picker.d.ts +7 -7
  437. package/es/components/time-select/src/time-select.vue.d.ts +9 -9
  438. package/es/components/timeline/src/timeline-item.d.ts +3 -3
  439. package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
  440. package/es/components/tooltip/src/content.d.ts +1 -1
  441. package/es/components/tooltip/src/content.vue.d.ts +15 -15
  442. package/es/components/tooltip/src/tooltip.d.ts +3 -3
  443. package/es/components/tooltip/src/tooltip.vue.d.ts +19 -19
  444. package/es/components/tooltip/src/trigger.d.ts +1 -1
  445. package/es/components/tour/src/content.d.ts +2 -2
  446. package/es/components/tour/src/step.d.ts +1 -1
  447. package/es/components/tour/src/tour.d.ts +1 -1
  448. package/es/components/tour/src/tour.vue.d.ts +6 -6
  449. package/es/components/transfer/src/transfer.vue.d.ts +2 -2
  450. package/es/components/tree/src/tree.vue.d.ts +20 -20
  451. package/es/components/tree-select/src/tree-select.vue.d.ts +22 -22
  452. package/es/components/tree-v2/src/tree.vue.d.ts +3 -3
  453. package/es/components/upload/src/upload-content.d.ts +1 -1
  454. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  455. package/es/components/upload/src/upload-list.d.ts +1 -1
  456. package/es/components/upload/src/upload.d.ts +2 -2
  457. package/es/components/upload/src/upload.vue.d.ts +2 -2
  458. package/es/components/virtual-list/src/builders/build-grid.d.ts +15 -3
  459. package/es/components/virtual-list/src/builders/build-list.mjs +2 -1
  460. package/es/components/virtual-list/src/builders/build-list.mjs.map +1 -1
  461. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +15 -3
  462. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +17 -5
  463. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +15 -3
  464. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +17 -5
  465. package/es/components/virtual-list/src/props.d.ts +18 -0
  466. package/es/components/virtual-list/src/props.mjs +4 -0
  467. package/es/components/virtual-list/src/props.mjs.map +1 -1
  468. package/es/hooks/use-floating/index.d.ts +4 -4
  469. package/es/hooks/use-popper/index.d.ts +1 -1
  470. package/es/index.d.ts +10 -10
  471. package/es/index.mjs +7 -7
  472. package/es/version.mjs +1 -1
  473. package/es/version.mjs.map +1 -1
  474. package/lib/components/affix/src/affix.d.ts +1 -1
  475. package/lib/components/affix/src/affix.vue.d.ts +3 -3
  476. package/lib/components/alert/src/alert.d.ts +1 -1
  477. package/lib/components/alert/src/alert.vue.d.ts +1 -1
  478. package/lib/components/anchor/src/anchor.d.ts +1 -1
  479. package/lib/components/autocomplete/src/autocomplete.d.ts +2 -2
  480. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  481. package/lib/components/avatar/src/avatar-group-props.d.ts +1 -1
  482. package/lib/components/avatar/src/avatar-group.d.ts +3 -3
  483. package/lib/components/avatar/src/avatar.d.ts +2 -2
  484. package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
  485. package/lib/components/badge/src/badge.d.ts +1 -1
  486. package/lib/components/button/src/button-group.vue.d.ts +1 -1
  487. package/lib/components/button/src/button.d.ts +1 -1
  488. package/lib/components/button/src/button.vue.d.ts +1 -1
  489. package/lib/components/calendar/src/calendar.d.ts +1 -1
  490. package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
  491. package/lib/components/card/src/card.d.ts +1 -1
  492. package/lib/components/card/src/card.vue.d.ts +1 -1
  493. package/lib/components/carousel/src/carousel.d.ts +2 -2
  494. package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
  495. package/lib/components/cascader/src/cascader.d.ts +11 -3
  496. package/lib/components/cascader/src/cascader.js +4 -0
  497. package/lib/components/cascader/src/cascader.js.map +1 -1
  498. package/lib/components/cascader/src/cascader.vue.d.ts +24 -16
  499. package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js +154 -27
  500. package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js.map +1 -1
  501. package/lib/components/cascader/src/cascader2.js.map +1 -1
  502. package/lib/components/cascader-panel/index.d.ts +2 -2
  503. package/lib/components/cascader-panel/index.js +2 -0
  504. package/lib/components/cascader-panel/src/config.d.ts +27 -1
  505. package/lib/components/cascader-panel/src/config.js +19 -0
  506. package/lib/components/cascader-panel/src/config.js.map +1 -1
  507. package/lib/components/cascader-panel/src/index.js.map +1 -1
  508. package/lib/components/cascader-panel/src/index.vue.d.ts +7 -5
  509. package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js +44 -5
  510. package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js.map +1 -1
  511. package/lib/components/cascader-panel/src/menu.js.map +1 -1
  512. package/lib/components/cascader-panel/src/menu.vue.d.ts +23 -22
  513. package/lib/components/cascader-panel/src/menu.vue_vue_type_script_setup_true_lang.js +119 -5
  514. package/lib/components/cascader-panel/src/menu.vue_vue_type_script_setup_true_lang.js.map +1 -1
  515. package/lib/components/cascader-panel/src/node.vue_vue_type_script_setup_true_lang.js +4 -1
  516. package/lib/components/cascader-panel/src/node.vue_vue_type_script_setup_true_lang.js.map +1 -1
  517. package/lib/components/cascader-panel/src/node2.js.map +1 -1
  518. package/lib/components/cascader-panel/src/types.d.ts +3 -0
  519. package/lib/components/cascader-panel/src/types.js.map +1 -1
  520. package/lib/components/cascader-panel/style/css.js +1 -1
  521. package/lib/components/cascader-panel/style/index.js +1 -1
  522. package/lib/components/check-tag/src/check-tag.d.ts +1 -1
  523. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
  524. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
  525. package/lib/components/checkbox/src/checkbox.d.ts +8 -8
  526. package/lib/components/checkbox/src/checkbox.vue.d.ts +6 -6
  527. package/lib/components/col/src/col.vue.d.ts +1 -1
  528. package/lib/components/collapse/src/collapse-item.vue.d.ts +1 -1
  529. package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
  530. package/lib/components/color-picker/src/color-picker.vue.d.ts +7 -7
  531. package/lib/components/config-provider/src/config-provider.d.ts +1 -1
  532. package/lib/components/date-picker/src/date-picker.d.ts +7 -7
  533. package/lib/components/date-picker/src/props.d.ts +2 -2
  534. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
  535. package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
  536. package/lib/components/descriptions/src/description-item.d.ts +12 -12
  537. package/lib/components/descriptions/src/description.vue.d.ts +1 -1
  538. package/lib/components/dialog/src/dialog.vue.d.ts +4 -4
  539. package/lib/components/drawer/src/drawer.vue.d.ts +6 -6
  540. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +6 -6
  541. package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  542. package/lib/components/dropdown/src/dropdown.d.ts +4 -4
  543. package/lib/components/dropdown/src/dropdown.vue.d.ts +84 -84
  544. package/lib/components/focus-trap/src/focus-trap.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 +7 -7
  547. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
  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 +1 -1
  551. package/lib/components/input/src/input.vue.d.ts +14 -14
  552. package/lib/components/input-number/src/input-number.d.ts +1 -1
  553. package/lib/components/input-number/src/input-number.vue.d.ts +8 -8
  554. package/lib/components/input-otp/src/input-otp.vue.d.ts +6 -6
  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 +10 -10
  557. package/lib/components/link/src/link.d.ts +2 -2
  558. package/lib/components/link/src/link.vue.d.ts +1 -1
  559. package/lib/components/mention/src/mention.d.ts +2 -2
  560. package/lib/components/mention/src/mention.vue.d.ts +5 -5
  561. package/lib/components/menu/src/menu.d.ts +10 -10
  562. package/lib/components/menu/src/sub-menu.d.ts +1 -1
  563. package/lib/components/message/src/message.d.ts +2 -2
  564. package/lib/components/message/src/message.vue.d.ts +6 -6
  565. package/lib/components/message-box/index.d.ts +2 -2
  566. package/lib/components/message-box/src/message-box.type.d.ts +9 -3
  567. package/lib/components/message-box/src/messageBox.js +9 -1
  568. package/lib/components/message-box/src/messageBox.js.map +1 -1
  569. package/lib/components/notification/src/notification.d.ts +2 -2
  570. package/lib/components/notification/src/notification.vue.d.ts +5 -5
  571. package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
  572. package/lib/components/pagination/src/pagination.d.ts +3 -3
  573. package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
  574. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +5 -5
  575. package/lib/components/popover/src/popover.d.ts +2 -2
  576. package/lib/components/popover/src/popover.vue.d.ts +11 -11
  577. package/lib/components/popper/src/composables/use-content.d.ts +1 -1
  578. package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  579. package/lib/components/popper/src/content.d.ts +4 -4
  580. package/lib/components/popper/src/content.vue.d.ts +15 -15
  581. package/lib/components/popper/src/popper.d.ts +2 -2
  582. package/lib/components/progress/src/progress.d.ts +2 -2
  583. package/lib/components/progress/src/progress.vue.d.ts +1 -1
  584. package/lib/components/radio/src/radio-button.d.ts +3 -3
  585. package/lib/components/radio/src/radio-button.vue.d.ts +3 -3
  586. package/lib/components/radio/src/radio-group.vue.d.ts +5 -5
  587. package/lib/components/radio/src/radio.d.ts +6 -6
  588. package/lib/components/radio/src/radio.vue.d.ts +5 -5
  589. package/lib/components/rate/src/rate.vue.d.ts +4 -4
  590. package/lib/components/result/src/result.d.ts +1 -1
  591. package/lib/components/result/src/result.vue.d.ts +1 -1
  592. package/lib/components/row/src/row.d.ts +2 -2
  593. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  594. package/lib/components/segmented/index.d.ts +3 -3
  595. package/lib/components/segmented/src/segmented.d.ts +1 -1
  596. package/lib/components/segmented/src/segmented.vue.d.ts +2 -2
  597. package/lib/components/select/src/option.d.ts +2 -2
  598. package/lib/components/select/src/option.vue.d.ts +5 -5
  599. package/lib/components/select/src/select.d.ts +4 -4
  600. package/lib/components/select/src/select.vue.d.ts +96 -96
  601. package/lib/components/select-v2/src/defaults.d.ts +2 -2
  602. package/lib/components/select-v2/src/select-dropdown.d.ts +2 -2
  603. package/lib/components/select-v2/src/select.vue.d.ts +80 -80
  604. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  605. package/lib/components/slider/src/button.vue.d.ts +1 -1
  606. package/lib/components/slider/src/slider.vue.d.ts +6 -6
  607. package/lib/components/space/src/space.d.ts +2 -2
  608. package/lib/components/splitter/src/splitter.vue.d.ts +2 -2
  609. package/lib/components/steps/src/item.d.ts +1 -1
  610. package/lib/components/steps/src/item.vue.d.ts +2 -2
  611. package/lib/components/steps/src/steps.d.ts +2 -2
  612. package/lib/components/steps/src/steps.vue.d.ts +1 -1
  613. package/lib/components/switch/src/switch.vue.d.ts +5 -5
  614. package/lib/components/table/src/table-column/index.d.ts +24 -24
  615. package/lib/components/table/src/table-header/index.d.ts +19 -19
  616. package/lib/components/table/src/table-layout.d.ts +1 -0
  617. package/lib/components/table/src/table-layout.js +5 -1
  618. package/lib/components/table/src/table-layout.js.map +1 -1
  619. package/lib/components/table/src/table.vue.d.ts +39 -39
  620. package/lib/components/table-v2/src/components/row.d.ts +1 -1
  621. package/lib/components/table-v2/src/table-grid.d.ts +2 -2
  622. package/lib/components/table-v2/src/table-v2.d.ts +2 -2
  623. package/lib/components/table-v2/style/css.js +1 -1
  624. package/lib/components/table-v2/style/index.js +1 -1
  625. package/lib/components/tabs/src/tab-nav.d.ts +1 -1
  626. package/lib/components/tabs/src/tabs.d.ts +5 -5
  627. package/lib/components/tag/src/tag.d.ts +1 -1
  628. package/lib/components/tag/src/tag.vue.d.ts +2 -2
  629. package/lib/components/text/src/text.d.ts +1 -1
  630. package/lib/components/text/src/text.vue.d.ts +1 -1
  631. package/lib/components/time-picker/src/common/picker.vue.d.ts +11 -11
  632. package/lib/components/time-picker/src/common/props.d.ts +2 -2
  633. package/lib/components/time-picker/src/time-picker.d.ts +7 -7
  634. package/lib/components/time-select/src/time-select.vue.d.ts +9 -9
  635. package/lib/components/timeline/src/timeline-item.d.ts +3 -3
  636. package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
  637. package/lib/components/tooltip/src/content.d.ts +1 -1
  638. package/lib/components/tooltip/src/content.vue.d.ts +15 -15
  639. package/lib/components/tooltip/src/tooltip.d.ts +3 -3
  640. package/lib/components/tooltip/src/tooltip.vue.d.ts +19 -19
  641. package/lib/components/tooltip/src/trigger.d.ts +1 -1
  642. package/lib/components/tour/src/content.d.ts +2 -2
  643. package/lib/components/tour/src/step.d.ts +1 -1
  644. package/lib/components/tour/src/tour.d.ts +1 -1
  645. package/lib/components/tour/src/tour.vue.d.ts +6 -6
  646. package/lib/components/transfer/src/transfer.vue.d.ts +2 -2
  647. package/lib/components/tree/src/tree.vue.d.ts +20 -20
  648. package/lib/components/tree-select/src/tree-select.vue.d.ts +22 -22
  649. package/lib/components/tree-v2/src/tree.vue.d.ts +3 -3
  650. package/lib/components/upload/src/upload-content.d.ts +1 -1
  651. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  652. package/lib/components/upload/src/upload-list.d.ts +1 -1
  653. package/lib/components/upload/src/upload.d.ts +2 -2
  654. package/lib/components/upload/src/upload.vue.d.ts +2 -2
  655. package/lib/components/virtual-list/src/builders/build-grid.d.ts +15 -3
  656. package/lib/components/virtual-list/src/builders/build-list.js +2 -1
  657. package/lib/components/virtual-list/src/builders/build-list.js.map +1 -1
  658. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +15 -3
  659. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +17 -5
  660. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +15 -3
  661. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +17 -5
  662. package/lib/components/virtual-list/src/props.d.ts +18 -0
  663. package/lib/components/virtual-list/src/props.js +4 -0
  664. package/lib/components/virtual-list/src/props.js.map +1 -1
  665. package/lib/hooks/use-floating/index.d.ts +4 -4
  666. package/lib/hooks/use-popper/index.d.ts +1 -1
  667. package/lib/index.d.ts +10 -10
  668. package/lib/index.js +13 -11
  669. package/lib/version.js +1 -1
  670. package/lib/version.js.map +1 -1
  671. package/package.json +2 -2
  672. package/tags.json +1 -1
  673. package/theme-chalk/el-cascader-panel.css +1 -1
  674. package/theme-chalk/el-cascader.css +1 -1
  675. package/theme-chalk/index.css +1 -1
  676. package/theme-chalk/src/cascader-panel.scss +11 -0
  677. package/theme-chalk/src/cascader.scss +28 -1
  678. package/web-types.json +1 -1
@@ -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" | "contain" | "cover" | "none" | "scale-down" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset") | (() => csstype.Property.ObjectFit | undefined) | (((new (...args: any[]) => "fill" | "contain" | "cover" | "none" | "scale-down" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset") | (() => csstype.Property.ObjectFit | undefined)) | null)[], unknown, unknown, "cover", boolean>;
67
67
  };
68
68
  /**
69
69
  * @deprecated Removed after 3.0.0, Use `AvatarProps` instead.
@@ -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;
@@ -54,7 +54,7 @@ declare const badgeProps: {
54
54
  readonly max: EpPropFinalized<NumberConstructor, unknown, unknown, 99, boolean>;
55
55
  readonly isDot: BooleanConstructor;
56
56
  readonly hidden: BooleanConstructor;
57
- readonly type: EpPropFinalized<StringConstructor, "primary" | "success" | "info" | "warning" | "danger", unknown, "danger", boolean>;
57
+ readonly type: EpPropFinalized<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown, "danger", boolean>;
58
58
  readonly showZero: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
59
59
  readonly color: StringConstructor;
60
60
  readonly badgeStyle: {
@@ -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" | "text" | "success" | "warning" | "info" | "primary" | "danger";
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" | "text" | "success" | "warning" | "info" | "primary" | "danger", 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" | "text" | "success" | "warning" | "info" | "primary" | "danger">; /** @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, {
@@ -40,7 +40,7 @@ declare const calendarProps: {
40
40
  readonly validator: ((val: unknown) => boolean) | undefined;
41
41
  __epPropKey: true;
42
42
  };
43
- readonly controllerType: EpPropFinalized<StringConstructor, "button" | "select", unknown, "button", boolean>;
43
+ readonly controllerType: EpPropFinalized<StringConstructor, "select" | "button", unknown, "button", boolean>;
44
44
  readonly formatter: {
45
45
  readonly type: vue.PropType<(value: number, type: "year" | "month") => string | number>;
46
46
  readonly required: false;
@@ -37,8 +37,8 @@ declare const __VLS_base: vue.DefineComponent<CalendarProps, {
37
37
  "update:modelValue": (value: Date) => void;
38
38
  input: (value: Date) => void;
39
39
  }, string, vue.PublicProps, Readonly<CalendarProps> & Readonly<{
40
- "onUpdate:modelValue"?: ((value: Date) => any) | undefined;
41
40
  onInput?: ((value: Date) => any) | undefined;
41
+ "onUpdate:modelValue"?: ((value: Date) => any) | undefined;
42
42
  }>, {
43
43
  controllerType: "button" | "select";
44
44
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -44,7 +44,7 @@ declare const cardProps: {
44
44
  readonly headerClass: StringConstructor;
45
45
  readonly bodyClass: StringConstructor;
46
46
  readonly footerClass: StringConstructor;
47
- readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, undefined, boolean>;
47
+ readonly shadow: EpPropFinalized<StringConstructor, "hover" | "always" | "never", unknown, undefined, boolean>;
48
48
  };
49
49
  /**
50
50
  * @deprecated Removed after 3.0.0, Use `CardProps` instead.
@@ -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>;
@@ -63,11 +63,11 @@ interface CarouselProps {
63
63
  declare const carouselProps: {
64
64
  readonly initialIndex: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
65
65
  readonly height: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
66
- readonly trigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
66
+ readonly trigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
67
67
  readonly autoplay: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
68
68
  readonly interval: EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
69
69
  readonly indicatorPosition: EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
70
- readonly arrow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
70
+ readonly arrow: EpPropFinalized<StringConstructor, "hover" | "always" | "never", unknown, "hover", boolean>;
71
71
  readonly type: EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
72
72
  readonly cardScale: EpPropFinalized<NumberConstructor, unknown, unknown, 0.83, boolean>;
73
73
  readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
@@ -16,13 +16,13 @@ declare const __VLS_base: vue.DefineComponent<CarouselProps, {
16
16
  }, string, vue.PublicProps, Readonly<CarouselProps> & Readonly<{
17
17
  onChange?: ((current: number, prev: number) => any) | undefined;
18
18
  }>, {
19
+ initialIndex: number;
19
20
  type: "" | "card";
20
21
  loop: boolean;
21
- height: string;
22
22
  trigger: "hover" | "click";
23
23
  direction: "horizontal" | "vertical";
24
+ height: string;
24
25
  arrow: "always" | "hover" | "never";
25
- initialIndex: number;
26
26
  autoplay: boolean;
27
27
  interval: number;
28
28
  indicatorPosition: "" | "none" | "outside";
@@ -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[]) => "bottom" | "auto" | "auto-start" | "auto-end" | "top" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "bottom" | "auto" | "auto-start" | "auto-end" | "top" | "right" | "left" | "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 | {
@@ -294,7 +298,7 @@ declare const cascaderProps: {
294
298
  effect: EpPropFinalized<(new (...args: any[]) => string) | (() => PopperEffect) | (((new (...args: any[]) => string) | (() => PopperEffect)) | null)[], unknown, unknown, string, boolean>;
295
299
  tagType: {
296
300
  default: string;
297
- type: vue.PropType<EpPropMergeType<StringConstructor, "primary" | "success" | "info" | "warning" | "danger", unknown>>;
301
+ type: vue.PropType<EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
298
302
  required: false;
299
303
  validator: ((val: unknown) => boolean) | undefined;
300
304
  __epPropKey: true;
@@ -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;
@@ -106,6 +106,10 @@ const cascaderProps = require_runtime$1.buildProps({
106
106
  type: Boolean,
107
107
  default: true
108
108
  },
109
+ fitInputWidth: {
110
+ type: [Boolean, Number],
111
+ default: false
112
+ },
109
113
  ...require_index$1.useEmptyValuesProps
110
114
  });
111
115
  const emitChangeFn = (value) => true;
@@ -1 +1 @@
1
- {"version":3,"file":"cascader.js","names":["buildProps","CommonProps","useSizeProp","iconPropType","CircleClose","definePropType","placements","useTooltipContentProps","tagProps","useEmptyValuesProps","UPDATE_MODEL_EVENT","CHANGE_EVENT","isBoolean"],"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,gBAAgBA,6BAAW;CACtC,GAAGC;CAIH,MAAMC;CAIN,aAAa;CAIb,UAAU;EACR,MAAM;EACN,SAAS;EACV;CAID,WAAW;CAIX,WAAW;EACT,MAAMC;EACN,SAASC;EACV;CAID,YAAY;CAIZ,cAAc;EACZ,MAAMC,iCACJ,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,MAAMA,iCAA0D,SAAS;EACzE,eAAe;EAChB;CAID,WAAW;EACT,MAAMA,iCAA0B,OAAO;EACvC,QAAQC;EACR,SAAS;EACV;CAID,oBAAoB;EAClB,MAAMD,iCAA4B,MAAM;EACxC,SAAS;GAAC;GAAgB;GAAU;GAAa;GAAO;GAAS;GAAO;EACzE;CAID,aAAaE,uCAAuB;CAIpC,aAAaA,uCAAuB;CAIpC,YAAYA,uCAAuB;CAInC,QAAQ;EACN,MAAMF,iCAA6B,OAAO;EAC1C,SAAS;EACV;CAKD,SAAS;EAAE,GAAGG,qBAAS;EAAM,SAAS;EAAQ;CAI9C,WAAW;EAAE,GAAGA,qBAAS;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,GAAGC;CACJ,CAAC;AAGF,MAAM,gBAAgB,UAA4C;AAElE,MAAa,gBAAgB;EAC1BC,mCAAqB;EACrBC,6BAAe;CAChB,QAAQ,QAAoB,eAAe;CAC3C,OAAO,QAAoB,eAAe;CAC1C,aAAa;CACb,gBAAgB,QAAiBC,wBAAU,IAAI;CAC/C,eAAe,QAAuB,CAAC,CAAC;CACxC,YAAY,QAAuC,CAAC,CAAC;CACtD"}
1
+ {"version":3,"file":"cascader.js","names":["buildProps","CommonProps","useSizeProp","iconPropType","CircleClose","definePropType","placements","useTooltipContentProps","tagProps","useEmptyValuesProps","UPDATE_MODEL_EVENT","CHANGE_EVENT","isBoolean"],"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,gBAAgBA,6BAAW;CACtC,GAAGC;CAIH,MAAMC;CAIN,aAAa;CAIb,UAAU;EACR,MAAM;EACN,SAAS;EACV;CAID,WAAW;CAIX,WAAW;EACT,MAAMC;EACN,SAASC;EACV;CAID,YAAY;CAIZ,cAAc;EACZ,MAAMC,iCACJ,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,MAAMA,iCAA0D,SAAS;EACzE,eAAe;EAChB;CAID,WAAW;EACT,MAAMA,iCAA0B,OAAO;EACvC,QAAQC;EACR,SAAS;EACV;CAID,oBAAoB;EAClB,MAAMD,iCAA4B,MAAM;EACxC,SAAS;GAAC;GAAgB;GAAU;GAAa;GAAO;GAAS;GAAO;EACzE;CAID,aAAaE,uCAAuB;CAIpC,aAAaA,uCAAuB;CAIpC,YAAYA,uCAAuB;CAInC,QAAQ;EACN,MAAMF,iCAA6B,OAAO;EAC1C,SAAS;EACV;CAKD,SAAS;EAAE,GAAGG,qBAAS;EAAM,SAAS;EAAQ;CAI9C,WAAW;EAAE,GAAGA,qBAAS;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,GAAGC;CACJ,CAAC;AAGF,MAAM,gBAAgB,UAA4C;AAElE,MAAa,gBAAgB;EAC1BC,mCAAqB;EACrBC,6BAAe;CAChB,QAAQ,QAAoB,eAAe;CAC3C,OAAO,QAAoB,eAAe;CAC1C,aAAa;CACb,gBAAgB,QAAiBC,wBAAU,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
  /**
@@ -184,45 +190,47 @@ declare const __VLS_base: vue.DefineComponent<CascaderComponentProps, {
184
190
  blur: () => void;
185
191
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
186
192
  clear: () => void;
187
- "update:modelValue": (value: CascaderValue | null | undefined) => void;
188
- change: (value: CascaderValue | null | undefined) => void;
189
- focus: (evt: FocusEvent) => void;
190
193
  blur: (evt: FocusEvent) => void;
194
+ focus: (evt: FocusEvent) => void;
195
+ change: (value: CascaderValue | null | undefined) => void;
196
+ "update:modelValue": (value: CascaderValue | null | undefined) => 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
201
  onClear?: (() => any) | undefined;
196
- "onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
202
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
197
203
  onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
198
204
  onFocus?: ((evt: FocusEvent) => any) | undefined;
199
- onBlur?: ((evt: FocusEvent) => any) | undefined;
205
+ "onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => 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
  }>, {
204
210
  props: CascaderProps;
205
- fallbackPlacements: Placement[];
206
- placement: Placement;
207
- effect: PopperEffect;
208
211
  popperStyle: string | false | vue.CSSProperties | StyleValue[] | null;
209
- teleported: boolean;
210
212
  persistent: boolean;
211
213
  disabled: boolean;
214
+ teleported: boolean;
215
+ effect: PopperEffect;
216
+ fallbackPlacements: Placement[];
217
+ placement: Placement;
218
+ height: number;
212
219
  options: CascaderOption[];
220
+ separator: string;
213
221
  valueOnClear: string | number | boolean | Function | null;
214
222
  clearIcon: IconPropType;
215
223
  validateEvent: boolean;
216
- separator: string;
217
224
  debounce: number;
218
225
  showPrefix: boolean;
219
226
  filterMethod: (node: Node, keyword: string) => boolean;
220
227
  showAllLevels: boolean;
221
228
  maxCollapseTags: number;
222
229
  beforeFilter: (value: string) => boolean | Promise<any>;
223
- tagType: "primary" | "success" | "info" | "warning" | "danger";
230
+ tagType: "success" | "warning" | "info" | "primary" | "danger";
224
231
  tagEffect: "light" | "dark" | "plain";
225
232
  showCheckedStrategy: "parent" | "child";
233
+ itemSize: number;
226
234
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
227
235
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
228
236
  declare const _default: typeof __VLS_export;