Some ignored filles was missing
This commit is contained in:
parent
7db22245e2
commit
fd5ab6bc0d
268 changed files with 31970 additions and 4 deletions
48
wwwroot/js/interfaces/IManager.d.ts
vendored
Normal file
48
wwwroot/js/interfaces/IManager.d.ts
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
import { CalendarEvent } from '../types/CalendarTypes';
|
||||
/**
|
||||
* Base interface for all managers
|
||||
*/
|
||||
export interface IManager {
|
||||
/**
|
||||
* Initialize the manager
|
||||
*/
|
||||
initialize?(): Promise<void> | void;
|
||||
/**
|
||||
* Refresh the manager's state
|
||||
*/
|
||||
refresh?(): void;
|
||||
/**
|
||||
* Destroy the manager and clean up resources
|
||||
*/
|
||||
destroy?(): void;
|
||||
}
|
||||
/**
|
||||
* Interface for managers that handle events
|
||||
*/
|
||||
export interface IEventManager extends IManager {
|
||||
loadData(): Promise<void>;
|
||||
getEvents(): CalendarEvent[];
|
||||
getEventsForPeriod(startDate: Date, endDate: Date): CalendarEvent[];
|
||||
}
|
||||
/**
|
||||
* Interface for managers that handle rendering
|
||||
*/
|
||||
export interface IRenderingManager extends IManager {
|
||||
render(): Promise<void> | void;
|
||||
}
|
||||
/**
|
||||
* Interface for managers that handle navigation
|
||||
*/
|
||||
export interface INavigationManager extends IManager {
|
||||
getCurrentWeek(): Date;
|
||||
navigateToToday(): void;
|
||||
navigateToNextWeek(): void;
|
||||
navigateToPreviousWeek(): void;
|
||||
}
|
||||
/**
|
||||
* Interface for managers that handle scrolling
|
||||
*/
|
||||
export interface IScrollManager extends IManager {
|
||||
scrollTo(scrollTop: number): void;
|
||||
scrollToHour(hour: number): void;
|
||||
}
|
||||
2
wwwroot/js/interfaces/IManager.js
Normal file
2
wwwroot/js/interfaces/IManager.js
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export {};
|
||||
//# sourceMappingURL=IManager.js.map
|
||||
1
wwwroot/js/interfaces/IManager.js.map
Normal file
1
wwwroot/js/interfaces/IManager.js.map
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"IManager.js","sourceRoot":"","sources":["../../../src/interfaces/IManager.ts"],"names":[],"mappings":""}
|
||||
Loading…
Add table
Add a link
Reference in a new issue