vft 0.0.243 → 0.0.244
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/affix/affix.d.ts +1 -1
- package/es/components/affix/affix.vue.d.ts +3 -3
- package/es/components/affix/index.d.ts +6 -6
- package/es/components/autocomplete/autocomplete.vue.d.ts +4 -4
- package/es/components/autocomplete/index.d.ts +12 -12
- package/es/components/avatar/index.d.ts +3 -3
- package/es/components/button/button.vue.d.ts +2 -2
- package/es/components/button/index.d.ts +24 -24
- package/es/components/button/use-button.d.ts +2 -2
- package/es/components/carousel/carousel.vue.d.ts +1 -1
- package/es/components/carousel/index.d.ts +15 -15
- 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 +51 -51
- package/es/components/col/col.vue.d.ts +1 -1
- package/es/components/col/index.d.ts +9 -9
- package/es/components/color-picker/index.d.ts +8 -8
- package/es/components/date-picker/date-picker.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +6 -6
- package/es/components/date-picker/props/date-picker.d.ts +1 -1
- package/es/components/divider/index.d.ts +3 -3
- package/es/components/dropdown/dropdown.vue.d.ts +1 -1
- package/es/components/focus-trap/utils.d.ts +1 -1
- package/es/components/form/form-item.vue.d.ts +2 -2
- package/es/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/form/index.d.ts +48 -48
- package/es/components/input/index.d.ts +3 -3
- package/es/components/input/input.vue2.js +4 -4
- package/es/components/input-number/index.d.ts +2 -2
- package/es/components/popper/composables/use-content.d.ts +3 -3
- package/es/components/radio/index.d.ts +48 -48
- package/es/components/radio/radio.vue.d.ts +1 -1
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/roving-focus-group/roving-focus-group-impl.vue.d.ts +2 -2
- package/es/components/select/useSelect.d.ts +5 -5
- package/es/components/slider/index.d.ts +4 -4
- package/es/components/space/index.d.ts +3 -3
- package/es/components/space/space.d.ts +4 -4
- package/es/components/switch/index.d.ts +15 -15
- package/es/components/switch/switch.vue.d.ts +1 -1
- package/es/components/tabs/index.d.ts +3 -3
- package/es/components/tabs/tab-pane.vue2.js +37 -35
- package/es/components/tabs/tabs.vue.d.ts +1 -1
- package/es/components/tabs/tabs.vue2.js +61 -61
- package/es/components/time-picker/common/picker.vue.d.ts +3 -3
- package/es/components/time-picker/common/props.d.ts +1 -1
- package/es/components/time-picker/index.d.ts +6 -6
- package/es/components/time-picker/time-picker.d.ts +3 -3
- package/es/components/time-select/time-select.vue.d.ts +1 -1
- package/es/components/timeline/index.d.ts +6 -6
- package/es/components/tree/tree-node.vue.d.ts +36 -36
- package/es/components/upload/index.d.ts +9 -9
- package/es/hooks/use-ordered-children/index.js +25 -25
- package/es/hooks/use-popper/index.d.ts +3 -3
- 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/affix/affix.d.ts +1 -1
- package/lib/components/affix/affix.vue.d.ts +3 -3
- package/lib/components/affix/index.d.ts +6 -6
- package/lib/components/autocomplete/autocomplete.vue.d.ts +4 -4
- package/lib/components/autocomplete/index.d.ts +12 -12
- package/lib/components/avatar/index.d.ts +3 -3
- package/lib/components/button/button.vue.d.ts +2 -2
- package/lib/components/button/index.d.ts +24 -24
- package/lib/components/button/use-button.d.ts +2 -2
- package/lib/components/carousel/carousel.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +15 -15
- 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 +51 -51
- package/lib/components/col/col.vue.d.ts +1 -1
- package/lib/components/col/index.d.ts +9 -9
- package/lib/components/color-picker/index.d.ts +8 -8
- package/lib/components/date-picker/date-picker.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +6 -6
- package/lib/components/date-picker/props/date-picker.d.ts +1 -1
- package/lib/components/divider/index.d.ts +3 -3
- package/lib/components/dropdown/dropdown.vue.d.ts +1 -1
- package/lib/components/focus-trap/utils.d.ts +1 -1
- package/lib/components/form/form-item.vue.d.ts +2 -2
- package/lib/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/form/index.d.ts +48 -48
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/input-number/index.d.ts +2 -2
- package/lib/components/popper/composables/use-content.d.ts +3 -3
- package/lib/components/radio/index.d.ts +48 -48
- package/lib/components/radio/radio.vue.d.ts +1 -1
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/roving-focus-group/roving-focus-group-impl.vue.d.ts +2 -2
- package/lib/components/select/useSelect.d.ts +5 -5
- package/lib/components/slider/index.d.ts +4 -4
- package/lib/components/space/index.d.ts +3 -3
- package/lib/components/space/space.d.ts +4 -4
- package/lib/components/switch/index.d.ts +15 -15
- package/lib/components/switch/switch.vue.d.ts +1 -1
- package/lib/components/tabs/index.d.ts +3 -3
- package/lib/components/tabs/tab-pane.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue.d.ts +1 -1
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue.d.ts +3 -3
- package/lib/components/time-picker/common/props.d.ts +1 -1
- package/lib/components/time-picker/index.d.ts +6 -6
- package/lib/components/time-picker/time-picker.d.ts +3 -3
- package/lib/components/time-select/time-select.vue.d.ts +1 -1
- package/lib/components/timeline/index.d.ts +6 -6
- package/lib/components/tree/tree-node.vue.d.ts +36 -36
- package/lib/components/upload/index.d.ts +9 -9
- package/lib/hooks/use-ordered-children/index.cjs +1 -1
- package/lib/hooks/use-popper/index.d.ts +3 -3
- 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 +3 -3
- package/web-types.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const VftCol: import("vft/es/utils").SFCWithInstall<{
|
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
-
|
|
3
|
+
span: {
|
|
4
4
|
type: import("vue").PropType<number>;
|
|
5
5
|
default: number;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
push: {
|
|
8
8
|
type: import("vue").PropType<number>;
|
|
9
9
|
default: number;
|
|
10
10
|
};
|
|
@@ -36,8 +36,8 @@ export declare const VftCol: import("vft/es/utils").SFCWithInstall<{
|
|
|
36
36
|
default: number;
|
|
37
37
|
};
|
|
38
38
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
39
|
-
push: number;
|
|
40
39
|
span: number;
|
|
40
|
+
push: number;
|
|
41
41
|
offset: number;
|
|
42
42
|
tag: string;
|
|
43
43
|
pull: number;
|
|
@@ -49,11 +49,11 @@ export declare const VftCol: import("vft/es/utils").SFCWithInstall<{
|
|
|
49
49
|
M: {};
|
|
50
50
|
Defaults: {};
|
|
51
51
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
-
|
|
52
|
+
span: {
|
|
53
53
|
type: import("vue").PropType<number>;
|
|
54
54
|
default: number;
|
|
55
55
|
};
|
|
56
|
-
|
|
56
|
+
push: {
|
|
57
57
|
type: import("vue").PropType<number>;
|
|
58
58
|
default: number;
|
|
59
59
|
};
|
|
@@ -85,8 +85,8 @@ export declare const VftCol: import("vft/es/utils").SFCWithInstall<{
|
|
|
85
85
|
default: number;
|
|
86
86
|
};
|
|
87
87
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
88
|
-
push: number;
|
|
89
88
|
span: number;
|
|
89
|
+
push: number;
|
|
90
90
|
offset: number;
|
|
91
91
|
tag: string;
|
|
92
92
|
pull: number;
|
|
@@ -95,11 +95,11 @@ export declare const VftCol: import("vft/es/utils").SFCWithInstall<{
|
|
|
95
95
|
__isTeleport?: never;
|
|
96
96
|
__isSuspense?: never;
|
|
97
97
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
-
|
|
98
|
+
span: {
|
|
99
99
|
type: import("vue").PropType<number>;
|
|
100
100
|
default: number;
|
|
101
101
|
};
|
|
102
|
-
|
|
102
|
+
push: {
|
|
103
103
|
type: import("vue").PropType<number>;
|
|
104
104
|
default: number;
|
|
105
105
|
};
|
|
@@ -131,8 +131,8 @@ export declare const VftCol: import("vft/es/utils").SFCWithInstall<{
|
|
|
131
131
|
default: number;
|
|
132
132
|
};
|
|
133
133
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
134
|
-
push: number;
|
|
135
134
|
span: number;
|
|
135
|
+
push: number;
|
|
136
136
|
offset: number;
|
|
137
137
|
tag: string;
|
|
138
138
|
pull: number;
|
|
@@ -2,14 +2,14 @@ export declare const VftColorPicker: import("vft/es/utils").SFCWithInstall<impor
|
|
|
2
2
|
label: {
|
|
3
3
|
type: import("vue").PropType<string>;
|
|
4
4
|
};
|
|
5
|
-
id: {
|
|
6
|
-
type: import("vue").PropType<string>;
|
|
7
|
-
};
|
|
8
5
|
disabled: {
|
|
9
6
|
type: import("vue").PropType<boolean>;
|
|
10
7
|
};
|
|
8
|
+
id: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
};
|
|
11
11
|
size: {
|
|
12
|
-
type: import("vue").PropType<"" | "
|
|
12
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
13
13
|
};
|
|
14
14
|
modelValue: {
|
|
15
15
|
type: import("vue").PropType<string>;
|
|
@@ -46,14 +46,14 @@ export declare const VftColorPicker: import("vft/es/utils").SFCWithInstall<impor
|
|
|
46
46
|
label: {
|
|
47
47
|
type: import("vue").PropType<string>;
|
|
48
48
|
};
|
|
49
|
-
id: {
|
|
50
|
-
type: import("vue").PropType<string>;
|
|
51
|
-
};
|
|
52
49
|
disabled: {
|
|
53
50
|
type: import("vue").PropType<boolean>;
|
|
54
51
|
};
|
|
52
|
+
id: {
|
|
53
|
+
type: import("vue").PropType<string>;
|
|
54
|
+
};
|
|
55
55
|
size: {
|
|
56
|
-
type: import("vue").PropType<"" | "
|
|
56
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
57
57
|
};
|
|
58
58
|
modelValue: {
|
|
59
59
|
type: import("vue").PropType<string>;
|
|
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
51
51
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
52
52
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
53
53
|
readonly size: {
|
|
54
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
54
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
55
55
|
readonly required: false;
|
|
56
56
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
57
57
|
__epPropKey: true;
|
|
@@ -130,7 +130,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
130
130
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
131
131
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
132
132
|
readonly size: {
|
|
133
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
133
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
134
134
|
readonly required: false;
|
|
135
135
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
136
136
|
__epPropKey: true;
|
|
@@ -160,9 +160,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
160
160
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
161
161
|
}>, {
|
|
162
162
|
readonly label: string;
|
|
163
|
+
readonly disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
163
164
|
readonly name: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("vft/es/components/time-picker").SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => import("vft/es/components/time-picker").SingleOrRange<string>)) | null)[], unknown, unknown>;
|
|
164
165
|
readonly type: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | (() => import("./date-picker.type").IDatePickerType) | (((new (...args: any[]) => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | (() => import("./date-picker.type").IDatePickerType)) | null)[], unknown, unknown>;
|
|
165
|
-
readonly disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
166
166
|
readonly modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("vft/es/components/time-picker").DateModelType, import("vft/es/components/time-picker").DateModelType]) | (() => import("vft/es/components/time-picker").ModelValueType) | (((new (...args: any[]) => string | number | Date | [import("vft/es/components/time-picker").DateModelType, import("vft/es/components/time-picker").DateModelType]) | (() => import("vft/es/components/time-picker").ModelValueType)) | null)[], unknown, unknown>;
|
|
167
167
|
readonly readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
168
168
|
readonly placeholder: string;
|
|
@@ -51,7 +51,7 @@ declare const _DatePicker: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
51
51
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
52
52
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
53
53
|
readonly size: {
|
|
54
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
54
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
55
55
|
readonly required: false;
|
|
56
56
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
57
57
|
__epPropKey: true;
|
|
@@ -130,7 +130,7 @@ declare const _DatePicker: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
130
130
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
131
131
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
132
132
|
readonly size: {
|
|
133
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
133
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
134
134
|
readonly required: false;
|
|
135
135
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
136
136
|
__epPropKey: true;
|
|
@@ -160,9 +160,9 @@ declare const _DatePicker: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
160
160
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
161
161
|
}>, {
|
|
162
162
|
readonly label: string;
|
|
163
|
+
readonly disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
163
164
|
readonly name: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("vft/es/vft").SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => import("vft/es/vft").SingleOrRange<string>)) | null)[], unknown, unknown>;
|
|
164
165
|
readonly type: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | (() => import("./date-picker.type").IDatePickerType) | (((new (...args: any[]) => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | (() => import("./date-picker.type").IDatePickerType)) | null)[], unknown, unknown>;
|
|
165
|
-
readonly disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
166
166
|
readonly modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("vft/es/vft").DateModelType, import("vft/es/vft").DateModelType]) | (() => import("vft/es/vft").ModelValueType) | (((new (...args: any[]) => string | number | Date | [import("vft/es/vft").DateModelType, import("vft/es/vft").DateModelType]) | (() => import("vft/es/vft").ModelValueType)) | null)[], unknown, unknown>;
|
|
167
167
|
readonly readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
168
168
|
readonly placeholder: string;
|
|
@@ -234,7 +234,7 @@ export declare const VftDatePicker: import("vue").DefineComponent<import("vue").
|
|
|
234
234
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
235
235
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
236
236
|
readonly size: {
|
|
237
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
237
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
238
238
|
readonly required: false;
|
|
239
239
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
240
240
|
__epPropKey: true;
|
|
@@ -313,7 +313,7 @@ export declare const VftDatePicker: import("vue").DefineComponent<import("vue").
|
|
|
313
313
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
314
314
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
315
315
|
readonly size: {
|
|
316
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
316
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
317
317
|
readonly required: false;
|
|
318
318
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
319
319
|
__epPropKey: true;
|
|
@@ -343,9 +343,9 @@ export declare const VftDatePicker: import("vue").DefineComponent<import("vue").
|
|
|
343
343
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
344
344
|
}>, {
|
|
345
345
|
readonly label: string;
|
|
346
|
+
readonly disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
346
347
|
readonly name: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("vft/es/vft").SingleOrRange<string>) | (((new (...args: any[]) => string | [string, string]) | (() => import("vft/es/vft").SingleOrRange<string>)) | null)[], unknown, unknown>;
|
|
347
348
|
readonly type: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | (() => import("./date-picker.type").IDatePickerType) | (((new (...args: any[]) => "year" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | (() => import("./date-picker.type").IDatePickerType)) | null)[], unknown, unknown>;
|
|
348
|
-
readonly disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
349
349
|
readonly modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("vft/es/vft").DateModelType, import("vft/es/vft").DateModelType]) | (() => import("vft/es/vft").ModelValueType) | (((new (...args: any[]) => string | number | Date | [import("vft/es/vft").DateModelType, import("vft/es/vft").DateModelType]) | (() => import("vft/es/vft").ModelValueType)) | null)[], unknown, unknown>;
|
|
350
350
|
readonly readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
351
351
|
readonly placeholder: string;
|
|
@@ -53,7 +53,7 @@ export declare const datePickerProps: {
|
|
|
53
53
|
readonly editable: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
54
54
|
readonly prefixIcon: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown, "", boolean>;
|
|
55
55
|
readonly size: {
|
|
56
|
-
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
56
|
+
readonly type: import("vue").PropType<import("vft/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
57
57
|
readonly required: false;
|
|
58
58
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
59
|
__epPropKey: true;
|
|
@@ -4,7 +4,7 @@ export declare const VftDivider: import("vft/es/utils").SFCWithInstall<{
|
|
|
4
4
|
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
5
5
|
};
|
|
6
6
|
contentPosition: {
|
|
7
|
-
type: import("vue").PropType<"
|
|
7
|
+
type: import("vue").PropType<"center" | "left" | "right">;
|
|
8
8
|
};
|
|
9
9
|
borderStyle: {
|
|
10
10
|
type: import("vue").PropType<string>;
|
|
@@ -30,7 +30,7 @@ export declare const VftDivider: import("vft/es/utils").SFCWithInstall<{
|
|
|
30
30
|
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
31
31
|
};
|
|
32
32
|
contentPosition: {
|
|
33
|
-
type: import("vue").PropType<"
|
|
33
|
+
type: import("vue").PropType<"center" | "left" | "right">;
|
|
34
34
|
};
|
|
35
35
|
borderStyle: {
|
|
36
36
|
type: import("vue").PropType<string>;
|
|
@@ -53,7 +53,7 @@ export declare const VftDivider: import("vft/es/utils").SFCWithInstall<{
|
|
|
53
53
|
type: import("vue").PropType<"vertical" | "horizontal">;
|
|
54
54
|
};
|
|
55
55
|
contentPosition: {
|
|
56
|
-
type: import("vue").PropType<"
|
|
56
|
+
type: import("vue").PropType<"center" | "left" | "right">;
|
|
57
57
|
};
|
|
58
58
|
borderStyle: {
|
|
59
59
|
type: import("vue").PropType<string>;
|
|
@@ -69,9 +69,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
69
69
|
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
70
70
|
onCommand?: ((val: string) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
|
+
disabled: boolean;
|
|
72
73
|
maxHeight: number | string;
|
|
73
74
|
role: string;
|
|
74
|
-
disabled: boolean;
|
|
75
75
|
placement: Placement;
|
|
76
76
|
effect: "light" | "dark";
|
|
77
77
|
loop: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const focusReason: import("vue").Ref<"
|
|
1
|
+
declare const focusReason: import("vue").Ref<"keyboard" | "pointer" | undefined, "keyboard" | "pointer" | undefined>;
|
|
2
2
|
declare const lastUserFocusTimestamp: import("vue").Ref<number, number>;
|
|
3
3
|
declare const lastAutomatedFocusTimestamp: import("vue").Ref<number, number>;
|
|
4
4
|
export type FocusLayer = {
|
|
@@ -15,7 +15,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
15
15
|
labelWidth: string;
|
|
16
16
|
showMessage: boolean;
|
|
17
17
|
}>>, {
|
|
18
|
-
size: import("vue").ComputedRef<"" | "
|
|
18
|
+
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
19
19
|
validateMessage: Ref<string, string>;
|
|
20
20
|
validateState: Ref<FormItemValidateState, FormItemValidateState>;
|
|
21
21
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
@@ -31,8 +31,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
31
31
|
}>>> & Readonly<{
|
|
32
32
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
|
-
required: boolean;
|
|
35
34
|
labelWidth: string | number;
|
|
35
|
+
required: boolean;
|
|
36
36
|
inlineMessage: string | boolean;
|
|
37
37
|
showMessage: boolean;
|
|
38
38
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -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<"" | "small" | "default" | "large">;
|
|
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<"" | "small" | "default" | "large">;
|
|
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<"" | "small" | "default" | "large">;
|
|
7
7
|
};
|
|
8
8
|
disabled: {
|
|
9
9
|
type: import("vue").PropType<boolean>;
|
|
@@ -15,7 +15,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
15
15
|
type: import("vue").PropType<Partial<Record<string, import("vft/es/utils").Arrayable<import("./types").FormItemRule>>>>;
|
|
16
16
|
};
|
|
17
17
|
labelPosition: {
|
|
18
|
-
type: import("vue").PropType<"
|
|
18
|
+
type: import("vue").PropType<"top" | "left" | "right">;
|
|
19
19
|
};
|
|
20
20
|
requireAsteriskPosition: {
|
|
21
21
|
type: import("vue").PropType<"left" | "right">;
|
|
@@ -66,7 +66,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
66
66
|
Defaults: {};
|
|
67
67
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
68
68
|
size: {
|
|
69
|
-
type: import("vue").PropType<"" | "
|
|
69
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
70
70
|
};
|
|
71
71
|
disabled: {
|
|
72
72
|
type: import("vue").PropType<boolean>;
|
|
@@ -78,7 +78,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
78
78
|
type: import("vue").PropType<Partial<Record<string, import("vft/es/utils").Arrayable<import("./types").FormItemRule>>>>;
|
|
79
79
|
};
|
|
80
80
|
labelPosition: {
|
|
81
|
-
type: import("vue").PropType<"
|
|
81
|
+
type: import("vue").PropType<"top" | "left" | "right">;
|
|
82
82
|
};
|
|
83
83
|
requireAsteriskPosition: {
|
|
84
84
|
type: import("vue").PropType<"left" | "right">;
|
|
@@ -124,7 +124,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
124
124
|
__isSuspense?: never;
|
|
125
125
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
126
126
|
size: {
|
|
127
|
-
type: import("vue").PropType<"" | "
|
|
127
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
128
128
|
};
|
|
129
129
|
disabled: {
|
|
130
130
|
type: import("vue").PropType<boolean>;
|
|
@@ -136,7 +136,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
136
136
|
type: import("vue").PropType<Partial<Record<string, import("vft/es/utils").Arrayable<import("./types").FormItemRule>>>>;
|
|
137
137
|
};
|
|
138
138
|
labelPosition: {
|
|
139
|
-
type: import("vue").PropType<"
|
|
139
|
+
type: import("vue").PropType<"top" | "left" | "right">;
|
|
140
140
|
};
|
|
141
141
|
requireAsteriskPosition: {
|
|
142
142
|
type: import("vue").PropType<"left" | "right">;
|
|
@@ -195,16 +195,16 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
195
195
|
type: import("vue").PropType<string | string[]>;
|
|
196
196
|
};
|
|
197
197
|
size: {
|
|
198
|
-
type: import("vue").PropType<"" | "
|
|
199
|
-
};
|
|
200
|
-
required: {
|
|
201
|
-
type: import("vue").PropType<boolean>;
|
|
202
|
-
default: undefined;
|
|
198
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
203
199
|
};
|
|
204
200
|
labelWidth: {
|
|
205
201
|
type: import("vue").PropType<string | number>;
|
|
206
202
|
default: string;
|
|
207
203
|
};
|
|
204
|
+
required: {
|
|
205
|
+
type: import("vue").PropType<boolean>;
|
|
206
|
+
default: undefined;
|
|
207
|
+
};
|
|
208
208
|
rules: {
|
|
209
209
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
210
210
|
};
|
|
@@ -225,7 +225,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
225
225
|
}>> & Readonly<{
|
|
226
226
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
227
227
|
}>, {
|
|
228
|
-
size: import("vue").ComputedRef<"" | "
|
|
228
|
+
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
229
229
|
validateMessage: import("vue").Ref<string, string>;
|
|
230
230
|
validateState: import("vue").Ref<import("./types").FormItemValidateState, import("./types").FormItemValidateState>;
|
|
231
231
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
@@ -234,8 +234,8 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
234
234
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
235
235
|
"update:error": (val: string) => void;
|
|
236
236
|
}, import("vue").PublicProps, {
|
|
237
|
-
required: boolean;
|
|
238
237
|
labelWidth: string | number;
|
|
238
|
+
required: boolean;
|
|
239
239
|
inlineMessage: string | boolean;
|
|
240
240
|
showMessage: boolean;
|
|
241
241
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -256,16 +256,16 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
256
256
|
type: import("vue").PropType<string | string[]>;
|
|
257
257
|
};
|
|
258
258
|
size: {
|
|
259
|
-
type: import("vue").PropType<"" | "
|
|
260
|
-
};
|
|
261
|
-
required: {
|
|
262
|
-
type: import("vue").PropType<boolean>;
|
|
263
|
-
default: undefined;
|
|
259
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
264
260
|
};
|
|
265
261
|
labelWidth: {
|
|
266
262
|
type: import("vue").PropType<string | number>;
|
|
267
263
|
default: string;
|
|
268
264
|
};
|
|
265
|
+
required: {
|
|
266
|
+
type: import("vue").PropType<boolean>;
|
|
267
|
+
default: undefined;
|
|
268
|
+
};
|
|
269
269
|
rules: {
|
|
270
270
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
271
271
|
};
|
|
@@ -286,15 +286,15 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
286
286
|
}>> & Readonly<{
|
|
287
287
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
288
288
|
}>, {
|
|
289
|
-
size: import("vue").ComputedRef<"" | "
|
|
289
|
+
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
290
290
|
validateMessage: import("vue").Ref<string, string>;
|
|
291
291
|
validateState: import("vue").Ref<import("./types").FormItemValidateState, import("./types").FormItemValidateState>;
|
|
292
292
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
293
293
|
clearValidate: () => void;
|
|
294
294
|
resetField: () => void;
|
|
295
295
|
}, {}, {}, {}, {
|
|
296
|
-
required: boolean;
|
|
297
296
|
labelWidth: string | number;
|
|
297
|
+
required: boolean;
|
|
298
298
|
inlineMessage: string | boolean;
|
|
299
299
|
showMessage: boolean;
|
|
300
300
|
}>;
|
|
@@ -312,16 +312,16 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
312
312
|
type: import("vue").PropType<string | string[]>;
|
|
313
313
|
};
|
|
314
314
|
size: {
|
|
315
|
-
type: import("vue").PropType<"" | "
|
|
316
|
-
};
|
|
317
|
-
required: {
|
|
318
|
-
type: import("vue").PropType<boolean>;
|
|
319
|
-
default: undefined;
|
|
315
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
320
316
|
};
|
|
321
317
|
labelWidth: {
|
|
322
318
|
type: import("vue").PropType<string | number>;
|
|
323
319
|
default: string;
|
|
324
320
|
};
|
|
321
|
+
required: {
|
|
322
|
+
type: import("vue").PropType<boolean>;
|
|
323
|
+
default: undefined;
|
|
324
|
+
};
|
|
325
325
|
rules: {
|
|
326
326
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
327
327
|
};
|
|
@@ -342,7 +342,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
342
342
|
}>> & Readonly<{
|
|
343
343
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
344
344
|
}>, {
|
|
345
|
-
size: import("vue").ComputedRef<"" | "
|
|
345
|
+
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
346
346
|
validateMessage: import("vue").Ref<string, string>;
|
|
347
347
|
validateState: import("vue").Ref<import("./types").FormItemValidateState, import("./types").FormItemValidateState>;
|
|
348
348
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
@@ -351,8 +351,8 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
351
351
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
352
352
|
"update:error": (val: string) => void;
|
|
353
353
|
}, string, {
|
|
354
|
-
required: boolean;
|
|
355
354
|
labelWidth: string | number;
|
|
355
|
+
required: boolean;
|
|
356
356
|
inlineMessage: string | boolean;
|
|
357
357
|
showMessage: boolean;
|
|
358
358
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -379,16 +379,16 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
379
379
|
type: import("vue").PropType<string | string[]>;
|
|
380
380
|
};
|
|
381
381
|
size: {
|
|
382
|
-
type: import("vue").PropType<"" | "
|
|
383
|
-
};
|
|
384
|
-
required: {
|
|
385
|
-
type: import("vue").PropType<boolean>;
|
|
386
|
-
default: undefined;
|
|
382
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
387
383
|
};
|
|
388
384
|
labelWidth: {
|
|
389
385
|
type: import("vue").PropType<string | number>;
|
|
390
386
|
default: string;
|
|
391
387
|
};
|
|
388
|
+
required: {
|
|
389
|
+
type: import("vue").PropType<boolean>;
|
|
390
|
+
default: undefined;
|
|
391
|
+
};
|
|
392
392
|
rules: {
|
|
393
393
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
394
394
|
};
|
|
@@ -409,7 +409,7 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
409
409
|
}>> & Readonly<{
|
|
410
410
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
411
411
|
}>, {
|
|
412
|
-
size: import("vue").ComputedRef<"" | "
|
|
412
|
+
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
413
413
|
validateMessage: import("vue").Ref<string, string>;
|
|
414
414
|
validateState: import("vue").Ref<import("./types").FormItemValidateState, import("./types").FormItemValidateState>;
|
|
415
415
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
@@ -418,8 +418,8 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
418
418
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
419
419
|
"update:error": (val: string) => void;
|
|
420
420
|
}, import("vue").PublicProps, {
|
|
421
|
-
required: boolean;
|
|
422
421
|
labelWidth: string | number;
|
|
422
|
+
required: boolean;
|
|
423
423
|
inlineMessage: string | boolean;
|
|
424
424
|
showMessage: boolean;
|
|
425
425
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -440,16 +440,16 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
440
440
|
type: import("vue").PropType<string | string[]>;
|
|
441
441
|
};
|
|
442
442
|
size: {
|
|
443
|
-
type: import("vue").PropType<"" | "
|
|
444
|
-
};
|
|
445
|
-
required: {
|
|
446
|
-
type: import("vue").PropType<boolean>;
|
|
447
|
-
default: undefined;
|
|
443
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
448
444
|
};
|
|
449
445
|
labelWidth: {
|
|
450
446
|
type: import("vue").PropType<string | number>;
|
|
451
447
|
default: string;
|
|
452
448
|
};
|
|
449
|
+
required: {
|
|
450
|
+
type: import("vue").PropType<boolean>;
|
|
451
|
+
default: undefined;
|
|
452
|
+
};
|
|
453
453
|
rules: {
|
|
454
454
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
455
455
|
};
|
|
@@ -470,15 +470,15 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
470
470
|
}>> & Readonly<{
|
|
471
471
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
472
472
|
}>, {
|
|
473
|
-
size: import("vue").ComputedRef<"" | "
|
|
473
|
+
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
474
474
|
validateMessage: import("vue").Ref<string, string>;
|
|
475
475
|
validateState: import("vue").Ref<import("./types").FormItemValidateState, import("./types").FormItemValidateState>;
|
|
476
476
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
477
477
|
clearValidate: () => void;
|
|
478
478
|
resetField: () => void;
|
|
479
479
|
}, {}, {}, {}, {
|
|
480
|
-
required: boolean;
|
|
481
480
|
labelWidth: string | number;
|
|
481
|
+
required: boolean;
|
|
482
482
|
inlineMessage: string | boolean;
|
|
483
483
|
showMessage: boolean;
|
|
484
484
|
}>;
|
|
@@ -496,16 +496,16 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
496
496
|
type: import("vue").PropType<string | string[]>;
|
|
497
497
|
};
|
|
498
498
|
size: {
|
|
499
|
-
type: import("vue").PropType<"" | "
|
|
500
|
-
};
|
|
501
|
-
required: {
|
|
502
|
-
type: import("vue").PropType<boolean>;
|
|
503
|
-
default: undefined;
|
|
499
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
504
500
|
};
|
|
505
501
|
labelWidth: {
|
|
506
502
|
type: import("vue").PropType<string | number>;
|
|
507
503
|
default: string;
|
|
508
504
|
};
|
|
505
|
+
required: {
|
|
506
|
+
type: import("vue").PropType<boolean>;
|
|
507
|
+
default: undefined;
|
|
508
|
+
};
|
|
509
509
|
rules: {
|
|
510
510
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
511
511
|
};
|
|
@@ -526,7 +526,7 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
526
526
|
}>> & Readonly<{
|
|
527
527
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
528
528
|
}>, {
|
|
529
|
-
size: import("vue").ComputedRef<"" | "
|
|
529
|
+
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
530
530
|
validateMessage: import("vue").Ref<string, string>;
|
|
531
531
|
validateState: import("vue").Ref<import("./types").FormItemValidateState, import("./types").FormItemValidateState>;
|
|
532
532
|
validate: (trigger: string, callback?: import("./types").FormValidateCallback) => import("./types").FormValidationResult;
|
|
@@ -535,8 +535,8 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
535
535
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
536
536
|
"update:error": (val: string) => void;
|
|
537
537
|
}, string, {
|
|
538
|
-
required: boolean;
|
|
539
538
|
labelWidth: string | number;
|
|
539
|
+
required: boolean;
|
|
540
540
|
inlineMessage: string | boolean;
|
|
541
541
|
showMessage: boolean;
|
|
542
542
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -5,7 +5,7 @@ export declare const VftInput: import("vft/es/utils").SFCWithInstall<{
|
|
|
5
5
|
type: import("vue").PropType<string>;
|
|
6
6
|
};
|
|
7
7
|
size: {
|
|
8
|
-
type: import("vue").PropType<"
|
|
8
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
9
9
|
};
|
|
10
10
|
disabled: {
|
|
11
11
|
type: import("vue").PropType<boolean>;
|
|
@@ -134,7 +134,7 @@ export declare const VftInput: import("vft/es/utils").SFCWithInstall<{
|
|
|
134
134
|
type: import("vue").PropType<string>;
|
|
135
135
|
};
|
|
136
136
|
size: {
|
|
137
|
-
type: import("vue").PropType<"
|
|
137
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
138
138
|
};
|
|
139
139
|
disabled: {
|
|
140
140
|
type: import("vue").PropType<boolean>;
|
|
@@ -244,7 +244,7 @@ export declare const VftInput: import("vft/es/utils").SFCWithInstall<{
|
|
|
244
244
|
type: import("vue").PropType<string>;
|
|
245
245
|
};
|
|
246
246
|
size: {
|
|
247
|
-
type: import("vue").PropType<"
|
|
247
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
248
248
|
};
|
|
249
249
|
disabled: {
|
|
250
250
|
type: import("vue").PropType<boolean>;
|