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
@@ -23,12 +23,12 @@ declare function __VLS_template(): {
|
|
23
23
|
readonly isSearch?: boolean | undefined;
|
24
24
|
readonly type?: "textarea" | "input" | undefined;
|
25
25
|
readonly onChange?: ((value: string) => any) | undefined;
|
26
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
27
26
|
readonly onClear?: ((ev?: Event | undefined) => any) | undefined;
|
28
27
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
29
28
|
readonly onSearch?: ((value: string) => any) | undefined;
|
30
29
|
readonly onSelect?: ((value: string) => any) | undefined;
|
31
30
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
31
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
32
32
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
33
33
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
34
34
|
readonly "onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -81,12 +81,12 @@ declare function __VLS_template(): {
|
|
81
81
|
readonly hotkeys?: boolean | undefined;
|
82
82
|
readonly showEmpty?: boolean | undefined;
|
83
83
|
readonly onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
84
|
-
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
85
|
-
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
86
84
|
readonly onClear?: (() => any) | undefined;
|
87
85
|
readonly onSearch?: ((value: string) => any) | undefined;
|
88
86
|
readonly onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
89
87
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
88
|
+
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
89
|
+
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
90
90
|
readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
91
91
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
92
92
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -353,16 +353,19 @@ declare function __VLS_template(): {
|
|
353
353
|
readonly allowClear?: boolean | undefined;
|
354
354
|
readonly size?: import('../_shared/type').Size | undefined;
|
355
355
|
readonly maxTagCount?: number | undefined;
|
356
|
-
readonly retainInputValue?:
|
356
|
+
readonly retainInputValue?: (boolean | {
|
357
|
+
create?: boolean;
|
358
|
+
blur?: boolean;
|
359
|
+
}) | undefined;
|
357
360
|
readonly formatTag?: import('../_shared/type').Format<import('..').TagData> | undefined;
|
358
361
|
readonly uniqueValue?: boolean | undefined;
|
359
362
|
readonly tagNowrap?: boolean | undefined;
|
360
363
|
readonly fieldNames?: Record<string, string> | undefined;
|
361
364
|
readonly allowCreate?: boolean | undefined;
|
362
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
363
365
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
364
366
|
readonly onInput?: ((value: string) => any) | undefined;
|
365
367
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
368
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
366
369
|
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
367
370
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
368
371
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -384,13 +387,13 @@ declare function __VLS_template(): {
|
|
384
387
|
$root: import('vue').ComponentPublicInstance | null;
|
385
388
|
$parent: import('vue').ComponentPublicInstance | null;
|
386
389
|
$host: Element | null;
|
387
|
-
$emit: ((event: "
|
390
|
+
$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);
|
388
391
|
$el: HTMLDivElement;
|
389
392
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
390
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
391
393
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
392
394
|
onInput?: ((value: string) => any) | undefined;
|
393
395
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
396
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
394
397
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
395
398
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
396
399
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -400,18 +403,18 @@ declare function __VLS_template(): {
|
|
400
403
|
focus(): void;
|
401
404
|
blur(): void;
|
402
405
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
403
|
-
focus: (ev: FocusEvent) => any;
|
404
406
|
clear: (ev: MouseEvent) => any;
|
405
407
|
input: (value: string) => any;
|
406
408
|
blur: (ev: FocusEvent) => any;
|
409
|
+
focus: (ev: FocusEvent) => any;
|
407
410
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
408
411
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
409
412
|
"update:inputValue": (value: string) => any;
|
410
413
|
"input-value-change": (value: string, ev: Event) => any;
|
411
414
|
"press-enter": (ev: KeyboardEvent) => any;
|
412
415
|
}, string, {
|
413
|
-
size: import('../_shared/type').Size;
|
414
416
|
error: boolean;
|
417
|
+
size: import('../_shared/type').Size;
|
415
418
|
disabled: boolean;
|
416
419
|
placeholder: string;
|
417
420
|
modelValue: import('..').InputTagValue;
|
@@ -424,7 +427,10 @@ declare function __VLS_template(): {
|
|
424
427
|
allowCreate: boolean;
|
425
428
|
maxTagCount: number;
|
426
429
|
tagNowrap: boolean;
|
427
|
-
retainInputValue:
|
430
|
+
retainInputValue: boolean | {
|
431
|
+
create?: boolean;
|
432
|
+
blur?: boolean;
|
433
|
+
};
|
428
434
|
uniqueValue: boolean;
|
429
435
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
430
436
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -447,8 +453,8 @@ declare function __VLS_template(): {
|
|
447
453
|
$nextTick: typeof nextTick;
|
448
454
|
$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;
|
449
455
|
} & Readonly<{
|
450
|
-
size: import('../_shared/type').Size;
|
451
456
|
error: boolean;
|
457
|
+
size: import('../_shared/type').Size;
|
452
458
|
disabled: boolean;
|
453
459
|
placeholder: string;
|
454
460
|
modelValue: import('..').InputTagValue;
|
@@ -461,19 +467,22 @@ declare function __VLS_template(): {
|
|
461
467
|
allowCreate: boolean;
|
462
468
|
maxTagCount: number;
|
463
469
|
tagNowrap: boolean;
|
464
|
-
retainInputValue:
|
470
|
+
retainInputValue: boolean | {
|
471
|
+
create?: boolean;
|
472
|
+
blur?: boolean;
|
473
|
+
};
|
465
474
|
uniqueValue: boolean;
|
466
475
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
467
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
468
476
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
469
477
|
onInput?: ((value: string) => any) | undefined;
|
470
478
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
479
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
471
480
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
472
481
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
473
482
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
474
483
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
475
484
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
476
|
-
}>, "
|
485
|
+
}>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
477
486
|
focus(): void;
|
478
487
|
blur(): void;
|
479
488
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -486,16 +495,16 @@ declare function __VLS_template(): {
|
|
486
495
|
$root: import('vue').ComponentPublicInstance | null;
|
487
496
|
$parent: import('vue').ComponentPublicInstance | null;
|
488
497
|
$host: Element | null;
|
489
|
-
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "
|
498
|
+
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "clear") => void) & ((event: "search", value: string) => void) & ((event: "select", value: 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('../Select').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: SelectOptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
490
499
|
$el: any;
|
491
500
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
|
492
501
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
493
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
494
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
495
502
|
onClear?: (() => any) | undefined;
|
496
503
|
onSearch?: ((value: string) => any) | undefined;
|
497
504
|
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
498
505
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
506
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
507
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
499
508
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
500
509
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
501
510
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -508,12 +517,12 @@ declare function __VLS_template(): {
|
|
508
517
|
getPopupRef(): import('..').TriggerInstance;
|
509
518
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
510
519
|
change: (value: import('../Select').SelectValue) => any;
|
511
|
-
"update:popupVisible": (value: boolean) => any;
|
512
|
-
"popup-visible-change": (value: boolean) => any;
|
513
520
|
clear: () => any;
|
514
521
|
search: (value: string) => any;
|
515
522
|
select: (value: SelectOptionValue) => any;
|
516
523
|
remove: (index: string | number, ev: Event) => any;
|
524
|
+
"update:popupVisible": (value: boolean) => any;
|
525
|
+
"popup-visible-change": (value: boolean) => any;
|
517
526
|
"update:modelValue": (value: import('../Select').SelectValue) => any;
|
518
527
|
"update:inputValue": (value: string) => any;
|
519
528
|
"input-value-change": (value: string) => any;
|
@@ -521,8 +530,8 @@ declare function __VLS_template(): {
|
|
521
530
|
"dropdown-scroll": (ev: Event) => any;
|
522
531
|
"dropdown-reach-bottom": (ev: Event) => any;
|
523
532
|
}, string, {
|
524
|
-
size: import('../_shared/type').Size;
|
525
533
|
error: boolean;
|
534
|
+
size: import('../_shared/type').Size;
|
526
535
|
popupContainer: import('../_shared/type').PopupContainer;
|
527
536
|
popupVisible: boolean;
|
528
537
|
defaultPopupVisible: boolean;
|
@@ -574,8 +583,8 @@ declare function __VLS_template(): {
|
|
574
583
|
$nextTick: typeof nextTick;
|
575
584
|
$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;
|
576
585
|
} & Readonly<{
|
577
|
-
size: import('../_shared/type').Size;
|
578
586
|
error: boolean;
|
587
|
+
size: import('../_shared/type').Size;
|
579
588
|
popupContainer: import('../_shared/type').PopupContainer;
|
580
589
|
popupVisible: boolean;
|
581
590
|
defaultPopupVisible: boolean;
|
@@ -608,19 +617,19 @@ declare function __VLS_template(): {
|
|
608
617
|
tagNowrap: boolean;
|
609
618
|
}> & Omit<Readonly<import('../Select').SelectProps> & Readonly<{
|
610
619
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
611
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
612
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
613
620
|
onClear?: (() => any) | undefined;
|
614
621
|
onSearch?: ((value: string) => any) | undefined;
|
615
622
|
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
616
623
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
624
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
625
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
617
626
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
618
627
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
619
628
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
620
629
|
onExceedLimit?: ((value: SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
621
630
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
622
631
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
623
|
-
}>, "
|
632
|
+
}>, "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<{
|
624
633
|
focus(): void;
|
625
634
|
blur(): void;
|
626
635
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -629,10 +638,10 @@ declare function __VLS_template(): {
|
|
629
638
|
}) | null;
|
630
639
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').TextareaProps> & Readonly<{
|
631
640
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
632
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
633
641
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
634
642
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
635
643
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
644
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
636
645
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
637
646
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
638
647
|
}>, {
|
@@ -642,10 +651,10 @@ declare function __VLS_template(): {
|
|
642
651
|
getMirrorRef(): HTMLDivElement;
|
643
652
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
644
653
|
change: (value: string, ev: Event) => any;
|
645
|
-
focus: (ev: FocusEvent) => any;
|
646
654
|
clear: (ev: MouseEvent) => any;
|
647
655
|
input: (value: string, ev: Event) => any;
|
648
656
|
blur: (ev: FocusEvent) => any;
|
657
|
+
focus: (ev: FocusEvent) => any;
|
649
658
|
keydown: (ev: KeyboardEvent) => any;
|
650
659
|
"update:modelValue": (value: string) => any;
|
651
660
|
}, import('vue').PublicProps, {
|
@@ -675,10 +684,10 @@ declare function __VLS_template(): {
|
|
675
684
|
Defaults: {};
|
676
685
|
}, Readonly<import('..').TextareaProps> & Readonly<{
|
677
686
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
678
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
679
687
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
680
688
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
681
689
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
690
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
682
691
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
683
692
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
684
693
|
}>, {
|
@@ -709,16 +718,16 @@ declare function __VLS_template(): {
|
|
709
718
|
$root: import('vue').ComponentPublicInstance | null;
|
710
719
|
$parent: import('vue').ComponentPublicInstance | null;
|
711
720
|
$host: Element | null;
|
712
|
-
$emit: ((event: "change", value: string) => void) & ((event: "
|
721
|
+
$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);
|
713
722
|
$el: any;
|
714
723
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../AutoComplete').AutoCompleteProps> & Readonly<{
|
715
724
|
onChange?: ((value: string) => any) | undefined;
|
716
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
717
725
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
718
726
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
719
727
|
onSearch?: ((value: string) => any) | undefined;
|
720
728
|
onSelect?: ((value: string) => any) | undefined;
|
721
729
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
730
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
722
731
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
723
732
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
724
733
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -731,12 +740,12 @@ declare function __VLS_template(): {
|
|
731
740
|
updatePosition(x: number, y: number): void;
|
732
741
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
733
742
|
change: (value: string) => any;
|
734
|
-
focus: (ev: FocusEvent) => any;
|
735
743
|
clear: (ev?: Event | undefined) => any;
|
736
744
|
input: (value: string, ev: Event) => any;
|
737
745
|
search: (value: string) => any;
|
738
746
|
select: (value: string) => any;
|
739
747
|
blur: (ev: FocusEvent) => any;
|
748
|
+
focus: (ev: FocusEvent) => any;
|
740
749
|
keydown: (ev: KeyboardEvent) => any;
|
741
750
|
"update:modelValue": (value: string) => any;
|
742
751
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|
@@ -789,17 +798,17 @@ declare function __VLS_template(): {
|
|
789
798
|
isSearch: boolean;
|
790
799
|
}> & Omit<Readonly<import('../AutoComplete').AutoCompleteProps> & Readonly<{
|
791
800
|
onChange?: ((value: string) => any) | undefined;
|
792
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
793
801
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
794
802
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
795
803
|
onSearch?: ((value: string) => any) | undefined;
|
796
804
|
onSelect?: ((value: string) => any) | undefined;
|
797
805
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
806
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
798
807
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
799
808
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
800
809
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
801
810
|
"onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
|
802
|
-
}>, "
|
811
|
+
}>, "blur" | "focus" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("type" | "data" | "popupContainer" | "disabled" | "strict" | "modelValue" | "defaultValue" | "allowClear" | "filterOption" | "triggerProps" | "isSelectSetValue" | "isSearch")> & import('vue').ShallowUnwrapRef<{
|
803
812
|
focus(): void;
|
804
813
|
blur(): void;
|
805
814
|
getInputRef(): HTMLInputElement | HTMLTextAreaElement | undefined;
|
@@ -817,24 +826,24 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
817
826
|
blur(): void;
|
818
827
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
819
828
|
change: (value: string) => any;
|
820
|
-
focus: (ev: FocusEvent) => any;
|
821
829
|
clear: (ev: MouseEvent) => any;
|
822
830
|
input: (value: string, ev: Event) => any;
|
823
831
|
search: (value: string) => any;
|
824
832
|
select: (value: SelectOptionValue) => any;
|
825
833
|
blur: (ev: FocusEvent) => any;
|
834
|
+
focus: (ev: FocusEvent) => any;
|
826
835
|
"update:modelValue": (value: string) => any;
|
827
836
|
}, string, import('vue').PublicProps, Readonly<MentionProps> & Readonly<{
|
828
837
|
onChange?: ((value: string) => any) | undefined;
|
829
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
830
838
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
831
839
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
832
840
|
onSearch?: ((value: string) => any) | undefined;
|
833
841
|
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
834
842
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
843
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
835
844
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
836
845
|
}>, {
|
837
|
-
type:
|
846
|
+
type: "input" | "textarea";
|
838
847
|
data: import('../Select').SelectOption[];
|
839
848
|
disabled: boolean;
|
840
849
|
split: string;
|
@@ -861,12 +870,12 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
861
870
|
readonly isSearch?: boolean | undefined;
|
862
871
|
readonly type?: "textarea" | "input" | undefined;
|
863
872
|
readonly onChange?: ((value: string) => any) | undefined;
|
864
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
865
873
|
readonly onClear?: ((ev?: Event | undefined) => any) | undefined;
|
866
874
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
867
875
|
readonly onSearch?: ((value: string) => any) | undefined;
|
868
876
|
readonly onSelect?: ((value: string) => any) | undefined;
|
869
877
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
878
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
870
879
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
871
880
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
872
881
|
readonly "onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -919,12 +928,12 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
919
928
|
readonly hotkeys?: boolean | undefined;
|
920
929
|
readonly showEmpty?: boolean | undefined;
|
921
930
|
readonly onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
922
|
-
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
923
|
-
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
924
931
|
readonly onClear?: (() => any) | undefined;
|
925
932
|
readonly onSearch?: ((value: string) => any) | undefined;
|
926
933
|
readonly onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
927
934
|
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
935
|
+
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
936
|
+
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
928
937
|
readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
929
938
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
930
939
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -1191,16 +1200,19 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1191
1200
|
readonly allowClear?: boolean | undefined;
|
1192
1201
|
readonly size?: import('../_shared/type').Size | undefined;
|
1193
1202
|
readonly maxTagCount?: number | undefined;
|
1194
|
-
readonly retainInputValue?:
|
1203
|
+
readonly retainInputValue?: (boolean | {
|
1204
|
+
create?: boolean;
|
1205
|
+
blur?: boolean;
|
1206
|
+
}) | undefined;
|
1195
1207
|
readonly formatTag?: import('../_shared/type').Format<import('..').TagData> | undefined;
|
1196
1208
|
readonly uniqueValue?: boolean | undefined;
|
1197
1209
|
readonly tagNowrap?: boolean | undefined;
|
1198
1210
|
readonly fieldNames?: Record<string, string> | undefined;
|
1199
1211
|
readonly allowCreate?: boolean | undefined;
|
1200
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1201
1212
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
1202
1213
|
readonly onInput?: ((value: string) => any) | undefined;
|
1203
1214
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1215
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1204
1216
|
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1205
1217
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1206
1218
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -1222,13 +1234,13 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1222
1234
|
$root: import('vue').ComponentPublicInstance | null;
|
1223
1235
|
$parent: import('vue').ComponentPublicInstance | null;
|
1224
1236
|
$host: Element | null;
|
1225
|
-
$emit: ((event: "
|
1237
|
+
$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);
|
1226
1238
|
$el: HTMLDivElement;
|
1227
1239
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
1228
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1229
1240
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1230
1241
|
onInput?: ((value: string) => any) | undefined;
|
1231
1242
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1243
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1232
1244
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1233
1245
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1234
1246
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -1238,18 +1250,18 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1238
1250
|
focus(): void;
|
1239
1251
|
blur(): void;
|
1240
1252
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1241
|
-
focus: (ev: FocusEvent) => any;
|
1242
1253
|
clear: (ev: MouseEvent) => any;
|
1243
1254
|
input: (value: string) => any;
|
1244
1255
|
blur: (ev: FocusEvent) => any;
|
1256
|
+
focus: (ev: FocusEvent) => any;
|
1245
1257
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
1246
1258
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
1247
1259
|
"update:inputValue": (value: string) => any;
|
1248
1260
|
"input-value-change": (value: string, ev: Event) => any;
|
1249
1261
|
"press-enter": (ev: KeyboardEvent) => any;
|
1250
1262
|
}, string, {
|
1251
|
-
size: import('../_shared/type').Size;
|
1252
1263
|
error: boolean;
|
1264
|
+
size: import('../_shared/type').Size;
|
1253
1265
|
disabled: boolean;
|
1254
1266
|
placeholder: string;
|
1255
1267
|
modelValue: import('..').InputTagValue;
|
@@ -1262,7 +1274,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1262
1274
|
allowCreate: boolean;
|
1263
1275
|
maxTagCount: number;
|
1264
1276
|
tagNowrap: boolean;
|
1265
|
-
retainInputValue:
|
1277
|
+
retainInputValue: boolean | {
|
1278
|
+
create?: boolean;
|
1279
|
+
blur?: boolean;
|
1280
|
+
};
|
1266
1281
|
uniqueValue: boolean;
|
1267
1282
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
1268
1283
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -1285,8 +1300,8 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1285
1300
|
$nextTick: typeof nextTick;
|
1286
1301
|
$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;
|
1287
1302
|
} & Readonly<{
|
1288
|
-
size: import('../_shared/type').Size;
|
1289
1303
|
error: boolean;
|
1304
|
+
size: import('../_shared/type').Size;
|
1290
1305
|
disabled: boolean;
|
1291
1306
|
placeholder: string;
|
1292
1307
|
modelValue: import('..').InputTagValue;
|
@@ -1299,19 +1314,22 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1299
1314
|
allowCreate: boolean;
|
1300
1315
|
maxTagCount: number;
|
1301
1316
|
tagNowrap: boolean;
|
1302
|
-
retainInputValue:
|
1317
|
+
retainInputValue: boolean | {
|
1318
|
+
create?: boolean;
|
1319
|
+
blur?: boolean;
|
1320
|
+
};
|
1303
1321
|
uniqueValue: boolean;
|
1304
1322
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
1305
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1306
1323
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1307
1324
|
onInput?: ((value: string) => any) | undefined;
|
1308
1325
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1326
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1309
1327
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1310
1328
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1311
1329
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1312
1330
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
1313
1331
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
1314
|
-
}>, "
|
1332
|
+
}>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
1315
1333
|
focus(): void;
|
1316
1334
|
blur(): void;
|
1317
1335
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -1324,16 +1342,16 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1324
1342
|
$root: import('vue').ComponentPublicInstance | null;
|
1325
1343
|
$parent: import('vue').ComponentPublicInstance | null;
|
1326
1344
|
$host: Element | null;
|
1327
|
-
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "
|
1345
|
+
$emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "clear") => void) & ((event: "search", value: string) => void) & ((event: "select", value: 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('../Select').SelectValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: SelectOptionValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
1328
1346
|
$el: any;
|
1329
1347
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
|
1330
1348
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1331
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1332
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1333
1349
|
onClear?: (() => any) | undefined;
|
1334
1350
|
onSearch?: ((value: string) => any) | undefined;
|
1335
1351
|
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
1336
1352
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1353
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1354
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1337
1355
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1338
1356
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1339
1357
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -1346,12 +1364,12 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1346
1364
|
getPopupRef(): import('..').TriggerInstance;
|
1347
1365
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1348
1366
|
change: (value: import('../Select').SelectValue) => any;
|
1349
|
-
"update:popupVisible": (value: boolean) => any;
|
1350
|
-
"popup-visible-change": (value: boolean) => any;
|
1351
1367
|
clear: () => any;
|
1352
1368
|
search: (value: string) => any;
|
1353
1369
|
select: (value: SelectOptionValue) => any;
|
1354
1370
|
remove: (index: string | number, ev: Event) => any;
|
1371
|
+
"update:popupVisible": (value: boolean) => any;
|
1372
|
+
"popup-visible-change": (value: boolean) => any;
|
1355
1373
|
"update:modelValue": (value: import('../Select').SelectValue) => any;
|
1356
1374
|
"update:inputValue": (value: string) => any;
|
1357
1375
|
"input-value-change": (value: string) => any;
|
@@ -1359,8 +1377,8 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1359
1377
|
"dropdown-scroll": (ev: Event) => any;
|
1360
1378
|
"dropdown-reach-bottom": (ev: Event) => any;
|
1361
1379
|
}, string, {
|
1362
|
-
size: import('../_shared/type').Size;
|
1363
1380
|
error: boolean;
|
1381
|
+
size: import('../_shared/type').Size;
|
1364
1382
|
popupContainer: import('../_shared/type').PopupContainer;
|
1365
1383
|
popupVisible: boolean;
|
1366
1384
|
defaultPopupVisible: boolean;
|
@@ -1412,8 +1430,8 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1412
1430
|
$nextTick: typeof nextTick;
|
1413
1431
|
$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;
|
1414
1432
|
} & Readonly<{
|
1415
|
-
size: import('../_shared/type').Size;
|
1416
1433
|
error: boolean;
|
1434
|
+
size: import('../_shared/type').Size;
|
1417
1435
|
popupContainer: import('../_shared/type').PopupContainer;
|
1418
1436
|
popupVisible: boolean;
|
1419
1437
|
defaultPopupVisible: boolean;
|
@@ -1446,19 +1464,19 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1446
1464
|
tagNowrap: boolean;
|
1447
1465
|
}> & Omit<Readonly<import('../Select').SelectProps> & Readonly<{
|
1448
1466
|
onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1449
|
-
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1450
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1451
1467
|
onClear?: (() => any) | undefined;
|
1452
1468
|
onSearch?: ((value: string) => any) | undefined;
|
1453
1469
|
onSelect?: ((value: SelectOptionValue) => any) | undefined;
|
1454
1470
|
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1471
|
+
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1472
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1455
1473
|
"onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
|
1456
1474
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1457
1475
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
1458
1476
|
onExceedLimit?: ((value: SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
1459
1477
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
1460
1478
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
1461
|
-
}>, "
|
1479
|
+
}>, "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<{
|
1462
1480
|
focus(): void;
|
1463
1481
|
blur(): void;
|
1464
1482
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -1467,10 +1485,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1467
1485
|
}) | null;
|
1468
1486
|
inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').TextareaProps> & Readonly<{
|
1469
1487
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
1470
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1471
1488
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1472
1489
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
1473
1490
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1491
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1474
1492
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
1475
1493
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
1476
1494
|
}>, {
|
@@ -1480,10 +1498,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1480
1498
|
getMirrorRef(): HTMLDivElement;
|
1481
1499
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1482
1500
|
change: (value: string, ev: Event) => any;
|
1483
|
-
focus: (ev: FocusEvent) => any;
|
1484
1501
|
clear: (ev: MouseEvent) => any;
|
1485
1502
|
input: (value: string, ev: Event) => any;
|
1486
1503
|
blur: (ev: FocusEvent) => any;
|
1504
|
+
focus: (ev: FocusEvent) => any;
|
1487
1505
|
keydown: (ev: KeyboardEvent) => any;
|
1488
1506
|
"update:modelValue": (value: string) => any;
|
1489
1507
|
}, import('vue').PublicProps, {
|
@@ -1513,10 +1531,10 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1513
1531
|
Defaults: {};
|
1514
1532
|
}, Readonly<import('..').TextareaProps> & Readonly<{
|
1515
1533
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
1516
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1517
1534
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1518
1535
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
1519
1536
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1537
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1520
1538
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
1521
1539
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
1522
1540
|
}>, {
|
@@ -1547,16 +1565,16 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1547
1565
|
$root: import('vue').ComponentPublicInstance | null;
|
1548
1566
|
$parent: import('vue').ComponentPublicInstance | null;
|
1549
1567
|
$host: Element | null;
|
1550
|
-
$emit: ((event: "change", value: string) => void) & ((event: "
|
1568
|
+
$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);
|
1551
1569
|
$el: any;
|
1552
1570
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../AutoComplete').AutoCompleteProps> & Readonly<{
|
1553
1571
|
onChange?: ((value: string) => any) | undefined;
|
1554
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1555
1572
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
1556
1573
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
1557
1574
|
onSearch?: ((value: string) => any) | undefined;
|
1558
1575
|
onSelect?: ((value: string) => any) | undefined;
|
1559
1576
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1577
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1560
1578
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
1561
1579
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
1562
1580
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
@@ -1569,12 +1587,12 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1569
1587
|
updatePosition(x: number, y: number): void;
|
1570
1588
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1571
1589
|
change: (value: string) => any;
|
1572
|
-
focus: (ev: FocusEvent) => any;
|
1573
1590
|
clear: (ev?: Event | undefined) => any;
|
1574
1591
|
input: (value: string, ev: Event) => any;
|
1575
1592
|
search: (value: string) => any;
|
1576
1593
|
select: (value: string) => any;
|
1577
1594
|
blur: (ev: FocusEvent) => any;
|
1595
|
+
focus: (ev: FocusEvent) => any;
|
1578
1596
|
keydown: (ev: KeyboardEvent) => any;
|
1579
1597
|
"update:modelValue": (value: string) => any;
|
1580
1598
|
"dropdown-scroll": (ev?: Event | undefined) => any;
|
@@ -1627,17 +1645,17 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1627
1645
|
isSearch: boolean;
|
1628
1646
|
}> & Omit<Readonly<import('../AutoComplete').AutoCompleteProps> & Readonly<{
|
1629
1647
|
onChange?: ((value: string) => any) | undefined;
|
1630
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1631
1648
|
onClear?: ((ev?: Event | undefined) => any) | undefined;
|
1632
1649
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
1633
1650
|
onSearch?: ((value: string) => any) | undefined;
|
1634
1651
|
onSelect?: ((value: string) => any) | undefined;
|
1635
1652
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1653
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1636
1654
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
1637
1655
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
1638
1656
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
1639
1657
|
"onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
|
1640
|
-
}>, "
|
1658
|
+
}>, "blur" | "focus" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("type" | "data" | "popupContainer" | "disabled" | "strict" | "modelValue" | "defaultValue" | "allowClear" | "filterOption" | "triggerProps" | "isSelectSetValue" | "isSearch")> & import('vue').ShallowUnwrapRef<{
|
1641
1659
|
focus(): void;
|
1642
1660
|
blur(): void;
|
1643
1661
|
getInputRef(): HTMLInputElement | HTMLTextAreaElement | undefined;
|