yc-design-vue 2.0.2 → 2.0.3
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/type.d.ts +1 -1
- package/es/Alert/index.vue.js +2 -2
- package/es/Alert/type.d.ts +1 -1
- package/es/Anchor/hooks/useContext.d.ts +2 -2
- package/es/Anchor/type.d.ts +1 -1
- package/es/AutoComplete/index.d.ts +27 -27
- package/es/AutoComplete/index.vue.d.ts +49 -49
- package/es/AutoComplete/type.d.ts +6 -8
- package/es/Avatar/Avatar.vue.d.ts +1 -1
- package/es/Avatar/Avatar.vue.js +1 -1
- package/es/Avatar/hooks/useContext.d.ts +3 -3
- package/es/Avatar/index.d.ts +3 -3
- package/es/Avatar/type.d.ts +2 -2
- package/es/BackTop/index.vue.js +1 -1
- package/es/BackTop/type.d.ts +1 -1
- package/es/Badge/type.d.ts +1 -1
- package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +2 -2
- package/es/Breadcrumb/type.d.ts +1 -1
- package/es/Button/Button.vue.d.ts +1 -1
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/hooks/useContext.d.ts +5 -5
- package/es/Button/index.d.ts +6 -6
- package/es/Button/type.d.ts +4 -5
- package/es/Calendar/Calendar.vue.js +2 -2
- package/es/Card/type.d.ts +2 -1
- package/es/Carousel/Carousel.vue.d.ts +3 -3
- package/es/Carousel/CarouselArrow.vue.js +1 -1
- package/es/Carousel/CarouselIndicator.vue.d.ts +3 -3
- package/es/Carousel/hooks/useContext.d.ts +3 -3
- package/es/Carousel/index.d.ts +9 -9
- package/es/Carousel/type.d.ts +2 -3
- package/es/Cascader/Cascader.vue.d.ts +13 -25
- package/es/Cascader/Cascader.vue.js +1 -1
- package/es/Cascader/CascaderIcon.vue.js +2 -2
- package/es/Cascader/CascaderOption.vue.js +1 -1
- package/es/Cascader/hooks/useContext.d.ts +5 -17
- package/es/Cascader/index.d.ts +17 -29
- package/es/Cascader/type.d.ts +5 -7
- package/es/Checkbox/Checkbox.vue.js +2 -2
- package/es/Checkbox/hooks/useContext.d.ts +3 -3
- package/es/Checkbox/type.d.ts +3 -3
- package/es/Collapse/CollapseItem.vue.js +2 -2
- package/es/Collapse/hooks/useContext.d.ts +5 -5
- package/es/Collapse/type.d.ts +2 -2
- package/es/ColorPicker/hooks/useContext.d.ts +2 -2
- package/es/ConfigProvider/index.d.ts +3 -3
- package/es/ConfigProvider/index.vue.d.ts +1 -1
- package/es/ConfigProvider/type.d.ts +2 -3
- package/es/Descriptions/hooks/useContext.d.ts +2 -2
- package/es/Descriptions/type.d.ts +1 -2
- package/es/Drawer/Drawer.vue.js +2 -2
- package/es/Drawer/DrawerService.vue.d.ts +1 -1
- package/es/Dropdown/Doption.vue.js +1 -1
- package/es/Dropdown/Dropdown.vue.d.ts +1 -1
- package/es/Dropdown/Dropdown.vue.js +1 -1
- package/es/Dropdown/DropdownButton.vue.js +1 -1
- package/es/Dropdown/Dsubmenu.vue.d.ts +20 -20
- package/es/Dropdown/Dsubmenu.vue.js +2 -2
- package/es/Dropdown/hooks/useContext.d.ts +2 -2
- package/es/Dropdown/index.d.ts +18 -18
- package/es/Dropdown/type.d.ts +5 -6
- package/es/Empty/index.vue.js +1 -1
- package/es/Grid/Grid.vue.d.ts +3 -3
- package/es/Grid/GridCol.vue.d.ts +2 -2
- package/es/Grid/GridItem.vue.d.ts +2 -2
- package/es/Grid/GridRow.vue.d.ts +1 -1
- package/es/Grid/hooks/useContext.d.ts +4 -4
- package/es/Grid/index.d.ts +24 -24
- package/es/Grid/type.d.ts +4 -12
- package/es/Image/Image.vue.d.ts +1 -1
- package/es/Image/Image.vue.js +1 -1
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/ImagePreviewArrow.vue.js +1 -1
- package/es/Image/ImagePreviewToolbar.vue.js +1 -1
- package/es/Image/hooks/useContext.d.ts +2 -2
- package/es/Image/index.d.ts +3 -3
- package/es/Image/type.d.ts +2 -3
- package/es/Input/Input.vue.d.ts +1 -1
- package/es/Input/Input.vue.js +2 -2
- package/es/Input/InputSuffix.vue.js +2 -2
- package/es/Input/hooks/useLimitedInput.d.ts +3 -3
- package/es/Input/index.d.ts +3 -3
- package/es/Input/type.d.ts +2 -2
- package/es/InputNumber/InputNumber.vue.d.ts +7 -7
- package/es/InputNumber/InputOperaBtn.vue.js +1 -1
- package/es/InputNumber/index.d.ts +6 -6
- package/es/InputNumber/type.d.ts +3 -4
- package/es/InputTag/index.vue.js +2 -2
- package/es/InputTag/type.d.ts +5 -6
- package/es/Layout/LayoutSider.vue.d.ts +7 -7
- package/es/Layout/LayoutSider.vue.js +1 -1
- package/es/Layout/hooks/useSiderContext.d.ts +2 -2
- package/es/Layout/index.d.ts +19 -19
- package/es/Layout/type.d.ts +4 -5
- package/es/Link/index.vue.js +1 -1
- package/es/Link/type.d.ts +1 -1
- package/es/List/List.vue.d.ts +15 -15
- package/es/List/ListVirtual.vue.d.ts +3 -3
- package/es/List/index.d.ts +10 -10
- package/es/List/type.d.ts +3 -3
- package/es/Mention/index.d.ts +35 -35
- package/es/Mention/index.vue.d.ts +46 -46
- package/es/Mention/type.d.ts +6 -5
- package/es/Menu/Menu.vue.d.ts +6 -6
- package/es/Menu/Menu.vue.js +1 -1
- package/es/Menu/MenuEllipsis.vue.js +1 -1
- package/es/Menu/SubMenu.vue.d.ts +1 -1
- package/es/Menu/SubMenu.vue.js +1 -1
- package/es/Menu/hooks/useContext.d.ts +5 -5
- package/es/Menu/index.d.ts +20 -20
- package/es/Menu/type.d.ts +3 -6
- package/es/Message/Message.vue.d.ts +1 -1
- package/es/Message/Message.vue.js +2 -2
- package/es/Message/index.d.ts +3 -3
- package/es/Message/type.d.ts +5 -5
- package/es/Modal/Modal.vue.d.ts +2 -2
- package/es/Modal/Modal.vue.js +2 -2
- package/es/Modal/ModalService.vue.d.ts +4 -4
- package/es/Modal/index.d.ts +6 -6
- package/es/Modal/index.js +1 -1
- package/es/Modal/type.d.ts +8 -8
- package/es/Notification/Notification.vue.d.ts +3 -3
- package/es/Notification/Notification.vue.js +2 -2
- package/es/Notification/index.d.ts +9 -9
- package/es/Notification/type.d.ts +4 -4
- package/es/PageHeader/index.vue.js +2 -2
- package/es/Pagination/PaginationItem.vue.js +1 -1
- package/es/Pagination/hooks/useContext.d.ts +2 -2
- package/es/Popconfirm/index.d.ts +18 -18
- package/es/Popconfirm/index.vue.d.ts +21 -21
- package/es/Popconfirm/type.d.ts +4 -4
- package/es/Popover/index.d.ts +9 -9
- package/es/Popover/index.vue.d.ts +3 -3
- package/es/Popover/type.d.ts +3 -3
- package/es/Progress/ProgressCircle.vue.js +1 -1
- package/es/Progress/type.d.ts +1 -1
- package/es/Radio/Radio.vue.js +2 -2
- package/es/Radio/hooks/useContext.d.ts +3 -3
- package/es/Radio/type.d.ts +2 -2
- package/es/Rate/index.vue.js +1 -1
- package/es/ResizeBox/index.vue.js +1 -1
- package/es/Result/type.d.ts +1 -1
- package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/es/Scrollbar/index.d.ts +3 -3
- package/es/Select/Option.vue.d.ts +1 -1
- package/es/Select/Option.vue.js +1 -1
- package/es/Select/Select.vue.d.ts +27 -27
- package/es/Select/Select.vue.js +2 -2
- package/es/Select/SelectIcon.vue.js +2 -2
- package/es/Select/SelectRealList.vue.js +1 -1
- package/es/Select/hooks/useContext.d.ts +13 -13
- package/es/Select/hooks/useSelectOptions.d.ts +13 -13
- package/es/Select/index.d.ts +26 -26
- package/es/Select/type.d.ts +13 -16
- package/es/Skeleton/type.d.ts +3 -2
- package/es/Slider/Slider.vue.d.ts +1 -1
- package/es/Slider/SliderTicks.vue.d.ts +2 -2
- package/es/Slider/hooks/useContext.d.ts +4 -4
- package/es/Slider/index.d.ts +3 -3
- package/es/Slider/type.d.ts +2 -3
- package/es/Space/index.d.ts +3 -3
- package/es/Space/index.vue.d.ts +1 -1
- package/es/Spin/index.vue.js +1 -1
- package/es/Split/index.vue.js +1 -1
- package/es/Steps/Step.vue.js +1 -1
- package/es/Steps/hooks/useContext.d.ts +3 -3
- package/es/Switch/type.d.ts +2 -1
- package/es/Tabs/TabButton.vue.js +2 -2
- package/es/Tabs/Tabs.vue.d.ts +1 -1
- package/es/Tabs/Tabs.vue.js +1 -1
- package/es/Tabs/TabsNavInk.vue.d.ts +2 -2
- package/es/Tabs/hooks/useContext.d.ts +5 -5
- package/es/Tabs/hooks/useTabsScroll.d.ts +2 -2
- package/es/Tabs/index.d.ts +3 -3
- package/es/Tabs/type.d.ts +2 -3
- package/es/Tag/index.vue.js +2 -2
- package/es/Tag/type.d.ts +2 -1
- package/es/Textarea/index.vue.js +2 -2
- package/es/TimePicker/TimePicker.vue.js +2 -2
- package/es/TimePicker/hooks/useContext.d.ts +2 -2
- package/es/TimePicker/type.d.ts +1 -1
- package/es/Timeline/hooks/useContext.d.ts +4 -4
- package/es/Tooltip/index.d.ts +9 -9
- package/es/Tooltip/index.vue.d.ts +3 -3
- package/es/Tooltip/type.d.ts +3 -3
- package/es/Transfer/Transfer.vue.js +1 -1
- package/es/Transfer/TransferPanel.vue.js +2 -2
- package/es/Transfer/hooks/useContext.d.ts +2 -2
- package/es/Trigger/hooks/useContext.d.ts +2 -2
- package/es/Trigger/hooks/useTriggerPosition.d.ts +3 -4
- package/es/Trigger/hooks/useTriggerVisible.d.ts +2 -2
- package/es/Trigger/index.d.ts +9 -9
- package/es/Trigger/index.vue.d.ts +3 -3
- package/es/Trigger/index.vue.js +1 -1
- package/es/Trigger/type.d.ts +3 -4
- package/es/Typography/TypographyBase.vue.d.ts +6 -7
- package/es/Typography/TypographyBase.vue.js +3 -4
- package/es/Typography/TypographyParagraph.vue.d.ts +1 -1
- package/es/Typography/TypographyParagraph.vue.js +0 -7
- package/es/Typography/TypographyText.vue.js +0 -7
- package/es/Typography/TypographyTitle.vue.d.ts +1 -1
- package/es/Typography/TypographyTitle.vue.js +0 -7
- package/es/Typography/type.d.ts +4 -14
- package/es/_shared/components/ExpandTransition/index.vue2.js +6 -2
- package/es/_shared/components/IconButton/{index.vue.js → index.vue2.js} +1 -1
- package/es/_shared/components/IconButton/index.vue3.js +2 -2
- package/es/_shared/constants/index.d.ts +4 -4
- 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 +23 -1
- package/es/_shared/icons/IconCopy.vue2.js +1 -23
- package/es/_shared/icons/IconDelete.vue2.js +1 -1
- package/es/_shared/icons/IconDragDot.vue.js +1 -1
- package/es/_shared/icons/IconEdit.vue.js +23 -1
- package/es/_shared/icons/IconEdit.vue2.js +1 -23
- package/es/_shared/icons/IconEmpty.vue.js +1 -1
- package/es/_shared/icons/IconError.vue.js +1 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -1
- 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.vue2.js +1 -1
- package/es/_shared/icons/IconSeparator.vue.js +1 -23
- package/es/_shared/icons/IconSeparator.vue2.js +23 -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/type/index.d.ts +22 -5
- package/es/_shared/utils/dom.d.ts +1 -1
- package/es/_shared/utils/dom.js +1 -1
- package/es/_shared/utils/global-config.d.ts +4 -4
- package/es/_shared/utils/vue-utils.d.ts +3 -3
- package/es/index.d.ts +59 -59
- package/lib/Affix/type.d.ts +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Alert/type.d.ts +1 -1
- package/lib/Anchor/hooks/useContext.d.ts +2 -2
- package/lib/Anchor/type.d.ts +1 -1
- package/lib/AutoComplete/index.d.ts +27 -27
- package/lib/AutoComplete/index.vue.d.ts +49 -49
- package/lib/AutoComplete/type.d.ts +6 -8
- package/lib/Avatar/Avatar.vue.d.ts +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/hooks/useContext.d.ts +3 -3
- package/lib/Avatar/index.d.ts +3 -3
- package/lib/Avatar/type.d.ts +2 -2
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/BackTop/type.d.ts +1 -1
- package/lib/Badge/type.d.ts +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Breadcrumb/type.d.ts +1 -1
- package/lib/Button/Button.vue.d.ts +1 -1
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/hooks/useContext.d.ts +5 -5
- package/lib/Button/index.d.ts +6 -6
- package/lib/Button/type.d.ts +4 -5
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Card/type.d.ts +2 -1
- package/lib/Carousel/Carousel.vue.d.ts +3 -3
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue.d.ts +3 -3
- package/lib/Carousel/hooks/useContext.d.ts +3 -3
- package/lib/Carousel/index.d.ts +9 -9
- package/lib/Carousel/type.d.ts +2 -3
- package/lib/Cascader/Cascader.vue.d.ts +13 -25
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/hooks/useContext.d.ts +5 -17
- package/lib/Cascader/index.d.ts +17 -29
- package/lib/Cascader/type.d.ts +5 -7
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/hooks/useContext.d.ts +3 -3
- package/lib/Checkbox/type.d.ts +3 -3
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/hooks/useContext.d.ts +5 -5
- package/lib/Collapse/type.d.ts +2 -2
- package/lib/ColorPicker/hooks/useContext.d.ts +2 -2
- package/lib/ConfigProvider/index.d.ts +3 -3
- package/lib/ConfigProvider/index.vue.d.ts +1 -1
- package/lib/ConfigProvider/type.d.ts +2 -3
- package/lib/Descriptions/hooks/useContext.d.ts +2 -2
- package/lib/Descriptions/type.d.ts +1 -2
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +1 -1
- package/lib/Dropdown/Doption.vue.js +1 -1
- package/lib/Dropdown/Dropdown.vue.d.ts +1 -1
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.d.ts +20 -20
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.d.ts +2 -2
- package/lib/Dropdown/index.d.ts +18 -18
- package/lib/Dropdown/type.d.ts +5 -6
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Grid/Grid.vue.d.ts +3 -3
- package/lib/Grid/GridCol.vue.d.ts +2 -2
- package/lib/Grid/GridItem.vue.d.ts +2 -2
- package/lib/Grid/GridRow.vue.d.ts +1 -1
- package/lib/Grid/hooks/useContext.d.ts +4 -4
- package/lib/Grid/index.d.ts +24 -24
- package/lib/Grid/type.d.ts +4 -12
- package/lib/Image/Image.vue.d.ts +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/hooks/useContext.d.ts +2 -2
- package/lib/Image/index.d.ts +3 -3
- package/lib/Image/type.d.ts +2 -3
- package/lib/Input/Input.vue.d.ts +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/hooks/useLimitedInput.d.ts +3 -3
- package/lib/Input/index.d.ts +3 -3
- package/lib/Input/type.d.ts +2 -2
- package/lib/InputNumber/InputNumber.vue.d.ts +7 -7
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputNumber/index.d.ts +6 -6
- package/lib/InputNumber/type.d.ts +3 -4
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/InputTag/type.d.ts +5 -6
- package/lib/Layout/LayoutSider.vue.d.ts +7 -7
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.d.ts +2 -2
- package/lib/Layout/index.d.ts +19 -19
- package/lib/Layout/type.d.ts +4 -5
- package/lib/Link/index.vue.js +1 -1
- package/lib/Link/type.d.ts +1 -1
- package/lib/List/List.vue.d.ts +15 -15
- package/lib/List/ListVirtual.vue.d.ts +3 -3
- package/lib/List/index.d.ts +10 -10
- package/lib/List/type.d.ts +3 -3
- package/lib/Mention/index.d.ts +35 -35
- package/lib/Mention/index.vue.d.ts +46 -46
- package/lib/Mention/type.d.ts +6 -5
- package/lib/Menu/Menu.vue.d.ts +6 -6
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.d.ts +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/hooks/useContext.d.ts +5 -5
- package/lib/Menu/index.d.ts +20 -20
- package/lib/Menu/type.d.ts +3 -6
- package/lib/Message/Message.vue.d.ts +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/index.d.ts +3 -3
- package/lib/Message/type.d.ts +5 -5
- package/lib/Modal/Modal.vue.d.ts +2 -2
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.d.ts +4 -4
- package/lib/Modal/index.d.ts +6 -6
- package/lib/Modal/type.d.ts +8 -8
- package/lib/Notification/Notification.vue.d.ts +3 -3
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/index.d.ts +9 -9
- package/lib/Notification/type.d.ts +4 -4
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +2 -2
- package/lib/Popconfirm/index.d.ts +18 -18
- package/lib/Popconfirm/index.vue.d.ts +21 -21
- package/lib/Popconfirm/type.d.ts +4 -4
- package/lib/Popover/index.d.ts +9 -9
- package/lib/Popover/index.vue.d.ts +3 -3
- package/lib/Popover/type.d.ts +3 -3
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Progress/type.d.ts +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Radio/hooks/useContext.d.ts +3 -3
- package/lib/Radio/type.d.ts +2 -2
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Result/type.d.ts +1 -1
- package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/lib/Scrollbar/index.d.ts +3 -3
- package/lib/Select/Option.vue.d.ts +1 -1
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.d.ts +27 -27
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectRealList.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +13 -13
- package/lib/Select/hooks/useSelectOptions.d.ts +13 -13
- package/lib/Select/index.d.ts +26 -26
- package/lib/Select/type.d.ts +13 -16
- package/lib/Skeleton/type.d.ts +3 -2
- package/lib/Slider/Slider.vue.d.ts +1 -1
- package/lib/Slider/SliderTicks.vue.d.ts +2 -2
- package/lib/Slider/hooks/useContext.d.ts +4 -4
- package/lib/Slider/index.d.ts +3 -3
- package/lib/Slider/type.d.ts +2 -3
- package/lib/Space/index.d.ts +3 -3
- package/lib/Space/index.vue.d.ts +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/hooks/useContext.d.ts +3 -3
- package/lib/Switch/type.d.ts +2 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.d.ts +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/TabsNavInk.vue.d.ts +2 -2
- package/lib/Tabs/hooks/useContext.d.ts +5 -5
- package/lib/Tabs/hooks/useTabsScroll.d.ts +2 -2
- package/lib/Tabs/index.d.ts +3 -3
- package/lib/Tabs/type.d.ts +2 -3
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Tag/type.d.ts +2 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.d.ts +2 -2
- package/lib/TimePicker/type.d.ts +1 -1
- package/lib/Timeline/hooks/useContext.d.ts +4 -4
- package/lib/Tooltip/index.d.ts +9 -9
- package/lib/Tooltip/index.vue.d.ts +3 -3
- package/lib/Tooltip/type.d.ts +3 -3
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.d.ts +2 -2
- package/lib/Trigger/hooks/useContext.d.ts +2 -2
- package/lib/Trigger/hooks/useTriggerPosition.d.ts +3 -4
- package/lib/Trigger/hooks/useTriggerVisible.d.ts +2 -2
- package/lib/Trigger/index.d.ts +9 -9
- package/lib/Trigger/index.vue.d.ts +3 -3
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Trigger/type.d.ts +3 -4
- package/lib/Typography/TypographyBase.vue.d.ts +6 -7
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Typography/TypographyParagraph.vue.d.ts +1 -1
- package/lib/Typography/TypographyParagraph.vue.js +1 -1
- package/lib/Typography/TypographyText.vue.js +1 -1
- package/lib/Typography/TypographyTitle.vue.d.ts +1 -1
- package/lib/Typography/TypographyTitle.vue.js +1 -1
- package/lib/Typography/type.d.ts +4 -14
- package/lib/_shared/components/IconButton/index.vue2.js +1 -0
- package/lib/_shared/components/IconButton/index.vue3.js +1 -1
- package/lib/_shared/constants/index.d.ts +4 -4
- 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.vue2.js +1 -1
- package/lib/_shared/icons/IconDragDot.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEmpty.vue.js +1 -1
- package/lib/_shared/icons/IconError.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconImageClose.vue.js +1 -1
- package/lib/_shared/icons/IconInfo.vue.js +1 -1
- package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
- package/lib/_shared/icons/IconLink.vue.js +1 -1
- package/lib/_shared/icons/IconLoading.vue.js +1 -1
- package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
- package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.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/type/index.d.ts +22 -5
- package/lib/_shared/utils/dom.d.ts +1 -1
- package/lib/_shared/utils/dom.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +4 -4
- package/lib/_shared/utils/vue-utils.d.ts +3 -3
- package/lib/index.d.ts +59 -59
- package/package.json +1 -1
- package/lib/_shared/components/IconButton/index.vue.js +0 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Ref, Slots } from 'vue';
|
2
|
-
import { SelectValue, SelectOptionData, SelectEmits,
|
2
|
+
import { SelectValue, SelectOptionData, SelectEmits, SelectOptionValue } from '../type';
|
3
3
|
import { InputInstance } from '../../Input';
|
4
|
-
import {
|
4
|
+
import { RecordType } from '../../_shared/type';
|
5
5
|
type SelectContext = {
|
6
6
|
computedValue: Ref<SelectValue | undefined>;
|
7
7
|
computedInputValue: Ref<string>;
|
@@ -9,34 +9,34 @@ type SelectContext = {
|
|
9
9
|
limit: Ref<number>;
|
10
10
|
curIndex: Ref<number>;
|
11
11
|
options: Ref<SelectOptionData[]>;
|
12
|
-
renderOptions: Ref<
|
12
|
+
renderOptions: Ref<RecordType[]>;
|
13
13
|
fieldKey: Ref<Record<string, string>>;
|
14
14
|
isEmpty: Ref<boolean>;
|
15
15
|
slots: Slots;
|
16
16
|
blur: () => void;
|
17
17
|
filterOption: (option: SelectOptionData) => boolean;
|
18
|
-
getValue: (value:
|
19
|
-
collectOption: (props:
|
18
|
+
getValue: (value: SelectOptionValue | RecordType) => SelectOptionValue;
|
19
|
+
collectOption: (props: RecordType, optionLabel: Ref<string>) => void;
|
20
20
|
emits: SelectEmits;
|
21
21
|
};
|
22
22
|
declare const _default: () => {
|
23
|
-
provide: (props:
|
23
|
+
provide: (props: RecordType, emits: SelectEmits, inputRef: Ref<InputInstance | undefined>) => {
|
24
24
|
computedVisible: import('vue').WritableComputedRef<boolean, boolean>;
|
25
25
|
computedValue: import('vue').WritableComputedRef<SelectValue, SelectValue>;
|
26
26
|
computedInputValue: import('vue').WritableComputedRef<string, string>;
|
27
27
|
selectOptions: import('vue').ComputedRef<{
|
28
28
|
id: string;
|
29
|
-
label:
|
29
|
+
label: SelectOptionValue | undefined;
|
30
30
|
render?: import('../../_shared/type').RenderContent;
|
31
|
-
value?:
|
31
|
+
value?: SelectOptionValue;
|
32
32
|
disabled?: boolean;
|
33
33
|
tagProps?: import('../..').TagProps;
|
34
34
|
isFallbackOption?: boolean;
|
35
35
|
}[]>;
|
36
36
|
createOptions: Ref<{
|
37
|
-
render?: string | import('vue').RenderFunction |
|
37
|
+
render?: string | import('vue').RenderFunction | RecordType<any>[] | undefined;
|
38
38
|
label?: string | undefined;
|
39
|
-
value?:
|
39
|
+
value?: SelectOptionValue | undefined;
|
40
40
|
disabled?: boolean | undefined;
|
41
41
|
tagProps?: {
|
42
42
|
color?: string | undefined;
|
@@ -54,9 +54,9 @@ declare const _default: () => {
|
|
54
54
|
id?: string | undefined;
|
55
55
|
isFallbackOption?: boolean | undefined;
|
56
56
|
}[], SelectOptionData[] | {
|
57
|
-
render?: string | import('vue').RenderFunction |
|
57
|
+
render?: string | import('vue').RenderFunction | RecordType<any>[] | undefined;
|
58
58
|
label?: string | undefined;
|
59
|
-
value?:
|
59
|
+
value?: SelectOptionValue | undefined;
|
60
60
|
disabled?: boolean | undefined;
|
61
61
|
tagProps?: {
|
62
62
|
color?: string | undefined;
|
@@ -74,7 +74,7 @@ declare const _default: () => {
|
|
74
74
|
id?: string | undefined;
|
75
75
|
isFallbackOption?: boolean | undefined;
|
76
76
|
}[]>;
|
77
|
-
options: import('vue').ComputedRef<
|
77
|
+
options: import('vue').ComputedRef<RecordType[]>;
|
78
78
|
};
|
79
79
|
inject: () => SelectContext;
|
80
80
|
};
|
@@ -1,20 +1,20 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
|
-
import {
|
3
|
-
import { SelectValue, SelectOption,
|
2
|
+
import { RecordType } from '../../_shared/type';
|
3
|
+
import { SelectProps, SelectValue, SelectOption, SelectOptionData, SelectOptionValue } from '../index';
|
4
4
|
declare const _default: (params: {
|
5
5
|
multiple: Ref<boolean>;
|
6
6
|
computedValue: Ref<SelectValue>;
|
7
7
|
provideOptions: Ref<SelectOption[]>;
|
8
8
|
showExtraOptions: Ref<boolean>;
|
9
|
-
getValue: (value:
|
10
|
-
fallbackOption?:
|
11
|
-
formatLabel?:
|
9
|
+
getValue: (value: SelectOptionValue) => SelectOptionValue;
|
10
|
+
fallbackOption?: SelectProps["fallbackOption"];
|
11
|
+
formatLabel?: SelectProps["formatLabel"];
|
12
12
|
}) => {
|
13
|
-
options: import('vue').ComputedRef<
|
13
|
+
options: import('vue').ComputedRef<RecordType[]>;
|
14
14
|
createOptions: Ref<{
|
15
|
-
render?: string | import('vue').RenderFunction |
|
15
|
+
render?: string | import('vue').RenderFunction | RecordType<any>[] | undefined;
|
16
16
|
label?: string | undefined;
|
17
|
-
value?:
|
17
|
+
value?: SelectOptionValue | undefined;
|
18
18
|
disabled?: boolean | undefined;
|
19
19
|
tagProps?: {
|
20
20
|
color?: string | undefined;
|
@@ -32,9 +32,9 @@ declare const _default: (params: {
|
|
32
32
|
id?: string | undefined;
|
33
33
|
isFallbackOption?: boolean | undefined;
|
34
34
|
}[], SelectOptionData[] | {
|
35
|
-
render?: string | import('vue').RenderFunction |
|
35
|
+
render?: string | import('vue').RenderFunction | RecordType<any>[] | undefined;
|
36
36
|
label?: string | undefined;
|
37
|
-
value?:
|
37
|
+
value?: SelectOptionValue | undefined;
|
38
38
|
disabled?: boolean | undefined;
|
39
39
|
tagProps?: {
|
40
40
|
color?: string | undefined;
|
@@ -55,13 +55,13 @@ declare const _default: (params: {
|
|
55
55
|
renderOptions: import('vue').ComputedRef<SelectOption[]>;
|
56
56
|
selectOptions: import('vue').ComputedRef<{
|
57
57
|
id: string;
|
58
|
-
label:
|
58
|
+
label: SelectOptionValue | undefined;
|
59
59
|
render?: import('../../_shared/type').RenderContent;
|
60
|
-
value?:
|
60
|
+
value?: SelectOptionValue;
|
61
61
|
disabled?: boolean;
|
62
62
|
tagProps?: import('../..').TagProps;
|
63
63
|
isFallbackOption?: boolean;
|
64
64
|
}[]>;
|
65
|
-
collectOption: (props:
|
65
|
+
collectOption: (props: RecordType, optionLabel: Ref<string>) => void;
|
66
66
|
};
|
67
67
|
export default _default;
|
package/es/Select/index.d.ts
CHANGED
@@ -12,13 +12,13 @@ declare const Select: {
|
|
12
12
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
13
13
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
14
14
|
onClear?: (() => any) | undefined;
|
15
|
-
onSelect?: ((value: import('./type').
|
15
|
+
onSelect?: ((value: import('./type').SelectOptionValue) => any) | undefined;
|
16
16
|
onSearch?: ((value: string) => any) | undefined;
|
17
17
|
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
18
18
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
19
19
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
20
20
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
21
|
-
onExceedLimit?: ((value: import('./type').
|
21
|
+
onExceedLimit?: ((value: import('./type').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
22
22
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
23
23
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
24
24
|
}>, {
|
@@ -30,13 +30,13 @@ declare const Select: {
|
|
30
30
|
"update:popupVisible": (value: boolean) => any;
|
31
31
|
"popup-visible-change": (value: boolean) => any;
|
32
32
|
clear: () => any;
|
33
|
-
select: (value: import('./type').
|
33
|
+
select: (value: import('./type').SelectOptionValue) => any;
|
34
34
|
search: (value: string) => any;
|
35
35
|
"update:modelValue": (value: import('./type').SelectValue) => any;
|
36
36
|
"update:inputValue": (value: string) => any;
|
37
37
|
"input-value-change": (value: string) => any;
|
38
38
|
remove: (index: string | number, ev: Event) => any;
|
39
|
-
exceedLimit: (value: import('./type').
|
39
|
+
exceedLimit: (value: import('./type').SelectOptionValue, ev?: MouseEvent | undefined) => any;
|
40
40
|
"dropdown-scroll": (ev: Event) => any;
|
41
41
|
"dropdown-reach-bottom": (ev: Event) => any;
|
42
42
|
}, import('vue').PublicProps, {
|
@@ -65,7 +65,7 @@ declare const Select: {
|
|
65
65
|
showEmpty: boolean;
|
66
66
|
allowCreate: boolean;
|
67
67
|
maxTagCount: number;
|
68
|
-
filterOption: import('./type').
|
68
|
+
filterOption: boolean | import('..').FilterOption<import('./type').SelectOptionData>;
|
69
69
|
virtualListProps: import('./type').VirtualListProps;
|
70
70
|
triggerProps: import('..').TriggerProps;
|
71
71
|
searchDelay: number;
|
@@ -80,7 +80,7 @@ declare const Select: {
|
|
80
80
|
readonly popupVisible?: boolean | undefined;
|
81
81
|
readonly defaultPopupVisible?: boolean | undefined;
|
82
82
|
readonly trigger?: import('..').TriggerType | undefined;
|
83
|
-
readonly position?: import('..').
|
83
|
+
readonly position?: import('..').PopupPosition | undefined;
|
84
84
|
readonly disabled?: boolean | undefined;
|
85
85
|
readonly popupOffset?: number | undefined;
|
86
86
|
readonly popupTranslate?: number[] | undefined;
|
@@ -90,9 +90,9 @@ declare const Select: {
|
|
90
90
|
readonly clickToClose?: boolean | undefined;
|
91
91
|
readonly clickOutsideToClose?: boolean | undefined;
|
92
92
|
readonly unmountOnClose?: boolean | undefined;
|
93
|
-
readonly contentClass?: import('
|
93
|
+
readonly contentClass?: import('..').ClassName | undefined;
|
94
94
|
readonly contentStyle?: import('vue').CSSProperties | undefined;
|
95
|
-
readonly arrowClass?: import('
|
95
|
+
readonly arrowClass?: import('..').ClassName | undefined;
|
96
96
|
readonly arrowStyle?: import('vue').CSSProperties | undefined;
|
97
97
|
readonly animationName?: string | undefined;
|
98
98
|
readonly duration?: number | undefined;
|
@@ -226,14 +226,14 @@ declare const Select: {
|
|
226
226
|
scrollToClose: boolean;
|
227
227
|
autoSetPosition: boolean;
|
228
228
|
alignPoint: boolean;
|
229
|
-
position: import('..').
|
229
|
+
position: import('..').PopupPosition;
|
230
230
|
popupOffset: number;
|
231
231
|
popupTranslate: number[];
|
232
232
|
showArrow: boolean;
|
233
233
|
unmountOnClose: boolean;
|
234
|
-
contentClass: import('
|
234
|
+
contentClass: import('..').ClassName;
|
235
235
|
contentStyle: import('vue').CSSProperties;
|
236
|
-
arrowClass: import('
|
236
|
+
arrowClass: import('..').ClassName;
|
237
237
|
arrowStyle: import('vue').CSSProperties;
|
238
238
|
animationName: string;
|
239
239
|
duration: number;
|
@@ -280,14 +280,14 @@ declare const Select: {
|
|
280
280
|
scrollToClose: boolean;
|
281
281
|
autoSetPosition: boolean;
|
282
282
|
alignPoint: boolean;
|
283
|
-
position: import('..').
|
283
|
+
position: import('..').PopupPosition;
|
284
284
|
popupOffset: number;
|
285
285
|
popupTranslate: number[];
|
286
286
|
showArrow: boolean;
|
287
287
|
unmountOnClose: boolean;
|
288
|
-
contentClass: import('
|
288
|
+
contentClass: import('..').ClassName;
|
289
289
|
contentStyle: import('vue').CSSProperties;
|
290
|
-
arrowClass: import('
|
290
|
+
arrowClass: import('..').ClassName;
|
291
291
|
arrowStyle: import('vue').CSSProperties;
|
292
292
|
animationName: string;
|
293
293
|
duration: number;
|
@@ -327,7 +327,7 @@ declare const Select: {
|
|
327
327
|
readonly size?: import('..').Size | undefined;
|
328
328
|
readonly maxTagCount?: number | undefined;
|
329
329
|
readonly retainInputValue?: import('..').InputRetainValue | undefined;
|
330
|
-
readonly formatTag?: import('..').
|
330
|
+
readonly formatTag?: import('..').Format<import('..').TagData> | undefined;
|
331
331
|
readonly uniqueValue?: boolean | undefined;
|
332
332
|
readonly tagNowrap?: boolean | undefined;
|
333
333
|
readonly fieldNames?: Record<string, string> | undefined;
|
@@ -464,13 +464,13 @@ declare const Select: {
|
|
464
464
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
465
465
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
466
466
|
onClear?: (() => any) | undefined;
|
467
|
-
onSelect?: ((value: import('./type').
|
467
|
+
onSelect?: ((value: import('./type').SelectOptionValue) => any) | undefined;
|
468
468
|
onSearch?: ((value: string) => any) | undefined;
|
469
469
|
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
470
470
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
471
471
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
472
472
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
473
|
-
onExceedLimit?: ((value: import('./type').
|
473
|
+
onExceedLimit?: ((value: import('./type').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
474
474
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
475
475
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
476
476
|
}>, {
|
@@ -503,7 +503,7 @@ declare const Select: {
|
|
503
503
|
showEmpty: boolean;
|
504
504
|
allowCreate: boolean;
|
505
505
|
maxTagCount: number;
|
506
|
-
filterOption: import('./type').
|
506
|
+
filterOption: boolean | import('..').FilterOption<import('./type').SelectOptionData>;
|
507
507
|
virtualListProps: import('./type').VirtualListProps;
|
508
508
|
triggerProps: import('..').TriggerProps;
|
509
509
|
searchDelay: number;
|
@@ -519,13 +519,13 @@ declare const Select: {
|
|
519
519
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
520
520
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
521
521
|
onClear?: (() => any) | undefined;
|
522
|
-
onSelect?: ((value: import('./type').
|
522
|
+
onSelect?: ((value: import('./type').SelectOptionValue) => any) | undefined;
|
523
523
|
onSearch?: ((value: string) => any) | undefined;
|
524
524
|
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
525
525
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
526
526
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
527
527
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
528
|
-
onExceedLimit?: ((value: import('./type').
|
528
|
+
onExceedLimit?: ((value: import('./type').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
529
529
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
530
530
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
531
531
|
}>, {
|
@@ -537,13 +537,13 @@ declare const Select: {
|
|
537
537
|
"update:popupVisible": (value: boolean) => any;
|
538
538
|
"popup-visible-change": (value: boolean) => any;
|
539
539
|
clear: () => any;
|
540
|
-
select: (value: import('./type').
|
540
|
+
select: (value: import('./type').SelectOptionValue) => any;
|
541
541
|
search: (value: string) => any;
|
542
542
|
"update:modelValue": (value: import('./type').SelectValue) => any;
|
543
543
|
"update:inputValue": (value: string) => any;
|
544
544
|
"input-value-change": (value: string) => any;
|
545
545
|
remove: (index: string | number, ev: Event) => any;
|
546
|
-
exceedLimit: (value: import('./type').
|
546
|
+
exceedLimit: (value: import('./type').SelectOptionValue, ev?: MouseEvent | undefined) => any;
|
547
547
|
"dropdown-scroll": (ev: Event) => any;
|
548
548
|
"dropdown-reach-bottom": (ev: Event) => any;
|
549
549
|
}, string, {
|
@@ -572,7 +572,7 @@ declare const Select: {
|
|
572
572
|
showEmpty: boolean;
|
573
573
|
allowCreate: boolean;
|
574
574
|
maxTagCount: number;
|
575
|
-
filterOption: import('./type').
|
575
|
+
filterOption: boolean | import('..').FilterOption<import('./type').SelectOptionData>;
|
576
576
|
virtualListProps: import('./type').VirtualListProps;
|
577
577
|
triggerProps: import('..').TriggerProps;
|
578
578
|
searchDelay: number;
|
@@ -585,7 +585,7 @@ declare const Select: {
|
|
585
585
|
option: {
|
586
586
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').OptionProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
587
587
|
disabled: boolean;
|
588
|
-
value: import('./type').
|
588
|
+
value: import('./type').SelectOptionValue;
|
589
589
|
label: string;
|
590
590
|
isFallbackOption: boolean;
|
591
591
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
@@ -599,7 +599,7 @@ declare const Select: {
|
|
599
599
|
Defaults: {};
|
600
600
|
}, Readonly<import('./type').OptionProps> & Readonly<{}>, {}, {}, {}, {}, {
|
601
601
|
disabled: boolean;
|
602
|
-
value: import('./type').
|
602
|
+
value: import('./type').SelectOptionValue;
|
603
603
|
label: string;
|
604
604
|
isFallbackOption: boolean;
|
605
605
|
}>;
|
@@ -608,7 +608,7 @@ declare const Select: {
|
|
608
608
|
__isSuspense?: never;
|
609
609
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').OptionProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
610
610
|
disabled: boolean;
|
611
|
-
value: import('./type').
|
611
|
+
value: import('./type').SelectOptionValue;
|
612
612
|
label: string;
|
613
613
|
isFallbackOption: boolean;
|
614
614
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
package/es/Select/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { RecordType, RenderContent, Size, PopupContainer, FilterOption, Format, FallBack } from '../_shared/type';
|
2
2
|
import { TriggerInstance, TriggerProps } from '../Trigger';
|
3
3
|
import { TagProps } from '../Tag';
|
4
4
|
import { VNode } from 'vue';
|
@@ -22,12 +22,12 @@ export interface SelectProps {
|
|
22
22
|
popupVisible?: boolean;
|
23
23
|
defaultPopupVisible?: boolean;
|
24
24
|
unmountonClose?: boolean;
|
25
|
-
filterOption?: FilterOption
|
25
|
+
filterOption?: boolean | FilterOption<SelectOptionData>;
|
26
26
|
options?: SelectOption[];
|
27
27
|
virtualListProps?: VirtualListProps;
|
28
28
|
triggerProps?: TriggerProps;
|
29
|
-
formatLabel?:
|
30
|
-
fallbackOption?:
|
29
|
+
formatLabel?: Format<SelectOptionData>;
|
30
|
+
fallbackOption?: FallBack<SelectOptionValue, SelectOptionData>;
|
31
31
|
showExtraOptions?: boolean;
|
32
32
|
valueKey?: string;
|
33
33
|
searchDelay?: number;
|
@@ -49,11 +49,11 @@ export interface SelectEmits {
|
|
49
49
|
(e: 'clear'): void;
|
50
50
|
(e: 'remove', index: number | string, ev: Event): void;
|
51
51
|
(e: 'search', value: string): void;
|
52
|
-
(e: 'exceedLimit', value:
|
52
|
+
(e: 'exceedLimit', value: SelectOptionValue, ev?: MouseEvent): void;
|
53
53
|
(e: 'popup-visible-change', value: boolean): void;
|
54
54
|
(e: 'dropdown-scroll', ev: Event): void;
|
55
55
|
(e: 'dropdown-reach-bottom', ev: Event): void;
|
56
|
-
(e: 'select', value:
|
56
|
+
(e: 'select', value: SelectOptionValue): void;
|
57
57
|
}
|
58
58
|
export interface SelectSlots {
|
59
59
|
default?: () => VNode[];
|
@@ -65,10 +65,10 @@ export interface SelectSlots {
|
|
65
65
|
footer?: () => VNode[];
|
66
66
|
header?: () => VNode[];
|
67
67
|
label?: (scope: {
|
68
|
-
data:
|
68
|
+
data: RecordType;
|
69
69
|
}) => VNode[];
|
70
70
|
option?: (scope: {
|
71
|
-
data:
|
71
|
+
data: RecordType;
|
72
72
|
}) => VNode[];
|
73
73
|
empty?: () => VNode[];
|
74
74
|
}
|
@@ -79,7 +79,7 @@ export interface SelectExpose {
|
|
79
79
|
}
|
80
80
|
export interface OptionProps {
|
81
81
|
label?: string;
|
82
|
-
value?:
|
82
|
+
value?: SelectOptionValue;
|
83
83
|
disabled?: boolean;
|
84
84
|
tagProps?: TagProps;
|
85
85
|
id?: string;
|
@@ -97,8 +97,8 @@ export interface OptgroupSlots {
|
|
97
97
|
default?: () => VNode[];
|
98
98
|
label?: () => VNode[];
|
99
99
|
}
|
100
|
-
export type
|
101
|
-
export type SelectValue =
|
100
|
+
export type SelectOptionValue = string | number | boolean | RecordType;
|
101
|
+
export type SelectValue = SelectOptionValue | SelectOptionValue[];
|
102
102
|
export type SelectOptionData = {
|
103
103
|
render?: RenderContent;
|
104
104
|
} & OptionProps;
|
@@ -108,12 +108,9 @@ export type SelectOptionGroup = {
|
|
108
108
|
isGroup?: true;
|
109
109
|
options?: SelectOptionData[];
|
110
110
|
};
|
111
|
-
export type SelectOption =
|
112
|
-
export type FilterOption = boolean | ((inputValue: string, option: SelectOptionData) => boolean);
|
113
|
-
export type FallbackOption = (value: OptionValue) => SelectOptionData;
|
114
|
-
export type FormatLabel = (data: SelectOptionData) => string;
|
111
|
+
export type SelectOption = SelectOptionValue | SelectOptionData | SelectOptionGroup | RecordType;
|
115
112
|
export type VirtualListProps = {
|
116
113
|
itemHeight?: number;
|
117
|
-
buffer?: number;
|
118
114
|
threshold?: number;
|
115
|
+
buffer?: number;
|
119
116
|
};
|
package/es/Skeleton/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
|
+
import { Shape, Size } from '../_shared/type';
|
2
3
|
export interface SkeletonProps {
|
3
4
|
animation?: boolean;
|
4
5
|
loading?: boolean;
|
@@ -17,5 +18,5 @@ export interface SkeletonShapeProps {
|
|
17
18
|
shape?: SkeletonShapeShape;
|
18
19
|
size?: SkeletonShapeSize;
|
19
20
|
}
|
20
|
-
export type SkeletonShapeSize =
|
21
|
-
export type SkeletonShapeShape =
|
21
|
+
export type SkeletonShapeSize = Exclude<Size, 'mini'>;
|
22
|
+
export type SkeletonShapeShape = Exclude<Shape, 'round'>;
|
@@ -15,10 +15,10 @@ declare const _default: import('vue').DefineComponent<SliderProps, {}, {}, {}, {
|
|
15
15
|
direction: import('..').Direction;
|
16
16
|
min: number;
|
17
17
|
step: number;
|
18
|
+
formatTooltip: import('..').Format<number>;
|
18
19
|
showTooltip: boolean;
|
19
20
|
marks: Record<number, string>;
|
20
21
|
showTicks: boolean;
|
21
|
-
formatTooltip: import('./type').FormatTooltip;
|
22
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
23
23
|
trackRef: HTMLDivElement;
|
24
24
|
}, HTMLDivElement>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { RecordType } from '../_shared/type';
|
2
2
|
type __VLS_Props = {
|
3
3
|
type: 'dots' | 'marks' | 'ticks';
|
4
|
-
data:
|
4
|
+
data: RecordType[];
|
5
5
|
};
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
7
7
|
labelClick: (value: number) => any;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
|
-
import {
|
3
|
-
import { Direction,
|
2
|
+
import { SliderProps, SliderEmits, SliderValue } from '../type';
|
3
|
+
import { Direction, RecordType } from '../../_shared/type';
|
4
4
|
type SliderContext = {
|
5
5
|
startValue: Ref<number>;
|
6
6
|
endValue: Ref<number>;
|
@@ -14,13 +14,13 @@ type SliderContext = {
|
|
14
14
|
showTooltip: Ref<boolean>;
|
15
15
|
disabled: Ref<boolean>;
|
16
16
|
trackRef: Ref<HTMLDivElement | undefined>;
|
17
|
-
formatTooltip?:
|
17
|
+
formatTooltip?: SliderProps['formatTooltip'];
|
18
18
|
normalizeValue: (value: number) => number;
|
19
19
|
denormalizeValue: (value: number) => number;
|
20
20
|
};
|
21
21
|
declare const _default: () => {
|
22
22
|
inject: () => SliderContext;
|
23
|
-
provide: (props:
|
23
|
+
provide: (props: RecordType, emits: SliderEmits, trackRef: Ref<HTMLDivElement | undefined>) => {
|
24
24
|
range: Ref<boolean, boolean>;
|
25
25
|
direction: Ref<Direction, Direction>;
|
26
26
|
startValue: import('vue').WritableComputedRef<number, number>;
|
package/es/Slider/index.d.ts
CHANGED
@@ -19,10 +19,10 @@ declare const Slider: {
|
|
19
19
|
direction: import('..').Direction;
|
20
20
|
min: number;
|
21
21
|
step: number;
|
22
|
+
formatTooltip: import('..').Format<number>;
|
22
23
|
showTooltip: boolean;
|
23
24
|
marks: Record<number, string>;
|
24
25
|
showTicks: boolean;
|
25
|
-
formatTooltip: import('./type').FormatTooltip;
|
26
26
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
27
27
|
trackRef: HTMLDivElement;
|
28
28
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
@@ -45,10 +45,10 @@ declare const Slider: {
|
|
45
45
|
direction: import('..').Direction;
|
46
46
|
min: number;
|
47
47
|
step: number;
|
48
|
+
formatTooltip: import('..').Format<number>;
|
48
49
|
showTooltip: boolean;
|
49
50
|
marks: Record<number, string>;
|
50
51
|
showTicks: boolean;
|
51
|
-
formatTooltip: import('./type').FormatTooltip;
|
52
52
|
}>;
|
53
53
|
__isFragment?: never;
|
54
54
|
__isTeleport?: never;
|
@@ -69,10 +69,10 @@ declare const Slider: {
|
|
69
69
|
direction: import('..').Direction;
|
70
70
|
min: number;
|
71
71
|
step: number;
|
72
|
+
formatTooltip: import('..').Format<number>;
|
72
73
|
showTooltip: boolean;
|
73
74
|
marks: Record<number, string>;
|
74
75
|
showTicks: boolean;
|
75
|
-
formatTooltip: import('./type').FormatTooltip;
|
76
76
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
77
77
|
install: (app: App) => void;
|
78
78
|
};
|
package/es/Slider/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Direction } from '../_shared/type';
|
1
|
+
import { Direction, Format } from '../_shared/type';
|
2
2
|
export interface SliderProps {
|
3
3
|
modelValue?: SliderValue;
|
4
4
|
defaultValue?: SliderValue;
|
@@ -12,11 +12,10 @@ export interface SliderProps {
|
|
12
12
|
showInput?: boolean;
|
13
13
|
range?: boolean;
|
14
14
|
showTooltip?: boolean;
|
15
|
-
formatTooltip?:
|
15
|
+
formatTooltip?: Format<number>;
|
16
16
|
}
|
17
17
|
export interface SliderEmits {
|
18
18
|
(e: 'update:modelValue', value: number): void;
|
19
19
|
(e: 'change', value: number): void;
|
20
20
|
}
|
21
21
|
export type SliderValue = number | number[];
|
22
|
-
export type FormatTooltip = (value: number) => string;
|
package/es/Space/index.d.ts
CHANGED
@@ -4,8 +4,8 @@ export type SpaceInstance = InstanceType<typeof _Space>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const Space: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').SpaceProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
|
-
size: import('./type').SpaceSize | [import('./type').SpaceSize, import('./type').SpaceSize];
|
8
7
|
fill: boolean;
|
8
|
+
size: import('./type').SpaceSize | [import('./type').SpaceSize, import('./type').SpaceSize];
|
9
9
|
wrap: boolean;
|
10
10
|
direction: import('..').Direction;
|
11
11
|
align: import('./type').SpaceAlign;
|
@@ -17,8 +17,8 @@ declare const Space: {
|
|
17
17
|
M: {};
|
18
18
|
Defaults: {};
|
19
19
|
}, Readonly<import('./type').SpaceProps> & Readonly<{}>, {}, {}, {}, {}, {
|
20
|
-
size: import('./type').SpaceSize | [import('./type').SpaceSize, import('./type').SpaceSize];
|
21
20
|
fill: boolean;
|
21
|
+
size: import('./type').SpaceSize | [import('./type').SpaceSize, import('./type').SpaceSize];
|
22
22
|
wrap: boolean;
|
23
23
|
direction: import('..').Direction;
|
24
24
|
align: import('./type').SpaceAlign;
|
@@ -27,8 +27,8 @@ declare const Space: {
|
|
27
27
|
__isTeleport?: never;
|
28
28
|
__isSuspense?: never;
|
29
29
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').SpaceProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
30
|
-
size: import('./type').SpaceSize | [import('./type').SpaceSize, import('./type').SpaceSize];
|
31
30
|
fill: boolean;
|
31
|
+
size: import('./type').SpaceSize | [import('./type').SpaceSize, import('./type').SpaceSize];
|
32
32
|
wrap: boolean;
|
33
33
|
direction: import('..').Direction;
|
34
34
|
align: import('./type').SpaceAlign;
|
package/es/Space/index.vue.d.ts
CHANGED
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<SpaceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SpaceProps> & Readonly<{}>, {
|
10
|
-
size: import('./type').SpaceSize | [import('./type').SpaceSize, import('./type').SpaceSize];
|
11
10
|
fill: boolean;
|
11
|
+
size: import('./type').SpaceSize | [import('./type').SpaceSize, import('./type').SpaceSize];
|
12
12
|
wrap: boolean;
|
13
13
|
direction: import('..').Direction;
|
14
14
|
align: import('./type').SpaceAlign;
|
package/es/Spin/index.vue.js
CHANGED
@@ -4,7 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import { valueToPx } from "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
import _sfc_main$1 from "../_shared/icons/IconLoading.vue.js";
|
package/es/Split/index.vue.js
CHANGED
@@ -5,7 +5,7 @@ import { isNumber } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
|
package/es/Steps/Step.vue.js
CHANGED
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { Ref, Reactive } from 'vue';
|
2
2
|
import { StepsEmits, StepStatus, StepType } from '../type';
|
3
|
-
import {
|
3
|
+
import { Direction, RecordType } from '../../_shared/type';
|
4
4
|
declare const _default: () => {
|
5
|
-
provide: (props:
|
5
|
+
provide: (props: RecordType, emits: StepsEmits) => {
|
6
6
|
direction: import('vue').ComputedRef<Direction>;
|
7
7
|
labelPlacement: import('vue').ComputedRef<Direction>;
|
8
8
|
type: Ref<StepType, StepType>;
|
9
9
|
};
|
10
|
-
inject: (props:
|
10
|
+
inject: (props: RecordType) => {
|
11
11
|
curStep: import('vue').ComputedRef<number>;
|
12
12
|
status: import('vue').ComputedRef<any>;
|
13
13
|
nextStatus: import('vue').ComputedRef<StepStatus>;
|
package/es/Switch/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
|
+
import { Size } from '../_shared/type';
|
2
3
|
export interface SwitchProps {
|
3
4
|
modelValue?: SwitchValue;
|
4
5
|
defaultChecked?: SwitchValue;
|
@@ -28,5 +29,5 @@ export interface SwitchSlots {
|
|
28
29
|
}
|
29
30
|
export type SwitchValue = string | number | boolean;
|
30
31
|
export type SwitchType = 'circle' | 'round' | 'line';
|
31
|
-
export type SwitchSize = '
|
32
|
+
export type SwitchSize = Exclude<Size, 'mini' | 'large'>;
|
32
33
|
export type BeforeChange = (newValue: SwitchValue) => Promise<boolean | void> | boolean | void;
|