@provoly/hypervisor 1.4.61 → 1.4.63

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.61",
3
+ "version": "1.4.63",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "17.x || 18.x",
6
6
  "@angular/common": "17.x || 18.x",
@@ -166,6 +166,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
166
166
  id: string;
167
167
  message: string;
168
168
  }): void;
169
+ ngOnDestroy(): void;
169
170
  static ɵfac: i0.ɵɵFactoryDeclaration<EventDetailComponent, never>;
170
171
  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>;
171
172
  }
@@ -1,15 +1,18 @@
1
+ import { PryDialogConfirmComponent, PryDialogRef } from '@provoly/dashboard';
1
2
  import { HypServiceTooltip } from '../../model/event/hyp-event-tooltip.interface';
2
3
  import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class HvyEventDetailsTooltipComponent {
6
+ private dialog;
5
7
  data: {
6
8
  events?: HypEventDetails[];
7
9
  services?: HypServiceTooltip[];
8
10
  };
9
- constructor(data: {
11
+ constructor(dialog: PryDialogRef<PryDialogConfirmComponent>, data: {
10
12
  events?: HypEventDetails[];
11
13
  services?: HypServiceTooltip[];
12
14
  });
15
+ closeDialog($event: boolean): void;
13
16
  static ɵfac: i0.ɵɵFactoryDeclaration<HvyEventDetailsTooltipComponent, never>;
14
17
  static ɵcmp: i0.ɵɵComponentDeclaration<HvyEventDetailsTooltipComponent, "hvy-event-detail-tooltip", never, {}, {}, never, never, false, never>;
15
18
  }
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { SubscriptionnerDirective } from '@provoly/dashboard';
3
3
  import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
4
4
  import { HypServiceTooltip } from '../../model/event/hyp-event-tooltip.interface';
@@ -7,9 +7,11 @@ export declare class LastEventsComponent extends SubscriptionnerDirective implem
7
7
  protected readonly displayDate: (endDate: string) => string | undefined;
8
8
  services: HypServiceTooltip[];
9
9
  events: HypEventDetails[];
10
+ closeDialogEmit: EventEmitter<boolean>;
10
11
  references: string[];
11
12
  ngOnInit(): void;
13
+ closeDialog(): void;
12
14
  initActionReference(services: HypServiceTooltip[]): void;
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<LastEventsComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<LastEventsComponent, "hvy-last-events", never, { "services": { "alias": "services"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, {}, never, never, false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<LastEventsComponent, "hvy-last-events", never, { "services": { "alias": "services"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, { "closeDialogEmit": "closeDialogEmit"; }, never, never, false, never>;
15
17
  }
@@ -316,7 +316,9 @@
316
316
  box-shadow: 1px 3px 6px #DDDDDD, -1px 3px 6px #DDDDDD;
317
317
  width: toRem(400);
318
318
  &__no-data {
319
- width: toRem(425);
319
+ display: flex;
320
+ align-items: center;
321
+ width: auto;
320
322
  font-size: 0.875rem;
321
323
  }
322
324
  }
@@ -3,7 +3,17 @@
3
3
 
4
4
  .o-hvy-last-events {
5
5
  &__events {
6
+ > div:first-child {
7
+ padding-bottom: 1em;
8
+ display: flex;
9
+ justify-content: space-between;
10
+ align-items: center;
11
+ > h3 {
12
+ padding-bottom: 0;
13
+ }
14
+ }
6
15
  &__item {
16
+ padding-bottom: 1em;
7
17
  font-size: toRem(12);
8
18
  display: grid;
9
19
  grid-template-areas: "icon title status"
@@ -31,6 +41,15 @@
31
41
  }
32
42
 
33
43
  &__services {
44
+ > div:first-child {
45
+ padding-bottom: 1em;
46
+ display: flex;
47
+ justify-content: space-between;
48
+ align-items: center;
49
+ > h3 {
50
+ padding-bottom: 0;
51
+ }
52
+ }
34
53
  &__item {
35
54
  font-size: toRem(12);
36
55
  display: grid;