1 | import { EventEmitter, OnDestroy, OnInit, ChangeDetectorRef } from '@angular/core';
|
2 | import { NotificationAnimationType } from '../../enums/notification-animation-type.enum';
|
3 | import { Notification } from '../../interfaces/notification.type';
|
4 | import { Options, Position } from '../../interfaces/options.type';
|
5 | import { NotificationsService } from '../../services/notifications.service';
|
6 | import * as i0 from "@angular/core";
|
7 | export declare class SimpleNotificationsComponent implements OnInit, OnDestroy {
|
8 | private service;
|
9 | private cd;
|
10 | constructor(service: NotificationsService, cd: ChangeDetectorRef);
|
11 | set options(opt: Options);
|
12 | create: EventEmitter<any>;
|
13 | destroy: EventEmitter<any>;
|
14 | notifications: Notification[];
|
15 | position: Position;
|
16 | private lastNotificationCreated;
|
17 | private listener;
|
18 | private lastOnBottom;
|
19 | private maxStack;
|
20 | private preventLastDuplicates;
|
21 | private preventDuplicates;
|
22 | timeOut: number;
|
23 | maxLength: number;
|
24 | clickToClose: boolean;
|
25 | clickIconToClose: boolean;
|
26 | showProgressBar: boolean;
|
27 | pauseOnHover: boolean;
|
28 | theClass: string;
|
29 | rtl: boolean;
|
30 | animate: NotificationAnimationType;
|
31 | private usingComponentOptions;
|
32 | ngOnInit(): void;
|
33 | ngOnDestroy(): void;
|
34 | defaultBehavior(value: any): void;
|
35 | add(item: Notification): void;
|
36 | block(item: Notification): boolean;
|
37 | checkStandard(checker: Notification, item: Notification): boolean;
|
38 | checkHtml(checker: Notification, item: Notification): boolean;
|
39 | attachChanges(options: any): void;
|
40 | buildEmit(notification: Notification, to: boolean): Notification;
|
41 | cleanSingle(id: string): void;
|
42 | static ɵfac: i0.ɵɵFactoryDeclaration<SimpleNotificationsComponent, never>;
|
43 | static ɵcmp: i0.ɵɵComponentDeclaration<SimpleNotificationsComponent, "simple-notifications", never, { "options": "options"; }, { "create": "create"; "destroy": "destroy"; }, never, never>;
|
44 | }
|