UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

119 lines (118 loc) 4.59 kB
import { OnInit, ElementRef, EventEmitter } from '@angular/core'; import { AbstractHasData } from './AbstractHasData'; import { IHasModel } from './IHasModel'; import { NotificationAction } from './model/NotificationAction'; import { UISystemClock } from '../service/UISystemClock.service'; import { IHasData } from '../component/IHasData'; export declare class ToastNotification extends AbstractHasData implements OnInit, IHasModel { static readonly TYPE_NAME: string; static readonly ANIMATE_IN_INTERVAL: number; static readonly ANIMATE_OUT_INTERVAL: number; static readonly ANIMATE_REMOVE_INTERVAL: number; static readonly ANIMATE_SHOW_BODY_INTERVAL: number; static readonly ANIMATE_SHOW_ACTION_BAR_INTERVAL: number; protected dataParent: IHasData; protected ignoreParentData: boolean; protected data: any; protected ignoreParentDisabled: boolean; protected delegateHistory: boolean; protected onDisabled: Function; protected onEnabled: Function; protected loadingEnabled: boolean; protected i18nKey: string; protected bypass: boolean; protected options: any; protected disabled: boolean; private model; protected loadEvent: EventEmitter<any>; private closeEvent; private closeDoneEvent; private showContentEvent; private showContentDoneEvent; private hideContentEvent; private hideContentDoneEvent; private showActionBarEvent; private showActionBarDoneEvent; private hideActionBarEvent; private hideActionBarDoneEvent; private removeDelayTimer; private hideDelayTimer; private hoverCountTimer; private mouseLeaveTimer; private uiDelayTimer; private showActionBarDoneTimer; private hideActionBarDoneTimer; private showContentDoneTimer; private hideContentDoneTimer; private uiSystemClock; private isClose; private closeStampTime; private _showBody; private _showActionBar; private _currentRowHeight; private _defaultRowHeight; private showBodyTimeStamp; private HOVER_SHOW_ACTION_BAR_INTERVAL; private MOUSE_LEAVE_HIDE_BAR_INTERVAL; constructor(uiSystemClock: UISystemClock, elementRef: ElementRef); ngOnInit(): void; private close(); private setShowActionBar(isShow); private clearHoverCountTimer(); private clearMouseLeaveTimer(); private getDefaultCustomEvent(eventName); private getDefaultRowHeight(includePadding); private getRowHeight(includePadding); private hasActions(); private hasBody(); _isBodyAnimating(): boolean; _isExpandDefaultBtn(): boolean; _showActionsBarBtn(): boolean; _getSecondActionBtn(): NotificationAction; _getFirstActionBtn(): NotificationAction; _getRowMarginTop(): string; _isAnimateIn(): boolean; _isAnimateOut(): boolean; _isAnimateRemove(): boolean; _getTimeMessage(date: Date): string; _isShowActionBar(): boolean; _isShowIcon(): boolean; _getIconUrl(): string; _getLabel(): string; onSecondButtonClicked($event: Event): void; onFirstButtonClicked($event: Event): void; onRowBodyHover(): void; onRowBodyLeave(): void; onCloseBtnClicked($event: Event): void; onBodyClicked($event: Event): void; showBody(): void; hideBody(): void; isShowBody(): boolean; getModel(): any; setModel(model: any): void; isSelfDataDirty(): boolean; selfSaveData(data: any): void; selfResetData(): void; getCloseEvent(): EventEmitter<any>; setCloseEvent(event: EventEmitter<any>): void; getCloseDoneEvent(): EventEmitter<any>; setCloseDoneEvent(event: EventEmitter<any>): void; getShowContentEvent(): EventEmitter<any>; setShowContentEvent(event: EventEmitter<any>): void; getShowContentDoneEvent(): EventEmitter<any>; setShowContentDoneEvent(event: EventEmitter<any>): void; getHideContentEvent(): EventEmitter<any>; setHideContentEvent(event: EventEmitter<any>): void; getHideContentDoneEvent(): EventEmitter<any>; setHideContentDoneEvent(event: EventEmitter<any>): void; getShowActionBarEvent(): EventEmitter<any>; setShowActionBarEvent(event: EventEmitter<any>): void; getShowActionBarDoneEvent(): EventEmitter<any>; setShowActionBarDoneEvent(event: EventEmitter<any>): void; getHideActionBarEvent(): EventEmitter<any>; setHideActionBarEvent(event: EventEmitter<any>): void; getHideActionBarDoneEvent(): EventEmitter<any>; setHideActionBarDoneEvent(event: EventEmitter<any>): void; doPreload(): Promise<any>; doLoaded(): void; }