@daypilot/daypilot-lite-javascript 5.5.0 → 5.7.0-sandbox.821

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.813-lite
6
+ Version: 2026.2.821-lite
7
7
  */
8
8
  type GlobalDate = Date;
9
9
 
@@ -314,6 +314,7 @@ export namespace DayPilot {
314
314
  newStart: DayPilot.Date;
315
315
  newEnd: DayPilot.Date;
316
316
  newResource: ResourceId;
317
+ readonly alt: boolean;
317
318
  readonly ctrl: boolean;
318
319
  readonly shift: boolean;
319
320
  readonly meta: boolean;
@@ -330,6 +331,7 @@ export namespace DayPilot {
330
331
  readonly newStart: DayPilot.Date;
331
332
  readonly newEnd: DayPilot.Date;
332
333
  readonly newResource: ResourceId;
334
+ readonly alt: boolean;
333
335
  readonly ctrl: boolean;
334
336
  readonly shift: boolean;
335
337
  readonly meta: boolean;
@@ -343,6 +345,10 @@ export namespace DayPilot {
343
345
  newStart: DayPilot.Date;
344
346
  newEnd: DayPilot.Date;
345
347
  readonly what: "start" | "end"; // TODO check
348
+ readonly ctrl: boolean;
349
+ readonly shift: boolean;
350
+ readonly meta: boolean;
351
+ readonly alt: boolean;
346
352
 
347
353
  loaded(): void;
348
354
  preventDefault(): void;
@@ -356,6 +362,11 @@ export namespace DayPilot {
356
362
  readonly newStart: DayPilot.Date;
357
363
  readonly newEnd: DayPilot.Date;
358
364
  readonly what: "start" | "end";
365
+ readonly ctrl: boolean;
366
+ readonly shift: boolean;
367
+ readonly meta: boolean;
368
+ readonly alt: boolean;
369
+
359
370
  }
360
371
 
361
372
  export interface SchedulerEventRightClickArgs {
@@ -587,6 +598,7 @@ export namespace DayPilot {
587
598
  visible?: boolean;
588
599
  weekStarts?: "Auto" | number;
589
600
  xssProtection?: "Enabled" | "Disabled";
601
+ zoomLevels?: ZoomLevel[];
590
602
 
591
603
  onAfterEventRender?: EventHandler<CalendarAfterEventRenderArgs>;
592
604
 
@@ -614,6 +626,7 @@ export namespace DayPilot {
614
626
  export class CalendarConfig extends CalendarPropsAndEvents {
615
627
  columns?: CalendarColumnData[];
616
628
  events?: EventData[];
629
+ zoom?: number | string;
617
630
  }
618
631
 
619
632
  export class Calendar extends CalendarPropsAndEvents {
@@ -630,6 +643,8 @@ export namespace DayPilot {
630
643
  add(e: DayPilot.Event | EventData): void;
631
644
  find(id: string): DayPilot.Event;
632
645
  find(filter: (e: DayPilot.Event) => boolean): DayPilot.Event;
646
+ findAll(filter: (e: DayPilot.Event) => boolean): DayPilot.Event[];
647
+ findAll(example: any): DayPilot.Event[];
633
648
  forRange(start?: DayPilot.Date | string, end?: DayPilot.Date | string): DayPilot.Event[];
634
649
  load(url: string,
635
650
  success: (args: { data: any; preventDefault(): void; }) => void,
@@ -656,6 +671,8 @@ export namespace DayPilot {
656
671
 
657
672
  init(): void;
658
673
 
674
+ scrollToHour(hour: number): void;
675
+
659
676
  setScrollY(scrollY: number): void;
660
677
 
661
678
  show(): void;
@@ -666,6 +683,12 @@ export namespace DayPilot {
666
683
 
667
684
  visibleEnd(): DayPilot.Date;
668
685
 
686
+ zoom: {
687
+ setActive(index: number): void;
688
+ setActive(id: string): void;
689
+ active: number;
690
+ };
691
+
669
692
  }
670
693
 
671
694
  export interface CalendarColumnData {
@@ -1627,6 +1650,7 @@ export namespace DayPilot {
1627
1650
  borderRadius?: number | string;
1628
1651
  bottom?: number | string;
1629
1652
  cssClass?: string;
1653
+ cursor?: string;
1630
1654
  fontColor?: string;
1631
1655
  height?: number | string;
1632
1656
  horizontalAlignment?: HorizontalAlignment;