UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

88 lines (87 loc) 3.61 kB
import { OnInit, ElementRef, SimpleChanges, EventEmitter } from '@angular/core'; import { NeedFocusService } from '../../../../../service/NeedFocusService.service'; import { IHasData } from '../../../../../component/IHasData'; import { AbstractInputDataView } from '../../../../../component/dataview/input/AbstractInputDataView'; import { ValidationResult } from '../../../../../component/model/ValidationResult'; export declare class MaterialSlider extends AbstractInputDataView implements OnInit { 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; private description; protected width: string; protected height: string; protected invert: boolean; protected max: number; protected min: number; protected step: number; protected thumbLabel: boolean; protected vertical: boolean; protected tickInterval: 'auto' | number; 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 beforeClickEvent: EventEmitter<any>; protected clickEvent: EventEmitter<any>; private slider; private _oldValue; constructor(elementRef: ElementRef, needFocusService: NeedFocusService); ngOnChanges(changes: SimpleChanges): void; private initEventHandlers(); isInvert(): boolean; setInvert(invert: boolean): void; getMaximum(): number; setMaximum(max: number): void; getMinimum(): number; setMinimum(min: number): void; getStep(): number; setStep(step: number): void; isVertical(): boolean; setVertical(vertical: boolean): void; isThumbLabel(): boolean; setThumbLabel(thumbLabel: boolean): void; getTickInterval(): any; setTickInterval(tickInterval: 'auto' | number): void; getDescription(): string; setDescription(description: string): void; hasDescription(): boolean; onChanged($event: any): void; onClicked($event: Event, fireEvent?: boolean): void; protected emitChangeEvent(oldValue: any, newValue: any, valueChange: boolean, $event?: any): void; protected emitBeforeClickEvent($event?: any): void; protected emitClickEvent($event?: any): void; onFocusing($event: Event): void; onLostFocusing($event: Event): void; protected doFocus($event: Event): void; protected doLostFocus($event: Event): void; onReadonlyClick($event: Event): void; getWidth(): string; setWidth(width: string): void; getHeight(): string; setHeight(height: string): void; protected onValidationEnd(inputValue: any, results: ValidationResult[]): void; protected onDataChange(data: any, inputVal: any): void; isSelfDataDirty(): boolean; selfSaveData(data: any): void; selfResetData(): void; }