UNPKG

1.45 kBTypeScriptView Raw
1import { EventEmitter, TemplateRef } from '@angular/core';
2import { MonthViewDay, CalendarEvent } from 'calendar-utils';
3import { isWithinThreshold } from '../common/util';
4import { PlacementArray } from 'positioning';
5import * as i0 from "@angular/core";
6export declare class CalendarMonthCellComponent {
7 day: MonthViewDay;
8 openDay: MonthViewDay;
9 locale: string;
10 tooltipPlacement: PlacementArray;
11 tooltipAppendToBody: boolean;
12 customTemplate: TemplateRef<any>;
13 tooltipTemplate: TemplateRef<any>;
14 tooltipDelay: number | null;
15 highlightDay: EventEmitter<any>;
16 unhighlightDay: EventEmitter<any>;
17 eventClicked: EventEmitter<{
18 event: CalendarEvent;
19 sourceEvent: MouseEvent;
20 }>;
21 trackByEventId: (index: number, event: CalendarEvent<any>) => string | number | CalendarEvent<any>;
22 validateDrag: typeof isWithinThreshold;
23 static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthCellComponent, never>;
24 static ɵcmp: i0.ɵɵComponentDeclaration<CalendarMonthCellComponent, "mwl-calendar-month-cell", never, { "day": "day"; "openDay": "openDay"; "locale": "locale"; "tooltipPlacement": "tooltipPlacement"; "tooltipAppendToBody": "tooltipAppendToBody"; "customTemplate": "customTemplate"; "tooltipTemplate": "tooltipTemplate"; "tooltipDelay": "tooltipDelay"; }, { "highlightDay": "highlightDay"; "unhighlightDay": "unhighlightDay"; "eventClicked": "eventClicked"; }, never, never>;
25}