@daypilot/daypilot-lite-vue 4.8.1 → 5.0.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/daypilot-vue.min.d.ts +19 -1
- package/daypilot-vue.min.js +14 -14
- package/package.json +2 -2
package/daypilot-vue.min.d.ts
CHANGED
|
@@ -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.766-lite
|
|
7
7
|
*/
|
|
8
8
|
type GlobalDate = Date;
|
|
9
9
|
|
|
@@ -80,6 +80,8 @@ export module DayPilot {
|
|
|
80
80
|
weekStarts?: "Auto" | number;
|
|
81
81
|
width?: string;
|
|
82
82
|
xssProtection?: "Enabled" | "Disabled";
|
|
83
|
+
zoomLevels?: ZoomLevel[];
|
|
84
|
+
zoomPosition?: "left" | "right" | "middle";
|
|
83
85
|
|
|
84
86
|
onAfterUpdate?: EventHandler<SchedulerAfterUpdateArgs>;
|
|
85
87
|
onBeforeCellRender?: EventHandler<SchedulerBeforeCellRenderArgs>;
|
|
@@ -111,6 +113,7 @@ export module DayPilot {
|
|
|
111
113
|
|
|
112
114
|
export class SchedulerConfig extends SchedulerPropsAndEvents {
|
|
113
115
|
events?: EventData[];
|
|
116
|
+
zoom?: number | string;
|
|
114
117
|
}
|
|
115
118
|
|
|
116
119
|
export class Scheduler extends SchedulerPropsAndEvents {
|
|
@@ -152,6 +155,11 @@ export module DayPilot {
|
|
|
152
155
|
sort(spec?: string | { field: string, order?: "asc" | "desc" }): void;
|
|
153
156
|
update(row: DayPilot.Row | ResourceData): void;
|
|
154
157
|
};
|
|
158
|
+
zoom: {
|
|
159
|
+
setActive(index: number, position?: "left" | "middle" | "right"): void;
|
|
160
|
+
setActive(id: string, position?: "left" | "middle" | "right"): void;
|
|
161
|
+
active: number;
|
|
162
|
+
};
|
|
155
163
|
|
|
156
164
|
constructor(id: string | HTMLElement, options?: SchedulerConfig);
|
|
157
165
|
|
|
@@ -444,6 +452,12 @@ export module DayPilot {
|
|
|
444
452
|
// TODO check if all values are supported
|
|
445
453
|
export type GroupBy = "Minute" | "Hour" | "Day" | "Week" | "Month" | "Quarter" | "Year" | "Cell" | "None";
|
|
446
454
|
|
|
455
|
+
export interface ZoomLevel {
|
|
456
|
+
properties: any;
|
|
457
|
+
|
|
458
|
+
[prop: string]: any;
|
|
459
|
+
}
|
|
460
|
+
|
|
447
461
|
export interface SchedulerViewport {
|
|
448
462
|
start: DayPilot.Date,
|
|
449
463
|
end: DayPilot.Date,
|
|
@@ -1034,6 +1048,7 @@ export module DayPilot {
|
|
|
1034
1048
|
cellWidth?: number;
|
|
1035
1049
|
command?: string;
|
|
1036
1050
|
dayHeaderHeight?: number;
|
|
1051
|
+
eventEndSpec?: "DateTime" | "Date";
|
|
1037
1052
|
freeHandSelectionEnabled?: boolean;
|
|
1038
1053
|
locale?: string;
|
|
1039
1054
|
orientation?: "Vertical" | "Horizontal";
|
|
@@ -1111,6 +1126,9 @@ export module DayPilot {
|
|
|
1111
1126
|
readonly isWeekend: boolean;
|
|
1112
1127
|
html: string;
|
|
1113
1128
|
cssClass: string;
|
|
1129
|
+
readonly events: {
|
|
1130
|
+
all(): DayPilot.Event[];
|
|
1131
|
+
}
|
|
1114
1132
|
};
|
|
1115
1133
|
}
|
|
1116
1134
|
|