Calendar/wwwroot/js/strategies/MonthViewStrategy.d.ts

26 lines
851 B
TypeScript
Raw Permalink Normal View History

2026-02-03 00:02:25 +01:00
/**
* 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;
}