@daypilot/daypilot-lite-angular 4.9.0 → 5.0.0-sandbox.760

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.
Files changed (31) hide show
  1. package/{esm2020 → esm2022}/daypilot-daypilot-lite-angular.mjs +4 -4
  2. package/esm2022/lib/core/daypilot-core.mjs +4122 -0
  3. package/esm2022/lib/daypilot-calendar.component.mjs +146 -0
  4. package/esm2022/lib/daypilot-month.component.mjs +136 -0
  5. package/esm2022/lib/daypilot-navigator.component.mjs +183 -0
  6. package/esm2022/lib/daypilot-scheduler.component.mjs +145 -0
  7. package/esm2022/lib/daypilot.module.mjs +37 -0
  8. package/esm2022/lib/util.mjs +45 -0
  9. package/{esm2020 → esm2022}/public-api.mjs +9 -9
  10. package/{fesm2020 → fesm2022}/daypilot-daypilot-lite-angular.mjs +4777 -4244
  11. package/fesm2022/daypilot-daypilot-lite-angular.mjs.map +1 -0
  12. package/{daypilot-daypilot-lite-angular.d.ts → index.d.ts} +5 -5
  13. package/lib/core/daypilot-core.d.ts +1431 -1431
  14. package/lib/daypilot-calendar.component.d.ts +31 -25
  15. package/lib/daypilot-month.component.d.ts +29 -22
  16. package/lib/daypilot-navigator.component.d.ts +36 -29
  17. package/lib/daypilot-scheduler.component.d.ts +31 -25
  18. package/lib/daypilot.module.d.ts +10 -10
  19. package/lib/util.d.ts +8 -6
  20. package/package.json +10 -16
  21. package/public-api.d.ts +6 -6
  22. package/esm2020/lib/core/daypilot-core.mjs +0 -3777
  23. package/esm2020/lib/daypilot-calendar.component.mjs +0 -102
  24. package/esm2020/lib/daypilot-month.component.mjs +0 -82
  25. package/esm2020/lib/daypilot-navigator.component.mjs +0 -127
  26. package/esm2020/lib/daypilot-scheduler.component.mjs +0 -102
  27. package/esm2020/lib/daypilot.module.mjs +0 -36
  28. package/esm2020/lib/util.mjs +0 -49
  29. package/fesm2015/daypilot-daypilot-lite-angular.mjs +0 -6557
  30. package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +0 -1
  31. package/fesm2020/daypilot-daypilot-lite-angular.mjs.map +0 -1
@@ -1,25 +1,31 @@
1
- import { AfterViewInit, DoCheck, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { DayPilot } from "./core/daypilot-core";
3
- import * as i0 from "@angular/core";
4
- export declare class DayPilotCalendarComponent implements OnInit, OnDestroy, AfterViewInit, DoCheck {
5
- control: DayPilot.Calendar;
6
- viewChange: EventEmitter<DayPilot.Date>;
7
- events: DayPilot.EventData[];
8
- config: any;
9
- private _requestUpdateFull;
10
- private _requestUpdateEvents;
11
- private _requestViewChange;
12
- private _hashOptions;
13
- private _hashEvents;
14
- private _id;
15
- get id(): string;
16
- ngOnInit(): void;
17
- ngOnDestroy(): void;
18
- ngAfterViewInit(): void;
19
- ngDoCheck(): void;
20
- private dispose;
21
- private updateOptions;
22
- private updateEvents;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<DayPilotCalendarComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<DayPilotCalendarComponent, "daypilot-calendar", never, { "events": "events"; "config": "config"; }, { "viewChange": "viewChange"; }, never, never>;
25
- }
1
+ import { AfterViewInit, DoCheck, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { DayPilot } from "./core/daypilot-core";
3
+ import { OptionalSignal } from "./util";
4
+ import * as i0 from "@angular/core";
5
+ export declare class DayPilotCalendarComponent implements OnInit, OnDestroy, AfterViewInit, DoCheck {
6
+ control: DayPilot.Calendar;
7
+ viewChange: EventEmitter<DayPilot.Date>;
8
+ config: OptionalSignal<any>;
9
+ private _requestUpdateFull;
10
+ private _requestUpdateEvents;
11
+ private _requestViewChange;
12
+ private _hashOptions;
13
+ private _hashEvents;
14
+ private _eventsSet;
15
+ private _id;
16
+ private _events;
17
+ get events(): DayPilot.EventData[];
18
+ set events(value: OptionalSignal<DayPilot.EventData[]>);
19
+ private get configResolved();
20
+ get id(): string;
21
+ constructor();
22
+ ngOnInit(): void;
23
+ ngOnDestroy(): void;
24
+ ngAfterViewInit(): void;
25
+ ngDoCheck(): void;
26
+ private dispose;
27
+ private updateOptions;
28
+ private updateEvents;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<DayPilotCalendarComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<DayPilotCalendarComponent, "daypilot-calendar", never, { "config": { "alias": "config"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, { "viewChange": "viewChange"; }, never, never, false, never>;
31
+ }
@@ -1,22 +1,29 @@
1
- import { AfterViewInit, DoCheck, OnDestroy, OnInit } from "@angular/core";
2
- import { DayPilot } from "./core/daypilot-core";
3
- import * as i0 from "@angular/core";
4
- export declare class DayPilotMonthComponent implements OnInit, OnDestroy, AfterViewInit, DoCheck {
5
- control: DayPilot.Month;
6
- events: DayPilot.EventData[];
7
- config: any;
8
- private _requestUpdate;
9
- private _hashOptions;
10
- private _hashEvents;
11
- private _id;
12
- get id(): string;
13
- ngOnInit(): void;
14
- ngOnDestroy(): void;
15
- ngAfterViewInit(): void;
16
- ngDoCheck(): void;
17
- private dispose;
18
- private updateOptions;
19
- private updateEvents;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<DayPilotMonthComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<DayPilotMonthComponent, "daypilot-month", never, { "events": "events"; "config": "config"; }, {}, never, never>;
22
- }
1
+ import { AfterViewInit, DoCheck, OnDestroy, OnInit } from '@angular/core';
2
+ import { DayPilot } from "./core/daypilot-core";
3
+ import { OptionalSignal } from "./util";
4
+ import * as i0 from "@angular/core";
5
+ export declare class DayPilotMonthComponent implements OnInit, OnDestroy, AfterViewInit, DoCheck {
6
+ control: DayPilot.Month;
7
+ config: OptionalSignal<any>;
8
+ private _requestUpdateFull;
9
+ private _requestUpdateEvents;
10
+ private _hashOptions;
11
+ private _hashEvents;
12
+ private _eventsSet;
13
+ private _id;
14
+ private _events;
15
+ get events(): DayPilot.EventData[];
16
+ set events(value: OptionalSignal<DayPilot.EventData[]>);
17
+ private get configResolved();
18
+ get id(): string;
19
+ constructor();
20
+ ngOnInit(): void;
21
+ ngOnDestroy(): void;
22
+ ngAfterViewInit(): void;
23
+ ngDoCheck(): void;
24
+ private dispose;
25
+ private updateOptions;
26
+ private updateEvents;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<DayPilotMonthComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<DayPilotMonthComponent, "daypilot-month", never, { "config": { "alias": "config"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, {}, never, never, false, never>;
29
+ }
@@ -1,29 +1,36 @@
1
- import { AfterViewInit, DoCheck, EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
- import { DayPilot } from "./core/daypilot-core";
3
- import * as i0 from "@angular/core";
4
- export declare class DayPilotNavigatorComponent implements OnInit, OnDestroy, AfterViewInit, DoCheck {
5
- events: DayPilot.EventDataShort[];
6
- config: any;
7
- dateChange: EventEmitter<DayPilot.Date>;
8
- control: DayPilot.Navigator;
9
- private _requestUpdate;
10
- private _hashOptions;
11
- private _hashEvents;
12
- private _onTrs;
13
- private _dateSet;
14
- private _currentDate;
15
- private _date;
16
- get date(): DayPilot.Date;
17
- set date(value: DayPilot.Date);
18
- private _id;
19
- get id(): string;
20
- ngOnInit(): void;
21
- ngOnDestroy(): void;
22
- ngAfterViewInit(): void;
23
- ngDoCheck(): void;
24
- private dispose;
25
- private updateOptions;
26
- private updateEvents;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<DayPilotNavigatorComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<DayPilotNavigatorComponent, "daypilot-navigator", never, { "events": "events"; "config": "config"; "date": "date"; }, { "dateChange": "dateChange"; }, never, never>;
29
- }
1
+ import { AfterViewInit, DoCheck, EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
+ import { DayPilot } from "./core/daypilot-core";
3
+ import { OptionalSignal } from "./util";
4
+ import * as i0 from "@angular/core";
5
+ export declare class DayPilotNavigatorComponent implements OnInit, OnDestroy, AfterViewInit, DoCheck {
6
+ config: OptionalSignal<any>;
7
+ dateChange: EventEmitter<DayPilot.Date>;
8
+ control: DayPilot.Navigator;
9
+ private _requestUpdateFull;
10
+ private _requestUpdateEvents;
11
+ private _hashOptions;
12
+ private _hashEvents;
13
+ private _onTrs;
14
+ private _dateSet;
15
+ private _currentDate;
16
+ private _eventsSet;
17
+ private _date;
18
+ get date(): DayPilot.Date;
19
+ set date(value: DayPilot.Date);
20
+ private _events;
21
+ get events(): DayPilot.EventData[];
22
+ set events(value: OptionalSignal<DayPilot.EventData[]>);
23
+ private get configResolved();
24
+ private _id;
25
+ get id(): string;
26
+ constructor();
27
+ ngOnInit(): void;
28
+ ngOnDestroy(): void;
29
+ ngAfterViewInit(): void;
30
+ ngDoCheck(): void;
31
+ private dispose;
32
+ private updateOptions;
33
+ private updateEvents;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<DayPilotNavigatorComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<DayPilotNavigatorComponent, "daypilot-navigator", never, { "config": { "alias": "config"; "required": false; }; "date": { "alias": "date"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, { "dateChange": "dateChange"; }, never, never, false, never>;
36
+ }
@@ -1,25 +1,31 @@
1
- import { AfterViewInit, DoCheck, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { DayPilot } from "./core/daypilot-core";
3
- import * as i0 from "@angular/core";
4
- export declare class DayPilotSchedulerComponent implements OnInit, OnDestroy, AfterViewInit, DoCheck {
5
- control: DayPilot.Scheduler;
6
- viewChange: EventEmitter<DayPilot.Date>;
7
- events: DayPilot.EventData[];
8
- config: any;
9
- private _requestUpdateFull;
10
- private _requestUpdateEvents;
11
- private _requestViewChange;
12
- private _hashOptions;
13
- private _hashEvents;
14
- private _id;
15
- get id(): string;
16
- ngOnInit(): void;
17
- ngOnDestroy(): void;
18
- ngAfterViewInit(): void;
19
- ngDoCheck(): void;
20
- private dispose;
21
- private updateOptions;
22
- private updateEvents;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<DayPilotSchedulerComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<DayPilotSchedulerComponent, "daypilot-scheduler", never, { "events": "events"; "config": "config"; }, { "viewChange": "viewChange"; }, never, never>;
25
- }
1
+ import { AfterViewInit, DoCheck, EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
+ import { DayPilot } from "./core/daypilot-core";
3
+ import { OptionalSignal } from "./util";
4
+ import * as i0 from "@angular/core";
5
+ export declare class DayPilotSchedulerComponent implements OnInit, OnDestroy, AfterViewInit, DoCheck {
6
+ control: DayPilot.Scheduler;
7
+ viewChange: EventEmitter<DayPilot.Date>;
8
+ config: OptionalSignal<any>;
9
+ private _requestUpdateFull;
10
+ private _requestUpdateEvents;
11
+ private _requestViewChange;
12
+ private _hashOptions;
13
+ private _hashEvents;
14
+ private _eventsSet;
15
+ private _events;
16
+ get events(): DayPilot.EventData[];
17
+ set events(value: OptionalSignal<DayPilot.EventData[]>);
18
+ private _id;
19
+ private get configResolved();
20
+ get id(): string;
21
+ constructor();
22
+ ngOnInit(): Promise<void>;
23
+ ngOnDestroy(): void;
24
+ ngAfterViewInit(): void;
25
+ ngDoCheck(): void;
26
+ private dispose;
27
+ private updateOptions;
28
+ private updateEvents;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<DayPilotSchedulerComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<DayPilotSchedulerComponent, "daypilot-scheduler", never, { "config": { "alias": "config"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, { "viewChange": "viewChange"; }, never, never, false, never>;
31
+ }
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./daypilot-calendar.component";
3
- import * as i2 from "./daypilot-scheduler.component";
4
- import * as i3 from "./daypilot-month.component";
5
- import * as i4 from "./daypilot-navigator.component";
6
- export declare class DayPilotModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<DayPilotModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<DayPilotModule, [typeof i1.DayPilotCalendarComponent, typeof i2.DayPilotSchedulerComponent, typeof i3.DayPilotMonthComponent, typeof i4.DayPilotNavigatorComponent], never, [typeof i1.DayPilotCalendarComponent, typeof i2.DayPilotSchedulerComponent, typeof i3.DayPilotMonthComponent, typeof i4.DayPilotNavigatorComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<DayPilotModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./daypilot-calendar.component";
3
+ import * as i2 from "./daypilot-scheduler.component";
4
+ import * as i3 from "./daypilot-month.component";
5
+ import * as i4 from "./daypilot-navigator.component";
6
+ export declare class DayPilotModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<DayPilotModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DayPilotModule, [typeof i1.DayPilotCalendarComponent, typeof i2.DayPilotSchedulerComponent, typeof i3.DayPilotMonthComponent, typeof i4.DayPilotNavigatorComponent], never, [typeof i1.DayPilotCalendarComponent, typeof i2.DayPilotSchedulerComponent, typeof i3.DayPilotMonthComponent, typeof i4.DayPilotNavigatorComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<DayPilotModule>;
10
+ }
package/lib/util.d.ts CHANGED
@@ -1,6 +1,8 @@
1
- export declare function rand(): number;
2
- export declare function optHash(options: any): string;
3
- export declare class EventDiff {
4
- orig: any;
5
- diff(list: any[]): any;
6
- }
1
+ import { Signal } from "@angular/core";
2
+ export type OptionalSignal<T> = T | Signal<T>;
3
+ export declare function rand(): number;
4
+ export declare function optHash(options: any): string;
5
+ export declare class EventDiff {
6
+ orig: any;
7
+ diff(list: any[]): any;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daypilot/daypilot-lite-angular",
3
- "version": "4.9.0",
3
+ "version": "5.0.0-sandbox.760",
4
4
  "description": "DayPilot Lite for Angular",
5
5
  "homepage": "https://javascript.daypilot.org/",
6
6
  "author": "Annpoint, s.r.o.",
@@ -27,30 +27,24 @@
27
27
  "appointment"
28
28
  ],
29
29
  "peerDependencies": {
30
- "@angular/common": ">=12.0.0",
31
- "@angular/core": ">=12.0.0"
30
+ "@angular/common": ">=16.0.0",
31
+ "@angular/core": ">=16.0.0"
32
32
  },
33
33
  "dependencies": {
34
34
  "tslib": "^2.3.0",
35
- "@daypilot/daypilot-lite-javascript": "4.9.0"
35
+ "@daypilot/daypilot-lite-javascript": "5.0.0-sandbox.760"
36
36
  },
37
- "module": "fesm2015/daypilot-daypilot-lite-angular.mjs",
38
- "es2020": "fesm2020/daypilot-daypilot-lite-angular.mjs",
39
- "esm2020": "esm2020/daypilot-daypilot-lite-angular.mjs",
40
- "fesm2020": "fesm2020/daypilot-daypilot-lite-angular.mjs",
41
- "fesm2015": "fesm2015/daypilot-daypilot-lite-angular.mjs",
42
- "typings": "daypilot-daypilot-lite-angular.d.ts",
37
+ "module": "fesm2022/daypilot-daypilot-lite-angular.mjs",
38
+ "typings": "index.d.ts",
43
39
  "exports": {
44
40
  "./package.json": {
45
41
  "default": "./package.json"
46
42
  },
47
43
  ".": {
48
- "types": "./daypilot-daypilot-lite-angular.d.ts",
49
- "esm2020": "./esm2020/daypilot-daypilot-lite-angular.mjs",
50
- "es2020": "./fesm2020/daypilot-daypilot-lite-angular.mjs",
51
- "es2015": "./fesm2015/daypilot-daypilot-lite-angular.mjs",
52
- "node": "./fesm2015/daypilot-daypilot-lite-angular.mjs",
53
- "default": "./fesm2020/daypilot-daypilot-lite-angular.mjs"
44
+ "types": "./index.d.ts",
45
+ "esm2022": "./esm2022/daypilot-daypilot-lite-angular.mjs",
46
+ "esm": "./esm2022/daypilot-daypilot-lite-angular.mjs",
47
+ "default": "./fesm2022/daypilot-daypilot-lite-angular.mjs"
54
48
  }
55
49
  },
56
50
  "sideEffects": false
package/public-api.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export * from './lib/daypilot-calendar.component';
2
- export * from './lib/daypilot-scheduler.component';
3
- export * from './lib/daypilot-month.component';
4
- export * from './lib/daypilot-navigator.component';
5
- export * from './lib/daypilot.module';
6
- export { DayPilot } from "./lib/core/daypilot-core";
1
+ export * from './lib/daypilot-calendar.component';
2
+ export * from './lib/daypilot-scheduler.component';
3
+ export * from './lib/daypilot-month.component';
4
+ export * from './lib/daypilot-navigator.component';
5
+ export * from './lib/daypilot.module';
6
+ export { DayPilot } from "./lib/core/daypilot-core";