@provoly/hypervisor 1.4.26 → 1.4.28
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/src/lib/event/detail/event-detail.component.mjs +18 -7
- package/esm2022/src/lib/general/i18n/en.translations.mjs +3 -1
- package/esm2022/src/lib/general/i18n/fr.translations.mjs +3 -1
- package/esm2022/src/lib/model/event/hyp-event-detail.interface.mjs +1 -1
- package/esm2022/src/lib/procedure/model-detail/procedure-model-detail.component.mjs +14 -5
- package/fesm2022/provoly-hypervisor.mjs +33 -9
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/event/detail/event-detail.component.d.ts +14 -4
- package/src/lib/general/i18n/en.translations.d.ts +2 -0
- package/src/lib/general/i18n/fr.translations.d.ts +2 -0
- package/src/lib/model/event/hyp-event-detail.interface.d.ts +2 -0
- package/src/lib/model/procedure/hyp-procedure.interface.d.ts +1 -0
- package/src/lib/procedure/model-detail/procedure-model-detail.component.d.ts +6 -2
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import { HypEquipment } from '../../model/hyp-equipment.interface';
|
|
|
6
6
|
import { EquipmentService } from '../../store/equipment/equipment.service';
|
|
7
7
|
import { Store } from '@ngrx/store';
|
|
8
8
|
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
9
|
-
import {
|
|
9
|
+
import { Observable, Subject } from 'rxjs';
|
|
10
10
|
import { HypCommentsService } from '../../store/comments/comments.service';
|
|
11
11
|
import { HypServiceTooltip } from '../../model/event/hyp-event-tooltip.interface';
|
|
12
12
|
import { HvyEventDetailsTooltipComponent } from './event-details-tooltip.component';
|
|
@@ -60,7 +60,6 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
60
60
|
canCloseSome: boolean;
|
|
61
61
|
changeStatusContext: ChangeStatusContext;
|
|
62
62
|
title?: string;
|
|
63
|
-
me?: string | null;
|
|
64
63
|
readonly: boolean | null;
|
|
65
64
|
readonlyProcedure: boolean | null;
|
|
66
65
|
enableEditActions: boolean | null;
|
|
@@ -68,7 +67,6 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
68
67
|
overlayRef?: OverlayRef;
|
|
69
68
|
confirmDialog: TemplateRef<any>;
|
|
70
69
|
comfirmDialogOpened: EventEmitter<ChangeStatusContext>;
|
|
71
|
-
triggerComment$: BehaviorSubject<void>;
|
|
72
70
|
onEquipmentSearch$: Subject<number>;
|
|
73
71
|
equipmentSelectValue: (string | HypEquipment | undefined)[];
|
|
74
72
|
equipments$: Observable<HypEquipmentWithMatching[]>;
|
|
@@ -83,6 +81,14 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
83
81
|
action: HypAction;
|
|
84
82
|
comments: HypComment[];
|
|
85
83
|
}>;
|
|
84
|
+
profile: {
|
|
85
|
+
sub: string | undefined;
|
|
86
|
+
userName: string | undefined;
|
|
87
|
+
} | null;
|
|
88
|
+
set me(me: {
|
|
89
|
+
sub: string | undefined;
|
|
90
|
+
userName: string | undefined;
|
|
91
|
+
} | null);
|
|
86
92
|
set events(events: HypEventDetails[]);
|
|
87
93
|
set procedure(procedure: HypProcedure);
|
|
88
94
|
set cancelModifications(evt: any);
|
|
@@ -91,6 +97,10 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
91
97
|
equipmentName?: string;
|
|
92
98
|
});
|
|
93
99
|
constructor(equipmentService: EquipmentService, store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, i18nService: PryI18nService, pryDialog: PryDialogService, commentsService: HypCommentsService, eventService: EventService, actions$: Actions);
|
|
100
|
+
get me(): {
|
|
101
|
+
sub: string | undefined;
|
|
102
|
+
userName: string | undefined;
|
|
103
|
+
} | null;
|
|
94
104
|
get events(): HypEventDetails[];
|
|
95
105
|
get canAssociateProcedure(): boolean;
|
|
96
106
|
get procedure(): HypProcedure | undefined;
|
|
@@ -152,5 +162,5 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
152
162
|
message: string;
|
|
153
163
|
}): void;
|
|
154
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventDetailComponent, never>;
|
|
155
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EventDetailComponent, "hvy-event-detail", never, { "title": { "alias": "title"; "required": false; }; "
|
|
165
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EventDetailComponent, "hvy-event-detail", never, { "title": { "alias": "title"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readonlyProcedure": { "alias": "readonlyProcedure"; "required": false; }; "enableEditActions": { "alias": "enableEditActions"; "required": false; }; "readOnlyComment": { "alias": "readOnlyComment"; "required": false; }; "me": { "alias": "me"; "required": false; }; "events": { "alias": "events"; "required": false; }; "procedure": { "alias": "procedure"; "required": false; }; "cancelModifications": { "alias": "cancelModifications"; "required": false; }; "equipmentName": { "alias": "equipmentName"; "required": false; }; }, { "modifiedEvents": "modifiedEvents"; "modifiedProcedure": "modifiedProcedure"; "eventErrors": "eventErrors"; "addedEvent": "addedEvent"; "comfirmDialogOpened": "comfirmDialogOpened"; "commented": "commented"; }, never, never, false, never>;
|
|
156
166
|
}
|
|
@@ -28,6 +28,7 @@ export declare const enTranslations: {
|
|
|
28
28
|
startDate: string;
|
|
29
29
|
endDate: string;
|
|
30
30
|
creationDate: string;
|
|
31
|
+
creator: string;
|
|
31
32
|
errorDate: string;
|
|
32
33
|
lastModificationDate: string;
|
|
33
34
|
closeDate: string;
|
|
@@ -132,6 +133,7 @@ export declare const enTranslations: {
|
|
|
132
133
|
IN_PROGRESS: string;
|
|
133
134
|
DONE: string;
|
|
134
135
|
};
|
|
136
|
+
alreadyExists: string;
|
|
135
137
|
name: string;
|
|
136
138
|
progress: string;
|
|
137
139
|
useCount: string;
|
|
@@ -29,6 +29,7 @@ export declare const frTranslations: {
|
|
|
29
29
|
startDate: string;
|
|
30
30
|
endDate: string;
|
|
31
31
|
creationDate: string;
|
|
32
|
+
creator: string;
|
|
32
33
|
errorDate: string;
|
|
33
34
|
lastModificationDate: string;
|
|
34
35
|
closeDate: string;
|
|
@@ -145,6 +146,7 @@ export declare const frTranslations: {
|
|
|
145
146
|
IN_PROGRESS: string;
|
|
146
147
|
DONE: string;
|
|
147
148
|
};
|
|
149
|
+
alreadyExists: string;
|
|
148
150
|
name: string;
|
|
149
151
|
progress: string;
|
|
150
152
|
useCount: string;
|
|
@@ -23,6 +23,7 @@ export interface HypEventDetails extends HypEvent {
|
|
|
23
23
|
domain?: string;
|
|
24
24
|
lastComment: HypComment;
|
|
25
25
|
commentCount: number;
|
|
26
|
+
creator: string;
|
|
26
27
|
}
|
|
27
28
|
export declare const eventForWriteAPI: (event: HypEventDetails) => {
|
|
28
29
|
equipmentId: string | undefined;
|
|
@@ -50,6 +51,7 @@ export declare const eventForWriteAPI: (event: HypEventDetails) => {
|
|
|
50
51
|
domain?: string;
|
|
51
52
|
lastComment: HypComment;
|
|
52
53
|
commentCount: number;
|
|
54
|
+
creator: string;
|
|
53
55
|
id: number;
|
|
54
56
|
name: string;
|
|
55
57
|
criticality: string;
|
|
@@ -14,7 +14,11 @@ export declare class ProcedureModelDetailComponent extends SubscriptionnerDirect
|
|
|
14
14
|
field: string;
|
|
15
15
|
code: string;
|
|
16
16
|
}[];
|
|
17
|
-
eventErrors:
|
|
17
|
+
eventErrors: {
|
|
18
|
+
field: string;
|
|
19
|
+
code: string;
|
|
20
|
+
}[];
|
|
21
|
+
eventErrorsChange: EventEmitter<{
|
|
18
22
|
field: string;
|
|
19
23
|
code: string;
|
|
20
24
|
}[]>;
|
|
@@ -37,5 +41,5 @@ export declare class ProcedureModelDetailComponent extends SubscriptionnerDirect
|
|
|
37
41
|
fn: (id: number | string) => string;
|
|
38
42
|
};
|
|
39
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcedureModelDetailComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureModelDetailComponent, "hvy-procedure-model-detail", never, { "model": { "alias": "model"; "required": false; }; "username": { "alias": "username"; "required": false; }; "title": { "alias": "title"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readOnlyComment": { "alias": "readOnlyComment"; "required": false; }; "cancelModifications": { "alias": "cancelModifications"; "required": false; }; }, { "
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureModelDetailComponent, "hvy-procedure-model-detail", never, { "model": { "alias": "model"; "required": false; }; "username": { "alias": "username"; "required": false; }; "title": { "alias": "title"; "required": false; }; "eventErrors": { "alias": "eventErrors"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readOnlyComment": { "alias": "readOnlyComment"; "required": false; }; "cancelModifications": { "alias": "cancelModifications"; "required": false; }; }, { "eventErrorsChange": "eventErrorsChange"; "modified": "modified"; }, never, never, false, never>;
|
|
41
45
|
}
|