yc-design-vue 2.0.1 → 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 +1 -1
- 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 +3 -3
- 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.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/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.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
package/lib/Layout/type.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { BreakpointName } from '../Grid';
|
2
|
-
import { Theme } from '../_shared/type';
|
3
1
|
import { VNode } from 'vue';
|
2
|
+
import { Theme, BreakpointName, collapseType } from '../_shared/type';
|
3
|
+
import { ResizeBoxDirection } from '../ResizeBox';
|
4
4
|
export interface LayoutProps {
|
5
5
|
hasSider?: boolean;
|
6
6
|
}
|
@@ -26,11 +26,11 @@ export interface LayoutSiderProps {
|
|
26
26
|
reverseArrow?: boolean;
|
27
27
|
breakpoint?: BreakpointName;
|
28
28
|
hideTrigger?: boolean;
|
29
|
-
resizeDirections?:
|
29
|
+
resizeDirections?: ResizeBoxDirection[];
|
30
30
|
}
|
31
31
|
export interface LayoutSiderEmits {
|
32
32
|
(e: 'update:collapsed', collapsed: boolean): void;
|
33
|
-
(e: 'collapse', collapsed: boolean, type:
|
33
|
+
(e: 'collapse', collapsed: boolean, type: collapseType): void;
|
34
34
|
(e: 'breakpoint', collapsed: boolean): void;
|
35
35
|
}
|
36
36
|
export interface LayoutSiderSlots {
|
@@ -39,4 +39,3 @@ export interface LayoutSiderSlots {
|
|
39
39
|
collapsed: boolean;
|
40
40
|
}) => VNode[];
|
41
41
|
}
|
42
|
-
export type ResizeDirections = Array<'left' | 'right' | 'top' | 'bottom'>;
|
package/lib/Link/index.vue.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const n=require("../_shared/icons/IconLink.vue.js"),o=require("../Spin/index.js"),l=["href"],t={key:0,class:"yc-link-icon"},r=e.defineComponent({name:"Link",__name:"index",props:{href:{default:""},icon:{type:Boolean,default:!1},status:{default:"normal"},hoverable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["click","dblclick","contextmenu"],setup(r,{emit:i}){const s=r,a=i,{disabled:c,loading:u,href:d}=e.toRefs(s),k=e.computed(()=>u.value||c.value?"javascript:void(0)":d.value||"javascript:void(0)"),m=(e,n)=>{c.value||u.value||a(e,n)};return(r,i)=>(e.openBlock(),e.createElementBlock("a",{href:k.value,class:e.normalizeClass(["yc-link",`yc-link-status-${r.status}`,{"yc-link-hoverable":r.hoverable&&!e.unref(c)&&!e.unref(u),"yc-link-loading":e.unref(u),"yc-link-disabled":e.unref(c)}]),onClick:i[0]||(i[0]=e=>m("click",e)),onDblclick:i[1]||(i[1]=e=>m("dblclick",e)),onContextmenu:i[2]||(i[2]=e=>m("contextmenu",e))},[r.$slots.icon||r.icon||e.unref(u)?(e.openBlock(),e.createElementBlock("span",t,[e.unref(u)?(e.openBlock(),e.createBlock(e.unref(o),{key:1,"is-size-inherit":""})):e.renderSlot(r.$slots,"icon",{key:0},()=>[r.icon?(e.openBlock(),e.createBlock(e.unref(n),{key:0})):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"default")],42,l))}});module.exports=r;
|
package/lib/Link/type.d.ts
CHANGED
package/lib/List/List.vue.d.ts
CHANGED
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
|
|
8
8
|
$data: {};
|
9
9
|
$props: {
|
10
10
|
readonly type?: import('../Scrollbar').TackType | undefined;
|
11
|
-
readonly outerClass?: import('
|
11
|
+
readonly outerClass?: import('..').ClassName | undefined;
|
12
12
|
readonly outerStyle?: import('vue').CSSProperties | undefined;
|
13
13
|
readonly scrollbar?: boolean | undefined;
|
14
14
|
readonly onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
|
@@ -42,7 +42,7 @@ declare function __VLS_template(): {
|
|
42
42
|
}, string, {
|
43
43
|
scrollbar: boolean;
|
44
44
|
type: import('../Scrollbar').TackType;
|
45
|
-
outerClass: import('
|
45
|
+
outerClass: import('..').ClassName;
|
46
46
|
outerStyle: import('vue').CSSProperties;
|
47
47
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
48
48
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -67,7 +67,7 @@ declare function __VLS_template(): {
|
|
67
67
|
} & Readonly<{
|
68
68
|
scrollbar: boolean;
|
69
69
|
type: import('../Scrollbar').TackType;
|
70
|
-
outerClass: import('
|
70
|
+
outerClass: import('..').ClassName;
|
71
71
|
outerStyle: import('vue').CSSProperties;
|
72
72
|
}> & Omit<Readonly<import('../Scrollbar').ScrollbarProps> & Readonly<{
|
73
73
|
onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
|
@@ -83,7 +83,7 @@ declare function __VLS_template(): {
|
|
83
83
|
$: import('vue').ComponentInternalInstance;
|
84
84
|
$data: {};
|
85
85
|
$props: {
|
86
|
-
readonly data: import('
|
86
|
+
readonly data: import('..').RecordType[];
|
87
87
|
readonly virtualListProps: import('..').VirtualListProps;
|
88
88
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
89
89
|
$attrs: {
|
@@ -101,7 +101,7 @@ declare function __VLS_template(): {
|
|
101
101
|
$emit: (event: string, ...args: any[]) => void;
|
102
102
|
$el: HTMLDivElement;
|
103
103
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
104
|
-
data: import('
|
104
|
+
data: import('..').RecordType[];
|
105
105
|
virtualListProps: import('..').VirtualListProps;
|
106
106
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
107
107
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -124,13 +124,13 @@ declare function __VLS_template(): {
|
|
124
124
|
$nextTick: typeof import('vue').nextTick;
|
125
125
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
126
126
|
} & Readonly<{}> & Omit<Readonly<{
|
127
|
-
data: import('
|
127
|
+
data: import('..').RecordType[];
|
128
128
|
virtualListProps: import('..').VirtualListProps;
|
129
129
|
}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
130
130
|
$slots: {
|
131
131
|
item?(_: {
|
132
132
|
index: number;
|
133
|
-
item: import('
|
133
|
+
item: import('..').RecordType;
|
134
134
|
}): any;
|
135
135
|
};
|
136
136
|
}) | null;
|
@@ -151,7 +151,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
151
151
|
}>, {
|
152
152
|
size: import('./type').ListSize;
|
153
153
|
scrollbar: boolean;
|
154
|
-
data: import('
|
154
|
+
data: import('..').RecordType[];
|
155
155
|
hoverable: boolean;
|
156
156
|
split: boolean;
|
157
157
|
loading: boolean;
|
@@ -166,7 +166,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
166
166
|
$data: {};
|
167
167
|
$props: {
|
168
168
|
readonly type?: import('../Scrollbar').TackType | undefined;
|
169
|
-
readonly outerClass?: import('
|
169
|
+
readonly outerClass?: import('..').ClassName | undefined;
|
170
170
|
readonly outerStyle?: import('vue').CSSProperties | undefined;
|
171
171
|
readonly scrollbar?: boolean | undefined;
|
172
172
|
readonly onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
|
@@ -200,7 +200,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
200
200
|
}, string, {
|
201
201
|
scrollbar: boolean;
|
202
202
|
type: import('../Scrollbar').TackType;
|
203
|
-
outerClass: import('
|
203
|
+
outerClass: import('..').ClassName;
|
204
204
|
outerStyle: import('vue').CSSProperties;
|
205
205
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
206
206
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -225,7 +225,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
225
225
|
} & Readonly<{
|
226
226
|
scrollbar: boolean;
|
227
227
|
type: import('../Scrollbar').TackType;
|
228
|
-
outerClass: import('
|
228
|
+
outerClass: import('..').ClassName;
|
229
229
|
outerStyle: import('vue').CSSProperties;
|
230
230
|
}> & Omit<Readonly<import('../Scrollbar').ScrollbarProps> & Readonly<{
|
231
231
|
onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
|
@@ -241,7 +241,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
241
241
|
$: import('vue').ComponentInternalInstance;
|
242
242
|
$data: {};
|
243
243
|
$props: {
|
244
|
-
readonly data: import('
|
244
|
+
readonly data: import('..').RecordType[];
|
245
245
|
readonly virtualListProps: import('..').VirtualListProps;
|
246
246
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
247
247
|
$attrs: {
|
@@ -259,7 +259,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
259
259
|
$emit: (event: string, ...args: any[]) => void;
|
260
260
|
$el: HTMLDivElement;
|
261
261
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
262
|
-
data: import('
|
262
|
+
data: import('..').RecordType[];
|
263
263
|
virtualListProps: import('..').VirtualListProps;
|
264
264
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
265
265
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -282,13 +282,13 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
282
282
|
$nextTick: typeof import('vue').nextTick;
|
283
283
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
284
284
|
} & Readonly<{}> & Omit<Readonly<{
|
285
|
-
data: import('
|
285
|
+
data: import('..').RecordType[];
|
286
286
|
virtualListProps: import('..').VirtualListProps;
|
287
287
|
}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
288
288
|
$slots: {
|
289
289
|
item?(_: {
|
290
290
|
index: number;
|
291
|
-
item: import('
|
291
|
+
item: import('..').RecordType;
|
292
292
|
}): any;
|
293
293
|
};
|
294
294
|
}) | null;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { VirtualListProps } from '../Select';
|
2
|
-
import {
|
2
|
+
import { RecordType } from '../_shared/type';
|
3
3
|
type __VLS_Props = {
|
4
|
-
data:
|
4
|
+
data: RecordType[];
|
5
5
|
virtualListProps: VirtualListProps;
|
6
6
|
};
|
7
7
|
declare function __VLS_template(): {
|
@@ -9,7 +9,7 @@ declare function __VLS_template(): {
|
|
9
9
|
slots: {
|
10
10
|
item?(_: {
|
11
11
|
index: number;
|
12
|
-
item:
|
12
|
+
item: RecordType;
|
13
13
|
}): any;
|
14
14
|
};
|
15
15
|
refs: {};
|
package/lib/List/index.d.ts
CHANGED
@@ -20,7 +20,7 @@ declare const List: {
|
|
20
20
|
}, import('vue').PublicProps, {
|
21
21
|
size: import('./type').ListSize;
|
22
22
|
scrollbar: boolean;
|
23
|
-
data: import('
|
23
|
+
data: import('..').RecordType[];
|
24
24
|
hoverable: boolean;
|
25
25
|
split: boolean;
|
26
26
|
loading: boolean;
|
@@ -35,7 +35,7 @@ declare const List: {
|
|
35
35
|
$data: {};
|
36
36
|
$props: {
|
37
37
|
readonly type?: import('..').TackType | undefined;
|
38
|
-
readonly outerClass?: import('
|
38
|
+
readonly outerClass?: import('..').ClassName | undefined;
|
39
39
|
readonly outerStyle?: import('vue').CSSProperties | undefined;
|
40
40
|
readonly scrollbar?: boolean | undefined;
|
41
41
|
readonly onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
|
@@ -69,7 +69,7 @@ declare const List: {
|
|
69
69
|
}, string, {
|
70
70
|
scrollbar: boolean;
|
71
71
|
type: import('..').TackType;
|
72
|
-
outerClass: import('
|
72
|
+
outerClass: import('..').ClassName;
|
73
73
|
outerStyle: import('vue').CSSProperties;
|
74
74
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
75
75
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -94,7 +94,7 @@ declare const List: {
|
|
94
94
|
} & Readonly<{
|
95
95
|
scrollbar: boolean;
|
96
96
|
type: import('..').TackType;
|
97
|
-
outerClass: import('
|
97
|
+
outerClass: import('..').ClassName;
|
98
98
|
outerStyle: import('vue').CSSProperties;
|
99
99
|
}> & Omit<Readonly<import('..').ScrollbarProps> & Readonly<{
|
100
100
|
onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
|
@@ -110,7 +110,7 @@ declare const List: {
|
|
110
110
|
$: import('vue').ComponentInternalInstance;
|
111
111
|
$data: {};
|
112
112
|
$props: {
|
113
|
-
readonly data: import('
|
113
|
+
readonly data: import('..').RecordType[];
|
114
114
|
readonly virtualListProps: import('..').VirtualListProps;
|
115
115
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
116
116
|
$attrs: {
|
@@ -128,7 +128,7 @@ declare const List: {
|
|
128
128
|
$emit: (event: string, ...args: any[]) => void;
|
129
129
|
$el: HTMLDivElement;
|
130
130
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
131
|
-
data: import('
|
131
|
+
data: import('..').RecordType[];
|
132
132
|
virtualListProps: import('..').VirtualListProps;
|
133
133
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
134
134
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -151,13 +151,13 @@ declare const List: {
|
|
151
151
|
$nextTick: typeof import('vue').nextTick;
|
152
152
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
153
153
|
} & Readonly<{}> & Omit<Readonly<{
|
154
|
-
data: import('
|
154
|
+
data: import('..').RecordType[];
|
155
155
|
virtualListProps: import('..').VirtualListProps;
|
156
156
|
}> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
157
157
|
$slots: {
|
158
158
|
item?(_: {
|
159
159
|
index: number;
|
160
|
-
item: import('
|
160
|
+
item: import('..').RecordType;
|
161
161
|
}): any;
|
162
162
|
};
|
163
163
|
}) | null;
|
@@ -176,7 +176,7 @@ declare const List: {
|
|
176
176
|
}>, {}, {}, {}, {}, {
|
177
177
|
size: import('./type').ListSize;
|
178
178
|
scrollbar: boolean;
|
179
|
-
data: import('
|
179
|
+
data: import('..').RecordType[];
|
180
180
|
hoverable: boolean;
|
181
181
|
split: boolean;
|
182
182
|
loading: boolean;
|
@@ -202,7 +202,7 @@ declare const List: {
|
|
202
202
|
}, string, {
|
203
203
|
size: import('./type').ListSize;
|
204
204
|
scrollbar: boolean;
|
205
|
-
data: import('
|
205
|
+
data: import('..').RecordType[];
|
206
206
|
hoverable: boolean;
|
207
207
|
split: boolean;
|
208
208
|
loading: boolean;
|
package/lib/List/type.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { Direction,
|
1
|
+
import { Direction, RecordType } from '../_shared/type';
|
2
2
|
import { PaginationProps } from '../Pagination';
|
3
3
|
import { VirtualListProps } from '../Select';
|
4
4
|
import { VNode } from 'vue';
|
5
5
|
export interface ListProps {
|
6
|
-
data?:
|
6
|
+
data?: RecordType[];
|
7
7
|
size?: ListSize;
|
8
8
|
bordered?: boolean;
|
9
9
|
split?: boolean;
|
@@ -29,7 +29,7 @@ export interface ListSlots {
|
|
29
29
|
'scroll-loading'?: () => VNode[];
|
30
30
|
item?: (scope: {
|
31
31
|
index: number;
|
32
|
-
item:
|
32
|
+
item: RecordType;
|
33
33
|
}) => VNode[];
|
34
34
|
}
|
35
35
|
export interface ListItemProps {
|
package/lib/Mention/index.d.ts
CHANGED
@@ -9,7 +9,7 @@ declare const Mention: {
|
|
9
9
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
10
10
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
11
11
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
12
|
-
onSelect?: ((value: import('..').
|
12
|
+
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
13
13
|
onSearch?: ((value: string) => any) | undefined;
|
14
14
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
15
15
|
}>, {
|
@@ -21,12 +21,12 @@ declare const Mention: {
|
|
21
21
|
clear: (ev: MouseEvent) => any;
|
22
22
|
blur: (ev: FocusEvent) => any;
|
23
23
|
input: (value: string, ev: Event) => any;
|
24
|
-
select: (value: import('..').
|
24
|
+
select: (value: import('..').SelectOptionValue) => any;
|
25
25
|
search: (value: string) => any;
|
26
26
|
"update:modelValue": (value: string) => any;
|
27
27
|
}, import('vue').PublicProps, {
|
28
28
|
disabled: boolean;
|
29
|
-
type:
|
29
|
+
type: import('./type').MentionType;
|
30
30
|
data: import('..').SelectOption[];
|
31
31
|
split: string;
|
32
32
|
modelValue: string;
|
@@ -44,7 +44,7 @@ declare const Mention: {
|
|
44
44
|
readonly data?: import('..').SelectOption[] | undefined;
|
45
45
|
readonly popupContainer?: import('..').PopupContainer | undefined;
|
46
46
|
readonly strict?: boolean | undefined;
|
47
|
-
readonly filterOption?: (
|
47
|
+
readonly filterOption?: import('..').FilterOption<import('..').SelectOptionData> | undefined;
|
48
48
|
readonly triggerProps?: import('..').TriggerProps | undefined;
|
49
49
|
readonly allowClear?: boolean | undefined;
|
50
50
|
readonly vistualListProps?: import('..').VirtualListProps | undefined;
|
@@ -92,12 +92,12 @@ declare const Mention: {
|
|
92
92
|
readonly popupVisible?: boolean | undefined;
|
93
93
|
readonly defaultPopupVisible?: boolean | undefined;
|
94
94
|
readonly unmountonClose?: boolean | undefined;
|
95
|
-
readonly filterOption?: import('..').FilterOption | undefined;
|
95
|
+
readonly filterOption?: (boolean | import('..').FilterOption<import('..').SelectOptionData>) | undefined;
|
96
96
|
readonly options?: import('..').SelectOption[] | undefined;
|
97
97
|
readonly virtualListProps?: import('..').VirtualListProps | undefined;
|
98
98
|
readonly triggerProps?: import('..').TriggerProps | undefined;
|
99
|
-
readonly formatLabel?: import('..').
|
100
|
-
readonly fallbackOption?: import('..').
|
99
|
+
readonly formatLabel?: import('..').Format<import('..').SelectOptionData> | undefined;
|
100
|
+
readonly fallbackOption?: import('..').FallBack<import('..').SelectOptionValue, import('..').SelectOptionData> | undefined;
|
101
101
|
readonly showExtraOptions?: boolean | undefined;
|
102
102
|
readonly valueKey?: string | undefined;
|
103
103
|
readonly searchDelay?: number | undefined;
|
@@ -113,13 +113,13 @@ declare const Mention: {
|
|
113
113
|
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
114
114
|
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
115
115
|
readonly onClear?: (() => any) | undefined;
|
116
|
-
readonly onSelect?: ((value: import('..').
|
116
|
+
readonly onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
117
117
|
readonly onSearch?: ((value: string) => any) | undefined;
|
118
118
|
readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
119
119
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
120
120
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
121
121
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
122
|
-
readonly onExceedLimit?: ((value: import('..').
|
122
|
+
readonly onExceedLimit?: ((value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
123
123
|
readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
124
124
|
readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
125
125
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
@@ -136,7 +136,7 @@ declare const Mention: {
|
|
136
136
|
readonly popupVisible?: boolean | undefined;
|
137
137
|
readonly defaultPopupVisible?: boolean | undefined;
|
138
138
|
readonly trigger?: import('..').TriggerType | undefined;
|
139
|
-
readonly position?: import('..').
|
139
|
+
readonly position?: import('..').PopupPosition | undefined;
|
140
140
|
readonly disabled?: boolean | undefined;
|
141
141
|
readonly popupOffset?: number | undefined;
|
142
142
|
readonly popupTranslate?: number[] | undefined;
|
@@ -146,9 +146,9 @@ declare const Mention: {
|
|
146
146
|
readonly clickToClose?: boolean | undefined;
|
147
147
|
readonly clickOutsideToClose?: boolean | undefined;
|
148
148
|
readonly unmountOnClose?: boolean | undefined;
|
149
|
-
readonly contentClass?: import('
|
149
|
+
readonly contentClass?: import('..').ClassName | undefined;
|
150
150
|
readonly contentStyle?: import('vue').CSSProperties | undefined;
|
151
|
-
readonly arrowClass?: import('
|
151
|
+
readonly arrowClass?: import('..').ClassName | undefined;
|
152
152
|
readonly arrowStyle?: import('vue').CSSProperties | undefined;
|
153
153
|
readonly animationName?: string | undefined;
|
154
154
|
readonly duration?: number | undefined;
|
@@ -282,14 +282,14 @@ declare const Mention: {
|
|
282
282
|
scrollToClose: boolean;
|
283
283
|
autoSetPosition: boolean;
|
284
284
|
alignPoint: boolean;
|
285
|
-
position: import('..').
|
285
|
+
position: import('..').PopupPosition;
|
286
286
|
popupOffset: number;
|
287
287
|
popupTranslate: number[];
|
288
288
|
showArrow: boolean;
|
289
289
|
unmountOnClose: boolean;
|
290
|
-
contentClass: import('
|
290
|
+
contentClass: import('..').ClassName;
|
291
291
|
contentStyle: import('vue').CSSProperties;
|
292
|
-
arrowClass: import('
|
292
|
+
arrowClass: import('..').ClassName;
|
293
293
|
arrowStyle: import('vue').CSSProperties;
|
294
294
|
animationName: string;
|
295
295
|
duration: number;
|
@@ -336,14 +336,14 @@ declare const Mention: {
|
|
336
336
|
scrollToClose: boolean;
|
337
337
|
autoSetPosition: boolean;
|
338
338
|
alignPoint: boolean;
|
339
|
-
position: import('..').
|
339
|
+
position: import('..').PopupPosition;
|
340
340
|
popupOffset: number;
|
341
341
|
popupTranslate: number[];
|
342
342
|
showArrow: boolean;
|
343
343
|
unmountOnClose: boolean;
|
344
|
-
contentClass: import('
|
344
|
+
contentClass: import('..').ClassName;
|
345
345
|
contentStyle: import('vue').CSSProperties;
|
346
|
-
arrowClass: import('
|
346
|
+
arrowClass: import('..').ClassName;
|
347
347
|
arrowStyle: import('vue').CSSProperties;
|
348
348
|
animationName: string;
|
349
349
|
duration: number;
|
@@ -383,7 +383,7 @@ declare const Mention: {
|
|
383
383
|
readonly size?: import('..').Size | undefined;
|
384
384
|
readonly maxTagCount?: number | undefined;
|
385
385
|
readonly retainInputValue?: import('..').InputRetainValue | undefined;
|
386
|
-
readonly formatTag?: import('..').
|
386
|
+
readonly formatTag?: import('..').Format<import('..').TagData> | undefined;
|
387
387
|
readonly uniqueValue?: boolean | undefined;
|
388
388
|
readonly tagNowrap?: boolean | undefined;
|
389
389
|
readonly fieldNames?: Record<string, string> | undefined;
|
@@ -515,20 +515,20 @@ declare const Mention: {
|
|
515
515
|
$root: import('vue').ComponentPublicInstance | null;
|
516
516
|
$parent: import('vue').ComponentPublicInstance | null;
|
517
517
|
$host: Element | null;
|
518
|
-
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('..').
|
518
|
+
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('..').SelectOptionValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('..').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "exceedLimit", value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
519
519
|
$el: any;
|
520
520
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
|
521
521
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
522
522
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
523
523
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
524
524
|
onClear?: (() => any) | undefined;
|
525
|
-
onSelect?: ((value: import('..').
|
525
|
+
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
526
526
|
onSearch?: ((value: string) => any) | undefined;
|
527
527
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
528
528
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
529
529
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
530
530
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
531
|
-
onExceedLimit?: ((value: import('..').
|
531
|
+
onExceedLimit?: ((value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
532
532
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
533
533
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
534
534
|
}>, {
|
@@ -540,13 +540,13 @@ declare const Mention: {
|
|
540
540
|
"update:popupVisible": (value: boolean) => any;
|
541
541
|
"popup-visible-change": (value: boolean) => any;
|
542
542
|
clear: () => any;
|
543
|
-
select: (value: import('..').
|
543
|
+
select: (value: import('..').SelectOptionValue) => any;
|
544
544
|
search: (value: string) => any;
|
545
545
|
"update:modelValue": (value: import('..').SelectValue) => any;
|
546
546
|
"update:inputValue": (value: string) => any;
|
547
547
|
"input-value-change": (value: string) => any;
|
548
548
|
remove: (index: string | number, ev: Event) => any;
|
549
|
-
exceedLimit: (value: import('..').
|
549
|
+
exceedLimit: (value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any;
|
550
550
|
"dropdown-scroll": (ev: Event) => any;
|
551
551
|
"dropdown-reach-bottom": (ev: Event) => any;
|
552
552
|
}, string, {
|
@@ -575,7 +575,7 @@ declare const Mention: {
|
|
575
575
|
showEmpty: boolean;
|
576
576
|
allowCreate: boolean;
|
577
577
|
maxTagCount: number;
|
578
|
-
filterOption: import('..').FilterOption
|
578
|
+
filterOption: boolean | import('..').FilterOption<import('..').SelectOptionData>;
|
579
579
|
virtualListProps: import('..').VirtualListProps;
|
580
580
|
triggerProps: import('..').TriggerProps;
|
581
581
|
searchDelay: number;
|
@@ -628,7 +628,7 @@ declare const Mention: {
|
|
628
628
|
showEmpty: boolean;
|
629
629
|
allowCreate: boolean;
|
630
630
|
maxTagCount: number;
|
631
|
-
filterOption: import('..').FilterOption
|
631
|
+
filterOption: boolean | import('..').FilterOption<import('..').SelectOptionData>;
|
632
632
|
virtualListProps: import('..').VirtualListProps;
|
633
633
|
triggerProps: import('..').TriggerProps;
|
634
634
|
searchDelay: number;
|
@@ -640,13 +640,13 @@ declare const Mention: {
|
|
640
640
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
641
641
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
642
642
|
onClear?: (() => any) | undefined;
|
643
|
-
onSelect?: ((value: import('..').
|
643
|
+
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
644
644
|
onSearch?: ((value: string) => any) | undefined;
|
645
645
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
646
646
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
647
647
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
648
648
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
649
|
-
onExceedLimit?: ((value: import('..').
|
649
|
+
onExceedLimit?: ((value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
650
650
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
651
651
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
652
652
|
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "error" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
@@ -779,7 +779,7 @@ declare const Mention: {
|
|
779
779
|
modelValue: string;
|
780
780
|
defaultValue: string;
|
781
781
|
allowClear: boolean;
|
782
|
-
filterOption: (
|
782
|
+
filterOption: import('..').FilterOption<import('..').SelectOptionData>;
|
783
783
|
triggerProps: import('..').TriggerProps;
|
784
784
|
isSelectSetValue: boolean;
|
785
785
|
isSearch: boolean;
|
@@ -812,7 +812,7 @@ declare const Mention: {
|
|
812
812
|
modelValue: string;
|
813
813
|
defaultValue: string;
|
814
814
|
allowClear: boolean;
|
815
|
-
filterOption: (
|
815
|
+
filterOption: import('..').FilterOption<import('..').SelectOptionData>;
|
816
816
|
triggerProps: import('..').TriggerProps;
|
817
817
|
isSelectSetValue: boolean;
|
818
818
|
isSearch: boolean;
|
@@ -850,7 +850,7 @@ declare const Mention: {
|
|
850
850
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
851
851
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
852
852
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
853
|
-
onSelect?: ((value: import('..').
|
853
|
+
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
854
854
|
onSearch?: ((value: string) => any) | undefined;
|
855
855
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
856
856
|
}>, {
|
@@ -858,7 +858,7 @@ declare const Mention: {
|
|
858
858
|
blur(): void;
|
859
859
|
}, {}, {}, {}, {
|
860
860
|
disabled: boolean;
|
861
|
-
type:
|
861
|
+
type: import('./type').MentionType;
|
862
862
|
data: import('..').SelectOption[];
|
863
863
|
split: string;
|
864
864
|
modelValue: string;
|
@@ -875,7 +875,7 @@ declare const Mention: {
|
|
875
875
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
876
876
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
877
877
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
878
|
-
onSelect?: ((value: import('..').
|
878
|
+
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
879
879
|
onSearch?: ((value: string) => any) | undefined;
|
880
880
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
881
881
|
}>, {
|
@@ -887,12 +887,12 @@ declare const Mention: {
|
|
887
887
|
clear: (ev: MouseEvent) => any;
|
888
888
|
blur: (ev: FocusEvent) => any;
|
889
889
|
input: (value: string, ev: Event) => any;
|
890
|
-
select: (value: import('..').
|
890
|
+
select: (value: import('..').SelectOptionValue) => any;
|
891
891
|
search: (value: string) => any;
|
892
892
|
"update:modelValue": (value: string) => any;
|
893
893
|
}, string, {
|
894
894
|
disabled: boolean;
|
895
|
-
type:
|
895
|
+
type: import('./type').MentionType;
|
896
896
|
data: import('..').SelectOption[];
|
897
897
|
split: string;
|
898
898
|
modelValue: string;
|