@daypilot/daypilot-lite-angular 4.8.1 → 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.
- package/{esm2020 → esm2022}/daypilot-daypilot-lite-angular.mjs +4 -4
- package/esm2022/lib/core/daypilot-core.mjs +4122 -0
- package/esm2022/lib/daypilot-calendar.component.mjs +146 -0
- package/esm2022/lib/daypilot-month.component.mjs +136 -0
- package/esm2022/lib/daypilot-navigator.component.mjs +183 -0
- package/esm2022/lib/daypilot-scheduler.component.mjs +145 -0
- package/esm2022/lib/daypilot.module.mjs +37 -0
- package/esm2022/lib/util.mjs +45 -0
- package/{esm2020 → esm2022}/public-api.mjs +9 -9
- package/{fesm2020 → fesm2022}/daypilot-daypilot-lite-angular.mjs +4777 -4199
- package/fesm2022/daypilot-daypilot-lite-angular.mjs.map +1 -0
- package/{daypilot-daypilot-lite-angular.d.ts → index.d.ts} +5 -5
- package/lib/core/daypilot-core.d.ts +1431 -1427
- package/lib/daypilot-calendar.component.d.ts +31 -25
- package/lib/daypilot-month.component.d.ts +29 -22
- package/lib/daypilot-navigator.component.d.ts +36 -29
- package/lib/daypilot-scheduler.component.d.ts +31 -25
- package/lib/daypilot.module.d.ts +10 -10
- package/lib/util.d.ts +8 -6
- package/package.json +10 -16
- package/public-api.d.ts +6 -6
- package/esm2020/lib/core/daypilot-core.mjs +0 -3732
- package/esm2020/lib/daypilot-calendar.component.mjs +0 -102
- package/esm2020/lib/daypilot-month.component.mjs +0 -82
- package/esm2020/lib/daypilot-navigator.component.mjs +0 -127
- package/esm2020/lib/daypilot-scheduler.component.mjs +0 -102
- package/esm2020/lib/daypilot.module.mjs +0 -36
- package/esm2020/lib/util.mjs +0 -49
- package/fesm2015/daypilot-daypilot-lite-angular.mjs +0 -6487
- package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +0 -1
- 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
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
config: any
|
|
9
|
-
private _requestUpdateFull;
|
|
10
|
-
private _requestUpdateEvents;
|
|
11
|
-
private _requestViewChange;
|
|
12
|
-
private _hashOptions;
|
|
13
|
-
private _hashEvents;
|
|
14
|
-
private
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
|
2
|
-
import { DayPilot } from "./core/daypilot-core";
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
config: any
|
|
8
|
-
private
|
|
9
|
-
private
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
private
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
config: any
|
|
7
|
-
dateChange: EventEmitter<DayPilot.Date>;
|
|
8
|
-
control: DayPilot.Navigator;
|
|
9
|
-
private
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
private
|
|
13
|
-
private
|
|
14
|
-
private
|
|
15
|
-
private
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
private
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
|
2
|
-
import { DayPilot } from "./core/daypilot-core";
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
config: any
|
|
9
|
-
private _requestUpdateFull;
|
|
10
|
-
private _requestUpdateEvents;
|
|
11
|
-
private _requestViewChange;
|
|
12
|
-
private _hashOptions;
|
|
13
|
-
private _hashEvents;
|
|
14
|
-
private
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
+
}
|
package/lib/daypilot.module.d.ts
CHANGED
|
@@ -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
|
-
|
|
2
|
-
export
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
|
|
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": "
|
|
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": ">=
|
|
31
|
-
"@angular/core": ">=
|
|
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": "
|
|
35
|
+
"@daypilot/daypilot-lite-javascript": "5.0.0-sandbox.760"
|
|
36
36
|
},
|
|
37
|
-
"module": "
|
|
38
|
-
"
|
|
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": "./
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
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";
|