26 lines
851 B
TypeScript
26 lines
851 B
TypeScript
|
|
/**
|
||
|
|
* MonthViewStrategy - Strategy for month view rendering
|
||
|
|
* Completely different from week view - no time axis, cell-based events
|
||
|
|
*/
|
||
|
|
import { ViewStrategy, ViewContext, ViewLayoutConfig } from './ViewStrategy';
|
||
|
|
export declare class MonthViewStrategy implements ViewStrategy {
|
||
|
|
private dateCalculator;
|
||
|
|
constructor();
|
||
|
|
getLayoutConfig(): ViewLayoutConfig;
|
||
|
|
renderGrid(context: ViewContext): void;
|
||
|
|
private createMonthGrid;
|
||
|
|
private createDayHeaders;
|
||
|
|
private createDayCells;
|
||
|
|
private getMonthDates;
|
||
|
|
private renderMonthEvents;
|
||
|
|
getNextPeriod(currentDate: Date): Date;
|
||
|
|
getPreviousPeriod(currentDate: Date): Date;
|
||
|
|
getPeriodLabel(date: Date): string;
|
||
|
|
getDisplayDates(baseDate: Date): Date[];
|
||
|
|
getPeriodRange(baseDate: Date): {
|
||
|
|
startDate: Date;
|
||
|
|
endDate: Date;
|
||
|
|
};
|
||
|
|
destroy(): void;
|
||
|
|
}
|