import { AfterContentChecked, OnDestroy, OnInit } from '@angular/core'; import { CollectionViewer, DataSource } from '@angular/cdk/collections'; import { BehaviorSubject, Observable } from 'rxjs'; import { Store } from '@ngrx/store'; import { CalendarView } from './calendar-modal/calendar-view/calendar-view'; import { CalendarEventInput } from './calendar-modal/calendar-event/calendar-event-input'; import { CalendarViewPortService } from './service/calendar-view-port.service'; import { CalendarServiceConfig } from './service/calendar-config.service'; import { CalendarEventInputAdapter } from './adapter/calendar-event-adapter'; import { CalendarEvent } from './calendar-event-source/calendar-event'; import * as i0 from "@angular/core"; /** * define generic type for input data. */ export declare type CalendarEventDataSourceInput = readonly T[] | DataSource | Observable | [] | undefined; /** * @author vaibhav * Angular material component is entry coponent for this library. * It takes input as array, datasource and observable. */ export declare class AngularMaterialCalendarComponent implements OnInit, AfterContentChecked, OnDestroy, CollectionViewer { private store; private calendarViewPortService; private calendarConfigService; private calendarEventInputAdapter; private readonly _destroyed$; private _dataSource?; protected _data?: readonly T[]; private _renderEventSubscription$?; _view$?: Observable; _view?: CalendarView; _events$?: BehaviorSubject; constructor(store: Store<{ _view: CalendarView; }>, calendarViewPortService: CalendarViewPortService, calendarConfigService: CalendarServiceConfig, calendarEventInputAdapter: CalendarEventInputAdapter); ngAfterContentChecked(): void; readonly viewChange: BehaviorSubject<{ start: number; end: number; }>; ngOnInit(): void; get dataSource(): CalendarEventDataSourceInput; set dataSource(dataSource: CalendarEventDataSourceInput); private _switchDataSource; private _observeRenderChanges; ngOnDestroy(): void; initialView(view: string): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "upbytes-angular-material-calendar", never, { "dataSource": "dataSource"; }, {}, never, never>; }