@signal24/vue-foundation 4.14.0 → 4.15.0

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,8 +1,18 @@
1
+ interface IAlertOptions {
2
+ title?: string;
3
+ message: string | Error;
4
+ classes?: string[];
5
+ }
1
6
  export declare function showAlert(title: string, message: string | Error): Promise<void>;
2
7
  export declare function showAlert(message: string | Error): Promise<void>;
8
+ export declare function showAlert(options: IAlertOptions): Promise<void>;
3
9
  export declare function showConfirm(title: string, message: string): Promise<boolean>;
4
10
  export declare function showConfirm(message: string): Promise<boolean>;
11
+ export declare function showConfirm(options: IAlertOptions): Promise<boolean>;
5
12
  export declare function showConfirmDestroy(title: string, message: string): Promise<boolean>;
6
13
  export declare function showConfirmDestroy(message: string): Promise<boolean>;
14
+ export declare function showConfirmDestroy(options: IAlertOptions): Promise<boolean>;
7
15
  export declare function showWait(title: string, message: string): () => void;
8
16
  export declare function showWait(message: string): () => void;
17
+ export declare function showWait(options: IAlertOptions): () => void;
18
+ export {};
@@ -3,5 +3,10 @@ export declare class UserError extends Error {
3
3
  }
4
4
  export declare function formatError(err: any): string;
5
5
  export declare function toError(err: any): Error;
6
- export declare function handleErrorAndAlert(errIn: any, alertTitle?: string): Promise<void>;
6
+ interface IErrorAlertOptions {
7
+ title?: string;
8
+ classes?: string[];
9
+ }
10
+ export declare function handleErrorAndAlert(errIn: any, options?: IErrorAlertOptions): Promise<void>;
7
11
  export declare function handleError(errIn: any): Promise<void>;
12
+ export {};