yc-design-vue 1.7.6 → 1.7.8
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/es/Alert/index.js +4 -3
- package/es/Alert/index.vue.js +100 -5
- package/es/Alert/index.vue3.js +5 -0
- package/es/Anchor/Anchor.vue.js +71 -5
- package/es/Anchor/Anchor.vue3.js +5 -0
- package/es/Anchor/AnchorLink.vue.js +75 -5
- package/es/Anchor/AnchorLink.vue3.js +5 -0
- package/es/Anchor/hooks/useContext.js +3 -2
- package/es/Anchor/index.css +1 -1
- package/es/Anchor/index.js +9 -7
- package/es/Avatar/Avatar.vue.js +113 -5
- package/es/Avatar/Avatar.vue3.js +5 -0
- package/es/Avatar/AvatarGroup.vue.js +93 -5
- package/es/Avatar/AvatarGroup.vue3.js +5 -0
- package/es/Avatar/index.css +1 -1
- package/es/Avatar/index.js +9 -7
- package/es/BackTop/index.js +4 -3
- package/es/BackTop/index.vue.js +80 -5
- package/es/BackTop/index.vue3.js +5 -0
- package/es/Badge/index.js +4 -3
- package/es/Badge/index.vue.js +90 -5
- package/es/Badge/index.vue3.js +5 -0
- package/es/Breadcrumb/Breadcrumb.vue.js +118 -5
- package/es/Breadcrumb/Breadcrumb.vue3.js +5 -0
- package/es/Breadcrumb/BreadcrumbItem.vue.js +75 -5
- package/es/Breadcrumb/BreadcrumbItem.vue3.js +5 -0
- package/es/Breadcrumb/BreadcrumbMore.vue.js +5 -4
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +42 -5
- package/es/Breadcrumb/BreadcrumbSeparator.vue3.js +5 -0
- package/es/Breadcrumb/index.css +1 -1
- package/es/Breadcrumb/index.js +9 -7
- package/es/Button/Button.vue.js +108 -5
- package/es/Button/Button.vue3.js +5 -0
- package/es/Button/index.js +7 -6
- package/es/Calendar/Calendar.vue.js +209 -5
- package/es/Calendar/Calendar.vue3.js +5 -0
- package/es/Calendar/CalendarMonth.vue.js +114 -5
- package/es/Calendar/CalendarMonth.vue3.js +5 -0
- package/es/Calendar/CalendarYear.vue.js +95 -5
- package/es/Calendar/CalendarYear.vue3.js +5 -0
- package/es/Calendar/index.js +4 -3
- package/es/Card/Card.vue.js +121 -5
- package/es/Card/Card.vue3.js +5 -0
- package/es/Card/CardGrid.vue.js +25 -5
- package/es/Card/CardGrid.vue3.js +5 -0
- package/es/Card/CardMeta.vue.js +68 -5
- package/es/Card/CardMeta.vue3.js +5 -0
- package/es/Card/index.css +1 -1
- package/es/Card/index.js +14 -11
- package/es/Carousel/Carousel.vue.js +131 -5
- package/es/Carousel/Carousel.vue3.js +5 -0
- package/es/Carousel/CarouselArrow.vue.js +53 -5
- package/es/Carousel/CarouselArrow.vue3.js +5 -0
- package/es/Carousel/CarouselIndicator.vue.js +55 -5
- package/es/Carousel/CarouselIndicator.vue3.js +5 -0
- package/es/Carousel/CarouselItem.vue.js +53 -5
- package/es/Carousel/CarouselItem.vue3.js +5 -0
- package/es/Carousel/hooks/useContext.js +3 -2
- package/es/Carousel/index.js +9 -7
- package/es/Cascader/Cascader.vue.js +288 -5
- package/es/Cascader/Cascader.vue3.js +5 -0
- package/es/Cascader/CascaderIcon.vue.js +65 -5
- package/es/Cascader/CascaderIcon.vue3.js +5 -0
- package/es/Cascader/CascaderOption.vue.js +205 -5
- package/es/Cascader/CascaderOption.vue3.js +5 -0
- package/es/Cascader/CascaderPanel.vue.js +62 -5
- package/es/Cascader/CascaderPanel.vue3.js +5 -0
- package/es/Cascader/CascaderSearchPanel.vue.js +43 -5
- package/es/Cascader/CascaderSearchPanel.vue3.js +5 -0
- package/es/Cascader/index.css +1 -1
- package/es/Cascader/index.js +4 -3
- package/es/Checkbox/Checkbox.vue.js +114 -5
- package/es/Checkbox/Checkbox.vue3.js +5 -0
- package/es/Checkbox/CheckboxGroup.vue.js +3 -2
- package/es/Checkbox/index.js +7 -6
- package/es/Collapse/Collapse.vue.js +36 -5
- package/es/Collapse/Collapse.vue3.js +5 -0
- package/es/Collapse/CollapseItem.vue.js +130 -5
- package/es/Collapse/CollapseItem.vue3.js +5 -0
- package/es/Collapse/index.css +1 -1
- package/es/Collapse/index.js +9 -7
- package/es/ColorPicker/ColorControl.vue.js +110 -5
- package/es/ColorPicker/ColorControl.vue3.js +5 -0
- package/es/ColorPicker/ColorInput.vue.js +159 -6
- package/es/ColorPicker/ColorInput.vue3.js +5 -0
- package/es/ColorPicker/ColorList.vue.js +45 -5
- package/es/ColorPicker/ColorList.vue3.js +5 -0
- package/es/ColorPicker/ColorPalette.vue.js +98 -5
- package/es/ColorPicker/ColorPalette.vue3.js +5 -0
- package/es/ColorPicker/ColorPanel.vue.js +145 -4
- package/es/ColorPicker/ColorPanel.vue3.js +5 -0
- package/es/ColorPicker/ColorPicker.vue.js +86 -5
- package/es/ColorPicker/ColorPicker.vue3.js +5 -0
- package/es/ColorPicker/index.css +1 -1
- package/es/ColorPicker/index.js +4 -3
- package/es/Comment/index.js +4 -3
- package/es/Comment/index.vue.js +108 -5
- package/es/Comment/index.vue3.js +5 -0
- package/es/Descriptions/Descriptions.vue.js +9 -7
- package/es/Descriptions/ReuseItem.vue.js +60 -5
- package/es/Descriptions/ReuseItem.vue3.js +5 -0
- package/es/Descriptions/ReuseTd.vue.js +54 -5
- package/es/Descriptions/ReuseTd.vue3.js +5 -0
- package/es/Divider/index.js +4 -3
- package/es/Divider/index.vue.js +52 -5
- package/es/Divider/index.vue3.js +5 -0
- package/es/Drawer/Drawer.vue.js +202 -5
- package/es/Drawer/Drawer.vue3.js +5 -0
- package/es/Drawer/DrawerService.vue.js +3 -2
- package/es/Drawer/index.js +7 -6
- package/es/Dropdown/Dgroup.vue.js +31 -5
- package/es/Dropdown/Dgroup.vue3.js +5 -0
- package/es/Dropdown/Doption.vue.js +63 -5
- package/es/Dropdown/Doption.vue3.js +5 -0
- package/es/Dropdown/Dsubmenu.vue.js +154 -5
- package/es/Dropdown/Dsubmenu.vue3.js +5 -0
- package/es/Dropdown/index.js +18 -15
- package/es/Empty/index.js +4 -3
- package/es/Empty/index.vue.js +46 -5
- package/es/Empty/index.vue3.js +5 -0
- package/es/Grid/Grid.vue.js +39 -5
- package/es/Grid/Grid.vue3.js +5 -0
- package/es/Grid/GridRow.vue.js +46 -5
- package/es/Grid/GridRow.vue3.js +5 -0
- package/es/Grid/index.js +15 -13
- package/es/Image/Image.vue.js +182 -5
- package/es/Image/Image.vue3.js +5 -0
- package/es/Image/ImagePreview.vue.js +212 -5
- package/es/Image/ImagePreview.vue3.js +5 -0
- package/es/Image/ImagePreviewAction.vue.js +49 -5
- package/es/Image/ImagePreviewAction.vue3.js +5 -0
- package/es/Image/ImagePreviewArrow.vue.js +25 -5
- package/es/Image/ImagePreviewArrow.vue3.js +5 -0
- package/es/Image/ImagePreviewGroup.vue.js +7 -5
- package/es/Image/ImagePreviewToolbar.vue.js +73 -5
- package/es/Image/ImagePreviewToolbar.vue3.js +5 -0
- package/es/Image/hooks/useContext.js +3 -2
- package/es/Image/index.js +17 -14
- package/es/Input/Input.vue.js +232 -5
- package/es/Input/Input.vue3.js +5 -0
- package/es/Input/InputSuffix.vue.js +50 -5
- package/es/Input/InputSuffix.vue3.js +5 -0
- package/es/Input/index.js +4 -3
- package/es/InputNumber/InputNumber.vue.js +269 -5
- package/es/InputNumber/InputNumber.vue3.js +5 -0
- package/es/InputNumber/InputOperaBtn.vue.js +56 -5
- package/es/InputNumber/InputOperaBtn.vue3.js +5 -0
- package/es/InputNumber/index.css +1 -1
- package/es/InputNumber/index.js +4 -3
- package/es/InputTag/index.css +1 -1
- package/es/InputTag/index.js +4 -3
- package/es/InputTag/index.vue.js +322 -5
- package/es/InputTag/index.vue3.js +5 -0
- package/es/Layout/Layout.vue.js +44 -5
- package/es/Layout/Layout.vue3.js +5 -0
- package/es/Layout/LayoutContent.vue.js +16 -5
- package/es/Layout/LayoutContent.vue3.js +5 -0
- package/es/Layout/LayoutFooter.vue.js +16 -5
- package/es/Layout/LayoutFooter.vue3.js +5 -0
- package/es/Layout/LayoutHeader.vue.js +16 -5
- package/es/Layout/LayoutHeader.vue3.js +5 -0
- package/es/Layout/LayoutSider.vue.js +130 -5
- package/es/Layout/LayoutSider.vue3.js +5 -0
- package/es/Layout/index.js +24 -19
- package/es/Link/index.js +4 -3
- package/es/Link/index.vue.js +69 -5
- package/es/Link/index.vue3.js +5 -0
- package/es/List/List.vue.js +207 -5
- package/es/List/List.vue3.js +5 -0
- package/es/List/ListItem.vue.js +56 -5
- package/es/List/ListItem.vue3.js +5 -0
- package/es/List/ListItemMeta.vue.js +47 -5
- package/es/List/ListItemMeta.vue3.js +5 -0
- package/es/List/index.css +1 -1
- package/es/List/index.js +14 -11
- package/es/Menu/Menu.vue.js +97 -5
- package/es/Menu/Menu.vue3.js +5 -0
- package/es/Menu/MenuEllipsis.vue.js +92 -5
- package/es/Menu/MenuEllipsis.vue3.js +5 -0
- package/es/Menu/MenuItem.vue.js +230 -5
- package/es/Menu/MenuItem.vue3.js +5 -0
- package/es/Menu/MenuItemGroup.vue.js +40 -5
- package/es/Menu/MenuItemGroup.vue3.js +5 -0
- package/es/Menu/MenuPopOption.vue.js +6 -4
- package/es/Menu/SubMenu.vue.js +79 -5
- package/es/Menu/SubMenu.vue3.js +5 -0
- package/es/Menu/hooks/useContext.js +7 -5
- package/es/Menu/index.css +1 -1
- package/es/Menu/index.js +19 -15
- package/es/Message/Message.vue.js +99 -5
- package/es/Message/Message.vue3.js +5 -0
- package/es/Message/MessageList.vue.js +30 -5
- package/es/Message/MessageList.vue3.js +5 -0
- package/es/Message/index.js +7 -5
- package/es/Modal/Modal.vue.js +255 -5
- package/es/Modal/Modal.vue3.js +5 -0
- package/es/Modal/ModalService.vue.js +3 -2
- package/es/Modal/index.js +6 -5
- package/es/Notification/Notification.vue.js +126 -5
- package/es/Notification/Notification.vue3.js +5 -0
- package/es/Notification/NotificationList.vue.js +34 -5
- package/es/Notification/NotificationList.vue3.js +5 -0
- package/es/Notification/index.js +7 -5
- package/es/OverflowList/index.css +1 -1
- package/es/OverflowList/index.js +4 -3
- package/es/OverflowList/index.vue.js +120 -5
- package/es/OverflowList/index.vue3.js +5 -0
- package/es/PageHeader/index.css +1 -1
- package/es/PageHeader/index.js +4 -3
- package/es/PageHeader/index.vue.js +95 -5
- package/es/PageHeader/index.vue3.js +5 -0
- package/es/Pagination/Pagination.vue.js +190 -5
- package/es/Pagination/Pagination.vue3.js +5 -0
- package/es/Pagination/PaginationItem.vue.js +83 -5
- package/es/Pagination/PaginationItem.vue3.js +5 -0
- package/es/Pagination/index.css +1 -1
- package/es/Pagination/index.js +4 -3
- package/es/Progress/Progress.vue.js +131 -5
- package/es/Progress/Progress.vue3.js +5 -0
- package/es/Progress/ProgressCircle.vue.js +147 -5
- package/es/Progress/ProgressCircle.vue3.js +5 -0
- package/es/Progress/ProgressLine.vue.js +97 -5
- package/es/Progress/ProgressLine.vue3.js +5 -0
- package/es/Progress/index.js +4 -3
- package/es/Radio/Radio.vue.js +122 -5
- package/es/Radio/Radio.vue3.js +5 -0
- package/es/Radio/RadioGroup.vue.js +3 -2
- package/es/Radio/index.js +7 -6
- package/es/Rate/index.js +4 -3
- package/es/Rate/index.vue.js +146 -5
- package/es/Rate/index.vue3.js +5 -0
- package/es/ResizeBox/index.js +4 -3
- package/es/ResizeBox/index.vue.js +159 -5
- package/es/ResizeBox/index.vue3.js +5 -0
- package/es/Result/index.js +4 -3
- package/es/Result/index.vue.js +72 -5
- package/es/Result/index.vue3.js +5 -0
- package/es/Scrollbar/Scrollbar.vue.js +224 -5
- package/es/Scrollbar/Scrollbar.vue3.js +5 -0
- package/es/Scrollbar/ScrollbarTrack.vue.js +112 -5
- package/es/Scrollbar/ScrollbarTrack.vue3.js +5 -0
- package/es/Scrollbar/index.css +1 -1
- package/es/Scrollbar/index.js +4 -3
- package/es/Select/Optgroup.vue.js +24 -5
- package/es/Select/Optgroup.vue3.js +5 -0
- package/es/Select/Option.vue.js +138 -5
- package/es/Select/Option.vue3.js +5 -0
- package/es/Select/Select.vue.js +302 -5
- package/es/Select/Select.vue3.js +5 -0
- package/es/Select/SelectIcon.vue.js +65 -5
- package/es/Select/SelectIcon.vue3.js +5 -0
- package/es/Select/SelectRealList.vue.js +95 -5
- package/es/Select/SelectRealList.vue3.js +5 -0
- package/es/Select/SelectView.vue.js +99 -5
- package/es/Select/SelectView.vue3.js +5 -0
- package/es/Select/SelectVirtualList.vue.js +60 -5
- package/es/Select/SelectVirtualList.vue3.js +5 -0
- package/es/Select/index.css +1 -1
- package/es/Select/index.js +14 -11
- package/es/Skeleton/SkeletonLine.vue.js +43 -5
- package/es/Skeleton/SkeletonLine.vue3.js +5 -0
- package/es/Skeleton/SkeletonShape.vue.js +29 -5
- package/es/Skeleton/SkeletonShape.vue3.js +5 -0
- package/es/Skeleton/index.css +1 -1
- package/es/Skeleton/index.js +10 -8
- package/es/Slider/Slider.vue.js +146 -5
- package/es/Slider/Slider.vue3.js +5 -0
- package/es/Slider/SliderBtn.vue.js +96 -5
- package/es/Slider/SliderBtn.vue3.js +5 -0
- package/es/Slider/SliderInput.vue.js +54 -5
- package/es/Slider/SliderInput.vue3.js +5 -0
- package/es/Slider/SliderTicks.vue.js +64 -5
- package/es/Slider/SliderTicks.vue3.js +5 -0
- package/es/Slider/index.css +1 -1
- package/es/Slider/index.js +4 -3
- package/es/Space/index.js +4 -3
- package/es/Space/index.vue.js +94 -5
- package/es/Space/index.vue3.js +5 -0
- package/es/Spin/index.js +4 -3
- package/es/Spin/index.vue.js +87 -5
- package/es/Spin/index.vue3.js +5 -0
- package/es/Split/index.js +4 -3
- package/es/Split/index.vue.js +144 -5
- package/es/Split/index.vue3.js +5 -0
- package/es/Statistic/Countdown.vue.js +3 -2
- package/es/Statistic/Statistic.vue.js +153 -5
- package/es/Statistic/Statistic.vue3.js +5 -0
- package/es/Statistic/index.js +7 -6
- package/es/Steps/Step.vue.js +113 -5
- package/es/Steps/Step.vue3.js +5 -0
- package/es/Steps/Steps.vue.js +41 -5
- package/es/Steps/Steps.vue3.js +5 -0
- package/es/Steps/index.js +9 -7
- package/es/Switch/index.js +4 -3
- package/es/Switch/index.vue.js +152 -5
- package/es/Switch/index.vue3.js +5 -0
- package/es/Tabs/TabButton.vue.js +36 -5
- package/es/Tabs/TabButton.vue3.js +5 -0
- package/es/Tabs/Tabs.vue.js +209 -5
- package/es/Tabs/Tabs.vue3.js +5 -0
- package/es/Tabs/TabsNavInk.vue.js +60 -5
- package/es/Tabs/TabsNavInk.vue3.js +5 -0
- package/es/Tabs/TabsTab.vue.js +90 -5
- package/es/Tabs/TabsTab.vue3.js +5 -0
- package/es/Tabs/index.js +6 -5
- package/es/Tag/index.js +4 -3
- package/es/Tag/index.vue.js +112 -5
- package/es/Tag/index.vue3.js +5 -0
- package/es/Textarea/index.js +4 -3
- package/es/Textarea/index.vue.js +163 -5
- package/es/Textarea/index.vue3.js +5 -0
- package/es/TimePicker/TimePicker.vue.js +214 -5
- package/es/TimePicker/TimePicker.vue3.js +5 -0
- package/es/TimePicker/TimePickerPanel.vue.js +215 -5
- package/es/TimePicker/TimePickerPanel.vue3.js +5 -0
- package/es/TimePicker/index.js +4 -3
- package/es/Timeline/Timeline.vue.js +52 -5
- package/es/Timeline/Timeline.vue3.js +5 -0
- package/es/Timeline/TimelineItem.vue.js +87 -5
- package/es/Timeline/TimelineItem.vue3.js +5 -0
- package/es/Timeline/TimelineItemPending.vue.js +3 -2
- package/es/Timeline/hooks/useContext.js +3 -2
- package/es/Timeline/index.css +1 -1
- package/es/Timeline/index.js +9 -7
- package/es/Transfer/Transfer.vue.js +104 -5
- package/es/Transfer/Transfer.vue3.js +5 -0
- package/es/Transfer/TransferPanel.vue.js +251 -5
- package/es/Transfer/TransferPanel.vue3.js +5 -0
- package/es/Transfer/index.css +1 -1
- package/es/Transfer/index.js +4 -3
- package/es/Trigger/index.js +4 -3
- package/es/Trigger/index.vue.js +186 -5
- package/es/Trigger/index.vue3.js +5 -0
- package/es/Typography/TypographyBase.vue.js +202 -5
- package/es/Typography/TypographyBase.vue3.js +5 -0
- package/es/Typography/TypographyParagraph.vue.js +49 -5
- package/es/Typography/TypographyParagraph.vue3.js +5 -0
- package/es/Typography/TypographyText.vue.js +3 -2
- package/es/Typography/TypographyTitle.vue.js +50 -5
- package/es/Typography/TypographyTitle.vue3.js +5 -0
- package/es/Typography/index.css +1 -1
- package/es/Typography/index.js +10 -8
- package/es/VerificationCode/index.css +1 -1
- package/es/VerificationCode/index.js +4 -3
- package/es/VerificationCode/index.vue.js +125 -5
- package/es/VerificationCode/index.vue3.js +5 -0
- package/es/Watermark/index.js +4 -3
- package/es/Watermark/index.vue.js +274 -5
- package/es/Watermark/index.vue3.js +5 -0
- package/es/_shared/components/ExpandTransition.vue2.js +47 -5
- package/es/_shared/components/ExpandTransition.vue3.js +2 -46
- package/es/_shared/components/Icon.vue2.js +1 -3
- package/es/_shared/components/Icon.vue3.js +1 -1
- package/es/_shared/components/IconButton.vue.js +44 -0
- package/es/_shared/components/IconButton.vue3.js +2 -41
- package/es/_shared/icons/IconArrowDown.vue.js +3 -2
- package/es/_shared/icons/IconArrowRight.vue.js +3 -2
- package/es/_shared/icons/IconCheck.vue.js +3 -2
- package/es/_shared/icons/IconCheckboxChecked.vue.js +3 -2
- package/es/_shared/icons/IconClose.vue.js +3 -2
- package/es/_shared/icons/IconCopy.vue.js +1 -16
- package/es/_shared/icons/IconCopy.vue2.js +17 -1
- package/es/_shared/icons/IconDelete.vue2.js +3 -2
- package/es/_shared/icons/IconDragDot.vue.js +3 -2
- package/es/_shared/icons/IconEdit.vue.js +1 -16
- package/es/_shared/icons/IconEdit.vue2.js +17 -1
- package/es/_shared/icons/IconEmpty.vue.js +3 -2
- package/es/_shared/icons/IconError.vue.js +3 -2
- package/es/_shared/icons/IconExclamation.vue2.js +3 -2
- package/es/_shared/icons/IconEyeClose.vue2.js +3 -2
- package/es/_shared/icons/IconEyeOpen.vue2.js +3 -2
- package/es/_shared/icons/IconFaceSmile.vue.js +3 -2
- package/es/_shared/icons/IconFullScreen.vue2.js +3 -2
- package/es/_shared/icons/IconImageClose.vue.js +3 -2
- package/es/_shared/icons/IconInfo.vue.js +3 -2
- package/es/_shared/icons/IconInfoLine.vue.js +3 -2
- package/es/_shared/icons/IconLink.vue.js +3 -2
- package/es/_shared/icons/IconLoading.vue.js +3 -2
- package/es/_shared/icons/IconMenuFold.vue.js +3 -2
- package/es/_shared/icons/IconMenuUnfold.vue.js +3 -2
- package/es/_shared/icons/IconMinus.vue2.js +3 -2
- package/es/_shared/icons/IconMore.vue.js +3 -2
- package/es/_shared/icons/IconOriginSize.vue2.js +3 -2
- package/es/_shared/icons/IconPlus.vue.js +3 -2
- package/es/_shared/icons/IconRight.vue.js +3 -2
- package/es/_shared/icons/IconRotateLeft.vue2.js +3 -2
- package/es/_shared/icons/IconRotateRight.vue2.js +3 -2
- package/es/_shared/icons/IconSearch.vue2.js +3 -2
- package/es/_shared/icons/IconSeparator.vue2.js +3 -2
- package/es/_shared/icons/IconStar.vue.js +3 -2
- package/es/_shared/icons/IconSuccess.vue.js +3 -2
- package/es/_shared/icons/IconTime.vue.js +3 -2
- package/es/_shared/icons/IconToTop.vue.js +3 -2
- package/es/_shared/icons/IconWarning.vue.js +3 -2
- package/es/_shared/icons/IconZoomIn.vue2.js +3 -2
- package/es/_shared/icons/IconZoomOut.vue2.js +3 -2
- package/es/index.js +153 -123
- package/es/shared.css +1 -1
- package/es/style.css +1 -1
- package/lib/Alert/index.js +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Alert/index.vue3.js +1 -0
- package/lib/Anchor/Anchor.vue.js +1 -1
- package/lib/Anchor/Anchor.vue3.js +1 -0
- package/lib/Anchor/AnchorLink.vue.js +1 -1
- package/lib/Anchor/AnchorLink.vue3.js +1 -0
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/Anchor/index.css +1 -1
- package/lib/Anchor/index.js +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/Avatar.vue3.js +1 -0
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue3.js +1 -0
- package/lib/Avatar/index.css +1 -1
- package/lib/Avatar/index.js +1 -1
- package/lib/BackTop/index.js +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/BackTop/index.vue3.js +1 -0
- package/lib/Badge/index.js +1 -1
- package/lib/Badge/index.vue.js +1 -1
- package/lib/Badge/index.vue3.js +1 -0
- package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.vue3.js +1 -0
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue3.js +1 -0
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue3.js +1 -0
- package/lib/Breadcrumb/index.css +1 -1
- package/lib/Breadcrumb/index.js +1 -1
- package/lib/Button/Button.vue.js +1 -1
- package/lib/Button/Button.vue3.js +1 -0
- package/lib/Button/index.js +1 -1
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Calendar/Calendar.vue3.js +1 -0
- package/lib/Calendar/CalendarMonth.vue.js +1 -1
- package/lib/Calendar/CalendarMonth.vue3.js +1 -0
- package/lib/Calendar/CalendarYear.vue.js +1 -1
- package/lib/Calendar/CalendarYear.vue3.js +1 -0
- package/lib/Calendar/index.js +1 -1
- package/lib/Card/Card.vue.js +1 -1
- package/lib/Card/Card.vue3.js +1 -0
- package/lib/Card/CardGrid.vue.js +1 -1
- package/lib/Card/CardGrid.vue3.js +1 -0
- package/lib/Card/CardMeta.vue.js +1 -1
- package/lib/Card/CardMeta.vue3.js +1 -0
- package/lib/Card/index.css +1 -1
- package/lib/Card/index.js +1 -1
- package/lib/Carousel/Carousel.vue.js +1 -1
- package/lib/Carousel/Carousel.vue3.js +1 -0
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/CarouselArrow.vue3.js +1 -0
- package/lib/Carousel/CarouselIndicator.vue.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue3.js +1 -0
- package/lib/Carousel/CarouselItem.vue.js +1 -1
- package/lib/Carousel/CarouselItem.vue3.js +1 -0
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Carousel/index.js +1 -1
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/Cascader.vue3.js +1 -0
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue3.js +1 -0
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue3.js +1 -0
- package/lib/Cascader/CascaderPanel.vue.js +1 -1
- package/lib/Cascader/CascaderPanel.vue3.js +1 -0
- package/lib/Cascader/CascaderSearchPanel.vue.js +1 -1
- package/lib/Cascader/CascaderSearchPanel.vue3.js +1 -0
- package/lib/Cascader/index.css +1 -1
- package/lib/Cascader/index.js +1 -1
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/Checkbox.vue3.js +1 -0
- package/lib/Checkbox/CheckboxGroup.vue.js +1 -1
- package/lib/Checkbox/index.js +1 -1
- package/lib/Collapse/Collapse.vue.js +1 -1
- package/lib/Collapse/Collapse.vue3.js +1 -0
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/CollapseItem.vue3.js +1 -0
- package/lib/Collapse/index.css +1 -1
- package/lib/Collapse/index.js +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorControl.vue3.js +1 -0
- package/lib/ColorPicker/ColorInput.vue.js +1 -1
- package/lib/ColorPicker/ColorInput.vue3.js +1 -0
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorList.vue3.js +1 -0
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue3.js +1 -0
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue3.js +1 -0
- package/lib/ColorPicker/ColorPicker.vue.js +1 -1
- package/lib/ColorPicker/ColorPicker.vue3.js +1 -0
- package/lib/ColorPicker/index.css +1 -1
- package/lib/ColorPicker/index.js +1 -1
- package/lib/Comment/index.js +1 -1
- package/lib/Comment/index.vue.js +1 -1
- package/lib/Comment/index.vue3.js +1 -0
- package/lib/Descriptions/Descriptions.vue.js +1 -1
- package/lib/Descriptions/ReuseItem.vue.js +1 -1
- package/lib/Descriptions/ReuseItem.vue3.js +1 -0
- package/lib/Descriptions/ReuseTd.vue.js +1 -1
- package/lib/Descriptions/ReuseTd.vue3.js +1 -0
- package/lib/Divider/index.js +1 -1
- package/lib/Divider/index.vue.js +1 -1
- package/lib/Divider/index.vue3.js +1 -0
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/Drawer.vue3.js +1 -0
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Drawer/index.js +1 -1
- package/lib/Dropdown/Dgroup.vue.js +1 -1
- package/lib/Dropdown/Dgroup.vue3.js +1 -0
- package/lib/Dropdown/Doption.vue.js +1 -1
- package/lib/Dropdown/Doption.vue3.js +1 -0
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue3.js +1 -0
- package/lib/Dropdown/index.js +1 -1
- package/lib/Empty/index.js +1 -1
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Empty/index.vue3.js +1 -0
- package/lib/Grid/Grid.vue.js +1 -1
- package/lib/Grid/Grid.vue3.js +1 -0
- package/lib/Grid/GridRow.vue.js +1 -1
- package/lib/Grid/GridRow.vue3.js +1 -0
- package/lib/Grid/index.js +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/Image.vue3.js +1 -0
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreview.vue3.js +1 -0
- package/lib/Image/ImagePreviewAction.vue.js +1 -1
- package/lib/Image/ImagePreviewAction.vue3.js +1 -0
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue3.js +1 -0
- package/lib/Image/ImagePreviewGroup.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue3.js +1 -0
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Image/index.js +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/Input.vue3.js +1 -0
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/InputSuffix.vue3.js +1 -0
- package/lib/Input/index.js +1 -1
- package/lib/InputNumber/InputNumber.vue.js +1 -1
- package/lib/InputNumber/InputNumber.vue3.js +1 -0
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue3.js +1 -0
- package/lib/InputNumber/index.css +1 -1
- package/lib/InputNumber/index.js +1 -1
- package/lib/InputTag/index.css +1 -1
- package/lib/InputTag/index.js +1 -1
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/InputTag/index.vue3.js +1 -0
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/Layout.vue3.js +1 -0
- package/lib/Layout/LayoutContent.vue.js +1 -1
- package/lib/Layout/LayoutContent.vue3.js +1 -0
- package/lib/Layout/LayoutFooter.vue.js +1 -1
- package/lib/Layout/LayoutFooter.vue3.js +1 -0
- package/lib/Layout/LayoutHeader.vue.js +1 -1
- package/lib/Layout/LayoutHeader.vue3.js +1 -0
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/LayoutSider.vue3.js +1 -0
- package/lib/Layout/index.js +1 -1
- package/lib/Link/index.js +1 -1
- package/lib/Link/index.vue.js +1 -1
- package/lib/Link/index.vue3.js +1 -0
- package/lib/List/List.vue.js +1 -1
- package/lib/List/List.vue3.js +1 -0
- package/lib/List/ListItem.vue.js +1 -1
- package/lib/List/ListItem.vue3.js +1 -0
- package/lib/List/ListItemMeta.vue.js +1 -1
- package/lib/List/ListItemMeta.vue3.js +1 -0
- package/lib/List/index.css +1 -1
- package/lib/List/index.js +1 -1
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/Menu.vue3.js +1 -0
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue3.js +1 -0
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/MenuItem.vue3.js +1 -0
- package/lib/Menu/MenuItemGroup.vue.js +1 -1
- package/lib/Menu/MenuItemGroup.vue3.js +1 -0
- package/lib/Menu/MenuPopOption.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/SubMenu.vue3.js +1 -0
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Menu/index.css +1 -1
- package/lib/Menu/index.js +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/Message.vue3.js +1 -0
- package/lib/Message/MessageList.vue.js +1 -1
- package/lib/Message/MessageList.vue3.js +1 -0
- package/lib/Message/index.js +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/Modal.vue3.js +1 -0
- package/lib/Modal/ModalService.vue.js +1 -1
- package/lib/Modal/index.js +1 -1
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/Notification.vue3.js +1 -0
- package/lib/Notification/NotificationList.vue.js +1 -1
- package/lib/Notification/NotificationList.vue3.js +1 -0
- package/lib/Notification/index.js +1 -1
- package/lib/OverflowList/index.css +1 -1
- package/lib/OverflowList/index.js +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/OverflowList/index.vue3.js +1 -0
- package/lib/PageHeader/index.css +1 -1
- package/lib/PageHeader/index.js +1 -1
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/PageHeader/index.vue3.js +1 -0
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/Pagination.vue3.js +1 -0
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue3.js +1 -0
- package/lib/Pagination/index.css +1 -1
- package/lib/Pagination/index.js +1 -1
- package/lib/Progress/Progress.vue.js +1 -1
- package/lib/Progress/Progress.vue3.js +1 -0
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Progress/ProgressCircle.vue3.js +1 -0
- package/lib/Progress/ProgressLine.vue.js +1 -1
- package/lib/Progress/ProgressLine.vue3.js +1 -0
- package/lib/Progress/index.js +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Radio/Radio.vue3.js +1 -0
- package/lib/Radio/RadioGroup.vue.js +1 -1
- package/lib/Radio/index.js +1 -1
- package/lib/Rate/index.js +1 -1
- package/lib/Rate/index.vue.js +1 -1
- package/lib/Rate/index.vue3.js +1 -0
- package/lib/ResizeBox/index.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue3.js +1 -0
- package/lib/Result/index.js +1 -1
- package/lib/Result/index.vue.js +1 -1
- package/lib/Result/index.vue3.js +1 -0
- package/lib/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/Scrollbar.vue3.js +1 -0
- package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue3.js +1 -0
- package/lib/Scrollbar/index.css +1 -1
- package/lib/Scrollbar/index.js +1 -1
- package/lib/Select/Optgroup.vue.js +1 -1
- package/lib/Select/Optgroup.vue3.js +1 -0
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Option.vue3.js +1 -0
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/Select.vue3.js +1 -0
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectIcon.vue3.js +1 -0
- package/lib/Select/SelectRealList.vue.js +1 -1
- package/lib/Select/SelectRealList.vue3.js +1 -0
- package/lib/Select/SelectView.vue.js +1 -1
- package/lib/Select/SelectView.vue3.js +1 -0
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/SelectVirtualList.vue3.js +1 -0
- package/lib/Select/index.css +1 -1
- package/lib/Select/index.js +1 -1
- package/lib/Skeleton/SkeletonLine.vue.js +1 -1
- package/lib/Skeleton/SkeletonLine.vue3.js +1 -0
- package/lib/Skeleton/SkeletonShape.vue.js +1 -1
- package/lib/Skeleton/SkeletonShape.vue3.js +1 -0
- package/lib/Skeleton/index.css +1 -1
- package/lib/Skeleton/index.js +1 -1
- package/lib/Slider/Slider.vue.js +1 -1
- package/lib/Slider/Slider.vue3.js +1 -0
- package/lib/Slider/SliderBtn.vue.js +1 -1
- package/lib/Slider/SliderBtn.vue3.js +1 -0
- package/lib/Slider/SliderInput.vue.js +1 -1
- package/lib/Slider/SliderInput.vue3.js +1 -0
- package/lib/Slider/SliderTicks.vue.js +1 -1
- package/lib/Slider/SliderTicks.vue3.js +1 -0
- package/lib/Slider/index.css +1 -1
- package/lib/Slider/index.js +1 -1
- package/lib/Space/index.js +1 -1
- package/lib/Space/index.vue.js +1 -1
- package/lib/Space/index.vue3.js +1 -0
- package/lib/Spin/index.js +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Spin/index.vue3.js +1 -0
- package/lib/Split/index.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Split/index.vue3.js +1 -0
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.js +1 -1
- package/lib/Statistic/Statistic.vue3.js +1 -0
- package/lib/Statistic/index.js +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/Step.vue3.js +1 -0
- package/lib/Steps/Steps.vue.js +1 -1
- package/lib/Steps/Steps.vue3.js +1 -0
- package/lib/Steps/index.js +1 -1
- package/lib/Switch/index.js +1 -1
- package/lib/Switch/index.vue.js +1 -1
- package/lib/Switch/index.vue3.js +1 -0
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/TabButton.vue3.js +1 -0
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/Tabs.vue3.js +1 -0
- package/lib/Tabs/TabsNavInk.vue.js +1 -1
- package/lib/Tabs/TabsNavInk.vue3.js +1 -0
- package/lib/Tabs/TabsTab.vue.js +1 -1
- package/lib/Tabs/TabsTab.vue3.js +1 -0
- package/lib/Tabs/index.js +1 -1
- package/lib/Tag/index.js +1 -1
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Tag/index.vue3.js +1 -0
- package/lib/Textarea/index.js +1 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/Textarea/index.vue3.js +1 -0
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue3.js +1 -0
- package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue3.js +1 -0
- package/lib/TimePicker/index.js +1 -1
- package/lib/Timeline/Timeline.vue.js +1 -1
- package/lib/Timeline/Timeline.vue3.js +1 -0
- package/lib/Timeline/TimelineItem.vue.js +1 -1
- package/lib/Timeline/TimelineItem.vue3.js +1 -0
- package/lib/Timeline/TimelineItemPending.vue.js +1 -1
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Timeline/index.css +1 -1
- package/lib/Timeline/index.js +1 -1
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/Transfer.vue3.js +1 -0
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue3.js +1 -0
- package/lib/Transfer/index.css +1 -1
- package/lib/Transfer/index.js +1 -1
- package/lib/Trigger/index.js +1 -1
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Trigger/index.vue3.js +1 -0
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue3.js +1 -0
- package/lib/Typography/TypographyParagraph.vue.js +1 -1
- package/lib/Typography/TypographyParagraph.vue3.js +1 -0
- package/lib/Typography/TypographyText.vue.js +1 -1
- package/lib/Typography/TypographyTitle.vue.js +1 -1
- package/lib/Typography/TypographyTitle.vue3.js +1 -0
- package/lib/Typography/index.css +1 -1
- package/lib/Typography/index.js +1 -1
- package/lib/VerificationCode/index.css +1 -1
- package/lib/VerificationCode/index.js +1 -1
- package/lib/VerificationCode/index.vue.js +1 -1
- package/lib/VerificationCode/index.vue3.js +1 -0
- package/lib/Watermark/index.js +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/Watermark/index.vue3.js +1 -0
- package/lib/_shared/components/ExpandTransition.vue2.js +1 -1
- package/lib/_shared/components/ExpandTransition.vue3.js +1 -1
- package/lib/_shared/components/Icon.vue2.js +1 -1
- package/lib/_shared/components/Icon.vue3.js +1 -1
- package/lib/_shared/components/IconButton.vue.js +1 -0
- package/lib/_shared/components/IconButton.vue3.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/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.vue2.js +1 -1
- 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.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.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.vue2.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/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/index.js +1 -1
- package/lib/shared.css +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/Alert/index.vue2.js +0 -101
- package/es/Anchor/Anchor.vue2.js +0 -73
- package/es/Anchor/AnchorLink.vue2.js +0 -77
- package/es/Avatar/Avatar.vue2.js +0 -115
- package/es/Avatar/AvatarGroup.vue2.js +0 -95
- package/es/BackTop/index.vue2.js +0 -82
- package/es/Badge/index.vue2.js +0 -92
- package/es/Breadcrumb/Breadcrumb.vue2.js +0 -118
- package/es/Breadcrumb/BreadcrumbItem.vue2.js +0 -76
- package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +0 -44
- package/es/Button/Button.vue2.js +0 -110
- package/es/Calendar/Calendar.vue2.js +0 -208
- package/es/Calendar/CalendarMonth.vue2.js +0 -116
- package/es/Calendar/CalendarYear.vue2.js +0 -96
- package/es/Card/Card.vue2.js +0 -121
- package/es/Card/CardGrid.vue2.js +0 -27
- package/es/Card/CardMeta.vue2.js +0 -70
- package/es/Carousel/Carousel.vue2.js +0 -131
- package/es/Carousel/CarouselArrow.vue2.js +0 -55
- package/es/Carousel/CarouselIndicator.vue2.js +0 -57
- package/es/Carousel/CarouselItem.vue2.js +0 -55
- package/es/Cascader/Cascader.vue2.js +0 -287
- package/es/Cascader/CascaderIcon.vue2.js +0 -66
- package/es/Cascader/CascaderOption.vue2.js +0 -207
- package/es/Cascader/CascaderPanel.vue2.js +0 -63
- package/es/Cascader/CascaderSearchPanel.vue2.js +0 -44
- package/es/Checkbox/Checkbox.vue2.js +0 -115
- package/es/Collapse/Collapse.vue2.js +0 -38
- package/es/Collapse/CollapseItem.vue2.js +0 -130
- package/es/ColorPicker/ColorControl.vue2.js +0 -112
- package/es/ColorPicker/ColorInput.vue2.js +0 -161
- package/es/ColorPicker/ColorList.vue2.js +0 -47
- package/es/ColorPicker/ColorPalette.vue2.js +0 -100
- package/es/ColorPicker/ColorPanel.vue2.js +0 -144
- package/es/ColorPicker/ColorPicker.vue2.js +0 -87
- package/es/Comment/index.vue2.js +0 -110
- package/es/Descriptions/ReuseItem.vue2.js +0 -62
- package/es/Descriptions/ReuseTd.vue2.js +0 -56
- package/es/Divider/index.vue2.js +0 -54
- package/es/Drawer/Drawer.vue2.js +0 -203
- package/es/Dropdown/Dgroup.vue2.js +0 -33
- package/es/Dropdown/Doption.vue2.js +0 -65
- package/es/Dropdown/Dsubmenu.vue2.js +0 -155
- package/es/Empty/index.vue2.js +0 -48
- package/es/Grid/Grid.vue2.js +0 -41
- package/es/Grid/GridRow.vue2.js +0 -48
- package/es/Image/Image.vue2.js +0 -183
- package/es/Image/ImagePreview.vue2.js +0 -213
- package/es/Image/ImagePreviewAction.vue2.js +0 -51
- package/es/Image/ImagePreviewArrow.vue2.js +0 -27
- package/es/Image/ImagePreviewToolbar.vue2.js +0 -74
- package/es/Input/Input.vue2.js +0 -232
- package/es/Input/InputSuffix.vue2.js +0 -51
- package/es/InputNumber/InputNumber.vue2.js +0 -270
- package/es/InputNumber/InputOperaBtn.vue2.js +0 -58
- package/es/InputTag/index.vue2.js +0 -323
- package/es/Layout/Layout.vue2.js +0 -45
- package/es/Layout/LayoutContent.vue2.js +0 -18
- package/es/Layout/LayoutFooter.vue2.js +0 -18
- package/es/Layout/LayoutHeader.vue2.js +0 -18
- package/es/Layout/LayoutSider.vue2.js +0 -132
- package/es/Link/index.vue2.js +0 -71
- package/es/List/List.vue2.js +0 -208
- package/es/List/ListItem.vue2.js +0 -58
- package/es/List/ListItemMeta.vue2.js +0 -49
- package/es/Menu/Menu.vue2.js +0 -98
- package/es/Menu/MenuEllipsis.vue2.js +0 -94
- package/es/Menu/MenuItem.vue2.js +0 -232
- package/es/Menu/MenuItemGroup.vue2.js +0 -42
- package/es/Menu/SubMenu.vue2.js +0 -79
- package/es/Message/Message.vue2.js +0 -100
- package/es/Message/MessageList.vue2.js +0 -31
- package/es/Modal/Modal.vue2.js +0 -256
- package/es/Notification/Notification.vue2.js +0 -127
- package/es/Notification/NotificationList.vue2.js +0 -35
- package/es/OverflowList/index.vue2.js +0 -122
- package/es/PageHeader/index.vue2.js +0 -96
- package/es/Pagination/Pagination.vue2.js +0 -191
- package/es/Pagination/PaginationItem.vue2.js +0 -85
- package/es/Progress/Progress.vue2.js +0 -131
- package/es/Progress/ProgressCircle.vue2.js +0 -149
- package/es/Progress/ProgressLine.vue2.js +0 -99
- package/es/Radio/Radio.vue2.js +0 -123
- package/es/Rate/index.vue2.js +0 -148
- package/es/ResizeBox/index.vue2.js +0 -161
- package/es/Result/index.vue2.js +0 -74
- package/es/Scrollbar/Scrollbar.vue2.js +0 -225
- package/es/Scrollbar/ScrollbarTrack.vue2.js +0 -114
- package/es/Select/Optgroup.vue2.js +0 -26
- package/es/Select/Option.vue2.js +0 -140
- package/es/Select/Select.vue2.js +0 -302
- package/es/Select/SelectIcon.vue2.js +0 -66
- package/es/Select/SelectRealList.vue2.js +0 -95
- package/es/Select/SelectView.vue2.js +0 -99
- package/es/Select/SelectVirtualList.vue2.js +0 -61
- package/es/Skeleton/SkeletonLine.vue2.js +0 -45
- package/es/Skeleton/SkeletonShape.vue2.js +0 -31
- package/es/Slider/Slider.vue2.js +0 -145
- package/es/Slider/SliderBtn.vue2.js +0 -98
- package/es/Slider/SliderInput.vue2.js +0 -56
- package/es/Slider/SliderTicks.vue2.js +0 -66
- package/es/Space/index.vue2.js +0 -96
- package/es/Spin/index.vue2.js +0 -89
- package/es/Split/index.vue2.js +0 -146
- package/es/Statistic/Statistic.vue2.js +0 -155
- package/es/Steps/Step.vue2.js +0 -115
- package/es/Steps/Steps.vue2.js +0 -43
- package/es/Switch/index.vue2.js +0 -154
- package/es/Tabs/TabButton.vue2.js +0 -37
- package/es/Tabs/Tabs.vue2.js +0 -208
- package/es/Tabs/TabsNavInk.vue2.js +0 -62
- package/es/Tabs/TabsTab.vue2.js +0 -91
- package/es/Tag/index.vue2.js +0 -113
- package/es/Textarea/index.vue2.js +0 -164
- package/es/TimePicker/TimePicker.vue2.js +0 -214
- package/es/TimePicker/TimePickerPanel.vue2.js +0 -217
- package/es/Timeline/Timeline.vue2.js +0 -54
- package/es/Timeline/TimelineItem.vue2.js +0 -89
- package/es/Transfer/Transfer.vue2.js +0 -105
- package/es/Transfer/TransferPanel.vue2.js +0 -252
- package/es/Trigger/index.vue2.js +0 -188
- package/es/Typography/TypographyBase.vue2.js +0 -204
- package/es/Typography/TypographyParagraph.vue2.js +0 -50
- package/es/Typography/TypographyTitle.vue2.js +0 -51
- package/es/VerificationCode/index.vue2.js +0 -127
- package/es/Watermark/index.vue2.js +0 -276
- package/es/_shared/components/IconButton.vue2.js +0 -7
- package/es/_virtual/_plugin-vue_export-helper.js +0 -10
- package/lib/Alert/index.vue2.js +0 -1
- package/lib/Anchor/Anchor.vue2.js +0 -1
- package/lib/Anchor/AnchorLink.vue2.js +0 -1
- package/lib/Avatar/Avatar.vue2.js +0 -1
- package/lib/Avatar/AvatarGroup.vue2.js +0 -1
- package/lib/BackTop/index.vue2.js +0 -1
- package/lib/Badge/index.vue2.js +0 -1
- package/lib/Breadcrumb/Breadcrumb.vue2.js +0 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue2.js +0 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +0 -1
- package/lib/Button/Button.vue2.js +0 -1
- package/lib/Calendar/Calendar.vue2.js +0 -1
- package/lib/Calendar/CalendarMonth.vue2.js +0 -1
- package/lib/Calendar/CalendarYear.vue2.js +0 -1
- package/lib/Card/Card.vue2.js +0 -1
- package/lib/Card/CardGrid.vue2.js +0 -1
- package/lib/Card/CardMeta.vue2.js +0 -1
- package/lib/Carousel/Carousel.vue2.js +0 -1
- package/lib/Carousel/CarouselArrow.vue2.js +0 -1
- package/lib/Carousel/CarouselIndicator.vue2.js +0 -1
- package/lib/Carousel/CarouselItem.vue2.js +0 -1
- package/lib/Cascader/Cascader.vue2.js +0 -1
- package/lib/Cascader/CascaderIcon.vue2.js +0 -1
- package/lib/Cascader/CascaderOption.vue2.js +0 -1
- package/lib/Cascader/CascaderPanel.vue2.js +0 -1
- package/lib/Cascader/CascaderSearchPanel.vue2.js +0 -1
- package/lib/Checkbox/Checkbox.vue2.js +0 -1
- package/lib/Collapse/Collapse.vue2.js +0 -1
- package/lib/Collapse/CollapseItem.vue2.js +0 -1
- package/lib/ColorPicker/ColorControl.vue2.js +0 -1
- package/lib/ColorPicker/ColorInput.vue2.js +0 -1
- package/lib/ColorPicker/ColorList.vue2.js +0 -1
- package/lib/ColorPicker/ColorPalette.vue2.js +0 -1
- package/lib/ColorPicker/ColorPanel.vue2.js +0 -1
- package/lib/ColorPicker/ColorPicker.vue2.js +0 -1
- package/lib/Comment/index.vue2.js +0 -1
- package/lib/Descriptions/ReuseItem.vue2.js +0 -1
- package/lib/Descriptions/ReuseTd.vue2.js +0 -1
- package/lib/Divider/index.vue2.js +0 -1
- package/lib/Drawer/Drawer.vue2.js +0 -1
- package/lib/Dropdown/Dgroup.vue2.js +0 -1
- package/lib/Dropdown/Doption.vue2.js +0 -1
- package/lib/Dropdown/Dsubmenu.vue2.js +0 -1
- package/lib/Empty/index.vue2.js +0 -1
- package/lib/Grid/Grid.vue2.js +0 -1
- package/lib/Grid/GridRow.vue2.js +0 -1
- package/lib/Image/Image.vue2.js +0 -1
- package/lib/Image/ImagePreview.vue2.js +0 -1
- package/lib/Image/ImagePreviewAction.vue2.js +0 -1
- package/lib/Image/ImagePreviewArrow.vue2.js +0 -1
- package/lib/Image/ImagePreviewToolbar.vue2.js +0 -1
- package/lib/Input/Input.vue2.js +0 -1
- package/lib/Input/InputSuffix.vue2.js +0 -1
- package/lib/InputNumber/InputNumber.vue2.js +0 -1
- package/lib/InputNumber/InputOperaBtn.vue2.js +0 -1
- package/lib/InputTag/index.vue2.js +0 -1
- package/lib/Layout/Layout.vue2.js +0 -1
- package/lib/Layout/LayoutContent.vue2.js +0 -1
- package/lib/Layout/LayoutFooter.vue2.js +0 -1
- package/lib/Layout/LayoutHeader.vue2.js +0 -1
- package/lib/Layout/LayoutSider.vue2.js +0 -1
- package/lib/Link/index.vue2.js +0 -1
- package/lib/List/List.vue2.js +0 -1
- package/lib/List/ListItem.vue2.js +0 -1
- package/lib/List/ListItemMeta.vue2.js +0 -1
- package/lib/Menu/Menu.vue2.js +0 -1
- package/lib/Menu/MenuEllipsis.vue2.js +0 -1
- package/lib/Menu/MenuItem.vue2.js +0 -1
- package/lib/Menu/MenuItemGroup.vue2.js +0 -1
- package/lib/Menu/SubMenu.vue2.js +0 -1
- package/lib/Message/Message.vue2.js +0 -1
- package/lib/Message/MessageList.vue2.js +0 -1
- package/lib/Modal/Modal.vue2.js +0 -1
- package/lib/Notification/Notification.vue2.js +0 -1
- package/lib/Notification/NotificationList.vue2.js +0 -1
- package/lib/OverflowList/index.vue2.js +0 -1
- package/lib/PageHeader/index.vue2.js +0 -1
- package/lib/Pagination/Pagination.vue2.js +0 -1
- package/lib/Pagination/PaginationItem.vue2.js +0 -1
- package/lib/Progress/Progress.vue2.js +0 -1
- package/lib/Progress/ProgressCircle.vue2.js +0 -1
- package/lib/Progress/ProgressLine.vue2.js +0 -1
- package/lib/Radio/Radio.vue2.js +0 -1
- package/lib/Rate/index.vue2.js +0 -1
- package/lib/ResizeBox/index.vue2.js +0 -1
- package/lib/Result/index.vue2.js +0 -1
- package/lib/Scrollbar/Scrollbar.vue2.js +0 -1
- package/lib/Scrollbar/ScrollbarTrack.vue2.js +0 -1
- package/lib/Select/Optgroup.vue2.js +0 -1
- package/lib/Select/Option.vue2.js +0 -1
- package/lib/Select/Select.vue2.js +0 -1
- package/lib/Select/SelectIcon.vue2.js +0 -1
- package/lib/Select/SelectRealList.vue2.js +0 -1
- package/lib/Select/SelectView.vue2.js +0 -1
- package/lib/Select/SelectVirtualList.vue2.js +0 -1
- package/lib/Skeleton/SkeletonLine.vue2.js +0 -1
- package/lib/Skeleton/SkeletonShape.vue2.js +0 -1
- package/lib/Slider/Slider.vue2.js +0 -1
- package/lib/Slider/SliderBtn.vue2.js +0 -1
- package/lib/Slider/SliderInput.vue2.js +0 -1
- package/lib/Slider/SliderTicks.vue2.js +0 -1
- package/lib/Space/index.vue2.js +0 -1
- package/lib/Spin/index.vue2.js +0 -1
- package/lib/Split/index.vue2.js +0 -1
- package/lib/Statistic/Statistic.vue2.js +0 -1
- package/lib/Steps/Step.vue2.js +0 -1
- package/lib/Steps/Steps.vue2.js +0 -1
- package/lib/Switch/index.vue2.js +0 -1
- package/lib/Tabs/TabButton.vue2.js +0 -1
- package/lib/Tabs/Tabs.vue2.js +0 -1
- package/lib/Tabs/TabsNavInk.vue2.js +0 -1
- package/lib/Tabs/TabsTab.vue2.js +0 -1
- package/lib/Tag/index.vue2.js +0 -1
- package/lib/Textarea/index.vue2.js +0 -1
- package/lib/TimePicker/TimePicker.vue2.js +0 -1
- package/lib/TimePicker/TimePickerPanel.vue2.js +0 -1
- package/lib/Timeline/Timeline.vue2.js +0 -1
- package/lib/Timeline/TimelineItem.vue2.js +0 -1
- package/lib/Transfer/Transfer.vue2.js +0 -1
- package/lib/Transfer/TransferPanel.vue2.js +0 -1
- package/lib/Trigger/index.vue2.js +0 -1
- package/lib/Typography/TypographyBase.vue2.js +0 -1
- package/lib/Typography/TypographyParagraph.vue2.js +0 -1
- package/lib/Typography/TypographyTitle.vue2.js +0 -1
- package/lib/VerificationCode/index.vue2.js +0 -1
- package/lib/Watermark/index.vue2.js +0 -1
- package/lib/_shared/components/IconButton.vue2.js +0 -1
- package/lib/_virtual/_plugin-vue_export-helper.js +0 -1
@@ -1,7 +1,155 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
import
|
4
|
-
|
1
|
+
import { defineComponent, toRefs, ref, computed, watch, createElementBlock, openBlock, createCommentVNode, createElementVNode, renderSlot, createTextVNode, toDisplayString, normalizeStyle } from "vue";
|
2
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
+
import "../_shared/utils/dom.js";
|
4
|
+
import { isUndefined, isNumber } from "../_shared/utils/is.js";
|
5
|
+
import { formatSeconds, formatDate } from "../_shared/utils/time.js";
|
6
|
+
import "../Empty/index.js";
|
7
|
+
/* empty css */
|
8
|
+
import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
|
9
|
+
const _hoisted_1 = { class: "yc-statistic yc-statistic-countdown" };
|
10
|
+
const _hoisted_2 = {
|
11
|
+
key: 0,
|
12
|
+
class: "yc-statistic-title"
|
13
|
+
};
|
14
|
+
const _hoisted_3 = { class: "yc-statistic-content" };
|
15
|
+
const _hoisted_4 = {
|
16
|
+
key: 0,
|
17
|
+
class: "yc-statistic-prefix"
|
18
|
+
};
|
19
|
+
const _hoisted_5 = {
|
20
|
+
key: 1,
|
21
|
+
class: "yc-statistic-suffix"
|
22
|
+
};
|
23
|
+
const _hoisted_6 = {
|
24
|
+
key: 0,
|
25
|
+
class: "yc-statistic-extra"
|
26
|
+
};
|
27
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
28
|
+
...{
|
29
|
+
name: "Statistic"
|
30
|
+
},
|
31
|
+
__name: "Statistic",
|
32
|
+
props: {
|
33
|
+
title: { default: "" },
|
34
|
+
value: { default: 0 },
|
35
|
+
format: { default: "HH:mm:ss" },
|
36
|
+
extra: { default: "" },
|
37
|
+
start: { type: Boolean, default: true },
|
38
|
+
easeing: { default: "quadOut" },
|
39
|
+
precision: { default: 0 },
|
40
|
+
separator: { default: "" },
|
41
|
+
showGroupSeparator: { type: Boolean, default: false },
|
42
|
+
animation: { type: Boolean, default: false },
|
43
|
+
animationDuration: { default: 2e3 },
|
44
|
+
valueFrom: { default: void 0 },
|
45
|
+
placeholder: { default: "" },
|
46
|
+
valueStyle: { default: () => {
|
47
|
+
return {};
|
48
|
+
} },
|
49
|
+
isCountdown: { type: Boolean, default: false }
|
50
|
+
},
|
51
|
+
emits: ["finish"],
|
52
|
+
setup(__props, { emit: __emit }) {
|
53
|
+
const props = __props;
|
54
|
+
const emits = __emit;
|
55
|
+
const {
|
56
|
+
value,
|
57
|
+
precision,
|
58
|
+
format,
|
59
|
+
start,
|
60
|
+
valueFrom,
|
61
|
+
placeholder,
|
62
|
+
animation,
|
63
|
+
animationDuration,
|
64
|
+
easeing,
|
65
|
+
isCountdown,
|
66
|
+
showGroupSeparator
|
67
|
+
} = toRefs(props);
|
68
|
+
const valueRef = ref();
|
69
|
+
const showValue = computed(() => {
|
70
|
+
return isUndefined(value.value) ? placeholder.value : getFormatValue(value.value);
|
71
|
+
});
|
72
|
+
watch(
|
73
|
+
[start, animation, valueFrom, value],
|
74
|
+
() => {
|
75
|
+
if (!start.value || !animation.value || isUndefined(valueFrom.value) || !isNumber(value.value) || valueFrom.value - value.value == 0) {
|
76
|
+
return;
|
77
|
+
}
|
78
|
+
const between = new Tween({
|
79
|
+
from: {
|
80
|
+
textContent: valueFrom.value
|
81
|
+
},
|
82
|
+
to: {
|
83
|
+
textContent: value.value
|
84
|
+
},
|
85
|
+
duration: animationDuration.value,
|
86
|
+
easeing: easeing.value,
|
87
|
+
onUpdate: (current) => {
|
88
|
+
valueRef.value.textContent = getFormatValue(current.textContent);
|
89
|
+
},
|
90
|
+
onFinish() {
|
91
|
+
emits("finish");
|
92
|
+
}
|
93
|
+
});
|
94
|
+
between.start();
|
95
|
+
},
|
96
|
+
{
|
97
|
+
immediate: true
|
98
|
+
}
|
99
|
+
);
|
100
|
+
const formatNumber = (num) => {
|
101
|
+
let parts = num.toString().split(".");
|
102
|
+
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
103
|
+
return parts.join(".");
|
104
|
+
};
|
105
|
+
function getFormatValue(value2) {
|
106
|
+
if (isNumber(value2) && !isCountdown.value) {
|
107
|
+
const fixedValue = value2.toFixed(precision.value);
|
108
|
+
return showGroupSeparator.value ? formatNumber(fixedValue) : fixedValue;
|
109
|
+
}
|
110
|
+
if (isCountdown.value) {
|
111
|
+
return formatSeconds(value2, format.value);
|
112
|
+
}
|
113
|
+
return formatDate(value2, format.value);
|
114
|
+
}
|
115
|
+
return (_ctx, _cache) => {
|
116
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
117
|
+
_ctx.$slots.title || _ctx.title ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
118
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
119
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
120
|
+
])
|
121
|
+
])) : createCommentVNode("", true),
|
122
|
+
createElementVNode("div", _hoisted_3, [
|
123
|
+
createElementVNode("div", {
|
124
|
+
class: "yc-statistic-value",
|
125
|
+
style: normalizeStyle(_ctx.valueStyle)
|
126
|
+
}, [
|
127
|
+
_ctx.$slots.prefix ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
128
|
+
renderSlot(_ctx.$slots, "prefix")
|
129
|
+
])) : createCommentVNode("", true),
|
130
|
+
createElementVNode("span", {
|
131
|
+
class: "yc-statistic-value-integer",
|
132
|
+
ref_key: "valueRef",
|
133
|
+
ref: valueRef
|
134
|
+
}, [
|
135
|
+
renderSlot(_ctx.$slots, "value", {}, () => [
|
136
|
+
createTextVNode(toDisplayString(showValue.value), 1)
|
137
|
+
])
|
138
|
+
], 512),
|
139
|
+
_ctx.$slots.suffix ? (openBlock(), createElementBlock("span", _hoisted_5, [
|
140
|
+
renderSlot(_ctx.$slots, "suffix")
|
141
|
+
])) : createCommentVNode("", true)
|
142
|
+
], 4),
|
143
|
+
_ctx.$slots.extra || _ctx.extra ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
144
|
+
renderSlot(_ctx.$slots, "extra", {}, () => [
|
145
|
+
createTextVNode(toDisplayString(_ctx.extra), 1)
|
146
|
+
])
|
147
|
+
])) : createCommentVNode("", true)
|
148
|
+
])
|
149
|
+
]);
|
150
|
+
};
|
151
|
+
}
|
152
|
+
});
|
5
153
|
export {
|
6
|
-
|
154
|
+
_sfc_main as default
|
7
155
|
};
|
package/es/Statistic/index.js
CHANGED
@@ -1,13 +1,14 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
import _sfc_main from "./Statistic.vue.js";
|
2
|
+
/* empty css */
|
3
|
+
import _sfc_main$1 from "./Countdown.vue.js";
|
4
|
+
const Statistic = Object.assign(_sfc_main, {
|
5
|
+
countdown: _sfc_main$1,
|
5
6
|
install: (app) => {
|
6
|
-
app.component("Yc" + _Statistic.name, _Statistic);
|
7
7
|
app.component("Yc" + _sfc_main.name, _sfc_main);
|
8
|
+
app.component("Yc" + _sfc_main$1.name, _sfc_main$1);
|
8
9
|
}
|
9
10
|
});
|
10
11
|
export {
|
11
|
-
_sfc_main as Countdown,
|
12
|
+
_sfc_main$1 as Countdown,
|
12
13
|
Statistic as default
|
13
14
|
};
|
package/es/Steps/Step.vue.js
CHANGED
@@ -1,7 +1,115 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
import
|
4
|
-
|
1
|
+
import { defineComponent, toRefs, computed, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, renderSlot, createElementVNode, createBlock, Fragment, createTextVNode, toDisplayString } from "vue";
|
2
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
+
import "../_shared/utils/dom.js";
|
4
|
+
import "../_shared/utils/time.js";
|
5
|
+
import "../Empty/index.js";
|
6
|
+
/* empty css */
|
7
|
+
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
8
|
+
import _sfc_main$2 from "../_shared/icons/IconClose.vue.js";
|
9
|
+
import useContext from "./hooks/useContext.js";
|
10
|
+
const _hoisted_1 = {
|
11
|
+
key: 0,
|
12
|
+
class: "yc-steps-item-tail"
|
13
|
+
};
|
14
|
+
const _hoisted_2 = { class: "yc-steps-item-node" };
|
15
|
+
const _hoisted_3 = { class: "yc-steps-icon" };
|
16
|
+
const _hoisted_4 = { class: "yc-steps-item-content" };
|
17
|
+
const _hoisted_5 = { class: "yc-steps-item-title" };
|
18
|
+
const _hoisted_6 = {
|
19
|
+
key: 0,
|
20
|
+
class: "yc-steps-item-description"
|
21
|
+
};
|
22
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
23
|
+
...{
|
24
|
+
name: "Step"
|
25
|
+
},
|
26
|
+
__name: "Step",
|
27
|
+
props: {
|
28
|
+
title: { default: "" },
|
29
|
+
description: { default: "" },
|
30
|
+
status: { default: void 0 },
|
31
|
+
disabled: { type: Boolean, default: false }
|
32
|
+
},
|
33
|
+
setup(__props) {
|
34
|
+
const props = __props;
|
35
|
+
const { disabled } = toRefs(props);
|
36
|
+
const {
|
37
|
+
curStep,
|
38
|
+
stepMap,
|
39
|
+
computedCurrent,
|
40
|
+
type,
|
41
|
+
changeable,
|
42
|
+
status,
|
43
|
+
nextStatus,
|
44
|
+
direction,
|
45
|
+
labelPlacement,
|
46
|
+
lineLess: _lineLess,
|
47
|
+
small: _small,
|
48
|
+
emits
|
49
|
+
} = useContext().inject(props);
|
50
|
+
const small = computed(() => {
|
51
|
+
return type.value != "dot" ? _small.value : false;
|
52
|
+
});
|
53
|
+
const lineLess = computed(() => {
|
54
|
+
return _lineLess.value || curStep.value == stepMap.size || ["arrow", "navigation"].includes(type.value);
|
55
|
+
});
|
56
|
+
const handleClick = (e) => {
|
57
|
+
if (!changeable.value || disabled.value) return;
|
58
|
+
computedCurrent.value = curStep.value;
|
59
|
+
emits("change", curStep.value, e);
|
60
|
+
};
|
61
|
+
return (_ctx, _cache) => {
|
62
|
+
return openBlock(), createElementBlock("div", {
|
63
|
+
class: normalizeClass([
|
64
|
+
"yc-steps-item",
|
65
|
+
`yc-steps-item-${unref(direction)}`,
|
66
|
+
`yc-steps-item-label-${unref(labelPlacement)}`,
|
67
|
+
`yc-steps-item-${unref(status)}`,
|
68
|
+
`yc-steps-item-next-${unref(nextStatus)}`,
|
69
|
+
{
|
70
|
+
"yc-steps-item-active": unref(curStep) == unref(computedCurrent) && unref(type) == "navigation",
|
71
|
+
"yc-steps-item-line-less": lineLess.value,
|
72
|
+
"yc-steps-item-size-small": small.value
|
73
|
+
}
|
74
|
+
]),
|
75
|
+
onClick: handleClick
|
76
|
+
}, [
|
77
|
+
unref(type) == "default" && (unref(direction) == "vertical" || unref(labelPlacement) == "vertical") || unref(type) == "dot" ? (openBlock(), createElementBlock("div", _hoisted_1)) : createCommentVNode("", true),
|
78
|
+
unref(type) != "arrow" ? renderSlot(_ctx.$slots, "node", {
|
79
|
+
key: 1,
|
80
|
+
step: unref(curStep),
|
81
|
+
status: unref(status)
|
82
|
+
}, () => [
|
83
|
+
createElementVNode("div", _hoisted_2, [
|
84
|
+
createElementVNode("div", _hoisted_3, [
|
85
|
+
["default", "navigation"].includes(unref(type)) ? renderSlot(_ctx.$slots, "icon", {
|
86
|
+
key: 0,
|
87
|
+
status: unref(status),
|
88
|
+
step: unref(curStep)
|
89
|
+
}, () => [
|
90
|
+
unref(status) == "finish" ? (openBlock(), createBlock(unref(_sfc_main$1), { key: 0 })) : unref(status) == "error" ? (openBlock(), createBlock(unref(_sfc_main$2), { key: 1 })) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
91
|
+
createTextVNode(toDisplayString(unref(curStep)), 1)
|
92
|
+
], 64))
|
93
|
+
]) : createCommentVNode("", true)
|
94
|
+
])
|
95
|
+
])
|
96
|
+
]) : createCommentVNode("", true),
|
97
|
+
createElementVNode("div", _hoisted_4, [
|
98
|
+
createElementVNode("div", _hoisted_5, [
|
99
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
100
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
101
|
+
])
|
102
|
+
]),
|
103
|
+
_ctx.$slots.description || _ctx.description ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
104
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
105
|
+
createTextVNode(toDisplayString(_ctx.description), 1)
|
106
|
+
])
|
107
|
+
])) : createCommentVNode("", true)
|
108
|
+
])
|
109
|
+
], 2);
|
110
|
+
};
|
111
|
+
}
|
112
|
+
});
|
5
113
|
export {
|
6
|
-
|
114
|
+
_sfc_main as default
|
7
115
|
};
|
package/es/Steps/Steps.vue.js
CHANGED
@@ -1,7 +1,43 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
|
2
|
+
import useContext from "./hooks/useContext.js";
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
...{
|
5
|
+
name: "Steps"
|
6
|
+
},
|
7
|
+
__name: "Steps",
|
8
|
+
props: {
|
9
|
+
type: { default: "default" },
|
10
|
+
direction: { default: "horizontal" },
|
11
|
+
labelPlacement: { default: "horizontal" },
|
12
|
+
current: { default: void 0 },
|
13
|
+
defaultCurrent: { default: 1 },
|
14
|
+
status: { default: "process" },
|
15
|
+
lineLess: { type: Boolean, default: false },
|
16
|
+
small: { type: Boolean, default: false },
|
17
|
+
changeable: { type: Boolean, default: false }
|
18
|
+
},
|
19
|
+
emits: ["change", "update:current"],
|
20
|
+
setup(__props, { emit: __emit }) {
|
21
|
+
const props = __props;
|
22
|
+
const emits = __emit;
|
23
|
+
const { type, labelPlacement, direction } = useContext().provide(props, emits);
|
24
|
+
return (_ctx, _cache) => {
|
25
|
+
return openBlock(), createElementBlock("div", {
|
26
|
+
class: normalizeClass([
|
27
|
+
"yc-steps",
|
28
|
+
`yc-steps-mode-${unref(type)}`,
|
29
|
+
`yc-steps-${unref(direction)}`,
|
30
|
+
`yc-steps-label-${unref(labelPlacement)}`,
|
31
|
+
{
|
32
|
+
"yc-steps-changeable": _ctx.changeable
|
33
|
+
}
|
34
|
+
])
|
35
|
+
}, [
|
36
|
+
renderSlot(_ctx.$slots, "default")
|
37
|
+
], 2);
|
38
|
+
};
|
39
|
+
}
|
40
|
+
});
|
5
41
|
export {
|
6
|
-
|
42
|
+
_sfc_main as default
|
7
43
|
};
|
package/es/Steps/index.js
CHANGED
@@ -1,13 +1,15 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
import _sfc_main$1 from "./Step.vue.js";
|
2
|
+
/* empty css */
|
3
|
+
import _sfc_main from "./Steps.vue.js";
|
4
|
+
/* empty css */
|
5
|
+
const Steps = Object.assign(_sfc_main, {
|
6
|
+
step: _sfc_main$1,
|
5
7
|
install: (app) => {
|
6
|
-
app.component("Yc" +
|
7
|
-
app.component("Yc" +
|
8
|
+
app.component("Yc" + _sfc_main$1.name, _sfc_main$1);
|
9
|
+
app.component("Yc" + _sfc_main.name, _sfc_main);
|
8
10
|
}
|
9
11
|
});
|
10
12
|
export {
|
11
|
-
Step,
|
13
|
+
_sfc_main$1 as Step,
|
12
14
|
Steps as default
|
13
15
|
};
|
package/es/Switch/index.js
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import _sfc_main from "./index.vue.js";
|
2
|
+
/* empty css */
|
3
|
+
const Switch = Object.assign(_sfc_main, {
|
3
4
|
install: (app) => {
|
4
|
-
app.component("Yc" +
|
5
|
+
app.component("Yc" + _sfc_main.name, _sfc_main);
|
5
6
|
}
|
6
7
|
});
|
7
8
|
export {
|
package/es/Switch/index.vue.js
CHANGED
@@ -1,7 +1,154 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
import
|
4
|
-
|
1
|
+
import { defineComponent, useSlots, toRefs, computed, ref, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, renderSlot, createTextVNode, toDisplayString } from "vue";
|
2
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
|
+
import "../_shared/utils/dom.js";
|
4
|
+
import { isBoolean } from "../_shared/utils/is.js";
|
5
|
+
import "../_shared/utils/time.js";
|
6
|
+
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
|
+
import useControlValue from "../_shared/utils/control.js";
|
8
|
+
import Spin from "../Spin/index.js";
|
9
|
+
const _hoisted_1 = ["aria-checked"];
|
10
|
+
const _hoisted_2 = { class: "yc-switch-handle" };
|
11
|
+
const _hoisted_3 = { class: "yc-switch-handle-icon" };
|
12
|
+
const _hoisted_4 = {
|
13
|
+
key: 0,
|
14
|
+
class: "yc-switch-placeholder"
|
15
|
+
};
|
16
|
+
const _hoisted_5 = {
|
17
|
+
key: 1,
|
18
|
+
class: "yc-switch-text"
|
19
|
+
};
|
20
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
21
|
+
...{
|
22
|
+
name: "Switch"
|
23
|
+
},
|
24
|
+
__name: "index",
|
25
|
+
props: {
|
26
|
+
modelValue: { type: [String, Number, Boolean], default: void 0 },
|
27
|
+
defaultChecked: { type: [String, Number, Boolean], default: false },
|
28
|
+
disabled: { type: Boolean, default: false },
|
29
|
+
loading: { type: Boolean, default: false },
|
30
|
+
type: { default: "circle" },
|
31
|
+
size: { default: void 0 },
|
32
|
+
checkedValue: { type: [String, Number, Boolean], default: true },
|
33
|
+
uncheckedValue: { type: [String, Number, Boolean], default: false },
|
34
|
+
checkedColor: { default: "rgb(var(--primary-6))" },
|
35
|
+
uncheckedColor: { default: "var(--color-fill-4)" },
|
36
|
+
checkedText: { default: "" },
|
37
|
+
uncheckedText: { default: "" },
|
38
|
+
beforeChange: { type: Function, default: () => {
|
39
|
+
return true;
|
40
|
+
} }
|
41
|
+
},
|
42
|
+
emits: ["update:modelValue", "change", "focus", "blur"],
|
43
|
+
setup(__props, { emit: __emit }) {
|
44
|
+
const slots = useSlots();
|
45
|
+
const props = __props;
|
46
|
+
const emits = __emit;
|
47
|
+
const {
|
48
|
+
modelValue,
|
49
|
+
defaultChecked,
|
50
|
+
checkedValue,
|
51
|
+
uncheckedValue,
|
52
|
+
disabled,
|
53
|
+
type,
|
54
|
+
checkedText,
|
55
|
+
uncheckedText,
|
56
|
+
checkedColor,
|
57
|
+
uncheckedColor,
|
58
|
+
loading: _loading
|
59
|
+
} = toRefs(props);
|
60
|
+
const { beforeChange } = props;
|
61
|
+
const { size } = getGlobalConfig(props);
|
62
|
+
const computedValue = useControlValue(
|
63
|
+
modelValue,
|
64
|
+
defaultChecked.value,
|
65
|
+
(val) => {
|
66
|
+
emits("update:modelValue", val);
|
67
|
+
}
|
68
|
+
);
|
69
|
+
const compuedChecked = computed(() => {
|
70
|
+
return computedValue.value == checkedValue.value;
|
71
|
+
});
|
72
|
+
const showText = computed(() => {
|
73
|
+
const showCheckedText = compuedChecked.value && (checkedText.value || slots.checked);
|
74
|
+
const showUncheckedText = !compuedChecked.value && (uncheckedText.value || slots.unchecked);
|
75
|
+
return type.value != "line" && size.value != "small" && (showCheckedText || showUncheckedText);
|
76
|
+
});
|
77
|
+
const background = computed(
|
78
|
+
() => compuedChecked.value ? checkedColor.value : uncheckedColor.value
|
79
|
+
);
|
80
|
+
const switchLoading = ref(false);
|
81
|
+
const loading = computed(() => switchLoading.value || _loading.value);
|
82
|
+
const handleBeforeChange = async (newValue) => {
|
83
|
+
let isChange = true;
|
84
|
+
switchLoading.value = true;
|
85
|
+
const changeResult = beforeChange(newValue);
|
86
|
+
if (isBoolean(changeResult)) {
|
87
|
+
isChange = changeResult;
|
88
|
+
} else if (changeResult instanceof Promise) {
|
89
|
+
try {
|
90
|
+
const _isChange = await changeResult;
|
91
|
+
if (isBoolean(_isChange)) {
|
92
|
+
isChange = _isChange;
|
93
|
+
}
|
94
|
+
} catch {
|
95
|
+
isChange = false;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
switchLoading.value = false;
|
99
|
+
return isChange;
|
100
|
+
};
|
101
|
+
const handleClick = async (e) => {
|
102
|
+
if (loading.value || disabled.value) return;
|
103
|
+
const newValue = compuedChecked.value ? uncheckedValue.value : checkedValue.value;
|
104
|
+
const isChange = await handleBeforeChange(newValue);
|
105
|
+
if (!isChange) return;
|
106
|
+
computedValue.value = newValue;
|
107
|
+
emits("change", newValue, e);
|
108
|
+
};
|
109
|
+
return (_ctx, _cache) => {
|
110
|
+
return openBlock(), createElementBlock("button", {
|
111
|
+
class: normalizeClass([
|
112
|
+
"yc-switch",
|
113
|
+
`yc-switch-shape-${unref(type)}`,
|
114
|
+
`yc-switch-size-${unref(size)}`,
|
115
|
+
compuedChecked.value ? "yc-switch-checked" : "yc-switch-unchecked",
|
116
|
+
{
|
117
|
+
"yc-switch-loading": loading.value,
|
118
|
+
"yc-switch-disabled": unref(disabled)
|
119
|
+
}
|
120
|
+
]),
|
121
|
+
style: normalizeStyle({
|
122
|
+
"--switch-background": background.value
|
123
|
+
}),
|
124
|
+
"aria-checked": compuedChecked.value,
|
125
|
+
role: "switch",
|
126
|
+
onFocus: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("focus", $event)),
|
127
|
+
onBlur: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("blur", $event)),
|
128
|
+
onClick: handleClick
|
129
|
+
}, [
|
130
|
+
createElementVNode("span", _hoisted_2, [
|
131
|
+
createElementVNode("span", _hoisted_3, [
|
132
|
+
loading.value ? (openBlock(), createBlock(unref(Spin), {
|
133
|
+
key: 0,
|
134
|
+
"is-size-inherit": ""
|
135
|
+
})) : renderSlot(_ctx.$slots, compuedChecked.value ? "checked-icon" : "unchecked-icon", { key: 1 })
|
136
|
+
])
|
137
|
+
]),
|
138
|
+
showText.value ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
139
|
+
renderSlot(_ctx.$slots, compuedChecked.value ? "checked" : "unchecked", {}, () => [
|
140
|
+
createTextVNode(toDisplayString(compuedChecked.value ? unref(checkedText) : unref(uncheckedText)), 1)
|
141
|
+
])
|
142
|
+
])) : createCommentVNode("", true),
|
143
|
+
showText.value ? (openBlock(), createElementBlock("span", _hoisted_5, [
|
144
|
+
renderSlot(_ctx.$slots, compuedChecked.value ? "checked" : "unchecked", {}, () => [
|
145
|
+
createTextVNode(toDisplayString(compuedChecked.value ? unref(checkedText) : unref(uncheckedText)), 1)
|
146
|
+
])
|
147
|
+
])) : createCommentVNode("", true)
|
148
|
+
], 46, _hoisted_1);
|
149
|
+
};
|
150
|
+
}
|
151
|
+
});
|
5
152
|
export {
|
6
|
-
|
153
|
+
_sfc_main as default
|
7
154
|
};
|
package/es/Tabs/TabButton.vue.js
CHANGED
@@ -1,7 +1,38 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } from "vue";
|
2
|
+
import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
|
3
|
+
/* empty css */
|
4
|
+
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
|
+
import "../_shared/utils/dom.js";
|
6
|
+
import "../_shared/utils/time.js";
|
7
|
+
import "../Empty/index.js";
|
8
|
+
/* empty css */
|
9
|
+
/* empty css */
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
|
+
__name: "TabButton",
|
12
|
+
props: {
|
13
|
+
className: { type: Boolean, default: true },
|
14
|
+
type: {},
|
15
|
+
direction: {}
|
16
|
+
},
|
17
|
+
setup(__props) {
|
18
|
+
return (_ctx, _cache) => {
|
19
|
+
return openBlock(), createBlock(unref(_sfc_main$1), mergeProps({
|
20
|
+
size: 14,
|
21
|
+
class: [
|
22
|
+
`yc-tabs-nav-${_ctx.type ? `${_ctx.type}-` : ""}button`,
|
23
|
+
{
|
24
|
+
[`yc-tabs-nav-button-${_ctx.direction}`]: _ctx.direction
|
25
|
+
}
|
26
|
+
]
|
27
|
+
}, _ctx.$attrs), {
|
28
|
+
default: withCtx(() => [
|
29
|
+
_ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("", true)
|
30
|
+
]),
|
31
|
+
_: 3
|
32
|
+
}, 16, ["class"]);
|
33
|
+
};
|
34
|
+
}
|
35
|
+
});
|
5
36
|
export {
|
6
|
-
|
37
|
+
_sfc_main as default
|
7
38
|
};
|