/** * Generated bundle index. Do not edit. */ import * as i0 from "@angular/core"; import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from "@angular/core"; import { TranslocoService } from "@jsverse/transloco"; import { EventAction } from "calendar-utils"; import { Locale } from "date-fns"; import * as i4 from "angular-calendar"; import { CalendarEventTimesChangedEvent } from "angular-calendar"; import { Subject } from "rxjs"; import * as i5 from "@perfectmemory/ngx-contextmenu"; import { ContextMenuComponent } from "@perfectmemory/ngx-contextmenu"; import * as i2 from "@angular/common"; import * as i3 from "@biit-solutions/wizardry-theme/i18n"; import * as i6 from "@jsverse/transloco-locale"; export declare class EventColor { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; static readonly RED: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly GREEN: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly YELLOW: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly BLUE: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly PURPLE: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly GREY: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly EMPTY_RED: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly EMPTY_GREEN: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly EMPTY_YELLOW: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly EMPTY_BLUE: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly EMPTY_PURPLE: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly BARRED_BLUE: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly BARRED_GREY: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; static readonly BARRED_YELLOW: { primary: string; secondary: string; hover: string; tertiary: string; barred: boolean; }; } export declare class CalendarEvent { id?: string | number; start: Date; end: Date; title: string; color?: EventColor; actions?: EventAction[]; allDay?: boolean; cssClass?: string; resizable?: { beforeStart?: boolean; afterEnd?: boolean; }; draggable?: boolean; meta?: MetaType; readonly?: boolean; constructor(id: string | number, title: string, startDate: Date, endDate: Date, readonly?: boolean, allDay?: boolean, color?: EventColor, actions?: EventAction[], resizable?: boolean, draggable?: boolean, meta?: MetaType); static copy(original: CalendarEvent, target: CalendarEvent): CalendarEvent; static clone(original: CalendarEvent): CalendarEvent; } export declare class CalendarEventClickEvent { event: CalendarEvent; sourceEvent: MouseEvent | KeyboardEvent; constructor(event: CalendarEvent, sourceEvent: MouseEvent | KeyboardEvent); } export interface CalendarUtility { customHeaderDate(date: Date): string; } export declare class CalendarConfiguration { createOnDrag: boolean; barred: boolean; constructor(createdOnDrag?: boolean, barred?: boolean); } export declare class BiitCalendarComponent implements OnInit, AfterViewInit, CalendarUtility { private transloco; private cdr; private elem; calendarMode: CalendarMode; viewDate: Date; events: CalendarEvent[]; gridContextMenu: ContextMenuComponent; eventContextMenu: ContextMenuComponent; calendarUtility: CalendarUtility; configuration: CalendarConfiguration; onEventDrop: EventEmitter; onEventClick: EventEmitter; onEventDblClick: EventEmitter; onCreatedEvent: EventEmitter; protected locale: Locale; private weekStartsOn; $calendarEvent: (event: any) => CalendarEvent; constructor(transloco: TranslocoService, cdr: ChangeDetectorRef, elem: ElementRef); customHeaderDate(date: Date): string; log(event: any): void; ngOnInit(): void; ngAfterViewInit(): void; private scrollToCurrentView; private initLocalization; refresh: Subject; eventStyles(color: EventColor): Record; protected readonly CalendarMode: typeof CalendarMode; private floorToNearest; private ceilToNearest; startDragToCreate(segment: any, segmentElement: HTMLElement, event: MouseEvent): void; private refreshCalendar; onWeekEventTimesChanged(event: unknown): void; onMonthEventTimesChanged(event: unknown): void; onWeekEventClicked(event: unknown): void; onMonthEventClicked(event: unknown): void; onHeaderEventDropped(event: unknown, dayDate: Date): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare enum CalendarMode { WEEK = "WEEK", MONTH = "MONTH" } export declare function castTo(): (event: any) => T; export declare class BiitCalendarModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }