yc-design-vue 2.0.4 → 2.0.6
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/dist/index.umd.js +1 -0
- package/dist/style.css +1 -0
- package/es/Affix/index.vue.js +1 -1
- package/es/Alert/index.d.ts +3 -3
- package/es/Alert/index.vue.d.ts +1 -1
- package/es/Alert/type.d.ts +2 -2
- package/es/Anchor/Anchor.vue.d.ts +1 -1
- package/es/Anchor/Anchor.vue.js +2 -2
- package/es/Anchor/AnchorLink.vue.js +2 -2
- package/es/Anchor/hooks/useContext.d.ts +3 -3
- package/es/Anchor/hooks/useContext.js +3 -3
- package/es/Anchor/index.d.ts +3 -3
- package/es/Anchor/type.d.ts +3 -2
- package/es/AutoComplete/index.d.ts +40 -31
- package/es/AutoComplete/index.vue.d.ts +72 -54
- package/es/Avatar/Avatar.vue.d.ts +1 -1
- package/es/Avatar/Avatar.vue.js +3 -3
- package/es/Avatar/AvatarGroup.vue.js +2 -2
- package/es/Avatar/hooks/useContext.d.ts +1 -2
- package/es/Avatar/hooks/useContext.js +3 -3
- package/es/Avatar/index.d.ts +3 -3
- package/es/Avatar/type.d.ts +3 -2
- package/es/BackTop/index.vue.js +1 -1
- package/es/Badge/index.d.ts +3 -3
- package/es/Badge/index.vue.d.ts +1 -1
- package/es/Badge/type.d.ts +2 -2
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/es/Button/Button.vue.d.ts +2 -2
- package/es/Button/Button.vue.js +2 -2
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/ButtonGroup.vue.js +2 -2
- package/es/Button/hooks/useContext.d.ts +4 -5
- package/es/Button/hooks/useContext.js +3 -3
- package/es/Button/index.d.ts +9 -9
- package/es/Button/type.d.ts +6 -6
- package/es/Card/Card.vue.d.ts +1 -1
- package/es/Card/Card.vue.js +2 -2
- package/es/Card/CardMeta.vue.js +2 -2
- package/es/Card/hooks/useContext.d.ts +2 -2
- package/es/Card/hooks/useContext.js +3 -3
- package/es/Card/index.d.ts +3 -3
- package/es/Card/type.d.ts +1 -2
- package/es/Carousel/Carousel.vue.d.ts +2 -2
- package/es/Carousel/Carousel.vue.js +2 -2
- package/es/Carousel/CarouselArrow.vue.js +2 -2
- package/es/Carousel/CarouselIndicator.vue.js +2 -2
- package/es/Carousel/CarouselItem.vue.js +2 -2
- package/es/Carousel/hooks/useContext.d.ts +5 -5
- package/es/Carousel/hooks/useContext.js +3 -3
- package/es/Carousel/index.d.ts +6 -6
- package/es/Carousel/type.d.ts +6 -6
- package/es/Cascader/Cascader.vue.d.ts +23 -23
- package/es/Cascader/Cascader.vue.js +2 -2
- package/es/Cascader/CascaderIcon.vue.js +2 -2
- package/es/Cascader/CascaderOption.vue.js +2 -2
- package/es/Cascader/CascaderPanel.vue.js +2 -2
- package/es/Cascader/CascaderSearchPanel.vue.js +2 -2
- package/es/Cascader/hooks/useContext.d.ts +2 -2
- package/es/Cascader/hooks/useContext.js +3 -3
- package/es/Cascader/index.d.ts +26 -26
- package/es/Checkbox/Checkbox.vue.js +2 -2
- package/es/Checkbox/CheckboxGroup.vue.js +2 -2
- package/es/Checkbox/hooks/useContext.d.ts +2 -2
- package/es/Checkbox/hooks/useContext.js +3 -3
- package/es/Collapse/Collapse.vue.js +2 -2
- package/es/Collapse/CollapseItem.vue.js +2 -2
- package/es/Collapse/hooks/useContext.d.ts +3 -15
- package/es/Collapse/hooks/useContext.js +3 -4
- package/es/Collapse/type.d.ts +2 -1
- package/es/ColorPicker/ColorControl.vue.js +1 -1
- package/es/ColorPicker/ColorPalette.vue.js +1 -1
- package/es/ColorPicker/ColorPanel.vue.js +2 -2
- package/es/ColorPicker/ColorPicker.vue.js +2 -2
- package/es/ColorPicker/hooks/useContext.d.ts +2 -2
- package/es/ColorPicker/hooks/useContext.js +3 -3
- package/es/Comment/hooks/useContext.d.ts +1 -2
- package/es/Comment/hooks/useContext.js +3 -3
- package/es/Comment/index.vue.js +2 -2
- package/es/Descriptions/Descriptions.vue.d.ts +3 -3
- package/es/Descriptions/Descriptions.vue.js +2 -2
- package/es/Descriptions/ReuseItem.vue.js +2 -2
- package/es/Descriptions/ReuseTd.vue.js +2 -2
- package/es/Descriptions/hooks/useContext.d.ts +3 -3
- package/es/Descriptions/hooks/useContext.js +3 -3
- package/es/Descriptions/index.d.ts +9 -9
- package/es/Descriptions/type.d.ts +7 -6
- package/es/Divider/index.d.ts +6 -6
- package/es/Divider/index.vue.d.ts +2 -2
- package/es/Divider/type.d.ts +4 -3
- package/es/Drawer/Drawer.vue.d.ts +1 -1
- package/es/Drawer/DrawerService.vue.d.ts +1 -1
- package/es/Drawer/index.d.ts +5 -9
- package/es/Drawer/type.d.ts +8 -4
- package/es/Dropdown/Doption.vue.js +2 -2
- package/es/Dropdown/Dropdown.vue.d.ts +3 -3
- package/es/Dropdown/Dropdown.vue.js +2 -2
- package/es/Dropdown/DropdownButton.vue.d.ts +3 -3
- package/es/Dropdown/Dsubmenu.vue.d.ts +1 -1
- package/es/Dropdown/Dsubmenu.vue.js +1 -1
- package/es/Dropdown/hooks/useContext.d.ts +2 -2
- package/es/Dropdown/hooks/useContext.js +3 -3
- package/es/Dropdown/index.d.ts +19 -19
- package/es/Dropdown/type.d.ts +4 -6
- package/es/Grid/Grid.vue.js +2 -2
- package/es/Grid/GridCol.vue.js +2 -2
- package/es/Grid/GridItem.vue.js +2 -2
- package/es/Grid/GridRow.vue.js +2 -2
- package/es/Grid/hooks/useContext.d.ts +1 -13
- package/es/Grid/hooks/useContext.js +3 -4
- package/es/Image/Image.vue.d.ts +2 -2
- package/es/Image/Image.vue.js +2 -2
- package/es/Image/ImagePreview.vue.js +2 -2
- package/es/Image/ImagePreviewGroup.vue.js +2 -2
- package/es/Image/hooks/useContext.d.ts +2 -2
- package/es/Image/hooks/useContext.js +3 -3
- package/es/Image/index.d.ts +6 -6
- package/es/Image/type.d.ts +3 -2
- package/es/Input/Input.vue.d.ts +3 -3
- package/es/Input/InputSuffix.vue.js +1 -1
- package/es/Input/index.d.ts +8 -8
- package/es/InputNumber/InputNumber.vue.d.ts +20 -20
- package/es/InputNumber/InputOperaBtn.vue.d.ts +2 -2
- package/es/InputNumber/index.d.ts +19 -19
- package/es/InputNumber/type.d.ts +5 -4
- package/es/InputTag/index.d.ts +20 -11
- package/es/InputTag/index.vue.d.ts +7 -4
- package/es/InputTag/index.vue.js +1 -1
- package/es/InputTag/type.d.ts +2 -1
- package/es/Layout/LayoutSider.vue.d.ts +3 -3
- package/es/Layout/LayoutSider.vue.js +2 -2
- package/es/Layout/hooks/useSiderContext.d.ts +1 -2
- package/es/Layout/hooks/useSiderContext.js +3 -3
- package/es/Layout/index.d.ts +8 -8
- package/es/Layout/type.d.ts +3 -4
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/Link/type.d.ts +2 -2
- package/es/List/List.vue.d.ts +7 -7
- package/es/List/hooks/useScrollReach.js +1 -0
- package/es/List/index.d.ts +6 -6
- package/es/List/type.d.ts +2 -3
- package/es/Mention/index.d.ts +49 -40
- package/es/Mention/index.vue.d.ts +85 -67
- package/es/Mention/type.d.ts +3 -2
- package/es/Menu/Menu.vue.d.ts +2 -2
- package/es/Menu/MenuItem.vue.js +1 -1
- package/es/Menu/hooks/useContext.d.ts +2 -2
- package/es/Menu/hooks/useContext.js +5 -5
- package/es/Menu/index.d.ts +5 -5
- package/es/Menu/type.d.ts +2 -2
- package/es/Message/type.d.ts +3 -3
- package/es/Modal/Modal.vue.d.ts +1 -1
- package/es/Modal/ModalService.vue.d.ts +1 -1
- package/es/Modal/index.d.ts +13 -13
- package/es/Modal/index.js +1 -4
- package/es/Modal/type.d.ts +6 -9
- package/es/Notification/Notification.vue.d.ts +1 -1
- package/es/Notification/index.d.ts +4 -4
- package/es/Notification/type.d.ts +3 -4
- package/es/OverflowList/index.d.ts +3 -3
- package/es/OverflowList/index.vue.d.ts +1 -1
- package/es/OverflowList/index.vue.js +2 -2
- package/es/OverflowList/type.d.ts +3 -2
- package/es/Pagination/Pagination.vue.js +2 -2
- package/es/Pagination/PaginationItem.vue.js +2 -2
- package/es/Pagination/hooks/useContext.d.ts +2 -2
- package/es/Pagination/hooks/useContext.js +3 -3
- package/es/Popconfirm/index.d.ts +8 -8
- package/es/Popconfirm/index.vue.d.ts +3 -3
- package/es/Popconfirm/type.d.ts +2 -3
- package/es/Progress/Progress.vue.d.ts +1 -1
- package/es/Progress/ProgressCircle.vue.d.ts +3 -3
- package/es/Progress/ProgressLine.vue.d.ts +3 -3
- package/es/Progress/index.d.ts +3 -3
- package/es/Progress/type.d.ts +2 -3
- package/es/Radio/Radio.vue.js +2 -2
- package/es/Radio/RadioGroup.vue.js +2 -2
- package/es/Radio/hooks/useContext.d.ts +2 -2
- package/es/Radio/hooks/useContext.js +3 -3
- package/es/Radio/type.d.ts +1 -1
- package/es/ResizeBox/index.d.ts +3 -3
- package/es/ResizeBox/index.vue.d.ts +2 -2
- package/es/ResizeBox/type.d.ts +4 -4
- package/es/Result/index.d.ts +3 -3
- package/es/Result/index.vue.d.ts +1 -1
- package/es/Result/type.d.ts +3 -2
- package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/es/Scrollbar/Scrollbar.vue.js +2 -2
- package/es/Scrollbar/ScrollbarTrack.vue.js +2 -2
- package/es/Scrollbar/hooks/useContext.d.ts +2 -2
- package/es/Scrollbar/hooks/useContext.js +3 -3
- package/es/Scrollbar/index.d.ts +3 -3
- package/es/Scrollbar/type.d.ts +2 -1
- package/es/Select/Option.vue.js +2 -2
- package/es/Select/Select.vue.d.ts +45 -27
- package/es/Select/Select.vue.js +2 -2
- package/es/Select/SelectIcon.vue.js +2 -2
- package/es/Select/SelectRealList.vue.js +2 -2
- package/es/Select/SelectView.vue.js +2 -2
- package/es/Select/SelectVirtualList.vue.js +3 -3
- package/es/Select/hooks/useContext.d.ts +4 -4
- package/es/Select/hooks/useContext.js +3 -3
- package/es/Select/hooks/useSelectOptions.d.ts +2 -2
- package/es/Select/index.d.ts +33 -24
- package/es/Skeleton/SkeletonShape.vue.d.ts +2 -2
- package/es/Skeleton/index.d.ts +2 -2
- package/es/Skeleton/type.d.ts +2 -4
- package/es/Slider/Slider.vue.js +2 -2
- package/es/Slider/SliderBtn.vue.js +2 -2
- package/es/Slider/SliderInput.vue.js +2 -2
- package/es/Slider/SliderTicks.vue.js +2 -2
- package/es/Slider/hooks/useContext.d.ts +2 -2
- package/es/Slider/hooks/useContext.js +3 -3
- package/es/Space/index.d.ts +6 -6
- package/es/Space/index.vue.d.ts +2 -2
- package/es/Space/type.d.ts +5 -4
- package/es/Spin/index.vue.js +1 -1
- package/es/Steps/Step.vue.js +2 -2
- package/es/Steps/Steps.vue.js +2 -2
- package/es/Steps/hooks/useContext.d.ts +1 -2
- package/es/Steps/hooks/useContext.js +3 -3
- package/es/Switch/index.d.ts +14 -14
- package/es/Switch/index.vue.d.ts +5 -5
- package/es/Switch/type.d.ts +4 -4
- package/es/Tabs/TabPane.vue.js +2 -2
- package/es/Tabs/Tabs.vue.d.ts +1 -1
- package/es/Tabs/Tabs.vue.js +2 -2
- package/es/Tabs/TabsNavInk.vue.js +2 -2
- package/es/Tabs/TabsTab.vue.js +2 -2
- package/es/Tabs/hooks/useContext.d.ts +6 -6
- package/es/Tabs/hooks/useContext.js +3 -3
- package/es/Tabs/index.d.ts +3 -3
- package/es/Tabs/type.d.ts +2 -3
- package/es/Tag/index.d.ts +3 -3
- package/es/Tag/index.vue.d.ts +1 -1
- package/es/Tag/type.d.ts +1 -2
- package/es/Textarea/hooks/useTextareaHeight.js +1 -1
- package/es/Textarea/index.d.ts +5 -5
- package/es/Textarea/index.vue.d.ts +2 -2
- package/es/Textarea/type.d.ts +2 -2
- package/es/TimePicker/TimePicker.vue.d.ts +5 -5
- package/es/TimePicker/TimePicker.vue.js +2 -2
- package/es/TimePicker/TimePickerPanel.vue.js +2 -2
- package/es/TimePicker/hooks/useContext.d.ts +2 -2
- package/es/TimePicker/hooks/useContext.js +3 -3
- package/es/TimePicker/index.d.ts +13 -13
- package/es/Timeline/Timeline.vue.js +2 -2
- package/es/Timeline/TimelineItem.vue.d.ts +1 -1
- package/es/Timeline/TimelineItem.vue.js +2 -2
- package/es/Timeline/hooks/useContext.d.ts +2 -2
- package/es/Timeline/hooks/useContext.js +3 -3
- package/es/Timeline/index.d.ts +3 -3
- package/es/Timeline/type.d.ts +3 -4
- package/es/Transfer/Transfer.vue.js +2 -2
- package/es/Transfer/TransferPanel.vue.js +3 -3
- package/es/Transfer/hooks/useContext.d.ts +2 -2
- package/es/Transfer/hooks/useContext.js +3 -3
- package/es/Trigger/hooks/useContext.d.ts +2 -3
- package/es/Trigger/hooks/useContext.js +4 -4
- package/es/Trigger/hooks/useTriggerPosition.js +1 -1
- package/es/Trigger/hooks/useTriggerVisible.js +2 -2
- package/es/Typography/TypographyBase.vue.d.ts +17 -17
- package/es/Typography/TypographyBase.vue.js +1 -1
- package/es/Typography/TypographyParagraph.vue.d.ts +1 -1
- package/es/Typography/TypographyTitle.vue.d.ts +1 -1
- package/es/Typography/type.d.ts +5 -4
- package/es/Upload/Upload.vue.d.ts +53 -0
- package/es/Upload/Upload.vue.js +110 -0
- package/es/Upload/Upload.vue3.js +5 -0
- package/es/Upload/UploadButton.vue.d.ts +2 -0
- package/es/Upload/UploadButton.vue.js +39 -0
- package/es/Upload/UploadButton.vue3.js +5 -0
- package/es/Upload/UploadDrag.vue.d.ts +2 -0
- package/es/Upload/UploadDrag.vue.js +37 -0
- package/es/Upload/UploadDrag.vue3.js +5 -0
- package/es/Upload/UploadFileList.vue.d.ts +24 -0
- package/es/Upload/UploadFileList.vue.js +7 -0
- package/es/Upload/UploadFileList.vue2.js +126 -0
- package/es/Upload/UploadPictureCard.vue.d.ts +4 -0
- package/es/Upload/UploadPictureCard.vue.js +7 -0
- package/es/Upload/UploadPictureCard.vue2.js +132 -0
- package/es/Upload/hooks/useContext.d.ts +49 -0
- package/es/Upload/hooks/useContext.js +92 -0
- package/es/Upload/hooks/useUpload.d.ts +47 -0
- package/es/Upload/hooks/useUpload.js +80 -0
- package/es/Upload/index.css +1 -0
- package/es/Upload/index.d.ts +123 -0
- package/es/Upload/index.js +10 -0
- package/es/Upload/type.d.ts +72 -0
- package/es/VerificationCode/index.d.ts +3 -3
- package/es/VerificationCode/index.vue.d.ts +1 -1
- package/es/VerificationCode/type.d.ts +5 -4
- package/es/Watermark/index.vue.js +1 -1
- package/es/_shared/icons/IconDelete.vue.js +19 -1
- package/es/_shared/icons/IconDelete.vue2.js +1 -19
- package/es/_shared/icons/IconEyeOpen.vue.js +1 -20
- package/es/_shared/icons/IconEyeOpen.vue2.js +20 -1
- package/es/_shared/icons/IconFile.vue.d.ts +2 -0
- package/es/_shared/icons/IconFile.vue.js +22 -0
- package/es/_shared/icons/IconFile.vue2.js +4 -0
- package/es/_shared/icons/IconSeparator.vue.js +1 -19
- package/es/_shared/icons/IconSeparator.vue2.js +19 -1
- package/es/_shared/icons/IconUpload.vue.d.ts +2 -0
- package/es/_shared/icons/IconUpload.vue.js +22 -0
- package/es/_shared/icons/IconUpload.vue2.js +4 -0
- package/es/_shared/icons/index.d.ts +2 -0
- package/es/_shared/type/index.d.ts +3 -1
- package/es/_shared/utils/is.d.ts +0 -15
- package/es/_shared/utils/vue-utils.d.ts +1 -0
- package/es/_virtual/_plugin-vue_export-helper.js +10 -0
- package/es/index.d.ts +36 -35
- package/es/index.js +5 -3
- package/es/node_modules/@vueuse/core/index.js +171 -9
- package/es/node_modules/@vueuse/shared/index.js +29 -0
- package/es/style.css +1 -1
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Alert/index.d.ts +3 -3
- package/lib/Alert/index.vue.d.ts +1 -1
- package/lib/Alert/type.d.ts +2 -2
- package/lib/Anchor/Anchor.vue.d.ts +1 -1
- package/lib/Anchor/hooks/useContext.d.ts +3 -3
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/Anchor/index.d.ts +3 -3
- package/lib/Anchor/type.d.ts +3 -2
- package/lib/AutoComplete/index.d.ts +40 -31
- package/lib/AutoComplete/index.vue.d.ts +72 -54
- package/lib/Avatar/Avatar.vue.d.ts +1 -1
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/hooks/useContext.d.ts +1 -2
- package/lib/Avatar/hooks/useContext.js +1 -1
- package/lib/Avatar/index.d.ts +3 -3
- package/lib/Avatar/type.d.ts +3 -2
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Badge/index.d.ts +3 -3
- package/lib/Badge/index.vue.d.ts +1 -1
- package/lib/Badge/type.d.ts +2 -2
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Button/Button.vue.d.ts +2 -2
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/hooks/useContext.d.ts +4 -5
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Button/index.d.ts +9 -9
- package/lib/Button/type.d.ts +6 -6
- package/lib/Card/Card.vue.d.ts +1 -1
- package/lib/Card/hooks/useContext.d.ts +2 -2
- package/lib/Card/hooks/useContext.js +1 -1
- package/lib/Card/index.d.ts +3 -3
- package/lib/Card/type.d.ts +1 -2
- package/lib/Carousel/Carousel.vue.d.ts +2 -2
- package/lib/Carousel/hooks/useContext.d.ts +5 -5
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Carousel/index.d.ts +6 -6
- package/lib/Carousel/type.d.ts +6 -6
- package/lib/Cascader/Cascader.vue.d.ts +23 -23
- package/lib/Cascader/hooks/useContext.d.ts +2 -2
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.d.ts +26 -26
- package/lib/Checkbox/hooks/useContext.d.ts +2 -2
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Collapse/hooks/useContext.d.ts +3 -15
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/Collapse/type.d.ts +2 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/hooks/useContext.d.ts +2 -2
- package/lib/ColorPicker/hooks/useContext.js +1 -1
- package/lib/Comment/hooks/useContext.d.ts +1 -2
- package/lib/Comment/hooks/useContext.js +1 -1
- package/lib/Descriptions/Descriptions.vue.d.ts +3 -3
- package/lib/Descriptions/hooks/useContext.d.ts +3 -3
- package/lib/Descriptions/hooks/useContext.js +1 -1
- package/lib/Descriptions/index.d.ts +9 -9
- package/lib/Descriptions/type.d.ts +7 -6
- package/lib/Divider/index.d.ts +6 -6
- package/lib/Divider/index.vue.d.ts +2 -2
- package/lib/Divider/type.d.ts +4 -3
- package/lib/Drawer/Drawer.vue.d.ts +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +1 -1
- package/lib/Drawer/index.d.ts +5 -9
- package/lib/Drawer/type.d.ts +8 -4
- package/lib/Dropdown/Dropdown.vue.d.ts +3 -3
- package/lib/Dropdown/DropdownButton.vue.d.ts +3 -3
- package/lib/Dropdown/Dsubmenu.vue.d.ts +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.d.ts +2 -2
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.d.ts +19 -19
- package/lib/Dropdown/type.d.ts +4 -6
- package/lib/Grid/hooks/useContext.d.ts +1 -13
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Image/Image.vue.d.ts +2 -2
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/hooks/useContext.d.ts +2 -2
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Image/index.d.ts +6 -6
- package/lib/Image/type.d.ts +3 -2
- package/lib/Input/Input.vue.d.ts +3 -3
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/index.d.ts +8 -8
- package/lib/InputNumber/InputNumber.vue.d.ts +20 -20
- package/lib/InputNumber/InputOperaBtn.vue.d.ts +2 -2
- package/lib/InputNumber/index.d.ts +19 -19
- package/lib/InputNumber/type.d.ts +5 -4
- package/lib/InputTag/index.d.ts +20 -11
- package/lib/InputTag/index.vue.d.ts +7 -4
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/InputTag/type.d.ts +2 -1
- package/lib/Layout/LayoutSider.vue.d.ts +3 -3
- package/lib/Layout/hooks/useSiderContext.d.ts +1 -2
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/Layout/index.d.ts +8 -8
- package/lib/Layout/type.d.ts +3 -4
- package/lib/Link/index.d.ts +3 -3
- package/lib/Link/index.vue.d.ts +1 -1
- package/lib/Link/type.d.ts +2 -2
- package/lib/List/List.vue.d.ts +7 -7
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/List/index.d.ts +6 -6
- package/lib/List/type.d.ts +2 -3
- package/lib/Mention/index.d.ts +49 -40
- package/lib/Mention/index.vue.d.ts +85 -67
- package/lib/Mention/type.d.ts +3 -2
- package/lib/Menu/Menu.vue.d.ts +2 -2
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/hooks/useContext.d.ts +2 -2
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Menu/index.d.ts +5 -5
- package/lib/Menu/type.d.ts +2 -2
- package/lib/Message/type.d.ts +3 -3
- package/lib/Modal/Modal.vue.d.ts +1 -1
- package/lib/Modal/ModalService.vue.d.ts +1 -1
- package/lib/Modal/index.d.ts +13 -13
- package/lib/Modal/index.js +1 -1
- package/lib/Modal/type.d.ts +6 -9
- package/lib/Notification/Notification.vue.d.ts +1 -1
- package/lib/Notification/index.d.ts +4 -4
- package/lib/Notification/type.d.ts +3 -4
- package/lib/OverflowList/index.d.ts +3 -3
- package/lib/OverflowList/index.vue.d.ts +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/OverflowList/type.d.ts +3 -2
- package/lib/Pagination/hooks/useContext.d.ts +2 -2
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.d.ts +8 -8
- package/lib/Popconfirm/index.vue.d.ts +3 -3
- package/lib/Popconfirm/type.d.ts +2 -3
- package/lib/Progress/Progress.vue.d.ts +1 -1
- package/lib/Progress/ProgressCircle.vue.d.ts +3 -3
- package/lib/Progress/ProgressLine.vue.d.ts +3 -3
- package/lib/Progress/index.d.ts +3 -3
- package/lib/Progress/type.d.ts +2 -3
- package/lib/Radio/hooks/useContext.d.ts +2 -2
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Radio/type.d.ts +1 -1
- package/lib/ResizeBox/index.d.ts +3 -3
- package/lib/ResizeBox/index.vue.d.ts +2 -2
- package/lib/ResizeBox/type.d.ts +4 -4
- package/lib/Result/index.d.ts +3 -3
- package/lib/Result/index.vue.d.ts +1 -1
- package/lib/Result/type.d.ts +3 -2
- package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/lib/Scrollbar/hooks/useContext.d.ts +2 -2
- package/lib/Scrollbar/hooks/useContext.js +1 -1
- package/lib/Scrollbar/index.d.ts +3 -3
- package/lib/Scrollbar/type.d.ts +2 -1
- package/lib/Select/Select.vue.d.ts +45 -27
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +4 -4
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/hooks/useSelectOptions.d.ts +2 -2
- package/lib/Select/index.d.ts +33 -24
- package/lib/Skeleton/SkeletonShape.vue.d.ts +2 -2
- package/lib/Skeleton/index.d.ts +2 -2
- package/lib/Skeleton/type.d.ts +2 -4
- package/lib/Slider/hooks/useContext.d.ts +2 -2
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Space/index.d.ts +6 -6
- package/lib/Space/index.vue.d.ts +2 -2
- package/lib/Space/type.d.ts +5 -4
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Steps/hooks/useContext.d.ts +1 -2
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Switch/index.d.ts +14 -14
- package/lib/Switch/index.vue.d.ts +5 -5
- package/lib/Switch/type.d.ts +4 -4
- package/lib/Tabs/Tabs.vue.d.ts +1 -1
- package/lib/Tabs/hooks/useContext.d.ts +6 -6
- package/lib/Tabs/hooks/useContext.js +1 -1
- package/lib/Tabs/index.d.ts +3 -3
- package/lib/Tabs/type.d.ts +2 -3
- package/lib/Tag/index.d.ts +3 -3
- package/lib/Tag/index.vue.d.ts +1 -1
- package/lib/Tag/type.d.ts +1 -2
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.d.ts +5 -5
- package/lib/Textarea/index.vue.d.ts +2 -2
- package/lib/Textarea/type.d.ts +2 -2
- package/lib/TimePicker/TimePicker.vue.d.ts +5 -5
- package/lib/TimePicker/hooks/useContext.d.ts +2 -2
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/TimePicker/index.d.ts +13 -13
- package/lib/Timeline/TimelineItem.vue.d.ts +1 -1
- package/lib/Timeline/hooks/useContext.d.ts +2 -2
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Timeline/index.d.ts +3 -3
- package/lib/Timeline/type.d.ts +3 -4
- package/lib/Transfer/TransferPanel.vue.js +1 -1
- package/lib/Transfer/hooks/useContext.d.ts +2 -2
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useContext.d.ts +2 -3
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +17 -17
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Typography/TypographyParagraph.vue.d.ts +1 -1
- package/lib/Typography/TypographyTitle.vue.d.ts +1 -1
- package/lib/Typography/type.d.ts +5 -4
- package/lib/Upload/Upload.vue.d.ts +53 -0
- package/lib/Upload/Upload.vue.js +1 -0
- package/lib/Upload/Upload.vue3.js +1 -0
- package/lib/Upload/UploadButton.vue.d.ts +2 -0
- package/lib/Upload/UploadButton.vue.js +1 -0
- package/lib/Upload/UploadButton.vue3.js +1 -0
- package/lib/Upload/UploadDrag.vue.d.ts +2 -0
- package/lib/Upload/UploadDrag.vue.js +1 -0
- package/lib/Upload/UploadDrag.vue3.js +1 -0
- package/lib/Upload/UploadFileList.vue.d.ts +24 -0
- package/lib/Upload/UploadFileList.vue.js +1 -0
- package/lib/Upload/UploadFileList.vue2.js +1 -0
- package/lib/Upload/UploadPictureCard.vue.d.ts +4 -0
- package/lib/Upload/UploadPictureCard.vue.js +1 -0
- package/lib/Upload/UploadPictureCard.vue2.js +1 -0
- package/lib/Upload/hooks/useContext.d.ts +49 -0
- package/lib/Upload/hooks/useContext.js +1 -0
- package/lib/Upload/hooks/useUpload.d.ts +47 -0
- package/lib/Upload/hooks/useUpload.js +1 -0
- package/lib/Upload/index.css +1 -0
- package/lib/Upload/index.d.ts +123 -0
- package/lib/Upload/index.js +1 -0
- package/lib/Upload/type.d.ts +72 -0
- package/lib/VerificationCode/index.d.ts +3 -3
- package/lib/VerificationCode/index.vue.d.ts +1 -1
- package/lib/VerificationCode/type.d.ts +5 -4
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconFile.vue.d.ts +2 -0
- package/lib/_shared/icons/IconFile.vue.js +1 -0
- package/lib/_shared/icons/IconFile.vue2.js +1 -0
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/icons/IconUpload.vue.d.ts +2 -0
- package/lib/_shared/icons/IconUpload.vue.js +1 -0
- package/lib/_shared/icons/IconUpload.vue2.js +1 -0
- package/lib/_shared/icons/index.d.ts +2 -0
- package/lib/_shared/type/index.d.ts +3 -1
- package/lib/_shared/utils/is.d.ts +0 -15
- package/lib/_shared/utils/vue-utils.d.ts +1 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
- package/lib/index.d.ts +36 -35
- package/lib/index.js +1 -1
- package/lib/node_modules/@vueuse/core/index.js +1 -1
- package/lib/node_modules/@vueuse/shared/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/es/Affix/index.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent, toRefs, ref, computed, watch, createElementBlock, openBlock, createCommentVNode, createElementVNode, normalizeStyle, unref, normalizeClass, renderSlot } from "vue";
|
2
|
+
import { isUndefined } from "../_shared/utils/is.js";
|
2
3
|
import { useResizeObserver, useEventListener } from "../node_modules/@vueuse/core/index.js";
|
3
4
|
import { findFirstScrollableParent, getElement, throttleByRaf, valueToPx } from "../_shared/utils/dom.js";
|
4
|
-
import { isUndefined } from "../_shared/utils/is.js";
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
6
6
|
...{
|
7
7
|
name: "Affix",
|
package/es/Alert/index.d.ts
CHANGED
@@ -10,7 +10,7 @@ declare const Alert: {
|
|
10
10
|
close: (ev: MouseEvent) => any;
|
11
11
|
"after-close": () => any;
|
12
12
|
}, import('vue').PublicProps, {
|
13
|
-
type: import('
|
13
|
+
type: import('..').Type<"normal">;
|
14
14
|
title: string;
|
15
15
|
center: boolean;
|
16
16
|
closable: boolean;
|
@@ -27,7 +27,7 @@ declare const Alert: {
|
|
27
27
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
28
28
|
"onAfter-close"?: (() => any) | undefined;
|
29
29
|
}>, {}, {}, {}, {}, {
|
30
|
-
type: import('
|
30
|
+
type: import('..').Type<"normal">;
|
31
31
|
title: string;
|
32
32
|
center: boolean;
|
33
33
|
closable: boolean;
|
@@ -44,7 +44,7 @@ declare const Alert: {
|
|
44
44
|
close: (ev: MouseEvent) => any;
|
45
45
|
"after-close": () => any;
|
46
46
|
}, string, {
|
47
|
-
type: import('
|
47
|
+
type: import('..').Type<"normal">;
|
48
48
|
title: string;
|
49
49
|
center: boolean;
|
50
50
|
closable: boolean;
|
package/es/Alert/index.vue.d.ts
CHANGED
@@ -13,7 +13,7 @@ declare const __VLS_component: import('vue').DefineComponent<AlertProps, {}, {},
|
|
13
13
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
14
14
|
"onAfter-close"?: (() => any) | undefined;
|
15
15
|
}>, {
|
16
|
-
type: import('
|
16
|
+
type: import('..').Type<"normal">;
|
17
17
|
title: string;
|
18
18
|
center: boolean;
|
19
19
|
closable: boolean;
|
package/es/Alert/type.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
|
+
import { Type } from '../_shared/type';
|
2
3
|
export interface AlertProps {
|
3
|
-
type?:
|
4
|
+
type?: Type<'normal'>;
|
4
5
|
showIcon?: boolean;
|
5
6
|
closable?: boolean;
|
6
7
|
title?: string;
|
@@ -18,4 +19,3 @@ export interface AlertSlots {
|
|
18
19
|
action?: () => VNode[];
|
19
20
|
'close-element'?: () => VNode[];
|
20
21
|
}
|
21
|
-
export type AlertType = 'success' | 'warning' | 'error' | 'info' | 'normal';
|
@@ -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<AnchorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AnchorProps> & Readonly<{}>, {
|
12
12
|
smooth: boolean;
|
13
|
-
boundary:
|
13
|
+
boundary: number | "center" | "end" | "start" | "nearest";
|
14
14
|
changeHash: boolean;
|
15
15
|
lineLess: boolean;
|
16
16
|
scrollContainer: import('..').TargetContainer;
|
package/es/Anchor/Anchor.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, ref, computed, onMounted, createElementBlock, openBlock, createCommentVNode, createElementVNode, normalizeStyle, unref, renderSlot } from "vue";
|
2
2
|
import { valueToPx } from "../_shared/utils/dom.js";
|
3
|
-
import
|
3
|
+
import useAnchorContext from "./hooks/useContext.js";
|
4
4
|
const _hoisted_1 = { class: "yc-anchor" };
|
5
5
|
const _hoisted_2 = {
|
6
6
|
key: 0,
|
@@ -22,7 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
22
22
|
const props = __props;
|
23
23
|
const listRef = ref();
|
24
24
|
const linkRefs = ref([]);
|
25
|
-
const { curHref, hrefs } =
|
25
|
+
const { curHref, hrefs } = useAnchorContext().provide(props, listRef);
|
26
26
|
const top = computed(() => {
|
27
27
|
const curIndex = hrefs.value.findIndex((item) => item == curHref.value);
|
28
28
|
const offset = linkRefs.value.slice(0, curIndex + 1).map((item) => item.offsetHeight).reduce((pre, cur, index) => {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent, useSlots, toRefs, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, renderSlot, createTextVNode, toDisplayString } from "vue";
|
2
2
|
import { getElement } from "../_shared/utils/dom.js";
|
3
3
|
import { isNumber } from "../_shared/utils/is.js";
|
4
|
-
import
|
4
|
+
import useAnchorContext from "./hooks/useContext.js";
|
5
5
|
const _hoisted_1 = ["href"];
|
6
6
|
const _hoisted_2 = {
|
7
7
|
key: 0,
|
@@ -20,7 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
20
|
const $slots = useSlots();
|
21
21
|
const props = __props;
|
22
22
|
const { href } = toRefs(props);
|
23
|
-
const { smooth, boundary, changeHash, curHref, lineLess, scrollContainer } =
|
23
|
+
const { smooth, boundary, changeHash, curHref, lineLess, scrollContainer } = useAnchorContext().inject();
|
24
24
|
const handleClick = (e) => {
|
25
25
|
curHref.value = href.value;
|
26
26
|
if (changeHash.value) return;
|
@@ -8,16 +8,16 @@ type AnchorContext = {
|
|
8
8
|
curHref: Ref<string>;
|
9
9
|
scrollContainer: Ref<HTMLElement | undefined>;
|
10
10
|
};
|
11
|
-
|
11
|
+
export default function useAnchorContext(): {
|
12
12
|
provide: (props: RecordType, listRef: Ref<HTMLDivElement | undefined>) => {
|
13
13
|
hrefs: import('vue').ComputedRef<any[]>;
|
14
14
|
curHref: Ref<string, string>;
|
15
15
|
changeHash: Ref<boolean, boolean>;
|
16
16
|
smooth: Ref<boolean, boolean>;
|
17
|
-
boundary: Ref<
|
17
|
+
boundary: Ref<number | "center" | "end" | "start" | "nearest", number | "center" | "end" | "start" | "nearest">;
|
18
18
|
lineLess: Ref<boolean, boolean>;
|
19
19
|
scrollContainer: import('vue').ComputedRef<HTMLElement | undefined>;
|
20
20
|
};
|
21
21
|
inject: () => AnchorContext;
|
22
22
|
};
|
23
|
-
export
|
23
|
+
export {};
|
@@ -5,7 +5,7 @@ import { isUndefined } from "../../_shared/utils/is.js";
|
|
5
5
|
import _sfc_main from "../AnchorLink.vue.js";
|
6
6
|
/* empty css */
|
7
7
|
const ANCHOR_CONTEXT_KEY = "anchor-context";
|
8
|
-
|
8
|
+
function useAnchorContext() {
|
9
9
|
const provide$1 = (props, listRef) => {
|
10
10
|
const {
|
11
11
|
changeHash,
|
@@ -62,7 +62,7 @@ const useContext = () => {
|
|
62
62
|
provide: provide$1,
|
63
63
|
inject: inject$1
|
64
64
|
};
|
65
|
-
}
|
65
|
+
}
|
66
66
|
export {
|
67
|
-
|
67
|
+
useAnchorContext as default
|
68
68
|
};
|
package/es/Anchor/index.d.ts
CHANGED
@@ -7,7 +7,7 @@ export * from './type';
|
|
7
7
|
declare const Anchor: {
|
8
8
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').AnchorProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
9
9
|
smooth: boolean;
|
10
|
-
boundary:
|
10
|
+
boundary: number | "center" | "end" | "start" | "nearest";
|
11
11
|
changeHash: boolean;
|
12
12
|
lineLess: boolean;
|
13
13
|
scrollContainer: import('..').TargetContainer;
|
@@ -22,7 +22,7 @@ declare const Anchor: {
|
|
22
22
|
Defaults: {};
|
23
23
|
}, Readonly<import('./type').AnchorProps> & Readonly<{}>, {}, {}, {}, {}, {
|
24
24
|
smooth: boolean;
|
25
|
-
boundary:
|
25
|
+
boundary: number | "center" | "end" | "start" | "nearest";
|
26
26
|
changeHash: boolean;
|
27
27
|
lineLess: boolean;
|
28
28
|
scrollContainer: import('..').TargetContainer;
|
@@ -32,7 +32,7 @@ declare const Anchor: {
|
|
32
32
|
__isSuspense?: never;
|
33
33
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').AnchorProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
34
34
|
smooth: boolean;
|
35
|
-
boundary:
|
35
|
+
boundary: number | "center" | "end" | "start" | "nearest";
|
36
36
|
changeHash: boolean;
|
37
37
|
lineLess: boolean;
|
38
38
|
scrollContainer: import('..').TargetContainer;
|
package/es/Anchor/type.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
2
|
import { TargetContainer } from '../_shared/type';
|
3
3
|
export interface AnchorProps {
|
4
|
-
boundary?:
|
4
|
+
boundary?: Boundary;
|
5
5
|
lineLess?: boolean;
|
6
6
|
scrollContainer?: TargetContainer;
|
7
7
|
changeHash?: boolean;
|
@@ -18,4 +18,5 @@ export interface AnchorLinkSlots {
|
|
18
18
|
default?: () => VNode[];
|
19
19
|
sublist?: () => VNode[];
|
20
20
|
}
|
21
|
-
|
21
|
+
type Boundary = 'start' | 'end' | 'center' | 'nearest' | number;
|
22
|
+
export {};
|
@@ -5,12 +5,12 @@ export * from './type';
|
|
5
5
|
declare const AutoComplete: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').AutoCompleteProps> & Readonly<{
|
7
7
|
onChange?: ((value: string) => any) | undefined;
|
8
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
9
8
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
10
9
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
11
10
|
onSearch?: ((value: string) => any) | undefined;
|
12
11
|
onSelect?: ((value: string) => any) | undefined;
|
13
12
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
13
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
14
14
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
15
15
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
16
16
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -23,12 +23,12 @@ declare const AutoComplete: {
|
|
23
23
|
updatePosition(x: number, y: number): void;
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
25
25
|
change: (value: string) => any;
|
26
|
-
focus: (ev: FocusEvent) => any;
|
27
26
|
clear: (ev?: Event | undefined) => any;
|
28
27
|
input: (value: string, ev: Event) => any;
|
29
28
|
search: (value: string) => any;
|
30
29
|
select: (value: string) => any;
|
31
30
|
blur: (ev: FocusEvent) => any;
|
31
|
+
focus: (ev: FocusEvent) => any;
|
32
32
|
keydown: (ev: KeyboardEvent) => any;
|
33
33
|
"update:modelValue": (value: string) => any;
|
34
34
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|
@@ -88,12 +88,12 @@ declare const AutoComplete: {
|
|
88
88
|
readonly hotkeys?: boolean | undefined;
|
89
89
|
readonly showEmpty?: boolean | undefined;
|
90
90
|
readonly onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
91
|
-
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
92
|
-
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
93
91
|
readonly onClear?: (() => any) | undefined;
|
94
92
|
readonly onSearch?: ((value: string) => any) | undefined;
|
95
93
|
readonly onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
96
94
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
95
|
+
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
96
|
+
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
97
97
|
readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
98
98
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
99
99
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -360,16 +360,19 @@ declare const AutoComplete: {
|
|
360
360
|
readonly allowClear?: boolean | undefined;
|
361
361
|
readonly size?: import('..').Size | undefined;
|
362
362
|
readonly maxTagCount?: number | undefined;
|
363
|
-
readonly retainInputValue?:
|
363
|
+
readonly retainInputValue?: (boolean | {
|
364
|
+
create?: boolean;
|
365
|
+
blur?: boolean;
|
366
|
+
}) | undefined;
|
364
367
|
readonly formatTag?: import('..').Format<import('..').TagData> | undefined;
|
365
368
|
readonly uniqueValue?: boolean | undefined;
|
366
369
|
readonly tagNowrap?: boolean | undefined;
|
367
370
|
readonly fieldNames?: Record<string, string> | undefined;
|
368
371
|
readonly allowCreate?: boolean | undefined;
|
369
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
370
372
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
371
373
|
readonly onInput?: ((value: string) => any) | undefined;
|
372
374
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
375
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
373
376
|
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
374
377
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
375
378
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -391,13 +394,13 @@ declare const AutoComplete: {
|
|
391
394
|
$root: import('vue').ComponentPublicInstance | null;
|
392
395
|
$parent: import('vue').ComponentPublicInstance | null;
|
393
396
|
$host: Element | null;
|
394
|
-
$emit: ((event: "
|
397
|
+
$emit: ((event: "clear", ev: MouseEvent) => void) & ((event: "input", value: string) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
|
395
398
|
$el: HTMLDivElement;
|
396
399
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
397
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
398
400
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
399
401
|
onInput?: ((value: string) => any) | undefined;
|
400
402
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
403
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
401
404
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
402
405
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
403
406
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -407,18 +410,18 @@ declare const AutoComplete: {
|
|
407
410
|
focus(): void;
|
408
411
|
blur(): void;
|
409
412
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
410
|
-
focus: (ev: FocusEvent) => any;
|
411
413
|
clear: (ev: MouseEvent) => any;
|
412
414
|
input: (value: string) => any;
|
413
415
|
blur: (ev: FocusEvent) => any;
|
416
|
+
focus: (ev: FocusEvent) => any;
|
414
417
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
415
418
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
416
419
|
"update:inputValue": (value: string) => any;
|
417
420
|
"input-value-change": (value: string, ev: Event) => any;
|
418
421
|
"press-enter": (ev: KeyboardEvent) => any;
|
419
422
|
}, string, {
|
420
|
-
size: import('..').Size;
|
421
423
|
error: boolean;
|
424
|
+
size: import('..').Size;
|
422
425
|
disabled: boolean;
|
423
426
|
placeholder: string;
|
424
427
|
modelValue: import('..').InputTagValue;
|
@@ -431,7 +434,10 @@ declare const AutoComplete: {
|
|
431
434
|
allowCreate: boolean;
|
432
435
|
maxTagCount: number;
|
433
436
|
tagNowrap: boolean;
|
434
|
-
retainInputValue:
|
437
|
+
retainInputValue: boolean | {
|
438
|
+
create?: boolean;
|
439
|
+
blur?: boolean;
|
440
|
+
};
|
435
441
|
uniqueValue: boolean;
|
436
442
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
437
443
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -454,8 +460,8 @@ declare const AutoComplete: {
|
|
454
460
|
$nextTick: typeof import('vue').nextTick;
|
455
461
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
456
462
|
} & Readonly<{
|
457
|
-
size: import('..').Size;
|
458
463
|
error: boolean;
|
464
|
+
size: import('..').Size;
|
459
465
|
disabled: boolean;
|
460
466
|
placeholder: string;
|
461
467
|
modelValue: import('..').InputTagValue;
|
@@ -468,19 +474,22 @@ declare const AutoComplete: {
|
|
468
474
|
allowCreate: boolean;
|
469
475
|
maxTagCount: number;
|
470
476
|
tagNowrap: boolean;
|
471
|
-
retainInputValue:
|
477
|
+
retainInputValue: boolean | {
|
478
|
+
create?: boolean;
|
479
|
+
blur?: boolean;
|
480
|
+
};
|
472
481
|
uniqueValue: boolean;
|
473
482
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
474
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
475
483
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
476
484
|
onInput?: ((value: string) => any) | undefined;
|
477
485
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
486
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
478
487
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
479
488
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
480
489
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
481
490
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
482
491
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
483
|
-
}>, "
|
492
|
+
}>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
484
493
|
focus(): void;
|
485
494
|
blur(): void;
|
486
495
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -493,16 +502,16 @@ declare const AutoComplete: {
|
|
493
502
|
$root: import('vue').ComponentPublicInstance | null;
|
494
503
|
$parent: import('vue').ComponentPublicInstance | null;
|
495
504
|
$host: Element | null;
|
496
|
-
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "
|
505
|
+
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "clear") => void) & ((event: "search", value: string) => void) & ((event: "select", value: import('..').SelectOptionValue) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "update:modelValue", value: import('..').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
497
506
|
$el: any;
|
498
507
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
|
499
508
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
500
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
501
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
502
509
|
onClear?: (() => any) | undefined;
|
503
510
|
onSearch?: ((value: string) => any) | undefined;
|
504
511
|
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
505
512
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
513
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
514
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
506
515
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
507
516
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
508
517
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -515,12 +524,12 @@ declare const AutoComplete: {
|
|
515
524
|
getPopupRef(): import('..').TriggerInstance;
|
516
525
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
517
526
|
change: (value: import('..').SelectValue) => any;
|
518
|
-
"update:popupVisible": (value: boolean) => any;
|
519
|
-
"popup-visible-change": (value: boolean) => any;
|
520
527
|
clear: () => any;
|
521
528
|
search: (value: string) => any;
|
522
529
|
select: (value: import('..').SelectOptionValue) => any;
|
523
530
|
remove: (index: string | number, ev: Event) => any;
|
531
|
+
"update:popupVisible": (value: boolean) => any;
|
532
|
+
"popup-visible-change": (value: boolean) => any;
|
524
533
|
"update:modelValue": (value: import('..').SelectValue) => any;
|
525
534
|
"update:inputValue": (value: string) => any;
|
526
535
|
"input-value-change": (value: string) => any;
|
@@ -528,8 +537,8 @@ declare const AutoComplete: {
|
|
528
537
|
"dropdown-scroll": (ev: Event) => any;
|
529
538
|
"dropdown-reach-bottom": (ev: Event) => any;
|
530
539
|
}, string, {
|
531
|
-
size: import('..').Size;
|
532
540
|
error: boolean;
|
541
|
+
size: import('..').Size;
|
533
542
|
popupContainer: import('..').PopupContainer;
|
534
543
|
popupVisible: boolean;
|
535
544
|
defaultPopupVisible: boolean;
|
@@ -581,8 +590,8 @@ declare const AutoComplete: {
|
|
581
590
|
$nextTick: typeof import('vue').nextTick;
|
582
591
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
583
592
|
} & Readonly<{
|
584
|
-
size: import('..').Size;
|
585
593
|
error: boolean;
|
594
|
+
size: import('..').Size;
|
586
595
|
popupContainer: import('..').PopupContainer;
|
587
596
|
popupVisible: boolean;
|
588
597
|
defaultPopupVisible: boolean;
|
@@ -615,19 +624,19 @@ declare const AutoComplete: {
|
|
615
624
|
tagNowrap: boolean;
|
616
625
|
}> & Omit<Readonly<import('..').SelectProps> & Readonly<{
|
617
626
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
618
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
619
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
620
627
|
onClear?: (() => any) | undefined;
|
621
628
|
onSearch?: ((value: string) => any) | undefined;
|
622
629
|
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
623
630
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
631
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
632
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
624
633
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
625
634
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
626
635
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
627
636
|
onExceedLimit?: ((value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
628
637
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
629
638
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
630
|
-
}>, "
|
639
|
+
}>, "blur" | "focus" | ("error" | "size" | "popupContainer" | "popupVisible" | "defaultPopupVisible" | "disabled" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
631
640
|
focus(): void;
|
632
641
|
blur(): void;
|
633
642
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -636,10 +645,10 @@ declare const AutoComplete: {
|
|
636
645
|
}) | null;
|
637
646
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').TextareaProps> & Readonly<{
|
638
647
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
639
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
640
648
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
641
649
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
642
650
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
651
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
643
652
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
644
653
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
645
654
|
}>, {
|
@@ -649,10 +658,10 @@ declare const AutoComplete: {
|
|
649
658
|
getMirrorRef(): HTMLDivElement;
|
650
659
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
651
660
|
change: (value: string, ev: Event) => any;
|
652
|
-
focus: (ev: FocusEvent) => any;
|
653
661
|
clear: (ev: MouseEvent) => any;
|
654
662
|
input: (value: string, ev: Event) => any;
|
655
663
|
blur: (ev: FocusEvent) => any;
|
664
|
+
focus: (ev: FocusEvent) => any;
|
656
665
|
keydown: (ev: KeyboardEvent) => any;
|
657
666
|
"update:modelValue": (value: string) => any;
|
658
667
|
}, import('vue').PublicProps, {
|
@@ -682,10 +691,10 @@ declare const AutoComplete: {
|
|
682
691
|
Defaults: {};
|
683
692
|
}, Readonly<import('..').TextareaProps> & Readonly<{
|
684
693
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
685
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
686
694
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
687
695
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
688
696
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
697
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
689
698
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
690
699
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
691
700
|
}>, {
|
@@ -718,12 +727,12 @@ declare const AutoComplete: {
|
|
718
727
|
Defaults: {};
|
719
728
|
}, Readonly<import('./type').AutoCompleteProps> & Readonly<{
|
720
729
|
onChange?: ((value: string) => any) | undefined;
|
721
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
722
730
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
723
731
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
724
732
|
onSearch?: ((value: string) => any) | undefined;
|
725
733
|
onSelect?: ((value: string) => any) | undefined;
|
726
734
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
735
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
727
736
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
728
737
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
729
738
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -753,12 +762,12 @@ declare const AutoComplete: {
|
|
753
762
|
__isSuspense?: never;
|
754
763
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').AutoCompleteProps> & Readonly<{
|
755
764
|
onChange?: ((value: string) => any) | undefined;
|
756
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
757
765
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
758
766
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
759
767
|
onSearch?: ((value: string) => any) | undefined;
|
760
768
|
onSelect?: ((value: string) => any) | undefined;
|
761
769
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
770
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
762
771
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
763
772
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
764
773
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -771,12 +780,12 @@ declare const AutoComplete: {
|
|
771
780
|
updatePosition(x: number, y: number): void;
|
772
781
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
773
782
|
change: (value: string) => any;
|
774
|
-
focus: (ev: FocusEvent) => any;
|
775
783
|
clear: (ev?: Event | undefined) => any;
|
776
784
|
input: (value: string, ev: Event) => any;
|
777
785
|
search: (value: string) => any;
|
778
786
|
select: (value: string) => any;
|
779
787
|
blur: (ev: FocusEvent) => any;
|
788
|
+
focus: (ev: FocusEvent) => any;
|
780
789
|
keydown: (ev: KeyboardEvent) => any;
|
781
790
|
"update:modelValue": (value: string) => any;
|
782
791
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|