@daypilot/daypilot-lite-javascript 5.0.0 → 5.2.0-sandbox.772
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 +9 -0
- package/daypilot-javascript.min.d.ts +15 -1
- package/daypilot-javascript.min.js +11 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,6 +43,15 @@ Customize the scheduling components using an online [UI Builder](https://builder
|
|
|
43
43
|
|
|
44
44
|
## Tutorials
|
|
45
45
|
|
|
46
|
+
### JavaScript Scheduler with Horizontal Timeline
|
|
47
|
+
|
|
48
|
+
[](https://code.daypilot.org/73425/javascript-scheduler-with-horizontal-timeline-open-source)
|
|
49
|
+
|
|
50
|
+
[JavaScript Scheduler with Horizontal Timeline (Open-Source)](https://code.daypilot.org/73425/javascript-scheduler-with-horizontal-timeline-open-source)
|
|
51
|
+
Use the open-source JavaScript Scheduler to build a horizontal timeline for multiple resources: adjust the appearance, add custom controls, configure the timeline, show a context menu, and switch the visible month.
|
|
52
|
+
|
|
53
|
+
***
|
|
54
|
+
|
|
46
55
|
### JavaScript Event Calendar Tutorial
|
|
47
56
|
|
|
48
57
|
[](https://code.daypilot.org/17910/html5-event-calendar-open-source)
|
|
@@ -3,7 +3,7 @@ DayPilot Lite
|
|
|
3
3
|
Copyright (c) 2005 - 2025 Annpoint s.r.o.
|
|
4
4
|
https://www.daypilot.org/
|
|
5
5
|
Licensed under Apache Software License 2.0
|
|
6
|
-
Version: 2025.4.
|
|
6
|
+
Version: 2025.4.772-lite
|
|
7
7
|
*/
|
|
8
8
|
type GlobalDate = Date;
|
|
9
9
|
|
|
@@ -22,6 +22,8 @@ export module DayPilot {
|
|
|
22
22
|
cellWidth?: number;
|
|
23
23
|
cellsMarkBusiness?: boolean;
|
|
24
24
|
contextMenu?: DayPilot.Menu;
|
|
25
|
+
cornerHtml?: string;
|
|
26
|
+
cornerText?: string;
|
|
25
27
|
days?: number;
|
|
26
28
|
durationBarHeight?: number;
|
|
27
29
|
durationBarVisible?: boolean;
|
|
@@ -85,6 +87,7 @@ export module DayPilot {
|
|
|
85
87
|
|
|
86
88
|
onAfterUpdate?: EventHandler<SchedulerAfterUpdateArgs>;
|
|
87
89
|
onBeforeCellRender?: EventHandler<SchedulerBeforeCellRenderArgs>;
|
|
90
|
+
onBeforeCornerRender?: EventHandler<SchedulerBeforeCornerRenderArgs>;
|
|
88
91
|
onBeforeEventRender?: EventHandler<SchedulerBeforeEventRenderArgs>;
|
|
89
92
|
onBeforeRowHeaderRender?: EventHandler<SchedulerBeforeRowHeaderRenderArgs>;
|
|
90
93
|
onBeforeTimeHeaderRender?: EventHandler<SchedulerBeforeTimeHeaderRenderArgs>;
|
|
@@ -233,6 +236,17 @@ export module DayPilot {
|
|
|
233
236
|
};
|
|
234
237
|
}
|
|
235
238
|
|
|
239
|
+
export interface SchedulerBeforeCornerRenderArgs {
|
|
240
|
+
readonly control: Scheduler;
|
|
241
|
+
html: string;
|
|
242
|
+
text: string;
|
|
243
|
+
backColor: string;
|
|
244
|
+
fontColor: string;
|
|
245
|
+
horizontalAlignment: HorizontalAlignment;
|
|
246
|
+
verticalAlignment: VerticalAlignment;
|
|
247
|
+
areas: AreaData[];
|
|
248
|
+
}
|
|
249
|
+
|
|
236
250
|
export interface SchedulerBeforeEventRenderArgs {
|
|
237
251
|
readonly control: DayPilot.Scheduler;
|
|
238
252
|
readonly data: EventData;
|