element-plus 2.3.8 → 2.3.10

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 (605) hide show
  1. package/README.md +5 -8
  2. package/attributes.json +1 -1
  3. package/dist/index.css +1 -1
  4. package/dist/index.full.js +300 -224
  5. package/dist/index.full.min.js +21 -21
  6. package/dist/index.full.min.js.map +1 -1
  7. package/dist/index.full.min.mjs +21 -21
  8. package/dist/index.full.min.mjs.map +1 -1
  9. package/dist/index.full.mjs +300 -224
  10. package/dist/locale/af.js +1 -1
  11. package/dist/locale/af.min.js +1 -1
  12. package/dist/locale/af.min.mjs +1 -1
  13. package/dist/locale/af.mjs +1 -1
  14. package/dist/locale/ar.js +1 -1
  15. package/dist/locale/ar.min.js +1 -1
  16. package/dist/locale/ar.min.mjs +1 -1
  17. package/dist/locale/ar.mjs +1 -1
  18. package/dist/locale/az.js +1 -1
  19. package/dist/locale/az.min.js +1 -1
  20. package/dist/locale/az.min.mjs +1 -1
  21. package/dist/locale/az.mjs +1 -1
  22. package/dist/locale/bg.js +1 -1
  23. package/dist/locale/bg.min.js +1 -1
  24. package/dist/locale/bg.min.mjs +1 -1
  25. package/dist/locale/bg.mjs +1 -1
  26. package/dist/locale/bn.js +1 -1
  27. package/dist/locale/bn.min.js +1 -1
  28. package/dist/locale/bn.min.mjs +1 -1
  29. package/dist/locale/bn.mjs +1 -1
  30. package/dist/locale/ca.js +1 -1
  31. package/dist/locale/ca.min.js +1 -1
  32. package/dist/locale/ca.min.mjs +1 -1
  33. package/dist/locale/ca.mjs +1 -1
  34. package/dist/locale/ckb.js +1 -1
  35. package/dist/locale/ckb.min.js +1 -1
  36. package/dist/locale/ckb.min.mjs +1 -1
  37. package/dist/locale/ckb.mjs +1 -1
  38. package/dist/locale/cs.js +1 -1
  39. package/dist/locale/cs.min.js +1 -1
  40. package/dist/locale/cs.min.mjs +1 -1
  41. package/dist/locale/cs.mjs +1 -1
  42. package/dist/locale/da.js +1 -1
  43. package/dist/locale/da.min.js +1 -1
  44. package/dist/locale/da.min.mjs +1 -1
  45. package/dist/locale/da.mjs +1 -1
  46. package/dist/locale/de.js +1 -1
  47. package/dist/locale/de.min.js +1 -1
  48. package/dist/locale/de.min.mjs +1 -1
  49. package/dist/locale/de.mjs +1 -1
  50. package/dist/locale/el.js +1 -1
  51. package/dist/locale/el.min.js +1 -1
  52. package/dist/locale/el.min.mjs +1 -1
  53. package/dist/locale/el.mjs +1 -1
  54. package/dist/locale/en.js +1 -1
  55. package/dist/locale/en.min.js +1 -1
  56. package/dist/locale/en.min.mjs +1 -1
  57. package/dist/locale/en.mjs +1 -1
  58. package/dist/locale/eo.js +1 -1
  59. package/dist/locale/eo.min.js +1 -1
  60. package/dist/locale/eo.min.mjs +1 -1
  61. package/dist/locale/eo.mjs +1 -1
  62. package/dist/locale/es.js +1 -1
  63. package/dist/locale/es.min.js +1 -1
  64. package/dist/locale/es.min.mjs +1 -1
  65. package/dist/locale/es.mjs +1 -1
  66. package/dist/locale/et.js +1 -1
  67. package/dist/locale/et.min.js +1 -1
  68. package/dist/locale/et.min.mjs +1 -1
  69. package/dist/locale/et.mjs +1 -1
  70. package/dist/locale/eu.js +1 -1
  71. package/dist/locale/eu.min.js +1 -1
  72. package/dist/locale/eu.min.mjs +1 -1
  73. package/dist/locale/eu.mjs +1 -1
  74. package/dist/locale/fa.js +1 -1
  75. package/dist/locale/fa.min.js +1 -1
  76. package/dist/locale/fa.min.mjs +1 -1
  77. package/dist/locale/fa.mjs +1 -1
  78. package/dist/locale/fi.js +1 -1
  79. package/dist/locale/fi.min.js +1 -1
  80. package/dist/locale/fi.min.mjs +1 -1
  81. package/dist/locale/fi.mjs +1 -1
  82. package/dist/locale/fr.js +1 -1
  83. package/dist/locale/fr.min.js +1 -1
  84. package/dist/locale/fr.min.mjs +1 -1
  85. package/dist/locale/fr.mjs +1 -1
  86. package/dist/locale/he.js +1 -1
  87. package/dist/locale/he.min.js +1 -1
  88. package/dist/locale/he.min.mjs +1 -1
  89. package/dist/locale/he.mjs +1 -1
  90. package/dist/locale/hr.js +1 -1
  91. package/dist/locale/hr.min.js +1 -1
  92. package/dist/locale/hr.min.mjs +1 -1
  93. package/dist/locale/hr.mjs +1 -1
  94. package/dist/locale/hu.js +1 -1
  95. package/dist/locale/hu.min.js +1 -1
  96. package/dist/locale/hu.min.mjs +1 -1
  97. package/dist/locale/hu.mjs +1 -1
  98. package/dist/locale/hy-am.js +1 -1
  99. package/dist/locale/hy-am.min.js +1 -1
  100. package/dist/locale/hy-am.min.mjs +1 -1
  101. package/dist/locale/hy-am.mjs +1 -1
  102. package/dist/locale/id.js +1 -1
  103. package/dist/locale/id.min.js +1 -1
  104. package/dist/locale/id.min.mjs +1 -1
  105. package/dist/locale/id.mjs +1 -1
  106. package/dist/locale/it.js +1 -1
  107. package/dist/locale/it.min.js +1 -1
  108. package/dist/locale/it.min.mjs +1 -1
  109. package/dist/locale/it.mjs +1 -1
  110. package/dist/locale/ja.js +1 -1
  111. package/dist/locale/ja.min.js +1 -1
  112. package/dist/locale/ja.min.mjs +1 -1
  113. package/dist/locale/ja.mjs +1 -1
  114. package/dist/locale/kk.js +1 -1
  115. package/dist/locale/kk.min.js +1 -1
  116. package/dist/locale/kk.min.mjs +1 -1
  117. package/dist/locale/kk.mjs +1 -1
  118. package/dist/locale/km.js +1 -1
  119. package/dist/locale/km.min.js +1 -1
  120. package/dist/locale/km.min.mjs +1 -1
  121. package/dist/locale/km.mjs +1 -1
  122. package/dist/locale/ko.js +1 -1
  123. package/dist/locale/ko.min.js +1 -1
  124. package/dist/locale/ko.min.mjs +1 -1
  125. package/dist/locale/ko.mjs +1 -1
  126. package/dist/locale/ku.js +1 -1
  127. package/dist/locale/ku.min.js +1 -1
  128. package/dist/locale/ku.min.mjs +1 -1
  129. package/dist/locale/ku.mjs +1 -1
  130. package/dist/locale/ky.js +1 -1
  131. package/dist/locale/ky.min.js +1 -1
  132. package/dist/locale/ky.min.mjs +1 -1
  133. package/dist/locale/ky.mjs +1 -1
  134. package/dist/locale/lt.js +1 -1
  135. package/dist/locale/lt.min.js +1 -1
  136. package/dist/locale/lt.min.mjs +1 -1
  137. package/dist/locale/lt.mjs +1 -1
  138. package/dist/locale/lv.js +1 -1
  139. package/dist/locale/lv.min.js +1 -1
  140. package/dist/locale/lv.min.mjs +1 -1
  141. package/dist/locale/lv.mjs +1 -1
  142. package/dist/locale/mg.js +1 -1
  143. package/dist/locale/mg.min.js +1 -1
  144. package/dist/locale/mg.min.mjs +1 -1
  145. package/dist/locale/mg.mjs +1 -1
  146. package/dist/locale/mn.js +1 -1
  147. package/dist/locale/mn.min.js +1 -1
  148. package/dist/locale/mn.min.mjs +1 -1
  149. package/dist/locale/mn.mjs +1 -1
  150. package/dist/locale/nb-no.js +1 -1
  151. package/dist/locale/nb-no.min.js +1 -1
  152. package/dist/locale/nb-no.min.mjs +1 -1
  153. package/dist/locale/nb-no.mjs +1 -1
  154. package/dist/locale/nl.js +1 -1
  155. package/dist/locale/nl.min.js +1 -1
  156. package/dist/locale/nl.min.mjs +1 -1
  157. package/dist/locale/nl.mjs +1 -1
  158. package/dist/locale/pa.js +1 -1
  159. package/dist/locale/pa.min.js +1 -1
  160. package/dist/locale/pa.min.mjs +1 -1
  161. package/dist/locale/pa.mjs +1 -1
  162. package/dist/locale/pl.js +1 -1
  163. package/dist/locale/pl.min.js +1 -1
  164. package/dist/locale/pl.min.mjs +1 -1
  165. package/dist/locale/pl.mjs +1 -1
  166. package/dist/locale/pt-br.js +1 -1
  167. package/dist/locale/pt-br.min.js +1 -1
  168. package/dist/locale/pt-br.min.mjs +1 -1
  169. package/dist/locale/pt-br.mjs +1 -1
  170. package/dist/locale/pt.js +1 -1
  171. package/dist/locale/pt.min.js +1 -1
  172. package/dist/locale/pt.min.mjs +1 -1
  173. package/dist/locale/pt.mjs +1 -1
  174. package/dist/locale/ro.js +1 -1
  175. package/dist/locale/ro.min.js +1 -1
  176. package/dist/locale/ro.min.mjs +1 -1
  177. package/dist/locale/ro.mjs +1 -1
  178. package/dist/locale/ru.js +1 -1
  179. package/dist/locale/ru.min.js +1 -1
  180. package/dist/locale/ru.min.mjs +1 -1
  181. package/dist/locale/ru.mjs +1 -1
  182. package/dist/locale/sk.js +1 -1
  183. package/dist/locale/sk.min.js +1 -1
  184. package/dist/locale/sk.min.mjs +1 -1
  185. package/dist/locale/sk.mjs +1 -1
  186. package/dist/locale/sl.js +1 -1
  187. package/dist/locale/sl.min.js +1 -1
  188. package/dist/locale/sl.min.mjs +1 -1
  189. package/dist/locale/sl.mjs +1 -1
  190. package/dist/locale/sr.js +1 -1
  191. package/dist/locale/sr.min.js +1 -1
  192. package/dist/locale/sr.min.mjs +1 -1
  193. package/dist/locale/sr.mjs +1 -1
  194. package/dist/locale/sv.js +1 -1
  195. package/dist/locale/sv.min.js +1 -1
  196. package/dist/locale/sv.min.mjs +1 -1
  197. package/dist/locale/sv.mjs +1 -1
  198. package/dist/locale/ta.js +1 -1
  199. package/dist/locale/ta.min.js +1 -1
  200. package/dist/locale/ta.min.mjs +1 -1
  201. package/dist/locale/ta.mjs +1 -1
  202. package/dist/locale/th.js +1 -1
  203. package/dist/locale/th.min.js +1 -1
  204. package/dist/locale/th.min.mjs +1 -1
  205. package/dist/locale/th.mjs +1 -1
  206. package/dist/locale/tk.js +1 -1
  207. package/dist/locale/tk.min.js +1 -1
  208. package/dist/locale/tk.min.mjs +1 -1
  209. package/dist/locale/tk.mjs +1 -1
  210. package/dist/locale/tr.js +1 -1
  211. package/dist/locale/tr.min.js +1 -1
  212. package/dist/locale/tr.min.mjs +1 -1
  213. package/dist/locale/tr.mjs +1 -1
  214. package/dist/locale/ug-cn.js +1 -1
  215. package/dist/locale/ug-cn.min.js +1 -1
  216. package/dist/locale/ug-cn.min.mjs +1 -1
  217. package/dist/locale/ug-cn.mjs +1 -1
  218. package/dist/locale/uk.js +1 -1
  219. package/dist/locale/uk.min.js +1 -1
  220. package/dist/locale/uk.min.mjs +1 -1
  221. package/dist/locale/uk.mjs +1 -1
  222. package/dist/locale/uz-uz.js +1 -1
  223. package/dist/locale/uz-uz.min.js +1 -1
  224. package/dist/locale/uz-uz.min.mjs +1 -1
  225. package/dist/locale/uz-uz.mjs +1 -1
  226. package/dist/locale/vi.js +1 -1
  227. package/dist/locale/vi.min.js +1 -1
  228. package/dist/locale/vi.min.mjs +1 -1
  229. package/dist/locale/vi.mjs +1 -1
  230. package/dist/locale/zh-cn.js +1 -1
  231. package/dist/locale/zh-cn.min.js +1 -1
  232. package/dist/locale/zh-cn.min.mjs +1 -1
  233. package/dist/locale/zh-cn.mjs +1 -1
  234. package/dist/locale/zh-tw.js +1 -1
  235. package/dist/locale/zh-tw.min.js +1 -1
  236. package/dist/locale/zh-tw.min.mjs +1 -1
  237. package/dist/locale/zh-tw.mjs +1 -1
  238. package/es/components/autocomplete/index.d.ts +4 -4
  239. package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
  240. package/es/components/autocomplete/src/autocomplete.vue.d.ts +10 -11
  241. package/es/components/autocomplete/src/autocomplete2.mjs +3 -3
  242. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  243. package/es/components/breadcrumb/index.d.ts +2 -6
  244. package/es/components/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -3
  245. package/es/components/breadcrumb/src/breadcrumb-item2.mjs +5 -5
  246. package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
  247. package/es/components/card/index.d.ts +2 -0
  248. package/es/components/card/src/card.d.ts +1 -0
  249. package/es/components/card/src/card.mjs +1 -0
  250. package/es/components/card/src/card.mjs.map +1 -1
  251. package/es/components/card/src/card.vue.d.ts +2 -0
  252. package/es/components/card/src/card2.mjs +1 -1
  253. package/es/components/card/src/card2.mjs.map +1 -1
  254. package/es/components/cascader/index.d.ts +16 -6
  255. package/es/components/cascader/src/cascader.d.ts +1 -0
  256. package/es/components/cascader/src/cascader.mjs +4 -0
  257. package/es/components/cascader/src/cascader.mjs.map +1 -1
  258. package/es/components/cascader/src/cascader.vue.d.ts +8 -3
  259. package/es/components/cascader/src/cascader2.mjs +11 -4
  260. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  261. package/es/components/cascader-panel/src/index.mjs +6 -2
  262. package/es/components/cascader-panel/src/index.mjs.map +1 -1
  263. package/es/components/checkbox/src/checkbox-button.mjs +10 -6
  264. package/es/components/checkbox/src/checkbox-button.mjs.map +1 -1
  265. package/es/components/checkbox/src/checkbox2.mjs +10 -6
  266. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  267. package/es/components/collapse/index.d.ts +6 -0
  268. package/es/components/collapse/src/collapse-item.vue.d.ts +3 -0
  269. package/es/components/collapse-transition/index.d.ts +6 -0
  270. package/es/components/collapse-transition/src/collapse-transition.mjs +15 -8
  271. package/es/components/collapse-transition/src/collapse-transition.mjs.map +1 -1
  272. package/es/components/collapse-transition/src/collapse-transition.vue.d.ts +3 -0
  273. package/es/components/color-picker/index.d.ts +3 -3
  274. package/es/components/color-picker/src/color-picker.vue.d.ts +3 -3
  275. package/es/components/date-picker/index.d.ts +1 -0
  276. package/es/components/date-picker/index.mjs.map +1 -1
  277. package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +25 -6
  278. package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs.map +1 -1
  279. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +3 -1
  280. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +7 -13
  281. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
  282. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +1 -1
  283. package/es/components/date-picker/src/date-picker.mjs.map +1 -1
  284. package/es/components/date-picker/src/instance.d.ts +8 -0
  285. package/es/components/date-picker/src/instance.mjs +2 -0
  286. package/es/components/date-picker/src/instance.mjs.map +1 -0
  287. package/es/components/date-picker/src/panel-utils.d.ts +4 -2
  288. package/es/components/dialog/index.d.ts +60 -45
  289. package/es/components/dialog/src/dialog-content.d.ts +5 -4
  290. package/es/components/dialog/src/dialog-content.mjs +8 -16
  291. package/es/components/dialog/src/dialog-content.mjs.map +1 -1
  292. package/es/components/dialog/src/dialog-content.vue.d.ts +24 -17
  293. package/es/components/dialog/src/dialog-content2.mjs +16 -13
  294. package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
  295. package/es/components/dialog/src/dialog.d.ts +9 -7
  296. package/es/components/dialog/src/dialog.mjs +7 -12
  297. package/es/components/dialog/src/dialog.mjs.map +1 -1
  298. package/es/components/dialog/src/dialog.vue.d.ts +60 -45
  299. package/es/components/dialog/src/dialog2.mjs +2 -1
  300. package/es/components/dialog/src/dialog2.mjs.map +1 -1
  301. package/es/components/drawer/index.d.ts +27 -21
  302. package/es/components/drawer/src/drawer.d.ts +9 -7
  303. package/es/components/drawer/src/drawer.mjs +4 -0
  304. package/es/components/drawer/src/drawer.mjs.map +1 -1
  305. package/es/components/drawer/src/drawer.vue.d.ts +27 -21
  306. package/es/components/drawer/src/drawer2.mjs +2 -1
  307. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  308. package/es/components/dropdown/index.d.ts +2 -2
  309. package/es/components/dropdown/src/dropdown.vue.d.ts +2 -2
  310. package/es/components/dropdown/src/dropdown2.mjs +6 -6
  311. package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
  312. package/es/components/focus-trap/src/focus-trap.mjs +1 -1
  313. package/es/components/focus-trap/src/focus-trap.mjs.map +1 -1
  314. package/es/components/form/src/form-item.mjs.map +1 -1
  315. package/es/components/form/src/form-label-wrap.mjs +3 -2
  316. package/es/components/form/src/form-label-wrap.mjs.map +1 -1
  317. package/es/components/input/index.d.ts +1 -2
  318. package/es/components/input/index.mjs.map +1 -1
  319. package/es/components/input/src/input.mjs.map +1 -1
  320. package/es/components/input/src/instance.d.ts +2 -0
  321. package/es/components/input/src/instance.mjs +2 -0
  322. package/es/components/input/src/instance.mjs.map +1 -0
  323. package/es/components/input-number/src/input-number2.mjs +3 -3
  324. package/es/components/input-number/src/input-number2.mjs.map +1 -1
  325. package/es/components/menu/src/sub-menu.mjs +2 -0
  326. package/es/components/menu/src/sub-menu.mjs.map +1 -1
  327. package/es/components/pagination/src/components/sizes.vue.d.ts +27 -54
  328. package/es/components/popconfirm/index.d.ts +3 -3
  329. package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
  330. package/es/components/popover/index.d.ts +3 -3
  331. package/es/components/popover/src/popover.vue.d.ts +3 -3
  332. package/es/components/radio/src/radio-button2.mjs +5 -3
  333. package/es/components/radio/src/radio-button2.mjs.map +1 -1
  334. package/es/components/radio/src/radio2.mjs +5 -3
  335. package/es/components/radio/src/radio2.mjs.map +1 -1
  336. package/es/components/row/index.d.ts +18 -4
  337. package/es/components/row/src/row.d.ts +6 -1
  338. package/es/components/row/src/row.mjs +1 -2
  339. package/es/components/row/src/row.mjs.map +1 -1
  340. package/es/components/row/src/row.vue.d.ts +18 -4
  341. package/es/components/row/src/row2.mjs +1 -1
  342. package/es/components/row/src/row2.mjs.map +1 -1
  343. package/es/components/select/index.d.ts +29 -62
  344. package/es/components/select/src/option-group.mjs +1 -4
  345. package/es/components/select/src/option-group.mjs.map +1 -1
  346. package/es/components/select/src/option-group.vue.d.ts +14 -8
  347. package/es/components/select/src/option.mjs +1 -4
  348. package/es/components/select/src/option.mjs.map +1 -1
  349. package/es/components/select/src/option.vue.d.ts +20 -8
  350. package/es/components/select/src/select.mjs +27 -32
  351. package/es/components/select/src/select.mjs.map +1 -1
  352. package/es/components/select/src/select.vue.d.ts +360 -55
  353. package/es/components/select/src/useSelect.d.ts +11 -4
  354. package/es/components/select/src/useSelect.mjs +50 -30
  355. package/es/components/select/src/useSelect.mjs.map +1 -1
  356. package/es/components/select-v2/index.d.ts +6 -6
  357. package/es/components/select-v2/src/select.vue.d.ts +3 -3
  358. package/es/components/select-v2/src/useSelect.d.ts +2 -2
  359. package/es/components/slider/index.d.ts +5 -5
  360. package/es/components/slider/src/button.vue.d.ts +1 -1
  361. package/es/components/slider/src/composables/use-slide.d.ts +4 -4
  362. package/es/components/slider/src/slider.vue.d.ts +5 -5
  363. package/es/components/switch/index.d.ts +36 -0
  364. package/es/components/switch/src/switch.d.ts +12 -15
  365. package/es/components/switch/src/switch.mjs +6 -0
  366. package/es/components/switch/src/switch.mjs.map +1 -1
  367. package/es/components/switch/src/switch.vue.d.ts +36 -0
  368. package/es/components/switch/src/switch2.mjs +11 -1
  369. package/es/components/switch/src/switch2.mjs.map +1 -1
  370. package/es/components/table/src/config.d.ts +1 -1
  371. package/es/components/table/src/config.mjs +5 -3
  372. package/es/components/table/src/config.mjs.map +1 -1
  373. package/es/components/table/src/filter-panel.vue.d.ts +2 -2
  374. package/es/components/table/src/table-body/events-helper.mjs +10 -2
  375. package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
  376. package/es/components/table/src/table-body/index.mjs +2 -5
  377. package/es/components/table/src/table-body/index.mjs.map +1 -1
  378. package/es/components/table/src/table-body/render-helper.mjs +1 -1
  379. package/es/components/table/src/table-body/render-helper.mjs.map +1 -1
  380. package/es/components/table/src/table-column/watcher-helper.mjs +1 -0
  381. package/es/components/table/src/table-column/watcher-helper.mjs.map +1 -1
  382. package/es/components/table-v2/src/table-v2.mjs +1 -1
  383. package/es/components/table-v2/src/table-v2.mjs.map +1 -1
  384. package/es/components/time-picker/src/common/picker.mjs.map +1 -1
  385. package/es/components/time-picker/src/common/picker.vue.d.ts +4 -4
  386. package/es/components/time-select/index.d.ts +104 -200
  387. package/es/components/time-select/src/time-select.vue.d.ts +52 -100
  388. package/es/components/tooltip/index.d.ts +1 -1
  389. package/es/components/tooltip/src/tooltip.vue.d.ts +2 -4
  390. package/es/components/tooltip/src/tooltip2.mjs +3 -2
  391. package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
  392. package/es/components/transfer/src/transfer.mjs.map +1 -1
  393. package/es/components/tree/src/tree-node.mjs +1 -1
  394. package/es/components/tree/src/tree-node.mjs.map +1 -1
  395. package/es/components/tree-select/src/tree-select-option.d.ts +8 -32
  396. package/es/components/tree-v2/src/composables/useTree.mjs +1 -1
  397. package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
  398. package/es/components/upload/index.d.ts +0 -3
  399. package/es/components/upload/src/ajax.mjs +2 -1
  400. package/es/components/upload/src/ajax.mjs.map +1 -1
  401. package/es/components/upload/src/upload.d.ts +1 -1
  402. package/es/components/upload/src/upload.mjs.map +1 -1
  403. package/es/components/upload/src/upload.vue.d.ts +0 -3
  404. package/es/components/upload/src/upload2.mjs +5 -6
  405. package/es/components/upload/src/upload2.mjs.map +1 -1
  406. package/es/hooks/use-focus-controller/index.mjs +0 -1
  407. package/es/hooks/use-focus-controller/index.mjs.map +1 -1
  408. package/es/hooks/use-namespace/index.mjs +2 -2
  409. package/es/hooks/use-namespace/index.mjs.map +1 -1
  410. package/es/hooks/use-z-index/index.mjs +2 -2
  411. package/es/hooks/use-z-index/index.mjs.map +1 -1
  412. package/es/version.d.ts +1 -1
  413. package/es/version.mjs +1 -1
  414. package/es/version.mjs.map +1 -1
  415. package/lib/components/autocomplete/index.d.ts +4 -4
  416. package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
  417. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +10 -11
  418. package/lib/components/autocomplete/src/autocomplete2.js +2 -2
  419. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  420. package/lib/components/breadcrumb/index.d.ts +2 -6
  421. package/lib/components/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -3
  422. package/lib/components/breadcrumb/src/breadcrumb-item2.js +4 -4
  423. package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
  424. package/lib/components/card/index.d.ts +2 -0
  425. package/lib/components/card/src/card.d.ts +1 -0
  426. package/lib/components/card/src/card.js +1 -0
  427. package/lib/components/card/src/card.js.map +1 -1
  428. package/lib/components/card/src/card.vue.d.ts +2 -0
  429. package/lib/components/card/src/card2.js +1 -1
  430. package/lib/components/card/src/card2.js.map +1 -1
  431. package/lib/components/cascader/index.d.ts +16 -6
  432. package/lib/components/cascader/src/cascader.d.ts +1 -0
  433. package/lib/components/cascader/src/cascader.js +4 -0
  434. package/lib/components/cascader/src/cascader.js.map +1 -1
  435. package/lib/components/cascader/src/cascader.vue.d.ts +8 -3
  436. package/lib/components/cascader/src/cascader2.js +11 -4
  437. package/lib/components/cascader/src/cascader2.js.map +1 -1
  438. package/lib/components/cascader-panel/src/index.js +5 -1
  439. package/lib/components/cascader-panel/src/index.js.map +1 -1
  440. package/lib/components/checkbox/src/checkbox-button.js +9 -5
  441. package/lib/components/checkbox/src/checkbox-button.js.map +1 -1
  442. package/lib/components/checkbox/src/checkbox2.js +9 -5
  443. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  444. package/lib/components/collapse/index.d.ts +6 -0
  445. package/lib/components/collapse/src/collapse-item.vue.d.ts +3 -0
  446. package/lib/components/collapse-transition/index.d.ts +6 -0
  447. package/lib/components/collapse-transition/src/collapse-transition.js +15 -8
  448. package/lib/components/collapse-transition/src/collapse-transition.js.map +1 -1
  449. package/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +3 -0
  450. package/lib/components/color-picker/index.d.ts +3 -3
  451. package/lib/components/color-picker/src/color-picker.vue.d.ts +3 -3
  452. package/lib/components/date-picker/index.d.ts +1 -0
  453. package/lib/components/date-picker/index.js.map +1 -1
  454. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +25 -6
  455. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js.map +1 -1
  456. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +3 -1
  457. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +7 -13
  458. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
  459. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +1 -1
  460. package/lib/components/date-picker/src/date-picker.js.map +1 -1
  461. package/lib/components/date-picker/src/instance.d.ts +8 -0
  462. package/lib/components/date-picker/src/instance.js +3 -0
  463. package/lib/components/date-picker/src/instance.js.map +1 -0
  464. package/lib/components/date-picker/src/panel-utils.d.ts +4 -2
  465. package/lib/components/dialog/index.d.ts +60 -45
  466. package/lib/components/dialog/src/dialog-content.d.ts +5 -4
  467. package/lib/components/dialog/src/dialog-content.js +8 -16
  468. package/lib/components/dialog/src/dialog-content.js.map +1 -1
  469. package/lib/components/dialog/src/dialog-content.vue.d.ts +24 -17
  470. package/lib/components/dialog/src/dialog-content2.js +16 -13
  471. package/lib/components/dialog/src/dialog-content2.js.map +1 -1
  472. package/lib/components/dialog/src/dialog.d.ts +9 -7
  473. package/lib/components/dialog/src/dialog.js +7 -12
  474. package/lib/components/dialog/src/dialog.js.map +1 -1
  475. package/lib/components/dialog/src/dialog.vue.d.ts +60 -45
  476. package/lib/components/dialog/src/dialog2.js +2 -1
  477. package/lib/components/dialog/src/dialog2.js.map +1 -1
  478. package/lib/components/drawer/index.d.ts +27 -21
  479. package/lib/components/drawer/src/drawer.d.ts +9 -7
  480. package/lib/components/drawer/src/drawer.js +4 -0
  481. package/lib/components/drawer/src/drawer.js.map +1 -1
  482. package/lib/components/drawer/src/drawer.vue.d.ts +27 -21
  483. package/lib/components/drawer/src/drawer2.js +2 -1
  484. package/lib/components/drawer/src/drawer2.js.map +1 -1
  485. package/lib/components/dropdown/index.d.ts +2 -2
  486. package/lib/components/dropdown/src/dropdown.vue.d.ts +2 -2
  487. package/lib/components/dropdown/src/dropdown2.js +5 -5
  488. package/lib/components/dropdown/src/dropdown2.js.map +1 -1
  489. package/lib/components/focus-trap/src/focus-trap.js +1 -1
  490. package/lib/components/focus-trap/src/focus-trap.js.map +1 -1
  491. package/lib/components/form/src/form-item.js.map +1 -1
  492. package/lib/components/form/src/form-label-wrap.js +3 -2
  493. package/lib/components/form/src/form-label-wrap.js.map +1 -1
  494. package/lib/components/input/index.d.ts +1 -2
  495. package/lib/components/input/index.js.map +1 -1
  496. package/lib/components/input/src/input.js.map +1 -1
  497. package/lib/components/input/src/instance.d.ts +2 -0
  498. package/lib/components/input/src/instance.js +3 -0
  499. package/lib/components/input/src/instance.js.map +1 -0
  500. package/lib/components/input-number/src/input-number2.js +3 -3
  501. package/lib/components/input-number/src/input-number2.js.map +1 -1
  502. package/lib/components/menu/src/sub-menu.js +2 -0
  503. package/lib/components/menu/src/sub-menu.js.map +1 -1
  504. package/lib/components/pagination/src/components/sizes.vue.d.ts +27 -54
  505. package/lib/components/popconfirm/index.d.ts +3 -3
  506. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
  507. package/lib/components/popover/index.d.ts +3 -3
  508. package/lib/components/popover/src/popover.vue.d.ts +3 -3
  509. package/lib/components/radio/src/radio-button2.js +4 -2
  510. package/lib/components/radio/src/radio-button2.js.map +1 -1
  511. package/lib/components/radio/src/radio2.js +4 -2
  512. package/lib/components/radio/src/radio2.js.map +1 -1
  513. package/lib/components/row/index.d.ts +18 -4
  514. package/lib/components/row/src/row.d.ts +6 -1
  515. package/lib/components/row/src/row.js +1 -2
  516. package/lib/components/row/src/row.js.map +1 -1
  517. package/lib/components/row/src/row.vue.d.ts +18 -4
  518. package/lib/components/row/src/row2.js +1 -1
  519. package/lib/components/row/src/row2.js.map +1 -1
  520. package/lib/components/select/index.d.ts +29 -62
  521. package/lib/components/select/src/option-group.js +1 -4
  522. package/lib/components/select/src/option-group.js.map +1 -1
  523. package/lib/components/select/src/option-group.vue.d.ts +14 -8
  524. package/lib/components/select/src/option.js +1 -4
  525. package/lib/components/select/src/option.js.map +1 -1
  526. package/lib/components/select/src/option.vue.d.ts +20 -8
  527. package/lib/components/select/src/select.js +27 -32
  528. package/lib/components/select/src/select.js.map +1 -1
  529. package/lib/components/select/src/select.vue.d.ts +360 -55
  530. package/lib/components/select/src/useSelect.d.ts +11 -4
  531. package/lib/components/select/src/useSelect.js +47 -27
  532. package/lib/components/select/src/useSelect.js.map +1 -1
  533. package/lib/components/select-v2/index.d.ts +6 -6
  534. package/lib/components/select-v2/src/select.vue.d.ts +3 -3
  535. package/lib/components/select-v2/src/useSelect.d.ts +2 -2
  536. package/lib/components/slider/index.d.ts +5 -5
  537. package/lib/components/slider/src/button.vue.d.ts +1 -1
  538. package/lib/components/slider/src/composables/use-slide.d.ts +4 -4
  539. package/lib/components/slider/src/slider.vue.d.ts +5 -5
  540. package/lib/components/switch/index.d.ts +36 -0
  541. package/lib/components/switch/src/switch.d.ts +12 -15
  542. package/lib/components/switch/src/switch.js +6 -0
  543. package/lib/components/switch/src/switch.js.map +1 -1
  544. package/lib/components/switch/src/switch.vue.d.ts +36 -0
  545. package/lib/components/switch/src/switch2.js +11 -1
  546. package/lib/components/switch/src/switch2.js.map +1 -1
  547. package/lib/components/table/src/config.d.ts +1 -1
  548. package/lib/components/table/src/config.js +5 -3
  549. package/lib/components/table/src/config.js.map +1 -1
  550. package/lib/components/table/src/filter-panel.vue.d.ts +2 -2
  551. package/lib/components/table/src/table-body/events-helper.js +10 -2
  552. package/lib/components/table/src/table-body/events-helper.js.map +1 -1
  553. package/lib/components/table/src/table-body/index.js +2 -5
  554. package/lib/components/table/src/table-body/index.js.map +1 -1
  555. package/lib/components/table/src/table-body/render-helper.js +1 -1
  556. package/lib/components/table/src/table-body/render-helper.js.map +1 -1
  557. package/lib/components/table/src/table-column/watcher-helper.js +1 -0
  558. package/lib/components/table/src/table-column/watcher-helper.js.map +1 -1
  559. package/lib/components/table-v2/src/table-v2.js +1 -1
  560. package/lib/components/table-v2/src/table-v2.js.map +1 -1
  561. package/lib/components/time-picker/src/common/picker.js.map +1 -1
  562. package/lib/components/time-picker/src/common/picker.vue.d.ts +4 -4
  563. package/lib/components/time-select/index.d.ts +104 -200
  564. package/lib/components/time-select/src/time-select.vue.d.ts +52 -100
  565. package/lib/components/tooltip/index.d.ts +1 -1
  566. package/lib/components/tooltip/src/tooltip.vue.d.ts +2 -4
  567. package/lib/components/tooltip/src/tooltip2.js +3 -2
  568. package/lib/components/tooltip/src/tooltip2.js.map +1 -1
  569. package/lib/components/transfer/src/transfer.js.map +1 -1
  570. package/lib/components/tree/src/tree-node.js +1 -1
  571. package/lib/components/tree/src/tree-node.js.map +1 -1
  572. package/lib/components/tree-select/src/tree-select-option.d.ts +8 -32
  573. package/lib/components/tree-v2/src/composables/useTree.js +1 -1
  574. package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
  575. package/lib/components/upload/index.d.ts +0 -3
  576. package/lib/components/upload/src/ajax.js +2 -1
  577. package/lib/components/upload/src/ajax.js.map +1 -1
  578. package/lib/components/upload/src/upload.d.ts +1 -1
  579. package/lib/components/upload/src/upload.js.map +1 -1
  580. package/lib/components/upload/src/upload.vue.d.ts +0 -3
  581. package/lib/components/upload/src/upload2.js +4 -5
  582. package/lib/components/upload/src/upload2.js.map +1 -1
  583. package/lib/hooks/use-focus-controller/index.js +0 -1
  584. package/lib/hooks/use-focus-controller/index.js.map +1 -1
  585. package/lib/hooks/use-namespace/index.js +1 -1
  586. package/lib/hooks/use-namespace/index.js.map +1 -1
  587. package/lib/hooks/use-z-index/index.js +1 -1
  588. package/lib/hooks/use-z-index/index.js.map +1 -1
  589. package/lib/version.d.ts +1 -1
  590. package/lib/version.js +1 -1
  591. package/lib/version.js.map +1 -1
  592. package/package.json +2 -2
  593. package/tags.json +1 -1
  594. package/theme-chalk/el-avatar.css +1 -1
  595. package/theme-chalk/el-input.css +1 -1
  596. package/theme-chalk/el-menu.css +1 -1
  597. package/theme-chalk/el-row.css +1 -1
  598. package/theme-chalk/el-tree.css +1 -1
  599. package/theme-chalk/index.css +1 -1
  600. package/theme-chalk/src/avatar.scss +1 -0
  601. package/theme-chalk/src/input.scss +1 -1
  602. package/theme-chalk/src/menu.scss +4 -6
  603. package/theme-chalk/src/row.scss +3 -0
  604. package/theme-chalk/src/tree.scss +1 -0
  605. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v2.3.8 */
1
+ /*! Element Plus v2.3.10 */
2
2
 
3
3
  import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed as computed$1, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, onBeforeUnmount, isRef, inject, onUnmounted, h as h$1, Teleport, onBeforeMount, provide, defineComponent, 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, triggerRef, resolveDirective, createApp, shallowReactive, render } from 'vue';
4
4
 
@@ -9254,7 +9254,7 @@ const _bem = (namespace, block, blockSuffix, element, modifier) => {
9254
9254
  };
9255
9255
  const namespaceContextKey = Symbol("namespaceContextKey");
9256
9256
  const useGetDerivedNamespace = (namespaceOverrides) => {
9257
- const derivedNamespace = namespaceOverrides || inject(namespaceContextKey, ref(defaultNamespace));
9257
+ const derivedNamespace = namespaceOverrides || (getCurrentInstance() ? inject(namespaceContextKey, ref(defaultNamespace)) : ref(defaultNamespace));
9258
9258
  const namespace = computed$1(() => {
9259
9259
  return unref(derivedNamespace) || defaultNamespace;
9260
9260
  });
@@ -9953,7 +9953,7 @@ const zIndex = ref(0);
9953
9953
  const defaultInitialZIndex = 2e3;
9954
9954
  const zIndexContextKey = Symbol("zIndexContextKey");
9955
9955
  const useZIndex = (zIndexOverrides) => {
9956
- const zIndexInjection = zIndexOverrides || inject(zIndexContextKey, void 0);
9956
+ const zIndexInjection = zIndexOverrides || (getCurrentInstance() ? inject(zIndexContextKey, void 0) : void 0);
9957
9957
  const initialZIndex = computed$1(() => {
9958
9958
  const zIndexFromInjection = unref(zIndexInjection);
9959
9959
  return isNumber(zIndexFromInjection) ? zIndexFromInjection : defaultInitialZIndex;
@@ -11110,7 +11110,6 @@ function useFocusController(target, { afterFocus, afterBlur } = {}) {
11110
11110
  };
11111
11111
  watch(wrapperRef, (el) => {
11112
11112
  if (el) {
11113
- el.setAttribute("role", "button");
11114
11113
  el.setAttribute("tabindex", "-1");
11115
11114
  }
11116
11115
  });
@@ -11243,7 +11242,7 @@ const ConfigProvider = defineComponent({
11243
11242
 
11244
11243
  const ElConfigProvider = withInstall(ConfigProvider);
11245
11244
 
11246
- const version$1 = "2.3.8";
11245
+ const version$1 = "2.3.10";
11247
11246
 
11248
11247
  const makeInstaller = (components = []) => {
11249
11248
  const install = (app, options) => {
@@ -12980,8 +12979,8 @@ var FormLabelWrap = defineComponent({
12980
12979
  const getLabelWidth = () => {
12981
12980
  var _a;
12982
12981
  if ((_a = el.value) == null ? void 0 : _a.firstElementChild) {
12983
- const width = window.getComputedStyle(el.value.firstElementChild).width;
12984
- return Math.ceil(Number.parseFloat(width));
12982
+ const width = getStyle(el.value.firstElementChild, "width");
12983
+ return Math.ceil(Number.parseFloat(width)) || 0;
12985
12984
  } else {
12986
12985
  return 0;
12987
12986
  }
@@ -13530,7 +13529,7 @@ const inputEmits = {
13530
13529
 
13531
13530
  const _hoisted_1$11 = ["role"];
13532
13531
  const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"];
13533
- const _hoisted_3$l = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"];
13532
+ const _hoisted_3$m = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"];
13534
13533
  const __default__$1x = defineComponent({
13535
13534
  name: "ElInput",
13536
13535
  inheritAttrs: false
@@ -13944,7 +13943,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
13944
13943
  onBlur: _cache[3] || (_cache[3] = (...args) => unref(handleBlur) && unref(handleBlur)(...args)),
13945
13944
  onChange: handleChange,
13946
13945
  onKeydown: handleKeydown
13947
- }), null, 16, _hoisted_3$l),
13946
+ }), null, 16, _hoisted_3$m),
13948
13947
  unref(isWordLimitVisible) ? (openBlock(), createElementBlock("span", {
13949
13948
  key: 0,
13950
13949
  style: normalizeStyle(countStyle.value),
@@ -15040,7 +15039,7 @@ const _sfc_main$26 = defineComponent({
15040
15039
  if (!releasedEvent.defaultPrevented && (focusReason.value == "keyboard" || !isFocusCausedByUserEvent() || trapContainer.contains(document.activeElement))) {
15041
15040
  tryFocus(lastFocusBeforeTrapped != null ? lastFocusBeforeTrapped : document.body);
15042
15041
  }
15043
- trapContainer.removeEventListener(FOCUS_AFTER_RELEASED, trapOnFocus);
15042
+ trapContainer.removeEventListener(FOCUS_AFTER_RELEASED, releaseOnFocus);
15044
15043
  focusableStack.remove(focusLayer);
15045
15044
  }
15046
15045
  }
@@ -15871,10 +15870,11 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
15871
15870
  open.value = false;
15872
15871
  }
15873
15872
  });
15874
- const isFocusInsideContent = () => {
15873
+ const isFocusInsideContent = (event) => {
15875
15874
  var _a, _b;
15876
15875
  const popperContent = (_b = (_a = contentRef.value) == null ? void 0 : _a.contentRef) == null ? void 0 : _b.popperContentRef;
15877
- return popperContent && popperContent.contains(document.activeElement);
15876
+ const activeElement = (event == null ? void 0 : event.relatedTarget) || document.activeElement;
15877
+ return popperContent && popperContent.contains(activeElement);
15878
15878
  };
15879
15879
  onDeactivated(() => open.value && hide());
15880
15880
  expose({
@@ -16038,7 +16038,7 @@ const autocompleteEmits = {
16038
16038
 
16039
16039
  const _hoisted_1$$ = ["aria-expanded", "aria-owns"];
16040
16040
  const _hoisted_2$E = { key: 0 };
16041
- const _hoisted_3$k = ["id", "aria-selected", "onClick"];
16041
+ const _hoisted_3$l = ["id", "aria-selected", "onClick"];
16042
16042
  const COMPONENT_NAME$i = "ElAutocomplete";
16043
16043
  const __default__$1o = defineComponent({
16044
16044
  name: COMPONENT_NAME$i,
@@ -16079,8 +16079,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
16079
16079
  }
16080
16080
  return [];
16081
16081
  });
16082
- const onSuggestionShow = async () => {
16083
- await nextTick();
16082
+ const onSuggestionShow = () => {
16084
16083
  if (suggestionVisible.value) {
16085
16084
  dropdownWidth.value = `${inputRef.value.$el.offsetWidth}px`;
16086
16085
  }
@@ -16261,6 +16260,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
16261
16260
  trigger: "click",
16262
16261
  transition: `${unref(ns).namespace.value}-zoom-in-top`,
16263
16262
  persistent: "",
16263
+ role: "listbox",
16264
16264
  onBeforeShow: onSuggestionShow,
16265
16265
  onHide
16266
16266
  }, {
@@ -16304,7 +16304,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
16304
16304
  renderSlot(_ctx.$slots, "default", { item }, () => [
16305
16305
  createTextVNode(toDisplayString(item[_ctx.valueKey]), 1)
16306
16306
  ])
16307
- ], 10, _hoisted_3$k);
16307
+ ], 10, _hoisted_3$l);
16308
16308
  }), 128))
16309
16309
  ]),
16310
16310
  _: 3
@@ -16714,7 +16714,6 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
16714
16714
  const instance = getCurrentInstance();
16715
16715
  const breadcrumbContext = inject(breadcrumbKey, void 0);
16716
16716
  const ns = useNamespace("breadcrumb");
16717
- const { separator, separatorIcon } = toRefs(breadcrumbContext);
16718
16717
  const router = instance.appContext.config.globalProperties.$router;
16719
16718
  const link = ref();
16720
16719
  const onClick = () => {
@@ -16723,6 +16722,7 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
16723
16722
  props.replace ? router.replace(props.to) : router.push(props.to);
16724
16723
  };
16725
16724
  return (_ctx, _cache) => {
16725
+ var _a, _b;
16726
16726
  return openBlock(), createElementBlock("span", {
16727
16727
  class: normalizeClass(unref(ns).e("item"))
16728
16728
  }, [
@@ -16735,19 +16735,19 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
16735
16735
  }, [
16736
16736
  renderSlot(_ctx.$slots, "default")
16737
16737
  ], 2),
16738
- unref(separatorIcon) ? (openBlock(), createBlock(unref(ElIcon), {
16738
+ ((_a = unref(breadcrumbContext)) == null ? void 0 : _a.separatorIcon) ? (openBlock(), createBlock(unref(ElIcon), {
16739
16739
  key: 0,
16740
16740
  class: normalizeClass(unref(ns).e("separator"))
16741
16741
  }, {
16742
16742
  default: withCtx(() => [
16743
- (openBlock(), createBlock(resolveDynamicComponent(unref(separatorIcon))))
16743
+ (openBlock(), createBlock(resolveDynamicComponent(unref(breadcrumbContext).separatorIcon)))
16744
16744
  ]),
16745
16745
  _: 1
16746
16746
  }, 8, ["class"])) : (openBlock(), createElementBlock("span", {
16747
16747
  key: 1,
16748
16748
  class: normalizeClass(unref(ns).e("separator")),
16749
16749
  role: "presentation"
16750
- }, toDisplayString(unref(separator)), 3))
16750
+ }, toDisplayString((_b = unref(breadcrumbContext)) == null ? void 0 : _b.separator), 3))
16751
16751
  ], 2);
16752
16752
  };
16753
16753
  }
@@ -20717,6 +20717,7 @@ const cardProps = buildProps({
20717
20717
  type: definePropType([String, Object, Array]),
20718
20718
  default: ""
20719
20719
  },
20720
+ bodyClass: String,
20720
20721
  shadow: {
20721
20722
  type: String,
20722
20723
  values: ["always", "hover", "never"],
@@ -20745,7 +20746,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
20745
20746
  ])
20746
20747
  ], 2)) : createCommentVNode("v-if", true),
20747
20748
  createElementVNode("div", {
20748
- class: normalizeClass(unref(ns).e("body")),
20749
+ class: normalizeClass([unref(ns).e("body"), _ctx.bodyClass]),
20749
20750
  style: normalizeStyle(_ctx.bodyStyle)
20750
20751
  }, [
20751
20752
  renderSlot(_ctx.$slots, "default")
@@ -21612,7 +21613,7 @@ const useCheckbox = (props, slots) => {
21612
21613
 
21613
21614
  const _hoisted_1$T = ["tabindex", "role", "aria-checked"];
21614
21615
  const _hoisted_2$z = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
21615
- const _hoisted_3$j = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
21616
+ const _hoisted_3$k = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
21616
21617
  const __default__$1a = defineComponent({
21617
21618
  name: "ElCheckbox"
21618
21619
  });
@@ -21681,13 +21682,15 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
21681
21682
  "false-value": _ctx.falseLabel,
21682
21683
  onChange: _cache[1] || (_cache[1] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
21683
21684
  onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),
21684
- onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)
21685
+ onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
21686
+ onClick: _cache[4] || (_cache[4] = withModifiers(() => {
21687
+ }, ["stop"]))
21685
21688
  }, null, 42, _hoisted_2$z)), [
21686
21689
  [vModelCheckbox, unref(model)]
21687
21690
  ]) : withDirectives((openBlock(), createElementBlock("input", {
21688
21691
  key: 1,
21689
21692
  id: unref(inputId),
21690
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(model) ? model.value = $event : null),
21693
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(model) ? model.value = $event : null),
21691
21694
  class: normalizeClass(unref(ns).e("original")),
21692
21695
  type: "checkbox",
21693
21696
  "aria-hidden": _ctx.indeterminate ? "true" : "false",
@@ -21695,10 +21698,12 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
21695
21698
  value: _ctx.label,
21696
21699
  name: _ctx.name,
21697
21700
  tabindex: _ctx.tabindex,
21698
- onChange: _cache[5] || (_cache[5] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
21699
- onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),
21700
- onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)
21701
- }, null, 42, _hoisted_3$j)), [
21701
+ onChange: _cache[6] || (_cache[6] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
21702
+ onFocus: _cache[7] || (_cache[7] = ($event) => isFocused.value = true),
21703
+ onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),
21704
+ onClick: _cache[9] || (_cache[9] = withModifiers(() => {
21705
+ }, ["stop"]))
21706
+ }, null, 42, _hoisted_3$k)), [
21702
21707
  [vModelCheckbox, unref(model)]
21703
21708
  ]),
21704
21709
  createElementVNode("span", {
@@ -21779,21 +21784,25 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
21779
21784
  "false-value": _ctx.falseLabel,
21780
21785
  onChange: _cache[1] || (_cache[1] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
21781
21786
  onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),
21782
- onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)
21787
+ onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
21788
+ onClick: _cache[4] || (_cache[4] = withModifiers(() => {
21789
+ }, ["stop"]))
21783
21790
  }, null, 42, _hoisted_1$S)), [
21784
21791
  [vModelCheckbox, unref(model)]
21785
21792
  ]) : withDirectives((openBlock(), createElementBlock("input", {
21786
21793
  key: 1,
21787
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(model) ? model.value = $event : null),
21794
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(model) ? model.value = $event : null),
21788
21795
  class: normalizeClass(unref(ns).be("button", "original")),
21789
21796
  type: "checkbox",
21790
21797
  name: _ctx.name,
21791
21798
  tabindex: _ctx.tabindex,
21792
21799
  disabled: unref(isDisabled),
21793
21800
  value: _ctx.label,
21794
- onChange: _cache[5] || (_cache[5] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
21795
- onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),
21796
- onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)
21801
+ onChange: _cache[6] || (_cache[6] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
21802
+ onFocus: _cache[7] || (_cache[7] = ($event) => isFocused.value = true),
21803
+ onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),
21804
+ onClick: _cache[9] || (_cache[9] = withModifiers(() => {
21805
+ }, ["stop"]))
21797
21806
  }, null, 42, _hoisted_2$y)), [
21798
21807
  [vModelCheckbox, unref(model)]
21799
21808
  ]),
@@ -22016,7 +22025,9 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
22016
22025
  type: "radio",
22017
22026
  onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
22018
22027
  onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
22019
- onChange: handleChange
22028
+ onChange: handleChange,
22029
+ onClick: _cache[3] || (_cache[3] = withModifiers(() => {
22030
+ }, ["stop"]))
22020
22031
  }, null, 42, _hoisted_1$R), [
22021
22032
  [vModelRadio, unref(modelValue)]
22022
22033
  ]),
@@ -22026,7 +22037,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
22026
22037
  ], 2),
22027
22038
  createElementVNode("span", {
22028
22039
  class: normalizeClass(unref(ns).e("label")),
22029
- onKeydown: _cache[3] || (_cache[3] = withModifiers(() => {
22040
+ onKeydown: _cache[4] || (_cache[4] = withModifiers(() => {
22030
22041
  }, ["stop"]))
22031
22042
  }, [
22032
22043
  renderSlot(_ctx.$slots, "default", {}, () => [
@@ -22087,14 +22098,16 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
22087
22098
  name: _ctx.name || ((_a = unref(radioGroup)) == null ? void 0 : _a.name),
22088
22099
  disabled: unref(disabled),
22089
22100
  onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
22090
- onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false)
22101
+ onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
22102
+ onClick: _cache[3] || (_cache[3] = withModifiers(() => {
22103
+ }, ["stop"]))
22091
22104
  }, null, 42, _hoisted_1$Q), [
22092
22105
  [vModelRadio, unref(modelValue)]
22093
22106
  ]),
22094
22107
  createElementVNode("span", {
22095
22108
  class: normalizeClass(unref(ns).be("button", "inner")),
22096
22109
  style: normalizeStyle(unref(modelValue) === _ctx.label ? unref(activeStyle) : {}),
22097
- onKeydown: _cache[3] || (_cache[3] = withModifiers(() => {
22110
+ onKeydown: _cache[4] || (_cache[4] = withModifiers(() => {
22098
22111
  }, ["stop"]))
22099
22112
  }, [
22100
22113
  renderSlot(_ctx.$slots, "default", {}, () => [
@@ -22946,7 +22959,11 @@ const _sfc_main$1E = defineComponent({
22946
22959
  expandingNode.value = null;
22947
22960
  }
22948
22961
  oldNodes.forEach((node) => node.doCheck(false));
22949
- newNodes.forEach((node) => node.doCheck(true));
22962
+ if (props.props.multiple) {
22963
+ reactive(newNodes).forEach((node) => node.doCheck(true));
22964
+ } else {
22965
+ newNodes.forEach((node) => node.doCheck(true));
22966
+ }
22950
22967
  checkedNodes.value = newNodes;
22951
22968
  nextTick(scrollToExpandingNode);
22952
22969
  };
@@ -23199,6 +23216,10 @@ const cascaderProps = buildProps({
23199
23216
  default: true
23200
23217
  },
23201
23218
  collapseTags: Boolean,
23219
+ maxCollapseTags: {
23220
+ type: Number,
23221
+ default: 1
23222
+ },
23202
23223
  collapseTagsTooltip: {
23203
23224
  type: Boolean,
23204
23225
  default: false
@@ -23234,7 +23255,7 @@ const cascaderEmits = {
23234
23255
 
23235
23256
  const _hoisted_1$N = { key: 0 };
23236
23257
  const _hoisted_2$w = ["placeholder", "onKeydown"];
23237
- const _hoisted_3$i = ["onClick"];
23258
+ const _hoisted_3$j = ["onClick"];
23238
23259
  const COMPONENT_NAME$e = "ElCascader";
23239
23260
  const __default__$13 = defineComponent({
23240
23261
  name: COMPONENT_NAME$e
@@ -23395,9 +23416,9 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
23395
23416
  nodes.forEach((node) => allTags.push(genTag(node)));
23396
23417
  allPresentTags.value = allTags;
23397
23418
  if (nodes.length) {
23398
- const [first, ...rest] = nodes;
23419
+ nodes.slice(0, props.maxCollapseTags).forEach((node) => tags.push(genTag(node)));
23420
+ const rest = nodes.slice(props.maxCollapseTags);
23399
23421
  const restCount = rest.length;
23400
- tags.push(genTag(first));
23401
23422
  if (restCount) {
23402
23423
  if (props.collapseTags) {
23403
23424
  tags.push({
@@ -23590,15 +23611,22 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
23590
23611
  return;
23591
23612
  val ? handleFilter() : hideSuggestionPanel();
23592
23613
  };
23614
+ const getInputInnerHeight = (inputInner) => Number.parseFloat(useCssVar(nsInput.cssVarName("input-height"), inputInner).value) - 2;
23593
23615
  watch(filtering, updatePopperPosition);
23594
23616
  watch([checkedNodes, isDisabled], calculatePresentTags);
23595
23617
  watch(presentTags, () => {
23596
23618
  nextTick(() => updateStyle());
23597
23619
  });
23620
+ watch(realSize, async () => {
23621
+ await nextTick();
23622
+ const inputInner = input.value.input;
23623
+ inputInitialHeight = getInputInnerHeight(inputInner) || inputInitialHeight;
23624
+ updateStyle();
23625
+ });
23598
23626
  watch(presentText, syncPresentTextValue, { immediate: true });
23599
23627
  onMounted(() => {
23600
23628
  const inputInner = input.value.input;
23601
- const inputInnerHeight = Number.parseFloat(useCssVar(nsInput.cssVarName("input-height"), inputInner).value) - 2;
23629
+ const inputInnerHeight = getInputInnerHeight(inputInner);
23602
23630
  inputInitialHeight = inputInner.offsetHeight || inputInnerHeight;
23603
23631
  useResizeObserver(inputInner, updateStyle);
23604
23632
  });
@@ -23715,7 +23743,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
23715
23743
  createElementVNode("div", {
23716
23744
  class: normalizeClass(unref(nsCascader).e("collapse-tags"))
23717
23745
  }, [
23718
- (openBlock(true), createElementBlock(Fragment, null, renderList(allPresentTags.value.slice(1), (tag2, idx) => {
23746
+ (openBlock(true), createElementBlock(Fragment, null, renderList(allPresentTags.value.slice(_ctx.maxCollapseTags), (tag2, idx) => {
23719
23747
  return openBlock(), createElementBlock("div", {
23720
23748
  key: idx,
23721
23749
  class: normalizeClass(unref(nsCascader).e("collapse-tag"))
@@ -23809,7 +23837,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
23809
23837
  ]),
23810
23838
  _: 1
23811
23839
  })) : createCommentVNode("v-if", true)
23812
- ], 10, _hoisted_3$i);
23840
+ ], 10, _hoisted_3$j);
23813
23841
  }), 128)) : renderSlot(_ctx.$slots, "empty", { key: 1 }, () => [
23814
23842
  createElementVNode("li", {
23815
23843
  class: normalizeClass(unref(nsCascader).e("empty-text"))
@@ -23902,8 +23930,7 @@ const rowProps = buildProps({
23902
23930
  },
23903
23931
  align: {
23904
23932
  type: String,
23905
- values: RowAlign,
23906
- default: "top"
23933
+ values: RowAlign
23907
23934
  }
23908
23935
  });
23909
23936
 
@@ -23931,7 +23958,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
23931
23958
  const rowKls = computed$1(() => [
23932
23959
  ns.b(),
23933
23960
  ns.is(`justify-${props.justify}`, props.justify !== "start"),
23934
- ns.is(`align-${props.align}`, props.align !== "top")
23961
+ ns.is(`align-${props.align}`, !!props.align)
23935
23962
  ]);
23936
23963
  return (_ctx, _cache) => {
23937
23964
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {
@@ -24144,6 +24171,12 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
24144
24171
  ...__default__$_,
24145
24172
  setup(__props) {
24146
24173
  const ns = useNamespace("collapse-transition");
24174
+ const reset = (el) => {
24175
+ el.style.maxHeight = "";
24176
+ el.style.overflow = el.dataset.oldOverflow;
24177
+ el.style.paddingTop = el.dataset.oldPaddingTop;
24178
+ el.style.paddingBottom = el.dataset.oldPaddingBottom;
24179
+ };
24147
24180
  const on = {
24148
24181
  beforeEnter(el) {
24149
24182
  if (!el.dataset)
@@ -24158,19 +24191,20 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
24158
24191
  el.dataset.oldOverflow = el.style.overflow;
24159
24192
  if (el.scrollHeight !== 0) {
24160
24193
  el.style.maxHeight = `${el.scrollHeight}px`;
24161
- el.style.paddingTop = el.dataset.oldPaddingTop;
24162
- el.style.paddingBottom = el.dataset.oldPaddingBottom;
24163
24194
  } else {
24164
24195
  el.style.maxHeight = 0;
24165
- el.style.paddingTop = el.dataset.oldPaddingTop;
24166
- el.style.paddingBottom = el.dataset.oldPaddingBottom;
24167
24196
  }
24197
+ el.style.paddingTop = el.dataset.oldPaddingTop;
24198
+ el.style.paddingBottom = el.dataset.oldPaddingBottom;
24168
24199
  el.style.overflow = "hidden";
24169
24200
  },
24170
24201
  afterEnter(el) {
24171
24202
  el.style.maxHeight = "";
24172
24203
  el.style.overflow = el.dataset.oldOverflow;
24173
24204
  },
24205
+ enterCancelled(el) {
24206
+ reset(el);
24207
+ },
24174
24208
  beforeLeave(el) {
24175
24209
  if (!el.dataset)
24176
24210
  el.dataset = {};
@@ -24188,10 +24222,10 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
24188
24222
  }
24189
24223
  },
24190
24224
  afterLeave(el) {
24191
- el.style.maxHeight = "";
24192
- el.style.overflow = el.dataset.oldOverflow;
24193
- el.style.paddingTop = el.dataset.oldPaddingTop;
24194
- el.style.paddingBottom = el.dataset.oldPaddingBottom;
24225
+ reset(el);
24226
+ },
24227
+ leaveCancelled(el) {
24228
+ reset(el);
24195
24229
  }
24196
24230
  };
24197
24231
  return (_ctx, _cache) => {
@@ -24293,7 +24327,7 @@ const useCollapseItemDOM = (props, { focusing, isActive, id }) => {
24293
24327
 
24294
24328
  const _hoisted_1$M = ["aria-expanded", "aria-controls", "aria-describedby"];
24295
24329
  const _hoisted_2$v = ["id", "tabindex"];
24296
- const _hoisted_3$h = ["id", "aria-hidden", "aria-labelledby"];
24330
+ const _hoisted_3$i = ["id", "aria-hidden", "aria-labelledby"];
24297
24331
  const __default__$Z = defineComponent({
24298
24332
  name: "ElCollapseItem"
24299
24333
  });
@@ -24369,7 +24403,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
24369
24403
  }, [
24370
24404
  renderSlot(_ctx.$slots, "default")
24371
24405
  ], 2)
24372
- ], 10, _hoisted_3$h), [
24406
+ ], 10, _hoisted_3$i), [
24373
24407
  [vShow, unref(isActive)]
24374
24408
  ])
24375
24409
  ]),
@@ -25995,7 +26029,7 @@ const _hoisted_2$t = {
25995
26029
  key: 0,
25996
26030
  scope: "col"
25997
26031
  };
25998
- const _hoisted_3$g = ["aria-label"];
26032
+ const _hoisted_3$h = ["aria-label"];
25999
26033
  const _hoisted_4$b = ["aria-current", "aria-selected", "tabindex"];
26000
26034
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
26001
26035
  __name: "basic-date-table",
@@ -26313,7 +26347,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
26313
26347
  key,
26314
26348
  scope: "col",
26315
26349
  "aria-label": unref(t)("el.datepicker.weeksFull." + week)
26316
- }, toDisplayString(unref(t)("el.datepicker.weeks." + week)), 9, _hoisted_3$g);
26350
+ }, toDisplayString(unref(t)("el.datepicker.weeks." + week)), 9, _hoisted_3$h);
26317
26351
  }), 128))
26318
26352
  ]),
26319
26353
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(rows), (row, rowKey) => {
@@ -26351,7 +26385,7 @@ const basicMonthTableProps = buildProps({
26351
26385
 
26352
26386
  const _hoisted_1$H = ["aria-label"];
26353
26387
  const _hoisted_2$s = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
26354
- const _hoisted_3$f = { class: "cell" };
26388
+ const _hoisted_3$g = { class: "cell" };
26355
26389
  const _sfc_main$1k = /* @__PURE__ */ defineComponent({
26356
26390
  __name: "basic-month-table",
26357
26391
  props: basicMonthTableProps,
@@ -26534,7 +26568,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
26534
26568
  ]
26535
26569
  }, [
26536
26570
  createElementVNode("div", null, [
26537
- createElementVNode("span", _hoisted_3$f, toDisplayString(unref(t)("el.datepicker.months." + months.value[cell.text])), 1)
26571
+ createElementVNode("span", _hoisted_3$g, toDisplayString(unref(t)("el.datepicker.months." + months.value[cell.text])), 1)
26538
26572
  ])
26539
26573
  ], 42, _hoisted_2$s);
26540
26574
  }), 128))
@@ -26556,7 +26590,7 @@ const basicYearTableProps = buildProps({
26556
26590
 
26557
26591
  const _hoisted_1$G = ["aria-label"];
26558
26592
  const _hoisted_2$r = ["aria-selected", "tabindex", "onKeydown"];
26559
- const _hoisted_3$e = { class: "cell" };
26593
+ const _hoisted_3$f = { class: "cell" };
26560
26594
  const _hoisted_4$a = { key: 1 };
26561
26595
  const _sfc_main$1j = /* @__PURE__ */ defineComponent({
26562
26596
  __name: "basic-year-table",
@@ -26641,7 +26675,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
26641
26675
  withKeys(withModifiers(handleYearTableClick, ["prevent", "stop"]), ["enter"])
26642
26676
  ]
26643
26677
  }, [
26644
- createElementVNode("span", _hoisted_3$e, toDisplayString(unref(startYear) + i * 4 + j), 1)
26678
+ createElementVNode("span", _hoisted_3$f, toDisplayString(unref(startYear) + i * 4 + j), 1)
26645
26679
  ], 42, _hoisted_2$r)) : (openBlock(), createElementBlock("td", _hoisted_4$a))
26646
26680
  ], 64);
26647
26681
  }), 64))
@@ -26656,7 +26690,7 @@ var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__file", "basic-yea
26656
26690
 
26657
26691
  const _hoisted_1$F = ["onClick"];
26658
26692
  const _hoisted_2$q = ["aria-label"];
26659
- const _hoisted_3$d = ["aria-label"];
26693
+ const _hoisted_3$e = ["aria-label"];
26660
26694
  const _hoisted_4$9 = ["aria-label"];
26661
26695
  const _hoisted_5$7 = ["aria-label"];
26662
26696
  const _sfc_main$1i = /* @__PURE__ */ defineComponent({
@@ -26673,11 +26707,12 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
26673
26707
  const { t, lang } = useLocale();
26674
26708
  const pickerBase = inject("EP_PICKER_BASE");
26675
26709
  const popper = inject(TOOLTIP_INJECTION_KEY);
26676
- const { shortcuts, disabledDate, cellClassName, defaultTime, arrowControl } = pickerBase.props;
26710
+ const { shortcuts, disabledDate, cellClassName, defaultTime } = pickerBase.props;
26677
26711
  const defaultValue = toRef(pickerBase.props, "defaultValue");
26678
26712
  const currentViewRef = ref();
26679
26713
  const innerDate = ref(dayjs().locale(lang.value));
26680
26714
  const isChangeToNow = ref(false);
26715
+ let isShortcut = false;
26681
26716
  const defaultTimeD = computed$1(() => {
26682
26717
  return dayjs(defaultTime).locale(lang.value);
26683
26718
  });
@@ -26694,7 +26729,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
26694
26729
  return selectableRange.value.length > 0 ? timeWithinRange(date, selectableRange.value, props.format || "HH:mm:ss") : true;
26695
26730
  };
26696
26731
  const formatEmit = (emitDayjs) => {
26697
- if (defaultTime && !visibleTime.value && !isChangeToNow.value) {
26732
+ if (defaultTime && !visibleTime.value && !isChangeToNow.value && !isShortcut) {
26698
26733
  return defaultTimeD.value.year(emitDayjs.year()).month(emitDayjs.month()).date(emitDayjs.date());
26699
26734
  }
26700
26735
  if (showTime.value)
@@ -26713,6 +26748,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
26713
26748
  userInputDate.value = null;
26714
26749
  userInputTime.value = null;
26715
26750
  isChangeToNow.value = false;
26751
+ isShortcut = false;
26716
26752
  };
26717
26753
  const handleDatePick = (value, keepOpen) => {
26718
26754
  if (selectionMode.value === "date") {
@@ -26755,6 +26791,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
26755
26791
  const handleShortcutClick = (shortcut) => {
26756
26792
  const shortcutValue = isFunction$1(shortcut.value) ? shortcut.value() : shortcut.value;
26757
26793
  if (shortcutValue) {
26794
+ isShortcut = true;
26758
26795
  emit(dayjs(shortcutValue).locale(lang.value));
26759
26796
  return;
26760
26797
  }
@@ -26814,6 +26851,16 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
26814
26851
  const footerVisible = computed$1(() => {
26815
26852
  return showTime.value || selectionMode.value === "dates";
26816
26853
  });
26854
+ const disabledConfirm = computed$1(() => {
26855
+ if (!disabledDate)
26856
+ return false;
26857
+ if (!props.parsedValue)
26858
+ return true;
26859
+ if (isArray$1(props.parsedValue)) {
26860
+ return disabledDate(props.parsedValue[0].toDate());
26861
+ }
26862
+ return disabledDate(props.parsedValue.toDate());
26863
+ });
26817
26864
  const onConfirm = () => {
26818
26865
  if (selectionMode.value === "dates") {
26819
26866
  emit(props.parsedValue);
@@ -26828,6 +26875,11 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
26828
26875
  emit(result);
26829
26876
  }
26830
26877
  };
26878
+ const disabledNow = computed$1(() => {
26879
+ if (!disabledDate)
26880
+ return false;
26881
+ return disabledDate(dayjs().locale(lang.value).toDate());
26882
+ });
26831
26883
  const changeToNow = () => {
26832
26884
  const now = dayjs().locale(lang.value);
26833
26885
  const nowDate = now.toDate();
@@ -27105,10 +27157,9 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
27105
27157
  createVNode(unref(TimePickPanel), {
27106
27158
  visible: timePickerVisible.value,
27107
27159
  format: unref(timeFormat),
27108
- "time-arrow-control": unref(arrowControl),
27109
27160
  "parsed-value": innerDate.value,
27110
27161
  onPick: handleTimePick
27111
- }, null, 8, ["visible", "format", "time-arrow-control", "parsed-value"])
27162
+ }, null, 8, ["visible", "format", "parsed-value"])
27112
27163
  ], 2)), [
27113
27164
  [unref(ClickOutside), handleTimePickClose]
27114
27165
  ])
@@ -27147,7 +27198,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
27147
27198
  ]),
27148
27199
  _: 1
27149
27200
  })
27150
- ], 10, _hoisted_3$d), [
27201
+ ], 10, _hoisted_3$e), [
27151
27202
  [vShow, currentView.value === "date"]
27152
27203
  ])
27153
27204
  ], 2),
@@ -27250,26 +27301,28 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
27250
27301
  text: "",
27251
27302
  size: "small",
27252
27303
  class: normalizeClass(unref(ppNs).e("link-btn")),
27304
+ disabled: unref(disabledNow),
27253
27305
  onClick: changeToNow
27254
27306
  }, {
27255
27307
  default: withCtx(() => [
27256
27308
  createTextVNode(toDisplayString(unref(t)("el.datepicker.now")), 1)
27257
27309
  ]),
27258
27310
  _: 1
27259
- }, 8, ["class"]), [
27311
+ }, 8, ["class", "disabled"]), [
27260
27312
  [vShow, unref(selectionMode) !== "dates"]
27261
27313
  ]),
27262
27314
  createVNode(unref(ElButton), {
27263
27315
  plain: "",
27264
27316
  size: "small",
27265
27317
  class: normalizeClass(unref(ppNs).e("link-btn")),
27318
+ disabled: unref(disabledConfirm),
27266
27319
  onClick: onConfirm
27267
27320
  }, {
27268
27321
  default: withCtx(() => [
27269
27322
  createTextVNode(toDisplayString(unref(t)("el.datepicker.confirm")), 1)
27270
27323
  ]),
27271
27324
  _: 1
27272
- }, 8, ["class"])
27325
+ }, 8, ["class", "disabled"])
27273
27326
  ], 2), [
27274
27327
  [vShow, unref(footerVisible) && currentView.value === "date"]
27275
27328
  ])
@@ -27386,7 +27439,7 @@ const useRangePicker = (props, {
27386
27439
 
27387
27440
  const _hoisted_1$E = ["onClick"];
27388
27441
  const _hoisted_2$p = ["disabled"];
27389
- const _hoisted_3$c = ["disabled"];
27442
+ const _hoisted_3$d = ["disabled"];
27390
27443
  const _hoisted_4$8 = ["disabled"];
27391
27444
  const _hoisted_5$6 = ["disabled"];
27392
27445
  const unit$1 = "month";
@@ -27402,14 +27455,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
27402
27455
  setup(__props, { emit }) {
27403
27456
  const props = __props;
27404
27457
  const pickerBase = inject("EP_PICKER_BASE");
27405
- const {
27406
- disabledDate,
27407
- cellClassName,
27408
- format,
27409
- defaultTime,
27410
- arrowControl,
27411
- clearable
27412
- } = pickerBase.props;
27458
+ const { disabledDate, cellClassName, format, defaultTime, clearable } = pickerBase.props;
27413
27459
  const shortcuts = toRef(pickerBase.props, "shortcuts");
27414
27460
  const defaultValue = toRef(pickerBase.props, "defaultValue");
27415
27461
  const { lang } = useLocale();
@@ -27494,6 +27540,9 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
27494
27540
  const dateFormat = computed$1(() => {
27495
27541
  return extractDateFormat(format);
27496
27542
  });
27543
+ const isValidValue = (date) => {
27544
+ return isValidRange(date) && (disabledDate ? !disabledDate(date[0].toDate()) && !disabledDate(date[1].toDate()) : true);
27545
+ };
27497
27546
  const leftPrevYear = () => {
27498
27547
  leftDate.value = leftDate.value.subtract(1, "year");
27499
27548
  if (!props.unlinkPanels) {
@@ -27704,7 +27753,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
27704
27753
  }
27705
27754
  }
27706
27755
  }
27707
- emit("set-picker-option", ["isValidValue", isValidRange]);
27756
+ emit("set-picker-option", ["isValidValue", isValidValue]);
27708
27757
  emit("set-picker-option", ["parseUserInput", parseUserInput]);
27709
27758
  emit("set-picker-option", ["formatToString", formatToString]);
27710
27759
  emit("set-picker-option", ["handleClear", handleClear]);
@@ -27780,10 +27829,9 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
27780
27829
  visible: minTimePickerVisible.value,
27781
27830
  format: unref(timeFormat),
27782
27831
  "datetime-role": "start",
27783
- "time-arrow-control": unref(arrowControl),
27784
27832
  "parsed-value": leftDate.value,
27785
27833
  onPick: handleMinTimePick
27786
- }, null, 8, ["visible", "format", "time-arrow-control", "parsed-value"])
27834
+ }, null, 8, ["visible", "format", "parsed-value"])
27787
27835
  ], 2)), [
27788
27836
  [unref(ClickOutside), handleMinTimeClose]
27789
27837
  ])
@@ -27833,10 +27881,9 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
27833
27881
  "datetime-role": "end",
27834
27882
  visible: maxTimePickerVisible.value,
27835
27883
  format: unref(timeFormat),
27836
- "time-arrow-control": unref(arrowControl),
27837
27884
  "parsed-value": rightDate.value,
27838
27885
  onPick: handleMaxTimePick
27839
- }, null, 8, ["visible", "format", "time-arrow-control", "parsed-value"])
27886
+ }, null, 8, ["visible", "format", "parsed-value"])
27840
27887
  ], 2)), [
27841
27888
  [unref(ClickOutside), handleMaxTimeClose]
27842
27889
  ])
@@ -27902,7 +27949,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
27902
27949
  ]),
27903
27950
  _: 1
27904
27951
  })
27905
- ], 10, _hoisted_3$c)) : createCommentVNode("v-if", true),
27952
+ ], 10, _hoisted_3$d)) : createCommentVNode("v-if", true),
27906
27953
  createElementVNode("div", null, toDisplayString(unref(leftLabel)), 1)
27907
27954
  ], 2),
27908
27955
  createVNode(DateTable, {
@@ -28086,7 +28133,7 @@ const useMonthRangeHeader = ({
28086
28133
 
28087
28134
  const _hoisted_1$D = ["onClick"];
28088
28135
  const _hoisted_2$o = ["disabled"];
28089
- const _hoisted_3$b = ["disabled"];
28136
+ const _hoisted_3$c = ["disabled"];
28090
28137
  const unit = "year";
28091
28138
  const __default__$R = defineComponent({
28092
28139
  name: "DatePickerMonthRange"
@@ -28263,7 +28310,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
28263
28310
  ]),
28264
28311
  _: 1
28265
28312
  })
28266
- ], 10, _hoisted_3$b)) : createCommentVNode("v-if", true),
28313
+ ], 10, _hoisted_3$c)) : createCommentVNode("v-if", true),
28267
28314
  createElementVNode("button", {
28268
28315
  type: "button",
28269
28316
  class: normalizeClass([unref(ppNs).e("icon-btn"), "d-arrow-right"]),
@@ -28764,14 +28811,8 @@ const ElOverlay = Overlay$1;
28764
28811
  const dialogInjectionKey = Symbol("dialogInjectionKey");
28765
28812
 
28766
28813
  const dialogContentProps = buildProps({
28767
- center: {
28768
- type: Boolean,
28769
- default: false
28770
- },
28771
- alignCenter: {
28772
- type: Boolean,
28773
- default: false
28774
- },
28814
+ center: Boolean,
28815
+ alignCenter: Boolean,
28775
28816
  closeIcon: {
28776
28817
  type: iconPropType
28777
28818
  },
@@ -28779,14 +28820,8 @@ const dialogContentProps = buildProps({
28779
28820
  type: String,
28780
28821
  default: ""
28781
28822
  },
28782
- draggable: {
28783
- type: Boolean,
28784
- default: false
28785
- },
28786
- fullscreen: {
28787
- type: Boolean,
28788
- default: false
28789
- },
28823
+ draggable: Boolean,
28824
+ fullscreen: Boolean,
28790
28825
  showClose: {
28791
28826
  type: Boolean,
28792
28827
  default: true
@@ -28794,14 +28829,19 @@ const dialogContentProps = buildProps({
28794
28829
  title: {
28795
28830
  type: String,
28796
28831
  default: ""
28832
+ },
28833
+ ariaLevel: {
28834
+ type: String,
28835
+ default: "2"
28797
28836
  }
28798
28837
  });
28799
28838
  const dialogContentEmits = {
28800
28839
  close: () => true
28801
28840
  };
28802
28841
 
28803
- const _hoisted_1$B = ["aria-label"];
28804
- const _hoisted_2$n = ["id"];
28842
+ const _hoisted_1$B = ["aria-level"];
28843
+ const _hoisted_2$n = ["aria-label"];
28844
+ const _hoisted_3$b = ["id"];
28805
28845
  const __default__$O = defineComponent({ name: "ElDialogContent" });
28806
28846
  const _sfc_main$1d = /* @__PURE__ */ defineComponent({
28807
28847
  ...__default__$O,
@@ -28813,20 +28853,21 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
28813
28853
  const { Close } = CloseComponents;
28814
28854
  const { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey);
28815
28855
  const { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY);
28856
+ const dialogKls = computed$1(() => [
28857
+ ns.b(),
28858
+ ns.is("fullscreen", props.fullscreen),
28859
+ ns.is("draggable", props.draggable),
28860
+ ns.is("align-center", props.alignCenter),
28861
+ { [ns.m("center")]: props.center },
28862
+ props.customClass
28863
+ ]);
28816
28864
  const composedDialogRef = composeRefs(focusTrapRef, dialogRef);
28817
28865
  const draggable = computed$1(() => props.draggable);
28818
28866
  useDraggable(dialogRef, headerRef, draggable);
28819
28867
  return (_ctx, _cache) => {
28820
28868
  return openBlock(), createElementBlock("div", {
28821
28869
  ref: unref(composedDialogRef),
28822
- class: normalizeClass([
28823
- unref(ns).b(),
28824
- unref(ns).is("fullscreen", _ctx.fullscreen),
28825
- unref(ns).is("draggable", unref(draggable)),
28826
- unref(ns).is("align-center", _ctx.alignCenter),
28827
- { [unref(ns).m("center")]: _ctx.center },
28828
- _ctx.customClass
28829
- ]),
28870
+ class: normalizeClass(unref(dialogKls)),
28830
28871
  style: normalizeStyle(unref(style)),
28831
28872
  tabindex: "-1"
28832
28873
  }, [
@@ -28838,8 +28879,9 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
28838
28879
  renderSlot(_ctx.$slots, "header", {}, () => [
28839
28880
  createElementVNode("span", {
28840
28881
  role: "heading",
28882
+ "aria-level": _ctx.ariaLevel,
28841
28883
  class: normalizeClass(unref(ns).e("title"))
28842
- }, toDisplayString(_ctx.title), 3)
28884
+ }, toDisplayString(_ctx.title), 11, _hoisted_1$B)
28843
28885
  ]),
28844
28886
  _ctx.showClose ? (openBlock(), createElementBlock("button", {
28845
28887
  key: 0,
@@ -28856,14 +28898,14 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
28856
28898
  ]),
28857
28899
  _: 1
28858
28900
  }, 8, ["class"])
28859
- ], 10, _hoisted_1$B)) : createCommentVNode("v-if", true)
28901
+ ], 10, _hoisted_2$n)) : createCommentVNode("v-if", true)
28860
28902
  ], 2),
28861
28903
  createElementVNode("div", {
28862
28904
  id: unref(bodyId),
28863
28905
  class: normalizeClass(unref(ns).e("body"))
28864
28906
  }, [
28865
28907
  renderSlot(_ctx.$slots, "default")
28866
- ], 10, _hoisted_2$n),
28908
+ ], 10, _hoisted_3$b),
28867
28909
  _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", {
28868
28910
  key: 0,
28869
28911
  class: normalizeClass(unref(ns).e("footer"))
@@ -28878,17 +28920,11 @@ var ElDialogContent = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__file", "dia
28878
28920
 
28879
28921
  const dialogProps = buildProps({
28880
28922
  ...dialogContentProps,
28881
- appendToBody: {
28882
- type: Boolean,
28883
- default: false
28884
- },
28923
+ appendToBody: Boolean,
28885
28924
  beforeClose: {
28886
28925
  type: definePropType(Function)
28887
28926
  },
28888
- destroyOnClose: {
28889
- type: Boolean,
28890
- default: false
28891
- },
28927
+ destroyOnClose: Boolean,
28892
28928
  closeOnClickModal: {
28893
28929
  type: Boolean,
28894
28930
  default: true
@@ -28916,10 +28952,7 @@ const dialogProps = buildProps({
28916
28952
  top: {
28917
28953
  type: String
28918
28954
  },
28919
- modelValue: {
28920
- type: Boolean,
28921
- default: false
28922
- },
28955
+ modelValue: Boolean,
28923
28956
  modalClass: String,
28924
28957
  width: {
28925
28958
  type: [String, Number]
@@ -28930,6 +28963,10 @@ const dialogProps = buildProps({
28930
28963
  trapFocus: {
28931
28964
  type: Boolean,
28932
28965
  default: false
28966
+ },
28967
+ headerAriaLevel: {
28968
+ type: String,
28969
+ default: "2"
28933
28970
  }
28934
28971
  });
28935
28972
  const dialogEmits = {
@@ -29228,6 +29265,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
29228
29265
  fullscreen: _ctx.fullscreen,
29229
29266
  "show-close": _ctx.showClose,
29230
29267
  title: _ctx.title,
29268
+ "aria-level": _ctx.headerAriaLevel,
29231
29269
  onClose: unref(handleClose)
29232
29270
  }), createSlots({
29233
29271
  header: withCtx(() => [
@@ -29249,7 +29287,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
29249
29287
  renderSlot(_ctx.$slots, "footer")
29250
29288
  ])
29251
29289
  } : void 0
29252
- ]), 1040, ["custom-class", "center", "align-center", "close-icon", "draggable", "fullscreen", "show-close", "title", "onClose"])) : createCommentVNode("v-if", true)
29290
+ ]), 1040, ["custom-class", "center", "align-center", "close-icon", "draggable", "fullscreen", "show-close", "title", "aria-level", "onClose"])) : createCommentVNode("v-if", true)
29253
29291
  ]),
29254
29292
  _: 3
29255
29293
  }, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
@@ -29339,6 +29377,10 @@ const drawerProps = buildProps({
29339
29377
  modalFade: {
29340
29378
  type: Boolean,
29341
29379
  default: true
29380
+ },
29381
+ headerAriaLevel: {
29382
+ type: String,
29383
+ default: "2"
29342
29384
  }
29343
29385
  });
29344
29386
  const drawerEmits = dialogEmits;
@@ -29388,7 +29430,7 @@ const _sfc_main$1a = defineComponent({
29388
29430
  }
29389
29431
  });
29390
29432
  const _hoisted_1$z = ["aria-label", "aria-labelledby", "aria-describedby"];
29391
- const _hoisted_2$m = ["id"];
29433
+ const _hoisted_2$m = ["id", "aria-level"];
29392
29434
  const _hoisted_3$a = ["aria-label"];
29393
29435
  const _hoisted_4$7 = ["id"];
29394
29436
  function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
@@ -29455,6 +29497,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
29455
29497
  key: 0,
29456
29498
  id: _ctx.titleId,
29457
29499
  role: "heading",
29500
+ "aria-level": _ctx.headerAriaLevel,
29458
29501
  class: normalizeClass(_ctx.ns.e("title"))
29459
29502
  }, toDisplayString(_ctx.title), 11, _hoisted_2$m)) : createCommentVNode("v-if", true)
29460
29503
  ]) : renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
@@ -29999,20 +30042,20 @@ const _sfc_main$14 = defineComponent({
29999
30042
  maxHeight: addUnit(props.maxHeight)
30000
30043
  }));
30001
30044
  const dropdownTriggerKls = computed$1(() => [ns.m(dropdownSize.value)]);
30045
+ const trigger = computed$1(() => castArray$1(props.trigger));
30002
30046
  const defaultTriggerId = useId().value;
30003
30047
  const triggerId = computed$1(() => {
30004
30048
  return props.id || defaultTriggerId;
30005
30049
  });
30006
- watch([triggeringElementRef, toRef(props, "trigger")], ([triggeringElement, trigger], [prevTriggeringElement]) => {
30050
+ watch([triggeringElementRef, trigger], ([triggeringElement, trigger2], [prevTriggeringElement]) => {
30007
30051
  var _a, _b, _c;
30008
- const triggerArray = isArray$1(trigger) ? trigger : [trigger];
30009
30052
  if ((_a = prevTriggeringElement == null ? void 0 : prevTriggeringElement.$el) == null ? void 0 : _a.removeEventListener) {
30010
30053
  prevTriggeringElement.$el.removeEventListener("pointerenter", onAutofocusTriggerEnter);
30011
30054
  }
30012
30055
  if ((_b = triggeringElement == null ? void 0 : triggeringElement.$el) == null ? void 0 : _b.removeEventListener) {
30013
30056
  triggeringElement.$el.removeEventListener("pointerenter", onAutofocusTriggerEnter);
30014
30057
  }
30015
- if (((_c = triggeringElement == null ? void 0 : triggeringElement.$el) == null ? void 0 : _c.addEventListener) && triggerArray.includes("hover")) {
30058
+ if (((_c = triggeringElement == null ? void 0 : triggeringElement.$el) == null ? void 0 : _c.addEventListener) && trigger2.includes("hover")) {
30016
30059
  triggeringElement.$el.addEventListener("pointerenter", onAutofocusTriggerEnter);
30017
30060
  }
30018
30061
  }, { immediate: true });
@@ -30045,7 +30088,7 @@ const _sfc_main$14 = defineComponent({
30045
30088
  }
30046
30089
  function onItemLeave() {
30047
30090
  const contentEl = unref(contentRef);
30048
- contentEl == null ? void 0 : contentEl.focus();
30091
+ trigger.value.includes("hover") && (contentEl == null ? void 0 : contentEl.focus());
30049
30092
  currentTabId.value = null;
30050
30093
  }
30051
30094
  function handleCurrentTabIdChange(id) {
@@ -31721,7 +31764,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
31721
31764
  } else {
31722
31765
  innerInput.removeAttribute("aria-valuemin");
31723
31766
  }
31724
- innerInput.setAttribute("aria-valuenow", String(data.currentValue));
31767
+ innerInput.setAttribute("aria-valuenow", data.currentValue || data.currentValue === 0 ? String(data.currentValue) : "");
31725
31768
  innerInput.setAttribute("aria-disabled", String(inputNumberDisabled.value));
31726
31769
  if (!isNumber(modelValue) && modelValue != null) {
31727
31770
  let val = Number(modelValue);
@@ -31732,9 +31775,9 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
31732
31775
  }
31733
31776
  });
31734
31777
  onUpdated(() => {
31735
- var _a;
31778
+ var _a, _b;
31736
31779
  const innerInput = (_a = input.value) == null ? void 0 : _a.input;
31737
- innerInput == null ? void 0 : innerInput.setAttribute("aria-valuenow", `${data.currentValue}`);
31780
+ innerInput == null ? void 0 : innerInput.setAttribute("aria-valuenow", `${(_b = data.currentValue) != null ? _b : ""}`);
31738
31781
  });
31739
31782
  expose({
31740
31783
  focus,
@@ -32206,6 +32249,8 @@ var SubMenu = defineComponent({
32206
32249
  "left-start"
32207
32250
  ] : [
32208
32251
  "right-start",
32252
+ "right",
32253
+ "right-end",
32209
32254
  "left-start",
32210
32255
  "bottom-start",
32211
32256
  "bottom-end",
@@ -33175,10 +33220,7 @@ const _sfc_main$Q = defineComponent({
33175
33220
  },
33176
33221
  label: [String, Number],
33177
33222
  created: Boolean,
33178
- disabled: {
33179
- type: Boolean,
33180
- default: false
33181
- }
33223
+ disabled: Boolean
33182
33224
  },
33183
33225
  setup(props) {
33184
33226
  const ns = useNamespace("select");
@@ -33292,6 +33334,7 @@ function useSelectStates(props) {
33292
33334
  return reactive({
33293
33335
  options: /* @__PURE__ */ new Map(),
33294
33336
  cachedOptions: /* @__PURE__ */ new Map(),
33337
+ disabledOptions: /* @__PURE__ */ new Map(),
33295
33338
  createdLabel: null,
33296
33339
  createdSelected: false,
33297
33340
  selected: props.multiple ? [] : {},
@@ -33310,10 +33353,10 @@ function useSelectStates(props) {
33310
33353
  menuVisibleOnFocus: false,
33311
33354
  isOnComposition: false,
33312
33355
  prefixWidth: 11,
33313
- mouseEnter: false
33356
+ mouseEnter: false,
33357
+ focused: false
33314
33358
  });
33315
33359
  }
33316
- let ignoreFocusEvent = false;
33317
33360
  const useSelect$3 = (props, states, ctx) => {
33318
33361
  const { t } = useLocale();
33319
33362
  const ns = useNamespace("select");
@@ -33347,6 +33390,7 @@ const useSelect$3 = (props, states, ctx) => {
33347
33390
  });
33348
33391
  const iconComponent = computed$1(() => props.remote && props.filterable && !props.remoteShowSuffix ? "" : props.suffixIcon);
33349
33392
  const iconReverse = computed$1(() => ns.is("reverse", iconComponent.value && states.visible && props.suffixTransition));
33393
+ const showStatusIconAndState = computed$1(() => (form == null ? void 0 : form.statusIcon) && (formItem == null ? void 0 : formItem.validateState) && ValidateComponentsMap[formItem == null ? void 0 : formItem.validateState]);
33350
33394
  const debounce$1 = computed$1(() => props.remote ? 300 : 0);
33351
33395
  const emptyText = computed$1(() => {
33352
33396
  if (props.loading) {
@@ -33440,7 +33484,6 @@ const useSelect$3 = (props, states, ctx) => {
33440
33484
  props.remoteMethod("");
33441
33485
  }
33442
33486
  }
33443
- input.value && input.value.blur();
33444
33487
  states.query = "";
33445
33488
  states.previousQuery = null;
33446
33489
  states.selectedLabel = "";
@@ -33499,7 +33542,7 @@ const useSelect$3 = (props, states, ctx) => {
33499
33542
  resetInputHeight();
33500
33543
  }
33501
33544
  const inputs = ((_c = selectWrapper.value) == null ? void 0 : _c.querySelectorAll("input")) || [];
33502
- if (!Array.from(inputs).includes(document.activeElement)) {
33545
+ if (!props.filterable && !props.defaultFirstOption && !isUndefined(props.modelValue) || !Array.from(inputs).includes(document.activeElement)) {
33503
33546
  setSelected();
33504
33547
  }
33505
33548
  if (props.defaultFirstOption && (props.filterable || props.remote) && states.filteredOptionsCount) {
@@ -33551,9 +33594,11 @@ const useSelect$3 = (props, states, ctx) => {
33551
33594
  states.hoverIndex = -1;
33552
33595
  if (props.multiple && props.filterable) {
33553
33596
  nextTick(() => {
33554
- const length = input.value.value.length * 15 + 20;
33555
- states.inputLength = props.collapseTags ? Math.min(50, length) : length;
33556
- managePlaceholder();
33597
+ if (!selectDisabled.value) {
33598
+ const length = input.value.value.length * 15 + 20;
33599
+ states.inputLength = props.collapseTags ? Math.min(50, length) : length;
33600
+ managePlaceholder();
33601
+ }
33557
33602
  resetInputHeight();
33558
33603
  });
33559
33604
  }
@@ -33618,7 +33663,7 @@ const useSelect$3 = (props, states, ctx) => {
33618
33663
  let option;
33619
33664
  const isObjectValue = toRawType(value).toLowerCase() === "object";
33620
33665
  const isNull = toRawType(value).toLowerCase() === "null";
33621
- const isUndefined = toRawType(value).toLowerCase() === "undefined";
33666
+ const isUndefined2 = toRawType(value).toLowerCase() === "undefined";
33622
33667
  for (let i = states.cachedOptions.size - 1; i >= 0; i--) {
33623
33668
  const cachedOption = cachedOptionsArray.value[i];
33624
33669
  const isEqualValue = isObjectValue ? get(cachedOption.value, props.valueKey) === get(value, props.valueKey) : cachedOption.value === value;
@@ -33633,7 +33678,7 @@ const useSelect$3 = (props, states, ctx) => {
33633
33678
  }
33634
33679
  if (option)
33635
33680
  return option;
33636
- const label = isObjectValue ? value.label : !isNull && !isUndefined ? value : "";
33681
+ const label = isObjectValue ? value.label : !isNull && !isUndefined2 ? value : "";
33637
33682
  const newOption = {
33638
33683
  value,
33639
33684
  currentLabel: label
@@ -33690,12 +33735,16 @@ const useSelect$3 = (props, states, ctx) => {
33690
33735
  ctx.emit(CHANGE_EVENT, val);
33691
33736
  }
33692
33737
  };
33738
+ const getLastNotDisabledIndex = (value) => findLastIndex(value, (it) => !states.disabledOptions.has(it));
33693
33739
  const deletePrevTag = (e) => {
33694
33740
  if (e.code === EVENT_CODE.delete)
33695
33741
  return;
33696
33742
  if (e.target.value.length <= 0 && !toggleLastOptionHitState()) {
33697
33743
  const value = props.modelValue.slice();
33698
- value.pop();
33744
+ const lastNotDisabledIndex = getLastNotDisabledIndex(value);
33745
+ if (lastNotDisabledIndex < 0)
33746
+ return;
33747
+ value.splice(lastNotDisabledIndex, 1);
33699
33748
  ctx.emit(UPDATE_MODEL_EVENT, value);
33700
33749
  emitChange(value);
33701
33750
  }
@@ -33713,6 +33762,7 @@ const useSelect$3 = (props, states, ctx) => {
33713
33762
  ctx.emit("remove-tag", tag.value);
33714
33763
  }
33715
33764
  event.stopPropagation();
33765
+ focus();
33716
33766
  };
33717
33767
  const deleteSelected = (event) => {
33718
33768
  event.stopPropagation();
@@ -33728,6 +33778,7 @@ const useSelect$3 = (props, states, ctx) => {
33728
33778
  states.hoverIndex = -1;
33729
33779
  states.visible = false;
33730
33780
  ctx.emit("clear");
33781
+ focus();
33731
33782
  };
33732
33783
  const handleOptionSelect = (option) => {
33733
33784
  var _a;
@@ -33803,6 +33854,7 @@ const useSelect$3 = (props, states, ctx) => {
33803
33854
  states.filteredOptionsCount++;
33804
33855
  states.options.set(vm.value, vm);
33805
33856
  states.cachedOptions.set(vm.value, vm);
33857
+ vm.disabled && states.disabledOptions.set(vm.value, vm);
33806
33858
  };
33807
33859
  const onOptionDestroy = (key, vm) => {
33808
33860
  if (states.options.get(key) === vm) {
@@ -33820,7 +33872,8 @@ const useSelect$3 = (props, states, ctx) => {
33820
33872
  const toggleLastOptionHitState = (hit) => {
33821
33873
  if (!Array.isArray(states.selected))
33822
33874
  return;
33823
- const option = states.selected[states.selected.length - 1];
33875
+ const lastNotDisabledIndex = getLastNotDisabledIndex(states.selected.map((it) => it.value));
33876
+ const option = states.selected[lastNotDisabledIndex];
33824
33877
  if (!option)
33825
33878
  return;
33826
33879
  if (hit === true || hit === false) {
@@ -33844,16 +33897,23 @@ const useSelect$3 = (props, states, ctx) => {
33844
33897
  nextTick(() => scrollToOption(states.selected));
33845
33898
  };
33846
33899
  const handleFocus = (event) => {
33847
- if (!ignoreFocusEvent) {
33900
+ if (!states.focused) {
33848
33901
  if (props.automaticDropdown || props.filterable) {
33849
33902
  if (props.filterable && !states.visible) {
33850
33903
  states.menuVisibleOnFocus = true;
33851
33904
  }
33852
33905
  states.visible = true;
33853
33906
  }
33907
+ states.focused = true;
33854
33908
  ctx.emit("focus", event);
33909
+ }
33910
+ };
33911
+ const focus = () => {
33912
+ var _a, _b;
33913
+ if (states.visible) {
33914
+ (_a = input.value || reference.value) == null ? void 0 : _a.focus();
33855
33915
  } else {
33856
- ignoreFocusEvent = false;
33916
+ (_b = reference.value) == null ? void 0 : _b.focus();
33857
33917
  }
33858
33918
  };
33859
33919
  const blur = () => {
@@ -33863,15 +33923,13 @@ const useSelect$3 = (props, states, ctx) => {
33863
33923
  (_c = (_b = iOSInput.value) == null ? void 0 : _b.blur) == null ? void 0 : _c.call(_b);
33864
33924
  };
33865
33925
  const handleBlur = (event) => {
33866
- setTimeout(() => {
33867
- var _a;
33868
- if ((_a = tooltipRef.value) == null ? void 0 : _a.isFocusInsideContent()) {
33869
- ignoreFocusEvent = true;
33870
- return;
33871
- }
33872
- states.visible && handleClose();
33873
- ctx.emit("blur", event);
33874
- });
33926
+ var _a, _b, _c;
33927
+ if (((_a = tooltipRef.value) == null ? void 0 : _a.isFocusInsideContent(event)) || ((_b = tagTooltipRef.value) == null ? void 0 : _b.isFocusInsideContent(event)) || ((_c = selectWrapper.value) == null ? void 0 : _c.contains(event.relatedTarget))) {
33928
+ return;
33929
+ }
33930
+ states.visible && handleClose();
33931
+ states.focused = false;
33932
+ ctx.emit("blur", event);
33875
33933
  };
33876
33934
  const handleClearClick = (event) => {
33877
33935
  deleteSelected(event);
@@ -33887,7 +33945,6 @@ const useSelect$3 = (props, states, ctx) => {
33887
33945
  }
33888
33946
  };
33889
33947
  const toggleMenu = (e) => {
33890
- var _a;
33891
33948
  if (e && !states.mouseEnter) {
33892
33949
  return;
33893
33950
  }
@@ -33899,9 +33956,7 @@ const useSelect$3 = (props, states, ctx) => {
33899
33956
  states.visible = !states.visible;
33900
33957
  }
33901
33958
  }
33902
- if (states.visible) {
33903
- (_a = input.value || reference.value) == null ? void 0 : _a.focus();
33904
- }
33959
+ focus();
33905
33960
  }
33906
33961
  };
33907
33962
  const selectOption = () => {
@@ -33958,6 +34013,10 @@ const useSelect$3 = (props, states, ctx) => {
33958
34013
  deleteTag(event, tag);
33959
34014
  (_b = (_a = tagTooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);
33960
34015
  };
34016
+ const selectTagsStyle = computed$1(() => ({
34017
+ maxWidth: `${unref(states.inputWidth) - 32 - (showStatusIconAndState.value ? 22 : 0)}px`,
34018
+ width: "100%"
34019
+ }));
33961
34020
  return {
33962
34021
  optionList,
33963
34022
  optionsArray,
@@ -33988,6 +34047,7 @@ const useSelect$3 = (props, states, ctx) => {
33988
34047
  onOptionDestroy,
33989
34048
  handleMenuEnter,
33990
34049
  handleFocus,
34050
+ focus,
33991
34051
  blur,
33992
34052
  handleBlur,
33993
34053
  handleClearClick,
@@ -34003,6 +34063,7 @@ const useSelect$3 = (props, states, ctx) => {
34003
34063
  groupQueryChange,
34004
34064
  showTagList,
34005
34065
  collapseTagList,
34066
+ selectTagsStyle,
34006
34067
  reference,
34007
34068
  input,
34008
34069
  iOSInput,
@@ -34134,10 +34195,7 @@ const _sfc_main$O = defineComponent({
34134
34195
  default: "value"
34135
34196
  },
34136
34197
  collapseTags: Boolean,
34137
- collapseTagsTooltip: {
34138
- type: Boolean,
34139
- default: false
34140
- },
34198
+ collapseTagsTooltip: Boolean,
34141
34199
  maxCollapseTags: {
34142
34200
  type: Number,
34143
34201
  default: 1
@@ -34151,10 +34209,7 @@ const _sfc_main$O = defineComponent({
34151
34209
  type: iconPropType,
34152
34210
  default: circle_close_default
34153
34211
  },
34154
- fitInputWidth: {
34155
- type: Boolean,
34156
- default: false
34157
- },
34212
+ fitInputWidth: Boolean,
34158
34213
  suffixIcon: {
34159
34214
  type: iconPropType,
34160
34215
  default: arrow_down_default
@@ -34164,10 +34219,7 @@ const _sfc_main$O = defineComponent({
34164
34219
  type: Boolean,
34165
34220
  default: true
34166
34221
  },
34167
- remoteShowSuffix: {
34168
- type: Boolean,
34169
- default: false
34170
- },
34222
+ remoteShowSuffix: Boolean,
34171
34223
  suffixTransition: {
34172
34224
  type: Boolean,
34173
34225
  default: true
@@ -34176,6 +34228,10 @@ const _sfc_main$O = defineComponent({
34176
34228
  type: String,
34177
34229
  values: Ee,
34178
34230
  default: "bottom-start"
34231
+ },
34232
+ ariaLabel: {
34233
+ type: String,
34234
+ default: void 0
34179
34235
  }
34180
34236
  },
34181
34237
  emits: [
@@ -34222,6 +34278,7 @@ const _sfc_main$O = defineComponent({
34222
34278
  onOptionDestroy,
34223
34279
  handleMenuEnter,
34224
34280
  handleFocus,
34281
+ focus,
34225
34282
  blur,
34226
34283
  handleBlur,
34227
34284
  handleClearClick,
@@ -34246,9 +34303,9 @@ const _sfc_main$O = defineComponent({
34246
34303
  handleMouseEnter,
34247
34304
  handleMouseLeave,
34248
34305
  showTagList,
34249
- collapseTagList
34306
+ collapseTagList,
34307
+ selectTagsStyle
34250
34308
  } = useSelect$3(props, states, ctx);
34251
- const { focus } = useFocus(reference);
34252
34309
  const {
34253
34310
  inputWidth,
34254
34311
  selected,
@@ -34299,10 +34356,6 @@ const _sfc_main$O = defineComponent({
34299
34356
  const scrollbarKls = computed$1(() => [
34300
34357
  nsSelect.is("empty", !props.allowCreate && Boolean(unref(query)) && unref(filteredOptionsCount) === 0)
34301
34358
  ]);
34302
- const selectTagsStyle = computed$1(() => ({
34303
- maxWidth: `${unref(inputWidth) - 32}px`,
34304
- width: "100%"
34305
- }));
34306
34359
  const tagTextStyle = computed$1(() => {
34307
34360
  const maxWidth = unref(inputWidth) > 123 ? unref(inputWidth) - 123 : unref(inputWidth) - 75;
34308
34361
  return { maxWidth: `${maxWidth}px` };
@@ -34406,6 +34459,7 @@ const _sfc_main$O = defineComponent({
34406
34459
  handleComposition,
34407
34460
  handleMenuEnter,
34408
34461
  handleFocus,
34462
+ focus,
34409
34463
  blur,
34410
34464
  handleBlur,
34411
34465
  handleClearClick,
@@ -34416,7 +34470,6 @@ const _sfc_main$O = defineComponent({
34416
34470
  getValueKey,
34417
34471
  navigateOptions,
34418
34472
  dropMenuVisible,
34419
- focus,
34420
34473
  reference,
34421
34474
  input,
34422
34475
  iOSInput,
@@ -34443,7 +34496,7 @@ const _sfc_main$O = defineComponent({
34443
34496
  };
34444
34497
  }
34445
34498
  });
34446
- const _hoisted_1$n = ["disabled", "autocomplete"];
34499
+ const _hoisted_1$n = ["disabled", "autocomplete", "aria-label"];
34447
34500
  const _hoisted_2$f = ["disabled"];
34448
34501
  const _hoisted_3$8 = { style: { "height": "100%", "display": "flex", "justify-content": "center", "align-items": "center" } };
34449
34502
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
@@ -34459,9 +34512,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34459
34512
  return withDirectives((openBlock(), createElementBlock("div", {
34460
34513
  ref: "selectWrapper",
34461
34514
  class: normalizeClass(_ctx.wrapperKls),
34462
- onMouseenter: _cache[21] || (_cache[21] = (...args) => _ctx.handleMouseEnter && _ctx.handleMouseEnter(...args)),
34463
- onMouseleave: _cache[22] || (_cache[22] = (...args) => _ctx.handleMouseLeave && _ctx.handleMouseLeave(...args)),
34464
- onClick: _cache[23] || (_cache[23] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
34515
+ onMouseenter: _cache[22] || (_cache[22] = (...args) => _ctx.handleMouseEnter && _ctx.handleMouseEnter(...args)),
34516
+ onMouseleave: _cache[23] || (_cache[23] = (...args) => _ctx.handleMouseLeave && _ctx.handleMouseLeave(...args)),
34517
+ onClick: _cache[24] || (_cache[24] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
34465
34518
  }, [
34466
34519
  createVNode(_component_el_tooltip, {
34467
34520
  ref: "tooltipRef",
@@ -34483,14 +34536,16 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34483
34536
  default: withCtx(() => [
34484
34537
  createElementVNode("div", {
34485
34538
  class: "select-trigger",
34486
- onMouseenter: _cache[19] || (_cache[19] = ($event) => _ctx.inputHovering = true),
34487
- onMouseleave: _cache[20] || (_cache[20] = ($event) => _ctx.inputHovering = false)
34539
+ onMouseenter: _cache[20] || (_cache[20] = ($event) => _ctx.inputHovering = true),
34540
+ onMouseleave: _cache[21] || (_cache[21] = ($event) => _ctx.inputHovering = false)
34488
34541
  }, [
34489
34542
  _ctx.multiple ? (openBlock(), createElementBlock("div", {
34490
34543
  key: 0,
34491
34544
  ref: "tags",
34545
+ tabindex: "-1",
34492
34546
  class: normalizeClass(_ctx.tagsKls),
34493
- style: normalizeStyle(_ctx.selectTagsStyle)
34547
+ style: normalizeStyle(_ctx.selectTagsStyle),
34548
+ onClick: _cache[15] || (_cache[15] = (...args) => _ctx.focus && _ctx.focus(...args))
34494
34549
  }, [
34495
34550
  _ctx.collapseTags && _ctx.selected.length ? (openBlock(), createBlock(Transition, {
34496
34551
  key: 0,
@@ -34627,6 +34682,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34627
34682
  disabled: _ctx.selectDisabled,
34628
34683
  autocomplete: _ctx.autocomplete,
34629
34684
  style: normalizeStyle(_ctx.inputStyle),
34685
+ "aria-label": _ctx.ariaLabel,
34630
34686
  onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
34631
34687
  onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
34632
34688
  onKeyup: _cache[3] || (_cache[3] = (...args) => _ctx.managePlaceholder && _ctx.managePlaceholder(...args)),
@@ -34659,7 +34715,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34659
34715
  id: _ctx.id,
34660
34716
  ref: "reference",
34661
34717
  modelValue: _ctx.selectedLabel,
34662
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => _ctx.selectedLabel = $event),
34718
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => _ctx.selectedLabel = $event),
34663
34719
  type: "text",
34664
34720
  placeholder: typeof _ctx.currentPlaceholder === "function" ? _ctx.currentPlaceholder() : _ctx.currentPlaceholder,
34665
34721
  name: _ctx.name,
@@ -34670,6 +34726,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34670
34726
  "validate-event": false,
34671
34727
  class: normalizeClass([_ctx.nsSelect.is("focus", _ctx.visible)]),
34672
34728
  tabindex: _ctx.multiple && _ctx.filterable ? -1 : void 0,
34729
+ label: _ctx.ariaLabel,
34673
34730
  onFocus: _ctx.handleFocus,
34674
34731
  onBlur: _ctx.handleBlur,
34675
34732
  onInput: _ctx.debouncedOnInputChange,
@@ -34678,11 +34735,11 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34678
34735
  onCompositionupdate: _ctx.handleComposition,
34679
34736
  onCompositionend: _ctx.handleComposition,
34680
34737
  onKeydown: [
34681
- _cache[16] || (_cache[16] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
34682
- _cache[17] || (_cache[17] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
34738
+ _cache[17] || (_cache[17] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
34739
+ _cache[18] || (_cache[18] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
34683
34740
  withKeys(withModifiers(_ctx.selectOption, ["stop", "prevent"]), ["enter"]),
34684
34741
  withKeys(_ctx.handleKeydownEscape, ["esc"]),
34685
- _cache[18] || (_cache[18] = withKeys(($event) => _ctx.visible = false, ["tab"]))
34742
+ _cache[19] || (_cache[19] = withKeys(($event) => _ctx.visible = false, ["tab"]))
34686
34743
  ]
34687
34744
  }, createSlots({
34688
34745
  suffix: withCtx(() => [
@@ -34716,7 +34773,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34716
34773
  ])
34717
34774
  ])
34718
34775
  } : void 0
34719
- ]), 1032, ["id", "modelValue", "placeholder", "name", "autocomplete", "size", "disabled", "readonly", "class", "tabindex", "onFocus", "onBlur", "onInput", "onPaste", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onKeydown"])
34776
+ ]), 1032, ["id", "modelValue", "placeholder", "name", "autocomplete", "size", "disabled", "readonly", "class", "tabindex", "label", "onFocus", "onBlur", "onInput", "onPaste", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onKeydown"])
34720
34777
  ], 32)
34721
34778
  ]),
34722
34779
  content: withCtx(() => [
@@ -34769,10 +34826,7 @@ const _sfc_main$N = defineComponent({
34769
34826
  componentName: "ElOptionGroup",
34770
34827
  props: {
34771
34828
  label: String,
34772
- disabled: {
34773
- type: Boolean,
34774
- default: false
34775
- }
34829
+ disabled: Boolean
34776
34830
  },
34777
34831
  setup(props) {
34778
34832
  const ns = useNamespace("select");
@@ -41650,6 +41704,12 @@ const switchProps = buildProps({
41650
41704
  type: Boolean,
41651
41705
  default: false
41652
41706
  },
41707
+ inactiveActionIcon: {
41708
+ type: iconPropType
41709
+ },
41710
+ activeActionIcon: {
41711
+ type: iconPropType
41712
+ },
41653
41713
  activeIcon: {
41654
41714
  type: iconPropType
41655
41715
  },
@@ -41925,7 +41985,17 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
41925
41985
  createVNode(unref(loading_default))
41926
41986
  ]),
41927
41987
  _: 1
41928
- }, 8, ["class"])) : createCommentVNode("v-if", true)
41988
+ }, 8, ["class"])) : _ctx.activeActionIcon && unref(checked) ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
41989
+ default: withCtx(() => [
41990
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.activeActionIcon)))
41991
+ ]),
41992
+ _: 1
41993
+ })) : _ctx.inactiveActionIcon && !unref(checked) ? (openBlock(), createBlock(unref(ElIcon), { key: 2 }, {
41994
+ default: withCtx(() => [
41995
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.inactiveActionIcon)))
41996
+ ]),
41997
+ _: 1
41998
+ })) : createCommentVNode("v-if", true)
41929
41999
  ], 2)
41930
42000
  ], 6),
41931
42001
  !_ctx.inlinePrompt && (_ctx.activeIcon || _ctx.activeText) ? (openBlock(), createElementBlock("span", {
@@ -44458,8 +44528,16 @@ function useEvents(props) {
44458
44528
  const range = document.createRange();
44459
44529
  range.setStart(cellChild, 0);
44460
44530
  range.setEnd(cellChild, cellChild.childNodes.length);
44461
- const rangeWidth = Math.round(range.getBoundingClientRect().width);
44462
- const rangeHeight = Math.round(range.getBoundingClientRect().height);
44531
+ let rangeWidth = range.getBoundingClientRect().width;
44532
+ let rangeHeight = range.getBoundingClientRect().height;
44533
+ const offsetWidth = rangeWidth - Math.floor(rangeWidth);
44534
+ if (offsetWidth < 1e-3) {
44535
+ rangeWidth = Math.floor(rangeWidth);
44536
+ }
44537
+ const offsetHeight = rangeHeight - Math.floor(rangeHeight);
44538
+ if (offsetHeight < 1e-3) {
44539
+ rangeHeight = Math.floor(rangeHeight);
44540
+ }
44463
44541
  const { top, left, right, bottom } = getPadding(cellChild);
44464
44542
  const horizontalPadding = left + right;
44465
44543
  const verticalPadding = top + bottom;
@@ -44648,7 +44726,7 @@ function useRender$1(props) {
44648
44726
  if (!rowspan || !colspan) {
44649
44727
  return null;
44650
44728
  }
44651
- const columnData = { ...column };
44729
+ const columnData = Object.assign({}, column);
44652
44730
  columnData.realWidth = getColspanRealWidth(columns.value, colspan, cellIndex);
44653
44731
  const data = {
44654
44732
  store: props.store,
@@ -44833,11 +44911,7 @@ var TableBody = defineComponent({
44833
44911
  watch(props.store.states.hoverRow, (newVal, oldVal) => {
44834
44912
  if (!props.store.states.isComplex.value || !isClient)
44835
44913
  return;
44836
- let raf = window.requestAnimationFrame;
44837
- if (!raf) {
44838
- raf = (fn) => window.setTimeout(fn, 16);
44839
- }
44840
- raf(() => {
44914
+ rAF(() => {
44841
44915
  const el = instance == null ? void 0 : instance.vnode.el;
44842
44916
  const rows = Array.from((el == null ? void 0 : el.children) || []).filter((e) => e == null ? void 0 : e.classList.contains(`${ns.e("row")}`));
44843
44917
  const oldRow = rows[oldVal];
@@ -45873,7 +45947,7 @@ const getDefaultClassName = (type) => {
45873
45947
  };
45874
45948
  const cellForced = {
45875
45949
  selection: {
45876
- renderHeader({ store }) {
45950
+ renderHeader({ store, column }) {
45877
45951
  function isDisabled() {
45878
45952
  return store.states.data.value && store.states.data.value.length === 0;
45879
45953
  }
@@ -45882,7 +45956,8 @@ const cellForced = {
45882
45956
  size: store.states.tableSize.value,
45883
45957
  indeterminate: store.states.selection.value.length > 0 && !store.states.isAllSelected.value,
45884
45958
  "onUpdate:modelValue": store.toggleAllSelection,
45885
- modelValue: store.states.isAllSelected.value
45959
+ modelValue: store.states.isAllSelected.value,
45960
+ ariaLabel: column.label
45886
45961
  });
45887
45962
  },
45888
45963
  renderCell({
@@ -45898,7 +45973,8 @@ const cellForced = {
45898
45973
  store.commit("rowSelectedChanged", row);
45899
45974
  },
45900
45975
  onClick: (event) => event.stopPropagation(),
45901
- modelValue: store.isSelected(row)
45976
+ modelValue: store.isSelected(row),
45977
+ ariaLabel: column.label
45902
45978
  });
45903
45979
  },
45904
45980
  sortable: false,
@@ -46071,6 +46147,7 @@ function useWatcher(owner, props_) {
46071
46147
  "label",
46072
46148
  "filters",
46073
46149
  "filterMultiple",
46150
+ "filteredValue",
46074
46151
  "sortable",
46075
46152
  "index",
46076
46153
  "formatter",
@@ -48338,7 +48415,7 @@ const TableV2 = defineComponent({
48338
48415
  data: _data,
48339
48416
  fixedData,
48340
48417
  estimatedRowHeight,
48341
- bodyWidth: unref(bodyWidth),
48418
+ bodyWidth: unref(bodyWidth) + vScrollbarSize,
48342
48419
  headerHeight,
48343
48420
  headerWidth: unref(headerWidth),
48344
48421
  height: unref(mainTableHeight),
@@ -51569,7 +51646,7 @@ const _sfc_main$b = defineComponent({
51569
51646
  expanded.value = true;
51570
51647
  childNodeRendered.value = true;
51571
51648
  }
51572
- const childrenKey = tree.props["children"] || "children";
51649
+ const childrenKey = tree.props.props["children"] || "children";
51573
51650
  watch(() => {
51574
51651
  const children = props.node.data[childrenKey];
51575
51652
  return children && [...children];
@@ -53132,7 +53209,7 @@ function useTree(props, emit) {
53132
53209
  }
53133
53210
  function isCurrent(node) {
53134
53211
  const current = currentKey.value;
53135
- return !!current && current === node.key;
53212
+ return current !== void 0 && current === node.key;
53136
53213
  }
53137
53214
  function getCurrentNode() {
53138
53215
  var _a, _b;
@@ -53468,7 +53545,7 @@ const ajaxUpload = (option) => {
53468
53545
  const formData = new FormData();
53469
53546
  if (option.data) {
53470
53547
  for (const [key, value] of Object.entries(option.data)) {
53471
- if (Array.isArray(value))
53548
+ if (isArray$1(value) && value.length)
53472
53549
  formData.append(key, ...value);
53473
53550
  else
53474
53551
  formData.append(key, value);
@@ -54207,7 +54284,6 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
54207
54284
  props: uploadProps,
54208
54285
  setup(__props, { expose }) {
54209
54286
  const props = __props;
54210
- const slots = useSlots();
54211
54287
  const disabled = useFormDisabled();
54212
54288
  const uploadRef = shallowRef();
54213
54289
  const {
@@ -54263,8 +54339,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
54263
54339
  ref: uploadRef
54264
54340
  }, unref(uploadContentProps)), {
54265
54341
  default: withCtx(() => [
54266
- unref(slots).trigger ? renderSlot(_ctx.$slots, "trigger", { key: 0 }) : createCommentVNode("v-if", true),
54267
- !unref(slots).trigger && unref(slots).default ? renderSlot(_ctx.$slots, "default", { key: 1 }) : createCommentVNode("v-if", true)
54342
+ _ctx.$slots.trigger ? renderSlot(_ctx.$slots, "trigger", { key: 0 }) : createCommentVNode("v-if", true),
54343
+ !_ctx.$slots.trigger && _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 1 }) : createCommentVNode("v-if", true)
54268
54344
  ]),
54269
54345
  _: 3
54270
54346
  }, 16)
@@ -54284,8 +54360,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
54284
54360
  ref: uploadRef
54285
54361
  }, unref(uploadContentProps)), {
54286
54362
  default: withCtx(() => [
54287
- unref(slots).trigger ? renderSlot(_ctx.$slots, "trigger", { key: 0 }) : createCommentVNode("v-if", true),
54288
- !unref(slots).trigger && unref(slots).default ? renderSlot(_ctx.$slots, "default", { key: 1 }) : createCommentVNode("v-if", true)
54363
+ _ctx.$slots.trigger ? renderSlot(_ctx.$slots, "trigger", { key: 0 }) : createCommentVNode("v-if", true),
54364
+ !_ctx.$slots.trigger && _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 1 }) : createCommentVNode("v-if", true)
54289
54365
  ]),
54290
54366
  _: 3
54291
54367
  }, 16)) : createCommentVNode("v-if", true),