@daypilot/daypilot-lite-angular 5.6.0 → 5.8.0-sandbox.828

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;
@@ -767,6 +778,7 @@ export declare namespace DayPilot {
767
778
  onAfterEventRender?: EventHandler<MonthAfterEventRenderArgs>;
768
779
  onBeforeEventRender?: EventHandler<MonthBeforeEventRenderArgs>;
769
780
  onBeforeCellRender?: EventHandler<MonthBeforeCellRenderArgs>;
781
+ onBeforeHeaderRender?: EventHandler<MonthBeforeHeaderRenderArgs>;
770
782
  onCellHeaderClick?: EventHandler<MonthCellHeaderClickArgs>;
771
783
  onCellHeaderClicked?: EventHandler<MonthCellHeaderClickedArgs>;
772
784
  onEventClick?: EventHandler<MonthEventClickArgs>;
@@ -830,12 +842,21 @@ export declare namespace DayPilot {
830
842
  readonly end: DayPilot.Date;
831
843
  readonly properties: {
832
844
  business: boolean;
845
+ cssClass: string;
833
846
  headerHtml: string;
834
847
  html: string;
835
848
  backColor: string;
836
849
  };
837
850
  };
838
851
  }
852
+ interface MonthBeforeHeaderRenderArgs {
853
+ readonly header: {
854
+ readonly dayOfWeek: number;
855
+ html: string;
856
+ backColor: string;
857
+ cssClass: string;
858
+ };
859
+ }
839
860
  interface MonthCellHeaderClickArgs {
840
861
  readonly control: DayPilot.Month;
841
862
  readonly start: DayPilot.Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daypilot/daypilot-lite-angular",
3
- "version": "5.6.0",
3
+ "version": "5.8.0-sandbox.828",
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.6.0"
35
+ "@daypilot/daypilot-lite-javascript": "5.8.0-sandbox.828"
36
36
  },
37
37
  "module": "fesm2022/daypilot-daypilot-lite-angular.mjs",
38
38
  "typings": "index.d.ts",