@element-plus/nightly 0.0.20240115 → 0.0.20240117

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 (510) hide show
  1. package/dist/index.full.js +334 -289
  2. package/dist/index.full.min.js +12 -12
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +12 -12
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +334 -289
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar-eg.js +1 -1
  12. package/dist/locale/ar-eg.min.js +1 -1
  13. package/dist/locale/ar-eg.min.mjs +1 -1
  14. package/dist/locale/ar-eg.mjs +1 -1
  15. package/dist/locale/ar.js +1 -1
  16. package/dist/locale/ar.min.js +1 -1
  17. package/dist/locale/ar.min.mjs +1 -1
  18. package/dist/locale/ar.mjs +1 -1
  19. package/dist/locale/az.js +1 -1
  20. package/dist/locale/az.min.js +1 -1
  21. package/dist/locale/az.min.mjs +1 -1
  22. package/dist/locale/az.mjs +1 -1
  23. package/dist/locale/bg.js +1 -1
  24. package/dist/locale/bg.min.js +1 -1
  25. package/dist/locale/bg.min.mjs +1 -1
  26. package/dist/locale/bg.mjs +1 -1
  27. package/dist/locale/bn.js +1 -1
  28. package/dist/locale/bn.min.js +1 -1
  29. package/dist/locale/bn.min.mjs +1 -1
  30. package/dist/locale/bn.mjs +1 -1
  31. package/dist/locale/ca.js +1 -1
  32. package/dist/locale/ca.min.js +1 -1
  33. package/dist/locale/ca.min.mjs +1 -1
  34. package/dist/locale/ca.mjs +1 -1
  35. package/dist/locale/ckb.js +1 -1
  36. package/dist/locale/ckb.min.js +1 -1
  37. package/dist/locale/ckb.min.mjs +1 -1
  38. package/dist/locale/ckb.mjs +1 -1
  39. package/dist/locale/cs.js +1 -1
  40. package/dist/locale/cs.min.js +1 -1
  41. package/dist/locale/cs.min.mjs +1 -1
  42. package/dist/locale/cs.mjs +1 -1
  43. package/dist/locale/da.js +1 -1
  44. package/dist/locale/da.min.js +1 -1
  45. package/dist/locale/da.min.mjs +1 -1
  46. package/dist/locale/da.mjs +1 -1
  47. package/dist/locale/de.js +1 -1
  48. package/dist/locale/de.min.js +1 -1
  49. package/dist/locale/de.min.mjs +1 -1
  50. package/dist/locale/de.mjs +1 -1
  51. package/dist/locale/el.js +1 -1
  52. package/dist/locale/el.min.js +1 -1
  53. package/dist/locale/el.min.mjs +1 -1
  54. package/dist/locale/el.mjs +1 -1
  55. package/dist/locale/en.js +1 -1
  56. package/dist/locale/en.min.js +1 -1
  57. package/dist/locale/en.min.mjs +1 -1
  58. package/dist/locale/en.mjs +1 -1
  59. package/dist/locale/eo.js +1 -1
  60. package/dist/locale/eo.min.js +1 -1
  61. package/dist/locale/eo.min.mjs +1 -1
  62. package/dist/locale/eo.mjs +1 -1
  63. package/dist/locale/es.js +1 -1
  64. package/dist/locale/es.min.js +1 -1
  65. package/dist/locale/es.min.mjs +1 -1
  66. package/dist/locale/es.mjs +1 -1
  67. package/dist/locale/et.js +1 -1
  68. package/dist/locale/et.min.js +1 -1
  69. package/dist/locale/et.min.mjs +1 -1
  70. package/dist/locale/et.mjs +1 -1
  71. package/dist/locale/eu.js +1 -1
  72. package/dist/locale/eu.min.js +1 -1
  73. package/dist/locale/eu.min.mjs +1 -1
  74. package/dist/locale/eu.mjs +1 -1
  75. package/dist/locale/fa.js +1 -1
  76. package/dist/locale/fa.min.js +1 -1
  77. package/dist/locale/fa.min.mjs +1 -1
  78. package/dist/locale/fa.mjs +1 -1
  79. package/dist/locale/fi.js +1 -1
  80. package/dist/locale/fi.min.js +1 -1
  81. package/dist/locale/fi.min.mjs +1 -1
  82. package/dist/locale/fi.mjs +1 -1
  83. package/dist/locale/fr.js +1 -1
  84. package/dist/locale/fr.min.js +1 -1
  85. package/dist/locale/fr.min.mjs +1 -1
  86. package/dist/locale/fr.mjs +1 -1
  87. package/dist/locale/he.js +1 -1
  88. package/dist/locale/he.min.js +1 -1
  89. package/dist/locale/he.min.mjs +1 -1
  90. package/dist/locale/he.mjs +1 -1
  91. package/dist/locale/hr.js +1 -1
  92. package/dist/locale/hr.min.js +1 -1
  93. package/dist/locale/hr.min.mjs +1 -1
  94. package/dist/locale/hr.mjs +1 -1
  95. package/dist/locale/hu.js +1 -1
  96. package/dist/locale/hu.min.js +1 -1
  97. package/dist/locale/hu.min.mjs +1 -1
  98. package/dist/locale/hu.mjs +1 -1
  99. package/dist/locale/hy-am.js +1 -1
  100. package/dist/locale/hy-am.min.js +1 -1
  101. package/dist/locale/hy-am.min.mjs +1 -1
  102. package/dist/locale/hy-am.mjs +1 -1
  103. package/dist/locale/id.js +1 -1
  104. package/dist/locale/id.min.js +1 -1
  105. package/dist/locale/id.min.mjs +1 -1
  106. package/dist/locale/id.mjs +1 -1
  107. package/dist/locale/it.js +1 -1
  108. package/dist/locale/it.min.js +1 -1
  109. package/dist/locale/it.min.mjs +1 -1
  110. package/dist/locale/it.mjs +1 -1
  111. package/dist/locale/ja.js +1 -1
  112. package/dist/locale/ja.min.js +1 -1
  113. package/dist/locale/ja.min.mjs +1 -1
  114. package/dist/locale/ja.mjs +1 -1
  115. package/dist/locale/kk.js +1 -1
  116. package/dist/locale/kk.min.js +1 -1
  117. package/dist/locale/kk.min.mjs +1 -1
  118. package/dist/locale/kk.mjs +1 -1
  119. package/dist/locale/km.js +1 -1
  120. package/dist/locale/km.min.js +1 -1
  121. package/dist/locale/km.min.mjs +1 -1
  122. package/dist/locale/km.mjs +1 -1
  123. package/dist/locale/ko.js +1 -1
  124. package/dist/locale/ko.min.js +1 -1
  125. package/dist/locale/ko.min.mjs +1 -1
  126. package/dist/locale/ko.mjs +1 -1
  127. package/dist/locale/ku.js +1 -1
  128. package/dist/locale/ku.min.js +1 -1
  129. package/dist/locale/ku.min.mjs +1 -1
  130. package/dist/locale/ku.mjs +1 -1
  131. package/dist/locale/ky.js +1 -1
  132. package/dist/locale/ky.min.js +1 -1
  133. package/dist/locale/ky.min.mjs +1 -1
  134. package/dist/locale/ky.mjs +1 -1
  135. package/dist/locale/lt.js +1 -1
  136. package/dist/locale/lt.min.js +1 -1
  137. package/dist/locale/lt.min.mjs +1 -1
  138. package/dist/locale/lt.mjs +1 -1
  139. package/dist/locale/lv.js +1 -1
  140. package/dist/locale/lv.min.js +1 -1
  141. package/dist/locale/lv.min.mjs +1 -1
  142. package/dist/locale/lv.mjs +1 -1
  143. package/dist/locale/mg.js +1 -1
  144. package/dist/locale/mg.min.js +1 -1
  145. package/dist/locale/mg.min.mjs +1 -1
  146. package/dist/locale/mg.mjs +1 -1
  147. package/dist/locale/mn.js +1 -1
  148. package/dist/locale/mn.min.js +1 -1
  149. package/dist/locale/mn.min.mjs +1 -1
  150. package/dist/locale/mn.mjs +1 -1
  151. package/dist/locale/nb-no.js +1 -1
  152. package/dist/locale/nb-no.min.js +1 -1
  153. package/dist/locale/nb-no.min.mjs +1 -1
  154. package/dist/locale/nb-no.mjs +1 -1
  155. package/dist/locale/nl.js +1 -1
  156. package/dist/locale/nl.min.js +1 -1
  157. package/dist/locale/nl.min.mjs +1 -1
  158. package/dist/locale/nl.mjs +1 -1
  159. package/dist/locale/pa.js +1 -1
  160. package/dist/locale/pa.min.js +1 -1
  161. package/dist/locale/pa.min.mjs +1 -1
  162. package/dist/locale/pa.mjs +1 -1
  163. package/dist/locale/pl.js +1 -1
  164. package/dist/locale/pl.min.js +1 -1
  165. package/dist/locale/pl.min.mjs +1 -1
  166. package/dist/locale/pl.mjs +1 -1
  167. package/dist/locale/pt-br.js +1 -1
  168. package/dist/locale/pt-br.min.js +1 -1
  169. package/dist/locale/pt-br.min.mjs +1 -1
  170. package/dist/locale/pt-br.mjs +1 -1
  171. package/dist/locale/pt.js +1 -1
  172. package/dist/locale/pt.min.js +1 -1
  173. package/dist/locale/pt.min.mjs +1 -1
  174. package/dist/locale/pt.mjs +1 -1
  175. package/dist/locale/ro.js +1 -1
  176. package/dist/locale/ro.min.js +1 -1
  177. package/dist/locale/ro.min.mjs +1 -1
  178. package/dist/locale/ro.mjs +1 -1
  179. package/dist/locale/ru.js +1 -1
  180. package/dist/locale/ru.min.js +1 -1
  181. package/dist/locale/ru.min.mjs +1 -1
  182. package/dist/locale/ru.mjs +1 -1
  183. package/dist/locale/sk.js +1 -1
  184. package/dist/locale/sk.min.js +1 -1
  185. package/dist/locale/sk.min.mjs +1 -1
  186. package/dist/locale/sk.mjs +1 -1
  187. package/dist/locale/sl.js +1 -1
  188. package/dist/locale/sl.min.js +1 -1
  189. package/dist/locale/sl.min.mjs +1 -1
  190. package/dist/locale/sl.mjs +1 -1
  191. package/dist/locale/sr.js +1 -1
  192. package/dist/locale/sr.min.js +1 -1
  193. package/dist/locale/sr.min.mjs +1 -1
  194. package/dist/locale/sr.mjs +1 -1
  195. package/dist/locale/sv.js +1 -1
  196. package/dist/locale/sv.min.js +1 -1
  197. package/dist/locale/sv.min.mjs +1 -1
  198. package/dist/locale/sv.mjs +1 -1
  199. package/dist/locale/sw.js +1 -1
  200. package/dist/locale/sw.min.js +1 -1
  201. package/dist/locale/sw.min.mjs +1 -1
  202. package/dist/locale/sw.mjs +1 -1
  203. package/dist/locale/ta.js +1 -1
  204. package/dist/locale/ta.min.js +1 -1
  205. package/dist/locale/ta.min.mjs +1 -1
  206. package/dist/locale/ta.mjs +1 -1
  207. package/dist/locale/th.js +1 -1
  208. package/dist/locale/th.min.js +1 -1
  209. package/dist/locale/th.min.mjs +1 -1
  210. package/dist/locale/th.mjs +1 -1
  211. package/dist/locale/tk.js +1 -1
  212. package/dist/locale/tk.min.js +1 -1
  213. package/dist/locale/tk.min.mjs +1 -1
  214. package/dist/locale/tk.mjs +1 -1
  215. package/dist/locale/tr.js +1 -1
  216. package/dist/locale/tr.min.js +1 -1
  217. package/dist/locale/tr.min.mjs +1 -1
  218. package/dist/locale/tr.mjs +1 -1
  219. package/dist/locale/ug-cn.js +1 -1
  220. package/dist/locale/ug-cn.min.js +1 -1
  221. package/dist/locale/ug-cn.min.mjs +1 -1
  222. package/dist/locale/ug-cn.mjs +1 -1
  223. package/dist/locale/uk.js +1 -1
  224. package/dist/locale/uk.min.js +1 -1
  225. package/dist/locale/uk.min.mjs +1 -1
  226. package/dist/locale/uk.mjs +1 -1
  227. package/dist/locale/uz-uz.js +1 -1
  228. package/dist/locale/uz-uz.min.js +1 -1
  229. package/dist/locale/uz-uz.min.mjs +1 -1
  230. package/dist/locale/uz-uz.mjs +1 -1
  231. package/dist/locale/vi.js +1 -1
  232. package/dist/locale/vi.min.js +1 -1
  233. package/dist/locale/vi.min.mjs +1 -1
  234. package/dist/locale/vi.mjs +1 -1
  235. package/dist/locale/zh-cn.js +1 -1
  236. package/dist/locale/zh-cn.min.js +1 -1
  237. package/dist/locale/zh-cn.min.mjs +1 -1
  238. package/dist/locale/zh-cn.mjs +1 -1
  239. package/dist/locale/zh-tw.js +1 -1
  240. package/dist/locale/zh-tw.min.js +1 -1
  241. package/dist/locale/zh-tw.min.mjs +1 -1
  242. package/dist/locale/zh-tw.mjs +1 -1
  243. package/es/components/alert/index.d.ts +4 -4
  244. package/es/components/alert/src/alert.d.ts +1 -1
  245. package/es/components/alert/src/alert.vue.d.ts +4 -4
  246. package/es/components/autocomplete/index.d.ts +66 -66
  247. package/es/components/autocomplete/src/autocomplete.vue.d.ts +66 -66
  248. package/es/components/autocomplete/src/autocomplete2.mjs +2 -2
  249. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  250. package/es/components/button/index.d.ts +5 -5
  251. package/es/components/button/src/button.d.ts +1 -1
  252. package/es/components/button/src/button.vue.d.ts +5 -5
  253. package/es/components/button/src/use-button.d.ts +1 -1
  254. package/es/components/calendar/index.d.ts +5 -5
  255. package/es/components/calendar/src/calendar.vue.d.ts +5 -5
  256. package/es/components/carousel/index.d.ts +5 -5
  257. package/es/components/carousel/src/carousel.d.ts +1 -1
  258. package/es/components/carousel/src/carousel.vue.d.ts +5 -5
  259. package/es/components/cascader/index.d.ts +128 -128
  260. package/es/components/cascader/src/cascader.vue.d.ts +64 -64
  261. package/es/components/cascader-panel/src/menu.mjs +3 -4
  262. package/es/components/cascader-panel/src/menu.mjs.map +1 -1
  263. package/es/components/checkbox/src/composables/use-checkbox-model.mjs +1 -1
  264. package/es/components/checkbox/src/composables/use-checkbox-model.mjs.map +1 -1
  265. package/es/components/color-picker/index.d.ts +38 -38
  266. package/es/components/color-picker/src/color-picker.vue.d.ts +38 -38
  267. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  268. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  269. package/es/components/date-picker/src/panel-utils.d.ts +34 -34
  270. package/es/components/descriptions/src/description2.mjs +1 -1
  271. package/es/components/descriptions/src/descriptions-row.mjs +7 -64
  272. package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
  273. package/es/components/descriptions/src/descriptions-row2.mjs +64 -7
  274. package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
  275. package/es/components/dialog/index.d.ts +1 -1
  276. package/es/components/dialog/src/dialog.vue.d.ts +1 -1
  277. package/es/components/drawer/index.d.ts +209 -16
  278. package/es/components/drawer/src/drawer.vue.d.ts +209 -16
  279. package/es/components/drawer/src/drawer2.mjs +137 -132
  280. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  281. package/es/components/dropdown/index.d.ts +14 -14
  282. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  283. package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  284. package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
  285. package/es/components/dropdown/src/useDropdown.mjs +2 -2
  286. package/es/components/dropdown/src/useDropdown.mjs.map +1 -1
  287. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  288. package/es/components/form/index.d.ts +12 -12
  289. package/es/components/form/src/form-item.d.ts +1 -1
  290. package/es/components/form/src/form-item.vue.d.ts +5 -5
  291. package/es/components/image/index.d.ts +1 -1
  292. package/es/components/image/src/image.vue.d.ts +1 -1
  293. package/es/components/index.mjs +1 -1
  294. package/es/components/input/index.d.ts +12 -12
  295. package/es/components/input/src/input.vue.d.ts +12 -12
  296. package/es/components/input-number/index.d.ts +45 -45
  297. package/es/components/input-number/src/input-number.vue.d.ts +45 -45
  298. package/es/components/menu/index.d.ts +3 -3
  299. package/es/components/menu/src/menu.d.ts +4 -4
  300. package/es/components/message/src/message.d.ts +1 -1
  301. package/es/components/message/src/message.vue.d.ts +4 -4
  302. package/es/components/notification/src/notification.d.ts +1 -1
  303. package/es/components/notification/src/notification.vue.d.ts +4 -4
  304. package/es/components/pagination/src/components/jumper.vue.d.ts +12 -12
  305. package/es/components/pagination/src/components/sizes.vue.d.ts +27 -27
  306. package/es/components/popconfirm/index.d.ts +23 -23
  307. package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  308. package/es/components/popover/index.d.ts +18 -18
  309. package/es/components/popover/src/popover.vue.d.ts +18 -18
  310. package/es/components/popper/src/content.vue.d.ts +6 -6
  311. package/es/components/progress/index.mjs +2 -2
  312. package/es/components/progress/src/progress.mjs +59 -205
  313. package/es/components/progress/src/progress.mjs.map +1 -1
  314. package/es/components/progress/src/progress2.mjs +205 -59
  315. package/es/components/progress/src/progress2.mjs.map +1 -1
  316. package/es/components/result/index.d.ts +4 -4
  317. package/es/components/result/src/result.d.ts +1 -1
  318. package/es/components/result/src/result.vue.d.ts +4 -4
  319. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  320. package/es/components/select/index.d.ts +27 -27
  321. package/es/components/select/src/select.vue.d.ts +27 -27
  322. package/es/components/select/src/select2.mjs +13 -14
  323. package/es/components/select/src/select2.mjs.map +1 -1
  324. package/es/components/select/src/useSelect.d.ts +25 -25
  325. package/es/components/select-v2/index.d.ts +54 -54
  326. package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
  327. package/es/components/select-v2/src/select-dropdown.mjs +3 -3
  328. package/es/components/select-v2/src/select-dropdown.mjs.map +1 -1
  329. package/es/components/select-v2/src/select.mjs +27 -7
  330. package/es/components/select-v2/src/select.mjs.map +1 -1
  331. package/es/components/select-v2/src/select.vue.d.ts +27 -27
  332. package/es/components/select-v2/src/useSelect.d.ts +25 -25
  333. package/es/components/select-v2/src/useSelect.mjs +17 -0
  334. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  335. package/es/components/slider/index.d.ts +75 -75
  336. package/es/components/slider/src/button.vue.d.ts +6 -6
  337. package/es/components/slider/src/composables/use-slide.d.ts +24 -24
  338. package/es/components/slider/src/slider.vue.d.ts +75 -75
  339. package/es/components/steps/index.d.ts +16 -16
  340. package/es/components/steps/src/item.d.ts +1 -1
  341. package/es/components/steps/src/item.vue.d.ts +4 -4
  342. package/es/components/steps/src/steps.d.ts +2 -2
  343. package/es/components/steps/src/steps.vue.d.ts +8 -8
  344. package/es/components/table/index.d.ts +1 -1
  345. package/es/components/table/src/filter-panel.vue.d.ts +12 -12
  346. package/es/components/table/src/table.vue.d.ts +1 -1
  347. package/es/components/tag/index.d.ts +1 -1
  348. package/es/components/tag/src/tag.vue.d.ts +1 -1
  349. package/es/components/time-picker/src/common/picker.vue.d.ts +34 -34
  350. package/es/components/time-select/index.d.ts +114 -114
  351. package/es/components/time-select/src/time-select.vue.d.ts +57 -57
  352. package/es/components/tooltip/index.d.ts +6 -6
  353. package/es/components/tooltip/src/content.vue.d.ts +6 -6
  354. package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
  355. package/es/components/tooltip-v2/index.d.ts +4 -4
  356. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  357. package/es/components/tour/index.d.ts +11 -11
  358. package/es/components/tour/src/content.vue.d.ts +1 -1
  359. package/es/components/tour/src/step.vue.d.ts +5 -5
  360. package/es/components/tour/src/tour.vue.d.ts +1 -1
  361. package/es/components/transfer/index.d.ts +65 -65
  362. package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  363. package/es/components/transfer/src/transfer.vue.d.ts +65 -65
  364. package/es/components/tree/src/model/tree-store.mjs +12 -5
  365. package/es/components/tree/src/model/tree-store.mjs.map +1 -1
  366. package/es/components/tree-v2/index.d.ts +1 -1
  367. package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  368. package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
  369. package/es/components/upload/index.d.ts +5 -5
  370. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  371. package/es/components/upload/src/upload.vue.d.ts +5 -5
  372. package/es/index.mjs +1 -1
  373. package/es/version.d.ts +1 -1
  374. package/es/version.mjs +1 -1
  375. package/es/version.mjs.map +1 -1
  376. package/lib/components/alert/index.d.ts +4 -4
  377. package/lib/components/alert/src/alert.d.ts +1 -1
  378. package/lib/components/alert/src/alert.vue.d.ts +4 -4
  379. package/lib/components/autocomplete/index.d.ts +66 -66
  380. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +66 -66
  381. package/lib/components/autocomplete/src/autocomplete2.js +10 -10
  382. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  383. package/lib/components/button/index.d.ts +5 -5
  384. package/lib/components/button/src/button.d.ts +1 -1
  385. package/lib/components/button/src/button.vue.d.ts +5 -5
  386. package/lib/components/button/src/use-button.d.ts +1 -1
  387. package/lib/components/calendar/index.d.ts +5 -5
  388. package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
  389. package/lib/components/carousel/index.d.ts +5 -5
  390. package/lib/components/carousel/src/carousel.d.ts +1 -1
  391. package/lib/components/carousel/src/carousel.vue.d.ts +5 -5
  392. package/lib/components/cascader/index.d.ts +128 -128
  393. package/lib/components/cascader/src/cascader.vue.d.ts +64 -64
  394. package/lib/components/cascader-panel/src/menu.js +3 -4
  395. package/lib/components/cascader-panel/src/menu.js.map +1 -1
  396. package/lib/components/checkbox/src/composables/use-checkbox-model.js +1 -1
  397. package/lib/components/checkbox/src/composables/use-checkbox-model.js.map +1 -1
  398. package/lib/components/color-picker/index.d.ts +38 -38
  399. package/lib/components/color-picker/src/color-picker.vue.d.ts +38 -38
  400. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  401. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  402. package/lib/components/date-picker/src/panel-utils.d.ts +34 -34
  403. package/lib/components/descriptions/src/description2.js +1 -1
  404. package/lib/components/descriptions/src/descriptions-row.js +7 -64
  405. package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
  406. package/lib/components/descriptions/src/descriptions-row2.js +64 -7
  407. package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
  408. package/lib/components/dialog/index.d.ts +1 -1
  409. package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
  410. package/lib/components/drawer/index.d.ts +209 -16
  411. package/lib/components/drawer/src/drawer.vue.d.ts +209 -16
  412. package/lib/components/drawer/src/drawer2.js +145 -140
  413. package/lib/components/drawer/src/drawer2.js.map +1 -1
  414. package/lib/components/dropdown/index.d.ts +14 -14
  415. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  416. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  417. package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
  418. package/lib/components/dropdown/src/useDropdown.js +2 -2
  419. package/lib/components/dropdown/src/useDropdown.js.map +1 -1
  420. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  421. package/lib/components/form/index.d.ts +12 -12
  422. package/lib/components/form/src/form-item.d.ts +1 -1
  423. package/lib/components/form/src/form-item.vue.d.ts +5 -5
  424. package/lib/components/image/index.d.ts +1 -1
  425. package/lib/components/image/src/image.vue.d.ts +1 -1
  426. package/lib/components/index.js +1 -1
  427. package/lib/components/input/index.d.ts +12 -12
  428. package/lib/components/input/src/input.vue.d.ts +12 -12
  429. package/lib/components/input-number/index.d.ts +45 -45
  430. package/lib/components/input-number/src/input-number.vue.d.ts +45 -45
  431. package/lib/components/menu/index.d.ts +3 -3
  432. package/lib/components/menu/src/menu.d.ts +4 -4
  433. package/lib/components/message/src/message.d.ts +1 -1
  434. package/lib/components/message/src/message.vue.d.ts +4 -4
  435. package/lib/components/notification/src/notification.d.ts +1 -1
  436. package/lib/components/notification/src/notification.vue.d.ts +4 -4
  437. package/lib/components/pagination/src/components/jumper.vue.d.ts +12 -12
  438. package/lib/components/pagination/src/components/sizes.vue.d.ts +27 -27
  439. package/lib/components/popconfirm/index.d.ts +23 -23
  440. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  441. package/lib/components/popover/index.d.ts +18 -18
  442. package/lib/components/popover/src/popover.vue.d.ts +18 -18
  443. package/lib/components/popper/src/content.vue.d.ts +6 -6
  444. package/lib/components/progress/index.js +2 -2
  445. package/lib/components/progress/src/progress.js +59 -205
  446. package/lib/components/progress/src/progress.js.map +1 -1
  447. package/lib/components/progress/src/progress2.js +205 -59
  448. package/lib/components/progress/src/progress2.js.map +1 -1
  449. package/lib/components/result/index.d.ts +4 -4
  450. package/lib/components/result/src/result.d.ts +1 -1
  451. package/lib/components/result/src/result.vue.d.ts +4 -4
  452. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  453. package/lib/components/select/index.d.ts +27 -27
  454. package/lib/components/select/src/select.vue.d.ts +27 -27
  455. package/lib/components/select/src/select2.js +13 -14
  456. package/lib/components/select/src/select2.js.map +1 -1
  457. package/lib/components/select/src/useSelect.d.ts +25 -25
  458. package/lib/components/select-v2/index.d.ts +54 -54
  459. package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
  460. package/lib/components/select-v2/src/select-dropdown.js +3 -3
  461. package/lib/components/select-v2/src/select-dropdown.js.map +1 -1
  462. package/lib/components/select-v2/src/select.js +26 -6
  463. package/lib/components/select-v2/src/select.js.map +1 -1
  464. package/lib/components/select-v2/src/select.vue.d.ts +27 -27
  465. package/lib/components/select-v2/src/useSelect.d.ts +25 -25
  466. package/lib/components/select-v2/src/useSelect.js +17 -0
  467. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  468. package/lib/components/slider/index.d.ts +75 -75
  469. package/lib/components/slider/src/button.vue.d.ts +6 -6
  470. package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
  471. package/lib/components/slider/src/slider.vue.d.ts +75 -75
  472. package/lib/components/steps/index.d.ts +16 -16
  473. package/lib/components/steps/src/item.d.ts +1 -1
  474. package/lib/components/steps/src/item.vue.d.ts +4 -4
  475. package/lib/components/steps/src/steps.d.ts +2 -2
  476. package/lib/components/steps/src/steps.vue.d.ts +8 -8
  477. package/lib/components/table/index.d.ts +1 -1
  478. package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
  479. package/lib/components/table/src/table.vue.d.ts +1 -1
  480. package/lib/components/tag/index.d.ts +1 -1
  481. package/lib/components/tag/src/tag.vue.d.ts +1 -1
  482. package/lib/components/time-picker/src/common/picker.vue.d.ts +34 -34
  483. package/lib/components/time-select/index.d.ts +114 -114
  484. package/lib/components/time-select/src/time-select.vue.d.ts +57 -57
  485. package/lib/components/tooltip/index.d.ts +6 -6
  486. package/lib/components/tooltip/src/content.vue.d.ts +6 -6
  487. package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
  488. package/lib/components/tooltip-v2/index.d.ts +4 -4
  489. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  490. package/lib/components/tour/index.d.ts +11 -11
  491. package/lib/components/tour/src/content.vue.d.ts +1 -1
  492. package/lib/components/tour/src/step.vue.d.ts +5 -5
  493. package/lib/components/tour/src/tour.vue.d.ts +1 -1
  494. package/lib/components/transfer/index.d.ts +65 -65
  495. package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  496. package/lib/components/transfer/src/transfer.vue.d.ts +65 -65
  497. package/lib/components/tree/src/model/tree-store.js +12 -5
  498. package/lib/components/tree/src/model/tree-store.js.map +1 -1
  499. package/lib/components/tree-v2/index.d.ts +1 -1
  500. package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  501. package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
  502. package/lib/components/upload/index.d.ts +5 -5
  503. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  504. package/lib/components/upload/src/upload.vue.d.ts +5 -5
  505. package/lib/index.js +1 -1
  506. package/lib/version.d.ts +1 -1
  507. package/lib/version.js +1 -1
  508. package/lib/version.js.map +1 -1
  509. package/package.json +2 -2
  510. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20240115 */
1
+ /*! Element Plus v0.0.20240117 */
2
2
 
3
3
  import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed as computed$1, defineComponent, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, onBeforeUnmount, isRef, inject, onUnmounted, h as h$1, Teleport, onBeforeMount, provide, renderSlot, normalizeClass, normalizeStyle, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, toRef, reactive, toRefs, onUpdated, TransitionGroup, useAttrs as useAttrs$1, withModifiers, cloneVNode, Text as Text$1, onDeactivated, renderList, withKeys, createSlots, normalizeProps, toRaw as toRaw$1, vModelCheckbox, vModelRadio, resolveComponent, onBeforeUpdate, vModelText, toHandlers, guardReactiveProps, markRaw, effectScope, resolveDirective, render, camelize as camelize$1, createApp, shallowReactive } from 'vue';
4
4
 
@@ -8691,8 +8691,6 @@ const isKorean = (text) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(text);
8691
8691
  const rAF = (fn) => isClient ? window.requestAnimationFrame(fn) : setTimeout(fn, 16);
8692
8692
  const cAF = (handle) => isClient ? window.cancelAnimationFrame(handle) : clearTimeout(handle);
8693
8693
 
8694
- const generateId = () => Math.floor(Math.random() * 1e4);
8695
-
8696
8694
  const mutable = (val) => val;
8697
8695
 
8698
8696
  const DEFAULT_EXCLUDE_KEYS = ["class", "style"];
@@ -11561,7 +11559,7 @@ const ConfigProvider = defineComponent({
11561
11559
 
11562
11560
  const ElConfigProvider = withInstall(ConfigProvider);
11563
11561
 
11564
- const version$1 = "0.0.20240115";
11562
+ const version$1 = "0.0.20240117";
11565
11563
 
11566
11564
  const makeInstaller = (components = []) => {
11567
11565
  const install = (app, options) => {
@@ -11611,11 +11609,11 @@ var _export_sfc = (sfc, props) => {
11611
11609
  };
11612
11610
 
11613
11611
  const COMPONENT_NAME$n = "ElAffix";
11614
- const __default__$1H = defineComponent({
11612
+ const __default__$1I = defineComponent({
11615
11613
  name: COMPONENT_NAME$n
11616
11614
  });
11617
11615
  const _sfc_main$2n = /* @__PURE__ */ defineComponent({
11618
- ...__default__$1H,
11616
+ ...__default__$1I,
11619
11617
  props: affixProps,
11620
11618
  emits: affixEmits,
11621
11619
  setup(__props, { expose, emit }) {
@@ -11731,12 +11729,12 @@ const iconProps = buildProps({
11731
11729
  }
11732
11730
  });
11733
11731
 
11734
- const __default__$1G = defineComponent({
11732
+ const __default__$1H = defineComponent({
11735
11733
  name: "ElIcon",
11736
11734
  inheritAttrs: false
11737
11735
  });
11738
11736
  const _sfc_main$2m = /* @__PURE__ */ defineComponent({
11739
- ...__default__$1G,
11737
+ ...__default__$1H,
11740
11738
  props: iconProps,
11741
11739
  setup(__props) {
11742
11740
  const props = __props;
@@ -11799,11 +11797,11 @@ const alertEmits = {
11799
11797
  close: (evt) => evt instanceof MouseEvent
11800
11798
  };
11801
11799
 
11802
- const __default__$1F = defineComponent({
11800
+ const __default__$1G = defineComponent({
11803
11801
  name: "ElAlert"
11804
11802
  });
11805
11803
  const _sfc_main$2l = /* @__PURE__ */ defineComponent({
11806
- ...__default__$1F,
11804
+ ...__default__$1G,
11807
11805
  props: alertProps,
11808
11806
  emits: alertEmits,
11809
11807
  setup(__props, { emit }) {
@@ -12053,11 +12051,11 @@ const filterFields = (fields, props) => {
12053
12051
  };
12054
12052
 
12055
12053
  const COMPONENT_NAME$m = "ElForm";
12056
- const __default__$1E = defineComponent({
12054
+ const __default__$1F = defineComponent({
12057
12055
  name: COMPONENT_NAME$m
12058
12056
  });
12059
12057
  const _sfc_main$2k = /* @__PURE__ */ defineComponent({
12060
- ...__default__$1E,
12058
+ ...__default__$1F,
12061
12059
  props: formProps,
12062
12060
  emits: formEmits,
12063
12061
  setup(__props, { expose, emit }) {
@@ -13369,11 +13367,11 @@ var FormLabelWrap = defineComponent({
13369
13367
  });
13370
13368
 
13371
13369
  const _hoisted_1$15 = ["role", "aria-labelledby"];
13372
- const __default__$1D = defineComponent({
13370
+ const __default__$1E = defineComponent({
13373
13371
  name: "ElFormItem"
13374
13372
  });
13375
13373
  const _sfc_main$2j = /* @__PURE__ */ defineComponent({
13376
- ...__default__$1D,
13374
+ ...__default__$1E,
13377
13375
  props: formItemProps,
13378
13376
  setup(__props, { expose }) {
13379
13377
  const props = __props;
@@ -13864,12 +13862,12 @@ const inputEmits = {
13864
13862
  const _hoisted_1$14 = ["role"];
13865
13863
  const _hoisted_2$I = ["id", "minlength", "maxlength", "type", "disabled", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
13866
13864
  const _hoisted_3$i = ["id", "minlength", "maxlength", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
13867
- const __default__$1C = defineComponent({
13865
+ const __default__$1D = defineComponent({
13868
13866
  name: "ElInput",
13869
13867
  inheritAttrs: false
13870
13868
  });
13871
13869
  const _sfc_main$2i = /* @__PURE__ */ defineComponent({
13872
- ...__default__$1C,
13870
+ ...__default__$1D,
13873
13871
  props: inputProps,
13874
13872
  emits: inputEmits,
13875
13873
  setup(__props, { expose, emit }) {
@@ -14575,11 +14573,11 @@ const scrollbarEmits = {
14575
14573
  };
14576
14574
 
14577
14575
  const COMPONENT_NAME$j = "ElScrollbar";
14578
- const __default__$1B = defineComponent({
14576
+ const __default__$1C = defineComponent({
14579
14577
  name: COMPONENT_NAME$j
14580
14578
  });
14581
14579
  const _sfc_main$2f = /* @__PURE__ */ defineComponent({
14582
- ...__default__$1B,
14580
+ ...__default__$1C,
14583
14581
  props: scrollbarProps,
14584
14582
  emits: scrollbarEmits,
14585
14583
  setup(__props, { expose, emit }) {
@@ -14767,12 +14765,12 @@ const popperProps = buildProps({
14767
14765
  });
14768
14766
  const usePopperProps = popperProps;
14769
14767
 
14770
- const __default__$1A = defineComponent({
14768
+ const __default__$1B = defineComponent({
14771
14769
  name: "ElPopper",
14772
14770
  inheritAttrs: false
14773
14771
  });
14774
14772
  const _sfc_main$2e = /* @__PURE__ */ defineComponent({
14775
- ...__default__$1A,
14773
+ ...__default__$1B,
14776
14774
  props: popperProps,
14777
14775
  setup(__props, { expose }) {
14778
14776
  const props = __props;
@@ -14805,12 +14803,12 @@ const popperArrowProps = buildProps({
14805
14803
  });
14806
14804
  const usePopperArrowProps = popperArrowProps;
14807
14805
 
14808
- const __default__$1z = defineComponent({
14806
+ const __default__$1A = defineComponent({
14809
14807
  name: "ElPopperArrow",
14810
14808
  inheritAttrs: false
14811
14809
  });
14812
14810
  const _sfc_main$2d = /* @__PURE__ */ defineComponent({
14813
- ...__default__$1z,
14811
+ ...__default__$1A,
14814
14812
  props: popperArrowProps,
14815
14813
  setup(__props, { expose }) {
14816
14814
  const props = __props;
@@ -14924,12 +14922,12 @@ const popperTriggerProps = buildProps({
14924
14922
  });
14925
14923
  const usePopperTriggerProps = popperTriggerProps;
14926
14924
 
14927
- const __default__$1y = defineComponent({
14925
+ const __default__$1z = defineComponent({
14928
14926
  name: "ElPopperTrigger",
14929
14927
  inheritAttrs: false
14930
14928
  });
14931
14929
  const _sfc_main$2c = /* @__PURE__ */ defineComponent({
14932
- ...__default__$1y,
14930
+ ...__default__$1z,
14933
14931
  props: popperTriggerProps,
14934
14932
  setup(__props, { expose }) {
14935
14933
  const props = __props;
@@ -15413,10 +15411,10 @@ const _sfc_main$2b = defineComponent({
15413
15411
  };
15414
15412
  }
15415
15413
  });
15416
- function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
15414
+ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
15417
15415
  return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
15418
15416
  }
15419
- var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["render", _sfc_render$v], ["__file", "focus-trap.vue"]]);
15417
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["render", _sfc_render$u], ["__file", "focus-trap.vue"]]);
15420
15418
 
15421
15419
  const POSITIONING_STRATEGIES = ["fixed", "absolute"];
15422
15420
  const popperCoreConfigProps = buildProps({
@@ -15710,11 +15708,11 @@ const usePopperContentFocusTrap = (props, emit) => {
15710
15708
  };
15711
15709
  };
15712
15710
 
15713
- const __default__$1x = defineComponent({
15711
+ const __default__$1y = defineComponent({
15714
15712
  name: "ElPopperContent"
15715
15713
  });
15716
15714
  const _sfc_main$2a = /* @__PURE__ */ defineComponent({
15717
- ...__default__$1x,
15715
+ ...__default__$1y,
15718
15716
  props: popperContentProps,
15719
15717
  emits: popperContentEmits,
15720
15718
  setup(__props, { expose, emit }) {
@@ -15915,11 +15913,11 @@ const whenTrigger = (trigger, type, handler) => {
15915
15913
  };
15916
15914
  };
15917
15915
 
15918
- const __default__$1w = defineComponent({
15916
+ const __default__$1x = defineComponent({
15919
15917
  name: "ElTooltipTrigger"
15920
15918
  });
15921
15919
  const _sfc_main$29 = /* @__PURE__ */ defineComponent({
15922
- ...__default__$1w,
15920
+ ...__default__$1x,
15923
15921
  props: useTooltipTriggerProps,
15924
15922
  setup(__props, { expose }) {
15925
15923
  const props = __props;
@@ -15980,12 +15978,12 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
15980
15978
  });
15981
15979
  var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["__file", "trigger.vue"]]);
15982
15980
 
15983
- const __default__$1v = defineComponent({
15981
+ const __default__$1w = defineComponent({
15984
15982
  name: "ElTooltipContent",
15985
15983
  inheritAttrs: false
15986
15984
  });
15987
15985
  const _sfc_main$28 = /* @__PURE__ */ defineComponent({
15988
- ...__default__$1v,
15986
+ ...__default__$1w,
15989
15987
  props: useTooltipContentProps,
15990
15988
  setup(__props, { expose }) {
15991
15989
  const props = __props;
@@ -16147,11 +16145,11 @@ var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["__file", "co
16147
16145
 
16148
16146
  const _hoisted_1$13 = ["innerHTML"];
16149
16147
  const _hoisted_2$H = { key: 1 };
16150
- const __default__$1u = defineComponent({
16148
+ const __default__$1v = defineComponent({
16151
16149
  name: "ElTooltip"
16152
16150
  });
16153
16151
  const _sfc_main$27 = /* @__PURE__ */ defineComponent({
16154
- ...__default__$1u,
16152
+ ...__default__$1v,
16155
16153
  props: useTooltipProps,
16156
16154
  emits: tooltipEmits,
16157
16155
  setup(__props, { expose, emit }) {
@@ -16388,12 +16386,12 @@ const _hoisted_1$12 = ["aria-expanded", "aria-owns"];
16388
16386
  const _hoisted_2$G = { key: 0 };
16389
16387
  const _hoisted_3$h = ["id", "aria-selected", "onClick"];
16390
16388
  const COMPONENT_NAME$i = "ElAutocomplete";
16391
- const __default__$1t = defineComponent({
16389
+ const __default__$1u = defineComponent({
16392
16390
  name: COMPONENT_NAME$i,
16393
16391
  inheritAttrs: false
16394
16392
  });
16395
16393
  const _sfc_main$26 = /* @__PURE__ */ defineComponent({
16396
- ...__default__$1t,
16394
+ ...__default__$1u,
16397
16395
  props: autocompleteProps,
16398
16396
  emits: autocompleteEmits,
16399
16397
  setup(__props, { expose, emit }) {
@@ -16414,7 +16412,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
16414
16412
  const activated = ref(false);
16415
16413
  const suggestionDisabled = ref(false);
16416
16414
  const loading = ref(false);
16417
- const listboxId = computed$1(() => ns.b(String(generateId())));
16415
+ const listboxId = useId();
16418
16416
  const styles = computed$1(() => rawAttrs.style);
16419
16417
  const suggestionVisible = computed$1(() => {
16420
16418
  const isValidData = suggestions.value.length > 0;
@@ -16761,11 +16759,11 @@ const avatarEmits = {
16761
16759
  };
16762
16760
 
16763
16761
  const _hoisted_1$11 = ["src", "alt", "srcset"];
16764
- const __default__$1s = defineComponent({
16762
+ const __default__$1t = defineComponent({
16765
16763
  name: "ElAvatar"
16766
16764
  });
16767
16765
  const _sfc_main$25 = /* @__PURE__ */ defineComponent({
16768
- ...__default__$1s,
16766
+ ...__default__$1t,
16769
16767
  props: avatarProps,
16770
16768
  emits: avatarEmits,
16771
16769
  setup(__props, { emit }) {
@@ -16880,11 +16878,11 @@ const useBackTop = (props, emit, componentName) => {
16880
16878
  };
16881
16879
 
16882
16880
  const COMPONENT_NAME$h = "ElBacktop";
16883
- const __default__$1r = defineComponent({
16881
+ const __default__$1s = defineComponent({
16884
16882
  name: COMPONENT_NAME$h
16885
16883
  });
16886
16884
  const _sfc_main$24 = /* @__PURE__ */ defineComponent({
16887
- ...__default__$1r,
16885
+ ...__default__$1s,
16888
16886
  props: backtopProps,
16889
16887
  emits: backtopEmits,
16890
16888
  setup(__props, { emit }) {
@@ -16946,11 +16944,11 @@ const badgeProps = buildProps({
16946
16944
  });
16947
16945
 
16948
16946
  const _hoisted_1$10 = ["textContent"];
16949
- const __default__$1q = defineComponent({
16947
+ const __default__$1r = defineComponent({
16950
16948
  name: "ElBadge"
16951
16949
  });
16952
16950
  const _sfc_main$23 = /* @__PURE__ */ defineComponent({
16953
- ...__default__$1q,
16951
+ ...__default__$1r,
16954
16952
  props: badgeProps,
16955
16953
  setup(__props, { expose }) {
16956
16954
  const props = __props;
@@ -17010,11 +17008,11 @@ const breadcrumbProps = buildProps({
17010
17008
  }
17011
17009
  });
17012
17010
 
17013
- const __default__$1p = defineComponent({
17011
+ const __default__$1q = defineComponent({
17014
17012
  name: "ElBreadcrumb"
17015
17013
  });
17016
17014
  const _sfc_main$22 = /* @__PURE__ */ defineComponent({
17017
- ...__default__$1p,
17015
+ ...__default__$1q,
17018
17016
  props: breadcrumbProps,
17019
17017
  setup(__props) {
17020
17018
  const props = __props;
@@ -17053,11 +17051,11 @@ const breadcrumbItemProps = buildProps({
17053
17051
  }
17054
17052
  });
17055
17053
 
17056
- const __default__$1o = defineComponent({
17054
+ const __default__$1p = defineComponent({
17057
17055
  name: "ElBreadcrumbItem"
17058
17056
  });
17059
17057
  const _sfc_main$21 = /* @__PURE__ */ defineComponent({
17060
- ...__default__$1o,
17058
+ ...__default__$1p,
17061
17059
  props: breadcrumbItemProps,
17062
17060
  setup(__props) {
17063
17061
  const props = __props;
@@ -18152,11 +18150,11 @@ function useButtonCustomStyle(props) {
18152
18150
  });
18153
18151
  }
18154
18152
 
18155
- const __default__$1n = defineComponent({
18153
+ const __default__$1o = defineComponent({
18156
18154
  name: "ElButton"
18157
18155
  });
18158
18156
  const _sfc_main$20 = /* @__PURE__ */ defineComponent({
18159
- ...__default__$1n,
18157
+ ...__default__$1o,
18160
18158
  props: buttonProps,
18161
18159
  emits: buttonEmits,
18162
18160
  setup(__props, { expose, emit }) {
@@ -18228,11 +18226,11 @@ const buttonGroupProps = {
18228
18226
  type: buttonProps.type
18229
18227
  };
18230
18228
 
18231
- const __default__$1m = defineComponent({
18229
+ const __default__$1n = defineComponent({
18232
18230
  name: "ElButtonGroup"
18233
18231
  });
18234
18232
  const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
18235
- ...__default__$1m,
18233
+ ...__default__$1n,
18236
18234
  props: buttonGroupProps,
18237
18235
  setup(__props) {
18238
18236
  const props = __props;
@@ -18794,11 +18792,11 @@ const timePickerDefaultProps = buildProps({
18794
18792
 
18795
18793
  const _hoisted_1$$ = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18796
18794
  const _hoisted_2$F = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18797
- const __default__$1l = defineComponent({
18795
+ const __default__$1m = defineComponent({
18798
18796
  name: "Picker"
18799
18797
  });
18800
18798
  const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
18801
- ...__default__$1l,
18799
+ ...__default__$1m,
18802
18800
  props: timePickerDefaultProps,
18803
18801
  emits: [
18804
18802
  "update:modelValue",
@@ -20707,11 +20705,11 @@ const useDateTable = (props, emit) => {
20707
20705
 
20708
20706
  const _hoisted_1$Y = { key: 0 };
20709
20707
  const _hoisted_2$D = ["onClick"];
20710
- const __default__$1k = defineComponent({
20708
+ const __default__$1l = defineComponent({
20711
20709
  name: "DateTable"
20712
20710
  });
20713
20711
  const _sfc_main$1W = /* @__PURE__ */ defineComponent({
20714
- ...__default__$1k,
20712
+ ...__default__$1l,
20715
20713
  props: dateTableProps,
20716
20714
  emits: dateTableEmits,
20717
20715
  setup(__props, { expose, emit }) {
@@ -20925,11 +20923,11 @@ const calendarEmits = {
20925
20923
  };
20926
20924
 
20927
20925
  const COMPONENT_NAME$g = "ElCalendar";
20928
- const __default__$1j = defineComponent({
20926
+ const __default__$1k = defineComponent({
20929
20927
  name: COMPONENT_NAME$g
20930
20928
  });
20931
20929
  const _sfc_main$1V = /* @__PURE__ */ defineComponent({
20932
- ...__default__$1j,
20930
+ ...__default__$1k,
20933
20931
  props: calendarProps,
20934
20932
  emits: calendarEmits,
20935
20933
  setup(__props, { expose, emit }) {
@@ -21071,11 +21069,11 @@ const cardProps = buildProps({
21071
21069
  }
21072
21070
  });
21073
21071
 
21074
- const __default__$1i = defineComponent({
21072
+ const __default__$1j = defineComponent({
21075
21073
  name: "ElCard"
21076
21074
  });
21077
21075
  const _sfc_main$1U = /* @__PURE__ */ defineComponent({
21078
- ...__default__$1i,
21076
+ ...__default__$1j,
21079
21077
  props: cardProps,
21080
21078
  setup(__props) {
21081
21079
  const ns = useNamespace("card");
@@ -21424,11 +21422,11 @@ const useCarousel = (props, emit, componentName) => {
21424
21422
  const _hoisted_1$X = ["onMouseenter", "onClick"];
21425
21423
  const _hoisted_2$C = { key: 0 };
21426
21424
  const COMPONENT_NAME$f = "ElCarousel";
21427
- const __default__$1h = defineComponent({
21425
+ const __default__$1i = defineComponent({
21428
21426
  name: COMPONENT_NAME$f
21429
21427
  });
21430
21428
  const _sfc_main$1T = /* @__PURE__ */ defineComponent({
21431
- ...__default__$1h,
21429
+ ...__default__$1i,
21432
21430
  props: carouselProps,
21433
21431
  emits: carouselEmits,
21434
21432
  setup(__props, { expose, emit }) {
@@ -21704,11 +21702,11 @@ const useCarouselItem = (props, componentName) => {
21704
21702
  };
21705
21703
  };
21706
21704
 
21707
- const __default__$1g = defineComponent({
21705
+ const __default__$1h = defineComponent({
21708
21706
  name: "ElCarouselItem"
21709
21707
  });
21710
21708
  const _sfc_main$1S = /* @__PURE__ */ defineComponent({
21711
- ...__default__$1g,
21709
+ ...__default__$1h,
21712
21710
  props: carouselItemProps,
21713
21711
  setup(__props) {
21714
21712
  const props = __props;
@@ -21901,7 +21899,7 @@ const useCheckboxModel = (props) => {
21901
21899
  set(val) {
21902
21900
  var _a, _b;
21903
21901
  if (isGroup.value && isArray$1(val)) {
21904
- isLimitExceeded.value = ((_a = checkboxGroup == null ? void 0 : checkboxGroup.max) == null ? void 0 : _a.value) !== void 0 && val.length > (checkboxGroup == null ? void 0 : checkboxGroup.max.value);
21902
+ isLimitExceeded.value = ((_a = checkboxGroup == null ? void 0 : checkboxGroup.max) == null ? void 0 : _a.value) !== void 0 && val.length > (checkboxGroup == null ? void 0 : checkboxGroup.max.value) && val.length > model.value.length;
21905
21903
  isLimitExceeded.value === false && ((_b = checkboxGroup == null ? void 0 : checkboxGroup.changeEvent) == null ? void 0 : _b.call(checkboxGroup, val));
21906
21904
  } else {
21907
21905
  emit(UPDATE_MODEL_EVENT, val);
@@ -22008,11 +22006,11 @@ const useCheckbox = (props, slots) => {
22008
22006
 
22009
22007
  const _hoisted_1$W = ["id", "indeterminate", "name", "tabindex", "disabled", "true-value", "false-value"];
22010
22008
  const _hoisted_2$B = ["id", "indeterminate", "disabled", "value", "name", "tabindex"];
22011
- const __default__$1f = defineComponent({
22009
+ const __default__$1g = defineComponent({
22012
22010
  name: "ElCheckbox"
22013
22011
  });
22014
22012
  const _sfc_main$1R = /* @__PURE__ */ defineComponent({
22015
- ...__default__$1f,
22013
+ ...__default__$1g,
22016
22014
  props: checkboxProps,
22017
22015
  emits: checkboxEmits,
22018
22016
  setup(__props) {
@@ -22120,11 +22118,11 @@ var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["__file", "checkbox.v
22120
22118
 
22121
22119
  const _hoisted_1$V = ["name", "tabindex", "disabled", "true-value", "false-value"];
22122
22120
  const _hoisted_2$A = ["name", "tabindex", "disabled", "value"];
22123
- const __default__$1e = defineComponent({
22121
+ const __default__$1f = defineComponent({
22124
22122
  name: "ElCheckboxButton"
22125
22123
  });
22126
22124
  const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
22127
- ...__default__$1e,
22125
+ ...__default__$1f,
22128
22126
  props: checkboxProps,
22129
22127
  emits: checkboxEmits,
22130
22128
  setup(__props) {
@@ -22238,11 +22236,11 @@ const checkboxGroupEmits = {
22238
22236
  change: (val) => isArray$1(val)
22239
22237
  };
22240
22238
 
22241
- const __default__$1d = defineComponent({
22239
+ const __default__$1e = defineComponent({
22242
22240
  name: "ElCheckboxGroup"
22243
22241
  });
22244
22242
  const _sfc_main$1P = /* @__PURE__ */ defineComponent({
22245
- ...__default__$1d,
22243
+ ...__default__$1e,
22246
22244
  props: checkboxGroupProps,
22247
22245
  emits: checkboxGroupEmits,
22248
22246
  setup(__props, { emit }) {
@@ -22372,11 +22370,11 @@ const useRadio = (props, emit) => {
22372
22370
  };
22373
22371
 
22374
22372
  const _hoisted_1$U = ["value", "name", "disabled"];
22375
- const __default__$1c = defineComponent({
22373
+ const __default__$1d = defineComponent({
22376
22374
  name: "ElRadio"
22377
22375
  });
22378
22376
  const _sfc_main$1O = /* @__PURE__ */ defineComponent({
22379
- ...__default__$1c,
22377
+ ...__default__$1d,
22380
22378
  props: radioProps,
22381
22379
  emits: radioEmits,
22382
22380
  setup(__props, { emit }) {
@@ -22450,11 +22448,11 @@ const radioButtonProps = buildProps({
22450
22448
  });
22451
22449
 
22452
22450
  const _hoisted_1$T = ["value", "name", "disabled"];
22453
- const __default__$1b = defineComponent({
22451
+ const __default__$1c = defineComponent({
22454
22452
  name: "ElRadioButton"
22455
22453
  });
22456
22454
  const _sfc_main$1N = /* @__PURE__ */ defineComponent({
22457
- ...__default__$1b,
22455
+ ...__default__$1c,
22458
22456
  props: radioButtonProps,
22459
22457
  setup(__props) {
22460
22458
  const props = __props;
@@ -22546,11 +22544,11 @@ const radioGroupProps = buildProps({
22546
22544
  const radioGroupEmits = radioEmits;
22547
22545
 
22548
22546
  const _hoisted_1$S = ["id", "aria-label", "aria-labelledby"];
22549
- const __default__$1a = defineComponent({
22547
+ const __default__$1b = defineComponent({
22550
22548
  name: "ElRadioGroup"
22551
22549
  });
22552
22550
  const _sfc_main$1M = /* @__PURE__ */ defineComponent({
22553
- ...__default__$1a,
22551
+ ...__default__$1b,
22554
22552
  props: radioGroupProps,
22555
22553
  emits: radioGroupEmits,
22556
22554
  setup(__props, { emit }) {
@@ -22746,7 +22744,7 @@ const _sfc_main$1L = defineComponent({
22746
22744
  });
22747
22745
  const _hoisted_1$R = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
22748
22746
  const _hoisted_2$z = /* @__PURE__ */ createElementVNode("span", null, null, -1);
22749
- function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22747
+ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22750
22748
  const _component_el_checkbox = resolveComponent("el-checkbox");
22751
22749
  const _component_el_radio = resolveComponent("el-radio");
22752
22750
  const _component_check = resolveComponent("check");
@@ -22829,7 +22827,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22829
22827
  ], 64)) : createCommentVNode("v-if", true)
22830
22828
  ], 42, _hoisted_1$R);
22831
22829
  }
22832
- var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$u], ["__file", "node.vue"]]);
22830
+ var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$t], ["__file", "node.vue"]]);
22833
22831
 
22834
22832
  const _sfc_main$1K = defineComponent({
22835
22833
  name: "ElCascaderMenu",
@@ -22853,14 +22851,14 @@ const _sfc_main$1K = defineComponent({
22853
22851
  const instance = getCurrentInstance();
22854
22852
  const ns = useNamespace("cascader-menu");
22855
22853
  const { t } = useLocale();
22856
- const id = generateId();
22854
+ const id = useId();
22857
22855
  let activeNode = null;
22858
22856
  let hoverTimer = null;
22859
22857
  const panel = inject(CASCADER_PANEL_INJECTION_KEY);
22860
22858
  const hoverZone = ref(null);
22861
22859
  const isEmpty = computed$1(() => !props.nodes.length);
22862
22860
  const isLoading = computed$1(() => !panel.initialLoaded);
22863
- const menuId = computed$1(() => `cascader-menu-${id}-${props.index}`);
22861
+ const menuId = computed$1(() => `${id.value}-${props.index}`);
22864
22862
  const handleExpand = (e) => {
22865
22863
  activeNode = e.target;
22866
22864
  };
@@ -22909,7 +22907,7 @@ const _sfc_main$1K = defineComponent({
22909
22907
  };
22910
22908
  }
22911
22909
  });
22912
- function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22910
+ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22913
22911
  const _component_el_cascader_node = resolveComponent("el-cascader-node");
22914
22912
  const _component_loading = resolveComponent("loading");
22915
22913
  const _component_el_icon = resolveComponent("el-icon");
@@ -22962,7 +22960,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22962
22960
  _: 1
22963
22961
  }, 8, ["class", "wrap-class", "view-class", "onMousemove", "onMouseleave"]);
22964
22962
  }
22965
- var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$t], ["__file", "menu.vue"]]);
22963
+ var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$s], ["__file", "menu.vue"]]);
22966
22964
 
22967
22965
  let uid = 0;
22968
22966
  const calculatePathNodes = (node) => {
@@ -23444,7 +23442,7 @@ const _sfc_main$1J = defineComponent({
23444
23442
  };
23445
23443
  }
23446
23444
  });
23447
- function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
23445
+ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
23448
23446
  const _component_el_cascader_menu = resolveComponent("el-cascader-menu");
23449
23447
  return openBlock(), createElementBlock("div", {
23450
23448
  class: normalizeClass([_ctx.ns.b("panel"), _ctx.ns.is("bordered", _ctx.border)]),
@@ -23461,7 +23459,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
23461
23459
  }), 128))
23462
23460
  ], 34);
23463
23461
  }
23464
- var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$s], ["__file", "index.vue"]]);
23462
+ var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$r], ["__file", "index.vue"]]);
23465
23463
 
23466
23464
  CascaderPanel.install = (app) => {
23467
23465
  app.component(CascaderPanel.name, CascaderPanel);
@@ -23499,11 +23497,11 @@ const tagEmits = {
23499
23497
  click: (evt) => evt instanceof MouseEvent
23500
23498
  };
23501
23499
 
23502
- const __default__$19 = defineComponent({
23500
+ const __default__$1a = defineComponent({
23503
23501
  name: "ElTag"
23504
23502
  });
23505
23503
  const _sfc_main$1I = /* @__PURE__ */ defineComponent({
23506
- ...__default__$19,
23504
+ ...__default__$1a,
23507
23505
  props: tagProps,
23508
23506
  emits: tagEmits,
23509
23507
  setup(__props, { emit }) {
@@ -23648,11 +23646,11 @@ const _hoisted_1$Q = { key: 0 };
23648
23646
  const _hoisted_2$y = ["placeholder", "onKeydown"];
23649
23647
  const _hoisted_3$g = ["onClick"];
23650
23648
  const COMPONENT_NAME$e = "ElCascader";
23651
- const __default__$18 = defineComponent({
23649
+ const __default__$19 = defineComponent({
23652
23650
  name: COMPONENT_NAME$e
23653
23651
  });
23654
23652
  const _sfc_main$1H = /* @__PURE__ */ defineComponent({
23655
- ...__default__$18,
23653
+ ...__default__$19,
23656
23654
  props: cascaderProps,
23657
23655
  emits: cascaderEmits,
23658
23656
  setup(__props, { expose, emit }) {
@@ -24264,11 +24262,11 @@ const checkTagEmits = {
24264
24262
  [CHANGE_EVENT]: (value) => isBoolean(value)
24265
24263
  };
24266
24264
 
24267
- const __default__$17 = defineComponent({
24265
+ const __default__$18 = defineComponent({
24268
24266
  name: "ElCheckTag"
24269
24267
  });
24270
24268
  const _sfc_main$1G = /* @__PURE__ */ defineComponent({
24271
- ...__default__$17,
24269
+ ...__default__$18,
24272
24270
  props: checkTagProps,
24273
24271
  emits: checkTagEmits,
24274
24272
  setup(__props, { emit }) {
@@ -24325,11 +24323,11 @@ const rowProps = buildProps({
24325
24323
  }
24326
24324
  });
24327
24325
 
24328
- const __default__$16 = defineComponent({
24326
+ const __default__$17 = defineComponent({
24329
24327
  name: "ElRow"
24330
24328
  });
24331
24329
  const _sfc_main$1F = /* @__PURE__ */ defineComponent({
24332
- ...__default__$16,
24330
+ ...__default__$17,
24333
24331
  props: rowProps,
24334
24332
  setup(__props) {
24335
24333
  const props = __props;
@@ -24411,11 +24409,11 @@ const colProps = buildProps({
24411
24409
  }
24412
24410
  });
24413
24411
 
24414
- const __default__$15 = defineComponent({
24412
+ const __default__$16 = defineComponent({
24415
24413
  name: "ElCol"
24416
24414
  });
24417
24415
  const _sfc_main$1E = /* @__PURE__ */ defineComponent({
24418
- ...__default__$15,
24416
+ ...__default__$16,
24419
24417
  props: colProps,
24420
24418
  setup(__props) {
24421
24419
  const props = __props;
@@ -24527,11 +24525,11 @@ const useCollapseDOM = () => {
24527
24525
  };
24528
24526
  };
24529
24527
 
24530
- const __default__$14 = defineComponent({
24528
+ const __default__$15 = defineComponent({
24531
24529
  name: "ElCollapse"
24532
24530
  });
24533
24531
  const _sfc_main$1D = /* @__PURE__ */ defineComponent({
24534
- ...__default__$14,
24532
+ ...__default__$15,
24535
24533
  props: collapseProps,
24536
24534
  emits: collapseEmits,
24537
24535
  setup(__props, { expose, emit }) {
@@ -24553,11 +24551,11 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
24553
24551
  });
24554
24552
  var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__file", "collapse.vue"]]);
24555
24553
 
24556
- const __default__$13 = defineComponent({
24554
+ const __default__$14 = defineComponent({
24557
24555
  name: "ElCollapseTransition"
24558
24556
  });
24559
24557
  const _sfc_main$1C = /* @__PURE__ */ defineComponent({
24560
- ...__default__$13,
24558
+ ...__default__$14,
24561
24559
  setup(__props) {
24562
24560
  const ns = useNamespace("collapse-transition");
24563
24561
  const reset = (el) => {
@@ -24728,11 +24726,11 @@ const useCollapseItemDOM = (props, { focusing, isActive, id }) => {
24728
24726
 
24729
24727
  const _hoisted_1$P = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex"];
24730
24728
  const _hoisted_2$x = ["id", "aria-hidden", "aria-labelledby"];
24731
- const __default__$12 = defineComponent({
24729
+ const __default__$13 = defineComponent({
24732
24730
  name: "ElCollapseItem"
24733
24731
  });
24734
24732
  const _sfc_main$1B = /* @__PURE__ */ defineComponent({
24735
- ...__default__$12,
24733
+ ...__default__$13,
24736
24734
  props: collapseItemProps,
24737
24735
  setup(__props, { expose }) {
24738
24736
  const props = __props;
@@ -24972,11 +24970,11 @@ const useAlphaSliderDOM = (props, {
24972
24970
  };
24973
24971
 
24974
24972
  const COMPONENT_NAME$d = "ElColorAlphaSlider";
24975
- const __default__$11 = defineComponent({
24973
+ const __default__$12 = defineComponent({
24976
24974
  name: COMPONENT_NAME$d
24977
24975
  });
24978
24976
  const _sfc_main$1A = /* @__PURE__ */ defineComponent({
24979
- ...__default__$11,
24977
+ ...__default__$12,
24980
24978
  props: alphaSliderProps,
24981
24979
  setup(__props, { expose }) {
24982
24980
  const props = __props;
@@ -25115,7 +25113,7 @@ const _sfc_main$1z = defineComponent({
25115
25113
  };
25116
25114
  }
25117
25115
  });
25118
- function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
25116
+ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
25119
25117
  return openBlock(), createElementBlock("div", {
25120
25118
  class: normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
25121
25119
  }, [
@@ -25134,7 +25132,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
25134
25132
  }, null, 6)
25135
25133
  ], 2);
25136
25134
  }
25137
- var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$r], ["__file", "hue-slider.vue"]]);
25135
+ var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$q], ["__file", "hue-slider.vue"]]);
25138
25136
 
25139
25137
  const colorPickerProps = buildProps({
25140
25138
  modelValue: String,
@@ -25502,7 +25500,7 @@ const _sfc_main$1y = defineComponent({
25502
25500
  }
25503
25501
  });
25504
25502
  const _hoisted_1$O = ["onClick"];
25505
- function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
25503
+ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
25506
25504
  return openBlock(), createElementBlock("div", {
25507
25505
  class: normalizeClass(_ctx.ns.b())
25508
25506
  }, [
@@ -25527,7 +25525,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
25527
25525
  ], 2)
25528
25526
  ], 2);
25529
25527
  }
25530
- var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$q], ["__file", "predefine.vue"]]);
25528
+ var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$p], ["__file", "predefine.vue"]]);
25531
25529
 
25532
25530
  const _sfc_main$1x = defineComponent({
25533
25531
  name: "ElSlPanel",
@@ -25603,7 +25601,7 @@ const _hoisted_1$N = /* @__PURE__ */ createElementVNode("div", null, null, -1);
25603
25601
  const _hoisted_2$w = [
25604
25602
  _hoisted_1$N
25605
25603
  ];
25606
- function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
25604
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
25607
25605
  return openBlock(), createElementBlock("div", {
25608
25606
  class: normalizeClass(_ctx.ns.b()),
25609
25607
  style: normalizeStyle({
@@ -25625,15 +25623,15 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
25625
25623
  }, _hoisted_2$w, 6)
25626
25624
  ], 6);
25627
25625
  }
25628
- var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$p], ["__file", "sv-panel.vue"]]);
25626
+ var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$o], ["__file", "sv-panel.vue"]]);
25629
25627
 
25630
25628
  const _hoisted_1$M = ["onKeydown"];
25631
25629
  const _hoisted_2$v = ["id", "aria-label", "aria-labelledby", "aria-description", "aria-disabled", "tabindex"];
25632
- const __default__$10 = defineComponent({
25630
+ const __default__$11 = defineComponent({
25633
25631
  name: "ElColorPicker"
25634
25632
  });
25635
25633
  const _sfc_main$1w = /* @__PURE__ */ defineComponent({
25636
- ...__default__$10,
25634
+ ...__default__$11,
25637
25635
  props: colorPickerProps,
25638
25636
  emits: colorPickerEmits,
25639
25637
  setup(__props, { expose, emit }) {
@@ -26007,11 +26005,11 @@ var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__file", "color-p
26007
26005
 
26008
26006
  const ElColorPicker = withInstall(ColorPicker);
26009
26007
 
26010
- const __default__$$ = defineComponent({
26008
+ const __default__$10 = defineComponent({
26011
26009
  name: "ElContainer"
26012
26010
  });
26013
26011
  const _sfc_main$1v = /* @__PURE__ */ defineComponent({
26014
- ...__default__$$,
26012
+ ...__default__$10,
26015
26013
  props: {
26016
26014
  direction: {
26017
26015
  type: String
@@ -26048,11 +26046,11 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
26048
26046
  });
26049
26047
  var Container = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__file", "container.vue"]]);
26050
26048
 
26051
- const __default__$_ = defineComponent({
26049
+ const __default__$$ = defineComponent({
26052
26050
  name: "ElAside"
26053
26051
  });
26054
26052
  const _sfc_main$1u = /* @__PURE__ */ defineComponent({
26055
- ...__default__$_,
26053
+ ...__default__$$,
26056
26054
  props: {
26057
26055
  width: {
26058
26056
  type: String,
@@ -26075,11 +26073,11 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
26075
26073
  });
26076
26074
  var Aside = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__file", "aside.vue"]]);
26077
26075
 
26078
- const __default__$Z = defineComponent({
26076
+ const __default__$_ = defineComponent({
26079
26077
  name: "ElFooter"
26080
26078
  });
26081
26079
  const _sfc_main$1t = /* @__PURE__ */ defineComponent({
26082
- ...__default__$Z,
26080
+ ...__default__$_,
26083
26081
  props: {
26084
26082
  height: {
26085
26083
  type: String,
@@ -26102,11 +26100,11 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
26102
26100
  });
26103
26101
  var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__file", "footer.vue"]]);
26104
26102
 
26105
- const __default__$Y = defineComponent({
26103
+ const __default__$Z = defineComponent({
26106
26104
  name: "ElHeader"
26107
26105
  });
26108
26106
  const _sfc_main$1s = /* @__PURE__ */ defineComponent({
26109
- ...__default__$Y,
26107
+ ...__default__$Z,
26110
26108
  props: {
26111
26109
  height: {
26112
26110
  type: String,
@@ -26133,11 +26131,11 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
26133
26131
  });
26134
26132
  var Header$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__file", "header.vue"]]);
26135
26133
 
26136
- const __default__$X = defineComponent({
26134
+ const __default__$Y = defineComponent({
26137
26135
  name: "ElMain"
26138
26136
  });
26139
26137
  const _sfc_main$1r = /* @__PURE__ */ defineComponent({
26140
- ...__default__$X,
26138
+ ...__default__$Y,
26141
26139
  setup(__props) {
26142
26140
  const ns = useNamespace("main");
26143
26141
  return (_ctx, _cache) => {
@@ -28693,11 +28691,11 @@ const _hoisted_1$G = ["onClick"];
28693
28691
  const _hoisted_2$p = ["disabled"];
28694
28692
  const _hoisted_3$a = ["disabled"];
28695
28693
  const unit = "year";
28696
- const __default__$W = defineComponent({
28694
+ const __default__$X = defineComponent({
28697
28695
  name: "DatePickerMonthRange"
28698
28696
  });
28699
28697
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
28700
- ...__default__$W,
28698
+ ...__default__$X,
28701
28699
  props: panelMonthRangeProps,
28702
28700
  emits: panelMonthRangeEmits,
28703
28701
  setup(__props, { emit }) {
@@ -29080,11 +29078,11 @@ const descriptionsRowProps = buildProps({
29080
29078
  });
29081
29079
 
29082
29080
  const _hoisted_1$F = { key: 1 };
29083
- const __default__$V = defineComponent({
29081
+ const __default__$W = defineComponent({
29084
29082
  name: "ElDescriptionsRow"
29085
29083
  });
29086
29084
  const _sfc_main$1k = /* @__PURE__ */ defineComponent({
29087
- ...__default__$V,
29085
+ ...__default__$W,
29088
29086
  props: descriptionsRowProps,
29089
29087
  setup(__props) {
29090
29088
  const descriptions = inject(descriptionsKey, {});
@@ -29165,11 +29163,11 @@ const descriptionProps = buildProps({
29165
29163
  }
29166
29164
  });
29167
29165
 
29168
- const __default__$U = defineComponent({
29166
+ const __default__$V = defineComponent({
29169
29167
  name: "ElDescriptions"
29170
29168
  });
29171
29169
  const _sfc_main$1j = /* @__PURE__ */ defineComponent({
29172
- ...__default__$U,
29170
+ ...__default__$V,
29173
29171
  props: descriptionProps,
29174
29172
  setup(__props) {
29175
29173
  const props = __props;
@@ -29409,9 +29407,9 @@ const dialogContentEmits = {
29409
29407
  const _hoisted_1$E = ["aria-level"];
29410
29408
  const _hoisted_2$o = ["aria-label"];
29411
29409
  const _hoisted_3$9 = ["id"];
29412
- const __default__$T = defineComponent({ name: "ElDialogContent" });
29410
+ const __default__$U = defineComponent({ name: "ElDialogContent" });
29413
29411
  const _sfc_main$1i = /* @__PURE__ */ defineComponent({
29414
- ...__default__$T,
29412
+ ...__default__$U,
29415
29413
  props: dialogContentProps,
29416
29414
  emits: dialogContentEmits,
29417
29415
  setup(__props) {
@@ -29720,12 +29718,12 @@ const useDialog = (props, targetRef) => {
29720
29718
  };
29721
29719
 
29722
29720
  const _hoisted_1$D = ["aria-label", "aria-labelledby", "aria-describedby"];
29723
- const __default__$S = defineComponent({
29721
+ const __default__$T = defineComponent({
29724
29722
  name: "ElDialog",
29725
29723
  inheritAttrs: false
29726
29724
  });
29727
29725
  const _sfc_main$1h = /* @__PURE__ */ defineComponent({
29728
- ...__default__$S,
29726
+ ...__default__$T,
29729
29727
  props: dialogProps,
29730
29728
  emits: dialogEmits,
29731
29729
  setup(__props, { expose }) {
@@ -29897,11 +29895,11 @@ const dividerProps = buildProps({
29897
29895
  }
29898
29896
  });
29899
29897
 
29900
- const __default__$R = defineComponent({
29898
+ const __default__$S = defineComponent({
29901
29899
  name: "ElDivider"
29902
29900
  });
29903
29901
  const _sfc_main$1g = /* @__PURE__ */ defineComponent({
29904
- ...__default__$R,
29902
+ ...__default__$S,
29905
29903
  props: dividerProps,
29906
29904
  setup(__props) {
29907
29905
  const props = __props;
@@ -29957,18 +29955,21 @@ const drawerProps = buildProps({
29957
29955
  });
29958
29956
  const drawerEmits = dialogEmits;
29959
29957
 
29960
- const _sfc_main$1f = defineComponent({
29958
+ const _hoisted_1$C = ["aria-label", "aria-labelledby", "aria-describedby"];
29959
+ const _hoisted_2$n = ["id", "aria-level"];
29960
+ const _hoisted_3$8 = ["aria-label"];
29961
+ const _hoisted_4$6 = ["id"];
29962
+ const __default__$R = defineComponent({
29961
29963
  name: "ElDrawer",
29962
- components: {
29963
- ElOverlay,
29964
- ElFocusTrap,
29965
- ElIcon,
29966
- Close: close_default
29967
- },
29968
- inheritAttrs: false,
29964
+ inheritAttrs: false
29965
+ });
29966
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
29967
+ ...__default__$R,
29969
29968
  props: drawerProps,
29970
29969
  emits: drawerEmits,
29971
- setup(props, { slots }) {
29970
+ setup(__props, { expose }) {
29971
+ const props = __props;
29972
+ const slots = useSlots();
29972
29973
  useDeprecated({
29973
29974
  scope: "el-drawer",
29974
29975
  from: "the title slot",
@@ -29988,138 +29989,140 @@ const _sfc_main$1f = defineComponent({
29988
29989
  const focusStartRef = ref();
29989
29990
  const ns = useNamespace("drawer");
29990
29991
  const { t } = useLocale();
29992
+ const {
29993
+ afterEnter,
29994
+ afterLeave,
29995
+ beforeLeave,
29996
+ visible,
29997
+ rendered,
29998
+ titleId,
29999
+ bodyId,
30000
+ onModalClick,
30001
+ onCloseRequested,
30002
+ handleClose
30003
+ } = useDialog(props, drawerRef);
29991
30004
  const isHorizontal = computed$1(() => props.direction === "rtl" || props.direction === "ltr");
29992
30005
  const drawerSize = computed$1(() => addUnit(props.size));
29993
- return {
29994
- ...useDialog(props, drawerRef),
29995
- drawerRef,
29996
- focusStartRef,
29997
- isHorizontal,
29998
- drawerSize,
29999
- ns,
30000
- t
30001
- };
30002
- }
30003
- });
30004
- const _hoisted_1$C = ["aria-label", "aria-labelledby", "aria-describedby"];
30005
- const _hoisted_2$n = ["id", "aria-level"];
30006
- const _hoisted_3$8 = ["aria-label"];
30007
- const _hoisted_4$6 = ["id"];
30008
- function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
30009
- const _component_close = resolveComponent("close");
30010
- const _component_el_icon = resolveComponent("el-icon");
30011
- const _component_el_focus_trap = resolveComponent("el-focus-trap");
30012
- const _component_el_overlay = resolveComponent("el-overlay");
30013
- return openBlock(), createBlock(Teleport, {
30014
- to: "body",
30015
- disabled: !_ctx.appendToBody
30016
- }, [
30017
- createVNode(Transition, {
30018
- name: _ctx.ns.b("fade"),
30019
- onAfterEnter: _ctx.afterEnter,
30020
- onAfterLeave: _ctx.afterLeave,
30021
- onBeforeLeave: _ctx.beforeLeave,
30022
- persisted: ""
30023
- }, {
30024
- default: withCtx(() => [
30025
- withDirectives(createVNode(_component_el_overlay, {
30026
- mask: _ctx.modal,
30027
- "overlay-class": _ctx.modalClass,
30028
- "z-index": _ctx.zIndex,
30029
- onClick: _ctx.onModalClick
30006
+ expose({
30007
+ handleClose,
30008
+ afterEnter,
30009
+ afterLeave
30010
+ });
30011
+ return (_ctx, _cache) => {
30012
+ return openBlock(), createBlock(Teleport, {
30013
+ to: "body",
30014
+ disabled: !_ctx.appendToBody
30015
+ }, [
30016
+ createVNode(Transition, {
30017
+ name: unref(ns).b("fade"),
30018
+ onAfterEnter: unref(afterEnter),
30019
+ onAfterLeave: unref(afterLeave),
30020
+ onBeforeLeave: unref(beforeLeave),
30021
+ persisted: ""
30030
30022
  }, {
30031
30023
  default: withCtx(() => [
30032
- createVNode(_component_el_focus_trap, {
30033
- loop: "",
30034
- trapped: _ctx.visible,
30035
- "focus-trap-el": _ctx.drawerRef,
30036
- "focus-start-el": _ctx.focusStartRef,
30037
- onReleaseRequested: _ctx.onCloseRequested
30024
+ withDirectives(createVNode(unref(ElOverlay), {
30025
+ mask: _ctx.modal,
30026
+ "overlay-class": _ctx.modalClass,
30027
+ "z-index": _ctx.zIndex,
30028
+ onClick: unref(onModalClick)
30038
30029
  }, {
30039
30030
  default: withCtx(() => [
30040
- createElementVNode("div", mergeProps({
30041
- ref: "drawerRef",
30042
- "aria-modal": "true",
30043
- "aria-label": _ctx.title || void 0,
30044
- "aria-labelledby": !_ctx.title ? _ctx.titleId : void 0,
30045
- "aria-describedby": _ctx.bodyId
30046
- }, _ctx.$attrs, {
30047
- class: [_ctx.ns.b(), _ctx.direction, _ctx.visible && "open", _ctx.customClass],
30048
- style: _ctx.isHorizontal ? "width: " + _ctx.drawerSize : "height: " + _ctx.drawerSize,
30049
- role: "dialog",
30050
- onClick: _cache[1] || (_cache[1] = withModifiers(() => {
30051
- }, ["stop"]))
30052
- }), [
30053
- createElementVNode("span", {
30054
- ref: "focusStartRef",
30055
- class: normalizeClass(_ctx.ns.e("sr-focus")),
30056
- tabindex: "-1"
30057
- }, null, 2),
30058
- _ctx.withHeader ? (openBlock(), createElementBlock("header", {
30059
- key: 0,
30060
- class: normalizeClass(_ctx.ns.e("header"))
30061
- }, [
30062
- !_ctx.$slots.title ? renderSlot(_ctx.$slots, "header", {
30063
- key: 0,
30064
- close: _ctx.handleClose,
30065
- titleId: _ctx.titleId,
30066
- titleClass: _ctx.ns.e("title")
30067
- }, () => [
30068
- !_ctx.$slots.title ? (openBlock(), createElementBlock("span", {
30031
+ createVNode(unref(ElFocusTrap), {
30032
+ loop: "",
30033
+ trapped: unref(visible),
30034
+ "focus-trap-el": drawerRef.value,
30035
+ "focus-start-el": focusStartRef.value,
30036
+ onReleaseRequested: unref(onCloseRequested)
30037
+ }, {
30038
+ default: withCtx(() => [
30039
+ createElementVNode("div", mergeProps({
30040
+ ref_key: "drawerRef",
30041
+ ref: drawerRef,
30042
+ "aria-modal": "true",
30043
+ "aria-label": _ctx.title || void 0,
30044
+ "aria-labelledby": !_ctx.title ? unref(titleId) : void 0,
30045
+ "aria-describedby": unref(bodyId)
30046
+ }, _ctx.$attrs, {
30047
+ class: [unref(ns).b(), _ctx.direction, unref(visible) && "open", _ctx.customClass],
30048
+ style: unref(isHorizontal) ? "width: " + unref(drawerSize) : "height: " + unref(drawerSize),
30049
+ role: "dialog",
30050
+ onClick: _cache[1] || (_cache[1] = withModifiers(() => {
30051
+ }, ["stop"]))
30052
+ }), [
30053
+ createElementVNode("span", {
30054
+ ref_key: "focusStartRef",
30055
+ ref: focusStartRef,
30056
+ class: normalizeClass(unref(ns).e("sr-focus")),
30057
+ tabindex: "-1"
30058
+ }, null, 2),
30059
+ _ctx.withHeader ? (openBlock(), createElementBlock("header", {
30069
30060
  key: 0,
30070
- id: _ctx.titleId,
30071
- role: "heading",
30072
- "aria-level": _ctx.headerAriaLevel,
30073
- class: normalizeClass(_ctx.ns.e("title"))
30074
- }, toDisplayString(_ctx.title), 11, _hoisted_2$n)) : createCommentVNode("v-if", true)
30075
- ]) : renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
30076
- createCommentVNode(" DEPRECATED SLOT ")
30077
- ]),
30078
- _ctx.showClose ? (openBlock(), createElementBlock("button", {
30079
- key: 2,
30080
- "aria-label": _ctx.t("el.drawer.close"),
30081
- class: normalizeClass(_ctx.ns.e("close-btn")),
30082
- type: "button",
30083
- onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClose && _ctx.handleClose(...args))
30084
- }, [
30085
- createVNode(_component_el_icon, {
30086
- class: normalizeClass(_ctx.ns.e("close"))
30087
- }, {
30088
- default: withCtx(() => [
30089
- createVNode(_component_close)
30061
+ class: normalizeClass(unref(ns).e("header"))
30062
+ }, [
30063
+ !_ctx.$slots.title ? renderSlot(_ctx.$slots, "header", {
30064
+ key: 0,
30065
+ close: unref(handleClose),
30066
+ titleId: unref(titleId),
30067
+ titleClass: unref(ns).e("title")
30068
+ }, () => [
30069
+ !_ctx.$slots.title ? (openBlock(), createElementBlock("span", {
30070
+ key: 0,
30071
+ id: unref(titleId),
30072
+ role: "heading",
30073
+ "aria-level": _ctx.headerAriaLevel,
30074
+ class: normalizeClass(unref(ns).e("title"))
30075
+ }, toDisplayString(_ctx.title), 11, _hoisted_2$n)) : createCommentVNode("v-if", true)
30076
+ ]) : renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
30077
+ createCommentVNode(" DEPRECATED SLOT ")
30090
30078
  ]),
30091
- _: 1
30092
- }, 8, ["class"])
30093
- ], 10, _hoisted_3$8)) : createCommentVNode("v-if", true)
30094
- ], 2)) : createCommentVNode("v-if", true),
30095
- _ctx.rendered ? (openBlock(), createElementBlock("div", {
30096
- key: 1,
30097
- id: _ctx.bodyId,
30098
- class: normalizeClass(_ctx.ns.e("body"))
30099
- }, [
30100
- renderSlot(_ctx.$slots, "default")
30101
- ], 10, _hoisted_4$6)) : createCommentVNode("v-if", true),
30102
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
30103
- key: 2,
30104
- class: normalizeClass(_ctx.ns.e("footer"))
30105
- }, [
30106
- renderSlot(_ctx.$slots, "footer")
30107
- ], 2)) : createCommentVNode("v-if", true)
30108
- ], 16, _hoisted_1$C)
30079
+ _ctx.showClose ? (openBlock(), createElementBlock("button", {
30080
+ key: 2,
30081
+ "aria-label": unref(t)("el.drawer.close"),
30082
+ class: normalizeClass(unref(ns).e("close-btn")),
30083
+ type: "button",
30084
+ onClick: _cache[0] || (_cache[0] = (...args) => unref(handleClose) && unref(handleClose)(...args))
30085
+ }, [
30086
+ createVNode(unref(ElIcon), {
30087
+ class: normalizeClass(unref(ns).e("close"))
30088
+ }, {
30089
+ default: withCtx(() => [
30090
+ createVNode(unref(close_default))
30091
+ ]),
30092
+ _: 1
30093
+ }, 8, ["class"])
30094
+ ], 10, _hoisted_3$8)) : createCommentVNode("v-if", true)
30095
+ ], 2)) : createCommentVNode("v-if", true),
30096
+ unref(rendered) ? (openBlock(), createElementBlock("div", {
30097
+ key: 1,
30098
+ id: unref(bodyId),
30099
+ class: normalizeClass(unref(ns).e("body"))
30100
+ }, [
30101
+ renderSlot(_ctx.$slots, "default")
30102
+ ], 10, _hoisted_4$6)) : createCommentVNode("v-if", true),
30103
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
30104
+ key: 2,
30105
+ class: normalizeClass(unref(ns).e("footer"))
30106
+ }, [
30107
+ renderSlot(_ctx.$slots, "footer")
30108
+ ], 2)) : createCommentVNode("v-if", true)
30109
+ ], 16, _hoisted_1$C)
30110
+ ]),
30111
+ _: 3
30112
+ }, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
30109
30113
  ]),
30110
30114
  _: 3
30111
- }, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
30115
+ }, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
30116
+ [vShow, unref(visible)]
30117
+ ])
30112
30118
  ]),
30113
30119
  _: 3
30114
- }, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
30115
- [vShow, _ctx.visible]
30116
- ])
30117
- ]),
30118
- _: 3
30119
- }, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
30120
- ], 8, ["disabled"]);
30121
- }
30122
- var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$o], ["__file", "drawer.vue"]]);
30120
+ }, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
30121
+ ], 8, ["disabled"]);
30122
+ };
30123
+ }
30124
+ });
30125
+ var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__file", "drawer.vue"]]);
30123
30126
 
30124
30127
  const ElDrawer = withInstall(Drawer);
30125
30128
 
@@ -34822,9 +34825,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34822
34825
  return withDirectives((openBlock(), createElementBlock("div", {
34823
34826
  ref: "selectRef",
34824
34827
  class: normalizeClass([_ctx.nsSelect.b(), _ctx.nsSelect.m(_ctx.selectSize)]),
34825
- onMouseenter: _cache[15] || (_cache[15] = ($event) => _ctx.states.inputHovering = true),
34826
- onMouseleave: _cache[16] || (_cache[16] = ($event) => _ctx.states.inputHovering = false),
34827
- onClick: _cache[17] || (_cache[17] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
34828
+ onMouseenter: _cache[14] || (_cache[14] = ($event) => _ctx.states.inputHovering = true),
34829
+ onMouseleave: _cache[15] || (_cache[15] = ($event) => _ctx.states.inputHovering = false),
34830
+ onClick: _cache[16] || (_cache[16] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
34828
34831
  }, [
34829
34832
  createVNode(_component_el_tooltip, {
34830
34833
  ref: "tooltipRef",
@@ -34842,7 +34845,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34842
34845
  "gpu-acceleration": false,
34843
34846
  persistent: _ctx.persistent,
34844
34847
  onBeforeShow: _ctx.handleMenuEnter,
34845
- onHide: _cache[14] || (_cache[14] = ($event) => _ctx.states.isBeforeHide = false)
34848
+ onHide: _cache[13] || (_cache[13] = ($event) => _ctx.states.isBeforeHide = false)
34846
34849
  }, {
34847
34850
  default: withCtx(() => {
34848
34851
  var _a;
@@ -34985,18 +34988,17 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34985
34988
  onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
34986
34989
  onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
34987
34990
  onKeydown: [
34988
- _cache[3] || (_cache[3] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["prevent"]), ["down"])),
34989
- _cache[4] || (_cache[4] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["prevent"]), ["up"])),
34990
- _cache[5] || (_cache[5] = withKeys((...args) => _ctx.handleEsc && _ctx.handleEsc(...args), ["esc"])),
34991
+ _cache[3] || (_cache[3] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
34992
+ _cache[4] || (_cache[4] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
34993
+ _cache[5] || (_cache[5] = withKeys(withModifiers((...args) => _ctx.handleEsc && _ctx.handleEsc(...args), ["stop", "prevent"]), ["esc"])),
34991
34994
  _cache[6] || (_cache[6] = withKeys(withModifiers((...args) => _ctx.selectOption && _ctx.selectOption(...args), ["stop", "prevent"]), ["enter"])),
34992
- _cache[7] || (_cache[7] = withKeys(withModifiers((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["stop"]), ["delete"])),
34993
- _cache[8] || (_cache[8] = withKeys(($event) => _ctx.expanded = false, ["tab"]))
34995
+ _cache[7] || (_cache[7] = withKeys(withModifiers((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["stop", "prevent"]), ["delete"]))
34994
34996
  ],
34995
- onCompositionstart: _cache[9] || (_cache[9] = (...args) => _ctx.handleCompositionStart && _ctx.handleCompositionStart(...args)),
34996
- onCompositionupdate: _cache[10] || (_cache[10] = (...args) => _ctx.handleCompositionUpdate && _ctx.handleCompositionUpdate(...args)),
34997
- onCompositionend: _cache[11] || (_cache[11] = (...args) => _ctx.handleCompositionEnd && _ctx.handleCompositionEnd(...args)),
34998
- onInput: _cache[12] || (_cache[12] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
34999
- onClick: _cache[13] || (_cache[13] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
34997
+ onCompositionstart: _cache[8] || (_cache[8] = (...args) => _ctx.handleCompositionStart && _ctx.handleCompositionStart(...args)),
34998
+ onCompositionupdate: _cache[9] || (_cache[9] = (...args) => _ctx.handleCompositionUpdate && _ctx.handleCompositionUpdate(...args)),
34999
+ onCompositionend: _cache[10] || (_cache[10] = (...args) => _ctx.handleCompositionEnd && _ctx.handleCompositionEnd(...args)),
35000
+ onInput: _cache[11] || (_cache[11] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
35001
+ onClick: _cache[12] || (_cache[12] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
35000
35002
  }, null, 46, _hoisted_1$p), [
35001
35003
  [vModelText, _ctx.states.inputValue]
35002
35004
  ]),
@@ -39100,7 +39102,7 @@ var ElSelectMenu = defineComponent({
39100
39102
  }
39101
39103
  };
39102
39104
  return () => {
39103
- var _a;
39105
+ var _a, _b, _c;
39104
39106
  const {
39105
39107
  data,
39106
39108
  width
@@ -39121,7 +39123,7 @@ var ElSelectMenu = defineComponent({
39121
39123
  const List = unref(isSized) ? FixedSizeList$1 : DynamicSizeList$1;
39122
39124
  return createVNode("div", {
39123
39125
  "class": [ns.b("dropdown"), ns.is("multiple", multiple)]
39124
- }, [createVNode(List, mergeProps({
39126
+ }, [(_b = slots.header) == null ? void 0 : _b.call(slots), createVNode(List, mergeProps({
39125
39127
  "ref": listRef
39126
39128
  }, unref(listProps), {
39127
39129
  "className": ns.be("dropdown", "list"),
@@ -39133,7 +39135,7 @@ var ElSelectMenu = defineComponent({
39133
39135
  "onKeydown": onKeydown
39134
39136
  }), {
39135
39137
  default: (props2) => createVNode(Item, props2, null)
39136
- })]);
39138
+ }), (_c = slots.footer) == null ? void 0 : _c.call(slots)]);
39137
39139
  };
39138
39140
  }
39139
39141
  });
@@ -39780,6 +39782,22 @@ const useSelect$1 = (props, emit) => {
39780
39782
  return;
39781
39783
  updateOptions();
39782
39784
  });
39785
+ watchEffect(() => {
39786
+ const { valueKey, options } = props;
39787
+ const duplicateValue = /* @__PURE__ */ new Map();
39788
+ for (const item of options) {
39789
+ const optionValue = getValue(item);
39790
+ let v = optionValue;
39791
+ if (isObject$1(v)) {
39792
+ v = get(optionValue, valueKey);
39793
+ }
39794
+ if (duplicateValue.get(v)) {
39795
+ break;
39796
+ } else {
39797
+ duplicateValue.set(v, true);
39798
+ }
39799
+ }
39800
+ });
39783
39801
  onMounted(() => {
39784
39802
  initStates();
39785
39803
  });
@@ -39918,7 +39936,7 @@ const _sfc_main$G = defineComponent({
39918
39936
  };
39919
39937
  }
39920
39938
  });
39921
- const _hoisted_1$i = ["id", "autocomplete", "aria-expanded", "aria-label", "disabled", "readonly", "name", "unselectable"];
39939
+ const _hoisted_1$i = ["id", "autocomplete", "aria-expanded", "aria-label", "disabled", "readonly", "name"];
39922
39940
  const _hoisted_2$c = ["textContent"];
39923
39941
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
39924
39942
  const _component_el_tag = resolveComponent("el-tag");
@@ -40087,7 +40105,6 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40087
40105
  spellcheck: "false",
40088
40106
  type: "text",
40089
40107
  name: _ctx.name,
40090
- unselectable: _ctx.expanded ? "on" : void 0,
40091
40108
  onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
40092
40109
  onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
40093
40110
  onInput: _cache[3] || (_cache[3] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
@@ -40099,7 +40116,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40099
40116
  _cache[8] || (_cache[8] = withKeys(withModifiers(($event) => _ctx.onKeyboardNavigate("forward"), ["stop", "prevent"]), ["down"])),
40100
40117
  _cache[9] || (_cache[9] = withKeys(withModifiers((...args) => _ctx.onKeyboardSelect && _ctx.onKeyboardSelect(...args), ["stop", "prevent"]), ["enter"])),
40101
40118
  _cache[10] || (_cache[10] = withKeys(withModifiers((...args) => _ctx.handleEsc && _ctx.handleEsc(...args), ["stop", "prevent"]), ["esc"])),
40102
- _cache[11] || (_cache[11] = withKeys(withModifiers((...args) => _ctx.handleDel && _ctx.handleDel(...args), ["stop"]), ["delete"]))
40119
+ _cache[11] || (_cache[11] = withKeys(withModifiers((...args) => _ctx.handleDel && _ctx.handleDel(...args), ["stop", "prevent"]), ["delete"]))
40103
40120
  ],
40104
40121
  onClick: _cache[12] || (_cache[12] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
40105
40122
  }, null, 46, _hoisted_1$i), [
@@ -40168,7 +40185,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40168
40185
  width: _ctx.popperSize,
40169
40186
  "hovering-index": _ctx.states.hoveringIndex,
40170
40187
  "scrollbar-always-on": _ctx.scrollbarAlwaysOn
40171
- }, {
40188
+ }, createSlots({
40172
40189
  default: withCtx((scope) => [
40173
40190
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(scope)))
40174
40191
  ]),
@@ -40179,8 +40196,29 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40179
40196
  }, toDisplayString(_ctx.emptyText ? _ctx.emptyText : ""), 3)
40180
40197
  ])
40181
40198
  ]),
40182
- _: 3
40183
- }, 8, ["data", "width", "hovering-index", "scrollbar-always-on"])
40199
+ _: 2
40200
+ }, [
40201
+ _ctx.$slots.header ? {
40202
+ name: "header",
40203
+ fn: withCtx(() => [
40204
+ createElementVNode("div", {
40205
+ class: normalizeClass(_ctx.nsSelect.be("dropdown", "header"))
40206
+ }, [
40207
+ renderSlot(_ctx.$slots, "header")
40208
+ ], 2)
40209
+ ])
40210
+ } : void 0,
40211
+ _ctx.$slots.footer ? {
40212
+ name: "footer",
40213
+ fn: withCtx(() => [
40214
+ createElementVNode("div", {
40215
+ class: normalizeClass(_ctx.nsSelect.be("dropdown", "footer"))
40216
+ }, [
40217
+ renderSlot(_ctx.$slots, "footer")
40218
+ ], 2)
40219
+ ])
40220
+ } : void 0
40221
+ ]), 1032, ["data", "width", "hovering-index", "scrollbar-always-on"])
40184
40222
  ]),
40185
40223
  _: 3
40186
40224
  }, 8, ["visible", "teleported", "popper-class", "popper-options", "effect", "placement", "transition", "persistent", "onBeforeShow"])
@@ -51486,10 +51524,19 @@ class TreeStore {
51486
51524
  }
51487
51525
  }
51488
51526
  _setCheckedKeys(key, leafOnly = false, checkedKeys) {
51489
- const allNodes = this._getAllNodes().sort((a, b) => b.level - a.level);
51527
+ const allNodes = this._getAllNodes().sort((a, b) => a.level - b.level);
51490
51528
  const cache = /* @__PURE__ */ Object.create(null);
51491
51529
  const keys = Object.keys(checkedKeys);
51492
51530
  allNodes.forEach((node) => node.setChecked(false, false));
51531
+ const cacheCheckedChild = (node) => {
51532
+ node.childNodes.forEach((child) => {
51533
+ var _a;
51534
+ cache[child.data[key]] = true;
51535
+ if ((_a = child.childNodes) == null ? void 0 : _a.length) {
51536
+ cacheCheckedChild(child);
51537
+ }
51538
+ });
51539
+ };
51493
51540
  for (let i = 0, j = allNodes.length; i < j; i++) {
51494
51541
  const node = allNodes[i];
51495
51542
  const nodeKey = node.data[key].toString();
@@ -51500,10 +51547,8 @@ class TreeStore {
51500
51547
  }
51501
51548
  continue;
51502
51549
  }
51503
- let parent = node.parent;
51504
- while (parent && parent.level > 0) {
51505
- cache[parent.data[key]] = true;
51506
- parent = parent.parent;
51550
+ if (node.childNodes.length) {
51551
+ cacheCheckedChild(node);
51507
51552
  }
51508
51553
  if (node.isLeaf || this.checkStrictly) {
51509
51554
  node.setChecked(true, false);