yc-design-vue 2.1.2 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (703) hide show
  1. package/LICENSE +21 -201
  2. package/dist/index.umd.js +1 -1
  3. package/dist/style.css +1 -1
  4. package/es/Affix/index.vue.js +11 -2
  5. package/es/Alert/index.d.ts +3 -3
  6. package/es/Alert/index.vue.d.ts +1 -1
  7. package/es/Alert/index.vue.js +11 -2
  8. package/es/Anchor/Anchor.vue.js +9 -0
  9. package/es/Anchor/AnchorLink.vue.js +9 -0
  10. package/es/Anchor/hooks/useContext.js +10 -1
  11. package/es/AutoComplete/index.d.ts +74 -74
  12. package/es/AutoComplete/index.vue.d.ts +101 -101
  13. package/es/AutoComplete/index.vue.js +11 -1
  14. package/es/Avatar/Avatar.vue.js +11 -2
  15. package/es/Avatar/AvatarGroup.vue.js +13 -3
  16. package/es/BackTop/index.vue.js +12 -4
  17. package/es/Badge/index.vue.js +10 -1
  18. package/es/Breadcrumb/Breadcrumb.vue.js +14 -5
  19. package/es/Breadcrumb/BreadcrumbItem.vue.d.ts +1 -1
  20. package/es/Breadcrumb/BreadcrumbItem.vue.js +10 -1
  21. package/es/Breadcrumb/BreadcrumbMore.vue.js +10 -1
  22. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +11 -2
  23. package/es/Breadcrumb/index.d.ts +3 -3
  24. package/es/Button/Button.vue.d.ts +2 -2
  25. package/es/Button/ButtonGroup.vue.d.ts +1 -1
  26. package/es/Button/hooks/useContext.js +10 -0
  27. package/es/Button/index.d.ts +9 -9
  28. package/es/Calendar/Calendar.vue.js +11 -4
  29. package/es/Calendar/CalendarMonth.vue.d.ts +1 -1
  30. package/es/Calendar/CalendarMonth.vue.js +8 -1
  31. package/es/Calendar/CalendarYear.vue.d.ts +1 -1
  32. package/es/Calendar/CalendarYear.vue.js +8 -0
  33. package/es/Card/Card.vue.js +11 -1
  34. package/es/Card/CardMeta.vue.js +10 -0
  35. package/es/Carousel/Carousel.vue.js +10 -0
  36. package/es/Carousel/CarouselArrow.vue.js +10 -1
  37. package/es/Carousel/CarouselIndicator.vue.js +9 -0
  38. package/es/Carousel/hooks/useContext.js +10 -1
  39. package/es/Cascader/Cascader.vue.d.ts +27 -27
  40. package/es/Cascader/Cascader.vue.js +9 -0
  41. package/es/Cascader/CascaderIcon.vue.js +11 -2
  42. package/es/Cascader/CascaderOption.vue.d.ts +1 -1
  43. package/es/Cascader/CascaderOption.vue.js +11 -2
  44. package/es/Cascader/hooks/useContext.js +11 -1
  45. package/es/Cascader/index.d.ts +28 -28
  46. package/es/Checkbox/Checkbox.vue.js +13 -4
  47. package/es/Checkbox/hooks/useContext.js +11 -1
  48. package/es/Collapse/CollapseItem.vue.d.ts +1 -1
  49. package/es/Collapse/CollapseItem.vue.js +11 -2
  50. package/es/Collapse/hooks/useContext.js +11 -1
  51. package/es/Collapse/index.d.ts +3 -3
  52. package/es/Collapse/type.d.ts +1 -1
  53. package/es/ColorPicker/ColorControl.vue.js +9 -0
  54. package/es/ColorPicker/ColorInput.vue.js +10 -0
  55. package/es/ColorPicker/ColorList.vue.js +9 -0
  56. package/es/ColorPicker/ColorPalette.vue.js +9 -0
  57. package/es/ColorPicker/ColorPanel.vue.js +9 -0
  58. package/es/ColorPicker/hooks/useContext.js +11 -1
  59. package/es/Comment/hooks/useContext.js +10 -0
  60. package/es/Comment/index.vue.js +10 -0
  61. package/es/ConfigProvider/index.d.ts +3 -3
  62. package/es/ConfigProvider/index.vue.d.ts +1 -1
  63. package/es/ConfigProvider/index.vue.js +10 -0
  64. package/es/ConfigProvider/type.d.ts +1 -1
  65. package/es/Descriptions/Descriptions.vue.d.ts +2 -2
  66. package/es/Descriptions/DescriptionsItem.vue.d.ts +1 -1
  67. package/es/Descriptions/ReuseItem.vue.js +10 -0
  68. package/es/Descriptions/ReuseTd.vue.js +10 -0
  69. package/es/Descriptions/hooks/useContext.js +9 -0
  70. package/es/Descriptions/index.d.ts +9 -9
  71. package/es/Divider/index.vue.js +9 -0
  72. package/es/Divider/type.d.ts +1 -1
  73. package/es/Drawer/Drawer.vue.d.ts +4 -4
  74. package/es/Drawer/Drawer.vue.js +11 -3
  75. package/es/Drawer/DrawerService.vue.d.ts +4 -4
  76. package/es/Drawer/DrawerService.vue.js +10 -0
  77. package/es/Drawer/index.d.ts +12 -12
  78. package/es/Dropdown/Dropdown.vue.d.ts +3 -3
  79. package/es/Dropdown/Dropdown.vue.js +10 -1
  80. package/es/Dropdown/DropdownButton.vue.d.ts +5 -5
  81. package/es/Dropdown/DropdownButton.vue.js +10 -1
  82. package/es/Dropdown/Dsubmenu.vue.d.ts +11 -11
  83. package/es/Dropdown/Dsubmenu.vue.js +15 -7
  84. package/es/Dropdown/hooks/useContext.js +11 -1
  85. package/es/Dropdown/index.d.ts +27 -27
  86. package/es/Dropdown/type.d.ts +1 -1
  87. package/es/Empty/index.vue.js +10 -2
  88. package/es/Grid/Grid.vue.js +9 -0
  89. package/es/Grid/GridCol.vue.js +9 -0
  90. package/es/Grid/GridItem.vue.js +9 -0
  91. package/es/Grid/GridRow.vue.d.ts +1 -1
  92. package/es/Grid/GridRow.vue.js +9 -0
  93. package/es/Grid/hooks/useContext.js +10 -1
  94. package/es/Grid/index.d.ts +3 -3
  95. package/es/Image/Image.vue.js +10 -2
  96. package/es/Image/ImagePreview.vue.js +13 -4
  97. package/es/Image/ImagePreviewAction.vue.d.ts +1 -1
  98. package/es/Image/ImagePreviewArrow.vue.js +10 -1
  99. package/es/Image/ImagePreviewGroup.vue.js +10 -0
  100. package/es/Image/ImagePreviewToolbar.vue.js +10 -2
  101. package/es/Image/hooks/useContext.js +11 -1
  102. package/es/Image/index.d.ts +3 -3
  103. package/es/Input/Input.vue.d.ts +4 -4
  104. package/es/Input/Input.vue.js +13 -4
  105. package/es/Input/InputSuffix.vue.js +12 -3
  106. package/es/Input/hooks/useLimitedInput.js +11 -1
  107. package/es/Input/index.d.ts +10 -10
  108. package/es/Input/type.d.ts +1 -1
  109. package/es/InputNumber/InputNumber.vue.d.ts +25 -25
  110. package/es/InputNumber/InputNumber.vue.js +11 -2
  111. package/es/InputNumber/InputOperaBtn.vue.js +10 -1
  112. package/es/InputNumber/index.d.ts +23 -23
  113. package/es/InputNumber/type.d.ts +1 -1
  114. package/es/InputTag/index.d.ts +15 -15
  115. package/es/InputTag/index.vue.d.ts +6 -6
  116. package/es/InputTag/index.vue.js +15 -6
  117. package/es/InputTag/type.d.ts +1 -1
  118. package/es/Layout/Layout.vue.js +10 -0
  119. package/es/Layout/LayoutSider.vue.d.ts +3 -3
  120. package/es/Layout/LayoutSider.vue.js +10 -1
  121. package/es/Layout/hooks/useSiderContext.js +11 -1
  122. package/es/Layout/index.d.ts +9 -9
  123. package/es/Link/index.vue.js +10 -1
  124. package/es/List/List.vue.d.ts +7 -7
  125. package/es/List/List.vue.js +11 -2
  126. package/es/List/ListVirtual.vue.js +10 -0
  127. package/es/List/hooks/useScrollReach.js +11 -2
  128. package/es/List/index.d.ts +6 -6
  129. package/es/List/type.d.ts +1 -1
  130. package/es/Mention/index.d.ts +87 -87
  131. package/es/Mention/index.vue.d.ts +145 -145
  132. package/es/Mention/index.vue.js +11 -1
  133. package/es/Mention/type.d.ts +1 -1
  134. package/es/Menu/Menu.vue.d.ts +8 -8
  135. package/es/Menu/Menu.vue.js +10 -1
  136. package/es/Menu/MenuEllipsis.vue.js +10 -1
  137. package/es/Menu/MenuItem.vue.js +10 -1
  138. package/es/Menu/MenuItemGroup.vue.js +9 -0
  139. package/es/Menu/SubMenu.vue.js +11 -3
  140. package/es/Menu/hooks/useContext.d.ts +1 -1
  141. package/es/Menu/hooks/useContext.js +17 -6
  142. package/es/Menu/index.d.ts +24 -24
  143. package/es/Menu/type.d.ts +1 -1
  144. package/es/Message/Message.vue.d.ts +2 -2
  145. package/es/Message/Message.vue.js +12 -3
  146. package/es/Message/index.d.ts +7 -7
  147. package/es/Message/index.js +11 -1
  148. package/es/Message/type.d.ts +1 -1
  149. package/es/Modal/Modal.vue.d.ts +3 -3
  150. package/es/Modal/Modal.vue.js +11 -3
  151. package/es/Modal/ModalService.vue.d.ts +3 -3
  152. package/es/Modal/ModalService.vue.js +10 -0
  153. package/es/Modal/hooks/useModalClose.d.ts +1 -1
  154. package/es/Modal/hooks/useModalClose.js +11 -1
  155. package/es/Modal/hooks/useModalDraggable.js +10 -1
  156. package/es/Modal/hooks/useOnBeforeClose.js +11 -0
  157. package/es/Modal/index.d.ts +9 -9
  158. package/es/Notification/Notification.vue.d.ts +5 -5
  159. package/es/Notification/Notification.vue.js +12 -3
  160. package/es/Notification/index.d.ts +22 -21
  161. package/es/Notification/index.js +10 -0
  162. package/es/Notification/type.d.ts +1 -1
  163. package/es/OverflowList/index.vue.js +11 -2
  164. package/es/PageHeader/index.vue.js +11 -2
  165. package/es/Pagination/Pagination.vue.js +9 -1
  166. package/es/Pagination/PaginationItem.vue.js +10 -1
  167. package/es/Pagination/hooks/useContext.js +10 -1
  168. package/es/Popconfirm/index.d.ts +16 -16
  169. package/es/Popconfirm/index.vue.d.ts +14 -14
  170. package/es/Popconfirm/index.vue.js +10 -1
  171. package/es/Popover/index.d.ts +6 -6
  172. package/es/Popover/index.vue.d.ts +2 -2
  173. package/es/Popover/index.vue.js +11 -1
  174. package/es/Progress/Progress.vue.js +10 -0
  175. package/es/Progress/ProgressCircle.vue.js +11 -2
  176. package/es/Progress/ProgressLine.vue.js +9 -0
  177. package/es/Progress/ProgressSteps.vue.js +9 -0
  178. package/es/Radio/Radio.vue.d.ts +1 -1
  179. package/es/Radio/Radio.vue.js +12 -3
  180. package/es/Radio/RadioGroup.vue.d.ts +1 -1
  181. package/es/Radio/hooks/useContext.js +11 -1
  182. package/es/Radio/index.d.ts +6 -6
  183. package/es/Radio/type.d.ts +1 -1
  184. package/es/Rate/index.vue.js +12 -3
  185. package/es/ResizeBox/index.vue.d.ts +2 -1
  186. package/es/ResizeBox/index.vue.js +12 -3
  187. package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
  188. package/es/Scrollbar/Scrollbar.vue.js +10 -1
  189. package/es/Scrollbar/ScrollbarTrack.vue.js +10 -1
  190. package/es/Scrollbar/index.d.ts +3 -3
  191. package/es/Select/Option.vue.d.ts +1 -1
  192. package/es/Select/Option.vue.js +12 -3
  193. package/es/Select/Select.vue.d.ts +47 -47
  194. package/es/Select/Select.vue.js +10 -1
  195. package/es/Select/SelectIcon.vue.js +11 -2
  196. package/es/Select/SelectRealList.vue.js +10 -0
  197. package/es/Select/SelectView.vue.js +10 -0
  198. package/es/Select/SelectVirtualList.vue.d.ts +1 -1
  199. package/es/Select/SelectVirtualList.vue.js +12 -3
  200. package/es/Select/hooks/useContext.js +11 -1
  201. package/es/Select/hooks/useSelectHotkeys.js +10 -0
  202. package/es/Select/hooks/useSelectOptions.d.ts +1 -1
  203. package/es/Select/hooks/useSelectOptions.js +10 -0
  204. package/es/Select/index.d.ts +45 -45
  205. package/es/Select/type.d.ts +1 -1
  206. package/es/Skeleton/SkeletonLine.vue.js +9 -0
  207. package/es/Skeleton/SkeletonShape.vue.js +10 -0
  208. package/es/Slider/SliderBtn.vue.js +11 -1
  209. package/es/Slider/hooks/useContext.js +11 -1
  210. package/es/Slider/hooks/useSliderDraggable.js +10 -1
  211. package/es/Space/index.vue.js +10 -1
  212. package/es/Space/type.d.ts +2 -2
  213. package/es/Spin/index.vue.js +10 -1
  214. package/es/Split/index.vue.js +13 -4
  215. package/es/Split/type.d.ts +1 -1
  216. package/es/Statistic/Countdown.vue.d.ts +1 -1
  217. package/es/Statistic/Countdown.vue.js +9 -1
  218. package/es/Statistic/Statistic.vue.d.ts +1 -1
  219. package/es/Statistic/Statistic.vue.js +9 -1
  220. package/es/Statistic/index.d.ts +6 -6
  221. package/es/Steps/Step.vue.d.ts +1 -1
  222. package/es/Steps/Step.vue.js +10 -1
  223. package/es/Steps/hooks/useContext.js +11 -1
  224. package/es/Steps/index.d.ts +3 -3
  225. package/es/Steps/type.d.ts +1 -1
  226. package/es/Switch/index.d.ts +8 -8
  227. package/es/Switch/index.vue.d.ts +3 -3
  228. package/es/Switch/index.vue.js +12 -2
  229. package/es/Tabs/TabButton.vue.js +11 -2
  230. package/es/Tabs/TabPane.vue.d.ts +1 -1
  231. package/es/Tabs/TabPane.vue.js +10 -0
  232. package/es/Tabs/Tabs.vue.d.ts +2 -2
  233. package/es/Tabs/Tabs.vue.js +10 -1
  234. package/es/Tabs/TabsNavInk.vue.js +10 -1
  235. package/es/Tabs/TabsTab.vue.js +10 -0
  236. package/es/Tabs/hooks/useContext.js +11 -1
  237. package/es/Tabs/hooks/useTabsScroll.js +10 -1
  238. package/es/Tabs/index.d.ts +6 -6
  239. package/es/Tabs/type.d.ts +1 -1
  240. package/es/Tag/index.vue.js +13 -4
  241. package/es/Textarea/hooks/useTextareaHeight.js +9 -0
  242. package/es/Textarea/index.d.ts +10 -10
  243. package/es/Textarea/index.vue.d.ts +4 -4
  244. package/es/Textarea/index.vue.js +11 -2
  245. package/es/TimePicker/TimePicker.vue.d.ts +6 -6
  246. package/es/TimePicker/TimePicker.vue.js +12 -4
  247. package/es/TimePicker/TimePickerPanel.vue.js +15 -1
  248. package/es/TimePicker/hooks/useContext.js +10 -1
  249. package/es/TimePicker/index.css +1 -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 +10 -1
  262. package/es/Transfer/TransferPanel.vue.js +12 -3
  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 +12 -3
  272. package/es/Typography/TypographyBase.vue.d.ts +22 -22
  273. package/es/Typography/TypographyBase.vue.js +14 -6
  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 +11 -3
  277. package/es/Upload/UploadDrag.vue.js +10 -2
  278. package/es/Upload/UploadFileList.vue2.js +13 -4
  279. package/es/Upload/UploadPictureCard.vue2.js +12 -3
  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.vue2.js → index.vue.js} +10 -1
  293. package/es/_shared/components/IconButton/index.vue3.js +2 -2
  294. package/es/_shared/constants/index.js +10 -1
  295. package/es/_shared/icons/IconArrowDown.vue.js +10 -1
  296. package/es/_shared/icons/IconArrowRight.vue.js +10 -1
  297. package/es/_shared/icons/IconCheck.vue.js +10 -1
  298. package/es/_shared/icons/IconCheckboxChecked.vue.js +10 -1
  299. package/es/_shared/icons/IconClose.vue.js +10 -1
  300. package/es/_shared/icons/IconCopy.vue2.js +10 -1
  301. package/es/_shared/icons/IconDelete.vue.js +1 -19
  302. package/es/_shared/icons/IconDelete.vue2.js +28 -1
  303. package/es/_shared/icons/IconDragDot.vue.js +10 -1
  304. package/es/_shared/icons/IconEdit.vue2.js +10 -1
  305. package/es/_shared/icons/IconEmpty.vue.js +10 -1
  306. package/es/_shared/icons/IconError.vue.js +10 -1
  307. package/es/_shared/icons/IconExclamation.vue2.js +10 -1
  308. package/es/_shared/icons/IconEyeClose.vue.js +1 -23
  309. package/es/_shared/icons/IconEyeClose.vue2.js +32 -1
  310. package/es/_shared/icons/IconEyeOpen.vue2.js +10 -1
  311. package/es/_shared/icons/IconFaceSmile.vue.js +10 -1
  312. package/es/_shared/icons/IconFile.vue.js +1 -19
  313. package/es/_shared/icons/IconFile.vue2.js +28 -1
  314. package/es/_shared/icons/IconFullScreen.vue2.js +10 -1
  315. package/es/_shared/icons/IconImageClose.vue.js +10 -1
  316. package/es/_shared/icons/IconInfo.vue.js +10 -1
  317. package/es/_shared/icons/IconInfoLine.vue.js +10 -1
  318. package/es/_shared/icons/IconLink.vue.js +10 -1
  319. package/es/_shared/icons/IconLoading.vue.js +10 -1
  320. package/es/_shared/icons/IconMenuFold.vue.js +10 -1
  321. package/es/_shared/icons/IconMenuUnfold.vue.js +10 -1
  322. package/es/_shared/icons/IconMinus.vue2.js +10 -1
  323. package/es/_shared/icons/IconMore.vue.js +10 -1
  324. package/es/_shared/icons/IconOriginSize.vue2.js +10 -1
  325. package/es/_shared/icons/IconPlus.vue.js +10 -1
  326. package/es/_shared/icons/IconRight.vue.js +10 -1
  327. package/es/_shared/icons/IconRotateLeft.vue2.js +10 -1
  328. package/es/_shared/icons/IconRotateRight.vue2.js +10 -1
  329. package/es/_shared/icons/IconSearch.vue2.js +10 -1
  330. package/es/_shared/icons/IconSeparator.vue2.js +10 -1
  331. package/es/_shared/icons/IconStar.vue.js +10 -1
  332. package/es/_shared/icons/IconSuccess.vue.js +10 -1
  333. package/es/_shared/icons/IconTime.vue.js +10 -1
  334. package/es/_shared/icons/IconToTop.vue.js +10 -1
  335. package/es/_shared/icons/IconUpload.vue.js +1 -19
  336. package/es/_shared/icons/IconUpload.vue2.js +28 -1
  337. package/es/_shared/icons/IconWarning.vue.js +10 -1
  338. package/es/_shared/icons/IconZoomIn.vue2.js +10 -1
  339. package/es/_shared/icons/IconZoomOut.vue2.js +10 -1
  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.d.ts +1 -1
  344. package/es/_shared/utils/dom.js +10 -3
  345. package/es/_shared/utils/index.d.ts +12 -0
  346. package/es/_shared/utils/time.d.ts +1 -1
  347. package/es/_shared/utils/time.js +4 -2
  348. package/es/_shared/utils/vue-utils.d.ts +0 -1
  349. package/es/index.d.ts +64 -64
  350. package/es/style.css +1 -1
  351. package/lib/Affix/index.vue.js +1 -1
  352. package/lib/Alert/index.d.ts +3 -3
  353. package/lib/Alert/index.vue.d.ts +1 -1
  354. package/lib/Alert/index.vue.js +1 -1
  355. package/lib/Anchor/Anchor.vue.js +1 -1
  356. package/lib/Anchor/AnchorLink.vue.js +1 -1
  357. package/lib/Anchor/hooks/useContext.js +1 -1
  358. package/lib/AutoComplete/index.d.ts +74 -74
  359. package/lib/AutoComplete/index.vue.d.ts +101 -101
  360. package/lib/AutoComplete/index.vue.js +1 -1
  361. package/lib/Avatar/Avatar.vue.js +1 -1
  362. package/lib/Avatar/AvatarGroup.vue.js +1 -1
  363. package/lib/BackTop/index.vue.js +1 -1
  364. package/lib/Badge/index.vue.js +1 -1
  365. package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
  366. package/lib/Breadcrumb/BreadcrumbItem.vue.d.ts +1 -1
  367. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  368. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  369. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  370. package/lib/Breadcrumb/index.d.ts +3 -3
  371. package/lib/Button/Button.vue.d.ts +2 -2
  372. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  373. package/lib/Button/hooks/useContext.js +1 -1
  374. package/lib/Button/index.d.ts +9 -9
  375. package/lib/Calendar/Calendar.vue.js +1 -1
  376. package/lib/Calendar/CalendarMonth.vue.d.ts +1 -1
  377. package/lib/Calendar/CalendarMonth.vue.js +1 -1
  378. package/lib/Calendar/CalendarYear.vue.d.ts +1 -1
  379. package/lib/Calendar/CalendarYear.vue.js +1 -1
  380. package/lib/Card/Card.vue.js +1 -1
  381. package/lib/Card/CardMeta.vue.js +1 -1
  382. package/lib/Carousel/Carousel.vue.js +1 -1
  383. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  384. package/lib/Carousel/CarouselIndicator.vue.js +1 -1
  385. package/lib/Carousel/hooks/useContext.js +1 -1
  386. package/lib/Cascader/Cascader.vue.d.ts +27 -27
  387. package/lib/Cascader/Cascader.vue.js +1 -1
  388. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  389. package/lib/Cascader/CascaderOption.vue.d.ts +1 -1
  390. package/lib/Cascader/CascaderOption.vue.js +1 -1
  391. package/lib/Cascader/hooks/useContext.js +1 -1
  392. package/lib/Cascader/index.d.ts +28 -28
  393. package/lib/Checkbox/Checkbox.vue.js +1 -1
  394. package/lib/Checkbox/hooks/useContext.js +1 -1
  395. package/lib/Collapse/CollapseItem.vue.d.ts +1 -1
  396. package/lib/Collapse/CollapseItem.vue.js +1 -1
  397. package/lib/Collapse/hooks/useContext.js +1 -1
  398. package/lib/Collapse/index.d.ts +3 -3
  399. package/lib/Collapse/type.d.ts +1 -1
  400. package/lib/ColorPicker/ColorControl.vue.js +1 -1
  401. package/lib/ColorPicker/ColorInput.vue.js +1 -1
  402. package/lib/ColorPicker/ColorList.vue.js +1 -1
  403. package/lib/ColorPicker/ColorPalette.vue.js +1 -1
  404. package/lib/ColorPicker/ColorPanel.vue.js +1 -1
  405. package/lib/ColorPicker/hooks/useContext.js +1 -1
  406. package/lib/Comment/hooks/useContext.js +1 -1
  407. package/lib/Comment/index.vue.js +1 -1
  408. package/lib/ConfigProvider/index.d.ts +3 -3
  409. package/lib/ConfigProvider/index.vue.d.ts +1 -1
  410. package/lib/ConfigProvider/index.vue.js +1 -1
  411. package/lib/ConfigProvider/type.d.ts +1 -1
  412. package/lib/Descriptions/Descriptions.vue.d.ts +2 -2
  413. package/lib/Descriptions/DescriptionsItem.vue.d.ts +1 -1
  414. package/lib/Descriptions/ReuseItem.vue.js +1 -1
  415. package/lib/Descriptions/ReuseTd.vue.js +1 -1
  416. package/lib/Descriptions/hooks/useContext.js +1 -1
  417. package/lib/Descriptions/index.d.ts +9 -9
  418. package/lib/Divider/index.vue.js +1 -1
  419. package/lib/Divider/type.d.ts +1 -1
  420. package/lib/Drawer/Drawer.vue.d.ts +4 -4
  421. package/lib/Drawer/Drawer.vue.js +1 -1
  422. package/lib/Drawer/DrawerService.vue.d.ts +4 -4
  423. package/lib/Drawer/DrawerService.vue.js +1 -1
  424. package/lib/Drawer/index.d.ts +12 -12
  425. package/lib/Dropdown/Dropdown.vue.d.ts +3 -3
  426. package/lib/Dropdown/Dropdown.vue.js +1 -1
  427. package/lib/Dropdown/DropdownButton.vue.d.ts +5 -5
  428. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  429. package/lib/Dropdown/Dsubmenu.vue.d.ts +11 -11
  430. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  431. package/lib/Dropdown/hooks/useContext.js +1 -1
  432. package/lib/Dropdown/index.d.ts +27 -27
  433. package/lib/Dropdown/type.d.ts +1 -1
  434. package/lib/Empty/index.vue.js +1 -1
  435. package/lib/Grid/Grid.vue.js +1 -1
  436. package/lib/Grid/GridCol.vue.js +1 -1
  437. package/lib/Grid/GridItem.vue.js +1 -1
  438. package/lib/Grid/GridRow.vue.d.ts +1 -1
  439. package/lib/Grid/GridRow.vue.js +1 -1
  440. package/lib/Grid/hooks/useContext.js +1 -1
  441. package/lib/Grid/index.d.ts +3 -3
  442. package/lib/Image/Image.vue.js +1 -1
  443. package/lib/Image/ImagePreview.vue.js +1 -1
  444. package/lib/Image/ImagePreviewAction.vue.d.ts +1 -1
  445. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  446. package/lib/Image/ImagePreviewGroup.vue.js +1 -1
  447. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  448. package/lib/Image/hooks/useContext.js +1 -1
  449. package/lib/Image/index.d.ts +3 -3
  450. package/lib/Input/Input.vue.d.ts +4 -4
  451. package/lib/Input/Input.vue.js +1 -1
  452. package/lib/Input/InputSuffix.vue.js +1 -1
  453. package/lib/Input/hooks/useLimitedInput.js +1 -1
  454. package/lib/Input/index.d.ts +10 -10
  455. package/lib/Input/type.d.ts +1 -1
  456. package/lib/InputNumber/InputNumber.vue.d.ts +25 -25
  457. package/lib/InputNumber/InputNumber.vue.js +1 -1
  458. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  459. package/lib/InputNumber/index.d.ts +23 -23
  460. package/lib/InputNumber/type.d.ts +1 -1
  461. package/lib/InputTag/index.d.ts +15 -15
  462. package/lib/InputTag/index.vue.d.ts +6 -6
  463. package/lib/InputTag/index.vue.js +1 -1
  464. package/lib/InputTag/type.d.ts +1 -1
  465. package/lib/Layout/Layout.vue.js +1 -1
  466. package/lib/Layout/LayoutSider.vue.d.ts +3 -3
  467. package/lib/Layout/LayoutSider.vue.js +1 -1
  468. package/lib/Layout/hooks/useSiderContext.js +1 -1
  469. package/lib/Layout/index.d.ts +9 -9
  470. package/lib/Link/index.vue.js +1 -1
  471. package/lib/List/List.vue.d.ts +7 -7
  472. package/lib/List/List.vue.js +1 -1
  473. package/lib/List/ListVirtual.vue.js +1 -1
  474. package/lib/List/hooks/useScrollReach.js +1 -1
  475. package/lib/List/index.d.ts +6 -6
  476. package/lib/List/type.d.ts +1 -1
  477. package/lib/Mention/index.d.ts +87 -87
  478. package/lib/Mention/index.vue.d.ts +145 -145
  479. package/lib/Mention/index.vue.js +1 -1
  480. package/lib/Mention/type.d.ts +1 -1
  481. package/lib/Menu/Menu.vue.d.ts +8 -8
  482. package/lib/Menu/Menu.vue.js +1 -1
  483. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  484. package/lib/Menu/MenuItem.vue.js +1 -1
  485. package/lib/Menu/MenuItemGroup.vue.js +1 -1
  486. package/lib/Menu/SubMenu.vue.js +1 -1
  487. package/lib/Menu/hooks/useContext.d.ts +1 -1
  488. package/lib/Menu/hooks/useContext.js +1 -1
  489. package/lib/Menu/index.d.ts +24 -24
  490. package/lib/Menu/type.d.ts +1 -1
  491. package/lib/Message/Message.vue.d.ts +2 -2
  492. package/lib/Message/Message.vue.js +1 -1
  493. package/lib/Message/index.d.ts +7 -7
  494. package/lib/Message/index.js +1 -1
  495. package/lib/Message/type.d.ts +1 -1
  496. package/lib/Modal/Modal.vue.d.ts +3 -3
  497. package/lib/Modal/Modal.vue.js +1 -1
  498. package/lib/Modal/ModalService.vue.d.ts +3 -3
  499. package/lib/Modal/ModalService.vue.js +1 -1
  500. package/lib/Modal/hooks/useModalClose.d.ts +1 -1
  501. package/lib/Modal/hooks/useModalClose.js +1 -1
  502. package/lib/Modal/hooks/useModalDraggable.js +1 -1
  503. package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
  504. package/lib/Modal/index.d.ts +9 -9
  505. package/lib/Notification/Notification.vue.d.ts +5 -5
  506. package/lib/Notification/Notification.vue.js +1 -1
  507. package/lib/Notification/index.d.ts +22 -21
  508. package/lib/Notification/index.js +1 -1
  509. package/lib/Notification/type.d.ts +1 -1
  510. package/lib/OverflowList/index.vue.js +1 -1
  511. package/lib/PageHeader/index.vue.js +1 -1
  512. package/lib/Pagination/Pagination.vue.js +1 -1
  513. package/lib/Pagination/PaginationItem.vue.js +1 -1
  514. package/lib/Pagination/hooks/useContext.js +1 -1
  515. package/lib/Popconfirm/index.d.ts +16 -16
  516. package/lib/Popconfirm/index.vue.d.ts +14 -14
  517. package/lib/Popconfirm/index.vue.js +1 -1
  518. package/lib/Popover/index.d.ts +6 -6
  519. package/lib/Popover/index.vue.d.ts +2 -2
  520. package/lib/Popover/index.vue.js +1 -1
  521. package/lib/Progress/Progress.vue.js +1 -1
  522. package/lib/Progress/ProgressCircle.vue.js +1 -1
  523. package/lib/Progress/ProgressLine.vue.js +1 -1
  524. package/lib/Progress/ProgressSteps.vue.js +1 -1
  525. package/lib/Radio/Radio.vue.d.ts +1 -1
  526. package/lib/Radio/Radio.vue.js +1 -1
  527. package/lib/Radio/RadioGroup.vue.d.ts +1 -1
  528. package/lib/Radio/hooks/useContext.js +1 -1
  529. package/lib/Radio/index.d.ts +6 -6
  530. package/lib/Radio/type.d.ts +1 -1
  531. package/lib/Rate/index.vue.js +1 -1
  532. package/lib/ResizeBox/index.vue.d.ts +2 -1
  533. package/lib/ResizeBox/index.vue.js +1 -1
  534. package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
  535. package/lib/Scrollbar/Scrollbar.vue.js +1 -1
  536. package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
  537. package/lib/Scrollbar/index.d.ts +3 -3
  538. package/lib/Select/Option.vue.d.ts +1 -1
  539. package/lib/Select/Option.vue.js +1 -1
  540. package/lib/Select/Select.vue.d.ts +47 -47
  541. package/lib/Select/Select.vue.js +1 -1
  542. package/lib/Select/SelectIcon.vue.js +1 -1
  543. package/lib/Select/SelectRealList.vue.js +1 -1
  544. package/lib/Select/SelectView.vue.js +1 -1
  545. package/lib/Select/SelectVirtualList.vue.d.ts +1 -1
  546. package/lib/Select/SelectVirtualList.vue.js +1 -1
  547. package/lib/Select/hooks/useContext.js +1 -1
  548. package/lib/Select/hooks/useSelectHotkeys.js +1 -1
  549. package/lib/Select/hooks/useSelectOptions.d.ts +1 -1
  550. package/lib/Select/hooks/useSelectOptions.js +1 -1
  551. package/lib/Select/index.d.ts +45 -45
  552. package/lib/Select/type.d.ts +1 -1
  553. package/lib/Skeleton/SkeletonLine.vue.js +1 -1
  554. package/lib/Skeleton/SkeletonShape.vue.js +1 -1
  555. package/lib/Slider/SliderBtn.vue.js +1 -1
  556. package/lib/Slider/hooks/useContext.js +1 -1
  557. package/lib/Slider/hooks/useSliderDraggable.js +1 -1
  558. package/lib/Space/index.vue.js +1 -1
  559. package/lib/Space/type.d.ts +2 -2
  560. package/lib/Spin/index.vue.js +1 -1
  561. package/lib/Split/index.vue.js +1 -1
  562. package/lib/Split/type.d.ts +1 -1
  563. package/lib/Statistic/Countdown.vue.d.ts +1 -1
  564. package/lib/Statistic/Countdown.vue.js +1 -1
  565. package/lib/Statistic/Statistic.vue.d.ts +1 -1
  566. package/lib/Statistic/Statistic.vue.js +1 -1
  567. package/lib/Statistic/index.d.ts +6 -6
  568. package/lib/Steps/Step.vue.d.ts +1 -1
  569. package/lib/Steps/Step.vue.js +1 -1
  570. package/lib/Steps/hooks/useContext.js +1 -1
  571. package/lib/Steps/index.d.ts +3 -3
  572. package/lib/Steps/type.d.ts +1 -1
  573. package/lib/Switch/index.d.ts +8 -8
  574. package/lib/Switch/index.vue.d.ts +3 -3
  575. package/lib/Switch/index.vue.js +1 -1
  576. package/lib/Tabs/TabButton.vue.js +1 -1
  577. package/lib/Tabs/TabPane.vue.d.ts +1 -1
  578. package/lib/Tabs/TabPane.vue.js +1 -1
  579. package/lib/Tabs/Tabs.vue.d.ts +2 -2
  580. package/lib/Tabs/Tabs.vue.js +1 -1
  581. package/lib/Tabs/TabsNavInk.vue.js +1 -1
  582. package/lib/Tabs/TabsTab.vue.js +1 -1
  583. package/lib/Tabs/hooks/useContext.js +1 -1
  584. package/lib/Tabs/hooks/useTabsScroll.js +1 -1
  585. package/lib/Tabs/index.d.ts +6 -6
  586. package/lib/Tabs/type.d.ts +1 -1
  587. package/lib/Tag/index.vue.js +1 -1
  588. package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
  589. package/lib/Textarea/index.d.ts +10 -10
  590. package/lib/Textarea/index.vue.d.ts +4 -4
  591. package/lib/Textarea/index.vue.js +1 -1
  592. package/lib/TimePicker/TimePicker.vue.d.ts +6 -6
  593. package/lib/TimePicker/TimePicker.vue.js +1 -1
  594. package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
  595. package/lib/TimePicker/hooks/useContext.js +1 -1
  596. package/lib/TimePicker/index.css +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 -0
  640. package/lib/_shared/components/IconButton/index.vue3.js +1 -1
  641. package/lib/_shared/constants/index.js +1 -1
  642. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  643. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  644. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  645. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  646. package/lib/_shared/icons/IconClose.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.vue2.js +1 -1
  652. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  653. package/lib/_shared/icons/IconError.vue.js +1 -1
  654. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  655. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  656. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  657. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  658. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  659. package/lib/_shared/icons/IconFile.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.vue2.js +1 -1
  677. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  678. package/lib/_shared/icons/IconStar.vue.js +1 -1
  679. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  680. package/lib/_shared/icons/IconTime.vue.js +1 -1
  681. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  682. package/lib/_shared/icons/IconUpload.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.d.ts +1 -1
  691. package/lib/_shared/utils/dom.js +1 -1
  692. package/lib/_shared/utils/index.d.ts +12 -0
  693. package/lib/_shared/utils/time.d.ts +1 -1
  694. package/lib/_shared/utils/time.js +1 -1
  695. package/lib/_shared/utils/vue-utils.d.ts +0 -1
  696. package/lib/index.d.ts +64 -64
  697. package/lib/style.css +1 -1
  698. package/package.json +1 -1
  699. package/lib/_shared/components/IconButton/index.vue2.js +0 -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,9 +1,15 @@
1
1
  import { defineComponent, ref, computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, Fragment, renderList, unref, createVNode, withCtx, withDirectives, normalizeClass, toDisplayString, vShow, renderSlot, createTextVNode } from "vue";
2
+ import { sleep } from "../_shared/utils/dom.js";
2
3
  import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
3
4
  import dayjs from "../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";
4
10
  import { isUndefined, isArray } from "../_shared/utils/is.js";
5
- import { sleep } from "../_shared/utils/dom.js";
6
11
  import { useI18n } from "../_shared/utils/locale.js";
12
+ import { isValidTimeRange } from "../_shared/utils/time.js";
7
13
  import useTimePickerContext from "./hooks/useContext.js";
8
14
  import Button from "../Button/index.js";
9
15
  import Scrollbar from "../Scrollbar/index.js";
@@ -100,6 +106,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
100
106
  return;
101
107
  }
102
108
  if (curIndex.value || computedValue.value[curIndex.value + 1]) {
109
+ const isValid = !isValidTimeRange(
110
+ computedValue.value[0],
111
+ computedValue.value[1],
112
+ format.value
113
+ );
114
+ if (isValid) {
115
+ computedValue.value = computedValue.value.reverse();
116
+ }
103
117
  return computedVisible.value = false;
104
118
  }
105
119
  curIndex.value++;
@@ -1,7 +1,16 @@
1
1
  import { toRefs, ref, computed, provide, inject } from "vue";
2
- import { useControlValue } from "../../_shared/utils/control.js";
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";
3
10
  import { isArray } from "../../_shared/utils/is.js";
11
+ import { useControlValue } from "../../_shared/utils/hooks.js";
4
12
  import { useI18n } from "../../_shared/utils/locale.js";
13
+ import "../../_shared/utils/time.js";
5
14
  const TIME_PICKER_CONTEXT_KEY = "time-picker-context";
6
15
  function useTimePickerContext() {
7
16
  const provide$1 = (props, emits) => {
@@ -1 +1 @@
1
- .yc-picker{position:relative;padding:4px 11px 4px 4px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);transition:all .1s cubic-bezier(0, 0, 1, 1);line-height:1.5715;display:inline-flex;align-items:center}.yc-picker:not(.yc-picker-disabled):not(.yc-picker-focus):hover{background-color:var(--color-fill-3);border-color:transparent}.yc-picker .yc-picker-has-prefix,.yc-picker .yc-picker-input.yc-picker-suffix,.yc-picker .yc-picker-separator{flex-shrink:0}.yc-picker .yc-picker-prefix{margin-right:4px;font-size:14px;color:var(--color-text-2)}.yc-picker .yc-picker-input{flex:1;height:100%;display:flex;align-items:center}.yc-picker .yc-picker-input input{height:100%;width:100%;padding:0;padding-left:8px;background-color:transparent;border:none;outline:none;text-align:left;color:var(--color-text-2);transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-picker .yc-picker-input input::placeholder{color:var(--color-text-3)}.yc-picker .yc-picker-separator{min-width:10px;padding:0 8px;color:var(--color-text-3)}.yc-picker .yc-picker-suffix{margin-left:4px;display:flex;align-items:center}.yc-picker .yc-picker-suffix .yc-icon-button{display:none}.yc-picker .yc-picker-suffix .yc-picker-suffix-icon{color:var(--color-text-2);display:flex;justify-content:center;align-items:center}.yc-picker-has-prefix{padding-left:12px}.yc-picker-allow-clear:hover .yc-picker-suffix .yc-icon-button{display:flex}.yc-picker-allow-clear:hover .yc-picker-suffix .yc-picker-suffix-icon{display:none}.yc-picker-focus{background-color:var(--color-bg-1);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.yc-picker-range .yc-picker-input-active input{background:var(--color-fill-2)}.yc-picker-error{background-color:var(--color-danger-light-1);border-color:transparent}.yc-picker-error:not(.yc-picker-disabled):not(.yc-picker-focus):hover{background-color:var(--color-danger-light-2)}.yc-picker-error.yc-picker-focus{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.yc-picker-disabled{cursor:not-allowed;color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent}.yc-picker-disabled .yc-picker-input input{cursor:not-allowed}.yc-picker-disabled .yc-picker-input input::placeholder{color:var(--color-text-4)}.yc-picker-disabled .yc-picker-suffix .yc-picker-suffix-icon{color:var(--color-text-4)}.yc-picker-size-mini{height:24px}.yc-picker-size-mini input{font-size:12px}.yc-picker-size-small{height:28px}.yc-picker-size-small input{font-size:14px}.yc-picker-size-medium{height:32px}.yc-picker-size-medium input{font-size:14px}.yc-picker-size-large{height:36px}.yc-picker-size-large input{font-size:14px}.yc-timepicker-container{overflow:hidden;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 2px 5px rgba(0,0,0,0.1)}.yc-timepicker-container .yc-timepicker{position:relative;display:flex;padding:0}.yc-timepicker-container .yc-timepicker .yc-timepicker-column{overflow:hidden;width:64px;height:224px}.yc-timepicker-container .yc-timepicker .yc-timepicker-column:not(:last-child){border-right:1px solid var(--color-neutral-3)}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell{padding:4px 0;color:var(--color-text-1);font-weight:500;cursor:pointer}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell .yc-timepicker-cell-inner{height:24px;padding-left:24px;font-size:14px;line-height:24px}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell-selected .yc-timepicker-cell-inner{font-weight:500;background-color:var(--color-fill-2)}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell-disabled{color:var(--color-text-4);cursor:not-allowed}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul::after{display:block;width:100%;height:192px;content:''}.yc-timepicker-container .yc-timepicker-footer-extra-wrapper{padding:8px;border-top:1px solid var(--color-neutral-3);color:var(--color-text-1);font-size:12px}.yc-timepicker-container .yc-timepicker-footer-btn-wrapper{padding:8px;border-top:1px solid var(--color-neutral-3);display:flex;justify-content:space-between}
1
+ .yc-picker{position:relative;padding:4px 11px 4px 4px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);transition:all .1s cubic-bezier(0, 0, 1, 1);line-height:1.5715;display:inline-flex;align-items:center}.yc-picker:not(.yc-picker-disabled):not(.yc-picker-focus):hover{background-color:var(--color-fill-3);border-color:transparent}.yc-picker .yc-picker-has-prefix,.yc-picker .yc-picker-input.yc-picker-suffix,.yc-picker .yc-picker-separator{flex-shrink:0}.yc-picker .yc-picker-prefix{margin-right:4px;font-size:14px;color:var(--color-text-2)}.yc-picker .yc-picker-input{flex:1;height:100%;display:flex;align-items:center}.yc-picker .yc-picker-input input{height:100%;width:100%;padding:0;padding-left:8px;background-color:transparent;border:none;outline:none;text-align:left;color:var(--color-text-2);transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-picker .yc-picker-input input::placeholder{color:var(--color-text-3)}.yc-picker .yc-picker-separator{min-width:10px;padding:0 8px;color:var(--color-text-3)}.yc-picker .yc-picker-suffix{margin-left:4px;display:flex;align-items:center}.yc-picker .yc-picker-suffix .yc-icon-button{display:none}.yc-picker .yc-picker-suffix .yc-picker-suffix-icon{color:var(--color-text-2);font-size:14px;display:flex;justify-content:center;align-items:center}.yc-picker-has-prefix{padding-left:12px}.yc-picker-allow-clear:hover .yc-picker-suffix .yc-icon-button{display:flex}.yc-picker-allow-clear:hover .yc-picker-suffix .yc-picker-suffix-icon{display:none}.yc-picker-focus{background-color:var(--color-bg-1);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.yc-picker-range .yc-picker-input-active input{background:var(--color-fill-2)}.yc-picker-error{background-color:var(--color-danger-light-1);border-color:transparent}.yc-picker-error:not(.yc-picker-disabled):not(.yc-picker-focus):hover{background-color:var(--color-danger-light-2)}.yc-picker-error.yc-picker-focus{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.yc-picker-disabled{cursor:not-allowed;color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent}.yc-picker-disabled .yc-picker-input input{cursor:not-allowed}.yc-picker-disabled .yc-picker-input input::placeholder{color:var(--color-text-4)}.yc-picker-disabled .yc-picker-suffix .yc-picker-suffix-icon{color:var(--color-text-4)}.yc-picker-size-mini{height:24px}.yc-picker-size-mini input{font-size:12px}.yc-picker-size-small{height:28px}.yc-picker-size-small input{font-size:14px}.yc-picker-size-medium{height:32px}.yc-picker-size-medium input{font-size:14px}.yc-picker-size-large{height:36px}.yc-picker-size-large input{font-size:14px}.yc-timepicker-container{overflow:hidden;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 2px 5px rgba(0,0,0,0.1)}.yc-timepicker-container .yc-timepicker{position:relative;display:flex;padding:0}.yc-timepicker-container .yc-timepicker .yc-timepicker-column{overflow:hidden;width:64px;height:224px}.yc-timepicker-container .yc-timepicker .yc-timepicker-column:not(:last-child){border-right:1px solid var(--color-neutral-3)}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell{padding:4px 0;color:var(--color-text-1);font-weight:500;cursor:pointer}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell .yc-timepicker-cell-inner{height:24px;padding-left:24px;font-size:14px;line-height:24px}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell-selected .yc-timepicker-cell-inner{font-weight:500;background-color:var(--color-fill-2)}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell-disabled{color:var(--color-text-4);cursor:not-allowed}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul::after{display:block;width:100%;height:192px;content:''}.yc-timepicker-container .yc-timepicker-footer-extra-wrapper{padding:8px;border-top:1px solid var(--color-neutral-3);color:var(--color-text-1);font-size:12px}.yc-timepicker-container .yc-timepicker-footer-btn-wrapper{padding:8px;border-top:1px solid var(--color-neutral-3);display:flex;justify-content:space-between}
@@ -5,28 +5,28 @@ export * from './type';
5
5
  declare const TimePicker: {
6
6
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').TimePickerProps> & Readonly<{
7
7
  onChange?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
8
- onClear?: (() => any) | undefined;
9
- onSelect?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
10
8
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
11
9
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
10
+ onClear?: (() => any) | undefined;
11
+ onSelect?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
12
12
  "onUpdate:modelValue"?: ((value: import('./type').TimePickerValue) => any) | undefined;
13
13
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
14
14
  change: (timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any;
15
- clear: () => any;
16
- select: (timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any;
17
15
  "update:popupVisible": (value: boolean) => any;
18
16
  "popup-visible-change": (value: boolean) => any;
17
+ clear: () => any;
18
+ select: (timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any;
19
19
  "update:modelValue": (value: import('./type').TimePickerValue) => any;
20
20
  }, import('vue').PublicProps, {
21
21
  error: boolean;
22
22
  size: import('..').Size;
23
- type: import('./type').TimePickerType;
24
- popupContainer: import('..').PopupContainer;
25
23
  popupVisible: boolean;
26
24
  defaultPopupVisible: boolean;
27
25
  disabled: boolean;
28
26
  position: import('./type').TimePickerPosition;
29
27
  unmountOnClose: boolean;
28
+ popupContainer: import('..').PopupContainer;
29
+ type: import('./type').TimePickerType;
30
30
  placeholder: string | string[];
31
31
  modelValue: import('./type').TimePickerValue;
32
32
  defaultValue: import('./type').TimePickerValue;
@@ -95,21 +95,21 @@ declare const TimePicker: {
95
95
  Defaults: {};
96
96
  }, Readonly<import('./type').TimePickerProps> & Readonly<{
97
97
  onChange?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
98
- onClear?: (() => any) | undefined;
99
- onSelect?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
100
98
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
101
99
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
100
+ onClear?: (() => any) | undefined;
101
+ onSelect?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
102
102
  "onUpdate:modelValue"?: ((value: import('./type').TimePickerValue) => any) | undefined;
103
103
  }>, {}, {}, {}, {}, {
104
104
  error: boolean;
105
105
  size: import('..').Size;
106
- type: import('./type').TimePickerType;
107
- popupContainer: import('..').PopupContainer;
108
106
  popupVisible: boolean;
109
107
  defaultPopupVisible: boolean;
110
108
  disabled: boolean;
111
109
  position: import('./type').TimePickerPosition;
112
110
  unmountOnClose: boolean;
111
+ popupContainer: import('..').PopupContainer;
112
+ type: import('./type').TimePickerType;
113
113
  placeholder: string | string[];
114
114
  modelValue: import('./type').TimePickerValue;
115
115
  defaultValue: import('./type').TimePickerValue;
@@ -127,28 +127,28 @@ declare const TimePicker: {
127
127
  __isSuspense?: never;
128
128
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').TimePickerProps> & Readonly<{
129
129
  onChange?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
130
- onClear?: (() => any) | undefined;
131
- onSelect?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
132
130
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
133
131
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
132
+ onClear?: (() => any) | undefined;
133
+ onSelect?: ((timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any) | undefined;
134
134
  "onUpdate:modelValue"?: ((value: import('./type').TimePickerValue) => any) | undefined;
135
135
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
136
136
  change: (timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any;
137
- clear: () => any;
138
- select: (timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any;
139
137
  "update:popupVisible": (value: boolean) => any;
140
138
  "popup-visible-change": (value: boolean) => any;
139
+ clear: () => any;
140
+ select: (timeString: string | (string | undefined)[] | undefined, time: Date | (Date | undefined)[] | undefined) => any;
141
141
  "update:modelValue": (value: import('./type').TimePickerValue) => any;
142
142
  }, string, {
143
143
  error: boolean;
144
144
  size: import('..').Size;
145
- type: import('./type').TimePickerType;
146
- popupContainer: import('..').PopupContainer;
147
145
  popupVisible: boolean;
148
146
  defaultPopupVisible: boolean;
149
147
  disabled: boolean;
150
148
  position: import('./type').TimePickerPosition;
151
149
  unmountOnClose: boolean;
150
+ popupContainer: import('..').PopupContainer;
151
+ type: import('./type').TimePickerType;
152
152
  placeholder: string | string[];
153
153
  modelValue: import('./type').TimePickerValue;
154
154
  defaultValue: import('./type').TimePickerValue;
@@ -1,6 +1,6 @@
1
+ import { VNode } from 'vue';
1
2
  import { PopupContainer, Size } from '../_shared/type';
2
3
  import { TriggerProps } from '../Trigger';
3
- import { VNode } from 'vue';
4
4
  export interface TimePickerProps {
5
5
  type?: TimePickerType;
6
6
  modelValue?: TimePickerValue;
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
7
7
  };
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<TimelineItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TimelineItemProps> & Readonly<{}>, {
10
- label: string;
11
10
  position: import('..').Position;
11
+ label: string;
12
12
  dotColor: string;
13
13
  dotType: import('./type').TimelineDotType;
14
14
  lineType: import('./type').TimelineLineType;
@@ -1,7 +1,17 @@
1
1
  import { defineComponent, createBlock, openBlock, withCtx, createElementBlock, createCommentVNode, unref, toDisplayString, renderSlot, createVNode } 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$1 from "./TimelineItem.vue.js";
3
14
  /* empty css */
4
- import { isString } from "../_shared/utils/is.js";
5
15
  import Spin from "../Spin/index.js";
6
16
  const _hoisted_1 = { key: 0 };
7
17
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,14 @@
1
1
  import { toRefs, useSlots, computed, h, provide, inject, ref } 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 { findComponentsFromVnodes } from "../../_shared/utils/vue-utils.js";
3
13
  import _sfc_main$1 from "../TimelineItem.vue.js";
4
14
  /* empty css */
@@ -39,8 +39,8 @@ declare const Timeline: {
39
39
  }) & {
40
40
  item: {
41
41
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').TimelineItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
42
- label: string;
43
42
  position: import('..').Position;
43
+ label: string;
44
44
  dotColor: string;
45
45
  dotType: import('./type').TimelineDotType;
46
46
  lineType: import('./type').TimelineLineType;
@@ -54,8 +54,8 @@ declare const Timeline: {
54
54
  M: {};
55
55
  Defaults: {};
56
56
  }, Readonly<import('./type').TimelineItemProps> & Readonly<{}>, {}, {}, {}, {}, {
57
- label: string;
58
57
  position: import('..').Position;
58
+ label: string;
59
59
  dotColor: string;
60
60
  dotType: import('./type').TimelineDotType;
61
61
  lineType: import('./type').TimelineLineType;
@@ -66,8 +66,8 @@ declare const Timeline: {
66
66
  __isTeleport?: never;
67
67
  __isSuspense?: never;
68
68
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').TimelineItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
69
- label: string;
70
69
  position: import('..').Position;
70
+ label: string;
71
71
  dotColor: string;
72
72
  dotType: import('./type').TimelineDotType;
73
73
  lineType: import('./type').TimelineLineType;
@@ -1,5 +1,5 @@
1
- import { Direction, Position } from '../_shared/type';
2
1
  import { VNode } from 'vue';
2
+ import { Direction, Position } from '../_shared/type';
3
3
  export interface TimelineProps {
4
4
  reverse?: boolean;
5
5
  direction?: Direction;
@@ -14,7 +14,6 @@ declare const Tooltip: {
14
14
  "popup-visible-change": (value: boolean) => any;
15
15
  }, import('vue').PublicProps, {
16
16
  mini: boolean;
17
- popupContainer: import('..').PopupContainer;
18
17
  popupVisible: boolean;
19
18
  defaultPopupVisible: boolean;
20
19
  position: import('..').PopupPosition;
@@ -22,6 +21,7 @@ declare const Tooltip: {
22
21
  contentStyle: import('vue').CSSProperties;
23
22
  arrowClass: import('..').ClassName;
24
23
  arrowStyle: import('vue').CSSProperties;
24
+ popupContainer: import('..').PopupContainer;
25
25
  content: string;
26
26
  triggerProps: import('..').TriggerProps;
27
27
  backgroundColor: string;
@@ -40,7 +40,6 @@ declare const Tooltip: {
40
40
  show(): void;
41
41
  }, {}, {}, {}, {
42
42
  mini: boolean;
43
- popupContainer: import('..').PopupContainer;
44
43
  popupVisible: boolean;
45
44
  defaultPopupVisible: boolean;
46
45
  position: import('..').PopupPosition;
@@ -48,6 +47,7 @@ declare const Tooltip: {
48
47
  contentStyle: import('vue').CSSProperties;
49
48
  arrowClass: import('..').ClassName;
50
49
  arrowStyle: import('vue').CSSProperties;
50
+ popupContainer: import('..').PopupContainer;
51
51
  content: string;
52
52
  triggerProps: import('..').TriggerProps;
53
53
  backgroundColor: string;
@@ -66,7 +66,6 @@ declare const Tooltip: {
66
66
  "popup-visible-change": (value: boolean) => any;
67
67
  }, string, {
68
68
  mini: boolean;
69
- popupContainer: import('..').PopupContainer;
70
69
  popupVisible: boolean;
71
70
  defaultPopupVisible: boolean;
72
71
  position: import('..').PopupPosition;
@@ -74,6 +73,7 @@ declare const Tooltip: {
74
73
  contentStyle: import('vue').CSSProperties;
75
74
  arrowClass: import('..').ClassName;
76
75
  arrowStyle: import('vue').CSSProperties;
76
+ popupContainer: import('..').PopupContainer;
77
77
  content: string;
78
78
  triggerProps: import('..').TriggerProps;
79
79
  backgroundColor: string;
@@ -18,7 +18,6 @@ declare const __VLS_component: import('vue').DefineComponent<TooltipProps, {
18
18
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
19
19
  }>, {
20
20
  mini: boolean;
21
- popupContainer: import('..').PopupContainer;
22
21
  popupVisible: boolean;
23
22
  defaultPopupVisible: boolean;
24
23
  position: import('..').PopupPosition;
@@ -26,6 +25,7 @@ declare const __VLS_component: import('vue').DefineComponent<TooltipProps, {
26
25
  contentStyle: CSSProperties;
27
26
  arrowClass: import('..').ClassName;
28
27
  arrowStyle: CSSProperties;
28
+ popupContainer: import('..').PopupContainer;
29
29
  content: string;
30
30
  triggerProps: import('../Trigger').TriggerProps;
31
31
  backgroundColor: string;
@@ -1,5 +1,15 @@
1
1
  import { defineComponent, toRefs, computed, createBlock, openBlock, unref, mergeProps, isRef, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
2
- import { useControlValue } from "../_shared/utils/control.js";
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 { useControlValue } from "../_shared/utils/hooks.js";
11
+ import "../_shared/utils/locale.js";
12
+ import "../_shared/utils/time.js";
3
13
  import Trigger from "../Trigger/index.js";
4
14
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
15
  ...{
@@ -8,20 +8,20 @@ declare function __VLS_template(): {
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<TransferProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
10
  change: (value: import('./type').TransferItemValue[]) => any;
11
- search: (value: string, type: "source" | "target") => any;
12
11
  select: (value: import('./type').TransferItemValue[]) => any;
12
+ search: (value: string, type: "target" | "source") => any;
13
13
  "update:modelValue": (value: import('./type').TransferItemValue[]) => any;
14
14
  "update:selected": (value: import('./type').TransferItemValue[]) => any;
15
15
  }, string, import('vue').PublicProps, Readonly<TransferProps> & Readonly<{
16
16
  onChange?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
17
- onSearch?: ((value: string, type: "source" | "target") => any) | undefined;
18
17
  onSelect?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
18
+ onSearch?: ((value: string, type: "target" | "source") => any) | undefined;
19
19
  "onUpdate:modelValue"?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
20
20
  "onUpdate:selected"?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
21
21
  }>, {
22
+ disabled: boolean;
22
23
  data: import('./type').TransferItem[];
23
24
  title: string[];
24
- disabled: boolean;
25
25
  modelValue: string[];
26
26
  defaultValue: string[];
27
27
  simple: boolean;
@@ -1,7 +1,16 @@
1
1
  import { defineComponent, createElementBlock, openBlock, normalizeClass, createVNode, createCommentVNode, createBlock, unref, withCtx, renderSlot } from "vue";
2
2
  import useTransferContext from "./hooks/useContext.js";
3
3
  import "../_shared/utils/dom.js";
4
- /* empty css */
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";
13
+ /* empty css */
5
14
  /* empty css */
6
15
  /* empty css */
7
16
  import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
@@ -1,11 +1,20 @@
1
1
  import { defineComponent, toRefs, ref, computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, createBlock, unref, resolveDynamicComponent, Fragment, withCtx, createTextVNode, toDisplayString, createVNode, mergeProps, renderList, normalizeClass } from "vue";
2
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
3
- /* empty css */
2
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
3
+ /* empty css */
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
  /* empty css */
7
16
  import _sfc_main$4 from "../_shared/icons/IconClose.vue.js";
8
- import _sfc_main$2 from "../_shared/icons/IconDelete.vue.js";
17
+ import _sfc_main$2 from "../_shared/icons/IconDelete.vue2.js";
9
18
  import _sfc_main$3 from "../_shared/icons/IconSearch.vue2.js";
10
19
  import useTransferContext from "./hooks/useContext.js";
11
20
  import Checkbox from "../Checkbox/index.js";
@@ -1,5 +1,15 @@
1
1
  import { toRefs, useSlots, computed, provide, inject, ref } from "vue";
2
- import { useControlValue } from "../../_shared/utils/control.js";
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 { useControlValue } from "../../_shared/utils/hooks.js";
11
+ import "../../_shared/utils/locale.js";
12
+ import "../../_shared/utils/time.js";
3
13
  const TRANSFER_CONTEXT_KEY = "transfer-context";
4
14
  function useTransferContext() {
5
15
  const provide$1 = (props, emits) => {
@@ -5,20 +5,20 @@ export * from './type';
5
5
  declare const Transfer: {
6
6
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').TransferProps> & Readonly<{
7
7
  onChange?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
8
- onSearch?: ((value: string, type: "source" | "target") => any) | undefined;
9
8
  onSelect?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
9
+ onSearch?: ((value: string, type: "target" | "source") => any) | undefined;
10
10
  "onUpdate:modelValue"?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
11
11
  "onUpdate:selected"?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
12
12
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
13
  change: (value: import('./type').TransferItemValue[]) => any;
14
- search: (value: string, type: "source" | "target") => any;
15
14
  select: (value: import('./type').TransferItemValue[]) => any;
15
+ search: (value: string, type: "target" | "source") => any;
16
16
  "update:modelValue": (value: import('./type').TransferItemValue[]) => any;
17
17
  "update:selected": (value: import('./type').TransferItemValue[]) => any;
18
18
  }, import('vue').PublicProps, {
19
+ disabled: boolean;
19
20
  data: import('./type').TransferItem[];
20
21
  title: string[];
21
- disabled: boolean;
22
22
  modelValue: string[];
23
23
  defaultValue: string[];
24
24
  simple: boolean;
@@ -38,14 +38,14 @@ declare const Transfer: {
38
38
  Defaults: {};
39
39
  }, Readonly<import('./type').TransferProps> & Readonly<{
40
40
  onChange?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
41
- onSearch?: ((value: string, type: "source" | "target") => any) | undefined;
42
41
  onSelect?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
42
+ onSearch?: ((value: string, type: "target" | "source") => any) | undefined;
43
43
  "onUpdate:modelValue"?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
44
44
  "onUpdate:selected"?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
45
45
  }>, {}, {}, {}, {}, {
46
+ disabled: boolean;
46
47
  data: import('./type').TransferItem[];
47
48
  title: string[];
48
- disabled: boolean;
49
49
  modelValue: string[];
50
50
  defaultValue: string[];
51
51
  simple: boolean;
@@ -62,20 +62,20 @@ declare const Transfer: {
62
62
  __isSuspense?: never;
63
63
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').TransferProps> & Readonly<{
64
64
  onChange?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
65
- onSearch?: ((value: string, type: "source" | "target") => any) | undefined;
66
65
  onSelect?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
66
+ onSearch?: ((value: string, type: "target" | "source") => any) | undefined;
67
67
  "onUpdate:modelValue"?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
68
68
  "onUpdate:selected"?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
69
69
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
70
70
  change: (value: import('./type').TransferItemValue[]) => any;
71
- search: (value: string, type: "source" | "target") => any;
72
71
  select: (value: import('./type').TransferItemValue[]) => any;
72
+ search: (value: string, type: "target" | "source") => any;
73
73
  "update:modelValue": (value: import('./type').TransferItemValue[]) => any;
74
74
  "update:selected": (value: import('./type').TransferItemValue[]) => any;
75
75
  }, string, {
76
+ disabled: boolean;
76
77
  data: import('./type').TransferItem[];
77
78
  title: string[];
78
- disabled: boolean;
79
79
  modelValue: string[];
80
80
  defaultValue: string[];
81
81
  simple: boolean;
@@ -1,5 +1,5 @@
1
- import { InputProps } from '../Input';
2
1
  import { VNode } from 'vue';
2
+ import { InputProps } from '../Input';
3
3
  export interface TransferProps {
4
4
  data?: TransferItem[];
5
5
  modelValue?: string[];
@@ -1,7 +1,16 @@
1
1
  import { inject, ref, provide, watch } from "vue";
2
- import { nanoid } from "../../node_modules/nanoid/index.browser.js";
3
2
  import { sleep } from "../../_shared/utils/dom.js";
4
3
  import { unrefElement } from "../../node_modules/@vueuse/core/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 "../../_shared/utils/locale.js";
13
+ import "../../_shared/utils/time.js";
5
14
  const TRIGGER_CONTEXT_KEY = "trigger-context";
6
15
  function useTriggerContext(params) {
7
16
  const { trigger, popupRef, computedVisible, mouseEnterDelay } = params;
@@ -1,6 +1,15 @@
1
1
  import { toRefs, ref, computed, watch } from "vue";
2
2
  import { valueToPx, sleep } from "../../_shared/utils/dom.js";
3
3
  import { useElementSize, useElementBounding, unrefElement } 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 useTriggerPosition = (params) => {
5
14
  const {
6
15
  props,
@@ -1,8 +1,17 @@
1
1
  import { toRefs, ref, computed, watch, nextTick } from "vue";
2
2
  import useTriggerContext from "./useContext.js";
3
- import { unrefElement, onClickOutside, useEventListener } from "../../node_modules/@vueuse/core/index.js";
4
3
  import { findFirstScrollableParent } from "../../_shared/utils/dom.js";
5
- import { useControlValue } from "../../_shared/utils/control.js";
4
+ import { unrefElement, onClickOutside, useEventListener } from "../../node_modules/@vueuse/core/index.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 { useControlValue } from "../../_shared/utils/hooks.js";
13
+ import "../../_shared/utils/locale.js";
14
+ import "../../_shared/utils/time.js";
6
15
  const useTriggerVisible = (params) => {
7
16
  const { props, emits, popupRef, triggerRef } = params;
8
17
  const {
@@ -18,8 +18,6 @@ declare const Trigger: {
18
18
  show: () => any;
19
19
  hide: () => any;
20
20
  }, import('vue').PublicProps, {
21
- popupContainer: import('..').PopupContainer;
22
- renderToBody: boolean;
23
21
  trigger: import('./type').TriggerType;
24
22
  mouseEnterDelay: number;
25
23
  popupVisible: boolean;
@@ -47,6 +45,8 @@ declare const Trigger: {
47
45
  duration: number;
48
46
  autoFitPopupWidth: boolean;
49
47
  autoFitPopupMinWidth: boolean;
48
+ popupContainer: import('..').PopupContainer;
49
+ renderToBody: boolean;
50
50
  autoFitPosition: boolean;
51
51
  updateAtScroll: boolean;
52
52
  preventFocus: boolean;
@@ -129,8 +129,6 @@ declare const Trigger: {
129
129
  show(): void;
130
130
  updatePosition(x: number, y: number): void;
131
131
  }, {}, {}, {}, {
132
- popupContainer: import('..').PopupContainer;
133
- renderToBody: boolean;
134
132
  trigger: import('./type').TriggerType;
135
133
  mouseEnterDelay: number;
136
134
  popupVisible: boolean;
@@ -158,6 +156,8 @@ declare const Trigger: {
158
156
  duration: number;
159
157
  autoFitPopupWidth: boolean;
160
158
  autoFitPopupMinWidth: boolean;
159
+ popupContainer: import('..').PopupContainer;
160
+ renderToBody: boolean;
161
161
  autoFitPosition: boolean;
162
162
  updateAtScroll: boolean;
163
163
  preventFocus: boolean;
@@ -181,8 +181,6 @@ declare const Trigger: {
181
181
  show: () => any;
182
182
  hide: () => any;
183
183
  }, string, {
184
- popupContainer: import('..').PopupContainer;
185
- renderToBody: boolean;
186
184
  trigger: import('./type').TriggerType;
187
185
  mouseEnterDelay: number;
188
186
  popupVisible: boolean;
@@ -210,6 +208,8 @@ declare const Trigger: {
210
208
  duration: number;
211
209
  autoFitPopupWidth: boolean;
212
210
  autoFitPopupMinWidth: boolean;
211
+ popupContainer: import('..').PopupContainer;
212
+ renderToBody: boolean;
213
213
  autoFitPosition: boolean;
214
214
  updateAtScroll: boolean;
215
215
  preventFocus: boolean;