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/es/Tabs/TabButton.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } from "vue";
|
2
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
3
|
-
/* empty css
|
2
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
3
|
+
/* empty css */
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/time.js";
|
package/es/Tabs/Tabs.vue.d.ts
CHANGED
@@ -22,7 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<TabsProps, {}, {},
|
|
22
22
|
"onTab-click"?: ((value: import('./type').TabKey) => any) | undefined;
|
23
23
|
}>, {
|
24
24
|
size: import('..').Size;
|
25
|
-
trigger: import('
|
25
|
+
trigger: import('..').EventTrigger;
|
26
26
|
position: import('./type').TabPositon;
|
27
27
|
justify: boolean;
|
28
28
|
type: import('./type').TabType;
|
package/es/Tabs/Tabs.vue.js
CHANGED
@@ -6,7 +6,7 @@ import { findComponentsFromVnodes } from "../_shared/utils/vue-utils.js";
|
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useContext from "./hooks/useContext.js";
|
8
8
|
import useTabsScroll from "./hooks/useTabsScroll.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import _sfc_main$3 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { RecordType } from '../_shared/type';
|
2
2
|
type __VLS_Props = {
|
3
3
|
curIndex: number;
|
4
|
-
panes:
|
4
|
+
panes: RecordType[];
|
5
5
|
};
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
7
7
|
export default _default;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { Ref, Slots } from 'vue';
|
2
|
-
import { TabPaneProps as _TabPaneProps, TabKey, TabsEmits,
|
3
|
-
import { Direction,
|
2
|
+
import { TabPaneProps as _TabPaneProps, TabKey, TabsEmits, TabType, TabPositon } from '../type';
|
3
|
+
import { Direction, EventTrigger, RecordType, Required, Size } from '../../_shared/type';
|
4
4
|
type TabsContext = {
|
5
5
|
computedActiveKey: Ref<TabKey>;
|
6
6
|
type: Ref<TabType>;
|
7
|
-
trigger: Ref<
|
7
|
+
trigger: Ref<EventTrigger>;
|
8
8
|
direction: Ref<Direction>;
|
9
9
|
position: Ref<TabPositon>;
|
10
10
|
editable: Ref<boolean>;
|
@@ -16,12 +16,12 @@ type TabsContext = {
|
|
16
16
|
size: Ref<Size>;
|
17
17
|
emits: TabsEmits;
|
18
18
|
};
|
19
|
-
type TabPaneProps =
|
19
|
+
type TabPaneProps = Required<_TabPaneProps>;
|
20
20
|
export type PaneNode = {
|
21
21
|
slots: Slots;
|
22
22
|
} & TabPaneProps;
|
23
23
|
declare const _default: () => {
|
24
|
-
provide: (props:
|
24
|
+
provide: (props: RecordType, emits: TabsEmits, listRef: Ref<HTMLDivElement | undefined>) => {
|
25
25
|
computedActiveKey: import('vue').WritableComputedRef<TabKey, TabKey>;
|
26
26
|
size: import('vue').ComputedRef<any>;
|
27
27
|
direction: import('vue').ComputedRef<Direction>;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
|
-
import { Direction,
|
2
|
+
import { Direction, RecordType } from '../../_shared/type';
|
3
3
|
declare const _default: (params: {
|
4
4
|
direction: Ref<Direction>;
|
5
|
-
panes: Ref<
|
5
|
+
panes: Ref<RecordType[]>;
|
6
6
|
listRef: Ref<HTMLDivElement | undefined>;
|
7
7
|
}) => {
|
8
8
|
navHeight: Ref<number, number>;
|
package/es/Tabs/index.d.ts
CHANGED
@@ -19,7 +19,7 @@ declare const Tabs: {
|
|
19
19
|
"tab-click": (value: import('./type').TabKey) => any;
|
20
20
|
}, import('vue').PublicProps, {
|
21
21
|
size: import('..').Size;
|
22
|
-
trigger: import('
|
22
|
+
trigger: import('..').EventTrigger;
|
23
23
|
position: import('./type').TabPositon;
|
24
24
|
justify: boolean;
|
25
25
|
type: import('./type').TabType;
|
@@ -50,7 +50,7 @@ declare const Tabs: {
|
|
50
50
|
"onTab-click"?: ((value: import('./type').TabKey) => any) | undefined;
|
51
51
|
}>, {}, {}, {}, {}, {
|
52
52
|
size: import('..').Size;
|
53
|
-
trigger: import('
|
53
|
+
trigger: import('..').EventTrigger;
|
54
54
|
position: import('./type').TabPositon;
|
55
55
|
justify: boolean;
|
56
56
|
type: import('./type').TabType;
|
@@ -82,7 +82,7 @@ declare const Tabs: {
|
|
82
82
|
"tab-click": (value: import('./type').TabKey) => any;
|
83
83
|
}, string, {
|
84
84
|
size: import('..').Size;
|
85
|
-
trigger: import('
|
85
|
+
trigger: import('..').EventTrigger;
|
86
86
|
position: import('./type').TabPositon;
|
87
87
|
justify: boolean;
|
88
88
|
type: import('./type').TabType;
|
package/es/Tabs/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Direction, Size } from '../_shared/type';
|
1
|
+
import { Direction, Size, EventTrigger } from '../_shared/type';
|
2
2
|
import { VNode } from 'vue';
|
3
3
|
export interface TabsProps {
|
4
4
|
activeKey?: TabKey;
|
@@ -15,7 +15,7 @@ export interface TabsProps {
|
|
15
15
|
headerPadding?: boolean;
|
16
16
|
autoSwitch?: boolean;
|
17
17
|
hideContent?: boolean;
|
18
|
-
trigger?:
|
18
|
+
trigger?: EventTrigger;
|
19
19
|
}
|
20
20
|
export interface TabsEmits {
|
21
21
|
(e: 'update:activeKey', value: TabKey): void;
|
@@ -42,4 +42,3 @@ export interface TabPaneSlots {
|
|
42
42
|
export type TabKey = string | number;
|
43
43
|
export type TabType = 'line' | 'card' | 'card-gutter' | 'text' | 'rounded' | 'capsule';
|
44
44
|
export type TabPositon = 'left' | 'right' | 'bottom' | 'top';
|
45
|
-
export type TabTrigger = 'click' | 'hover';
|
package/es/Tag/index.vue.js
CHANGED
@@ -7,8 +7,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import useControlValue from "../_shared/utils/control.js";
|
9
9
|
import Spin from "../Spin/index.js";
|
10
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
11
|
-
/* empty css
|
10
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
11
|
+
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
/* empty css */
|
14
14
|
const _hoisted_1 = {
|
package/es/Tag/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
|
+
import { Size } from '../_shared/type';
|
2
3
|
export interface TagProps {
|
3
4
|
color?: string;
|
4
5
|
size?: TagSize;
|
@@ -23,4 +24,4 @@ export interface TagSlots {
|
|
23
24
|
icon?: () => VNode[];
|
24
25
|
'close-icon'?: () => VNode[];
|
25
26
|
}
|
26
|
-
export type TagSize =
|
27
|
+
export type TagSize = Exclude<Size, 'mini'>;
|
package/es/Textarea/index.vue.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createBlock, toDisplayString, normalizeStyle, withCtx, createTextVNode } from "vue";
|
2
2
|
import useTextareaHeight from "./hooks/useTextareaHeight.js";
|
3
3
|
import useLimitedInput from "../Input/hooks/useLimitedInput.js";
|
4
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
5
|
-
/* empty css
|
4
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
5
|
+
/* empty css */
|
6
6
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
7
7
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
8
8
|
import "../_shared/utils/dom.js";
|
@@ -6,8 +6,8 @@ import { isValidTimeRange } from "../_shared/utils/time.js";
|
|
6
6
|
import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import useContext from "./hooks/useContext.js";
|
9
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
10
|
-
/* empty css
|
9
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
10
|
+
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
import _sfc_main$2 from "../_shared/icons/IconTime.vue.js";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
2
|
import { TimePickerEmits, TimePickerType, TimePickerValue, TimeUnit, DisabledHours, DisabledMinutes, DisabledSeconds } from '../type';
|
3
|
-
import {
|
3
|
+
import { RecordType } from '../../_shared/type';
|
4
4
|
type TimePickerContext = {
|
5
5
|
type: Ref<TimePickerType>;
|
6
6
|
format: Ref<string>;
|
@@ -25,7 +25,7 @@ type TimePickerCell = {
|
|
25
25
|
value: number;
|
26
26
|
};
|
27
27
|
declare const _default: () => {
|
28
|
-
provide: (props:
|
28
|
+
provide: (props: RecordType, emits: TimePickerEmits) => {
|
29
29
|
computedValue: import('vue').WritableComputedRef<TimePickerValue, TimePickerValue>;
|
30
30
|
computedVisible: import('vue').WritableComputedRef<boolean, boolean>;
|
31
31
|
showClearBtn: import('vue').ComputedRef<boolean | "" | 0>;
|
package/es/TimePicker/type.d.ts
CHANGED
@@ -42,8 +42,8 @@ export interface TimePickerSlots {
|
|
42
42
|
'suffix-icon'?: () => VNode[];
|
43
43
|
extra?: () => VNode[];
|
44
44
|
}
|
45
|
-
export type TimeUnit = 'hour' | 'minute' | 'second';
|
46
45
|
export type TimePickerValue = string | number | Date | (string | number | Date)[];
|
46
|
+
export type TimeUnit = 'hour' | 'minute' | 'second';
|
47
47
|
export type TimePickerType = 'time' | 'time-range';
|
48
48
|
export type TimePickerPosition = 'top' | 'tl' | 'tr' | 'bottom' | 'bl' | 'br';
|
49
49
|
export type DisabledHours = () => number[];
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
2
|
import { TimelineLabelPosition, TimelineMode } from '../type';
|
3
|
-
import {
|
3
|
+
import { Direction, RecordType } from '../../_shared/type';
|
4
4
|
type TimelineContext = {
|
5
5
|
direction: Ref<Direction>;
|
6
6
|
mode: Ref<TimelineMode>;
|
@@ -8,12 +8,12 @@ type TimelineContext = {
|
|
8
8
|
labelPosition: Ref<TimelineLabelPosition>;
|
9
9
|
};
|
10
10
|
declare const _default: () => {
|
11
|
-
provide: (props:
|
11
|
+
provide: (props: RecordType) => {
|
12
12
|
direction: Ref<Direction, Direction>;
|
13
13
|
mode: import('vue').ComputedRef<TimelineMode>;
|
14
|
-
timelineItems: import('vue').ComputedRef<(import('
|
14
|
+
timelineItems: import('vue').ComputedRef<(import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
15
15
|
[key: string]: any;
|
16
|
-
}>)[]>;
|
16
|
+
}> | RecordType)[]>;
|
17
17
|
};
|
18
18
|
inject: () => TimelineContext;
|
19
19
|
};
|
package/es/Tooltip/index.d.ts
CHANGED
@@ -16,10 +16,10 @@ declare const Tooltip: {
|
|
16
16
|
mini: boolean;
|
17
17
|
popupVisible: boolean;
|
18
18
|
defaultPopupVisible: boolean;
|
19
|
-
position: import('..').
|
20
|
-
contentClass: import('
|
19
|
+
position: import('..').PopupPosition;
|
20
|
+
contentClass: import('..').ClassName;
|
21
21
|
contentStyle: import('vue').CSSProperties;
|
22
|
-
arrowClass: import('
|
22
|
+
arrowClass: import('..').ClassName;
|
23
23
|
arrowStyle: import('vue').CSSProperties;
|
24
24
|
popupContainer: import('..').PopupContainer;
|
25
25
|
content: string;
|
@@ -42,10 +42,10 @@ declare const Tooltip: {
|
|
42
42
|
mini: boolean;
|
43
43
|
popupVisible: boolean;
|
44
44
|
defaultPopupVisible: boolean;
|
45
|
-
position: import('..').
|
46
|
-
contentClass: import('
|
45
|
+
position: import('..').PopupPosition;
|
46
|
+
contentClass: import('..').ClassName;
|
47
47
|
contentStyle: import('vue').CSSProperties;
|
48
|
-
arrowClass: import('
|
48
|
+
arrowClass: import('..').ClassName;
|
49
49
|
arrowStyle: import('vue').CSSProperties;
|
50
50
|
popupContainer: import('..').PopupContainer;
|
51
51
|
content: string;
|
@@ -68,10 +68,10 @@ declare const Tooltip: {
|
|
68
68
|
mini: boolean;
|
69
69
|
popupVisible: boolean;
|
70
70
|
defaultPopupVisible: boolean;
|
71
|
-
position: import('..').
|
72
|
-
contentClass: import('
|
71
|
+
position: import('..').PopupPosition;
|
72
|
+
contentClass: import('..').ClassName;
|
73
73
|
contentStyle: import('vue').CSSProperties;
|
74
|
-
arrowClass: import('
|
74
|
+
arrowClass: import('..').ClassName;
|
75
75
|
arrowStyle: import('vue').CSSProperties;
|
76
76
|
popupContainer: import('..').PopupContainer;
|
77
77
|
content: string;
|
@@ -20,10 +20,10 @@ declare const __VLS_component: import('vue').DefineComponent<TooltipProps, {
|
|
20
20
|
mini: boolean;
|
21
21
|
popupVisible: boolean;
|
22
22
|
defaultPopupVisible: boolean;
|
23
|
-
position: import('
|
24
|
-
contentClass: import('
|
23
|
+
position: import('..').PopupPosition;
|
24
|
+
contentClass: import('..').ClassName;
|
25
25
|
contentStyle: CSSProperties;
|
26
|
-
arrowClass: import('
|
26
|
+
arrowClass: import('..').ClassName;
|
27
27
|
arrowStyle: CSSProperties;
|
28
28
|
popupContainer: import('..').PopupContainer;
|
29
29
|
content: string;
|
package/es/Tooltip/type.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { CSSProperties, VNode } from 'vue';
|
2
|
-
import { ClassName, PopupContainer } from '../_shared/type';
|
3
|
-
import {
|
2
|
+
import { ClassName, PopupContainer, PopupPosition } from '../_shared/type';
|
3
|
+
import { TriggerProps } from '../Trigger/type';
|
4
4
|
export interface TooltipProps {
|
5
5
|
popupVisible?: boolean;
|
6
6
|
defaultPopupVisible?: boolean;
|
7
7
|
content?: string;
|
8
|
-
position?:
|
8
|
+
position?: PopupPosition;
|
9
9
|
mini?: boolean;
|
10
10
|
backgroundColor?: string;
|
11
11
|
contentClass?: ClassName;
|
@@ -4,7 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
4
4
|
import "../_shared/utils/dom.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, createBlock, unref, resolveDynamicComponent, Fragment, withCtx, createTextVNode, toDisplayString, createVNode, mergeProps, renderList, normalizeClass } from "vue";
|
2
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
3
|
-
/* empty css
|
2
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
3
|
+
/* empty css */
|
4
4
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
5
5
|
import "../_shared/utils/dom.js";
|
6
6
|
import "../_shared/utils/time.js";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Ref, Slots } from 'vue';
|
2
2
|
import { TransferEmits, TransferItem, TransferItemValue } from '../type';
|
3
3
|
import { InputProps } from '../../Input';
|
4
|
-
import {
|
4
|
+
import { RecordType } from '../../_shared/type';
|
5
5
|
type TransferContext = {
|
6
6
|
computedValue: Ref<TransferItemValue[]>;
|
7
7
|
computedSelected: Ref<TransferItemValue[]>;
|
@@ -21,7 +21,7 @@ type TransferContext = {
|
|
21
21
|
emits: TransferEmits;
|
22
22
|
};
|
23
23
|
declare const _default: () => {
|
24
|
-
provide: (props:
|
24
|
+
provide: (props: RecordType, emits: TransferEmits) => {
|
25
25
|
computedValue: import('vue').WritableComputedRef<TransferItemValue[], TransferItemValue[]>;
|
26
26
|
targetChecked: import('vue').ComputedRef<TransferItemValue[]>;
|
27
27
|
computedSelected: import('vue').WritableComputedRef<TransferItemValue[], TransferItemValue[]>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
2
|
import { TriggerType, TriggerProps as _TriggerProps } from '../type';
|
3
|
-
import {
|
4
|
-
export type TriggerProps =
|
3
|
+
import { Required } from '../../_shared/type';
|
4
|
+
export type TriggerProps = Required<_TriggerProps>;
|
5
5
|
/**
|
6
6
|
* depth 记录组件内部嵌套的层级,当curHoverLevel小于level关闭
|
7
7
|
* curDepth 记录当前hover的层级
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { CSSProperties, Ref } from 'vue';
|
2
|
-
import {
|
3
|
-
import { Props } from '../../_shared/type';
|
2
|
+
import { RecordType, PopupPosition } from '../../_shared/type';
|
4
3
|
declare const _default: (params: {
|
5
|
-
props:
|
4
|
+
props: RecordType;
|
6
5
|
popupRef: Ref<HTMLDivElement | undefined>;
|
7
6
|
triggerRef: Ref<HTMLElement | undefined>;
|
8
7
|
arrowRef: Ref<HTMLElement | undefined>;
|
@@ -10,7 +9,7 @@ declare const _default: (params: {
|
|
10
9
|
mouseX: Ref<number>;
|
11
10
|
mouseY: Ref<number>;
|
12
11
|
}) => {
|
13
|
-
position: Ref<
|
12
|
+
position: Ref<PopupPosition, PopupPosition>;
|
14
13
|
left: import('vue').ShallowRef<number, number>;
|
15
14
|
top: import('vue').ShallowRef<number, number>;
|
16
15
|
bottom: import('vue').ShallowRef<number, number>;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
2
|
import { TriggerEmits } from '../type';
|
3
|
-
import {
|
3
|
+
import { RecordType } from '../../_shared/type';
|
4
4
|
declare const _default: (params: {
|
5
|
-
props:
|
5
|
+
props: RecordType;
|
6
6
|
emits: TriggerEmits;
|
7
7
|
popupRef: Ref<HTMLDivElement | undefined>;
|
8
8
|
triggerRef: Ref<HTMLElement | undefined>;
|
package/es/Trigger/index.d.ts
CHANGED
@@ -32,14 +32,14 @@ declare const Trigger: {
|
|
32
32
|
scrollToClose: boolean;
|
33
33
|
autoSetPosition: boolean;
|
34
34
|
alignPoint: boolean;
|
35
|
-
position: import('
|
35
|
+
position: import('..').PopupPosition;
|
36
36
|
popupOffset: number;
|
37
37
|
popupTranslate: number[];
|
38
38
|
showArrow: boolean;
|
39
39
|
unmountOnClose: boolean;
|
40
|
-
contentClass: import('
|
40
|
+
contentClass: import('..').ClassName;
|
41
41
|
contentStyle: import('vue').CSSProperties;
|
42
|
-
arrowClass: import('
|
42
|
+
arrowClass: import('..').ClassName;
|
43
43
|
arrowStyle: import('vue').CSSProperties;
|
44
44
|
animationName: string;
|
45
45
|
duration: number;
|
@@ -143,14 +143,14 @@ declare const Trigger: {
|
|
143
143
|
scrollToClose: boolean;
|
144
144
|
autoSetPosition: boolean;
|
145
145
|
alignPoint: boolean;
|
146
|
-
position: import('
|
146
|
+
position: import('..').PopupPosition;
|
147
147
|
popupOffset: number;
|
148
148
|
popupTranslate: number[];
|
149
149
|
showArrow: boolean;
|
150
150
|
unmountOnClose: boolean;
|
151
|
-
contentClass: import('
|
151
|
+
contentClass: import('..').ClassName;
|
152
152
|
contentStyle: import('vue').CSSProperties;
|
153
|
-
arrowClass: import('
|
153
|
+
arrowClass: import('..').ClassName;
|
154
154
|
arrowStyle: import('vue').CSSProperties;
|
155
155
|
animationName: string;
|
156
156
|
duration: number;
|
@@ -195,14 +195,14 @@ declare const Trigger: {
|
|
195
195
|
scrollToClose: boolean;
|
196
196
|
autoSetPosition: boolean;
|
197
197
|
alignPoint: boolean;
|
198
|
-
position: import('
|
198
|
+
position: import('..').PopupPosition;
|
199
199
|
popupOffset: number;
|
200
200
|
popupTranslate: number[];
|
201
201
|
showArrow: boolean;
|
202
202
|
unmountOnClose: boolean;
|
203
|
-
contentClass: import('
|
203
|
+
contentClass: import('..').ClassName;
|
204
204
|
contentStyle: import('vue').CSSProperties;
|
205
|
-
arrowClass: import('
|
205
|
+
arrowClass: import('..').ClassName;
|
206
206
|
arrowStyle: import('vue').CSSProperties;
|
207
207
|
animationName: string;
|
208
208
|
duration: number;
|
@@ -96,14 +96,14 @@ declare const __VLS_component: import('vue').DefineComponent<TriggerProps, {
|
|
96
96
|
scrollToClose: boolean;
|
97
97
|
autoSetPosition: boolean;
|
98
98
|
alignPoint: boolean;
|
99
|
-
position: import('
|
99
|
+
position: import('..').PopupPosition;
|
100
100
|
popupOffset: number;
|
101
101
|
popupTranslate: number[];
|
102
102
|
showArrow: boolean;
|
103
103
|
unmountOnClose: boolean;
|
104
|
-
contentClass: import('
|
104
|
+
contentClass: import('..').ClassName;
|
105
105
|
contentStyle: import('vue').CSSProperties;
|
106
|
-
arrowClass: import('
|
106
|
+
arrowClass: import('..').ClassName;
|
107
107
|
arrowStyle: import('vue').CSSProperties;
|
108
108
|
animationName: string;
|
109
109
|
duration: number;
|
package/es/Trigger/index.vue.js
CHANGED
@@ -7,7 +7,7 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import useTriggerVisible from "./hooks/useTriggerVisible.js";
|
9
9
|
import useTriggerPosition from "./hooks/useTriggerPosition.js";
|
10
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
12
12
|
/* empty css */
|
13
13
|
/* empty css */
|
package/es/Trigger/type.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { CSSProperties, VNode } from 'vue';
|
2
|
-
import { ClassName, PopupContainer } from '../_shared/type';
|
2
|
+
import { ClassName, EventTrigger, PopupContainer, PopupPosition } from '../_shared/type';
|
3
3
|
export interface TriggerProps {
|
4
4
|
popupVisible?: boolean;
|
5
5
|
defaultPopupVisible?: boolean;
|
6
6
|
trigger?: TriggerType;
|
7
|
-
position?:
|
7
|
+
position?: PopupPosition;
|
8
8
|
disabled?: boolean;
|
9
9
|
popupOffset?: number;
|
10
10
|
popupTranslate?: number[];
|
@@ -57,5 +57,4 @@ export interface TriggerExpose {
|
|
57
57
|
show(): void;
|
58
58
|
updatePosition(x: number, y: number): void;
|
59
59
|
}
|
60
|
-
export type
|
61
|
-
export type TriggerType = 'hover' | 'click' | 'focus' | 'contextMenu';
|
60
|
+
export type TriggerType = EventTrigger | 'focus' | 'contextMenu';
|
@@ -20,7 +20,7 @@ declare function __VLS_template(): {
|
|
20
20
|
readonly wordLength?: import('../Input').WordLength | undefined;
|
21
21
|
readonly wordSlice?: import('../Input').WordSlice | undefined;
|
22
22
|
readonly showWordLimit?: boolean | undefined;
|
23
|
-
readonly inputAttrs?: import('
|
23
|
+
readonly inputAttrs?: import('..').RecordType | undefined;
|
24
24
|
readonly isPassword?: boolean | undefined;
|
25
25
|
readonly visibility?: boolean | undefined;
|
26
26
|
readonly defaultVisibility?: boolean | undefined;
|
@@ -92,7 +92,7 @@ declare function __VLS_template(): {
|
|
92
92
|
readonly: boolean;
|
93
93
|
wordLength: import('../Input').WordLength;
|
94
94
|
wordSlice: import('../Input').WordSlice;
|
95
|
-
inputAttrs: import('
|
95
|
+
inputAttrs: import('..').RecordType;
|
96
96
|
isPassword: boolean;
|
97
97
|
visibility: boolean;
|
98
98
|
defaultVisibility: boolean;
|
@@ -131,7 +131,7 @@ declare function __VLS_template(): {
|
|
131
131
|
readonly: boolean;
|
132
132
|
wordLength: import('../Input').WordLength;
|
133
133
|
wordSlice: import('../Input').WordSlice;
|
134
|
-
inputAttrs: import('
|
134
|
+
inputAttrs: import('..').RecordType;
|
135
135
|
isPassword: boolean;
|
136
136
|
visibility: boolean;
|
137
137
|
defaultVisibility: boolean;
|
@@ -175,7 +175,6 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
175
175
|
"onEdit-end"?: (() => any) | undefined;
|
176
176
|
}>, {
|
177
177
|
delete: boolean;
|
178
|
-
ellipsis: boolean | import('./type').EllipsisConfig;
|
179
178
|
bold: boolean;
|
180
179
|
underline: boolean;
|
181
180
|
type: import('./type').TypographyType;
|
@@ -209,7 +208,7 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
209
208
|
readonly wordLength?: import('../Input').WordLength | undefined;
|
210
209
|
readonly wordSlice?: import('../Input').WordSlice | undefined;
|
211
210
|
readonly showWordLimit?: boolean | undefined;
|
212
|
-
readonly inputAttrs?: import('
|
211
|
+
readonly inputAttrs?: import('..').RecordType | undefined;
|
213
212
|
readonly isPassword?: boolean | undefined;
|
214
213
|
readonly visibility?: boolean | undefined;
|
215
214
|
readonly defaultVisibility?: boolean | undefined;
|
@@ -281,7 +280,7 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
281
280
|
readonly: boolean;
|
282
281
|
wordLength: import('../Input').WordLength;
|
283
282
|
wordSlice: import('../Input').WordSlice;
|
284
|
-
inputAttrs: import('
|
283
|
+
inputAttrs: import('..').RecordType;
|
285
284
|
isPassword: boolean;
|
286
285
|
visibility: boolean;
|
287
286
|
defaultVisibility: boolean;
|
@@ -320,7 +319,7 @@ declare const __VLS_component: import('vue').DefineComponent<TypographyBaseProps
|
|
320
319
|
readonly: boolean;
|
321
320
|
wordLength: import('../Input').WordLength;
|
322
321
|
wordSlice: import('../Input').WordSlice;
|
323
|
-
inputAttrs: import('
|
322
|
+
inputAttrs: import('..').RecordType;
|
324
323
|
isPassword: boolean;
|
325
324
|
visibility: boolean;
|
326
325
|
defaultVisibility: boolean;
|
@@ -5,11 +5,11 @@ import { getDomText, sleep } from "../_shared/utils/dom.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import { useI18n } from "../_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
|
-
import _sfc_main$3 from "../_shared/icons/IconCopy.
|
12
|
-
import _sfc_main$1 from "../_shared/icons/IconEdit.
|
11
|
+
import _sfc_main$3 from "../_shared/icons/IconCopy.vue.js";
|
12
|
+
import _sfc_main$1 from "../_shared/icons/IconEdit.vue.js";
|
13
13
|
import _sfc_main$2 from "../_shared/icons/IconInfo.vue.js";
|
14
14
|
import Input from "../Input/index.js";
|
15
15
|
import Tooltip from "../Tooltip/index.js";
|
@@ -34,7 +34,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
34
|
copyable: { type: Boolean, default: false },
|
35
35
|
copyText: { default: "" },
|
36
36
|
copyDelay: { default: 3e3 },
|
37
|
-
ellipsis: { type: [Boolean, Object], default: true },
|
38
37
|
editTooltiProps: { default: () => {
|
39
38
|
return {};
|
40
39
|
} },
|
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
|
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<TypographyParagraphProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TypographyParagraphProps> & Readonly<{}>, {
|
10
10
|
blockquote: boolean;
|
11
|
-
spacing:
|
11
|
+
spacing: import('./type').Spacing;
|
12
12
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
13
13
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
14
14
|
export default _default;
|
@@ -34,13 +34,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
34
|
renderSlot(_ctx.$slots, "copy-tooltip", normalizeProps(guardReactiveProps(scope)))
|
35
35
|
]),
|
36
36
|
key: "1"
|
37
|
-
} : void 0,
|
38
|
-
_ctx.$slots["expand-node"] ? {
|
39
|
-
name: "expand-node",
|
40
|
-
fn: withCtx((scope) => [
|
41
|
-
renderSlot(_ctx.$slots, "expand-node", normalizeProps(guardReactiveProps(scope)))
|
42
|
-
]),
|
43
|
-
key: "2"
|
44
37
|
} : void 0
|
45
38
|
]), 1040, ["tag", "class"]);
|
46
39
|
};
|
@@ -27,13 +27,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27
27
|
renderSlot(_ctx.$slots, "copy-tooltip", normalizeProps(guardReactiveProps(scope)))
|
28
28
|
]),
|
29
29
|
key: "1"
|
30
|
-
} : void 0,
|
31
|
-
_ctx.$slots["expand-node"] ? {
|
32
|
-
name: "expand-node",
|
33
|
-
fn: withCtx((scope) => [
|
34
|
-
renderSlot(_ctx.$slots, "expand-node", normalizeProps(guardReactiveProps(scope)))
|
35
|
-
]),
|
36
|
-
key: "2"
|
37
30
|
} : void 0
|
38
31
|
]), 1040);
|
39
32
|
};
|