import { OnInit, EventEmitter, ElementRef, ChangeDetectorRef } from "@angular/core"; import { ControlValueAccessor, NgControl } from "@angular/forms"; import { IdService, TabTrap } from "../shared/index"; export declare class DatepickerComponent implements OnInit, ControlValueAccessor { private idService; private tabTrap; private _eref; private cdr; controlDirective: NgControl; id: string; selectedDate: Date; format: string; useUtc: boolean; typeable: boolean; bootstrapStyling: boolean; inputClass: string | Object | []; required: boolean; showRequired: boolean; placeholder: string; resetTypedDate: Date; disabled: boolean; errorLabel: string; helpText: string; inline: boolean; initialView: string; minimumView: string; maximumView: string; openDate: any; value: any; label: string; language: string; fullMonthName: boolean; clearButton: boolean; clearButtonIcon: string; mondayFirst: boolean; disabledDates: Object; highlighted: Object; calendarClass: string | Object | Array; dayCellContent: any; name: string; size: "small" | "medium" | "large"; ariaDescribedby: string; ariaLabel: string; ariaLabelledby: string; ariaInvalid: boolean; selected: EventEmitter<{}>; onInput: EventEmitter<{}>; cleared: EventEmitter<{}>; selectedDisabled: EventEmitter<{}>; changedMonth: EventEmitter<{}>; changedYear: EventEmitter<{}>; closed: EventEmitter<{}>; opened: EventEmitter<{}>; inputTextUpdate: EventEmitter<{}>; onFocusOut: EventEmitter<{}>; container: ElementRef; pickerDay: ElementRef; pickerMonth: ElementRef; pickerYear: ElementRef; startDate: Date; showDayView: boolean; showMonthView: boolean; showYearView: boolean; pageTimestamp: any; clickListener: any; constructor(idService: IdService, tabTrap: TabTrap, _eref: ElementRef, cdr: ChangeDetectorRef, controlDirective: NgControl); onChange: (item: any) => void; onTouched: () => void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; calendarStyle(): { position: string; }; isInline(): boolean; isOpen(): boolean; computedInitialView(): string; setInvalid(): any; isRtl(): boolean; dayCalendar(): any; monthCalendar(): any; yearCalendar(): any; pageDate(): Date; translation(): import("./locale/Language").default; ngOnInit(): void; setDisabledState(isDisabled: boolean): void; writeValue(text: any): void; /** * Called in the event that the user navigates to date pages and * closes the picker without selecting a date. */ resetDefaultPageDate(): void; /** * Effectively a toggle to show/hide the calendar */ showCalendar(e: any): false | void; /** * Sets the initial picker page view: day, month or year */ setInitialView(e?: any): void; /** * Are we allowed to show a specific picker view? */ allowedToShowView(view: any): boolean; /** * Show the day picker */ showDayCalendar(e?: any): boolean; /** * Show the month picker */ showMonthCalendar(e?: any): boolean; /** * Show the year picker */ showYearCalendar(e: any): boolean; /** * Set the selected date */ setDate(timestamp: any): void; /** * Clear the selected date */ clearDate(): void; selectDate(date: any): void; selectDisabledDate(date: any): void; selectMonth(month: any): void; selectYear(year: any): void; /** * Set the datepicker value */ setValue(date: any): void; /** * Sets the date that the calendar should open on */ setPageDate(date?: any): void; /** * Handles a month change from the day picker */ handleChangedMonthFromDayPicker(date: any): void; /** * Set the date from a typedDate event */ setTypedDate(date: any): void; /** * Close all calendar layers */ close(emitEvent?: any): void; /** * Close all calendar layers if click outside */ clickOutside(e: any): void; /** * Initiate the component */ init(): void; onFocusout(e: any): void; }