element-plus 2.2.9 → 2.2.12

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 (720) hide show
  1. package/README.md +0 -5
  2. package/attributes.json +1 -1
  3. package/dist/index.css +1 -1
  4. package/dist/index.full.js +1038 -928
  5. package/dist/index.full.min.js +16 -16
  6. package/dist/index.full.min.js.map +1 -1
  7. package/dist/index.full.min.mjs +17 -17
  8. package/dist/index.full.min.mjs.map +1 -1
  9. package/dist/index.full.mjs +1641 -1531
  10. package/dist/locale/af.js +1 -1
  11. package/dist/locale/af.min.js +1 -1
  12. package/dist/locale/af.min.mjs +1 -1
  13. package/dist/locale/af.mjs +1 -1
  14. package/dist/locale/ar.js +1 -1
  15. package/dist/locale/ar.min.js +1 -1
  16. package/dist/locale/ar.min.mjs +1 -1
  17. package/dist/locale/ar.mjs +1 -1
  18. package/dist/locale/az.js +1 -1
  19. package/dist/locale/az.min.js +1 -1
  20. package/dist/locale/az.min.mjs +1 -1
  21. package/dist/locale/az.mjs +1 -1
  22. package/dist/locale/bg.js +1 -1
  23. package/dist/locale/bg.min.js +1 -1
  24. package/dist/locale/bg.min.mjs +1 -1
  25. package/dist/locale/bg.mjs +1 -1
  26. package/dist/locale/bn.js +1 -1
  27. package/dist/locale/bn.min.js +1 -1
  28. package/dist/locale/bn.min.mjs +1 -1
  29. package/dist/locale/bn.mjs +1 -1
  30. package/dist/locale/ca.js +1 -1
  31. package/dist/locale/ca.min.js +1 -1
  32. package/dist/locale/ca.min.mjs +1 -1
  33. package/dist/locale/ca.mjs +1 -1
  34. package/dist/locale/cs.js +1 -1
  35. package/dist/locale/cs.min.js +1 -1
  36. package/dist/locale/cs.min.mjs +1 -1
  37. package/dist/locale/cs.mjs +1 -1
  38. package/dist/locale/da.js +1 -1
  39. package/dist/locale/da.min.js +1 -1
  40. package/dist/locale/da.min.mjs +1 -1
  41. package/dist/locale/da.mjs +1 -1
  42. package/dist/locale/de.js +1 -1
  43. package/dist/locale/de.min.js +1 -1
  44. package/dist/locale/de.min.mjs +1 -1
  45. package/dist/locale/de.mjs +1 -1
  46. package/dist/locale/el.js +1 -1
  47. package/dist/locale/el.min.js +1 -1
  48. package/dist/locale/el.min.mjs +1 -1
  49. package/dist/locale/el.mjs +1 -1
  50. package/dist/locale/en.js +1 -1
  51. package/dist/locale/en.min.js +1 -1
  52. package/dist/locale/en.min.mjs +1 -1
  53. package/dist/locale/en.mjs +1 -1
  54. package/dist/locale/eo.js +1 -1
  55. package/dist/locale/eo.min.js +1 -1
  56. package/dist/locale/eo.min.mjs +1 -1
  57. package/dist/locale/eo.mjs +1 -1
  58. package/dist/locale/es.js +1 -1
  59. package/dist/locale/es.min.js +1 -1
  60. package/dist/locale/es.min.mjs +1 -1
  61. package/dist/locale/es.mjs +1 -1
  62. package/dist/locale/et.js +1 -1
  63. package/dist/locale/et.min.js +1 -1
  64. package/dist/locale/et.min.mjs +1 -1
  65. package/dist/locale/et.mjs +1 -1
  66. package/dist/locale/eu.js +1 -1
  67. package/dist/locale/eu.min.js +1 -1
  68. package/dist/locale/eu.min.mjs +1 -1
  69. package/dist/locale/eu.mjs +1 -1
  70. package/dist/locale/fa.js +1 -1
  71. package/dist/locale/fa.min.js +1 -1
  72. package/dist/locale/fa.min.mjs +1 -1
  73. package/dist/locale/fa.mjs +1 -1
  74. package/dist/locale/fi.js +1 -1
  75. package/dist/locale/fi.min.js +1 -1
  76. package/dist/locale/fi.min.mjs +1 -1
  77. package/dist/locale/fi.mjs +1 -1
  78. package/dist/locale/fr.js +1 -1
  79. package/dist/locale/fr.min.js +1 -1
  80. package/dist/locale/fr.min.mjs +1 -1
  81. package/dist/locale/fr.mjs +1 -1
  82. package/dist/locale/he.js +1 -1
  83. package/dist/locale/he.min.js +1 -1
  84. package/dist/locale/he.min.mjs +1 -1
  85. package/dist/locale/he.mjs +1 -1
  86. package/dist/locale/hr.js +1 -1
  87. package/dist/locale/hr.min.js +1 -1
  88. package/dist/locale/hr.min.mjs +1 -1
  89. package/dist/locale/hr.mjs +1 -1
  90. package/dist/locale/hu.js +1 -1
  91. package/dist/locale/hu.min.js +1 -1
  92. package/dist/locale/hu.min.mjs +1 -1
  93. package/dist/locale/hu.mjs +1 -1
  94. package/dist/locale/hy-am.js +1 -1
  95. package/dist/locale/hy-am.min.js +1 -1
  96. package/dist/locale/hy-am.min.mjs +1 -1
  97. package/dist/locale/hy-am.mjs +1 -1
  98. package/dist/locale/id.js +1 -1
  99. package/dist/locale/id.min.js +1 -1
  100. package/dist/locale/id.min.mjs +1 -1
  101. package/dist/locale/id.mjs +1 -1
  102. package/dist/locale/it.js +1 -1
  103. package/dist/locale/it.min.js +1 -1
  104. package/dist/locale/it.min.mjs +1 -1
  105. package/dist/locale/it.mjs +1 -1
  106. package/dist/locale/ja.js +1 -1
  107. package/dist/locale/ja.min.js +1 -1
  108. package/dist/locale/ja.min.mjs +1 -1
  109. package/dist/locale/ja.mjs +1 -1
  110. package/dist/locale/kk.js +1 -1
  111. package/dist/locale/kk.min.js +1 -1
  112. package/dist/locale/kk.min.mjs +1 -1
  113. package/dist/locale/kk.mjs +1 -1
  114. package/dist/locale/km.js +1 -1
  115. package/dist/locale/km.min.js +1 -1
  116. package/dist/locale/km.min.mjs +1 -1
  117. package/dist/locale/km.mjs +1 -1
  118. package/dist/locale/ko.js +29 -4
  119. package/dist/locale/ko.min.js +1 -1
  120. package/dist/locale/ko.min.js.map +1 -1
  121. package/dist/locale/ko.min.mjs +1 -1
  122. package/dist/locale/ko.min.mjs.map +1 -1
  123. package/dist/locale/ko.mjs +29 -4
  124. package/dist/locale/ku.js +1 -1
  125. package/dist/locale/ku.min.js +1 -1
  126. package/dist/locale/ku.min.mjs +1 -1
  127. package/dist/locale/ku.mjs +1 -1
  128. package/dist/locale/ky.js +1 -1
  129. package/dist/locale/ky.min.js +1 -1
  130. package/dist/locale/ky.min.mjs +1 -1
  131. package/dist/locale/ky.mjs +1 -1
  132. package/dist/locale/lt.js +1 -1
  133. package/dist/locale/lt.min.js +1 -1
  134. package/dist/locale/lt.min.mjs +1 -1
  135. package/dist/locale/lt.mjs +1 -1
  136. package/dist/locale/lv.js +1 -1
  137. package/dist/locale/lv.min.js +1 -1
  138. package/dist/locale/lv.min.mjs +1 -1
  139. package/dist/locale/lv.mjs +1 -1
  140. package/dist/locale/mg.js +1 -1
  141. package/dist/locale/mg.min.js +1 -1
  142. package/dist/locale/mg.min.mjs +1 -1
  143. package/dist/locale/mg.mjs +1 -1
  144. package/dist/locale/mn.js +1 -1
  145. package/dist/locale/mn.min.js +1 -1
  146. package/dist/locale/mn.min.mjs +1 -1
  147. package/dist/locale/mn.mjs +1 -1
  148. package/dist/locale/nb-no.js +1 -1
  149. package/dist/locale/nb-no.min.js +1 -1
  150. package/dist/locale/nb-no.min.mjs +1 -1
  151. package/dist/locale/nb-no.mjs +1 -1
  152. package/dist/locale/nl.js +1 -1
  153. package/dist/locale/nl.min.js +1 -1
  154. package/dist/locale/nl.min.mjs +1 -1
  155. package/dist/locale/nl.mjs +1 -1
  156. package/dist/locale/pa.js +1 -1
  157. package/dist/locale/pa.min.js +1 -1
  158. package/dist/locale/pa.min.mjs +1 -1
  159. package/dist/locale/pa.mjs +1 -1
  160. package/dist/locale/pl.js +1 -1
  161. package/dist/locale/pl.min.js +1 -1
  162. package/dist/locale/pl.min.mjs +1 -1
  163. package/dist/locale/pl.mjs +1 -1
  164. package/dist/locale/pt-br.js +1 -1
  165. package/dist/locale/pt-br.min.js +1 -1
  166. package/dist/locale/pt-br.min.mjs +1 -1
  167. package/dist/locale/pt-br.mjs +1 -1
  168. package/dist/locale/pt.js +1 -1
  169. package/dist/locale/pt.min.js +1 -1
  170. package/dist/locale/pt.min.mjs +1 -1
  171. package/dist/locale/pt.mjs +1 -1
  172. package/dist/locale/ro.js +1 -1
  173. package/dist/locale/ro.min.js +1 -1
  174. package/dist/locale/ro.min.mjs +1 -1
  175. package/dist/locale/ro.mjs +1 -1
  176. package/dist/locale/ru.js +1 -1
  177. package/dist/locale/ru.min.js +1 -1
  178. package/dist/locale/ru.min.mjs +1 -1
  179. package/dist/locale/ru.mjs +1 -1
  180. package/dist/locale/sk.js +1 -1
  181. package/dist/locale/sk.min.js +1 -1
  182. package/dist/locale/sk.min.mjs +1 -1
  183. package/dist/locale/sk.mjs +1 -1
  184. package/dist/locale/sl.js +1 -1
  185. package/dist/locale/sl.min.js +1 -1
  186. package/dist/locale/sl.min.mjs +1 -1
  187. package/dist/locale/sl.mjs +1 -1
  188. package/dist/locale/sr.js +1 -1
  189. package/dist/locale/sr.min.js +1 -1
  190. package/dist/locale/sr.min.mjs +1 -1
  191. package/dist/locale/sr.mjs +1 -1
  192. package/dist/locale/sv.js +1 -1
  193. package/dist/locale/sv.min.js +1 -1
  194. package/dist/locale/sv.min.mjs +1 -1
  195. package/dist/locale/sv.mjs +1 -1
  196. package/dist/locale/ta.js +1 -1
  197. package/dist/locale/ta.min.js +1 -1
  198. package/dist/locale/ta.min.mjs +1 -1
  199. package/dist/locale/ta.mjs +1 -1
  200. package/dist/locale/th.js +1 -1
  201. package/dist/locale/th.min.js +1 -1
  202. package/dist/locale/th.min.mjs +1 -1
  203. package/dist/locale/th.mjs +1 -1
  204. package/dist/locale/tk.js +1 -1
  205. package/dist/locale/tk.min.js +1 -1
  206. package/dist/locale/tk.min.mjs +1 -1
  207. package/dist/locale/tk.mjs +1 -1
  208. package/dist/locale/tr.js +1 -1
  209. package/dist/locale/tr.min.js +1 -1
  210. package/dist/locale/tr.min.mjs +1 -1
  211. package/dist/locale/tr.mjs +1 -1
  212. package/dist/locale/ug-cn.js +1 -1
  213. package/dist/locale/ug-cn.min.js +1 -1
  214. package/dist/locale/ug-cn.min.mjs +1 -1
  215. package/dist/locale/ug-cn.mjs +1 -1
  216. package/dist/locale/uk.js +1 -1
  217. package/dist/locale/uk.min.js +1 -1
  218. package/dist/locale/uk.min.mjs +1 -1
  219. package/dist/locale/uk.mjs +1 -1
  220. package/dist/locale/uz-uz.js +1 -1
  221. package/dist/locale/uz-uz.min.js +1 -1
  222. package/dist/locale/uz-uz.min.mjs +1 -1
  223. package/dist/locale/uz-uz.mjs +1 -1
  224. package/dist/locale/vi.js +1 -1
  225. package/dist/locale/vi.min.js +1 -1
  226. package/dist/locale/vi.min.mjs +1 -1
  227. package/dist/locale/vi.mjs +1 -1
  228. package/dist/locale/zh-cn.js +1 -1
  229. package/dist/locale/zh-cn.min.js +1 -1
  230. package/dist/locale/zh-cn.min.mjs +1 -1
  231. package/dist/locale/zh-cn.mjs +1 -1
  232. package/dist/locale/zh-tw.js +1 -1
  233. package/dist/locale/zh-tw.min.js +1 -1
  234. package/dist/locale/zh-tw.min.mjs +1 -1
  235. package/dist/locale/zh-tw.mjs +1 -1
  236. package/es/components/carousel/index.d.ts +1 -0
  237. package/es/components/carousel/src/carousel.vue.d.ts +1 -0
  238. package/es/components/carousel/src/carousel2.mjs +8 -0
  239. package/es/components/carousel/src/carousel2.mjs.map +1 -1
  240. package/es/components/cascader/src/index.mjs +10 -10
  241. package/es/components/cascader/src/index.mjs.map +1 -1
  242. package/es/components/cascader-panel/src/index.mjs +1 -1
  243. package/es/components/cascader-panel/src/index.mjs.map +1 -1
  244. package/es/components/checkbox/index.d.ts +4 -4
  245. package/es/components/checkbox/src/checkbox-group.mjs +1 -1
  246. package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
  247. package/es/components/checkbox/src/checkbox-group.vue.d.ts +10 -9
  248. package/es/components/color-picker/index.d.ts +216 -0
  249. package/es/components/color-picker/src/components/alpha-slider.mjs +10 -6
  250. package/es/components/color-picker/src/components/alpha-slider.mjs.map +1 -1
  251. package/es/components/color-picker/src/components/alpha-slider.vue.d.ts +18 -0
  252. package/es/components/color-picker/src/components/hue-slider.mjs +10 -6
  253. package/es/components/color-picker/src/components/hue-slider.mjs.map +1 -1
  254. package/es/components/color-picker/src/components/hue-slider.vue.d.ts +18 -0
  255. package/es/components/color-picker/src/components/predefine.mjs +21 -11
  256. package/es/components/color-picker/src/components/predefine.mjs.map +1 -1
  257. package/es/components/color-picker/src/components/predefine.vue.d.ts +18 -0
  258. package/es/components/color-picker/src/components/sv-panel.mjs +19 -13
  259. package/es/components/color-picker/src/components/sv-panel.mjs.map +1 -1
  260. package/es/components/color-picker/src/components/sv-panel.vue.d.ts +18 -0
  261. package/es/components/color-picker/src/draggable.mjs +10 -12
  262. package/es/components/color-picker/src/draggable.mjs.map +1 -1
  263. package/es/components/color-picker/src/index.mjs +0 -1
  264. package/es/components/color-picker/src/index.mjs.map +1 -1
  265. package/es/components/color-picker/src/index.vue.d.ts +108 -0
  266. package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs +21 -8
  267. package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs.map +1 -1
  268. package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +5 -2
  269. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +5 -2
  270. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +5 -2
  271. package/es/components/date-picker/src/panel-utils.d.ts +10 -4
  272. package/es/components/descriptions/index.d.ts +82 -54
  273. package/es/components/descriptions/index.mjs +2 -1
  274. package/es/components/descriptions/index.mjs.map +1 -1
  275. package/es/components/descriptions/src/description.d.ts +15 -0
  276. package/es/components/descriptions/src/description.mjs +32 -0
  277. package/es/components/descriptions/src/description.mjs.map +1 -0
  278. package/es/components/descriptions/src/description.vue.d.ts +106 -0
  279. package/es/components/descriptions/src/description2.mjs +127 -0
  280. package/es/components/descriptions/src/description2.mjs.map +1 -0
  281. package/es/components/descriptions/src/descriptions-cell.mjs +4 -4
  282. package/es/components/descriptions/src/descriptions-cell.mjs.map +1 -1
  283. package/es/components/descriptions/src/descriptions-row.d.ts +3 -0
  284. package/es/components/descriptions/src/descriptions-row.mjs +7 -71
  285. package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
  286. package/es/components/descriptions/src/descriptions-row.vue.d.ts +28 -7
  287. package/es/components/descriptions/src/descriptions-row2.mjs +69 -0
  288. package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -0
  289. package/es/components/descriptions/src/token.d.ts +1 -1
  290. package/es/components/descriptions/src/token.mjs +2 -2
  291. package/es/components/descriptions/src/token.mjs.map +1 -1
  292. package/es/components/dialog/src/use-dialog.mjs.map +1 -1
  293. package/es/components/dropdown/src/useDropdown.mjs +3 -3
  294. package/es/components/dropdown/src/useDropdown.mjs.map +1 -1
  295. package/es/components/dropdown/style/css.d.ts +2 -1
  296. package/es/components/dropdown/style/css.mjs +2 -1
  297. package/es/components/dropdown/style/css.mjs.map +1 -1
  298. package/es/components/dropdown/style/index.d.ts +2 -1
  299. package/es/components/dropdown/style/index.mjs +2 -1
  300. package/es/components/dropdown/style/index.mjs.map +1 -1
  301. package/es/components/form/src/form-item2.mjs +1 -1
  302. package/es/components/form/src/form-item2.mjs.map +1 -1
  303. package/es/components/image/index.d.ts +4 -1
  304. package/es/components/image/src/image.d.ts +1 -0
  305. package/es/components/image/src/image.mjs +2 -1
  306. package/es/components/image/src/image.mjs.map +1 -1
  307. package/es/components/image/src/image.vue.d.ts +4 -1
  308. package/es/components/image/src/image2.mjs +1 -0
  309. package/es/components/image/src/image2.mjs.map +1 -1
  310. package/es/components/index.mjs +1 -0
  311. package/es/components/index.mjs.map +1 -1
  312. package/es/components/input-number/src/input-number2.mjs +3 -3
  313. package/es/components/menu/src/menu.mjs +12 -10
  314. package/es/components/menu/src/menu.mjs.map +1 -1
  315. package/es/components/message/src/method.mjs +3 -1
  316. package/es/components/message/src/method.mjs.map +1 -1
  317. package/es/components/message/style/css.d.ts +1 -0
  318. package/es/components/message/style/css.mjs +1 -0
  319. package/es/components/message/style/css.mjs.map +1 -1
  320. package/es/components/message/style/index.d.ts +1 -0
  321. package/es/components/message/style/index.mjs +1 -0
  322. package/es/components/message/style/index.mjs.map +1 -1
  323. package/es/components/message-box/src/index.mjs +2 -3
  324. package/es/components/message-box/src/index.mjs.map +1 -1
  325. package/es/components/notification/src/notify.mjs +1 -1
  326. package/es/components/notification/src/notify.mjs.map +1 -1
  327. package/es/components/popconfirm/index.d.ts +0 -1
  328. package/es/components/popconfirm/src/popconfirm.vue.d.ts +0 -1
  329. package/es/components/popconfirm/src/popconfirm2.mjs +2 -5
  330. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  331. package/es/components/popover/index.d.ts +20 -0
  332. package/es/components/popover/src/popover.d.ts +11 -5
  333. package/es/components/popover/src/popover.mjs +3 -0
  334. package/es/components/popover/src/popover.mjs.map +1 -1
  335. package/es/components/popover/src/popover.vue.d.ts +20 -0
  336. package/es/components/popover/src/popover2.mjs +7 -2
  337. package/es/components/popover/src/popover2.mjs.map +1 -1
  338. package/es/components/popper/src/content2.mjs +4 -4
  339. package/es/components/popper/src/content2.mjs.map +1 -1
  340. package/es/components/rate/src/rate2.mjs +2 -1
  341. package/es/components/rate/src/rate2.mjs.map +1 -1
  342. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +4 -10
  343. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs.map +1 -1
  344. package/es/components/scrollbar/src/scrollbar2.mjs +3 -1
  345. package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
  346. package/es/components/select/src/option.mjs +4 -4
  347. package/es/components/select/src/option.mjs.map +1 -1
  348. package/es/components/select/src/select.mjs +3 -4
  349. package/es/components/select/src/select.mjs.map +1 -1
  350. package/es/components/select/src/useSelect.mjs +0 -2
  351. package/es/components/select/src/useSelect.mjs.map +1 -1
  352. package/es/components/select-v2/src/select.mjs +4 -5
  353. package/es/components/select-v2/src/select.mjs.map +1 -1
  354. package/es/components/select-v2/src/useSelect.mjs +2 -1
  355. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  356. package/es/components/slider/index.d.ts +5 -0
  357. package/es/components/slider/src/button.vue.d.ts +1 -0
  358. package/es/components/slider/src/button2.mjs +12 -11
  359. package/es/components/slider/src/button2.mjs.map +1 -1
  360. package/es/components/slider/src/composables/use-slide.d.ts +4 -0
  361. package/es/components/slider/src/composables/use-slider-button.d.ts +1 -0
  362. package/es/components/slider/src/composables/use-slider-button.mjs +4 -1
  363. package/es/components/slider/src/composables/use-slider-button.mjs.map +1 -1
  364. package/es/components/slider/src/marker.mjs +1 -1
  365. package/es/components/slider/src/marker.mjs.map +1 -1
  366. package/es/components/slider/src/slider.vue.d.ts +5 -0
  367. package/es/components/space/src/space.mjs +33 -25
  368. package/es/components/space/src/space.mjs.map +1 -1
  369. package/es/components/steps/src/item2.mjs +1 -1
  370. package/es/components/steps/src/item2.mjs.map +1 -1
  371. package/es/components/table/index.d.ts +23 -33
  372. package/es/components/table/src/filter-panel.mjs +0 -1
  373. package/es/components/table/src/filter-panel.mjs.map +1 -1
  374. package/es/components/table/src/table/defaults.d.ts +2 -2
  375. package/es/components/table/src/table/defaults.mjs +1 -3
  376. package/es/components/table/src/table/defaults.mjs.map +1 -1
  377. package/es/components/table/src/table/style-helper.d.ts +21 -31
  378. package/es/components/table/src/table/style-helper.mjs +73 -97
  379. package/es/components/table/src/table/style-helper.mjs.map +1 -1
  380. package/es/components/table/src/table-header/event-helper.mjs +5 -9
  381. package/es/components/table/src/table-header/event-helper.mjs.map +1 -1
  382. package/es/components/table/src/table-layout.d.ts +1 -5
  383. package/es/components/table/src/table-layout.mjs +3 -52
  384. package/es/components/table/src/table-layout.mjs.map +1 -1
  385. package/es/components/table/src/table.mjs +30 -34
  386. package/es/components/table/src/table.mjs.map +1 -1
  387. package/es/components/table/src/table.vue.d.ts +23 -33
  388. package/es/components/table/src/util.d.ts +1 -1
  389. package/es/components/table/src/util.mjs +8 -19
  390. package/es/components/table/src/util.mjs.map +1 -1
  391. package/es/components/table-v2/index.d.ts +1 -1
  392. package/es/components/table-v2/src/components/header.d.ts +1 -1
  393. package/es/components/table-v2/src/table-grid.d.ts +1 -1
  394. package/es/components/table-v2/src/table-v2.d.ts +1 -1
  395. package/es/components/tabs/src/tab-nav.mjs +5 -4
  396. package/es/components/tabs/src/tab-nav.mjs.map +1 -1
  397. package/es/components/time-picker/src/common/picker.mjs +6 -6
  398. package/es/components/time-picker/src/common/picker.mjs.map +1 -1
  399. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +3 -3
  400. package/es/components/tooltip/src/tooltip2.mjs +2 -2
  401. package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
  402. package/es/components/transfer/index.d.ts +23 -35
  403. package/es/components/transfer/src/transfer-panel.vue.d.ts +4 -4
  404. package/es/components/transfer/src/transfer.d.ts +2 -1
  405. package/es/components/transfer/src/transfer.mjs.map +1 -1
  406. package/es/components/transfer/src/transfer.vue.d.ts +68 -81
  407. package/es/components/tree/src/model/useDragNode.mjs.map +1 -1
  408. package/es/components/tree/src/model/useKeydown.mjs +3 -7
  409. package/es/components/tree/src/model/useKeydown.mjs.map +1 -1
  410. package/es/components/tree/src/tree.type.d.ts +3 -2
  411. package/es/components/upload/src/use-handlers.mjs +1 -1
  412. package/es/components/upload/src/use-handlers.mjs.map +1 -1
  413. package/es/components/virtual-list/src/builders/build-grid.mjs +1 -1
  414. package/es/components/virtual-list/src/builders/build-grid.mjs.map +1 -1
  415. package/es/components/virtual-list/src/components/dynamic-size-grid.mjs +1 -1
  416. package/es/components/virtual-list/src/components/dynamic-size-grid.mjs.map +1 -1
  417. package/es/directives/click-outside/index.mjs.map +1 -1
  418. package/es/directives/index.d.ts +0 -1
  419. package/es/directives/index.mjs +0 -1
  420. package/es/directives/index.mjs.map +1 -1
  421. package/es/directives/mousewheel/index.mjs.map +1 -1
  422. package/es/directives/repeat-click/index.d.ts +2 -2
  423. package/es/directives/repeat-click/index.mjs +13 -13
  424. package/es/directives/repeat-click/index.mjs.map +1 -1
  425. package/es/directives/trap-focus/index.d.ts +1 -1
  426. package/es/directives/trap-focus/index.mjs +2 -3
  427. package/es/directives/trap-focus/index.mjs.map +1 -1
  428. package/es/hooks/use-escape-keydown/index.mjs +6 -6
  429. package/es/hooks/use-escape-keydown/index.mjs.map +1 -1
  430. package/es/hooks/use-floating/index.d.ts +1 -1
  431. package/es/hooks/use-floating/index.mjs.map +1 -1
  432. package/es/hooks/use-lockscreen/index.mjs +9 -5
  433. package/es/hooks/use-lockscreen/index.mjs.map +1 -1
  434. package/es/hooks/use-model-toggle/index.d.ts +2 -0
  435. package/es/hooks/use-model-toggle/index.mjs +2 -1
  436. package/es/hooks/use-model-toggle/index.mjs.map +1 -1
  437. package/es/hooks/use-namespace/index.mjs +6 -2
  438. package/es/hooks/use-namespace/index.mjs.map +1 -1
  439. package/es/index.mjs +1 -1
  440. package/es/locale/lang/ko.d.ts +25 -0
  441. package/es/locale/lang/ko.mjs +28 -3
  442. package/es/locale/lang/ko.mjs.map +1 -1
  443. package/es/make-installer.mjs.map +1 -1
  444. package/es/utils/dom/aria.d.ts +2 -3
  445. package/es/utils/dom/aria.mjs.map +1 -1
  446. package/es/utils/dom/event.d.ts +0 -6
  447. package/es/utils/dom/event.mjs +1 -20
  448. package/es/utils/dom/event.mjs.map +1 -1
  449. package/es/utils/dom/index.mjs +1 -1
  450. package/es/utils/dom/scroll.d.ts +1 -1
  451. package/es/utils/dom/scroll.mjs +2 -2
  452. package/es/utils/dom/scroll.mjs.map +1 -1
  453. package/es/utils/index.mjs +1 -1
  454. package/es/version.d.ts +1 -1
  455. package/es/version.mjs +1 -1
  456. package/es/version.mjs.map +1 -1
  457. package/lib/components/carousel/index.d.ts +1 -0
  458. package/lib/components/carousel/src/carousel.vue.d.ts +1 -0
  459. package/lib/components/carousel/src/carousel2.js +8 -0
  460. package/lib/components/carousel/src/carousel2.js.map +1 -1
  461. package/lib/components/cascader/src/index.js +10 -10
  462. package/lib/components/cascader/src/index.js.map +1 -1
  463. package/lib/components/cascader-panel/src/index.js +1 -1
  464. package/lib/components/cascader-panel/src/index.js.map +1 -1
  465. package/lib/components/checkbox/index.d.ts +4 -4
  466. package/lib/components/checkbox/src/checkbox-group.js +1 -1
  467. package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
  468. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +10 -9
  469. package/lib/components/color-picker/index.d.ts +216 -0
  470. package/lib/components/color-picker/src/components/alpha-slider.js +10 -6
  471. package/lib/components/color-picker/src/components/alpha-slider.js.map +1 -1
  472. package/lib/components/color-picker/src/components/alpha-slider.vue.d.ts +18 -0
  473. package/lib/components/color-picker/src/components/hue-slider.js +10 -6
  474. package/lib/components/color-picker/src/components/hue-slider.js.map +1 -1
  475. package/lib/components/color-picker/src/components/hue-slider.vue.d.ts +18 -0
  476. package/lib/components/color-picker/src/components/predefine.js +20 -10
  477. package/lib/components/color-picker/src/components/predefine.js.map +1 -1
  478. package/lib/components/color-picker/src/components/predefine.vue.d.ts +18 -0
  479. package/lib/components/color-picker/src/components/sv-panel.js +18 -12
  480. package/lib/components/color-picker/src/components/sv-panel.js.map +1 -1
  481. package/lib/components/color-picker/src/components/sv-panel.vue.d.ts +18 -0
  482. package/lib/components/color-picker/src/draggable.js +15 -17
  483. package/lib/components/color-picker/src/draggable.js.map +1 -1
  484. package/lib/components/color-picker/src/index.js +0 -1
  485. package/lib/components/color-picker/src/index.js.map +1 -1
  486. package/lib/components/color-picker/src/index.vue.d.ts +108 -0
  487. package/lib/components/date-picker/src/date-picker-com/basic-date-table.js +21 -8
  488. package/lib/components/date-picker/src/date-picker-com/basic-date-table.js.map +1 -1
  489. package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +5 -2
  490. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +5 -2
  491. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +5 -2
  492. package/lib/components/date-picker/src/panel-utils.d.ts +10 -4
  493. package/lib/components/descriptions/index.d.ts +82 -54
  494. package/lib/components/descriptions/index.js +4 -2
  495. package/lib/components/descriptions/index.js.map +1 -1
  496. package/lib/components/descriptions/src/description.d.ts +15 -0
  497. package/lib/components/descriptions/src/description.js +36 -0
  498. package/lib/components/descriptions/src/description.js.map +1 -0
  499. package/lib/components/descriptions/src/description.vue.d.ts +106 -0
  500. package/lib/components/descriptions/src/description2.js +131 -0
  501. package/lib/components/descriptions/src/description2.js.map +1 -0
  502. package/lib/components/descriptions/src/descriptions-cell.js +3 -3
  503. package/lib/components/descriptions/src/descriptions-cell.js.map +1 -1
  504. package/lib/components/descriptions/src/descriptions-row.d.ts +3 -0
  505. package/lib/components/descriptions/src/descriptions-row.js +7 -71
  506. package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
  507. package/lib/components/descriptions/src/descriptions-row.vue.d.ts +28 -7
  508. package/lib/components/descriptions/src/descriptions-row2.js +73 -0
  509. package/lib/components/descriptions/src/descriptions-row2.js.map +1 -0
  510. package/lib/components/descriptions/src/token.d.ts +1 -1
  511. package/lib/components/descriptions/src/token.js +2 -2
  512. package/lib/components/descriptions/src/token.js.map +1 -1
  513. package/lib/components/dialog/src/use-dialog.js.map +1 -1
  514. package/lib/components/dropdown/src/useDropdown.js +3 -3
  515. package/lib/components/dropdown/src/useDropdown.js.map +1 -1
  516. package/lib/components/dropdown/style/css.d.ts +2 -1
  517. package/lib/components/dropdown/style/css.js +2 -1
  518. package/lib/components/dropdown/style/css.js.map +1 -1
  519. package/lib/components/dropdown/style/index.d.ts +2 -1
  520. package/lib/components/dropdown/style/index.js +2 -1
  521. package/lib/components/dropdown/style/index.js.map +1 -1
  522. package/lib/components/form/src/form-item2.js +1 -1
  523. package/lib/components/form/src/form-item2.js.map +1 -1
  524. package/lib/components/image/index.d.ts +4 -1
  525. package/lib/components/image/src/image.d.ts +1 -0
  526. package/lib/components/image/src/image.js +2 -1
  527. package/lib/components/image/src/image.js.map +1 -1
  528. package/lib/components/image/src/image.vue.d.ts +4 -1
  529. package/lib/components/image/src/image2.js +1 -0
  530. package/lib/components/image/src/image2.js.map +1 -1
  531. package/lib/components/index.js +2 -0
  532. package/lib/components/index.js.map +1 -1
  533. package/lib/components/menu/src/menu.js +13 -11
  534. package/lib/components/menu/src/menu.js.map +1 -1
  535. package/lib/components/message/src/method.js +3 -1
  536. package/lib/components/message/src/method.js.map +1 -1
  537. package/lib/components/message/style/css.d.ts +1 -0
  538. package/lib/components/message/style/css.js +1 -0
  539. package/lib/components/message/style/css.js.map +1 -1
  540. package/lib/components/message/style/index.d.ts +1 -0
  541. package/lib/components/message/style/index.js +1 -0
  542. package/lib/components/message/style/index.js.map +1 -1
  543. package/lib/components/message-box/src/index.js +2 -3
  544. package/lib/components/message-box/src/index.js.map +1 -1
  545. package/lib/components/notification/src/notify.js +1 -1
  546. package/lib/components/notification/src/notify.js.map +1 -1
  547. package/lib/components/popconfirm/index.d.ts +0 -1
  548. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +0 -1
  549. package/lib/components/popconfirm/src/popconfirm2.js +2 -5
  550. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  551. package/lib/components/popover/index.d.ts +20 -0
  552. package/lib/components/popover/src/popover.d.ts +11 -5
  553. package/lib/components/popover/src/popover.js +3 -0
  554. package/lib/components/popover/src/popover.js.map +1 -1
  555. package/lib/components/popover/src/popover.vue.d.ts +20 -0
  556. package/lib/components/popover/src/popover2.js +6 -1
  557. package/lib/components/popover/src/popover2.js.map +1 -1
  558. package/lib/components/popper/src/content2.js +4 -4
  559. package/lib/components/popper/src/content2.js.map +1 -1
  560. package/lib/components/rate/src/rate2.js +2 -1
  561. package/lib/components/rate/src/rate2.js.map +1 -1
  562. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +2 -8
  563. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js.map +1 -1
  564. package/lib/components/scrollbar/src/scrollbar2.js +3 -1
  565. package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
  566. package/lib/components/select/src/option.js +4 -4
  567. package/lib/components/select/src/option.js.map +1 -1
  568. package/lib/components/select/src/select.js +3 -4
  569. package/lib/components/select/src/select.js.map +1 -1
  570. package/lib/components/select/src/useSelect.js +0 -2
  571. package/lib/components/select/src/useSelect.js.map +1 -1
  572. package/lib/components/select-v2/src/select.js +4 -5
  573. package/lib/components/select-v2/src/select.js.map +1 -1
  574. package/lib/components/select-v2/src/useSelect.js +2 -1
  575. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  576. package/lib/components/slider/index.d.ts +5 -0
  577. package/lib/components/slider/src/button.vue.d.ts +1 -0
  578. package/lib/components/slider/src/button2.js +11 -10
  579. package/lib/components/slider/src/button2.js.map +1 -1
  580. package/lib/components/slider/src/composables/use-slide.d.ts +4 -0
  581. package/lib/components/slider/src/composables/use-slider-button.d.ts +1 -0
  582. package/lib/components/slider/src/composables/use-slider-button.js +4 -1
  583. package/lib/components/slider/src/composables/use-slider-button.js.map +1 -1
  584. package/lib/components/slider/src/marker.js +1 -1
  585. package/lib/components/slider/src/marker.js.map +1 -1
  586. package/lib/components/slider/src/slider.vue.d.ts +5 -0
  587. package/lib/components/space/src/space.js +32 -24
  588. package/lib/components/space/src/space.js.map +1 -1
  589. package/lib/components/steps/src/item2.js +1 -1
  590. package/lib/components/steps/src/item2.js.map +1 -1
  591. package/lib/components/table/index.d.ts +23 -33
  592. package/lib/components/table/src/filter-panel.js +0 -1
  593. package/lib/components/table/src/filter-panel.js.map +1 -1
  594. package/lib/components/table/src/table/defaults.d.ts +2 -2
  595. package/lib/components/table/src/table/defaults.js +1 -3
  596. package/lib/components/table/src/table/defaults.js.map +1 -1
  597. package/lib/components/table/src/table/style-helper.d.ts +21 -31
  598. package/lib/components/table/src/table/style-helper.js +72 -96
  599. package/lib/components/table/src/table/style-helper.js.map +1 -1
  600. package/lib/components/table/src/table-header/event-helper.js +5 -9
  601. package/lib/components/table/src/table-header/event-helper.js.map +1 -1
  602. package/lib/components/table/src/table-layout.d.ts +1 -5
  603. package/lib/components/table/src/table-layout.js +3 -52
  604. package/lib/components/table/src/table-layout.js.map +1 -1
  605. package/lib/components/table/src/table.js +30 -34
  606. package/lib/components/table/src/table.js.map +1 -1
  607. package/lib/components/table/src/table.vue.d.ts +23 -33
  608. package/lib/components/table/src/util.d.ts +1 -1
  609. package/lib/components/table/src/util.js +8 -19
  610. package/lib/components/table/src/util.js.map +1 -1
  611. package/lib/components/table-v2/index.d.ts +1 -1
  612. package/lib/components/table-v2/src/components/header.d.ts +1 -1
  613. package/lib/components/table-v2/src/table-grid.d.ts +1 -1
  614. package/lib/components/table-v2/src/table-v2.d.ts +1 -1
  615. package/lib/components/tabs/src/tab-nav.js +5 -4
  616. package/lib/components/tabs/src/tab-nav.js.map +1 -1
  617. package/lib/components/time-picker/src/common/picker.js +6 -6
  618. package/lib/components/time-picker/src/common/picker.js.map +1 -1
  619. package/lib/components/tooltip/src/tooltip2.js +2 -2
  620. package/lib/components/tooltip/src/tooltip2.js.map +1 -1
  621. package/lib/components/transfer/index.d.ts +23 -35
  622. package/lib/components/transfer/src/transfer-panel.vue.d.ts +4 -4
  623. package/lib/components/transfer/src/transfer.d.ts +2 -1
  624. package/lib/components/transfer/src/transfer.js.map +1 -1
  625. package/lib/components/transfer/src/transfer.vue.d.ts +68 -81
  626. package/lib/components/tree/src/model/useDragNode.js.map +1 -1
  627. package/lib/components/tree/src/model/useKeydown.js +2 -6
  628. package/lib/components/tree/src/model/useKeydown.js.map +1 -1
  629. package/lib/components/tree/src/tree.type.d.ts +3 -2
  630. package/lib/components/upload/src/use-handlers.js +1 -1
  631. package/lib/components/upload/src/use-handlers.js.map +1 -1
  632. package/lib/components/virtual-list/src/builders/build-grid.js +1 -1
  633. package/lib/components/virtual-list/src/builders/build-grid.js.map +1 -1
  634. package/lib/components/virtual-list/src/components/dynamic-size-grid.js +1 -1
  635. package/lib/components/virtual-list/src/components/dynamic-size-grid.js.map +1 -1
  636. package/lib/directives/click-outside/index.js.map +1 -1
  637. package/lib/directives/index.d.ts +0 -1
  638. package/lib/directives/index.js +0 -2
  639. package/lib/directives/index.js.map +1 -1
  640. package/lib/directives/mousewheel/index.js.map +1 -1
  641. package/lib/directives/repeat-click/index.d.ts +2 -2
  642. package/lib/directives/repeat-click/index.js +13 -13
  643. package/lib/directives/repeat-click/index.js.map +1 -1
  644. package/lib/directives/trap-focus/index.d.ts +1 -1
  645. package/lib/directives/trap-focus/index.js +2 -3
  646. package/lib/directives/trap-focus/index.js.map +1 -1
  647. package/lib/hooks/use-escape-keydown/index.js +6 -6
  648. package/lib/hooks/use-escape-keydown/index.js.map +1 -1
  649. package/lib/hooks/use-floating/index.d.ts +1 -1
  650. package/lib/hooks/use-floating/index.js.map +1 -1
  651. package/lib/hooks/use-lockscreen/index.js +9 -5
  652. package/lib/hooks/use-lockscreen/index.js.map +1 -1
  653. package/lib/hooks/use-model-toggle/index.d.ts +2 -0
  654. package/lib/hooks/use-model-toggle/index.js +2 -1
  655. package/lib/hooks/use-model-toggle/index.js.map +1 -1
  656. package/lib/hooks/use-namespace/index.js +6 -2
  657. package/lib/hooks/use-namespace/index.js.map +1 -1
  658. package/lib/index.js +81 -81
  659. package/lib/locale/lang/ko.d.ts +25 -0
  660. package/lib/locale/lang/ko.js +28 -3
  661. package/lib/locale/lang/ko.js.map +1 -1
  662. package/lib/make-installer.js.map +1 -1
  663. package/lib/utils/dom/aria.d.ts +2 -3
  664. package/lib/utils/dom/aria.js.map +1 -1
  665. package/lib/utils/dom/event.d.ts +0 -6
  666. package/lib/utils/dom/event.js +0 -22
  667. package/lib/utils/dom/event.js.map +1 -1
  668. package/lib/utils/dom/index.js +0 -3
  669. package/lib/utils/dom/index.js.map +1 -1
  670. package/lib/utils/dom/scroll.d.ts +1 -1
  671. package/lib/utils/dom/scroll.js +2 -2
  672. package/lib/utils/dom/scroll.js.map +1 -1
  673. package/lib/utils/index.js +0 -3
  674. package/lib/utils/index.js.map +1 -1
  675. package/lib/version.d.ts +1 -1
  676. package/lib/version.js +1 -1
  677. package/lib/version.js.map +1 -1
  678. package/package.json +3 -3
  679. package/tags.json +1 -1
  680. package/theme-chalk/el-date-picker.css +1 -1
  681. package/theme-chalk/el-menu.css +1 -1
  682. package/theme-chalk/el-message-box.css +1 -1
  683. package/theme-chalk/el-message.css +1 -1
  684. package/theme-chalk/el-rate.css +1 -1
  685. package/theme-chalk/el-select-dropdown-v2.css +1 -1
  686. package/theme-chalk/el-select-dropdown.css +1 -1
  687. package/theme-chalk/el-select-v2.css +1 -1
  688. package/theme-chalk/el-select.css +1 -1
  689. package/theme-chalk/el-slider.css +1 -1
  690. package/theme-chalk/el-table-v2.css +1 -1
  691. package/theme-chalk/el-table.css +1 -1
  692. package/theme-chalk/el-tabs.css +1 -1
  693. package/theme-chalk/el-time-picker.css +1 -1
  694. package/theme-chalk/el-time-select.css +1 -1
  695. package/theme-chalk/index.css +1 -1
  696. package/theme-chalk/src/common/var.scss +1 -2
  697. package/theme-chalk/src/date-picker/picker.scss +4 -5
  698. package/theme-chalk/src/menu.scss +1 -0
  699. package/theme-chalk/src/message-box.scss +3 -1
  700. package/theme-chalk/src/message.scss +4 -4
  701. package/theme-chalk/src/rate.scss +1 -0
  702. package/theme-chalk/src/select-dropdown-v2.scss +3 -3
  703. package/theme-chalk/src/select-dropdown.scss +2 -2
  704. package/theme-chalk/src/slider.scss +2 -0
  705. package/theme-chalk/src/table-v2.scss +3 -0
  706. package/theme-chalk/src/table.scss +7 -1
  707. package/theme-chalk/src/tabs.scss +1 -1
  708. package/web-types.json +1 -1
  709. package/es/components/descriptions/src/index.mjs +0 -160
  710. package/es/components/descriptions/src/index.mjs.map +0 -1
  711. package/es/components/descriptions/src/index.vue.d.ts +0 -80
  712. package/es/directives/resize/index.d.ts +0 -3
  713. package/es/directives/resize/index.mjs +0 -18
  714. package/es/directives/resize/index.mjs.map +0 -1
  715. package/lib/components/descriptions/src/index.js +0 -164
  716. package/lib/components/descriptions/src/index.js.map +0 -1
  717. package/lib/components/descriptions/src/index.vue.d.ts +0 -80
  718. package/lib/directives/resize/index.d.ts +0 -3
  719. package/lib/directives/resize/index.js +0 -22
  720. package/lib/directives/resize/index.js.map +0 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v2.2.9 */
1
+ /*! Element Plus v2.2.12 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -4448,7 +4448,7 @@
4448
4448
  return pickBy(object, negate(baseIteratee(predicate)));
4449
4449
  }
4450
4450
 
4451
- function once$1(func) {
4451
+ function once(func) {
4452
4452
  return before(2, func);
4453
4453
  }
4454
4454
 
@@ -6002,7 +6002,7 @@
6002
6002
  flip,
6003
6003
  memoize,
6004
6004
  negate,
6005
- once: once$1,
6005
+ once,
6006
6006
  overArgs,
6007
6007
  partial,
6008
6008
  partialRight,
@@ -6878,25 +6878,6 @@
6878
6878
  !isLeaf(el) && el.click();
6879
6879
  };
6880
6880
 
6881
- const on$1 = (element, event, handler, useCapture = false) => {
6882
- if (element && event && handler) {
6883
- element == null ? void 0 : element.addEventListener(event, handler, useCapture);
6884
- }
6885
- };
6886
- const off = (element, event, handler, useCapture = false) => {
6887
- if (element && event && handler) {
6888
- element == null ? void 0 : element.removeEventListener(event, handler, useCapture);
6889
- }
6890
- };
6891
- const once = (el, event, fn) => {
6892
- const listener = function(...args) {
6893
- if (fn) {
6894
- fn.apply(this, args);
6895
- }
6896
- off(el, event, listener);
6897
- };
6898
- on$1(el, event, listener);
6899
- };
6900
6881
  const composeEventHandlers = (theirsHandler, oursHandler, { checkForDefaultPrevented = true } = {}) => {
6901
6882
  const handleEvent = (event) => {
6902
6883
  const shouldPrevent = theirsHandler == null ? void 0 : theirsHandler(event);
@@ -7424,36 +7405,6 @@
7424
7405
  };
7425
7406
  };
7426
7407
 
7427
- const resizeHandler = function(entries) {
7428
- for (const entry of entries) {
7429
- const listeners = entry.target.__resizeListeners__ || [];
7430
- if (listeners.length) {
7431
- listeners.forEach((fn) => {
7432
- fn();
7433
- });
7434
- }
7435
- }
7436
- };
7437
- const addResizeListener = function(element, fn) {
7438
- if (!isClient || !element)
7439
- return;
7440
- if (!element.__resizeListeners__) {
7441
- element.__resizeListeners__ = [];
7442
- element.__ro__ = new ResizeObserver(resizeHandler);
7443
- element.__ro__.observe(element);
7444
- }
7445
- element.__resizeListeners__.push(fn);
7446
- };
7447
- const removeResizeListener = function(element, fn) {
7448
- var _a;
7449
- if (!element || !element.__resizeListeners__)
7450
- return;
7451
- element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);
7452
- if (!element.__resizeListeners__.length) {
7453
- (_a = element.__ro__) == null ? void 0 : _a.disconnect();
7454
- }
7455
- };
7456
-
7457
7408
  const NOOP = () => {
7458
7409
  };
7459
7410
  const hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -7594,14 +7545,14 @@
7594
7545
  return parent;
7595
7546
  };
7596
7547
  let scrollBarWidth;
7597
- const getScrollBarWidth = () => {
7548
+ const getScrollBarWidth = (namespace) => {
7598
7549
  var _a;
7599
7550
  if (!isClient)
7600
7551
  return 0;
7601
7552
  if (scrollBarWidth !== void 0)
7602
7553
  return scrollBarWidth;
7603
7554
  const outer = document.createElement("div");
7604
- outer.className = "el-scrollbar__wrap";
7555
+ outer.className = `${namespace}-scrollbar__wrap`;
7605
7556
  outer.style.visibility = "hidden";
7606
7557
  outer.style.width = "100px";
7607
7558
  outer.style.position = "absolute";
@@ -9126,11 +9077,289 @@
9126
9077
  return buildLocaleContext(vue.computed(() => locale.value || English));
9127
9078
  };
9128
9079
 
9080
+ let activeEffectScope;
9081
+ function recordEffectScope(effect2, scope = activeEffectScope) {
9082
+ if (scope && scope.active) {
9083
+ scope.effects.push(effect2);
9084
+ }
9085
+ }
9086
+ const createDep = (effects) => {
9087
+ const dep = new Set(effects);
9088
+ dep.w = 0;
9089
+ dep.n = 0;
9090
+ return dep;
9091
+ };
9092
+ const wasTracked = (dep) => (dep.w & trackOpBit) > 0;
9093
+ const newTracked = (dep) => (dep.n & trackOpBit) > 0;
9094
+ const initDepMarkers = ({ deps }) => {
9095
+ if (deps.length) {
9096
+ for (let i = 0; i < deps.length; i++) {
9097
+ deps[i].w |= trackOpBit;
9098
+ }
9099
+ }
9100
+ };
9101
+ const finalizeDepMarkers = (effect2) => {
9102
+ const { deps } = effect2;
9103
+ if (deps.length) {
9104
+ let ptr = 0;
9105
+ for (let i = 0; i < deps.length; i++) {
9106
+ const dep = deps[i];
9107
+ if (wasTracked(dep) && !newTracked(dep)) {
9108
+ dep.delete(effect2);
9109
+ } else {
9110
+ deps[ptr++] = dep;
9111
+ }
9112
+ dep.w &= ~trackOpBit;
9113
+ dep.n &= ~trackOpBit;
9114
+ }
9115
+ deps.length = ptr;
9116
+ }
9117
+ };
9118
+ let effectTrackDepth = 0;
9119
+ let trackOpBit = 1;
9120
+ const maxMarkerBits = 30;
9121
+ let activeEffect;
9122
+ class ReactiveEffect {
9123
+ constructor(fn, scheduler2 = null, scope) {
9124
+ this.fn = fn;
9125
+ this.scheduler = scheduler2;
9126
+ this.active = true;
9127
+ this.deps = [];
9128
+ this.parent = void 0;
9129
+ recordEffectScope(this, scope);
9130
+ }
9131
+ run() {
9132
+ if (!this.active) {
9133
+ return this.fn();
9134
+ }
9135
+ let parent = activeEffect;
9136
+ let lastShouldTrack = shouldTrack;
9137
+ while (parent) {
9138
+ if (parent === this) {
9139
+ return;
9140
+ }
9141
+ parent = parent.parent;
9142
+ }
9143
+ try {
9144
+ this.parent = activeEffect;
9145
+ activeEffect = this;
9146
+ shouldTrack = true;
9147
+ trackOpBit = 1 << ++effectTrackDepth;
9148
+ if (effectTrackDepth <= maxMarkerBits) {
9149
+ initDepMarkers(this);
9150
+ } else {
9151
+ cleanupEffect(this);
9152
+ }
9153
+ return this.fn();
9154
+ } finally {
9155
+ if (effectTrackDepth <= maxMarkerBits) {
9156
+ finalizeDepMarkers(this);
9157
+ }
9158
+ trackOpBit = 1 << --effectTrackDepth;
9159
+ activeEffect = this.parent;
9160
+ shouldTrack = lastShouldTrack;
9161
+ this.parent = void 0;
9162
+ if (this.deferStop) {
9163
+ this.stop();
9164
+ }
9165
+ }
9166
+ }
9167
+ stop() {
9168
+ if (activeEffect === this) {
9169
+ this.deferStop = true;
9170
+ } else if (this.active) {
9171
+ cleanupEffect(this);
9172
+ if (this.onStop) {
9173
+ this.onStop();
9174
+ }
9175
+ this.active = false;
9176
+ }
9177
+ }
9178
+ }
9179
+ function cleanupEffect(effect2) {
9180
+ const { deps } = effect2;
9181
+ if (deps.length) {
9182
+ for (let i = 0; i < deps.length; i++) {
9183
+ deps[i].delete(effect2);
9184
+ }
9185
+ deps.length = 0;
9186
+ }
9187
+ }
9188
+ let shouldTrack = true;
9189
+ function trackEffects(dep, debuggerEventExtraInfo) {
9190
+ let shouldTrack2 = false;
9191
+ if (effectTrackDepth <= maxMarkerBits) {
9192
+ if (!newTracked(dep)) {
9193
+ dep.n |= trackOpBit;
9194
+ shouldTrack2 = !wasTracked(dep);
9195
+ }
9196
+ } else {
9197
+ shouldTrack2 = !dep.has(activeEffect);
9198
+ }
9199
+ if (shouldTrack2) {
9200
+ dep.add(activeEffect);
9201
+ activeEffect.deps.push(dep);
9202
+ }
9203
+ }
9204
+ function triggerEffects(dep, debuggerEventExtraInfo) {
9205
+ const effects = isArray(dep) ? dep : [...dep];
9206
+ for (const effect2 of effects) {
9207
+ if (effect2.computed) {
9208
+ triggerEffect(effect2);
9209
+ }
9210
+ }
9211
+ for (const effect2 of effects) {
9212
+ if (!effect2.computed) {
9213
+ triggerEffect(effect2);
9214
+ }
9215
+ }
9216
+ }
9217
+ function triggerEffect(effect2, debuggerEventExtraInfo) {
9218
+ if (effect2 !== activeEffect || effect2.allowRecurse) {
9219
+ if (effect2.scheduler) {
9220
+ effect2.scheduler();
9221
+ } else {
9222
+ effect2.run();
9223
+ }
9224
+ }
9225
+ }
9226
+ function toRaw(observed) {
9227
+ const raw = observed && observed["__v_raw"];
9228
+ return raw ? toRaw(raw) : observed;
9229
+ }
9230
+ function trackRefValue(ref2) {
9231
+ if (shouldTrack && activeEffect) {
9232
+ ref2 = toRaw(ref2);
9233
+ {
9234
+ trackEffects(ref2.dep || (ref2.dep = createDep()));
9235
+ }
9236
+ }
9237
+ }
9238
+ function triggerRefValue(ref2, newVal) {
9239
+ ref2 = toRaw(ref2);
9240
+ if (ref2.dep) {
9241
+ {
9242
+ triggerEffects(ref2.dep);
9243
+ }
9244
+ }
9245
+ }
9246
+ class ComputedRefImpl {
9247
+ constructor(getter, _setter, isReadonly2, isSSR) {
9248
+ this._setter = _setter;
9249
+ this.dep = void 0;
9250
+ this.__v_isRef = true;
9251
+ this._dirty = true;
9252
+ this.effect = new ReactiveEffect(getter, () => {
9253
+ if (!this._dirty) {
9254
+ this._dirty = true;
9255
+ triggerRefValue(this);
9256
+ }
9257
+ });
9258
+ this.effect.computed = this;
9259
+ this.effect.active = this._cacheable = !isSSR;
9260
+ this["__v_isReadonly"] = isReadonly2;
9261
+ }
9262
+ get value() {
9263
+ const self = toRaw(this);
9264
+ trackRefValue(self);
9265
+ if (self._dirty || !self._cacheable) {
9266
+ self._dirty = false;
9267
+ self._value = self.effect.run();
9268
+ }
9269
+ return self._value;
9270
+ }
9271
+ set value(newValue) {
9272
+ this._setter(newValue);
9273
+ }
9274
+ }
9275
+ function computed(getterOrOptions, debugOptions, isSSR = false) {
9276
+ let getter;
9277
+ let setter;
9278
+ const onlyGetter = isFunction(getterOrOptions);
9279
+ if (onlyGetter) {
9280
+ getter = getterOrOptions;
9281
+ setter = NOOP;
9282
+ } else {
9283
+ getter = getterOrOptions.get;
9284
+ setter = getterOrOptions.set;
9285
+ }
9286
+ const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);
9287
+ return cRef;
9288
+ }
9289
+
9290
+ const defaultNamespace = "el";
9291
+ const statePrefix = "is-";
9292
+ const _bem = (namespace, block, blockSuffix, element, modifier) => {
9293
+ let cls = `${namespace}-${block}`;
9294
+ if (blockSuffix) {
9295
+ cls += `-${blockSuffix}`;
9296
+ }
9297
+ if (element) {
9298
+ cls += `__${element}`;
9299
+ }
9300
+ if (modifier) {
9301
+ cls += `--${modifier}`;
9302
+ }
9303
+ return cls;
9304
+ };
9305
+ const useNamespace = (block) => {
9306
+ const globalConfig = useGlobalConfig("namespace");
9307
+ const namespace = vue.computed(() => globalConfig.value || defaultNamespace);
9308
+ const b = (blockSuffix = "") => _bem(vue.unref(namespace), block, blockSuffix, "", "");
9309
+ const e = (element) => element ? _bem(vue.unref(namespace), block, "", element, "") : "";
9310
+ const m = (modifier) => modifier ? _bem(vue.unref(namespace), block, "", "", modifier) : "";
9311
+ const be = (blockSuffix, element) => blockSuffix && element ? _bem(vue.unref(namespace), block, blockSuffix, element, "") : "";
9312
+ const em = (element, modifier) => element && modifier ? _bem(vue.unref(namespace), block, "", element, modifier) : "";
9313
+ const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(vue.unref(namespace), block, blockSuffix, "", modifier) : "";
9314
+ const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(vue.unref(namespace), block, blockSuffix, element, modifier) : "";
9315
+ const is = (name, ...args) => {
9316
+ const state = args.length >= 1 ? args[0] : true;
9317
+ return name && state ? `${statePrefix}${name}` : "";
9318
+ };
9319
+ const cssVar = (object) => {
9320
+ const styles = {};
9321
+ for (const key in object) {
9322
+ if (object[key]) {
9323
+ styles[`--${namespace.value}-${key}`] = object[key];
9324
+ }
9325
+ }
9326
+ return styles;
9327
+ };
9328
+ const cssVarBlock = (object) => {
9329
+ const styles = {};
9330
+ for (const key in object) {
9331
+ if (object[key]) {
9332
+ styles[`--${namespace.value}-${block}-${key}`] = object[key];
9333
+ }
9334
+ }
9335
+ return styles;
9336
+ };
9337
+ const cssVarName = (name) => `--${namespace.value}-${name}`;
9338
+ const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;
9339
+ return {
9340
+ namespace,
9341
+ b,
9342
+ e,
9343
+ m,
9344
+ be,
9345
+ em,
9346
+ bm,
9347
+ bem,
9348
+ is,
9349
+ cssVar,
9350
+ cssVarName,
9351
+ cssVarBlock,
9352
+ cssVarBlockName
9353
+ };
9354
+ };
9355
+
9129
9356
  const useLockscreen = (trigger) => {
9130
9357
  if (!vue.isRef(trigger)) {
9131
9358
  throwError("[useLockscreen]", "You need to pass a ref param to this function");
9132
9359
  }
9133
- if (!isClient || hasClass(document.body, "el-popup-parent--hidden")) {
9360
+ const ns = useNamespace("popup");
9361
+ const hiddenCls = computed(() => ns.bm("parent", "hidden"));
9362
+ if (!isClient || hasClass(document.body, hiddenCls.value)) {
9134
9363
  return;
9135
9364
  }
9136
9365
  let scrollBarWidth = 0;
@@ -9138,7 +9367,7 @@
9138
9367
  let bodyPaddingRight = "0";
9139
9368
  let computedBodyPaddingRight = 0;
9140
9369
  const cleanup = () => {
9141
- removeClass(document.body, "el-popup-parent--hidden");
9370
+ removeClass(document.body, hiddenCls.value);
9142
9371
  if (withoutHiddenClass) {
9143
9372
  document.body.style.paddingRight = bodyPaddingRight;
9144
9373
  }
@@ -9148,18 +9377,18 @@
9148
9377
  cleanup();
9149
9378
  return;
9150
9379
  }
9151
- withoutHiddenClass = !hasClass(document.body, "el-popup-parent--hidden");
9380
+ withoutHiddenClass = !hasClass(document.body, hiddenCls.value);
9152
9381
  if (withoutHiddenClass) {
9153
9382
  bodyPaddingRight = document.body.style.paddingRight;
9154
9383
  computedBodyPaddingRight = Number.parseInt(getStyle(document.body, "paddingRight"), 10);
9155
9384
  }
9156
- scrollBarWidth = getScrollBarWidth();
9385
+ scrollBarWidth = getScrollBarWidth(ns.namespace.value);
9157
9386
  const bodyHasOverflow = document.documentElement.clientHeight < document.body.scrollHeight;
9158
9387
  const bodyOverflowY = getStyle(document.body, "overflowY");
9159
9388
  if (scrollBarWidth > 0 && (bodyHasOverflow || bodyOverflowY === "scroll") && withoutHiddenClass) {
9160
9389
  document.body.style.paddingRight = `${computedBodyPaddingRight + scrollBarWidth}px`;
9161
9390
  }
9162
- addClass(document.body, "el-popup-parent--hidden");
9391
+ addClass(document.body, hiddenCls.value);
9163
9392
  });
9164
9393
  vue.onScopeDispose(() => cleanup());
9165
9394
  };
@@ -9298,7 +9527,8 @@
9298
9527
  return {
9299
9528
  hide,
9300
9529
  show,
9301
- toggle
9530
+ toggle,
9531
+ hasUpdateHandler
9302
9532
  };
9303
9533
  };
9304
9534
  return {
@@ -9497,13 +9727,13 @@
9497
9727
  };
9498
9728
 
9499
9729
  let registeredEscapeHandlers = [];
9730
+ const cachedHandler = (e) => {
9731
+ const event = e;
9732
+ if (event.key === EVENT_CODE.esc) {
9733
+ registeredEscapeHandlers.forEach((registeredHandler) => registeredHandler(event));
9734
+ }
9735
+ };
9500
9736
  const useEscapeKeydown = (handler) => {
9501
- const cachedHandler = (e) => {
9502
- const event = e;
9503
- if (event.key === EVENT_CODE.esc) {
9504
- registeredEscapeHandlers.forEach((registeredHandler) => registeredHandler(event));
9505
- }
9506
- };
9507
9737
  vue.onMounted(() => {
9508
9738
  if (registeredEscapeHandlers.length === 0) {
9509
9739
  document.addEventListener("keydown", cachedHandler);
@@ -9634,68 +9864,6 @@
9634
9864
  };
9635
9865
  };
9636
9866
 
9637
- const defaultNamespace = "el";
9638
- const statePrefix = "is-";
9639
- const _bem = (namespace, block, blockSuffix, element, modifier) => {
9640
- let cls = `${namespace}-${block}`;
9641
- if (blockSuffix) {
9642
- cls += `-${blockSuffix}`;
9643
- }
9644
- if (element) {
9645
- cls += `__${element}`;
9646
- }
9647
- if (modifier) {
9648
- cls += `--${modifier}`;
9649
- }
9650
- return cls;
9651
- };
9652
- const useNamespace = (block) => {
9653
- const globalConfig = useGlobalConfig("namespace");
9654
- const namespace = vue.computed(() => globalConfig.value || defaultNamespace);
9655
- const b = (blockSuffix = "") => _bem(vue.unref(namespace), block, blockSuffix, "", "");
9656
- const e = (element) => element ? _bem(vue.unref(namespace), block, "", element, "") : "";
9657
- const m = (modifier) => modifier ? _bem(vue.unref(namespace), block, "", "", modifier) : "";
9658
- const be = (blockSuffix, element) => blockSuffix && element ? _bem(vue.unref(namespace), block, blockSuffix, element, "") : "";
9659
- const em = (element, modifier) => element && modifier ? _bem(vue.unref(namespace), block, "", element, modifier) : "";
9660
- const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(vue.unref(namespace), block, blockSuffix, "", modifier) : "";
9661
- const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(vue.unref(namespace), block, blockSuffix, element, modifier) : "";
9662
- const is = (name, ...args) => {
9663
- const state = args.length >= 1 ? args[0] : true;
9664
- return name && state ? `${statePrefix}${name}` : "";
9665
- };
9666
- const cssVar = (object) => {
9667
- const styles = {};
9668
- for (const key in object) {
9669
- styles[`--${namespace.value}-${key}`] = object[key];
9670
- }
9671
- return styles;
9672
- };
9673
- const cssVarBlock = (object) => {
9674
- const styles = {};
9675
- for (const key in object) {
9676
- styles[`--${namespace.value}-${block}-${key}`] = object[key];
9677
- }
9678
- return styles;
9679
- };
9680
- const cssVarName = (name) => `--${namespace.value}-${name}`;
9681
- const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;
9682
- return {
9683
- namespace,
9684
- b,
9685
- e,
9686
- m,
9687
- be,
9688
- em,
9689
- bm,
9690
- bem,
9691
- is,
9692
- cssVar,
9693
- cssVarName,
9694
- cssVarBlock,
9695
- cssVarBlockName
9696
- };
9697
- };
9698
-
9699
9867
  const zIndex = vue.ref(0);
9700
9868
  const useZIndex = () => {
9701
9869
  const initialZIndex = useGlobalConfig("zIndex", 2e3);
@@ -10734,7 +10902,7 @@
10734
10902
  return [recordCursor, setCursor];
10735
10903
  }
10736
10904
 
10737
- const version$1 = "2.2.9";
10905
+ const version$1 = "2.2.12";
10738
10906
 
10739
10907
  const makeInstaller = (components = []) => {
10740
10908
  const install = (app, options) => {
@@ -10783,11 +10951,11 @@
10783
10951
  return target;
10784
10952
  };
10785
10953
 
10786
- const __default__$1n = {
10954
+ const __default__$1p = {
10787
10955
  name: "ElAffix"
10788
10956
  };
10789
10957
  const _sfc_main$2f = /* @__PURE__ */ vue.defineComponent({
10790
- ...__default__$1n,
10958
+ ...__default__$1p,
10791
10959
  props: affixProps,
10792
10960
  emits: affixEmits,
10793
10961
  setup(__props, { expose, emit }) {
@@ -10902,12 +11070,12 @@
10902
11070
  }
10903
11071
  });
10904
11072
 
10905
- const __default__$1m = {
11073
+ const __default__$1o = {
10906
11074
  name: "ElIcon",
10907
11075
  inheritAttrs: false
10908
11076
  };
10909
11077
  const _sfc_main$2e = /* @__PURE__ */ vue.defineComponent({
10910
- ...__default__$1m,
11078
+ ...__default__$1o,
10911
11079
  props: iconProps,
10912
11080
  setup(__props) {
10913
11081
  const props = __props;
@@ -10969,11 +11137,11 @@
10969
11137
  close: (evt) => evt instanceof MouseEvent
10970
11138
  };
10971
11139
 
10972
- const __default__$1l = {
11140
+ const __default__$1n = {
10973
11141
  name: "ElAlert"
10974
11142
  };
10975
11143
  const _sfc_main$2d = /* @__PURE__ */ vue.defineComponent({
10976
- ...__default__$1l,
11144
+ ...__default__$1n,
10977
11145
  props: alertProps,
10978
11146
  emits: alertEmits,
10979
11147
  setup(__props, { emit }) {
@@ -11238,15 +11406,15 @@
11238
11406
  compositionend: (evt) => evt instanceof CompositionEvent
11239
11407
  };
11240
11408
 
11241
- const _hoisted_1$12 = ["role"];
11242
- const _hoisted_2$H = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder"];
11243
- const _hoisted_3$o = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder"];
11244
- const __default__$1k = {
11409
+ const _hoisted_1$13 = ["role"];
11410
+ const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder"];
11411
+ const _hoisted_3$m = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder"];
11412
+ const __default__$1m = {
11245
11413
  name: "ElInput",
11246
11414
  inheritAttrs: false
11247
11415
  };
11248
11416
  const _sfc_main$2c = /* @__PURE__ */ vue.defineComponent({
11249
- ...__default__$1k,
11417
+ ...__default__$1m,
11250
11418
  props: inputProps,
11251
11419
  emits: inputEmits,
11252
11420
  setup(__props, { expose, emit }) {
@@ -11562,7 +11730,7 @@
11562
11730
  onBlur: handleBlur,
11563
11731
  onChange: handleChange,
11564
11732
  onKeydown: handleKeydown
11565
- }), null, 16, _hoisted_2$H),
11733
+ }), null, 16, _hoisted_2$G),
11566
11734
  vue.createCommentVNode(" suffix slot "),
11567
11735
  vue.unref(suffixVisible) ? (vue.openBlock(), vue.createElementBlock("span", {
11568
11736
  key: 1,
@@ -11658,14 +11826,14 @@
11658
11826
  onBlur: handleBlur,
11659
11827
  onChange: handleChange,
11660
11828
  onKeydown: handleKeydown
11661
- }), null, 16, _hoisted_3$o),
11829
+ }), null, 16, _hoisted_3$m),
11662
11830
  vue.unref(isWordLimitVisible) ? (vue.openBlock(), vue.createElementBlock("span", {
11663
11831
  key: 0,
11664
11832
  style: vue.normalizeStyle(countStyle.value),
11665
11833
  class: vue.normalizeClass(vue.unref(nsInput).e("count"))
11666
11834
  }, vue.toDisplayString(vue.unref(textLength)) + " / " + vue.toDisplayString(vue.unref(attrs).maxlength), 7)) : vue.createCommentVNode("v-if", true)
11667
11835
  ], 64))
11668
- ], 16, _hoisted_1$12)), [
11836
+ ], 16, _hoisted_1$13)), [
11669
11837
  [vue.vShow, _ctx.type !== "hidden"]
11670
11838
  ]);
11671
11839
  };
@@ -11940,11 +12108,11 @@
11940
12108
  }) => [scrollTop, scrollLeft].every(isNumber)
11941
12109
  };
11942
12110
 
11943
- const __default__$1j = {
12111
+ const __default__$1l = {
11944
12112
  name: "ElScrollbar"
11945
12113
  };
11946
12114
  const _sfc_main$29 = /* @__PURE__ */ vue.defineComponent({
11947
- ...__default__$1j,
12115
+ ...__default__$1l,
11948
12116
  props: scrollbarProps,
11949
12117
  emits: scrollbarEmits,
11950
12118
  setup(__props, { expose, emit }) {
@@ -12036,7 +12204,9 @@
12036
12204
  }));
12037
12205
  vue.onMounted(() => {
12038
12206
  if (!props.native)
12039
- vue.nextTick(() => update());
12207
+ vue.nextTick(() => {
12208
+ update();
12209
+ });
12040
12210
  });
12041
12211
  vue.onUpdated(() => update());
12042
12212
  expose({
@@ -12105,12 +12275,12 @@
12105
12275
  }
12106
12276
  });
12107
12277
 
12108
- const __default__$1i = {
12278
+ const __default__$1k = {
12109
12279
  name: "ElPopperRoot",
12110
12280
  inheritAttrs: false
12111
12281
  };
12112
12282
  const _sfc_main$28 = /* @__PURE__ */ vue.defineComponent({
12113
- ...__default__$1i,
12283
+ ...__default__$1k,
12114
12284
  props: usePopperProps,
12115
12285
  setup(__props, { expose }) {
12116
12286
  const props = __props;
@@ -12142,12 +12312,12 @@
12142
12312
  }
12143
12313
  });
12144
12314
 
12145
- const __default__$1h = {
12315
+ const __default__$1j = {
12146
12316
  name: "ElPopperArrow",
12147
12317
  inheritAttrs: false
12148
12318
  };
12149
12319
  const _sfc_main$27 = /* @__PURE__ */ vue.defineComponent({
12150
- ...__default__$1h,
12320
+ ...__default__$1j,
12151
12321
  props: usePopperArrowProps,
12152
12322
  setup(__props, { expose }) {
12153
12323
  const props = __props;
@@ -12244,12 +12414,12 @@
12244
12414
  open: Boolean
12245
12415
  });
12246
12416
 
12247
- const __default__$1g = {
12417
+ const __default__$1i = {
12248
12418
  name: "ElPopperTrigger",
12249
12419
  inheritAttrs: false
12250
12420
  };
12251
12421
  const _sfc_main$26 = /* @__PURE__ */ vue.defineComponent({
12252
- ...__default__$1g,
12422
+ ...__default__$1i,
12253
12423
  props: usePopperTriggerProps,
12254
12424
  setup(__props, { expose }) {
12255
12425
  const props = __props;
@@ -12349,7 +12519,7 @@
12349
12519
  });
12350
12520
  var ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["__file", "trigger.vue"]]);
12351
12521
 
12352
- var E$1="top",R="bottom",W$1="right",P$1="left",me="auto",G=[E$1,R,W$1,P$1],U$1="start",J="end",Xe="clippingParents",je="viewport",K="popper",Ye="reference",De=G.reduce(function(t,e){return t.concat([e+"-"+U$1,e+"-"+J])},[]),Ee=[].concat(G,[me]).reduce(function(t,e){return t.concat([e,e+"-"+U$1,e+"-"+J])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt];function C(t){return t?(t.nodeName||"").toLowerCase():null}function H(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Q(t){var e=H(t).Element;return t instanceof e||t instanceof Element}function B(t){var e=H(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Pe(t){if(typeof ShadowRoot=="undefined")return !1;var e=H(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Mt(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},o=e.attributes[n]||{},i=e.elements[n];!B(i)||!C(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s);}));});}function Rt(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var o=e.elements[r],i=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),s=a.reduce(function(f,c){return f[c]="",f},{});!B(o)||!C(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(f){o.removeAttribute(f);}));});}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q(t){return t.split("-")[0]}var X$1=Math.max,ve=Math.min,Z=Math.round;function ee(t,e){e===void 0&&(e=!1);var n=t.getBoundingClientRect(),r=1,o=1;if(B(t)&&e){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(r=Z(n.width)/a||1),i>0&&(o=Z(n.height)/i||1);}return {width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function ke(t){var e=ee(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function it(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return !0;if(n&&Pe(n)){var r=e;do{if(r&&t.isSameNode(r))return !0;r=r.parentNode||r.host;}while(r)}return !1}function N$1(t){return H(t).getComputedStyle(t)}function Wt(t){return ["table","td","th"].indexOf(C(t))>=0}function I$1(t){return ((Q(t)?t.ownerDocument:t.document)||window.document).documentElement}function ge(t){return C(t)==="html"?t:t.assignedSlot||t.parentNode||(Pe(t)?t.host:null)||I$1(t)}function at(t){return !B(t)||N$1(t).position==="fixed"?null:t.offsetParent}function Bt(t){var e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&B(t)){var r=N$1(t);if(r.position==="fixed")return null}var o=ge(t);for(Pe(o)&&(o=o.host);B(o)&&["html","body"].indexOf(C(o))<0;){var i=N$1(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode;}return null}function se(t){for(var e=H(t),n=at(t);n&&Wt(n)&&N$1(n).position==="static";)n=at(n);return n&&(C(n)==="html"||C(n)==="body"&&N$1(n).position==="static")?e:n||Bt(t)||e}function Le(t){return ["top","bottom"].indexOf(t)>=0?"x":"y"}function fe(t,e,n){return X$1(t,ve(e,n))}function St(t,e,n){var r=fe(t,e,n);return r>n?n:r}function st(){return {top:0,right:0,bottom:0,left:0}}function ft(t){return Object.assign({},st(),t)}function ct(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var Tt=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,ft(typeof t!="number"?t:ct(t,G))};function Ht(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=q(n.placement),f=Le(s),c=[P$1,W$1].indexOf(s)>=0,u=c?"height":"width";if(!(!i||!a)){var m=Tt(o.padding,n),v=ke(i),l=f==="y"?E$1:P$1,h=f==="y"?R:W$1,p=n.rects.reference[u]+n.rects.reference[f]-a[f]-n.rects.popper[u],g=a[f]-n.rects.reference[f],x=se(i),y=x?f==="y"?x.clientHeight||0:x.clientWidth||0:0,$=p/2-g/2,d=m[l],b=y-v[u]-m[h],w=y/2-v[u]/2+$,O=fe(d,w,b),j=f;n.modifiersData[r]=(e={},e[j]=O,e.centerOffset=O-w,e);}}function Ct(t){var e=t.state,n=t.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||!it(e.elements.popper,o)||(e.elements.arrow=o));}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(t){return t.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(t){var e=t.x,n=t.y,r=window,o=r.devicePixelRatio||1;return {x:Z(e*o)/o||0,y:Z(n*o)/o||0}}function ut(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,a=t.offsets,s=t.position,f=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,m=t.isFixed,v=a.x,l=v===void 0?0:v,h=a.y,p=h===void 0?0:h,g=typeof u=="function"?u({x:l,y:p}):{x:l,y:p};l=g.x,p=g.y;var x=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),$=P$1,d=E$1,b=window;if(c){var w=se(n),O="clientHeight",j="clientWidth";if(w===H(n)&&(w=I$1(n),N$1(w).position!=="static"&&s==="absolute"&&(O="scrollHeight",j="scrollWidth")),w=w,o===E$1||(o===P$1||o===W$1)&&i===J){d=R;var A=m&&w===b&&b.visualViewport?b.visualViewport.height:w[O];p-=A-r.height,p*=f?1:-1;}if(o===P$1||(o===E$1||o===R)&&i===J){$=W$1;var k=m&&w===b&&b.visualViewport?b.visualViewport.width:w[j];l-=k-r.width,l*=f?1:-1;}}var D=Object.assign({position:s},c&&qt),S=u===!0?Vt({x:l,y:p}):{x:l,y:p};if(l=S.x,p=S.y,f){var L;return Object.assign({},D,(L={},L[d]=y?"0":"",L[$]=x?"0":"",L.transform=(b.devicePixelRatio||1)<=1?"translate("+l+"px, "+p+"px)":"translate3d("+l+"px, "+p+"px, 0)",L))}return Object.assign({},D,(e={},e[d]=y?p+"px":"",e[$]=x?l+"px":"",e.transform="",e))}function Nt(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,f=s===void 0?!0:s,c={placement:q(e.placement),variation:te(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,ut(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:f})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,ut(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement});}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye={passive:!0};function It(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,f=H(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,ye);}),s&&f.addEventListener("resize",n.update,ye),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,ye);}),s&&f.removeEventListener("resize",n.update,ye);}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be(t){return t.replace(/left|right|bottom|top/g,function(e){return _t[e]})}var zt={start:"end",end:"start"};function lt(t){return t.replace(/start|end/g,function(e){return zt[e]})}function We(t){var e=H(t),n=e.pageXOffset,r=e.pageYOffset;return {scrollLeft:n,scrollTop:r}}function Be(t){return ee(I$1(t)).left+We(t).scrollLeft}function Ft(t){var e=H(t),n=I$1(t),r=e.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+Be(t),y:s}}function Ut(t){var e,n=I$1(t),r=We(t),o=(e=t.ownerDocument)==null?void 0:e.body,i=X$1(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=X$1(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Be(t),f=-r.scrollTop;return N$1(o||n).direction==="rtl"&&(s+=X$1(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:f}}function Se(t){var e=N$1(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return /auto|scroll|overlay|hidden/.test(n+o+r)}function dt(t){return ["html","body","#document"].indexOf(C(t))>=0?t.ownerDocument.body:B(t)&&Se(t)?t:dt(ge(t))}function ce(t,e){var n;e===void 0&&(e=[]);var r=dt(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=H(r),a=o?[i].concat(i.visualViewport||[],Se(r)?r:[]):r,s=e.concat(a);return o?s:s.concat(ce(ge(a)))}function Te(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Xt(t){var e=ee(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function ht(t,e){return e===je?Te(Ft(t)):Q(e)?Xt(e):Te(Ut(I$1(t)))}function Yt(t){var e=ce(ge(t)),n=["absolute","fixed"].indexOf(N$1(t).position)>=0,r=n&&B(t)?se(t):t;return Q(r)?e.filter(function(o){return Q(o)&&it(o,r)&&C(o)!=="body"}):[]}function Gt(t,e,n){var r=e==="clippingParents"?Yt(t):[].concat(e),o=[].concat(r,[n]),i=o[0],a=o.reduce(function(s,f){var c=ht(t,f);return s.top=X$1(c.top,s.top),s.right=ve(c.right,s.right),s.bottom=ve(c.bottom,s.bottom),s.left=X$1(c.left,s.left),s},ht(t,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function mt(t){var e=t.reference,n=t.element,r=t.placement,o=r?q(r):null,i=r?te(r):null,a=e.x+e.width/2-n.width/2,s=e.y+e.height/2-n.height/2,f;switch(o){case E$1:f={x:a,y:e.y-n.height};break;case R:f={x:a,y:e.y+e.height};break;case W$1:f={x:e.x+e.width,y:s};break;case P$1:f={x:e.x-n.width,y:s};break;default:f={x:e.x,y:e.y};}var c=o?Le(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case U$1:f[c]=f[c]-(e[u]/2-n[u]/2);break;case J:f[c]=f[c]+(e[u]/2-n[u]/2);break}}return f}function ne(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=r===void 0?t.placement:r,i=n.boundary,a=i===void 0?Xe:i,s=n.rootBoundary,f=s===void 0?je:s,c=n.elementContext,u=c===void 0?K:c,m=n.altBoundary,v=m===void 0?!1:m,l=n.padding,h=l===void 0?0:l,p=ft(typeof h!="number"?h:ct(h,G)),g=u===K?Ye:K,x=t.rects.popper,y=t.elements[v?g:u],$=Gt(Q(y)?y:y.contextElement||I$1(t.elements.popper),a,f),d=ee(t.elements.reference),b=mt({reference:d,element:x,strategy:"absolute",placement:o}),w=Te(Object.assign({},x,b)),O=u===K?w:d,j={top:$.top-O.top+p.top,bottom:O.bottom-$.bottom+p.bottom,left:$.left-O.left+p.left,right:O.right-$.right+p.right},A=t.modifiersData.offset;if(u===K&&A){var k=A[o];Object.keys(j).forEach(function(D){var S=[W$1,R].indexOf(D)>=0?1:-1,L=[E$1,R].indexOf(D)>=0?"y":"x";j[D]+=k[L]*S;});}return j}function Jt(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=f===void 0?Ee:f,u=te(r),m=u?s?De:De.filter(function(h){return te(h)===u}):G,v=m.filter(function(h){return c.indexOf(h)>=0});v.length===0&&(v=m);var l=v.reduce(function(h,p){return h[p]=ne(t,{placement:p,boundary:o,rootBoundary:i,padding:a})[q(p)],h},{});return Object.keys(l).sort(function(h,p){return l[h]-l[p]})}function Kt(t){if(q(t)===me)return [];var e=be(t);return [lt(t),e,lt(e)]}function Qt(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,f=n.fallbackPlacements,c=n.padding,u=n.boundary,m=n.rootBoundary,v=n.altBoundary,l=n.flipVariations,h=l===void 0?!0:l,p=n.allowedAutoPlacements,g=e.options.placement,x=q(g),y=x===g,$=f||(y||!h?[be(g)]:Kt(g)),d=[g].concat($).reduce(function(z,V){return z.concat(q(V)===me?Jt(e,{placement:V,boundary:u,rootBoundary:m,padding:c,flipVariations:h,allowedAutoPlacements:p}):V)},[]),b=e.rects.reference,w=e.rects.popper,O=new Map,j=!0,A=d[0],k=0;k<d.length;k++){var D=d[k],S=q(D),L=te(D)===U$1,re=[E$1,R].indexOf(S)>=0,oe=re?"width":"height",M=ne(e,{placement:D,boundary:u,rootBoundary:m,altBoundary:v,padding:c}),T=re?L?W$1:P$1:L?R:E$1;b[oe]>w[oe]&&(T=be(T));var pe=be(T),_=[];if(i&&_.push(M[S]<=0),s&&_.push(M[T]<=0,M[pe]<=0),_.every(function(z){return z})){A=D,j=!1;break}O.set(D,_);}if(j)for(var ue=h?3:1,xe=function(z){var V=d.find(function(de){var ae=O.get(de);if(ae)return ae.slice(0,z).every(function(Y){return Y})});if(V)return A=V,"break"},ie=ue;ie>0;ie--){var le=xe(ie);if(le==="break")break}e.placement!==A&&(e.modifiersData[r]._skip=!0,e.placement=A,e.reset=!0);}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function yt(t){return [E$1,W$1,R,P$1].some(function(e){return t[e]>=0})}function Zt(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=ne(e,{elementContext:"reference"}),s=ne(e,{altBoundary:!0}),f=gt(a,r),c=gt(s,o,i),u=yt(f),m=yt(c);e.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:m},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":m});}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(t,e,n){var r=q(t),o=[P$1,E$1].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[P$1,W$1].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function tn(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=o===void 0?[0,0]:o,a=Ee.reduce(function(u,m){return u[m]=en(m,e.rects,i),u},{}),s=a[e.placement],f=s.x,c=s.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=f,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=a;}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(t){var e=t.state,n=t.name;e.modifiersData[n]=mt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement});}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(t){return t==="x"?"y":"x"}function on(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,f=n.boundary,c=n.rootBoundary,u=n.altBoundary,m=n.padding,v=n.tether,l=v===void 0?!0:v,h=n.tetherOffset,p=h===void 0?0:h,g=ne(e,{boundary:f,rootBoundary:c,padding:m,altBoundary:u}),x=q(e.placement),y=te(e.placement),$=!y,d=Le(x),b=rn(d),w=e.modifiersData.popperOffsets,O=e.rects.reference,j=e.rects.popper,A=typeof p=="function"?p(Object.assign({},e.rects,{placement:e.placement})):p,k=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),D=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,S={x:0,y:0};if(w){if(i){var L,re=d==="y"?E$1:P$1,oe=d==="y"?R:W$1,M=d==="y"?"height":"width",T=w[d],pe=T+g[re],_=T-g[oe],ue=l?-j[M]/2:0,xe=y===U$1?O[M]:j[M],ie=y===U$1?-j[M]:-O[M],le=e.elements.arrow,z=l&&le?ke(le):{width:0,height:0},V=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:st(),de=V[re],ae=V[oe],Y=fe(0,O[M],z[M]),jt=$?O[M]/2-ue-Y-de-k.mainAxis:xe-Y-de-k.mainAxis,Dt=$?-O[M]/2+ue+Y+ae+k.mainAxis:ie+Y+ae+k.mainAxis,Oe=e.elements.arrow&&se(e.elements.arrow),Et=Oe?d==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,Ce=(L=D==null?void 0:D[d])!=null?L:0,Pt=T+jt-Ce-Et,At=T+Dt-Ce,qe=fe(l?ve(pe,Pt):pe,T,l?X$1(_,At):_);w[d]=qe,S[d]=qe-T;}if(s){var Ve,kt=d==="x"?E$1:P$1,Lt=d==="x"?R:W$1,F=w[b],he=b==="y"?"height":"width",Ne=F+g[kt],Ie=F-g[Lt],$e=[E$1,P$1].indexOf(x)!==-1,_e=(Ve=D==null?void 0:D[b])!=null?Ve:0,ze=$e?Ne:F-O[he]-j[he]-_e+k.altAxis,Fe=$e?F+O[he]+j[he]-_e-k.altAxis:Ie,Ue=l&&$e?St(ze,F,Fe):fe(l?ze:Ne,F,l?Fe:Ie);w[b]=Ue,S[b]=Ue-F;}e.modifiersData[r]=S;}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(t){return {scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function sn(t){return t===H(t)||!B(t)?We(t):an(t)}function fn(t){var e=t.getBoundingClientRect(),n=Z(e.width)/t.offsetWidth||1,r=Z(e.height)/t.offsetHeight||1;return n!==1||r!==1}function cn(t,e,n){n===void 0&&(n=!1);var r=B(e),o=B(e)&&fn(e),i=I$1(e),a=ee(t,o),s={scrollLeft:0,scrollTop:0},f={x:0,y:0};return (r||!r&&!n)&&((C(e)!=="body"||Se(i))&&(s=sn(e)),B(e)?(f=ee(e,!0),f.x+=e.clientLeft,f.y+=e.clientTop):i&&(f.x=Be(i))),{x:a.left+s.scrollLeft-f.x,y:a.top+s.scrollTop-f.y,width:a.width,height:a.height}}function pn(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i);});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var f=e.get(s);f&&o(f);}}),r.push(i);}return t.forEach(function(i){n.has(i.name)||o(i);}),r}function un(t){var e=pn(t);return ot.reduce(function(n,r){return n.concat(e.filter(function(o){return o.phase===r}))},[])}function ln(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t());});})),e}}function dn(t){var e=t.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return !e.some(function(r){return !(r&&typeof r.getBoundingClientRect=="function")})}function we(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,o=e.defaultOptions,i=o===void 0?Ot:o;return function(a,s,f){f===void 0&&(f=i);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,i),modifiersData:{},elements:{reference:a,popper:s},attributes:{},styles:{}},u=[],m=!1,v={state:c,setOptions:function(p){var g=typeof p=="function"?p(c.options):p;h(),c.options=Object.assign({},i,c.options,g),c.scrollParents={reference:Q(a)?ce(a):a.contextElement?ce(a.contextElement):[],popper:ce(s)};var x=un(dn([].concat(r,c.options.modifiers)));return c.orderedModifiers=x.filter(function(y){return y.enabled}),l(),v.update()},forceUpdate:function(){if(!m){var p=c.elements,g=p.reference,x=p.popper;if($t(g,x)){c.rects={reference:cn(g,se(x),c.options.strategy==="fixed"),popper:ke(x)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(j){return c.modifiersData[j.name]=Object.assign({},j.data)});for(var y=0;y<c.orderedModifiers.length;y++){if(c.reset===!0){c.reset=!1,y=-1;continue}var $=c.orderedModifiers[y],d=$.fn,b=$.options,w=b===void 0?{}:b,O=$.name;typeof d=="function"&&(c=d({state:c,options:w,name:O,instance:v})||c);}}}},update:ln(function(){return new Promise(function(p){v.forceUpdate(),p(c);})}),destroy:function(){h(),m=!0;}};if(!$t(a,s))return v;v.setOptions(f).then(function(p){!m&&f.onFirstUpdate&&f.onFirstUpdate(p);});function l(){c.orderedModifiers.forEach(function(p){var g=p.name,x=p.options,y=x===void 0?{}:x,$=p.effect;if(typeof $=="function"){var d=$({state:c,name:g,instance:v,options:y}),b=function(){};u.push(d||b);}});}function h(){u.forEach(function(p){return p()}),u=[];}return v}}we();var mn=[Re,He,Me,Ae];we({defaultModifiers:mn});var gn=[Re,He,Me,Ae,wt,vt,xt,pt,bt],yn=we({defaultModifiers:gn});
12522
+ var E$1="top",R="bottom",W="right",P$1="left",me="auto",G=[E$1,R,W,P$1],U$1="start",J="end",Xe="clippingParents",je="viewport",K="popper",Ye="reference",De=G.reduce(function(t,e){return t.concat([e+"-"+U$1,e+"-"+J])},[]),Ee=[].concat(G,[me]).reduce(function(t,e){return t.concat([e,e+"-"+U$1,e+"-"+J])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt];function C(t){return t?(t.nodeName||"").toLowerCase():null}function H(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Q(t){var e=H(t).Element;return t instanceof e||t instanceof Element}function B(t){var e=H(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Pe(t){if(typeof ShadowRoot=="undefined")return !1;var e=H(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Mt(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},o=e.attributes[n]||{},i=e.elements[n];!B(i)||!C(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s);}));});}function Rt(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var o=e.elements[r],i=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),s=a.reduce(function(f,c){return f[c]="",f},{});!B(o)||!C(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(f){o.removeAttribute(f);}));});}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q(t){return t.split("-")[0]}var X$1=Math.max,ve=Math.min,Z=Math.round;function ee(t,e){e===void 0&&(e=!1);var n=t.getBoundingClientRect(),r=1,o=1;if(B(t)&&e){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(r=Z(n.width)/a||1),i>0&&(o=Z(n.height)/i||1);}return {width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function ke(t){var e=ee(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function it(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return !0;if(n&&Pe(n)){var r=e;do{if(r&&t.isSameNode(r))return !0;r=r.parentNode||r.host;}while(r)}return !1}function N$1(t){return H(t).getComputedStyle(t)}function Wt(t){return ["table","td","th"].indexOf(C(t))>=0}function I$1(t){return ((Q(t)?t.ownerDocument:t.document)||window.document).documentElement}function ge(t){return C(t)==="html"?t:t.assignedSlot||t.parentNode||(Pe(t)?t.host:null)||I$1(t)}function at(t){return !B(t)||N$1(t).position==="fixed"?null:t.offsetParent}function Bt(t){var e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&B(t)){var r=N$1(t);if(r.position==="fixed")return null}var o=ge(t);for(Pe(o)&&(o=o.host);B(o)&&["html","body"].indexOf(C(o))<0;){var i=N$1(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode;}return null}function se(t){for(var e=H(t),n=at(t);n&&Wt(n)&&N$1(n).position==="static";)n=at(n);return n&&(C(n)==="html"||C(n)==="body"&&N$1(n).position==="static")?e:n||Bt(t)||e}function Le(t){return ["top","bottom"].indexOf(t)>=0?"x":"y"}function fe(t,e,n){return X$1(t,ve(e,n))}function St(t,e,n){var r=fe(t,e,n);return r>n?n:r}function st(){return {top:0,right:0,bottom:0,left:0}}function ft(t){return Object.assign({},st(),t)}function ct(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var Tt=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,ft(typeof t!="number"?t:ct(t,G))};function Ht(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=q(n.placement),f=Le(s),c=[P$1,W].indexOf(s)>=0,u=c?"height":"width";if(!(!i||!a)){var m=Tt(o.padding,n),v=ke(i),l=f==="y"?E$1:P$1,h=f==="y"?R:W,p=n.rects.reference[u]+n.rects.reference[f]-a[f]-n.rects.popper[u],g=a[f]-n.rects.reference[f],x=se(i),y=x?f==="y"?x.clientHeight||0:x.clientWidth||0:0,$=p/2-g/2,d=m[l],b=y-v[u]-m[h],w=y/2-v[u]/2+$,O=fe(d,w,b),j=f;n.modifiersData[r]=(e={},e[j]=O,e.centerOffset=O-w,e);}}function Ct(t){var e=t.state,n=t.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||!it(e.elements.popper,o)||(e.elements.arrow=o));}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(t){return t.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(t){var e=t.x,n=t.y,r=window,o=r.devicePixelRatio||1;return {x:Z(e*o)/o||0,y:Z(n*o)/o||0}}function ut(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,a=t.offsets,s=t.position,f=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,m=t.isFixed,v=a.x,l=v===void 0?0:v,h=a.y,p=h===void 0?0:h,g=typeof u=="function"?u({x:l,y:p}):{x:l,y:p};l=g.x,p=g.y;var x=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),$=P$1,d=E$1,b=window;if(c){var w=se(n),O="clientHeight",j="clientWidth";if(w===H(n)&&(w=I$1(n),N$1(w).position!=="static"&&s==="absolute"&&(O="scrollHeight",j="scrollWidth")),w=w,o===E$1||(o===P$1||o===W)&&i===J){d=R;var A=m&&w===b&&b.visualViewport?b.visualViewport.height:w[O];p-=A-r.height,p*=f?1:-1;}if(o===P$1||(o===E$1||o===R)&&i===J){$=W;var k=m&&w===b&&b.visualViewport?b.visualViewport.width:w[j];l-=k-r.width,l*=f?1:-1;}}var D=Object.assign({position:s},c&&qt),S=u===!0?Vt({x:l,y:p}):{x:l,y:p};if(l=S.x,p=S.y,f){var L;return Object.assign({},D,(L={},L[d]=y?"0":"",L[$]=x?"0":"",L.transform=(b.devicePixelRatio||1)<=1?"translate("+l+"px, "+p+"px)":"translate3d("+l+"px, "+p+"px, 0)",L))}return Object.assign({},D,(e={},e[d]=y?p+"px":"",e[$]=x?l+"px":"",e.transform="",e))}function Nt(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,f=s===void 0?!0:s,c={placement:q(e.placement),variation:te(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,ut(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:f})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,ut(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement});}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye={passive:!0};function It(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,f=H(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,ye);}),s&&f.addEventListener("resize",n.update,ye),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,ye);}),s&&f.removeEventListener("resize",n.update,ye);}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be(t){return t.replace(/left|right|bottom|top/g,function(e){return _t[e]})}var zt={start:"end",end:"start"};function lt(t){return t.replace(/start|end/g,function(e){return zt[e]})}function We(t){var e=H(t),n=e.pageXOffset,r=e.pageYOffset;return {scrollLeft:n,scrollTop:r}}function Be(t){return ee(I$1(t)).left+We(t).scrollLeft}function Ft(t){var e=H(t),n=I$1(t),r=e.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+Be(t),y:s}}function Ut(t){var e,n=I$1(t),r=We(t),o=(e=t.ownerDocument)==null?void 0:e.body,i=X$1(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=X$1(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Be(t),f=-r.scrollTop;return N$1(o||n).direction==="rtl"&&(s+=X$1(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:f}}function Se(t){var e=N$1(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return /auto|scroll|overlay|hidden/.test(n+o+r)}function dt(t){return ["html","body","#document"].indexOf(C(t))>=0?t.ownerDocument.body:B(t)&&Se(t)?t:dt(ge(t))}function ce(t,e){var n;e===void 0&&(e=[]);var r=dt(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=H(r),a=o?[i].concat(i.visualViewport||[],Se(r)?r:[]):r,s=e.concat(a);return o?s:s.concat(ce(ge(a)))}function Te(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Xt(t){var e=ee(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function ht(t,e){return e===je?Te(Ft(t)):Q(e)?Xt(e):Te(Ut(I$1(t)))}function Yt(t){var e=ce(ge(t)),n=["absolute","fixed"].indexOf(N$1(t).position)>=0,r=n&&B(t)?se(t):t;return Q(r)?e.filter(function(o){return Q(o)&&it(o,r)&&C(o)!=="body"}):[]}function Gt(t,e,n){var r=e==="clippingParents"?Yt(t):[].concat(e),o=[].concat(r,[n]),i=o[0],a=o.reduce(function(s,f){var c=ht(t,f);return s.top=X$1(c.top,s.top),s.right=ve(c.right,s.right),s.bottom=ve(c.bottom,s.bottom),s.left=X$1(c.left,s.left),s},ht(t,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function mt(t){var e=t.reference,n=t.element,r=t.placement,o=r?q(r):null,i=r?te(r):null,a=e.x+e.width/2-n.width/2,s=e.y+e.height/2-n.height/2,f;switch(o){case E$1:f={x:a,y:e.y-n.height};break;case R:f={x:a,y:e.y+e.height};break;case W:f={x:e.x+e.width,y:s};break;case P$1:f={x:e.x-n.width,y:s};break;default:f={x:e.x,y:e.y};}var c=o?Le(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case U$1:f[c]=f[c]-(e[u]/2-n[u]/2);break;case J:f[c]=f[c]+(e[u]/2-n[u]/2);break}}return f}function ne(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=r===void 0?t.placement:r,i=n.boundary,a=i===void 0?Xe:i,s=n.rootBoundary,f=s===void 0?je:s,c=n.elementContext,u=c===void 0?K:c,m=n.altBoundary,v=m===void 0?!1:m,l=n.padding,h=l===void 0?0:l,p=ft(typeof h!="number"?h:ct(h,G)),g=u===K?Ye:K,x=t.rects.popper,y=t.elements[v?g:u],$=Gt(Q(y)?y:y.contextElement||I$1(t.elements.popper),a,f),d=ee(t.elements.reference),b=mt({reference:d,element:x,strategy:"absolute",placement:o}),w=Te(Object.assign({},x,b)),O=u===K?w:d,j={top:$.top-O.top+p.top,bottom:O.bottom-$.bottom+p.bottom,left:$.left-O.left+p.left,right:O.right-$.right+p.right},A=t.modifiersData.offset;if(u===K&&A){var k=A[o];Object.keys(j).forEach(function(D){var S=[W,R].indexOf(D)>=0?1:-1,L=[E$1,R].indexOf(D)>=0?"y":"x";j[D]+=k[L]*S;});}return j}function Jt(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=f===void 0?Ee:f,u=te(r),m=u?s?De:De.filter(function(h){return te(h)===u}):G,v=m.filter(function(h){return c.indexOf(h)>=0});v.length===0&&(v=m);var l=v.reduce(function(h,p){return h[p]=ne(t,{placement:p,boundary:o,rootBoundary:i,padding:a})[q(p)],h},{});return Object.keys(l).sort(function(h,p){return l[h]-l[p]})}function Kt(t){if(q(t)===me)return [];var e=be(t);return [lt(t),e,lt(e)]}function Qt(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,f=n.fallbackPlacements,c=n.padding,u=n.boundary,m=n.rootBoundary,v=n.altBoundary,l=n.flipVariations,h=l===void 0?!0:l,p=n.allowedAutoPlacements,g=e.options.placement,x=q(g),y=x===g,$=f||(y||!h?[be(g)]:Kt(g)),d=[g].concat($).reduce(function(z,V){return z.concat(q(V)===me?Jt(e,{placement:V,boundary:u,rootBoundary:m,padding:c,flipVariations:h,allowedAutoPlacements:p}):V)},[]),b=e.rects.reference,w=e.rects.popper,O=new Map,j=!0,A=d[0],k=0;k<d.length;k++){var D=d[k],S=q(D),L=te(D)===U$1,re=[E$1,R].indexOf(S)>=0,oe=re?"width":"height",M=ne(e,{placement:D,boundary:u,rootBoundary:m,altBoundary:v,padding:c}),T=re?L?W:P$1:L?R:E$1;b[oe]>w[oe]&&(T=be(T));var pe=be(T),_=[];if(i&&_.push(M[S]<=0),s&&_.push(M[T]<=0,M[pe]<=0),_.every(function(z){return z})){A=D,j=!1;break}O.set(D,_);}if(j)for(var ue=h?3:1,xe=function(z){var V=d.find(function(de){var ae=O.get(de);if(ae)return ae.slice(0,z).every(function(Y){return Y})});if(V)return A=V,"break"},ie=ue;ie>0;ie--){var le=xe(ie);if(le==="break")break}e.placement!==A&&(e.modifiersData[r]._skip=!0,e.placement=A,e.reset=!0);}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function yt(t){return [E$1,W,R,P$1].some(function(e){return t[e]>=0})}function Zt(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=ne(e,{elementContext:"reference"}),s=ne(e,{altBoundary:!0}),f=gt(a,r),c=gt(s,o,i),u=yt(f),m=yt(c);e.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:m},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":m});}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(t,e,n){var r=q(t),o=[P$1,E$1].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[P$1,W].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function tn(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=o===void 0?[0,0]:o,a=Ee.reduce(function(u,m){return u[m]=en(m,e.rects,i),u},{}),s=a[e.placement],f=s.x,c=s.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=f,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=a;}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(t){var e=t.state,n=t.name;e.modifiersData[n]=mt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement});}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(t){return t==="x"?"y":"x"}function on(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,f=n.boundary,c=n.rootBoundary,u=n.altBoundary,m=n.padding,v=n.tether,l=v===void 0?!0:v,h=n.tetherOffset,p=h===void 0?0:h,g=ne(e,{boundary:f,rootBoundary:c,padding:m,altBoundary:u}),x=q(e.placement),y=te(e.placement),$=!y,d=Le(x),b=rn(d),w=e.modifiersData.popperOffsets,O=e.rects.reference,j=e.rects.popper,A=typeof p=="function"?p(Object.assign({},e.rects,{placement:e.placement})):p,k=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),D=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,S={x:0,y:0};if(w){if(i){var L,re=d==="y"?E$1:P$1,oe=d==="y"?R:W,M=d==="y"?"height":"width",T=w[d],pe=T+g[re],_=T-g[oe],ue=l?-j[M]/2:0,xe=y===U$1?O[M]:j[M],ie=y===U$1?-j[M]:-O[M],le=e.elements.arrow,z=l&&le?ke(le):{width:0,height:0},V=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:st(),de=V[re],ae=V[oe],Y=fe(0,O[M],z[M]),jt=$?O[M]/2-ue-Y-de-k.mainAxis:xe-Y-de-k.mainAxis,Dt=$?-O[M]/2+ue+Y+ae+k.mainAxis:ie+Y+ae+k.mainAxis,Oe=e.elements.arrow&&se(e.elements.arrow),Et=Oe?d==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,Ce=(L=D==null?void 0:D[d])!=null?L:0,Pt=T+jt-Ce-Et,At=T+Dt-Ce,qe=fe(l?ve(pe,Pt):pe,T,l?X$1(_,At):_);w[d]=qe,S[d]=qe-T;}if(s){var Ve,kt=d==="x"?E$1:P$1,Lt=d==="x"?R:W,F=w[b],he=b==="y"?"height":"width",Ne=F+g[kt],Ie=F-g[Lt],$e=[E$1,P$1].indexOf(x)!==-1,_e=(Ve=D==null?void 0:D[b])!=null?Ve:0,ze=$e?Ne:F-O[he]-j[he]-_e+k.altAxis,Fe=$e?F+O[he]+j[he]-_e-k.altAxis:Ie,Ue=l&&$e?St(ze,F,Fe):fe(l?ze:Ne,F,l?Fe:Ie);w[b]=Ue,S[b]=Ue-F;}e.modifiersData[r]=S;}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(t){return {scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function sn(t){return t===H(t)||!B(t)?We(t):an(t)}function fn(t){var e=t.getBoundingClientRect(),n=Z(e.width)/t.offsetWidth||1,r=Z(e.height)/t.offsetHeight||1;return n!==1||r!==1}function cn(t,e,n){n===void 0&&(n=!1);var r=B(e),o=B(e)&&fn(e),i=I$1(e),a=ee(t,o),s={scrollLeft:0,scrollTop:0},f={x:0,y:0};return (r||!r&&!n)&&((C(e)!=="body"||Se(i))&&(s=sn(e)),B(e)?(f=ee(e,!0),f.x+=e.clientLeft,f.y+=e.clientTop):i&&(f.x=Be(i))),{x:a.left+s.scrollLeft-f.x,y:a.top+s.scrollTop-f.y,width:a.width,height:a.height}}function pn(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i);});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var f=e.get(s);f&&o(f);}}),r.push(i);}return t.forEach(function(i){n.has(i.name)||o(i);}),r}function un(t){var e=pn(t);return ot.reduce(function(n,r){return n.concat(e.filter(function(o){return o.phase===r}))},[])}function ln(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t());});})),e}}function dn(t){var e=t.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return !e.some(function(r){return !(r&&typeof r.getBoundingClientRect=="function")})}function we(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,o=e.defaultOptions,i=o===void 0?Ot:o;return function(a,s,f){f===void 0&&(f=i);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,i),modifiersData:{},elements:{reference:a,popper:s},attributes:{},styles:{}},u=[],m=!1,v={state:c,setOptions:function(p){var g=typeof p=="function"?p(c.options):p;h(),c.options=Object.assign({},i,c.options,g),c.scrollParents={reference:Q(a)?ce(a):a.contextElement?ce(a.contextElement):[],popper:ce(s)};var x=un(dn([].concat(r,c.options.modifiers)));return c.orderedModifiers=x.filter(function(y){return y.enabled}),l(),v.update()},forceUpdate:function(){if(!m){var p=c.elements,g=p.reference,x=p.popper;if($t(g,x)){c.rects={reference:cn(g,se(x),c.options.strategy==="fixed"),popper:ke(x)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(j){return c.modifiersData[j.name]=Object.assign({},j.data)});for(var y=0;y<c.orderedModifiers.length;y++){if(c.reset===!0){c.reset=!1,y=-1;continue}var $=c.orderedModifiers[y],d=$.fn,b=$.options,w=b===void 0?{}:b,O=$.name;typeof d=="function"&&(c=d({state:c,options:w,name:O,instance:v})||c);}}}},update:ln(function(){return new Promise(function(p){v.forceUpdate(),p(c);})}),destroy:function(){h(),m=!0;}};if(!$t(a,s))return v;v.setOptions(f).then(function(p){!m&&f.onFirstUpdate&&f.onFirstUpdate(p);});function l(){c.orderedModifiers.forEach(function(p){var g=p.name,x=p.options,y=x===void 0?{}:x,$=p.effect;if(typeof $=="function"){var d=$({state:c,name:g,instance:v,options:y}),b=function(){};u.push(d||b);}});}function h(){u.forEach(function(p){return p()}),u=[];}return v}}we();var mn=[Re,He,Me,Ae];we({defaultModifiers:mn});var gn=[Re,He,Me,Ae,wt,vt,xt,pt,bt],yn=we({defaultModifiers:gn});
12353
12523
 
12354
12524
  const obtainAllFocusableElements = (element) => {
12355
12525
  const nodes = [];
@@ -12651,10 +12821,10 @@
12651
12821
  };
12652
12822
  }
12653
12823
  });
12654
- function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
12824
+ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
12655
12825
  return vue.renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
12656
12826
  }
12657
- var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$H], ["__file", "focus-trap.vue"]]);
12827
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$F], ["__file", "focus-trap.vue"]]);
12658
12828
 
12659
12829
  const POSITIONING_STRATEGIES = ["fixed", "absolute"];
12660
12830
  const usePopperCoreConfigProps = buildProps({
@@ -12811,11 +12981,11 @@
12811
12981
  }
12812
12982
  }
12813
12983
 
12814
- const __default__$1f = {
12984
+ const __default__$1h = {
12815
12985
  name: "ElPopperContent"
12816
12986
  };
12817
12987
  const _sfc_main$24 = /* @__PURE__ */ vue.defineComponent({
12818
- ...__default__$1f,
12988
+ ...__default__$1h,
12819
12989
  props: usePopperContentProps,
12820
12990
  emits: usePopperContentEmits,
12821
12991
  setup(__props, { expose, emit }) {
@@ -12889,13 +13059,13 @@
12889
13059
  const onFocusInTrap = (event) => {
12890
13060
  var _a;
12891
13061
  if (props.visible && !trapped.value) {
12892
- if (event.relatedTarget) {
12893
- (_a = event.relatedTarget) == null ? void 0 : _a.focus();
12894
- }
12895
13062
  if (event.target) {
12896
13063
  focusStartRef.value = event.target;
12897
13064
  }
12898
13065
  trapped.value = true;
13066
+ if (event.relatedTarget) {
13067
+ (_a = event.relatedTarget) == null ? void 0 : _a.focus();
13068
+ }
12899
13069
  }
12900
13070
  };
12901
13071
  const onFocusoutPrevented = () => {
@@ -13186,7 +13356,7 @@
13186
13356
  };
13187
13357
  }
13188
13358
  });
13189
- function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
13359
+ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
13190
13360
  const _component_el_popper_content = vue.resolveComponent("el-popper-content");
13191
13361
  return vue.openBlock(), vue.createBlock(vue.Teleport, {
13192
13362
  disabled: !_ctx.teleported,
@@ -13241,7 +13411,7 @@
13241
13411
  }, 8, ["name", "onAfterLeave", "onBeforeEnter", "onAfterEnter", "onBeforeLeave"])
13242
13412
  ], 8, ["disabled", "to"]);
13243
13413
  }
13244
- var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$G], ["__file", "content.vue"]]);
13414
+ var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$E], ["__file", "content.vue"]]);
13245
13415
 
13246
13416
  const isTriggerType = (trigger, type) => {
13247
13417
  if (isArray(trigger)) {
@@ -13306,7 +13476,7 @@
13306
13476
  };
13307
13477
  }
13308
13478
  });
13309
- function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
13479
+ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
13310
13480
  const _component_el_popper_trigger = vue.resolveComponent("el-popper-trigger");
13311
13481
  return vue.openBlock(), vue.createBlock(_component_el_popper_trigger, {
13312
13482
  id: _ctx.id,
@@ -13328,7 +13498,7 @@
13328
13498
  _: 3
13329
13499
  }, 8, ["id", "virtual-ref", "open", "virtual-triggering", "class", "onBlur", "onClick", "onContextmenu", "onFocus", "onMouseenter", "onMouseleave", "onKeydown"]);
13330
13500
  }
13331
- var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$F], ["__file", "trigger.vue"]]);
13501
+ var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$D], ["__file", "trigger.vue"]]);
13332
13502
 
13333
13503
  const { useModelToggleProps, useModelToggle, useModelToggleEmits } = createModelToggleComposable("visible");
13334
13504
  const _sfc_main$21 = vue.defineComponent({
@@ -13378,7 +13548,7 @@
13378
13548
  };
13379
13549
  const open = vue.ref(false);
13380
13550
  const toggleReason = vue.ref(void 0);
13381
- const { show, hide } = useModelToggle({
13551
+ const { show, hide, hasUpdateHandler } = useModelToggle({
13382
13552
  indicator: open,
13383
13553
  toggleReason
13384
13554
  });
@@ -13388,7 +13558,7 @@
13388
13558
  open: show,
13389
13559
  close: hide
13390
13560
  });
13391
- const controlled = vue.computed(() => isBoolean(props.visible));
13561
+ const controlled = vue.computed(() => isBoolean(props.visible) && !hasUpdateHandler.value);
13392
13562
  vue.provide(TOOLTIP_INJECTION_KEY, {
13393
13563
  controlled,
13394
13564
  id,
@@ -13446,9 +13616,9 @@
13446
13616
  };
13447
13617
  }
13448
13618
  });
13449
- const _hoisted_1$11 = ["innerHTML"];
13450
- const _hoisted_2$G = { key: 1 };
13451
- function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
13619
+ const _hoisted_1$12 = ["innerHTML"];
13620
+ const _hoisted_2$F = { key: 1 };
13621
+ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
13452
13622
  const _component_el_tooltip_trigger = vue.resolveComponent("el-tooltip-trigger");
13453
13623
  const _component_el_popper_arrow = vue.resolveComponent("el-popper-arrow");
13454
13624
  const _component_el_tooltip_content = vue.resolveComponent("el-tooltip-content");
@@ -13504,7 +13674,7 @@
13504
13674
  _ctx.rawContent ? (vue.openBlock(), vue.createElementBlock("span", {
13505
13675
  key: 0,
13506
13676
  innerHTML: _ctx.content
13507
- }, null, 8, _hoisted_1$11)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$G, vue.toDisplayString(_ctx.content), 1))
13677
+ }, null, 8, _hoisted_1$12)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$F, vue.toDisplayString(_ctx.content), 1))
13508
13678
  ]),
13509
13679
  _ctx.compatShowArrow ? (vue.openBlock(), vue.createBlock(_component_el_popper_arrow, {
13510
13680
  key: 0,
@@ -13517,7 +13687,7 @@
13517
13687
  _: 3
13518
13688
  }, 8, ["role"]);
13519
13689
  }
13520
- var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$E], ["__file", "tooltip.vue"]]);
13690
+ var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$C], ["__file", "tooltip.vue"]]);
13521
13691
 
13522
13692
  const ElTooltip = withInstall(Tooltip);
13523
13693
 
@@ -13589,15 +13759,15 @@
13589
13759
  select: (item) => isObject$1(item)
13590
13760
  };
13591
13761
 
13592
- const _hoisted_1$10 = ["aria-expanded", "aria-owns"];
13593
- const _hoisted_2$F = { key: 0 };
13594
- const _hoisted_3$n = ["id", "aria-selected", "onClick"];
13595
- const __default__$1e = {
13762
+ const _hoisted_1$11 = ["aria-expanded", "aria-owns"];
13763
+ const _hoisted_2$E = { key: 0 };
13764
+ const _hoisted_3$l = ["id", "aria-selected", "onClick"];
13765
+ const __default__$1g = {
13596
13766
  name: "ElAutocomplete",
13597
13767
  inheritAttrs: false
13598
13768
  };
13599
13769
  const _sfc_main$20 = /* @__PURE__ */ vue.defineComponent({
13600
- ...__default__$1e,
13770
+ ...__default__$1g,
13601
13771
  props: autocompleteProps,
13602
13772
  emits: autocompleteEmits,
13603
13773
  setup(__props, { expose, emit }) {
@@ -13831,7 +14001,7 @@
13831
14001
  role: "listbox"
13832
14002
  }, {
13833
14003
  default: vue.withCtx(() => [
13834
- vue.unref(suggestionLoading) ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$F, [
14004
+ vue.unref(suggestionLoading) ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$E, [
13835
14005
  vue.createVNode(vue.unref(ElIcon), {
13836
14006
  class: vue.normalizeClass(vue.unref(ns).is("loading"))
13837
14007
  }, {
@@ -13852,7 +14022,7 @@
13852
14022
  vue.renderSlot(_ctx.$slots, "default", { item }, () => [
13853
14023
  vue.createTextVNode(vue.toDisplayString(item[_ctx.valueKey]), 1)
13854
14024
  ])
13855
- ], 10, _hoisted_3$n);
14025
+ ], 10, _hoisted_3$l);
13856
14026
  }), 128))
13857
14027
  ]),
13858
14028
  _: 3
@@ -13914,7 +14084,7 @@
13914
14084
  ])
13915
14085
  } : void 0
13916
14086
  ]), 1040, ["model-value", "onKeydown"])
13917
- ], 14, _hoisted_1$10)
14087
+ ], 14, _hoisted_1$11)
13918
14088
  ]),
13919
14089
  _: 3
13920
14090
  }, 8, ["visible", "placement", "popper-class", "teleported", "transition"]);
@@ -13955,12 +14125,12 @@
13955
14125
  error: (evt) => evt instanceof Event
13956
14126
  };
13957
14127
 
13958
- const _hoisted_1$$ = ["src", "alt", "srcset"];
13959
- const __default__$1d = {
14128
+ const _hoisted_1$10 = ["src", "alt", "srcset"];
14129
+ const __default__$1f = {
13960
14130
  name: "ElAvatar"
13961
14131
  };
13962
14132
  const _sfc_main$1$ = /* @__PURE__ */ vue.defineComponent({
13963
- ...__default__$1d,
14133
+ ...__default__$1f,
13964
14134
  props: avatarProps,
13965
14135
  emits: avatarEmits,
13966
14136
  setup(__props, { emit }) {
@@ -14004,7 +14174,7 @@
14004
14174
  srcset: _ctx.srcSet,
14005
14175
  style: vue.normalizeStyle(vue.unref(fitStyle)),
14006
14176
  onError: handleError
14007
- }, null, 44, _hoisted_1$$)) : _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 1 }, {
14177
+ }, null, 44, _hoisted_1$10)) : _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 1 }, {
14008
14178
  default: vue.withCtx(() => [
14009
14179
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon)))
14010
14180
  ]),
@@ -14040,12 +14210,12 @@
14040
14210
  click: (evt) => evt instanceof MouseEvent
14041
14211
  };
14042
14212
 
14043
- const _hoisted_1$_ = ["onClick"];
14044
- const __default__$1c = {
14213
+ const _hoisted_1$$ = ["onClick"];
14214
+ const __default__$1e = {
14045
14215
  name: "ElBacktop"
14046
14216
  };
14047
14217
  const _sfc_main$1_ = /* @__PURE__ */ vue.defineComponent({
14048
- ...__default__$1c,
14218
+ ...__default__$1e,
14049
14219
  props: backtopProps,
14050
14220
  emits: backtopEmits,
14051
14221
  setup(__props, { emit }) {
@@ -14120,7 +14290,7 @@
14120
14290
  _: 1
14121
14291
  }, 8, ["class"])
14122
14292
  ])
14123
- ], 14, _hoisted_1$_)) : vue.createCommentVNode("v-if", true)
14293
+ ], 14, _hoisted_1$$)) : vue.createCommentVNode("v-if", true)
14124
14294
  ]),
14125
14295
  _: 3
14126
14296
  }, 8, ["name"]);
@@ -14149,12 +14319,12 @@
14149
14319
  }
14150
14320
  });
14151
14321
 
14152
- const _hoisted_1$Z = ["textContent"];
14153
- const __default__$1b = {
14322
+ const _hoisted_1$_ = ["textContent"];
14323
+ const __default__$1d = {
14154
14324
  name: "ElBadge"
14155
14325
  };
14156
14326
  const _sfc_main$1Z = /* @__PURE__ */ vue.defineComponent({
14157
- ...__default__$1b,
14327
+ ...__default__$1d,
14158
14328
  props: badgeProps,
14159
14329
  setup(__props, { expose }) {
14160
14330
  const props = __props;
@@ -14188,7 +14358,7 @@
14188
14358
  vue.unref(ns).is("dot", _ctx.isDot)
14189
14359
  ]),
14190
14360
  textContent: vue.toDisplayString(vue.unref(content))
14191
- }, null, 10, _hoisted_1$Z), [
14361
+ }, null, 10, _hoisted_1$_), [
14192
14362
  [vue.vShow, !_ctx.hidden && (vue.unref(content) || _ctx.isDot)]
14193
14363
  ])
14194
14364
  ]),
@@ -14213,11 +14383,11 @@
14213
14383
  }
14214
14384
  });
14215
14385
 
14216
- const __default__$1a = {
14386
+ const __default__$1c = {
14217
14387
  name: "ElBreadcrumb"
14218
14388
  };
14219
14389
  const _sfc_main$1Y = /* @__PURE__ */ vue.defineComponent({
14220
- ...__default__$1a,
14390
+ ...__default__$1c,
14221
14391
  props: breadcrumbProps,
14222
14392
  setup(__props) {
14223
14393
  const props = __props;
@@ -14256,11 +14426,11 @@
14256
14426
  }
14257
14427
  });
14258
14428
 
14259
- const __default__$19 = {
14429
+ const __default__$1b = {
14260
14430
  name: "ElBreadcrumbItem"
14261
14431
  };
14262
14432
  const _sfc_main$1X = /* @__PURE__ */ vue.defineComponent({
14263
- ...__default__$19,
14433
+ ...__default__$1b,
14264
14434
  props: breadcrumbItemProps,
14265
14435
  setup(__props) {
14266
14436
  const props = __props;
@@ -15290,12 +15460,12 @@
15290
15460
  });
15291
15461
  }
15292
15462
 
15293
- const _hoisted_1$Y = ["aria-disabled", "disabled", "autofocus", "type"];
15294
- const __default__$18 = {
15463
+ const _hoisted_1$Z = ["aria-disabled", "disabled", "autofocus", "type"];
15464
+ const __default__$1a = {
15295
15465
  name: "ElButton"
15296
15466
  };
15297
15467
  const _sfc_main$1W = /* @__PURE__ */ vue.defineComponent({
15298
- ...__default__$18,
15468
+ ...__default__$1a,
15299
15469
  props: buttonProps,
15300
15470
  emits: buttonEmits,
15301
15471
  setup(__props, { expose, emit }) {
@@ -15392,7 +15562,7 @@
15392
15562
  }, [
15393
15563
  vue.renderSlot(_ctx.$slots, "default")
15394
15564
  ], 2)) : vue.createCommentVNode("v-if", true)
15395
- ], 14, _hoisted_1$Y);
15565
+ ], 14, _hoisted_1$Z);
15396
15566
  };
15397
15567
  }
15398
15568
  });
@@ -15403,11 +15573,11 @@
15403
15573
  type: buttonProps.type
15404
15574
  };
15405
15575
 
15406
- const __default__$17 = {
15576
+ const __default__$19 = {
15407
15577
  name: "ElButtonGroup"
15408
15578
  };
15409
15579
  const _sfc_main$1V = /* @__PURE__ */ vue.defineComponent({
15410
- ...__default__$17,
15580
+ ...__default__$19,
15411
15581
  props: buttonGroupProps,
15412
15582
  setup(__props) {
15413
15583
  const props = __props;
@@ -16057,13 +16227,13 @@
16057
16227
  unlinkPanels: Boolean
16058
16228
  });
16059
16229
 
16060
- const _hoisted_1$X = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16061
- const _hoisted_2$E = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16062
- const __default__$16 = {
16230
+ const _hoisted_1$Y = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16231
+ const _hoisted_2$D = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16232
+ const __default__$18 = {
16063
16233
  name: "Picker"
16064
16234
  };
16065
16235
  const _sfc_main$1U = /* @__PURE__ */ vue.defineComponent({
16066
- ...__default__$16,
16236
+ ...__default__$18,
16067
16237
  props: timePickerDefaultProps,
16068
16238
  emits: [
16069
16239
  "update:modelValue",
@@ -16491,7 +16661,6 @@
16491
16661
  ref_key: "refPopper",
16492
16662
  ref: refPopper,
16493
16663
  visible: pickerVisible.value,
16494
- "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => pickerVisible.value = $event),
16495
16664
  effect: "light",
16496
16665
  pure: "",
16497
16666
  trigger: "click"
@@ -16544,14 +16713,14 @@
16544
16713
  vue.unref(triggerIcon) ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
16545
16714
  key: 0,
16546
16715
  class: vue.normalizeClass(vue.unref(nsInput).e("icon")),
16547
- onMousedown: onMouseDownInput,
16716
+ onMousedown: vue.withModifiers(onMouseDownInput, ["prevent"]),
16548
16717
  onTouchstart: onTouchStartInput
16549
16718
  }, {
16550
16719
  default: vue.withCtx(() => [
16551
16720
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(triggerIcon))))
16552
16721
  ]),
16553
16722
  _: 1
16554
- }, 8, ["class"])) : vue.createCommentVNode("v-if", true)
16723
+ }, 8, ["class", "onMousedown"])) : vue.createCommentVNode("v-if", true)
16555
16724
  ]),
16556
16725
  suffix: vue.withCtx(() => [
16557
16726
  showClose.value && _ctx.clearIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
@@ -16582,7 +16751,6 @@
16582
16751
  ]),
16583
16752
  style: vue.normalizeStyle(_ctx.$attrs.style),
16584
16753
  onClick: handleFocusInput,
16585
- onMousedown: onMouseDownInput,
16586
16754
  onMouseenter: onMouseEnter,
16587
16755
  onMouseleave: onMouseLeave,
16588
16756
  onTouchstart: onTouchStartInput,
@@ -16591,14 +16759,14 @@
16591
16759
  vue.unref(triggerIcon) ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
16592
16760
  key: 0,
16593
16761
  class: vue.normalizeClass([vue.unref(nsInput).e("icon"), vue.unref(nsRange).e("icon")]),
16594
- onMousedown: onMouseDownInput,
16762
+ onMousedown: vue.withModifiers(onMouseDownInput, ["prevent"]),
16595
16763
  onTouchstart: onTouchStartInput
16596
16764
  }, {
16597
16765
  default: vue.withCtx(() => [
16598
16766
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(triggerIcon))))
16599
16767
  ]),
16600
16768
  _: 1
16601
- }, 8, ["class"])) : vue.createCommentVNode("v-if", true),
16769
+ }, 8, ["class", "onMousedown"])) : vue.createCommentVNode("v-if", true),
16602
16770
  vue.createElementVNode("input", {
16603
16771
  id: _ctx.id && _ctx.id[0],
16604
16772
  autocomplete: "off",
@@ -16608,11 +16776,12 @@
16608
16776
  disabled: vue.unref(pickerDisabled),
16609
16777
  readonly: !_ctx.editable || _ctx.readonly,
16610
16778
  class: vue.normalizeClass(vue.unref(nsRange).b("input")),
16779
+ onMousedown: onMouseDownInput,
16611
16780
  onInput: handleStartInput,
16612
16781
  onChange: handleStartChange,
16613
16782
  onFocus: handleFocusInput,
16614
16783
  onBlur: handleBlurInput
16615
- }, null, 42, _hoisted_1$X),
16784
+ }, null, 42, _hoisted_1$Y),
16616
16785
  vue.renderSlot(_ctx.$slots, "range-separator", {}, () => [
16617
16786
  vue.createElementVNode("span", {
16618
16787
  class: vue.normalizeClass(vue.unref(nsRange).b("separator"))
@@ -16627,11 +16796,12 @@
16627
16796
  disabled: vue.unref(pickerDisabled),
16628
16797
  readonly: !_ctx.editable || _ctx.readonly,
16629
16798
  class: vue.normalizeClass(vue.unref(nsRange).b("input")),
16799
+ onMousedown: onMouseDownInput,
16630
16800
  onFocus: handleFocusInput,
16631
16801
  onBlur: handleBlurInput,
16632
16802
  onInput: handleEndInput,
16633
16803
  onChange: handleEndChange
16634
- }, null, 42, _hoisted_2$E),
16804
+ }, null, 42, _hoisted_2$D),
16635
16805
  _ctx.clearIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
16636
16806
  key: 1,
16637
16807
  class: vue.normalizeClass([
@@ -16847,25 +17017,28 @@
16847
17017
  }
16848
17018
  };
16849
17019
 
16850
- var vRepeatClick = {
17020
+ const RepeatClick = {
16851
17021
  beforeMount(el, binding) {
16852
17022
  let interval = null;
16853
- let startTime;
17023
+ let isHandlerCalled = false;
16854
17024
  const handler = () => binding.value && binding.value();
16855
17025
  const clear = () => {
16856
- if (Date.now() - startTime < 100) {
16857
- handler();
16858
- }
16859
17026
  clearInterval(interval);
16860
17027
  interval = null;
17028
+ if (!isHandlerCalled) {
17029
+ handler();
17030
+ }
17031
+ isHandlerCalled = false;
16861
17032
  };
16862
- on$1(el, "mousedown", (e) => {
17033
+ el.addEventListener("mousedown", (e) => {
16863
17034
  if (e.button !== 0)
16864
17035
  return;
16865
- startTime = Date.now();
16866
- once(document, "mouseup", clear);
17036
+ document.addEventListener("mouseup", clear, { once: true });
16867
17037
  clearInterval(interval);
16868
- interval = setInterval(handler, 100);
17038
+ interval = setInterval(() => {
17039
+ isHandlerCalled = true;
17040
+ handler();
17041
+ }, 100);
16869
17042
  });
16870
17043
  }
16871
17044
  };
@@ -16902,7 +17075,7 @@
16902
17075
  el[FOCUSABLE_CHILDREN] = obtainAllFocusableElements$1(el);
16903
17076
  FOCUS_STACK.push(el);
16904
17077
  if (FOCUS_STACK.length <= 1) {
16905
- on$1(document, "keydown", FOCUS_HANDLER);
17078
+ document.addEventListener("keydown", FOCUS_HANDLER);
16906
17079
  }
16907
17080
  },
16908
17081
  updated(el) {
@@ -16913,12 +17086,12 @@
16913
17086
  unmounted() {
16914
17087
  FOCUS_STACK.shift();
16915
17088
  if (FOCUS_STACK.length === 0) {
16916
- off(document, "keydown", FOCUS_HANDLER);
17089
+ document.removeEventListener("keydown", FOCUS_HANDLER);
16917
17090
  }
16918
17091
  }
16919
17092
  };
16920
17093
 
16921
- var D=!1,o,p,m,u,d,M,l,w,x,E,F,_,h,A,X;function a(){if(!D){D=!0;var e=navigator.userAgent,n=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),i=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(_=/\b(iPhone|iP[ao]d)/.exec(e),h=/\b(iP[ao]d)/.exec(e),E=/Android/i.exec(e),A=/FBAN\/\w+;/i.exec(e),X=/Mobile/i.exec(e),F=!!/Win64/.exec(e),n){o=n[1]?parseFloat(n[1]):n[5]?parseFloat(n[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);M=r?parseFloat(r[1])+4:o,p=n[2]?parseFloat(n[2]):NaN,m=n[3]?parseFloat(n[3]):NaN,u=n[4]?parseFloat(n[4]):NaN,u?(n=/(?:Chrome\/(\d+\.\d+))/.exec(e),d=n&&n[1]?parseFloat(n[1]):NaN):d=NaN;}else o=p=m=d=u=NaN;if(i){if(i[1]){var t=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);l=t?parseFloat(t[1].replace("_",".")):!0;}else l=!1;w=!!i[2],x=!!i[3];}else l=w=x=!1;}}var v={ie:function(){return a()||o},ieCompatibilityMode:function(){return a()||M>o},ie64:function(){return v.ie()&&F},firefox:function(){return a()||p},opera:function(){return a()||m},webkit:function(){return a()||u},safari:function(){return v.webkit()},chrome:function(){return a()||d},windows:function(){return a()||w},osx:function(){return a()||l},linux:function(){return a()||x},iphone:function(){return a()||_},mobile:function(){return a()||_||h||E||X},nativeApp:function(){return a()||A},android:function(){return a()||E},ipad:function(){return a()||h}},b=v;var s=!!(typeof window<"u"&&window.document&&window.document.createElement),Y={canUseDOM:s,canUseWorkers:typeof Worker<"u",canUseEventListeners:s&&!!(window.addEventListener||window.attachEvent),canUseViewport:s&&!!window.screen,isInWorker:!s},N=Y;var O;N.canUseDOM&&(O=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function L(e,n){if(!N.canUseDOM||n&&!("addEventListener"in document))return !1;var i="on"+e,r=i in document;if(!r){var t=document.createElement("div");t.setAttribute(i,"return;"),r=typeof t[i]=="function";}return !r&&O&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var I=L;var P=10,T=40,U=800;function S(e){var n=0,i=0,r=0,t=0;return "detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(n=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(n=i,i=0),r=n*P,t=i*P,"deltaY"in e&&(t=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||t)&&e.deltaMode&&(e.deltaMode==1?(r*=T,t*=T):(r*=U,t*=U)),r&&!n&&(n=r<1?-1:1),t&&!i&&(i=t<1?-1:1),{spinX:n,spinY:i,pixelX:r,pixelY:t}}S.getEventType=function(){return b.firefox()?"DOMMouseScroll":I("wheel")?"wheel":"mousewheel"};var W=S;/**
17094
+ var v=!1,o,f,s,u,d,N,l,p,m,w,D,x,E,M,F;function a(){if(!v){v=!0;var e=navigator.userAgent,n=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),i=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(x=/\b(iPhone|iP[ao]d)/.exec(e),E=/\b(iP[ao]d)/.exec(e),w=/Android/i.exec(e),M=/FBAN\/\w+;/i.exec(e),F=/Mobile/i.exec(e),D=!!/Win64/.exec(e),n){o=n[1]?parseFloat(n[1]):n[5]?parseFloat(n[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);N=r?parseFloat(r[1])+4:o,f=n[2]?parseFloat(n[2]):NaN,s=n[3]?parseFloat(n[3]):NaN,u=n[4]?parseFloat(n[4]):NaN,u?(n=/(?:Chrome\/(\d+\.\d+))/.exec(e),d=n&&n[1]?parseFloat(n[1]):NaN):d=NaN;}else o=f=s=d=u=NaN;if(i){if(i[1]){var t=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);l=t?parseFloat(t[1].replace("_",".")):!0;}else l=!1;p=!!i[2],m=!!i[3];}else l=p=m=!1;}}var _={ie:function(){return a()||o},ieCompatibilityMode:function(){return a()||N>o},ie64:function(){return _.ie()&&D},firefox:function(){return a()||f},opera:function(){return a()||s},webkit:function(){return a()||u},safari:function(){return _.webkit()},chrome:function(){return a()||d},windows:function(){return a()||p},osx:function(){return a()||l},linux:function(){return a()||m},iphone:function(){return a()||x},mobile:function(){return a()||x||E||w||F},nativeApp:function(){return a()||M},android:function(){return a()||w},ipad:function(){return a()||E}},A=_;var c=!!(typeof window<"u"&&window.document&&window.document.createElement),U={canUseDOM:c,canUseWorkers:typeof Worker<"u",canUseEventListeners:c&&!!(window.addEventListener||window.attachEvent),canUseViewport:c&&!!window.screen,isInWorker:!c},h=U;var X;h.canUseDOM&&(X=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S(e,n){if(!h.canUseDOM||n&&!("addEventListener"in document))return !1;var i="on"+e,r=i in document;if(!r){var t=document.createElement("div");t.setAttribute(i,"return;"),r=typeof t[i]=="function";}return !r&&X&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var b=S;var O=10,I=40,P=800;function T(e){var n=0,i=0,r=0,t=0;return "detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(n=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(n=i,i=0),r=n*O,t=i*O,"deltaY"in e&&(t=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||t)&&e.deltaMode&&(e.deltaMode==1?(r*=I,t*=I):(r*=P,t*=P)),r&&!n&&(n=r<1?-1:1),t&&!i&&(i=t<1?-1:1),{spinX:n,spinY:i,pixelX:r,pixelY:t}}T.getEventType=function(){return A.firefox()?"DOMMouseScroll":b("wheel")?"wheel":"mousewheel"};var Y=T;/**
16922
17095
  * Checks if an event is supported in the current execution environment.
16923
17096
  *
16924
17097
  * NOTE: This will not work correctly for non-generic events such as `change`,
@@ -16936,7 +17109,7 @@
16936
17109
  const mousewheel = function(element, callback) {
16937
17110
  if (element && element.addEventListener) {
16938
17111
  const fn = function(event) {
16939
- const normalized = W(event);
17112
+ const normalized = Y(event);
16940
17113
  callback && Reflect.apply(callback, this, [event, normalized]);
16941
17114
  };
16942
17115
  element.addEventListener("wheel", fn, { passive: true });
@@ -16948,19 +17121,6 @@
16948
17121
  }
16949
17122
  };
16950
17123
 
16951
- const Resize = {
16952
- beforeMount(el, binding) {
16953
- el._handleResize = () => {
16954
- var _a;
16955
- el && ((_a = binding.value) == null ? void 0 : _a.call(binding, el));
16956
- };
16957
- addResizeListener(el, el._handleResize);
16958
- },
16959
- beforeUnmount(el) {
16960
- removeResizeListener(el, el._handleResize);
16961
- }
16962
- };
16963
-
16964
17124
  const basicTimeSpinnerProps = buildProps({
16965
17125
  role: {
16966
17126
  type: String,
@@ -16982,8 +17142,8 @@
16982
17142
  ...disabledTimeListsProps
16983
17143
  });
16984
17144
 
16985
- const _hoisted_1$W = ["onClick"];
16986
- const _hoisted_2$D = ["onMouseenter"];
17145
+ const _hoisted_1$X = ["onClick"];
17146
+ const _hoisted_2$C = ["onMouseenter"];
16987
17147
  const _sfc_main$1T = /* @__PURE__ */ vue.defineComponent({
16988
17148
  __name: "basic-time-spinner",
16989
17149
  props: basicTimeSpinnerProps,
@@ -17198,7 +17358,7 @@
17198
17358
  ], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
17199
17359
  vue.createTextVNode(vue.toDisplayString(("0" + key).slice(-2)), 1)
17200
17360
  ], 64))
17201
- ], 10, _hoisted_1$W);
17361
+ ], 10, _hoisted_1$X);
17202
17362
  }), 128))
17203
17363
  ]),
17204
17364
  _: 2
@@ -17218,7 +17378,7 @@
17218
17378
  ]),
17219
17379
  _: 1
17220
17380
  }, 8, ["class"])), [
17221
- [vue.unref(vRepeatClick), onDecrement]
17381
+ [vue.unref(RepeatClick), onDecrement]
17222
17382
  ]),
17223
17383
  vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
17224
17384
  class: vue.normalizeClass(["arrow-down", vue.unref(ns).be("spinner", "arrow")])
@@ -17228,7 +17388,7 @@
17228
17388
  ]),
17229
17389
  _: 1
17230
17390
  }, 8, ["class"])), [
17231
- [vue.unref(vRepeatClick), onIncrement]
17391
+ [vue.unref(RepeatClick), onIncrement]
17232
17392
  ]),
17233
17393
  vue.createElementVNode("ul", {
17234
17394
  class: vue.normalizeClass(vue.unref(ns).be("spinner", "list"))
@@ -17252,7 +17412,7 @@
17252
17412
  ], 2);
17253
17413
  }), 128))
17254
17414
  ], 2)
17255
- ], 42, _hoisted_2$D);
17415
+ ], 42, _hoisted_2$C);
17256
17416
  }), 128)) : vue.createCommentVNode("v-if", true)
17257
17417
  ], 2);
17258
17418
  };
@@ -17421,7 +17581,7 @@
17421
17581
  }
17422
17582
  });
17423
17583
 
17424
- const _hoisted_1$V = ["disabled"];
17584
+ const _hoisted_1$W = ["disabled"];
17425
17585
  const _sfc_main$1R = /* @__PURE__ */ vue.defineComponent({
17426
17586
  __name: "panel-time-range",
17427
17587
  props: panelTimeRangeProps,
@@ -17682,7 +17842,7 @@
17682
17842
  class: vue.normalizeClass([vue.unref(nsTime).be("panel", "btn"), "confirm"]),
17683
17843
  disabled: vue.unref(btnConfirmDisabled),
17684
17844
  onClick: _cache[1] || (_cache[1] = ($event) => handleConfirm())
17685
- }, vue.toDisplayString(vue.unref(t)("el.datepicker.confirm")), 11, _hoisted_1$V)
17845
+ }, vue.toDisplayString(vue.unref(t)("el.datepicker.confirm")), 11, _hoisted_1$W)
17686
17846
  ], 2)
17687
17847
  ], 2)) : vue.createCommentVNode("v-if", true);
17688
17848
  };
@@ -17769,13 +17929,13 @@
17769
17929
  pick: (value) => isObject$1(value)
17770
17930
  };
17771
17931
 
17772
- const _hoisted_1$U = { key: 0 };
17773
- const _hoisted_2$C = ["onClick"];
17774
- const __default__$15 = {
17932
+ const _hoisted_1$V = { key: 0 };
17933
+ const _hoisted_2$B = ["onClick"];
17934
+ const __default__$17 = {
17775
17935
  name: "DateTable"
17776
17936
  };
17777
17937
  const _sfc_main$1Q = /* @__PURE__ */ vue.defineComponent({
17778
- ...__default__$15,
17938
+ ...__default__$17,
17779
17939
  props: dateTableProps,
17780
17940
  emits: dateTableEmits,
17781
17941
  setup(__props, { expose, emit }) {
@@ -17875,7 +18035,7 @@
17875
18035
  cellspacing: "0",
17876
18036
  cellpadding: "0"
17877
18037
  }, [
17878
- !_ctx.hideHeader ? (vue.openBlock(), vue.createElementBlock("thead", _hoisted_1$U, [
18038
+ !_ctx.hideHeader ? (vue.openBlock(), vue.createElementBlock("thead", _hoisted_1$V, [
17879
18039
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(weekDays), (day) => {
17880
18040
  return vue.openBlock(), vue.createElementBlock("th", { key: day }, vue.toDisplayString(day), 1);
17881
18041
  }), 128))
@@ -17904,7 +18064,7 @@
17904
18064
  vue.createElementVNode("span", null, vue.toDisplayString(cell.text), 1)
17905
18065
  ])
17906
18066
  ], 2)
17907
- ], 10, _hoisted_2$C);
18067
+ ], 10, _hoisted_2$B);
17908
18068
  }), 128))
17909
18069
  ], 2);
17910
18070
  }), 128))
@@ -17930,11 +18090,11 @@
17930
18090
  [INPUT_EVENT]: (value) => isDate(value)
17931
18091
  };
17932
18092
 
17933
- const __default__$14 = {
18093
+ const __default__$16 = {
17934
18094
  name: "ElCalendar"
17935
18095
  };
17936
18096
  const _sfc_main$1P = /* @__PURE__ */ vue.defineComponent({
17937
- ...__default__$14,
18097
+ ...__default__$16,
17938
18098
  props: calendarProps,
17939
18099
  emits: calendarEmits,
17940
18100
  setup(__props, { expose, emit }) {
@@ -18165,11 +18325,11 @@
18165
18325
  }
18166
18326
  });
18167
18327
 
18168
- const __default__$13 = {
18328
+ const __default__$15 = {
18169
18329
  name: "ElCard"
18170
18330
  };
18171
18331
  const _sfc_main$1O = /* @__PURE__ */ vue.defineComponent({
18172
- ...__default__$13,
18332
+ ...__default__$15,
18173
18333
  props: cardProps,
18174
18334
  setup(__props) {
18175
18335
  const ns = useNamespace("card");
@@ -18258,14 +18418,14 @@
18258
18418
  change: (current, prev) => [current, prev].every(isNumber)
18259
18419
  };
18260
18420
 
18261
- const _hoisted_1$T = ["onMouseenter", "onMouseleave"];
18262
- const _hoisted_2$B = ["onMouseenter", "onClick"];
18263
- const _hoisted_3$m = { key: 0 };
18264
- const __default__$12 = {
18421
+ const _hoisted_1$U = ["onMouseenter", "onMouseleave"];
18422
+ const _hoisted_2$A = ["onMouseenter", "onClick"];
18423
+ const _hoisted_3$k = { key: 0 };
18424
+ const __default__$14 = {
18265
18425
  name: "ElCarousel"
18266
18426
  };
18267
18427
  const _sfc_main$1N = /* @__PURE__ */ vue.defineComponent({
18268
- ...__default__$12,
18428
+ ...__default__$14,
18269
18429
  props: carouselProps,
18270
18430
  emits: carouselEmits,
18271
18431
  setup(__props, { expose, emit }) {
@@ -18347,6 +18507,7 @@
18347
18507
  if (oldIndex === activeIndex.value) {
18348
18508
  resetItemPosition(oldIndex);
18349
18509
  }
18510
+ resetTimer();
18350
18511
  }
18351
18512
  function resetItemPosition(oldIndex) {
18352
18513
  items.value.forEach((item, index) => {
@@ -18424,6 +18585,10 @@
18424
18585
  function next() {
18425
18586
  setActiveItem(activeIndex.value + 1);
18426
18587
  }
18588
+ function resetTimer() {
18589
+ pauseTimer();
18590
+ startTimer();
18591
+ }
18427
18592
  vue.watch(() => activeIndex.value, (current, prev2) => {
18428
18593
  resetItemPosition(prev2);
18429
18594
  if (prev2 > -1) {
@@ -18436,6 +18601,9 @@
18436
18601
  vue.watch(() => props.loop, () => {
18437
18602
  setActiveItem(activeIndex.value);
18438
18603
  });
18604
+ vue.watch(() => props.interval, () => {
18605
+ resetTimer();
18606
+ });
18439
18607
  const resizeObserver = vue.shallowRef();
18440
18608
  vue.onMounted(async () => {
18441
18609
  await vue.nextTick();
@@ -18555,12 +18723,12 @@
18555
18723
  vue.createElementVNode("button", {
18556
18724
  class: vue.normalizeClass(vue.unref(ns).e("button"))
18557
18725
  }, [
18558
- vue.unref(hasLabel) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$m, vue.toDisplayString(item.props.label), 1)) : vue.createCommentVNode("v-if", true)
18726
+ vue.unref(hasLabel) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$k, vue.toDisplayString(item.props.label), 1)) : vue.createCommentVNode("v-if", true)
18559
18727
  ], 2)
18560
- ], 42, _hoisted_2$B);
18728
+ ], 42, _hoisted_2$A);
18561
18729
  }), 128))
18562
18730
  ], 2)) : vue.createCommentVNode("v-if", true)
18563
- ], 42, _hoisted_1$T);
18731
+ ], 42, _hoisted_1$U);
18564
18732
  };
18565
18733
  }
18566
18734
  });
@@ -18574,11 +18742,11 @@
18574
18742
  }
18575
18743
  });
18576
18744
 
18577
- const __default__$11 = {
18745
+ const __default__$13 = {
18578
18746
  name: "ElCarouselItem"
18579
18747
  };
18580
18748
  const _sfc_main$1M = /* @__PURE__ */ vue.defineComponent({
18581
- ...__default__$11,
18749
+ ...__default__$13,
18582
18750
  props: carouselItemProps,
18583
18751
  setup(__props) {
18584
18752
  const props = __props;
@@ -19001,14 +19169,14 @@
19001
19169
  };
19002
19170
  };
19003
19171
 
19004
- const _hoisted_1$S = ["tabindex", "role", "aria-checked"];
19005
- const _hoisted_2$A = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
19006
- const _hoisted_3$l = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
19007
- const __default__$10 = {
19172
+ const _hoisted_1$T = ["tabindex", "role", "aria-checked"];
19173
+ const _hoisted_2$z = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
19174
+ const _hoisted_3$j = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
19175
+ const __default__$12 = {
19008
19176
  name: "ElCheckbox"
19009
19177
  };
19010
19178
  const _sfc_main$1L = /* @__PURE__ */ vue.defineComponent({
19011
- ...__default__$10,
19179
+ ...__default__$12,
19012
19180
  props: checkboxProps,
19013
19181
  emits: checkboxEmits,
19014
19182
  setup(__props) {
@@ -19067,7 +19235,7 @@
19067
19235
  onChange: _cache[1] || (_cache[1] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
19068
19236
  onFocus: _cache[2] || (_cache[2] = ($event) => focus.value = true),
19069
19237
  onBlur: _cache[3] || (_cache[3] = ($event) => focus.value = false)
19070
- }, null, 42, _hoisted_2$A)), [
19238
+ }, null, 42, _hoisted_2$z)), [
19071
19239
  [vue.vModelCheckbox, vue.unref(model)]
19072
19240
  ]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
19073
19241
  key: 1,
@@ -19083,13 +19251,13 @@
19083
19251
  onChange: _cache[5] || (_cache[5] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
19084
19252
  onFocus: _cache[6] || (_cache[6] = ($event) => focus.value = true),
19085
19253
  onBlur: _cache[7] || (_cache[7] = ($event) => focus.value = false)
19086
- }, null, 42, _hoisted_3$l)), [
19254
+ }, null, 42, _hoisted_3$j)), [
19087
19255
  [vue.vModelCheckbox, vue.unref(model)]
19088
19256
  ]),
19089
19257
  vue.createElementVNode("span", {
19090
19258
  class: vue.normalizeClass(vue.unref(ns).e("inner"))
19091
19259
  }, null, 2)
19092
- ], 10, _hoisted_1$S),
19260
+ ], 10, _hoisted_1$T),
19093
19261
  vue.unref(hasOwnLabel) ? (vue.openBlock(), vue.createElementBlock("span", {
19094
19262
  key: 0,
19095
19263
  class: vue.normalizeClass(vue.unref(ns).e("label"))
@@ -19107,13 +19275,13 @@
19107
19275
  });
19108
19276
  var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__file", "checkbox.vue"]]);
19109
19277
 
19110
- const _hoisted_1$R = ["name", "tabindex", "disabled", "true-value", "false-value"];
19111
- const _hoisted_2$z = ["name", "tabindex", "disabled", "value"];
19112
- const __default__$$ = {
19278
+ const _hoisted_1$S = ["name", "tabindex", "disabled", "true-value", "false-value"];
19279
+ const _hoisted_2$y = ["name", "tabindex", "disabled", "value"];
19280
+ const __default__$11 = {
19113
19281
  name: "ElCheckboxButton"
19114
19282
  };
19115
19283
  const _sfc_main$1K = /* @__PURE__ */ vue.defineComponent({
19116
- ...__default__$$,
19284
+ ...__default__$11,
19117
19285
  props: checkboxProps,
19118
19286
  emits: checkboxEmits,
19119
19287
  setup(__props) {
@@ -19155,7 +19323,7 @@
19155
19323
  onChange: _cache[1] || (_cache[1] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
19156
19324
  onFocus: _cache[2] || (_cache[2] = ($event) => focus.value = true),
19157
19325
  onBlur: _cache[3] || (_cache[3] = ($event) => focus.value = false)
19158
- }, null, 42, _hoisted_1$R)), [
19326
+ }, null, 42, _hoisted_1$S)), [
19159
19327
  [vue.vModelCheckbox, vue.unref(model)]
19160
19328
  ]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
19161
19329
  key: 1,
@@ -19169,7 +19337,7 @@
19169
19337
  onChange: _cache[5] || (_cache[5] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
19170
19338
  onFocus: _cache[6] || (_cache[6] = ($event) => focus.value = true),
19171
19339
  onBlur: _cache[7] || (_cache[7] = ($event) => focus.value = false)
19172
- }, null, 42, _hoisted_2$z)), [
19340
+ }, null, 42, _hoisted_2$y)), [
19173
19341
  [vue.vModelCheckbox, vue.unref(model)]
19174
19342
  ]),
19175
19343
  _ctx.$slots.default || _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
@@ -19187,11 +19355,11 @@
19187
19355
  });
19188
19356
  var CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__file", "checkbox-button.vue"]]);
19189
19357
 
19190
- const __default__$_ = {
19358
+ const __default__$10 = {
19191
19359
  name: "ElCheckboxGroup"
19192
19360
  };
19193
19361
  const _sfc_main$1J = /* @__PURE__ */ vue.defineComponent({
19194
- ...__default__$_,
19362
+ ...__default__$10,
19195
19363
  props: useCheckboxGroupProps,
19196
19364
  emits: checkboxGroupEmits,
19197
19365
  setup(__props, { emit }) {
@@ -19218,8 +19386,8 @@
19218
19386
  });
19219
19387
  vue.provide("CheckboxGroup", {
19220
19388
  name: "ElCheckboxGroup",
19221
- modelValue,
19222
19389
  ...vue.toRefs(props),
19390
+ modelValue,
19223
19391
  checkboxGroupSize,
19224
19392
  changeEvent
19225
19393
  });
@@ -19314,12 +19482,12 @@
19314
19482
  };
19315
19483
  };
19316
19484
 
19317
- const _hoisted_1$Q = ["value", "name", "disabled"];
19318
- const __default__$Z = {
19485
+ const _hoisted_1$R = ["value", "name", "disabled"];
19486
+ const __default__$$ = {
19319
19487
  name: "ElRadio"
19320
19488
  };
19321
19489
  const _sfc_main$1I = /* @__PURE__ */ vue.defineComponent({
19322
- ...__default__$Z,
19490
+ ...__default__$$,
19323
19491
  props: radioProps,
19324
19492
  emits: radioEmits,
19325
19493
  setup(__props, { emit }) {
@@ -19360,7 +19528,7 @@
19360
19528
  onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
19361
19529
  onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
19362
19530
  onChange: handleChange
19363
- }, null, 42, _hoisted_1$Q), [
19531
+ }, null, 42, _hoisted_1$R), [
19364
19532
  [vue.vModelRadio, vue.unref(modelValue)]
19365
19533
  ]),
19366
19534
  vue.createElementVNode("span", {
@@ -19390,12 +19558,12 @@
19390
19558
  }
19391
19559
  });
19392
19560
 
19393
- const _hoisted_1$P = ["value", "name", "disabled"];
19394
- const __default__$Y = {
19561
+ const _hoisted_1$Q = ["value", "name", "disabled"];
19562
+ const __default__$_ = {
19395
19563
  name: "ElRadioButton"
19396
19564
  };
19397
19565
  const _sfc_main$1H = /* @__PURE__ */ vue.defineComponent({
19398
- ...__default__$Y,
19566
+ ...__default__$_,
19399
19567
  props: radioButtonProps,
19400
19568
  setup(__props) {
19401
19569
  const props = __props;
@@ -19431,7 +19599,7 @@
19431
19599
  disabled: vue.unref(disabled),
19432
19600
  onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
19433
19601
  onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false)
19434
- }, null, 42, _hoisted_1$P), [
19602
+ }, null, 42, _hoisted_1$Q), [
19435
19603
  [vue.vModelRadio, vue.unref(modelValue)]
19436
19604
  ]),
19437
19605
  vue.createElementVNode("span", {
@@ -19484,12 +19652,12 @@
19484
19652
  });
19485
19653
  const radioGroupEmits = radioEmits;
19486
19654
 
19487
- const _hoisted_1$O = ["id", "aria-label", "aria-labelledby"];
19488
- const __default__$X = {
19655
+ const _hoisted_1$P = ["id", "aria-label", "aria-labelledby"];
19656
+ const __default__$Z = {
19489
19657
  name: "ElRadioGroup"
19490
19658
  };
19491
19659
  const _sfc_main$1G = /* @__PURE__ */ vue.defineComponent({
19492
- ...__default__$X,
19660
+ ...__default__$Z,
19493
19661
  props: radioGroupProps,
19494
19662
  emits: radioGroupEmits,
19495
19663
  setup(__props, { emit }) {
@@ -19536,7 +19704,7 @@
19536
19704
  "aria-labelledby": vue.unref(isLabeledByFormItem) ? vue.unref(formItem).labelId : void 0
19537
19705
  }, [
19538
19706
  vue.renderSlot(_ctx.$slots, "default")
19539
- ], 10, _hoisted_1$O);
19707
+ ], 10, _hoisted_1$P);
19540
19708
  };
19541
19709
  }
19542
19710
  });
@@ -19688,9 +19856,9 @@
19688
19856
  };
19689
19857
  }
19690
19858
  });
19691
- const _hoisted_1$N = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
19692
- const _hoisted_2$y = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
19693
- function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
19859
+ const _hoisted_1$O = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
19860
+ const _hoisted_2$x = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
19861
+ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
19694
19862
  const _component_el_checkbox = vue.resolveComponent("el-checkbox");
19695
19863
  const _component_el_radio = vue.resolveComponent("el-radio");
19696
19864
  const _component_check = vue.resolveComponent("check");
@@ -19737,7 +19905,7 @@
19737
19905
  }, {
19738
19906
  default: vue.withCtx(() => [
19739
19907
  vue.createCommentVNode("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),
19740
- _hoisted_2$y
19908
+ _hoisted_2$x
19741
19909
  ]),
19742
19910
  _: 1
19743
19911
  }, 8, ["model-value", "label", "disabled", "onUpdate:modelValue"])) : _ctx.isLeaf && _ctx.node.checked ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
@@ -19771,9 +19939,9 @@
19771
19939
  _: 1
19772
19940
  }, 8, ["class"]))
19773
19941
  ], 64)) : vue.createCommentVNode("v-if", true)
19774
- ], 42, _hoisted_1$N);
19942
+ ], 42, _hoisted_1$O);
19775
19943
  }
19776
- var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$D], ["__file", "node.vue"]]);
19944
+ var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$B], ["__file", "node.vue"]]);
19777
19945
 
19778
19946
  const _sfc_main$1E = vue.defineComponent({
19779
19947
  name: "ElCascaderMenu",
@@ -19853,7 +20021,7 @@
19853
20021
  };
19854
20022
  }
19855
20023
  });
19856
- function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
20024
+ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
19857
20025
  const _component_el_cascader_node = vue.resolveComponent("el-cascader-node");
19858
20026
  const _component_loading = vue.resolveComponent("loading");
19859
20027
  const _component_el_icon = vue.resolveComponent("el-icon");
@@ -19906,7 +20074,7 @@
19906
20074
  _: 1
19907
20075
  }, 8, ["class", "wrap-class", "view-class", "onMousemove", "onMouseleave"]);
19908
20076
  }
19909
- var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$C], ["__file", "menu.vue"]]);
20077
+ var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$A], ["__file", "menu.vue"]]);
19910
20078
 
19911
20079
  var ExpandTrigger = /* @__PURE__ */ ((ExpandTrigger2) => {
19912
20080
  ExpandTrigger2["CLICK"] = "click";
@@ -20277,7 +20445,7 @@
20277
20445
  } else {
20278
20446
  const values = multiple ? castArray(modelValue) : [modelValue];
20279
20447
  const nodes = unique(values.map((val) => store == null ? void 0 : store.getNodeByValue(val, leafOnly)));
20280
- syncMenuState(nodes, false);
20448
+ syncMenuState(nodes, forced);
20281
20449
  checkedValue.value = modelValue;
20282
20450
  }
20283
20451
  };
@@ -20381,7 +20549,7 @@
20381
20549
  };
20382
20550
  }
20383
20551
  });
20384
- function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
20552
+ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
20385
20553
  const _component_el_cascader_menu = vue.resolveComponent("el-cascader-menu");
20386
20554
  return vue.openBlock(), vue.createElementBlock("div", {
20387
20555
  class: vue.normalizeClass([_ctx.ns.b("panel"), _ctx.ns.is("bordered", _ctx.border)]),
@@ -20398,7 +20566,7 @@
20398
20566
  }), 128))
20399
20567
  ], 34);
20400
20568
  }
20401
- var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$B], ["__file", "index.vue"]]);
20569
+ var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$z], ["__file", "index.vue"]]);
20402
20570
 
20403
20571
  CascaderPanel.install = (app) => {
20404
20572
  app.component(CascaderPanel.name, CascaderPanel);
@@ -20436,11 +20604,11 @@
20436
20604
  click: (evt) => evt instanceof MouseEvent
20437
20605
  };
20438
20606
 
20439
- const __default__$W = {
20607
+ const __default__$Y = {
20440
20608
  name: "ElTag"
20441
20609
  };
20442
20610
  const _sfc_main$1C = /* @__PURE__ */ vue.defineComponent({
20443
- ...__default__$W,
20611
+ ...__default__$Y,
20444
20612
  props: tagProps,
20445
20613
  emits: tagEmits,
20446
20614
  setup(__props, { emit }) {
@@ -20967,11 +21135,10 @@
20967
21135
  };
20968
21136
  }
20969
21137
  });
20970
- const _hoisted_1$M = { key: 0 };
20971
- const _hoisted_2$x = { class: "el-cascader__collapse-tags" };
20972
- const _hoisted_3$k = ["placeholder"];
20973
- const _hoisted_4$d = ["onClick"];
20974
- function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
21138
+ const _hoisted_1$N = { key: 0 };
21139
+ const _hoisted_2$w = ["placeholder"];
21140
+ const _hoisted_3$i = ["onClick"];
21141
+ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
20975
21142
  const _component_circle_close = vue.resolveComponent("circle-close");
20976
21143
  const _component_el_icon = vue.resolveComponent("el-icon");
20977
21144
  const _component_arrow_down = vue.resolveComponent("arrow-down");
@@ -20985,7 +21152,6 @@
20985
21152
  return vue.openBlock(), vue.createBlock(_component_el_tooltip, {
20986
21153
  ref: "tooltipRef",
20987
21154
  visible: _ctx.popperVisible,
20988
- "onUpdate:visible": _cache[17] || (_cache[17] = ($event) => _ctx.popperVisible = $event),
20989
21155
  teleported: _ctx.teleported,
20990
21156
  "popper-class": [_ctx.nsCascader.e("dropdown"), _ctx.popperClass],
20991
21157
  "popper-options": _ctx.popperOptions,
@@ -21080,7 +21246,7 @@
21080
21246
  onClose: ($event) => _ctx.deleteTag(tag)
21081
21247
  }, {
21082
21248
  default: vue.withCtx(() => [
21083
- tag.isCollapseTag === false ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$M, vue.toDisplayString(tag.text), 1)) : (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
21249
+ tag.isCollapseTag === false ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$N, vue.toDisplayString(tag.text), 1)) : (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
21084
21250
  key: 1,
21085
21251
  teleported: false,
21086
21252
  disabled: _ctx.popperVisible || !_ctx.collapseTagsTooltip,
@@ -21092,11 +21258,13 @@
21092
21258
  vue.createElementVNode("span", null, vue.toDisplayString(tag.text), 1)
21093
21259
  ]),
21094
21260
  content: vue.withCtx(() => [
21095
- vue.createElementVNode("div", _hoisted_2$x, [
21261
+ vue.createElementVNode("div", {
21262
+ class: vue.normalizeClass(_ctx.nsCascader.e("collapse-tags"))
21263
+ }, [
21096
21264
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.allPresentTags, (tag2, idx) => {
21097
21265
  return vue.openBlock(), vue.createElementBlock("div", {
21098
21266
  key: idx,
21099
- class: "el-cascader__collapse-tag"
21267
+ class: vue.normalizeClass(_ctx.nsCascader.e("collapse-tag"))
21100
21268
  }, [
21101
21269
  (vue.openBlock(), vue.createBlock(_component_el_tag, {
21102
21270
  key: tag2.key,
@@ -21113,9 +21281,9 @@
21113
21281
  ]),
21114
21282
  _: 2
21115
21283
  }, 1032, ["type", "size", "hit", "closable", "onClose"]))
21116
- ]);
21284
+ ], 2);
21117
21285
  }), 128))
21118
- ])
21286
+ ], 2)
21119
21287
  ]),
21120
21288
  _: 2
21121
21289
  }, 1032, ["disabled"]))
@@ -21135,7 +21303,7 @@
21135
21303
  onCompositionstart: _cache[8] || (_cache[8] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
21136
21304
  onCompositionupdate: _cache[9] || (_cache[9] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
21137
21305
  onCompositionend: _cache[10] || (_cache[10] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args))
21138
- }, null, 42, _hoisted_3$k)), [
21306
+ }, null, 42, _hoisted_2$w)), [
21139
21307
  [vue.vModelText, _ctx.searchInputValue]
21140
21308
  ]) : vue.createCommentVNode("v-if", true)
21141
21309
  ], 2)) : vue.createCommentVNode("v-if", true)
@@ -21183,7 +21351,7 @@
21183
21351
  ]),
21184
21352
  _: 1
21185
21353
  })) : vue.createCommentVNode("v-if", true)
21186
- ], 10, _hoisted_4$d);
21354
+ ], 10, _hoisted_3$i);
21187
21355
  }), 128)) : vue.renderSlot(_ctx.$slots, "empty", { key: 1 }, () => [
21188
21356
  vue.createElementVNode("li", {
21189
21357
  class: vue.normalizeClass(_ctx.nsCascader.e("empty-text"))
@@ -21198,7 +21366,7 @@
21198
21366
  _: 3
21199
21367
  }, 8, ["visible", "teleported", "popper-class", "popper-options", "transition", "onHide"]);
21200
21368
  }
21201
- var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$A], ["__file", "index.vue"]]);
21369
+ var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$y], ["__file", "index.vue"]]);
21202
21370
 
21203
21371
  Cascader.install = (app) => {
21204
21372
  app.component(Cascader.name, Cascader);
@@ -21217,11 +21385,11 @@
21217
21385
  [CHANGE_EVENT]: (value) => isBoolean(value)
21218
21386
  };
21219
21387
 
21220
- const __default__$V = {
21388
+ const __default__$X = {
21221
21389
  name: "ElCheckTag"
21222
21390
  };
21223
21391
  const _sfc_main$1A = /* @__PURE__ */ vue.defineComponent({
21224
- ...__default__$V,
21392
+ ...__default__$X,
21225
21393
  props: checkTagProps,
21226
21394
  emits: checkTagEmits,
21227
21395
  setup(__props, { emit }) {
@@ -21289,11 +21457,11 @@
21289
21457
  }
21290
21458
  });
21291
21459
 
21292
- const __default__$U = {
21460
+ const __default__$W = {
21293
21461
  name: "ElCol"
21294
21462
  };
21295
21463
  const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
21296
- ...__default__$U,
21464
+ ...__default__$W,
21297
21465
  props: colProps,
21298
21466
  setup(__props) {
21299
21467
  const props = __props;
@@ -21363,11 +21531,11 @@
21363
21531
  [CHANGE_EVENT]: emitChangeFn
21364
21532
  };
21365
21533
 
21366
- const __default__$T = {
21534
+ const __default__$V = {
21367
21535
  name: "ElCollapse"
21368
21536
  };
21369
21537
  const _sfc_main$1y = /* @__PURE__ */ vue.defineComponent({
21370
- ...__default__$T,
21538
+ ...__default__$V,
21371
21539
  props: collapseProps,
21372
21540
  emits: collapseEmits,
21373
21541
  setup(__props, { expose, emit }) {
@@ -21418,11 +21586,11 @@
21418
21586
  });
21419
21587
  var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__file", "collapse.vue"]]);
21420
21588
 
21421
- const __default__$S = {
21589
+ const __default__$U = {
21422
21590
  name: "ElCollapseTransition"
21423
21591
  };
21424
21592
  const _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
21425
- ...__default__$S,
21593
+ ...__default__$U,
21426
21594
  setup(__props) {
21427
21595
  const ns = useNamespace("collapse-transition");
21428
21596
  const on = {
@@ -21507,14 +21675,14 @@
21507
21675
  disabled: Boolean
21508
21676
  });
21509
21677
 
21510
- const _hoisted_1$L = ["aria-expanded", "aria-controls", "aria-describedby"];
21511
- const _hoisted_2$w = ["id", "tabindex", "onKeypress"];
21512
- const _hoisted_3$j = ["id", "aria-hidden", "aria-labelledby"];
21513
- const __default__$R = {
21678
+ const _hoisted_1$M = ["aria-expanded", "aria-controls", "aria-describedby"];
21679
+ const _hoisted_2$v = ["id", "tabindex", "onKeypress"];
21680
+ const _hoisted_3$h = ["id", "aria-hidden", "aria-labelledby"];
21681
+ const __default__$T = {
21514
21682
  name: "ElCollapseItem"
21515
21683
  };
21516
21684
  const _sfc_main$1w = /* @__PURE__ */ vue.defineComponent({
21517
- ...__default__$R,
21685
+ ...__default__$T,
21518
21686
  props: collapseItemProps,
21519
21687
  setup(__props, { expose }) {
21520
21688
  const props = __props;
@@ -21585,8 +21753,8 @@
21585
21753
  ]),
21586
21754
  _: 1
21587
21755
  }, 8, ["class"])
21588
- ], 42, _hoisted_2$w)
21589
- ], 8, _hoisted_1$L),
21756
+ ], 42, _hoisted_2$v)
21757
+ ], 8, _hoisted_1$M),
21590
21758
  vue.createVNode(vue.unref(_CollapseTransition), null, {
21591
21759
  default: vue.withCtx(() => [
21592
21760
  vue.withDirectives(vue.createElementVNode("div", {
@@ -21601,7 +21769,7 @@
21601
21769
  }, [
21602
21770
  vue.renderSlot(_ctx.$slots, "default")
21603
21771
  ], 2)
21604
- ], 10, _hoisted_3$j), [
21772
+ ], 10, _hoisted_3$h), [
21605
21773
  [vue.vShow, vue.unref(isActive)]
21606
21774
  ])
21607
21775
  ]),
@@ -21628,10 +21796,10 @@
21628
21796
  };
21629
21797
  const upFn = function(event) {
21630
21798
  var _a;
21631
- off(document, "mousemove", moveFn);
21632
- off(document, "mouseup", upFn);
21633
- off(document, "touchmove", moveFn);
21634
- off(document, "touchend", upFn);
21799
+ document.removeEventListener("mousemove", moveFn);
21800
+ document.removeEventListener("mouseup", upFn);
21801
+ document.removeEventListener("touchmove", moveFn);
21802
+ document.removeEventListener("touchend", upFn);
21635
21803
  document.onselectstart = null;
21636
21804
  document.ondragstart = null;
21637
21805
  isDragging = false;
@@ -21644,15 +21812,15 @@
21644
21812
  event.preventDefault();
21645
21813
  document.onselectstart = () => false;
21646
21814
  document.ondragstart = () => false;
21647
- on$1(document, "mousemove", moveFn);
21648
- on$1(document, "mouseup", upFn);
21649
- on$1(document, "touchmove", moveFn);
21650
- on$1(document, "touchend", upFn);
21815
+ document.addEventListener("mousemove", moveFn);
21816
+ document.addEventListener("mouseup", upFn);
21817
+ document.addEventListener("touchmove", moveFn);
21818
+ document.addEventListener("touchend", upFn);
21651
21819
  isDragging = true;
21652
21820
  (_a = options.start) == null ? void 0 : _a.call(options, event);
21653
21821
  };
21654
- on$1(element, "mousedown", downFn);
21655
- on$1(element, "touchstart", downFn);
21822
+ element.addEventListener("mousedown", downFn);
21823
+ element.addEventListener("touchstart", downFn);
21656
21824
  }
21657
21825
 
21658
21826
  const _sfc_main$1v = vue.defineComponent({
@@ -21668,6 +21836,7 @@
21668
21836
  }
21669
21837
  },
21670
21838
  setup(props) {
21839
+ const ns = useNamespace("color-alpha-slider");
21671
21840
  const instance = vue.getCurrentInstance();
21672
21841
  const thumb = vue.shallowRef(null);
21673
21842
  const bar = vue.shallowRef(null);
@@ -21752,33 +21921,34 @@
21752
21921
  thumbTop,
21753
21922
  background,
21754
21923
  handleClick,
21755
- update
21924
+ update,
21925
+ ns
21756
21926
  };
21757
21927
  }
21758
21928
  });
21759
- function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
21929
+ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
21760
21930
  return vue.openBlock(), vue.createElementBlock("div", {
21761
- class: vue.normalizeClass(["el-color-alpha-slider", { "is-vertical": _ctx.vertical }])
21931
+ class: vue.normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
21762
21932
  }, [
21763
21933
  vue.createElementVNode("div", {
21764
21934
  ref: "bar",
21765
- class: "el-color-alpha-slider__bar",
21935
+ class: vue.normalizeClass(_ctx.ns.e("bar")),
21766
21936
  style: vue.normalizeStyle({
21767
21937
  background: _ctx.background
21768
21938
  }),
21769
21939
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
21770
- }, null, 4),
21940
+ }, null, 6),
21771
21941
  vue.createElementVNode("div", {
21772
21942
  ref: "thumb",
21773
- class: "el-color-alpha-slider__thumb",
21943
+ class: vue.normalizeClass(_ctx.ns.e("thumb")),
21774
21944
  style: vue.normalizeStyle({
21775
21945
  left: _ctx.thumbLeft + "px",
21776
21946
  top: _ctx.thumbTop + "px"
21777
21947
  })
21778
- }, null, 4)
21948
+ }, null, 6)
21779
21949
  ], 2);
21780
21950
  }
21781
- var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$z], ["__file", "alpha-slider.vue"]]);
21951
+ var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$x], ["__file", "alpha-slider.vue"]]);
21782
21952
 
21783
21953
  const _sfc_main$1u = vue.defineComponent({
21784
21954
  name: "ElColorHueSlider",
@@ -21790,6 +21960,7 @@
21790
21960
  vertical: Boolean
21791
21961
  },
21792
21962
  setup(props) {
21963
+ const ns = useNamespace("color-hue-slider");
21793
21964
  const instance = vue.getCurrentInstance();
21794
21965
  const thumb = vue.ref(null);
21795
21966
  const bar = vue.ref(null);
@@ -21867,30 +22038,31 @@
21867
22038
  thumbTop,
21868
22039
  hueValue,
21869
22040
  handleClick,
21870
- update
22041
+ update,
22042
+ ns
21871
22043
  };
21872
22044
  }
21873
22045
  });
21874
- function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
22046
+ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
21875
22047
  return vue.openBlock(), vue.createElementBlock("div", {
21876
- class: vue.normalizeClass(["el-color-hue-slider", { "is-vertical": _ctx.vertical }])
22048
+ class: vue.normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
21877
22049
  }, [
21878
22050
  vue.createElementVNode("div", {
21879
22051
  ref: "bar",
21880
- class: "el-color-hue-slider__bar",
22052
+ class: vue.normalizeClass(_ctx.ns.e("bar")),
21881
22053
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
21882
- }, null, 512),
22054
+ }, null, 2),
21883
22055
  vue.createElementVNode("div", {
21884
22056
  ref: "thumb",
21885
- class: "el-color-hue-slider__thumb",
22057
+ class: vue.normalizeClass(_ctx.ns.e("thumb")),
21886
22058
  style: vue.normalizeStyle({
21887
22059
  left: _ctx.thumbLeft + "px",
21888
22060
  top: _ctx.thumbTop + "px"
21889
22061
  })
21890
- }, null, 4)
22062
+ }, null, 6)
21891
22063
  ], 2);
21892
22064
  }
21893
- var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$y], ["__file", "hue-slider.vue"]]);
22065
+ var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$w], ["__file", "hue-slider.vue"]]);
21894
22066
 
21895
22067
  const OPTIONS_KEY = Symbol();
21896
22068
  const useOptions = () => {
@@ -22177,6 +22349,7 @@
22177
22349
  }
22178
22350
  },
22179
22351
  setup(props) {
22352
+ const ns = useNamespace("color-predefine");
22180
22353
  const { currentColor } = useOptions();
22181
22354
  const rgbaColors = vue.ref(parseColors(props.colors, props.color));
22182
22355
  vue.watch(() => currentColor.value, (val) => {
@@ -22204,31 +22377,38 @@
22204
22377
  }
22205
22378
  return {
22206
22379
  rgbaColors,
22207
- handleSelect
22380
+ handleSelect,
22381
+ ns
22208
22382
  };
22209
22383
  }
22210
22384
  });
22211
- const _hoisted_1$K = { class: "el-color-predefine" };
22212
- const _hoisted_2$v = { class: "el-color-predefine__colors" };
22213
- const _hoisted_3$i = ["onClick"];
22214
- function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
22215
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
22216
- vue.createElementVNode("div", _hoisted_2$v, [
22385
+ const _hoisted_1$L = ["onClick"];
22386
+ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
22387
+ return vue.openBlock(), vue.createElementBlock("div", {
22388
+ class: vue.normalizeClass(_ctx.ns.b())
22389
+ }, [
22390
+ vue.createElementVNode("div", {
22391
+ class: vue.normalizeClass(_ctx.ns.e("colors"))
22392
+ }, [
22217
22393
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.rgbaColors, (item, index) => {
22218
22394
  return vue.openBlock(), vue.createElementBlock("div", {
22219
22395
  key: _ctx.colors[index],
22220
- class: vue.normalizeClass(["el-color-predefine__color-selector", { selected: item.selected, "is-alpha": item._alpha < 100 }]),
22396
+ class: vue.normalizeClass([
22397
+ _ctx.ns.e("color-selector"),
22398
+ _ctx.ns.is("alpha", item._alpha < 100),
22399
+ { selected: item.selected }
22400
+ ]),
22221
22401
  onClick: ($event) => _ctx.handleSelect(index)
22222
22402
  }, [
22223
22403
  vue.createElementVNode("div", {
22224
22404
  style: vue.normalizeStyle({ backgroundColor: item.value })
22225
22405
  }, null, 4)
22226
- ], 10, _hoisted_3$i);
22406
+ ], 10, _hoisted_1$L);
22227
22407
  }), 128))
22228
- ])
22229
- ]);
22408
+ ], 2)
22409
+ ], 2);
22230
22410
  }
22231
- var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$x], ["__file", "predefine.vue"]]);
22411
+ var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$v], ["__file", "predefine.vue"]]);
22232
22412
 
22233
22413
  const _sfc_main$1s = vue.defineComponent({
22234
22414
  name: "ElSlPanel",
@@ -22239,6 +22419,7 @@
22239
22419
  }
22240
22420
  },
22241
22421
  setup(props) {
22422
+ const ns = useNamespace("color-svpanel");
22242
22423
  const instance = vue.getCurrentInstance();
22243
22424
  const cursorTop = vue.ref(0);
22244
22425
  const cursorLeft = vue.ref(0);
@@ -22294,35 +22475,38 @@
22294
22475
  background,
22295
22476
  colorValue,
22296
22477
  handleDrag,
22297
- update
22478
+ update,
22479
+ ns
22298
22480
  };
22299
22481
  }
22300
22482
  });
22301
- const _hoisted_1$J = /* @__PURE__ */ vue.createElementVNode("div", { class: "el-color-svpanel__white" }, null, -1);
22302
- const _hoisted_2$u = /* @__PURE__ */ vue.createElementVNode("div", { class: "el-color-svpanel__black" }, null, -1);
22303
- const _hoisted_3$h = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
22304
- const _hoisted_4$c = [
22305
- _hoisted_3$h
22483
+ const _hoisted_1$K = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
22484
+ const _hoisted_2$u = [
22485
+ _hoisted_1$K
22306
22486
  ];
22307
- function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
22487
+ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22308
22488
  return vue.openBlock(), vue.createElementBlock("div", {
22309
- class: "el-color-svpanel",
22489
+ class: vue.normalizeClass(_ctx.ns.b()),
22310
22490
  style: vue.normalizeStyle({
22311
22491
  backgroundColor: _ctx.background
22312
22492
  })
22313
22493
  }, [
22314
- _hoisted_1$J,
22315
- _hoisted_2$u,
22316
22494
  vue.createElementVNode("div", {
22317
- class: "el-color-svpanel__cursor",
22495
+ class: vue.normalizeClass(_ctx.ns.e("white"))
22496
+ }, null, 2),
22497
+ vue.createElementVNode("div", {
22498
+ class: vue.normalizeClass(_ctx.ns.e("black"))
22499
+ }, null, 2),
22500
+ vue.createElementVNode("div", {
22501
+ class: vue.normalizeClass(_ctx.ns.e("cursor")),
22318
22502
  style: vue.normalizeStyle({
22319
22503
  top: _ctx.cursorTop + "px",
22320
22504
  left: _ctx.cursorLeft + "px"
22321
22505
  })
22322
- }, _hoisted_4$c, 4)
22323
- ], 4);
22506
+ }, _hoisted_2$u, 6)
22507
+ ], 6);
22324
22508
  }
22325
- var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$w], ["__file", "sv-panel.vue"]]);
22509
+ var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$u], ["__file", "sv-panel.vue"]]);
22326
22510
 
22327
22511
  const _sfc_main$1r = vue.defineComponent({
22328
22512
  name: "ElColorPicker",
@@ -22531,8 +22715,8 @@
22531
22715
  };
22532
22716
  }
22533
22717
  });
22534
- const _hoisted_1$I = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex"];
22535
- function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
22718
+ const _hoisted_1$J = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex"];
22719
+ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22536
22720
  const _component_hue_slider = vue.resolveComponent("hue-slider");
22537
22721
  const _component_sv_panel = vue.resolveComponent("sv-panel");
22538
22722
  const _component_alpha_slider = vue.resolveComponent("alpha-slider");
@@ -22547,7 +22731,6 @@
22547
22731
  return vue.openBlock(), vue.createBlock(_component_el_tooltip, {
22548
22732
  ref: "popper",
22549
22733
  visible: _ctx.showPicker,
22550
- "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => _ctx.showPicker = $event),
22551
22734
  "show-arrow": false,
22552
22735
  "fallback-placements": ["bottom", "top", "right", "left"],
22553
22736
  offset: 0,
@@ -22682,12 +22865,12 @@
22682
22865
  ], 6)
22683
22866
  ], 2)
22684
22867
  ], 2)
22685
- ], 42, _hoisted_1$I)
22868
+ ], 42, _hoisted_1$J)
22686
22869
  ]),
22687
22870
  _: 1
22688
22871
  }, 8, ["visible", "popper-class"]);
22689
22872
  }
22690
- var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$v], ["__file", "index.vue"]]);
22873
+ var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$t], ["__file", "index.vue"]]);
22691
22874
 
22692
22875
  ColorPicker.install = (app) => {
22693
22876
  app.component(ColorPicker.name, ColorPicker);
@@ -22738,11 +22921,11 @@
22738
22921
 
22739
22922
  const ElConfigProvider = withInstall(ConfigProvider);
22740
22923
 
22741
- const __default__$Q = {
22924
+ const __default__$S = {
22742
22925
  name: "ElContainer"
22743
22926
  };
22744
22927
  const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
22745
- ...__default__$Q,
22928
+ ...__default__$S,
22746
22929
  props: {
22747
22930
  direction: {
22748
22931
  type: String
@@ -22779,11 +22962,11 @@
22779
22962
  });
22780
22963
  var Container = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__file", "container.vue"]]);
22781
22964
 
22782
- const __default__$P = {
22965
+ const __default__$R = {
22783
22966
  name: "ElAside"
22784
22967
  };
22785
22968
  const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
22786
- ...__default__$P,
22969
+ ...__default__$R,
22787
22970
  props: {
22788
22971
  width: {
22789
22972
  type: String,
@@ -22806,11 +22989,11 @@
22806
22989
  });
22807
22990
  var Aside = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__file", "aside.vue"]]);
22808
22991
 
22809
- const __default__$O = {
22992
+ const __default__$Q = {
22810
22993
  name: "ElFooter"
22811
22994
  };
22812
22995
  const _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
22813
- ...__default__$O,
22996
+ ...__default__$Q,
22814
22997
  props: {
22815
22998
  height: {
22816
22999
  type: String,
@@ -22833,11 +23016,11 @@
22833
23016
  });
22834
23017
  var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__file", "footer.vue"]]);
22835
23018
 
22836
- const __default__$N = {
23019
+ const __default__$P = {
22837
23020
  name: "ElHeader"
22838
23021
  };
22839
23022
  const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
22840
- ...__default__$N,
23023
+ ...__default__$P,
22841
23024
  props: {
22842
23025
  height: {
22843
23026
  type: String,
@@ -22864,11 +23047,11 @@
22864
23047
  });
22865
23048
  var Header$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__file", "header.vue"]]);
22866
23049
 
22867
- const __default__$M = {
23050
+ const __default__$O = {
22868
23051
  name: "ElMain"
22869
23052
  };
22870
23053
  const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
22871
- ...__default__$M,
23054
+ ...__default__$O,
22872
23055
  setup(__props) {
22873
23056
  const ns = useNamespace("main");
22874
23057
  return (_ctx, _cache) => {
@@ -23221,7 +23404,7 @@
23221
23404
  }
23222
23405
  });
23223
23406
 
23224
- const _hoisted_1$H = ["aria-label"];
23407
+ const _hoisted_1$I = ["aria-label"];
23225
23408
  const _hoisted_2$t = {
23226
23409
  key: 0,
23227
23410
  scope: "col"
@@ -23241,6 +23424,7 @@
23241
23424
  const lastRow = vue.ref();
23242
23425
  const lastColumn = vue.ref();
23243
23426
  const tableRows = vue.ref([[], [], [], [], [], []]);
23427
+ let focusWithClick = false;
23244
23428
  const firstDayOfWeek = props.date.$locale().weekStart || 7;
23245
23429
  const WEEKS_CONSTANT = props.date.locale("en").localeData().weekdaysShort().map((_) => _.toLowerCase());
23246
23430
  const offsetDay = vue.computed(() => {
@@ -23445,13 +23629,25 @@
23445
23629
  return !hasCurrent.value && (cell == null ? void 0 : cell.text) === 1 && cell.type === "normal" || cell.isCurrent;
23446
23630
  };
23447
23631
  const handleFocus = (event) => {
23448
- if (!hasCurrent.value && props.selectionMode === "date") {
23449
- handlePickDate(event, true);
23450
- }
23632
+ if (focusWithClick || hasCurrent.value || props.selectionMode !== "date")
23633
+ return;
23634
+ handlePickDate(event, true);
23635
+ };
23636
+ const handleMouseDown = (event) => {
23637
+ const target = event.target.closest("td");
23638
+ if (!target)
23639
+ return;
23640
+ focusWithClick = true;
23641
+ };
23642
+ const handleMouseUp = (event) => {
23643
+ const target = event.target.closest("td");
23644
+ if (!target)
23645
+ return;
23646
+ focusWithClick = false;
23451
23647
  };
23452
23648
  const handlePickDate = (event, isKeyboardMovement = false) => {
23453
23649
  const target = event.target.closest("td");
23454
- if (!target || target.tagName !== "TD")
23650
+ if (!target)
23455
23651
  return;
23456
23652
  const row = target.parentNode.rowIndex - 1;
23457
23653
  const column = target.cellIndex;
@@ -23516,7 +23712,9 @@
23516
23712
  cellpadding: "0",
23517
23713
  class: vue.normalizeClass([vue.unref(ns).b(), { "is-week-mode": _ctx.selectionMode === "week" }]),
23518
23714
  onClick: handlePickDate,
23519
- onMousemove: handleMouseMove
23715
+ onMousemove: handleMouseMove,
23716
+ onMousedown: handleMouseDown,
23717
+ onMouseup: handleMouseUp
23520
23718
  }, [
23521
23719
  vue.createElementVNode("tbody", {
23522
23720
  ref_key: "tbodyRef",
@@ -23541,9 +23739,7 @@
23541
23739
  return vue.openBlock(), vue.createElementBlock("td", {
23542
23740
  key: `${rowKey}.${columnKey}`,
23543
23741
  ref_for: true,
23544
- ref: (el) => {
23545
- isSelectedCell(cell) && (currentCellRef.value = el);
23546
- },
23742
+ ref: (el) => isSelectedCell(cell) && (currentCellRef.value = el),
23547
23743
  class: vue.normalizeClass(getCellClasses(cell)),
23548
23744
  "aria-current": cell.isCurrent ? "date" : void 0,
23549
23745
  "aria-selected": cell.isCurrent,
@@ -23556,7 +23752,7 @@
23556
23752
  ], 2);
23557
23753
  }), 128))
23558
23754
  ], 512)
23559
- ], 42, _hoisted_1$H);
23755
+ ], 42, _hoisted_1$I);
23560
23756
  };
23561
23757
  }
23562
23758
  });
@@ -23567,7 +23763,7 @@
23567
23763
  selectionMode: selectionModeWithDefault("month")
23568
23764
  });
23569
23765
 
23570
- const _hoisted_1$G = ["aria-label"];
23766
+ const _hoisted_1$H = ["aria-label"];
23571
23767
  const _hoisted_2$s = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
23572
23768
  const _hoisted_3$f = { class: "cell" };
23573
23769
  const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
@@ -23759,7 +23955,7 @@
23759
23955
  ]);
23760
23956
  }), 128))
23761
23957
  ], 512)
23762
- ], 42, _hoisted_1$G);
23958
+ ], 42, _hoisted_1$H);
23763
23959
  };
23764
23960
  }
23765
23961
  });
@@ -23772,7 +23968,7 @@
23772
23968
  parsedValue
23773
23969
  });
23774
23970
 
23775
- const _hoisted_1$F = ["aria-label"];
23971
+ const _hoisted_1$G = ["aria-label"];
23776
23972
  const _hoisted_2$r = ["aria-selected", "tabindex", "onKeydown"];
23777
23973
  const _hoisted_3$e = { class: "cell" };
23778
23974
  const _hoisted_4$a = { key: 1 };
@@ -23866,13 +24062,13 @@
23866
24062
  ]);
23867
24063
  }), 64))
23868
24064
  ], 512)
23869
- ], 10, _hoisted_1$F);
24065
+ ], 10, _hoisted_1$G);
23870
24066
  };
23871
24067
  }
23872
24068
  });
23873
24069
  var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__file", "basic-year-table.vue"]]);
23874
24070
 
23875
- const _hoisted_1$E = ["onClick"];
24071
+ const _hoisted_1$F = ["onClick"];
23876
24072
  const _hoisted_2$q = ["aria-label"];
23877
24073
  const _hoisted_3$d = ["aria-label"];
23878
24074
  const _hoisted_4$9 = ["aria-label"];
@@ -24283,7 +24479,7 @@
24283
24479
  type: "button",
24284
24480
  class: vue.normalizeClass(vue.unref(ppNs).e("shortcut")),
24285
24481
  onClick: ($event) => handleShortcutClick(shortcut)
24286
- }, vue.toDisplayString(shortcut.text), 11, _hoisted_1$E);
24482
+ }, vue.toDisplayString(shortcut.text), 11, _hoisted_1$F);
24287
24483
  }), 128))
24288
24484
  ], 2)) : vue.createCommentVNode("v-if", true),
24289
24485
  vue.createElementVNode("div", {
@@ -24597,7 +24793,7 @@
24597
24793
  };
24598
24794
  };
24599
24795
 
24600
- const _hoisted_1$D = ["onClick"];
24796
+ const _hoisted_1$E = ["onClick"];
24601
24797
  const _hoisted_2$p = ["disabled"];
24602
24798
  const _hoisted_3$c = ["disabled"];
24603
24799
  const _hoisted_4$8 = ["disabled"];
@@ -24948,7 +25144,7 @@
24948
25144
  type: "button",
24949
25145
  class: vue.normalizeClass(vue.unref(ppNs).e("shortcut")),
24950
25146
  onClick: ($event) => vue.unref(handleShortcutClick)(shortcut)
24951
- }, vue.toDisplayString(shortcut.text), 11, _hoisted_1$D);
25147
+ }, vue.toDisplayString(shortcut.text), 11, _hoisted_1$E);
24952
25148
  }), 128))
24953
25149
  ], 2)) : vue.createCommentVNode("v-if", true),
24954
25150
  vue.createElementVNode("div", {
@@ -25293,14 +25489,14 @@
25293
25489
  };
25294
25490
  };
25295
25491
 
25296
- const _hoisted_1$C = ["onClick"];
25492
+ const _hoisted_1$D = ["onClick"];
25297
25493
  const _hoisted_2$o = ["disabled"];
25298
25494
  const _hoisted_3$b = ["disabled"];
25299
- const __default__$L = {
25495
+ const __default__$N = {
25300
25496
  name: "DatePickerMonthRange"
25301
25497
  };
25302
25498
  const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
25303
- ...__default__$L,
25499
+ ...__default__$N,
25304
25500
  props: panelMonthRangeProps,
25305
25501
  emits: panelMonthRangeEmits,
25306
25502
  setup(__props, { emit }) {
@@ -25398,7 +25594,7 @@
25398
25594
  type: "button",
25399
25595
  class: vue.normalizeClass(vue.unref(ppNs).e("shortcut")),
25400
25596
  onClick: ($event) => vue.unref(handleShortcutClick)(shortcut)
25401
- }, vue.toDisplayString(shortcut.text), 11, _hoisted_1$C);
25597
+ }, vue.toDisplayString(shortcut.text), 11, _hoisted_1$D);
25402
25598
  }), 128))
25403
25599
  ], 2)) : vue.createCommentVNode("v-if", true),
25404
25600
  vue.createElementVNode("div", {
@@ -25583,9 +25779,9 @@
25583
25779
  };
25584
25780
  const ElDatePicker = _DatePicker;
25585
25781
 
25586
- const elDescriptionsKey = "elDescriptions";
25782
+ const descriptionsKey = "elDescriptions";
25587
25783
 
25588
- var DescriptionsCell = vue.defineComponent({
25784
+ var ElDescriptionsCell = vue.defineComponent({
25589
25785
  name: "ElDescriptionsCell",
25590
25786
  props: {
25591
25787
  cell: {
@@ -25599,7 +25795,7 @@
25599
25795
  }
25600
25796
  },
25601
25797
  setup() {
25602
- const descriptions = vue.inject(elDescriptionsKey, {});
25798
+ const descriptions = vue.inject(descriptionsKey, {});
25603
25799
  return {
25604
25800
  descriptions
25605
25801
  };
@@ -25665,114 +25861,112 @@
25665
25861
  }
25666
25862
  });
25667
25863
 
25668
- const _sfc_main$1f = vue.defineComponent({
25669
- name: "ElDescriptionsRow",
25670
- components: {
25671
- [DescriptionsCell.name]: DescriptionsCell
25672
- },
25673
- props: {
25674
- row: {
25675
- type: Array
25676
- }
25677
- },
25678
- setup() {
25679
- const descriptions = vue.inject(elDescriptionsKey, {});
25680
- return {
25681
- descriptions
25864
+ const descriptionsRowProps = buildProps({
25865
+ row: {
25866
+ type: Array,
25867
+ default: () => []
25868
+ }
25869
+ });
25870
+
25871
+ const _hoisted_1$C = { key: 1 };
25872
+ const __default__$M = {
25873
+ name: "ElDescriptionsRow"
25874
+ };
25875
+ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
25876
+ ...__default__$M,
25877
+ props: descriptionsRowProps,
25878
+ setup(__props) {
25879
+ const descriptions = vue.inject(descriptionsKey, {});
25880
+ return (_ctx, _cache) => {
25881
+ return vue.unref(descriptions).direction === "vertical" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
25882
+ vue.createElementVNode("tr", null, [
25883
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.row, (cell, index) => {
25884
+ return vue.openBlock(), vue.createBlock(vue.unref(ElDescriptionsCell), {
25885
+ key: `tr1-${index}`,
25886
+ cell,
25887
+ tag: "th",
25888
+ type: "label"
25889
+ }, null, 8, ["cell"]);
25890
+ }), 128))
25891
+ ]),
25892
+ vue.createElementVNode("tr", null, [
25893
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.row, (cell, index) => {
25894
+ return vue.openBlock(), vue.createBlock(vue.unref(ElDescriptionsCell), {
25895
+ key: `tr2-${index}`,
25896
+ cell,
25897
+ tag: "td",
25898
+ type: "content"
25899
+ }, null, 8, ["cell"]);
25900
+ }), 128))
25901
+ ])
25902
+ ], 64)) : (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$C, [
25903
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.row, (cell, index) => {
25904
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
25905
+ key: `tr3-${index}`
25906
+ }, [
25907
+ vue.unref(descriptions).border ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
25908
+ vue.createVNode(vue.unref(ElDescriptionsCell), {
25909
+ cell,
25910
+ tag: "td",
25911
+ type: "label"
25912
+ }, null, 8, ["cell"]),
25913
+ vue.createVNode(vue.unref(ElDescriptionsCell), {
25914
+ cell,
25915
+ tag: "td",
25916
+ type: "content"
25917
+ }, null, 8, ["cell"])
25918
+ ], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(ElDescriptionsCell), {
25919
+ key: 1,
25920
+ cell,
25921
+ tag: "td",
25922
+ type: "both"
25923
+ }, null, 8, ["cell"]))
25924
+ ], 64);
25925
+ }), 128))
25926
+ ]));
25682
25927
  };
25683
25928
  }
25684
25929
  });
25685
- const _hoisted_1$B = { key: 1 };
25686
- function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
25687
- const _component_el_descriptions_cell = vue.resolveComponent("el-descriptions-cell");
25688
- return _ctx.descriptions.direction === "vertical" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
25689
- vue.createElementVNode("tr", null, [
25690
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.row, (cell, index) => {
25691
- return vue.openBlock(), vue.createBlock(_component_el_descriptions_cell, {
25692
- key: `tr1-${index}`,
25693
- cell,
25694
- tag: "th",
25695
- type: "label"
25696
- }, null, 8, ["cell"]);
25697
- }), 128))
25698
- ]),
25699
- vue.createElementVNode("tr", null, [
25700
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.row, (cell, index) => {
25701
- return vue.openBlock(), vue.createBlock(_component_el_descriptions_cell, {
25702
- key: `tr2-${index}`,
25703
- cell,
25704
- tag: "td",
25705
- type: "content"
25706
- }, null, 8, ["cell"]);
25707
- }), 128))
25708
- ])
25709
- ], 64)) : (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$B, [
25710
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.row, (cell, index) => {
25711
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
25712
- key: `tr3-${index}`
25713
- }, [
25714
- _ctx.descriptions.border ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
25715
- vue.createVNode(_component_el_descriptions_cell, {
25716
- cell,
25717
- tag: "td",
25718
- type: "label"
25719
- }, null, 8, ["cell"]),
25720
- vue.createVNode(_component_el_descriptions_cell, {
25721
- cell,
25722
- tag: "td",
25723
- type: "content"
25724
- }, null, 8, ["cell"])
25725
- ], 64)) : (vue.openBlock(), vue.createBlock(_component_el_descriptions_cell, {
25726
- key: 1,
25727
- cell,
25728
- tag: "td",
25729
- type: "both"
25730
- }, null, 8, ["cell"]))
25731
- ], 64);
25732
- }), 128))
25733
- ]));
25734
- }
25735
- var DescriptionsRow = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$u], ["__file", "descriptions-row.vue"]]);
25930
+ var ElDescriptionsRow = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__file", "descriptions-row.vue"]]);
25736
25931
 
25737
- const _sfc_main$1e = vue.defineComponent({
25738
- name: "ElDescriptions",
25739
- components: {
25740
- [DescriptionsRow.name]: DescriptionsRow
25932
+ const descriptionProps = buildProps({
25933
+ border: {
25934
+ type: Boolean,
25935
+ default: false
25741
25936
  },
25742
- props: {
25743
- border: {
25744
- type: Boolean,
25745
- default: false
25746
- },
25747
- column: {
25748
- type: Number,
25749
- default: 3
25750
- },
25751
- direction: {
25752
- type: String,
25753
- default: "horizontal"
25754
- },
25755
- size: {
25756
- type: String,
25757
- validator: isValidComponentSize
25758
- },
25759
- title: {
25760
- type: String,
25761
- default: ""
25762
- },
25763
- extra: {
25764
- type: String,
25765
- default: ""
25766
- }
25937
+ column: {
25938
+ type: Number,
25939
+ default: 3
25767
25940
  },
25768
- setup(props, { slots }) {
25769
- vue.provide(elDescriptionsKey, props);
25770
- const descriptionsSize = useSize();
25941
+ direction: {
25942
+ type: String,
25943
+ values: ["horizontal", "vertical"],
25944
+ default: "horizontal"
25945
+ },
25946
+ size: useSizeProp,
25947
+ title: {
25948
+ type: String,
25949
+ default: ""
25950
+ },
25951
+ extra: {
25952
+ type: String,
25953
+ default: ""
25954
+ }
25955
+ });
25956
+
25957
+ const __default__$L = {
25958
+ name: "ElDescriptions"
25959
+ };
25960
+ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
25961
+ ...__default__$L,
25962
+ props: descriptionProps,
25963
+ setup(__props) {
25964
+ const props = __props;
25771
25965
  const ns = useNamespace("descriptions");
25772
- const descriptionKls = vue.computed(() => [
25773
- ns.b(),
25774
- ns.m(descriptionsSize.value)
25775
- ]);
25966
+ const descriptionsSize = useSize();
25967
+ const slots = vue.useSlots();
25968
+ vue.provide(descriptionsKey, props);
25969
+ const descriptionKls = vue.computed(() => [ns.b(), ns.m(descriptionsSize.value)]);
25776
25970
  const flattedChildren = (children) => {
25777
25971
  const temp = Array.isArray(children) ? children : [children];
25778
25972
  const res = [];
@@ -25831,56 +26025,50 @@
25831
26025
  });
25832
26026
  return rows;
25833
26027
  };
25834
- return {
25835
- descriptionKls,
25836
- getRows,
25837
- ns
26028
+ return (_ctx, _cache) => {
26029
+ return vue.openBlock(), vue.createElementBlock("div", {
26030
+ class: vue.normalizeClass(vue.unref(descriptionKls))
26031
+ }, [
26032
+ _ctx.title || _ctx.extra || _ctx.$slots.title || _ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock("div", {
26033
+ key: 0,
26034
+ class: vue.normalizeClass(vue.unref(ns).e("header"))
26035
+ }, [
26036
+ vue.createElementVNode("div", {
26037
+ class: vue.normalizeClass(vue.unref(ns).e("title"))
26038
+ }, [
26039
+ vue.renderSlot(_ctx.$slots, "title", {}, () => [
26040
+ vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
26041
+ ])
26042
+ ], 2),
26043
+ vue.createElementVNode("div", {
26044
+ class: vue.normalizeClass(vue.unref(ns).e("extra"))
26045
+ }, [
26046
+ vue.renderSlot(_ctx.$slots, "extra", {}, () => [
26047
+ vue.createTextVNode(vue.toDisplayString(_ctx.extra), 1)
26048
+ ])
26049
+ ], 2)
26050
+ ], 2)) : vue.createCommentVNode("v-if", true),
26051
+ vue.createElementVNode("div", {
26052
+ class: vue.normalizeClass(vue.unref(ns).e("body"))
26053
+ }, [
26054
+ vue.createElementVNode("table", {
26055
+ class: vue.normalizeClass([vue.unref(ns).e("table"), vue.unref(ns).is("bordered", _ctx.border)])
26056
+ }, [
26057
+ vue.createElementVNode("tbody", null, [
26058
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getRows(), (row, index) => {
26059
+ return vue.openBlock(), vue.createBlock(ElDescriptionsRow, {
26060
+ key: index,
26061
+ row
26062
+ }, null, 8, ["row"]);
26063
+ }), 128))
26064
+ ])
26065
+ ], 2)
26066
+ ], 2)
26067
+ ], 2);
25838
26068
  };
25839
26069
  }
25840
26070
  });
25841
- function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
25842
- const _component_el_descriptions_row = vue.resolveComponent("el-descriptions-row");
25843
- return vue.openBlock(), vue.createElementBlock("div", {
25844
- class: vue.normalizeClass(_ctx.descriptionKls)
25845
- }, [
25846
- _ctx.title || _ctx.extra || _ctx.$slots.title || _ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock("div", {
25847
- key: 0,
25848
- class: vue.normalizeClass(_ctx.ns.e("header"))
25849
- }, [
25850
- vue.createElementVNode("div", {
25851
- class: vue.normalizeClass(_ctx.ns.e("title"))
25852
- }, [
25853
- vue.renderSlot(_ctx.$slots, "title", {}, () => [
25854
- vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
25855
- ])
25856
- ], 2),
25857
- vue.createElementVNode("div", {
25858
- class: vue.normalizeClass(_ctx.ns.e("extra"))
25859
- }, [
25860
- vue.renderSlot(_ctx.$slots, "extra", {}, () => [
25861
- vue.createTextVNode(vue.toDisplayString(_ctx.extra), 1)
25862
- ])
25863
- ], 2)
25864
- ], 2)) : vue.createCommentVNode("v-if", true),
25865
- vue.createElementVNode("div", {
25866
- class: vue.normalizeClass(_ctx.ns.e("body"))
25867
- }, [
25868
- vue.createElementVNode("table", {
25869
- class: vue.normalizeClass([_ctx.ns.e("table"), _ctx.ns.is("bordered", _ctx.border)])
25870
- }, [
25871
- vue.createElementVNode("tbody", null, [
25872
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.getRows(), (row, index) => {
25873
- return vue.openBlock(), vue.createBlock(_component_el_descriptions_row, {
25874
- key: index,
25875
- row
25876
- }, null, 8, ["row"]);
25877
- }), 128))
25878
- ])
25879
- ], 2)
25880
- ], 2)
25881
- ], 2);
25882
- }
25883
- var Descriptions = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$t], ["__file", "index.vue"]]);
26071
+ var Descriptions = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__file", "description.vue"]]);
25884
26072
 
25885
26073
  var DescriptionsItem = vue.defineComponent({
25886
26074
  name: "ElDescriptionsItem",
@@ -26018,7 +26206,7 @@
26018
26206
  close: () => true
26019
26207
  };
26020
26208
 
26021
- const _hoisted_1$A = ["aria-label"];
26209
+ const _hoisted_1$B = ["aria-label"];
26022
26210
  const _hoisted_2$n = ["id"];
26023
26211
  const __default__$K = { name: "ElDialogContent" };
26024
26212
  const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
@@ -26075,7 +26263,7 @@
26075
26263
  ]),
26076
26264
  _: 1
26077
26265
  }, 8, ["class"])
26078
- ], 10, _hoisted_1$A)) : vue.createCommentVNode("v-if", true)
26266
+ ], 10, _hoisted_1$B)) : vue.createCommentVNode("v-if", true)
26079
26267
  ], 2),
26080
26268
  vue.createElementVNode("div", {
26081
26269
  id: vue.unref(bodyId),
@@ -26315,7 +26503,7 @@
26315
26503
  };
26316
26504
  };
26317
26505
 
26318
- const _hoisted_1$z = ["aria-label", "aria-labelledby", "aria-describedby"];
26506
+ const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
26319
26507
  const __default__$J = {
26320
26508
  name: "ElDialog"
26321
26509
  };
@@ -26443,7 +26631,7 @@
26443
26631
  ]),
26444
26632
  _: 3
26445
26633
  }, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onReleaseRequested"])
26446
- ], 42, _hoisted_1$z)
26634
+ ], 42, _hoisted_1$A)
26447
26635
  ]),
26448
26636
  _: 3
26449
26637
  }, 8, ["mask", "overlay-class", "z-index"]), [
@@ -26568,7 +26756,7 @@
26568
26756
  };
26569
26757
  }
26570
26758
  });
26571
- const _hoisted_1$y = ["aria-label", "aria-labelledby", "aria-describedby"];
26759
+ const _hoisted_1$z = ["aria-label", "aria-labelledby", "aria-describedby"];
26572
26760
  const _hoisted_2$m = ["id"];
26573
26761
  const _hoisted_3$a = ["aria-label"];
26574
26762
  const _hoisted_4$7 = ["id"];
@@ -26670,7 +26858,7 @@
26670
26858
  }, [
26671
26859
  vue.renderSlot(_ctx.$slots, "footer")
26672
26860
  ], 2)) : vue.createCommentVNode("v-if", true)
26673
- ], 14, _hoisted_1$y)
26861
+ ], 14, _hoisted_1$z)
26674
26862
  ]),
26675
26863
  _: 3
26676
26864
  }, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
@@ -26920,14 +27108,7 @@
26920
27108
  vue.watch(() => props.currentTabId, (val) => {
26921
27109
  currentTabbedId.value = val != null ? val : null;
26922
27110
  });
26923
- vue.onMounted(() => {
26924
- const rovingFocusGroupEl = vue.unref(rovingFocusGroupRef);
26925
- on$1(rovingFocusGroupEl, ENTRY_FOCUS_EVT, handleEntryFocus);
26926
- });
26927
- vue.onBeforeUnmount(() => {
26928
- const rovingFocusGroupEl = vue.unref(rovingFocusGroupRef);
26929
- off(rovingFocusGroupEl, ENTRY_FOCUS_EVT, handleEntryFocus);
26930
- });
27111
+ useEventListener(rovingFocusGroupRef, ENTRY_FOCUS_EVT, handleEntryFocus);
26931
27112
  }
26932
27113
  });
26933
27114
  function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
@@ -27468,7 +27649,7 @@
27468
27649
  };
27469
27650
  }
27470
27651
  });
27471
- const _hoisted_1$x = ["aria-disabled", "tabindex", "role"];
27652
+ const _hoisted_1$y = ["aria-disabled", "tabindex", "role"];
27472
27653
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
27473
27654
  const _component_el_icon = vue.resolveComponent("el-icon");
27474
27655
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
@@ -27496,7 +27677,7 @@
27496
27677
  _: 1
27497
27678
  })) : vue.createCommentVNode("v-if", true),
27498
27679
  vue.renderSlot(_ctx.$slots, "default")
27499
- ], 16, _hoisted_1$x)
27680
+ ], 16, _hoisted_1$y)
27500
27681
  ], 64);
27501
27682
  }
27502
27683
  var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$l], ["__file", "dropdown-item-impl.vue"]]);
@@ -27671,7 +27852,7 @@
27671
27852
  };
27672
27853
  }
27673
27854
  });
27674
- const _hoisted_1$w = ["role", "aria-labelledby"];
27855
+ const _hoisted_1$x = ["role", "aria-labelledby"];
27675
27856
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
27676
27857
  return vue.openBlock(), vue.createElementBlock("ul", {
27677
27858
  ref: _ctx.dropdownListWrapperRef,
@@ -27686,7 +27867,7 @@
27686
27867
  onMousedown: _cache[3] || (_cache[3] = (...args) => _ctx.onMousedown && _ctx.onMousedown(...args))
27687
27868
  }, [
27688
27869
  vue.renderSlot(_ctx.$slots, "default")
27689
- ], 46, _hoisted_1$w);
27870
+ ], 46, _hoisted_1$x);
27690
27871
  }
27691
27872
  var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$j], ["__file", "dropdown-menu.vue"]]);
27692
27873
 
@@ -27708,7 +27889,7 @@
27708
27889
  };
27709
27890
  }
27710
27891
  });
27711
- const _hoisted_1$v = {
27892
+ const _hoisted_1$w = {
27712
27893
  viewBox: "0 0 79 86",
27713
27894
  version: "1.1",
27714
27895
  xmlns: "http://www.w3.org/2000/svg",
@@ -27755,7 +27936,7 @@
27755
27936
  const _hoisted_22 = ["fill", "mask"];
27756
27937
  const _hoisted_23 = ["fill"];
27757
27938
  function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
27758
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$v, [
27939
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$w, [
27759
27940
  vue.createElementVNode("defs", null, [
27760
27941
  vue.createElementVNode("linearGradient", {
27761
27942
  id: `linearGradient-1-${_ctx.id}`,
@@ -27887,7 +28068,7 @@
27887
28068
  }
27888
28069
  };
27889
28070
 
27890
- const _hoisted_1$u = ["src"];
28071
+ const _hoisted_1$v = ["src"];
27891
28072
  const _hoisted_2$k = { key: 1 };
27892
28073
  const __default__$H = {
27893
28074
  name: "ElEmpty"
@@ -27915,7 +28096,7 @@
27915
28096
  key: 0,
27916
28097
  src: _ctx.image,
27917
28098
  ondragstart: "return false"
27918
- }, null, 8, _hoisted_1$u)) : vue.renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
28099
+ }, null, 8, _hoisted_1$v)) : vue.renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
27919
28100
  vue.createVNode(ImgEmpty)
27920
28101
  ])
27921
28102
  ], 6),
@@ -29327,7 +29508,7 @@
29327
29508
  }
29328
29509
  });
29329
29510
 
29330
- const _hoisted_1$t = ["role", "aria-labelledby"];
29511
+ const _hoisted_1$u = ["role", "aria-labelledby"];
29331
29512
  const __default__$F = {
29332
29513
  name: "ElFormItem"
29333
29514
  };
@@ -29507,8 +29688,8 @@
29507
29688
  const computedValue = getProp(model, props.prop);
29508
29689
  if (!isEqual$1(computedValue.value, initialValue)) {
29509
29690
  isResettingField = true;
29691
+ computedValue.value = clone(initialValue);
29510
29692
  }
29511
- computedValue.value = clone(initialValue);
29512
29693
  await vue.nextTick();
29513
29694
  clearValidate();
29514
29695
  };
@@ -29609,7 +29790,7 @@
29609
29790
  _: 3
29610
29791
  }, 8, ["name"])
29611
29792
  ], 6)
29612
- ], 10, _hoisted_1$t);
29793
+ ], 10, _hoisted_1$u);
29613
29794
  };
29614
29795
  }
29615
29796
  });
@@ -29654,7 +29835,7 @@
29654
29835
  switch: (index) => isNumber(index)
29655
29836
  };
29656
29837
 
29657
- const _hoisted_1$s = ["src"];
29838
+ const _hoisted_1$t = ["src"];
29658
29839
  const __default__$E = {
29659
29840
  name: "ElImageViewer"
29660
29841
  };
@@ -30022,7 +30203,7 @@
30022
30203
  onLoad: handleImgLoad,
30023
30204
  onError: handleImgError,
30024
30205
  onMousedown: handleMouseDown
30025
- }, null, 46, _hoisted_1$s)), [
30206
+ }, null, 46, _hoisted_1$t)), [
30026
30207
  [vue.vShow, i === index.value]
30027
30208
  ]);
30028
30209
  }), 128))
@@ -30093,10 +30274,11 @@
30093
30274
  load: (evt) => evt instanceof Event,
30094
30275
  error: (evt) => evt instanceof Event,
30095
30276
  switch: (val) => isNumber(val),
30096
- close: () => true
30277
+ close: () => true,
30278
+ show: () => true
30097
30279
  };
30098
30280
 
30099
- const _hoisted_1$r = ["src", "loading"];
30281
+ const _hoisted_1$s = ["src", "loading"];
30100
30282
  const _hoisted_2$j = { key: 0 };
30101
30283
  const __default__$D = {
30102
30284
  name: "ElImage",
@@ -30215,6 +30397,7 @@
30215
30397
  prevOverflow = document.body.style.overflow;
30216
30398
  document.body.style.overflow = "hidden";
30217
30399
  showViewer.value = true;
30400
+ emit("show");
30218
30401
  }
30219
30402
  function closeViewer() {
30220
30403
  stopWheelListener == null ? void 0 : stopWheelListener();
@@ -30261,7 +30444,7 @@
30261
30444
  onClick: clickHandler,
30262
30445
  onLoad: handleLoad,
30263
30446
  onError: handleError
30264
- }), null, 16, _hoisted_1$r)) : vue.createCommentVNode("v-if", true),
30447
+ }), null, 16, _hoisted_1$s)) : vue.createCommentVNode("v-if", true),
30265
30448
  isLoading.value || hasLoadError.value ? (vue.openBlock(), vue.createElementBlock("div", {
30266
30449
  key: 1,
30267
30450
  class: vue.normalizeClass(vue.unref(ns).e("wrapper"))
@@ -30360,7 +30543,7 @@
30360
30543
  [UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)
30361
30544
  };
30362
30545
 
30363
- const _hoisted_1$q = ["aria-label", "onKeydown"];
30546
+ const _hoisted_1$r = ["aria-label", "onKeydown"];
30364
30547
  const _hoisted_2$i = ["aria-label", "onKeydown"];
30365
30548
  const __default__$C = {
30366
30549
  name: "ElInputNumber"
@@ -30590,8 +30773,8 @@
30590
30773
  ]),
30591
30774
  _: 1
30592
30775
  })
30593
- ], 42, _hoisted_1$q)), [
30594
- [vue.unref(vRepeatClick), decrease]
30776
+ ], 42, _hoisted_1$r)), [
30777
+ [vue.unref(RepeatClick), decrease]
30595
30778
  ]) : vue.createCommentVNode("v-if", true),
30596
30779
  _ctx.controls ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
30597
30780
  key: 1,
@@ -30607,7 +30790,7 @@
30607
30790
  _: 1
30608
30791
  })
30609
30792
  ], 42, _hoisted_2$i)), [
30610
- [vue.unref(vRepeatClick), increase]
30793
+ [vue.unref(RepeatClick), increase]
30611
30794
  ]) : vue.createCommentVNode("v-if", true),
30612
30795
  vue.createVNode(vue.unref(ElInput), {
30613
30796
  id: _ctx.id,
@@ -30662,7 +30845,7 @@
30662
30845
  click: (evt) => evt instanceof MouseEvent
30663
30846
  };
30664
30847
 
30665
- const _hoisted_1$p = ["href"];
30848
+ const _hoisted_1$q = ["href"];
30666
30849
  const __default__$B = {
30667
30850
  name: "ElLink"
30668
30851
  };
@@ -30701,7 +30884,7 @@
30701
30884
  vue.renderSlot(_ctx.$slots, "default")
30702
30885
  ], 2)) : vue.createCommentVNode("v-if", true),
30703
30886
  _ctx.$slots.icon ? vue.renderSlot(_ctx.$slots, "icon", { key: 2 }) : vue.createCommentVNode("v-if", true)
30704
- ], 10, _hoisted_1$p);
30887
+ ], 10, _hoisted_1$q);
30705
30888
  };
30706
30889
  }
30707
30890
  });
@@ -31332,7 +31515,6 @@
31332
31515
  const item = itemsInData[val] || activeIndex.value && itemsInData[activeIndex.value] || itemsInData[props.defaultActive];
31333
31516
  if (item) {
31334
31517
  activeIndex.value = item.index;
31335
- initMenu();
31336
31518
  } else {
31337
31519
  activeIndex.value = val;
31338
31520
  }
@@ -31346,11 +31528,18 @@
31346
31528
  }
31347
31529
  updateActiveIndex(currentActive);
31348
31530
  });
31349
- vue.watch(items.value, () => initMenu());
31350
31531
  vue.watch(() => props.collapse, (value) => {
31351
31532
  if (value)
31352
31533
  openedMenus.value = [];
31353
31534
  });
31535
+ vue.watch(items.value, initMenu);
31536
+ let resizeStopper;
31537
+ vue.watchEffect(() => {
31538
+ if (props.mode === "horizontal" && props.ellipsis)
31539
+ resizeStopper = useResizeObserver(menu, handleResize).stop;
31540
+ else
31541
+ resizeStopper == null ? void 0 : resizeStopper();
31542
+ });
31354
31543
  {
31355
31544
  const addSubMenu = (item) => {
31356
31545
  subMenus.value[item.index] = item;
@@ -31388,7 +31577,6 @@
31388
31577
  });
31389
31578
  }
31390
31579
  vue.onMounted(() => {
31391
- initMenu();
31392
31580
  if (props.mode === "horizontal") {
31393
31581
  new Menubar(instance.vnode.el, nsMenu.namespace.value);
31394
31582
  }
@@ -31416,7 +31604,6 @@
31416
31604
  });
31417
31605
  return result;
31418
31606
  };
31419
- const useVNodeResize = (vnode) => props.mode === "horizontal" ? vue.withDirectives(vnode, [[Resize, handleResize]]) : vnode;
31420
31607
  return () => {
31421
31608
  var _a, _b, _c, _d;
31422
31609
  let slot = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) != null ? _b : [];
@@ -31452,8 +31639,7 @@
31452
31639
  }
31453
31640
  }
31454
31641
  const ulStyle = useMenuCssVar(props, 0);
31455
- const resizeMenu = (vNode) => props.ellipsis ? useVNodeResize(vNode) : vNode;
31456
- const vMenu = resizeMenu(vue.h("ul", {
31642
+ const vMenu = vue.h("ul", {
31457
31643
  key: String(props.collapse),
31458
31644
  role: "menubar",
31459
31645
  ref: menu,
@@ -31463,7 +31649,7 @@
31463
31649
  [nsMenu.m(props.mode)]: true,
31464
31650
  [nsMenu.m("collapse")]: props.collapse
31465
31651
  }
31466
- }, [...slot, ...vShowMore]));
31652
+ }, [...slot, ...vShowMore]);
31467
31653
  if (props.collapseTransition && props.mode === "vertical") {
31468
31654
  return vue.h(ElMenuCollapseTransition, () => vMenu);
31469
31655
  }
@@ -31706,7 +31892,7 @@
31706
31892
  click: (evt) => evt instanceof MouseEvent
31707
31893
  };
31708
31894
 
31709
- const _hoisted_1$o = ["disabled", "aria-disabled"];
31895
+ const _hoisted_1$p = ["disabled", "aria-disabled"];
31710
31896
  const _hoisted_2$h = { key: 0 };
31711
31897
  const __default__$z = {
31712
31898
  name: "ElPaginationPrev"
@@ -31732,7 +31918,7 @@
31732
31918
  ]),
31733
31919
  _: 1
31734
31920
  }))
31735
- ], 8, _hoisted_1$o);
31921
+ ], 8, _hoisted_1$p);
31736
31922
  };
31737
31923
  }
31738
31924
  });
@@ -31753,7 +31939,7 @@
31753
31939
  }
31754
31940
  });
31755
31941
 
31756
- const _hoisted_1$n = ["disabled", "aria-disabled"];
31942
+ const _hoisted_1$o = ["disabled", "aria-disabled"];
31757
31943
  const _hoisted_2$g = { key: 0 };
31758
31944
  const __default__$y = {
31759
31945
  name: "ElPaginationNext"
@@ -31779,7 +31965,7 @@
31779
31965
  ]),
31780
31966
  _: 1
31781
31967
  }))
31782
- ], 8, _hoisted_1$n);
31968
+ ], 8, _hoisted_1$o);
31783
31969
  };
31784
31970
  }
31785
31971
  });
@@ -31912,11 +32098,11 @@
31912
32098
  const doesSelected = selectedOptions.some((item) => {
31913
32099
  return item.value === vm.value;
31914
32100
  });
31915
- if (select.cachedOptions.get(key) === vm && !doesSelected) {
31916
- vue.nextTick(() => {
32101
+ vue.nextTick(() => {
32102
+ if (select.cachedOptions.get(key) === vm && !doesSelected) {
31917
32103
  select.cachedOptions.delete(key);
31918
- });
31919
- }
32104
+ }
32105
+ });
31920
32106
  select.onOptionDestroy(key, vm);
31921
32107
  });
31922
32108
  function selectOptionClick() {
@@ -32562,8 +32748,6 @@
32562
32748
  };
32563
32749
  const toggleMenu = () => {
32564
32750
  var _a;
32565
- if (props.automaticDropdown)
32566
- return;
32567
32751
  if (!selectDisabled.value) {
32568
32752
  if (states.menuVisibleOnFocus) {
32569
32753
  states.menuVisibleOnFocus = false;
@@ -32973,7 +33157,7 @@
32973
33157
  };
32974
33158
  }
32975
33159
  });
32976
- const _hoisted_1$m = { class: "select-trigger" };
33160
+ const _hoisted_1$n = { class: "select-trigger" };
32977
33161
  const _hoisted_2$f = ["disabled", "autocomplete"];
32978
33162
  const _hoisted_3$8 = { style: { "height": "100%", "display": "flex", "justify-content": "center", "align-items": "center" } };
32979
33163
  function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
@@ -32988,12 +33172,11 @@
32988
33172
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
32989
33173
  ref: "selectWrapper",
32990
33174
  class: vue.normalizeClass(_ctx.wrapperKls),
32991
- onClick: _cache[23] || (_cache[23] = vue.withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
33175
+ onClick: _cache[22] || (_cache[22] = vue.withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
32992
33176
  }, [
32993
33177
  vue.createVNode(_component_el_tooltip, {
32994
33178
  ref: "tooltipRef",
32995
33179
  visible: _ctx.dropMenuVisible,
32996
- "onUpdate:visible": _cache[22] || (_cache[22] = ($event) => _ctx.dropMenuVisible = $event),
32997
33180
  placement: "bottom-start",
32998
33181
  teleported: _ctx.teleported,
32999
33182
  "popper-class": [_ctx.nsSelect.e("popper"), _ctx.popperClass],
@@ -33008,7 +33191,7 @@
33008
33191
  onShow: _ctx.handleMenuEnter
33009
33192
  }, {
33010
33193
  default: vue.withCtx(() => [
33011
- vue.createElementVNode("div", _hoisted_1$m, [
33194
+ vue.createElementVNode("div", _hoisted_1$n, [
33012
33195
  _ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", {
33013
33196
  key: 0,
33014
33197
  ref: "tags",
@@ -33052,7 +33235,7 @@
33052
33235
  "fallback-placements": ["bottom", "top", "right", "left"],
33053
33236
  effect: _ctx.effect,
33054
33237
  placement: "bottom",
33055
- teleported: false
33238
+ teleported: _ctx.teleported
33056
33239
  }, {
33057
33240
  default: vue.withCtx(() => [
33058
33241
  vue.createElementVNode("span", {
@@ -33094,7 +33277,7 @@
33094
33277
  ], 2)
33095
33278
  ]),
33096
33279
  _: 1
33097
- }, 8, ["disabled", "effect"])) : (vue.openBlock(), vue.createElementBlock("span", {
33280
+ }, 8, ["disabled", "effect", "teleported"])) : (vue.openBlock(), vue.createElementBlock("span", {
33098
33281
  key: 1,
33099
33282
  class: vue.normalizeClass(_ctx.nsSelect.e("tags-text"))
33100
33283
  }, "+ " + vue.toDisplayString(_ctx.selected.length - 1), 3))
@@ -33434,7 +33617,7 @@
33434
33617
  });
33435
33618
  var Sizes = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "sizes.vue"]]);
33436
33619
 
33437
- const _hoisted_1$l = ["disabled"];
33620
+ const _hoisted_1$m = ["disabled"];
33438
33621
  const __default__$w = {
33439
33622
  name: "ElPaginationJumper"
33440
33623
  };
@@ -33475,7 +33658,7 @@
33475
33658
  onChange: handleChange
33476
33659
  }, null, 8, ["class", "max", "disabled", "model-value"]),
33477
33660
  vue.createTextVNode(" " + vue.toDisplayString(vue.unref(t)("el.pagination.pageClassifier")), 1)
33478
- ], 10, _hoisted_1$l);
33661
+ ], 10, _hoisted_1$m);
33479
33662
  };
33480
33663
  }
33481
33664
  });
@@ -33488,7 +33671,7 @@
33488
33671
  }
33489
33672
  });
33490
33673
 
33491
- const _hoisted_1$k = ["disabled"];
33674
+ const _hoisted_1$l = ["disabled"];
33492
33675
  const __default__$v = {
33493
33676
  name: "ElPaginationTotal"
33494
33677
  };
@@ -33505,7 +33688,7 @@
33505
33688
  disabled: vue.unref(disabled)
33506
33689
  }, vue.toDisplayString(vue.unref(t)("el.pagination.total", {
33507
33690
  total: _ctx.total
33508
- })), 11, _hoisted_1$k);
33691
+ })), 11, _hoisted_1$l);
33509
33692
  };
33510
33693
  }
33511
33694
  });
@@ -33527,7 +33710,7 @@
33527
33710
  disabled: Boolean
33528
33711
  });
33529
33712
 
33530
- const _hoisted_1$j = ["onKeyup"];
33713
+ const _hoisted_1$k = ["onKeyup"];
33531
33714
  const _hoisted_2$e = ["aria-current", "tabindex"];
33532
33715
  const _hoisted_3$7 = ["tabindex"];
33533
33716
  const _hoisted_4$5 = ["aria-current", "tabindex"];
@@ -33723,7 +33906,7 @@
33723
33906
  "aria-current": _ctx.currentPage === _ctx.pageCount,
33724
33907
  tabindex: vue.unref(tabindex)
33725
33908
  }, vue.toDisplayString(_ctx.pageCount), 11, _hoisted_6$1)) : vue.createCommentVNode("v-if", true)
33726
- ], 42, _hoisted_1$j);
33909
+ ], 42, _hoisted_1$k);
33727
33910
  };
33728
33911
  }
33729
33912
  });
@@ -34030,18 +34213,15 @@
34030
34213
  var _a, _b;
34031
34214
  (_b = (_a = tooltipRef.value) == null ? void 0 : _a.onClose) == null ? void 0 : _b.call(_a);
34032
34215
  };
34033
- const handleCallback = () => {
34034
- hidePopper();
34035
- };
34036
34216
  const confirm = (e) => {
34037
34217
  var _a;
34038
34218
  (_a = props.onConfirm) == null ? void 0 : _a.call(props, e);
34039
- handleCallback();
34219
+ hidePopper();
34040
34220
  };
34041
34221
  const cancel = (e) => {
34042
34222
  var _a;
34043
34223
  (_a = props.onCancel) == null ? void 0 : _a.call(props, e);
34044
- handleCallback();
34224
+ hidePopper();
34045
34225
  };
34046
34226
  const finalConfirmButtonText = vue.computed(() => props.confirmButtonText || t("el.popconfirm.confirmButtonText"));
34047
34227
  const finalCancelButtonText = vue.computed(() => props.cancelButtonText || t("el.popconfirm.cancelButtonText"));
@@ -34164,6 +34344,9 @@
34164
34344
  persistent: {
34165
34345
  type: Boolean,
34166
34346
  default: true
34347
+ },
34348
+ "onUpdate:visible": {
34349
+ type: Function
34167
34350
  }
34168
34351
  });
34169
34352
  const popoverEmits = {
@@ -34183,6 +34366,10 @@
34183
34366
  emits: popoverEmits,
34184
34367
  setup(__props, { expose, emit }) {
34185
34368
  const props = __props;
34369
+ const updateEventKeyRaw = `onUpdate:visible`;
34370
+ const onUpdateVisible = vue.computed(() => {
34371
+ return props[updateEventKeyRaw];
34372
+ });
34186
34373
  const ns = useNamespace("popover");
34187
34374
  const tooltipRef = vue.ref();
34188
34375
  const popperRef = vue.computed(() => {
@@ -34250,6 +34437,7 @@
34250
34437
  teleported: _ctx.teleported,
34251
34438
  persistent: _ctx.persistent,
34252
34439
  "gpu-acceleration": vue.unref(gpuAcceleration),
34440
+ "onUpdate:visible": vue.unref(onUpdateVisible),
34253
34441
  onBeforeShow: beforeEnter,
34254
34442
  onBeforeHide: beforeLeave,
34255
34443
  onShow: afterEnter,
@@ -34269,7 +34457,7 @@
34269
34457
  _ctx.$slots.reference ? vue.renderSlot(_ctx.$slots, "reference", { key: 0 }) : vue.createCommentVNode("v-if", true)
34270
34458
  ]),
34271
34459
  _: 3
34272
- }, 16, ["trigger", "placement", "disabled", "visible", "transition", "popper-options", "tabindex", "content", "offset", "show-after", "hide-after", "auto-close", "show-arrow", "aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "persistent", "gpu-acceleration"]);
34460
+ }, 16, ["trigger", "placement", "disabled", "visible", "transition", "popper-options", "tabindex", "content", "offset", "show-after", "hide-after", "auto-close", "show-arrow", "aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "persistent", "gpu-acceleration", "onUpdate:visible"]);
34273
34461
  };
34274
34462
  }
34275
34463
  });
@@ -34355,7 +34543,7 @@
34355
34543
  }
34356
34544
  });
34357
34545
 
34358
- const _hoisted_1$i = ["aria-valuenow"];
34546
+ const _hoisted_1$j = ["aria-valuenow"];
34359
34547
  const _hoisted_2$d = { viewBox: "0 0 100 100" };
34360
34548
  const _hoisted_3$6 = ["d", "stroke", "stroke-width"];
34361
34549
  const _hoisted_4$4 = ["d", "stroke", "opacity", "stroke-linecap", "stroke-width"];
@@ -34545,7 +34733,7 @@
34545
34733
  }))
34546
34734
  ])
34547
34735
  ], 6)) : vue.createCommentVNode("v-if", true)
34548
- ], 10, _hoisted_1$i);
34736
+ ], 10, _hoisted_1$j);
34549
34737
  };
34550
34738
  }
34551
34739
  });
@@ -34642,7 +34830,7 @@
34642
34830
  [UPDATE_MODEL_EVENT]: (value) => isNumber(value)
34643
34831
  };
34644
34832
 
34645
- const _hoisted_1$h = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuetext", "aria-valuemax"];
34833
+ const _hoisted_1$i = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuetext", "aria-valuemax"];
34646
34834
  const _hoisted_2$c = ["onMousemove", "onClick"];
34647
34835
  const __default__$q = {
34648
34836
  name: "ElRate"
@@ -34822,12 +35010,13 @@
34822
35010
  resetCurrentValue
34823
35011
  });
34824
35012
  return (_ctx, _cache) => {
35013
+ var _a;
34825
35014
  return vue.openBlock(), vue.createElementBlock("div", {
34826
35015
  id: vue.unref(inputId),
34827
35016
  class: vue.normalizeClass([vue.unref(rateClasses), vue.unref(ns).is("disabled", vue.unref(rateDisabled))]),
34828
35017
  role: "slider",
34829
35018
  "aria-label": !vue.unref(isLabeledByFormItem) ? _ctx.label || "rating" : void 0,
34830
- "aria-labelledby": vue.unref(isLabeledByFormItem) ? vue.unref(formItemContext).labelId : void 0,
35019
+ "aria-labelledby": vue.unref(isLabeledByFormItem) ? (_a = vue.unref(formItemContext)) == null ? void 0 : _a.labelId : void 0,
34831
35020
  "aria-valuenow": currentValue.value,
34832
35021
  "aria-valuetext": vue.unref(text) || void 0,
34833
35022
  "aria-valuemin": "0",
@@ -34872,7 +35061,7 @@
34872
35061
  key: 0,
34873
35062
  class: vue.normalizeClass(vue.unref(ns).e("text"))
34874
35063
  }, vue.toDisplayString(vue.unref(text)), 3)) : vue.createCommentVNode("v-if", true)
34875
- ], 46, _hoisted_1$h);
35064
+ ], 46, _hoisted_1$i);
34876
35065
  };
34877
35066
  }
34878
35067
  });
@@ -36306,7 +36495,7 @@
36306
36495
  const _states = vue.unref(states);
36307
36496
  columnIdx = Math.max(0, Math.min(columnIdx, props.totalColumn - 1));
36308
36497
  rowIndex = Math.max(0, Math.min(rowIndex, props.totalRow - 1));
36309
- const scrollBarWidth = getScrollBarWidth();
36498
+ const scrollBarWidth = getScrollBarWidth(ns.namespace.value);
36310
36499
  const _cache = vue.unref(cache);
36311
36500
  const estimatedHeight = getEstimatedTotalHeight(props, _cache);
36312
36501
  const estimatedWidth = getEstimatedTotalWidth(props, _cache);
@@ -37006,7 +37195,7 @@
37006
37195
  };
37007
37196
  }
37008
37197
  });
37009
- const _hoisted_1$g = ["aria-selected"];
37198
+ const _hoisted_1$h = ["aria-selected"];
37010
37199
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
37011
37200
  return vue.openBlock(), vue.createElementBlock("li", {
37012
37201
  "aria-selected": _ctx.selected,
@@ -37028,7 +37217,7 @@
37028
37217
  }, () => [
37029
37218
  vue.createElementVNode("span", null, vue.toDisplayString(_ctx.item.label), 1)
37030
37219
  ])
37031
- ], 46, _hoisted_1$g);
37220
+ ], 46, _hoisted_1$h);
37032
37221
  }
37033
37222
  var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$9], ["__file", "option-item.vue"]]);
37034
37223
 
@@ -37458,8 +37647,9 @@
37458
37647
  });
37459
37648
  const filteredOptions = vue.computed(() => {
37460
37649
  const isValidOption = (o) => {
37650
+ var _a;
37461
37651
  const query = states.inputValue;
37462
- const containsQueryString = query ? o.label.includes(query) : true;
37652
+ const containsQueryString = query ? (_a = o.label) == null ? void 0 : _a.includes(query) : true;
37463
37653
  return containsQueryString;
37464
37654
  };
37465
37655
  if (props.loading) {
@@ -38031,7 +38221,7 @@
38031
38221
  return API;
38032
38222
  }
38033
38223
  });
38034
- const _hoisted_1$f = { key: 0 };
38224
+ const _hoisted_1$g = { key: 0 };
38035
38225
  const _hoisted_2$b = ["id", "autocomplete", "aria-expanded", "aria-labelledby", "disabled", "readonly", "name", "unselectable"];
38036
38226
  const _hoisted_3$5 = ["textContent"];
38037
38227
  const _hoisted_4$3 = ["id", "aria-labelledby", "aria-expanded", "autocomplete", "disabled", "name", "readonly", "unselectable"];
@@ -38046,14 +38236,13 @@
38046
38236
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
38047
38237
  ref: "selectRef",
38048
38238
  class: vue.normalizeClass([_ctx.nsSelectV2.b(), _ctx.nsSelectV2.m(_ctx.selectSize)]),
38049
- onClick: _cache[24] || (_cache[24] = vue.withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"])),
38050
- onMouseenter: _cache[25] || (_cache[25] = ($event) => _ctx.states.comboBoxHovering = true),
38051
- onMouseleave: _cache[26] || (_cache[26] = ($event) => _ctx.states.comboBoxHovering = false)
38239
+ onClick: _cache[23] || (_cache[23] = vue.withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"])),
38240
+ onMouseenter: _cache[24] || (_cache[24] = ($event) => _ctx.states.comboBoxHovering = true),
38241
+ onMouseleave: _cache[25] || (_cache[25] = ($event) => _ctx.states.comboBoxHovering = false)
38052
38242
  }, [
38053
38243
  vue.createVNode(_component_el_tooltip, {
38054
38244
  ref: "popper",
38055
38245
  visible: _ctx.dropdownMenuVisible,
38056
- "onUpdate:visible": _cache[22] || (_cache[22] = ($event) => _ctx.dropdownMenuVisible = $event),
38057
38246
  teleported: _ctx.teleported,
38058
38247
  "popper-class": [_ctx.nsSelectV2.e("popper"), _ctx.popperClass],
38059
38248
  "gpu-acceleration": false,
@@ -38067,7 +38256,7 @@
38067
38256
  trigger: "click",
38068
38257
  persistent: _ctx.persistent,
38069
38258
  onBeforeShow: _ctx.handleMenuEnter,
38070
- onHide: _cache[23] || (_cache[23] = ($event) => _ctx.states.inputValue = _ctx.states.displayInputValue)
38259
+ onHide: _cache[22] || (_cache[22] = ($event) => _ctx.states.inputValue = _ctx.states.displayInputValue)
38071
38260
  }, {
38072
38261
  default: vue.withCtx(() => {
38073
38262
  var _a;
@@ -38082,7 +38271,7 @@
38082
38271
  _ctx.nsSelectV2.is("disabled", _ctx.selectDisabled)
38083
38272
  ])
38084
38273
  }, [
38085
- _ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
38274
+ _ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
38086
38275
  vue.renderSlot(_ctx.$slots, "prefix")
38087
38276
  ])) : vue.createCommentVNode("v-if", true),
38088
38277
  _ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -38952,7 +39141,9 @@
38952
39141
  const steps = Math.round(newPosition / lengthPerStep);
38953
39142
  let value = steps * lengthPerStep * (max.value - min.value) * 0.01 + min.value;
38954
39143
  value = Number.parseFloat(value.toFixed(precision.value));
38955
- emit(UPDATE_MODEL_EVENT, value);
39144
+ if (value !== props.modelValue) {
39145
+ emit(UPDATE_MODEL_EVENT, value);
39146
+ }
38956
39147
  if (!initData.dragging && props.modelValue !== initData.oldValue) {
38957
39148
  initData.oldValue = props.modelValue;
38958
39149
  }
@@ -38964,6 +39155,7 @@
38964
39155
  updateDragging(val);
38965
39156
  });
38966
39157
  return {
39158
+ disabled,
38967
39159
  button,
38968
39160
  tooltip,
38969
39161
  tooltipVisible,
@@ -39095,6 +39287,7 @@
39095
39287
  [UPDATE_MODEL_EVENT]: (value) => isNumber(value)
39096
39288
  };
39097
39289
 
39290
+ const _hoisted_1$f = ["tabindex"];
39098
39291
  const __default__$l = {
39099
39292
  name: "ElSliderButton"
39100
39293
  };
@@ -39118,6 +39311,7 @@
39118
39311
  oldValue: props.modelValue
39119
39312
  });
39120
39313
  const {
39314
+ disabled,
39121
39315
  button,
39122
39316
  tooltip,
39123
39317
  showTooltip,
@@ -39144,20 +39338,19 @@
39144
39338
  ref: button,
39145
39339
  class: vue.normalizeClass([vue.unref(ns).e("button-wrapper"), { hover: vue.unref(hovering), dragging: vue.unref(dragging) }]),
39146
39340
  style: vue.normalizeStyle(vue.unref(wrapperStyle)),
39147
- tabindex: "0",
39148
- onMouseenter: _cache[1] || (_cache[1] = (...args) => vue.unref(handleMouseEnter) && vue.unref(handleMouseEnter)(...args)),
39149
- onMouseleave: _cache[2] || (_cache[2] = (...args) => vue.unref(handleMouseLeave) && vue.unref(handleMouseLeave)(...args)),
39150
- onMousedown: _cache[3] || (_cache[3] = (...args) => vue.unref(onButtonDown) && vue.unref(onButtonDown)(...args)),
39151
- onTouchstart: _cache[4] || (_cache[4] = (...args) => vue.unref(onButtonDown) && vue.unref(onButtonDown)(...args)),
39152
- onFocus: _cache[5] || (_cache[5] = (...args) => vue.unref(handleMouseEnter) && vue.unref(handleMouseEnter)(...args)),
39153
- onBlur: _cache[6] || (_cache[6] = (...args) => vue.unref(handleMouseLeave) && vue.unref(handleMouseLeave)(...args)),
39154
- onKeydown: _cache[7] || (_cache[7] = (...args) => vue.unref(onKeyDown) && vue.unref(onKeyDown)(...args))
39341
+ tabindex: vue.unref(disabled) ? -1 : 0,
39342
+ onMouseenter: _cache[0] || (_cache[0] = (...args) => vue.unref(handleMouseEnter) && vue.unref(handleMouseEnter)(...args)),
39343
+ onMouseleave: _cache[1] || (_cache[1] = (...args) => vue.unref(handleMouseLeave) && vue.unref(handleMouseLeave)(...args)),
39344
+ onMousedown: _cache[2] || (_cache[2] = (...args) => vue.unref(onButtonDown) && vue.unref(onButtonDown)(...args)),
39345
+ onTouchstart: _cache[3] || (_cache[3] = (...args) => vue.unref(onButtonDown) && vue.unref(onButtonDown)(...args)),
39346
+ onFocus: _cache[4] || (_cache[4] = (...args) => vue.unref(handleMouseEnter) && vue.unref(handleMouseEnter)(...args)),
39347
+ onBlur: _cache[5] || (_cache[5] = (...args) => vue.unref(handleMouseLeave) && vue.unref(handleMouseLeave)(...args)),
39348
+ onKeydown: _cache[6] || (_cache[6] = (...args) => vue.unref(onKeyDown) && vue.unref(onKeyDown)(...args))
39155
39349
  }, [
39156
39350
  vue.createVNode(vue.unref(ElTooltip), {
39157
39351
  ref_key: "tooltip",
39158
39352
  ref: tooltip,
39159
39353
  visible: vue.unref(tooltipVisible),
39160
- "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => vue.isRef(tooltipVisible) ? tooltipVisible.value = $event : null),
39161
39354
  placement: _ctx.placement,
39162
39355
  "fallback-placements": ["top", "bottom", "right", "left"],
39163
39356
  "stop-popper-mouse-event": false,
@@ -39175,7 +39368,7 @@
39175
39368
  ]),
39176
39369
  _: 1
39177
39370
  }, 8, ["visible", "placement", "popper-class", "disabled"])
39178
- ], 38);
39371
+ ], 46, _hoisted_1$f);
39179
39372
  };
39180
39373
  }
39181
39374
  });
@@ -39198,7 +39391,7 @@
39198
39391
  const style = vue.computed(() => isString(props.mark) ? void 0 : props.mark.style);
39199
39392
  return () => vue.h("div", {
39200
39393
  class: ns.e("marks-text"),
39201
- style
39394
+ style: style.value
39202
39395
  }, label.value);
39203
39396
  }
39204
39397
  });
@@ -39545,37 +39738,45 @@
39545
39738
  props: spaceProps,
39546
39739
  setup(props, { slots }) {
39547
39740
  const { classes, containerStyle, itemStyle } = useSpace(props);
39548
- return () => {
39549
- var _a;
39550
- const { spacer, prefixCls, direction } = props;
39551
- const children = vue.renderSlot(slots, "default", { key: 0 }, () => []);
39552
- if (((_a = children.children) != null ? _a : []).length === 0)
39553
- return null;
39554
- if (isArray(children.children)) {
39555
- let extractedChildren = [];
39556
- children.children.forEach((child, loopKey) => {
39557
- if (isFragment(child)) {
39558
- if (isArray(child.children)) {
39559
- child.children.forEach((nested, key) => {
39741
+ function extractChildren(children, parentKey = "", extractedChildren = []) {
39742
+ const { prefixCls } = props;
39743
+ children.forEach((child, loopKey) => {
39744
+ if (isFragment(child)) {
39745
+ if (isArray(child.children)) {
39746
+ child.children.forEach((nested, key) => {
39747
+ if (isFragment(nested) && isArray(nested.children)) {
39748
+ extractChildren(nested.children, `${parentKey + key}-`, extractedChildren);
39749
+ } else {
39560
39750
  extractedChildren.push(vue.createVNode(Item, {
39561
39751
  style: itemStyle.value,
39562
39752
  prefixCls,
39563
- key: `nested-${key}`
39753
+ key: `nested-${parentKey + key}`
39564
39754
  }, {
39565
39755
  default: () => [nested]
39566
39756
  }, PatchFlags.PROPS | PatchFlags.STYLE, ["style", "prefixCls"]));
39567
- });
39568
- }
39569
- } else if (isValidElementNode(child)) {
39570
- extractedChildren.push(vue.createVNode(Item, {
39571
- style: itemStyle.value,
39572
- prefixCls,
39573
- key: `LoopKey${loopKey}`
39574
- }, {
39575
- default: () => [child]
39576
- }, PatchFlags.PROPS | PatchFlags.STYLE, ["style", "prefixCls"]));
39757
+ }
39758
+ });
39577
39759
  }
39578
- });
39760
+ } else if (isValidElementNode(child)) {
39761
+ extractedChildren.push(vue.createVNode(Item, {
39762
+ style: itemStyle.value,
39763
+ prefixCls,
39764
+ key: `LoopKey${parentKey + loopKey}`
39765
+ }, {
39766
+ default: () => [child]
39767
+ }, PatchFlags.PROPS | PatchFlags.STYLE, ["style", "prefixCls"]));
39768
+ }
39769
+ });
39770
+ return extractedChildren;
39771
+ }
39772
+ return () => {
39773
+ var _a;
39774
+ const { spacer, direction } = props;
39775
+ const children = vue.renderSlot(slots, "default", { key: 0 }, () => []);
39776
+ if (((_a = children.children) != null ? _a : []).length === 0)
39777
+ return null;
39778
+ if (isArray(children.children)) {
39779
+ let extractedChildren = extractChildren(children.children);
39579
39780
  if (spacer) {
39580
39781
  const len = extractedChildren.length - 1;
39581
39782
  extractedChildren = extractedChildren.reduce((acc, child, idx) => {
@@ -39814,7 +40015,7 @@
39814
40015
  }, null, 6)
39815
40016
  ], 2)) : vue.createCommentVNode("v-if", true),
39816
40017
  vue.createElementVNode("div", {
39817
- class: vue.normalizeClass([vue.unref(ns).e("icon"), vue.unref(ns).is(_ctx.icon ? "icon" : "text")])
40018
+ class: vue.normalizeClass([vue.unref(ns).e("icon"), vue.unref(ns).is(_ctx.icon || _ctx.$slots.icon ? "icon" : "text")])
39818
40019
  }, [
39819
40020
  vue.unref(currentStatus) !== "success" && vue.unref(currentStatus) !== "error" ? vue.renderSlot(_ctx.$slots, "icon", { key: 0 }, () => [
39820
40021
  _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
@@ -40258,14 +40459,8 @@
40258
40459
  */
40259
40460
 
40260
40461
  const getCell = function(event) {
40261
- let cell = event.target;
40262
- while (cell && cell.tagName.toUpperCase() !== "HTML") {
40263
- if (cell.tagName.toUpperCase() === "TD") {
40264
- return cell;
40265
- }
40266
- cell = cell.parentNode;
40267
- }
40268
- return null;
40462
+ var _a;
40463
+ return (_a = event.target) == null ? void 0 : _a.closest("td");
40269
40464
  };
40270
40465
  const isObject = function(obj) {
40271
40466
  return obj !== null && typeof obj === "object";
@@ -40517,11 +40712,9 @@
40517
40712
  try {
40518
40713
  popperInstance && popperInstance.destroy();
40519
40714
  content && (parentNode == null ? void 0 : parentNode.removeChild(content));
40520
- off(trigger, "mouseenter", showPopper);
40521
- off(trigger, "mouseleave", removePopper);
40522
- if (scrollContainer) {
40523
- off(scrollContainer, "scroll", removePopper);
40524
- }
40715
+ trigger.removeEventListener("mouseenter", showPopper);
40716
+ trigger.removeEventListener("mouseleave", removePopper);
40717
+ scrollContainer == null ? void 0 : scrollContainer.removeEventListener("scroll", removePopper);
40525
40718
  removePopper = void 0;
40526
40719
  } catch (e) {
40527
40720
  }
@@ -40549,11 +40742,9 @@
40549
40742
  ],
40550
40743
  ...popperOptions
40551
40744
  });
40552
- on$1(trigger, "mouseenter", showPopper);
40553
- on$1(trigger, "mouseleave", removePopper);
40554
- if (scrollContainer) {
40555
- on$1(scrollContainer, "scroll", removePopper);
40556
- }
40745
+ trigger.addEventListener("mouseenter", showPopper);
40746
+ trigger.addEventListener("mouseleave", removePopper);
40747
+ scrollContainer == null ? void 0 : scrollContainer.addEventListener("scroll", removePopper);
40557
40748
  return popperInstance;
40558
40749
  }
40559
40750
  const isFixedColumn = (index, fixed, store, realColumns) => {
@@ -41611,14 +41802,6 @@
41611
41802
  this.bodyWidth = vue.ref(null);
41612
41803
  this.fixedWidth = vue.ref(null);
41613
41804
  this.rightFixedWidth = vue.ref(null);
41614
- this.tableHeight = vue.ref(null);
41615
- this.headerHeight = vue.ref(44);
41616
- this.appendHeight = vue.ref(0);
41617
- this.footerHeight = vue.ref(44);
41618
- this.viewportHeight = vue.ref(null);
41619
- this.bodyHeight = vue.ref(null);
41620
- this.bodyScrollHeight = vue.ref(0);
41621
- this.fixedBodyHeight = vue.ref(null);
41622
41805
  this.gutterWidth = 0;
41623
41806
  for (const name in options) {
41624
41807
  if (hasOwn(options, name)) {
@@ -41640,15 +41823,11 @@
41640
41823
  const height = this.height.value;
41641
41824
  if (height === null)
41642
41825
  return false;
41643
- const bodyWrapper = this.table.refs.bodyWrapper;
41644
- if (this.table.vnode.el && bodyWrapper) {
41826
+ const scrollBarRef = this.table.refs.scrollBarRef;
41827
+ if (this.table.vnode.el && scrollBarRef) {
41645
41828
  let scrollY = true;
41646
41829
  const prevScrollY = this.scrollY.value;
41647
- if (this.bodyHeight.value === null) {
41648
- scrollY = false;
41649
- } else {
41650
- scrollY = bodyWrapper.scrollHeight > this.bodyHeight.value;
41651
- }
41830
+ scrollY = scrollBarRef.wrap$.scrollHeight > scrollBarRef.wrap$.clientHeight;
41652
41831
  this.scrollY.value = scrollY;
41653
41832
  return prevScrollY !== scrollY;
41654
41833
  }
@@ -41686,43 +41865,6 @@
41686
41865
  return flattenColumns;
41687
41866
  }
41688
41867
  updateElsHeight() {
41689
- var _a, _b;
41690
- if (!this.table.$ready)
41691
- return vue.nextTick(() => this.updateElsHeight());
41692
- const {
41693
- tableWrapper,
41694
- headerWrapper,
41695
- appendWrapper,
41696
- footerWrapper,
41697
- tableHeader,
41698
- tableBody
41699
- } = this.table.refs;
41700
- if (tableWrapper && tableWrapper.style.display === "none") {
41701
- return;
41702
- }
41703
- const { tableLayout } = this.table.props;
41704
- this.appendHeight.value = appendWrapper ? appendWrapper.offsetHeight : 0;
41705
- if (this.showHeader && !headerWrapper && tableLayout === "fixed") {
41706
- return;
41707
- }
41708
- const headerTrElm = tableHeader ? tableHeader : null;
41709
- const noneHeader = this.headerDisplayNone(headerTrElm);
41710
- const headerWrapperOffsetHeight = (headerWrapper == null ? void 0 : headerWrapper.offsetHeight) || 0;
41711
- const headerHeight = this.headerHeight.value = !this.showHeader ? 0 : headerWrapperOffsetHeight;
41712
- if (this.showHeader && !noneHeader && headerWrapperOffsetHeight > 0 && (this.table.store.states.columns.value || []).length > 0 && headerHeight < 2) {
41713
- return vue.nextTick(() => this.updateElsHeight());
41714
- }
41715
- const tableHeight = this.tableHeight.value = (_b = (_a = this.table) == null ? void 0 : _a.vnode.el) == null ? void 0 : _b.clientHeight;
41716
- const footerHeight = this.footerHeight.value = footerWrapper ? footerWrapper.offsetHeight : 0;
41717
- if (this.height.value !== null) {
41718
- if (this.bodyHeight.value === null) {
41719
- requestAnimationFrame(() => this.updateElsHeight());
41720
- }
41721
- this.bodyHeight.value = tableHeight - headerHeight - footerHeight + (footerWrapper ? 1 : 0);
41722
- this.bodyScrollHeight.value = tableBody == null ? void 0 : tableBody.scrollHeight;
41723
- }
41724
- this.fixedBodyHeight.value = this.scrollX.value ? this.bodyHeight.value - this.gutterWidth : this.bodyHeight.value;
41725
- this.viewportHeight.value = this.scrollX.value ? tableHeight - this.gutterWidth : tableHeight;
41726
41868
  this.updateScrollY();
41727
41869
  this.notifyObservers("scrollable");
41728
41870
  }
@@ -41996,7 +42138,6 @@
41996
42138
  return vue.openBlock(), vue.createBlock(_component_el_tooltip, {
41997
42139
  ref: "tooltip",
41998
42140
  visible: _ctx.tooltipVisible,
41999
- "onUpdate:visible": _cache[5] || (_cache[5] = ($event) => _ctx.tooltipVisible = $event),
42000
42141
  offset: 0,
42001
42142
  placement: _ctx.placement,
42002
42143
  "show-arrow": false,
@@ -42249,12 +42390,10 @@
42249
42390
  }
42250
42391
  };
42251
42392
  const handleMouseMove = (event, column) => {
42393
+ var _a;
42252
42394
  if (column.children && column.children.length > 0)
42253
42395
  return;
42254
- let target = event.target;
42255
- while (target && target.tagName !== "TH") {
42256
- target = target.parentNode;
42257
- }
42396
+ const target = (_a = event.target) == null ? void 0 : _a.closest("th");
42258
42397
  if (!column || !column.resizable)
42259
42398
  return;
42260
42399
  if (!dragging.value && props.border) {
@@ -42287,13 +42426,11 @@
42287
42426
  return sortOrders[index > sortOrders.length - 2 ? 0 : index + 1];
42288
42427
  };
42289
42428
  const handleSortClick = (event, column, givenOrder) => {
42429
+ var _a;
42290
42430
  event.stopPropagation();
42291
42431
  const order = column.order === givenOrder ? null : givenOrder || toggleOrder(column);
42292
- let target = event.target;
42293
- while (target && target.tagName !== "TH") {
42294
- target = target.parentNode;
42295
- }
42296
- if (target && target.tagName === "TH") {
42432
+ const target = (_a = event.target) == null ? void 0 : _a.closest("th");
42433
+ if (target) {
42297
42434
  if (hasClass(target, "noclick")) {
42298
42435
  removeClass(target, "noclick");
42299
42436
  return;
@@ -43358,14 +43495,19 @@
43358
43495
  };
43359
43496
  const resizeState = vue.ref({
43360
43497
  width: null,
43361
- height: null
43498
+ height: null,
43499
+ headerHeight: null
43362
43500
  });
43363
43501
  const isGroup = vue.ref(false);
43364
43502
  const scrollbarViewStyle = {
43365
- display: "block",
43503
+ display: "inline-block",
43366
43504
  verticalAlign: "middle"
43367
43505
  };
43368
43506
  const tableWidth = vue.ref();
43507
+ const tableScrollHeight = vue.ref(0);
43508
+ const bodyScrollHeight = vue.ref(0);
43509
+ const headerScrollHeight = vue.ref(0);
43510
+ const footerScrollHeight = vue.ref(0);
43369
43511
  vue.watchEffect(() => {
43370
43512
  layout.setHeight(props.height);
43371
43513
  });
@@ -43422,12 +43564,14 @@
43422
43564
  bindEvents();
43423
43565
  requestAnimationFrame(doLayout);
43424
43566
  const el = table.vnode.el;
43567
+ const tableHeader = table.refs.headerWrapper;
43425
43568
  if (props.flexible && el && el.parentElement) {
43426
43569
  el.parentElement.style.minWidth = "0";
43427
43570
  }
43428
43571
  resizeState.value = {
43429
43572
  width: tableWidth.value = el.offsetWidth,
43430
- height: el.offsetHeight
43573
+ height: el.offsetHeight,
43574
+ headerHeight: props.showHeader && tableHeader ? tableHeader.offsetHeight : null
43431
43575
  };
43432
43576
  store.states.columns.value.forEach((column) => {
43433
43577
  if (column.filteredValue && column.filteredValue.length) {
@@ -43498,23 +43642,37 @@
43498
43642
  }
43499
43643
  };
43500
43644
  const resizeListener = () => {
43501
- if (!table.$ready)
43645
+ var _a, _b, _c;
43646
+ const el = table.vnode.el;
43647
+ if (!table.$ready || !el)
43502
43648
  return;
43503
43649
  let shouldUpdateLayout = false;
43504
- const el = table.vnode.el;
43505
- const { width: oldWidth, height: oldHeight } = resizeState.value;
43650
+ const {
43651
+ width: oldWidth,
43652
+ height: oldHeight,
43653
+ headerHeight: oldHeaderHeight
43654
+ } = resizeState.value;
43506
43655
  const width = tableWidth.value = el.offsetWidth;
43507
43656
  if (oldWidth !== width) {
43508
43657
  shouldUpdateLayout = true;
43509
43658
  }
43510
- const height2 = el.offsetHeight;
43511
- if ((props.height || shouldUpdateHeight.value) && oldHeight !== height2) {
43659
+ const height = el.offsetHeight;
43660
+ if ((props.height || shouldUpdateHeight.value) && oldHeight !== height) {
43661
+ shouldUpdateLayout = true;
43662
+ }
43663
+ const tableHeader = props.tableLayout === "fixed" ? table.refs.headerWrapper : (_a = table.refs.tableHeaderRef) == null ? void 0 : _a.$el;
43664
+ if (props.showHeader && (tableHeader == null ? void 0 : tableHeader.offsetHeight) !== oldHeaderHeight) {
43512
43665
  shouldUpdateLayout = true;
43513
43666
  }
43667
+ tableScrollHeight.value = ((_b = table.refs.tableWrapper) == null ? void 0 : _b.scrollHeight) || 0;
43668
+ headerScrollHeight.value = (tableHeader == null ? void 0 : tableHeader.scrollHeight) || 0;
43669
+ footerScrollHeight.value = ((_c = table.refs.footerWrapper) == null ? void 0 : _c.scrollHeight) || 0;
43670
+ bodyScrollHeight.value = tableScrollHeight.value - headerScrollHeight.value - footerScrollHeight.value;
43514
43671
  if (shouldUpdateLayout) {
43515
43672
  resizeState.value = {
43516
43673
  width,
43517
- height: height2
43674
+ height,
43675
+ headerHeight: props.showHeader && (tableHeader == null ? void 0 : tableHeader.offsetHeight) || 0
43518
43676
  };
43519
43677
  doLayout();
43520
43678
  }
@@ -43529,57 +43687,58 @@
43529
43687
  return "fixed";
43530
43688
  return props.tableLayout;
43531
43689
  });
43532
- function calcMaxHeight(maxHeight, footerHeight, headerHeight) {
43533
- const parsedMaxHeight = parseHeight(maxHeight);
43534
- const tableHeaderHeight = props.showHeader ? headerHeight : 0;
43535
- if (parsedMaxHeight === null)
43536
- return;
43537
- if (isString(parsedMaxHeight)) {
43538
- return `calc(${parsedMaxHeight} - ${footerHeight}px - ${tableHeaderHeight}px)`;
43690
+ const emptyBlockStyle = vue.computed(() => {
43691
+ if (props.data && props.data.length)
43692
+ return null;
43693
+ let height = "100%";
43694
+ if (bodyScrollHeight.value) {
43695
+ height = `${bodyScrollHeight.value}px`;
43539
43696
  }
43540
- return parsedMaxHeight - footerHeight - tableHeaderHeight;
43541
- }
43542
- const height = vue.computed(() => {
43543
- const headerHeight = layout.headerHeight.value || 0;
43544
- const bodyHeight2 = layout.bodyHeight.value;
43545
- const footerHeight = layout.footerHeight.value || 0;
43697
+ const width = tableWidth.value;
43698
+ return {
43699
+ width: width ? `${width}px` : "",
43700
+ height
43701
+ };
43702
+ });
43703
+ const tableInnerStyle = vue.computed(() => {
43546
43704
  if (props.height) {
43547
- return bodyHeight2 ? bodyHeight2 : void 0;
43548
- } else if (props.maxHeight) {
43549
- return calcMaxHeight(props.maxHeight, footerHeight, headerHeight);
43705
+ return {
43706
+ height: !Number.isNaN(Number(props.height)) ? `${props.height}px` : props.height
43707
+ };
43550
43708
  }
43551
- return void 0;
43709
+ if (props.maxHeight) {
43710
+ return {
43711
+ maxHeight: !Number.isNaN(Number(props.maxHeight)) ? `${props.maxHeight}px` : props.maxHeight
43712
+ };
43713
+ }
43714
+ return {};
43552
43715
  });
43553
- const bodyHeight = vue.computed(() => {
43554
- const headerHeight = layout.headerHeight.value || 0;
43555
- const bodyHeight2 = layout.bodyHeight.value;
43556
- const footerHeight = layout.footerHeight.value || 0;
43716
+ const scrollbarStyle = vue.computed(() => {
43717
+ var _a, _b;
43557
43718
  if (props.height) {
43558
43719
  return {
43559
- height: bodyHeight2 ? `${bodyHeight2}px` : ""
43720
+ height: "100%"
43560
43721
  };
43561
- } else if (props.maxHeight) {
43562
- const maxHeight = calcMaxHeight(props.maxHeight, footerHeight, headerHeight);
43563
- if (maxHeight !== null) {
43722
+ }
43723
+ if (props.maxHeight) {
43724
+ if (!Number.isNaN(Number(props.maxHeight))) {
43725
+ const headerHeight = ((_a = table.refs.headerWrapper) == null ? void 0 : _a.scrollHeight) || 0;
43726
+ const footerHeight = ((_b = table.refs.footerWrapper) == null ? void 0 : _b.scrollHeight) || 0;
43727
+ const maxHeight = props.maxHeight;
43728
+ const reachMaxHeight = tableScrollHeight.value >= Number(maxHeight);
43729
+ if (reachMaxHeight) {
43730
+ return {
43731
+ maxHeight: `${tableScrollHeight.value - headerHeight - footerHeight}px`
43732
+ };
43733
+ }
43734
+ } else {
43564
43735
  return {
43565
- "max-height": `${maxHeight}${isNumber(maxHeight) ? "px" : ""}`
43736
+ maxHeight: `calc(${props.maxHeight} - ${headerScrollHeight.value + footerScrollHeight.value}px)`
43566
43737
  };
43567
43738
  }
43568
43739
  }
43569
43740
  return {};
43570
43741
  });
43571
- const emptyBlockStyle = vue.computed(() => {
43572
- if (props.data && props.data.length)
43573
- return null;
43574
- let height2 = "100%";
43575
- if (layout.appendHeight.value) {
43576
- height2 = `calc(100% - ${layout.appendHeight.value}px)`;
43577
- }
43578
- return {
43579
- width: tableWidth.value ? `${tableWidth.value}px` : "",
43580
- height: height2
43581
- };
43582
- });
43583
43742
  const handleFixedMousewheel = (event, data) => {
43584
43743
  const bodyWrapper = table.refs.bodyWrapper;
43585
43744
  if (Math.abs(data.spinY) > 0) {
@@ -43595,47 +43754,6 @@
43595
43754
  bodyWrapper.scrollLeft += Math.ceil(data.pixelX / 5);
43596
43755
  }
43597
43756
  };
43598
- const fixedHeight = vue.computed(() => {
43599
- if (props.maxHeight) {
43600
- if (props.showSummary) {
43601
- return {
43602
- bottom: 0
43603
- };
43604
- }
43605
- return {
43606
- bottom: layout.scrollX.value && props.data.length ? `${layout.gutterWidth}px` : ""
43607
- };
43608
- } else {
43609
- if (props.showSummary) {
43610
- return {
43611
- height: layout.tableHeight.value ? `${layout.tableHeight.value}px` : ""
43612
- };
43613
- }
43614
- return {
43615
- height: layout.viewportHeight.value ? `${layout.viewportHeight.value}px` : ""
43616
- };
43617
- }
43618
- });
43619
- const fixedBodyHeight = vue.computed(() => {
43620
- if (props.height) {
43621
- return {
43622
- height: layout.fixedBodyHeight.value ? `${layout.fixedBodyHeight.value}px` : ""
43623
- };
43624
- } else if (props.maxHeight) {
43625
- let maxHeight = parseHeight(props.maxHeight);
43626
- if (typeof maxHeight === "number") {
43627
- maxHeight = layout.scrollX.value ? maxHeight - layout.gutterWidth : maxHeight;
43628
- if (props.showHeader) {
43629
- maxHeight -= layout.headerHeight.value;
43630
- }
43631
- maxHeight -= layout.footerHeight.value;
43632
- return {
43633
- "max-height": `${maxHeight}px`
43634
- };
43635
- }
43636
- }
43637
- return {};
43638
- });
43639
43757
  return {
43640
43758
  isHidden,
43641
43759
  renderExpanded,
@@ -43644,28 +43762,24 @@
43644
43762
  handleMouseLeave,
43645
43763
  handleHeaderFooterMousewheel,
43646
43764
  tableSize,
43647
- bodyHeight,
43648
- height,
43649
43765
  emptyBlockStyle,
43650
43766
  handleFixedMousewheel,
43651
- fixedHeight,
43652
- fixedBodyHeight,
43653
43767
  resizeProxyVisible,
43654
43768
  bodyWidth,
43655
43769
  resizeState,
43656
43770
  doLayout,
43657
43771
  tableBodyStyles,
43658
43772
  tableLayout,
43659
- scrollbarViewStyle
43773
+ scrollbarViewStyle,
43774
+ tableInnerStyle,
43775
+ scrollbarStyle
43660
43776
  };
43661
43777
  }
43662
43778
 
43663
43779
  var defaultProps$1 = {
43664
43780
  data: {
43665
43781
  type: Array,
43666
- default: () => {
43667
- return [];
43668
- }
43782
+ default: () => []
43669
43783
  },
43670
43784
  size: String,
43671
43785
  width: [String, Number],
@@ -43831,19 +43945,17 @@
43831
43945
  handleMouseLeave,
43832
43946
  handleHeaderFooterMousewheel,
43833
43947
  tableSize,
43834
- bodyHeight,
43835
- height,
43836
43948
  emptyBlockStyle,
43837
43949
  handleFixedMousewheel,
43838
- fixedHeight,
43839
- fixedBodyHeight,
43840
43950
  resizeProxyVisible,
43841
43951
  bodyWidth,
43842
43952
  resizeState,
43843
43953
  doLayout,
43844
43954
  tableBodyStyles,
43845
43955
  tableLayout,
43846
- scrollbarViewStyle
43956
+ scrollbarViewStyle,
43957
+ tableInnerStyle,
43958
+ scrollbarStyle
43847
43959
  } = useStyle(props, layout, store, table);
43848
43960
  const { scrollBarRef, scrollTo, setScrollLeft, setScrollTop } = useScrollbar$1();
43849
43961
  const debouncedUpdateLayout = debounce(doLayout, 50);
@@ -43874,14 +43986,10 @@
43874
43986
  resizeState,
43875
43987
  isGroup,
43876
43988
  bodyWidth,
43877
- bodyHeight,
43878
- height,
43879
43989
  tableBodyStyles,
43880
43990
  emptyBlockStyle,
43881
43991
  debouncedUpdateLayout,
43882
43992
  handleFixedMousewheel,
43883
- fixedHeight,
43884
- fixedBodyHeight,
43885
43993
  setCurrentRow,
43886
43994
  getSelectionRows,
43887
43995
  toggleRowSelection,
@@ -43899,6 +44007,8 @@
43899
44007
  computedEmptyText,
43900
44008
  tableLayout,
43901
44009
  scrollbarViewStyle,
44010
+ tableInnerStyle,
44011
+ scrollbarStyle,
43902
44012
  scrollBarRef,
43903
44013
  scrollTo,
43904
44014
  setScrollLeft,
@@ -43944,7 +44054,8 @@
43944
44054
  onMouseleave: _cache[0] || (_cache[0] = ($event) => _ctx.handleMouseLeave())
43945
44055
  }, [
43946
44056
  vue.createElementVNode("div", {
43947
- class: vue.normalizeClass(_ctx.ns.e("inner-wrapper"))
44057
+ class: vue.normalizeClass(_ctx.ns.e("inner-wrapper")),
44058
+ style: vue.normalizeStyle(_ctx.tableInnerStyle)
43948
44059
  }, [
43949
44060
  vue.createElementVNode("div", _hoisted_2$7, [
43950
44061
  vue.renderSlot(_ctx.$slots, "default")
@@ -43979,14 +44090,12 @@
43979
44090
  ]) : vue.createCommentVNode("v-if", true),
43980
44091
  vue.createElementVNode("div", {
43981
44092
  ref: "bodyWrapper",
43982
- style: vue.normalizeStyle(_ctx.bodyHeight),
43983
44093
  class: vue.normalizeClass(_ctx.ns.e("body-wrapper"))
43984
44094
  }, [
43985
44095
  vue.createVNode(_component_el_scrollbar, {
43986
44096
  ref: "scrollBarRef",
43987
- height: _ctx.maxHeight ? void 0 : _ctx.height,
43988
- "max-height": _ctx.maxHeight ? _ctx.height : void 0,
43989
44097
  "view-style": _ctx.scrollbarViewStyle,
44098
+ "wrap-style": _ctx.scrollbarStyle,
43990
44099
  always: _ctx.scrollbarAlwaysOn
43991
44100
  }, {
43992
44101
  default: vue.withCtx(() => [
@@ -44007,6 +44116,7 @@
44007
44116
  }, null, 8, ["columns", "table-layout"]),
44008
44117
  _ctx.showHeader && _ctx.tableLayout === "auto" ? (vue.openBlock(), vue.createBlock(_component_table_header, {
44009
44118
  key: 0,
44119
+ ref: "tableHeaderRef",
44010
44120
  border: _ctx.border,
44011
44121
  "default-sort": _ctx.defaultSort,
44012
44122
  store: _ctx.store,
@@ -44045,30 +44155,30 @@
44045
44155
  ], 2)) : vue.createCommentVNode("v-if", true)
44046
44156
  ]),
44047
44157
  _: 3
44048
- }, 8, ["height", "max-height", "view-style", "always"])
44049
- ], 6),
44050
- _ctx.border || _ctx.isGroup ? (vue.openBlock(), vue.createElementBlock("div", {
44158
+ }, 8, ["view-style", "wrap-style", "always"])
44159
+ ], 2),
44160
+ _ctx.showSummary ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
44051
44161
  key: 1,
44162
+ ref: "footerWrapper",
44163
+ class: vue.normalizeClass(_ctx.ns.e("footer-wrapper"))
44164
+ }, [
44165
+ vue.createVNode(_component_table_footer, {
44166
+ border: _ctx.border,
44167
+ "default-sort": _ctx.defaultSort,
44168
+ store: _ctx.store,
44169
+ style: vue.normalizeStyle(_ctx.tableBodyStyles),
44170
+ "sum-text": _ctx.computedSumText,
44171
+ "summary-method": _ctx.summaryMethod
44172
+ }, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
44173
+ ], 2)), [
44174
+ [vue.vShow, !_ctx.isEmpty],
44175
+ [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
44176
+ ]) : vue.createCommentVNode("v-if", true),
44177
+ _ctx.border || _ctx.isGroup ? (vue.openBlock(), vue.createElementBlock("div", {
44178
+ key: 2,
44052
44179
  class: vue.normalizeClass(_ctx.ns.e("border-left-patch"))
44053
44180
  }, null, 2)) : vue.createCommentVNode("v-if", true)
44054
- ], 2),
44055
- _ctx.showSummary ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
44056
- key: 0,
44057
- ref: "footerWrapper",
44058
- class: vue.normalizeClass(_ctx.ns.e("footer-wrapper"))
44059
- }, [
44060
- vue.createVNode(_component_table_footer, {
44061
- border: _ctx.border,
44062
- "default-sort": _ctx.defaultSort,
44063
- store: _ctx.store,
44064
- style: vue.normalizeStyle(_ctx.tableBodyStyles),
44065
- "sum-text": _ctx.computedSumText,
44066
- "summary-method": _ctx.summaryMethod
44067
- }, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
44068
- ], 2)), [
44069
- [vue.vShow, !_ctx.isEmpty],
44070
- [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
44071
- ]) : vue.createCommentVNode("v-if", true),
44181
+ ], 6),
44072
44182
  vue.withDirectives(vue.createElementVNode("div", {
44073
44183
  ref: "resizeProxy",
44074
44184
  class: vue.normalizeClass(_ctx.ns.e("column-resize-proxy"))
@@ -46964,7 +47074,7 @@
46964
47074
  } = EVENT_CODE;
46965
47075
  if (![up, down, left, right].includes(code))
46966
47076
  return;
46967
- const tabList = Array.from(e.currentTarget.querySelectorAll("[role=tab]"));
47077
+ const tabList = Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));
46968
47078
  const currentIndex = tabList.indexOf(e.target);
46969
47079
  let nextIndex;
46970
47080
  if (code === left || code === up) {
@@ -47027,8 +47137,9 @@
47027
47137
  })])] : null;
47028
47138
  const tabs = props.panes.map((pane, index) => {
47029
47139
  var _a, _b, _c, _d;
47140
+ const disabled = pane.props.disabled;
47030
47141
  const tabName = (_b = (_a = pane.props.name) != null ? _a : pane.index) != null ? _b : `${index}`;
47031
- const closable = pane.isClosable || props.editable;
47142
+ const closable = !disabled && (pane.isClosable || props.editable);
47032
47143
  pane.index = `${index}`;
47033
47144
  const btnClose = closable ? vue.createVNode(ElIcon, {
47034
47145
  "class": "is-icon-close",
@@ -47037,10 +47148,10 @@
47037
47148
  default: () => [vue.createVNode(close_default, null, null)]
47038
47149
  }) : null;
47039
47150
  const tabLabelContent = ((_d = (_c = pane.slots).label) == null ? void 0 : _d.call(_c)) || pane.props.label;
47040
- const tabindex = pane.active ? 0 : -1;
47151
+ const tabindex = !disabled && pane.active ? 0 : -1;
47041
47152
  return vue.createVNode("div", {
47042
47153
  "ref": `tab-${tabName}`,
47043
- "class": [ns.e("item"), ns.is(rootTabs.props.tabPosition), ns.is("active", pane.active), ns.is("disabled", pane.props.disabled), ns.is("closable", closable), ns.is("focus", isFocus.value)],
47154
+ "class": [ns.e("item"), ns.is(rootTabs.props.tabPosition), ns.is("active", pane.active), ns.is("disabled", disabled), ns.is("closable", closable), ns.is("focus", isFocus.value)],
47044
47155
  "id": `tab-${tabName}`,
47045
47156
  "key": `tab-${tabName}`,
47046
47157
  "aria-controls": `pane-${tabName}`,
@@ -49959,10 +50070,6 @@
49959
50070
  const checkboxItems = vue.shallowRef([]);
49960
50071
  vue.onMounted(() => {
49961
50072
  initTabIndex();
49962
- on$1(el$.value, "keydown", handleKeydown);
49963
- });
49964
- vue.onBeforeUnmount(() => {
49965
- off(el$.value, "keydown", handleKeydown);
49966
50073
  });
49967
50074
  vue.onUpdated(() => {
49968
50075
  treeItems.value = Array.from(el$.value.querySelectorAll("[role=treeitem]"));
@@ -50026,6 +50133,7 @@
50026
50133
  hasInput.click();
50027
50134
  }
50028
50135
  };
50136
+ useEventListener(el$, "keydown", handleKeydown);
50029
50137
  const initTabIndex = () => {
50030
50138
  var _a;
50031
50139
  treeItems.value = Array.from(el$.value.querySelectorAll(`.${ns.is("focusable")}[role=treeitem]`));
@@ -52169,7 +52277,7 @@
52169
52277
  props.onError(err, uploadFile, uploadFiles.value);
52170
52278
  }
52171
52279
  }
52172
- uploadFiles.value.push(uploadFile);
52280
+ uploadFiles.value = [...uploadFiles.value, uploadFile];
52173
52281
  props.onChange(uploadFile, uploadFiles.value);
52174
52282
  };
52175
52283
  const handleRemove = async (file) => {
@@ -53094,7 +53202,9 @@
53094
53202
  ...messageDefaults,
53095
53203
  ...options
53096
53204
  };
53097
- if (isString(normalized.appendTo)) {
53205
+ if (!normalized.appendTo) {
53206
+ normalized.appendTo = document.body;
53207
+ } else if (isString(normalized.appendTo)) {
53098
53208
  let appendTo = document.querySelector(normalized.appendTo);
53099
53209
  if (!isElement$1(appendTo)) {
53100
53210
  appendTo = document.body;
@@ -53343,12 +53453,12 @@
53343
53453
  vue.onMounted(async () => {
53344
53454
  await vue.nextTick();
53345
53455
  if (props.closeOnHashChange) {
53346
- on$1(window, "hashchange", doClose);
53456
+ window.addEventListener("hashchange", doClose);
53347
53457
  }
53348
53458
  });
53349
53459
  vue.onBeforeUnmount(() => {
53350
53460
  if (props.closeOnHashChange) {
53351
- off(window, "hashchange", doClose);
53461
+ window.removeEventListener("hashchange", doClose);
53352
53462
  }
53353
53463
  });
53354
53464
  function doClose() {
@@ -54023,9 +54133,9 @@
54023
54133
  const id = `notification_${seed++}`;
54024
54134
  const userOnClose = options.onClose;
54025
54135
  const props = {
54136
+ ...options,
54026
54137
  zIndex: nextZIndex(),
54027
54138
  offset: verticalOffset,
54028
- ...options,
54029
54139
  id,
54030
54140
  onClose: () => {
54031
54141
  close(id, position, userOnClose);
@@ -54267,8 +54377,7 @@
54267
54377
  exports.POPPER_INJECTION_KEY = POPPER_INJECTION_KEY;
54268
54378
  exports.RIGHT_CHECK_CHANGE_EVENT = RIGHT_CHECK_CHANGE_EVENT;
54269
54379
  exports.ROOT_PICKER_INJECTION_KEY = ROOT_PICKER_INJECTION_KEY;
54270
- exports.RepeatClick = vRepeatClick;
54271
- exports.Resize = Resize;
54380
+ exports.RepeatClick = RepeatClick;
54272
54381
  exports.RowAlign = RowAlign;
54273
54382
  exports.RowJustify = RowJustify;
54274
54383
  exports.TOOLTIP_INJECTION_KEY = TOOLTIP_INJECTION_KEY;
@@ -54334,6 +54443,7 @@
54334
54443
  exports.dayjs = dayjs;
54335
54444
  exports["default"] = installer;
54336
54445
  exports.defaultNamespace = defaultNamespace;
54446
+ exports.descriptionProps = descriptionProps;
54337
54447
  exports.dialogEmits = dialogEmits;
54338
54448
  exports.dialogInjectionKey = dialogInjectionKey;
54339
54449
  exports.dialogProps = dialogProps;