vft 0.0.260 → 0.0.261
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 +1 -1
- package/es/components/button/index.d.ts +24 -24
- 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 +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 +6 -6
- package/es/components/date-picker/index.d.ts +12 -12
- package/es/components/date-picker/props/date-picker.d.ts +2 -2
- 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 +54 -54
- package/es/components/input/index.d.ts +3 -3
- package/es/components/input-number/index.d.ts +2 -2
- package/es/components/popconfirm/index.d.ts +15 -15
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- 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/index.d.ts +10 -10
- package/es/components/select/select.vue.d.ts +10 -10
- package/es/components/select/useSelect.d.ts +9 -9
- 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/super-form/super-form-item.vue2.js +26 -26
- 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 +2 -2
- package/es/components/time-picker/common/picker-range-trigger.vue.d.ts +2 -2
- package/es/components/time-picker/common/picker.vue.d.ts +6 -6
- package/es/components/time-picker/common/props.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +12 -12
- package/es/components/time-picker/time-picker.d.ts +6 -6
- 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-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 +1 -1
- package/lib/components/button/index.d.ts +24 -24
- 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 +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 +6 -6
- package/lib/components/date-picker/index.d.ts +12 -12
- package/lib/components/date-picker/props/date-picker.d.ts +2 -2
- 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 +54 -54
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input-number/index.d.ts +2 -2
- package/lib/components/popconfirm/index.d.ts +15 -15
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- 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/index.d.ts +10 -10
- package/lib/components/select/select.vue.d.ts +10 -10
- package/lib/components/select/useSelect.d.ts +9 -9
- 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/super-form/super-form-item.vue2.cjs +1 -1
- 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 +2 -2
- package/lib/components/time-picker/common/picker-range-trigger.vue.d.ts +2 -2
- package/lib/components/time-picker/common/picker.vue.d.ts +6 -6
- package/lib/components/time-picker/common/props.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +12 -12
- package/lib/components/time-picker/time-picker.d.ts +6 -6
- 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-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 +5 -5
- package/web-types.json +1 -1
|
@@ -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>;
|
|
@@ -46,9 +46,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
46
46
|
"onVisible-change"?: ((val: boolean) => any) | undefined;
|
|
47
47
|
onCommand?: ((val: string) => any) | undefined;
|
|
48
48
|
}>, {
|
|
49
|
+
disabled: boolean;
|
|
49
50
|
maxHeight: number | string;
|
|
50
51
|
role: string;
|
|
51
|
-
disabled: boolean;
|
|
52
52
|
placement: import("@popperjs/core").Placement;
|
|
53
53
|
effect: "light" | "dark";
|
|
54
54
|
tabindex: number | string;
|
|
@@ -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 = {
|
|
@@ -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<"" | "small" | "default" | "large">;
|
|
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;
|
|
@@ -30,10 +30,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
30
30
|
}>>> & Readonly<{
|
|
31
31
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
|
-
required: boolean;
|
|
34
33
|
labelWidth: string | number;
|
|
35
34
|
inlineMessage: string | boolean;
|
|
36
35
|
showMessage: boolean;
|
|
36
|
+
required: boolean;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
38
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
39
39
|
export default _default;
|
|
@@ -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">;
|
|
@@ -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<"" | "small" | "default" | "large">;
|
|
73
73
|
};
|
|
74
74
|
disabled: {
|
|
75
75
|
type: import("vue").PropType<boolean>;
|
|
@@ -81,7 +81,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
81
81
|
type: import("vue").PropType<Partial<Record<string, import("vft/es/utils").Arrayable<import("./types").FormItemRule>>>>;
|
|
82
82
|
};
|
|
83
83
|
labelPosition: {
|
|
84
|
-
type: import("vue").PropType<"
|
|
84
|
+
type: import("vue").PropType<"top" | "left" | "right">;
|
|
85
85
|
};
|
|
86
86
|
requireAsteriskPosition: {
|
|
87
87
|
type: import("vue").PropType<"left" | "right">;
|
|
@@ -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<"" | "small" | "default" | "large">;
|
|
134
134
|
};
|
|
135
135
|
disabled: {
|
|
136
136
|
type: import("vue").PropType<boolean>;
|
|
@@ -142,7 +142,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
142
142
|
type: import("vue").PropType<Partial<Record<string, import("vft/es/utils").Arrayable<import("./types").FormItemRule>>>>;
|
|
143
143
|
};
|
|
144
144
|
labelPosition: {
|
|
145
|
-
type: import("vue").PropType<"
|
|
145
|
+
type: import("vue").PropType<"top" | "left" | "right">;
|
|
146
146
|
};
|
|
147
147
|
requireAsteriskPosition: {
|
|
148
148
|
type: import("vue").PropType<"left" | "right">;
|
|
@@ -204,17 +204,13 @@ 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<"" | "
|
|
208
|
-
};
|
|
209
|
-
required: {
|
|
210
|
-
type: import("vue").PropType<boolean>;
|
|
211
|
-
default: undefined;
|
|
207
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
212
208
|
};
|
|
213
209
|
rules: {
|
|
214
210
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
215
211
|
};
|
|
216
212
|
labelPosition: {
|
|
217
|
-
type: import("vue").PropType<"
|
|
213
|
+
type: import("vue").PropType<"top" | "left" | "right">;
|
|
218
214
|
};
|
|
219
215
|
labelWidth: {
|
|
220
216
|
type: import("vue").PropType<string | number>;
|
|
@@ -228,6 +224,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
228
224
|
type: import("vue").PropType<boolean>;
|
|
229
225
|
default: boolean;
|
|
230
226
|
};
|
|
227
|
+
required: {
|
|
228
|
+
type: import("vue").PropType<boolean>;
|
|
229
|
+
default: undefined;
|
|
230
|
+
};
|
|
231
231
|
for: {
|
|
232
232
|
type: import("vue").PropType<string>;
|
|
233
233
|
};
|
|
@@ -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<"" | "small" | "default" | "large">;
|
|
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;
|
|
@@ -246,10 +246,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
246
246
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
247
247
|
"update:error": (val: string) => void;
|
|
248
248
|
}, import("vue").PublicProps, {
|
|
249
|
-
required: boolean;
|
|
250
249
|
labelWidth: string | number;
|
|
251
250
|
inlineMessage: string | boolean;
|
|
252
251
|
showMessage: boolean;
|
|
252
|
+
required: boolean;
|
|
253
253
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
254
254
|
P: {};
|
|
255
255
|
B: {};
|
|
@@ -268,17 +268,13 @@ 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<"" | "
|
|
272
|
-
};
|
|
273
|
-
required: {
|
|
274
|
-
type: import("vue").PropType<boolean>;
|
|
275
|
-
default: undefined;
|
|
271
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
276
272
|
};
|
|
277
273
|
rules: {
|
|
278
274
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
279
275
|
};
|
|
280
276
|
labelPosition: {
|
|
281
|
-
type: import("vue").PropType<"
|
|
277
|
+
type: import("vue").PropType<"top" | "left" | "right">;
|
|
282
278
|
};
|
|
283
279
|
labelWidth: {
|
|
284
280
|
type: import("vue").PropType<string | number>;
|
|
@@ -292,6 +288,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
292
288
|
type: import("vue").PropType<boolean>;
|
|
293
289
|
default: boolean;
|
|
294
290
|
};
|
|
291
|
+
required: {
|
|
292
|
+
type: import("vue").PropType<boolean>;
|
|
293
|
+
default: undefined;
|
|
294
|
+
};
|
|
295
295
|
for: {
|
|
296
296
|
type: import("vue").PropType<string>;
|
|
297
297
|
};
|
|
@@ -301,17 +301,17 @@ 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<"" | "small" | "default" | "large">;
|
|
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;
|
|
308
308
|
clearValidate: () => void;
|
|
309
309
|
resetField: () => void;
|
|
310
310
|
}, {}, {}, {}, {
|
|
311
|
-
required: boolean;
|
|
312
311
|
labelWidth: string | number;
|
|
313
312
|
inlineMessage: string | boolean;
|
|
314
313
|
showMessage: boolean;
|
|
314
|
+
required: boolean;
|
|
315
315
|
}>;
|
|
316
316
|
__isFragment?: never;
|
|
317
317
|
__isTeleport?: never;
|
|
@@ -327,17 +327,13 @@ 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<"" | "
|
|
331
|
-
};
|
|
332
|
-
required: {
|
|
333
|
-
type: import("vue").PropType<boolean>;
|
|
334
|
-
default: undefined;
|
|
330
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
335
331
|
};
|
|
336
332
|
rules: {
|
|
337
333
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
338
334
|
};
|
|
339
335
|
labelPosition: {
|
|
340
|
-
type: import("vue").PropType<"
|
|
336
|
+
type: import("vue").PropType<"top" | "left" | "right">;
|
|
341
337
|
};
|
|
342
338
|
labelWidth: {
|
|
343
339
|
type: import("vue").PropType<string | number>;
|
|
@@ -351,6 +347,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
351
347
|
type: import("vue").PropType<boolean>;
|
|
352
348
|
default: boolean;
|
|
353
349
|
};
|
|
350
|
+
required: {
|
|
351
|
+
type: import("vue").PropType<boolean>;
|
|
352
|
+
default: undefined;
|
|
353
|
+
};
|
|
354
354
|
for: {
|
|
355
355
|
type: import("vue").PropType<string>;
|
|
356
356
|
};
|
|
@@ -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<"" | "small" | "default" | "large">;
|
|
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;
|
|
@@ -369,10 +369,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
369
369
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
370
370
|
"update:error": (val: string) => void;
|
|
371
371
|
}, string, {
|
|
372
|
-
required: boolean;
|
|
373
372
|
labelWidth: string | number;
|
|
374
373
|
inlineMessage: string | boolean;
|
|
375
374
|
showMessage: boolean;
|
|
375
|
+
required: boolean;
|
|
376
376
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
377
377
|
$slots: {
|
|
378
378
|
label?(_: {
|
|
@@ -397,17 +397,13 @@ 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<"" | "
|
|
401
|
-
};
|
|
402
|
-
required: {
|
|
403
|
-
type: import("vue").PropType<boolean>;
|
|
404
|
-
default: undefined;
|
|
400
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
405
401
|
};
|
|
406
402
|
rules: {
|
|
407
403
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
408
404
|
};
|
|
409
405
|
labelPosition: {
|
|
410
|
-
type: import("vue").PropType<"
|
|
406
|
+
type: import("vue").PropType<"top" | "left" | "right">;
|
|
411
407
|
};
|
|
412
408
|
labelWidth: {
|
|
413
409
|
type: import("vue").PropType<string | number>;
|
|
@@ -421,6 +417,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
421
417
|
type: import("vue").PropType<boolean>;
|
|
422
418
|
default: boolean;
|
|
423
419
|
};
|
|
420
|
+
required: {
|
|
421
|
+
type: import("vue").PropType<boolean>;
|
|
422
|
+
default: undefined;
|
|
423
|
+
};
|
|
424
424
|
for: {
|
|
425
425
|
type: import("vue").PropType<string>;
|
|
426
426
|
};
|
|
@@ -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<"" | "small" | "default" | "large">;
|
|
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;
|
|
@@ -439,10 +439,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
439
439
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
440
440
|
"update:error": (val: string) => void;
|
|
441
441
|
}, import("vue").PublicProps, {
|
|
442
|
-
required: boolean;
|
|
443
442
|
labelWidth: string | number;
|
|
444
443
|
inlineMessage: string | boolean;
|
|
445
444
|
showMessage: boolean;
|
|
445
|
+
required: boolean;
|
|
446
446
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
447
447
|
P: {};
|
|
448
448
|
B: {};
|
|
@@ -461,17 +461,13 @@ 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<"" | "
|
|
465
|
-
};
|
|
466
|
-
required: {
|
|
467
|
-
type: import("vue").PropType<boolean>;
|
|
468
|
-
default: undefined;
|
|
464
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
469
465
|
};
|
|
470
466
|
rules: {
|
|
471
467
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
472
468
|
};
|
|
473
469
|
labelPosition: {
|
|
474
|
-
type: import("vue").PropType<"
|
|
470
|
+
type: import("vue").PropType<"top" | "left" | "right">;
|
|
475
471
|
};
|
|
476
472
|
labelWidth: {
|
|
477
473
|
type: import("vue").PropType<string | number>;
|
|
@@ -485,6 +481,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
485
481
|
type: import("vue").PropType<boolean>;
|
|
486
482
|
default: boolean;
|
|
487
483
|
};
|
|
484
|
+
required: {
|
|
485
|
+
type: import("vue").PropType<boolean>;
|
|
486
|
+
default: undefined;
|
|
487
|
+
};
|
|
488
488
|
for: {
|
|
489
489
|
type: import("vue").PropType<string>;
|
|
490
490
|
};
|
|
@@ -494,17 +494,17 @@ 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<"" | "small" | "default" | "large">;
|
|
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;
|
|
501
501
|
clearValidate: () => void;
|
|
502
502
|
resetField: () => void;
|
|
503
503
|
}, {}, {}, {}, {
|
|
504
|
-
required: boolean;
|
|
505
504
|
labelWidth: string | number;
|
|
506
505
|
inlineMessage: string | boolean;
|
|
507
506
|
showMessage: boolean;
|
|
507
|
+
required: boolean;
|
|
508
508
|
}>;
|
|
509
509
|
__isFragment?: never;
|
|
510
510
|
__isTeleport?: never;
|
|
@@ -520,17 +520,13 @@ 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<"" | "
|
|
524
|
-
};
|
|
525
|
-
required: {
|
|
526
|
-
type: import("vue").PropType<boolean>;
|
|
527
|
-
default: undefined;
|
|
523
|
+
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
528
524
|
};
|
|
529
525
|
rules: {
|
|
530
526
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
531
527
|
};
|
|
532
528
|
labelPosition: {
|
|
533
|
-
type: import("vue").PropType<"
|
|
529
|
+
type: import("vue").PropType<"top" | "left" | "right">;
|
|
534
530
|
};
|
|
535
531
|
labelWidth: {
|
|
536
532
|
type: import("vue").PropType<string | number>;
|
|
@@ -544,6 +540,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
544
540
|
type: import("vue").PropType<boolean>;
|
|
545
541
|
default: boolean;
|
|
546
542
|
};
|
|
543
|
+
required: {
|
|
544
|
+
type: import("vue").PropType<boolean>;
|
|
545
|
+
default: undefined;
|
|
546
|
+
};
|
|
547
547
|
for: {
|
|
548
548
|
type: import("vue").PropType<string>;
|
|
549
549
|
};
|
|
@@ -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<"" | "small" | "default" | "large">;
|
|
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;
|
|
@@ -562,10 +562,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
562
562
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
563
563
|
"update:error": (val: string) => void;
|
|
564
564
|
}, string, {
|
|
565
|
-
required: boolean;
|
|
566
565
|
labelWidth: string | number;
|
|
567
566
|
inlineMessage: string | boolean;
|
|
568
567
|
showMessage: boolean;
|
|
568
|
+
required: boolean;
|
|
569
569
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
570
570
|
$slots: {
|
|
571
571
|
label?(_: {
|
|
@@ -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>;
|
|
@@ -26,7 +26,7 @@ export declare const VftInputNumber: import("vft/es/utils").SFCWithInstall<impor
|
|
|
26
26
|
type: import("vue").PropType<boolean>;
|
|
27
27
|
};
|
|
28
28
|
size: {
|
|
29
|
-
type: import("vue").PropType<"
|
|
29
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
30
30
|
};
|
|
31
31
|
controls: {
|
|
32
32
|
type: import("vue").PropType<boolean>;
|
|
@@ -87,7 +87,7 @@ export declare const VftInputNumber: import("vft/es/utils").SFCWithInstall<impor
|
|
|
87
87
|
type: import("vue").PropType<boolean>;
|
|
88
88
|
};
|
|
89
89
|
size: {
|
|
90
|
-
type: import("vue").PropType<"
|
|
90
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
91
91
|
};
|
|
92
92
|
controls: {
|
|
93
93
|
type: import("vue").PropType<boolean>;
|
|
@@ -7,14 +7,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
7
7
|
type: import("vue").PropType<string | number>;
|
|
8
8
|
default: number;
|
|
9
9
|
};
|
|
10
|
-
icon: {
|
|
11
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
10
|
teleported: {
|
|
15
11
|
type: import("vue").PropType<boolean>;
|
|
16
12
|
default: boolean;
|
|
17
13
|
};
|
|
14
|
+
icon: {
|
|
15
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
18
|
hideAfter: {
|
|
19
19
|
type: import("vue").PropType<number>;
|
|
20
20
|
default: number;
|
|
@@ -52,8 +52,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
52
52
|
cancel: (val: MouseEvent) => void;
|
|
53
53
|
}, import("vue").PublicProps, {
|
|
54
54
|
width: string | number;
|
|
55
|
-
icon: string | import("vft/es/vft").IconProps;
|
|
56
55
|
teleported: boolean;
|
|
56
|
+
icon: string | import("vft/es/vft").IconProps;
|
|
57
57
|
hideAfter: number;
|
|
58
58
|
persistent: boolean;
|
|
59
59
|
confirmButtonType: import("vft/es/vft").ButtonType;
|
|
@@ -74,14 +74,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
74
74
|
type: import("vue").PropType<string | number>;
|
|
75
75
|
default: number;
|
|
76
76
|
};
|
|
77
|
-
icon: {
|
|
78
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
79
|
-
default: string;
|
|
80
|
-
};
|
|
81
77
|
teleported: {
|
|
82
78
|
type: import("vue").PropType<boolean>;
|
|
83
79
|
default: boolean;
|
|
84
80
|
};
|
|
81
|
+
icon: {
|
|
82
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
85
|
hideAfter: {
|
|
86
86
|
type: import("vue").PropType<number>;
|
|
87
87
|
default: number;
|
|
@@ -116,8 +116,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
116
116
|
onConfirm?: ((val: MouseEvent) => any) | undefined;
|
|
117
117
|
}>, {}, {}, {}, {}, {
|
|
118
118
|
width: string | number;
|
|
119
|
-
icon: string | import("vft/es/vft").IconProps;
|
|
120
119
|
teleported: boolean;
|
|
120
|
+
icon: string | import("vft/es/vft").IconProps;
|
|
121
121
|
hideAfter: number;
|
|
122
122
|
persistent: boolean;
|
|
123
123
|
confirmButtonType: import("vft/es/vft").ButtonType;
|
|
@@ -135,14 +135,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
135
135
|
type: import("vue").PropType<string | number>;
|
|
136
136
|
default: number;
|
|
137
137
|
};
|
|
138
|
-
icon: {
|
|
139
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
140
|
-
default: string;
|
|
141
|
-
};
|
|
142
138
|
teleported: {
|
|
143
139
|
type: import("vue").PropType<boolean>;
|
|
144
140
|
default: boolean;
|
|
145
141
|
};
|
|
142
|
+
icon: {
|
|
143
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
146
|
hideAfter: {
|
|
147
147
|
type: import("vue").PropType<number>;
|
|
148
148
|
default: number;
|
|
@@ -180,8 +180,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
180
180
|
cancel: (val: MouseEvent) => void;
|
|
181
181
|
}, string, {
|
|
182
182
|
width: string | number;
|
|
183
|
-
icon: string | import("vft/es/vft").IconProps;
|
|
184
183
|
teleported: boolean;
|
|
184
|
+
icon: string | import("vft/es/vft").IconProps;
|
|
185
185
|
hideAfter: number;
|
|
186
186
|
persistent: boolean;
|
|
187
187
|
confirmButtonType: import("vft/es/vft").ButtonType;
|
|
@@ -43,8 +43,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
43
43
|
onConfirm?: ((val: MouseEvent) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
width: string | number;
|
|
46
|
-
icon: string | IconProps;
|
|
47
46
|
teleported: boolean;
|
|
47
|
+
icon: string | IconProps;
|
|
48
48
|
hideAfter: number;
|
|
49
49
|
persistent: boolean;
|
|
50
50
|
confirmButtonType: ButtonType;
|
|
@@ -46,11 +46,11 @@ export declare const usePopperContent: (props: PopperContentProps) => {
|
|
|
46
46
|
popperEscapeOffsets: import("@popperjs/core").SideObject;
|
|
47
47
|
};
|
|
48
48
|
offset?: {
|
|
49
|
-
|
|
49
|
+
top?: import("@popperjs/core").Offsets | undefined;
|
|
50
|
+
bottom?: import("@popperjs/core").Offsets | undefined;
|
|
50
51
|
left?: import("@popperjs/core").Offsets | undefined;
|
|
51
52
|
right?: import("@popperjs/core").Offsets | undefined;
|
|
52
|
-
|
|
53
|
-
top?: import("@popperjs/core").Offsets | undefined;
|
|
53
|
+
auto?: import("@popperjs/core").Offsets | undefined;
|
|
54
54
|
"auto-start"?: import("@popperjs/core").Offsets | undefined;
|
|
55
55
|
"auto-end"?: import("@popperjs/core").Offsets | undefined;
|
|
56
56
|
"top-start"?: import("@popperjs/core").Offsets | undefined;
|