element-plus-secondary 0.4.5 → 0.4.7

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 (721) hide show
  1. package/dist/index.css +1 -1
  2. package/es/components/affix/index.d.ts +1 -1
  3. package/es/components/affix/src/affix.vue.d.ts +1 -1
  4. package/es/components/alert/index.d.ts +2 -2
  5. package/es/components/alert/src/alert.vue.d.ts +2 -2
  6. package/es/components/autocomplete/index.d.ts +134 -134
  7. package/es/components/autocomplete/index.mjs +2 -2
  8. package/es/components/autocomplete/src/autocomplete.mjs +353 -71
  9. package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
  10. package/es/components/autocomplete/src/autocomplete.vue.d.ts +134 -134
  11. package/es/components/autocomplete/src/autocomplete2.mjs +71 -353
  12. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  13. package/es/components/breadcrumb/index.d.ts +2 -2
  14. package/es/components/breadcrumb/index.mjs +2 -2
  15. package/es/components/breadcrumb/src/breadcrumb-item.mjs +11 -57
  16. package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
  17. package/es/components/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
  18. package/es/components/breadcrumb/src/breadcrumb-item2.mjs +57 -11
  19. package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
  20. package/es/components/button/index.mjs +1 -1
  21. package/es/components/button/src/button-group.mjs +31 -6
  22. package/es/components/button/src/button-group.mjs.map +1 -1
  23. package/es/components/button/src/button-group2.mjs +6 -31
  24. package/es/components/button/src/button-group2.mjs.map +1 -1
  25. package/es/components/calendar/index.mjs +2 -2
  26. package/es/components/calendar/src/calendar.mjs +18 -131
  27. package/es/components/calendar/src/calendar.mjs.map +1 -1
  28. package/es/components/calendar/src/calendar2.mjs +131 -18
  29. package/es/components/calendar/src/calendar2.mjs.map +1 -1
  30. package/es/components/calendar/src/date-table.mjs +87 -33
  31. package/es/components/calendar/src/date-table.mjs.map +1 -1
  32. package/es/components/calendar/src/date-table2.mjs +33 -87
  33. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  34. package/es/components/calendar/src/use-date-table.mjs +1 -1
  35. package/es/components/carousel/index.d.ts +2 -2
  36. package/es/components/carousel/src/carousel.vue.d.ts +2 -2
  37. package/es/components/cascader/index.d.ts +186 -186
  38. package/es/components/cascader/src/index.vue.d.ts +93 -93
  39. package/es/components/cascader-panel/index.d.ts +2 -2
  40. package/es/components/cascader-panel/src/index.vue.d.ts +1 -1
  41. package/es/components/check-tag/index.mjs +2 -2
  42. package/es/components/check-tag/src/check-tag.mjs +30 -12
  43. package/es/components/check-tag/src/check-tag.mjs.map +1 -1
  44. package/es/components/check-tag/src/check-tag2.mjs +12 -30
  45. package/es/components/check-tag/src/check-tag2.mjs.map +1 -1
  46. package/es/components/checkbox/index.d.ts +10 -10
  47. package/es/components/checkbox/index.mjs +2 -2
  48. package/es/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
  49. package/es/components/checkbox/src/checkbox-group.mjs +28 -72
  50. package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
  51. package/es/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
  52. package/es/components/checkbox/src/checkbox-group2.mjs +72 -28
  53. package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -1
  54. package/es/components/checkbox/src/checkbox.vue.d.ts +2 -2
  55. package/es/components/collapse/index.d.ts +2 -2
  56. package/es/components/collapse/src/collapse.vue.d.ts +2 -2
  57. package/es/components/color-picker/index.d.ts +170 -170
  58. package/es/components/color-picker/src/color-picker.vue.d.ts +170 -170
  59. package/es/components/color-picker/src/components/alpha-slider.vue.d.ts +16 -16
  60. package/es/components/date-picker/index.d.ts +2 -2
  61. package/es/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  62. package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
  63. package/es/components/date-picker/src/date-picker-com/basic-month-table.vue.d.ts +1 -1
  64. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +38 -38
  65. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +36 -36
  66. package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +7 -7
  67. package/es/components/date-picker/src/date-picker.d.ts +1 -1
  68. package/es/components/date-picker/src/panel-utils.d.ts +81 -81
  69. package/es/components/descriptions/index.d.ts +3 -3
  70. package/es/components/descriptions/src/description-item.d.ts +1 -1
  71. package/es/components/descriptions/src/description.mjs +1 -1
  72. package/es/components/descriptions/src/description.vue.d.ts +1 -1
  73. package/es/components/descriptions/src/descriptions-row.mjs +7 -64
  74. package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
  75. package/es/components/descriptions/src/descriptions-row2.mjs +64 -7
  76. package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
  77. package/es/components/dialog/index.d.ts +2 -2
  78. package/es/components/dialog/index.mjs +2 -2
  79. package/es/components/dialog/src/dialog-content.mjs +37 -87
  80. package/es/components/dialog/src/dialog-content.mjs.map +1 -1
  81. package/es/components/dialog/src/dialog-content2.mjs +87 -37
  82. package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
  83. package/es/components/dialog/src/dialog.mjs +70 -170
  84. package/es/components/dialog/src/dialog.mjs.map +1 -1
  85. package/es/components/dialog/src/dialog.vue.d.ts +2 -2
  86. package/es/components/dialog/src/dialog2.mjs +170 -70
  87. package/es/components/dialog/src/dialog2.mjs.map +1 -1
  88. package/es/components/divider/index.mjs +2 -2
  89. package/es/components/divider/src/divider.mjs +17 -35
  90. package/es/components/divider/src/divider.mjs.map +1 -1
  91. package/es/components/divider/src/divider2.mjs +35 -17
  92. package/es/components/divider/src/divider2.mjs.map +1 -1
  93. package/es/components/drawer/index.d.ts +2 -2
  94. package/es/components/drawer/index.mjs +2 -2
  95. package/es/components/drawer/src/drawer.mjs +165 -22
  96. package/es/components/drawer/src/drawer.mjs.map +1 -1
  97. package/es/components/drawer/src/drawer.vue.d.ts +2 -2
  98. package/es/components/drawer/src/drawer2.mjs +22 -165
  99. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  100. package/es/components/dropdown/index.d.ts +77 -77
  101. package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
  102. package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
  103. package/es/components/dropdown/src/dropdown.mjs +1 -1
  104. package/es/components/dropdown/src/dropdown.vue.d.ts +77 -77
  105. package/es/components/dropdown/src/dropdown2.mjs +1 -1
  106. package/es/components/empty/index.d.ts +1 -1
  107. package/es/components/empty/index.mjs +2 -2
  108. package/es/components/empty/src/empty.mjs +11 -56
  109. package/es/components/empty/src/empty.mjs.map +1 -1
  110. package/es/components/empty/src/empty.vue.d.ts +1 -1
  111. package/es/components/empty/src/empty2.mjs +56 -11
  112. package/es/components/empty/src/empty2.mjs.map +1 -1
  113. package/es/components/form/index.mjs +2 -2
  114. package/es/components/form/src/form.mjs +53 -150
  115. package/es/components/form/src/form.mjs.map +1 -1
  116. package/es/components/form/src/form2.mjs +150 -53
  117. package/es/components/form/src/form2.mjs.map +1 -1
  118. package/es/components/icon/index.mjs +2 -2
  119. package/es/components/icon/src/icon.mjs +8 -36
  120. package/es/components/icon/src/icon.mjs.map +1 -1
  121. package/es/components/icon/src/icon2.mjs +36 -8
  122. package/es/components/icon/src/icon2.mjs.map +1 -1
  123. package/es/components/image/index.d.ts +8 -8
  124. package/es/components/image/index.mjs +2 -2
  125. package/es/components/image/src/image.d.ts +1 -1
  126. package/es/components/image/src/image.mjs +58 -219
  127. package/es/components/image/src/image.mjs.map +1 -1
  128. package/es/components/image/src/image.vue.d.ts +8 -8
  129. package/es/components/image/src/image2.mjs +219 -58
  130. package/es/components/image/src/image2.mjs.map +1 -1
  131. package/es/components/image-viewer/index.d.ts +1 -1
  132. package/es/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  133. package/es/components/index.mjs +26 -26
  134. package/es/components/input/index.d.ts +4 -4
  135. package/es/components/input/index.mjs +2 -2
  136. package/es/components/input/src/input.mjs +116 -442
  137. package/es/components/input/src/input.mjs.map +1 -1
  138. package/es/components/input/src/input.vue.d.ts +4 -4
  139. package/es/components/input/src/input2.mjs +442 -116
  140. package/es/components/input/src/input2.mjs.map +1 -1
  141. package/es/components/input-number/index.d.ts +16 -16
  142. package/es/components/input-number/src/input-number.vue.d.ts +16 -16
  143. package/es/components/loading/index.d.ts +1 -1
  144. package/es/components/menu/index.d.ts +2 -2
  145. package/es/components/menu/src/menu.d.ts +2 -2
  146. package/es/components/notification/index.mjs +1 -1
  147. package/es/components/notification/src/notification.mjs +69 -145
  148. package/es/components/notification/src/notification.mjs.map +1 -1
  149. package/es/components/notification/src/notification.vue.d.ts +1 -1
  150. package/es/components/notification/src/notification2.mjs +145 -69
  151. package/es/components/notification/src/notification2.mjs.map +1 -1
  152. package/es/components/notification/src/notify.mjs +2 -2
  153. package/es/components/pagination/index.d.ts +1 -1
  154. package/es/components/pagination/src/components/jumper.vue.d.ts +4 -4
  155. package/es/components/pagination/src/components/prev.mjs +34 -18
  156. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  157. package/es/components/pagination/src/components/prev2.mjs +18 -34
  158. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  159. package/es/components/pagination/src/components/sizes.vue.d.ts +79 -79
  160. package/es/components/pagination/src/pagination.d.ts +1 -1
  161. package/es/components/pagination/src/pagination.mjs +1 -1
  162. package/es/components/popconfirm/index.d.ts +114 -114
  163. package/es/components/popconfirm/index.mjs +2 -2
  164. package/es/components/popconfirm/src/popconfirm.mjs +49 -111
  165. package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
  166. package/es/components/popconfirm/src/popconfirm.vue.d.ts +114 -114
  167. package/es/components/popconfirm/src/popconfirm2.mjs +111 -49
  168. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  169. package/es/components/popover/index.d.ts +124 -124
  170. package/es/components/popover/src/popover.mjs +1 -1
  171. package/es/components/popover/src/popover.vue.d.ts +124 -124
  172. package/es/components/popper/index.d.ts +5 -5
  173. package/es/components/popper/src/content.d.ts +4 -4
  174. package/es/components/popper/src/content.vue.d.ts +8 -8
  175. package/es/components/popper/src/popper.d.ts +2 -2
  176. package/es/components/popper/src/popper.vue.d.ts +5 -5
  177. package/es/components/popper/src/trigger.vue.d.ts +1 -1
  178. package/es/components/popper/src/utils.d.ts +1 -1
  179. package/es/components/progress/index.d.ts +4 -4
  180. package/es/components/progress/src/progress.d.ts +1 -1
  181. package/es/components/progress/src/progress.vue.d.ts +4 -4
  182. package/es/components/radio/index.d.ts +6 -6
  183. package/es/components/radio/index.mjs +2 -2
  184. package/es/components/radio/src/radio-button.mjs +9 -68
  185. package/es/components/radio/src/radio-button.mjs.map +1 -1
  186. package/es/components/radio/src/radio-button2.mjs +68 -9
  187. package/es/components/radio/src/radio-button2.mjs.map +1 -1
  188. package/es/components/radio/src/radio-group.vue.d.ts +2 -2
  189. package/es/components/radio/src/radio.vue.d.ts +2 -2
  190. package/es/components/rate/index.d.ts +2 -2
  191. package/es/components/rate/src/rate.vue.d.ts +2 -2
  192. package/es/components/roving-focus-group/index.mjs +3 -3
  193. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +1 -1
  194. package/es/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +1 -1
  195. package/es/components/roving-focus-group/src/roving-focus-group.mjs +27 -29
  196. package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
  197. package/es/components/roving-focus-group/src/roving-focus-group2.mjs +29 -27
  198. package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -1
  199. package/es/components/roving-focus-group/src/roving-focus-item.mjs +1 -1
  200. package/es/components/row/index.d.ts +4 -4
  201. package/es/components/row/src/row.d.ts +1 -1
  202. package/es/components/row/src/row.vue.d.ts +4 -4
  203. package/es/components/scrollbar/index.d.ts +1 -1
  204. package/es/components/scrollbar/index.mjs +2 -2
  205. package/es/components/scrollbar/src/bar.mjs +42 -17
  206. package/es/components/scrollbar/src/bar.mjs.map +1 -1
  207. package/es/components/scrollbar/src/bar2.mjs +17 -42
  208. package/es/components/scrollbar/src/bar2.mjs.map +1 -1
  209. package/es/components/scrollbar/src/scrollbar.mjs +175 -47
  210. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  211. package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  212. package/es/components/scrollbar/src/scrollbar2.mjs +47 -175
  213. package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
  214. package/es/components/select/index.d.ts +79 -79
  215. package/es/components/select/src/select.vue.d.ts +79 -79
  216. package/es/components/select/src/useSelect.d.ts +75 -75
  217. package/es/components/select-v2/index.d.ts +160 -160
  218. package/es/components/select-v2/src/select.vue.d.ts +80 -80
  219. package/es/components/select-v2/src/useSelect.d.ts +75 -75
  220. package/es/components/skeleton/index.d.ts +9 -9
  221. package/es/components/skeleton/index.mjs +4 -4
  222. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  223. package/es/components/skeleton/src/skeleton-item.mjs +18 -23
  224. package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
  225. package/es/components/skeleton/src/skeleton-item.vue.d.ts +3 -3
  226. package/es/components/skeleton/src/skeleton-item2.mjs +23 -18
  227. package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
  228. package/es/components/skeleton/src/skeleton.mjs +49 -22
  229. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  230. package/es/components/skeleton/src/skeleton.vue.d.ts +3 -3
  231. package/es/components/skeleton/src/skeleton2.mjs +22 -49
  232. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  233. package/es/components/slider/index.d.ts +217 -208
  234. package/es/components/slider/index.mjs +2 -2
  235. package/es/components/slider/src/button.mjs +3 -1
  236. package/es/components/slider/src/button.mjs.map +1 -1
  237. package/es/components/slider/src/button.vue.d.ts +39 -38
  238. package/es/components/slider/src/composables/use-slide.d.ts +156 -152
  239. package/es/components/slider/src/composables/use-slider-button.d.ts +1 -0
  240. package/es/components/slider/src/composables/use-slider-button.mjs +2 -0
  241. package/es/components/slider/src/composables/use-slider-button.mjs.map +1 -1
  242. package/es/components/slider/src/slider.d.ts +1 -0
  243. package/es/components/slider/src/slider.mjs +95 -233
  244. package/es/components/slider/src/slider.mjs.map +1 -1
  245. package/es/components/slider/src/slider.vue.d.ts +217 -208
  246. package/es/components/slider/src/slider2.mjs +233 -91
  247. package/es/components/slider/src/slider2.mjs.map +1 -1
  248. package/es/components/space/index.d.ts +2 -2
  249. package/es/components/space/src/space.d.ts +2 -2
  250. package/es/components/steps/index.d.ts +1 -1
  251. package/es/components/steps/index.mjs +2 -2
  252. package/es/components/steps/src/steps.mjs +36 -34
  253. package/es/components/steps/src/steps.mjs.map +1 -1
  254. package/es/components/steps/src/steps.vue.d.ts +1 -1
  255. package/es/components/steps/src/steps2.mjs +34 -36
  256. package/es/components/steps/src/steps2.mjs.map +1 -1
  257. package/es/components/switch/index.d.ts +3 -3
  258. package/es/components/switch/src/switch.vue.d.ts +3 -3
  259. package/es/components/table/index.d.ts +2 -2
  260. package/es/components/table/src/filter-panel.vue.d.ts +75 -75
  261. package/es/components/table/src/table.vue.d.ts +2 -2
  262. package/es/components/table/src/util.d.ts +9 -9
  263. package/es/components/tabs/index.mjs +1 -1
  264. package/es/components/tabs/src/tab-bar.mjs +81 -7
  265. package/es/components/tabs/src/tab-bar.mjs.map +1 -1
  266. package/es/components/tabs/src/tab-bar2.mjs +7 -81
  267. package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
  268. package/es/components/tabs/src/tab-nav.mjs +1 -1
  269. package/es/components/tag/index.d.ts +2 -2
  270. package/es/components/tag/src/tag.vue.d.ts +2 -2
  271. package/es/components/time-picker/index.d.ts +2 -2
  272. package/es/components/time-picker/src/common/picker.vue.d.ts +120 -120
  273. package/es/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  274. package/es/components/time-picker/src/props/basic-time-spinner.d.ts +1 -1
  275. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +17 -17
  276. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +23 -23
  277. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +23 -23
  278. package/es/components/time-picker/src/time-picker.d.ts +1 -1
  279. package/es/components/time-select/index.d.ts +324 -324
  280. package/es/components/time-select/index.mjs +1 -1
  281. package/es/components/time-select/src/time-select.mjs +117 -48
  282. package/es/components/time-select/src/time-select.mjs.map +1 -1
  283. package/es/components/time-select/src/time-select.vue.d.ts +162 -162
  284. package/es/components/time-select/src/time-select2.mjs +48 -117
  285. package/es/components/time-select/src/time-select2.mjs.map +1 -1
  286. package/es/components/tooltip/index.d.ts +38 -38
  287. package/es/components/tooltip/index.mjs +1 -1
  288. package/es/components/tooltip/src/content.d.ts +1 -1
  289. package/es/components/tooltip/src/content.vue.d.ts +17 -17
  290. package/es/components/tooltip/src/tooltip.d.ts +2 -2
  291. package/es/components/tooltip/src/tooltip.mjs +1 -1
  292. package/es/components/tooltip/src/tooltip.vue.d.ts +38 -38
  293. package/es/components/tooltip/src/tooltip2.mjs +1 -1
  294. package/es/components/tooltip/src/trigger.mjs +16 -74
  295. package/es/components/tooltip/src/trigger.mjs.map +1 -1
  296. package/es/components/tooltip/src/trigger.vue.d.ts +2 -2
  297. package/es/components/tooltip/src/trigger2.mjs +74 -16
  298. package/es/components/tooltip/src/trigger2.mjs.map +1 -1
  299. package/es/components/tooltip-v2/index.d.ts +36 -36
  300. package/es/components/tooltip-v2/index.mjs +2 -2
  301. package/es/components/tooltip-v2/src/arrow.vue.d.ts +1 -1
  302. package/es/components/tooltip-v2/src/content.d.ts +1 -1
  303. package/es/components/tooltip-v2/src/content.vue.d.ts +6 -6
  304. package/es/components/tooltip-v2/src/content2.mjs +1 -1
  305. package/es/components/tooltip-v2/src/root.mjs +81 -17
  306. package/es/components/tooltip-v2/src/root.mjs.map +1 -1
  307. package/es/components/tooltip-v2/src/root2.mjs +17 -81
  308. package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
  309. package/es/components/tooltip-v2/src/tooltip.d.ts +1 -1
  310. package/es/components/tooltip-v2/src/tooltip.mjs +4 -4
  311. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +36 -36
  312. package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
  313. package/es/components/tooltip-v2/src/trigger.mjs +12 -90
  314. package/es/components/tooltip-v2/src/trigger.mjs.map +1 -1
  315. package/es/components/tooltip-v2/src/trigger2.mjs +90 -12
  316. package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
  317. package/es/components/transfer/index.d.ts +62 -62
  318. package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  319. package/es/components/transfer/src/transfer.vue.d.ts +62 -62
  320. package/es/components/tree/index.d.ts +4 -4
  321. package/es/components/tree/src/tree-node.vue.d.ts +1 -1
  322. package/es/components/tree/src/tree.vue.d.ts +2 -2
  323. package/es/components/tree-v2/index.d.ts +9 -9
  324. package/es/components/tree-v2/src/tree-node.vue.d.ts +6 -6
  325. package/es/components/tree-v2/src/tree.vue.d.ts +9 -9
  326. package/es/components/upload/index.d.ts +10 -10
  327. package/es/components/upload/index.mjs +4 -4
  328. package/es/components/upload/src/upload-content.mjs +170 -33
  329. package/es/components/upload/src/upload-content.mjs.map +1 -1
  330. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  331. package/es/components/upload/src/upload-content2.mjs +33 -170
  332. package/es/components/upload/src/upload-content2.mjs.map +1 -1
  333. package/es/components/upload/src/upload-list.mjs +170 -26
  334. package/es/components/upload/src/upload-list.mjs.map +1 -1
  335. package/es/components/upload/src/upload-list.vue.d.ts +4 -4
  336. package/es/components/upload/src/upload-list2.mjs +26 -170
  337. package/es/components/upload/src/upload-list2.mjs.map +1 -1
  338. package/es/components/upload/src/upload.mjs +120 -105
  339. package/es/components/upload/src/upload.mjs.map +1 -1
  340. package/es/components/upload/src/upload.vue.d.ts +10 -10
  341. package/es/components/upload/src/upload2.mjs +105 -120
  342. package/es/components/upload/src/upload2.mjs.map +1 -1
  343. package/es/components/upload/src/use-handlers.mjs +1 -1
  344. package/es/components/virtual-list/src/builders/build-grid.d.ts +2 -2
  345. package/es/components/virtual-list/src/builders/build-list.d.ts +3 -3
  346. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +2 -2
  347. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +3 -3
  348. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +2 -2
  349. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +3 -3
  350. package/es/components/visual-hidden/index.mjs +3 -3
  351. package/es/components/visual-hidden/src/visual-hidden.mjs +7 -35
  352. package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
  353. package/es/components/visual-hidden/src/visual-hidden2.mjs +35 -7
  354. package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
  355. package/es/index.mjs +26 -26
  356. package/es/utils/vue/vnode.d.ts +6 -6
  357. package/lib/components/affix/index.d.ts +1 -1
  358. package/lib/components/affix/src/affix.vue.d.ts +1 -1
  359. package/lib/components/alert/index.d.ts +2 -2
  360. package/lib/components/alert/src/alert.vue.d.ts +2 -2
  361. package/lib/components/autocomplete/index.d.ts +134 -134
  362. package/lib/components/autocomplete/index.js +2 -2
  363. package/lib/components/autocomplete/src/autocomplete.js +352 -71
  364. package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
  365. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +134 -134
  366. package/lib/components/autocomplete/src/autocomplete2.js +71 -352
  367. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  368. package/lib/components/breadcrumb/index.d.ts +2 -2
  369. package/lib/components/breadcrumb/index.js +2 -2
  370. package/lib/components/breadcrumb/src/breadcrumb-item.js +11 -57
  371. package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
  372. package/lib/components/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
  373. package/lib/components/breadcrumb/src/breadcrumb-item2.js +57 -11
  374. package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
  375. package/lib/components/button/index.js +1 -1
  376. package/lib/components/button/src/button-group.js +31 -6
  377. package/lib/components/button/src/button-group.js.map +1 -1
  378. package/lib/components/button/src/button-group2.js +6 -31
  379. package/lib/components/button/src/button-group2.js.map +1 -1
  380. package/lib/components/calendar/index.js +2 -2
  381. package/lib/components/calendar/src/calendar.js +19 -131
  382. package/lib/components/calendar/src/calendar.js.map +1 -1
  383. package/lib/components/calendar/src/calendar2.js +131 -19
  384. package/lib/components/calendar/src/calendar2.js.map +1 -1
  385. package/lib/components/calendar/src/date-table.js +87 -37
  386. package/lib/components/calendar/src/date-table.js.map +1 -1
  387. package/lib/components/calendar/src/date-table2.js +37 -87
  388. package/lib/components/calendar/src/date-table2.js.map +1 -1
  389. package/lib/components/calendar/src/use-date-table.js +1 -1
  390. package/lib/components/carousel/index.d.ts +2 -2
  391. package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
  392. package/lib/components/cascader/index.d.ts +186 -186
  393. package/lib/components/cascader/src/index.vue.d.ts +93 -93
  394. package/lib/components/cascader-panel/index.d.ts +2 -2
  395. package/lib/components/cascader-panel/src/index.vue.d.ts +1 -1
  396. package/lib/components/check-tag/index.js +2 -2
  397. package/lib/components/check-tag/src/check-tag.js +30 -13
  398. package/lib/components/check-tag/src/check-tag.js.map +1 -1
  399. package/lib/components/check-tag/src/check-tag2.js +13 -30
  400. package/lib/components/check-tag/src/check-tag2.js.map +1 -1
  401. package/lib/components/checkbox/index.d.ts +10 -10
  402. package/lib/components/checkbox/index.js +2 -2
  403. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
  404. package/lib/components/checkbox/src/checkbox-group.js +29 -72
  405. package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
  406. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
  407. package/lib/components/checkbox/src/checkbox-group2.js +72 -29
  408. package/lib/components/checkbox/src/checkbox-group2.js.map +1 -1
  409. package/lib/components/checkbox/src/checkbox.vue.d.ts +2 -2
  410. package/lib/components/collapse/index.d.ts +2 -2
  411. package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
  412. package/lib/components/color-picker/index.d.ts +170 -170
  413. package/lib/components/color-picker/src/color-picker.vue.d.ts +170 -170
  414. package/lib/components/color-picker/src/components/alpha-slider.vue.d.ts +16 -16
  415. package/lib/components/date-picker/index.d.ts +2 -2
  416. package/lib/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  417. package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
  418. package/lib/components/date-picker/src/date-picker-com/basic-month-table.vue.d.ts +1 -1
  419. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +38 -38
  420. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +36 -36
  421. package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +7 -7
  422. package/lib/components/date-picker/src/date-picker.d.ts +1 -1
  423. package/lib/components/date-picker/src/panel-utils.d.ts +81 -81
  424. package/lib/components/descriptions/index.d.ts +3 -3
  425. package/lib/components/descriptions/src/description-item.d.ts +1 -1
  426. package/lib/components/descriptions/src/description.js +1 -1
  427. package/lib/components/descriptions/src/description.vue.d.ts +1 -1
  428. package/lib/components/descriptions/src/descriptions-row.js +7 -64
  429. package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
  430. package/lib/components/descriptions/src/descriptions-row2.js +64 -7
  431. package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
  432. package/lib/components/dialog/index.d.ts +2 -2
  433. package/lib/components/dialog/index.js +2 -2
  434. package/lib/components/dialog/src/dialog-content.js +37 -86
  435. package/lib/components/dialog/src/dialog-content.js.map +1 -1
  436. package/lib/components/dialog/src/dialog-content2.js +86 -37
  437. package/lib/components/dialog/src/dialog-content2.js.map +1 -1
  438. package/lib/components/dialog/src/dialog.js +70 -169
  439. package/lib/components/dialog/src/dialog.js.map +1 -1
  440. package/lib/components/dialog/src/dialog.vue.d.ts +2 -2
  441. package/lib/components/dialog/src/dialog2.js +169 -70
  442. package/lib/components/dialog/src/dialog2.js.map +1 -1
  443. package/lib/components/divider/index.js +2 -2
  444. package/lib/components/divider/src/divider.js +17 -35
  445. package/lib/components/divider/src/divider.js.map +1 -1
  446. package/lib/components/divider/src/divider2.js +35 -17
  447. package/lib/components/divider/src/divider2.js.map +1 -1
  448. package/lib/components/drawer/index.d.ts +2 -2
  449. package/lib/components/drawer/index.js +2 -2
  450. package/lib/components/drawer/src/drawer.js +165 -23
  451. package/lib/components/drawer/src/drawer.js.map +1 -1
  452. package/lib/components/drawer/src/drawer.vue.d.ts +2 -2
  453. package/lib/components/drawer/src/drawer2.js +23 -165
  454. package/lib/components/drawer/src/drawer2.js.map +1 -1
  455. package/lib/components/dropdown/index.d.ts +77 -77
  456. package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
  457. package/lib/components/dropdown/src/dropdown-menu.js +1 -1
  458. package/lib/components/dropdown/src/dropdown.js +1 -1
  459. package/lib/components/dropdown/src/dropdown.vue.d.ts +77 -77
  460. package/lib/components/dropdown/src/dropdown2.js +1 -1
  461. package/lib/components/empty/index.d.ts +1 -1
  462. package/lib/components/empty/index.js +2 -2
  463. package/lib/components/empty/src/empty.js +11 -56
  464. package/lib/components/empty/src/empty.js.map +1 -1
  465. package/lib/components/empty/src/empty.vue.d.ts +1 -1
  466. package/lib/components/empty/src/empty2.js +56 -11
  467. package/lib/components/empty/src/empty2.js.map +1 -1
  468. package/lib/components/form/index.js +2 -2
  469. package/lib/components/form/src/form.js +53 -149
  470. package/lib/components/form/src/form.js.map +1 -1
  471. package/lib/components/form/src/form2.js +149 -53
  472. package/lib/components/form/src/form2.js.map +1 -1
  473. package/lib/components/icon/index.js +2 -2
  474. package/lib/components/icon/src/icon.js +8 -36
  475. package/lib/components/icon/src/icon.js.map +1 -1
  476. package/lib/components/icon/src/icon2.js +36 -8
  477. package/lib/components/icon/src/icon2.js.map +1 -1
  478. package/lib/components/image/index.d.ts +8 -8
  479. package/lib/components/image/index.js +2 -2
  480. package/lib/components/image/src/image.d.ts +1 -1
  481. package/lib/components/image/src/image.js +59 -219
  482. package/lib/components/image/src/image.js.map +1 -1
  483. package/lib/components/image/src/image.vue.d.ts +8 -8
  484. package/lib/components/image/src/image2.js +219 -59
  485. package/lib/components/image/src/image2.js.map +1 -1
  486. package/lib/components/image-viewer/index.d.ts +1 -1
  487. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  488. package/lib/components/index.js +26 -26
  489. package/lib/components/input/index.d.ts +4 -4
  490. package/lib/components/input/index.js +2 -2
  491. package/lib/components/input/src/input.js +116 -441
  492. package/lib/components/input/src/input.js.map +1 -1
  493. package/lib/components/input/src/input.vue.d.ts +4 -4
  494. package/lib/components/input/src/input2.js +441 -116
  495. package/lib/components/input/src/input2.js.map +1 -1
  496. package/lib/components/input-number/index.d.ts +16 -16
  497. package/lib/components/input-number/src/input-number.vue.d.ts +16 -16
  498. package/lib/components/loading/index.d.ts +1 -1
  499. package/lib/components/menu/index.d.ts +2 -2
  500. package/lib/components/menu/src/menu.d.ts +2 -2
  501. package/lib/components/notification/index.js +1 -1
  502. package/lib/components/notification/src/notification.js +70 -144
  503. package/lib/components/notification/src/notification.js.map +1 -1
  504. package/lib/components/notification/src/notification.vue.d.ts +1 -1
  505. package/lib/components/notification/src/notification2.js +144 -70
  506. package/lib/components/notification/src/notification2.js.map +1 -1
  507. package/lib/components/notification/src/notify.js +2 -2
  508. package/lib/components/pagination/index.d.ts +1 -1
  509. package/lib/components/pagination/src/components/jumper.vue.d.ts +4 -4
  510. package/lib/components/pagination/src/components/prev.js +34 -19
  511. package/lib/components/pagination/src/components/prev.js.map +1 -1
  512. package/lib/components/pagination/src/components/prev2.js +19 -34
  513. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  514. package/lib/components/pagination/src/components/sizes.vue.d.ts +79 -79
  515. package/lib/components/pagination/src/pagination.d.ts +1 -1
  516. package/lib/components/pagination/src/pagination.js +1 -1
  517. package/lib/components/popconfirm/index.d.ts +114 -114
  518. package/lib/components/popconfirm/index.js +2 -2
  519. package/lib/components/popconfirm/src/popconfirm.js +49 -111
  520. package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
  521. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +114 -114
  522. package/lib/components/popconfirm/src/popconfirm2.js +111 -49
  523. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  524. package/lib/components/popover/index.d.ts +124 -124
  525. package/lib/components/popover/src/popover.js +1 -1
  526. package/lib/components/popover/src/popover.vue.d.ts +124 -124
  527. package/lib/components/popper/index.d.ts +5 -5
  528. package/lib/components/popper/src/content.d.ts +4 -4
  529. package/lib/components/popper/src/content.vue.d.ts +8 -8
  530. package/lib/components/popper/src/popper.d.ts +2 -2
  531. package/lib/components/popper/src/popper.vue.d.ts +5 -5
  532. package/lib/components/popper/src/trigger.vue.d.ts +1 -1
  533. package/lib/components/popper/src/utils.d.ts +1 -1
  534. package/lib/components/progress/index.d.ts +4 -4
  535. package/lib/components/progress/src/progress.d.ts +1 -1
  536. package/lib/components/progress/src/progress.vue.d.ts +4 -4
  537. package/lib/components/radio/index.d.ts +6 -6
  538. package/lib/components/radio/index.js +2 -2
  539. package/lib/components/radio/src/radio-button.js +9 -68
  540. package/lib/components/radio/src/radio-button.js.map +1 -1
  541. package/lib/components/radio/src/radio-button2.js +68 -9
  542. package/lib/components/radio/src/radio-button2.js.map +1 -1
  543. package/lib/components/radio/src/radio-group.vue.d.ts +2 -2
  544. package/lib/components/radio/src/radio.vue.d.ts +2 -2
  545. package/lib/components/rate/index.d.ts +2 -2
  546. package/lib/components/rate/src/rate.vue.d.ts +2 -2
  547. package/lib/components/roving-focus-group/index.js +2 -2
  548. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +1 -1
  549. package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +1 -1
  550. package/lib/components/roving-focus-group/src/roving-focus-group.js +27 -33
  551. package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
  552. package/lib/components/roving-focus-group/src/roving-focus-group2.js +33 -27
  553. package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -1
  554. package/lib/components/roving-focus-group/src/roving-focus-item.js +1 -1
  555. package/lib/components/row/index.d.ts +4 -4
  556. package/lib/components/row/src/row.d.ts +1 -1
  557. package/lib/components/row/src/row.vue.d.ts +4 -4
  558. package/lib/components/scrollbar/index.d.ts +1 -1
  559. package/lib/components/scrollbar/index.js +2 -2
  560. package/lib/components/scrollbar/src/bar.js +42 -17
  561. package/lib/components/scrollbar/src/bar.js.map +1 -1
  562. package/lib/components/scrollbar/src/bar2.js +17 -42
  563. package/lib/components/scrollbar/src/bar2.js.map +1 -1
  564. package/lib/components/scrollbar/src/scrollbar.js +175 -48
  565. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  566. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  567. package/lib/components/scrollbar/src/scrollbar2.js +48 -175
  568. package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
  569. package/lib/components/select/index.d.ts +79 -79
  570. package/lib/components/select/src/select.vue.d.ts +79 -79
  571. package/lib/components/select/src/useSelect.d.ts +75 -75
  572. package/lib/components/select-v2/index.d.ts +160 -160
  573. package/lib/components/select-v2/src/select.vue.d.ts +80 -80
  574. package/lib/components/select-v2/src/useSelect.d.ts +75 -75
  575. package/lib/components/skeleton/index.d.ts +9 -9
  576. package/lib/components/skeleton/index.js +4 -4
  577. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  578. package/lib/components/skeleton/src/skeleton-item.js +18 -23
  579. package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
  580. package/lib/components/skeleton/src/skeleton-item.vue.d.ts +3 -3
  581. package/lib/components/skeleton/src/skeleton-item2.js +23 -18
  582. package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
  583. package/lib/components/skeleton/src/skeleton.js +49 -22
  584. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  585. package/lib/components/skeleton/src/skeleton.vue.d.ts +3 -3
  586. package/lib/components/skeleton/src/skeleton2.js +22 -49
  587. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  588. package/lib/components/slider/index.d.ts +217 -208
  589. package/lib/components/slider/index.js +2 -2
  590. package/lib/components/slider/src/button.js +3 -1
  591. package/lib/components/slider/src/button.js.map +1 -1
  592. package/lib/components/slider/src/button.vue.d.ts +39 -38
  593. package/lib/components/slider/src/composables/use-slide.d.ts +156 -152
  594. package/lib/components/slider/src/composables/use-slider-button.d.ts +1 -0
  595. package/lib/components/slider/src/composables/use-slider-button.js +2 -0
  596. package/lib/components/slider/src/composables/use-slider-button.js.map +1 -1
  597. package/lib/components/slider/src/slider.d.ts +1 -0
  598. package/lib/components/slider/src/slider.js +96 -233
  599. package/lib/components/slider/src/slider.js.map +1 -1
  600. package/lib/components/slider/src/slider.vue.d.ts +217 -208
  601. package/lib/components/slider/src/slider2.js +233 -92
  602. package/lib/components/slider/src/slider2.js.map +1 -1
  603. package/lib/components/space/index.d.ts +2 -2
  604. package/lib/components/space/src/space.d.ts +2 -2
  605. package/lib/components/steps/index.d.ts +1 -1
  606. package/lib/components/steps/index.js +2 -2
  607. package/lib/components/steps/src/steps.js +37 -34
  608. package/lib/components/steps/src/steps.js.map +1 -1
  609. package/lib/components/steps/src/steps.vue.d.ts +1 -1
  610. package/lib/components/steps/src/steps2.js +34 -37
  611. package/lib/components/steps/src/steps2.js.map +1 -1
  612. package/lib/components/switch/index.d.ts +3 -3
  613. package/lib/components/switch/src/switch.vue.d.ts +3 -3
  614. package/lib/components/table/index.d.ts +2 -2
  615. package/lib/components/table/src/filter-panel.vue.d.ts +75 -75
  616. package/lib/components/table/src/table.vue.d.ts +2 -2
  617. package/lib/components/table/src/util.d.ts +9 -9
  618. package/lib/components/tabs/index.js +1 -1
  619. package/lib/components/tabs/src/tab-bar.js +81 -7
  620. package/lib/components/tabs/src/tab-bar.js.map +1 -1
  621. package/lib/components/tabs/src/tab-bar2.js +7 -81
  622. package/lib/components/tabs/src/tab-bar2.js.map +1 -1
  623. package/lib/components/tabs/src/tab-nav.js +1 -1
  624. package/lib/components/tag/index.d.ts +2 -2
  625. package/lib/components/tag/src/tag.vue.d.ts +2 -2
  626. package/lib/components/time-picker/index.d.ts +2 -2
  627. package/lib/components/time-picker/src/common/picker.vue.d.ts +120 -120
  628. package/lib/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  629. package/lib/components/time-picker/src/props/basic-time-spinner.d.ts +1 -1
  630. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +17 -17
  631. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +23 -23
  632. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +23 -23
  633. package/lib/components/time-picker/src/time-picker.d.ts +1 -1
  634. package/lib/components/time-select/index.d.ts +324 -324
  635. package/lib/components/time-select/index.js +1 -1
  636. package/lib/components/time-select/src/time-select.js +122 -48
  637. package/lib/components/time-select/src/time-select.js.map +1 -1
  638. package/lib/components/time-select/src/time-select.vue.d.ts +162 -162
  639. package/lib/components/time-select/src/time-select2.js +48 -122
  640. package/lib/components/time-select/src/time-select2.js.map +1 -1
  641. package/lib/components/tooltip/index.d.ts +38 -38
  642. package/lib/components/tooltip/index.js +1 -1
  643. package/lib/components/tooltip/src/content.d.ts +1 -1
  644. package/lib/components/tooltip/src/content.vue.d.ts +17 -17
  645. package/lib/components/tooltip/src/tooltip.d.ts +2 -2
  646. package/lib/components/tooltip/src/tooltip.js +1 -1
  647. package/lib/components/tooltip/src/tooltip.vue.d.ts +38 -38
  648. package/lib/components/tooltip/src/tooltip2.js +1 -1
  649. package/lib/components/tooltip/src/trigger.js +16 -74
  650. package/lib/components/tooltip/src/trigger.js.map +1 -1
  651. package/lib/components/tooltip/src/trigger.vue.d.ts +2 -2
  652. package/lib/components/tooltip/src/trigger2.js +74 -16
  653. package/lib/components/tooltip/src/trigger2.js.map +1 -1
  654. package/lib/components/tooltip-v2/index.d.ts +36 -36
  655. package/lib/components/tooltip-v2/index.js +2 -2
  656. package/lib/components/tooltip-v2/src/arrow.vue.d.ts +1 -1
  657. package/lib/components/tooltip-v2/src/content.d.ts +1 -1
  658. package/lib/components/tooltip-v2/src/content.vue.d.ts +6 -6
  659. package/lib/components/tooltip-v2/src/content2.js +1 -1
  660. package/lib/components/tooltip-v2/src/root.js +81 -17
  661. package/lib/components/tooltip-v2/src/root.js.map +1 -1
  662. package/lib/components/tooltip-v2/src/root2.js +17 -81
  663. package/lib/components/tooltip-v2/src/root2.js.map +1 -1
  664. package/lib/components/tooltip-v2/src/tooltip.d.ts +1 -1
  665. package/lib/components/tooltip-v2/src/tooltip.js +4 -4
  666. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +36 -36
  667. package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
  668. package/lib/components/tooltip-v2/src/trigger.js +12 -90
  669. package/lib/components/tooltip-v2/src/trigger.js.map +1 -1
  670. package/lib/components/tooltip-v2/src/trigger2.js +90 -12
  671. package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
  672. package/lib/components/transfer/index.d.ts +62 -62
  673. package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  674. package/lib/components/transfer/src/transfer.vue.d.ts +62 -62
  675. package/lib/components/tree/index.d.ts +4 -4
  676. package/lib/components/tree/src/tree-node.vue.d.ts +1 -1
  677. package/lib/components/tree/src/tree.vue.d.ts +2 -2
  678. package/lib/components/tree-v2/index.d.ts +9 -9
  679. package/lib/components/tree-v2/src/tree-node.vue.d.ts +6 -6
  680. package/lib/components/tree-v2/src/tree.vue.d.ts +9 -9
  681. package/lib/components/upload/index.d.ts +10 -10
  682. package/lib/components/upload/index.js +4 -4
  683. package/lib/components/upload/src/upload-content.js +170 -33
  684. package/lib/components/upload/src/upload-content.js.map +1 -1
  685. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  686. package/lib/components/upload/src/upload-content2.js +33 -170
  687. package/lib/components/upload/src/upload-content2.js.map +1 -1
  688. package/lib/components/upload/src/upload-list.js +170 -27
  689. package/lib/components/upload/src/upload-list.js.map +1 -1
  690. package/lib/components/upload/src/upload-list.vue.d.ts +4 -4
  691. package/lib/components/upload/src/upload-list2.js +27 -170
  692. package/lib/components/upload/src/upload-list2.js.map +1 -1
  693. package/lib/components/upload/src/upload.js +120 -108
  694. package/lib/components/upload/src/upload.js.map +1 -1
  695. package/lib/components/upload/src/upload.vue.d.ts +10 -10
  696. package/lib/components/upload/src/upload2.js +108 -120
  697. package/lib/components/upload/src/upload2.js.map +1 -1
  698. package/lib/components/upload/src/use-handlers.js +1 -1
  699. package/lib/components/virtual-list/src/builders/build-grid.d.ts +2 -2
  700. package/lib/components/virtual-list/src/builders/build-list.d.ts +3 -3
  701. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +2 -2
  702. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +3 -3
  703. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +2 -2
  704. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +3 -3
  705. package/lib/components/visual-hidden/index.js +2 -2
  706. package/lib/components/visual-hidden/src/visual-hidden.js +7 -35
  707. package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -1
  708. package/lib/components/visual-hidden/src/visual-hidden2.js +35 -7
  709. package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
  710. package/lib/index.js +26 -26
  711. package/lib/utils/vue/vnode.d.ts +6 -6
  712. package/package.json +1 -1
  713. package/theme-chalk/el-button.css +1 -1
  714. package/theme-chalk/el-form.css +1 -1
  715. package/theme-chalk/el-input-number.css +1 -1
  716. package/theme-chalk/el-input.css +1 -1
  717. package/theme-chalk/index.css +1 -1
  718. package/theme-chalk/src/button.scss +1 -1
  719. package/theme-chalk/src/form.scss +1 -1
  720. package/theme-chalk/src/input-number.scss +1 -1
  721. package/theme-chalk/src/input.scss +3 -3
@@ -1,22 +1,80 @@
1
- import '../../../utils/index.mjs';
1
+ import { defineComponent, inject, ref, unref, toRef, openBlock, createBlock, normalizeClass, withCtx, renderSlot } from 'vue';
2
2
  import '../../popper/index.mjs';
3
- import '../../../constants/index.mjs';
4
- import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
5
- import { popperTriggerProps } from '../../popper/src/trigger2.mjs';
6
- import { EVENT_CODE } from '../../../constants/aria.mjs';
3
+ import '../../../utils/index.mjs';
4
+ import '../../../hooks/index.mjs';
5
+ import '../../../tokens/index.mjs';
6
+ import { useTooltipTriggerProps } from './trigger.mjs';
7
+ import { whenTrigger } from './utils.mjs';
8
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
9
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
10
+ import { TOOLTIP_INJECTION_KEY } from '../../../tokens/tooltip.mjs';
11
+ import { composeEventHandlers } from '../../../utils/dom/event.mjs';
12
+ import ElPopperTrigger from '../../popper/src/trigger.mjs';
7
13
 
8
- const useTooltipTriggerProps = buildProps({
9
- ...popperTriggerProps,
10
- disabled: Boolean,
11
- trigger: {
12
- type: definePropType([String, Array]),
13
- default: "hover"
14
- },
15
- triggerKeys: {
16
- type: definePropType(Array),
17
- default: () => [EVENT_CODE.enter, EVENT_CODE.space]
14
+ const __default__ = defineComponent({
15
+ name: "ElTooltipTrigger"
16
+ });
17
+ const _sfc_main = /* @__PURE__ */ defineComponent({
18
+ ...__default__,
19
+ props: useTooltipTriggerProps,
20
+ setup(__props, { expose }) {
21
+ const props = __props;
22
+ const ns = useNamespace("tooltip");
23
+ const { controlled, id, open, onOpen, onClose, onToggle } = inject(TOOLTIP_INJECTION_KEY, void 0);
24
+ const triggerRef = ref(null);
25
+ const stopWhenControlledOrDisabled = () => {
26
+ if (unref(controlled) || props.disabled) {
27
+ return true;
28
+ }
29
+ };
30
+ const trigger = toRef(props, "trigger");
31
+ const onMouseenter = composeEventHandlers(stopWhenControlledOrDisabled, whenTrigger(trigger, "hover", onOpen));
32
+ const onMouseleave = composeEventHandlers(stopWhenControlledOrDisabled, whenTrigger(trigger, "hover", onClose));
33
+ const onClick = composeEventHandlers(stopWhenControlledOrDisabled, whenTrigger(trigger, "click", (e) => {
34
+ if (e.button === 0) {
35
+ onToggle(e);
36
+ }
37
+ }));
38
+ const onFocus = composeEventHandlers(stopWhenControlledOrDisabled, whenTrigger(trigger, "focus", onOpen));
39
+ const onBlur = composeEventHandlers(stopWhenControlledOrDisabled, whenTrigger(trigger, "focus", onClose));
40
+ const onContextMenu = composeEventHandlers(stopWhenControlledOrDisabled, whenTrigger(trigger, "contextmenu", (e) => {
41
+ e.preventDefault();
42
+ onToggle(e);
43
+ }));
44
+ const onKeydown = composeEventHandlers(stopWhenControlledOrDisabled, (e) => {
45
+ const { code } = e;
46
+ if (props.triggerKeys.includes(code)) {
47
+ e.preventDefault();
48
+ onToggle(e);
49
+ }
50
+ });
51
+ expose({
52
+ triggerRef
53
+ });
54
+ return (_ctx, _cache) => {
55
+ return openBlock(), createBlock(unref(ElPopperTrigger), {
56
+ id: unref(id),
57
+ "virtual-ref": _ctx.virtualRef,
58
+ open: unref(open),
59
+ "virtual-triggering": _ctx.virtualTriggering,
60
+ class: normalizeClass(unref(ns).e("trigger")),
61
+ onBlur: unref(onBlur),
62
+ onClick: unref(onClick),
63
+ onContextmenu: unref(onContextMenu),
64
+ onFocus: unref(onFocus),
65
+ onMouseenter: unref(onMouseenter),
66
+ onMouseleave: unref(onMouseleave),
67
+ onKeydown: unref(onKeydown)
68
+ }, {
69
+ default: withCtx(() => [
70
+ renderSlot(_ctx.$slots, "default")
71
+ ]),
72
+ _: 3
73
+ }, 8, ["id", "virtual-ref", "open", "virtual-triggering", "class", "onBlur", "onClick", "onContextmenu", "onFocus", "onMouseenter", "onMouseleave", "onKeydown"]);
74
+ };
18
75
  }
19
76
  });
77
+ var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/st/Desktop/vue/nxx-ui/packages/components/tooltip/src/trigger.vue"]]);
20
78
 
21
- export { useTooltipTriggerProps };
79
+ export { ElTooltipTrigger as default };
22
80
  //# sourceMappingURL=trigger2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"trigger2.mjs","sources":["../../../../../../packages/components/tooltip/src/trigger.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { popperTriggerProps } from '@element-plus/components/popper'\nimport { EVENT_CODE } from '@element-plus/constants'\nimport type { Arrayable } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\n\nexport type TooltipTriggerType = 'hover' | 'focus' | 'click' | 'contextmenu'\n\nexport const useTooltipTriggerProps = buildProps({\n ...popperTriggerProps,\n disabled: Boolean,\n trigger: {\n type: definePropType<Arrayable<TooltipTriggerType>>([String, Array]),\n default: 'hover',\n },\n triggerKeys: {\n type: definePropType<string[]>(Array),\n default: () => [EVENT_CODE.enter, EVENT_CODE.space],\n },\n} as const)\n\nexport type ElTooltipTriggerProps = ExtractPropTypes<\n typeof useTooltipTriggerProps\n>\n"],"names":[],"mappings":";;;;;;;AAGY,MAAC,sBAAsB,GAAG,UAAU,CAAC;AACjD,EAAE,GAAG,kBAAkB;AACvB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AACzC,IAAI,OAAO,EAAE,OAAO;AACpB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC;AACvD,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"trigger2.mjs","sources":["../../../../../../packages/components/tooltip/src/trigger.vue"],"sourcesContent":["<template>\n <el-popper-trigger\n :id=\"id\"\n :virtual-ref=\"virtualRef\"\n :open=\"open\"\n :virtual-triggering=\"virtualTriggering\"\n :class=\"ns.e('trigger')\"\n @blur=\"onBlur\"\n @click=\"onClick\"\n @contextmenu=\"onContextMenu\"\n @focus=\"onFocus\"\n @mouseenter=\"onMouseenter\"\n @mouseleave=\"onMouseleave\"\n @keydown=\"onKeydown\"\n >\n <slot />\n </el-popper-trigger>\n</template>\n<script lang=\"ts\" setup>\nimport { inject, ref, toRef, unref } from 'vue'\nimport { ElPopperTrigger } from '@element-plus/components/popper'\nimport { composeEventHandlers } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { TOOLTIP_INJECTION_KEY } from '@element-plus/tokens'\nimport { useTooltipTriggerProps } from './trigger'\nimport { whenTrigger } from './utils'\n\ndefineOptions({\n name: 'ElTooltipTrigger',\n})\n\nconst props = defineProps(useTooltipTriggerProps)\n\nconst ns = useNamespace('tooltip')\nconst { controlled, id, open, onOpen, onClose, onToggle } = inject(\n TOOLTIP_INJECTION_KEY,\n undefined\n)!\n\n// TODO any is temporary, replace with `OnlyChildExpose | null` later\nconst triggerRef = ref<any>(null)\n\nconst stopWhenControlledOrDisabled = () => {\n if (unref(controlled) || props.disabled) {\n return true\n }\n}\nconst trigger = toRef(props, 'trigger')\nconst onMouseenter = composeEventHandlers(\n stopWhenControlledOrDisabled,\n whenTrigger(trigger, 'hover', onOpen)\n)\nconst onMouseleave = composeEventHandlers(\n stopWhenControlledOrDisabled,\n whenTrigger(trigger, 'hover', onClose)\n)\nconst onClick = composeEventHandlers(\n stopWhenControlledOrDisabled,\n whenTrigger(trigger, 'click', (e) => {\n // distinguish left click\n if ((e as MouseEvent).button === 0) {\n onToggle(e)\n }\n })\n)\n\nconst onFocus = composeEventHandlers(\n stopWhenControlledOrDisabled,\n whenTrigger(trigger, 'focus', onOpen)\n)\n\nconst onBlur = composeEventHandlers(\n stopWhenControlledOrDisabled,\n whenTrigger(trigger, 'focus', onClose)\n)\n\nconst onContextMenu = composeEventHandlers(\n stopWhenControlledOrDisabled,\n whenTrigger(trigger, 'contextmenu', (e: Event) => {\n e.preventDefault()\n onToggle(e)\n })\n)\n\nconst onKeydown = composeEventHandlers(\n stopWhenControlledOrDisabled,\n (e: KeyboardEvent) => {\n const { code } = e\n if (props.triggerKeys.includes(code)) {\n e.preventDefault()\n onToggle(e)\n }\n }\n)\n\ndefineExpose({\n /**\n * @description trigger element\n */\n triggerRef,\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;mCA2Bc,CAAA;AAAA,EACZ,IAAM,EAAA,kBAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAIA,IAAM,MAAA,EAAA,GAAK,aAAa,SAAS,CAAA,CAAA;AACjC,IAAM,MAAA,EAAE,YAAY,EAAI,EAAA,IAAA,EAAM,QAAQ,OAAS,EAAA,QAAA,EAAA,GAAa,MAC1D,CAAA,qBAAA,EACA,KACF,CAAA,CAAA,CAAA;AAGA,IAAM,MAAA,UAAA,GAAa,IAAS,IAAI,CAAA,CAAA;AAEhC,IAAA,MAAM,+BAA+B,MAAM;AACzC,MAAA,IAAI,KAAM,CAAA,UAAU,CAAK,IAAA,KAAA,CAAM,QAAU,EAAA;AACvC,QAAO,OAAA,IAAA,CAAA;AAAA,OACT;AAAA,KACF,CAAA;AACA,IAAM,MAAA,OAAA,GAAU,KAAM,CAAA,KAAA,EAAO,SAAS,CAAA,CAAA;AACtC,IAAA,MAAM,eAAe,oBACnB,CAAA,4BAAA,EACA,YAAY,OAAS,EAAA,OAAA,EAAS,MAAM,CACtC,CAAA,CAAA;AACA,IAAA,MAAM,eAAe,oBACnB,CAAA,4BAAA,EACA,YAAY,OAAS,EAAA,OAAA,EAAS,OAAO,CACvC,CAAA,CAAA;AACA,IAAA,MAAM,UAAU,oBACd,CAAA,4BAAA,EACA,YAAY,OAAS,EAAA,OAAA,EAAS,CAAC,CAAM,KAAA;AAEnC,MAAK,IAAA,CAAA,CAAiB,WAAW,CAAG,EAAA;AAClC,QAAA,QAAA,CAAS,CAAC,CAAA,CAAA;AAAA,OACZ;AAAA,KACD,CACH,CAAA,CAAA;AAEA,IAAA,MAAM,UAAU,oBACd,CAAA,4BAAA,EACA,YAAY,OAAS,EAAA,OAAA,EAAS,MAAM,CACtC,CAAA,CAAA;AAEA,IAAA,MAAM,SAAS,oBACb,CAAA,4BAAA,EACA,YAAY,OAAS,EAAA,OAAA,EAAS,OAAO,CACvC,CAAA,CAAA;AAEA,IAAA,MAAM,gBAAgB,oBACpB,CAAA,4BAAA,EACA,YAAY,OAAS,EAAA,aAAA,EAAe,CAAC,CAAa,KAAA;AAChD,MAAA,CAAA,CAAE,cAAe,EAAA,CAAA;AACjB,MAAA,QAAA,CAAS,CAAC,CAAA,CAAA;AAAA,KACX,CACH,CAAA,CAAA;AAEA,IAAA,MAAM,SAAY,GAAA,oBAAA,CAChB,4BACA,EAAA,CAAC,CAAqB,KAAA;AACpB,MAAA,MAAM,EAAE,IAAS,EAAA,GAAA,CAAA,CAAA;AACjB,MAAA,IAAI,KAAM,CAAA,WAAA,CAAY,QAAS,CAAA,IAAI,CAAG,EAAA;AACpC,QAAA,CAAA,CAAE,cAAe,EAAA,CAAA;AACjB,QAAA,QAAA,CAAS,CAAC,CAAA,CAAA;AAAA,OACZ;AAAA,KAEJ,CAAA,CAAA;AAEA,IAAa,MAAA,CAAA;AAAA,MAIX,UAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -11,7 +11,7 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
11
11
  readonly placement: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, "bottom", boolean>;
12
12
  readonly reference: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
13
13
  readonly offset: import("element-plus-secondary/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 8, boolean>;
14
- readonly strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, "absolute", boolean>;
14
+ readonly strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown, "absolute", boolean>;
15
15
  readonly showArrow: import("element-plus-secondary/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
16
16
  readonly onBlur: {
17
17
  readonly type: import("vue").PropType<(e: Event) => boolean | void>;
@@ -81,7 +81,7 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
81
81
  readonly placement: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, "bottom", boolean>;
82
82
  readonly reference: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
83
83
  readonly offset: import("element-plus-secondary/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 8, boolean>;
84
- readonly strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, "absolute", boolean>;
84
+ readonly strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown, "absolute", boolean>;
85
85
  readonly showArrow: import("element-plus-secondary/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
86
86
  readonly onBlur: {
87
87
  readonly type: import("vue").PropType<(e: Event) => boolean | void>;
@@ -153,7 +153,7 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
153
153
  readonly placement: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, "bottom", boolean>;
154
154
  readonly reference: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
155
155
  readonly offset: import("element-plus-secondary/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 8, boolean>;
156
- readonly strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, "absolute", boolean>;
156
+ readonly strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown, "absolute", boolean>;
157
157
  readonly showArrow: import("element-plus-secondary/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
158
158
  readonly onBlur: {
159
159
  readonly type: import("vue").PropType<(e: Event) => boolean | void>;
@@ -216,19 +216,19 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
216
216
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
217
217
  readonly placement?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown> | undefined;
218
218
  readonly height?: number | undefined;
219
- readonly offset?: number | undefined;
219
+ readonly to?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined) | ((new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined))[], unknown, unknown>;
220
+ readonly style?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
221
+ readonly open?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
222
+ readonly strategy?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown> | undefined;
220
223
  readonly width?: number | undefined;
224
+ readonly offset?: number | undefined;
221
225
  readonly effect?: string | undefined;
222
- readonly strategy?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown> | undefined;
223
- readonly style?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
224
226
  readonly ariaLabel?: string | undefined;
225
227
  readonly teleported?: boolean | undefined;
226
228
  readonly onFocus?: ((e: Event) => boolean | void) | undefined;
227
229
  readonly onBlur?: ((e: Event) => boolean | void) | undefined;
228
- readonly open?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
229
230
  readonly onClick?: ((e: Event) => boolean | void) | undefined;
230
231
  readonly showArrow?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
231
- readonly to?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined) | ((new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined))[], unknown, unknown>;
232
232
  readonly reference?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown> | undefined;
233
233
  readonly alwaysOn?: boolean | undefined;
234
234
  readonly delayDuration?: number | undefined;
@@ -247,19 +247,19 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
247
247
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
248
248
  readonly placement?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown> | undefined;
249
249
  readonly height?: number | undefined;
250
- readonly offset?: number | undefined;
250
+ readonly to?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined) | ((new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined))[], unknown, unknown>;
251
+ readonly style?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
252
+ readonly open?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
253
+ readonly strategy?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown> | undefined;
251
254
  readonly width?: number | undefined;
255
+ readonly offset?: number | undefined;
252
256
  readonly effect?: string | undefined;
253
- readonly strategy?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown> | undefined;
254
- readonly style?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
255
257
  readonly ariaLabel?: string | undefined;
256
258
  readonly teleported?: boolean | undefined;
257
259
  readonly onFocus?: ((e: Event) => boolean | void) | undefined;
258
260
  readonly onBlur?: ((e: Event) => boolean | void) | undefined;
259
- readonly open?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
260
261
  readonly onClick?: ((e: Event) => boolean | void) | undefined;
261
262
  readonly showArrow?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
262
- readonly to?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined) | ((new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined))[], unknown, unknown>;
263
263
  readonly reference?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown> | undefined;
264
264
  readonly alwaysOn?: boolean | undefined;
265
265
  readonly delayDuration?: number | undefined;
@@ -278,19 +278,19 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
278
278
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
279
279
  readonly placement?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown> | undefined;
280
280
  readonly height?: number | undefined;
281
- readonly offset?: number | undefined;
281
+ readonly to?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined) | ((new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined))[], unknown, unknown>;
282
+ readonly style?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
283
+ readonly open?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
284
+ readonly strategy?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown> | undefined;
282
285
  readonly width?: number | undefined;
286
+ readonly offset?: number | undefined;
283
287
  readonly effect?: string | undefined;
284
- readonly strategy?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown> | undefined;
285
- readonly style?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
286
288
  readonly ariaLabel?: string | undefined;
287
289
  readonly teleported?: boolean | undefined;
288
290
  readonly onFocus?: ((e: Event) => boolean | void) | undefined;
289
291
  readonly onBlur?: ((e: Event) => boolean | void) | undefined;
290
- readonly open?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
291
292
  readonly onClick?: ((e: Event) => boolean | void) | undefined;
292
293
  readonly showArrow?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
293
- readonly to?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined) | ((new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined))[], unknown, unknown>;
294
294
  readonly reference?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown> | undefined;
295
295
  readonly alwaysOn?: boolean | undefined;
296
296
  readonly delayDuration?: number | undefined;
@@ -309,19 +309,19 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
309
309
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
310
310
  readonly placement?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown> | undefined;
311
311
  readonly height?: number | undefined;
312
- readonly offset?: number | undefined;
312
+ readonly to?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined) | ((new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined))[], unknown, unknown>;
313
+ readonly style?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
314
+ readonly open?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
315
+ readonly strategy?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown> | undefined;
313
316
  readonly width?: number | undefined;
317
+ readonly offset?: number | undefined;
314
318
  readonly effect?: string | undefined;
315
- readonly strategy?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown> | undefined;
316
- readonly style?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
317
319
  readonly ariaLabel?: string | undefined;
318
320
  readonly teleported?: boolean | undefined;
319
321
  readonly onFocus?: ((e: Event) => boolean | void) | undefined;
320
322
  readonly onBlur?: ((e: Event) => boolean | void) | undefined;
321
- readonly open?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
322
323
  readonly onClick?: ((e: Event) => boolean | void) | undefined;
323
324
  readonly showArrow?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
324
- readonly to?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined) | ((new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined))[], unknown, unknown>;
325
325
  readonly reference?: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown> | undefined;
326
326
  readonly alwaysOn?: boolean | undefined;
327
327
  readonly delayDuration?: number | undefined;
@@ -479,8 +479,8 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
479
479
  style: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown, null, boolean>;
480
480
  }>>, {
481
481
  height: number;
482
- width: number;
483
482
  style: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown>;
483
+ width: number;
484
484
  }>;
485
485
  TooltipV2Content: import("vue").DefineComponent<{
486
486
  nowrap: BooleanConstructor;
@@ -491,7 +491,7 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
491
491
  placement: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, "bottom", boolean>;
492
492
  reference: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
493
493
  offset: import("element-plus-secondary/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 8, boolean>;
494
- strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, "absolute", boolean>;
494
+ strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown, "absolute", boolean>;
495
495
  showArrow: import("element-plus-secondary/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
496
496
  }, {
497
497
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -503,7 +503,7 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
503
503
  placement: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, "bottom", boolean>;
504
504
  reference: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
505
505
  offset: import("element-plus-secondary/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 8, boolean>;
506
- strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, "absolute", boolean>;
506
+ strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown, "absolute", boolean>;
507
507
  showArrow: import("element-plus-secondary/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
508
508
  }>> & {
509
509
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
@@ -511,7 +511,7 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
511
511
  triggerRef: import("vue").Ref<HTMLElement | null>;
512
512
  contentId: import("vue").Ref<string>;
513
513
  placement: import("vue").Ref<import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>>;
514
- strategy: import("vue").Ref<import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown>>;
514
+ strategy: import("vue").Ref<import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown>>;
515
515
  arrowRef: import("vue").Ref<HTMLElement | null>;
516
516
  referenceRef: import("vue").Ref<HTMLElement | import("@floating-ui/dom").VirtualElement | undefined>;
517
517
  contentRef: import("vue").Ref<HTMLElement | undefined>;
@@ -610,14 +610,14 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
610
610
  placement: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, "bottom", boolean>;
611
611
  reference: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
612
612
  offset: import("element-plus-secondary/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 8, boolean>;
613
- strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, "absolute", boolean>;
613
+ strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown, "absolute", boolean>;
614
614
  showArrow: import("element-plus-secondary/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
615
615
  }>>, {
616
616
  placement: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>;
617
+ strategy: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown>;
617
618
  offset: number;
618
- effect: string;
619
- strategy: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown>;
620
619
  nowrap: boolean;
620
+ effect: string;
621
621
  showArrow: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
622
622
  reference: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown>;
623
623
  arrowPadding: number;
@@ -798,7 +798,7 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
798
798
  readonly placement: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, "bottom", boolean>;
799
799
  readonly reference: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
800
800
  readonly offset: import("element-plus-secondary/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 8, boolean>;
801
- readonly strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, "absolute", boolean>;
801
+ readonly strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown, "absolute", boolean>;
802
802
  readonly showArrow: import("element-plus-secondary/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
803
803
  readonly onBlur: {
804
804
  readonly type: import("vue").PropType<(e: Event) => boolean | void>;
@@ -857,15 +857,15 @@ export declare const ElTooltipV2: import("element-plus-secondary/es/utils").SFCW
857
857
  }>>, {
858
858
  readonly placement: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>;
859
859
  readonly height: number;
860
- readonly offset: number;
860
+ readonly to: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined) | ((new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined))[], unknown, unknown>;
861
+ readonly style: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown>;
862
+ readonly open: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
863
+ readonly strategy: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "absolute" | "fixed", unknown>;
861
864
  readonly width: number;
865
+ readonly offset: number;
862
866
  readonly effect: string;
863
- readonly strategy: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown>;
864
- readonly style: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown>;
865
867
  readonly teleported: boolean;
866
- readonly open: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
867
868
  readonly showArrow: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
868
- readonly to: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined) | ((new (...args: any[]) => (string | import("vue").RendererElement | null | undefined) & {}) | (() => string | import("vue").RendererElement | null | undefined))[], unknown, unknown>;
869
869
  readonly reference: import("element-plus-secondary/es/utils").EpPropMergeType<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown>;
870
870
  readonly alwaysOn: boolean;
871
871
  readonly delayDuration: number;
@@ -2,9 +2,9 @@ import '../../utils/index.mjs';
2
2
  import TooltipV2 from './src/tooltip.mjs';
3
3
  export { tooltipV2ArrowProps, tooltipV2ArrowSpecialProps } from './src/arrow.mjs';
4
4
  export { tooltipV2ContentProps } from './src/content.mjs';
5
- export { tooltipV2RootProps } from './src/root.mjs';
5
+ export { tooltipV2RootProps } from './src/root2.mjs';
6
6
  export { tooltipV2Props } from './src/tooltip2.mjs';
7
- export { tooltipV2TriggerProps } from './src/trigger2.mjs';
7
+ export { tooltipV2TriggerProps } from './src/trigger.mjs';
8
8
  import { withInstall } from '../../utils/vue/install.mjs';
9
9
 
10
10
  const ElTooltipV2 = withInstall(TooltipV2);
@@ -55,7 +55,7 @@ declare const _default: import("vue").DefineComponent<{
55
55
  style: import("../../../utils").EpPropFinalized<(new (...args: any[]) => CSSProperties) | (() => CSSProperties | null) | ((new (...args: any[]) => CSSProperties) | (() => CSSProperties | null))[], unknown, unknown, null, boolean>;
56
56
  }>>, {
57
57
  height: number;
58
- width: number;
59
58
  style: import("../../../utils").EpPropMergeType<(new (...args: any[]) => CSSProperties) | (() => CSSProperties | null) | ((new (...args: any[]) => CSSProperties) | (() => CSSProperties | null))[], unknown, unknown>;
59
+ width: number;
60
60
  }>;
61
61
  export default _default;
@@ -8,7 +8,7 @@ export declare const tooltipV2ContentProps: {
8
8
  readonly placement: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => Placement & {}) | (() => Placement) | ((new (...args: any[]) => Placement & {}) | (() => Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, "bottom", boolean>;
9
9
  readonly reference: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | VirtualElement) | (() => HTMLElement | VirtualElement | null) | ((new (...args: any[]) => HTMLElement | VirtualElement) | (() => HTMLElement | VirtualElement | null))[], unknown, unknown, null, boolean>;
10
10
  readonly offset: import("element-plus-secondary/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 8, boolean>;
11
- readonly strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => Strategy & {}) | (() => Strategy) | ((new (...args: any[]) => Strategy & {}) | (() => Strategy))[], "fixed" | "absolute", unknown, "absolute", boolean>;
11
+ readonly strategy: import("element-plus-secondary/es/utils").EpPropFinalized<(new (...args: any[]) => Strategy & {}) | (() => Strategy) | ((new (...args: any[]) => Strategy & {}) | (() => Strategy))[], "absolute" | "fixed", unknown, "absolute", boolean>;
12
12
  readonly showArrow: import("element-plus-secondary/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
13
13
  };
14
14
  export declare type TooltipV2ContentProps = ExtractPropTypes<typeof tooltipV2ContentProps>;
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
8
8
  placement: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/dom").Placement & {}) | (() => import("@floating-ui/dom").Placement) | ((new (...args: any[]) => import("@floating-ui/dom").Placement & {}) | (() => import("@floating-ui/dom").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, "bottom", boolean>;
9
9
  reference: import("../../../utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
10
10
  offset: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 8, boolean>;
11
- strategy: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy) | ((new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy))[], "fixed" | "absolute", unknown, "absolute", boolean>;
11
+ strategy: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy) | ((new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy))[], "absolute" | "fixed", unknown, "absolute", boolean>;
12
12
  showArrow: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
13
13
  }, {
14
14
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
20
20
  placement: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/dom").Placement & {}) | (() => import("@floating-ui/dom").Placement) | ((new (...args: any[]) => import("@floating-ui/dom").Placement & {}) | (() => import("@floating-ui/dom").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, "bottom", boolean>;
21
21
  reference: import("../../../utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
22
22
  offset: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 8, boolean>;
23
- strategy: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy) | ((new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy))[], "fixed" | "absolute", unknown, "absolute", boolean>;
23
+ strategy: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy) | ((new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy))[], "absolute" | "fixed", unknown, "absolute", boolean>;
24
24
  showArrow: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
25
25
  }>> & {
26
26
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
28
28
  triggerRef: import("vue").Ref<HTMLElement | null>;
29
29
  contentId: import("vue").Ref<string>;
30
30
  placement: import("vue").Ref<import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/dom").Placement & {}) | (() => import("@floating-ui/dom").Placement) | ((new (...args: any[]) => import("@floating-ui/dom").Placement & {}) | (() => import("@floating-ui/dom").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>>;
31
- strategy: import("vue").Ref<import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy) | ((new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy))[], "fixed" | "absolute", unknown>>;
31
+ strategy: import("vue").Ref<import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy) | ((new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy))[], "absolute" | "fixed", unknown>>;
32
32
  arrowRef: import("vue").Ref<HTMLElement | null>;
33
33
  referenceRef: import("vue").Ref<HTMLElement | import("@floating-ui/dom").VirtualElement | undefined>;
34
34
  contentRef: import("vue").Ref<HTMLElement | undefined>;
@@ -127,14 +127,14 @@ declare const _default: import("vue").DefineComponent<{
127
127
  placement: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/dom").Placement & {}) | (() => import("@floating-ui/dom").Placement) | ((new (...args: any[]) => import("@floating-ui/dom").Placement & {}) | (() => import("@floating-ui/dom").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, "bottom", boolean>;
128
128
  reference: import("../../../utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
129
129
  offset: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 8, boolean>;
130
- strategy: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy) | ((new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy))[], "fixed" | "absolute", unknown, "absolute", boolean>;
130
+ strategy: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy) | ((new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy))[], "absolute" | "fixed", unknown, "absolute", boolean>;
131
131
  showArrow: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
132
132
  }>>, {
133
133
  placement: import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/dom").Placement & {}) | (() => import("@floating-ui/dom").Placement) | ((new (...args: any[]) => import("@floating-ui/dom").Placement & {}) | (() => import("@floating-ui/dom").Placement))[], "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>;
134
+ strategy: import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy) | ((new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy))[], "absolute" | "fixed", unknown>;
134
135
  offset: number;
135
- effect: string;
136
- strategy: import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy) | ((new (...args: any[]) => import("@floating-ui/dom").Strategy & {}) | (() => import("@floating-ui/dom").Strategy))[], "fixed" | "absolute", unknown>;
137
136
  nowrap: boolean;
137
+ effect: string;
138
138
  showArrow: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
139
139
  reference: import("../../../utils").EpPropMergeType<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown>;
140
140
  arrowPadding: number;
@@ -10,7 +10,7 @@ import { tooltipV2RootKey, tooltipV2ContentKey } from '../../../tokens/tooltip-v
10
10
  import { useFloating, arrowMiddleware } from '../../../hooks/use-floating/index.mjs';
11
11
  import { useZIndex } from '../../../hooks/use-z-index/index.mjs';
12
12
  import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
13
- import ElVisuallyHidden from '../../visual-hidden/src/visual-hidden.mjs';
13
+ import ElVisuallyHidden from '../../visual-hidden/src/visual-hidden2.mjs';
14
14
 
15
15
  const _hoisted_1 = ["data-side"];
16
16
  const __default__ = defineComponent({
@@ -1,23 +1,87 @@
1
+ import { defineComponent, ref, computed, unref, watch, onMounted, onBeforeUnmount, provide, renderSlot } from 'vue';
2
+ import { isNumber, useTimeoutFn } from '@vueuse/core';
3
+ import '../../../hooks/index.mjs';
1
4
  import '../../../utils/index.mjs';
2
- import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
5
+ import '../../../tokens/index.mjs';
6
+ import { tooltipV2RootProps } from './root2.mjs';
7
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
8
+ import { isPropAbsent } from '../../../utils/types.mjs';
9
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
10
+ import { useId } from '../../../hooks/use-id/index.mjs';
11
+ import { TOOLTIP_V2_OPEN, tooltipV2RootKey } from '../../../tokens/tooltip-v2.mjs';
3
12
 
4
- const tooltipV2RootProps = buildProps({
5
- delayDuration: {
6
- type: Number,
7
- default: 300
8
- },
9
- defaultOpen: Boolean,
10
- open: {
11
- type: Boolean,
12
- default: void 0
13
- },
14
- onOpenChange: {
15
- type: definePropType(Function)
16
- },
17
- "onUpdate:open": {
18
- type: definePropType(Function)
13
+ const __default__ = defineComponent({
14
+ name: "ElTooltipV2Root"
15
+ });
16
+ const _sfc_main = /* @__PURE__ */ defineComponent({
17
+ ...__default__,
18
+ props: tooltipV2RootProps,
19
+ setup(__props, { expose }) {
20
+ const props = __props;
21
+ const _open = ref(props.defaultOpen);
22
+ const triggerRef = ref(null);
23
+ const open = computed({
24
+ get: () => isPropAbsent(props.open) ? _open.value : props.open,
25
+ set: (open2) => {
26
+ var _a;
27
+ _open.value = open2;
28
+ (_a = props["onUpdate:open"]) == null ? void 0 : _a.call(props, open2);
29
+ }
30
+ });
31
+ const isOpenDelayed = computed(() => isNumber(props.delayDuration) && props.delayDuration > 0);
32
+ const { start: onDelayedOpen, stop: clearTimer } = useTimeoutFn(() => {
33
+ open.value = true;
34
+ }, computed(() => props.delayDuration), {
35
+ immediate: false
36
+ });
37
+ const ns = useNamespace("tooltip-v2");
38
+ const contentId = useId();
39
+ const onNormalOpen = () => {
40
+ clearTimer();
41
+ open.value = true;
42
+ };
43
+ const onDelayOpen = () => {
44
+ unref(isOpenDelayed) ? onDelayedOpen() : onNormalOpen();
45
+ };
46
+ const onOpen = onNormalOpen;
47
+ const onClose = () => {
48
+ clearTimer();
49
+ open.value = false;
50
+ };
51
+ const onChange = (open2) => {
52
+ var _a;
53
+ if (open2) {
54
+ document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN));
55
+ onOpen();
56
+ }
57
+ (_a = props.onOpenChange) == null ? void 0 : _a.call(props, open2);
58
+ };
59
+ watch(open, onChange);
60
+ onMounted(() => {
61
+ document.addEventListener(TOOLTIP_V2_OPEN, onClose);
62
+ });
63
+ onBeforeUnmount(() => {
64
+ clearTimer();
65
+ document.removeEventListener(TOOLTIP_V2_OPEN, onClose);
66
+ });
67
+ provide(tooltipV2RootKey, {
68
+ contentId,
69
+ triggerRef,
70
+ ns,
71
+ onClose,
72
+ onDelayOpen,
73
+ onOpen
74
+ });
75
+ expose({
76
+ onOpen,
77
+ onClose
78
+ });
79
+ return (_ctx, _cache) => {
80
+ return renderSlot(_ctx.$slots, "default", { open: unref(open) });
81
+ };
19
82
  }
20
83
  });
84
+ var TooltipV2Root = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/st/Desktop/vue/nxx-ui/packages/components/tooltip-v2/src/root.vue"]]);
21
85
 
22
- export { tooltipV2RootProps };
86
+ export { TooltipV2Root as default };
23
87
  //# sourceMappingURL=root.mjs.map