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/Input/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Size,
|
1
|
+
import { Size, RecordType } from '../_shared/type';
|
2
2
|
import { VNode } from 'vue';
|
3
3
|
export interface InputProps {
|
4
4
|
modelValue?: string;
|
@@ -13,7 +13,7 @@ export interface InputProps {
|
|
13
13
|
wordLength?: WordLength;
|
14
14
|
wordSlice?: WordSlice;
|
15
15
|
showWordLimit?: boolean;
|
16
|
-
inputAttrs?:
|
16
|
+
inputAttrs?: RecordType;
|
17
17
|
isPassword?: boolean;
|
18
18
|
visibility?: boolean;
|
19
19
|
defaultVisibility?: boolean;
|
@@ -19,7 +19,7 @@ declare function __VLS_template(): {
|
|
19
19
|
readonly wordLength?: import('../Input').WordLength | undefined;
|
20
20
|
readonly wordSlice?: import('../Input').WordSlice | undefined;
|
21
21
|
readonly showWordLimit?: boolean | undefined;
|
22
|
-
readonly inputAttrs?: import('
|
22
|
+
readonly inputAttrs?: import('..').RecordType | undefined;
|
23
23
|
readonly isPassword?: boolean | undefined;
|
24
24
|
readonly visibility?: boolean | undefined;
|
25
25
|
readonly defaultVisibility?: boolean | undefined;
|
@@ -91,7 +91,7 @@ declare function __VLS_template(): {
|
|
91
91
|
readonly: boolean;
|
92
92
|
wordLength: import('../Input').WordLength;
|
93
93
|
wordSlice: import('../Input').WordSlice;
|
94
|
-
inputAttrs: import('
|
94
|
+
inputAttrs: import('..').RecordType;
|
95
95
|
isPassword: boolean;
|
96
96
|
visibility: boolean;
|
97
97
|
defaultVisibility: boolean;
|
@@ -130,7 +130,7 @@ declare function __VLS_template(): {
|
|
130
130
|
readonly: boolean;
|
131
131
|
wordLength: import('../Input').WordLength;
|
132
132
|
wordSlice: import('../Input').WordSlice;
|
133
|
-
inputAttrs: import('
|
133
|
+
inputAttrs: import('..').RecordType;
|
134
134
|
isPassword: boolean;
|
135
135
|
visibility: boolean;
|
136
136
|
defaultVisibility: boolean;
|
@@ -189,7 +189,7 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
189
189
|
defaultValue: InputNumberValue;
|
190
190
|
allowClear: boolean;
|
191
191
|
readonly: boolean;
|
192
|
-
inputAttrs: import('
|
192
|
+
inputAttrs: import('..').RecordType;
|
193
193
|
max: number;
|
194
194
|
min: number;
|
195
195
|
precision: number;
|
@@ -212,7 +212,7 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
212
212
|
readonly wordLength?: import('../Input').WordLength | undefined;
|
213
213
|
readonly wordSlice?: import('../Input').WordSlice | undefined;
|
214
214
|
readonly showWordLimit?: boolean | undefined;
|
215
|
-
readonly inputAttrs?: import('
|
215
|
+
readonly inputAttrs?: import('..').RecordType | undefined;
|
216
216
|
readonly isPassword?: boolean | undefined;
|
217
217
|
readonly visibility?: boolean | undefined;
|
218
218
|
readonly defaultVisibility?: boolean | undefined;
|
@@ -284,7 +284,7 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
284
284
|
readonly: boolean;
|
285
285
|
wordLength: import('../Input').WordLength;
|
286
286
|
wordSlice: import('../Input').WordSlice;
|
287
|
-
inputAttrs: import('
|
287
|
+
inputAttrs: import('..').RecordType;
|
288
288
|
isPassword: boolean;
|
289
289
|
visibility: boolean;
|
290
290
|
defaultVisibility: boolean;
|
@@ -323,7 +323,7 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
323
323
|
readonly: boolean;
|
324
324
|
wordLength: import('../Input').WordLength;
|
325
325
|
wordSlice: import('../Input').WordSlice;
|
326
|
-
inputAttrs: import('
|
326
|
+
inputAttrs: import('..').RecordType;
|
327
327
|
isPassword: boolean;
|
328
328
|
visibility: boolean;
|
329
329
|
defaultVisibility: boolean;
|
@@ -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/IconMinus.vue2.js";
|
@@ -34,7 +34,7 @@ declare const InputNumber: {
|
|
34
34
|
defaultValue: import('./type').InputNumberValue;
|
35
35
|
allowClear: boolean;
|
36
36
|
readonly: boolean;
|
37
|
-
inputAttrs: import('
|
37
|
+
inputAttrs: import('..').RecordType;
|
38
38
|
max: number;
|
39
39
|
min: number;
|
40
40
|
precision: number;
|
@@ -57,7 +57,7 @@ declare const InputNumber: {
|
|
57
57
|
readonly wordLength?: import('..').WordLength | undefined;
|
58
58
|
readonly wordSlice?: import('..').WordSlice | undefined;
|
59
59
|
readonly showWordLimit?: boolean | undefined;
|
60
|
-
readonly inputAttrs?: import('
|
60
|
+
readonly inputAttrs?: import('..').RecordType | undefined;
|
61
61
|
readonly isPassword?: boolean | undefined;
|
62
62
|
readonly visibility?: boolean | undefined;
|
63
63
|
readonly defaultVisibility?: boolean | undefined;
|
@@ -129,7 +129,7 @@ declare const InputNumber: {
|
|
129
129
|
readonly: boolean;
|
130
130
|
wordLength: import('..').WordLength;
|
131
131
|
wordSlice: import('..').WordSlice;
|
132
|
-
inputAttrs: import('
|
132
|
+
inputAttrs: import('..').RecordType;
|
133
133
|
isPassword: boolean;
|
134
134
|
visibility: boolean;
|
135
135
|
defaultVisibility: boolean;
|
@@ -168,7 +168,7 @@ declare const InputNumber: {
|
|
168
168
|
readonly: boolean;
|
169
169
|
wordLength: import('..').WordLength;
|
170
170
|
wordSlice: import('..').WordSlice;
|
171
|
-
inputAttrs: import('
|
171
|
+
inputAttrs: import('..').RecordType;
|
172
172
|
isPassword: boolean;
|
173
173
|
visibility: boolean;
|
174
174
|
defaultVisibility: boolean;
|
@@ -221,7 +221,7 @@ declare const InputNumber: {
|
|
221
221
|
defaultValue: import('./type').InputNumberValue;
|
222
222
|
allowClear: boolean;
|
223
223
|
readonly: boolean;
|
224
|
-
inputAttrs: import('
|
224
|
+
inputAttrs: import('..').RecordType;
|
225
225
|
max: number;
|
226
226
|
min: number;
|
227
227
|
precision: number;
|
@@ -262,7 +262,7 @@ declare const InputNumber: {
|
|
262
262
|
defaultValue: import('./type').InputNumberValue;
|
263
263
|
allowClear: boolean;
|
264
264
|
readonly: boolean;
|
265
|
-
inputAttrs: import('
|
265
|
+
inputAttrs: import('..').RecordType;
|
266
266
|
max: number;
|
267
267
|
min: number;
|
268
268
|
precision: number;
|
package/es/InputNumber/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Size,
|
1
|
+
import { Size, RecordType, Format } from '../_shared/type';
|
2
2
|
import { VNode } from 'vue';
|
3
3
|
export interface InputNumberProps {
|
4
4
|
modelValue?: InputNumberValue;
|
@@ -14,10 +14,10 @@ export interface InputNumberProps {
|
|
14
14
|
hideButton?: boolean;
|
15
15
|
size?: Size;
|
16
16
|
allowClear?: boolean;
|
17
|
-
formatter?:
|
17
|
+
formatter?: Format<string>;
|
18
18
|
parser?: InputNumberParser;
|
19
19
|
readonly?: boolean;
|
20
|
-
inputAttrs?:
|
20
|
+
inputAttrs?: RecordType;
|
21
21
|
}
|
22
22
|
export interface InputNumberEmits {
|
23
23
|
(e: 'update:modelValue', value: InputNumberValue): void;
|
@@ -44,5 +44,4 @@ export interface InputNumberExpose {
|
|
44
44
|
}
|
45
45
|
export type InputNumberValue = number | string;
|
46
46
|
export type InputNumberMode = 'embed' | 'button';
|
47
|
-
export type InputNumberFormatter = (value: string) => string;
|
48
47
|
export type InputNumberParser = (value: string) => string;
|
package/es/InputTag/index.vue.js
CHANGED
@@ -9,8 +9,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
9
9
|
import "../_shared/utils/locale.js";
|
10
10
|
import useControlValue from "../_shared/utils/control.js";
|
11
11
|
import Tag from "../Tag/index.js";
|
12
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
13
|
-
/* empty css
|
12
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
13
|
+
/* empty css */
|
14
14
|
import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
|
15
15
|
/* empty css */
|
16
16
|
/* empty css */
|
package/es/InputTag/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Size,
|
1
|
+
import { Size, RecordType, Format } from '../_shared/type';
|
2
2
|
import { TagProps } from '../Tag';
|
3
3
|
import { VNode } from 'vue';
|
4
4
|
export interface InputTagProps {
|
@@ -14,7 +14,7 @@ export interface InputTagProps {
|
|
14
14
|
size?: Size;
|
15
15
|
maxTagCount?: number;
|
16
16
|
retainInputValue?: InputRetainValue;
|
17
|
-
formatTag?:
|
17
|
+
formatTag?: Format<TagData>;
|
18
18
|
uniqueValue?: boolean;
|
19
19
|
tagNowrap?: boolean;
|
20
20
|
fieldNames?: Record<string, string>;
|
@@ -33,7 +33,7 @@ export interface InputTagEmits {
|
|
33
33
|
}
|
34
34
|
export interface InputTagSlots {
|
35
35
|
tag?: (scope: {
|
36
|
-
tag:
|
36
|
+
tag: RecordType;
|
37
37
|
}) => VNode[];
|
38
38
|
prefix?: () => VNode[];
|
39
39
|
suffix?: () => VNode[];
|
@@ -42,16 +42,15 @@ export interface InputTagExpose {
|
|
42
42
|
focus(): void;
|
43
43
|
blur(): void;
|
44
44
|
}
|
45
|
+
export type InputTagValue = (string | number | TagData)[];
|
45
46
|
export type TagData = {
|
46
47
|
id?: string;
|
47
48
|
label: string;
|
48
49
|
value: string | number;
|
49
50
|
closeable?: boolean;
|
50
51
|
tagProps?: TagProps;
|
51
|
-
} |
|
52
|
-
export type InputTagValue = (string | number | TagData)[];
|
52
|
+
} | RecordType;
|
53
53
|
export type InputRetainValue = boolean | {
|
54
54
|
create?: boolean;
|
55
55
|
blur?: boolean;
|
56
56
|
};
|
57
|
-
export type FormatTag = (data: TagData) => string;
|
@@ -7,24 +7,24 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<LayoutSiderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
10
|
-
collapse: (collapsed: boolean, type:
|
11
|
-
breakpoint: (collapsed: boolean) => any;
|
10
|
+
collapse: (collapsed: boolean, type: import('..').collapseType) => any;
|
12
11
|
"update:collapsed": (collapsed: boolean) => any;
|
12
|
+
breakpoint: (collapsed: boolean) => any;
|
13
13
|
}, string, import('vue').PublicProps, Readonly<LayoutSiderProps> & Readonly<{
|
14
|
-
onCollapse?: ((collapsed: boolean, type:
|
15
|
-
onBreakpoint?: ((collapsed: boolean) => any) | undefined;
|
14
|
+
onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
|
16
15
|
"onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
|
16
|
+
onBreakpoint?: ((collapsed: boolean) => any) | undefined;
|
17
17
|
}>, {
|
18
18
|
width: number;
|
19
|
-
collapsed: boolean;
|
20
|
-
breakpoint: import('..').BreakpointName;
|
21
19
|
theme: import('..').Theme;
|
20
|
+
collapsed: boolean;
|
22
21
|
defaultCollapsed: boolean;
|
23
22
|
collapsedWidth: number;
|
23
|
+
breakpoint: import('..').BreakpointName;
|
24
24
|
collapsible: boolean;
|
25
25
|
reverseArrow: boolean;
|
26
26
|
hideTrigger: boolean;
|
27
|
-
resizeDirections: import('
|
27
|
+
resizeDirections: import('../ResizeBox').ResizeBoxDirection[];
|
28
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
29
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
30
30
|
export default _default;
|
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import { mediaQueryHandler, valueToPx } from "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
|
-
import {
|
2
|
+
import { Theme, RecordType } from '../../_shared/type';
|
3
3
|
import { LayoutSiderEmits } from '../type';
|
4
4
|
export declare const LAYOUT_CONTEXT_KEY = "LAYOUT-CONTEXT";
|
5
5
|
export type LayoutContext = {
|
@@ -7,7 +7,7 @@ export type LayoutContext = {
|
|
7
7
|
collapsed: Ref<boolean>;
|
8
8
|
};
|
9
9
|
declare const _default: () => {
|
10
|
-
provide: (props:
|
10
|
+
provide: (props: RecordType, emits: LayoutSiderEmits) => {
|
11
11
|
theme: import('vue').ComputedRef<Theme>;
|
12
12
|
computedCollapsed: import('vue').WritableComputedRef<boolean, boolean>;
|
13
13
|
};
|
package/es/Layout/index.d.ts
CHANGED
@@ -78,24 +78,24 @@ declare const Layout: {
|
|
78
78
|
});
|
79
79
|
sider: {
|
80
80
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').LayoutSiderProps> & Readonly<{
|
81
|
-
onCollapse?: ((collapsed: boolean, type:
|
82
|
-
onBreakpoint?: ((collapsed: boolean) => any) | undefined;
|
81
|
+
onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
|
83
82
|
"onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
|
83
|
+
onBreakpoint?: ((collapsed: boolean) => any) | undefined;
|
84
84
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
85
|
-
collapse: (collapsed: boolean, type:
|
86
|
-
breakpoint: (collapsed: boolean) => any;
|
85
|
+
collapse: (collapsed: boolean, type: import('..').collapseType) => any;
|
87
86
|
"update:collapsed": (collapsed: boolean) => any;
|
87
|
+
breakpoint: (collapsed: boolean) => any;
|
88
88
|
}, import('vue').PublicProps, {
|
89
89
|
width: number;
|
90
|
-
collapsed: boolean;
|
91
|
-
breakpoint: import('..').BreakpointName;
|
92
90
|
theme: import('..').Theme;
|
91
|
+
collapsed: boolean;
|
93
92
|
defaultCollapsed: boolean;
|
94
93
|
collapsedWidth: number;
|
94
|
+
breakpoint: import('..').BreakpointName;
|
95
95
|
collapsible: boolean;
|
96
96
|
reverseArrow: boolean;
|
97
97
|
hideTrigger: boolean;
|
98
|
-
resizeDirections: import('
|
98
|
+
resizeDirections: import('..').ResizeBoxDirection[];
|
99
99
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
100
100
|
P: {};
|
101
101
|
B: {};
|
@@ -104,43 +104,43 @@ declare const Layout: {
|
|
104
104
|
M: {};
|
105
105
|
Defaults: {};
|
106
106
|
}, Readonly<import('./type').LayoutSiderProps> & Readonly<{
|
107
|
-
onCollapse?: ((collapsed: boolean, type:
|
108
|
-
onBreakpoint?: ((collapsed: boolean) => any) | undefined;
|
107
|
+
onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
|
109
108
|
"onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
|
109
|
+
onBreakpoint?: ((collapsed: boolean) => any) | undefined;
|
110
110
|
}>, {}, {}, {}, {}, {
|
111
111
|
width: number;
|
112
|
-
collapsed: boolean;
|
113
|
-
breakpoint: import('..').BreakpointName;
|
114
112
|
theme: import('..').Theme;
|
113
|
+
collapsed: boolean;
|
115
114
|
defaultCollapsed: boolean;
|
116
115
|
collapsedWidth: number;
|
116
|
+
breakpoint: import('..').BreakpointName;
|
117
117
|
collapsible: boolean;
|
118
118
|
reverseArrow: boolean;
|
119
119
|
hideTrigger: boolean;
|
120
|
-
resizeDirections: import('
|
120
|
+
resizeDirections: import('..').ResizeBoxDirection[];
|
121
121
|
}>;
|
122
122
|
__isFragment?: never;
|
123
123
|
__isTeleport?: never;
|
124
124
|
__isSuspense?: never;
|
125
125
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').LayoutSiderProps> & Readonly<{
|
126
|
-
onCollapse?: ((collapsed: boolean, type:
|
127
|
-
onBreakpoint?: ((collapsed: boolean) => any) | undefined;
|
126
|
+
onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
|
128
127
|
"onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
|
128
|
+
onBreakpoint?: ((collapsed: boolean) => any) | undefined;
|
129
129
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
130
|
-
collapse: (collapsed: boolean, type:
|
131
|
-
breakpoint: (collapsed: boolean) => any;
|
130
|
+
collapse: (collapsed: boolean, type: import('..').collapseType) => any;
|
132
131
|
"update:collapsed": (collapsed: boolean) => any;
|
132
|
+
breakpoint: (collapsed: boolean) => any;
|
133
133
|
}, string, {
|
134
134
|
width: number;
|
135
|
-
collapsed: boolean;
|
136
|
-
breakpoint: import('..').BreakpointName;
|
137
135
|
theme: import('..').Theme;
|
136
|
+
collapsed: boolean;
|
138
137
|
defaultCollapsed: boolean;
|
139
138
|
collapsedWidth: number;
|
139
|
+
breakpoint: import('..').BreakpointName;
|
140
140
|
collapsible: boolean;
|
141
141
|
reverseArrow: boolean;
|
142
142
|
hideTrigger: boolean;
|
143
|
-
resizeDirections: import('
|
143
|
+
resizeDirections: import('..').ResizeBoxDirection[];
|
144
144
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
145
145
|
$slots: Readonly<import('./type').LayoutSiderSlots> & import('./type').LayoutSiderSlots;
|
146
146
|
});
|
package/es/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/es/Link/index.vue.js
CHANGED
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
|
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
5
5
|
import "../_shared/utils/locale.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$1 from "../_shared/icons/IconLink.vue.js";
|
package/es/Link/type.d.ts
CHANGED
package/es/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: {};
|