sard-uniapp 1.24.5 → 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 +28 -0
- package/components/accordion-item/index.scss +2 -2
- package/components/action-sheet/action-sheet.d.ts +8 -1
- package/components/action-sheet/common.d.ts +99 -2
- package/components/action-sheet/index.scss +4 -4
- 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/index.scss +2 -2
- 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/back-top/index.scss +1 -1
- package/components/badge/badge.d.ts +7 -0
- package/components/badge/common.d.ts +99 -2
- package/components/badge/index.scss +1 -1
- package/components/button/button.d.ts +22 -0
- package/components/button/common.d.ts +960 -8
- package/components/button/index.scss +2 -2
- 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-month/index.scss +3 -3
- package/components/calendar-popout/calendar-popout.d.ts +22 -2
- package/components/calendar-popout/common.d.ts +675 -5
- package/components/card/index.scss +2 -2
- package/components/cascader/index.scss +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/check-icon/index.scss +1 -1
- 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/checkbox-input.vue +6 -2
- 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/index.scss +1 -1
- 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/index.scss +1 -1
- 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/dropdown/index.scss +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/fab/index.scss +1 -0
- package/components/fab-item/index.scss +1 -1
- package/components/floating-bubble/common.d.ts +153 -4
- package/components/floating-bubble/floating-bubble.d.ts +10 -1
- package/components/floating-bubble/index.scss +1 -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/index.scss +1 -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/grid-item/index.scss +2 -2
- 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/indexes-anchor/index.scss +1 -1
- package/components/indexes-nav/index.scss +2 -2
- package/components/input/common.d.ts +2400 -14
- package/components/input/index.scss +2 -2
- package/components/input/input.d.ts +36 -2
- package/components/keyboard/common.d.ts +24 -2
- package/components/keyboard/index.scss +5 -5
- package/components/keyboard/keyboard.d.ts +2 -0
- package/components/list/common.d.ts +168 -1
- package/components/list-item/index.scss +2 -2
- 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/menu-item/index.scss +2 -2
- package/components/notice-bar/common.d.ts +195 -4
- package/components/notice-bar/index.scss +3 -2
- 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/index.scss +1 -1
- package/components/overlay/overlay.d.ts +6 -0
- package/components/pagination/common.d.ts +143 -6
- package/components/pagination/index.scss +2 -2
- package/components/pagination/pagination.d.ts +6 -1
- package/components/password-input/common.d.ts +168 -3
- package/components/password-input/index.scss +6 -7
- package/components/password-input/password-input.d.ts +9 -0
- package/components/picker/common.d.ts +46 -1
- package/components/picker/common.js +2 -1
- package/components/picker/picker.d.ts +5 -0
- package/components/picker/picker.vue +11 -14
- package/components/picker-input/README.md +4 -0
- package/components/picker-input/common.d.ts +599 -4
- package/components/picker-input/picker-input.d.ts +21 -1
- package/components/picker-input/picker-input.vue +2 -2
- package/components/picker-popout/README.md +4 -0
- package/components/picker-popout/common.d.ts +181 -3
- package/components/picker-popout/picker-popout.d.ts +10 -0
- package/components/picker-popout/picker-popout.vue +7 -7
- package/components/popout/common.d.ts +288 -6
- package/components/popout/index.scss +1 -1
- 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/index.scss +3 -3
- 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/index.scss +5 -5
- package/components/progress-bar/progress-bar.d.ts +9 -0
- package/components/progress-circle/common.d.ts +80 -2
- package/components/progress-circle/index.scss +1 -1
- 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-list/index.scss +2 -2
- 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/index.scss +3 -3
- package/components/search/search.d.ts +12 -0
- package/components/segmented/common.d.ts +131 -4
- package/components/segmented/index.scss +2 -2
- package/components/segmented/segmented.d.ts +8 -1
- package/components/segmented-item/index.scss +1 -1
- package/components/share-sheet/common.d.ts +120 -2
- package/components/share-sheet/index.scss +4 -4
- package/components/share-sheet/share-sheet.d.ts +9 -1
- package/components/sidebar-item/index.scss +1 -1
- package/components/signature/common.d.ts +255 -7
- package/components/signature/index.scss +2 -2
- package/components/signature/signature.d.ts +9 -1
- package/components/skeleton/common.d.ts +120 -2
- package/components/skeleton/index.scss +1 -1
- package/components/skeleton/skeleton.d.ts +8 -0
- package/components/skeleton-block/index.scss +1 -1
- package/components/slider/common.d.ts +528 -4
- package/components/slider/index.scss +7 -7
- 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/step/index.scss +3 -3
- package/components/stepper/common.d.ts +360 -9
- package/components/stepper/index.scss +4 -4
- 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/index.scss +4 -4
- package/components/swiper-dot/swiper-dot.d.ts +3 -0
- package/components/switch/common.d.ts +153 -3
- package/components/switch/index.scss +3 -3
- package/components/switch/switch.d.ts +10 -0
- package/components/tab/index.scss +3 -2
- package/components/tabbar/common.d.ts +80 -1
- package/components/tabbar/index.scss +1 -1
- package/components/tabbar/tabbar.d.ts +7 -0
- package/components/table/common.d.ts +35 -2
- package/components/table/index.scss +1 -1
- package/components/table/table.d.ts +4 -1
- package/components/table-cell/index.scss +1 -1
- package/components/table-row/index.scss +1 -1
- package/components/tabs/README.md +4 -3
- package/components/tabs/common.d.ts +49 -1
- package/components/tabs/index.scss +3 -2
- 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/timeline-item/index.scss +2 -2
- package/components/toast/common.d.ts +120 -6
- package/components/toast/index.scss +1 -1
- 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 +14 -1
- 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 +9 -3
- package/components/tree-node/tree-node.vue +46 -12
- package/components/upload/common.d.ts +195 -1
- package/components/upload/index.scss +2 -2
- package/components/upload/upload.d.ts +13 -1
- package/components/upload-preview/index.scss +5 -5
- 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
- package/utils/dom.js +20 -15
- package/dev/mp-alipay/mini.project.json +0 -14
|
@@ -29,13 +29,625 @@ export interface FabProps {
|
|
|
29
29
|
}
|
|
30
30
|
export declare const defaultFabProps: () => {
|
|
31
31
|
itemList: () => never[];
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
rootStyle?: (string | false | ((props: {
|
|
33
|
+
rootStyle: StyleValue;
|
|
34
|
+
rootClass: string;
|
|
35
|
+
top: string;
|
|
36
|
+
right: string;
|
|
37
|
+
bottom: string;
|
|
38
|
+
left: string;
|
|
39
|
+
color: string;
|
|
40
|
+
background: string;
|
|
41
|
+
icon: string;
|
|
42
|
+
visibleIcon: string;
|
|
43
|
+
iconFamily: string;
|
|
44
|
+
itemList: FabItem[];
|
|
45
|
+
hideName: boolean;
|
|
46
|
+
overlayClosable: boolean;
|
|
47
|
+
duration: number;
|
|
48
|
+
draggable: boolean;
|
|
49
|
+
axis: "x" | "y" | "both" | "none";
|
|
50
|
+
magnet: "x" | "y";
|
|
51
|
+
gapX: number;
|
|
52
|
+
gapY: number;
|
|
53
|
+
offset: {
|
|
54
|
+
x: number;
|
|
55
|
+
y: number;
|
|
56
|
+
};
|
|
57
|
+
navbarHeight: number;
|
|
58
|
+
tabbarHeight: number;
|
|
59
|
+
}) => string | false | import("vue").CSSProperties | StyleValue[]) | null) | undefined;
|
|
60
|
+
rootClass?: (string | ((props: {
|
|
61
|
+
rootStyle: StyleValue;
|
|
62
|
+
rootClass: string;
|
|
63
|
+
top: string;
|
|
64
|
+
right: string;
|
|
65
|
+
bottom: string;
|
|
66
|
+
left: string;
|
|
67
|
+
color: string;
|
|
68
|
+
background: string;
|
|
69
|
+
icon: string;
|
|
70
|
+
visibleIcon: string;
|
|
71
|
+
iconFamily: string;
|
|
72
|
+
itemList: FabItem[];
|
|
73
|
+
hideName: boolean;
|
|
74
|
+
overlayClosable: boolean;
|
|
75
|
+
duration: number;
|
|
76
|
+
draggable: boolean;
|
|
77
|
+
axis: "x" | "y" | "both" | "none";
|
|
78
|
+
magnet: "x" | "y";
|
|
79
|
+
gapX: number;
|
|
80
|
+
gapY: number;
|
|
81
|
+
offset: {
|
|
82
|
+
x: number;
|
|
83
|
+
y: number;
|
|
84
|
+
};
|
|
85
|
+
navbarHeight: number;
|
|
86
|
+
tabbarHeight: number;
|
|
87
|
+
}) => string)) | undefined;
|
|
88
|
+
top?: (string | ((props: {
|
|
89
|
+
rootStyle: StyleValue;
|
|
90
|
+
rootClass: string;
|
|
91
|
+
top: string;
|
|
92
|
+
right: string;
|
|
93
|
+
bottom: string;
|
|
94
|
+
left: string;
|
|
95
|
+
color: string;
|
|
96
|
+
background: string;
|
|
97
|
+
icon: string;
|
|
98
|
+
visibleIcon: string;
|
|
99
|
+
iconFamily: string;
|
|
100
|
+
itemList: FabItem[];
|
|
101
|
+
hideName: boolean;
|
|
102
|
+
overlayClosable: boolean;
|
|
103
|
+
duration: number;
|
|
104
|
+
draggable: boolean;
|
|
105
|
+
axis: "x" | "y" | "both" | "none";
|
|
106
|
+
magnet: "x" | "y";
|
|
107
|
+
gapX: number;
|
|
108
|
+
gapY: number;
|
|
109
|
+
offset: {
|
|
110
|
+
x: number;
|
|
111
|
+
y: number;
|
|
112
|
+
};
|
|
113
|
+
navbarHeight: number;
|
|
114
|
+
tabbarHeight: number;
|
|
115
|
+
}) => string)) | undefined;
|
|
116
|
+
right?: (string | ((props: {
|
|
117
|
+
rootStyle: StyleValue;
|
|
118
|
+
rootClass: string;
|
|
119
|
+
top: string;
|
|
120
|
+
right: string;
|
|
121
|
+
bottom: string;
|
|
122
|
+
left: string;
|
|
123
|
+
color: string;
|
|
124
|
+
background: string;
|
|
125
|
+
icon: string;
|
|
126
|
+
visibleIcon: string;
|
|
127
|
+
iconFamily: string;
|
|
128
|
+
itemList: FabItem[];
|
|
129
|
+
hideName: boolean;
|
|
130
|
+
overlayClosable: boolean;
|
|
131
|
+
duration: number;
|
|
132
|
+
draggable: boolean;
|
|
133
|
+
axis: "x" | "y" | "both" | "none";
|
|
134
|
+
magnet: "x" | "y";
|
|
135
|
+
gapX: number;
|
|
136
|
+
gapY: number;
|
|
137
|
+
offset: {
|
|
138
|
+
x: number;
|
|
139
|
+
y: number;
|
|
140
|
+
};
|
|
141
|
+
navbarHeight: number;
|
|
142
|
+
tabbarHeight: number;
|
|
143
|
+
}) => string)) | undefined;
|
|
144
|
+
bottom?: (string | ((props: {
|
|
145
|
+
rootStyle: StyleValue;
|
|
146
|
+
rootClass: string;
|
|
147
|
+
top: string;
|
|
148
|
+
right: string;
|
|
149
|
+
bottom: string;
|
|
150
|
+
left: string;
|
|
151
|
+
color: string;
|
|
152
|
+
background: string;
|
|
153
|
+
icon: string;
|
|
154
|
+
visibleIcon: string;
|
|
155
|
+
iconFamily: string;
|
|
156
|
+
itemList: FabItem[];
|
|
157
|
+
hideName: boolean;
|
|
158
|
+
overlayClosable: boolean;
|
|
159
|
+
duration: number;
|
|
160
|
+
draggable: boolean;
|
|
161
|
+
axis: "x" | "y" | "both" | "none";
|
|
162
|
+
magnet: "x" | "y";
|
|
163
|
+
gapX: number;
|
|
164
|
+
gapY: number;
|
|
165
|
+
offset: {
|
|
166
|
+
x: number;
|
|
167
|
+
y: number;
|
|
168
|
+
};
|
|
169
|
+
navbarHeight: number;
|
|
170
|
+
tabbarHeight: number;
|
|
171
|
+
}) => string)) | undefined;
|
|
172
|
+
left?: (string | ((props: {
|
|
173
|
+
rootStyle: StyleValue;
|
|
174
|
+
rootClass: string;
|
|
175
|
+
top: string;
|
|
176
|
+
right: string;
|
|
177
|
+
bottom: string;
|
|
178
|
+
left: string;
|
|
179
|
+
color: string;
|
|
180
|
+
background: string;
|
|
181
|
+
icon: string;
|
|
182
|
+
visibleIcon: string;
|
|
183
|
+
iconFamily: string;
|
|
184
|
+
itemList: FabItem[];
|
|
185
|
+
hideName: boolean;
|
|
186
|
+
overlayClosable: boolean;
|
|
187
|
+
duration: number;
|
|
188
|
+
draggable: boolean;
|
|
189
|
+
axis: "x" | "y" | "both" | "none";
|
|
190
|
+
magnet: "x" | "y";
|
|
191
|
+
gapX: number;
|
|
192
|
+
gapY: number;
|
|
193
|
+
offset: {
|
|
194
|
+
x: number;
|
|
195
|
+
y: number;
|
|
196
|
+
};
|
|
197
|
+
navbarHeight: number;
|
|
198
|
+
tabbarHeight: number;
|
|
199
|
+
}) => string)) | undefined;
|
|
200
|
+
color?: (string | ((props: {
|
|
201
|
+
rootStyle: StyleValue;
|
|
202
|
+
rootClass: string;
|
|
203
|
+
top: string;
|
|
204
|
+
right: string;
|
|
205
|
+
bottom: string;
|
|
206
|
+
left: string;
|
|
207
|
+
color: string;
|
|
208
|
+
background: string;
|
|
209
|
+
icon: string;
|
|
210
|
+
visibleIcon: string;
|
|
211
|
+
iconFamily: string;
|
|
212
|
+
itemList: FabItem[];
|
|
213
|
+
hideName: boolean;
|
|
214
|
+
overlayClosable: boolean;
|
|
215
|
+
duration: number;
|
|
216
|
+
draggable: boolean;
|
|
217
|
+
axis: "x" | "y" | "both" | "none";
|
|
218
|
+
magnet: "x" | "y";
|
|
219
|
+
gapX: number;
|
|
220
|
+
gapY: number;
|
|
221
|
+
offset: {
|
|
222
|
+
x: number;
|
|
223
|
+
y: number;
|
|
224
|
+
};
|
|
225
|
+
navbarHeight: number;
|
|
226
|
+
tabbarHeight: number;
|
|
227
|
+
}) => string)) | undefined;
|
|
228
|
+
background?: (string | ((props: {
|
|
229
|
+
rootStyle: StyleValue;
|
|
230
|
+
rootClass: string;
|
|
231
|
+
top: string;
|
|
232
|
+
right: string;
|
|
233
|
+
bottom: string;
|
|
234
|
+
left: string;
|
|
235
|
+
color: string;
|
|
236
|
+
background: string;
|
|
237
|
+
icon: string;
|
|
238
|
+
visibleIcon: string;
|
|
239
|
+
iconFamily: string;
|
|
240
|
+
itemList: FabItem[];
|
|
241
|
+
hideName: boolean;
|
|
242
|
+
overlayClosable: boolean;
|
|
243
|
+
duration: number;
|
|
244
|
+
draggable: boolean;
|
|
245
|
+
axis: "x" | "y" | "both" | "none";
|
|
246
|
+
magnet: "x" | "y";
|
|
247
|
+
gapX: number;
|
|
248
|
+
gapY: number;
|
|
249
|
+
offset: {
|
|
250
|
+
x: number;
|
|
251
|
+
y: number;
|
|
252
|
+
};
|
|
253
|
+
navbarHeight: number;
|
|
254
|
+
tabbarHeight: number;
|
|
255
|
+
}) => string)) | undefined;
|
|
256
|
+
icon?: (string | ((props: {
|
|
257
|
+
rootStyle: StyleValue;
|
|
258
|
+
rootClass: string;
|
|
259
|
+
top: string;
|
|
260
|
+
right: string;
|
|
261
|
+
bottom: string;
|
|
262
|
+
left: string;
|
|
263
|
+
color: string;
|
|
264
|
+
background: string;
|
|
265
|
+
icon: string;
|
|
266
|
+
visibleIcon: string;
|
|
267
|
+
iconFamily: string;
|
|
268
|
+
itemList: FabItem[];
|
|
269
|
+
hideName: boolean;
|
|
270
|
+
overlayClosable: boolean;
|
|
271
|
+
duration: number;
|
|
272
|
+
draggable: boolean;
|
|
273
|
+
axis: "x" | "y" | "both" | "none";
|
|
274
|
+
magnet: "x" | "y";
|
|
275
|
+
gapX: number;
|
|
276
|
+
gapY: number;
|
|
277
|
+
offset: {
|
|
278
|
+
x: number;
|
|
279
|
+
y: number;
|
|
280
|
+
};
|
|
281
|
+
navbarHeight: number;
|
|
282
|
+
tabbarHeight: number;
|
|
283
|
+
}) => string)) | undefined;
|
|
284
|
+
visibleIcon?: (string | ((props: {
|
|
285
|
+
rootStyle: StyleValue;
|
|
286
|
+
rootClass: string;
|
|
287
|
+
top: string;
|
|
288
|
+
right: string;
|
|
289
|
+
bottom: string;
|
|
290
|
+
left: string;
|
|
291
|
+
color: string;
|
|
292
|
+
background: string;
|
|
293
|
+
icon: string;
|
|
294
|
+
visibleIcon: string;
|
|
295
|
+
iconFamily: string;
|
|
296
|
+
itemList: FabItem[];
|
|
297
|
+
hideName: boolean;
|
|
298
|
+
overlayClosable: boolean;
|
|
299
|
+
duration: number;
|
|
300
|
+
draggable: boolean;
|
|
301
|
+
axis: "x" | "y" | "both" | "none";
|
|
302
|
+
magnet: "x" | "y";
|
|
303
|
+
gapX: number;
|
|
304
|
+
gapY: number;
|
|
305
|
+
offset: {
|
|
306
|
+
x: number;
|
|
307
|
+
y: number;
|
|
308
|
+
};
|
|
309
|
+
navbarHeight: number;
|
|
310
|
+
tabbarHeight: number;
|
|
311
|
+
}) => string)) | undefined;
|
|
312
|
+
iconFamily?: (string | ((props: {
|
|
313
|
+
rootStyle: StyleValue;
|
|
314
|
+
rootClass: string;
|
|
315
|
+
top: string;
|
|
316
|
+
right: string;
|
|
317
|
+
bottom: string;
|
|
318
|
+
left: string;
|
|
319
|
+
color: string;
|
|
320
|
+
background: string;
|
|
321
|
+
icon: string;
|
|
322
|
+
visibleIcon: string;
|
|
323
|
+
iconFamily: string;
|
|
324
|
+
itemList: FabItem[];
|
|
325
|
+
hideName: boolean;
|
|
326
|
+
overlayClosable: boolean;
|
|
327
|
+
duration: number;
|
|
328
|
+
draggable: boolean;
|
|
329
|
+
axis: "x" | "y" | "both" | "none";
|
|
330
|
+
magnet: "x" | "y";
|
|
331
|
+
gapX: number;
|
|
332
|
+
gapY: number;
|
|
333
|
+
offset: {
|
|
334
|
+
x: number;
|
|
335
|
+
y: number;
|
|
336
|
+
};
|
|
337
|
+
navbarHeight: number;
|
|
338
|
+
tabbarHeight: number;
|
|
339
|
+
}) => string)) | undefined;
|
|
340
|
+
hideName?: (boolean | ((props: {
|
|
341
|
+
rootStyle: StyleValue;
|
|
342
|
+
rootClass: string;
|
|
343
|
+
top: string;
|
|
344
|
+
right: string;
|
|
345
|
+
bottom: string;
|
|
346
|
+
left: string;
|
|
347
|
+
color: string;
|
|
348
|
+
background: string;
|
|
349
|
+
icon: string;
|
|
350
|
+
visibleIcon: string;
|
|
351
|
+
iconFamily: string;
|
|
352
|
+
itemList: FabItem[];
|
|
353
|
+
hideName: boolean;
|
|
354
|
+
overlayClosable: boolean;
|
|
355
|
+
duration: number;
|
|
356
|
+
draggable: boolean;
|
|
357
|
+
axis: "x" | "y" | "both" | "none";
|
|
358
|
+
magnet: "x" | "y";
|
|
359
|
+
gapX: number;
|
|
360
|
+
gapY: number;
|
|
361
|
+
offset: {
|
|
362
|
+
x: number;
|
|
363
|
+
y: number;
|
|
364
|
+
};
|
|
365
|
+
navbarHeight: number;
|
|
366
|
+
tabbarHeight: number;
|
|
367
|
+
}) => boolean)) | undefined;
|
|
368
|
+
overlayClosable?: (boolean | ((props: {
|
|
369
|
+
rootStyle: StyleValue;
|
|
370
|
+
rootClass: string;
|
|
371
|
+
top: string;
|
|
372
|
+
right: string;
|
|
373
|
+
bottom: string;
|
|
374
|
+
left: string;
|
|
375
|
+
color: string;
|
|
376
|
+
background: string;
|
|
377
|
+
icon: string;
|
|
378
|
+
visibleIcon: string;
|
|
379
|
+
iconFamily: string;
|
|
380
|
+
itemList: FabItem[];
|
|
381
|
+
hideName: boolean;
|
|
382
|
+
overlayClosable: boolean;
|
|
383
|
+
duration: number;
|
|
384
|
+
draggable: boolean;
|
|
385
|
+
axis: "x" | "y" | "both" | "none";
|
|
386
|
+
magnet: "x" | "y";
|
|
387
|
+
gapX: number;
|
|
388
|
+
gapY: number;
|
|
389
|
+
offset: {
|
|
390
|
+
x: number;
|
|
391
|
+
y: number;
|
|
392
|
+
};
|
|
393
|
+
navbarHeight: number;
|
|
394
|
+
tabbarHeight: number;
|
|
395
|
+
}) => boolean)) | undefined;
|
|
396
|
+
duration?: (number | ((props: {
|
|
397
|
+
rootStyle: StyleValue;
|
|
398
|
+
rootClass: string;
|
|
399
|
+
top: string;
|
|
400
|
+
right: string;
|
|
401
|
+
bottom: string;
|
|
402
|
+
left: string;
|
|
403
|
+
color: string;
|
|
404
|
+
background: string;
|
|
405
|
+
icon: string;
|
|
406
|
+
visibleIcon: string;
|
|
407
|
+
iconFamily: string;
|
|
408
|
+
itemList: FabItem[];
|
|
409
|
+
hideName: boolean;
|
|
410
|
+
overlayClosable: boolean;
|
|
411
|
+
duration: number;
|
|
412
|
+
draggable: boolean;
|
|
413
|
+
axis: "x" | "y" | "both" | "none";
|
|
414
|
+
magnet: "x" | "y";
|
|
415
|
+
gapX: number;
|
|
416
|
+
gapY: number;
|
|
417
|
+
offset: {
|
|
418
|
+
x: number;
|
|
419
|
+
y: number;
|
|
420
|
+
};
|
|
421
|
+
navbarHeight: number;
|
|
422
|
+
tabbarHeight: number;
|
|
423
|
+
}) => number)) | undefined;
|
|
424
|
+
draggable?: (boolean | ((props: {
|
|
425
|
+
rootStyle: StyleValue;
|
|
426
|
+
rootClass: string;
|
|
427
|
+
top: string;
|
|
428
|
+
right: string;
|
|
429
|
+
bottom: string;
|
|
430
|
+
left: string;
|
|
431
|
+
color: string;
|
|
432
|
+
background: string;
|
|
433
|
+
icon: string;
|
|
434
|
+
visibleIcon: string;
|
|
435
|
+
iconFamily: string;
|
|
436
|
+
itemList: FabItem[];
|
|
437
|
+
hideName: boolean;
|
|
438
|
+
overlayClosable: boolean;
|
|
439
|
+
duration: number;
|
|
440
|
+
draggable: boolean;
|
|
441
|
+
axis: "x" | "y" | "both" | "none";
|
|
442
|
+
magnet: "x" | "y";
|
|
443
|
+
gapX: number;
|
|
444
|
+
gapY: number;
|
|
445
|
+
offset: {
|
|
446
|
+
x: number;
|
|
447
|
+
y: number;
|
|
448
|
+
};
|
|
449
|
+
navbarHeight: number;
|
|
450
|
+
tabbarHeight: number;
|
|
451
|
+
}) => boolean)) | undefined;
|
|
452
|
+
axis?: ("x" | "y" | "none" | "both" | ((props: {
|
|
453
|
+
rootStyle: StyleValue;
|
|
454
|
+
rootClass: string;
|
|
455
|
+
top: string;
|
|
456
|
+
right: string;
|
|
457
|
+
bottom: string;
|
|
458
|
+
left: string;
|
|
459
|
+
color: string;
|
|
460
|
+
background: string;
|
|
461
|
+
icon: string;
|
|
462
|
+
visibleIcon: string;
|
|
463
|
+
iconFamily: string;
|
|
464
|
+
itemList: FabItem[];
|
|
465
|
+
hideName: boolean;
|
|
466
|
+
overlayClosable: boolean;
|
|
467
|
+
duration: number;
|
|
468
|
+
draggable: boolean;
|
|
469
|
+
axis: "x" | "y" | "both" | "none";
|
|
470
|
+
magnet: "x" | "y";
|
|
471
|
+
gapX: number;
|
|
472
|
+
gapY: number;
|
|
473
|
+
offset: {
|
|
474
|
+
x: number;
|
|
475
|
+
y: number;
|
|
476
|
+
};
|
|
477
|
+
navbarHeight: number;
|
|
478
|
+
tabbarHeight: number;
|
|
479
|
+
}) => "x" | "y" | "none" | "both")) | undefined;
|
|
480
|
+
magnet?: ("x" | "y" | ((props: {
|
|
481
|
+
rootStyle: StyleValue;
|
|
482
|
+
rootClass: string;
|
|
483
|
+
top: string;
|
|
484
|
+
right: string;
|
|
485
|
+
bottom: string;
|
|
486
|
+
left: string;
|
|
487
|
+
color: string;
|
|
488
|
+
background: string;
|
|
489
|
+
icon: string;
|
|
490
|
+
visibleIcon: string;
|
|
491
|
+
iconFamily: string;
|
|
492
|
+
itemList: FabItem[];
|
|
493
|
+
hideName: boolean;
|
|
494
|
+
overlayClosable: boolean;
|
|
495
|
+
duration: number;
|
|
496
|
+
draggable: boolean;
|
|
497
|
+
axis: "x" | "y" | "both" | "none";
|
|
498
|
+
magnet: "x" | "y";
|
|
499
|
+
gapX: number;
|
|
500
|
+
gapY: number;
|
|
501
|
+
offset: {
|
|
502
|
+
x: number;
|
|
503
|
+
y: number;
|
|
504
|
+
};
|
|
505
|
+
navbarHeight: number;
|
|
506
|
+
tabbarHeight: number;
|
|
507
|
+
}) => "x" | "y")) | undefined;
|
|
508
|
+
gapX?: (number | ((props: {
|
|
509
|
+
rootStyle: StyleValue;
|
|
510
|
+
rootClass: string;
|
|
511
|
+
top: string;
|
|
512
|
+
right: string;
|
|
513
|
+
bottom: string;
|
|
514
|
+
left: string;
|
|
515
|
+
color: string;
|
|
516
|
+
background: string;
|
|
517
|
+
icon: string;
|
|
518
|
+
visibleIcon: string;
|
|
519
|
+
iconFamily: string;
|
|
520
|
+
itemList: FabItem[];
|
|
521
|
+
hideName: boolean;
|
|
522
|
+
overlayClosable: boolean;
|
|
523
|
+
duration: number;
|
|
524
|
+
draggable: boolean;
|
|
525
|
+
axis: "x" | "y" | "both" | "none";
|
|
526
|
+
magnet: "x" | "y";
|
|
527
|
+
gapX: number;
|
|
528
|
+
gapY: number;
|
|
529
|
+
offset: {
|
|
530
|
+
x: number;
|
|
531
|
+
y: number;
|
|
532
|
+
};
|
|
533
|
+
navbarHeight: number;
|
|
534
|
+
tabbarHeight: number;
|
|
535
|
+
}) => number)) | undefined;
|
|
536
|
+
gapY?: (number | ((props: {
|
|
537
|
+
rootStyle: StyleValue;
|
|
538
|
+
rootClass: string;
|
|
539
|
+
top: string;
|
|
540
|
+
right: string;
|
|
541
|
+
bottom: string;
|
|
542
|
+
left: string;
|
|
543
|
+
color: string;
|
|
544
|
+
background: string;
|
|
545
|
+
icon: string;
|
|
546
|
+
visibleIcon: string;
|
|
547
|
+
iconFamily: string;
|
|
548
|
+
itemList: FabItem[];
|
|
549
|
+
hideName: boolean;
|
|
550
|
+
overlayClosable: boolean;
|
|
551
|
+
duration: number;
|
|
552
|
+
draggable: boolean;
|
|
553
|
+
axis: "x" | "y" | "both" | "none";
|
|
554
|
+
magnet: "x" | "y";
|
|
555
|
+
gapX: number;
|
|
556
|
+
gapY: number;
|
|
557
|
+
offset: {
|
|
558
|
+
x: number;
|
|
559
|
+
y: number;
|
|
560
|
+
};
|
|
561
|
+
navbarHeight: number;
|
|
562
|
+
tabbarHeight: number;
|
|
563
|
+
}) => number)) | undefined;
|
|
564
|
+
offset?: ((props: {
|
|
565
|
+
rootStyle: StyleValue;
|
|
566
|
+
rootClass: string;
|
|
567
|
+
top: string;
|
|
568
|
+
right: string;
|
|
569
|
+
bottom: string;
|
|
570
|
+
left: string;
|
|
571
|
+
color: string;
|
|
572
|
+
background: string;
|
|
573
|
+
icon: string;
|
|
574
|
+
visibleIcon: string;
|
|
575
|
+
iconFamily: string;
|
|
576
|
+
itemList: FabItem[];
|
|
577
|
+
hideName: boolean;
|
|
578
|
+
overlayClosable: boolean;
|
|
579
|
+
duration: number;
|
|
580
|
+
draggable: boolean;
|
|
581
|
+
axis: "x" | "y" | "both" | "none";
|
|
582
|
+
magnet: "x" | "y";
|
|
583
|
+
gapX: number;
|
|
584
|
+
gapY: number;
|
|
585
|
+
offset: {
|
|
586
|
+
x: number;
|
|
587
|
+
y: number;
|
|
588
|
+
};
|
|
589
|
+
navbarHeight: number;
|
|
590
|
+
tabbarHeight: number;
|
|
591
|
+
}) => {
|
|
592
|
+
x: number;
|
|
593
|
+
y: number;
|
|
594
|
+
}) | undefined;
|
|
595
|
+
navbarHeight?: (number | ((props: {
|
|
596
|
+
rootStyle: StyleValue;
|
|
597
|
+
rootClass: string;
|
|
598
|
+
top: string;
|
|
599
|
+
right: string;
|
|
600
|
+
bottom: string;
|
|
601
|
+
left: string;
|
|
602
|
+
color: string;
|
|
603
|
+
background: string;
|
|
604
|
+
icon: string;
|
|
605
|
+
visibleIcon: string;
|
|
606
|
+
iconFamily: string;
|
|
607
|
+
itemList: FabItem[];
|
|
608
|
+
hideName: boolean;
|
|
609
|
+
overlayClosable: boolean;
|
|
610
|
+
duration: number;
|
|
611
|
+
draggable: boolean;
|
|
612
|
+
axis: "x" | "y" | "both" | "none";
|
|
613
|
+
magnet: "x" | "y";
|
|
614
|
+
gapX: number;
|
|
615
|
+
gapY: number;
|
|
616
|
+
offset: {
|
|
617
|
+
x: number;
|
|
618
|
+
y: number;
|
|
619
|
+
};
|
|
620
|
+
navbarHeight: number;
|
|
621
|
+
tabbarHeight: number;
|
|
622
|
+
}) => number)) | undefined;
|
|
623
|
+
tabbarHeight?: (number | ((props: {
|
|
624
|
+
rootStyle: StyleValue;
|
|
625
|
+
rootClass: string;
|
|
626
|
+
top: string;
|
|
627
|
+
right: string;
|
|
628
|
+
bottom: string;
|
|
629
|
+
left: string;
|
|
630
|
+
color: string;
|
|
631
|
+
background: string;
|
|
632
|
+
icon: string;
|
|
633
|
+
visibleIcon: string;
|
|
634
|
+
iconFamily: string;
|
|
635
|
+
itemList: FabItem[];
|
|
636
|
+
hideName: boolean;
|
|
637
|
+
overlayClosable: boolean;
|
|
638
|
+
duration: number;
|
|
639
|
+
draggable: boolean;
|
|
640
|
+
axis: "x" | "y" | "both" | "none";
|
|
641
|
+
magnet: "x" | "y";
|
|
642
|
+
gapX: number;
|
|
643
|
+
gapY: number;
|
|
644
|
+
offset: {
|
|
645
|
+
x: number;
|
|
646
|
+
y: number;
|
|
647
|
+
};
|
|
648
|
+
navbarHeight: number;
|
|
649
|
+
tabbarHeight: number;
|
|
650
|
+
}) => number)) | undefined;
|
|
39
651
|
};
|
|
40
652
|
export interface FabSlots {
|
|
41
653
|
default?(props: {
|
package/components/fab/fab.d.ts
CHANGED
|
@@ -15,14 +15,32 @@ declare const __VLS_component: import("vue").DefineComponent<FabProps, {}, {}, {
|
|
|
15
15
|
y: number;
|
|
16
16
|
}) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
|
|
18
|
+
offset: {
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
};
|
|
22
|
+
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
23
|
+
rootClass: string;
|
|
24
|
+
icon: string;
|
|
19
25
|
duration: number;
|
|
26
|
+
left: string;
|
|
27
|
+
right: string;
|
|
28
|
+
background: string;
|
|
20
29
|
overlayClosable: boolean;
|
|
21
|
-
draggable: boolean;
|
|
22
30
|
itemList: FabItem[];
|
|
31
|
+
color: string;
|
|
32
|
+
bottom: string;
|
|
33
|
+
iconFamily: string;
|
|
34
|
+
top: string;
|
|
35
|
+
visibleIcon: string;
|
|
23
36
|
hideName: boolean;
|
|
37
|
+
draggable: boolean;
|
|
38
|
+
axis: "x" | "y" | "both" | "none";
|
|
39
|
+
magnet: "x" | "y";
|
|
24
40
|
gapX: number;
|
|
25
41
|
gapY: number;
|
|
42
|
+
navbarHeight: number;
|
|
43
|
+
tabbarHeight: number;
|
|
26
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
45
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
28
46
|
export default _default;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
border-radius: var(--sar-rounded-full);
|
|
39
39
|
font-size: var(--sar-fab-item-btn-font-size);
|
|
40
40
|
color: var(--sar-fab-item-btn-color);
|
|
41
|
-
background
|
|
41
|
+
background: var(--sar-fab-item-btn-bg);
|
|
42
42
|
box-shadow: var(--sar-fab-item-btn-box-shadow);
|
|
43
43
|
}
|
|
44
44
|
}
|