@provoly/hypervisor 1.4.17 → 1.4.19
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/esm2022/src/lib/event/detail/event-details-tooltip.component.mjs +4 -3
- package/esm2022/src/lib/event/procedure-association-modal/procedure-association-modal.component.mjs +3 -3
- package/esm2022/src/lib/general/i18n/en.translations.mjs +8 -1
- package/esm2022/src/lib/general/i18n/fr.translations.mjs +8 -1
- package/esm2022/src/lib/general/procedure-actions/action-parameters/service/service-action-display.component.mjs +11 -6
- package/fesm2022/provoly-hypervisor.mjs +28 -9
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/general/i18n/en.translations.d.ts +7 -0
- package/src/lib/general/i18n/fr.translations.d.ts +7 -0
- package/src/lib/general/procedure-actions/action-parameters/service/service-action-display.component.d.ts +8 -4
- package/styles/components/_o-hvy-event-detail.scss +18 -1
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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',
|
|
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
|
}
|
|
@@ -297,4 +309,9 @@
|
|
|
297
309
|
border-radius: toRem(5);
|
|
298
310
|
box-shadow: 1px 3px 6px #DDDDDD, -1px 3px 6px #DDDDDD;
|
|
299
311
|
width: toRem(400);
|
|
312
|
+
&__no-data {
|
|
313
|
+
width: toRem(425);
|
|
314
|
+
font-size: 0.875rem;
|
|
315
|
+
}
|
|
300
316
|
}
|
|
317
|
+
|