yc-design-vue 2.1.7 → 2.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (432) hide show
  1. package/dist/index.umd.js +1 -1
  2. package/dist/style.css +1 -1
  3. package/es/Affix/index.vue.js +1 -1
  4. package/es/Alert/index.vue.js +3 -3
  5. package/es/Anchor/Anchor.vue.js +1 -1
  6. package/es/Anchor/AnchorLink.vue.js +1 -1
  7. package/es/Anchor/hooks/useContext.js +1 -1
  8. package/es/AutoComplete/index.vue.js +1 -1
  9. package/es/Avatar/Avatar.vue.js +2 -2
  10. package/es/Avatar/AvatarGroup.vue.js +1 -1
  11. package/es/BackTop/index.vue.js +2 -2
  12. package/es/Badge/index.vue.js +1 -1
  13. package/es/Breadcrumb/Breadcrumb.vue.js +1 -1
  14. package/es/Breadcrumb/BreadcrumbItem.vue.js +2 -2
  15. package/es/Breadcrumb/BreadcrumbMore.vue.js +2 -2
  16. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +2 -2
  17. package/es/Button/hooks/useContext.js +1 -1
  18. package/es/Calendar/Calendar.vue.js +3 -3
  19. package/es/Calendar/CalendarMonth.vue.js +1 -1
  20. package/es/Calendar/CalendarYear.vue.js +1 -1
  21. package/es/Card/Card.vue.js +1 -1
  22. package/es/Card/CardMeta.vue.js +1 -1
  23. package/es/Carousel/Carousel.vue.js +1 -1
  24. package/es/Carousel/CarouselArrow.vue.js +2 -2
  25. package/es/Carousel/CarouselIndicator.vue.js +1 -1
  26. package/es/Carousel/hooks/useContext.js +1 -1
  27. package/es/Cascader/Cascader.vue.js +1 -1
  28. package/es/Cascader/CascaderIcon.vue.js +3 -3
  29. package/es/Cascader/CascaderOption.vue.js +2 -2
  30. package/es/Cascader/hooks/useContext.js +1 -1
  31. package/es/Checkbox/Checkbox.vue.js +3 -3
  32. package/es/Checkbox/hooks/useContext.js +1 -1
  33. package/es/Collapse/CollapseItem.vue.js +3 -3
  34. package/es/Collapse/hooks/useContext.js +1 -1
  35. package/es/ColorPicker/ColorControl.vue.js +2 -2
  36. package/es/ColorPicker/ColorInput.vue.js +2 -2
  37. package/es/ColorPicker/ColorList.vue.js +1 -1
  38. package/es/ColorPicker/ColorPalette.vue.js +2 -2
  39. package/es/ColorPicker/ColorPanel.vue.js +1 -1
  40. package/es/ColorPicker/hooks/useContext.js +2 -2
  41. package/es/Comment/hooks/useContext.js +1 -1
  42. package/es/Comment/index.vue.js +1 -1
  43. package/es/ConfigProvider/index.vue.js +1 -1
  44. package/es/Descriptions/ReuseItem.vue.js +1 -1
  45. package/es/Descriptions/ReuseTd.vue.js +1 -1
  46. package/es/Descriptions/hooks/useContext.js +1 -1
  47. package/es/Divider/index.vue.js +1 -1
  48. package/es/Drawer/Drawer.vue.js +13 -19
  49. package/es/Drawer/DrawerService.vue.js +1 -1
  50. package/es/Dropdown/Dropdown.vue.js +1 -1
  51. package/es/Dropdown/DropdownButton.vue.js +2 -2
  52. package/es/Dropdown/Dsubmenu.vue.js +2 -2
  53. package/es/Dropdown/hooks/useContext.js +1 -1
  54. package/es/Empty/index.vue.js +2 -2
  55. package/es/Grid/Grid.vue.js +1 -1
  56. package/es/Grid/GridCol.vue.js +1 -1
  57. package/es/Grid/GridItem.vue.js +1 -1
  58. package/es/Grid/GridRow.vue.js +1 -1
  59. package/es/Grid/hooks/useContext.js +1 -1
  60. package/es/Image/Image.vue.js +2 -2
  61. package/es/Image/ImagePreview.vue.js +2 -2
  62. package/es/Image/ImagePreviewArrow.vue.js +2 -2
  63. package/es/Image/ImagePreviewGroup.vue.js +1 -1
  64. package/es/Image/ImagePreviewToolbar.vue.js +2 -2
  65. package/es/Image/hooks/useContext.js +1 -1
  66. package/es/Input/Input.vue.js +3 -3
  67. package/es/Input/InputSuffix.vue.js +3 -3
  68. package/es/Input/hooks/useLimitedInput.js +1 -1
  69. package/es/InputNumber/InputNumber.vue.js +1 -1
  70. package/es/InputNumber/InputOperaBtn.vue.js +2 -2
  71. package/es/InputTag/index.vue.js +3 -3
  72. package/es/Layout/Layout.vue.js +1 -1
  73. package/es/Layout/LayoutSider.vue.js +2 -2
  74. package/es/Layout/hooks/useSiderContext.js +1 -1
  75. package/es/Link/index.vue.js +2 -2
  76. package/es/List/List.vue.js +1 -1
  77. package/es/List/ListVirtual.vue.js +1 -1
  78. package/es/List/hooks/useScrollReach.js +1 -1
  79. package/es/Mention/index.vue.js +1 -1
  80. package/es/Menu/Menu.vue.js +2 -2
  81. package/es/Menu/MenuEllipsis.vue.js +2 -2
  82. package/es/Menu/MenuItem.vue.js +2 -2
  83. package/es/Menu/MenuItemGroup.vue.js +1 -1
  84. package/es/Menu/SubMenu.vue.js +2 -2
  85. package/es/Menu/hooks/useCalcMaxMenuItems.js +1 -1
  86. package/es/Menu/hooks/useContext.d.ts +1 -1
  87. package/es/Menu/hooks/useContext.js +5 -8
  88. package/es/Message/Message.vue.js +3 -3
  89. package/es/Message/index.js +1 -1
  90. package/es/Modal/Modal.vue.js +3 -3
  91. package/es/Modal/ModalService.vue.js +1 -1
  92. package/es/Modal/hooks/useModalClose.js +1 -1
  93. package/es/Modal/hooks/useModalDraggable.js +1 -1
  94. package/es/Modal/hooks/useOnBeforeClose.js +1 -1
  95. package/es/Notification/Notification.vue.js +3 -3
  96. package/es/Notification/index.js +1 -1
  97. package/es/OverflowList/index.vue.js +1 -1
  98. package/es/PageHeader/index.vue.js +3 -3
  99. package/es/Pagination/Pagination.vue.js +7 -4
  100. package/es/Pagination/PaginationItem.vue.js +2 -2
  101. package/es/Pagination/hooks/useContext.js +1 -1
  102. package/es/Popconfirm/index.vue.js +1 -1
  103. package/es/Popover/index.vue.js +1 -1
  104. package/es/Progress/Progress.vue.js +1 -1
  105. package/es/Progress/ProgressCircle.vue.js +9 -16
  106. package/es/Progress/ProgressLine.vue.js +2 -2
  107. package/es/Progress/ProgressSteps.vue.js +1 -1
  108. package/es/Progress/index.css +1 -1
  109. package/es/Radio/Radio.vue.js +3 -3
  110. package/es/Radio/hooks/useContext.js +1 -1
  111. package/es/Rate/index.vue.js +2 -2
  112. package/es/ResizeBox/index.vue.js +2 -3
  113. package/es/Scrollbar/Scrollbar.vue.js +1 -1
  114. package/es/Scrollbar/ScrollbarTrack.vue.js +1 -1
  115. package/es/Select/Option.vue.js +1 -1
  116. package/es/Select/Select.vue.js +1 -1
  117. package/es/Select/SelectIcon.vue.js +3 -3
  118. package/es/Select/SelectRealList.vue.js +1 -1
  119. package/es/Select/SelectView.vue.js +1 -1
  120. package/es/Select/SelectVirtualList.vue.js +1 -1
  121. package/es/Select/hooks/useContext.js +1 -1
  122. package/es/Select/hooks/useSelectHotkeys.js +1 -1
  123. package/es/Select/hooks/useSelectOptions.js +1 -1
  124. package/es/Skeleton/SkeletonLine.vue.js +1 -1
  125. package/es/Skeleton/SkeletonShape.vue.js +1 -1
  126. package/es/Slider/SliderBtn.vue.js +1 -1
  127. package/es/Slider/hooks/useContext.js +1 -1
  128. package/es/Slider/hooks/useSliderDraggable.js +1 -1
  129. package/es/Space/index.vue.js +1 -1
  130. package/es/Spin/index.vue.js +2 -2
  131. package/es/Split/index.vue.js +2 -2
  132. package/es/Statistic/Countdown.vue.js +1 -1
  133. package/es/Statistic/Statistic.vue.js +1 -1
  134. package/es/Steps/Step.vue.js +2 -2
  135. package/es/Steps/hooks/useContext.js +1 -1
  136. package/es/Switch/index.vue.js +1 -1
  137. package/es/Tabs/TabButton.vue.js +3 -3
  138. package/es/Tabs/TabPane.vue.js +1 -1
  139. package/es/Tabs/Tabs.vue.js +2 -2
  140. package/es/Tabs/TabsNavInk.vue.js +1 -1
  141. package/es/Tabs/TabsTab.vue.js +1 -1
  142. package/es/Tabs/hooks/useContext.js +1 -1
  143. package/es/Tabs/hooks/useTabsScroll.js +1 -1
  144. package/es/Tag/index.vue.js +3 -3
  145. package/es/Textarea/hooks/useTextareaHeight.js +1 -1
  146. package/es/Textarea/index.vue.js +3 -3
  147. package/es/TimePicker/TimePicker.vue.js +3 -3
  148. package/es/TimePicker/TimePickerPanel.vue.js +1 -1
  149. package/es/TimePicker/hooks/useContext.js +1 -1
  150. package/es/Timeline/TimelineItemPending.vue.js +1 -1
  151. package/es/Timeline/hooks/useContext.js +1 -1
  152. package/es/Tooltip/index.vue.js +1 -1
  153. package/es/Transfer/Transfer.vue.js +2 -2
  154. package/es/Transfer/TransferPanel.vue.js +3 -3
  155. package/es/Transfer/hooks/useContext.js +1 -1
  156. package/es/Trigger/hooks/useContext.js +1 -1
  157. package/es/Trigger/hooks/useTriggerPosition.js +1 -1
  158. package/es/Trigger/hooks/useTriggerVisible.js +1 -1
  159. package/es/Trigger/index.vue.js +2 -2
  160. package/es/Typography/TypographyBase.vue.js +2 -2
  161. package/es/Upload/UploadButton.vue.js +2 -2
  162. package/es/Upload/UploadDrag.vue.js +2 -2
  163. package/es/Upload/UploadFileList.vue2.js +3 -3
  164. package/es/Upload/UploadPictureCard.vue2.js +2 -2
  165. package/es/Upload/hooks/useContext.js +2 -2
  166. package/es/Upload/hooks/useUpload.js +1 -1
  167. package/es/VerificationCode/index.vue.js +1 -1
  168. package/es/Watermark/index.vue.js +1 -1
  169. package/es/_shared/components/ExpandTransition/index.vue2.js +1 -1
  170. package/es/_shared/components/Icon/index.vue3.js +1 -1
  171. package/es/_shared/components/IconButton/{index.vue.js → index.vue2.js} +2 -2
  172. package/es/_shared/components/IconButton/index.vue3.js +2 -2
  173. package/es/_shared/constants/index.js +2 -2
  174. package/es/_shared/icons/IconArrowDown.vue.js +2 -2
  175. package/es/_shared/icons/IconArrowRight.vue.js +2 -2
  176. package/es/_shared/icons/IconCheck.vue.js +2 -2
  177. package/es/_shared/icons/IconCheckboxChecked.vue.js +2 -2
  178. package/es/_shared/icons/IconClose.vue.js +2 -2
  179. package/es/_shared/icons/IconCopy.vue2.js +2 -2
  180. package/es/_shared/icons/IconDelete.vue2.js +2 -2
  181. package/es/_shared/icons/IconDragDot.vue.js +2 -2
  182. package/es/_shared/icons/IconEdit.vue2.js +2 -2
  183. package/es/_shared/icons/IconEmpty.vue.js +2 -2
  184. package/es/_shared/icons/IconError.vue.js +2 -2
  185. package/es/_shared/icons/IconExclamation.vue2.js +2 -2
  186. package/es/_shared/icons/IconEyeClose.vue2.js +2 -2
  187. package/es/_shared/icons/IconEyeOpen.vue2.js +2 -2
  188. package/es/_shared/icons/IconFaceSmile.vue.js +2 -2
  189. package/es/_shared/icons/IconFile.vue2.js +2 -2
  190. package/es/_shared/icons/IconFullScreen.vue2.js +2 -2
  191. package/es/_shared/icons/IconImageClose.vue.js +2 -2
  192. package/es/_shared/icons/IconInfo.vue.js +2 -2
  193. package/es/_shared/icons/IconInfoLine.vue.js +2 -2
  194. package/es/_shared/icons/IconLink.vue.js +2 -2
  195. package/es/_shared/icons/IconLoading.vue.js +2 -2
  196. package/es/_shared/icons/IconMenuFold.vue.js +2 -2
  197. package/es/_shared/icons/IconMenuUnfold.vue.js +2 -2
  198. package/es/_shared/icons/IconMinus.vue2.js +2 -2
  199. package/es/_shared/icons/IconMore.vue.js +2 -2
  200. package/es/_shared/icons/IconOriginSize.vue2.js +2 -2
  201. package/es/_shared/icons/IconPlus.vue.js +2 -2
  202. package/es/_shared/icons/IconRight.vue.js +2 -2
  203. package/es/_shared/icons/IconRotateLeft.vue2.js +2 -2
  204. package/es/_shared/icons/IconRotateRight.vue2.js +2 -2
  205. package/es/_shared/icons/IconSearch.vue2.js +2 -2
  206. package/es/_shared/icons/IconSeparator.vue2.js +2 -2
  207. package/es/_shared/icons/IconStar.vue.js +2 -2
  208. package/es/_shared/icons/IconSuccess.vue.js +2 -2
  209. package/es/_shared/icons/IconTime.vue.js +2 -2
  210. package/es/_shared/icons/IconToTop.vue.js +2 -2
  211. package/es/_shared/icons/IconUpload.vue2.js +2 -2
  212. package/es/_shared/icons/IconWarning.vue.js +2 -2
  213. package/es/_shared/icons/IconZoomIn.vue2.js +2 -2
  214. package/es/_shared/icons/IconZoomOut.vue2.js +2 -2
  215. package/es/_shared/utils/index.d.ts +9 -12
  216. package/es/style.css +1 -1
  217. package/lib/Affix/index.vue.js +1 -1
  218. package/lib/Alert/index.vue.js +1 -1
  219. package/lib/Anchor/Anchor.vue.js +1 -1
  220. package/lib/Anchor/AnchorLink.vue.js +1 -1
  221. package/lib/Anchor/hooks/useContext.js +1 -1
  222. package/lib/AutoComplete/index.vue.js +1 -1
  223. package/lib/Avatar/Avatar.vue.js +1 -1
  224. package/lib/Avatar/AvatarGroup.vue.js +1 -1
  225. package/lib/BackTop/index.vue.js +1 -1
  226. package/lib/Badge/index.vue.js +1 -1
  227. package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
  228. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  229. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  230. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  231. package/lib/Button/hooks/useContext.js +1 -1
  232. package/lib/Calendar/Calendar.vue.js +1 -1
  233. package/lib/Calendar/CalendarMonth.vue.js +1 -1
  234. package/lib/Calendar/CalendarYear.vue.js +1 -1
  235. package/lib/Card/Card.vue.js +1 -1
  236. package/lib/Card/CardMeta.vue.js +1 -1
  237. package/lib/Carousel/Carousel.vue.js +1 -1
  238. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  239. package/lib/Carousel/CarouselIndicator.vue.js +1 -1
  240. package/lib/Carousel/hooks/useContext.js +1 -1
  241. package/lib/Cascader/Cascader.vue.js +1 -1
  242. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  243. package/lib/Cascader/CascaderOption.vue.js +1 -1
  244. package/lib/Cascader/hooks/useContext.js +1 -1
  245. package/lib/Checkbox/Checkbox.vue.js +1 -1
  246. package/lib/Checkbox/hooks/useContext.js +1 -1
  247. package/lib/Collapse/CollapseItem.vue.js +1 -1
  248. package/lib/Collapse/hooks/useContext.js +1 -1
  249. package/lib/ColorPicker/ColorControl.vue.js +1 -1
  250. package/lib/ColorPicker/ColorInput.vue.js +1 -1
  251. package/lib/ColorPicker/ColorList.vue.js +1 -1
  252. package/lib/ColorPicker/ColorPalette.vue.js +1 -1
  253. package/lib/ColorPicker/ColorPanel.vue.js +1 -1
  254. package/lib/ColorPicker/hooks/useContext.js +1 -1
  255. package/lib/Comment/hooks/useContext.js +1 -1
  256. package/lib/Comment/index.vue.js +1 -1
  257. package/lib/ConfigProvider/index.vue.js +1 -1
  258. package/lib/Descriptions/ReuseItem.vue.js +1 -1
  259. package/lib/Descriptions/ReuseTd.vue.js +1 -1
  260. package/lib/Descriptions/hooks/useContext.js +1 -1
  261. package/lib/Divider/index.vue.js +1 -1
  262. package/lib/Drawer/Drawer.vue.js +1 -1
  263. package/lib/Drawer/DrawerService.vue.js +1 -1
  264. package/lib/Dropdown/Dropdown.vue.js +1 -1
  265. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  266. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  267. package/lib/Dropdown/hooks/useContext.js +1 -1
  268. package/lib/Empty/index.vue.js +1 -1
  269. package/lib/Grid/Grid.vue.js +1 -1
  270. package/lib/Grid/GridCol.vue.js +1 -1
  271. package/lib/Grid/GridItem.vue.js +1 -1
  272. package/lib/Grid/GridRow.vue.js +1 -1
  273. package/lib/Grid/hooks/useContext.js +1 -1
  274. package/lib/Image/Image.vue.js +1 -1
  275. package/lib/Image/ImagePreview.vue.js +1 -1
  276. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  277. package/lib/Image/ImagePreviewGroup.vue.js +1 -1
  278. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  279. package/lib/Image/hooks/useContext.js +1 -1
  280. package/lib/Input/Input.vue.js +1 -1
  281. package/lib/Input/InputSuffix.vue.js +1 -1
  282. package/lib/Input/hooks/useLimitedInput.js +1 -1
  283. package/lib/InputNumber/InputNumber.vue.js +1 -1
  284. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  285. package/lib/InputTag/index.vue.js +1 -1
  286. package/lib/Layout/Layout.vue.js +1 -1
  287. package/lib/Layout/LayoutSider.vue.js +1 -1
  288. package/lib/Layout/hooks/useSiderContext.js +1 -1
  289. package/lib/Link/index.vue.js +1 -1
  290. package/lib/List/List.vue.js +1 -1
  291. package/lib/List/ListVirtual.vue.js +1 -1
  292. package/lib/List/hooks/useScrollReach.js +1 -1
  293. package/lib/Mention/index.vue.js +1 -1
  294. package/lib/Menu/Menu.vue.js +1 -1
  295. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  296. package/lib/Menu/MenuItem.vue.js +1 -1
  297. package/lib/Menu/MenuItemGroup.vue.js +1 -1
  298. package/lib/Menu/SubMenu.vue.js +1 -1
  299. package/lib/Menu/hooks/useCalcMaxMenuItems.js +1 -1
  300. package/lib/Menu/hooks/useContext.d.ts +1 -1
  301. package/lib/Menu/hooks/useContext.js +1 -1
  302. package/lib/Message/Message.vue.js +1 -1
  303. package/lib/Message/index.js +1 -1
  304. package/lib/Modal/Modal.vue.js +1 -1
  305. package/lib/Modal/ModalService.vue.js +1 -1
  306. package/lib/Modal/hooks/useModalClose.js +1 -1
  307. package/lib/Modal/hooks/useModalDraggable.js +1 -1
  308. package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
  309. package/lib/Notification/Notification.vue.js +1 -1
  310. package/lib/Notification/index.js +1 -1
  311. package/lib/OverflowList/index.vue.js +1 -1
  312. package/lib/PageHeader/index.vue.js +1 -1
  313. package/lib/Pagination/Pagination.vue.js +1 -1
  314. package/lib/Pagination/PaginationItem.vue.js +1 -1
  315. package/lib/Pagination/hooks/useContext.js +1 -1
  316. package/lib/Popconfirm/index.vue.js +1 -1
  317. package/lib/Popover/index.vue.js +1 -1
  318. package/lib/Progress/Progress.vue.js +1 -1
  319. package/lib/Progress/ProgressCircle.vue.js +1 -1
  320. package/lib/Progress/ProgressLine.vue.js +1 -1
  321. package/lib/Progress/ProgressSteps.vue.js +1 -1
  322. package/lib/Progress/index.css +1 -1
  323. package/lib/Radio/Radio.vue.js +1 -1
  324. package/lib/Radio/hooks/useContext.js +1 -1
  325. package/lib/Rate/index.vue.js +1 -1
  326. package/lib/ResizeBox/index.vue.js +1 -1
  327. package/lib/Scrollbar/Scrollbar.vue.js +1 -1
  328. package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
  329. package/lib/Select/Option.vue.js +1 -1
  330. package/lib/Select/Select.vue.js +1 -1
  331. package/lib/Select/SelectIcon.vue.js +1 -1
  332. package/lib/Select/SelectRealList.vue.js +1 -1
  333. package/lib/Select/SelectView.vue.js +1 -1
  334. package/lib/Select/SelectVirtualList.vue.js +1 -1
  335. package/lib/Select/hooks/useContext.js +1 -1
  336. package/lib/Select/hooks/useSelectHotkeys.js +1 -1
  337. package/lib/Select/hooks/useSelectOptions.js +1 -1
  338. package/lib/Skeleton/SkeletonLine.vue.js +1 -1
  339. package/lib/Skeleton/SkeletonShape.vue.js +1 -1
  340. package/lib/Slider/SliderBtn.vue.js +1 -1
  341. package/lib/Slider/hooks/useContext.js +1 -1
  342. package/lib/Slider/hooks/useSliderDraggable.js +1 -1
  343. package/lib/Space/index.vue.js +1 -1
  344. package/lib/Spin/index.vue.js +1 -1
  345. package/lib/Split/index.vue.js +1 -1
  346. package/lib/Statistic/Countdown.vue.js +1 -1
  347. package/lib/Statistic/Statistic.vue.js +1 -1
  348. package/lib/Steps/Step.vue.js +1 -1
  349. package/lib/Steps/hooks/useContext.js +1 -1
  350. package/lib/Switch/index.vue.js +1 -1
  351. package/lib/Tabs/TabButton.vue.js +1 -1
  352. package/lib/Tabs/TabPane.vue.js +1 -1
  353. package/lib/Tabs/Tabs.vue.js +1 -1
  354. package/lib/Tabs/TabsNavInk.vue.js +1 -1
  355. package/lib/Tabs/TabsTab.vue.js +1 -1
  356. package/lib/Tabs/hooks/useContext.js +1 -1
  357. package/lib/Tabs/hooks/useTabsScroll.js +1 -1
  358. package/lib/Tag/index.vue.js +1 -1
  359. package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
  360. package/lib/Textarea/index.vue.js +1 -1
  361. package/lib/TimePicker/TimePicker.vue.js +1 -1
  362. package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
  363. package/lib/TimePicker/hooks/useContext.js +1 -1
  364. package/lib/Timeline/TimelineItemPending.vue.js +1 -1
  365. package/lib/Timeline/hooks/useContext.js +1 -1
  366. package/lib/Tooltip/index.vue.js +1 -1
  367. package/lib/Transfer/Transfer.vue.js +1 -1
  368. package/lib/Transfer/TransferPanel.vue.js +1 -1
  369. package/lib/Transfer/hooks/useContext.js +1 -1
  370. package/lib/Trigger/hooks/useContext.js +1 -1
  371. package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
  372. package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
  373. package/lib/Trigger/index.vue.js +1 -1
  374. package/lib/Typography/TypographyBase.vue.js +1 -1
  375. package/lib/Upload/UploadButton.vue.js +1 -1
  376. package/lib/Upload/UploadDrag.vue.js +1 -1
  377. package/lib/Upload/UploadFileList.vue2.js +1 -1
  378. package/lib/Upload/UploadPictureCard.vue2.js +1 -1
  379. package/lib/Upload/hooks/useContext.js +1 -1
  380. package/lib/Upload/hooks/useUpload.js +1 -1
  381. package/lib/VerificationCode/index.vue.js +1 -1
  382. package/lib/Watermark/index.vue.js +1 -1
  383. package/lib/_shared/components/ExpandTransition/index.vue2.js +1 -1
  384. package/lib/_shared/components/Icon/index.vue3.js +1 -1
  385. package/lib/_shared/components/IconButton/index.vue2.js +1 -0
  386. package/lib/_shared/components/IconButton/index.vue3.js +1 -1
  387. package/lib/_shared/constants/index.js +1 -1
  388. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  389. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  390. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  391. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  392. package/lib/_shared/icons/IconClose.vue.js +1 -1
  393. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  394. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  395. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  396. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  397. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  398. package/lib/_shared/icons/IconError.vue.js +1 -1
  399. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  400. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  401. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  402. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  403. package/lib/_shared/icons/IconFile.vue2.js +1 -1
  404. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  405. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  406. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  407. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  408. package/lib/_shared/icons/IconLink.vue.js +1 -1
  409. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  410. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  411. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  412. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  413. package/lib/_shared/icons/IconMore.vue.js +1 -1
  414. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  415. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  416. package/lib/_shared/icons/IconRight.vue.js +1 -1
  417. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  418. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  419. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  420. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  421. package/lib/_shared/icons/IconStar.vue.js +1 -1
  422. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  423. package/lib/_shared/icons/IconTime.vue.js +1 -1
  424. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  425. package/lib/_shared/icons/IconUpload.vue2.js +1 -1
  426. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  427. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  428. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  429. package/lib/_shared/utils/index.d.ts +9 -12
  430. package/lib/style.css +1 -1
  431. package/package.json +1 -1
  432. package/lib/_shared/components/IconButton/index.vue.js +0 -1
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, useSlots, toRefs, ref, computed, createElementBlock, openBlock, normalizeClass, unref, createBlock, createCommentVNode, createElementVNode, createVNode, withCtx, renderSlot, toDisplayString, TransitionGroup, withDirectives, Fragment, renderList, createTextVNode, withKeys, normalizeStyle, isRef, vModelText } from "vue";
2
- import { valueToPx } from "../_shared/utils/dom.js";
3
2
  import { useElementSize } from "../node_modules/@vueuse/core/index.js";
4
3
  import { nanoid } from "../node_modules/nanoid/index.browser.js";
5
4
  import "../node_modules/b-tween/dist/b-tween.es.js";
@@ -9,14 +8,15 @@ import "../node_modules/dayjs/plugin/duration.js";
9
8
  import "../node_modules/dayjs/plugin/toObject.js";
10
9
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
11
10
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
11
+ import { valueToPx } from "../_shared/utils/dom.js";
12
12
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
13
13
  import { useControlValue } from "../_shared/utils/hooks.js";
14
14
  import { isObject, isBoolean } from "../_shared/utils/is.js";
15
15
  import "../_shared/utils/locale.js";
16
16
  import "../_shared/utils/time.js";
17
17
  import Tag from "../Tag/index.js";
18
- import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
19
- /* empty css */
18
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
19
+ /* empty css */
20
20
  import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
21
21
  /* empty css */
22
22
  /* empty css */
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, normalizeClass, renderSlot } from "vue";
2
- import "../_shared/utils/dom.js";
3
2
  import "../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../node_modules/dayjs/dayjs.min.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,6 +6,7 @@ import "../node_modules/dayjs/plugin/duration.js";
7
6
  import "../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import "../_shared/utils/dom.js";
10
10
  import { isUndefined } from "../_shared/utils/is.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, toRefs, ref, computed, createBlock, createElementBlock, openBlock, unref, normalizeClass, withCtx, createElementVNode, createCommentVNode, renderSlot, createVNode, normalizeStyle } from "vue";
2
- import { mediaQueryHandler, valueToPx } from "../_shared/utils/dom.js";
3
2
  import "../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../node_modules/dayjs/dayjs.min.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,9 +6,10 @@ import "../node_modules/dayjs/plugin/duration.js";
7
6
  import "../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import { mediaQueryHandler, valueToPx } from "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
12
+ /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
@@ -1,5 +1,4 @@
1
1
  import { toRefs, computed, provide, inject, ref } from "vue";
2
- import "../../_shared/utils/dom.js";
3
2
  import "../../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../../node_modules/dayjs/dayjs.min.js";
5
4
  import "../../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,6 +6,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
7
6
  import "../../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import "../../_shared/utils/dom.js";
10
10
  import { useControlValue } from "../../_shared/utils/hooks.js";
11
11
  import "../../_shared/utils/locale.js";
12
12
  import "../../_shared/utils/time.js";
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, renderSlot, createBlock } from "vue";
2
- import "../_shared/utils/dom.js";
3
2
  import "../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../node_modules/dayjs/dayjs.min.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,9 +6,10 @@ import "../node_modules/dayjs/plugin/duration.js";
7
6
  import "../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
12
+ /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$1 from "../_shared/icons/IconLink.vue.js";
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, useSlots, toRefs, ref, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, createBlock, createCommentVNode, normalizeStyle, createElementVNode, renderSlot, createSlots, normalizeProps, guardReactiveProps, Fragment, renderList, resolveDynamicComponent, isRef } from "vue";
2
- import { valueToPx } from "../_shared/utils/dom.js";
3
2
  import { unrefElement } from "../node_modules/@vueuse/core/index.js";
4
3
  import "../node_modules/b-tween/dist/b-tween.es.js";
5
4
  import "../node_modules/dayjs/dayjs.min.js";
@@ -8,6 +7,7 @@ import "../node_modules/dayjs/plugin/duration.js";
8
7
  import "../node_modules/dayjs/plugin/toObject.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
10
9
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import { valueToPx } from "../_shared/utils/dom.js";
11
11
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
12
12
  import { useControlValue } from "../_shared/utils/hooks.js";
13
13
  import "../_shared/utils/locale.js";
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, toRefs, createElementBlock, openBlock, mergeProps, unref, createElementVNode, Fragment, renderList, renderSlot } from "vue";
2
- import "../_shared/utils/dom.js";
3
2
  import { useVirtualList } from "../node_modules/@vueuse/core/index.js";
4
3
  import "../node_modules/b-tween/dist/b-tween.es.js";
5
4
  import "../node_modules/dayjs/dayjs.min.js";
@@ -8,6 +7,7 @@ import "../node_modules/dayjs/plugin/duration.js";
8
7
  import "../node_modules/dayjs/plugin/toObject.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
10
9
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import "../_shared/utils/dom.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
13
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,3 @@
1
- import { debounce } from "../../_shared/utils/dom.js";
2
1
  import { useScroll } from "../../node_modules/@vueuse/core/index.js";
3
2
  import "../../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../../node_modules/dayjs/dayjs.min.js";
@@ -7,6 +6,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
7
6
  import "../../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import { debounce } from "../../_shared/utils/dom.js";
10
10
  import "vue";
11
11
  import "../../_shared/utils/locale.js";
12
12
  import "../../_shared/utils/time.js";
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, useSlots, toRefs, ref, computed, onMounted, createBlock, openBlock, unref, mergeProps, isRef, createSlots, withCtx, renderSlot, nextTick } from "vue";
2
- import "../_shared/utils/dom.js";
3
2
  import "../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../node_modules/dayjs/dayjs.min.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,6 +6,7 @@ import "../node_modules/dayjs/plugin/duration.js";
7
6
  import "../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import "../_shared/utils/dom.js";
10
10
  import { isArray, isNull } from "../_shared/utils/is.js";
11
11
  import { useControlValue } from "../_shared/utils/hooks.js";
12
12
  import "../_shared/utils/locale.js";
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, ref, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, createCommentVNode, renderSlot, createBlock } from "vue";
2
- import { mediaQueryHandler } from "../_shared/utils/dom.js";
3
2
  import "../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../node_modules/dayjs/dayjs.min.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,9 +6,10 @@ import "../node_modules/dayjs/plugin/duration.js";
7
6
  import "../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import { mediaQueryHandler } from "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
12
+ /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$2 from "../_shared/icons/IconMenuFold.vue.js";
@@ -1,6 +1,5 @@
1
1
  import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, createVNode, unref, withCtx, createElementVNode, Fragment, renderList, createBlock } from "vue";
2
2
  import _sfc_main$2 from "../_shared/icons/IconArrowDown.vue.js";
3
- import "../_shared/utils/dom.js";
4
3
  import "../node_modules/b-tween/dist/b-tween.es.js";
5
4
  import "../node_modules/dayjs/dayjs.min.js";
6
5
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -8,9 +7,10 @@ import "../node_modules/dayjs/plugin/duration.js";
8
7
  import "../node_modules/dayjs/plugin/toObject.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
10
9
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import "../_shared/utils/dom.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
- /* empty css */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  /* empty css */
16
16
  import _sfc_main$1 from "../_shared/icons/IconMore.vue.js";
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, useSlots, toRefs, useAttrs, computed, ref, onMounted, createElementBlock, createCommentVNode, unref, openBlock, normalizeClass, createVNode, createBlock, withCtx, createElementVNode, withDirectives, normalizeStyle, renderSlot, vShow, Fragment, renderList, resolveDynamicComponent } from "vue";
2
- import { valueToPx } from "../_shared/utils/dom.js";
3
2
  import { createReusableTemplate } from "../node_modules/@vueuse/core/index.js";
4
3
  import "../node_modules/b-tween/dist/b-tween.es.js";
5
4
  import "../node_modules/dayjs/dayjs.min.js";
@@ -8,6 +7,7 @@ import "../node_modules/dayjs/plugin/duration.js";
8
7
  import "../node_modules/dayjs/plugin/toObject.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
10
9
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import { valueToPx } from "../_shared/utils/dom.js";
11
11
  import { isUndefined } from "../_shared/utils/is.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
@@ -171,7 +171,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
171
171
  }, [
172
172
  renderSlot(_ctx.$slots, "default")
173
173
  ], 2), [
174
- [vShow, !unref(computedCollapsed)]
174
+ [vShow, !unref(computedCollapsed) || !$slots.icon]
175
175
  ]),
176
176
  $slots.suffix ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2, [
177
177
  renderSlot(_ctx.$slots, "suffix")
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, renderSlot, createTextVNode, toDisplayString, normalizeStyle } from "vue";
2
- import { valueToPx } from "../_shared/utils/dom.js";
3
2
  import "../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../node_modules/dayjs/dayjs.min.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,6 +6,7 @@ import "../node_modules/dayjs/plugin/duration.js";
7
6
  import "../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import { valueToPx } from "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
12
  import useMenuContext from "./hooks/useContext.js";
@@ -1,7 +1,6 @@
1
1
  import { defineComponent, useSlots, createElementBlock, openBlock, normalizeClass, unref, createVNode, createSlots, withCtx, renderSlot, createTextVNode, toDisplayString, withDirectives, createElementVNode, vShow } from "vue";
2
2
  import useMenuContext from "./hooks/useContext.js";
3
3
  import _sfc_main$2 from "../_shared/icons/IconArrowDown.vue.js";
4
- import "../_shared/utils/dom.js";
5
4
  import "../node_modules/b-tween/dist/b-tween.es.js";
6
5
  import "../node_modules/dayjs/dayjs.min.js";
7
6
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -9,9 +8,10 @@ import "../node_modules/dayjs/plugin/duration.js";
9
8
  import "../node_modules/dayjs/plugin/toObject.js";
10
9
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
11
10
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
11
+ import "../_shared/utils/dom.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
- /* empty css */
14
+ /* empty css */
15
15
  import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
16
16
  /* empty css */
17
17
  /* empty css */
@@ -1,5 +1,4 @@
1
1
  import { ref, computed, watchEffect, watch } from "vue";
2
- import { throttle } from "../../_shared/utils/dom.js";
3
2
  import { useResizeObserver, unrefElement } from "../../node_modules/@vueuse/core/index.js";
4
3
  import "../../node_modules/b-tween/dist/b-tween.es.js";
5
4
  import "../../node_modules/dayjs/dayjs.min.js";
@@ -8,6 +7,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
8
7
  import "../../node_modules/dayjs/plugin/toObject.js";
9
8
  import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
10
9
  import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import { throttle } from "../../_shared/utils/dom.js";
11
11
  import "../../_shared/utils/locale.js";
12
12
  import "../../_shared/utils/time.js";
13
13
  function useCalcMaxMenuItem({
@@ -33,7 +33,7 @@ export type MenuTreeNode = {
33
33
  label: () => any;
34
34
  children?: MenuTreeNode[];
35
35
  };
36
- export declare function FlattenMenuTree(vnodes: VNode[], componentName: string[]): MenuTreeNode[];
36
+ export declare function flattenMenuTree(vnodes: VNode[], componentName: string[]): MenuTreeNode[];
37
37
  export declare function buildMenuTree(flatData: MenuTreeNode[]): MenuTreeNode[];
38
38
  export declare function isMenuItemActive(menuTree: MenuTreeNode[], currentPath: string, activePath: string): boolean;
39
39
  export declare const getPopupMaxHeight: (popupMaxHeight: PopupMaxHeight) => number | undefined;
@@ -1,5 +1,4 @@
1
1
  import { toRefs, computed, useSlots, ref, provide, inject, isVNode } from "vue";
2
- import { valueToPx } from "../../_shared/utils/dom.js";
3
2
  import { nanoid } from "../../node_modules/nanoid/index.browser.js";
4
3
  import "../../node_modules/b-tween/dist/b-tween.es.js";
5
4
  import "../../node_modules/dayjs/dayjs.min.js";
@@ -8,6 +7,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
8
7
  import "../../node_modules/dayjs/plugin/toObject.js";
9
8
  import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
10
9
  import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import { valueToPx } from "../../_shared/utils/dom.js";
11
11
  import { isUndefined, isBoolean, isNumber, isObject, isFunction } from "../../_shared/utils/is.js";
12
12
  import { useControlValue } from "../../_shared/utils/hooks.js";
13
13
  import "../../_shared/utils/locale.js";
@@ -19,7 +19,7 @@ import _sfc_main from "../SubMenu.vue.js";
19
19
  import _sfc_main$1 from "../MenuItem.vue.js";
20
20
  /* empty css */
21
21
  const MENU_CONTEXT_KEY = "menu-context";
22
- function FlattenMenuTree(vnodes, componentName) {
22
+ function flattenMenuTree(vnodes, componentName) {
23
23
  const result = [];
24
24
  const traverse = (nodes, parentId = null, depth = 0) => {
25
25
  var _a, _b, _c;
@@ -176,14 +176,11 @@ function useMenuContext() {
176
176
  });
177
177
  const slots = useSlots();
178
178
  const menuTreeNodes = computed(() => {
179
- var _a, _b;
180
- console.log((_a = slots.default) == null ? void 0 : _a.call(slots), "slots.default?.()");
181
- const result = FlattenMenuTree(((_b = slots.default) == null ? void 0 : _b.call(slots)) || [], [
179
+ var _a;
180
+ return flattenMenuTree(((_a = slots.default) == null ? void 0 : _a.call(slots)) || [], [
182
181
  _sfc_main.name ?? "",
183
182
  _sfc_main$1.name ?? ""
184
183
  ]);
185
- console.log(result, "result");
186
- return result;
187
184
  });
188
185
  const menuItemWidths = ref([]);
189
186
  const menuTree = computed(() => buildMenuTree(menuTreeNodes.value));
@@ -256,9 +253,9 @@ function useMenuContext() {
256
253
  };
257
254
  }
258
255
  export {
259
- FlattenMenuTree,
260
256
  buildMenuTree,
261
257
  useMenuContext as default,
258
+ flattenMenuTree,
262
259
  getPopupMaxHeight,
263
260
  isMenuItemActive
264
261
  };
@@ -1,6 +1,5 @@
1
1
  import { defineComponent, toRefs, watch, onMounted, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, resolveDynamicComponent, toDisplayString, createVNode } from "vue";
2
2
  import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
3
- import "../_shared/utils/dom.js";
4
3
  import "../node_modules/b-tween/dist/b-tween.es.js";
5
4
  import "../node_modules/dayjs/dayjs.min.js";
6
5
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -8,11 +7,12 @@ import "../node_modules/dayjs/plugin/duration.js";
8
7
  import "../node_modules/dayjs/plugin/toObject.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
10
9
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import "../_shared/utils/dom.js";
11
11
  import { isUndefined } from "../_shared/utils/is.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
15
- /* empty css */
14
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
15
+ /* empty css */
16
16
  /* empty css */
17
17
  /* empty css */
18
18
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
@@ -1,5 +1,4 @@
1
1
  import { reactive, render, h, nextTick } from "vue";
2
- import "../_shared/utils/dom.js";
3
2
  import "../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../node_modules/dayjs/dayjs.min.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,6 +6,7 @@ import "../node_modules/dayjs/plugin/duration.js";
7
6
  import "../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import "../_shared/utils/dom.js";
10
10
  import { isString } from "../_shared/utils/is.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, toRefs, ref, computed, createBlock, openBlock, Teleport, unref, withDirectives, createCommentVNode, createElementBlock, normalizeStyle, normalizeClass, createVNode, createElementVNode, Transition, withCtx, vShow, withModifiers, renderSlot, createTextVNode, toDisplayString, mergeProps } from "vue";
2
- import { valueToPx } from "../_shared/utils/dom.js";
3
2
  import "../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../node_modules/dayjs/dayjs.min.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,14 +6,15 @@ import "../node_modules/dayjs/plugin/duration.js";
7
6
  import "../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import { valueToPx } from "../_shared/utils/dom.js";
10
10
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
11
11
  import { useI18n } from "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
13
  import useModalClose from "./hooks/useModalClose.js";
14
14
  import useModalDraggable from "./hooks/useModalDraggable.js";
15
15
  import Button from "../Button/index.js";
16
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
17
- /* empty css */
16
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
17
+ /* empty css */
18
18
  /* empty css */
19
19
  /* empty css */
20
20
  const _hoisted_1 = {
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, ref, onMounted, createBlock, openBlock, mergeProps, withCtx, createElementVNode, resolveDynamicComponent, unref, createElementBlock, createCommentVNode } from "vue";
2
- import "../_shared/utils/dom.js";
3
2
  import "../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../node_modules/dayjs/dayjs.min.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,6 +6,7 @@ import "../node_modules/dayjs/plugin/duration.js";
7
6
  import "../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
12
  import { getSlotFunction } from "../_shared/utils/vue-utils.js";
@@ -1,5 +1,4 @@
1
1
  import { ref, watch, nextTick } from "vue";
2
- import "../../_shared/utils/dom.js";
3
2
  import { onKeyStroke } from "../../node_modules/@vueuse/core/index.js";
4
3
  import "../../node_modules/b-tween/dist/b-tween.es.js";
5
4
  import "../../node_modules/dayjs/dayjs.min.js";
@@ -8,6 +7,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
8
7
  import "../../node_modules/dayjs/plugin/toObject.js";
9
8
  import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
10
9
  import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import "../../_shared/utils/dom.js";
11
11
  import { useControlValue } from "../../_shared/utils/hooks.js";
12
12
  import "../../_shared/utils/locale.js";
13
13
  import "../../_shared/utils/time.js";
@@ -1,5 +1,4 @@
1
1
  import { ref, computed, watch } from "vue";
2
- import { valueToPx, sleep } from "../../_shared/utils/dom.js";
3
2
  import { useDraggable } from "../../node_modules/@vueuse/core/index.js";
4
3
  import "../../node_modules/b-tween/dist/b-tween.es.js";
5
4
  import "../../node_modules/dayjs/dayjs.min.js";
@@ -8,6 +7,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
8
7
  import "../../node_modules/dayjs/plugin/toObject.js";
9
8
  import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
10
9
  import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import { valueToPx, sleep } from "../../_shared/utils/dom.js";
11
11
  import "../../_shared/utils/locale.js";
12
12
  import "../../_shared/utils/time.js";
13
13
  const useModalDraggable = (params) => {
@@ -1,4 +1,3 @@
1
- import "../../_shared/utils/dom.js";
2
1
  import "../../node_modules/b-tween/dist/b-tween.es.js";
3
2
  import "../../node_modules/dayjs/dayjs.min.js";
4
3
  import "../../node_modules/tinycolor2/esm/tinycolor.js";
@@ -6,6 +5,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
6
5
  import "../../node_modules/dayjs/plugin/toObject.js";
7
6
  import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
8
7
  import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
8
+ import "../../_shared/utils/dom.js";
9
9
  import "vue";
10
10
  import { isBoolean } from "../../_shared/utils/is.js";
11
11
  import "../../_shared/utils/locale.js";
@@ -1,6 +1,5 @@
1
1
  import { defineComponent, toRefs, watch, onMounted, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, resolveDynamicComponent, withCtx } from "vue";
2
2
  import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
3
- import "../_shared/utils/dom.js";
4
3
  import "../node_modules/b-tween/dist/b-tween.es.js";
5
4
  import "../node_modules/dayjs/dayjs.min.js";
6
5
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -8,12 +7,13 @@ import "../node_modules/dayjs/plugin/duration.js";
8
7
  import "../node_modules/dayjs/plugin/toObject.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
10
9
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import "../_shared/utils/dom.js";
11
11
  import { isUndefined, isFunction } from "../_shared/utils/is.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
14
  import { getSlotFunction } from "../_shared/utils/vue-utils.js";
15
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
16
- /* empty css */
15
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
16
+ /* empty css */
17
17
  /* empty css */
18
18
  /* empty css */
19
19
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
@@ -3,7 +3,6 @@ import _sfc_main from "./Notification.vue.js";
3
3
  /* empty css */
4
4
  import _sfc_main$1 from "./NotificationList.vue.js";
5
5
  /* empty css */
6
- import "../_shared/utils/dom.js";
7
6
  import "../node_modules/b-tween/dist/b-tween.es.js";
8
7
  import "../node_modules/dayjs/dayjs.min.js";
9
8
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -11,6 +10,7 @@ import "../node_modules/dayjs/plugin/duration.js";
11
10
  import "../node_modules/dayjs/plugin/toObject.js";
12
11
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
13
12
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
13
+ import "../_shared/utils/dom.js";
14
14
  import { isString } from "../_shared/utils/is.js";
15
15
  import "../_shared/utils/locale.js";
16
16
  import "../_shared/utils/time.js";
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, useSlots, toRefs, ref, computed, watch, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, Fragment, renderList, createBlock, resolveDynamicComponent, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { throttle, sleep, valueToPx } from "../_shared/utils/dom.js";
3
2
  import { unrefElement, useResizeObserver } from "../node_modules/@vueuse/core/index.js";
4
3
  import "../node_modules/b-tween/dist/b-tween.es.js";
5
4
  import "../node_modules/dayjs/dayjs.min.js";
@@ -8,6 +7,7 @@ import "../node_modules/dayjs/plugin/duration.js";
8
7
  import "../node_modules/dayjs/plugin/toObject.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
10
9
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import { throttle, sleep, valueToPx } from "../_shared/utils/dom.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
13
  import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
@@ -1,7 +1,6 @@
1
1
  import { defineComponent, useSlots, createElementBlock, openBlock, createElementVNode, createCommentVNode, renderSlot, createVNode, createBlock, unref, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
3
- /* empty css */
4
- import "../_shared/utils/dom.js";
2
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
3
+ /* empty css */
5
4
  import "../node_modules/b-tween/dist/b-tween.es.js";
6
5
  import "../node_modules/dayjs/dayjs.min.js";
7
6
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -9,6 +8,7 @@ import "../node_modules/dayjs/plugin/duration.js";
9
8
  import "../node_modules/dayjs/plugin/toObject.js";
10
9
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
11
10
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
11
+ import "../_shared/utils/dom.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
14
  /* empty css */
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, useSlots, ref, watch, createElementBlock, createCommentVNode, unref, openBlock, normalizeClass, createElementVNode, renderSlot, createTextVNode, toDisplayString, createVNode, createBlock, withCtx, Fragment, renderList, isRef, mergeProps } from "vue";
2
- import { sleep } from "../_shared/utils/dom.js";
3
2
  import "../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../node_modules/dayjs/dayjs.min.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,6 +6,7 @@ import "../node_modules/dayjs/plugin/duration.js";
7
6
  import "../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import { sleep } from "../_shared/utils/dom.js";
10
10
  import { isNumber } from "../_shared/utils/is.js";
11
11
  import { useI18n } from "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
@@ -90,6 +90,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
90
90
  }
91
91
  );
92
92
  const handleBlur = async (e) => {
93
+ await sleep(0);
93
94
  if (`${tempCurrent.value}`.length) {
94
95
  computedCurrent.value = tempCurrent.value;
95
96
  }
@@ -146,8 +147,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
146
147
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(computedCurrent) ? computedCurrent.value = $event : null),
147
148
  "hide-button": "",
148
149
  size: unref(size),
149
- disabled: _ctx.disabled
150
- }, null, 8, ["modelValue", "size", "disabled"]),
150
+ disabled: _ctx.disabled,
151
+ min: 1,
152
+ max: unref(pages)
153
+ }, null, 8, ["modelValue", "size", "disabled", "max"]),
151
154
  _cache[4] || (_cache[4] = createElementVNode("span", { class: "yc-pagination-jumper-separator" }, "/", -1)),
152
155
  createElementVNode("span", _hoisted_3, toDisplayString(unref(pages)), 1)
153
156
  ])),
@@ -185,11 +188,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
185
188
  createVNode(unref(InputNumber), {
186
189
  modelValue: tempCurrent.value,
187
190
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => tempCurrent.value = $event),
188
- "hide-button": "",
189
191
  size: unref(size),
190
192
  disabled: _ctx.disabled,
191
193
  min: 1,
192
194
  max: unref(pages),
195
+ "hide-button": "",
193
196
  onFocus: _cache[3] || (_cache[3] = ($event) => tempCurrent.value = unref(computedCurrent)),
194
197
  onBlur: handleBlur
195
198
  }, null, 8, ["modelValue", "size", "disabled", "max"])
@@ -1,5 +1,4 @@
1
1
  import { defineComponent, toRefs, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, renderSlot, createBlock, createCommentVNode } from "vue";
2
- import "../_shared/utils/dom.js";
3
2
  import "../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../node_modules/dayjs/dayjs.min.js";
5
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,9 +6,10 @@ import "../node_modules/dayjs/plugin/duration.js";
7
6
  import "../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
12
+ /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
@@ -1,5 +1,4 @@
1
1
  import { toRefs, ref, computed, provide, inject } from "vue";
2
- import "../../_shared/utils/dom.js";
3
2
  import "../../node_modules/b-tween/dist/b-tween.es.js";
4
3
  import "../../node_modules/dayjs/dayjs.min.js";
5
4
  import "../../node_modules/tinycolor2/esm/tinycolor.js";
@@ -7,6 +6,7 @@ import "../../node_modules/dayjs/plugin/duration.js";
7
6
  import "../../node_modules/dayjs/plugin/toObject.js";
8
7
  import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
9
8
  import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import "../../_shared/utils/dom.js";
10
10
  import { getGlobalConfig } from "../../_shared/utils/global-config.js";
11
11
  import { useControlValue } from "../../_shared/utils/hooks.js";
12
12
  import { useI18n } from "../../_shared/utils/locale.js";