@daypilot/daypilot-lite-angular 5.0.0-sandbox.760 → 5.1.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.
|
@@ -13,6 +13,8 @@ export declare module DayPilot {
|
|
|
13
13
|
cellWidth?: number;
|
|
14
14
|
cellsMarkBusiness?: boolean;
|
|
15
15
|
contextMenu?: DayPilot.Menu;
|
|
16
|
+
cornerHtml?: string;
|
|
17
|
+
cornerText?: string;
|
|
16
18
|
days?: number;
|
|
17
19
|
durationBarHeight?: number;
|
|
18
20
|
durationBarVisible?: boolean;
|
|
@@ -70,8 +72,11 @@ export declare module DayPilot {
|
|
|
70
72
|
weekStarts?: "Auto" | number;
|
|
71
73
|
width?: string;
|
|
72
74
|
xssProtection?: "Enabled" | "Disabled";
|
|
75
|
+
zoomLevels?: ZoomLevel[];
|
|
76
|
+
zoomPosition?: "left" | "right" | "middle";
|
|
73
77
|
onAfterUpdate?: EventHandler<SchedulerAfterUpdateArgs>;
|
|
74
78
|
onBeforeCellRender?: EventHandler<SchedulerBeforeCellRenderArgs>;
|
|
79
|
+
onBeforeCornerRender?: EventHandler<SchedulerBeforeCornerRenderArgs>;
|
|
75
80
|
onBeforeEventRender?: EventHandler<SchedulerBeforeEventRenderArgs>;
|
|
76
81
|
onBeforeRowHeaderRender?: EventHandler<SchedulerBeforeRowHeaderRenderArgs>;
|
|
77
82
|
onBeforeTimeHeaderRender?: EventHandler<SchedulerBeforeTimeHeaderRenderArgs>;
|
|
@@ -98,6 +103,7 @@ export declare module DayPilot {
|
|
|
98
103
|
}
|
|
99
104
|
export class SchedulerConfig extends SchedulerPropsAndEvents {
|
|
100
105
|
events?: EventData[];
|
|
106
|
+
zoom?: number | string;
|
|
101
107
|
}
|
|
102
108
|
export class Scheduler extends SchedulerPropsAndEvents {
|
|
103
109
|
v: string;
|
|
@@ -146,6 +152,11 @@ export declare module DayPilot {
|
|
|
146
152
|
}): void;
|
|
147
153
|
update(row: DayPilot.Row | ResourceData): void;
|
|
148
154
|
};
|
|
155
|
+
zoom: {
|
|
156
|
+
setActive(index: number, position?: "left" | "middle" | "right"): void;
|
|
157
|
+
setActive(id: string, position?: "left" | "middle" | "right"): void;
|
|
158
|
+
active: number;
|
|
159
|
+
};
|
|
149
160
|
constructor(id: string | HTMLElement, options?: SchedulerConfig);
|
|
150
161
|
clearSelection(): void;
|
|
151
162
|
dispose(): void;
|
|
@@ -197,6 +208,16 @@ export declare module DayPilot {
|
|
|
197
208
|
};
|
|
198
209
|
};
|
|
199
210
|
}
|
|
211
|
+
export interface SchedulerBeforeCornerRenderArgs {
|
|
212
|
+
readonly control: Scheduler;
|
|
213
|
+
html: string;
|
|
214
|
+
text: string;
|
|
215
|
+
backColor: string;
|
|
216
|
+
fontColor: string;
|
|
217
|
+
horizontalAlignment: HorizontalAlignment;
|
|
218
|
+
verticalAlignment: VerticalAlignment;
|
|
219
|
+
areas: AreaData[];
|
|
220
|
+
}
|
|
200
221
|
export interface SchedulerBeforeEventRenderArgs {
|
|
201
222
|
readonly control: DayPilot.Scheduler;
|
|
202
223
|
readonly data: EventData;
|
|
@@ -384,6 +405,10 @@ export declare module DayPilot {
|
|
|
384
405
|
readonly control: DayPilot.Scheduler;
|
|
385
406
|
}
|
|
386
407
|
export type GroupBy = "Minute" | "Hour" | "Day" | "Week" | "Month" | "Quarter" | "Year" | "Cell" | "None";
|
|
408
|
+
export interface ZoomLevel {
|
|
409
|
+
properties: any;
|
|
410
|
+
[prop: string]: any;
|
|
411
|
+
}
|
|
387
412
|
export interface SchedulerViewport {
|
|
388
413
|
start: DayPilot.Date;
|
|
389
414
|
end: DayPilot.Date;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daypilot/daypilot-lite-angular",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.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.
|
|
35
|
+
"@daypilot/daypilot-lite-javascript": "5.1.0"
|
|
36
36
|
},
|
|
37
37
|
"module": "fesm2022/daypilot-daypilot-lite-angular.mjs",
|
|
38
38
|
"typings": "index.d.ts",
|