toast-message-display 15.0.7 → 15.0.9

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.
@@ -2,7 +2,7 @@ import { MatSnackBarRef } from '@angular/material/snack-bar';
2
2
  import { VerticalAlignment } from '../models/vertical-alignment.enum';
3
3
  import { ToastDisplay } from '../models/toast-display-model';
4
4
  import * as i0 from "@angular/core";
5
- export declare class ToastMessageService {
5
+ export declare class ToastMessageDisplayService {
6
6
  private snackBar;
7
7
  private toastQueue;
8
8
  private isToastVisible;
@@ -10,6 +10,6 @@ export declare class ToastMessageService {
10
10
  snackBarRef: MatSnackBarRef<any> | undefined;
11
11
  toastMessage(options?: ToastDisplay, duration?: number, vertical?: VerticalAlignment): void;
12
12
  private showNextToast;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<ToastMessageService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<ToastMessageService>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastMessageDisplayService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToastMessageDisplayService>;
15
15
  }
@@ -1,4 +1,4 @@
1
- import { ToastMessageService } from '../services';
1
+ import { ToastMessageDisplayService } from '../services';
2
2
  import { ToastColors, ToastDisplay } from '../models';
3
3
  import { FormBuilder } from '@angular/forms';
4
4
  import * as i0 from "@angular/core";
@@ -6,7 +6,7 @@ export declare class ToastDemoComponent {
6
6
  random: () => number;
7
7
  randomNumber: (min: number, max: number) => number;
8
8
  fb: FormBuilder;
9
- toastMessageService: ToastMessageService;
9
+ toastMessageDisplayService: ToastMessageDisplayService;
10
10
  type: string;
11
11
  position: import("@angular/forms").FormControl<string | null>;
12
12
  icons: string[];
@@ -33,5 +33,5 @@ export declare class ToastDemoComponent {
33
33
  onInline(): void;
34
34
  onClosedToast(toast?: ToastDisplay): void;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<ToastDemoComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<ToastDemoComponent, "app-toast-demo", never, {}, {}, never, never, false, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastDemoComponent, "app-toast-display-demo", never, {}, {}, never, never, false, never>;
37
37
  }
@@ -11,12 +11,12 @@ export declare class ToastMessageInlineComponent implements OnInit {
11
11
  get option(): ToastDisplay | null;
12
12
  duration: number;
13
13
  position: VerticalAlignment;
14
- get color(): import("../models").ToastColors | "";
14
+ get color(): "" | import("../models").ToastColors;
15
15
  get textColor(): string;
16
16
  ngOnInit(): void;
17
17
  onCloseToast(toast?: ToastDisplay): void;
18
18
  expireTime(toast: any): void;
19
19
  removeToast(toast: any): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ToastMessageInlineComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ToastMessageInlineComponent, "app-toast-message-inline", never, { "toast": { "alias": "toast"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastMessageInlineComponent, "app-toast-message-display-inline", never, { "toast": { "alias": "toast"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
22
22
  }
@@ -2,8 +2,8 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./toast-ui/toast-ui.component";
3
3
  import * as i2 from "./toast-demo/toast-demo.component";
4
4
  import * as i3 from "./toast-message-inline/toast-message-inline.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/platform-browser";
5
+ import * as i4 from "./pipes/safe-html.pipe";
6
+ import * as i5 from "@angular/common";
7
7
  import * as i6 from "@angular/forms";
8
8
  import * as i7 from "@angular/material/icon";
9
9
  import * as i8 from "@angular/material/snack-bar";
@@ -14,6 +14,6 @@ import * as i12 from "@angular/material/radio";
14
14
  import * as i13 from "@angular/material/divider";
15
15
  export declare class ToastMessageDisplayModule {
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ToastMessageDisplayModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<ToastMessageDisplayModule, [typeof i1.ToastUIComponent, typeof i2.ToastDemoComponent, typeof i3.ToastMessageInlineComponent], [typeof i4.CommonModule, typeof i5.BrowserModule, typeof i6.ReactiveFormsModule, typeof i7.MatIconModule, typeof i8.MatSnackBarModule, typeof i9.MatButtonModule, typeof i10.MatToolbarModule, typeof i11.MatMenuModule, typeof i12.MatRadioModule, typeof i13.MatDividerModule], [typeof i1.ToastUIComponent, typeof i2.ToastDemoComponent, typeof i3.ToastMessageInlineComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToastMessageDisplayModule, [typeof i1.ToastUIComponent, typeof i2.ToastDemoComponent, typeof i3.ToastMessageInlineComponent, typeof i4.SafeHtmlPipe], [typeof i5.CommonModule, typeof i6.ReactiveFormsModule, typeof i7.MatIconModule, typeof i8.MatSnackBarModule, typeof i9.MatButtonModule, typeof i10.MatToolbarModule, typeof i11.MatMenuModule, typeof i12.MatRadioModule, typeof i13.MatDividerModule], [typeof i1.ToastUIComponent, typeof i2.ToastDemoComponent, typeof i3.ToastMessageInlineComponent]>;
18
18
  static ɵinj: i0.ɵɵInjectorDeclaration<ToastMessageDisplayModule>;
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toast-message-display",
3
- "version": "15.0.7",
3
+ "version": "15.0.9",
4
4
  "homepage": "https://wavecoders.ca",
5
5
  "author": "Mike Bonifacio <wavecoders@gmail.com> (http://wavecoders@gmail.com/)",
6
6
  "description": "This is an Angular Module containing Components/Services using Material",
Binary file
Binary file