yc-design-vue 2.2.2 → 2.2.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 (594) 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/Affix/index.vue.js +0 -4
  5. package/es/Alert/index.vue.js +0 -4
  6. package/es/Anchor/Anchor.vue.js +0 -4
  7. package/es/Anchor/AnchorLink.vue.js +0 -4
  8. package/es/Anchor/hooks/useContext.d.ts +1 -1
  9. package/es/Anchor/hooks/useContext.js +5 -13
  10. package/es/AutoComplete/index.vue.js +0 -4
  11. package/es/Avatar/Avatar.vue.js +0 -4
  12. package/es/Avatar/AvatarGroup.vue.js +0 -4
  13. package/es/BackTop/index.vue.js +0 -4
  14. package/es/Badge/index.vue.js +0 -4
  15. package/es/Breadcrumb/Breadcrumb.vue.js +0 -4
  16. package/es/Breadcrumb/BreadcrumbItem.vue.js +0 -4
  17. package/es/Breadcrumb/BreadcrumbMore.vue.js +0 -4
  18. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +0 -4
  19. package/es/Button/hooks/useContext.js +0 -4
  20. package/es/Calendar/Calendar.vue.js +30 -49
  21. package/es/Calendar/CalendarMonth.vue.d.ts +4 -6
  22. package/es/Calendar/CalendarMonth.vue.js +34 -43
  23. package/es/Calendar/CalendarYear.vue.d.ts +3 -4
  24. package/es/Calendar/CalendarYear.vue.js +19 -38
  25. package/es/Calendar/hooks/useCalendar.d.ts +7 -0
  26. package/es/Calendar/hooks/useCalendar.js +36 -0
  27. package/es/Card/Card.vue.js +0 -4
  28. package/es/Card/CardMeta.vue.js +0 -4
  29. package/es/Carousel/Carousel.vue.js +0 -4
  30. package/es/Carousel/CarouselArrow.vue.js +0 -4
  31. package/es/Carousel/CarouselIndicator.vue.js +0 -4
  32. package/es/Carousel/hooks/useContext.d.ts +11 -2
  33. package/es/Carousel/hooks/useContext.js +4 -8
  34. package/es/Cascader/Cascader.vue.js +0 -4
  35. package/es/Cascader/CascaderIcon.vue.js +0 -4
  36. package/es/Cascader/CascaderOption.vue.js +0 -4
  37. package/es/Cascader/hooks/useContext.d.ts +69 -8
  38. package/es/Cascader/hooks/useContext.js +5 -17
  39. package/es/Cascader/index.css +1 -1
  40. package/es/Checkbox/Checkbox.vue.js +0 -4
  41. package/es/Checkbox/hooks/useContext.js +0 -4
  42. package/es/Collapse/CollapseItem.vue.js +0 -4
  43. package/es/Collapse/hooks/useContext.js +0 -4
  44. package/es/ColorPicker/ColorControl.vue.js +0 -4
  45. package/es/ColorPicker/ColorInput.vue.js +0 -4
  46. package/es/ColorPicker/ColorList.vue.js +0 -4
  47. package/es/ColorPicker/ColorPalette.vue.js +0 -4
  48. package/es/ColorPicker/ColorPanel.vue.js +0 -4
  49. package/es/ColorPicker/hooks/useContext.d.ts +12 -1
  50. package/es/ColorPicker/hooks/useContext.js +5 -9
  51. package/es/Comment/hooks/useContext.js +0 -4
  52. package/es/Comment/index.vue.js +0 -4
  53. package/es/ConfigProvider/index.vue.js +0 -4
  54. package/es/DatePicker/PickerRange.vue.d.ts +2 -0
  55. package/es/DatePicker/PickerRange.vue.js +15 -0
  56. package/es/DatePicker/PickerRange.vue2.js +4 -0
  57. package/es/DatePicker/YcDatePicker.vue.d.ts +2 -0
  58. package/es/DatePicker/YcDatePicker.vue.js +15 -0
  59. package/es/DatePicker/YcDatePicker.vue2.js +4 -0
  60. package/es/DatePicker/YcMonthPicker.vue.d.ts +66 -0
  61. package/es/DatePicker/YcMonthPicker.vue.js +230 -0
  62. package/es/DatePicker/YcMonthPicker.vue3.js +5 -0
  63. package/es/DatePicker/YcWeekPicker.vue.d.ts +67 -0
  64. package/es/DatePicker/YcWeekPicker.vue.js +7 -0
  65. package/es/DatePicker/YcWeekPicker.vue2.js +315 -0
  66. package/es/DatePicker/YcYearPicker.vue.d.ts +65 -0
  67. package/es/DatePicker/YcYearPicker.vue.js +196 -0
  68. package/es/DatePicker/YcYearPicker.vue3.js +5 -0
  69. package/es/DatePicker/component/PickerCell.vue.d.ts +36 -0
  70. package/es/DatePicker/component/PickerCell.vue.js +7 -0
  71. package/es/DatePicker/component/PickerCell.vue2.js +41 -0
  72. package/es/DatePicker/component/PickerInput.vue.d.ts +297 -0
  73. package/es/DatePicker/component/PickerInput.vue.js +7 -0
  74. package/es/DatePicker/component/PickerInput.vue2.js +121 -0
  75. package/es/DatePicker/component/PickerPanel.vue.d.ts +33 -0
  76. package/es/DatePicker/component/PickerPanel.vue.js +104 -0
  77. package/es/DatePicker/component/PickerPanel.vue3.js +5 -0
  78. package/es/DatePicker/hooks/useContext.d.ts +19 -0
  79. package/es/DatePicker/hooks/useContext.js +37 -0
  80. package/es/DatePicker/hooks/userPicker.d.ts +44 -0
  81. package/es/DatePicker/hooks/userPicker.js +217 -0
  82. package/es/DatePicker/index.css +3 -0
  83. package/es/DatePicker/index.d.ts +38 -0
  84. package/es/DatePicker/index.js +23 -0
  85. package/es/DatePicker/type.d.ts +104 -0
  86. package/es/Descriptions/ReuseItem.vue.js +0 -4
  87. package/es/Descriptions/ReuseTd.vue.js +0 -4
  88. package/es/Descriptions/hooks/useContext.js +0 -4
  89. package/es/Divider/index.vue.js +0 -4
  90. package/es/Drawer/Drawer.vue.js +0 -4
  91. package/es/Drawer/DrawerService.vue.js +1 -5
  92. package/es/Dropdown/Dropdown.vue.js +0 -4
  93. package/es/Dropdown/DropdownButton.vue.js +0 -4
  94. package/es/Dropdown/Dsubmenu.vue.js +0 -4
  95. package/es/Dropdown/hooks/useContext.js +0 -4
  96. package/es/Empty/index.vue.js +0 -4
  97. package/es/Grid/Grid.vue.js +0 -4
  98. package/es/Grid/GridCol.vue.js +0 -4
  99. package/es/Grid/GridItem.vue.js +0 -4
  100. package/es/Grid/GridRow.vue.js +0 -4
  101. package/es/Grid/hooks/useContext.d.ts +6 -2
  102. package/es/Grid/hooks/useContext.js +5 -11
  103. package/es/Image/Image.vue.js +0 -4
  104. package/es/Image/ImagePreview.vue.js +0 -4
  105. package/es/Image/ImagePreviewArrow.vue.js +0 -4
  106. package/es/Image/ImagePreviewGroup.vue.js +0 -4
  107. package/es/Image/ImagePreviewToolbar.vue.js +0 -4
  108. package/es/Image/hooks/useContext.js +0 -4
  109. package/es/Input/Input.vue.js +0 -4
  110. package/es/Input/InputPassword.vue.js +0 -4
  111. package/es/Input/InputSearch.vue.js +0 -4
  112. package/es/Input/hooks/useLimitedInput.js +0 -4
  113. package/es/InputNumber/InputNumber.vue.js +0 -4
  114. package/es/InputNumber/InputOperaBtn.vue.js +0 -4
  115. package/es/InputTag/index.vue.js +0 -4
  116. package/es/Layout/Layout.vue.js +0 -4
  117. package/es/Layout/LayoutSider.vue.js +0 -4
  118. package/es/Layout/hooks/useSiderContext.js +0 -4
  119. package/es/Link/index.vue.js +0 -4
  120. package/es/List/List.vue.js +0 -4
  121. package/es/List/ListVirtual.vue.js +0 -4
  122. package/es/List/hooks/useScrollReach.js +0 -4
  123. package/es/Mention/index.vue.js +0 -4
  124. package/es/Menu/Menu.vue.js +0 -4
  125. package/es/Menu/MenuEllipsis.vue.js +0 -4
  126. package/es/Menu/MenuItem.vue.js +0 -4
  127. package/es/Menu/MenuItemGroup.vue.js +0 -4
  128. package/es/Menu/SubMenu.vue.js +0 -4
  129. package/es/Menu/hooks/useCalcMaxMenuItems.js +0 -4
  130. package/es/Menu/hooks/useContext.d.ts +17 -2
  131. package/es/Menu/hooks/useContext.js +5 -11
  132. package/es/Message/Message.vue.js +1 -5
  133. package/es/Message/index.js +0 -4
  134. package/es/Modal/Modal.vue.js +0 -4
  135. package/es/Modal/ModalService.vue.js +2 -6
  136. package/es/Modal/hooks/useModalClose.js +0 -4
  137. package/es/Modal/hooks/useModalDraggable.js +0 -4
  138. package/es/Modal/hooks/useOnBeforeClose.js +0 -4
  139. package/es/Notification/Notification.vue.js +2 -6
  140. package/es/Notification/index.js +0 -4
  141. package/es/OverflowList/index.vue.js +0 -4
  142. package/es/PageHeader/index.vue.js +0 -4
  143. package/es/Pagination/Pagination.vue.js +0 -4
  144. package/es/Pagination/PaginationItem.vue.js +0 -4
  145. package/es/Pagination/hooks/useContext.js +0 -4
  146. package/es/Popconfirm/index.vue.js +0 -4
  147. package/es/Popover/index.vue.js +0 -4
  148. package/es/Progress/Progress.vue.js +0 -4
  149. package/es/Progress/ProgressCircle.vue.js +0 -4
  150. package/es/Progress/ProgressLine.vue.js +0 -4
  151. package/es/Progress/ProgressSteps.vue.js +0 -4
  152. package/es/Radio/Radio.vue.js +0 -4
  153. package/es/Radio/hooks/useContext.js +0 -4
  154. package/es/Rate/index.vue.js +0 -4
  155. package/es/ResizeBox/index.vue.js +0 -4
  156. package/es/Scrollbar/Scrollbar.vue.js +0 -4
  157. package/es/Scrollbar/ScrollbarTrack.vue.js +0 -4
  158. package/es/Select/Option.vue.js +0 -4
  159. package/es/Select/Select.vue.js +0 -4
  160. package/es/Select/SelectIcon.vue.js +0 -4
  161. package/es/Select/SelectRealList.vue.js +0 -4
  162. package/es/Select/SelectView.vue.js +0 -4
  163. package/es/Select/SelectVirtualList.vue.js +0 -4
  164. package/es/Select/hooks/useContext.d.ts +2 -2
  165. package/es/Select/hooks/useContext.js +0 -4
  166. package/es/Select/hooks/useSelectHotkeys.js +0 -4
  167. package/es/Select/hooks/useSelectOptions.d.ts +2 -2
  168. package/es/Select/hooks/useSelectOptions.js +0 -4
  169. package/es/Skeleton/SkeletonLine.vue.js +0 -4
  170. package/es/Skeleton/SkeletonShape.vue.js +0 -4
  171. package/es/Slider/SliderBtn.vue.js +0 -4
  172. package/es/Slider/hooks/useContext.d.ts +12 -6
  173. package/es/Slider/hooks/useContext.js +5 -16
  174. package/es/Slider/hooks/useSliderDraggable.js +0 -4
  175. package/es/Space/index.vue.js +0 -4
  176. package/es/Spin/index.vue.js +0 -4
  177. package/es/Split/index.vue.js +0 -4
  178. package/es/Statistic/Countdown.vue.js +0 -4
  179. package/es/Statistic/Statistic.vue.js +3 -7
  180. package/es/Steps/Step.vue.js +0 -4
  181. package/es/Steps/hooks/useContext.d.ts +9 -1
  182. package/es/Steps/hooks/useContext.js +3 -10
  183. package/es/Switch/index.vue.js +0 -4
  184. package/es/Tabs/TabButton.vue.js +0 -4
  185. package/es/Tabs/TabPane.vue.js +0 -4
  186. package/es/Tabs/Tabs.vue.js +0 -4
  187. package/es/Tabs/TabsNavInk.vue.js +0 -4
  188. package/es/Tabs/TabsTab.vue.js +0 -4
  189. package/es/Tabs/hooks/useContext.d.ts +9 -2
  190. package/es/Tabs/hooks/useContext.js +5 -13
  191. package/es/Tabs/hooks/useTabsScroll.js +0 -4
  192. package/es/Tag/index.vue.js +0 -4
  193. package/es/Textarea/hooks/useTextareaHeight.js +0 -4
  194. package/es/Textarea/index.vue.js +0 -4
  195. package/es/TimePicker/TimePicker.vue.js +1 -5
  196. package/es/TimePicker/TimePickerPanel.vue.js +0 -4
  197. package/es/TimePicker/hooks/useContext.d.ts +17 -7
  198. package/es/TimePicker/hooks/useContext.js +4 -13
  199. package/es/Timeline/TimelineItemPending.vue.js +0 -4
  200. package/es/Timeline/hooks/useContext.d.ts +4 -2
  201. package/es/Timeline/hooks/useContext.js +3 -10
  202. package/es/Tooltip/index.vue.js +0 -4
  203. package/es/Transfer/Transfer.vue.js +0 -4
  204. package/es/Transfer/TransferPanel.vue.js +1 -5
  205. package/es/Transfer/hooks/useContext.d.ts +1 -6
  206. package/es/Transfer/hooks/useContext.js +3 -11
  207. package/es/Trigger/hooks/useContext.js +0 -4
  208. package/es/Trigger/hooks/useTriggerPosition.js +0 -4
  209. package/es/Trigger/hooks/useTriggerVisible.js +0 -4
  210. package/es/Trigger/index.vue.js +0 -4
  211. package/es/Typography/TypographyBase.vue.js +2 -6
  212. package/es/Upload/Upload.vue.js +6 -4
  213. package/es/Upload/UploadButton.vue.js +0 -4
  214. package/es/Upload/UploadDrag.vue.js +0 -4
  215. package/es/Upload/UploadFileList.vue.js +125 -5
  216. package/es/Upload/UploadFileList.vue3.js +5 -0
  217. package/es/Upload/UploadPictureCard.vue.js +131 -5
  218. package/es/Upload/UploadPictureCard.vue3.js +5 -0
  219. package/es/Upload/hooks/useContext.js +0 -4
  220. package/es/Upload/hooks/useUpload.js +0 -4
  221. package/es/VerificationCode/index.vue.js +0 -4
  222. package/es/Watermark/index.vue.js +0 -4
  223. package/es/_shared/components/ExpandTransition/index.vue2.js +0 -4
  224. package/es/_shared/components/Icon/index.vue3.js +0 -4
  225. package/es/_shared/components/IconButton/index.vue.js +0 -4
  226. package/es/_shared/constants/index.js +0 -4
  227. package/es/_shared/icons/IconArrowDown.vue.js +0 -4
  228. package/es/_shared/icons/IconArrowRight.vue.js +0 -4
  229. package/es/_shared/icons/IconCalendar.vue.d.ts +2 -0
  230. package/es/_shared/icons/IconCalendar.vue.js +4 -0
  231. package/es/_shared/icons/IconCalendar.vue2.js +27 -0
  232. package/es/_shared/icons/IconCheck.vue.js +0 -4
  233. package/es/_shared/icons/IconCheckboxChecked.vue.js +0 -4
  234. package/es/_shared/icons/IconClose.vue.js +0 -4
  235. package/es/_shared/icons/IconCopy.vue.js +1 -28
  236. package/es/_shared/icons/IconCopy.vue2.js +24 -1
  237. package/es/_shared/icons/IconDelete.vue.js +1 -28
  238. package/es/_shared/icons/IconDelete.vue2.js +24 -1
  239. package/es/_shared/icons/IconDoubleLeft.vue.d.ts +2 -0
  240. package/es/_shared/icons/IconDoubleLeft.vue.js +27 -0
  241. package/es/_shared/icons/IconDoubleLeft.vue2.js +4 -0
  242. package/es/_shared/icons/IconDoubleRight.vue.d.ts +2 -0
  243. package/es/_shared/icons/IconDoubleRight.vue.js +27 -0
  244. package/es/_shared/icons/IconDoubleRight.vue2.js +4 -0
  245. package/es/_shared/icons/IconDragDot.vue.js +0 -4
  246. package/es/_shared/icons/IconEdit.vue.js +1 -28
  247. package/es/_shared/icons/IconEdit.vue2.js +24 -1
  248. package/es/_shared/icons/IconEmpty.vue.js +0 -4
  249. package/es/_shared/icons/IconError.vue.js +0 -4
  250. package/es/_shared/icons/IconExclamation.vue2.js +0 -4
  251. package/es/_shared/icons/IconEyeClose.vue.js +0 -4
  252. package/es/_shared/icons/IconEyeOpen.vue.js +0 -4
  253. package/es/_shared/icons/IconFaceSmile.vue.js +0 -4
  254. package/es/_shared/icons/IconFile.vue2.js +0 -4
  255. package/es/_shared/icons/IconFullScreen.vue2.js +0 -4
  256. package/es/_shared/icons/IconImageClose.vue.js +0 -4
  257. package/es/_shared/icons/IconInfo.vue.js +0 -4
  258. package/es/_shared/icons/IconInfoLine.vue.js +0 -4
  259. package/es/_shared/icons/IconLink.vue.js +0 -4
  260. package/es/_shared/icons/IconLoading.vue.js +0 -4
  261. package/es/_shared/icons/IconMenuFold.vue.js +0 -4
  262. package/es/_shared/icons/IconMenuUnfold.vue.js +0 -4
  263. package/es/_shared/icons/IconMinus.vue2.js +0 -4
  264. package/es/_shared/icons/IconMore.vue.js +0 -4
  265. package/es/_shared/icons/IconOriginSize.vue2.js +0 -4
  266. package/es/_shared/icons/IconPlus.vue.js +0 -4
  267. package/es/_shared/icons/IconRight.vue.js +0 -4
  268. package/es/_shared/icons/IconRotateLeft.vue2.js +0 -4
  269. package/es/_shared/icons/IconRotateRight.vue2.js +0 -4
  270. package/es/_shared/icons/IconSearch.vue.js +0 -4
  271. package/es/_shared/icons/IconSeparator.vue2.js +0 -4
  272. package/es/_shared/icons/IconStar.vue.js +0 -4
  273. package/es/_shared/icons/IconSuccess.vue.js +0 -4
  274. package/es/_shared/icons/IconTime.vue.js +0 -4
  275. package/es/_shared/icons/IconToTop.vue.js +0 -4
  276. package/es/_shared/icons/IconUpload.vue2.js +0 -4
  277. package/es/_shared/icons/IconWarning.vue.js +0 -4
  278. package/es/_shared/icons/IconZoomIn.vue2.js +0 -4
  279. package/es/_shared/icons/IconZoomOut.vue2.js +0 -4
  280. package/es/_shared/icons/index.d.ts +3 -0
  281. package/es/_shared/type/index.d.ts +1 -1
  282. package/es/_shared/utils/color.js +0 -4
  283. package/es/_shared/utils/dependencies.d.ts +0 -4
  284. package/es/_shared/utils/dom.js +0 -4
  285. package/es/_shared/utils/hooks.js +1 -1
  286. package/es/_shared/utils/locale.d.ts +0 -5
  287. package/es/_shared/utils/time.d.ts +0 -9
  288. package/es/_shared/utils/time.js +0 -30
  289. package/es/_shared/utils/vue-utils.d.ts +1 -1
  290. package/es/_virtual/isoWeek.js +4 -0
  291. package/es/index.d.ts +307 -1
  292. package/es/index.js +42 -33
  293. package/es/lang-es/zh-cn.js +26 -26
  294. package/es/node_modules/dayjs/plugin/isoWeek.js +33 -0
  295. package/es/src/lang/lang-es/zh-cn.js +26 -26
  296. package/es/style.css +1 -1
  297. package/lib/Affix/index.vue.js +1 -1
  298. package/lib/Alert/index.vue.js +1 -1
  299. package/lib/Anchor/Anchor.vue.js +1 -1
  300. package/lib/Anchor/AnchorLink.vue.js +1 -1
  301. package/lib/Anchor/hooks/useContext.d.ts +1 -1
  302. package/lib/Anchor/hooks/useContext.js +1 -1
  303. package/lib/AutoComplete/index.vue.js +1 -1
  304. package/lib/Avatar/Avatar.vue.js +1 -1
  305. package/lib/Avatar/AvatarGroup.vue.js +1 -1
  306. package/lib/BackTop/index.vue.js +1 -1
  307. package/lib/Badge/index.vue.js +1 -1
  308. package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
  309. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  310. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  311. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  312. package/lib/Button/hooks/useContext.js +1 -1
  313. package/lib/Calendar/Calendar.vue.js +1 -1
  314. package/lib/Calendar/CalendarMonth.vue.d.ts +4 -6
  315. package/lib/Calendar/CalendarMonth.vue.js +1 -1
  316. package/lib/Calendar/CalendarYear.vue.d.ts +3 -4
  317. package/lib/Calendar/CalendarYear.vue.js +1 -1
  318. package/lib/Calendar/hooks/useCalendar.d.ts +7 -0
  319. package/lib/Calendar/hooks/useCalendar.js +1 -0
  320. package/lib/Card/Card.vue.js +1 -1
  321. package/lib/Card/CardMeta.vue.js +1 -1
  322. package/lib/Carousel/Carousel.vue.js +1 -1
  323. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  324. package/lib/Carousel/CarouselIndicator.vue.js +1 -1
  325. package/lib/Carousel/hooks/useContext.d.ts +11 -2
  326. package/lib/Carousel/hooks/useContext.js +1 -1
  327. package/lib/Cascader/Cascader.vue.js +1 -1
  328. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  329. package/lib/Cascader/CascaderOption.vue.js +1 -1
  330. package/lib/Cascader/hooks/useContext.d.ts +69 -8
  331. package/lib/Cascader/hooks/useContext.js +1 -1
  332. package/lib/Cascader/index.css +1 -1
  333. package/lib/Checkbox/Checkbox.vue.js +1 -1
  334. package/lib/Checkbox/hooks/useContext.js +1 -1
  335. package/lib/Collapse/CollapseItem.vue.js +1 -1
  336. package/lib/Collapse/hooks/useContext.js +1 -1
  337. package/lib/ColorPicker/ColorControl.vue.js +1 -1
  338. package/lib/ColorPicker/ColorInput.vue.js +1 -1
  339. package/lib/ColorPicker/ColorList.vue.js +1 -1
  340. package/lib/ColorPicker/ColorPalette.vue.js +1 -1
  341. package/lib/ColorPicker/ColorPanel.vue.js +1 -1
  342. package/lib/ColorPicker/hooks/useContext.d.ts +12 -1
  343. package/lib/ColorPicker/hooks/useContext.js +1 -1
  344. package/lib/Comment/hooks/useContext.js +1 -1
  345. package/lib/Comment/index.vue.js +1 -1
  346. package/lib/ConfigProvider/index.vue.js +1 -1
  347. package/lib/DatePicker/PickerRange.vue.d.ts +2 -0
  348. package/lib/DatePicker/PickerRange.vue.js +1 -0
  349. package/lib/DatePicker/PickerRange.vue2.js +1 -0
  350. package/lib/DatePicker/YcDatePicker.vue.d.ts +2 -0
  351. package/lib/DatePicker/YcDatePicker.vue.js +1 -0
  352. package/lib/DatePicker/YcDatePicker.vue2.js +1 -0
  353. package/lib/DatePicker/YcMonthPicker.vue.d.ts +66 -0
  354. package/lib/DatePicker/YcMonthPicker.vue.js +1 -0
  355. package/lib/DatePicker/YcMonthPicker.vue3.js +1 -0
  356. package/lib/DatePicker/YcWeekPicker.vue.d.ts +67 -0
  357. package/lib/DatePicker/YcWeekPicker.vue.js +1 -0
  358. package/lib/DatePicker/YcWeekPicker.vue2.js +1 -0
  359. package/lib/DatePicker/YcYearPicker.vue.d.ts +65 -0
  360. package/lib/DatePicker/YcYearPicker.vue.js +1 -0
  361. package/lib/DatePicker/YcYearPicker.vue3.js +1 -0
  362. package/lib/DatePicker/component/PickerCell.vue.d.ts +36 -0
  363. package/lib/DatePicker/component/PickerCell.vue.js +1 -0
  364. package/lib/DatePicker/component/PickerCell.vue2.js +1 -0
  365. package/lib/DatePicker/component/PickerInput.vue.d.ts +297 -0
  366. package/lib/DatePicker/component/PickerInput.vue.js +1 -0
  367. package/lib/DatePicker/component/PickerInput.vue2.js +1 -0
  368. package/lib/DatePicker/component/PickerPanel.vue.d.ts +33 -0
  369. package/lib/DatePicker/component/PickerPanel.vue.js +1 -0
  370. package/lib/DatePicker/component/PickerPanel.vue3.js +1 -0
  371. package/lib/DatePicker/hooks/useContext.d.ts +19 -0
  372. package/lib/DatePicker/hooks/useContext.js +1 -0
  373. package/lib/DatePicker/hooks/userPicker.d.ts +44 -0
  374. package/lib/DatePicker/hooks/userPicker.js +1 -0
  375. package/lib/DatePicker/index.css +3 -0
  376. package/lib/DatePicker/index.d.ts +38 -0
  377. package/lib/DatePicker/index.js +1 -0
  378. package/lib/DatePicker/type.d.ts +104 -0
  379. package/lib/Descriptions/ReuseItem.vue.js +1 -1
  380. package/lib/Descriptions/ReuseTd.vue.js +1 -1
  381. package/lib/Descriptions/hooks/useContext.js +1 -1
  382. package/lib/Divider/index.vue.js +1 -1
  383. package/lib/Drawer/Drawer.vue.js +1 -1
  384. package/lib/Drawer/DrawerService.vue.js +1 -1
  385. package/lib/Dropdown/Dropdown.vue.js +1 -1
  386. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  387. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  388. package/lib/Dropdown/hooks/useContext.js +1 -1
  389. package/lib/Empty/index.vue.js +1 -1
  390. package/lib/Grid/Grid.vue.js +1 -1
  391. package/lib/Grid/GridCol.vue.js +1 -1
  392. package/lib/Grid/GridItem.vue.js +1 -1
  393. package/lib/Grid/GridRow.vue.js +1 -1
  394. package/lib/Grid/hooks/useContext.d.ts +6 -2
  395. package/lib/Grid/hooks/useContext.js +1 -1
  396. package/lib/Image/Image.vue.js +1 -1
  397. package/lib/Image/ImagePreview.vue.js +1 -1
  398. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  399. package/lib/Image/ImagePreviewGroup.vue.js +1 -1
  400. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  401. package/lib/Image/hooks/useContext.js +1 -1
  402. package/lib/Input/Input.vue.js +1 -1
  403. package/lib/Input/InputPassword.vue.js +1 -1
  404. package/lib/Input/InputSearch.vue.js +1 -1
  405. package/lib/Input/hooks/useLimitedInput.js +1 -1
  406. package/lib/InputNumber/InputNumber.vue.js +1 -1
  407. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  408. package/lib/InputTag/index.vue.js +1 -1
  409. package/lib/Layout/Layout.vue.js +1 -1
  410. package/lib/Layout/LayoutSider.vue.js +1 -1
  411. package/lib/Layout/hooks/useSiderContext.js +1 -1
  412. package/lib/Link/index.vue.js +1 -1
  413. package/lib/List/List.vue.js +1 -1
  414. package/lib/List/ListVirtual.vue.js +1 -1
  415. package/lib/List/hooks/useScrollReach.js +1 -1
  416. package/lib/Mention/index.vue.js +1 -1
  417. package/lib/Menu/Menu.vue.js +1 -1
  418. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  419. package/lib/Menu/MenuItem.vue.js +1 -1
  420. package/lib/Menu/MenuItemGroup.vue.js +1 -1
  421. package/lib/Menu/SubMenu.vue.js +1 -1
  422. package/lib/Menu/hooks/useCalcMaxMenuItems.js +1 -1
  423. package/lib/Menu/hooks/useContext.d.ts +17 -2
  424. package/lib/Menu/hooks/useContext.js +1 -1
  425. package/lib/Message/Message.vue.js +1 -1
  426. package/lib/Message/index.js +1 -1
  427. package/lib/Modal/Modal.vue.js +1 -1
  428. package/lib/Modal/ModalService.vue.js +1 -1
  429. package/lib/Modal/hooks/useModalClose.js +1 -1
  430. package/lib/Modal/hooks/useModalDraggable.js +1 -1
  431. package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
  432. package/lib/Notification/Notification.vue.js +1 -1
  433. package/lib/Notification/index.js +1 -1
  434. package/lib/OverflowList/index.vue.js +1 -1
  435. package/lib/PageHeader/index.vue.js +1 -1
  436. package/lib/Pagination/Pagination.vue.js +1 -1
  437. package/lib/Pagination/PaginationItem.vue.js +1 -1
  438. package/lib/Pagination/hooks/useContext.js +1 -1
  439. package/lib/Popconfirm/index.vue.js +1 -1
  440. package/lib/Popover/index.vue.js +1 -1
  441. package/lib/Progress/Progress.vue.js +1 -1
  442. package/lib/Progress/ProgressCircle.vue.js +1 -1
  443. package/lib/Progress/ProgressLine.vue.js +1 -1
  444. package/lib/Progress/ProgressSteps.vue.js +1 -1
  445. package/lib/Radio/Radio.vue.js +1 -1
  446. package/lib/Radio/hooks/useContext.js +1 -1
  447. package/lib/Rate/index.vue.js +1 -1
  448. package/lib/ResizeBox/index.vue.js +1 -1
  449. package/lib/Scrollbar/Scrollbar.vue.js +1 -1
  450. package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
  451. package/lib/Select/Option.vue.js +1 -1
  452. package/lib/Select/Select.vue.js +1 -1
  453. package/lib/Select/SelectIcon.vue.js +1 -1
  454. package/lib/Select/SelectRealList.vue.js +1 -1
  455. package/lib/Select/SelectView.vue.js +1 -1
  456. package/lib/Select/SelectVirtualList.vue.js +1 -1
  457. package/lib/Select/hooks/useContext.d.ts +2 -2
  458. package/lib/Select/hooks/useContext.js +1 -1
  459. package/lib/Select/hooks/useSelectHotkeys.js +1 -1
  460. package/lib/Select/hooks/useSelectOptions.d.ts +2 -2
  461. package/lib/Select/hooks/useSelectOptions.js +1 -1
  462. package/lib/Skeleton/SkeletonLine.vue.js +1 -1
  463. package/lib/Skeleton/SkeletonShape.vue.js +1 -1
  464. package/lib/Slider/SliderBtn.vue.js +1 -1
  465. package/lib/Slider/hooks/useContext.d.ts +12 -6
  466. package/lib/Slider/hooks/useContext.js +1 -1
  467. package/lib/Slider/hooks/useSliderDraggable.js +1 -1
  468. package/lib/Space/index.vue.js +1 -1
  469. package/lib/Spin/index.vue.js +1 -1
  470. package/lib/Split/index.vue.js +1 -1
  471. package/lib/Statistic/Countdown.vue.js +1 -1
  472. package/lib/Statistic/Statistic.vue.js +1 -1
  473. package/lib/Steps/Step.vue.js +1 -1
  474. package/lib/Steps/hooks/useContext.d.ts +9 -1
  475. package/lib/Steps/hooks/useContext.js +1 -1
  476. package/lib/Switch/index.vue.js +1 -1
  477. package/lib/Tabs/TabButton.vue.js +1 -1
  478. package/lib/Tabs/TabPane.vue.js +1 -1
  479. package/lib/Tabs/Tabs.vue.js +1 -1
  480. package/lib/Tabs/TabsNavInk.vue.js +1 -1
  481. package/lib/Tabs/TabsTab.vue.js +1 -1
  482. package/lib/Tabs/hooks/useContext.d.ts +9 -2
  483. package/lib/Tabs/hooks/useContext.js +1 -1
  484. package/lib/Tabs/hooks/useTabsScroll.js +1 -1
  485. package/lib/Tag/index.vue.js +1 -1
  486. package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
  487. package/lib/Textarea/index.vue.js +1 -1
  488. package/lib/TimePicker/TimePicker.vue.js +1 -1
  489. package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
  490. package/lib/TimePicker/hooks/useContext.d.ts +17 -7
  491. package/lib/TimePicker/hooks/useContext.js +1 -1
  492. package/lib/Timeline/TimelineItemPending.vue.js +1 -1
  493. package/lib/Timeline/hooks/useContext.d.ts +4 -2
  494. package/lib/Timeline/hooks/useContext.js +1 -1
  495. package/lib/Tooltip/index.vue.js +1 -1
  496. package/lib/Transfer/Transfer.vue.js +1 -1
  497. package/lib/Transfer/TransferPanel.vue.js +1 -1
  498. package/lib/Transfer/hooks/useContext.d.ts +1 -6
  499. package/lib/Transfer/hooks/useContext.js +1 -1
  500. package/lib/Trigger/hooks/useContext.js +1 -1
  501. package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
  502. package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
  503. package/lib/Trigger/index.vue.js +1 -1
  504. package/lib/Typography/TypographyBase.vue.js +1 -1
  505. package/lib/Upload/Upload.vue.js +1 -1
  506. package/lib/Upload/UploadButton.vue.js +1 -1
  507. package/lib/Upload/UploadDrag.vue.js +1 -1
  508. package/lib/Upload/UploadFileList.vue.js +1 -1
  509. package/lib/Upload/UploadFileList.vue3.js +1 -0
  510. package/lib/Upload/UploadPictureCard.vue.js +1 -1
  511. package/lib/Upload/UploadPictureCard.vue3.js +1 -0
  512. package/lib/Upload/hooks/useContext.js +1 -1
  513. package/lib/Upload/hooks/useUpload.js +1 -1
  514. package/lib/VerificationCode/index.vue.js +1 -1
  515. package/lib/Watermark/index.vue.js +1 -1
  516. package/lib/_shared/components/ExpandTransition/index.vue2.js +1 -1
  517. package/lib/_shared/components/Icon/index.vue3.js +1 -1
  518. package/lib/_shared/components/IconButton/index.vue.js +1 -1
  519. package/lib/_shared/constants/index.js +1 -1
  520. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  521. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  522. package/lib/_shared/icons/IconCalendar.vue.d.ts +2 -0
  523. package/lib/_shared/icons/IconCalendar.vue.js +1 -0
  524. package/lib/_shared/icons/IconCalendar.vue2.js +1 -0
  525. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  526. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  527. package/lib/_shared/icons/IconClose.vue.js +1 -1
  528. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  529. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  530. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  531. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  532. package/lib/_shared/icons/IconDoubleLeft.vue.d.ts +2 -0
  533. package/lib/_shared/icons/IconDoubleLeft.vue.js +1 -0
  534. package/lib/_shared/icons/IconDoubleLeft.vue2.js +1 -0
  535. package/lib/_shared/icons/IconDoubleRight.vue.d.ts +2 -0
  536. package/lib/_shared/icons/IconDoubleRight.vue.js +1 -0
  537. package/lib/_shared/icons/IconDoubleRight.vue2.js +1 -0
  538. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  539. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  540. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  541. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  542. package/lib/_shared/icons/IconError.vue.js +1 -1
  543. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  544. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  545. package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
  546. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  547. package/lib/_shared/icons/IconFile.vue2.js +1 -1
  548. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  549. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  550. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  551. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  552. package/lib/_shared/icons/IconLink.vue.js +1 -1
  553. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  554. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  555. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  556. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  557. package/lib/_shared/icons/IconMore.vue.js +1 -1
  558. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  559. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  560. package/lib/_shared/icons/IconRight.vue.js +1 -1
  561. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  562. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  563. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  564. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  565. package/lib/_shared/icons/IconStar.vue.js +1 -1
  566. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  567. package/lib/_shared/icons/IconTime.vue.js +1 -1
  568. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  569. package/lib/_shared/icons/IconUpload.vue2.js +1 -1
  570. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  571. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  572. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  573. package/lib/_shared/icons/index.d.ts +3 -0
  574. package/lib/_shared/type/index.d.ts +1 -1
  575. package/lib/_shared/utils/color.js +1 -1
  576. package/lib/_shared/utils/dependencies.d.ts +0 -4
  577. package/lib/_shared/utils/dom.js +1 -1
  578. package/lib/_shared/utils/hooks.js +1 -1
  579. package/lib/_shared/utils/locale.d.ts +0 -5
  580. package/lib/_shared/utils/time.d.ts +0 -9
  581. package/lib/_shared/utils/time.js +1 -1
  582. package/lib/_shared/utils/vue-utils.d.ts +1 -1
  583. package/lib/_virtual/isoWeek.js +1 -0
  584. package/lib/index.d.ts +307 -1
  585. package/lib/index.js +1 -1
  586. package/lib/lang-es/zh-cn.js +26 -26
  587. package/lib/node_modules/dayjs/plugin/isoWeek.js +1 -0
  588. package/lib/src/lang/lang-es/zh-cn.js +1 -1
  589. package/lib/style.css +1 -1
  590. package/package.json +1 -1
  591. package/es/Upload/UploadFileList.vue2.js +0 -131
  592. package/es/Upload/UploadPictureCard.vue2.js +0 -137
  593. package/lib/Upload/UploadFileList.vue2.js +0 -1
  594. package/lib/Upload/UploadPictureCard.vue2.js +0 -1
@@ -15,40 +15,10 @@ const isValidTimeRange = (beginDate, endDate, format) => {
15
15
  const end = dayjs(endDate, format).locale("en", { weekStart: 1 });
16
16
  return begin.isBefore(end);
17
17
  };
18
- const generateMonthCalendar = (year, month) => {
19
- const firstDayOfMonth = dayjs(`${year}-${month}-01`);
20
- const firstDayOfWeek = firstDayOfMonth.day();
21
- const daysFromPrevMonth = firstDayOfWeek;
22
- const totalCalendarDays = 42;
23
- const calendar = [];
24
- const row = [];
25
- for (let i = 0; i < totalCalendarDays; i++) {
26
- const dayOffset = i - daysFromPrevMonth;
27
- const date = firstDayOfMonth.add(dayOffset, "day");
28
- const isCurrentMonth = date.month() + 1 === month;
29
- row.push({
30
- day: date.date(),
31
- month: date.month(),
32
- year: date.year(),
33
- fullDate: date.format("YYYY/MM/DD"),
34
- isCurrentMonth
35
- });
36
- if (row.length === 7) {
37
- calendar.push([...row]);
38
- row.splice(0);
39
- }
40
- }
41
- return calendar;
42
- };
43
18
  const formatSeconds = (time, format, type = "milliseconds") => {
44
19
  return dayjs.duration(time, type).format(format);
45
20
  };
46
- const formatDate = (value, format) => {
47
- return dayjs(value).format(format);
48
- };
49
21
  export {
50
- formatDate,
51
22
  formatSeconds,
52
- generateMonthCalendar,
53
23
  isValidTimeRange
54
24
  };
@@ -1,6 +1,6 @@
1
1
  import { VNode } from 'vue';
2
2
  import { RecordType, RenderContent } from '../type';
3
- export declare const getSlotFunction: (param: RenderContent | undefined) => import('vue').RenderFunction | (() => string | RecordType<any>[]) | undefined;
3
+ export declare const getSlotFunction: (param: RenderContent | undefined) => import('vue').RenderFunction | (() => string | number | RecordType<any>[]) | undefined;
4
4
  export declare const isVifNode: (vnode: VNode | undefined | null) => boolean;
5
5
  export declare const findFirstLegitChild: (node: VNode[] | undefined) => VNode | null;
6
6
  export declare const findComponentsFromVnodes: (vnodes: VNode[], name?: string) => RecordType[];
@@ -0,0 +1,4 @@
1
+ var isoWeek = { exports: {} };
2
+ export {
3
+ isoWeek as __module
4
+ };
package/es/index.d.ts CHANGED
@@ -18,6 +18,7 @@ import { default as Cascader } from './Cascader';
18
18
  import { default as Comment } from './Comment';
19
19
  import { default as ConfigProvider } from './ConfigProvider';
20
20
  import { default as Descriptions } from './Descriptions';
21
+ import { default as DatePicker } from './DatePicker';
21
22
  import { default as Divider } from './Divider';
22
23
  import { default as Drawer } from './Drawer';
23
24
  import { default as Dropdown } from './Dropdown';
@@ -136,7 +137,7 @@ export * from './Tabs';
136
137
  export * from './Upload';
137
138
  export * from './VerificationCode';
138
139
  export * from './Watermark';
139
- export { Affix, Alert, Anchor, AutoComplete, Avatar, BackTop, Badge, Button, Breadcrumb, Card, Calendar, Carousel, Checkbox, Collapse, ColorPicker, Cascader, Comment, ConfigProvider, Descriptions, Divider, Drawer, Dropdown, Empty, Grid, Image, Input, InputNumber, InputTag, Layout, Link, List, Menu, Mention, Modal, Message, Notification, OverflowList, PageHeader, Pagination, Popconfirm, Popover, Progress, Radio, Rate, ResizeBox, Result, Scrollbar, Select, Skeleton, Slider, Space, Split, Statistic, Steps, Spin, Switch, Tag, Timeline, Textarea, TimePicker, Tooltip, Transfer, Trigger, Typography, Tabs, Upload, VerificationCode, Watermark, };
140
+ export { Affix, Alert, Anchor, AutoComplete, Avatar, BackTop, Badge, Button, Breadcrumb, Card, Calendar, Carousel, Checkbox, Collapse, ColorPicker, Cascader, Comment, ConfigProvider, Descriptions, DatePicker, Divider, Drawer, Dropdown, Empty, Grid, Image, Input, InputNumber, InputTag, Layout, Link, List, Menu, Mention, Modal, Message, Notification, OverflowList, PageHeader, Pagination, Popconfirm, Popover, Progress, Radio, Rate, ResizeBox, Result, Scrollbar, Select, Skeleton, Slider, Space, Split, Statistic, Steps, Spin, Switch, Tag, Timeline, Textarea, TimePicker, Tooltip, Transfer, Trigger, Typography, Tabs, Upload, VerificationCode, Watermark, };
140
141
  export declare const components: Record<string, Plugin>;
141
142
  declare const YcDesignVue: {
142
143
  AnchorLink: {
@@ -487,6 +488,311 @@ declare const YcDesignVue: {
487
488
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
488
489
  $slots: Readonly<import('./Descriptions').DescriptionsItemSlots> & import('./Descriptions').DescriptionsItemSlots;
489
490
  });
491
+ YearPicker: {
492
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./DatePicker').YearPickerProps> & Readonly<{
493
+ onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
494
+ "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
495
+ "onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
496
+ onClear?: (() => any) | undefined;
497
+ onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
498
+ "onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
499
+ "onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
500
+ onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
501
+ "onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
502
+ "onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
503
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
504
+ change: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
505
+ "update:popupVisible": (value: boolean) => any;
506
+ "popup-visible-change": (visible: boolean) => any;
507
+ clear: () => any;
508
+ select: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
509
+ "update:modelValue": (value: import('./DatePicker').DatePickerValue) => any;
510
+ "update:pickerValue": (value: import('./DatePicker').DatePickerValue) => any;
511
+ ok: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
512
+ "picker-value-change": (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
513
+ "select-shortcut": (shortcut: import('./DatePicker').ShortcutType) => any;
514
+ }, import('vue').PublicProps, {
515
+ error: boolean;
516
+ size: import('./_shared/type').Size;
517
+ popupVisible: boolean;
518
+ defaultPopupVisible: boolean;
519
+ disabled: boolean;
520
+ position: import('./DatePicker').DatePickerPosition;
521
+ unmountOnClose: boolean;
522
+ popupContainer: import('./_shared/type').PopupContainer;
523
+ placeholder: string;
524
+ locale: Record<string, any>;
525
+ modelValue: import('./DatePicker').DatePickerValue;
526
+ defaultValue: import('./DatePicker').DatePickerValue;
527
+ allowClear: boolean;
528
+ readonly: boolean;
529
+ triggerProps: import('./Trigger').TriggerProps;
530
+ hideTrigger: boolean;
531
+ format: string;
532
+ pickerValue: import('./DatePicker').DatePickerValue;
533
+ defaultPickerValue: import('./DatePicker').DatePickerValue;
534
+ valueFormat: import('./DatePicker').ValueFormat;
535
+ showConfirmBtn: boolean;
536
+ shortcutsPosition: import('./DatePicker').ShortcutsPosition;
537
+ shortcuts: import('./DatePicker').ShortcutType[];
538
+ previewShortcut: boolean;
539
+ disabledInput: boolean;
540
+ disabledDate: import('./DatePicker').DisabledDate;
541
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
542
+ P: {};
543
+ B: {};
544
+ D: {};
545
+ C: {};
546
+ M: {};
547
+ Defaults: {};
548
+ }, Readonly<import('./DatePicker').YearPickerProps> & Readonly<{
549
+ onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
550
+ "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
551
+ "onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
552
+ onClear?: (() => any) | undefined;
553
+ onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
554
+ "onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
555
+ "onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
556
+ onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
557
+ "onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
558
+ "onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
559
+ }>, {}, {}, {}, {}, {
560
+ error: boolean;
561
+ size: import('./_shared/type').Size;
562
+ popupVisible: boolean;
563
+ defaultPopupVisible: boolean;
564
+ disabled: boolean;
565
+ position: import('./DatePicker').DatePickerPosition;
566
+ unmountOnClose: boolean;
567
+ popupContainer: import('./_shared/type').PopupContainer;
568
+ placeholder: string;
569
+ locale: Record<string, any>;
570
+ modelValue: import('./DatePicker').DatePickerValue;
571
+ defaultValue: import('./DatePicker').DatePickerValue;
572
+ allowClear: boolean;
573
+ readonly: boolean;
574
+ triggerProps: import('./Trigger').TriggerProps;
575
+ hideTrigger: boolean;
576
+ format: string;
577
+ pickerValue: import('./DatePicker').DatePickerValue;
578
+ defaultPickerValue: import('./DatePicker').DatePickerValue;
579
+ valueFormat: import('./DatePicker').ValueFormat;
580
+ showConfirmBtn: boolean;
581
+ shortcutsPosition: import('./DatePicker').ShortcutsPosition;
582
+ shortcuts: import('./DatePicker').ShortcutType[];
583
+ previewShortcut: boolean;
584
+ disabledInput: boolean;
585
+ disabledDate: import('./DatePicker').DisabledDate;
586
+ }>;
587
+ __isFragment?: never;
588
+ __isTeleport?: never;
589
+ __isSuspense?: never;
590
+ } & import('vue').ComponentOptionsBase<Readonly<import('./DatePicker').YearPickerProps> & Readonly<{
591
+ onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
592
+ "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
593
+ "onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
594
+ onClear?: (() => any) | undefined;
595
+ onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
596
+ "onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
597
+ "onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
598
+ onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
599
+ "onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
600
+ "onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
601
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
602
+ change: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
603
+ "update:popupVisible": (value: boolean) => any;
604
+ "popup-visible-change": (visible: boolean) => any;
605
+ clear: () => any;
606
+ select: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
607
+ "update:modelValue": (value: import('./DatePicker').DatePickerValue) => any;
608
+ "update:pickerValue": (value: import('./DatePicker').DatePickerValue) => any;
609
+ ok: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
610
+ "picker-value-change": (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
611
+ "select-shortcut": (shortcut: import('./DatePicker').ShortcutType) => any;
612
+ }, string, {
613
+ error: boolean;
614
+ size: import('./_shared/type').Size;
615
+ popupVisible: boolean;
616
+ defaultPopupVisible: boolean;
617
+ disabled: boolean;
618
+ position: import('./DatePicker').DatePickerPosition;
619
+ unmountOnClose: boolean;
620
+ popupContainer: import('./_shared/type').PopupContainer;
621
+ placeholder: string;
622
+ locale: Record<string, any>;
623
+ modelValue: import('./DatePicker').DatePickerValue;
624
+ defaultValue: import('./DatePicker').DatePickerValue;
625
+ allowClear: boolean;
626
+ readonly: boolean;
627
+ triggerProps: import('./Trigger').TriggerProps;
628
+ hideTrigger: boolean;
629
+ format: string;
630
+ pickerValue: import('./DatePicker').DatePickerValue;
631
+ defaultPickerValue: import('./DatePicker').DatePickerValue;
632
+ valueFormat: import('./DatePicker').ValueFormat;
633
+ showConfirmBtn: boolean;
634
+ shortcutsPosition: import('./DatePicker').ShortcutsPosition;
635
+ shortcuts: import('./DatePicker').ShortcutType[];
636
+ previewShortcut: boolean;
637
+ disabledInput: boolean;
638
+ disabledDate: import('./DatePicker').DisabledDate;
639
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
640
+ $slots: any;
641
+ });
642
+ MonthPicker: {
643
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./DatePicker').MonthPickerProps> & Readonly<{
644
+ onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
645
+ "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
646
+ "onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
647
+ onClear?: (() => any) | undefined;
648
+ onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
649
+ "onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
650
+ "onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
651
+ onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
652
+ "onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
653
+ "onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
654
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
655
+ change: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
656
+ "update:popupVisible": (value: boolean) => any;
657
+ "popup-visible-change": (visible: boolean) => any;
658
+ clear: () => any;
659
+ select: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
660
+ "update:modelValue": (value: import('./DatePicker').DatePickerValue) => any;
661
+ "update:pickerValue": (value: import('./DatePicker').DatePickerValue) => any;
662
+ ok: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
663
+ "picker-value-change": (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
664
+ "select-shortcut": (shortcut: import('./DatePicker').ShortcutType) => any;
665
+ }, import('vue').PublicProps, {
666
+ error: boolean;
667
+ size: import('./_shared/type').Size;
668
+ popupVisible: boolean;
669
+ defaultPopupVisible: boolean;
670
+ disabled: boolean;
671
+ position: import('./DatePicker').DatePickerPosition;
672
+ unmountOnClose: boolean;
673
+ popupContainer: import('./_shared/type').PopupContainer;
674
+ placeholder: string;
675
+ locale: Record<string, any>;
676
+ modelValue: import('./DatePicker').DatePickerValue;
677
+ defaultValue: import('./DatePicker').DatePickerValue;
678
+ allowClear: boolean;
679
+ readonly: boolean;
680
+ triggerProps: import('./Trigger').TriggerProps;
681
+ hideTrigger: boolean;
682
+ format: string;
683
+ pickerValue: import('./DatePicker').DatePickerValue;
684
+ defaultPickerValue: import('./DatePicker').DatePickerValue;
685
+ valueFormat: import('./DatePicker').ValueFormat;
686
+ showConfirmBtn: boolean;
687
+ abbreviation: boolean;
688
+ shortcutsPosition: import('./DatePicker').ShortcutsPosition;
689
+ shortcuts: import('./DatePicker').ShortcutType[];
690
+ previewShortcut: boolean;
691
+ disabledInput: boolean;
692
+ disabledDate: import('./DatePicker').DisabledDate;
693
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
694
+ P: {};
695
+ B: {};
696
+ D: {};
697
+ C: {};
698
+ M: {};
699
+ Defaults: {};
700
+ }, Readonly<import('./DatePicker').MonthPickerProps> & Readonly<{
701
+ onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
702
+ "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
703
+ "onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
704
+ onClear?: (() => any) | undefined;
705
+ onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
706
+ "onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
707
+ "onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
708
+ onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
709
+ "onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
710
+ "onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
711
+ }>, {}, {}, {}, {}, {
712
+ error: boolean;
713
+ size: import('./_shared/type').Size;
714
+ popupVisible: boolean;
715
+ defaultPopupVisible: boolean;
716
+ disabled: boolean;
717
+ position: import('./DatePicker').DatePickerPosition;
718
+ unmountOnClose: boolean;
719
+ popupContainer: import('./_shared/type').PopupContainer;
720
+ placeholder: string;
721
+ locale: Record<string, any>;
722
+ modelValue: import('./DatePicker').DatePickerValue;
723
+ defaultValue: import('./DatePicker').DatePickerValue;
724
+ allowClear: boolean;
725
+ readonly: boolean;
726
+ triggerProps: import('./Trigger').TriggerProps;
727
+ hideTrigger: boolean;
728
+ format: string;
729
+ pickerValue: import('./DatePicker').DatePickerValue;
730
+ defaultPickerValue: import('./DatePicker').DatePickerValue;
731
+ valueFormat: import('./DatePicker').ValueFormat;
732
+ showConfirmBtn: boolean;
733
+ abbreviation: boolean;
734
+ shortcutsPosition: import('./DatePicker').ShortcutsPosition;
735
+ shortcuts: import('./DatePicker').ShortcutType[];
736
+ previewShortcut: boolean;
737
+ disabledInput: boolean;
738
+ disabledDate: import('./DatePicker').DisabledDate;
739
+ }>;
740
+ __isFragment?: never;
741
+ __isTeleport?: never;
742
+ __isSuspense?: never;
743
+ } & import('vue').ComponentOptionsBase<Readonly<import('./DatePicker').MonthPickerProps> & Readonly<{
744
+ onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
745
+ "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
746
+ "onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
747
+ onClear?: (() => any) | undefined;
748
+ onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
749
+ "onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
750
+ "onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
751
+ onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
752
+ "onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
753
+ "onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
754
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
755
+ change: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
756
+ "update:popupVisible": (value: boolean) => any;
757
+ "popup-visible-change": (visible: boolean) => any;
758
+ clear: () => any;
759
+ select: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
760
+ "update:modelValue": (value: import('./DatePicker').DatePickerValue) => any;
761
+ "update:pickerValue": (value: import('./DatePicker').DatePickerValue) => any;
762
+ ok: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
763
+ "picker-value-change": (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
764
+ "select-shortcut": (shortcut: import('./DatePicker').ShortcutType) => any;
765
+ }, string, {
766
+ error: boolean;
767
+ size: import('./_shared/type').Size;
768
+ popupVisible: boolean;
769
+ defaultPopupVisible: boolean;
770
+ disabled: boolean;
771
+ position: import('./DatePicker').DatePickerPosition;
772
+ unmountOnClose: boolean;
773
+ popupContainer: import('./_shared/type').PopupContainer;
774
+ placeholder: string;
775
+ locale: Record<string, any>;
776
+ modelValue: import('./DatePicker').DatePickerValue;
777
+ defaultValue: import('./DatePicker').DatePickerValue;
778
+ allowClear: boolean;
779
+ readonly: boolean;
780
+ triggerProps: import('./Trigger').TriggerProps;
781
+ hideTrigger: boolean;
782
+ format: string;
783
+ pickerValue: import('./DatePicker').DatePickerValue;
784
+ defaultPickerValue: import('./DatePicker').DatePickerValue;
785
+ valueFormat: import('./DatePicker').ValueFormat;
786
+ showConfirmBtn: boolean;
787
+ abbreviation: boolean;
788
+ shortcutsPosition: import('./DatePicker').ShortcutsPosition;
789
+ shortcuts: import('./DatePicker').ShortcutType[];
790
+ previewShortcut: boolean;
791
+ disabledInput: boolean;
792
+ disabledDate: import('./DatePicker').DisabledDate;
793
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
794
+ $slots: any;
795
+ });
490
796
  DropdownButton: {
491
797
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Dropdown').DropdownButtonProps> & Readonly<{
492
798
  onClick?: ((ev: MouseEvent) => any) | undefined;
package/es/index.js CHANGED
@@ -17,6 +17,7 @@ import Cascader from "./Cascader/index.js";
17
17
  import Comment from "./Comment/index.js";
18
18
  import ConfigProvider from "./ConfigProvider/index.js";
19
19
  import Descriptions from "./Descriptions/index.js";
20
+ import DatePicker from "./DatePicker/index.js";
20
21
  import Divider from "./Divider/index.js";
21
22
  import Drawer from "./Drawer/index.js";
22
23
  import Dropdown from "./Dropdown/index.js";
@@ -122,25 +123,29 @@ import _sfc_main$r from "./Dropdown/Dgroup.vue.js";
122
123
  import _sfc_main$s from "./Dropdown/Doption.vue.js";
123
124
  /* empty css */
124
125
  import _sfc_main$t from "./Dropdown/DropdownButton.vue.js";
125
- import _sfc_main$u from "./Descriptions/DescriptionsItem.vue.js";
126
- import _sfc_main$v from "./Statistic/Countdown.vue.js";
127
- import _sfc_main$w from "./Collapse/CollapseItem.vue.js";
126
+ import _sfc_main$u from "./DatePicker/YcMonthPicker.vue.js";
127
+ /* empty css */
128
+ import _sfc_main$v from "./DatePicker/YcYearPicker.vue.js";
129
+ /* empty css */
130
+ import _sfc_main$w from "./Descriptions/DescriptionsItem.vue.js";
131
+ import _sfc_main$x from "./Statistic/Countdown.vue.js";
132
+ import _sfc_main$y from "./Collapse/CollapseItem.vue.js";
128
133
  /* empty css */
129
- import _sfc_main$x from "./Checkbox/CheckboxGroup.vue.js";
134
+ import _sfc_main$z from "./Checkbox/CheckboxGroup.vue.js";
130
135
  /* empty css */
131
- import _sfc_main$y from "./Carousel/CarouselItem.vue.js";
136
+ import _sfc_main$A from "./Carousel/CarouselItem.vue.js";
132
137
  /* empty css */
133
- import _sfc_main$z from "./Card/CardMeta.vue.js";
138
+ import _sfc_main$B from "./Card/CardMeta.vue.js";
134
139
  /* empty css */
135
- import _sfc_main$A from "./Card/CardGrid.vue.js";
140
+ import _sfc_main$C from "./Card/CardGrid.vue.js";
136
141
  /* empty css */
137
- import _sfc_main$B from "./Breadcrumb/BreadcrumbItem.vue.js";
142
+ import _sfc_main$D from "./Breadcrumb/BreadcrumbItem.vue.js";
138
143
  /* empty css */
139
- import _sfc_main$C from "./Button/ButtonGroup.vue.js";
144
+ import _sfc_main$E from "./Button/ButtonGroup.vue.js";
140
145
  /* empty css */
141
- import _sfc_main$D from "./Avatar/AvatarGroup.vue.js";
146
+ import _sfc_main$F from "./Avatar/AvatarGroup.vue.js";
142
147
  /* empty css */
143
- import _sfc_main$E from "./Anchor/AnchorLink.vue.js";
148
+ import _sfc_main$G from "./Anchor/AnchorLink.vue.js";
144
149
  /* empty css */
145
150
  import { default as default2 } from "./Cascader/CascaderDataPanel.vue.js";
146
151
  import { default as default3 } from "./Input/InputGroup.vue.js";
@@ -167,6 +172,7 @@ const components = {
167
172
  Comment,
168
173
  ConfigProvider,
169
174
  Descriptions,
175
+ DatePicker,
170
176
  Divider,
171
177
  Drawer,
172
178
  Dropdown,
@@ -219,17 +225,19 @@ const components = {
219
225
  };
220
226
  const YcDesignVue = {
221
227
  ...components,
222
- AnchorLink: _sfc_main$E,
223
- AvatarGroup: _sfc_main$D,
224
- ButtonGroup: _sfc_main$C,
225
- BreadcrumbItem: _sfc_main$B,
226
- CardGrid: _sfc_main$A,
227
- CardMeta: _sfc_main$z,
228
- CarouselItem: _sfc_main$y,
229
- CheckboxGroup: _sfc_main$x,
230
- CollapseItem: _sfc_main$w,
231
- Countdown: _sfc_main$v,
232
- DescriptionsItem: _sfc_main$u,
228
+ AnchorLink: _sfc_main$G,
229
+ AvatarGroup: _sfc_main$F,
230
+ ButtonGroup: _sfc_main$E,
231
+ BreadcrumbItem: _sfc_main$D,
232
+ CardGrid: _sfc_main$C,
233
+ CardMeta: _sfc_main$B,
234
+ CarouselItem: _sfc_main$A,
235
+ CheckboxGroup: _sfc_main$z,
236
+ CollapseItem: _sfc_main$y,
237
+ Countdown: _sfc_main$x,
238
+ DescriptionsItem: _sfc_main$w,
239
+ YearPicker: _sfc_main$v,
240
+ MonthPicker: _sfc_main$u,
233
241
  DropdownButton: _sfc_main$t,
234
242
  Doption: _sfc_main$s,
235
243
  Dgroup: _sfc_main$r,
@@ -270,34 +278,35 @@ export {
270
278
  Affix,
271
279
  Alert,
272
280
  Anchor,
273
- _sfc_main$E as AnchorLink,
281
+ _sfc_main$G as AnchorLink,
274
282
  AutoComplete,
275
283
  Avatar,
276
- _sfc_main$D as AvatarGroup,
284
+ _sfc_main$F as AvatarGroup,
277
285
  BackTop,
278
286
  Badge,
279
287
  Breadcrumb,
280
- _sfc_main$B as BreadcrumbItem,
288
+ _sfc_main$D as BreadcrumbItem,
281
289
  Button,
282
- _sfc_main$C as ButtonGroup,
290
+ _sfc_main$E as ButtonGroup,
283
291
  Calendar,
284
292
  Card,
285
- _sfc_main$A as CardGrid,
286
- _sfc_main$z as CardMeta,
293
+ _sfc_main$C as CardGrid,
294
+ _sfc_main$B as CardMeta,
287
295
  Carousel,
288
- _sfc_main$y as CarouselItem,
296
+ _sfc_main$A as CarouselItem,
289
297
  Cascader,
290
298
  default2 as CascaderPanel,
291
299
  Checkbox,
292
- _sfc_main$x as CheckboxGroup,
300
+ _sfc_main$z as CheckboxGroup,
293
301
  Collapse,
294
- _sfc_main$w as CollapseItem,
302
+ _sfc_main$y as CollapseItem,
295
303
  ColorPicker,
296
304
  Comment,
297
305
  ConfigProvider,
298
- _sfc_main$v as Countdown,
306
+ _sfc_main$x as Countdown,
307
+ DatePicker,
299
308
  Descriptions,
300
- _sfc_main$u as DescriptionsItem,
309
+ _sfc_main$w as DescriptionsItem,
301
310
  _sfc_main$r as Dgroup,
302
311
  Divider,
303
312
  _sfc_main$s as Doption,
@@ -84,10 +84,6 @@ const lang = {
84
84
  countPerPage: '条/页',
85
85
  total: '共 {0} 条',
86
86
  },
87
- table: {
88
- okText: '确定',
89
- resetText: '重置',
90
- },
91
87
  upload: {
92
88
  start: '开始',
93
89
  cancel: '取消',
@@ -100,6 +96,29 @@ const lang = {
100
96
  error: '上传失败',
101
97
  },
102
98
  calendar: calendarLang,
99
+ image: {
100
+ loading: '加载中',
101
+ },
102
+ imagePreview: {
103
+ fullScreen: '全屏',
104
+ rotateRight: '向右旋转',
105
+ rotateLeft: '向左旋转',
106
+ zoomIn: '放大',
107
+ zoomOut: '缩小',
108
+ originalSize: '原始尺寸',
109
+ },
110
+ typography: {
111
+ copied: '已复制',
112
+ copy: '复制',
113
+ expand: '展开',
114
+ collapse: '折叠',
115
+ edit: '编辑',
116
+ },
117
+ colorPicker: {
118
+ history: '最近使用颜色',
119
+ preset: '系统预设颜色',
120
+ empty: '暂无',
121
+ },
103
122
  datePicker: {
104
123
  view: calendarLang.view,
105
124
  month: calendarLang.month,
@@ -125,23 +144,9 @@ const lang = {
125
144
  now: '此刻',
126
145
  ok: '确定',
127
146
  },
128
- image: {
129
- loading: '加载中',
130
- },
131
- imagePreview: {
132
- fullScreen: '全屏',
133
- rotateRight: '向右旋转',
134
- rotateLeft: '向左旋转',
135
- zoomIn: '放大',
136
- zoomOut: '缩小',
137
- originalSize: '原始尺寸',
138
- },
139
- typography: {
140
- copied: '已复制',
141
- copy: '复制',
142
- expand: '展开',
143
- collapse: '折叠',
144
- edit: '编辑',
147
+ table: {
148
+ okText: '确定',
149
+ resetText: '重置',
145
150
  },
146
151
  form: {
147
152
  validateMessages: {
@@ -191,10 +196,5 @@ const lang = {
191
196
  },
192
197
  },
193
198
  },
194
- colorPicker: {
195
- history: '最近使用颜色',
196
- preset: '系统预设颜色',
197
- empty: '暂无',
198
- },
199
199
  };
200
200
  export { lang as default };
@@ -0,0 +1,33 @@
1
+ import { commonjsGlobal, getDefaultExportFromCjs } from "../../../_virtual/_commonjsHelpers.js";
2
+ import { __module as isoWeek$1 } from "../../../_virtual/isoWeek.js";
3
+ (function(module, exports) {
4
+ !function(e, t) {
5
+ module.exports = t();
6
+ }(commonjsGlobal, function() {
7
+ var e = "day";
8
+ return function(t, i, s) {
9
+ var a = function(t2) {
10
+ return t2.add(4 - t2.isoWeekday(), e);
11
+ }, d = i.prototype;
12
+ d.isoWeekYear = function() {
13
+ return a(this).year();
14
+ }, d.isoWeek = function(t2) {
15
+ if (!this.$utils().u(t2)) return this.add(7 * (t2 - this.isoWeek()), e);
16
+ var i2, d2, n2, o, r = a(this), u = (i2 = this.isoWeekYear(), d2 = this.$u, n2 = (d2 ? s.utc : s)().year(i2).startOf("year"), o = 4 - n2.isoWeekday(), n2.isoWeekday() > 4 && (o += 7), n2.add(o, e));
17
+ return r.diff(u, "week") + 1;
18
+ }, d.isoWeekday = function(e2) {
19
+ return this.$utils().u(e2) ? this.day() || 7 : this.day(this.day() % 7 ? e2 : e2 - 7);
20
+ };
21
+ var n = d.startOf;
22
+ d.startOf = function(e2, t2) {
23
+ var i2 = this.$utils(), s2 = !!i2.u(t2) || t2;
24
+ return "isoweek" === i2.p(e2) ? s2 ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : n.bind(this)(e2, t2);
25
+ };
26
+ };
27
+ });
28
+ })(isoWeek$1);
29
+ var isoWeekExports = isoWeek$1.exports;
30
+ const isoWeek = /* @__PURE__ */ getDefaultExportFromCjs(isoWeekExports);
31
+ export {
32
+ isoWeek as default
33
+ };