@daypilot/daypilot-lite-angular 3.15.0 → 3.17.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.
@@ -74,6 +74,7 @@ export declare module DayPilot {
74
74
  list: EventData[];
75
75
  add(e: DayPilot.Event | EventData): void;
76
76
  find(id: string): DayPilot.Event;
77
+ find(filter: (e: DayPilot.Event) => boolean): DayPilot.Event;
77
78
  load(url: string, success: (args: {
78
79
  data: any;
79
80
  preventDefault(): void;
@@ -108,6 +109,7 @@ export declare module DayPilot {
108
109
  readonly div: HTMLElement;
109
110
  }
110
111
  export interface CalendarBeforeEventRenderArgs {
112
+ readonly control: DayPilot.Calendar;
111
113
  readonly data: EventData;
112
114
  }
113
115
  export interface CalendarEventClickArgs {
@@ -213,7 +215,7 @@ export declare module DayPilot {
213
215
  cellHeaderHeight?: number;
214
216
  cellHeight?: number;
215
217
  contextMenu?: DayPilot.Menu;
216
- eventBarVisible?: number;
218
+ eventBarVisible?: boolean;
217
219
  eventClickHandling?: "Enabled" | "Disabled" | "CallBack" | "ContextMenu";
218
220
  eventRightClickHandling?: "ContextMenu" | "Enabled" | "Disabled";
219
221
  eventHeight?: number;
@@ -258,6 +260,8 @@ export declare module DayPilot {
258
260
  events: {
259
261
  list: EventData[];
260
262
  add(e: DayPilot.Event | EventData): void;
263
+ find(id: string): DayPilot.Event;
264
+ find(filter: (e: DayPilot.Event) => boolean): DayPilot.Event;
261
265
  load(url: string, success: (args: {
262
266
  data: any;
263
267
  preventDefault(): void;
@@ -283,6 +287,7 @@ export declare module DayPilot {
283
287
  readonly div: HTMLElement;
284
288
  }
285
289
  export interface MonthBeforeEventRenderArgs {
290
+ readonly control: DayPilot.Month;
286
291
  readonly data: EventData;
287
292
  }
288
293
  export interface MonthCellHeaderClickArgs {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daypilot/daypilot-lite-angular",
3
- "version": "3.15.0",
3
+ "version": "3.17.0",
4
4
  "description": "DayPilot Lite for Angular",
5
5
  "homepage": "https://javascript.daypilot.org/",
6
6
  "author": "Annpoint, s.r.o.",