@provoly/hypervisor 0.0.27 → 0.0.29
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/assets/svgs/arrow_down_rounded.svg +5 -0
- package/assets/svgs/caret_bottom_rounded.svg +5 -0
- package/esm2022/src/lib/event/detail/event-detail.component.mjs +5 -5
- package/esm2022/src/lib/event/filters/choice/choice-filter.component.mjs +3 -3
- package/esm2022/src/lib/event/filters/date/date-filter.component.mjs +3 -3
- package/esm2022/src/lib/event/filters/event-filters.component.mjs +3 -3
- package/esm2022/src/lib/event/filters/hvy-unit-filter.class.mjs +3 -3
- package/esm2022/src/lib/event/list/event-list.component.mjs +3 -3
- package/esm2022/src/lib/event-summary/item/event-summary-item.component.mjs +7 -6
- package/esm2022/src/lib/event-summary/list/event-summary-list.component.mjs +3 -3
- package/esm2022/src/lib/event-summary/page/event-summary-page.component.mjs +3 -3
- package/esm2022/src/lib/general/column-order/column-order.component.mjs +3 -3
- package/esm2022/src/lib/general/for-datetime-local-pipe/for-datetime-local.pipe.mjs +3 -3
- package/esm2022/src/lib/general/i18n/en.translations.mjs +12 -2
- package/esm2022/src/lib/general/i18n/fr.translations.mjs +6 -1
- package/esm2022/src/lib/general/icon-display/icon-display.component.mjs +3 -3
- package/esm2022/src/lib/general/icon-pipe/event-icon.pipe.mjs +3 -3
- package/esm2022/src/lib/general/progress-display/progress-display.component.mjs +3 -3
- package/esm2022/src/lib/general/status-display/status-display.component.mjs +25 -14
- package/esm2022/src/lib/hypervisor.module.mjs +4 -4
- package/esm2022/src/lib/store/equipment/equipment.service.mjs +3 -3
- package/esm2022/src/lib/store/event/event.effects.mjs +3 -3
- package/esm2022/src/lib/store/event/event.service.mjs +3 -3
- package/esm2022/src/lib/store/event-summary/event-summary.effects.mjs +3 -3
- package/esm2022/src/lib/store/event-summary/event-summary.service.mjs +3 -3
- package/esm2022/src/lib/store/hypervisor/hypervisor.effects.mjs +3 -3
- package/esm2022/src/lib/store/hypervisor/hypervisor.service.mjs +3 -3
- package/fesm2022/provoly-hypervisor.mjs +108 -84
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +2 -2
- package/src/lib/general/i18n/en.translations.d.ts +10 -0
- package/src/lib/general/i18n/fr.translations.d.ts +5 -0
- package/src/lib/general/status-display/status-display.component.d.ts +5 -1
- package/styles/components/_a-chip-status.scss +8 -2
- package/styles/components/_m-hvy-event-summary-item.scss +1 -1
- package/styles/components/_o-hvy-event-detail.scss +65 -5
- package/styles/components/_o-hvy-events-table.scss +3 -2
- package/styles/components/_o-progressbar.scss +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/hypervisor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29",
|
|
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.
|
|
17
|
+
"@provoly/dashboard": "^0.25.7"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"tslib": "^2.6.2"
|
|
@@ -29,12 +29,16 @@ export declare const enTranslations: {
|
|
|
29
29
|
detail: string;
|
|
30
30
|
log: {
|
|
31
31
|
name: string;
|
|
32
|
+
empty: string;
|
|
32
33
|
event: {
|
|
33
34
|
description: string;
|
|
34
35
|
address: string;
|
|
35
36
|
detail: string;
|
|
37
|
+
mandatory: string;
|
|
36
38
|
name: string;
|
|
37
39
|
category: string;
|
|
40
|
+
close: string;
|
|
41
|
+
closed: string;
|
|
38
42
|
comments: {
|
|
39
43
|
name: string;
|
|
40
44
|
placeholder: string;
|
|
@@ -45,6 +49,7 @@ export declare const enTranslations: {
|
|
|
45
49
|
progress: string;
|
|
46
50
|
noAction: string;
|
|
47
51
|
name: string;
|
|
52
|
+
name1: string;
|
|
48
53
|
addAction: string;
|
|
49
54
|
};
|
|
50
55
|
};
|
|
@@ -70,11 +75,16 @@ export declare const enTranslations: {
|
|
|
70
75
|
reset: string;
|
|
71
76
|
};
|
|
72
77
|
close: {
|
|
78
|
+
oneTitle: string;
|
|
79
|
+
multiTitle: string;
|
|
73
80
|
one: string;
|
|
74
81
|
multi: string;
|
|
82
|
+
comment: string;
|
|
75
83
|
};
|
|
76
84
|
};
|
|
77
85
|
eventSummary: {
|
|
86
|
+
from: string;
|
|
87
|
+
to: string;
|
|
78
88
|
noContent: {
|
|
79
89
|
NEW: string;
|
|
80
90
|
IN_PROGRESS: string;
|
|
@@ -34,6 +34,7 @@ export declare const frTranslations: {
|
|
|
34
34
|
description: string;
|
|
35
35
|
address: string;
|
|
36
36
|
detail: string;
|
|
37
|
+
mandatory: string;
|
|
37
38
|
name: string;
|
|
38
39
|
category: string;
|
|
39
40
|
close: string;
|
|
@@ -74,12 +75,16 @@ export declare const frTranslations: {
|
|
|
74
75
|
reset: string;
|
|
75
76
|
};
|
|
76
77
|
close: {
|
|
78
|
+
oneTitle: string;
|
|
79
|
+
multiTitle: string;
|
|
77
80
|
one: string;
|
|
78
81
|
multi: string;
|
|
79
82
|
comment: string;
|
|
80
83
|
};
|
|
81
84
|
};
|
|
82
85
|
eventSummary: {
|
|
86
|
+
from: string;
|
|
87
|
+
to: string;
|
|
83
88
|
noContent: {
|
|
84
89
|
NEW: string;
|
|
85
90
|
IN_PROGRESS: string;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
|
|
3
|
+
import { SubscriptionnerDirective } from '@provoly/dashboard';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class StatusDisplayComponent {
|
|
5
|
+
export declare class StatusDisplayComponent extends SubscriptionnerDirective {
|
|
6
|
+
static idCounter: number;
|
|
7
|
+
id: number;
|
|
5
8
|
modified: EventEmitter<string>;
|
|
6
9
|
private _event;
|
|
7
10
|
targetStatuses: string[];
|
|
@@ -14,6 +17,7 @@ export declare class StatusDisplayComponent {
|
|
|
14
17
|
trigger(status: string): void;
|
|
15
18
|
updateTargetStatuses(): void;
|
|
16
19
|
toggle(): void;
|
|
20
|
+
constructor();
|
|
17
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<StatusDisplayComponent, never>;
|
|
18
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<StatusDisplayComponent, "hvy-status-display", never, { "event": { "alias": "event"; "required": false; }; "modifiable": { "alias": "modifiable"; "required": false; }; }, { "modified": "modified"; }, never, never, false, never>;
|
|
19
23
|
}
|
|
@@ -15,8 +15,10 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&__target {
|
|
18
|
-
box-shadow: themed($theme-map, 'decoration', 'shadow', 'card');
|
|
19
18
|
margin-top: toRem(-10);
|
|
19
|
+
border-bottom-left-radius: toRem(10);
|
|
20
|
+
border-bottom-right-radius: toRem(10);
|
|
21
|
+
box-shadow: themed($theme-map, 'decoration', 'shadow', 'default');
|
|
20
22
|
|
|
21
23
|
&__filler {
|
|
22
24
|
height: toRem(10);
|
|
@@ -24,10 +26,14 @@
|
|
|
24
26
|
|
|
25
27
|
&__item {
|
|
26
28
|
padding: toRem(5);
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
font-size: toRem(14);
|
|
31
|
+
font-weight: bold;
|
|
27
32
|
}
|
|
28
33
|
}
|
|
29
34
|
|
|
30
35
|
pry-icon {
|
|
31
|
-
margin-top: toRem(-
|
|
36
|
+
margin-top: toRem(-11);
|
|
37
|
+
margin-left: toRem(5);
|
|
32
38
|
}
|
|
33
39
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
padding: toRem(10);
|
|
7
7
|
border-radius: toRem(5);
|
|
8
8
|
background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
|
|
9
|
-
box-shadow: 1px 3px
|
|
9
|
+
box-shadow: 1px 3px 6px #DDDDDD, -1px 3px 6px #DDDDDD;
|
|
10
10
|
margin: 2px;
|
|
11
11
|
|
|
12
12
|
&:hover {
|
|
@@ -66,12 +66,20 @@
|
|
|
66
66
|
&__header {
|
|
67
67
|
display: flex;
|
|
68
68
|
flex-direction: row;
|
|
69
|
-
gap: toRem(
|
|
69
|
+
gap: toRem(10);
|
|
70
70
|
height: toRem(35);
|
|
71
71
|
|
|
72
72
|
hvy-status-display {
|
|
73
73
|
margin-left: auto;
|
|
74
74
|
}
|
|
75
|
+
|
|
76
|
+
pry-icon {
|
|
77
|
+
&.-rotated {
|
|
78
|
+
span {
|
|
79
|
+
transform: rotateZ(180deg);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
75
83
|
}
|
|
76
84
|
|
|
77
85
|
&__content {
|
|
@@ -92,6 +100,14 @@
|
|
|
92
100
|
&__comments {
|
|
93
101
|
textarea {
|
|
94
102
|
width: 100%;
|
|
103
|
+
margin-bottom: toRem(8);
|
|
104
|
+
|
|
105
|
+
&::placeholder {
|
|
106
|
+
font-style: italic;
|
|
107
|
+
font-size: toRem(12);
|
|
108
|
+
color: #859DB6;
|
|
109
|
+
padding: 5px;
|
|
110
|
+
}
|
|
95
111
|
}
|
|
96
112
|
|
|
97
113
|
&__button {
|
|
@@ -100,6 +116,18 @@
|
|
|
100
116
|
justify-content: flex-end;
|
|
101
117
|
}
|
|
102
118
|
}
|
|
119
|
+
|
|
120
|
+
&__header {
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-direction: row;
|
|
123
|
+
|
|
124
|
+
span {
|
|
125
|
+
margin-left: auto;
|
|
126
|
+
margin-top: toRem(32);
|
|
127
|
+
margin-right: calc(25% + 10px);
|
|
128
|
+
font-size: toRem(10);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
103
131
|
}
|
|
104
132
|
}
|
|
105
133
|
}
|
|
@@ -129,6 +157,7 @@
|
|
|
129
157
|
|
|
130
158
|
pry-icon:first-child {
|
|
131
159
|
cursor: grab;
|
|
160
|
+
color: #4E6C8C;
|
|
132
161
|
}
|
|
133
162
|
|
|
134
163
|
pry-checkbox {
|
|
@@ -141,14 +170,32 @@
|
|
|
141
170
|
}
|
|
142
171
|
}
|
|
143
172
|
|
|
173
|
+
&__button {
|
|
174
|
+
margin-top: toRem(30);
|
|
175
|
+
}
|
|
176
|
+
|
|
144
177
|
&__header {
|
|
145
178
|
display: flex;
|
|
146
179
|
flex-direction: row;
|
|
180
|
+
|
|
181
|
+
h2 {
|
|
182
|
+
font-size: toRem(17);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&__description {
|
|
187
|
+
p {
|
|
188
|
+
font-size: toRem(14);
|
|
189
|
+
}
|
|
147
190
|
}
|
|
148
191
|
|
|
149
192
|
&__progress {
|
|
150
193
|
display: flex;
|
|
151
194
|
flex-direction: row;
|
|
195
|
+
|
|
196
|
+
p {
|
|
197
|
+
font-size: toRem(12);
|
|
198
|
+
}
|
|
152
199
|
}
|
|
153
200
|
|
|
154
201
|
.a-btn.a-btn-secondary {
|
|
@@ -165,16 +212,29 @@
|
|
|
165
212
|
.o-hvy-close-confirm {
|
|
166
213
|
&__dialog {
|
|
167
214
|
position: absolute;
|
|
168
|
-
left: calc(50vw -
|
|
169
|
-
top: calc(50vh -
|
|
170
|
-
min-width: toRem(
|
|
171
|
-
min-height: toRem(
|
|
215
|
+
left: calc(50vw - 275px);
|
|
216
|
+
top: calc(50vh - 225px);
|
|
217
|
+
min-width: toRem(550);
|
|
218
|
+
min-height: toRem(450);
|
|
172
219
|
display: flex;
|
|
173
220
|
flex-direction: column;
|
|
174
221
|
background-color: white;
|
|
175
222
|
border-radius: toRem(20);
|
|
176
223
|
padding: toRem(20) toRem(50);
|
|
177
224
|
|
|
225
|
+
h2 {
|
|
226
|
+
font-size: toRem(17);
|
|
227
|
+
text-align: center;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
p, li {
|
|
231
|
+
font-size: toRem(14);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
li {
|
|
235
|
+
font-weight: bold;
|
|
236
|
+
}
|
|
237
|
+
|
|
178
238
|
&__comment {
|
|
179
239
|
&-title {
|
|
180
240
|
margin-bottom: toRem(5);
|