1 | import { OnDestroy, EventEmitter, AfterContentInit, ElementRef, QueryList, TemplateRef, ChangeDetectorRef } from '@angular/core';
|
---|
2 | import { Message, MessageService } from 'primeng/api';
|
---|
3 | import { Subscription } from 'rxjs';
|
---|
4 | import * as i0 from "@angular/core";
|
---|
5 | import * as i1 from "@angular/common";
|
---|
6 | import * as i2 from "primeng/ripple";
|
---|
7 | export declare class Messages implements AfterContentInit, OnDestroy {
|
---|
8 | messageService: MessageService;
|
---|
9 | el: ElementRef;
|
---|
10 | cd: ChangeDetectorRef;
|
---|
11 | value: Message[];
|
---|
12 | closable: boolean;
|
---|
13 | style: any;
|
---|
14 | styleClass: string;
|
---|
15 | enableService: boolean;
|
---|
16 | key: string;
|
---|
17 | escape: boolean;
|
---|
18 | severity: string;
|
---|
19 | showTransitionOptions: string;
|
---|
20 | hideTransitionOptions: string;
|
---|
21 | templates: QueryList<any>;
|
---|
22 | valueChange: EventEmitter<Message[]>;
|
---|
23 | messageSubscription: Subscription;
|
---|
24 | clearSubscription: Subscription;
|
---|
25 | contentTemplate: TemplateRef<any>;
|
---|
26 | constructor(messageService: MessageService, el: ElementRef, cd: ChangeDetectorRef);
|
---|
27 | ngAfterContentInit(): void;
|
---|
28 | hasMessages(): boolean;
|
---|
29 | clear(): void;
|
---|
30 | removeMessage(i: number): void;
|
---|
31 | get icon(): string;
|
---|
32 | ngOnDestroy(): void;
|
---|
33 | static ɵfac: i0.ɵɵFactoryDeclaration<Messages, [{ optional: true; }, null, null]>;
|
---|
34 | static ɵcmp: i0.ɵɵComponentDeclaration<Messages, "p-messages", never, { "value": "value"; "closable": "closable"; "style": "style"; "styleClass": "styleClass"; "enableService": "enableService"; "key": "key"; "escape": "escape"; "severity": "severity"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; }, { "valueChange": "valueChange"; }, ["templates"], never>;
|
---|
35 | }
|
---|
36 | export declare class MessagesModule {
|
---|
37 | static ɵfac: i0.ɵɵFactoryDeclaration<MessagesModule, never>;
|
---|
38 | static ɵmod: i0.ɵɵNgModuleDeclaration<MessagesModule, [typeof Messages], [typeof i1.CommonModule, typeof i2.RippleModule], [typeof Messages]>;
|
---|
39 | static ɵinj: i0.ɵɵInjectorDeclaration<MessagesModule>;
|
---|
40 | }
|
---|