import { EventEmitter, OnInit, TrackByFunction } from '@angular/core'; import { BooleanInput } from '@angular/cdk/coercion'; import { CalendarDate, DateValue } from '@internationalized/date'; import { CalendarView } from './shared/calendar-view'; import { SingleSelectionCalendarDirective } from './shared/single-selection-calendar.directive'; import * as i0 from "@angular/core"; import * as i1 from "./shared/single-selection-calendar.directive"; export { SingleSelectionCalendarDirective }; export interface PredefinedDate { label: string; date: DateValue; } /** * Calendar is accessible as a grid. Supports single date selection with min/max constraints, * unavailable dates, week numbers, multiple view months, and locale configuration. */ export declare class CalendarComponent
implements OnInit { readonly localeFromContext: string; readonly _calendar: SingleSelectionCalendarDirective; /** * Whether to show the week numbers in days view. */ showWeekNumbers?: BooleanInput; /** * A set of predefined dates that the user can more conveniently select. */ predefinedDates?: Record
;
/**
* Emits when the currently selected date changes by user interactions.
* If the "predefinedDateKey" is not necessary, you can use `valueChange`
* output which allows for two-way binding (`[(value)]="..."`)
*/
change: EventEmitter<{
value: DateValue;
predefinedDateKey?: P | undefined;
}>;
/**
* Emits when the view changes by user interactions.
* Emits CalenderView, to allow for two-way binding (`[(view)]="..."`).
*/
viewChange: EventEmitter