Calendar/wwwroot/js/renderers/WeekInfoRenderer.d.ts

27 lines
880 B
TypeScript
Raw Normal View History

2026-02-03 00:02:25 +01:00
import { IEventBus } from '../types/CalendarTypes';
import { EventRenderingService } from './EventRendererManager';
import { DateService } from '../utils/DateService';
/**
* WeekInfoRenderer - Handles DOM rendering for week info display
* Updates swp-week-number and swp-date-range elements
*
* Renamed from NavigationRenderer to better reflect its actual responsibility
*/
export declare class WeekInfoRenderer {
private eventBus;
private dateService;
constructor(eventBus: IEventBus, eventRenderer: EventRenderingService, dateService: DateService);
/**
* Setup event listeners for DOM updates
*/
private setupEventListeners;
private updateWeekInfoInDOM;
/**
* Apply filter state to pre-rendered grids
*/
applyFilterToPreRenderedGrids(filterState: {
active: boolean;
matchingIds: string[];
}): void;
}