@daypilot/daypilot-lite-angular 3.17.0 → 3.18.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.
@@ -39,6 +39,7 @@ export declare module DayPilot {
39
39
  xssProtection?: "Enabled" | "Disabled";
40
40
  onAfterEventRender?: EventHandler<CalendarAfterEventRenderArgs>;
41
41
  onBeforeEventRender?: EventHandler<CalendarBeforeEventRenderArgs>;
42
+ onBeforeHeaderRender?: EventHandler<CalendarBeforeHeaderRenderArgs>;
42
43
  onEventClick?: EventHandler<CalendarEventClickArgs>;
43
44
  onEventClicked?: EventHandler<CalendarEventClickedArgs>;
44
45
  onEventDelete?: EventHandler<CalendarEventDeleteArgs>;
@@ -112,6 +113,20 @@ export declare module DayPilot {
112
113
  readonly control: DayPilot.Calendar;
113
114
  readonly data: EventData;
114
115
  }
116
+ export interface CalendarBeforeHeaderRenderArgs {
117
+ readonly header: {
118
+ readonly id: ResourceId;
119
+ readonly start: DayPilot.Date;
120
+ readonly name: string;
121
+ readonly children: CalendarColumnData[];
122
+ html: string;
123
+ backColor: string;
124
+ cssClass?: string;
125
+ toolTip: string;
126
+ areas: AreaData[];
127
+ };
128
+ readonly column: Column;
129
+ }
115
130
  export interface CalendarEventClickArgs {
116
131
  readonly e: DayPilot.Event;
117
132
  readonly control: DayPilot.Calendar;
@@ -176,7 +191,7 @@ export declare module DayPilot {
176
191
  readonly newEnd: DayPilot.Date;
177
192
  }
178
193
  export interface CalendarHeaderClickArgs {
179
- readonly column: CalendarColumn;
194
+ readonly column: Column;
180
195
  readonly originalEvent: MouseEvent;
181
196
  readonly shift: boolean;
182
197
  readonly meta: boolean;
@@ -184,7 +199,7 @@ export declare module DayPilot {
184
199
  preventDefault(): void;
185
200
  }
186
201
  export interface CalendarHeaderClickedArgs {
187
- readonly column: CalendarColumn;
202
+ readonly column: Column;
188
203
  readonly originalEvent: MouseEvent;
189
204
  readonly shift: boolean;
190
205
  readonly meta: boolean;
@@ -203,7 +218,7 @@ export declare module DayPilot {
203
218
  readonly resource: ResourceId;
204
219
  readonly control: DayPilot.Calendar;
205
220
  }
206
- export class CalendarColumn {
221
+ export class Column {
207
222
  readonly id: ResourceId;
208
223
  readonly start: DayPilot.Date;
209
224
  readonly name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daypilot/daypilot-lite-angular",
3
- "version": "3.17.0",
3
+ "version": "3.18.0",
4
4
  "description": "DayPilot Lite for Angular",
5
5
  "homepage": "https://javascript.daypilot.org/",
6
6
  "author": "Annpoint, s.r.o.",