@daypilot/daypilot-lite-angular 3.20.0 → 3.21.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 +31 -24
- package/fesm2015/daypilot-daypilot-lite-angular.mjs +29 -17
- package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/fesm2020/daypilot-daypilot-lite-angular.mjs +30 -23
- package/fesm2020/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/lib/core/daypilot-core.d.ts +16 -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;
|