import { OnChanges } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { IMyDateModel, IMyInputFocusBlur, IMyOptions, MyDatePicker } from 'mydatepicker'; import * as i0 from "@angular/core"; /** * @author mfrank * @deprecated since v5. Use {@link https://material.angular.io/components/datepicker/overview} instead. */ export declare class TerraDatePickerComponent implements OnChanges, ControlValueAccessor { /** * @description Set the label. */ inputName: string; /** * @description If true, a * indicates that the value is required. Default false. */ inputIsRequired: boolean; /** * @description If false, the input will appear with a red border to indicate that the entered value is not valid. Default true. */ inputIsValid: boolean; /** * @description If true, the input will be disabled. Default false. */ inputIsDisabled: boolean; /** * @description If true, the calendar will be opened on top. Default false. */ inputOpenCalendarTop: boolean; /** * @description Set the date format. Default 'dd.mm.yyyy'. */ inputDisplayDateFormat: string; viewChildMyDatePicker: MyDatePicker; /** * @description a unique string identifier for the specific input instance. */ _currentLocale: string; _id: string; _datePickerOptions: IMyOptions; _dateAsString: string; private _value; constructor(); ngOnChanges(): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; writeValue(value: any): void; get value(): IMyDateModel; set value(value: IMyDateModel); clearDate(): void; /** * Is triggered on `ngModelChange` and executes `onChangeCallBack` * @param value */ _onChange(value: IMyDateModel): void; /** * Is triggered on `inputFocusBlur` and executes `onTouchedCallback` if a blur event is emitted * @param event */ _onFocusOrBlur(event: IMyInputFocusBlur): void; private updateDatePickerOptions; private onTouchedCallback; private onChangeCallback; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }