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/Mention/index.d.ts
CHANGED
@@ -5,27 +5,27 @@ export * from './type';
|
|
5
5
|
declare const Mention: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').MentionProps> & Readonly<{
|
7
7
|
onChange?: ((value: string) => any) | undefined;
|
8
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
9
8
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
10
9
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
11
10
|
onSearch?: ((value: string) => any) | undefined;
|
12
11
|
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
13
12
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
13
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
14
14
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
15
15
|
}>, {
|
16
16
|
focus(): void;
|
17
17
|
blur(): void;
|
18
18
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
19
19
|
change: (value: string) => any;
|
20
|
-
focus: (ev: FocusEvent) => any;
|
21
20
|
clear: (ev: MouseEvent) => any;
|
22
21
|
input: (value: string, ev: Event) => any;
|
23
22
|
search: (value: string) => any;
|
24
23
|
select: (value: import('..').SelectOptionValue) => any;
|
25
24
|
blur: (ev: FocusEvent) => any;
|
25
|
+
focus: (ev: FocusEvent) => any;
|
26
26
|
"update:modelValue": (value: string) => any;
|
27
27
|
}, import('vue').PublicProps, {
|
28
|
-
type:
|
28
|
+
type: "input" | "textarea";
|
29
29
|
data: import('..').SelectOption[];
|
30
30
|
disabled: boolean;
|
31
31
|
split: string;
|
@@ -52,12 +52,12 @@ declare const Mention: {
|
|
52
52
|
readonly isSearch?: boolean | undefined;
|
53
53
|
readonly type?: "textarea" | "input" | undefined;
|
54
54
|
readonly onChange?: ((value: string) => any) | undefined;
|
55
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
56
55
|
readonly onClear?: ((ev?: Event | undefined) => any) | undefined;
|
57
56
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
58
57
|
readonly onSearch?: ((value: string) => any) | undefined;
|
59
58
|
readonly onSelect?: ((value: string) => any) | undefined;
|
60
59
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
60
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
61
61
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
62
62
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
63
63
|
readonly "onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -110,12 +110,12 @@ declare const Mention: {
|
|
110
110
|
readonly hotkeys?: boolean | undefined;
|
111
111
|
readonly showEmpty?: boolean | undefined;
|
112
112
|
readonly onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
113
|
-
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
114
|
-
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
115
113
|
readonly onClear?: (() => any) | undefined;
|
116
114
|
readonly onSearch?: ((value: string) => any) | undefined;
|
117
115
|
readonly onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
118
116
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
117
|
+
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
118
|
+
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
119
119
|
readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
120
120
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
121
121
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -382,16 +382,19 @@ declare const Mention: {
|
|
382
382
|
readonly allowClear?: boolean | undefined;
|
383
383
|
readonly size?: import('..').Size | undefined;
|
384
384
|
readonly maxTagCount?: number | undefined;
|
385
|
-
readonly retainInputValue?:
|
385
|
+
readonly retainInputValue?: (boolean | {
|
386
|
+
create?: boolean;
|
387
|
+
blur?: boolean;
|
388
|
+
}) | undefined;
|
386
389
|
readonly formatTag?: import('..').Format<import('..').TagData> | undefined;
|
387
390
|
readonly uniqueValue?: boolean | undefined;
|
388
391
|
readonly tagNowrap?: boolean | undefined;
|
389
392
|
readonly fieldNames?: Record<string, string> | undefined;
|
390
393
|
readonly allowCreate?: boolean | undefined;
|
391
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
392
394
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
393
395
|
readonly onInput?: ((value: string) => any) | undefined;
|
394
396
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
397
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
395
398
|
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
396
399
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
397
400
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -413,13 +416,13 @@ declare const Mention: {
|
|
413
416
|
$root: import('vue').ComponentPublicInstance | null;
|
414
417
|
$parent: import('vue').ComponentPublicInstance | null;
|
415
418
|
$host: Element | null;
|
416
|
-
$emit: ((event: "
|
419
|
+
$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);
|
417
420
|
$el: HTMLDivElement;
|
418
421
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
419
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
420
422
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
421
423
|
onInput?: ((value: string) => any) | undefined;
|
422
424
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
425
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
423
426
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
424
427
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
425
428
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -429,18 +432,18 @@ declare const Mention: {
|
|
429
432
|
focus(): void;
|
430
433
|
blur(): void;
|
431
434
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
432
|
-
focus: (ev: FocusEvent) => any;
|
433
435
|
clear: (ev: MouseEvent) => any;
|
434
436
|
input: (value: string) => any;
|
435
437
|
blur: (ev: FocusEvent) => any;
|
438
|
+
focus: (ev: FocusEvent) => any;
|
436
439
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
437
440
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
438
441
|
"update:inputValue": (value: string) => any;
|
439
442
|
"input-value-change": (value: string, ev: Event) => any;
|
440
443
|
"press-enter": (ev: KeyboardEvent) => any;
|
441
444
|
}, string, {
|
442
|
-
size: import('..').Size;
|
443
445
|
error: boolean;
|
446
|
+
size: import('..').Size;
|
444
447
|
disabled: boolean;
|
445
448
|
placeholder: string;
|
446
449
|
modelValue: import('..').InputTagValue;
|
@@ -453,7 +456,10 @@ declare const Mention: {
|
|
453
456
|
allowCreate: boolean;
|
454
457
|
maxTagCount: number;
|
455
458
|
tagNowrap: boolean;
|
456
|
-
retainInputValue:
|
459
|
+
retainInputValue: boolean | {
|
460
|
+
create?: boolean;
|
461
|
+
blur?: boolean;
|
462
|
+
};
|
457
463
|
uniqueValue: boolean;
|
458
464
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
459
465
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -476,8 +482,8 @@ declare const Mention: {
|
|
476
482
|
$nextTick: typeof import('vue').nextTick;
|
477
483
|
$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;
|
478
484
|
} & Readonly<{
|
479
|
-
size: import('..').Size;
|
480
485
|
error: boolean;
|
486
|
+
size: import('..').Size;
|
481
487
|
disabled: boolean;
|
482
488
|
placeholder: string;
|
483
489
|
modelValue: import('..').InputTagValue;
|
@@ -490,19 +496,22 @@ declare const Mention: {
|
|
490
496
|
allowCreate: boolean;
|
491
497
|
maxTagCount: number;
|
492
498
|
tagNowrap: boolean;
|
493
|
-
retainInputValue:
|
499
|
+
retainInputValue: boolean | {
|
500
|
+
create?: boolean;
|
501
|
+
blur?: boolean;
|
502
|
+
};
|
494
503
|
uniqueValue: boolean;
|
495
504
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
496
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
497
505
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
498
506
|
onInput?: ((value: string) => any) | undefined;
|
499
507
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
508
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
500
509
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
501
510
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
502
511
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
503
512
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
504
513
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
505
|
-
}>, "
|
514
|
+
}>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
506
515
|
focus(): void;
|
507
516
|
blur(): void;
|
508
517
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -515,16 +524,16 @@ declare const Mention: {
|
|
515
524
|
$root: import('vue').ComponentPublicInstance | null;
|
516
525
|
$parent: import('vue').ComponentPublicInstance | null;
|
517
526
|
$host: Element | null;
|
518
|
-
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "
|
527
|
+
$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);
|
519
528
|
$el: any;
|
520
529
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
|
521
530
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
522
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
523
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
524
531
|
onClear?: (() => any) | undefined;
|
525
532
|
onSearch?: ((value: string) => any) | undefined;
|
526
533
|
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
527
534
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
535
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
536
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
528
537
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
529
538
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
530
539
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -537,12 +546,12 @@ declare const Mention: {
|
|
537
546
|
getPopupRef(): import('..').TriggerInstance;
|
538
547
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
539
548
|
change: (value: import('..').SelectValue) => any;
|
540
|
-
"update:popupVisible": (value: boolean) => any;
|
541
|
-
"popup-visible-change": (value: boolean) => any;
|
542
549
|
clear: () => any;
|
543
550
|
search: (value: string) => any;
|
544
551
|
select: (value: import('..').SelectOptionValue) => any;
|
545
552
|
remove: (index: string | number, ev: Event) => any;
|
553
|
+
"update:popupVisible": (value: boolean) => any;
|
554
|
+
"popup-visible-change": (value: boolean) => any;
|
546
555
|
"update:modelValue": (value: import('..').SelectValue) => any;
|
547
556
|
"update:inputValue": (value: string) => any;
|
548
557
|
"input-value-change": (value: string) => any;
|
@@ -550,8 +559,8 @@ declare const Mention: {
|
|
550
559
|
"dropdown-scroll": (ev: Event) => any;
|
551
560
|
"dropdown-reach-bottom": (ev: Event) => any;
|
552
561
|
}, string, {
|
553
|
-
size: import('..').Size;
|
554
562
|
error: boolean;
|
563
|
+
size: import('..').Size;
|
555
564
|
popupContainer: import('..').PopupContainer;
|
556
565
|
popupVisible: boolean;
|
557
566
|
defaultPopupVisible: boolean;
|
@@ -603,8 +612,8 @@ declare const Mention: {
|
|
603
612
|
$nextTick: typeof import('vue').nextTick;
|
604
613
|
$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;
|
605
614
|
} & Readonly<{
|
606
|
-
size: import('..').Size;
|
607
615
|
error: boolean;
|
616
|
+
size: import('..').Size;
|
608
617
|
popupContainer: import('..').PopupContainer;
|
609
618
|
popupVisible: boolean;
|
610
619
|
defaultPopupVisible: boolean;
|
@@ -637,19 +646,19 @@ declare const Mention: {
|
|
637
646
|
tagNowrap: boolean;
|
638
647
|
}> & Omit<Readonly<import('..').SelectProps> & Readonly<{
|
639
648
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
640
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
641
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
642
649
|
onClear?: (() => any) | undefined;
|
643
650
|
onSearch?: ((value: string) => any) | undefined;
|
644
651
|
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
645
652
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
653
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
654
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
646
655
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
647
656
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
648
657
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
649
658
|
onExceedLimit?: ((value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
650
659
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
651
660
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
652
|
-
}>, "
|
661
|
+
}>, "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<{
|
653
662
|
focus(): void;
|
654
663
|
blur(): void;
|
655
664
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -658,10 +667,10 @@ declare const Mention: {
|
|
658
667
|
}) | null;
|
659
668
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').TextareaProps> & Readonly<{
|
660
669
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
661
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
662
670
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
663
671
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
664
672
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
673
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
665
674
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
666
675
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
667
676
|
}>, {
|
@@ -671,10 +680,10 @@ declare const Mention: {
|
|
671
680
|
getMirrorRef(): HTMLDivElement;
|
672
681
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
673
682
|
change: (value: string, ev: Event) => any;
|
674
|
-
focus: (ev: FocusEvent) => any;
|
675
683
|
clear: (ev: MouseEvent) => any;
|
676
684
|
input: (value: string, ev: Event) => any;
|
677
685
|
blur: (ev: FocusEvent) => any;
|
686
|
+
focus: (ev: FocusEvent) => any;
|
678
687
|
keydown: (ev: KeyboardEvent) => any;
|
679
688
|
"update:modelValue": (value: string) => any;
|
680
689
|
}, import('vue').PublicProps, {
|
@@ -704,10 +713,10 @@ declare const Mention: {
|
|
704
713
|
Defaults: {};
|
705
714
|
}, Readonly<import('..').TextareaProps> & Readonly<{
|
706
715
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
707
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
708
716
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
709
717
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
710
718
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
719
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
711
720
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
712
721
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
713
722
|
}>, {
|
@@ -738,16 +747,16 @@ declare const Mention: {
|
|
738
747
|
$root: import('vue').ComponentPublicInstance | null;
|
739
748
|
$parent: import('vue').ComponentPublicInstance | null;
|
740
749
|
$host: Element | null;
|
741
|
-
$emit: ((event: "change", value: string) => void) & ((event: "
|
750
|
+
$emit: ((event: "change", value: string) => void) & ((event: "clear", ev?: Event | undefined) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "search", value: string) => void) & ((event: "select", value: string) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "dropdown-scroll", ev?: Event | undefined) => void) & ((event: "dropdown-reach-bottom", ev?: Event | undefined) => void);
|
742
751
|
$el: any;
|
743
752
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').AutoCompleteProps> & Readonly<{
|
744
753
|
onChange?: ((value: string) => any) | undefined;
|
745
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
746
754
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
747
755
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
748
756
|
onSearch?: ((value: string) => any) | undefined;
|
749
757
|
onSelect?: ((value: string) => any) | undefined;
|
750
758
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
759
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
751
760
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
752
761
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
753
762
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -760,12 +769,12 @@ declare const Mention: {
|
|
760
769
|
updatePosition(x: number, y: number): void;
|
761
770
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
762
771
|
change: (value: string) => any;
|
763
|
-
focus: (ev: FocusEvent) => any;
|
764
772
|
clear: (ev?: Event | undefined) => any;
|
765
773
|
input: (value: string, ev: Event) => any;
|
766
774
|
search: (value: string) => any;
|
767
775
|
select: (value: string) => any;
|
768
776
|
blur: (ev: FocusEvent) => any;
|
777
|
+
focus: (ev: FocusEvent) => any;
|
769
778
|
keydown: (ev: KeyboardEvent) => any;
|
770
779
|
"update:modelValue": (value: string) => any;
|
771
780
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|
@@ -818,17 +827,17 @@ declare const Mention: {
|
|
818
827
|
isSearch: boolean;
|
819
828
|
}> & Omit<Readonly<import('..').AutoCompleteProps> & Readonly<{
|
820
829
|
onChange?: ((value: string) => any) | undefined;
|
821
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
822
830
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
823
831
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
824
832
|
onSearch?: ((value: string) => any) | undefined;
|
825
833
|
onSelect?: ((value: string) => any) | undefined;
|
826
834
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
835
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
827
836
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
828
837
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
829
838
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
830
839
|
"onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
|
831
|
-
}>, "
|
840
|
+
}>, "blur" | "focus" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("type" | "data" | "popupContainer" | "disabled" | "strict" | "modelValue" | "defaultValue" | "allowClear" | "filterOption" | "triggerProps" | "isSelectSetValue" | "isSearch")> & import('vue').ShallowUnwrapRef<{
|
832
841
|
focus(): void;
|
833
842
|
blur(): void;
|
834
843
|
getInputRef(): HTMLInputElement | HTMLTextAreaElement | undefined;
|
@@ -846,18 +855,18 @@ declare const Mention: {
|
|
846
855
|
Defaults: {};
|
847
856
|
}, Readonly<import('./type').MentionProps> & Readonly<{
|
848
857
|
onChange?: ((value: string) => any) | undefined;
|
849
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
850
858
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
851
859
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
852
860
|
onSearch?: ((value: string) => any) | undefined;
|
853
861
|
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
854
862
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
863
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
855
864
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
856
865
|
}>, {
|
857
866
|
focus(): void;
|
858
867
|
blur(): void;
|
859
868
|
}, {}, {}, {}, {
|
860
|
-
type:
|
869
|
+
type: "input" | "textarea";
|
861
870
|
data: import('..').SelectOption[];
|
862
871
|
disabled: boolean;
|
863
872
|
split: string;
|
@@ -871,27 +880,27 @@ declare const Mention: {
|
|
871
880
|
__isSuspense?: never;
|
872
881
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').MentionProps> & Readonly<{
|
873
882
|
onChange?: ((value: string) => any) | undefined;
|
874
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
875
883
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
876
884
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
877
885
|
onSearch?: ((value: string) => any) | undefined;
|
878
886
|
onSelect?: ((value: import('..').SelectOptionValue) => any) | undefined;
|
879
887
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
888
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
880
889
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
881
890
|
}>, {
|
882
891
|
focus(): void;
|
883
892
|
blur(): void;
|
884
893
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
885
894
|
change: (value: string) => any;
|
886
|
-
focus: (ev: FocusEvent) => any;
|
887
895
|
clear: (ev: MouseEvent) => any;
|
888
896
|
input: (value: string, ev: Event) => any;
|
889
897
|
search: (value: string) => any;
|
890
898
|
select: (value: import('..').SelectOptionValue) => any;
|
891
899
|
blur: (ev: FocusEvent) => any;
|
900
|
+
focus: (ev: FocusEvent) => any;
|
892
901
|
"update:modelValue": (value: string) => any;
|
893
902
|
}, string, {
|
894
|
-
type:
|
903
|
+
type: "input" | "textarea";
|
895
904
|
data: import('..').SelectOption[];
|
896
905
|
disabled: boolean;
|
897
906
|
split: string;
|