import { Injector, NgZone, OnDestroy } from '@angular/core'; import { App, AppDefaults } from '@wm/core'; import { BaseDateTimeComponent } from './../base-date-time.component'; export declare class TimeComponent extends BaseDateTimeComponent implements OnDestroy { private ngZone; private appDefaults; static initializeProps: void; /** * This property sets the display pattern of the time selected */ timepattern: string; /** * This property sets the output format for the selected time datavalue */ outputformat: string; showdropdownon: string; mintime: any; maxtime: any; hint: string; private deregisterEventListener; private app; private displayInputElem; get timestamp(): number; get datavalue(): any; /**Todo[Shubham]: needs to be redefined * This property sets the default value for the time selection */ set datavalue(newVal: any); get displayValue(): any; get nativeDisplayValue(): any; isCurrentTime: boolean; private timeinterval; /** * This is an internal property used to map it to the widget */ private minTime; /** * This is an internal property used to map it to the widget */ private maxTime; /** * This is an internal property used to toggle the timepicker dropdown */ status: { isopen: boolean; }; /** * This is an internal property used to map the main model to the time widget */ private bsTimeValue; private keyEventPlugin; constructor(inj: Injector, ngZone: NgZone, appDefaults: AppDefaults, app: App, evtMngrPlugins: any); onPropertyChange(key: string, nv: any, ov?: any): void; setValidateType(min: any, max: any, val: any): void; /** * This is an internal method used to validate mintime and maxtime */ private mintimeMaxtimeValidation; /** * This is an internal method used to toggle the dropdown of the time widget */ toggleDropdown($event: any, skipFocus?: boolean): void; /** * This is an internal method used to Prevent time picker close while changing time value */ private preventTpClose; private addBodyClickListener; /** * This is an internal method triggered when pressing key on the time input */ onDisplayKeydown(event: any): void; /** * This is an internal method triggered when the time input changes */ onDisplayTimeChange($event: any): void; onInputBlur($event: any): void; /** * This is an internal method used to execute the on time change functionality */ private onTimeChange; /** * This is an internal method used to maintain a time interval to update the time model when the data value is set to CURRENT_TIME */ private setTimeInterval; /** * This is an internal method used to clear the time interval created */ private clearTimeInterval; /** * This function sets the value isOpen/isTimeOpen (i.e when datepicker popup is closed) based on widget type(i.e DateTime, Time) * @param val - isOpen/isTimeOpen is set based on the timepicker popup is open/closed */ private setIsTimeOpen; protected handleEvent(node: HTMLElement, eventName: string, eventCallback: Function, locals: any): void; hideTimepickerDropdown(): void; private isValid; /** * This is an internal method to add css class for dropdown while opening the time dropdown */ onShown(): void; assignModel(): void; }