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 { 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 } from "../../_shared/utils/is.js";
|
12
8
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
@@ -51,7 +47,7 @@ function useStepsContext() {
|
|
51
47
|
});
|
52
48
|
const stepMap = reactive(/* @__PURE__ */ new Map());
|
53
49
|
const statusArr = ref([]);
|
54
|
-
|
50
|
+
const context = {
|
55
51
|
stepMap,
|
56
52
|
computedCurrent,
|
57
53
|
lineLess,
|
@@ -63,12 +59,9 @@ function useStepsContext() {
|
|
63
59
|
changeable,
|
64
60
|
labelPlacement,
|
65
61
|
emits
|
66
|
-
});
|
67
|
-
return {
|
68
|
-
direction,
|
69
|
-
labelPlacement,
|
70
|
-
type
|
71
62
|
};
|
63
|
+
provide(STEPS_CONTEXT_KEY, context);
|
64
|
+
return context;
|
72
65
|
};
|
73
66
|
const inject$1 = (props) => {
|
74
67
|
const { status: _status } = toRefs(props);
|
package/es/Switch/index.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, toRefs, computed, ref, createElementBlock, o
|
|
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/Tabs/TabButton.vue.js
CHANGED
@@ -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";
|
package/es/Tabs/TabPane.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, computed, createElementBlock, openBlock, createComment
|
|
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 { isUndefined } from "../_shared/utils/is.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
package/es/Tabs/Tabs.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, 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 { 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, 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 { isUndefined } from "../_shared/utils/is.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
package/es/Tabs/TabsTab.vue.js
CHANGED
@@ -3,10 +3,6 @@ import useTabsContext 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 { isUndefined } from "../_shared/utils/is.js";
|
12
8
|
import "../_shared/utils/locale.js";
|
@@ -22,13 +22,20 @@ export type PaneNode = {
|
|
22
22
|
} & TabPaneProps;
|
23
23
|
export default function useTabsContext(): {
|
24
24
|
provide: (props: RecordType, emits: TabsEmits, listRef: Ref<HTMLDivElement | undefined>) => {
|
25
|
+
autoSwitch: Ref<boolean, boolean>;
|
25
26
|
computedActiveKey: import('vue').WritableComputedRef<TabKey, TabKey>;
|
26
|
-
|
27
|
+
editable: Ref<boolean, boolean>;
|
27
28
|
direction: import('vue').ComputedRef<Direction>;
|
29
|
+
trigger: Ref<EventTrigger, EventTrigger>;
|
30
|
+
type: Ref<TabType, TabType>;
|
31
|
+
destoryOnHide: Ref<boolean, boolean>;
|
28
32
|
position: Ref<Position, Position>;
|
29
|
-
|
33
|
+
headerPadding: Ref<boolean, boolean>;
|
34
|
+
size: import('vue').ComputedRef<any>;
|
35
|
+
listRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
30
36
|
titleRefs: Ref<HTMLSpanElement[], HTMLSpanElement[]>;
|
31
37
|
tabRefs: Ref<HTMLDivElement[], HTMLDivElement[]>;
|
38
|
+
emits: TabsEmits;
|
32
39
|
};
|
33
40
|
inject: () => TabsContext;
|
34
41
|
};
|
@@ -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";
|
@@ -44,7 +40,7 @@ function useTabsContext() {
|
|
44
40
|
}
|
45
41
|
return _direction.value;
|
46
42
|
});
|
47
|
-
|
43
|
+
const context = {
|
48
44
|
computedActiveKey,
|
49
45
|
editable,
|
50
46
|
direction,
|
@@ -58,15 +54,11 @@ function useTabsContext() {
|
|
58
54
|
titleRefs,
|
59
55
|
tabRefs,
|
60
56
|
emits
|
61
|
-
}
|
57
|
+
};
|
58
|
+
provide(TABS_CONTEXT_KEY, context);
|
62
59
|
return {
|
63
|
-
|
64
|
-
|
65
|
-
direction,
|
66
|
-
position,
|
67
|
-
autoSwitch,
|
68
|
-
titleRefs,
|
69
|
-
tabRefs
|
60
|
+
...context,
|
61
|
+
autoSwitch
|
70
62
|
};
|
71
63
|
};
|
72
64
|
const inject$1 = () => {
|
@@ -3,10 +3,6 @@ import { useResizeObserver } 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 } from "../../_shared/utils/dom.js";
|
11
7
|
import "../../_shared/utils/locale.js";
|
12
8
|
import "../../_shared/utils/time.js";
|
package/es/Tag/index.vue.js
CHANGED
@@ -3,10 +3,6 @@ import { TAG_PRESET_COLORS } 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 { getGlobalConfig } from "../_shared/utils/global-config.js";
|
12
8
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
@@ -3,10 +3,6 @@ import { useElementSize } 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/Textarea/index.vue.js
CHANGED
@@ -7,10 +7,6 @@ import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
|
7
7
|
import "../node_modules/b-tween/dist/b-tween.es.js";
|
8
8
|
import "../node_modules/dayjs/dayjs.min.js";
|
9
9
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
10
|
-
import "../node_modules/dayjs/plugin/duration.js";
|
11
|
-
import "../node_modules/dayjs/plugin/toObject.js";
|
12
|
-
import "../node_modules/dayjs/plugin/isSameOrAfter.js";
|
13
|
-
import "../node_modules/dayjs/plugin/isSameOrBefore.js";
|
14
10
|
import "../_shared/utils/dom.js";
|
15
11
|
import "../_shared/utils/locale.js";
|
16
12
|
import "../_shared/utils/time.js";
|
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, ref, createBlock, openBlock, unref, mergePro
|
|
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 { isArray } from "../_shared/utils/is.js";
|
@@ -172,7 +168,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
172
168
|
value: unref(isArray)(unref(computedValue)) ? unref(computedValue)[0] : unref(computedValue),
|
173
169
|
placeholder: unref(isArray)(unref(placeholder)) ? unref(placeholder)[0] : unref(placeholder),
|
174
170
|
disabled: unref(disabled),
|
175
|
-
readonly: unref(readonly),
|
171
|
+
readonly: unref(readonly) || true,
|
176
172
|
ref: (el) => unref(inputRefs)[0] = el,
|
177
173
|
class: "yc-picker-start-time"
|
178
174
|
}, null, 8, _hoisted_2)
|
@@ -2,10 +2,6 @@ import { defineComponent, ref, computed, createElementBlock, openBlock, createEl
|
|
2
2
|
import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
|
3
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 { sleep } from "../_shared/utils/dom.js";
|
10
6
|
import { isUndefined, isArray } from "../_shared/utils/is.js";
|
11
7
|
import { useI18n } from "../_shared/utils/locale.js";
|
@@ -26,17 +26,27 @@ type TimePickerCell = {
|
|
26
26
|
};
|
27
27
|
export default function useTimePickerContext(): {
|
28
28
|
provide: (props: RecordType, emits: TimePickerEmits) => {
|
29
|
-
computedValue: import('vue').WritableComputedRef<TimePickerValue, TimePickerValue>;
|
30
|
-
computedVisible: import('vue').WritableComputedRef<boolean, boolean>;
|
31
29
|
showClearBtn: import('vue').ComputedRef<boolean | "" | 0>;
|
32
|
-
curValue: Ref<number[], number[]>;
|
33
30
|
readonly: Ref<boolean, boolean>;
|
34
31
|
disabled: Ref<boolean, boolean>;
|
35
|
-
type: Ref<TimePickerType, TimePickerType>;
|
36
|
-
curIndex: Ref<number, number>;
|
37
|
-
inputRefs: Ref<HTMLInputElement[], HTMLInputElement[]>;
|
38
|
-
format: Ref<string, string>;
|
39
32
|
placeholder: import('vue').ComputedRef<string | string[]>;
|
33
|
+
type: Ref<TimePickerType>;
|
34
|
+
format: Ref<string>;
|
35
|
+
computedValue: Ref<TimePickerValue>;
|
36
|
+
computedVisible: Ref<boolean>;
|
37
|
+
curIndex: Ref<number>;
|
38
|
+
curValue: Ref<number[]>;
|
39
|
+
timeColumn: Ref<TimeUnit[]>;
|
40
|
+
timeColumnCells: Ref<{
|
41
|
+
unit: TimeUnit;
|
42
|
+
cells: TimePickerCell[];
|
43
|
+
}[]>;
|
44
|
+
inputRefs: Ref<HTMLInputElement[]>;
|
45
|
+
disableConfirm: Ref<boolean>;
|
46
|
+
hideDisabledOptions: Ref<boolean>;
|
47
|
+
disabledHours: DisabledHours;
|
48
|
+
disabledMinutes: DisabledMinutes;
|
49
|
+
disabledSeconds: DisabledSeconds;
|
40
50
|
};
|
41
51
|
inject: () => TimePickerContext;
|
42
52
|
};
|
@@ -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 { isArray } from "../../_shared/utils/is.js";
|
11
7
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
@@ -87,7 +83,7 @@ function useTimePickerContext() {
|
|
87
83
|
);
|
88
84
|
});
|
89
85
|
const inputRefs = ref([]);
|
90
|
-
|
86
|
+
const context = {
|
91
87
|
computedValue,
|
92
88
|
computedVisible,
|
93
89
|
timeColumn,
|
@@ -102,18 +98,13 @@ function useTimePickerContext() {
|
|
102
98
|
disabledHours,
|
103
99
|
disabledMinutes,
|
104
100
|
disabledSeconds
|
105
|
-
}
|
101
|
+
};
|
102
|
+
provide(TIME_PICKER_CONTEXT_KEY, context);
|
106
103
|
return {
|
107
|
-
|
108
|
-
computedVisible,
|
104
|
+
...context,
|
109
105
|
showClearBtn,
|
110
|
-
curValue,
|
111
106
|
readonly,
|
112
107
|
disabled,
|
113
|
-
type,
|
114
|
-
curIndex,
|
115
|
-
inputRefs,
|
116
|
-
format,
|
117
108
|
placeholder
|
118
109
|
};
|
119
110
|
};
|
@@ -2,10 +2,6 @@ import { defineComponent, createBlock, openBlock, withCtx, createElementBlock, c
|
|
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 { isString } from "../_shared/utils/is.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
@@ -9,11 +9,13 @@ type TimelineContext = {
|
|
9
9
|
};
|
10
10
|
export default function useTimelineContext(): {
|
11
11
|
provide: (props: RecordType) => {
|
12
|
-
direction: Ref<Direction, Direction>;
|
13
|
-
mode: import('vue').ComputedRef<TimelineMode>;
|
14
12
|
timelineItems: import('vue').ComputedRef<(import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
15
13
|
[key: string]: any;
|
16
14
|
}> | RecordType)[]>;
|
15
|
+
direction: Ref<Direction, Direction>;
|
16
|
+
mode: import('vue').ComputedRef<TimelineMode>;
|
17
|
+
labelPosition: Ref<TimelineLabelPosition, TimelineLabelPosition>;
|
18
|
+
reverse: Ref<boolean, boolean>;
|
17
19
|
};
|
18
20
|
inject: () => TimelineContext;
|
19
21
|
};
|
@@ -2,10 +2,6 @@ import { toRefs, useSlots, computed, h, provide, 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 "../../_shared/utils/locale.js";
|
11
7
|
import "../../_shared/utils/time.js";
|
@@ -43,17 +39,14 @@ function useTimelineContext() {
|
|
43
39
|
);
|
44
40
|
return pending.value ? [...nodes, pendingNodes.value] : nodes;
|
45
41
|
});
|
46
|
-
|
42
|
+
const context = {
|
47
43
|
direction,
|
48
44
|
mode,
|
49
45
|
labelPosition,
|
50
46
|
reverse
|
51
|
-
});
|
52
|
-
return {
|
53
|
-
direction,
|
54
|
-
mode,
|
55
|
-
timelineItems
|
56
47
|
};
|
48
|
+
provide(TIMELINE_CONTEXT_KEY, context);
|
49
|
+
return { ...context, timelineItems };
|
57
50
|
};
|
58
51
|
const inject$1 = () => {
|
59
52
|
return inject(TIMELINE_CONTEXT_KEY, {
|
package/es/Tooltip/index.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, toRefs, computed, 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";
|
@@ -3,10 +3,6 @@ import useTransferContext 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 "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
@@ -4,17 +4,13 @@ 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";
|
14
10
|
/* empty css */
|
15
11
|
/* empty css */
|
16
12
|
import _sfc_main$4 from "../_shared/icons/IconClose.vue.js";
|
17
|
-
import _sfc_main$2 from "../_shared/icons/IconDelete.
|
13
|
+
import _sfc_main$2 from "../_shared/icons/IconDelete.vue2.js";
|
18
14
|
import _sfc_main$3 from "../_shared/icons/IconSearch.vue.js";
|
19
15
|
import useTransferContext from "./hooks/useContext.js";
|
20
16
|
import Checkbox from "../Checkbox/index.js";
|
@@ -20,12 +20,7 @@ type TransferContext = {
|
|
20
20
|
emits: TransferEmits;
|
21
21
|
};
|
22
22
|
export default function useTransferContext(): {
|
23
|
-
provide: (props: RecordType, emits: TransferEmits) =>
|
24
|
-
computedValue: import('vue').WritableComputedRef<TransferItemValue[], TransferItemValue[]>;
|
25
|
-
computedSelected: import('vue').WritableComputedRef<TransferItemValue[], TransferItemValue[]>;
|
26
|
-
targetChecked: import('vue').ComputedRef<TransferItemValue[]>;
|
27
|
-
sourceChecked: import('vue').ComputedRef<TransferItemValue[]>;
|
28
|
-
};
|
23
|
+
provide: (props: RecordType, emits: TransferEmits) => TransferContext;
|
29
24
|
inject: () => TransferContext;
|
30
25
|
};
|
31
26
|
export {};
|
@@ -2,10 +2,6 @@ import { toRefs, computed, provide, 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 { useControlValue } from "../../_shared/utils/hooks.js";
|
11
7
|
import "../../_shared/utils/locale.js";
|
@@ -73,7 +69,7 @@ function useTransferContext() {
|
|
73
69
|
return computedValueMap.value.has(item);
|
74
70
|
});
|
75
71
|
});
|
76
|
-
|
72
|
+
const context = {
|
77
73
|
computedValue,
|
78
74
|
computedSelected,
|
79
75
|
targetChecked,
|
@@ -89,13 +85,9 @@ function useTransferContext() {
|
|
89
85
|
disabled,
|
90
86
|
title,
|
91
87
|
emits
|
92
|
-
});
|
93
|
-
return {
|
94
|
-
computedValue,
|
95
|
-
computedSelected,
|
96
|
-
targetChecked,
|
97
|
-
sourceChecked
|
98
88
|
};
|
89
|
+
provide(TRANSFER_CONTEXT_KEY, context);
|
90
|
+
return context;
|
99
91
|
};
|
100
92
|
const inject$1 = () => {
|
101
93
|
return inject(TRANSFER_CONTEXT_KEY, {
|
@@ -4,10 +4,6 @@ import { nanoid } from "../../node_modules/nanoid/index.browser.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 { sleep } from "../../_shared/utils/dom.js";
|
12
8
|
import "../../_shared/utils/locale.js";
|
13
9
|
import "../../_shared/utils/time.js";
|
@@ -3,10 +3,6 @@ import { useElementSize, useElementBounding, unrefElement } from "../../node_mod
|
|
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, sleep } from "../../_shared/utils/dom.js";
|
11
7
|
import "../../_shared/utils/locale.js";
|
12
8
|
import "../../_shared/utils/time.js";
|
@@ -4,10 +4,6 @@ import { unrefElement, onClickOutside, useEventListener } from "../../node_modul
|
|
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 { findFirstScrollableParent } from "../../_shared/utils/dom.js";
|
12
8
|
import { useControlValue } from "../../_shared/utils/hooks.js";
|
13
9
|
import "../../_shared/utils/locale.js";
|
package/es/Trigger/index.vue.js
CHANGED
@@ -2,10 +2,6 @@ import { defineComponent, useSlots, 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 "../_shared/utils/dom.js";
|
10
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
11
7
|
import "../_shared/utils/locale.js";
|
@@ -3,10 +3,6 @@ import { useClipboard } 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 { innerText, sleep } from "../_shared/utils/dom.js";
|
11
7
|
import { useControlValue } from "../_shared/utils/hooks.js";
|
12
8
|
import { useI18n } from "../_shared/utils/locale.js";
|
@@ -14,8 +10,8 @@ import "../_shared/utils/time.js";
|
|
14
10
|
/* empty css */
|
15
11
|
/* empty css */
|
16
12
|
/* empty css */
|
17
|
-
import _sfc_main$3 from "../_shared/icons/IconCopy.
|
18
|
-
import _sfc_main$1 from "../_shared/icons/IconEdit.
|
13
|
+
import _sfc_main$3 from "../_shared/icons/IconCopy.vue2.js";
|
14
|
+
import _sfc_main$1 from "../_shared/icons/IconEdit.vue2.js";
|
19
15
|
import _sfc_main$2 from "../_shared/icons/IconInfo.vue.js";
|
20
16
|
import Input from "../Input/index.js";
|
21
17
|
import Tooltip from "../Tooltip/index.js";
|
package/es/Upload/Upload.vue.js
CHANGED
@@ -4,8 +4,10 @@ import _sfc_main$2 from "./UploadButton.vue.js";
|
|
4
4
|
/* empty css */
|
5
5
|
import _sfc_main$1 from "./UploadDrag.vue.js";
|
6
6
|
/* empty css */
|
7
|
-
import
|
8
|
-
|
7
|
+
import _sfc_main$3 from "./UploadFileList.vue.js";
|
8
|
+
/* empty css */
|
9
|
+
import _sfc_main$4 from "./UploadPictureCard.vue.js";
|
10
|
+
/* empty css */
|
9
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
10
12
|
...{
|
11
13
|
name: "Upload"
|
@@ -100,7 +102,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
100
102
|
}, null, 8, ["is-over-drop-zone"])) : (openBlock(), createBlock(_sfc_main$2, { key: 1 }))
|
101
103
|
]) : createCommentVNode("", true)
|
102
104
|
], 2)) : createCommentVNode("", true),
|
103
|
-
_ctx.showFileList && unref(computedFileList).length ? (openBlock(), createBlock(
|
105
|
+
_ctx.showFileList && unref(computedFileList).length ? (openBlock(), createBlock(_sfc_main$3, { key: 1 }, createSlots({ _: 2 }, [
|
104
106
|
$slots["extra-button"] ? {
|
105
107
|
name: "extra-button",
|
106
108
|
fn: withCtx((scope) => [
|
@@ -116,7 +118,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
116
118
|
key: "1"
|
117
119
|
} : void 0
|
118
120
|
]), 1024)) : createCommentVNode("", true)
|
119
|
-
], 64)) : (openBlock(), createBlock(
|
121
|
+
], 64)) : (openBlock(), createBlock(_sfc_main$4, { key: 1 }))
|
120
122
|
], 2);
|
121
123
|
};
|
122
124
|
}
|
@@ -3,10 +3,6 @@ import useUploadContext 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 { useI18n } from "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|
@@ -3,10 +3,6 @@ import useUploadContext 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 { useI18n } from "../_shared/utils/locale.js";
|
12
8
|
import "../_shared/utils/time.js";
|