@daypilot/daypilot-lite-vue 5.6.0 → 5.8.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.
@@ -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.817-lite
6
+ Version: 2026.2.833-lite
7
7
  */
8
8
  type GlobalDate = Date;
9
9
 
@@ -552,7 +552,6 @@ export namespace DayPilot {
552
552
  toolTip: string;
553
553
  }
554
554
 
555
-
556
555
  export class CalendarPropsAndEvents {
557
556
  backendUrl?: string;
558
557
  businessBeginsHour?: number;
@@ -563,6 +562,7 @@ export namespace DayPilot {
563
562
  columnMarginRight?: number;
564
563
  columnsLoadMethod?: "POST" | "GET";
565
564
  contextMenu?: DayPilot.Menu;
565
+ cssClass?: string;
566
566
  days?: number;
567
567
  doubleClickTimeout?: number;
568
568
  durationBarVisible?: boolean;
@@ -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 {
@@ -890,6 +902,7 @@ export namespace DayPilot {
890
902
 
891
903
  onBeforeEventRender?: EventHandler<MonthBeforeEventRenderArgs>;
892
904
  onBeforeCellRender?: EventHandler<MonthBeforeCellRenderArgs>;
905
+ onBeforeHeaderRender?: EventHandler<MonthBeforeHeaderRenderArgs>;
893
906
 
894
907
  onCellHeaderClick?: EventHandler<MonthCellHeaderClickArgs>;
895
908
  onCellHeaderClicked?: EventHandler<MonthCellHeaderClickedArgs>;
@@ -967,6 +980,7 @@ export namespace DayPilot {
967
980
  readonly end: DayPilot.Date;
968
981
  readonly properties: {
969
982
  business: boolean;
983
+ cssClass: string;
970
984
  headerHtml: string;
971
985
  html: string;
972
986
  backColor: string;
@@ -974,6 +988,15 @@ export namespace DayPilot {
974
988
  }
975
989
  }
976
990
 
991
+ export interface MonthBeforeHeaderRenderArgs {
992
+ readonly header: {
993
+ readonly dayOfWeek: number;
994
+ html: string;
995
+ backColor: string;
996
+ cssClass: string;
997
+ };
998
+ }
999
+
977
1000
  export interface MonthCellHeaderClickArgs {
978
1001
  readonly control: DayPilot.Month;
979
1002
  readonly start: DayPilot.Date;