@provoly/hypervisor 1.4.17 → 1.4.18

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.17",
3
+ "version": "1.4.18",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "17.x || 18.x",
6
6
  "@angular/common": "17.x || 18.x",
@@ -178,6 +178,13 @@ export declare const enTranslations: {
178
178
  OTHER: string;
179
179
  };
180
180
  };
181
+ status: {
182
+ NEW: string;
183
+ ASKED: string;
184
+ IN_PROGRESS: string;
185
+ DONE: string;
186
+ CANCELLED: string;
187
+ };
181
188
  };
182
189
  associationModal: {
183
190
  title: string;
@@ -191,6 +191,13 @@ export declare const frTranslations: {
191
191
  OTHER: string;
192
192
  };
193
193
  };
194
+ status: {
195
+ NEW: string;
196
+ ASKED: string;
197
+ IN_PROGRESS: string;
198
+ DONE: string;
199
+ CANCELLED: string;
200
+ };
194
201
  };
195
202
  associationModal: {
196
203
  title: string;
@@ -1,7 +1,7 @@
1
- import { ElementRef } from '@angular/core';
1
+ import { ElementRef, OnInit } from '@angular/core';
2
2
  import { HvyBaseParameterActionComponent } from '../base-parameter-action.component';
3
3
  import { HypAction } from '../../../../model/procedure/hyp-action.interface';
4
- import { PryDialogService } from '@provoly/dashboard';
4
+ import { PryDialogService, I18nPipe } from '@provoly/dashboard';
5
5
  import { Overlay } from '@angular/cdk/overlay';
6
6
  import { ServiceService } from '../../../../store/service/service.service';
7
7
  import { act } from '@ngrx/effects';
@@ -9,13 +9,17 @@ import * as i0 from "@angular/core";
9
9
  export interface HypServiceAction extends HypAction {
10
10
  name: string;
11
11
  serviceExternalId?: string;
12
+ serviceStatus?: string;
12
13
  }
13
- export declare class HvyServiceActionDisplayComponent extends HvyBaseParameterActionComponent<HypServiceAction> {
14
+ export declare class HvyServiceActionDisplayComponent extends HvyBaseParameterActionComponent<HypServiceAction> implements OnInit {
14
15
  private pryDialog;
15
16
  private overlay;
16
17
  private serviceService;
18
+ private i18n;
17
19
  menuButton: ElementRef;
18
- constructor(pryDialog: PryDialogService, overlay: Overlay, serviceService: ServiceService);
20
+ status: string;
21
+ constructor(pryDialog: PryDialogService, overlay: Overlay, serviceService: ServiceService, i18n: I18nPipe);
22
+ ngOnInit(): void;
19
23
  toggleModal(): void;
20
24
  protected readonly act: typeof act;
21
25
  static ɵfac: i0.ɵɵFactoryDeclaration<HvyServiceActionDisplayComponent, never>;
@@ -40,7 +40,7 @@
40
40
  }
41
41
 
42
42
  .add-button {
43
- color: themed($theme-map, 'color', 'primary', 'contrast', 50);
43
+ color: themed($theme-map, 'color', 'primary', 'contrast', 200);
44
44
  background-color: themed($theme-map, 'color', 'primary', 750);
45
45
  padding: 0;
46
46
  border-radius: 50%;
@@ -51,6 +51,18 @@
51
51
  pry-icon {
52
52
  display: block;
53
53
  }
54
+ &:hover {
55
+ background-color: themed($theme-map, 'color', 'primary', 600);
56
+ }
57
+ &:active {
58
+ color: themed($theme-map, 'color', 'primary', 800);
59
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 200);
60
+ }
61
+ &:disabled {
62
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
63
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 950);
64
+ cursor: default;
65
+ }
54
66
  }
55
67
  }
56
68
  }