import { DecimalPipe } from '@angular/common'; import { AfterViewInit, ChangeDetectorRef, ElementRef, Injector, OnInit } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import EcabsElementBaseComponent from '../base/element-base'; import { EcabsDatePickerTranslations } from '../base/models/ecabs-date-picker-translations.models'; import { EcabsDatePickerHeaderService } from '../base/services/ecabs-date-picker-translations.service'; import { UnsubscribeService } from '../base/services/unsubscribe.service'; import { EcabsDateTimePickerHeaderComponent } from './components/ecabs-date-time-picker-header/ecabs-date-time-picker-header.component'; import { MatDatepicker } from '@angular/material/datepicker'; import * as i0 from "@angular/core"; export declare class EcabsDateTimePickerComponent extends EcabsElementBaseComponent implements ControlValueAccessor, AfterViewInit, OnInit { private readonly injector; private readonly decimalPipe; private readonly cd; private readonly ecabsDatePickerHeaderService; private readonly unsubscribeService; matCustomInput: ElementRef; matCustomPicker: MatDatepicker; minDate: Date; maxDate: Date; touchUi: boolean; hideSeconds: boolean; cancelLabel: string; applyLabel: string; applyMinDateAuto: boolean; /** When true, preserves the original value (with timezone) if user hasn't changed the date/time */ preserveOriginalValue: boolean; _hours: string; _minutes: string; _seconds: string; _date: Date; /** Stores the original input value to preserve string format with timezone */ private _originalValue; _pickerValue: string; val: Date; header: typeof EcabsDateTimePickerHeaderComponent; maxValueHours: number; maxValueMinutesSeconds: number; preventCallSetterPickerValue: boolean; runTimeout: boolean; translationConfig: EcabsDatePickerTranslations; isEmptyFormat: any; get value(): Date; get pickerValue(): string; get hours(): string; get minutes(): string; get seconds(): string; set hours(value: string); set minutes(value: string); set seconds(value: string); set value(val: Date); set pickerValue(val: string); constructor(injector: Injector, decimalPipe: DecimalPipe, cd: ChangeDetectorRef, ecabsDatePickerHeaderService: EcabsDatePickerHeaderService, unsubscribeService: UnsubscribeService); ngOnInit(): void; ngAfterViewInit(): void; onChange: any; onTouch: any; writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; onApply(): void; refreshPickerValue(date: Date): void; private formatDateTime; private normalizeWithAutoPad; private toDigits; private formatTwoDigits; private setValues; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }