vft 0.0.260 → 0.0.263
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/button/button.vue.d.ts +1 -1
- package/es/components/button/index.d.ts +3 -3
- package/es/components/button/use-button.d.ts +1 -1
- package/es/components/checkbox/composables/use-checkbox-status.d.ts +2 -2
- package/es/components/checkbox/composables/use-checkbox.d.ts +2 -2
- package/es/components/checkbox/index.d.ts +15 -15
- package/es/components/color-picker/index.d.ts +2 -2
- package/es/components/form/form-item.vue.d.ts +1 -1
- package/es/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/form/index.d.ts +15 -15
- package/es/components/radio/index.d.ts +15 -15
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/select/index.d.ts +1 -1
- package/es/components/select/select.vue.d.ts +1 -1
- package/es/components/select/useSelect.d.ts +1 -1
- package/es/components/slider/index.d.ts +4 -4
- package/es/components/super-form/super-form-item.vue2.js +26 -26
- package/es/components/switch/index.d.ts +2 -2
- package/es/components/tree/tree-node.vue.d.ts +9 -9
- package/es/constants/size.d.ts +1 -1
- package/es/hooks/use-size/index.d.ts +1 -1
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/button/button.vue.d.ts +1 -1
- package/lib/components/button/index.d.ts +3 -3
- package/lib/components/button/use-button.d.ts +1 -1
- package/lib/components/checkbox/composables/use-checkbox-status.d.ts +2 -2
- package/lib/components/checkbox/composables/use-checkbox.d.ts +2 -2
- package/lib/components/checkbox/index.d.ts +15 -15
- package/lib/components/color-picker/index.d.ts +2 -2
- package/lib/components/form/form-item.vue.d.ts +1 -1
- package/lib/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/form/index.d.ts +15 -15
- package/lib/components/radio/index.d.ts +15 -15
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/select/index.d.ts +1 -1
- package/lib/components/select/select.vue.d.ts +1 -1
- package/lib/components/select/useSelect.d.ts +1 -1
- package/lib/components/slider/index.d.ts +4 -4
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/switch/index.d.ts +2 -2
- package/lib/components/tree/tree-node.vue.d.ts +9 -9
- package/lib/constants/size.d.ts +1 -1
- package/lib/hooks/use-size/index.d.ts +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +4 -4
- package/web-types.json +1 -1
|
@@ -10,7 +10,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
10
10
|
throttleTime: number;
|
|
11
11
|
}>>, {
|
|
12
12
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
13
|
-
size: import("vue").ComputedRef<""
|
|
13
|
+
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
14
14
|
type: import("vue").ComputedRef<any>;
|
|
15
15
|
disabled: import("vue").ComputedRef<boolean>;
|
|
16
16
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
@@ -71,7 +71,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
71
71
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
73
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
74
|
-
size: import("vue").ComputedRef<""
|
|
74
|
+
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
75
75
|
type: import("vue").ComputedRef<any>;
|
|
76
76
|
disabled: import("vue").ComputedRef<boolean>;
|
|
77
77
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
@@ -161,7 +161,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
161
161
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
162
162
|
}>, {
|
|
163
163
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
164
|
-
size: import("vue").ComputedRef<""
|
|
164
|
+
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
165
165
|
type: import("vue").ComputedRef<any>;
|
|
166
166
|
disabled: import("vue").ComputedRef<boolean>;
|
|
167
167
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
@@ -246,7 +246,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
246
246
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
247
247
|
}>, {
|
|
248
248
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
249
|
-
size: import("vue").ComputedRef<""
|
|
249
|
+
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
250
250
|
type: import("vue").ComputedRef<any>;
|
|
251
251
|
disabled: import("vue").ComputedRef<boolean>;
|
|
252
252
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
@@ -12,7 +12,7 @@ export declare const useButton: (props: ButtonProps, emit: any) => {
|
|
|
12
12
|
type?: undefined;
|
|
13
13
|
}>;
|
|
14
14
|
_disabled: import("vue").ComputedRef<boolean>;
|
|
15
|
-
_size: import("vue").ComputedRef<""
|
|
15
|
+
_size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
16
16
|
_type: import("vue").ComputedRef<any>;
|
|
17
17
|
_ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
18
18
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
@@ -2,10 +2,10 @@ import type { ComponentInternalInstance } from 'vue';
|
|
|
2
2
|
import type { CheckboxModel } from '../composables';
|
|
3
3
|
import type { CheckboxProps } from '../types';
|
|
4
4
|
export declare const useCheckboxStatus: (props: CheckboxProps, slots: ComponentInternalInstance["slots"], { model }: Pick<CheckboxModel, "model">) => {
|
|
5
|
-
checkboxButtonSize: import("vue").ComputedRef<""
|
|
5
|
+
checkboxButtonSize: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
6
6
|
isChecked: import("vue").ComputedRef<boolean>;
|
|
7
7
|
isFocused: import("vue").Ref<boolean, boolean>;
|
|
8
|
-
checkboxSize: import("vue").ComputedRef<""
|
|
8
|
+
checkboxSize: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
9
9
|
hasOwnLabel: import("vue").ComputedRef<boolean>;
|
|
10
10
|
};
|
|
11
11
|
export type CheckboxStatus = ReturnType<typeof useCheckboxStatus>;
|
|
@@ -6,8 +6,8 @@ export declare const useCheckbox: (props: CheckboxProps, slots: ComponentInterna
|
|
|
6
6
|
isChecked: import("vue").ComputedRef<boolean>;
|
|
7
7
|
isDisabled: import("vue").ComputedRef<boolean>;
|
|
8
8
|
isFocused: import("vue").Ref<boolean, boolean>;
|
|
9
|
-
checkboxButtonSize: import("vue").ComputedRef<""
|
|
10
|
-
checkboxSize: import("vue").ComputedRef<""
|
|
9
|
+
checkboxButtonSize: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
10
|
+
checkboxSize: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
11
11
|
hasOwnLabel: import("vue").ComputedRef<boolean>;
|
|
12
12
|
model: import("vue").WritableComputedRef<any, unknown>;
|
|
13
13
|
handleChange: (e: Event) => void;
|
|
@@ -19,7 +19,7 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
19
19
|
type: import("vue").PropType<boolean>;
|
|
20
20
|
};
|
|
21
21
|
size: {
|
|
22
|
-
type: import("vue").PropType<""
|
|
22
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
23
23
|
};
|
|
24
24
|
modelValue: {
|
|
25
25
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -81,7 +81,7 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
81
81
|
type: import("vue").PropType<boolean>;
|
|
82
82
|
};
|
|
83
83
|
size: {
|
|
84
|
-
type: import("vue").PropType<""
|
|
84
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
85
85
|
};
|
|
86
86
|
modelValue: {
|
|
87
87
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -137,7 +137,7 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
137
137
|
type: import("vue").PropType<boolean>;
|
|
138
138
|
};
|
|
139
139
|
size: {
|
|
140
|
-
type: import("vue").PropType<""
|
|
140
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
141
141
|
};
|
|
142
142
|
modelValue: {
|
|
143
143
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -216,7 +216,7 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
216
216
|
type: import("vue").PropType<boolean>;
|
|
217
217
|
};
|
|
218
218
|
size: {
|
|
219
|
-
type: import("vue").PropType<""
|
|
219
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
220
220
|
};
|
|
221
221
|
tabindex: {
|
|
222
222
|
type: import("vue").PropType<string | number>;
|
|
@@ -275,7 +275,7 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
275
275
|
type: import("vue").PropType<boolean>;
|
|
276
276
|
};
|
|
277
277
|
size: {
|
|
278
|
-
type: import("vue").PropType<""
|
|
278
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
279
279
|
};
|
|
280
280
|
tabindex: {
|
|
281
281
|
type: import("vue").PropType<string | number>;
|
|
@@ -328,7 +328,7 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
328
328
|
type: import("vue").PropType<boolean>;
|
|
329
329
|
};
|
|
330
330
|
size: {
|
|
331
|
-
type: import("vue").PropType<""
|
|
331
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
332
332
|
};
|
|
333
333
|
tabindex: {
|
|
334
334
|
type: import("vue").PropType<string | number>;
|
|
@@ -359,7 +359,7 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
359
359
|
type: import("vue").PropType<boolean>;
|
|
360
360
|
};
|
|
361
361
|
size: {
|
|
362
|
-
type: import("vue").PropType<""
|
|
362
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
363
363
|
};
|
|
364
364
|
modelValue: {
|
|
365
365
|
type: import("vue").PropType<import("./types").CheckboxGroupValueType>;
|
|
@@ -416,7 +416,7 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
416
416
|
type: import("vue").PropType<boolean>;
|
|
417
417
|
};
|
|
418
418
|
size: {
|
|
419
|
-
type: import("vue").PropType<""
|
|
419
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
420
420
|
};
|
|
421
421
|
modelValue: {
|
|
422
422
|
type: import("vue").PropType<import("./types").CheckboxGroupValueType>;
|
|
@@ -467,7 +467,7 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
467
467
|
type: import("vue").PropType<boolean>;
|
|
468
468
|
};
|
|
469
469
|
size: {
|
|
470
|
-
type: import("vue").PropType<""
|
|
470
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
471
471
|
};
|
|
472
472
|
modelValue: {
|
|
473
473
|
type: import("vue").PropType<import("./types").CheckboxGroupValueType>;
|
|
@@ -552,7 +552,7 @@ export declare const VftCheckboxButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
552
552
|
type: import("vue").PropType<boolean>;
|
|
553
553
|
};
|
|
554
554
|
size: {
|
|
555
|
-
type: import("vue").PropType<""
|
|
555
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
556
556
|
};
|
|
557
557
|
tabindex: {
|
|
558
558
|
type: import("vue").PropType<string | number>;
|
|
@@ -611,7 +611,7 @@ export declare const VftCheckboxButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
611
611
|
type: import("vue").PropType<boolean>;
|
|
612
612
|
};
|
|
613
613
|
size: {
|
|
614
|
-
type: import("vue").PropType<""
|
|
614
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
615
615
|
};
|
|
616
616
|
tabindex: {
|
|
617
617
|
type: import("vue").PropType<string | number>;
|
|
@@ -664,7 +664,7 @@ export declare const VftCheckboxButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
664
664
|
type: import("vue").PropType<boolean>;
|
|
665
665
|
};
|
|
666
666
|
size: {
|
|
667
|
-
type: import("vue").PropType<""
|
|
667
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
668
668
|
};
|
|
669
669
|
tabindex: {
|
|
670
670
|
type: import("vue").PropType<string | number>;
|
|
@@ -695,7 +695,7 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
695
695
|
type: import("vue").PropType<boolean>;
|
|
696
696
|
};
|
|
697
697
|
size: {
|
|
698
|
-
type: import("vue").PropType<""
|
|
698
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
699
699
|
};
|
|
700
700
|
modelValue: {
|
|
701
701
|
type: import("vue").PropType<import("./types").CheckboxGroupValueType>;
|
|
@@ -752,7 +752,7 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
752
752
|
type: import("vue").PropType<boolean>;
|
|
753
753
|
};
|
|
754
754
|
size: {
|
|
755
|
-
type: import("vue").PropType<""
|
|
755
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
756
756
|
};
|
|
757
757
|
modelValue: {
|
|
758
758
|
type: import("vue").PropType<import("./types").CheckboxGroupValueType>;
|
|
@@ -803,7 +803,7 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
803
803
|
type: import("vue").PropType<boolean>;
|
|
804
804
|
};
|
|
805
805
|
size: {
|
|
806
|
-
type: import("vue").PropType<""
|
|
806
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
807
807
|
};
|
|
808
808
|
modelValue: {
|
|
809
809
|
type: import("vue").PropType<import("./types").CheckboxGroupValueType>;
|
|
@@ -9,7 +9,7 @@ export declare const VftColorPicker: import("vft/es/utils").SFCWithInstall<impor
|
|
|
9
9
|
type: import("vue").PropType<boolean>;
|
|
10
10
|
};
|
|
11
11
|
size: {
|
|
12
|
-
type: import("vue").PropType<""
|
|
12
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
13
13
|
};
|
|
14
14
|
modelValue: {
|
|
15
15
|
type: import("vue").PropType<string>;
|
|
@@ -53,7 +53,7 @@ export declare const VftColorPicker: import("vft/es/utils").SFCWithInstall<impor
|
|
|
53
53
|
type: import("vue").PropType<boolean>;
|
|
54
54
|
};
|
|
55
55
|
size: {
|
|
56
|
-
type: import("vue").PropType<""
|
|
56
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
57
57
|
};
|
|
58
58
|
modelValue: {
|
|
59
59
|
type: import("vue").PropType<string>;
|
|
@@ -14,7 +14,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
14
14
|
labelWidth: string;
|
|
15
15
|
showMessage: boolean;
|
|
16
16
|
}>>, {
|
|
17
|
-
size: import("vue").ComputedRef<""
|
|
17
|
+
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
18
18
|
validateMessage: import("vue").Ref<string, string>;
|
|
19
19
|
validateState: import("vue").Ref<FormItemValidateState, FormItemValidateState>;
|
|
20
20
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentSize } from 'vft/es/constants';
|
|
2
2
|
import type { MaybeRef } from '@vueuse/core';
|
|
3
|
-
export declare const useFormSize: (fallback?: MaybeRef<ComponentSize | undefined>, ignore?: Partial<Record<"prop" | "form" | "formItem" | "global", boolean>>) => import("vue").ComputedRef<
|
|
3
|
+
export declare const useFormSize: (fallback?: MaybeRef<ComponentSize | undefined>, ignore?: Partial<Record<"prop" | "form" | "formItem" | "global", boolean>>) => import("vue").ComputedRef<ComponentSize>;
|
|
4
4
|
export declare const useFormDisabled: (fallback?: MaybeRef<boolean | undefined>) => import("vue").ComputedRef<boolean>;
|
|
5
|
-
export declare const useSize: (fallback?: MaybeRef<ComponentSize | undefined>, ignore?: Partial<Record<"prop" | "form" | "formItem" | "global", boolean>>) => import("vue").ComputedRef<
|
|
5
|
+
export declare const useSize: (fallback?: MaybeRef<ComponentSize | undefined>, ignore?: Partial<Record<"prop" | "form" | "formItem" | "global", boolean>>) => import("vue").ComputedRef<ComponentSize>;
|
|
6
6
|
export declare const useDisabled: (fallback?: MaybeRef<boolean | undefined>) => import("vue").ComputedRef<boolean>;
|
|
@@ -3,7 +3,7 @@ import FormItem, { type FormItemProps } from './form-item.vue';
|
|
|
3
3
|
export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
4
4
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
5
5
|
size: {
|
|
6
|
-
type: import("vue").PropType<""
|
|
6
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
7
7
|
};
|
|
8
8
|
disabled: {
|
|
9
9
|
type: import("vue").PropType<boolean>;
|
|
@@ -69,7 +69,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
69
69
|
Defaults: {};
|
|
70
70
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
71
71
|
size: {
|
|
72
|
-
type: import("vue").PropType<""
|
|
72
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
73
73
|
};
|
|
74
74
|
disabled: {
|
|
75
75
|
type: import("vue").PropType<boolean>;
|
|
@@ -130,7 +130,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
130
130
|
__isSuspense?: never;
|
|
131
131
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
132
132
|
size: {
|
|
133
|
-
type: import("vue").PropType<""
|
|
133
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
134
134
|
};
|
|
135
135
|
disabled: {
|
|
136
136
|
type: import("vue").PropType<boolean>;
|
|
@@ -204,7 +204,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
204
204
|
type: import("vue").PropType<string | string[]>;
|
|
205
205
|
};
|
|
206
206
|
size: {
|
|
207
|
-
type: import("vue").PropType<""
|
|
207
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
208
208
|
};
|
|
209
209
|
required: {
|
|
210
210
|
type: import("vue").PropType<boolean>;
|
|
@@ -237,7 +237,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
237
237
|
}>> & Readonly<{
|
|
238
238
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
239
239
|
}>, {
|
|
240
|
-
size: import("vue").ComputedRef<""
|
|
240
|
+
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
241
241
|
validateMessage: import("vue").Ref<string, string>;
|
|
242
242
|
validateState: import("vue").Ref<import("./types").FormItemValidateState, import("./types").FormItemValidateState>;
|
|
243
243
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
@@ -268,7 +268,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
268
268
|
type: import("vue").PropType<string | string[]>;
|
|
269
269
|
};
|
|
270
270
|
size: {
|
|
271
|
-
type: import("vue").PropType<""
|
|
271
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
272
272
|
};
|
|
273
273
|
required: {
|
|
274
274
|
type: import("vue").PropType<boolean>;
|
|
@@ -301,7 +301,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
301
301
|
}>> & Readonly<{
|
|
302
302
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
303
303
|
}>, {
|
|
304
|
-
size: import("vue").ComputedRef<""
|
|
304
|
+
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
305
305
|
validateMessage: import("vue").Ref<string, string>;
|
|
306
306
|
validateState: import("vue").Ref<import("./types").FormItemValidateState, import("./types").FormItemValidateState>;
|
|
307
307
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
@@ -327,7 +327,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
327
327
|
type: import("vue").PropType<string | string[]>;
|
|
328
328
|
};
|
|
329
329
|
size: {
|
|
330
|
-
type: import("vue").PropType<""
|
|
330
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
331
331
|
};
|
|
332
332
|
required: {
|
|
333
333
|
type: import("vue").PropType<boolean>;
|
|
@@ -360,7 +360,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
360
360
|
}>> & Readonly<{
|
|
361
361
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
362
362
|
}>, {
|
|
363
|
-
size: import("vue").ComputedRef<""
|
|
363
|
+
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
364
364
|
validateMessage: import("vue").Ref<string, string>;
|
|
365
365
|
validateState: import("vue").Ref<import("./types").FormItemValidateState, import("./types").FormItemValidateState>;
|
|
366
366
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
@@ -397,7 +397,7 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
397
397
|
type: import("vue").PropType<string | string[]>;
|
|
398
398
|
};
|
|
399
399
|
size: {
|
|
400
|
-
type: import("vue").PropType<""
|
|
400
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
401
401
|
};
|
|
402
402
|
required: {
|
|
403
403
|
type: import("vue").PropType<boolean>;
|
|
@@ -430,7 +430,7 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
430
430
|
}>> & Readonly<{
|
|
431
431
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
432
432
|
}>, {
|
|
433
|
-
size: import("vue").ComputedRef<""
|
|
433
|
+
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
434
434
|
validateMessage: import("vue").Ref<string, string>;
|
|
435
435
|
validateState: import("vue").Ref<import("./types").FormItemValidateState, import("./types").FormItemValidateState>;
|
|
436
436
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
@@ -461,7 +461,7 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
461
461
|
type: import("vue").PropType<string | string[]>;
|
|
462
462
|
};
|
|
463
463
|
size: {
|
|
464
|
-
type: import("vue").PropType<""
|
|
464
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
465
465
|
};
|
|
466
466
|
required: {
|
|
467
467
|
type: import("vue").PropType<boolean>;
|
|
@@ -494,7 +494,7 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
494
494
|
}>> & Readonly<{
|
|
495
495
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
496
496
|
}>, {
|
|
497
|
-
size: import("vue").ComputedRef<""
|
|
497
|
+
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
498
498
|
validateMessage: import("vue").Ref<string, string>;
|
|
499
499
|
validateState: import("vue").Ref<import("./types").FormItemValidateState, import("./types").FormItemValidateState>;
|
|
500
500
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
@@ -520,7 +520,7 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
520
520
|
type: import("vue").PropType<string | string[]>;
|
|
521
521
|
};
|
|
522
522
|
size: {
|
|
523
|
-
type: import("vue").PropType<""
|
|
523
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
524
524
|
};
|
|
525
525
|
required: {
|
|
526
526
|
type: import("vue").PropType<boolean>;
|
|
@@ -553,7 +553,7 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
553
553
|
}>> & Readonly<{
|
|
554
554
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
555
555
|
}>, {
|
|
556
|
-
size: import("vue").ComputedRef<""
|
|
556
|
+
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
557
557
|
validateMessage: import("vue").Ref<string, string>;
|
|
558
558
|
validateState: import("vue").Ref<import("./types").FormItemValidateState, import("./types").FormItemValidateState>;
|
|
559
559
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
@@ -4,7 +4,7 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
|
|
|
4
4
|
type: import("vue").PropType<boolean>;
|
|
5
5
|
};
|
|
6
6
|
size: {
|
|
7
|
-
type: import("vue").PropType<""
|
|
7
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
8
8
|
};
|
|
9
9
|
disabled: {
|
|
10
10
|
type: import("vue").PropType<boolean>;
|
|
@@ -41,7 +41,7 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
|
|
|
41
41
|
type: import("vue").PropType<boolean>;
|
|
42
42
|
};
|
|
43
43
|
size: {
|
|
44
|
-
type: import("vue").PropType<""
|
|
44
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
45
45
|
};
|
|
46
46
|
disabled: {
|
|
47
47
|
type: import("vue").PropType<boolean>;
|
|
@@ -71,7 +71,7 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
|
|
|
71
71
|
type: import("vue").PropType<boolean>;
|
|
72
72
|
};
|
|
73
73
|
size: {
|
|
74
|
-
type: import("vue").PropType<""
|
|
74
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
75
75
|
};
|
|
76
76
|
disabled: {
|
|
77
77
|
type: import("vue").PropType<boolean>;
|
|
@@ -104,7 +104,7 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
|
|
|
104
104
|
RadioButton: {
|
|
105
105
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
106
106
|
size: {
|
|
107
|
-
type: import("vue").PropType<""
|
|
107
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
108
108
|
};
|
|
109
109
|
disabled: {
|
|
110
110
|
type: import("vue").PropType<boolean>;
|
|
@@ -137,7 +137,7 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
|
|
|
137
137
|
Defaults: {};
|
|
138
138
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
139
139
|
size: {
|
|
140
|
-
type: import("vue").PropType<""
|
|
140
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
141
141
|
};
|
|
142
142
|
disabled: {
|
|
143
143
|
type: import("vue").PropType<boolean>;
|
|
@@ -165,7 +165,7 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
|
|
|
165
165
|
__isSuspense?: never;
|
|
166
166
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
167
167
|
size: {
|
|
168
|
-
type: import("vue").PropType<""
|
|
168
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
169
169
|
};
|
|
170
170
|
disabled: {
|
|
171
171
|
type: import("vue").PropType<boolean>;
|
|
@@ -212,7 +212,7 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
|
|
|
212
212
|
type: import("vue").PropType<boolean>;
|
|
213
213
|
};
|
|
214
214
|
size: {
|
|
215
|
-
type: import("vue").PropType<""
|
|
215
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
216
216
|
};
|
|
217
217
|
modelValue: {
|
|
218
218
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -262,7 +262,7 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
|
|
|
262
262
|
type: import("vue").PropType<boolean>;
|
|
263
263
|
};
|
|
264
264
|
size: {
|
|
265
|
-
type: import("vue").PropType<""
|
|
265
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
266
266
|
};
|
|
267
267
|
modelValue: {
|
|
268
268
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -306,7 +306,7 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
|
|
|
306
306
|
type: import("vue").PropType<boolean>;
|
|
307
307
|
};
|
|
308
308
|
size: {
|
|
309
|
-
type: import("vue").PropType<""
|
|
309
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
310
310
|
};
|
|
311
311
|
modelValue: {
|
|
312
312
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -356,7 +356,7 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
356
356
|
type: import("vue").PropType<boolean>;
|
|
357
357
|
};
|
|
358
358
|
size: {
|
|
359
|
-
type: import("vue").PropType<""
|
|
359
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
360
360
|
};
|
|
361
361
|
modelValue: {
|
|
362
362
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -406,7 +406,7 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
406
406
|
type: import("vue").PropType<boolean>;
|
|
407
407
|
};
|
|
408
408
|
size: {
|
|
409
|
-
type: import("vue").PropType<""
|
|
409
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
410
410
|
};
|
|
411
411
|
modelValue: {
|
|
412
412
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -450,7 +450,7 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
450
450
|
type: import("vue").PropType<boolean>;
|
|
451
451
|
};
|
|
452
452
|
size: {
|
|
453
|
-
type: import("vue").PropType<""
|
|
453
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
454
454
|
};
|
|
455
455
|
modelValue: {
|
|
456
456
|
type: import("vue").PropType<string | number | boolean>;
|
|
@@ -484,7 +484,7 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
484
484
|
export declare const VftRadioButton: import("vft/es/utils").SFCWithInstall<{
|
|
485
485
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
486
486
|
size: {
|
|
487
|
-
type: import("vue").PropType<""
|
|
487
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
488
488
|
};
|
|
489
489
|
disabled: {
|
|
490
490
|
type: import("vue").PropType<boolean>;
|
|
@@ -517,7 +517,7 @@ export declare const VftRadioButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
517
517
|
Defaults: {};
|
|
518
518
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
519
519
|
size: {
|
|
520
|
-
type: import("vue").PropType<""
|
|
520
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
521
521
|
};
|
|
522
522
|
disabled: {
|
|
523
523
|
type: import("vue").PropType<boolean>;
|
|
@@ -545,7 +545,7 @@ export declare const VftRadioButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
545
545
|
__isSuspense?: never;
|
|
546
546
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
547
547
|
size: {
|
|
548
|
-
type: import("vue").PropType<""
|
|
548
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
549
549
|
};
|
|
550
550
|
disabled: {
|
|
551
551
|
type: import("vue").PropType<boolean>;
|
|
@@ -4,7 +4,7 @@ export declare const useRadio: (props: RadioProps | RadioButtonProps, emit?: Rad
|
|
|
4
4
|
isGroup: import("vue").ComputedRef<boolean>;
|
|
5
5
|
radioGroup: import("./constants").RadioGroupContext | undefined;
|
|
6
6
|
focus: import("vue").Ref<boolean, boolean>;
|
|
7
|
-
size: import("vue").ComputedRef<""
|
|
7
|
+
size: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
8
8
|
disabled: import("vue").ComputedRef<boolean>;
|
|
9
9
|
tabIndex: import("vue").ComputedRef<0 | -1>;
|
|
10
10
|
modelValue: import("vue").WritableComputedRef<string | number | boolean | undefined, string | number | boolean | undefined>;
|
|
@@ -190,7 +190,7 @@ export declare const VftSelect: SFCWithInstall<import("vue").DefineComponent<imp
|
|
|
190
190
|
hasModelValue: import("vue").ComputedRef<boolean>;
|
|
191
191
|
shouldShowPlaceholder: import("vue").ComputedRef<boolean>;
|
|
192
192
|
selectDisabled: import("vue").ComputedRef<boolean>;
|
|
193
|
-
selectSize: import("vue").ComputedRef<""
|
|
193
|
+
selectSize: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
194
194
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
195
195
|
showClearBtn: import("vue").ComputedRef<boolean>;
|
|
196
196
|
states: import("./select.types").SelectStates;
|
|
@@ -186,7 +186,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
186
186
|
hasModelValue: import("vue").ComputedRef<boolean>;
|
|
187
187
|
shouldShowPlaceholder: import("vue").ComputedRef<boolean>;
|
|
188
188
|
selectDisabled: import("vue").ComputedRef<boolean>;
|
|
189
|
-
selectSize: import("vue").ComputedRef<""
|
|
189
|
+
selectSize: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
190
190
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
191
191
|
showClearBtn: import("vue").ComputedRef<boolean>;
|
|
192
192
|
states: import("./select.types").SelectStates;
|
|
@@ -35,7 +35,7 @@ declare const useSelect: (props: SelectV2Props, emit: any) => {
|
|
|
35
35
|
hasModelValue: import("vue").ComputedRef<boolean>;
|
|
36
36
|
shouldShowPlaceholder: import("vue").ComputedRef<boolean>;
|
|
37
37
|
selectDisabled: import("vue").ComputedRef<boolean>;
|
|
38
|
-
selectSize: import("vue").ComputedRef<""
|
|
38
|
+
selectSize: import("vue").ComputedRef<import("vft/es/constants").ComponentSize>;
|
|
39
39
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
40
40
|
showClearBtn: import("vue").ComputedRef<boolean>;
|
|
41
41
|
states: SelectStates;
|
|
@@ -21,10 +21,10 @@ export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
21
21
|
type: import("vue").PropType<boolean>;
|
|
22
22
|
};
|
|
23
23
|
size: {
|
|
24
|
-
type: import("vue").PropType<""
|
|
24
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
25
25
|
};
|
|
26
26
|
inputSize: {
|
|
27
|
-
type: import("vue").PropType<""
|
|
27
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
28
28
|
};
|
|
29
29
|
showStops: {
|
|
30
30
|
type: import("vue").PropType<boolean>;
|
|
@@ -106,10 +106,10 @@ export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
106
106
|
type: import("vue").PropType<boolean>;
|
|
107
107
|
};
|
|
108
108
|
size: {
|
|
109
|
-
type: import("vue").PropType<""
|
|
109
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
110
110
|
};
|
|
111
111
|
inputSize: {
|
|
112
|
-
type: import("vue").PropType<""
|
|
112
|
+
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
113
113
|
};
|
|
114
114
|
showStops: {
|
|
115
115
|
type: import("vue").PropType<boolean>;
|