@provoly/hypervisor 1.4.26 → 1.4.27
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 +2 -1
- package/esm2022/src/lib/general/i18n/fr.translations.mjs +2 -1
- package/esm2022/src/lib/model/event/hyp-event-detail.interface.mjs +1 -1
- package/fesm2022/provoly-hypervisor.mjs +18 -5
- 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 +1 -0
- package/src/lib/general/i18n/fr.translations.d.ts +1 -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/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
|
}
|
|
@@ -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;
|