@daypilot/daypilot-lite-angular 5.5.0 → 5.7.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.
@@ -277,6 +277,7 @@ export declare namespace DayPilot {
277
277
  newStart: DayPilot.Date;
278
278
  newEnd: DayPilot.Date;
279
279
  newResource: ResourceId;
280
+ readonly alt: boolean;
280
281
  readonly ctrl: boolean;
281
282
  readonly shift: boolean;
282
283
  readonly meta: boolean;
@@ -291,6 +292,7 @@ export declare namespace DayPilot {
291
292
  readonly newStart: DayPilot.Date;
292
293
  readonly newEnd: DayPilot.Date;
293
294
  readonly newResource: ResourceId;
295
+ readonly alt: boolean;
294
296
  readonly ctrl: boolean;
295
297
  readonly shift: boolean;
296
298
  readonly meta: boolean;
@@ -303,6 +305,10 @@ export declare namespace DayPilot {
303
305
  newStart: DayPilot.Date;
304
306
  newEnd: DayPilot.Date;
305
307
  readonly what: "start" | "end";
308
+ readonly ctrl: boolean;
309
+ readonly shift: boolean;
310
+ readonly meta: boolean;
311
+ readonly alt: boolean;
306
312
  loaded(): void;
307
313
  preventDefault(): void;
308
314
  }
@@ -314,6 +320,10 @@ export declare namespace DayPilot {
314
320
  readonly newStart: DayPilot.Date;
315
321
  readonly newEnd: DayPilot.Date;
316
322
  readonly what: "start" | "end";
323
+ readonly ctrl: boolean;
324
+ readonly shift: boolean;
325
+ readonly meta: boolean;
326
+ readonly alt: boolean;
317
327
  }
318
328
  interface SchedulerEventRightClickArgs {
319
329
  readonly e: DayPilot.Event;
@@ -476,6 +486,7 @@ export declare namespace DayPilot {
476
486
  columnMarginRight?: number;
477
487
  columnsLoadMethod?: "POST" | "GET";
478
488
  contextMenu?: DayPilot.Menu;
489
+ cssClass?: string;
479
490
  days?: number;
480
491
  doubleClickTimeout?: number;
481
492
  durationBarVisible?: boolean;
@@ -511,6 +522,7 @@ export declare namespace DayPilot {
511
522
  visible?: boolean;
512
523
  weekStarts?: "Auto" | number;
513
524
  xssProtection?: "Enabled" | "Disabled";
525
+ zoomLevels?: ZoomLevel[];
514
526
  onAfterEventRender?: EventHandler<CalendarAfterEventRenderArgs>;
515
527
  onBeforeCellRender?: EventHandler<CalendarBeforeCellRenderArgs>;
516
528
  onBeforeEventRender?: EventHandler<CalendarBeforeEventRenderArgs>;
@@ -533,6 +545,7 @@ export declare namespace DayPilot {
533
545
  class CalendarConfig extends CalendarPropsAndEvents {
534
546
  columns?: CalendarColumnData[];
535
547
  events?: EventData[];
548
+ zoom?: number | string;
536
549
  }
537
550
  class Calendar extends CalendarPropsAndEvents {
538
551
  v: string;
@@ -551,6 +564,8 @@ export declare namespace DayPilot {
551
564
  add(e: DayPilot.Event | EventData): void;
552
565
  find(id: string): DayPilot.Event;
553
566
  find(filter: (e: DayPilot.Event) => boolean): DayPilot.Event;
567
+ findAll(filter: (e: DayPilot.Event) => boolean): DayPilot.Event[];
568
+ findAll(example: any): DayPilot.Event[];
554
569
  forRange(start?: DayPilot.Date | string, end?: DayPilot.Date | string): DayPilot.Event[];
555
570
  load(url: string, success: (args: {
556
571
  data: any;
@@ -571,11 +586,17 @@ export declare namespace DayPilot {
571
586
  getSelection(): DayPilot.Selection;
572
587
  hide(): void;
573
588
  init(): void;
589
+ scrollToHour(hour: number): void;
574
590
  setScrollY(scrollY: number): void;
575
591
  show(): void;
576
592
  update(options?: CalendarConfig): void;
577
593
  visibleStart(): DayPilot.Date;
578
594
  visibleEnd(): DayPilot.Date;
595
+ zoom: {
596
+ setActive(index: number): void;
597
+ setActive(id: string): void;
598
+ active: number;
599
+ };
579
600
  }
580
601
  interface CalendarColumnData {
581
602
  name: string;
@@ -1340,6 +1361,7 @@ export declare namespace DayPilot {
1340
1361
  borderRadius?: number | string;
1341
1362
  bottom?: number | string;
1342
1363
  cssClass?: string;
1364
+ cursor?: string;
1343
1365
  fontColor?: string;
1344
1366
  height?: number | string;
1345
1367
  horizontalAlignment?: HorizontalAlignment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daypilot/daypilot-lite-angular",
3
- "version": "5.5.0",
3
+ "version": "5.7.0",
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.5.0"
35
+ "@daypilot/daypilot-lite-javascript": "5.7.0"
36
36
  },
37
37
  "module": "fesm2022/daypilot-daypilot-lite-angular.mjs",
38
38
  "typings": "index.d.ts",