@daypilot/daypilot-lite-angular 3.33.0 → 3.34.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.
@@ -32,10 +32,12 @@ export declare module DayPilot {
32
32
  loadingLabelVisible?: boolean;
33
33
  locale?: string;
34
34
  showToolTip?: boolean;
35
+ snapToGrid?: boolean;
35
36
  startDate?: DayPilot.Date | string;
36
37
  theme?: string;
37
38
  timeFormat?: "Auto" | "Clock12Hours" | "Clock24Hours";
38
39
  timeRangeSelectedHandling?: "Enabled" | "Disabled" | "CallBack";
40
+ useEventBoxes?: "Always" | "Never";
39
41
  viewType?: "Day" | "Days" | "Week" | "WorkWeek" | "Resources";
40
42
  visible?: boolean;
41
43
  weekStarts?: "Auto" | number;
@@ -453,11 +455,16 @@ export declare module DayPilot {
453
455
  selectionStart?: DayPilot.Date;
454
456
  selectMode?: "Day" | "Week" | "Month" | "None";
455
457
  showMonths?: number;
458
+ showToday?: boolean;
456
459
  showWeekNumbers?: boolean;
457
460
  skipMonths?: number;
458
461
  startDate?: DayPilot.Date | string;
459
462
  theme?: string;
460
463
  titleHeight?: number;
464
+ todayHeight?: number;
465
+ todayHtml?: string;
466
+ todayPosition?: "Top" | "Bottom";
467
+ todayText?: string;
461
468
  weekStarts?: "Auto" | number;
462
469
  weekNumberAlgorithm?: "Auto" | "US" | "ISO8601";
463
470
  timeRangeSelectedHandling?: "Bind" | "None";
@@ -465,6 +472,7 @@ export declare module DayPilot {
465
472
  onBeforeCellRender?: EventHandler<NavigatorBeforeCellRenderArgs>;
466
473
  onTimeRangeSelect?: EventHandler<NavigatorTimeRangeSelectArgs>;
467
474
  onTimeRangeSelected?: EventHandler<NavigatorTimeRangeSelectedArgs>;
475
+ onTodayClick?: EventHandler<NavigatorTodayClickArgs>;
468
476
  onVisibleRangeChange?: EventHandler<NavigatorVisibleRangeChangeArgs>;
469
477
  onVisibleRangeChanged?: EventHandler<NavigatorVisibleRangeChangedArgs>;
470
478
  }
@@ -516,6 +524,9 @@ export declare module DayPilot {
516
524
  readonly days: number;
517
525
  readonly mode: "Day" | "Week" | "Month" | "None" | "FreeHand";
518
526
  }
527
+ export interface NavigatorTodayClickArgs {
528
+ preventDefault(): void;
529
+ }
519
530
  interface NavigatorVisibleRangeChangeArgs {
520
531
  readonly start: DayPilot.Date;
521
532
  readonly end: DayPilot.Date;
@@ -717,33 +728,6 @@ export declare module DayPilot {
717
728
  static lighter(color: string, steps?: number): string;
718
729
  static contrasting(color: string, light?: string, dark?: string): string;
719
730
  }
720
- export class Http {
721
- static get(url: string, options?: HttpGetOptions): Promise<HttpPromiseArgs>;
722
- static post(url: string, data?: object | string, options?: HttpPostOptions): Promise<HttpPromiseArgs>;
723
- static put(url: string, data?: object | string, options?: HttpPutOptions): Promise<HttpPromiseArgs>;
724
- static delete(url: string, options?: HttpDeleteOptions): Promise<HttpPromiseArgs>;
725
- }
726
- export interface HttpDeleteOptions {
727
- headers?: HttpHeaders;
728
- }
729
- export interface HttpGetOptions {
730
- headers?: HttpHeaders;
731
- }
732
- export interface HttpPostOptions {
733
- headers?: HttpHeaders;
734
- contentType?: string;
735
- }
736
- export interface HttpPutOptions {
737
- headers?: HttpHeaders;
738
- contentType?: string;
739
- }
740
- export interface HttpPromiseArgs {
741
- readonly data: any;
742
- readonly request: XMLHttpRequest;
743
- }
744
- export interface HttpHeaders {
745
- [header: string]: string;
746
- }
747
731
  export class Duration {
748
732
  ticks: number;
749
733
  constructor(ticks: number);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daypilot/daypilot-lite-angular",
3
- "version": "3.33.0",
3
+ "version": "3.34.0",
4
4
  "description": "DayPilot Lite for Angular",
5
5
  "homepage": "https://javascript.daypilot.org/",
6
6
  "author": "Annpoint, s.r.o.",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "tslib": "^2.3.0",
25
- "@daypilot/daypilot-lite-javascript": "3.33.0"
25
+ "@daypilot/daypilot-lite-javascript": "3.34.0"
26
26
  },
27
27
  "module": "fesm2015/daypilot-daypilot-lite-angular.mjs",
28
28
  "es2020": "fesm2020/daypilot-daypilot-lite-angular.mjs",