yc-design-vue 2.0.5 → 2.0.7
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/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/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 +55 -0
- package/es/Upload/Upload.vue.js +120 -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 +122 -0
- package/es/Upload/UploadPictureCard.vue.d.ts +4 -0
- package/es/Upload/UploadPictureCard.vue.js +7 -0
- package/es/Upload/UploadPictureCard.vue2.js +128 -0
- package/es/Upload/hooks/useContext.d.ts +53 -0
- package/es/Upload/hooks/useContext.js +109 -0
- package/es/Upload/hooks/useUpload.d.ts +51 -0
- package/es/Upload/hooks/useUpload.js +85 -0
- package/es/Upload/index.css +1 -0
- package/es/Upload/index.d.ts +129 -0
- package/es/Upload/index.js +10 -0
- package/es/Upload/type.d.ts +76 -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/IconEdit.vue.js +1 -19
- package/es/_shared/icons/IconEdit.vue2.js +19 -1
- package/es/_shared/icons/IconFile.vue.d.ts +2 -0
- package/es/_shared/icons/IconFile.vue.js +4 -0
- package/es/_shared/icons/IconFile.vue2.js +22 -0
- package/es/_shared/icons/IconUpload.vue.d.ts +2 -0
- package/es/_shared/icons/IconUpload.vue.js +4 -0
- package/es/_shared/icons/IconUpload.vue2.js +22 -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 +33 -31
- package/es/index.js +6 -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/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/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 +55 -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 +53 -0
- package/lib/Upload/hooks/useContext.js +1 -0
- package/lib/Upload/hooks/useUpload.d.ts +51 -0
- package/lib/Upload/hooks/useUpload.js +1 -0
- package/lib/Upload/index.css +1 -0
- package/lib/Upload/index.d.ts +129 -0
- package/lib/Upload/index.js +1 -0
- package/lib/Upload/type.d.ts +76 -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/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.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 +33 -31
- package/lib/index.js +1 -1
- package/lib/node_modules/@vueuse/core/index.js +1 -1
- package/lib/node_modules/@vueuse/shared/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/es/Alert/index.d.ts
CHANGED
@@ -10,7 +10,7 @@ declare const Alert: {
|
|
10
10
|
close: (ev: MouseEvent) => any;
|
11
11
|
"after-close": () => any;
|
12
12
|
}, import('vue').PublicProps, {
|
13
|
-
type: import('
|
13
|
+
type: import('..').Type<"normal">;
|
14
14
|
title: string;
|
15
15
|
center: boolean;
|
16
16
|
closable: boolean;
|
@@ -27,7 +27,7 @@ declare const Alert: {
|
|
27
27
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
28
28
|
"onAfter-close"?: (() => any) | undefined;
|
29
29
|
}>, {}, {}, {}, {}, {
|
30
|
-
type: import('
|
30
|
+
type: import('..').Type<"normal">;
|
31
31
|
title: string;
|
32
32
|
center: boolean;
|
33
33
|
closable: boolean;
|
@@ -44,7 +44,7 @@ declare const Alert: {
|
|
44
44
|
close: (ev: MouseEvent) => any;
|
45
45
|
"after-close": () => any;
|
46
46
|
}, string, {
|
47
|
-
type: import('
|
47
|
+
type: import('..').Type<"normal">;
|
48
48
|
title: string;
|
49
49
|
center: boolean;
|
50
50
|
closable: boolean;
|
package/es/Alert/index.vue.d.ts
CHANGED
@@ -13,7 +13,7 @@ declare const __VLS_component: import('vue').DefineComponent<AlertProps, {}, {},
|
|
13
13
|
onClose?: ((ev: MouseEvent) => any) | undefined;
|
14
14
|
"onAfter-close"?: (() => any) | undefined;
|
15
15
|
}>, {
|
16
|
-
type: import('
|
16
|
+
type: import('..').Type<"normal">;
|
17
17
|
title: string;
|
18
18
|
center: boolean;
|
19
19
|
closable: boolean;
|
package/es/Alert/type.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
|
+
import { Type } from '../_shared/type';
|
2
3
|
export interface AlertProps {
|
3
|
-
type?:
|
4
|
+
type?: Type<'normal'>;
|
4
5
|
showIcon?: boolean;
|
5
6
|
closable?: boolean;
|
6
7
|
title?: string;
|
@@ -18,4 +19,3 @@ export interface AlertSlots {
|
|
18
19
|
action?: () => VNode[];
|
19
20
|
'close-element'?: () => VNode[];
|
20
21
|
}
|
21
|
-
export type AlertType = 'success' | 'warning' | 'error' | 'info' | 'normal';
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<AnchorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AnchorProps> & Readonly<{}>, {
|
12
12
|
smooth: boolean;
|
13
|
-
boundary:
|
13
|
+
boundary: number | "center" | "end" | "start" | "nearest";
|
14
14
|
changeHash: boolean;
|
15
15
|
lineLess: boolean;
|
16
16
|
scrollContainer: import('..').TargetContainer;
|
@@ -14,7 +14,7 @@ export default function useAnchorContext(): {
|
|
14
14
|
curHref: Ref<string, string>;
|
15
15
|
changeHash: Ref<boolean, boolean>;
|
16
16
|
smooth: Ref<boolean, boolean>;
|
17
|
-
boundary: Ref<
|
17
|
+
boundary: Ref<number | "center" | "end" | "start" | "nearest", number | "center" | "end" | "start" | "nearest">;
|
18
18
|
lineLess: Ref<boolean, boolean>;
|
19
19
|
scrollContainer: import('vue').ComputedRef<HTMLElement | undefined>;
|
20
20
|
};
|
package/es/Anchor/index.d.ts
CHANGED
@@ -7,7 +7,7 @@ export * from './type';
|
|
7
7
|
declare const Anchor: {
|
8
8
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').AnchorProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
9
9
|
smooth: boolean;
|
10
|
-
boundary:
|
10
|
+
boundary: number | "center" | "end" | "start" | "nearest";
|
11
11
|
changeHash: boolean;
|
12
12
|
lineLess: boolean;
|
13
13
|
scrollContainer: import('..').TargetContainer;
|
@@ -22,7 +22,7 @@ declare const Anchor: {
|
|
22
22
|
Defaults: {};
|
23
23
|
}, Readonly<import('./type').AnchorProps> & Readonly<{}>, {}, {}, {}, {}, {
|
24
24
|
smooth: boolean;
|
25
|
-
boundary:
|
25
|
+
boundary: number | "center" | "end" | "start" | "nearest";
|
26
26
|
changeHash: boolean;
|
27
27
|
lineLess: boolean;
|
28
28
|
scrollContainer: import('..').TargetContainer;
|
@@ -32,7 +32,7 @@ declare const Anchor: {
|
|
32
32
|
__isSuspense?: never;
|
33
33
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').AnchorProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
34
34
|
smooth: boolean;
|
35
|
-
boundary:
|
35
|
+
boundary: number | "center" | "end" | "start" | "nearest";
|
36
36
|
changeHash: boolean;
|
37
37
|
lineLess: boolean;
|
38
38
|
scrollContainer: import('..').TargetContainer;
|
package/es/Anchor/type.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
2
|
import { TargetContainer } from '../_shared/type';
|
3
3
|
export interface AnchorProps {
|
4
|
-
boundary?:
|
4
|
+
boundary?: Boundary;
|
5
5
|
lineLess?: boolean;
|
6
6
|
scrollContainer?: TargetContainer;
|
7
7
|
changeHash?: boolean;
|
@@ -18,4 +18,5 @@ export interface AnchorLinkSlots {
|
|
18
18
|
default?: () => VNode[];
|
19
19
|
sublist?: () => VNode[];
|
20
20
|
}
|
21
|
-
|
21
|
+
type Boundary = 'start' | 'end' | 'center' | 'nearest' | number;
|
22
|
+
export {};
|
@@ -360,7 +360,10 @@ declare const AutoComplete: {
|
|
360
360
|
readonly allowClear?: boolean | undefined;
|
361
361
|
readonly size?: import('..').Size | undefined;
|
362
362
|
readonly maxTagCount?: number | undefined;
|
363
|
-
readonly retainInputValue?:
|
363
|
+
readonly retainInputValue?: (boolean | {
|
364
|
+
create?: boolean;
|
365
|
+
blur?: boolean;
|
366
|
+
}) | undefined;
|
364
367
|
readonly formatTag?: import('..').Format<import('..').TagData> | undefined;
|
365
368
|
readonly uniqueValue?: boolean | undefined;
|
366
369
|
readonly tagNowrap?: boolean | undefined;
|
@@ -417,8 +420,8 @@ declare const AutoComplete: {
|
|
417
420
|
"input-value-change": (value: string, ev: Event) => any;
|
418
421
|
"press-enter": (ev: KeyboardEvent) => any;
|
419
422
|
}, string, {
|
420
|
-
size: import('..').Size;
|
421
423
|
error: boolean;
|
424
|
+
size: import('..').Size;
|
422
425
|
disabled: boolean;
|
423
426
|
placeholder: string;
|
424
427
|
modelValue: import('..').InputTagValue;
|
@@ -431,7 +434,10 @@ declare const AutoComplete: {
|
|
431
434
|
allowCreate: boolean;
|
432
435
|
maxTagCount: number;
|
433
436
|
tagNowrap: boolean;
|
434
|
-
retainInputValue:
|
437
|
+
retainInputValue: boolean | {
|
438
|
+
create?: boolean;
|
439
|
+
blur?: boolean;
|
440
|
+
};
|
435
441
|
uniqueValue: boolean;
|
436
442
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
437
443
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -454,8 +460,8 @@ declare const AutoComplete: {
|
|
454
460
|
$nextTick: typeof import('vue').nextTick;
|
455
461
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
456
462
|
} & Readonly<{
|
457
|
-
size: import('..').Size;
|
458
463
|
error: boolean;
|
464
|
+
size: import('..').Size;
|
459
465
|
disabled: boolean;
|
460
466
|
placeholder: string;
|
461
467
|
modelValue: import('..').InputTagValue;
|
@@ -468,7 +474,10 @@ declare const AutoComplete: {
|
|
468
474
|
allowCreate: boolean;
|
469
475
|
maxTagCount: number;
|
470
476
|
tagNowrap: boolean;
|
471
|
-
retainInputValue:
|
477
|
+
retainInputValue: boolean | {
|
478
|
+
create?: boolean;
|
479
|
+
blur?: boolean;
|
480
|
+
};
|
472
481
|
uniqueValue: boolean;
|
473
482
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
474
483
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
@@ -480,7 +489,7 @@ declare const AutoComplete: {
|
|
480
489
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
481
490
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
482
491
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
483
|
-
}>, "blur" | "focus" | ("
|
492
|
+
}>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
484
493
|
focus(): void;
|
485
494
|
blur(): void;
|
486
495
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -528,8 +537,8 @@ declare const AutoComplete: {
|
|
528
537
|
"dropdown-scroll": (ev: Event) => any;
|
529
538
|
"dropdown-reach-bottom": (ev: Event) => any;
|
530
539
|
}, string, {
|
531
|
-
size: import('..').Size;
|
532
540
|
error: boolean;
|
541
|
+
size: import('..').Size;
|
533
542
|
popupContainer: import('..').PopupContainer;
|
534
543
|
popupVisible: boolean;
|
535
544
|
defaultPopupVisible: boolean;
|
@@ -581,8 +590,8 @@ declare const AutoComplete: {
|
|
581
590
|
$nextTick: typeof import('vue').nextTick;
|
582
591
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
583
592
|
} & Readonly<{
|
584
|
-
size: import('..').Size;
|
585
593
|
error: boolean;
|
594
|
+
size: import('..').Size;
|
586
595
|
popupContainer: import('..').PopupContainer;
|
587
596
|
popupVisible: boolean;
|
588
597
|
defaultPopupVisible: boolean;
|
@@ -627,7 +636,7 @@ declare const AutoComplete: {
|
|
627
636
|
onExceedLimit?: ((value: import('..').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
628
637
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
629
638
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
630
|
-
}>, "blur" | "focus" | ("
|
639
|
+
}>, "blur" | "focus" | ("error" | "size" | "popupContainer" | "popupVisible" | "defaultPopupVisible" | "disabled" | "scrollbar" | "multiple" | "placeholder" | "loading" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
631
640
|
focus(): void;
|
632
641
|
blur(): void;
|
633
642
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -318,7 +318,10 @@ declare function __VLS_template(): {
|
|
318
318
|
readonly allowClear?: boolean | undefined;
|
319
319
|
readonly size?: import('..').Size | undefined;
|
320
320
|
readonly maxTagCount?: number | undefined;
|
321
|
-
readonly retainInputValue?:
|
321
|
+
readonly retainInputValue?: (boolean | {
|
322
|
+
create?: boolean;
|
323
|
+
blur?: boolean;
|
324
|
+
}) | undefined;
|
322
325
|
readonly formatTag?: import('..').Format<import('..').TagData> | undefined;
|
323
326
|
readonly uniqueValue?: boolean | undefined;
|
324
327
|
readonly tagNowrap?: boolean | undefined;
|
@@ -375,8 +378,8 @@ declare function __VLS_template(): {
|
|
375
378
|
"input-value-change": (value: string, ev: Event) => any;
|
376
379
|
"press-enter": (ev: KeyboardEvent) => any;
|
377
380
|
}, string, {
|
378
|
-
size: import('..').Size;
|
379
381
|
error: boolean;
|
382
|
+
size: import('..').Size;
|
380
383
|
disabled: boolean;
|
381
384
|
placeholder: string;
|
382
385
|
modelValue: import('..').InputTagValue;
|
@@ -389,7 +392,10 @@ declare function __VLS_template(): {
|
|
389
392
|
allowCreate: boolean;
|
390
393
|
maxTagCount: number;
|
391
394
|
tagNowrap: boolean;
|
392
|
-
retainInputValue:
|
395
|
+
retainInputValue: boolean | {
|
396
|
+
create?: boolean;
|
397
|
+
blur?: boolean;
|
398
|
+
};
|
393
399
|
uniqueValue: boolean;
|
394
400
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
395
401
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -412,8 +418,8 @@ declare function __VLS_template(): {
|
|
412
418
|
$nextTick: typeof nextTick;
|
413
419
|
$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;
|
414
420
|
} & Readonly<{
|
415
|
-
size: import('..').Size;
|
416
421
|
error: boolean;
|
422
|
+
size: import('..').Size;
|
417
423
|
disabled: boolean;
|
418
424
|
placeholder: string;
|
419
425
|
modelValue: import('..').InputTagValue;
|
@@ -426,7 +432,10 @@ declare function __VLS_template(): {
|
|
426
432
|
allowCreate: boolean;
|
427
433
|
maxTagCount: number;
|
428
434
|
tagNowrap: boolean;
|
429
|
-
retainInputValue:
|
435
|
+
retainInputValue: boolean | {
|
436
|
+
create?: boolean;
|
437
|
+
blur?: boolean;
|
438
|
+
};
|
430
439
|
uniqueValue: boolean;
|
431
440
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
432
441
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
@@ -438,7 +447,7 @@ declare function __VLS_template(): {
|
|
438
447
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
439
448
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
440
449
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
441
|
-
}>, "blur" | "focus" | ("
|
450
|
+
}>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
442
451
|
focus(): void;
|
443
452
|
blur(): void;
|
444
453
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -486,8 +495,8 @@ declare function __VLS_template(): {
|
|
486
495
|
"dropdown-scroll": (ev: Event) => any;
|
487
496
|
"dropdown-reach-bottom": (ev: Event) => any;
|
488
497
|
}, string, {
|
489
|
-
size: import('..').Size;
|
490
498
|
error: boolean;
|
499
|
+
size: import('..').Size;
|
491
500
|
popupContainer: import('..').PopupContainer;
|
492
501
|
popupVisible: boolean;
|
493
502
|
defaultPopupVisible: boolean;
|
@@ -539,8 +548,8 @@ declare function __VLS_template(): {
|
|
539
548
|
$nextTick: typeof nextTick;
|
540
549
|
$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;
|
541
550
|
} & Readonly<{
|
542
|
-
size: import('..').Size;
|
543
551
|
error: boolean;
|
552
|
+
size: import('..').Size;
|
544
553
|
popupContainer: import('..').PopupContainer;
|
545
554
|
popupVisible: boolean;
|
546
555
|
defaultPopupVisible: boolean;
|
@@ -585,7 +594,7 @@ declare function __VLS_template(): {
|
|
585
594
|
onExceedLimit?: ((value: import('../Select').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
586
595
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
587
596
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
588
|
-
}>, "blur" | "focus" | ("
|
597
|
+
}>, "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<{
|
589
598
|
focus(): void;
|
590
599
|
blur(): void;
|
591
600
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -1028,7 +1037,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1028
1037
|
readonly allowClear?: boolean | undefined;
|
1029
1038
|
readonly size?: import('..').Size | undefined;
|
1030
1039
|
readonly maxTagCount?: number | undefined;
|
1031
|
-
readonly retainInputValue?:
|
1040
|
+
readonly retainInputValue?: (boolean | {
|
1041
|
+
create?: boolean;
|
1042
|
+
blur?: boolean;
|
1043
|
+
}) | undefined;
|
1032
1044
|
readonly formatTag?: import('..').Format<import('..').TagData> | undefined;
|
1033
1045
|
readonly uniqueValue?: boolean | undefined;
|
1034
1046
|
readonly tagNowrap?: boolean | undefined;
|
@@ -1085,8 +1097,8 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1085
1097
|
"input-value-change": (value: string, ev: Event) => any;
|
1086
1098
|
"press-enter": (ev: KeyboardEvent) => any;
|
1087
1099
|
}, string, {
|
1088
|
-
size: import('..').Size;
|
1089
1100
|
error: boolean;
|
1101
|
+
size: import('..').Size;
|
1090
1102
|
disabled: boolean;
|
1091
1103
|
placeholder: string;
|
1092
1104
|
modelValue: import('..').InputTagValue;
|
@@ -1099,7 +1111,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1099
1111
|
allowCreate: boolean;
|
1100
1112
|
maxTagCount: number;
|
1101
1113
|
tagNowrap: boolean;
|
1102
|
-
retainInputValue:
|
1114
|
+
retainInputValue: boolean | {
|
1115
|
+
create?: boolean;
|
1116
|
+
blur?: boolean;
|
1117
|
+
};
|
1103
1118
|
uniqueValue: boolean;
|
1104
1119
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
1105
1120
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -1122,8 +1137,8 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1122
1137
|
$nextTick: typeof nextTick;
|
1123
1138
|
$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;
|
1124
1139
|
} & Readonly<{
|
1125
|
-
size: import('..').Size;
|
1126
1140
|
error: boolean;
|
1141
|
+
size: import('..').Size;
|
1127
1142
|
disabled: boolean;
|
1128
1143
|
placeholder: string;
|
1129
1144
|
modelValue: import('..').InputTagValue;
|
@@ -1136,7 +1151,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1136
1151
|
allowCreate: boolean;
|
1137
1152
|
maxTagCount: number;
|
1138
1153
|
tagNowrap: boolean;
|
1139
|
-
retainInputValue:
|
1154
|
+
retainInputValue: boolean | {
|
1155
|
+
create?: boolean;
|
1156
|
+
blur?: boolean;
|
1157
|
+
};
|
1140
1158
|
uniqueValue: boolean;
|
1141
1159
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
1142
1160
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
@@ -1148,7 +1166,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1148
1166
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1149
1167
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
1150
1168
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
1151
|
-
}>, "blur" | "focus" | ("
|
1169
|
+
}>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
1152
1170
|
focus(): void;
|
1153
1171
|
blur(): void;
|
1154
1172
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -1196,8 +1214,8 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1196
1214
|
"dropdown-scroll": (ev: Event) => any;
|
1197
1215
|
"dropdown-reach-bottom": (ev: Event) => any;
|
1198
1216
|
}, string, {
|
1199
|
-
size: import('..').Size;
|
1200
1217
|
error: boolean;
|
1218
|
+
size: import('..').Size;
|
1201
1219
|
popupContainer: import('..').PopupContainer;
|
1202
1220
|
popupVisible: boolean;
|
1203
1221
|
defaultPopupVisible: boolean;
|
@@ -1249,8 +1267,8 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1249
1267
|
$nextTick: typeof nextTick;
|
1250
1268
|
$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;
|
1251
1269
|
} & Readonly<{
|
1252
|
-
size: import('..').Size;
|
1253
1270
|
error: boolean;
|
1271
|
+
size: import('..').Size;
|
1254
1272
|
popupContainer: import('..').PopupContainer;
|
1255
1273
|
popupVisible: boolean;
|
1256
1274
|
defaultPopupVisible: boolean;
|
@@ -1295,7 +1313,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
|
|
1295
1313
|
onExceedLimit?: ((value: import('../Select').SelectOptionValue, ev?: MouseEvent | undefined) => any) | undefined;
|
1296
1314
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
1297
1315
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
1298
|
-
}>, "blur" | "focus" | ("
|
1316
|
+
}>, "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<{
|
1299
1317
|
focus(): void;
|
1300
1318
|
blur(): void;
|
1301
1319
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -23,7 +23,7 @@ declare const __VLS_component: import('vue').DefineComponent<AvatarProps, {}, {}
|
|
23
23
|
shape: import('./type').AvatarShape;
|
24
24
|
autoFixFontSize: boolean;
|
25
25
|
imageUrl: string;
|
26
|
-
triggerType:
|
26
|
+
triggerType: "button" | "mask";
|
27
27
|
triggerIconStyle: import('vue').CSSProperties;
|
28
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
29
29
|
avatarRef: HTMLDivElement;
|
package/es/Avatar/index.d.ts
CHANGED
@@ -19,7 +19,7 @@ declare const Avatar: {
|
|
19
19
|
shape: import('./type').AvatarShape;
|
20
20
|
autoFixFontSize: boolean;
|
21
21
|
imageUrl: string;
|
22
|
-
triggerType:
|
22
|
+
triggerType: "button" | "mask";
|
23
23
|
triggerIconStyle: import('vue').CSSProperties;
|
24
24
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
25
25
|
avatarRef: HTMLDivElement;
|
@@ -41,7 +41,7 @@ declare const Avatar: {
|
|
41
41
|
shape: import('./type').AvatarShape;
|
42
42
|
autoFixFontSize: boolean;
|
43
43
|
imageUrl: string;
|
44
|
-
triggerType:
|
44
|
+
triggerType: "button" | "mask";
|
45
45
|
triggerIconStyle: import('vue').CSSProperties;
|
46
46
|
}>;
|
47
47
|
__isFragment?: never;
|
@@ -61,7 +61,7 @@ declare const Avatar: {
|
|
61
61
|
shape: import('./type').AvatarShape;
|
62
62
|
autoFixFontSize: boolean;
|
63
63
|
imageUrl: string;
|
64
|
-
triggerType:
|
64
|
+
triggerType: "button" | "mask";
|
65
65
|
triggerIconStyle: import('vue').CSSProperties;
|
66
66
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
67
67
|
$slots: any;
|
package/es/Avatar/type.d.ts
CHANGED
@@ -6,7 +6,7 @@ export interface AvatarProps {
|
|
6
6
|
imageUrl?: string;
|
7
7
|
size?: number;
|
8
8
|
autoFixFontSize?: boolean;
|
9
|
-
triggerType?:
|
9
|
+
triggerType?: TriggerType;
|
10
10
|
triggerIconStyle?: CSSProperties;
|
11
11
|
objectFit?: ObjectFit;
|
12
12
|
}
|
@@ -32,4 +32,5 @@ export interface AvatarGroupSlots {
|
|
32
32
|
default?: () => VNode[];
|
33
33
|
}
|
34
34
|
export type AvatarShape = Exclude<Shape, 'circle'>;
|
35
|
-
|
35
|
+
type TriggerType = 'mask' | 'button';
|
36
|
+
export {};
|
package/es/Badge/index.d.ts
CHANGED
@@ -9,7 +9,7 @@ declare const Badge: {
|
|
9
9
|
dot: boolean;
|
10
10
|
offset: number[];
|
11
11
|
maxCount: number;
|
12
|
-
status: import('
|
12
|
+
status: import('..').Status<"processing">;
|
13
13
|
dotStyle: import('vue').CSSProperties;
|
14
14
|
count: number;
|
15
15
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
@@ -25,7 +25,7 @@ declare const Badge: {
|
|
25
25
|
dot: boolean;
|
26
26
|
offset: number[];
|
27
27
|
maxCount: number;
|
28
|
-
status: import('
|
28
|
+
status: import('..').Status<"processing">;
|
29
29
|
dotStyle: import('vue').CSSProperties;
|
30
30
|
count: number;
|
31
31
|
}>;
|
@@ -38,7 +38,7 @@ declare const Badge: {
|
|
38
38
|
dot: boolean;
|
39
39
|
offset: number[];
|
40
40
|
maxCount: number;
|
41
|
-
status: import('
|
41
|
+
status: import('..').Status<"processing">;
|
42
42
|
dotStyle: import('vue').CSSProperties;
|
43
43
|
count: number;
|
44
44
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
package/es/Badge/index.vue.d.ts
CHANGED
@@ -12,7 +12,7 @@ declare const __VLS_component: import('vue').DefineComponent<BadgeProps, {}, {},
|
|
12
12
|
dot: boolean;
|
13
13
|
offset: number[];
|
14
14
|
maxCount: number;
|
15
|
-
status: import('
|
15
|
+
status: import('..').Status<"processing">;
|
16
16
|
dotStyle: import('vue').CSSProperties;
|
17
17
|
count: number;
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
package/es/Badge/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { CSSProperties, VNode } from 'vue';
|
2
|
+
import { Status } from '../_shared/type';
|
2
3
|
export interface BadgeProps {
|
3
4
|
text?: string;
|
4
5
|
dot?: boolean;
|
@@ -6,11 +7,10 @@ export interface BadgeProps {
|
|
6
7
|
maxCount?: number;
|
7
8
|
offset?: number[];
|
8
9
|
color?: string;
|
9
|
-
status?:
|
10
|
+
status?: Status<'processing'>;
|
10
11
|
count?: number;
|
11
12
|
}
|
12
13
|
export interface BadgeSlots {
|
13
14
|
default?: () => VNode[];
|
14
15
|
content?: () => VNode[];
|
15
16
|
}
|
16
|
-
export type BadgeStatus = 'success' | 'warning' | 'danger' | 'normal' | 'processing';
|
@@ -25,9 +25,9 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}
|
|
25
25
|
loading: boolean;
|
26
26
|
href: string;
|
27
27
|
shape: import('..').Shape;
|
28
|
-
status: import('
|
28
|
+
status: import('..').Status;
|
29
29
|
long: boolean;
|
30
|
-
htmlType:
|
30
|
+
htmlType: "button" | "reset" | "submit";
|
31
31
|
autofocus: boolean;
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
33
33
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
@@ -11,7 +11,7 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonGroupProps, {
|
|
11
11
|
type: import('./type').ButtonType;
|
12
12
|
disabled: boolean;
|
13
13
|
shape: import('..').Shape;
|
14
|
-
status: import('
|
14
|
+
status: import('..').Status;
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
16
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
17
17
|
export default _default;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { ButtonType
|
2
|
-
import { Size, Shape, RecordType } from '../../_shared/type';
|
1
|
+
import { ButtonType } from '../type';
|
2
|
+
import { Size, Shape, Status, RecordType } from '../../_shared/type';
|
3
3
|
export default function useButtonContext(): {
|
4
4
|
provide: (props: RecordType) => void;
|
5
5
|
inject: (props: RecordType) => {
|
6
6
|
disabled: import('vue').ComputedRef<boolean>;
|
7
7
|
type: import('vue').ComputedRef<ButtonType>;
|
8
|
-
status: import('vue').ComputedRef<
|
8
|
+
status: import('vue').ComputedRef<Status>;
|
9
9
|
shape: import('vue').ComputedRef<Shape>;
|
10
10
|
size: import('vue').ComputedRef<Size>;
|
11
11
|
};
|
package/es/Button/index.d.ts
CHANGED
@@ -24,9 +24,9 @@ declare const Button: {
|
|
24
24
|
loading: boolean;
|
25
25
|
href: string;
|
26
26
|
shape: import('..').Shape;
|
27
|
-
status: import('
|
27
|
+
status: import('..').Status;
|
28
28
|
long: boolean;
|
29
|
-
htmlType:
|
29
|
+
htmlType: "button" | "reset" | "submit";
|
30
30
|
autofocus: boolean;
|
31
31
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
32
32
|
P: {};
|
@@ -48,9 +48,9 @@ declare const Button: {
|
|
48
48
|
loading: boolean;
|
49
49
|
href: string;
|
50
50
|
shape: import('..').Shape;
|
51
|
-
status: import('
|
51
|
+
status: import('..').Status;
|
52
52
|
long: boolean;
|
53
|
-
htmlType:
|
53
|
+
htmlType: "button" | "reset" | "submit";
|
54
54
|
autofocus: boolean;
|
55
55
|
}>;
|
56
56
|
__isFragment?: never;
|
@@ -75,9 +75,9 @@ declare const Button: {
|
|
75
75
|
loading: boolean;
|
76
76
|
href: string;
|
77
77
|
shape: import('..').Shape;
|
78
|
-
status: import('
|
78
|
+
status: import('..').Status;
|
79
79
|
long: boolean;
|
80
|
-
htmlType:
|
80
|
+
htmlType: "button" | "reset" | "submit";
|
81
81
|
autofocus: boolean;
|
82
82
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
83
83
|
$slots: any;
|
@@ -88,7 +88,7 @@ declare const Button: {
|
|
88
88
|
type: import('./type').ButtonType;
|
89
89
|
disabled: boolean;
|
90
90
|
shape: import('..').Shape;
|
91
|
-
status: import('
|
91
|
+
status: import('..').Status;
|
92
92
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
93
93
|
P: {};
|
94
94
|
B: {};
|
@@ -101,7 +101,7 @@ declare const Button: {
|
|
101
101
|
type: import('./type').ButtonType;
|
102
102
|
disabled: boolean;
|
103
103
|
shape: import('..').Shape;
|
104
|
-
status: import('
|
104
|
+
status: import('..').Status;
|
105
105
|
}>;
|
106
106
|
__isFragment?: never;
|
107
107
|
__isTeleport?: never;
|
@@ -111,7 +111,7 @@ declare const Button: {
|
|
111
111
|
type: import('./type').ButtonType;
|
112
112
|
disabled: boolean;
|
113
113
|
shape: import('..').Shape;
|
114
|
-
status: import('
|
114
|
+
status: import('..').Status;
|
115
115
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
116
116
|
$slots: Readonly<import('./type').ButtonGroupSlots> & import('./type').ButtonGroupSlots;
|
117
117
|
});
|