@element-plus/nightly 0.0.20241204 → 0.0.20241205

Sign up to get free protection for your applications and to get access to all the features.
Files changed (490) hide show
  1. package/dist/index.full.js +12 -9
  2. package/dist/index.full.min.js +7 -7
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +6 -6
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +12 -9
  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-eg.js +1 -1
  12. package/dist/locale/ar-eg.min.js +1 -1
  13. package/dist/locale/ar-eg.min.mjs +1 -1
  14. package/dist/locale/ar-eg.mjs +1 -1
  15. package/dist/locale/ar.js +1 -1
  16. package/dist/locale/ar.min.js +1 -1
  17. package/dist/locale/ar.min.mjs +1 -1
  18. package/dist/locale/ar.mjs +1 -1
  19. package/dist/locale/az.js +1 -1
  20. package/dist/locale/az.min.js +1 -1
  21. package/dist/locale/az.min.mjs +1 -1
  22. package/dist/locale/az.mjs +1 -1
  23. package/dist/locale/bg.js +1 -1
  24. package/dist/locale/bg.min.js +1 -1
  25. package/dist/locale/bg.min.mjs +1 -1
  26. package/dist/locale/bg.mjs +1 -1
  27. package/dist/locale/bn.js +1 -1
  28. package/dist/locale/bn.min.js +1 -1
  29. package/dist/locale/bn.min.mjs +1 -1
  30. package/dist/locale/bn.mjs +1 -1
  31. package/dist/locale/ca.js +1 -1
  32. package/dist/locale/ca.min.js +1 -1
  33. package/dist/locale/ca.min.mjs +1 -1
  34. package/dist/locale/ca.mjs +1 -1
  35. package/dist/locale/ckb.js +1 -1
  36. package/dist/locale/ckb.min.js +1 -1
  37. package/dist/locale/ckb.min.mjs +1 -1
  38. package/dist/locale/ckb.mjs +1 -1
  39. package/dist/locale/cs.js +1 -1
  40. package/dist/locale/cs.min.js +1 -1
  41. package/dist/locale/cs.min.mjs +1 -1
  42. package/dist/locale/cs.mjs +1 -1
  43. package/dist/locale/da.js +1 -1
  44. package/dist/locale/da.min.js +1 -1
  45. package/dist/locale/da.min.mjs +1 -1
  46. package/dist/locale/da.mjs +1 -1
  47. package/dist/locale/de.js +1 -1
  48. package/dist/locale/de.min.js +1 -1
  49. package/dist/locale/de.min.mjs +1 -1
  50. package/dist/locale/de.mjs +1 -1
  51. package/dist/locale/el.js +1 -1
  52. package/dist/locale/el.min.js +1 -1
  53. package/dist/locale/el.min.mjs +1 -1
  54. package/dist/locale/el.mjs +1 -1
  55. package/dist/locale/en.js +1 -1
  56. package/dist/locale/en.min.js +1 -1
  57. package/dist/locale/en.min.mjs +1 -1
  58. package/dist/locale/en.mjs +1 -1
  59. package/dist/locale/eo.js +1 -1
  60. package/dist/locale/eo.min.js +1 -1
  61. package/dist/locale/eo.min.mjs +1 -1
  62. package/dist/locale/eo.mjs +1 -1
  63. package/dist/locale/es.js +1 -1
  64. package/dist/locale/es.min.js +1 -1
  65. package/dist/locale/es.min.mjs +1 -1
  66. package/dist/locale/es.mjs +1 -1
  67. package/dist/locale/et.js +1 -1
  68. package/dist/locale/et.min.js +1 -1
  69. package/dist/locale/et.min.mjs +1 -1
  70. package/dist/locale/et.mjs +1 -1
  71. package/dist/locale/eu.js +1 -1
  72. package/dist/locale/eu.min.js +1 -1
  73. package/dist/locale/eu.min.mjs +1 -1
  74. package/dist/locale/eu.mjs +1 -1
  75. package/dist/locale/fa.js +1 -1
  76. package/dist/locale/fa.min.js +1 -1
  77. package/dist/locale/fa.min.mjs +1 -1
  78. package/dist/locale/fa.mjs +1 -1
  79. package/dist/locale/fi.js +1 -1
  80. package/dist/locale/fi.min.js +1 -1
  81. package/dist/locale/fi.min.mjs +1 -1
  82. package/dist/locale/fi.mjs +1 -1
  83. package/dist/locale/fr.js +1 -1
  84. package/dist/locale/fr.min.js +1 -1
  85. package/dist/locale/fr.min.mjs +1 -1
  86. package/dist/locale/fr.mjs +1 -1
  87. package/dist/locale/he.js +1 -1
  88. package/dist/locale/he.min.js +1 -1
  89. package/dist/locale/he.min.mjs +1 -1
  90. package/dist/locale/he.mjs +1 -1
  91. package/dist/locale/hr.js +1 -1
  92. package/dist/locale/hr.min.js +1 -1
  93. package/dist/locale/hr.min.mjs +1 -1
  94. package/dist/locale/hr.mjs +1 -1
  95. package/dist/locale/hu.js +1 -1
  96. package/dist/locale/hu.min.js +1 -1
  97. package/dist/locale/hu.min.mjs +1 -1
  98. package/dist/locale/hu.mjs +1 -1
  99. package/dist/locale/hy-am.js +1 -1
  100. package/dist/locale/hy-am.min.js +1 -1
  101. package/dist/locale/hy-am.min.mjs +1 -1
  102. package/dist/locale/hy-am.mjs +1 -1
  103. package/dist/locale/id.js +1 -1
  104. package/dist/locale/id.min.js +1 -1
  105. package/dist/locale/id.min.mjs +1 -1
  106. package/dist/locale/id.mjs +1 -1
  107. package/dist/locale/it.js +1 -1
  108. package/dist/locale/it.min.js +1 -1
  109. package/dist/locale/it.min.mjs +1 -1
  110. package/dist/locale/it.mjs +1 -1
  111. package/dist/locale/ja.js +1 -1
  112. package/dist/locale/ja.min.js +1 -1
  113. package/dist/locale/ja.min.mjs +1 -1
  114. package/dist/locale/ja.mjs +1 -1
  115. package/dist/locale/kk.js +1 -1
  116. package/dist/locale/kk.min.js +1 -1
  117. package/dist/locale/kk.min.mjs +1 -1
  118. package/dist/locale/kk.mjs +1 -1
  119. package/dist/locale/km.js +1 -1
  120. package/dist/locale/km.min.js +1 -1
  121. package/dist/locale/km.min.mjs +1 -1
  122. package/dist/locale/km.mjs +1 -1
  123. package/dist/locale/ko.js +1 -1
  124. package/dist/locale/ko.min.js +1 -1
  125. package/dist/locale/ko.min.mjs +1 -1
  126. package/dist/locale/ko.mjs +1 -1
  127. package/dist/locale/ku.js +1 -1
  128. package/dist/locale/ku.min.js +1 -1
  129. package/dist/locale/ku.min.mjs +1 -1
  130. package/dist/locale/ku.mjs +1 -1
  131. package/dist/locale/ky.js +1 -1
  132. package/dist/locale/ky.min.js +1 -1
  133. package/dist/locale/ky.min.mjs +1 -1
  134. package/dist/locale/ky.mjs +1 -1
  135. package/dist/locale/lt.js +1 -1
  136. package/dist/locale/lt.min.js +1 -1
  137. package/dist/locale/lt.min.mjs +1 -1
  138. package/dist/locale/lt.mjs +1 -1
  139. package/dist/locale/lv.js +1 -1
  140. package/dist/locale/lv.min.js +1 -1
  141. package/dist/locale/lv.min.mjs +1 -1
  142. package/dist/locale/lv.mjs +1 -1
  143. package/dist/locale/mg.js +1 -1
  144. package/dist/locale/mg.min.js +1 -1
  145. package/dist/locale/mg.min.mjs +1 -1
  146. package/dist/locale/mg.mjs +1 -1
  147. package/dist/locale/mn.js +1 -1
  148. package/dist/locale/mn.min.js +1 -1
  149. package/dist/locale/mn.min.mjs +1 -1
  150. package/dist/locale/mn.mjs +1 -1
  151. package/dist/locale/ms.js +1 -1
  152. package/dist/locale/ms.min.js +1 -1
  153. package/dist/locale/ms.min.mjs +1 -1
  154. package/dist/locale/ms.mjs +1 -1
  155. package/dist/locale/my.js +1 -1
  156. package/dist/locale/my.min.js +1 -1
  157. package/dist/locale/my.min.mjs +1 -1
  158. package/dist/locale/my.mjs +1 -1
  159. package/dist/locale/nb-no.js +1 -1
  160. package/dist/locale/nb-no.min.js +1 -1
  161. package/dist/locale/nb-no.min.mjs +1 -1
  162. package/dist/locale/nb-no.mjs +1 -1
  163. package/dist/locale/nl.js +1 -1
  164. package/dist/locale/nl.min.js +1 -1
  165. package/dist/locale/nl.min.mjs +1 -1
  166. package/dist/locale/nl.mjs +1 -1
  167. package/dist/locale/pa.js +1 -1
  168. package/dist/locale/pa.min.js +1 -1
  169. package/dist/locale/pa.min.mjs +1 -1
  170. package/dist/locale/pa.mjs +1 -1
  171. package/dist/locale/pl.js +1 -1
  172. package/dist/locale/pl.min.js +1 -1
  173. package/dist/locale/pl.min.mjs +1 -1
  174. package/dist/locale/pl.mjs +1 -1
  175. package/dist/locale/pt-br.js +1 -1
  176. package/dist/locale/pt-br.min.js +1 -1
  177. package/dist/locale/pt-br.min.mjs +1 -1
  178. package/dist/locale/pt-br.mjs +1 -1
  179. package/dist/locale/pt.js +1 -1
  180. package/dist/locale/pt.min.js +1 -1
  181. package/dist/locale/pt.min.mjs +1 -1
  182. package/dist/locale/pt.mjs +1 -1
  183. package/dist/locale/ro.js +1 -1
  184. package/dist/locale/ro.min.js +1 -1
  185. package/dist/locale/ro.min.mjs +1 -1
  186. package/dist/locale/ro.mjs +1 -1
  187. package/dist/locale/ru.js +1 -1
  188. package/dist/locale/ru.min.js +1 -1
  189. package/dist/locale/ru.min.mjs +1 -1
  190. package/dist/locale/ru.mjs +1 -1
  191. package/dist/locale/sk.js +1 -1
  192. package/dist/locale/sk.min.js +1 -1
  193. package/dist/locale/sk.min.mjs +1 -1
  194. package/dist/locale/sk.mjs +1 -1
  195. package/dist/locale/sl.js +1 -1
  196. package/dist/locale/sl.min.js +1 -1
  197. package/dist/locale/sl.min.mjs +1 -1
  198. package/dist/locale/sl.mjs +1 -1
  199. package/dist/locale/sr.js +1 -1
  200. package/dist/locale/sr.min.js +1 -1
  201. package/dist/locale/sr.min.mjs +1 -1
  202. package/dist/locale/sr.mjs +1 -1
  203. package/dist/locale/sv.js +1 -1
  204. package/dist/locale/sv.min.js +1 -1
  205. package/dist/locale/sv.min.mjs +1 -1
  206. package/dist/locale/sv.mjs +1 -1
  207. package/dist/locale/sw.js +1 -1
  208. package/dist/locale/sw.min.js +1 -1
  209. package/dist/locale/sw.min.mjs +1 -1
  210. package/dist/locale/sw.mjs +1 -1
  211. package/dist/locale/ta.js +1 -1
  212. package/dist/locale/ta.min.js +1 -1
  213. package/dist/locale/ta.min.mjs +1 -1
  214. package/dist/locale/ta.mjs +1 -1
  215. package/dist/locale/th.js +1 -1
  216. package/dist/locale/th.min.js +1 -1
  217. package/dist/locale/th.min.mjs +1 -1
  218. package/dist/locale/th.mjs +1 -1
  219. package/dist/locale/tk.js +1 -1
  220. package/dist/locale/tk.min.js +1 -1
  221. package/dist/locale/tk.min.mjs +1 -1
  222. package/dist/locale/tk.mjs +1 -1
  223. package/dist/locale/tr.js +1 -1
  224. package/dist/locale/tr.min.js +1 -1
  225. package/dist/locale/tr.min.mjs +1 -1
  226. package/dist/locale/tr.mjs +1 -1
  227. package/dist/locale/ug-cn.js +1 -1
  228. package/dist/locale/ug-cn.min.js +1 -1
  229. package/dist/locale/ug-cn.min.mjs +1 -1
  230. package/dist/locale/ug-cn.mjs +1 -1
  231. package/dist/locale/uk.js +1 -1
  232. package/dist/locale/uk.min.js +1 -1
  233. package/dist/locale/uk.min.mjs +1 -1
  234. package/dist/locale/uk.mjs +1 -1
  235. package/dist/locale/uz-uz.js +1 -1
  236. package/dist/locale/uz-uz.min.js +1 -1
  237. package/dist/locale/uz-uz.min.mjs +1 -1
  238. package/dist/locale/uz-uz.mjs +1 -1
  239. package/dist/locale/vi.js +1 -1
  240. package/dist/locale/vi.min.js +1 -1
  241. package/dist/locale/vi.min.mjs +1 -1
  242. package/dist/locale/vi.mjs +1 -1
  243. package/dist/locale/zh-cn.js +1 -1
  244. package/dist/locale/zh-cn.min.js +1 -1
  245. package/dist/locale/zh-cn.min.mjs +1 -1
  246. package/dist/locale/zh-cn.mjs +1 -1
  247. package/dist/locale/zh-tw.js +1 -1
  248. package/dist/locale/zh-tw.min.js +1 -1
  249. package/dist/locale/zh-tw.min.mjs +1 -1
  250. package/dist/locale/zh-tw.mjs +1 -1
  251. package/es/components/autocomplete/src/autocomplete.vue.d.ts +35 -35
  252. package/es/components/backtop/index.mjs +2 -2
  253. package/es/components/backtop/src/backtop.mjs +53 -21
  254. package/es/components/backtop/src/backtop.mjs.map +1 -1
  255. package/es/components/backtop/src/backtop2.mjs +21 -53
  256. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  257. package/es/components/dropdown/index.mjs +2 -2
  258. package/es/components/dropdown/src/dropdown-item-impl.mjs +2 -2
  259. package/es/components/dropdown/src/dropdown-item.mjs +1 -1
  260. package/es/components/dropdown/src/dropdown-menu.mjs +2 -2
  261. package/es/components/dropdown/src/dropdown.d.ts +1 -1
  262. package/es/components/dropdown/src/dropdown.mjs +92 -305
  263. package/es/components/dropdown/src/dropdown.mjs.map +1 -1
  264. package/es/components/dropdown/src/dropdown.vue.d.ts +38 -38
  265. package/es/components/dropdown/src/dropdown2.mjs +305 -92
  266. package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
  267. package/es/components/empty/index.mjs +2 -2
  268. package/es/components/empty/src/empty.mjs +11 -52
  269. package/es/components/empty/src/empty.mjs.map +1 -1
  270. package/es/components/empty/src/empty2.mjs +52 -11
  271. package/es/components/empty/src/empty2.mjs.map +1 -1
  272. package/es/components/index.mjs +7 -7
  273. package/es/components/mention/index.mjs +2 -2
  274. package/es/components/mention/src/mention.mjs +62 -282
  275. package/es/components/mention/src/mention.mjs.map +1 -1
  276. package/es/components/mention/src/mention.vue.d.ts +35 -35
  277. package/es/components/mention/src/mention2.mjs +282 -62
  278. package/es/components/mention/src/mention2.mjs.map +1 -1
  279. package/es/components/menu/src/menu.d.ts +5 -4
  280. package/es/components/menu/src/menu.mjs.map +1 -1
  281. package/es/components/message/src/method.mjs.map +1 -1
  282. package/es/components/message-box/src/messageBox.mjs.map +1 -1
  283. package/es/components/notification/src/notify.mjs.map +1 -1
  284. package/es/components/pagination/src/components/next.mjs +35 -18
  285. package/es/components/pagination/src/components/next.mjs.map +1 -1
  286. package/es/components/pagination/src/components/next2.mjs +18 -35
  287. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  288. package/es/components/pagination/src/components/pager.mjs +16 -209
  289. package/es/components/pagination/src/components/pager.mjs.map +1 -1
  290. package/es/components/pagination/src/components/pager2.mjs +209 -16
  291. package/es/components/pagination/src/components/pager2.mjs.map +1 -1
  292. package/es/components/pagination/src/pagination.mjs +2 -2
  293. package/es/components/popover/index.mjs +2 -2
  294. package/es/components/popover/src/popover.d.ts +1 -1
  295. package/es/components/popover/src/popover.mjs +110 -64
  296. package/es/components/popover/src/popover.mjs.map +1 -1
  297. package/es/components/popover/src/popover.vue.d.ts +3 -3
  298. package/es/components/popover/src/popover2.mjs +64 -110
  299. package/es/components/popover/src/popover2.mjs.map +1 -1
  300. package/es/components/popper/src/content.d.ts +3 -2
  301. package/es/components/popper/src/content.mjs.map +1 -1
  302. package/es/components/popper/src/content.vue.d.ts +3 -3
  303. package/es/components/popper/src/popper.d.ts +1 -1
  304. package/es/components/popper/src/popper.mjs.map +1 -1
  305. package/es/components/radio/index.mjs +2 -2
  306. package/es/components/radio/src/radio-button.mjs +1 -1
  307. package/es/components/radio/src/radio-group.mjs +1 -1
  308. package/es/components/radio/src/radio.mjs +73 -32
  309. package/es/components/radio/src/radio.mjs.map +1 -1
  310. package/es/components/radio/src/radio2.mjs +32 -73
  311. package/es/components/radio/src/radio2.mjs.map +1 -1
  312. package/es/components/rate/index.mjs +2 -2
  313. package/es/components/rate/src/rate.mjs +83 -258
  314. package/es/components/rate/src/rate.mjs.map +1 -1
  315. package/es/components/rate/src/rate2.mjs +258 -83
  316. package/es/components/rate/src/rate2.mjs.map +1 -1
  317. package/es/components/roving-focus-group/index.mjs +3 -3
  318. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +1 -1
  319. package/es/components/roving-focus-group/src/roving-focus-group.mjs +27 -27
  320. package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
  321. package/es/components/roving-focus-group/src/roving-focus-group2.mjs +27 -27
  322. package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -1
  323. package/es/components/roving-focus-group/src/roving-focus-item.mjs +1 -1
  324. package/es/components/select/src/select.d.ts +2 -2
  325. package/es/components/select/src/select.mjs.map +1 -1
  326. package/es/components/select/src/select.vue.d.ts +73 -73
  327. package/es/components/select/src/useSelect.d.ts +70 -70
  328. package/es/components/select/src/useSelect.mjs +3 -3
  329. package/es/components/select/src/useSelect.mjs.map +1 -1
  330. package/es/components/select-v2/src/defaults.d.ts +2 -2
  331. package/es/components/select-v2/src/defaults.mjs.map +1 -1
  332. package/es/components/select-v2/src/select.vue.d.ts +73 -73
  333. package/es/components/select-v2/src/useSelect.d.ts +70 -70
  334. package/es/components/slider/src/composables/use-slider-button.d.ts +35 -35
  335. package/es/components/table/src/filter-panel.vue.d.ts +35 -35
  336. package/es/components/time-select/src/time-select.d.ts +2 -1
  337. package/es/components/time-select/src/time-select.mjs.map +1 -1
  338. package/es/components/time-select/src/time-select.vue.d.ts +3 -3
  339. package/es/components/tooltip/src/content.d.ts +1 -1
  340. package/es/components/tooltip/src/content.vue.d.ts +8 -8
  341. package/es/components/tooltip/src/tooltip.d.ts +1 -1
  342. package/es/components/tooltip/src/tooltip.vue.d.ts +18 -18
  343. package/es/components/tooltip-v2/index.mjs +1 -1
  344. package/es/components/tooltip-v2/src/content.d.ts +2 -1
  345. package/es/components/tooltip-v2/src/content.mjs.map +1 -1
  346. package/es/components/tooltip-v2/src/content.vue.d.ts +3 -3
  347. package/es/components/tooltip-v2/src/tooltip.d.ts +1 -1
  348. package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
  349. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +3 -3
  350. package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
  351. package/es/components/tooltip-v2/src/trigger.mjs +12 -89
  352. package/es/components/tooltip-v2/src/trigger.mjs.map +1 -1
  353. package/es/components/tooltip-v2/src/trigger2.mjs +89 -12
  354. package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
  355. package/es/components/tree-v2/src/composables/useCheck.d.ts +1 -1
  356. package/es/components/tree-v2/src/composables/useCheck.mjs +7 -4
  357. package/es/components/tree-v2/src/composables/useCheck.mjs.map +1 -1
  358. package/es/components/tree-v2/src/composables/useTree.d.ts +1 -1
  359. package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
  360. package/es/hooks/use-ordered-children/index.mjs.map +1 -1
  361. package/es/index.mjs +7 -7
  362. package/es/utils/index.mjs +0 -1
  363. package/es/utils/index.mjs.map +1 -1
  364. package/es/utils/types.d.ts +0 -1
  365. package/es/utils/types.mjs +0 -1
  366. package/es/utils/types.mjs.map +1 -1
  367. package/es/version.d.ts +1 -1
  368. package/es/version.mjs +1 -1
  369. package/es/version.mjs.map +1 -1
  370. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +35 -35
  371. package/lib/components/backtop/index.js +2 -2
  372. package/lib/components/backtop/src/backtop.js +53 -22
  373. package/lib/components/backtop/src/backtop.js.map +1 -1
  374. package/lib/components/backtop/src/backtop2.js +22 -53
  375. package/lib/components/backtop/src/backtop2.js.map +1 -1
  376. package/lib/components/dropdown/index.js +2 -2
  377. package/lib/components/dropdown/src/dropdown-item-impl.js +2 -2
  378. package/lib/components/dropdown/src/dropdown-item.js +1 -1
  379. package/lib/components/dropdown/src/dropdown-menu.js +2 -2
  380. package/lib/components/dropdown/src/dropdown.d.ts +1 -1
  381. package/lib/components/dropdown/src/dropdown.js +101 -305
  382. package/lib/components/dropdown/src/dropdown.js.map +1 -1
  383. package/lib/components/dropdown/src/dropdown.vue.d.ts +38 -38
  384. package/lib/components/dropdown/src/dropdown2.js +305 -101
  385. package/lib/components/dropdown/src/dropdown2.js.map +1 -1
  386. package/lib/components/empty/index.js +2 -2
  387. package/lib/components/empty/src/empty.js +11 -52
  388. package/lib/components/empty/src/empty.js.map +1 -1
  389. package/lib/components/empty/src/empty2.js +52 -11
  390. package/lib/components/empty/src/empty2.js.map +1 -1
  391. package/lib/components/index.js +7 -7
  392. package/lib/components/mention/index.js +2 -2
  393. package/lib/components/mention/src/mention.js +61 -280
  394. package/lib/components/mention/src/mention.js.map +1 -1
  395. package/lib/components/mention/src/mention.vue.d.ts +35 -35
  396. package/lib/components/mention/src/mention2.js +280 -61
  397. package/lib/components/mention/src/mention2.js.map +1 -1
  398. package/lib/components/menu/src/menu.d.ts +5 -4
  399. package/lib/components/menu/src/menu.js.map +1 -1
  400. package/lib/components/message/src/method.js.map +1 -1
  401. package/lib/components/message-box/src/messageBox.js.map +1 -1
  402. package/lib/components/notification/src/notify.js.map +1 -1
  403. package/lib/components/pagination/src/components/next.js +35 -18
  404. package/lib/components/pagination/src/components/next.js.map +1 -1
  405. package/lib/components/pagination/src/components/next2.js +18 -35
  406. package/lib/components/pagination/src/components/next2.js.map +1 -1
  407. package/lib/components/pagination/src/components/pager.js +16 -209
  408. package/lib/components/pagination/src/components/pager.js.map +1 -1
  409. package/lib/components/pagination/src/components/pager2.js +209 -16
  410. package/lib/components/pagination/src/components/pager2.js.map +1 -1
  411. package/lib/components/pagination/src/pagination.js +2 -2
  412. package/lib/components/popover/index.js +2 -2
  413. package/lib/components/popover/src/popover.d.ts +1 -1
  414. package/lib/components/popover/src/popover.js +110 -65
  415. package/lib/components/popover/src/popover.js.map +1 -1
  416. package/lib/components/popover/src/popover.vue.d.ts +3 -3
  417. package/lib/components/popover/src/popover2.js +65 -110
  418. package/lib/components/popover/src/popover2.js.map +1 -1
  419. package/lib/components/popper/src/content.d.ts +3 -2
  420. package/lib/components/popper/src/content.js.map +1 -1
  421. package/lib/components/popper/src/content.vue.d.ts +3 -3
  422. package/lib/components/popper/src/popper.d.ts +1 -1
  423. package/lib/components/popper/src/popper.js.map +1 -1
  424. package/lib/components/radio/index.js +2 -2
  425. package/lib/components/radio/src/radio-button.js +1 -1
  426. package/lib/components/radio/src/radio-group.js +1 -1
  427. package/lib/components/radio/src/radio.js +73 -34
  428. package/lib/components/radio/src/radio.js.map +1 -1
  429. package/lib/components/radio/src/radio2.js +34 -73
  430. package/lib/components/radio/src/radio2.js.map +1 -1
  431. package/lib/components/rate/index.js +2 -2
  432. package/lib/components/rate/src/rate.js +83 -257
  433. package/lib/components/rate/src/rate.js.map +1 -1
  434. package/lib/components/rate/src/rate2.js +257 -83
  435. package/lib/components/rate/src/rate2.js.map +1 -1
  436. package/lib/components/roving-focus-group/index.js +2 -2
  437. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +1 -1
  438. package/lib/components/roving-focus-group/src/roving-focus-group.js +31 -27
  439. package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
  440. package/lib/components/roving-focus-group/src/roving-focus-group2.js +27 -31
  441. package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -1
  442. package/lib/components/roving-focus-group/src/roving-focus-item.js +1 -1
  443. package/lib/components/select/src/select.d.ts +2 -2
  444. package/lib/components/select/src/select.js.map +1 -1
  445. package/lib/components/select/src/select.vue.d.ts +73 -73
  446. package/lib/components/select/src/useSelect.d.ts +70 -70
  447. package/lib/components/select/src/useSelect.js +3 -3
  448. package/lib/components/select/src/useSelect.js.map +1 -1
  449. package/lib/components/select-v2/src/defaults.d.ts +2 -2
  450. package/lib/components/select-v2/src/defaults.js.map +1 -1
  451. package/lib/components/select-v2/src/select.vue.d.ts +73 -73
  452. package/lib/components/select-v2/src/useSelect.d.ts +70 -70
  453. package/lib/components/slider/src/composables/use-slider-button.d.ts +35 -35
  454. package/lib/components/table/src/filter-panel.vue.d.ts +35 -35
  455. package/lib/components/time-select/src/time-select.d.ts +2 -1
  456. package/lib/components/time-select/src/time-select.js.map +1 -1
  457. package/lib/components/time-select/src/time-select.vue.d.ts +3 -3
  458. package/lib/components/tooltip/src/content.d.ts +1 -1
  459. package/lib/components/tooltip/src/content.vue.d.ts +8 -8
  460. package/lib/components/tooltip/src/tooltip.d.ts +1 -1
  461. package/lib/components/tooltip/src/tooltip.vue.d.ts +18 -18
  462. package/lib/components/tooltip-v2/index.js +1 -1
  463. package/lib/components/tooltip-v2/src/content.d.ts +2 -1
  464. package/lib/components/tooltip-v2/src/content.js.map +1 -1
  465. package/lib/components/tooltip-v2/src/content.vue.d.ts +3 -3
  466. package/lib/components/tooltip-v2/src/tooltip.d.ts +1 -1
  467. package/lib/components/tooltip-v2/src/tooltip.js +1 -1
  468. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +3 -3
  469. package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
  470. package/lib/components/tooltip-v2/src/trigger.js +12 -89
  471. package/lib/components/tooltip-v2/src/trigger.js.map +1 -1
  472. package/lib/components/tooltip-v2/src/trigger2.js +89 -12
  473. package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
  474. package/lib/components/tree-v2/src/composables/useCheck.d.ts +1 -1
  475. package/lib/components/tree-v2/src/composables/useCheck.js +7 -4
  476. package/lib/components/tree-v2/src/composables/useCheck.js.map +1 -1
  477. package/lib/components/tree-v2/src/composables/useTree.d.ts +1 -1
  478. package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
  479. package/lib/hooks/use-ordered-children/index.js.map +1 -1
  480. package/lib/index.js +7 -7
  481. package/lib/utils/index.js +0 -5
  482. package/lib/utils/index.js.map +1 -1
  483. package/lib/utils/types.d.ts +0 -1
  484. package/lib/utils/types.js +0 -5
  485. package/lib/utils/types.js.map +1 -1
  486. package/lib/version.d.ts +1 -1
  487. package/lib/version.js +1 -1
  488. package/lib/version.js.map +1 -1
  489. package/package.json +2 -2
  490. package/web-types.json +1 -1
@@ -452,7 +452,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
452
452
  open: boolean;
453
453
  placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
454
454
  strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
455
- effect: string;
455
+ effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
456
456
  showAfter: number;
457
457
  hideAfter: number;
458
458
  autoClose: number;
@@ -652,7 +652,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
652
652
  readonly validator: ((val: unknown) => boolean) | undefined;
653
653
  __epPropKey: true;
654
654
  };
655
- effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
655
+ effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
656
656
  enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
657
657
  pure: BooleanConstructor;
658
658
  focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -986,7 +986,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
986
986
  readonly validator: ((val: unknown) => boolean) | undefined;
987
987
  __epPropKey: true;
988
988
  };
989
- effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
989
+ effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
990
990
  enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
991
991
  pure: BooleanConstructor;
992
992
  focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -1203,7 +1203,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
1203
1203
  readonly visible: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown>;
1204
1204
  readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
1205
1205
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
1206
- readonly effect: string;
1206
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
1207
1207
  readonly showAfter: number;
1208
1208
  readonly hideAfter: number;
1209
1209
  readonly autoClose: number;
@@ -1344,7 +1344,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
1344
1344
  readonly validator: ((val: unknown) => boolean) | undefined;
1345
1345
  __epPropKey: true;
1346
1346
  };
1347
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
1347
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
1348
1348
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1349
1349
  readonly pure: BooleanConstructor;
1350
1350
  readonly focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -1618,7 +1618,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
1618
1618
  readonly validator: ((val: unknown) => boolean) | undefined;
1619
1619
  __epPropKey: true;
1620
1620
  };
1621
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
1621
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
1622
1622
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1623
1623
  readonly pure: BooleanConstructor;
1624
1624
  readonly focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -1765,7 +1765,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
1765
1765
  readonly visible: boolean;
1766
1766
  readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
1767
1767
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
1768
- readonly effect: string;
1768
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
1769
1769
  readonly virtualTriggering: boolean;
1770
1770
  readonly boundariesPadding: number;
1771
1771
  readonly fallbackPlacements: import("@popperjs/core").Placement[];
@@ -1887,7 +1887,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
1887
1887
  readonly validator: ((val: unknown) => boolean) | undefined;
1888
1888
  __epPropKey: true;
1889
1889
  };
1890
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
1890
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
1891
1891
  readonly visible: BooleanConstructor;
1892
1892
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1893
1893
  readonly pure: BooleanConstructor;
@@ -2152,7 +2152,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
2152
2152
  readonly validator: ((val: unknown) => boolean) | undefined;
2153
2153
  __epPropKey: true;
2154
2154
  };
2155
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
2155
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
2156
2156
  readonly visible: BooleanConstructor;
2157
2157
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
2158
2158
  readonly pure: BooleanConstructor;
@@ -2310,7 +2310,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
2310
2310
  readonly visible: boolean;
2311
2311
  readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
2312
2312
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
2313
- readonly effect: string;
2313
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
2314
2314
  readonly virtualTriggering: boolean;
2315
2315
  readonly boundariesPadding: number;
2316
2316
  readonly fallbackPlacements: import("@popperjs/core").Placement[];
@@ -2452,7 +2452,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
2452
2452
  readonly validator: ((val: unknown) => boolean) | undefined;
2453
2453
  __epPropKey: true;
2454
2454
  };
2455
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
2455
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
2456
2456
  readonly visible: BooleanConstructor;
2457
2457
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
2458
2458
  readonly pure: BooleanConstructor;
@@ -2611,7 +2611,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
2611
2611
  readonly visible: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown>;
2612
2612
  readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
2613
2613
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
2614
- readonly effect: string;
2614
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
2615
2615
  readonly showAfter: number;
2616
2616
  readonly hideAfter: number;
2617
2617
  readonly autoClose: number;
@@ -2772,7 +2772,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
2772
2772
  readonly validator: ((val: unknown) => boolean) | undefined;
2773
2773
  __epPropKey: true;
2774
2774
  };
2775
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
2775
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
2776
2776
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
2777
2777
  readonly pure: BooleanConstructor;
2778
2778
  readonly focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -2919,7 +2919,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
2919
2919
  readonly visible: boolean;
2920
2920
  readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
2921
2921
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
2922
- readonly effect: string;
2922
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
2923
2923
  readonly virtualTriggering: boolean;
2924
2924
  readonly boundariesPadding: number;
2925
2925
  readonly fallbackPlacements: import("@popperjs/core").Placement[];
@@ -3041,7 +3041,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
3041
3041
  readonly validator: ((val: unknown) => boolean) | undefined;
3042
3042
  __epPropKey: true;
3043
3043
  };
3044
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
3044
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
3045
3045
  readonly visible: BooleanConstructor;
3046
3046
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
3047
3047
  readonly pure: BooleanConstructor;
@@ -3306,7 +3306,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
3306
3306
  readonly validator: ((val: unknown) => boolean) | undefined;
3307
3307
  __epPropKey: true;
3308
3308
  };
3309
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
3309
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
3310
3310
  readonly visible: BooleanConstructor;
3311
3311
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
3312
3312
  readonly pure: BooleanConstructor;
@@ -3464,7 +3464,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
3464
3464
  readonly visible: boolean;
3465
3465
  readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
3466
3466
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
3467
- readonly effect: string;
3467
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
3468
3468
  readonly virtualTriggering: boolean;
3469
3469
  readonly boundariesPadding: number;
3470
3470
  readonly fallbackPlacements: import("@popperjs/core").Placement[];
@@ -3606,7 +3606,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
3606
3606
  readonly validator: ((val: unknown) => boolean) | undefined;
3607
3607
  __epPropKey: true;
3608
3608
  };
3609
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
3609
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
3610
3610
  readonly visible: BooleanConstructor;
3611
3611
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
3612
3612
  readonly pure: BooleanConstructor;
@@ -3778,7 +3778,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
3778
3778
  open: boolean;
3779
3779
  placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
3780
3780
  strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
3781
- effect: string;
3781
+ effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
3782
3782
  showAfter: number;
3783
3783
  hideAfter: number;
3784
3784
  autoClose: number;
@@ -3998,7 +3998,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
3998
3998
  readonly validator: ((val: unknown) => boolean) | undefined;
3999
3999
  __epPropKey: true;
4000
4000
  };
4001
- effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
4001
+ effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
4002
4002
  enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
4003
4003
  pure: BooleanConstructor;
4004
4004
  focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -4215,7 +4215,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
4215
4215
  readonly visible: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown>;
4216
4216
  readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
4217
4217
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
4218
- readonly effect: string;
4218
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
4219
4219
  readonly showAfter: number;
4220
4220
  readonly hideAfter: number;
4221
4221
  readonly autoClose: number;
@@ -4356,7 +4356,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
4356
4356
  readonly validator: ((val: unknown) => boolean) | undefined;
4357
4357
  __epPropKey: true;
4358
4358
  };
4359
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
4359
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
4360
4360
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
4361
4361
  readonly pure: BooleanConstructor;
4362
4362
  readonly focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -4630,7 +4630,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
4630
4630
  readonly validator: ((val: unknown) => boolean) | undefined;
4631
4631
  __epPropKey: true;
4632
4632
  };
4633
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
4633
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
4634
4634
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
4635
4635
  readonly pure: BooleanConstructor;
4636
4636
  readonly focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -4777,7 +4777,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
4777
4777
  readonly visible: boolean;
4778
4778
  readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
4779
4779
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
4780
- readonly effect: string;
4780
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
4781
4781
  readonly virtualTriggering: boolean;
4782
4782
  readonly boundariesPadding: number;
4783
4783
  readonly fallbackPlacements: import("@popperjs/core").Placement[];
@@ -4899,7 +4899,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
4899
4899
  readonly validator: ((val: unknown) => boolean) | undefined;
4900
4900
  __epPropKey: true;
4901
4901
  };
4902
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
4902
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
4903
4903
  readonly visible: BooleanConstructor;
4904
4904
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
4905
4905
  readonly pure: BooleanConstructor;
@@ -5164,7 +5164,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
5164
5164
  readonly validator: ((val: unknown) => boolean) | undefined;
5165
5165
  __epPropKey: true;
5166
5166
  };
5167
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
5167
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
5168
5168
  readonly visible: BooleanConstructor;
5169
5169
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
5170
5170
  readonly pure: BooleanConstructor;
@@ -5322,7 +5322,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
5322
5322
  readonly visible: boolean;
5323
5323
  readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
5324
5324
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
5325
- readonly effect: string;
5325
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
5326
5326
  readonly virtualTriggering: boolean;
5327
5327
  readonly boundariesPadding: number;
5328
5328
  readonly fallbackPlacements: import("@popperjs/core").Placement[];
@@ -5464,7 +5464,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
5464
5464
  readonly validator: ((val: unknown) => boolean) | undefined;
5465
5465
  __epPropKey: true;
5466
5466
  };
5467
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
5467
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
5468
5468
  readonly visible: BooleanConstructor;
5469
5469
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
5470
5470
  readonly pure: BooleanConstructor;
@@ -5623,7 +5623,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
5623
5623
  readonly visible: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown>;
5624
5624
  readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
5625
5625
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
5626
- readonly effect: string;
5626
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
5627
5627
  readonly showAfter: number;
5628
5628
  readonly hideAfter: number;
5629
5629
  readonly autoClose: number;
@@ -5784,7 +5784,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
5784
5784
  readonly validator: ((val: unknown) => boolean) | undefined;
5785
5785
  __epPropKey: true;
5786
5786
  };
5787
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
5787
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
5788
5788
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
5789
5789
  readonly pure: BooleanConstructor;
5790
5790
  readonly focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -5931,7 +5931,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
5931
5931
  readonly visible: boolean;
5932
5932
  readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
5933
5933
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
5934
- readonly effect: string;
5934
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
5935
5935
  readonly virtualTriggering: boolean;
5936
5936
  readonly boundariesPadding: number;
5937
5937
  readonly fallbackPlacements: import("@popperjs/core").Placement[];
@@ -6053,7 +6053,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
6053
6053
  readonly validator: ((val: unknown) => boolean) | undefined;
6054
6054
  __epPropKey: true;
6055
6055
  };
6056
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
6056
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
6057
6057
  readonly visible: BooleanConstructor;
6058
6058
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
6059
6059
  readonly pure: BooleanConstructor;
@@ -6318,7 +6318,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
6318
6318
  readonly validator: ((val: unknown) => boolean) | undefined;
6319
6319
  __epPropKey: true;
6320
6320
  };
6321
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
6321
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
6322
6322
  readonly visible: BooleanConstructor;
6323
6323
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
6324
6324
  readonly pure: BooleanConstructor;
@@ -6476,7 +6476,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
6476
6476
  readonly visible: boolean;
6477
6477
  readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
6478
6478
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
6479
- readonly effect: string;
6479
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
6480
6480
  readonly virtualTriggering: boolean;
6481
6481
  readonly boundariesPadding: number;
6482
6482
  readonly fallbackPlacements: import("@popperjs/core").Placement[];
@@ -6618,7 +6618,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
6618
6618
  readonly validator: ((val: unknown) => boolean) | undefined;
6619
6619
  __epPropKey: true;
6620
6620
  };
6621
- readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "dark", boolean>;
6621
+ readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
6622
6622
  readonly visible: BooleanConstructor;
6623
6623
  readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
6624
6624
  readonly pure: BooleanConstructor;
@@ -1,5 +1,5 @@
1
- import Backtop from './src/backtop2.mjs';
2
- export { backtopEmits, backtopProps } from './src/backtop.mjs';
1
+ import Backtop from './src/backtop.mjs';
2
+ export { backtopEmits, backtopProps } from './src/backtop2.mjs';
3
3
  import { withInstall } from '../../utils/vue/install.mjs';
4
4
 
5
5
  const ElBacktop = withInstall(Backtop);
@@ -1,24 +1,56 @@
1
- const backtopProps = {
2
- visibilityHeight: {
3
- type: Number,
4
- default: 200
5
- },
6
- target: {
7
- type: String,
8
- default: ""
9
- },
10
- right: {
11
- type: Number,
12
- default: 40
13
- },
14
- bottom: {
15
- type: Number,
16
- default: 40
1
+ import { defineComponent, computed, openBlock, createBlock, Transition, unref, withCtx, createElementBlock, normalizeStyle, normalizeClass, withModifiers, renderSlot, createVNode, createCommentVNode } from 'vue';
2
+ import { ElIcon } from '../../icon/index.mjs';
3
+ import { CaretTop } from '@element-plus/icons-vue';
4
+ import { backtopProps, backtopEmits } from './backtop2.mjs';
5
+ import { useBackTop } from './use-backtop.mjs';
6
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
7
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
8
+
9
+ const COMPONENT_NAME = "ElBacktop";
10
+ const __default__ = defineComponent({
11
+ name: COMPONENT_NAME
12
+ });
13
+ const _sfc_main = /* @__PURE__ */ defineComponent({
14
+ ...__default__,
15
+ props: backtopProps,
16
+ emits: backtopEmits,
17
+ setup(__props, { emit }) {
18
+ const props = __props;
19
+ const ns = useNamespace("backtop");
20
+ const { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME);
21
+ const backTopStyle = computed(() => ({
22
+ right: `${props.right}px`,
23
+ bottom: `${props.bottom}px`
24
+ }));
25
+ return (_ctx, _cache) => {
26
+ return openBlock(), createBlock(Transition, {
27
+ name: `${unref(ns).namespace.value}-fade-in`
28
+ }, {
29
+ default: withCtx(() => [
30
+ unref(visible) ? (openBlock(), createElementBlock("div", {
31
+ key: 0,
32
+ style: normalizeStyle(unref(backTopStyle)),
33
+ class: normalizeClass(unref(ns).b()),
34
+ onClick: withModifiers(unref(handleClick), ["stop"])
35
+ }, [
36
+ renderSlot(_ctx.$slots, "default", {}, () => [
37
+ createVNode(unref(ElIcon), {
38
+ class: normalizeClass(unref(ns).e("icon"))
39
+ }, {
40
+ default: withCtx(() => [
41
+ createVNode(unref(CaretTop))
42
+ ]),
43
+ _: 1
44
+ }, 8, ["class"])
45
+ ])
46
+ ], 14, ["onClick"])) : createCommentVNode("v-if", true)
47
+ ]),
48
+ _: 3
49
+ }, 8, ["name"]);
50
+ };
17
51
  }
18
- };
19
- const backtopEmits = {
20
- click: (evt) => evt instanceof MouseEvent
21
- };
52
+ });
53
+ var Backtop = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "backtop.vue"]]);
22
54
 
23
- export { backtopEmits, backtopProps };
55
+ export { Backtop as default };
24
56
  //# sourceMappingURL=backtop.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"backtop.mjs","sources":["../../../../../../packages/components/backtop/src/backtop.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const backtopProps = {\n /**\n * @description the button will not show until the scroll height reaches this value.\n */\n visibilityHeight: {\n type: Number,\n default: 200,\n },\n /**\n * @description the target to trigger scroll.\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description right distance.\n */\n right: {\n type: Number,\n default: 40,\n },\n /**\n * @description bottom distance.\n */\n bottom: {\n type: Number,\n default: 40,\n },\n} as const\nexport type BacktopProps = ExtractPropTypes<typeof backtopProps>\n\nexport const backtopEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\nexport type BacktopEmits = typeof backtopEmits\n"],"names":[],"mappings":"AAAY,MAAC,YAAY,GAAG;AAC5B,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE;AACU,MAAC,YAAY,GAAG;AAC5B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;"}
1
+ {"version":3,"file":"backtop.mjs","sources":["../../../../../../packages/components/backtop/src/backtop.vue"],"sourcesContent":["<template>\n <transition :name=\"`${ns.namespace.value}-fade-in`\">\n <div\n v-if=\"visible\"\n :style=\"backTopStyle\"\n :class=\"ns.b()\"\n @click.stop=\"handleClick\"\n >\n <slot>\n <el-icon :class=\"ns.e('icon')\"><caret-top /></el-icon>\n </slot>\n </div>\n </transition>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { CaretTop } from '@element-plus/icons-vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { backtopEmits, backtopProps } from './backtop'\nimport { useBackTop } from './use-backtop'\n\nconst COMPONENT_NAME = 'ElBacktop'\n\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\nconst props = defineProps(backtopProps)\nconst emit = defineEmits(backtopEmits)\n\nconst ns = useNamespace('backtop')\n\nconst { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME)\n\nconst backTopStyle = computed(() => ({\n right: `${props.right}px`,\n bottom: `${props.bottom}px`,\n}))\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAyBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;;AAKA,IAAM,MAAA,EAAA,GAAK,aAAa,SAAS,CAAA,CAAA;AAEjC,IAAA,MAAM,EAAE,WAAa,EAAA,OAAA,KAAY,UAAW,CAAA,KAAA,EAAO,MAAM,cAAc,CAAA,CAAA;AAEvE,IAAM,MAAA,YAAA,GAAe,SAAS,OAAO;AAAA,MACnC,KAAA,EAAO,CAAG,EAAA,KAAA,CAAM,KAAK,CAAA,EAAA,CAAA;AAAA,MACrB,MAAA,EAAQ,CAAG,EAAA,KAAA,CAAM,MAAM,CAAA,EAAA,CAAA;AAAA,KACvB,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,56 +1,24 @@
1
- import { defineComponent, computed, openBlock, createBlock, Transition, unref, withCtx, createElementBlock, normalizeStyle, normalizeClass, withModifiers, renderSlot, createVNode, createCommentVNode } from 'vue';
2
- import { ElIcon } from '../../icon/index.mjs';
3
- import { CaretTop } from '@element-plus/icons-vue';
4
- import { backtopProps, backtopEmits } from './backtop.mjs';
5
- import { useBackTop } from './use-backtop.mjs';
6
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
7
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
8
-
9
- const COMPONENT_NAME = "ElBacktop";
10
- const __default__ = defineComponent({
11
- name: COMPONENT_NAME
12
- });
13
- const _sfc_main = /* @__PURE__ */ defineComponent({
14
- ...__default__,
15
- props: backtopProps,
16
- emits: backtopEmits,
17
- setup(__props, { emit }) {
18
- const props = __props;
19
- const ns = useNamespace("backtop");
20
- const { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME);
21
- const backTopStyle = computed(() => ({
22
- right: `${props.right}px`,
23
- bottom: `${props.bottom}px`
24
- }));
25
- return (_ctx, _cache) => {
26
- return openBlock(), createBlock(Transition, {
27
- name: `${unref(ns).namespace.value}-fade-in`
28
- }, {
29
- default: withCtx(() => [
30
- unref(visible) ? (openBlock(), createElementBlock("div", {
31
- key: 0,
32
- style: normalizeStyle(unref(backTopStyle)),
33
- class: normalizeClass(unref(ns).b()),
34
- onClick: withModifiers(unref(handleClick), ["stop"])
35
- }, [
36
- renderSlot(_ctx.$slots, "default", {}, () => [
37
- createVNode(unref(ElIcon), {
38
- class: normalizeClass(unref(ns).e("icon"))
39
- }, {
40
- default: withCtx(() => [
41
- createVNode(unref(CaretTop))
42
- ]),
43
- _: 1
44
- }, 8, ["class"])
45
- ])
46
- ], 14, ["onClick"])) : createCommentVNode("v-if", true)
47
- ]),
48
- _: 3
49
- }, 8, ["name"]);
50
- };
1
+ const backtopProps = {
2
+ visibilityHeight: {
3
+ type: Number,
4
+ default: 200
5
+ },
6
+ target: {
7
+ type: String,
8
+ default: ""
9
+ },
10
+ right: {
11
+ type: Number,
12
+ default: 40
13
+ },
14
+ bottom: {
15
+ type: Number,
16
+ default: 40
51
17
  }
52
- });
53
- var Backtop = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "backtop.vue"]]);
18
+ };
19
+ const backtopEmits = {
20
+ click: (evt) => evt instanceof MouseEvent
21
+ };
54
22
 
55
- export { Backtop as default };
23
+ export { backtopEmits, backtopProps };
56
24
  //# sourceMappingURL=backtop2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"backtop2.mjs","sources":["../../../../../../packages/components/backtop/src/backtop.vue"],"sourcesContent":["<template>\n <transition :name=\"`${ns.namespace.value}-fade-in`\">\n <div\n v-if=\"visible\"\n :style=\"backTopStyle\"\n :class=\"ns.b()\"\n @click.stop=\"handleClick\"\n >\n <slot>\n <el-icon :class=\"ns.e('icon')\"><caret-top /></el-icon>\n </slot>\n </div>\n </transition>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { CaretTop } from '@element-plus/icons-vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { backtopEmits, backtopProps } from './backtop'\nimport { useBackTop } from './use-backtop'\n\nconst COMPONENT_NAME = 'ElBacktop'\n\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\nconst props = defineProps(backtopProps)\nconst emit = defineEmits(backtopEmits)\n\nconst ns = useNamespace('backtop')\n\nconst { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME)\n\nconst backTopStyle = computed(() => ({\n right: `${props.right}px`,\n bottom: `${props.bottom}px`,\n}))\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAyBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;;AAKA,IAAM,MAAA,EAAA,GAAK,aAAa,SAAS,CAAA,CAAA;AAEjC,IAAA,MAAM,EAAE,WAAa,EAAA,OAAA,KAAY,UAAW,CAAA,KAAA,EAAO,MAAM,cAAc,CAAA,CAAA;AAEvE,IAAM,MAAA,YAAA,GAAe,SAAS,OAAO;AAAA,MACnC,KAAA,EAAO,CAAG,EAAA,KAAA,CAAM,KAAK,CAAA,EAAA,CAAA;AAAA,MACrB,MAAA,EAAQ,CAAG,EAAA,KAAA,CAAM,MAAM,CAAA,EAAA,CAAA;AAAA,KACvB,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"backtop2.mjs","sources":["../../../../../../packages/components/backtop/src/backtop.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const backtopProps = {\n /**\n * @description the button will not show until the scroll height reaches this value.\n */\n visibilityHeight: {\n type: Number,\n default: 200,\n },\n /**\n * @description the target to trigger scroll.\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description right distance.\n */\n right: {\n type: Number,\n default: 40,\n },\n /**\n * @description bottom distance.\n */\n bottom: {\n type: Number,\n default: 40,\n },\n} as const\nexport type BacktopProps = ExtractPropTypes<typeof backtopProps>\n\nexport const backtopEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\nexport type BacktopEmits = typeof backtopEmits\n"],"names":[],"mappings":"AAAY,MAAC,YAAY,GAAG;AAC5B,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE;AACU,MAAC,YAAY,GAAG;AAC5B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;"}
@@ -1,7 +1,7 @@
1
- import Dropdown from './src/dropdown.mjs';
1
+ import Dropdown from './src/dropdown2.mjs';
2
2
  import DropdownItem from './src/dropdown-item.mjs';
3
3
  import DropdownMenu from './src/dropdown-menu.mjs';
4
- export { DROPDOWN_COLLECTION_INJECTION_KEY, DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, ElCollection, ElCollectionItem, FIRST_KEYS, FIRST_LAST_KEYS, LAST_KEYS, dropdownItemProps, dropdownMenuProps, dropdownProps } from './src/dropdown2.mjs';
4
+ export { DROPDOWN_COLLECTION_INJECTION_KEY, DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, ElCollection, ElCollectionItem, FIRST_KEYS, FIRST_LAST_KEYS, LAST_KEYS, dropdownItemProps, dropdownMenuProps, dropdownProps } from './src/dropdown.mjs';
5
5
  export { DROPDOWN_INJECTION_KEY } from './src/tokens.mjs';
6
6
  import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
7
7
 
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, inject, computed, resolveComponent, openBlock, createElementBlock, Fragment, normalizeClass, createCommentVNode, createElementVNode, mergeProps, withModifiers, createBlock, withCtx, resolveDynamicComponent, renderSlot } from 'vue';
2
2
  import { ElIcon } from '../../icon/index.mjs';
3
- import { dropdownItemProps, DROPDOWN_COLLECTION_ITEM_INJECTION_KEY as COLLECTION_ITEM_INJECTION_KEY } from './dropdown2.mjs';
3
+ import { dropdownItemProps, DROPDOWN_COLLECTION_ITEM_INJECTION_KEY as COLLECTION_ITEM_INJECTION_KEY } from './dropdown.mjs';
4
4
  import { DROPDOWN_INJECTION_KEY } from './tokens.mjs';
5
5
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
- import { ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY as COLLECTION_ITEM_INJECTION_KEY$1 } from '../../roving-focus-group/src/roving-focus-group2.mjs';
6
+ import { ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY as COLLECTION_ITEM_INJECTION_KEY$1 } from '../../roving-focus-group/src/roving-focus-group.mjs';
7
7
  import { ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY } from '../../roving-focus-group/src/tokens.mjs';
8
8
  import { COLLECTION_ITEM_SIGN } from '../../collection/src/collection.mjs';
9
9
  import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
@@ -2,7 +2,7 @@ import { defineComponent, getCurrentInstance, ref, computed, unref, inject, reso
2
2
  import ElRovingFocusItem from '../../roving-focus-group/src/roving-focus-item.mjs';
3
3
  import ElDropdownItemImpl from './dropdown-item-impl.mjs';
4
4
  import { useDropdown } from './useDropdown.mjs';
5
- import { ElCollectionItem, dropdownItemProps } from './dropdown2.mjs';
5
+ import { ElCollectionItem, dropdownItemProps } from './dropdown.mjs';
6
6
  import { DROPDOWN_INJECTION_KEY } from './tokens.mjs';
7
7
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
8
8
  import { composeEventHandlers, whenMouse } from '../../../utils/dom/event.mjs';
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, inject, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, withModifiers, renderSlot, unref } from 'vue';
2
2
  import { DROPDOWN_INJECTION_KEY } from './tokens.mjs';
3
- import { dropdownMenuProps, DROPDOWN_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY, FIRST_LAST_KEYS, LAST_KEYS } from './dropdown2.mjs';
3
+ import { dropdownMenuProps, DROPDOWN_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY, FIRST_LAST_KEYS, LAST_KEYS } from './dropdown.mjs';
4
4
  import { useDropdown } from './useDropdown.mjs';
5
5
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
6
  import { ROVING_FOCUS_GROUP_INJECTION_KEY } from '../../roving-focus-group/src/tokens.mjs';
7
- import { ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY$1 } from '../../roving-focus-group/src/roving-focus-group2.mjs';
7
+ import { ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY$1 } from '../../roving-focus-group/src/roving-focus-group.mjs';
8
8
  import { focusFirst } from '../../roving-focus-group/src/utils.mjs';
9
9
  import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
10
10
  import { FOCUS_TRAP_INJECTION_KEY } from '../../focus-trap/src/tokens.mjs';
@@ -18,7 +18,7 @@ export declare const dropdownProps: {
18
18
  readonly trigger: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | import("@element-plus/nightly/es/components/tooltip").TooltipTriggerType[]) | (() => import("@element-plus/nightly/es/utils").Arrayable<import("@element-plus/nightly/es/components/tooltip").TooltipTriggerType>) | ((new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | import("@element-plus/nightly/es/components/tooltip").TooltipTriggerType[]) | (() => import("@element-plus/nightly/es/utils").Arrayable<import("@element-plus/nightly/es/components/tooltip").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
19
19
  readonly effect: {
20
20
  readonly default: "light";
21
- readonly type: import("vue").PropType<string>;
21
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/components/popper").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/components/popper").PopperEffect))[], unknown, unknown>>;
22
22
  readonly required: false;
23
23
  readonly validator: ((val: unknown) => boolean) | undefined;
24
24
  readonly __epPropKey: true;