@daypilot/daypilot-lite-angular 3.2.1 → 3.3.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.
@@ -9,13 +9,13 @@ export declare module DayPilot {
9
9
  days?: number;
10
10
  doubleClickTimeout?: number;
11
11
  durationBarVisible?: boolean;
12
- eventClickHandling?: "Enabled" | "Disabled" | "CallBack" | "Edit" | "Select" | "ContextMenu" | "Bubble";
12
+ eventClickHandling?: "Enabled" | "Disabled" | "CallBack";
13
13
  eventDeleteHandling?: "Update" | "Disabled" | "CallBack";
14
- eventMoveHandling?: "Update" | "CallBack" | "Notify" | "Disabled";
15
- eventResizeHandling?: "Update" | "CallBack" | "Notify" | "Disabled";
14
+ eventMoveHandling?: "Update" | "CallBack" | "Disabled";
15
+ eventResizeHandling?: "Update" | "CallBack" | "Disabled";
16
16
  headerHeight?: number;
17
17
  height?: number;
18
- heightSpec?: "BusinessHours" | "BusinessHoursNoScroll" | "Fixed" | "Full" | "Parent100Pct";
18
+ heightSpec?: "BusinessHours" | "BusinessHoursNoScroll" | "Full";
19
19
  hideUntilInit?: boolean;
20
20
  hourWidth?: number;
21
21
  initScrollPos?: number;
@@ -313,6 +313,10 @@ export declare module DayPilot {
313
313
  export class NavigatorConfig extends NavigatorPropsAndEvents {
314
314
  events?: EventData[];
315
315
  }
316
+ interface NavigatorSelectOptions {
317
+ dontFocus?: boolean;
318
+ dontNotify?: boolean;
319
+ }
316
320
  export class Navigator extends NavigatorPropsAndEvents {
317
321
  v: string;
318
322
  events: {
@@ -322,7 +326,8 @@ export declare module DayPilot {
322
326
  init(): void;
323
327
  dispose(): void;
324
328
  update(options?: NavigatorConfig): void;
325
- select(date: DayPilot.Date | string): void;
329
+ select(date: DayPilot.Date | string, options?: NavigatorSelectOptions): void;
330
+ select(start: DayPilot.Date | string, end: DayPilot.Date | string, options?: NavigatorSelectOptions): void;
326
331
  hide(): void;
327
332
  show(): void;
328
333
  visibleEnd(): DayPilot.Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daypilot/daypilot-lite-angular",
3
- "version": "3.2.1",
3
+ "version": "3.3.0",
4
4
  "description": "DayPilot Lite for Angular",
5
5
  "homepage": "https://javascript.daypilot.org/",
6
6
  "author": "Annpoint, s.r.o.",