@daypilot/daypilot-lite-angular 3.17.0 → 3.19.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 +10 -2
- package/esm2020/lib/core/daypilot-core.mjs +127 -131
- package/fesm2015/daypilot-daypilot-lite-angular.mjs +146 -134
- package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/fesm2020/daypilot-daypilot-lite-angular.mjs +126 -130
- package/fesm2020/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/lib/core/daypilot-core.d.ts +20 -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>;
|
|
@@ -103,6 +104,7 @@ export declare module DayPilot {
|
|
|
103
104
|
start?: DayPilot.Date | string;
|
|
104
105
|
html?: string;
|
|
105
106
|
toolTip?: string;
|
|
107
|
+
tags?: any;
|
|
106
108
|
}
|
|
107
109
|
export interface CalendarAfterEventRenderArgs {
|
|
108
110
|
readonly e: DayPilot.Event;
|
|
@@ -112,6 +114,21 @@ export declare module DayPilot {
|
|
|
112
114
|
readonly control: DayPilot.Calendar;
|
|
113
115
|
readonly data: EventData;
|
|
114
116
|
}
|
|
117
|
+
export interface CalendarBeforeHeaderRenderArgs {
|
|
118
|
+
readonly header: {
|
|
119
|
+
readonly id: ResourceId;
|
|
120
|
+
readonly start: DayPilot.Date;
|
|
121
|
+
readonly name: string;
|
|
122
|
+
readonly children: CalendarColumnData[];
|
|
123
|
+
html: string;
|
|
124
|
+
backColor: string;
|
|
125
|
+
cssClass?: string;
|
|
126
|
+
verticalAlignment?: "top" | "center" | "bottom";
|
|
127
|
+
toolTip: string;
|
|
128
|
+
areas: AreaData[];
|
|
129
|
+
};
|
|
130
|
+
readonly column: Column;
|
|
131
|
+
}
|
|
115
132
|
export interface CalendarEventClickArgs {
|
|
116
133
|
readonly e: DayPilot.Event;
|
|
117
134
|
readonly control: DayPilot.Calendar;
|
|
@@ -176,7 +193,7 @@ export declare module DayPilot {
|
|
|
176
193
|
readonly newEnd: DayPilot.Date;
|
|
177
194
|
}
|
|
178
195
|
export interface CalendarHeaderClickArgs {
|
|
179
|
-
readonly column:
|
|
196
|
+
readonly column: Column;
|
|
180
197
|
readonly originalEvent: MouseEvent;
|
|
181
198
|
readonly shift: boolean;
|
|
182
199
|
readonly meta: boolean;
|
|
@@ -184,7 +201,7 @@ export declare module DayPilot {
|
|
|
184
201
|
preventDefault(): void;
|
|
185
202
|
}
|
|
186
203
|
export interface CalendarHeaderClickedArgs {
|
|
187
|
-
readonly column:
|
|
204
|
+
readonly column: Column;
|
|
188
205
|
readonly originalEvent: MouseEvent;
|
|
189
206
|
readonly shift: boolean;
|
|
190
207
|
readonly meta: boolean;
|
|
@@ -203,7 +220,7 @@ export declare module DayPilot {
|
|
|
203
220
|
readonly resource: ResourceId;
|
|
204
221
|
readonly control: DayPilot.Calendar;
|
|
205
222
|
}
|
|
206
|
-
export class
|
|
223
|
+
export class Column {
|
|
207
224
|
readonly id: ResourceId;
|
|
208
225
|
readonly start: DayPilot.Date;
|
|
209
226
|
readonly name: string;
|