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/Menu/index.d.ts
CHANGED
@@ -10,28 +10,27 @@ export type MenuItemGroupInstance = InstanceType<typeof _MenuItemGroup>;
|
|
10
10
|
export * from './type';
|
11
11
|
declare const Menu: {
|
12
12
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').MenuProps> & Readonly<{
|
13
|
-
onCollapse?: ((collapsed: boolean, type:
|
13
|
+
onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
|
14
14
|
"onUpdate:selectedKeys"?: ((value: string) => any) | undefined;
|
15
15
|
"onUpdate:openKeys"?: ((value: string) => any) | undefined;
|
16
16
|
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
17
17
|
"onMenu-item-click"?: ((key: string) => any) | undefined;
|
18
18
|
"onSub-menu-click"?: ((key: string, openKeys: string[]) => any) | undefined;
|
19
19
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
20
|
-
collapse: (collapsed: boolean, type:
|
20
|
+
collapse: (collapsed: boolean, type: import('..').collapseType) => any;
|
21
21
|
"update:selectedKeys": (value: string) => any;
|
22
22
|
"update:openKeys": (value: string) => any;
|
23
23
|
"update:collapsed": (value: boolean) => any;
|
24
24
|
"menu-item-click": (key: string) => any;
|
25
25
|
"sub-menu-click": (key: string, openKeys: string[]) => any;
|
26
26
|
}, import('vue').PublicProps, {
|
27
|
-
mode: import('
|
27
|
+
mode: import('..').Direction;
|
28
28
|
triggerProps: import('..').TriggerProps;
|
29
|
-
|
30
|
-
breakpoint: import('..').BreakpointName;
|
31
|
-
popupMaxHeight: import('./type').PopupMaxHeight;
|
29
|
+
popupMaxHeight: import('..').PopupMaxHeight;
|
32
30
|
theme: import('..').Theme;
|
33
31
|
levelIndent: number;
|
34
32
|
autoOpen: boolean;
|
33
|
+
collapsed: boolean;
|
35
34
|
defaultCollapsed: boolean;
|
36
35
|
collapsedWidth: number | string;
|
37
36
|
accordion: boolean;
|
@@ -40,6 +39,7 @@ declare const Menu: {
|
|
40
39
|
defaultSelectedKeys: string;
|
41
40
|
openKeys: string[];
|
42
41
|
defaultOpenKeys: string[];
|
42
|
+
breakpoint: import('..').BreakpointName;
|
43
43
|
tooltipProps: import('..').TooltipProps;
|
44
44
|
autoOpenSelected: boolean;
|
45
45
|
autoScrollIntoView: boolean;
|
@@ -53,21 +53,20 @@ declare const Menu: {
|
|
53
53
|
M: {};
|
54
54
|
Defaults: {};
|
55
55
|
}, Readonly<import('./type').MenuProps> & Readonly<{
|
56
|
-
onCollapse?: ((collapsed: boolean, type:
|
56
|
+
onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
|
57
57
|
"onUpdate:selectedKeys"?: ((value: string) => any) | undefined;
|
58
58
|
"onUpdate:openKeys"?: ((value: string) => any) | undefined;
|
59
59
|
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
60
60
|
"onMenu-item-click"?: ((key: string) => any) | undefined;
|
61
61
|
"onSub-menu-click"?: ((key: string, openKeys: string[]) => any) | undefined;
|
62
62
|
}>, {}, {}, {}, {}, {
|
63
|
-
mode: import('
|
63
|
+
mode: import('..').Direction;
|
64
64
|
triggerProps: import('..').TriggerProps;
|
65
|
-
|
66
|
-
breakpoint: import('..').BreakpointName;
|
67
|
-
popupMaxHeight: import('./type').PopupMaxHeight;
|
65
|
+
popupMaxHeight: import('..').PopupMaxHeight;
|
68
66
|
theme: import('..').Theme;
|
69
67
|
levelIndent: number;
|
70
68
|
autoOpen: boolean;
|
69
|
+
collapsed: boolean;
|
71
70
|
defaultCollapsed: boolean;
|
72
71
|
collapsedWidth: number | string;
|
73
72
|
accordion: boolean;
|
@@ -76,6 +75,7 @@ declare const Menu: {
|
|
76
75
|
defaultSelectedKeys: string;
|
77
76
|
openKeys: string[];
|
78
77
|
defaultOpenKeys: string[];
|
78
|
+
breakpoint: import('..').BreakpointName;
|
79
79
|
tooltipProps: import('..').TooltipProps;
|
80
80
|
autoOpenSelected: boolean;
|
81
81
|
autoScrollIntoView: boolean;
|
@@ -84,28 +84,27 @@ declare const Menu: {
|
|
84
84
|
__isTeleport?: never;
|
85
85
|
__isSuspense?: never;
|
86
86
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').MenuProps> & Readonly<{
|
87
|
-
onCollapse?: ((collapsed: boolean, type:
|
87
|
+
onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
|
88
88
|
"onUpdate:selectedKeys"?: ((value: string) => any) | undefined;
|
89
89
|
"onUpdate:openKeys"?: ((value: string) => any) | undefined;
|
90
90
|
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
91
91
|
"onMenu-item-click"?: ((key: string) => any) | undefined;
|
92
92
|
"onSub-menu-click"?: ((key: string, openKeys: string[]) => any) | undefined;
|
93
93
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
94
|
-
collapse: (collapsed: boolean, type:
|
94
|
+
collapse: (collapsed: boolean, type: import('..').collapseType) => any;
|
95
95
|
"update:selectedKeys": (value: string) => any;
|
96
96
|
"update:openKeys": (value: string) => any;
|
97
97
|
"update:collapsed": (value: boolean) => any;
|
98
98
|
"menu-item-click": (key: string) => any;
|
99
99
|
"sub-menu-click": (key: string, openKeys: string[]) => any;
|
100
100
|
}, string, {
|
101
|
-
mode: import('
|
101
|
+
mode: import('..').Direction;
|
102
102
|
triggerProps: import('..').TriggerProps;
|
103
|
-
|
104
|
-
breakpoint: import('..').BreakpointName;
|
105
|
-
popupMaxHeight: import('./type').PopupMaxHeight;
|
103
|
+
popupMaxHeight: import('..').PopupMaxHeight;
|
106
104
|
theme: import('..').Theme;
|
107
105
|
levelIndent: number;
|
108
106
|
autoOpen: boolean;
|
107
|
+
collapsed: boolean;
|
109
108
|
defaultCollapsed: boolean;
|
110
109
|
collapsedWidth: number | string;
|
111
110
|
accordion: boolean;
|
@@ -114,6 +113,7 @@ declare const Menu: {
|
|
114
113
|
defaultSelectedKeys: string;
|
115
114
|
openKeys: string[];
|
116
115
|
defaultOpenKeys: string[];
|
116
|
+
breakpoint: import('..').BreakpointName;
|
117
117
|
tooltipProps: import('..').TooltipProps;
|
118
118
|
autoOpenSelected: boolean;
|
119
119
|
autoScrollIntoView: boolean;
|
@@ -150,7 +150,7 @@ declare const Menu: {
|
|
150
150
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').SubMenuProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
151
151
|
title: string;
|
152
152
|
path: string;
|
153
|
-
popupMaxHeight: import('
|
153
|
+
popupMaxHeight: import('..').PopupMaxHeight;
|
154
154
|
selectable: boolean;
|
155
155
|
popup: boolean;
|
156
156
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
@@ -163,7 +163,7 @@ declare const Menu: {
|
|
163
163
|
}, Readonly<import('./type').SubMenuProps> & Readonly<{}>, {}, {}, {}, {}, {
|
164
164
|
title: string;
|
165
165
|
path: string;
|
166
|
-
popupMaxHeight: import('
|
166
|
+
popupMaxHeight: import('..').PopupMaxHeight;
|
167
167
|
selectable: boolean;
|
168
168
|
popup: boolean;
|
169
169
|
}>;
|
@@ -173,7 +173,7 @@ declare const Menu: {
|
|
173
173
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').SubMenuProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
174
174
|
title: string;
|
175
175
|
path: string;
|
176
|
-
popupMaxHeight: import('
|
176
|
+
popupMaxHeight: import('..').PopupMaxHeight;
|
177
177
|
selectable: boolean;
|
178
178
|
popup: boolean;
|
179
179
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
package/es/Menu/type.d.ts
CHANGED
@@ -1,11 +1,10 @@
|
|
1
|
-
import { BreakpointName } from '../Grid';
|
2
1
|
import { TooltipProps } from '../Tooltip';
|
3
2
|
import { TriggerProps } from '../Trigger';
|
4
|
-
import { Theme } from '../_shared/type';
|
3
|
+
import { Theme, BreakpointName, PopupMaxHeight, Direction, collapseType } from '../_shared/type';
|
5
4
|
import { VNode } from 'vue';
|
6
5
|
export interface MenuProps {
|
7
6
|
theme?: Theme;
|
8
|
-
mode?:
|
7
|
+
mode?: Direction;
|
9
8
|
levelIndent?: number;
|
10
9
|
autoOpen?: boolean;
|
11
10
|
collapsed?: boolean;
|
@@ -29,7 +28,7 @@ export interface MenuEmits {
|
|
29
28
|
(e: 'update:selectedKeys', value: string): void;
|
30
29
|
(e: 'update:openKeys', value: string): void;
|
31
30
|
(e: 'update:collapsed', value: boolean): void;
|
32
|
-
(e: 'collapse', collapsed: boolean, type:
|
31
|
+
(e: 'collapse', collapsed: boolean, type: collapseType): void;
|
33
32
|
(e: 'menu-item-click', key: string): void;
|
34
33
|
(e: 'sub-menu-click', key: string, openKeys: string[]): void;
|
35
34
|
}
|
@@ -65,5 +64,3 @@ export interface MenuItemGroupSlots {
|
|
65
64
|
default?: () => VNode[];
|
66
65
|
title?: () => VNode[];
|
67
66
|
}
|
68
|
-
export type MenuMode = 'vertical' | 'horizontal';
|
69
|
-
export type PopupMaxHeight = boolean | number;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { MessageProps } from './type';
|
2
2
|
declare const _default: import('vue').DefineComponent<MessageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MessageProps> & Readonly<{}>, {
|
3
3
|
duration: number;
|
4
|
-
content: import('
|
4
|
+
content: import('..').RenderContent;
|
5
5
|
icon: import('vue').RenderFunction;
|
6
6
|
type: import('./type').MessageType;
|
7
7
|
closable: boolean;
|
@@ -5,8 +5,8 @@ import { isUndefined } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
|
8
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
9
|
-
/* empty css
|
8
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
9
|
+
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
package/es/Message/index.d.ts
CHANGED
@@ -6,7 +6,7 @@ export * from './type';
|
|
6
6
|
declare const Message: {
|
7
7
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
8
8
|
duration: number;
|
9
|
-
content: import('
|
9
|
+
content: import('..').RenderContent;
|
10
10
|
icon: import('vue').RenderFunction;
|
11
11
|
type: MessageType;
|
12
12
|
closable: boolean;
|
@@ -25,7 +25,7 @@ declare const Message: {
|
|
25
25
|
Defaults: {};
|
26
26
|
}, Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, {
|
27
27
|
duration: number;
|
28
|
-
content: import('
|
28
|
+
content: import('..').RenderContent;
|
29
29
|
icon: import('vue').RenderFunction;
|
30
30
|
type: MessageType;
|
31
31
|
closable: boolean;
|
@@ -41,7 +41,7 @@ declare const Message: {
|
|
41
41
|
__isSuspense?: never;
|
42
42
|
} & import('vue').ComponentOptionsBase<Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
43
43
|
duration: number;
|
44
|
-
content: import('
|
44
|
+
content: import('..').RenderContent;
|
45
45
|
icon: import('vue').RenderFunction;
|
46
46
|
type: MessageType;
|
47
47
|
closable: boolean;
|
package/es/Message/type.d.ts
CHANGED
@@ -17,10 +17,9 @@ export interface MessageContainerProps {
|
|
17
17
|
messageList?: MessageProps[];
|
18
18
|
position?: MessagePostion;
|
19
19
|
}
|
20
|
+
export type MessagePostion = 'top' | 'bottom';
|
21
|
+
export type MessageType = 'info' | 'success' | 'warning' | 'error' | 'loading' | 'normal';
|
20
22
|
export type MessageConfig = Omit<MessageProps, 'type' | 'onDestory'> & MessageContainerProps;
|
21
|
-
export type MessageReturn = {
|
22
|
-
close?: () => void;
|
23
|
-
};
|
24
23
|
export type MessageMethod = {
|
25
24
|
info: (config: string | MessageConfig) => MessageReturn;
|
26
25
|
success: (config: string | MessageConfig) => MessageReturn;
|
@@ -30,5 +29,6 @@ export type MessageMethod = {
|
|
30
29
|
normoal: (config: string | MessageConfig) => MessageReturn;
|
31
30
|
clear: (position: MessagePostion) => MessageReturn;
|
32
31
|
};
|
33
|
-
export type
|
34
|
-
|
32
|
+
export type MessageReturn = {
|
33
|
+
close?: () => void;
|
34
|
+
};
|
package/es/Modal/Modal.vue.d.ts
CHANGED
@@ -49,14 +49,14 @@ declare const __VLS_component: import('vue').DefineComponent<ModalProps, {}, {},
|
|
49
49
|
okButtonProps: import('../Button').ButtonProps;
|
50
50
|
cancelButtonProps: import('../Button').ButtonProps;
|
51
51
|
maskStyle: CSSProperties;
|
52
|
-
modalClass: import('
|
52
|
+
modalClass: import('..').ClassName;
|
53
53
|
modalStyle: CSSProperties;
|
54
54
|
escToClose: boolean;
|
55
55
|
draggable: boolean;
|
56
56
|
fullscreen: boolean;
|
57
57
|
maskAnimationName: string;
|
58
58
|
modalAnimationName: string;
|
59
|
-
bodyClass: import('
|
59
|
+
bodyClass: import('..').ClassName;
|
60
60
|
hideTitle: boolean;
|
61
61
|
simple: boolean;
|
62
62
|
onBeforeCancel: import('./type').OnBeforeCancel;
|
package/es/Modal/Modal.vue.js
CHANGED
@@ -7,8 +7,8 @@ import { useI18n } from "../_shared/utils/locale.js";
|
|
7
7
|
import useModalClose from "./hooks/useModalClose.js";
|
8
8
|
import useModalDraggable from "./hooks/useModalDraggable.js";
|
9
9
|
import Button from "../Button/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 = {
|
@@ -4,9 +4,9 @@ declare const _default: import('vue').DefineComponent<ModalServiceProps, {}, {},
|
|
4
4
|
unmountOnClose: boolean;
|
5
5
|
renderToBody: boolean;
|
6
6
|
width: number | string;
|
7
|
-
content: import('
|
7
|
+
content: import('..').RenderContent;
|
8
8
|
footer: boolean;
|
9
|
-
title: string & import('
|
9
|
+
title: string & import('..').RenderContent;
|
10
10
|
mask: boolean;
|
11
11
|
closable: boolean;
|
12
12
|
bodyStyle: import('vue').CSSProperties;
|
@@ -20,14 +20,14 @@ declare const _default: import('vue').DefineComponent<ModalServiceProps, {}, {},
|
|
20
20
|
okButtonProps: import('..').ButtonProps;
|
21
21
|
cancelButtonProps: import('..').ButtonProps;
|
22
22
|
maskStyle: import('vue').CSSProperties;
|
23
|
-
modalClass: import('
|
23
|
+
modalClass: import('..').ClassName;
|
24
24
|
modalStyle: import('vue').CSSProperties;
|
25
25
|
escToClose: boolean;
|
26
26
|
draggable: boolean;
|
27
27
|
fullscreen: boolean;
|
28
28
|
maskAnimationName: string;
|
29
29
|
modalAnimationName: string;
|
30
|
-
bodyClass: import('
|
30
|
+
bodyClass: import('..').ClassName;
|
31
31
|
hideTitle: boolean;
|
32
32
|
simple: boolean;
|
33
33
|
onBeforeCancel: import('./type').OnBeforeCancel;
|
package/es/Modal/index.d.ts
CHANGED
@@ -43,14 +43,14 @@ declare const Modal: {
|
|
43
43
|
okButtonProps: import('..').ButtonProps;
|
44
44
|
cancelButtonProps: import('..').ButtonProps;
|
45
45
|
maskStyle: import('vue').CSSProperties;
|
46
|
-
modalClass: import('
|
46
|
+
modalClass: import('..').ClassName;
|
47
47
|
modalStyle: import('vue').CSSProperties;
|
48
48
|
escToClose: boolean;
|
49
49
|
draggable: boolean;
|
50
50
|
fullscreen: boolean;
|
51
51
|
maskAnimationName: string;
|
52
52
|
modalAnimationName: string;
|
53
|
-
bodyClass: import('
|
53
|
+
bodyClass: import('..').ClassName;
|
54
54
|
hideTitle: boolean;
|
55
55
|
simple: boolean;
|
56
56
|
onBeforeCancel: import('./type').OnBeforeCancel;
|
@@ -96,14 +96,14 @@ declare const Modal: {
|
|
96
96
|
okButtonProps: import('..').ButtonProps;
|
97
97
|
cancelButtonProps: import('..').ButtonProps;
|
98
98
|
maskStyle: import('vue').CSSProperties;
|
99
|
-
modalClass: import('
|
99
|
+
modalClass: import('..').ClassName;
|
100
100
|
modalStyle: import('vue').CSSProperties;
|
101
101
|
escToClose: boolean;
|
102
102
|
draggable: boolean;
|
103
103
|
fullscreen: boolean;
|
104
104
|
maskAnimationName: string;
|
105
105
|
modalAnimationName: string;
|
106
|
-
bodyClass: import('
|
106
|
+
bodyClass: import('..').ClassName;
|
107
107
|
hideTitle: boolean;
|
108
108
|
simple: boolean;
|
109
109
|
onBeforeCancel: import('./type').OnBeforeCancel;
|
@@ -151,14 +151,14 @@ declare const Modal: {
|
|
151
151
|
okButtonProps: import('..').ButtonProps;
|
152
152
|
cancelButtonProps: import('..').ButtonProps;
|
153
153
|
maskStyle: import('vue').CSSProperties;
|
154
|
-
modalClass: import('
|
154
|
+
modalClass: import('..').ClassName;
|
155
155
|
modalStyle: import('vue').CSSProperties;
|
156
156
|
escToClose: boolean;
|
157
157
|
draggable: boolean;
|
158
158
|
fullscreen: boolean;
|
159
159
|
maskAnimationName: string;
|
160
160
|
modalAnimationName: string;
|
161
|
-
bodyClass: import('
|
161
|
+
bodyClass: import('..').ClassName;
|
162
162
|
hideTitle: boolean;
|
163
163
|
simple: boolean;
|
164
164
|
onBeforeCancel: import('./type').OnBeforeCancel;
|
package/es/Modal/index.js
CHANGED
package/es/Modal/type.d.ts
CHANGED
@@ -53,6 +53,10 @@ export interface ModalSlots {
|
|
53
53
|
footer?: () => VNode[];
|
54
54
|
title?: () => VNode[];
|
55
55
|
}
|
56
|
+
export type ModalType = 'success' | 'warning' | 'error' | 'info';
|
57
|
+
export type ModalTitleAlign = 'start' | 'center';
|
58
|
+
export type OnBeforeOk = (done: (closed: boolean) => void) => void | boolean | Promise<boolean | void>;
|
59
|
+
export type OnBeforeCancel = () => boolean;
|
56
60
|
export type ModalConfig = Omit<ModalProps, 'visible' | 'defaultVisible' | 'popupContainer'> & {
|
57
61
|
title?: RenderContent;
|
58
62
|
content?: RenderContent;
|
@@ -68,10 +72,6 @@ export type ModalUpdateConfig = Omit<ModalConfig, 'title' | 'content' | 'footer'
|
|
68
72
|
export type ModalServiceProps = ModalConfig & {
|
69
73
|
serviceClose?: () => void;
|
70
74
|
};
|
71
|
-
export type ModalReturn = {
|
72
|
-
close: () => void;
|
73
|
-
update: (config: ModalUpdateConfig) => void;
|
74
|
-
};
|
75
75
|
export type ModalMethod = {
|
76
76
|
open: (props: ModalConfig) => ModalReturn;
|
77
77
|
success: (props: ModalConfig) => ModalReturn;
|
@@ -80,7 +80,7 @@ export type ModalMethod = {
|
|
80
80
|
info: (props: ModalConfig) => ModalReturn;
|
81
81
|
confirm: (props: ModalConfig) => ModuleStatus;
|
82
82
|
};
|
83
|
-
export type
|
84
|
-
|
85
|
-
|
86
|
-
|
83
|
+
export type ModalReturn = {
|
84
|
+
close: () => void;
|
85
|
+
update: (config: ModalUpdateConfig) => void;
|
86
|
+
};
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { NotificationProps } from './type';
|
2
2
|
declare const _default: import('vue').DefineComponent<NotificationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NotificationProps> & Readonly<{}>, {
|
3
3
|
duration: number;
|
4
|
-
content: import('
|
4
|
+
content: import('..').RenderContent;
|
5
5
|
style: import('vue').CSSProperties;
|
6
6
|
icon: import('vue').RenderFunction;
|
7
7
|
type: import('./type').NotificationType;
|
8
8
|
footer: import('vue').RenderFunction;
|
9
|
-
title: import('
|
10
|
-
class: import('
|
9
|
+
title: import('..').RenderContent;
|
10
|
+
class: import('..').ClassName;
|
11
11
|
closable: boolean;
|
12
12
|
onClose: (id: string | number) => void;
|
13
13
|
id: string;
|
@@ -6,8 +6,8 @@ import { isUndefined, isFunction } from "../_shared/utils/is.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import { getSlotFunction } from "../_shared/utils/vue-utils.js";
|
8
8
|
import "../_shared/utils/locale.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 { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
|
@@ -6,13 +6,13 @@ export * from './type';
|
|
6
6
|
declare const Notification: {
|
7
7
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
8
8
|
duration: number;
|
9
|
-
content: import('
|
9
|
+
content: import('..').RenderContent;
|
10
10
|
style: import('vue').CSSProperties;
|
11
11
|
icon: import('vue').RenderFunction;
|
12
12
|
type: NotificationType;
|
13
13
|
footer: import('vue').RenderFunction;
|
14
|
-
title: import('
|
15
|
-
class: import('
|
14
|
+
title: import('..').RenderContent;
|
15
|
+
class: import('..').ClassName;
|
16
16
|
closable: boolean;
|
17
17
|
onClose: (id: string | number) => void;
|
18
18
|
id: string;
|
@@ -29,13 +29,13 @@ declare const Notification: {
|
|
29
29
|
Defaults: {};
|
30
30
|
}, Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, {
|
31
31
|
duration: number;
|
32
|
-
content: import('
|
32
|
+
content: import('..').RenderContent;
|
33
33
|
style: import('vue').CSSProperties;
|
34
34
|
icon: import('vue').RenderFunction;
|
35
35
|
type: NotificationType;
|
36
36
|
footer: import('vue').RenderFunction;
|
37
|
-
title: import('
|
38
|
-
class: import('
|
37
|
+
title: import('..').RenderContent;
|
38
|
+
class: import('..').ClassName;
|
39
39
|
closable: boolean;
|
40
40
|
onClose: (id: string | number) => void;
|
41
41
|
id: string;
|
@@ -49,13 +49,13 @@ declare const Notification: {
|
|
49
49
|
__isSuspense?: never;
|
50
50
|
} & import('vue').ComponentOptionsBase<Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
51
51
|
duration: number;
|
52
|
-
content: import('
|
52
|
+
content: import('..').RenderContent;
|
53
53
|
style: import('vue').CSSProperties;
|
54
54
|
icon: import('vue').RenderFunction;
|
55
55
|
type: NotificationType;
|
56
56
|
footer: import('vue').RenderFunction;
|
57
|
-
title: import('
|
58
|
-
class: import('
|
57
|
+
title: import('..').RenderContent;
|
58
|
+
class: import('..').ClassName;
|
59
59
|
closable: boolean;
|
60
60
|
onClose: (id: string | number) => void;
|
61
61
|
id: string;
|
@@ -23,9 +23,6 @@ export interface NotificationContainerProps {
|
|
23
23
|
position?: NotificationPosition;
|
24
24
|
}
|
25
25
|
export type NotificationConfig = Omit<NotificationProps, 'type' | 'onDestory'> & NotificationContainerProps;
|
26
|
-
export type NotificationReturn = {
|
27
|
-
close?: () => void;
|
28
|
-
};
|
29
26
|
export type NotificationMethods = {
|
30
27
|
info: (config: string | NotificationConfig) => NotificationReturn;
|
31
28
|
success: (config: string | NotificationConfig) => NotificationReturn;
|
@@ -34,5 +31,8 @@ export type NotificationMethods = {
|
|
34
31
|
remove: (id: string) => void;
|
35
32
|
clear: (position: NotificationPosition) => NotificationReturn;
|
36
33
|
};
|
34
|
+
export type NotificationReturn = {
|
35
|
+
close?: () => void;
|
36
|
+
};
|
37
37
|
export type NotificationPosition = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
|
38
|
-
export type NotificationType = '
|
38
|
+
export type NotificationType = 'success' | 'warning' | 'error' | 'info';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, renderSlot, createVNode, createBlock, unref, withCtx, createTextVNode, toDisplayString } 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";
|
@@ -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/IconArrowRight.vue.js";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Ref, CSSProperties } from 'vue';
|
2
2
|
import { PaginationEmits } from '../type';
|
3
|
-
import {
|
3
|
+
import { RecordType } from '../../_shared/type';
|
4
4
|
interface PaginationContext {
|
5
5
|
computedCurrent: Ref<number>;
|
6
6
|
computedPageSize: Ref<number>;
|
@@ -12,7 +12,7 @@ interface PaginationContext {
|
|
12
12
|
bufferSize: Ref<number>;
|
13
13
|
}
|
14
14
|
declare const _default: () => {
|
15
|
-
provide: (props:
|
15
|
+
provide: (props: RecordType, emits: PaginationEmits) => {
|
16
16
|
total: import('vue').WritableComputedRef<number, number>;
|
17
17
|
size: import('vue').ComputedRef<any>;
|
18
18
|
pages: import('vue').ComputedRef<number>;
|
package/es/Popconfirm/index.d.ts
CHANGED
@@ -19,10 +19,10 @@ declare const Popconfirm: {
|
|
19
19
|
}, import('vue').PublicProps, {
|
20
20
|
popupVisible: boolean;
|
21
21
|
defaultPopupVisible: boolean;
|
22
|
-
position: import('..').
|
23
|
-
contentClass: import('
|
22
|
+
position: import('..').PopupPosition;
|
23
|
+
contentClass: import('..').ClassName;
|
24
24
|
contentStyle: import('vue').CSSProperties;
|
25
|
-
arrowClass: import('
|
25
|
+
arrowClass: import('..').ClassName;
|
26
26
|
arrowStyle: import('vue').CSSProperties;
|
27
27
|
popupContainer: import('..').PopupContainer;
|
28
28
|
content: string;
|
@@ -43,7 +43,7 @@ declare const Popconfirm: {
|
|
43
43
|
readonly popupVisible?: boolean | undefined;
|
44
44
|
readonly defaultPopupVisible?: boolean | undefined;
|
45
45
|
readonly trigger?: import('..').TriggerType | undefined;
|
46
|
-
readonly position?: import('..').
|
46
|
+
readonly position?: import('..').PopupPosition | undefined;
|
47
47
|
readonly disabled?: boolean | undefined;
|
48
48
|
readonly popupOffset?: number | undefined;
|
49
49
|
readonly popupTranslate?: number[] | undefined;
|
@@ -53,9 +53,9 @@ declare const Popconfirm: {
|
|
53
53
|
readonly clickToClose?: boolean | undefined;
|
54
54
|
readonly clickOutsideToClose?: boolean | undefined;
|
55
55
|
readonly unmountOnClose?: boolean | undefined;
|
56
|
-
readonly contentClass?: import('
|
56
|
+
readonly contentClass?: import('..').ClassName | undefined;
|
57
57
|
readonly contentStyle?: import('vue').CSSProperties | undefined;
|
58
|
-
readonly arrowClass?: import('
|
58
|
+
readonly arrowClass?: import('..').ClassName | undefined;
|
59
59
|
readonly arrowStyle?: import('vue').CSSProperties | undefined;
|
60
60
|
readonly animationName?: string | undefined;
|
61
61
|
readonly duration?: number | undefined;
|
@@ -189,14 +189,14 @@ declare const Popconfirm: {
|
|
189
189
|
scrollToClose: boolean;
|
190
190
|
autoSetPosition: boolean;
|
191
191
|
alignPoint: boolean;
|
192
|
-
position: import('..').
|
192
|
+
position: import('..').PopupPosition;
|
193
193
|
popupOffset: number;
|
194
194
|
popupTranslate: number[];
|
195
195
|
showArrow: boolean;
|
196
196
|
unmountOnClose: boolean;
|
197
|
-
contentClass: import('
|
197
|
+
contentClass: import('..').ClassName;
|
198
198
|
contentStyle: import('vue').CSSProperties;
|
199
|
-
arrowClass: import('
|
199
|
+
arrowClass: import('..').ClassName;
|
200
200
|
arrowStyle: import('vue').CSSProperties;
|
201
201
|
animationName: string;
|
202
202
|
duration: number;
|
@@ -243,14 +243,14 @@ declare const Popconfirm: {
|
|
243
243
|
scrollToClose: boolean;
|
244
244
|
autoSetPosition: boolean;
|
245
245
|
alignPoint: boolean;
|
246
|
-
position: import('..').
|
246
|
+
position: import('..').PopupPosition;
|
247
247
|
popupOffset: number;
|
248
248
|
popupTranslate: number[];
|
249
249
|
showArrow: boolean;
|
250
250
|
unmountOnClose: boolean;
|
251
|
-
contentClass: import('
|
251
|
+
contentClass: import('..').ClassName;
|
252
252
|
contentStyle: import('vue').CSSProperties;
|
253
|
-
arrowClass: import('
|
253
|
+
arrowClass: import('..').ClassName;
|
254
254
|
arrowStyle: import('vue').CSSProperties;
|
255
255
|
animationName: string;
|
256
256
|
duration: number;
|
@@ -292,10 +292,10 @@ declare const Popconfirm: {
|
|
292
292
|
}, {}, {}, {}, {
|
293
293
|
popupVisible: boolean;
|
294
294
|
defaultPopupVisible: boolean;
|
295
|
-
position: import('..').
|
296
|
-
contentClass: import('
|
295
|
+
position: import('..').PopupPosition;
|
296
|
+
contentClass: import('..').ClassName;
|
297
297
|
contentStyle: import('vue').CSSProperties;
|
298
|
-
arrowClass: import('
|
298
|
+
arrowClass: import('..').ClassName;
|
299
299
|
arrowStyle: import('vue').CSSProperties;
|
300
300
|
popupContainer: import('..').PopupContainer;
|
301
301
|
content: string;
|
@@ -328,10 +328,10 @@ declare const Popconfirm: {
|
|
328
328
|
}, string, {
|
329
329
|
popupVisible: boolean;
|
330
330
|
defaultPopupVisible: boolean;
|
331
|
-
position: import('..').
|
332
|
-
contentClass: import('
|
331
|
+
position: import('..').PopupPosition;
|
332
|
+
contentClass: import('..').ClassName;
|
333
333
|
contentStyle: import('vue').CSSProperties;
|
334
|
-
arrowClass: import('
|
334
|
+
arrowClass: import('..').ClassName;
|
335
335
|
arrowStyle: import('vue').CSSProperties;
|
336
336
|
popupContainer: import('..').PopupContainer;
|
337
337
|
content: string;
|