yc-design-vue 1.0.2 → 1.0.4

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 (577) hide show
  1. package/es/Affix/index.vue.js +1 -1
  2. package/es/Affix/type.d.ts +3 -2
  3. package/es/Alert/index.vue2.js +1 -1
  4. package/es/Alert/type.d.ts +6 -5
  5. package/es/Anchor/Anchor.vue2.js +1 -1
  6. package/es/Anchor/AnchorLink.vue2.js +1 -1
  7. package/es/Anchor/hooks/useContext.js +1 -1
  8. package/es/Anchor/type.d.ts +4 -3
  9. package/es/AutoComplete/index.d.ts +65 -2
  10. package/es/AutoComplete/index.vue.d.ts +130 -4
  11. package/es/AutoComplete/index.vue.js +1 -1
  12. package/es/AutoComplete/type.d.ts +5 -4
  13. package/es/Avatar/Avatar.vue2.js +1 -1
  14. package/es/Avatar/AvatarGroup.vue.js +1 -1
  15. package/es/Avatar/AvatarGroup.vue2.js +3 -3
  16. package/es/Avatar/type.d.ts +4 -4
  17. package/es/BackTop/index.vue2.js +1 -1
  18. package/es/BackTop/type.d.ts +2 -1
  19. package/es/Badge/index.vue.js +1 -1
  20. package/es/Badge/index.vue2.js +3 -3
  21. package/es/Badge/type.d.ts +3 -3
  22. package/es/Breadcrumb/Breadcrumb.vue2.js +1 -1
  23. package/es/Breadcrumb/BreadcrumbItem.vue2.js +1 -1
  24. package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  25. package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  26. package/es/Breadcrumb/type.d.ts +9 -8
  27. package/es/Button/Button.vue.js +1 -1
  28. package/es/Button/Button.vue2.js +2 -2
  29. package/es/Button/type.d.ts +4 -3
  30. package/es/Calendar/Calendar.vue2.js +1 -1
  31. package/es/Calendar/CalendarMonth.vue2.js +1 -1
  32. package/es/Calendar/CalendarYear.vue2.js +1 -1
  33. package/es/Calendar/type.d.ts +5 -4
  34. package/es/Card/CardMeta.vue2.js +1 -1
  35. package/es/Card/type.d.ts +10 -10
  36. package/es/Carousel/Carousel.vue2.js +1 -1
  37. package/es/Carousel/CarouselArrow.vue2.js +1 -1
  38. package/es/Carousel/CarouselIndicator.vue2.js +1 -1
  39. package/es/Carousel/hooks/useContext.js +1 -1
  40. package/es/Carousel/type.d.ts +3 -2
  41. package/es/Cascader/Cascader.vue2.js +1 -1
  42. package/es/Cascader/CascaderIcon.vue2.js +1 -1
  43. package/es/Cascader/CascaderOption.vue2.js +1 -1
  44. package/es/Cascader/hooks/useContext.js +1 -1
  45. package/es/Cascader/type.d.ts +10 -10
  46. package/es/Checkbox/Checkbox.vue2.js +1 -1
  47. package/es/Checkbox/hooks/useContext.d.ts +2 -5
  48. package/es/Checkbox/hooks/useContext.js +1 -1
  49. package/es/Checkbox/type.d.ts +9 -8
  50. package/es/Collapse/CollapseItem.vue2.js +1 -1
  51. package/es/Collapse/hooks/useContext.js +1 -1
  52. package/es/Collapse/type.d.ts +9 -8
  53. package/es/ColorPicker/ColorControl.vue2.js +1 -1
  54. package/es/ColorPicker/ColorInput.vue2.js +1 -1
  55. package/es/ColorPicker/ColorPalette.vue2.js +1 -1
  56. package/es/Comment/index.vue2.js +1 -1
  57. package/es/Comment/type.d.ts +7 -6
  58. package/es/ConfigProvider/index.vue.js +2 -2
  59. package/es/ConfigProvider/type.d.ts +5 -4
  60. package/es/Descriptions/ReuseItem.vue2.js +1 -1
  61. package/es/Descriptions/ReuseTd.vue2.js +1 -1
  62. package/es/Descriptions/type.d.ts +9 -9
  63. package/es/Divider/index.vue2.js +1 -1
  64. package/es/Divider/type.d.ts +2 -1
  65. package/es/Drawer/Drawer.vue2.js +1 -0
  66. package/es/Drawer/DrawerService.vue.js +1 -1
  67. package/es/Drawer/type.d.ts +5 -5
  68. package/es/Dropdown/Dropdown.vue.js +1 -1
  69. package/es/Dropdown/DropdownButton.vue.js +1 -1
  70. package/es/Dropdown/Dsubmenu.vue.d.ts +130 -4
  71. package/es/Dropdown/Dsubmenu.vue2.js +1 -1
  72. package/es/Dropdown/hooks/useContext.js +1 -1
  73. package/es/Dropdown/index.d.ts +65 -2
  74. package/es/Dropdown/type.d.ts +15 -14
  75. package/es/Empty/index.vue2.js +1 -1
  76. package/es/Empty/type.d.ts +2 -1
  77. package/es/Grid/Grid.vue2.js +1 -1
  78. package/es/Grid/GridCol.vue.js +1 -1
  79. package/es/Grid/GridItem.vue.js +1 -1
  80. package/es/Grid/GridRow.vue2.js +1 -1
  81. package/es/Grid/hooks/useContext.js +1 -1
  82. package/es/Grid/type.d.ts +6 -5
  83. package/es/Icon/index.js +1 -1
  84. package/es/Icon/index.vue2.js +1 -1
  85. package/es/Icon/type.d.ts +2 -1
  86. package/es/Image/Image.vue2.js +1 -1
  87. package/es/Image/ImagePreview.vue2.js +1 -1
  88. package/es/Image/ImagePreviewArrow.vue2.js +1 -1
  89. package/es/Image/ImagePreviewToolbar.vue2.js +1 -1
  90. package/es/Image/hooks/useContext.js +1 -1
  91. package/es/Image/type.d.ts +11 -10
  92. package/es/Input/Input.vue2.js +1 -0
  93. package/es/Input/InputSuffix.vue2.js +1 -1
  94. package/es/Input/hooks/useCursor.d.ts +2 -1
  95. package/es/Input/hooks/useCursor.js +2 -2
  96. package/es/Input/hooks/useLimitedInput.js +1 -1
  97. package/es/Input/type.d.ts +6 -5
  98. package/es/InputNumber/InputNumber.vue2.js +1 -1
  99. package/es/InputNumber/InputOperaBtn.vue2.js +1 -1
  100. package/es/InputNumber/type.d.ts +8 -8
  101. package/es/InputTag/index.vue2.js +1 -0
  102. package/es/InputTag/type.d.ts +5 -4
  103. package/es/Layout/Layout.vue.js +1 -1
  104. package/es/Layout/Layout.vue2.js +3 -3
  105. package/es/Layout/LayoutSider.vue2.js +1 -1
  106. package/es/Layout/type.d.ts +8 -7
  107. package/es/Link/index.vue2.js +1 -1
  108. package/es/Link/type.d.ts +3 -2
  109. package/es/List/hooks/useScrollReach.js +1 -1
  110. package/es/List/type.d.ts +15 -14
  111. package/es/Mention/index.d.ts +65 -2
  112. package/es/Mention/index.vue.d.ts +130 -4
  113. package/es/Mention/index.vue.js +1 -1
  114. package/es/Mention/type.d.ts +3 -2
  115. package/es/Menu/Menu.vue2.js +1 -1
  116. package/es/Menu/MenuEllipsis.vue2.js +1 -1
  117. package/es/Menu/MenuItem.vue2.js +1 -1
  118. package/es/Menu/MenuItemGroup.vue2.js +1 -1
  119. package/es/Menu/SubMenu.vue2.js +1 -1
  120. package/es/Menu/hooks/useContext.js +1 -1
  121. package/es/Menu/type.d.ts +11 -10
  122. package/es/Message/Message.vue2.js +1 -1
  123. package/es/Message/index.js +1 -1
  124. package/es/Message/type.d.ts +1 -1
  125. package/es/Modal/Modal.vue2.js +1 -0
  126. package/es/Modal/ModalService.vue.js +1 -1
  127. package/es/Modal/hooks/useModalClose.js +1 -1
  128. package/es/Modal/hooks/useModalDraggable.js +1 -1
  129. package/es/Modal/hooks/useOnBeforeClose.js +1 -1
  130. package/es/Modal/type.d.ts +5 -5
  131. package/es/Notification/Notification.vue2.js +1 -1
  132. package/es/Notification/index.js +1 -1
  133. package/es/Notification/type.d.ts +1 -1
  134. package/es/OverflowList/index.vue.js +1 -1
  135. package/es/OverflowList/index.vue2.js +3 -3
  136. package/es/OverflowList/type.d.ts +3 -2
  137. package/es/PageHeader/index.vue2.js +1 -1
  138. package/es/PageHeader/type.d.ts +7 -6
  139. package/es/Pagination/Pagination.vue2.js +1 -1
  140. package/es/Pagination/PaginationItem.vue2.js +1 -1
  141. package/es/Pagination/type.d.ts +8 -8
  142. package/es/Popconfirm/index.d.ts +65 -2
  143. package/es/Popconfirm/index.vue.d.ts +130 -4
  144. package/es/Popconfirm/index.vue.js +1 -1
  145. package/es/Popconfirm/type.d.ts +4 -4
  146. package/es/Popover/index.vue.js +1 -1
  147. package/es/Popover/type.d.ts +4 -4
  148. package/es/Progress/ProgressCircle.vue2.js +2 -2
  149. package/es/Progress/ProgressLine.vue2.js +1 -1
  150. package/es/Progress/ProgressSteps.vue.js +1 -1
  151. package/es/Radio/Radio.vue2.js +1 -1
  152. package/es/Radio/hooks/useContext.d.ts +3 -6
  153. package/es/Radio/type.d.ts +9 -8
  154. package/es/Rate/index.vue2.js +1 -1
  155. package/es/Rate/type.d.ts +3 -2
  156. package/es/ResizeBox/index.vue2.js +1 -1
  157. package/es/ResizeBox/type.d.ts +6 -5
  158. package/es/Result/type.d.ts +6 -5
  159. package/es/Scrollbar/ScrollbarTrack.vue2.js +1 -1
  160. package/es/Scrollbar/type.d.ts +2 -2
  161. package/es/Select/Option.vue2.js +1 -1
  162. package/es/Select/Select.vue.d.ts +130 -4
  163. package/es/Select/Select.vue2.js +1 -1
  164. package/es/Select/SelectIcon.vue2.js +1 -1
  165. package/es/Select/SelectRealList.vue2.js +1 -1
  166. package/es/Select/SelectVirtualList.vue2.js +1 -1
  167. package/es/Select/hooks/useContext.js +1 -1
  168. package/es/Select/hooks/useSelectOptions.js +1 -1
  169. package/es/Select/index.d.ts +65 -2
  170. package/es/Select/type.d.ts +19 -18
  171. package/es/Skeleton/SkeletonLine.vue2.js +1 -1
  172. package/es/Skeleton/type.d.ts +3 -2
  173. package/es/Slider/SliderBtn.vue2.js +1 -1
  174. package/es/Slider/hooks/useContext.js +1 -1
  175. package/es/Slider/hooks/useSliderDraggable.js +1 -1
  176. package/es/Space/index.vue.js +1 -1
  177. package/es/Space/index.vue2.js +3 -3
  178. package/es/Space/type.d.ts +3 -2
  179. package/es/Spin/type.d.ts +4 -3
  180. package/es/Split/index.vue2.js +1 -1
  181. package/es/Split/type.d.ts +5 -4
  182. package/es/Statistic/Countdown.vue.js +1 -1
  183. package/es/Statistic/Statistic.vue2.js +1 -1
  184. package/es/Statistic/type.d.ts +7 -7
  185. package/es/Steps/Step.vue2.js +1 -1
  186. package/es/Steps/hooks/useContext.js +1 -1
  187. package/es/Steps/type.d.ts +8 -7
  188. package/es/Switch/index.vue.js +1 -1
  189. package/es/Switch/index.vue2.js +3 -3
  190. package/es/Switch/type.d.ts +5 -4
  191. package/es/Tabs/TabButton.vue2.js +1 -1
  192. package/es/Tabs/TabPane.vue.js +1 -1
  193. package/es/Tabs/Tabs.vue.js +1 -1
  194. package/es/Tabs/Tabs.vue2.js +3 -3
  195. package/es/Tabs/TabsNavInk.vue2.js +1 -1
  196. package/es/Tabs/TabsTab.vue2.js +1 -1
  197. package/es/Tabs/hooks/useTabsScroll.js +1 -1
  198. package/es/Tabs/type.d.ts +5 -4
  199. package/es/Tag/index.vue2.js +1 -0
  200. package/es/Tag/type.d.ts +4 -3
  201. package/es/Textarea/hooks/useTextareaHeight.js +1 -1
  202. package/es/Textarea/index.vue2.js +1 -1
  203. package/es/TimePicker/TimePicker.vue2.js +1 -1
  204. package/es/TimePicker/TimePickerPanel.vue2.js +1 -1
  205. package/es/TimePicker/hooks/useContext.js +1 -1
  206. package/es/TimePicker/type.d.ts +4 -3
  207. package/es/Timeline/Timeline.vue2.js +1 -1
  208. package/es/Timeline/hooks/useContext.js +1 -1
  209. package/es/Timeline/type.d.ts +6 -5
  210. package/es/Tooltip/index.vue.js +1 -1
  211. package/es/Tooltip/type.d.ts +3 -3
  212. package/es/Transfer/Transfer.vue2.js +1 -1
  213. package/es/Transfer/TransferPanel.vue2.js +3 -3
  214. package/es/Transfer/hooks/useContext.js +1 -1
  215. package/es/Transfer/type.d.ts +13 -12
  216. package/es/Trigger/hooks/useContext.js +1 -1
  217. package/es/Trigger/hooks/useTriggerPosition.d.ts +2 -2
  218. package/es/Trigger/hooks/useTriggerPosition.js +11 -20
  219. package/es/Trigger/index.d.ts +63 -2
  220. package/es/Trigger/index.vue.d.ts +130 -3
  221. package/es/Trigger/index.vue.js +1 -1
  222. package/es/Trigger/index.vue2.js +3 -3
  223. package/es/Trigger/type.d.ts +3 -3
  224. package/es/Typography/TypographyBase.vue2.js +3 -3
  225. package/es/Typography/type.d.ts +8 -7
  226. package/es/Watermark/index.vue2.js +1 -1
  227. package/es/Watermark/type.d.ts +2 -1
  228. package/es/_shared/components/ExpandTransition.vue3.js +1 -1
  229. package/es/_shared/{icons/_Icon.vue2.js → components/Icon.vue2.js} +3 -3
  230. package/es/_shared/{icons/_Icon.vue3.js → components/Icon.vue3.js} +2 -2
  231. package/es/_shared/components/IconButton.vue3.js +1 -1
  232. package/es/_shared/components/index.d.ts +1 -0
  233. package/es/_shared/constants/index.js +1 -1
  234. package/es/_shared/icons/IconArrowDown.vue.js +1 -1
  235. package/es/_shared/icons/IconArrowRight.vue.js +1 -1
  236. package/es/_shared/icons/IconCheck.vue.js +1 -1
  237. package/es/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  238. package/es/_shared/icons/IconClose.vue.js +1 -1
  239. package/es/_shared/icons/IconCopy.vue.js +16 -1
  240. package/es/_shared/icons/IconCopy.vue2.js +1 -16
  241. package/es/_shared/icons/IconDelete.vue.js +1 -16
  242. package/es/_shared/icons/IconDelete.vue2.js +16 -1
  243. package/es/_shared/icons/IconDragDot.vue.js +1 -1
  244. package/es/_shared/icons/IconEdit.vue.js +16 -1
  245. package/es/_shared/icons/IconEdit.vue2.js +1 -16
  246. package/es/_shared/icons/IconEmpty.vue.js +1 -1
  247. package/es/_shared/icons/IconError.vue.js +1 -1
  248. package/es/_shared/icons/IconExclamation.vue.js +27 -1
  249. package/es/_shared/icons/IconExclamation.vue2.js +1 -27
  250. package/es/_shared/icons/IconEyeClose.vue2.js +1 -1
  251. package/es/_shared/icons/IconEyeOpen.vue2.js +1 -1
  252. package/es/_shared/icons/IconFaceSmile.vue.js +1 -1
  253. package/es/_shared/icons/IconFullScreen.vue2.js +1 -1
  254. package/es/_shared/icons/IconImageClose.vue.js +1 -1
  255. package/es/_shared/icons/IconInfo.vue.js +1 -1
  256. package/es/_shared/icons/IconInfoLine.vue.js +1 -1
  257. package/es/_shared/icons/IconLink.vue.js +1 -1
  258. package/es/_shared/icons/IconLoading.vue.js +1 -1
  259. package/es/_shared/icons/IconMenuFold.vue.js +1 -1
  260. package/es/_shared/icons/IconMenuUnfold.vue.js +1 -1
  261. package/es/_shared/icons/IconMinus.vue2.js +1 -1
  262. package/es/_shared/icons/IconMore.vue.js +1 -1
  263. package/es/_shared/icons/IconOriginSize.vue2.js +1 -1
  264. package/es/_shared/icons/IconPlus.vue.js +1 -1
  265. package/es/_shared/icons/IconRight.vue.js +1 -1
  266. package/es/_shared/icons/IconRotateLeft.vue2.js +1 -1
  267. package/es/_shared/icons/IconRotateRight.vue2.js +1 -1
  268. package/es/_shared/icons/IconSearch.vue.js +1 -16
  269. package/es/_shared/icons/IconSearch.vue2.js +16 -1
  270. package/es/_shared/icons/IconSeparator.vue2.js +1 -1
  271. package/es/_shared/icons/IconStar.vue.js +1 -1
  272. package/es/_shared/icons/IconSuccess.vue.js +1 -1
  273. package/es/_shared/icons/IconTime.vue.js +1 -1
  274. package/es/_shared/icons/IconToTop.vue.js +1 -1
  275. package/es/_shared/icons/IconWarning.vue.js +1 -1
  276. package/es/_shared/icons/IconZoomIn.vue2.js +1 -1
  277. package/es/_shared/icons/IconZoomOut.vue2.js +1 -1
  278. package/es/_shared/utils/control.js +1 -1
  279. package/es/_shared/utils/dom.d.ts +4 -4
  280. package/es/_shared/utils/dom.js +6 -6
  281. package/es/_shared/utils/fn.d.ts +3 -3
  282. package/es/_shared/utils/fn.js +6 -6
  283. package/es/_shared/utils/global-config.d.ts +4 -2
  284. package/es/_shared/utils/global-config.js +1 -1
  285. package/es/index.d.ts +65 -2
  286. package/es/style.css +1 -1
  287. package/lib/Affix/index.vue.js +1 -1
  288. package/lib/Affix/type.d.ts +3 -2
  289. package/lib/Alert/index.vue2.js +1 -1
  290. package/lib/Alert/type.d.ts +6 -5
  291. package/lib/Anchor/Anchor.vue2.js +1 -1
  292. package/lib/Anchor/AnchorLink.vue2.js +1 -1
  293. package/lib/Anchor/hooks/useContext.js +1 -1
  294. package/lib/Anchor/type.d.ts +4 -3
  295. package/lib/AutoComplete/index.d.ts +65 -2
  296. package/lib/AutoComplete/index.vue.d.ts +130 -4
  297. package/lib/AutoComplete/index.vue.js +1 -1
  298. package/lib/AutoComplete/type.d.ts +5 -4
  299. package/lib/Avatar/Avatar.vue2.js +1 -1
  300. package/lib/Avatar/AvatarGroup.vue.js +1 -1
  301. package/lib/Avatar/AvatarGroup.vue2.js +1 -1
  302. package/lib/Avatar/type.d.ts +4 -4
  303. package/lib/BackTop/index.vue2.js +1 -1
  304. package/lib/BackTop/type.d.ts +2 -1
  305. package/lib/Badge/index.vue.js +1 -1
  306. package/lib/Badge/index.vue2.js +1 -1
  307. package/lib/Badge/type.d.ts +3 -3
  308. package/lib/Breadcrumb/Breadcrumb.vue2.js +1 -1
  309. package/lib/Breadcrumb/BreadcrumbItem.vue2.js +1 -1
  310. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  311. package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  312. package/lib/Breadcrumb/type.d.ts +9 -8
  313. package/lib/Button/Button.vue.js +1 -1
  314. package/lib/Button/Button.vue2.js +1 -1
  315. package/lib/Button/type.d.ts +4 -3
  316. package/lib/Calendar/Calendar.vue2.js +1 -1
  317. package/lib/Calendar/CalendarMonth.vue2.js +1 -1
  318. package/lib/Calendar/CalendarYear.vue2.js +1 -1
  319. package/lib/Calendar/type.d.ts +5 -4
  320. package/lib/Card/CardMeta.vue2.js +1 -1
  321. package/lib/Card/type.d.ts +10 -10
  322. package/lib/Carousel/Carousel.vue2.js +1 -1
  323. package/lib/Carousel/CarouselArrow.vue2.js +1 -1
  324. package/lib/Carousel/CarouselIndicator.vue2.js +1 -1
  325. package/lib/Carousel/hooks/useContext.js +1 -1
  326. package/lib/Carousel/type.d.ts +3 -2
  327. package/lib/Cascader/Cascader.vue2.js +1 -1
  328. package/lib/Cascader/CascaderIcon.vue2.js +1 -1
  329. package/lib/Cascader/CascaderOption.vue2.js +1 -1
  330. package/lib/Cascader/hooks/useContext.js +1 -1
  331. package/lib/Cascader/type.d.ts +10 -10
  332. package/lib/Checkbox/Checkbox.vue2.js +1 -1
  333. package/lib/Checkbox/hooks/useContext.d.ts +2 -5
  334. package/lib/Checkbox/hooks/useContext.js +1 -1
  335. package/lib/Checkbox/type.d.ts +9 -8
  336. package/lib/Collapse/CollapseItem.vue2.js +1 -1
  337. package/lib/Collapse/hooks/useContext.js +1 -1
  338. package/lib/Collapse/type.d.ts +9 -8
  339. package/lib/ColorPicker/ColorControl.vue2.js +1 -1
  340. package/lib/ColorPicker/ColorInput.vue2.js +1 -1
  341. package/lib/ColorPicker/ColorPalette.vue2.js +1 -1
  342. package/lib/Comment/index.vue2.js +1 -1
  343. package/lib/Comment/type.d.ts +7 -6
  344. package/lib/ConfigProvider/index.vue.js +1 -1
  345. package/lib/ConfigProvider/type.d.ts +5 -4
  346. package/lib/Descriptions/ReuseItem.vue2.js +1 -1
  347. package/lib/Descriptions/ReuseTd.vue2.js +1 -1
  348. package/lib/Descriptions/type.d.ts +9 -9
  349. package/lib/Divider/index.vue2.js +1 -1
  350. package/lib/Divider/type.d.ts +2 -1
  351. package/lib/Drawer/Drawer.vue2.js +1 -1
  352. package/lib/Drawer/DrawerService.vue.js +1 -1
  353. package/lib/Drawer/type.d.ts +5 -5
  354. package/lib/Dropdown/Dropdown.vue.js +1 -1
  355. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  356. package/lib/Dropdown/Dsubmenu.vue.d.ts +130 -4
  357. package/lib/Dropdown/Dsubmenu.vue2.js +1 -1
  358. package/lib/Dropdown/hooks/useContext.js +1 -1
  359. package/lib/Dropdown/index.d.ts +65 -2
  360. package/lib/Dropdown/type.d.ts +15 -14
  361. package/lib/Empty/index.vue2.js +1 -1
  362. package/lib/Empty/type.d.ts +2 -1
  363. package/lib/Grid/Grid.vue2.js +1 -1
  364. package/lib/Grid/GridCol.vue.js +1 -1
  365. package/lib/Grid/GridItem.vue.js +1 -1
  366. package/lib/Grid/GridRow.vue2.js +1 -1
  367. package/lib/Grid/hooks/useContext.js +1 -1
  368. package/lib/Grid/type.d.ts +6 -5
  369. package/lib/Icon/index.js +1 -1
  370. package/lib/Icon/index.vue2.js +1 -1
  371. package/lib/Icon/type.d.ts +2 -1
  372. package/lib/Image/Image.vue2.js +1 -1
  373. package/lib/Image/ImagePreview.vue2.js +1 -1
  374. package/lib/Image/ImagePreviewArrow.vue2.js +1 -1
  375. package/lib/Image/ImagePreviewToolbar.vue2.js +1 -1
  376. package/lib/Image/hooks/useContext.js +1 -1
  377. package/lib/Image/type.d.ts +11 -10
  378. package/lib/Input/Input.vue2.js +1 -1
  379. package/lib/Input/InputSuffix.vue2.js +1 -1
  380. package/lib/Input/hooks/useCursor.d.ts +2 -1
  381. package/lib/Input/hooks/useCursor.js +1 -1
  382. package/lib/Input/hooks/useLimitedInput.js +1 -1
  383. package/lib/Input/type.d.ts +6 -5
  384. package/lib/InputNumber/InputNumber.vue2.js +1 -1
  385. package/lib/InputNumber/InputOperaBtn.vue2.js +1 -1
  386. package/lib/InputNumber/type.d.ts +8 -8
  387. package/lib/InputTag/index.vue2.js +1 -1
  388. package/lib/InputTag/type.d.ts +5 -4
  389. package/lib/Layout/Layout.vue.js +1 -1
  390. package/lib/Layout/Layout.vue2.js +1 -1
  391. package/lib/Layout/LayoutSider.vue2.js +1 -1
  392. package/lib/Layout/type.d.ts +8 -7
  393. package/lib/Link/index.vue2.js +1 -1
  394. package/lib/Link/type.d.ts +3 -2
  395. package/lib/List/hooks/useScrollReach.js +1 -1
  396. package/lib/List/type.d.ts +15 -14
  397. package/lib/Mention/index.d.ts +65 -2
  398. package/lib/Mention/index.vue.d.ts +130 -4
  399. package/lib/Mention/index.vue.js +1 -1
  400. package/lib/Mention/type.d.ts +3 -2
  401. package/lib/Menu/Menu.vue2.js +1 -1
  402. package/lib/Menu/MenuEllipsis.vue2.js +1 -1
  403. package/lib/Menu/MenuItem.vue2.js +1 -1
  404. package/lib/Menu/MenuItemGroup.vue2.js +1 -1
  405. package/lib/Menu/SubMenu.vue2.js +1 -1
  406. package/lib/Menu/hooks/useContext.js +1 -1
  407. package/lib/Menu/type.d.ts +11 -10
  408. package/lib/Message/Message.vue2.js +1 -1
  409. package/lib/Message/index.js +1 -1
  410. package/lib/Message/type.d.ts +1 -1
  411. package/lib/Modal/Modal.vue2.js +1 -1
  412. package/lib/Modal/ModalService.vue.js +1 -1
  413. package/lib/Modal/hooks/useModalClose.js +1 -1
  414. package/lib/Modal/hooks/useModalDraggable.js +1 -1
  415. package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
  416. package/lib/Modal/type.d.ts +5 -5
  417. package/lib/Notification/Notification.vue2.js +1 -1
  418. package/lib/Notification/index.js +1 -1
  419. package/lib/Notification/type.d.ts +1 -1
  420. package/lib/OverflowList/index.vue.js +1 -1
  421. package/lib/OverflowList/index.vue2.js +1 -1
  422. package/lib/OverflowList/type.d.ts +3 -2
  423. package/lib/PageHeader/index.vue2.js +1 -1
  424. package/lib/PageHeader/type.d.ts +7 -6
  425. package/lib/Pagination/Pagination.vue2.js +1 -1
  426. package/lib/Pagination/PaginationItem.vue2.js +1 -1
  427. package/lib/Pagination/type.d.ts +8 -8
  428. package/lib/Popconfirm/index.d.ts +65 -2
  429. package/lib/Popconfirm/index.vue.d.ts +130 -4
  430. package/lib/Popconfirm/index.vue.js +1 -1
  431. package/lib/Popconfirm/type.d.ts +4 -4
  432. package/lib/Popover/index.vue.js +1 -1
  433. package/lib/Popover/type.d.ts +4 -4
  434. package/lib/Progress/ProgressCircle.vue2.js +1 -1
  435. package/lib/Progress/ProgressLine.vue2.js +1 -1
  436. package/lib/Progress/ProgressSteps.vue.js +1 -1
  437. package/lib/Radio/Radio.vue2.js +1 -1
  438. package/lib/Radio/hooks/useContext.d.ts +3 -6
  439. package/lib/Radio/type.d.ts +9 -8
  440. package/lib/Rate/index.vue2.js +1 -1
  441. package/lib/Rate/type.d.ts +3 -2
  442. package/lib/ResizeBox/index.vue2.js +1 -1
  443. package/lib/ResizeBox/type.d.ts +6 -5
  444. package/lib/Result/type.d.ts +6 -5
  445. package/lib/Scrollbar/ScrollbarTrack.vue2.js +1 -1
  446. package/lib/Scrollbar/type.d.ts +2 -2
  447. package/lib/Select/Option.vue2.js +1 -1
  448. package/lib/Select/Select.vue.d.ts +130 -4
  449. package/lib/Select/Select.vue2.js +1 -1
  450. package/lib/Select/SelectIcon.vue2.js +1 -1
  451. package/lib/Select/SelectRealList.vue2.js +1 -1
  452. package/lib/Select/SelectVirtualList.vue2.js +1 -1
  453. package/lib/Select/hooks/useContext.js +1 -1
  454. package/lib/Select/hooks/useSelectOptions.js +1 -1
  455. package/lib/Select/index.d.ts +65 -2
  456. package/lib/Select/type.d.ts +19 -18
  457. package/lib/Skeleton/SkeletonLine.vue2.js +1 -1
  458. package/lib/Skeleton/type.d.ts +3 -2
  459. package/lib/Slider/SliderBtn.vue2.js +1 -1
  460. package/lib/Slider/hooks/useContext.js +1 -1
  461. package/lib/Slider/hooks/useSliderDraggable.js +1 -1
  462. package/lib/Space/index.vue.js +1 -1
  463. package/lib/Space/index.vue2.js +1 -1
  464. package/lib/Space/type.d.ts +3 -2
  465. package/lib/Spin/type.d.ts +4 -3
  466. package/lib/Split/index.vue2.js +1 -1
  467. package/lib/Split/type.d.ts +5 -4
  468. package/lib/Statistic/Countdown.vue.js +1 -1
  469. package/lib/Statistic/Statistic.vue2.js +1 -1
  470. package/lib/Statistic/type.d.ts +7 -7
  471. package/lib/Steps/Step.vue2.js +1 -1
  472. package/lib/Steps/hooks/useContext.js +1 -1
  473. package/lib/Steps/type.d.ts +8 -7
  474. package/lib/Switch/index.vue.js +1 -1
  475. package/lib/Switch/index.vue2.js +1 -1
  476. package/lib/Switch/type.d.ts +5 -4
  477. package/lib/Tabs/TabButton.vue2.js +1 -1
  478. package/lib/Tabs/TabPane.vue.js +1 -1
  479. package/lib/Tabs/Tabs.vue.js +1 -1
  480. package/lib/Tabs/Tabs.vue2.js +1 -1
  481. package/lib/Tabs/TabsNavInk.vue2.js +1 -1
  482. package/lib/Tabs/TabsTab.vue2.js +1 -1
  483. package/lib/Tabs/hooks/useTabsScroll.js +1 -1
  484. package/lib/Tabs/type.d.ts +5 -4
  485. package/lib/Tag/index.vue2.js +1 -1
  486. package/lib/Tag/type.d.ts +4 -3
  487. package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
  488. package/lib/Textarea/index.vue2.js +1 -1
  489. package/lib/TimePicker/TimePicker.vue2.js +1 -1
  490. package/lib/TimePicker/TimePickerPanel.vue2.js +1 -1
  491. package/lib/TimePicker/hooks/useContext.js +1 -1
  492. package/lib/TimePicker/type.d.ts +4 -3
  493. package/lib/Timeline/Timeline.vue2.js +1 -1
  494. package/lib/Timeline/hooks/useContext.js +1 -1
  495. package/lib/Timeline/type.d.ts +6 -5
  496. package/lib/Tooltip/index.vue.js +1 -1
  497. package/lib/Tooltip/type.d.ts +3 -3
  498. package/lib/Transfer/Transfer.vue2.js +1 -1
  499. package/lib/Transfer/TransferPanel.vue2.js +1 -1
  500. package/lib/Transfer/hooks/useContext.js +1 -1
  501. package/lib/Transfer/type.d.ts +13 -12
  502. package/lib/Trigger/hooks/useContext.js +1 -1
  503. package/lib/Trigger/hooks/useTriggerPosition.d.ts +2 -2
  504. package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
  505. package/lib/Trigger/index.d.ts +63 -2
  506. package/lib/Trigger/index.vue.d.ts +130 -3
  507. package/lib/Trigger/index.vue.js +1 -1
  508. package/lib/Trigger/index.vue2.js +1 -1
  509. package/lib/Trigger/type.d.ts +3 -3
  510. package/lib/Typography/TypographyBase.vue2.js +1 -1
  511. package/lib/Typography/type.d.ts +8 -7
  512. package/lib/Watermark/index.vue2.js +1 -1
  513. package/lib/Watermark/type.d.ts +2 -1
  514. package/lib/_shared/components/ExpandTransition.vue3.js +1 -1
  515. package/lib/_shared/components/Icon.vue2.js +1 -0
  516. package/lib/_shared/components/Icon.vue3.js +1 -0
  517. package/lib/_shared/components/IconButton.vue3.js +1 -1
  518. package/lib/_shared/components/index.d.ts +1 -0
  519. package/lib/_shared/constants/index.js +1 -1
  520. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  521. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  522. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  523. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  524. package/lib/_shared/icons/IconClose.vue.js +1 -1
  525. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  526. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  527. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  528. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  529. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  530. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  531. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  532. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  533. package/lib/_shared/icons/IconError.vue.js +1 -1
  534. package/lib/_shared/icons/IconExclamation.vue.js +1 -1
  535. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  536. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  537. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  538. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  539. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  540. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  541. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  542. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  543. package/lib/_shared/icons/IconLink.vue.js +1 -1
  544. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  545. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  546. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  547. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  548. package/lib/_shared/icons/IconMore.vue.js +1 -1
  549. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  550. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  551. package/lib/_shared/icons/IconRight.vue.js +1 -1
  552. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  553. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  554. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  555. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  556. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  557. package/lib/_shared/icons/IconStar.vue.js +1 -1
  558. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  559. package/lib/_shared/icons/IconTime.vue.js +1 -1
  560. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  561. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  562. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  563. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  564. package/lib/_shared/utils/control.js +1 -1
  565. package/lib/_shared/utils/dom.d.ts +4 -4
  566. package/lib/_shared/utils/dom.js +1 -1
  567. package/lib/_shared/utils/fn.d.ts +3 -3
  568. package/lib/_shared/utils/fn.js +1 -1
  569. package/lib/_shared/utils/global-config.d.ts +4 -2
  570. package/lib/_shared/utils/global-config.js +1 -1
  571. package/lib/index.d.ts +65 -2
  572. package/lib/style.css +1 -1
  573. package/package.json +2 -2
  574. package/lib/_shared/icons/_Icon.vue2.js +0 -1
  575. package/lib/_shared/icons/_Icon.vue3.js +0 -1
  576. /package/es/_shared/{icons/_Icon.vue.d.ts → components/Icon.vue.d.ts} +0 -0
  577. /package/lib/_shared/{icons/_Icon.vue.d.ts → components/Icon.vue.d.ts} +0 -0
@@ -3,7 +3,7 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import "../../_shared/utils/dom.js";
4
4
  import "../../_shared/utils/time.js";
5
5
  import "../../Empty/index.js";
6
- /* empty css */
6
+ /* empty css */
7
7
  import useControlValue from "../../_shared/utils/control.js";
8
8
  const TRANSFER_CONTEXT_KEY = "transfer-context";
9
9
  const useContext = () => {
@@ -1,4 +1,5 @@
1
1
  import { InputProps } from '../Input';
2
+ import { VNode } from 'vue';
2
3
  export interface TransferProps {
3
4
  data?: TransferItem[];
4
5
  modelValue?: string[];
@@ -22,24 +23,24 @@ export interface TransferEmits {
22
23
  (e: 'search', value: string, type: 'target' | 'source'): void;
23
24
  }
24
25
  export interface TransferSlots {
25
- source(scope: DefaultSlots): void;
26
- target(scope: DefaultSlots): void;
27
- ['source-title'](scope: TitleSlots): void;
28
- ['target-title'](scope: TitleSlots): void;
29
- ['to-source-icon'](): void;
30
- ['to-target-icon'](): void;
31
- item(scope: {
26
+ source?: (scope: DefaultSlots) => VNode[];
27
+ target?: (scope: DefaultSlots) => VNode[];
28
+ 'source-title'?: (scope: TitleSlots) => VNode[];
29
+ 'target-title'?: (scope: TitleSlots) => VNode[];
30
+ 'to-source-icon'?: () => VNode[];
31
+ 'to-target-icon'?: () => VNode[];
32
+ item?: (scope: {
32
33
  value: string;
33
34
  label: string;
34
- }): void;
35
+ }) => VNode[];
35
36
  }
36
37
  export interface TransferPanelSlots {
37
- default(scope: DefaultSlots): void;
38
- ['title'](scope: TitleSlots): void;
39
- item(scope: {
38
+ default: (scope: DefaultSlots) => VNode[];
39
+ title: (scope: TitleSlots) => VNode[];
40
+ item: (scope: {
40
41
  value: string;
41
42
  label: string;
42
- }): void;
43
+ }) => VNode[];
43
44
  }
44
45
  export interface TransferItem {
45
46
  label?: string;
@@ -6,7 +6,7 @@ import "../../_shared/utils/dom.js";
6
6
  import { sleep } from "../../_shared/utils/fn.js";
7
7
  import "../../_shared/utils/time.js";
8
8
  import "../../Empty/index.js";
9
- /* empty css */
9
+ /* empty css */
10
10
  const TRIGGER_CONTEXT_KEY = "trigger-context";
11
11
  const useContext = (params) => {
12
12
  const { trigger, popupRef, computedVisible, mouseEnterDelay } = params;
@@ -19,8 +19,8 @@ declare const _default: (params: {
19
19
  popupHeight: import('vue').ShallowRef<number, number>;
20
20
  triggerWidth: import('vue').ShallowRef<number, number>;
21
21
  triggerHeight: import('vue').ShallowRef<number, number>;
22
- arrowWidth: Ref<number, number>;
23
- arrowHeight: Ref<number, number>;
22
+ arrowWidth: import('vue').ShallowRef<number, number>;
23
+ arrowHeight: import('vue').ShallowRef<number, number>;
24
24
  popupStyle: import('vue').ComputedRef<{
25
25
  top: string;
26
26
  left: string;
@@ -38,7 +38,13 @@ const useTriggerPosition = (params) => {
38
38
  box: "border-box"
39
39
  }
40
40
  );
41
- const { arrowWidth, arrowHeight } = getArrowSize();
41
+ const { width: arrowWidth, height: arrowHeight } = useElementSize(
42
+ arrowRef,
43
+ void 0,
44
+ {
45
+ box: "border-box"
46
+ }
47
+ );
42
48
  const {
43
49
  left,
44
50
  top,
@@ -131,7 +137,7 @@ const useTriggerPosition = (params) => {
131
137
  })
132
138
  };
133
139
  });
134
- function calcPopupOffset() {
140
+ const calcPopupOffset = () => {
135
141
  const [translateX, translateY] = popupTranslate.value;
136
142
  let offsetX = translateX;
137
143
  let offsetY = translateY;
@@ -145,7 +151,7 @@ const useTriggerPosition = (params) => {
145
151
  offsetX = popupOffset.value;
146
152
  }
147
153
  return [offsetX, offsetY];
148
- }
154
+ };
149
155
  const calcPopupPosition = (params2) => {
150
156
  let offsetTop = 0;
151
157
  let offsetLeft = 0;
@@ -220,21 +226,6 @@ const useTriggerPosition = (params) => {
220
226
  }
221
227
  return [newLeft, newTop];
222
228
  };
223
- function getArrowSize() {
224
- if (!showArrow.value) {
225
- return {
226
- arrowWidth: ref(0),
227
- arrowHeight: ref(0)
228
- };
229
- }
230
- const { width, height } = useElementSize(arrowRef, void 0, {
231
- box: "border-box"
232
- });
233
- return {
234
- arrowWidth: width,
235
- arrowHeight: height
236
- };
237
- }
238
229
  const calcArrowPosition = (params2) => {
239
230
  const {
240
231
  position: position2,
@@ -281,7 +272,7 @@ const useTriggerPosition = (params) => {
281
272
  }
282
273
  return inset;
283
274
  };
284
- function calcPositionRef(params2) {
275
+ const calcPositionRef = (params2) => {
285
276
  const {
286
277
  offsetLeft,
287
278
  offsetTop,
@@ -313,7 +304,7 @@ const useTriggerPosition = (params) => {
313
304
  return Math.abs(finalLeft - offsetLeft) < epsilon && Math.abs(finalTop - offsetTop) < epsilon;
314
305
  });
315
306
  return (target == null ? void 0 : target[2]) ?? position.value;
316
- }
307
+ };
317
308
  watch(
318
309
  () => computedVisible.value,
319
310
  async (val) => {
@@ -51,7 +51,68 @@ declare const Trigger: {
51
51
  preventFocus: boolean;
52
52
  scrollToClose: boolean;
53
53
  needTransformOrigin: boolean;
54
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, any, any, import('vue').ComponentProvideOptions, {
54
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
55
+ triggerRef: unknown;
56
+ popupRef: ({
57
+ $: import('vue').ComponentInternalInstance;
58
+ $data: {};
59
+ $props: {
60
+ readonly preventFocus?: boolean | undefined;
61
+ readonly tag?: string | undefined;
62
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
63
+ $attrs: {
64
+ [x: string]: unknown;
65
+ };
66
+ $refs: {
67
+ [x: string]: unknown;
68
+ };
69
+ $slots: Readonly<{
70
+ [name: string]: import('vue').Slot<any> | undefined;
71
+ }>;
72
+ $root: import('vue').ComponentPublicInstance | null;
73
+ $parent: import('vue').ComponentPublicInstance | null;
74
+ $host: Element | null;
75
+ $emit: (event: string, ...args: any[]) => void;
76
+ $el: any;
77
+ $options: import('vue').ComponentOptionsBase<Readonly<{
78
+ preventFocus?: boolean;
79
+ tag?: string;
80
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
81
+ preventFocus: boolean;
82
+ tag: string;
83
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
84
+ beforeCreate?: (() => void) | (() => void)[];
85
+ created?: (() => void) | (() => void)[];
86
+ beforeMount?: (() => void) | (() => void)[];
87
+ mounted?: (() => void) | (() => void)[];
88
+ beforeUpdate?: (() => void) | (() => void)[];
89
+ updated?: (() => void) | (() => void)[];
90
+ activated?: (() => void) | (() => void)[];
91
+ deactivated?: (() => void) | (() => void)[];
92
+ beforeDestroy?: (() => void) | (() => void)[];
93
+ beforeUnmount?: (() => void) | (() => void)[];
94
+ destroyed?: (() => void) | (() => void)[];
95
+ unmounted?: (() => void) | (() => void)[];
96
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
97
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
98
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
99
+ };
100
+ $forceUpdate: () => void;
101
+ $nextTick: typeof import('vue').nextTick;
102
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
103
+ } & Readonly<{
104
+ preventFocus: boolean;
105
+ tag: string;
106
+ }> & Omit<Readonly<{
107
+ preventFocus?: boolean;
108
+ tag?: string;
109
+ }> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
110
+ $slots: {
111
+ default?(_: {}): any;
112
+ };
113
+ }) | null;
114
+ arrowRef: HTMLDivElement;
115
+ }, any, import('vue').ComponentProvideOptions, {
55
116
  P: {};
56
117
  B: {};
57
118
  D: {};
@@ -154,7 +215,7 @@ declare const Trigger: {
154
215
  scrollToClose: boolean;
155
216
  needTransformOrigin: boolean;
156
217
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
157
- $slots: any;
218
+ $slots: Readonly<import('./type').TriggerSlots> & import('./type').TriggerSlots;
158
219
  }) & {
159
220
  install: (app: App) => void;
160
221
  };
@@ -1,5 +1,71 @@
1
- import { TriggerProps } from './type';
2
- declare function __VLS_template(): any;
1
+ import { TriggerProps, TriggerSlots } from './type';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: Readonly<TriggerSlots> & TriggerSlots;
5
+ refs: {
6
+ triggerRef: unknown;
7
+ popupRef: ({
8
+ $: import('vue').ComponentInternalInstance;
9
+ $data: {};
10
+ $props: {
11
+ readonly preventFocus?: boolean | undefined;
12
+ readonly tag?: string | undefined;
13
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
14
+ $attrs: {
15
+ [x: string]: unknown;
16
+ };
17
+ $refs: {
18
+ [x: string]: unknown;
19
+ };
20
+ $slots: Readonly<{
21
+ [name: string]: import('vue').Slot<any> | undefined;
22
+ }>;
23
+ $root: import('vue').ComponentPublicInstance | null;
24
+ $parent: import('vue').ComponentPublicInstance | null;
25
+ $host: Element | null;
26
+ $emit: (event: string, ...args: any[]) => void;
27
+ $el: any;
28
+ $options: import('vue').ComponentOptionsBase<Readonly<{
29
+ preventFocus?: boolean;
30
+ tag?: string;
31
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
32
+ preventFocus: boolean;
33
+ tag: string;
34
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
35
+ beforeCreate?: (() => void) | (() => void)[];
36
+ created?: (() => void) | (() => void)[];
37
+ beforeMount?: (() => void) | (() => void)[];
38
+ mounted?: (() => void) | (() => void)[];
39
+ beforeUpdate?: (() => void) | (() => void)[];
40
+ updated?: (() => void) | (() => void)[];
41
+ activated?: (() => void) | (() => void)[];
42
+ deactivated?: (() => void) | (() => void)[];
43
+ beforeDestroy?: (() => void) | (() => void)[];
44
+ beforeUnmount?: (() => void) | (() => void)[];
45
+ destroyed?: (() => void) | (() => void)[];
46
+ unmounted?: (() => void) | (() => void)[];
47
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
48
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
49
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
50
+ };
51
+ $forceUpdate: () => void;
52
+ $nextTick: typeof import('vue').nextTick;
53
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
54
+ } & Readonly<{
55
+ preventFocus: boolean;
56
+ tag: string;
57
+ }> & Omit<Readonly<{
58
+ preventFocus?: boolean;
59
+ tag?: string;
60
+ }> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
61
+ $slots: {
62
+ default?(_: {}): any;
63
+ };
64
+ }) | null;
65
+ arrowRef: HTMLDivElement;
66
+ };
67
+ rootEl: any;
68
+ };
3
69
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
4
70
  declare const __VLS_component: import('vue').DefineComponent<TriggerProps, {
5
71
  hide(): void;
@@ -49,7 +115,68 @@ declare const __VLS_component: import('vue').DefineComponent<TriggerProps, {
49
115
  preventFocus: boolean;
50
116
  scrollToClose: boolean;
51
117
  needTransformOrigin: boolean;
52
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, any, any>;
118
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
119
+ triggerRef: unknown;
120
+ popupRef: ({
121
+ $: import('vue').ComponentInternalInstance;
122
+ $data: {};
123
+ $props: {
124
+ readonly preventFocus?: boolean | undefined;
125
+ readonly tag?: string | undefined;
126
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
127
+ $attrs: {
128
+ [x: string]: unknown;
129
+ };
130
+ $refs: {
131
+ [x: string]: unknown;
132
+ };
133
+ $slots: Readonly<{
134
+ [name: string]: import('vue').Slot<any> | undefined;
135
+ }>;
136
+ $root: import('vue').ComponentPublicInstance | null;
137
+ $parent: import('vue').ComponentPublicInstance | null;
138
+ $host: Element | null;
139
+ $emit: (event: string, ...args: any[]) => void;
140
+ $el: any;
141
+ $options: import('vue').ComponentOptionsBase<Readonly<{
142
+ preventFocus?: boolean;
143
+ tag?: string;
144
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
145
+ preventFocus: boolean;
146
+ tag: string;
147
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
148
+ beforeCreate?: (() => void) | (() => void)[];
149
+ created?: (() => void) | (() => void)[];
150
+ beforeMount?: (() => void) | (() => void)[];
151
+ mounted?: (() => void) | (() => void)[];
152
+ beforeUpdate?: (() => void) | (() => void)[];
153
+ updated?: (() => void) | (() => void)[];
154
+ activated?: (() => void) | (() => void)[];
155
+ deactivated?: (() => void) | (() => void)[];
156
+ beforeDestroy?: (() => void) | (() => void)[];
157
+ beforeUnmount?: (() => void) | (() => void)[];
158
+ destroyed?: (() => void) | (() => void)[];
159
+ unmounted?: (() => void) | (() => void)[];
160
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
161
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
162
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
163
+ };
164
+ $forceUpdate: () => void;
165
+ $nextTick: typeof import('vue').nextTick;
166
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
167
+ } & Readonly<{
168
+ preventFocus: boolean;
169
+ tag: string;
170
+ }> & Omit<Readonly<{
171
+ preventFocus?: boolean;
172
+ tag?: string;
173
+ }> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
174
+ $slots: {
175
+ default?(_: {}): any;
176
+ };
177
+ }) | null;
178
+ arrowRef: HTMLDivElement;
179
+ }, any>;
53
180
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
54
181
  export default _default;
55
182
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./index.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
4
- const _Trigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-50a0af7f"]]);
4
+ const _Trigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-37d87bda"]]);
5
5
  export {
6
6
  _Trigger as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, useSlots, computed, createElementBlock, openBlock, Fragment, createBlock, resolveDynamicComponent, unref, withModifiers, Teleport, createVNode, Transition, withCtx, withDirectives, createCommentVNode, normalizeStyle, normalizeClass, createElementVNode, renderSlot, vShow } from "vue";
1
+ import { defineComponent, useSlots, ref, computed, createElementBlock, openBlock, Fragment, createBlock, resolveDynamicComponent, unref, withModifiers, Teleport, createVNode, Transition, withCtx, withDirectives, createCommentVNode, normalizeStyle, normalizeClass, createElementVNode, renderSlot, vShow } from "vue";
2
2
  import "../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
@@ -6,7 +6,7 @@ import { findFirstLegitChild } from "../_shared/utils/vue-utils.js";
6
6
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
7
7
  import useTriggerVisible from "./hooks/useTriggerVisible.js";
8
8
  import useTriggerPosition from "./hooks/useTriggerPosition.js";
9
- /* empty css */
9
+ /* empty css */
10
10
  /* empty css */
11
11
  import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
12
12
  /* empty css */
@@ -64,13 +64,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
64
64
  },
65
65
  emits: ["update:popupVisible", "popup-visible-change", "show", "hide"],
66
66
  setup(__props, { expose: __expose, emit: __emit }) {
67
+ const slots = useSlots();
67
68
  const props = __props;
68
69
  const emits = __emit;
69
70
  const { popupContainer } = getGlobalConfig(props);
70
71
  const popupRef = ref();
71
72
  const triggerRef = ref();
72
73
  const arrowRef = ref();
73
- const slots = useSlots();
74
74
  const vNode = computed(() => {
75
75
  var _a;
76
76
  return findFirstLegitChild(((_a = slots.default) == null ? void 0 : _a.call(slots)) || []);
@@ -1,4 +1,4 @@
1
- import { CSSProperties } from 'vue';
1
+ import { CSSProperties, VNode } from 'vue';
2
2
  import { ClassName, PopupContainer } from '../_shared/type';
3
3
  export interface TriggerProps {
4
4
  popupVisible?: boolean;
@@ -49,8 +49,8 @@ export interface TriggerEmits {
49
49
  (e: 'hide'): void;
50
50
  }
51
51
  export interface TriggerSlots {
52
- default(): void;
53
- content(): void;
52
+ default?: () => VNode[];
53
+ content?: () => VNode[];
54
54
  }
55
55
  export interface TriggerExpose {
56
56
  hide(): void;
@@ -5,9 +5,9 @@ import { getDomText } from "../_shared/utils/dom.js";
5
5
  import { sleep } from "../_shared/utils/fn.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../Empty/index.js";
8
- /* empty css */
9
- import _sfc_main$3 from "../_shared/icons/IconCopy.vue2.js";
10
- import _sfc_main$1 from "../_shared/icons/IconEdit.vue2.js";
8
+ /* empty css */
9
+ import _sfc_main$3 from "../_shared/icons/IconCopy.vue.js";
10
+ import _sfc_main$1 from "../_shared/icons/IconEdit.vue.js";
11
11
  import _sfc_main$2 from "../_shared/icons/IconInfo.vue.js";
12
12
  import useControlValue from "../_shared/utils/control.js";
13
13
  import Input from "../Input/index.js";
@@ -1,4 +1,5 @@
1
1
  import { TooltipProps } from '../Tooltip';
2
+ import { VNode } from 'vue';
2
3
  export interface TypographyBaseProps {
3
4
  tag?: string;
4
5
  type?: TypographyType;
@@ -30,16 +31,16 @@ export interface TypographyBaseEmits {
30
31
  (e: 'expand', expanded: boolean): void;
31
32
  }
32
33
  export interface TypographyBaseSlots {
33
- default(): void;
34
- ['expand-node'](scope: {
34
+ default?: () => VNode[];
35
+ 'expand-node': (scope: {
35
36
  expanded: boolean;
36
- }): void;
37
- ['copy-icon'](scope: {
37
+ }) => VNode[];
38
+ 'copy-icon': (scope: {
38
39
  copied: boolean;
39
- }): void;
40
- ['copy-tooltip'](scope: {
40
+ }) => VNode[];
41
+ 'copy-tooltip': (scope: {
41
42
  copied: boolean;
42
- }): void;
43
+ }) => VNode[];
43
44
  }
44
45
  export interface TypographyParagraphProps {
45
46
  blockquote?: boolean;
@@ -5,7 +5,7 @@ import "../_shared/utils/dom.js";
5
5
  import { isArray } from "../_shared/utils/is.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../Empty/index.js";
8
- /* empty css */
8
+ /* empty css */
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  ...{
11
11
  name: "Watermark"
@@ -1,3 +1,4 @@
1
+ import { VNode } from 'vue';
1
2
  export interface WatermarkProps {
2
3
  content?: string | string[];
3
4
  image?: string;
@@ -23,5 +24,5 @@ export interface WatermarkFont {
23
24
  fontWeight?: 'normal' | 'bold' | 'bolder' | 'lighter' | number;
24
25
  }
25
26
  export interface WatermarkSlots {
26
- default(): void;
27
+ default?: () => VNode[];
27
28
  }
@@ -4,7 +4,7 @@ import "../utils/dom.js";
4
4
  import { valueToPx } from "../utils/fn.js";
5
5
  import "../utils/time.js";
6
6
  import "../../Empty/index.js";
7
- /* empty css */
7
+ /* empty css */
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "ExpandTransition",
10
10
  setup(__props) {
@@ -1,7 +1,7 @@
1
- import _sfc_main from "./_Icon.vue3.js";
2
- /* empty css */
1
+ import _sfc_main from "./Icon.vue3.js";
2
+ /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const YcIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ce8d5305"]]);
4
+ const YcIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-07c3e1ec"]]);
5
5
  export {
6
6
  YcIcon as default
7
7
  };
@@ -4,9 +4,9 @@ import "../utils/dom.js";
4
4
  import { valueToPx } from "../utils/fn.js";
5
5
  import "../utils/time.js";
6
6
  import "../../Empty/index.js";
7
- /* empty css */
7
+ /* empty css */
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
- __name: "_Icon",
9
+ __name: "Icon",
10
10
  props: {
11
11
  strokeWidth: { default: 4 },
12
12
  strokeLinecap: { default: "butt" },
@@ -4,7 +4,7 @@ import "../utils/dom.js";
4
4
  import { valueToPx } from "../utils/fn.js";
5
5
  import "../utils/time.js";
6
6
  import "../../Empty/index.js";
7
- /* empty css */
7
+ /* empty css */
8
8
  import _sfc_main$1 from "../icons/IconClose.vue.js";
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  __name: "IconButton",
@@ -1,3 +1,4 @@
1
1
  export { default as IconButton } from './IconButton.vue';
2
2
  export { default as PreventFocus } from './PreventFocus.vue';
3
3
  export { default as ExpandTransition } from './ExpandTransition.vue';
4
+ export { default as Icon } from './Icon.vue';
@@ -6,7 +6,7 @@ import "../../node_modules/tinycolor2/esm/tinycolor.js";
6
6
  import "../utils/dom.js";
7
7
  import "../utils/time.js";
8
8
  import "../../Empty/index.js";
9
- /* empty css */
9
+ /* empty css */
10
10
  import _sfc_main from "../icons/IconCheck.vue.js";
11
11
  import _sfc_main$1 from "../icons/IconClose.vue.js";
12
12
  import _sfc_main$5 from "../icons/IconError.vue.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "./_Icon.vue2.js";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "IconArrowDown",
5
5
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "./_Icon.vue2.js";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "IconArrowRight",
5
5
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "./_Icon.vue2.js";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "IconCheck",
5
5
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createBlock, openBlock, mergeProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "./_Icon.vue2.js";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "IconCheckboxChecked",
5
5
  setup(__props) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "./_Icon.vue2.js";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "IconClose",
5
5
  setup(__props) {
@@ -1,4 +1,19 @@
1
- import _sfc_main from "./IconCopy.vue2.js";
1
+ import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
+ import YcIcon from "../components/Icon.vue2.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "IconCopy",
5
+ setup(__props) {
6
+ return (_ctx, _cache) => {
7
+ return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
+ default: withCtx(() => _cache[0] || (_cache[0] = [
9
+ createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
10
+ ])),
11
+ _: 1,
12
+ __: [0]
13
+ }, 16);
14
+ };
15
+ }
16
+ });
2
17
  export {
3
18
  _sfc_main as default
4
19
  };
@@ -1,19 +1,4 @@
1
- import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
2
- import YcIcon from "./_Icon.vue2.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "IconCopy",
5
- setup(__props) {
6
- return (_ctx, _cache) => {
7
- return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
8
- default: withCtx(() => _cache[0] || (_cache[0] = [
9
- createElementVNode("path", { d: "M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z" }, null, -1)
10
- ])),
11
- _: 1,
12
- __: [0]
13
- }, 16);
14
- };
15
- }
16
- });
1
+ import _sfc_main from "./IconCopy.vue.js";
17
2
  export {
18
3
  _sfc_main as default
19
4
  };