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.
- package/dist/index.umd.js +1 -1
- package/dist/lang-es/zh-cn.js +26 -26
- package/dist/style.css +1 -1
- package/es/Affix/index.vue.js +0 -4
- package/es/Alert/index.vue.js +0 -4
- package/es/Anchor/Anchor.vue.js +0 -4
- package/es/Anchor/AnchorLink.vue.js +0 -4
- package/es/Anchor/hooks/useContext.d.ts +1 -1
- package/es/Anchor/hooks/useContext.js +5 -13
- package/es/AutoComplete/index.vue.js +0 -4
- package/es/Avatar/Avatar.vue.js +0 -4
- package/es/Avatar/AvatarGroup.vue.js +0 -4
- package/es/BackTop/index.vue.js +0 -4
- package/es/Badge/index.vue.js +0 -4
- package/es/Breadcrumb/Breadcrumb.vue.js +0 -4
- package/es/Breadcrumb/BreadcrumbItem.vue.js +0 -4
- package/es/Breadcrumb/BreadcrumbMore.vue.js +0 -4
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +0 -4
- package/es/Button/hooks/useContext.js +0 -4
- package/es/Calendar/Calendar.vue.js +30 -49
- package/es/Calendar/CalendarMonth.vue.d.ts +4 -6
- package/es/Calendar/CalendarMonth.vue.js +34 -43
- package/es/Calendar/CalendarYear.vue.d.ts +3 -4
- package/es/Calendar/CalendarYear.vue.js +19 -38
- package/es/Calendar/hooks/useCalendar.d.ts +7 -0
- package/es/Calendar/hooks/useCalendar.js +36 -0
- package/es/Card/Card.vue.js +0 -4
- package/es/Card/CardMeta.vue.js +0 -4
- package/es/Carousel/Carousel.vue.js +0 -4
- package/es/Carousel/CarouselArrow.vue.js +0 -4
- package/es/Carousel/CarouselIndicator.vue.js +0 -4
- package/es/Carousel/hooks/useContext.d.ts +11 -2
- package/es/Carousel/hooks/useContext.js +4 -8
- package/es/Cascader/Cascader.vue.js +0 -4
- package/es/Cascader/CascaderIcon.vue.js +0 -4
- package/es/Cascader/CascaderOption.vue.js +0 -4
- package/es/Cascader/hooks/useContext.d.ts +69 -8
- package/es/Cascader/hooks/useContext.js +5 -17
- package/es/Cascader/index.css +1 -1
- package/es/Checkbox/Checkbox.vue.js +0 -4
- package/es/Checkbox/hooks/useContext.js +0 -4
- package/es/Collapse/CollapseItem.vue.js +0 -4
- package/es/Collapse/hooks/useContext.js +0 -4
- package/es/ColorPicker/ColorControl.vue.js +0 -4
- package/es/ColorPicker/ColorInput.vue.js +0 -4
- package/es/ColorPicker/ColorList.vue.js +0 -4
- package/es/ColorPicker/ColorPalette.vue.js +0 -4
- package/es/ColorPicker/ColorPanel.vue.js +0 -4
- package/es/ColorPicker/hooks/useContext.d.ts +12 -1
- package/es/ColorPicker/hooks/useContext.js +5 -9
- package/es/Comment/hooks/useContext.js +0 -4
- package/es/Comment/index.vue.js +0 -4
- package/es/ConfigProvider/index.vue.js +0 -4
- 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 +66 -0
- package/es/DatePicker/YcMonthPicker.vue.js +230 -0
- package/es/DatePicker/YcMonthPicker.vue3.js +5 -0
- package/es/DatePicker/YcWeekPicker.vue.d.ts +67 -0
- package/es/DatePicker/YcWeekPicker.vue.js +7 -0
- package/es/DatePicker/YcWeekPicker.vue2.js +315 -0
- package/es/DatePicker/YcYearPicker.vue.d.ts +65 -0
- package/es/DatePicker/YcYearPicker.vue.js +196 -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 +121 -0
- package/es/DatePicker/component/PickerPanel.vue.d.ts +33 -0
- package/es/DatePicker/component/PickerPanel.vue.js +104 -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 +217 -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/Descriptions/ReuseItem.vue.js +0 -4
- package/es/Descriptions/ReuseTd.vue.js +0 -4
- package/es/Descriptions/hooks/useContext.js +0 -4
- package/es/Divider/index.vue.js +0 -4
- package/es/Drawer/Drawer.vue.js +0 -4
- package/es/Drawer/DrawerService.vue.js +1 -5
- package/es/Dropdown/Dropdown.vue.js +0 -4
- package/es/Dropdown/DropdownButton.vue.js +0 -4
- package/es/Dropdown/Dsubmenu.vue.js +0 -4
- package/es/Dropdown/hooks/useContext.js +0 -4
- package/es/Empty/index.vue.js +0 -4
- package/es/Grid/Grid.vue.js +0 -4
- package/es/Grid/GridCol.vue.js +0 -4
- package/es/Grid/GridItem.vue.js +0 -4
- package/es/Grid/GridRow.vue.js +0 -4
- package/es/Grid/hooks/useContext.d.ts +6 -2
- package/es/Grid/hooks/useContext.js +5 -11
- package/es/Image/Image.vue.js +0 -4
- package/es/Image/ImagePreview.vue.js +0 -4
- package/es/Image/ImagePreviewArrow.vue.js +0 -4
- package/es/Image/ImagePreviewGroup.vue.js +0 -4
- package/es/Image/ImagePreviewToolbar.vue.js +0 -4
- package/es/Image/hooks/useContext.js +0 -4
- package/es/Input/Input.vue.js +0 -4
- package/es/Input/InputPassword.vue.js +0 -4
- package/es/Input/InputSearch.vue.js +0 -4
- package/es/Input/hooks/useLimitedInput.js +0 -4
- package/es/InputNumber/InputNumber.vue.js +0 -4
- package/es/InputNumber/InputOperaBtn.vue.js +0 -4
- package/es/InputTag/index.vue.js +0 -4
- package/es/Layout/Layout.vue.js +0 -4
- package/es/Layout/LayoutSider.vue.js +0 -4
- package/es/Layout/hooks/useSiderContext.js +0 -4
- package/es/Link/index.vue.js +0 -4
- package/es/List/List.vue.js +0 -4
- package/es/List/ListVirtual.vue.js +0 -4
- package/es/List/hooks/useScrollReach.js +0 -4
- package/es/Mention/index.vue.js +0 -4
- package/es/Menu/Menu.vue.js +0 -4
- package/es/Menu/MenuEllipsis.vue.js +0 -4
- package/es/Menu/MenuItem.vue.js +0 -4
- package/es/Menu/MenuItemGroup.vue.js +0 -4
- package/es/Menu/SubMenu.vue.js +0 -4
- package/es/Menu/hooks/useCalcMaxMenuItems.js +0 -4
- package/es/Menu/hooks/useContext.d.ts +17 -2
- package/es/Menu/hooks/useContext.js +5 -11
- package/es/Message/Message.vue.js +1 -5
- package/es/Message/index.js +0 -4
- package/es/Modal/Modal.vue.js +0 -4
- package/es/Modal/ModalService.vue.js +2 -6
- package/es/Modal/hooks/useModalClose.js +0 -4
- package/es/Modal/hooks/useModalDraggable.js +0 -4
- package/es/Modal/hooks/useOnBeforeClose.js +0 -4
- package/es/Notification/Notification.vue.js +2 -6
- package/es/Notification/index.js +0 -4
- package/es/OverflowList/index.vue.js +0 -4
- package/es/PageHeader/index.vue.js +0 -4
- package/es/Pagination/Pagination.vue.js +0 -4
- package/es/Pagination/PaginationItem.vue.js +0 -4
- package/es/Pagination/hooks/useContext.js +0 -4
- package/es/Popconfirm/index.vue.js +0 -4
- package/es/Popover/index.vue.js +0 -4
- package/es/Progress/Progress.vue.js +0 -4
- package/es/Progress/ProgressCircle.vue.js +0 -4
- package/es/Progress/ProgressLine.vue.js +0 -4
- package/es/Progress/ProgressSteps.vue.js +0 -4
- package/es/Radio/Radio.vue.js +0 -4
- package/es/Radio/hooks/useContext.js +0 -4
- package/es/Rate/index.vue.js +0 -4
- package/es/ResizeBox/index.vue.js +0 -4
- package/es/Scrollbar/Scrollbar.vue.js +0 -4
- package/es/Scrollbar/ScrollbarTrack.vue.js +0 -4
- package/es/Select/Option.vue.js +0 -4
- package/es/Select/Select.vue.js +0 -4
- package/es/Select/SelectIcon.vue.js +0 -4
- package/es/Select/SelectRealList.vue.js +0 -4
- package/es/Select/SelectView.vue.js +0 -4
- package/es/Select/SelectVirtualList.vue.js +0 -4
- package/es/Select/hooks/useContext.d.ts +2 -2
- package/es/Select/hooks/useContext.js +0 -4
- package/es/Select/hooks/useSelectHotkeys.js +0 -4
- package/es/Select/hooks/useSelectOptions.d.ts +2 -2
- package/es/Select/hooks/useSelectOptions.js +0 -4
- package/es/Skeleton/SkeletonLine.vue.js +0 -4
- package/es/Skeleton/SkeletonShape.vue.js +0 -4
- package/es/Slider/SliderBtn.vue.js +0 -4
- package/es/Slider/hooks/useContext.d.ts +12 -6
- package/es/Slider/hooks/useContext.js +5 -16
- package/es/Slider/hooks/useSliderDraggable.js +0 -4
- package/es/Space/index.vue.js +0 -4
- package/es/Spin/index.vue.js +0 -4
- package/es/Split/index.vue.js +0 -4
- package/es/Statistic/Countdown.vue.js +0 -4
- package/es/Statistic/Statistic.vue.js +3 -7
- package/es/Steps/Step.vue.js +0 -4
- package/es/Steps/hooks/useContext.d.ts +9 -1
- package/es/Steps/hooks/useContext.js +3 -10
- package/es/Switch/index.vue.js +0 -4
- package/es/Tabs/TabButton.vue.js +0 -4
- package/es/Tabs/TabPane.vue.js +0 -4
- package/es/Tabs/Tabs.vue.js +0 -4
- package/es/Tabs/TabsNavInk.vue.js +0 -4
- package/es/Tabs/TabsTab.vue.js +0 -4
- package/es/Tabs/hooks/useContext.d.ts +9 -2
- package/es/Tabs/hooks/useContext.js +5 -13
- package/es/Tabs/hooks/useTabsScroll.js +0 -4
- package/es/Tag/index.vue.js +0 -4
- package/es/Textarea/hooks/useTextareaHeight.js +0 -4
- package/es/Textarea/index.vue.js +0 -4
- package/es/TimePicker/TimePicker.vue.js +1 -5
- package/es/TimePicker/TimePickerPanel.vue.js +0 -4
- package/es/TimePicker/hooks/useContext.d.ts +17 -7
- package/es/TimePicker/hooks/useContext.js +4 -13
- package/es/Timeline/TimelineItemPending.vue.js +0 -4
- package/es/Timeline/hooks/useContext.d.ts +4 -2
- package/es/Timeline/hooks/useContext.js +3 -10
- package/es/Tooltip/index.vue.js +0 -4
- package/es/Transfer/Transfer.vue.js +0 -4
- package/es/Transfer/TransferPanel.vue.js +1 -5
- package/es/Transfer/hooks/useContext.d.ts +1 -6
- package/es/Transfer/hooks/useContext.js +3 -11
- package/es/Trigger/hooks/useContext.js +0 -4
- package/es/Trigger/hooks/useTriggerPosition.js +0 -4
- package/es/Trigger/hooks/useTriggerVisible.js +0 -4
- package/es/Trigger/index.vue.js +0 -4
- package/es/Typography/TypographyBase.vue.js +2 -6
- package/es/Upload/Upload.vue.js +6 -4
- package/es/Upload/UploadButton.vue.js +0 -4
- package/es/Upload/UploadDrag.vue.js +0 -4
- package/es/Upload/UploadFileList.vue.js +125 -5
- package/es/Upload/UploadFileList.vue3.js +5 -0
- package/es/Upload/UploadPictureCard.vue.js +131 -5
- package/es/Upload/UploadPictureCard.vue3.js +5 -0
- package/es/Upload/hooks/useContext.js +0 -4
- package/es/Upload/hooks/useUpload.js +0 -4
- package/es/VerificationCode/index.vue.js +0 -4
- package/es/Watermark/index.vue.js +0 -4
- package/es/_shared/components/ExpandTransition/index.vue2.js +0 -4
- package/es/_shared/components/Icon/index.vue3.js +0 -4
- package/es/_shared/components/IconButton/index.vue.js +0 -4
- package/es/_shared/constants/index.js +0 -4
- package/es/_shared/icons/IconArrowDown.vue.js +0 -4
- package/es/_shared/icons/IconArrowRight.vue.js +0 -4
- 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 +27 -0
- package/es/_shared/icons/IconCheck.vue.js +0 -4
- package/es/_shared/icons/IconCheckboxChecked.vue.js +0 -4
- package/es/_shared/icons/IconClose.vue.js +0 -4
- package/es/_shared/icons/IconCopy.vue.js +1 -28
- package/es/_shared/icons/IconCopy.vue2.js +24 -1
- package/es/_shared/icons/IconDelete.vue.js +1 -28
- package/es/_shared/icons/IconDelete.vue2.js +24 -1
- package/es/_shared/icons/IconDoubleLeft.vue.d.ts +2 -0
- package/es/_shared/icons/IconDoubleLeft.vue.js +27 -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 +27 -0
- package/es/_shared/icons/IconDoubleRight.vue2.js +4 -0
- package/es/_shared/icons/IconDragDot.vue.js +0 -4
- package/es/_shared/icons/IconEdit.vue.js +1 -28
- package/es/_shared/icons/IconEdit.vue2.js +24 -1
- package/es/_shared/icons/IconEmpty.vue.js +0 -4
- package/es/_shared/icons/IconError.vue.js +0 -4
- package/es/_shared/icons/IconExclamation.vue2.js +0 -4
- package/es/_shared/icons/IconEyeClose.vue.js +0 -4
- package/es/_shared/icons/IconEyeOpen.vue.js +0 -4
- package/es/_shared/icons/IconFaceSmile.vue.js +0 -4
- package/es/_shared/icons/IconFile.vue2.js +0 -4
- package/es/_shared/icons/IconFullScreen.vue2.js +0 -4
- package/es/_shared/icons/IconImageClose.vue.js +0 -4
- package/es/_shared/icons/IconInfo.vue.js +0 -4
- package/es/_shared/icons/IconInfoLine.vue.js +0 -4
- package/es/_shared/icons/IconLink.vue.js +0 -4
- package/es/_shared/icons/IconLoading.vue.js +0 -4
- package/es/_shared/icons/IconMenuFold.vue.js +0 -4
- package/es/_shared/icons/IconMenuUnfold.vue.js +0 -4
- package/es/_shared/icons/IconMinus.vue2.js +0 -4
- package/es/_shared/icons/IconMore.vue.js +0 -4
- package/es/_shared/icons/IconOriginSize.vue2.js +0 -4
- package/es/_shared/icons/IconPlus.vue.js +0 -4
- package/es/_shared/icons/IconRight.vue.js +0 -4
- package/es/_shared/icons/IconRotateLeft.vue2.js +0 -4
- package/es/_shared/icons/IconRotateRight.vue2.js +0 -4
- package/es/_shared/icons/IconSearch.vue.js +0 -4
- package/es/_shared/icons/IconSeparator.vue2.js +0 -4
- package/es/_shared/icons/IconStar.vue.js +0 -4
- package/es/_shared/icons/IconSuccess.vue.js +0 -4
- package/es/_shared/icons/IconTime.vue.js +0 -4
- package/es/_shared/icons/IconToTop.vue.js +0 -4
- package/es/_shared/icons/IconUpload.vue2.js +0 -4
- package/es/_shared/icons/IconWarning.vue.js +0 -4
- package/es/_shared/icons/IconZoomIn.vue2.js +0 -4
- package/es/_shared/icons/IconZoomOut.vue2.js +0 -4
- package/es/_shared/icons/index.d.ts +3 -0
- package/es/_shared/type/index.d.ts +1 -1
- package/es/_shared/utils/color.js +0 -4
- package/es/_shared/utils/dependencies.d.ts +0 -4
- package/es/_shared/utils/dom.js +0 -4
- package/es/_shared/utils/hooks.js +1 -1
- package/es/_shared/utils/locale.d.ts +0 -5
- package/es/_shared/utils/time.d.ts +0 -9
- package/es/_shared/utils/time.js +0 -30
- package/es/_shared/utils/vue-utils.d.ts +1 -1
- package/es/_virtual/isoWeek.js +4 -0
- package/es/index.d.ts +307 -1
- package/es/index.js +42 -33
- 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/Affix/index.vue.js +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Anchor/Anchor.vue.js +1 -1
- package/lib/Anchor/AnchorLink.vue.js +1 -1
- package/lib/Anchor/hooks/useContext.d.ts +1 -1
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/AutoComplete/index.vue.js +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Badge/index.vue.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.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/Button/hooks/useContext.js +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/CalendarMonth.vue.d.ts +4 -6
- package/lib/Calendar/CalendarMonth.vue.js +1 -1
- package/lib/Calendar/CalendarYear.vue.d.ts +3 -4
- package/lib/Calendar/CalendarYear.vue.js +1 -1
- package/lib/Calendar/hooks/useCalendar.d.ts +7 -0
- package/lib/Calendar/hooks/useCalendar.js +1 -0
- package/lib/Card/Card.vue.js +1 -1
- package/lib/Card/CardMeta.vue.js +1 -1
- package/lib/Carousel/Carousel.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/CarouselIndicator.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.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.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/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorInput.vue.js +1 -1
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/ColorPicker/hooks/useContext.d.ts +12 -1
- package/lib/ColorPicker/hooks/useContext.js +1 -1
- package/lib/Comment/hooks/useContext.js +1 -1
- package/lib/Comment/index.vue.js +1 -1
- package/lib/ConfigProvider/index.vue.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 +66 -0
- package/lib/DatePicker/YcMonthPicker.vue.js +1 -0
- package/lib/DatePicker/YcMonthPicker.vue3.js +1 -0
- package/lib/DatePicker/YcWeekPicker.vue.d.ts +67 -0
- package/lib/DatePicker/YcWeekPicker.vue.js +1 -0
- package/lib/DatePicker/YcWeekPicker.vue2.js +1 -0
- package/lib/DatePicker/YcYearPicker.vue.d.ts +65 -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/Descriptions/ReuseItem.vue.js +1 -1
- package/lib/Descriptions/ReuseTd.vue.js +1 -1
- package/lib/Descriptions/hooks/useContext.js +1 -1
- package/lib/Divider/index.vue.js +1 -1
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Grid/Grid.vue.js +1 -1
- package/lib/Grid/GridCol.vue.js +1 -1
- package/lib/Grid/GridItem.vue.js +1 -1
- package/lib/Grid/GridRow.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/ImagePreviewGroup.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/hooks/useContext.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/Input/hooks/useLimitedInput.js +1 -1
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/List/List.vue.js +1 -1
- package/lib/List/ListVirtual.vue.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/Mention/index.vue.js +1 -1
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/MenuItemGroup.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/hooks/useCalcMaxMenuItems.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/Message/index.js +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.js +1 -1
- package/lib/Modal/hooks/useModalClose.js +1 -1
- package/lib/Modal/hooks/useModalDraggable.js +1 -1
- package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/index.js +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Popover/index.vue.js +1 -1
- package/lib/Progress/Progress.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Progress/ProgressLine.vue.js +1 -1
- package/lib/Progress/ProgressSteps.vue.js +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectRealList.vue.js +1 -1
- package/lib/Select/SelectView.vue.js +1 -1
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +2 -2
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/hooks/useSelectHotkeys.js +1 -1
- package/lib/Select/hooks/useSelectOptions.d.ts +2 -2
- package/lib/Select/hooks/useSelectOptions.js +1 -1
- package/lib/Skeleton/SkeletonLine.vue.js +1 -1
- package/lib/Skeleton/SkeletonShape.vue.js +1 -1
- package/lib/Slider/SliderBtn.vue.js +1 -1
- package/lib/Slider/hooks/useContext.d.ts +12 -6
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Slider/hooks/useSliderDraggable.js +1 -1
- package/lib/Space/index.vue.js +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Statistic/Countdown.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/Switch/index.vue.js +1 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/TabPane.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/TabsNavInk.vue.js +1 -1
- package/lib/Tabs/TabsTab.vue.js +1 -1
- package/lib/Tabs/hooks/useContext.d.ts +9 -2
- package/lib/Tabs/hooks/useContext.js +1 -1
- package/lib/Tabs/hooks/useTabsScroll.js +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.d.ts +17 -7
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/Timeline/TimelineItemPending.vue.js +1 -1
- package/lib/Timeline/hooks/useContext.d.ts +4 -2
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Tooltip/index.vue.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/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.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/Upload/hooks/useContext.js +1 -1
- package/lib/Upload/hooks/useUpload.js +1 -1
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_shared/components/ExpandTransition/index.vue2.js +1 -1
- package/lib/_shared/components/Icon/index.vue3.js +1 -1
- package/lib/_shared/components/IconButton/index.vue.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.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconDelete.vue.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.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.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/color.js +1 -1
- package/lib/_shared/utils/dependencies.d.ts +0 -4
- package/lib/_shared/utils/dom.js +1 -1
- package/lib/_shared/utils/hooks.js +1 -1
- package/lib/_shared/utils/locale.d.ts +0 -5
- package/lib/_shared/utils/time.d.ts +0 -9
- 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 +307 -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
@@ -3,10 +3,6 @@ import { unrefElement, useResizeObserver } from "../node_modules/@vueuse/core/in
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { throttle, sleep, valueToPx } from "../_shared/utils/dom.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
@@ -4,10 +4,6 @@ import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
|
|
4
4
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
5
5
|
import "../node_modules/dayjs/dayjs.min.js";
|
6
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
7
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
8
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
10
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
11
7
|
import "../_shared/utils/dom.js";
|
12
8
|
import "../_shared/utils/locale.js";
|
13
9
|
import "../_shared/utils/time.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, ref, watch, createElementBlock, createCommen
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { sleep } from "../_shared/utils/dom.js";
|
10
6
|
import { isNumber } from "../_shared/utils/is.js";
|
11
7
|
import { useI18n } from "../_shared/utils/locale.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, toRefs, computed, createElementBlock, openBlock, norma
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import "../_shared/utils/locale.js";
|
11
7
|
import "../_shared/utils/time.js";
|
@@ -2,10 +2,6 @@ import { toRefs, ref, computed, provide, inject } from "vue";
|
|
2
2
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../../_shared/utils/dom.js";
|
10
6
|
import { getGlobalConfig } from "../../_shared/utils/global-config.js";
|
11
7
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
@@ -3,10 +3,6 @@ import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../_shared/utils/dom.js";
|
11
7
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
12
8
|
import { useI18n } from "../_shared/utils/locale.js";
|
package/es/Popover/index.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, toRefs, createBlock, openBlock, unref, merge
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, toRefs, computed, createElementBlock, openBlock, norma
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, toRefs, computed, createElementBlock, openBlock, norma
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { valueToPx } from "../_shared/utils/dom.js";
|
10
6
|
import { isObject } from "../_shared/utils/is.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
@@ -3,10 +3,6 @@ import { TYPE_ICON_MAP, TYPE_ICON_COLOR_MAP } from "../_shared/constants/index.j
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { valueToPx } from "../_shared/utils/dom.js";
|
11
7
|
import { isObject } from "../_shared/utils/is.js";
|
12
8
|
import "../_shared/utils/locale.js";
|
@@ -3,10 +3,6 @@ import { TYPE_ICON_MAP, TYPE_ICON_COLOR_MAP } from "../_shared/constants/index.j
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { valueToPx } from "../_shared/utils/dom.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
package/es/Radio/Radio.vue.js
CHANGED
@@ -3,10 +3,6 @@ import useRadioContext from "./hooks/useContext.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../_shared/utils/dom.js";
|
11
7
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
12
8
|
import "../_shared/utils/locale.js";
|
@@ -2,10 +2,6 @@ import { toRefs, computed, provide, ref, inject } from "vue";
|
|
2
2
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../../_shared/utils/dom.js";
|
10
6
|
import { getGlobalConfig } from "../../_shared/utils/global-config.js";
|
11
7
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
package/es/Rate/index.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, toRefs, ref, computed, createElementBlock, openBlock,
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { sleep } from "../_shared/utils/dom.js";
|
10
6
|
import { isObject } from "../_shared/utils/is.js";
|
11
7
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
@@ -3,10 +3,6 @@ import { useEventListener, useResizeObserver } from "../node_modules/@vueuse/cor
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { valueToPx } from "../_shared/utils/dom.js";
|
11
7
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
12
8
|
import "../_shared/utils/locale.js";
|
@@ -3,10 +3,6 @@ import { useResizeObserver, useElementSize } from "../node_modules/@vueuse/core/
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { isVerticallyScrollable, isHorizontallyScrollable } from "../_shared/utils/dom.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
@@ -3,10 +3,6 @@ import { useResizeObserver, useDraggable } from "../node_modules/@vueuse/core/in
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { valueToPx } from "../_shared/utils/dom.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
package/es/Select/Option.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, toRefs, ref, computed, withDirectives, creat
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { innerText } from "../_shared/utils/dom.js";
|
10
6
|
import { isUndefined } from "../_shared/utils/is.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
package/es/Select/Select.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, toRefs, ref, computed, createBlock, openBloc
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { sleep } from "../_shared/utils/dom.js";
|
10
6
|
import { isUndefined } from "../_shared/utils/is.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
@@ -6,10 +6,6 @@ import _sfc_main$2 from "../_shared/components/IconButton/index.vue.js";
|
|
6
6
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
7
7
|
import "../node_modules/dayjs/dayjs.min.js";
|
8
8
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
9
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
10
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
11
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
12
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
13
9
|
import "../_shared/utils/dom.js";
|
14
10
|
import "../_shared/utils/locale.js";
|
15
11
|
import "../_shared/utils/time.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, ref, createBlock, openBlock, unref, withCtx, createEle
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import "../_shared/utils/locale.js";
|
11
7
|
import "../_shared/utils/time.js";
|
@@ -3,10 +3,6 @@ import { unrefElement } from "../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../_shared/utils/dom.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
@@ -3,10 +3,6 @@ import { useVirtualList } from "../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../_shared/utils/dom.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
@@ -34,7 +34,7 @@ export default function useSelectContext(): {
|
|
34
34
|
isFallbackOption?: boolean;
|
35
35
|
}[]>;
|
36
36
|
createOptions: Ref<{
|
37
|
-
render?: string | import('vue').RenderFunction | RecordType<any>[] | undefined;
|
37
|
+
render?: string | number | import('vue').RenderFunction | RecordType<any>[] | undefined;
|
38
38
|
label?: string | undefined;
|
39
39
|
value?: SelectOptionValue | undefined;
|
40
40
|
disabled?: boolean | undefined;
|
@@ -54,7 +54,7 @@ export default function useSelectContext(): {
|
|
54
54
|
id?: string | undefined;
|
55
55
|
isFallbackOption?: boolean | undefined;
|
56
56
|
}[], SelectOptionData[] | {
|
57
|
-
render?: string | import('vue').RenderFunction | RecordType<any>[] | undefined;
|
57
|
+
render?: string | number | import('vue').RenderFunction | RecordType<any>[] | undefined;
|
58
58
|
label?: string | undefined;
|
59
59
|
value?: SelectOptionValue | undefined;
|
60
60
|
disabled?: boolean | undefined;
|
@@ -2,10 +2,6 @@ import { toRefs, computed, provide, useSlots, inject, ref } from "vue";
|
|
2
2
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../../_shared/utils/dom.js";
|
10
6
|
import { isBoolean, isFunction } from "../../_shared/utils/is.js";
|
11
7
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
@@ -3,10 +3,6 @@ import { onKeyStroke } from "../../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../../_shared/utils/dom.js";
|
11
7
|
import "../../_shared/utils/locale.js";
|
12
8
|
import "../../_shared/utils/time.js";
|
@@ -12,7 +12,7 @@ declare const _default: (params: {
|
|
12
12
|
}) => {
|
13
13
|
options: import('vue').ComputedRef<RecordType[]>;
|
14
14
|
createOptions: Ref<{
|
15
|
-
render?: string | import('vue').RenderFunction | RecordType<any>[] | undefined;
|
15
|
+
render?: string | number | import('vue').RenderFunction | RecordType<any>[] | undefined;
|
16
16
|
label?: string | undefined;
|
17
17
|
value?: SelectOptionValue | undefined;
|
18
18
|
disabled?: boolean | undefined;
|
@@ -32,7 +32,7 @@ declare const _default: (params: {
|
|
32
32
|
id?: string | undefined;
|
33
33
|
isFallbackOption?: boolean | undefined;
|
34
34
|
}[], SelectOptionData[] | {
|
35
|
-
render?: string | import('vue').RenderFunction | RecordType<any>[] | undefined;
|
35
|
+
render?: string | number | import('vue').RenderFunction | RecordType<any>[] | undefined;
|
36
36
|
label?: string | undefined;
|
37
37
|
value?: SelectOptionValue | undefined;
|
38
38
|
disabled?: boolean | undefined;
|
@@ -3,10 +3,6 @@ import { nanoid } from "../../node_modules/nanoid/index.browser.js";
|
|
3
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import "../../_shared/utils/dom.js";
|
11
7
|
import { isUndefined, isNull, isString, isObject } from "../../_shared/utils/is.js";
|
12
8
|
import "../../_shared/utils/locale.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, toRefs, computed, createElementBlock, openBlock, norma
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { valueToPx } from "../_shared/utils/dom.js";
|
10
6
|
import "../_shared/utils/locale.js";
|
11
7
|
import "../_shared/utils/time.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, createElementBlock, openBlock, normalizeClass, unref }
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, toRefs, ref, computed, watch, createBlock, openBlock,
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
@@ -21,12 +21,6 @@ type SliderContext = {
|
|
21
21
|
export default function useSliderContext(): {
|
22
22
|
inject: () => SliderContext;
|
23
23
|
provide: (props: RecordType, emits: SliderEmits, trackRef: Ref<HTMLDivElement | undefined>) => {
|
24
|
-
range: Ref<boolean, boolean>;
|
25
|
-
direction: Ref<Direction, Direction>;
|
26
|
-
startValue: import('vue').WritableComputedRef<number, number>;
|
27
|
-
endValue: import('vue').WritableComputedRef<number, number>;
|
28
|
-
tempStartValue: Ref<number, number>;
|
29
|
-
tempEndValue: Ref<number, number>;
|
30
24
|
computedValue: import('vue').WritableComputedRef<SliderValue, SliderValue>;
|
31
25
|
ticks: import('vue').ComputedRef<{
|
32
26
|
label: number;
|
@@ -36,9 +30,21 @@ export default function useSliderContext(): {
|
|
36
30
|
value: number;
|
37
31
|
label: string;
|
38
32
|
}[]>;
|
33
|
+
startValue: import('vue').WritableComputedRef<number, number>;
|
34
|
+
endValue: import('vue').WritableComputedRef<number, number>;
|
35
|
+
tempStartValue: Ref<number, number>;
|
36
|
+
tempEndValue: Ref<number, number>;
|
37
|
+
range: Ref<boolean, boolean>;
|
39
38
|
min: Ref<number, number>;
|
40
39
|
max: Ref<number, number>;
|
40
|
+
step: Ref<number, number>;
|
41
|
+
showTooltip: Ref<boolean, boolean>;
|
42
|
+
disabled: Ref<boolean, boolean>;
|
43
|
+
direction: Ref<Direction, Direction>;
|
44
|
+
trackRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
45
|
+
formatTooltip: import('../../_shared/type').Format<number>;
|
41
46
|
normalizeValue: (value: number) => number;
|
47
|
+
denormalizeValue: (percent: number) => number;
|
42
48
|
};
|
43
49
|
};
|
44
50
|
export {};
|
@@ -2,10 +2,6 @@ import { toRefs, computed, ref, provide, inject } from "vue";
|
|
2
2
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../../_shared/utils/dom.js";
|
10
6
|
import { isArray } from "../../_shared/utils/is.js";
|
11
7
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
@@ -104,7 +100,7 @@ function useSliderContext() {
|
|
104
100
|
const clampedValue = Math.max(min.value, Math.min(finalValue, max.value));
|
105
101
|
return +clampedValue.toFixed(digit);
|
106
102
|
}
|
107
|
-
|
103
|
+
const context = {
|
108
104
|
startValue,
|
109
105
|
endValue,
|
110
106
|
tempStartValue,
|
@@ -120,20 +116,13 @@ function useSliderContext() {
|
|
120
116
|
formatTooltip,
|
121
117
|
normalizeValue,
|
122
118
|
denormalizeValue
|
123
|
-
}
|
119
|
+
};
|
120
|
+
provide(SLIDER_CONTEXT_KEY, context);
|
124
121
|
return {
|
125
|
-
|
126
|
-
direction,
|
127
|
-
startValue,
|
128
|
-
endValue,
|
129
|
-
tempStartValue,
|
130
|
-
tempEndValue,
|
122
|
+
...context,
|
131
123
|
computedValue,
|
132
124
|
ticks,
|
133
|
-
marks
|
134
|
-
min,
|
135
|
-
max,
|
136
|
-
normalizeValue
|
125
|
+
marks
|
137
126
|
};
|
138
127
|
};
|
139
128
|
const inject$1 = () => {
|
@@ -3,10 +3,6 @@ import { useDraggable } from "../../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { valueToPx } from "../../_shared/utils/dom.js";
|
11
7
|
import "../../_shared/utils/locale.js";
|
12
8
|
import "../../_shared/utils/time.js";
|
package/es/Space/index.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, toRefs, computed, Fragment, Comment, createE
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { valueToPx } from "../_shared/utils/dom.js";
|
10
6
|
import { isNumber, isArray, isUndefined } from "../_shared/utils/is.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
package/es/Spin/index.vue.js
CHANGED
@@ -3,10 +3,6 @@ import { createReusableTemplate } from "../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { valueToPx } from "../_shared/utils/dom.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
package/es/Split/index.vue.js
CHANGED
@@ -3,10 +3,6 @@ import { useDraggable } from "../node_modules/@vueuse/core/index.js";
|
|
3
3
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
4
4
|
import "../node_modules/dayjs/dayjs.min.js";
|
5
5
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
6
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
7
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
9
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
10
6
|
import { sleep, valueToPx } from "../_shared/utils/dom.js";
|
11
7
|
import { isNumber } from "../_shared/utils/is.js";
|
12
8
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, toRefs, ref, watch, createBlock, openBlock, unref, wit
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import { sleep } from "../_shared/utils/dom.js";
|
10
6
|
import { isUndefined } from "../_shared/utils/is.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
@@ -1,15 +1,11 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, ref, computed, watch, createElementBlock, openBlock, createCommentVNode, createElementVNode, renderSlot, createTextVNode, toDisplayString, normalizeStyle } from "vue";
|
2
2
|
import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
|
3
|
-
import "../node_modules/dayjs/dayjs.min.js";
|
3
|
+
import dayjs from "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import { isUndefined, isNumber } from "../_shared/utils/is.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
12
|
-
import { formatSeconds
|
8
|
+
import { formatSeconds } from "../_shared/utils/time.js";
|
13
9
|
const _hoisted_1 = { class: "yc-statistic yc-statistic-countdown" };
|
14
10
|
const _hoisted_2 = {
|
15
11
|
key: 0,
|
@@ -115,7 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
115
111
|
if (isCountdown.value) {
|
116
112
|
return formatSeconds(value2, format.value);
|
117
113
|
}
|
118
|
-
return
|
114
|
+
return dayjs(value2).format(format.value);
|
119
115
|
}
|
120
116
|
return (_ctx, _cache) => {
|
121
117
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
package/es/Steps/Step.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBl
|
|
2
2
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
3
3
|
import "../node_modules/dayjs/dayjs.min.js";
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
6
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
7
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
8
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
9
5
|
import "../_shared/utils/dom.js";
|
10
6
|
import "../_shared/utils/locale.js";
|
11
7
|
import "../_shared/utils/time.js";
|
@@ -3,9 +3,17 @@ import { StepsEmits, StepStatus, StepType } from '../type';
|
|
3
3
|
import { Direction, RecordType } from '../../_shared/type';
|
4
4
|
export default function useStepsContext(): {
|
5
5
|
provide: (props: RecordType, emits: StepsEmits) => {
|
6
|
+
stepMap: Reactive<Map<string, string>>;
|
7
|
+
computedCurrent: import('vue').WritableComputedRef<number, number>;
|
8
|
+
lineLess: Ref<boolean, boolean>;
|
6
9
|
direction: import('vue').ComputedRef<Direction>;
|
7
|
-
|
10
|
+
status: Ref<StepStatus, StepStatus>;
|
11
|
+
statusArr: Ref<Ref<StepStatus, StepStatus>[], Ref<StepStatus, StepStatus>[]>;
|
12
|
+
small: Ref<boolean, boolean>;
|
8
13
|
type: Ref<StepType, StepType>;
|
14
|
+
changeable: Ref<boolean, boolean>;
|
15
|
+
labelPlacement: import('vue').ComputedRef<Direction>;
|
16
|
+
emits: StepsEmits;
|
9
17
|
};
|
10
18
|
inject: (props: RecordType) => {
|
11
19
|
curStep: import('vue').ComputedRef<number>;
|