@duxweb/dvha-core 1.0.18 → 1.0.19

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.
@@ -93,7 +93,7 @@ export declare function useUpdatePassword(props?: IAuthActionParams): {
93
93
  * @returns Error method
94
94
  */
95
95
  export declare function useError(onCallback?: (data?: IAuthErrorResponse) => void): {
96
- mutate: (error: IDataProviderError) => Promise<void>;
96
+ mutate: (error?: IDataProviderError) => Promise<void>;
97
97
  };
98
98
  /**
99
99
  * Get auth
@@ -3,7 +3,7 @@ import type { IDataProviderError, IDataProviderResponse } from '../types';
3
3
  type Key = string | number | undefined;
4
4
  export interface IUseFormProps {
5
5
  path?: string;
6
- id?: Key;
6
+ id?: MaybeRef<Key>;
7
7
  form?: MaybeRef<Record<string, any>>;
8
8
  onSuccess?: (data: IDataProviderResponse) => void;
9
9
  onError?: (error: IDataProviderError) => void;
@@ -14,7 +14,7 @@ export declare function useForm(props: IUseFormProps): {
14
14
  form: import("vue").Ref<MaybeRef<Record<string, any>>, MaybeRef<Record<string, any>>>;
15
15
  initData: any;
16
16
  isLoading: import("vue").ComputedRef<boolean>;
17
- isEdit: import("vue").ComputedRef<true | Key>;
17
+ isEdit: import("vue").ComputedRef<boolean>;
18
18
  onSubmit: (data?: Record<string, any>) => void;
19
19
  onReset: () => void;
20
20
  };
@@ -5,7 +5,7 @@ export interface UseExtendFormProps extends IUseFormProps {
5
5
  }
6
6
  export declare function useExtendForm(props: UseExtendFormProps): {
7
7
  isLoading: import("vue").ComputedRef<boolean>;
8
- isEdit: import("vue").ComputedRef<true | (string | number | undefined)>;
8
+ isEdit: import("vue").ComputedRef<boolean>;
9
9
  form: import("vue").Ref<import("vue").MaybeRef<Record<string, any>>, import("vue").MaybeRef<Record<string, any>>>;
10
10
  onSubmit: (data?: Record<string, any>) => void;
11
11
  onReset: () => void;
@@ -42,7 +42,6 @@ export interface IConfigComponent {
42
42
  notAuthorized?: RouteComponent;
43
43
  error?: RouteComponent;
44
44
  exception?: RouteComponent;
45
- loading?: RouteComponent;
46
45
  iframe?: RouteComponent;
47
46
  remote?: RouteComponent;
48
47
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@duxweb/dvha-core",
3
3
  "type": "module",
4
- "version": "1.0.18",
4
+ "version": "1.0.19",
5
5
  "author": "DuxWeb",
6
6
  "license": "MIT",
7
7
  "repository": {