31 lines
1.1 KiB
TypeScript
31 lines
1.1 KiB
TypeScript
|
|
/**
|
||
|
|
* GridManager - Simplified grid manager using centralized GridRenderer
|
||
|
|
* Delegates DOM rendering to GridRenderer, focuses on coordination
|
||
|
|
*/
|
||
|
|
import { GridRenderer } from '../renderers/GridRenderer';
|
||
|
|
import { DateService } from '../utils/DateService';
|
||
|
|
import { Configuration } from '../configurations/CalendarConfig';
|
||
|
|
import { EventManager } from './EventManager';
|
||
|
|
/**
|
||
|
|
* Simplified GridManager focused on coordination, delegates rendering to GridRenderer
|
||
|
|
*/
|
||
|
|
export declare class GridManager {
|
||
|
|
private container;
|
||
|
|
private currentDate;
|
||
|
|
private currentView;
|
||
|
|
private gridRenderer;
|
||
|
|
private dateService;
|
||
|
|
private config;
|
||
|
|
private dataSource;
|
||
|
|
private eventManager;
|
||
|
|
constructor(gridRenderer: GridRenderer, dateService: DateService, config: Configuration, eventManager: EventManager);
|
||
|
|
private init;
|
||
|
|
private findElements;
|
||
|
|
private subscribeToEvents;
|
||
|
|
/**
|
||
|
|
* Main render method - delegates to GridRenderer
|
||
|
|
* Note: CSS variables are automatically updated by ConfigManager when config changes
|
||
|
|
*/
|
||
|
|
render(): Promise<void>;
|
||
|
|
}
|