vft 0.0.155 → 0.0.158
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/es/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/es/components/autocomplete/index.d.ts +6 -6
- package/es/components/button/button.vue.d.ts +1 -1
- package/es/components/button/index.d.ts +43 -43
- package/es/components/button/use-button.d.ts +3 -3
- package/es/components/button/use-button.js +3 -3
- package/es/components/card/index.d.ts +4 -4
- package/es/components/carousel/carousel.vue.d.ts +1 -1
- package/es/components/carousel/index.d.ts +7 -7
- package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
- package/es/components/checkbox/composables/use-checkbox.d.ts +1 -1
- package/es/components/checkbox/index.d.ts +48 -48
- package/es/components/clamp-tooltip/clamp-tooltip.vue2.js +14 -13
- package/es/components/config-provider/hooks/use-global-config.d.ts +1 -1
- package/es/components/date-picker/date-picker.d.ts +4 -4
- package/es/components/date-picker/index.d.ts +8 -8
- package/es/components/dialog/dialog.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +6 -6
- package/es/components/drawer/drawer.vue.d.ts +2 -2
- package/es/components/drawer/index.d.ts +6 -6
- package/es/components/dropdown/dropdown.vue.d.ts +2 -2
- package/es/components/dropdown/index.d.ts +30 -30
- package/es/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/form/index.d.ts +24 -24
- package/es/components/index.js +113 -113
- package/es/components/loading/index.d.ts +48 -0
- package/es/components/loading/loading.d.ts +36 -0
- package/es/components/modal/index.d.ts +19 -19
- package/es/components/modal/modal.vue.d.ts +1 -1
- package/es/components/popconfirm/index.d.ts +11 -11
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/progress/index.d.ts +4 -4
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/select/index.d.ts +1872 -2
- package/es/components/select/select.vue.d.ts +936 -1
- package/es/components/select/useSelect.d.ts +2 -2
- package/es/components/super-form/index.d.ts +12 -12
- package/es/components/switch/index.d.ts +5 -5
- package/es/components/switch/switch.vue.d.ts +1 -1
- package/es/components/table/index.d.ts +67 -67
- package/es/components/table/table.vue.d.ts +1 -1
- package/es/components/time-picker/common/picker.vue.d.ts +5 -5
- package/es/components/time-picker/index.d.ts +8 -8
- package/es/components/time-picker/time-picker.d.ts +4 -4
- package/es/components/tree/index.d.ts +12 -12
- package/es/components/tree/tree.vue.d.ts +2 -2
- package/es/components/upload/index.d.ts +38 -38
- package/es/components/upload/upload-content.vue.d.ts +2 -2
- package/es/components/upload/upload.vue.d.ts +2 -2
- package/es/components/upload/use-handlers.d.ts +1 -1
- package/es/index.js +113 -113
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/lib/components/autocomplete/index.d.ts +6 -6
- package/lib/components/button/button.vue.d.ts +1 -1
- package/lib/components/button/index.d.ts +43 -43
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/button/use-button.d.ts +3 -3
- package/lib/components/card/index.d.ts +4 -4
- package/lib/components/carousel/carousel.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +7 -7
- package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
- package/lib/components/checkbox/composables/use-checkbox.d.ts +1 -1
- package/lib/components/checkbox/index.d.ts +48 -48
- package/lib/components/clamp-tooltip/clamp-tooltip.vue2.cjs +1 -1
- package/lib/components/config-provider/hooks/use-global-config.d.ts +1 -1
- package/lib/components/date-picker/date-picker.d.ts +4 -4
- package/lib/components/date-picker/index.d.ts +8 -8
- package/lib/components/dialog/dialog.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +6 -6
- package/lib/components/drawer/drawer.vue.d.ts +2 -2
- package/lib/components/drawer/index.d.ts +6 -6
- package/lib/components/dropdown/dropdown.vue.d.ts +2 -2
- package/lib/components/dropdown/index.d.ts +30 -30
- package/lib/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/form/index.d.ts +24 -24
- package/lib/components/index.cjs +1 -1
- package/lib/components/loading/index.d.ts +48 -0
- package/lib/components/loading/loading.d.ts +36 -0
- package/lib/components/modal/index.d.ts +19 -19
- package/lib/components/modal/modal.vue.d.ts +1 -1
- package/lib/components/popconfirm/index.d.ts +11 -11
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/progress/index.d.ts +4 -4
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/select/index.d.ts +1872 -2
- package/lib/components/select/select.vue.d.ts +936 -1
- package/lib/components/select/useSelect.d.ts +2 -2
- package/lib/components/super-form/index.d.ts +12 -12
- package/lib/components/switch/index.d.ts +5 -5
- package/lib/components/switch/switch.vue.d.ts +1 -1
- package/lib/components/table/index.d.ts +67 -67
- package/lib/components/table/table.vue.d.ts +1 -1
- package/lib/components/time-picker/common/picker.vue.d.ts +5 -5
- package/lib/components/time-picker/index.d.ts +8 -8
- package/lib/components/time-picker/time-picker.d.ts +4 -4
- package/lib/components/tree/index.d.ts +12 -12
- package/lib/components/tree/tree.vue.d.ts +2 -2
- package/lib/components/upload/index.d.ts +38 -38
- package/lib/components/upload/upload-content.vue.d.ts +2 -2
- package/lib/components/upload/upload.vue.d.ts +2 -2
- package/lib/components/upload/use-handlers.d.ts +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +6 -6
- package/web-types.json +1 -1
|
@@ -54,11 +54,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
54
54
|
readonly className?: import("../types").ClassType | undefined;
|
|
55
55
|
readonly ariaLabel?: string | undefined;
|
|
56
56
|
readonly role?: "dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree" | undefined;
|
|
57
|
-
readonly visible?: boolean | undefined;
|
|
58
57
|
readonly disabled?: boolean | undefined;
|
|
59
58
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
60
59
|
readonly appendTo?: any;
|
|
61
|
-
readonly
|
|
60
|
+
readonly visible?: boolean | undefined;
|
|
62
61
|
readonly arrowOffset?: number | undefined;
|
|
63
62
|
readonly gpuAcceleration?: boolean | undefined;
|
|
64
63
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -77,6 +76,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
77
76
|
readonly virtualRef?: import("..").Measurable | undefined;
|
|
78
77
|
readonly rawContent?: boolean | undefined;
|
|
79
78
|
readonly persistent?: boolean | undefined;
|
|
79
|
+
readonly teleported?: boolean | undefined;
|
|
80
80
|
readonly triggerKeys?: string[] | undefined;
|
|
81
81
|
readonly showArrow?: boolean | undefined;
|
|
82
82
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -87,11 +87,10 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
87
87
|
readonly className?: import("../types").ClassType | undefined;
|
|
88
88
|
readonly ariaLabel?: string | undefined;
|
|
89
89
|
readonly role?: "dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree" | undefined;
|
|
90
|
-
readonly visible?: boolean | undefined;
|
|
91
90
|
readonly disabled?: boolean | undefined;
|
|
92
91
|
readonly trigger?: import("..").TooltipTriggerType | undefined;
|
|
93
92
|
readonly appendTo?: any;
|
|
94
|
-
readonly
|
|
93
|
+
readonly visible?: boolean | undefined;
|
|
95
94
|
readonly arrowOffset?: number | undefined;
|
|
96
95
|
readonly gpuAcceleration?: boolean | undefined;
|
|
97
96
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -110,6 +109,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
110
109
|
readonly virtualRef?: import("..").Measurable | undefined;
|
|
111
110
|
readonly rawContent?: boolean | undefined;
|
|
112
111
|
readonly persistent?: boolean | undefined;
|
|
112
|
+
readonly teleported?: boolean | undefined;
|
|
113
113
|
readonly triggerKeys?: string[] | undefined;
|
|
114
114
|
readonly showArrow?: boolean | undefined;
|
|
115
115
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -795,11 +795,10 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
795
795
|
readonly className?: import("../types").ClassType | undefined;
|
|
796
796
|
readonly ariaLabel?: string | undefined;
|
|
797
797
|
readonly role?: "dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree" | undefined;
|
|
798
|
-
readonly visible?: boolean | undefined;
|
|
799
798
|
readonly disabled?: boolean | undefined;
|
|
800
799
|
readonly trigger?: import("..").TooltipTriggerType | undefined;
|
|
801
800
|
readonly appendTo?: any;
|
|
802
|
-
readonly
|
|
801
|
+
readonly visible?: boolean | undefined;
|
|
803
802
|
readonly arrowOffset?: number | undefined;
|
|
804
803
|
readonly gpuAcceleration?: boolean | undefined;
|
|
805
804
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -818,6 +817,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
818
817
|
readonly virtualRef?: import("..").Measurable | undefined;
|
|
819
818
|
readonly rawContent?: boolean | undefined;
|
|
820
819
|
readonly persistent?: boolean | undefined;
|
|
820
|
+
readonly teleported?: boolean | undefined;
|
|
821
821
|
readonly triggerKeys?: string[] | undefined;
|
|
822
822
|
readonly showArrow?: boolean | undefined;
|
|
823
823
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -1435,11 +1435,10 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1435
1435
|
readonly className?: import("../types").ClassType | undefined;
|
|
1436
1436
|
readonly ariaLabel?: string | undefined;
|
|
1437
1437
|
readonly role?: "dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree" | undefined;
|
|
1438
|
-
readonly visible?: boolean | undefined;
|
|
1439
1438
|
readonly disabled?: boolean | undefined;
|
|
1440
1439
|
readonly trigger?: import("..").TooltipTriggerType | undefined;
|
|
1441
1440
|
readonly appendTo?: any;
|
|
1442
|
-
readonly
|
|
1441
|
+
readonly visible?: boolean | undefined;
|
|
1443
1442
|
readonly arrowOffset?: number | undefined;
|
|
1444
1443
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1445
1444
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -1458,6 +1457,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1458
1457
|
readonly virtualRef?: import("..").Measurable | undefined;
|
|
1459
1458
|
readonly rawContent?: boolean | undefined;
|
|
1460
1459
|
readonly persistent?: boolean | undefined;
|
|
1460
|
+
readonly teleported?: boolean | undefined;
|
|
1461
1461
|
readonly triggerKeys?: string[] | undefined;
|
|
1462
1462
|
readonly showArrow?: boolean | undefined;
|
|
1463
1463
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -55,7 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
55
55
|
ref: globalThis.Ref<HTMLButtonElement | undefined>;
|
|
56
56
|
size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
57
57
|
type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
58
|
-
disabled: globalThis.ComputedRef<boolean
|
|
58
|
+
disabled: globalThis.ComputedRef<boolean>;
|
|
59
59
|
shouldAddSpace: globalThis.ComputedRef<boolean>;
|
|
60
60
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
61
61
|
click: (evt: MouseEvent) => void;
|
|
@@ -25,21 +25,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
25
25
|
icon: {
|
|
26
26
|
type: globalThis.PropType<string | import("..").IconProps>;
|
|
27
27
|
};
|
|
28
|
-
|
|
29
|
-
type: globalThis.PropType<boolean>;
|
|
30
|
-
};
|
|
31
|
-
loading: {
|
|
28
|
+
bg: {
|
|
32
29
|
type: globalThis.PropType<boolean>;
|
|
33
30
|
};
|
|
34
31
|
disabled: {
|
|
35
32
|
type: globalThis.PropType<boolean>;
|
|
36
33
|
};
|
|
37
|
-
block: {
|
|
38
|
-
type: globalThis.PropType<boolean>;
|
|
39
|
-
};
|
|
40
|
-
bg: {
|
|
41
|
-
type: globalThis.PropType<boolean>;
|
|
42
|
-
};
|
|
43
34
|
tag: {
|
|
44
35
|
type: globalThis.PropType<string | globalThis.Component>;
|
|
45
36
|
default: string;
|
|
@@ -48,18 +39,27 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
48
39
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
49
40
|
default: string;
|
|
50
41
|
};
|
|
42
|
+
loading: {
|
|
43
|
+
type: globalThis.PropType<boolean>;
|
|
44
|
+
};
|
|
51
45
|
loadingIcon: {
|
|
52
46
|
type: globalThis.PropType<import("..").IconProps>;
|
|
53
47
|
};
|
|
54
48
|
plain: {
|
|
55
49
|
type: globalThis.PropType<boolean>;
|
|
56
50
|
};
|
|
51
|
+
autofocus: {
|
|
52
|
+
type: globalThis.PropType<boolean>;
|
|
53
|
+
};
|
|
57
54
|
round: {
|
|
58
55
|
type: globalThis.PropType<boolean>;
|
|
59
56
|
};
|
|
60
57
|
autoInsertSpace: {
|
|
61
58
|
type: globalThis.PropType<boolean>;
|
|
62
59
|
};
|
|
60
|
+
block: {
|
|
61
|
+
type: globalThis.PropType<boolean>;
|
|
62
|
+
};
|
|
63
63
|
useThrottle: {
|
|
64
64
|
type: globalThis.PropType<boolean>;
|
|
65
65
|
default: boolean;
|
|
@@ -74,7 +74,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
74
74
|
ref: globalThis.Ref<HTMLButtonElement | undefined>;
|
|
75
75
|
size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
76
76
|
type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
77
|
-
disabled: globalThis.ComputedRef<boolean
|
|
77
|
+
disabled: globalThis.ComputedRef<boolean>;
|
|
78
78
|
shouldAddSpace: globalThis.ComputedRef<boolean>;
|
|
79
79
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
80
80
|
click: (evt: MouseEvent) => void;
|
|
@@ -103,21 +103,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
103
103
|
icon: {
|
|
104
104
|
type: globalThis.PropType<string | import("..").IconProps>;
|
|
105
105
|
};
|
|
106
|
-
|
|
107
|
-
type: globalThis.PropType<boolean>;
|
|
108
|
-
};
|
|
109
|
-
loading: {
|
|
106
|
+
bg: {
|
|
110
107
|
type: globalThis.PropType<boolean>;
|
|
111
108
|
};
|
|
112
109
|
disabled: {
|
|
113
110
|
type: globalThis.PropType<boolean>;
|
|
114
111
|
};
|
|
115
|
-
block: {
|
|
116
|
-
type: globalThis.PropType<boolean>;
|
|
117
|
-
};
|
|
118
|
-
bg: {
|
|
119
|
-
type: globalThis.PropType<boolean>;
|
|
120
|
-
};
|
|
121
112
|
tag: {
|
|
122
113
|
type: globalThis.PropType<string | globalThis.Component>;
|
|
123
114
|
default: string;
|
|
@@ -126,18 +117,27 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
126
117
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
127
118
|
default: string;
|
|
128
119
|
};
|
|
120
|
+
loading: {
|
|
121
|
+
type: globalThis.PropType<boolean>;
|
|
122
|
+
};
|
|
129
123
|
loadingIcon: {
|
|
130
124
|
type: globalThis.PropType<import("..").IconProps>;
|
|
131
125
|
};
|
|
132
126
|
plain: {
|
|
133
127
|
type: globalThis.PropType<boolean>;
|
|
134
128
|
};
|
|
129
|
+
autofocus: {
|
|
130
|
+
type: globalThis.PropType<boolean>;
|
|
131
|
+
};
|
|
135
132
|
round: {
|
|
136
133
|
type: globalThis.PropType<boolean>;
|
|
137
134
|
};
|
|
138
135
|
autoInsertSpace: {
|
|
139
136
|
type: globalThis.PropType<boolean>;
|
|
140
137
|
};
|
|
138
|
+
block: {
|
|
139
|
+
type: globalThis.PropType<boolean>;
|
|
140
|
+
};
|
|
141
141
|
useThrottle: {
|
|
142
142
|
type: globalThis.PropType<boolean>;
|
|
143
143
|
default: boolean;
|
|
@@ -185,21 +185,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
185
185
|
icon: {
|
|
186
186
|
type: globalThis.PropType<string | import("..").IconProps>;
|
|
187
187
|
};
|
|
188
|
-
|
|
189
|
-
type: globalThis.PropType<boolean>;
|
|
190
|
-
};
|
|
191
|
-
loading: {
|
|
188
|
+
bg: {
|
|
192
189
|
type: globalThis.PropType<boolean>;
|
|
193
190
|
};
|
|
194
191
|
disabled: {
|
|
195
192
|
type: globalThis.PropType<boolean>;
|
|
196
193
|
};
|
|
197
|
-
block: {
|
|
198
|
-
type: globalThis.PropType<boolean>;
|
|
199
|
-
};
|
|
200
|
-
bg: {
|
|
201
|
-
type: globalThis.PropType<boolean>;
|
|
202
|
-
};
|
|
203
194
|
tag: {
|
|
204
195
|
type: globalThis.PropType<string | globalThis.Component>;
|
|
205
196
|
default: string;
|
|
@@ -208,18 +199,27 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
208
199
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
209
200
|
default: string;
|
|
210
201
|
};
|
|
202
|
+
loading: {
|
|
203
|
+
type: globalThis.PropType<boolean>;
|
|
204
|
+
};
|
|
211
205
|
loadingIcon: {
|
|
212
206
|
type: globalThis.PropType<import("..").IconProps>;
|
|
213
207
|
};
|
|
214
208
|
plain: {
|
|
215
209
|
type: globalThis.PropType<boolean>;
|
|
216
210
|
};
|
|
211
|
+
autofocus: {
|
|
212
|
+
type: globalThis.PropType<boolean>;
|
|
213
|
+
};
|
|
217
214
|
round: {
|
|
218
215
|
type: globalThis.PropType<boolean>;
|
|
219
216
|
};
|
|
220
217
|
autoInsertSpace: {
|
|
221
218
|
type: globalThis.PropType<boolean>;
|
|
222
219
|
};
|
|
220
|
+
block: {
|
|
221
|
+
type: globalThis.PropType<boolean>;
|
|
222
|
+
};
|
|
223
223
|
useThrottle: {
|
|
224
224
|
type: globalThis.PropType<boolean>;
|
|
225
225
|
default: boolean;
|
|
@@ -234,7 +234,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
234
234
|
ref: globalThis.Ref<HTMLButtonElement | undefined>;
|
|
235
235
|
size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
236
236
|
type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
237
|
-
disabled: globalThis.ComputedRef<boolean
|
|
237
|
+
disabled: globalThis.ComputedRef<boolean>;
|
|
238
238
|
shouldAddSpace: globalThis.ComputedRef<boolean>;
|
|
239
239
|
}, {}, {}, {}, {
|
|
240
240
|
tag: string | globalThis.Component;
|
|
@@ -270,21 +270,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
270
270
|
icon: {
|
|
271
271
|
type: globalThis.PropType<string | import("..").IconProps>;
|
|
272
272
|
};
|
|
273
|
-
|
|
274
|
-
type: globalThis.PropType<boolean>;
|
|
275
|
-
};
|
|
276
|
-
loading: {
|
|
273
|
+
bg: {
|
|
277
274
|
type: globalThis.PropType<boolean>;
|
|
278
275
|
};
|
|
279
276
|
disabled: {
|
|
280
277
|
type: globalThis.PropType<boolean>;
|
|
281
278
|
};
|
|
282
|
-
block: {
|
|
283
|
-
type: globalThis.PropType<boolean>;
|
|
284
|
-
};
|
|
285
|
-
bg: {
|
|
286
|
-
type: globalThis.PropType<boolean>;
|
|
287
|
-
};
|
|
288
279
|
tag: {
|
|
289
280
|
type: globalThis.PropType<string | globalThis.Component>;
|
|
290
281
|
default: string;
|
|
@@ -293,18 +284,27 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
293
284
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
294
285
|
default: string;
|
|
295
286
|
};
|
|
287
|
+
loading: {
|
|
288
|
+
type: globalThis.PropType<boolean>;
|
|
289
|
+
};
|
|
296
290
|
loadingIcon: {
|
|
297
291
|
type: globalThis.PropType<import("..").IconProps>;
|
|
298
292
|
};
|
|
299
293
|
plain: {
|
|
300
294
|
type: globalThis.PropType<boolean>;
|
|
301
295
|
};
|
|
296
|
+
autofocus: {
|
|
297
|
+
type: globalThis.PropType<boolean>;
|
|
298
|
+
};
|
|
302
299
|
round: {
|
|
303
300
|
type: globalThis.PropType<boolean>;
|
|
304
301
|
};
|
|
305
302
|
autoInsertSpace: {
|
|
306
303
|
type: globalThis.PropType<boolean>;
|
|
307
304
|
};
|
|
305
|
+
block: {
|
|
306
|
+
type: globalThis.PropType<boolean>;
|
|
307
|
+
};
|
|
308
308
|
useThrottle: {
|
|
309
309
|
type: globalThis.PropType<boolean>;
|
|
310
310
|
default: boolean;
|
|
@@ -319,7 +319,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
319
319
|
ref: globalThis.Ref<HTMLButtonElement | undefined>;
|
|
320
320
|
size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
321
321
|
type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
322
|
-
disabled: globalThis.ComputedRef<boolean
|
|
322
|
+
disabled: globalThis.ComputedRef<boolean>;
|
|
323
323
|
shouldAddSpace: globalThis.ComputedRef<boolean>;
|
|
324
324
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
325
325
|
click: (evt: MouseEvent) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ButtonProps } from './button.vue';
|
|
2
2
|
export declare const useButton: (props: ButtonProps, emit: any) => {
|
|
3
3
|
_props: globalThis.ComputedRef<{
|
|
4
|
-
ariaDisabled: boolean |
|
|
5
|
-
disabled: boolean |
|
|
4
|
+
ariaDisabled: boolean | undefined;
|
|
5
|
+
disabled: boolean | undefined;
|
|
6
6
|
autofocus: boolean | undefined;
|
|
7
7
|
type: "button" | "reset" | "submit" | undefined;
|
|
8
8
|
} | {
|
|
@@ -11,7 +11,7 @@ export declare const useButton: (props: ButtonProps, emit: any) => {
|
|
|
11
11
|
autofocus?: undefined;
|
|
12
12
|
type?: undefined;
|
|
13
13
|
}>;
|
|
14
|
-
_disabled: globalThis.ComputedRef<boolean
|
|
14
|
+
_disabled: globalThis.ComputedRef<boolean>;
|
|
15
15
|
_size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
16
16
|
_type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
17
17
|
_ref: globalThis.Ref<HTMLButtonElement | undefined>;
|
|
@@ -3,11 +3,11 @@ import "../form/index.js";
|
|
|
3
3
|
import { useThrottleFn as T } from "@vueuse/core";
|
|
4
4
|
import { inject as _, computed as i, ref as k, useSlots as p, Text as I } from "vue";
|
|
5
5
|
import { buttonGroupContextKey as S } from "./constants.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { useGlobalConfig as z } from "../config-provider/hooks/use-global-config.js";
|
|
7
|
+
import { useFormItem as C } from "../form/hooks/use-form-item.js";
|
|
8
8
|
import { useFormSize as D, useFormDisabled as j } from "../form/hooks/use-form-common-props.js";
|
|
9
9
|
const H = (t, u) => {
|
|
10
|
-
const o = _(S, void 0), m =
|
|
10
|
+
const o = _(S, void 0), m = z("button"), { form: s } = C(), d = D(i(() => o == null ? void 0 : o.size)), c = j(), f = k(), r = p(), h = i(() => t.type || (o == null ? void 0 : o.type) || ""), g = i(
|
|
11
11
|
() => {
|
|
12
12
|
var e;
|
|
13
13
|
return t.autoInsertSpace ?? ((e = m.value) == null ? void 0 : e.autoInsertSpace) ?? !1;
|
|
@@ -7,7 +7,7 @@ export declare const VftCard: import("vft/es/utils").SFCWithInstall<{
|
|
|
7
7
|
type: globalThis.PropType<string | object | any[]>;
|
|
8
8
|
};
|
|
9
9
|
shadow: {
|
|
10
|
-
type: globalThis.PropType<"always" | "
|
|
10
|
+
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
11
11
|
};
|
|
12
12
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
|
|
13
13
|
header: {
|
|
@@ -17,7 +17,7 @@ export declare const VftCard: import("vft/es/utils").SFCWithInstall<{
|
|
|
17
17
|
type: globalThis.PropType<string | object | any[]>;
|
|
18
18
|
};
|
|
19
19
|
shadow: {
|
|
20
|
-
type: globalThis.PropType<"always" | "
|
|
20
|
+
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
21
21
|
};
|
|
22
22
|
}>>, {}, true, {}, {}, {
|
|
23
23
|
P: {};
|
|
@@ -34,7 +34,7 @@ export declare const VftCard: import("vft/es/utils").SFCWithInstall<{
|
|
|
34
34
|
type: globalThis.PropType<string | object | any[]>;
|
|
35
35
|
};
|
|
36
36
|
shadow: {
|
|
37
|
-
type: globalThis.PropType<"always" | "
|
|
37
|
+
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
38
38
|
};
|
|
39
39
|
}>>, {}, {}, {}, {}, {}>;
|
|
40
40
|
__isFragment?: undefined;
|
|
@@ -48,7 +48,7 @@ export declare const VftCard: import("vft/es/utils").SFCWithInstall<{
|
|
|
48
48
|
type: globalThis.PropType<string | object | any[]>;
|
|
49
49
|
};
|
|
50
50
|
shadow: {
|
|
51
|
-
type: globalThis.PropType<"always" | "
|
|
51
|
+
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
52
52
|
};
|
|
53
53
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
54
54
|
$slots: {
|
|
@@ -50,7 +50,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
50
50
|
direction: "vertical" | "horizontal";
|
|
51
51
|
height: string;
|
|
52
52
|
type: "" | "card";
|
|
53
|
-
arrow: "always" | "
|
|
53
|
+
arrow: "always" | "never" | "hover";
|
|
54
54
|
loop: boolean;
|
|
55
55
|
trigger: "click" | "hover";
|
|
56
56
|
initialIndex: number;
|
|
@@ -13,7 +13,7 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
arrow: {
|
|
16
|
-
type: globalThis.PropType<"always" | "
|
|
16
|
+
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
loop: {
|
|
@@ -66,7 +66,7 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
66
66
|
default: string;
|
|
67
67
|
};
|
|
68
68
|
arrow: {
|
|
69
|
-
type: globalThis.PropType<"always" | "
|
|
69
|
+
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
70
70
|
default: string;
|
|
71
71
|
};
|
|
72
72
|
loop: {
|
|
@@ -103,7 +103,7 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
103
103
|
direction: "vertical" | "horizontal";
|
|
104
104
|
height: string;
|
|
105
105
|
type: "" | "card";
|
|
106
|
-
arrow: "always" | "
|
|
106
|
+
arrow: "always" | "never" | "hover";
|
|
107
107
|
loop: boolean;
|
|
108
108
|
trigger: "click" | "hover";
|
|
109
109
|
initialIndex: number;
|
|
@@ -132,7 +132,7 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
132
132
|
default: string;
|
|
133
133
|
};
|
|
134
134
|
arrow: {
|
|
135
|
-
type: globalThis.PropType<"always" | "
|
|
135
|
+
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
136
136
|
default: string;
|
|
137
137
|
};
|
|
138
138
|
loop: {
|
|
@@ -173,7 +173,7 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
173
173
|
direction: "vertical" | "horizontal";
|
|
174
174
|
height: string;
|
|
175
175
|
type: "" | "card";
|
|
176
|
-
arrow: "always" | "
|
|
176
|
+
arrow: "always" | "never" | "hover";
|
|
177
177
|
loop: boolean;
|
|
178
178
|
trigger: "click" | "hover";
|
|
179
179
|
initialIndex: number;
|
|
@@ -199,7 +199,7 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
199
199
|
default: string;
|
|
200
200
|
};
|
|
201
201
|
arrow: {
|
|
202
|
-
type: globalThis.PropType<"always" | "
|
|
202
|
+
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
203
203
|
default: string;
|
|
204
204
|
};
|
|
205
205
|
loop: {
|
|
@@ -242,7 +242,7 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
242
242
|
direction: "vertical" | "horizontal";
|
|
243
243
|
height: string;
|
|
244
244
|
type: "" | "card";
|
|
245
|
-
arrow: "always" | "
|
|
245
|
+
arrow: "always" | "never" | "hover";
|
|
246
246
|
loop: boolean;
|
|
247
247
|
trigger: "click" | "hover";
|
|
248
248
|
initialIndex: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CheckboxModel, CheckboxStatus } from '../composables';
|
|
2
2
|
export declare const useCheckboxDisabled: ({ model, isChecked, }: Pick<CheckboxModel, 'model'> & Pick<CheckboxStatus, 'isChecked'>) => {
|
|
3
|
-
isDisabled: globalThis.ComputedRef<boolean
|
|
3
|
+
isDisabled: globalThis.ComputedRef<boolean>;
|
|
4
4
|
isLimitDisabled: globalThis.ComputedRef<boolean>;
|
|
5
5
|
};
|
|
6
6
|
export type CheckboxDisabled = ReturnType<typeof useCheckboxDisabled>;
|
|
@@ -4,7 +4,7 @@ export declare const useCheckbox: (props: CheckboxProps, slots: ComponentInterna
|
|
|
4
4
|
inputId: globalThis.Ref<string | undefined>;
|
|
5
5
|
isLabeledByFormItem: globalThis.ComputedRef<boolean>;
|
|
6
6
|
isChecked: globalThis.ComputedRef<boolean>;
|
|
7
|
-
isDisabled: globalThis.ComputedRef<boolean
|
|
7
|
+
isDisabled: globalThis.ComputedRef<boolean>;
|
|
8
8
|
isFocused: globalThis.Ref<boolean>;
|
|
9
9
|
checkboxButtonSize: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
10
10
|
checkboxSize: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|