UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

87 lines (86 loc) 3.32 kB
import { OnInit, ElementRef, EventEmitter } from '@angular/core'; import { AbstractHasData } from '../AbstractHasData'; import { NeedFocusService } from '../../service/NeedFocusService.service'; import { IHasModel } from '../IHasModel'; import { INeedFocus } from '../INeedFocus'; import { IHasData } from '../IHasData'; import { ComponentSlidePaneModel } from '../model/models'; export declare class ComponentSlidePane extends AbstractHasData implements OnInit, IHasModel, INeedFocus { static readonly TYPE_NAME: string; static readonly LEFT: string; static readonly RIGHT: string; static readonly TOP: string; static readonly BOTTOM: string; 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; protected model: ComponentSlidePaneModel; protected width: string; protected height: string; protected position: string; protected autoFocus: boolean; protected anchor: string; protected instance: string; protected autoValidate: string; protected componentHandler: Function; protected loadEvent: EventEmitter<any>; protected beforeShowEvent: EventEmitter<any>; protected showEvent: EventEmitter<any>; protected beforeHideEvent: EventEmitter<any>; protected hideEvent: EventEmitter<any>; protected beforeFocusEvent: EventEmitter<any>; protected focusEvent: EventEmitter<any>; protected beforeLostFocusEvent: EventEmitter<any>; protected lostFocusEvent: EventEmitter<any>; protected elementRef: ElementRef; private _show; private compoWrapInstance; private needFocusService; private _compClicked; private comSlidepane; _componentHandler: Function; constructor(elementRef: ElementRef, needFocusService: NeedFocusService); ngOnInit(): void; ngOnChanges(changes: any): void; getModel(): any; setModel(model: any): void; onFocus(event: any): void; onLostFocus(event: any): void; isModelEmpty(): boolean; doPreload(): Promise<any>; doLoaded(): void; isSelfDataDirty(): boolean; selfSaveData(data: any): void; selfResetData(): void; isShow(): boolean; getWidth(): string; getHeight(): string; getShowEvent(): EventEmitter<any>; setShowEvent(event: EventEmitter<any>): void; getHideEvent(): EventEmitter<any>; setHideEvent(event: EventEmitter<any>): void; setAutoFocus(autoFocus: boolean): void; isAutoFocus(): boolean; getPosition(): string; show(data?: any, $event?: Event, fireEvent?: boolean): void; hide($event?: Event, fireEvent?: boolean): void; private resetPosition(); private setPosition(); private isChildFocused(); private doHide(); private doShow(); private showSlidePane(isShow, $event?, fireEvent?); protected emitBeforeShowEvent($event?: any): void; protected emitShowEvent($event?: any): void; protected emitBeforeHideEvent($event?: any): void; protected emitHideEvent($event?: any): void; }