@volverjs/form-vue 0.0.10-beta.6 → 0.0.10-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -11,12 +11,17 @@ export declare const formFactory: <Schema extends FormSchema>(schema: Schema, op
11
11
  $data: {};
12
12
  $props: Partial<{
13
13
  modelValue: Record<string, any>;
14
+ updateThrottle: number;
14
15
  continuosValidation: boolean;
15
16
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
16
17
  modelValue: {
17
18
  type: ObjectConstructor;
18
19
  default: () => {};
19
20
  };
21
+ updateThrottle: {
22
+ type: NumberConstructor;
23
+ default: number;
24
+ };
20
25
  continuosValidation: {
21
26
  type: BooleanConstructor;
22
27
  default: boolean;
@@ -26,7 +31,7 @@ export declare const formFactory: <Schema extends FormSchema>(schema: Schema, op
26
31
  onValid?: ((...args: any[]) => any) | undefined;
27
32
  onSubmit?: ((...args: any[]) => any) | undefined;
28
33
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "continuosValidation">;
34
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "updateThrottle" | "continuosValidation">;
30
35
  $attrs: {
31
36
  [x: string]: unknown;
32
37
  };
@@ -45,6 +50,10 @@ export declare const formFactory: <Schema extends FormSchema>(schema: Schema, op
45
50
  type: ObjectConstructor;
46
51
  default: () => {};
47
52
  };
53
+ updateThrottle: {
54
+ type: NumberConstructor;
55
+ default: number;
56
+ };
48
57
  continuosValidation: {
49
58
  type: BooleanConstructor;
50
59
  default: boolean;
@@ -62,6 +71,7 @@ export declare const formFactory: <Schema extends FormSchema>(schema: Schema, op
62
71
  invalid: import("vue").ComputedRef<boolean>;
63
72
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("invalid" | "valid" | "submit" | "update:modelValue")[], string, {
64
73
  modelValue: Record<string, any>;
74
+ updateThrottle: number;
65
75
  continuosValidation: boolean;
66
76
  }, {}, string> & {
67
77
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
@@ -88,6 +98,10 @@ export declare const formFactory: <Schema extends FormSchema>(schema: Schema, op
88
98
  type: ObjectConstructor;
89
99
  default: () => {};
90
100
  };
101
+ updateThrottle: {
102
+ type: NumberConstructor;
103
+ default: number;
104
+ };
91
105
  continuosValidation: {
92
106
  type: BooleanConstructor;
93
107
  default: boolean;
@@ -112,6 +126,10 @@ export declare const formFactory: <Schema extends FormSchema>(schema: Schema, op
112
126
  type: ObjectConstructor;
113
127
  default: () => {};
114
128
  };
129
+ updateThrottle: {
130
+ type: NumberConstructor;
131
+ default: number;
132
+ };
115
133
  continuosValidation: {
116
134
  type: BooleanConstructor;
117
135
  default: boolean;
@@ -129,6 +147,7 @@ export declare const formFactory: <Schema extends FormSchema>(schema: Schema, op
129
147
  invalid: import("vue").ComputedRef<boolean>;
130
148
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("invalid" | "valid" | "submit" | "update:modelValue")[], "invalid" | "valid" | "submit" | "update:modelValue", {
131
149
  modelValue: Record<string, any>;
150
+ updateThrottle: number;
132
151
  continuosValidation: boolean;
133
152
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
134
153
  $slots: {
@@ -296,7 +315,7 @@ export declare const formFactory: <Schema extends FormSchema>(schema: Schema, op
296
315
  default: boolean;
297
316
  };
298
317
  defaultValue: {
299
- type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[];
318
+ type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
300
319
  default: undefined;
301
320
  };
302
321
  }, {
@@ -331,7 +350,7 @@ export declare const formFactory: <Schema extends FormSchema>(schema: Schema, op
331
350
  default: boolean;
332
351
  };
333
352
  defaultValue: {
334
- type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[];
353
+ type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
335
354
  default: undefined;
336
355
  };
337
356
  }>> & {
@@ -384,12 +403,17 @@ export declare const useForm: <Schema extends FormSchema>(schema: Schema, option
384
403
  $data: {};
385
404
  $props: Partial<{
386
405
  modelValue: Record<string, any>;
406
+ updateThrottle: number;
387
407
  continuosValidation: boolean;
388
408
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
389
409
  modelValue: {
390
410
  type: ObjectConstructor;
391
411
  default: () => {};
392
412
  };
413
+ updateThrottle: {
414
+ type: NumberConstructor;
415
+ default: number;
416
+ };
393
417
  continuosValidation: {
394
418
  type: BooleanConstructor;
395
419
  default: boolean;
@@ -399,7 +423,7 @@ export declare const useForm: <Schema extends FormSchema>(schema: Schema, option
399
423
  onValid?: ((...args: any[]) => any) | undefined;
400
424
  onSubmit?: ((...args: any[]) => any) | undefined;
401
425
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
402
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "continuosValidation">;
426
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "updateThrottle" | "continuosValidation">;
403
427
  $attrs: {
404
428
  [x: string]: unknown;
405
429
  };
@@ -418,6 +442,10 @@ export declare const useForm: <Schema extends FormSchema>(schema: Schema, option
418
442
  type: ObjectConstructor;
419
443
  default: () => {};
420
444
  };
445
+ updateThrottle: {
446
+ type: NumberConstructor;
447
+ default: number;
448
+ };
421
449
  continuosValidation: {
422
450
  type: BooleanConstructor;
423
451
  default: boolean;
@@ -435,6 +463,7 @@ export declare const useForm: <Schema extends FormSchema>(schema: Schema, option
435
463
  invalid: import("vue").ComputedRef<boolean>;
436
464
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("invalid" | "valid" | "submit" | "update:modelValue")[], string, {
437
465
  modelValue: Record<string, any>;
466
+ updateThrottle: number;
438
467
  continuosValidation: boolean;
439
468
  }, {}, string> & {
440
469
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
@@ -461,6 +490,10 @@ export declare const useForm: <Schema extends FormSchema>(schema: Schema, option
461
490
  type: ObjectConstructor;
462
491
  default: () => {};
463
492
  };
493
+ updateThrottle: {
494
+ type: NumberConstructor;
495
+ default: number;
496
+ };
464
497
  continuosValidation: {
465
498
  type: BooleanConstructor;
466
499
  default: boolean;
@@ -485,6 +518,10 @@ export declare const useForm: <Schema extends FormSchema>(schema: Schema, option
485
518
  type: ObjectConstructor;
486
519
  default: () => {};
487
520
  };
521
+ updateThrottle: {
522
+ type: NumberConstructor;
523
+ default: number;
524
+ };
488
525
  continuosValidation: {
489
526
  type: BooleanConstructor;
490
527
  default: boolean;
@@ -502,6 +539,7 @@ export declare const useForm: <Schema extends FormSchema>(schema: Schema, option
502
539
  invalid: import("vue").ComputedRef<boolean>;
503
540
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("invalid" | "valid" | "submit" | "update:modelValue")[], "invalid" | "valid" | "submit" | "update:modelValue", {
504
541
  modelValue: Record<string, any>;
542
+ updateThrottle: number;
505
543
  continuosValidation: boolean;
506
544
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
507
545
  $slots: {
@@ -669,7 +707,7 @@ export declare const useForm: <Schema extends FormSchema>(schema: Schema, option
669
707
  default: boolean;
670
708
  };
671
709
  defaultValue: {
672
- type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[];
710
+ type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
673
711
  default: undefined;
674
712
  };
675
713
  }, {
@@ -704,7 +742,7 @@ export declare const useForm: <Schema extends FormSchema>(schema: Schema, option
704
742
  default: boolean;
705
743
  };
706
744
  defaultValue: {
707
- type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[];
745
+ type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor | ArrayConstructor)[];
708
746
  default: undefined;
709
747
  };
710
748
  }>> & {