@daypilot/daypilot-lite-javascript 5.6.0 → 5.7.0-sandbox.822
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-javascript.min.d.ts +13 -1
- package/daypilot-javascript.min.js +11 -11
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ DayPilot Lite
|
|
|
3
3
|
Copyright (c) 2005 - 2026 Annpoint s.r.o.
|
|
4
4
|
https://www.daypilot.org/
|
|
5
5
|
Licensed under Apache Software License 2.0
|
|
6
|
-
Version: 2026.2.
|
|
6
|
+
Version: 2026.2.822-lite
|
|
7
7
|
*/
|
|
8
8
|
type GlobalDate = Date;
|
|
9
9
|
|
|
@@ -598,6 +598,7 @@ export namespace DayPilot {
|
|
|
598
598
|
visible?: boolean;
|
|
599
599
|
weekStarts?: "Auto" | number;
|
|
600
600
|
xssProtection?: "Enabled" | "Disabled";
|
|
601
|
+
zoomLevels?: ZoomLevel[];
|
|
601
602
|
|
|
602
603
|
onAfterEventRender?: EventHandler<CalendarAfterEventRenderArgs>;
|
|
603
604
|
|
|
@@ -625,6 +626,7 @@ export namespace DayPilot {
|
|
|
625
626
|
export class CalendarConfig extends CalendarPropsAndEvents {
|
|
626
627
|
columns?: CalendarColumnData[];
|
|
627
628
|
events?: EventData[];
|
|
629
|
+
zoom?: number | string;
|
|
628
630
|
}
|
|
629
631
|
|
|
630
632
|
export class Calendar extends CalendarPropsAndEvents {
|
|
@@ -641,6 +643,8 @@ export namespace DayPilot {
|
|
|
641
643
|
add(e: DayPilot.Event | EventData): void;
|
|
642
644
|
find(id: string): DayPilot.Event;
|
|
643
645
|
find(filter: (e: DayPilot.Event) => boolean): DayPilot.Event;
|
|
646
|
+
findAll(filter: (e: DayPilot.Event) => boolean): DayPilot.Event[];
|
|
647
|
+
findAll(example: any): DayPilot.Event[];
|
|
644
648
|
forRange(start?: DayPilot.Date | string, end?: DayPilot.Date | string): DayPilot.Event[];
|
|
645
649
|
load(url: string,
|
|
646
650
|
success: (args: { data: any; preventDefault(): void; }) => void,
|
|
@@ -667,6 +671,8 @@ export namespace DayPilot {
|
|
|
667
671
|
|
|
668
672
|
init(): void;
|
|
669
673
|
|
|
674
|
+
scrollToHour(hour: number): void;
|
|
675
|
+
|
|
670
676
|
setScrollY(scrollY: number): void;
|
|
671
677
|
|
|
672
678
|
show(): void;
|
|
@@ -677,6 +683,12 @@ export namespace DayPilot {
|
|
|
677
683
|
|
|
678
684
|
visibleEnd(): DayPilot.Date;
|
|
679
685
|
|
|
686
|
+
zoom: {
|
|
687
|
+
setActive(index: number): void;
|
|
688
|
+
setActive(id: string): void;
|
|
689
|
+
active: number;
|
|
690
|
+
};
|
|
691
|
+
|
|
680
692
|
}
|
|
681
693
|
|
|
682
694
|
export interface CalendarColumnData {
|