UNPKG

@alauda/ui

Version:

Angular UI components by Alauda Frontend Team.

31 lines (30 loc) 1.25 kB
import { AnimationEvent } from '@angular/animations'; import { AfterViewInit, ChangeDetectorRef, ViewContainerRef } from '@angular/core'; import { Subject } from 'rxjs'; import { Bem } from '../internal/utils'; import { MessageConfig, MessageType } from './message.config'; import * as i0 from "@angular/core"; export declare class MessageComponent implements AfterViewInit { protected viewContainerRef: ViewContainerRef; protected cdr: ChangeDetectorRef; protected readonly animateStartState: string; protected readonly animateStartEnd: string; bem: Bem; animateState: string; uniqueId: string; beforeClosed: Subject<void>; afterClosed: Subject<void>; id: number | string; type: MessageType; content: string; duration: number; get icon(): string; protected timerId: number; constructor(viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef); ngAfterViewInit(): void; setConfig(config: MessageConfig): void; close(): void; onAnimationEnd(event: AnimationEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "aui-message", never, {}, {}, never, never, true, never>; }