@daypilot/daypilot-lite-angular 3.21.0 → 3.22.1

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.
@@ -271,6 +271,7 @@ export declare module DayPilot {
271
271
  xssProtection?: "Enabled" | "Disabled";
272
272
  onAfterEventRender?: EventHandler<MonthAfterEventRenderArgs>;
273
273
  onBeforeEventRender?: EventHandler<MonthBeforeEventRenderArgs>;
274
+ onBeforeCellRender?: EventHandler<MonthBeforeCellRenderArgs>;
274
275
  onCellHeaderClick?: EventHandler<MonthCellHeaderClickArgs>;
275
276
  onCellHeaderClicked?: EventHandler<MonthCellHeaderClickedArgs>;
276
277
  onEventClick?: EventHandler<MonthEventClickArgs>;
@@ -325,6 +326,19 @@ export declare module DayPilot {
325
326
  readonly control: DayPilot.Month;
326
327
  readonly data: EventData;
327
328
  }
329
+ export interface MonthBeforeCellRenderArgs {
330
+ readonly control: DayPilot.Month;
331
+ readonly cell: {
332
+ readonly start: DayPilot.Date;
333
+ readonly end: DayPilot.Date;
334
+ readonly properties: {
335
+ business: boolean;
336
+ headerHtml: string;
337
+ html: string;
338
+ backColor: string;
339
+ };
340
+ };
341
+ }
328
342
  export interface MonthCellHeaderClickArgs {
329
343
  readonly control: DayPilot.Month;
330
344
  readonly start: DayPilot.Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daypilot/daypilot-lite-angular",
3
- "version": "3.21.0",
3
+ "version": "3.22.1",
4
4
  "description": "DayPilot Lite for Angular",
5
5
  "homepage": "https://javascript.daypilot.org/",
6
6
  "author": "Annpoint, s.r.o.",