@provoly/hypervisor 0.0.33 → 0.0.35

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.33",
3
+ "version": "0.0.35",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "16.x || 17.x",
6
6
  "@angular/common": "16.x || 17.x",
@@ -14,7 +14,7 @@
14
14
  "rxjs": "^7.4.0",
15
15
  "uuid": "^8.3.2 || ^9.0.0",
16
16
  "zone.js": "~0.14.3",
17
- "@provoly/dashboard": "^0.25.7"
17
+ "@provoly/dashboard": "^1.1.2"
18
18
  },
19
19
  "dependencies": {
20
20
  "tslib": "^2.6.2"
@@ -1,7 +1,8 @@
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 { SubscriptionnerDirective } from '@provoly/dashboard';
4
+ import { PryI18nService, PrySnackbarService, SubscriptionnerDirective } from '@provoly/dashboard';
5
+ import { HypEquipment } from '../../model/hyp-equipment.interface';
5
6
  import { EquipmentService } from '../../store/equipment/equipment.service';
6
7
  import { Store } from '@ngrx/store';
7
8
  import { Overlay, OverlayRef } from '@angular/cdk/overlay';
@@ -12,6 +13,8 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
12
13
  private store;
13
14
  private overlay;
14
15
  private viewContainerRef;
16
+ private snackBar;
17
+ private i18nService;
15
18
  static CARD_HEIGHT: number;
16
19
  opened: boolean[];
17
20
  criticalities: string[];
@@ -49,7 +52,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
49
52
  set events(events: HypEventDetails[]);
50
53
  set procedure(procedure: HypProcedure);
51
54
  set cancelModifications(evt: any);
52
- constructor(equipmentService: EquipmentService, store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef);
55
+ constructor(equipmentService: EquipmentService, store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, snackBar: PrySnackbarService, i18nService: PryI18nService);
53
56
  get events(): HypEventDetails[];
54
57
  get procedure(): HypProcedure | undefined;
55
58
  toggle(i: number): void;
@@ -67,6 +70,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
67
70
  startDate: boolean;
68
71
  endDate: boolean;
69
72
  };
73
+ _changeEquipmentProperty(index: number, value: HypEquipment | undefined): void;
70
74
  changeEquipment(index: number, $event: any): void;
71
75
  _outputModifications(): void;
72
76
  validateEvents(events: HypEventDetails[]): void;
@@ -22,12 +22,12 @@ export declare class EventListComponent extends SubscriptionnerDirective impleme
22
22
  };
23
23
  _store: Store<any>;
24
24
  allSelected$: Observable<boolean>;
25
- _inhibate: boolean;
25
+ _inhibit: boolean;
26
26
  constructor(store: Store<any>, el: ElementRef, router: Router, scroll: InfiniteScrollService);
27
27
  ngAfterViewInit(): void;
28
28
  select(event: HypEventDetails, $event: MouseEvent): void;
29
29
  selectAll($event: any): void;
30
- inhibate(): void;
30
+ inhibit(): void;
31
31
  goTo(event: HypEventDetails): Promise<boolean>;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<EventListComponent, never>;
33
33
  static ɵcmp: i0.ɵɵComponentDeclaration<EventListComponent, "hvy-event-list", never, {}, {}, never, ["*"], false, never>;
@@ -18,6 +18,7 @@ export declare const enTranslations: {
18
18
  source: string;
19
19
  equipment: string;
20
20
  equipmentEntity: string;
21
+ notFound: string;
21
22
  domain: {
22
23
  name: string;
23
24
  };
@@ -113,6 +114,7 @@ export declare const enTranslations: {
113
114
  missingProperty: string;
114
115
  noContent: string;
115
116
  domain: string;
117
+ catalog: string;
116
118
  };
117
119
  associationModal: {
118
120
  title: string;
@@ -18,6 +18,7 @@ export declare const frTranslations: {
18
18
  source: string;
19
19
  equipment: string;
20
20
  equipmentEntity: string;
21
+ notFound: string;
21
22
  domain: {
22
23
  name: string;
23
24
  };
@@ -113,6 +114,7 @@ export declare const frTranslations: {
113
114
  missingProperty: string;
114
115
  noContent: string;
115
116
  domain: string;
117
+ catalog: string;
116
118
  };
117
119
  associationModal: {
118
120
  title: string;
@@ -1,16 +1,6 @@
1
1
  @use 'node_modules/@provoly/dashboard/styles/abstracts' as *;
2
2
  @use 'node_modules/@provoly/dashboard/styles-theme/abstracts-theme/variables.theme' as *;
3
3
 
4
- hvy-choice-filter {
5
-
6
- .o-hvy-choice-filter.-focus {
7
- outline: 2px solid themed($theme-map, 'color', 'accent', 600);
8
- outline-offset: toRem(2);
9
- border-color: themed($theme-map, 'color', 'accent', 600);
10
- border-width: toRem(1);
11
- }
12
- }
13
-
14
4
  .o-hvy-event-filters {
15
5
  display: flex;
16
6
  flex-direction: row;