import { OnChanges, EventEmitter, ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core'; import { CalendarEvent, WeekDay, MonthView, MonthViewDay } from 'calendar-utils'; import { Subject } from 'rxjs/Subject'; import { Subscription } from 'rxjs/Subscription'; export declare class CalendarMonthViewComponent implements OnChanges, OnInit, OnDestroy { private cdr; /** * The current view date */ viewDate: Date; /** * An array of events to display on view */ events: CalendarEvent[]; /** * Whether the events list for the day of the `viewDate` option is visible or not */ activeDayIsOpen: boolean; /** * A function that will be called before each cell is rendered. The first argument will contain the calendar cell. * If you add the `cssClass` property to the cell it will add that class to the cell in the template */ dayModifier: Function; /** * An observable that when emitted on will re-render the current view */ refresh: Subject; /** * The locale used to format dates */ locale: string; /** * The placement of the event tooltip */ tooltipPlacement: string; /** * The start number of the week */ weekStartsOn: number; /** * Called when the day cell is clicked */ dayClicked: EventEmitter<{ day: MonthViewDay; }>; /** * Called when the event title is clicked */ eventClicked: EventEmitter<{ event: CalendarEvent; }>; columnHeaders: WeekDay[]; view: MonthView; openRowIndex: number; openDay: MonthViewDay; refreshSubscription: Subscription; constructor(cdr: ChangeDetectorRef, locale: string); ngOnInit(): void; ngOnChanges(changes: any): void; ngOnDestroy(): void; toggleDayHighlight(event: CalendarEvent, isHighlighted: boolean): void; private refreshHeader(); private refreshBody(); private checkActiveDayIsOpen(); private refreshAll(); }