UNPKG

805 BTypeScriptView Raw
1import { EventEmitter, TemplateRef } from '@angular/core';
2import { AnimationTriggerMetadata } from '@angular/animations';
3import { CalendarEvent } from 'calendar-utils';
4import { isWithinThreshold } from '../common/util';
5export declare const collapseAnimation: AnimationTriggerMetadata;
6export declare class CalendarOpenDayEventsComponent {
7 locale: string;
8 isOpen: boolean;
9 events: CalendarEvent[];
10 customTemplate: TemplateRef<any>;
11 eventTitleTemplate: TemplateRef<any>;
12 eventActionsTemplate: TemplateRef<any>;
13 date: Date;
14 eventClicked: EventEmitter<{
15 event: CalendarEvent<any>;
16 sourceEvent: any;
17 }>;
18 trackByEventId: (index: number, event: CalendarEvent<any>) => string | number | CalendarEvent<any>;
19 validateDrag: typeof isWithinThreshold;
20}