yc-design-vue 2.2.1 → 2.2.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 (406) hide show
  1. package/dist/index.umd.js +1 -1
  2. package/dist/lang-es/zh-cn.js +26 -26
  3. package/dist/style.css +1 -1
  4. package/es/Alert/index.vue.js +3 -3
  5. package/es/Anchor/hooks/useContext.d.ts +1 -1
  6. package/es/Anchor/hooks/useContext.js +5 -9
  7. package/es/Avatar/Avatar.vue.js +2 -2
  8. package/es/BackTop/index.vue.js +2 -2
  9. package/es/Breadcrumb/BreadcrumbItem.vue.js +2 -2
  10. package/es/Breadcrumb/BreadcrumbMore.vue.js +2 -2
  11. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +2 -2
  12. package/es/Calendar/Calendar.vue.js +3 -3
  13. package/es/Carousel/CarouselArrow.vue.js +2 -2
  14. package/es/Carousel/hooks/useContext.d.ts +11 -2
  15. package/es/Carousel/hooks/useContext.js +4 -4
  16. package/es/Cascader/Cascader.vue.d.ts +2 -1
  17. package/es/Cascader/Cascader.vue.js +5 -3
  18. package/es/Cascader/CascaderDataPanel.vue.d.ts +33 -0
  19. package/es/Cascader/CascaderDataPanel.vue.js +48 -0
  20. package/es/Cascader/CascaderDataPanel.vue2.js +4 -0
  21. package/es/Cascader/CascaderIcon.vue.js +3 -3
  22. package/es/Cascader/CascaderOption.vue.js +2 -2
  23. package/es/Cascader/CascaderPanel.vue.js +8 -2
  24. package/es/Cascader/hooks/useContext.d.ts +69 -8
  25. package/es/Cascader/hooks/useContext.js +5 -13
  26. package/es/Cascader/index.css +1 -1
  27. package/es/Cascader/index.d.ts +9 -3
  28. package/es/Cascader/index.js +3 -0
  29. package/es/Cascader/type.d.ts +9 -0
  30. package/es/Checkbox/Checkbox.vue.js +3 -3
  31. package/es/Collapse/CollapseItem.vue.js +4 -4
  32. package/es/ColorPicker/hooks/useContext.d.ts +12 -1
  33. package/es/ColorPicker/hooks/useContext.js +5 -5
  34. package/es/DatePicker/PickerRange.vue.d.ts +2 -0
  35. package/es/DatePicker/PickerRange.vue.js +15 -0
  36. package/es/DatePicker/PickerRange.vue2.js +4 -0
  37. package/es/DatePicker/YcDatePicker.vue.d.ts +2 -0
  38. package/es/DatePicker/YcDatePicker.vue.js +15 -0
  39. package/es/DatePicker/YcDatePicker.vue2.js +4 -0
  40. package/es/DatePicker/YcMonthPicker.vue.d.ts +64 -0
  41. package/es/DatePicker/YcMonthPicker.vue.js +234 -0
  42. package/es/DatePicker/YcMonthPicker.vue3.js +5 -0
  43. package/es/DatePicker/YcWeekPicker.vue.d.ts +65 -0
  44. package/es/DatePicker/YcWeekPicker.vue.js +7 -0
  45. package/es/DatePicker/YcWeekPicker.vue2.js +319 -0
  46. package/es/DatePicker/YcYearPicker.vue.d.ts +63 -0
  47. package/es/DatePicker/YcYearPicker.vue.js +200 -0
  48. package/es/DatePicker/YcYearPicker.vue3.js +5 -0
  49. package/es/DatePicker/component/PickerCell.vue.d.ts +36 -0
  50. package/es/DatePicker/component/PickerCell.vue.js +7 -0
  51. package/es/DatePicker/component/PickerCell.vue2.js +41 -0
  52. package/es/DatePicker/component/PickerInput.vue.d.ts +297 -0
  53. package/es/DatePicker/component/PickerInput.vue.js +7 -0
  54. package/es/DatePicker/component/PickerInput.vue2.js +125 -0
  55. package/es/DatePicker/component/PickerPanel.vue.d.ts +33 -0
  56. package/es/DatePicker/component/PickerPanel.vue.js +108 -0
  57. package/es/DatePicker/component/PickerPanel.vue3.js +5 -0
  58. package/es/DatePicker/hooks/useContext.d.ts +19 -0
  59. package/es/DatePicker/hooks/useContext.js +37 -0
  60. package/es/DatePicker/hooks/userPicker.d.ts +44 -0
  61. package/es/DatePicker/hooks/userPicker.js +221 -0
  62. package/es/DatePicker/index.css +3 -0
  63. package/es/DatePicker/index.d.ts +38 -0
  64. package/es/DatePicker/index.js +23 -0
  65. package/es/DatePicker/type.d.ts +104 -0
  66. package/es/Drawer/Drawer.vue.js +3 -3
  67. package/es/Drawer/DrawerService.vue.js +1 -1
  68. package/es/Dropdown/DropdownButton.vue.js +2 -2
  69. package/es/Dropdown/Dsubmenu.vue.js +2 -2
  70. package/es/Empty/index.vue.js +2 -2
  71. package/es/Grid/hooks/useContext.d.ts +6 -2
  72. package/es/Grid/hooks/useContext.js +5 -7
  73. package/es/Image/Image.vue.js +2 -2
  74. package/es/Image/ImagePreview.vue.js +2 -2
  75. package/es/Image/ImagePreviewArrow.vue.js +2 -2
  76. package/es/Image/ImagePreviewToolbar.vue.js +2 -2
  77. package/es/Input/Input.vue.js +3 -3
  78. package/es/Input/InputPassword.vue.js +3 -3
  79. package/es/Input/InputSearch.vue.js +3 -3
  80. package/es/InputNumber/InputOperaBtn.vue.js +2 -2
  81. package/es/InputTag/index.vue.js +3 -3
  82. package/es/Layout/LayoutSider.vue.js +2 -2
  83. package/es/Link/index.vue.js +2 -2
  84. package/es/Menu/Menu.vue.js +2 -2
  85. package/es/Menu/MenuEllipsis.vue.js +2 -2
  86. package/es/Menu/SubMenu.vue.js +3 -3
  87. package/es/Menu/hooks/useContext.d.ts +17 -2
  88. package/es/Menu/hooks/useContext.js +5 -7
  89. package/es/Message/Message.vue.js +4 -4
  90. package/es/Modal/Modal.vue.js +3 -3
  91. package/es/Modal/ModalService.vue.js +2 -2
  92. package/es/Notification/Notification.vue.js +5 -5
  93. package/es/PageHeader/index.vue.js +3 -3
  94. package/es/Pagination/PaginationItem.vue.js +2 -2
  95. package/es/Progress/ProgressCircle.vue.js +3 -3
  96. package/es/Radio/Radio.vue.js +3 -3
  97. package/es/Rate/index.vue.js +2 -2
  98. package/es/ResizeBox/index.vue.js +2 -2
  99. package/es/Select/SelectIcon.vue.js +3 -3
  100. package/es/Select/hooks/useContext.d.ts +2 -2
  101. package/es/Select/hooks/useSelectOptions.d.ts +2 -2
  102. package/es/Slider/hooks/useContext.d.ts +12 -6
  103. package/es/Slider/hooks/useContext.js +5 -12
  104. package/es/Spin/index.vue.js +2 -2
  105. package/es/Split/index.vue.js +2 -2
  106. package/es/Statistic/Statistic.vue.js +3 -3
  107. package/es/Steps/Step.vue.js +2 -2
  108. package/es/Steps/hooks/useContext.d.ts +9 -1
  109. package/es/Steps/hooks/useContext.js +3 -6
  110. package/es/Tabs/TabButton.vue.js +3 -3
  111. package/es/Tabs/Tabs.vue.js +2 -2
  112. package/es/Tabs/hooks/useContext.d.ts +9 -2
  113. package/es/Tabs/hooks/useContext.js +5 -9
  114. package/es/Tag/index.vue.js +3 -3
  115. package/es/Textarea/index.vue.js +3 -3
  116. package/es/TimePicker/TimePicker.vue.js +4 -4
  117. package/es/TimePicker/hooks/useContext.d.ts +17 -7
  118. package/es/TimePicker/hooks/useContext.js +4 -9
  119. package/es/Timeline/hooks/useContext.d.ts +4 -2
  120. package/es/Timeline/hooks/useContext.js +3 -6
  121. package/es/Transfer/Transfer.vue.js +2 -2
  122. package/es/Transfer/TransferPanel.vue.js +3 -3
  123. package/es/Transfer/hooks/useContext.d.ts +1 -6
  124. package/es/Transfer/hooks/useContext.js +3 -7
  125. package/es/Trigger/index.vue.js +2 -2
  126. package/es/Typography/TypographyBase.vue.js +2 -2
  127. package/es/Upload/Upload.vue.js +6 -4
  128. package/es/Upload/UploadButton.vue.js +2 -2
  129. package/es/Upload/UploadDrag.vue.js +2 -2
  130. package/es/Upload/UploadFileList.vue.js +129 -5
  131. package/es/Upload/UploadFileList.vue3.js +5 -0
  132. package/es/Upload/UploadPictureCard.vue.js +135 -5
  133. package/es/Upload/UploadPictureCard.vue3.js +5 -0
  134. package/es/_shared/components/ExpandTransition/index.vue3.js +2 -2
  135. package/es/_shared/components/IconButton/{index.vue2.js → index.vue.js} +2 -2
  136. package/es/_shared/components/IconButton/index.vue3.js +2 -2
  137. package/es/_shared/constants/index.js +2 -2
  138. package/es/_shared/icons/IconArrowDown.vue.js +2 -2
  139. package/es/_shared/icons/IconArrowRight.vue.js +2 -2
  140. package/es/_shared/icons/IconCalendar.vue.d.ts +2 -0
  141. package/es/_shared/icons/IconCalendar.vue.js +4 -0
  142. package/es/_shared/icons/IconCalendar.vue2.js +31 -0
  143. package/es/_shared/icons/IconCheck.vue.js +2 -2
  144. package/es/_shared/icons/IconCheckboxChecked.vue.js +2 -2
  145. package/es/_shared/icons/IconClose.vue.js +2 -2
  146. package/es/_shared/icons/IconCopy.vue2.js +2 -2
  147. package/es/_shared/icons/IconDelete.vue2.js +2 -2
  148. package/es/_shared/icons/IconDoubleLeft.vue.d.ts +2 -0
  149. package/es/_shared/icons/IconDoubleLeft.vue.js +31 -0
  150. package/es/_shared/icons/IconDoubleLeft.vue2.js +4 -0
  151. package/es/_shared/icons/IconDoubleRight.vue.d.ts +2 -0
  152. package/es/_shared/icons/IconDoubleRight.vue.js +31 -0
  153. package/es/_shared/icons/IconDoubleRight.vue2.js +4 -0
  154. package/es/_shared/icons/IconDragDot.vue.js +2 -2
  155. package/es/_shared/icons/IconEdit.vue2.js +2 -2
  156. package/es/_shared/icons/IconEmpty.vue.js +2 -2
  157. package/es/_shared/icons/IconError.vue.js +2 -2
  158. package/es/_shared/icons/IconExclamation.vue.js +1 -39
  159. package/es/_shared/icons/IconExclamation.vue2.js +39 -1
  160. package/es/_shared/icons/IconEyeClose.vue.js +2 -2
  161. package/es/_shared/icons/IconEyeOpen.vue.js +2 -2
  162. package/es/_shared/icons/IconFaceSmile.vue.js +2 -2
  163. package/es/_shared/icons/IconFile.vue2.js +2 -2
  164. package/es/_shared/icons/IconFullScreen.vue2.js +2 -2
  165. package/es/_shared/icons/IconImageClose.vue.js +2 -2
  166. package/es/_shared/icons/IconInfo.vue.js +2 -2
  167. package/es/_shared/icons/IconInfoLine.vue.js +2 -2
  168. package/es/_shared/icons/IconLink.vue.js +2 -2
  169. package/es/_shared/icons/IconLoading.vue.js +2 -2
  170. package/es/_shared/icons/IconMenuFold.vue.js +2 -2
  171. package/es/_shared/icons/IconMenuUnfold.vue.js +2 -2
  172. package/es/_shared/icons/IconMinus.vue2.js +2 -2
  173. package/es/_shared/icons/IconMore.vue.js +2 -2
  174. package/es/_shared/icons/IconOriginSize.vue2.js +2 -2
  175. package/es/_shared/icons/IconPlus.vue.js +2 -2
  176. package/es/_shared/icons/IconRight.vue.js +2 -2
  177. package/es/_shared/icons/IconRotateLeft.vue2.js +2 -2
  178. package/es/_shared/icons/IconRotateRight.vue2.js +2 -2
  179. package/es/_shared/icons/IconSearch.vue.js +2 -2
  180. package/es/_shared/icons/IconSeparator.vue2.js +2 -2
  181. package/es/_shared/icons/IconStar.vue.js +2 -2
  182. package/es/_shared/icons/IconSuccess.vue.js +2 -2
  183. package/es/_shared/icons/IconTime.vue.js +2 -2
  184. package/es/_shared/icons/IconToTop.vue.js +2 -2
  185. package/es/_shared/icons/IconUpload.vue2.js +2 -2
  186. package/es/_shared/icons/IconWarning.vue.js +2 -2
  187. package/es/_shared/icons/IconZoomIn.vue2.js +2 -2
  188. package/es/_shared/icons/IconZoomOut.vue2.js +2 -2
  189. package/es/_shared/icons/index.d.ts +3 -0
  190. package/es/_shared/type/index.d.ts +1 -1
  191. package/es/_shared/utils/hooks.js +1 -1
  192. package/es/_shared/utils/time.d.ts +0 -1
  193. package/es/_shared/utils/time.js +0 -4
  194. package/es/_shared/utils/vue-utils.d.ts +1 -1
  195. package/es/_virtual/isoWeek.js +4 -0
  196. package/es/index.d.ts +295 -1
  197. package/es/index.js +50 -39
  198. package/es/lang-es/zh-cn.js +26 -26
  199. package/es/node_modules/dayjs/plugin/isoWeek.js +33 -0
  200. package/es/src/lang/lang-es/zh-cn.js +26 -26
  201. package/es/style.css +1 -1
  202. package/lib/Alert/index.vue.js +1 -1
  203. package/lib/Anchor/hooks/useContext.d.ts +1 -1
  204. package/lib/Anchor/hooks/useContext.js +1 -1
  205. package/lib/Avatar/Avatar.vue.js +1 -1
  206. package/lib/BackTop/index.vue.js +1 -1
  207. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  208. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  209. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  210. package/lib/Calendar/Calendar.vue.js +1 -1
  211. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  212. package/lib/Carousel/hooks/useContext.d.ts +11 -2
  213. package/lib/Carousel/hooks/useContext.js +1 -1
  214. package/lib/Cascader/Cascader.vue.d.ts +2 -1
  215. package/lib/Cascader/Cascader.vue.js +1 -1
  216. package/lib/Cascader/CascaderDataPanel.vue.d.ts +33 -0
  217. package/lib/Cascader/CascaderDataPanel.vue.js +1 -0
  218. package/lib/Cascader/CascaderDataPanel.vue2.js +1 -0
  219. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  220. package/lib/Cascader/CascaderOption.vue.js +1 -1
  221. package/lib/Cascader/CascaderPanel.vue.js +1 -1
  222. package/lib/Cascader/hooks/useContext.d.ts +69 -8
  223. package/lib/Cascader/hooks/useContext.js +1 -1
  224. package/lib/Cascader/index.css +1 -1
  225. package/lib/Cascader/index.d.ts +9 -3
  226. package/lib/Cascader/index.js +1 -1
  227. package/lib/Cascader/type.d.ts +9 -0
  228. package/lib/Checkbox/Checkbox.vue.js +1 -1
  229. package/lib/Collapse/CollapseItem.vue.js +1 -1
  230. package/lib/ColorPicker/hooks/useContext.d.ts +12 -1
  231. package/lib/ColorPicker/hooks/useContext.js +1 -1
  232. package/lib/DatePicker/PickerRange.vue.d.ts +2 -0
  233. package/lib/DatePicker/PickerRange.vue.js +1 -0
  234. package/lib/DatePicker/PickerRange.vue2.js +1 -0
  235. package/lib/DatePicker/YcDatePicker.vue.d.ts +2 -0
  236. package/lib/DatePicker/YcDatePicker.vue.js +1 -0
  237. package/lib/DatePicker/YcDatePicker.vue2.js +1 -0
  238. package/lib/DatePicker/YcMonthPicker.vue.d.ts +64 -0
  239. package/lib/DatePicker/YcMonthPicker.vue.js +1 -0
  240. package/lib/DatePicker/YcMonthPicker.vue3.js +1 -0
  241. package/lib/DatePicker/YcWeekPicker.vue.d.ts +65 -0
  242. package/lib/DatePicker/YcWeekPicker.vue.js +1 -0
  243. package/lib/DatePicker/YcWeekPicker.vue2.js +1 -0
  244. package/lib/DatePicker/YcYearPicker.vue.d.ts +63 -0
  245. package/lib/DatePicker/YcYearPicker.vue.js +1 -0
  246. package/lib/DatePicker/YcYearPicker.vue3.js +1 -0
  247. package/lib/DatePicker/component/PickerCell.vue.d.ts +36 -0
  248. package/lib/DatePicker/component/PickerCell.vue.js +1 -0
  249. package/lib/DatePicker/component/PickerCell.vue2.js +1 -0
  250. package/lib/DatePicker/component/PickerInput.vue.d.ts +297 -0
  251. package/lib/DatePicker/component/PickerInput.vue.js +1 -0
  252. package/lib/DatePicker/component/PickerInput.vue2.js +1 -0
  253. package/lib/DatePicker/component/PickerPanel.vue.d.ts +33 -0
  254. package/lib/DatePicker/component/PickerPanel.vue.js +1 -0
  255. package/lib/DatePicker/component/PickerPanel.vue3.js +1 -0
  256. package/lib/DatePicker/hooks/useContext.d.ts +19 -0
  257. package/lib/DatePicker/hooks/useContext.js +1 -0
  258. package/lib/DatePicker/hooks/userPicker.d.ts +44 -0
  259. package/lib/DatePicker/hooks/userPicker.js +1 -0
  260. package/lib/DatePicker/index.css +3 -0
  261. package/lib/DatePicker/index.d.ts +38 -0
  262. package/lib/DatePicker/index.js +1 -0
  263. package/lib/DatePicker/type.d.ts +104 -0
  264. package/lib/Drawer/Drawer.vue.js +1 -1
  265. package/lib/Drawer/DrawerService.vue.js +1 -1
  266. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  267. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  268. package/lib/Empty/index.vue.js +1 -1
  269. package/lib/Grid/hooks/useContext.d.ts +6 -2
  270. package/lib/Grid/hooks/useContext.js +1 -1
  271. package/lib/Image/Image.vue.js +1 -1
  272. package/lib/Image/ImagePreview.vue.js +1 -1
  273. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  274. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  275. package/lib/Input/Input.vue.js +1 -1
  276. package/lib/Input/InputPassword.vue.js +1 -1
  277. package/lib/Input/InputSearch.vue.js +1 -1
  278. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  279. package/lib/InputTag/index.vue.js +1 -1
  280. package/lib/Layout/LayoutSider.vue.js +1 -1
  281. package/lib/Link/index.vue.js +1 -1
  282. package/lib/Menu/Menu.vue.js +1 -1
  283. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  284. package/lib/Menu/SubMenu.vue.js +1 -1
  285. package/lib/Menu/hooks/useContext.d.ts +17 -2
  286. package/lib/Menu/hooks/useContext.js +1 -1
  287. package/lib/Message/Message.vue.js +1 -1
  288. package/lib/Modal/Modal.vue.js +1 -1
  289. package/lib/Modal/ModalService.vue.js +1 -1
  290. package/lib/Notification/Notification.vue.js +1 -1
  291. package/lib/PageHeader/index.vue.js +1 -1
  292. package/lib/Pagination/PaginationItem.vue.js +1 -1
  293. package/lib/Progress/ProgressCircle.vue.js +1 -1
  294. package/lib/Radio/Radio.vue.js +1 -1
  295. package/lib/Rate/index.vue.js +1 -1
  296. package/lib/ResizeBox/index.vue.js +1 -1
  297. package/lib/Select/SelectIcon.vue.js +1 -1
  298. package/lib/Select/hooks/useContext.d.ts +2 -2
  299. package/lib/Select/hooks/useSelectOptions.d.ts +2 -2
  300. package/lib/Slider/hooks/useContext.d.ts +12 -6
  301. package/lib/Slider/hooks/useContext.js +1 -1
  302. package/lib/Spin/index.vue.js +1 -1
  303. package/lib/Split/index.vue.js +1 -1
  304. package/lib/Statistic/Statistic.vue.js +1 -1
  305. package/lib/Steps/Step.vue.js +1 -1
  306. package/lib/Steps/hooks/useContext.d.ts +9 -1
  307. package/lib/Steps/hooks/useContext.js +1 -1
  308. package/lib/Tabs/TabButton.vue.js +1 -1
  309. package/lib/Tabs/Tabs.vue.js +1 -1
  310. package/lib/Tabs/hooks/useContext.d.ts +9 -2
  311. package/lib/Tabs/hooks/useContext.js +1 -1
  312. package/lib/Tag/index.vue.js +1 -1
  313. package/lib/Textarea/index.vue.js +1 -1
  314. package/lib/TimePicker/TimePicker.vue.js +1 -1
  315. package/lib/TimePicker/hooks/useContext.d.ts +17 -7
  316. package/lib/TimePicker/hooks/useContext.js +1 -1
  317. package/lib/Timeline/hooks/useContext.d.ts +4 -2
  318. package/lib/Timeline/hooks/useContext.js +1 -1
  319. package/lib/Transfer/Transfer.vue.js +1 -1
  320. package/lib/Transfer/TransferPanel.vue.js +1 -1
  321. package/lib/Transfer/hooks/useContext.d.ts +1 -6
  322. package/lib/Transfer/hooks/useContext.js +1 -1
  323. package/lib/Trigger/index.vue.js +1 -1
  324. package/lib/Typography/TypographyBase.vue.js +1 -1
  325. package/lib/Upload/Upload.vue.js +1 -1
  326. package/lib/Upload/UploadButton.vue.js +1 -1
  327. package/lib/Upload/UploadDrag.vue.js +1 -1
  328. package/lib/Upload/UploadFileList.vue.js +1 -1
  329. package/lib/Upload/UploadFileList.vue3.js +1 -0
  330. package/lib/Upload/UploadPictureCard.vue.js +1 -1
  331. package/lib/Upload/UploadPictureCard.vue3.js +1 -0
  332. package/lib/_shared/components/ExpandTransition/index.vue3.js +1 -1
  333. package/lib/_shared/components/IconButton/{index.vue2.js → index.vue.js} +1 -1
  334. package/lib/_shared/components/IconButton/index.vue3.js +1 -1
  335. package/lib/_shared/constants/index.js +1 -1
  336. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  337. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  338. package/lib/_shared/icons/IconCalendar.vue.d.ts +2 -0
  339. package/lib/_shared/icons/IconCalendar.vue.js +1 -0
  340. package/lib/_shared/icons/IconCalendar.vue2.js +1 -0
  341. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  342. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  343. package/lib/_shared/icons/IconClose.vue.js +1 -1
  344. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  345. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  346. package/lib/_shared/icons/IconDoubleLeft.vue.d.ts +2 -0
  347. package/lib/_shared/icons/IconDoubleLeft.vue.js +1 -0
  348. package/lib/_shared/icons/IconDoubleLeft.vue2.js +1 -0
  349. package/lib/_shared/icons/IconDoubleRight.vue.d.ts +2 -0
  350. package/lib/_shared/icons/IconDoubleRight.vue.js +1 -0
  351. package/lib/_shared/icons/IconDoubleRight.vue2.js +1 -0
  352. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  353. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  354. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  355. package/lib/_shared/icons/IconError.vue.js +1 -1
  356. package/lib/_shared/icons/IconExclamation.vue.js +1 -1
  357. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  358. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  359. package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
  360. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  361. package/lib/_shared/icons/IconFile.vue2.js +1 -1
  362. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  363. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  364. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  365. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  366. package/lib/_shared/icons/IconLink.vue.js +1 -1
  367. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  368. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  369. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  370. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  371. package/lib/_shared/icons/IconMore.vue.js +1 -1
  372. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  373. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  374. package/lib/_shared/icons/IconRight.vue.js +1 -1
  375. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  376. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  377. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  378. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  379. package/lib/_shared/icons/IconStar.vue.js +1 -1
  380. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  381. package/lib/_shared/icons/IconTime.vue.js +1 -1
  382. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  383. package/lib/_shared/icons/IconUpload.vue2.js +1 -1
  384. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  385. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  386. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  387. package/lib/_shared/icons/index.d.ts +3 -0
  388. package/lib/_shared/type/index.d.ts +1 -1
  389. package/lib/_shared/utils/hooks.js +1 -1
  390. package/lib/_shared/utils/time.d.ts +0 -1
  391. package/lib/_shared/utils/time.js +1 -1
  392. package/lib/_shared/utils/vue-utils.d.ts +1 -1
  393. package/lib/_virtual/isoWeek.js +1 -0
  394. package/lib/index.d.ts +295 -1
  395. package/lib/index.js +1 -1
  396. package/lib/lang-es/zh-cn.js +26 -26
  397. package/lib/node_modules/dayjs/plugin/isoWeek.js +1 -0
  398. package/lib/src/lang/lang-es/zh-cn.js +1 -1
  399. package/lib/style.css +1 -1
  400. package/package.json +1 -1
  401. package/es/Upload/UploadFileList.vue2.js +0 -131
  402. package/es/Upload/UploadPictureCard.vue2.js +0 -137
  403. package/lib/Upload/UploadFileList.vue2.js +0 -1
  404. package/lib/Upload/UploadPictureCard.vue2.js +0 -1
  405. /package/es/_shared/components/ExpandTransition/{index.vue.js → index.vue2.js} +0 -0
  406. /package/lib/_shared/components/ExpandTransition/{index.vue.js → index.vue2.js} +0 -0
@@ -10,8 +10,8 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
10
  import "../_shared/utils/dom.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
- /* empty css */
14
- /* empty css */
13
+ /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  import _sfc_main$2 from "../_shared/icons/IconMinus.vue2.js";
17
17
  import _sfc_main$3 from "../_shared/icons/IconPlus.vue.js";
@@ -15,10 +15,10 @@ import { isObject, isBoolean } from "../_shared/utils/is.js";
15
15
  import "../_shared/utils/locale.js";
16
16
  import "../_shared/utils/time.js";
17
17
  import Tag from "../Tag/index.js";
18
- import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
19
- /* empty css */
18
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
19
+ /* empty css */
20
20
  import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
21
- /* empty css */
21
+ /* empty css */
22
22
  /* empty css */
23
23
  const _hoisted_1 = ["disabled", "readonly", "placeholder"];
24
24
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -9,8 +9,8 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
9
  import { mediaQueryHandler, valueToPx } from "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
13
- /* empty css */
12
+ /* empty css */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
16
16
  import useLayoutContext from "./hooks/useSiderContext.js";
@@ -9,8 +9,8 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
9
  import "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
13
- /* empty css */
12
+ /* empty css */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$1 from "../_shared/icons/IconLink.vue.js";
16
16
  import Spin from "../Spin/index.js";
@@ -9,8 +9,8 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
9
  import { mediaQueryHandler } from "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
13
- /* empty css */
12
+ /* empty css */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$2 from "../_shared/icons/IconMenuFold.vue.js";
16
16
  import _sfc_main$3 from "../_shared/icons/IconMenuUnfold.vue.js";
@@ -10,8 +10,8 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
10
  import "../_shared/utils/dom.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
- /* empty css */
14
- /* empty css */
13
+ /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  import _sfc_main$1 from "../_shared/icons/IconMore.vue.js";
17
17
  import useMenuContext, { isMenuItemActive } from "./hooks/useContext.js";
@@ -11,9 +11,9 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
11
11
  import "../_shared/utils/dom.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
- /* empty css */
15
- import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue.js";
16
- /* empty css */
14
+ /* empty css */
15
+ import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
16
+ /* empty css */
17
17
  /* empty css */
18
18
  import _sfc_main$1 from "./MenuItem.vue.js";
19
19
  /* empty css */
@@ -39,12 +39,27 @@ export declare function isMenuItemActive(menuTree: MenuTreeNode[], currentPath:
39
39
  export declare const getPopupMaxHeight: (popupMaxHeight: PopupMaxHeight) => number | undefined;
40
40
  export default function useMenuContext(): {
41
41
  provide: (props: RecordType, emits: MenuEmits, menuRef: Ref<HTMLDivElement | undefined>) => {
42
- theme: import('vue').ComputedRef<import('../../_shared/type').Theme>;
43
- computedCollapsed: import('vue').WritableComputedRef<boolean, boolean>;
44
42
  breakpoint: Ref<import('../../_shared/type').BreakpointName, import('../../_shared/type').BreakpointName>;
45
43
  collapsedWidth: import('vue').ComputedRef<string>;
44
+ computedSelectedKeys: import('vue').WritableComputedRef<string, string>;
45
+ computedOpenKeys: import('vue').WritableComputedRef<string[], string[]>;
46
+ computedCollapsed: import('vue').WritableComputedRef<boolean, boolean>;
47
+ levelIndent: Ref<number, number>;
48
+ accordion: Ref<boolean, boolean>;
49
+ autoOpen: Ref<boolean, boolean>;
50
+ triggerProps: Ref<TriggerProps, TriggerProps>;
51
+ tooltipProps: Ref<TooltipProps, TooltipProps>;
52
+ mode: Ref<Direction, Direction>;
53
+ autoOpenSelected: Ref<boolean, boolean>;
54
+ popupMaxHeight: import('vue').ComputedRef<number | undefined>;
55
+ autoScrollIntoView: Ref<boolean, boolean>;
56
+ scrollConfig: Ref<ScrollIntoViewOptions, ScrollIntoViewOptions>;
57
+ theme: import('vue').ComputedRef<import('../../_shared/type').Theme>;
58
+ menuTreeNodes: import('vue').ComputedRef<MenuTreeNode[]>;
46
59
  menuTree: import('vue').ComputedRef<MenuTreeNode[]>;
47
60
  max: Ref<number, number>;
61
+ menuItemWidths: Ref<number[], number[]>;
62
+ emits: MenuEmits;
48
63
  };
49
64
  inject: () => MenuContext;
50
65
  };
@@ -193,7 +193,7 @@ function useMenuContext() {
193
193
  menuTree,
194
194
  mode
195
195
  });
196
- provide(MENU_CONTEXT_KEY, {
196
+ const context = {
197
197
  computedSelectedKeys,
198
198
  computedOpenKeys,
199
199
  computedCollapsed,
@@ -213,14 +213,12 @@ function useMenuContext() {
213
213
  max,
214
214
  menuItemWidths,
215
215
  emits
216
- });
216
+ };
217
+ provide(MENU_CONTEXT_KEY, context);
217
218
  return {
218
- theme,
219
- computedCollapsed,
219
+ ...context,
220
220
  breakpoint,
221
- collapsedWidth: computed(() => valueToPx(collapsedWidth.value)),
222
- menuTree,
223
- max
221
+ collapsedWidth: computed(() => valueToPx(collapsedWidth.value))
224
222
  };
225
223
  };
226
224
  const inject$1 = () => {
@@ -11,9 +11,9 @@ import "../_shared/utils/dom.js";
11
11
  import { isUndefined } from "../_shared/utils/is.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
15
- /* empty css */
16
- /* empty css */
14
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
15
+ /* empty css */
16
+ /* empty css */
17
17
  /* empty css */
18
18
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
19
19
  const _hoisted_1 = {
@@ -28,7 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  __name: "Message",
29
29
  props: {
30
30
  type: { default: "info" },
31
- content: { type: [String, Array, Function], default: "" },
31
+ content: { type: [String, Number, Array, Function], default: "" },
32
32
  id: { default: "" },
33
33
  icon: { type: Function, default: void 0 },
34
34
  showIcon: { type: Boolean, default: true },
@@ -13,9 +13,9 @@ import "../_shared/utils/time.js";
13
13
  import useModalClose from "./hooks/useModalClose.js";
14
14
  import useModalDraggable from "./hooks/useModalDraggable.js";
15
15
  import Button from "../Button/index.js";
16
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
17
- /* empty css */
18
- /* empty css */
16
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
17
+ /* empty css */
18
+ /* empty css */
19
19
  /* empty css */
20
20
  const _hoisted_1 = {
21
21
  key: 0,
@@ -25,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25
25
  width: { default: 520 },
26
26
  top: { default: 100 },
27
27
  mask: { type: Boolean, default: true },
28
- title: { type: [String, Array, Function], default: "" },
28
+ title: { type: [String, Number, Array, Function], default: "" },
29
29
  titleAlign: { default: "center" },
30
30
  alignCenter: { type: Boolean, default: true },
31
31
  unmountOnClose: { type: Boolean, default: false },
@@ -67,7 +67,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
67
67
  onBeforeOk: { type: Function, default: () => {
68
68
  return true;
69
69
  } },
70
- content: { type: [String, Array, Function], default: "" },
70
+ content: { type: [String, Number, Array, Function], default: "" },
71
71
  type: {},
72
72
  onOk: {},
73
73
  onCancel: {},
@@ -12,9 +12,9 @@ import { isUndefined, isFunction } from "../_shared/utils/is.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
14
  import { getSlotFunction } from "../_shared/utils/vue-utils.js";
15
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
16
- /* empty css */
17
- /* empty css */
15
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
16
+ /* empty css */
17
+ /* empty css */
18
18
  /* empty css */
19
19
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
20
20
  const _hoisted_1 = { class: "yc-notification-left" };
@@ -42,8 +42,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  __name: "Notification",
43
43
  props: {
44
44
  type: { default: "info" },
45
- content: { type: [String, Array, Function], default: "" },
46
- title: { type: [String, Array, Function], default: "" },
45
+ content: { type: [String, Number, Array, Function], default: "" },
46
+ title: { type: [String, Number, Array, Function], default: "" },
47
47
  icon: { type: Function, default: void 0 },
48
48
  id: { default: "" },
49
49
  style: { default: () => {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, useSlots, createElementBlock, openBlock, createElementVNode, createCommentVNode, renderSlot, createVNode, createBlock, unref, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
3
- /* empty css */
2
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
3
+ /* empty css */
4
4
  import "../node_modules/b-tween/dist/b-tween.es.js";
5
5
  import "../node_modules/dayjs/dayjs.min.js";
6
6
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -11,7 +11,7 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
11
11
  import "../_shared/utils/dom.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
- /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
17
17
  import Divider from "../Divider/index.js";
@@ -9,8 +9,8 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
9
  import "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
13
- /* empty css */
12
+ /* empty css */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
16
16
  import _sfc_main$2 from "../_shared/icons/IconMore.vue.js";
@@ -10,11 +10,11 @@ import { valueToPx } from "../_shared/utils/dom.js";
10
10
  import { isObject } from "../_shared/utils/is.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
- /* empty css */
14
- /* empty css */
13
+ /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  import _sfc_main$2 from "../_shared/icons/IconCheck.vue.js";
17
- import _sfc_main$1 from "../_shared/icons/IconExclamation.vue.js";
17
+ import _sfc_main$1 from "../_shared/icons/IconExclamation.vue2.js";
18
18
  import { TYPE_ICON_COLOR_MAP } from "../_shared/constants/index.js";
19
19
  const _hoisted_1 = ["aria-valuenow"];
20
20
  const _hoisted_2 = ["viewBox"];
@@ -11,9 +11,9 @@ import "../_shared/utils/dom.js";
11
11
  import { useControlValue } from "../_shared/utils/hooks.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
15
- /* empty css */
16
- /* empty css */
14
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
15
+ /* empty css */
16
+ /* empty css */
17
17
  /* empty css */
18
18
  const _hoisted_1 = ["value", "checked", "disabled"];
19
19
  const _hoisted_2 = {
@@ -11,8 +11,8 @@ import { isObject } from "../_shared/utils/is.js";
11
11
  import { useControlValue } from "../_shared/utils/hooks.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
- /* empty css */
15
- /* empty css */
14
+ /* empty css */
15
+ /* empty css */
16
16
  /* empty css */
17
17
  import _sfc_main$1 from "../_shared/icons/IconFaceSmile.vue.js";
18
18
  import _sfc_main$2 from "../_shared/icons/IconStar.vue.js";
@@ -11,8 +11,8 @@ import { valueToPx } from "../_shared/utils/dom.js";
11
11
  import { useControlValue } from "../_shared/utils/hooks.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
- /* empty css */
15
- /* empty css */
14
+ /* empty css */
15
+ /* empty css */
16
16
  /* empty css */
17
17
  import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
18
18
  const _hoisted_1 = ["dir", "onMousedown"];
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
2
2
  import useSelectContext from "./hooks/useContext.js";
3
3
  import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
4
- import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
5
- /* empty css */
4
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
5
+ /* empty css */
6
6
  import "../node_modules/b-tween/dist/b-tween.es.js";
7
7
  import "../node_modules/dayjs/dayjs.min.js";
8
8
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -13,7 +13,7 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
13
13
  import "../_shared/utils/dom.js";
14
14
  import "../_shared/utils/locale.js";
15
15
  import "../_shared/utils/time.js";
16
- /* empty css */
16
+ /* empty css */
17
17
  /* empty css */
18
18
  import Spin from "../Spin/index.js";
19
19
  const _hoisted_1 = { class: "yc-select-suffix-icon" };
@@ -34,7 +34,7 @@ export default function useSelectContext(): {
34
34
  isFallbackOption?: boolean;
35
35
  }[]>;
36
36
  createOptions: Ref<{
37
- render?: string | import('vue').RenderFunction | RecordType<any>[] | undefined;
37
+ render?: string | number | import('vue').RenderFunction | RecordType<any>[] | undefined;
38
38
  label?: string | undefined;
39
39
  value?: SelectOptionValue | undefined;
40
40
  disabled?: boolean | undefined;
@@ -54,7 +54,7 @@ export default function useSelectContext(): {
54
54
  id?: string | undefined;
55
55
  isFallbackOption?: boolean | undefined;
56
56
  }[], SelectOptionData[] | {
57
- render?: string | import('vue').RenderFunction | RecordType<any>[] | undefined;
57
+ render?: string | number | import('vue').RenderFunction | RecordType<any>[] | undefined;
58
58
  label?: string | undefined;
59
59
  value?: SelectOptionValue | undefined;
60
60
  disabled?: boolean | undefined;
@@ -12,7 +12,7 @@ declare const _default: (params: {
12
12
  }) => {
13
13
  options: import('vue').ComputedRef<RecordType[]>;
14
14
  createOptions: Ref<{
15
- render?: string | import('vue').RenderFunction | RecordType<any>[] | undefined;
15
+ render?: string | number | import('vue').RenderFunction | RecordType<any>[] | undefined;
16
16
  label?: string | undefined;
17
17
  value?: SelectOptionValue | undefined;
18
18
  disabled?: boolean | undefined;
@@ -32,7 +32,7 @@ declare const _default: (params: {
32
32
  id?: string | undefined;
33
33
  isFallbackOption?: boolean | undefined;
34
34
  }[], SelectOptionData[] | {
35
- render?: string | import('vue').RenderFunction | RecordType<any>[] | undefined;
35
+ render?: string | number | import('vue').RenderFunction | RecordType<any>[] | undefined;
36
36
  label?: string | undefined;
37
37
  value?: SelectOptionValue | undefined;
38
38
  disabled?: boolean | undefined;
@@ -21,12 +21,6 @@ type SliderContext = {
21
21
  export default function useSliderContext(): {
22
22
  inject: () => SliderContext;
23
23
  provide: (props: RecordType, emits: SliderEmits, trackRef: Ref<HTMLDivElement | undefined>) => {
24
- range: Ref<boolean, boolean>;
25
- direction: Ref<Direction, Direction>;
26
- startValue: import('vue').WritableComputedRef<number, number>;
27
- endValue: import('vue').WritableComputedRef<number, number>;
28
- tempStartValue: Ref<number, number>;
29
- tempEndValue: Ref<number, number>;
30
24
  computedValue: import('vue').WritableComputedRef<SliderValue, SliderValue>;
31
25
  ticks: import('vue').ComputedRef<{
32
26
  label: number;
@@ -36,9 +30,21 @@ export default function useSliderContext(): {
36
30
  value: number;
37
31
  label: string;
38
32
  }[]>;
33
+ startValue: import('vue').WritableComputedRef<number, number>;
34
+ endValue: import('vue').WritableComputedRef<number, number>;
35
+ tempStartValue: Ref<number, number>;
36
+ tempEndValue: Ref<number, number>;
37
+ range: Ref<boolean, boolean>;
39
38
  min: Ref<number, number>;
40
39
  max: Ref<number, number>;
40
+ step: Ref<number, number>;
41
+ showTooltip: Ref<boolean, boolean>;
42
+ disabled: Ref<boolean, boolean>;
43
+ direction: Ref<Direction, Direction>;
44
+ trackRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
45
+ formatTooltip: import('../../_shared/type').Format<number>;
41
46
  normalizeValue: (value: number) => number;
47
+ denormalizeValue: (percent: number) => number;
42
48
  };
43
49
  };
44
50
  export {};
@@ -104,7 +104,7 @@ function useSliderContext() {
104
104
  const clampedValue = Math.max(min.value, Math.min(finalValue, max.value));
105
105
  return +clampedValue.toFixed(digit);
106
106
  }
107
- provide(SLIDER_CONTEXT_KEY, {
107
+ const context = {
108
108
  startValue,
109
109
  endValue,
110
110
  tempStartValue,
@@ -120,20 +120,13 @@ function useSliderContext() {
120
120
  formatTooltip,
121
121
  normalizeValue,
122
122
  denormalizeValue
123
- });
123
+ };
124
+ provide(SLIDER_CONTEXT_KEY, context);
124
125
  return {
125
- range,
126
- direction,
127
- startValue,
128
- endValue,
129
- tempStartValue,
130
- tempEndValue,
126
+ ...context,
131
127
  computedValue,
132
128
  ticks,
133
- marks,
134
- min,
135
- max,
136
- normalizeValue
129
+ marks
137
130
  };
138
131
  };
139
132
  const inject$1 = () => {
@@ -10,8 +10,8 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
10
10
  import { valueToPx } from "../_shared/utils/dom.js";
11
11
  import "../_shared/utils/locale.js";
12
12
  import "../_shared/utils/time.js";
13
- /* empty css */
14
- /* empty css */
13
+ /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  import _sfc_main$1 from "../_shared/icons/IconLoading.vue.js";
17
17
  const _hoisted_1 = { class: "yc-spin" };
@@ -12,8 +12,8 @@ import { isNumber } from "../_shared/utils/is.js";
12
12
  import { useControlValue } from "../_shared/utils/hooks.js";
13
13
  import "../_shared/utils/locale.js";
14
14
  import "../_shared/utils/time.js";
15
- /* empty css */
16
- /* empty css */
15
+ /* empty css */
16
+ /* empty css */
17
17
  /* empty css */
18
18
  import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
19
19
  const _hoisted_1 = { class: "yc-split-trigger-icon-wrapper" };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, useSlots, toRefs, ref, computed, watch, createElementBlock, openBlock, createCommentVNode, createElementVNode, renderSlot, createTextVNode, toDisplayString, normalizeStyle } from "vue";
2
2
  import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
3
- import "../node_modules/dayjs/dayjs.min.js";
3
+ import dayjs from "../node_modules/dayjs/dayjs.min.js";
4
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
5
5
  import "../node_modules/dayjs/plugin/duration.js";
6
6
  import "../node_modules/dayjs/plugin/toObject.js";
@@ -9,7 +9,7 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
9
  import "../_shared/utils/dom.js";
10
10
  import { isUndefined, isNumber } from "../_shared/utils/is.js";
11
11
  import "../_shared/utils/locale.js";
12
- import { formatSeconds, formatDate } from "../_shared/utils/time.js";
12
+ import { formatSeconds } from "../_shared/utils/time.js";
13
13
  const _hoisted_1 = { class: "yc-statistic yc-statistic-countdown" };
14
14
  const _hoisted_2 = {
15
15
  key: 0,
@@ -115,7 +115,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
115
115
  if (isCountdown.value) {
116
116
  return formatSeconds(value2, format.value);
117
117
  }
118
- return formatDate(value2, format.value);
118
+ return dayjs(value2).format(format.value);
119
119
  }
120
120
  return (_ctx, _cache) => {
121
121
  return openBlock(), createElementBlock("div", _hoisted_1, [
@@ -9,8 +9,8 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
9
9
  import "../_shared/utils/dom.js";
10
10
  import "../_shared/utils/locale.js";
11
11
  import "../_shared/utils/time.js";
12
- /* empty css */
13
- /* empty css */
12
+ /* empty css */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
16
16
  import _sfc_main$2 from "../_shared/icons/IconClose.vue.js";
@@ -3,9 +3,17 @@ import { StepsEmits, StepStatus, StepType } from '../type';
3
3
  import { Direction, RecordType } from '../../_shared/type';
4
4
  export default function useStepsContext(): {
5
5
  provide: (props: RecordType, emits: StepsEmits) => {
6
+ stepMap: Reactive<Map<string, string>>;
7
+ computedCurrent: import('vue').WritableComputedRef<number, number>;
8
+ lineLess: Ref<boolean, boolean>;
6
9
  direction: import('vue').ComputedRef<Direction>;
7
- labelPlacement: import('vue').ComputedRef<Direction>;
10
+ status: Ref<StepStatus, StepStatus>;
11
+ statusArr: Ref<Ref<StepStatus, StepStatus>[], Ref<StepStatus, StepStatus>[]>;
12
+ small: Ref<boolean, boolean>;
8
13
  type: Ref<StepType, StepType>;
14
+ changeable: Ref<boolean, boolean>;
15
+ labelPlacement: import('vue').ComputedRef<Direction>;
16
+ emits: StepsEmits;
9
17
  };
10
18
  inject: (props: RecordType) => {
11
19
  curStep: import('vue').ComputedRef<number>;
@@ -51,7 +51,7 @@ function useStepsContext() {
51
51
  });
52
52
  const stepMap = reactive(/* @__PURE__ */ new Map());
53
53
  const statusArr = ref([]);
54
- provide(STEPS_CONTEXT_KEY, {
54
+ const context = {
55
55
  stepMap,
56
56
  computedCurrent,
57
57
  lineLess,
@@ -63,12 +63,9 @@ function useStepsContext() {
63
63
  changeable,
64
64
  labelPlacement,
65
65
  emits
66
- });
67
- return {
68
- direction,
69
- labelPlacement,
70
- type
71
66
  };
67
+ provide(STEPS_CONTEXT_KEY, context);
68
+ return context;
72
69
  };
73
70
  const inject$1 = (props) => {
74
71
  const { status: _status } = toRefs(props);
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } 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 "../node_modules/b-tween/dist/b-tween.es.js";
5
5
  import "../node_modules/dayjs/dayjs.min.js";
6
6
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -11,7 +11,7 @@ import "../node_modules/dayjs/plugin/isSameOrBefore.js";
11
11
  import "../_shared/utils/dom.js";
12
12
  import "../_shared/utils/locale.js";
13
13
  import "../_shared/utils/time.js";
14
- /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  __name: "TabButton",
@@ -12,8 +12,8 @@ import "../_shared/utils/time.js";
12
12
  import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
13
13
  import useTabsContext from "./hooks/useContext.js";
14
14
  import useTabsScroll from "./hooks/useTabsScroll.js";
15
- /* empty css */
16
- /* empty css */
15
+ /* empty css */
16
+ /* empty css */
17
17
  /* empty css */
18
18
  import _sfc_main$3 from "../_shared/icons/IconArrowRight.vue.js";
19
19
  import _sfc_main$6 from "../_shared/icons/IconPlus.vue.js";
@@ -22,13 +22,20 @@ export type PaneNode = {
22
22
  } & TabPaneProps;
23
23
  export default function useTabsContext(): {
24
24
  provide: (props: RecordType, emits: TabsEmits, listRef: Ref<HTMLDivElement | undefined>) => {
25
+ autoSwitch: Ref<boolean, boolean>;
25
26
  computedActiveKey: import('vue').WritableComputedRef<TabKey, TabKey>;
26
- size: import('vue').ComputedRef<any>;
27
+ editable: Ref<boolean, boolean>;
27
28
  direction: import('vue').ComputedRef<Direction>;
29
+ trigger: Ref<EventTrigger, EventTrigger>;
30
+ type: Ref<TabType, TabType>;
31
+ destoryOnHide: Ref<boolean, boolean>;
28
32
  position: Ref<Position, Position>;
29
- autoSwitch: Ref<boolean, boolean>;
33
+ headerPadding: Ref<boolean, boolean>;
34
+ size: import('vue').ComputedRef<any>;
35
+ listRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
30
36
  titleRefs: Ref<HTMLSpanElement[], HTMLSpanElement[]>;
31
37
  tabRefs: Ref<HTMLDivElement[], HTMLDivElement[]>;
38
+ emits: TabsEmits;
32
39
  };
33
40
  inject: () => TabsContext;
34
41
  };