@daypilot/daypilot-lite-javascript 3.28.0 → 3.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -106,6 +106,7 @@ export module DayPilot {
106
106
  add(e: DayPilot.Event | EventData): void;
107
107
  find(id: string): DayPilot.Event;
108
108
  find(filter: (e: DayPilot.Event) => boolean): DayPilot.Event;
109
+ forRange(start?: DayPilot.Date | string, end?: DayPilot.Date | string): DayPilot.Event[];
109
110
  load(url: string,
110
111
  success: (args: { data: any; preventDefault(): void; }) => void,
111
112
  error: (args: { request: XMLHttpRequest, exception: any; }) => void
@@ -375,6 +376,7 @@ export module DayPilot {
375
376
  add(e: DayPilot.Event | EventData): void;
376
377
  find(id: string): DayPilot.Event;
377
378
  find(filter: (e: DayPilot.Event) => boolean): DayPilot.Event;
379
+ forRange(start?: DayPilot.Date | string, end?: DayPilot.Date | string): DayPilot.Event[];
378
380
  load(url: string,
379
381
  success: (args: { data: any; preventDefault(): void; }) => void,
380
382
  error: (args: { request: XMLHttpRequest, exception: any; }) => void