UNPKG

5 kBTypeScriptView Raw
1import { ModuleWithProviders, Provider } from '@angular/core';
2import * as i0 from "@angular/core";
3import * as i1 from "./calendar-event-actions/calendar-event-actions.component";
4import * as i2 from "./calendar-event-title/calendar-event-title.component";
5import * as i3 from "./calendar-tooltip/calendar-tooltip.directive";
6import * as i4 from "./calendar-previous-view/calendar-previous-view.directive";
7import * as i5 from "./calendar-next-view/calendar-next-view.directive";
8import * as i6 from "./calendar-today/calendar-today.directive";
9import * as i7 from "./calendar-date/calendar-date.pipe";
10import * as i8 from "./calendar-event-title/calendar-event-title.pipe";
11import * as i9 from "./calendar-a11y/calendar-a11y.pipe";
12import * as i10 from "./click/click.directive";
13import * as i11 from "./keydown-enter/keydown-enter.directive";
14import * as i12 from "@angular/common";
15export interface CalendarModuleConfig {
16 eventTitleFormatter?: Provider;
17 dateFormatter?: Provider;
18 utils?: Provider;
19 a11y?: Provider;
20}
21export * from './calendar-event-title-formatter/calendar-event-title-formatter.provider';
22export * from './calendar-moment-date-formatter/calendar-moment-date-formatter.provider';
23export * from './calendar-native-date-formatter/calendar-native-date-formatter.provider';
24export * from './calendar-angular-date-formatter/calendar-angular-date-formatter.provider';
25export * from './calendar-date-formatter/calendar-date-formatter.provider';
26export * from './calendar-utils/calendar-utils.provider';
27export * from './calendar-a11y/calendar-a11y.provider';
28export * from './calendar-a11y/calendar-a11y.interface';
29export * from './calendar-date-formatter/calendar-date-formatter.interface';
30export * from './calendar-event-times-changed-event/calendar-event-times-changed-event.interface';
31export * from '../../date-adapters/date-adapter';
32export * from './calendar-view/calendar-view.enum';
33export { CalendarEventActionsComponent as ɵCalendarEventActionsComponent } from './calendar-event-actions/calendar-event-actions.component';
34export { CalendarEventTitleComponent as ɵCalendarEventTitleComponent } from './calendar-event-title/calendar-event-title.component';
35export { CalendarTooltipDirective as ɵCalendarTooltipDirective, CalendarTooltipWindowComponent as ɵCalendarTooltipWindowComponent, } from './calendar-tooltip/calendar-tooltip.directive';
36export { CalendarPreviousViewDirective as ɵCalendarPreviousViewDirective } from './calendar-previous-view/calendar-previous-view.directive';
37export { CalendarNextViewDirective as ɵCalendarNextViewDirective } from './calendar-next-view/calendar-next-view.directive';
38export { CalendarTodayDirective as ɵCalendarTodayDirective } from './calendar-today/calendar-today.directive';
39export { CalendarDatePipe as ɵCalendarDatePipe } from './calendar-date/calendar-date.pipe';
40export { CalendarEventTitlePipe as ɵCalendarEventTitlePipe } from './calendar-event-title/calendar-event-title.pipe';
41export { ClickDirective as ɵClickDirective } from './click/click.directive';
42export { KeydownEnterDirective as ɵKeydownEnterDirective } from './keydown-enter/keydown-enter.directive';
43export { CalendarA11yPipe as ɵCalendarA11yPipe } from './calendar-a11y/calendar-a11y.pipe';
44export { CalendarEvent, EventAction as CalendarEventAction, DAYS_OF_WEEK, ViewPeriod as CalendarViewPeriod, } from 'calendar-utils';
45/**
46 * Import this module to if you're just using a singular view and want to save on bundle size. Example usage:
47 *
48 * ```typescript
49 * import { CalendarCommonModule, CalendarMonthModule } from 'angular-calendar';
50 *
51 * @NgModule({
52 * imports: [
53 * CalendarCommonModule.forRoot(),
54 * CalendarMonthModule
55 * ]
56 * })
57 * class MyModule {}
58 * ```
59 *
60 */
61export declare class CalendarCommonModule {
62 static forRoot(dateAdapter: Provider, config?: CalendarModuleConfig): ModuleWithProviders<CalendarCommonModule>;
63 static ɵfac: i0.ɵɵFactoryDeclaration<CalendarCommonModule, never>;
64 static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarCommonModule, [typeof i1.CalendarEventActionsComponent, typeof i2.CalendarEventTitleComponent, typeof i3.CalendarTooltipWindowComponent, typeof i3.CalendarTooltipDirective, typeof i4.CalendarPreviousViewDirective, typeof i5.CalendarNextViewDirective, typeof i6.CalendarTodayDirective, typeof i7.CalendarDatePipe, typeof i8.CalendarEventTitlePipe, typeof i9.CalendarA11yPipe, typeof i10.ClickDirective, typeof i11.KeydownEnterDirective], [typeof i12.CommonModule], [typeof i1.CalendarEventActionsComponent, typeof i2.CalendarEventTitleComponent, typeof i3.CalendarTooltipWindowComponent, typeof i3.CalendarTooltipDirective, typeof i4.CalendarPreviousViewDirective, typeof i5.CalendarNextViewDirective, typeof i6.CalendarTodayDirective, typeof i7.CalendarDatePipe, typeof i8.CalendarEventTitlePipe, typeof i9.CalendarA11yPipe, typeof i10.ClickDirective, typeof i11.KeydownEnterDirective]>;
65 static ɵinj: i0.ɵɵInjectorDeclaration<CalendarCommonModule>;
66}