yc-design-vue 2.1.1 → 2.1.3

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 (703) hide show
  1. package/LICENSE +21 -201
  2. package/dist/index.umd.js +1 -1
  3. package/dist/lang-es/zh-cn.js +140 -142
  4. package/dist/style.css +1 -1
  5. package/es/Affix/index.vue.js +11 -2
  6. package/es/Alert/index.d.ts +3 -3
  7. package/es/Alert/index.vue.d.ts +1 -1
  8. package/es/Alert/index.vue.js +9 -0
  9. package/es/Anchor/Anchor.vue.js +9 -0
  10. package/es/Anchor/AnchorLink.vue.js +9 -0
  11. package/es/Anchor/hooks/useContext.js +10 -1
  12. package/es/AutoComplete/index.d.ts +74 -74
  13. package/es/AutoComplete/index.vue.d.ts +101 -101
  14. package/es/AutoComplete/index.vue.js +11 -1
  15. package/es/Avatar/Avatar.vue.js +10 -1
  16. package/es/Avatar/AvatarGroup.vue.js +13 -3
  17. package/es/BackTop/index.vue.js +11 -3
  18. package/es/Badge/index.vue.js +10 -1
  19. package/es/Breadcrumb/Breadcrumb.vue.js +14 -5
  20. package/es/Breadcrumb/BreadcrumbItem.vue.d.ts +1 -1
  21. package/es/Breadcrumb/BreadcrumbItem.vue.js +9 -0
  22. package/es/Breadcrumb/BreadcrumbMore.vue.js +9 -0
  23. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +10 -1
  24. package/es/Breadcrumb/index.d.ts +3 -3
  25. package/es/Button/Button.vue.d.ts +2 -2
  26. package/es/Button/ButtonGroup.vue.d.ts +1 -1
  27. package/es/Button/hooks/useContext.js +10 -0
  28. package/es/Button/index.d.ts +9 -9
  29. package/es/Calendar/Calendar.vue.js +9 -2
  30. package/es/Calendar/CalendarMonth.vue.d.ts +1 -1
  31. package/es/Calendar/CalendarMonth.vue.js +8 -1
  32. package/es/Calendar/CalendarYear.vue.d.ts +1 -1
  33. package/es/Calendar/CalendarYear.vue.js +8 -0
  34. package/es/Card/Card.vue.js +11 -1
  35. package/es/Card/CardMeta.vue.js +10 -0
  36. package/es/Carousel/Carousel.vue.js +10 -0
  37. package/es/Carousel/CarouselArrow.vue.js +9 -0
  38. package/es/Carousel/CarouselIndicator.vue.js +9 -0
  39. package/es/Carousel/hooks/useContext.js +10 -1
  40. package/es/Cascader/Cascader.vue.d.ts +27 -27
  41. package/es/Cascader/Cascader.vue.js +9 -0
  42. package/es/Cascader/CascaderIcon.vue.js +9 -0
  43. package/es/Cascader/CascaderOption.vue.d.ts +1 -1
  44. package/es/Cascader/CascaderOption.vue.js +10 -1
  45. package/es/Cascader/hooks/useContext.js +11 -1
  46. package/es/Cascader/index.d.ts +28 -28
  47. package/es/Checkbox/Checkbox.vue.js +11 -2
  48. package/es/Checkbox/hooks/useContext.js +11 -1
  49. package/es/Collapse/CollapseItem.vue.d.ts +1 -1
  50. package/es/Collapse/CollapseItem.vue.js +9 -0
  51. package/es/Collapse/hooks/useContext.js +11 -1
  52. package/es/Collapse/index.d.ts +3 -3
  53. package/es/Collapse/type.d.ts +1 -1
  54. package/es/ColorPicker/ColorControl.vue.js +9 -0
  55. package/es/ColorPicker/ColorInput.vue.js +10 -0
  56. package/es/ColorPicker/ColorList.vue.js +9 -0
  57. package/es/ColorPicker/ColorPalette.vue.js +9 -0
  58. package/es/ColorPicker/ColorPanel.vue.js +9 -0
  59. package/es/ColorPicker/hooks/useContext.js +11 -1
  60. package/es/Comment/hooks/useContext.js +10 -0
  61. package/es/Comment/index.vue.js +10 -0
  62. package/es/ConfigProvider/index.d.ts +3 -3
  63. package/es/ConfigProvider/index.vue.d.ts +1 -1
  64. package/es/ConfigProvider/index.vue.js +10 -0
  65. package/es/ConfigProvider/type.d.ts +1 -1
  66. package/es/Descriptions/Descriptions.vue.d.ts +2 -2
  67. package/es/Descriptions/DescriptionsItem.vue.d.ts +1 -1
  68. package/es/Descriptions/ReuseItem.vue.js +10 -0
  69. package/es/Descriptions/ReuseTd.vue.js +10 -0
  70. package/es/Descriptions/hooks/useContext.js +9 -0
  71. package/es/Descriptions/index.d.ts +9 -9
  72. package/es/Divider/index.vue.js +9 -0
  73. package/es/Divider/type.d.ts +1 -1
  74. package/es/Drawer/Drawer.vue.d.ts +4 -4
  75. package/es/Drawer/Drawer.vue.js +9 -1
  76. package/es/Drawer/DrawerService.vue.d.ts +4 -4
  77. package/es/Drawer/DrawerService.vue.js +10 -0
  78. package/es/Drawer/index.d.ts +12 -12
  79. package/es/Dropdown/Dropdown.vue.d.ts +3 -3
  80. package/es/Dropdown/Dropdown.vue.js +10 -1
  81. package/es/Dropdown/DropdownButton.vue.d.ts +5 -5
  82. package/es/Dropdown/DropdownButton.vue.js +9 -0
  83. package/es/Dropdown/Dsubmenu.vue.d.ts +11 -11
  84. package/es/Dropdown/Dsubmenu.vue.js +14 -6
  85. package/es/Dropdown/hooks/useContext.js +11 -1
  86. package/es/Dropdown/index.d.ts +27 -27
  87. package/es/Dropdown/type.d.ts +1 -1
  88. package/es/Empty/index.vue.js +9 -1
  89. package/es/Grid/Grid.vue.js +9 -0
  90. package/es/Grid/GridCol.vue.js +9 -0
  91. package/es/Grid/GridItem.vue.js +9 -0
  92. package/es/Grid/GridRow.vue.d.ts +1 -1
  93. package/es/Grid/GridRow.vue.js +9 -0
  94. package/es/Grid/hooks/useContext.js +10 -1
  95. package/es/Grid/index.d.ts +3 -3
  96. package/es/Image/Image.vue.js +9 -1
  97. package/es/Image/ImagePreview.vue.js +12 -3
  98. package/es/Image/ImagePreviewAction.vue.d.ts +1 -1
  99. package/es/Image/ImagePreviewArrow.vue.js +9 -0
  100. package/es/Image/ImagePreviewGroup.vue.js +10 -0
  101. package/es/Image/ImagePreviewToolbar.vue.js +9 -1
  102. package/es/Image/hooks/useContext.js +11 -1
  103. package/es/Image/index.d.ts +3 -3
  104. package/es/Input/Input.vue.d.ts +4 -4
  105. package/es/Input/Input.vue.js +11 -2
  106. package/es/Input/InputSuffix.vue.js +9 -0
  107. package/es/Input/hooks/useLimitedInput.js +11 -1
  108. package/es/Input/index.d.ts +10 -10
  109. package/es/Input/type.d.ts +1 -1
  110. package/es/InputNumber/InputNumber.vue.d.ts +25 -25
  111. package/es/InputNumber/InputNumber.vue.js +11 -2
  112. package/es/InputNumber/InputOperaBtn.vue.js +9 -0
  113. package/es/InputNumber/index.d.ts +23 -23
  114. package/es/InputNumber/type.d.ts +1 -1
  115. package/es/InputTag/index.d.ts +15 -15
  116. package/es/InputTag/index.vue.d.ts +6 -6
  117. package/es/InputTag/index.vue.js +13 -4
  118. package/es/InputTag/type.d.ts +1 -1
  119. package/es/Layout/Layout.vue.js +10 -0
  120. package/es/Layout/LayoutSider.vue.d.ts +3 -3
  121. package/es/Layout/LayoutSider.vue.js +9 -0
  122. package/es/Layout/hooks/useSiderContext.js +11 -1
  123. package/es/Layout/index.d.ts +9 -9
  124. package/es/Link/index.vue.js +9 -0
  125. package/es/List/List.vue.d.ts +7 -7
  126. package/es/List/List.vue.js +11 -2
  127. package/es/List/ListVirtual.vue.js +10 -0
  128. package/es/List/hooks/useScrollReach.js +11 -2
  129. package/es/List/index.d.ts +6 -6
  130. package/es/List/type.d.ts +1 -1
  131. package/es/Mention/index.d.ts +87 -87
  132. package/es/Mention/index.vue.d.ts +145 -145
  133. package/es/Mention/index.vue.js +11 -1
  134. package/es/Mention/type.d.ts +1 -1
  135. package/es/Menu/Menu.vue.d.ts +8 -8
  136. package/es/Menu/Menu.vue.js +9 -0
  137. package/es/Menu/MenuEllipsis.vue.js +9 -0
  138. package/es/Menu/MenuItem.vue.js +10 -1
  139. package/es/Menu/MenuItemGroup.vue.js +9 -0
  140. package/es/Menu/SubMenu.vue.js +10 -2
  141. package/es/Menu/hooks/useContext.d.ts +1 -1
  142. package/es/Menu/hooks/useContext.js +17 -6
  143. package/es/Menu/index.d.ts +24 -24
  144. package/es/Menu/type.d.ts +1 -1
  145. package/es/Message/Message.vue.d.ts +2 -2
  146. package/es/Message/Message.vue.js +11 -2
  147. package/es/Message/index.d.ts +7 -7
  148. package/es/Message/index.js +11 -1
  149. package/es/Message/type.d.ts +1 -1
  150. package/es/Modal/Modal.vue.d.ts +3 -3
  151. package/es/Modal/Modal.vue.js +9 -1
  152. package/es/Modal/ModalService.vue.d.ts +3 -3
  153. package/es/Modal/ModalService.vue.js +10 -0
  154. package/es/Modal/hooks/useModalClose.d.ts +1 -1
  155. package/es/Modal/hooks/useModalClose.js +11 -1
  156. package/es/Modal/hooks/useModalDraggable.js +10 -1
  157. package/es/Modal/hooks/useOnBeforeClose.js +11 -0
  158. package/es/Modal/index.d.ts +9 -9
  159. package/es/Notification/Notification.vue.d.ts +5 -5
  160. package/es/Notification/Notification.vue.js +10 -1
  161. package/es/Notification/index.d.ts +22 -21
  162. package/es/Notification/index.js +10 -0
  163. package/es/Notification/type.d.ts +1 -1
  164. package/es/OverflowList/index.vue.js +11 -2
  165. package/es/PageHeader/index.vue.js +9 -0
  166. package/es/Pagination/Pagination.vue.js +9 -1
  167. package/es/Pagination/PaginationItem.vue.js +9 -0
  168. package/es/Pagination/hooks/useContext.js +10 -1
  169. package/es/Popconfirm/index.d.ts +16 -16
  170. package/es/Popconfirm/index.vue.d.ts +14 -14
  171. package/es/Popconfirm/index.vue.js +10 -1
  172. package/es/Popover/index.d.ts +6 -6
  173. package/es/Popover/index.vue.d.ts +2 -2
  174. package/es/Popover/index.vue.js +11 -1
  175. package/es/Progress/Progress.vue.js +10 -0
  176. package/es/Progress/ProgressCircle.vue.js +11 -2
  177. package/es/Progress/ProgressLine.vue.js +9 -0
  178. package/es/Progress/ProgressSteps.vue.js +9 -0
  179. package/es/Radio/Radio.vue.d.ts +1 -1
  180. package/es/Radio/Radio.vue.js +11 -2
  181. package/es/Radio/RadioGroup.vue.d.ts +1 -1
  182. package/es/Radio/hooks/useContext.js +11 -1
  183. package/es/Radio/index.d.ts +6 -6
  184. package/es/Radio/type.d.ts +1 -1
  185. package/es/Rate/index.vue.js +11 -2
  186. package/es/ResizeBox/index.vue.d.ts +2 -1
  187. package/es/ResizeBox/index.vue.js +11 -2
  188. package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
  189. package/es/Scrollbar/Scrollbar.vue.js +10 -1
  190. package/es/Scrollbar/ScrollbarTrack.vue.js +10 -1
  191. package/es/Scrollbar/index.d.ts +3 -3
  192. package/es/Select/Option.vue.d.ts +1 -1
  193. package/es/Select/Option.vue.js +10 -1
  194. package/es/Select/Select.vue.d.ts +47 -47
  195. package/es/Select/Select.vue.js +10 -1
  196. package/es/Select/SelectIcon.vue.js +9 -0
  197. package/es/Select/SelectRealList.vue.js +10 -0
  198. package/es/Select/SelectView.vue.js +10 -0
  199. package/es/Select/SelectVirtualList.vue.d.ts +1 -1
  200. package/es/Select/SelectVirtualList.vue.js +12 -3
  201. package/es/Select/hooks/useContext.js +11 -1
  202. package/es/Select/hooks/useSelectHotkeys.js +10 -0
  203. package/es/Select/hooks/useSelectOptions.d.ts +1 -1
  204. package/es/Select/hooks/useSelectOptions.js +10 -0
  205. package/es/Select/index.d.ts +45 -45
  206. package/es/Select/type.d.ts +1 -1
  207. package/es/Skeleton/SkeletonLine.vue.js +9 -0
  208. package/es/Skeleton/SkeletonShape.vue.js +10 -0
  209. package/es/Slider/SliderBtn.vue.js +11 -1
  210. package/es/Slider/hooks/useContext.js +11 -1
  211. package/es/Slider/hooks/useSliderDraggable.js +10 -1
  212. package/es/Space/index.vue.js +10 -1
  213. package/es/Space/type.d.ts +2 -2
  214. package/es/Spin/index.vue.js +9 -0
  215. package/es/Split/index.vue.js +12 -3
  216. package/es/Split/type.d.ts +1 -1
  217. package/es/Statistic/Countdown.vue.d.ts +1 -1
  218. package/es/Statistic/Countdown.vue.js +9 -1
  219. package/es/Statistic/Statistic.vue.d.ts +1 -1
  220. package/es/Statistic/Statistic.vue.js +9 -1
  221. package/es/Statistic/index.d.ts +6 -6
  222. package/es/Steps/Step.vue.d.ts +1 -1
  223. package/es/Steps/Step.vue.js +9 -0
  224. package/es/Steps/hooks/useContext.js +11 -1
  225. package/es/Steps/index.d.ts +3 -3
  226. package/es/Steps/type.d.ts +1 -1
  227. package/es/Switch/index.d.ts +8 -8
  228. package/es/Switch/index.vue.d.ts +3 -3
  229. package/es/Switch/index.vue.js +12 -2
  230. package/es/Tabs/TabButton.vue.js +9 -0
  231. package/es/Tabs/TabPane.vue.d.ts +1 -1
  232. package/es/Tabs/TabPane.vue.js +10 -0
  233. package/es/Tabs/Tabs.vue.d.ts +2 -2
  234. package/es/Tabs/Tabs.vue.js +9 -0
  235. package/es/Tabs/TabsNavInk.vue.js +10 -1
  236. package/es/Tabs/TabsTab.vue.js +10 -0
  237. package/es/Tabs/hooks/useContext.js +11 -1
  238. package/es/Tabs/hooks/useTabsScroll.js +10 -1
  239. package/es/Tabs/index.d.ts +6 -6
  240. package/es/Tabs/type.d.ts +1 -1
  241. package/es/Tag/index.vue.js +11 -2
  242. package/es/Textarea/hooks/useTextareaHeight.js +9 -0
  243. package/es/Textarea/index.d.ts +10 -10
  244. package/es/Textarea/index.vue.d.ts +4 -4
  245. package/es/Textarea/index.vue.js +9 -0
  246. package/es/TimePicker/TimePicker.vue.d.ts +6 -6
  247. package/es/TimePicker/TimePicker.vue.js +10 -2
  248. package/es/TimePicker/TimePickerPanel.vue.js +7 -1
  249. package/es/TimePicker/hooks/useContext.js +10 -1
  250. package/es/TimePicker/index.d.ts +16 -16
  251. package/es/TimePicker/type.d.ts +1 -1
  252. package/es/Timeline/TimelineItem.vue.d.ts +1 -1
  253. package/es/Timeline/TimelineItemPending.vue.js +11 -1
  254. package/es/Timeline/hooks/useContext.js +10 -0
  255. package/es/Timeline/index.d.ts +3 -3
  256. package/es/Timeline/type.d.ts +1 -1
  257. package/es/Tooltip/index.d.ts +3 -3
  258. package/es/Tooltip/index.vue.d.ts +1 -1
  259. package/es/Tooltip/index.vue.js +11 -1
  260. package/es/Transfer/Transfer.vue.d.ts +3 -3
  261. package/es/Transfer/Transfer.vue.js +9 -0
  262. package/es/Transfer/TransferPanel.vue.js +11 -2
  263. package/es/Transfer/hooks/useContext.js +11 -1
  264. package/es/Transfer/index.d.ts +8 -8
  265. package/es/Transfer/type.d.ts +1 -1
  266. package/es/Trigger/hooks/useContext.js +10 -1
  267. package/es/Trigger/hooks/useTriggerPosition.js +9 -0
  268. package/es/Trigger/hooks/useTriggerVisible.js +11 -2
  269. package/es/Trigger/index.d.ts +6 -6
  270. package/es/Trigger/index.vue.d.ts +2 -2
  271. package/es/Trigger/index.vue.js +11 -2
  272. package/es/Typography/TypographyBase.vue.d.ts +22 -22
  273. package/es/Typography/TypographyBase.vue.js +12 -4
  274. package/es/Typography/type.d.ts +1 -1
  275. package/es/Upload/Upload.vue.d.ts +1 -1
  276. package/es/Upload/UploadButton.vue.js +9 -1
  277. package/es/Upload/UploadDrag.vue.js +9 -1
  278. package/es/Upload/UploadFileList.vue2.js +10 -1
  279. package/es/Upload/UploadPictureCard.vue2.js +10 -1
  280. package/es/Upload/hooks/useContext.js +11 -1
  281. package/es/Upload/hooks/useUpload.d.ts +1 -1
  282. package/es/Upload/hooks/useUpload.js +11 -1
  283. package/es/Upload/index.d.ts +3 -3
  284. package/es/VerificationCode/index.d.ts +3 -3
  285. package/es/VerificationCode/index.vue.d.ts +1 -1
  286. package/es/VerificationCode/index.vue.js +12 -3
  287. package/es/Watermark/index.d.ts +3 -3
  288. package/es/Watermark/index.vue.d.ts +1 -1
  289. package/es/Watermark/index.vue.js +11 -1
  290. package/es/_shared/components/ExpandTransition/index.vue2.js +9 -0
  291. package/es/_shared/components/Icon/index.vue3.js +9 -0
  292. package/es/_shared/components/IconButton/index.vue.js +9 -0
  293. package/es/_shared/constants/index.js +9 -0
  294. package/es/_shared/icons/IconArrowDown.vue.js +9 -0
  295. package/es/_shared/icons/IconArrowRight.vue.js +9 -0
  296. package/es/_shared/icons/IconCheck.vue.js +9 -0
  297. package/es/_shared/icons/IconCheckboxChecked.vue.js +9 -0
  298. package/es/_shared/icons/IconClose.vue.js +9 -0
  299. package/es/_shared/icons/IconCopy.vue.js +28 -1
  300. package/es/_shared/icons/IconCopy.vue2.js +1 -19
  301. package/es/_shared/icons/IconDelete.vue.js +28 -1
  302. package/es/_shared/icons/IconDelete.vue2.js +1 -19
  303. package/es/_shared/icons/IconDragDot.vue.js +9 -0
  304. package/es/_shared/icons/IconEdit.vue.js +28 -1
  305. package/es/_shared/icons/IconEdit.vue2.js +1 -19
  306. package/es/_shared/icons/IconEmpty.vue.js +9 -0
  307. package/es/_shared/icons/IconError.vue.js +9 -0
  308. package/es/_shared/icons/IconExclamation.vue.js +39 -1
  309. package/es/_shared/icons/IconExclamation.vue2.js +1 -30
  310. package/es/_shared/icons/IconEyeClose.vue2.js +9 -0
  311. package/es/_shared/icons/IconEyeOpen.vue2.js +9 -0
  312. package/es/_shared/icons/IconFaceSmile.vue.js +9 -0
  313. package/es/_shared/icons/IconFile.vue2.js +9 -0
  314. package/es/_shared/icons/IconFullScreen.vue2.js +9 -0
  315. package/es/_shared/icons/IconImageClose.vue.js +9 -0
  316. package/es/_shared/icons/IconInfo.vue.js +9 -0
  317. package/es/_shared/icons/IconInfoLine.vue.js +9 -0
  318. package/es/_shared/icons/IconLink.vue.js +9 -0
  319. package/es/_shared/icons/IconLoading.vue.js +9 -0
  320. package/es/_shared/icons/IconMenuFold.vue.js +9 -0
  321. package/es/_shared/icons/IconMenuUnfold.vue.js +9 -0
  322. package/es/_shared/icons/IconMinus.vue2.js +9 -0
  323. package/es/_shared/icons/IconMore.vue.js +9 -0
  324. package/es/_shared/icons/IconOriginSize.vue2.js +9 -0
  325. package/es/_shared/icons/IconPlus.vue.js +9 -0
  326. package/es/_shared/icons/IconRight.vue.js +9 -0
  327. package/es/_shared/icons/IconRotateLeft.vue2.js +9 -0
  328. package/es/_shared/icons/IconRotateRight.vue2.js +9 -0
  329. package/es/_shared/icons/IconSearch.vue.js +28 -1
  330. package/es/_shared/icons/IconSearch.vue2.js +1 -19
  331. package/es/_shared/icons/IconSeparator.vue2.js +9 -0
  332. package/es/_shared/icons/IconStar.vue.js +9 -0
  333. package/es/_shared/icons/IconSuccess.vue.js +9 -0
  334. package/es/_shared/icons/IconTime.vue.js +9 -0
  335. package/es/_shared/icons/IconToTop.vue.js +9 -0
  336. package/es/_shared/icons/IconUpload.vue2.js +9 -0
  337. package/es/_shared/icons/IconWarning.vue.js +9 -0
  338. package/es/_shared/icons/IconZoomIn.vue2.js +9 -0
  339. package/es/_shared/icons/IconZoomOut.vue2.js +9 -0
  340. package/es/_shared/utils/color.d.ts +1 -1
  341. package/es/_shared/utils/color.js +6 -0
  342. package/es/_shared/utils/dependencies.d.ts +11 -0
  343. package/es/_shared/utils/dom.js +8 -1
  344. package/es/_shared/utils/index.d.ts +12 -0
  345. package/es/_shared/utils/time.d.ts +1 -1
  346. package/es/_shared/utils/time.js +3 -1
  347. package/es/_shared/utils/vue-utils.d.ts +0 -1
  348. package/es/index.d.ts +64 -64
  349. package/es/lang-es/zh-cn.js +140 -142
  350. package/es/shared.css +1 -1
  351. package/es/style.css +1 -1
  352. package/lib/Affix/index.vue.js +1 -1
  353. package/lib/Alert/index.d.ts +3 -3
  354. package/lib/Alert/index.vue.d.ts +1 -1
  355. package/lib/Alert/index.vue.js +1 -1
  356. package/lib/Anchor/Anchor.vue.js +1 -1
  357. package/lib/Anchor/AnchorLink.vue.js +1 -1
  358. package/lib/Anchor/hooks/useContext.js +1 -1
  359. package/lib/AutoComplete/index.d.ts +74 -74
  360. package/lib/AutoComplete/index.vue.d.ts +101 -101
  361. package/lib/AutoComplete/index.vue.js +1 -1
  362. package/lib/Avatar/Avatar.vue.js +1 -1
  363. package/lib/Avatar/AvatarGroup.vue.js +1 -1
  364. package/lib/BackTop/index.vue.js +1 -1
  365. package/lib/Badge/index.vue.js +1 -1
  366. package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
  367. package/lib/Breadcrumb/BreadcrumbItem.vue.d.ts +1 -1
  368. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  369. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  370. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  371. package/lib/Breadcrumb/index.d.ts +3 -3
  372. package/lib/Button/Button.vue.d.ts +2 -2
  373. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  374. package/lib/Button/hooks/useContext.js +1 -1
  375. package/lib/Button/index.d.ts +9 -9
  376. package/lib/Calendar/Calendar.vue.js +1 -1
  377. package/lib/Calendar/CalendarMonth.vue.d.ts +1 -1
  378. package/lib/Calendar/CalendarMonth.vue.js +1 -1
  379. package/lib/Calendar/CalendarYear.vue.d.ts +1 -1
  380. package/lib/Calendar/CalendarYear.vue.js +1 -1
  381. package/lib/Card/Card.vue.js +1 -1
  382. package/lib/Card/CardMeta.vue.js +1 -1
  383. package/lib/Carousel/Carousel.vue.js +1 -1
  384. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  385. package/lib/Carousel/CarouselIndicator.vue.js +1 -1
  386. package/lib/Carousel/hooks/useContext.js +1 -1
  387. package/lib/Cascader/Cascader.vue.d.ts +27 -27
  388. package/lib/Cascader/Cascader.vue.js +1 -1
  389. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  390. package/lib/Cascader/CascaderOption.vue.d.ts +1 -1
  391. package/lib/Cascader/CascaderOption.vue.js +1 -1
  392. package/lib/Cascader/hooks/useContext.js +1 -1
  393. package/lib/Cascader/index.d.ts +28 -28
  394. package/lib/Checkbox/Checkbox.vue.js +1 -1
  395. package/lib/Checkbox/hooks/useContext.js +1 -1
  396. package/lib/Collapse/CollapseItem.vue.d.ts +1 -1
  397. package/lib/Collapse/CollapseItem.vue.js +1 -1
  398. package/lib/Collapse/hooks/useContext.js +1 -1
  399. package/lib/Collapse/index.d.ts +3 -3
  400. package/lib/Collapse/type.d.ts +1 -1
  401. package/lib/ColorPicker/ColorControl.vue.js +1 -1
  402. package/lib/ColorPicker/ColorInput.vue.js +1 -1
  403. package/lib/ColorPicker/ColorList.vue.js +1 -1
  404. package/lib/ColorPicker/ColorPalette.vue.js +1 -1
  405. package/lib/ColorPicker/ColorPanel.vue.js +1 -1
  406. package/lib/ColorPicker/hooks/useContext.js +1 -1
  407. package/lib/Comment/hooks/useContext.js +1 -1
  408. package/lib/Comment/index.vue.js +1 -1
  409. package/lib/ConfigProvider/index.d.ts +3 -3
  410. package/lib/ConfigProvider/index.vue.d.ts +1 -1
  411. package/lib/ConfigProvider/index.vue.js +1 -1
  412. package/lib/ConfigProvider/type.d.ts +1 -1
  413. package/lib/Descriptions/Descriptions.vue.d.ts +2 -2
  414. package/lib/Descriptions/DescriptionsItem.vue.d.ts +1 -1
  415. package/lib/Descriptions/ReuseItem.vue.js +1 -1
  416. package/lib/Descriptions/ReuseTd.vue.js +1 -1
  417. package/lib/Descriptions/hooks/useContext.js +1 -1
  418. package/lib/Descriptions/index.d.ts +9 -9
  419. package/lib/Divider/index.vue.js +1 -1
  420. package/lib/Divider/type.d.ts +1 -1
  421. package/lib/Drawer/Drawer.vue.d.ts +4 -4
  422. package/lib/Drawer/Drawer.vue.js +1 -1
  423. package/lib/Drawer/DrawerService.vue.d.ts +4 -4
  424. package/lib/Drawer/DrawerService.vue.js +1 -1
  425. package/lib/Drawer/index.d.ts +12 -12
  426. package/lib/Dropdown/Dropdown.vue.d.ts +3 -3
  427. package/lib/Dropdown/Dropdown.vue.js +1 -1
  428. package/lib/Dropdown/DropdownButton.vue.d.ts +5 -5
  429. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  430. package/lib/Dropdown/Dsubmenu.vue.d.ts +11 -11
  431. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  432. package/lib/Dropdown/hooks/useContext.js +1 -1
  433. package/lib/Dropdown/index.d.ts +27 -27
  434. package/lib/Dropdown/type.d.ts +1 -1
  435. package/lib/Empty/index.vue.js +1 -1
  436. package/lib/Grid/Grid.vue.js +1 -1
  437. package/lib/Grid/GridCol.vue.js +1 -1
  438. package/lib/Grid/GridItem.vue.js +1 -1
  439. package/lib/Grid/GridRow.vue.d.ts +1 -1
  440. package/lib/Grid/GridRow.vue.js +1 -1
  441. package/lib/Grid/hooks/useContext.js +1 -1
  442. package/lib/Grid/index.d.ts +3 -3
  443. package/lib/Image/Image.vue.js +1 -1
  444. package/lib/Image/ImagePreview.vue.js +1 -1
  445. package/lib/Image/ImagePreviewAction.vue.d.ts +1 -1
  446. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  447. package/lib/Image/ImagePreviewGroup.vue.js +1 -1
  448. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  449. package/lib/Image/hooks/useContext.js +1 -1
  450. package/lib/Image/index.d.ts +3 -3
  451. package/lib/Input/Input.vue.d.ts +4 -4
  452. package/lib/Input/Input.vue.js +1 -1
  453. package/lib/Input/InputSuffix.vue.js +1 -1
  454. package/lib/Input/hooks/useLimitedInput.js +1 -1
  455. package/lib/Input/index.d.ts +10 -10
  456. package/lib/Input/type.d.ts +1 -1
  457. package/lib/InputNumber/InputNumber.vue.d.ts +25 -25
  458. package/lib/InputNumber/InputNumber.vue.js +1 -1
  459. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  460. package/lib/InputNumber/index.d.ts +23 -23
  461. package/lib/InputNumber/type.d.ts +1 -1
  462. package/lib/InputTag/index.d.ts +15 -15
  463. package/lib/InputTag/index.vue.d.ts +6 -6
  464. package/lib/InputTag/index.vue.js +1 -1
  465. package/lib/InputTag/type.d.ts +1 -1
  466. package/lib/Layout/Layout.vue.js +1 -1
  467. package/lib/Layout/LayoutSider.vue.d.ts +3 -3
  468. package/lib/Layout/LayoutSider.vue.js +1 -1
  469. package/lib/Layout/hooks/useSiderContext.js +1 -1
  470. package/lib/Layout/index.d.ts +9 -9
  471. package/lib/Link/index.vue.js +1 -1
  472. package/lib/List/List.vue.d.ts +7 -7
  473. package/lib/List/List.vue.js +1 -1
  474. package/lib/List/ListVirtual.vue.js +1 -1
  475. package/lib/List/hooks/useScrollReach.js +1 -1
  476. package/lib/List/index.d.ts +6 -6
  477. package/lib/List/type.d.ts +1 -1
  478. package/lib/Mention/index.d.ts +87 -87
  479. package/lib/Mention/index.vue.d.ts +145 -145
  480. package/lib/Mention/index.vue.js +1 -1
  481. package/lib/Mention/type.d.ts +1 -1
  482. package/lib/Menu/Menu.vue.d.ts +8 -8
  483. package/lib/Menu/Menu.vue.js +1 -1
  484. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  485. package/lib/Menu/MenuItem.vue.js +1 -1
  486. package/lib/Menu/MenuItemGroup.vue.js +1 -1
  487. package/lib/Menu/SubMenu.vue.js +1 -1
  488. package/lib/Menu/hooks/useContext.d.ts +1 -1
  489. package/lib/Menu/hooks/useContext.js +1 -1
  490. package/lib/Menu/index.d.ts +24 -24
  491. package/lib/Menu/type.d.ts +1 -1
  492. package/lib/Message/Message.vue.d.ts +2 -2
  493. package/lib/Message/Message.vue.js +1 -1
  494. package/lib/Message/index.d.ts +7 -7
  495. package/lib/Message/index.js +1 -1
  496. package/lib/Message/type.d.ts +1 -1
  497. package/lib/Modal/Modal.vue.d.ts +3 -3
  498. package/lib/Modal/Modal.vue.js +1 -1
  499. package/lib/Modal/ModalService.vue.d.ts +3 -3
  500. package/lib/Modal/ModalService.vue.js +1 -1
  501. package/lib/Modal/hooks/useModalClose.d.ts +1 -1
  502. package/lib/Modal/hooks/useModalClose.js +1 -1
  503. package/lib/Modal/hooks/useModalDraggable.js +1 -1
  504. package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
  505. package/lib/Modal/index.d.ts +9 -9
  506. package/lib/Notification/Notification.vue.d.ts +5 -5
  507. package/lib/Notification/Notification.vue.js +1 -1
  508. package/lib/Notification/index.d.ts +22 -21
  509. package/lib/Notification/index.js +1 -1
  510. package/lib/Notification/type.d.ts +1 -1
  511. package/lib/OverflowList/index.vue.js +1 -1
  512. package/lib/PageHeader/index.vue.js +1 -1
  513. package/lib/Pagination/Pagination.vue.js +1 -1
  514. package/lib/Pagination/PaginationItem.vue.js +1 -1
  515. package/lib/Pagination/hooks/useContext.js +1 -1
  516. package/lib/Popconfirm/index.d.ts +16 -16
  517. package/lib/Popconfirm/index.vue.d.ts +14 -14
  518. package/lib/Popconfirm/index.vue.js +1 -1
  519. package/lib/Popover/index.d.ts +6 -6
  520. package/lib/Popover/index.vue.d.ts +2 -2
  521. package/lib/Popover/index.vue.js +1 -1
  522. package/lib/Progress/Progress.vue.js +1 -1
  523. package/lib/Progress/ProgressCircle.vue.js +1 -1
  524. package/lib/Progress/ProgressLine.vue.js +1 -1
  525. package/lib/Progress/ProgressSteps.vue.js +1 -1
  526. package/lib/Radio/Radio.vue.d.ts +1 -1
  527. package/lib/Radio/Radio.vue.js +1 -1
  528. package/lib/Radio/RadioGroup.vue.d.ts +1 -1
  529. package/lib/Radio/hooks/useContext.js +1 -1
  530. package/lib/Radio/index.d.ts +6 -6
  531. package/lib/Radio/type.d.ts +1 -1
  532. package/lib/Rate/index.vue.js +1 -1
  533. package/lib/ResizeBox/index.vue.d.ts +2 -1
  534. package/lib/ResizeBox/index.vue.js +1 -1
  535. package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
  536. package/lib/Scrollbar/Scrollbar.vue.js +1 -1
  537. package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
  538. package/lib/Scrollbar/index.d.ts +3 -3
  539. package/lib/Select/Option.vue.d.ts +1 -1
  540. package/lib/Select/Option.vue.js +1 -1
  541. package/lib/Select/Select.vue.d.ts +47 -47
  542. package/lib/Select/Select.vue.js +1 -1
  543. package/lib/Select/SelectIcon.vue.js +1 -1
  544. package/lib/Select/SelectRealList.vue.js +1 -1
  545. package/lib/Select/SelectView.vue.js +1 -1
  546. package/lib/Select/SelectVirtualList.vue.d.ts +1 -1
  547. package/lib/Select/SelectVirtualList.vue.js +1 -1
  548. package/lib/Select/hooks/useContext.js +1 -1
  549. package/lib/Select/hooks/useSelectHotkeys.js +1 -1
  550. package/lib/Select/hooks/useSelectOptions.d.ts +1 -1
  551. package/lib/Select/hooks/useSelectOptions.js +1 -1
  552. package/lib/Select/index.d.ts +45 -45
  553. package/lib/Select/type.d.ts +1 -1
  554. package/lib/Skeleton/SkeletonLine.vue.js +1 -1
  555. package/lib/Skeleton/SkeletonShape.vue.js +1 -1
  556. package/lib/Slider/SliderBtn.vue.js +1 -1
  557. package/lib/Slider/hooks/useContext.js +1 -1
  558. package/lib/Slider/hooks/useSliderDraggable.js +1 -1
  559. package/lib/Space/index.vue.js +1 -1
  560. package/lib/Space/type.d.ts +2 -2
  561. package/lib/Spin/index.vue.js +1 -1
  562. package/lib/Split/index.vue.js +1 -1
  563. package/lib/Split/type.d.ts +1 -1
  564. package/lib/Statistic/Countdown.vue.d.ts +1 -1
  565. package/lib/Statistic/Countdown.vue.js +1 -1
  566. package/lib/Statistic/Statistic.vue.d.ts +1 -1
  567. package/lib/Statistic/Statistic.vue.js +1 -1
  568. package/lib/Statistic/index.d.ts +6 -6
  569. package/lib/Steps/Step.vue.d.ts +1 -1
  570. package/lib/Steps/Step.vue.js +1 -1
  571. package/lib/Steps/hooks/useContext.js +1 -1
  572. package/lib/Steps/index.d.ts +3 -3
  573. package/lib/Steps/type.d.ts +1 -1
  574. package/lib/Switch/index.d.ts +8 -8
  575. package/lib/Switch/index.vue.d.ts +3 -3
  576. package/lib/Switch/index.vue.js +1 -1
  577. package/lib/Tabs/TabButton.vue.js +1 -1
  578. package/lib/Tabs/TabPane.vue.d.ts +1 -1
  579. package/lib/Tabs/TabPane.vue.js +1 -1
  580. package/lib/Tabs/Tabs.vue.d.ts +2 -2
  581. package/lib/Tabs/Tabs.vue.js +1 -1
  582. package/lib/Tabs/TabsNavInk.vue.js +1 -1
  583. package/lib/Tabs/TabsTab.vue.js +1 -1
  584. package/lib/Tabs/hooks/useContext.js +1 -1
  585. package/lib/Tabs/hooks/useTabsScroll.js +1 -1
  586. package/lib/Tabs/index.d.ts +6 -6
  587. package/lib/Tabs/type.d.ts +1 -1
  588. package/lib/Tag/index.vue.js +1 -1
  589. package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
  590. package/lib/Textarea/index.d.ts +10 -10
  591. package/lib/Textarea/index.vue.d.ts +4 -4
  592. package/lib/Textarea/index.vue.js +1 -1
  593. package/lib/TimePicker/TimePicker.vue.d.ts +6 -6
  594. package/lib/TimePicker/TimePicker.vue.js +1 -1
  595. package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
  596. package/lib/TimePicker/hooks/useContext.js +1 -1
  597. package/lib/TimePicker/index.d.ts +16 -16
  598. package/lib/TimePicker/type.d.ts +1 -1
  599. package/lib/Timeline/TimelineItem.vue.d.ts +1 -1
  600. package/lib/Timeline/TimelineItemPending.vue.js +1 -1
  601. package/lib/Timeline/hooks/useContext.js +1 -1
  602. package/lib/Timeline/index.d.ts +3 -3
  603. package/lib/Timeline/type.d.ts +1 -1
  604. package/lib/Tooltip/index.d.ts +3 -3
  605. package/lib/Tooltip/index.vue.d.ts +1 -1
  606. package/lib/Tooltip/index.vue.js +1 -1
  607. package/lib/Transfer/Transfer.vue.d.ts +3 -3
  608. package/lib/Transfer/Transfer.vue.js +1 -1
  609. package/lib/Transfer/TransferPanel.vue.js +1 -1
  610. package/lib/Transfer/hooks/useContext.js +1 -1
  611. package/lib/Transfer/index.d.ts +8 -8
  612. package/lib/Transfer/type.d.ts +1 -1
  613. package/lib/Trigger/hooks/useContext.js +1 -1
  614. package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
  615. package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
  616. package/lib/Trigger/index.d.ts +6 -6
  617. package/lib/Trigger/index.vue.d.ts +2 -2
  618. package/lib/Trigger/index.vue.js +1 -1
  619. package/lib/Typography/TypographyBase.vue.d.ts +22 -22
  620. package/lib/Typography/TypographyBase.vue.js +1 -1
  621. package/lib/Typography/type.d.ts +1 -1
  622. package/lib/Upload/Upload.vue.d.ts +1 -1
  623. package/lib/Upload/UploadButton.vue.js +1 -1
  624. package/lib/Upload/UploadDrag.vue.js +1 -1
  625. package/lib/Upload/UploadFileList.vue2.js +1 -1
  626. package/lib/Upload/UploadPictureCard.vue2.js +1 -1
  627. package/lib/Upload/hooks/useContext.js +1 -1
  628. package/lib/Upload/hooks/useUpload.d.ts +1 -1
  629. package/lib/Upload/hooks/useUpload.js +1 -1
  630. package/lib/Upload/index.d.ts +3 -3
  631. package/lib/VerificationCode/index.d.ts +3 -3
  632. package/lib/VerificationCode/index.vue.d.ts +1 -1
  633. package/lib/VerificationCode/index.vue.js +1 -1
  634. package/lib/Watermark/index.d.ts +3 -3
  635. package/lib/Watermark/index.vue.d.ts +1 -1
  636. package/lib/Watermark/index.vue.js +1 -1
  637. package/lib/_shared/components/ExpandTransition/index.vue2.js +1 -1
  638. package/lib/_shared/components/Icon/index.vue3.js +1 -1
  639. package/lib/_shared/components/IconButton/index.vue.js +1 -1
  640. package/lib/_shared/constants/index.js +1 -1
  641. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  642. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  643. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  644. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  645. package/lib/_shared/icons/IconClose.vue.js +1 -1
  646. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  647. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  648. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  649. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  650. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  651. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  652. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  653. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  654. package/lib/_shared/icons/IconError.vue.js +1 -1
  655. package/lib/_shared/icons/IconExclamation.vue.js +1 -1
  656. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  657. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  658. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  659. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  660. package/lib/_shared/icons/IconFile.vue2.js +1 -1
  661. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  662. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  663. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  664. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  665. package/lib/_shared/icons/IconLink.vue.js +1 -1
  666. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  667. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  668. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  669. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  670. package/lib/_shared/icons/IconMore.vue.js +1 -1
  671. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  672. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  673. package/lib/_shared/icons/IconRight.vue.js +1 -1
  674. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  675. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  676. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  677. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  678. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  679. package/lib/_shared/icons/IconStar.vue.js +1 -1
  680. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  681. package/lib/_shared/icons/IconTime.vue.js +1 -1
  682. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  683. package/lib/_shared/icons/IconUpload.vue2.js +1 -1
  684. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  685. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  686. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  687. package/lib/_shared/utils/color.d.ts +1 -1
  688. package/lib/_shared/utils/color.js +1 -1
  689. package/lib/_shared/utils/dependencies.d.ts +11 -0
  690. package/lib/_shared/utils/dom.js +1 -1
  691. package/lib/_shared/utils/index.d.ts +12 -0
  692. package/lib/_shared/utils/time.d.ts +1 -1
  693. package/lib/_shared/utils/time.js +1 -1
  694. package/lib/_shared/utils/vue-utils.d.ts +0 -1
  695. package/lib/index.d.ts +64 -64
  696. package/lib/lang-es/zh-cn.js +140 -142
  697. package/lib/shared.css +1 -1
  698. package/lib/style.css +1 -1
  699. package/package.json +1 -1
  700. /package/es/_shared/utils/{control.d.ts → hooks.d.ts} +0 -0
  701. /package/es/_shared/utils/{control.js → hooks.js} +0 -0
  702. /package/lib/_shared/utils/{control.d.ts → hooks.d.ts} +0 -0
  703. /package/lib/_shared/utils/{control.js → hooks.js} +0 -0
@@ -1,6 +1,16 @@
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
+ import "../node_modules/b-tween/dist/b-tween.es.js";
4
+ import "../node_modules/dayjs/dayjs.min.js";
5
+ import "../node_modules/tinycolor2/esm/tinycolor.js";
6
+ import "../node_modules/dayjs/plugin/duration.js";
7
+ import "../node_modules/dayjs/plugin/toObject.js";
8
+ import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
+ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
2
10
  import { isArray, isNull } from "../_shared/utils/is.js";
3
- import { useControlValue } from "../_shared/utils/control.js";
11
+ import { useControlValue } from "../_shared/utils/hooks.js";
12
+ import "../_shared/utils/locale.js";
13
+ import "../_shared/utils/time.js";
4
14
  import useCursor from "../Input/hooks/useCursor.js";
5
15
  import AutoComplete from "../AutoComplete/index.js";
6
16
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,6 +1,6 @@
1
+ import { VNode } from 'vue';
1
2
  import { SelectOption, SelectOptionValue } from '../Select';
2
3
  import { RecordType } from '../_shared/type';
3
- import { VNode } from 'vue';
4
4
  export interface MentionProps {
5
5
  modelValue?: string;
6
6
  defaultValue?: string;
@@ -26,22 +26,22 @@ declare const __VLS_component: import('vue').DefineComponent<MenuProps, {}, {},
26
26
  mode: import('..').Direction;
27
27
  triggerProps: import('..').TriggerProps;
28
28
  popupMaxHeight: import('..').PopupMaxHeight;
29
- theme: import('..').Theme;
30
- levelIndent: number;
31
- autoOpen: boolean;
29
+ breakpoint: import('..').BreakpointName;
32
30
  collapsed: boolean;
33
31
  defaultCollapsed: boolean;
32
+ theme: import('..').Theme;
34
33
  collapsedWidth: number | string;
34
+ levelIndent: number;
35
+ autoOpen: boolean;
36
+ autoOpenSelected: boolean;
35
37
  accordion: boolean;
36
- showCollapseButton: boolean;
38
+ tooltipProps: import('..').TooltipProps;
39
+ autoScrollIntoView: boolean;
37
40
  selectedKeys: string;
38
41
  defaultSelectedKeys: string;
39
42
  openKeys: string[];
40
43
  defaultOpenKeys: string[];
41
- breakpoint: import('..').BreakpointName;
42
- tooltipProps: import('..').TooltipProps;
43
- autoOpenSelected: boolean;
44
- autoScrollIntoView: boolean;
44
+ showCollapseButton: boolean;
45
45
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
46
46
  menuRef: HTMLDivElement;
47
47
  }, any>;
@@ -1,5 +1,14 @@
1
1
  import { defineComponent, ref, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, createCommentVNode, renderSlot, createBlock } from "vue";
2
2
  import { mediaQueryHandler } from "../_shared/utils/dom.js";
3
+ import "../node_modules/b-tween/dist/b-tween.es.js";
4
+ import "../node_modules/dayjs/dayjs.min.js";
5
+ import "../node_modules/tinycolor2/esm/tinycolor.js";
6
+ import "../node_modules/dayjs/plugin/duration.js";
7
+ import "../node_modules/dayjs/plugin/toObject.js";
8
+ import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
+ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import "../_shared/utils/locale.js";
11
+ import "../_shared/utils/time.js";
3
12
  /* empty css */
4
13
  /* empty css */
5
14
  /* empty css */
@@ -1,6 +1,15 @@
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
3
  import "../_shared/utils/dom.js";
4
+ import "../node_modules/b-tween/dist/b-tween.es.js";
5
+ import "../node_modules/dayjs/dayjs.min.js";
6
+ import "../node_modules/tinycolor2/esm/tinycolor.js";
7
+ import "../node_modules/dayjs/plugin/duration.js";
8
+ import "../node_modules/dayjs/plugin/toObject.js";
9
+ import "../node_modules/dayjs/plugin/isSameOrAfter.js";
10
+ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
11
+ import "../_shared/utils/locale.js";
12
+ import "../_shared/utils/time.js";
4
13
  /* empty css */
5
14
  /* empty css */
6
15
  /* empty css */
@@ -1,7 +1,16 @@
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 { isUndefined } from "../_shared/utils/is.js";
3
2
  import { valueToPx } from "../_shared/utils/dom.js";
4
3
  import { createReusableTemplate } from "../node_modules/@vueuse/core/index.js";
4
+ import "../node_modules/b-tween/dist/b-tween.es.js";
5
+ import "../node_modules/dayjs/dayjs.min.js";
6
+ import "../node_modules/tinycolor2/esm/tinycolor.js";
7
+ import "../node_modules/dayjs/plugin/duration.js";
8
+ import "../node_modules/dayjs/plugin/toObject.js";
9
+ import "../node_modules/dayjs/plugin/isSameOrAfter.js";
10
+ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
11
+ import { isUndefined } from "../_shared/utils/is.js";
12
+ import "../_shared/utils/locale.js";
13
+ import "../_shared/utils/time.js";
5
14
  import useMenuContext, { isMenuItemActive, getPopupMaxHeight } from "./hooks/useContext.js";
6
15
  import _sfc_main$1 from "./MenuPopOption.vue.js";
7
16
  import Dropdown from "../Dropdown/index.js";
@@ -1,5 +1,14 @@
1
1
  import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, renderSlot, createTextVNode, toDisplayString, normalizeStyle } from "vue";
2
2
  import { valueToPx } from "../_shared/utils/dom.js";
3
+ import "../node_modules/b-tween/dist/b-tween.es.js";
4
+ import "../node_modules/dayjs/dayjs.min.js";
5
+ import "../node_modules/tinycolor2/esm/tinycolor.js";
6
+ import "../node_modules/dayjs/plugin/duration.js";
7
+ import "../node_modules/dayjs/plugin/toObject.js";
8
+ import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
+ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import "../_shared/utils/locale.js";
11
+ import "../_shared/utils/time.js";
3
12
  import useMenuContext from "./hooks/useContext.js";
4
13
  const _hoisted_1 = { class: "yc-menu-group-title text-ellipsis" };
5
14
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -2,11 +2,19 @@ import { defineComponent, useSlots, createElementBlock, openBlock, normalizeClas
2
2
  import useMenuContext from "./hooks/useContext.js";
3
3
  import _sfc_main$2 from "../_shared/icons/IconArrowDown.vue.js";
4
4
  import "../_shared/utils/dom.js";
5
+ import "../node_modules/b-tween/dist/b-tween.es.js";
6
+ import "../node_modules/dayjs/dayjs.min.js";
7
+ import "../node_modules/tinycolor2/esm/tinycolor.js";
8
+ import "../node_modules/dayjs/plugin/duration.js";
9
+ import "../node_modules/dayjs/plugin/toObject.js";
10
+ import "../node_modules/dayjs/plugin/isSameOrAfter.js";
11
+ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
12
+ import "../_shared/utils/locale.js";
13
+ import "../_shared/utils/time.js";
5
14
  /* empty css */
6
15
  import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
7
16
  /* empty css */
8
17
  /* empty css */
9
- import "./index.js";
10
18
  import _sfc_main$1 from "./MenuItem.vue.js";
11
19
  /* empty css */
12
20
  const _hoisted_1 = { class: "yc-menu-inline-content" };
@@ -29,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
37
  return openBlock(), createElementBlock("div", {
30
38
  class: normalizeClass(["yc-menu-inline", `yc-menu-inline-${unref(theme)}`])
31
39
  }, [
32
- createVNode(unref(_sfc_main$1), {
40
+ createVNode(_sfc_main$1, {
33
41
  "is-submenu": "",
34
42
  path: _ctx.path,
35
43
  popupMaxHeight: _ctx.popupMaxHeight,
@@ -1,7 +1,7 @@
1
1
  import { Ref, VNode } from 'vue';
2
+ import { MenuEmits } from '../type';
2
3
  import { TooltipProps } from '../../Tooltip';
3
4
  import { TriggerProps } from '../../Trigger';
4
- import { MenuEmits } from '../type';
5
5
  import { RecordType, PopupMaxHeight, Direction } from '../../_shared/type';
6
6
  type MenuContext = {
7
7
  computedSelectedKeys: Ref<string>;
@@ -1,10 +1,18 @@
1
1
  import { toRefs, computed, useSlots, ref, provide, inject, isVNode } from "vue";
2
- import { nanoid } from "../../node_modules/nanoid/index.browser.js";
3
- import { isUndefined, isBoolean, isNumber, isObject, isFunction } from "../../_shared/utils/is.js";
4
2
  import { throttle, valueToPx } from "../../_shared/utils/dom.js";
5
3
  import { useResizeObserver } from "../../node_modules/@vueuse/core/index.js";
6
- import { useControlValue } from "../../_shared/utils/control.js";
7
- import "../index.js";
4
+ import { nanoid } from "../../node_modules/nanoid/index.browser.js";
5
+ import "../../node_modules/b-tween/dist/b-tween.es.js";
6
+ import "../../node_modules/dayjs/dayjs.min.js";
7
+ import "../../node_modules/tinycolor2/esm/tinycolor.js";
8
+ import "../../node_modules/dayjs/plugin/duration.js";
9
+ import "../../node_modules/dayjs/plugin/toObject.js";
10
+ import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
11
+ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
12
+ import { isUndefined, isBoolean, isNumber, isObject, isFunction } from "../../_shared/utils/is.js";
13
+ import { useControlValue } from "../../_shared/utils/hooks.js";
14
+ import "../../_shared/utils/locale.js";
15
+ import "../../_shared/utils/time.js";
8
16
  import useLayoutContext from "../../Layout/hooks/useSiderContext.js";
9
17
  import _sfc_main from "../SubMenu.vue.js";
10
18
  /* empty css */
@@ -168,11 +176,14 @@ function useMenuContext() {
168
176
  });
169
177
  const slots = useSlots();
170
178
  const menuTreeNodes = computed(() => {
171
- var _a;
172
- return FlattenMenuTree(((_a = slots.default) == null ? void 0 : _a.call(slots)) || [], [
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)) || [], [
173
182
  _sfc_main.name ?? "",
174
183
  _sfc_main$1.name ?? ""
175
184
  ]);
185
+ console.log(result, "result");
186
+ return result;
176
187
  });
177
188
  const menuItemWidths = ref([]);
178
189
  const menuTree = computed(() => buildMenuTree(menuTreeNodes.value));
@@ -27,22 +27,22 @@ declare const Menu: {
27
27
  mode: import('..').Direction;
28
28
  triggerProps: import('..').TriggerProps;
29
29
  popupMaxHeight: import('..').PopupMaxHeight;
30
- theme: import('..').Theme;
31
- levelIndent: number;
32
- autoOpen: boolean;
30
+ breakpoint: import('..').BreakpointName;
33
31
  collapsed: boolean;
34
32
  defaultCollapsed: boolean;
33
+ theme: import('..').Theme;
35
34
  collapsedWidth: number | string;
35
+ levelIndent: number;
36
+ autoOpen: boolean;
37
+ autoOpenSelected: boolean;
36
38
  accordion: boolean;
37
- showCollapseButton: boolean;
39
+ tooltipProps: import('..').TooltipProps;
40
+ autoScrollIntoView: boolean;
38
41
  selectedKeys: string;
39
42
  defaultSelectedKeys: string;
40
43
  openKeys: string[];
41
44
  defaultOpenKeys: string[];
42
- breakpoint: import('..').BreakpointName;
43
- tooltipProps: import('..').TooltipProps;
44
- autoOpenSelected: boolean;
45
- autoScrollIntoView: boolean;
45
+ showCollapseButton: boolean;
46
46
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
47
47
  menuRef: HTMLDivElement;
48
48
  }, any, import('vue').ComponentProvideOptions, {
@@ -63,22 +63,22 @@ declare const Menu: {
63
63
  mode: import('..').Direction;
64
64
  triggerProps: import('..').TriggerProps;
65
65
  popupMaxHeight: import('..').PopupMaxHeight;
66
- theme: import('..').Theme;
67
- levelIndent: number;
68
- autoOpen: boolean;
66
+ breakpoint: import('..').BreakpointName;
69
67
  collapsed: boolean;
70
68
  defaultCollapsed: boolean;
69
+ theme: import('..').Theme;
71
70
  collapsedWidth: number | string;
71
+ levelIndent: number;
72
+ autoOpen: boolean;
73
+ autoOpenSelected: boolean;
72
74
  accordion: boolean;
73
- showCollapseButton: boolean;
75
+ tooltipProps: import('..').TooltipProps;
76
+ autoScrollIntoView: boolean;
74
77
  selectedKeys: string;
75
78
  defaultSelectedKeys: string;
76
79
  openKeys: string[];
77
80
  defaultOpenKeys: string[];
78
- breakpoint: import('..').BreakpointName;
79
- tooltipProps: import('..').TooltipProps;
80
- autoOpenSelected: boolean;
81
- autoScrollIntoView: boolean;
81
+ showCollapseButton: boolean;
82
82
  }>;
83
83
  __isFragment?: never;
84
84
  __isTeleport?: never;
@@ -101,22 +101,22 @@ declare const Menu: {
101
101
  mode: import('..').Direction;
102
102
  triggerProps: import('..').TriggerProps;
103
103
  popupMaxHeight: import('..').PopupMaxHeight;
104
- theme: import('..').Theme;
105
- levelIndent: number;
106
- autoOpen: boolean;
104
+ breakpoint: import('..').BreakpointName;
107
105
  collapsed: boolean;
108
106
  defaultCollapsed: boolean;
107
+ theme: import('..').Theme;
109
108
  collapsedWidth: number | string;
109
+ levelIndent: number;
110
+ autoOpen: boolean;
111
+ autoOpenSelected: boolean;
110
112
  accordion: boolean;
111
- showCollapseButton: boolean;
113
+ tooltipProps: import('..').TooltipProps;
114
+ autoScrollIntoView: boolean;
112
115
  selectedKeys: string;
113
116
  defaultSelectedKeys: string;
114
117
  openKeys: string[];
115
118
  defaultOpenKeys: string[];
116
- breakpoint: import('..').BreakpointName;
117
- tooltipProps: import('..').TooltipProps;
118
- autoOpenSelected: boolean;
119
- autoScrollIntoView: boolean;
119
+ showCollapseButton: boolean;
120
120
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
121
121
  $slots: Readonly<import('./type').MenuSlots> & import('./type').MenuSlots;
122
122
  }) & {
package/es/Menu/type.d.ts CHANGED
@@ -1,7 +1,7 @@
1
+ import { VNode } from 'vue';
1
2
  import { TooltipProps } from '../Tooltip';
2
3
  import { TriggerProps } from '../Trigger';
3
4
  import { Theme, BreakpointName, PopupMaxHeight, Direction } from '../_shared/type';
4
- import { VNode } from 'vue';
5
5
  export interface MenuProps {
6
6
  theme?: Theme;
7
7
  mode?: Direction;
@@ -1,11 +1,11 @@
1
1
  import { MessageProps } from './type';
2
2
  declare const _default: import('vue').DefineComponent<MessageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MessageProps> & Readonly<{}>, {
3
- type: import('./type').MessageType;
4
- onClose: (id: string | number) => void;
5
3
  duration: number;
6
4
  content: import('..').RenderContent;
7
5
  icon: import('vue').RenderFunction;
6
+ type: import('./type').MessageType;
8
7
  closable: boolean;
8
+ onClose: (id: string | number) => void;
9
9
  id: string;
10
10
  showIcon: boolean;
11
11
  onDestory: (id: string | number) => void;
@@ -1,9 +1,18 @@
1
1
  import { defineComponent, toRefs, watch, onMounted, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, resolveDynamicComponent, toDisplayString, createVNode } from "vue";
2
- import { isUndefined } from "../_shared/utils/is.js";
3
2
  import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
3
+ import "../_shared/utils/dom.js";
4
+ import "../node_modules/b-tween/dist/b-tween.es.js";
5
+ import "../node_modules/dayjs/dayjs.min.js";
6
+ import "../node_modules/tinycolor2/esm/tinycolor.js";
7
+ import "../node_modules/dayjs/plugin/duration.js";
8
+ import "../node_modules/dayjs/plugin/toObject.js";
9
+ import "../node_modules/dayjs/plugin/isSameOrAfter.js";
10
+ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
11
+ import { isUndefined } from "../_shared/utils/is.js";
12
+ import "../_shared/utils/locale.js";
13
+ import "../_shared/utils/time.js";
4
14
  import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
5
15
  /* empty css */
6
- import "../_shared/utils/dom.js";
7
16
  /* empty css */
8
17
  /* empty css */
9
18
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
@@ -1,16 +1,16 @@
1
1
  import { App } from 'vue';
2
- import { default as _Message } from './Message.vue';
3
2
  import { MessageMethod, MessageConfig, MessageProps, MessageType, MessagePostion } from './type';
3
+ import { default as _Message } from './Message.vue';
4
4
  export type MessageInstance = InstanceType<typeof _Message>;
5
5
  export * from './type';
6
6
  declare const Message: {
7
7
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
8
- type: MessageType;
9
- onClose: (id: string | number) => void;
10
8
  duration: number;
11
9
  content: import('..').RenderContent;
12
10
  icon: import('vue').RenderFunction;
11
+ type: MessageType;
13
12
  closable: boolean;
13
+ onClose: (id: string | number) => void;
14
14
  id: string;
15
15
  showIcon: boolean;
16
16
  onDestory: (id: string | number) => void;
@@ -24,12 +24,12 @@ declare const Message: {
24
24
  M: {};
25
25
  Defaults: {};
26
26
  }, Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, {
27
- type: MessageType;
28
- onClose: (id: string | number) => void;
29
27
  duration: number;
30
28
  content: import('..').RenderContent;
31
29
  icon: import('vue').RenderFunction;
30
+ type: MessageType;
32
31
  closable: boolean;
32
+ onClose: (id: string | number) => void;
33
33
  id: string;
34
34
  showIcon: boolean;
35
35
  onDestory: (id: string | number) => void;
@@ -40,12 +40,12 @@ declare const Message: {
40
40
  __isTeleport?: never;
41
41
  __isSuspense?: never;
42
42
  } & import('vue').ComponentOptionsBase<Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
43
- type: MessageType;
44
- onClose: (id: string | number) => void;
45
43
  duration: number;
46
44
  content: import('..').RenderContent;
47
45
  icon: import('vue').RenderFunction;
46
+ type: MessageType;
48
47
  closable: boolean;
48
+ onClose: (id: string | number) => void;
49
49
  id: string;
50
50
  showIcon: boolean;
51
51
  onDestory: (id: string | number) => void;
@@ -1,9 +1,19 @@
1
1
  import { reactive, render, h, nextTick } from "vue";
2
+ import "../_shared/utils/dom.js";
3
+ import "../node_modules/b-tween/dist/b-tween.es.js";
4
+ import "../node_modules/dayjs/dayjs.min.js";
5
+ import "../node_modules/tinycolor2/esm/tinycolor.js";
6
+ import "../node_modules/dayjs/plugin/duration.js";
7
+ import "../node_modules/dayjs/plugin/toObject.js";
8
+ import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
+ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import { isString } from "../_shared/utils/is.js";
11
+ import "../_shared/utils/locale.js";
12
+ import "../_shared/utils/time.js";
2
13
  import _sfc_main from "./Message.vue.js";
3
14
  /* empty css */
4
15
  import _sfc_main$1 from "./MessageList.vue.js";
5
16
  /* empty css */
6
- import { isString } from "../_shared/utils/is.js";
7
17
  const container = /* @__PURE__ */ new Map();
8
18
  const messageList = reactive({
9
19
  top: [],
@@ -1,5 +1,5 @@
1
- import { Position, RenderContent, Type } from '../_shared/type';
2
1
  import { RenderFunction } from 'vue';
2
+ import { Position, RenderContent, Type } from '../_shared/type';
3
3
  export interface MessageProps {
4
4
  type?: MessageType;
5
5
  content?: RenderContent;
@@ -28,13 +28,13 @@ declare const __VLS_component: import('vue').DefineComponent<ModalProps, {}, {},
28
28
  "onBefore-close"?: (() => any) | undefined;
29
29
  }>, {
30
30
  top: number;
31
- footer: boolean;
32
- title: string;
31
+ unmountOnClose: boolean;
33
32
  popupContainer: import('..').PopupContainer;
34
33
  renderToBody: boolean;
35
- unmountOnClose: boolean;
36
34
  width: number | string;
37
35
  visible: boolean;
36
+ footer: boolean;
37
+ title: string;
38
38
  mask: boolean;
39
39
  defaultVisible: boolean;
40
40
  closable: boolean;
@@ -1,7 +1,15 @@
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 { getGlobalConfig } from "../_shared/utils/global-config.js";
3
2
  import { valueToPx } from "../_shared/utils/dom.js";
3
+ import "../node_modules/b-tween/dist/b-tween.es.js";
4
+ import "../node_modules/dayjs/dayjs.min.js";
5
+ import "../node_modules/tinycolor2/esm/tinycolor.js";
6
+ import "../node_modules/dayjs/plugin/duration.js";
7
+ import "../node_modules/dayjs/plugin/toObject.js";
8
+ import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
+ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import { getGlobalConfig } from "../_shared/utils/global-config.js";
4
11
  import { useI18n } from "../_shared/utils/locale.js";
12
+ import "../_shared/utils/time.js";
5
13
  import useModalClose from "./hooks/useModalClose.js";
6
14
  import useModalDraggable from "./hooks/useModalDraggable.js";
7
15
  import Button from "../Button/index.js";
@@ -1,12 +1,12 @@
1
1
  import { ModalServiceProps } from './type';
2
2
  declare const _default: import('vue').DefineComponent<ModalServiceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ModalServiceProps> & Readonly<{}>, {
3
3
  top: number;
4
- footer: boolean;
5
- title: string & import('..').RenderContent;
6
- renderToBody: boolean;
7
4
  unmountOnClose: boolean;
5
+ renderToBody: boolean;
8
6
  width: number | string;
9
7
  content: import('..').RenderContent;
8
+ footer: boolean;
9
+ title: string & import('..').RenderContent;
10
10
  mask: boolean;
11
11
  closable: boolean;
12
12
  bodyStyle: import('vue').CSSProperties;
@@ -1,4 +1,14 @@
1
1
  import { defineComponent, ref, onMounted, createBlock, openBlock, mergeProps, withCtx, createElementVNode, resolveDynamicComponent, unref, createElementBlock, createCommentVNode } from "vue";
2
+ import "../_shared/utils/dom.js";
3
+ import "../node_modules/b-tween/dist/b-tween.es.js";
4
+ import "../node_modules/dayjs/dayjs.min.js";
5
+ import "../node_modules/tinycolor2/esm/tinycolor.js";
6
+ import "../node_modules/dayjs/plugin/duration.js";
7
+ import "../node_modules/dayjs/plugin/toObject.js";
8
+ import "../node_modules/dayjs/plugin/isSameOrAfter.js";
9
+ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
+ import "../_shared/utils/locale.js";
11
+ import "../_shared/utils/time.js";
2
12
  import { getSlotFunction } from "../_shared/utils/vue-utils.js";
3
13
  import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
4
14
  import _sfc_main$1 from "./Modal.vue.js";
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { ModalEmits, OnBeforeOk, OnBeforeCancel } from '../type';
2
+ import { OnBeforeOk, OnBeforeCancel, ModalEmits } from '../type';
3
3
  export type CloseEventType = 'confirmBtn' | 'cancelBtn' | 'closeBtn' | 'mask' | 'esc';
4
4
  declare const _default: (params: {
5
5
  visible: Ref<boolean | undefined>;
@@ -1,6 +1,16 @@
1
1
  import { ref, watch, nextTick } from "vue";
2
+ import "../../_shared/utils/dom.js";
2
3
  import { onKeyStroke } from "../../node_modules/@vueuse/core/index.js";
3
- import { useControlValue } from "../../_shared/utils/control.js";
4
+ import "../../node_modules/b-tween/dist/b-tween.es.js";
5
+ import "../../node_modules/dayjs/dayjs.min.js";
6
+ import "../../node_modules/tinycolor2/esm/tinycolor.js";
7
+ import "../../node_modules/dayjs/plugin/duration.js";
8
+ import "../../node_modules/dayjs/plugin/toObject.js";
9
+ import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
10
+ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
11
+ import { useControlValue } from "../../_shared/utils/hooks.js";
12
+ import "../../_shared/utils/locale.js";
13
+ import "../../_shared/utils/time.js";
4
14
  import useOnBeforeClose from "./useOnBeforeClose.js";
5
15
  const useModalClose = (params) => {
6
16
  const {
@@ -1,6 +1,15 @@
1
1
  import { ref, computed, watch } from "vue";
2
- import { useDraggable } from "../../node_modules/@vueuse/core/index.js";
3
2
  import { valueToPx, sleep } from "../../_shared/utils/dom.js";
3
+ import { useDraggable } from "../../node_modules/@vueuse/core/index.js";
4
+ import "../../node_modules/b-tween/dist/b-tween.es.js";
5
+ import "../../node_modules/dayjs/dayjs.min.js";
6
+ import "../../node_modules/tinycolor2/esm/tinycolor.js";
7
+ import "../../node_modules/dayjs/plugin/duration.js";
8
+ import "../../node_modules/dayjs/plugin/toObject.js";
9
+ import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
10
+ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
11
+ import "../../_shared/utils/locale.js";
12
+ import "../../_shared/utils/time.js";
4
13
  const useModalDraggable = (params) => {
5
14
  const {
6
15
  visible,
@@ -1,4 +1,15 @@
1
+ import "../../_shared/utils/dom.js";
2
+ import "../../node_modules/b-tween/dist/b-tween.es.js";
3
+ import "../../node_modules/dayjs/dayjs.min.js";
4
+ import "../../node_modules/tinycolor2/esm/tinycolor.js";
5
+ import "../../node_modules/dayjs/plugin/duration.js";
6
+ import "../../node_modules/dayjs/plugin/toObject.js";
7
+ import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
8
+ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
9
+ import "vue";
1
10
  import { isBoolean } from "../../_shared/utils/is.js";
11
+ import "../../_shared/utils/locale.js";
12
+ import "../../_shared/utils/time.js";
2
13
  const useOnBeforeClose = async (type, asyncLoading, onBeforeOk, onBeforeCancel) => {
3
14
  const handleBeforeOk = () => {
4
15
  return new Promise(async (resolve) => {
@@ -22,13 +22,13 @@ declare const Modal: {
22
22
  "before-close": () => any;
23
23
  }, import('vue').PublicProps, {
24
24
  top: number;
25
- footer: boolean;
26
- title: string;
25
+ unmountOnClose: boolean;
27
26
  popupContainer: import('../_shared/type').PopupContainer;
28
27
  renderToBody: boolean;
29
- unmountOnClose: boolean;
30
28
  width: number | string;
31
29
  visible: boolean;
30
+ footer: boolean;
31
+ title: string;
32
32
  mask: boolean;
33
33
  defaultVisible: boolean;
34
34
  closable: boolean;
@@ -75,13 +75,13 @@ declare const Modal: {
75
75
  "onBefore-close"?: (() => any) | undefined;
76
76
  }>, {}, {}, {}, {}, {
77
77
  top: number;
78
- footer: boolean;
79
- title: string;
78
+ unmountOnClose: boolean;
80
79
  popupContainer: import('../_shared/type').PopupContainer;
81
80
  renderToBody: boolean;
82
- unmountOnClose: boolean;
83
81
  width: number | string;
84
82
  visible: boolean;
83
+ footer: boolean;
84
+ title: string;
85
85
  mask: boolean;
86
86
  defaultVisible: boolean;
87
87
  closable: boolean;
@@ -130,13 +130,13 @@ declare const Modal: {
130
130
  "before-close": () => any;
131
131
  }, string, {
132
132
  top: number;
133
- footer: boolean;
134
- title: string;
133
+ unmountOnClose: boolean;
135
134
  popupContainer: import('../_shared/type').PopupContainer;
136
135
  renderToBody: boolean;
137
- unmountOnClose: boolean;
138
136
  width: number | string;
139
137
  visible: boolean;
138
+ footer: boolean;
139
+ title: string;
140
140
  mask: boolean;
141
141
  defaultVisible: boolean;
142
142
  closable: boolean;
@@ -1,15 +1,15 @@
1
1
  import { NotificationProps } from './type';
2
2
  declare const _default: import('vue').DefineComponent<NotificationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NotificationProps> & Readonly<{}>, {
3
+ duration: number;
4
+ content: import('..').RenderContent;
5
+ style: import('vue').CSSProperties;
6
+ icon: import('vue').RenderFunction;
3
7
  type: import('..').Type;
4
8
  footer: import('vue').RenderFunction;
5
- style: import('vue').CSSProperties;
6
9
  title: import('..').RenderContent;
7
- onClose: (id: string | number) => void;
8
10
  class: import('..').ClassName;
9
- duration: number;
10
- content: import('..').RenderContent;
11
- icon: import('vue').RenderFunction;
12
11
  closable: boolean;
12
+ onClose: (id: string | number) => void;
13
13
  id: string;
14
14
  showIcon: boolean;
15
15
  isReset: boolean;