yc-design-vue 1.0.2 → 1.0.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/es/Affix/index.vue.js +1 -1
- package/es/Affix/type.d.ts +3 -2
- package/es/Alert/index.vue2.js +1 -1
- package/es/Alert/type.d.ts +6 -5
- package/es/Anchor/Anchor.vue2.js +1 -1
- package/es/Anchor/AnchorLink.vue2.js +1 -1
- package/es/Anchor/hooks/useContext.js +1 -1
- package/es/Anchor/type.d.ts +4 -3
- package/es/AutoComplete/index.d.ts +65 -2
- package/es/AutoComplete/index.vue.d.ts +130 -4
- package/es/AutoComplete/index.vue.js +1 -1
- package/es/AutoComplete/type.d.ts +5 -4
- package/es/Avatar/Avatar.vue2.js +1 -1
- package/es/Avatar/AvatarGroup.vue.js +1 -1
- package/es/Avatar/AvatarGroup.vue2.js +3 -3
- package/es/Avatar/type.d.ts +4 -4
- package/es/BackTop/index.vue2.js +1 -1
- package/es/BackTop/type.d.ts +2 -1
- package/es/Badge/index.vue.js +1 -1
- package/es/Badge/index.vue2.js +3 -3
- package/es/Badge/type.d.ts +3 -3
- package/es/Breadcrumb/Breadcrumb.vue2.js +1 -1
- package/es/Breadcrumb/BreadcrumbItem.vue2.js +1 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
- package/es/Breadcrumb/type.d.ts +9 -8
- package/es/Button/Button.vue.js +1 -1
- package/es/Button/Button.vue2.js +2 -2
- package/es/Button/type.d.ts +4 -3
- package/es/Calendar/Calendar.vue2.js +1 -1
- package/es/Calendar/CalendarMonth.vue2.js +1 -1
- package/es/Calendar/CalendarYear.vue2.js +1 -1
- package/es/Calendar/type.d.ts +5 -4
- package/es/Card/CardMeta.vue2.js +1 -1
- package/es/Card/type.d.ts +10 -10
- package/es/Carousel/Carousel.vue2.js +1 -1
- package/es/Carousel/CarouselArrow.vue2.js +1 -1
- package/es/Carousel/CarouselIndicator.vue2.js +1 -1
- package/es/Carousel/hooks/useContext.js +1 -1
- package/es/Carousel/type.d.ts +3 -2
- package/es/Cascader/Cascader.vue2.js +1 -1
- package/es/Cascader/CascaderIcon.vue2.js +1 -1
- package/es/Cascader/CascaderOption.vue2.js +1 -1
- package/es/Cascader/hooks/useContext.js +1 -1
- package/es/Cascader/type.d.ts +10 -10
- package/es/Checkbox/Checkbox.vue2.js +1 -1
- package/es/Checkbox/hooks/useContext.d.ts +2 -5
- package/es/Checkbox/hooks/useContext.js +1 -1
- package/es/Checkbox/type.d.ts +9 -8
- package/es/Collapse/CollapseItem.vue2.js +1 -1
- package/es/Collapse/hooks/useContext.js +1 -1
- package/es/Collapse/type.d.ts +9 -8
- package/es/ColorPicker/ColorControl.vue2.js +1 -1
- package/es/ColorPicker/ColorInput.vue2.js +1 -1
- package/es/ColorPicker/ColorPalette.vue2.js +1 -1
- package/es/Comment/index.vue2.js +1 -1
- package/es/Comment/type.d.ts +7 -6
- package/es/ConfigProvider/index.vue.js +2 -2
- package/es/ConfigProvider/type.d.ts +5 -4
- package/es/Descriptions/ReuseItem.vue2.js +1 -1
- package/es/Descriptions/ReuseTd.vue2.js +1 -1
- package/es/Descriptions/type.d.ts +9 -9
- package/es/Divider/index.vue2.js +1 -1
- package/es/Divider/type.d.ts +2 -1
- package/es/Drawer/Drawer.vue2.js +1 -0
- package/es/Drawer/DrawerService.vue.js +1 -1
- package/es/Drawer/type.d.ts +5 -5
- package/es/Dropdown/Dropdown.vue.js +1 -1
- package/es/Dropdown/DropdownButton.vue.js +1 -1
- package/es/Dropdown/Dsubmenu.vue.d.ts +130 -4
- package/es/Dropdown/Dsubmenu.vue2.js +1 -1
- package/es/Dropdown/hooks/useContext.js +1 -1
- package/es/Dropdown/index.d.ts +65 -2
- package/es/Dropdown/type.d.ts +15 -14
- package/es/Empty/index.vue2.js +1 -1
- package/es/Empty/type.d.ts +2 -1
- package/es/Grid/Grid.vue2.js +1 -1
- package/es/Grid/GridCol.vue.js +1 -1
- package/es/Grid/GridItem.vue.js +1 -1
- package/es/Grid/GridRow.vue2.js +1 -1
- package/es/Grid/hooks/useContext.js +1 -1
- package/es/Grid/type.d.ts +6 -5
- package/es/Icon/index.js +1 -1
- package/es/Icon/index.vue2.js +1 -1
- package/es/Icon/type.d.ts +2 -1
- package/es/Image/Image.vue2.js +1 -1
- package/es/Image/ImagePreview.vue2.js +1 -1
- package/es/Image/ImagePreviewArrow.vue2.js +1 -1
- package/es/Image/ImagePreviewToolbar.vue2.js +1 -1
- package/es/Image/hooks/useContext.js +1 -1
- package/es/Image/type.d.ts +11 -10
- package/es/Input/Input.vue2.js +1 -0
- package/es/Input/InputSuffix.vue2.js +1 -1
- package/es/Input/hooks/useCursor.d.ts +2 -1
- package/es/Input/hooks/useCursor.js +2 -2
- package/es/Input/hooks/useLimitedInput.js +1 -1
- package/es/Input/type.d.ts +6 -5
- package/es/InputNumber/InputNumber.vue2.js +1 -1
- package/es/InputNumber/InputOperaBtn.vue2.js +1 -1
- package/es/InputNumber/type.d.ts +8 -8
- package/es/InputTag/index.vue2.js +1 -0
- package/es/InputTag/type.d.ts +5 -4
- package/es/Layout/Layout.vue.js +1 -1
- package/es/Layout/Layout.vue2.js +3 -3
- package/es/Layout/LayoutSider.vue2.js +1 -1
- package/es/Layout/type.d.ts +8 -7
- package/es/Link/index.vue2.js +1 -1
- package/es/Link/type.d.ts +3 -2
- package/es/List/hooks/useScrollReach.js +1 -1
- package/es/List/type.d.ts +15 -14
- package/es/Mention/index.d.ts +65 -2
- package/es/Mention/index.vue.d.ts +130 -4
- package/es/Mention/index.vue.js +1 -1
- package/es/Mention/type.d.ts +3 -2
- package/es/Menu/Menu.vue2.js +1 -1
- package/es/Menu/MenuEllipsis.vue2.js +1 -1
- package/es/Menu/MenuItem.vue2.js +1 -1
- package/es/Menu/MenuItemGroup.vue2.js +1 -1
- package/es/Menu/SubMenu.vue2.js +1 -1
- package/es/Menu/hooks/useContext.js +1 -1
- package/es/Menu/type.d.ts +11 -10
- package/es/Message/Message.vue2.js +1 -1
- package/es/Message/index.js +1 -1
- package/es/Message/type.d.ts +1 -1
- package/es/Modal/Modal.vue2.js +1 -0
- package/es/Modal/ModalService.vue.js +1 -1
- package/es/Modal/hooks/useModalClose.js +1 -1
- package/es/Modal/hooks/useModalDraggable.js +1 -1
- package/es/Modal/hooks/useOnBeforeClose.js +1 -1
- package/es/Modal/type.d.ts +5 -5
- package/es/Notification/Notification.vue2.js +1 -1
- package/es/Notification/index.js +1 -1
- package/es/Notification/type.d.ts +1 -1
- package/es/OverflowList/index.vue.js +1 -1
- package/es/OverflowList/index.vue2.js +3 -3
- package/es/OverflowList/type.d.ts +3 -2
- package/es/PageHeader/index.vue2.js +1 -1
- package/es/PageHeader/type.d.ts +7 -6
- package/es/Pagination/Pagination.vue2.js +1 -1
- package/es/Pagination/PaginationItem.vue2.js +1 -1
- package/es/Pagination/type.d.ts +8 -8
- package/es/Popconfirm/index.d.ts +65 -2
- package/es/Popconfirm/index.vue.d.ts +130 -4
- package/es/Popconfirm/index.vue.js +1 -1
- package/es/Popconfirm/type.d.ts +4 -4
- package/es/Popover/index.vue.js +1 -1
- package/es/Popover/type.d.ts +4 -4
- package/es/Progress/ProgressCircle.vue2.js +2 -2
- package/es/Progress/ProgressLine.vue2.js +1 -1
- package/es/Progress/ProgressSteps.vue.js +1 -1
- package/es/Radio/Radio.vue2.js +1 -1
- package/es/Radio/hooks/useContext.d.ts +3 -6
- package/es/Radio/type.d.ts +9 -8
- package/es/Rate/index.vue2.js +1 -1
- package/es/Rate/type.d.ts +3 -2
- package/es/ResizeBox/index.vue2.js +1 -1
- package/es/ResizeBox/type.d.ts +6 -5
- package/es/Result/type.d.ts +6 -5
- package/es/Scrollbar/ScrollbarTrack.vue2.js +1 -1
- package/es/Scrollbar/type.d.ts +2 -2
- package/es/Select/Option.vue2.js +1 -1
- package/es/Select/Select.vue.d.ts +130 -4
- package/es/Select/Select.vue2.js +1 -1
- package/es/Select/SelectIcon.vue2.js +1 -1
- package/es/Select/SelectRealList.vue2.js +1 -1
- package/es/Select/SelectVirtualList.vue2.js +1 -1
- package/es/Select/hooks/useContext.js +1 -1
- package/es/Select/hooks/useSelectOptions.js +1 -1
- package/es/Select/index.d.ts +65 -2
- package/es/Select/type.d.ts +19 -18
- package/es/Skeleton/SkeletonLine.vue2.js +1 -1
- package/es/Skeleton/type.d.ts +3 -2
- package/es/Slider/SliderBtn.vue2.js +1 -1
- package/es/Slider/hooks/useContext.js +1 -1
- package/es/Slider/hooks/useSliderDraggable.js +1 -1
- package/es/Space/index.vue.js +1 -1
- package/es/Space/index.vue2.js +3 -3
- package/es/Space/type.d.ts +3 -2
- package/es/Spin/type.d.ts +4 -3
- package/es/Split/index.vue2.js +1 -1
- package/es/Split/type.d.ts +5 -4
- package/es/Statistic/Countdown.vue.js +1 -1
- package/es/Statistic/Statistic.vue2.js +1 -1
- package/es/Statistic/type.d.ts +7 -7
- package/es/Steps/Step.vue2.js +1 -1
- package/es/Steps/hooks/useContext.js +1 -1
- package/es/Steps/type.d.ts +8 -7
- package/es/Switch/index.vue.js +1 -1
- package/es/Switch/index.vue2.js +3 -3
- package/es/Switch/type.d.ts +5 -4
- package/es/Tabs/TabButton.vue2.js +1 -1
- package/es/Tabs/TabPane.vue.js +1 -1
- package/es/Tabs/Tabs.vue.js +1 -1
- package/es/Tabs/Tabs.vue2.js +3 -3
- package/es/Tabs/TabsNavInk.vue2.js +1 -1
- package/es/Tabs/TabsTab.vue2.js +1 -1
- package/es/Tabs/hooks/useTabsScroll.js +1 -1
- package/es/Tabs/type.d.ts +5 -4
- package/es/Tag/index.vue2.js +1 -0
- package/es/Tag/type.d.ts +4 -3
- package/es/Textarea/hooks/useTextareaHeight.js +1 -1
- package/es/Textarea/index.vue2.js +1 -1
- package/es/TimePicker/TimePicker.vue2.js +1 -1
- package/es/TimePicker/TimePickerPanel.vue2.js +1 -1
- package/es/TimePicker/hooks/useContext.js +1 -1
- package/es/TimePicker/type.d.ts +4 -3
- package/es/Timeline/Timeline.vue2.js +1 -1
- package/es/Timeline/hooks/useContext.js +1 -1
- package/es/Timeline/type.d.ts +6 -5
- package/es/Tooltip/index.vue.js +1 -1
- package/es/Tooltip/type.d.ts +3 -3
- package/es/Transfer/Transfer.vue2.js +1 -1
- package/es/Transfer/TransferPanel.vue2.js +3 -3
- package/es/Transfer/hooks/useContext.js +1 -1
- package/es/Transfer/type.d.ts +13 -12
- package/es/Trigger/hooks/useContext.js +1 -1
- package/es/Trigger/hooks/useTriggerPosition.d.ts +2 -2
- package/es/Trigger/hooks/useTriggerPosition.js +11 -20
- package/es/Trigger/index.d.ts +63 -2
- package/es/Trigger/index.vue.d.ts +130 -3
- package/es/Trigger/index.vue.js +1 -1
- package/es/Trigger/index.vue2.js +3 -3
- package/es/Trigger/type.d.ts +3 -3
- package/es/Typography/TypographyBase.vue2.js +3 -3
- package/es/Typography/type.d.ts +8 -7
- package/es/Watermark/index.vue2.js +1 -1
- package/es/Watermark/type.d.ts +2 -1
- package/es/_shared/components/ExpandTransition.vue3.js +1 -1
- package/es/_shared/{icons/_Icon.vue2.js → components/Icon.vue2.js} +3 -3
- package/es/_shared/{icons/_Icon.vue3.js → components/Icon.vue3.js} +2 -2
- package/es/_shared/components/IconButton.vue3.js +1 -1
- package/es/_shared/components/index.d.ts +1 -0
- package/es/_shared/constants/index.js +1 -1
- package/es/_shared/icons/IconArrowDown.vue.js +1 -1
- package/es/_shared/icons/IconArrowRight.vue.js +1 -1
- package/es/_shared/icons/IconCheck.vue.js +1 -1
- package/es/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/es/_shared/icons/IconClose.vue.js +1 -1
- package/es/_shared/icons/IconCopy.vue.js +16 -1
- package/es/_shared/icons/IconCopy.vue2.js +1 -16
- package/es/_shared/icons/IconDelete.vue.js +1 -16
- package/es/_shared/icons/IconDelete.vue2.js +16 -1
- package/es/_shared/icons/IconDragDot.vue.js +1 -1
- package/es/_shared/icons/IconEdit.vue.js +16 -1
- package/es/_shared/icons/IconEdit.vue2.js +1 -16
- package/es/_shared/icons/IconEmpty.vue.js +1 -1
- package/es/_shared/icons/IconError.vue.js +1 -1
- package/es/_shared/icons/IconExclamation.vue.js +27 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -27
- package/es/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/es/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/es/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/es/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/es/_shared/icons/IconImageClose.vue.js +1 -1
- package/es/_shared/icons/IconInfo.vue.js +1 -1
- package/es/_shared/icons/IconInfoLine.vue.js +1 -1
- package/es/_shared/icons/IconLink.vue.js +1 -1
- package/es/_shared/icons/IconLoading.vue.js +1 -1
- package/es/_shared/icons/IconMenuFold.vue.js +1 -1
- package/es/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/es/_shared/icons/IconMinus.vue2.js +1 -1
- package/es/_shared/icons/IconMore.vue.js +1 -1
- package/es/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/es/_shared/icons/IconPlus.vue.js +1 -1
- package/es/_shared/icons/IconRight.vue.js +1 -1
- package/es/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/es/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/es/_shared/icons/IconSearch.vue.js +1 -16
- package/es/_shared/icons/IconSearch.vue2.js +16 -1
- package/es/_shared/icons/IconSeparator.vue2.js +1 -1
- package/es/_shared/icons/IconStar.vue.js +1 -1
- package/es/_shared/icons/IconSuccess.vue.js +1 -1
- package/es/_shared/icons/IconTime.vue.js +1 -1
- package/es/_shared/icons/IconToTop.vue.js +1 -1
- package/es/_shared/icons/IconWarning.vue.js +1 -1
- package/es/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/es/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/es/_shared/utils/control.js +1 -1
- package/es/_shared/utils/dom.d.ts +4 -4
- package/es/_shared/utils/dom.js +6 -6
- package/es/_shared/utils/fn.d.ts +3 -3
- package/es/_shared/utils/fn.js +6 -6
- package/es/_shared/utils/global-config.d.ts +4 -2
- package/es/_shared/utils/global-config.js +1 -1
- package/es/index.d.ts +65 -2
- package/es/style.css +1 -1
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Affix/type.d.ts +3 -2
- package/lib/Alert/index.vue2.js +1 -1
- package/lib/Alert/type.d.ts +6 -5
- package/lib/Anchor/Anchor.vue2.js +1 -1
- package/lib/Anchor/AnchorLink.vue2.js +1 -1
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/Anchor/type.d.ts +4 -3
- package/lib/AutoComplete/index.d.ts +65 -2
- package/lib/AutoComplete/index.vue.d.ts +130 -4
- package/lib/AutoComplete/index.vue.js +1 -1
- package/lib/AutoComplete/type.d.ts +5 -4
- package/lib/Avatar/Avatar.vue2.js +1 -1
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue2.js +1 -1
- package/lib/Avatar/type.d.ts +4 -4
- package/lib/BackTop/index.vue2.js +1 -1
- package/lib/BackTop/type.d.ts +2 -1
- package/lib/Badge/index.vue.js +1 -1
- package/lib/Badge/index.vue2.js +1 -1
- package/lib/Badge/type.d.ts +3 -3
- package/lib/Breadcrumb/Breadcrumb.vue2.js +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue2.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
- package/lib/Breadcrumb/type.d.ts +9 -8
- package/lib/Button/Button.vue.js +1 -1
- package/lib/Button/Button.vue2.js +1 -1
- package/lib/Button/type.d.ts +4 -3
- package/lib/Calendar/Calendar.vue2.js +1 -1
- package/lib/Calendar/CalendarMonth.vue2.js +1 -1
- package/lib/Calendar/CalendarYear.vue2.js +1 -1
- package/lib/Calendar/type.d.ts +5 -4
- package/lib/Card/CardMeta.vue2.js +1 -1
- package/lib/Card/type.d.ts +10 -10
- package/lib/Carousel/Carousel.vue2.js +1 -1
- package/lib/Carousel/CarouselArrow.vue2.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue2.js +1 -1
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Carousel/type.d.ts +3 -2
- package/lib/Cascader/Cascader.vue2.js +1 -1
- package/lib/Cascader/CascaderIcon.vue2.js +1 -1
- package/lib/Cascader/CascaderOption.vue2.js +1 -1
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/type.d.ts +10 -10
- package/lib/Checkbox/Checkbox.vue2.js +1 -1
- package/lib/Checkbox/hooks/useContext.d.ts +2 -5
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Checkbox/type.d.ts +9 -8
- package/lib/Collapse/CollapseItem.vue2.js +1 -1
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/Collapse/type.d.ts +9 -8
- package/lib/ColorPicker/ColorControl.vue2.js +1 -1
- package/lib/ColorPicker/ColorInput.vue2.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue2.js +1 -1
- package/lib/Comment/index.vue2.js +1 -1
- package/lib/Comment/type.d.ts +7 -6
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/ConfigProvider/type.d.ts +5 -4
- package/lib/Descriptions/ReuseItem.vue2.js +1 -1
- package/lib/Descriptions/ReuseTd.vue2.js +1 -1
- package/lib/Descriptions/type.d.ts +9 -9
- package/lib/Divider/index.vue2.js +1 -1
- package/lib/Divider/type.d.ts +2 -1
- package/lib/Drawer/Drawer.vue2.js +1 -1
- package/lib/Drawer/DrawerService.vue.js +1 -1
- package/lib/Drawer/type.d.ts +5 -5
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.d.ts +130 -4
- package/lib/Dropdown/Dsubmenu.vue2.js +1 -1
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.d.ts +65 -2
- package/lib/Dropdown/type.d.ts +15 -14
- package/lib/Empty/index.vue2.js +1 -1
- package/lib/Empty/type.d.ts +2 -1
- package/lib/Grid/Grid.vue2.js +1 -1
- package/lib/Grid/GridCol.vue.js +1 -1
- package/lib/Grid/GridItem.vue.js +1 -1
- package/lib/Grid/GridRow.vue2.js +1 -1
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Grid/type.d.ts +6 -5
- package/lib/Icon/index.js +1 -1
- package/lib/Icon/index.vue2.js +1 -1
- package/lib/Icon/type.d.ts +2 -1
- package/lib/Image/Image.vue2.js +1 -1
- package/lib/Image/ImagePreview.vue2.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue2.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue2.js +1 -1
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Image/type.d.ts +11 -10
- package/lib/Input/Input.vue2.js +1 -1
- package/lib/Input/InputSuffix.vue2.js +1 -1
- package/lib/Input/hooks/useCursor.d.ts +2 -1
- package/lib/Input/hooks/useCursor.js +1 -1
- package/lib/Input/hooks/useLimitedInput.js +1 -1
- package/lib/Input/type.d.ts +6 -5
- package/lib/InputNumber/InputNumber.vue2.js +1 -1
- package/lib/InputNumber/InputOperaBtn.vue2.js +1 -1
- package/lib/InputNumber/type.d.ts +8 -8
- package/lib/InputTag/index.vue2.js +1 -1
- package/lib/InputTag/type.d.ts +5 -4
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/Layout.vue2.js +1 -1
- package/lib/Layout/LayoutSider.vue2.js +1 -1
- package/lib/Layout/type.d.ts +8 -7
- package/lib/Link/index.vue2.js +1 -1
- package/lib/Link/type.d.ts +3 -2
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/List/type.d.ts +15 -14
- package/lib/Mention/index.d.ts +65 -2
- package/lib/Mention/index.vue.d.ts +130 -4
- package/lib/Mention/index.vue.js +1 -1
- package/lib/Mention/type.d.ts +3 -2
- package/lib/Menu/Menu.vue2.js +1 -1
- package/lib/Menu/MenuEllipsis.vue2.js +1 -1
- package/lib/Menu/MenuItem.vue2.js +1 -1
- package/lib/Menu/MenuItemGroup.vue2.js +1 -1
- package/lib/Menu/SubMenu.vue2.js +1 -1
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Menu/type.d.ts +11 -10
- package/lib/Message/Message.vue2.js +1 -1
- package/lib/Message/index.js +1 -1
- package/lib/Message/type.d.ts +1 -1
- package/lib/Modal/Modal.vue2.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/Modal/type.d.ts +5 -5
- package/lib/Notification/Notification.vue2.js +1 -1
- package/lib/Notification/index.js +1 -1
- package/lib/Notification/type.d.ts +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/OverflowList/index.vue2.js +1 -1
- package/lib/OverflowList/type.d.ts +3 -2
- package/lib/PageHeader/index.vue2.js +1 -1
- package/lib/PageHeader/type.d.ts +7 -6
- package/lib/Pagination/Pagination.vue2.js +1 -1
- package/lib/Pagination/PaginationItem.vue2.js +1 -1
- package/lib/Pagination/type.d.ts +8 -8
- package/lib/Popconfirm/index.d.ts +65 -2
- package/lib/Popconfirm/index.vue.d.ts +130 -4
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Popconfirm/type.d.ts +4 -4
- package/lib/Popover/index.vue.js +1 -1
- package/lib/Popover/type.d.ts +4 -4
- package/lib/Progress/ProgressCircle.vue2.js +1 -1
- package/lib/Progress/ProgressLine.vue2.js +1 -1
- package/lib/Progress/ProgressSteps.vue.js +1 -1
- package/lib/Radio/Radio.vue2.js +1 -1
- package/lib/Radio/hooks/useContext.d.ts +3 -6
- package/lib/Radio/type.d.ts +9 -8
- package/lib/Rate/index.vue2.js +1 -1
- package/lib/Rate/type.d.ts +3 -2
- package/lib/ResizeBox/index.vue2.js +1 -1
- package/lib/ResizeBox/type.d.ts +6 -5
- package/lib/Result/type.d.ts +6 -5
- package/lib/Scrollbar/ScrollbarTrack.vue2.js +1 -1
- package/lib/Scrollbar/type.d.ts +2 -2
- package/lib/Select/Option.vue2.js +1 -1
- package/lib/Select/Select.vue.d.ts +130 -4
- package/lib/Select/Select.vue2.js +1 -1
- package/lib/Select/SelectIcon.vue2.js +1 -1
- package/lib/Select/SelectRealList.vue2.js +1 -1
- package/lib/Select/SelectVirtualList.vue2.js +1 -1
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/hooks/useSelectOptions.js +1 -1
- package/lib/Select/index.d.ts +65 -2
- package/lib/Select/type.d.ts +19 -18
- package/lib/Skeleton/SkeletonLine.vue2.js +1 -1
- package/lib/Skeleton/type.d.ts +3 -2
- package/lib/Slider/SliderBtn.vue2.js +1 -1
- 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/Space/index.vue2.js +1 -1
- package/lib/Space/type.d.ts +3 -2
- package/lib/Spin/type.d.ts +4 -3
- package/lib/Split/index.vue2.js +1 -1
- package/lib/Split/type.d.ts +5 -4
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue2.js +1 -1
- package/lib/Statistic/type.d.ts +7 -7
- package/lib/Steps/Step.vue2.js +1 -1
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Steps/type.d.ts +8 -7
- package/lib/Switch/index.vue.js +1 -1
- package/lib/Switch/index.vue2.js +1 -1
- package/lib/Switch/type.d.ts +5 -4
- package/lib/Tabs/TabButton.vue2.js +1 -1
- package/lib/Tabs/TabPane.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/Tabs.vue2.js +1 -1
- package/lib/Tabs/TabsNavInk.vue2.js +1 -1
- package/lib/Tabs/TabsTab.vue2.js +1 -1
- package/lib/Tabs/hooks/useTabsScroll.js +1 -1
- package/lib/Tabs/type.d.ts +5 -4
- package/lib/Tag/index.vue2.js +1 -1
- package/lib/Tag/type.d.ts +4 -3
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.vue2.js +1 -1
- package/lib/TimePicker/TimePicker.vue2.js +1 -1
- package/lib/TimePicker/TimePickerPanel.vue2.js +1 -1
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/TimePicker/type.d.ts +4 -3
- package/lib/Timeline/Timeline.vue2.js +1 -1
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Timeline/type.d.ts +6 -5
- package/lib/Tooltip/index.vue.js +1 -1
- package/lib/Tooltip/type.d.ts +3 -3
- package/lib/Transfer/Transfer.vue2.js +1 -1
- package/lib/Transfer/TransferPanel.vue2.js +1 -1
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Transfer/type.d.ts +13 -12
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.d.ts +2 -2
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/index.d.ts +63 -2
- package/lib/Trigger/index.vue.d.ts +130 -3
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Trigger/index.vue2.js +1 -1
- package/lib/Trigger/type.d.ts +3 -3
- package/lib/Typography/TypographyBase.vue2.js +1 -1
- package/lib/Typography/type.d.ts +8 -7
- package/lib/Watermark/index.vue2.js +1 -1
- package/lib/Watermark/type.d.ts +2 -1
- package/lib/_shared/components/ExpandTransition.vue3.js +1 -1
- package/lib/_shared/components/Icon.vue2.js +1 -0
- package/lib/_shared/components/Icon.vue3.js +1 -0
- package/lib/_shared/components/IconButton.vue3.js +1 -1
- package/lib/_shared/components/index.d.ts +1 -0
- 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/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/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.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.vue.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/_shared/utils/control.js +1 -1
- package/lib/_shared/utils/dom.d.ts +4 -4
- package/lib/_shared/utils/dom.js +1 -1
- package/lib/_shared/utils/fn.d.ts +3 -3
- package/lib/_shared/utils/fn.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +4 -2
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/index.d.ts +65 -2
- package/lib/style.css +1 -1
- package/package.json +2 -2
- package/lib/_shared/icons/_Icon.vue2.js +0 -1
- package/lib/_shared/icons/_Icon.vue3.js +0 -1
- /package/es/_shared/{icons/_Icon.vue.d.ts → components/Icon.vue.d.ts} +0 -0
- /package/lib/_shared/{icons/_Icon.vue.d.ts → components/Icon.vue.d.ts} +0 -0
package/es/Skeleton/type.d.ts
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
+
import { VNode } from 'vue';
|
1
2
|
export interface SkeletonProps {
|
2
3
|
animation?: boolean;
|
3
4
|
loading?: boolean;
|
4
5
|
}
|
5
6
|
export interface SkeletonSlots {
|
6
|
-
default()
|
7
|
-
content()
|
7
|
+
default?: () => VNode[];
|
8
|
+
content?: () => VNode[];
|
8
9
|
}
|
9
10
|
export interface SkeletonLineProps {
|
10
11
|
rows?: number;
|
@@ -6,7 +6,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
6
6
|
import "../_shared/utils/dom.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
8
|
import "../Empty/index.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
import useControlValue from "../_shared/utils/control.js";
|
11
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
12
12
|
__name: "SliderBtn",
|
@@ -4,7 +4,7 @@ import "../../_shared/utils/dom.js";
|
|
4
4
|
import { isArray } from "../../_shared/utils/is.js";
|
5
5
|
import "../../_shared/utils/time.js";
|
6
6
|
import "../../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
import useControlValue from "../../_shared/utils/control.js";
|
9
9
|
const SLIDER_CONTEXT_KEY = "slider-context";
|
10
10
|
const useContext = () => {
|
@@ -5,7 +5,7 @@ import "../../_shared/utils/dom.js";
|
|
5
5
|
import { valueToPx } from "../../_shared/utils/fn.js";
|
6
6
|
import "../../_shared/utils/time.js";
|
7
7
|
import "../../Empty/index.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
const useSliderDraggable = (params) => {
|
10
10
|
const {
|
11
11
|
trackRef,
|
package/es/Space/index.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _Space = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Space = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7a9a36b0"]]);
|
5
5
|
export {
|
6
6
|
_Space as default
|
7
7
|
};
|
package/es/Space/index.vue2.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent,
|
1
|
+
import { defineComponent, useSlots, toRefs, computed, Fragment, Comment, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, renderSlot, createCommentVNode, renderList, createElementVNode, createBlock, resolveDynamicComponent } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { valueToPx } from "../_shared/utils/fn.js";
|
@@ -6,7 +6,7 @@ import { isNumber, isUndefined } from "../_shared/utils/is.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
8
8
|
import "../Empty/index.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
const _hoisted_1 = { class: "yc-space-item" };
|
11
11
|
const _hoisted_2 = {
|
12
12
|
key: 0,
|
@@ -25,9 +25,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
25
25
|
size: { default: "small" }
|
26
26
|
},
|
27
27
|
setup(__props) {
|
28
|
+
const slots = useSlots();
|
28
29
|
const props = __props;
|
29
30
|
const { size, direction, align: _align } = toRefs(props);
|
30
|
-
const slots = useSlots();
|
31
31
|
const gap = computed(() => {
|
32
32
|
const map = {
|
33
33
|
mini: 4,
|
package/es/Space/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { Direction, Size } from '../_shared/type';
|
2
|
+
import { VNode } from 'vue';
|
2
3
|
export interface SpaceProps {
|
3
4
|
align?: SpaceAlign;
|
4
5
|
direction?: Direction;
|
@@ -7,7 +8,7 @@ export interface SpaceProps {
|
|
7
8
|
size?: Size | number;
|
8
9
|
}
|
9
10
|
export interface SpaceSlots {
|
10
|
-
default()
|
11
|
-
split()
|
11
|
+
default?: () => VNode[];
|
12
|
+
split?: () => VNode[];
|
12
13
|
}
|
13
14
|
export type SpaceAlign = 'start' | 'end' | 'center' | 'baseline';
|
package/es/Spin/type.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { VNode } from 'vue';
|
1
2
|
export interface SpinProps {
|
2
3
|
size?: number;
|
3
4
|
loading?: boolean;
|
@@ -7,7 +8,7 @@ export interface SpinProps {
|
|
7
8
|
isSizeInherit?: boolean;
|
8
9
|
}
|
9
10
|
export interface SpinSlots {
|
10
|
-
default()
|
11
|
-
icon()
|
12
|
-
tip()
|
11
|
+
default?: () => VNode[];
|
12
|
+
icon?: () => VNode[];
|
13
|
+
tip?: () => VNode[];
|
13
14
|
}
|
package/es/Split/index.vue2.js
CHANGED
@@ -6,7 +6,7 @@ import { isNumber } from "../_shared/utils/is.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
8
|
import useControlValue from "../_shared/utils/control.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
|
11
11
|
import { useDraggable } from "../node_modules/@vueuse/core/index.js";
|
12
12
|
const _hoisted_1 = { class: "yc-split-trigger-icon-wrapper" };
|
package/es/Split/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { Direction } from '../_shared/type';
|
2
|
+
import { VNode } from 'vue';
|
2
3
|
export interface SplitProps {
|
3
4
|
component?: string;
|
4
5
|
direction?: Direction;
|
@@ -15,8 +16,8 @@ export interface SplitEmits {
|
|
15
16
|
(e: 'moving-end'): void;
|
16
17
|
}
|
17
18
|
export interface SplitSlots {
|
18
|
-
|
19
|
-
|
20
|
-
first()
|
21
|
-
second()
|
19
|
+
'resize-trigger-icon'?: () => VNode[];
|
20
|
+
'resize-trigger'?: () => VNode[];
|
21
|
+
first?: () => VNode[];
|
22
|
+
second?: () => VNode[];
|
22
23
|
}
|
@@ -5,7 +5,7 @@ import { sleep } from "../_shared/utils/fn.js";
|
|
5
5
|
import { isUndefined } from "../_shared/utils/is.js";
|
6
6
|
import { formatSeconds } from "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
import _Statistic from "./Statistic.vue.js";
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
11
|
...{
|
@@ -4,7 +4,7 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import { isUndefined, isNumber } from "../_shared/utils/is.js";
|
5
5
|
import { formatSeconds, formatDate } from "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
|
9
9
|
const _hoisted_1 = { class: "yc-statistic yc-statistic-countdown" };
|
10
10
|
const _hoisted_2 = {
|
package/es/Statistic/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CSSProperties } from 'vue';
|
1
|
+
import { CSSProperties, VNode } from 'vue';
|
2
2
|
export interface StatisticProps {
|
3
3
|
title?: string;
|
4
4
|
value?: StatisticValue;
|
@@ -20,11 +20,11 @@ export interface StatisticEmits {
|
|
20
20
|
(e: 'finish'): void;
|
21
21
|
}
|
22
22
|
export interface StatisticSlots {
|
23
|
-
title()
|
24
|
-
prefix()
|
25
|
-
suffix()
|
26
|
-
extra()
|
27
|
-
value()
|
23
|
+
title?: () => VNode[];
|
24
|
+
prefix?: () => VNode[];
|
25
|
+
suffix?: () => VNode[];
|
26
|
+
extra?: () => VNode[];
|
27
|
+
value?: () => VNode[];
|
28
28
|
}
|
29
29
|
export interface CountdownProps {
|
30
30
|
title?: string;
|
@@ -39,6 +39,6 @@ export interface CountDownEmits {
|
|
39
39
|
(e: 'finish'): void;
|
40
40
|
}
|
41
41
|
export interface CountdownSlots {
|
42
|
-
title()
|
42
|
+
title?: () => VNode[];
|
43
43
|
}
|
44
44
|
export type StatisticValue = number | Date;
|
package/es/Steps/Step.vue2.js
CHANGED
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../Empty/index.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
8
8
|
import _sfc_main$2 from "../_shared/icons/IconClose.vue.js";
|
9
9
|
import useContext from "./hooks/useContext.js";
|
@@ -5,7 +5,7 @@ import "../../_shared/utils/dom.js";
|
|
5
5
|
import { isUndefined } from "../../_shared/utils/is.js";
|
6
6
|
import "../../_shared/utils/time.js";
|
7
7
|
import "../../Empty/index.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
import useControlValue from "../../_shared/utils/control.js";
|
10
10
|
const STEPS_CONTEXT_KEY = "card-context";
|
11
11
|
const useContext = () => {
|
package/es/Steps/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { Direction } from '../_shared/type';
|
2
|
+
import { VNode } from 'vue';
|
2
3
|
export interface StepsProps {
|
3
4
|
type?: StepType;
|
4
5
|
direction?: Direction;
|
@@ -15,7 +16,7 @@ export interface StepsEmits {
|
|
15
16
|
(e: 'update:current', step: number): void;
|
16
17
|
}
|
17
18
|
export interface StepsSlots {
|
18
|
-
default()
|
19
|
+
default?: () => VNode[];
|
19
20
|
}
|
20
21
|
export interface StepProps {
|
21
22
|
title?: string;
|
@@ -24,16 +25,16 @@ export interface StepProps {
|
|
24
25
|
disabled?: boolean;
|
25
26
|
}
|
26
27
|
export interface StepSlots {
|
27
|
-
node(scope: {
|
28
|
+
node?: (scope: {
|
28
29
|
step: number;
|
29
30
|
status: StepStatus;
|
30
|
-
})
|
31
|
-
icon(scope: {
|
31
|
+
}) => VNode[];
|
32
|
+
icon?: (scope: {
|
32
33
|
step: number;
|
33
34
|
status: StepStatus;
|
34
|
-
})
|
35
|
-
description()
|
36
|
-
default()
|
35
|
+
}) => VNode[];
|
36
|
+
description?: () => VNode[];
|
37
|
+
default?: () => VNode[];
|
37
38
|
}
|
38
39
|
export type StepStatus = 'wait' | 'process' | 'finish' | 'error';
|
39
40
|
export type StepType = 'default' | 'arrow' | 'dot' | 'navigation';
|
package/es/Switch/index.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _Switch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Switch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-be8dccd4"]]);
|
5
5
|
export {
|
6
6
|
_Switch as default
|
7
7
|
};
|
package/es/Switch/index.vue2.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent, useCssVars, computed,
|
1
|
+
import { defineComponent, useCssVars, computed, useSlots, toRefs, ref, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, renderSlot, createTextVNode, toDisplayString } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { isBoolean } from "../_shared/utils/is.js";
|
@@ -42,8 +42,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
42
42
|
emits: ["update:modelValue", "change", "focus", "blur"],
|
43
43
|
setup(__props, { emit: __emit }) {
|
44
44
|
useCssVars((_ctx) => ({
|
45
|
-
"
|
45
|
+
"e55eb67a": background.value
|
46
46
|
}));
|
47
|
+
const slots = useSlots();
|
47
48
|
const props = __props;
|
48
49
|
const emits = __emit;
|
49
50
|
const {
|
@@ -60,7 +61,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
60
61
|
loading: _loading
|
61
62
|
} = toRefs(props);
|
62
63
|
const { beforeChange } = props;
|
63
|
-
const slots = useSlots();
|
64
64
|
const { size } = getGlobalConfig(props);
|
65
65
|
const computedValue = useControlValue(
|
66
66
|
modelValue,
|
package/es/Switch/type.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { VNode } from 'vue';
|
1
2
|
export interface SwitchProps {
|
2
3
|
modelValue?: SwitchValue;
|
3
4
|
defaultChecked?: SwitchValue;
|
@@ -20,10 +21,10 @@ export interface SwitchEmits {
|
|
20
21
|
(e: 'blur', ev: FocusEvent): void;
|
21
22
|
}
|
22
23
|
export interface SwitchSlots {
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
24
|
+
'checked-icon'?: () => VNode[];
|
25
|
+
'unchecked-icon'?: () => VNode[];
|
26
|
+
checked?: () => VNode[];
|
27
|
+
unchecked?: () => VNode[];
|
27
28
|
}
|
28
29
|
export type SwitchValue = string | number | boolean;
|
29
30
|
export type SwitchType = 'circle' | 'round' | 'line';
|
@@ -4,7 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
10
10
|
__name: "TabButton",
|
package/es/Tabs/TabPane.vue.js
CHANGED
@@ -4,7 +4,7 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
import useContext from "./hooks/useContext.js";
|
9
9
|
const _hoisted_1 = { class: "yc-tabs-content-item" };
|
10
10
|
const _hoisted_2 = {
|
package/es/Tabs/Tabs.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./Tabs.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _Tabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Tabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d4474e51"]]);
|
5
5
|
export {
|
6
6
|
_Tabs as default
|
7
7
|
};
|
package/es/Tabs/Tabs.vue2.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
import { defineComponent,
|
1
|
+
import { defineComponent, useSlots, ref, computed, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, withCtx, createVNode, normalizeStyle, Fragment, renderList, renderSlot, resolveDynamicComponent, nextTick } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { valueToPx } from "../_shared/utils/fn.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
7
7
|
import "../Empty/index.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
10
10
|
import _sfc_main$3 from "../_shared/icons/IconPlus.vue.js";
|
11
11
|
import useContext from "./hooks/useContext.js";
|
@@ -44,11 +44,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
44
44
|
},
|
45
45
|
emits: ["update:activeKey", "change", "tab-click", "add", "delete"],
|
46
46
|
setup(__props, { emit: __emit }) {
|
47
|
+
const slots = useSlots();
|
47
48
|
const props = __props;
|
48
49
|
const emits = __emit;
|
49
50
|
const listRef = ref();
|
50
51
|
const { computedActiveKey, size, direction, autoSwitch, position } = useContext().provide(props, emits, listRef);
|
51
|
-
const slots = useSlots();
|
52
52
|
const tabPanes = computed(
|
53
53
|
() => {
|
54
54
|
var _a;
|
@@ -5,7 +5,7 @@ import { valueToPx } from "../_shared/utils/fn.js";
|
|
5
5
|
import { isUndefined } from "../_shared/utils/is.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
import useContext from "./hooks/useContext.js";
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
11
|
__name: "TabsNavInk",
|
package/es/Tabs/TabsTab.vue2.js
CHANGED
@@ -5,7 +5,7 @@ import "../_shared/utils/dom.js";
|
|
5
5
|
import { isUndefined } from "../_shared/utils/is.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
import TabButton from "./TabButton.vue.js";
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
11
|
__name: "TabsTab",
|
@@ -5,7 +5,7 @@ import "../../_shared/utils/dom.js";
|
|
5
5
|
import { sleep } from "../../_shared/utils/fn.js";
|
6
6
|
import "../../_shared/utils/time.js";
|
7
7
|
import "../../Empty/index.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
const useTabsScroll = (params) => {
|
10
10
|
const { direction, panes, listRef } = params;
|
11
11
|
const isScrollable = ref(false);
|
package/es/Tabs/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { Direction, Size } from '../_shared/type';
|
2
|
+
import { VNode } from 'vue';
|
2
3
|
export interface TabsProps {
|
3
4
|
activeKey?: TabKey;
|
4
5
|
defaultActiveKey?: TabKey;
|
@@ -24,8 +25,8 @@ export interface TabsEmits {
|
|
24
25
|
(e: 'delete', value: TabKey): void;
|
25
26
|
}
|
26
27
|
export interface TabsSlots {
|
27
|
-
extra()
|
28
|
-
default()
|
28
|
+
extra?: () => VNode[];
|
29
|
+
default?: () => VNode[];
|
29
30
|
}
|
30
31
|
export interface TabPaneProps {
|
31
32
|
title?: string;
|
@@ -35,8 +36,8 @@ export interface TabPaneProps {
|
|
35
36
|
destoryOnHide?: boolean;
|
36
37
|
}
|
37
38
|
export interface TabPaneSlots {
|
38
|
-
default()
|
39
|
-
title()
|
39
|
+
default?: () => VNode[];
|
40
|
+
title?: () => VNode[];
|
40
41
|
}
|
41
42
|
export type TabKey = string | number;
|
42
43
|
export type TabType = 'line' | 'card' | 'card-gutter' | 'text' | 'rounded' | 'capsule';
|
package/es/Tag/index.vue2.js
CHANGED
package/es/Tag/type.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { VNode } from 'vue';
|
1
2
|
export interface TagProps {
|
2
3
|
color?: string;
|
3
4
|
size?: TagSize;
|
@@ -18,8 +19,8 @@ export interface TagEmits {
|
|
18
19
|
(e: 'check', value: boolean, ev: MouseEvent): void;
|
19
20
|
}
|
20
21
|
export interface TagSlots {
|
21
|
-
default()
|
22
|
-
icon()
|
23
|
-
|
22
|
+
default?: () => VNode[];
|
23
|
+
icon?: () => VNode[];
|
24
|
+
'close-icon'?: () => VNode[];
|
24
25
|
}
|
25
26
|
export type TagSize = 'small' | 'medium' | 'large';
|
@@ -5,7 +5,7 @@ import "../../_shared/utils/dom.js";
|
|
5
5
|
import { valueToPx } from "../../_shared/utils/fn.js";
|
6
6
|
import "../../_shared/utils/time.js";
|
7
7
|
import "../../Empty/index.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
const useTextareaHeight = (mirrorRef, autoSize) => {
|
10
10
|
if (!autoSize) {
|
11
11
|
return {};
|
@@ -7,7 +7,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
7
7
|
import "../_shared/utils/dom.js";
|
8
8
|
import "../_shared/utils/time.js";
|
9
9
|
import "../Empty/index.js";
|
10
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
const _hoisted_1 = ["value", "disabled", "readonly", "placeholder"];
|
13
13
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -7,7 +7,7 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
7
7
|
import useContext from "./hooks/useContext.js";
|
8
8
|
import IconButton from "../_shared/components/IconButton.vue.js";
|
9
9
|
/* empty css */
|
10
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/icons/IconTime.vue.js";
|
12
12
|
import Trigger from "../Trigger/index.js";
|
13
13
|
import TimePickerPanel from "./TimePickerPanel.vue.js";
|
@@ -7,7 +7,7 @@ import { sleep } from "../_shared/utils/fn.js";
|
|
7
7
|
import { isUndefined, isArray } from "../_shared/utils/is.js";
|
8
8
|
import "../_shared/utils/time.js";
|
9
9
|
import "../Empty/index.js";
|
10
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
11
|
import useContext from "./hooks/useContext.js";
|
12
12
|
import Button from "../Button/index.js";
|
13
13
|
import Scrollbar from "../Scrollbar/index.js";
|
@@ -4,7 +4,7 @@ import "../../_shared/utils/dom.js";
|
|
4
4
|
import { isArray } from "../../_shared/utils/is.js";
|
5
5
|
import "../../_shared/utils/time.js";
|
6
6
|
import "../../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
import useControlValue from "../../_shared/utils/control.js";
|
9
9
|
const TIME_PICKER_CONTEXT_KEY = "time-picker-context";
|
10
10
|
const useContext = () => {
|
package/es/TimePicker/type.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { PopupContainer, Size } from '../_shared/type';
|
2
2
|
import { TriggerProps } from '../Trigger';
|
3
|
+
import { VNode } from 'vue';
|
3
4
|
export interface TimePickerProps {
|
4
5
|
type?: TimePickerType;
|
5
6
|
modelValue?: TimePickerValue;
|
@@ -37,9 +38,9 @@ export interface TimePickerEmits {
|
|
37
38
|
(e: 'popup-visible-change', value: boolean): void;
|
38
39
|
}
|
39
40
|
export interface TimePickerSlots {
|
40
|
-
prefix()
|
41
|
-
|
42
|
-
extra()
|
41
|
+
prefix?: () => VNode[];
|
42
|
+
'suffix-icon'?: () => VNode[];
|
43
|
+
extra?: () => VNode[];
|
43
44
|
}
|
44
45
|
export type TimeUnit = 'hour' | 'minute' | 'second';
|
45
46
|
export type TimePickerValue = string | number | Date | (string | number | Date)[];
|
@@ -4,7 +4,7 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import { isString } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
import useContext from "./hooks/useContext.js";
|
9
9
|
import TimelineItem from "./TimelineItem.vue.js";
|
10
10
|
import Spin from "../Spin/index.js";
|
@@ -4,7 +4,7 @@ import "../../_shared/utils/dom.js";
|
|
4
4
|
import "../../_shared/utils/time.js";
|
5
5
|
import { findComponentsFromVnodes } from "../../_shared/utils/vue-utils.js";
|
6
6
|
import "../../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
import TimelineItem from "../TimelineItem.vue.js";
|
9
9
|
const TIMELINE_CONTEXT_KEY = "timeline-context";
|
10
10
|
const useContext = () => {
|
package/es/Timeline/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { Direction } from '../_shared/type';
|
2
|
+
import { VNode } from 'vue';
|
2
3
|
export interface TimelineProps {
|
3
4
|
reverse?: boolean;
|
4
5
|
direction?: Direction;
|
@@ -7,8 +8,8 @@ export interface TimelineProps {
|
|
7
8
|
labelPosition?: TimelineLabelPosition;
|
8
9
|
}
|
9
10
|
export interface TimelineSlots {
|
10
|
-
dot()
|
11
|
-
default()
|
11
|
+
dot?: () => VNode[];
|
12
|
+
default?: () => VNode[];
|
12
13
|
}
|
13
14
|
export interface TimelineItemProps {
|
14
15
|
dotColor?: string;
|
@@ -20,9 +21,9 @@ export interface TimelineItemProps {
|
|
20
21
|
isGhost?: boolean;
|
21
22
|
}
|
22
23
|
export interface TimelineItemSlots {
|
23
|
-
dot()
|
24
|
-
label()
|
25
|
-
default()
|
24
|
+
dot?: () => VNode[];
|
25
|
+
label?: () => VNode[];
|
26
|
+
default?: () => VNode[];
|
26
27
|
}
|
27
28
|
export type TimelineMode = 'left' | 'right' | 'top' | 'bottom' | 'alternate';
|
28
29
|
export type TimelineLabelPosition = 'relative' | 'same';
|
package/es/Tooltip/index.vue.js
CHANGED
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../Empty/index.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
8
|
import Trigger from "../Trigger/index.js";
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Tooltip/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CSSProperties } from 'vue';
|
1
|
+
import { CSSProperties, VNode } from 'vue';
|
2
2
|
import { ClassName, PopupContainer } from '../_shared/type';
|
3
3
|
import { TriggerPostion, TriggerProps } from '../Trigger/type';
|
4
4
|
export interface TooltipProps {
|
@@ -20,8 +20,8 @@ export interface TooltipEmits {
|
|
20
20
|
(e: 'popup-visible-change', value: boolean): void;
|
21
21
|
}
|
22
22
|
export interface TooltipSlots {
|
23
|
-
default()
|
24
|
-
content()
|
23
|
+
default?: () => VNode[];
|
24
|
+
content?: () => VNode[];
|
25
25
|
}
|
26
26
|
export interface TooltipExpose {
|
27
27
|
hide(): void;
|
@@ -4,7 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
9
9
|
import TransferPanel from "./TransferPanel.vue.js";
|
10
10
|
import Button from "../Button/index.js";
|
@@ -3,10 +3,10 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
import _sfc_main$3 from "../_shared/icons/IconClose.vue.js";
|
8
|
-
import _sfc_main$1 from "../_shared/icons/IconDelete.
|
9
|
-
import _sfc_main$2 from "../_shared/icons/IconSearch.
|
8
|
+
import _sfc_main$1 from "../_shared/icons/IconDelete.vue2.js";
|
9
|
+
import _sfc_main$2 from "../_shared/icons/IconSearch.vue2.js";
|
10
10
|
import useContext from "./hooks/useContext.js";
|
11
11
|
import Checkbox from "../Checkbox/index.js";
|
12
12
|
import Scrollbar from "../Scrollbar/index.js";
|