Adds I-prefix to all interfaces
This commit is contained in:
parent
80aaab46f2
commit
8ec5f52872
44 changed files with 1731 additions and 1949 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import { CalendarEvent } from '../types/CalendarTypes';
|
||||
import { ICalendarEvent } from '../types/CalendarTypes';
|
||||
import { SwpAllDayEventElement } from '../elements/SwpEventElement';
|
||||
import { EventLayout } from '../utils/AllDayLayoutEngine';
|
||||
import { ColumnBounds } from '../utils/ColumnDetectionUtils';
|
||||
import { IEventLayout } from '../utils/AllDayLayoutEngine';
|
||||
import { IColumnBounds } from '../utils/ColumnDetectionUtils';
|
||||
import { EventManager } from '../managers/EventManager';
|
||||
import { DragStartEventPayload } from '../types/EventTypes';
|
||||
import { IDragStartEventPayload } from '../types/EventTypes';
|
||||
import { IEventRenderer } from './EventRenderer';
|
||||
|
||||
export class AllDayEventRenderer {
|
||||
|
|
@ -38,7 +38,7 @@ export class AllDayEventRenderer {
|
|||
/**
|
||||
* Handle drag start for all-day events
|
||||
*/
|
||||
public handleDragStart(payload: DragStartEventPayload): void {
|
||||
public handleDragStart(payload: IDragStartEventPayload): void {
|
||||
|
||||
this.originalEvent = payload.originalElement;;
|
||||
this.draggedClone = payload.draggedClone;
|
||||
|
|
@ -70,8 +70,8 @@ export class AllDayEventRenderer {
|
|||
* Render an all-day event with pre-calculated layout
|
||||
*/
|
||||
private renderAllDayEventWithLayout(
|
||||
event: CalendarEvent,
|
||||
layout: EventLayout
|
||||
event: ICalendarEvent,
|
||||
layout: IEventLayout
|
||||
) {
|
||||
const container = this.getContainer();
|
||||
if (!container) return null;
|
||||
|
|
@ -109,7 +109,7 @@ export class AllDayEventRenderer {
|
|||
/**
|
||||
* Render all-day events for specific period using AllDayEventRenderer
|
||||
*/
|
||||
public renderAllDayEventsForPeriod(eventLayouts: EventLayout[]): void {
|
||||
public renderAllDayEventsForPeriod(eventLayouts: IEventLayout[]): void {
|
||||
this.clearAllDayEvents();
|
||||
|
||||
eventLayouts.forEach(layout => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue