element-plus-secondary 0.2.7 → 0.2.9

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 (775) hide show
  1. package/dist/index.css +1 -1
  2. package/es/components/affix/index.d.ts +1 -1
  3. package/es/components/affix/src/affix.vue.d.ts +1 -1
  4. package/es/components/alert/index.d.ts +1 -1
  5. package/es/components/alert/index.mjs +2 -2
  6. package/es/components/alert/src/alert.mjs +96 -36
  7. package/es/components/alert/src/alert.mjs.map +1 -1
  8. package/es/components/alert/src/alert.vue.d.ts +1 -1
  9. package/es/components/alert/src/alert2.mjs +36 -96
  10. package/es/components/alert/src/alert2.mjs.map +1 -1
  11. package/es/components/autocomplete/index.d.ts +116 -116
  12. package/es/components/autocomplete/src/autocomplete.vue.d.ts +116 -116
  13. package/es/components/backtop/index.mjs +2 -2
  14. package/es/components/backtop/src/backtop.mjs +54 -21
  15. package/es/components/backtop/src/backtop.mjs.map +1 -1
  16. package/es/components/backtop/src/backtop2.mjs +21 -54
  17. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  18. package/es/components/breadcrumb/index.mjs +4 -4
  19. package/es/components/breadcrumb/src/breadcrumb-item.mjs +57 -11
  20. package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
  21. package/es/components/breadcrumb/src/breadcrumb-item2.mjs +11 -57
  22. package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
  23. package/es/components/breadcrumb/src/breadcrumb.mjs +37 -11
  24. package/es/components/breadcrumb/src/breadcrumb.mjs.map +1 -1
  25. package/es/components/breadcrumb/src/breadcrumb2.mjs +11 -37
  26. package/es/components/breadcrumb/src/breadcrumb2.mjs.map +1 -1
  27. package/es/components/button/index.mjs +1 -1
  28. package/es/components/button/src/button-group.mjs +31 -6
  29. package/es/components/button/src/button-group.mjs.map +1 -1
  30. package/es/components/button/src/button-group2.mjs +6 -31
  31. package/es/components/button/src/button-group2.mjs.map +1 -1
  32. package/es/components/calendar/src/calendar.mjs +1 -1
  33. package/es/components/calendar/src/date-table.mjs +87 -33
  34. package/es/components/calendar/src/date-table.mjs.map +1 -1
  35. package/es/components/calendar/src/date-table2.mjs +33 -87
  36. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  37. package/es/components/calendar/src/use-date-table.mjs +1 -1
  38. package/es/components/card/index.mjs +2 -2
  39. package/es/components/card/src/card.mjs +16 -35
  40. package/es/components/card/src/card.mjs.map +1 -1
  41. package/es/components/card/src/card2.mjs +35 -16
  42. package/es/components/card/src/card2.mjs.map +1 -1
  43. package/es/components/carousel/index.d.ts +2 -2
  44. package/es/components/carousel/index.mjs +4 -4
  45. package/es/components/carousel/src/carousel-item.mjs +63 -8
  46. package/es/components/carousel/src/carousel-item.mjs.map +1 -1
  47. package/es/components/carousel/src/carousel-item2.mjs +8 -63
  48. package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
  49. package/es/components/carousel/src/carousel.mjs +159 -60
  50. package/es/components/carousel/src/carousel.mjs.map +1 -1
  51. package/es/components/carousel/src/carousel.vue.d.ts +2 -2
  52. package/es/components/carousel/src/carousel2.mjs +60 -159
  53. package/es/components/carousel/src/carousel2.mjs.map +1 -1
  54. package/es/components/cascader/index.d.ts +162 -162
  55. package/es/components/cascader/src/index.vue.d.ts +81 -81
  56. package/es/components/cascader-panel/index.d.ts +2 -2
  57. package/es/components/cascader-panel/src/index.vue.d.ts +1 -1
  58. package/es/components/checkbox/index.d.ts +10 -10
  59. package/es/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
  60. package/es/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
  61. package/es/components/checkbox/src/checkbox.vue.d.ts +2 -2
  62. package/es/components/collapse/index.d.ts +2 -2
  63. package/es/components/collapse/index.mjs +2 -2
  64. package/es/components/collapse/src/collapse-item.mjs +19 -96
  65. package/es/components/collapse/src/collapse-item.mjs.map +1 -1
  66. package/es/components/collapse/src/collapse-item2.mjs +96 -19
  67. package/es/components/collapse/src/collapse-item2.mjs.map +1 -1
  68. package/es/components/collapse/src/collapse.vue.d.ts +2 -2
  69. package/es/components/collection/index.mjs +1 -1
  70. package/es/components/collection/src/collection.mjs +10 -62
  71. package/es/components/collection/src/collection.mjs.map +1 -1
  72. package/es/components/collection/src/collection2.mjs +62 -10
  73. package/es/components/collection/src/collection2.mjs.map +1 -1
  74. package/es/components/color-picker/index.d.ts +151 -151
  75. package/es/components/color-picker/src/color-picker.vue.d.ts +151 -151
  76. package/es/components/color-picker/src/color-picker2.mjs +11 -3
  77. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  78. package/es/components/color-picker/src/components/alpha-slider.vue.d.ts +16 -16
  79. package/es/components/date-picker/index.d.ts +2 -2
  80. package/es/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  81. package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
  82. package/es/components/date-picker/src/date-picker-com/basic-month-table.vue.d.ts +1 -1
  83. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +38 -38
  84. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +36 -36
  85. package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +7 -7
  86. package/es/components/date-picker/src/date-picker.d.ts +1 -1
  87. package/es/components/date-picker/src/panel-utils.d.ts +81 -81
  88. package/es/components/descriptions/index.d.ts +3 -3
  89. package/es/components/descriptions/src/description-item.d.ts +1 -1
  90. package/es/components/descriptions/src/description.vue.d.ts +1 -1
  91. package/es/components/dialog/index.d.ts +2 -2
  92. package/es/components/dialog/src/dialog-content.mjs +37 -87
  93. package/es/components/dialog/src/dialog-content.mjs.map +1 -1
  94. package/es/components/dialog/src/dialog-content2.mjs +87 -37
  95. package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
  96. package/es/components/dialog/src/dialog.mjs +1 -1
  97. package/es/components/dialog/src/dialog.vue.d.ts +2 -2
  98. package/es/components/dialog/src/dialog2.mjs +1 -1
  99. package/es/components/drawer/index.d.ts +2 -2
  100. package/es/components/drawer/index.mjs +2 -2
  101. package/es/components/drawer/src/drawer.mjs +22 -165
  102. package/es/components/drawer/src/drawer.mjs.map +1 -1
  103. package/es/components/drawer/src/drawer.vue.d.ts +2 -2
  104. package/es/components/drawer/src/drawer2.mjs +165 -22
  105. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  106. package/es/components/dropdown/index.d.ts +64 -64
  107. package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
  108. package/es/components/dropdown/src/dropdown.vue.d.ts +64 -64
  109. package/es/components/dropdown/src/dropdown2.mjs +1 -1
  110. package/es/components/form/index.mjs +2 -2
  111. package/es/components/form/src/form-item.mjs +43 -316
  112. package/es/components/form/src/form-item.mjs.map +1 -1
  113. package/es/components/form/src/form-item2.mjs +316 -43
  114. package/es/components/form/src/form-item2.mjs.map +1 -1
  115. package/es/components/icon/index.mjs +2 -2
  116. package/es/components/icon/src/icon.mjs +8 -36
  117. package/es/components/icon/src/icon.mjs.map +1 -1
  118. package/es/components/icon/src/icon2.mjs +36 -8
  119. package/es/components/icon/src/icon2.mjs.map +1 -1
  120. package/es/components/image/index.d.ts +6 -6
  121. package/es/components/image/index.mjs +2 -2
  122. package/es/components/image/src/image.d.ts +1 -1
  123. package/es/components/image/src/image.mjs +58 -219
  124. package/es/components/image/src/image.mjs.map +1 -1
  125. package/es/components/image/src/image.vue.d.ts +6 -6
  126. package/es/components/image/src/image2.mjs +219 -58
  127. package/es/components/image/src/image2.mjs.map +1 -1
  128. package/es/components/image-viewer/index.mjs +2 -2
  129. package/es/components/image-viewer/src/image-viewer.mjs +405 -35
  130. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  131. package/es/components/image-viewer/src/image-viewer2.mjs +35 -405
  132. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  133. package/es/components/index.mjs +35 -35
  134. package/es/components/input/index.d.ts +4 -4
  135. package/es/components/input/index.mjs +2 -2
  136. package/es/components/input/src/input.mjs +110 -442
  137. package/es/components/input/src/input.mjs.map +1 -1
  138. package/es/components/input/src/input.vue.d.ts +4 -4
  139. package/es/components/input/src/input2.mjs +442 -110
  140. package/es/components/input/src/input2.mjs.map +1 -1
  141. package/es/components/input-number/index.d.ts +16 -16
  142. package/es/components/input-number/src/input-number.vue.d.ts +16 -16
  143. package/es/components/loading/index.d.ts +1 -1
  144. package/es/components/menu/index.d.ts +1 -1
  145. package/es/components/menu/index.mjs +2 -2
  146. package/es/components/menu/src/menu-item-group.mjs +35 -4
  147. package/es/components/menu/src/menu-item-group.mjs.map +1 -1
  148. package/es/components/menu/src/menu-item-group2.mjs +4 -35
  149. package/es/components/menu/src/menu-item-group2.mjs.map +1 -1
  150. package/es/components/menu/src/menu-item.mjs +1 -1
  151. package/es/components/menu/src/menu.d.ts +1 -1
  152. package/es/components/notification/index.mjs +1 -1
  153. package/es/components/notification/src/notification.mjs +145 -69
  154. package/es/components/notification/src/notification.mjs.map +1 -1
  155. package/es/components/notification/src/notification.vue.d.ts +1 -1
  156. package/es/components/notification/src/notification2.mjs +69 -145
  157. package/es/components/notification/src/notification2.mjs.map +1 -1
  158. package/es/components/notification/src/notify.mjs +2 -2
  159. package/es/components/pagination/src/components/jumper.vue.d.ts +4 -4
  160. package/es/components/pagination/src/components/pager.mjs +207 -17
  161. package/es/components/pagination/src/components/pager.mjs.map +1 -1
  162. package/es/components/pagination/src/components/pager2.mjs +17 -207
  163. package/es/components/pagination/src/components/pager2.mjs.map +1 -1
  164. package/es/components/pagination/src/components/prev.mjs +34 -18
  165. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  166. package/es/components/pagination/src/components/prev2.mjs +18 -34
  167. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  168. package/es/components/pagination/src/components/sizes.mjs +68 -22
  169. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  170. package/es/components/pagination/src/components/sizes.vue.d.ts +65 -65
  171. package/es/components/pagination/src/components/sizes2.mjs +22 -68
  172. package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
  173. package/es/components/pagination/src/pagination.mjs +3 -3
  174. package/es/components/popconfirm/index.d.ts +96 -96
  175. package/es/components/popconfirm/index.mjs +2 -2
  176. package/es/components/popconfirm/src/popconfirm.mjs +49 -111
  177. package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
  178. package/es/components/popconfirm/src/popconfirm.vue.d.ts +96 -96
  179. package/es/components/popconfirm/src/popconfirm2.mjs +111 -49
  180. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  181. package/es/components/popover/index.d.ts +105 -105
  182. package/es/components/popover/index.mjs +2 -2
  183. package/es/components/popover/src/popover.mjs +66 -111
  184. package/es/components/popover/src/popover.mjs.map +1 -1
  185. package/es/components/popover/src/popover.vue.d.ts +105 -105
  186. package/es/components/popover/src/popover2.mjs +111 -66
  187. package/es/components/popover/src/popover2.mjs.map +1 -1
  188. package/es/components/popper/index.d.ts +5 -5
  189. package/es/components/popper/index.mjs +4 -4
  190. package/es/components/popper/src/content.d.ts +4 -4
  191. package/es/components/popper/src/content.vue.d.ts +4 -4
  192. package/es/components/popper/src/popper.d.ts +2 -2
  193. package/es/components/popper/src/popper.mjs +25 -33
  194. package/es/components/popper/src/popper.mjs.map +1 -1
  195. package/es/components/popper/src/popper.vue.d.ts +5 -5
  196. package/es/components/popper/src/popper2.mjs +33 -25
  197. package/es/components/popper/src/popper2.mjs.map +1 -1
  198. package/es/components/popper/src/trigger.mjs +120 -31
  199. package/es/components/popper/src/trigger.mjs.map +1 -1
  200. package/es/components/popper/src/trigger.vue.d.ts +1 -1
  201. package/es/components/popper/src/trigger2.mjs +31 -120
  202. package/es/components/popper/src/trigger2.mjs.map +1 -1
  203. package/es/components/popper/src/utils.d.ts +1 -1
  204. package/es/components/progress/index.mjs +2 -2
  205. package/es/components/progress/src/progress.mjs +202 -57
  206. package/es/components/progress/src/progress.mjs.map +1 -1
  207. package/es/components/progress/src/progress2.mjs +57 -202
  208. package/es/components/progress/src/progress2.mjs.map +1 -1
  209. package/es/components/radio/index.d.ts +6 -6
  210. package/es/components/radio/index.mjs +2 -2
  211. package/es/components/radio/src/radio-group.mjs +68 -36
  212. package/es/components/radio/src/radio-group.mjs.map +1 -1
  213. package/es/components/radio/src/radio-group.vue.d.ts +2 -2
  214. package/es/components/radio/src/radio-group2.mjs +36 -68
  215. package/es/components/radio/src/radio-group2.mjs.map +1 -1
  216. package/es/components/radio/src/radio.vue.d.ts +2 -2
  217. package/es/components/rate/index.d.ts +2 -2
  218. package/es/components/rate/index.mjs +2 -2
  219. package/es/components/rate/src/rate.mjs +98 -256
  220. package/es/components/rate/src/rate.mjs.map +1 -1
  221. package/es/components/rate/src/rate.vue.d.ts +2 -2
  222. package/es/components/rate/src/rate2.mjs +256 -98
  223. package/es/components/rate/src/rate2.mjs.map +1 -1
  224. package/es/components/result/index.mjs +2 -2
  225. package/es/components/result/src/result.mjs +29 -63
  226. package/es/components/result/src/result.mjs.map +1 -1
  227. package/es/components/result/src/result2.mjs +63 -29
  228. package/es/components/result/src/result2.mjs.map +1 -1
  229. package/es/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +1 -1
  230. package/es/components/roving-focus-group/src/roving-focus-group2.mjs +1 -1
  231. package/es/components/row/index.d.ts +4 -4
  232. package/es/components/row/index.mjs +2 -2
  233. package/es/components/row/src/row.d.ts +1 -1
  234. package/es/components/row/src/row.mjs +30 -45
  235. package/es/components/row/src/row.mjs.map +1 -1
  236. package/es/components/row/src/row.vue.d.ts +4 -4
  237. package/es/components/row/src/row2.mjs +45 -30
  238. package/es/components/row/src/row2.mjs.map +1 -1
  239. package/es/components/scrollbar/index.d.ts +1 -1
  240. package/es/components/scrollbar/index.mjs +1 -1
  241. package/es/components/scrollbar/src/bar.mjs +1 -1
  242. package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  243. package/es/components/scrollbar/src/thumb.mjs +11 -131
  244. package/es/components/scrollbar/src/thumb.mjs.map +1 -1
  245. package/es/components/scrollbar/src/thumb2.mjs +131 -11
  246. package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
  247. package/es/components/select/index.d.ts +65 -65
  248. package/es/components/select/src/select.vue.d.ts +65 -65
  249. package/es/components/select/src/useSelect.d.ts +63 -63
  250. package/es/components/select-v2/index.d.ts +130 -130
  251. package/es/components/select-v2/src/select.vue.d.ts +65 -65
  252. package/es/components/select-v2/src/useSelect.d.ts +63 -63
  253. package/es/components/skeleton/index.d.ts +9 -9
  254. package/es/components/skeleton/index.mjs +4 -4
  255. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  256. package/es/components/skeleton/src/skeleton-item.mjs +18 -23
  257. package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
  258. package/es/components/skeleton/src/skeleton-item.vue.d.ts +3 -3
  259. package/es/components/skeleton/src/skeleton-item2.mjs +23 -18
  260. package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
  261. package/es/components/skeleton/src/skeleton.mjs +22 -49
  262. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  263. package/es/components/skeleton/src/skeleton.vue.d.ts +3 -3
  264. package/es/components/skeleton/src/skeleton2.mjs +49 -22
  265. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  266. package/es/components/slider/index.d.ts +178 -178
  267. package/es/components/slider/index.mjs +2 -2
  268. package/es/components/slider/src/button.mjs +21 -93
  269. package/es/components/slider/src/button.mjs.map +1 -1
  270. package/es/components/slider/src/button.vue.d.ts +32 -32
  271. package/es/components/slider/src/button2.mjs +93 -21
  272. package/es/components/slider/src/button2.mjs.map +1 -1
  273. package/es/components/slider/src/composables/use-slide.d.ts +128 -128
  274. package/es/components/slider/src/slider.mjs +233 -91
  275. package/es/components/slider/src/slider.mjs.map +1 -1
  276. package/es/components/slider/src/slider.vue.d.ts +178 -178
  277. package/es/components/slider/src/slider2.mjs +91 -233
  278. package/es/components/slider/src/slider2.mjs.map +1 -1
  279. package/es/components/space/index.d.ts +2 -2
  280. package/es/components/space/src/space.d.ts +2 -2
  281. package/es/components/steps/index.d.ts +3 -3
  282. package/es/components/steps/index.mjs +2 -2
  283. package/es/components/steps/src/item.mjs +194 -20
  284. package/es/components/steps/src/item.mjs.map +1 -1
  285. package/es/components/steps/src/item.vue.d.ts +1 -1
  286. package/es/components/steps/src/item2.mjs +20 -194
  287. package/es/components/steps/src/item2.mjs.map +1 -1
  288. package/es/components/steps/src/steps.vue.d.ts +1 -1
  289. package/es/components/switch/index.d.ts +3 -3
  290. package/es/components/switch/index.mjs +2 -2
  291. package/es/components/switch/src/switch.mjs +88 -240
  292. package/es/components/switch/src/switch.mjs.map +1 -1
  293. package/es/components/switch/src/switch.vue.d.ts +3 -3
  294. package/es/components/switch/src/switch2.mjs +240 -88
  295. package/es/components/switch/src/switch2.mjs.map +1 -1
  296. package/es/components/table/index.d.ts +2 -2
  297. package/es/components/table/src/filter-panel.vue.d.ts +63 -63
  298. package/es/components/table/src/table.vue.d.ts +2 -2
  299. package/es/components/table/src/util.d.ts +9 -9
  300. package/es/components/tabs/index.mjs +1 -1
  301. package/es/components/tabs/src/tab-bar.mjs +7 -81
  302. package/es/components/tabs/src/tab-bar.mjs.map +1 -1
  303. package/es/components/tabs/src/tab-bar2.mjs +81 -7
  304. package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
  305. package/es/components/tabs/src/tab-nav.mjs +1 -1
  306. package/es/components/teleport/index.mjs +2 -2
  307. package/es/components/teleport/src/teleport.mjs +18 -44
  308. package/es/components/teleport/src/teleport.mjs.map +1 -1
  309. package/es/components/teleport/src/teleport2.mjs +44 -18
  310. package/es/components/teleport/src/teleport2.mjs.map +1 -1
  311. package/es/components/time-picker/index.d.ts +2 -2
  312. package/es/components/time-picker/src/common/picker.vue.d.ts +102 -102
  313. package/es/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  314. package/es/components/time-picker/src/props/basic-time-spinner.d.ts +1 -1
  315. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +17 -17
  316. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +23 -23
  317. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +23 -23
  318. package/es/components/time-picker/src/time-picker.d.ts +1 -1
  319. package/es/components/time-select/index.d.ts +268 -268
  320. package/es/components/time-select/index.mjs +1 -1
  321. package/es/components/time-select/src/time-select.mjs +117 -48
  322. package/es/components/time-select/src/time-select.mjs.map +1 -1
  323. package/es/components/time-select/src/time-select.vue.d.ts +134 -134
  324. package/es/components/time-select/src/time-select2.mjs +48 -117
  325. package/es/components/time-select/src/time-select2.mjs.map +1 -1
  326. package/es/components/tooltip/index.d.ts +32 -32
  327. package/es/components/tooltip/src/content.d.ts +1 -1
  328. package/es/components/tooltip/src/content.vue.d.ts +12 -12
  329. package/es/components/tooltip/src/tooltip.d.ts +2 -2
  330. package/es/components/tooltip/src/tooltip.vue.d.ts +32 -32
  331. package/es/components/tooltip/src/tooltip2.mjs +1 -1
  332. package/es/components/tooltip/src/trigger.mjs +1 -1
  333. package/es/components/tooltip/src/trigger.vue.d.ts +2 -2
  334. package/es/components/tooltip/src/trigger2.mjs +1 -1
  335. package/es/components/tooltip-v2/index.d.ts +35 -35
  336. package/es/components/tooltip-v2/index.mjs +3 -3
  337. package/es/components/tooltip-v2/src/arrow.vue.d.ts +1 -1
  338. package/es/components/tooltip-v2/src/content.d.ts +1 -1
  339. package/es/components/tooltip-v2/src/content.vue.d.ts +5 -5
  340. package/es/components/tooltip-v2/src/root.mjs +81 -17
  341. package/es/components/tooltip-v2/src/root.mjs.map +1 -1
  342. package/es/components/tooltip-v2/src/root2.mjs +17 -81
  343. package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
  344. package/es/components/tooltip-v2/src/tooltip.d.ts +1 -1
  345. package/es/components/tooltip-v2/src/tooltip.mjs +73 -20
  346. package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
  347. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +35 -35
  348. package/es/components/tooltip-v2/src/tooltip2.mjs +20 -73
  349. package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
  350. package/es/components/transfer/index.d.ts +62 -62
  351. package/es/components/transfer/src/composables/use-check.mjs +1 -1
  352. package/es/components/transfer/src/transfer-panel.mjs +131 -19
  353. package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
  354. package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  355. package/es/components/transfer/src/transfer-panel2.mjs +19 -131
  356. package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
  357. package/es/components/transfer/src/transfer.vue.d.ts +62 -62
  358. package/es/components/transfer/src/transfer2.mjs +1 -1
  359. package/es/components/tree/index.d.ts +4 -4
  360. package/es/components/tree/src/tree-node.vue.d.ts +1 -1
  361. package/es/components/tree/src/tree.vue.d.ts +2 -2
  362. package/es/components/tree-v2/index.d.ts +8 -8
  363. package/es/components/tree-v2/src/tree-node.vue.d.ts +6 -6
  364. package/es/components/tree-v2/src/tree.vue.d.ts +8 -8
  365. package/es/components/upload/index.d.ts +5 -5
  366. package/es/components/upload/index.mjs +3 -3
  367. package/es/components/upload/src/upload-content.mjs +170 -33
  368. package/es/components/upload/src/upload-content.mjs.map +1 -1
  369. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  370. package/es/components/upload/src/upload-content2.mjs +33 -170
  371. package/es/components/upload/src/upload-content2.mjs.map +1 -1
  372. package/es/components/upload/src/upload-list.mjs +1 -1
  373. package/es/components/upload/src/upload.mjs +120 -105
  374. package/es/components/upload/src/upload.mjs.map +1 -1
  375. package/es/components/upload/src/upload.vue.d.ts +5 -5
  376. package/es/components/upload/src/upload2.mjs +105 -120
  377. package/es/components/upload/src/upload2.mjs.map +1 -1
  378. package/es/components/upload/src/use-handlers.mjs +1 -1
  379. package/es/components/virtual-list/src/builders/build-grid.d.ts +2 -2
  380. package/es/components/virtual-list/src/builders/build-list.d.ts +2 -2
  381. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +2 -2
  382. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
  383. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +2 -2
  384. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
  385. package/es/index.mjs +35 -35
  386. package/es/utils/vue/vnode.d.ts +6 -6
  387. package/lib/components/affix/index.d.ts +1 -1
  388. package/lib/components/affix/src/affix.vue.d.ts +1 -1
  389. package/lib/components/alert/index.d.ts +1 -1
  390. package/lib/components/alert/index.js +2 -2
  391. package/lib/components/alert/src/alert.js +95 -37
  392. package/lib/components/alert/src/alert.js.map +1 -1
  393. package/lib/components/alert/src/alert.vue.d.ts +1 -1
  394. package/lib/components/alert/src/alert2.js +37 -95
  395. package/lib/components/alert/src/alert2.js.map +1 -1
  396. package/lib/components/autocomplete/index.d.ts +116 -116
  397. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +116 -116
  398. package/lib/components/backtop/index.js +2 -2
  399. package/lib/components/backtop/src/backtop.js +54 -22
  400. package/lib/components/backtop/src/backtop.js.map +1 -1
  401. package/lib/components/backtop/src/backtop2.js +22 -54
  402. package/lib/components/backtop/src/backtop2.js.map +1 -1
  403. package/lib/components/breadcrumb/index.js +4 -4
  404. package/lib/components/breadcrumb/src/breadcrumb-item.js +57 -11
  405. package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
  406. package/lib/components/breadcrumb/src/breadcrumb-item2.js +11 -57
  407. package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
  408. package/lib/components/breadcrumb/src/breadcrumb.js +37 -11
  409. package/lib/components/breadcrumb/src/breadcrumb.js.map +1 -1
  410. package/lib/components/breadcrumb/src/breadcrumb2.js +11 -37
  411. package/lib/components/breadcrumb/src/breadcrumb2.js.map +1 -1
  412. package/lib/components/button/index.js +1 -1
  413. package/lib/components/button/src/button-group.js +31 -6
  414. package/lib/components/button/src/button-group.js.map +1 -1
  415. package/lib/components/button/src/button-group2.js +6 -31
  416. package/lib/components/button/src/button-group2.js.map +1 -1
  417. package/lib/components/calendar/src/calendar.js +1 -1
  418. package/lib/components/calendar/src/date-table.js +87 -37
  419. package/lib/components/calendar/src/date-table.js.map +1 -1
  420. package/lib/components/calendar/src/date-table2.js +37 -87
  421. package/lib/components/calendar/src/date-table2.js.map +1 -1
  422. package/lib/components/calendar/src/use-date-table.js +1 -1
  423. package/lib/components/card/index.js +2 -2
  424. package/lib/components/card/src/card.js +16 -35
  425. package/lib/components/card/src/card.js.map +1 -1
  426. package/lib/components/card/src/card2.js +35 -16
  427. package/lib/components/card/src/card2.js.map +1 -1
  428. package/lib/components/carousel/index.d.ts +2 -2
  429. package/lib/components/carousel/index.js +4 -4
  430. package/lib/components/carousel/src/carousel-item.js +63 -8
  431. package/lib/components/carousel/src/carousel-item.js.map +1 -1
  432. package/lib/components/carousel/src/carousel-item2.js +8 -63
  433. package/lib/components/carousel/src/carousel-item2.js.map +1 -1
  434. package/lib/components/carousel/src/carousel.js +159 -61
  435. package/lib/components/carousel/src/carousel.js.map +1 -1
  436. package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
  437. package/lib/components/carousel/src/carousel2.js +61 -159
  438. package/lib/components/carousel/src/carousel2.js.map +1 -1
  439. package/lib/components/cascader/index.d.ts +162 -162
  440. package/lib/components/cascader/src/index.vue.d.ts +81 -81
  441. package/lib/components/cascader-panel/index.d.ts +2 -2
  442. package/lib/components/cascader-panel/src/index.vue.d.ts +1 -1
  443. package/lib/components/checkbox/index.d.ts +10 -10
  444. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
  445. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
  446. package/lib/components/checkbox/src/checkbox.vue.d.ts +2 -2
  447. package/lib/components/collapse/index.d.ts +2 -2
  448. package/lib/components/collapse/index.js +2 -2
  449. package/lib/components/collapse/src/collapse-item.js +19 -96
  450. package/lib/components/collapse/src/collapse-item.js.map +1 -1
  451. package/lib/components/collapse/src/collapse-item2.js +96 -19
  452. package/lib/components/collapse/src/collapse-item2.js.map +1 -1
  453. package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
  454. package/lib/components/collection/index.js +1 -1
  455. package/lib/components/collection/src/collection.js +9 -62
  456. package/lib/components/collection/src/collection.js.map +1 -1
  457. package/lib/components/collection/src/collection2.js +62 -9
  458. package/lib/components/collection/src/collection2.js.map +1 -1
  459. package/lib/components/color-picker/index.d.ts +151 -151
  460. package/lib/components/color-picker/src/color-picker.vue.d.ts +151 -151
  461. package/lib/components/color-picker/src/color-picker2.js +10 -2
  462. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  463. package/lib/components/color-picker/src/components/alpha-slider.vue.d.ts +16 -16
  464. package/lib/components/date-picker/index.d.ts +2 -2
  465. package/lib/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  466. package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
  467. package/lib/components/date-picker/src/date-picker-com/basic-month-table.vue.d.ts +1 -1
  468. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +38 -38
  469. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +36 -36
  470. package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +7 -7
  471. package/lib/components/date-picker/src/date-picker.d.ts +1 -1
  472. package/lib/components/date-picker/src/panel-utils.d.ts +81 -81
  473. package/lib/components/descriptions/index.d.ts +3 -3
  474. package/lib/components/descriptions/src/description-item.d.ts +1 -1
  475. package/lib/components/descriptions/src/description.vue.d.ts +1 -1
  476. package/lib/components/dialog/index.d.ts +2 -2
  477. package/lib/components/dialog/src/dialog-content.js +37 -86
  478. package/lib/components/dialog/src/dialog-content.js.map +1 -1
  479. package/lib/components/dialog/src/dialog-content2.js +86 -37
  480. package/lib/components/dialog/src/dialog-content2.js.map +1 -1
  481. package/lib/components/dialog/src/dialog.js +1 -1
  482. package/lib/components/dialog/src/dialog.vue.d.ts +2 -2
  483. package/lib/components/dialog/src/dialog2.js +1 -1
  484. package/lib/components/drawer/index.d.ts +2 -2
  485. package/lib/components/drawer/index.js +2 -2
  486. package/lib/components/drawer/src/drawer.js +23 -165
  487. package/lib/components/drawer/src/drawer.js.map +1 -1
  488. package/lib/components/drawer/src/drawer.vue.d.ts +2 -2
  489. package/lib/components/drawer/src/drawer2.js +165 -23
  490. package/lib/components/drawer/src/drawer2.js.map +1 -1
  491. package/lib/components/dropdown/index.d.ts +64 -64
  492. package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
  493. package/lib/components/dropdown/src/dropdown.vue.d.ts +64 -64
  494. package/lib/components/dropdown/src/dropdown2.js +1 -1
  495. package/lib/components/form/index.js +2 -2
  496. package/lib/components/form/src/form-item.js +44 -320
  497. package/lib/components/form/src/form-item.js.map +1 -1
  498. package/lib/components/form/src/form-item2.js +320 -44
  499. package/lib/components/form/src/form-item2.js.map +1 -1
  500. package/lib/components/icon/index.js +2 -2
  501. package/lib/components/icon/src/icon.js +8 -36
  502. package/lib/components/icon/src/icon.js.map +1 -1
  503. package/lib/components/icon/src/icon2.js +36 -8
  504. package/lib/components/icon/src/icon2.js.map +1 -1
  505. package/lib/components/image/index.d.ts +6 -6
  506. package/lib/components/image/index.js +2 -2
  507. package/lib/components/image/src/image.d.ts +1 -1
  508. package/lib/components/image/src/image.js +59 -219
  509. package/lib/components/image/src/image.js.map +1 -1
  510. package/lib/components/image/src/image.vue.d.ts +6 -6
  511. package/lib/components/image/src/image2.js +219 -59
  512. package/lib/components/image/src/image2.js.map +1 -1
  513. package/lib/components/image-viewer/index.js +2 -2
  514. package/lib/components/image-viewer/src/image-viewer.js +405 -36
  515. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  516. package/lib/components/image-viewer/src/image-viewer2.js +36 -405
  517. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  518. package/lib/components/index.js +35 -35
  519. package/lib/components/input/index.d.ts +4 -4
  520. package/lib/components/input/index.js +2 -2
  521. package/lib/components/input/src/input.js +110 -441
  522. package/lib/components/input/src/input.js.map +1 -1
  523. package/lib/components/input/src/input.vue.d.ts +4 -4
  524. package/lib/components/input/src/input2.js +441 -110
  525. package/lib/components/input/src/input2.js.map +1 -1
  526. package/lib/components/input-number/index.d.ts +16 -16
  527. package/lib/components/input-number/src/input-number.vue.d.ts +16 -16
  528. package/lib/components/loading/index.d.ts +1 -1
  529. package/lib/components/menu/index.d.ts +1 -1
  530. package/lib/components/menu/index.js +2 -2
  531. package/lib/components/menu/src/menu-item-group.js +35 -4
  532. package/lib/components/menu/src/menu-item-group.js.map +1 -1
  533. package/lib/components/menu/src/menu-item-group2.js +4 -35
  534. package/lib/components/menu/src/menu-item-group2.js.map +1 -1
  535. package/lib/components/menu/src/menu-item.js +1 -1
  536. package/lib/components/menu/src/menu.d.ts +1 -1
  537. package/lib/components/notification/index.js +1 -1
  538. package/lib/components/notification/src/notification.js +144 -70
  539. package/lib/components/notification/src/notification.js.map +1 -1
  540. package/lib/components/notification/src/notification.vue.d.ts +1 -1
  541. package/lib/components/notification/src/notification2.js +70 -144
  542. package/lib/components/notification/src/notification2.js.map +1 -1
  543. package/lib/components/notification/src/notify.js +2 -2
  544. package/lib/components/pagination/src/components/jumper.vue.d.ts +4 -4
  545. package/lib/components/pagination/src/components/pager.js +207 -17
  546. package/lib/components/pagination/src/components/pager.js.map +1 -1
  547. package/lib/components/pagination/src/components/pager2.js +17 -207
  548. package/lib/components/pagination/src/components/pager2.js.map +1 -1
  549. package/lib/components/pagination/src/components/prev.js +34 -19
  550. package/lib/components/pagination/src/components/prev.js.map +1 -1
  551. package/lib/components/pagination/src/components/prev2.js +19 -34
  552. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  553. package/lib/components/pagination/src/components/sizes.js +68 -22
  554. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  555. package/lib/components/pagination/src/components/sizes.vue.d.ts +65 -65
  556. package/lib/components/pagination/src/components/sizes2.js +22 -68
  557. package/lib/components/pagination/src/components/sizes2.js.map +1 -1
  558. package/lib/components/pagination/src/pagination.js +3 -3
  559. package/lib/components/popconfirm/index.d.ts +96 -96
  560. package/lib/components/popconfirm/index.js +2 -2
  561. package/lib/components/popconfirm/src/popconfirm.js +49 -111
  562. package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
  563. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +96 -96
  564. package/lib/components/popconfirm/src/popconfirm2.js +111 -49
  565. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  566. package/lib/components/popover/index.d.ts +105 -105
  567. package/lib/components/popover/index.js +2 -2
  568. package/lib/components/popover/src/popover.js +67 -111
  569. package/lib/components/popover/src/popover.js.map +1 -1
  570. package/lib/components/popover/src/popover.vue.d.ts +105 -105
  571. package/lib/components/popover/src/popover2.js +111 -67
  572. package/lib/components/popover/src/popover2.js.map +1 -1
  573. package/lib/components/popper/index.d.ts +5 -5
  574. package/lib/components/popper/index.js +4 -4
  575. package/lib/components/popper/src/content.d.ts +4 -4
  576. package/lib/components/popper/src/content.vue.d.ts +4 -4
  577. package/lib/components/popper/src/popper.d.ts +2 -2
  578. package/lib/components/popper/src/popper.js +28 -33
  579. package/lib/components/popper/src/popper.js.map +1 -1
  580. package/lib/components/popper/src/popper.vue.d.ts +5 -5
  581. package/lib/components/popper/src/popper2.js +33 -28
  582. package/lib/components/popper/src/popper2.js.map +1 -1
  583. package/lib/components/popper/src/trigger.js +120 -32
  584. package/lib/components/popper/src/trigger.js.map +1 -1
  585. package/lib/components/popper/src/trigger.vue.d.ts +1 -1
  586. package/lib/components/popper/src/trigger2.js +32 -120
  587. package/lib/components/popper/src/trigger2.js.map +1 -1
  588. package/lib/components/popper/src/utils.d.ts +1 -1
  589. package/lib/components/progress/index.js +2 -2
  590. package/lib/components/progress/src/progress.js +202 -57
  591. package/lib/components/progress/src/progress.js.map +1 -1
  592. package/lib/components/progress/src/progress2.js +57 -202
  593. package/lib/components/progress/src/progress2.js.map +1 -1
  594. package/lib/components/radio/index.d.ts +6 -6
  595. package/lib/components/radio/index.js +2 -2
  596. package/lib/components/radio/src/radio-group.js +68 -37
  597. package/lib/components/radio/src/radio-group.js.map +1 -1
  598. package/lib/components/radio/src/radio-group.vue.d.ts +2 -2
  599. package/lib/components/radio/src/radio-group2.js +37 -68
  600. package/lib/components/radio/src/radio-group2.js.map +1 -1
  601. package/lib/components/radio/src/radio.vue.d.ts +2 -2
  602. package/lib/components/rate/index.d.ts +2 -2
  603. package/lib/components/rate/index.js +2 -2
  604. package/lib/components/rate/src/rate.js +98 -255
  605. package/lib/components/rate/src/rate.js.map +1 -1
  606. package/lib/components/rate/src/rate.vue.d.ts +2 -2
  607. package/lib/components/rate/src/rate2.js +255 -98
  608. package/lib/components/rate/src/rate2.js.map +1 -1
  609. package/lib/components/result/index.js +2 -2
  610. package/lib/components/result/src/result.js +31 -63
  611. package/lib/components/result/src/result.js.map +1 -1
  612. package/lib/components/result/src/result2.js +63 -31
  613. package/lib/components/result/src/result2.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/roving-focus-group/src/roving-focus-group2.js +1 -1
  616. package/lib/components/row/index.d.ts +4 -4
  617. package/lib/components/row/index.js +2 -2
  618. package/lib/components/row/src/row.d.ts +1 -1
  619. package/lib/components/row/src/row.js +32 -45
  620. package/lib/components/row/src/row.js.map +1 -1
  621. package/lib/components/row/src/row.vue.d.ts +4 -4
  622. package/lib/components/row/src/row2.js +45 -32
  623. package/lib/components/row/src/row2.js.map +1 -1
  624. package/lib/components/scrollbar/index.d.ts +1 -1
  625. package/lib/components/scrollbar/index.js +1 -1
  626. package/lib/components/scrollbar/src/bar.js +1 -1
  627. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  628. package/lib/components/scrollbar/src/thumb.js +11 -131
  629. package/lib/components/scrollbar/src/thumb.js.map +1 -1
  630. package/lib/components/scrollbar/src/thumb2.js +131 -11
  631. package/lib/components/scrollbar/src/thumb2.js.map +1 -1
  632. package/lib/components/select/index.d.ts +65 -65
  633. package/lib/components/select/src/select.vue.d.ts +65 -65
  634. package/lib/components/select/src/useSelect.d.ts +63 -63
  635. package/lib/components/select-v2/index.d.ts +130 -130
  636. package/lib/components/select-v2/src/select.vue.d.ts +65 -65
  637. package/lib/components/select-v2/src/useSelect.d.ts +63 -63
  638. package/lib/components/skeleton/index.d.ts +9 -9
  639. package/lib/components/skeleton/index.js +4 -4
  640. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  641. package/lib/components/skeleton/src/skeleton-item.js +18 -23
  642. package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
  643. package/lib/components/skeleton/src/skeleton-item.vue.d.ts +3 -3
  644. package/lib/components/skeleton/src/skeleton-item2.js +23 -18
  645. package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
  646. package/lib/components/skeleton/src/skeleton.js +22 -49
  647. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  648. package/lib/components/skeleton/src/skeleton.vue.d.ts +3 -3
  649. package/lib/components/skeleton/src/skeleton2.js +49 -22
  650. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  651. package/lib/components/slider/index.d.ts +178 -178
  652. package/lib/components/slider/index.js +2 -2
  653. package/lib/components/slider/src/button.js +22 -93
  654. package/lib/components/slider/src/button.js.map +1 -1
  655. package/lib/components/slider/src/button.vue.d.ts +32 -32
  656. package/lib/components/slider/src/button2.js +93 -22
  657. package/lib/components/slider/src/button2.js.map +1 -1
  658. package/lib/components/slider/src/composables/use-slide.d.ts +128 -128
  659. package/lib/components/slider/src/slider.js +233 -92
  660. package/lib/components/slider/src/slider.js.map +1 -1
  661. package/lib/components/slider/src/slider.vue.d.ts +178 -178
  662. package/lib/components/slider/src/slider2.js +92 -233
  663. package/lib/components/slider/src/slider2.js.map +1 -1
  664. package/lib/components/space/index.d.ts +2 -2
  665. package/lib/components/space/src/space.d.ts +2 -2
  666. package/lib/components/steps/index.d.ts +3 -3
  667. package/lib/components/steps/index.js +2 -2
  668. package/lib/components/steps/src/item.js +194 -20
  669. package/lib/components/steps/src/item.js.map +1 -1
  670. package/lib/components/steps/src/item.vue.d.ts +1 -1
  671. package/lib/components/steps/src/item2.js +20 -194
  672. package/lib/components/steps/src/item2.js.map +1 -1
  673. package/lib/components/steps/src/steps.vue.d.ts +1 -1
  674. package/lib/components/switch/index.d.ts +3 -3
  675. package/lib/components/switch/index.js +2 -2
  676. package/lib/components/switch/src/switch.js +88 -239
  677. package/lib/components/switch/src/switch.js.map +1 -1
  678. package/lib/components/switch/src/switch.vue.d.ts +3 -3
  679. package/lib/components/switch/src/switch2.js +239 -88
  680. package/lib/components/switch/src/switch2.js.map +1 -1
  681. package/lib/components/table/index.d.ts +2 -2
  682. package/lib/components/table/src/filter-panel.vue.d.ts +63 -63
  683. package/lib/components/table/src/table.vue.d.ts +2 -2
  684. package/lib/components/table/src/util.d.ts +9 -9
  685. package/lib/components/tabs/index.js +1 -1
  686. package/lib/components/tabs/src/tab-bar.js +7 -81
  687. package/lib/components/tabs/src/tab-bar.js.map +1 -1
  688. package/lib/components/tabs/src/tab-bar2.js +81 -7
  689. package/lib/components/tabs/src/tab-bar2.js.map +1 -1
  690. package/lib/components/tabs/src/tab-nav.js +1 -1
  691. package/lib/components/teleport/index.js +2 -2
  692. package/lib/components/teleport/src/teleport.js +18 -44
  693. package/lib/components/teleport/src/teleport.js.map +1 -1
  694. package/lib/components/teleport/src/teleport2.js +44 -18
  695. package/lib/components/teleport/src/teleport2.js.map +1 -1
  696. package/lib/components/time-picker/index.d.ts +2 -2
  697. package/lib/components/time-picker/src/common/picker.vue.d.ts +102 -102
  698. package/lib/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  699. package/lib/components/time-picker/src/props/basic-time-spinner.d.ts +1 -1
  700. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +17 -17
  701. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +23 -23
  702. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +23 -23
  703. package/lib/components/time-picker/src/time-picker.d.ts +1 -1
  704. package/lib/components/time-select/index.d.ts +268 -268
  705. package/lib/components/time-select/index.js +1 -1
  706. package/lib/components/time-select/src/time-select.js +122 -48
  707. package/lib/components/time-select/src/time-select.js.map +1 -1
  708. package/lib/components/time-select/src/time-select.vue.d.ts +134 -134
  709. package/lib/components/time-select/src/time-select2.js +48 -122
  710. package/lib/components/time-select/src/time-select2.js.map +1 -1
  711. package/lib/components/tooltip/index.d.ts +32 -32
  712. package/lib/components/tooltip/src/content.d.ts +1 -1
  713. package/lib/components/tooltip/src/content.vue.d.ts +12 -12
  714. package/lib/components/tooltip/src/tooltip.d.ts +2 -2
  715. package/lib/components/tooltip/src/tooltip.vue.d.ts +32 -32
  716. package/lib/components/tooltip/src/tooltip2.js +1 -1
  717. package/lib/components/tooltip/src/trigger.js +1 -1
  718. package/lib/components/tooltip/src/trigger.vue.d.ts +2 -2
  719. package/lib/components/tooltip/src/trigger2.js +1 -1
  720. package/lib/components/tooltip-v2/index.d.ts +35 -35
  721. package/lib/components/tooltip-v2/index.js +3 -3
  722. package/lib/components/tooltip-v2/src/arrow.vue.d.ts +1 -1
  723. package/lib/components/tooltip-v2/src/content.d.ts +1 -1
  724. package/lib/components/tooltip-v2/src/content.vue.d.ts +5 -5
  725. package/lib/components/tooltip-v2/src/root.js +81 -17
  726. package/lib/components/tooltip-v2/src/root.js.map +1 -1
  727. package/lib/components/tooltip-v2/src/root2.js +17 -81
  728. package/lib/components/tooltip-v2/src/root2.js.map +1 -1
  729. package/lib/components/tooltip-v2/src/tooltip.d.ts +1 -1
  730. package/lib/components/tooltip-v2/src/tooltip.js +73 -20
  731. package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
  732. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +35 -35
  733. package/lib/components/tooltip-v2/src/tooltip2.js +20 -73
  734. package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
  735. package/lib/components/transfer/index.d.ts +62 -62
  736. package/lib/components/transfer/src/composables/use-check.js +1 -1
  737. package/lib/components/transfer/src/transfer-panel.js +131 -21
  738. package/lib/components/transfer/src/transfer-panel.js.map +1 -1
  739. package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  740. package/lib/components/transfer/src/transfer-panel2.js +21 -131
  741. package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
  742. package/lib/components/transfer/src/transfer.vue.d.ts +62 -62
  743. package/lib/components/transfer/src/transfer2.js +1 -1
  744. package/lib/components/tree/index.d.ts +4 -4
  745. package/lib/components/tree/src/tree-node.vue.d.ts +1 -1
  746. package/lib/components/tree/src/tree.vue.d.ts +2 -2
  747. package/lib/components/tree-v2/index.d.ts +8 -8
  748. package/lib/components/tree-v2/src/tree-node.vue.d.ts +6 -6
  749. package/lib/components/tree-v2/src/tree.vue.d.ts +8 -8
  750. package/lib/components/upload/index.d.ts +5 -5
  751. package/lib/components/upload/index.js +3 -3
  752. package/lib/components/upload/src/upload-content.js +170 -33
  753. package/lib/components/upload/src/upload-content.js.map +1 -1
  754. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  755. package/lib/components/upload/src/upload-content2.js +33 -170
  756. package/lib/components/upload/src/upload-content2.js.map +1 -1
  757. package/lib/components/upload/src/upload-list.js +1 -1
  758. package/lib/components/upload/src/upload.js +120 -108
  759. package/lib/components/upload/src/upload.js.map +1 -1
  760. package/lib/components/upload/src/upload.vue.d.ts +5 -5
  761. package/lib/components/upload/src/upload2.js +108 -120
  762. package/lib/components/upload/src/upload2.js.map +1 -1
  763. package/lib/components/upload/src/use-handlers.js +1 -1
  764. package/lib/components/virtual-list/src/builders/build-grid.d.ts +2 -2
  765. package/lib/components/virtual-list/src/builders/build-list.d.ts +2 -2
  766. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +2 -2
  767. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
  768. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +2 -2
  769. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
  770. package/lib/index.js +35 -35
  771. package/lib/utils/vue/vnode.d.ts +6 -6
  772. package/package.json +1 -1
  773. package/theme-chalk/el-button.css +1 -1
  774. package/theme-chalk/index.css +1 -1
  775. package/theme-chalk/src/button.scss +1 -1
@@ -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;
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('../../utils/index.js');
6
- var tooltip$1 = require('./src/tooltip2.js');
6
+ var tooltip$1 = require('./src/tooltip.js');
7
7
  var arrow = require('./src/arrow.js');
8
8
  var content = require('./src/content.js');
9
- var root = require('./src/root.js');
10
- var tooltip = require('./src/tooltip.js');
9
+ var root = require('./src/root2.js');
10
+ var tooltip = require('./src/tooltip2.js');
11
11
  var trigger = require('./src/trigger2.js');
12
12
  var install = require('../../utils/vue/install.js');
13
13
 
@@ -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>;
@@ -2,26 +2,90 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var vue = require('vue');
6
+ var core = require('@vueuse/core');
7
+ require('../../../hooks/index.js');
5
8
  require('../../../utils/index.js');
6
- var runtime = require('../../../utils/vue/props/runtime.js');
9
+ require('../../../tokens/index.js');
10
+ var root = require('./root2.js');
11
+ var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
12
+ var types = require('../../../utils/types.js');
13
+ var index = require('../../../hooks/use-namespace/index.js');
14
+ var index$1 = require('../../../hooks/use-id/index.js');
15
+ var tooltipV2 = require('../../../tokens/tooltip-v2.js');
7
16
 
8
- const tooltipV2RootProps = runtime.buildProps({
9
- delayDuration: {
10
- type: Number,
11
- default: 300
12
- },
13
- defaultOpen: Boolean,
14
- open: {
15
- type: Boolean,
16
- default: void 0
17
- },
18
- onOpenChange: {
19
- type: runtime.definePropType(Function)
20
- },
21
- "onUpdate:open": {
22
- type: runtime.definePropType(Function)
17
+ const __default__ = vue.defineComponent({
18
+ name: "ElTooltipV2Root"
19
+ });
20
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
+ ...__default__,
22
+ props: root.tooltipV2RootProps,
23
+ setup(__props, { expose }) {
24
+ const props = __props;
25
+ const _open = vue.ref(props.defaultOpen);
26
+ const triggerRef = vue.ref(null);
27
+ const open = vue.computed({
28
+ get: () => types.isPropAbsent(props.open) ? _open.value : props.open,
29
+ set: (open2) => {
30
+ var _a;
31
+ _open.value = open2;
32
+ (_a = props["onUpdate:open"]) == null ? void 0 : _a.call(props, open2);
33
+ }
34
+ });
35
+ const isOpenDelayed = vue.computed(() => core.isNumber(props.delayDuration) && props.delayDuration > 0);
36
+ const { start: onDelayedOpen, stop: clearTimer } = core.useTimeoutFn(() => {
37
+ open.value = true;
38
+ }, vue.computed(() => props.delayDuration), {
39
+ immediate: false
40
+ });
41
+ const ns = index.useNamespace("tooltip-v2");
42
+ const contentId = index$1.useId();
43
+ const onNormalOpen = () => {
44
+ clearTimer();
45
+ open.value = true;
46
+ };
47
+ const onDelayOpen = () => {
48
+ vue.unref(isOpenDelayed) ? onDelayedOpen() : onNormalOpen();
49
+ };
50
+ const onOpen = onNormalOpen;
51
+ const onClose = () => {
52
+ clearTimer();
53
+ open.value = false;
54
+ };
55
+ const onChange = (open2) => {
56
+ var _a;
57
+ if (open2) {
58
+ document.dispatchEvent(new CustomEvent(tooltipV2.TOOLTIP_V2_OPEN));
59
+ onOpen();
60
+ }
61
+ (_a = props.onOpenChange) == null ? void 0 : _a.call(props, open2);
62
+ };
63
+ vue.watch(open, onChange);
64
+ vue.onMounted(() => {
65
+ document.addEventListener(tooltipV2.TOOLTIP_V2_OPEN, onClose);
66
+ });
67
+ vue.onBeforeUnmount(() => {
68
+ clearTimer();
69
+ document.removeEventListener(tooltipV2.TOOLTIP_V2_OPEN, onClose);
70
+ });
71
+ vue.provide(tooltipV2.tooltipV2RootKey, {
72
+ contentId,
73
+ triggerRef,
74
+ ns,
75
+ onClose,
76
+ onDelayOpen,
77
+ onOpen
78
+ });
79
+ expose({
80
+ onOpen,
81
+ onClose
82
+ });
83
+ return (_ctx, _cache) => {
84
+ return vue.renderSlot(_ctx.$slots, "default", { open: vue.unref(open) });
85
+ };
23
86
  }
24
87
  });
88
+ var TooltipV2Root = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/Users/st/Desktop/vue/nxx-ui/packages/components/tooltip-v2/src/root.vue"]]);
25
89
 
26
- exports.tooltipV2RootProps = tooltipV2RootProps;
90
+ exports["default"] = TooltipV2Root;
27
91
  //# sourceMappingURL=root.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"root.js","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":["buildProps","definePropType"],"mappings":";;;;;;;AACY,MAAC,kBAAkB,GAAGA,kBAAU,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,EAAEC,sBAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAEA,sBAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"root.js","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":["ref","computed","isPropAbsent","isNumber","useTimeoutFn","unref","TOOLTIP_V2_OPEN","watch","onMounted","onBeforeUnmount","provide","tooltipV2RootKey"],"mappings":";;;;;;;;;;;;;;;;uCAoBc,CAAA;AAAA,EACZ,IAAM,EAAA,iBAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAOA,IAAM,MAAA,KAAA,GAAQA,OAAI,CAAA,KAAA,CAAM,WAAW,CAAA,CAAA;AACnC,IAAM,MAAA,UAAA,GAAaA,QAAwB,IAAI,CAAA,CAAA;AAE/C,IAAA,MAAM,OAAOC,YAAkB,CAAA;AAAA,MAC7B,GAAA,EAAK,MAAOC,kBAAa,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,GAAAD,YAAe,CAAM,MAAAE,aAAA,CAAA,KAAe,cAC3C,CAAA,IAAA,KAAA,CAAA,aAAA,GAAA,CAAA,CAAA,CAAA;AACJ,IAAA,MAAA,EAAa,KAAA,EAAA,aAAA,EAAA,IAAA,EAAA,UAAA,EAAA,GAAAC,iBAAA,CAAA,MAAA;AAAA,MAEf,IAAA,CAAA,KAAS,GAAM,IAAA,CAAA;AACf,KAAA,EACaH,YAAA,CAAA,MAAA,KAAA,CAAA,aAAA,CAAA,EAAA;AAAA,MAEf,SAAA,EAAA,KAAA;AAEA,KAAM,CAAA,CAAA;AAEN,IAAA,MAAM,uBAAkB,CAAA,YAAA,CAAA,CAAA;AAExB,IAAA,MAAM,yBAAqB,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,MACxDI,SAAA,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,CAAAC,yBAAA,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,IAASC,SAAA,CAAA,IAAA,EAAA,QAAA,CAAA,CAAA;AAAyC,IACpDC,aAAC,CAAA,MAAA;AAED,MAAA,QAAA,CAAA,gBAAsB,CAAAF,yBAAA,EAAA,OAAA,CAAA,CAAA;AACpB,KAAW,CAAA,CAAA;AACX,IAASG,mBAAA,CAAA,MAAA;AAA4C,MACtD,UAAA,EAAA,CAAA;AAED,MAAA,QAA0B,CAAA,mBAAA,CAAAH,yBAAA,EAAA,OAAA,CAAA,CAAA;AAAA,KACxB,CAAA,CAAA;AAAA,IACAI,WAAA,CAAAC,0BAAA,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;;;;;;;;;;;;"}
@@ -2,90 +2,26 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var vue = require('vue');
6
- var core = require('@vueuse/core');
7
- require('../../../hooks/index.js');
8
5
  require('../../../utils/index.js');
9
- require('../../../tokens/index.js');
10
- var root = require('./root.js');
11
- var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
12
- var types = require('../../../utils/types.js');
13
- var index = require('../../../hooks/use-namespace/index.js');
14
- var index$1 = require('../../../hooks/use-id/index.js');
15
- var tooltipV2 = require('../../../tokens/tooltip-v2.js');
6
+ var runtime = require('../../../utils/vue/props/runtime.js');
16
7
 
17
- const __default__ = vue.defineComponent({
18
- name: "ElTooltipV2Root"
19
- });
20
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
- ...__default__,
22
- props: root.tooltipV2RootProps,
23
- setup(__props, { expose }) {
24
- const props = __props;
25
- const _open = vue.ref(props.defaultOpen);
26
- const triggerRef = vue.ref(null);
27
- const open = vue.computed({
28
- get: () => types.isPropAbsent(props.open) ? _open.value : props.open,
29
- set: (open2) => {
30
- var _a;
31
- _open.value = open2;
32
- (_a = props["onUpdate:open"]) == null ? void 0 : _a.call(props, open2);
33
- }
34
- });
35
- const isOpenDelayed = vue.computed(() => core.isNumber(props.delayDuration) && props.delayDuration > 0);
36
- const { start: onDelayedOpen, stop: clearTimer } = core.useTimeoutFn(() => {
37
- open.value = true;
38
- }, vue.computed(() => props.delayDuration), {
39
- immediate: false
40
- });
41
- const ns = index.useNamespace("tooltip-v2");
42
- const contentId = index$1.useId();
43
- const onNormalOpen = () => {
44
- clearTimer();
45
- open.value = true;
46
- };
47
- const onDelayOpen = () => {
48
- vue.unref(isOpenDelayed) ? onDelayedOpen() : onNormalOpen();
49
- };
50
- const onOpen = onNormalOpen;
51
- const onClose = () => {
52
- clearTimer();
53
- open.value = false;
54
- };
55
- const onChange = (open2) => {
56
- var _a;
57
- if (open2) {
58
- document.dispatchEvent(new CustomEvent(tooltipV2.TOOLTIP_V2_OPEN));
59
- onOpen();
60
- }
61
- (_a = props.onOpenChange) == null ? void 0 : _a.call(props, open2);
62
- };
63
- vue.watch(open, onChange);
64
- vue.onMounted(() => {
65
- document.addEventListener(tooltipV2.TOOLTIP_V2_OPEN, onClose);
66
- });
67
- vue.onBeforeUnmount(() => {
68
- clearTimer();
69
- document.removeEventListener(tooltipV2.TOOLTIP_V2_OPEN, onClose);
70
- });
71
- vue.provide(tooltipV2.tooltipV2RootKey, {
72
- contentId,
73
- triggerRef,
74
- ns,
75
- onClose,
76
- onDelayOpen,
77
- onOpen
78
- });
79
- expose({
80
- onOpen,
81
- onClose
82
- });
83
- return (_ctx, _cache) => {
84
- return vue.renderSlot(_ctx.$slots, "default", { open: vue.unref(open) });
85
- };
8
+ const tooltipV2RootProps = runtime.buildProps({
9
+ delayDuration: {
10
+ type: Number,
11
+ default: 300
12
+ },
13
+ defaultOpen: Boolean,
14
+ open: {
15
+ type: Boolean,
16
+ default: void 0
17
+ },
18
+ onOpenChange: {
19
+ type: runtime.definePropType(Function)
20
+ },
21
+ "onUpdate:open": {
22
+ type: runtime.definePropType(Function)
86
23
  }
87
24
  });
88
- var TooltipV2Root = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/Users/st/Desktop/vue/nxx-ui/packages/components/tooltip-v2/src/root.vue"]]);
89
25
 
90
- exports["default"] = TooltipV2Root;
26
+ exports.tooltipV2RootProps = tooltipV2RootProps;
91
27
  //# sourceMappingURL=root2.js.map