yc-design-vue 2.0.5 → 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 -1
- package/dist/style.css +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/hooks/useContext.d.ts +1 -1
- package/es/Anchor/index.d.ts +3 -3
- package/es/Anchor/type.d.ts +3 -2
- package/es/AutoComplete/index.d.ts +18 -9
- package/es/AutoComplete/index.vue.d.ts +36 -18
- package/es/Avatar/Avatar.vue.d.ts +1 -1
- package/es/Avatar/index.d.ts +3 -3
- package/es/Avatar/type.d.ts +3 -2
- 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/Button/Button.vue.d.ts +2 -2
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/hooks/useContext.d.ts +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/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/hooks/useContext.d.ts +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 +7 -7
- package/es/Cascader/index.d.ts +6 -6
- package/es/Collapse/hooks/useContext.d.ts +2 -13
- package/es/Collapse/hooks/useContext.js +0 -1
- package/es/Collapse/type.d.ts +2 -1
- package/es/Descriptions/Descriptions.vue.d.ts +3 -3
- package/es/Descriptions/hooks/useContext.d.ts +1 -1
- 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/Dropdown.vue.d.ts +1 -1
- package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/es/Dropdown/Dsubmenu.vue.d.ts +1 -1
- package/es/Dropdown/index.d.ts +9 -9
- package/es/Dropdown/type.d.ts +4 -6
- package/es/Grid/hooks/useContext.d.ts +0 -11
- package/es/Grid/hooks/useContext.js +0 -1
- package/es/Image/Image.vue.d.ts +2 -2
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/index.d.ts +6 -6
- package/es/Image/type.d.ts +3 -2
- package/es/Input/Input.vue.d.ts +1 -1
- package/es/Input/InputSuffix.vue.js +1 -1
- package/es/Input/index.d.ts +3 -3
- package/es/InputNumber/InputNumber.vue.d.ts +8 -8
- package/es/InputNumber/InputOperaBtn.vue.d.ts +2 -2
- package/es/InputNumber/index.d.ts +9 -9
- package/es/InputNumber/type.d.ts +5 -4
- package/es/InputTag/index.d.ts +15 -6
- package/es/InputTag/index.vue.d.ts +5 -2
- package/es/InputTag/type.d.ts +2 -1
- package/es/Layout/LayoutSider.vue.d.ts +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/index.d.ts +6 -6
- package/es/List/type.d.ts +2 -3
- package/es/Mention/index.d.ts +21 -12
- package/es/Mention/index.vue.d.ts +37 -19
- package/es/Mention/type.d.ts +3 -2
- package/es/Menu/Menu.vue.d.ts +2 -2
- 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/type.d.ts +3 -2
- package/es/Popconfirm/index.d.ts +3 -3
- package/es/Popconfirm/index.vue.d.ts +1 -1
- 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/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/index.d.ts +3 -3
- package/es/Scrollbar/type.d.ts +2 -1
- package/es/Select/Select.vue.d.ts +31 -13
- package/es/Select/hooks/useContext.d.ts +2 -2
- package/es/Select/hooks/useSelectOptions.d.ts +2 -2
- package/es/Select/index.d.ts +18 -9
- 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/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/Switch/index.d.ts +9 -9
- package/es/Switch/index.vue.d.ts +3 -3
- package/es/Switch/type.d.ts +4 -4
- package/es/Tabs/Tabs.vue.d.ts +1 -1
- package/es/Tabs/hooks/useContext.d.ts +4 -4
- 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/type.d.ts +2 -2
- package/es/TimePicker/TimePicker.vue.d.ts +1 -1
- package/es/TimePicker/index.d.ts +3 -3
- package/es/Timeline/TimelineItem.vue.d.ts +1 -1
- package/es/Timeline/index.d.ts +3 -3
- package/es/Timeline/type.d.ts +3 -4
- package/es/Transfer/TransferPanel.vue.js +1 -1
- package/es/Typography/TypographyBase.vue.d.ts +7 -7
- package/es/Typography/TypographyBase.vue.js +2 -2
- 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/_shared/icons/IconCopy.vue.js +1 -19
- package/es/_shared/icons/IconCopy.vue2.js +19 -1
- package/es/_shared/icons/IconDelete.vue.js +19 -1
- package/es/_shared/icons/IconDelete.vue2.js +1 -19
- package/es/_shared/icons/IconEdit.vue.js +1 -19
- package/es/_shared/icons/IconEdit.vue2.js +19 -1
- package/es/_shared/icons/IconEyeClose.vue.js +23 -1
- package/es/_shared/icons/IconEyeClose.vue2.js +1 -23
- 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/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/vue-utils.d.ts +1 -1
- package/es/_virtual/_plugin-vue_export-helper.js +10 -0
- package/es/index.d.ts +31 -30
- 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/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 +1 -1
- package/lib/Anchor/index.d.ts +3 -3
- package/lib/Anchor/type.d.ts +3 -2
- package/lib/AutoComplete/index.d.ts +18 -9
- package/lib/AutoComplete/index.vue.d.ts +36 -18
- package/lib/Avatar/Avatar.vue.d.ts +1 -1
- package/lib/Avatar/index.d.ts +3 -3
- package/lib/Avatar/type.d.ts +3 -2
- 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/Button/Button.vue.d.ts +2 -2
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/hooks/useContext.d.ts +3 -3
- 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/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 +3 -3
- package/lib/Carousel/index.d.ts +6 -6
- package/lib/Carousel/type.d.ts +6 -6
- package/lib/Cascader/Cascader.vue.d.ts +7 -7
- package/lib/Cascader/index.d.ts +6 -6
- package/lib/Collapse/hooks/useContext.d.ts +2 -13
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/Collapse/type.d.ts +2 -1
- package/lib/Descriptions/Descriptions.vue.d.ts +3 -3
- package/lib/Descriptions/hooks/useContext.d.ts +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 +1 -1
- package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/lib/Dropdown/Dsubmenu.vue.d.ts +1 -1
- package/lib/Dropdown/index.d.ts +9 -9
- package/lib/Dropdown/type.d.ts +4 -6
- package/lib/Grid/hooks/useContext.d.ts +0 -11
- 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/index.d.ts +6 -6
- package/lib/Image/type.d.ts +3 -2
- package/lib/Input/Input.vue.d.ts +1 -1
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/index.d.ts +3 -3
- package/lib/InputNumber/InputNumber.vue.d.ts +8 -8
- package/lib/InputNumber/InputOperaBtn.vue.d.ts +2 -2
- package/lib/InputNumber/index.d.ts +9 -9
- package/lib/InputNumber/type.d.ts +5 -4
- package/lib/InputTag/index.d.ts +15 -6
- package/lib/InputTag/index.vue.d.ts +5 -2
- package/lib/InputTag/type.d.ts +2 -1
- package/lib/Layout/LayoutSider.vue.d.ts +3 -3
- 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/index.d.ts +6 -6
- package/lib/List/type.d.ts +2 -3
- package/lib/Mention/index.d.ts +21 -12
- package/lib/Mention/index.vue.d.ts +37 -19
- package/lib/Mention/type.d.ts +3 -2
- package/lib/Menu/Menu.vue.d.ts +2 -2
- 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/type.d.ts +3 -2
- package/lib/Popconfirm/index.d.ts +3 -3
- package/lib/Popconfirm/index.vue.d.ts +1 -1
- 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/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/index.d.ts +3 -3
- package/lib/Scrollbar/type.d.ts +2 -1
- package/lib/Select/Select.vue.d.ts +31 -13
- package/lib/Select/hooks/useContext.d.ts +2 -2
- package/lib/Select/hooks/useSelectOptions.d.ts +2 -2
- package/lib/Select/index.d.ts +18 -9
- 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/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/Switch/index.d.ts +9 -9
- package/lib/Switch/index.vue.d.ts +3 -3
- package/lib/Switch/type.d.ts +4 -4
- package/lib/Tabs/Tabs.vue.d.ts +1 -1
- package/lib/Tabs/hooks/useContext.d.ts +4 -4
- 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/type.d.ts +2 -2
- package/lib/TimePicker/TimePicker.vue.d.ts +1 -1
- package/lib/TimePicker/index.d.ts +3 -3
- package/lib/Timeline/TimelineItem.vue.d.ts +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/Typography/TypographyBase.vue.d.ts +7 -7
- 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/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.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/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
- package/lib/_shared/icons/IconEyeClose.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/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/vue-utils.d.ts +1 -1
- package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
- package/lib/index.d.ts +31 -30
- 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/lib/Layout/index.d.ts
CHANGED
@@ -78,11 +78,11 @@ declare const Layout: {
|
|
78
78
|
});
|
79
79
|
sider: {
|
80
80
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').LayoutSiderProps> & Readonly<{
|
81
|
-
onCollapse?: ((collapsed: boolean, type:
|
81
|
+
onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
|
82
82
|
"onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
|
83
83
|
onBreakpoint?: ((collapsed: boolean) => any) | undefined;
|
84
84
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
85
|
-
collapse: (collapsed: boolean, type:
|
85
|
+
collapse: (collapsed: boolean, type: "clickTrigger" | "responsive") => any;
|
86
86
|
"update:collapsed": (collapsed: boolean) => any;
|
87
87
|
breakpoint: (collapsed: boolean) => any;
|
88
88
|
}, import('vue').PublicProps, {
|
@@ -95,7 +95,7 @@ declare const Layout: {
|
|
95
95
|
collapsible: boolean;
|
96
96
|
reverseArrow: boolean;
|
97
97
|
hideTrigger: boolean;
|
98
|
-
resizeDirections: import('..').
|
98
|
+
resizeDirections: import('..').Position[];
|
99
99
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
100
100
|
P: {};
|
101
101
|
B: {};
|
@@ -104,7 +104,7 @@ declare const Layout: {
|
|
104
104
|
M: {};
|
105
105
|
Defaults: {};
|
106
106
|
}, Readonly<import('./type').LayoutSiderProps> & Readonly<{
|
107
|
-
onCollapse?: ((collapsed: boolean, type:
|
107
|
+
onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
|
108
108
|
"onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
|
109
109
|
onBreakpoint?: ((collapsed: boolean) => any) | undefined;
|
110
110
|
}>, {}, {}, {}, {}, {
|
@@ -117,17 +117,17 @@ declare const Layout: {
|
|
117
117
|
collapsible: boolean;
|
118
118
|
reverseArrow: boolean;
|
119
119
|
hideTrigger: boolean;
|
120
|
-
resizeDirections: import('..').
|
120
|
+
resizeDirections: import('..').Position[];
|
121
121
|
}>;
|
122
122
|
__isFragment?: never;
|
123
123
|
__isTeleport?: never;
|
124
124
|
__isSuspense?: never;
|
125
125
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').LayoutSiderProps> & Readonly<{
|
126
|
-
onCollapse?: ((collapsed: boolean, type:
|
126
|
+
onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
|
127
127
|
"onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
|
128
128
|
onBreakpoint?: ((collapsed: boolean) => any) | undefined;
|
129
129
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
130
|
-
collapse: (collapsed: boolean, type:
|
130
|
+
collapse: (collapsed: boolean, type: "clickTrigger" | "responsive") => any;
|
131
131
|
"update:collapsed": (collapsed: boolean) => any;
|
132
132
|
breakpoint: (collapsed: boolean) => any;
|
133
133
|
}, string, {
|
@@ -140,7 +140,7 @@ declare const Layout: {
|
|
140
140
|
collapsible: boolean;
|
141
141
|
reverseArrow: boolean;
|
142
142
|
hideTrigger: boolean;
|
143
|
-
resizeDirections: import('..').
|
143
|
+
resizeDirections: import('..').Position[];
|
144
144
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
145
145
|
$slots: Readonly<import('./type').LayoutSiderSlots> & import('./type').LayoutSiderSlots;
|
146
146
|
});
|
package/lib/Layout/type.d.ts
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
|
-
import { Theme, BreakpointName,
|
3
|
-
import { ResizeBoxDirection } from '../ResizeBox';
|
2
|
+
import { Theme, BreakpointName, Position } from '../_shared/type';
|
4
3
|
export interface LayoutProps {
|
5
4
|
hasSider?: boolean;
|
6
5
|
}
|
@@ -26,11 +25,11 @@ export interface LayoutSiderProps {
|
|
26
25
|
reverseArrow?: boolean;
|
27
26
|
breakpoint?: BreakpointName;
|
28
27
|
hideTrigger?: boolean;
|
29
|
-
resizeDirections?:
|
28
|
+
resizeDirections?: Position[];
|
30
29
|
}
|
31
30
|
export interface LayoutSiderEmits {
|
32
31
|
(e: 'update:collapsed', collapsed: boolean): void;
|
33
|
-
(e: 'collapse', collapsed: boolean, type:
|
32
|
+
(e: 'collapse', collapsed: boolean, type: 'clickTrigger' | 'responsive'): void;
|
34
33
|
(e: 'breakpoint', collapsed: boolean): void;
|
35
34
|
}
|
36
35
|
export interface LayoutSiderSlots {
|
package/lib/Link/index.d.ts
CHANGED
@@ -17,7 +17,7 @@ declare const Link: {
|
|
17
17
|
hoverable: boolean;
|
18
18
|
loading: boolean;
|
19
19
|
href: string;
|
20
|
-
status: import('
|
20
|
+
status: import('..').Status;
|
21
21
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLAnchorElement, import('vue').ComponentProvideOptions, {
|
22
22
|
P: {};
|
23
23
|
B: {};
|
@@ -35,7 +35,7 @@ declare const Link: {
|
|
35
35
|
hoverable: boolean;
|
36
36
|
loading: boolean;
|
37
37
|
href: string;
|
38
|
-
status: import('
|
38
|
+
status: import('..').Status;
|
39
39
|
}>;
|
40
40
|
__isFragment?: never;
|
41
41
|
__isTeleport?: never;
|
@@ -54,7 +54,7 @@ declare const Link: {
|
|
54
54
|
hoverable: boolean;
|
55
55
|
loading: boolean;
|
56
56
|
href: string;
|
57
|
-
status: import('
|
57
|
+
status: import('..').Status;
|
58
58
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
59
59
|
$slots: any;
|
60
60
|
}) & {
|
package/lib/Link/index.vue.d.ts
CHANGED
@@ -20,7 +20,7 @@ declare const __VLS_component: import('vue').DefineComponent<LinkProps, {}, {},
|
|
20
20
|
hoverable: boolean;
|
21
21
|
loading: boolean;
|
22
22
|
href: string;
|
23
|
-
status: import('
|
23
|
+
status: import('..').Status;
|
24
24
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
26
26
|
export default _default;
|
package/lib/Link/type.d.ts
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
|
+
import { Status } from '../_shared/type';
|
2
3
|
export interface LinkProps {
|
3
4
|
href?: string;
|
4
5
|
icon?: boolean;
|
5
|
-
status?:
|
6
|
+
status?: Status;
|
6
7
|
hoverable?: boolean;
|
7
8
|
disabled?: boolean;
|
8
9
|
loading?: boolean;
|
@@ -16,4 +17,3 @@ export interface LinkSlots {
|
|
16
17
|
default?: () => VNode[];
|
17
18
|
icon?: () => VNode[];
|
18
19
|
}
|
19
|
-
export type LinkStatus = 'success' | 'warning' | 'danger' | 'normal';
|
package/lib/List/List.vue.d.ts
CHANGED
@@ -7,7 +7,7 @@ declare function __VLS_template(): {
|
|
7
7
|
$: import('vue').ComponentInternalInstance;
|
8
8
|
$data: {};
|
9
9
|
$props: {
|
10
|
-
readonly type?:
|
10
|
+
readonly type?: ("embed" | "track") | undefined;
|
11
11
|
readonly outerClass?: import('..').ClassName | undefined;
|
12
12
|
readonly outerStyle?: import('vue').CSSProperties | undefined;
|
13
13
|
readonly scrollbar?: boolean | undefined;
|
@@ -40,7 +40,7 @@ declare function __VLS_template(): {
|
|
40
40
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
41
41
|
scroll: (left: number, top: number, ev: Event) => any;
|
42
42
|
}, string, {
|
43
|
-
type:
|
43
|
+
type: "embed" | "track";
|
44
44
|
scrollbar: boolean;
|
45
45
|
outerClass: import('..').ClassName;
|
46
46
|
outerStyle: import('vue').CSSProperties;
|
@@ -65,7 +65,7 @@ declare function __VLS_template(): {
|
|
65
65
|
$nextTick: typeof import('vue').nextTick;
|
66
66
|
$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;
|
67
67
|
} & Readonly<{
|
68
|
-
type:
|
68
|
+
type: "embed" | "track";
|
69
69
|
scrollbar: boolean;
|
70
70
|
outerClass: import('..').ClassName;
|
71
71
|
outerStyle: import('vue').CSSProperties;
|
@@ -149,7 +149,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
149
149
|
"onReach-bottom"?: ((ev: Event) => any) | undefined;
|
150
150
|
"onPage-change"?: ((value: number) => any) | undefined;
|
151
151
|
}>, {
|
152
|
-
size: import('
|
152
|
+
size: Exclude<import('..').Size, "mini">;
|
153
153
|
data: import('..').RecordType[];
|
154
154
|
scrollbar: boolean;
|
155
155
|
hoverable: boolean;
|
@@ -165,7 +165,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
165
165
|
$: import('vue').ComponentInternalInstance;
|
166
166
|
$data: {};
|
167
167
|
$props: {
|
168
|
-
readonly type?:
|
168
|
+
readonly type?: ("embed" | "track") | undefined;
|
169
169
|
readonly outerClass?: import('..').ClassName | undefined;
|
170
170
|
readonly outerStyle?: import('vue').CSSProperties | undefined;
|
171
171
|
readonly scrollbar?: boolean | undefined;
|
@@ -198,7 +198,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
198
198
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
199
199
|
scroll: (left: number, top: number, ev: Event) => any;
|
200
200
|
}, string, {
|
201
|
-
type:
|
201
|
+
type: "embed" | "track";
|
202
202
|
scrollbar: boolean;
|
203
203
|
outerClass: import('..').ClassName;
|
204
204
|
outerStyle: import('vue').CSSProperties;
|
@@ -223,7 +223,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
223
223
|
$nextTick: typeof import('vue').nextTick;
|
224
224
|
$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;
|
225
225
|
} & Readonly<{
|
226
|
-
type:
|
226
|
+
type: "embed" | "track";
|
227
227
|
scrollbar: boolean;
|
228
228
|
outerClass: import('..').ClassName;
|
229
229
|
outerStyle: import('vue').CSSProperties;
|
package/lib/List/index.d.ts
CHANGED
@@ -18,7 +18,7 @@ declare const List: {
|
|
18
18
|
"reach-bottom": (ev: Event) => any;
|
19
19
|
"page-change": (value: number) => any;
|
20
20
|
}, import('vue').PublicProps, {
|
21
|
-
size: import('
|
21
|
+
size: Exclude<import('..').Size, "mini">;
|
22
22
|
data: import('..').RecordType[];
|
23
23
|
scrollbar: boolean;
|
24
24
|
hoverable: boolean;
|
@@ -34,7 +34,7 @@ declare const List: {
|
|
34
34
|
$: import('vue').ComponentInternalInstance;
|
35
35
|
$data: {};
|
36
36
|
$props: {
|
37
|
-
readonly type?:
|
37
|
+
readonly type?: ("embed" | "track") | undefined;
|
38
38
|
readonly outerClass?: import('..').ClassName | undefined;
|
39
39
|
readonly outerStyle?: import('vue').CSSProperties | undefined;
|
40
40
|
readonly scrollbar?: boolean | undefined;
|
@@ -67,7 +67,7 @@ declare const List: {
|
|
67
67
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
68
68
|
scroll: (left: number, top: number, ev: Event) => any;
|
69
69
|
}, string, {
|
70
|
-
type:
|
70
|
+
type: "embed" | "track";
|
71
71
|
scrollbar: boolean;
|
72
72
|
outerClass: import('..').ClassName;
|
73
73
|
outerStyle: import('vue').CSSProperties;
|
@@ -92,7 +92,7 @@ declare const List: {
|
|
92
92
|
$nextTick: typeof import('vue').nextTick;
|
93
93
|
$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;
|
94
94
|
} & Readonly<{
|
95
|
-
type:
|
95
|
+
type: "embed" | "track";
|
96
96
|
scrollbar: boolean;
|
97
97
|
outerClass: import('..').ClassName;
|
98
98
|
outerStyle: import('vue').CSSProperties;
|
@@ -174,7 +174,7 @@ declare const List: {
|
|
174
174
|
"onReach-bottom"?: ((ev: Event) => any) | undefined;
|
175
175
|
"onPage-change"?: ((value: number) => any) | undefined;
|
176
176
|
}>, {}, {}, {}, {}, {
|
177
|
-
size: import('
|
177
|
+
size: Exclude<import('..').Size, "mini">;
|
178
178
|
data: import('..').RecordType[];
|
179
179
|
scrollbar: boolean;
|
180
180
|
hoverable: boolean;
|
@@ -200,7 +200,7 @@ declare const List: {
|
|
200
200
|
"reach-bottom": (ev: Event) => any;
|
201
201
|
"page-change": (value: number) => any;
|
202
202
|
}, string, {
|
203
|
-
size: import('
|
203
|
+
size: Exclude<import('..').Size, "mini">;
|
204
204
|
data: import('..').RecordType[];
|
205
205
|
scrollbar: boolean;
|
206
206
|
hoverable: boolean;
|
package/lib/List/type.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
import { Direction, RecordType } from '../_shared/type';
|
1
|
+
import { Direction, RecordType, Size } from '../_shared/type';
|
2
2
|
import { PaginationProps } from '../Pagination';
|
3
3
|
import { VirtualListProps } from '../Select';
|
4
4
|
import { VNode } from 'vue';
|
5
5
|
export interface ListProps {
|
6
6
|
data?: RecordType[];
|
7
|
-
size?:
|
7
|
+
size?: Exclude<Size, 'mini'>;
|
8
8
|
bordered?: boolean;
|
9
9
|
split?: boolean;
|
10
10
|
loading?: boolean;
|
@@ -50,4 +50,3 @@ export interface ListItemMetaSlots {
|
|
50
50
|
title?: () => VNode[];
|
51
51
|
description?: () => VNode[];
|
52
52
|
}
|
53
|
-
export type ListSize = 'small' | 'medium' | 'large';
|
package/lib/Mention/index.d.ts
CHANGED
@@ -25,7 +25,7 @@ declare const Mention: {
|
|
25
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;
|
@@ -382,7 +382,10 @@ 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;
|
@@ -439,8 +442,8 @@ declare const Mention: {
|
|
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,7 +496,10 @@ 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
505
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
@@ -502,7 +511,7 @@ declare const Mention: {
|
|
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
|
-
}>, "blur" | "focus" | ("
|
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 & {} & {
|
@@ -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;
|
@@ -649,7 +658,7 @@ declare const Mention: {
|
|
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
|
-
}>, "blur" | "focus" | ("
|
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;
|
@@ -857,7 +866,7 @@ declare const Mention: {
|
|
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;
|
@@ -891,7 +900,7 @@ declare const Mention: {
|
|
891
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;
|
@@ -353,7 +353,10 @@ 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;
|
@@ -410,8 +413,8 @@ declare function __VLS_template(): {
|
|
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,7 +467,10 @@ 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
476
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
@@ -473,7 +482,7 @@ declare function __VLS_template(): {
|
|
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
|
-
}>, "blur" | "focus" | ("
|
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 & {} & {
|
@@ -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;
|
@@ -620,7 +629,7 @@ declare function __VLS_template(): {
|
|
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
|
-
}>, "blur" | "focus" | ("
|
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;
|
@@ -834,7 +843,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
834
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;
|
@@ -1191,7 +1200,10 @@ 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;
|
@@ -1248,8 +1260,8 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
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,7 +1314,10 @@ 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
1323
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
@@ -1311,7 +1329,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
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
|
-
}>, "blur" | "focus" | ("
|
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 & {} & {
|
@@ -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;
|
@@ -1458,7 +1476,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
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
|
-
}>, "blur" | "focus" | ("
|
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;
|
package/lib/Mention/type.d.ts
CHANGED
@@ -7,7 +7,7 @@ export interface MentionProps {
|
|
7
7
|
data?: SelectOption[];
|
8
8
|
prefix?: string | string[];
|
9
9
|
split?: string;
|
10
|
-
type?:
|
10
|
+
type?: Type;
|
11
11
|
disabled?: boolean;
|
12
12
|
allowClear?: boolean;
|
13
13
|
}
|
@@ -30,4 +30,5 @@ export interface MentionSlots {
|
|
30
30
|
data: RecordType;
|
31
31
|
}) => VNode[];
|
32
32
|
}
|
33
|
-
|
33
|
+
type Type = 'input' | 'textarea';
|
34
|
+
export {};
|
package/lib/Menu/Menu.vue.d.ts
CHANGED
@@ -9,14 +9,14 @@ declare function __VLS_template(): {
|
|
9
9
|
};
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<MenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
12
|
-
collapse: (collapsed: boolean, type:
|
12
|
+
collapse: (collapsed: boolean, type: "clickTrigger" | "responsive") => any;
|
13
13
|
"update:selectedKeys": (value: string) => any;
|
14
14
|
"update:openKeys": (value: string) => any;
|
15
15
|
"update:collapsed": (value: boolean) => any;
|
16
16
|
"menu-item-click": (key: string) => any;
|
17
17
|
"sub-menu-click": (key: string, openKeys: string[]) => any;
|
18
18
|
}, string, import('vue').PublicProps, Readonly<MenuProps> & Readonly<{
|
19
|
-
onCollapse?: ((collapsed: boolean, type:
|
19
|
+
onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
|
20
20
|
"onUpdate:selectedKeys"?: ((value: string) => any) | undefined;
|
21
21
|
"onUpdate:openKeys"?: ((value: string) => any) | undefined;
|
22
22
|
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|