sard-uniapp 1.24.6 → 1.25.0
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/CHANGELOG.md +34 -0
- package/README.md +1 -1
- package/components/action-sheet/action-sheet.d.ts +8 -1
- package/components/action-sheet/common.d.ts +99 -2
- package/components/alert/alert.d.ts +6 -0
- package/components/alert/common.d.ts +63 -1
- package/components/avatar/avatar.d.ts +8 -0
- package/components/avatar/common.d.ts +99 -1
- package/components/avatar-group/avatar-group.d.ts +6 -1
- package/components/avatar-group/common.d.ts +63 -2
- package/components/back-top/back-top.d.ts +4 -0
- package/components/back-top/common.d.ts +40 -1
- package/components/badge/badge.d.ts +7 -0
- package/components/badge/common.d.ts +99 -2
- package/components/button/button.d.ts +22 -0
- package/components/button/common.d.ts +960 -8
- package/components/calendar/calendar.d.ts +16 -1
- package/components/calendar/common.d.ts +360 -3
- package/components/calendar-input/calendar-input.d.ts +31 -2
- package/components/calendar-input/common.d.ts +1368 -7
- package/components/calendar-popout/calendar-popout.d.ts +22 -2
- package/components/calendar-popout/common.d.ts +675 -5
- package/components/cascader/README.md +1 -1
- package/components/cascader-input/cascader-input.d.ts +25 -0
- package/components/cascader-input/common.d.ts +783 -3
- package/components/cascader-popout/cascader-popout.d.ts +14 -0
- package/components/cascader-popout/common.d.ts +288 -2
- package/components/checkbox/checkbox.d.ts +11 -0
- package/components/checkbox/common.d.ts +323 -3
- package/components/checkbox-group/checkbox-group.d.ts +10 -0
- package/components/checkbox-input/checkbox-input.d.ts +28 -1
- package/components/checkbox-input/common.d.ts +960 -4
- package/components/checkbox-popout/checkbox-popout.d.ts +19 -1
- package/components/checkbox-popout/common.d.ts +460 -2
- package/components/config/index.d.ts +152 -482
- package/components/config/index.js +26 -34
- package/components/cool-icon/common.d.ts +63 -1
- package/components/cool-icon/cool-icon.d.ts +6 -0
- package/components/count-down/common.d.ts +48 -3
- package/components/count-down/count-down.d.ts +3 -0
- package/components/count-to/common.d.ts +35 -4
- package/components/count-to/count-to.d.ts +1 -0
- package/components/crop-image/common.d.ts +288 -4
- package/components/crop-image/crop-image.d.ts +12 -0
- package/components/crop-image-agent/common.d.ts +288 -5
- package/components/crop-image-agent/crop-image-agent.d.ts +11 -0
- package/components/datetime-picker/common.d.ts +120 -2
- package/components/datetime-picker/datetime-picker.d.ts +9 -1
- package/components/datetime-picker-input/common.d.ts +783 -4
- package/components/datetime-picker-input/datetime-picker-input.d.ts +23 -0
- package/components/datetime-picker-popout/common.d.ts +288 -3
- package/components/datetime-picker-popout/datetime-picker-popout.d.ts +13 -0
- package/components/datetime-range-picker/common.d.ts +143 -1
- package/components/datetime-range-picker/datetime-range-picker.d.ts +10 -0
- package/components/datetime-range-picker-input/common.d.ts +840 -3
- package/components/datetime-range-picker-input/datetime-range-picker-input.d.ts +25 -0
- package/components/datetime-range-picker-popout/common.d.ts +323 -2
- package/components/datetime-range-picker-popout/datetime-range-picker-popout.d.ts +15 -0
- package/components/dialog/common.d.ts +360 -6
- package/components/dialog/dialog.d.ts +16 -3
- package/components/dialog-agent/common.d.ts +1023 -7
- package/components/dialog-agent/dialog-agent.d.ts +28 -3
- package/components/divider/common.d.ts +48 -3
- package/components/divider/divider.d.ts +4 -1
- package/components/dropdown/common.d.ts +99 -5
- package/components/dropdown/dropdown.d.ts +7 -3
- package/components/empty/README.md +1 -1
- package/components/empty/common.d.ts +48 -1
- package/components/empty/empty.d.ts +5 -0
- package/components/fab/common.d.ts +619 -7
- package/components/fab/fab.d.ts +20 -2
- package/components/floating-bubble/common.d.ts +153 -4
- package/components/floating-bubble/floating-bubble.d.ts +10 -1
- package/components/floating-panel/common.d.ts +63 -3
- package/components/floating-panel/floating-panel.d.ts +4 -0
- package/components/form/README.md +11 -12
- package/components/form/common.d.ts +304 -1
- package/components/form/form.d.ts +12 -1
- package/components/form-item/form-item.d.ts +15 -0
- package/components/form-item/useFormItem.d.ts +1 -1
- package/components/form-item-plain/form-item-plain.d.ts +15 -0
- package/components/form-item-plain/form-item-plain.vue +7 -3
- package/components/form-plain/common.d.ts +0 -1
- package/components/form-plain/form-plain.d.ts +12 -1
- package/components/grid/common.d.ts +99 -2
- package/components/grid/grid.d.ts +8 -1
- package/components/icon/common.d.ts +63 -3
- package/components/icon/icon.d.ts +5 -1
- package/components/icon/sari.scss +9 -5
- package/components/image/README.md +108 -0
- package/components/image/common.d.ts +455 -0
- package/components/image/common.js +22 -0
- package/components/image/image.d.ts +38 -0
- package/components/image/image.vue +222 -0
- package/components/image/index.d.ts +1 -0
- package/components/image/index.js +1 -0
- package/components/image/index.scss +72 -0
- package/components/image/variables.scss +13 -0
- package/components/indexes/common.d.ts +1 -0
- package/components/indexes/indexes.vue +2 -1
- package/components/input/common.d.ts +2400 -14
- package/components/input/input.d.ts +36 -2
- package/components/keyboard/common.d.ts +24 -2
- package/components/keyboard/keyboard.d.ts +2 -0
- package/components/list/common.d.ts +168 -1
- package/components/list-item/list-item.d.ts +11 -0
- package/components/loading/common.d.ts +117 -1
- package/components/loading/loading.d.ts +8 -0
- package/components/loading/loading.vue +8 -9
- package/components/locale/lang/ar-SA.d.ts +2 -0
- package/components/locale/lang/ar-SA.js +2 -0
- package/components/locale/lang/en-US.d.ts +2 -0
- package/components/locale/lang/en-US.js +2 -0
- package/components/locale/lang/zh-CN.d.ts +2 -0
- package/components/locale/lang/zh-CN.js +2 -0
- package/components/marquee/common.d.ts +35 -3
- package/components/marquee/marquee.d.ts +2 -0
- package/components/notice-bar/common.d.ts +195 -4
- package/components/notice-bar/notice-bar.d.ts +10 -1
- package/components/notify/common.d.ts +143 -4
- package/components/notify/notify.d.ts +8 -1
- package/components/notify-agent/common.d.ts +483 -5
- package/components/notify-agent/notify-agent.d.ts +18 -1
- package/components/overlay/common.d.ts +63 -1
- package/components/overlay/overlay.d.ts +6 -0
- package/components/pagination/common.d.ts +143 -6
- package/components/pagination/pagination.d.ts +6 -1
- package/components/password-input/common.d.ts +168 -3
- package/components/password-input/password-input.d.ts +9 -0
- package/components/picker/common.d.ts +46 -1
- package/components/picker/picker.d.ts +5 -0
- package/components/picker-input/common.d.ts +599 -4
- package/components/picker-input/picker-input.d.ts +21 -1
- package/components/picker-popout/common.d.ts +181 -3
- package/components/picker-popout/picker-popout.d.ts +10 -0
- package/components/popout/common.d.ts +288 -6
- package/components/popout/popout.d.ts +11 -1
- package/components/popout-input/common.d.ts +181 -2
- package/components/popout-input/popout-input.d.ts +11 -0
- package/components/popover/common.d.ts +168 -7
- package/components/popover/popover.d.ts +8 -3
- package/components/popup/common.d.ts +168 -4
- package/components/popup/popup.d.ts +10 -2
- package/components/progress-bar/common.d.ts +143 -2
- package/components/progress-bar/progress-bar.d.ts +9 -0
- package/components/progress-circle/common.d.ts +80 -2
- package/components/progress-circle/progress-circle.d.ts +6 -0
- package/components/pull-down-refresh/common.d.ts +100 -8
- package/components/pull-down-refresh/pull-down-refresh.d.ts +3 -1
- package/components/qrcode/common.d.ts +168 -8
- package/components/qrcode/qrcode.d.ts +4 -0
- package/components/radio/common.d.ts +155 -2
- package/components/radio-group/radio-group.d.ts +10 -0
- package/components/radio-input/common.d.ts +869 -5
- package/components/radio-input/radio-input.d.ts +26 -1
- package/components/radio-popout/common.d.ts +397 -3
- package/components/radio-popout/radio-popout.d.ts +17 -1
- package/components/rate/common.d.ts +360 -4
- package/components/rate/rate.d.ts +15 -1
- package/components/read-more/common.d.ts +80 -1
- package/components/read-more/read-more.d.ts +7 -0
- package/components/resize-sensor/common.d.ts +24 -1
- package/components/resize-sensor/resize-sensor.d.ts +3 -0
- package/components/resize-sensor/resize-sensor.vue +1 -1
- package/components/result/common.d.ts +80 -1
- package/components/result/result.d.ts +7 -0
- package/components/scroll-spy/README.md +9 -8
- package/components/scroll-spy/common.d.ts +1 -0
- package/components/scroll-spy/scroll-spy.vue +4 -2
- package/components/search/common.d.ts +224 -2
- package/components/search/search.d.ts +12 -0
- package/components/segmented/common.d.ts +131 -4
- package/components/segmented/segmented.d.ts +8 -1
- package/components/share-sheet/common.d.ts +120 -2
- package/components/share-sheet/share-sheet.d.ts +9 -1
- package/components/signature/common.d.ts +255 -7
- package/components/signature/signature.d.ts +9 -1
- package/components/skeleton/common.d.ts +120 -2
- package/components/skeleton/skeleton.d.ts +8 -0
- package/components/slider/common.d.ts +528 -4
- package/components/slider/slider.d.ts +18 -0
- package/components/space/common.d.ts +63 -2
- package/components/space/space.d.ts +5 -0
- package/components/status-bar/common.d.ts +24 -1
- package/components/status-bar/status-bar.d.ts +3 -0
- package/components/stepper/common.d.ts +360 -9
- package/components/stepper/stepper.d.ts +10 -1
- package/components/steps/common.d.ts +224 -8
- package/components/steps/steps.d.ts +7 -1
- package/components/swiper-dot/common.d.ts +63 -4
- package/components/swiper-dot/swiper-dot.d.ts +3 -0
- package/components/switch/common.d.ts +153 -3
- package/components/switch/switch.d.ts +10 -0
- package/components/tabbar/common.d.ts +80 -1
- package/components/tabbar/tabbar.d.ts +7 -0
- package/components/table/common.d.ts +35 -2
- package/components/table/table.d.ts +4 -1
- package/components/tabs/README.md +4 -3
- package/components/tabs/common.d.ts +49 -1
- package/components/tabs/index.scss +2 -1
- package/components/tabs/tabs.d.ts +5 -0
- package/components/tabs/tabs.vue +3 -1
- package/components/tag/common.d.ts +120 -2
- package/components/tag/tag.d.ts +8 -0
- package/components/toast/common.d.ts +120 -6
- package/components/toast/toast.d.ts +6 -2
- package/components/toast-agent/common.d.ts +440 -7
- package/components/toast-agent/toast-agent.d.ts +16 -2
- package/components/tree/README.md +34 -20
- package/components/tree/common.d.ts +391 -3
- package/components/tree/common.js +1 -0
- package/components/tree/index.scss +13 -0
- package/components/tree/tree.d.ts +16 -1
- package/components/tree/tree.vue +71 -22
- package/components/tree/variables.scss +4 -0
- package/components/tree-node/index.scss +6 -0
- package/components/tree-node/tree-node.vue +46 -12
- package/components/upload/README.md +6 -0
- package/components/upload/common.d.ts +198 -1
- package/components/upload/upload.d.ts +16 -2
- package/components/upload/upload.vue +8 -3
- package/components/upload-preview/upload-preview.d.ts +12 -0
- package/components/waterfall/common.d.ts +35 -3
- package/components/waterfall/waterfall.d.ts +2 -0
- package/components/watermark/common.d.ts +143 -5
- package/components/watermark/watermark.d.ts +6 -0
- package/global.d.ts +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.scss +1 -0
- package/package.json +1 -1
- package/use/useScrollSpy.js +5 -1
- package/utils/array.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
# [1.25.0](https://github.com/sutras/sard-uniapp/compare/v1.24.7...v1.25.0) (2025-11-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **loading:** 修复根类名和样式设置错乱问题 ([f4ef355](https://github.com/sutras/sard-uniapp/commit/f4ef355e31d68e200868811a656f989ce6c7bd64))
|
|
7
|
+
* **util:** 修复数组浅比较问题 ([7f04c96](https://github.com/sutras/sard-uniapp/commit/7f04c961210dfddfb475f41299dca6391e418060))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **upload:** 允许通过调用方法调起文件选择 ([a78a645](https://github.com/sutras/sard-uniapp/commit/a78a6456f44c3fa6a7d1bba46b8354b07e458d1f))
|
|
13
|
+
* 新增image组件 ([7c61f4d](https://github.com/sutras/sard-uniapp/commit/7c61f4da58ad4f3307da6472e9c9df85e0f82f59))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.24.7](https://github.com/sutras/sard-uniapp/compare/v1.24.6...v1.24.7) (2025-10-02)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **form:** 修复FormItemPlain错误定位问题 ([3b35b05](https://github.com/sutras/sard-uniapp/commit/3b35b05b6df5c5b3de447ffec9f7ff37b7be8ab3))
|
|
23
|
+
* **scroll-spy:** 修复因重复设置current导致不滚动的问题 ([cb6ba8c](https://github.com/sutras/sard-uniapp/commit/cb6ba8c0563657ae0e826e7a3816430c9ff711d7))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **config:** 允许全局配置组件的任意属性 ([889ad5b](https://github.com/sutras/sard-uniapp/commit/889ad5b1df4f9ddcfdeaffc6d2492d95f16550d3))
|
|
29
|
+
* **scroll-spy:** 新增 disabled 属性 ([0d20897](https://github.com/sutras/sard-uniapp/commit/0d20897bdf2c97f2f6423a58ab90327ba606fae7))
|
|
30
|
+
* **tabs:** 新增line插槽 ([1d05dd0](https://github.com/sutras/sard-uniapp/commit/1d05dd05893b3264a805e42abe6792212a4ba95a))
|
|
31
|
+
* **tree:** 添加懒加载功能 ([f4c7d38](https://github.com/sutras/sard-uniapp/commit/f4c7d38aa952d67b0056922c22f47c04519f5a25))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
1
35
|
## [1.24.6](https://github.com/sutras/sard-uniapp/compare/v1.24.5...v1.24.6) (2025-09-23)
|
|
2
36
|
|
|
3
37
|
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ActionSheetProps } from './common';
|
|
1
|
+
import { type ActionSheetItem, type ActionSheetProps } from './common';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<ActionSheetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
3
|
[x: string]: any;
|
|
4
4
|
} & {
|
|
@@ -6,7 +6,14 @@ declare const _default: import("vue").DefineComponent<ActionSheetProps, {}, {},
|
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<ActionSheetProps> & Readonly<{
|
|
7
7
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
|
+
cancel: string;
|
|
10
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
11
|
+
rootClass: string;
|
|
12
|
+
description: string;
|
|
13
|
+
visible: boolean;
|
|
9
14
|
duration: number;
|
|
10
15
|
overlayClosable: boolean;
|
|
16
|
+
itemList: ActionSheetItem[];
|
|
17
|
+
beforeClose: (type: "close" | "cancel" | "select") => boolean | Promise<any>;
|
|
11
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
19
|
export default _default;
|
|
@@ -12,8 +12,105 @@ export interface ActionSheetProps {
|
|
|
12
12
|
duration?: number;
|
|
13
13
|
}
|
|
14
14
|
export declare const defaultActionSheetProps: {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
rootStyle?: (string | false | ((props: {
|
|
16
|
+
rootStyle: StyleValue;
|
|
17
|
+
rootClass: string;
|
|
18
|
+
description: string;
|
|
19
|
+
itemList: ActionSheetItem[];
|
|
20
|
+
cancel: string;
|
|
21
|
+
visible: boolean;
|
|
22
|
+
overlayClosable: boolean;
|
|
23
|
+
beforeClose: (type: "close" | "cancel" | "select") => boolean | Promise<any>;
|
|
24
|
+
duration: number;
|
|
25
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
26
|
+
rootClass?: (string | ((props: {
|
|
27
|
+
rootStyle: StyleValue;
|
|
28
|
+
rootClass: string;
|
|
29
|
+
description: string;
|
|
30
|
+
itemList: ActionSheetItem[];
|
|
31
|
+
cancel: string;
|
|
32
|
+
visible: boolean;
|
|
33
|
+
overlayClosable: boolean;
|
|
34
|
+
beforeClose: (type: "close" | "cancel" | "select") => boolean | Promise<any>;
|
|
35
|
+
duration: number;
|
|
36
|
+
}) => string)) | undefined;
|
|
37
|
+
description?: (string | ((props: {
|
|
38
|
+
rootStyle: StyleValue;
|
|
39
|
+
rootClass: string;
|
|
40
|
+
description: string;
|
|
41
|
+
itemList: ActionSheetItem[];
|
|
42
|
+
cancel: string;
|
|
43
|
+
visible: boolean;
|
|
44
|
+
overlayClosable: boolean;
|
|
45
|
+
beforeClose: (type: "close" | "cancel" | "select") => boolean | Promise<any>;
|
|
46
|
+
duration: number;
|
|
47
|
+
}) => string)) | undefined;
|
|
48
|
+
itemList?: ((props: {
|
|
49
|
+
rootStyle: StyleValue;
|
|
50
|
+
rootClass: string;
|
|
51
|
+
description: string;
|
|
52
|
+
itemList: ActionSheetItem[];
|
|
53
|
+
cancel: string;
|
|
54
|
+
visible: boolean;
|
|
55
|
+
overlayClosable: boolean;
|
|
56
|
+
beforeClose: (type: "close" | "cancel" | "select") => boolean | Promise<any>;
|
|
57
|
+
duration: number;
|
|
58
|
+
}) => ActionSheetItem[]) | undefined;
|
|
59
|
+
cancel?: (string | ((props: {
|
|
60
|
+
rootStyle: StyleValue;
|
|
61
|
+
rootClass: string;
|
|
62
|
+
description: string;
|
|
63
|
+
itemList: ActionSheetItem[];
|
|
64
|
+
cancel: string;
|
|
65
|
+
visible: boolean;
|
|
66
|
+
overlayClosable: boolean;
|
|
67
|
+
beforeClose: (type: "close" | "cancel" | "select") => boolean | Promise<any>;
|
|
68
|
+
duration: number;
|
|
69
|
+
}) => string)) | undefined;
|
|
70
|
+
visible?: (boolean | ((props: {
|
|
71
|
+
rootStyle: StyleValue;
|
|
72
|
+
rootClass: string;
|
|
73
|
+
description: string;
|
|
74
|
+
itemList: ActionSheetItem[];
|
|
75
|
+
cancel: string;
|
|
76
|
+
visible: boolean;
|
|
77
|
+
overlayClosable: boolean;
|
|
78
|
+
beforeClose: (type: "close" | "cancel" | "select") => boolean | Promise<any>;
|
|
79
|
+
duration: number;
|
|
80
|
+
}) => boolean)) | undefined;
|
|
81
|
+
overlayClosable?: (boolean | ((props: {
|
|
82
|
+
rootStyle: StyleValue;
|
|
83
|
+
rootClass: string;
|
|
84
|
+
description: string;
|
|
85
|
+
itemList: ActionSheetItem[];
|
|
86
|
+
cancel: string;
|
|
87
|
+
visible: boolean;
|
|
88
|
+
overlayClosable: boolean;
|
|
89
|
+
beforeClose: (type: "close" | "cancel" | "select") => boolean | Promise<any>;
|
|
90
|
+
duration: number;
|
|
91
|
+
}) => boolean)) | undefined;
|
|
92
|
+
beforeClose?: (((type: "close" | "cancel" | "select") => boolean | Promise<any>) | ((props: {
|
|
93
|
+
rootStyle: StyleValue;
|
|
94
|
+
rootClass: string;
|
|
95
|
+
description: string;
|
|
96
|
+
itemList: ActionSheetItem[];
|
|
97
|
+
cancel: string;
|
|
98
|
+
visible: boolean;
|
|
99
|
+
overlayClosable: boolean;
|
|
100
|
+
beforeClose: (type: "close" | "cancel" | "select") => boolean | Promise<any>;
|
|
101
|
+
duration: number;
|
|
102
|
+
}) => (type: "close" | "cancel" | "select") => boolean | Promise<any>)) | undefined;
|
|
103
|
+
duration?: (number | ((props: {
|
|
104
|
+
rootStyle: StyleValue;
|
|
105
|
+
rootClass: string;
|
|
106
|
+
description: string;
|
|
107
|
+
itemList: ActionSheetItem[];
|
|
108
|
+
cancel: string;
|
|
109
|
+
visible: boolean;
|
|
110
|
+
overlayClosable: boolean;
|
|
111
|
+
beforeClose: (type: "close" | "cancel" | "select") => boolean | Promise<any>;
|
|
112
|
+
duration: number;
|
|
113
|
+
}) => number)) | undefined;
|
|
17
114
|
};
|
|
18
115
|
export interface ActionSheetEmits extends TransitionHookEmits {
|
|
19
116
|
(e: 'update:visible', visible: boolean): void;
|
|
@@ -5,7 +5,13 @@ declare const __VLS_component: import("vue").DefineComponent<AlertProps, {}, {},
|
|
|
5
5
|
}, string, import("vue").PublicProps, Readonly<AlertProps> & Readonly<{
|
|
6
6
|
onClose?: (() => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
9
|
+
rootClass: string;
|
|
8
10
|
type: "primary" | "success" | "warning" | "danger";
|
|
11
|
+
background: string;
|
|
12
|
+
showIcon: boolean;
|
|
13
|
+
closable: boolean;
|
|
14
|
+
color: string;
|
|
9
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
17
|
export default _default;
|
|
@@ -9,7 +9,69 @@ export interface AlertProps {
|
|
|
9
9
|
background?: string;
|
|
10
10
|
}
|
|
11
11
|
export declare const defaultAlertProps: {
|
|
12
|
-
|
|
12
|
+
rootStyle?: (string | false | ((props: {
|
|
13
|
+
rootStyle: StyleValue;
|
|
14
|
+
rootClass: string;
|
|
15
|
+
showIcon: boolean;
|
|
16
|
+
closable: boolean;
|
|
17
|
+
type: "primary" | "success" | "warning" | "danger";
|
|
18
|
+
color: string;
|
|
19
|
+
background: string;
|
|
20
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
21
|
+
rootClass?: (string | ((props: {
|
|
22
|
+
rootStyle: StyleValue;
|
|
23
|
+
rootClass: string;
|
|
24
|
+
showIcon: boolean;
|
|
25
|
+
closable: boolean;
|
|
26
|
+
type: "primary" | "success" | "warning" | "danger";
|
|
27
|
+
color: string;
|
|
28
|
+
background: string;
|
|
29
|
+
}) => string)) | undefined;
|
|
30
|
+
showIcon?: (boolean | ((props: {
|
|
31
|
+
rootStyle: StyleValue;
|
|
32
|
+
rootClass: string;
|
|
33
|
+
showIcon: boolean;
|
|
34
|
+
closable: boolean;
|
|
35
|
+
type: "primary" | "success" | "warning" | "danger";
|
|
36
|
+
color: string;
|
|
37
|
+
background: string;
|
|
38
|
+
}) => boolean)) | undefined;
|
|
39
|
+
closable?: (boolean | ((props: {
|
|
40
|
+
rootStyle: StyleValue;
|
|
41
|
+
rootClass: string;
|
|
42
|
+
showIcon: boolean;
|
|
43
|
+
closable: boolean;
|
|
44
|
+
type: "primary" | "success" | "warning" | "danger";
|
|
45
|
+
color: string;
|
|
46
|
+
background: string;
|
|
47
|
+
}) => boolean)) | undefined;
|
|
48
|
+
type?: ("success" | "primary" | "warning" | "danger" | ((props: {
|
|
49
|
+
rootStyle: StyleValue;
|
|
50
|
+
rootClass: string;
|
|
51
|
+
showIcon: boolean;
|
|
52
|
+
closable: boolean;
|
|
53
|
+
type: "primary" | "success" | "warning" | "danger";
|
|
54
|
+
color: string;
|
|
55
|
+
background: string;
|
|
56
|
+
}) => "success" | "primary" | "warning" | "danger")) | undefined;
|
|
57
|
+
color?: (string | ((props: {
|
|
58
|
+
rootStyle: StyleValue;
|
|
59
|
+
rootClass: string;
|
|
60
|
+
showIcon: boolean;
|
|
61
|
+
closable: boolean;
|
|
62
|
+
type: "primary" | "success" | "warning" | "danger";
|
|
63
|
+
color: string;
|
|
64
|
+
background: string;
|
|
65
|
+
}) => string)) | undefined;
|
|
66
|
+
background?: (string | ((props: {
|
|
67
|
+
rootStyle: StyleValue;
|
|
68
|
+
rootClass: string;
|
|
69
|
+
showIcon: boolean;
|
|
70
|
+
closable: boolean;
|
|
71
|
+
type: "primary" | "success" | "warning" | "danger";
|
|
72
|
+
color: string;
|
|
73
|
+
background: string;
|
|
74
|
+
}) => string)) | undefined;
|
|
13
75
|
};
|
|
14
76
|
export interface AlertSlots {
|
|
15
77
|
default?(props: Record<string, never>): any;
|
|
@@ -5,7 +5,15 @@ declare const __VLS_component: import("vue").DefineComponent<AvatarProps, {}, {}
|
|
|
5
5
|
}, string, import("vue").PublicProps, Readonly<AvatarProps> & Readonly<{
|
|
6
6
|
onClick?: ((event: any) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
+
size: string;
|
|
9
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
10
|
+
rootClass: string;
|
|
11
|
+
background: string;
|
|
12
|
+
color: string;
|
|
8
13
|
shape: "circle" | "square";
|
|
14
|
+
iconSize: string;
|
|
15
|
+
src: string;
|
|
16
|
+
index: number;
|
|
9
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
19
|
export default _default;
|
|
@@ -11,7 +11,105 @@ export interface AvatarProps {
|
|
|
11
11
|
index?: number;
|
|
12
12
|
}
|
|
13
13
|
export declare const defaultAvatarProps: {
|
|
14
|
-
|
|
14
|
+
rootStyle?: (string | false | ((props: {
|
|
15
|
+
rootStyle: StyleValue;
|
|
16
|
+
rootClass: string;
|
|
17
|
+
shape: "circle" | "square";
|
|
18
|
+
size: string;
|
|
19
|
+
iconSize: string;
|
|
20
|
+
background: string;
|
|
21
|
+
color: string;
|
|
22
|
+
src: string;
|
|
23
|
+
index: number;
|
|
24
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
25
|
+
rootClass?: (string | ((props: {
|
|
26
|
+
rootStyle: StyleValue;
|
|
27
|
+
rootClass: string;
|
|
28
|
+
shape: "circle" | "square";
|
|
29
|
+
size: string;
|
|
30
|
+
iconSize: string;
|
|
31
|
+
background: string;
|
|
32
|
+
color: string;
|
|
33
|
+
src: string;
|
|
34
|
+
index: number;
|
|
35
|
+
}) => string)) | undefined;
|
|
36
|
+
shape?: ("circle" | "square" | ((props: {
|
|
37
|
+
rootStyle: StyleValue;
|
|
38
|
+
rootClass: string;
|
|
39
|
+
shape: "circle" | "square";
|
|
40
|
+
size: string;
|
|
41
|
+
iconSize: string;
|
|
42
|
+
background: string;
|
|
43
|
+
color: string;
|
|
44
|
+
src: string;
|
|
45
|
+
index: number;
|
|
46
|
+
}) => "circle" | "square")) | undefined;
|
|
47
|
+
size?: (string | ((props: {
|
|
48
|
+
rootStyle: StyleValue;
|
|
49
|
+
rootClass: string;
|
|
50
|
+
shape: "circle" | "square";
|
|
51
|
+
size: string;
|
|
52
|
+
iconSize: string;
|
|
53
|
+
background: string;
|
|
54
|
+
color: string;
|
|
55
|
+
src: string;
|
|
56
|
+
index: number;
|
|
57
|
+
}) => string)) | undefined;
|
|
58
|
+
iconSize?: (string | ((props: {
|
|
59
|
+
rootStyle: StyleValue;
|
|
60
|
+
rootClass: string;
|
|
61
|
+
shape: "circle" | "square";
|
|
62
|
+
size: string;
|
|
63
|
+
iconSize: string;
|
|
64
|
+
background: string;
|
|
65
|
+
color: string;
|
|
66
|
+
src: string;
|
|
67
|
+
index: number;
|
|
68
|
+
}) => string)) | undefined;
|
|
69
|
+
background?: (string | ((props: {
|
|
70
|
+
rootStyle: StyleValue;
|
|
71
|
+
rootClass: string;
|
|
72
|
+
shape: "circle" | "square";
|
|
73
|
+
size: string;
|
|
74
|
+
iconSize: string;
|
|
75
|
+
background: string;
|
|
76
|
+
color: string;
|
|
77
|
+
src: string;
|
|
78
|
+
index: number;
|
|
79
|
+
}) => string)) | undefined;
|
|
80
|
+
color?: (string | ((props: {
|
|
81
|
+
rootStyle: StyleValue;
|
|
82
|
+
rootClass: string;
|
|
83
|
+
shape: "circle" | "square";
|
|
84
|
+
size: string;
|
|
85
|
+
iconSize: string;
|
|
86
|
+
background: string;
|
|
87
|
+
color: string;
|
|
88
|
+
src: string;
|
|
89
|
+
index: number;
|
|
90
|
+
}) => string)) | undefined;
|
|
91
|
+
src?: (string | ((props: {
|
|
92
|
+
rootStyle: StyleValue;
|
|
93
|
+
rootClass: string;
|
|
94
|
+
shape: "circle" | "square";
|
|
95
|
+
size: string;
|
|
96
|
+
iconSize: string;
|
|
97
|
+
background: string;
|
|
98
|
+
color: string;
|
|
99
|
+
src: string;
|
|
100
|
+
index: number;
|
|
101
|
+
}) => string)) | undefined;
|
|
102
|
+
index?: (number | ((props: {
|
|
103
|
+
rootStyle: StyleValue;
|
|
104
|
+
rootClass: string;
|
|
105
|
+
shape: "circle" | "square";
|
|
106
|
+
size: string;
|
|
107
|
+
iconSize: string;
|
|
108
|
+
background: string;
|
|
109
|
+
color: string;
|
|
110
|
+
src: string;
|
|
111
|
+
index: number;
|
|
112
|
+
}) => number)) | undefined;
|
|
15
113
|
};
|
|
16
114
|
export interface AvatarSlots {
|
|
17
115
|
default?(props: Record<string, never>): any;
|
|
@@ -5,8 +5,13 @@ declare const __VLS_component: import("vue").DefineComponent<AvatarGroupProps, {
|
|
|
5
5
|
}, string, import("vue").PublicProps, Readonly<AvatarGroupProps> & Readonly<{
|
|
6
6
|
"onRemain-click"?: ((event: any) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
|
|
8
|
+
max: number;
|
|
9
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
10
|
+
rootClass: string;
|
|
11
|
+
total: number;
|
|
9
12
|
coverage: number;
|
|
13
|
+
showRemain: boolean;
|
|
14
|
+
remainText: string | number;
|
|
10
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
12
17
|
export default _default;
|
|
@@ -9,8 +9,69 @@ export interface AvatarGroupProps {
|
|
|
9
9
|
remainText?: string | number;
|
|
10
10
|
}
|
|
11
11
|
export declare const defaultAvatarGroupProps: {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
rootStyle?: (string | false | ((props: {
|
|
13
|
+
rootStyle: StyleValue;
|
|
14
|
+
rootClass: string;
|
|
15
|
+
max: number;
|
|
16
|
+
total: number;
|
|
17
|
+
coverage: number;
|
|
18
|
+
showRemain: boolean;
|
|
19
|
+
remainText: string | number;
|
|
20
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
21
|
+
rootClass?: (string | ((props: {
|
|
22
|
+
rootStyle: StyleValue;
|
|
23
|
+
rootClass: string;
|
|
24
|
+
max: number;
|
|
25
|
+
total: number;
|
|
26
|
+
coverage: number;
|
|
27
|
+
showRemain: boolean;
|
|
28
|
+
remainText: string | number;
|
|
29
|
+
}) => string)) | undefined;
|
|
30
|
+
max?: (number | ((props: {
|
|
31
|
+
rootStyle: StyleValue;
|
|
32
|
+
rootClass: string;
|
|
33
|
+
max: number;
|
|
34
|
+
total: number;
|
|
35
|
+
coverage: number;
|
|
36
|
+
showRemain: boolean;
|
|
37
|
+
remainText: string | number;
|
|
38
|
+
}) => number)) | undefined;
|
|
39
|
+
total?: (number | ((props: {
|
|
40
|
+
rootStyle: StyleValue;
|
|
41
|
+
rootClass: string;
|
|
42
|
+
max: number;
|
|
43
|
+
total: number;
|
|
44
|
+
coverage: number;
|
|
45
|
+
showRemain: boolean;
|
|
46
|
+
remainText: string | number;
|
|
47
|
+
}) => number)) | undefined;
|
|
48
|
+
coverage?: (number | ((props: {
|
|
49
|
+
rootStyle: StyleValue;
|
|
50
|
+
rootClass: string;
|
|
51
|
+
max: number;
|
|
52
|
+
total: number;
|
|
53
|
+
coverage: number;
|
|
54
|
+
showRemain: boolean;
|
|
55
|
+
remainText: string | number;
|
|
56
|
+
}) => number)) | undefined;
|
|
57
|
+
showRemain?: (boolean | ((props: {
|
|
58
|
+
rootStyle: StyleValue;
|
|
59
|
+
rootClass: string;
|
|
60
|
+
max: number;
|
|
61
|
+
total: number;
|
|
62
|
+
coverage: number;
|
|
63
|
+
showRemain: boolean;
|
|
64
|
+
remainText: string | number;
|
|
65
|
+
}) => boolean)) | undefined;
|
|
66
|
+
remainText?: (string | number | ((props: {
|
|
67
|
+
rootStyle: StyleValue;
|
|
68
|
+
rootClass: string;
|
|
69
|
+
max: number;
|
|
70
|
+
total: number;
|
|
71
|
+
coverage: number;
|
|
72
|
+
showRemain: boolean;
|
|
73
|
+
remainText: string | number;
|
|
74
|
+
}) => string | number)) | undefined;
|
|
14
75
|
};
|
|
15
76
|
export interface AvatarGroupSlots {
|
|
16
77
|
default?(props: Record<string, never>): any;
|
|
@@ -5,8 +5,12 @@ declare const __VLS_component: import("vue").DefineComponent<BackTopProps, {}, {
|
|
|
5
5
|
}, string, import("vue").PublicProps, Readonly<BackTopProps> & Readonly<{
|
|
6
6
|
onClick?: ((event: any) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
9
|
+
rootClass: string;
|
|
10
|
+
right: string;
|
|
8
11
|
scrollTop: number;
|
|
9
12
|
visibleHeight: number;
|
|
13
|
+
bottom: string;
|
|
10
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
12
16
|
export default _default;
|
|
@@ -9,7 +9,46 @@ export interface BackTopProps {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const defaultBackTopProps: () => {
|
|
11
11
|
scrollTop: number;
|
|
12
|
-
|
|
12
|
+
rootStyle?: (string | false | ((props: {
|
|
13
|
+
rootStyle: StyleValue;
|
|
14
|
+
rootClass: string;
|
|
15
|
+
scrollTop: number;
|
|
16
|
+
visibleHeight: number;
|
|
17
|
+
right: string;
|
|
18
|
+
bottom: string;
|
|
19
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
20
|
+
rootClass?: (string | ((props: {
|
|
21
|
+
rootStyle: StyleValue;
|
|
22
|
+
rootClass: string;
|
|
23
|
+
scrollTop: number;
|
|
24
|
+
visibleHeight: number;
|
|
25
|
+
right: string;
|
|
26
|
+
bottom: string;
|
|
27
|
+
}) => string)) | undefined;
|
|
28
|
+
visibleHeight?: (number | ((props: {
|
|
29
|
+
rootStyle: StyleValue;
|
|
30
|
+
rootClass: string;
|
|
31
|
+
scrollTop: number;
|
|
32
|
+
visibleHeight: number;
|
|
33
|
+
right: string;
|
|
34
|
+
bottom: string;
|
|
35
|
+
}) => number)) | undefined;
|
|
36
|
+
right?: (string | ((props: {
|
|
37
|
+
rootStyle: StyleValue;
|
|
38
|
+
rootClass: string;
|
|
39
|
+
scrollTop: number;
|
|
40
|
+
visibleHeight: number;
|
|
41
|
+
right: string;
|
|
42
|
+
bottom: string;
|
|
43
|
+
}) => string)) | undefined;
|
|
44
|
+
bottom?: (string | ((props: {
|
|
45
|
+
rootStyle: StyleValue;
|
|
46
|
+
rootClass: string;
|
|
47
|
+
scrollTop: number;
|
|
48
|
+
visibleHeight: number;
|
|
49
|
+
right: string;
|
|
50
|
+
bottom: string;
|
|
51
|
+
}) => string)) | undefined;
|
|
13
52
|
};
|
|
14
53
|
export interface BackTopSlots {
|
|
15
54
|
default?(props: Record<string, never>): any;
|
|
@@ -3,6 +3,13 @@ declare function __VLS_template(): Readonly<BadgeSlots> & BadgeSlots;
|
|
|
3
3
|
declare const __VLS_component: import("vue").DefineComponent<BadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
4
4
|
max: number;
|
|
5
5
|
value: number | string;
|
|
6
|
+
fixed: boolean;
|
|
7
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
8
|
+
rootClass: string;
|
|
9
|
+
color: string;
|
|
10
|
+
showZero: boolean;
|
|
11
|
+
textColor: string;
|
|
12
|
+
dot: boolean;
|
|
6
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
8
15
|
export default _default;
|
|
@@ -11,8 +11,105 @@ export interface BadgeProps {
|
|
|
11
11
|
fixed?: boolean;
|
|
12
12
|
}
|
|
13
13
|
export declare const defaultBadgeProps: {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
rootStyle?: (string | false | ((props: {
|
|
15
|
+
rootStyle: StyleValue;
|
|
16
|
+
rootClass: string;
|
|
17
|
+
value: number | string;
|
|
18
|
+
max: number;
|
|
19
|
+
showZero: boolean;
|
|
20
|
+
color: string;
|
|
21
|
+
textColor: string;
|
|
22
|
+
dot: boolean;
|
|
23
|
+
fixed: boolean;
|
|
24
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
25
|
+
rootClass?: (string | ((props: {
|
|
26
|
+
rootStyle: StyleValue;
|
|
27
|
+
rootClass: string;
|
|
28
|
+
value: number | string;
|
|
29
|
+
max: number;
|
|
30
|
+
showZero: boolean;
|
|
31
|
+
color: string;
|
|
32
|
+
textColor: string;
|
|
33
|
+
dot: boolean;
|
|
34
|
+
fixed: boolean;
|
|
35
|
+
}) => string)) | undefined;
|
|
36
|
+
value?: (string | number | ((props: {
|
|
37
|
+
rootStyle: StyleValue;
|
|
38
|
+
rootClass: string;
|
|
39
|
+
value: number | string;
|
|
40
|
+
max: number;
|
|
41
|
+
showZero: boolean;
|
|
42
|
+
color: string;
|
|
43
|
+
textColor: string;
|
|
44
|
+
dot: boolean;
|
|
45
|
+
fixed: boolean;
|
|
46
|
+
}) => string | number)) | undefined;
|
|
47
|
+
max?: (number | ((props: {
|
|
48
|
+
rootStyle: StyleValue;
|
|
49
|
+
rootClass: string;
|
|
50
|
+
value: number | string;
|
|
51
|
+
max: number;
|
|
52
|
+
showZero: boolean;
|
|
53
|
+
color: string;
|
|
54
|
+
textColor: string;
|
|
55
|
+
dot: boolean;
|
|
56
|
+
fixed: boolean;
|
|
57
|
+
}) => number)) | undefined;
|
|
58
|
+
showZero?: (boolean | ((props: {
|
|
59
|
+
rootStyle: StyleValue;
|
|
60
|
+
rootClass: string;
|
|
61
|
+
value: number | string;
|
|
62
|
+
max: number;
|
|
63
|
+
showZero: boolean;
|
|
64
|
+
color: string;
|
|
65
|
+
textColor: string;
|
|
66
|
+
dot: boolean;
|
|
67
|
+
fixed: boolean;
|
|
68
|
+
}) => boolean)) | undefined;
|
|
69
|
+
color?: (string | ((props: {
|
|
70
|
+
rootStyle: StyleValue;
|
|
71
|
+
rootClass: string;
|
|
72
|
+
value: number | string;
|
|
73
|
+
max: number;
|
|
74
|
+
showZero: boolean;
|
|
75
|
+
color: string;
|
|
76
|
+
textColor: string;
|
|
77
|
+
dot: boolean;
|
|
78
|
+
fixed: boolean;
|
|
79
|
+
}) => string)) | undefined;
|
|
80
|
+
textColor?: (string | ((props: {
|
|
81
|
+
rootStyle: StyleValue;
|
|
82
|
+
rootClass: string;
|
|
83
|
+
value: number | string;
|
|
84
|
+
max: number;
|
|
85
|
+
showZero: boolean;
|
|
86
|
+
color: string;
|
|
87
|
+
textColor: string;
|
|
88
|
+
dot: boolean;
|
|
89
|
+
fixed: boolean;
|
|
90
|
+
}) => string)) | undefined;
|
|
91
|
+
dot?: (boolean | ((props: {
|
|
92
|
+
rootStyle: StyleValue;
|
|
93
|
+
rootClass: string;
|
|
94
|
+
value: number | string;
|
|
95
|
+
max: number;
|
|
96
|
+
showZero: boolean;
|
|
97
|
+
color: string;
|
|
98
|
+
textColor: string;
|
|
99
|
+
dot: boolean;
|
|
100
|
+
fixed: boolean;
|
|
101
|
+
}) => boolean)) | undefined;
|
|
102
|
+
fixed?: (boolean | ((props: {
|
|
103
|
+
rootStyle: StyleValue;
|
|
104
|
+
rootClass: string;
|
|
105
|
+
value: number | string;
|
|
106
|
+
max: number;
|
|
107
|
+
showZero: boolean;
|
|
108
|
+
color: string;
|
|
109
|
+
textColor: string;
|
|
110
|
+
dot: boolean;
|
|
111
|
+
fixed: boolean;
|
|
112
|
+
}) => boolean)) | undefined;
|
|
16
113
|
};
|
|
17
114
|
export interface BadgeSlots {
|
|
18
115
|
default?(props: Record<string, never>): any;
|