@element-plus/nightly 0.0.20230508 → 0.0.20230509

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 (430) hide show
  1. package/dist/index.full.js +3 -3
  2. package/dist/index.full.min.js +3 -3
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +3 -3
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +3 -3
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar.js +1 -1
  12. package/dist/locale/ar.min.js +1 -1
  13. package/dist/locale/ar.min.mjs +1 -1
  14. package/dist/locale/ar.mjs +1 -1
  15. package/dist/locale/az.js +1 -1
  16. package/dist/locale/az.min.js +1 -1
  17. package/dist/locale/az.min.mjs +1 -1
  18. package/dist/locale/az.mjs +1 -1
  19. package/dist/locale/bg.js +1 -1
  20. package/dist/locale/bg.min.js +1 -1
  21. package/dist/locale/bg.min.mjs +1 -1
  22. package/dist/locale/bg.mjs +1 -1
  23. package/dist/locale/bn.js +1 -1
  24. package/dist/locale/bn.min.js +1 -1
  25. package/dist/locale/bn.min.mjs +1 -1
  26. package/dist/locale/bn.mjs +1 -1
  27. package/dist/locale/ca.js +1 -1
  28. package/dist/locale/ca.min.js +1 -1
  29. package/dist/locale/ca.min.mjs +1 -1
  30. package/dist/locale/ca.mjs +1 -1
  31. package/dist/locale/ckb.js +1 -1
  32. package/dist/locale/ckb.min.js +1 -1
  33. package/dist/locale/ckb.min.mjs +1 -1
  34. package/dist/locale/ckb.mjs +1 -1
  35. package/dist/locale/cs.js +1 -1
  36. package/dist/locale/cs.min.js +1 -1
  37. package/dist/locale/cs.min.mjs +1 -1
  38. package/dist/locale/cs.mjs +1 -1
  39. package/dist/locale/da.js +1 -1
  40. package/dist/locale/da.min.js +1 -1
  41. package/dist/locale/da.min.mjs +1 -1
  42. package/dist/locale/da.mjs +1 -1
  43. package/dist/locale/de.js +1 -1
  44. package/dist/locale/de.min.js +1 -1
  45. package/dist/locale/de.min.mjs +1 -1
  46. package/dist/locale/de.mjs +1 -1
  47. package/dist/locale/el.js +1 -1
  48. package/dist/locale/el.min.js +1 -1
  49. package/dist/locale/el.min.mjs +1 -1
  50. package/dist/locale/el.mjs +1 -1
  51. package/dist/locale/en.js +1 -1
  52. package/dist/locale/en.min.js +1 -1
  53. package/dist/locale/en.min.mjs +1 -1
  54. package/dist/locale/en.mjs +1 -1
  55. package/dist/locale/eo.js +1 -1
  56. package/dist/locale/eo.min.js +1 -1
  57. package/dist/locale/eo.min.mjs +1 -1
  58. package/dist/locale/eo.mjs +1 -1
  59. package/dist/locale/es.js +1 -1
  60. package/dist/locale/es.min.js +1 -1
  61. package/dist/locale/es.min.mjs +1 -1
  62. package/dist/locale/es.mjs +1 -1
  63. package/dist/locale/et.js +1 -1
  64. package/dist/locale/et.min.js +1 -1
  65. package/dist/locale/et.min.mjs +1 -1
  66. package/dist/locale/et.mjs +1 -1
  67. package/dist/locale/eu.js +1 -1
  68. package/dist/locale/eu.min.js +1 -1
  69. package/dist/locale/eu.min.mjs +1 -1
  70. package/dist/locale/eu.mjs +1 -1
  71. package/dist/locale/fa.js +1 -1
  72. package/dist/locale/fa.min.js +1 -1
  73. package/dist/locale/fa.min.mjs +1 -1
  74. package/dist/locale/fa.mjs +1 -1
  75. package/dist/locale/fi.js +1 -1
  76. package/dist/locale/fi.min.js +1 -1
  77. package/dist/locale/fi.min.mjs +1 -1
  78. package/dist/locale/fi.mjs +1 -1
  79. package/dist/locale/fr.js +1 -1
  80. package/dist/locale/fr.min.js +1 -1
  81. package/dist/locale/fr.min.mjs +1 -1
  82. package/dist/locale/fr.mjs +1 -1
  83. package/dist/locale/he.js +1 -1
  84. package/dist/locale/he.min.js +1 -1
  85. package/dist/locale/he.min.mjs +1 -1
  86. package/dist/locale/he.mjs +1 -1
  87. package/dist/locale/hr.js +1 -1
  88. package/dist/locale/hr.min.js +1 -1
  89. package/dist/locale/hr.min.mjs +1 -1
  90. package/dist/locale/hr.mjs +1 -1
  91. package/dist/locale/hu.js +1 -1
  92. package/dist/locale/hu.min.js +1 -1
  93. package/dist/locale/hu.min.mjs +1 -1
  94. package/dist/locale/hu.mjs +1 -1
  95. package/dist/locale/hy-am.js +1 -1
  96. package/dist/locale/hy-am.min.js +1 -1
  97. package/dist/locale/hy-am.min.mjs +1 -1
  98. package/dist/locale/hy-am.mjs +1 -1
  99. package/dist/locale/id.js +1 -1
  100. package/dist/locale/id.min.js +1 -1
  101. package/dist/locale/id.min.mjs +1 -1
  102. package/dist/locale/id.mjs +1 -1
  103. package/dist/locale/it.js +1 -1
  104. package/dist/locale/it.min.js +1 -1
  105. package/dist/locale/it.min.mjs +1 -1
  106. package/dist/locale/it.mjs +1 -1
  107. package/dist/locale/ja.js +1 -1
  108. package/dist/locale/ja.min.js +1 -1
  109. package/dist/locale/ja.min.mjs +1 -1
  110. package/dist/locale/ja.mjs +1 -1
  111. package/dist/locale/kk.js +1 -1
  112. package/dist/locale/kk.min.js +1 -1
  113. package/dist/locale/kk.min.mjs +1 -1
  114. package/dist/locale/kk.mjs +1 -1
  115. package/dist/locale/km.js +1 -1
  116. package/dist/locale/km.min.js +1 -1
  117. package/dist/locale/km.min.mjs +1 -1
  118. package/dist/locale/km.mjs +1 -1
  119. package/dist/locale/ko.js +1 -1
  120. package/dist/locale/ko.min.js +1 -1
  121. package/dist/locale/ko.min.mjs +1 -1
  122. package/dist/locale/ko.mjs +1 -1
  123. package/dist/locale/ku.js +1 -1
  124. package/dist/locale/ku.min.js +1 -1
  125. package/dist/locale/ku.min.mjs +1 -1
  126. package/dist/locale/ku.mjs +1 -1
  127. package/dist/locale/ky.js +1 -1
  128. package/dist/locale/ky.min.js +1 -1
  129. package/dist/locale/ky.min.mjs +1 -1
  130. package/dist/locale/ky.mjs +1 -1
  131. package/dist/locale/lt.js +1 -1
  132. package/dist/locale/lt.min.js +1 -1
  133. package/dist/locale/lt.min.mjs +1 -1
  134. package/dist/locale/lt.mjs +1 -1
  135. package/dist/locale/lv.js +1 -1
  136. package/dist/locale/lv.min.js +1 -1
  137. package/dist/locale/lv.min.mjs +1 -1
  138. package/dist/locale/lv.mjs +1 -1
  139. package/dist/locale/mg.js +1 -1
  140. package/dist/locale/mg.min.js +1 -1
  141. package/dist/locale/mg.min.mjs +1 -1
  142. package/dist/locale/mg.mjs +1 -1
  143. package/dist/locale/mn.js +1 -1
  144. package/dist/locale/mn.min.js +1 -1
  145. package/dist/locale/mn.min.mjs +1 -1
  146. package/dist/locale/mn.mjs +1 -1
  147. package/dist/locale/nb-no.js +1 -1
  148. package/dist/locale/nb-no.min.js +1 -1
  149. package/dist/locale/nb-no.min.mjs +1 -1
  150. package/dist/locale/nb-no.mjs +1 -1
  151. package/dist/locale/nl.js +1 -1
  152. package/dist/locale/nl.min.js +1 -1
  153. package/dist/locale/nl.min.mjs +1 -1
  154. package/dist/locale/nl.mjs +1 -1
  155. package/dist/locale/pa.js +1 -1
  156. package/dist/locale/pa.min.js +1 -1
  157. package/dist/locale/pa.min.mjs +1 -1
  158. package/dist/locale/pa.mjs +1 -1
  159. package/dist/locale/pl.js +1 -1
  160. package/dist/locale/pl.min.js +1 -1
  161. package/dist/locale/pl.min.mjs +1 -1
  162. package/dist/locale/pl.mjs +1 -1
  163. package/dist/locale/pt-br.js +1 -1
  164. package/dist/locale/pt-br.min.js +1 -1
  165. package/dist/locale/pt-br.min.mjs +1 -1
  166. package/dist/locale/pt-br.mjs +1 -1
  167. package/dist/locale/pt.js +1 -1
  168. package/dist/locale/pt.min.js +1 -1
  169. package/dist/locale/pt.min.mjs +1 -1
  170. package/dist/locale/pt.mjs +1 -1
  171. package/dist/locale/ro.js +1 -1
  172. package/dist/locale/ro.min.js +1 -1
  173. package/dist/locale/ro.min.mjs +1 -1
  174. package/dist/locale/ro.mjs +1 -1
  175. package/dist/locale/ru.js +1 -1
  176. package/dist/locale/ru.min.js +1 -1
  177. package/dist/locale/ru.min.mjs +1 -1
  178. package/dist/locale/ru.mjs +1 -1
  179. package/dist/locale/sk.js +1 -1
  180. package/dist/locale/sk.min.js +1 -1
  181. package/dist/locale/sk.min.mjs +1 -1
  182. package/dist/locale/sk.mjs +1 -1
  183. package/dist/locale/sl.js +1 -1
  184. package/dist/locale/sl.min.js +1 -1
  185. package/dist/locale/sl.min.mjs +1 -1
  186. package/dist/locale/sl.mjs +1 -1
  187. package/dist/locale/sr.js +1 -1
  188. package/dist/locale/sr.min.js +1 -1
  189. package/dist/locale/sr.min.mjs +1 -1
  190. package/dist/locale/sr.mjs +1 -1
  191. package/dist/locale/sv.js +1 -1
  192. package/dist/locale/sv.min.js +1 -1
  193. package/dist/locale/sv.min.mjs +1 -1
  194. package/dist/locale/sv.mjs +1 -1
  195. package/dist/locale/ta.js +1 -1
  196. package/dist/locale/ta.min.js +1 -1
  197. package/dist/locale/ta.min.mjs +1 -1
  198. package/dist/locale/ta.mjs +1 -1
  199. package/dist/locale/th.js +1 -1
  200. package/dist/locale/th.min.js +1 -1
  201. package/dist/locale/th.min.mjs +1 -1
  202. package/dist/locale/th.mjs +1 -1
  203. package/dist/locale/tk.js +1 -1
  204. package/dist/locale/tk.min.js +1 -1
  205. package/dist/locale/tk.min.mjs +1 -1
  206. package/dist/locale/tk.mjs +1 -1
  207. package/dist/locale/tr.js +1 -1
  208. package/dist/locale/tr.min.js +1 -1
  209. package/dist/locale/tr.min.mjs +1 -1
  210. package/dist/locale/tr.mjs +1 -1
  211. package/dist/locale/ug-cn.js +1 -1
  212. package/dist/locale/ug-cn.min.js +1 -1
  213. package/dist/locale/ug-cn.min.mjs +1 -1
  214. package/dist/locale/ug-cn.mjs +1 -1
  215. package/dist/locale/uk.js +1 -1
  216. package/dist/locale/uk.min.js +1 -1
  217. package/dist/locale/uk.min.mjs +1 -1
  218. package/dist/locale/uk.mjs +1 -1
  219. package/dist/locale/uz-uz.js +1 -1
  220. package/dist/locale/uz-uz.min.js +1 -1
  221. package/dist/locale/uz-uz.min.mjs +1 -1
  222. package/dist/locale/uz-uz.mjs +1 -1
  223. package/dist/locale/vi.js +1 -1
  224. package/dist/locale/vi.min.js +1 -1
  225. package/dist/locale/vi.min.mjs +1 -1
  226. package/dist/locale/vi.mjs +1 -1
  227. package/dist/locale/zh-cn.js +1 -1
  228. package/dist/locale/zh-cn.min.js +1 -1
  229. package/dist/locale/zh-cn.min.mjs +1 -1
  230. package/dist/locale/zh-cn.mjs +1 -1
  231. package/dist/locale/zh-tw.js +1 -1
  232. package/dist/locale/zh-tw.min.js +1 -1
  233. package/dist/locale/zh-tw.min.mjs +1 -1
  234. package/dist/locale/zh-tw.mjs +1 -1
  235. package/es/components/alert/index.d.ts +4 -4
  236. package/es/components/alert/src/alert.d.ts +1 -1
  237. package/es/components/alert/src/alert.vue.d.ts +4 -4
  238. package/es/components/autocomplete/index.d.ts +65 -65
  239. package/es/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
  240. package/es/components/button/index.d.ts +5 -5
  241. package/es/components/button/src/button.d.ts +1 -1
  242. package/es/components/button/src/button.vue.d.ts +5 -5
  243. package/es/components/button/src/use-button.d.ts +1 -1
  244. package/es/components/calendar/index.d.ts +5 -5
  245. package/es/components/calendar/src/calendar.vue.d.ts +5 -5
  246. package/es/components/carousel/index.d.ts +5 -5
  247. package/es/components/carousel/src/carousel.d.ts +1 -1
  248. package/es/components/carousel/src/carousel.vue.d.ts +5 -5
  249. package/es/components/cascader/index.d.ts +128 -128
  250. package/es/components/cascader/src/cascader.vue.d.ts +64 -64
  251. package/es/components/color-picker/index.d.ts +35 -35
  252. package/es/components/color-picker/src/color-picker.vue.d.ts +35 -35
  253. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  254. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  255. package/es/components/date-picker/src/panel-utils.d.ts +34 -34
  256. package/es/components/dialog/index.d.ts +1 -1
  257. package/es/components/dialog/src/dialog.vue.d.ts +1 -1
  258. package/es/components/dropdown/index.d.ts +14 -14
  259. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  260. package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  261. package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
  262. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  263. package/es/components/form/index.d.ts +12 -12
  264. package/es/components/form/src/form-item.d.ts +1 -1
  265. package/es/components/form/src/form-item.vue.d.ts +5 -5
  266. package/es/components/image/index.d.ts +1 -1
  267. package/es/components/image/src/image.vue.d.ts +1 -1
  268. package/es/components/input/index.d.ts +12 -12
  269. package/es/components/input/src/input.vue.d.ts +12 -12
  270. package/es/components/input-number/index.d.ts +45 -45
  271. package/es/components/input-number/src/input-number.vue.d.ts +45 -45
  272. package/es/components/menu/index.d.ts +3 -3
  273. package/es/components/menu/src/menu.d.ts +4 -4
  274. package/es/components/menu/src/menu.mjs +1 -1
  275. package/es/components/menu/src/menu.mjs.map +1 -1
  276. package/es/components/message/src/message.d.ts +1 -1
  277. package/es/components/message/src/message.vue.d.ts +4 -4
  278. package/es/components/notification/src/notification.d.ts +1 -1
  279. package/es/components/notification/src/notification.vue.d.ts +4 -4
  280. package/es/components/pagination/src/components/jumper.vue.d.ts +12 -12
  281. package/es/components/pagination/src/components/sizes.vue.d.ts +14 -14
  282. package/es/components/popconfirm/index.d.ts +23 -23
  283. package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  284. package/es/components/popover/index.d.ts +18 -18
  285. package/es/components/popover/src/popover.vue.d.ts +18 -18
  286. package/es/components/popper/src/content.vue.d.ts +6 -6
  287. package/es/components/result/index.d.ts +4 -4
  288. package/es/components/result/src/result.d.ts +1 -1
  289. package/es/components/result/src/result.vue.d.ts +4 -4
  290. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  291. package/es/components/select/index.d.ts +14 -14
  292. package/es/components/select/src/select.vue.d.ts +14 -14
  293. package/es/components/select/src/useSelect.d.ts +12 -12
  294. package/es/components/select-v2/index.d.ts +30 -30
  295. package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
  296. package/es/components/select-v2/src/select.vue.d.ts +15 -15
  297. package/es/components/select-v2/src/useSelect.d.ts +13 -13
  298. package/es/components/slider/index.d.ts +75 -75
  299. package/es/components/slider/src/button.vue.d.ts +6 -6
  300. package/es/components/slider/src/composables/use-slide.d.ts +24 -24
  301. package/es/components/slider/src/slider.vue.d.ts +75 -75
  302. package/es/components/steps/index.d.ts +16 -16
  303. package/es/components/steps/src/item.d.ts +1 -1
  304. package/es/components/steps/src/item.vue.d.ts +4 -4
  305. package/es/components/steps/src/steps.d.ts +2 -2
  306. package/es/components/steps/src/steps.vue.d.ts +8 -8
  307. package/es/components/table/index.d.ts +1 -1
  308. package/es/components/table/src/filter-panel.vue.d.ts +12 -12
  309. package/es/components/table/src/table.vue.d.ts +1 -1
  310. package/es/components/tag/index.d.ts +1 -1
  311. package/es/components/tag/src/tag.vue.d.ts +1 -1
  312. package/es/components/time-picker/src/common/picker.vue.d.ts +34 -34
  313. package/es/components/time-select/index.d.ts +62 -62
  314. package/es/components/time-select/src/time-select.vue.d.ts +31 -31
  315. package/es/components/tooltip/index.d.ts +6 -6
  316. package/es/components/tooltip/src/content.vue.d.ts +6 -6
  317. package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
  318. package/es/components/tooltip-v2/index.d.ts +4 -4
  319. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  320. package/es/components/transfer/index.d.ts +65 -65
  321. package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  322. package/es/components/transfer/src/transfer.vue.d.ts +65 -65
  323. package/es/components/tree-v2/index.d.ts +1 -1
  324. package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  325. package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
  326. package/es/components/upload/index.d.ts +5 -5
  327. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  328. package/es/components/upload/src/upload.vue.d.ts +5 -5
  329. package/es/version.d.ts +1 -1
  330. package/es/version.mjs +1 -1
  331. package/es/version.mjs.map +1 -1
  332. package/lib/components/alert/index.d.ts +4 -4
  333. package/lib/components/alert/src/alert.d.ts +1 -1
  334. package/lib/components/alert/src/alert.vue.d.ts +4 -4
  335. package/lib/components/autocomplete/index.d.ts +65 -65
  336. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
  337. package/lib/components/button/index.d.ts +5 -5
  338. package/lib/components/button/src/button.d.ts +1 -1
  339. package/lib/components/button/src/button.vue.d.ts +5 -5
  340. package/lib/components/button/src/use-button.d.ts +1 -1
  341. package/lib/components/calendar/index.d.ts +5 -5
  342. package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
  343. package/lib/components/carousel/index.d.ts +5 -5
  344. package/lib/components/carousel/src/carousel.d.ts +1 -1
  345. package/lib/components/carousel/src/carousel.vue.d.ts +5 -5
  346. package/lib/components/cascader/index.d.ts +128 -128
  347. package/lib/components/cascader/src/cascader.vue.d.ts +64 -64
  348. package/lib/components/color-picker/index.d.ts +35 -35
  349. package/lib/components/color-picker/src/color-picker.vue.d.ts +35 -35
  350. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  351. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  352. package/lib/components/date-picker/src/panel-utils.d.ts +34 -34
  353. package/lib/components/dialog/index.d.ts +1 -1
  354. package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
  355. package/lib/components/dropdown/index.d.ts +14 -14
  356. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  357. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  358. package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
  359. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  360. package/lib/components/form/index.d.ts +12 -12
  361. package/lib/components/form/src/form-item.d.ts +1 -1
  362. package/lib/components/form/src/form-item.vue.d.ts +5 -5
  363. package/lib/components/image/index.d.ts +1 -1
  364. package/lib/components/image/src/image.vue.d.ts +1 -1
  365. package/lib/components/input/index.d.ts +12 -12
  366. package/lib/components/input/src/input.vue.d.ts +12 -12
  367. package/lib/components/input-number/index.d.ts +45 -45
  368. package/lib/components/input-number/src/input-number.vue.d.ts +45 -45
  369. package/lib/components/menu/index.d.ts +3 -3
  370. package/lib/components/menu/src/menu.d.ts +4 -4
  371. package/lib/components/menu/src/menu.js +1 -1
  372. package/lib/components/menu/src/menu.js.map +1 -1
  373. package/lib/components/message/src/message.d.ts +1 -1
  374. package/lib/components/message/src/message.vue.d.ts +4 -4
  375. package/lib/components/notification/src/notification.d.ts +1 -1
  376. package/lib/components/notification/src/notification.vue.d.ts +4 -4
  377. package/lib/components/pagination/src/components/jumper.vue.d.ts +12 -12
  378. package/lib/components/pagination/src/components/sizes.vue.d.ts +14 -14
  379. package/lib/components/popconfirm/index.d.ts +23 -23
  380. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  381. package/lib/components/popover/index.d.ts +18 -18
  382. package/lib/components/popover/src/popover.vue.d.ts +18 -18
  383. package/lib/components/popper/src/content.vue.d.ts +6 -6
  384. package/lib/components/result/index.d.ts +4 -4
  385. package/lib/components/result/src/result.d.ts +1 -1
  386. package/lib/components/result/src/result.vue.d.ts +4 -4
  387. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  388. package/lib/components/select/index.d.ts +14 -14
  389. package/lib/components/select/src/select.vue.d.ts +14 -14
  390. package/lib/components/select/src/useSelect.d.ts +12 -12
  391. package/lib/components/select-v2/index.d.ts +30 -30
  392. package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
  393. package/lib/components/select-v2/src/select.vue.d.ts +15 -15
  394. package/lib/components/select-v2/src/useSelect.d.ts +13 -13
  395. package/lib/components/slider/index.d.ts +75 -75
  396. package/lib/components/slider/src/button.vue.d.ts +6 -6
  397. package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
  398. package/lib/components/slider/src/slider.vue.d.ts +75 -75
  399. package/lib/components/steps/index.d.ts +16 -16
  400. package/lib/components/steps/src/item.d.ts +1 -1
  401. package/lib/components/steps/src/item.vue.d.ts +4 -4
  402. package/lib/components/steps/src/steps.d.ts +2 -2
  403. package/lib/components/steps/src/steps.vue.d.ts +8 -8
  404. package/lib/components/table/index.d.ts +1 -1
  405. package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
  406. package/lib/components/table/src/table.vue.d.ts +1 -1
  407. package/lib/components/tag/index.d.ts +1 -1
  408. package/lib/components/tag/src/tag.vue.d.ts +1 -1
  409. package/lib/components/time-picker/src/common/picker.vue.d.ts +34 -34
  410. package/lib/components/time-select/index.d.ts +62 -62
  411. package/lib/components/time-select/src/time-select.vue.d.ts +31 -31
  412. package/lib/components/tooltip/index.d.ts +6 -6
  413. package/lib/components/tooltip/src/content.vue.d.ts +6 -6
  414. package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
  415. package/lib/components/tooltip-v2/index.d.ts +4 -4
  416. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  417. package/lib/components/transfer/index.d.ts +65 -65
  418. package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  419. package/lib/components/transfer/src/transfer.vue.d.ts +65 -65
  420. package/lib/components/tree-v2/index.d.ts +1 -1
  421. package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  422. package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
  423. package/lib/components/upload/index.d.ts +5 -5
  424. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  425. package/lib/components/upload/src/upload.vue.d.ts +5 -5
  426. package/lib/version.d.ts +1 -1
  427. package/lib/version.js +1 -1
  428. package/lib/version.js.map +1 -1
  429. package/package.json +2 -2
  430. package/web-types.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"menu.mjs","sources":["../../../../../../packages/components/menu/src/menu.ts"],"sourcesContent":["import {\n computed,\n defineComponent,\n getCurrentInstance,\n h,\n nextTick,\n onMounted,\n provide,\n reactive,\n ref,\n watch,\n watchEffect,\n} from 'vue'\nimport { useResizeObserver } from '@vueuse/core'\nimport { isNil } from 'lodash-unified'\nimport ElIcon from '@element-plus/components/icon'\nimport { More } from '@element-plus/icons-vue'\nimport {\n buildProps,\n definePropType,\n flattedChildren,\n isObject,\n isString,\n mutable,\n} from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport Menubar from './utils/menu-bar'\nimport ElMenuCollapseTransition from './menu-collapse-transition.vue'\nimport ElSubMenu from './sub-menu'\nimport { useMenuCssVar } from './use-menu-css-var'\n\nimport type { MenuItemClicked, MenuProvider, SubMenuProvider } from './types'\nimport type { NavigationFailure, Router } from 'vue-router'\nimport type { ExtractPropTypes, VNode, VNodeArrayChildren } from 'vue'\nimport type { UseResizeObserverReturn } from '@vueuse/core'\n\nexport const menuProps = buildProps({\n mode: {\n type: String,\n values: ['horizontal', 'vertical'],\n default: 'vertical',\n },\n defaultActive: {\n type: String,\n default: '',\n },\n defaultOpeneds: {\n type: definePropType<string[]>(Array),\n default: () => mutable([] as const),\n },\n uniqueOpened: Boolean,\n router: Boolean,\n menuTrigger: {\n type: String,\n values: ['hover', 'click'],\n default: 'hover',\n },\n collapse: Boolean,\n backgroundColor: String,\n textColor: String,\n activeTextColor: String,\n collapseTransition: {\n type: Boolean,\n default: true,\n },\n ellipsis: {\n type: Boolean,\n default: true,\n },\n popperEffect: {\n type: String,\n values: ['dark', 'light'],\n default: 'dark',\n },\n} as const)\nexport type MenuProps = ExtractPropTypes<typeof menuProps>\n\nconst checkIndexPath = (indexPath: unknown): indexPath is string[] =>\n Array.isArray(indexPath) && indexPath.every((path) => isString(path))\n\nexport const menuEmits = {\n close: (index: string, indexPath: string[]) =>\n isString(index) && checkIndexPath(indexPath),\n\n open: (index: string, indexPath: string[]) =>\n isString(index) && checkIndexPath(indexPath),\n\n select: (\n index: string,\n indexPath: string[],\n item: MenuItemClicked,\n routerResult?: Promise<void | NavigationFailure>\n ) =>\n isString(index) &&\n checkIndexPath(indexPath) &&\n isObject(item) &&\n (routerResult === undefined || routerResult instanceof Promise),\n}\nexport type MenuEmits = typeof menuEmits\n\nexport default defineComponent({\n name: 'ElMenu',\n\n props: menuProps,\n emits: menuEmits,\n\n setup(props, { emit, slots, expose }) {\n const instance = getCurrentInstance()!\n const router = instance.appContext.config.globalProperties.$router as Router\n const menu = ref<HTMLUListElement>()\n const nsMenu = useNamespace('menu')\n const nsSubMenu = useNamespace('sub-menu')\n\n // data\n const sliceIndex = ref(-1)\n\n const openedMenus = ref<MenuProvider['openedMenus']>(\n props.defaultOpeneds && !props.collapse\n ? props.defaultOpeneds.slice(0)\n : []\n )\n const activeIndex = ref<MenuProvider['activeIndex']>(props.defaultActive)\n const items = ref<MenuProvider['items']>({})\n const subMenus = ref<MenuProvider['subMenus']>({})\n\n // computed\n const isMenuPopup = computed<MenuProvider['isMenuPopup']>(() => {\n return (\n props.mode === 'horizontal' ||\n (props.mode === 'vertical' && props.collapse)\n )\n })\n\n // methods\n const initMenu = () => {\n const activeItem = activeIndex.value && items.value[activeIndex.value]\n if (!activeItem || props.mode === 'horizontal' || props.collapse) return\n\n const indexPath = activeItem.indexPath\n\n // 展开该菜单项的路径上所有子菜单\n // expand all subMenus of the menu item\n indexPath.forEach((index) => {\n const subMenu = subMenus.value[index]\n subMenu && openMenu(index, subMenu.indexPath)\n })\n }\n\n const openMenu: MenuProvider['openMenu'] = (index, indexPath) => {\n if (openedMenus.value.includes(index)) return\n // 将不在该菜单路径下的其余菜单收起\n // collapse all menu that are not under current menu item\n if (props.uniqueOpened) {\n openedMenus.value = openedMenus.value.filter((index: string) =>\n indexPath.includes(index)\n )\n }\n openedMenus.value.push(index)\n emit('open', index, indexPath)\n }\n\n const close = (index: string) => {\n const i = openedMenus.value.indexOf(index)\n if (i !== -1) {\n openedMenus.value.splice(i, 1)\n }\n }\n\n const closeMenu: MenuProvider['closeMenu'] = (index, indexPath) => {\n close(index)\n emit('close', index, indexPath)\n }\n\n const handleSubMenuClick: MenuProvider['handleSubMenuClick'] = ({\n index,\n indexPath,\n }) => {\n const isOpened = openedMenus.value.includes(index)\n\n if (isOpened) {\n closeMenu(index, indexPath)\n } else {\n openMenu(index, indexPath)\n }\n }\n\n const handleMenuItemClick: MenuProvider['handleMenuItemClick'] = (\n menuItem\n ) => {\n if (props.mode === 'horizontal' || props.collapse) {\n openedMenus.value = []\n }\n\n const { index, indexPath } = menuItem\n if (isNil(index) || isNil(indexPath)) return\n\n if (props.router && router) {\n const route = menuItem.route || index\n const routerResult = router.push(route).then((res) => {\n if (!res) activeIndex.value = index\n return res\n })\n emit(\n 'select',\n index,\n indexPath,\n { index, indexPath, route },\n routerResult\n )\n } else {\n activeIndex.value = index\n emit('select', index, indexPath, { index, indexPath })\n }\n }\n\n const updateActiveIndex = (val: string) => {\n const itemsInData = items.value\n const item =\n itemsInData[val] ||\n (activeIndex.value && itemsInData[activeIndex.value]) ||\n itemsInData[props.defaultActive]\n\n if (item) {\n activeIndex.value = item.index\n } else {\n activeIndex.value = val\n }\n }\n\n const calcSliceIndex = () => {\n if (!menu.value) return -1\n const items = Array.from(menu.value?.childNodes ?? []).filter(\n (item) => item.nodeName !== '#text' || item.nodeValue\n ) as HTMLElement[]\n const moreItemWidth = 64\n const paddingLeft = Number.parseInt(\n getComputedStyle(menu.value!).paddingLeft,\n 10\n )\n const paddingRight = Number.parseInt(\n getComputedStyle(menu.value!).paddingRight,\n 10\n )\n const menuWidth = menu.value!.clientWidth - paddingLeft - paddingRight\n let calcWidth = 0\n let sliceIndex = 0\n items.forEach((item, index) => {\n calcWidth += item.offsetWidth || 0\n if (calcWidth <= menuWidth - moreItemWidth) {\n sliceIndex = index + 1\n }\n })\n return sliceIndex === items.length ? -1 : sliceIndex\n }\n\n // Common computer monitor FPS is 60Hz, which means 60 redraws per second. Calculation formula: 1000ms/60 ≈ 16.67ms, In order to avoid a certain chance of repeated triggering when `resize`, set wait to 16.67 * 2 = 33.34\n const debounce = (fn: () => void, wait = 33.34) => {\n let timmer: ReturnType<typeof setTimeout> | null\n return () => {\n timmer && clearTimeout(timmer)\n timmer = setTimeout(() => {\n fn()\n }, wait)\n }\n }\n\n let isFirstTimeRender = true\n const handleResize = () => {\n const callback = () => {\n sliceIndex.value = -1\n nextTick(() => {\n sliceIndex.value = calcSliceIndex()\n })\n }\n // execute callback directly when first time resize to avoid shaking\n isFirstTimeRender ? callback() : debounce(callback)()\n isFirstTimeRender = false\n }\n\n watch(\n () => props.defaultActive,\n (currentActive) => {\n if (!items.value[currentActive]) {\n activeIndex.value = ''\n }\n updateActiveIndex(currentActive)\n }\n )\n\n watch(\n () => props.collapse,\n (value) => {\n if (value) openedMenus.value = []\n }\n )\n\n watch(items.value, initMenu)\n\n let resizeStopper: UseResizeObserverReturn['stop']\n watchEffect(() => {\n if (props.mode === 'horizontal' && props.ellipsis)\n resizeStopper = useResizeObserver(menu, handleResize).stop\n else resizeStopper?.()\n })\n\n // provide\n {\n const addSubMenu: MenuProvider['addSubMenu'] = (item) => {\n subMenus.value[item.index] = item\n }\n\n const removeSubMenu: MenuProvider['removeSubMenu'] = (item) => {\n delete subMenus.value[item.index]\n }\n\n const addMenuItem: MenuProvider['addMenuItem'] = (item) => {\n items.value[item.index] = item\n }\n\n const removeMenuItem: MenuProvider['removeMenuItem'] = (item) => {\n delete items.value[item.index]\n }\n provide<MenuProvider>(\n 'rootMenu',\n reactive({\n props,\n openedMenus,\n items,\n subMenus,\n activeIndex,\n isMenuPopup,\n\n addMenuItem,\n removeMenuItem,\n addSubMenu,\n removeSubMenu,\n openMenu,\n closeMenu,\n handleMenuItemClick,\n handleSubMenuClick,\n })\n )\n provide<SubMenuProvider>(`subMenu:${instance.uid}`, {\n addSubMenu,\n removeSubMenu,\n mouseInChild: ref(false),\n level: 0,\n })\n }\n\n // lifecycle\n onMounted(() => {\n if (props.mode === 'horizontal') {\n new Menubar(instance.vnode.el!, nsMenu.namespace.value)\n }\n })\n\n {\n const open = (index: string) => {\n const { indexPath } = subMenus.value[index]\n indexPath.forEach((i) => openMenu(i, indexPath))\n }\n\n expose({\n open,\n close,\n handleResize,\n })\n }\n\n return () => {\n let slot: VNodeArrayChildren = slots.default?.() ?? []\n const vShowMore: VNode[] = []\n\n if (props.mode === 'horizontal' && menu.value) {\n const originalSlot = flattedChildren(slot) as VNodeArrayChildren\n const slotDefault =\n sliceIndex.value === -1\n ? originalSlot\n : originalSlot.slice(0, sliceIndex.value)\n\n const slotMore =\n sliceIndex.value === -1 ? [] : originalSlot.slice(sliceIndex.value)\n\n if (slotMore?.length && props.ellipsis) {\n slot = slotDefault\n vShowMore.push(\n h(\n ElSubMenu,\n {\n index: 'sub-menu-more',\n class: nsSubMenu.e('hide-arrow'),\n },\n {\n title: () =>\n h(\n ElIcon,\n {\n class: nsSubMenu.e('icon-more'),\n },\n { default: () => h(More) }\n ),\n default: () => slotMore,\n }\n )\n )\n }\n }\n\n const ulStyle = useMenuCssVar(props, 0)\n\n const vMenu = h(\n 'ul',\n {\n key: String(props.collapse),\n role: 'menubar',\n ref: menu,\n style: ulStyle.value,\n class: {\n [nsMenu.b()]: true,\n [nsMenu.m(props.mode)]: true,\n [nsMenu.m('collapse')]: props.collapse,\n },\n },\n [...slot, ...vShowMore]\n )\n\n if (props.collapseTransition && props.mode === 'vertical') {\n return h(ElMenuCollapseTransition, () => vMenu)\n }\n\n return vMenu\n }\n },\n})\n"],"names":["Menubar","ElSubMenu"],"mappings":";;;;;;;;;;;;;;;;;AA8BY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,IAAI,OAAO,EAAE,UAAU;AACvB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI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,IAAI,EAAE,SAAS;AACvB,QAAQ,GAAG,EAAE,IAAI;AACjB,QAAQ,KAAK,EAAE,OAAO,CAAC,KAAK;AAC5B,QAAQ,KAAK,EAAE;AACf,UAAU,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,IAAI;AAC5B,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI;AACtC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,QAAQ;AAChD,SAAS;AACT,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,SAAS,CAAC,CAAC,CAAC;AAClC,MAAM,IAAI,KAAK,CAAC,kBAAkB,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,EAAE;AACjE,QAAQ,OAAO,CAAC,CAAC,wBAAwB,EAAE,MAAM,KAAK,CAAC,CAAC;AACxD,OAAO;AACP,MAAM,OAAO,KAAK,CAAC;AACnB,KAAK,CAAC;AACN,GAAG;AACH,CAAC,CAAC;;;;"}
1
+ {"version":3,"file":"menu.mjs","sources":["../../../../../../packages/components/menu/src/menu.ts"],"sourcesContent":["import {\n computed,\n defineComponent,\n getCurrentInstance,\n h,\n nextTick,\n onMounted,\n provide,\n reactive,\n ref,\n watch,\n watchEffect,\n} from 'vue'\nimport { useResizeObserver } from '@vueuse/core'\nimport { isNil } from 'lodash-unified'\nimport ElIcon from '@element-plus/components/icon'\nimport { More } from '@element-plus/icons-vue'\nimport {\n buildProps,\n definePropType,\n flattedChildren,\n isObject,\n isString,\n mutable,\n} from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport Menubar from './utils/menu-bar'\nimport ElMenuCollapseTransition from './menu-collapse-transition.vue'\nimport ElSubMenu from './sub-menu'\nimport { useMenuCssVar } from './use-menu-css-var'\n\nimport type { MenuItemClicked, MenuProvider, SubMenuProvider } from './types'\nimport type { NavigationFailure, Router } from 'vue-router'\nimport type { ExtractPropTypes, VNode, VNodeArrayChildren } from 'vue'\nimport type { UseResizeObserverReturn } from '@vueuse/core'\n\nexport const menuProps = buildProps({\n mode: {\n type: String,\n values: ['horizontal', 'vertical'],\n default: 'vertical',\n },\n defaultActive: {\n type: String,\n default: '',\n },\n defaultOpeneds: {\n type: definePropType<string[]>(Array),\n default: () => mutable([] as const),\n },\n uniqueOpened: Boolean,\n router: Boolean,\n menuTrigger: {\n type: String,\n values: ['hover', 'click'],\n default: 'hover',\n },\n collapse: Boolean,\n backgroundColor: String,\n textColor: String,\n activeTextColor: String,\n collapseTransition: {\n type: Boolean,\n default: true,\n },\n ellipsis: {\n type: Boolean,\n default: true,\n },\n popperEffect: {\n type: String,\n values: ['dark', 'light'],\n default: 'dark',\n },\n} as const)\nexport type MenuProps = ExtractPropTypes<typeof menuProps>\n\nconst checkIndexPath = (indexPath: unknown): indexPath is string[] =>\n Array.isArray(indexPath) && indexPath.every((path) => isString(path))\n\nexport const menuEmits = {\n close: (index: string, indexPath: string[]) =>\n isString(index) && checkIndexPath(indexPath),\n\n open: (index: string, indexPath: string[]) =>\n isString(index) && checkIndexPath(indexPath),\n\n select: (\n index: string,\n indexPath: string[],\n item: MenuItemClicked,\n routerResult?: Promise<void | NavigationFailure>\n ) =>\n isString(index) &&\n checkIndexPath(indexPath) &&\n isObject(item) &&\n (routerResult === undefined || routerResult instanceof Promise),\n}\nexport type MenuEmits = typeof menuEmits\n\nexport default defineComponent({\n name: 'ElMenu',\n\n props: menuProps,\n emits: menuEmits,\n\n setup(props, { emit, slots, expose }) {\n const instance = getCurrentInstance()!\n const router = instance.appContext.config.globalProperties.$router as Router\n const menu = ref<HTMLUListElement>()\n const nsMenu = useNamespace('menu')\n const nsSubMenu = useNamespace('sub-menu')\n\n // data\n const sliceIndex = ref(-1)\n\n const openedMenus = ref<MenuProvider['openedMenus']>(\n props.defaultOpeneds && !props.collapse\n ? props.defaultOpeneds.slice(0)\n : []\n )\n const activeIndex = ref<MenuProvider['activeIndex']>(props.defaultActive)\n const items = ref<MenuProvider['items']>({})\n const subMenus = ref<MenuProvider['subMenus']>({})\n\n // computed\n const isMenuPopup = computed<MenuProvider['isMenuPopup']>(() => {\n return (\n props.mode === 'horizontal' ||\n (props.mode === 'vertical' && props.collapse)\n )\n })\n\n // methods\n const initMenu = () => {\n const activeItem = activeIndex.value && items.value[activeIndex.value]\n if (!activeItem || props.mode === 'horizontal' || props.collapse) return\n\n const indexPath = activeItem.indexPath\n\n // 展开该菜单项的路径上所有子菜单\n // expand all subMenus of the menu item\n indexPath.forEach((index) => {\n const subMenu = subMenus.value[index]\n subMenu && openMenu(index, subMenu.indexPath)\n })\n }\n\n const openMenu: MenuProvider['openMenu'] = (index, indexPath) => {\n if (openedMenus.value.includes(index)) return\n // 将不在该菜单路径下的其余菜单收起\n // collapse all menu that are not under current menu item\n if (props.uniqueOpened) {\n openedMenus.value = openedMenus.value.filter((index: string) =>\n indexPath.includes(index)\n )\n }\n openedMenus.value.push(index)\n emit('open', index, indexPath)\n }\n\n const close = (index: string) => {\n const i = openedMenus.value.indexOf(index)\n if (i !== -1) {\n openedMenus.value.splice(i, 1)\n }\n }\n\n const closeMenu: MenuProvider['closeMenu'] = (index, indexPath) => {\n close(index)\n emit('close', index, indexPath)\n }\n\n const handleSubMenuClick: MenuProvider['handleSubMenuClick'] = ({\n index,\n indexPath,\n }) => {\n const isOpened = openedMenus.value.includes(index)\n\n if (isOpened) {\n closeMenu(index, indexPath)\n } else {\n openMenu(index, indexPath)\n }\n }\n\n const handleMenuItemClick: MenuProvider['handleMenuItemClick'] = (\n menuItem\n ) => {\n if (props.mode === 'horizontal' || props.collapse) {\n openedMenus.value = []\n }\n\n const { index, indexPath } = menuItem\n if (isNil(index) || isNil(indexPath)) return\n\n if (props.router && router) {\n const route = menuItem.route || index\n const routerResult = router.push(route).then((res) => {\n if (!res) activeIndex.value = index\n return res\n })\n emit(\n 'select',\n index,\n indexPath,\n { index, indexPath, route },\n routerResult\n )\n } else {\n activeIndex.value = index\n emit('select', index, indexPath, { index, indexPath })\n }\n }\n\n const updateActiveIndex = (val: string) => {\n const itemsInData = items.value\n const item =\n itemsInData[val] ||\n (activeIndex.value && itemsInData[activeIndex.value]) ||\n itemsInData[props.defaultActive]\n\n if (item) {\n activeIndex.value = item.index\n } else {\n activeIndex.value = val\n }\n }\n\n const calcSliceIndex = () => {\n if (!menu.value) return -1\n const items = Array.from(menu.value?.childNodes ?? []).filter(\n (item) =>\n // remove comment type node #12634\n item.nodeName !== '#comment' &&\n (item.nodeName !== '#text' || item.nodeValue)\n ) as HTMLElement[]\n const moreItemWidth = 64\n const paddingLeft = Number.parseInt(\n getComputedStyle(menu.value!).paddingLeft,\n 10\n )\n const paddingRight = Number.parseInt(\n getComputedStyle(menu.value!).paddingRight,\n 10\n )\n const menuWidth = menu.value!.clientWidth - paddingLeft - paddingRight\n let calcWidth = 0\n let sliceIndex = 0\n items.forEach((item, index) => {\n calcWidth += item.offsetWidth || 0\n if (calcWidth <= menuWidth - moreItemWidth) {\n sliceIndex = index + 1\n }\n })\n return sliceIndex === items.length ? -1 : sliceIndex\n }\n\n // Common computer monitor FPS is 60Hz, which means 60 redraws per second. Calculation formula: 1000ms/60 ≈ 16.67ms, In order to avoid a certain chance of repeated triggering when `resize`, set wait to 16.67 * 2 = 33.34\n const debounce = (fn: () => void, wait = 33.34) => {\n let timmer: ReturnType<typeof setTimeout> | null\n return () => {\n timmer && clearTimeout(timmer)\n timmer = setTimeout(() => {\n fn()\n }, wait)\n }\n }\n\n let isFirstTimeRender = true\n const handleResize = () => {\n const callback = () => {\n sliceIndex.value = -1\n nextTick(() => {\n sliceIndex.value = calcSliceIndex()\n })\n }\n // execute callback directly when first time resize to avoid shaking\n isFirstTimeRender ? callback() : debounce(callback)()\n isFirstTimeRender = false\n }\n\n watch(\n () => props.defaultActive,\n (currentActive) => {\n if (!items.value[currentActive]) {\n activeIndex.value = ''\n }\n updateActiveIndex(currentActive)\n }\n )\n\n watch(\n () => props.collapse,\n (value) => {\n if (value) openedMenus.value = []\n }\n )\n\n watch(items.value, initMenu)\n\n let resizeStopper: UseResizeObserverReturn['stop']\n watchEffect(() => {\n if (props.mode === 'horizontal' && props.ellipsis)\n resizeStopper = useResizeObserver(menu, handleResize).stop\n else resizeStopper?.()\n })\n\n // provide\n {\n const addSubMenu: MenuProvider['addSubMenu'] = (item) => {\n subMenus.value[item.index] = item\n }\n\n const removeSubMenu: MenuProvider['removeSubMenu'] = (item) => {\n delete subMenus.value[item.index]\n }\n\n const addMenuItem: MenuProvider['addMenuItem'] = (item) => {\n items.value[item.index] = item\n }\n\n const removeMenuItem: MenuProvider['removeMenuItem'] = (item) => {\n delete items.value[item.index]\n }\n provide<MenuProvider>(\n 'rootMenu',\n reactive({\n props,\n openedMenus,\n items,\n subMenus,\n activeIndex,\n isMenuPopup,\n\n addMenuItem,\n removeMenuItem,\n addSubMenu,\n removeSubMenu,\n openMenu,\n closeMenu,\n handleMenuItemClick,\n handleSubMenuClick,\n })\n )\n provide<SubMenuProvider>(`subMenu:${instance.uid}`, {\n addSubMenu,\n removeSubMenu,\n mouseInChild: ref(false),\n level: 0,\n })\n }\n\n // lifecycle\n onMounted(() => {\n if (props.mode === 'horizontal') {\n new Menubar(instance.vnode.el!, nsMenu.namespace.value)\n }\n })\n\n {\n const open = (index: string) => {\n const { indexPath } = subMenus.value[index]\n indexPath.forEach((i) => openMenu(i, indexPath))\n }\n\n expose({\n open,\n close,\n handleResize,\n })\n }\n\n return () => {\n let slot: VNodeArrayChildren = slots.default?.() ?? []\n const vShowMore: VNode[] = []\n\n if (props.mode === 'horizontal' && menu.value) {\n const originalSlot = flattedChildren(slot) as VNodeArrayChildren\n const slotDefault =\n sliceIndex.value === -1\n ? originalSlot\n : originalSlot.slice(0, sliceIndex.value)\n\n const slotMore =\n sliceIndex.value === -1 ? [] : originalSlot.slice(sliceIndex.value)\n\n if (slotMore?.length && props.ellipsis) {\n slot = slotDefault\n vShowMore.push(\n h(\n ElSubMenu,\n {\n index: 'sub-menu-more',\n class: nsSubMenu.e('hide-arrow'),\n },\n {\n title: () =>\n h(\n ElIcon,\n {\n class: nsSubMenu.e('icon-more'),\n },\n { default: () => h(More) }\n ),\n default: () => slotMore,\n }\n )\n )\n }\n }\n\n const ulStyle = useMenuCssVar(props, 0)\n\n const vMenu = h(\n 'ul',\n {\n key: String(props.collapse),\n role: 'menubar',\n ref: menu,\n style: ulStyle.value,\n class: {\n [nsMenu.b()]: true,\n [nsMenu.m(props.mode)]: true,\n [nsMenu.m('collapse')]: props.collapse,\n },\n },\n [...slot, ...vShowMore]\n )\n\n if (props.collapseTransition && props.mode === 'vertical') {\n return h(ElMenuCollapseTransition, () => vMenu)\n }\n\n return vMenu\n }\n },\n})\n"],"names":["Menubar","ElSubMenu"],"mappings":";;;;;;;;;;;;;;;;;AA8BY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,IAAI,OAAO,EAAE,UAAU;AACvB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,cAAc,EAAE;AAClB,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,OAAO,EAAE,MAAM,OAAO,CAAC,EAAE,CAAC;AAC9B,GAAG;AACH,EAAE,YAAY,EAAE,OAAO;AACvB,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;AAC9B,IAAI,OAAO,EAAE,OAAO;AACpB,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,eAAe,EAAE,MAAM;AACzB,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE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AAC,IAAI,KAAK,UAAU,EAAE;AACjE,QAAQ,OAAO,CAAC,CAAC,wBAAwB,EAAE,MAAM,KAAK,CAAC,CAAC;AACxD,OAAO;AACP,MAAM,OAAO,KAAK,CAAC;AACnB,KAAK,CAAC;AACN,GAAG;AACH,CAAC,CAAC;;;;"}
@@ -46,7 +46,7 @@ export declare const messageProps: {
46
46
  __epPropKey: true;
47
47
  };
48
48
  readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
49
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "warning" | "error" | "info", unknown, "info", boolean>;
49
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "warning" | "info", unknown, "info", boolean>;
50
50
  readonly offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 16, boolean>;
51
51
  readonly zIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
52
52
  readonly grouping: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
30
30
  __epPropKey: true;
31
31
  };
32
32
  readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
33
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "warning" | "error" | "info", unknown, "info", boolean>;
33
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "warning" | "info", unknown, "info", boolean>;
34
34
  readonly offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 16, boolean>;
35
35
  readonly zIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
36
36
  readonly grouping: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<{
68
68
  __epPropKey: true;
69
69
  };
70
70
  readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
71
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "warning" | "error" | "info", unknown, "info", boolean>;
71
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "warning" | "info", unknown, "info", boolean>;
72
72
  readonly offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 16, boolean>;
73
73
  readonly zIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
74
74
  readonly grouping: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -262,7 +262,7 @@ declare const _default: import("vue").DefineComponent<{
262
262
  __epPropKey: true;
263
263
  };
264
264
  readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
265
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "warning" | "error" | "info", unknown, "info", boolean>;
265
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "warning" | "info", unknown, "info", boolean>;
266
266
  readonly offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 16, boolean>;
267
267
  readonly zIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
268
268
  readonly grouping: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -270,7 +270,7 @@ declare const _default: import("vue").DefineComponent<{
270
270
  }>> & {
271
271
  onDestroy?: (() => any) | undefined;
272
272
  }, {
273
- readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "error" | "info", unknown>;
273
+ readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "error" | "success" | "warning" | "info", unknown>;
274
274
  readonly zIndex: number;
275
275
  readonly offset: number;
276
276
  readonly center: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -40,7 +40,7 @@ export declare const notificationProps: {
40
40
  readonly position: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top-right" | "top-left" | "bottom-right" | "bottom-left", unknown, "top-right", boolean>;
41
41
  readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
42
42
  readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
43
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "warning" | "error" | "info", unknown, "", boolean>;
43
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "warning" | "info", unknown, "", boolean>;
44
44
  readonly zIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
45
45
  };
46
46
  export declare type NotificationProps = ExtractPropTypes<typeof notificationProps>;
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
38
38
  readonly position: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top-right" | "top-left" | "bottom-right" | "bottom-left", unknown, "top-right", boolean>;
39
39
  readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
40
40
  readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
41
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "warning" | "error" | "info", unknown, "", boolean>;
41
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "warning" | "info", unknown, "", boolean>;
42
42
  readonly zIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
43
43
  }, {
44
44
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
80
80
  readonly position: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top-right" | "top-left" | "bottom-right" | "bottom-left", unknown, "top-right", boolean>;
81
81
  readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
82
82
  readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
83
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "warning" | "error" | "info", unknown, "", boolean>;
83
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "warning" | "info", unknown, "", boolean>;
84
84
  readonly zIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
85
85
  }>> & {
86
86
  onDestroy?: (() => any) | undefined;
@@ -226,12 +226,12 @@ declare const _default: import("vue").DefineComponent<{
226
226
  readonly position: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top-right" | "top-left" | "bottom-right" | "bottom-left", unknown, "top-right", boolean>;
227
227
  readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
228
228
  readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
229
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "warning" | "error" | "info", unknown, "", boolean>;
229
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "warning" | "info", unknown, "", boolean>;
230
230
  readonly zIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
231
231
  }>> & {
232
232
  onDestroy?: (() => any) | undefined;
233
233
  }, {
234
- readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "error" | "info", unknown>;
234
+ readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "warning" | "info", unknown>;
235
235
  readonly zIndex: number;
236
236
  readonly offset: number;
237
237
  readonly position: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top-right" | "top-left" | "bottom-right" | "bottom-left", unknown>;
@@ -166,17 +166,17 @@ declare const _default: import("vue").DefineComponent<{
166
166
  onChange?: ((value: string) => any) | undefined;
167
167
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
168
168
  onInput?: ((value: string) => any) | undefined;
169
- onFocus?: ((evt: FocusEvent) => any) | undefined;
170
169
  onBlur?: ((evt: FocusEvent) => any) | undefined;
170
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
171
171
  onClear?: (() => any) | undefined;
172
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
173
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
174
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
172
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
175
173
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
176
174
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
177
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
175
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
176
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
177
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
178
178
  }>>;
179
- emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
179
+ emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "clear") => void);
180
180
  rawAttrs: {
181
181
  [x: string]: unknown;
182
182
  };
@@ -238,7 +238,7 @@ declare const _default: import("vue").DefineComponent<{
238
238
  textareaCalcStyle: import("vue").ShallowRef<import("vue").StyleValue>;
239
239
  _ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
240
240
  needStatusIcon: import("vue").ComputedRef<boolean>;
241
- validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
241
+ validateState: import("vue").ComputedRef<"" | "error" | "success" | "validating">;
242
242
  validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
243
243
  passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
244
244
  containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
@@ -417,15 +417,15 @@ declare const _default: import("vue").DefineComponent<{
417
417
  onChange?: ((value: string) => any) | undefined;
418
418
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
419
419
  onInput?: ((value: string) => any) | undefined;
420
- onFocus?: ((evt: FocusEvent) => any) | undefined;
421
420
  onBlur?: ((evt: FocusEvent) => any) | undefined;
421
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
422
422
  onClear?: (() => any) | undefined;
423
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
424
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
425
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
423
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
426
424
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
427
425
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
428
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
426
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
427
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
428
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
429
429
  }, {
430
430
  readonly type: string;
431
431
  readonly modelValue: import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
@@ -2668,7 +2668,7 @@ declare const _default: import("vue").DefineComponent<{
2668
2668
  readonly popperOptions: import("../../../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
2669
2669
  readonly strategy: import("../../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
2670
2670
  }, {
2671
- emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
2671
+ emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
2672
2672
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2673
2673
  readonly id: StringConstructor;
2674
2674
  readonly style: {
@@ -2918,10 +2918,10 @@ declare const _default: import("vue").DefineComponent<{
2918
2918
  readonly strategy: import("../../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
2919
2919
  }>> & {
2920
2920
  onClose?: (() => any) | undefined;
2921
- onFocus?: (() => any) | undefined;
2922
2921
  onBlur?: (() => any) | undefined;
2923
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
2922
+ onFocus?: (() => any) | undefined;
2924
2923
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
2924
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
2925
2925
  }>>;
2926
2926
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
2927
2927
  trapped: import("vue").Ref<boolean>;
@@ -2990,7 +2990,7 @@ declare const _default: import("vue").DefineComponent<{
2990
2990
  };
2991
2991
  }, {
2992
2992
  onKeydown: (e: KeyboardEvent) => void;
2993
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2993
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2994
2994
  loop: BooleanConstructor;
2995
2995
  trapped: BooleanConstructor;
2996
2996
  focusTrapEl: import("vue").PropType<HTMLElement>;
@@ -3265,10 +3265,10 @@ declare const _default: import("vue").DefineComponent<{
3265
3265
  readonly strategy: import("../../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
3266
3266
  }>> & {
3267
3267
  onClose?: (() => any) | undefined;
3268
- onFocus?: (() => any) | undefined;
3269
3268
  onBlur?: (() => any) | undefined;
3270
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
3269
+ onFocus?: (() => any) | undefined;
3271
3270
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
3271
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
3272
3272
  }, {
3273
3273
  readonly offset: number;
3274
3274
  readonly effect: string;
@@ -5621,7 +5621,7 @@ declare const _default: import("vue").DefineComponent<{
5621
5621
  readonly popperOptions: import("../../../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
5622
5622
  readonly strategy: import("../../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5623
5623
  }, {
5624
- emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
5624
+ emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
5625
5625
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
5626
5626
  readonly id: StringConstructor;
5627
5627
  readonly style: {
@@ -5871,10 +5871,10 @@ declare const _default: import("vue").DefineComponent<{
5871
5871
  readonly strategy: import("../../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5872
5872
  }>> & {
5873
5873
  onClose?: (() => any) | undefined;
5874
- onFocus?: (() => any) | undefined;
5875
5874
  onBlur?: (() => any) | undefined;
5876
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5875
+ onFocus?: (() => any) | undefined;
5877
5876
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5877
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5878
5878
  }>>;
5879
5879
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
5880
5880
  trapped: import("vue").Ref<boolean>;
@@ -5943,7 +5943,7 @@ declare const _default: import("vue").DefineComponent<{
5943
5943
  };
5944
5944
  }, {
5945
5945
  onKeydown: (e: KeyboardEvent) => void;
5946
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5946
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5947
5947
  loop: BooleanConstructor;
5948
5948
  trapped: BooleanConstructor;
5949
5949
  focusTrapEl: import("vue").PropType<HTMLElement>;
@@ -6218,10 +6218,10 @@ declare const _default: import("vue").DefineComponent<{
6218
6218
  readonly strategy: import("../../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
6219
6219
  }>> & {
6220
6220
  onClose?: (() => any) | undefined;
6221
- onFocus?: (() => any) | undefined;
6222
6221
  onBlur?: (() => any) | undefined;
6223
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
6222
+ onFocus?: (() => any) | undefined;
6224
6223
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
6224
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
6225
6225
  }, {
6226
6226
  readonly offset: number;
6227
6227
  readonly effect: string;
@@ -6564,7 +6564,7 @@ declare const _default: import("vue").DefineComponent<{
6564
6564
  handleMouseLeave: () => void;
6565
6565
  showTagList: import("vue").ComputedRef<any>;
6566
6566
  collapseTagList: import("vue").ComputedRef<any>;
6567
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "focus" | "clear" | "visible-change" | "remove-tag" | "blur")[], "update:modelValue" | "change" | "focus" | "blur" | "clear" | "visible-change" | "remove-tag", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6567
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "blur" | "focus" | "clear" | "visible-change" | "remove-tag")[], "update:modelValue" | "change" | "blur" | "focus" | "clear" | "visible-change" | "remove-tag", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6568
6568
  name: StringConstructor;
6569
6569
  id: StringConstructor;
6570
6570
  modelValue: {
@@ -6673,8 +6673,8 @@ declare const _default: import("vue").DefineComponent<{
6673
6673
  }>> & {
6674
6674
  onChange?: ((...args: any[]) => any) | undefined;
6675
6675
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
6676
- onFocus?: ((...args: any[]) => any) | undefined;
6677
6676
  onBlur?: ((...args: any[]) => any) | undefined;
6677
+ onFocus?: ((...args: any[]) => any) | undefined;
6678
6678
  onClear?: ((...args: any[]) => any) | undefined;
6679
6679
  "onVisible-change"?: ((...args: any[]) => any) | undefined;
6680
6680
  "onRemove-tag"?: ((...args: any[]) => any) | undefined;
@@ -2417,7 +2417,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
2417
2417
  readonly popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
2418
2418
  readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
2419
2419
  }, {
2420
- emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
2420
+ emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
2421
2421
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2422
2422
  readonly id: StringConstructor;
2423
2423
  readonly style: {
@@ -2667,10 +2667,10 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
2667
2667
  readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
2668
2668
  }>> & {
2669
2669
  onClose?: (() => any) | undefined;
2670
- onFocus?: (() => any) | undefined;
2671
2670
  onBlur?: (() => any) | undefined;
2672
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
2671
+ onFocus?: (() => any) | undefined;
2673
2672
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
2673
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
2674
2674
  }>>;
2675
2675
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
2676
2676
  trapped: import("vue").Ref<boolean>;
@@ -2739,7 +2739,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
2739
2739
  };
2740
2740
  }, {
2741
2741
  onKeydown: (e: KeyboardEvent) => void;
2742
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2742
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2743
2743
  loop: BooleanConstructor;
2744
2744
  trapped: BooleanConstructor;
2745
2745
  focusTrapEl: import("vue").PropType<HTMLElement>;
@@ -3014,10 +3014,10 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
3014
3014
  readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
3015
3015
  }>> & {
3016
3016
  onClose?: (() => any) | undefined;
3017
- onFocus?: (() => any) | undefined;
3018
3017
  onBlur?: (() => any) | undefined;
3019
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
3018
+ onFocus?: (() => any) | undefined;
3020
3019
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
3020
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
3021
3021
  }, {
3022
3022
  readonly offset: number;
3023
3023
  readonly effect: string;
@@ -5370,7 +5370,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
5370
5370
  readonly popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
5371
5371
  readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5372
5372
  }, {
5373
- emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
5373
+ emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
5374
5374
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
5375
5375
  readonly id: StringConstructor;
5376
5376
  readonly style: {
@@ -5620,10 +5620,10 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
5620
5620
  readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5621
5621
  }>> & {
5622
5622
  onClose?: (() => any) | undefined;
5623
- onFocus?: (() => any) | undefined;
5624
5623
  onBlur?: (() => any) | undefined;
5625
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5624
+ onFocus?: (() => any) | undefined;
5626
5625
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5626
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5627
5627
  }>>;
5628
5628
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
5629
5629
  trapped: import("vue").Ref<boolean>;
@@ -5692,7 +5692,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
5692
5692
  };
5693
5693
  }, {
5694
5694
  onKeydown: (e: KeyboardEvent) => void;
5695
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5695
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5696
5696
  loop: BooleanConstructor;
5697
5697
  trapped: BooleanConstructor;
5698
5698
  focusTrapEl: import("vue").PropType<HTMLElement>;
@@ -5967,10 +5967,10 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
5967
5967
  readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5968
5968
  }>> & {
5969
5969
  onClose?: (() => any) | undefined;
5970
- onFocus?: (() => any) | undefined;
5971
5970
  onBlur?: (() => any) | undefined;
5972
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5971
+ onFocus?: (() => any) | undefined;
5973
5972
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5973
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5974
5974
  }, {
5975
5975
  readonly offset: number;
5976
5976
  readonly effect: string;
@@ -6300,7 +6300,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
6300
6300
  readonly validator: ((val: unknown) => boolean) | undefined;
6301
6301
  __epPropKey: true;
6302
6302
  };
6303
- readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
6303
+ readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
6304
6304
  readonly loading: BooleanConstructor;
6305
6305
  readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
6306
6306
  readonly plain: BooleanConstructor;
@@ -6330,7 +6330,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
6330
6330
  readonly validator: ((val: unknown) => boolean) | undefined;
6331
6331
  __epPropKey: true;
6332
6332
  };
6333
- readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
6333
+ readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
6334
6334
  readonly loading: BooleanConstructor;
6335
6335
  readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
6336
6336
  readonly plain: BooleanConstructor;
@@ -6375,7 +6375,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
6375
6375
  ariaDisabled: boolean;
6376
6376
  disabled: boolean;
6377
6377
  autofocus: boolean;
6378
- type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
6378
+ type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
6379
6379
  } | {
6380
6380
  ariaDisabled?: undefined;
6381
6381
  disabled?: undefined;
@@ -6464,7 +6464,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
6464
6464
  readonly validator: ((val: unknown) => boolean) | undefined;
6465
6465
  __epPropKey: true;
6466
6466
  };
6467
- readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
6467
+ readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
6468
6468
  readonly loading: BooleanConstructor;
6469
6469
  readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
6470
6470
  readonly plain: BooleanConstructor;
@@ -6489,7 +6489,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
6489
6489
  readonly round: boolean;
6490
6490
  readonly circle: boolean;
6491
6491
  readonly tag: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
6492
- readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
6492
+ readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
6493
6493
  readonly loadingIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
6494
6494
  readonly autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
6495
6495
  readonly loading: boolean;
@@ -8605,7 +8605,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
8605
8605
  readonly popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
8606
8606
  readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
8607
8607
  }, {
8608
- emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
8608
+ emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
8609
8609
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
8610
8610
  readonly id: StringConstructor;
8611
8611
  readonly style: {
@@ -8855,10 +8855,10 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
8855
8855
  readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
8856
8856
  }>> & {
8857
8857
  onClose?: (() => any) | undefined;
8858
- onFocus?: (() => any) | undefined;
8859
8858
  onBlur?: (() => any) | undefined;
8860
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
8859
+ onFocus?: (() => any) | undefined;
8861
8860
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
8861
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
8862
8862
  }>>;
8863
8863
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
8864
8864
  trapped: import("vue").Ref<boolean>;
@@ -8927,7 +8927,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
8927
8927
  };
8928
8928
  }, {
8929
8929
  onKeydown: (e: KeyboardEvent) => void;
8930
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8930
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8931
8931
  loop: BooleanConstructor;
8932
8932
  trapped: BooleanConstructor;
8933
8933
  focusTrapEl: import("vue").PropType<HTMLElement>;
@@ -9202,10 +9202,10 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
9202
9202
  readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
9203
9203
  }>> & {
9204
9204
  onClose?: (() => any) | undefined;
9205
- onFocus?: (() => any) | undefined;
9206
9205
  onBlur?: (() => any) | undefined;
9207
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
9206
+ onFocus?: (() => any) | undefined;
9208
9207
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
9208
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
9209
9209
  }, {
9210
9210
  readonly offset: number;
9211
9211
  readonly effect: string;