pangea-lib 4.0.418 → 4.0.420

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 { StrOrFn } from '../types';
2
2
 
3
- export declare abstract class AlertError {
3
+ export declare abstract class AlertDanger {
4
4
  static Show(_message: StrOrFn, _onAccept: () => void): void;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  es: {
3
- alertTitle: string;
3
+ title: string;
4
4
  cancelBtn: string;
5
5
  acceptBtn: string;
6
6
  };
@@ -0,0 +1 @@
1
+ export { AlertDanger } from './alert-danger.helpers';
@@ -1,5 +1,8 @@
1
1
  import { StrOrFn } from '../types';
2
2
 
3
3
  export declare abstract class AlertInfo {
4
- static Show(_title: StrOrFn, _message: StrOrFn, _onAccept?: () => void): void;
4
+ static Show(_title: StrOrFn, _message: StrOrFn, options?: {
5
+ onClose?: () => void;
6
+ onAccept?: () => void;
7
+ }): void;
5
8
  }
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  es: {
3
- infoTitle: string;
3
+ title: string;
4
4
  gotItBtn: string;
5
5
  };
6
6
  };
@@ -3,4 +3,7 @@ import { StrOrFn } from '../types';
3
3
  export declare const visible: import('vue').Ref<boolean>;
4
4
  export declare const title: import('vue').Ref<StrOrFn>;
5
5
  export declare const message: import('vue').Ref<StrOrFn>;
6
- export declare const onAccept: import('vue').Ref<() => void>;
6
+ export declare const callbacks: {
7
+ onClose: () => void;
8
+ onAccept: () => void;
9
+ };