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.
- package/dist/index.umd.js +1 -1
- package/dist/lang-es/zh-cn.js +26 -26
- package/dist/style.css +1 -1
- package/es/Alert/index.vue.js +3 -3
- package/es/Anchor/hooks/useContext.d.ts +1 -1
- package/es/Anchor/hooks/useContext.js +5 -9
- package/es/Avatar/Avatar.vue.js +2 -2
- package/es/BackTop/index.vue.js +2 -2
- package/es/Breadcrumb/BreadcrumbItem.vue.js +2 -2
- package/es/Breadcrumb/BreadcrumbMore.vue.js +2 -2
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +2 -2
- package/es/Calendar/Calendar.vue.js +3 -3
- package/es/Carousel/CarouselArrow.vue.js +2 -2
- package/es/Carousel/hooks/useContext.d.ts +11 -2
- package/es/Carousel/hooks/useContext.js +4 -4
- package/es/Cascader/Cascader.vue.d.ts +2 -1
- package/es/Cascader/Cascader.vue.js +5 -3
- package/es/Cascader/CascaderDataPanel.vue.d.ts +33 -0
- package/es/Cascader/CascaderDataPanel.vue.js +48 -0
- package/es/Cascader/CascaderDataPanel.vue2.js +4 -0
- package/es/Cascader/CascaderIcon.vue.js +3 -3
- package/es/Cascader/CascaderOption.vue.js +2 -2
- package/es/Cascader/CascaderPanel.vue.js +8 -2
- package/es/Cascader/hooks/useContext.d.ts +69 -8
- package/es/Cascader/hooks/useContext.js +5 -13
- package/es/Cascader/index.css +1 -1
- package/es/Cascader/index.d.ts +9 -3
- package/es/Cascader/index.js +3 -0
- package/es/Cascader/type.d.ts +9 -0
- package/es/Checkbox/Checkbox.vue.js +3 -3
- package/es/Collapse/CollapseItem.vue.js +4 -4
- package/es/ColorPicker/hooks/useContext.d.ts +12 -1
- package/es/ColorPicker/hooks/useContext.js +5 -5
- package/es/DatePicker/PickerRange.vue.d.ts +2 -0
- package/es/DatePicker/PickerRange.vue.js +15 -0
- package/es/DatePicker/PickerRange.vue2.js +4 -0
- package/es/DatePicker/YcDatePicker.vue.d.ts +2 -0
- package/es/DatePicker/YcDatePicker.vue.js +15 -0
- package/es/DatePicker/YcDatePicker.vue2.js +4 -0
- package/es/DatePicker/YcMonthPicker.vue.d.ts +64 -0
- package/es/DatePicker/YcMonthPicker.vue.js +234 -0
- package/es/DatePicker/YcMonthPicker.vue3.js +5 -0
- package/es/DatePicker/YcWeekPicker.vue.d.ts +65 -0
- package/es/DatePicker/YcWeekPicker.vue.js +7 -0
- package/es/DatePicker/YcWeekPicker.vue2.js +319 -0
- package/es/DatePicker/YcYearPicker.vue.d.ts +63 -0
- package/es/DatePicker/YcYearPicker.vue.js +200 -0
- package/es/DatePicker/YcYearPicker.vue3.js +5 -0
- package/es/DatePicker/component/PickerCell.vue.d.ts +36 -0
- package/es/DatePicker/component/PickerCell.vue.js +7 -0
- package/es/DatePicker/component/PickerCell.vue2.js +41 -0
- package/es/DatePicker/component/PickerInput.vue.d.ts +297 -0
- package/es/DatePicker/component/PickerInput.vue.js +7 -0
- package/es/DatePicker/component/PickerInput.vue2.js +125 -0
- package/es/DatePicker/component/PickerPanel.vue.d.ts +33 -0
- package/es/DatePicker/component/PickerPanel.vue.js +108 -0
- package/es/DatePicker/component/PickerPanel.vue3.js +5 -0
- package/es/DatePicker/hooks/useContext.d.ts +19 -0
- package/es/DatePicker/hooks/useContext.js +37 -0
- package/es/DatePicker/hooks/userPicker.d.ts +44 -0
- package/es/DatePicker/hooks/userPicker.js +221 -0
- package/es/DatePicker/index.css +3 -0
- package/es/DatePicker/index.d.ts +38 -0
- package/es/DatePicker/index.js +23 -0
- package/es/DatePicker/type.d.ts +104 -0
- package/es/Drawer/Drawer.vue.js +3 -3
- package/es/Drawer/DrawerService.vue.js +1 -1
- package/es/Dropdown/DropdownButton.vue.js +2 -2
- package/es/Dropdown/Dsubmenu.vue.js +2 -2
- package/es/Empty/index.vue.js +2 -2
- package/es/Grid/hooks/useContext.d.ts +6 -2
- package/es/Grid/hooks/useContext.js +5 -7
- package/es/Image/Image.vue.js +2 -2
- package/es/Image/ImagePreview.vue.js +2 -2
- package/es/Image/ImagePreviewArrow.vue.js +2 -2
- package/es/Image/ImagePreviewToolbar.vue.js +2 -2
- package/es/Input/Input.vue.js +3 -3
- package/es/Input/InputPassword.vue.js +3 -3
- package/es/Input/InputSearch.vue.js +3 -3
- package/es/InputNumber/InputOperaBtn.vue.js +2 -2
- package/es/InputTag/index.vue.js +3 -3
- package/es/Layout/LayoutSider.vue.js +2 -2
- package/es/Link/index.vue.js +2 -2
- package/es/Menu/Menu.vue.js +2 -2
- package/es/Menu/MenuEllipsis.vue.js +2 -2
- package/es/Menu/SubMenu.vue.js +3 -3
- package/es/Menu/hooks/useContext.d.ts +17 -2
- package/es/Menu/hooks/useContext.js +5 -7
- package/es/Message/Message.vue.js +4 -4
- package/es/Modal/Modal.vue.js +3 -3
- package/es/Modal/ModalService.vue.js +2 -2
- package/es/Notification/Notification.vue.js +5 -5
- package/es/PageHeader/index.vue.js +3 -3
- package/es/Pagination/PaginationItem.vue.js +2 -2
- package/es/Progress/ProgressCircle.vue.js +3 -3
- package/es/Radio/Radio.vue.js +3 -3
- package/es/Rate/index.vue.js +2 -2
- package/es/ResizeBox/index.vue.js +2 -2
- package/es/Select/SelectIcon.vue.js +3 -3
- package/es/Select/hooks/useContext.d.ts +2 -2
- package/es/Select/hooks/useSelectOptions.d.ts +2 -2
- package/es/Slider/hooks/useContext.d.ts +12 -6
- package/es/Slider/hooks/useContext.js +5 -12
- package/es/Spin/index.vue.js +2 -2
- package/es/Split/index.vue.js +2 -2
- package/es/Statistic/Statistic.vue.js +3 -3
- package/es/Steps/Step.vue.js +2 -2
- package/es/Steps/hooks/useContext.d.ts +9 -1
- package/es/Steps/hooks/useContext.js +3 -6
- package/es/Tabs/TabButton.vue.js +3 -3
- package/es/Tabs/Tabs.vue.js +2 -2
- package/es/Tabs/hooks/useContext.d.ts +9 -2
- package/es/Tabs/hooks/useContext.js +5 -9
- package/es/Tag/index.vue.js +3 -3
- package/es/Textarea/index.vue.js +3 -3
- package/es/TimePicker/TimePicker.vue.js +4 -4
- package/es/TimePicker/hooks/useContext.d.ts +17 -7
- package/es/TimePicker/hooks/useContext.js +4 -9
- package/es/Timeline/hooks/useContext.d.ts +4 -2
- package/es/Timeline/hooks/useContext.js +3 -6
- package/es/Transfer/Transfer.vue.js +2 -2
- package/es/Transfer/TransferPanel.vue.js +3 -3
- package/es/Transfer/hooks/useContext.d.ts +1 -6
- package/es/Transfer/hooks/useContext.js +3 -7
- package/es/Trigger/index.vue.js +2 -2
- package/es/Typography/TypographyBase.vue.js +2 -2
- package/es/Upload/Upload.vue.js +6 -4
- package/es/Upload/UploadButton.vue.js +2 -2
- package/es/Upload/UploadDrag.vue.js +2 -2
- package/es/Upload/UploadFileList.vue.js +129 -5
- package/es/Upload/UploadFileList.vue3.js +5 -0
- package/es/Upload/UploadPictureCard.vue.js +135 -5
- package/es/Upload/UploadPictureCard.vue3.js +5 -0
- package/es/_shared/components/ExpandTransition/index.vue3.js +2 -2
- package/es/_shared/components/IconButton/{index.vue2.js → index.vue.js} +2 -2
- package/es/_shared/components/IconButton/index.vue3.js +2 -2
- package/es/_shared/constants/index.js +2 -2
- package/es/_shared/icons/IconArrowDown.vue.js +2 -2
- package/es/_shared/icons/IconArrowRight.vue.js +2 -2
- package/es/_shared/icons/IconCalendar.vue.d.ts +2 -0
- package/es/_shared/icons/IconCalendar.vue.js +4 -0
- package/es/_shared/icons/IconCalendar.vue2.js +31 -0
- package/es/_shared/icons/IconCheck.vue.js +2 -2
- package/es/_shared/icons/IconCheckboxChecked.vue.js +2 -2
- package/es/_shared/icons/IconClose.vue.js +2 -2
- package/es/_shared/icons/IconCopy.vue2.js +2 -2
- package/es/_shared/icons/IconDelete.vue2.js +2 -2
- package/es/_shared/icons/IconDoubleLeft.vue.d.ts +2 -0
- package/es/_shared/icons/IconDoubleLeft.vue.js +31 -0
- package/es/_shared/icons/IconDoubleLeft.vue2.js +4 -0
- package/es/_shared/icons/IconDoubleRight.vue.d.ts +2 -0
- package/es/_shared/icons/IconDoubleRight.vue.js +31 -0
- package/es/_shared/icons/IconDoubleRight.vue2.js +4 -0
- package/es/_shared/icons/IconDragDot.vue.js +2 -2
- package/es/_shared/icons/IconEdit.vue2.js +2 -2
- package/es/_shared/icons/IconEmpty.vue.js +2 -2
- package/es/_shared/icons/IconError.vue.js +2 -2
- package/es/_shared/icons/IconExclamation.vue.js +1 -39
- package/es/_shared/icons/IconExclamation.vue2.js +39 -1
- package/es/_shared/icons/IconEyeClose.vue.js +2 -2
- package/es/_shared/icons/IconEyeOpen.vue.js +2 -2
- package/es/_shared/icons/IconFaceSmile.vue.js +2 -2
- package/es/_shared/icons/IconFile.vue2.js +2 -2
- package/es/_shared/icons/IconFullScreen.vue2.js +2 -2
- package/es/_shared/icons/IconImageClose.vue.js +2 -2
- package/es/_shared/icons/IconInfo.vue.js +2 -2
- package/es/_shared/icons/IconInfoLine.vue.js +2 -2
- package/es/_shared/icons/IconLink.vue.js +2 -2
- package/es/_shared/icons/IconLoading.vue.js +2 -2
- package/es/_shared/icons/IconMenuFold.vue.js +2 -2
- package/es/_shared/icons/IconMenuUnfold.vue.js +2 -2
- package/es/_shared/icons/IconMinus.vue2.js +2 -2
- package/es/_shared/icons/IconMore.vue.js +2 -2
- package/es/_shared/icons/IconOriginSize.vue2.js +2 -2
- package/es/_shared/icons/IconPlus.vue.js +2 -2
- package/es/_shared/icons/IconRight.vue.js +2 -2
- package/es/_shared/icons/IconRotateLeft.vue2.js +2 -2
- package/es/_shared/icons/IconRotateRight.vue2.js +2 -2
- package/es/_shared/icons/IconSearch.vue.js +2 -2
- package/es/_shared/icons/IconSeparator.vue2.js +2 -2
- package/es/_shared/icons/IconStar.vue.js +2 -2
- package/es/_shared/icons/IconSuccess.vue.js +2 -2
- package/es/_shared/icons/IconTime.vue.js +2 -2
- package/es/_shared/icons/IconToTop.vue.js +2 -2
- package/es/_shared/icons/IconUpload.vue2.js +2 -2
- package/es/_shared/icons/IconWarning.vue.js +2 -2
- package/es/_shared/icons/IconZoomIn.vue2.js +2 -2
- package/es/_shared/icons/IconZoomOut.vue2.js +2 -2
- package/es/_shared/icons/index.d.ts +3 -0
- package/es/_shared/type/index.d.ts +1 -1
- package/es/_shared/utils/hooks.js +1 -1
- package/es/_shared/utils/time.d.ts +0 -1
- package/es/_shared/utils/time.js +0 -4
- package/es/_shared/utils/vue-utils.d.ts +1 -1
- package/es/_virtual/isoWeek.js +4 -0
- package/es/index.d.ts +295 -1
- package/es/index.js +50 -39
- package/es/lang-es/zh-cn.js +26 -26
- package/es/node_modules/dayjs/plugin/isoWeek.js +33 -0
- package/es/src/lang/lang-es/zh-cn.js +26 -26
- package/es/style.css +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Anchor/hooks/useContext.d.ts +1 -1
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/hooks/useContext.d.ts +11 -2
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +2 -1
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderDataPanel.vue.d.ts +33 -0
- package/lib/Cascader/CascaderDataPanel.vue.js +1 -0
- package/lib/Cascader/CascaderDataPanel.vue2.js +1 -0
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/CascaderPanel.vue.js +1 -1
- package/lib/Cascader/hooks/useContext.d.ts +69 -8
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.css +1 -1
- package/lib/Cascader/index.d.ts +9 -3
- package/lib/Cascader/index.js +1 -1
- package/lib/Cascader/type.d.ts +9 -0
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/ColorPicker/hooks/useContext.d.ts +12 -1
- package/lib/ColorPicker/hooks/useContext.js +1 -1
- package/lib/DatePicker/PickerRange.vue.d.ts +2 -0
- package/lib/DatePicker/PickerRange.vue.js +1 -0
- package/lib/DatePicker/PickerRange.vue2.js +1 -0
- package/lib/DatePicker/YcDatePicker.vue.d.ts +2 -0
- package/lib/DatePicker/YcDatePicker.vue.js +1 -0
- package/lib/DatePicker/YcDatePicker.vue2.js +1 -0
- package/lib/DatePicker/YcMonthPicker.vue.d.ts +64 -0
- package/lib/DatePicker/YcMonthPicker.vue.js +1 -0
- package/lib/DatePicker/YcMonthPicker.vue3.js +1 -0
- package/lib/DatePicker/YcWeekPicker.vue.d.ts +65 -0
- package/lib/DatePicker/YcWeekPicker.vue.js +1 -0
- package/lib/DatePicker/YcWeekPicker.vue2.js +1 -0
- package/lib/DatePicker/YcYearPicker.vue.d.ts +63 -0
- package/lib/DatePicker/YcYearPicker.vue.js +1 -0
- package/lib/DatePicker/YcYearPicker.vue3.js +1 -0
- package/lib/DatePicker/component/PickerCell.vue.d.ts +36 -0
- package/lib/DatePicker/component/PickerCell.vue.js +1 -0
- package/lib/DatePicker/component/PickerCell.vue2.js +1 -0
- package/lib/DatePicker/component/PickerInput.vue.d.ts +297 -0
- package/lib/DatePicker/component/PickerInput.vue.js +1 -0
- package/lib/DatePicker/component/PickerInput.vue2.js +1 -0
- package/lib/DatePicker/component/PickerPanel.vue.d.ts +33 -0
- package/lib/DatePicker/component/PickerPanel.vue.js +1 -0
- package/lib/DatePicker/component/PickerPanel.vue3.js +1 -0
- package/lib/DatePicker/hooks/useContext.d.ts +19 -0
- package/lib/DatePicker/hooks/useContext.js +1 -0
- package/lib/DatePicker/hooks/userPicker.d.ts +44 -0
- package/lib/DatePicker/hooks/userPicker.js +1 -0
- package/lib/DatePicker/index.css +3 -0
- package/lib/DatePicker/index.d.ts +38 -0
- package/lib/DatePicker/index.js +1 -0
- package/lib/DatePicker/type.d.ts +104 -0
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Grid/hooks/useContext.d.ts +6 -2
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputPassword.vue.js +1 -1
- package/lib/Input/InputSearch.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/hooks/useContext.d.ts +17 -2
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +2 -2
- package/lib/Select/hooks/useSelectOptions.d.ts +2 -2
- package/lib/Slider/hooks/useContext.d.ts +12 -6
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/hooks/useContext.d.ts +9 -1
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/hooks/useContext.d.ts +9 -2
- package/lib/Tabs/hooks/useContext.js +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.d.ts +17 -7
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/Timeline/hooks/useContext.d.ts +4 -2
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.d.ts +1 -6
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Upload/Upload.vue.js +1 -1
- package/lib/Upload/UploadButton.vue.js +1 -1
- package/lib/Upload/UploadDrag.vue.js +1 -1
- package/lib/Upload/UploadFileList.vue.js +1 -1
- package/lib/Upload/UploadFileList.vue3.js +1 -0
- package/lib/Upload/UploadPictureCard.vue.js +1 -1
- package/lib/Upload/UploadPictureCard.vue3.js +1 -0
- package/lib/_shared/components/ExpandTransition/index.vue3.js +1 -1
- package/lib/_shared/components/IconButton/{index.vue2.js → index.vue.js} +1 -1
- package/lib/_shared/components/IconButton/index.vue3.js +1 -1
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
- package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
- package/lib/_shared/icons/IconCalendar.vue.d.ts +2 -0
- package/lib/_shared/icons/IconCalendar.vue.js +1 -0
- package/lib/_shared/icons/IconCalendar.vue2.js +1 -0
- package/lib/_shared/icons/IconCheck.vue.js +1 -1
- package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/lib/_shared/icons/IconClose.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconDoubleLeft.vue.d.ts +2 -0
- package/lib/_shared/icons/IconDoubleLeft.vue.js +1 -0
- package/lib/_shared/icons/IconDoubleLeft.vue2.js +1 -0
- package/lib/_shared/icons/IconDoubleRight.vue.d.ts +2 -0
- package/lib/_shared/icons/IconDoubleRight.vue.js +1 -0
- package/lib/_shared/icons/IconDoubleRight.vue2.js +1 -0
- package/lib/_shared/icons/IconDragDot.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEmpty.vue.js +1 -1
- package/lib/_shared/icons/IconError.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/lib/_shared/icons/IconFile.vue2.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconImageClose.vue.js +1 -1
- package/lib/_shared/icons/IconInfo.vue.js +1 -1
- package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
- package/lib/_shared/icons/IconLink.vue.js +1 -1
- package/lib/_shared/icons/IconLoading.vue.js +1 -1
- package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
- package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/icons/IconStar.vue.js +1 -1
- package/lib/_shared/icons/IconSuccess.vue.js +1 -1
- package/lib/_shared/icons/IconTime.vue.js +1 -1
- package/lib/_shared/icons/IconToTop.vue.js +1 -1
- package/lib/_shared/icons/IconUpload.vue2.js +1 -1
- package/lib/_shared/icons/IconWarning.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/icons/index.d.ts +3 -0
- package/lib/_shared/type/index.d.ts +1 -1
- package/lib/_shared/utils/hooks.js +1 -1
- package/lib/_shared/utils/time.d.ts +0 -1
- package/lib/_shared/utils/time.js +1 -1
- package/lib/_shared/utils/vue-utils.d.ts +1 -1
- package/lib/_virtual/isoWeek.js +1 -0
- package/lib/index.d.ts +295 -1
- package/lib/index.js +1 -1
- package/lib/lang-es/zh-cn.js +26 -26
- package/lib/node_modules/dayjs/plugin/isoWeek.js +1 -0
- package/lib/src/lang/lang-es/zh-cn.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/Upload/UploadFileList.vue2.js +0 -131
- package/es/Upload/UploadPictureCard.vue2.js +0 -137
- package/lib/Upload/UploadFileList.vue2.js +0 -1
- package/lib/Upload/UploadPictureCard.vue2.js +0 -1
- /package/es/_shared/components/ExpandTransition/{index.vue.js → index.vue2.js} +0 -0
- /package/lib/_shared/components/ExpandTransition/{index.vue.js → index.vue2.js} +0 -0
@@ -9,8 +9,8 @@ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../utils/dom.js";
|
10
10
|
import "../utils/locale.js";
|
11
11
|
import "../utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
15
15
|
/* empty css */
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -9,8 +9,8 @@ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../utils/dom.js";
|
10
10
|
import "../utils/locale.js";
|
11
11
|
import "../utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
15
15
|
/* empty css */
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -9,8 +9,8 @@ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../utils/dom.js";
|
10
10
|
import "../utils/locale.js";
|
11
11
|
import "../utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
15
15
|
/* empty css */
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -9,8 +9,8 @@ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../utils/dom.js";
|
10
10
|
import "../utils/locale.js";
|
11
11
|
import "../utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
15
15
|
/* empty css */
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -9,8 +9,8 @@ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../utils/dom.js";
|
10
10
|
import "../utils/locale.js";
|
11
11
|
import "../utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
15
15
|
/* empty css */
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -9,8 +9,8 @@ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../utils/dom.js";
|
10
10
|
import "../utils/locale.js";
|
11
11
|
import "../utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
15
15
|
/* empty css */
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -9,8 +9,8 @@ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../utils/dom.js";
|
10
10
|
import "../utils/locale.js";
|
11
11
|
import "../utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
15
15
|
/* empty css */
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -9,8 +9,8 @@ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../utils/dom.js";
|
10
10
|
import "../utils/locale.js";
|
11
11
|
import "../utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
15
15
|
/* empty css */
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -9,8 +9,8 @@ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../utils/dom.js";
|
10
10
|
import "../utils/locale.js";
|
11
11
|
import "../utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
15
15
|
/* empty css */
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -9,8 +9,8 @@ import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
|
9
9
|
import "../utils/dom.js";
|
10
10
|
import "../utils/locale.js";
|
11
11
|
import "../utils/time.js";
|
12
|
-
/* empty css
|
13
|
-
/* empty css
|
12
|
+
/* empty css */
|
13
|
+
/* empty css */
|
14
14
|
import _sfc_main$1 from "../components/Icon/index.vue3.js";
|
15
15
|
/* empty css */
|
16
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -39,3 +39,6 @@ export { default as IconZoomIn } from './IconZoomIn.vue';
|
|
39
39
|
export { default as IconZoomOut } from './IconZoomOut.vue';
|
40
40
|
export { default as IconUpload } from './IconUpload.vue';
|
41
41
|
export { default as IconFile } from './IconFile.vue';
|
42
|
+
export { default as IconDoubleLeft } from './IconDoubleLeft.vue';
|
43
|
+
export { default as IconDoubleRight } from './IconDoubleRight.vue';
|
44
|
+
export { default as IconCalendar } from './IconCalendar.vue';
|
@@ -22,7 +22,7 @@ export type Position = 'left' | 'right' | 'top' | 'bottom';
|
|
22
22
|
export type Type<T = never> = 'success' | 'warning' | 'error' | 'info' | T;
|
23
23
|
export type Status<T = never> = 'success' | 'warning' | 'danger' | 'normal' | T;
|
24
24
|
export type ClassName = string | Record<string, boolean> | (string | Record<string, boolean>)[];
|
25
|
-
export type RenderContent = string | RecordType[] | RenderFunction;
|
25
|
+
export type RenderContent = string | number | RecordType[] | RenderFunction;
|
26
26
|
export type RecordType<T = any> = Record<string, T>;
|
27
27
|
export type Required<T> = {
|
28
28
|
[P in keyof T]-?: T[P] extends object ? Required<T[P]> : T[P];
|
@@ -9,4 +9,3 @@ export interface CalendarCellData {
|
|
9
9
|
}
|
10
10
|
export declare const generateMonthCalendar: (year: number, month: number) => CalendarCellData[][];
|
11
11
|
export declare const formatSeconds: (time: number, format: string, type?: dayjs.UnitType) => string;
|
12
|
-
export declare const formatDate: (value: string | number | Date, format: string) => string;
|
package/es/_shared/utils/time.js
CHANGED
@@ -43,11 +43,7 @@ const generateMonthCalendar = (year, month) => {
|
|
43
43
|
const formatSeconds = (time, format, type = "milliseconds") => {
|
44
44
|
return dayjs.duration(time, type).format(format);
|
45
45
|
};
|
46
|
-
const formatDate = (value, format) => {
|
47
|
-
return dayjs(value).format(format);
|
48
|
-
};
|
49
46
|
export {
|
50
|
-
formatDate,
|
51
47
|
formatSeconds,
|
52
48
|
generateMonthCalendar,
|
53
49
|
isValidTimeRange
|
@@ -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[];
|
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,299 @@ 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
|
+
valueFormat: import('./DatePicker').ValueFormat;
|
533
|
+
showConfirmBtn: boolean;
|
534
|
+
shortcutsPosition: import('./DatePicker').ShortcutsPosition;
|
535
|
+
shortcuts: import('./DatePicker').ShortcutType[];
|
536
|
+
previewShortcut: boolean;
|
537
|
+
disabledInput: boolean;
|
538
|
+
disabledDate: import('./DatePicker').DisabledDate;
|
539
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
540
|
+
P: {};
|
541
|
+
B: {};
|
542
|
+
D: {};
|
543
|
+
C: {};
|
544
|
+
M: {};
|
545
|
+
Defaults: {};
|
546
|
+
}, Readonly<import('./DatePicker').YearPickerProps> & Readonly<{
|
547
|
+
onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
548
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
549
|
+
"onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
|
550
|
+
onClear?: (() => any) | undefined;
|
551
|
+
onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
552
|
+
"onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
553
|
+
"onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
554
|
+
onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
555
|
+
"onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
556
|
+
"onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
|
557
|
+
}>, {}, {}, {}, {}, {
|
558
|
+
error: boolean;
|
559
|
+
size: import('./_shared/type').Size;
|
560
|
+
popupVisible: boolean;
|
561
|
+
defaultPopupVisible: boolean;
|
562
|
+
disabled: boolean;
|
563
|
+
position: import('./DatePicker').DatePickerPosition;
|
564
|
+
unmountOnClose: boolean;
|
565
|
+
popupContainer: import('./_shared/type').PopupContainer;
|
566
|
+
placeholder: string;
|
567
|
+
locale: Record<string, any>;
|
568
|
+
modelValue: import('./DatePicker').DatePickerValue;
|
569
|
+
defaultValue: import('./DatePicker').DatePickerValue;
|
570
|
+
allowClear: boolean;
|
571
|
+
readonly: boolean;
|
572
|
+
triggerProps: import('./Trigger').TriggerProps;
|
573
|
+
hideTrigger: boolean;
|
574
|
+
format: string;
|
575
|
+
valueFormat: import('./DatePicker').ValueFormat;
|
576
|
+
showConfirmBtn: boolean;
|
577
|
+
shortcutsPosition: import('./DatePicker').ShortcutsPosition;
|
578
|
+
shortcuts: import('./DatePicker').ShortcutType[];
|
579
|
+
previewShortcut: boolean;
|
580
|
+
disabledInput: boolean;
|
581
|
+
disabledDate: import('./DatePicker').DisabledDate;
|
582
|
+
}>;
|
583
|
+
__isFragment?: never;
|
584
|
+
__isTeleport?: never;
|
585
|
+
__isSuspense?: never;
|
586
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./DatePicker').YearPickerProps> & Readonly<{
|
587
|
+
onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
588
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
589
|
+
"onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
|
590
|
+
onClear?: (() => any) | undefined;
|
591
|
+
onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
592
|
+
"onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
593
|
+
"onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
594
|
+
onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
595
|
+
"onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
596
|
+
"onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
|
597
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
598
|
+
change: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
599
|
+
"update:popupVisible": (value: boolean) => any;
|
600
|
+
"popup-visible-change": (visible: boolean) => any;
|
601
|
+
clear: () => any;
|
602
|
+
select: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
603
|
+
"update:modelValue": (value: import('./DatePicker').DatePickerValue) => any;
|
604
|
+
"update:pickerValue": (value: import('./DatePicker').DatePickerValue) => any;
|
605
|
+
ok: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
606
|
+
"picker-value-change": (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
607
|
+
"select-shortcut": (shortcut: import('./DatePicker').ShortcutType) => any;
|
608
|
+
}, string, {
|
609
|
+
error: boolean;
|
610
|
+
size: import('./_shared/type').Size;
|
611
|
+
popupVisible: boolean;
|
612
|
+
defaultPopupVisible: boolean;
|
613
|
+
disabled: boolean;
|
614
|
+
position: import('./DatePicker').DatePickerPosition;
|
615
|
+
unmountOnClose: boolean;
|
616
|
+
popupContainer: import('./_shared/type').PopupContainer;
|
617
|
+
placeholder: string;
|
618
|
+
locale: Record<string, any>;
|
619
|
+
modelValue: import('./DatePicker').DatePickerValue;
|
620
|
+
defaultValue: import('./DatePicker').DatePickerValue;
|
621
|
+
allowClear: boolean;
|
622
|
+
readonly: boolean;
|
623
|
+
triggerProps: import('./Trigger').TriggerProps;
|
624
|
+
hideTrigger: boolean;
|
625
|
+
format: string;
|
626
|
+
valueFormat: import('./DatePicker').ValueFormat;
|
627
|
+
showConfirmBtn: boolean;
|
628
|
+
shortcutsPosition: import('./DatePicker').ShortcutsPosition;
|
629
|
+
shortcuts: import('./DatePicker').ShortcutType[];
|
630
|
+
previewShortcut: boolean;
|
631
|
+
disabledInput: boolean;
|
632
|
+
disabledDate: import('./DatePicker').DisabledDate;
|
633
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
634
|
+
$slots: any;
|
635
|
+
});
|
636
|
+
MonthPicker: {
|
637
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./DatePicker').MonthPickerProps> & Readonly<{
|
638
|
+
onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
639
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
640
|
+
"onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
|
641
|
+
onClear?: (() => any) | undefined;
|
642
|
+
onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
643
|
+
"onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
644
|
+
"onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
645
|
+
onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
646
|
+
"onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
647
|
+
"onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
|
648
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
649
|
+
change: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
650
|
+
"update:popupVisible": (value: boolean) => any;
|
651
|
+
"popup-visible-change": (visible: boolean) => any;
|
652
|
+
clear: () => any;
|
653
|
+
select: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
654
|
+
"update:modelValue": (value: import('./DatePicker').DatePickerValue) => any;
|
655
|
+
"update:pickerValue": (value: import('./DatePicker').DatePickerValue) => any;
|
656
|
+
ok: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
657
|
+
"picker-value-change": (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
658
|
+
"select-shortcut": (shortcut: import('./DatePicker').ShortcutType) => any;
|
659
|
+
}, import('vue').PublicProps, {
|
660
|
+
error: boolean;
|
661
|
+
size: import('./_shared/type').Size;
|
662
|
+
popupVisible: boolean;
|
663
|
+
defaultPopupVisible: boolean;
|
664
|
+
disabled: boolean;
|
665
|
+
position: import('./DatePicker').DatePickerPosition;
|
666
|
+
unmountOnClose: boolean;
|
667
|
+
popupContainer: import('./_shared/type').PopupContainer;
|
668
|
+
placeholder: string;
|
669
|
+
locale: Record<string, any>;
|
670
|
+
modelValue: import('./DatePicker').DatePickerValue;
|
671
|
+
defaultValue: import('./DatePicker').DatePickerValue;
|
672
|
+
allowClear: boolean;
|
673
|
+
readonly: boolean;
|
674
|
+
triggerProps: import('./Trigger').TriggerProps;
|
675
|
+
hideTrigger: boolean;
|
676
|
+
format: string;
|
677
|
+
valueFormat: import('./DatePicker').ValueFormat;
|
678
|
+
showConfirmBtn: boolean;
|
679
|
+
abbreviation: boolean;
|
680
|
+
shortcutsPosition: import('./DatePicker').ShortcutsPosition;
|
681
|
+
shortcuts: import('./DatePicker').ShortcutType[];
|
682
|
+
previewShortcut: boolean;
|
683
|
+
disabledInput: boolean;
|
684
|
+
disabledDate: import('./DatePicker').DisabledDate;
|
685
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
686
|
+
P: {};
|
687
|
+
B: {};
|
688
|
+
D: {};
|
689
|
+
C: {};
|
690
|
+
M: {};
|
691
|
+
Defaults: {};
|
692
|
+
}, Readonly<import('./DatePicker').MonthPickerProps> & Readonly<{
|
693
|
+
onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
694
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
695
|
+
"onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
|
696
|
+
onClear?: (() => any) | undefined;
|
697
|
+
onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
698
|
+
"onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
699
|
+
"onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
700
|
+
onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
701
|
+
"onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
702
|
+
"onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
|
703
|
+
}>, {}, {}, {}, {}, {
|
704
|
+
error: boolean;
|
705
|
+
size: import('./_shared/type').Size;
|
706
|
+
popupVisible: boolean;
|
707
|
+
defaultPopupVisible: boolean;
|
708
|
+
disabled: boolean;
|
709
|
+
position: import('./DatePicker').DatePickerPosition;
|
710
|
+
unmountOnClose: boolean;
|
711
|
+
popupContainer: import('./_shared/type').PopupContainer;
|
712
|
+
placeholder: string;
|
713
|
+
locale: Record<string, any>;
|
714
|
+
modelValue: import('./DatePicker').DatePickerValue;
|
715
|
+
defaultValue: import('./DatePicker').DatePickerValue;
|
716
|
+
allowClear: boolean;
|
717
|
+
readonly: boolean;
|
718
|
+
triggerProps: import('./Trigger').TriggerProps;
|
719
|
+
hideTrigger: boolean;
|
720
|
+
format: string;
|
721
|
+
valueFormat: import('./DatePicker').ValueFormat;
|
722
|
+
showConfirmBtn: boolean;
|
723
|
+
abbreviation: boolean;
|
724
|
+
shortcutsPosition: import('./DatePicker').ShortcutsPosition;
|
725
|
+
shortcuts: import('./DatePicker').ShortcutType[];
|
726
|
+
previewShortcut: boolean;
|
727
|
+
disabledInput: boolean;
|
728
|
+
disabledDate: import('./DatePicker').DisabledDate;
|
729
|
+
}>;
|
730
|
+
__isFragment?: never;
|
731
|
+
__isTeleport?: never;
|
732
|
+
__isSuspense?: never;
|
733
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./DatePicker').MonthPickerProps> & Readonly<{
|
734
|
+
onChange?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
735
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
736
|
+
"onPopup-visible-change"?: ((visible: boolean) => any) | undefined;
|
737
|
+
onClear?: (() => any) | undefined;
|
738
|
+
onSelect?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
739
|
+
"onUpdate:modelValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
740
|
+
"onUpdate:pickerValue"?: ((value: import('./DatePicker').DatePickerValue) => any) | undefined;
|
741
|
+
onOk?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
742
|
+
"onPicker-value-change"?: ((value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any) | undefined;
|
743
|
+
"onSelect-shortcut"?: ((shortcut: import('./DatePicker').ShortcutType) => any) | undefined;
|
744
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
745
|
+
change: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
746
|
+
"update:popupVisible": (value: boolean) => any;
|
747
|
+
"popup-visible-change": (visible: boolean) => any;
|
748
|
+
clear: () => any;
|
749
|
+
select: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
750
|
+
"update:modelValue": (value: import('./DatePicker').DatePickerValue) => any;
|
751
|
+
"update:pickerValue": (value: import('./DatePicker').DatePickerValue) => any;
|
752
|
+
ok: (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
753
|
+
"picker-value-change": (value: import('./DatePicker').DatePickerValue, date: Date, dateString: string) => any;
|
754
|
+
"select-shortcut": (shortcut: import('./DatePicker').ShortcutType) => any;
|
755
|
+
}, string, {
|
756
|
+
error: boolean;
|
757
|
+
size: import('./_shared/type').Size;
|
758
|
+
popupVisible: boolean;
|
759
|
+
defaultPopupVisible: boolean;
|
760
|
+
disabled: boolean;
|
761
|
+
position: import('./DatePicker').DatePickerPosition;
|
762
|
+
unmountOnClose: boolean;
|
763
|
+
popupContainer: import('./_shared/type').PopupContainer;
|
764
|
+
placeholder: string;
|
765
|
+
locale: Record<string, any>;
|
766
|
+
modelValue: import('./DatePicker').DatePickerValue;
|
767
|
+
defaultValue: import('./DatePicker').DatePickerValue;
|
768
|
+
allowClear: boolean;
|
769
|
+
readonly: boolean;
|
770
|
+
triggerProps: import('./Trigger').TriggerProps;
|
771
|
+
hideTrigger: boolean;
|
772
|
+
format: string;
|
773
|
+
valueFormat: import('./DatePicker').ValueFormat;
|
774
|
+
showConfirmBtn: boolean;
|
775
|
+
abbreviation: boolean;
|
776
|
+
shortcutsPosition: import('./DatePicker').ShortcutsPosition;
|
777
|
+
shortcuts: import('./DatePicker').ShortcutType[];
|
778
|
+
previewShortcut: boolean;
|
779
|
+
disabledInput: boolean;
|
780
|
+
disabledDate: import('./DatePicker').DisabledDate;
|
781
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
782
|
+
$slots: any;
|
783
|
+
});
|
490
784
|
DropdownButton: {
|
491
785
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Dropdown').DropdownButtonProps> & Readonly<{
|
492
786
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|