@daypilot/daypilot-lite-angular 5.6.0 → 5.7.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.
|
@@ -486,6 +486,7 @@ export declare namespace DayPilot {
|
|
|
486
486
|
columnMarginRight?: number;
|
|
487
487
|
columnsLoadMethod?: "POST" | "GET";
|
|
488
488
|
contextMenu?: DayPilot.Menu;
|
|
489
|
+
cssClass?: string;
|
|
489
490
|
days?: number;
|
|
490
491
|
doubleClickTimeout?: number;
|
|
491
492
|
durationBarVisible?: boolean;
|
|
@@ -521,6 +522,7 @@ export declare namespace DayPilot {
|
|
|
521
522
|
visible?: boolean;
|
|
522
523
|
weekStarts?: "Auto" | number;
|
|
523
524
|
xssProtection?: "Enabled" | "Disabled";
|
|
525
|
+
zoomLevels?: ZoomLevel[];
|
|
524
526
|
onAfterEventRender?: EventHandler<CalendarAfterEventRenderArgs>;
|
|
525
527
|
onBeforeCellRender?: EventHandler<CalendarBeforeCellRenderArgs>;
|
|
526
528
|
onBeforeEventRender?: EventHandler<CalendarBeforeEventRenderArgs>;
|
|
@@ -543,6 +545,7 @@ export declare namespace DayPilot {
|
|
|
543
545
|
class CalendarConfig extends CalendarPropsAndEvents {
|
|
544
546
|
columns?: CalendarColumnData[];
|
|
545
547
|
events?: EventData[];
|
|
548
|
+
zoom?: number | string;
|
|
546
549
|
}
|
|
547
550
|
class Calendar extends CalendarPropsAndEvents {
|
|
548
551
|
v: string;
|
|
@@ -561,6 +564,8 @@ export declare namespace DayPilot {
|
|
|
561
564
|
add(e: DayPilot.Event | EventData): void;
|
|
562
565
|
find(id: string): DayPilot.Event;
|
|
563
566
|
find(filter: (e: DayPilot.Event) => boolean): DayPilot.Event;
|
|
567
|
+
findAll(filter: (e: DayPilot.Event) => boolean): DayPilot.Event[];
|
|
568
|
+
findAll(example: any): DayPilot.Event[];
|
|
564
569
|
forRange(start?: DayPilot.Date | string, end?: DayPilot.Date | string): DayPilot.Event[];
|
|
565
570
|
load(url: string, success: (args: {
|
|
566
571
|
data: any;
|
|
@@ -581,11 +586,17 @@ export declare namespace DayPilot {
|
|
|
581
586
|
getSelection(): DayPilot.Selection;
|
|
582
587
|
hide(): void;
|
|
583
588
|
init(): void;
|
|
589
|
+
scrollToHour(hour: number): void;
|
|
584
590
|
setScrollY(scrollY: number): void;
|
|
585
591
|
show(): void;
|
|
586
592
|
update(options?: CalendarConfig): void;
|
|
587
593
|
visibleStart(): DayPilot.Date;
|
|
588
594
|
visibleEnd(): DayPilot.Date;
|
|
595
|
+
zoom: {
|
|
596
|
+
setActive(index: number): void;
|
|
597
|
+
setActive(id: string): void;
|
|
598
|
+
active: number;
|
|
599
|
+
};
|
|
589
600
|
}
|
|
590
601
|
interface CalendarColumnData {
|
|
591
602
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daypilot/daypilot-lite-angular",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.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.7.0"
|
|
36
36
|
},
|
|
37
37
|
"module": "fesm2022/daypilot-daypilot-lite-angular.mjs",
|
|
38
38
|
"typings": "index.d.ts",
|