pangea-lib 4.0.359 → 4.0.360

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.
@@ -0,0 +1,5 @@
1
+ import { StrOrFn } from '../types';
2
+
3
+ export declare abstract class Alert {
4
+ static Show(_message: StrOrFn, _onAccept: () => void): void;
5
+ }
@@ -1,21 +1,2 @@
1
- import { StrOrFn } from '../types';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
- message: StrOrFn;
5
- handleAcceptFn: () => void;
6
- handleCloseFn: () => void;
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
- message: StrOrFn;
9
- handleAcceptFn: () => void;
10
- handleCloseFn: () => void;
11
- }>>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
12
2
  export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
@@ -0,0 +1,5 @@
1
+ import { StrOrFn } from '../types';
2
+
3
+ export declare const visible: import('vue').Ref<boolean>;
4
+ export declare const message: import('vue').Ref<StrOrFn>;
5
+ export declare const onAccept: import('vue').Ref<() => void>;
@@ -1 +1 @@
1
- export { displayAlert } from './Alert.service';
1
+ export { Alert } from './Alert.helpers';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "4.0.359",
4
+ "version": "4.0.360",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea-lib#readme",
@@ -1,3 +0,0 @@
1
- import { StrOrFn } from '../types';
2
-
3
- export declare function displayAlert(message: StrOrFn, handleAcceptFn: () => void): void;