@daypilot/daypilot-lite-angular 3.20.1 → 3.22.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.
- package/README.md +1 -1
- package/esm2020/lib/core/daypilot-core.mjs +63 -49
- package/fesm2015/daypilot-daypilot-lite-angular.mjs +56 -37
- package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/fesm2020/daypilot-daypilot-lite-angular.mjs +62 -48
- package/fesm2020/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/lib/core/daypilot-core.d.ts +30 -0
- package/package.json +1 -1
|
@@ -38,6 +38,7 @@ export declare module DayPilot {
|
|
|
38
38
|
visible?: boolean;
|
|
39
39
|
xssProtection?: "Enabled" | "Disabled";
|
|
40
40
|
onAfterEventRender?: EventHandler<CalendarAfterEventRenderArgs>;
|
|
41
|
+
onBeforeCellRender?: EventHandler<CalendarBeforeCellRenderArgs>;
|
|
41
42
|
onBeforeEventRender?: EventHandler<CalendarBeforeEventRenderArgs>;
|
|
42
43
|
onBeforeHeaderRender?: EventHandler<CalendarBeforeHeaderRenderArgs>;
|
|
43
44
|
onEventClick?: EventHandler<CalendarEventClickArgs>;
|
|
@@ -111,6 +112,21 @@ export declare module DayPilot {
|
|
|
111
112
|
readonly e: DayPilot.Event;
|
|
112
113
|
readonly div: HTMLElement;
|
|
113
114
|
}
|
|
115
|
+
export interface CalendarBeforeCellRenderArgs {
|
|
116
|
+
readonly cell: {
|
|
117
|
+
readonly start: DayPilot.Date;
|
|
118
|
+
readonly end: DayPilot.Date;
|
|
119
|
+
readonly resource: ResourceId;
|
|
120
|
+
readonly properties: {
|
|
121
|
+
html: string;
|
|
122
|
+
business: boolean;
|
|
123
|
+
backColor: string;
|
|
124
|
+
backImage: string;
|
|
125
|
+
backRepeat: string;
|
|
126
|
+
cssClass: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
}
|
|
114
130
|
export interface CalendarBeforeEventRenderArgs {
|
|
115
131
|
readonly control: DayPilot.Calendar;
|
|
116
132
|
readonly data: EventData;
|
|
@@ -255,6 +271,7 @@ export declare module DayPilot {
|
|
|
255
271
|
xssProtection?: "Enabled" | "Disabled";
|
|
256
272
|
onAfterEventRender?: EventHandler<MonthAfterEventRenderArgs>;
|
|
257
273
|
onBeforeEventRender?: EventHandler<MonthBeforeEventRenderArgs>;
|
|
274
|
+
onBeforeCellRender?: EventHandler<MonthBeforeCellRenderArgs>;
|
|
258
275
|
onCellHeaderClick?: EventHandler<MonthCellHeaderClickArgs>;
|
|
259
276
|
onCellHeaderClicked?: EventHandler<MonthCellHeaderClickedArgs>;
|
|
260
277
|
onEventClick?: EventHandler<MonthEventClickArgs>;
|
|
@@ -309,6 +326,19 @@ export declare module DayPilot {
|
|
|
309
326
|
readonly control: DayPilot.Month;
|
|
310
327
|
readonly data: EventData;
|
|
311
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
|
+
}
|
|
312
342
|
export interface MonthCellHeaderClickArgs {
|
|
313
343
|
readonly control: DayPilot.Month;
|
|
314
344
|
readonly start: DayPilot.Date;
|