com.phloxui
Version:
PhloxUI Ng2+ Framework
74 lines (73 loc) • 3.33 kB
TypeScript
import { OnInit, ElementRef, Type, EventEmitter } from '@angular/core';
import { INeedFocus } from '../../INeedFocus';
import { IDataComparator } from '../../IDataComparator';
import { NeedFocusService } from '../../../service/NeedFocusService.service';
import { ISelectItemModel } from '../../model/ISelectItemModel';
import { AbstractSimpleDropdown } from './AbstractSimpleDropdown';
import { IHasData } from '../../IHasData';
import { ValidationResult } from '../../model/ValidationResult';
import { PhloxAppInfoService } from '../../../service/PhloxAppInfoService.service';
export declare class ComponentDropdownList extends AbstractSimpleDropdown implements OnInit, INeedFocus {
static readonly TYPE_NAME: 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 field: string;
protected name: string;
protected typeOfData: string;
protected readOnly: boolean;
protected help: any;
protected dataComparator: IDataComparator<any>;
protected items: ISelectItemModel[];
protected width: string;
protected height: string;
protected dropdownWidth: string;
protected dropdownHeight: string;
protected defaultIdx: number;
protected componentType: Type<any>;
protected componentModel: any;
protected componentHandler: Function;
protected loadEvent: EventEmitter<any>;
protected startValidateEvent: EventEmitter<any>;
protected endValidateEvent: EventEmitter<any>;
protected beforeFocusEvent: EventEmitter<any>;
protected focusEvent: EventEmitter<any>;
protected beforeLostFocusEvent: EventEmitter<any>;
protected lostFocusEvent: EventEmitter<any>;
protected beforeChangeEvent: EventEmitter<any>;
protected changeEvent: EventEmitter<any>;
protected beforeSelectEvent: EventEmitter<any>;
protected selectEvent: EventEmitter<any>;
protected beforeClickEvent: EventEmitter<any>;
protected clickEvent: EventEmitter<any>;
protected beforeShowEvent: EventEmitter<any>;
protected showEvent: EventEmitter<any>;
protected beforeHideEvent: EventEmitter<any>;
protected hideEvent: EventEmitter<any>;
private dropdownLabel;
constructor(needFocusService: NeedFocusService, elementRef: ElementRef, phloxAppInfoService: PhloxAppInfoService);
ngOnInit(): void;
protected onValidationEnd(inputValue: any, results: ValidationResult[]): void;
protected onDataChange(data: any, inputVal: any): void;
protected onDataChangePrevented(oldValue: any, inputVal: any, data?: any): void;
protected doFocus($event: Event): void;
protected doBlur($event: Event): void;
protected getDropdownPopupSelector(): string;
selfSaveData(data: any): void;
selfResetData(): void;
getComponentType(): Type<any>;
setComponentType(type: Type<any>): void;
getComponentModel(): any;
setComponentModel(model: any): void;
getComponentHandler(): Function;
setComponentHandler(handler: Function): void;
}