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.
@@ -1,5 +1,5 @@
1
1
  import * as vue from 'vue';
2
- import { MaybeRef, Ref, DeepReadonly, MaybeRefOrGetter, ComputedRef, VNode, PropType, UnwrapRef, InjectionKey } from 'vue';
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: DeepReadonly<TValues>;
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<vue.DeepReadonly<TValues> | Partial<TValues>>;
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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vee-validate v4.10.3
2
+ * vee-validate v4.10.4
3
3
  * (c) 2023 Abdelrahman Awad
4
4
  * @license MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vee-validate v4.10.3
2
+ * vee-validate v4.10.4
3
3
  * (c) 2023 Abdelrahman Awad
4
4
  * @license MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vee-validate v4.10.3
2
+ * vee-validate v4.10.4
3
3
  * (c) 2023 Abdelrahman Awad
4
4
  * @license MIT
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vee-validate",
3
- "version": "4.10.3",
3
+ "version": "4.10.4",
4
4
  "description": "Form Validation for Vue.js",
5
5
  "author": "Abdelrahman Awad <logaretm1@gmail.com>",
6
6
  "license": "MIT",