@provoly/hypervisor 0.0.69 → 0.0.71

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": "0.0.69",
3
+ "version": "0.0.71",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "16.x || 17.x",
6
6
  "@angular/common": "16.x || 17.x",
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { HypProcedure } from '../../model/procedure/hyp-procedure.interface';
3
3
  import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
4
- import { PryI18nService, PrySnackbarService, SubscriptionnerDirective } from '@provoly/dashboard';
4
+ import { PryDialogService, PryI18nService, PrySnackbarService, SubscriptionnerDirective } from '@provoly/dashboard';
5
5
  import { HypEquipment } from '../../model/hyp-equipment.interface';
6
6
  import { EquipmentService } from '../../store/equipment/equipment.service';
7
7
  import { Store } from '@ngrx/store';
@@ -14,6 +14,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
14
14
  private viewContainerRef;
15
15
  private snackBar;
16
16
  private i18nService;
17
+ private pryDialog;
17
18
  opened: boolean[];
18
19
  criticalities: string[];
19
20
  _events: HypEventDetails[];
@@ -49,7 +50,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
49
50
  index: number;
50
51
  equipmentName?: string;
51
52
  });
52
- constructor(equipmentService: EquipmentService, store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, snackBar: PrySnackbarService, i18nService: PryI18nService);
53
+ constructor(equipmentService: EquipmentService, store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, snackBar: PrySnackbarService, i18nService: PryI18nService, pryDialog: PryDialogService);
53
54
  get events(): HypEventDetails[];
54
55
  get canAssociateProcedure(): boolean;
55
56
  get procedure(): HypProcedure | undefined;
@@ -87,6 +88,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
87
88
  fn: (id: string | number) => string;
88
89
  };
89
90
  modifiedActions($event: any): void;
91
+ openAssociationModal(): void;
90
92
  static ɵfac: i0.ɵɵFactoryDeclaration<EventDetailComponent, never>;
91
93
  static ɵcmp: i0.ɵɵComponentDeclaration<EventDetailComponent, "hvy-event-detail", never, { "title": { "alias": "title"; "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"; }, never, never, false, never>;
92
94
  }
@@ -1,4 +1,4 @@
1
- import { Observable, Subject } from 'rxjs';
1
+ import { BehaviorSubject, Observable, Subject } from 'rxjs';
2
2
  import { Store } from '@ngrx/store';
3
3
  import { PryDialogRef, SubscriptionnerDirective } from '@provoly/dashboard';
4
4
  import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
@@ -15,6 +15,8 @@ export declare class ProcedureAssociationModalComponent extends SubscriptionnerD
15
15
  procedureSelectValue?: string | HypProcedureModel;
16
16
  onProcedureSearch$: Subject<void>;
17
17
  procedures$: Observable<HypProcedureModel[]>;
18
+ eventsFromInput$: BehaviorSubject<HypEventDetails[] | null>;
19
+ set events(events: HypEventDetails[]);
18
20
  constructor(store: Store, procedureService: ProcedureService, dialog: PryDialogRef<ProcedureAssociationModalComponent>);
19
21
  onDomainChange(): void;
20
22
  selectedProcedureChange($event: string | HypProcedureModel): void;
@@ -23,5 +25,5 @@ export declare class ProcedureAssociationModalComponent extends SubscriptionnerD
23
25
  closeModal(): void;
24
26
  protected readonly DOMAINS: string[];
25
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ProcedureAssociationModalComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureAssociationModalComponent, "hvy-procedure-association-modal", never, {}, {}, never, never, false, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureAssociationModalComponent, "hvy-procedure-association-modal", never, { "events": { "alias": "events"; "required": false; }; }, {}, never, never, false, never>;
27
29
  }
@@ -1,7 +1,7 @@
1
1
  import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
3
  import { Store } from '@ngrx/store';
4
- import { Observable, Subject } from 'rxjs';
4
+ import { Observable } from 'rxjs';
5
5
  import { HypProcedureModel } from '../../model/procedure/hyp-procedure-model.interface';
6
6
  import { SubscriptionnerDirective } from '@provoly/dashboard';
7
7
  import { InfiniteScrollService } from '../../general/infiniteScroll.service';
@@ -18,14 +18,12 @@ export declare class ProcedureListComponent extends SubscriptionnerDirective imp
18
18
  fn: (procedure: HypProcedureModel, store: Store<any>) => string[];
19
19
  };
20
20
  search: string;
21
- search$: Subject<string>;
22
21
  protected readonly DOMAINS: {
23
22
  key: string;
24
23
  }[];
25
24
  scrollable: ElementRef;
26
25
  constructor(store: Store<any>, router: Router, scroll: InfiniteScrollService);
27
26
  ngAfterViewInit(): void;
28
- emitSearch(): void;
29
27
  goTo(procedure: HypProcedureModel): Promise<boolean>;
30
28
  protected readonly padId: {
31
29
  fn: (id: string | number) => string;