@daypilot/daypilot-lite-angular 5.0.0-sandbox.760 → 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.
|
@@ -70,6 +70,8 @@ export declare module DayPilot {
|
|
|
70
70
|
weekStarts?: "Auto" | number;
|
|
71
71
|
width?: string;
|
|
72
72
|
xssProtection?: "Enabled" | "Disabled";
|
|
73
|
+
zoomLevels?: ZoomLevel[];
|
|
74
|
+
zoomPosition?: "left" | "right" | "middle";
|
|
73
75
|
onAfterUpdate?: EventHandler<SchedulerAfterUpdateArgs>;
|
|
74
76
|
onBeforeCellRender?: EventHandler<SchedulerBeforeCellRenderArgs>;
|
|
75
77
|
onBeforeEventRender?: EventHandler<SchedulerBeforeEventRenderArgs>;
|
|
@@ -98,6 +100,7 @@ export declare module DayPilot {
|
|
|
98
100
|
}
|
|
99
101
|
export class SchedulerConfig extends SchedulerPropsAndEvents {
|
|
100
102
|
events?: EventData[];
|
|
103
|
+
zoom?: number | string;
|
|
101
104
|
}
|
|
102
105
|
export class Scheduler extends SchedulerPropsAndEvents {
|
|
103
106
|
v: string;
|
|
@@ -146,6 +149,11 @@ export declare module DayPilot {
|
|
|
146
149
|
}): void;
|
|
147
150
|
update(row: DayPilot.Row | ResourceData): void;
|
|
148
151
|
};
|
|
152
|
+
zoom: {
|
|
153
|
+
setActive(index: number, position?: "left" | "middle" | "right"): void;
|
|
154
|
+
setActive(id: string, position?: "left" | "middle" | "right"): void;
|
|
155
|
+
active: number;
|
|
156
|
+
};
|
|
149
157
|
constructor(id: string | HTMLElement, options?: SchedulerConfig);
|
|
150
158
|
clearSelection(): void;
|
|
151
159
|
dispose(): void;
|
|
@@ -384,6 +392,10 @@ export declare module DayPilot {
|
|
|
384
392
|
readonly control: DayPilot.Scheduler;
|
|
385
393
|
}
|
|
386
394
|
export type GroupBy = "Minute" | "Hour" | "Day" | "Week" | "Month" | "Quarter" | "Year" | "Cell" | "None";
|
|
395
|
+
export interface ZoomLevel {
|
|
396
|
+
properties: any;
|
|
397
|
+
[prop: string]: any;
|
|
398
|
+
}
|
|
387
399
|
export interface SchedulerViewport {
|
|
388
400
|
start: DayPilot.Date;
|
|
389
401
|
end: DayPilot.Date;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daypilot/daypilot-lite-angular",
|
|
3
|
-
"version": "5.0.0
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "DayPilot Lite for Angular",
|
|
5
5
|
"homepage": "https://javascript.daypilot.org/",
|
|
6
6
|
"author": "Annpoint, s.r.o.",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"tslib": "^2.3.0",
|
|
35
|
-
"@daypilot/daypilot-lite-javascript": "5.0.0
|
|
35
|
+
"@daypilot/daypilot-lite-javascript": "5.0.0"
|
|
36
36
|
},
|
|
37
37
|
"module": "fesm2022/daypilot-daypilot-lite-angular.mjs",
|
|
38
38
|
"typings": "index.d.ts",
|