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/Affix/index.vue.js
CHANGED
@@ -6,7 +6,7 @@ import { throttleByRaf, valueToPx } from "../_shared/utils/fn.js";
|
|
6
6
|
import { isUndefined } from "../_shared/utils/is.js";
|
7
7
|
import "../_shared/utils/time.js";
|
8
8
|
import "../Empty/index.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
11
|
...{
|
12
12
|
name: "Affix"
|
package/es/Affix/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { TargetContainer } from '../_shared/type';
|
2
|
+
import { VNode } from 'vue';
|
2
3
|
export interface AffixProps {
|
3
4
|
offsetTop?: number;
|
4
5
|
offsetBottom?: number;
|
@@ -9,8 +10,8 @@ export interface AffixEmits {
|
|
9
10
|
(e: 'change', fixed: boolean): void;
|
10
11
|
}
|
11
12
|
export interface AffixSlots {
|
12
|
-
default()
|
13
|
+
default?: () => VNode[];
|
13
14
|
}
|
14
15
|
export interface AffixExpose {
|
15
|
-
|
16
|
+
updatePosition(): void;
|
16
17
|
}
|
package/es/Alert/index.vue2.js
CHANGED
package/es/Alert/type.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { VNode } from 'vue';
|
1
2
|
export interface AlertProps {
|
2
3
|
type?: AlertType;
|
3
4
|
showIcon?: boolean;
|
@@ -11,10 +12,10 @@ export interface AlertEmits {
|
|
11
12
|
(e: 'after-close'): void;
|
12
13
|
}
|
13
14
|
export interface AlertSlots {
|
14
|
-
default()
|
15
|
-
icon()
|
16
|
-
title()
|
17
|
-
action()
|
18
|
-
|
15
|
+
default?: () => VNode[];
|
16
|
+
icon?: () => VNode[];
|
17
|
+
title?: () => VNode[];
|
18
|
+
action?: () => VNode[];
|
19
|
+
'close-element'?: () => VNode[];
|
19
20
|
}
|
20
21
|
export type AlertType = 'warning' | 'success' | 'info' | 'error' | 'normal';
|
package/es/Anchor/Anchor.vue2.js
CHANGED
@@ -4,7 +4,7 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import { valueToPx } from "../_shared/utils/fn.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-anchor" };
|
10
10
|
const _hoisted_2 = {
|
@@ -4,7 +4,7 @@ import { getElement } from "../_shared/utils/dom.js";
|
|
4
4
|
import { isNumber } 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 = ["href"];
|
10
10
|
const _hoisted_2 = {
|
@@ -5,7 +5,7 @@ import { isUndefined } from "../../_shared/utils/is.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 AnchorLink from "../AnchorLink.vue.js";
|
10
10
|
const ANCHOR_CONTEXT_KEY = "anchor-context";
|
11
11
|
const useContext = () => {
|
package/es/Anchor/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { TargetContainer } from '../_shared/type';
|
2
|
+
import { VNode } from 'vue';
|
2
3
|
export interface AnchorProps {
|
3
4
|
boundary?: AnchorBoundary;
|
4
5
|
lineLess?: boolean;
|
@@ -7,14 +8,14 @@ export interface AnchorProps {
|
|
7
8
|
smooth?: boolean;
|
8
9
|
}
|
9
10
|
export interface AnchorSlots {
|
10
|
-
default()
|
11
|
+
default?: () => VNode[];
|
11
12
|
}
|
12
13
|
export interface AnchorLinkProps {
|
13
14
|
title?: string;
|
14
15
|
href?: string;
|
15
16
|
}
|
16
17
|
export interface AnchorLinkSlots {
|
17
|
-
default()
|
18
|
-
sublist()
|
18
|
+
default?: () => VNode[];
|
19
|
+
sublist?: () => VNode[];
|
19
20
|
}
|
20
21
|
export type AnchorBoundary = 'start' | 'end' | 'center' | 'nearest' | number;
|
@@ -160,7 +160,70 @@ declare const AutoComplete: {
|
|
160
160
|
$attrs: {
|
161
161
|
[x: string]: unknown;
|
162
162
|
};
|
163
|
-
$refs:
|
163
|
+
$refs: {
|
164
|
+
[x: string]: unknown;
|
165
|
+
} & {
|
166
|
+
triggerRef: unknown;
|
167
|
+
popupRef: ({
|
168
|
+
$: import('vue').ComponentInternalInstance;
|
169
|
+
$data: {};
|
170
|
+
$props: {
|
171
|
+
readonly preventFocus?: boolean | undefined;
|
172
|
+
readonly tag?: string | undefined;
|
173
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
174
|
+
$attrs: {
|
175
|
+
[x: string]: unknown;
|
176
|
+
};
|
177
|
+
$refs: {
|
178
|
+
[x: string]: unknown;
|
179
|
+
};
|
180
|
+
$slots: Readonly<{
|
181
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
182
|
+
}>;
|
183
|
+
$root: import('vue').ComponentPublicInstance | null;
|
184
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
185
|
+
$host: Element | null;
|
186
|
+
$emit: (event: string, ...args: any[]) => void;
|
187
|
+
$el: any;
|
188
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
189
|
+
preventFocus?: boolean;
|
190
|
+
tag?: string;
|
191
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
192
|
+
preventFocus: boolean;
|
193
|
+
tag: string;
|
194
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
195
|
+
beforeCreate?: (() => void) | (() => void)[];
|
196
|
+
created?: (() => void) | (() => void)[];
|
197
|
+
beforeMount?: (() => void) | (() => void)[];
|
198
|
+
mounted?: (() => void) | (() => void)[];
|
199
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
200
|
+
updated?: (() => void) | (() => void)[];
|
201
|
+
activated?: (() => void) | (() => void)[];
|
202
|
+
deactivated?: (() => void) | (() => void)[];
|
203
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
204
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
205
|
+
destroyed?: (() => void) | (() => void)[];
|
206
|
+
unmounted?: (() => void) | (() => void)[];
|
207
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
208
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
209
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
210
|
+
};
|
211
|
+
$forceUpdate: () => void;
|
212
|
+
$nextTick: typeof import('vue').nextTick;
|
213
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
214
|
+
} & Readonly<{
|
215
|
+
preventFocus: boolean;
|
216
|
+
tag: string;
|
217
|
+
}> & Omit<Readonly<{
|
218
|
+
preventFocus?: boolean;
|
219
|
+
tag?: string;
|
220
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
221
|
+
$slots: {
|
222
|
+
default?(_: {}): any;
|
223
|
+
};
|
224
|
+
}) | null;
|
225
|
+
arrowRef: HTMLDivElement;
|
226
|
+
};
|
164
227
|
$slots: Readonly<{
|
165
228
|
[name: string]: import('vue').Slot<any> | undefined;
|
166
229
|
}>;
|
@@ -281,7 +344,7 @@ declare const AutoComplete: {
|
|
281
344
|
show(): void;
|
282
345
|
updatePosition(x: number, y: number): void;
|
283
346
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
284
|
-
$slots:
|
347
|
+
$slots: Readonly<import('..').TriggerSlots> & import('..').TriggerSlots;
|
285
348
|
}) | null;
|
286
349
|
inputRef: ({
|
287
350
|
$: import('vue').ComponentInternalInstance;
|
@@ -118,7 +118,70 @@ declare function __VLS_template(): {
|
|
118
118
|
$attrs: {
|
119
119
|
[x: string]: unknown;
|
120
120
|
};
|
121
|
-
$refs:
|
121
|
+
$refs: {
|
122
|
+
[x: string]: unknown;
|
123
|
+
} & {
|
124
|
+
triggerRef: unknown;
|
125
|
+
popupRef: ({
|
126
|
+
$: import('vue').ComponentInternalInstance;
|
127
|
+
$data: {};
|
128
|
+
$props: {
|
129
|
+
readonly preventFocus?: boolean | undefined;
|
130
|
+
readonly tag?: string | undefined;
|
131
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
132
|
+
$attrs: {
|
133
|
+
[x: string]: unknown;
|
134
|
+
};
|
135
|
+
$refs: {
|
136
|
+
[x: string]: unknown;
|
137
|
+
};
|
138
|
+
$slots: Readonly<{
|
139
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
140
|
+
}>;
|
141
|
+
$root: import('vue').ComponentPublicInstance | null;
|
142
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
143
|
+
$host: Element | null;
|
144
|
+
$emit: (event: string, ...args: any[]) => void;
|
145
|
+
$el: any;
|
146
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
147
|
+
preventFocus?: boolean;
|
148
|
+
tag?: string;
|
149
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
150
|
+
preventFocus: boolean;
|
151
|
+
tag: string;
|
152
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
153
|
+
beforeCreate?: (() => void) | (() => void)[];
|
154
|
+
created?: (() => void) | (() => void)[];
|
155
|
+
beforeMount?: (() => void) | (() => void)[];
|
156
|
+
mounted?: (() => void) | (() => void)[];
|
157
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
158
|
+
updated?: (() => void) | (() => void)[];
|
159
|
+
activated?: (() => void) | (() => void)[];
|
160
|
+
deactivated?: (() => void) | (() => void)[];
|
161
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
162
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
163
|
+
destroyed?: (() => void) | (() => void)[];
|
164
|
+
unmounted?: (() => void) | (() => void)[];
|
165
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
166
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
167
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
168
|
+
};
|
169
|
+
$forceUpdate: () => void;
|
170
|
+
$nextTick: typeof nextTick;
|
171
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
172
|
+
} & Readonly<{
|
173
|
+
preventFocus: boolean;
|
174
|
+
tag: string;
|
175
|
+
}> & Omit<Readonly<{
|
176
|
+
preventFocus?: boolean;
|
177
|
+
tag?: string;
|
178
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
179
|
+
$slots: {
|
180
|
+
default?(_: {}): any;
|
181
|
+
};
|
182
|
+
}) | null;
|
183
|
+
arrowRef: HTMLDivElement;
|
184
|
+
};
|
122
185
|
$slots: Readonly<{
|
123
186
|
[name: string]: import('vue').Slot<any> | undefined;
|
124
187
|
}>;
|
@@ -239,7 +302,7 @@ declare function __VLS_template(): {
|
|
239
302
|
show(): void;
|
240
303
|
updatePosition(x: number, y: number): void;
|
241
304
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
242
|
-
$slots:
|
305
|
+
$slots: Readonly<import('..').TriggerSlots> & import('..').TriggerSlots;
|
243
306
|
}) | null;
|
244
307
|
inputRef: ({
|
245
308
|
$: import('vue').ComponentInternalInstance;
|
@@ -768,7 +831,70 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
768
831
|
$attrs: {
|
769
832
|
[x: string]: unknown;
|
770
833
|
};
|
771
|
-
$refs:
|
834
|
+
$refs: {
|
835
|
+
[x: string]: unknown;
|
836
|
+
} & {
|
837
|
+
triggerRef: unknown;
|
838
|
+
popupRef: ({
|
839
|
+
$: import('vue').ComponentInternalInstance;
|
840
|
+
$data: {};
|
841
|
+
$props: {
|
842
|
+
readonly preventFocus?: boolean | undefined;
|
843
|
+
readonly tag?: string | undefined;
|
844
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
845
|
+
$attrs: {
|
846
|
+
[x: string]: unknown;
|
847
|
+
};
|
848
|
+
$refs: {
|
849
|
+
[x: string]: unknown;
|
850
|
+
};
|
851
|
+
$slots: Readonly<{
|
852
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
853
|
+
}>;
|
854
|
+
$root: import('vue').ComponentPublicInstance | null;
|
855
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
856
|
+
$host: Element | null;
|
857
|
+
$emit: (event: string, ...args: any[]) => void;
|
858
|
+
$el: any;
|
859
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
860
|
+
preventFocus?: boolean;
|
861
|
+
tag?: string;
|
862
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
863
|
+
preventFocus: boolean;
|
864
|
+
tag: string;
|
865
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
866
|
+
beforeCreate?: (() => void) | (() => void)[];
|
867
|
+
created?: (() => void) | (() => void)[];
|
868
|
+
beforeMount?: (() => void) | (() => void)[];
|
869
|
+
mounted?: (() => void) | (() => void)[];
|
870
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
871
|
+
updated?: (() => void) | (() => void)[];
|
872
|
+
activated?: (() => void) | (() => void)[];
|
873
|
+
deactivated?: (() => void) | (() => void)[];
|
874
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
875
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
876
|
+
destroyed?: (() => void) | (() => void)[];
|
877
|
+
unmounted?: (() => void) | (() => void)[];
|
878
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
879
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
880
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
881
|
+
};
|
882
|
+
$forceUpdate: () => void;
|
883
|
+
$nextTick: typeof nextTick;
|
884
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
885
|
+
} & Readonly<{
|
886
|
+
preventFocus: boolean;
|
887
|
+
tag: string;
|
888
|
+
}> & Omit<Readonly<{
|
889
|
+
preventFocus?: boolean;
|
890
|
+
tag?: string;
|
891
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
892
|
+
$slots: {
|
893
|
+
default?(_: {}): any;
|
894
|
+
};
|
895
|
+
}) | null;
|
896
|
+
arrowRef: HTMLDivElement;
|
897
|
+
};
|
772
898
|
$slots: Readonly<{
|
773
899
|
[name: string]: import('vue').Slot<any> | undefined;
|
774
900
|
}>;
|
@@ -889,7 +1015,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
889
1015
|
show(): void;
|
890
1016
|
updatePosition(x: number, y: number): void;
|
891
1017
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
892
|
-
$slots:
|
1018
|
+
$slots: Readonly<import('..').TriggerSlots> & import('..').TriggerSlots;
|
893
1019
|
}) | null;
|
894
1020
|
inputRef: ({
|
895
1021
|
$: import('vue').ComponentInternalInstance;
|
@@ -4,7 +4,7 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import { isObject } 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
|
import Select from "../Select/index.js";
|
10
10
|
import Textarea from "../Textarea/index.js";
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { SelectOptions, SelectOptionData, VirtualListProps } from '../Select';
|
2
2
|
import { PopupContainer, ObjectData } from '../_shared/type';
|
3
3
|
import { TriggerProps } from '../Trigger';
|
4
|
+
import { VNode } from 'vue';
|
4
5
|
export type AutoCompleteProps = {
|
5
6
|
modelValue?: string;
|
6
7
|
defaultValue?: string;
|
@@ -30,11 +31,11 @@ export interface AutoCompleteEmits {
|
|
30
31
|
(e: 'keydown', ev: KeyboardEvent): void;
|
31
32
|
}
|
32
33
|
export interface AutoCompleteSlots {
|
33
|
-
option(scope: {
|
34
|
+
option?: (scope: {
|
34
35
|
data: ObjectData;
|
35
|
-
})
|
36
|
-
footer()
|
37
|
-
trigger()
|
36
|
+
}) => VNode[];
|
37
|
+
footer?: () => VNode[];
|
38
|
+
trigger?: () => VNode[];
|
38
39
|
}
|
39
40
|
export interface AutoCompleteExpose {
|
40
41
|
focus(): void;
|
package/es/Avatar/Avatar.vue2.js
CHANGED
@@ -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
|
import _sfc_main$1 from "../_shared/icons/IconImageClose.vue.js";
|
10
10
|
import useContext from "./hooks/useContext.js";
|
11
11
|
const _hoisted_1 = {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./AvatarGroup.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const AvatarGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const AvatarGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9eceed96"]]);
|
5
5
|
export {
|
6
6
|
AvatarGroup as default
|
7
7
|
};
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { defineComponent,
|
1
|
+
import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, createBlock, createCommentVNode, Fragment, renderList, resolveDynamicComponent, normalizeStyle, unref, withCtx, createVNode, createTextVNode, toDisplayString } 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 useContext from "./hooks/useContext.js";
|
10
10
|
import Avatar from "./index.js";
|
11
11
|
import Popover from "../Popover/index.js";
|
@@ -29,10 +29,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
29
|
} }
|
30
30
|
},
|
31
31
|
setup(__props) {
|
32
|
+
const slots = useSlots();
|
32
33
|
const props = __props;
|
33
34
|
const { maxCount } = toRefs(props);
|
34
35
|
useContext().provide(props);
|
35
|
-
const slots = useSlots();
|
36
36
|
const nodes = computed(() => {
|
37
37
|
var _a;
|
38
38
|
const avatars = findComponentsFromVnodes(
|
package/es/Avatar/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CSSProperties } from 'vue';
|
1
|
+
import { CSSProperties, VNode } from 'vue';
|
2
2
|
import { TriggerProps } from '../Trigger';
|
3
3
|
export interface AvatarProps {
|
4
4
|
shape?: AvatarShape;
|
@@ -15,8 +15,8 @@ export interface AvatarEmits {
|
|
15
15
|
(e: 'load', ev: Event): void;
|
16
16
|
}
|
17
17
|
export interface AvatarSlots {
|
18
|
-
default()
|
19
|
-
|
18
|
+
default?: () => VNode[];
|
19
|
+
'trigger-icon'?: () => VNode[];
|
20
20
|
}
|
21
21
|
export interface AvatarGroupProps {
|
22
22
|
shape?: AvatarShape;
|
@@ -28,7 +28,7 @@ export interface AvatarGroupProps {
|
|
28
28
|
maxPopoverTriggerProps?: TriggerProps;
|
29
29
|
}
|
30
30
|
export interface AvatarGroupSlots {
|
31
|
-
default()
|
31
|
+
default?: () => VNode[];
|
32
32
|
}
|
33
33
|
export type AvatarShape = 'square' | 'round';
|
34
34
|
export type AvatarTriggerType = 'mask' | 'button';
|
package/es/BackTop/index.vue2.js
CHANGED
@@ -4,7 +4,7 @@ import { findFirstScrollableParent, getElement } from "../_shared/utils/dom.js";
|
|
4
4
|
import { isUndefined } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
import _sfc_main$1 from "../_shared/icons/IconToTop.vue.js";
|
9
9
|
import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
|
10
10
|
import { useEventListener } from "../node_modules/@vueuse/core/index.js";
|
package/es/BackTop/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { TargetContainer } from '../_shared/type';
|
2
|
+
import { VNode } from 'vue';
|
2
3
|
export interface BackTopProps {
|
3
4
|
visibleHeight?: number;
|
4
5
|
targetContainer?: TargetContainer;
|
@@ -6,5 +7,5 @@ export interface BackTopProps {
|
|
6
7
|
duration?: number;
|
7
8
|
}
|
8
9
|
export interface BackTopSlots {
|
9
|
-
default()
|
10
|
+
default?: () => VNode[];
|
10
11
|
}
|
package/es/Badge/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 _Badge = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Badge = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d3df3cf9"]]);
|
5
5
|
export {
|
6
6
|
_Badge as default
|
7
7
|
};
|
package/es/Badge/index.vue2.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
import { defineComponent,
|
1
|
+
import { defineComponent, useSlots, toRefs, computed, createElementBlock, openBlock, normalizeClass, renderSlot, createCommentVNode, createElementVNode, normalizeStyle, unref, toDisplayString, createTextVNode } 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 "../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
import { TAG_PRESET_COLORS } from "../_shared/constants/index.js";
|
9
9
|
const _hoisted_1 = {
|
10
10
|
key: 0,
|
@@ -34,9 +34,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
34
|
count: { default: void 0 }
|
35
35
|
},
|
36
36
|
setup(__props) {
|
37
|
+
const slots = useSlots();
|
37
38
|
const props = __props;
|
38
39
|
const { text, dot, count, maxCount, offset, dotStyle, status, color } = toRefs(props);
|
39
|
-
const slots = useSlots();
|
40
40
|
const style = computed(() => {
|
41
41
|
return {
|
42
42
|
margin: `${valueToPx(offset.value[1])} ${valueToPx(-offset.value[0])} 0 0`,
|
package/es/Badge/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CSSProperties } from 'vue';
|
1
|
+
import { CSSProperties, VNode } from 'vue';
|
2
2
|
export interface BadgeProps {
|
3
3
|
text?: string;
|
4
4
|
dot?: boolean;
|
@@ -10,7 +10,7 @@ export interface BadgeProps {
|
|
10
10
|
count?: number;
|
11
11
|
}
|
12
12
|
export interface BadgeSlots {
|
13
|
-
default()
|
14
|
-
content()
|
13
|
+
default?: () => VNode[];
|
14
|
+
content?: () => VNode[];
|
15
15
|
}
|
16
16
|
export type BadgeStatus = 'normal' | 'processing' | 'success' | 'warning' | 'danger';
|
@@ -5,7 +5,7 @@ import { isString } from "../_shared/utils/is.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 "./index.js";
|
10
10
|
import BreadcrumbSeparator from "./BreadcrumbSeparator.vue.js";
|
11
11
|
import _sfc_main$1 from "./BreadcrumbMore.vue.js";
|
@@ -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 Dropdown from "../Dropdown/index.js";
|
9
9
|
import Doption from "../Dropdown/Doption.vue.js";
|
10
10
|
const _hoisted_1 = { class: "yc-breadcrumb-item" };
|
@@ -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/IconMore.vue.js";
|
8
8
|
import BreadcrumbItem from "./BreadcrumbItem.vue.js";
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -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 _sfc_main$1 from "../_shared/icons/IconSeparator.vue2.js";
|
9
9
|
const _hoisted_1 = { class: "yc-breadcrumb-item-separator" };
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/es/Breadcrumb/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { DropdownProps } from '../Dropdown';
|
2
|
+
import { VNode } from 'vue';
|
2
3
|
export interface BreadcrumbProps {
|
3
4
|
maxCount?: number;
|
4
5
|
routes?: BreadcrumbRoute[];
|
@@ -6,14 +7,14 @@ export interface BreadcrumbProps {
|
|
6
7
|
customUrl?: CustomUrl;
|
7
8
|
}
|
8
9
|
export interface BreadcrumbSlots {
|
9
|
-
default()
|
10
|
-
|
10
|
+
default?: () => VNode[];
|
11
|
+
'item-render': (scope: {
|
11
12
|
route: BreadcrumbRoute;
|
12
13
|
routes: BreadcrumbRoute[];
|
13
14
|
paths: string[];
|
14
|
-
})
|
15
|
-
|
16
|
-
separator()
|
15
|
+
}) => VNode[];
|
16
|
+
'more-icon'?: () => VNode[];
|
17
|
+
separator?: () => VNode[];
|
17
18
|
}
|
18
19
|
export interface BreadcrumbItemProps {
|
19
20
|
separator?: BreadcrumbSeparator;
|
@@ -23,9 +24,9 @@ export interface BreadcrumbItemProps {
|
|
23
24
|
showSeparator?: boolean;
|
24
25
|
}
|
25
26
|
export interface BreadcrumbItemSlots {
|
26
|
-
default()
|
27
|
-
droplist()
|
28
|
-
separator()
|
27
|
+
default?: () => VNode[];
|
28
|
+
droplist?: () => VNode[];
|
29
|
+
separator?: () => VNode[];
|
29
30
|
}
|
30
31
|
export interface BreadcrumbRoute {
|
31
32
|
label?: string;
|
package/es/Button/Button.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./Button.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2327bc3e"]]);
|
5
5
|
export {
|
6
6
|
_Button as default
|
7
7
|
};
|