import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { FormControl, FormGroup } from '@angular/forms'; import { FromToLabel } from '../../model/from-to-label.interface'; import { TimeAsInputSelectedTime } from '../../model/range-datepicker-time-as-input.interface'; import * as i0 from "@angular/core"; export declare class RangeDatepickerTimeComponent implements OnInit, OnChanges, OnDestroy { fromToLabelText: FromToLabel; isMonthOrYearView: boolean; timeFormat: string; setTime: TimeAsInputSelectedTime; timeChanged: EventEmitter; timeInputBlur: EventEmitter; showTimeTo: boolean; showFromLabel: boolean; form: FormGroup<{ timeFrom: FormControl; timeTo: FormControl; }>; mask: any; /** * in case the current time is "hh:mm:ss" * this timeFromAsPlaceholder is true. * we use it in order to show the "hh:mm:ss" as placeholder */ timeFromAsPlaceholder: boolean; timeToAsPlaceholder: boolean; private _ngUnSubscribe; private _isSingleDatePicker; get isSingleDatePicker(): boolean; set isSingleDatePicker(isSingleDatePicker: boolean); get isRangeDatePicker(): boolean; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; /** * on blur we check if we still have a placeholder that isn't set with value and we change it to 0. * for example: * the time is -> "1h:mm:ss" after blur time is -> "1:00:00" * @param controlName */ blur(controlName: string): void; private _updateFormControlValue; /** * check if the time input should display as a placeholder style. * in case the current time string value === "hh:mm:ss" the style will be as placeholder * @private */ private _updateAsPlaceholder; private _getMaskConfiguration; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=range-datepicker-time.component.d.ts.map