ngx-snotifire 1.0.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.
Files changed (66) hide show
  1. package/README.md +19 -0
  2. package/esm2020/lib/components/buttons/buttons-config.interface.mjs +2 -0
  3. package/esm2020/lib/components/buttons/buttons.component.mjs +27 -0
  4. package/esm2020/lib/components/index.mjs +6 -0
  5. package/esm2020/lib/components/ngx-notifire/ngx-snotifire.component.mjs +130 -0
  6. package/esm2020/lib/components/prompt/prompt.component.mjs +26 -0
  7. package/esm2020/lib/components/toast/notifire-toast.model.mjs +61 -0
  8. package/esm2020/lib/components/toast/toast.component.mjs +186 -0
  9. package/esm2020/lib/decorators/set-toast-type.decorator.mjs +19 -0
  10. package/esm2020/lib/decorators/transform-argument.decorator.mjs +88 -0
  11. package/esm2020/lib/defaults/defaults.interface.mjs +2 -0
  12. package/esm2020/lib/defaults/global-config.interface.mjs +2 -0
  13. package/esm2020/lib/defaults/index.mjs +4 -0
  14. package/esm2020/lib/defaults/toast-defaults.mjs +68 -0
  15. package/esm2020/lib/models/index.mjs +7 -0
  16. package/esm2020/lib/models/snotifire-animate.interface.mjs +2 -0
  17. package/esm2020/lib/models/snotifire-config.interface.mjs +2 -0
  18. package/esm2020/lib/models/snotifire-event.type.mjs +14 -0
  19. package/esm2020/lib/models/snotifire-notifications.interface.mjs +2 -0
  20. package/esm2020/lib/models/snotifire-position.type.mjs +13 -0
  21. package/esm2020/lib/models/snotifire.model.mjs +26 -0
  22. package/esm2020/lib/models/snotifire.type.mjs +11 -0
  23. package/esm2020/lib/ngx-snotifire.module.mjs +38 -0
  24. package/esm2020/lib/pipes/index.mjs +3 -0
  25. package/esm2020/lib/pipes/keys.pipe.mjs +23 -0
  26. package/esm2020/lib/pipes/truncate.pipe.mjs +27 -0
  27. package/esm2020/lib/services/index.mjs +2 -0
  28. package/esm2020/lib/services/notification.service.mjs +274 -0
  29. package/esm2020/lib/utils.mjs +41 -0
  30. package/esm2020/ngx-snotifire.mjs +5 -0
  31. package/esm2020/public-api.mjs +10 -0
  32. package/fesm2015/ngx-snotifire.mjs +1038 -0
  33. package/fesm2015/ngx-snotifire.mjs.map +1 -0
  34. package/fesm2020/ngx-snotifire.mjs +1039 -0
  35. package/fesm2020/ngx-snotifire.mjs.map +1 -0
  36. package/index.d.ts +5 -0
  37. package/lib/components/buttons/buttons-config.interface.d.ts +17 -0
  38. package/lib/components/buttons/buttons.component.d.ts +17 -0
  39. package/lib/components/index.d.ts +5 -0
  40. package/lib/components/ngx-notifire/ngx-snotifire.component.d.ts +61 -0
  41. package/lib/components/prompt/prompt.component.d.ts +17 -0
  42. package/lib/components/toast/notifire-toast.model.d.ts +42 -0
  43. package/lib/components/toast/toast.component.d.ts +64 -0
  44. package/lib/decorators/set-toast-type.decorator.d.ts +10 -0
  45. package/lib/decorators/transform-argument.decorator.d.ts +10 -0
  46. package/lib/defaults/defaults.interface.d.ts +12 -0
  47. package/lib/defaults/global-config.interface.d.ts +34 -0
  48. package/lib/defaults/index.d.ts +3 -0
  49. package/lib/defaults/toast-defaults.d.ts +73 -0
  50. package/lib/models/index.d.ts +6 -0
  51. package/lib/models/snotifire-animate.interface.d.ts +19 -0
  52. package/lib/models/snotifire-config.interface.d.ts +82 -0
  53. package/lib/models/snotifire-event.type.d.ts +12 -0
  54. package/lib/models/snotifire-notifications.interface.d.ts +12 -0
  55. package/lib/models/snotifire-position.type.d.ts +11 -0
  56. package/lib/models/snotifire.model.d.ts +39 -0
  57. package/lib/models/snotifire.type.d.ts +9 -0
  58. package/lib/ngx-snotifire.module.d.ts +15 -0
  59. package/lib/pipes/index.d.ts +2 -0
  60. package/lib/pipes/keys.pipe.d.ts +7 -0
  61. package/lib/pipes/truncate.pipe.d.ts +9 -0
  62. package/lib/services/index.d.ts +1 -0
  63. package/lib/services/notification.service.d.ts +264 -0
  64. package/lib/utils.d.ts +17 -0
  65. package/package.json +31 -0
  66. package/public-api.d.ts +6 -0
@@ -0,0 +1,82 @@
1
+ import { SafeHtml } from '@angular/platform-browser';
2
+ import { ButtonsConfig } from '../components/buttons/buttons-config.interface';
3
+ import { SnotifireAnimate } from './snotifire-animate.interface';
4
+ import { SnotificationPositionType } from './snotifire-position.type';
5
+ import { SnotifireType } from './snotifire.type';
6
+ export interface SnotifireConfig {
7
+ /**
8
+ * Notification timeout in milliseconds.
9
+ * Disable timeout = 0
10
+ */
11
+ timeout?: number;
12
+ /**
13
+ * Enable/Disable progress bar.
14
+ * Disabled if timeout is 0.
15
+ */
16
+ showProgressBar?: boolean;
17
+ /**
18
+ * Type of toast, affects toast style.
19
+ * It's not recommended to change it.
20
+ * Depends on toast type.
21
+ */
22
+ type?: SnotifireType;
23
+ /**
24
+ * If the notification should dissapear on click
25
+ */
26
+ closeOnClick?: boolean;
27
+ /**
28
+ * If the timeout countdown should pause on hober
29
+ */
30
+ pauseOnHover?: boolean;
31
+ /**
32
+ * Buttons config.
33
+ */
34
+ buttons?: ButtonsConfig[];
35
+ /**
36
+ * Placeholder for Prompt toast
37
+ */
38
+ placeholder?: string;
39
+ /**
40
+ * Toast title maximum length
41
+ */
42
+ titleMaxLength?: number;
43
+ /**
44
+ * Toast body maximum length
45
+ */
46
+ bodyMaxLength?: number;
47
+ /**
48
+ * Activate custom icon.
49
+ * You should provide full tag, e.g.
50
+ * ```html
51
+ * <img src="assets/custom-icon.png"/>
52
+ * ```
53
+ * ```html
54
+ * <svg x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 48 48;" xml:space="preserve" width="48px" height="48px">
55
+ * <g><path....../></g>
56
+ * </svg>
57
+ * ```
58
+ */
59
+ icon?: string;
60
+ /**
61
+ * Custom icon class.
62
+ */
63
+ iconClass?: string;
64
+ /**
65
+ * Animation config
66
+ */
67
+ animation?: SnotifireAnimate;
68
+ /**
69
+ * Html string witch overrides toast content
70
+ */
71
+ html?: string | SafeHtml;
72
+ /**
73
+ * Toasts position on screen
74
+ */
75
+ position?: SnotificationPositionType;
76
+ /**
77
+ * Backdrop opacity.
78
+ * * **Range:** `0.0 - 1.0`.
79
+ * * **Disabled:** `-1`
80
+ */
81
+ backdrop?: number;
82
+ }
@@ -0,0 +1,12 @@
1
+ export declare enum SnotifireEventType {
2
+ MOUNTED = "mounted",
3
+ BEFORE_SHOW = "beforeShow",
4
+ SHOWN = "shown",
5
+ INPUT = "input",
6
+ CLICK = "click",
7
+ MOUSE_ENTER = "mouseenter",
8
+ MOUSE_LEAVE = "mouseleave",
9
+ BEFORE_HIDE = "beforeHide",
10
+ HIDDEN = "hidden",
11
+ DESTROYED = "destroyed"
12
+ }
@@ -0,0 +1,12 @@
1
+ import { NotifireModel } from '../components/toast/notifire-toast.model';
2
+ export interface SnotifireNotifications {
3
+ leftTop?: NotifireModel[];
4
+ leftCenter?: NotifireModel[];
5
+ leftBottom?: NotifireModel[];
6
+ rightTop?: NotifireModel[];
7
+ rightCenter?: NotifireModel[];
8
+ rightBottom?: NotifireModel[];
9
+ centerTop?: NotifireModel[];
10
+ centerCenter?: NotifireModel[];
11
+ centerBottom?: NotifireModel[];
12
+ }
@@ -0,0 +1,11 @@
1
+ export declare enum SnotificationPositionType {
2
+ LEFT_TOP = "leftTop",
3
+ LEFT_CENTER = "leftCenter",
4
+ LEFT_BOTTOM = "leftBottom",
5
+ RIGHT_TOP = "rightTop",
6
+ RIGHT_CENTER = "rightCenter",
7
+ RIGHT_BOTTOM = "rightBottom",
8
+ CENTER_TOP = "centerTop",
9
+ CENTER_CENTER = "centerCenter",
10
+ CENTER_BOTTOM = "centerBottom"
11
+ }
@@ -0,0 +1,39 @@
1
+ import { SafeHtml } from '@angular/platform-browser';
2
+ import { SnotifireConfig } from './snotifire-config.interface';
3
+ import { SnotifireType } from './snotifire.type';
4
+ export declare class SnotifireModel {
5
+ type?: SnotifireType | undefined;
6
+ /**
7
+ * Notification Title
8
+ */
9
+ title?: string | undefined;
10
+ /**
11
+ * Notification message
12
+ */
13
+ body?: string | undefined;
14
+ /**
15
+ * Config object
16
+ */
17
+ config?: SnotifireConfig | undefined;
18
+ /**
19
+ * Html content
20
+ */
21
+ html?: string | SafeHtml | undefined;
22
+ constructor(type?: SnotifireType | undefined,
23
+ /**
24
+ * Notification Title
25
+ */
26
+ title?: string | undefined,
27
+ /**
28
+ * Notification message
29
+ */
30
+ body?: string | undefined,
31
+ /**
32
+ * Config object
33
+ */
34
+ config?: SnotifireConfig | undefined,
35
+ /**
36
+ * Html content
37
+ */
38
+ html?: string | SafeHtml | undefined);
39
+ }
@@ -0,0 +1,9 @@
1
+ export declare enum SnotifireType {
2
+ SUCCESS = "success",
3
+ INFO = "info",
4
+ WARNING = "warning",
5
+ ERROR = "error",
6
+ ASYNC = "async",
7
+ CONFIRM = "confirm",
8
+ PROMPT = "prompt"
9
+ }
@@ -0,0 +1,15 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./components/prompt/prompt.component";
4
+ import * as i2 from "./components/toast/toast.component";
5
+ import * as i3 from "./components/buttons/buttons.component";
6
+ import * as i4 from "./pipes/truncate.pipe";
7
+ import * as i5 from "./pipes/keys.pipe";
8
+ import * as i6 from "./components/ngx-notifire/ngx-snotifire.component";
9
+ import * as i7 from "@angular/common";
10
+ export declare class NgxSnotifireModule {
11
+ static forRoot(): ModuleWithProviders<NgxSnotifireModule>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxSnotifireModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSnotifireModule, [typeof i1.PromptComponent, typeof i2.ToastComponent, typeof i3.ButtonsComponent, typeof i4.TruncatePipe, typeof i5.KeysPipe, typeof i6.NgxSnotifireComponent], [typeof i7.CommonModule], [typeof i6.NgxSnotifireComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgxSnotifireModule>;
15
+ }
@@ -0,0 +1,2 @@
1
+ export * from './keys.pipe';
2
+ export * from './truncate.pipe';
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class KeysPipe implements PipeTransform {
4
+ transform(value: any): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<KeysPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<KeysPipe, "keys", false>;
7
+ }
@@ -0,0 +1,9 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TruncatePipe implements PipeTransform {
4
+ private readonly DEFAULT_LIMIT;
5
+ private readonly DEFAULT_TRAIL;
6
+ transform(value: string, ...args: Array<any>): any;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruncatePipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", false>;
9
+ }
@@ -0,0 +1 @@
1
+ export * from './notification.service';
@@ -0,0 +1,264 @@
1
+ import { SafeHtml } from '@angular/platform-browser';
2
+ import { Observable, Subject } from 'rxjs';
3
+ import { SnotifireConfig } from '../models';
4
+ import { NotificationDefaults } from '../defaults/defaults.interface';
5
+ import { SnotifireModel } from '../models/snotifire.model';
6
+ import { NotifireModel } from '../components/toast/notifire-toast.model';
7
+ import * as i0 from "@angular/core";
8
+ export declare class SnotificationService {
9
+ defaultConfig: NotificationDefaults;
10
+ /**
11
+ * Minimum display time of the notification message
12
+ */
13
+ private readonly minimumDisplayedTime;
14
+ /**
15
+ * Emits Notifire Notifications
16
+ */
17
+ readonly emitter: Subject<NotifireModel[]>;
18
+ readonly toastDeleted: Subject<number>;
19
+ readonly toastChanged: Subject<NotifireModel>;
20
+ notifications: Array<NotifireModel>;
21
+ constructor(defaultConfig: NotificationDefaults);
22
+ /**
23
+ * Creates toast and add it to array, returns toast id
24
+ * @param NotificationModel NotificationModel
25
+ * @return number
26
+ */
27
+ create(notif: SnotifireModel): NotifireModel;
28
+ /**
29
+ * If ID passed, emits toast animation remove, if ID & REMOVE passed, removes toast from notifications array
30
+ * @param id number
31
+ * @param remove boolean
32
+ */
33
+ remove(id: number, remove?: boolean): void;
34
+ setDefaults(defaults: NotificationDefaults): NotificationDefaults;
35
+ /**
36
+ * Clear notifications array
37
+ */
38
+ clear(): void;
39
+ /**
40
+ * add NotifireToast to notifications array
41
+ * @param toast NotifireToast
42
+ */
43
+ private add;
44
+ /**
45
+ * emit changes in notifications array
46
+ */
47
+ private emit;
48
+ /**
49
+ * checks if the toast is in the collection.
50
+ * @param inToast NotifireToast
51
+ * @returns boolean
52
+ */
53
+ private containsToast;
54
+ /**
55
+ * Creates empty toast with html string inside
56
+ * @param html string | SafeHtml
57
+ * @param config NotifireConfig
58
+ * @returns number
59
+ */
60
+ html(html: string | SafeHtml, config?: SnotifireConfig): NotifireModel;
61
+ /**
62
+ * Create toast with success style returns toast id;
63
+ * @param body string
64
+ * @returns number
65
+ */
66
+ success(body: string): NotifireModel;
67
+ /**
68
+ * Create toast with success style returns toast id;
69
+ * @param body string
70
+ * @param title string
71
+ * @returns number
72
+ */
73
+ success(body: string, title: string): NotifireModel;
74
+ /**
75
+ * Create toast with success style returns toast id;
76
+ * @param body string
77
+ * @param config NotificationConfig
78
+ * @returns number
79
+ */
80
+ success(body: string, config: SnotifireConfig): NotifireModel;
81
+ /**
82
+ * Create toast with success style returns toast id;
83
+ * @param [body] string
84
+ * @param [title] string
85
+ * @param [config] NotificationConfig
86
+ * @returns number
87
+ */
88
+ success(body: string, title: string, config: SnotifireConfig): NotifireModel;
89
+ /**
90
+ * Create toast with error style returns toast id;
91
+ * @param body string
92
+ * @returns number
93
+ */
94
+ error(body: string): NotifireModel;
95
+ /**
96
+ * Create toast with error style returns toast id;
97
+ * @param body string
98
+ * @param title string
99
+ * @returns number
100
+ */
101
+ error(body: string, title: string): NotifireModel;
102
+ /**
103
+ * Create toast with error style returns toast id;
104
+ * @param body string
105
+ * @param config NotificationConfig
106
+ * @returns number
107
+ */
108
+ error(body: string, config: SnotifireConfig): NotifireModel;
109
+ /**
110
+ * Create toast with error style returns toast id;
111
+ * @param [body] string
112
+ * @param [title] string
113
+ * @param [config] NotificationConfig
114
+ * @returns number
115
+ */
116
+ error(body: string, title: string, config: SnotifireConfig): NotifireModel;
117
+ /**
118
+ * Create toast with info style returns toast id;
119
+ * @param body string
120
+ * @returns number
121
+ */
122
+ info(body: string): NotifireModel;
123
+ /**
124
+ * Create toast with info style returns toast id;
125
+ * @param body string
126
+ * @param title string
127
+ * @returns number
128
+ */
129
+ info(body: string, title: string): NotifireModel;
130
+ /**
131
+ * Create toast with info style returns toast id;
132
+ * @param body string
133
+ * @param config NotificationConfig
134
+ * @returns number
135
+ */
136
+ info(body: string, config: SnotifireConfig): NotifireModel;
137
+ /**
138
+ * Create toast with info style returns toast id;
139
+ * @param [body] string
140
+ * @param [title] string
141
+ * @param [config] NotificationConfig
142
+ * @returns number
143
+ */
144
+ info(body: string, title: string, config: SnotifireConfig): NotifireModel;
145
+ /**
146
+ * Create toast with warning style returns toast id;
147
+ * @param body string
148
+ * @returns number
149
+ */
150
+ warning(body: string): NotifireModel;
151
+ /**
152
+ * Create toast with warning style returns toast id;
153
+ * @param body string
154
+ * @param title string
155
+ * @returns number
156
+ */
157
+ warning(body: string, title: string): NotifireModel;
158
+ /**
159
+ * Create toast with warning style returns toast id;
160
+ * @param body string
161
+ * @param config NotificationConfig
162
+ * @returns number
163
+ */
164
+ warning(body: string, config: SnotifireConfig): NotifireModel;
165
+ /**
166
+ * Create toast with warning style returns toast id;
167
+ * @param [body] string
168
+ * @param [title] string
169
+ * @param [config] NotificationConfig
170
+ * @returns number
171
+ */
172
+ warning(body: string, title: string, config: SnotifireConfig): NotifireModel;
173
+ /**
174
+ * Create toast with confirm style returns toast id;
175
+ * @param body string
176
+ * @returns number
177
+ */
178
+ confirm(body: string): NotifireModel;
179
+ /**
180
+ * Create toast with confirm style returns toast id;
181
+ * @param body string
182
+ * @param title string
183
+ * @returns number
184
+ */
185
+ confirm(body: string, title: string): NotifireModel;
186
+ /**
187
+ * Create toast with confirm style returns toast id;
188
+ * @param body string
189
+ * @param config NotificationConfig
190
+ * @returns number
191
+ */
192
+ confirm(body: string, config: SnotifireConfig): NotifireModel;
193
+ /**
194
+ * Create toast with confirm style returns toast id;
195
+ * @param [body] string
196
+ * @param [title] string
197
+ * @param [config] NotificationConfig
198
+ * @returns number
199
+ */
200
+ confirm(body: string, title: string, config: SnotifireConfig): NotifireModel;
201
+ /**
202
+ * Create toast with Prompt style with two buttons, returns toast id;
203
+ * @param body string
204
+ * @returns number
205
+ */
206
+ prompt(body: string): NotifireModel;
207
+ /**
208
+ * Create toast with Prompt style with two buttons, returns toast id;
209
+ * @param body string
210
+ * @param title string
211
+ * @returns number
212
+ */
213
+ prompt(body: string, title: string): NotifireModel;
214
+ /**
215
+ * Create toast with Prompt style with two buttons, returns toast id;
216
+ * @param body string
217
+ * @param config NotificationConfig
218
+ * @returns number
219
+ */
220
+ prompt(body: string, config: SnotifireConfig): NotifireModel;
221
+ /**
222
+ * Create toast with Prompt style with two buttons, returns toast id;
223
+ * @param [body] string
224
+ * @param [title] string
225
+ * @param [config] NotificationConfig
226
+ * @returns number
227
+ */
228
+ prompt(body: string, title: string, config: SnotifireConfig): NotifireModel;
229
+ /**
230
+ * Creates async toast with Info style. Pass action, and resolve or reject it.
231
+ * @param body string
232
+ * @param action Promise<NotificationModel> | Observable<NotificationModel>
233
+ * @returns number
234
+ */
235
+ async(body: string, action: Promise<SnotifireModel> | Observable<SnotifireModel>): NotifireModel;
236
+ /**
237
+ * Creates async toast with Info style. Pass action, and resolve or reject it.
238
+ * @param body string
239
+ * @param title string
240
+ * @param action Promise<NotificationModel> | Observable<NotificationModel>
241
+ * @returns number
242
+ */
243
+ async(body: string, title: string, action: Promise<SnotifireModel> | Observable<SnotifireModel>): NotifireModel;
244
+ /**
245
+ * Creates async toast with Info style. Pass action, and resolve or reject it.
246
+ * @param body string
247
+ * @param action Promise<NotificationModel> | Observable<NotificationModel>
248
+ * @param [config] NotificationConfig
249
+ * @returns number
250
+ */
251
+ async(body: string, action: Promise<SnotifireModel> | Observable<SnotifireModel>, config: SnotifireConfig): NotifireModel;
252
+ /**
253
+ * Creates async toast with Info style. Pass action, and resolve or reject it.
254
+ * @param body string
255
+ * @param title string
256
+ * @param action Promise<NotificationModel> | Observable<NotificationModel>
257
+ * @param [config] NotificationConfig
258
+ * @returns number
259
+ */
260
+ async(body: string, title: string, action: Promise<SnotifireModel> | Observable<SnotifireModel>, config: SnotifireConfig): NotifireModel;
261
+ private mergeToast;
262
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnotificationService, never>;
263
+ static ɵprov: i0.ɵɵInjectableDeclaration<SnotificationService>;
264
+ }
package/lib/utils.d.ts ADDED
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Deep merge objects.
3
+ * @param sources Array<Object<any>>
4
+ * @returns Object<any>
5
+ */
6
+ export declare function mergeDeep(...sources: any): any;
7
+ /**
8
+ * Generates random id
9
+ * @return number
10
+ */
11
+ export declare function uuid(): number;
12
+ /**
13
+ * Simple is object check.
14
+ * @param item Object<any>
15
+ * @returns boolean
16
+ */
17
+ export declare function isObject(item: any): boolean;
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "ngx-snotifire",
3
+ "version": "1.0.0",
4
+ "peerDependencies": {
5
+ "@angular/common": "^14.2.0",
6
+ "@angular/core": "^14.2.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "module": "fesm2015/ngx-snotifire.mjs",
12
+ "es2020": "fesm2020/ngx-snotifire.mjs",
13
+ "esm2020": "esm2020/ngx-snotifire.mjs",
14
+ "fesm2020": "fesm2020/ngx-snotifire.mjs",
15
+ "fesm2015": "fesm2015/ngx-snotifire.mjs",
16
+ "typings": "index.d.ts",
17
+ "exports": {
18
+ "./package.json": {
19
+ "default": "./package.json"
20
+ },
21
+ ".": {
22
+ "types": "./index.d.ts",
23
+ "esm2020": "./esm2020/ngx-snotifire.mjs",
24
+ "es2020": "./fesm2020/ngx-snotifire.mjs",
25
+ "es2015": "./fesm2015/ngx-snotifire.mjs",
26
+ "node": "./fesm2015/ngx-snotifire.mjs",
27
+ "default": "./fesm2020/ngx-snotifire.mjs"
28
+ }
29
+ },
30
+ "sideEffects": false
31
+ }
@@ -0,0 +1,6 @@
1
+ export * from './lib/ngx-snotifire.module';
2
+ export * from './lib/components';
3
+ export * from './lib/models';
4
+ export * from './lib/pipes';
5
+ export * from './lib/services';
6
+ export * from './lib/defaults';