@element-plus/nightly 0.0.20241112 → 0.0.20241114

Sign up to get free protection for your applications and to get access to all the features.
Files changed (392) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.full.js +146 -115
  3. package/dist/index.full.min.js +11 -11
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +11 -11
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +146 -115
  8. package/dist/locale/af.js +1 -1
  9. package/dist/locale/af.min.js +1 -1
  10. package/dist/locale/af.min.mjs +1 -1
  11. package/dist/locale/af.mjs +1 -1
  12. package/dist/locale/ar-eg.js +1 -1
  13. package/dist/locale/ar-eg.min.js +1 -1
  14. package/dist/locale/ar-eg.min.mjs +1 -1
  15. package/dist/locale/ar-eg.mjs +1 -1
  16. package/dist/locale/ar.js +1 -1
  17. package/dist/locale/ar.min.js +1 -1
  18. package/dist/locale/ar.min.mjs +1 -1
  19. package/dist/locale/ar.mjs +1 -1
  20. package/dist/locale/az.js +1 -1
  21. package/dist/locale/az.min.js +1 -1
  22. package/dist/locale/az.min.mjs +1 -1
  23. package/dist/locale/az.mjs +1 -1
  24. package/dist/locale/bg.js +1 -1
  25. package/dist/locale/bg.min.js +1 -1
  26. package/dist/locale/bg.min.mjs +1 -1
  27. package/dist/locale/bg.mjs +1 -1
  28. package/dist/locale/bn.js +1 -1
  29. package/dist/locale/bn.min.js +1 -1
  30. package/dist/locale/bn.min.mjs +1 -1
  31. package/dist/locale/bn.mjs +1 -1
  32. package/dist/locale/ca.js +1 -1
  33. package/dist/locale/ca.min.js +1 -1
  34. package/dist/locale/ca.min.mjs +1 -1
  35. package/dist/locale/ca.mjs +1 -1
  36. package/dist/locale/ckb.js +1 -1
  37. package/dist/locale/ckb.min.js +1 -1
  38. package/dist/locale/ckb.min.mjs +1 -1
  39. package/dist/locale/ckb.mjs +1 -1
  40. package/dist/locale/cs.js +1 -1
  41. package/dist/locale/cs.min.js +1 -1
  42. package/dist/locale/cs.min.mjs +1 -1
  43. package/dist/locale/cs.mjs +1 -1
  44. package/dist/locale/da.js +1 -1
  45. package/dist/locale/da.min.js +1 -1
  46. package/dist/locale/da.min.mjs +1 -1
  47. package/dist/locale/da.mjs +1 -1
  48. package/dist/locale/de.js +1 -1
  49. package/dist/locale/de.min.js +1 -1
  50. package/dist/locale/de.min.mjs +1 -1
  51. package/dist/locale/de.mjs +1 -1
  52. package/dist/locale/el.js +1 -1
  53. package/dist/locale/el.min.js +1 -1
  54. package/dist/locale/el.min.mjs +1 -1
  55. package/dist/locale/el.mjs +1 -1
  56. package/dist/locale/en.js +1 -1
  57. package/dist/locale/en.min.js +1 -1
  58. package/dist/locale/en.min.mjs +1 -1
  59. package/dist/locale/en.mjs +1 -1
  60. package/dist/locale/eo.js +1 -1
  61. package/dist/locale/eo.min.js +1 -1
  62. package/dist/locale/eo.min.mjs +1 -1
  63. package/dist/locale/eo.mjs +1 -1
  64. package/dist/locale/es.js +1 -1
  65. package/dist/locale/es.min.js +1 -1
  66. package/dist/locale/es.min.mjs +1 -1
  67. package/dist/locale/es.mjs +1 -1
  68. package/dist/locale/et.js +1 -1
  69. package/dist/locale/et.min.js +1 -1
  70. package/dist/locale/et.min.mjs +1 -1
  71. package/dist/locale/et.mjs +1 -1
  72. package/dist/locale/eu.js +1 -1
  73. package/dist/locale/eu.min.js +1 -1
  74. package/dist/locale/eu.min.mjs +1 -1
  75. package/dist/locale/eu.mjs +1 -1
  76. package/dist/locale/fa.js +1 -1
  77. package/dist/locale/fa.min.js +1 -1
  78. package/dist/locale/fa.min.mjs +1 -1
  79. package/dist/locale/fa.mjs +1 -1
  80. package/dist/locale/fi.js +1 -1
  81. package/dist/locale/fi.min.js +1 -1
  82. package/dist/locale/fi.min.mjs +1 -1
  83. package/dist/locale/fi.mjs +1 -1
  84. package/dist/locale/fr.js +1 -1
  85. package/dist/locale/fr.min.js +1 -1
  86. package/dist/locale/fr.min.mjs +1 -1
  87. package/dist/locale/fr.mjs +1 -1
  88. package/dist/locale/he.js +1 -1
  89. package/dist/locale/he.min.js +1 -1
  90. package/dist/locale/he.min.mjs +1 -1
  91. package/dist/locale/he.mjs +1 -1
  92. package/dist/locale/hr.js +1 -1
  93. package/dist/locale/hr.min.js +1 -1
  94. package/dist/locale/hr.min.mjs +1 -1
  95. package/dist/locale/hr.mjs +1 -1
  96. package/dist/locale/hu.js +1 -1
  97. package/dist/locale/hu.min.js +1 -1
  98. package/dist/locale/hu.min.mjs +1 -1
  99. package/dist/locale/hu.mjs +1 -1
  100. package/dist/locale/hy-am.js +1 -1
  101. package/dist/locale/hy-am.min.js +1 -1
  102. package/dist/locale/hy-am.min.mjs +1 -1
  103. package/dist/locale/hy-am.mjs +1 -1
  104. package/dist/locale/id.js +1 -1
  105. package/dist/locale/id.min.js +1 -1
  106. package/dist/locale/id.min.mjs +1 -1
  107. package/dist/locale/id.mjs +1 -1
  108. package/dist/locale/it.js +1 -1
  109. package/dist/locale/it.min.js +1 -1
  110. package/dist/locale/it.min.mjs +1 -1
  111. package/dist/locale/it.mjs +1 -1
  112. package/dist/locale/ja.js +1 -1
  113. package/dist/locale/ja.min.js +1 -1
  114. package/dist/locale/ja.min.mjs +1 -1
  115. package/dist/locale/ja.mjs +1 -1
  116. package/dist/locale/kk.js +1 -1
  117. package/dist/locale/kk.min.js +1 -1
  118. package/dist/locale/kk.min.mjs +1 -1
  119. package/dist/locale/kk.mjs +1 -1
  120. package/dist/locale/km.js +1 -1
  121. package/dist/locale/km.min.js +1 -1
  122. package/dist/locale/km.min.mjs +1 -1
  123. package/dist/locale/km.mjs +1 -1
  124. package/dist/locale/ko.js +1 -1
  125. package/dist/locale/ko.min.js +1 -1
  126. package/dist/locale/ko.min.mjs +1 -1
  127. package/dist/locale/ko.mjs +1 -1
  128. package/dist/locale/ku.js +1 -1
  129. package/dist/locale/ku.min.js +1 -1
  130. package/dist/locale/ku.min.mjs +1 -1
  131. package/dist/locale/ku.mjs +1 -1
  132. package/dist/locale/ky.js +1 -1
  133. package/dist/locale/ky.min.js +1 -1
  134. package/dist/locale/ky.min.mjs +1 -1
  135. package/dist/locale/ky.mjs +1 -1
  136. package/dist/locale/lt.js +1 -1
  137. package/dist/locale/lt.min.js +1 -1
  138. package/dist/locale/lt.min.mjs +1 -1
  139. package/dist/locale/lt.mjs +1 -1
  140. package/dist/locale/lv.js +1 -1
  141. package/dist/locale/lv.min.js +1 -1
  142. package/dist/locale/lv.min.mjs +1 -1
  143. package/dist/locale/lv.mjs +1 -1
  144. package/dist/locale/mg.js +1 -1
  145. package/dist/locale/mg.min.js +1 -1
  146. package/dist/locale/mg.min.mjs +1 -1
  147. package/dist/locale/mg.mjs +1 -1
  148. package/dist/locale/mn.js +1 -1
  149. package/dist/locale/mn.min.js +1 -1
  150. package/dist/locale/mn.min.mjs +1 -1
  151. package/dist/locale/mn.mjs +1 -1
  152. package/dist/locale/my.js +1 -1
  153. package/dist/locale/my.min.js +1 -1
  154. package/dist/locale/my.min.mjs +1 -1
  155. package/dist/locale/my.mjs +1 -1
  156. package/dist/locale/nb-no.js +1 -1
  157. package/dist/locale/nb-no.min.js +1 -1
  158. package/dist/locale/nb-no.min.mjs +1 -1
  159. package/dist/locale/nb-no.mjs +1 -1
  160. package/dist/locale/nl.js +1 -1
  161. package/dist/locale/nl.min.js +1 -1
  162. package/dist/locale/nl.min.mjs +1 -1
  163. package/dist/locale/nl.mjs +1 -1
  164. package/dist/locale/pa.js +1 -1
  165. package/dist/locale/pa.min.js +1 -1
  166. package/dist/locale/pa.min.mjs +1 -1
  167. package/dist/locale/pa.mjs +1 -1
  168. package/dist/locale/pl.js +1 -1
  169. package/dist/locale/pl.min.js +1 -1
  170. package/dist/locale/pl.min.mjs +1 -1
  171. package/dist/locale/pl.mjs +1 -1
  172. package/dist/locale/pt-br.js +1 -1
  173. package/dist/locale/pt-br.min.js +1 -1
  174. package/dist/locale/pt-br.min.mjs +1 -1
  175. package/dist/locale/pt-br.mjs +1 -1
  176. package/dist/locale/pt.js +1 -1
  177. package/dist/locale/pt.min.js +1 -1
  178. package/dist/locale/pt.min.mjs +1 -1
  179. package/dist/locale/pt.mjs +1 -1
  180. package/dist/locale/ro.js +1 -1
  181. package/dist/locale/ro.min.js +1 -1
  182. package/dist/locale/ro.min.mjs +1 -1
  183. package/dist/locale/ro.mjs +1 -1
  184. package/dist/locale/ru.js +1 -1
  185. package/dist/locale/ru.min.js +1 -1
  186. package/dist/locale/ru.min.mjs +1 -1
  187. package/dist/locale/ru.mjs +1 -1
  188. package/dist/locale/sk.js +1 -1
  189. package/dist/locale/sk.min.js +1 -1
  190. package/dist/locale/sk.min.mjs +1 -1
  191. package/dist/locale/sk.mjs +1 -1
  192. package/dist/locale/sl.js +1 -1
  193. package/dist/locale/sl.min.js +1 -1
  194. package/dist/locale/sl.min.mjs +1 -1
  195. package/dist/locale/sl.mjs +1 -1
  196. package/dist/locale/sr.js +1 -1
  197. package/dist/locale/sr.min.js +1 -1
  198. package/dist/locale/sr.min.mjs +1 -1
  199. package/dist/locale/sr.mjs +1 -1
  200. package/dist/locale/sv.js +1 -1
  201. package/dist/locale/sv.min.js +1 -1
  202. package/dist/locale/sv.min.mjs +1 -1
  203. package/dist/locale/sv.mjs +1 -1
  204. package/dist/locale/sw.js +1 -1
  205. package/dist/locale/sw.min.js +1 -1
  206. package/dist/locale/sw.min.mjs +1 -1
  207. package/dist/locale/sw.mjs +1 -1
  208. package/dist/locale/ta.js +1 -1
  209. package/dist/locale/ta.min.js +1 -1
  210. package/dist/locale/ta.min.mjs +1 -1
  211. package/dist/locale/ta.mjs +1 -1
  212. package/dist/locale/th.js +1 -1
  213. package/dist/locale/th.min.js +1 -1
  214. package/dist/locale/th.min.mjs +1 -1
  215. package/dist/locale/th.mjs +1 -1
  216. package/dist/locale/tk.js +1 -1
  217. package/dist/locale/tk.min.js +1 -1
  218. package/dist/locale/tk.min.mjs +1 -1
  219. package/dist/locale/tk.mjs +1 -1
  220. package/dist/locale/tr.js +1 -1
  221. package/dist/locale/tr.min.js +1 -1
  222. package/dist/locale/tr.min.mjs +1 -1
  223. package/dist/locale/tr.mjs +1 -1
  224. package/dist/locale/ug-cn.js +1 -1
  225. package/dist/locale/ug-cn.min.js +1 -1
  226. package/dist/locale/ug-cn.min.mjs +1 -1
  227. package/dist/locale/ug-cn.mjs +1 -1
  228. package/dist/locale/uk.js +1 -1
  229. package/dist/locale/uk.min.js +1 -1
  230. package/dist/locale/uk.min.mjs +1 -1
  231. package/dist/locale/uk.mjs +1 -1
  232. package/dist/locale/uz-uz.js +1 -1
  233. package/dist/locale/uz-uz.min.js +1 -1
  234. package/dist/locale/uz-uz.min.mjs +1 -1
  235. package/dist/locale/uz-uz.mjs +1 -1
  236. package/dist/locale/vi.js +1 -1
  237. package/dist/locale/vi.min.js +1 -1
  238. package/dist/locale/vi.min.mjs +1 -1
  239. package/dist/locale/vi.mjs +1 -1
  240. package/dist/locale/zh-cn.js +1 -1
  241. package/dist/locale/zh-cn.min.js +1 -1
  242. package/dist/locale/zh-cn.min.mjs +1 -1
  243. package/dist/locale/zh-cn.mjs +1 -1
  244. package/dist/locale/zh-tw.js +1 -1
  245. package/dist/locale/zh-tw.min.js +1 -1
  246. package/dist/locale/zh-tw.min.mjs +1 -1
  247. package/dist/locale/zh-tw.mjs +1 -1
  248. package/es/components/cascader/src/cascader2.mjs +2 -0
  249. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  250. package/es/components/cascader-panel/src/index.mjs +1 -0
  251. package/es/components/cascader-panel/src/index.mjs.map +1 -1
  252. package/es/components/color-picker/src/color-picker2.mjs +1 -0
  253. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  254. package/es/components/descriptions/src/description-item.d.ts +4 -0
  255. package/es/components/descriptions/src/description-item.mjs +4 -0
  256. package/es/components/descriptions/src/description-item.mjs.map +1 -1
  257. package/es/components/descriptions/src/description.d.ts +1 -0
  258. package/es/components/descriptions/src/description.mjs +4 -0
  259. package/es/components/descriptions/src/description.mjs.map +1 -1
  260. package/es/components/descriptions/src/description.vue.d.ts +3 -0
  261. package/es/components/descriptions/src/descriptions-cell.mjs +2 -1
  262. package/es/components/descriptions/src/descriptions-cell.mjs.map +1 -1
  263. package/es/components/descriptions/src/descriptions.type.d.ts +2 -0
  264. package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -2
  265. package/es/components/dropdown/src/dropdown-item-impl.mjs.map +1 -1
  266. package/es/components/dropdown/src/dropdown2.mjs +6 -1
  267. package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
  268. package/es/components/dropdown/src/useDropdown.mjs +1 -1
  269. package/es/components/dropdown/src/useDropdown.mjs.map +1 -1
  270. package/es/components/focus-trap/src/focus-trap.mjs +2 -2
  271. package/es/components/focus-trap/src/focus-trap.mjs.map +1 -1
  272. package/es/components/mention/src/mention2.mjs +51 -45
  273. package/es/components/mention/src/mention2.mjs.map +1 -1
  274. package/es/components/menu/src/utils/menu-item.mjs +1 -0
  275. package/es/components/menu/src/utils/menu-item.mjs.map +1 -1
  276. package/es/components/menu/src/utils/submenu.mjs +1 -0
  277. package/es/components/menu/src/utils/submenu.mjs.map +1 -1
  278. package/es/components/pagination/src/components/next.mjs +36 -19
  279. package/es/components/pagination/src/components/next.mjs.map +1 -1
  280. package/es/components/pagination/src/components/next2.mjs +19 -36
  281. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  282. package/es/components/pagination/src/pagination.mjs +1 -1
  283. package/es/components/pagination/style/css.d.ts +1 -0
  284. package/es/components/pagination/style/css.mjs +1 -0
  285. package/es/components/pagination/style/css.mjs.map +1 -1
  286. package/es/components/pagination/style/index.d.ts +1 -0
  287. package/es/components/pagination/style/index.mjs +1 -0
  288. package/es/components/pagination/style/index.mjs.map +1 -1
  289. package/es/components/roving-focus-group/src/roving-focus-item.mjs +2 -2
  290. package/es/components/roving-focus-group/src/roving-focus-item.mjs.map +1 -1
  291. package/es/components/roving-focus-group/src/utils.mjs +1 -1
  292. package/es/components/roving-focus-group/src/utils.mjs.map +1 -1
  293. package/es/components/select-v2/src/select-dropdown.mjs +7 -9
  294. package/es/components/select-v2/src/select-dropdown.mjs.map +1 -1
  295. package/es/components/select-v2/src/useSelect.mjs +2 -1
  296. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  297. package/es/components/slider/src/button.mjs +21 -91
  298. package/es/components/slider/src/button.mjs.map +1 -1
  299. package/es/components/slider/src/button2.mjs +91 -21
  300. package/es/components/slider/src/button2.mjs.map +1 -1
  301. package/es/components/slider/src/composables/use-slider-button.mjs +24 -15
  302. package/es/components/slider/src/composables/use-slider-button.mjs.map +1 -1
  303. package/es/components/slider/src/slider2.mjs +1 -1
  304. package/es/components/tabs/src/tab-nav.mjs +21 -25
  305. package/es/components/tabs/src/tab-nav.mjs.map +1 -1
  306. package/es/components/tabs/src/tabs.mjs +1 -1
  307. package/es/components/tabs/src/tabs.mjs.map +1 -1
  308. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +8 -4
  309. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs.map +1 -1
  310. package/es/components/tooltip/src/trigger.mjs +1 -1
  311. package/es/components/tooltip/src/trigger.mjs.map +1 -1
  312. package/es/components/tree/src/model/useKeydown.mjs +1 -1
  313. package/es/components/tree/src/model/useKeydown.mjs.map +1 -1
  314. package/es/hooks/use-escape-keydown/index.mjs +2 -3
  315. package/es/hooks/use-escape-keydown/index.mjs.map +1 -1
  316. package/es/version.d.ts +1 -1
  317. package/es/version.mjs +1 -1
  318. package/es/version.mjs.map +1 -1
  319. package/lib/components/cascader/src/cascader2.js +2 -0
  320. package/lib/components/cascader/src/cascader2.js.map +1 -1
  321. package/lib/components/cascader-panel/src/index.js +1 -0
  322. package/lib/components/cascader-panel/src/index.js.map +1 -1
  323. package/lib/components/color-picker/src/color-picker2.js +1 -0
  324. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  325. package/lib/components/descriptions/src/description-item.d.ts +4 -0
  326. package/lib/components/descriptions/src/description-item.js +4 -0
  327. package/lib/components/descriptions/src/description-item.js.map +1 -1
  328. package/lib/components/descriptions/src/description.d.ts +1 -0
  329. package/lib/components/descriptions/src/description.js +4 -0
  330. package/lib/components/descriptions/src/description.js.map +1 -1
  331. package/lib/components/descriptions/src/description.vue.d.ts +3 -0
  332. package/lib/components/descriptions/src/descriptions-cell.js +2 -1
  333. package/lib/components/descriptions/src/descriptions-cell.js.map +1 -1
  334. package/lib/components/descriptions/src/descriptions.type.d.ts +2 -0
  335. package/lib/components/dropdown/src/dropdown-item-impl.js +1 -2
  336. package/lib/components/dropdown/src/dropdown-item-impl.js.map +1 -1
  337. package/lib/components/dropdown/src/dropdown2.js +6 -1
  338. package/lib/components/dropdown/src/dropdown2.js.map +1 -1
  339. package/lib/components/dropdown/src/useDropdown.js +1 -1
  340. package/lib/components/dropdown/src/useDropdown.js.map +1 -1
  341. package/lib/components/focus-trap/src/focus-trap.js +2 -2
  342. package/lib/components/focus-trap/src/focus-trap.js.map +1 -1
  343. package/lib/components/mention/src/mention2.js +51 -45
  344. package/lib/components/mention/src/mention2.js.map +1 -1
  345. package/lib/components/menu/src/utils/menu-item.js +1 -0
  346. package/lib/components/menu/src/utils/menu-item.js.map +1 -1
  347. package/lib/components/menu/src/utils/submenu.js +1 -0
  348. package/lib/components/menu/src/utils/submenu.js.map +1 -1
  349. package/lib/components/pagination/src/components/next.js +36 -19
  350. package/lib/components/pagination/src/components/next.js.map +1 -1
  351. package/lib/components/pagination/src/components/next2.js +19 -36
  352. package/lib/components/pagination/src/components/next2.js.map +1 -1
  353. package/lib/components/pagination/src/pagination.js +1 -1
  354. package/lib/components/pagination/style/css.d.ts +1 -0
  355. package/lib/components/pagination/style/css.js +1 -0
  356. package/lib/components/pagination/style/css.js.map +1 -1
  357. package/lib/components/pagination/style/index.d.ts +1 -0
  358. package/lib/components/pagination/style/index.js +1 -0
  359. package/lib/components/pagination/style/index.js.map +1 -1
  360. package/lib/components/roving-focus-group/src/roving-focus-item.js +2 -2
  361. package/lib/components/roving-focus-group/src/roving-focus-item.js.map +1 -1
  362. package/lib/components/roving-focus-group/src/utils.js +1 -1
  363. package/lib/components/roving-focus-group/src/utils.js.map +1 -1
  364. package/lib/components/select-v2/src/select-dropdown.js +7 -9
  365. package/lib/components/select-v2/src/select-dropdown.js.map +1 -1
  366. package/lib/components/select-v2/src/useSelect.js +2 -1
  367. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  368. package/lib/components/slider/src/button.js +22 -91
  369. package/lib/components/slider/src/button.js.map +1 -1
  370. package/lib/components/slider/src/button2.js +91 -22
  371. package/lib/components/slider/src/button2.js.map +1 -1
  372. package/lib/components/slider/src/composables/use-slider-button.js +24 -15
  373. package/lib/components/slider/src/composables/use-slider-button.js.map +1 -1
  374. package/lib/components/slider/src/slider2.js +1 -1
  375. package/lib/components/tabs/src/tab-nav.js +21 -25
  376. package/lib/components/tabs/src/tab-nav.js.map +1 -1
  377. package/lib/components/tabs/src/tabs.js +1 -1
  378. package/lib/components/tabs/src/tabs.js.map +1 -1
  379. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js +7 -3
  380. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js.map +1 -1
  381. package/lib/components/tooltip/src/trigger.js +1 -1
  382. package/lib/components/tooltip/src/trigger.js.map +1 -1
  383. package/lib/components/tree/src/model/useKeydown.js +1 -1
  384. package/lib/components/tree/src/model/useKeydown.js.map +1 -1
  385. package/lib/hooks/use-escape-keydown/index.js +2 -3
  386. package/lib/hooks/use-escape-keydown/index.js.map +1 -1
  387. package/lib/version.d.ts +1 -1
  388. package/lib/version.js +1 -1
  389. package/lib/version.js.map +1 -1
  390. package/package.json +2 -2
  391. package/tags.json +1 -1
  392. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20241112 */
1
+ /*! Element Plus v0.0.20241114 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -9658,9 +9658,8 @@
9658
9658
  };
9659
9659
 
9660
9660
  let registeredEscapeHandlers = [];
9661
- const cachedHandler = (e) => {
9662
- const event = e;
9663
- if (event.key === EVENT_CODE.esc) {
9661
+ const cachedHandler = (event) => {
9662
+ if (event.code === EVENT_CODE.esc) {
9664
9663
  registeredEscapeHandlers.forEach((registeredHandler) => registeredHandler(event));
9665
9664
  }
9666
9665
  };
@@ -11568,7 +11567,7 @@
11568
11567
 
11569
11568
  const ElConfigProvider = withInstall(ConfigProvider);
11570
11569
 
11571
- const version$1 = "0.0.20241112";
11570
+ const version$1 = "0.0.20241114";
11572
11571
 
11573
11572
  const makeInstaller = (components = []) => {
11574
11573
  const install = (app, options) => {
@@ -15225,9 +15224,9 @@
15225
15224
  return;
15226
15225
  if (focusLayer.paused)
15227
15226
  return;
15228
- const { key, altKey, ctrlKey, metaKey, currentTarget, shiftKey } = e;
15227
+ const { code, altKey, ctrlKey, metaKey, currentTarget, shiftKey } = e;
15229
15228
  const { loop } = props;
15230
- const isTabbing = key === EVENT_CODE.tab && !altKey && !ctrlKey && !metaKey;
15229
+ const isTabbing = code === EVENT_CODE.tab && !altKey && !ctrlKey && !metaKey;
15231
15230
  const currentFocusingEl = document.activeElement;
15232
15231
  if (isTabbing && currentFocusingEl) {
15233
15232
  const container = currentTarget;
@@ -15877,7 +15876,7 @@
15877
15876
  },
15878
15877
  triggerKeys: {
15879
15878
  type: definePropType(Array),
15880
- default: () => [EVENT_CODE.enter, EVENT_CODE.space]
15879
+ default: () => [EVENT_CODE.enter, EVENT_CODE.numpadEnter, EVENT_CODE.space]
15881
15880
  }
15882
15881
  });
15883
15882
 
@@ -19998,6 +19997,8 @@
19998
19997
  emits: ["change", "select-range", "set-option"],
19999
19998
  setup(__props, { emit }) {
20000
19999
  const props = __props;
20000
+ const pickerBase = vue.inject("EP_PICKER_BASE");
20001
+ const { isRange } = pickerBase.props;
20001
20002
  const ns = useNamespace("time");
20002
20003
  const { getHoursList, getMinutesList, getSecondsList } = getTimeLists(props.disabledHours, props.disabledMinutes, props.disabledSeconds);
20003
20004
  let isScrolling = false;
@@ -20022,10 +20023,12 @@
20022
20023
  });
20023
20024
  const timeList = vue.computed(() => {
20024
20025
  const { hours, minutes } = vue.unref(timePartials);
20026
+ const { role, spinnerDate } = props;
20027
+ const compare = !isRange ? spinnerDate : void 0;
20025
20028
  return {
20026
- hours: getHoursList(props.role),
20027
- minutes: getMinutesList(hours, props.role),
20028
- seconds: getSecondsList(hours, minutes, props.role)
20029
+ hours: getHoursList(role, compare),
20030
+ minutes: getMinutesList(hours, role, compare),
20031
+ seconds: getSecondsList(hours, minutes, role, compare)
20029
20032
  };
20030
20033
  });
20031
20034
  const arrowControlTimeList = vue.computed(() => {
@@ -23757,6 +23760,7 @@
23757
23760
  break;
23758
23761
  }
23759
23762
  case EVENT_CODE.enter:
23763
+ case EVENT_CODE.numpadEnter:
23760
23764
  checkNode(target);
23761
23765
  break;
23762
23766
  }
@@ -24274,6 +24278,7 @@
24274
24278
  return;
24275
24279
  switch (e.code) {
24276
24280
  case EVENT_CODE.enter:
24281
+ case EVENT_CODE.numpadEnter:
24277
24282
  togglePopperVisible();
24278
24283
  break;
24279
24284
  case EVENT_CODE.down:
@@ -24328,6 +24333,7 @@
24328
24333
  break;
24329
24334
  }
24330
24335
  case EVENT_CODE.enter:
24336
+ case EVENT_CODE.numpadEnter:
24331
24337
  target.click();
24332
24338
  break;
24333
24339
  }
@@ -26209,6 +26215,7 @@
26209
26215
  function handleKeyDown(event) {
26210
26216
  switch (event.code) {
26211
26217
  case EVENT_CODE.enter:
26218
+ case EVENT_CODE.numpadEnter:
26212
26219
  case EVENT_CODE.space:
26213
26220
  event.preventDefault();
26214
26221
  event.stopPropagation();
@@ -30030,8 +30037,9 @@
30030
30037
  const labelAlign = item.labelAlign ? `is-${item.labelAlign}` : align;
30031
30038
  const className = item.className;
30032
30039
  const labelClassName = item.labelClassName;
30040
+ const width = this.type === "label" ? item.labelWidth || this.descriptions.labelWidth || item.width : item.width;
30033
30041
  const style = {
30034
- width: addUnit(item.width),
30042
+ width: addUnit(width),
30035
30043
  minWidth: addUnit(item.minWidth)
30036
30044
  };
30037
30045
  const ns = useNamespace("descriptions");
@@ -30170,6 +30178,10 @@
30170
30178
  extra: {
30171
30179
  type: String,
30172
30180
  default: ""
30181
+ },
30182
+ labelWidth: {
30183
+ type: [String, Number],
30184
+ default: ""
30173
30185
  }
30174
30186
  });
30175
30187
 
@@ -30314,6 +30326,10 @@
30314
30326
  type: [String, Number],
30315
30327
  default: ""
30316
30328
  },
30329
+ labelWidth: {
30330
+ type: [String, Number],
30331
+ default: ""
30332
+ },
30317
30333
  align: {
30318
30334
  type: String,
30319
30335
  default: "left"
@@ -31270,7 +31286,7 @@
31270
31286
  }
31271
31287
  };
31272
31288
  const getFocusIntent = (event, orientation, dir) => {
31273
- const key = getDirectionAwareKey(event.key, dir);
31289
+ const key = getDirectionAwareKey(event.code, dir);
31274
31290
  if (orientation === "vertical" && [EVENT_CODE.left, EVENT_CODE.right].includes(key))
31275
31291
  return void 0;
31276
31292
  if (orientation === "horizontal" && [EVENT_CODE.up, EVENT_CODE.down].includes(key))
@@ -31443,8 +31459,8 @@
31443
31459
  const handleKeydown = composeEventHandlers((e) => {
31444
31460
  emit("keydown", e);
31445
31461
  }, (e) => {
31446
- const { key, shiftKey, target, currentTarget } = e;
31447
- if (key === EVENT_CODE.tab && shiftKey) {
31462
+ const { code, shiftKey, target, currentTarget } = e;
31463
+ if (code === EVENT_CODE.tab && shiftKey) {
31448
31464
  onItemShiftTab();
31449
31465
  return;
31450
31466
  }
@@ -31625,7 +31641,12 @@
31625
31641
  const scrollbar = vue.ref(null);
31626
31642
  const currentTabId = vue.ref(null);
31627
31643
  const isUsingKeyboard = vue.ref(false);
31628
- const triggerKeys = [EVENT_CODE.enter, EVENT_CODE.space, EVENT_CODE.down];
31644
+ const triggerKeys = [
31645
+ EVENT_CODE.enter,
31646
+ EVENT_CODE.numpadEnter,
31647
+ EVENT_CODE.space,
31648
+ EVENT_CODE.down
31649
+ ];
31629
31650
  const wrapStyle = vue.computed(() => ({
31630
31651
  maxHeight: addUnit(props.maxHeight)
31631
31652
  }));
@@ -31913,8 +31934,7 @@
31913
31934
  return "button";
31914
31935
  });
31915
31936
  const handleKeydown = composeEventHandlers((e) => {
31916
- const { code } = e;
31917
- if (code === EVENT_CODE.enter || code === EVENT_CODE.space) {
31937
+ if ([EVENT_CODE.enter, EVENT_CODE.numpadEnter, EVENT_CODE.space].includes(e.code)) {
31918
31938
  e.preventDefault();
31919
31939
  e.stopImmediatePropagation();
31920
31940
  emit("clickimpl", e);
@@ -33589,6 +33609,7 @@
33589
33609
  break;
33590
33610
  }
33591
33611
  case EVENT_CODE.enter:
33612
+ case EVENT_CODE.numpadEnter:
33592
33613
  case EVENT_CODE.space: {
33593
33614
  prevDef = true;
33594
33615
  event.currentTarget.click();
@@ -33642,6 +33663,7 @@
33642
33663
  break;
33643
33664
  }
33644
33665
  case EVENT_CODE.enter:
33666
+ case EVENT_CODE.numpadEnter:
33645
33667
  case EVENT_CODE.space: {
33646
33668
  prevDef = true;
33647
33669
  event.currentTarget.click();
@@ -40131,7 +40153,8 @@
40131
40153
  esc,
40132
40154
  down,
40133
40155
  up,
40134
- enter
40156
+ enter,
40157
+ numpadEnter
40135
40158
  } = EVENT_CODE;
40136
40159
  if (code !== tab) {
40137
40160
  e.preventDefault();
@@ -40139,21 +40162,18 @@
40139
40162
  }
40140
40163
  switch (code) {
40141
40164
  case tab:
40142
- case esc: {
40165
+ case esc:
40143
40166
  break;
40144
- }
40145
- case down: {
40167
+ case down:
40146
40168
  onForward();
40147
40169
  break;
40148
- }
40149
- case up: {
40170
+ case up:
40150
40171
  onBackward();
40151
40172
  break;
40152
- }
40153
- case enter: {
40173
+ case enter:
40174
+ case numpadEnter:
40154
40175
  onKeyboardSelect();
40155
40176
  break;
40156
- }
40157
40177
  }
40158
40178
  };
40159
40179
  return () => {
@@ -40837,7 +40857,8 @@
40837
40857
  });
40838
40858
  vue.watch(() => props.modelValue, (val, oldVal) => {
40839
40859
  var _a;
40840
- if (!val || props.multiple && val.toString() !== states.previousValue || !props.multiple && getValueKey(val) !== getValueKey(states.previousValue)) {
40860
+ const isValEmpty = !val || isArray$1(val) && val.length === 0;
40861
+ if (isValEmpty || props.multiple && !isEqual$1(val.toString(), states.previousValue) || !props.multiple && getValueKey(val) !== getValueKey(states.previousValue)) {
40841
40862
  initStates(true);
40842
40863
  }
40843
40864
  if (!isEqual$1(val, oldVal) && props.validateEvent) {
@@ -41727,7 +41748,6 @@
41727
41748
  };
41728
41749
  };
41729
41750
 
41730
- const { left, down, right, up, home, end, pageUp, pageDown } = EVENT_CODE;
41731
41751
  const useTooltip = (props, formatTooltip, showTooltip) => {
41732
41752
  const tooltip = vue.ref();
41733
41753
  const tooltipVisible = vue.ref(false);
@@ -41828,20 +41848,30 @@
41828
41848
  };
41829
41849
  const onKeyDown = (event) => {
41830
41850
  let isPreventDefault = true;
41831
- if ([left, down].includes(event.key)) {
41832
- onLeftKeyDown();
41833
- } else if ([right, up].includes(event.key)) {
41834
- onRightKeyDown();
41835
- } else if (event.key === home) {
41836
- onHomeKeyDown();
41837
- } else if (event.key === end) {
41838
- onEndKeyDown();
41839
- } else if (event.key === pageDown) {
41840
- onPageDownKeyDown();
41841
- } else if (event.key === pageUp) {
41842
- onPageUpKeyDown();
41843
- } else {
41844
- isPreventDefault = false;
41851
+ switch (event.code) {
41852
+ case EVENT_CODE.left:
41853
+ case EVENT_CODE.down:
41854
+ onLeftKeyDown();
41855
+ break;
41856
+ case EVENT_CODE.right:
41857
+ case EVENT_CODE.up:
41858
+ onRightKeyDown();
41859
+ break;
41860
+ case EVENT_CODE.home:
41861
+ onHomeKeyDown();
41862
+ break;
41863
+ case EVENT_CODE.end:
41864
+ onEndKeyDown();
41865
+ break;
41866
+ case EVENT_CODE.pageDown:
41867
+ onPageDownKeyDown();
41868
+ break;
41869
+ case EVENT_CODE.pageUp:
41870
+ onPageUpKeyDown();
41871
+ break;
41872
+ default:
41873
+ isPreventDefault = false;
41874
+ break;
41845
41875
  }
41846
41876
  isPreventDefault && event.preventDefault();
41847
41877
  };
@@ -50381,31 +50411,27 @@
50381
50411
  }
50382
50412
  }
50383
50413
  };
50384
- const changeTab = (e) => {
50385
- const code = e.code;
50386
- const {
50387
- up,
50388
- down,
50389
- left,
50390
- right
50391
- } = EVENT_CODE;
50392
- if (![up, down, left, right].includes(code))
50393
- return;
50394
- const tabList = Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));
50395
- const currentIndex = tabList.indexOf(e.target);
50396
- let nextIndex;
50397
- if (code === left || code === up) {
50398
- if (currentIndex === 0) {
50399
- nextIndex = tabList.length - 1;
50400
- } else {
50401
- nextIndex = currentIndex - 1;
50402
- }
50403
- } else {
50404
- if (currentIndex < tabList.length - 1) {
50405
- nextIndex = currentIndex + 1;
50406
- } else {
50407
- nextIndex = 0;
50408
- }
50414
+ const changeTab = (event) => {
50415
+ let step = 0;
50416
+ switch (event.code) {
50417
+ case EVENT_CODE.left:
50418
+ case EVENT_CODE.up:
50419
+ step = -1;
50420
+ break;
50421
+ case EVENT_CODE.right:
50422
+ case EVENT_CODE.down:
50423
+ step = 1;
50424
+ break;
50425
+ default:
50426
+ return;
50427
+ }
50428
+ const tabList = Array.from(event.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));
50429
+ const currentIndex = tabList.indexOf(event.target);
50430
+ let nextIndex = currentIndex + step;
50431
+ if (nextIndex < 0) {
50432
+ nextIndex = tabList.length - 1;
50433
+ } else if (nextIndex >= tabList.length) {
50434
+ nextIndex = 0;
50409
50435
  }
50410
50436
  tabList[nextIndex].focus({
50411
50437
  preventScroll: true
@@ -50623,7 +50649,7 @@
50623
50649
  "tabindex": "0",
50624
50650
  "onClick": handleTabAdd,
50625
50651
  "onKeydown": (ev) => {
50626
- if (ev.code === EVENT_CODE.enter)
50652
+ if ([EVENT_CODE.enter, EVENT_CODE.numpadEnter].includes(ev.code))
50627
50653
  handleTabAdd();
50628
50654
  }
50629
50655
  }, [addSlot ? vue.renderSlot(slots, "add-icon") : vue.createVNode(ElIcon, {
@@ -53560,7 +53586,7 @@
53560
53586
  currentItem.click();
53561
53587
  }
53562
53588
  const hasInput = currentItem.querySelector('[type="checkbox"]');
53563
- if ([EVENT_CODE.enter, EVENT_CODE.space].includes(code) && hasInput) {
53589
+ if ([EVENT_CODE.enter, EVENT_CODE.numpadEnter, EVENT_CODE.space].includes(code) && hasInput) {
53564
53590
  ev.preventDefault();
53565
53591
  hasInput.click();
53566
53592
  }
@@ -58188,55 +58214,60 @@
58188
58214
  emit("update:modelValue", value);
58189
58215
  syncAfterCursorMove();
58190
58216
  };
58191
- const handleInputKeyDown = (e) => {
58217
+ const handleInputKeyDown = (event) => {
58192
58218
  var _a, _b, _c, _d;
58193
- if (!("key" in e))
58194
- return;
58195
- if ((_a = elInputRef.value) == null ? void 0 : _a.isComposing)
58219
+ if (!("code" in event) || ((_a = elInputRef.value) == null ? void 0 : _a.isComposing))
58196
58220
  return;
58197
- if (["ArrowLeft", "ArrowRight"].includes(e.key)) {
58198
- syncAfterCursorMove();
58199
- } else if (["ArrowUp", "ArrowDown"].includes(e.key)) {
58200
- if (!visible.value)
58201
- return;
58202
- e.preventDefault();
58203
- const direction = e.key === "ArrowUp" ? "prev" : "next";
58204
- (_b = dropdownRef.value) == null ? void 0 : _b.navigateOptions(direction);
58205
- } else if (["Enter"].includes(e.key)) {
58206
- if (!visible.value)
58207
- return;
58208
- e.preventDefault();
58209
- if ((_c = dropdownRef.value) == null ? void 0 : _c.hoverOption) {
58210
- (_d = dropdownRef.value) == null ? void 0 : _d.selectHoverOption();
58211
- } else {
58212
- visible.value = false;
58213
- }
58214
- } else if (["Escape"].includes(e.key)) {
58215
- if (!visible.value)
58216
- return;
58217
- e.preventDefault();
58218
- visible.value = false;
58219
- } else if (["Backspace"].includes(e.key)) {
58220
- if (props.whole && mentionCtx.value) {
58221
- const { splitIndex, selectionEnd, pattern, prefixIndex, prefix } = mentionCtx.value;
58222
- const inputEl = getInputEl();
58223
- if (!inputEl)
58221
+ switch (event.code) {
58222
+ case EVENT_CODE.left:
58223
+ case EVENT_CODE.right:
58224
+ syncAfterCursorMove();
58225
+ break;
58226
+ case EVENT_CODE.up:
58227
+ case EVENT_CODE.down:
58228
+ if (!visible.value)
58224
58229
  return;
58225
- const inputValue = inputEl.value;
58226
- const matchOption = props.options.find((item) => item.value === pattern);
58227
- const isWhole = isFunction$1(props.checkIsWhole) ? props.checkIsWhole(pattern, prefix) : matchOption;
58228
- if (isWhole && splitIndex !== -1 && splitIndex + 1 === selectionEnd) {
58229
- e.preventDefault();
58230
- const newValue = inputValue.slice(0, prefixIndex) + inputValue.slice(splitIndex + 1);
58231
- emit(UPDATE_MODEL_EVENT, newValue);
58232
- const newSelectionEnd = prefixIndex;
58233
- vue.nextTick(() => {
58234
- inputEl.selectionStart = newSelectionEnd;
58235
- inputEl.selectionEnd = newSelectionEnd;
58236
- syncDropdownVisible();
58237
- });
58230
+ event.preventDefault();
58231
+ (_b = dropdownRef.value) == null ? void 0 : _b.navigateOptions(event.code === EVENT_CODE.up ? "prev" : "next");
58232
+ break;
58233
+ case EVENT_CODE.enter:
58234
+ case EVENT_CODE.numpadEnter:
58235
+ if (!visible.value)
58236
+ return;
58237
+ event.preventDefault();
58238
+ if ((_c = dropdownRef.value) == null ? void 0 : _c.hoverOption) {
58239
+ (_d = dropdownRef.value) == null ? void 0 : _d.selectHoverOption();
58240
+ } else {
58241
+ visible.value = false;
58242
+ }
58243
+ break;
58244
+ case EVENT_CODE.esc:
58245
+ if (!visible.value)
58246
+ return;
58247
+ event.preventDefault();
58248
+ visible.value = false;
58249
+ break;
58250
+ case EVENT_CODE.backspace:
58251
+ if (props.whole && mentionCtx.value) {
58252
+ const { splitIndex, selectionEnd, pattern, prefixIndex, prefix } = mentionCtx.value;
58253
+ const inputEl = getInputEl();
58254
+ if (!inputEl)
58255
+ return;
58256
+ const inputValue = inputEl.value;
58257
+ const matchOption = props.options.find((item) => item.value === pattern);
58258
+ const isWhole = isFunction$1(props.checkIsWhole) ? props.checkIsWhole(pattern, prefix) : matchOption;
58259
+ if (isWhole && splitIndex !== -1 && splitIndex + 1 === selectionEnd) {
58260
+ event.preventDefault();
58261
+ const newValue = inputValue.slice(0, prefixIndex) + inputValue.slice(splitIndex + 1);
58262
+ emit(UPDATE_MODEL_EVENT, newValue);
58263
+ const newSelectionEnd = prefixIndex;
58264
+ vue.nextTick(() => {
58265
+ inputEl.selectionStart = newSelectionEnd;
58266
+ inputEl.selectionEnd = newSelectionEnd;
58267
+ syncDropdownVisible();
58268
+ });
58269
+ }
58238
58270
  }
58239
- }
58240
58271
  }
58241
58272
  };
58242
58273
  const { wrapperRef } = useFocusController(elInputRef, {