@signal24/vue-foundation 4.30.1 → 4.30.3
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/src/components/modal-helpers.d.ts +6 -0
- package/dist/src/components/vf-modal.vue.d.ts +1 -0
- package/dist/src/helpers/error.d.ts +6 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/vue-foundation.es.js +58 -56
- package/package.json +1 -1
- package/src/components/vf-modal.vue +6 -1
- package/src/helpers/error.ts +15 -6
|
@@ -7,6 +7,7 @@ export declare function vfModalRef(): import("vue").Ref<({
|
|
|
7
7
|
readonly scrolls?: boolean | undefined;
|
|
8
8
|
readonly closeX?: boolean | undefined;
|
|
9
9
|
readonly class?: string | string[] | undefined;
|
|
10
|
+
readonly onClose?: (() => void) | undefined;
|
|
10
11
|
readonly onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
11
12
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
12
13
|
$attrs: {
|
|
@@ -29,6 +30,7 @@ export declare function vfModalRef(): import("vue").Ref<({
|
|
|
29
30
|
scrolls?: boolean;
|
|
30
31
|
closeX?: boolean;
|
|
31
32
|
class?: string | string[];
|
|
33
|
+
onClose?: () => void;
|
|
32
34
|
}> & Readonly<{
|
|
33
35
|
onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
34
36
|
}>, {
|
|
@@ -64,6 +66,7 @@ export declare function vfModalRef(): import("vue").Ref<({
|
|
|
64
66
|
scrolls?: boolean;
|
|
65
67
|
closeX?: boolean;
|
|
66
68
|
class?: string | string[];
|
|
69
|
+
onClose?: () => void;
|
|
67
70
|
}> & Readonly<{
|
|
68
71
|
onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
69
72
|
}>, "mask" | "hide" | "unmask" | "unhide"> & import("vue").ShallowUnwrapRef<{
|
|
@@ -88,6 +91,7 @@ export declare function vfModalRef(): import("vue").Ref<({
|
|
|
88
91
|
readonly scrolls?: boolean | undefined;
|
|
89
92
|
readonly closeX?: boolean | undefined;
|
|
90
93
|
readonly class?: string | string[] | undefined;
|
|
94
|
+
readonly onClose?: (() => void) | undefined;
|
|
91
95
|
readonly onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
92
96
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
93
97
|
$attrs: {
|
|
@@ -110,6 +114,7 @@ export declare function vfModalRef(): import("vue").Ref<({
|
|
|
110
114
|
scrolls?: boolean;
|
|
111
115
|
closeX?: boolean;
|
|
112
116
|
class?: string | string[];
|
|
117
|
+
onClose?: () => void;
|
|
113
118
|
}> & Readonly<{
|
|
114
119
|
onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
115
120
|
}>, {
|
|
@@ -145,6 +150,7 @@ export declare function vfModalRef(): import("vue").Ref<({
|
|
|
145
150
|
scrolls?: boolean;
|
|
146
151
|
closeX?: boolean;
|
|
147
152
|
class?: string | string[];
|
|
153
|
+
onClose?: () => void;
|
|
148
154
|
}> & Readonly<{
|
|
149
155
|
onFormSubmit?: ((...args: any[]) => any) | undefined;
|
|
150
156
|
}>, "mask" | "hide" | "unmask" | "unhide"> & import("vue").ShallowUnwrapRef<{
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
export declare class UserError extends Error {
|
|
2
2
|
constructor(message: string);
|
|
3
3
|
}
|
|
4
|
+
interface ErrorWithCause extends Error {
|
|
5
|
+
cause?: Error;
|
|
6
|
+
}
|
|
4
7
|
export declare function formatError(err: any): string;
|
|
5
|
-
export declare function toError(err: any):
|
|
8
|
+
export declare function toError(err: any, cause?: any): ErrorWithCause;
|
|
6
9
|
export declare function isError(err: unknown): err is Error;
|
|
7
10
|
interface IErrorAlertOptions {
|
|
11
|
+
cause?: any;
|
|
8
12
|
title?: string;
|
|
9
13
|
classes?: string[];
|
|
10
14
|
}
|
|
11
15
|
export declare function handleErrorAndAlert(errIn: any, options?: IErrorAlertOptions): Promise<void>;
|
|
12
|
-
export declare function handleError(errIn: any): Promise<void>;
|
|
16
|
+
export declare function handleError(errIn: any, cause?: any): Promise<void>;
|
|
13
17
|
export {};
|