ngx-toastr 12.1.0 → 13.2.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 (43) hide show
  1. package/README.md +46 -41
  2. package/bundles/ngx-toastr.umd.js +454 -388
  3. package/bundles/ngx-toastr.umd.js.map +1 -1
  4. package/bundles/ngx-toastr.umd.min.js +1 -15
  5. package/bundles/ngx-toastr.umd.min.js.map +1 -1
  6. package/esm2015/ngx-toastr.js +1 -1
  7. package/esm2015/overlay/overlay-container.js +7 -10
  8. package/esm2015/overlay/overlay-ref.js +1 -1
  9. package/esm2015/overlay/overlay.js +9 -11
  10. package/esm2015/portal/dom-portal-host.js +1 -1
  11. package/esm2015/portal/portal.js +1 -1
  12. package/esm2015/public_api.js +1 -1
  13. package/esm2015/toastr/toast-injector.js +1 -1
  14. package/esm2015/toastr/toast-noanimation.component.js +34 -46
  15. package/esm2015/toastr/toast.component.js +35 -46
  16. package/esm2015/toastr/toast.directive.js +17 -20
  17. package/esm2015/toastr/toastr-config.js +2 -1
  18. package/esm2015/toastr/toastr.module.js +19 -23
  19. package/esm2015/toastr/toastr.service.js +21 -21
  20. package/fesm2015/ngx-toastr.js +130 -148
  21. package/fesm2015/ngx-toastr.js.map +1 -1
  22. package/ngx-toastr.metadata.json +1 -1
  23. package/package.json +7 -10
  24. package/portal/portal.d.ts +1 -1
  25. package/toastr/toast.component.d.ts +1 -1
  26. package/toastr/toastr-config.d.ts +8 -2
  27. package/toastr/toastr.service.d.ts +7 -5
  28. package/esm5/ngx-toastr.js +0 -5
  29. package/esm5/overlay/overlay-container.js +0 -49
  30. package/esm5/overlay/overlay-ref.js +0 -23
  31. package/esm5/overlay/overlay.js +0 -91
  32. package/esm5/portal/dom-portal-host.js +0 -58
  33. package/esm5/portal/portal.js +0 -67
  34. package/esm5/public_api.js +0 -12
  35. package/esm5/toastr/toast-injector.js +0 -90
  36. package/esm5/toastr/toast-noanimation.component.js +0 -216
  37. package/esm5/toastr/toast.component.js +0 -226
  38. package/esm5/toastr/toast.directive.js +0 -34
  39. package/esm5/toastr/toastr-config.js +0 -73
  40. package/esm5/toastr/toastr.module.js +0 -64
  41. package/esm5/toastr/toastr.service.js +0 -229
  42. package/fesm5/ngx-toastr.js +0 -1168
  43. package/fesm5/ngx-toastr.js.map +0 -1
@@ -1,35 +1,34 @@
1
- import { __decorate, __param } from 'tslib';
2
- import { ElementRef, Directive, NgModule, InjectionToken, Inject, ɵɵdefineInjectable, ɵɵinject, Injectable, ComponentFactoryResolver, ApplicationRef, SecurityContext, Injector, NgZone, INJECTOR, HostBinding, HostListener, Component } from '@angular/core';
1
+ import { Directive, ElementRef, NgModule, InjectionToken, ɵɵdefineInjectable, ɵɵinject, Injectable, Inject, ComponentFactoryResolver, ApplicationRef, SecurityContext, INJECTOR, NgZone, Injector, Component, HostBinding, HostListener } from '@angular/core';
3
2
  import { trigger, state, style, transition, animate } from '@angular/animations';
4
3
  import { Subject } from 'rxjs';
5
4
  import { DomSanitizer } from '@angular/platform-browser';
6
5
  import { DOCUMENT, CommonModule } from '@angular/common';
7
6
 
8
- let ToastContainerDirective = class ToastContainerDirective {
7
+ class ToastContainerDirective {
9
8
  constructor(el) {
10
9
  this.el = el;
11
10
  }
12
11
  getContainerElement() {
13
12
  return this.el.nativeElement;
14
13
  }
15
- };
14
+ }
15
+ ToastContainerDirective.decorators = [
16
+ { type: Directive, args: [{
17
+ selector: '[toastContainer]',
18
+ exportAs: 'toastContainer',
19
+ },] }
20
+ ];
16
21
  ToastContainerDirective.ctorParameters = () => [
17
22
  { type: ElementRef }
18
23
  ];
19
- ToastContainerDirective = __decorate([
20
- Directive({
21
- selector: '[toastContainer]',
22
- exportAs: 'toastContainer',
23
- })
24
- ], ToastContainerDirective);
25
- let ToastContainerModule = class ToastContainerModule {
26
- };
27
- ToastContainerModule = __decorate([
28
- NgModule({
29
- declarations: [ToastContainerDirective],
30
- exports: [ToastContainerDirective],
31
- })
32
- ], ToastContainerModule);
24
+ class ToastContainerModule {
25
+ }
26
+ ToastContainerModule.decorators = [
27
+ { type: NgModule, args: [{
28
+ declarations: [ToastContainerDirective],
29
+ exports: [ToastContainerDirective],
30
+ },] }
31
+ ];
33
32
 
34
33
  /**
35
34
  * Everything a toast needs to launch
@@ -74,6 +73,7 @@ const DefaultNoComponentGlobalConfig = {
74
73
  preventDuplicates: false,
75
74
  countDuplicates: false,
76
75
  resetTimeoutOnDuplicate: false,
76
+ includeTitleDuplicates: false,
77
77
  iconClasses: {
78
78
  error: 'toast-error',
79
79
  info: 'toast-info',
@@ -208,7 +208,7 @@ class DomPortalHost extends BasePortalHost {
208
208
  }
209
209
 
210
210
  /** Container inside which all toasts will render. */
211
- let OverlayContainer = class OverlayContainer {
211
+ class OverlayContainer {
212
212
  constructor(_document) {
213
213
  this._document = _document;
214
214
  }
@@ -239,15 +239,14 @@ let OverlayContainer = class OverlayContainer {
239
239
  this._document.body.appendChild(container);
240
240
  this._containerElement = container;
241
241
  }
242
- };
242
+ }
243
+ OverlayContainer.ɵprov = ɵɵdefineInjectable({ factory: function OverlayContainer_Factory() { return new OverlayContainer(ɵɵinject(DOCUMENT)); }, token: OverlayContainer, providedIn: "root" });
244
+ OverlayContainer.decorators = [
245
+ { type: Injectable, args: [{ providedIn: 'root' },] }
246
+ ];
243
247
  OverlayContainer.ctorParameters = () => [
244
248
  { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
245
249
  ];
246
- OverlayContainer.ɵprov = ɵɵdefineInjectable({ factory: function OverlayContainer_Factory() { return new OverlayContainer(ɵɵinject(DOCUMENT)); }, token: OverlayContainer, providedIn: "root" });
247
- OverlayContainer = __decorate([
248
- Injectable({ providedIn: 'root' }),
249
- __param(0, Inject(DOCUMENT))
250
- ], OverlayContainer);
251
250
 
252
251
  /**
253
252
  * Reference to an overlay that has been created with the Overlay service.
@@ -269,6 +268,7 @@ class OverlayRef {
269
268
  }
270
269
  }
271
270
 
271
+ /* tslint:disable:no-non-null-assertion */
272
272
  /**
273
273
  * Service to create Overlays. Overlays are dynamically added pieces of floating UI, meant to be
274
274
  * used as a low-level building building block for other components. Dialogs, tooltips, menus,
@@ -277,7 +277,7 @@ class OverlayRef {
277
277
  *
278
278
  * An overlay *is* a PortalHost, so any kind of Portal can be loaded into one.
279
279
  */
280
- let Overlay = class Overlay {
280
+ class Overlay {
281
281
  constructor(_overlayContainer, _componentFactoryResolver, _appRef, _document) {
282
282
  this._overlayContainer = _overlayContainer;
283
283
  this._componentFactoryResolver = _componentFactoryResolver;
@@ -335,18 +335,17 @@ let Overlay = class Overlay {
335
335
  _createOverlayRef(pane) {
336
336
  return new OverlayRef(this._createPortalHost(pane));
337
337
  }
338
- };
338
+ }
339
+ Overlay.ɵprov = ɵɵdefineInjectable({ factory: function Overlay_Factory() { return new Overlay(ɵɵinject(OverlayContainer), ɵɵinject(ComponentFactoryResolver), ɵɵinject(ApplicationRef), ɵɵinject(DOCUMENT)); }, token: Overlay, providedIn: "root" });
340
+ Overlay.decorators = [
341
+ { type: Injectable, args: [{ providedIn: 'root' },] }
342
+ ];
339
343
  Overlay.ctorParameters = () => [
340
344
  { type: OverlayContainer },
341
345
  { type: ComponentFactoryResolver },
342
346
  { type: ApplicationRef },
343
347
  { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
344
348
  ];
345
- Overlay.ɵprov = ɵɵdefineInjectable({ factory: function Overlay_Factory() { return new Overlay(ɵɵinject(OverlayContainer), ɵɵinject(ComponentFactoryResolver), ɵɵinject(ApplicationRef), ɵɵinject(DOCUMENT)); }, token: Overlay, providedIn: "root" });
346
- Overlay = __decorate([
347
- Injectable({ providedIn: 'root' }),
348
- __param(3, Inject(DOCUMENT))
349
- ], Overlay);
350
349
 
351
350
  /**
352
351
  * Reference to a toast opened via the Toastr service.
@@ -432,7 +431,7 @@ class ToastInjector {
432
431
  }
433
432
  }
434
433
 
435
- let ToastrService = class ToastrService {
434
+ class ToastrService {
436
435
  constructor(token, overlay, _injector, sanitizer, ngZone) {
437
436
  this.overlay = overlay;
438
437
  this._injector = _injector;
@@ -501,8 +500,7 @@ let ToastrService = class ToastrService {
501
500
  if (!this.toastrConfig.maxOpened || !this.toasts.length) {
502
501
  return false;
503
502
  }
504
- if (this.currentlyActive < this.toastrConfig.maxOpened &&
505
- this.toasts[this.currentlyActive]) {
503
+ if (this.currentlyActive < this.toastrConfig.maxOpened && this.toasts[this.currentlyActive]) {
506
504
  const p = this.toasts[this.currentlyActive].toastRef;
507
505
  if (!p.isInactive()) {
508
506
  this.currentlyActive = this.currentlyActive + 1;
@@ -514,9 +512,11 @@ let ToastrService = class ToastrService {
514
512
  /**
515
513
  * Determines if toast message is already shown
516
514
  */
517
- findDuplicate(message, resetOnDuplicate, countDuplicates) {
515
+ findDuplicate(title = '', message = '', resetOnDuplicate, countDuplicates) {
516
+ const { includeTitleDuplicates } = this.toastrConfig;
518
517
  for (const toast of this.toasts) {
519
- if (toast.message === message) {
518
+ const hasDuplicateTitle = includeTitleDuplicates && toast.title === title;
519
+ if ((!includeTitleDuplicates || hasDuplicateTitle) && toast.message === message) {
520
520
  toast.toastRef.onDuplicate(resetOnDuplicate, countDuplicates);
521
521
  return toast;
522
522
  }
@@ -558,14 +558,15 @@ let ToastrService = class ToastrService {
558
558
  // max opened and auto dismiss = true
559
559
  // if timeout = 0 resetting it would result in setting this.hideTime = Date.now(). Hence, we only want to reset timeout if there is
560
560
  // a timeout at all
561
- const duplicate = this.findDuplicate(message, this.toastrConfig.resetTimeoutOnDuplicate && config.timeOut > 0, this.toastrConfig.countDuplicates);
562
- if (message && this.toastrConfig.preventDuplicates && duplicate !== null) {
561
+ const duplicate = this.findDuplicate(title, message, this.toastrConfig.resetTimeoutOnDuplicate && config.timeOut > 0, this.toastrConfig.countDuplicates);
562
+ if (((this.toastrConfig.includeTitleDuplicates && title) || message) &&
563
+ this.toastrConfig.preventDuplicates &&
564
+ duplicate !== null) {
563
565
  return duplicate;
564
566
  }
565
567
  this.previousToastMessage = message;
566
568
  let keepInactive = false;
567
- if (this.toastrConfig.maxOpened &&
568
- this.currentlyActive >= this.toastrConfig.maxOpened) {
569
+ if (this.toastrConfig.maxOpened && this.currentlyActive >= this.toastrConfig.maxOpened) {
569
570
  keepInactive = true;
570
571
  if (this.toastrConfig.autoDismiss) {
571
572
  this.clear(this.toasts[0].toastId);
@@ -585,13 +586,14 @@ let ToastrService = class ToastrService {
585
586
  toastRef.componentInstance = portal.instance;
586
587
  const ins = {
587
588
  toastId: this.index,
589
+ title: title || '',
588
590
  message: message || '',
589
591
  toastRef,
590
592
  onShown: toastRef.afterActivate(),
591
593
  onHidden: toastRef.afterClosed(),
592
594
  onTap: toastPackage.onTap(),
593
595
  onAction: toastPackage.onAction(),
594
- portal
596
+ portal,
595
597
  };
596
598
  if (!keepInactive) {
597
599
  this.currentlyActive = this.currentlyActive + 1;
@@ -602,7 +604,11 @@ let ToastrService = class ToastrService {
602
604
  this.toasts.push(ins);
603
605
  return ins;
604
606
  }
605
- };
607
+ }
608
+ ToastrService.ɵprov = ɵɵdefineInjectable({ factory: function ToastrService_Factory() { return new ToastrService(ɵɵinject(TOAST_CONFIG), ɵɵinject(Overlay), ɵɵinject(INJECTOR), ɵɵinject(DomSanitizer), ɵɵinject(NgZone)); }, token: ToastrService, providedIn: "root" });
609
+ ToastrService.decorators = [
610
+ { type: Injectable, args: [{ providedIn: 'root' },] }
611
+ ];
606
612
  ToastrService.ctorParameters = () => [
607
613
  { type: undefined, decorators: [{ type: Inject, args: [TOAST_CONFIG,] }] },
608
614
  { type: Overlay },
@@ -610,13 +616,8 @@ ToastrService.ctorParameters = () => [
610
616
  { type: DomSanitizer },
611
617
  { type: NgZone }
612
618
  ];
613
- ToastrService.ɵprov = ɵɵdefineInjectable({ factory: function ToastrService_Factory() { return new ToastrService(ɵɵinject(TOAST_CONFIG), ɵɵinject(Overlay), ɵɵinject(INJECTOR), ɵɵinject(DomSanitizer), ɵɵinject(NgZone)); }, token: ToastrService, providedIn: "root" });
614
- ToastrService = __decorate([
615
- Injectable({ providedIn: 'root' }),
616
- __param(0, Inject(TOAST_CONFIG))
617
- ], ToastrService);
618
619
 
619
- let Toast = class Toast {
620
+ class Toast {
620
621
  constructor(toastrService, toastPackage, ngZone) {
621
622
  this.toastrService = toastrService;
622
623
  this.toastPackage = toastPackage;
@@ -656,6 +657,7 @@ let Toast = class Toast {
656
657
  if (this.state.value === 'inactive') {
657
658
  return 'none';
658
659
  }
660
+ return;
659
661
  }
660
662
  ngOnDestroy() {
661
663
  this.sub.unsubscribe();
@@ -779,34 +781,11 @@ let Toast = class Toast {
779
781
  func();
780
782
  }
781
783
  }
782
- };
783
- Toast.ctorParameters = () => [
784
- { type: ToastrService },
785
- { type: ToastPackage },
786
- { type: NgZone }
787
- ];
788
- __decorate([
789
- HostBinding('class')
790
- ], Toast.prototype, "toastClasses", void 0);
791
- __decorate([
792
- HostBinding('@flyInOut')
793
- ], Toast.prototype, "state", void 0);
794
- __decorate([
795
- HostBinding('style.display')
796
- ], Toast.prototype, "displayStyle", null);
797
- __decorate([
798
- HostListener('click')
799
- ], Toast.prototype, "tapToast", null);
800
- __decorate([
801
- HostListener('mouseenter')
802
- ], Toast.prototype, "stickAround", null);
803
- __decorate([
804
- HostListener('mouseleave')
805
- ], Toast.prototype, "delayedHideToast", null);
806
- Toast = __decorate([
807
- Component({
808
- selector: '[toast-component]',
809
- template: `
784
+ }
785
+ Toast.decorators = [
786
+ { type: Component, args: [{
787
+ selector: '[toast-component]',
788
+ template: `
810
789
  <button *ngIf="options.closeButton" (click)="remove()" class="toast-close-button" aria-label="Close">
811
790
  <span aria-hidden="true">&times;</span>
812
791
  </button>
@@ -824,25 +803,37 @@ Toast = __decorate([
824
803
  <div class="toast-progress" [style.width]="width + '%'"></div>
825
804
  </div>
826
805
  `,
827
- animations: [
828
- trigger('flyInOut', [
829
- state('inactive', style({ opacity: 0 })),
830
- state('active', style({ opacity: 1 })),
831
- state('removed', style({ opacity: 0 })),
832
- transition('inactive => active', animate('{{ easeTime }}ms {{ easing }}')),
833
- transition('active => removed', animate('{{ easeTime }}ms {{ easing }}'))
834
- ])
835
- ],
836
- preserveWhitespaces: false
837
- })
838
- ], Toast);
806
+ animations: [
807
+ trigger('flyInOut', [
808
+ state('inactive', style({ opacity: 0 })),
809
+ state('active', style({ opacity: 1 })),
810
+ state('removed', style({ opacity: 0 })),
811
+ transition('inactive => active', animate('{{ easeTime }}ms {{ easing }}')),
812
+ transition('active => removed', animate('{{ easeTime }}ms {{ easing }}'))
813
+ ])
814
+ ],
815
+ preserveWhitespaces: false
816
+ },] }
817
+ ];
818
+ Toast.ctorParameters = () => [
819
+ { type: ToastrService },
820
+ { type: ToastPackage },
821
+ { type: NgZone }
822
+ ];
823
+ Toast.propDecorators = {
824
+ toastClasses: [{ type: HostBinding, args: ['class',] }],
825
+ state: [{ type: HostBinding, args: ['@flyInOut',] }],
826
+ displayStyle: [{ type: HostBinding, args: ['style.display',] }],
827
+ tapToast: [{ type: HostListener, args: ['click',] }],
828
+ stickAround: [{ type: HostListener, args: ['mouseenter',] }],
829
+ delayedHideToast: [{ type: HostListener, args: ['mouseleave',] }]
830
+ };
839
831
 
840
- var ToastrModule_1;
841
832
  const DefaultGlobalConfig = Object.assign(Object.assign({}, DefaultNoComponentGlobalConfig), { toastComponent: Toast });
842
- let ToastrModule = ToastrModule_1 = class ToastrModule {
833
+ class ToastrModule {
843
834
  static forRoot(config = {}) {
844
835
  return {
845
- ngModule: ToastrModule_1,
836
+ ngModule: ToastrModule,
846
837
  providers: [
847
838
  {
848
839
  provide: TOAST_CONFIG,
@@ -854,16 +845,16 @@ let ToastrModule = ToastrModule_1 = class ToastrModule {
854
845
  ],
855
846
  };
856
847
  }
857
- };
858
- ToastrModule = ToastrModule_1 = __decorate([
859
- NgModule({
860
- imports: [CommonModule],
861
- declarations: [Toast],
862
- exports: [Toast],
863
- entryComponents: [Toast],
864
- })
865
- ], ToastrModule);
866
- let ToastrComponentlessModule = class ToastrComponentlessModule {
848
+ }
849
+ ToastrModule.decorators = [
850
+ { type: NgModule, args: [{
851
+ imports: [CommonModule],
852
+ declarations: [Toast],
853
+ exports: [Toast],
854
+ entryComponents: [Toast],
855
+ },] }
856
+ ];
857
+ class ToastrComponentlessModule {
867
858
  static forRoot(config = {}) {
868
859
  return {
869
860
  ngModule: ToastrModule,
@@ -878,15 +869,14 @@ let ToastrComponentlessModule = class ToastrComponentlessModule {
878
869
  ],
879
870
  };
880
871
  }
881
- };
882
- ToastrComponentlessModule = __decorate([
883
- NgModule({
884
- imports: [CommonModule],
885
- })
886
- ], ToastrComponentlessModule);
872
+ }
873
+ ToastrComponentlessModule.decorators = [
874
+ { type: NgModule, args: [{
875
+ imports: [CommonModule],
876
+ },] }
877
+ ];
887
878
 
888
- var ToastNoAnimationModule_1;
889
- let ToastNoAnimation = class ToastNoAnimation {
879
+ class ToastNoAnimation {
890
880
  constructor(toastrService, toastPackage, appRef) {
891
881
  this.toastrService = toastrService;
892
882
  this.toastPackage = toastPackage;
@@ -1024,31 +1014,11 @@ let ToastNoAnimation = class ToastNoAnimation {
1024
1014
  this.intervalId = setInterval(() => this.updateProgress(), 10);
1025
1015
  }
1026
1016
  }
1027
- };
1028
- ToastNoAnimation.ctorParameters = () => [
1029
- { type: ToastrService },
1030
- { type: ToastPackage },
1031
- { type: ApplicationRef }
1032
- ];
1033
- __decorate([
1034
- HostBinding('class')
1035
- ], ToastNoAnimation.prototype, "toastClasses", void 0);
1036
- __decorate([
1037
- HostBinding('style.display')
1038
- ], ToastNoAnimation.prototype, "displayStyle", null);
1039
- __decorate([
1040
- HostListener('click')
1041
- ], ToastNoAnimation.prototype, "tapToast", null);
1042
- __decorate([
1043
- HostListener('mouseenter')
1044
- ], ToastNoAnimation.prototype, "stickAround", null);
1045
- __decorate([
1046
- HostListener('mouseleave')
1047
- ], ToastNoAnimation.prototype, "delayedHideToast", null);
1048
- ToastNoAnimation = __decorate([
1049
- Component({
1050
- selector: '[toast-component]',
1051
- template: `
1017
+ }
1018
+ ToastNoAnimation.decorators = [
1019
+ { type: Component, args: [{
1020
+ selector: '[toast-component]',
1021
+ template: `
1052
1022
  <button *ngIf="options.closeButton" (click)="remove()" class="toast-close-button" aria-label="Close">
1053
1023
  <span aria-hidden="true">&times;</span>
1054
1024
  </button>
@@ -1066,13 +1036,25 @@ ToastNoAnimation = __decorate([
1066
1036
  <div class="toast-progress" [style.width]="width + '%'"></div>
1067
1037
  </div>
1068
1038
  `
1069
- })
1070
- ], ToastNoAnimation);
1039
+ },] }
1040
+ ];
1041
+ ToastNoAnimation.ctorParameters = () => [
1042
+ { type: ToastrService },
1043
+ { type: ToastPackage },
1044
+ { type: ApplicationRef }
1045
+ ];
1046
+ ToastNoAnimation.propDecorators = {
1047
+ toastClasses: [{ type: HostBinding, args: ['class',] }],
1048
+ displayStyle: [{ type: HostBinding, args: ['style.display',] }],
1049
+ tapToast: [{ type: HostListener, args: ['click',] }],
1050
+ stickAround: [{ type: HostListener, args: ['mouseenter',] }],
1051
+ delayedHideToast: [{ type: HostListener, args: ['mouseleave',] }]
1052
+ };
1071
1053
  const DefaultNoAnimationsGlobalConfig = Object.assign(Object.assign({}, DefaultNoComponentGlobalConfig), { toastComponent: ToastNoAnimation });
1072
- let ToastNoAnimationModule = ToastNoAnimationModule_1 = class ToastNoAnimationModule {
1054
+ class ToastNoAnimationModule {
1073
1055
  static forRoot(config = {}) {
1074
1056
  return {
1075
- ngModule: ToastNoAnimationModule_1,
1057
+ ngModule: ToastNoAnimationModule,
1076
1058
  providers: [
1077
1059
  {
1078
1060
  provide: TOAST_CONFIG,
@@ -1084,15 +1066,15 @@ let ToastNoAnimationModule = ToastNoAnimationModule_1 = class ToastNoAnimationMo
1084
1066
  ],
1085
1067
  };
1086
1068
  }
1087
- };
1088
- ToastNoAnimationModule = ToastNoAnimationModule_1 = __decorate([
1089
- NgModule({
1090
- imports: [CommonModule],
1091
- declarations: [ToastNoAnimation],
1092
- exports: [ToastNoAnimation],
1093
- entryComponents: [ToastNoAnimation],
1094
- })
1095
- ], ToastNoAnimationModule);
1069
+ }
1070
+ ToastNoAnimationModule.decorators = [
1071
+ { type: NgModule, args: [{
1072
+ imports: [CommonModule],
1073
+ declarations: [ToastNoAnimation],
1074
+ exports: [ToastNoAnimation],
1075
+ entryComponents: [ToastNoAnimation],
1076
+ },] }
1077
+ ];
1096
1078
 
1097
1079
  /**
1098
1080
  * Generated bundle index. Do not edit.