yc-design-vue 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Affix/type.d.ts +1 -1
- package/es/Alert/index.vue.js +2 -2
- package/es/Alert/type.d.ts +1 -1
- package/es/Anchor/hooks/useContext.d.ts +2 -2
- package/es/Anchor/type.d.ts +1 -1
- package/es/AutoComplete/index.d.ts +27 -27
- package/es/AutoComplete/index.vue.d.ts +49 -49
- package/es/AutoComplete/type.d.ts +6 -8
- package/es/Avatar/Avatar.vue.d.ts +1 -1
- package/es/Avatar/Avatar.vue.js +1 -1
- package/es/Avatar/hooks/useContext.d.ts +3 -3
- package/es/Avatar/index.d.ts +3 -3
- package/es/Avatar/type.d.ts +2 -2
- package/es/BackTop/index.vue.js +1 -1
- package/es/BackTop/type.d.ts +1 -1
- package/es/Badge/type.d.ts +1 -1
- package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +2 -2
- package/es/Breadcrumb/type.d.ts +1 -1
- package/es/Button/Button.vue.d.ts +1 -1
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/hooks/useContext.d.ts +5 -5
- package/es/Button/index.d.ts +6 -6
- package/es/Button/type.d.ts +4 -5
- package/es/Calendar/Calendar.vue.js +2 -2
- package/es/Card/type.d.ts +2 -1
- package/es/Carousel/Carousel.vue.d.ts +3 -3
- package/es/Carousel/CarouselArrow.vue.js +1 -1
- package/es/Carousel/CarouselIndicator.vue.d.ts +3 -3
- package/es/Carousel/hooks/useContext.d.ts +3 -3
- package/es/Carousel/index.d.ts +9 -9
- package/es/Carousel/type.d.ts +2 -3
- package/es/Cascader/Cascader.vue.d.ts +13 -25
- package/es/Cascader/Cascader.vue.js +1 -1
- package/es/Cascader/CascaderIcon.vue.js +2 -2
- package/es/Cascader/CascaderOption.vue.js +1 -1
- package/es/Cascader/hooks/useContext.d.ts +5 -17
- package/es/Cascader/index.d.ts +17 -29
- package/es/Cascader/type.d.ts +5 -7
- package/es/Checkbox/Checkbox.vue.js +2 -2
- package/es/Checkbox/hooks/useContext.d.ts +3 -3
- package/es/Checkbox/type.d.ts +3 -3
- package/es/Collapse/CollapseItem.vue.js +2 -2
- package/es/Collapse/hooks/useContext.d.ts +5 -5
- package/es/Collapse/type.d.ts +2 -2
- package/es/ColorPicker/hooks/useContext.d.ts +2 -2
- package/es/ConfigProvider/index.d.ts +3 -3
- package/es/ConfigProvider/index.vue.d.ts +1 -1
- package/es/ConfigProvider/type.d.ts +2 -3
- package/es/Descriptions/hooks/useContext.d.ts +2 -2
- package/es/Descriptions/type.d.ts +1 -2
- package/es/Drawer/Drawer.vue.js +2 -2
- package/es/Drawer/DrawerService.vue.d.ts +1 -1
- package/es/Dropdown/Doption.vue.js +1 -1
- package/es/Dropdown/Dropdown.vue.d.ts +1 -1
- package/es/Dropdown/Dropdown.vue.js +1 -1
- package/es/Dropdown/DropdownButton.vue.js +1 -1
- package/es/Dropdown/Dsubmenu.vue.d.ts +20 -20
- package/es/Dropdown/Dsubmenu.vue.js +2 -2
- package/es/Dropdown/hooks/useContext.d.ts +2 -2
- package/es/Dropdown/index.d.ts +18 -18
- package/es/Dropdown/type.d.ts +5 -6
- package/es/Empty/index.vue.js +1 -1
- package/es/Grid/Grid.vue.d.ts +3 -3
- package/es/Grid/GridCol.vue.d.ts +2 -2
- package/es/Grid/GridItem.vue.d.ts +2 -2
- package/es/Grid/GridRow.vue.d.ts +1 -1
- package/es/Grid/hooks/useContext.d.ts +4 -4
- package/es/Grid/index.d.ts +24 -24
- package/es/Grid/type.d.ts +4 -12
- package/es/Image/Image.vue.d.ts +1 -1
- package/es/Image/Image.vue.js +1 -1
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/ImagePreviewArrow.vue.js +1 -1
- package/es/Image/ImagePreviewToolbar.vue.js +1 -1
- package/es/Image/hooks/useContext.d.ts +2 -2
- package/es/Image/index.d.ts +3 -3
- package/es/Image/type.d.ts +2 -3
- package/es/Input/Input.vue.d.ts +1 -1
- package/es/Input/Input.vue.js +2 -2
- package/es/Input/InputSuffix.vue.js +2 -2
- package/es/Input/hooks/useLimitedInput.d.ts +3 -3
- package/es/Input/index.d.ts +3 -3
- package/es/Input/type.d.ts +2 -2
- package/es/InputNumber/InputNumber.vue.d.ts +7 -7
- package/es/InputNumber/InputOperaBtn.vue.js +1 -1
- package/es/InputNumber/index.d.ts +6 -6
- package/es/InputNumber/type.d.ts +3 -4
- package/es/InputTag/index.vue.js +2 -2
- package/es/InputTag/type.d.ts +5 -6
- package/es/Layout/LayoutSider.vue.d.ts +7 -7
- package/es/Layout/LayoutSider.vue.js +1 -1
- package/es/Layout/hooks/useSiderContext.d.ts +2 -2
- package/es/Layout/index.d.ts +19 -19
- package/es/Layout/type.d.ts +4 -5
- package/es/Link/index.vue.js +1 -1
- package/es/Link/type.d.ts +1 -1
- package/es/List/List.vue.d.ts +15 -15
- package/es/List/ListVirtual.vue.d.ts +3 -3
- package/es/List/index.d.ts +10 -10
- package/es/List/type.d.ts +3 -3
- package/es/Mention/index.d.ts +35 -35
- package/es/Mention/index.vue.d.ts +46 -46
- package/es/Mention/type.d.ts +6 -5
- package/es/Menu/Menu.vue.d.ts +6 -6
- package/es/Menu/Menu.vue.js +1 -1
- package/es/Menu/MenuEllipsis.vue.js +1 -1
- package/es/Menu/SubMenu.vue.d.ts +1 -1
- package/es/Menu/SubMenu.vue.js +1 -1
- package/es/Menu/hooks/useContext.d.ts +5 -5
- package/es/Menu/index.d.ts +20 -20
- package/es/Menu/type.d.ts +3 -6
- package/es/Message/Message.vue.d.ts +1 -1
- package/es/Message/Message.vue.js +2 -2
- package/es/Message/index.d.ts +3 -3
- package/es/Message/type.d.ts +5 -5
- package/es/Modal/Modal.vue.d.ts +2 -2
- package/es/Modal/Modal.vue.js +2 -2
- package/es/Modal/ModalService.vue.d.ts +4 -4
- package/es/Modal/index.d.ts +6 -6
- package/es/Modal/index.js +1 -1
- package/es/Modal/type.d.ts +8 -8
- package/es/Notification/Notification.vue.d.ts +3 -3
- package/es/Notification/Notification.vue.js +2 -2
- package/es/Notification/index.d.ts +9 -9
- package/es/Notification/type.d.ts +4 -4
- package/es/PageHeader/index.vue.js +2 -2
- package/es/Pagination/PaginationItem.vue.js +1 -1
- package/es/Pagination/hooks/useContext.d.ts +2 -2
- package/es/Popconfirm/index.d.ts +18 -18
- package/es/Popconfirm/index.vue.d.ts +21 -21
- package/es/Popconfirm/type.d.ts +4 -4
- package/es/Popover/index.d.ts +9 -9
- package/es/Popover/index.vue.d.ts +3 -3
- package/es/Popover/type.d.ts +3 -3
- package/es/Progress/ProgressCircle.vue.js +1 -1
- package/es/Progress/type.d.ts +1 -1
- package/es/Radio/Radio.vue.js +2 -2
- package/es/Radio/hooks/useContext.d.ts +3 -3
- package/es/Radio/type.d.ts +2 -2
- package/es/Rate/index.vue.js +1 -1
- package/es/ResizeBox/index.vue.js +1 -1
- package/es/Result/type.d.ts +1 -1
- package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/es/Scrollbar/index.d.ts +3 -3
- package/es/Select/Option.vue.d.ts +1 -1
- package/es/Select/Option.vue.js +1 -1
- package/es/Select/Select.vue.d.ts +27 -27
- package/es/Select/Select.vue.js +2 -2
- package/es/Select/SelectIcon.vue.js +2 -2
- package/es/Select/SelectRealList.vue.js +1 -1
- package/es/Select/hooks/useContext.d.ts +13 -13
- package/es/Select/hooks/useSelectOptions.d.ts +13 -13
- package/es/Select/index.d.ts +26 -26
- package/es/Select/type.d.ts +13 -16
- package/es/Skeleton/type.d.ts +3 -2
- package/es/Slider/Slider.vue.d.ts +1 -1
- package/es/Slider/SliderTicks.vue.d.ts +2 -2
- package/es/Slider/hooks/useContext.d.ts +4 -4
- package/es/Slider/index.d.ts +3 -3
- package/es/Slider/type.d.ts +2 -3
- package/es/Space/index.d.ts +3 -3
- package/es/Space/index.vue.d.ts +1 -1
- package/es/Spin/index.vue.js +1 -1
- package/es/Split/index.vue.js +1 -1
- package/es/Steps/Step.vue.js +1 -1
- package/es/Steps/hooks/useContext.d.ts +3 -3
- package/es/Switch/type.d.ts +2 -1
- package/es/Tabs/TabButton.vue.js +2 -2
- package/es/Tabs/Tabs.vue.d.ts +1 -1
- package/es/Tabs/Tabs.vue.js +1 -1
- package/es/Tabs/TabsNavInk.vue.d.ts +2 -2
- package/es/Tabs/hooks/useContext.d.ts +5 -5
- package/es/Tabs/hooks/useTabsScroll.d.ts +2 -2
- package/es/Tabs/index.d.ts +3 -3
- package/es/Tabs/type.d.ts +2 -3
- package/es/Tag/index.vue.js +2 -2
- package/es/Tag/type.d.ts +2 -1
- package/es/Textarea/index.vue.js +2 -2
- package/es/TimePicker/TimePicker.vue.js +2 -2
- package/es/TimePicker/hooks/useContext.d.ts +2 -2
- package/es/TimePicker/type.d.ts +1 -1
- package/es/Timeline/hooks/useContext.d.ts +4 -4
- package/es/Tooltip/index.d.ts +9 -9
- package/es/Tooltip/index.vue.d.ts +3 -3
- package/es/Tooltip/type.d.ts +3 -3
- package/es/Transfer/Transfer.vue.js +1 -1
- package/es/Transfer/TransferPanel.vue.js +2 -2
- package/es/Transfer/hooks/useContext.d.ts +2 -2
- package/es/Trigger/hooks/useContext.d.ts +2 -2
- package/es/Trigger/hooks/useTriggerPosition.d.ts +3 -4
- package/es/Trigger/hooks/useTriggerVisible.d.ts +2 -2
- package/es/Trigger/index.d.ts +9 -9
- package/es/Trigger/index.vue.d.ts +3 -3
- package/es/Trigger/index.vue.js +1 -1
- package/es/Trigger/type.d.ts +3 -4
- package/es/Typography/TypographyBase.vue.d.ts +6 -7
- package/es/Typography/TypographyBase.vue.js +3 -4
- package/es/Typography/TypographyParagraph.vue.d.ts +1 -1
- package/es/Typography/TypographyParagraph.vue.js +0 -7
- package/es/Typography/TypographyText.vue.js +0 -7
- package/es/Typography/TypographyTitle.vue.d.ts +1 -1
- package/es/Typography/TypographyTitle.vue.js +0 -7
- package/es/Typography/type.d.ts +4 -14
- package/es/_shared/components/ExpandTransition/index.vue2.js +6 -2
- package/es/_shared/components/IconButton/{index.vue.js → index.vue2.js} +1 -1
- package/es/_shared/components/IconButton/index.vue3.js +2 -2
- package/es/_shared/constants/index.d.ts +4 -4
- package/es/_shared/constants/index.js +1 -1
- package/es/_shared/icons/IconArrowDown.vue.js +1 -1
- package/es/_shared/icons/IconArrowRight.vue.js +1 -1
- package/es/_shared/icons/IconCheck.vue.js +1 -1
- package/es/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/es/_shared/icons/IconClose.vue.js +1 -1
- package/es/_shared/icons/IconCopy.vue.js +23 -1
- package/es/_shared/icons/IconCopy.vue2.js +1 -23
- package/es/_shared/icons/IconDelete.vue2.js +1 -1
- package/es/_shared/icons/IconDragDot.vue.js +1 -1
- package/es/_shared/icons/IconEdit.vue.js +23 -1
- package/es/_shared/icons/IconEdit.vue2.js +1 -23
- package/es/_shared/icons/IconEmpty.vue.js +1 -1
- package/es/_shared/icons/IconError.vue.js +1 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -1
- package/es/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/es/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/es/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/es/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/es/_shared/icons/IconImageClose.vue.js +1 -1
- package/es/_shared/icons/IconInfo.vue.js +1 -1
- package/es/_shared/icons/IconInfoLine.vue.js +1 -1
- package/es/_shared/icons/IconLink.vue.js +1 -1
- package/es/_shared/icons/IconLoading.vue.js +1 -1
- package/es/_shared/icons/IconMenuFold.vue.js +1 -1
- package/es/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/es/_shared/icons/IconMinus.vue2.js +1 -1
- package/es/_shared/icons/IconMore.vue.js +1 -1
- package/es/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/es/_shared/icons/IconPlus.vue.js +1 -1
- package/es/_shared/icons/IconRight.vue.js +1 -1
- package/es/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/es/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/es/_shared/icons/IconSearch.vue2.js +1 -1
- package/es/_shared/icons/IconSeparator.vue.js +1 -23
- package/es/_shared/icons/IconSeparator.vue2.js +23 -1
- package/es/_shared/icons/IconStar.vue.js +1 -1
- package/es/_shared/icons/IconSuccess.vue.js +1 -1
- package/es/_shared/icons/IconTime.vue.js +1 -1
- package/es/_shared/icons/IconToTop.vue.js +1 -1
- package/es/_shared/icons/IconWarning.vue.js +1 -1
- package/es/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/es/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/es/_shared/type/index.d.ts +22 -5
- package/es/_shared/utils/dom.d.ts +1 -1
- package/es/_shared/utils/dom.js +1 -1
- package/es/_shared/utils/global-config.d.ts +4 -4
- package/es/_shared/utils/vue-utils.d.ts +3 -3
- package/es/index.d.ts +59 -59
- package/lib/Affix/type.d.ts +1 -1
- package/lib/Alert/index.vue.js +1 -1
- package/lib/Alert/type.d.ts +1 -1
- package/lib/Anchor/hooks/useContext.d.ts +2 -2
- package/lib/Anchor/type.d.ts +1 -1
- package/lib/AutoComplete/index.d.ts +27 -27
- package/lib/AutoComplete/index.vue.d.ts +49 -49
- package/lib/AutoComplete/type.d.ts +6 -8
- package/lib/Avatar/Avatar.vue.d.ts +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/hooks/useContext.d.ts +3 -3
- package/lib/Avatar/index.d.ts +3 -3
- package/lib/Avatar/type.d.ts +2 -2
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/BackTop/type.d.ts +1 -1
- package/lib/Badge/type.d.ts +1 -1
- package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Breadcrumb/type.d.ts +1 -1
- package/lib/Button/Button.vue.d.ts +1 -1
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/hooks/useContext.d.ts +5 -5
- package/lib/Button/index.d.ts +6 -6
- package/lib/Button/type.d.ts +4 -5
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Card/type.d.ts +2 -1
- package/lib/Carousel/Carousel.vue.d.ts +3 -3
- package/lib/Carousel/CarouselArrow.vue.js +1 -1
- package/lib/Carousel/CarouselIndicator.vue.d.ts +3 -3
- package/lib/Carousel/hooks/useContext.d.ts +3 -3
- package/lib/Carousel/index.d.ts +9 -9
- package/lib/Carousel/type.d.ts +2 -3
- package/lib/Cascader/Cascader.vue.d.ts +13 -25
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderIcon.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.js +1 -1
- package/lib/Cascader/hooks/useContext.d.ts +5 -17
- package/lib/Cascader/index.d.ts +17 -29
- package/lib/Cascader/type.d.ts +5 -7
- package/lib/Checkbox/Checkbox.vue.js +1 -1
- package/lib/Checkbox/hooks/useContext.d.ts +3 -3
- package/lib/Checkbox/type.d.ts +3 -3
- package/lib/Collapse/CollapseItem.vue.js +1 -1
- package/lib/Collapse/hooks/useContext.d.ts +5 -5
- package/lib/Collapse/type.d.ts +2 -2
- package/lib/ColorPicker/hooks/useContext.d.ts +2 -2
- package/lib/ConfigProvider/index.d.ts +3 -3
- package/lib/ConfigProvider/index.vue.d.ts +1 -1
- package/lib/ConfigProvider/type.d.ts +2 -3
- package/lib/Descriptions/hooks/useContext.d.ts +2 -2
- package/lib/Descriptions/type.d.ts +1 -2
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +1 -1
- package/lib/Dropdown/Doption.vue.js +1 -1
- package/lib/Dropdown/Dropdown.vue.d.ts +1 -1
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/DropdownButton.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.d.ts +20 -20
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.d.ts +2 -2
- package/lib/Dropdown/index.d.ts +18 -18
- package/lib/Dropdown/type.d.ts +5 -6
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Grid/Grid.vue.d.ts +3 -3
- package/lib/Grid/GridCol.vue.d.ts +2 -2
- package/lib/Grid/GridItem.vue.d.ts +2 -2
- package/lib/Grid/GridRow.vue.d.ts +1 -1
- package/lib/Grid/hooks/useContext.d.ts +4 -4
- package/lib/Grid/index.d.ts +24 -24
- package/lib/Grid/type.d.ts +4 -12
- package/lib/Image/Image.vue.d.ts +1 -1
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreviewArrow.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/hooks/useContext.d.ts +2 -2
- package/lib/Image/index.d.ts +3 -3
- package/lib/Image/type.d.ts +2 -3
- package/lib/Input/Input.vue.d.ts +1 -1
- package/lib/Input/Input.vue.js +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/hooks/useLimitedInput.d.ts +3 -3
- package/lib/Input/index.d.ts +3 -3
- package/lib/Input/type.d.ts +2 -2
- package/lib/InputNumber/InputNumber.vue.d.ts +7 -7
- package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
- package/lib/InputNumber/index.d.ts +6 -6
- package/lib/InputNumber/type.d.ts +3 -4
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/InputTag/type.d.ts +5 -6
- package/lib/Layout/LayoutSider.vue.d.ts +7 -7
- package/lib/Layout/LayoutSider.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.d.ts +2 -2
- package/lib/Layout/index.d.ts +19 -19
- package/lib/Layout/type.d.ts +4 -5
- package/lib/Link/index.vue.js +1 -1
- package/lib/Link/type.d.ts +1 -1
- package/lib/List/List.vue.d.ts +15 -15
- package/lib/List/ListVirtual.vue.d.ts +3 -3
- package/lib/List/index.d.ts +10 -10
- package/lib/List/type.d.ts +3 -3
- package/lib/Mention/index.d.ts +35 -35
- package/lib/Mention/index.vue.d.ts +46 -46
- package/lib/Mention/type.d.ts +6 -5
- package/lib/Menu/Menu.vue.d.ts +6 -6
- package/lib/Menu/Menu.vue.js +1 -1
- package/lib/Menu/MenuEllipsis.vue.js +1 -1
- package/lib/Menu/SubMenu.vue.d.ts +1 -1
- package/lib/Menu/SubMenu.vue.js +1 -1
- package/lib/Menu/hooks/useContext.d.ts +5 -5
- package/lib/Menu/index.d.ts +20 -20
- package/lib/Menu/type.d.ts +3 -6
- package/lib/Message/Message.vue.d.ts +1 -1
- package/lib/Message/Message.vue.js +1 -1
- package/lib/Message/index.d.ts +3 -3
- package/lib/Message/type.d.ts +5 -5
- package/lib/Modal/Modal.vue.d.ts +2 -2
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.d.ts +4 -4
- package/lib/Modal/index.d.ts +6 -6
- package/lib/Modal/type.d.ts +8 -8
- package/lib/Notification/Notification.vue.d.ts +3 -3
- package/lib/Notification/Notification.vue.js +1 -1
- package/lib/Notification/index.d.ts +9 -9
- package/lib/Notification/type.d.ts +4 -4
- package/lib/PageHeader/index.vue.js +1 -1
- package/lib/Pagination/PaginationItem.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +2 -2
- package/lib/Popconfirm/index.d.ts +18 -18
- package/lib/Popconfirm/index.vue.d.ts +21 -21
- package/lib/Popconfirm/type.d.ts +4 -4
- package/lib/Popover/index.d.ts +9 -9
- package/lib/Popover/index.vue.d.ts +3 -3
- package/lib/Popover/type.d.ts +3 -3
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Progress/type.d.ts +1 -1
- package/lib/Radio/Radio.vue.js +1 -1
- package/lib/Radio/hooks/useContext.d.ts +3 -3
- package/lib/Radio/type.d.ts +2 -2
- package/lib/Rate/index.vue.js +1 -1
- package/lib/ResizeBox/index.vue.js +1 -1
- package/lib/Result/type.d.ts +1 -1
- package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/lib/Scrollbar/index.d.ts +3 -3
- package/lib/Select/Option.vue.d.ts +1 -1
- package/lib/Select/Option.vue.js +1 -1
- package/lib/Select/Select.vue.d.ts +27 -27
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/SelectIcon.vue.js +1 -1
- package/lib/Select/SelectRealList.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +13 -13
- package/lib/Select/hooks/useSelectOptions.d.ts +13 -13
- package/lib/Select/index.d.ts +26 -26
- package/lib/Select/type.d.ts +13 -16
- package/lib/Skeleton/type.d.ts +3 -2
- package/lib/Slider/Slider.vue.d.ts +1 -1
- package/lib/Slider/SliderTicks.vue.d.ts +2 -2
- package/lib/Slider/hooks/useContext.d.ts +4 -4
- package/lib/Slider/index.d.ts +3 -3
- package/lib/Slider/type.d.ts +2 -3
- package/lib/Space/index.d.ts +3 -3
- package/lib/Space/index.vue.d.ts +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Split/index.vue.js +1 -1
- package/lib/Steps/Step.vue.js +1 -1
- package/lib/Steps/hooks/useContext.d.ts +3 -3
- package/lib/Switch/type.d.ts +2 -1
- package/lib/Tabs/TabButton.vue.js +1 -1
- package/lib/Tabs/Tabs.vue.d.ts +1 -1
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/TabsNavInk.vue.d.ts +2 -2
- package/lib/Tabs/hooks/useContext.d.ts +5 -5
- package/lib/Tabs/hooks/useTabsScroll.d.ts +2 -2
- package/lib/Tabs/index.d.ts +3 -3
- package/lib/Tabs/type.d.ts +2 -3
- package/lib/Tag/index.vue.js +1 -1
- package/lib/Tag/type.d.ts +2 -1
- package/lib/Textarea/index.vue.js +1 -1
- package/lib/TimePicker/TimePicker.vue.js +1 -1
- package/lib/TimePicker/hooks/useContext.d.ts +2 -2
- package/lib/TimePicker/type.d.ts +1 -1
- package/lib/Timeline/hooks/useContext.d.ts +4 -4
- package/lib/Tooltip/index.d.ts +9 -9
- package/lib/Tooltip/index.vue.d.ts +3 -3
- package/lib/Tooltip/type.d.ts +3 -3
- package/lib/Transfer/Transfer.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.d.ts +2 -2
- package/lib/Trigger/hooks/useContext.d.ts +2 -2
- package/lib/Trigger/hooks/useTriggerPosition.d.ts +3 -4
- package/lib/Trigger/hooks/useTriggerVisible.d.ts +2 -2
- package/lib/Trigger/index.d.ts +9 -9
- package/lib/Trigger/index.vue.d.ts +3 -3
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Trigger/type.d.ts +3 -4
- package/lib/Typography/TypographyBase.vue.d.ts +6 -7
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Typography/TypographyParagraph.vue.d.ts +1 -1
- package/lib/Typography/TypographyParagraph.vue.js +1 -1
- package/lib/Typography/TypographyText.vue.js +1 -1
- package/lib/Typography/TypographyTitle.vue.d.ts +1 -1
- package/lib/Typography/TypographyTitle.vue.js +1 -1
- package/lib/Typography/type.d.ts +4 -14
- package/lib/_shared/components/IconButton/index.vue2.js +1 -0
- package/lib/_shared/components/IconButton/index.vue3.js +1 -1
- package/lib/_shared/constants/index.d.ts +4 -4
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
- package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
- package/lib/_shared/icons/IconCheck.vue.js +1 -1
- package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
- package/lib/_shared/icons/IconClose.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconDragDot.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEmpty.vue.js +1 -1
- package/lib/_shared/icons/IconError.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconImageClose.vue.js +1 -1
- package/lib/_shared/icons/IconInfo.vue.js +1 -1
- package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
- package/lib/_shared/icons/IconLink.vue.js +1 -1
- package/lib/_shared/icons/IconLoading.vue.js +1 -1
- package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
- package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
- package/lib/_shared/icons/IconMinus.vue2.js +1 -1
- package/lib/_shared/icons/IconMore.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconPlus.vue.js +1 -1
- package/lib/_shared/icons/IconRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/icons/IconStar.vue.js +1 -1
- package/lib/_shared/icons/IconSuccess.vue.js +1 -1
- package/lib/_shared/icons/IconTime.vue.js +1 -1
- package/lib/_shared/icons/IconToTop.vue.js +1 -1
- package/lib/_shared/icons/IconWarning.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/type/index.d.ts +22 -5
- package/lib/_shared/utils/dom.d.ts +1 -1
- package/lib/_shared/utils/dom.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +4 -4
- package/lib/_shared/utils/vue-utils.d.ts +3 -3
- package/lib/index.d.ts +59 -59
- package/package.json +1 -1
- package/lib/_shared/components/IconButton/index.vue.js +0 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Ref, Slots } from 'vue';
|
2
|
-
import { CascaderEmits, CascaderValue, CascaderOption, CascaderOptionValue, CascaderOptionProps,
|
2
|
+
import { CascaderEmits, CascaderValue, CascaderOption, CascaderOptionValue, CascaderOptionProps, LoadMore } from '../type';
|
3
3
|
import { InputInstance } from '../../Input';
|
4
|
-
import {
|
4
|
+
import { EventTrigger, RecordType } from '../../_shared/type';
|
5
5
|
type CascaderContext = {
|
6
6
|
computedValue: Ref<CascaderValue>;
|
7
7
|
computedInputValue: Ref<string>;
|
@@ -14,7 +14,7 @@ type CascaderContext = {
|
|
14
14
|
pathMode: Ref<boolean>;
|
15
15
|
multiple: Ref<boolean>;
|
16
16
|
loading: Ref<boolean>;
|
17
|
-
expandTrigger: Ref<
|
17
|
+
expandTrigger: Ref<EventTrigger>;
|
18
18
|
expandChild: Ref<boolean>;
|
19
19
|
slots: Slots;
|
20
20
|
blur: () => void;
|
@@ -28,25 +28,13 @@ export declare const findOptions: (options: CascaderOptionProps[], level: number
|
|
28
28
|
export declare function findOptionByValueAndLevel(options: CascaderOption[], value: CascaderOptionValue, level: number, currentLevel?: number): CascaderOption | undefined;
|
29
29
|
export declare const getLeafNodes: (nodes: CascaderOptionProps[]) => CascaderOptionProps[];
|
30
30
|
declare const _default: () => {
|
31
|
-
provide: (props:
|
31
|
+
provide: (props: RecordType, emits: CascaderEmits, inputRef: Ref<InputInstance | undefined>) => {
|
32
32
|
computedValue: import('vue').WritableComputedRef<CascaderValue, CascaderValue>;
|
33
33
|
computedInputValue: import('vue').WritableComputedRef<string, string>;
|
34
34
|
computedVisible: import('vue').WritableComputedRef<boolean, boolean>;
|
35
35
|
options: import('vue').ComputedRef<CascaderOptionProps[]>;
|
36
36
|
optionMap: import('vue').ComputedRef<any>;
|
37
|
-
selectOptions: import('vue').ComputedRef<
|
38
|
-
id: string | undefined;
|
39
|
-
label: string;
|
40
|
-
level?: number;
|
41
|
-
index?: number;
|
42
|
-
nodePath?: CascaderOptionProps[];
|
43
|
-
value?: CascaderOptionValue;
|
44
|
-
render?: import('vue').RenderFunction;
|
45
|
-
disabled?: boolean;
|
46
|
-
tagProps?: import('../..').TagProps;
|
47
|
-
children?: CascaderOption[];
|
48
|
-
isLeaf?: boolean;
|
49
|
-
} | null)[]>;
|
37
|
+
selectOptions: import('vue').ComputedRef<RecordType[]>;
|
50
38
|
curLevel: Ref<number, number>;
|
51
39
|
curPath: Ref<number[], number[]>;
|
52
40
|
multiple: Ref<boolean, boolean>;
|
package/es/Cascader/index.d.ts
CHANGED
@@ -38,24 +38,24 @@ declare const Cascader: {
|
|
38
38
|
modelValue: import('./type').CascaderValue;
|
39
39
|
defaultValue: import('./type').CascaderValue;
|
40
40
|
allowClear: boolean;
|
41
|
+
formatLabel: import('..').Format<import('./type').CascaderOption[]>;
|
41
42
|
options: import('./type').CascaderOption[];
|
42
|
-
formatLabel: (options: import('./type').CascaderOption[]) => string;
|
43
43
|
inputValue: string;
|
44
44
|
defaultInputValue: string;
|
45
45
|
fieldNames: Record<string, string>;
|
46
46
|
allowSearch: boolean;
|
47
47
|
valueKey: string;
|
48
48
|
maxTagCount: number;
|
49
|
-
filterOption: (
|
49
|
+
filterOption: import('..').FilterOption<import('./type').CascaderOption>;
|
50
50
|
triggerProps: import('..').TriggerProps;
|
51
51
|
searchDelay: number;
|
52
52
|
tagNowrap: boolean;
|
53
53
|
pathMode: boolean;
|
54
|
-
expandTrigger: import('
|
54
|
+
expandTrigger: import('..').EventTrigger;
|
55
55
|
expandChild: boolean;
|
56
56
|
searchOptionOnlyLabel: boolean;
|
57
57
|
loadMore: import('./type').LoadMore;
|
58
|
-
fallback: import('./type').
|
58
|
+
fallback: boolean | import('..').FallBack<import('./type').CascaderOptionValue | import('./type').CascaderOptionValue[], string>;
|
59
59
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
60
60
|
inputRef: ({
|
61
61
|
$: import('vue').ComponentInternalInstance;
|
@@ -73,7 +73,7 @@ declare const Cascader: {
|
|
73
73
|
readonly wordLength?: import('..').WordLength | undefined;
|
74
74
|
readonly wordSlice?: import('..').WordSlice | undefined;
|
75
75
|
readonly showWordLimit?: boolean | undefined;
|
76
|
-
readonly inputAttrs?: import('
|
76
|
+
readonly inputAttrs?: import('..').RecordType | undefined;
|
77
77
|
readonly isPassword?: boolean | undefined;
|
78
78
|
readonly visibility?: boolean | undefined;
|
79
79
|
readonly defaultVisibility?: boolean | undefined;
|
@@ -145,7 +145,7 @@ declare const Cascader: {
|
|
145
145
|
readonly: boolean;
|
146
146
|
wordLength: import('..').WordLength;
|
147
147
|
wordSlice: import('..').WordSlice;
|
148
|
-
inputAttrs: import('
|
148
|
+
inputAttrs: import('..').RecordType;
|
149
149
|
isPassword: boolean;
|
150
150
|
visibility: boolean;
|
151
151
|
defaultVisibility: boolean;
|
@@ -184,7 +184,7 @@ declare const Cascader: {
|
|
184
184
|
readonly: boolean;
|
185
185
|
wordLength: import('..').WordLength;
|
186
186
|
wordSlice: import('..').WordSlice;
|
187
|
-
inputAttrs: import('
|
187
|
+
inputAttrs: import('..').RecordType;
|
188
188
|
isPassword: boolean;
|
189
189
|
visibility: boolean;
|
190
190
|
defaultVisibility: boolean;
|
@@ -239,24 +239,24 @@ declare const Cascader: {
|
|
239
239
|
modelValue: import('./type').CascaderValue;
|
240
240
|
defaultValue: import('./type').CascaderValue;
|
241
241
|
allowClear: boolean;
|
242
|
+
formatLabel: import('..').Format<import('./type').CascaderOption[]>;
|
242
243
|
options: import('./type').CascaderOption[];
|
243
|
-
formatLabel: (options: import('./type').CascaderOption[]) => string;
|
244
244
|
inputValue: string;
|
245
245
|
defaultInputValue: string;
|
246
246
|
fieldNames: Record<string, string>;
|
247
247
|
allowSearch: boolean;
|
248
248
|
valueKey: string;
|
249
249
|
maxTagCount: number;
|
250
|
-
filterOption: (
|
250
|
+
filterOption: import('..').FilterOption<import('./type').CascaderOption>;
|
251
251
|
triggerProps: import('..').TriggerProps;
|
252
252
|
searchDelay: number;
|
253
253
|
tagNowrap: boolean;
|
254
254
|
pathMode: boolean;
|
255
|
-
expandTrigger: import('
|
255
|
+
expandTrigger: import('..').EventTrigger;
|
256
256
|
expandChild: boolean;
|
257
257
|
searchOptionOnlyLabel: boolean;
|
258
258
|
loadMore: import('./type').LoadMore;
|
259
|
-
fallback: import('./type').
|
259
|
+
fallback: boolean | import('..').FallBack<import('./type').CascaderOptionValue | import('./type').CascaderOptionValue[], string>;
|
260
260
|
}>;
|
261
261
|
__isFragment?: never;
|
262
262
|
__isTeleport?: never;
|
@@ -296,43 +296,31 @@ declare const Cascader: {
|
|
296
296
|
modelValue: import('./type').CascaderValue;
|
297
297
|
defaultValue: import('./type').CascaderValue;
|
298
298
|
allowClear: boolean;
|
299
|
+
formatLabel: import('..').Format<import('./type').CascaderOption[]>;
|
299
300
|
options: import('./type').CascaderOption[];
|
300
|
-
formatLabel: (options: import('./type').CascaderOption[]) => string;
|
301
301
|
inputValue: string;
|
302
302
|
defaultInputValue: string;
|
303
303
|
fieldNames: Record<string, string>;
|
304
304
|
allowSearch: boolean;
|
305
305
|
valueKey: string;
|
306
306
|
maxTagCount: number;
|
307
|
-
filterOption: (
|
307
|
+
filterOption: import('..').FilterOption<import('./type').CascaderOption>;
|
308
308
|
triggerProps: import('..').TriggerProps;
|
309
309
|
searchDelay: number;
|
310
310
|
tagNowrap: boolean;
|
311
311
|
pathMode: boolean;
|
312
|
-
expandTrigger: import('
|
312
|
+
expandTrigger: import('..').EventTrigger;
|
313
313
|
expandChild: boolean;
|
314
314
|
searchOptionOnlyLabel: boolean;
|
315
315
|
loadMore: import('./type').LoadMore;
|
316
|
-
fallback: import('./type').
|
316
|
+
fallback: boolean | import('..').FallBack<import('./type').CascaderOptionValue | import('./type').CascaderOptionValue[], string>;
|
317
317
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
318
318
|
$slots: {
|
319
319
|
label?(_: {
|
320
|
-
tag: import('
|
320
|
+
tag: import('..').RecordType;
|
321
321
|
}): any;
|
322
322
|
label?(_: {
|
323
|
-
data:
|
324
|
-
id: string | undefined;
|
325
|
-
label: string;
|
326
|
-
level?: number;
|
327
|
-
index?: number;
|
328
|
-
nodePath?: import('./type').CascaderOptionProps[];
|
329
|
-
value?: import('./type').CascaderOptionValue;
|
330
|
-
render?: import('vue').RenderFunction;
|
331
|
-
disabled?: boolean;
|
332
|
-
tagProps?: import('..').TagProps;
|
333
|
-
children?: import('./type').CascaderOption[];
|
334
|
-
isLeaf?: boolean;
|
335
|
-
} | null;
|
323
|
+
data: import('..').RecordType;
|
336
324
|
}): any;
|
337
325
|
prefix?(_: {}): any;
|
338
326
|
prefix?(_: {}): any;
|
package/es/Cascader/type.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { RenderFunction, VNode } from 'vue';
|
2
|
-
import { PopupContainer, Size } from '../_shared/type';
|
2
|
+
import { PopupContainer, Size, FilterOption, EventTrigger, Format, FallBack } from '../_shared/type';
|
3
3
|
import { TagProps } from '../Tag';
|
4
4
|
import { TriggerProps } from '../Trigger';
|
5
5
|
export interface CascaderProps {
|
@@ -17,12 +17,12 @@ export interface CascaderProps {
|
|
17
17
|
defaultInputValue?: string;
|
18
18
|
popupVisible?: boolean;
|
19
19
|
defaultPopupVisible?: boolean;
|
20
|
-
expandTrigger?:
|
20
|
+
expandTrigger?: EventTrigger;
|
21
21
|
placeholder?: string;
|
22
|
-
filterOption?:
|
22
|
+
filterOption?: FilterOption<CascaderOption>;
|
23
23
|
popupContainer?: PopupContainer;
|
24
24
|
maxTagCount?: number;
|
25
|
-
formatLabel?:
|
25
|
+
formatLabel?: Format<CascaderOption[]>;
|
26
26
|
triggerProps?: TriggerProps;
|
27
27
|
loadMore?: LoadMore;
|
28
28
|
loading?: boolean;
|
@@ -30,7 +30,7 @@ export interface CascaderProps {
|
|
30
30
|
searchDelay?: number;
|
31
31
|
fieldNames?: Record<string, string>;
|
32
32
|
valueKey?: string;
|
33
|
-
fallback?: FallBack
|
33
|
+
fallback?: boolean | FallBack<CascaderOptionValue | CascaderOptionValue[], string>;
|
34
34
|
expandChild?: boolean;
|
35
35
|
tagNowrap?: boolean;
|
36
36
|
}
|
@@ -75,6 +75,4 @@ export type CascaderOptionProps = {
|
|
75
75
|
index?: number;
|
76
76
|
nodePath?: CascaderOptionProps[];
|
77
77
|
} & CascaderOption;
|
78
|
-
export type ExpandTrigger = 'click' | 'hover';
|
79
78
|
export type LoadMore = (option: CascaderOption, done: (children?: CascaderOption[]) => void) => void;
|
80
|
-
export type FallBack = boolean | ((value: CascaderOptionValue | CascaderOptionValue[]) => string);
|
@@ -6,8 +6,8 @@ import "../_shared/utils/time.js";
|
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
8
|
import useContext from "./hooks/useContext.js";
|
9
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
10
|
-
/* empty css
|
9
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
10
|
+
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
/* empty css */
|
13
13
|
import _sfc_main$2 from "../_shared/icons/IconCheckboxChecked.vue.js";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
2
|
import { CheckboxValue, CheckboxGroupEmits } from '../type';
|
3
|
-
import {
|
3
|
+
import { RecordType } from '../../_shared/type';
|
4
4
|
type CheckboxContext = {
|
5
5
|
computedValue: Ref<CheckboxValue[]>;
|
6
6
|
max: Ref<number>;
|
@@ -8,8 +8,8 @@ type CheckboxContext = {
|
|
8
8
|
hasGroup: Ref<boolean>;
|
9
9
|
};
|
10
10
|
declare const _default: () => {
|
11
|
-
provide: (props:
|
12
|
-
options: import('vue').ComputedRef<
|
11
|
+
provide: (props: RecordType, emits: CheckboxGroupEmits) => {
|
12
|
+
options: import('vue').ComputedRef<RecordType[]>;
|
13
13
|
};
|
14
14
|
inject: () => CheckboxContext;
|
15
15
|
};
|
package/es/Checkbox/type.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Direction, ObjectData } from '../_shared/type';
|
2
1
|
import { VNode } from 'vue';
|
2
|
+
import { Direction, RecordType } from '../_shared/type';
|
3
3
|
export interface CheckboxProps {
|
4
4
|
modelValue?: boolean;
|
5
5
|
defaultChecked?: boolean;
|
@@ -37,13 +37,13 @@ export interface CheckboxGroupSlots {
|
|
37
37
|
disabled: boolean;
|
38
38
|
}) => void;
|
39
39
|
label?: (scope: {
|
40
|
-
data:
|
40
|
+
data: RecordType;
|
41
41
|
}) => void;
|
42
42
|
}
|
43
|
+
export type CheckboxValue = string | number | boolean;
|
43
44
|
export type CheckboxOption = (CheckboxValue | {
|
44
45
|
label?: string;
|
45
46
|
value: CheckboxValue;
|
46
47
|
disabled?: boolean;
|
47
48
|
indeterminate?: boolean;
|
48
49
|
})[];
|
49
|
-
export type CheckboxValue = string | number | boolean;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent, toRefs, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createVNode, createBlock, createCommentVNode, withCtx, renderSlot, resolveDynamicComponent, createTextVNode, toDisplayString, withDirectives, vShow } from "vue";
|
2
2
|
import useContext from "./hooks/useContext.js";
|
3
|
-
import _sfc_main$1 from "../_shared/components/IconButton/index.
|
4
|
-
/* empty css
|
3
|
+
import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
|
4
|
+
/* empty css */
|
5
5
|
import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
|
6
6
|
/* empty css */
|
7
7
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Ref, Slots } from 'vue';
|
2
2
|
import { CollapseItemProps as _CollapseItemProps, CollapseProps as _CollapseProps, CollapseEmits, CollapseValue, ExpandIconPosition } from '../type';
|
3
|
-
import {
|
3
|
+
import { RecordType, Required } from '../../_shared/type';
|
4
4
|
export declare const COLLAPSE_CONTEXT_KEY = "collapse-context";
|
5
5
|
export type CollapseContext = {
|
6
6
|
computedActiveKey: Ref<CollapseValue[]>;
|
@@ -10,11 +10,11 @@ export type CollapseContext = {
|
|
10
10
|
destroyOnHide: Ref<boolean>;
|
11
11
|
slots: Slots;
|
12
12
|
};
|
13
|
-
export type CollapseProps =
|
14
|
-
export type CollapseItemProps =
|
13
|
+
export type CollapseProps = Required<_CollapseProps>;
|
14
|
+
export type CollapseItemProps = Required<_CollapseItemProps>;
|
15
15
|
declare const _default: () => {
|
16
|
-
provide: (props:
|
17
|
-
inject: (props:
|
16
|
+
provide: (props: RecordType, emits: CollapseEmits) => void;
|
17
|
+
inject: (props: RecordType) => {
|
18
18
|
showExpandIcon: import('vue').ComputedRef<boolean>;
|
19
19
|
destroyOnHide: import('vue').ComputedRef<boolean>;
|
20
20
|
computedActiveKey: Ref<CollapseValue[]>;
|
package/es/Collapse/type.d.ts
CHANGED
@@ -17,7 +17,7 @@ export interface CollapseSlots {
|
|
17
17
|
'expand-icon': (scope: {
|
18
18
|
active: boolean;
|
19
19
|
disabled: boolean;
|
20
|
-
position:
|
20
|
+
position: ExpandIconPosition;
|
21
21
|
}) => VNode[];
|
22
22
|
}
|
23
23
|
export interface CollapseItemProps {
|
@@ -34,7 +34,7 @@ export interface CollapseItemSlots {
|
|
34
34
|
['expand-icon']?: (scope: {
|
35
35
|
active: boolean;
|
36
36
|
disabled: boolean;
|
37
|
-
position:
|
37
|
+
position: ExpandIconPosition;
|
38
38
|
}) => VNode[];
|
39
39
|
}
|
40
40
|
export type CollapseValue = string | number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
2
|
import { ColorPickerEmits, ColorFormat } from '../type';
|
3
|
-
import {
|
3
|
+
import { RecordType } from '../../_shared/type';
|
4
4
|
type ColorPickerContext = {
|
5
5
|
popupVisible: Ref<boolean>;
|
6
6
|
computedColor: Ref<string>;
|
@@ -17,7 +17,7 @@ type ColorPickerContext = {
|
|
17
17
|
emits: ColorPickerEmits;
|
18
18
|
};
|
19
19
|
declare const _default: () => {
|
20
|
-
provide: (props:
|
20
|
+
provide: (props: RecordType, emits: ColorPickerEmits) => {
|
21
21
|
popupVisible: Ref<boolean, boolean>;
|
22
22
|
size: import('vue').ComputedRef<any>;
|
23
23
|
computedColor: import('vue').WritableComputedRef<string, string>;
|
@@ -7,7 +7,7 @@ declare const ConfigProvider: {
|
|
7
7
|
size: import('..').Size;
|
8
8
|
popupContainer: import('..').PopupContainer;
|
9
9
|
zIndex: number;
|
10
|
-
locale: import('
|
10
|
+
locale: import('..').RecordType;
|
11
11
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
12
12
|
P: {};
|
13
13
|
B: {};
|
@@ -19,7 +19,7 @@ declare const ConfigProvider: {
|
|
19
19
|
size: import('..').Size;
|
20
20
|
popupContainer: import('..').PopupContainer;
|
21
21
|
zIndex: number;
|
22
|
-
locale: import('
|
22
|
+
locale: import('..').RecordType;
|
23
23
|
}>;
|
24
24
|
__isFragment?: never;
|
25
25
|
__isTeleport?: never;
|
@@ -28,7 +28,7 @@ declare const ConfigProvider: {
|
|
28
28
|
size: import('..').Size;
|
29
29
|
popupContainer: import('..').PopupContainer;
|
30
30
|
zIndex: number;
|
31
|
-
locale: import('
|
31
|
+
locale: import('..').RecordType;
|
32
32
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
33
33
|
$slots: Readonly<import('./type').ConfigconfigSlots> & import('./type').ConfigconfigSlots;
|
34
34
|
}) & {
|
@@ -10,7 +10,7 @@ declare const __VLS_component: import('vue').DefineComponent<ConfigProviderProps
|
|
10
10
|
size: import('..').Size;
|
11
11
|
popupContainer: import('..').PopupContainer;
|
12
12
|
zIndex: number;
|
13
|
-
locale: import('
|
13
|
+
locale: import('..').RecordType;
|
14
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
15
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
16
16
|
export default _default;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { Size, PopupContainer,
|
1
|
+
import { Size, PopupContainer, RecordType } from '../_shared/type';
|
2
2
|
import { VNode } from 'vue';
|
3
3
|
export interface ConfigProviderProps {
|
4
|
-
locale?:
|
4
|
+
locale?: RecordType;
|
5
5
|
zIndex?: number;
|
6
6
|
size?: Size;
|
7
7
|
popupContainer?: PopupContainer;
|
@@ -9,4 +9,3 @@ export interface ConfigProviderProps {
|
|
9
9
|
export interface ConfigconfigSlots {
|
10
10
|
default?: () => VNode[];
|
11
11
|
}
|
12
|
-
export type YcLang = 'ar-EG' | 'de-DE' | 'en-US' | 'es-ES' | 'fr-FR' | 'id-ID' | 'it-it' | 'ja-JP' | 'km-KH' | 'ko-KR' | 'ms-MY' | 'nl-NL' | 'pt-PT' | 'ru-RU' | 'th-TH' | 'vi-VN' | 'zh-CN' | 'zh-TW';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Ref, CSSProperties, Slots } from 'vue';
|
2
2
|
import { DescriptionsAlign, DescData } from '../type';
|
3
|
-
import {
|
3
|
+
import { RecordType, Size } from '../../_shared/type';
|
4
4
|
type DescriptionsContext = {
|
5
5
|
labelStyle: Ref<CSSProperties>;
|
6
6
|
valueStyle: Ref<CSSProperties>;
|
@@ -10,7 +10,7 @@ type DescriptionsContext = {
|
|
10
10
|
slots: Slots;
|
11
11
|
};
|
12
12
|
declare const _default: () => {
|
13
|
-
provide: (props:
|
13
|
+
provide: (props: RecordType) => {
|
14
14
|
data: import('vue').ComputedRef<DescData[]>;
|
15
15
|
size: import('vue').ComputedRef<any>;
|
16
16
|
column: import('vue').ComputedRef<number>;
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import { RenderContent, Size } from '../_shared/type';
|
2
|
-
import { ResponsiveValue } from '../Grid';
|
3
1
|
import { CSSProperties, VNode } from 'vue';
|
2
|
+
import { RenderContent, Size, ResponsiveValue } from '../_shared/type';
|
4
3
|
export interface DescriptionsProps {
|
5
4
|
data?: DescData[];
|
6
5
|
column?: DescriptionsColumn;
|
package/es/Drawer/Drawer.vue.js
CHANGED
@@ -6,8 +6,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
|
|
6
6
|
import { useI18n } from "../_shared/utils/locale.js";
|
7
7
|
import useModalClose from "../Modal/hooks/useModalClose.js";
|
8
8
|
import Button from "../Button/index.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
|
const _hoisted_1 = {
|
@@ -6,7 +6,7 @@ declare const _default: import('vue').DefineComponent<DrawerServiceProps, {}, {}
|
|
6
6
|
height: number | string;
|
7
7
|
footer: boolean;
|
8
8
|
header: boolean;
|
9
|
-
title: string & import('
|
9
|
+
title: string & import('..').RenderContent;
|
10
10
|
mask: boolean;
|
11
11
|
closable: boolean;
|
12
12
|
maskClosable: boolean;
|
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
15
|
},
|
16
16
|
__name: "Doption",
|
17
17
|
props: {
|
18
|
-
value: { type: [String, Number, Boolean
|
18
|
+
value: { type: [String, Number, Boolean] },
|
19
19
|
disabled: { type: Boolean, default: false },
|
20
20
|
isSubmenu: { type: Boolean, default: false },
|
21
21
|
isActive: { type: Boolean, default: false }
|
@@ -26,7 +26,7 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownProps, {
|
|
26
26
|
popupContainer: import('..').PopupContainer;
|
27
27
|
triggerProps: import('../Trigger').TriggerProps;
|
28
28
|
hideOnSelect: boolean;
|
29
|
-
popupMaxHeight:
|
29
|
+
popupMaxHeight: import('..').PopupMaxHeight;
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
31
31
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
32
32
|
export default _default;
|
@@ -29,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
29
|
triggerProps: { default: () => {
|
30
30
|
return {};
|
31
31
|
} },
|
32
|
-
popupMaxHeight: { type: [
|
32
|
+
popupMaxHeight: { type: [Boolean, Number], default: 200 }
|
33
33
|
},
|
34
34
|
emits: ["update:popupVisible", "popup-visible-change", "select"],
|
35
35
|
setup(__props, { expose: __expose, emit: __emit }) {
|
@@ -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$3 from "../_shared/icons/IconMore.vue.js";
|
@@ -11,7 +11,7 @@ declare function __VLS_template(): {
|
|
11
11
|
readonly popupVisible?: boolean | undefined;
|
12
12
|
readonly defaultPopupVisible?: boolean | undefined;
|
13
13
|
readonly trigger?: import('../Trigger').TriggerType | undefined;
|
14
|
-
readonly position?: import('
|
14
|
+
readonly position?: import('..').PopupPosition | undefined;
|
15
15
|
readonly disabled?: boolean | undefined;
|
16
16
|
readonly popupOffset?: number | undefined;
|
17
17
|
readonly popupTranslate?: number[] | undefined;
|
@@ -21,9 +21,9 @@ declare function __VLS_template(): {
|
|
21
21
|
readonly clickToClose?: boolean | undefined;
|
22
22
|
readonly clickOutsideToClose?: boolean | undefined;
|
23
23
|
readonly unmountOnClose?: boolean | undefined;
|
24
|
-
readonly contentClass?: import('
|
24
|
+
readonly contentClass?: import('..').ClassName | undefined;
|
25
25
|
readonly contentStyle?: import('vue').CSSProperties | undefined;
|
26
|
-
readonly arrowClass?: import('
|
26
|
+
readonly arrowClass?: import('..').ClassName | undefined;
|
27
27
|
readonly arrowStyle?: import('vue').CSSProperties | undefined;
|
28
28
|
readonly animationName?: string | undefined;
|
29
29
|
readonly duration?: number | undefined;
|
@@ -157,14 +157,14 @@ declare function __VLS_template(): {
|
|
157
157
|
scrollToClose: boolean;
|
158
158
|
autoSetPosition: boolean;
|
159
159
|
alignPoint: boolean;
|
160
|
-
position: import('
|
160
|
+
position: import('..').PopupPosition;
|
161
161
|
popupOffset: number;
|
162
162
|
popupTranslate: number[];
|
163
163
|
showArrow: boolean;
|
164
164
|
unmountOnClose: boolean;
|
165
|
-
contentClass: import('
|
165
|
+
contentClass: import('..').ClassName;
|
166
166
|
contentStyle: import('vue').CSSProperties;
|
167
|
-
arrowClass: import('
|
167
|
+
arrowClass: import('..').ClassName;
|
168
168
|
arrowStyle: import('vue').CSSProperties;
|
169
169
|
animationName: string;
|
170
170
|
duration: number;
|
@@ -211,14 +211,14 @@ declare function __VLS_template(): {
|
|
211
211
|
scrollToClose: boolean;
|
212
212
|
autoSetPosition: boolean;
|
213
213
|
alignPoint: boolean;
|
214
|
-
position: import('
|
214
|
+
position: import('..').PopupPosition;
|
215
215
|
popupOffset: number;
|
216
216
|
popupTranslate: number[];
|
217
217
|
showArrow: boolean;
|
218
218
|
unmountOnClose: boolean;
|
219
|
-
contentClass: import('
|
219
|
+
contentClass: import('..').ClassName;
|
220
220
|
contentStyle: import('vue').CSSProperties;
|
221
|
-
arrowClass: import('
|
221
|
+
arrowClass: import('..').ClassName;
|
222
222
|
arrowStyle: import('vue').CSSProperties;
|
223
223
|
animationName: string;
|
224
224
|
duration: number;
|
@@ -317,13 +317,13 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
|
|
317
317
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
318
318
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
319
319
|
}>, {
|
320
|
-
trigger: import('
|
320
|
+
trigger: import('..').EventTrigger;
|
321
321
|
popupVisible: boolean;
|
322
322
|
defaultPopupVisible: boolean;
|
323
323
|
disabled: boolean;
|
324
324
|
position: import('./type').DsubmenuPosition;
|
325
325
|
triggerProps: import('../Trigger').TriggerProps;
|
326
|
-
popupMaxHeight:
|
326
|
+
popupMaxHeight: import('..').PopupMaxHeight;
|
327
327
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
328
328
|
triggerRef: ({
|
329
329
|
$: import('vue').ComponentInternalInstance;
|
@@ -332,7 +332,7 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
|
|
332
332
|
readonly popupVisible?: boolean | undefined;
|
333
333
|
readonly defaultPopupVisible?: boolean | undefined;
|
334
334
|
readonly trigger?: import('../Trigger').TriggerType | undefined;
|
335
|
-
readonly position?: import('
|
335
|
+
readonly position?: import('..').PopupPosition | undefined;
|
336
336
|
readonly disabled?: boolean | undefined;
|
337
337
|
readonly popupOffset?: number | undefined;
|
338
338
|
readonly popupTranslate?: number[] | undefined;
|
@@ -342,9 +342,9 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
|
|
342
342
|
readonly clickToClose?: boolean | undefined;
|
343
343
|
readonly clickOutsideToClose?: boolean | undefined;
|
344
344
|
readonly unmountOnClose?: boolean | undefined;
|
345
|
-
readonly contentClass?: import('
|
345
|
+
readonly contentClass?: import('..').ClassName | undefined;
|
346
346
|
readonly contentStyle?: import('vue').CSSProperties | undefined;
|
347
|
-
readonly arrowClass?: import('
|
347
|
+
readonly arrowClass?: import('..').ClassName | undefined;
|
348
348
|
readonly arrowStyle?: import('vue').CSSProperties | undefined;
|
349
349
|
readonly animationName?: string | undefined;
|
350
350
|
readonly duration?: number | undefined;
|
@@ -478,14 +478,14 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
|
|
478
478
|
scrollToClose: boolean;
|
479
479
|
autoSetPosition: boolean;
|
480
480
|
alignPoint: boolean;
|
481
|
-
position: import('
|
481
|
+
position: import('..').PopupPosition;
|
482
482
|
popupOffset: number;
|
483
483
|
popupTranslate: number[];
|
484
484
|
showArrow: boolean;
|
485
485
|
unmountOnClose: boolean;
|
486
|
-
contentClass: import('
|
486
|
+
contentClass: import('..').ClassName;
|
487
487
|
contentStyle: import('vue').CSSProperties;
|
488
|
-
arrowClass: import('
|
488
|
+
arrowClass: import('..').ClassName;
|
489
489
|
arrowStyle: import('vue').CSSProperties;
|
490
490
|
animationName: string;
|
491
491
|
duration: number;
|
@@ -532,14 +532,14 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
|
|
532
532
|
scrollToClose: boolean;
|
533
533
|
autoSetPosition: boolean;
|
534
534
|
alignPoint: boolean;
|
535
|
-
position: import('
|
535
|
+
position: import('..').PopupPosition;
|
536
536
|
popupOffset: number;
|
537
537
|
popupTranslate: number[];
|
538
538
|
showArrow: boolean;
|
539
539
|
unmountOnClose: boolean;
|
540
|
-
contentClass: import('
|
540
|
+
contentClass: import('..').ClassName;
|
541
541
|
contentStyle: import('vue').CSSProperties;
|
542
|
-
arrowClass: import('
|
542
|
+
arrowClass: import('..').ClassName;
|
543
543
|
arrowStyle: import('vue').CSSProperties;
|
544
544
|
animationName: string;
|
545
545
|
duration: number;
|
@@ -6,7 +6,7 @@ import { isBoolean, isUndefined } from "../_shared/utils/is.js";
|
|
6
6
|
import "../_shared/utils/time.js";
|
7
7
|
import "../_shared/utils/locale.js";
|
8
8
|
import useControlValue from "../_shared/utils/control.js";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
/* empty css */
|
12
12
|
import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
|
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
35
35
|
triggerProps: { default: () => {
|
36
36
|
return {};
|
37
37
|
} },
|
38
|
-
popupMaxHeight: { default: 200 }
|
38
|
+
popupMaxHeight: { type: [Boolean, Number], default: 200 }
|
39
39
|
},
|
40
40
|
emits: ["update:popupVisible", "popup-visible-change"],
|
41
41
|
setup(__props, { expose: __expose, emit: __emit }) {
|