angular-calendar

  • Version 0.32.0
  • Published
  • 730 kB
  • 4 dependencies
  • MIT license

Install

npm i angular-calendar
yarn add angular-calendar
pnpm add angular-calendar

Overview

A calendar component for angular 20.2+ that can display events on a month, week or day view

Index

Variables

Functions

Classes

Interfaces

Enums

Type Aliases

Variables

variable MOMENT

const MOMENT: InjectionToken<any>;

    Functions

    function getWeekViewPeriod

    getWeekViewPeriod: (
    dateAdapter: DateAdapter,
    viewDate: Date,
    weekStartsOn: number,
    excluded?: number[],
    daysInWeek?: number
    ) => { viewStart: Date; viewEnd: Date };

      function isWithinThreshold

      isWithinThreshold: ({ x, y }: { x: number; y: number }) => boolean;

        function provideCalendar

        provideCalendar: (
        dateAdapter: Provider,
        config?: CalendarProviderConfig
        ) => Provider[];

          Classes

          class CalendarA11y

          class CalendarA11y {}
          • This class is responsible for adding accessibility to the calendar. You may override any of its methods via angulars DI to suit your requirements. For example:

            import { A11yParams, CalendarA11y } from 'angular-calendar';
            import { formatDate } from '@angular/common';
            import { Injectable } from '@angular/core';
            // adding your own a11y params
            export interface CustomA11yParams extends A11yParams {
            isDrSuess?: boolean;
            }
            @Injectable()
            export class CustomCalendarA11y extends CalendarA11y {
            // overriding a function
            public openDayEventsLandmark({ date, locale, isDrSuess }: CustomA11yParams): string {
            if (isDrSuess) {
            return `
            ${formatDate(date, 'EEEE MMMM d', locale)}
            Today you are you! That is truer than true! There is no one alive
            who is you-er than you!
            `;
            }
            return super.openDayEventsLandmark({ date, locale });
            }
            }
            // in your component that uses the calendar
            providers: [{
            provide: CalendarA11y,
            useClass: CustomCalendarA11y
            }]

          property ɵfac

          static ɵfac: i0.ɵɵFactoryDeclaration<CalendarA11y, never>;

            property ɵprov

            static ɵprov: i0.ɵɵInjectableDeclaration<CalendarA11y>;

              method actionButtonLabel

              actionButtonLabel: ({ action }: A11yParams) => string;
              • Aria label for the calendar event actions icons

                Returns

                'Edit' for fa-pencil icons, and 'Delete' for fa-times icons

              method allDayEventDescription

              allDayEventDescription: ({ event, locale }: A11yParams) => string;
              • Descriptive aria label for an all day event @example: Scott's Party, event spans multiple days: start time October 19 5:00pm, no stop time

              method eventDescription

              eventDescription: ({ event, locale }: A11yParams) => string;
              • Descriptive aria label for an event @example: Saturday October 19th, Scott's Pizza Party, from 11:00am to 5:00pm

              method hideDayHourSegment

              hideDayHourSegment: () => boolean;
              • Returns

                true if hour segments in the day view should be aria-hidden

              method hideEventTitle

              hideEventTitle: () => boolean;
              • Returns

                true if event titles should be aria-hidden (global)

              method hideMonthCellEvents

              hideMonthCellEvents: () => boolean;
              • Returns

                true if the events inside the month cell should be aria-hidden

              method hideWeekHourSegment

              hideWeekHourSegment: () => boolean;
              • Returns

                true if hour segments in the week view should be aria-hidden

              method monthCell

              monthCell: ({ day, locale }: A11yParams) => string;
              • Aria label for the badges/date of a cell @example: Saturday October 19 1 event click to expand

              method monthCellTabIndex

              monthCellTabIndex: () => number;
              • Returns

                {number} Tab index to be given to month cells

              method openDayEventsAlert

              openDayEventsAlert: ({ date, locale }: A11yParams) => string;
              • Aria label for alert that a day in the month view was expanded @example: Saturday October 19 expanded

              method openDayEventsLandmark

              openDayEventsLandmark: ({ date, locale }: A11yParams) => string;
              • Aria label for the open day events start landmark @example: Saturday October 19 expanded view

              class CalendarA11yPipe

              class CalendarA11yPipe implements PipeTransform {}
              • This pipe is primarily for rendering aria labels. Example usage:

                // where `myEvent` is a `CalendarEvent` and myLocale is a locale identifier
                {{ { event: myEvent, locale: myLocale } | calendarA11y: 'eventDescription' }}

              property ɵfac

              static ɵfac: i0.ɵɵFactoryDeclaration<CalendarA11yPipe, never>;

                property ɵpipe

                static ɵpipe: i0.ɵɵPipeDeclaration<CalendarA11yPipe, 'calendarA11y', true>;

                  method transform

                  transform: (a11yParams: A11yParams, method: string) => string;

                    class CalendarAngularDateFormatter

                    class CalendarAngularDateFormatter implements CalendarDateFormatterInterface {}
                    • This will use the angular date pipe to do all date formatting. It is the default date formatter used by the calendar.

                    property dateAdapter

                    protected dateAdapter: DateAdapter;

                      property ɵfac

                      static ɵfac: i0.ɵɵFactoryDeclaration<CalendarAngularDateFormatter, never>;

                        property ɵprov

                        static ɵprov: i0.ɵɵInjectableDeclaration<CalendarAngularDateFormatter>;

                          method dayViewHour

                          dayViewHour: ({ date, locale }: DateFormatterParams) => string;
                          • The time formatting down the left hand side of the day view

                          method dayViewTitle

                          dayViewTitle: ({ date, locale }: DateFormatterParams) => string;
                          • The day view title

                          method monthViewColumnHeader

                          monthViewColumnHeader: ({ date, locale }: DateFormatterParams) => string;
                          • The month view header week day labels

                          method monthViewDayNumber

                          monthViewDayNumber: ({ date, locale }: DateFormatterParams) => string;
                          • The month view cell day number

                          method monthViewTitle

                          monthViewTitle: ({ date, locale }: DateFormatterParams) => string;
                          • The month view title

                          method weekViewColumnHeader

                          weekViewColumnHeader: ({ date, locale }: DateFormatterParams) => string;
                          • The week view header week day labels

                          method weekViewColumnSubHeader

                          weekViewColumnSubHeader: ({ date, locale }: DateFormatterParams) => string;
                          • The week view sub header day and month labels

                          method weekViewHour

                          weekViewHour: ({ date, locale }: DateFormatterParams) => string;
                          • The time formatting down the left hand side of the week view

                          method weekViewTitle

                          weekViewTitle: ({
                          date,
                          locale,
                          weekStartsOn,
                          excludeDays,
                          daysInWeek,
                          }: DateFormatterParams) => string;
                          • The week view title

                          class CalendarCommonModule

                          class CalendarCommonModule {}
                          • Import this module to if you're just using a singular view and want to save on bundle size. Example usage:

                            import { CalendarCommonModule, CalendarMonthModule } from 'angular-calendar';
                            @NgModule({
                            imports: [
                            CalendarCommonModule.forRoot(),
                            CalendarMonthModule
                            ]
                            })
                            class MyModule {}

                            Deprecated

                            use provideCalendar({provide: DateAdapter, useFactory: adapterFactory}) and import the standalone CalendarPreviousViewDirective / CalendarNextViewDirective / CalendarTodayDirective / CalendarDatePipe directives + pipes instead

                          property ɵfac

                          static ɵfac: i0.ɵɵFactoryDeclaration<CalendarCommonModule, never>;

                            property ɵinj

                            static ɵinj: i0.ɵɵInjectorDeclaration<CalendarCommonModule>;

                              property ɵmod

                              static ɵmod: i0.ɵɵNgModuleDeclaration<
                              CalendarCommonModule,
                              never,
                              [
                              typeof CalendarEventActionsComponent,
                              typeof CalendarEventTitleComponent,
                              typeof CalendarTooltipWindowComponent,
                              typeof CalendarTooltipDirective,
                              typeof CalendarPreviousViewDirective,
                              typeof CalendarNextViewDirective,
                              typeof CalendarTodayDirective,
                              typeof CalendarDatePipe,
                              typeof CalendarEventTitlePipe,
                              typeof CalendarA11yPipe,
                              typeof ClickDirective,
                              typeof KeydownEnterDirective
                              ],
                              [
                              typeof CalendarEventActionsComponent,
                              typeof CalendarEventTitleComponent,
                              typeof CalendarTooltipWindowComponent,
                              typeof CalendarTooltipDirective,
                              typeof CalendarPreviousViewDirective,
                              typeof CalendarNextViewDirective,
                              typeof CalendarTodayDirective,
                              typeof CalendarDatePipe,
                              typeof CalendarEventTitlePipe,
                              typeof CalendarA11yPipe,
                              typeof ClickDirective,
                              typeof KeydownEnterDirective
                              ]
                              >;

                                method forRoot

                                static forRoot: (
                                dateAdapter: Provider,
                                config?: CalendarProviderConfig
                                ) => ModuleWithProviders<CalendarCommonModule>;

                                  class CalendarDateFormatter

                                  class CalendarDateFormatter extends CalendarAngularDateFormatter {}
                                  • This class is responsible for all formatting of dates. There are 3 implementations available, the CalendarAngularDateFormatter (default) which uses the angular date pipe to format dates, the CalendarNativeDateFormatter which will use the Intl API to format dates, or there is the CalendarMomentDateFormatter which uses moment.

                                    If you wish, you may override any of the defaults via angulars DI. For example:

                                    import { CalendarDateFormatter, DateFormatterParams } from 'angular-calendar';
                                    import { formatDate } from '@angular/common';
                                    import { Injectable } from '@angular/core';
                                    @Injectable()
                                    class CustomDateFormatter extends CalendarDateFormatter {
                                    public monthViewColumnHeader({date, locale}: DateFormatterParams): string {
                                    return formatDate(date, 'EEE', locale); // use short week days
                                    }
                                    }
                                    // in your component that uses the calendar
                                    providers: [{
                                    provide: CalendarDateFormatter,
                                    useClass: CustomDateFormatter
                                    }]

                                  property ɵfac

                                  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDateFormatter, never>;

                                    property ɵprov

                                    static ɵprov: i0.ɵɵInjectableDeclaration<CalendarDateFormatter>;

                                      class CalendarDatePipe

                                      class CalendarDatePipe implements PipeTransform {}
                                      • This pipe is primarily for rendering the current view title. Example usage:

                                        // where `viewDate` is a `Date` and view is `'month' | 'week' | 'day'`
                                        {{ viewDate | calendarDate:(view + 'ViewTitle'):'en' }}

                                      property ɵfac

                                      static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDatePipe, never>;

                                        property ɵpipe

                                        static ɵpipe: i0.ɵɵPipeDeclaration<CalendarDatePipe, 'calendarDate', true>;

                                          method transform

                                          transform: (
                                          date: Date,
                                          method: string,
                                          locale?: string,
                                          weekStartsOn?: number,
                                          excludeDays?: number[],
                                          daysInWeek?: number
                                          ) => string;

                                            class CalendarDayModule

                                            class CalendarDayModule {}
                                            • Deprecated

                                              import the standalone component CalendarDayViewComponent instead

                                            property ɵfac

                                            static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDayModule, never>;

                                              property ɵinj

                                              static ɵinj: i0.ɵɵInjectorDeclaration<CalendarDayModule>;

                                                property ɵmod

                                                static ɵmod: i0.ɵɵNgModuleDeclaration<
                                                CalendarDayModule,
                                                never,
                                                [typeof CalendarDayViewComponent],
                                                [typeof CalendarDayViewComponent]
                                                >;

                                                  class CalendarDayViewComponent

                                                  class CalendarDayViewComponent {}
                                                  • Shows all events on a given day. Example usage:

                                                    <mwl-calendar-day-view
                                                    [viewDate]="viewDate"
                                                    [events]="events">
                                                    </mwl-calendar-day-view>

                                                  property allDayEventsLabelTemplate

                                                  allDayEventsLabelTemplate: TemplateRef<any>;
                                                  • A custom template to use for the all day events label text

                                                  property beforeViewRender

                                                  beforeViewRender: EventEmitter<CalendarWeekViewBeforeRenderEvent>;
                                                  • An output that will be called before the view is rendered for the current day. If you add the cssClass property to an hour grid segment it will add that class to the hour segment in the template

                                                  property currentTimeMarkerTemplate

                                                  currentTimeMarkerTemplate: TemplateRef<any>;
                                                  • A custom template to use for the current time marker

                                                  property dayEndHour

                                                  dayEndHour: number;
                                                  • The day end hours in 24 hour time. Must be 0-23

                                                  property dayEndMinute

                                                  dayEndMinute: number;
                                                  • The day end minutes. Must be 0-59

                                                  property dayStartHour

                                                  dayStartHour: number;
                                                  • The day start hours in 24 hour time. Must be 0-23

                                                  property dayStartMinute

                                                  dayStartMinute: number;
                                                  • The day start minutes. Must be 0-59

                                                  property eventActionsTemplate

                                                  eventActionsTemplate: TemplateRef<any>;
                                                  • A custom template to use for event actions

                                                  property eventClicked

                                                  eventClicked: EventEmitter<{
                                                  event: CalendarEvent;
                                                  sourceEvent: MouseEvent | KeyboardEvent;
                                                  }>;
                                                  • Called when an event title is clicked

                                                  property events

                                                  events: CalendarEvent[];
                                                  • An array of events to display on view The schema is available here: https://github.com/mattlewis92/calendar-utils/blob/c51689985f59a271940e30bc4e2c4e1fee3fcb5c/src/calendarUtils.ts#L49-L63

                                                  property eventSnapSize

                                                  eventSnapSize: number;
                                                  • The grid size to snap resizing and dragging of events to

                                                  property eventTemplate

                                                  eventTemplate: TemplateRef<any>;
                                                  • A custom template to use for day view events

                                                  property eventTimesChanged

                                                  eventTimesChanged: EventEmitter<CalendarEventTimesChangedEvent<any>>;
                                                  • Called when an event is resized or dragged and dropped

                                                  property eventTitleTemplate

                                                  eventTitleTemplate: TemplateRef<any>;
                                                  • A custom template to use for event titles

                                                  property hourDuration

                                                  hourDuration: number;
                                                  • The duration of each segment group in minutes

                                                  property hourSegmentClicked

                                                  hourSegmentClicked: EventEmitter<{ date: Date; sourceEvent: MouseEvent }>;
                                                  • Called when an hour segment is clicked

                                                  property hourSegmentHeight

                                                  hourSegmentHeight: number;
                                                  • The height in pixels of each hour segment

                                                  property hourSegments

                                                  hourSegments: number;
                                                  • The number of segments in an hour. Must divide equally into 60.

                                                  property hourSegmentTemplate

                                                  hourSegmentTemplate: TemplateRef<any>;
                                                  • A custom template to use to replace the hour segment

                                                  property locale

                                                  locale: string;
                                                  • The locale used to format dates

                                                  property minimumEventHeight

                                                  minimumEventHeight: number;
                                                  • The minimum height in pixels of each event

                                                  property ɵcmp

                                                  static ɵcmp: i0.ɵɵComponentDeclaration<
                                                  CalendarDayViewComponent,
                                                  'mwl-calendar-day-view',
                                                  never,
                                                  {
                                                  viewDate: { alias: 'viewDate'; required: false };
                                                  events: { alias: 'events'; required: false };
                                                  hourSegments: { alias: 'hourSegments'; required: false };
                                                  hourSegmentHeight: { alias: 'hourSegmentHeight'; required: false };
                                                  hourDuration: { alias: 'hourDuration'; required: false };
                                                  minimumEventHeight: { alias: 'minimumEventHeight'; required: false };
                                                  dayStartHour: { alias: 'dayStartHour'; required: false };
                                                  dayStartMinute: { alias: 'dayStartMinute'; required: false };
                                                  dayEndHour: { alias: 'dayEndHour'; required: false };
                                                  dayEndMinute: { alias: 'dayEndMinute'; required: false };
                                                  refresh: { alias: 'refresh'; required: false };
                                                  locale: { alias: 'locale'; required: false };
                                                  eventSnapSize: { alias: 'eventSnapSize'; required: false };
                                                  tooltipPlacement: { alias: 'tooltipPlacement'; required: false };
                                                  tooltipTemplate: { alias: 'tooltipTemplate'; required: false };
                                                  tooltipAppendToBody: { alias: 'tooltipAppendToBody'; required: false };
                                                  tooltipDelay: { alias: 'tooltipDelay'; required: false };
                                                  hourSegmentTemplate: { alias: 'hourSegmentTemplate'; required: false };
                                                  eventTemplate: { alias: 'eventTemplate'; required: false };
                                                  eventTitleTemplate: { alias: 'eventTitleTemplate'; required: false };
                                                  eventActionsTemplate: { alias: 'eventActionsTemplate'; required: false };
                                                  snapDraggedEvents: { alias: 'snapDraggedEvents'; required: false };
                                                  allDayEventsLabelTemplate: {
                                                  alias: 'allDayEventsLabelTemplate';
                                                  required: false;
                                                  };
                                                  currentTimeMarkerTemplate: {
                                                  alias: 'currentTimeMarkerTemplate';
                                                  required: false;
                                                  };
                                                  validateEventTimesChanged: {
                                                  alias: 'validateEventTimesChanged';
                                                  required: false;
                                                  };
                                                  resizeCursors: { alias: 'resizeCursors'; required: false };
                                                  },
                                                  {
                                                  eventClicked: 'eventClicked';
                                                  hourSegmentClicked: 'hourSegmentClicked';
                                                  eventTimesChanged: 'eventTimesChanged';
                                                  beforeViewRender: 'beforeViewRender';
                                                  },
                                                  never,
                                                  never,
                                                  true,
                                                  never
                                                  >;

                                                    property ɵfac

                                                    static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDayViewComponent, never>;

                                                      property refresh

                                                      refresh: Subject<any>;
                                                      • An observable that when emitted on will re-render the current view

                                                      property resizeCursors

                                                      resizeCursors: Partial<Pick<ResizeCursors, 'leftOrRight' | 'topOrBottom'>>;
                                                      • Customise the document cursor when dragging to resize an event

                                                      property snapDraggedEvents

                                                      snapDraggedEvents: boolean;
                                                      • Whether to snap events to a grid when dragging

                                                      property tooltipAppendToBody

                                                      tooltipAppendToBody: boolean;
                                                      • Whether to append tooltips to the body or next to the trigger element

                                                      property tooltipDelay

                                                      tooltipDelay: number;
                                                      • The delay in milliseconds before the tooltip should be displayed. If not provided the tooltip will be displayed immediately.

                                                      property tooltipPlacement

                                                      tooltipPlacement: PlacementArray;
                                                      • The placement of the event tooltip

                                                      property tooltipTemplate

                                                      tooltipTemplate: TemplateRef<any>;
                                                      • A custom template to use for the event tooltips

                                                      property validateEventTimesChanged

                                                      validateEventTimesChanged: (event: CalendarEventTimesChangedEvent) => boolean;
                                                      • Allow you to customise where events can be dragged and resized to. Return true to allow dragging and resizing to the new location, or false to prevent it

                                                      property viewDate

                                                      viewDate: Date;
                                                      • The current view date

                                                      class CalendarEventActionsComponent

                                                      class CalendarEventActionsComponent {}

                                                        property customTemplate

                                                        customTemplate: TemplateRef<any>;

                                                          property event

                                                          event: CalendarEvent;

                                                            property ɵcmp

                                                            static ɵcmp: i0.ɵɵComponentDeclaration<
                                                            CalendarEventActionsComponent,
                                                            'mwl-calendar-event-actions',
                                                            never,
                                                            {
                                                            event: { alias: 'event'; required: false };
                                                            customTemplate: { alias: 'customTemplate'; required: false };
                                                            },
                                                            {},
                                                            never,
                                                            never,
                                                            true,
                                                            never
                                                            >;

                                                              property ɵfac

                                                              static ɵfac: i0.ɵɵFactoryDeclaration<CalendarEventActionsComponent, never>;

                                                                class CalendarEventTitleComponent

                                                                class CalendarEventTitleComponent {}

                                                                  property customTemplate

                                                                  customTemplate: TemplateRef<any>;

                                                                    property event

                                                                    event: CalendarEvent;

                                                                      property ɵcmp

                                                                      static ɵcmp: i0.ɵɵComponentDeclaration<
                                                                      CalendarEventTitleComponent,
                                                                      'mwl-calendar-event-title',
                                                                      never,
                                                                      {
                                                                      event: { alias: 'event'; required: false };
                                                                      customTemplate: { alias: 'customTemplate'; required: false };
                                                                      view: { alias: 'view'; required: false };
                                                                      },
                                                                      {},
                                                                      never,
                                                                      never,
                                                                      true,
                                                                      never
                                                                      >;

                                                                        property ɵfac

                                                                        static ɵfac: i0.ɵɵFactoryDeclaration<CalendarEventTitleComponent, never>;

                                                                          property view

                                                                          view: string;

                                                                            class CalendarEventTitleFormatter

                                                                            class CalendarEventTitleFormatter {}
                                                                            • This class is responsible for displaying all event titles within the calendar. You may override any of its methods via angulars DI to suit your requirements. For example:

                                                                              import { Injectable } from '@angular/core';
                                                                              import { CalendarEventTitleFormatter, CalendarEvent } from 'angular-calendar';
                                                                              @Injectable()
                                                                              class CustomEventTitleFormatter extends CalendarEventTitleFormatter {
                                                                              month(event: CalendarEvent): string {
                                                                              return `Custom prefix: ${event.title}`;
                                                                              }
                                                                              }
                                                                              // in your component
                                                                              providers: [{
                                                                              provide: CalendarEventTitleFormatter,
                                                                              useClass: CustomEventTitleFormatter
                                                                              }]

                                                                            method day

                                                                            day: (event: CalendarEvent, title: string) => string;
                                                                            • The day view event title.

                                                                            method dayTooltip

                                                                            dayTooltip: (event: CalendarEvent, title: string) => string;
                                                                            • The day view event tooltip. Return a falsey value from this to disable the tooltip.

                                                                            method month

                                                                            month: (event: CalendarEvent, title: string) => string;
                                                                            • The month view event title.

                                                                            method monthTooltip

                                                                            monthTooltip: (event: CalendarEvent, title: string) => string;
                                                                            • The month view event tooltip. Return a falsey value from this to disable the tooltip.

                                                                            method week

                                                                            week: (event: CalendarEvent, title: string) => string;
                                                                            • The week view event title.

                                                                            method weekTooltip

                                                                            weekTooltip: (event: CalendarEvent, title: string) => string;
                                                                            • The week view event tooltip. Return a falsey value from this to disable the tooltip.

                                                                            class CalendarEventTitlePipe

                                                                            class CalendarEventTitlePipe implements PipeTransform {}

                                                                              property ɵfac

                                                                              static ɵfac: i0.ɵɵFactoryDeclaration<CalendarEventTitlePipe, never>;

                                                                                property ɵpipe

                                                                                static ɵpipe: i0.ɵɵPipeDeclaration<
                                                                                CalendarEventTitlePipe,
                                                                                'calendarEventTitle',
                                                                                true
                                                                                >;

                                                                                  method transform

                                                                                  transform: (title: string, titleType: string, event: CalendarEvent) => string;

                                                                                    class CalendarModule

                                                                                    class CalendarModule {}
                                                                                    • The main module of this library. Example usage:

                                                                                      import { CalenderModule } from 'angular-calendar';
                                                                                      @NgModule({
                                                                                      imports: [
                                                                                      CalenderModule.forRoot()
                                                                                      ]
                                                                                      })
                                                                                      class MyModule {}

                                                                                      Deprecated

                                                                                      instead use provideCalendar() and the standalone components/directives/pipes instead

                                                                                      e.g. @Component({ imports: [ CalendarPreviousViewDirective, CalendarNextViewDirective, CalendarTodayDirective, CalendarDatePipe, CalendarMonthViewComponent, CalendarWeekViewComponent, CalendarDayViewComponent, ], providers: [ provideCalendar({provide: DateAdapter, useFactory: adapterFactory}) ], }) class MyComponent {}

                                                                                    property ɵfac

                                                                                    static ɵfac: i0.ɵɵFactoryDeclaration<CalendarModule, never>;

                                                                                      property ɵinj

                                                                                      static ɵinj: i0.ɵɵInjectorDeclaration<CalendarModule>;

                                                                                        property ɵmod

                                                                                        static ɵmod: i0.ɵɵNgModuleDeclaration<
                                                                                        CalendarModule,
                                                                                        never,
                                                                                        [
                                                                                        typeof CalendarCommonModule,
                                                                                        typeof CalendarMonthModule,
                                                                                        typeof CalendarWeekModule,
                                                                                        typeof CalendarDayModule
                                                                                        ],
                                                                                        [
                                                                                        typeof CalendarCommonModule,
                                                                                        typeof CalendarMonthModule,
                                                                                        typeof CalendarWeekModule,
                                                                                        typeof CalendarDayModule
                                                                                        ]
                                                                                        >;

                                                                                          method forRoot

                                                                                          static forRoot: (
                                                                                          dateAdapter: Provider,
                                                                                          config?: CalendarProviderConfig
                                                                                          ) => ModuleWithProviders<CalendarModule>;

                                                                                            class CalendarMomentDateFormatter

                                                                                            class CalendarMomentDateFormatter implements CalendarDateFormatterInterface {}
                                                                                            • This will use moment to do all date formatting. To use this class:

                                                                                              import { CalendarDateFormatter, CalendarMomentDateFormatter, MOMENT } from 'angular-calendar';
                                                                                              import moment from 'moment';
                                                                                              // in your component
                                                                                              provide: [{
                                                                                              provide: MOMENT, useValue: moment
                                                                                              }, {
                                                                                              provide: CalendarDateFormatter, useClass: CalendarMomentDateFormatter
                                                                                              }]

                                                                                            property dateAdapter

                                                                                            protected dateAdapter: DateAdapter;

                                                                                              property moment

                                                                                              protected moment: any;

                                                                                                property ɵfac

                                                                                                static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMomentDateFormatter, never>;

                                                                                                  property ɵprov

                                                                                                  static ɵprov: i0.ɵɵInjectableDeclaration<CalendarMomentDateFormatter>;

                                                                                                    method dayViewHour

                                                                                                    dayViewHour: ({ date, locale }: DateFormatterParams) => string;
                                                                                                    • The time formatting down the left hand side of the day view

                                                                                                    method dayViewTitle

                                                                                                    dayViewTitle: ({ date, locale }: DateFormatterParams) => string;
                                                                                                    • The day view title

                                                                                                    method monthViewColumnHeader

                                                                                                    monthViewColumnHeader: ({ date, locale }: DateFormatterParams) => string;
                                                                                                    • The month view header week day labels

                                                                                                    method monthViewDayNumber

                                                                                                    monthViewDayNumber: ({ date, locale }: DateFormatterParams) => string;
                                                                                                    • The month view cell day number

                                                                                                    method monthViewTitle

                                                                                                    monthViewTitle: ({ date, locale }: DateFormatterParams) => string;
                                                                                                    • The month view title

                                                                                                    method weekViewColumnHeader

                                                                                                    weekViewColumnHeader: ({ date, locale }: DateFormatterParams) => string;
                                                                                                    • The week view header week day labels

                                                                                                    method weekViewColumnSubHeader

                                                                                                    weekViewColumnSubHeader: ({ date, locale }: DateFormatterParams) => string;
                                                                                                    • The week view sub header day and month labels

                                                                                                    method weekViewHour

                                                                                                    weekViewHour: ({ date, locale }: DateFormatterParams) => string;
                                                                                                    • The time formatting down the left hand side of the week view

                                                                                                    method weekViewTitle

                                                                                                    weekViewTitle: ({
                                                                                                    date,
                                                                                                    locale,
                                                                                                    weekStartsOn,
                                                                                                    excludeDays,
                                                                                                    daysInWeek,
                                                                                                    }: DateFormatterParams) => string;
                                                                                                    • The week view title

                                                                                                    class CalendarMonthCellComponent

                                                                                                    class CalendarMonthCellComponent {}

                                                                                                      property customTemplate

                                                                                                      customTemplate: TemplateRef<any>;

                                                                                                        property day

                                                                                                        day: MonthViewDay;

                                                                                                          property eventClicked

                                                                                                          eventClicked: EventEmitter<{ event: CalendarEvent; sourceEvent: MouseEvent }>;

                                                                                                            property highlightDay

                                                                                                            highlightDay: EventEmitter<any>;

                                                                                                              property locale

                                                                                                              locale: string;

                                                                                                                property openDay

                                                                                                                openDay: MonthViewDay;

                                                                                                                  property ɵcmp

                                                                                                                  static ɵcmp: i0.ɵɵComponentDeclaration<
                                                                                                                  CalendarMonthCellComponent,
                                                                                                                  'mwl-calendar-month-cell',
                                                                                                                  never,
                                                                                                                  {
                                                                                                                  day: { alias: 'day'; required: false };
                                                                                                                  openDay: { alias: 'openDay'; required: false };
                                                                                                                  locale: { alias: 'locale'; required: false };
                                                                                                                  tooltipPlacement: { alias: 'tooltipPlacement'; required: false };
                                                                                                                  tooltipAppendToBody: { alias: 'tooltipAppendToBody'; required: false };
                                                                                                                  customTemplate: { alias: 'customTemplate'; required: false };
                                                                                                                  tooltipTemplate: { alias: 'tooltipTemplate'; required: false };
                                                                                                                  tooltipDelay: { alias: 'tooltipDelay'; required: false };
                                                                                                                  },
                                                                                                                  {
                                                                                                                  highlightDay: 'highlightDay';
                                                                                                                  unhighlightDay: 'unhighlightDay';
                                                                                                                  eventClicked: 'eventClicked';
                                                                                                                  },
                                                                                                                  never,
                                                                                                                  never,
                                                                                                                  true,
                                                                                                                  never
                                                                                                                  >;

                                                                                                                    property ɵfac

                                                                                                                    static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthCellComponent, never>;

                                                                                                                      property tooltipAppendToBody

                                                                                                                      tooltipAppendToBody: boolean;

                                                                                                                        property tooltipDelay

                                                                                                                        tooltipDelay: number;

                                                                                                                          property tooltipPlacement

                                                                                                                          tooltipPlacement: PlacementArray;

                                                                                                                            property tooltipTemplate

                                                                                                                            tooltipTemplate: TemplateRef<any>;

                                                                                                                              property unhighlightDay

                                                                                                                              unhighlightDay: EventEmitter<any>;

                                                                                                                                property validateDrag

                                                                                                                                validateDrag: ({ x, y }: { x: number; y: number }) => boolean;

                                                                                                                                  class CalendarMonthModule

                                                                                                                                  class CalendarMonthModule {}
                                                                                                                                  • Deprecated

                                                                                                                                    import the standalone component CalendarMonthViewComponent instead

                                                                                                                                  property ɵfac

                                                                                                                                  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthModule, never>;

                                                                                                                                    property ɵinj

                                                                                                                                    static ɵinj: i0.ɵɵInjectorDeclaration<CalendarMonthModule>;

                                                                                                                                      property ɵmod

                                                                                                                                      static ɵmod: i0.ɵɵNgModuleDeclaration<
                                                                                                                                      CalendarMonthModule,
                                                                                                                                      never,
                                                                                                                                      [
                                                                                                                                      any,
                                                                                                                                      typeof CalendarCommonModule,
                                                                                                                                      typeof CalendarMonthViewComponent,
                                                                                                                                      typeof CalendarMonthCellComponent,
                                                                                                                                      typeof CalendarOpenDayEventsComponent,
                                                                                                                                      typeof CalendarMonthViewHeaderComponent
                                                                                                                                      ],
                                                                                                                                      [
                                                                                                                                      any,
                                                                                                                                      typeof CalendarMonthViewComponent,
                                                                                                                                      typeof CalendarMonthCellComponent,
                                                                                                                                      typeof CalendarOpenDayEventsComponent,
                                                                                                                                      typeof CalendarMonthViewHeaderComponent
                                                                                                                                      ]
                                                                                                                                      >;

                                                                                                                                        class CalendarMonthViewComponent

                                                                                                                                        class CalendarMonthViewComponent implements OnChanges, OnInit, OnDestroy {}
                                                                                                                                        • Shows all events on a given month. Example usage:

                                                                                                                                          <mwl-calendar-month-view
                                                                                                                                          [viewDate]="viewDate"
                                                                                                                                          [events]="events">
                                                                                                                                          </mwl-calendar-month-view>

                                                                                                                                        property activeDay

                                                                                                                                        activeDay: Date;
                                                                                                                                        • If set will be used to determine the day that should be open. If not set, the viewDate is used

                                                                                                                                        property activeDayIsOpen

                                                                                                                                        activeDayIsOpen: boolean;
                                                                                                                                        • Whether the events list for the day of the viewDate option is visible or not

                                                                                                                                        property beforeViewRender

                                                                                                                                        beforeViewRender: EventEmitter<CalendarMonthViewBeforeRenderEvent>;
                                                                                                                                        • An output that will be called before the view is rendered for the current month. If you add the cssClass property to a day in the body it will add that class to the cell element in the template

                                                                                                                                        property cdr

                                                                                                                                        protected cdr: ChangeDetectorRef;

                                                                                                                                        property cellTemplate

                                                                                                                                        cellTemplate: TemplateRef<any>;
                                                                                                                                        • A custom template to use to replace the day cell

                                                                                                                                        property columnHeaderClicked

                                                                                                                                        columnHeaderClicked: EventEmitter<{
                                                                                                                                        isoDayNumber: number;
                                                                                                                                        sourceEvent: MouseEvent | KeyboardEvent;
                                                                                                                                        }>;
                                                                                                                                        • Called when a header week day is clicked. Returns ISO day number.

                                                                                                                                        property columnHeaders

                                                                                                                                        columnHeaders: WeekDay[];

                                                                                                                                        property dateAdapter

                                                                                                                                        protected dateAdapter: DateAdapter;

                                                                                                                                        property dayClicked

                                                                                                                                        dayClicked: EventEmitter<{
                                                                                                                                        day: MonthViewDay;
                                                                                                                                        sourceEvent: MouseEvent | KeyboardEvent;
                                                                                                                                        }>;
                                                                                                                                        • Called when the day cell is clicked

                                                                                                                                        property eventActionsTemplate

                                                                                                                                        eventActionsTemplate: TemplateRef<any>;
                                                                                                                                        • A custom template to use for event actions

                                                                                                                                        property eventClicked

                                                                                                                                        eventClicked: EventEmitter<{
                                                                                                                                        event: CalendarEvent;
                                                                                                                                        sourceEvent: MouseEvent | KeyboardEvent;
                                                                                                                                        }>;
                                                                                                                                        • Called when the event title is clicked

                                                                                                                                        property events

                                                                                                                                        events: CalendarEvent[];
                                                                                                                                        • An array of events to display on view. The schema is available here: https://github.com/mattlewis92/calendar-utils/blob/c51689985f59a271940e30bc4e2c4e1fee3fcb5c/src/calendarUtils.ts#L49-L63

                                                                                                                                        property eventTimesChanged

                                                                                                                                        eventTimesChanged: EventEmitter<
                                                                                                                                        CalendarMonthViewEventTimesChangedEvent<any, any>
                                                                                                                                        >;
                                                                                                                                        • Called when an event is dragged and dropped

                                                                                                                                        property eventTitleTemplate

                                                                                                                                        eventTitleTemplate: TemplateRef<any>;
                                                                                                                                        • A custom template to use for event titles

                                                                                                                                        property excludeDays

                                                                                                                                        excludeDays: number[];
                                                                                                                                        • An array of day indexes (0 = sunday, 1 = monday etc) that will be hidden on the view

                                                                                                                                        property headerTemplate

                                                                                                                                        headerTemplate: TemplateRef<any>;
                                                                                                                                        • A custom template to use to replace the header

                                                                                                                                        property locale

                                                                                                                                        locale: string;
                                                                                                                                        • The locale used to format dates

                                                                                                                                        property openDay

                                                                                                                                        openDay: MonthViewDay;

                                                                                                                                        property openDayEventsTemplate

                                                                                                                                        openDayEventsTemplate: TemplateRef<any>;
                                                                                                                                        • A custom template to use for the slide down box of events for the active day

                                                                                                                                        property openRowIndex

                                                                                                                                        openRowIndex: number;

                                                                                                                                        property ɵcmp

                                                                                                                                        static ɵcmp: i0.ɵɵComponentDeclaration<
                                                                                                                                        CalendarMonthViewComponent,
                                                                                                                                        'mwl-calendar-month-view',
                                                                                                                                        never,
                                                                                                                                        {
                                                                                                                                        viewDate: { alias: 'viewDate'; required: false };
                                                                                                                                        events: { alias: 'events'; required: false };
                                                                                                                                        excludeDays: { alias: 'excludeDays'; required: false };
                                                                                                                                        activeDayIsOpen: { alias: 'activeDayIsOpen'; required: false };
                                                                                                                                        activeDay: { alias: 'activeDay'; required: false };
                                                                                                                                        refresh: { alias: 'refresh'; required: false };
                                                                                                                                        locale: { alias: 'locale'; required: false };
                                                                                                                                        tooltipPlacement: { alias: 'tooltipPlacement'; required: false };
                                                                                                                                        tooltipTemplate: { alias: 'tooltipTemplate'; required: false };
                                                                                                                                        tooltipAppendToBody: { alias: 'tooltipAppendToBody'; required: false };
                                                                                                                                        tooltipDelay: { alias: 'tooltipDelay'; required: false };
                                                                                                                                        weekStartsOn: { alias: 'weekStartsOn'; required: false };
                                                                                                                                        headerTemplate: { alias: 'headerTemplate'; required: false };
                                                                                                                                        cellTemplate: { alias: 'cellTemplate'; required: false };
                                                                                                                                        openDayEventsTemplate: {
                                                                                                                                        alias: 'openDayEventsTemplate';
                                                                                                                                        required: false;
                                                                                                                                        };
                                                                                                                                        eventTitleTemplate: { alias: 'eventTitleTemplate'; required: false };
                                                                                                                                        eventActionsTemplate: { alias: 'eventActionsTemplate'; required: false };
                                                                                                                                        weekendDays: { alias: 'weekendDays'; required: false };
                                                                                                                                        },
                                                                                                                                        {
                                                                                                                                        beforeViewRender: 'beforeViewRender';
                                                                                                                                        dayClicked: 'dayClicked';
                                                                                                                                        eventClicked: 'eventClicked';
                                                                                                                                        columnHeaderClicked: 'columnHeaderClicked';
                                                                                                                                        eventTimesChanged: 'eventTimesChanged';
                                                                                                                                        },
                                                                                                                                        never,
                                                                                                                                        never,
                                                                                                                                        true,
                                                                                                                                        never
                                                                                                                                        >;

                                                                                                                                          property ɵfac

                                                                                                                                          static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthViewComponent, never>;

                                                                                                                                            property refresh

                                                                                                                                            refresh: Subject<any>;
                                                                                                                                            • An observable that when emitted on will re-render the current view

                                                                                                                                            property refreshSubscription

                                                                                                                                            refreshSubscription: Subscription;

                                                                                                                                            property tooltipAppendToBody

                                                                                                                                            tooltipAppendToBody: boolean;
                                                                                                                                            • Whether to append tooltips to the body or next to the trigger element

                                                                                                                                            property tooltipDelay

                                                                                                                                            tooltipDelay: number;
                                                                                                                                            • The delay in milliseconds before the tooltip should be displayed. If not provided the tooltip will be displayed immediately.

                                                                                                                                            property tooltipPlacement

                                                                                                                                            tooltipPlacement: PlacementArray;
                                                                                                                                            • The placement of the event tooltip

                                                                                                                                            property tooltipTemplate

                                                                                                                                            tooltipTemplate: TemplateRef<any>;
                                                                                                                                            • A custom template to use for the event tooltips

                                                                                                                                            property utils

                                                                                                                                            protected utils: CalendarUtils;

                                                                                                                                            property view

                                                                                                                                            view: MonthView;

                                                                                                                                            property viewDate

                                                                                                                                            viewDate: Date;
                                                                                                                                            • The current view date

                                                                                                                                            property weekendDays

                                                                                                                                            weekendDays: number[];
                                                                                                                                            • An array of day indexes (0 = sunday, 1 = monday etc) that indicate which days are weekends

                                                                                                                                            property weekStartsOn

                                                                                                                                            weekStartsOn: number;
                                                                                                                                            • The start number of the week. If using the moment date adapter this option won't do anything and you'll need to set it globally like so:

                                                                                                                                              moment.updateLocale('en', {
                                                                                                                                              week: {
                                                                                                                                              dow: 1, // set start of week to monday instead
                                                                                                                                              doy: 0,
                                                                                                                                              },
                                                                                                                                              });

                                                                                                                                            method checkActiveDayIsOpen

                                                                                                                                            protected checkActiveDayIsOpen: () => void;

                                                                                                                                              method emitBeforeViewRender

                                                                                                                                              protected emitBeforeViewRender: () => void;

                                                                                                                                                method eventDropped

                                                                                                                                                eventDropped: (
                                                                                                                                                droppedOn: MonthViewDay,
                                                                                                                                                event: CalendarEvent,
                                                                                                                                                draggedFrom?: MonthViewDay
                                                                                                                                                ) => void;

                                                                                                                                                method ngOnChanges

                                                                                                                                                ngOnChanges: (changes: any) => void;

                                                                                                                                                method ngOnDestroy

                                                                                                                                                ngOnDestroy: () => void;

                                                                                                                                                method ngOnInit

                                                                                                                                                ngOnInit: () => void;

                                                                                                                                                method refreshAll

                                                                                                                                                protected refreshAll: () => void;

                                                                                                                                                  method refreshBody

                                                                                                                                                  protected refreshBody: () => void;

                                                                                                                                                    method refreshHeader

                                                                                                                                                    protected refreshHeader: () => void;

                                                                                                                                                      method toggleDayHighlight

                                                                                                                                                      toggleDayHighlight: (event: CalendarEvent, isHighlighted: boolean) => void;

                                                                                                                                                      class CalendarMonthViewHeaderComponent

                                                                                                                                                      class CalendarMonthViewHeaderComponent {}

                                                                                                                                                        property columnHeaderClicked

                                                                                                                                                        columnHeaderClicked: EventEmitter<{
                                                                                                                                                        isoDayNumber: number;
                                                                                                                                                        sourceEvent: MouseEvent;
                                                                                                                                                        }>;

                                                                                                                                                          property customTemplate

                                                                                                                                                          customTemplate: TemplateRef<any>;

                                                                                                                                                            property days

                                                                                                                                                            days: WeekDay[];

                                                                                                                                                              property locale

                                                                                                                                                              locale: string;

                                                                                                                                                                property ɵcmp

                                                                                                                                                                static ɵcmp: i0.ɵɵComponentDeclaration<
                                                                                                                                                                CalendarMonthViewHeaderComponent,
                                                                                                                                                                'mwl-calendar-month-view-header',
                                                                                                                                                                never,
                                                                                                                                                                {
                                                                                                                                                                days: { alias: 'days'; required: false };
                                                                                                                                                                locale: { alias: 'locale'; required: false };
                                                                                                                                                                customTemplate: { alias: 'customTemplate'; required: false };
                                                                                                                                                                },
                                                                                                                                                                { columnHeaderClicked: 'columnHeaderClicked' },
                                                                                                                                                                never,
                                                                                                                                                                never,
                                                                                                                                                                true,
                                                                                                                                                                never
                                                                                                                                                                >;

                                                                                                                                                                  property ɵfac

                                                                                                                                                                  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthViewHeaderComponent, never>;

                                                                                                                                                                    class CalendarNativeDateFormatter

                                                                                                                                                                    class CalendarNativeDateFormatter implements CalendarDateFormatterInterface {}
                                                                                                                                                                    • This will use Intl API to do all date formatting.

                                                                                                                                                                      You will need to include a polyfill for older browsers.

                                                                                                                                                                    property dateAdapter

                                                                                                                                                                    protected dateAdapter: DateAdapter;

                                                                                                                                                                      property ɵfac

                                                                                                                                                                      static ɵfac: i0.ɵɵFactoryDeclaration<CalendarNativeDateFormatter, never>;

                                                                                                                                                                        property ɵprov

                                                                                                                                                                        static ɵprov: i0.ɵɵInjectableDeclaration<CalendarNativeDateFormatter>;

                                                                                                                                                                          method dayViewHour

                                                                                                                                                                          dayViewHour: ({ date, locale }: DateFormatterParams) => string;
                                                                                                                                                                          • The time formatting down the left hand side of the day view

                                                                                                                                                                          method dayViewTitle

                                                                                                                                                                          dayViewTitle: ({ date, locale }: DateFormatterParams) => string;
                                                                                                                                                                          • The day view title

                                                                                                                                                                          method monthViewColumnHeader

                                                                                                                                                                          monthViewColumnHeader: ({ date, locale }: DateFormatterParams) => string;
                                                                                                                                                                          • The month view header week day labels

                                                                                                                                                                          method monthViewDayNumber

                                                                                                                                                                          monthViewDayNumber: ({ date, locale }: DateFormatterParams) => string;
                                                                                                                                                                          • The month view cell day number

                                                                                                                                                                          method monthViewTitle

                                                                                                                                                                          monthViewTitle: ({ date, locale }: DateFormatterParams) => string;
                                                                                                                                                                          • The month view title

                                                                                                                                                                          method weekViewColumnHeader

                                                                                                                                                                          weekViewColumnHeader: ({ date, locale }: DateFormatterParams) => string;
                                                                                                                                                                          • The week view header week day labels

                                                                                                                                                                          method weekViewColumnSubHeader

                                                                                                                                                                          weekViewColumnSubHeader: ({ date, locale }: DateFormatterParams) => string;
                                                                                                                                                                          • The week view sub header day and month labels

                                                                                                                                                                          method weekViewHour

                                                                                                                                                                          weekViewHour: ({ date, locale }: DateFormatterParams) => string;
                                                                                                                                                                          • The time formatting down the left hand side of the week view

                                                                                                                                                                          method weekViewTitle

                                                                                                                                                                          weekViewTitle: ({
                                                                                                                                                                          date,
                                                                                                                                                                          locale,
                                                                                                                                                                          weekStartsOn,
                                                                                                                                                                          excludeDays,
                                                                                                                                                                          daysInWeek,
                                                                                                                                                                          }: DateFormatterParams) => string;
                                                                                                                                                                          • The week view title

                                                                                                                                                                          class CalendarNextViewDirective

                                                                                                                                                                          class CalendarNextViewDirective {}
                                                                                                                                                                          • Change the view date to the next view. For example:

                                                                                                                                                                            <button
                                                                                                                                                                            mwlCalendarNextView
                                                                                                                                                                            [(viewDate)]="viewDate"
                                                                                                                                                                            [view]="view">
                                                                                                                                                                            Next
                                                                                                                                                                            </button>

                                                                                                                                                                          property daysInWeek

                                                                                                                                                                          daysInWeek: number;
                                                                                                                                                                          • The number of days in a week. If set will add this amount of days instead of 1 week

                                                                                                                                                                          property excludeDays

                                                                                                                                                                          excludeDays: number[];
                                                                                                                                                                          • Days to skip when going forward by 1 day

                                                                                                                                                                          property ɵdir

                                                                                                                                                                          static ɵdir: i0.ɵɵDirectiveDeclaration<
                                                                                                                                                                          CalendarNextViewDirective,
                                                                                                                                                                          '[mwlCalendarNextView]',
                                                                                                                                                                          never,
                                                                                                                                                                          {
                                                                                                                                                                          view: { alias: 'view'; required: false };
                                                                                                                                                                          viewDate: { alias: 'viewDate'; required: false };
                                                                                                                                                                          excludeDays: { alias: 'excludeDays'; required: false };
                                                                                                                                                                          daysInWeek: { alias: 'daysInWeek'; required: false };
                                                                                                                                                                          },
                                                                                                                                                                          { viewDateChange: 'viewDateChange' },
                                                                                                                                                                          never,
                                                                                                                                                                          never,
                                                                                                                                                                          true,
                                                                                                                                                                          never
                                                                                                                                                                          >;

                                                                                                                                                                            property ɵfac

                                                                                                                                                                            static ɵfac: i0.ɵɵFactoryDeclaration<CalendarNextViewDirective, never>;

                                                                                                                                                                              property view

                                                                                                                                                                              view: CalendarView | 'month' | 'week' | 'day';
                                                                                                                                                                              • The current view

                                                                                                                                                                              property viewDate

                                                                                                                                                                              viewDate: Date;
                                                                                                                                                                              • The current view date

                                                                                                                                                                              property viewDateChange

                                                                                                                                                                              viewDateChange: EventEmitter<Date>;
                                                                                                                                                                              • Called when the view date is changed

                                                                                                                                                                              method onClick

                                                                                                                                                                              onClick: () => void;

                                                                                                                                                                              class CalendarOpenDayEventsComponent

                                                                                                                                                                              class CalendarOpenDayEventsComponent {}

                                                                                                                                                                                property customTemplate

                                                                                                                                                                                customTemplate: TemplateRef<any>;

                                                                                                                                                                                  property date

                                                                                                                                                                                  date: Date;

                                                                                                                                                                                    property eventActionsTemplate

                                                                                                                                                                                    eventActionsTemplate: TemplateRef<any>;

                                                                                                                                                                                      property eventClicked

                                                                                                                                                                                      eventClicked: EventEmitter<{
                                                                                                                                                                                      event: CalendarEvent;
                                                                                                                                                                                      sourceEvent: MouseEvent | KeyboardEvent;
                                                                                                                                                                                      }>;

                                                                                                                                                                                        property events

                                                                                                                                                                                        events: CalendarEvent[];

                                                                                                                                                                                          property eventTitleTemplate

                                                                                                                                                                                          eventTitleTemplate: TemplateRef<any>;

                                                                                                                                                                                            property isOpen

                                                                                                                                                                                            isOpen: boolean;

                                                                                                                                                                                              property locale

                                                                                                                                                                                              locale: string;

                                                                                                                                                                                                property ɵcmp

                                                                                                                                                                                                static ɵcmp: i0.ɵɵComponentDeclaration<
                                                                                                                                                                                                CalendarOpenDayEventsComponent,
                                                                                                                                                                                                'mwl-calendar-open-day-events',
                                                                                                                                                                                                never,
                                                                                                                                                                                                {
                                                                                                                                                                                                locale: { alias: 'locale'; required: false };
                                                                                                                                                                                                isOpen: { alias: 'isOpen'; required: false };
                                                                                                                                                                                                events: { alias: 'events'; required: false };
                                                                                                                                                                                                customTemplate: { alias: 'customTemplate'; required: false };
                                                                                                                                                                                                eventTitleTemplate: { alias: 'eventTitleTemplate'; required: false };
                                                                                                                                                                                                eventActionsTemplate: { alias: 'eventActionsTemplate'; required: false };
                                                                                                                                                                                                date: { alias: 'date'; required: false };
                                                                                                                                                                                                },
                                                                                                                                                                                                { eventClicked: 'eventClicked' },
                                                                                                                                                                                                never,
                                                                                                                                                                                                never,
                                                                                                                                                                                                true,
                                                                                                                                                                                                never
                                                                                                                                                                                                >;

                                                                                                                                                                                                  property ɵfac

                                                                                                                                                                                                  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarOpenDayEventsComponent, never>;

                                                                                                                                                                                                    property validateDrag

                                                                                                                                                                                                    validateDrag: ({ x, y }: { x: number; y: number }) => boolean;

                                                                                                                                                                                                      class CalendarPreviousViewDirective

                                                                                                                                                                                                      class CalendarPreviousViewDirective {}
                                                                                                                                                                                                      • Change the view date to the previous view. For example:

                                                                                                                                                                                                        <button
                                                                                                                                                                                                        mwlCalendarPreviousView
                                                                                                                                                                                                        [(viewDate)]="viewDate"
                                                                                                                                                                                                        [view]="view">
                                                                                                                                                                                                        Previous
                                                                                                                                                                                                        </button>

                                                                                                                                                                                                      property daysInWeek

                                                                                                                                                                                                      daysInWeek: number;
                                                                                                                                                                                                      • The number of days in a week. If set will subtract this amount of days instead of 1 week

                                                                                                                                                                                                      property excludeDays

                                                                                                                                                                                                      excludeDays: number[];
                                                                                                                                                                                                      • Days to skip when going back by 1 day

                                                                                                                                                                                                      property ɵdir

                                                                                                                                                                                                      static ɵdir: i0.ɵɵDirectiveDeclaration<
                                                                                                                                                                                                      CalendarPreviousViewDirective,
                                                                                                                                                                                                      '[mwlCalendarPreviousView]',
                                                                                                                                                                                                      never,
                                                                                                                                                                                                      {
                                                                                                                                                                                                      view: { alias: 'view'; required: false };
                                                                                                                                                                                                      viewDate: { alias: 'viewDate'; required: false };
                                                                                                                                                                                                      excludeDays: { alias: 'excludeDays'; required: false };
                                                                                                                                                                                                      daysInWeek: { alias: 'daysInWeek'; required: false };
                                                                                                                                                                                                      },
                                                                                                                                                                                                      { viewDateChange: 'viewDateChange' },
                                                                                                                                                                                                      never,
                                                                                                                                                                                                      never,
                                                                                                                                                                                                      true,
                                                                                                                                                                                                      never
                                                                                                                                                                                                      >;

                                                                                                                                                                                                        property ɵfac

                                                                                                                                                                                                        static ɵfac: i0.ɵɵFactoryDeclaration<CalendarPreviousViewDirective, never>;

                                                                                                                                                                                                          property view

                                                                                                                                                                                                          view: CalendarView | 'month' | 'week' | 'day';
                                                                                                                                                                                                          • The current view

                                                                                                                                                                                                          property viewDate

                                                                                                                                                                                                          viewDate: Date;
                                                                                                                                                                                                          • The current view date

                                                                                                                                                                                                          property viewDateChange

                                                                                                                                                                                                          viewDateChange: EventEmitter<Date>;
                                                                                                                                                                                                          • Called when the view date is changed

                                                                                                                                                                                                          method onClick

                                                                                                                                                                                                          onClick: () => void;

                                                                                                                                                                                                          class CalendarTodayDirective

                                                                                                                                                                                                          class CalendarTodayDirective {}
                                                                                                                                                                                                          • Change the view date to the current day. For example:

                                                                                                                                                                                                            <button
                                                                                                                                                                                                            mwlCalendarToday
                                                                                                                                                                                                            [(viewDate)]="viewDate">
                                                                                                                                                                                                            Today
                                                                                                                                                                                                            </button>

                                                                                                                                                                                                          property ɵdir

                                                                                                                                                                                                          static ɵdir: i0.ɵɵDirectiveDeclaration<
                                                                                                                                                                                                          CalendarTodayDirective,
                                                                                                                                                                                                          '[mwlCalendarToday]',
                                                                                                                                                                                                          never,
                                                                                                                                                                                                          { viewDate: { alias: 'viewDate'; required: false } },
                                                                                                                                                                                                          { viewDateChange: 'viewDateChange' },
                                                                                                                                                                                                          never,
                                                                                                                                                                                                          never,
                                                                                                                                                                                                          true,
                                                                                                                                                                                                          never
                                                                                                                                                                                                          >;

                                                                                                                                                                                                            property ɵfac

                                                                                                                                                                                                            static ɵfac: i0.ɵɵFactoryDeclaration<CalendarTodayDirective, never>;

                                                                                                                                                                                                              property viewDate

                                                                                                                                                                                                              viewDate: Date;
                                                                                                                                                                                                              • The current view date

                                                                                                                                                                                                              property viewDateChange

                                                                                                                                                                                                              viewDateChange: EventEmitter<Date>;
                                                                                                                                                                                                              • Called when the view date is changed

                                                                                                                                                                                                              method onClick

                                                                                                                                                                                                              onClick: () => void;

                                                                                                                                                                                                              class CalendarTooltipDirective

                                                                                                                                                                                                              class CalendarTooltipDirective implements OnDestroy, OnChanges {}

                                                                                                                                                                                                                property appendToBody

                                                                                                                                                                                                                appendToBody: boolean;

                                                                                                                                                                                                                  property contents

                                                                                                                                                                                                                  contents: string;

                                                                                                                                                                                                                    property customTemplate

                                                                                                                                                                                                                    customTemplate: TemplateRef<any>;

                                                                                                                                                                                                                      property delay

                                                                                                                                                                                                                      delay: number;

                                                                                                                                                                                                                        property event

                                                                                                                                                                                                                        event: CalendarEvent;

                                                                                                                                                                                                                          property ɵdir

                                                                                                                                                                                                                          static ɵdir: i0.ɵɵDirectiveDeclaration<
                                                                                                                                                                                                                          CalendarTooltipDirective,
                                                                                                                                                                                                                          '[mwlCalendarTooltip]',
                                                                                                                                                                                                                          never,
                                                                                                                                                                                                                          {
                                                                                                                                                                                                                          contents: { alias: 'mwlCalendarTooltip'; required: false };
                                                                                                                                                                                                                          placement: { alias: 'tooltipPlacement'; required: false };
                                                                                                                                                                                                                          customTemplate: { alias: 'tooltipTemplate'; required: false };
                                                                                                                                                                                                                          event: { alias: 'tooltipEvent'; required: false };
                                                                                                                                                                                                                          appendToBody: { alias: 'tooltipAppendToBody'; required: false };
                                                                                                                                                                                                                          delay: { alias: 'tooltipDelay'; required: false };
                                                                                                                                                                                                                          },
                                                                                                                                                                                                                          {},
                                                                                                                                                                                                                          never,
                                                                                                                                                                                                                          never,
                                                                                                                                                                                                                          true,
                                                                                                                                                                                                                          never
                                                                                                                                                                                                                          >;

                                                                                                                                                                                                                            property ɵfac

                                                                                                                                                                                                                            static ɵfac: i0.ɵɵFactoryDeclaration<CalendarTooltipDirective, never>;

                                                                                                                                                                                                                              property placement

                                                                                                                                                                                                                              placement: PlacementArray;

                                                                                                                                                                                                                                method ngOnChanges

                                                                                                                                                                                                                                ngOnChanges: (changes: SimpleChanges) => void;

                                                                                                                                                                                                                                  method ngOnDestroy

                                                                                                                                                                                                                                  ngOnDestroy: () => void;

                                                                                                                                                                                                                                    method onMouseOut

                                                                                                                                                                                                                                    onMouseOut: () => void;

                                                                                                                                                                                                                                      method onMouseOver

                                                                                                                                                                                                                                      onMouseOver: () => void;

                                                                                                                                                                                                                                        class CalendarTooltipWindowComponent

                                                                                                                                                                                                                                        class CalendarTooltipWindowComponent {}

                                                                                                                                                                                                                                          property contents

                                                                                                                                                                                                                                          contents: string;

                                                                                                                                                                                                                                            property customTemplate

                                                                                                                                                                                                                                            customTemplate: TemplateRef<any>;

                                                                                                                                                                                                                                              property event

                                                                                                                                                                                                                                              event: CalendarEvent;

                                                                                                                                                                                                                                                property ɵcmp

                                                                                                                                                                                                                                                static ɵcmp: i0.ɵɵComponentDeclaration<
                                                                                                                                                                                                                                                CalendarTooltipWindowComponent,
                                                                                                                                                                                                                                                'mwl-calendar-tooltip-window',
                                                                                                                                                                                                                                                never,
                                                                                                                                                                                                                                                {
                                                                                                                                                                                                                                                contents: { alias: 'contents'; required: false };
                                                                                                                                                                                                                                                placement: { alias: 'placement'; required: false };
                                                                                                                                                                                                                                                event: { alias: 'event'; required: false };
                                                                                                                                                                                                                                                customTemplate: { alias: 'customTemplate'; required: false };
                                                                                                                                                                                                                                                },
                                                                                                                                                                                                                                                {},
                                                                                                                                                                                                                                                never,
                                                                                                                                                                                                                                                never,
                                                                                                                                                                                                                                                true,
                                                                                                                                                                                                                                                never
                                                                                                                                                                                                                                                >;

                                                                                                                                                                                                                                                  property ɵfac

                                                                                                                                                                                                                                                  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarTooltipWindowComponent, never>;

                                                                                                                                                                                                                                                    property placement

                                                                                                                                                                                                                                                    placement: string;

                                                                                                                                                                                                                                                      class CalendarUtils

                                                                                                                                                                                                                                                      class CalendarUtils {}

                                                                                                                                                                                                                                                        property dateAdapter

                                                                                                                                                                                                                                                        protected dateAdapter: DateAdapter;

                                                                                                                                                                                                                                                          property ɵfac

                                                                                                                                                                                                                                                          static ɵfac: i0.ɵɵFactoryDeclaration<CalendarUtils, never>;

                                                                                                                                                                                                                                                            property ɵprov

                                                                                                                                                                                                                                                            static ɵprov: i0.ɵɵInjectableDeclaration<CalendarUtils>;

                                                                                                                                                                                                                                                              method getMonthView

                                                                                                                                                                                                                                                              getMonthView: (args: GetMonthViewArgs) => MonthView;

                                                                                                                                                                                                                                                                method getWeekView

                                                                                                                                                                                                                                                                getWeekView: (args: GetWeekViewArgs) => WeekView;

                                                                                                                                                                                                                                                                  method getWeekViewHeader

                                                                                                                                                                                                                                                                  getWeekViewHeader: (args: GetWeekViewHeaderArgs) => WeekDay[];

                                                                                                                                                                                                                                                                    class CalendarWeekModule

                                                                                                                                                                                                                                                                    class CalendarWeekModule {}
                                                                                                                                                                                                                                                                    • Deprecated

                                                                                                                                                                                                                                                                      import the standalone component CalendarWeekViewComponent instead

                                                                                                                                                                                                                                                                    property ɵfac

                                                                                                                                                                                                                                                                    static ɵfac: i0.ɵɵFactoryDeclaration<CalendarWeekModule, never>;

                                                                                                                                                                                                                                                                      property ɵinj

                                                                                                                                                                                                                                                                      static ɵinj: i0.ɵɵInjectorDeclaration<CalendarWeekModule>;

                                                                                                                                                                                                                                                                        property ɵmod

                                                                                                                                                                                                                                                                        static ɵmod: i0.ɵɵNgModuleDeclaration<
                                                                                                                                                                                                                                                                        CalendarWeekModule,
                                                                                                                                                                                                                                                                        never,
                                                                                                                                                                                                                                                                        [
                                                                                                                                                                                                                                                                        any,
                                                                                                                                                                                                                                                                        any,
                                                                                                                                                                                                                                                                        typeof CalendarCommonModule,
                                                                                                                                                                                                                                                                        typeof CalendarWeekViewComponent,
                                                                                                                                                                                                                                                                        typeof CalendarWeekViewHeaderComponent,
                                                                                                                                                                                                                                                                        typeof CalendarWeekViewEventComponent,
                                                                                                                                                                                                                                                                        typeof CalendarWeekViewHourSegmentComponent,
                                                                                                                                                                                                                                                                        typeof CalendarWeekViewCurrentTimeMarkerComponent
                                                                                                                                                                                                                                                                        ],
                                                                                                                                                                                                                                                                        [
                                                                                                                                                                                                                                                                        any,
                                                                                                                                                                                                                                                                        any,
                                                                                                                                                                                                                                                                        typeof CalendarWeekViewComponent,
                                                                                                                                                                                                                                                                        typeof CalendarWeekViewHeaderComponent,
                                                                                                                                                                                                                                                                        typeof CalendarWeekViewEventComponent,
                                                                                                                                                                                                                                                                        typeof CalendarWeekViewHourSegmentComponent,
                                                                                                                                                                                                                                                                        typeof CalendarWeekViewCurrentTimeMarkerComponent
                                                                                                                                                                                                                                                                        ]
                                                                                                                                                                                                                                                                        >;

                                                                                                                                                                                                                                                                          class CalendarWeekViewComponent

                                                                                                                                                                                                                                                                          class CalendarWeekViewComponent
                                                                                                                                                                                                                                                                          implements OnChanges, OnInit, OnDestroy, AfterViewInit {}
                                                                                                                                                                                                                                                                          • Shows all events on a given week. Example usage:

                                                                                                                                                                                                                                                                            <mwl-calendar-week-view
                                                                                                                                                                                                                                                                            [viewDate]="viewDate"
                                                                                                                                                                                                                                                                            [events]="events">
                                                                                                                                                                                                                                                                            </mwl-calendar-week-view>

                                                                                                                                                                                                                                                                          property allDayEventResizes

                                                                                                                                                                                                                                                                          allDayEventResizes: Map<WeekViewAllDayEvent, WeekViewAllDayEventResize>;

                                                                                                                                                                                                                                                                          property allDayEventsLabelTemplate

                                                                                                                                                                                                                                                                          allDayEventsLabelTemplate: TemplateRef<any>;
                                                                                                                                                                                                                                                                          • A custom template to use for the all day events label text

                                                                                                                                                                                                                                                                          property beforeViewRender

                                                                                                                                                                                                                                                                          beforeViewRender: EventEmitter<CalendarWeekViewBeforeRenderEvent>;
                                                                                                                                                                                                                                                                          • An output that will be called before the view is rendered for the current week. If you add the cssClass property to a day in the header it will add that class to the cell element in the template

                                                                                                                                                                                                                                                                          property calendarId

                                                                                                                                                                                                                                                                          calendarId: Symbol;

                                                                                                                                                                                                                                                                          property cdr

                                                                                                                                                                                                                                                                          protected cdr: ChangeDetectorRef;

                                                                                                                                                                                                                                                                          property currentTimeMarkerTemplate

                                                                                                                                                                                                                                                                          currentTimeMarkerTemplate: TemplateRef<any>;
                                                                                                                                                                                                                                                                          • A custom template to use for the current time marker

                                                                                                                                                                                                                                                                          property dateAdapter

                                                                                                                                                                                                                                                                          protected dateAdapter: DateAdapter;

                                                                                                                                                                                                                                                                          property dayColumnWidth

                                                                                                                                                                                                                                                                          dayColumnWidth: number;

                                                                                                                                                                                                                                                                          property dayEndHour

                                                                                                                                                                                                                                                                          dayEndHour: number;
                                                                                                                                                                                                                                                                          • The day end hours in 24 hour time. Must be 0-23

                                                                                                                                                                                                                                                                          property dayEndMinute

                                                                                                                                                                                                                                                                          dayEndMinute: number;
                                                                                                                                                                                                                                                                          • The day end minutes. Must be 0-59

                                                                                                                                                                                                                                                                          property dayHeaderClicked

                                                                                                                                                                                                                                                                          dayHeaderClicked: EventEmitter<{ day: WeekDay; sourceEvent: MouseEvent }>;
                                                                                                                                                                                                                                                                          • Called when a header week day is clicked. Adding a cssClass property on $event.day will add that class to the header element

                                                                                                                                                                                                                                                                          property days

                                                                                                                                                                                                                                                                          days: WeekDay[];

                                                                                                                                                                                                                                                                          property daysInWeek

                                                                                                                                                                                                                                                                          daysInWeek: number;
                                                                                                                                                                                                                                                                          • The number of days in a week. Can be used to create a shorter or longer week view. The first day of the week will always be the viewDate and weekStartsOn if set will be ignored

                                                                                                                                                                                                                                                                          property dayStartHour

                                                                                                                                                                                                                                                                          dayStartHour: number;
                                                                                                                                                                                                                                                                          • The day start hours in 24 hour time. Must be 0-23

                                                                                                                                                                                                                                                                          property dayStartMinute

                                                                                                                                                                                                                                                                          dayStartMinute: number;
                                                                                                                                                                                                                                                                          • The day start minutes. Must be 0-59

                                                                                                                                                                                                                                                                          property dragActive

                                                                                                                                                                                                                                                                          dragActive: boolean;

                                                                                                                                                                                                                                                                          property dragAlreadyMoved

                                                                                                                                                                                                                                                                          dragAlreadyMoved: boolean;

                                                                                                                                                                                                                                                                          property element

                                                                                                                                                                                                                                                                          protected element: ElementRef<HTMLElement>;

                                                                                                                                                                                                                                                                          property eventActionsTemplate

                                                                                                                                                                                                                                                                          eventActionsTemplate: TemplateRef<any>;
                                                                                                                                                                                                                                                                          • A custom template to use for event actions

                                                                                                                                                                                                                                                                          property eventClicked

                                                                                                                                                                                                                                                                          eventClicked: EventEmitter<{
                                                                                                                                                                                                                                                                          event: CalendarEvent;
                                                                                                                                                                                                                                                                          sourceEvent: MouseEvent | KeyboardEvent;
                                                                                                                                                                                                                                                                          }>;
                                                                                                                                                                                                                                                                          • Called when an event title is clicked

                                                                                                                                                                                                                                                                          property eventDragEnterByType

                                                                                                                                                                                                                                                                          eventDragEnterByType: { allDay: number; time: number };

                                                                                                                                                                                                                                                                          property events

                                                                                                                                                                                                                                                                          events: CalendarEvent[];
                                                                                                                                                                                                                                                                          • An array of events to display on view The schema is available here: https://github.com/mattlewis92/calendar-utils/blob/c51689985f59a271940e30bc4e2c4e1fee3fcb5c/src/calendarUtils.ts#L49-L63

                                                                                                                                                                                                                                                                          property eventSnapSize

                                                                                                                                                                                                                                                                          eventSnapSize: number;
                                                                                                                                                                                                                                                                          • The grid size to snap resizing and dragging of hourly events to

                                                                                                                                                                                                                                                                          property eventTemplate

                                                                                                                                                                                                                                                                          eventTemplate: TemplateRef<any>;
                                                                                                                                                                                                                                                                          • A custom template to use for week view events

                                                                                                                                                                                                                                                                          property eventTimesChanged

                                                                                                                                                                                                                                                                          eventTimesChanged: EventEmitter<CalendarEventTimesChangedEvent<any>>;
                                                                                                                                                                                                                                                                          • Called when an event is resized or dragged and dropped

                                                                                                                                                                                                                                                                          property eventTitleTemplate

                                                                                                                                                                                                                                                                          eventTitleTemplate: TemplateRef<any>;
                                                                                                                                                                                                                                                                          • A custom template to use for event titles

                                                                                                                                                                                                                                                                          property excludeDays

                                                                                                                                                                                                                                                                          excludeDays: number[];
                                                                                                                                                                                                                                                                          • An array of day indexes (0 = sunday, 1 = monday etc) that will be hidden on the view

                                                                                                                                                                                                                                                                          property headerTemplate

                                                                                                                                                                                                                                                                          headerTemplate: TemplateRef<any>;
                                                                                                                                                                                                                                                                          • A custom template to use to replace the header

                                                                                                                                                                                                                                                                          property hourDuration

                                                                                                                                                                                                                                                                          hourDuration: number;
                                                                                                                                                                                                                                                                          • The duration of each segment group in minutes

                                                                                                                                                                                                                                                                          property hourSegmentClicked

                                                                                                                                                                                                                                                                          hourSegmentClicked: EventEmitter<{ date: Date; sourceEvent: MouseEvent }>;
                                                                                                                                                                                                                                                                          • Called when an hour segment is clicked

                                                                                                                                                                                                                                                                          property hourSegmentHeight

                                                                                                                                                                                                                                                                          hourSegmentHeight: number;
                                                                                                                                                                                                                                                                          • The height in pixels of each hour segment

                                                                                                                                                                                                                                                                          property hourSegments

                                                                                                                                                                                                                                                                          hourSegments: number;
                                                                                                                                                                                                                                                                          • The number of segments in an hour. Must divide equally into 60.

                                                                                                                                                                                                                                                                          property hourSegmentTemplate

                                                                                                                                                                                                                                                                          hourSegmentTemplate: TemplateRef<any>;
                                                                                                                                                                                                                                                                          • A custom template to use to replace the hour segment

                                                                                                                                                                                                                                                                          property lastDraggedEvent

                                                                                                                                                                                                                                                                          lastDraggedEvent: CalendarEvent;

                                                                                                                                                                                                                                                                          property locale

                                                                                                                                                                                                                                                                          locale: string;
                                                                                                                                                                                                                                                                          • The locale used to format dates

                                                                                                                                                                                                                                                                          property minimumEventHeight

                                                                                                                                                                                                                                                                          minimumEventHeight: number;
                                                                                                                                                                                                                                                                          • The minimum height in pixels of each event

                                                                                                                                                                                                                                                                          property ɵcmp

                                                                                                                                                                                                                                                                          static ɵcmp: i0.ɵɵComponentDeclaration<
                                                                                                                                                                                                                                                                          CalendarWeekViewComponent,
                                                                                                                                                                                                                                                                          'mwl-calendar-week-view',
                                                                                                                                                                                                                                                                          never,
                                                                                                                                                                                                                                                                          {
                                                                                                                                                                                                                                                                          viewDate: { alias: 'viewDate'; required: false };
                                                                                                                                                                                                                                                                          events: { alias: 'events'; required: false };
                                                                                                                                                                                                                                                                          excludeDays: { alias: 'excludeDays'; required: false };
                                                                                                                                                                                                                                                                          refresh: { alias: 'refresh'; required: false };
                                                                                                                                                                                                                                                                          locale: { alias: 'locale'; required: false };
                                                                                                                                                                                                                                                                          tooltipPlacement: { alias: 'tooltipPlacement'; required: false };
                                                                                                                                                                                                                                                                          tooltipTemplate: { alias: 'tooltipTemplate'; required: false };
                                                                                                                                                                                                                                                                          tooltipAppendToBody: { alias: 'tooltipAppendToBody'; required: false };
                                                                                                                                                                                                                                                                          tooltipDelay: { alias: 'tooltipDelay'; required: false };
                                                                                                                                                                                                                                                                          weekStartsOn: { alias: 'weekStartsOn'; required: false };
                                                                                                                                                                                                                                                                          headerTemplate: { alias: 'headerTemplate'; required: false };
                                                                                                                                                                                                                                                                          eventTemplate: { alias: 'eventTemplate'; required: false };
                                                                                                                                                                                                                                                                          eventTitleTemplate: { alias: 'eventTitleTemplate'; required: false };
                                                                                                                                                                                                                                                                          eventActionsTemplate: { alias: 'eventActionsTemplate'; required: false };
                                                                                                                                                                                                                                                                          precision: { alias: 'precision'; required: false };
                                                                                                                                                                                                                                                                          weekendDays: { alias: 'weekendDays'; required: false };
                                                                                                                                                                                                                                                                          snapDraggedEvents: { alias: 'snapDraggedEvents'; required: false };
                                                                                                                                                                                                                                                                          hourSegments: { alias: 'hourSegments'; required: false };
                                                                                                                                                                                                                                                                          hourDuration: { alias: 'hourDuration'; required: false };
                                                                                                                                                                                                                                                                          hourSegmentHeight: { alias: 'hourSegmentHeight'; required: false };
                                                                                                                                                                                                                                                                          minimumEventHeight: { alias: 'minimumEventHeight'; required: false };
                                                                                                                                                                                                                                                                          dayStartHour: { alias: 'dayStartHour'; required: false };
                                                                                                                                                                                                                                                                          dayStartMinute: { alias: 'dayStartMinute'; required: false };
                                                                                                                                                                                                                                                                          dayEndHour: { alias: 'dayEndHour'; required: false };
                                                                                                                                                                                                                                                                          dayEndMinute: { alias: 'dayEndMinute'; required: false };
                                                                                                                                                                                                                                                                          hourSegmentTemplate: { alias: 'hourSegmentTemplate'; required: false };
                                                                                                                                                                                                                                                                          eventSnapSize: { alias: 'eventSnapSize'; required: false };
                                                                                                                                                                                                                                                                          allDayEventsLabelTemplate: {
                                                                                                                                                                                                                                                                          alias: 'allDayEventsLabelTemplate';
                                                                                                                                                                                                                                                                          required: false;
                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                          daysInWeek: { alias: 'daysInWeek'; required: false };
                                                                                                                                                                                                                                                                          currentTimeMarkerTemplate: {
                                                                                                                                                                                                                                                                          alias: 'currentTimeMarkerTemplate';
                                                                                                                                                                                                                                                                          required: false;
                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                          validateEventTimesChanged: {
                                                                                                                                                                                                                                                                          alias: 'validateEventTimesChanged';
                                                                                                                                                                                                                                                                          required: false;
                                                                                                                                                                                                                                                                          };
                                                                                                                                                                                                                                                                          resizeCursors: { alias: 'resizeCursors'; required: false };
                                                                                                                                                                                                                                                                          },
                                                                                                                                                                                                                                                                          {
                                                                                                                                                                                                                                                                          dayHeaderClicked: 'dayHeaderClicked';
                                                                                                                                                                                                                                                                          eventClicked: 'eventClicked';
                                                                                                                                                                                                                                                                          eventTimesChanged: 'eventTimesChanged';
                                                                                                                                                                                                                                                                          beforeViewRender: 'beforeViewRender';
                                                                                                                                                                                                                                                                          hourSegmentClicked: 'hourSegmentClicked';
                                                                                                                                                                                                                                                                          },
                                                                                                                                                                                                                                                                          never,
                                                                                                                                                                                                                                                                          never,
                                                                                                                                                                                                                                                                          true,
                                                                                                                                                                                                                                                                          never
                                                                                                                                                                                                                                                                          >;

                                                                                                                                                                                                                                                                            property ɵfac

                                                                                                                                                                                                                                                                            static ɵfac: i0.ɵɵFactoryDeclaration<CalendarWeekViewComponent, never>;

                                                                                                                                                                                                                                                                              property precision

                                                                                                                                                                                                                                                                              precision: 'days' | 'minutes';
                                                                                                                                                                                                                                                                              • The precision to display events. days will round event start and end dates to the nearest day and minutes will not do this rounding

                                                                                                                                                                                                                                                                              property refresh

                                                                                                                                                                                                                                                                              refresh: Subject<any>;
                                                                                                                                                                                                                                                                              • An observable that when emitted on will re-render the current view

                                                                                                                                                                                                                                                                              property refreshSubscription

                                                                                                                                                                                                                                                                              refreshSubscription: Subscription;

                                                                                                                                                                                                                                                                              property resizeCursors

                                                                                                                                                                                                                                                                              resizeCursors: Partial<Pick<ResizeCursors, 'leftOrRight' | 'topOrBottom'>>;
                                                                                                                                                                                                                                                                              • Customise the document cursor when dragging to resize an event

                                                                                                                                                                                                                                                                              property rtl

                                                                                                                                                                                                                                                                              rtl: boolean;

                                                                                                                                                                                                                                                                              property snapDraggedEvents

                                                                                                                                                                                                                                                                              snapDraggedEvents: boolean;
                                                                                                                                                                                                                                                                              • Whether to snap events to a grid when dragging

                                                                                                                                                                                                                                                                              property timeEventResizes

                                                                                                                                                                                                                                                                              timeEventResizes: Map<CalendarEvent, ResizeEvent>;

                                                                                                                                                                                                                                                                              property tooltipAppendToBody

                                                                                                                                                                                                                                                                              tooltipAppendToBody: boolean;
                                                                                                                                                                                                                                                                              • Whether to append tooltips to the body or next to the trigger element

                                                                                                                                                                                                                                                                              property tooltipDelay

                                                                                                                                                                                                                                                                              tooltipDelay: number;
                                                                                                                                                                                                                                                                              • The delay in milliseconds before the tooltip should be displayed. If not provided the tooltip will be displayed immediately.

                                                                                                                                                                                                                                                                              property tooltipPlacement

                                                                                                                                                                                                                                                                              tooltipPlacement: PlacementArray;
                                                                                                                                                                                                                                                                              • The placement of the event tooltip

                                                                                                                                                                                                                                                                              property tooltipTemplate

                                                                                                                                                                                                                                                                              tooltipTemplate: TemplateRef<any>;
                                                                                                                                                                                                                                                                              • A custom template to use for the event tooltips

                                                                                                                                                                                                                                                                              property utils

                                                                                                                                                                                                                                                                              protected utils: CalendarUtils;

                                                                                                                                                                                                                                                                              property validateDrag

                                                                                                                                                                                                                                                                              validateDrag: ValidateDrag;

                                                                                                                                                                                                                                                                              property validateEventTimesChanged

                                                                                                                                                                                                                                                                              validateEventTimesChanged: (event: CalendarEventTimesChangedEvent) => boolean;
                                                                                                                                                                                                                                                                              • Allow you to customise where events can be dragged and resized to. Return true to allow dragging and resizing to the new location, or false to prevent it

                                                                                                                                                                                                                                                                              property validateResize

                                                                                                                                                                                                                                                                              validateResize: (args: any) => boolean;

                                                                                                                                                                                                                                                                              property view

                                                                                                                                                                                                                                                                              view: WeekView;

                                                                                                                                                                                                                                                                              property viewDate

                                                                                                                                                                                                                                                                              viewDate: Date;
                                                                                                                                                                                                                                                                              • The current view date

                                                                                                                                                                                                                                                                              property weekendDays

                                                                                                                                                                                                                                                                              weekendDays: number[];
                                                                                                                                                                                                                                                                              • An array of day indexes (0 = sunday, 1 = monday etc) that indicate which days are weekends

                                                                                                                                                                                                                                                                              property weekStartsOn

                                                                                                                                                                                                                                                                              weekStartsOn: number;
                                                                                                                                                                                                                                                                              • The start number of the week. This is ignored when the daysInWeek input is also set as the viewDate will be used as the start of the week instead. Note, you should also pass this to the calendar title pipe so it shows the same days: {{ viewDate | calendarDate:(view + 'ViewTitle'):locale:weekStartsOn }} If using the moment date adapter this option won't do anything and you'll need to set it globally like so:

                                                                                                                                                                                                                                                                                moment.updateLocale('en', {
                                                                                                                                                                                                                                                                                week: {
                                                                                                                                                                                                                                                                                dow: 1, // set start of week to monday instead
                                                                                                                                                                                                                                                                                doy: 0,
                                                                                                                                                                                                                                                                                },
                                                                                                                                                                                                                                                                                });

                                                                                                                                                                                                                                                                              method allDayEventDragMove

                                                                                                                                                                                                                                                                              allDayEventDragMove: () => void;

                                                                                                                                                                                                                                                                              method allDayEventResizeEnded

                                                                                                                                                                                                                                                                              allDayEventResizeEnded: (allDayEvent: WeekViewAllDayEvent) => void;

                                                                                                                                                                                                                                                                              method allDayEventResizeStarted

                                                                                                                                                                                                                                                                              allDayEventResizeStarted: (
                                                                                                                                                                                                                                                                              allDayEventsContainer: HTMLElement,
                                                                                                                                                                                                                                                                              allDayEvent: WeekViewAllDayEvent,
                                                                                                                                                                                                                                                                              resizeEvent: ResizeEvent
                                                                                                                                                                                                                                                                              ) => void;

                                                                                                                                                                                                                                                                              method allDayEventResizing

                                                                                                                                                                                                                                                                              allDayEventResizing: (
                                                                                                                                                                                                                                                                              allDayEvent: WeekViewAllDayEvent,
                                                                                                                                                                                                                                                                              resizeEvent: ResizeEvent,
                                                                                                                                                                                                                                                                              dayWidth: number
                                                                                                                                                                                                                                                                              ) => void;

                                                                                                                                                                                                                                                                              method dateDragEnter

                                                                                                                                                                                                                                                                              dateDragEnter: (date: Date) => void;

                                                                                                                                                                                                                                                                              method dragEnded

                                                                                                                                                                                                                                                                              dragEnded: (
                                                                                                                                                                                                                                                                              weekEvent: WeekViewAllDayEvent | WeekViewTimeEvent,
                                                                                                                                                                                                                                                                              dragEndEvent: DragEndEvent,
                                                                                                                                                                                                                                                                              dayWidth: number,
                                                                                                                                                                                                                                                                              useY?: boolean
                                                                                                                                                                                                                                                                              ) => void;

                                                                                                                                                                                                                                                                              method dragEnter

                                                                                                                                                                                                                                                                              dragEnter: (type: 'allDay' | 'time') => void;

                                                                                                                                                                                                                                                                              method dragLeave

                                                                                                                                                                                                                                                                              dragLeave: (type: 'allDay' | 'time') => void;

                                                                                                                                                                                                                                                                              method dragMove

                                                                                                                                                                                                                                                                              dragMove: (dayEvent: WeekViewTimeEvent, dragEvent: DragMoveEvent) => void;

                                                                                                                                                                                                                                                                              method dragStarted

                                                                                                                                                                                                                                                                              dragStarted: (
                                                                                                                                                                                                                                                                              eventsContainerElement: HTMLElement,
                                                                                                                                                                                                                                                                              eventElement: HTMLElement,
                                                                                                                                                                                                                                                                              event: WeekViewTimeEvent | WeekViewAllDayEvent,
                                                                                                                                                                                                                                                                              useY: boolean
                                                                                                                                                                                                                                                                              ) => void;

                                                                                                                                                                                                                                                                              method emitBeforeViewRender

                                                                                                                                                                                                                                                                              protected emitBeforeViewRender: () => void;

                                                                                                                                                                                                                                                                                method eventDropped

                                                                                                                                                                                                                                                                                eventDropped: (
                                                                                                                                                                                                                                                                                dropEvent: Pick<
                                                                                                                                                                                                                                                                                DropEvent<{ event?: CalendarEvent; calendarId?: symbol }>,
                                                                                                                                                                                                                                                                                'dropData'
                                                                                                                                                                                                                                                                                >,
                                                                                                                                                                                                                                                                                date: Date,
                                                                                                                                                                                                                                                                                allDay: boolean
                                                                                                                                                                                                                                                                                ) => void;

                                                                                                                                                                                                                                                                                method getAllDayEventResizedDates

                                                                                                                                                                                                                                                                                protected getAllDayEventResizedDates: (
                                                                                                                                                                                                                                                                                event: CalendarEvent,
                                                                                                                                                                                                                                                                                daysDiff: number,
                                                                                                                                                                                                                                                                                beforeStart: boolean
                                                                                                                                                                                                                                                                                ) => { start: Date; end: Date };

                                                                                                                                                                                                                                                                                method getDayColumnWidth

                                                                                                                                                                                                                                                                                getDayColumnWidth: (eventRowContainer: HTMLElement) => number;

                                                                                                                                                                                                                                                                                method getDragMovedEventTimes

                                                                                                                                                                                                                                                                                protected getDragMovedEventTimes: (
                                                                                                                                                                                                                                                                                weekEvent: WeekViewAllDayEvent | WeekViewTimeEvent,
                                                                                                                                                                                                                                                                                dragEndEvent: DragEndEvent | DragMoveEvent,
                                                                                                                                                                                                                                                                                dayWidth: number,
                                                                                                                                                                                                                                                                                useY: boolean
                                                                                                                                                                                                                                                                                ) => { start: Date; end: Date };

                                                                                                                                                                                                                                                                                  method getTimeEventResizedDates

                                                                                                                                                                                                                                                                                  protected getTimeEventResizedDates: (
                                                                                                                                                                                                                                                                                  calendarEvent: CalendarEvent,
                                                                                                                                                                                                                                                                                  resizeEvent: ResizeEvent
                                                                                                                                                                                                                                                                                  ) => { start: Date; end: Date };

                                                                                                                                                                                                                                                                                    method getWeekView

                                                                                                                                                                                                                                                                                    protected getWeekView: (events: CalendarEvent[]) => WeekView;

                                                                                                                                                                                                                                                                                      method ngAfterViewInit

                                                                                                                                                                                                                                                                                      ngAfterViewInit: () => void;

                                                                                                                                                                                                                                                                                      method ngOnChanges

                                                                                                                                                                                                                                                                                      ngOnChanges: (changes: any) => void;

                                                                                                                                                                                                                                                                                      method ngOnDestroy

                                                                                                                                                                                                                                                                                      ngOnDestroy: () => void;

                                                                                                                                                                                                                                                                                      method ngOnInit

                                                                                                                                                                                                                                                                                      ngOnInit: () => void;

                                                                                                                                                                                                                                                                                      method refreshAll

                                                                                                                                                                                                                                                                                      protected refreshAll: () => void;

                                                                                                                                                                                                                                                                                        method refreshBody

                                                                                                                                                                                                                                                                                        protected refreshBody: () => void;

                                                                                                                                                                                                                                                                                          method refreshHeader

                                                                                                                                                                                                                                                                                          protected refreshHeader: () => void;

                                                                                                                                                                                                                                                                                            method resizeStarted

                                                                                                                                                                                                                                                                                            protected resizeStarted: (
                                                                                                                                                                                                                                                                                            eventsContainer: HTMLElement,
                                                                                                                                                                                                                                                                                            event: WeekViewTimeEvent | WeekViewAllDayEvent,
                                                                                                                                                                                                                                                                                            dayWidth?: number
                                                                                                                                                                                                                                                                                            ) => void;

                                                                                                                                                                                                                                                                                              method restoreOriginalEvents

                                                                                                                                                                                                                                                                                              protected restoreOriginalEvents: (
                                                                                                                                                                                                                                                                                              tempEvents: CalendarEvent[],
                                                                                                                                                                                                                                                                                              adjustedEvents: Map<CalendarEvent, CalendarEvent>,
                                                                                                                                                                                                                                                                                              snapDraggedEvents?: boolean
                                                                                                                                                                                                                                                                                              ) => void;

                                                                                                                                                                                                                                                                                                method timeEventResizeEnded

                                                                                                                                                                                                                                                                                                timeEventResizeEnded: (timeEvent: WeekViewTimeEvent) => void;

                                                                                                                                                                                                                                                                                                method timeEventResizeStarted

                                                                                                                                                                                                                                                                                                timeEventResizeStarted: (
                                                                                                                                                                                                                                                                                                eventsContainer: HTMLElement,
                                                                                                                                                                                                                                                                                                timeEvent: WeekViewTimeEvent,
                                                                                                                                                                                                                                                                                                resizeEvent: ResizeEvent
                                                                                                                                                                                                                                                                                                ) => void;

                                                                                                                                                                                                                                                                                                method timeEventResizing

                                                                                                                                                                                                                                                                                                timeEventResizing: (
                                                                                                                                                                                                                                                                                                timeEvent: WeekViewTimeEvent,
                                                                                                                                                                                                                                                                                                resizeEvent: ResizeEvent
                                                                                                                                                                                                                                                                                                ) => void;

                                                                                                                                                                                                                                                                                                class CalendarWeekViewCurrentTimeMarkerComponent

                                                                                                                                                                                                                                                                                                class CalendarWeekViewCurrentTimeMarkerComponent implements OnChanges {}

                                                                                                                                                                                                                                                                                                  property columnDate

                                                                                                                                                                                                                                                                                                  columnDate: Date;

                                                                                                                                                                                                                                                                                                    property columnDate$

                                                                                                                                                                                                                                                                                                    columnDate$: BehaviorSubject<Date>;

                                                                                                                                                                                                                                                                                                      property customTemplate

                                                                                                                                                                                                                                                                                                      customTemplate: TemplateRef<any>;

                                                                                                                                                                                                                                                                                                        property dayEndHour

                                                                                                                                                                                                                                                                                                        dayEndHour: number;

                                                                                                                                                                                                                                                                                                          property dayEndMinute

                                                                                                                                                                                                                                                                                                          dayEndMinute: number;

                                                                                                                                                                                                                                                                                                            property dayStartHour

                                                                                                                                                                                                                                                                                                            dayStartHour: number;

                                                                                                                                                                                                                                                                                                              property dayStartMinute

                                                                                                                                                                                                                                                                                                              dayStartMinute: number;

                                                                                                                                                                                                                                                                                                                property hourDuration

                                                                                                                                                                                                                                                                                                                hourDuration: number;

                                                                                                                                                                                                                                                                                                                  property hourSegmentHeight

                                                                                                                                                                                                                                                                                                                  hourSegmentHeight: number;

                                                                                                                                                                                                                                                                                                                    property hourSegments

                                                                                                                                                                                                                                                                                                                    hourSegments: number;

                                                                                                                                                                                                                                                                                                                      property marker$

                                                                                                                                                                                                                                                                                                                      marker$: Observable<{ isVisible: boolean; top: number }>;

                                                                                                                                                                                                                                                                                                                        property ɵcmp

                                                                                                                                                                                                                                                                                                                        static ɵcmp: i0.ɵɵComponentDeclaration<
                                                                                                                                                                                                                                                                                                                        CalendarWeekViewCurrentTimeMarkerComponent,
                                                                                                                                                                                                                                                                                                                        'mwl-calendar-week-view-current-time-marker',
                                                                                                                                                                                                                                                                                                                        never,
                                                                                                                                                                                                                                                                                                                        {
                                                                                                                                                                                                                                                                                                                        columnDate: { alias: 'columnDate'; required: false };
                                                                                                                                                                                                                                                                                                                        dayStartHour: { alias: 'dayStartHour'; required: false };
                                                                                                                                                                                                                                                                                                                        dayStartMinute: { alias: 'dayStartMinute'; required: false };
                                                                                                                                                                                                                                                                                                                        dayEndHour: { alias: 'dayEndHour'; required: false };
                                                                                                                                                                                                                                                                                                                        dayEndMinute: { alias: 'dayEndMinute'; required: false };
                                                                                                                                                                                                                                                                                                                        hourSegments: { alias: 'hourSegments'; required: false };
                                                                                                                                                                                                                                                                                                                        hourDuration: { alias: 'hourDuration'; required: false };
                                                                                                                                                                                                                                                                                                                        hourSegmentHeight: { alias: 'hourSegmentHeight'; required: false };
                                                                                                                                                                                                                                                                                                                        customTemplate: { alias: 'customTemplate'; required: false };
                                                                                                                                                                                                                                                                                                                        },
                                                                                                                                                                                                                                                                                                                        {},
                                                                                                                                                                                                                                                                                                                        never,
                                                                                                                                                                                                                                                                                                                        never,
                                                                                                                                                                                                                                                                                                                        true,
                                                                                                                                                                                                                                                                                                                        never
                                                                                                                                                                                                                                                                                                                        >;

                                                                                                                                                                                                                                                                                                                          property ɵfac

                                                                                                                                                                                                                                                                                                                          static ɵfac: i0.ɵɵFactoryDeclaration<
                                                                                                                                                                                                                                                                                                                          CalendarWeekViewCurrentTimeMarkerComponent,
                                                                                                                                                                                                                                                                                                                          never
                                                                                                                                                                                                                                                                                                                          >;

                                                                                                                                                                                                                                                                                                                            method ngOnChanges

                                                                                                                                                                                                                                                                                                                            ngOnChanges: (changes: SimpleChanges) => void;

                                                                                                                                                                                                                                                                                                                              class CalendarWeekViewEventComponent

                                                                                                                                                                                                                                                                                                                              class CalendarWeekViewEventComponent {}

                                                                                                                                                                                                                                                                                                                                property column

                                                                                                                                                                                                                                                                                                                                column: WeekViewHourColumn;

                                                                                                                                                                                                                                                                                                                                  property customTemplate

                                                                                                                                                                                                                                                                                                                                  customTemplate: TemplateRef<any>;

                                                                                                                                                                                                                                                                                                                                    property daysInWeek

                                                                                                                                                                                                                                                                                                                                    daysInWeek: number;

                                                                                                                                                                                                                                                                                                                                      property eventActionsTemplate

                                                                                                                                                                                                                                                                                                                                      eventActionsTemplate: TemplateRef<any>;

                                                                                                                                                                                                                                                                                                                                        property eventClicked

                                                                                                                                                                                                                                                                                                                                        eventClicked: EventEmitter<{ sourceEvent: MouseEvent | KeyboardEvent }>;

                                                                                                                                                                                                                                                                                                                                          property eventTitleTemplate

                                                                                                                                                                                                                                                                                                                                          eventTitleTemplate: TemplateRef<any>;

                                                                                                                                                                                                                                                                                                                                            property locale

                                                                                                                                                                                                                                                                                                                                            locale: string;

                                                                                                                                                                                                                                                                                                                                              property ɵcmp

                                                                                                                                                                                                                                                                                                                                              static ɵcmp: i0.ɵɵComponentDeclaration<
                                                                                                                                                                                                                                                                                                                                              CalendarWeekViewEventComponent,
                                                                                                                                                                                                                                                                                                                                              'mwl-calendar-week-view-event',
                                                                                                                                                                                                                                                                                                                                              never,
                                                                                                                                                                                                                                                                                                                                              {
                                                                                                                                                                                                                                                                                                                                              locale: { alias: 'locale'; required: false };
                                                                                                                                                                                                                                                                                                                                              weekEvent: { alias: 'weekEvent'; required: false };
                                                                                                                                                                                                                                                                                                                                              tooltipPlacement: { alias: 'tooltipPlacement'; required: false };
                                                                                                                                                                                                                                                                                                                                              tooltipAppendToBody: { alias: 'tooltipAppendToBody'; required: false };
                                                                                                                                                                                                                                                                                                                                              tooltipDisabled: { alias: 'tooltipDisabled'; required: false };
                                                                                                                                                                                                                                                                                                                                              tooltipDelay: { alias: 'tooltipDelay'; required: false };
                                                                                                                                                                                                                                                                                                                                              customTemplate: { alias: 'customTemplate'; required: false };
                                                                                                                                                                                                                                                                                                                                              eventTitleTemplate: { alias: 'eventTitleTemplate'; required: false };
                                                                                                                                                                                                                                                                                                                                              eventActionsTemplate: { alias: 'eventActionsTemplate'; required: false };
                                                                                                                                                                                                                                                                                                                                              tooltipTemplate: { alias: 'tooltipTemplate'; required: false };
                                                                                                                                                                                                                                                                                                                                              column: { alias: 'column'; required: false };
                                                                                                                                                                                                                                                                                                                                              daysInWeek: { alias: 'daysInWeek'; required: false };
                                                                                                                                                                                                                                                                                                                                              },
                                                                                                                                                                                                                                                                                                                                              { eventClicked: 'eventClicked' },
                                                                                                                                                                                                                                                                                                                                              never,
                                                                                                                                                                                                                                                                                                                                              never,
                                                                                                                                                                                                                                                                                                                                              true,
                                                                                                                                                                                                                                                                                                                                              never
                                                                                                                                                                                                                                                                                                                                              >;

                                                                                                                                                                                                                                                                                                                                                property ɵfac

                                                                                                                                                                                                                                                                                                                                                static ɵfac: i0.ɵɵFactoryDeclaration<CalendarWeekViewEventComponent, never>;

                                                                                                                                                                                                                                                                                                                                                  property tooltipAppendToBody

                                                                                                                                                                                                                                                                                                                                                  tooltipAppendToBody: boolean;

                                                                                                                                                                                                                                                                                                                                                    property tooltipDelay

                                                                                                                                                                                                                                                                                                                                                    tooltipDelay: number;

                                                                                                                                                                                                                                                                                                                                                      property tooltipDisabled

                                                                                                                                                                                                                                                                                                                                                      tooltipDisabled: boolean;

                                                                                                                                                                                                                                                                                                                                                        property tooltipPlacement

                                                                                                                                                                                                                                                                                                                                                        tooltipPlacement: PlacementArray;

                                                                                                                                                                                                                                                                                                                                                          property tooltipTemplate

                                                                                                                                                                                                                                                                                                                                                          tooltipTemplate: TemplateRef<any>;

                                                                                                                                                                                                                                                                                                                                                            property weekEvent

                                                                                                                                                                                                                                                                                                                                                            weekEvent: any;

                                                                                                                                                                                                                                                                                                                                                              class CalendarWeekViewHeaderComponent

                                                                                                                                                                                                                                                                                                                                                              class CalendarWeekViewHeaderComponent {}

                                                                                                                                                                                                                                                                                                                                                                property customTemplate

                                                                                                                                                                                                                                                                                                                                                                customTemplate: TemplateRef<any>;

                                                                                                                                                                                                                                                                                                                                                                  property dayHeaderClicked

                                                                                                                                                                                                                                                                                                                                                                  dayHeaderClicked: EventEmitter<{ day: WeekDay; sourceEvent: MouseEvent }>;

                                                                                                                                                                                                                                                                                                                                                                    property days

                                                                                                                                                                                                                                                                                                                                                                    days: WeekDay[];

                                                                                                                                                                                                                                                                                                                                                                      property dragEnter

                                                                                                                                                                                                                                                                                                                                                                      dragEnter: EventEmitter<{ date: Date }>;

                                                                                                                                                                                                                                                                                                                                                                        property eventDropped

                                                                                                                                                                                                                                                                                                                                                                        eventDropped: EventEmitter<{ event: CalendarEvent; newStart: Date }>;

                                                                                                                                                                                                                                                                                                                                                                          property locale

                                                                                                                                                                                                                                                                                                                                                                          locale: string;

                                                                                                                                                                                                                                                                                                                                                                            property ɵcmp

                                                                                                                                                                                                                                                                                                                                                                            static ɵcmp: i0.ɵɵComponentDeclaration<
                                                                                                                                                                                                                                                                                                                                                                            CalendarWeekViewHeaderComponent,
                                                                                                                                                                                                                                                                                                                                                                            'mwl-calendar-week-view-header',
                                                                                                                                                                                                                                                                                                                                                                            never,
                                                                                                                                                                                                                                                                                                                                                                            {
                                                                                                                                                                                                                                                                                                                                                                            days: { alias: 'days'; required: false };
                                                                                                                                                                                                                                                                                                                                                                            locale: { alias: 'locale'; required: false };
                                                                                                                                                                                                                                                                                                                                                                            customTemplate: { alias: 'customTemplate'; required: false };
                                                                                                                                                                                                                                                                                                                                                                            },
                                                                                                                                                                                                                                                                                                                                                                            {
                                                                                                                                                                                                                                                                                                                                                                            dayHeaderClicked: 'dayHeaderClicked';
                                                                                                                                                                                                                                                                                                                                                                            eventDropped: 'eventDropped';
                                                                                                                                                                                                                                                                                                                                                                            dragEnter: 'dragEnter';
                                                                                                                                                                                                                                                                                                                                                                            },
                                                                                                                                                                                                                                                                                                                                                                            never,
                                                                                                                                                                                                                                                                                                                                                                            never,
                                                                                                                                                                                                                                                                                                                                                                            true,
                                                                                                                                                                                                                                                                                                                                                                            never
                                                                                                                                                                                                                                                                                                                                                                            >;

                                                                                                                                                                                                                                                                                                                                                                              property ɵfac

                                                                                                                                                                                                                                                                                                                                                                              static ɵfac: i0.ɵɵFactoryDeclaration<CalendarWeekViewHeaderComponent, never>;

                                                                                                                                                                                                                                                                                                                                                                                class CalendarWeekViewHourSegmentComponent

                                                                                                                                                                                                                                                                                                                                                                                class CalendarWeekViewHourSegmentComponent {}

                                                                                                                                                                                                                                                                                                                                                                                  property customTemplate

                                                                                                                                                                                                                                                                                                                                                                                  customTemplate: TemplateRef<any>;

                                                                                                                                                                                                                                                                                                                                                                                    property daysInWeek

                                                                                                                                                                                                                                                                                                                                                                                    daysInWeek: number;

                                                                                                                                                                                                                                                                                                                                                                                      property isTimeLabel

                                                                                                                                                                                                                                                                                                                                                                                      isTimeLabel: boolean;

                                                                                                                                                                                                                                                                                                                                                                                        property locale

                                                                                                                                                                                                                                                                                                                                                                                        locale: string;

                                                                                                                                                                                                                                                                                                                                                                                          property ɵcmp

                                                                                                                                                                                                                                                                                                                                                                                          static ɵcmp: i0.ɵɵComponentDeclaration<
                                                                                                                                                                                                                                                                                                                                                                                          CalendarWeekViewHourSegmentComponent,
                                                                                                                                                                                                                                                                                                                                                                                          'mwl-calendar-week-view-hour-segment',
                                                                                                                                                                                                                                                                                                                                                                                          never,
                                                                                                                                                                                                                                                                                                                                                                                          {
                                                                                                                                                                                                                                                                                                                                                                                          segment: { alias: 'segment'; required: false };
                                                                                                                                                                                                                                                                                                                                                                                          segmentHeight: { alias: 'segmentHeight'; required: false };
                                                                                                                                                                                                                                                                                                                                                                                          locale: { alias: 'locale'; required: false };
                                                                                                                                                                                                                                                                                                                                                                                          isTimeLabel: { alias: 'isTimeLabel'; required: false };
                                                                                                                                                                                                                                                                                                                                                                                          daysInWeek: { alias: 'daysInWeek'; required: false };
                                                                                                                                                                                                                                                                                                                                                                                          customTemplate: { alias: 'customTemplate'; required: false };
                                                                                                                                                                                                                                                                                                                                                                                          },
                                                                                                                                                                                                                                                                                                                                                                                          {},
                                                                                                                                                                                                                                                                                                                                                                                          never,
                                                                                                                                                                                                                                                                                                                                                                                          never,
                                                                                                                                                                                                                                                                                                                                                                                          true,
                                                                                                                                                                                                                                                                                                                                                                                          never
                                                                                                                                                                                                                                                                                                                                                                                          >;

                                                                                                                                                                                                                                                                                                                                                                                            property ɵfac

                                                                                                                                                                                                                                                                                                                                                                                            static ɵfac: i0.ɵɵFactoryDeclaration<
                                                                                                                                                                                                                                                                                                                                                                                            CalendarWeekViewHourSegmentComponent,
                                                                                                                                                                                                                                                                                                                                                                                            never
                                                                                                                                                                                                                                                                                                                                                                                            >;

                                                                                                                                                                                                                                                                                                                                                                                              property segment

                                                                                                                                                                                                                                                                                                                                                                                              segment: WeekViewHourSegment;

                                                                                                                                                                                                                                                                                                                                                                                                property segmentHeight

                                                                                                                                                                                                                                                                                                                                                                                                segmentHeight: number;

                                                                                                                                                                                                                                                                                                                                                                                                  class ClickDirective

                                                                                                                                                                                                                                                                                                                                                                                                  class ClickDirective implements OnInit, OnDestroy {}

                                                                                                                                                                                                                                                                                                                                                                                                    property click

                                                                                                                                                                                                                                                                                                                                                                                                    click: EventEmitter<MouseEvent>;

                                                                                                                                                                                                                                                                                                                                                                                                      property clickListenerDisabled

                                                                                                                                                                                                                                                                                                                                                                                                      clickListenerDisabled: boolean;

                                                                                                                                                                                                                                                                                                                                                                                                        property ɵdir

                                                                                                                                                                                                                                                                                                                                                                                                        static ɵdir: i0.ɵɵDirectiveDeclaration<
                                                                                                                                                                                                                                                                                                                                                                                                        ClickDirective,
                                                                                                                                                                                                                                                                                                                                                                                                        '[mwlClick]',
                                                                                                                                                                                                                                                                                                                                                                                                        never,
                                                                                                                                                                                                                                                                                                                                                                                                        {
                                                                                                                                                                                                                                                                                                                                                                                                        clickListenerDisabled: {
                                                                                                                                                                                                                                                                                                                                                                                                        alias: 'clickListenerDisabled';
                                                                                                                                                                                                                                                                                                                                                                                                        required: false;
                                                                                                                                                                                                                                                                                                                                                                                                        };
                                                                                                                                                                                                                                                                                                                                                                                                        },
                                                                                                                                                                                                                                                                                                                                                                                                        { click: 'mwlClick' },
                                                                                                                                                                                                                                                                                                                                                                                                        never,
                                                                                                                                                                                                                                                                                                                                                                                                        never,
                                                                                                                                                                                                                                                                                                                                                                                                        true,
                                                                                                                                                                                                                                                                                                                                                                                                        never
                                                                                                                                                                                                                                                                                                                                                                                                        >;

                                                                                                                                                                                                                                                                                                                                                                                                          property ɵfac

                                                                                                                                                                                                                                                                                                                                                                                                          static ɵfac: i0.ɵɵFactoryDeclaration<ClickDirective, never>;

                                                                                                                                                                                                                                                                                                                                                                                                            method ngOnDestroy

                                                                                                                                                                                                                                                                                                                                                                                                            ngOnDestroy: () => void;

                                                                                                                                                                                                                                                                                                                                                                                                              method ngOnInit

                                                                                                                                                                                                                                                                                                                                                                                                              ngOnInit: () => void;

                                                                                                                                                                                                                                                                                                                                                                                                                class DateAdapter

                                                                                                                                                                                                                                                                                                                                                                                                                abstract class DateAdapter implements DateAdapter$1 {}

                                                                                                                                                                                                                                                                                                                                                                                                                  method addDays

                                                                                                                                                                                                                                                                                                                                                                                                                  abstract addDays: (date: Date | number, amount: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                    method addHours

                                                                                                                                                                                                                                                                                                                                                                                                                    abstract addHours: (date: Date | number, amount: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                      method addMinutes

                                                                                                                                                                                                                                                                                                                                                                                                                      abstract addMinutes: (date: Date | number, amount: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                        method addMonths

                                                                                                                                                                                                                                                                                                                                                                                                                        abstract addMonths: (date: Date | number, amount: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                          method addSeconds

                                                                                                                                                                                                                                                                                                                                                                                                                          abstract addSeconds: (date: Date | number, amount: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                            method addWeeks

                                                                                                                                                                                                                                                                                                                                                                                                                            abstract addWeeks: (date: Date | number, amount: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                              method differenceInDays

                                                                                                                                                                                                                                                                                                                                                                                                                              abstract differenceInDays: (
                                                                                                                                                                                                                                                                                                                                                                                                                              dateLeft: Date | number,
                                                                                                                                                                                                                                                                                                                                                                                                                              dateRight: Date | number
                                                                                                                                                                                                                                                                                                                                                                                                                              ) => number;

                                                                                                                                                                                                                                                                                                                                                                                                                                method differenceInMinutes

                                                                                                                                                                                                                                                                                                                                                                                                                                abstract differenceInMinutes: (
                                                                                                                                                                                                                                                                                                                                                                                                                                dateLeft: Date | number,
                                                                                                                                                                                                                                                                                                                                                                                                                                dateRight: Date | number
                                                                                                                                                                                                                                                                                                                                                                                                                                ) => number;

                                                                                                                                                                                                                                                                                                                                                                                                                                  method differenceInSeconds

                                                                                                                                                                                                                                                                                                                                                                                                                                  abstract differenceInSeconds: (
                                                                                                                                                                                                                                                                                                                                                                                                                                  dateLeft: Date | number,
                                                                                                                                                                                                                                                                                                                                                                                                                                  dateRight: Date | number
                                                                                                                                                                                                                                                                                                                                                                                                                                  ) => number;

                                                                                                                                                                                                                                                                                                                                                                                                                                    method endOfDay

                                                                                                                                                                                                                                                                                                                                                                                                                                    abstract endOfDay: (date: Date | number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                      method endOfMonth

                                                                                                                                                                                                                                                                                                                                                                                                                                      abstract endOfMonth: (date: Date | number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                        method endOfWeek

                                                                                                                                                                                                                                                                                                                                                                                                                                        abstract endOfWeek: (
                                                                                                                                                                                                                                                                                                                                                                                                                                        date: Date | number,
                                                                                                                                                                                                                                                                                                                                                                                                                                        options?: { weekStartsOn?: number }
                                                                                                                                                                                                                                                                                                                                                                                                                                        ) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                          method getDate

                                                                                                                                                                                                                                                                                                                                                                                                                                          abstract getDate: (date: Date | number) => number;

                                                                                                                                                                                                                                                                                                                                                                                                                                            method getDay

                                                                                                                                                                                                                                                                                                                                                                                                                                            abstract getDay: (date: Date | number) => number;

                                                                                                                                                                                                                                                                                                                                                                                                                                              method getHours

                                                                                                                                                                                                                                                                                                                                                                                                                                              abstract getHours: (date: Date | number) => number;

                                                                                                                                                                                                                                                                                                                                                                                                                                                method getISOWeek

                                                                                                                                                                                                                                                                                                                                                                                                                                                abstract getISOWeek: (date: Date | number) => number;

                                                                                                                                                                                                                                                                                                                                                                                                                                                  method getMinutes

                                                                                                                                                                                                                                                                                                                                                                                                                                                  abstract getMinutes: (date: Date | number) => number;

                                                                                                                                                                                                                                                                                                                                                                                                                                                    method getMonth

                                                                                                                                                                                                                                                                                                                                                                                                                                                    abstract getMonth: (date: Date | number) => number;

                                                                                                                                                                                                                                                                                                                                                                                                                                                      method getTimezoneOffset

                                                                                                                                                                                                                                                                                                                                                                                                                                                      abstract getTimezoneOffset: (date: Date | number) => number;

                                                                                                                                                                                                                                                                                                                                                                                                                                                        method getYear

                                                                                                                                                                                                                                                                                                                                                                                                                                                        abstract getYear: (date: Date | number) => number;

                                                                                                                                                                                                                                                                                                                                                                                                                                                          method isSameDay

                                                                                                                                                                                                                                                                                                                                                                                                                                                          abstract isSameDay: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                          dateLeft: Date | number,
                                                                                                                                                                                                                                                                                                                                                                                                                                                          dateRight: Date | number
                                                                                                                                                                                                                                                                                                                                                                                                                                                          ) => boolean;

                                                                                                                                                                                                                                                                                                                                                                                                                                                            method isSameMonth

                                                                                                                                                                                                                                                                                                                                                                                                                                                            abstract isSameMonth: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                            dateLeft: Date | number,
                                                                                                                                                                                                                                                                                                                                                                                                                                                            dateRight: Date | number
                                                                                                                                                                                                                                                                                                                                                                                                                                                            ) => boolean;

                                                                                                                                                                                                                                                                                                                                                                                                                                                              method isSameSecond

                                                                                                                                                                                                                                                                                                                                                                                                                                                              abstract isSameSecond: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                              dateLeft: Date | number,
                                                                                                                                                                                                                                                                                                                                                                                                                                                              dateRight: Date | number
                                                                                                                                                                                                                                                                                                                                                                                                                                                              ) => boolean;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                method max

                                                                                                                                                                                                                                                                                                                                                                                                                                                                abstract max: (dates: (Date | number)[]) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  method setDate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  abstract setDate: (date: Date | number, dayOfMonth: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    method setHours

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    abstract setHours: (date: Date | number, hours: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method setMinutes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      abstract setMinutes: (date: Date | number, minutes: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        method setMonth

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        abstract setMonth: (date: Date | number, month: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          method setYear

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          abstract setYear: (date: Date | number, year: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            method startOfDay

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            abstract startOfDay: (date: Date | number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              method startOfMinute

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              abstract startOfMinute: (date: Date | number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                method startOfMonth

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                abstract startOfMonth: (date: Date | number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  method startOfWeek

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  abstract startOfWeek: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  date: Date | number,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  options?: { weekStartsOn?: number }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    method subDays

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    abstract subDays: (date: Date | number, amount: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method subMonths

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      abstract subMonths: (date: Date | number, amount: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        method subWeeks

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        abstract subWeeks: (date: Date | number, amount: number) => Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          class KeydownEnterDirective

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          class KeydownEnterDirective implements OnInit, OnDestroy {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            property keydown

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            keydown: EventEmitter<KeyboardEvent>;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              property ɵdir

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              static ɵdir: i0.ɵɵDirectiveDeclaration<
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              KeydownEnterDirective,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              '[mwlKeydownEnter]',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              never,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              {},
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              { keydown: 'mwlKeydownEnter' },
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              never,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              never,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              never
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              >;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                property ɵfac

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                static ɵfac: i0.ɵɵFactoryDeclaration<KeydownEnterDirective, never>;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  method ngOnDestroy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ngOnDestroy: () => void;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    method ngOnInit

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ngOnInit: () => void;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Interfaces

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      interface A11yParams

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      interface A11yParams {}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • The parameters passed to the a11y methods.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      property action

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      action?: EventAction;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Action button label e.g. 'Edit'

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      property date

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      date?: Date;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • A date

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      property day

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      day?: MonthViewDay;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • A day in the month view

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      property event

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      event?: CalendarEvent;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • A calendar event

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      property locale

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      locale?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • Users preferred locale

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      interface CalendarDateFormatterInterface

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      interface CalendarDateFormatterInterface {}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • If using a completely custom date formatter then it should implement this interface.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method dayViewHour

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      dayViewHour: (params: DateFormatterParams) => string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • The time formatting down the left hand side of the day view

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method dayViewTitle

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      dayViewTitle: (params: DateFormatterParams) => string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • The day view title

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method monthViewColumnHeader

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      monthViewColumnHeader: (params: DateFormatterParams) => string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • The month view header week day labels

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method monthViewDayNumber

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      monthViewDayNumber: (params: DateFormatterParams) => string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • The month view cell day number

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method monthViewTitle

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      monthViewTitle: (params: DateFormatterParams) => string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • The month view title

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method weekViewColumnHeader

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      weekViewColumnHeader: (params: DateFormatterParams) => string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • The week view header week day labels

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method weekViewColumnSubHeader

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      weekViewColumnSubHeader: (params: DateFormatterParams) => string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • The week view sub header day and month labels

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method weekViewHour

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      weekViewHour: (params: DateFormatterParams) => string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • The time formatting down the left hand side of the day view

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      method weekViewTitle

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      weekViewTitle: (params: DateFormatterParams) => string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • The week view title

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      interface CalendarEventTimesChangedEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      interface CalendarEventTimesChangedEvent<MetaType = any> {}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • The output $event type when an event is resized or dragged and dropped.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      property allDay

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      allDay?: boolean;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        property event

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        event: CalendarEvent<MetaType>;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          property newEnd

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          newEnd?: Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            property newStart

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            newStart: Date;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              property type

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type: CalendarEventTimesChangedEventType;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                interface CalendarMonthViewBeforeRenderEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                interface CalendarMonthViewBeforeRenderEvent {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  property body

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  body: MonthViewDay[];

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    property header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    header: WeekDay[];

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      property period

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      period: ViewPeriod;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        interface CalendarMonthViewEventTimesChangedEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        interface CalendarMonthViewEventTimesChangedEvent<
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        EventMetaType = any,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DayMetaType = any
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        > extends CalendarEventTimesChangedEvent<EventMetaType> {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          property day

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          day: MonthViewDay<DayMetaType>;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            interface CalendarProviderConfig

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            interface CalendarProviderConfig {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              property a11y

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              a11y?: Provider;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                property dateFormatter

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                dateFormatter?: Provider;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  property eventTitleFormatter

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  eventTitleFormatter?: Provider;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    property utils

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    utils?: Provider;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      interface CalendarWeekViewBeforeRenderEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      interface CalendarWeekViewBeforeRenderEvent extends WeekView {}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        property header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        header: WeekDay[];

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          interface DateFormatterParams

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          interface DateFormatterParams {}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • The parameter type passed to the date formatter methods.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          property date

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          date: Date;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • The date to format.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          property daysInWeek

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          daysInWeek?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • The number of days in a week. Can be used to create a shorter or longer week view. The first day of the week will always be the viewDate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          property excludeDays

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          excludeDays?: number[];
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • An array of day indexes (0 = sunday, 1 = monday etc) that will be hidden on the view

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          property locale

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          locale?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • The users preferred locale.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          property weekStartsOn

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          weekStartsOn?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • The start day number of the week

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Enums

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          enum CalendarEventTimesChangedEventType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          enum CalendarEventTimesChangedEventType {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Drag = 'drag',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Drop = 'drop',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Resize = 'resize',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            member Drag

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Drag = 'drag'

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              member Drop

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Drop = 'drop'

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                member Resize

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Resize = 'resize'

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  enum CalendarView

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  enum CalendarView {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Month = 'month',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Week = 'week',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Day = 'day',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    member Day

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Day = 'day'

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      member Month

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Month = 'month'

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        member Week

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Week = 'week'

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Aliases

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type CalendarDayViewBeforeRenderEvent

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type CalendarDayViewBeforeRenderEvent = CalendarWeekViewBeforeRenderEvent;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Package Files (1)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Dependencies (4)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Dev Dependencies (0)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            No dev dependencies.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Peer Dependencies (5)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Badge

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/angular-calendar.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • Markdown
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/angular-calendar)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • HTML
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              <a href="https://www.jsdocs.io/package/angular-calendar"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>