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/Menu/MenuItem.vue2.js
CHANGED
@@ -6,7 +6,7 @@ import { 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
|
import useContext, { isMenuItemActive, getPopupMaxHeight } from "./hooks/useContext.js";
|
11
11
|
import _sfc_main$1 from "./MenuPopOption.vue.js";
|
12
12
|
import Dropdown from "../Dropdown/index.js";
|
@@ -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-menu-group" };
|
10
10
|
const _hoisted_2 = { class: "yc-menu-group-title text-ellipsis" };
|
package/es/Menu/SubMenu.vue2.js
CHANGED
@@ -5,7 +5,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../Empty/index.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
import ExpandTransition from "../_shared/components/ExpandTransition.vue2.js";
|
11
11
|
import "./index.js";
|
@@ -5,7 +5,7 @@ import { throttle, valueToPx } from "../../_shared/utils/fn.js";
|
|
5
5
|
import { isUndefined, isBoolean, isNumber, isObject, isFunction } 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
|
import "../index.js";
|
11
11
|
import { nanoid } from "../../node_modules/nanoid/index.browser.js";
|
package/es/Menu/type.d.ts
CHANGED
@@ -2,6 +2,7 @@ import { BreakpointName } from '../Grid';
|
|
2
2
|
import { TooltipProps } from '../Tooltip';
|
3
3
|
import { TriggerProps } from '../Trigger';
|
4
4
|
import { Theme } from '../_shared/type';
|
5
|
+
import { VNode } from 'vue';
|
5
6
|
export interface MenuProps {
|
6
7
|
theme?: Theme;
|
7
8
|
mode?: MenuMode;
|
@@ -33,7 +34,7 @@ export interface MenuEmits {
|
|
33
34
|
(e: 'sub-menu-click', key: string, openKeys: string[]): void;
|
34
35
|
}
|
35
36
|
export interface MenuSlots {
|
36
|
-
default()
|
37
|
+
default?: () => VNode[];
|
37
38
|
}
|
38
39
|
export interface SubMenuProps {
|
39
40
|
path?: string;
|
@@ -43,26 +44,26 @@ export interface SubMenuProps {
|
|
43
44
|
popupMaxHeight?: PopupMaxHeight;
|
44
45
|
}
|
45
46
|
export interface SubMenuSlots {
|
46
|
-
default()
|
47
|
-
title()
|
48
|
-
icon()
|
49
|
-
|
47
|
+
default?: () => VNode[];
|
48
|
+
title?: () => VNode[];
|
49
|
+
icon?: () => VNode[];
|
50
|
+
'expand-icon-down'?: () => VNode[];
|
50
51
|
}
|
51
52
|
export interface MenuItemProps {
|
52
53
|
path?: string;
|
53
54
|
disabled?: boolean;
|
54
55
|
}
|
55
56
|
export interface MenuItemSlots {
|
56
|
-
default()
|
57
|
-
icon()
|
58
|
-
suffix()
|
57
|
+
default?: () => VNode[];
|
58
|
+
icon?: () => VNode[];
|
59
|
+
suffix?: () => VNode[];
|
59
60
|
}
|
60
61
|
export interface MenuItemGroupProps {
|
61
62
|
title?: string;
|
62
63
|
}
|
63
64
|
export interface MenuItemGroupSlots {
|
64
|
-
default()
|
65
|
-
title()
|
65
|
+
default?: () => VNode[];
|
66
|
+
title?: () => VNode[];
|
66
67
|
}
|
67
68
|
export type MenuMode = 'vertical' | 'horizontal';
|
68
69
|
export type PopupMaxHeight = boolean | number;
|
@@ -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 { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
9
9
|
import IconButton from "../_shared/components/IconButton.vue.js";
|
10
10
|
/* empty css */
|
package/es/Message/index.js
CHANGED
@@ -6,7 +6,7 @@ import "../_shared/utils/dom.js";
|
|
6
6
|
import { isString } 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 container = /* @__PURE__ */ new Map();
|
11
11
|
const messageList = reactive({
|
12
12
|
top: [],
|
package/es/Message/type.d.ts
CHANGED
@@ -19,7 +19,7 @@ export interface MessageContainerProps {
|
|
19
19
|
}
|
20
20
|
export type MessageConfig = Omit<MessageProps, 'type' | 'onDestory'> & MessageContainerProps;
|
21
21
|
export type MessageReturn = {
|
22
|
-
close()
|
22
|
+
close?: () => void;
|
23
23
|
};
|
24
24
|
export type MessageMethod = {
|
25
25
|
info: (config: string | MessageConfig) => MessageReturn;
|
package/es/Modal/Modal.vue2.js
CHANGED
@@ -9,6 +9,7 @@ import useModalDraggable from "./hooks/useModalDraggable.js";
|
|
9
9
|
import Button from "../Button/index.js";
|
10
10
|
import IconButton from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
|
+
/* empty css */
|
12
13
|
const _hoisted_1 = {
|
13
14
|
key: 0,
|
14
15
|
class: "yc-modal-footer"
|
@@ -4,7 +4,7 @@ import "../_shared/utils/dom.js";
|
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
6
6
|
import "../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
9
9
|
import _Modal from "./Modal.vue.js";
|
10
10
|
const _hoisted_1 = {
|
@@ -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 useControlValue from "../../_shared/utils/control.js";
|
9
9
|
import useOnBeforeClose from "./useOnBeforeClose.js";
|
10
10
|
const useModalClose = (params) => {
|
@@ -5,7 +5,7 @@ import "../../_shared/utils/dom.js";
|
|
5
5
|
import { valueToPx, 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 useModalDraggable = (params) => {
|
10
10
|
const {
|
11
11
|
visible,
|
@@ -4,7 +4,7 @@ import { isBoolean } from "../../_shared/utils/is.js";
|
|
4
4
|
import "../../_shared/utils/time.js";
|
5
5
|
import "vue";
|
6
6
|
import "../../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
const useOnBeforeClose = async (type, asyncLoading, onBeforeOk, onBeforeCancel) => {
|
9
9
|
const handleBeforeOk = () => {
|
10
10
|
return new Promise(async (resolve) => {
|
package/es/Modal/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CSSProperties } from 'vue';
|
1
|
+
import { CSSProperties, VNode } from 'vue';
|
2
2
|
import { ButtonProps } from '../Button';
|
3
3
|
import { RenderContent, PopupContainer, ClassName } from '../_shared/type';
|
4
4
|
import { ModuleStatus } from 'vm';
|
@@ -48,10 +48,10 @@ export interface ModalEmits {
|
|
48
48
|
(e: 'before-close'): void;
|
49
49
|
}
|
50
50
|
export interface ModalSlots {
|
51
|
-
default()
|
52
|
-
header()
|
53
|
-
footer()
|
54
|
-
title()
|
51
|
+
default?: () => VNode[];
|
52
|
+
header?: () => VNode[];
|
53
|
+
footer?: () => VNode[];
|
54
|
+
title?: () => VNode[];
|
55
55
|
}
|
56
56
|
export type ModalConfig = Omit<ModalProps, 'visible' | 'defaultVisible'> & {
|
57
57
|
title?: RenderContent;
|
@@ -6,7 +6,7 @@ import { isUndefined, isFunction } 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
|
import IconButton from "../_shared/components/IconButton.vue.js";
|
11
11
|
/* empty css */
|
12
12
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
package/es/Notification/index.js
CHANGED
@@ -6,7 +6,7 @@ import "../_shared/utils/dom.js";
|
|
6
6
|
import { isString } 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 container = /* @__PURE__ */ new Map();
|
11
11
|
const notificationList = reactive({
|
12
12
|
topLeft: [],
|
@@ -24,7 +24,7 @@ export interface NotificationContainerProps {
|
|
24
24
|
}
|
25
25
|
export type NotificationConfig = Omit<NotificationProps, 'type' | 'onDestory'> & NotificationContainerProps;
|
26
26
|
export type NotificationReturn = {
|
27
|
-
close()
|
27
|
+
close?: () => void;
|
28
28
|
};
|
29
29
|
export type NotificationMethods = {
|
30
30
|
info: (config: string | NotificationConfig) => NotificationReturn;
|
@@ -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 _OverflowList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _OverflowList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bf5ac246"]]);
|
5
5
|
export {
|
6
6
|
_OverflowList as default
|
7
7
|
};
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { defineComponent, toRefs, ref,
|
1
|
+
import { defineComponent, useSlots, toRefs, ref, computed, watch, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, Fragment, renderList, createBlock, resolveDynamicComponent, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import { throttle, sleep, 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 { unrefElement, useResizeObserver } from "../node_modules/@vueuse/core/index.js";
|
10
10
|
import Tag from "../Tag/index.js";
|
11
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -20,12 +20,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
20
|
},
|
21
21
|
emits: ["change"],
|
22
22
|
setup(__props, { emit: __emit }) {
|
23
|
+
const slots = useSlots();
|
23
24
|
const props = __props;
|
24
25
|
const emits = __emit;
|
25
26
|
const { min, margin, from } = toRefs(props);
|
26
27
|
const max = ref(1e4);
|
27
28
|
const widths = ref([]);
|
28
|
-
const slots = useSlots();
|
29
29
|
const tags = computed(() => {
|
30
30
|
var _a;
|
31
31
|
return findComponentsFromVnodes(
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { VNode } from 'vue';
|
1
2
|
export interface OverflowListProps {
|
2
3
|
min?: number;
|
3
4
|
margin?: number;
|
@@ -7,7 +8,7 @@ export interface OverflowListEmits {
|
|
7
8
|
(e: 'change', value: number): void;
|
8
9
|
}
|
9
10
|
export interface OverflowListSlots {
|
10
|
-
default()
|
11
|
-
overflow()
|
11
|
+
default?: () => VNode[];
|
12
|
+
overflow?: () => VNode[];
|
12
13
|
}
|
13
14
|
export type OverflowListFrom = 'start' | 'end';
|
@@ -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/IconArrowRight.vue.js";
|
8
8
|
import Divider from "../Divider/index.js";
|
9
9
|
import IconButton from "../_shared/components/IconButton.vue.js";
|
package/es/PageHeader/type.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { VNode } from 'vue';
|
1
2
|
export interface PageHeaderProp {
|
2
3
|
title?: string;
|
3
4
|
subtitle?: string;
|
@@ -7,10 +8,10 @@ export interface PageHeaderEmits {
|
|
7
8
|
(e: 'back', ev: Event): void;
|
8
9
|
}
|
9
10
|
export interface PageHeaderSlots {
|
10
|
-
default()
|
11
|
-
breadcrumb()
|
12
|
-
|
13
|
-
title()
|
14
|
-
subtitle()
|
15
|
-
extra()
|
11
|
+
default?: () => VNode[];
|
12
|
+
breadcrumb?: () => VNode[];
|
13
|
+
'back-icon': VNode[];
|
14
|
+
title?: () => VNode[];
|
15
|
+
subtitle?: () => VNode[];
|
16
|
+
extra?: () => VNode[];
|
16
17
|
}
|
@@ -5,7 +5,7 @@ import { sleep } from "../_shared/utils/fn.js";
|
|
5
5
|
import { isNumber } 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
|
import PaginationItem from "./PaginationItem.vue.js";
|
11
11
|
import Select from "../Select/index.js";
|
@@ -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/IconArrowRight.vue.js";
|
8
8
|
import _sfc_main$2 from "../_shared/icons/IconMore.vue.js";
|
9
9
|
import useContext from "./hooks/useContext.js";
|
package/es/Pagination/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CSSProperties } from 'vue';
|
1
|
+
import { CSSProperties, VNode } from 'vue';
|
2
2
|
import { Size } from '../_shared/type';
|
3
3
|
import { SelectProps } from '../Select';
|
4
4
|
export interface PaginationProps {
|
@@ -30,14 +30,14 @@ export interface PaginationEmits {
|
|
30
30
|
(e: 'page-size-change', pageSize: number): void;
|
31
31
|
}
|
32
32
|
export interface PaginationSlots {
|
33
|
-
total(scope: {
|
33
|
+
total?: (scope: {
|
34
34
|
total: number;
|
35
|
-
})
|
36
|
-
['page-item-ellipsis']()
|
37
|
-
['page-item-step'](scope: {
|
35
|
+
}) => VNode[];
|
36
|
+
['page-item-ellipsis']?: () => VNode[];
|
37
|
+
['page-item-step']?: (scope: {
|
38
38
|
type: 'previous' | 'next';
|
39
|
-
})
|
40
|
-
['page-item'](scope: {
|
39
|
+
}) => VNode[];
|
40
|
+
['page-item']?: (scope: {
|
41
41
|
page: number;
|
42
|
-
})
|
42
|
+
}) => VNode[];
|
43
43
|
}
|
package/es/Popconfirm/index.d.ts
CHANGED
@@ -88,7 +88,70 @@ declare const Popconfirm: {
|
|
88
88
|
$attrs: {
|
89
89
|
[x: string]: unknown;
|
90
90
|
};
|
91
|
-
$refs:
|
91
|
+
$refs: {
|
92
|
+
[x: string]: unknown;
|
93
|
+
} & {
|
94
|
+
triggerRef: unknown;
|
95
|
+
popupRef: ({
|
96
|
+
$: import('vue').ComponentInternalInstance;
|
97
|
+
$data: {};
|
98
|
+
$props: {
|
99
|
+
readonly preventFocus?: boolean | undefined;
|
100
|
+
readonly tag?: string | undefined;
|
101
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
102
|
+
$attrs: {
|
103
|
+
[x: string]: unknown;
|
104
|
+
};
|
105
|
+
$refs: {
|
106
|
+
[x: string]: unknown;
|
107
|
+
};
|
108
|
+
$slots: Readonly<{
|
109
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
110
|
+
}>;
|
111
|
+
$root: import('vue').ComponentPublicInstance | null;
|
112
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
113
|
+
$host: Element | null;
|
114
|
+
$emit: (event: string, ...args: any[]) => void;
|
115
|
+
$el: any;
|
116
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
117
|
+
preventFocus?: boolean;
|
118
|
+
tag?: string;
|
119
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
120
|
+
preventFocus: boolean;
|
121
|
+
tag: string;
|
122
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
123
|
+
beforeCreate?: (() => void) | (() => void)[];
|
124
|
+
created?: (() => void) | (() => void)[];
|
125
|
+
beforeMount?: (() => void) | (() => void)[];
|
126
|
+
mounted?: (() => void) | (() => void)[];
|
127
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
128
|
+
updated?: (() => void) | (() => void)[];
|
129
|
+
activated?: (() => void) | (() => void)[];
|
130
|
+
deactivated?: (() => void) | (() => void)[];
|
131
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
132
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
133
|
+
destroyed?: (() => void) | (() => void)[];
|
134
|
+
unmounted?: (() => void) | (() => void)[];
|
135
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
136
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
137
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
138
|
+
};
|
139
|
+
$forceUpdate: () => void;
|
140
|
+
$nextTick: typeof import('vue').nextTick;
|
141
|
+
$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;
|
142
|
+
} & Readonly<{
|
143
|
+
preventFocus: boolean;
|
144
|
+
tag: string;
|
145
|
+
}> & Omit<Readonly<{
|
146
|
+
preventFocus?: boolean;
|
147
|
+
tag?: string;
|
148
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
149
|
+
$slots: {
|
150
|
+
default?(_: {}): any;
|
151
|
+
};
|
152
|
+
}) | null;
|
153
|
+
arrowRef: HTMLDivElement;
|
154
|
+
};
|
92
155
|
$slots: Readonly<{
|
93
156
|
[name: string]: import('vue').Slot<any> | undefined;
|
94
157
|
}>;
|
@@ -209,7 +272,7 @@ declare const Popconfirm: {
|
|
209
272
|
show(): void;
|
210
273
|
updatePosition(x: number, y: number): void;
|
211
274
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
212
|
-
$slots:
|
275
|
+
$slots: Readonly<import('..').TriggerSlots> & import('..').TriggerSlots;
|
213
276
|
}) | null;
|
214
277
|
}, any, import('vue').ComponentProvideOptions, {
|
215
278
|
P: {};
|
@@ -55,7 +55,70 @@ declare function __VLS_template(): {
|
|
55
55
|
$attrs: {
|
56
56
|
[x: string]: unknown;
|
57
57
|
};
|
58
|
-
$refs:
|
58
|
+
$refs: {
|
59
|
+
[x: string]: unknown;
|
60
|
+
} & {
|
61
|
+
triggerRef: unknown;
|
62
|
+
popupRef: ({
|
63
|
+
$: import('vue').ComponentInternalInstance;
|
64
|
+
$data: {};
|
65
|
+
$props: {
|
66
|
+
readonly preventFocus?: boolean | undefined;
|
67
|
+
readonly tag?: string | undefined;
|
68
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
69
|
+
$attrs: {
|
70
|
+
[x: string]: unknown;
|
71
|
+
};
|
72
|
+
$refs: {
|
73
|
+
[x: string]: unknown;
|
74
|
+
};
|
75
|
+
$slots: Readonly<{
|
76
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
77
|
+
}>;
|
78
|
+
$root: import('vue').ComponentPublicInstance | null;
|
79
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
80
|
+
$host: Element | null;
|
81
|
+
$emit: (event: string, ...args: any[]) => void;
|
82
|
+
$el: any;
|
83
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
84
|
+
preventFocus?: boolean;
|
85
|
+
tag?: string;
|
86
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
87
|
+
preventFocus: boolean;
|
88
|
+
tag: string;
|
89
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
90
|
+
beforeCreate?: (() => void) | (() => void)[];
|
91
|
+
created?: (() => void) | (() => void)[];
|
92
|
+
beforeMount?: (() => void) | (() => void)[];
|
93
|
+
mounted?: (() => void) | (() => void)[];
|
94
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
95
|
+
updated?: (() => void) | (() => void)[];
|
96
|
+
activated?: (() => void) | (() => void)[];
|
97
|
+
deactivated?: (() => void) | (() => void)[];
|
98
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
99
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
100
|
+
destroyed?: (() => void) | (() => void)[];
|
101
|
+
unmounted?: (() => void) | (() => void)[];
|
102
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
103
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
104
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
105
|
+
};
|
106
|
+
$forceUpdate: () => void;
|
107
|
+
$nextTick: typeof import('vue').nextTick;
|
108
|
+
$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;
|
109
|
+
} & Readonly<{
|
110
|
+
preventFocus: boolean;
|
111
|
+
tag: string;
|
112
|
+
}> & Omit<Readonly<{
|
113
|
+
preventFocus?: boolean;
|
114
|
+
tag?: string;
|
115
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
116
|
+
$slots: {
|
117
|
+
default?(_: {}): any;
|
118
|
+
};
|
119
|
+
}) | null;
|
120
|
+
arrowRef: HTMLDivElement;
|
121
|
+
};
|
59
122
|
$slots: Readonly<{
|
60
123
|
[name: string]: import('vue').Slot<any> | undefined;
|
61
124
|
}>;
|
@@ -176,7 +239,7 @@ declare function __VLS_template(): {
|
|
176
239
|
show(): void;
|
177
240
|
updatePosition(x: number, y: number): void;
|
178
241
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
179
|
-
$slots:
|
242
|
+
$slots: Readonly<import('../Trigger').TriggerSlots> & import('../Trigger').TriggerSlots;
|
180
243
|
}) | null;
|
181
244
|
};
|
182
245
|
rootEl: any;
|
@@ -267,7 +330,70 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
267
330
|
$attrs: {
|
268
331
|
[x: string]: unknown;
|
269
332
|
};
|
270
|
-
$refs:
|
333
|
+
$refs: {
|
334
|
+
[x: string]: unknown;
|
335
|
+
} & {
|
336
|
+
triggerRef: unknown;
|
337
|
+
popupRef: ({
|
338
|
+
$: import('vue').ComponentInternalInstance;
|
339
|
+
$data: {};
|
340
|
+
$props: {
|
341
|
+
readonly preventFocus?: boolean | undefined;
|
342
|
+
readonly tag?: string | undefined;
|
343
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
344
|
+
$attrs: {
|
345
|
+
[x: string]: unknown;
|
346
|
+
};
|
347
|
+
$refs: {
|
348
|
+
[x: string]: unknown;
|
349
|
+
};
|
350
|
+
$slots: Readonly<{
|
351
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
352
|
+
}>;
|
353
|
+
$root: import('vue').ComponentPublicInstance | null;
|
354
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
355
|
+
$host: Element | null;
|
356
|
+
$emit: (event: string, ...args: any[]) => void;
|
357
|
+
$el: any;
|
358
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
359
|
+
preventFocus?: boolean;
|
360
|
+
tag?: string;
|
361
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
362
|
+
preventFocus: boolean;
|
363
|
+
tag: string;
|
364
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
365
|
+
beforeCreate?: (() => void) | (() => void)[];
|
366
|
+
created?: (() => void) | (() => void)[];
|
367
|
+
beforeMount?: (() => void) | (() => void)[];
|
368
|
+
mounted?: (() => void) | (() => void)[];
|
369
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
370
|
+
updated?: (() => void) | (() => void)[];
|
371
|
+
activated?: (() => void) | (() => void)[];
|
372
|
+
deactivated?: (() => void) | (() => void)[];
|
373
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
374
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
375
|
+
destroyed?: (() => void) | (() => void)[];
|
376
|
+
unmounted?: (() => void) | (() => void)[];
|
377
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
378
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
379
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
380
|
+
};
|
381
|
+
$forceUpdate: () => void;
|
382
|
+
$nextTick: typeof import('vue').nextTick;
|
383
|
+
$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;
|
384
|
+
} & Readonly<{
|
385
|
+
preventFocus: boolean;
|
386
|
+
tag: string;
|
387
|
+
}> & Omit<Readonly<{
|
388
|
+
preventFocus?: boolean;
|
389
|
+
tag?: string;
|
390
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
391
|
+
$slots: {
|
392
|
+
default?(_: {}): any;
|
393
|
+
};
|
394
|
+
}) | null;
|
395
|
+
arrowRef: HTMLDivElement;
|
396
|
+
};
|
271
397
|
$slots: Readonly<{
|
272
398
|
[name: string]: import('vue').Slot<any> | undefined;
|
273
399
|
}>;
|
@@ -388,7 +514,7 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
388
514
|
show(): void;
|
389
515
|
updatePosition(x: number, y: number): void;
|
390
516
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
391
|
-
$slots:
|
517
|
+
$slots: Readonly<import('../Trigger').TriggerSlots> & import('../Trigger').TriggerSlots;
|
392
518
|
}) | null;
|
393
519
|
}, any>;
|
394
520
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
@@ -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 useControlValue from "../_shared/utils/control.js";
|
9
9
|
import useOnBeforeClose from "../Modal/hooks/useOnBeforeClose.js";
|
10
10
|
import Trigger from "../Trigger/index.js";
|
package/es/Popconfirm/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 { OnBeforeCancel, OnBeforeOk } from '../Modal';
|
4
4
|
import { TriggerPostion, TriggerProps } from '../Trigger';
|
@@ -30,9 +30,9 @@ export interface PopconfirmEmits {
|
|
30
30
|
(e: 'cancel'): void;
|
31
31
|
}
|
32
32
|
export interface PopconfirmSlots {
|
33
|
-
default()
|
34
|
-
content()
|
35
|
-
icon()
|
33
|
+
default?: () => VNode[];
|
34
|
+
content?: () => VNode[];
|
35
|
+
icon?: () => VNode[];
|
36
36
|
}
|
37
37
|
export type PopconfirmType = 'info' | 'success' | 'warning' | 'error';
|
38
38
|
export interface PopconfirmExpose {
|