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
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
|
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<ResultProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ResultProps> & Readonly<{}>, {
|
10
10
|
title: string;
|
11
|
-
status:
|
11
|
+
status: "success" | "warning" | "error" | "info" | "403" | "404" | "500" | null;
|
12
12
|
subtitle: string;
|
13
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
14
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
package/lib/Result/type.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
2
|
export interface ResultProps {
|
3
|
-
status?:
|
3
|
+
status?: Status;
|
4
4
|
title?: string;
|
5
5
|
subtitle?: string;
|
6
6
|
}
|
@@ -11,4 +11,5 @@ export interface ResultSlots {
|
|
11
11
|
default?: () => VNode[];
|
12
12
|
extra?: () => VNode[];
|
13
13
|
}
|
14
|
-
|
14
|
+
type Status = 'success' | 'warning' | 'error' | 'info' | '403' | '404' | '500' | null;
|
15
|
+
export {};
|
@@ -19,7 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<ScrollbarProps, {
|
|
19
19
|
}, string, import('vue').PublicProps, Readonly<ScrollbarProps> & Readonly<{
|
20
20
|
onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
|
21
21
|
}>, {
|
22
|
-
type:
|
22
|
+
type: "embed" | "track";
|
23
23
|
scrollbar: boolean;
|
24
24
|
outerClass: import('..').ClassName;
|
25
25
|
outerStyle: import('vue').CSSProperties;
|
package/lib/Scrollbar/index.d.ts
CHANGED
@@ -13,7 +13,7 @@ declare const Scrollbar: {
|
|
13
13
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
14
14
|
scroll: (left: number, top: number, ev: Event) => any;
|
15
15
|
}, import('vue').PublicProps, {
|
16
|
-
type:
|
16
|
+
type: "embed" | "track";
|
17
17
|
scrollbar: boolean;
|
18
18
|
outerClass: import('..').ClassName;
|
19
19
|
outerStyle: import('vue').CSSProperties;
|
@@ -35,7 +35,7 @@ declare const Scrollbar: {
|
|
35
35
|
scrollTop(top: number): void;
|
36
36
|
getScrollRef(): HTMLDivElement;
|
37
37
|
}, {}, {}, {}, {
|
38
|
-
type:
|
38
|
+
type: "embed" | "track";
|
39
39
|
scrollbar: boolean;
|
40
40
|
outerClass: import('..').ClassName;
|
41
41
|
outerStyle: import('vue').CSSProperties;
|
@@ -53,7 +53,7 @@ declare const Scrollbar: {
|
|
53
53
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
54
54
|
scroll: (left: number, top: number, ev: Event) => any;
|
55
55
|
}, string, {
|
56
|
-
type:
|
56
|
+
type: "embed" | "track";
|
57
57
|
scrollbar: boolean;
|
58
58
|
outerClass: import('..').ClassName;
|
59
59
|
outerStyle: import('vue').CSSProperties;
|
package/lib/Scrollbar/type.d.ts
CHANGED
@@ -258,7 +258,10 @@ declare function __VLS_template(): {
|
|
258
258
|
readonly allowClear?: boolean | undefined;
|
259
259
|
readonly size?: import('..').Size | undefined;
|
260
260
|
readonly maxTagCount?: number | undefined;
|
261
|
-
readonly retainInputValue?:
|
261
|
+
readonly retainInputValue?: (boolean | {
|
262
|
+
create?: boolean;
|
263
|
+
blur?: boolean;
|
264
|
+
}) | undefined;
|
262
265
|
readonly formatTag?: import('..').Format<TagData> | undefined;
|
263
266
|
readonly uniqueValue?: boolean | undefined;
|
264
267
|
readonly tagNowrap?: boolean | undefined;
|
@@ -315,8 +318,8 @@ declare function __VLS_template(): {
|
|
315
318
|
"input-value-change": (value: string, ev: Event) => any;
|
316
319
|
"press-enter": (ev: KeyboardEvent) => any;
|
317
320
|
}, string, {
|
318
|
-
size: import('..').Size;
|
319
321
|
error: boolean;
|
322
|
+
size: import('..').Size;
|
320
323
|
disabled: boolean;
|
321
324
|
placeholder: string;
|
322
325
|
modelValue: InputTagValue;
|
@@ -329,7 +332,10 @@ declare function __VLS_template(): {
|
|
329
332
|
allowCreate: boolean;
|
330
333
|
maxTagCount: number;
|
331
334
|
tagNowrap: boolean;
|
332
|
-
retainInputValue:
|
335
|
+
retainInputValue: boolean | {
|
336
|
+
create?: boolean;
|
337
|
+
blur?: boolean;
|
338
|
+
};
|
333
339
|
uniqueValue: boolean;
|
334
340
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
335
341
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -352,8 +358,8 @@ declare function __VLS_template(): {
|
|
352
358
|
$nextTick: typeof import('vue').nextTick;
|
353
359
|
$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;
|
354
360
|
} & Readonly<{
|
355
|
-
size: import('..').Size;
|
356
361
|
error: boolean;
|
362
|
+
size: import('..').Size;
|
357
363
|
disabled: boolean;
|
358
364
|
placeholder: string;
|
359
365
|
modelValue: InputTagValue;
|
@@ -366,7 +372,10 @@ declare function __VLS_template(): {
|
|
366
372
|
allowCreate: boolean;
|
367
373
|
maxTagCount: number;
|
368
374
|
tagNowrap: boolean;
|
369
|
-
retainInputValue:
|
375
|
+
retainInputValue: boolean | {
|
376
|
+
create?: boolean;
|
377
|
+
blur?: boolean;
|
378
|
+
};
|
370
379
|
uniqueValue: boolean;
|
371
380
|
}> & Omit<Readonly<import('../InputTag').InputTagProps> & Readonly<{
|
372
381
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
@@ -378,7 +387,7 @@ declare function __VLS_template(): {
|
|
378
387
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
379
388
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
380
389
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
381
|
-
}>, "blur" | "focus" | ("
|
390
|
+
}>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
382
391
|
focus(): void;
|
383
392
|
blur(): void;
|
384
393
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -421,8 +430,8 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
421
430
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
422
431
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
423
432
|
}>, {
|
424
|
-
size: import('..').Size;
|
425
433
|
error: boolean;
|
434
|
+
size: import('..').Size;
|
426
435
|
popupContainer: import('..').PopupContainer;
|
427
436
|
popupVisible: boolean;
|
428
437
|
defaultPopupVisible: boolean;
|
@@ -707,7 +716,10 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
707
716
|
readonly allowClear?: boolean | undefined;
|
708
717
|
readonly size?: import('..').Size | undefined;
|
709
718
|
readonly maxTagCount?: number | undefined;
|
710
|
-
readonly retainInputValue?:
|
719
|
+
readonly retainInputValue?: (boolean | {
|
720
|
+
create?: boolean;
|
721
|
+
blur?: boolean;
|
722
|
+
}) | undefined;
|
711
723
|
readonly formatTag?: import('..').Format<TagData> | undefined;
|
712
724
|
readonly uniqueValue?: boolean | undefined;
|
713
725
|
readonly tagNowrap?: boolean | undefined;
|
@@ -764,8 +776,8 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
764
776
|
"input-value-change": (value: string, ev: Event) => any;
|
765
777
|
"press-enter": (ev: KeyboardEvent) => any;
|
766
778
|
}, string, {
|
767
|
-
size: import('..').Size;
|
768
779
|
error: boolean;
|
780
|
+
size: import('..').Size;
|
769
781
|
disabled: boolean;
|
770
782
|
placeholder: string;
|
771
783
|
modelValue: InputTagValue;
|
@@ -778,7 +790,10 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
778
790
|
allowCreate: boolean;
|
779
791
|
maxTagCount: number;
|
780
792
|
tagNowrap: boolean;
|
781
|
-
retainInputValue:
|
793
|
+
retainInputValue: boolean | {
|
794
|
+
create?: boolean;
|
795
|
+
blur?: boolean;
|
796
|
+
};
|
782
797
|
uniqueValue: boolean;
|
783
798
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
784
799
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -801,8 +816,8 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
801
816
|
$nextTick: typeof import('vue').nextTick;
|
802
817
|
$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;
|
803
818
|
} & Readonly<{
|
804
|
-
size: import('..').Size;
|
805
819
|
error: boolean;
|
820
|
+
size: import('..').Size;
|
806
821
|
disabled: boolean;
|
807
822
|
placeholder: string;
|
808
823
|
modelValue: InputTagValue;
|
@@ -815,7 +830,10 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
815
830
|
allowCreate: boolean;
|
816
831
|
maxTagCount: number;
|
817
832
|
tagNowrap: boolean;
|
818
|
-
retainInputValue:
|
833
|
+
retainInputValue: boolean | {
|
834
|
+
create?: boolean;
|
835
|
+
blur?: boolean;
|
836
|
+
};
|
819
837
|
uniqueValue: boolean;
|
820
838
|
}> & Omit<Readonly<import('../InputTag').InputTagProps> & Readonly<{
|
821
839
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
@@ -827,7 +845,7 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
|
|
827
845
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
828
846
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
829
847
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
830
|
-
}>, "blur" | "focus" | ("
|
848
|
+
}>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
831
849
|
focus(): void;
|
832
850
|
blur(): void;
|
833
851
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -40,7 +40,7 @@ export default function useSelectContext(): {
|
|
40
40
|
disabled?: boolean | undefined;
|
41
41
|
tagProps?: {
|
42
42
|
color?: string | undefined;
|
43
|
-
size?: import('
|
43
|
+
size?: Exclude<import('../../_shared/type').Size, "mini"> | undefined;
|
44
44
|
bordered?: boolean | undefined;
|
45
45
|
visible?: boolean | undefined;
|
46
46
|
defaultVisible?: boolean | undefined;
|
@@ -60,7 +60,7 @@ export default function useSelectContext(): {
|
|
60
60
|
disabled?: boolean | undefined;
|
61
61
|
tagProps?: {
|
62
62
|
color?: string | undefined;
|
63
|
-
size?: import('
|
63
|
+
size?: Exclude<import('../../_shared/type').Size, "mini"> | undefined;
|
64
64
|
bordered?: boolean | undefined;
|
65
65
|
visible?: boolean | undefined;
|
66
66
|
defaultVisible?: boolean | undefined;
|
@@ -18,7 +18,7 @@ declare const _default: (params: {
|
|
18
18
|
disabled?: boolean | undefined;
|
19
19
|
tagProps?: {
|
20
20
|
color?: string | undefined;
|
21
|
-
size?: import('
|
21
|
+
size?: Exclude<import('../../_shared/type').Size, "mini"> | undefined;
|
22
22
|
bordered?: boolean | undefined;
|
23
23
|
visible?: boolean | undefined;
|
24
24
|
defaultVisible?: boolean | undefined;
|
@@ -38,7 +38,7 @@ declare const _default: (params: {
|
|
38
38
|
disabled?: boolean | undefined;
|
39
39
|
tagProps?: {
|
40
40
|
color?: string | undefined;
|
41
|
-
size?: import('
|
41
|
+
size?: Exclude<import('../../_shared/type').Size, "mini"> | undefined;
|
42
42
|
bordered?: boolean | undefined;
|
43
43
|
visible?: boolean | undefined;
|
44
44
|
defaultVisible?: boolean | undefined;
|
package/lib/Select/index.d.ts
CHANGED
@@ -40,8 +40,8 @@ declare const Select: {
|
|
40
40
|
"dropdown-scroll": (ev: Event) => any;
|
41
41
|
"dropdown-reach-bottom": (ev: Event) => any;
|
42
42
|
}, import('vue').PublicProps, {
|
43
|
-
size: import('..').Size;
|
44
43
|
error: boolean;
|
44
|
+
size: import('..').Size;
|
45
45
|
popupContainer: import('..').PopupContainer;
|
46
46
|
popupVisible: boolean;
|
47
47
|
defaultPopupVisible: boolean;
|
@@ -326,7 +326,10 @@ declare const Select: {
|
|
326
326
|
readonly allowClear?: boolean | undefined;
|
327
327
|
readonly size?: import('..').Size | undefined;
|
328
328
|
readonly maxTagCount?: number | undefined;
|
329
|
-
readonly retainInputValue?:
|
329
|
+
readonly retainInputValue?: (boolean | {
|
330
|
+
create?: boolean;
|
331
|
+
blur?: boolean;
|
332
|
+
}) | undefined;
|
330
333
|
readonly formatTag?: import('..').Format<import('..').TagData> | undefined;
|
331
334
|
readonly uniqueValue?: boolean | undefined;
|
332
335
|
readonly tagNowrap?: boolean | undefined;
|
@@ -383,8 +386,8 @@ declare const Select: {
|
|
383
386
|
"input-value-change": (value: string, ev: Event) => any;
|
384
387
|
"press-enter": (ev: KeyboardEvent) => any;
|
385
388
|
}, string, {
|
386
|
-
size: import('..').Size;
|
387
389
|
error: boolean;
|
390
|
+
size: import('..').Size;
|
388
391
|
disabled: boolean;
|
389
392
|
placeholder: string;
|
390
393
|
modelValue: import('..').InputTagValue;
|
@@ -397,7 +400,10 @@ declare const Select: {
|
|
397
400
|
allowCreate: boolean;
|
398
401
|
maxTagCount: number;
|
399
402
|
tagNowrap: boolean;
|
400
|
-
retainInputValue:
|
403
|
+
retainInputValue: boolean | {
|
404
|
+
create?: boolean;
|
405
|
+
blur?: boolean;
|
406
|
+
};
|
401
407
|
uniqueValue: boolean;
|
402
408
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
403
409
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -420,8 +426,8 @@ declare const Select: {
|
|
420
426
|
$nextTick: typeof import('vue').nextTick;
|
421
427
|
$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;
|
422
428
|
} & Readonly<{
|
423
|
-
size: import('..').Size;
|
424
429
|
error: boolean;
|
430
|
+
size: import('..').Size;
|
425
431
|
disabled: boolean;
|
426
432
|
placeholder: string;
|
427
433
|
modelValue: import('..').InputTagValue;
|
@@ -434,7 +440,10 @@ declare const Select: {
|
|
434
440
|
allowCreate: boolean;
|
435
441
|
maxTagCount: number;
|
436
442
|
tagNowrap: boolean;
|
437
|
-
retainInputValue:
|
443
|
+
retainInputValue: boolean | {
|
444
|
+
create?: boolean;
|
445
|
+
blur?: boolean;
|
446
|
+
};
|
438
447
|
uniqueValue: boolean;
|
439
448
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
440
449
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
@@ -446,7 +455,7 @@ declare const Select: {
|
|
446
455
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
447
456
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
448
457
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
449
|
-
}>, "blur" | "focus" | ("
|
458
|
+
}>, "blur" | "focus" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
450
459
|
focus(): void;
|
451
460
|
blur(): void;
|
452
461
|
}> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
|
@@ -478,8 +487,8 @@ declare const Select: {
|
|
478
487
|
blur(): void;
|
479
488
|
getPopupRef(): import('..').TriggerInstance;
|
480
489
|
}, {}, {}, {}, {
|
481
|
-
size: import('..').Size;
|
482
490
|
error: boolean;
|
491
|
+
size: import('..').Size;
|
483
492
|
popupContainer: import('..').PopupContainer;
|
484
493
|
popupVisible: boolean;
|
485
494
|
defaultPopupVisible: boolean;
|
@@ -547,8 +556,8 @@ declare const Select: {
|
|
547
556
|
"dropdown-scroll": (ev: Event) => any;
|
548
557
|
"dropdown-reach-bottom": (ev: Event) => any;
|
549
558
|
}, string, {
|
550
|
-
size: import('..').Size;
|
551
559
|
error: boolean;
|
560
|
+
size: import('..').Size;
|
552
561
|
popupContainer: import('..').PopupContainer;
|
553
562
|
popupVisible: boolean;
|
554
563
|
defaultPopupVisible: boolean;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SkeletonShapeProps } from './type';
|
2
2
|
declare const _default: import('vue').DefineComponent<SkeletonShapeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SkeletonShapeProps> & Readonly<{}>, {
|
3
|
-
size: import('
|
4
|
-
shape: import('
|
3
|
+
size: Exclude<import('..').Size, "mini">;
|
4
|
+
shape: Exclude<import('..').Shape, "round">;
|
5
5
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
6
6
|
export default _default;
|
package/lib/Skeleton/index.d.ts
CHANGED
@@ -31,8 +31,8 @@ declare const Skeleton: {
|
|
31
31
|
$slots: Readonly<import('./type').SkeletonSlots> & import('./type').SkeletonSlots;
|
32
32
|
}) & {
|
33
33
|
shape: import('vue').DefineComponent<import('./type').SkeletonShapeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('./type').SkeletonShapeProps> & Readonly<{}>, {
|
34
|
-
size: import('
|
35
|
-
shape: import('
|
34
|
+
size: Exclude<import('..').Size, "mini">;
|
35
|
+
shape: Exclude<import('..').Shape, "round">;
|
36
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
37
37
|
line: import('vue').DefineComponent<import('./type').SkeletonLineProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('./type').SkeletonLineProps> & Readonly<{}>, {
|
38
38
|
lineHeight: number;
|
package/lib/Skeleton/type.d.ts
CHANGED
@@ -15,8 +15,6 @@ export interface SkeletonLineProps {
|
|
15
15
|
lineSpacing?: number;
|
16
16
|
}
|
17
17
|
export interface SkeletonShapeProps {
|
18
|
-
shape?:
|
19
|
-
size?:
|
18
|
+
shape?: Exclude<Shape, 'round'>;
|
19
|
+
size?: Exclude<Size, 'mini'>;
|
20
20
|
}
|
21
|
-
export type SkeletonShapeSize = Exclude<Size, 'mini'>;
|
22
|
-
export type SkeletonShapeShape = Exclude<Shape, 'round'>;
|
package/lib/Space/index.d.ts
CHANGED
@@ -5,10 +5,10 @@ export * from './type';
|
|
5
5
|
declare const Space: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').SpaceProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
7
|
fill: boolean;
|
8
|
-
size: import('
|
8
|
+
size: (number | import('..').Size) | [number | import('..').Size, number | import('..').Size];
|
9
9
|
wrap: boolean;
|
10
10
|
direction: import('..').Direction;
|
11
|
-
align:
|
11
|
+
align: "center" | "end" | "start" | "baseline";
|
12
12
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
13
13
|
P: {};
|
14
14
|
B: {};
|
@@ -18,20 +18,20 @@ declare const Space: {
|
|
18
18
|
Defaults: {};
|
19
19
|
}, Readonly<import('./type').SpaceProps> & Readonly<{}>, {}, {}, {}, {}, {
|
20
20
|
fill: boolean;
|
21
|
-
size: import('
|
21
|
+
size: (number | import('..').Size) | [number | import('..').Size, number | import('..').Size];
|
22
22
|
wrap: boolean;
|
23
23
|
direction: import('..').Direction;
|
24
|
-
align:
|
24
|
+
align: "center" | "end" | "start" | "baseline";
|
25
25
|
}>;
|
26
26
|
__isFragment?: never;
|
27
27
|
__isTeleport?: never;
|
28
28
|
__isSuspense?: never;
|
29
29
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').SpaceProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
30
30
|
fill: boolean;
|
31
|
-
size: import('
|
31
|
+
size: (number | import('..').Size) | [number | import('..').Size, number | import('..').Size];
|
32
32
|
wrap: boolean;
|
33
33
|
direction: import('..').Direction;
|
34
|
-
align:
|
34
|
+
align: "center" | "end" | "start" | "baseline";
|
35
35
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
36
36
|
$slots: any;
|
37
37
|
}) & {
|
package/lib/Space/index.vue.d.ts
CHANGED
@@ -8,10 +8,10 @@ declare function __VLS_template(): {
|
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<SpaceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SpaceProps> & Readonly<{}>, {
|
10
10
|
fill: boolean;
|
11
|
-
size: import('
|
11
|
+
size: (number | import('..').Size) | [number | import('..').Size, number | import('..').Size];
|
12
12
|
wrap: boolean;
|
13
13
|
direction: import('..').Direction;
|
14
|
-
align:
|
14
|
+
align: "center" | "end" | "start" | "baseline";
|
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;
|
package/lib/Space/type.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { Direction, Size } from '../_shared/type';
|
1
|
+
import { Direction, Size as _Size } from '../_shared/type';
|
2
2
|
import { VNode } from 'vue';
|
3
3
|
export interface SpaceProps {
|
4
|
-
align?:
|
4
|
+
align?: Align;
|
5
5
|
direction?: Direction;
|
6
6
|
wrap?: boolean;
|
7
7
|
fill?: boolean;
|
@@ -11,5 +11,6 @@ export interface SpaceSlots {
|
|
11
11
|
default?: () => VNode[];
|
12
12
|
split?: () => VNode[];
|
13
13
|
}
|
14
|
-
|
15
|
-
|
14
|
+
type Align = 'start' | 'end' | 'center' | 'baseline';
|
15
|
+
type SpaceSize = _Size | number;
|
16
|
+
export {};
|
package/lib/Switch/index.d.ts
CHANGED
@@ -14,8 +14,8 @@ declare const Switch: {
|
|
14
14
|
focus: (ev: FocusEvent) => any;
|
15
15
|
"update:modelValue": (value: import('./type').SwitchValue) => any;
|
16
16
|
}, import('vue').PublicProps, {
|
17
|
-
size: import('
|
18
|
-
type:
|
17
|
+
size: Exclude<import('..').Size, "mini" | "large">;
|
18
|
+
type: "round" | "circle" | "line";
|
19
19
|
disabled: boolean;
|
20
20
|
loading: boolean;
|
21
21
|
defaultChecked: import('./type').SwitchValue;
|
@@ -26,7 +26,7 @@ declare const Switch: {
|
|
26
26
|
uncheckedColor: string;
|
27
27
|
checkedText: string;
|
28
28
|
uncheckedText: string;
|
29
|
-
beforeChange: import('./type').
|
29
|
+
beforeChange: (newValue: import('./type').SwitchValue) => Promise<boolean | void> | boolean | void;
|
30
30
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
|
31
31
|
P: {};
|
32
32
|
B: {};
|
@@ -40,8 +40,8 @@ declare const Switch: {
|
|
40
40
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
41
41
|
"onUpdate:modelValue"?: ((value: import('./type').SwitchValue) => any) | undefined;
|
42
42
|
}>, {}, {}, {}, {}, {
|
43
|
-
size: import('
|
44
|
-
type:
|
43
|
+
size: Exclude<import('..').Size, "mini" | "large">;
|
44
|
+
type: "round" | "circle" | "line";
|
45
45
|
disabled: boolean;
|
46
46
|
loading: boolean;
|
47
47
|
defaultChecked: import('./type').SwitchValue;
|
@@ -52,7 +52,7 @@ declare const Switch: {
|
|
52
52
|
uncheckedColor: string;
|
53
53
|
checkedText: string;
|
54
54
|
uncheckedText: string;
|
55
|
-
beforeChange: import('./type').
|
55
|
+
beforeChange: (newValue: import('./type').SwitchValue) => Promise<boolean | void> | boolean | void;
|
56
56
|
}>;
|
57
57
|
__isFragment?: never;
|
58
58
|
__isTeleport?: never;
|
@@ -68,8 +68,8 @@ declare const Switch: {
|
|
68
68
|
focus: (ev: FocusEvent) => any;
|
69
69
|
"update:modelValue": (value: import('./type').SwitchValue) => any;
|
70
70
|
}, string, {
|
71
|
-
size: import('
|
72
|
-
type:
|
71
|
+
size: Exclude<import('..').Size, "mini" | "large">;
|
72
|
+
type: "round" | "circle" | "line";
|
73
73
|
disabled: boolean;
|
74
74
|
loading: boolean;
|
75
75
|
defaultChecked: import('./type').SwitchValue;
|
@@ -80,7 +80,7 @@ declare const Switch: {
|
|
80
80
|
uncheckedColor: string;
|
81
81
|
checkedText: string;
|
82
82
|
uncheckedText: string;
|
83
|
-
beforeChange: import('./type').
|
83
|
+
beforeChange: (newValue: import('./type').SwitchValue) => Promise<boolean | void> | boolean | void;
|
84
84
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
85
85
|
$slots: any;
|
86
86
|
}) & {
|
@@ -17,8 +17,8 @@ declare const __VLS_component: import('vue').DefineComponent<SwitchProps, {}, {}
|
|
17
17
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
18
18
|
"onUpdate:modelValue"?: ((value: SwitchValue) => any) | undefined;
|
19
19
|
}>, {
|
20
|
-
size: import('
|
21
|
-
type:
|
20
|
+
size: Exclude<import('..').Size, "mini" | "large">;
|
21
|
+
type: "round" | "circle" | "line";
|
22
22
|
disabled: boolean;
|
23
23
|
loading: boolean;
|
24
24
|
defaultChecked: SwitchValue;
|
@@ -29,7 +29,7 @@ declare const __VLS_component: import('vue').DefineComponent<SwitchProps, {}, {}
|
|
29
29
|
uncheckedColor: string;
|
30
30
|
checkedText: string;
|
31
31
|
uncheckedText: string;
|
32
|
-
beforeChange:
|
32
|
+
beforeChange: (newValue: SwitchValue) => Promise<boolean | void> | boolean | void;
|
33
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
34
34
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
35
35
|
export default _default;
|
package/lib/Switch/type.d.ts
CHANGED
@@ -6,7 +6,7 @@ export interface SwitchProps {
|
|
6
6
|
disabled?: boolean;
|
7
7
|
loading?: boolean;
|
8
8
|
type?: SwitchType;
|
9
|
-
size?:
|
9
|
+
size?: Exclude<Size, 'mini' | 'large'>;
|
10
10
|
checkedValue?: SwitchValue;
|
11
11
|
uncheckedValue?: SwitchValue;
|
12
12
|
checkedColor?: string;
|
@@ -28,6 +28,6 @@ export interface SwitchSlots {
|
|
28
28
|
unchecked?: () => VNode[];
|
29
29
|
}
|
30
30
|
export type SwitchValue = string | number | boolean;
|
31
|
-
|
32
|
-
|
33
|
-
export
|
31
|
+
type SwitchType = 'circle' | 'round' | 'line';
|
32
|
+
type BeforeChange = (newValue: SwitchValue) => Promise<boolean | void> | boolean | void;
|
33
|
+
export {};
|
package/lib/Tabs/Tabs.vue.d.ts
CHANGED
@@ -24,7 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<TabsProps, {}, {},
|
|
24
24
|
size: import('..').Size;
|
25
25
|
type: import('./type').TabType;
|
26
26
|
trigger: import('..').EventTrigger;
|
27
|
-
position: import('
|
27
|
+
position: import('..').Position;
|
28
28
|
justify: boolean;
|
29
29
|
animation: boolean;
|
30
30
|
direction: import('..').Direction;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { Ref, Slots } from 'vue';
|
2
|
-
import { TabPaneProps as _TabPaneProps, TabKey, TabsEmits, TabType
|
3
|
-
import { Direction, EventTrigger, RecordType, Required, Size } from '../../_shared/type';
|
2
|
+
import { TabPaneProps as _TabPaneProps, TabKey, TabsEmits, TabType } from '../type';
|
3
|
+
import { Direction, EventTrigger, Position, RecordType, Required, Size } from '../../_shared/type';
|
4
4
|
type TabsContext = {
|
5
5
|
computedActiveKey: Ref<TabKey>;
|
6
6
|
type: Ref<TabType>;
|
7
7
|
trigger: Ref<EventTrigger>;
|
8
8
|
direction: Ref<Direction>;
|
9
|
-
position: Ref<
|
9
|
+
position: Ref<Position>;
|
10
10
|
editable: Ref<boolean>;
|
11
11
|
destoryOnHide: Ref<boolean>;
|
12
12
|
listRef: Ref<HTMLDivElement | undefined>;
|
@@ -25,7 +25,7 @@ export default function useTabsContext(): {
|
|
25
25
|
computedActiveKey: import('vue').WritableComputedRef<TabKey, TabKey>;
|
26
26
|
size: import('vue').ComputedRef<any>;
|
27
27
|
direction: import('vue').ComputedRef<Direction>;
|
28
|
-
position: Ref<
|
28
|
+
position: Ref<Position, Position>;
|
29
29
|
autoSwitch: Ref<boolean, boolean>;
|
30
30
|
titleRefs: Ref<HTMLSpanElement[], HTMLSpanElement[]>;
|
31
31
|
tabRefs: Ref<HTMLDivElement[], HTMLDivElement[]>;
|
package/lib/Tabs/index.d.ts
CHANGED
@@ -21,7 +21,7 @@ declare const Tabs: {
|
|
21
21
|
size: import('..').Size;
|
22
22
|
type: import('./type').TabType;
|
23
23
|
trigger: import('..').EventTrigger;
|
24
|
-
position: import('
|
24
|
+
position: import('..').Position;
|
25
25
|
justify: boolean;
|
26
26
|
animation: boolean;
|
27
27
|
direction: import('..').Direction;
|
@@ -52,7 +52,7 @@ declare const Tabs: {
|
|
52
52
|
size: import('..').Size;
|
53
53
|
type: import('./type').TabType;
|
54
54
|
trigger: import('..').EventTrigger;
|
55
|
-
position: import('
|
55
|
+
position: import('..').Position;
|
56
56
|
justify: boolean;
|
57
57
|
animation: boolean;
|
58
58
|
direction: import('..').Direction;
|
@@ -84,7 +84,7 @@ declare const Tabs: {
|
|
84
84
|
size: import('..').Size;
|
85
85
|
type: import('./type').TabType;
|
86
86
|
trigger: import('..').EventTrigger;
|
87
|
-
position: import('
|
87
|
+
position: import('..').Position;
|
88
88
|
justify: boolean;
|
89
89
|
animation: boolean;
|
90
90
|
direction: import('..').Direction;
|
package/lib/Tabs/type.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { Direction, Size, EventTrigger } from '../_shared/type';
|
1
|
+
import { Direction, Size, EventTrigger, Position } from '../_shared/type';
|
2
2
|
import { VNode } from 'vue';
|
3
3
|
export interface TabsProps {
|
4
4
|
activeKey?: TabKey;
|
5
5
|
defaultActiveKey?: TabKey;
|
6
|
-
position?:
|
6
|
+
position?: Position;
|
7
7
|
size?: Size;
|
8
8
|
type?: TabType;
|
9
9
|
direction?: Direction;
|
@@ -41,4 +41,3 @@ export interface TabPaneSlots {
|
|
41
41
|
}
|
42
42
|
export type TabKey = string | number;
|
43
43
|
export type TabType = 'line' | 'card' | 'card-gutter' | 'text' | 'rounded' | 'capsule';
|
44
|
-
export type TabPositon = 'left' | 'right' | 'bottom' | 'top';
|