@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/hypervisor",
3
- "version": "1.4.26",
3
+ "version": "1.4.27",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "17.x || 18.x",
6
6
  "@angular/common": "17.x || 18.x",
@@ -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 { BehaviorSubject, Observable, Subject } from 'rxjs';
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; }; "me": { "alias": "me"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readonlyProcedure": { "alias": "readonlyProcedure"; "required": false; }; "enableEditActions": { "alias": "enableEditActions"; "required": false; }; "readOnlyComment": { "alias": "readOnlyComment"; "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>;
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;
@@ -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;
@@ -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;
@@ -37,6 +37,7 @@ export declare const procedureForWriteAPI: (procedure: HypProcedure) => {
37
37
  domain?: string;
38
38
  lastComment: import("../comment.interface").HypComment;
39
39
  commentCount: number;
40
+ creator: string;
40
41
  id: number;
41
42
  name: string;
42
43
  criticality: string;