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
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
10
10
|
readonly popupVisible?: boolean | undefined;
|
11
11
|
readonly defaultPopupVisible?: boolean | undefined;
|
12
12
|
readonly trigger?: import('../Trigger').TriggerType | undefined;
|
13
|
-
readonly position?: import('
|
13
|
+
readonly position?: import('..').PopupPosition | undefined;
|
14
14
|
readonly disabled?: boolean | undefined;
|
15
15
|
readonly popupOffset?: number | undefined;
|
16
16
|
readonly popupTranslate?: number[] | undefined;
|
@@ -20,9 +20,9 @@ declare function __VLS_template(): {
|
|
20
20
|
readonly clickToClose?: boolean | undefined;
|
21
21
|
readonly clickOutsideToClose?: boolean | undefined;
|
22
22
|
readonly unmountOnClose?: boolean | undefined;
|
23
|
-
readonly contentClass?: import('
|
23
|
+
readonly contentClass?: import('..').ClassName | undefined;
|
24
24
|
readonly contentStyle?: import('vue').CSSProperties | undefined;
|
25
|
-
readonly arrowClass?: import('
|
25
|
+
readonly arrowClass?: import('..').ClassName | undefined;
|
26
26
|
readonly arrowStyle?: import('vue').CSSProperties | undefined;
|
27
27
|
readonly animationName?: string | undefined;
|
28
28
|
readonly duration?: number | undefined;
|
@@ -156,14 +156,14 @@ declare function __VLS_template(): {
|
|
156
156
|
scrollToClose: boolean;
|
157
157
|
autoSetPosition: boolean;
|
158
158
|
alignPoint: boolean;
|
159
|
-
position: import('
|
159
|
+
position: import('..').PopupPosition;
|
160
160
|
popupOffset: number;
|
161
161
|
popupTranslate: number[];
|
162
162
|
showArrow: boolean;
|
163
163
|
unmountOnClose: boolean;
|
164
|
-
contentClass: import('
|
164
|
+
contentClass: import('..').ClassName;
|
165
165
|
contentStyle: import('vue').CSSProperties;
|
166
|
-
arrowClass: import('
|
166
|
+
arrowClass: import('..').ClassName;
|
167
167
|
arrowStyle: import('vue').CSSProperties;
|
168
168
|
animationName: string;
|
169
169
|
duration: number;
|
@@ -210,14 +210,14 @@ declare function __VLS_template(): {
|
|
210
210
|
scrollToClose: boolean;
|
211
211
|
autoSetPosition: boolean;
|
212
212
|
alignPoint: boolean;
|
213
|
-
position: import('
|
213
|
+
position: import('..').PopupPosition;
|
214
214
|
popupOffset: number;
|
215
215
|
popupTranslate: number[];
|
216
216
|
showArrow: boolean;
|
217
217
|
unmountOnClose: boolean;
|
218
|
-
contentClass: import('
|
218
|
+
contentClass: import('..').ClassName;
|
219
219
|
contentStyle: import('vue').CSSProperties;
|
220
|
-
arrowClass: import('
|
220
|
+
arrowClass: import('..').ClassName;
|
221
221
|
arrowStyle: import('vue').CSSProperties;
|
222
222
|
animationName: string;
|
223
223
|
duration: number;
|
@@ -261,10 +261,10 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
261
261
|
}>, {
|
262
262
|
popupVisible: boolean;
|
263
263
|
defaultPopupVisible: boolean;
|
264
|
-
position: import('
|
265
|
-
contentClass: import('
|
264
|
+
position: import('..').PopupPosition;
|
265
|
+
contentClass: import('..').ClassName;
|
266
266
|
contentStyle: import('vue').CSSProperties;
|
267
|
-
arrowClass: import('
|
267
|
+
arrowClass: import('..').ClassName;
|
268
268
|
arrowStyle: import('vue').CSSProperties;
|
269
269
|
popupContainer: import('..').PopupContainer;
|
270
270
|
content: string;
|
@@ -285,7 +285,7 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
285
285
|
readonly popupVisible?: boolean | undefined;
|
286
286
|
readonly defaultPopupVisible?: boolean | undefined;
|
287
287
|
readonly trigger?: import('../Trigger').TriggerType | undefined;
|
288
|
-
readonly position?: import('
|
288
|
+
readonly position?: import('..').PopupPosition | undefined;
|
289
289
|
readonly disabled?: boolean | undefined;
|
290
290
|
readonly popupOffset?: number | undefined;
|
291
291
|
readonly popupTranslate?: number[] | undefined;
|
@@ -295,9 +295,9 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
295
295
|
readonly clickToClose?: boolean | undefined;
|
296
296
|
readonly clickOutsideToClose?: boolean | undefined;
|
297
297
|
readonly unmountOnClose?: boolean | undefined;
|
298
|
-
readonly contentClass?: import('
|
298
|
+
readonly contentClass?: import('..').ClassName | undefined;
|
299
299
|
readonly contentStyle?: import('vue').CSSProperties | undefined;
|
300
|
-
readonly arrowClass?: import('
|
300
|
+
readonly arrowClass?: import('..').ClassName | undefined;
|
301
301
|
readonly arrowStyle?: import('vue').CSSProperties | undefined;
|
302
302
|
readonly animationName?: string | undefined;
|
303
303
|
readonly duration?: number | undefined;
|
@@ -431,14 +431,14 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
431
431
|
scrollToClose: boolean;
|
432
432
|
autoSetPosition: boolean;
|
433
433
|
alignPoint: boolean;
|
434
|
-
position: import('
|
434
|
+
position: import('..').PopupPosition;
|
435
435
|
popupOffset: number;
|
436
436
|
popupTranslate: number[];
|
437
437
|
showArrow: boolean;
|
438
438
|
unmountOnClose: boolean;
|
439
|
-
contentClass: import('
|
439
|
+
contentClass: import('..').ClassName;
|
440
440
|
contentStyle: import('vue').CSSProperties;
|
441
|
-
arrowClass: import('
|
441
|
+
arrowClass: import('..').ClassName;
|
442
442
|
arrowStyle: import('vue').CSSProperties;
|
443
443
|
animationName: string;
|
444
444
|
duration: number;
|
@@ -485,14 +485,14 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
|
|
485
485
|
scrollToClose: boolean;
|
486
486
|
autoSetPosition: boolean;
|
487
487
|
alignPoint: boolean;
|
488
|
-
position: import('
|
488
|
+
position: import('..').PopupPosition;
|
489
489
|
popupOffset: number;
|
490
490
|
popupTranslate: number[];
|
491
491
|
showArrow: boolean;
|
492
492
|
unmountOnClose: boolean;
|
493
|
-
contentClass: import('
|
493
|
+
contentClass: import('..').ClassName;
|
494
494
|
contentStyle: import('vue').CSSProperties;
|
495
|
-
arrowClass: import('
|
495
|
+
arrowClass: import('..').ClassName;
|
496
496
|
arrowStyle: import('vue').CSSProperties;
|
497
497
|
animationName: string;
|
498
498
|
duration: number;
|
package/es/Popconfirm/type.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { CSSProperties, VNode } from 'vue';
|
2
|
-
import { ClassName, PopupContainer } from '../_shared/type';
|
2
|
+
import { ClassName, PopupContainer, PopupPosition } from '../_shared/type';
|
3
3
|
import { OnBeforeCancel, OnBeforeOk } from '../Modal';
|
4
|
-
import {
|
4
|
+
import { TriggerProps } from '../Trigger';
|
5
5
|
import { ButtonProps } from '../Button';
|
6
6
|
export interface PopconfirmProps {
|
7
7
|
content?: string;
|
8
|
-
position?:
|
8
|
+
position?: PopupPosition;
|
9
9
|
popupVisible?: boolean;
|
10
10
|
defaultPopupVisible?: boolean;
|
11
11
|
type?: PopconfirmType;
|
@@ -34,8 +34,8 @@ export interface PopconfirmSlots {
|
|
34
34
|
content?: () => VNode[];
|
35
35
|
icon?: () => VNode[];
|
36
36
|
}
|
37
|
-
export type PopconfirmType = 'info' | 'success' | 'warning' | 'error';
|
38
37
|
export interface PopconfirmExpose {
|
39
38
|
hide(): void;
|
40
39
|
show(): void;
|
41
40
|
}
|
41
|
+
export type PopconfirmType = 'success' | 'warning' | 'error' | 'info';
|
package/es/Popover/index.d.ts
CHANGED
@@ -16,10 +16,10 @@ declare const Popover: {
|
|
16
16
|
trigger: import('..').TriggerType;
|
17
17
|
popupVisible: boolean;
|
18
18
|
defaultPopupVisible: boolean;
|
19
|
-
position: import('..').
|
20
|
-
contentClass: import('
|
19
|
+
position: import('..').PopupPosition;
|
20
|
+
contentClass: import('..').ClassName;
|
21
21
|
contentStyle: import('vue').CSSProperties;
|
22
|
-
arrowClass: import('
|
22
|
+
arrowClass: import('..').ClassName;
|
23
23
|
arrowStyle: import('vue').CSSProperties;
|
24
24
|
popupContainer: import('..').PopupContainer;
|
25
25
|
content: string;
|
@@ -42,10 +42,10 @@ declare const Popover: {
|
|
42
42
|
trigger: import('..').TriggerType;
|
43
43
|
popupVisible: boolean;
|
44
44
|
defaultPopupVisible: boolean;
|
45
|
-
position: import('..').
|
46
|
-
contentClass: import('
|
45
|
+
position: import('..').PopupPosition;
|
46
|
+
contentClass: import('..').ClassName;
|
47
47
|
contentStyle: import('vue').CSSProperties;
|
48
|
-
arrowClass: import('
|
48
|
+
arrowClass: import('..').ClassName;
|
49
49
|
arrowStyle: import('vue').CSSProperties;
|
50
50
|
popupContainer: import('..').PopupContainer;
|
51
51
|
content: string;
|
@@ -68,10 +68,10 @@ declare const Popover: {
|
|
68
68
|
trigger: import('..').TriggerType;
|
69
69
|
popupVisible: boolean;
|
70
70
|
defaultPopupVisible: boolean;
|
71
|
-
position: import('..').
|
72
|
-
contentClass: import('
|
71
|
+
position: import('..').PopupPosition;
|
72
|
+
contentClass: import('..').ClassName;
|
73
73
|
contentStyle: import('vue').CSSProperties;
|
74
|
-
arrowClass: import('
|
74
|
+
arrowClass: import('..').ClassName;
|
75
75
|
arrowStyle: import('vue').CSSProperties;
|
76
76
|
popupContainer: import('..').PopupContainer;
|
77
77
|
content: string;
|
@@ -19,10 +19,10 @@ declare const __VLS_component: import('vue').DefineComponent<PopoverProps, {
|
|
19
19
|
trigger: import('../Trigger').TriggerType;
|
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;
|
package/es/Popover/type.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { CSSProperties, VNode } from 'vue';
|
2
|
-
import { ClassName, PopupContainer } from '../_shared/type';
|
3
|
-
import {
|
2
|
+
import { ClassName, PopupContainer, PopupPosition } from '../_shared/type';
|
3
|
+
import { TriggerProps, TriggerType } from '../Trigger';
|
4
4
|
export interface PopoverProps {
|
5
5
|
popupVisible?: boolean;
|
6
6
|
defaultPopupVisible?: boolean;
|
7
7
|
title?: string;
|
8
8
|
content?: string;
|
9
9
|
trigger?: TriggerType;
|
10
|
-
position?:
|
10
|
+
position?: PopupPosition;
|
11
11
|
contentClass?: ClassName;
|
12
12
|
contentStyle?: CSSProperties;
|
13
13
|
arrowClass?: ClassName;
|
@@ -4,7 +4,7 @@ import { valueToPx } from "../_shared/utils/dom.js";
|
|
4
4
|
import { isObject } from "../_shared/utils/is.js";
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
|
-
/* empty css
|
7
|
+
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
package/es/Progress/type.d.ts
CHANGED
@@ -14,4 +14,4 @@ export interface ProgressProps {
|
|
14
14
|
}
|
15
15
|
export type ProgressType = 'line' | 'circle';
|
16
16
|
export type ProgressColor = string | Record<string, string>;
|
17
|
-
export type ProgressStatus = '
|
17
|
+
export type ProgressStatus = 'success' | 'warning' | 'danger' | 'normal';
|
package/es/Radio/Radio.vue.js
CHANGED
@@ -5,8 +5,8 @@ import "../_shared/utils/time.js";
|
|
5
5
|
import "../_shared/utils/locale.js";
|
6
6
|
import useControlValue from "../_shared/utils/control.js";
|
7
7
|
import useContext from "./hooks/useContext.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
|
const _hoisted_1 = ["value", "checked", "disabled"];
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Ref } from 'vue';
|
2
2
|
import { RadioType, RadioGroupEmits, RadioValue } from '../type';
|
3
|
-
import { Size,
|
3
|
+
import { Size, RecordType } from '../../_shared/type';
|
4
4
|
interface RadioContext {
|
5
5
|
computedValue: Ref<RadioValue | undefined>;
|
6
6
|
type: Ref<RadioType>;
|
@@ -10,8 +10,8 @@ interface RadioContext {
|
|
10
10
|
emits: RadioGroupEmits;
|
11
11
|
}
|
12
12
|
declare const _default: () => {
|
13
|
-
provide: (props:
|
14
|
-
options: import('vue').ComputedRef<
|
13
|
+
provide: (props: RecordType, emits: RadioGroupEmits) => {
|
14
|
+
options: import('vue').ComputedRef<RecordType[]>;
|
15
15
|
};
|
16
16
|
inject: () => RadioContext;
|
17
17
|
};
|
package/es/Radio/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Direction, Size,
|
1
|
+
import { Direction, Size, RecordType } from '../_shared/type';
|
2
2
|
import { VNode } from 'vue';
|
3
3
|
export interface RadioProps {
|
4
4
|
modelValue?: RadioValue;
|
@@ -38,7 +38,7 @@ export interface RadioGroupSlots {
|
|
38
38
|
disabled: boolean;
|
39
39
|
}) => VNode[];
|
40
40
|
label?: (scope: {
|
41
|
-
data:
|
41
|
+
data: RecordType;
|
42
42
|
}) => VNode[];
|
43
43
|
}
|
44
44
|
export type RadioOption = (RadioValue | {
|
package/es/Rate/index.vue.js
CHANGED
@@ -5,7 +5,7 @@ import { isObject } from "../_shared/utils/is.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/icons/IconFaceSmile.vue.js";
|
@@ -5,7 +5,7 @@ import { valueToPx } from "../_shared/utils/dom.js";
|
|
5
5
|
import "../_shared/utils/time.js";
|
6
6
|
import "../_shared/utils/locale.js";
|
7
7
|
import useControlValue from "../_shared/utils/control.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
/* empty css */
|
10
10
|
/* empty css */
|
11
11
|
import _sfc_main$1 from "../_shared/icons/IconDragDot.vue.js";
|
@@ -121,8 +121,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
121
121
|
async () => {
|
122
122
|
if (dragDirection.value) return;
|
123
123
|
await nextTick();
|
124
|
-
boxRef.value.style.width = `${valueToPx(computedWidth.value)}
|
125
|
-
boxRef.value.style.height = `${valueToPx(computedHeight.value)}
|
124
|
+
boxRef.value.style.width = computedWidth.value ? `${valueToPx(computedWidth.value)}` : "";
|
125
|
+
boxRef.value.style.height = computedHeight.value ? `${valueToPx(computedHeight.value)}` : "";
|
126
126
|
},
|
127
127
|
{
|
128
128
|
immediate: true
|
package/es/Result/type.d.ts
CHANGED
@@ -11,4 +11,4 @@ export interface ResultSlots {
|
|
11
11
|
default?: () => VNode[];
|
12
12
|
extra?: () => VNode[];
|
13
13
|
}
|
14
|
-
export type ResultStatus = '
|
14
|
+
export type ResultStatus = 'success' | 'warning' | 'error' | 'info' | '403' | '404' | '500' | null;
|
@@ -21,7 +21,7 @@ declare const __VLS_component: import('vue').DefineComponent<ScrollbarProps, {
|
|
21
21
|
}>, {
|
22
22
|
scrollbar: boolean;
|
23
23
|
type: import('./type').TackType;
|
24
|
-
outerClass: import('
|
24
|
+
outerClass: import('..').ClassName;
|
25
25
|
outerStyle: import('vue').CSSProperties;
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
27
27
|
scrollRef: HTMLDivElement;
|
package/es/Scrollbar/index.d.ts
CHANGED
@@ -15,7 +15,7 @@ declare const Scrollbar: {
|
|
15
15
|
}, import('vue').PublicProps, {
|
16
16
|
scrollbar: boolean;
|
17
17
|
type: import('./type').TackType;
|
18
|
-
outerClass: import('
|
18
|
+
outerClass: import('..').ClassName;
|
19
19
|
outerStyle: import('vue').CSSProperties;
|
20
20
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
21
21
|
scrollRef: HTMLDivElement;
|
@@ -37,7 +37,7 @@ declare const Scrollbar: {
|
|
37
37
|
}, {}, {}, {}, {
|
38
38
|
scrollbar: boolean;
|
39
39
|
type: import('./type').TackType;
|
40
|
-
outerClass: import('
|
40
|
+
outerClass: import('..').ClassName;
|
41
41
|
outerStyle: import('vue').CSSProperties;
|
42
42
|
}>;
|
43
43
|
__isFragment?: never;
|
@@ -55,7 +55,7 @@ declare const Scrollbar: {
|
|
55
55
|
}, string, {
|
56
56
|
scrollbar: boolean;
|
57
57
|
type: import('./type').TackType;
|
58
|
-
outerClass: import('
|
58
|
+
outerClass: import('..').ClassName;
|
59
59
|
outerStyle: import('vue').CSSProperties;
|
60
60
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
61
61
|
$slots: Readonly<import('./type').ScrollbarSlots> & import('./type').ScrollbarSlots;
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<OptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OptionProps> & Readonly<{}>, {
|
12
12
|
disabled: boolean;
|
13
|
-
value: import('./type').
|
13
|
+
value: import('./type').SelectOptionValue;
|
14
14
|
label: string;
|
15
15
|
isFallbackOption: boolean;
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
package/es/Select/Option.vue.js
CHANGED
@@ -21,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
21
|
__name: "Option",
|
22
22
|
props: {
|
23
23
|
label: { default: "" },
|
24
|
-
value: { type: [String, Number, Boolean
|
24
|
+
value: { type: [String, Number, Boolean], default: "" },
|
25
25
|
disabled: { type: Boolean, default: false },
|
26
26
|
tagProps: {},
|
27
27
|
id: {},
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { SelectProps, SelectSlots,
|
2
|
-
import { InputTagValue } from '../InputTag';
|
1
|
+
import { SelectProps, SelectSlots, SelectOptionValue } from './type';
|
2
|
+
import { InputTagValue, TagData } from '../InputTag';
|
3
3
|
import { TriggerInstance } from '../Trigger';
|
4
4
|
declare function __VLS_template(): {
|
5
5
|
attrs: Partial<{}>;
|
@@ -12,7 +12,7 @@ declare function __VLS_template(): {
|
|
12
12
|
readonly popupVisible?: boolean | undefined;
|
13
13
|
readonly defaultPopupVisible?: boolean | undefined;
|
14
14
|
readonly trigger?: import('../Trigger').TriggerType | undefined;
|
15
|
-
readonly position?: import('
|
15
|
+
readonly position?: import('..').PopupPosition | undefined;
|
16
16
|
readonly disabled?: boolean | undefined;
|
17
17
|
readonly popupOffset?: number | undefined;
|
18
18
|
readonly popupTranslate?: number[] | undefined;
|
@@ -22,9 +22,9 @@ declare function __VLS_template(): {
|
|
22
22
|
readonly clickToClose?: boolean | undefined;
|
23
23
|
readonly clickOutsideToClose?: boolean | undefined;
|
24
24
|
readonly unmountOnClose?: boolean | undefined;
|
25
|
-
readonly contentClass?: import('
|
25
|
+
readonly contentClass?: import('..').ClassName | undefined;
|
26
26
|
readonly contentStyle?: import('vue').CSSProperties | undefined;
|
27
|
-
readonly arrowClass?: import('
|
27
|
+
readonly arrowClass?: import('..').ClassName | undefined;
|
28
28
|
readonly arrowStyle?: import('vue').CSSProperties | undefined;
|
29
29
|
readonly animationName?: string | undefined;
|
30
30
|
readonly duration?: number | undefined;
|
@@ -158,14 +158,14 @@ declare function __VLS_template(): {
|
|
158
158
|
scrollToClose: boolean;
|
159
159
|
autoSetPosition: boolean;
|
160
160
|
alignPoint: boolean;
|
161
|
-
position: import('
|
161
|
+
position: import('..').PopupPosition;
|
162
162
|
popupOffset: number;
|
163
163
|
popupTranslate: number[];
|
164
164
|
showArrow: boolean;
|
165
165
|
unmountOnClose: boolean;
|
166
|
-
contentClass: import('
|
166
|
+
contentClass: import('..').ClassName;
|
167
167
|
contentStyle: import('vue').CSSProperties;
|
168
|
-
arrowClass: import('
|
168
|
+
arrowClass: import('..').ClassName;
|
169
169
|
arrowStyle: import('vue').CSSProperties;
|
170
170
|
animationName: string;
|
171
171
|
duration: number;
|
@@ -212,14 +212,14 @@ declare function __VLS_template(): {
|
|
212
212
|
scrollToClose: boolean;
|
213
213
|
autoSetPosition: boolean;
|
214
214
|
alignPoint: boolean;
|
215
|
-
position: import('
|
215
|
+
position: import('..').PopupPosition;
|
216
216
|
popupOffset: number;
|
217
217
|
popupTranslate: number[];
|
218
218
|
showArrow: boolean;
|
219
219
|
unmountOnClose: boolean;
|
220
|
-
contentClass: import('
|
220
|
+
contentClass: import('..').ClassName;
|
221
221
|
contentStyle: import('vue').CSSProperties;
|
222
|
-
arrowClass: import('
|
222
|
+
arrowClass: import('..').ClassName;
|
223
223
|
arrowStyle: import('vue').CSSProperties;
|
224
224
|
animationName: string;
|
225
225
|
duration: number;
|
@@ -259,7 +259,7 @@ declare function __VLS_template(): {
|
|
259
259
|
readonly size?: import('..').Size | undefined;
|
260
260
|
readonly maxTagCount?: number | undefined;
|
261
261
|
readonly retainInputValue?: import('../InputTag').InputRetainValue | undefined;
|
262
|
-
readonly formatTag?: import('
|
262
|
+
readonly formatTag?: import('..').Format<TagData> | undefined;
|
263
263
|
readonly uniqueValue?: boolean | undefined;
|
264
264
|
readonly tagNowrap?: boolean | undefined;
|
265
265
|
readonly fieldNames?: Record<string, string> | undefined;
|
@@ -397,13 +397,13 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
397
397
|
"update:popupVisible": (value: boolean) => any;
|
398
398
|
"popup-visible-change": (value: boolean) => any;
|
399
399
|
clear: () => any;
|
400
|
-
select: (value:
|
400
|
+
select: (value: SelectOptionValue) => any;
|
401
401
|
search: (value: string) => any;
|
402
402
|
"update:modelValue": (value: import('./type').SelectValue) => any;
|
403
403
|
"update:inputValue": (value: string) => any;
|
404
404
|
"input-value-change": (value: string) => any;
|
405
405
|
remove: (index: string | number, ev: Event) => any;
|
406
|
-
exceedLimit: (value:
|
406
|
+
exceedLimit: (value: SelectOptionValue, ev?: MouseEvent | undefined) => any;
|
407
407
|
"dropdown-scroll": (ev: Event) => any;
|
408
408
|
"dropdown-reach-bottom": (ev: Event) => any;
|
409
409
|
}, string, import('vue').PublicProps, Readonly<SelectProps> & Readonly<{
|
@@ -411,13 +411,13 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
411
411
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
412
412
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
413
413
|
onClear?: (() => any) | undefined;
|
414
|
-
onSelect?: ((value:
|
414
|
+
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
415
415
|
onSearch?: ((value: string) => any) | undefined;
|
416
416
|
"onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
|
417
417
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
418
418
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
419
419
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
420
|
-
onExceedLimit?: ((value:
|
420
|
+
onExceedLimit?: ((value: SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
421
421
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
422
422
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
423
423
|
}>, {
|
@@ -446,7 +446,7 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
446
446
|
showEmpty: boolean;
|
447
447
|
allowCreate: boolean;
|
448
448
|
maxTagCount: number;
|
449
|
-
filterOption: import('./type').
|
449
|
+
filterOption: boolean | import('..').FilterOption<import('./type').SelectOptionData>;
|
450
450
|
virtualListProps: import('./type').VirtualListProps;
|
451
451
|
triggerProps: import('../Trigger').TriggerProps;
|
452
452
|
searchDelay: number;
|
@@ -461,7 +461,7 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
461
461
|
readonly popupVisible?: boolean | undefined;
|
462
462
|
readonly defaultPopupVisible?: boolean | undefined;
|
463
463
|
readonly trigger?: import('../Trigger').TriggerType | undefined;
|
464
|
-
readonly position?: import('
|
464
|
+
readonly position?: import('..').PopupPosition | undefined;
|
465
465
|
readonly disabled?: boolean | undefined;
|
466
466
|
readonly popupOffset?: number | undefined;
|
467
467
|
readonly popupTranslate?: number[] | undefined;
|
@@ -471,9 +471,9 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
471
471
|
readonly clickToClose?: boolean | undefined;
|
472
472
|
readonly clickOutsideToClose?: boolean | undefined;
|
473
473
|
readonly unmountOnClose?: boolean | undefined;
|
474
|
-
readonly contentClass?: import('
|
474
|
+
readonly contentClass?: import('..').ClassName | undefined;
|
475
475
|
readonly contentStyle?: import('vue').CSSProperties | undefined;
|
476
|
-
readonly arrowClass?: import('
|
476
|
+
readonly arrowClass?: import('..').ClassName | undefined;
|
477
477
|
readonly arrowStyle?: import('vue').CSSProperties | undefined;
|
478
478
|
readonly animationName?: string | undefined;
|
479
479
|
readonly duration?: number | undefined;
|
@@ -607,14 +607,14 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
607
607
|
scrollToClose: boolean;
|
608
608
|
autoSetPosition: boolean;
|
609
609
|
alignPoint: boolean;
|
610
|
-
position: import('
|
610
|
+
position: import('..').PopupPosition;
|
611
611
|
popupOffset: number;
|
612
612
|
popupTranslate: number[];
|
613
613
|
showArrow: boolean;
|
614
614
|
unmountOnClose: boolean;
|
615
|
-
contentClass: import('
|
615
|
+
contentClass: import('..').ClassName;
|
616
616
|
contentStyle: import('vue').CSSProperties;
|
617
|
-
arrowClass: import('
|
617
|
+
arrowClass: import('..').ClassName;
|
618
618
|
arrowStyle: import('vue').CSSProperties;
|
619
619
|
animationName: string;
|
620
620
|
duration: number;
|
@@ -661,14 +661,14 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
661
661
|
scrollToClose: boolean;
|
662
662
|
autoSetPosition: boolean;
|
663
663
|
alignPoint: boolean;
|
664
|
-
position: import('
|
664
|
+
position: import('..').PopupPosition;
|
665
665
|
popupOffset: number;
|
666
666
|
popupTranslate: number[];
|
667
667
|
showArrow: boolean;
|
668
668
|
unmountOnClose: boolean;
|
669
|
-
contentClass: import('
|
669
|
+
contentClass: import('..').ClassName;
|
670
670
|
contentStyle: import('vue').CSSProperties;
|
671
|
-
arrowClass: import('
|
671
|
+
arrowClass: import('..').ClassName;
|
672
672
|
arrowStyle: import('vue').CSSProperties;
|
673
673
|
animationName: string;
|
674
674
|
duration: number;
|
@@ -708,7 +708,7 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
708
708
|
readonly size?: import('..').Size | undefined;
|
709
709
|
readonly maxTagCount?: number | undefined;
|
710
710
|
readonly retainInputValue?: import('../InputTag').InputRetainValue | undefined;
|
711
|
-
readonly formatTag?: import('
|
711
|
+
readonly formatTag?: import('..').Format<TagData> | undefined;
|
712
712
|
readonly uniqueValue?: boolean | undefined;
|
713
713
|
readonly tagNowrap?: boolean | undefined;
|
714
714
|
readonly fieldNames?: Record<string, string> | undefined;
|
package/es/Select/Select.vue.js
CHANGED
@@ -19,8 +19,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
19
19
|
__name: "Select",
|
20
20
|
props: {
|
21
21
|
multiple: { type: Boolean, default: false },
|
22
|
-
modelValue: { type: [String, Number, Boolean,
|
23
|
-
defaultValue: { type: [String, Number, Boolean,
|
22
|
+
modelValue: { type: [String, Number, Boolean, Array], default: void 0 },
|
23
|
+
defaultValue: { type: [String, Number, Boolean, Array], default: (props) => {
|
24
24
|
return props.multiple ? [] : "";
|
25
25
|
} },
|
26
26
|
inputValue: { default: void 0 },
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
|
2
2
|
import useContext from "./hooks/useContext.js";
|
3
3
|
import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
|
4
|
-
import _sfc_main$2 from "../_shared/components/IconButton/index.
|
5
|
-
/* empty css
|
4
|
+
import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
|
5
|
+
/* empty css */
|
6
6
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
7
7
|
import "../_shared/utils/dom.js";
|
8
8
|
import "../_shared/utils/time.js";
|
@@ -17,7 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
17
|
scrollbar: { type: Boolean }
|
18
18
|
},
|
19
19
|
setup(__props, { expose: __expose }) {
|
20
|
-
const { fieldKey, renderOptions, slots
|
20
|
+
const { fieldKey, renderOptions, slots } = useContext().inject();
|
21
21
|
const scrollbarRef = ref();
|
22
22
|
const renderLabel = (option) => {
|
23
23
|
if (slots.option) {
|