@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.
- package/README.md +1 -1
- package/esm2020/lib/core/daypilot-core.mjs +35 -39
- package/fesm2015/daypilot-daypilot-lite-angular.mjs +33 -21
- package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/fesm2020/daypilot-daypilot-lite-angular.mjs +34 -38
- package/fesm2020/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/lib/core/daypilot-core.d.ts +18 -3
- package/package.json +1 -1
|
@@ -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:
|
|
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:
|
|
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
|
|
221
|
+
export class Column {
|
|
207
222
|
readonly id: ResourceId;
|
|
208
223
|
readonly start: DayPilot.Date;
|
|
209
224
|
readonly name: string;
|