UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

116 lines (115 loc) 5.57 kB
import { ElementRef, EventEmitter } from '@angular/core'; import { IHasData } from '../IHasData'; import { DefaultTableRow } from './DefaultTableRow.component'; import { ITableRowController } from './ITableRowController'; import { IExpandableTableRowController } from './IExpandableTableRowController'; import { NeedFocusService } from '../../service/NeedFocusService.service'; export declare class ExpandableTableRow extends DefaultTableRow implements IExpandableTableRowController { static readonly TYPE_NAME: string; static readonly DEFAULT_DRAG_AUTO_EXPAND_ENABLED: boolean; static readonly DEFAULT_DRAG_AUTO_EXPAND_DELAY: number; static readonly DEFAULT_DRAG_AUTO_EXPAND_EFFECT_CLASS: string; static readonly DEFAULT_DRAG_AUTO_EXPAND_EFFECT_DURATION: number; static readonly DEFAULT_DRAG_AUTO_EXPAND_CONTRACT_ON_LEAVE: boolean; static readonly DEFAULT_DRAG_AUTO_EXPAND_CONTRACT_DELAY: number; static readonly DEFAULT_DRAG_EFFECT_MOVE_OUT_CLASS: string; static readonly DEFAULT_DRAG_EFFECT_MOVE_OUT_DURATION: number; static readonly DEFAULT_DRAG_EFFECT_MOVE_IN_CLASS: string; static readonly DEFAULT_DRAG_EFFECT_MOVE_IN_DURATION: 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; protected help: any; protected dropEffectRejectClass: string; protected dropEffectRejectDuration: number; protected dropDataTransferDropEffect: string; protected dragDataTransferEffectAllowed: string; protected beforeCellClickEvent: EventEmitter<any>; protected beforeCellDblClickEvent: EventEmitter<any>; protected beforeCellLostFocusEvent: EventEmitter<any>; protected beforeCellFocusEvent: EventEmitter<any>; protected cellClickEvent: EventEmitter<any>; protected cellDblClickEvent: EventEmitter<any>; protected cellLostFocusEvent: EventEmitter<any>; protected cellFocusEvent: EventEmitter<any>; protected rowDragEvent: EventEmitter<any>; protected rowDragStartEvent: EventEmitter<any>; protected rowDragEndEvent: EventEmitter<any>; protected rowDragEnterEvent: EventEmitter<any>; protected rowDragOverEvent: EventEmitter<any>; protected rowDragLeaveEvent: EventEmitter<any>; protected rowDropEvent: EventEmitter<any>; protected rowDropAcceptedEvent: EventEmitter<any>; protected rowDropRejectedEvent: EventEmitter<any>; protected changeEvent: EventEmitter<any>; protected beforeChangeEvent: EventEmitter<any>; protected dragAutoExpandEnabled: boolean; protected dragAutoExpandDelay: number; protected dragAutoExpandEffectClass: string; protected dragAutoExpandEffectDuration: number; protected dragAutoExpandContractOnLeave: boolean; protected dragAutoExpandContractDelay: number; protected dragEffectMoveOutClass: string; protected dragEffectMoveOutDuration: number; protected dragEffectMoveInClass: string; protected dragEffectMoveInDuration: number; protected controller: IExpandableTableRowController; protected showing: boolean; protected dragAutoExpandTimer: any; protected dragAutoExpandEffectResetTimer: any; protected dragAutoExpandContractTimer: any; protected autoExpanding: boolean; protected dragMoveOutEffectTimer: any; protected dragMoveOutEffectResolve: any; protected dragMoveInEffectTimer: any; protected dragMoveInEffectResolve: any; protected _initialParentConroller: IExpandableTableRowController; constructor(elRef: ElementRef, needFocusService: NeedFocusService); ngOnInit(): void; private _init(); protected _isBeingRelocated(): boolean; protected onMoveFrom(movedRow: ExpandableTableRow): void; protected onMoveToRoot(): void; protected setShowing(show: boolean): void; protected isShowing(): boolean; protected addStyleClassToDescendants(className: string, parentRow?: IExpandableTableRowController): void; protected removeStyleClassFromDescendants(className: string, parentRow?: IExpandableTableRowController): void; protected setAutoExpandContractTimer(): void; protected cancelAutoExpandContractTimer(): void; protected _expand(): void; protected _contract(): void; protected _toggleExpand(): void; protected _setExpanding(expand: boolean): void; protected playMoveInEffect(): Promise<boolean>; protected playMoveOutEffect(): Promise<boolean>; setController(controller: ITableRowController): void; isAutoExpanding(): boolean; getExpandLevel(): number; expand(): void; contract(): void; toggleExpand(): void; setExpanding(expand: boolean): void; isExpanding(): boolean; getParent(): IExpandableTableRowController; setParent(parent: IExpandableTableRowController): void; getChildren(): IExpandableTableRowController[]; hasChildren(): boolean; hasChild(child: IExpandableTableRowController): boolean; onDragStart(event: any): void; onDragEnd(event: any): void; onDragOver(event: any): void; onDragLeave(event: any): void; onDropAccepted(event: any, data: any): void; moveToRoot(): Promise<boolean>; moveTo(toRow: ExpandableTableRow): Promise<boolean>; getOldState(): IExpandableTableRowController; }