element-plus-secondary 0.3.7 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (751) hide show
  1. package/dist/index.css +1 -1
  2. package/es/components/affix/index.d.ts +1 -1
  3. package/es/components/affix/index.mjs +2 -2
  4. package/es/components/affix/src/affix.mjs +26 -117
  5. package/es/components/affix/src/affix.mjs.map +1 -1
  6. package/es/components/affix/src/affix.vue.d.ts +1 -1
  7. package/es/components/affix/src/affix2.mjs +117 -26
  8. package/es/components/affix/src/affix2.mjs.map +1 -1
  9. package/es/components/autocomplete/index.d.ts +116 -116
  10. package/es/components/autocomplete/src/autocomplete.vue.d.ts +116 -116
  11. package/es/components/avatar/index.mjs +2 -2
  12. package/es/components/avatar/src/avatar.mjs +32 -67
  13. package/es/components/avatar/src/avatar.mjs.map +1 -1
  14. package/es/components/avatar/src/avatar2.mjs +67 -32
  15. package/es/components/avatar/src/avatar2.mjs.map +1 -1
  16. package/es/components/backtop/index.mjs +2 -2
  17. package/es/components/backtop/src/backtop.mjs +54 -21
  18. package/es/components/backtop/src/backtop.mjs.map +1 -1
  19. package/es/components/backtop/src/backtop2.mjs +21 -54
  20. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  21. package/es/components/button/index.mjs +2 -2
  22. package/es/components/button/src/button-group2.mjs +1 -1
  23. package/es/components/button/src/button.mjs +78 -54
  24. package/es/components/button/src/button.mjs.map +1 -1
  25. package/es/components/button/src/button2.mjs +54 -78
  26. package/es/components/button/src/button2.mjs.map +1 -1
  27. package/es/components/calendar/index.mjs +2 -2
  28. package/es/components/calendar/src/calendar.mjs +131 -18
  29. package/es/components/calendar/src/calendar.mjs.map +1 -1
  30. package/es/components/calendar/src/calendar2.mjs +18 -131
  31. package/es/components/calendar/src/calendar2.mjs.map +1 -1
  32. package/es/components/calendar/src/date-table.mjs +33 -87
  33. package/es/components/calendar/src/date-table.mjs.map +1 -1
  34. package/es/components/calendar/src/date-table2.mjs +87 -33
  35. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  36. package/es/components/calendar/src/use-date-table.mjs +1 -1
  37. package/es/components/carousel/index.d.ts +2 -2
  38. package/es/components/carousel/index.mjs +2 -2
  39. package/es/components/carousel/src/carousel-item.mjs +63 -8
  40. package/es/components/carousel/src/carousel-item.mjs.map +1 -1
  41. package/es/components/carousel/src/carousel-item2.mjs +8 -63
  42. package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
  43. package/es/components/carousel/src/carousel.vue.d.ts +2 -2
  44. package/es/components/cascader/index.d.ts +168 -168
  45. package/es/components/cascader/src/index.vue.d.ts +84 -84
  46. package/es/components/cascader-panel/index.d.ts +4 -4
  47. package/es/components/cascader-panel/src/index.vue.d.ts +2 -2
  48. package/es/components/checkbox/index.d.ts +10 -10
  49. package/es/components/checkbox/index.mjs +2 -2
  50. package/es/components/checkbox/src/checkbox-button.mjs +1 -1
  51. package/es/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
  52. package/es/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
  53. package/es/components/checkbox/src/checkbox.mjs +54 -117
  54. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  55. package/es/components/checkbox/src/checkbox.vue.d.ts +2 -2
  56. package/es/components/checkbox/src/checkbox2.mjs +117 -54
  57. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  58. package/es/components/col/index.mjs +2 -2
  59. package/es/components/col/src/col.mjs +66 -43
  60. package/es/components/col/src/col.mjs.map +1 -1
  61. package/es/components/col/src/col2.mjs +43 -66
  62. package/es/components/col/src/col2.mjs.map +1 -1
  63. package/es/components/collapse/index.d.ts +2 -2
  64. package/es/components/collapse/src/collapse.vue.d.ts +2 -2
  65. package/es/components/color-picker/index.d.ts +157 -151
  66. package/es/components/color-picker/src/color-picker.d.ts +1 -0
  67. package/es/components/color-picker/src/color-picker.mjs +4 -0
  68. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  69. package/es/components/color-picker/src/color-picker.vue.d.ts +157 -151
  70. package/es/components/color-picker/src/color-picker2.mjs +9 -2
  71. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  72. package/es/components/color-picker/src/components/alpha-slider.vue.d.ts +16 -16
  73. package/es/components/date-picker/index.d.ts +2 -2
  74. package/es/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  75. package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
  76. package/es/components/date-picker/src/date-picker-com/basic-month-table.vue.d.ts +1 -1
  77. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +38 -38
  78. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +36 -36
  79. package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +7 -7
  80. package/es/components/date-picker/src/date-picker.d.ts +1 -1
  81. package/es/components/date-picker/src/panel-utils.d.ts +81 -81
  82. package/es/components/descriptions/index.d.ts +3 -3
  83. package/es/components/descriptions/index.mjs +2 -2
  84. package/es/components/descriptions/src/description-item.d.ts +1 -1
  85. package/es/components/descriptions/src/description.mjs +25 -110
  86. package/es/components/descriptions/src/description.mjs.map +1 -1
  87. package/es/components/descriptions/src/description.vue.d.ts +1 -1
  88. package/es/components/descriptions/src/description2.mjs +110 -25
  89. package/es/components/descriptions/src/description2.mjs.map +1 -1
  90. package/es/components/dialog/index.d.ts +2 -2
  91. package/es/components/dialog/index.mjs +2 -2
  92. package/es/components/dialog/src/dialog.mjs +170 -70
  93. package/es/components/dialog/src/dialog.mjs.map +1 -1
  94. package/es/components/dialog/src/dialog.vue.d.ts +2 -2
  95. package/es/components/dialog/src/dialog2.mjs +70 -170
  96. package/es/components/dialog/src/dialog2.mjs.map +1 -1
  97. package/es/components/divider/index.mjs +2 -2
  98. package/es/components/divider/src/divider.mjs +17 -35
  99. package/es/components/divider/src/divider.mjs.map +1 -1
  100. package/es/components/divider/src/divider2.mjs +35 -17
  101. package/es/components/divider/src/divider2.mjs.map +1 -1
  102. package/es/components/drawer/index.d.ts +2 -2
  103. package/es/components/drawer/src/drawer.mjs +1 -1
  104. package/es/components/drawer/src/drawer.vue.d.ts +2 -2
  105. package/es/components/dropdown/index.d.ts +64 -64
  106. package/es/components/dropdown/src/dropdown.mjs +1 -1
  107. package/es/components/dropdown/src/dropdown.vue.d.ts +64 -64
  108. package/es/components/empty/index.d.ts +1 -1
  109. package/es/components/empty/index.mjs +2 -2
  110. package/es/components/empty/src/empty.mjs +56 -11
  111. package/es/components/empty/src/empty.mjs.map +1 -1
  112. package/es/components/empty/src/empty.vue.d.ts +1 -1
  113. package/es/components/empty/src/empty2.mjs +11 -56
  114. package/es/components/empty/src/empty2.mjs.map +1 -1
  115. package/es/components/form/index.mjs +4 -4
  116. package/es/components/form/src/form-item.mjs +316 -43
  117. package/es/components/form/src/form-item.mjs.map +1 -1
  118. package/es/components/form/src/form-item2.mjs +43 -316
  119. package/es/components/form/src/form-item2.mjs.map +1 -1
  120. package/es/components/form/src/form.mjs +150 -53
  121. package/es/components/form/src/form.mjs.map +1 -1
  122. package/es/components/form/src/form2.mjs +53 -150
  123. package/es/components/form/src/form2.mjs.map +1 -1
  124. package/es/components/icon/index.mjs +2 -2
  125. package/es/components/icon/src/icon.mjs +36 -8
  126. package/es/components/icon/src/icon.mjs.map +1 -1
  127. package/es/components/icon/src/icon2.mjs +8 -36
  128. package/es/components/icon/src/icon2.mjs.map +1 -1
  129. package/es/components/image/index.d.ts +7 -7
  130. package/es/components/image/src/image.d.ts +1 -1
  131. package/es/components/image/src/image.vue.d.ts +7 -7
  132. package/es/components/image-viewer/index.d.ts +1 -1
  133. package/es/components/image-viewer/index.mjs +2 -2
  134. package/es/components/image-viewer/src/image-viewer.mjs +405 -35
  135. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  136. package/es/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  137. package/es/components/image-viewer/src/image-viewer2.mjs +35 -405
  138. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  139. package/es/components/index.mjs +36 -36
  140. package/es/components/input/index.d.ts +4 -4
  141. package/es/components/input/src/input.vue.d.ts +4 -4
  142. package/es/components/input-number/index.d.ts +16 -16
  143. package/es/components/input-number/index.mjs +2 -2
  144. package/es/components/input-number/src/input-number.mjs +300 -62
  145. package/es/components/input-number/src/input-number.mjs.map +1 -1
  146. package/es/components/input-number/src/input-number.vue.d.ts +16 -16
  147. package/es/components/input-number/src/input-number2.mjs +62 -300
  148. package/es/components/input-number/src/input-number2.mjs.map +1 -1
  149. package/es/components/link/index.mjs +2 -2
  150. package/es/components/link/src/link.mjs +21 -49
  151. package/es/components/link/src/link.mjs.map +1 -1
  152. package/es/components/link/src/link2.mjs +49 -21
  153. package/es/components/link/src/link2.mjs.map +1 -1
  154. package/es/components/loading/index.d.ts +1 -1
  155. package/es/components/menu/index.d.ts +1 -1
  156. package/es/components/menu/index.mjs +2 -2
  157. package/es/components/menu/src/menu-item-group.mjs +35 -4
  158. package/es/components/menu/src/menu-item-group.mjs.map +1 -1
  159. package/es/components/menu/src/menu-item-group2.mjs +4 -35
  160. package/es/components/menu/src/menu-item-group2.mjs.map +1 -1
  161. package/es/components/menu/src/menu-item2.mjs +1 -1
  162. package/es/components/menu/src/menu.d.ts +1 -1
  163. package/es/components/message/index.mjs +1 -1
  164. package/es/components/message/src/message.mjs +146 -86
  165. package/es/components/message/src/message.mjs.map +1 -1
  166. package/es/components/message/src/message2.mjs +86 -146
  167. package/es/components/message/src/message2.mjs.map +1 -1
  168. package/es/components/message/src/method.mjs +2 -2
  169. package/es/components/notification/index.mjs +1 -1
  170. package/es/components/notification/src/notification.mjs +145 -69
  171. package/es/components/notification/src/notification.mjs.map +1 -1
  172. package/es/components/notification/src/notification.vue.d.ts +1 -1
  173. package/es/components/notification/src/notification2.mjs +69 -145
  174. package/es/components/notification/src/notification2.mjs.map +1 -1
  175. package/es/components/notification/src/notify.mjs +2 -2
  176. package/es/components/page-header/index.mjs +2 -2
  177. package/es/components/page-header/src/page-header.mjs +17 -102
  178. package/es/components/page-header/src/page-header.mjs.map +1 -1
  179. package/es/components/page-header/src/page-header2.mjs +102 -17
  180. package/es/components/page-header/src/page-header2.mjs.map +1 -1
  181. package/es/components/pagination/src/components/jumper.mjs +9 -59
  182. package/es/components/pagination/src/components/jumper.mjs.map +1 -1
  183. package/es/components/pagination/src/components/jumper.vue.d.ts +4 -4
  184. package/es/components/pagination/src/components/jumper2.mjs +59 -9
  185. package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
  186. package/es/components/pagination/src/components/next.mjs +34 -19
  187. package/es/components/pagination/src/components/next.mjs.map +1 -1
  188. package/es/components/pagination/src/components/next2.mjs +19 -34
  189. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  190. package/es/components/pagination/src/components/pager.mjs +17 -207
  191. package/es/components/pagination/src/components/pager.mjs.map +1 -1
  192. package/es/components/pagination/src/components/pager2.mjs +207 -17
  193. package/es/components/pagination/src/components/pager2.mjs.map +1 -1
  194. package/es/components/pagination/src/components/sizes.mjs +22 -68
  195. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  196. package/es/components/pagination/src/components/sizes.vue.d.ts +65 -65
  197. package/es/components/pagination/src/components/sizes2.mjs +68 -22
  198. package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
  199. package/es/components/pagination/src/pagination.mjs +4 -4
  200. package/es/components/popconfirm/index.d.ts +96 -96
  201. package/es/components/popconfirm/index.mjs +2 -2
  202. package/es/components/popconfirm/src/popconfirm.mjs +111 -49
  203. package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
  204. package/es/components/popconfirm/src/popconfirm.vue.d.ts +96 -96
  205. package/es/components/popconfirm/src/popconfirm2.mjs +49 -111
  206. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  207. package/es/components/popover/index.d.ts +105 -105
  208. package/es/components/popover/index.mjs +2 -2
  209. package/es/components/popover/src/popover.mjs +66 -111
  210. package/es/components/popover/src/popover.mjs.map +1 -1
  211. package/es/components/popover/src/popover.vue.d.ts +105 -105
  212. package/es/components/popover/src/popover2.mjs +111 -66
  213. package/es/components/popover/src/popover2.mjs.map +1 -1
  214. package/es/components/popper/index.d.ts +5 -5
  215. package/es/components/popper/index.mjs +6 -6
  216. package/es/components/popper/src/content.d.ts +4 -4
  217. package/es/components/popper/src/content.mjs +94 -212
  218. package/es/components/popper/src/content.mjs.map +1 -1
  219. package/es/components/popper/src/content.vue.d.ts +4 -4
  220. package/es/components/popper/src/content2.mjs +212 -94
  221. package/es/components/popper/src/content2.mjs.map +1 -1
  222. package/es/components/popper/src/popper.d.ts +2 -2
  223. package/es/components/popper/src/popper.mjs +33 -25
  224. package/es/components/popper/src/popper.mjs.map +1 -1
  225. package/es/components/popper/src/popper.vue.d.ts +5 -5
  226. package/es/components/popper/src/popper2.mjs +25 -33
  227. package/es/components/popper/src/popper2.mjs.map +1 -1
  228. package/es/components/popper/src/trigger.mjs +31 -120
  229. package/es/components/popper/src/trigger.mjs.map +1 -1
  230. package/es/components/popper/src/trigger.vue.d.ts +1 -1
  231. package/es/components/popper/src/trigger2.mjs +120 -31
  232. package/es/components/popper/src/trigger2.mjs.map +1 -1
  233. package/es/components/popper/src/utils.d.ts +1 -1
  234. package/es/components/radio/index.d.ts +6 -6
  235. package/es/components/radio/src/radio-group.vue.d.ts +2 -2
  236. package/es/components/radio/src/radio.vue.d.ts +2 -2
  237. package/es/components/rate/index.d.ts +2 -2
  238. package/es/components/rate/index.mjs +2 -2
  239. package/es/components/rate/src/rate.mjs +256 -98
  240. package/es/components/rate/src/rate.mjs.map +1 -1
  241. package/es/components/rate/src/rate.vue.d.ts +2 -2
  242. package/es/components/rate/src/rate2.mjs +98 -256
  243. package/es/components/rate/src/rate2.mjs.map +1 -1
  244. package/es/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +1 -1
  245. package/es/components/row/index.d.ts +4 -4
  246. package/es/components/row/src/row.d.ts +1 -1
  247. package/es/components/row/src/row.vue.d.ts +4 -4
  248. package/es/components/scrollbar/index.d.ts +1 -1
  249. package/es/components/scrollbar/index.mjs +1 -1
  250. package/es/components/scrollbar/src/bar.mjs +17 -42
  251. package/es/components/scrollbar/src/bar.mjs.map +1 -1
  252. package/es/components/scrollbar/src/bar2.mjs +42 -17
  253. package/es/components/scrollbar/src/bar2.mjs.map +1 -1
  254. package/es/components/scrollbar/src/scrollbar.mjs +1 -1
  255. package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  256. package/es/components/scrollbar/src/thumb.mjs +131 -11
  257. package/es/components/scrollbar/src/thumb.mjs.map +1 -1
  258. package/es/components/scrollbar/src/thumb2.mjs +11 -131
  259. package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
  260. package/es/components/select/index.d.ts +65 -65
  261. package/es/components/select/src/select.vue.d.ts +65 -65
  262. package/es/components/select/src/useSelect.d.ts +63 -63
  263. package/es/components/select-v2/index.d.ts +130 -130
  264. package/es/components/select-v2/src/select.vue.d.ts +65 -65
  265. package/es/components/select-v2/src/useSelect.d.ts +63 -63
  266. package/es/components/skeleton/index.d.ts +9 -9
  267. package/es/components/skeleton/index.mjs +2 -2
  268. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  269. package/es/components/skeleton/src/skeleton-item.vue.d.ts +3 -3
  270. package/es/components/skeleton/src/skeleton.mjs +49 -22
  271. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  272. package/es/components/skeleton/src/skeleton.vue.d.ts +3 -3
  273. package/es/components/skeleton/src/skeleton2.mjs +22 -49
  274. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  275. package/es/components/slider/index.d.ts +178 -178
  276. package/es/components/slider/index.mjs +2 -2
  277. package/es/components/slider/src/button.mjs +93 -21
  278. package/es/components/slider/src/button.mjs.map +1 -1
  279. package/es/components/slider/src/button.vue.d.ts +32 -32
  280. package/es/components/slider/src/button2.mjs +21 -93
  281. package/es/components/slider/src/button2.mjs.map +1 -1
  282. package/es/components/slider/src/composables/use-slide.d.ts +128 -128
  283. package/es/components/slider/src/slider.mjs +91 -233
  284. package/es/components/slider/src/slider.mjs.map +1 -1
  285. package/es/components/slider/src/slider.vue.d.ts +178 -178
  286. package/es/components/slider/src/slider2.mjs +233 -91
  287. package/es/components/slider/src/slider2.mjs.map +1 -1
  288. package/es/components/space/index.d.ts +2 -2
  289. package/es/components/space/src/space.d.ts +2 -2
  290. package/es/components/steps/index.d.ts +1 -1
  291. package/es/components/steps/src/steps.vue.d.ts +1 -1
  292. package/es/components/switch/index.d.ts +3 -3
  293. package/es/components/switch/src/switch.vue.d.ts +3 -3
  294. package/es/components/table/index.d.ts +2 -2
  295. package/es/components/table/src/filter-panel.vue.d.ts +63 -63
  296. package/es/components/table/src/table.vue.d.ts +2 -2
  297. package/es/components/table/src/util.d.ts +9 -9
  298. package/es/components/tabs/index.mjs +1 -1
  299. package/es/components/tabs/src/tab-bar.mjs +7 -81
  300. package/es/components/tabs/src/tab-bar.mjs.map +1 -1
  301. package/es/components/tabs/src/tab-bar2.mjs +81 -7
  302. package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
  303. package/es/components/tabs/src/tab-nav.mjs +1 -1
  304. package/es/components/time-picker/index.d.ts +2 -2
  305. package/es/components/time-picker/src/common/picker.vue.d.ts +102 -102
  306. package/es/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  307. package/es/components/time-picker/src/props/basic-time-spinner.d.ts +1 -1
  308. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +17 -17
  309. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +23 -23
  310. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +23 -23
  311. package/es/components/time-picker/src/time-picker.d.ts +1 -1
  312. package/es/components/time-select/index.d.ts +268 -268
  313. package/es/components/time-select/src/time-select.vue.d.ts +134 -134
  314. package/es/components/tooltip/index.d.ts +32 -32
  315. package/es/components/tooltip/index.mjs +3 -3
  316. package/es/components/tooltip/src/content.d.ts +1 -1
  317. package/es/components/tooltip/src/content.mjs +1 -1
  318. package/es/components/tooltip/src/content.vue.d.ts +12 -12
  319. package/es/components/tooltip/src/content2.mjs +1 -1
  320. package/es/components/tooltip/src/tooltip.d.ts +2 -2
  321. package/es/components/tooltip/src/tooltip.mjs +170 -31
  322. package/es/components/tooltip/src/tooltip.mjs.map +1 -1
  323. package/es/components/tooltip/src/tooltip.vue.d.ts +32 -32
  324. package/es/components/tooltip/src/tooltip2.mjs +31 -170
  325. package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
  326. package/es/components/tooltip/src/trigger.mjs +16 -74
  327. package/es/components/tooltip/src/trigger.mjs.map +1 -1
  328. package/es/components/tooltip/src/trigger.vue.d.ts +2 -2
  329. package/es/components/tooltip/src/trigger2.mjs +74 -16
  330. package/es/components/tooltip/src/trigger2.mjs.map +1 -1
  331. package/es/components/tooltip-v2/index.d.ts +35 -35
  332. package/es/components/tooltip-v2/index.mjs +3 -3
  333. package/es/components/tooltip-v2/src/arrow.vue.d.ts +1 -1
  334. package/es/components/tooltip-v2/src/content.d.ts +1 -1
  335. package/es/components/tooltip-v2/src/content.vue.d.ts +5 -5
  336. package/es/components/tooltip-v2/src/root.mjs +81 -17
  337. package/es/components/tooltip-v2/src/root.mjs.map +1 -1
  338. package/es/components/tooltip-v2/src/root2.mjs +17 -81
  339. package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
  340. package/es/components/tooltip-v2/src/tooltip.d.ts +1 -1
  341. package/es/components/tooltip-v2/src/tooltip.mjs +73 -20
  342. package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
  343. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +35 -35
  344. package/es/components/tooltip-v2/src/tooltip2.mjs +20 -73
  345. package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
  346. package/es/components/transfer/index.d.ts +62 -62
  347. package/es/components/transfer/src/composables/use-check.mjs +1 -1
  348. package/es/components/transfer/src/transfer-panel.mjs +19 -131
  349. package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
  350. package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  351. package/es/components/transfer/src/transfer-panel2.mjs +131 -19
  352. package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
  353. package/es/components/transfer/src/transfer.mjs +1 -1
  354. package/es/components/transfer/src/transfer.vue.d.ts +62 -62
  355. package/es/components/tree/index.d.ts +4 -4
  356. package/es/components/tree/src/tree-node.vue.d.ts +1 -1
  357. package/es/components/tree/src/tree.vue.d.ts +2 -2
  358. package/es/components/tree-v2/index.d.ts +8 -8
  359. package/es/components/tree-v2/src/tree-node.vue.d.ts +6 -6
  360. package/es/components/tree-v2/src/tree.vue.d.ts +8 -8
  361. package/es/components/upload/index.d.ts +5 -5
  362. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  363. package/es/components/upload/src/upload.vue.d.ts +5 -5
  364. package/es/components/virtual-list/src/builders/build-grid.d.ts +2 -2
  365. package/es/components/virtual-list/src/builders/build-list.d.ts +2 -2
  366. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +2 -2
  367. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
  368. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +2 -2
  369. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
  370. package/es/index.mjs +36 -36
  371. package/es/utils/vue/vnode.d.ts +6 -6
  372. package/lib/components/affix/index.d.ts +1 -1
  373. package/lib/components/affix/index.js +2 -2
  374. package/lib/components/affix/src/affix.js +27 -117
  375. package/lib/components/affix/src/affix.js.map +1 -1
  376. package/lib/components/affix/src/affix.vue.d.ts +1 -1
  377. package/lib/components/affix/src/affix2.js +117 -27
  378. package/lib/components/affix/src/affix2.js.map +1 -1
  379. package/lib/components/autocomplete/index.d.ts +116 -116
  380. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +116 -116
  381. package/lib/components/avatar/index.js +2 -2
  382. package/lib/components/avatar/src/avatar.js +33 -67
  383. package/lib/components/avatar/src/avatar.js.map +1 -1
  384. package/lib/components/avatar/src/avatar2.js +67 -33
  385. package/lib/components/avatar/src/avatar2.js.map +1 -1
  386. package/lib/components/backtop/index.js +2 -2
  387. package/lib/components/backtop/src/backtop.js +54 -22
  388. package/lib/components/backtop/src/backtop.js.map +1 -1
  389. package/lib/components/backtop/src/backtop2.js +22 -54
  390. package/lib/components/backtop/src/backtop2.js.map +1 -1
  391. package/lib/components/button/index.js +2 -2
  392. package/lib/components/button/src/button-group2.js +1 -1
  393. package/lib/components/button/src/button.js +78 -57
  394. package/lib/components/button/src/button.js.map +1 -1
  395. package/lib/components/button/src/button2.js +57 -78
  396. package/lib/components/button/src/button2.js.map +1 -1
  397. package/lib/components/calendar/index.js +2 -2
  398. package/lib/components/calendar/src/calendar.js +131 -19
  399. package/lib/components/calendar/src/calendar.js.map +1 -1
  400. package/lib/components/calendar/src/calendar2.js +19 -131
  401. package/lib/components/calendar/src/calendar2.js.map +1 -1
  402. package/lib/components/calendar/src/date-table.js +37 -87
  403. package/lib/components/calendar/src/date-table.js.map +1 -1
  404. package/lib/components/calendar/src/date-table2.js +87 -37
  405. package/lib/components/calendar/src/date-table2.js.map +1 -1
  406. package/lib/components/calendar/src/use-date-table.js +1 -1
  407. package/lib/components/carousel/index.d.ts +2 -2
  408. package/lib/components/carousel/index.js +2 -2
  409. package/lib/components/carousel/src/carousel-item.js +63 -8
  410. package/lib/components/carousel/src/carousel-item.js.map +1 -1
  411. package/lib/components/carousel/src/carousel-item2.js +8 -63
  412. package/lib/components/carousel/src/carousel-item2.js.map +1 -1
  413. package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
  414. package/lib/components/cascader/index.d.ts +168 -168
  415. package/lib/components/cascader/src/index.vue.d.ts +84 -84
  416. package/lib/components/cascader-panel/index.d.ts +4 -4
  417. package/lib/components/cascader-panel/src/index.vue.d.ts +2 -2
  418. package/lib/components/checkbox/index.d.ts +10 -10
  419. package/lib/components/checkbox/index.js +2 -2
  420. package/lib/components/checkbox/src/checkbox-button.js +1 -1
  421. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
  422. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
  423. package/lib/components/checkbox/src/checkbox.js +55 -117
  424. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  425. package/lib/components/checkbox/src/checkbox.vue.d.ts +2 -2
  426. package/lib/components/checkbox/src/checkbox2.js +117 -55
  427. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  428. package/lib/components/col/index.js +2 -2
  429. package/lib/components/col/src/col.js +66 -43
  430. package/lib/components/col/src/col.js.map +1 -1
  431. package/lib/components/col/src/col2.js +43 -66
  432. package/lib/components/col/src/col2.js.map +1 -1
  433. package/lib/components/collapse/index.d.ts +2 -2
  434. package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
  435. package/lib/components/color-picker/index.d.ts +157 -151
  436. package/lib/components/color-picker/src/color-picker.d.ts +1 -0
  437. package/lib/components/color-picker/src/color-picker.js +4 -0
  438. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  439. package/lib/components/color-picker/src/color-picker.vue.d.ts +157 -151
  440. package/lib/components/color-picker/src/color-picker2.js +9 -2
  441. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  442. package/lib/components/color-picker/src/components/alpha-slider.vue.d.ts +16 -16
  443. package/lib/components/date-picker/index.d.ts +2 -2
  444. package/lib/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  445. package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
  446. package/lib/components/date-picker/src/date-picker-com/basic-month-table.vue.d.ts +1 -1
  447. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +38 -38
  448. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +36 -36
  449. package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +7 -7
  450. package/lib/components/date-picker/src/date-picker.d.ts +1 -1
  451. package/lib/components/date-picker/src/panel-utils.d.ts +81 -81
  452. package/lib/components/descriptions/index.d.ts +3 -3
  453. package/lib/components/descriptions/index.js +2 -2
  454. package/lib/components/descriptions/src/description-item.d.ts +1 -1
  455. package/lib/components/descriptions/src/description.js +25 -110
  456. package/lib/components/descriptions/src/description.js.map +1 -1
  457. package/lib/components/descriptions/src/description.vue.d.ts +1 -1
  458. package/lib/components/descriptions/src/description2.js +110 -25
  459. package/lib/components/descriptions/src/description2.js.map +1 -1
  460. package/lib/components/dialog/index.d.ts +2 -2
  461. package/lib/components/dialog/index.js +2 -2
  462. package/lib/components/dialog/src/dialog.js +170 -71
  463. package/lib/components/dialog/src/dialog.js.map +1 -1
  464. package/lib/components/dialog/src/dialog.vue.d.ts +2 -2
  465. package/lib/components/dialog/src/dialog2.js +71 -170
  466. package/lib/components/dialog/src/dialog2.js.map +1 -1
  467. package/lib/components/divider/index.js +2 -2
  468. package/lib/components/divider/src/divider.js +17 -35
  469. package/lib/components/divider/src/divider.js.map +1 -1
  470. package/lib/components/divider/src/divider2.js +35 -17
  471. package/lib/components/divider/src/divider2.js.map +1 -1
  472. package/lib/components/drawer/index.d.ts +2 -2
  473. package/lib/components/drawer/src/drawer.js +1 -1
  474. package/lib/components/drawer/src/drawer.vue.d.ts +2 -2
  475. package/lib/components/dropdown/index.d.ts +64 -64
  476. package/lib/components/dropdown/src/dropdown.js +1 -1
  477. package/lib/components/dropdown/src/dropdown.vue.d.ts +64 -64
  478. package/lib/components/empty/index.d.ts +1 -1
  479. package/lib/components/empty/index.js +2 -2
  480. package/lib/components/empty/src/empty.js +56 -11
  481. package/lib/components/empty/src/empty.js.map +1 -1
  482. package/lib/components/empty/src/empty.vue.d.ts +1 -1
  483. package/lib/components/empty/src/empty2.js +11 -56
  484. package/lib/components/empty/src/empty2.js.map +1 -1
  485. package/lib/components/form/index.js +4 -4
  486. package/lib/components/form/src/form-item.js +320 -44
  487. package/lib/components/form/src/form-item.js.map +1 -1
  488. package/lib/components/form/src/form-item2.js +44 -320
  489. package/lib/components/form/src/form-item2.js.map +1 -1
  490. package/lib/components/form/src/form.js +149 -53
  491. package/lib/components/form/src/form.js.map +1 -1
  492. package/lib/components/form/src/form2.js +53 -149
  493. package/lib/components/form/src/form2.js.map +1 -1
  494. package/lib/components/icon/index.js +2 -2
  495. package/lib/components/icon/src/icon.js +36 -8
  496. package/lib/components/icon/src/icon.js.map +1 -1
  497. package/lib/components/icon/src/icon2.js +8 -36
  498. package/lib/components/icon/src/icon2.js.map +1 -1
  499. package/lib/components/image/index.d.ts +7 -7
  500. package/lib/components/image/src/image.d.ts +1 -1
  501. package/lib/components/image/src/image.vue.d.ts +7 -7
  502. package/lib/components/image-viewer/index.d.ts +1 -1
  503. package/lib/components/image-viewer/index.js +2 -2
  504. package/lib/components/image-viewer/src/image-viewer.js +405 -36
  505. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  506. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  507. package/lib/components/image-viewer/src/image-viewer2.js +36 -405
  508. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  509. package/lib/components/index.js +36 -36
  510. package/lib/components/input/index.d.ts +4 -4
  511. package/lib/components/input/src/input.vue.d.ts +4 -4
  512. package/lib/components/input-number/index.d.ts +16 -16
  513. package/lib/components/input-number/index.js +2 -2
  514. package/lib/components/input-number/src/input-number.js +299 -62
  515. package/lib/components/input-number/src/input-number.js.map +1 -1
  516. package/lib/components/input-number/src/input-number.vue.d.ts +16 -16
  517. package/lib/components/input-number/src/input-number2.js +62 -299
  518. package/lib/components/input-number/src/input-number2.js.map +1 -1
  519. package/lib/components/link/index.js +2 -2
  520. package/lib/components/link/src/link.js +22 -49
  521. package/lib/components/link/src/link.js.map +1 -1
  522. package/lib/components/link/src/link2.js +49 -22
  523. package/lib/components/link/src/link2.js.map +1 -1
  524. package/lib/components/loading/index.d.ts +1 -1
  525. package/lib/components/menu/index.d.ts +1 -1
  526. package/lib/components/menu/index.js +2 -2
  527. package/lib/components/menu/src/menu-item-group.js +35 -4
  528. package/lib/components/menu/src/menu-item-group.js.map +1 -1
  529. package/lib/components/menu/src/menu-item-group2.js +4 -35
  530. package/lib/components/menu/src/menu-item-group2.js.map +1 -1
  531. package/lib/components/menu/src/menu-item2.js +1 -1
  532. package/lib/components/menu/src/menu.d.ts +1 -1
  533. package/lib/components/message/index.js +1 -1
  534. package/lib/components/message/src/message.js +144 -87
  535. package/lib/components/message/src/message.js.map +1 -1
  536. package/lib/components/message/src/message2.js +87 -144
  537. package/lib/components/message/src/message2.js.map +1 -1
  538. package/lib/components/message/src/method.js +2 -2
  539. package/lib/components/notification/index.js +1 -1
  540. package/lib/components/notification/src/notification.js +144 -70
  541. package/lib/components/notification/src/notification.js.map +1 -1
  542. package/lib/components/notification/src/notification.vue.d.ts +1 -1
  543. package/lib/components/notification/src/notification2.js +70 -144
  544. package/lib/components/notification/src/notification2.js.map +1 -1
  545. package/lib/components/notification/src/notify.js +2 -2
  546. package/lib/components/page-header/index.js +2 -2
  547. package/lib/components/page-header/src/page-header.js +18 -102
  548. package/lib/components/page-header/src/page-header.js.map +1 -1
  549. package/lib/components/page-header/src/page-header2.js +102 -18
  550. package/lib/components/page-header/src/page-header2.js.map +1 -1
  551. package/lib/components/pagination/src/components/jumper.js +9 -59
  552. package/lib/components/pagination/src/components/jumper.js.map +1 -1
  553. package/lib/components/pagination/src/components/jumper.vue.d.ts +4 -4
  554. package/lib/components/pagination/src/components/jumper2.js +59 -9
  555. package/lib/components/pagination/src/components/jumper2.js.map +1 -1
  556. package/lib/components/pagination/src/components/next.js +34 -19
  557. package/lib/components/pagination/src/components/next.js.map +1 -1
  558. package/lib/components/pagination/src/components/next2.js +19 -34
  559. package/lib/components/pagination/src/components/next2.js.map +1 -1
  560. package/lib/components/pagination/src/components/pager.js +17 -207
  561. package/lib/components/pagination/src/components/pager.js.map +1 -1
  562. package/lib/components/pagination/src/components/pager2.js +207 -17
  563. package/lib/components/pagination/src/components/pager2.js.map +1 -1
  564. package/lib/components/pagination/src/components/sizes.js +22 -68
  565. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  566. package/lib/components/pagination/src/components/sizes.vue.d.ts +65 -65
  567. package/lib/components/pagination/src/components/sizes2.js +68 -22
  568. package/lib/components/pagination/src/components/sizes2.js.map +1 -1
  569. package/lib/components/pagination/src/pagination.js +4 -4
  570. package/lib/components/popconfirm/index.d.ts +96 -96
  571. package/lib/components/popconfirm/index.js +2 -2
  572. package/lib/components/popconfirm/src/popconfirm.js +111 -49
  573. package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
  574. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +96 -96
  575. package/lib/components/popconfirm/src/popconfirm2.js +49 -111
  576. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  577. package/lib/components/popover/index.d.ts +105 -105
  578. package/lib/components/popover/index.js +2 -2
  579. package/lib/components/popover/src/popover.js +67 -111
  580. package/lib/components/popover/src/popover.js.map +1 -1
  581. package/lib/components/popover/src/popover.vue.d.ts +105 -105
  582. package/lib/components/popover/src/popover2.js +111 -67
  583. package/lib/components/popover/src/popover2.js.map +1 -1
  584. package/lib/components/popper/index.d.ts +5 -5
  585. package/lib/components/popper/index.js +6 -6
  586. package/lib/components/popper/src/content.d.ts +4 -4
  587. package/lib/components/popper/src/content.js +99 -212
  588. package/lib/components/popper/src/content.js.map +1 -1
  589. package/lib/components/popper/src/content.vue.d.ts +4 -4
  590. package/lib/components/popper/src/content2.js +212 -99
  591. package/lib/components/popper/src/content2.js.map +1 -1
  592. package/lib/components/popper/src/popper.d.ts +2 -2
  593. package/lib/components/popper/src/popper.js +33 -28
  594. package/lib/components/popper/src/popper.js.map +1 -1
  595. package/lib/components/popper/src/popper.vue.d.ts +5 -5
  596. package/lib/components/popper/src/popper2.js +28 -33
  597. package/lib/components/popper/src/popper2.js.map +1 -1
  598. package/lib/components/popper/src/trigger.js +32 -120
  599. package/lib/components/popper/src/trigger.js.map +1 -1
  600. package/lib/components/popper/src/trigger.vue.d.ts +1 -1
  601. package/lib/components/popper/src/trigger2.js +120 -32
  602. package/lib/components/popper/src/trigger2.js.map +1 -1
  603. package/lib/components/popper/src/utils.d.ts +1 -1
  604. package/lib/components/radio/index.d.ts +6 -6
  605. package/lib/components/radio/src/radio-group.vue.d.ts +2 -2
  606. package/lib/components/radio/src/radio.vue.d.ts +2 -2
  607. package/lib/components/rate/index.d.ts +2 -2
  608. package/lib/components/rate/index.js +2 -2
  609. package/lib/components/rate/src/rate.js +255 -98
  610. package/lib/components/rate/src/rate.js.map +1 -1
  611. package/lib/components/rate/src/rate.vue.d.ts +2 -2
  612. package/lib/components/rate/src/rate2.js +98 -255
  613. package/lib/components/rate/src/rate2.js.map +1 -1
  614. package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +1 -1
  615. package/lib/components/row/index.d.ts +4 -4
  616. package/lib/components/row/src/row.d.ts +1 -1
  617. package/lib/components/row/src/row.vue.d.ts +4 -4
  618. package/lib/components/scrollbar/index.d.ts +1 -1
  619. package/lib/components/scrollbar/index.js +1 -1
  620. package/lib/components/scrollbar/src/bar.js +17 -42
  621. package/lib/components/scrollbar/src/bar.js.map +1 -1
  622. package/lib/components/scrollbar/src/bar2.js +42 -17
  623. package/lib/components/scrollbar/src/bar2.js.map +1 -1
  624. package/lib/components/scrollbar/src/scrollbar.js +1 -1
  625. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  626. package/lib/components/scrollbar/src/thumb.js +131 -11
  627. package/lib/components/scrollbar/src/thumb.js.map +1 -1
  628. package/lib/components/scrollbar/src/thumb2.js +11 -131
  629. package/lib/components/scrollbar/src/thumb2.js.map +1 -1
  630. package/lib/components/select/index.d.ts +65 -65
  631. package/lib/components/select/src/select.vue.d.ts +65 -65
  632. package/lib/components/select/src/useSelect.d.ts +63 -63
  633. package/lib/components/select-v2/index.d.ts +130 -130
  634. package/lib/components/select-v2/src/select.vue.d.ts +65 -65
  635. package/lib/components/select-v2/src/useSelect.d.ts +63 -63
  636. package/lib/components/skeleton/index.d.ts +9 -9
  637. package/lib/components/skeleton/index.js +2 -2
  638. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  639. package/lib/components/skeleton/src/skeleton-item.vue.d.ts +3 -3
  640. package/lib/components/skeleton/src/skeleton.js +49 -22
  641. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  642. package/lib/components/skeleton/src/skeleton.vue.d.ts +3 -3
  643. package/lib/components/skeleton/src/skeleton2.js +22 -49
  644. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  645. package/lib/components/slider/index.d.ts +178 -178
  646. package/lib/components/slider/index.js +2 -2
  647. package/lib/components/slider/src/button.js +93 -22
  648. package/lib/components/slider/src/button.js.map +1 -1
  649. package/lib/components/slider/src/button.vue.d.ts +32 -32
  650. package/lib/components/slider/src/button2.js +22 -93
  651. package/lib/components/slider/src/button2.js.map +1 -1
  652. package/lib/components/slider/src/composables/use-slide.d.ts +128 -128
  653. package/lib/components/slider/src/slider.js +92 -233
  654. package/lib/components/slider/src/slider.js.map +1 -1
  655. package/lib/components/slider/src/slider.vue.d.ts +178 -178
  656. package/lib/components/slider/src/slider2.js +233 -92
  657. package/lib/components/slider/src/slider2.js.map +1 -1
  658. package/lib/components/space/index.d.ts +2 -2
  659. package/lib/components/space/src/space.d.ts +2 -2
  660. package/lib/components/steps/index.d.ts +1 -1
  661. package/lib/components/steps/src/steps.vue.d.ts +1 -1
  662. package/lib/components/switch/index.d.ts +3 -3
  663. package/lib/components/switch/src/switch.vue.d.ts +3 -3
  664. package/lib/components/table/index.d.ts +2 -2
  665. package/lib/components/table/src/filter-panel.vue.d.ts +63 -63
  666. package/lib/components/table/src/table.vue.d.ts +2 -2
  667. package/lib/components/table/src/util.d.ts +9 -9
  668. package/lib/components/tabs/index.js +1 -1
  669. package/lib/components/tabs/src/tab-bar.js +7 -81
  670. package/lib/components/tabs/src/tab-bar.js.map +1 -1
  671. package/lib/components/tabs/src/tab-bar2.js +81 -7
  672. package/lib/components/tabs/src/tab-bar2.js.map +1 -1
  673. package/lib/components/tabs/src/tab-nav.js +1 -1
  674. package/lib/components/time-picker/index.d.ts +2 -2
  675. package/lib/components/time-picker/src/common/picker.vue.d.ts +102 -102
  676. package/lib/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  677. package/lib/components/time-picker/src/props/basic-time-spinner.d.ts +1 -1
  678. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +17 -17
  679. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +23 -23
  680. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +23 -23
  681. package/lib/components/time-picker/src/time-picker.d.ts +1 -1
  682. package/lib/components/time-select/index.d.ts +268 -268
  683. package/lib/components/time-select/src/time-select.vue.d.ts +134 -134
  684. package/lib/components/tooltip/index.d.ts +32 -32
  685. package/lib/components/tooltip/index.js +3 -3
  686. package/lib/components/tooltip/src/content.d.ts +1 -1
  687. package/lib/components/tooltip/src/content.js +1 -1
  688. package/lib/components/tooltip/src/content.vue.d.ts +12 -12
  689. package/lib/components/tooltip/src/content2.js +1 -1
  690. package/lib/components/tooltip/src/tooltip.d.ts +2 -2
  691. package/lib/components/tooltip/src/tooltip.js +169 -34
  692. package/lib/components/tooltip/src/tooltip.js.map +1 -1
  693. package/lib/components/tooltip/src/tooltip.vue.d.ts +32 -32
  694. package/lib/components/tooltip/src/tooltip2.js +34 -169
  695. package/lib/components/tooltip/src/tooltip2.js.map +1 -1
  696. package/lib/components/tooltip/src/trigger.js +16 -74
  697. package/lib/components/tooltip/src/trigger.js.map +1 -1
  698. package/lib/components/tooltip/src/trigger.vue.d.ts +2 -2
  699. package/lib/components/tooltip/src/trigger2.js +74 -16
  700. package/lib/components/tooltip/src/trigger2.js.map +1 -1
  701. package/lib/components/tooltip-v2/index.d.ts +35 -35
  702. package/lib/components/tooltip-v2/index.js +3 -3
  703. package/lib/components/tooltip-v2/src/arrow.vue.d.ts +1 -1
  704. package/lib/components/tooltip-v2/src/content.d.ts +1 -1
  705. package/lib/components/tooltip-v2/src/content.vue.d.ts +5 -5
  706. package/lib/components/tooltip-v2/src/root.js +81 -17
  707. package/lib/components/tooltip-v2/src/root.js.map +1 -1
  708. package/lib/components/tooltip-v2/src/root2.js +17 -81
  709. package/lib/components/tooltip-v2/src/root2.js.map +1 -1
  710. package/lib/components/tooltip-v2/src/tooltip.d.ts +1 -1
  711. package/lib/components/tooltip-v2/src/tooltip.js +73 -20
  712. package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
  713. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +35 -35
  714. package/lib/components/tooltip-v2/src/tooltip2.js +20 -73
  715. package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
  716. package/lib/components/transfer/index.d.ts +62 -62
  717. package/lib/components/transfer/src/composables/use-check.js +1 -1
  718. package/lib/components/transfer/src/transfer-panel.js +21 -131
  719. package/lib/components/transfer/src/transfer-panel.js.map +1 -1
  720. package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  721. package/lib/components/transfer/src/transfer-panel2.js +131 -21
  722. package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
  723. package/lib/components/transfer/src/transfer.js +1 -1
  724. package/lib/components/transfer/src/transfer.vue.d.ts +62 -62
  725. package/lib/components/tree/index.d.ts +4 -4
  726. package/lib/components/tree/src/tree-node.vue.d.ts +1 -1
  727. package/lib/components/tree/src/tree.vue.d.ts +2 -2
  728. package/lib/components/tree-v2/index.d.ts +8 -8
  729. package/lib/components/tree-v2/src/tree-node.vue.d.ts +6 -6
  730. package/lib/components/tree-v2/src/tree.vue.d.ts +8 -8
  731. package/lib/components/upload/index.d.ts +5 -5
  732. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  733. package/lib/components/upload/src/upload.vue.d.ts +5 -5
  734. package/lib/components/virtual-list/src/builders/build-grid.d.ts +2 -2
  735. package/lib/components/virtual-list/src/builders/build-list.d.ts +2 -2
  736. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +2 -2
  737. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
  738. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +2 -2
  739. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
  740. package/lib/index.js +36 -36
  741. package/lib/utils/vue/vnode.d.ts +6 -6
  742. package/package.json +1 -1
  743. package/theme-chalk/el-checkbox.css +1 -1
  744. package/theme-chalk/el-color-picker.css +1 -1
  745. package/theme-chalk/el-dropdown.css +1 -1
  746. package/theme-chalk/el-radio.css +1 -1
  747. package/theme-chalk/index.css +1 -1
  748. package/theme-chalk/src/checkbox.scss +76 -1
  749. package/theme-chalk/src/color-picker.scss +53 -4
  750. package/theme-chalk/src/dropdown.scss +2 -3
  751. package/theme-chalk/src/radio.scss +61 -26
@@ -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 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;
220
+ readonly open?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
221
+ 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
222
  readonly width?: number | undefined;
223
+ readonly offset?: number | undefined;
224
+ 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>;
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 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;
251
+ readonly open?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
252
+ 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
253
  readonly width?: number | undefined;
254
+ readonly offset?: number | undefined;
255
+ 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>;
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 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;
282
+ readonly open?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
283
+ 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
284
  readonly width?: number | undefined;
285
+ readonly offset?: number | undefined;
286
+ 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>;
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 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;
313
+ readonly open?: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
314
+ 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
315
  readonly width?: number | undefined;
316
+ readonly offset?: number | undefined;
317
+ 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>;
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,13 +610,13 @@ 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
619
  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
620
  nowrap: boolean;
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>;
@@ -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 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>;
861
+ readonly open: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
862
+ 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
863
  readonly width: number;
864
+ readonly offset: number;
865
+ 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>;
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;
@@ -1,9 +1,9 @@
1
1
  import '../../utils/index.mjs';
2
- import TooltipV2 from './src/tooltip2.mjs';
2
+ import TooltipV2 from './src/tooltip.mjs';
3
3
  export { tooltipV2ArrowProps, tooltipV2ArrowSpecialProps } from './src/arrow2.mjs';
4
4
  export { tooltipV2ContentProps } from './src/content.mjs';
5
- export { tooltipV2RootProps } from './src/root.mjs';
6
- export { tooltipV2Props } from './src/tooltip.mjs';
5
+ export { tooltipV2RootProps } from './src/root2.mjs';
6
+ export { tooltipV2Props } from './src/tooltip2.mjs';
7
7
  export { tooltipV2TriggerProps } from './src/trigger.mjs';
8
8
  import { withInstall } from '../../utils/vue/install.mjs';
9
9
 
@@ -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,13 +127,13 @@ 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
136
  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
137
  nowrap: boolean;
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>;
@@ -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
@@ -1 +1 @@
1
- {"version":3,"file":"root.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/root.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\n\ntype StateUpdater = (state: boolean) => void\n\nexport const tooltipV2RootProps = buildProps({\n delayDuration: {\n type: Number,\n default: 300,\n },\n defaultOpen: Boolean,\n open: {\n type: Boolean,\n default: undefined,\n },\n onOpenChange: {\n type: definePropType<StateUpdater>(Function),\n },\n 'onUpdate:open': {\n type: definePropType<StateUpdater>(Function),\n },\n} as const)\n\nexport type TooltipV2RootProps = ExtractPropTypes<typeof tooltipV2RootProps>\n"],"names":[],"mappings":";;;AACY,MAAC,kBAAkB,GAAG,UAAU,CAAC;AAC7C,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,WAAW,EAAE,OAAO;AACtB,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"root.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/root.vue"],"sourcesContent":["<template>\n <slot :open=\"open\" />\n</template>\n\n<script setup lang=\"ts\">\nimport {\n computed,\n onBeforeUnmount,\n onMounted,\n provide,\n ref,\n unref,\n watch,\n} from 'vue'\nimport { useTimeoutFn } from '@vueuse/core'\nimport { useId, useNamespace } from '@element-plus/hooks'\nimport { isNumber, isPropAbsent } from '@element-plus/utils'\nimport { TOOLTIP_V2_OPEN, tooltipV2RootKey } from '@element-plus/tokens'\nimport { tooltipV2RootProps } from './root'\n\ndefineOptions({\n name: 'ElTooltipV2Root',\n})\n\nconst props = defineProps(tooltipV2RootProps)\n\n/**\n * internal open state, when no model value was provided, use this as indicator instead\n */\nconst _open = ref(props.defaultOpen)\nconst triggerRef = ref<HTMLElement | null>(null)\n\nconst open = computed<boolean>({\n get: () => (isPropAbsent(props.open) ? _open.value : props.open),\n set: (open) => {\n _open.value = open\n props['onUpdate:open']?.(open)\n },\n})\n\nconst isOpenDelayed = computed(\n () => isNumber(props.delayDuration) && props.delayDuration > 0\n)\n\nconst { start: onDelayedOpen, stop: clearTimer } = useTimeoutFn(\n () => {\n open.value = true\n },\n computed(() => props.delayDuration),\n {\n immediate: false,\n }\n)\n\nconst ns = useNamespace('tooltip-v2')\n\nconst contentId = useId()\n\nconst onNormalOpen = () => {\n clearTimer()\n open.value = true\n}\n\nconst onDelayOpen = () => {\n unref(isOpenDelayed) ? onDelayedOpen() : onNormalOpen()\n}\n\nconst onOpen = onNormalOpen\n\nconst onClose = () => {\n clearTimer()\n open.value = false\n}\n\nconst onChange = (open: boolean) => {\n if (open) {\n document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN))\n onOpen()\n }\n\n props.onOpenChange?.(open)\n}\n\nwatch(open, onChange)\n\nonMounted(() => {\n // Keeps only 1 tooltip open at a time\n document.addEventListener(TOOLTIP_V2_OPEN, onClose)\n})\n\nonBeforeUnmount(() => {\n clearTimer()\n document.removeEventListener(TOOLTIP_V2_OPEN, onClose)\n})\n\nprovide(tooltipV2RootKey, {\n contentId,\n triggerRef,\n ns,\n\n onClose,\n onDelayOpen,\n onOpen,\n})\n\ndefineExpose({\n /**\n * @description open tooltip programmatically\n */\n onOpen,\n\n /**\n * @description close tooltip programmatically\n */\n onClose,\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;mCAoBc,CAAA;AAAA,EACZ,IAAM,EAAA,iBAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAOA,IAAM,MAAA,KAAA,GAAQ,GAAI,CAAA,KAAA,CAAM,WAAW,CAAA,CAAA;AACnC,IAAM,MAAA,UAAA,GAAa,IAAwB,IAAI,CAAA,CAAA;AAE/C,IAAA,MAAM,OAAO,QAAkB,CAAA;AAAA,MAC7B,GAAA,EAAK,MAAO,YAAa,CAAA,KAAA,CAAM,IAAI,CAAI,GAAA,KAAA,CAAM,QAAQ,KAAM,CAAA,IAAA;AAAA,MAC3D,GAAA,EAAK,CAAC,KAAS,KAAA;AACb,QAAA,IAAA,EAAM,CAAQ;AACd,QAAA,KAAA,CAAM;AAAuB,QAC/B,CAAA,EAAA,GAAA,KAAA,CAAA,eAAA,CAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAA,CAAA,KAAA,EAAA,KAAA,CAAA,CAAA;AAAA,OACD;AAED,KAAM,CAAA,CAAA;AAIN,IAAA,MAAM,aAAS,GAAA,QAAe,CAAM,MAAA,QAAA,CAAA,KAAe,cAC3C,CAAA,IAAA,KAAA,CAAA,aAAA,GAAA,CAAA,CAAA,CAAA;AACJ,IAAA,MAAA,EAAa,KAAA,EAAA,aAAA,EAAA,IAAA,EAAA,UAAA,EAAA,GAAA,YAAA,CAAA,MAAA;AAAA,MAEf,IAAA,CAAA,KAAS,GAAM,IAAA,CAAA;AACf,KAAA,EACa,QAAA,CAAA,MAAA,KAAA,CAAA,aAAA,CAAA,EAAA;AAAA,MAEf,SAAA,EAAA,KAAA;AAEA,KAAM,CAAA,CAAA;AAEN,IAAA,MAAM,iBAAkB,CAAA,YAAA,CAAA,CAAA;AAExB,IAAA,MAAM,iBAAqB,EAAA,CAAA;AACzB,IAAW,MAAA,YAAA,GAAA,MAAA;AACX,MAAA,UAAa,EAAA,CAAA;AAAA,MACf,IAAA,CAAA,KAAA,GAAA,IAAA,CAAA;AAEA,KAAA,CAAA;AACE,IAAA,MAAA,WAAmB,GAAA,MAAkB;AAAiB,MACxD,KAAA,CAAA,aAAA,CAAA,GAAA,aAAA,EAAA,GAAA,YAAA,EAAA,CAAA;AAEA,KAAA,CAAA;AAEA,IAAA,MAAM,qBAAgB,CAAA;AACpB,IAAW,MAAA,OAAA,GAAA,MAAA;AACX,MAAA,UAAa,EAAA,CAAA;AAAA,MACf,IAAA,CAAA,KAAA,GAAA,KAAA,CAAA;AAEA,KAAM,CAAA;AACJ,IAAA,MAAI,QAAM,GAAA,CAAA,KAAA,KAAA;AACR,MAAA,IAAA,EAAA,CAAA;AACA,MAAO,IAAA,KAAA,EAAA;AAAA,QACT,QAAA,CAAA,aAAA,CAAA,IAAA,WAAA,CAAA,eAAA,CAAA,CAAA,CAAA;AAEA,QAAA;AAAyB,OAC3B;AAEA,MAAA,CAAA,EAAA,QAAoB,CAAA,YAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAA,CAAA,KAAA,EAAA,KAAA,CAAA,CAAA;AAEpB,KAAA,CAAA;AAEE,IAAS,KAAA,CAAA,IAAA,EAAA,QAAA,CAAA,CAAA;AAAyC,IACpD,SAAC,CAAA,MAAA;AAED,MAAA,QAAA,CAAA,gBAAsB,CAAA,eAAA,EAAA,OAAA,CAAA,CAAA;AACpB,KAAW,CAAA,CAAA;AACX,IAAS,eAAA,CAAA,MAAA;AAA4C,MACtD,UAAA,EAAA,CAAA;AAED,MAAA,QAA0B,CAAA,mBAAA,CAAA,eAAA,EAAA,OAAA,CAAA,CAAA;AAAA,KACxB,CAAA,CAAA;AAAA,IACA,OAAA,CAAA,gBAAA,EAAA;AAAA,MACA,SAAA;AAAA,MAEA,UAAA;AAAA,MACA,EAAA;AAAA,MACA,OAAA;AAAA,MACD,WAAA;AAED,MAAa,MAAA;AAAA,KAIX,CAAA,CAAA;AAAA,IAKA,MAAA,CAAA;AAAA,MACD,MAAA;;;;;;;;;;;;"}
@@ -1,87 +1,23 @@
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';
4
1
  import '../../../utils/index.mjs';
5
- import '../../../tokens/index.mjs';
6
- import { tooltipV2RootProps } from './root.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';
2
+ import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
12
3
 
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
- };
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)
82
19
  }
83
20
  });
84
- var TooltipV2Root = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/st/Desktop/vue/nxx-ui/packages/components/tooltip-v2/src/root.vue"]]);
85
21
 
86
- export { TooltipV2Root as default };
22
+ export { tooltipV2RootProps };
87
23
  //# sourceMappingURL=root2.mjs.map