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
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -770,9 +770,6 @@
770
770
  };
771
771
  const objectToString$1 = Object.prototype.toString;
772
772
  const toTypeString = (value) => objectToString$1.call(value);
773
- const toRawType = (value) => {
774
- return toTypeString(value).slice(8, -1);
775
- };
776
773
  const isPlainObject$1 = (val) => toTypeString(val) === "[object Object]";
777
774
  const cacheStringFunction = (fn) => {
778
775
  const cache = /* @__PURE__ */ Object.create(null);
@@ -8748,13 +8745,12 @@
8748
8745
  var _a;
8749
8746
  if (isArray$1(child)) {
8750
8747
  result.push(...flattedChildren(child));
8748
+ } else if (vue.isVNode(child) && ((_a = child.component) == null ? void 0 : _a.subTree)) {
8749
+ result.push(child, ...flattedChildren(child.component.subTree));
8751
8750
  } else if (vue.isVNode(child) && isArray$1(child.children)) {
8752
8751
  result.push(...flattedChildren(child.children));
8753
8752
  } else {
8754
8753
  result.push(child);
8755
- if (vue.isVNode(child) && ((_a = child.component) == null ? void 0 : _a.subTree)) {
8756
- result.push(...flattedChildren(child.component.subTree));
8757
- }
8758
8754
  }
8759
8755
  });
8760
8756
  return result;
@@ -9535,23 +9531,39 @@
9535
9531
  const useThrottleRender = (loading, throttle = 0) => {
9536
9532
  if (throttle === 0)
9537
9533
  return loading;
9538
- const throttled = vue.ref(false);
9534
+ const initVal = isObject$1(throttle) && Boolean(throttle.initVal);
9535
+ const throttled = vue.ref(initVal);
9539
9536
  let timeoutHandle = null;
9540
- const dispatchThrottling = () => {
9537
+ const dispatchThrottling = (timer) => {
9538
+ if (isUndefined(timer)) {
9539
+ throttled.value = loading.value;
9540
+ return;
9541
+ }
9541
9542
  if (timeoutHandle) {
9542
9543
  clearTimeout(timeoutHandle);
9543
9544
  }
9544
9545
  timeoutHandle = setTimeout(() => {
9545
9546
  throttled.value = loading.value;
9546
- }, throttle);
9547
+ }, timer);
9547
9548
  };
9548
- vue.onMounted(dispatchThrottling);
9549
- vue.watch(() => loading.value, (val) => {
9550
- if (val) {
9551
- dispatchThrottling();
9549
+ const dispatcher = (type) => {
9550
+ if (type === "leading") {
9551
+ if (isNumber(throttle)) {
9552
+ dispatchThrottling(throttle);
9553
+ } else {
9554
+ dispatchThrottling(throttle.leading);
9555
+ }
9552
9556
  } else {
9553
- throttled.value = val;
9557
+ if (isObject$1(throttle)) {
9558
+ dispatchThrottling(throttle.trailing);
9559
+ } else {
9560
+ throttled.value = false;
9561
+ }
9554
9562
  }
9563
+ };
9564
+ vue.onMounted(() => dispatcher("leading"));
9565
+ vue.watch(() => loading.value, (val) => {
9566
+ dispatcher(val ? "leading" : "trailing");
9555
9567
  });
9556
9568
  return throttled;
9557
9569
  };
@@ -9646,9 +9658,8 @@
9646
9658
  };
9647
9659
 
9648
9660
  let registeredEscapeHandlers = [];
9649
- const cachedHandler = (e) => {
9650
- const event = e;
9651
- if (event.key === EVENT_CODE.esc) {
9661
+ const cachedHandler = (event) => {
9662
+ if (event.code === EVENT_CODE.esc) {
9652
9663
  registeredEscapeHandlers.forEach((registeredHandler) => registeredHandler(event));
9653
9664
  }
9654
9665
  };
@@ -11556,7 +11567,7 @@
11556
11567
 
11557
11568
  const ElConfigProvider = withInstall(ConfigProvider);
11558
11569
 
11559
- const version$1 = "2.8.7";
11570
+ const version$1 = "2.8.8";
11560
11571
 
11561
11572
  const makeInstaller = (components = []) => {
11562
11573
  const install = (app, options) => {
@@ -15213,9 +15224,9 @@
15213
15224
  return;
15214
15225
  if (focusLayer.paused)
15215
15226
  return;
15216
- const { key, altKey, ctrlKey, metaKey, currentTarget, shiftKey } = e;
15227
+ const { code, altKey, ctrlKey, metaKey, currentTarget, shiftKey } = e;
15217
15228
  const { loop } = props;
15218
- const isTabbing = key === EVENT_CODE.tab && !altKey && !ctrlKey && !metaKey;
15229
+ const isTabbing = code === EVENT_CODE.tab && !altKey && !ctrlKey && !metaKey;
15219
15230
  const currentFocusingEl = document.activeElement;
15220
15231
  if (isTabbing && currentFocusingEl) {
15221
15232
  const container = currentTarget;
@@ -15865,7 +15876,7 @@
15865
15876
  },
15866
15877
  triggerKeys: {
15867
15878
  type: definePropType(Array),
15868
- default: () => [EVENT_CODE.enter, EVENT_CODE.space]
15879
+ default: () => [EVENT_CODE.enter, EVENT_CODE.numpadEnter, EVENT_CODE.space]
15869
15880
  }
15870
15881
  });
15871
15882
 
@@ -18323,31 +18334,34 @@
18323
18334
  !function(t, e) {
18324
18335
  module.exports = e() ;
18325
18336
  }(commonjsGlobal, function() {
18326
- 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) {
18337
+ 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) {
18338
+ var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
18339
+ return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
18340
+ } }, m = function(t2, e2, n2) {
18327
18341
  var r2 = String(t2);
18328
18342
  return !r2 || r2.length >= e2 ? t2 : "" + Array(e2 + 1 - r2.length).join(n2) + t2;
18329
- }, g = { s: m, z: function(t2) {
18343
+ }, v = { s: m, z: function(t2) {
18330
18344
  var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r2 = Math.floor(n2 / 60), i2 = n2 % 60;
18331
18345
  return (e2 <= 0 ? "+" : "-") + m(r2, 2, "0") + ":" + m(i2, 2, "0");
18332
18346
  }, m: function t2(e2, n2) {
18333
18347
  if (e2.date() < n2.date())
18334
18348
  return -t2(n2, e2);
18335
- 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);
18349
+ 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);
18336
18350
  return +(-(r2 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
18337
18351
  }, a: function(t2) {
18338
18352
  return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
18339
18353
  }, p: function(t2) {
18340
- 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$/, "");
18354
+ 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$/, "");
18341
18355
  }, u: function(t2) {
18342
18356
  return t2 === void 0;
18343
- } }, v = "en", D = {};
18344
- D[v] = M;
18345
- var p = function(t2) {
18346
- return t2 instanceof _;
18347
- }, S = function t2(e2, n2, r2) {
18357
+ } }, g = "en", D = {};
18358
+ D[g] = M;
18359
+ var p = "$isDayjsObject", S = function(t2) {
18360
+ return t2 instanceof _ || !(!t2 || !t2[p]);
18361
+ }, w = function t2(e2, n2, r2) {
18348
18362
  var i2;
18349
18363
  if (!e2)
18350
- return v;
18364
+ return g;
18351
18365
  if (typeof e2 == "string") {
18352
18366
  var s2 = e2.toLowerCase();
18353
18367
  D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
@@ -18358,19 +18372,19 @@
18358
18372
  var a2 = e2.name;
18359
18373
  D[a2] = e2, i2 = a2;
18360
18374
  }
18361
- return !r2 && i2 && (v = i2), i2 || !r2 && v;
18362
- }, w = function(t2, e2) {
18363
- if (p(t2))
18375
+ return !r2 && i2 && (g = i2), i2 || !r2 && g;
18376
+ }, O = function(t2, e2) {
18377
+ if (S(t2))
18364
18378
  return t2.clone();
18365
18379
  var n2 = typeof e2 == "object" ? e2 : {};
18366
18380
  return n2.date = t2, n2.args = arguments, new _(n2);
18367
- }, O = g;
18368
- O.l = S, O.i = p, O.w = function(t2, e2) {
18369
- return w(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
18381
+ }, b = v;
18382
+ b.l = w, b.i = S, b.w = function(t2, e2) {
18383
+ return O(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
18370
18384
  };
18371
18385
  var _ = function() {
18372
18386
  function M2(t2) {
18373
- this.$L = S(t2.locale, null, true), this.parse(t2);
18387
+ this.$L = w(t2.locale, null, true), this.parse(t2), this.$x = this.$x || t2.x || {}, this[p] = true;
18374
18388
  }
18375
18389
  var m2 = M2.prototype;
18376
18390
  return m2.parse = function(t2) {
@@ -18378,130 +18392,212 @@
18378
18392
  var e2 = t3.date, n2 = t3.utc;
18379
18393
  if (e2 === null)
18380
18394
  return new Date(NaN);
18381
- if (O.u(e2))
18395
+ if (b.u(e2))
18382
18396
  return new Date();
18383
18397
  if (e2 instanceof Date)
18384
18398
  return new Date(e2);
18385
18399
  if (typeof e2 == "string" && !/Z$/i.test(e2)) {
18386
- var r2 = e2.match(l);
18400
+ var r2 = e2.match($);
18387
18401
  if (r2) {
18388
18402
  var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
18389
18403
  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);
18390
18404
  }
18391
18405
  }
18392
18406
  return new Date(e2);
18393
- }(t2), this.$x = t2.x || {}, this.init();
18407
+ }(t2), this.init();
18394
18408
  }, m2.init = function() {
18395
18409
  var t2 = this.$d;
18396
18410
  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();
18397
18411
  }, m2.$utils = function() {
18398
- return O;
18412
+ return b;
18399
18413
  }, m2.isValid = function() {
18400
- return !(this.$d.toString() === $);
18414
+ return !(this.$d.toString() === l);
18401
18415
  }, m2.isSame = function(t2, e2) {
18402
- var n2 = w(t2);
18416
+ var n2 = O(t2);
18403
18417
  return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
18404
18418
  }, m2.isAfter = function(t2, e2) {
18405
- return w(t2) < this.startOf(e2);
18419
+ return O(t2) < this.startOf(e2);
18406
18420
  }, m2.isBefore = function(t2, e2) {
18407
- return this.endOf(e2) < w(t2);
18421
+ return this.endOf(e2) < O(t2);
18408
18422
  }, m2.$g = function(t2, e2, n2) {
18409
- return O.u(t2) ? this[e2] : this.set(n2, t2);
18423
+ return b.u(t2) ? this[e2] : this.set(n2, t2);
18410
18424
  }, m2.unix = function() {
18411
18425
  return Math.floor(this.valueOf() / 1e3);
18412
18426
  }, m2.valueOf = function() {
18413
18427
  return this.$d.getTime();
18414
18428
  }, m2.startOf = function(t2, e2) {
18415
- var n2 = this, r2 = !!O.u(e2) || e2, h2 = O.p(t2), $2 = function(t3, e3) {
18416
- var i2 = O.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
18429
+ var n2 = this, r2 = !!b.u(e2) || e2, f2 = b.p(t2), l2 = function(t3, e3) {
18430
+ var i2 = b.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
18417
18431
  return r2 ? i2 : i2.endOf(a);
18418
- }, l2 = function(t3, e3) {
18419
- return O.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
18420
- }, y2 = this.$W, M3 = this.$M, m3 = this.$D, g2 = "set" + (this.$u ? "UTC" : "");
18421
- switch (h2) {
18432
+ }, $2 = function(t3, e3) {
18433
+ return b.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
18434
+ }, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
18435
+ switch (f2) {
18436
+ case h:
18437
+ return r2 ? l2(1, 0) : l2(31, 11);
18422
18438
  case c:
18423
- return r2 ? $2(1, 0) : $2(31, 11);
18424
- case f:
18425
- return r2 ? $2(1, M3) : $2(0, M3 + 1);
18439
+ return r2 ? l2(1, M3) : l2(0, M3 + 1);
18426
18440
  case o:
18427
- var v2 = this.$locale().weekStart || 0, D2 = (y2 < v2 ? y2 + 7 : y2) - v2;
18428
- return $2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
18441
+ var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
18442
+ return l2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
18429
18443
  case a:
18430
18444
  case d:
18431
- return l2(g2 + "Hours", 0);
18445
+ return $2(v2 + "Hours", 0);
18432
18446
  case u:
18433
- return l2(g2 + "Minutes", 1);
18447
+ return $2(v2 + "Minutes", 1);
18434
18448
  case s:
18435
- return l2(g2 + "Seconds", 2);
18449
+ return $2(v2 + "Seconds", 2);
18436
18450
  case i:
18437
- return l2(g2 + "Milliseconds", 3);
18451
+ return $2(v2 + "Milliseconds", 3);
18438
18452
  default:
18439
18453
  return this.clone();
18440
18454
  }
18441
18455
  }, m2.endOf = function(t2) {
18442
18456
  return this.startOf(t2, false);
18443
18457
  }, m2.$set = function(t2, e2) {
18444
- 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;
18445
- if (o2 === f || o2 === c) {
18458
+ 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;
18459
+ if (o2 === c || o2 === h) {
18446
18460
  var y2 = this.clone().set(d, 1);
18447
- y2.$d[$2](l2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
18461
+ y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
18448
18462
  } else
18449
- $2 && this.$d[$2](l2);
18463
+ l2 && this.$d[l2]($2);
18450
18464
  return this.init(), this;
18451
18465
  }, m2.set = function(t2, e2) {
18452
18466
  return this.clone().$set(t2, e2);
18453
18467
  }, m2.get = function(t2) {
18454
- return this[O.p(t2)]();
18455
- }, m2.add = function(r2, h2) {
18456
- var d2, $2 = this;
18468
+ return this[b.p(t2)]();
18469
+ }, m2.add = function(r2, f2) {
18470
+ var d2, l2 = this;
18457
18471
  r2 = Number(r2);
18458
- var l2 = O.p(h2), y2 = function(t2) {
18459
- var e2 = w($2);
18460
- return O.w(e2.date(e2.date() + Math.round(t2 * r2)), $2);
18472
+ var $2 = b.p(f2), y2 = function(t2) {
18473
+ var e2 = O(l2);
18474
+ return b.w(e2.date(e2.date() + Math.round(t2 * r2)), l2);
18461
18475
  };
18462
- if (l2 === f)
18463
- return this.set(f, this.$M + r2);
18464
- if (l2 === c)
18465
- return this.set(c, this.$y + r2);
18466
- if (l2 === a)
18476
+ if ($2 === c)
18477
+ return this.set(c, this.$M + r2);
18478
+ if ($2 === h)
18479
+ return this.set(h, this.$y + r2);
18480
+ if ($2 === a)
18467
18481
  return y2(1);
18468
- if (l2 === o)
18482
+ if ($2 === o)
18469
18483
  return y2(7);
18470
- var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[l2] || 1, m3 = this.$d.getTime() + r2 * M3;
18471
- return O.w(m3, this);
18484
+ var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r2 * M3;
18485
+ return b.w(m3, this);
18472
18486
  }, m2.subtract = function(t2, e2) {
18473
18487
  return this.add(-1 * t2, e2);
18474
18488
  }, m2.format = function(t2) {
18475
18489
  var e2 = this, n2 = this.$locale();
18476
18490
  if (!this.isValid())
18477
- return n2.invalidDate || $;
18478
- 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) {
18491
+ return n2.invalidDate || l;
18492
+ 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) {
18479
18493
  return t3 && (t3[n3] || t3(e2, r2)) || i3[n3].slice(0, s3);
18480
- }, c2 = function(t3) {
18481
- return O.s(s2 % 12 || 12, t3, "0");
18482
- }, d2 = n2.meridiem || function(t3, e3, n3) {
18494
+ }, d2 = function(t3) {
18495
+ return b.s(s2 % 12 || 12, t3, "0");
18496
+ }, $2 = f2 || function(t3, e3, n3) {
18483
18497
  var r3 = t3 < 12 ? "AM" : "PM";
18484
18498
  return n3 ? r3.toLowerCase() : r3;
18485
- }, 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 };
18486
- return r2.replace(y, function(t3, e3) {
18487
- return e3 || l2[t3] || i2.replace(":", "");
18499
+ };
18500
+ return r2.replace(y, function(t3, r3) {
18501
+ return r3 || function(t4) {
18502
+ switch (t4) {
18503
+ case "YY":
18504
+ return String(e2.$y).slice(-2);
18505
+ case "YYYY":
18506
+ return b.s(e2.$y, 4, "0");
18507
+ case "M":
18508
+ return a2 + 1;
18509
+ case "MM":
18510
+ return b.s(a2 + 1, 2, "0");
18511
+ case "MMM":
18512
+ return h2(n2.monthsShort, a2, c2, 3);
18513
+ case "MMMM":
18514
+ return h2(c2, a2);
18515
+ case "D":
18516
+ return e2.$D;
18517
+ case "DD":
18518
+ return b.s(e2.$D, 2, "0");
18519
+ case "d":
18520
+ return String(e2.$W);
18521
+ case "dd":
18522
+ return h2(n2.weekdaysMin, e2.$W, o2, 2);
18523
+ case "ddd":
18524
+ return h2(n2.weekdaysShort, e2.$W, o2, 3);
18525
+ case "dddd":
18526
+ return o2[e2.$W];
18527
+ case "H":
18528
+ return String(s2);
18529
+ case "HH":
18530
+ return b.s(s2, 2, "0");
18531
+ case "h":
18532
+ return d2(1);
18533
+ case "hh":
18534
+ return d2(2);
18535
+ case "a":
18536
+ return $2(s2, u2, true);
18537
+ case "A":
18538
+ return $2(s2, u2, false);
18539
+ case "m":
18540
+ return String(u2);
18541
+ case "mm":
18542
+ return b.s(u2, 2, "0");
18543
+ case "s":
18544
+ return String(e2.$s);
18545
+ case "ss":
18546
+ return b.s(e2.$s, 2, "0");
18547
+ case "SSS":
18548
+ return b.s(e2.$ms, 3, "0");
18549
+ case "Z":
18550
+ return i2;
18551
+ }
18552
+ return null;
18553
+ }(t3) || i2.replace(":", "");
18488
18554
  });
18489
18555
  }, m2.utcOffset = function() {
18490
18556
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
18491
- }, m2.diff = function(r2, d2, $2) {
18492
- var l2, y2 = O.p(d2), M3 = w(r2), m3 = (M3.utcOffset() - this.utcOffset()) * e, g2 = this - M3, v2 = O.m(this, M3);
18493
- 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);
18557
+ }, m2.diff = function(r2, d2, l2) {
18558
+ var $2, y2 = this, M3 = b.p(d2), m3 = O(r2), v2 = (m3.utcOffset() - this.utcOffset()) * e, g2 = this - m3, D2 = function() {
18559
+ return b.m(y2, m3);
18560
+ };
18561
+ switch (M3) {
18562
+ case h:
18563
+ $2 = D2() / 12;
18564
+ break;
18565
+ case c:
18566
+ $2 = D2();
18567
+ break;
18568
+ case f:
18569
+ $2 = D2() / 3;
18570
+ break;
18571
+ case o:
18572
+ $2 = (g2 - v2) / 6048e5;
18573
+ break;
18574
+ case a:
18575
+ $2 = (g2 - v2) / 864e5;
18576
+ break;
18577
+ case u:
18578
+ $2 = g2 / n;
18579
+ break;
18580
+ case s:
18581
+ $2 = g2 / e;
18582
+ break;
18583
+ case i:
18584
+ $2 = g2 / t;
18585
+ break;
18586
+ default:
18587
+ $2 = g2;
18588
+ }
18589
+ return l2 ? $2 : b.a($2);
18494
18590
  }, m2.daysInMonth = function() {
18495
- return this.endOf(f).$D;
18591
+ return this.endOf(c).$D;
18496
18592
  }, m2.$locale = function() {
18497
18593
  return D[this.$L];
18498
18594
  }, m2.locale = function(t2, e2) {
18499
18595
  if (!t2)
18500
18596
  return this.$L;
18501
- var n2 = this.clone(), r2 = S(t2, e2, true);
18597
+ var n2 = this.clone(), r2 = w(t2, e2, true);
18502
18598
  return r2 && (n2.$L = r2), n2;
18503
18599
  }, m2.clone = function() {
18504
- return O.w(this.$d, this);
18600
+ return b.w(this.$d, this);
18505
18601
  }, m2.toDate = function() {
18506
18602
  return new Date(this.valueOf());
18507
18603
  }, m2.toJSON = function() {
@@ -18511,16 +18607,16 @@
18511
18607
  }, m2.toString = function() {
18512
18608
  return this.$d.toUTCString();
18513
18609
  }, M2;
18514
- }(), T = _.prototype;
18515
- return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function(t2) {
18516
- T[t2[1]] = function(e2) {
18610
+ }(), k = _.prototype;
18611
+ return O.prototype = k, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t2) {
18612
+ k[t2[1]] = function(e2) {
18517
18613
  return this.$g(e2, t2[0], t2[1]);
18518
18614
  };
18519
- }), w.extend = function(t2, e2) {
18520
- return t2.$i || (t2(e2, _, w), t2.$i = true), w;
18521
- }, w.locale = S, w.isDayjs = p, w.unix = function(t2) {
18522
- return w(1e3 * t2);
18523
- }, w.en = D[v], w.Ls = D, w.p = {}, w;
18615
+ }), O.extend = function(t2, e2) {
18616
+ return t2.$i || (t2(e2, _, O), t2.$i = true), O;
18617
+ }, O.locale = w, O.isDayjs = S, O.unix = function(t2) {
18618
+ return O(1e3 * t2);
18619
+ }, O.en = D[g], O.Ls = D, O.p = {}, O;
18524
18620
  });
18525
18621
  })(dayjs_min);
18526
18622
  var dayjs = dayjs_min.exports;
@@ -18531,14 +18627,14 @@
18531
18627
  !function(e, t) {
18532
18628
  module.exports = t() ;
18533
18629
  }(commonjsGlobal, function() {
18534
- 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) {
18630
+ 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) {
18535
18631
  return (e2 = +e2) + (e2 > 68 ? 1900 : 2e3);
18536
18632
  };
18537
- var a = function(e2) {
18633
+ var f = function(e2) {
18538
18634
  return function(t2) {
18539
18635
  this[e2] = +t2;
18540
18636
  };
18541
- }, f = [/[+-]\d\d:?(\d\d)?|Z/, function(e2) {
18637
+ }, h = [/[+-]\d\d:?(\d\d)?|Z/, function(e2) {
18542
18638
  (this.zone || (this.zone = {})).offset = function(e3) {
18543
18639
  if (!e3)
18544
18640
  return 0;
@@ -18547,11 +18643,11 @@
18547
18643
  var t2 = e3.match(/([+-]|\d\d)/g), n2 = 60 * t2[1] + (+t2[2] || 0);
18548
18644
  return n2 === 0 ? 0 : t2[0] === "+" ? -n2 : n2;
18549
18645
  }(e2);
18550
- }], h = function(e2) {
18551
- var t2 = o[e2];
18646
+ }], u = function(e2) {
18647
+ var t2 = s[e2];
18552
18648
  return t2 && (t2.indexOf ? t2 : t2.s.concat(t2.f));
18553
- }, u = function(e2, t2) {
18554
- var n2, r2 = o.meridiem;
18649
+ }, d = function(e2, t2) {
18650
+ var n2, r2 = s.meridiem;
18555
18651
  if (r2) {
18556
18652
  for (var i2 = 1; i2 <= 24; i2 += 1)
18557
18653
  if (e2.indexOf(r2(i2, 0, t2)) > -1) {
@@ -18561,55 +18657,57 @@
18561
18657
  } else
18562
18658
  n2 = e2 === (t2 ? "pm" : "PM");
18563
18659
  return n2;
18564
- }, d = { A: [i, function(e2) {
18565
- this.afternoon = u(e2, false);
18566
- }], a: [i, function(e2) {
18567
- this.afternoon = u(e2, true);
18568
- }], S: [/\d/, function(e2) {
18660
+ }, c = { A: [o, function(e2) {
18661
+ this.afternoon = d(e2, false);
18662
+ }], a: [o, function(e2) {
18663
+ this.afternoon = d(e2, true);
18664
+ }], Q: [n, function(e2) {
18665
+ this.month = 3 * (e2 - 1) + 1;
18666
+ }], S: [n, function(e2) {
18569
18667
  this.milliseconds = 100 * +e2;
18570
- }], SS: [n, function(e2) {
18668
+ }], SS: [r, function(e2) {
18571
18669
  this.milliseconds = 10 * +e2;
18572
18670
  }], SSS: [/\d{3}/, function(e2) {
18573
18671
  this.milliseconds = +e2;
18574
- }], 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) {
18575
- var t2 = o.ordinal, n2 = e2.match(/\d+/);
18672
+ }], 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) {
18673
+ var t2 = s.ordinal, n2 = e2.match(/\d+/);
18576
18674
  if (this.day = n2[0], t2)
18577
18675
  for (var r2 = 1; r2 <= 31; r2 += 1)
18578
18676
  t2(r2).replace(/\[|\]/g, "") === e2 && (this.day = r2);
18579
- }], M: [r, a("month")], MM: [n, a("month")], MMM: [i, function(e2) {
18580
- var t2 = h("months"), n2 = (h("monthsShort") || t2.map(function(e3) {
18677
+ }], w: [i, f("week")], ww: [r, f("week")], M: [i, f("month")], MM: [r, f("month")], MMM: [o, function(e2) {
18678
+ var t2 = u("months"), n2 = (u("monthsShort") || t2.map(function(e3) {
18581
18679
  return e3.slice(0, 3);
18582
18680
  })).indexOf(e2) + 1;
18583
18681
  if (n2 < 1)
18584
18682
  throw new Error();
18585
18683
  this.month = n2 % 12 || n2;
18586
- }], MMMM: [i, function(e2) {
18587
- var t2 = h("months").indexOf(e2) + 1;
18684
+ }], MMMM: [o, function(e2) {
18685
+ var t2 = u("months").indexOf(e2) + 1;
18588
18686
  if (t2 < 1)
18589
18687
  throw new Error();
18590
18688
  this.month = t2 % 12 || t2;
18591
- }], Y: [/[+-]?\d+/, a("year")], YY: [n, function(e2) {
18592
- this.year = s(e2);
18593
- }], YYYY: [/\d{4}/, a("year")], Z: f, ZZ: f };
18594
- function c(n2) {
18689
+ }], Y: [/[+-]?\d+/, f("year")], YY: [r, function(e2) {
18690
+ this.year = a(e2);
18691
+ }], YYYY: [/\d{4}/, f("year")], Z: h, ZZ: h };
18692
+ function l(n2) {
18595
18693
  var r2, i2;
18596
- r2 = n2, i2 = o && o.formats;
18597
- for (var s2 = (n2 = r2.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(t2, n3, r3) {
18598
- var o2 = r3 && r3.toUpperCase();
18599
- return n3 || i2[r3] || e[r3] || i2[o2].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(e2, t3, n4) {
18694
+ r2 = n2, i2 = s && s.formats;
18695
+ for (var o2 = (n2 = r2.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(t2, n3, r3) {
18696
+ var o3 = r3 && r3.toUpperCase();
18697
+ return n3 || i2[r3] || e[r3] || i2[o3].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(e2, t3, n4) {
18600
18698
  return t3 || n4.slice(1);
18601
18699
  });
18602
- })).match(t), a2 = s2.length, f2 = 0; f2 < a2; f2 += 1) {
18603
- var h2 = s2[f2], u2 = d[h2], c2 = u2 && u2[0], l = u2 && u2[1];
18604
- s2[f2] = l ? { regex: c2, parser: l } : h2.replace(/^\[|\]$/g, "");
18700
+ })).match(t), a2 = o2.length, f2 = 0; f2 < a2; f2 += 1) {
18701
+ var h2 = o2[f2], u2 = c[h2], d2 = u2 && u2[0], l2 = u2 && u2[1];
18702
+ o2[f2] = l2 ? { regex: d2, parser: l2 } : h2.replace(/^\[|\]$/g, "");
18605
18703
  }
18606
18704
  return function(e2) {
18607
18705
  for (var t2 = {}, n3 = 0, r3 = 0; n3 < a2; n3 += 1) {
18608
- var i3 = s2[n3];
18706
+ var i3 = o2[n3];
18609
18707
  if (typeof i3 == "string")
18610
18708
  r3 += i3.length;
18611
18709
  else {
18612
- var o2 = i3.regex, f3 = i3.parser, h3 = e2.slice(r3), u3 = o2.exec(h3)[0];
18710
+ var s2 = i3.regex, f3 = i3.parser, h3 = e2.slice(r3), u3 = s2.exec(h3)[0];
18613
18711
  f3.call(t2, u3), e2 = e2.replace(u3, "");
18614
18712
  }
18615
18713
  }
@@ -18623,35 +18721,35 @@
18623
18721
  };
18624
18722
  }
18625
18723
  return function(e2, t2, n2) {
18626
- n2.p.customParseFormat = true, e2 && e2.parseTwoDigitYear && (s = e2.parseTwoDigitYear);
18724
+ n2.p.customParseFormat = true, e2 && e2.parseTwoDigitYear && (a = e2.parseTwoDigitYear);
18627
18725
  var r2 = t2.prototype, i2 = r2.parse;
18628
18726
  r2.parse = function(e3) {
18629
- var t3 = e3.date, r3 = e3.utc, s2 = e3.args;
18727
+ var t3 = e3.date, r3 = e3.utc, o2 = e3.args;
18630
18728
  this.$u = r3;
18631
- var a2 = s2[1];
18729
+ var a2 = o2[1];
18632
18730
  if (typeof a2 == "string") {
18633
- var f2 = s2[2] === true, h2 = s2[3] === true, u2 = f2 || h2, d2 = s2[2];
18634
- h2 && (d2 = s2[2]), o = this.$locale(), !f2 && d2 && (o = n2.Ls[d2]), this.$d = function(e4, t4, n3) {
18731
+ var f2 = o2[2] === true, h2 = o2[3] === true, u2 = f2 || h2, d2 = o2[2];
18732
+ h2 && (d2 = o2[2]), s = this.$locale(), !f2 && d2 && (s = n2.Ls[d2]), this.$d = function(e4, t4, n3, r4) {
18635
18733
  try {
18636
18734
  if (["x", "X"].indexOf(t4) > -1)
18637
18735
  return new Date((t4 === "X" ? 1e3 : 1) * e4);
18638
- 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;
18639
- i3 && !o2 || (Y = o2 > 0 ? o2 - 1 : l2.getMonth());
18640
- var p = a3 || 0, v = f3 || 0, D = h3 || 0, g = u3 || 0;
18641
- 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);
18736
+ 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;
18737
+ o3 && !s2 || (v = s2 > 0 ? s2 - 1 : M2.getMonth());
18738
+ var D, w = f3 || 0, g = h3 || 0, y = u3 || 0, L = d3 || 0;
18739
+ 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);
18642
18740
  } catch (e5) {
18643
18741
  return new Date("");
18644
18742
  }
18645
- }(t3, a2, r3), this.init(), d2 && d2 !== true && (this.$L = this.locale(d2).$L), u2 && t3 != this.format(a2) && (this.$d = new Date("")), o = {};
18743
+ }(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 = {};
18646
18744
  } else if (a2 instanceof Array)
18647
- for (var l = a2.length, m = 1; m <= l; m += 1) {
18648
- s2[1] = a2[m - 1];
18649
- var M = n2.apply(this, s2);
18745
+ for (var c2 = a2.length, m = 1; m <= c2; m += 1) {
18746
+ o2[1] = a2[m - 1];
18747
+ var M = n2.apply(this, o2);
18650
18748
  if (M.isValid()) {
18651
18749
  this.$d = M.$d, this.$L = M.$L, this.init();
18652
18750
  break;
18653
18751
  }
18654
- m === l && (this.$d = new Date(""));
18752
+ m === c2 && (this.$d = new Date(""));
18655
18753
  }
18656
18754
  else
18657
18755
  i2.call(this, e3);
@@ -19016,7 +19114,7 @@
19016
19114
  let hasJustTabExitedInput = false;
19017
19115
  const { isFocused, handleFocus, handleBlur } = useFocusController(inputRef, {
19018
19116
  beforeFocus() {
19019
- return !props.editable || props.readonly || pickerDisabled.value;
19117
+ return props.readonly || pickerDisabled.value;
19020
19118
  },
19021
19119
  afterFocus() {
19022
19120
  pickerVisible.value = true;
@@ -19899,6 +19997,8 @@
19899
19997
  emits: ["change", "select-range", "set-option"],
19900
19998
  setup(__props, { emit }) {
19901
19999
  const props = __props;
20000
+ const pickerBase = vue.inject("EP_PICKER_BASE");
20001
+ const { isRange } = pickerBase.props;
19902
20002
  const ns = useNamespace("time");
19903
20003
  const { getHoursList, getMinutesList, getSecondsList } = getTimeLists(props.disabledHours, props.disabledMinutes, props.disabledSeconds);
19904
20004
  let isScrolling = false;
@@ -19923,10 +20023,12 @@
19923
20023
  });
19924
20024
  const timeList = vue.computed(() => {
19925
20025
  const { hours, minutes } = vue.unref(timePartials);
20026
+ const { role, spinnerDate } = props;
20027
+ const compare = !isRange ? spinnerDate : void 0;
19926
20028
  return {
19927
- hours: getHoursList(props.role),
19928
- minutes: getMinutesList(hours, props.role),
19929
- seconds: getSecondsList(hours, minutes, props.role)
20029
+ hours: getHoursList(role, compare),
20030
+ minutes: getMinutesList(hours, role, compare),
20031
+ seconds: getSecondsList(hours, minutes, role, compare)
19930
20032
  };
19931
20033
  });
19932
20034
  const arrowControlTimeList = vue.computed(() => {
@@ -23658,6 +23760,7 @@
23658
23760
  break;
23659
23761
  }
23660
23762
  case EVENT_CODE.enter:
23763
+ case EVENT_CODE.numpadEnter:
23661
23764
  checkNode(target);
23662
23765
  break;
23663
23766
  }
@@ -24175,6 +24278,7 @@
24175
24278
  return;
24176
24279
  switch (e.code) {
24177
24280
  case EVENT_CODE.enter:
24281
+ case EVENT_CODE.numpadEnter:
24178
24282
  togglePopperVisible();
24179
24283
  break;
24180
24284
  case EVENT_CODE.down:
@@ -24229,6 +24333,7 @@
24229
24333
  break;
24230
24334
  }
24231
24335
  case EVENT_CODE.enter:
24336
+ case EVENT_CODE.numpadEnter:
24232
24337
  target.click();
24233
24338
  break;
24234
24339
  }
@@ -26110,6 +26215,7 @@
26110
26215
  function handleKeyDown(event) {
26111
26216
  switch (event.code) {
26112
26217
  case EVENT_CODE.enter:
26218
+ case EVENT_CODE.numpadEnter:
26113
26219
  case EVENT_CODE.space:
26114
26220
  event.preventDefault();
26115
26221
  event.stopPropagation();
@@ -26498,16 +26604,13 @@
26498
26604
  !function(e, t) {
26499
26605
  module.exports = t() ;
26500
26606
  }(commonjsGlobal, function() {
26501
- return function(e, t, r) {
26502
- var n = t.prototype, s = n.format;
26503
- r.en.ordinal = function(e2) {
26504
- var t2 = ["th", "st", "nd", "rd"], r2 = e2 % 100;
26505
- return "[" + e2 + (t2[(r2 - 20) % 10] || t2[r2] || t2[0]) + "]";
26506
- }, n.format = function(e2) {
26607
+ return function(e, t) {
26608
+ var r = t.prototype, n = r.format;
26609
+ r.format = function(e2) {
26507
26610
  var t2 = this, r2 = this.$locale();
26508
26611
  if (!this.isValid())
26509
- return s.bind(this)(e2);
26510
- 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) {
26612
+ return n.bind(this)(e2);
26613
+ 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) {
26511
26614
  switch (e3) {
26512
26615
  case "Q":
26513
26616
  return Math.ceil((t2.$M + 1) / 3);
@@ -26521,13 +26624,13 @@
26521
26624
  return r2.ordinal(t2.week(), "W");
26522
26625
  case "w":
26523
26626
  case "ww":
26524
- return n2.s(t2.week(), e3 === "w" ? 1 : 2, "0");
26627
+ return s.s(t2.week(), e3 === "w" ? 1 : 2, "0");
26525
26628
  case "W":
26526
26629
  case "WW":
26527
- return n2.s(t2.isoWeek(), e3 === "W" ? 1 : 2, "0");
26630
+ return s.s(t2.isoWeek(), e3 === "W" ? 1 : 2, "0");
26528
26631
  case "k":
26529
26632
  case "kk":
26530
- return n2.s(String(t2.$H === 0 ? 24 : t2.$H), e3 === "k" ? 1 : 2, "0");
26633
+ return s.s(String(t2.$H === 0 ? 24 : t2.$H), e3 === "k" ? 1 : 2, "0");
26531
26634
  case "X":
26532
26635
  return Math.floor(t2.$d.getTime() / 1e3);
26533
26636
  case "x":
@@ -26540,7 +26643,7 @@
26540
26643
  return e3;
26541
26644
  }
26542
26645
  });
26543
- return s.bind(this)(a);
26646
+ return n.bind(this)(a);
26544
26647
  };
26545
26648
  };
26546
26649
  });
@@ -29934,8 +30037,9 @@
29934
30037
  const labelAlign = item.labelAlign ? `is-${item.labelAlign}` : align;
29935
30038
  const className = item.className;
29936
30039
  const labelClassName = item.labelClassName;
30040
+ const width = this.type === "label" ? item.labelWidth || this.descriptions.labelWidth || item.width : item.width;
29937
30041
  const style = {
29938
- width: addUnit(item.width),
30042
+ width: addUnit(width),
29939
30043
  minWidth: addUnit(item.minWidth)
29940
30044
  };
29941
30045
  const ns = useNamespace("descriptions");
@@ -30074,6 +30178,10 @@
30074
30178
  extra: {
30075
30179
  type: String,
30076
30180
  default: ""
30181
+ },
30182
+ labelWidth: {
30183
+ type: [String, Number],
30184
+ default: ""
30077
30185
  }
30078
30186
  });
30079
30187
 
@@ -30218,6 +30326,10 @@
30218
30326
  type: [String, Number],
30219
30327
  default: ""
30220
30328
  },
30329
+ labelWidth: {
30330
+ type: [String, Number],
30331
+ default: ""
30332
+ },
30221
30333
  align: {
30222
30334
  type: String,
30223
30335
  default: "left"
@@ -31174,7 +31286,7 @@
31174
31286
  }
31175
31287
  };
31176
31288
  const getFocusIntent = (event, orientation, dir) => {
31177
- const key = getDirectionAwareKey(event.key, dir);
31289
+ const key = getDirectionAwareKey(event.code, dir);
31178
31290
  if (orientation === "vertical" && [EVENT_CODE.left, EVENT_CODE.right].includes(key))
31179
31291
  return void 0;
31180
31292
  if (orientation === "horizontal" && [EVENT_CODE.up, EVENT_CODE.down].includes(key))
@@ -31347,8 +31459,8 @@
31347
31459
  const handleKeydown = composeEventHandlers((e) => {
31348
31460
  emit("keydown", e);
31349
31461
  }, (e) => {
31350
- const { key, shiftKey, target, currentTarget } = e;
31351
- if (key === EVENT_CODE.tab && shiftKey) {
31462
+ const { code, shiftKey, target, currentTarget } = e;
31463
+ if (code === EVENT_CODE.tab && shiftKey) {
31352
31464
  onItemShiftTab();
31353
31465
  return;
31354
31466
  }
@@ -31529,7 +31641,12 @@
31529
31641
  const scrollbar = vue.ref(null);
31530
31642
  const currentTabId = vue.ref(null);
31531
31643
  const isUsingKeyboard = vue.ref(false);
31532
- const triggerKeys = [EVENT_CODE.enter, EVENT_CODE.space, EVENT_CODE.down];
31644
+ const triggerKeys = [
31645
+ EVENT_CODE.enter,
31646
+ EVENT_CODE.numpadEnter,
31647
+ EVENT_CODE.space,
31648
+ EVENT_CODE.down
31649
+ ];
31533
31650
  const wrapStyle = vue.computed(() => ({
31534
31651
  maxHeight: addUnit(props.maxHeight)
31535
31652
  }));
@@ -31817,8 +31934,7 @@
31817
31934
  return "button";
31818
31935
  });
31819
31936
  const handleKeydown = composeEventHandlers((e) => {
31820
- const { code } = e;
31821
- if (code === EVENT_CODE.enter || code === EVENT_CODE.space) {
31937
+ if ([EVENT_CODE.enter, EVENT_CODE.numpadEnter, EVENT_CODE.space].includes(e.code)) {
31822
31938
  e.preventDefault();
31823
31939
  e.stopImmediatePropagation();
31824
31940
  emit("clickimpl", e);
@@ -33493,6 +33609,7 @@
33493
33609
  break;
33494
33610
  }
33495
33611
  case EVENT_CODE.enter:
33612
+ case EVENT_CODE.numpadEnter:
33496
33613
  case EVENT_CODE.space: {
33497
33614
  prevDef = true;
33498
33615
  event.currentTarget.click();
@@ -33546,6 +33663,7 @@
33546
33663
  break;
33547
33664
  }
33548
33665
  case EVENT_CODE.enter:
33666
+ case EVENT_CODE.numpadEnter:
33549
33667
  case EVENT_CODE.space: {
33550
33668
  prevDef = true;
33551
33669
  event.currentTarget.click();
@@ -34806,13 +34924,13 @@
34806
34924
  role: "option",
34807
34925
  "aria-disabled": _ctx.isDisabled || void 0,
34808
34926
  "aria-selected": _ctx.itemSelected,
34809
- onMouseenter: _ctx.hoverItem,
34927
+ onMousemove: _ctx.hoverItem,
34810
34928
  onClick: vue.withModifiers(_ctx.selectOptionClick, ["stop"])
34811
34929
  }, [
34812
34930
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
34813
34931
  vue.createElementVNode("span", null, vue.toDisplayString(_ctx.currentLabel), 1)
34814
34932
  ])
34815
- ], 42, ["id", "aria-disabled", "aria-selected", "onMouseenter", "onClick"])), [
34933
+ ], 42, ["id", "aria-disabled", "aria-selected", "onMousemove", "onClick"])), [
34816
34934
  [vue.vShow, _ctx.visible]
34817
34935
  ]);
34818
34936
  }
@@ -34877,7 +34995,6 @@
34877
34995
  inputValue: "",
34878
34996
  options: /* @__PURE__ */ new Map(),
34879
34997
  cachedOptions: /* @__PURE__ */ new Map(),
34880
- disabledOptions: /* @__PURE__ */ new Map(),
34881
34998
  optionValues: [],
34882
34999
  selected: [],
34883
35000
  selectionWidth: 0,
@@ -34940,6 +35057,10 @@
34940
35057
  const hasModelValue = vue.computed(() => {
34941
35058
  return isArray$1(props.modelValue) ? props.modelValue.length > 0 : !isEmptyValue(props.modelValue);
34942
35059
  });
35060
+ const needStatusIcon = vue.computed(() => {
35061
+ var _a;
35062
+ return (_a = form == null ? void 0 : form.statusIcon) != null ? _a : false;
35063
+ });
34943
35064
  const showClose = vue.computed(() => {
34944
35065
  return props.clearable && !selectDisabled.value && states.inputHovering && hasModelValue.value;
34945
35066
  });
@@ -35114,9 +35235,7 @@
35114
35235
  };
35115
35236
  const getOption = (value) => {
35116
35237
  let option;
35117
- const isObjectValue = toRawType(value).toLowerCase() === "object";
35118
- const isNull = toRawType(value).toLowerCase() === "null";
35119
- const isUndefined2 = toRawType(value).toLowerCase() === "undefined";
35238
+ const isObjectValue = isPlainObject$1(value);
35120
35239
  for (let i = states.cachedOptions.size - 1; i >= 0; i--) {
35121
35240
  const cachedOption = cachedOptionsArray.value[i];
35122
35241
  const isEqualValue = isObjectValue ? get(cachedOption.value, props.valueKey) === get(value, props.valueKey) : cachedOption.value === value;
@@ -35133,7 +35252,7 @@
35133
35252
  }
35134
35253
  if (option)
35135
35254
  return option;
35136
- const label = isObjectValue ? value.label : !isNull && !isUndefined2 ? value : "";
35255
+ const label = isObjectValue ? value.label : value != null ? value : "";
35137
35256
  const newOption = {
35138
35257
  value,
35139
35258
  currentLabel: label
@@ -35182,7 +35301,10 @@
35182
35301
  emit(CHANGE_EVENT, val);
35183
35302
  }
35184
35303
  };
35185
- const getLastNotDisabledIndex = (value) => findLastIndex(value, (it) => !states.disabledOptions.has(it));
35304
+ const getLastNotDisabledIndex = (value) => findLastIndex(value, (it) => {
35305
+ const option = states.cachedOptions.get(it);
35306
+ return option && !option.disabled && !option.states.groupDisabled;
35307
+ });
35186
35308
  const deletePrevTag = (e) => {
35187
35309
  if (!props.multiple)
35188
35310
  return;
@@ -35259,7 +35381,9 @@
35259
35381
  });
35260
35382
  };
35261
35383
  const getValueIndex = (arr = [], option) => {
35262
- if (!isObject$1(option == null ? void 0 : option.value))
35384
+ if (isUndefined(option))
35385
+ return -1;
35386
+ if (!isObject$1(option.value))
35263
35387
  return arr.indexOf(option.value);
35264
35388
  return arr.findIndex((item) => {
35265
35389
  return isEqual$1(get(item, props.valueKey), getValueKey(option));
@@ -35286,7 +35410,6 @@
35286
35410
  const onOptionCreate = (vm) => {
35287
35411
  states.options.set(vm.value, vm);
35288
35412
  states.cachedOptions.set(vm.value, vm);
35289
- vm.disabled && states.disabledOptions.set(vm.value, vm);
35290
35413
  };
35291
35414
  const onOptionDestroy = (key, vm) => {
35292
35415
  if (states.options.get(key) === vm) {
@@ -35349,8 +35472,9 @@
35349
35472
  if (!expanded.value) {
35350
35473
  toggleMenu();
35351
35474
  } else {
35352
- if (optionsArray.value[states.hoveringIndex]) {
35353
- handleOptionSelect(optionsArray.value[states.hoveringIndex]);
35475
+ const option = optionsArray.value[states.hoveringIndex];
35476
+ if (option && !option.disabled && !option.states.groupDisabled) {
35477
+ handleOptionSelect(option);
35354
35478
  }
35355
35479
  }
35356
35480
  };
@@ -35448,6 +35572,7 @@
35448
35572
  shouldShowPlaceholder,
35449
35573
  currentPlaceholder,
35450
35574
  mouseEnterEventName,
35575
+ needStatusIcon,
35451
35576
  showClose,
35452
35577
  iconComponent,
35453
35578
  iconReverse,
@@ -35615,6 +35740,14 @@
35615
35740
  default: true
35616
35741
  },
35617
35742
  remoteShowSuffix: Boolean,
35743
+ showArrow: {
35744
+ type: Boolean,
35745
+ default: true
35746
+ },
35747
+ offset: {
35748
+ type: Number,
35749
+ default: 12
35750
+ },
35618
35751
  placement: {
35619
35752
  type: definePropType(String),
35620
35753
  values: Ee,
@@ -35721,6 +35854,8 @@
35721
35854
  "gpu-acceleration": false,
35722
35855
  persistent: _ctx.persistent,
35723
35856
  "append-to": _ctx.appendTo,
35857
+ "show-arrow": _ctx.showArrow,
35858
+ offset: _ctx.offset,
35724
35859
  onBeforeShow: _ctx.handleMenuEnter,
35725
35860
  onHide: ($event) => _ctx.states.isBeforeHide = false
35726
35861
  }, {
@@ -35948,7 +36083,7 @@
35948
36083
  ]),
35949
36084
  _: 1
35950
36085
  }, 8, ["class", "onClick"])) : vue.createCommentVNode("v-if", true),
35951
- _ctx.validateState && _ctx.validateIcon ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
36086
+ _ctx.validateState && _ctx.validateIcon && _ctx.needStatusIcon ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
35952
36087
  key: 2,
35953
36088
  class: vue.normalizeClass([_ctx.nsInput.e("icon"), _ctx.nsInput.e("validateIcon")])
35954
36089
  }, {
@@ -36026,7 +36161,7 @@
36026
36161
  }, 512)
36027
36162
  ]),
36028
36163
  _: 3
36029
- }, 8, ["visible", "placement", "teleported", "popper-class", "popper-options", "fallback-placements", "effect", "transition", "persistent", "append-to", "onBeforeShow", "onHide"])
36164
+ }, 8, ["visible", "placement", "teleported", "popper-class", "popper-options", "fallback-placements", "effect", "transition", "persistent", "append-to", "show-arrow", "offset", "onBeforeShow", "onHide"])
36030
36165
  ], 16, ["onMouseleave"])), [
36031
36166
  [_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
36032
36167
  ]);
@@ -39760,6 +39895,14 @@
39760
39895
  type: Boolean,
39761
39896
  default: true
39762
39897
  },
39898
+ offset: {
39899
+ type: Number,
39900
+ default: 12
39901
+ },
39902
+ showArrow: {
39903
+ type: Boolean,
39904
+ default: true
39905
+ },
39763
39906
  placement: {
39764
39907
  type: definePropType(String),
39765
39908
  values: Ee,
@@ -39771,6 +39914,7 @@
39771
39914
  },
39772
39915
  tagType: { ...tagProps.type, default: "info" },
39773
39916
  tagEffect: { ...tagProps.effect, default: "light" },
39917
+ appendTo: String,
39774
39918
  ...useEmptyValuesProps,
39775
39919
  ...useAriaProps(["ariaLabel"])
39776
39920
  });
@@ -39830,7 +39974,7 @@
39830
39974
  _ctx.ns.is("created", _ctx.created),
39831
39975
  _ctx.ns.is("hovering", _ctx.hovering)
39832
39976
  ]),
39833
- onMouseenter: _ctx.hoverItem,
39977
+ onMousemove: _ctx.hoverItem,
39834
39978
  onClick: vue.withModifiers(_ctx.selectOptionClick, ["stop"])
39835
39979
  }, [
39836
39980
  vue.renderSlot(_ctx.$slots, "default", {
@@ -39840,7 +39984,7 @@
39840
39984
  }, () => [
39841
39985
  vue.createElementVNode("span", null, vue.toDisplayString(_ctx.getLabel(_ctx.item)), 1)
39842
39986
  ])
39843
- ], 46, ["aria-selected", "onMouseenter", "onClick"]);
39987
+ ], 46, ["aria-selected", "onMousemove", "onClick"]);
39844
39988
  }
39845
39989
  var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$6], ["__file", "option-item.vue"]]);
39846
39990
 
@@ -40009,7 +40153,8 @@
40009
40153
  esc,
40010
40154
  down,
40011
40155
  up,
40012
- enter
40156
+ enter,
40157
+ numpadEnter
40013
40158
  } = EVENT_CODE;
40014
40159
  if (code !== tab) {
40015
40160
  e.preventDefault();
@@ -40017,21 +40162,18 @@
40017
40162
  }
40018
40163
  switch (code) {
40019
40164
  case tab:
40020
- case esc: {
40165
+ case esc:
40021
40166
  break;
40022
- }
40023
- case down: {
40167
+ case down:
40024
40168
  onForward();
40025
40169
  break;
40026
- }
40027
- case up: {
40170
+ case up:
40028
40171
  onBackward();
40029
40172
  break;
40030
- }
40031
- case enter: {
40173
+ case enter:
40174
+ case numpadEnter:
40032
40175
  onKeyboardSelect();
40033
40176
  break;
40034
- }
40035
40177
  }
40036
40178
  };
40037
40179
  return () => {
@@ -40212,6 +40354,10 @@
40212
40354
  const filteredOptions = vue.ref([]);
40213
40355
  const expanded = vue.ref(false);
40214
40356
  const selectDisabled = vue.computed(() => props.disabled || (elForm == null ? void 0 : elForm.disabled));
40357
+ const needStatusIcon = vue.computed(() => {
40358
+ var _a;
40359
+ return (_a = elForm == null ? void 0 : elForm.statusIcon) != null ? _a : false;
40360
+ });
40215
40361
  const popupHeight = vue.computed(() => {
40216
40362
  const totalHeight = filteredOptions.value.length * props.itemHeight;
40217
40363
  return totalHeight > props.height ? props.height : totalHeight;
@@ -40711,7 +40857,8 @@
40711
40857
  });
40712
40858
  vue.watch(() => props.modelValue, (val, oldVal) => {
40713
40859
  var _a;
40714
- if (!val || props.multiple && val.toString() !== states.previousValue || !props.multiple && getValueKey(val) !== getValueKey(states.previousValue)) {
40860
+ const isValEmpty = !val || isArray$1(val) && val.length === 0;
40861
+ if (isValEmpty || props.multiple && !isEqual$1(val.toString(), states.previousValue) || !props.multiple && getValueKey(val) !== getValueKey(states.previousValue)) {
40715
40862
  initStates(true);
40716
40863
  }
40717
40864
  if (!isEqual$1(val, oldVal) && props.validateEvent) {
@@ -40784,6 +40931,7 @@
40784
40931
  shouldShowPlaceholder,
40785
40932
  selectDisabled,
40786
40933
  selectSize,
40934
+ needStatusIcon,
40787
40935
  showClearBtn,
40788
40936
  states,
40789
40937
  isFocused,
@@ -40916,6 +41064,9 @@
40916
41064
  transition: `${_ctx.nsSelect.namespace.value}-zoom-in-top`,
40917
41065
  trigger: "click",
40918
41066
  persistent: _ctx.persistent,
41067
+ "append-to": _ctx.appendTo,
41068
+ "show-arrow": _ctx.showArrow,
41069
+ offset: _ctx.offset,
40919
41070
  onBeforeShow: _ctx.handleMenuEnter,
40920
41071
  onHide: ($event) => _ctx.states.isBeforeHide = false
40921
41072
  }, {
@@ -41142,7 +41293,7 @@
41142
41293
  ]),
41143
41294
  _: 1
41144
41295
  }, 8, ["class", "onClick"])) : vue.createCommentVNode("v-if", true),
41145
- _ctx.validateState && _ctx.validateIcon ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
41296
+ _ctx.validateState && _ctx.validateIcon && _ctx.needStatusIcon ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
41146
41297
  key: 2,
41147
41298
  class: vue.normalizeClass([_ctx.nsInput.e("icon"), _ctx.nsInput.e("validateIcon")])
41148
41299
  }, {
@@ -41211,7 +41362,7 @@
41211
41362
  ]), 1032, ["data", "width", "hovering-index", "scrollbar-always-on"])
41212
41363
  ]),
41213
41364
  _: 3
41214
- }, 8, ["visible", "teleported", "popper-class", "popper-options", "fallback-placements", "effect", "placement", "transition", "persistent", "onBeforeShow", "onHide"])
41365
+ }, 8, ["visible", "teleported", "popper-class", "popper-options", "fallback-placements", "effect", "placement", "transition", "persistent", "append-to", "show-arrow", "offset", "onBeforeShow", "onHide"])
41215
41366
  ], 42, ["onMouseenter", "onMouseleave"])), [
41216
41367
  [_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
41217
41368
  ]);
@@ -41238,7 +41389,7 @@
41238
41389
  default: true
41239
41390
  },
41240
41391
  throttle: {
41241
- type: Number
41392
+ type: definePropType([Number, Object])
41242
41393
  }
41243
41394
  });
41244
41395
 
@@ -41299,7 +41450,7 @@
41299
41450
  }, _ctx.$attrs), [
41300
41451
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.count, (i) => {
41301
41452
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: i }, [
41302
- _ctx.loading ? vue.renderSlot(_ctx.$slots, "template", { key: i }, () => [
41453
+ vue.unref(uiLoading) ? vue.renderSlot(_ctx.$slots, "template", { key: i }, () => [
41303
41454
  vue.createVNode(SkeletonItem, {
41304
41455
  class: vue.normalizeClass(vue.unref(ns).is("first")),
41305
41456
  variant: "p"
@@ -41597,7 +41748,6 @@
41597
41748
  };
41598
41749
  };
41599
41750
 
41600
- const { left, down, right, up, home, end, pageUp, pageDown } = EVENT_CODE;
41601
41751
  const useTooltip = (props, formatTooltip, showTooltip) => {
41602
41752
  const tooltip = vue.ref();
41603
41753
  const tooltipVisible = vue.ref(false);
@@ -41698,20 +41848,30 @@
41698
41848
  };
41699
41849
  const onKeyDown = (event) => {
41700
41850
  let isPreventDefault = true;
41701
- if ([left, down].includes(event.key)) {
41702
- onLeftKeyDown();
41703
- } else if ([right, up].includes(event.key)) {
41704
- onRightKeyDown();
41705
- } else if (event.key === home) {
41706
- onHomeKeyDown();
41707
- } else if (event.key === end) {
41708
- onEndKeyDown();
41709
- } else if (event.key === pageDown) {
41710
- onPageDownKeyDown();
41711
- } else if (event.key === pageUp) {
41712
- onPageUpKeyDown();
41713
- } else {
41714
- isPreventDefault = false;
41851
+ switch (event.code) {
41852
+ case EVENT_CODE.left:
41853
+ case EVENT_CODE.down:
41854
+ onLeftKeyDown();
41855
+ break;
41856
+ case EVENT_CODE.right:
41857
+ case EVENT_CODE.up:
41858
+ onRightKeyDown();
41859
+ break;
41860
+ case EVENT_CODE.home:
41861
+ onHomeKeyDown();
41862
+ break;
41863
+ case EVENT_CODE.end:
41864
+ onEndKeyDown();
41865
+ break;
41866
+ case EVENT_CODE.pageDown:
41867
+ onPageDownKeyDown();
41868
+ break;
41869
+ case EVENT_CODE.pageUp:
41870
+ onPageUpKeyDown();
41871
+ break;
41872
+ default:
41873
+ isPreventDefault = false;
41874
+ break;
41715
41875
  }
41716
41876
  isPreventDefault && event.preventDefault();
41717
41877
  };
@@ -43483,20 +43643,26 @@
43483
43643
  }
43484
43644
  });
43485
43645
  }
43646
+ const getTableOverflowTooltipProps = (props, content) => {
43647
+ return {
43648
+ content,
43649
+ ...props,
43650
+ popperOptions: {
43651
+ strategy: "fixed",
43652
+ ...props.popperOptions
43653
+ }
43654
+ };
43655
+ };
43486
43656
  let removePopper = null;
43487
43657
  function createTablePopper(props, popperContent, trigger, table) {
43488
43658
  if ((removePopper == null ? void 0 : removePopper.trigger) === trigger) {
43659
+ merge(removePopper.vm.component.props, getTableOverflowTooltipProps(props, popperContent));
43489
43660
  return;
43490
43661
  }
43491
43662
  removePopper == null ? void 0 : removePopper();
43492
43663
  const parentNode = table == null ? void 0 : table.refs.tableWrapper;
43493
43664
  const ns = parentNode == null ? void 0 : parentNode.dataset.prefix;
43494
- const popperOptions = {
43495
- strategy: "fixed",
43496
- ...props.popperOptions
43497
- };
43498
43665
  const vm = vue.createVNode(ElTooltip, {
43499
- content: popperContent,
43500
43666
  virtualTriggering: true,
43501
43667
  virtualRef: trigger,
43502
43668
  appendTo: parentNode,
@@ -43504,11 +43670,7 @@
43504
43670
  transition: "none",
43505
43671
  offset: 0,
43506
43672
  hideAfter: 0,
43507
- ...props,
43508
- popperOptions,
43509
- onHide: () => {
43510
- removePopper == null ? void 0 : removePopper();
43511
- }
43673
+ ...getTableOverflowTooltipProps(props, popperContent)
43512
43674
  });
43513
43675
  vm.appContext = { ...table.appContext, ...table };
43514
43676
  const container = document.createElement("div");
@@ -43521,6 +43683,7 @@
43521
43683
  removePopper = null;
43522
43684
  };
43523
43685
  removePopper.trigger = trigger;
43686
+ removePopper.vm = vm;
43524
43687
  scrollContainer == null ? void 0 : scrollContainer.addEventListener("scroll", removePopper);
43525
43688
  }
43526
43689
  function getCurrentColumns(column) {
@@ -43995,7 +44158,16 @@
43995
44158
  const sortProp = vue.ref(null);
43996
44159
  const sortOrder = vue.ref(null);
43997
44160
  const hoverRow = vue.ref(null);
43998
- vue.watch(data, () => instance.state && scheduleLayout(false), {
44161
+ vue.watch(data, () => {
44162
+ var _a2;
44163
+ if (instance.state) {
44164
+ scheduleLayout(false);
44165
+ const needUpdateFixed = instance.props.tableLayout === "auto";
44166
+ if (needUpdateFixed) {
44167
+ (_a2 = instance.refs.tableHeaderRef) == null ? void 0 : _a2.updateFixedColumnStyle();
44168
+ }
44169
+ }
44170
+ }, {
43999
44171
  deep: true
44000
44172
  });
44001
44173
  const assertRowKey = () => {
@@ -45524,11 +45696,29 @@
45524
45696
  const ns = useNamespace("table");
45525
45697
  const filterPanels = vue.ref({});
45526
45698
  const { onColumnsChange, onScrollableChange } = useLayoutObserver(parent);
45699
+ const isTableLayoutAuto = (parent == null ? void 0 : parent.props.tableLayout) === "auto";
45700
+ const saveIndexSelection = /* @__PURE__ */ new Map();
45701
+ const theadRef = vue.ref();
45702
+ const updateFixedColumnStyle = () => {
45703
+ setTimeout(() => {
45704
+ if (saveIndexSelection.size > 0) {
45705
+ saveIndexSelection.forEach((column, key) => {
45706
+ const el = theadRef.value.querySelector(`.${key.replace(/\s/g, ".")}`);
45707
+ if (el) {
45708
+ const width = el.getBoundingClientRect().width;
45709
+ column.width = width;
45710
+ }
45711
+ });
45712
+ saveIndexSelection.clear();
45713
+ }
45714
+ });
45715
+ };
45527
45716
  vue.onMounted(async () => {
45528
45717
  await vue.nextTick();
45529
45718
  await vue.nextTick();
45530
45719
  const { prop, order } = props.defaultSort;
45531
45720
  parent == null ? void 0 : parent.store.commit("sort", { prop, order, init: true });
45721
+ updateFixedColumnStyle();
45532
45722
  });
45533
45723
  const {
45534
45724
  handleHeaderClick,
@@ -45569,7 +45759,11 @@
45569
45759
  handleSortClick,
45570
45760
  handleFilterClick,
45571
45761
  isGroup,
45572
- toggleAllSelection
45762
+ toggleAllSelection,
45763
+ saveIndexSelection,
45764
+ isTableLayoutAuto,
45765
+ theadRef,
45766
+ updateFixedColumnStyle
45573
45767
  };
45574
45768
  },
45575
45769
  render() {
@@ -45588,10 +45782,13 @@
45588
45782
  handleSortClick,
45589
45783
  handleMouseOut,
45590
45784
  store,
45591
- $parent
45785
+ $parent,
45786
+ saveIndexSelection,
45787
+ isTableLayoutAuto
45592
45788
  } = this;
45593
45789
  let rowSpan = 1;
45594
45790
  return vue.h("thead", {
45791
+ ref: "theadRef",
45595
45792
  class: { [ns.is("group")]: isGroup }
45596
45793
  }, columnRows.map((subColumns, rowIndex) => vue.h("tr", {
45597
45794
  class: getHeaderRowClass(rowIndex),
@@ -45601,8 +45798,12 @@
45601
45798
  if (column.rowSpan > rowSpan) {
45602
45799
  rowSpan = column.rowSpan;
45603
45800
  }
45801
+ const _class = getHeaderCellClass(rowIndex, cellIndex, subColumns, column);
45802
+ if (isTableLayoutAuto && column.fixed) {
45803
+ saveIndexSelection.set(_class, column);
45804
+ }
45604
45805
  return vue.h("th", {
45605
- class: getHeaderCellClass(rowIndex, cellIndex, subColumns, column),
45806
+ class: _class,
45606
45807
  colspan: column.colSpan,
45607
45808
  key: `${column.id}-thead`,
45608
45809
  rowspan: column.rowSpan,
@@ -46647,19 +46848,6 @@
46647
46848
  height
46648
46849
  };
46649
46850
  });
46650
- const tableInnerStyle = vue.computed(() => {
46651
- if (props.height) {
46652
- return {
46653
- height: !Number.isNaN(Number(props.height)) ? `${props.height}px` : props.height
46654
- };
46655
- }
46656
- if (props.maxHeight) {
46657
- return {
46658
- maxHeight: !Number.isNaN(Number(props.maxHeight)) ? `${props.maxHeight}px` : props.maxHeight
46659
- };
46660
- }
46661
- return {};
46662
- });
46663
46851
  const scrollbarStyle = vue.computed(() => {
46664
46852
  if (props.height) {
46665
46853
  return {
@@ -46711,7 +46899,6 @@
46711
46899
  tableBodyStyles,
46712
46900
  tableLayout,
46713
46901
  scrollbarViewStyle,
46714
- tableInnerStyle,
46715
46902
  scrollbarStyle
46716
46903
  };
46717
46904
  }
@@ -46948,7 +47135,6 @@
46948
47135
  tableBodyStyles,
46949
47136
  tableLayout,
46950
47137
  scrollbarViewStyle,
46951
- tableInnerStyle,
46952
47138
  scrollbarStyle
46953
47139
  } = useStyle(props, layout, store, table);
46954
47140
  const { scrollBarRef, scrollTo, setScrollLeft, setScrollTop } = useScrollbar$1();
@@ -47014,7 +47200,6 @@
47014
47200
  computedEmptyText,
47015
47201
  tableLayout,
47016
47202
  scrollbarViewStyle,
47017
- tableInnerStyle,
47018
47203
  scrollbarStyle,
47019
47204
  scrollBarRef,
47020
47205
  scrollTo,
@@ -47056,8 +47241,7 @@
47056
47241
  onMouseleave: _ctx.handleMouseLeave
47057
47242
  }, [
47058
47243
  vue.createElementVNode("div", {
47059
- class: vue.normalizeClass(_ctx.ns.e("inner-wrapper")),
47060
- style: vue.normalizeStyle(_ctx.tableInnerStyle)
47244
+ class: vue.normalizeClass(_ctx.ns.e("inner-wrapper"))
47061
47245
  }, [
47062
47246
  vue.createElementVNode("div", {
47063
47247
  ref: "hiddenColumns",
@@ -47208,7 +47392,7 @@
47208
47392
  key: 2,
47209
47393
  class: vue.normalizeClass(_ctx.ns.e("border-left-patch"))
47210
47394
  }, null, 2)) : vue.createCommentVNode("v-if", true)
47211
- ], 6),
47395
+ ], 2),
47212
47396
  vue.withDirectives(vue.createElementVNode("div", {
47213
47397
  ref: "resizeProxy",
47214
47398
  class: vue.normalizeClass(_ctx.ns.e("column-resize-proxy"))
@@ -50210,31 +50394,27 @@
50210
50394
  }
50211
50395
  }
50212
50396
  };
50213
- const changeTab = (e) => {
50214
- const code = e.code;
50215
- const {
50216
- up,
50217
- down,
50218
- left,
50219
- right
50220
- } = EVENT_CODE;
50221
- if (![up, down, left, right].includes(code))
50222
- return;
50223
- const tabList = Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));
50224
- const currentIndex = tabList.indexOf(e.target);
50225
- let nextIndex;
50226
- if (code === left || code === up) {
50227
- if (currentIndex === 0) {
50228
- nextIndex = tabList.length - 1;
50229
- } else {
50230
- nextIndex = currentIndex - 1;
50231
- }
50232
- } else {
50233
- if (currentIndex < tabList.length - 1) {
50234
- nextIndex = currentIndex + 1;
50235
- } else {
50236
- nextIndex = 0;
50237
- }
50397
+ const changeTab = (event) => {
50398
+ let step = 0;
50399
+ switch (event.code) {
50400
+ case EVENT_CODE.left:
50401
+ case EVENT_CODE.up:
50402
+ step = -1;
50403
+ break;
50404
+ case EVENT_CODE.right:
50405
+ case EVENT_CODE.down:
50406
+ step = 1;
50407
+ break;
50408
+ default:
50409
+ return;
50410
+ }
50411
+ const tabList = Array.from(event.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));
50412
+ const currentIndex = tabList.indexOf(event.target);
50413
+ let nextIndex = currentIndex + step;
50414
+ if (nextIndex < 0) {
50415
+ nextIndex = tabList.length - 1;
50416
+ } else if (nextIndex >= tabList.length) {
50417
+ nextIndex = 0;
50238
50418
  }
50239
50419
  tabList[nextIndex].focus({
50240
50420
  preventScroll: true
@@ -50452,7 +50632,7 @@
50452
50632
  "tabindex": "0",
50453
50633
  "onClick": handleTabAdd,
50454
50634
  "onKeydown": (ev) => {
50455
- if (ev.code === EVENT_CODE.enter)
50635
+ if ([EVENT_CODE.enter, EVENT_CODE.numpadEnter].includes(ev.code))
50456
50636
  handleTabAdd();
50457
50637
  }
50458
50638
  }, [addSlot ? vue.renderSlot(slots, "add-icon") : vue.createVNode(ElIcon, {
@@ -53389,7 +53569,7 @@
53389
53569
  currentItem.click();
53390
53570
  }
53391
53571
  const hasInput = currentItem.querySelector('[type="checkbox"]');
53392
- if ([EVENT_CODE.enter, EVENT_CODE.space].includes(code) && hasInput) {
53572
+ if ([EVENT_CODE.enter, EVENT_CODE.numpadEnter, EVENT_CODE.space].includes(code) && hasInput) {
53393
53573
  ev.preventDefault();
53394
53574
  hasInput.click();
53395
53575
  }
@@ -57498,6 +57678,7 @@
57498
57678
  const selectedItemInput = segmentedRef.value.querySelector(".is-selected input");
57499
57679
  if (!selectedItem || !selectedItemInput) {
57500
57680
  state.width = 0;
57681
+ state.height = 0;
57501
57682
  state.translateX = 0;
57502
57683
  state.translateY = 0;
57503
57684
  state.focusVisible = false;
@@ -57933,12 +58114,12 @@
57933
58114
  ref_for: true,
57934
58115
  ref_key: "optionRefs",
57935
58116
  ref: optionRefs,
57936
- key: item.value,
58117
+ key: index,
57937
58118
  class: vue.normalizeClass(optionkls(item, index)),
57938
58119
  role: "option",
57939
58120
  "aria-disabled": item.disabled || _ctx.disabled || void 0,
57940
58121
  "aria-selected": hoveringIndex.value === index,
57941
- onMouseenter: ($event) => handleMouseEnter(index),
58122
+ onMousemove: ($event) => handleMouseEnter(index),
57942
58123
  onClick: vue.withModifiers(($event) => handleSelect(item), ["stop"])
57943
58124
  }, [
57944
58125
  vue.renderSlot(_ctx.$slots, "label", {
@@ -57950,7 +58131,7 @@
57950
58131
  vue.createElementVNode("span", null, vue.toDisplayString((_a = item.label) != null ? _a : item.value), 1)
57951
58132
  ];
57952
58133
  })
57953
- ], 42, ["id", "aria-disabled", "aria-selected", "onMouseenter", "onClick"]);
58134
+ ], 42, ["id", "aria-disabled", "aria-selected", "onMousemove", "onClick"]);
57954
58135
  }), 128))
57955
58136
  ]),
57956
58137
  _: 3
@@ -58016,55 +58197,60 @@
58016
58197
  emit("update:modelValue", value);
58017
58198
  syncAfterCursorMove();
58018
58199
  };
58019
- const handleInputKeyDown = (e) => {
58200
+ const handleInputKeyDown = (event) => {
58020
58201
  var _a, _b, _c, _d;
58021
- if (!("key" in e))
58022
- return;
58023
- if ((_a = elInputRef.value) == null ? void 0 : _a.isComposing)
58202
+ if (!("code" in event) || ((_a = elInputRef.value) == null ? void 0 : _a.isComposing))
58024
58203
  return;
58025
- if (["ArrowLeft", "ArrowRight"].includes(e.key)) {
58026
- syncAfterCursorMove();
58027
- } else if (["ArrowUp", "ArrowDown"].includes(e.key)) {
58028
- if (!visible.value)
58029
- return;
58030
- e.preventDefault();
58031
- const direction = e.key === "ArrowUp" ? "prev" : "next";
58032
- (_b = dropdownRef.value) == null ? void 0 : _b.navigateOptions(direction);
58033
- } else if (["Enter"].includes(e.key)) {
58034
- if (!visible.value)
58035
- return;
58036
- e.preventDefault();
58037
- if ((_c = dropdownRef.value) == null ? void 0 : _c.hoverOption) {
58038
- (_d = dropdownRef.value) == null ? void 0 : _d.selectHoverOption();
58039
- } else {
58040
- visible.value = false;
58041
- }
58042
- } else if (["Escape"].includes(e.key)) {
58043
- if (!visible.value)
58044
- return;
58045
- e.preventDefault();
58046
- visible.value = false;
58047
- } else if (["Backspace"].includes(e.key)) {
58048
- if (props.whole && mentionCtx.value) {
58049
- const { splitIndex, selectionEnd, pattern, prefixIndex, prefix } = mentionCtx.value;
58050
- const inputEl = getInputEl();
58051
- if (!inputEl)
58204
+ switch (event.code) {
58205
+ case EVENT_CODE.left:
58206
+ case EVENT_CODE.right:
58207
+ syncAfterCursorMove();
58208
+ break;
58209
+ case EVENT_CODE.up:
58210
+ case EVENT_CODE.down:
58211
+ if (!visible.value)
58052
58212
  return;
58053
- const inputValue = inputEl.value;
58054
- const matchOption = props.options.find((item) => item.value === pattern);
58055
- const isWhole = isFunction$1(props.checkIsWhole) ? props.checkIsWhole(pattern, prefix) : matchOption;
58056
- if (isWhole && splitIndex !== -1 && splitIndex + 1 === selectionEnd) {
58057
- e.preventDefault();
58058
- const newValue = inputValue.slice(0, prefixIndex) + inputValue.slice(splitIndex + 1);
58059
- emit(UPDATE_MODEL_EVENT, newValue);
58060
- const newSelectionEnd = prefixIndex;
58061
- vue.nextTick(() => {
58062
- inputEl.selectionStart = newSelectionEnd;
58063
- inputEl.selectionEnd = newSelectionEnd;
58064
- syncDropdownVisible();
58065
- });
58213
+ event.preventDefault();
58214
+ (_b = dropdownRef.value) == null ? void 0 : _b.navigateOptions(event.code === EVENT_CODE.up ? "prev" : "next");
58215
+ break;
58216
+ case EVENT_CODE.enter:
58217
+ case EVENT_CODE.numpadEnter:
58218
+ if (!visible.value)
58219
+ return;
58220
+ event.preventDefault();
58221
+ if ((_c = dropdownRef.value) == null ? void 0 : _c.hoverOption) {
58222
+ (_d = dropdownRef.value) == null ? void 0 : _d.selectHoverOption();
58223
+ } else {
58224
+ visible.value = false;
58225
+ }
58226
+ break;
58227
+ case EVENT_CODE.esc:
58228
+ if (!visible.value)
58229
+ return;
58230
+ event.preventDefault();
58231
+ visible.value = false;
58232
+ break;
58233
+ case EVENT_CODE.backspace:
58234
+ if (props.whole && mentionCtx.value) {
58235
+ const { splitIndex, selectionEnd, pattern, prefixIndex, prefix } = mentionCtx.value;
58236
+ const inputEl = getInputEl();
58237
+ if (!inputEl)
58238
+ return;
58239
+ const inputValue = inputEl.value;
58240
+ const matchOption = props.options.find((item) => item.value === pattern);
58241
+ const isWhole = isFunction$1(props.checkIsWhole) ? props.checkIsWhole(pattern, prefix) : matchOption;
58242
+ if (isWhole && splitIndex !== -1 && splitIndex + 1 === selectionEnd) {
58243
+ event.preventDefault();
58244
+ const newValue = inputValue.slice(0, prefixIndex) + inputValue.slice(splitIndex + 1);
58245
+ emit(UPDATE_MODEL_EVENT, newValue);
58246
+ const newSelectionEnd = prefixIndex;
58247
+ vue.nextTick(() => {
58248
+ inputEl.selectionStart = newSelectionEnd;
58249
+ inputEl.selectionEnd = newSelectionEnd;
58250
+ syncDropdownVisible();
58251
+ });
58252
+ }
58066
58253
  }
58067
- }
58068
58254
  }
58069
58255
  };
58070
58256
  const { wrapperRef } = useFocusController(elInputRef, {