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
@@ -1,19 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "./_Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconDelete",
|
5
|
-
setup(__props) {
|
6
|
-
return (_ctx, _cache) => {
|
7
|
-
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
-
createElementVNode("path", { d: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconDelete.vue2.js";
|
17
2
|
export {
|
18
3
|
_sfc_main as default
|
19
4
|
};
|
@@ -1,4 +1,19 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
__name: "IconDelete",
|
5
|
+
setup(__props) {
|
6
|
+
return (_ctx, _cache) => {
|
7
|
+
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
+
createElementVNode("path", { d: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, null, -1)
|
10
|
+
])),
|
11
|
+
_: 1,
|
12
|
+
__: [0]
|
13
|
+
}, 16);
|
14
|
+
};
|
15
|
+
}
|
16
|
+
});
|
2
17
|
export {
|
3
18
|
_sfc_main as default
|
4
19
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconDragDot",
|
5
5
|
setup(__props) {
|
@@ -1,4 +1,19 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
__name: "IconEdit",
|
5
|
+
setup(__props) {
|
6
|
+
return (_ctx, _cache) => {
|
7
|
+
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
+
createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
|
10
|
+
])),
|
11
|
+
_: 1,
|
12
|
+
__: [0]
|
13
|
+
}, 16);
|
14
|
+
};
|
15
|
+
}
|
16
|
+
});
|
2
17
|
export {
|
3
18
|
_sfc_main as default
|
4
19
|
};
|
@@ -1,19 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "./_Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconEdit",
|
5
|
-
setup(__props) {
|
6
|
-
return (_ctx, _cache) => {
|
7
|
-
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
-
createElementVNode("path", { d: "m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconEdit.vue.js";
|
17
2
|
export {
|
18
3
|
_sfc_main as default
|
19
4
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconEmpty",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconError",
|
5
5
|
setup(__props) {
|
@@ -1,4 +1,30 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
__name: "IconExclamation",
|
5
|
+
setup(__props) {
|
6
|
+
return (_ctx, _cache) => {
|
7
|
+
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
+
createElementVNode("path", { d: "M23 9h2v21h-2z" }, null, -1),
|
10
|
+
createElementVNode("path", {
|
11
|
+
fill: "currentColor",
|
12
|
+
stroke: "none",
|
13
|
+
d: "M23 9h2v21h-2z"
|
14
|
+
}, null, -1),
|
15
|
+
createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
|
16
|
+
createElementVNode("path", {
|
17
|
+
fill: "currentColor",
|
18
|
+
stroke: "none",
|
19
|
+
d: "M23 37h2v2h-2z"
|
20
|
+
}, null, -1)
|
21
|
+
])),
|
22
|
+
_: 1,
|
23
|
+
__: [0]
|
24
|
+
}, 16);
|
25
|
+
};
|
26
|
+
}
|
27
|
+
});
|
2
28
|
export {
|
3
29
|
_sfc_main as default
|
4
30
|
};
|
@@ -1,30 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "./_Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconExclamation",
|
5
|
-
setup(__props) {
|
6
|
-
return (_ctx, _cache) => {
|
7
|
-
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
-
createElementVNode("path", { d: "M23 9h2v21h-2z" }, null, -1),
|
10
|
-
createElementVNode("path", {
|
11
|
-
fill: "currentColor",
|
12
|
-
stroke: "none",
|
13
|
-
d: "M23 9h2v21h-2z"
|
14
|
-
}, null, -1),
|
15
|
-
createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
|
16
|
-
createElementVNode("path", {
|
17
|
-
fill: "currentColor",
|
18
|
-
stroke: "none",
|
19
|
-
d: "M23 37h2v2h-2z"
|
20
|
-
}, null, -1)
|
21
|
-
])),
|
22
|
-
_: 1,
|
23
|
-
__: [0]
|
24
|
-
}, 16);
|
25
|
-
};
|
26
|
-
}
|
27
|
-
});
|
1
|
+
import _sfc_main from "./IconExclamation.vue.js";
|
28
2
|
export {
|
29
3
|
_sfc_main as default
|
30
4
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconEyeClose",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconEyeOpen",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconFaceSmile",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconFullScreen",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconImageClose",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconInfo",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconInfoLine",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconLink",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconLoading",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconMenuFold",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconMenuUnfold",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconMinus",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconMore",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconOriginSize",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconPlus",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconRight",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconRotateLeft",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconRotateRight",
|
5
5
|
setup(__props) {
|
@@ -1,19 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import YcIcon from "./_Icon.vue2.js";
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
-
__name: "IconSearch",
|
5
|
-
setup(__props) {
|
6
|
-
return (_ctx, _cache) => {
|
7
|
-
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
-
createElementVNode("path", { d: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, null, -1)
|
10
|
-
])),
|
11
|
-
_: 1,
|
12
|
-
__: [0]
|
13
|
-
}, 16);
|
14
|
-
};
|
15
|
-
}
|
16
|
-
});
|
1
|
+
import _sfc_main from "./IconSearch.vue2.js";
|
17
2
|
export {
|
18
3
|
_sfc_main as default
|
19
4
|
};
|
@@ -1,4 +1,19 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
__name: "IconSearch",
|
5
|
+
setup(__props) {
|
6
|
+
return (_ctx, _cache) => {
|
7
|
+
return openBlock(), createBlock(YcIcon, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
8
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
9
|
+
createElementVNode("path", { d: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, null, -1)
|
10
|
+
])),
|
11
|
+
_: 1,
|
12
|
+
__: [0]
|
13
|
+
}, 16);
|
14
|
+
};
|
15
|
+
}
|
16
|
+
});
|
2
17
|
export {
|
3
18
|
_sfc_main as default
|
4
19
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconSeparator",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconStar",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconSuccess",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconTime",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconToTop",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconWarning",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconZoomIn",
|
5
5
|
setup(__props) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
-
import YcIcon from "
|
2
|
+
import YcIcon from "../components/Icon.vue2.js";
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
4
|
__name: "IconZoomOut",
|
5
5
|
setup(__props) {
|
@@ -4,7 +4,7 @@ import "./dom.js";
|
|
4
4
|
import { isUndefined } from "./is.js";
|
5
5
|
import "./time.js";
|
6
6
|
import "../../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
const useControlValue = (modelValue, defaultValue, onSet = (data) => data, onGet = (data) => data) => {
|
9
9
|
const controlValue = ref(defaultValue);
|
10
10
|
return computed({
|
@@ -4,10 +4,10 @@ import { BreakpointName, ResponsiveValue } from '../../Grid';
|
|
4
4
|
export declare const isServerRendering: boolean;
|
5
5
|
export declare const querySelector: (selectors: string, container?: Document | HTMLElement) => HTMLElement | undefined;
|
6
6
|
export declare const getElement: (target: string | HTMLElement | undefined, container?: Document | HTMLElement) => HTMLElement | undefined;
|
7
|
-
export declare
|
8
|
-
export declare
|
7
|
+
export declare const getDomText: (dom: Ref<HTMLElement | undefined>) => string;
|
8
|
+
export declare const getBreakpointValue: (breakpoint: BreakpointName, value: string | number | ResponsiveValue, defaultValue?: number | string) => number | string | undefined;
|
9
9
|
export declare const mediaQueryHandler: (onBreakpoint: (breakpoint: BreakpointName, order: Record<string, number>, index: number) => void, queries?: Record<string, string>) => void;
|
10
|
-
export declare
|
10
|
+
export declare const findFirstScrollableParent: (element?: HTMLElement) => HTMLElement | undefined;
|
11
11
|
/**
|
12
12
|
* 计算文本是否需要省略并返回处理后的文本
|
13
13
|
* @param originElement 原始DOM元素,用于获取样式
|
@@ -16,7 +16,7 @@ export declare function findFirstScrollableParent(element?: HTMLElement): HTMLEl
|
|
16
16
|
* @param fullText 完整文本
|
17
17
|
* @returns 返回处理后的文本和是否省略的标志
|
18
18
|
*/
|
19
|
-
export declare
|
19
|
+
export declare const calculateEllipsis: (originElement: HTMLElement, ellipsisConfig: EllipsisConfig | undefined, operations: (HTMLElement | HTMLElement[] | null) | undefined, fullText: string) => {
|
20
20
|
tooltip?: {
|
21
21
|
type?: "tooltip" | "popover" | undefined;
|
22
22
|
props?: Record<string, any> | undefined;
|
package/es/_shared/utils/dom.js
CHANGED
@@ -21,10 +21,10 @@ const getElement = (target, container) => {
|
|
21
21
|
}
|
22
22
|
return target;
|
23
23
|
};
|
24
|
-
|
24
|
+
const getDomText = (dom) => {
|
25
25
|
var _a;
|
26
26
|
return ((_a = unrefElement(dom)) == null ? void 0 : _a.innerText) || "";
|
27
|
-
}
|
27
|
+
};
|
28
28
|
const getMedicaQueryQuerues = () => {
|
29
29
|
return {
|
30
30
|
xs: "(min-width: 0)",
|
@@ -35,7 +35,7 @@ const getMedicaQueryQuerues = () => {
|
|
35
35
|
xxl: "(min-width: 1600px)"
|
36
36
|
};
|
37
37
|
};
|
38
|
-
|
38
|
+
const getBreakpointValue = (breakpoint, value, defaultValue) => {
|
39
39
|
if (!isObject(value)) {
|
40
40
|
return value;
|
41
41
|
}
|
@@ -52,7 +52,7 @@ function getBreakpointValue(breakpoint, value, defaultValue) {
|
|
52
52
|
return value[bp];
|
53
53
|
}
|
54
54
|
return defaultValue;
|
55
|
-
}
|
55
|
+
};
|
56
56
|
const mediaQueryHandler = (onBreakpoint, queries = getMedicaQueryQuerues()) => {
|
57
57
|
const breakpoints = [];
|
58
58
|
const order = {};
|
@@ -73,7 +73,7 @@ const mediaQueryHandler = (onBreakpoint, queries = getMedicaQueryQuerues()) => {
|
|
73
73
|
}
|
74
74
|
);
|
75
75
|
};
|
76
|
-
|
76
|
+
const findFirstScrollableParent = (element) => {
|
77
77
|
if (!element || element === document.body) {
|
78
78
|
return;
|
79
79
|
}
|
@@ -88,7 +88,7 @@ function findFirstScrollableParent(element) {
|
|
88
88
|
}
|
89
89
|
currentElement = currentElement.parentElement;
|
90
90
|
}
|
91
|
-
}
|
91
|
+
};
|
92
92
|
export {
|
93
93
|
findFirstScrollableParent,
|
94
94
|
getBreakpointValue,
|
package/es/_shared/utils/fn.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
export declare const sleep: (ms: number) => Promise<unknown>;
|
2
|
-
export declare
|
2
|
+
export declare const throttleByRaf: (cb: (...args: any[]) => void) => {
|
3
3
|
(...args: any[]): void;
|
4
4
|
cancel(): void;
|
5
5
|
};
|
6
|
-
export declare
|
7
|
-
export declare
|
6
|
+
export declare const debounce: (func: (...args: any) => void, delay: number, immediate?: boolean) => (this: any, ...args: any) => void;
|
7
|
+
export declare const throttle: (fn: (...args: any) => void, delay: number) => (this: any, ...args: any) => void;
|
8
8
|
export declare const valueToPx: (value: string | number | undefined) => string;
|
package/es/_shared/utils/fn.js
CHANGED
@@ -6,7 +6,7 @@ const sleep = (ms) => {
|
|
6
6
|
}, ms);
|
7
7
|
});
|
8
8
|
};
|
9
|
-
|
9
|
+
const throttleByRaf = (cb) => {
|
10
10
|
let timer = 0;
|
11
11
|
const throttle2 = (...args) => {
|
12
12
|
if (timer) {
|
@@ -22,8 +22,8 @@ function throttleByRaf(cb) {
|
|
22
22
|
timer = 0;
|
23
23
|
};
|
24
24
|
return throttle2;
|
25
|
-
}
|
26
|
-
|
25
|
+
};
|
26
|
+
const debounce = (func, delay, immediate = false) => {
|
27
27
|
let timer = null;
|
28
28
|
let isInvoked = false;
|
29
29
|
return function(...args) {
|
@@ -40,8 +40,8 @@ function debounce(func, delay, immediate = false) {
|
|
40
40
|
isInvoked = false;
|
41
41
|
}, delay);
|
42
42
|
};
|
43
|
-
}
|
44
|
-
|
43
|
+
};
|
44
|
+
const throttle = (fn, delay) => {
|
45
45
|
let lastTime = 0;
|
46
46
|
let timeoutId = null;
|
47
47
|
return function(...args) {
|
@@ -62,7 +62,7 @@ function throttle(fn, delay) {
|
|
62
62
|
}, remaining);
|
63
63
|
}
|
64
64
|
};
|
65
|
-
}
|
65
|
+
};
|
66
66
|
const valueToPx = (value) => {
|
67
67
|
const numberReg = /^-?\d+(\.\d+)?$/;
|
68
68
|
if (isNumber(value) || isString(value) && numberReg.test(value)) {
|
@@ -21,8 +21,10 @@ export declare const getGlobalConfig: (props?: Props) => {
|
|
21
21
|
exchangeTime: Ref<any, any>;
|
22
22
|
renderEmpty: (name: EmptyComponent) => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
23
23
|
[key: string]: any;
|
24
|
-
}> | (() =>
|
24
|
+
}> | (() => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
25
|
+
[key: string]: any;
|
26
|
+
}>[] | undefined);
|
25
27
|
renderLoading: () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
26
28
|
[key: string]: any;
|
27
|
-
}> | (() =>
|
29
|
+
}> | (() => VNode[]);
|
28
30
|
};
|
@@ -4,7 +4,7 @@ import "./dom.js";
|
|
4
4
|
import { isUndefined, isString } from "./is.js";
|
5
5
|
import "./time.js";
|
6
6
|
import Empty from "../../Empty/index.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
import _sfc_main from "../icons/IconLoading.vue.js";
|
9
9
|
const CONFIG_PROVIDER_PROVIDE_KEY = "config-props";
|
10
10
|
const getVar = (value, _value) => {
|