@daypilot/daypilot-lite-angular 3.7.1 → 3.8.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/esm2020/lib/core/daypilot-core.mjs +41 -35
- package/fesm2015/daypilot-daypilot-lite-angular.mjs +48 -40
- package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/fesm2020/daypilot-daypilot-lite-angular.mjs +40 -34
- package/fesm2020/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/lib/core/daypilot-core.d.ts +25 -0
- package/package.json +1 -1
|
@@ -14,7 +14,9 @@ export declare module DayPilot {
|
|
|
14
14
|
eventDeleteHandling?: "Update" | "Disabled" | "CallBack";
|
|
15
15
|
eventMoveHandling?: "Update" | "CallBack" | "Disabled";
|
|
16
16
|
eventResizeHandling?: "Update" | "CallBack" | "Disabled";
|
|
17
|
+
headerClickHandling?: "Enabled" | "Disabled";
|
|
17
18
|
headerHeight?: number;
|
|
19
|
+
headerTextWrappingEnabled?: boolean;
|
|
18
20
|
height?: number;
|
|
19
21
|
heightSpec?: "BusinessHours" | "BusinessHoursNoScroll" | "Full";
|
|
20
22
|
hideUntilInit?: boolean;
|
|
@@ -40,6 +42,8 @@ export declare module DayPilot {
|
|
|
40
42
|
onEventMoved?: EventHandler<CalendarEventMovedArgs>;
|
|
41
43
|
onEventResize?: EventHandler<CalendarEventResizeArgs>;
|
|
42
44
|
onEventResized?: EventHandler<CalendarEventResizedArgs>;
|
|
45
|
+
onHeaderClick?: EventHandler<CalendarHeaderClickArgs>;
|
|
46
|
+
onHeaderClicked?: EventHandler<CalendarHeaderClickedArgs>;
|
|
43
47
|
onTimeRangeSelect?: EventHandler<CalendarTimeRangeSelectArgs>;
|
|
44
48
|
onTimeRangeSelected?: EventHandler<CalendarTimeRangeSelectedArgs>;
|
|
45
49
|
}
|
|
@@ -148,6 +152,21 @@ export declare module DayPilot {
|
|
|
148
152
|
readonly newStart: DayPilot.Date;
|
|
149
153
|
readonly newEnd: DayPilot.Date;
|
|
150
154
|
}
|
|
155
|
+
export interface CalendarHeaderClickArgs {
|
|
156
|
+
readonly column: CalendarColumn;
|
|
157
|
+
readonly originalEvent: MouseEvent;
|
|
158
|
+
readonly shift: boolean;
|
|
159
|
+
readonly meta: boolean;
|
|
160
|
+
readonly ctrl: boolean;
|
|
161
|
+
preventDefault(): void;
|
|
162
|
+
}
|
|
163
|
+
export interface CalendarHeaderClickedArgs {
|
|
164
|
+
readonly column: CalendarColumn;
|
|
165
|
+
readonly originalEvent: MouseEvent;
|
|
166
|
+
readonly shift: boolean;
|
|
167
|
+
readonly meta: boolean;
|
|
168
|
+
readonly ctrl: boolean;
|
|
169
|
+
}
|
|
151
170
|
export interface CalendarTimeRangeSelectArgs {
|
|
152
171
|
readonly start: DayPilot.Date;
|
|
153
172
|
readonly end: DayPilot.Date;
|
|
@@ -161,6 +180,12 @@ export declare module DayPilot {
|
|
|
161
180
|
readonly resource: ResourceId;
|
|
162
181
|
readonly control: DayPilot.Calendar;
|
|
163
182
|
}
|
|
183
|
+
export class CalendarColumn {
|
|
184
|
+
readonly id: ResourceId;
|
|
185
|
+
readonly start: DayPilot.Date;
|
|
186
|
+
readonly name: string;
|
|
187
|
+
readonly data: CalendarColumnData;
|
|
188
|
+
}
|
|
164
189
|
export class MonthPropsAndEvents {
|
|
165
190
|
backendUrl?: string;
|
|
166
191
|
cellHeaderClickHandling?: "Enabled" | "Disabled";
|