import { ComponentType } from '@angular/cdk/portal'; import { AfterViewInit, ElementRef } from '@angular/core'; import { MatCalendar, MatCalendarView, MatDatepickerContent } from '@angular/material/datepicker'; import { Moment } from 'moment'; import { DatePickerMode } from '../model/datepicker.model'; import { DatepickerModeService } from '../service/datepicker-mode.service'; /** @ignore */ export declare const SELECTOR = "gor-datepicker-content"; /** * Component responsible to display calendar and date list (in future). * * @link https://github.com/angular/components/blob/master/src/material/datepicker/calendar.ts */ export declare class DatepickerContentComponent extends MatDatepickerContent implements AfterViewInit { private modeService; calendarRef: ElementRef>; bgColor: string; /** * The text to main button of datepicker * * @default "Apply" */ applyText: string; /** * Datepicker mode change the component behavior * blocking which view modes will be used in calendar's * view transition * * @default "all" */ private _mode; mode: DatePickerMode; /** * An input indicating the type of the custom header component for the calendar, if set. * * @default CalendarHeaderComponent */ headerComponentRef: ComponentType; /** * The maximum range date to be selected. */ maxDate: D; /** * The minimum range date to be selected. */ minDate: D; /** * The active day when datepicker is opened. */ startAt: D; /** * The active view when datepicker is opened. * * @default "month" * @see MatCalendarView */ private _startView; startView: MatCalendarView; hostClass: string; constructor(elementRef: ElementRef, modeService: DatepickerModeService); /** * The selected date stored for internal use. */ selectedDate: D | null; canChangeView: (view: MatCalendarView, mode: DatePickerMode) => boolean; ngAfterViewInit(): void; /** * Function to be executed when some date is selected. * * @param newDate */ dateChanged(newDate: D | null): void; yearSelected: (year: Moment) => void; monthSelected(month: Moment): void; private setSelectedDate; }