1 | import { NgZone, OnDestroy, OnInit, ChangeDetectorRef } from '@angular/core';
|
2 | import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
3 | import { NotificationAnimationType } from '../../enums/notification-animation-type.enum';
|
4 | import { Notification } from '../../interfaces/notification.type';
|
5 | import { NotificationsService } from '../../services/notifications.service';
|
6 | export declare class NotificationComponent implements OnInit, OnDestroy {
|
7 | private notificationService;
|
8 | private domSanitizer;
|
9 | private cd;
|
10 | private zone;
|
11 | timeOut: number;
|
12 | showProgressBar: boolean;
|
13 | pauseOnHover: boolean;
|
14 | clickToClose: boolean;
|
15 | clickIconToClose: boolean;
|
16 | maxLength: number;
|
17 | theClass: string;
|
18 | rtl: boolean;
|
19 | animate: NotificationAnimationType;
|
20 | position: number;
|
21 | item: Notification;
|
22 | title: any;
|
23 | content: any;
|
24 | titleIsTemplate: boolean;
|
25 | contentIsTemplate: boolean;
|
26 | htmlIsTemplate: boolean;
|
27 | progressWidth: number;
|
28 | safeSvg: SafeHtml;
|
29 | safeInputHtml: SafeHtml;
|
30 | private stopTime;
|
31 | private timer;
|
32 | private framesPerSecond;
|
33 | private sleepTime;
|
34 | private startTime;
|
35 | private endTime;
|
36 | private pauseStart;
|
37 | private icon;
|
38 | constructor(notificationService: NotificationsService, domSanitizer: DomSanitizer, cd: ChangeDetectorRef, zone: NgZone);
|
39 | ngOnInit(): void;
|
40 | ngOnDestroy(): void;
|
41 | startTimeOut(): void;
|
42 | onEnter(): void;
|
43 | onLeave(): void;
|
44 | onClick(event: MouseEvent): void;
|
45 | onClickIcon(event: MouseEvent): void;
|
46 | attachOverrides(): void;
|
47 | private instance;
|
48 | private remove;
|
49 | private contentType;
|
50 | }
|