element-plus 2.8.7 → 2.8.8

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 (549) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.full.js +511 -325
  3. package/dist/index.full.min.js +18 -18
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +18 -18
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +511 -325
  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/anchor/index.mjs +1 -1
  249. package/es/components/anchor/src/anchor-link.mjs +81 -6
  250. package/es/components/anchor/src/anchor-link.mjs.map +1 -1
  251. package/es/components/anchor/src/anchor-link2.mjs +6 -81
  252. package/es/components/anchor/src/anchor-link2.mjs.map +1 -1
  253. package/es/components/autocomplete/index.mjs +2 -2
  254. package/es/components/autocomplete/src/autocomplete.mjs +81 -367
  255. package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
  256. package/es/components/autocomplete/src/autocomplete2.mjs +367 -81
  257. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  258. package/es/components/cascader/src/cascader2.mjs +2 -0
  259. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  260. package/es/components/cascader-panel/src/index.mjs +1 -0
  261. package/es/components/cascader-panel/src/index.mjs.map +1 -1
  262. package/es/components/color-picker/src/color-picker2.mjs +1 -0
  263. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  264. package/es/components/countdown/index.mjs +2 -2
  265. package/es/components/countdown/src/countdown.mjs +79 -23
  266. package/es/components/countdown/src/countdown.mjs.map +1 -1
  267. package/es/components/countdown/src/countdown2.mjs +23 -79
  268. package/es/components/countdown/src/countdown2.mjs.map +1 -1
  269. package/es/components/date-picker/src/composables/use-basic-date-table.d.ts +12 -12
  270. package/es/components/date-picker/src/composables/use-range-picker.d.ts +6 -6
  271. package/es/components/descriptions/src/description-item.d.ts +4 -0
  272. package/es/components/descriptions/src/description-item.mjs +4 -0
  273. package/es/components/descriptions/src/description-item.mjs.map +1 -1
  274. package/es/components/descriptions/src/description.d.ts +1 -0
  275. package/es/components/descriptions/src/description.mjs +4 -0
  276. package/es/components/descriptions/src/description.mjs.map +1 -1
  277. package/es/components/descriptions/src/description.vue.d.ts +3 -0
  278. package/es/components/descriptions/src/descriptions-cell.mjs +2 -1
  279. package/es/components/descriptions/src/descriptions-cell.mjs.map +1 -1
  280. package/es/components/descriptions/src/descriptions.type.d.ts +2 -0
  281. package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -2
  282. package/es/components/dropdown/src/dropdown-item-impl.mjs.map +1 -1
  283. package/es/components/dropdown/src/dropdown.mjs +1 -1
  284. package/es/components/dropdown/src/dropdown2.mjs +6 -1
  285. package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
  286. package/es/components/dropdown/src/useDropdown.mjs +1 -1
  287. package/es/components/dropdown/src/useDropdown.mjs.map +1 -1
  288. package/es/components/focus-trap/src/focus-trap.mjs +2 -2
  289. package/es/components/focus-trap/src/focus-trap.mjs.map +1 -1
  290. package/es/components/index.mjs +4 -4
  291. package/es/components/mention/src/mention-dropdown2.mjs +3 -3
  292. package/es/components/mention/src/mention-dropdown2.mjs.map +1 -1
  293. package/es/components/mention/src/mention2.mjs +51 -45
  294. package/es/components/mention/src/mention2.mjs.map +1 -1
  295. package/es/components/menu/src/utils/menu-item.mjs +1 -0
  296. package/es/components/menu/src/utils/menu-item.mjs.map +1 -1
  297. package/es/components/menu/src/utils/submenu.mjs +1 -0
  298. package/es/components/menu/src/utils/submenu.mjs.map +1 -1
  299. package/es/components/pagination/style/css.d.ts +1 -0
  300. package/es/components/pagination/style/css.mjs +1 -0
  301. package/es/components/pagination/style/css.mjs.map +1 -1
  302. package/es/components/pagination/style/index.d.ts +1 -0
  303. package/es/components/pagination/style/index.mjs +1 -0
  304. package/es/components/pagination/style/index.mjs.map +1 -1
  305. package/es/components/popover/src/popover.mjs +1 -1
  306. package/es/components/radio/index.mjs +2 -2
  307. package/es/components/radio/src/radio-button.mjs +66 -6
  308. package/es/components/radio/src/radio-button.mjs.map +1 -1
  309. package/es/components/radio/src/radio-button2.mjs +6 -66
  310. package/es/components/radio/src/radio-button2.mjs.map +1 -1
  311. package/es/components/roving-focus-group/src/roving-focus-item.mjs +2 -2
  312. package/es/components/roving-focus-group/src/roving-focus-item.mjs.map +1 -1
  313. package/es/components/roving-focus-group/src/utils.mjs +1 -1
  314. package/es/components/roving-focus-group/src/utils.mjs.map +1 -1
  315. package/es/components/segmented/src/segmented2.mjs +1 -0
  316. package/es/components/segmented/src/segmented2.mjs.map +1 -1
  317. package/es/components/select/src/option.mjs +2 -2
  318. package/es/components/select/src/option.mjs.map +1 -1
  319. package/es/components/select/src/select.d.ts +2 -0
  320. package/es/components/select/src/select.mjs +8 -0
  321. package/es/components/select/src/select.mjs.map +1 -1
  322. package/es/components/select/src/select.vue.d.ts +7 -1
  323. package/es/components/select/src/select2.mjs +4 -2
  324. package/es/components/select/src/select2.mjs.map +1 -1
  325. package/es/components/select/src/useSelect.d.ts +1 -1
  326. package/es/components/select/src/useSelect.mjs +18 -11
  327. package/es/components/select/src/useSelect.mjs.map +1 -1
  328. package/es/components/select-v2/src/defaults.d.ts +3 -0
  329. package/es/components/select-v2/src/defaults.mjs +9 -0
  330. package/es/components/select-v2/src/defaults.mjs.map +1 -1
  331. package/es/components/select-v2/src/option-item.mjs +2 -2
  332. package/es/components/select-v2/src/option-item.mjs.map +1 -1
  333. package/es/components/select-v2/src/select-dropdown.mjs +7 -9
  334. package/es/components/select-v2/src/select-dropdown.mjs.map +1 -1
  335. package/es/components/select-v2/src/select.mjs +5 -2
  336. package/es/components/select-v2/src/select.mjs.map +1 -1
  337. package/es/components/select-v2/src/select.vue.d.ts +9 -0
  338. package/es/components/select-v2/src/useSelect.d.ts +1 -0
  339. package/es/components/select-v2/src/useSelect.mjs +7 -1
  340. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  341. package/es/components/skeleton/src/skeleton.d.ts +10 -1
  342. package/es/components/skeleton/src/skeleton.mjs +2 -2
  343. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  344. package/es/components/skeleton/src/skeleton.vue.d.ts +18 -2
  345. package/es/components/skeleton/src/skeleton2.mjs +1 -1
  346. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  347. package/es/components/slider/src/composables/use-slider-button.mjs +24 -15
  348. package/es/components/slider/src/composables/use-slider-button.mjs.map +1 -1
  349. package/es/components/table/src/store/watcher.mjs +10 -1
  350. package/es/components/table/src/store/watcher.mjs.map +1 -1
  351. package/es/components/table/src/table/style-helper.d.ts +0 -10
  352. package/es/components/table/src/table/style-helper.mjs +0 -14
  353. package/es/components/table/src/table/style-helper.mjs.map +1 -1
  354. package/es/components/table/src/table-header/index.d.ts +4 -0
  355. package/es/components/table/src/table-header/index.mjs +32 -3
  356. package/es/components/table/src/table-header/index.mjs.map +1 -1
  357. package/es/components/table/src/table.mjs +2 -5
  358. package/es/components/table/src/table.mjs.map +1 -1
  359. package/es/components/table/src/table.vue.d.ts +0 -10
  360. package/es/components/table/src/util.d.ts +2 -0
  361. package/es/components/table/src/util.mjs +14 -11
  362. package/es/components/table/src/util.mjs.map +1 -1
  363. package/es/components/tabs/src/tab-nav.mjs +21 -25
  364. package/es/components/tabs/src/tab-nav.mjs.map +1 -1
  365. package/es/components/tabs/src/tabs.mjs +1 -1
  366. package/es/components/tabs/src/tabs.mjs.map +1 -1
  367. package/es/components/time-picker/src/common/picker.mjs +1 -1
  368. package/es/components/time-picker/src/common/picker.mjs.map +1 -1
  369. package/es/components/time-picker/src/composables/use-time-picker.d.ts +12 -12
  370. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +8 -4
  371. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs.map +1 -1
  372. package/es/components/tooltip/index.mjs +1 -1
  373. package/es/components/tooltip/src/tooltip.mjs +1 -1
  374. package/es/components/tooltip/src/tooltip2.mjs +1 -1
  375. package/es/components/tooltip/src/trigger.mjs +73 -16
  376. package/es/components/tooltip/src/trigger.mjs.map +1 -1
  377. package/es/components/tooltip/src/trigger2.mjs +16 -73
  378. package/es/components/tooltip/src/trigger2.mjs.map +1 -1
  379. package/es/components/tooltip-v2/index.mjs +2 -2
  380. package/es/components/tooltip-v2/src/tooltip.mjs +77 -20
  381. package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
  382. package/es/components/tooltip-v2/src/tooltip2.mjs +20 -77
  383. package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
  384. package/es/components/tree/src/model/useKeydown.mjs +1 -1
  385. package/es/components/tree/src/model/useKeydown.mjs.map +1 -1
  386. package/es/hooks/use-escape-keydown/index.mjs +2 -3
  387. package/es/hooks/use-escape-keydown/index.mjs.map +1 -1
  388. package/es/hooks/use-throttle-render/index.d.ts +6 -1
  389. package/es/hooks/use-throttle-render/index.mjs +27 -8
  390. package/es/hooks/use-throttle-render/index.mjs.map +1 -1
  391. package/es/index.mjs +4 -4
  392. package/es/utils/vue/vnode.mjs +2 -3
  393. package/es/utils/vue/vnode.mjs.map +1 -1
  394. package/es/version.d.ts +1 -1
  395. package/es/version.mjs +1 -1
  396. package/es/version.mjs.map +1 -1
  397. package/lib/components/anchor/index.js +1 -1
  398. package/lib/components/anchor/src/anchor-link.js +81 -6
  399. package/lib/components/anchor/src/anchor-link.js.map +1 -1
  400. package/lib/components/anchor/src/anchor-link2.js +6 -81
  401. package/lib/components/anchor/src/anchor-link2.js.map +1 -1
  402. package/lib/components/autocomplete/index.js +2 -2
  403. package/lib/components/autocomplete/src/autocomplete.js +80 -365
  404. package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
  405. package/lib/components/autocomplete/src/autocomplete2.js +365 -80
  406. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  407. package/lib/components/cascader/src/cascader2.js +2 -0
  408. package/lib/components/cascader/src/cascader2.js.map +1 -1
  409. package/lib/components/cascader-panel/src/index.js +1 -0
  410. package/lib/components/cascader-panel/src/index.js.map +1 -1
  411. package/lib/components/color-picker/src/color-picker2.js +1 -0
  412. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  413. package/lib/components/countdown/index.js +2 -2
  414. package/lib/components/countdown/src/countdown.js +79 -24
  415. package/lib/components/countdown/src/countdown.js.map +1 -1
  416. package/lib/components/countdown/src/countdown2.js +24 -79
  417. package/lib/components/countdown/src/countdown2.js.map +1 -1
  418. package/lib/components/date-picker/src/composables/use-basic-date-table.d.ts +12 -12
  419. package/lib/components/date-picker/src/composables/use-range-picker.d.ts +6 -6
  420. package/lib/components/descriptions/src/description-item.d.ts +4 -0
  421. package/lib/components/descriptions/src/description-item.js +4 -0
  422. package/lib/components/descriptions/src/description-item.js.map +1 -1
  423. package/lib/components/descriptions/src/description.d.ts +1 -0
  424. package/lib/components/descriptions/src/description.js +4 -0
  425. package/lib/components/descriptions/src/description.js.map +1 -1
  426. package/lib/components/descriptions/src/description.vue.d.ts +3 -0
  427. package/lib/components/descriptions/src/descriptions-cell.js +2 -1
  428. package/lib/components/descriptions/src/descriptions-cell.js.map +1 -1
  429. package/lib/components/descriptions/src/descriptions.type.d.ts +2 -0
  430. package/lib/components/dropdown/src/dropdown-item-impl.js +1 -2
  431. package/lib/components/dropdown/src/dropdown-item-impl.js.map +1 -1
  432. package/lib/components/dropdown/src/dropdown.js +1 -1
  433. package/lib/components/dropdown/src/dropdown2.js +6 -1
  434. package/lib/components/dropdown/src/dropdown2.js.map +1 -1
  435. package/lib/components/dropdown/src/useDropdown.js +1 -1
  436. package/lib/components/dropdown/src/useDropdown.js.map +1 -1
  437. package/lib/components/focus-trap/src/focus-trap.js +2 -2
  438. package/lib/components/focus-trap/src/focus-trap.js.map +1 -1
  439. package/lib/components/index.js +4 -4
  440. package/lib/components/mention/src/mention-dropdown2.js +3 -3
  441. package/lib/components/mention/src/mention-dropdown2.js.map +1 -1
  442. package/lib/components/mention/src/mention2.js +51 -45
  443. package/lib/components/mention/src/mention2.js.map +1 -1
  444. package/lib/components/menu/src/utils/menu-item.js +1 -0
  445. package/lib/components/menu/src/utils/menu-item.js.map +1 -1
  446. package/lib/components/menu/src/utils/submenu.js +1 -0
  447. package/lib/components/menu/src/utils/submenu.js.map +1 -1
  448. package/lib/components/pagination/style/css.d.ts +1 -0
  449. package/lib/components/pagination/style/css.js +1 -0
  450. package/lib/components/pagination/style/css.js.map +1 -1
  451. package/lib/components/pagination/style/index.d.ts +1 -0
  452. package/lib/components/pagination/style/index.js +1 -0
  453. package/lib/components/pagination/style/index.js.map +1 -1
  454. package/lib/components/popover/src/popover.js +1 -1
  455. package/lib/components/radio/index.js +2 -2
  456. package/lib/components/radio/src/radio-button.js +66 -6
  457. package/lib/components/radio/src/radio-button.js.map +1 -1
  458. package/lib/components/radio/src/radio-button2.js +6 -66
  459. package/lib/components/radio/src/radio-button2.js.map +1 -1
  460. package/lib/components/roving-focus-group/src/roving-focus-item.js +2 -2
  461. package/lib/components/roving-focus-group/src/roving-focus-item.js.map +1 -1
  462. package/lib/components/roving-focus-group/src/utils.js +1 -1
  463. package/lib/components/roving-focus-group/src/utils.js.map +1 -1
  464. package/lib/components/segmented/src/segmented2.js +1 -0
  465. package/lib/components/segmented/src/segmented2.js.map +1 -1
  466. package/lib/components/select/src/option.js +2 -2
  467. package/lib/components/select/src/option.js.map +1 -1
  468. package/lib/components/select/src/select.d.ts +2 -0
  469. package/lib/components/select/src/select.js +8 -0
  470. package/lib/components/select/src/select.js.map +1 -1
  471. package/lib/components/select/src/select.vue.d.ts +7 -1
  472. package/lib/components/select/src/select2.js +4 -2
  473. package/lib/components/select/src/select2.js.map +1 -1
  474. package/lib/components/select/src/useSelect.d.ts +1 -1
  475. package/lib/components/select/src/useSelect.js +17 -10
  476. package/lib/components/select/src/useSelect.js.map +1 -1
  477. package/lib/components/select-v2/src/defaults.d.ts +3 -0
  478. package/lib/components/select-v2/src/defaults.js +9 -0
  479. package/lib/components/select-v2/src/defaults.js.map +1 -1
  480. package/lib/components/select-v2/src/option-item.js +2 -2
  481. package/lib/components/select-v2/src/option-item.js.map +1 -1
  482. package/lib/components/select-v2/src/select-dropdown.js +7 -9
  483. package/lib/components/select-v2/src/select-dropdown.js.map +1 -1
  484. package/lib/components/select-v2/src/select.js +5 -2
  485. package/lib/components/select-v2/src/select.js.map +1 -1
  486. package/lib/components/select-v2/src/select.vue.d.ts +9 -0
  487. package/lib/components/select-v2/src/useSelect.d.ts +1 -0
  488. package/lib/components/select-v2/src/useSelect.js +7 -1
  489. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  490. package/lib/components/skeleton/src/skeleton.d.ts +10 -1
  491. package/lib/components/skeleton/src/skeleton.js +1 -1
  492. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  493. package/lib/components/skeleton/src/skeleton.vue.d.ts +18 -2
  494. package/lib/components/skeleton/src/skeleton2.js +1 -1
  495. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  496. package/lib/components/slider/src/composables/use-slider-button.js +24 -15
  497. package/lib/components/slider/src/composables/use-slider-button.js.map +1 -1
  498. package/lib/components/table/src/store/watcher.js +10 -1
  499. package/lib/components/table/src/store/watcher.js.map +1 -1
  500. package/lib/components/table/src/table/style-helper.d.ts +0 -10
  501. package/lib/components/table/src/table/style-helper.js +0 -14
  502. package/lib/components/table/src/table/style-helper.js.map +1 -1
  503. package/lib/components/table/src/table-header/index.d.ts +4 -0
  504. package/lib/components/table/src/table-header/index.js +32 -3
  505. package/lib/components/table/src/table-header/index.js.map +1 -1
  506. package/lib/components/table/src/table.js +2 -5
  507. package/lib/components/table/src/table.js.map +1 -1
  508. package/lib/components/table/src/table.vue.d.ts +0 -10
  509. package/lib/components/table/src/util.d.ts +2 -0
  510. package/lib/components/table/src/util.js +13 -10
  511. package/lib/components/table/src/util.js.map +1 -1
  512. package/lib/components/tabs/src/tab-nav.js +21 -25
  513. package/lib/components/tabs/src/tab-nav.js.map +1 -1
  514. package/lib/components/tabs/src/tabs.js +1 -1
  515. package/lib/components/tabs/src/tabs.js.map +1 -1
  516. package/lib/components/time-picker/src/common/picker.js +1 -1
  517. package/lib/components/time-picker/src/common/picker.js.map +1 -1
  518. package/lib/components/time-picker/src/composables/use-time-picker.d.ts +12 -12
  519. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js +7 -3
  520. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js.map +1 -1
  521. package/lib/components/tooltip/index.js +1 -1
  522. package/lib/components/tooltip/src/tooltip.js +1 -1
  523. package/lib/components/tooltip/src/tooltip2.js +1 -1
  524. package/lib/components/tooltip/src/trigger.js +73 -16
  525. package/lib/components/tooltip/src/trigger.js.map +1 -1
  526. package/lib/components/tooltip/src/trigger2.js +16 -73
  527. package/lib/components/tooltip/src/trigger2.js.map +1 -1
  528. package/lib/components/tooltip-v2/index.js +2 -2
  529. package/lib/components/tooltip-v2/src/tooltip.js +77 -20
  530. package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
  531. package/lib/components/tooltip-v2/src/tooltip2.js +20 -77
  532. package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
  533. package/lib/components/tree/src/model/useKeydown.js +1 -1
  534. package/lib/components/tree/src/model/useKeydown.js.map +1 -1
  535. package/lib/hooks/use-escape-keydown/index.js +2 -3
  536. package/lib/hooks/use-escape-keydown/index.js.map +1 -1
  537. package/lib/hooks/use-throttle-render/index.d.ts +6 -1
  538. package/lib/hooks/use-throttle-render/index.js +27 -8
  539. package/lib/hooks/use-throttle-render/index.js.map +1 -1
  540. package/lib/index.js +4 -4
  541. package/lib/utils/vue/vnode.js +2 -3
  542. package/lib/utils/vue/vnode.js.map +1 -1
  543. package/lib/version.d.ts +1 -1
  544. package/lib/version.js +1 -1
  545. package/lib/version.js.map +1 -1
  546. package/package.json +3 -3
  547. package/tags.json +1 -1
  548. package/theme-chalk/src/mixins/mixins.scss +4 -1
  549. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v2.8.7 */
1
+ /*! Element Plus v2.8.8 */
2
2
 
3
3
  import { readonly, shallowRef, watchEffect, getCurrentScope, onScopeDispose, unref, ref, watch, getCurrentInstance, onMounted, nextTick, computed, defineComponent, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, onBeforeUnmount, isRef, inject, onUnmounted, h as h$1, Teleport as Teleport$1, onBeforeMount, provide, renderSlot, normalizeClass, normalizeStyle, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, toRef, reactive, toRefs, onUpdated, TransitionGroup, useAttrs as useAttrs$1, withModifiers, onActivated, cloneVNode, Text as Text$1, onDeactivated, renderList, withKeys, createSlots, normalizeProps, guardReactiveProps, toRaw, vModelCheckbox, vModelRadio, resolveComponent, onBeforeUpdate, vModelText, toHandlers, markRaw, effectScope, resolveDirective, toHandlerKey, render, createApp, shallowReactive } from 'vue';
4
4
 
@@ -766,9 +766,6 @@ const isPromise = (val) => {
766
766
  };
767
767
  const objectToString$1 = Object.prototype.toString;
768
768
  const toTypeString = (value) => objectToString$1.call(value);
769
- const toRawType = (value) => {
770
- return toTypeString(value).slice(8, -1);
771
- };
772
769
  const isPlainObject$1 = (val) => toTypeString(val) === "[object Object]";
773
770
  const cacheStringFunction = (fn) => {
774
771
  const cache = /* @__PURE__ */ Object.create(null);
@@ -8744,13 +8741,12 @@ const flattedChildren = (children) => {
8744
8741
  var _a;
8745
8742
  if (isArray$1(child)) {
8746
8743
  result.push(...flattedChildren(child));
8744
+ } else if (isVNode(child) && ((_a = child.component) == null ? void 0 : _a.subTree)) {
8745
+ result.push(child, ...flattedChildren(child.component.subTree));
8747
8746
  } else if (isVNode(child) && isArray$1(child.children)) {
8748
8747
  result.push(...flattedChildren(child.children));
8749
8748
  } else {
8750
8749
  result.push(child);
8751
- if (isVNode(child) && ((_a = child.component) == null ? void 0 : _a.subTree)) {
8752
- result.push(...flattedChildren(child.component.subTree));
8753
- }
8754
8750
  }
8755
8751
  });
8756
8752
  return result;
@@ -9531,23 +9527,39 @@ const useTeleport = (contentRenderer, appendToBody) => {
9531
9527
  const useThrottleRender = (loading, throttle = 0) => {
9532
9528
  if (throttle === 0)
9533
9529
  return loading;
9534
- const throttled = ref(false);
9530
+ const initVal = isObject$1(throttle) && Boolean(throttle.initVal);
9531
+ const throttled = ref(initVal);
9535
9532
  let timeoutHandle = null;
9536
- const dispatchThrottling = () => {
9533
+ const dispatchThrottling = (timer) => {
9534
+ if (isUndefined(timer)) {
9535
+ throttled.value = loading.value;
9536
+ return;
9537
+ }
9537
9538
  if (timeoutHandle) {
9538
9539
  clearTimeout(timeoutHandle);
9539
9540
  }
9540
9541
  timeoutHandle = setTimeout(() => {
9541
9542
  throttled.value = loading.value;
9542
- }, throttle);
9543
+ }, timer);
9543
9544
  };
9544
- onMounted(dispatchThrottling);
9545
- watch(() => loading.value, (val) => {
9546
- if (val) {
9547
- dispatchThrottling();
9545
+ const dispatcher = (type) => {
9546
+ if (type === "leading") {
9547
+ if (isNumber(throttle)) {
9548
+ dispatchThrottling(throttle);
9549
+ } else {
9550
+ dispatchThrottling(throttle.leading);
9551
+ }
9548
9552
  } else {
9549
- throttled.value = val;
9553
+ if (isObject$1(throttle)) {
9554
+ dispatchThrottling(throttle.trailing);
9555
+ } else {
9556
+ throttled.value = false;
9557
+ }
9550
9558
  }
9559
+ };
9560
+ onMounted(() => dispatcher("leading"));
9561
+ watch(() => loading.value, (val) => {
9562
+ dispatcher(val ? "leading" : "trailing");
9551
9563
  });
9552
9564
  return throttled;
9553
9565
  };
@@ -9642,9 +9654,8 @@ const useId = (deterministicId) => {
9642
9654
  };
9643
9655
 
9644
9656
  let registeredEscapeHandlers = [];
9645
- const cachedHandler = (e) => {
9646
- const event = e;
9647
- if (event.key === EVENT_CODE.esc) {
9657
+ const cachedHandler = (event) => {
9658
+ if (event.code === EVENT_CODE.esc) {
9648
9659
  registeredEscapeHandlers.forEach((registeredHandler) => registeredHandler(event));
9649
9660
  }
9650
9661
  };
@@ -11552,7 +11563,7 @@ const ConfigProvider = defineComponent({
11552
11563
 
11553
11564
  const ElConfigProvider = withInstall(ConfigProvider);
11554
11565
 
11555
- const version$1 = "2.8.7";
11566
+ const version$1 = "2.8.8";
11556
11567
 
11557
11568
  const makeInstaller = (components = []) => {
11558
11569
  const install = (app, options) => {
@@ -15209,9 +15220,9 @@ const _sfc_main$2k = defineComponent({
15209
15220
  return;
15210
15221
  if (focusLayer.paused)
15211
15222
  return;
15212
- const { key, altKey, ctrlKey, metaKey, currentTarget, shiftKey } = e;
15223
+ const { code, altKey, ctrlKey, metaKey, currentTarget, shiftKey } = e;
15213
15224
  const { loop } = props;
15214
- const isTabbing = key === EVENT_CODE.tab && !altKey && !ctrlKey && !metaKey;
15225
+ const isTabbing = code === EVENT_CODE.tab && !altKey && !ctrlKey && !metaKey;
15215
15226
  const currentFocusingEl = document.activeElement;
15216
15227
  if (isTabbing && currentFocusingEl) {
15217
15228
  const container = currentTarget;
@@ -15861,7 +15872,7 @@ const useTooltipTriggerProps = buildProps({
15861
15872
  },
15862
15873
  triggerKeys: {
15863
15874
  type: definePropType(Array),
15864
- default: () => [EVENT_CODE.enter, EVENT_CODE.space]
15875
+ default: () => [EVENT_CODE.enter, EVENT_CODE.numpadEnter, EVENT_CODE.space]
15865
15876
  }
15866
15877
  });
15867
15878
 
@@ -18319,31 +18330,34 @@ var dayjs_min = {exports: {}};
18319
18330
  !function(t, e) {
18320
18331
  module.exports = e() ;
18321
18332
  }(commonjsGlobal, function() {
18322
- var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", f = "month", h = "quarter", c = "year", d = "date", $ = "Invalid Date", l = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_") }, m = function(t2, e2, n2) {
18333
+ var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", c = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
18334
+ var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
18335
+ return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
18336
+ } }, m = function(t2, e2, n2) {
18323
18337
  var r2 = String(t2);
18324
18338
  return !r2 || r2.length >= e2 ? t2 : "" + Array(e2 + 1 - r2.length).join(n2) + t2;
18325
- }, g = { s: m, z: function(t2) {
18339
+ }, v = { s: m, z: function(t2) {
18326
18340
  var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r2 = Math.floor(n2 / 60), i2 = n2 % 60;
18327
18341
  return (e2 <= 0 ? "+" : "-") + m(r2, 2, "0") + ":" + m(i2, 2, "0");
18328
18342
  }, m: function t2(e2, n2) {
18329
18343
  if (e2.date() < n2.date())
18330
18344
  return -t2(n2, e2);
18331
- var r2 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r2, f), s2 = n2 - i2 < 0, u2 = e2.clone().add(r2 + (s2 ? -1 : 1), f);
18345
+ var r2 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r2, c), s2 = n2 - i2 < 0, u2 = e2.clone().add(r2 + (s2 ? -1 : 1), c);
18332
18346
  return +(-(r2 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
18333
18347
  }, a: function(t2) {
18334
18348
  return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
18335
18349
  }, p: function(t2) {
18336
- return { M: f, y: c, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: h }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
18350
+ return { M: c, y: h, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: f }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
18337
18351
  }, u: function(t2) {
18338
18352
  return t2 === void 0;
18339
- } }, v = "en", D = {};
18340
- D[v] = M;
18341
- var p = function(t2) {
18342
- return t2 instanceof _;
18343
- }, S = function t2(e2, n2, r2) {
18353
+ } }, g = "en", D = {};
18354
+ D[g] = M;
18355
+ var p = "$isDayjsObject", S = function(t2) {
18356
+ return t2 instanceof _ || !(!t2 || !t2[p]);
18357
+ }, w = function t2(e2, n2, r2) {
18344
18358
  var i2;
18345
18359
  if (!e2)
18346
- return v;
18360
+ return g;
18347
18361
  if (typeof e2 == "string") {
18348
18362
  var s2 = e2.toLowerCase();
18349
18363
  D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
@@ -18354,19 +18368,19 @@ var dayjs_min = {exports: {}};
18354
18368
  var a2 = e2.name;
18355
18369
  D[a2] = e2, i2 = a2;
18356
18370
  }
18357
- return !r2 && i2 && (v = i2), i2 || !r2 && v;
18358
- }, w = function(t2, e2) {
18359
- if (p(t2))
18371
+ return !r2 && i2 && (g = i2), i2 || !r2 && g;
18372
+ }, O = function(t2, e2) {
18373
+ if (S(t2))
18360
18374
  return t2.clone();
18361
18375
  var n2 = typeof e2 == "object" ? e2 : {};
18362
18376
  return n2.date = t2, n2.args = arguments, new _(n2);
18363
- }, O = g;
18364
- O.l = S, O.i = p, O.w = function(t2, e2) {
18365
- return w(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
18377
+ }, b = v;
18378
+ b.l = w, b.i = S, b.w = function(t2, e2) {
18379
+ return O(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
18366
18380
  };
18367
18381
  var _ = function() {
18368
18382
  function M2(t2) {
18369
- this.$L = S(t2.locale, null, true), this.parse(t2);
18383
+ this.$L = w(t2.locale, null, true), this.parse(t2), this.$x = this.$x || t2.x || {}, this[p] = true;
18370
18384
  }
18371
18385
  var m2 = M2.prototype;
18372
18386
  return m2.parse = function(t2) {
@@ -18374,130 +18388,212 @@ var dayjs_min = {exports: {}};
18374
18388
  var e2 = t3.date, n2 = t3.utc;
18375
18389
  if (e2 === null)
18376
18390
  return new Date(NaN);
18377
- if (O.u(e2))
18391
+ if (b.u(e2))
18378
18392
  return new Date();
18379
18393
  if (e2 instanceof Date)
18380
18394
  return new Date(e2);
18381
18395
  if (typeof e2 == "string" && !/Z$/i.test(e2)) {
18382
- var r2 = e2.match(l);
18396
+ var r2 = e2.match($);
18383
18397
  if (r2) {
18384
18398
  var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
18385
18399
  return n2 ? new Date(Date.UTC(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2)) : new Date(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2);
18386
18400
  }
18387
18401
  }
18388
18402
  return new Date(e2);
18389
- }(t2), this.$x = t2.x || {}, this.init();
18403
+ }(t2), this.init();
18390
18404
  }, m2.init = function() {
18391
18405
  var t2 = this.$d;
18392
18406
  this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
18393
18407
  }, m2.$utils = function() {
18394
- return O;
18408
+ return b;
18395
18409
  }, m2.isValid = function() {
18396
- return !(this.$d.toString() === $);
18410
+ return !(this.$d.toString() === l);
18397
18411
  }, m2.isSame = function(t2, e2) {
18398
- var n2 = w(t2);
18412
+ var n2 = O(t2);
18399
18413
  return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
18400
18414
  }, m2.isAfter = function(t2, e2) {
18401
- return w(t2) < this.startOf(e2);
18415
+ return O(t2) < this.startOf(e2);
18402
18416
  }, m2.isBefore = function(t2, e2) {
18403
- return this.endOf(e2) < w(t2);
18417
+ return this.endOf(e2) < O(t2);
18404
18418
  }, m2.$g = function(t2, e2, n2) {
18405
- return O.u(t2) ? this[e2] : this.set(n2, t2);
18419
+ return b.u(t2) ? this[e2] : this.set(n2, t2);
18406
18420
  }, m2.unix = function() {
18407
18421
  return Math.floor(this.valueOf() / 1e3);
18408
18422
  }, m2.valueOf = function() {
18409
18423
  return this.$d.getTime();
18410
18424
  }, m2.startOf = function(t2, e2) {
18411
- var n2 = this, r2 = !!O.u(e2) || e2, h2 = O.p(t2), $2 = function(t3, e3) {
18412
- var i2 = O.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
18425
+ var n2 = this, r2 = !!b.u(e2) || e2, f2 = b.p(t2), l2 = function(t3, e3) {
18426
+ var i2 = b.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
18413
18427
  return r2 ? i2 : i2.endOf(a);
18414
- }, l2 = function(t3, e3) {
18415
- return O.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
18416
- }, y2 = this.$W, M3 = this.$M, m3 = this.$D, g2 = "set" + (this.$u ? "UTC" : "");
18417
- switch (h2) {
18428
+ }, $2 = function(t3, e3) {
18429
+ return b.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
18430
+ }, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
18431
+ switch (f2) {
18432
+ case h:
18433
+ return r2 ? l2(1, 0) : l2(31, 11);
18418
18434
  case c:
18419
- return r2 ? $2(1, 0) : $2(31, 11);
18420
- case f:
18421
- return r2 ? $2(1, M3) : $2(0, M3 + 1);
18435
+ return r2 ? l2(1, M3) : l2(0, M3 + 1);
18422
18436
  case o:
18423
- var v2 = this.$locale().weekStart || 0, D2 = (y2 < v2 ? y2 + 7 : y2) - v2;
18424
- return $2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
18437
+ var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
18438
+ return l2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
18425
18439
  case a:
18426
18440
  case d:
18427
- return l2(g2 + "Hours", 0);
18441
+ return $2(v2 + "Hours", 0);
18428
18442
  case u:
18429
- return l2(g2 + "Minutes", 1);
18443
+ return $2(v2 + "Minutes", 1);
18430
18444
  case s:
18431
- return l2(g2 + "Seconds", 2);
18445
+ return $2(v2 + "Seconds", 2);
18432
18446
  case i:
18433
- return l2(g2 + "Milliseconds", 3);
18447
+ return $2(v2 + "Milliseconds", 3);
18434
18448
  default:
18435
18449
  return this.clone();
18436
18450
  }
18437
18451
  }, m2.endOf = function(t2) {
18438
18452
  return this.startOf(t2, false);
18439
18453
  }, m2.$set = function(t2, e2) {
18440
- var n2, o2 = O.p(t2), h2 = "set" + (this.$u ? "UTC" : ""), $2 = (n2 = {}, n2[a] = h2 + "Date", n2[d] = h2 + "Date", n2[f] = h2 + "Month", n2[c] = h2 + "FullYear", n2[u] = h2 + "Hours", n2[s] = h2 + "Minutes", n2[i] = h2 + "Seconds", n2[r] = h2 + "Milliseconds", n2)[o2], l2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
18441
- if (o2 === f || o2 === c) {
18454
+ var n2, o2 = b.p(t2), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = f2 + "Date", n2[d] = f2 + "Date", n2[c] = f2 + "Month", n2[h] = f2 + "FullYear", n2[u] = f2 + "Hours", n2[s] = f2 + "Minutes", n2[i] = f2 + "Seconds", n2[r] = f2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
18455
+ if (o2 === c || o2 === h) {
18442
18456
  var y2 = this.clone().set(d, 1);
18443
- y2.$d[$2](l2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
18457
+ y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
18444
18458
  } else
18445
- $2 && this.$d[$2](l2);
18459
+ l2 && this.$d[l2]($2);
18446
18460
  return this.init(), this;
18447
18461
  }, m2.set = function(t2, e2) {
18448
18462
  return this.clone().$set(t2, e2);
18449
18463
  }, m2.get = function(t2) {
18450
- return this[O.p(t2)]();
18451
- }, m2.add = function(r2, h2) {
18452
- var d2, $2 = this;
18464
+ return this[b.p(t2)]();
18465
+ }, m2.add = function(r2, f2) {
18466
+ var d2, l2 = this;
18453
18467
  r2 = Number(r2);
18454
- var l2 = O.p(h2), y2 = function(t2) {
18455
- var e2 = w($2);
18456
- return O.w(e2.date(e2.date() + Math.round(t2 * r2)), $2);
18468
+ var $2 = b.p(f2), y2 = function(t2) {
18469
+ var e2 = O(l2);
18470
+ return b.w(e2.date(e2.date() + Math.round(t2 * r2)), l2);
18457
18471
  };
18458
- if (l2 === f)
18459
- return this.set(f, this.$M + r2);
18460
- if (l2 === c)
18461
- return this.set(c, this.$y + r2);
18462
- if (l2 === a)
18472
+ if ($2 === c)
18473
+ return this.set(c, this.$M + r2);
18474
+ if ($2 === h)
18475
+ return this.set(h, this.$y + r2);
18476
+ if ($2 === a)
18463
18477
  return y2(1);
18464
- if (l2 === o)
18478
+ if ($2 === o)
18465
18479
  return y2(7);
18466
- var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[l2] || 1, m3 = this.$d.getTime() + r2 * M3;
18467
- return O.w(m3, this);
18480
+ var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r2 * M3;
18481
+ return b.w(m3, this);
18468
18482
  }, m2.subtract = function(t2, e2) {
18469
18483
  return this.add(-1 * t2, e2);
18470
18484
  }, m2.format = function(t2) {
18471
18485
  var e2 = this, n2 = this.$locale();
18472
18486
  if (!this.isValid())
18473
- return n2.invalidDate || $;
18474
- var r2 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = O.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, f2 = n2.months, h2 = function(t3, n3, i3, s3) {
18487
+ return n2.invalidDate || l;
18488
+ var r2 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, c2 = n2.months, f2 = n2.meridiem, h2 = function(t3, n3, i3, s3) {
18475
18489
  return t3 && (t3[n3] || t3(e2, r2)) || i3[n3].slice(0, s3);
18476
- }, c2 = function(t3) {
18477
- return O.s(s2 % 12 || 12, t3, "0");
18478
- }, d2 = n2.meridiem || function(t3, e3, n3) {
18490
+ }, d2 = function(t3) {
18491
+ return b.s(s2 % 12 || 12, t3, "0");
18492
+ }, $2 = f2 || function(t3, e3, n3) {
18479
18493
  var r3 = t3 < 12 ? "AM" : "PM";
18480
18494
  return n3 ? r3.toLowerCase() : r3;
18481
- }, l2 = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a2 + 1, MM: O.s(a2 + 1, 2, "0"), MMM: h2(n2.monthsShort, a2, f2, 3), MMMM: h2(f2, a2), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h2(n2.weekdaysMin, this.$W, o2, 2), ddd: h2(n2.weekdaysShort, this.$W, o2, 3), dddd: o2[this.$W], H: String(s2), HH: O.s(s2, 2, "0"), h: c2(1), hh: c2(2), a: d2(s2, u2, true), A: d2(s2, u2, false), m: String(u2), mm: O.s(u2, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i2 };
18482
- return r2.replace(y, function(t3, e3) {
18483
- return e3 || l2[t3] || i2.replace(":", "");
18495
+ };
18496
+ return r2.replace(y, function(t3, r3) {
18497
+ return r3 || function(t4) {
18498
+ switch (t4) {
18499
+ case "YY":
18500
+ return String(e2.$y).slice(-2);
18501
+ case "YYYY":
18502
+ return b.s(e2.$y, 4, "0");
18503
+ case "M":
18504
+ return a2 + 1;
18505
+ case "MM":
18506
+ return b.s(a2 + 1, 2, "0");
18507
+ case "MMM":
18508
+ return h2(n2.monthsShort, a2, c2, 3);
18509
+ case "MMMM":
18510
+ return h2(c2, a2);
18511
+ case "D":
18512
+ return e2.$D;
18513
+ case "DD":
18514
+ return b.s(e2.$D, 2, "0");
18515
+ case "d":
18516
+ return String(e2.$W);
18517
+ case "dd":
18518
+ return h2(n2.weekdaysMin, e2.$W, o2, 2);
18519
+ case "ddd":
18520
+ return h2(n2.weekdaysShort, e2.$W, o2, 3);
18521
+ case "dddd":
18522
+ return o2[e2.$W];
18523
+ case "H":
18524
+ return String(s2);
18525
+ case "HH":
18526
+ return b.s(s2, 2, "0");
18527
+ case "h":
18528
+ return d2(1);
18529
+ case "hh":
18530
+ return d2(2);
18531
+ case "a":
18532
+ return $2(s2, u2, true);
18533
+ case "A":
18534
+ return $2(s2, u2, false);
18535
+ case "m":
18536
+ return String(u2);
18537
+ case "mm":
18538
+ return b.s(u2, 2, "0");
18539
+ case "s":
18540
+ return String(e2.$s);
18541
+ case "ss":
18542
+ return b.s(e2.$s, 2, "0");
18543
+ case "SSS":
18544
+ return b.s(e2.$ms, 3, "0");
18545
+ case "Z":
18546
+ return i2;
18547
+ }
18548
+ return null;
18549
+ }(t3) || i2.replace(":", "");
18484
18550
  });
18485
18551
  }, m2.utcOffset = function() {
18486
18552
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
18487
- }, m2.diff = function(r2, d2, $2) {
18488
- var l2, y2 = O.p(d2), M3 = w(r2), m3 = (M3.utcOffset() - this.utcOffset()) * e, g2 = this - M3, v2 = O.m(this, M3);
18489
- return v2 = (l2 = {}, l2[c] = v2 / 12, l2[f] = v2, l2[h] = v2 / 3, l2[o] = (g2 - m3) / 6048e5, l2[a] = (g2 - m3) / 864e5, l2[u] = g2 / n, l2[s] = g2 / e, l2[i] = g2 / t, l2)[y2] || g2, $2 ? v2 : O.a(v2);
18553
+ }, m2.diff = function(r2, d2, l2) {
18554
+ var $2, y2 = this, M3 = b.p(d2), m3 = O(r2), v2 = (m3.utcOffset() - this.utcOffset()) * e, g2 = this - m3, D2 = function() {
18555
+ return b.m(y2, m3);
18556
+ };
18557
+ switch (M3) {
18558
+ case h:
18559
+ $2 = D2() / 12;
18560
+ break;
18561
+ case c:
18562
+ $2 = D2();
18563
+ break;
18564
+ case f:
18565
+ $2 = D2() / 3;
18566
+ break;
18567
+ case o:
18568
+ $2 = (g2 - v2) / 6048e5;
18569
+ break;
18570
+ case a:
18571
+ $2 = (g2 - v2) / 864e5;
18572
+ break;
18573
+ case u:
18574
+ $2 = g2 / n;
18575
+ break;
18576
+ case s:
18577
+ $2 = g2 / e;
18578
+ break;
18579
+ case i:
18580
+ $2 = g2 / t;
18581
+ break;
18582
+ default:
18583
+ $2 = g2;
18584
+ }
18585
+ return l2 ? $2 : b.a($2);
18490
18586
  }, m2.daysInMonth = function() {
18491
- return this.endOf(f).$D;
18587
+ return this.endOf(c).$D;
18492
18588
  }, m2.$locale = function() {
18493
18589
  return D[this.$L];
18494
18590
  }, m2.locale = function(t2, e2) {
18495
18591
  if (!t2)
18496
18592
  return this.$L;
18497
- var n2 = this.clone(), r2 = S(t2, e2, true);
18593
+ var n2 = this.clone(), r2 = w(t2, e2, true);
18498
18594
  return r2 && (n2.$L = r2), n2;
18499
18595
  }, m2.clone = function() {
18500
- return O.w(this.$d, this);
18596
+ return b.w(this.$d, this);
18501
18597
  }, m2.toDate = function() {
18502
18598
  return new Date(this.valueOf());
18503
18599
  }, m2.toJSON = function() {
@@ -18507,16 +18603,16 @@ var dayjs_min = {exports: {}};
18507
18603
  }, m2.toString = function() {
18508
18604
  return this.$d.toUTCString();
18509
18605
  }, M2;
18510
- }(), T = _.prototype;
18511
- return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function(t2) {
18512
- T[t2[1]] = function(e2) {
18606
+ }(), k = _.prototype;
18607
+ return O.prototype = k, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t2) {
18608
+ k[t2[1]] = function(e2) {
18513
18609
  return this.$g(e2, t2[0], t2[1]);
18514
18610
  };
18515
- }), w.extend = function(t2, e2) {
18516
- return t2.$i || (t2(e2, _, w), t2.$i = true), w;
18517
- }, w.locale = S, w.isDayjs = p, w.unix = function(t2) {
18518
- return w(1e3 * t2);
18519
- }, w.en = D[v], w.Ls = D, w.p = {}, w;
18611
+ }), O.extend = function(t2, e2) {
18612
+ return t2.$i || (t2(e2, _, O), t2.$i = true), O;
18613
+ }, O.locale = w, O.isDayjs = S, O.unix = function(t2) {
18614
+ return O(1e3 * t2);
18615
+ }, O.en = D[g], O.Ls = D, O.p = {}, O;
18520
18616
  });
18521
18617
  })(dayjs_min);
18522
18618
  var dayjs = dayjs_min.exports;
@@ -18527,14 +18623,14 @@ var customParseFormat$1 = {exports: {}};
18527
18623
  !function(e, t) {
18528
18624
  module.exports = t() ;
18529
18625
  }(commonjsGlobal, function() {
18530
- var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, t = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, n = /\d\d/, r = /\d\d?/, i = /\d*[^-_:/,()\s\d]+/, o = {}, s = function(e2) {
18626
+ var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, t = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, n = /\d/, r = /\d\d/, i = /\d\d?/, o = /\d*[^-_:/,()\s\d]+/, s = {}, a = function(e2) {
18531
18627
  return (e2 = +e2) + (e2 > 68 ? 1900 : 2e3);
18532
18628
  };
18533
- var a = function(e2) {
18629
+ var f = function(e2) {
18534
18630
  return function(t2) {
18535
18631
  this[e2] = +t2;
18536
18632
  };
18537
- }, f = [/[+-]\d\d:?(\d\d)?|Z/, function(e2) {
18633
+ }, h = [/[+-]\d\d:?(\d\d)?|Z/, function(e2) {
18538
18634
  (this.zone || (this.zone = {})).offset = function(e3) {
18539
18635
  if (!e3)
18540
18636
  return 0;
@@ -18543,11 +18639,11 @@ var customParseFormat$1 = {exports: {}};
18543
18639
  var t2 = e3.match(/([+-]|\d\d)/g), n2 = 60 * t2[1] + (+t2[2] || 0);
18544
18640
  return n2 === 0 ? 0 : t2[0] === "+" ? -n2 : n2;
18545
18641
  }(e2);
18546
- }], h = function(e2) {
18547
- var t2 = o[e2];
18642
+ }], u = function(e2) {
18643
+ var t2 = s[e2];
18548
18644
  return t2 && (t2.indexOf ? t2 : t2.s.concat(t2.f));
18549
- }, u = function(e2, t2) {
18550
- var n2, r2 = o.meridiem;
18645
+ }, d = function(e2, t2) {
18646
+ var n2, r2 = s.meridiem;
18551
18647
  if (r2) {
18552
18648
  for (var i2 = 1; i2 <= 24; i2 += 1)
18553
18649
  if (e2.indexOf(r2(i2, 0, t2)) > -1) {
@@ -18557,55 +18653,57 @@ var customParseFormat$1 = {exports: {}};
18557
18653
  } else
18558
18654
  n2 = e2 === (t2 ? "pm" : "PM");
18559
18655
  return n2;
18560
- }, d = { A: [i, function(e2) {
18561
- this.afternoon = u(e2, false);
18562
- }], a: [i, function(e2) {
18563
- this.afternoon = u(e2, true);
18564
- }], S: [/\d/, function(e2) {
18656
+ }, c = { A: [o, function(e2) {
18657
+ this.afternoon = d(e2, false);
18658
+ }], a: [o, function(e2) {
18659
+ this.afternoon = d(e2, true);
18660
+ }], Q: [n, function(e2) {
18661
+ this.month = 3 * (e2 - 1) + 1;
18662
+ }], S: [n, function(e2) {
18565
18663
  this.milliseconds = 100 * +e2;
18566
- }], SS: [n, function(e2) {
18664
+ }], SS: [r, function(e2) {
18567
18665
  this.milliseconds = 10 * +e2;
18568
18666
  }], SSS: [/\d{3}/, function(e2) {
18569
18667
  this.milliseconds = +e2;
18570
- }], s: [r, a("seconds")], ss: [r, a("seconds")], m: [r, a("minutes")], mm: [r, a("minutes")], H: [r, a("hours")], h: [r, a("hours")], HH: [r, a("hours")], hh: [r, a("hours")], D: [r, a("day")], DD: [n, a("day")], Do: [i, function(e2) {
18571
- var t2 = o.ordinal, n2 = e2.match(/\d+/);
18668
+ }], s: [i, f("seconds")], ss: [i, f("seconds")], m: [i, f("minutes")], mm: [i, f("minutes")], H: [i, f("hours")], h: [i, f("hours")], HH: [i, f("hours")], hh: [i, f("hours")], D: [i, f("day")], DD: [r, f("day")], Do: [o, function(e2) {
18669
+ var t2 = s.ordinal, n2 = e2.match(/\d+/);
18572
18670
  if (this.day = n2[0], t2)
18573
18671
  for (var r2 = 1; r2 <= 31; r2 += 1)
18574
18672
  t2(r2).replace(/\[|\]/g, "") === e2 && (this.day = r2);
18575
- }], M: [r, a("month")], MM: [n, a("month")], MMM: [i, function(e2) {
18576
- var t2 = h("months"), n2 = (h("monthsShort") || t2.map(function(e3) {
18673
+ }], w: [i, f("week")], ww: [r, f("week")], M: [i, f("month")], MM: [r, f("month")], MMM: [o, function(e2) {
18674
+ var t2 = u("months"), n2 = (u("monthsShort") || t2.map(function(e3) {
18577
18675
  return e3.slice(0, 3);
18578
18676
  })).indexOf(e2) + 1;
18579
18677
  if (n2 < 1)
18580
18678
  throw new Error();
18581
18679
  this.month = n2 % 12 || n2;
18582
- }], MMMM: [i, function(e2) {
18583
- var t2 = h("months").indexOf(e2) + 1;
18680
+ }], MMMM: [o, function(e2) {
18681
+ var t2 = u("months").indexOf(e2) + 1;
18584
18682
  if (t2 < 1)
18585
18683
  throw new Error();
18586
18684
  this.month = t2 % 12 || t2;
18587
- }], Y: [/[+-]?\d+/, a("year")], YY: [n, function(e2) {
18588
- this.year = s(e2);
18589
- }], YYYY: [/\d{4}/, a("year")], Z: f, ZZ: f };
18590
- function c(n2) {
18685
+ }], Y: [/[+-]?\d+/, f("year")], YY: [r, function(e2) {
18686
+ this.year = a(e2);
18687
+ }], YYYY: [/\d{4}/, f("year")], Z: h, ZZ: h };
18688
+ function l(n2) {
18591
18689
  var r2, i2;
18592
- r2 = n2, i2 = o && o.formats;
18593
- for (var s2 = (n2 = r2.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(t2, n3, r3) {
18594
- var o2 = r3 && r3.toUpperCase();
18595
- return n3 || i2[r3] || e[r3] || i2[o2].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(e2, t3, n4) {
18690
+ r2 = n2, i2 = s && s.formats;
18691
+ for (var o2 = (n2 = r2.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(t2, n3, r3) {
18692
+ var o3 = r3 && r3.toUpperCase();
18693
+ return n3 || i2[r3] || e[r3] || i2[o3].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(e2, t3, n4) {
18596
18694
  return t3 || n4.slice(1);
18597
18695
  });
18598
- })).match(t), a2 = s2.length, f2 = 0; f2 < a2; f2 += 1) {
18599
- var h2 = s2[f2], u2 = d[h2], c2 = u2 && u2[0], l = u2 && u2[1];
18600
- s2[f2] = l ? { regex: c2, parser: l } : h2.replace(/^\[|\]$/g, "");
18696
+ })).match(t), a2 = o2.length, f2 = 0; f2 < a2; f2 += 1) {
18697
+ var h2 = o2[f2], u2 = c[h2], d2 = u2 && u2[0], l2 = u2 && u2[1];
18698
+ o2[f2] = l2 ? { regex: d2, parser: l2 } : h2.replace(/^\[|\]$/g, "");
18601
18699
  }
18602
18700
  return function(e2) {
18603
18701
  for (var t2 = {}, n3 = 0, r3 = 0; n3 < a2; n3 += 1) {
18604
- var i3 = s2[n3];
18702
+ var i3 = o2[n3];
18605
18703
  if (typeof i3 == "string")
18606
18704
  r3 += i3.length;
18607
18705
  else {
18608
- var o2 = i3.regex, f3 = i3.parser, h3 = e2.slice(r3), u3 = o2.exec(h3)[0];
18706
+ var s2 = i3.regex, f3 = i3.parser, h3 = e2.slice(r3), u3 = s2.exec(h3)[0];
18609
18707
  f3.call(t2, u3), e2 = e2.replace(u3, "");
18610
18708
  }
18611
18709
  }
@@ -18619,35 +18717,35 @@ var customParseFormat$1 = {exports: {}};
18619
18717
  };
18620
18718
  }
18621
18719
  return function(e2, t2, n2) {
18622
- n2.p.customParseFormat = true, e2 && e2.parseTwoDigitYear && (s = e2.parseTwoDigitYear);
18720
+ n2.p.customParseFormat = true, e2 && e2.parseTwoDigitYear && (a = e2.parseTwoDigitYear);
18623
18721
  var r2 = t2.prototype, i2 = r2.parse;
18624
18722
  r2.parse = function(e3) {
18625
- var t3 = e3.date, r3 = e3.utc, s2 = e3.args;
18723
+ var t3 = e3.date, r3 = e3.utc, o2 = e3.args;
18626
18724
  this.$u = r3;
18627
- var a2 = s2[1];
18725
+ var a2 = o2[1];
18628
18726
  if (typeof a2 == "string") {
18629
- var f2 = s2[2] === true, h2 = s2[3] === true, u2 = f2 || h2, d2 = s2[2];
18630
- h2 && (d2 = s2[2]), o = this.$locale(), !f2 && d2 && (o = n2.Ls[d2]), this.$d = function(e4, t4, n3) {
18727
+ var f2 = o2[2] === true, h2 = o2[3] === true, u2 = f2 || h2, d2 = o2[2];
18728
+ h2 && (d2 = o2[2]), s = this.$locale(), !f2 && d2 && (s = n2.Ls[d2]), this.$d = function(e4, t4, n3, r4) {
18631
18729
  try {
18632
18730
  if (["x", "X"].indexOf(t4) > -1)
18633
18731
  return new Date((t4 === "X" ? 1e3 : 1) * e4);
18634
- var r4 = c(t4)(e4), i3 = r4.year, o2 = r4.month, s3 = r4.day, a3 = r4.hours, f3 = r4.minutes, h3 = r4.seconds, u3 = r4.milliseconds, d3 = r4.zone, l2 = new Date(), m2 = s3 || (i3 || o2 ? 1 : l2.getDate()), M2 = i3 || l2.getFullYear(), Y = 0;
18635
- i3 && !o2 || (Y = o2 > 0 ? o2 - 1 : l2.getMonth());
18636
- var p = a3 || 0, v = f3 || 0, D = h3 || 0, g = u3 || 0;
18637
- return d3 ? new Date(Date.UTC(M2, Y, m2, p, v, D, g + 60 * d3.offset * 1e3)) : n3 ? new Date(Date.UTC(M2, Y, m2, p, v, D, g)) : new Date(M2, Y, m2, p, v, D, g);
18732
+ var i3 = l(t4)(e4), o3 = i3.year, s2 = i3.month, a3 = i3.day, f3 = i3.hours, h3 = i3.minutes, u3 = i3.seconds, d3 = i3.milliseconds, c3 = i3.zone, m2 = i3.week, M2 = new Date(), Y = a3 || (o3 || s2 ? 1 : M2.getDate()), p = o3 || M2.getFullYear(), v = 0;
18733
+ o3 && !s2 || (v = s2 > 0 ? s2 - 1 : M2.getMonth());
18734
+ var D, w = f3 || 0, g = h3 || 0, y = u3 || 0, L = d3 || 0;
18735
+ return c3 ? new Date(Date.UTC(p, v, Y, w, g, y, L + 60 * c3.offset * 1e3)) : n3 ? new Date(Date.UTC(p, v, Y, w, g, y, L)) : (D = new Date(p, v, Y, w, g, y, L), m2 && (D = r4(D).week(m2).toDate()), D);
18638
18736
  } catch (e5) {
18639
18737
  return new Date("");
18640
18738
  }
18641
- }(t3, a2, r3), this.init(), d2 && d2 !== true && (this.$L = this.locale(d2).$L), u2 && t3 != this.format(a2) && (this.$d = new Date("")), o = {};
18739
+ }(t3, a2, r3, n2), this.init(), d2 && d2 !== true && (this.$L = this.locale(d2).$L), u2 && t3 != this.format(a2) && (this.$d = new Date("")), s = {};
18642
18740
  } else if (a2 instanceof Array)
18643
- for (var l = a2.length, m = 1; m <= l; m += 1) {
18644
- s2[1] = a2[m - 1];
18645
- var M = n2.apply(this, s2);
18741
+ for (var c2 = a2.length, m = 1; m <= c2; m += 1) {
18742
+ o2[1] = a2[m - 1];
18743
+ var M = n2.apply(this, o2);
18646
18744
  if (M.isValid()) {
18647
18745
  this.$d = M.$d, this.$L = M.$L, this.init();
18648
18746
  break;
18649
18747
  }
18650
- m === l && (this.$d = new Date(""));
18748
+ m === c2 && (this.$d = new Date(""));
18651
18749
  }
18652
18750
  else
18653
18751
  i2.call(this, e3);
@@ -19012,7 +19110,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
19012
19110
  let hasJustTabExitedInput = false;
19013
19111
  const { isFocused, handleFocus, handleBlur } = useFocusController(inputRef, {
19014
19112
  beforeFocus() {
19015
- return !props.editable || props.readonly || pickerDisabled.value;
19113
+ return props.readonly || pickerDisabled.value;
19016
19114
  },
19017
19115
  afterFocus() {
19018
19116
  pickerVisible.value = true;
@@ -19895,6 +19993,8 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
19895
19993
  emits: ["change", "select-range", "set-option"],
19896
19994
  setup(__props, { emit }) {
19897
19995
  const props = __props;
19996
+ const pickerBase = inject("EP_PICKER_BASE");
19997
+ const { isRange } = pickerBase.props;
19898
19998
  const ns = useNamespace("time");
19899
19999
  const { getHoursList, getMinutesList, getSecondsList } = getTimeLists(props.disabledHours, props.disabledMinutes, props.disabledSeconds);
19900
20000
  let isScrolling = false;
@@ -19919,10 +20019,12 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
19919
20019
  });
19920
20020
  const timeList = computed(() => {
19921
20021
  const { hours, minutes } = unref(timePartials);
20022
+ const { role, spinnerDate } = props;
20023
+ const compare = !isRange ? spinnerDate : void 0;
19922
20024
  return {
19923
- hours: getHoursList(props.role),
19924
- minutes: getMinutesList(hours, props.role),
19925
- seconds: getSecondsList(hours, minutes, props.role)
20025
+ hours: getHoursList(role, compare),
20026
+ minutes: getMinutesList(hours, role, compare),
20027
+ seconds: getSecondsList(hours, minutes, role, compare)
19926
20028
  };
19927
20029
  });
19928
20030
  const arrowControlTimeList = computed(() => {
@@ -23654,6 +23756,7 @@ const _sfc_main$1Q = defineComponent({
23654
23756
  break;
23655
23757
  }
23656
23758
  case EVENT_CODE.enter:
23759
+ case EVENT_CODE.numpadEnter:
23657
23760
  checkNode(target);
23658
23761
  break;
23659
23762
  }
@@ -24171,6 +24274,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
24171
24274
  return;
24172
24275
  switch (e.code) {
24173
24276
  case EVENT_CODE.enter:
24277
+ case EVENT_CODE.numpadEnter:
24174
24278
  togglePopperVisible();
24175
24279
  break;
24176
24280
  case EVENT_CODE.down:
@@ -24225,6 +24329,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
24225
24329
  break;
24226
24330
  }
24227
24331
  case EVENT_CODE.enter:
24332
+ case EVENT_CODE.numpadEnter:
24228
24333
  target.click();
24229
24334
  break;
24230
24335
  }
@@ -26106,6 +26211,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
26106
26211
  function handleKeyDown(event) {
26107
26212
  switch (event.code) {
26108
26213
  case EVENT_CODE.enter:
26214
+ case EVENT_CODE.numpadEnter:
26109
26215
  case EVENT_CODE.space:
26110
26216
  event.preventDefault();
26111
26217
  event.stopPropagation();
@@ -26494,16 +26600,13 @@ var advancedFormat$1 = {exports: {}};
26494
26600
  !function(e, t) {
26495
26601
  module.exports = t() ;
26496
26602
  }(commonjsGlobal, function() {
26497
- return function(e, t, r) {
26498
- var n = t.prototype, s = n.format;
26499
- r.en.ordinal = function(e2) {
26500
- var t2 = ["th", "st", "nd", "rd"], r2 = e2 % 100;
26501
- return "[" + e2 + (t2[(r2 - 20) % 10] || t2[r2] || t2[0]) + "]";
26502
- }, n.format = function(e2) {
26603
+ return function(e, t) {
26604
+ var r = t.prototype, n = r.format;
26605
+ r.format = function(e2) {
26503
26606
  var t2 = this, r2 = this.$locale();
26504
26607
  if (!this.isValid())
26505
- return s.bind(this)(e2);
26506
- var n2 = this.$utils(), a = (e2 || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function(e3) {
26608
+ return n.bind(this)(e2);
26609
+ var s = this.$utils(), a = (e2 || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function(e3) {
26507
26610
  switch (e3) {
26508
26611
  case "Q":
26509
26612
  return Math.ceil((t2.$M + 1) / 3);
@@ -26517,13 +26620,13 @@ var advancedFormat$1 = {exports: {}};
26517
26620
  return r2.ordinal(t2.week(), "W");
26518
26621
  case "w":
26519
26622
  case "ww":
26520
- return n2.s(t2.week(), e3 === "w" ? 1 : 2, "0");
26623
+ return s.s(t2.week(), e3 === "w" ? 1 : 2, "0");
26521
26624
  case "W":
26522
26625
  case "WW":
26523
- return n2.s(t2.isoWeek(), e3 === "W" ? 1 : 2, "0");
26626
+ return s.s(t2.isoWeek(), e3 === "W" ? 1 : 2, "0");
26524
26627
  case "k":
26525
26628
  case "kk":
26526
- return n2.s(String(t2.$H === 0 ? 24 : t2.$H), e3 === "k" ? 1 : 2, "0");
26629
+ return s.s(String(t2.$H === 0 ? 24 : t2.$H), e3 === "k" ? 1 : 2, "0");
26527
26630
  case "X":
26528
26631
  return Math.floor(t2.$d.getTime() / 1e3);
26529
26632
  case "x":
@@ -26536,7 +26639,7 @@ var advancedFormat$1 = {exports: {}};
26536
26639
  return e3;
26537
26640
  }
26538
26641
  });
26539
- return s.bind(this)(a);
26642
+ return n.bind(this)(a);
26540
26643
  };
26541
26644
  };
26542
26645
  });
@@ -29930,8 +30033,9 @@ var ElDescriptionsCell = defineComponent({
29930
30033
  const labelAlign = item.labelAlign ? `is-${item.labelAlign}` : align;
29931
30034
  const className = item.className;
29932
30035
  const labelClassName = item.labelClassName;
30036
+ const width = this.type === "label" ? item.labelWidth || this.descriptions.labelWidth || item.width : item.width;
29933
30037
  const style = {
29934
- width: addUnit(item.width),
30038
+ width: addUnit(width),
29935
30039
  minWidth: addUnit(item.minWidth)
29936
30040
  };
29937
30041
  const ns = useNamespace("descriptions");
@@ -30070,6 +30174,10 @@ const descriptionProps = buildProps({
30070
30174
  extra: {
30071
30175
  type: String,
30072
30176
  default: ""
30177
+ },
30178
+ labelWidth: {
30179
+ type: [String, Number],
30180
+ default: ""
30073
30181
  }
30074
30182
  });
30075
30183
 
@@ -30214,6 +30322,10 @@ const descriptionItemProps = buildProps({
30214
30322
  type: [String, Number],
30215
30323
  default: ""
30216
30324
  },
30325
+ labelWidth: {
30326
+ type: [String, Number],
30327
+ default: ""
30328
+ },
30217
30329
  align: {
30218
30330
  type: String,
30219
30331
  default: "left"
@@ -31170,7 +31282,7 @@ const getDirectionAwareKey = (key, dir) => {
31170
31282
  }
31171
31283
  };
31172
31284
  const getFocusIntent = (event, orientation, dir) => {
31173
- const key = getDirectionAwareKey(event.key, dir);
31285
+ const key = getDirectionAwareKey(event.code, dir);
31174
31286
  if (orientation === "vertical" && [EVENT_CODE.left, EVENT_CODE.right].includes(key))
31175
31287
  return void 0;
31176
31288
  if (orientation === "horizontal" && [EVENT_CODE.up, EVENT_CODE.down].includes(key))
@@ -31343,8 +31455,8 @@ const _sfc_main$1g = defineComponent({
31343
31455
  const handleKeydown = composeEventHandlers((e) => {
31344
31456
  emit("keydown", e);
31345
31457
  }, (e) => {
31346
- const { key, shiftKey, target, currentTarget } = e;
31347
- if (key === EVENT_CODE.tab && shiftKey) {
31458
+ const { code, shiftKey, target, currentTarget } = e;
31459
+ if (code === EVENT_CODE.tab && shiftKey) {
31348
31460
  onItemShiftTab();
31349
31461
  return;
31350
31462
  }
@@ -31525,7 +31637,12 @@ const _sfc_main$1f = defineComponent({
31525
31637
  const scrollbar = ref(null);
31526
31638
  const currentTabId = ref(null);
31527
31639
  const isUsingKeyboard = ref(false);
31528
- const triggerKeys = [EVENT_CODE.enter, EVENT_CODE.space, EVENT_CODE.down];
31640
+ const triggerKeys = [
31641
+ EVENT_CODE.enter,
31642
+ EVENT_CODE.numpadEnter,
31643
+ EVENT_CODE.space,
31644
+ EVENT_CODE.down
31645
+ ];
31529
31646
  const wrapStyle = computed(() => ({
31530
31647
  maxHeight: addUnit(props.maxHeight)
31531
31648
  }));
@@ -31813,8 +31930,7 @@ const _sfc_main$1e = defineComponent({
31813
31930
  return "button";
31814
31931
  });
31815
31932
  const handleKeydown = composeEventHandlers((e) => {
31816
- const { code } = e;
31817
- if (code === EVENT_CODE.enter || code === EVENT_CODE.space) {
31933
+ if ([EVENT_CODE.enter, EVENT_CODE.numpadEnter, EVENT_CODE.space].includes(e.code)) {
31818
31934
  e.preventDefault();
31819
31935
  e.stopImmediatePropagation();
31820
31936
  emit("clickimpl", e);
@@ -33489,6 +33605,7 @@ class SubMenu$1 {
33489
33605
  break;
33490
33606
  }
33491
33607
  case EVENT_CODE.enter:
33608
+ case EVENT_CODE.numpadEnter:
33492
33609
  case EVENT_CODE.space: {
33493
33610
  prevDef = true;
33494
33611
  event.currentTarget.click();
@@ -33542,6 +33659,7 @@ class MenuItem$1 {
33542
33659
  break;
33543
33660
  }
33544
33661
  case EVENT_CODE.enter:
33662
+ case EVENT_CODE.numpadEnter:
33545
33663
  case EVENT_CODE.space: {
33546
33664
  prevDef = true;
33547
33665
  event.currentTarget.click();
@@ -34802,13 +34920,13 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
34802
34920
  role: "option",
34803
34921
  "aria-disabled": _ctx.isDisabled || void 0,
34804
34922
  "aria-selected": _ctx.itemSelected,
34805
- onMouseenter: _ctx.hoverItem,
34923
+ onMousemove: _ctx.hoverItem,
34806
34924
  onClick: withModifiers(_ctx.selectOptionClick, ["stop"])
34807
34925
  }, [
34808
34926
  renderSlot(_ctx.$slots, "default", {}, () => [
34809
34927
  createElementVNode("span", null, toDisplayString(_ctx.currentLabel), 1)
34810
34928
  ])
34811
- ], 42, ["id", "aria-disabled", "aria-selected", "onMouseenter", "onClick"])), [
34929
+ ], 42, ["id", "aria-disabled", "aria-selected", "onMousemove", "onClick"])), [
34812
34930
  [vShow, _ctx.visible]
34813
34931
  ]);
34814
34932
  }
@@ -34873,7 +34991,6 @@ const useSelect$3 = (props, emit) => {
34873
34991
  inputValue: "",
34874
34992
  options: /* @__PURE__ */ new Map(),
34875
34993
  cachedOptions: /* @__PURE__ */ new Map(),
34876
- disabledOptions: /* @__PURE__ */ new Map(),
34877
34994
  optionValues: [],
34878
34995
  selected: [],
34879
34996
  selectionWidth: 0,
@@ -34936,6 +35053,10 @@ const useSelect$3 = (props, emit) => {
34936
35053
  const hasModelValue = computed(() => {
34937
35054
  return isArray$1(props.modelValue) ? props.modelValue.length > 0 : !isEmptyValue(props.modelValue);
34938
35055
  });
35056
+ const needStatusIcon = computed(() => {
35057
+ var _a;
35058
+ return (_a = form == null ? void 0 : form.statusIcon) != null ? _a : false;
35059
+ });
34939
35060
  const showClose = computed(() => {
34940
35061
  return props.clearable && !selectDisabled.value && states.inputHovering && hasModelValue.value;
34941
35062
  });
@@ -35110,9 +35231,7 @@ const useSelect$3 = (props, emit) => {
35110
35231
  };
35111
35232
  const getOption = (value) => {
35112
35233
  let option;
35113
- const isObjectValue = toRawType(value).toLowerCase() === "object";
35114
- const isNull = toRawType(value).toLowerCase() === "null";
35115
- const isUndefined2 = toRawType(value).toLowerCase() === "undefined";
35234
+ const isObjectValue = isPlainObject$1(value);
35116
35235
  for (let i = states.cachedOptions.size - 1; i >= 0; i--) {
35117
35236
  const cachedOption = cachedOptionsArray.value[i];
35118
35237
  const isEqualValue = isObjectValue ? get(cachedOption.value, props.valueKey) === get(value, props.valueKey) : cachedOption.value === value;
@@ -35129,7 +35248,7 @@ const useSelect$3 = (props, emit) => {
35129
35248
  }
35130
35249
  if (option)
35131
35250
  return option;
35132
- const label = isObjectValue ? value.label : !isNull && !isUndefined2 ? value : "";
35251
+ const label = isObjectValue ? value.label : value != null ? value : "";
35133
35252
  const newOption = {
35134
35253
  value,
35135
35254
  currentLabel: label
@@ -35178,7 +35297,10 @@ const useSelect$3 = (props, emit) => {
35178
35297
  emit(CHANGE_EVENT, val);
35179
35298
  }
35180
35299
  };
35181
- const getLastNotDisabledIndex = (value) => findLastIndex(value, (it) => !states.disabledOptions.has(it));
35300
+ const getLastNotDisabledIndex = (value) => findLastIndex(value, (it) => {
35301
+ const option = states.cachedOptions.get(it);
35302
+ return option && !option.disabled && !option.states.groupDisabled;
35303
+ });
35182
35304
  const deletePrevTag = (e) => {
35183
35305
  if (!props.multiple)
35184
35306
  return;
@@ -35255,7 +35377,9 @@ const useSelect$3 = (props, emit) => {
35255
35377
  });
35256
35378
  };
35257
35379
  const getValueIndex = (arr = [], option) => {
35258
- if (!isObject$1(option == null ? void 0 : option.value))
35380
+ if (isUndefined(option))
35381
+ return -1;
35382
+ if (!isObject$1(option.value))
35259
35383
  return arr.indexOf(option.value);
35260
35384
  return arr.findIndex((item) => {
35261
35385
  return isEqual$1(get(item, props.valueKey), getValueKey(option));
@@ -35282,7 +35406,6 @@ const useSelect$3 = (props, emit) => {
35282
35406
  const onOptionCreate = (vm) => {
35283
35407
  states.options.set(vm.value, vm);
35284
35408
  states.cachedOptions.set(vm.value, vm);
35285
- vm.disabled && states.disabledOptions.set(vm.value, vm);
35286
35409
  };
35287
35410
  const onOptionDestroy = (key, vm) => {
35288
35411
  if (states.options.get(key) === vm) {
@@ -35345,8 +35468,9 @@ const useSelect$3 = (props, emit) => {
35345
35468
  if (!expanded.value) {
35346
35469
  toggleMenu();
35347
35470
  } else {
35348
- if (optionsArray.value[states.hoveringIndex]) {
35349
- handleOptionSelect(optionsArray.value[states.hoveringIndex]);
35471
+ const option = optionsArray.value[states.hoveringIndex];
35472
+ if (option && !option.disabled && !option.states.groupDisabled) {
35473
+ handleOptionSelect(option);
35350
35474
  }
35351
35475
  }
35352
35476
  };
@@ -35444,6 +35568,7 @@ const useSelect$3 = (props, emit) => {
35444
35568
  shouldShowPlaceholder,
35445
35569
  currentPlaceholder,
35446
35570
  mouseEnterEventName,
35571
+ needStatusIcon,
35447
35572
  showClose,
35448
35573
  iconComponent,
35449
35574
  iconReverse,
@@ -35611,6 +35736,14 @@ const SelectProps$1 = buildProps({
35611
35736
  default: true
35612
35737
  },
35613
35738
  remoteShowSuffix: Boolean,
35739
+ showArrow: {
35740
+ type: Boolean,
35741
+ default: true
35742
+ },
35743
+ offset: {
35744
+ type: Number,
35745
+ default: 12
35746
+ },
35614
35747
  placement: {
35615
35748
  type: definePropType(String),
35616
35749
  values: Ee,
@@ -35717,6 +35850,8 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35717
35850
  "gpu-acceleration": false,
35718
35851
  persistent: _ctx.persistent,
35719
35852
  "append-to": _ctx.appendTo,
35853
+ "show-arrow": _ctx.showArrow,
35854
+ offset: _ctx.offset,
35720
35855
  onBeforeShow: _ctx.handleMenuEnter,
35721
35856
  onHide: ($event) => _ctx.states.isBeforeHide = false
35722
35857
  }, {
@@ -35944,7 +36079,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35944
36079
  ]),
35945
36080
  _: 1
35946
36081
  }, 8, ["class", "onClick"])) : createCommentVNode("v-if", true),
35947
- _ctx.validateState && _ctx.validateIcon ? (openBlock(), createBlock(_component_el_icon, {
36082
+ _ctx.validateState && _ctx.validateIcon && _ctx.needStatusIcon ? (openBlock(), createBlock(_component_el_icon, {
35948
36083
  key: 2,
35949
36084
  class: normalizeClass([_ctx.nsInput.e("icon"), _ctx.nsInput.e("validateIcon")])
35950
36085
  }, {
@@ -36022,7 +36157,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
36022
36157
  }, 512)
36023
36158
  ]),
36024
36159
  _: 3
36025
- }, 8, ["visible", "placement", "teleported", "popper-class", "popper-options", "fallback-placements", "effect", "transition", "persistent", "append-to", "onBeforeShow", "onHide"])
36160
+ }, 8, ["visible", "placement", "teleported", "popper-class", "popper-options", "fallback-placements", "effect", "transition", "persistent", "append-to", "show-arrow", "offset", "onBeforeShow", "onHide"])
36026
36161
  ], 16, ["onMouseleave"])), [
36027
36162
  [_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
36028
36163
  ]);
@@ -39756,6 +39891,14 @@ const SelectProps = buildProps({
39756
39891
  type: Boolean,
39757
39892
  default: true
39758
39893
  },
39894
+ offset: {
39895
+ type: Number,
39896
+ default: 12
39897
+ },
39898
+ showArrow: {
39899
+ type: Boolean,
39900
+ default: true
39901
+ },
39759
39902
  placement: {
39760
39903
  type: definePropType(String),
39761
39904
  values: Ee,
@@ -39767,6 +39910,7 @@ const SelectProps = buildProps({
39767
39910
  },
39768
39911
  tagType: { ...tagProps.type, default: "info" },
39769
39912
  tagEffect: { ...tagProps.effect, default: "light" },
39913
+ appendTo: String,
39770
39914
  ...useEmptyValuesProps,
39771
39915
  ...useAriaProps(["ariaLabel"])
39772
39916
  });
@@ -39826,7 +39970,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
39826
39970
  _ctx.ns.is("created", _ctx.created),
39827
39971
  _ctx.ns.is("hovering", _ctx.hovering)
39828
39972
  ]),
39829
- onMouseenter: _ctx.hoverItem,
39973
+ onMousemove: _ctx.hoverItem,
39830
39974
  onClick: withModifiers(_ctx.selectOptionClick, ["stop"])
39831
39975
  }, [
39832
39976
  renderSlot(_ctx.$slots, "default", {
@@ -39836,7 +39980,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
39836
39980
  }, () => [
39837
39981
  createElementVNode("span", null, toDisplayString(_ctx.getLabel(_ctx.item)), 1)
39838
39982
  ])
39839
- ], 46, ["aria-selected", "onMouseenter", "onClick"]);
39983
+ ], 46, ["aria-selected", "onMousemove", "onClick"]);
39840
39984
  }
39841
39985
  var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$6], ["__file", "option-item.vue"]]);
39842
39986
 
@@ -40005,7 +40149,8 @@ var ElSelectMenu = defineComponent({
40005
40149
  esc,
40006
40150
  down,
40007
40151
  up,
40008
- enter
40152
+ enter,
40153
+ numpadEnter
40009
40154
  } = EVENT_CODE;
40010
40155
  if (code !== tab) {
40011
40156
  e.preventDefault();
@@ -40013,21 +40158,18 @@ var ElSelectMenu = defineComponent({
40013
40158
  }
40014
40159
  switch (code) {
40015
40160
  case tab:
40016
- case esc: {
40161
+ case esc:
40017
40162
  break;
40018
- }
40019
- case down: {
40163
+ case down:
40020
40164
  onForward();
40021
40165
  break;
40022
- }
40023
- case up: {
40166
+ case up:
40024
40167
  onBackward();
40025
40168
  break;
40026
- }
40027
- case enter: {
40169
+ case enter:
40170
+ case numpadEnter:
40028
40171
  onKeyboardSelect();
40029
40172
  break;
40030
- }
40031
40173
  }
40032
40174
  };
40033
40175
  return () => {
@@ -40208,6 +40350,10 @@ const useSelect$1 = (props, emit) => {
40208
40350
  const filteredOptions = ref([]);
40209
40351
  const expanded = ref(false);
40210
40352
  const selectDisabled = computed(() => props.disabled || (elForm == null ? void 0 : elForm.disabled));
40353
+ const needStatusIcon = computed(() => {
40354
+ var _a;
40355
+ return (_a = elForm == null ? void 0 : elForm.statusIcon) != null ? _a : false;
40356
+ });
40211
40357
  const popupHeight = computed(() => {
40212
40358
  const totalHeight = filteredOptions.value.length * props.itemHeight;
40213
40359
  return totalHeight > props.height ? props.height : totalHeight;
@@ -40707,7 +40853,8 @@ const useSelect$1 = (props, emit) => {
40707
40853
  });
40708
40854
  watch(() => props.modelValue, (val, oldVal) => {
40709
40855
  var _a;
40710
- if (!val || props.multiple && val.toString() !== states.previousValue || !props.multiple && getValueKey(val) !== getValueKey(states.previousValue)) {
40856
+ const isValEmpty = !val || isArray$1(val) && val.length === 0;
40857
+ if (isValEmpty || props.multiple && !isEqual$1(val.toString(), states.previousValue) || !props.multiple && getValueKey(val) !== getValueKey(states.previousValue)) {
40711
40858
  initStates(true);
40712
40859
  }
40713
40860
  if (!isEqual$1(val, oldVal) && props.validateEvent) {
@@ -40780,6 +40927,7 @@ const useSelect$1 = (props, emit) => {
40780
40927
  shouldShowPlaceholder,
40781
40928
  selectDisabled,
40782
40929
  selectSize,
40930
+ needStatusIcon,
40783
40931
  showClearBtn,
40784
40932
  states,
40785
40933
  isFocused,
@@ -40912,6 +41060,9 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40912
41060
  transition: `${_ctx.nsSelect.namespace.value}-zoom-in-top`,
40913
41061
  trigger: "click",
40914
41062
  persistent: _ctx.persistent,
41063
+ "append-to": _ctx.appendTo,
41064
+ "show-arrow": _ctx.showArrow,
41065
+ offset: _ctx.offset,
40915
41066
  onBeforeShow: _ctx.handleMenuEnter,
40916
41067
  onHide: ($event) => _ctx.states.isBeforeHide = false
40917
41068
  }, {
@@ -41138,7 +41289,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
41138
41289
  ]),
41139
41290
  _: 1
41140
41291
  }, 8, ["class", "onClick"])) : createCommentVNode("v-if", true),
41141
- _ctx.validateState && _ctx.validateIcon ? (openBlock(), createBlock(_component_el_icon, {
41292
+ _ctx.validateState && _ctx.validateIcon && _ctx.needStatusIcon ? (openBlock(), createBlock(_component_el_icon, {
41142
41293
  key: 2,
41143
41294
  class: normalizeClass([_ctx.nsInput.e("icon"), _ctx.nsInput.e("validateIcon")])
41144
41295
  }, {
@@ -41207,7 +41358,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
41207
41358
  ]), 1032, ["data", "width", "hovering-index", "scrollbar-always-on"])
41208
41359
  ]),
41209
41360
  _: 3
41210
- }, 8, ["visible", "teleported", "popper-class", "popper-options", "fallback-placements", "effect", "placement", "transition", "persistent", "onBeforeShow", "onHide"])
41361
+ }, 8, ["visible", "teleported", "popper-class", "popper-options", "fallback-placements", "effect", "placement", "transition", "persistent", "append-to", "show-arrow", "offset", "onBeforeShow", "onHide"])
41211
41362
  ], 42, ["onMouseenter", "onMouseleave"])), [
41212
41363
  [_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
41213
41364
  ]);
@@ -41234,7 +41385,7 @@ const skeletonProps = buildProps({
41234
41385
  default: true
41235
41386
  },
41236
41387
  throttle: {
41237
- type: Number
41388
+ type: definePropType([Number, Object])
41238
41389
  }
41239
41390
  });
41240
41391
 
@@ -41295,7 +41446,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
41295
41446
  }, _ctx.$attrs), [
41296
41447
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.count, (i) => {
41297
41448
  return openBlock(), createElementBlock(Fragment, { key: i }, [
41298
- _ctx.loading ? renderSlot(_ctx.$slots, "template", { key: i }, () => [
41449
+ unref(uiLoading) ? renderSlot(_ctx.$slots, "template", { key: i }, () => [
41299
41450
  createVNode(SkeletonItem, {
41300
41451
  class: normalizeClass(unref(ns).is("first")),
41301
41452
  variant: "p"
@@ -41593,7 +41744,6 @@ const useSlide = (props, initData, emit) => {
41593
41744
  };
41594
41745
  };
41595
41746
 
41596
- const { left, down, right, up, home, end, pageUp, pageDown } = EVENT_CODE;
41597
41747
  const useTooltip = (props, formatTooltip, showTooltip) => {
41598
41748
  const tooltip = ref();
41599
41749
  const tooltipVisible = ref(false);
@@ -41694,20 +41844,30 @@ const useSliderButton = (props, initData, emit) => {
41694
41844
  };
41695
41845
  const onKeyDown = (event) => {
41696
41846
  let isPreventDefault = true;
41697
- if ([left, down].includes(event.key)) {
41698
- onLeftKeyDown();
41699
- } else if ([right, up].includes(event.key)) {
41700
- onRightKeyDown();
41701
- } else if (event.key === home) {
41702
- onHomeKeyDown();
41703
- } else if (event.key === end) {
41704
- onEndKeyDown();
41705
- } else if (event.key === pageDown) {
41706
- onPageDownKeyDown();
41707
- } else if (event.key === pageUp) {
41708
- onPageUpKeyDown();
41709
- } else {
41710
- isPreventDefault = false;
41847
+ switch (event.code) {
41848
+ case EVENT_CODE.left:
41849
+ case EVENT_CODE.down:
41850
+ onLeftKeyDown();
41851
+ break;
41852
+ case EVENT_CODE.right:
41853
+ case EVENT_CODE.up:
41854
+ onRightKeyDown();
41855
+ break;
41856
+ case EVENT_CODE.home:
41857
+ onHomeKeyDown();
41858
+ break;
41859
+ case EVENT_CODE.end:
41860
+ onEndKeyDown();
41861
+ break;
41862
+ case EVENT_CODE.pageDown:
41863
+ onPageDownKeyDown();
41864
+ break;
41865
+ case EVENT_CODE.pageUp:
41866
+ onPageUpKeyDown();
41867
+ break;
41868
+ default:
41869
+ isPreventDefault = false;
41870
+ break;
41711
41871
  }
41712
41872
  isPreventDefault && event.preventDefault();
41713
41873
  };
@@ -43479,20 +43639,26 @@ function walkTreeNode(root, cb, childrenKey = "children", lazyKey = "hasChildren
43479
43639
  }
43480
43640
  });
43481
43641
  }
43642
+ const getTableOverflowTooltipProps = (props, content) => {
43643
+ return {
43644
+ content,
43645
+ ...props,
43646
+ popperOptions: {
43647
+ strategy: "fixed",
43648
+ ...props.popperOptions
43649
+ }
43650
+ };
43651
+ };
43482
43652
  let removePopper = null;
43483
43653
  function createTablePopper(props, popperContent, trigger, table) {
43484
43654
  if ((removePopper == null ? void 0 : removePopper.trigger) === trigger) {
43655
+ merge(removePopper.vm.component.props, getTableOverflowTooltipProps(props, popperContent));
43485
43656
  return;
43486
43657
  }
43487
43658
  removePopper == null ? void 0 : removePopper();
43488
43659
  const parentNode = table == null ? void 0 : table.refs.tableWrapper;
43489
43660
  const ns = parentNode == null ? void 0 : parentNode.dataset.prefix;
43490
- const popperOptions = {
43491
- strategy: "fixed",
43492
- ...props.popperOptions
43493
- };
43494
43661
  const vm = createVNode(ElTooltip, {
43495
- content: popperContent,
43496
43662
  virtualTriggering: true,
43497
43663
  virtualRef: trigger,
43498
43664
  appendTo: parentNode,
@@ -43500,11 +43666,7 @@ function createTablePopper(props, popperContent, trigger, table) {
43500
43666
  transition: "none",
43501
43667
  offset: 0,
43502
43668
  hideAfter: 0,
43503
- ...props,
43504
- popperOptions,
43505
- onHide: () => {
43506
- removePopper == null ? void 0 : removePopper();
43507
- }
43669
+ ...getTableOverflowTooltipProps(props, popperContent)
43508
43670
  });
43509
43671
  vm.appContext = { ...table.appContext, ...table };
43510
43672
  const container = document.createElement("div");
@@ -43517,6 +43679,7 @@ function createTablePopper(props, popperContent, trigger, table) {
43517
43679
  removePopper = null;
43518
43680
  };
43519
43681
  removePopper.trigger = trigger;
43682
+ removePopper.vm = vm;
43520
43683
  scrollContainer == null ? void 0 : scrollContainer.addEventListener("scroll", removePopper);
43521
43684
  }
43522
43685
  function getCurrentColumns(column) {
@@ -43991,7 +44154,16 @@ function useWatcher$1() {
43991
44154
  const sortProp = ref(null);
43992
44155
  const sortOrder = ref(null);
43993
44156
  const hoverRow = ref(null);
43994
- watch(data, () => instance.state && scheduleLayout(false), {
44157
+ watch(data, () => {
44158
+ var _a2;
44159
+ if (instance.state) {
44160
+ scheduleLayout(false);
44161
+ const needUpdateFixed = instance.props.tableLayout === "auto";
44162
+ if (needUpdateFixed) {
44163
+ (_a2 = instance.refs.tableHeaderRef) == null ? void 0 : _a2.updateFixedColumnStyle();
44164
+ }
44165
+ }
44166
+ }, {
43995
44167
  deep: true
43996
44168
  });
43997
44169
  const assertRowKey = () => {
@@ -45520,11 +45692,29 @@ var TableHeader = defineComponent({
45520
45692
  const ns = useNamespace("table");
45521
45693
  const filterPanels = ref({});
45522
45694
  const { onColumnsChange, onScrollableChange } = useLayoutObserver(parent);
45695
+ const isTableLayoutAuto = (parent == null ? void 0 : parent.props.tableLayout) === "auto";
45696
+ const saveIndexSelection = /* @__PURE__ */ new Map();
45697
+ const theadRef = ref();
45698
+ const updateFixedColumnStyle = () => {
45699
+ setTimeout(() => {
45700
+ if (saveIndexSelection.size > 0) {
45701
+ saveIndexSelection.forEach((column, key) => {
45702
+ const el = theadRef.value.querySelector(`.${key.replace(/\s/g, ".")}`);
45703
+ if (el) {
45704
+ const width = el.getBoundingClientRect().width;
45705
+ column.width = width;
45706
+ }
45707
+ });
45708
+ saveIndexSelection.clear();
45709
+ }
45710
+ });
45711
+ };
45523
45712
  onMounted(async () => {
45524
45713
  await nextTick();
45525
45714
  await nextTick();
45526
45715
  const { prop, order } = props.defaultSort;
45527
45716
  parent == null ? void 0 : parent.store.commit("sort", { prop, order, init: true });
45717
+ updateFixedColumnStyle();
45528
45718
  });
45529
45719
  const {
45530
45720
  handleHeaderClick,
@@ -45565,7 +45755,11 @@ var TableHeader = defineComponent({
45565
45755
  handleSortClick,
45566
45756
  handleFilterClick,
45567
45757
  isGroup,
45568
- toggleAllSelection
45758
+ toggleAllSelection,
45759
+ saveIndexSelection,
45760
+ isTableLayoutAuto,
45761
+ theadRef,
45762
+ updateFixedColumnStyle
45569
45763
  };
45570
45764
  },
45571
45765
  render() {
@@ -45584,10 +45778,13 @@ var TableHeader = defineComponent({
45584
45778
  handleSortClick,
45585
45779
  handleMouseOut,
45586
45780
  store,
45587
- $parent
45781
+ $parent,
45782
+ saveIndexSelection,
45783
+ isTableLayoutAuto
45588
45784
  } = this;
45589
45785
  let rowSpan = 1;
45590
45786
  return h$1("thead", {
45787
+ ref: "theadRef",
45591
45788
  class: { [ns.is("group")]: isGroup }
45592
45789
  }, columnRows.map((subColumns, rowIndex) => h$1("tr", {
45593
45790
  class: getHeaderRowClass(rowIndex),
@@ -45597,8 +45794,12 @@ var TableHeader = defineComponent({
45597
45794
  if (column.rowSpan > rowSpan) {
45598
45795
  rowSpan = column.rowSpan;
45599
45796
  }
45797
+ const _class = getHeaderCellClass(rowIndex, cellIndex, subColumns, column);
45798
+ if (isTableLayoutAuto && column.fixed) {
45799
+ saveIndexSelection.set(_class, column);
45800
+ }
45600
45801
  return h$1("th", {
45601
- class: getHeaderCellClass(rowIndex, cellIndex, subColumns, column),
45802
+ class: _class,
45602
45803
  colspan: column.colSpan,
45603
45804
  key: `${column.id}-thead`,
45604
45805
  rowspan: column.rowSpan,
@@ -46643,19 +46844,6 @@ function useStyle(props, layout, store, table) {
46643
46844
  height
46644
46845
  };
46645
46846
  });
46646
- const tableInnerStyle = computed(() => {
46647
- if (props.height) {
46648
- return {
46649
- height: !Number.isNaN(Number(props.height)) ? `${props.height}px` : props.height
46650
- };
46651
- }
46652
- if (props.maxHeight) {
46653
- return {
46654
- maxHeight: !Number.isNaN(Number(props.maxHeight)) ? `${props.maxHeight}px` : props.maxHeight
46655
- };
46656
- }
46657
- return {};
46658
- });
46659
46847
  const scrollbarStyle = computed(() => {
46660
46848
  if (props.height) {
46661
46849
  return {
@@ -46707,7 +46895,6 @@ function useStyle(props, layout, store, table) {
46707
46895
  tableBodyStyles,
46708
46896
  tableLayout,
46709
46897
  scrollbarViewStyle,
46710
- tableInnerStyle,
46711
46898
  scrollbarStyle
46712
46899
  };
46713
46900
  }
@@ -46944,7 +47131,6 @@ const _sfc_main$A = defineComponent({
46944
47131
  tableBodyStyles,
46945
47132
  tableLayout,
46946
47133
  scrollbarViewStyle,
46947
- tableInnerStyle,
46948
47134
  scrollbarStyle
46949
47135
  } = useStyle(props, layout, store, table);
46950
47136
  const { scrollBarRef, scrollTo, setScrollLeft, setScrollTop } = useScrollbar$1();
@@ -47010,7 +47196,6 @@ const _sfc_main$A = defineComponent({
47010
47196
  computedEmptyText,
47011
47197
  tableLayout,
47012
47198
  scrollbarViewStyle,
47013
- tableInnerStyle,
47014
47199
  scrollbarStyle,
47015
47200
  scrollBarRef,
47016
47201
  scrollTo,
@@ -47052,8 +47237,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
47052
47237
  onMouseleave: _ctx.handleMouseLeave
47053
47238
  }, [
47054
47239
  createElementVNode("div", {
47055
- class: normalizeClass(_ctx.ns.e("inner-wrapper")),
47056
- style: normalizeStyle(_ctx.tableInnerStyle)
47240
+ class: normalizeClass(_ctx.ns.e("inner-wrapper"))
47057
47241
  }, [
47058
47242
  createElementVNode("div", {
47059
47243
  ref: "hiddenColumns",
@@ -47204,7 +47388,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
47204
47388
  key: 2,
47205
47389
  class: normalizeClass(_ctx.ns.e("border-left-patch"))
47206
47390
  }, null, 2)) : createCommentVNode("v-if", true)
47207
- ], 6),
47391
+ ], 2),
47208
47392
  withDirectives(createElementVNode("div", {
47209
47393
  ref: "resizeProxy",
47210
47394
  class: normalizeClass(_ctx.ns.e("column-resize-proxy"))
@@ -50206,31 +50390,27 @@ const TabNav = defineComponent({
50206
50390
  }
50207
50391
  }
50208
50392
  };
50209
- const changeTab = (e) => {
50210
- const code = e.code;
50211
- const {
50212
- up,
50213
- down,
50214
- left,
50215
- right
50216
- } = EVENT_CODE;
50217
- if (![up, down, left, right].includes(code))
50218
- return;
50219
- const tabList = Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));
50220
- const currentIndex = tabList.indexOf(e.target);
50221
- let nextIndex;
50222
- if (code === left || code === up) {
50223
- if (currentIndex === 0) {
50224
- nextIndex = tabList.length - 1;
50225
- } else {
50226
- nextIndex = currentIndex - 1;
50227
- }
50228
- } else {
50229
- if (currentIndex < tabList.length - 1) {
50230
- nextIndex = currentIndex + 1;
50231
- } else {
50232
- nextIndex = 0;
50233
- }
50393
+ const changeTab = (event) => {
50394
+ let step = 0;
50395
+ switch (event.code) {
50396
+ case EVENT_CODE.left:
50397
+ case EVENT_CODE.up:
50398
+ step = -1;
50399
+ break;
50400
+ case EVENT_CODE.right:
50401
+ case EVENT_CODE.down:
50402
+ step = 1;
50403
+ break;
50404
+ default:
50405
+ return;
50406
+ }
50407
+ const tabList = Array.from(event.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));
50408
+ const currentIndex = tabList.indexOf(event.target);
50409
+ let nextIndex = currentIndex + step;
50410
+ if (nextIndex < 0) {
50411
+ nextIndex = tabList.length - 1;
50412
+ } else if (nextIndex >= tabList.length) {
50413
+ nextIndex = 0;
50234
50414
  }
50235
50415
  tabList[nextIndex].focus({
50236
50416
  preventScroll: true
@@ -50448,7 +50628,7 @@ const Tabs = defineComponent({
50448
50628
  "tabindex": "0",
50449
50629
  "onClick": handleTabAdd,
50450
50630
  "onKeydown": (ev) => {
50451
- if (ev.code === EVENT_CODE.enter)
50631
+ if ([EVENT_CODE.enter, EVENT_CODE.numpadEnter].includes(ev.code))
50452
50632
  handleTabAdd();
50453
50633
  }
50454
50634
  }, [addSlot ? renderSlot(slots, "add-icon") : createVNode(ElIcon, {
@@ -53385,7 +53565,7 @@ function useKeydown({ el$ }, store) {
53385
53565
  currentItem.click();
53386
53566
  }
53387
53567
  const hasInput = currentItem.querySelector('[type="checkbox"]');
53388
- if ([EVENT_CODE.enter, EVENT_CODE.space].includes(code) && hasInput) {
53568
+ if ([EVENT_CODE.enter, EVENT_CODE.numpadEnter, EVENT_CODE.space].includes(code) && hasInput) {
53389
53569
  ev.preventDefault();
53390
53570
  hasInput.click();
53391
53571
  }
@@ -57494,6 +57674,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
57494
57674
  const selectedItemInput = segmentedRef.value.querySelector(".is-selected input");
57495
57675
  if (!selectedItem || !selectedItemInput) {
57496
57676
  state.width = 0;
57677
+ state.height = 0;
57497
57678
  state.translateX = 0;
57498
57679
  state.translateY = 0;
57499
57680
  state.focusVisible = false;
@@ -57929,12 +58110,12 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
57929
58110
  ref_for: true,
57930
58111
  ref_key: "optionRefs",
57931
58112
  ref: optionRefs,
57932
- key: item.value,
58113
+ key: index,
57933
58114
  class: normalizeClass(optionkls(item, index)),
57934
58115
  role: "option",
57935
58116
  "aria-disabled": item.disabled || _ctx.disabled || void 0,
57936
58117
  "aria-selected": hoveringIndex.value === index,
57937
- onMouseenter: ($event) => handleMouseEnter(index),
58118
+ onMousemove: ($event) => handleMouseEnter(index),
57938
58119
  onClick: withModifiers(($event) => handleSelect(item), ["stop"])
57939
58120
  }, [
57940
58121
  renderSlot(_ctx.$slots, "label", {
@@ -57946,7 +58127,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
57946
58127
  createElementVNode("span", null, toDisplayString((_a = item.label) != null ? _a : item.value), 1)
57947
58128
  ];
57948
58129
  })
57949
- ], 42, ["id", "aria-disabled", "aria-selected", "onMouseenter", "onClick"]);
58130
+ ], 42, ["id", "aria-disabled", "aria-selected", "onMousemove", "onClick"]);
57950
58131
  }), 128))
57951
58132
  ]),
57952
58133
  _: 3
@@ -58012,55 +58193,60 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
58012
58193
  emit("update:modelValue", value);
58013
58194
  syncAfterCursorMove();
58014
58195
  };
58015
- const handleInputKeyDown = (e) => {
58196
+ const handleInputKeyDown = (event) => {
58016
58197
  var _a, _b, _c, _d;
58017
- if (!("key" in e))
58018
- return;
58019
- if ((_a = elInputRef.value) == null ? void 0 : _a.isComposing)
58198
+ if (!("code" in event) || ((_a = elInputRef.value) == null ? void 0 : _a.isComposing))
58020
58199
  return;
58021
- if (["ArrowLeft", "ArrowRight"].includes(e.key)) {
58022
- syncAfterCursorMove();
58023
- } else if (["ArrowUp", "ArrowDown"].includes(e.key)) {
58024
- if (!visible.value)
58025
- return;
58026
- e.preventDefault();
58027
- const direction = e.key === "ArrowUp" ? "prev" : "next";
58028
- (_b = dropdownRef.value) == null ? void 0 : _b.navigateOptions(direction);
58029
- } else if (["Enter"].includes(e.key)) {
58030
- if (!visible.value)
58031
- return;
58032
- e.preventDefault();
58033
- if ((_c = dropdownRef.value) == null ? void 0 : _c.hoverOption) {
58034
- (_d = dropdownRef.value) == null ? void 0 : _d.selectHoverOption();
58035
- } else {
58036
- visible.value = false;
58037
- }
58038
- } else if (["Escape"].includes(e.key)) {
58039
- if (!visible.value)
58040
- return;
58041
- e.preventDefault();
58042
- visible.value = false;
58043
- } else if (["Backspace"].includes(e.key)) {
58044
- if (props.whole && mentionCtx.value) {
58045
- const { splitIndex, selectionEnd, pattern, prefixIndex, prefix } = mentionCtx.value;
58046
- const inputEl = getInputEl();
58047
- if (!inputEl)
58200
+ switch (event.code) {
58201
+ case EVENT_CODE.left:
58202
+ case EVENT_CODE.right:
58203
+ syncAfterCursorMove();
58204
+ break;
58205
+ case EVENT_CODE.up:
58206
+ case EVENT_CODE.down:
58207
+ if (!visible.value)
58048
58208
  return;
58049
- const inputValue = inputEl.value;
58050
- const matchOption = props.options.find((item) => item.value === pattern);
58051
- const isWhole = isFunction$1(props.checkIsWhole) ? props.checkIsWhole(pattern, prefix) : matchOption;
58052
- if (isWhole && splitIndex !== -1 && splitIndex + 1 === selectionEnd) {
58053
- e.preventDefault();
58054
- const newValue = inputValue.slice(0, prefixIndex) + inputValue.slice(splitIndex + 1);
58055
- emit(UPDATE_MODEL_EVENT, newValue);
58056
- const newSelectionEnd = prefixIndex;
58057
- nextTick(() => {
58058
- inputEl.selectionStart = newSelectionEnd;
58059
- inputEl.selectionEnd = newSelectionEnd;
58060
- syncDropdownVisible();
58061
- });
58209
+ event.preventDefault();
58210
+ (_b = dropdownRef.value) == null ? void 0 : _b.navigateOptions(event.code === EVENT_CODE.up ? "prev" : "next");
58211
+ break;
58212
+ case EVENT_CODE.enter:
58213
+ case EVENT_CODE.numpadEnter:
58214
+ if (!visible.value)
58215
+ return;
58216
+ event.preventDefault();
58217
+ if ((_c = dropdownRef.value) == null ? void 0 : _c.hoverOption) {
58218
+ (_d = dropdownRef.value) == null ? void 0 : _d.selectHoverOption();
58219
+ } else {
58220
+ visible.value = false;
58221
+ }
58222
+ break;
58223
+ case EVENT_CODE.esc:
58224
+ if (!visible.value)
58225
+ return;
58226
+ event.preventDefault();
58227
+ visible.value = false;
58228
+ break;
58229
+ case EVENT_CODE.backspace:
58230
+ if (props.whole && mentionCtx.value) {
58231
+ const { splitIndex, selectionEnd, pattern, prefixIndex, prefix } = mentionCtx.value;
58232
+ const inputEl = getInputEl();
58233
+ if (!inputEl)
58234
+ return;
58235
+ const inputValue = inputEl.value;
58236
+ const matchOption = props.options.find((item) => item.value === pattern);
58237
+ const isWhole = isFunction$1(props.checkIsWhole) ? props.checkIsWhole(pattern, prefix) : matchOption;
58238
+ if (isWhole && splitIndex !== -1 && splitIndex + 1 === selectionEnd) {
58239
+ event.preventDefault();
58240
+ const newValue = inputValue.slice(0, prefixIndex) + inputValue.slice(splitIndex + 1);
58241
+ emit(UPDATE_MODEL_EVENT, newValue);
58242
+ const newSelectionEnd = prefixIndex;
58243
+ nextTick(() => {
58244
+ inputEl.selectionStart = newSelectionEnd;
58245
+ inputEl.selectionEnd = newSelectionEnd;
58246
+ syncDropdownVisible();
58247
+ });
58248
+ }
58062
58249
  }
58063
- }
58064
58250
  }
58065
58251
  };
58066
58252
  const { wrapperRef } = useFocusController(elInputRef, {