vee-validate 4.10.3 → 4.10.4
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/vee-validate.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { MaybeRef, Ref,
|
|
2
|
+
import { MaybeRef, Ref, MaybeRefOrGetter, ComputedRef, VNode, PropType, UnwrapRef, InjectionKey } from 'vue';
|
|
3
3
|
import { PartialDeep } from 'type-fest';
|
|
4
4
|
|
|
5
5
|
type BrowserNativeObject = Date | FileList | File;
|
|
@@ -383,7 +383,7 @@ type LazyInputBindsConfig<TValue = unknown, TExtraProps extends GenericObject =
|
|
|
383
383
|
validateOnInput: boolean;
|
|
384
384
|
}>;
|
|
385
385
|
interface FormContext<TValues extends GenericObject = GenericObject, TOutput = TValues> extends Omit<PrivateFormContext<TValues, TOutput>, 'formId' | 'schema' | 'initialValues' | 'getPathState' | 'getAllPathStates' | 'removePathState' | 'unsetPathValue' | 'validateSchema' | 'stageInitialValue' | 'setFieldInitialValue' | 'unsetInitialValue' | 'fieldArrays' | 'markForUnmount' | 'keepValuesOnUnmount' | 'values'> {
|
|
386
|
-
values:
|
|
386
|
+
values: TValues;
|
|
387
387
|
handleReset: () => void;
|
|
388
388
|
submitForm: (e?: unknown) => Promise<void>;
|
|
389
389
|
defineComponentBinds<TPath extends Path<TValues>, TValue = PathValue<TValues, TPath>, TExtras extends GenericObject = GenericObject>(path: MaybeRefOrGetter<TPath>, config?: Partial<ComponentBindsConfig<TValue, TExtras>> | LazyComponentBindsConfig<TValue, TExtras>): Ref<BaseComponentBinds<TValue> & TExtras>;
|
|
@@ -1486,7 +1486,7 @@ declare function useFieldValue<TValue = unknown>(path?: MaybeRef<string>): vue.C
|
|
|
1486
1486
|
/**
|
|
1487
1487
|
* Gives access to a form's values
|
|
1488
1488
|
*/
|
|
1489
|
-
declare function useFormValues<TValues extends Record<string, any> = Record<string, any>>(): vue.ComputedRef<
|
|
1489
|
+
declare function useFormValues<TValues extends Record<string, any> = Record<string, any>>(): vue.ComputedRef<Partial<TValues>>;
|
|
1490
1490
|
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Gives access to all form errors
|
package/dist/vee-validate.esm.js
CHANGED
package/dist/vee-validate.js
CHANGED
package/dist/vee-validate.min.js
CHANGED