sard-uniapp 1.24.6 → 1.24.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/CHANGELOG.md +18 -0
- 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-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 +150 -482
- package/components/config/index.js +16 -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/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/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/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/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 +6 -0
- 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/common.d.ts +195 -1
- package/components/upload/upload.d.ts +13 -1
- 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 +7 -1
- package/package.json +1 -1
- package/use/useScrollSpy.js +5 -1
|
@@ -9,8 +9,67 @@ export interface SwiperDotProps {
|
|
|
9
9
|
field?: string;
|
|
10
10
|
}
|
|
11
11
|
export declare const defaultSwiperDotProps: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
rootStyle?: (string | false | ((props: {
|
|
13
|
+
rootStyle: StyleValue;
|
|
14
|
+
rootClass: string;
|
|
15
|
+
type: "dot" | "dot-bar" | "index" | "title" | "fraction";
|
|
16
|
+
current: number;
|
|
17
|
+
total: number;
|
|
18
|
+
list: any[];
|
|
19
|
+
field: string;
|
|
20
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
21
|
+
rootClass?: (string | ((props: {
|
|
22
|
+
rootStyle: StyleValue;
|
|
23
|
+
rootClass: string;
|
|
24
|
+
type: "dot" | "dot-bar" | "index" | "title" | "fraction";
|
|
25
|
+
current: number;
|
|
26
|
+
total: number;
|
|
27
|
+
list: any[];
|
|
28
|
+
field: string;
|
|
29
|
+
}) => string)) | undefined;
|
|
30
|
+
type?: ("title" | "index" | "dot" | "dot-bar" | "fraction" | ((props: {
|
|
31
|
+
rootStyle: StyleValue;
|
|
32
|
+
rootClass: string;
|
|
33
|
+
type: "dot" | "dot-bar" | "index" | "title" | "fraction";
|
|
34
|
+
current: number;
|
|
35
|
+
total: number;
|
|
36
|
+
list: any[];
|
|
37
|
+
field: string;
|
|
38
|
+
}) => "title" | "index" | "dot" | "dot-bar" | "fraction")) | undefined;
|
|
39
|
+
current?: (number | ((props: {
|
|
40
|
+
rootStyle: StyleValue;
|
|
41
|
+
rootClass: string;
|
|
42
|
+
type: "dot" | "dot-bar" | "index" | "title" | "fraction";
|
|
43
|
+
current: number;
|
|
44
|
+
total: number;
|
|
45
|
+
list: any[];
|
|
46
|
+
field: string;
|
|
47
|
+
}) => number)) | undefined;
|
|
48
|
+
total?: (number | ((props: {
|
|
49
|
+
rootStyle: StyleValue;
|
|
50
|
+
rootClass: string;
|
|
51
|
+
type: "dot" | "dot-bar" | "index" | "title" | "fraction";
|
|
52
|
+
current: number;
|
|
53
|
+
total: number;
|
|
54
|
+
list: any[];
|
|
55
|
+
field: string;
|
|
56
|
+
}) => number)) | undefined;
|
|
57
|
+
list?: ((props: {
|
|
58
|
+
rootStyle: StyleValue;
|
|
59
|
+
rootClass: string;
|
|
60
|
+
type: "dot" | "dot-bar" | "index" | "title" | "fraction";
|
|
61
|
+
current: number;
|
|
62
|
+
total: number;
|
|
63
|
+
list: any[];
|
|
64
|
+
field: string;
|
|
65
|
+
}) => any[]) | undefined;
|
|
66
|
+
field?: (string | ((props: {
|
|
67
|
+
rootStyle: StyleValue;
|
|
68
|
+
rootClass: string;
|
|
69
|
+
type: "dot" | "dot-bar" | "index" | "title" | "fraction";
|
|
70
|
+
current: number;
|
|
71
|
+
total: number;
|
|
72
|
+
list: any[];
|
|
73
|
+
field: string;
|
|
74
|
+
}) => string)) | undefined;
|
|
16
75
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { type SwiperDotProps } from './common';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<SwiperDotProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SwiperDotProps> & Readonly<{}>, {
|
|
3
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
4
|
+
rootClass: string;
|
|
3
5
|
type: "dot" | "dot-bar" | "index" | "title" | "fraction";
|
|
4
6
|
total: number;
|
|
5
7
|
current: number;
|
|
8
|
+
list: any[];
|
|
6
9
|
field: string;
|
|
7
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
11
|
export default _default;
|
|
@@ -15,9 +15,159 @@ export interface SwitchProps {
|
|
|
15
15
|
validateEvent?: boolean;
|
|
16
16
|
}
|
|
17
17
|
export declare const defaultSwitchProps: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
rootStyle?: (string | false | ((props: {
|
|
19
|
+
rootStyle: StyleValue;
|
|
20
|
+
rootClass: string;
|
|
21
|
+
modelValue: any;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
readonly: boolean;
|
|
24
|
+
loading: boolean;
|
|
25
|
+
size: string;
|
|
26
|
+
checkedColor: string;
|
|
27
|
+
uncheckedColor: string;
|
|
28
|
+
checkedValue: any;
|
|
29
|
+
uncheckedValue: any;
|
|
30
|
+
beforeUpdate: (value: any) => Promise<any>;
|
|
31
|
+
validateEvent: boolean;
|
|
32
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
33
|
+
rootClass?: (string | ((props: {
|
|
34
|
+
rootStyle: StyleValue;
|
|
35
|
+
rootClass: string;
|
|
36
|
+
modelValue: any;
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
readonly: boolean;
|
|
39
|
+
loading: boolean;
|
|
40
|
+
size: string;
|
|
41
|
+
checkedColor: string;
|
|
42
|
+
uncheckedColor: string;
|
|
43
|
+
checkedValue: any;
|
|
44
|
+
uncheckedValue: any;
|
|
45
|
+
beforeUpdate: (value: any) => Promise<any>;
|
|
46
|
+
validateEvent: boolean;
|
|
47
|
+
}) => string)) | undefined;
|
|
48
|
+
modelValue?: any;
|
|
49
|
+
disabled?: (boolean | ((props: {
|
|
50
|
+
rootStyle: StyleValue;
|
|
51
|
+
rootClass: string;
|
|
52
|
+
modelValue: any;
|
|
53
|
+
disabled: boolean;
|
|
54
|
+
readonly: boolean;
|
|
55
|
+
loading: boolean;
|
|
56
|
+
size: string;
|
|
57
|
+
checkedColor: string;
|
|
58
|
+
uncheckedColor: string;
|
|
59
|
+
checkedValue: any;
|
|
60
|
+
uncheckedValue: any;
|
|
61
|
+
beforeUpdate: (value: any) => Promise<any>;
|
|
62
|
+
validateEvent: boolean;
|
|
63
|
+
}) => boolean)) | undefined;
|
|
64
|
+
readonly?: (boolean | ((props: {
|
|
65
|
+
rootStyle: StyleValue;
|
|
66
|
+
rootClass: string;
|
|
67
|
+
modelValue: any;
|
|
68
|
+
disabled: boolean;
|
|
69
|
+
readonly: boolean;
|
|
70
|
+
loading: boolean;
|
|
71
|
+
size: string;
|
|
72
|
+
checkedColor: string;
|
|
73
|
+
uncheckedColor: string;
|
|
74
|
+
checkedValue: any;
|
|
75
|
+
uncheckedValue: any;
|
|
76
|
+
beforeUpdate: (value: any) => Promise<any>;
|
|
77
|
+
validateEvent: boolean;
|
|
78
|
+
}) => boolean)) | undefined;
|
|
79
|
+
loading?: (boolean | ((props: {
|
|
80
|
+
rootStyle: StyleValue;
|
|
81
|
+
rootClass: string;
|
|
82
|
+
modelValue: any;
|
|
83
|
+
disabled: boolean;
|
|
84
|
+
readonly: boolean;
|
|
85
|
+
loading: boolean;
|
|
86
|
+
size: string;
|
|
87
|
+
checkedColor: string;
|
|
88
|
+
uncheckedColor: string;
|
|
89
|
+
checkedValue: any;
|
|
90
|
+
uncheckedValue: any;
|
|
91
|
+
beforeUpdate: (value: any) => Promise<any>;
|
|
92
|
+
validateEvent: boolean;
|
|
93
|
+
}) => boolean)) | undefined;
|
|
94
|
+
size?: (string | ((props: {
|
|
95
|
+
rootStyle: StyleValue;
|
|
96
|
+
rootClass: string;
|
|
97
|
+
modelValue: any;
|
|
98
|
+
disabled: boolean;
|
|
99
|
+
readonly: boolean;
|
|
100
|
+
loading: boolean;
|
|
101
|
+
size: string;
|
|
102
|
+
checkedColor: string;
|
|
103
|
+
uncheckedColor: string;
|
|
104
|
+
checkedValue: any;
|
|
105
|
+
uncheckedValue: any;
|
|
106
|
+
beforeUpdate: (value: any) => Promise<any>;
|
|
107
|
+
validateEvent: boolean;
|
|
108
|
+
}) => string)) | undefined;
|
|
109
|
+
checkedColor?: (string | ((props: {
|
|
110
|
+
rootStyle: StyleValue;
|
|
111
|
+
rootClass: string;
|
|
112
|
+
modelValue: any;
|
|
113
|
+
disabled: boolean;
|
|
114
|
+
readonly: boolean;
|
|
115
|
+
loading: boolean;
|
|
116
|
+
size: string;
|
|
117
|
+
checkedColor: string;
|
|
118
|
+
uncheckedColor: string;
|
|
119
|
+
checkedValue: any;
|
|
120
|
+
uncheckedValue: any;
|
|
121
|
+
beforeUpdate: (value: any) => Promise<any>;
|
|
122
|
+
validateEvent: boolean;
|
|
123
|
+
}) => string)) | undefined;
|
|
124
|
+
uncheckedColor?: (string | ((props: {
|
|
125
|
+
rootStyle: StyleValue;
|
|
126
|
+
rootClass: string;
|
|
127
|
+
modelValue: any;
|
|
128
|
+
disabled: boolean;
|
|
129
|
+
readonly: boolean;
|
|
130
|
+
loading: boolean;
|
|
131
|
+
size: string;
|
|
132
|
+
checkedColor: string;
|
|
133
|
+
uncheckedColor: string;
|
|
134
|
+
checkedValue: any;
|
|
135
|
+
uncheckedValue: any;
|
|
136
|
+
beforeUpdate: (value: any) => Promise<any>;
|
|
137
|
+
validateEvent: boolean;
|
|
138
|
+
}) => string)) | undefined;
|
|
139
|
+
checkedValue?: any;
|
|
140
|
+
uncheckedValue?: any;
|
|
141
|
+
beforeUpdate?: (((value: any) => Promise<any>) | ((props: {
|
|
142
|
+
rootStyle: StyleValue;
|
|
143
|
+
rootClass: string;
|
|
144
|
+
modelValue: any;
|
|
145
|
+
disabled: boolean;
|
|
146
|
+
readonly: boolean;
|
|
147
|
+
loading: boolean;
|
|
148
|
+
size: string;
|
|
149
|
+
checkedColor: string;
|
|
150
|
+
uncheckedColor: string;
|
|
151
|
+
checkedValue: any;
|
|
152
|
+
uncheckedValue: any;
|
|
153
|
+
beforeUpdate: (value: any) => Promise<any>;
|
|
154
|
+
validateEvent: boolean;
|
|
155
|
+
}) => (value: any) => Promise<any>)) | undefined;
|
|
156
|
+
validateEvent?: (boolean | ((props: {
|
|
157
|
+
rootStyle: StyleValue;
|
|
158
|
+
rootClass: string;
|
|
159
|
+
modelValue: any;
|
|
160
|
+
disabled: boolean;
|
|
161
|
+
readonly: boolean;
|
|
162
|
+
loading: boolean;
|
|
163
|
+
size: string;
|
|
164
|
+
checkedColor: string;
|
|
165
|
+
uncheckedColor: string;
|
|
166
|
+
checkedValue: any;
|
|
167
|
+
uncheckedValue: any;
|
|
168
|
+
beforeUpdate: (value: any) => Promise<any>;
|
|
169
|
+
validateEvent: boolean;
|
|
170
|
+
}) => boolean)) | undefined;
|
|
21
171
|
};
|
|
22
172
|
export interface SwitchEmits {
|
|
23
173
|
(e: 'click', event: any): void;
|
|
@@ -10,8 +10,18 @@ declare const _default: import("vue").DefineComponent<SwitchProps, {}, {}, {}, {
|
|
|
10
10
|
onChange?: ((value: any) => any) | undefined;
|
|
11
11
|
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
+
size: string;
|
|
14
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
15
|
+
rootClass: string;
|
|
16
|
+
modelValue: any;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
readonly: boolean;
|
|
13
20
|
validateEvent: boolean;
|
|
21
|
+
checkedColor: string;
|
|
22
|
+
uncheckedColor: string;
|
|
14
23
|
checkedValue: any;
|
|
15
24
|
uncheckedValue: any;
|
|
25
|
+
beforeUpdate: (value: any) => Promise<any>;
|
|
16
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
27
|
export default _default;
|
|
@@ -10,7 +10,86 @@ export interface TabbarProps {
|
|
|
10
10
|
safeAreaInsetBottom?: boolean;
|
|
11
11
|
}
|
|
12
12
|
export declare const defaultTabbarProps: {
|
|
13
|
-
|
|
13
|
+
rootStyle?: (string | false | ((props: {
|
|
14
|
+
rootStyle: StyleValue;
|
|
15
|
+
rootClass: string;
|
|
16
|
+
current: number | string;
|
|
17
|
+
color: string;
|
|
18
|
+
activeColor: string;
|
|
19
|
+
bordered: boolean;
|
|
20
|
+
fixed: boolean;
|
|
21
|
+
safeAreaInsetBottom: boolean;
|
|
22
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
23
|
+
rootClass?: (string | ((props: {
|
|
24
|
+
rootStyle: StyleValue;
|
|
25
|
+
rootClass: string;
|
|
26
|
+
current: number | string;
|
|
27
|
+
color: string;
|
|
28
|
+
activeColor: string;
|
|
29
|
+
bordered: boolean;
|
|
30
|
+
fixed: boolean;
|
|
31
|
+
safeAreaInsetBottom: boolean;
|
|
32
|
+
}) => string)) | undefined;
|
|
33
|
+
current?: (string | number | ((props: {
|
|
34
|
+
rootStyle: StyleValue;
|
|
35
|
+
rootClass: string;
|
|
36
|
+
current: number | string;
|
|
37
|
+
color: string;
|
|
38
|
+
activeColor: string;
|
|
39
|
+
bordered: boolean;
|
|
40
|
+
fixed: boolean;
|
|
41
|
+
safeAreaInsetBottom: boolean;
|
|
42
|
+
}) => string | number)) | undefined;
|
|
43
|
+
color?: (string | ((props: {
|
|
44
|
+
rootStyle: StyleValue;
|
|
45
|
+
rootClass: string;
|
|
46
|
+
current: number | string;
|
|
47
|
+
color: string;
|
|
48
|
+
activeColor: string;
|
|
49
|
+
bordered: boolean;
|
|
50
|
+
fixed: boolean;
|
|
51
|
+
safeAreaInsetBottom: boolean;
|
|
52
|
+
}) => string)) | undefined;
|
|
53
|
+
activeColor?: (string | ((props: {
|
|
54
|
+
rootStyle: StyleValue;
|
|
55
|
+
rootClass: string;
|
|
56
|
+
current: number | string;
|
|
57
|
+
color: string;
|
|
58
|
+
activeColor: string;
|
|
59
|
+
bordered: boolean;
|
|
60
|
+
fixed: boolean;
|
|
61
|
+
safeAreaInsetBottom: boolean;
|
|
62
|
+
}) => string)) | undefined;
|
|
63
|
+
bordered?: (boolean | ((props: {
|
|
64
|
+
rootStyle: StyleValue;
|
|
65
|
+
rootClass: string;
|
|
66
|
+
current: number | string;
|
|
67
|
+
color: string;
|
|
68
|
+
activeColor: string;
|
|
69
|
+
bordered: boolean;
|
|
70
|
+
fixed: boolean;
|
|
71
|
+
safeAreaInsetBottom: boolean;
|
|
72
|
+
}) => boolean)) | undefined;
|
|
73
|
+
fixed?: (boolean | ((props: {
|
|
74
|
+
rootStyle: StyleValue;
|
|
75
|
+
rootClass: string;
|
|
76
|
+
current: number | string;
|
|
77
|
+
color: string;
|
|
78
|
+
activeColor: string;
|
|
79
|
+
bordered: boolean;
|
|
80
|
+
fixed: boolean;
|
|
81
|
+
safeAreaInsetBottom: boolean;
|
|
82
|
+
}) => boolean)) | undefined;
|
|
83
|
+
safeAreaInsetBottom?: (boolean | ((props: {
|
|
84
|
+
rootStyle: StyleValue;
|
|
85
|
+
rootClass: string;
|
|
86
|
+
current: number | string;
|
|
87
|
+
color: string;
|
|
88
|
+
activeColor: string;
|
|
89
|
+
bordered: boolean;
|
|
90
|
+
fixed: boolean;
|
|
91
|
+
safeAreaInsetBottom: boolean;
|
|
92
|
+
}) => boolean)) | undefined;
|
|
14
93
|
};
|
|
15
94
|
export interface TabbarSlots {
|
|
16
95
|
default?(props: Record<string, never>): any;
|
|
@@ -7,7 +7,14 @@ declare const __VLS_component: import("vue").DefineComponent<TabbarProps, {}, {}
|
|
|
7
7
|
onChange?: ((current: string | number) => any) | undefined;
|
|
8
8
|
"onUpdate:current"?: ((current: string | number) => any) | undefined;
|
|
9
9
|
}>, {
|
|
10
|
+
fixed: boolean;
|
|
11
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
12
|
+
rootClass: string;
|
|
13
|
+
color: string;
|
|
14
|
+
safeAreaInsetBottom: boolean;
|
|
10
15
|
bordered: boolean;
|
|
16
|
+
current: number | string;
|
|
17
|
+
activeColor: string;
|
|
11
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
13
20
|
export default _default;
|
|
@@ -7,8 +7,41 @@ export interface TableProps {
|
|
|
7
7
|
height?: string;
|
|
8
8
|
}
|
|
9
9
|
export declare const defaultTableProps: {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
rootStyle?: (string | false | ((props: {
|
|
11
|
+
rootStyle: StyleValue;
|
|
12
|
+
rootClass: string;
|
|
13
|
+
bordered: boolean;
|
|
14
|
+
underline: boolean;
|
|
15
|
+
height: string;
|
|
16
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
17
|
+
rootClass?: (string | ((props: {
|
|
18
|
+
rootStyle: StyleValue;
|
|
19
|
+
rootClass: string;
|
|
20
|
+
bordered: boolean;
|
|
21
|
+
underline: boolean;
|
|
22
|
+
height: string;
|
|
23
|
+
}) => string)) | undefined;
|
|
24
|
+
bordered?: (boolean | ((props: {
|
|
25
|
+
rootStyle: StyleValue;
|
|
26
|
+
rootClass: string;
|
|
27
|
+
bordered: boolean;
|
|
28
|
+
underline: boolean;
|
|
29
|
+
height: string;
|
|
30
|
+
}) => boolean)) | undefined;
|
|
31
|
+
underline?: (boolean | ((props: {
|
|
32
|
+
rootStyle: StyleValue;
|
|
33
|
+
rootClass: string;
|
|
34
|
+
bordered: boolean;
|
|
35
|
+
underline: boolean;
|
|
36
|
+
height: string;
|
|
37
|
+
}) => boolean)) | undefined;
|
|
38
|
+
height?: (string | ((props: {
|
|
39
|
+
rootStyle: StyleValue;
|
|
40
|
+
rootClass: string;
|
|
41
|
+
bordered: boolean;
|
|
42
|
+
underline: boolean;
|
|
43
|
+
height: string;
|
|
44
|
+
}) => string)) | undefined;
|
|
12
45
|
};
|
|
13
46
|
export interface TableSlots {
|
|
14
47
|
default?(props: Record<string, never>): any;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { type TableProps, type TableSlots } from './common';
|
|
2
2
|
declare function __VLS_template(): Readonly<TableSlots> & TableSlots;
|
|
3
3
|
declare const __VLS_component: import("vue").DefineComponent<TableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TableProps> & Readonly<{}>, {
|
|
4
|
-
|
|
4
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
5
|
+
rootClass: string;
|
|
6
|
+
height: string;
|
|
5
7
|
bordered: boolean;
|
|
8
|
+
underline: boolean;
|
|
6
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
10
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
8
11
|
export default _default;
|
|
@@ -96,9 +96,10 @@ import Tab from 'sard-uniapp/components/tab/tab.vue'
|
|
|
96
96
|
|
|
97
97
|
### TabSlots
|
|
98
98
|
|
|
99
|
-
| 插槽
|
|
100
|
-
|
|
|
101
|
-
| default
|
|
99
|
+
| 插槽 | 描述 | 属性 |
|
|
100
|
+
| ----------------------- | -------------- | ---- |
|
|
101
|
+
| default | 自定义默认内容 | - |
|
|
102
|
+
| line <sup>1.24.7+</sup> | 自定义线条内容 | - |
|
|
102
103
|
|
|
103
104
|
### TabEmits
|
|
104
105
|
|
|
@@ -16,10 +16,58 @@ export interface TabsProps {
|
|
|
16
16
|
scrollable?: boolean;
|
|
17
17
|
}
|
|
18
18
|
export declare const defaultTabsProps: {
|
|
19
|
-
|
|
19
|
+
rootStyle?: (string | false | ((props: {
|
|
20
|
+
rootStyle: StyleValue;
|
|
21
|
+
rootClass: string;
|
|
22
|
+
current: string | number | boolean;
|
|
23
|
+
list: TabOption[];
|
|
24
|
+
type: "line" | "pill" | "card";
|
|
25
|
+
scrollable: boolean;
|
|
26
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
27
|
+
rootClass?: (string | ((props: {
|
|
28
|
+
rootStyle: StyleValue;
|
|
29
|
+
rootClass: string;
|
|
30
|
+
current: string | number | boolean;
|
|
31
|
+
list: TabOption[];
|
|
32
|
+
type: "line" | "pill" | "card";
|
|
33
|
+
scrollable: boolean;
|
|
34
|
+
}) => string)) | undefined;
|
|
35
|
+
current?: (string | number | boolean | ((props: {
|
|
36
|
+
rootStyle: StyleValue;
|
|
37
|
+
rootClass: string;
|
|
38
|
+
current: string | number | boolean;
|
|
39
|
+
list: TabOption[];
|
|
40
|
+
type: "line" | "pill" | "card";
|
|
41
|
+
scrollable: boolean;
|
|
42
|
+
}) => string | number | boolean)) | undefined;
|
|
43
|
+
list?: ((props: {
|
|
44
|
+
rootStyle: StyleValue;
|
|
45
|
+
rootClass: string;
|
|
46
|
+
current: string | number | boolean;
|
|
47
|
+
list: TabOption[];
|
|
48
|
+
type: "line" | "pill" | "card";
|
|
49
|
+
scrollable: boolean;
|
|
50
|
+
}) => TabOption[]) | undefined;
|
|
51
|
+
type?: ("line" | "card" | "pill" | ((props: {
|
|
52
|
+
rootStyle: StyleValue;
|
|
53
|
+
rootClass: string;
|
|
54
|
+
current: string | number | boolean;
|
|
55
|
+
list: TabOption[];
|
|
56
|
+
type: "line" | "pill" | "card";
|
|
57
|
+
scrollable: boolean;
|
|
58
|
+
}) => "line" | "card" | "pill")) | undefined;
|
|
59
|
+
scrollable?: (boolean | ((props: {
|
|
60
|
+
rootStyle: StyleValue;
|
|
61
|
+
rootClass: string;
|
|
62
|
+
current: string | number | boolean;
|
|
63
|
+
list: TabOption[];
|
|
64
|
+
type: "line" | "pill" | "card";
|
|
65
|
+
scrollable: boolean;
|
|
66
|
+
}) => boolean)) | undefined;
|
|
20
67
|
};
|
|
21
68
|
export interface TabsSlots {
|
|
22
69
|
default?(props: Record<string, never>): any;
|
|
70
|
+
line?(props: Record<string, never>): any;
|
|
23
71
|
}
|
|
24
72
|
export interface TabsEmits {
|
|
25
73
|
(e: 'update:current', name: string | number | boolean): void;
|
|
@@ -31,10 +31,11 @@
|
|
|
31
31
|
z-index: 10;
|
|
32
32
|
flex-direction: row;
|
|
33
33
|
justify-content: center;
|
|
34
|
-
align-items:
|
|
34
|
+
align-items: flex-end;
|
|
35
35
|
width: var(--sar-tabs-line-width);
|
|
36
36
|
height: var(--sar-tabs-line-height);
|
|
37
37
|
background: var(--sar-tabs-line-bg);
|
|
38
|
+
line-height: 1;
|
|
38
39
|
pointer-events: none;
|
|
39
40
|
transform: translateX(-50%);
|
|
40
41
|
transition: left var(--sar-tabs-line-transition-duration);
|
|
@@ -7,7 +7,12 @@ declare const __VLS_component: import("vue").DefineComponent<TabsProps, {}, {},
|
|
|
7
7
|
onChange?: ((name: string | number | boolean) => any) | undefined;
|
|
8
8
|
"onUpdate:current"?: ((name: string | number | boolean) => any) | undefined;
|
|
9
9
|
}>, {
|
|
10
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
11
|
+
rootClass: string;
|
|
10
12
|
type: "line" | "pill" | "card";
|
|
13
|
+
scrollable: boolean;
|
|
14
|
+
current: string | number | boolean;
|
|
15
|
+
list: import("./common").TabOption[];
|
|
11
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
13
18
|
export default _default;
|
package/components/tabs/tabs.vue
CHANGED
|
@@ -12,8 +12,126 @@ export interface TagProps {
|
|
|
12
12
|
closable?: boolean;
|
|
13
13
|
}
|
|
14
14
|
export declare const defaultTagProps: {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
rootStyle?: (string | false | ((props: {
|
|
16
|
+
rootStyle: StyleValue;
|
|
17
|
+
rootClass: string;
|
|
18
|
+
theme: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger";
|
|
19
|
+
plain: boolean;
|
|
20
|
+
round: boolean;
|
|
21
|
+
mark: boolean | "left" | "right";
|
|
22
|
+
size: "small" | "medium" | "large";
|
|
23
|
+
color: string;
|
|
24
|
+
textColor: string;
|
|
25
|
+
closable: boolean;
|
|
26
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
27
|
+
rootClass?: (string | ((props: {
|
|
28
|
+
rootStyle: StyleValue;
|
|
29
|
+
rootClass: string;
|
|
30
|
+
theme: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger";
|
|
31
|
+
plain: boolean;
|
|
32
|
+
round: boolean;
|
|
33
|
+
mark: boolean | "left" | "right";
|
|
34
|
+
size: "small" | "medium" | "large";
|
|
35
|
+
color: string;
|
|
36
|
+
textColor: string;
|
|
37
|
+
closable: boolean;
|
|
38
|
+
}) => string)) | undefined;
|
|
39
|
+
theme?: ("success" | "default" | "primary" | "warning" | "danger" | "secondary" | "info" | ((props: {
|
|
40
|
+
rootStyle: StyleValue;
|
|
41
|
+
rootClass: string;
|
|
42
|
+
theme: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger";
|
|
43
|
+
plain: boolean;
|
|
44
|
+
round: boolean;
|
|
45
|
+
mark: boolean | "left" | "right";
|
|
46
|
+
size: "small" | "medium" | "large";
|
|
47
|
+
color: string;
|
|
48
|
+
textColor: string;
|
|
49
|
+
closable: boolean;
|
|
50
|
+
}) => "success" | "default" | "primary" | "warning" | "danger" | "secondary" | "info")) | undefined;
|
|
51
|
+
plain?: (boolean | ((props: {
|
|
52
|
+
rootStyle: StyleValue;
|
|
53
|
+
rootClass: string;
|
|
54
|
+
theme: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger";
|
|
55
|
+
plain: boolean;
|
|
56
|
+
round: boolean;
|
|
57
|
+
mark: boolean | "left" | "right";
|
|
58
|
+
size: "small" | "medium" | "large";
|
|
59
|
+
color: string;
|
|
60
|
+
textColor: string;
|
|
61
|
+
closable: boolean;
|
|
62
|
+
}) => boolean)) | undefined;
|
|
63
|
+
round?: (boolean | ((props: {
|
|
64
|
+
rootStyle: StyleValue;
|
|
65
|
+
rootClass: string;
|
|
66
|
+
theme: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger";
|
|
67
|
+
plain: boolean;
|
|
68
|
+
round: boolean;
|
|
69
|
+
mark: boolean | "left" | "right";
|
|
70
|
+
size: "small" | "medium" | "large";
|
|
71
|
+
color: string;
|
|
72
|
+
textColor: string;
|
|
73
|
+
closable: boolean;
|
|
74
|
+
}) => boolean)) | undefined;
|
|
75
|
+
mark?: (boolean | "left" | "right" | ((props: {
|
|
76
|
+
rootStyle: StyleValue;
|
|
77
|
+
rootClass: string;
|
|
78
|
+
theme: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger";
|
|
79
|
+
plain: boolean;
|
|
80
|
+
round: boolean;
|
|
81
|
+
mark: boolean | "left" | "right";
|
|
82
|
+
size: "small" | "medium" | "large";
|
|
83
|
+
color: string;
|
|
84
|
+
textColor: string;
|
|
85
|
+
closable: boolean;
|
|
86
|
+
}) => boolean | "left" | "right")) | undefined;
|
|
87
|
+
size?: ("small" | "medium" | "large" | ((props: {
|
|
88
|
+
rootStyle: StyleValue;
|
|
89
|
+
rootClass: string;
|
|
90
|
+
theme: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger";
|
|
91
|
+
plain: boolean;
|
|
92
|
+
round: boolean;
|
|
93
|
+
mark: boolean | "left" | "right";
|
|
94
|
+
size: "small" | "medium" | "large";
|
|
95
|
+
color: string;
|
|
96
|
+
textColor: string;
|
|
97
|
+
closable: boolean;
|
|
98
|
+
}) => "small" | "medium" | "large")) | undefined;
|
|
99
|
+
color?: (string | ((props: {
|
|
100
|
+
rootStyle: StyleValue;
|
|
101
|
+
rootClass: string;
|
|
102
|
+
theme: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger";
|
|
103
|
+
plain: boolean;
|
|
104
|
+
round: boolean;
|
|
105
|
+
mark: boolean | "left" | "right";
|
|
106
|
+
size: "small" | "medium" | "large";
|
|
107
|
+
color: string;
|
|
108
|
+
textColor: string;
|
|
109
|
+
closable: boolean;
|
|
110
|
+
}) => string)) | undefined;
|
|
111
|
+
textColor?: (string | ((props: {
|
|
112
|
+
rootStyle: StyleValue;
|
|
113
|
+
rootClass: string;
|
|
114
|
+
theme: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger";
|
|
115
|
+
plain: boolean;
|
|
116
|
+
round: boolean;
|
|
117
|
+
mark: boolean | "left" | "right";
|
|
118
|
+
size: "small" | "medium" | "large";
|
|
119
|
+
color: string;
|
|
120
|
+
textColor: string;
|
|
121
|
+
closable: boolean;
|
|
122
|
+
}) => string)) | undefined;
|
|
123
|
+
closable?: (boolean | ((props: {
|
|
124
|
+
rootStyle: StyleValue;
|
|
125
|
+
rootClass: string;
|
|
126
|
+
theme: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger";
|
|
127
|
+
plain: boolean;
|
|
128
|
+
round: boolean;
|
|
129
|
+
mark: boolean | "left" | "right";
|
|
130
|
+
size: "small" | "medium" | "large";
|
|
131
|
+
color: string;
|
|
132
|
+
textColor: string;
|
|
133
|
+
closable: boolean;
|
|
134
|
+
}) => boolean)) | undefined;
|
|
17
135
|
};
|
|
18
136
|
export interface TagSlots {
|
|
19
137
|
default?(props: Record<string, never>): any;
|