@daypilot/daypilot-lite-angular 5.8.0 → 5.10.0-sandbox.850
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/esm2022/lib/core/daypilot-core.mjs +561 -505
- package/esm2022/lib/daypilot-scheduler.component.mjs +219 -43
- package/fesm2022/daypilot-daypilot-lite-angular.mjs +777 -545
- package/fesm2022/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/lib/core/daypilot-core.d.ts +1 -1
- package/lib/daypilot-scheduler.component.d.ts +43 -3
- package/package.json +2 -2
|
@@ -983,7 +983,7 @@ export declare namespace DayPilot {
|
|
|
983
983
|
onVisibleRangeChanged?: EventHandler<NavigatorVisibleRangeChangedArgs>;
|
|
984
984
|
}
|
|
985
985
|
class NavigatorConfig extends NavigatorPropsAndEvents {
|
|
986
|
-
events?:
|
|
986
|
+
events?: EventDataShort[];
|
|
987
987
|
}
|
|
988
988
|
interface NavigatorSelectOptions {
|
|
989
989
|
dontFocus?: boolean;
|
|
@@ -8,15 +8,28 @@ export declare class DayPilotSchedulerComponent implements OnInit, OnDestroy, Af
|
|
|
8
8
|
config: OptionalSignal<any>;
|
|
9
9
|
private _requestUpdateFull;
|
|
10
10
|
private _requestUpdateEvents;
|
|
11
|
+
private _requestUpdateResources;
|
|
11
12
|
private _requestViewChange;
|
|
13
|
+
private _visibleRange;
|
|
12
14
|
private _hashOptions;
|
|
13
15
|
private _hashEvents;
|
|
16
|
+
private _hashResources;
|
|
14
17
|
private _eventsSet;
|
|
18
|
+
private _resourcesSet;
|
|
15
19
|
private _events;
|
|
16
|
-
|
|
17
|
-
|
|
20
|
+
private _resources;
|
|
21
|
+
private _signalInitialized;
|
|
22
|
+
private _signalConfig;
|
|
23
|
+
private _signalEvents;
|
|
24
|
+
private _signalResources;
|
|
18
25
|
private _id;
|
|
26
|
+
get events(): OptionalSignal<DayPilot.EventData[]>;
|
|
27
|
+
set events(value: OptionalSignal<DayPilot.EventData[]>);
|
|
28
|
+
get resources(): OptionalSignal<DayPilot.ResourceData[]>;
|
|
29
|
+
set resources(value: OptionalSignal<DayPilot.ResourceData[]>);
|
|
19
30
|
private get configResolved();
|
|
31
|
+
private get eventsResolved();
|
|
32
|
+
private get resourcesResolved();
|
|
20
33
|
get id(): string;
|
|
21
34
|
constructor();
|
|
22
35
|
ngOnInit(): Promise<void>;
|
|
@@ -24,8 +37,35 @@ export declare class DayPilotSchedulerComponent implements OnInit, OnDestroy, Af
|
|
|
24
37
|
ngAfterViewInit(): void;
|
|
25
38
|
ngDoCheck(): void;
|
|
26
39
|
private dispose;
|
|
40
|
+
/**
|
|
41
|
+
* Resolves signal inputs and returns a single Scheduler update.
|
|
42
|
+
*
|
|
43
|
+
* A standalone events/resources input takes precedence over the same
|
|
44
|
+
* property supplied through config.
|
|
45
|
+
*/
|
|
46
|
+
private signalUpdateResolved;
|
|
47
|
+
/**
|
|
48
|
+
* Creates a full update when a signal-based config changes.
|
|
49
|
+
*
|
|
50
|
+
* Explicit standalone inputs override config.events and
|
|
51
|
+
* config.resources.
|
|
52
|
+
*/
|
|
53
|
+
private fullSignalUpdateResolved;
|
|
54
|
+
/**
|
|
55
|
+
* Removes properties from config that are supplied using standalone
|
|
56
|
+
* Angular inputs.
|
|
57
|
+
*/
|
|
58
|
+
private configResolvedForUpdate;
|
|
27
59
|
private updateOptions;
|
|
60
|
+
private updateResources;
|
|
61
|
+
/**
|
|
62
|
+
* Replaces the complete event list.
|
|
63
|
+
*
|
|
64
|
+
* No individual event diffing is performed. Signal inputs are detected
|
|
65
|
+
* by reference in signalUpdateResolved(); ordinary array inputs are
|
|
66
|
+
* checked using optHash() from ngDoCheck().
|
|
67
|
+
*/
|
|
28
68
|
private updateEvents;
|
|
29
69
|
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>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DayPilotSchedulerComponent, "daypilot-scheduler", never, { "config": { "alias": "config"; "required": false; }; "events": { "alias": "events"; "required": false; }; "resources": { "alias": "resources"; "required": false; }; }, { "viewChange": "viewChange"; }, never, never, false, never>;
|
|
31
71
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daypilot/daypilot-lite-angular",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.10.0-sandbox.850",
|
|
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.
|
|
35
|
+
"@daypilot/daypilot-lite-javascript": "5.10.0-sandbox.850"
|
|
36
36
|
},
|
|
37
37
|
"module": "fesm2022/daypilot-daypilot-lite-angular.mjs",
|
|
38
38
|
"typings": "index.d.ts",
|