@element-plus/nightly 0.0.20241025 → 0.0.20241027

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 (448) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +353 -283
  4. package/dist/index.full.min.js +22 -22
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +22 -22
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +354 -285
  9. package/dist/locale/af.js +1 -1
  10. package/dist/locale/af.min.js +1 -1
  11. package/dist/locale/af.min.mjs +1 -1
  12. package/dist/locale/af.mjs +1 -1
  13. package/dist/locale/ar-eg.js +1 -1
  14. package/dist/locale/ar-eg.min.js +1 -1
  15. package/dist/locale/ar-eg.min.mjs +1 -1
  16. package/dist/locale/ar-eg.mjs +1 -1
  17. package/dist/locale/ar.js +1 -1
  18. package/dist/locale/ar.min.js +1 -1
  19. package/dist/locale/ar.min.mjs +1 -1
  20. package/dist/locale/ar.mjs +1 -1
  21. package/dist/locale/az.js +1 -1
  22. package/dist/locale/az.min.js +1 -1
  23. package/dist/locale/az.min.mjs +1 -1
  24. package/dist/locale/az.mjs +1 -1
  25. package/dist/locale/bg.js +1 -1
  26. package/dist/locale/bg.min.js +1 -1
  27. package/dist/locale/bg.min.mjs +1 -1
  28. package/dist/locale/bg.mjs +1 -1
  29. package/dist/locale/bn.js +1 -1
  30. package/dist/locale/bn.min.js +1 -1
  31. package/dist/locale/bn.min.mjs +1 -1
  32. package/dist/locale/bn.mjs +1 -1
  33. package/dist/locale/ca.js +1 -1
  34. package/dist/locale/ca.min.js +1 -1
  35. package/dist/locale/ca.min.mjs +1 -1
  36. package/dist/locale/ca.mjs +1 -1
  37. package/dist/locale/ckb.js +1 -1
  38. package/dist/locale/ckb.min.js +1 -1
  39. package/dist/locale/ckb.min.mjs +1 -1
  40. package/dist/locale/ckb.mjs +1 -1
  41. package/dist/locale/cs.js +1 -1
  42. package/dist/locale/cs.min.js +1 -1
  43. package/dist/locale/cs.min.mjs +1 -1
  44. package/dist/locale/cs.mjs +1 -1
  45. package/dist/locale/da.js +1 -1
  46. package/dist/locale/da.min.js +1 -1
  47. package/dist/locale/da.min.mjs +1 -1
  48. package/dist/locale/da.mjs +1 -1
  49. package/dist/locale/de.js +1 -1
  50. package/dist/locale/de.min.js +1 -1
  51. package/dist/locale/de.min.mjs +1 -1
  52. package/dist/locale/de.mjs +1 -1
  53. package/dist/locale/el.js +1 -1
  54. package/dist/locale/el.min.js +1 -1
  55. package/dist/locale/el.min.mjs +1 -1
  56. package/dist/locale/el.mjs +1 -1
  57. package/dist/locale/en.js +1 -1
  58. package/dist/locale/en.min.js +1 -1
  59. package/dist/locale/en.min.mjs +1 -1
  60. package/dist/locale/en.mjs +1 -1
  61. package/dist/locale/eo.js +1 -1
  62. package/dist/locale/eo.min.js +1 -1
  63. package/dist/locale/eo.min.mjs +1 -1
  64. package/dist/locale/eo.mjs +1 -1
  65. package/dist/locale/es.js +1 -1
  66. package/dist/locale/es.min.js +1 -1
  67. package/dist/locale/es.min.mjs +1 -1
  68. package/dist/locale/es.mjs +1 -1
  69. package/dist/locale/et.js +1 -1
  70. package/dist/locale/et.min.js +1 -1
  71. package/dist/locale/et.min.mjs +1 -1
  72. package/dist/locale/et.mjs +1 -1
  73. package/dist/locale/eu.js +1 -1
  74. package/dist/locale/eu.min.js +1 -1
  75. package/dist/locale/eu.min.mjs +1 -1
  76. package/dist/locale/eu.mjs +1 -1
  77. package/dist/locale/fa.js +1 -1
  78. package/dist/locale/fa.min.js +1 -1
  79. package/dist/locale/fa.min.mjs +1 -1
  80. package/dist/locale/fa.mjs +1 -1
  81. package/dist/locale/fi.js +1 -1
  82. package/dist/locale/fi.min.js +1 -1
  83. package/dist/locale/fi.min.mjs +1 -1
  84. package/dist/locale/fi.mjs +1 -1
  85. package/dist/locale/fr.js +1 -1
  86. package/dist/locale/fr.min.js +1 -1
  87. package/dist/locale/fr.min.mjs +1 -1
  88. package/dist/locale/fr.mjs +1 -1
  89. package/dist/locale/he.js +1 -1
  90. package/dist/locale/he.min.js +1 -1
  91. package/dist/locale/he.min.mjs +1 -1
  92. package/dist/locale/he.mjs +1 -1
  93. package/dist/locale/hr.js +1 -1
  94. package/dist/locale/hr.min.js +1 -1
  95. package/dist/locale/hr.min.mjs +1 -1
  96. package/dist/locale/hr.mjs +1 -1
  97. package/dist/locale/hu.js +1 -1
  98. package/dist/locale/hu.min.js +1 -1
  99. package/dist/locale/hu.min.mjs +1 -1
  100. package/dist/locale/hu.mjs +1 -1
  101. package/dist/locale/hy-am.js +1 -1
  102. package/dist/locale/hy-am.min.js +1 -1
  103. package/dist/locale/hy-am.min.mjs +1 -1
  104. package/dist/locale/hy-am.mjs +1 -1
  105. package/dist/locale/id.js +1 -1
  106. package/dist/locale/id.min.js +1 -1
  107. package/dist/locale/id.min.mjs +1 -1
  108. package/dist/locale/id.mjs +1 -1
  109. package/dist/locale/it.js +1 -1
  110. package/dist/locale/it.min.js +1 -1
  111. package/dist/locale/it.min.mjs +1 -1
  112. package/dist/locale/it.mjs +1 -1
  113. package/dist/locale/ja.js +1 -1
  114. package/dist/locale/ja.min.js +1 -1
  115. package/dist/locale/ja.min.mjs +1 -1
  116. package/dist/locale/ja.mjs +1 -1
  117. package/dist/locale/kk.js +1 -1
  118. package/dist/locale/kk.min.js +1 -1
  119. package/dist/locale/kk.min.mjs +1 -1
  120. package/dist/locale/kk.mjs +1 -1
  121. package/dist/locale/km.js +1 -1
  122. package/dist/locale/km.min.js +1 -1
  123. package/dist/locale/km.min.mjs +1 -1
  124. package/dist/locale/km.mjs +1 -1
  125. package/dist/locale/ko.js +1 -1
  126. package/dist/locale/ko.min.js +1 -1
  127. package/dist/locale/ko.min.mjs +1 -1
  128. package/dist/locale/ko.mjs +1 -1
  129. package/dist/locale/ku.js +1 -1
  130. package/dist/locale/ku.min.js +1 -1
  131. package/dist/locale/ku.min.mjs +1 -1
  132. package/dist/locale/ku.mjs +1 -1
  133. package/dist/locale/ky.js +1 -1
  134. package/dist/locale/ky.min.js +1 -1
  135. package/dist/locale/ky.min.mjs +1 -1
  136. package/dist/locale/ky.mjs +1 -1
  137. package/dist/locale/lt.js +1 -1
  138. package/dist/locale/lt.min.js +1 -1
  139. package/dist/locale/lt.min.mjs +1 -1
  140. package/dist/locale/lt.mjs +1 -1
  141. package/dist/locale/lv.js +1 -1
  142. package/dist/locale/lv.min.js +1 -1
  143. package/dist/locale/lv.min.mjs +1 -1
  144. package/dist/locale/lv.mjs +1 -1
  145. package/dist/locale/mg.js +1 -1
  146. package/dist/locale/mg.min.js +1 -1
  147. package/dist/locale/mg.min.mjs +1 -1
  148. package/dist/locale/mg.mjs +1 -1
  149. package/dist/locale/mn.js +1 -1
  150. package/dist/locale/mn.min.js +1 -1
  151. package/dist/locale/mn.min.mjs +1 -1
  152. package/dist/locale/mn.mjs +1 -1
  153. package/dist/locale/my.js +1 -1
  154. package/dist/locale/my.min.js +1 -1
  155. package/dist/locale/my.min.mjs +1 -1
  156. package/dist/locale/my.mjs +1 -1
  157. package/dist/locale/nb-no.js +1 -1
  158. package/dist/locale/nb-no.min.js +1 -1
  159. package/dist/locale/nb-no.min.mjs +1 -1
  160. package/dist/locale/nb-no.mjs +1 -1
  161. package/dist/locale/nl.js +1 -1
  162. package/dist/locale/nl.min.js +1 -1
  163. package/dist/locale/nl.min.mjs +1 -1
  164. package/dist/locale/nl.mjs +1 -1
  165. package/dist/locale/pa.js +1 -1
  166. package/dist/locale/pa.min.js +1 -1
  167. package/dist/locale/pa.min.mjs +1 -1
  168. package/dist/locale/pa.mjs +1 -1
  169. package/dist/locale/pl.js +1 -1
  170. package/dist/locale/pl.min.js +1 -1
  171. package/dist/locale/pl.min.mjs +1 -1
  172. package/dist/locale/pl.mjs +1 -1
  173. package/dist/locale/pt-br.js +1 -1
  174. package/dist/locale/pt-br.min.js +1 -1
  175. package/dist/locale/pt-br.min.mjs +1 -1
  176. package/dist/locale/pt-br.mjs +1 -1
  177. package/dist/locale/pt.js +1 -1
  178. package/dist/locale/pt.min.js +1 -1
  179. package/dist/locale/pt.min.mjs +1 -1
  180. package/dist/locale/pt.mjs +1 -1
  181. package/dist/locale/ro.js +1 -1
  182. package/dist/locale/ro.min.js +1 -1
  183. package/dist/locale/ro.min.mjs +1 -1
  184. package/dist/locale/ro.mjs +1 -1
  185. package/dist/locale/ru.js +1 -1
  186. package/dist/locale/ru.min.js +1 -1
  187. package/dist/locale/ru.min.mjs +1 -1
  188. package/dist/locale/ru.mjs +1 -1
  189. package/dist/locale/sk.js +1 -1
  190. package/dist/locale/sk.min.js +1 -1
  191. package/dist/locale/sk.min.mjs +1 -1
  192. package/dist/locale/sk.mjs +1 -1
  193. package/dist/locale/sl.js +1 -1
  194. package/dist/locale/sl.min.js +1 -1
  195. package/dist/locale/sl.min.mjs +1 -1
  196. package/dist/locale/sl.mjs +1 -1
  197. package/dist/locale/sr.js +1 -1
  198. package/dist/locale/sr.min.js +1 -1
  199. package/dist/locale/sr.min.mjs +1 -1
  200. package/dist/locale/sr.mjs +1 -1
  201. package/dist/locale/sv.js +1 -1
  202. package/dist/locale/sv.min.js +1 -1
  203. package/dist/locale/sv.min.mjs +1 -1
  204. package/dist/locale/sv.mjs +1 -1
  205. package/dist/locale/sw.js +1 -1
  206. package/dist/locale/sw.min.js +1 -1
  207. package/dist/locale/sw.min.mjs +1 -1
  208. package/dist/locale/sw.mjs +1 -1
  209. package/dist/locale/ta.js +1 -1
  210. package/dist/locale/ta.min.js +1 -1
  211. package/dist/locale/ta.min.mjs +1 -1
  212. package/dist/locale/ta.mjs +1 -1
  213. package/dist/locale/th.js +1 -1
  214. package/dist/locale/th.min.js +1 -1
  215. package/dist/locale/th.min.mjs +1 -1
  216. package/dist/locale/th.mjs +1 -1
  217. package/dist/locale/tk.js +1 -1
  218. package/dist/locale/tk.min.js +1 -1
  219. package/dist/locale/tk.min.mjs +1 -1
  220. package/dist/locale/tk.mjs +1 -1
  221. package/dist/locale/tr.js +1 -1
  222. package/dist/locale/tr.min.js +1 -1
  223. package/dist/locale/tr.min.mjs +1 -1
  224. package/dist/locale/tr.mjs +1 -1
  225. package/dist/locale/ug-cn.js +1 -1
  226. package/dist/locale/ug-cn.min.js +1 -1
  227. package/dist/locale/ug-cn.min.mjs +1 -1
  228. package/dist/locale/ug-cn.mjs +1 -1
  229. package/dist/locale/uk.js +1 -1
  230. package/dist/locale/uk.min.js +1 -1
  231. package/dist/locale/uk.min.mjs +1 -1
  232. package/dist/locale/uk.mjs +1 -1
  233. package/dist/locale/uz-uz.js +1 -1
  234. package/dist/locale/uz-uz.min.js +1 -1
  235. package/dist/locale/uz-uz.min.mjs +1 -1
  236. package/dist/locale/uz-uz.mjs +1 -1
  237. package/dist/locale/vi.js +1 -1
  238. package/dist/locale/vi.min.js +1 -1
  239. package/dist/locale/vi.min.mjs +1 -1
  240. package/dist/locale/vi.mjs +1 -1
  241. package/dist/locale/zh-cn.js +1 -1
  242. package/dist/locale/zh-cn.min.js +1 -1
  243. package/dist/locale/zh-cn.min.mjs +1 -1
  244. package/dist/locale/zh-cn.mjs +1 -1
  245. package/dist/locale/zh-tw.js +1 -1
  246. package/dist/locale/zh-tw.min.js +1 -1
  247. package/dist/locale/zh-tw.min.mjs +1 -1
  248. package/dist/locale/zh-tw.mjs +1 -1
  249. package/es/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
  250. package/es/components/button/src/button.vue.d.ts +1 -1
  251. package/es/components/carousel/index.mjs +2 -2
  252. package/es/components/carousel/src/carousel.mjs +62 -205
  253. package/es/components/carousel/src/carousel.mjs.map +1 -1
  254. package/es/components/carousel/src/carousel2.mjs +205 -62
  255. package/es/components/carousel/src/carousel2.mjs.map +1 -1
  256. package/es/components/cascader/src/cascader.vue.d.ts +1 -1
  257. package/es/components/checkbox/src/checkbox-button.vue.d.ts +1 -1
  258. package/es/components/checkbox/src/checkbox.vue.d.ts +1 -1
  259. package/es/components/col/index.mjs +2 -2
  260. package/es/components/col/src/col.mjs +66 -43
  261. package/es/components/col/src/col.mjs.map +1 -1
  262. package/es/components/col/src/col2.mjs +43 -66
  263. package/es/components/col/src/col2.mjs.map +1 -1
  264. package/es/components/date-picker/src/date-picker.d.ts +12 -3
  265. package/es/components/date-picker/src/date-picker.mjs +6 -2
  266. package/es/components/date-picker/src/date-picker.mjs.map +1 -1
  267. package/es/components/date-picker/src/instance.d.ts +2 -1
  268. package/es/components/date-picker/src/props/date-picker.d.ts +6 -1
  269. package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  270. package/es/components/dropdown/src/dropdown.vue.d.ts +4 -4
  271. package/es/components/form/src/form.vue.d.ts +1 -1
  272. package/es/components/index.mjs +5 -5
  273. package/es/components/input/src/input2.mjs +12 -24
  274. package/es/components/input/src/input2.mjs.map +1 -1
  275. package/es/components/link/src/link.vue.d.ts +1 -1
  276. package/es/components/mention/src/mention.vue.d.ts +4 -4
  277. package/es/components/pagination/src/components/total.mjs +27 -7
  278. package/es/components/pagination/src/components/total.mjs.map +1 -1
  279. package/es/components/pagination/src/components/total2.mjs +7 -27
  280. package/es/components/pagination/src/components/total2.mjs.map +1 -1
  281. package/es/components/pagination/src/pagination.d.ts +1 -1
  282. package/es/components/pagination/src/pagination.mjs +1 -1
  283. package/es/components/popover/src/popover.vue.d.ts +1 -1
  284. package/es/components/popper/src/trigger2.mjs +15 -12
  285. package/es/components/popper/src/trigger2.mjs.map +1 -1
  286. package/es/components/radio/src/radio-group.vue.d.ts +1 -1
  287. package/es/components/radio/src/radio.vue.d.ts +1 -1
  288. package/es/components/segmented/index.d.ts +4 -4
  289. package/es/components/segmented/src/segmented.vue.d.ts +1 -1
  290. package/es/components/select/src/select.vue.d.ts +7 -7
  291. package/es/components/select/src/useSelect.d.ts +6 -6
  292. package/es/components/select-v2/src/select.vue.d.ts +7 -7
  293. package/es/components/select-v2/src/useSelect.d.ts +6 -6
  294. package/es/components/slider/src/button2.mjs +2 -2
  295. package/es/components/slider/src/button2.mjs.map +1 -1
  296. package/es/components/slider/src/composables/use-slider-button.d.ts +3 -3
  297. package/es/components/slider/src/slider.vue.d.ts +1 -1
  298. package/es/components/statistic/index.mjs +2 -2
  299. package/es/components/statistic/src/statistic.mjs +25 -70
  300. package/es/components/statistic/src/statistic.mjs.map +1 -1
  301. package/es/components/statistic/src/statistic2.mjs +70 -25
  302. package/es/components/statistic/src/statistic2.mjs.map +1 -1
  303. package/es/components/switch/src/switch.vue.d.ts +1 -1
  304. package/es/components/table/src/filter-panel.vue.d.ts +3 -3
  305. package/es/components/time-picker/index.mjs +1 -1
  306. package/es/components/time-picker/src/common/picker-range-trigger.mjs +115 -0
  307. package/es/components/time-picker/src/common/picker-range-trigger.mjs.map +1 -0
  308. package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +78 -0
  309. package/es/components/time-picker/src/common/picker.mjs +97 -140
  310. package/es/components/time-picker/src/common/picker.mjs.map +1 -1
  311. package/es/components/time-picker/src/common/picker.vue.d.ts +15 -11
  312. package/es/components/time-picker/src/common/props.d.ts +28 -1
  313. package/es/components/time-picker/src/common/props.mjs +15 -3
  314. package/es/components/time-picker/src/common/props.mjs.map +1 -1
  315. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +5 -2
  316. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs.map +1 -1
  317. package/es/components/time-picker/src/time-picker.d.ts +12 -3
  318. package/es/components/time-picker/src/time-picker.mjs +4 -4
  319. package/es/components/time-picker/src/time-picker.mjs.map +1 -1
  320. package/es/components/time-select/src/time-select.vue.d.ts +1 -1
  321. package/es/components/tooltip/src/content.vue.d.ts +1 -1
  322. package/es/components/tooltip/src/tooltip.vue.d.ts +1 -1
  323. package/es/components/tooltip/src/trigger.vue.d.ts +1 -1
  324. package/es/components/tour/src/helper.mjs +1 -1
  325. package/es/components/tour/src/helper.mjs.map +1 -1
  326. package/es/components/transfer/index.mjs +2 -2
  327. package/es/components/transfer/src/composables/use-checked-change.mjs +1 -1
  328. package/es/components/transfer/src/transfer-panel.mjs +1 -1
  329. package/es/components/transfer/src/transfer.mjs +161 -69
  330. package/es/components/transfer/src/transfer.mjs.map +1 -1
  331. package/es/components/transfer/src/transfer2.mjs +69 -161
  332. package/es/components/transfer/src/transfer2.mjs.map +1 -1
  333. package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  334. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  335. package/es/components/upload/src/upload.vue.d.ts +1 -1
  336. package/es/hooks/use-id/index.d.ts +1 -1
  337. package/es/hooks/use-id/index.mjs +3 -3
  338. package/es/hooks/use-id/index.mjs.map +1 -1
  339. package/es/index.mjs +5 -5
  340. package/es/utils/dom/aria.mjs +1 -1
  341. package/es/utils/dom/aria.mjs.map +1 -1
  342. package/es/version.d.ts +1 -1
  343. package/es/version.mjs +1 -1
  344. package/es/version.mjs.map +1 -1
  345. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
  346. package/lib/components/button/src/button.vue.d.ts +1 -1
  347. package/lib/components/carousel/index.js +2 -2
  348. package/lib/components/carousel/src/carousel.js +63 -205
  349. package/lib/components/carousel/src/carousel.js.map +1 -1
  350. package/lib/components/carousel/src/carousel2.js +205 -63
  351. package/lib/components/carousel/src/carousel2.js.map +1 -1
  352. package/lib/components/cascader/src/cascader.vue.d.ts +1 -1
  353. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +1 -1
  354. package/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
  355. package/lib/components/col/index.js +2 -2
  356. package/lib/components/col/src/col.js +66 -43
  357. package/lib/components/col/src/col.js.map +1 -1
  358. package/lib/components/col/src/col2.js +43 -66
  359. package/lib/components/col/src/col2.js.map +1 -1
  360. package/lib/components/date-picker/src/date-picker.d.ts +12 -3
  361. package/lib/components/date-picker/src/date-picker.js +6 -2
  362. package/lib/components/date-picker/src/date-picker.js.map +1 -1
  363. package/lib/components/date-picker/src/instance.d.ts +2 -1
  364. package/lib/components/date-picker/src/props/date-picker.d.ts +6 -1
  365. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  366. package/lib/components/dropdown/src/dropdown.vue.d.ts +4 -4
  367. package/lib/components/form/src/form.vue.d.ts +1 -1
  368. package/lib/components/index.js +5 -4
  369. package/lib/components/index.js.map +1 -1
  370. package/lib/components/input/src/input2.js +11 -23
  371. package/lib/components/input/src/input2.js.map +1 -1
  372. package/lib/components/link/src/link.vue.d.ts +1 -1
  373. package/lib/components/mention/src/mention.vue.d.ts +4 -4
  374. package/lib/components/pagination/src/components/total.js +27 -7
  375. package/lib/components/pagination/src/components/total.js.map +1 -1
  376. package/lib/components/pagination/src/components/total2.js +7 -27
  377. package/lib/components/pagination/src/components/total2.js.map +1 -1
  378. package/lib/components/pagination/src/pagination.d.ts +1 -1
  379. package/lib/components/pagination/src/pagination.js +1 -1
  380. package/lib/components/popover/src/popover.vue.d.ts +1 -1
  381. package/lib/components/popper/src/trigger2.js +15 -12
  382. package/lib/components/popper/src/trigger2.js.map +1 -1
  383. package/lib/components/radio/src/radio-group.vue.d.ts +1 -1
  384. package/lib/components/radio/src/radio.vue.d.ts +1 -1
  385. package/lib/components/segmented/index.d.ts +4 -4
  386. package/lib/components/segmented/src/segmented.vue.d.ts +1 -1
  387. package/lib/components/select/src/select.vue.d.ts +7 -7
  388. package/lib/components/select/src/useSelect.d.ts +6 -6
  389. package/lib/components/select-v2/src/select.vue.d.ts +7 -7
  390. package/lib/components/select-v2/src/useSelect.d.ts +6 -6
  391. package/lib/components/slider/src/button2.js +2 -2
  392. package/lib/components/slider/src/button2.js.map +1 -1
  393. package/lib/components/slider/src/composables/use-slider-button.d.ts +3 -3
  394. package/lib/components/slider/src/slider.vue.d.ts +1 -1
  395. package/lib/components/statistic/index.js +2 -2
  396. package/lib/components/statistic/src/statistic.js +25 -70
  397. package/lib/components/statistic/src/statistic.js.map +1 -1
  398. package/lib/components/statistic/src/statistic2.js +70 -25
  399. package/lib/components/statistic/src/statistic2.js.map +1 -1
  400. package/lib/components/switch/src/switch.vue.d.ts +1 -1
  401. package/lib/components/table/src/filter-panel.vue.d.ts +3 -3
  402. package/lib/components/time-picker/index.js +1 -0
  403. package/lib/components/time-picker/index.js.map +1 -1
  404. package/lib/components/time-picker/src/common/picker-range-trigger.js +119 -0
  405. package/lib/components/time-picker/src/common/picker-range-trigger.js.map +1 -0
  406. package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +78 -0
  407. package/lib/components/time-picker/src/common/picker.js +101 -144
  408. package/lib/components/time-picker/src/common/picker.js.map +1 -1
  409. package/lib/components/time-picker/src/common/picker.vue.d.ts +15 -11
  410. package/lib/components/time-picker/src/common/props.d.ts +28 -1
  411. package/lib/components/time-picker/src/common/props.js +15 -2
  412. package/lib/components/time-picker/src/common/props.js.map +1 -1
  413. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js +5 -2
  414. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js.map +1 -1
  415. package/lib/components/time-picker/src/time-picker.d.ts +12 -3
  416. package/lib/components/time-picker/src/time-picker.js +4 -4
  417. package/lib/components/time-picker/src/time-picker.js.map +1 -1
  418. package/lib/components/time-select/src/time-select.vue.d.ts +1 -1
  419. package/lib/components/tooltip/src/content.vue.d.ts +1 -1
  420. package/lib/components/tooltip/src/tooltip.vue.d.ts +1 -1
  421. package/lib/components/tooltip/src/trigger.vue.d.ts +1 -1
  422. package/lib/components/tour/src/helper.js +1 -1
  423. package/lib/components/tour/src/helper.js.map +1 -1
  424. package/lib/components/transfer/index.js +2 -2
  425. package/lib/components/transfer/src/composables/use-checked-change.js +1 -1
  426. package/lib/components/transfer/src/transfer-panel.js +1 -1
  427. package/lib/components/transfer/src/transfer.js +161 -73
  428. package/lib/components/transfer/src/transfer.js.map +1 -1
  429. package/lib/components/transfer/src/transfer2.js +73 -161
  430. package/lib/components/transfer/src/transfer2.js.map +1 -1
  431. package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  432. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  433. package/lib/components/upload/src/upload.vue.d.ts +1 -1
  434. package/lib/hooks/use-id/index.d.ts +1 -1
  435. package/lib/hooks/use-id/index.js +2 -2
  436. package/lib/hooks/use-id/index.js.map +1 -1
  437. package/lib/index.js +5 -4
  438. package/lib/index.js.map +1 -1
  439. package/lib/utils/dom/aria.js +1 -1
  440. package/lib/utils/dom/aria.js.map +1 -1
  441. package/lib/version.d.ts +1 -1
  442. package/lib/version.js +1 -1
  443. package/lib/version.js.map +1 -1
  444. package/package.json +2 -2
  445. package/theme-chalk/el-popper.css +1 -1
  446. package/theme-chalk/index.css +1 -1
  447. package/theme-chalk/src/popper.scss +1 -1
  448. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20241025 */
1
+ /*! Element Plus v0.0.20241027 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -18,7 +18,7 @@
18
18
  if (element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute("tabIndex") !== null) {
19
19
  return true;
20
20
  }
21
- if (element.disabled) {
21
+ if (element.tabIndex < 0 || element.hasAttribute("disabled") || element.getAttribute("aria-disabled") === "true") {
22
22
  return false;
23
23
  }
24
24
  switch (element.nodeName) {
@@ -9645,7 +9645,7 @@
9645
9645
  const useId = (deterministicId) => {
9646
9646
  const idInjection = useIdInjection();
9647
9647
  const namespace = useGetDerivedNamespace();
9648
- const idRef = vue.computed(() => vue.unref(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`);
9648
+ const idRef = computedEager(() => vue.unref(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`);
9649
9649
  return idRef;
9650
9650
  };
9651
9651
 
@@ -11560,7 +11560,7 @@
11560
11560
 
11561
11561
  const ElConfigProvider = withInstall(ConfigProvider);
11562
11562
 
11563
- const version$1 = "0.0.20241025";
11563
+ const version$1 = "0.0.20241027";
11564
11564
 
11565
11565
  const makeInstaller = (components = []) => {
11566
11566
  const install = (app, options) => {
@@ -11610,11 +11610,11 @@
11610
11610
  };
11611
11611
 
11612
11612
  const COMPONENT_NAME$n = "ElAffix";
11613
- const __default__$1P = vue.defineComponent({
11613
+ const __default__$1Q = vue.defineComponent({
11614
11614
  name: COMPONENT_NAME$n
11615
11615
  });
11616
- const _sfc_main$2v = /* @__PURE__ */ vue.defineComponent({
11617
- ...__default__$1P,
11616
+ const _sfc_main$2w = /* @__PURE__ */ vue.defineComponent({
11617
+ ...__default__$1Q,
11618
11618
  props: affixProps,
11619
11619
  emits: affixEmits,
11620
11620
  setup(__props, { expose, emit }) {
@@ -11719,7 +11719,7 @@
11719
11719
  };
11720
11720
  }
11721
11721
  });
11722
- var Affix = /* @__PURE__ */ _export_sfc(_sfc_main$2v, [["__file", "affix.vue"]]);
11722
+ var Affix = /* @__PURE__ */ _export_sfc(_sfc_main$2w, [["__file", "affix.vue"]]);
11723
11723
 
11724
11724
  const ElAffix = withInstall(Affix);
11725
11725
 
@@ -11732,12 +11732,12 @@
11732
11732
  }
11733
11733
  });
11734
11734
 
11735
- const __default__$1O = vue.defineComponent({
11735
+ const __default__$1P = vue.defineComponent({
11736
11736
  name: "ElIcon",
11737
11737
  inheritAttrs: false
11738
11738
  });
11739
- const _sfc_main$2u = /* @__PURE__ */ vue.defineComponent({
11740
- ...__default__$1O,
11739
+ const _sfc_main$2v = /* @__PURE__ */ vue.defineComponent({
11740
+ ...__default__$1P,
11741
11741
  props: iconProps,
11742
11742
  setup(__props) {
11743
11743
  const props = __props;
@@ -11761,7 +11761,7 @@
11761
11761
  };
11762
11762
  }
11763
11763
  });
11764
- var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$2u, [["__file", "icon.vue"]]);
11764
+ var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$2v, [["__file", "icon.vue"]]);
11765
11765
 
11766
11766
  const ElIcon = withInstall(Icon);
11767
11767
 
@@ -11800,11 +11800,11 @@
11800
11800
  close: (evt) => evt instanceof MouseEvent
11801
11801
  };
11802
11802
 
11803
- const __default__$1N = vue.defineComponent({
11803
+ const __default__$1O = vue.defineComponent({
11804
11804
  name: "ElAlert"
11805
11805
  });
11806
- const _sfc_main$2t = /* @__PURE__ */ vue.defineComponent({
11807
- ...__default__$1N,
11806
+ const _sfc_main$2u = /* @__PURE__ */ vue.defineComponent({
11807
+ ...__default__$1O,
11808
11808
  props: alertProps,
11809
11809
  emits: alertEmits,
11810
11810
  setup(__props, { emit }) {
@@ -11889,7 +11889,7 @@
11889
11889
  };
11890
11890
  }
11891
11891
  });
11892
- var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2t, [["__file", "alert.vue"]]);
11892
+ var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2u, [["__file", "alert.vue"]]);
11893
11893
 
11894
11894
  const ElAlert = withInstall(Alert);
11895
11895
 
@@ -12054,11 +12054,11 @@
12054
12054
  };
12055
12055
 
12056
12056
  const COMPONENT_NAME$m = "ElForm";
12057
- const __default__$1M = vue.defineComponent({
12057
+ const __default__$1N = vue.defineComponent({
12058
12058
  name: COMPONENT_NAME$m
12059
12059
  });
12060
- const _sfc_main$2s = /* @__PURE__ */ vue.defineComponent({
12061
- ...__default__$1M,
12060
+ const _sfc_main$2t = /* @__PURE__ */ vue.defineComponent({
12061
+ ...__default__$1N,
12062
12062
  props: formProps,
12063
12063
  emits: formEmits,
12064
12064
  setup(__props, { expose, emit }) {
@@ -12191,7 +12191,7 @@
12191
12191
  };
12192
12192
  }
12193
12193
  });
12194
- var Form = /* @__PURE__ */ _export_sfc(_sfc_main$2s, [["__file", "form.vue"]]);
12194
+ var Form = /* @__PURE__ */ _export_sfc(_sfc_main$2t, [["__file", "form.vue"]]);
12195
12195
 
12196
12196
  function _extends() {
12197
12197
  _extends = Object.assign ? Object.assign.bind() : function(target) {
@@ -13375,11 +13375,11 @@
13375
13375
  }
13376
13376
  });
13377
13377
 
13378
- const __default__$1L = vue.defineComponent({
13378
+ const __default__$1M = vue.defineComponent({
13379
13379
  name: "ElFormItem"
13380
13380
  });
13381
- const _sfc_main$2r = /* @__PURE__ */ vue.defineComponent({
13382
- ...__default__$1L,
13381
+ const _sfc_main$2s = /* @__PURE__ */ vue.defineComponent({
13382
+ ...__default__$1M,
13383
13383
  props: formItemProps,
13384
13384
  setup(__props, { expose }) {
13385
13385
  const props = __props;
@@ -13679,7 +13679,7 @@
13679
13679
  };
13680
13680
  }
13681
13681
  });
13682
- var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$2r, [["__file", "form-item.vue"]]);
13682
+ var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$2s, [["__file", "form-item.vue"]]);
13683
13683
 
13684
13684
  const ElForm = withInstall(Form, {
13685
13685
  FormItem
@@ -13857,27 +13857,19 @@
13857
13857
  compositionend: (evt) => evt instanceof CompositionEvent
13858
13858
  };
13859
13859
 
13860
- const __default__$1K = vue.defineComponent({
13860
+ const __default__$1L = vue.defineComponent({
13861
13861
  name: "ElInput",
13862
13862
  inheritAttrs: false
13863
13863
  });
13864
- const _sfc_main$2q = /* @__PURE__ */ vue.defineComponent({
13865
- ...__default__$1K,
13864
+ const _sfc_main$2r = /* @__PURE__ */ vue.defineComponent({
13865
+ ...__default__$1L,
13866
13866
  props: inputProps,
13867
13867
  emits: inputEmits,
13868
13868
  setup(__props, { expose, emit }) {
13869
13869
  const props = __props;
13870
13870
  const rawAttrs = vue.useAttrs();
13871
+ const attrs = useAttrs();
13871
13872
  const slots = vue.useSlots();
13872
- const containerAttrs = vue.computed(() => {
13873
- const comboBoxAttrs = {};
13874
- if (props.containerRole === "combobox") {
13875
- comboBoxAttrs["aria-haspopup"] = rawAttrs["aria-haspopup"];
13876
- comboBoxAttrs["aria-owns"] = rawAttrs["aria-owns"];
13877
- comboBoxAttrs["aria-expanded"] = rawAttrs["aria-expanded"];
13878
- }
13879
- return comboBoxAttrs;
13880
- });
13881
13873
  const containerKls = vue.computed(() => [
13882
13874
  props.type === "textarea" ? nsTextarea.b() : nsInput.b(),
13883
13875
  nsInput.m(inputSize.value),
@@ -13896,11 +13888,6 @@
13896
13888
  nsInput.e("wrapper"),
13897
13889
  nsInput.is("focus", isFocused.value)
13898
13890
  ]);
13899
- const attrs = useAttrs({
13900
- excludeKeys: vue.computed(() => {
13901
- return Object.keys(containerAttrs.value);
13902
- })
13903
- });
13904
13891
  const { form: elForm, formItem: elFormItem } = useFormItem();
13905
13892
  const { inputId } = useFormItemInputId(props, {
13906
13893
  formItemContext: elFormItem
@@ -14096,19 +14083,18 @@
14096
14083
  resizeTextarea
14097
14084
  });
14098
14085
  return (_ctx, _cache) => {
14099
- return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps(vue.unref(containerAttrs), {
14100
- class: [
14086
+ return vue.openBlock(), vue.createElementBlock("div", {
14087
+ class: vue.normalizeClass([
14101
14088
  vue.unref(containerKls),
14102
14089
  {
14103
14090
  [vue.unref(nsInput).bm("group", "append")]: _ctx.$slots.append,
14104
14091
  [vue.unref(nsInput).bm("group", "prepend")]: _ctx.$slots.prepend
14105
14092
  }
14106
- ],
14107
- style: vue.unref(containerStyle),
14108
- role: _ctx.containerRole,
14093
+ ]),
14094
+ style: vue.normalizeStyle(vue.unref(containerStyle)),
14109
14095
  onMouseenter: handleMouseEnter,
14110
14096
  onMouseleave: handleMouseLeave
14111
- }), [
14097
+ }, [
14112
14098
  vue.createCommentVNode(" input "),
14113
14099
  _ctx.type !== "textarea" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
14114
14100
  vue.createCommentVNode(" prepend slot "),
@@ -14161,13 +14147,14 @@
14161
14147
  style: _ctx.inputStyle,
14162
14148
  form: _ctx.form,
14163
14149
  autofocus: _ctx.autofocus,
14150
+ role: _ctx.containerRole,
14164
14151
  onCompositionstart: vue.unref(handleCompositionStart),
14165
14152
  onCompositionupdate: vue.unref(handleCompositionUpdate),
14166
14153
  onCompositionend: vue.unref(handleCompositionEnd),
14167
14154
  onInput: handleInput,
14168
14155
  onChange: handleChange,
14169
14156
  onKeydown: handleKeydown
14170
- }), null, 16, ["id", "minlength", "maxlength", "type", "disabled", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus", "onCompositionstart", "onCompositionupdate", "onCompositionend"]),
14157
+ }), null, 16, ["id", "minlength", "maxlength", "type", "disabled", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus", "role", "onCompositionstart", "onCompositionupdate", "onCompositionend"]),
14171
14158
  vue.createCommentVNode(" suffix slot "),
14172
14159
  vue.unref(suffixVisible) ? (vue.openBlock(), vue.createElementBlock("span", {
14173
14160
  key: 1,
@@ -14260,6 +14247,7 @@
14260
14247
  form: _ctx.form,
14261
14248
  autofocus: _ctx.autofocus,
14262
14249
  rows: _ctx.rows,
14250
+ role: _ctx.containerRole,
14263
14251
  onCompositionstart: vue.unref(handleCompositionStart),
14264
14252
  onCompositionupdate: vue.unref(handleCompositionUpdate),
14265
14253
  onCompositionend: vue.unref(handleCompositionEnd),
@@ -14268,18 +14256,18 @@
14268
14256
  onBlur: vue.unref(handleBlur),
14269
14257
  onChange: handleChange,
14270
14258
  onKeydown: handleKeydown
14271
- }), null, 16, ["id", "minlength", "maxlength", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus", "rows", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onFocus", "onBlur"]),
14259
+ }), null, 16, ["id", "minlength", "maxlength", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus", "rows", "role", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onFocus", "onBlur"]),
14272
14260
  vue.unref(isWordLimitVisible) ? (vue.openBlock(), vue.createElementBlock("span", {
14273
14261
  key: 0,
14274
14262
  style: vue.normalizeStyle(countStyle.value),
14275
14263
  class: vue.normalizeClass(vue.unref(nsInput).e("count"))
14276
14264
  }, vue.toDisplayString(vue.unref(textLength)) + " / " + vue.toDisplayString(_ctx.maxlength), 7)) : vue.createCommentVNode("v-if", true)
14277
14265
  ], 64))
14278
- ], 16, ["role"]);
14266
+ ], 38);
14279
14267
  };
14280
14268
  }
14281
14269
  });
14282
- var Input = /* @__PURE__ */ _export_sfc(_sfc_main$2q, [["__file", "input.vue"]]);
14270
+ var Input = /* @__PURE__ */ _export_sfc(_sfc_main$2r, [["__file", "input.vue"]]);
14283
14271
 
14284
14272
  const ElInput = withInstall(Input);
14285
14273
 
@@ -14329,7 +14317,7 @@
14329
14317
  });
14330
14318
 
14331
14319
  const COMPONENT_NAME$k = "Thumb";
14332
- const _sfc_main$2p = /* @__PURE__ */ vue.defineComponent({
14320
+ const _sfc_main$2q = /* @__PURE__ */ vue.defineComponent({
14333
14321
  __name: "thumb",
14334
14322
  props: thumbProps,
14335
14323
  setup(__props) {
@@ -14448,7 +14436,7 @@
14448
14436
  };
14449
14437
  }
14450
14438
  });
14451
- var Thumb = /* @__PURE__ */ _export_sfc(_sfc_main$2p, [["__file", "thumb.vue"]]);
14439
+ var Thumb = /* @__PURE__ */ _export_sfc(_sfc_main$2q, [["__file", "thumb.vue"]]);
14452
14440
 
14453
14441
  const barProps = buildProps({
14454
14442
  always: {
@@ -14461,7 +14449,7 @@
14461
14449
  }
14462
14450
  });
14463
14451
 
14464
- const _sfc_main$2o = /* @__PURE__ */ vue.defineComponent({
14452
+ const _sfc_main$2p = /* @__PURE__ */ vue.defineComponent({
14465
14453
  __name: "bar",
14466
14454
  props: barProps,
14467
14455
  setup(__props, { expose }) {
@@ -14519,7 +14507,7 @@
14519
14507
  };
14520
14508
  }
14521
14509
  });
14522
- var Bar = /* @__PURE__ */ _export_sfc(_sfc_main$2o, [["__file", "bar.vue"]]);
14510
+ var Bar = /* @__PURE__ */ _export_sfc(_sfc_main$2p, [["__file", "bar.vue"]]);
14523
14511
 
14524
14512
  const scrollbarProps = buildProps({
14525
14513
  height: {
@@ -14576,11 +14564,11 @@
14576
14564
  };
14577
14565
 
14578
14566
  const COMPONENT_NAME$j = "ElScrollbar";
14579
- const __default__$1J = vue.defineComponent({
14567
+ const __default__$1K = vue.defineComponent({
14580
14568
  name: COMPONENT_NAME$j
14581
14569
  });
14582
- const _sfc_main$2n = /* @__PURE__ */ vue.defineComponent({
14583
- ...__default__$1J,
14570
+ const _sfc_main$2o = /* @__PURE__ */ vue.defineComponent({
14571
+ ...__default__$1K,
14584
14572
  props: scrollbarProps,
14585
14573
  emits: scrollbarEmits,
14586
14574
  setup(__props, { expose, emit }) {
@@ -14732,7 +14720,7 @@
14732
14720
  };
14733
14721
  }
14734
14722
  });
14735
- var Scrollbar$1 = /* @__PURE__ */ _export_sfc(_sfc_main$2n, [["__file", "scrollbar.vue"]]);
14723
+ var Scrollbar$1 = /* @__PURE__ */ _export_sfc(_sfc_main$2o, [["__file", "scrollbar.vue"]]);
14736
14724
 
14737
14725
  const ElScrollbar = withInstall(Scrollbar$1);
14738
14726
 
@@ -14762,12 +14750,12 @@
14762
14750
  });
14763
14751
  const usePopperProps = popperProps;
14764
14752
 
14765
- const __default__$1I = vue.defineComponent({
14753
+ const __default__$1J = vue.defineComponent({
14766
14754
  name: "ElPopper",
14767
14755
  inheritAttrs: false
14768
14756
  });
14769
- const _sfc_main$2m = /* @__PURE__ */ vue.defineComponent({
14770
- ...__default__$1I,
14757
+ const _sfc_main$2n = /* @__PURE__ */ vue.defineComponent({
14758
+ ...__default__$1J,
14771
14759
  props: popperProps,
14772
14760
  setup(__props, { expose }) {
14773
14761
  const props = __props;
@@ -14790,7 +14778,7 @@
14790
14778
  };
14791
14779
  }
14792
14780
  });
14793
- var Popper = /* @__PURE__ */ _export_sfc(_sfc_main$2m, [["__file", "popper.vue"]]);
14781
+ var Popper = /* @__PURE__ */ _export_sfc(_sfc_main$2n, [["__file", "popper.vue"]]);
14794
14782
 
14795
14783
  const popperArrowProps = buildProps({
14796
14784
  arrowOffset: {
@@ -14800,12 +14788,12 @@
14800
14788
  });
14801
14789
  const usePopperArrowProps = popperArrowProps;
14802
14790
 
14803
- const __default__$1H = vue.defineComponent({
14791
+ const __default__$1I = vue.defineComponent({
14804
14792
  name: "ElPopperArrow",
14805
14793
  inheritAttrs: false
14806
14794
  });
14807
- const _sfc_main$2l = /* @__PURE__ */ vue.defineComponent({
14808
- ...__default__$1H,
14795
+ const _sfc_main$2m = /* @__PURE__ */ vue.defineComponent({
14796
+ ...__default__$1I,
14809
14797
  props: popperArrowProps,
14810
14798
  setup(__props, { expose }) {
14811
14799
  const props = __props;
@@ -14831,7 +14819,7 @@
14831
14819
  };
14832
14820
  }
14833
14821
  });
14834
- var ElPopperArrow = /* @__PURE__ */ _export_sfc(_sfc_main$2l, [["__file", "arrow.vue"]]);
14822
+ var ElPopperArrow = /* @__PURE__ */ _export_sfc(_sfc_main$2m, [["__file", "arrow.vue"]]);
14835
14823
 
14836
14824
  const NAME = "ElOnlyChild";
14837
14825
  const OnlyChild = vue.defineComponent({
@@ -14919,12 +14907,12 @@
14919
14907
  });
14920
14908
  const usePopperTriggerProps = popperTriggerProps;
14921
14909
 
14922
- const __default__$1G = vue.defineComponent({
14910
+ const __default__$1H = vue.defineComponent({
14923
14911
  name: "ElPopperTrigger",
14924
14912
  inheritAttrs: false
14925
14913
  });
14926
- const _sfc_main$2k = /* @__PURE__ */ vue.defineComponent({
14927
- ...__default__$1G,
14914
+ const _sfc_main$2l = /* @__PURE__ */ vue.defineComponent({
14915
+ ...__default__$1H,
14928
14916
  props: popperTriggerProps,
14929
14917
  setup(__props, { expose }) {
14930
14918
  const props = __props;
@@ -14978,18 +14966,20 @@
14978
14966
  (_a = prevEl == null ? void 0 : prevEl.removeEventListener) == null ? void 0 : _a.call(prevEl, eventName.slice(2).toLowerCase(), handler);
14979
14967
  }
14980
14968
  });
14981
- virtualTriggerAriaStopWatch = vue.watch([ariaControls, ariaDescribedby, ariaHaspopup, ariaExpanded], (watches) => {
14982
- [
14983
- "aria-controls",
14984
- "aria-describedby",
14985
- "aria-haspopup",
14986
- "aria-expanded"
14987
- ].forEach((key, idx) => {
14988
- isNil(watches[idx]) ? el.removeAttribute(key) : el.setAttribute(key, watches[idx]);
14989
- });
14990
- }, { immediate: true });
14969
+ if (isFocusable(el)) {
14970
+ virtualTriggerAriaStopWatch = vue.watch([ariaControls, ariaDescribedby, ariaHaspopup, ariaExpanded], (watches) => {
14971
+ [
14972
+ "aria-controls",
14973
+ "aria-describedby",
14974
+ "aria-haspopup",
14975
+ "aria-expanded"
14976
+ ].forEach((key, idx) => {
14977
+ isNil(watches[idx]) ? el.removeAttribute(key) : el.setAttribute(key, watches[idx]);
14978
+ });
14979
+ }, { immediate: true });
14980
+ }
14991
14981
  }
14992
- if (isElement$1(prevEl)) {
14982
+ if (isElement$1(prevEl) && isFocusable(prevEl)) {
14993
14983
  [
14994
14984
  "aria-controls",
14995
14985
  "aria-describedby",
@@ -15033,7 +15023,7 @@
15033
15023
  };
15034
15024
  }
15035
15025
  });
15036
- var ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["__file", "trigger.vue"]]);
15026
+ var ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$2l, [["__file", "trigger.vue"]]);
15037
15027
 
15038
15028
  const FOCUS_AFTER_TRAPPED = "focus-trap.focus-after-trapped";
15039
15029
  const FOCUS_AFTER_RELEASED = "focus-trap.focus-after-released";
@@ -15183,7 +15173,7 @@
15183
15173
  });
15184
15174
  };
15185
15175
 
15186
- const _sfc_main$2j = vue.defineComponent({
15176
+ const _sfc_main$2k = vue.defineComponent({
15187
15177
  name: "ElFocusTrap",
15188
15178
  inheritAttrs: false,
15189
15179
  props: {
@@ -15428,7 +15418,7 @@
15428
15418
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
15429
15419
  return vue.renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
15430
15420
  }
15431
- var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["render", _sfc_render$u], ["__file", "focus-trap.vue"]]);
15421
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["render", _sfc_render$u], ["__file", "focus-trap.vue"]]);
15432
15422
 
15433
15423
  const POSITIONING_STRATEGIES = ["fixed", "absolute"];
15434
15424
  const popperCoreConfigProps = buildProps({
@@ -15719,11 +15709,11 @@
15719
15709
  };
15720
15710
  };
15721
15711
 
15722
- const __default__$1F = vue.defineComponent({
15712
+ const __default__$1G = vue.defineComponent({
15723
15713
  name: "ElPopperContent"
15724
15714
  });
15725
- const _sfc_main$2i = /* @__PURE__ */ vue.defineComponent({
15726
- ...__default__$1F,
15715
+ const _sfc_main$2j = /* @__PURE__ */ vue.defineComponent({
15716
+ ...__default__$1G,
15727
15717
  props: popperContentProps,
15728
15718
  emits: popperContentEmits,
15729
15719
  setup(__props, { expose, emit }) {
@@ -15839,7 +15829,7 @@
15839
15829
  };
15840
15830
  }
15841
15831
  });
15842
- var ElPopperContent = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["__file", "content.vue"]]);
15832
+ var ElPopperContent = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["__file", "content.vue"]]);
15843
15833
 
15844
15834
  const ElPopper = withInstall(Popper);
15845
15835
 
@@ -15921,11 +15911,11 @@
15921
15911
  };
15922
15912
  };
15923
15913
 
15924
- const __default__$1E = vue.defineComponent({
15914
+ const __default__$1F = vue.defineComponent({
15925
15915
  name: "ElTooltipTrigger"
15926
15916
  });
15927
- const _sfc_main$2h = /* @__PURE__ */ vue.defineComponent({
15928
- ...__default__$1E,
15917
+ const _sfc_main$2i = /* @__PURE__ */ vue.defineComponent({
15918
+ ...__default__$1F,
15929
15919
  props: useTooltipTriggerProps,
15930
15920
  setup(__props, { expose }) {
15931
15921
  const props = __props;
@@ -15984,7 +15974,7 @@
15984
15974
  };
15985
15975
  }
15986
15976
  });
15987
- var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["__file", "trigger.vue"]]);
15977
+ var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["__file", "trigger.vue"]]);
15988
15978
 
15989
15979
  const teleportProps = buildProps({
15990
15980
  to: {
@@ -15994,7 +15984,7 @@
15994
15984
  disabled: Boolean
15995
15985
  });
15996
15986
 
15997
- const _sfc_main$2g = /* @__PURE__ */ vue.defineComponent({
15987
+ const _sfc_main$2h = /* @__PURE__ */ vue.defineComponent({
15998
15988
  __name: "teleport",
15999
15989
  props: teleportProps,
16000
15990
  setup(__props) {
@@ -16008,17 +15998,17 @@
16008
15998
  };
16009
15999
  }
16010
16000
  });
16011
- var Teleport = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["__file", "teleport.vue"]]);
16001
+ var Teleport = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["__file", "teleport.vue"]]);
16012
16002
 
16013
16003
  const ElTeleport = withInstall(Teleport);
16014
16004
  var ElTeleport$1 = ElTeleport;
16015
16005
 
16016
- const __default__$1D = vue.defineComponent({
16006
+ const __default__$1E = vue.defineComponent({
16017
16007
  name: "ElTooltipContent",
16018
16008
  inheritAttrs: false
16019
16009
  });
16020
- const _sfc_main$2f = /* @__PURE__ */ vue.defineComponent({
16021
- ...__default__$1D,
16010
+ const _sfc_main$2g = /* @__PURE__ */ vue.defineComponent({
16011
+ ...__default__$1E,
16022
16012
  props: useTooltipContentProps,
16023
16013
  setup(__props, { expose }) {
16024
16014
  const props = __props;
@@ -16181,13 +16171,13 @@
16181
16171
  };
16182
16172
  }
16183
16173
  });
16184
- var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["__file", "content.vue"]]);
16174
+ var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["__file", "content.vue"]]);
16185
16175
 
16186
- const __default__$1C = vue.defineComponent({
16176
+ const __default__$1D = vue.defineComponent({
16187
16177
  name: "ElTooltip"
16188
16178
  });
16189
- const _sfc_main$2e = /* @__PURE__ */ vue.defineComponent({
16190
- ...__default__$1C,
16179
+ const _sfc_main$2f = /* @__PURE__ */ vue.defineComponent({
16180
+ ...__default__$1D,
16191
16181
  props: useTooltipProps,
16192
16182
  emits: tooltipEmits,
16193
16183
  setup(__props, { expose, emit }) {
@@ -16339,7 +16329,7 @@
16339
16329
  };
16340
16330
  }
16341
16331
  });
16342
- var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["__file", "tooltip.vue"]]);
16332
+ var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["__file", "tooltip.vue"]]);
16343
16333
 
16344
16334
  const ElTooltip = withInstall(Tooltip);
16345
16335
 
@@ -16419,12 +16409,12 @@
16419
16409
  };
16420
16410
 
16421
16411
  const COMPONENT_NAME$i = "ElAutocomplete";
16422
- const __default__$1B = vue.defineComponent({
16412
+ const __default__$1C = vue.defineComponent({
16423
16413
  name: COMPONENT_NAME$i,
16424
16414
  inheritAttrs: false
16425
16415
  });
16426
- const _sfc_main$2d = /* @__PURE__ */ vue.defineComponent({
16427
- ...__default__$1B,
16416
+ const _sfc_main$2e = /* @__PURE__ */ vue.defineComponent({
16417
+ ...__default__$1C,
16428
16418
  props: autocompleteProps,
16429
16419
  emits: autocompleteEmits,
16430
16420
  setup(__props, { expose, emit }) {
@@ -16764,7 +16754,7 @@
16764
16754
  };
16765
16755
  }
16766
16756
  });
16767
- var Autocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["__file", "autocomplete.vue"]]);
16757
+ var Autocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["__file", "autocomplete.vue"]]);
16768
16758
 
16769
16759
  const ElAutocomplete = withInstall(Autocomplete);
16770
16760
 
@@ -16798,11 +16788,11 @@
16798
16788
  error: (evt) => evt instanceof Event
16799
16789
  };
16800
16790
 
16801
- const __default__$1A = vue.defineComponent({
16791
+ const __default__$1B = vue.defineComponent({
16802
16792
  name: "ElAvatar"
16803
16793
  });
16804
- const _sfc_main$2c = /* @__PURE__ */ vue.defineComponent({
16805
- ...__default__$1A,
16794
+ const _sfc_main$2d = /* @__PURE__ */ vue.defineComponent({
16795
+ ...__default__$1B,
16806
16796
  props: avatarProps,
16807
16797
  emits: avatarEmits,
16808
16798
  setup(__props, { emit }) {
@@ -16856,7 +16846,7 @@
16856
16846
  };
16857
16847
  }
16858
16848
  });
16859
- var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["__file", "avatar.vue"]]);
16849
+ var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["__file", "avatar.vue"]]);
16860
16850
 
16861
16851
  const ElAvatar = withInstall(Avatar);
16862
16852
 
@@ -16917,11 +16907,11 @@
16917
16907
  };
16918
16908
 
16919
16909
  const COMPONENT_NAME$h = "ElBacktop";
16920
- const __default__$1z = vue.defineComponent({
16910
+ const __default__$1A = vue.defineComponent({
16921
16911
  name: COMPONENT_NAME$h
16922
16912
  });
16923
- const _sfc_main$2b = /* @__PURE__ */ vue.defineComponent({
16924
- ...__default__$1z,
16913
+ const _sfc_main$2c = /* @__PURE__ */ vue.defineComponent({
16914
+ ...__default__$1A,
16925
16915
  props: backtopProps,
16926
16916
  emits: backtopEmits,
16927
16917
  setup(__props, { emit }) {
@@ -16960,7 +16950,7 @@
16960
16950
  };
16961
16951
  }
16962
16952
  });
16963
- var Backtop = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["__file", "backtop.vue"]]);
16953
+ var Backtop = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["__file", "backtop.vue"]]);
16964
16954
 
16965
16955
  const ElBacktop = withInstall(Backtop);
16966
16956
 
@@ -16997,11 +16987,11 @@
16997
16987
  }
16998
16988
  });
16999
16989
 
17000
- const __default__$1y = vue.defineComponent({
16990
+ const __default__$1z = vue.defineComponent({
17001
16991
  name: "ElBadge"
17002
16992
  });
17003
- const _sfc_main$2a = /* @__PURE__ */ vue.defineComponent({
17004
- ...__default__$1y,
16993
+ const _sfc_main$2b = /* @__PURE__ */ vue.defineComponent({
16994
+ ...__default__$1z,
17005
16995
  props: badgeProps,
17006
16996
  setup(__props, { expose }) {
17007
16997
  const props = __props;
@@ -17059,7 +17049,7 @@
17059
17049
  };
17060
17050
  }
17061
17051
  });
17062
- var Badge = /* @__PURE__ */ _export_sfc(_sfc_main$2a, [["__file", "badge.vue"]]);
17052
+ var Badge = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["__file", "badge.vue"]]);
17063
17053
 
17064
17054
  const ElBadge = withInstall(Badge);
17065
17055
 
@@ -17075,11 +17065,11 @@
17075
17065
  }
17076
17066
  });
17077
17067
 
17078
- const __default__$1x = vue.defineComponent({
17068
+ const __default__$1y = vue.defineComponent({
17079
17069
  name: "ElBreadcrumb"
17080
17070
  });
17081
- const _sfc_main$29 = /* @__PURE__ */ vue.defineComponent({
17082
- ...__default__$1x,
17071
+ const _sfc_main$2a = /* @__PURE__ */ vue.defineComponent({
17072
+ ...__default__$1y,
17083
17073
  props: breadcrumbProps,
17084
17074
  setup(__props) {
17085
17075
  const props = __props;
@@ -17106,7 +17096,7 @@
17106
17096
  };
17107
17097
  }
17108
17098
  });
17109
- var Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["__file", "breadcrumb.vue"]]);
17099
+ var Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$2a, [["__file", "breadcrumb.vue"]]);
17110
17100
 
17111
17101
  const breadcrumbItemProps = buildProps({
17112
17102
  to: {
@@ -17116,11 +17106,11 @@
17116
17106
  replace: Boolean
17117
17107
  });
17118
17108
 
17119
- const __default__$1w = vue.defineComponent({
17109
+ const __default__$1x = vue.defineComponent({
17120
17110
  name: "ElBreadcrumbItem"
17121
17111
  });
17122
- const _sfc_main$28 = /* @__PURE__ */ vue.defineComponent({
17123
- ...__default__$1w,
17112
+ const _sfc_main$29 = /* @__PURE__ */ vue.defineComponent({
17113
+ ...__default__$1x,
17124
17114
  props: breadcrumbItemProps,
17125
17115
  setup(__props) {
17126
17116
  const props = __props;
@@ -17165,7 +17155,7 @@
17165
17155
  };
17166
17156
  }
17167
17157
  });
17168
- var BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["__file", "breadcrumb-item.vue"]]);
17158
+ var BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["__file", "breadcrumb-item.vue"]]);
17169
17159
 
17170
17160
  const ElBreadcrumb = withInstall(Breadcrumb, {
17171
17161
  BreadcrumbItem
@@ -18223,11 +18213,11 @@
18223
18213
  });
18224
18214
  }
18225
18215
 
18226
- const __default__$1v = vue.defineComponent({
18216
+ const __default__$1w = vue.defineComponent({
18227
18217
  name: "ElButton"
18228
18218
  });
18229
- const _sfc_main$27 = /* @__PURE__ */ vue.defineComponent({
18230
- ...__default__$1v,
18219
+ const _sfc_main$28 = /* @__PURE__ */ vue.defineComponent({
18220
+ ...__default__$1w,
18231
18221
  props: buttonProps,
18232
18222
  emits: buttonEmits,
18233
18223
  setup(__props, { expose, emit }) {
@@ -18293,18 +18283,18 @@
18293
18283
  };
18294
18284
  }
18295
18285
  });
18296
- var Button = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["__file", "button.vue"]]);
18286
+ var Button = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["__file", "button.vue"]]);
18297
18287
 
18298
18288
  const buttonGroupProps = {
18299
18289
  size: buttonProps.size,
18300
18290
  type: buttonProps.type
18301
18291
  };
18302
18292
 
18303
- const __default__$1u = vue.defineComponent({
18293
+ const __default__$1v = vue.defineComponent({
18304
18294
  name: "ElButtonGroup"
18305
18295
  });
18306
- const _sfc_main$26 = /* @__PURE__ */ vue.defineComponent({
18307
- ...__default__$1u,
18296
+ const _sfc_main$27 = /* @__PURE__ */ vue.defineComponent({
18297
+ ...__default__$1v,
18308
18298
  props: buttonGroupProps,
18309
18299
  setup(__props) {
18310
18300
  const props = __props;
@@ -18322,7 +18312,7 @@
18322
18312
  };
18323
18313
  }
18324
18314
  });
18325
- var ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["__file", "button-group.vue"]]);
18315
+ var ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["__file", "button-group.vue"]]);
18326
18316
 
18327
18317
  const ElButton = withInstall(Button, {
18328
18318
  ButtonGroup
@@ -18781,8 +18771,7 @@
18781
18771
  type: definePropType([Array, String])
18782
18772
  },
18783
18773
  name: {
18784
- type: definePropType([Array, String]),
18785
- default: ""
18774
+ type: definePropType([Array, String])
18786
18775
  },
18787
18776
  popperClass: {
18788
18777
  type: String,
@@ -18877,6 +18866,124 @@
18877
18866
  default: true
18878
18867
  }
18879
18868
  });
18869
+ const timePickerRngeTriggerProps = buildProps({
18870
+ id: {
18871
+ type: definePropType(Array)
18872
+ },
18873
+ name: {
18874
+ type: definePropType(Array)
18875
+ },
18876
+ modelValue: {
18877
+ type: definePropType([Array, String])
18878
+ },
18879
+ startPlaceholder: String,
18880
+ endPlaceholder: String
18881
+ });
18882
+
18883
+ const __default__$1u = vue.defineComponent({
18884
+ name: "PickerRangeTrigger",
18885
+ inheritAttrs: false
18886
+ });
18887
+ const _sfc_main$26 = /* @__PURE__ */ vue.defineComponent({
18888
+ ...__default__$1u,
18889
+ props: timePickerRngeTriggerProps,
18890
+ emits: [
18891
+ "mouseenter",
18892
+ "mouseleave",
18893
+ "click",
18894
+ "touchstart",
18895
+ "focus",
18896
+ "blur",
18897
+ "startInput",
18898
+ "endInput",
18899
+ "startChange",
18900
+ "endChange"
18901
+ ],
18902
+ setup(__props, { expose, emit }) {
18903
+ const attrs = useAttrs();
18904
+ const nsDate = useNamespace("date");
18905
+ const nsRange = useNamespace("range");
18906
+ const inputRef = vue.ref();
18907
+ const endInputRef = vue.ref();
18908
+ const { wrapperRef, isFocused } = useFocusController(inputRef);
18909
+ const handleClick = (evt) => {
18910
+ emit("click", evt);
18911
+ };
18912
+ const handleMouseEnter = (evt) => {
18913
+ emit("mouseenter", evt);
18914
+ };
18915
+ const handleMouseLeave = (evt) => {
18916
+ emit("mouseleave", evt);
18917
+ };
18918
+ const handleTouchStart = (evt) => {
18919
+ emit("mouseenter", evt);
18920
+ };
18921
+ const handleStartInput = (evt) => {
18922
+ emit("startInput", evt);
18923
+ };
18924
+ const handleEndInput = (evt) => {
18925
+ emit("endInput", evt);
18926
+ };
18927
+ const handleStartChange = (evt) => {
18928
+ emit("startChange", evt);
18929
+ };
18930
+ const handleEndChange = (evt) => {
18931
+ emit("endChange", evt);
18932
+ };
18933
+ const focus = () => {
18934
+ var _a;
18935
+ (_a = inputRef.value) == null ? void 0 : _a.focus();
18936
+ };
18937
+ const blur = () => {
18938
+ var _a, _b;
18939
+ (_a = inputRef.value) == null ? void 0 : _a.blur();
18940
+ (_b = endInputRef.value) == null ? void 0 : _b.blur();
18941
+ };
18942
+ expose({
18943
+ focus,
18944
+ blur
18945
+ });
18946
+ return (_ctx, _cache) => {
18947
+ return vue.openBlock(), vue.createElementBlock("div", {
18948
+ ref_key: "wrapperRef",
18949
+ ref: wrapperRef,
18950
+ class: vue.normalizeClass([vue.unref(nsDate).is("active", vue.unref(isFocused)), _ctx.$attrs.class]),
18951
+ style: vue.normalizeStyle(_ctx.$attrs.style),
18952
+ onClick: handleClick,
18953
+ onMouseenter: handleMouseEnter,
18954
+ onMouseleave: handleMouseLeave,
18955
+ onTouchstart: handleTouchStart
18956
+ }, [
18957
+ vue.renderSlot(_ctx.$slots, "prefix"),
18958
+ vue.createElementVNode("input", vue.mergeProps(vue.unref(attrs), {
18959
+ id: _ctx.id && _ctx.id[0],
18960
+ ref_key: "inputRef",
18961
+ ref: inputRef,
18962
+ name: _ctx.name && _ctx.name[0],
18963
+ placeholder: _ctx.startPlaceholder,
18964
+ value: _ctx.modelValue && _ctx.modelValue[0],
18965
+ class: vue.unref(nsRange).b("input"),
18966
+ onInput: handleStartInput,
18967
+ onChange: handleStartChange
18968
+ }), null, 16, ["id", "name", "placeholder", "value"]),
18969
+ vue.renderSlot(_ctx.$slots, "range-separator"),
18970
+ vue.createElementVNode("input", vue.mergeProps(vue.unref(attrs), {
18971
+ id: _ctx.id && _ctx.id[1],
18972
+ ref_key: "endInputRef",
18973
+ ref: endInputRef,
18974
+ name: _ctx.name && _ctx.name[1],
18975
+ placeholder: _ctx.endPlaceholder,
18976
+ value: _ctx.modelValue && _ctx.modelValue[1],
18977
+ class: vue.unref(nsRange).b("input"),
18978
+ onInput: handleEndInput,
18979
+ onChange: handleEndChange
18980
+ }), null, 16, ["id", "name", "placeholder", "value"]),
18981
+ vue.renderSlot(_ctx.$slots, "suffix")
18982
+ ], 38);
18983
+ };
18984
+ }
18985
+ });
18986
+ var PickerRangeTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["__file", "picker-range-trigger.vue"]]);
18880
18987
 
18881
18988
  const __default__$1t = vue.defineComponent({
18882
18989
  name: "Picker"
@@ -18911,7 +19018,24 @@
18911
19018
  const pickerActualVisible = vue.ref(false);
18912
19019
  const valueOnOpen = vue.ref(null);
18913
19020
  let hasJustTabExitedInput = false;
18914
- let ignoreFocusEvent = false;
19021
+ const { isFocused, handleFocus, handleBlur } = useFocusController(inputRef, {
19022
+ beforeFocus() {
19023
+ return !props.editable || props.readonly || pickerDisabled.value;
19024
+ },
19025
+ afterFocus() {
19026
+ pickerVisible.value = true;
19027
+ },
19028
+ beforeBlur(event) {
19029
+ var _a;
19030
+ return !hasJustTabExitedInput && ((_a = refPopper.value) == null ? void 0 : _a.isFocusInsideContent(event));
19031
+ },
19032
+ afterBlur() {
19033
+ handleChange();
19034
+ pickerVisible.value = false;
19035
+ hasJustTabExitedInput = false;
19036
+ props.validateEvent && (formItem == null ? void 0 : formItem.validate("blur").catch((err) => debugWarn()));
19037
+ }
19038
+ });
18915
19039
  const rangeInputKls = vue.computed(() => [
18916
19040
  nsDate.b("editor"),
18917
19041
  nsDate.bm("editor", props.type),
@@ -18963,8 +19087,7 @@
18963
19087
  };
18964
19088
  const refInput = vue.computed(() => {
18965
19089
  if (inputRef.value) {
18966
- const _r = isRangeInput.value ? inputRef.value : inputRef.value.$el;
18967
- return Array.from(_r.querySelectorAll("input"));
19090
+ return Array.from(inputRef.value.$el.querySelectorAll("input"));
18968
19091
  }
18969
19092
  return [];
18970
19093
  });
@@ -18980,16 +19103,7 @@
18980
19103
  _inputs[1].focus();
18981
19104
  }
18982
19105
  };
18983
- const focusOnInputBox = () => {
18984
- focus(true, true);
18985
- vue.nextTick(() => {
18986
- ignoreFocusEvent = false;
18987
- });
18988
- };
18989
19106
  const onPick = (date = "", visible = false) => {
18990
- if (!visible) {
18991
- ignoreFocusEvent = true;
18992
- }
18993
19107
  pickerVisible.value = visible;
18994
19108
  let result;
18995
19109
  if (isArray$1(date)) {
@@ -19006,15 +19120,9 @@
19006
19120
  const onShow = () => {
19007
19121
  emit("visible-change", true);
19008
19122
  };
19009
- const onKeydownPopperContent = (event) => {
19010
- if ((event == null ? void 0 : event.key) === EVENT_CODE.esc) {
19011
- focus(true, true);
19012
- }
19013
- };
19014
19123
  const onHide = () => {
19015
19124
  pickerActualVisible.value = false;
19016
19125
  pickerVisible.value = false;
19017
- ignoreFocusEvent = false;
19018
19126
  emit("visible-change", false);
19019
19127
  };
19020
19128
  const handleOpen = () => {
@@ -19023,45 +19131,6 @@
19023
19131
  const handleClose = () => {
19024
19132
  pickerVisible.value = false;
19025
19133
  };
19026
- const focus = (focusStartInput = true, isIgnoreFocusEvent = false) => {
19027
- ignoreFocusEvent = isIgnoreFocusEvent;
19028
- const [leftInput, rightInput] = vue.unref(refInput);
19029
- let input = leftInput;
19030
- if (!focusStartInput && isRangeInput.value) {
19031
- input = rightInput;
19032
- }
19033
- if (input) {
19034
- input.focus();
19035
- }
19036
- };
19037
- const handleFocusInput = (e) => {
19038
- if (props.readonly || pickerDisabled.value || pickerVisible.value || ignoreFocusEvent) {
19039
- return;
19040
- }
19041
- pickerVisible.value = true;
19042
- emit("focus", e);
19043
- };
19044
- let currentHandleBlurDeferCallback = void 0;
19045
- const handleBlurInput = (e) => {
19046
- const handleBlurDefer = async () => {
19047
- setTimeout(() => {
19048
- var _a;
19049
- if (currentHandleBlurDeferCallback === handleBlurDefer) {
19050
- if (!(((_a = refPopper.value) == null ? void 0 : _a.isFocusInsideContent()) && !hasJustTabExitedInput) && refInput.value.filter((input) => {
19051
- return input.contains(document.activeElement);
19052
- }).length === 0) {
19053
- handleChange();
19054
- pickerVisible.value = false;
19055
- emit("blur", e);
19056
- props.validateEvent && (formItem == null ? void 0 : formItem.validate("blur").catch((err) => debugWarn()));
19057
- }
19058
- hasJustTabExitedInput = false;
19059
- }
19060
- }, 0);
19061
- };
19062
- currentHandleBlurDeferCallback = handleBlurDefer;
19063
- handleBlurDefer();
19064
- };
19065
19134
  const pickerDisabled = vue.computed(() => {
19066
19135
  return props.disabled || (form == null ? void 0 : form.disabled);
19067
19136
  });
@@ -19125,7 +19194,6 @@
19125
19194
  return;
19126
19195
  if (showClose.value) {
19127
19196
  event.stopPropagation();
19128
- focusOnInputBox();
19129
19197
  if (pickerOptions.value.handleClear) {
19130
19198
  pickerOptions.value.handleClear();
19131
19199
  } else {
@@ -19145,7 +19213,7 @@
19145
19213
  var _a;
19146
19214
  if (props.readonly || pickerDisabled.value)
19147
19215
  return;
19148
- if (((_a = event.target) == null ? void 0 : _a.tagName) !== "INPUT" || refInput.value.includes(document.activeElement)) {
19216
+ if (((_a = event.target) == null ? void 0 : _a.tagName) !== "INPUT" || isFocused.value) {
19149
19217
  pickerVisible.value = true;
19150
19218
  }
19151
19219
  };
@@ -19163,7 +19231,7 @@
19163
19231
  var _a;
19164
19232
  if (props.readonly || pickerDisabled.value)
19165
19233
  return;
19166
- if (((_a = event.touches[0].target) == null ? void 0 : _a.tagName) !== "INPUT" || refInput.value.includes(document.activeElement)) {
19234
+ if (((_a = event.touches[0].target) == null ? void 0 : _a.tagName) !== "INPUT" || isFocused.value) {
19167
19235
  pickerVisible.value = true;
19168
19236
  }
19169
19237
  };
@@ -19175,17 +19243,10 @@
19175
19243
  var _a, _b;
19176
19244
  return (_b = (_a = vue.unref(refPopper)) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;
19177
19245
  });
19178
- const actualInputRef = vue.computed(() => {
19179
- var _a;
19180
- if (vue.unref(isRangeInput)) {
19181
- return vue.unref(inputRef);
19182
- }
19183
- return (_a = vue.unref(inputRef)) == null ? void 0 : _a.$el;
19184
- });
19185
- const stophandle = onClickOutside(actualInputRef, (e) => {
19246
+ const stophandle = onClickOutside(inputRef, (e) => {
19186
19247
  const unrefedPopperEl = vue.unref(popperEl);
19187
- const inputEl = vue.unref(actualInputRef);
19188
- if (unrefedPopperEl && (e.target === unrefedPopperEl || e.composedPath().includes(unrefedPopperEl)) || e.target === inputEl || e.composedPath().includes(inputEl))
19248
+ const inputEl = unrefElement(inputRef);
19249
+ if (unrefedPopperEl && (e.target === unrefedPopperEl || e.composedPath().includes(unrefedPopperEl)) || e.target === inputEl || inputEl && e.composedPath().includes(inputEl))
19189
19250
  return;
19190
19251
  pickerVisible.value = false;
19191
19252
  });
@@ -19336,13 +19397,20 @@
19336
19397
  const onPanelChange = (value, mode, view) => {
19337
19398
  emit("panel-change", value, mode, view);
19338
19399
  };
19400
+ const focus = () => {
19401
+ var _a;
19402
+ (_a = inputRef.value) == null ? void 0 : _a.focus();
19403
+ };
19404
+ const blur = () => {
19405
+ var _a;
19406
+ (_a = inputRef.value) == null ? void 0 : _a.blur();
19407
+ };
19339
19408
  vue.provide("EP_PICKER_BASE", {
19340
19409
  props
19341
19410
  });
19342
19411
  expose({
19343
19412
  focus,
19344
- handleFocusInput,
19345
- handleBlurInput,
19413
+ blur,
19346
19414
  handleOpen,
19347
19415
  handleClose,
19348
19416
  onPick
@@ -19390,8 +19458,8 @@
19390
19458
  tabindex: _ctx.tabindex,
19391
19459
  "validate-event": false,
19392
19460
  onInput: onUserInput,
19393
- onFocus: handleFocusInput,
19394
- onBlur: handleBlurInput,
19461
+ onFocus: vue.unref(handleFocus),
19462
+ onBlur: vue.unref(handleBlur),
19395
19463
  onKeydown: handleKeydownInput,
19396
19464
  onChange: handleChange,
19397
19465
  onMousedown: onMouseDownInput,
@@ -19418,84 +19486,79 @@
19418
19486
  showClose.value && _ctx.clearIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
19419
19487
  key: 0,
19420
19488
  class: vue.normalizeClass(`${vue.unref(nsInput).e("icon")} clear-icon`),
19421
- onClick: vue.withModifiers(onClearIconClick, ["stop"])
19489
+ onMousedown: vue.withModifiers(vue.unref(NOOP), ["prevent"]),
19490
+ onClick: onClearIconClick
19422
19491
  }, {
19423
19492
  default: vue.withCtx(() => [
19424
19493
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.clearIcon)))
19425
19494
  ]),
19426
19495
  _: 1
19427
- }, 8, ["class", "onClick"])) : vue.createCommentVNode("v-if", true)
19496
+ }, 8, ["class", "onMousedown"])) : vue.createCommentVNode("v-if", true)
19428
19497
  ]),
19429
19498
  _: 1
19430
- }, 8, ["id", "model-value", "name", "size", "disabled", "placeholder", "class", "style", "readonly", "aria-label", "tabindex", "onKeydown", "onClick"])) : (vue.openBlock(), vue.createElementBlock("div", {
19499
+ }, 8, ["id", "model-value", "name", "size", "disabled", "placeholder", "class", "style", "readonly", "aria-label", "tabindex", "onFocus", "onBlur", "onClick"])) : (vue.openBlock(), vue.createBlock(PickerRangeTrigger, {
19431
19500
  key: 1,
19501
+ id: _ctx.id,
19432
19502
  ref_key: "inputRef",
19433
19503
  ref: inputRef,
19504
+ "model-value": vue.unref(displayValue),
19505
+ name: _ctx.name,
19506
+ disabled: vue.unref(pickerDisabled),
19507
+ readonly: !_ctx.editable || _ctx.readonly,
19508
+ "start-placeholder": _ctx.startPlaceholder,
19509
+ "end-placeholder": _ctx.endPlaceholder,
19434
19510
  class: vue.normalizeClass(vue.unref(rangeInputKls)),
19435
19511
  style: vue.normalizeStyle(_ctx.$attrs.style),
19436
- onClick: handleFocusInput,
19512
+ "aria-label": _ctx.ariaLabel,
19513
+ tabindex: _ctx.tabindex,
19514
+ autocomplete: "off",
19515
+ role: "combobox",
19516
+ onClick: onMouseDownInput,
19517
+ onFocus: vue.unref(handleFocus),
19518
+ onBlur: vue.unref(handleBlur),
19519
+ onStartInput: handleStartInput,
19520
+ onStartChange: handleStartChange,
19521
+ onEndInput: handleEndInput,
19522
+ onEndChange: handleEndChange,
19523
+ onMousedown: onMouseDownInput,
19437
19524
  onMouseenter: onMouseEnter,
19438
19525
  onMouseleave: onMouseLeave,
19439
19526
  onTouchstartPassive: onTouchStartInput,
19440
19527
  onKeydown: handleKeydownInput
19441
- }, [
19442
- vue.unref(triggerIcon) ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
19443
- key: 0,
19444
- class: vue.normalizeClass([vue.unref(nsInput).e("icon"), vue.unref(nsRange).e("icon")]),
19445
- onMousedown: vue.withModifiers(onMouseDownInput, ["prevent"]),
19446
- onTouchstartPassive: onTouchStartInput
19447
- }, {
19448
- default: vue.withCtx(() => [
19449
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(triggerIcon))))
19450
- ]),
19451
- _: 1
19452
- }, 8, ["class", "onMousedown"])) : vue.createCommentVNode("v-if", true),
19453
- vue.createElementVNode("input", {
19454
- id: _ctx.id && _ctx.id[0],
19455
- autocomplete: "off",
19456
- name: _ctx.name && _ctx.name[0],
19457
- placeholder: _ctx.startPlaceholder,
19458
- value: vue.unref(displayValue) && vue.unref(displayValue)[0],
19459
- disabled: vue.unref(pickerDisabled),
19460
- readonly: !_ctx.editable || _ctx.readonly,
19461
- class: vue.normalizeClass(vue.unref(nsRange).b("input")),
19462
- onMousedown: onMouseDownInput,
19463
- onInput: handleStartInput,
19464
- onChange: handleStartChange,
19465
- onFocus: handleFocusInput,
19466
- onBlur: handleBlurInput
19467
- }, null, 42, ["id", "name", "placeholder", "value", "disabled", "readonly"]),
19468
- vue.renderSlot(_ctx.$slots, "range-separator", {}, () => [
19469
- vue.createElementVNode("span", {
19470
- class: vue.normalizeClass(vue.unref(nsRange).b("separator"))
19471
- }, vue.toDisplayString(_ctx.rangeSeparator), 3)
19528
+ }, {
19529
+ prefix: vue.withCtx(() => [
19530
+ vue.unref(triggerIcon) ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
19531
+ key: 0,
19532
+ class: vue.normalizeClass([vue.unref(nsInput).e("icon"), vue.unref(nsRange).e("icon")])
19533
+ }, {
19534
+ default: vue.withCtx(() => [
19535
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(triggerIcon))))
19536
+ ]),
19537
+ _: 1
19538
+ }, 8, ["class"])) : vue.createCommentVNode("v-if", true)
19472
19539
  ]),
19473
- vue.createElementVNode("input", {
19474
- id: _ctx.id && _ctx.id[1],
19475
- autocomplete: "off",
19476
- name: _ctx.name && _ctx.name[1],
19477
- placeholder: _ctx.endPlaceholder,
19478
- value: vue.unref(displayValue) && vue.unref(displayValue)[1],
19479
- disabled: vue.unref(pickerDisabled),
19480
- readonly: !_ctx.editable || _ctx.readonly,
19481
- class: vue.normalizeClass(vue.unref(nsRange).b("input")),
19482
- onMousedown: onMouseDownInput,
19483
- onFocus: handleFocusInput,
19484
- onBlur: handleBlurInput,
19485
- onInput: handleEndInput,
19486
- onChange: handleEndChange
19487
- }, null, 42, ["id", "name", "placeholder", "value", "disabled", "readonly"]),
19488
- _ctx.clearIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
19489
- key: 1,
19490
- class: vue.normalizeClass(vue.unref(clearIconKls)),
19491
- onClick: onClearIconClick
19492
- }, {
19493
- default: vue.withCtx(() => [
19494
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.clearIcon)))
19495
- ]),
19496
- _: 1
19497
- }, 8, ["class"])) : vue.createCommentVNode("v-if", true)
19498
- ], 38))
19540
+ "range-separator": vue.withCtx(() => [
19541
+ vue.renderSlot(_ctx.$slots, "range-separator", {}, () => [
19542
+ vue.createElementVNode("span", {
19543
+ class: vue.normalizeClass(vue.unref(nsRange).b("separator"))
19544
+ }, vue.toDisplayString(_ctx.rangeSeparator), 3)
19545
+ ])
19546
+ ]),
19547
+ suffix: vue.withCtx(() => [
19548
+ _ctx.clearIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
19549
+ key: 0,
19550
+ class: vue.normalizeClass(vue.unref(clearIconKls)),
19551
+ onMousedown: vue.withModifiers(vue.unref(NOOP), ["prevent"]),
19552
+ onClick: onClearIconClick
19553
+ }, {
19554
+ default: vue.withCtx(() => [
19555
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.clearIcon)))
19556
+ ]),
19557
+ _: 1
19558
+ }, 8, ["class", "onMousedown"])) : vue.createCommentVNode("v-if", true)
19559
+ ]),
19560
+ _: 3
19561
+ }, 8, ["id", "model-value", "name", "disabled", "readonly", "start-placeholder", "end-placeholder", "class", "style", "aria-label", "tabindex", "onFocus", "onBlur"]))
19499
19562
  ]),
19500
19563
  content: vue.withCtx(() => [
19501
19564
  vue.renderSlot(_ctx.$slots, "default", {
@@ -19514,7 +19577,6 @@
19514
19577
  onSetPickerOption,
19515
19578
  onCalendarChange,
19516
19579
  onPanelChange,
19517
- onKeydown: onKeydownPopperContent,
19518
19580
  onMousedown: vue.withModifiers(() => {
19519
19581
  }, ["stop"])
19520
19582
  })
@@ -19989,9 +20051,12 @@
19989
20051
  }
19990
20052
  };
19991
20053
  const handleScroll = (type) => {
20054
+ const scrollbar = vue.unref(listRefsMap[type]);
20055
+ if (!scrollbar)
20056
+ return;
19992
20057
  isScrolling = true;
19993
20058
  debouncedResetScroll(type);
19994
- const value = Math.min(Math.round((getScrollbarElement(vue.unref(listRefsMap[type]).$el).scrollTop - (scrollBarHeight(type) * 0.5 - 10) / typeItemHeight(type) + 3) / typeItemHeight(type)), type === "hours" ? 23 : 59);
20059
+ const value = Math.min(Math.round((getScrollbarElement(scrollbar.$el).scrollTop - (scrollBarHeight(type) * 0.5 - 10) / typeItemHeight(type) + 3) / typeItemHeight(type)), type === "hours" ? 23 : 59);
19995
20060
  modifyDateField(type, value);
19996
20061
  };
19997
20062
  const scrollBarHeight = (type) => {
@@ -20019,7 +20084,7 @@
20019
20084
  });
20020
20085
  });
20021
20086
  const setRef = (scrollbar, type) => {
20022
- listRefsMap[type].value = scrollbar;
20087
+ listRefsMap[type].value = scrollbar != null ? scrollbar : void 0;
20023
20088
  };
20024
20089
  emit("set-option", [`${props.role}_scrollDown`, scrollDown]);
20025
20090
  emit("set-option", [`${props.role}_emitSelectRange`, emitSelectRange]);
@@ -20572,13 +20637,13 @@
20572
20637
  const modelUpdater = (value) => ctx.emit("update:modelValue", value);
20573
20638
  vue.provide("ElPopperOptions", props.popperOptions);
20574
20639
  ctx.expose({
20575
- focus: (e) => {
20640
+ focus: () => {
20576
20641
  var _a;
20577
- (_a = commonPicker.value) == null ? void 0 : _a.handleFocusInput(e);
20642
+ (_a = commonPicker.value) == null ? void 0 : _a.focus();
20578
20643
  },
20579
- blur: (e) => {
20644
+ blur: () => {
20580
20645
  var _a;
20581
- (_a = commonPicker.value) == null ? void 0 : _a.handleBlurInput(e);
20646
+ (_a = commonPicker.value) == null ? void 0 : _a.blur();
20582
20647
  },
20583
20648
  handleOpen: () => {
20584
20649
  var _a;
@@ -29783,9 +29848,13 @@
29783
29848
  });
29784
29849
  const commonPicker = vue.ref();
29785
29850
  const refProps = {
29786
- focus: (focusStartInput = true) => {
29851
+ focus: () => {
29852
+ var _a;
29853
+ (_a = commonPicker.value) == null ? void 0 : _a.focus();
29854
+ },
29855
+ blur: () => {
29787
29856
  var _a;
29788
- (_a = commonPicker.value) == null ? void 0 : _a.focus(focusStartInput);
29857
+ (_a = commonPicker.value) == null ? void 0 : _a.blur();
29789
29858
  },
29790
29859
  handleOpen: () => {
29791
29860
  var _a;
@@ -41945,7 +42014,7 @@
41945
42014
  "stop-popper-mouse-event": false,
41946
42015
  "popper-class": _ctx.tooltipClass,
41947
42016
  disabled: !vue.unref(showTooltip),
41948
- persistent: ""
42017
+ persistent: vue.unref(showTooltip)
41949
42018
  }, {
41950
42019
  content: vue.withCtx(() => [
41951
42020
  vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatValue)), 1)
@@ -41956,7 +42025,7 @@
41956
42025
  }, null, 2)
41957
42026
  ]),
41958
42027
  _: 1
41959
- }, 8, ["visible", "placement", "popper-class", "disabled"])
42028
+ }, 8, ["visible", "placement", "popper-class", "disabled", "persistent"])
41960
42029
  ], 46, ["tabindex", "onMouseenter", "onMouseleave", "onMousedown", "onFocus", "onBlur", "onKeydown"]);
41961
42030
  };
41962
42031
  }
@@ -56218,7 +56287,7 @@
56218
56287
  posInfo.value = null;
56219
56288
  return;
56220
56289
  }
56221
- if (!isInViewPort(targetEl) && open.value) {
56290
+ if (!isInViewPort(targetEl)) {
56222
56291
  targetEl.scrollIntoView(scrollIntoViewOptions.value);
56223
56292
  }
56224
56293
  const { left, top, width, height } = targetEl.getBoundingClientRect();
@@ -60349,6 +60418,7 @@
60349
60418
  exports.textProps = textProps;
60350
60419
  exports.thumbProps = thumbProps;
60351
60420
  exports.timePickerDefaultProps = timePickerDefaultProps;
60421
+ exports.timePickerRngeTriggerProps = timePickerRngeTriggerProps;
60352
60422
  exports.timeSelectProps = timeSelectProps;
60353
60423
  exports.timeUnits = timeUnits$1;
60354
60424
  exports.timelineItemProps = timelineItemProps;