@provoly/hypervisor 0.0.120 → 0.0.121
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-detail.component.mjs +5 -4
- package/esm2022/src/lib/general/comments/comments.component.mjs +3 -3
- package/esm2022/src/lib/general/i18n/fr.translations.mjs +4 -3
- package/esm2022/src/lib/general/procedure-actions/action-parameters/action-parameter.component.mjs +6 -2
- package/esm2022/src/lib/general/procedure-actions/action-parameters/base-parameter-action.component.mjs +14 -4
- package/esm2022/src/lib/general/procedure-actions/action-parameters/phone/phone-action-parameter.component.mjs +3 -3
- package/esm2022/src/lib/general/procedure-actions/action-parameters/service/create-service.component.mjs +16 -6
- package/esm2022/src/lib/general/procedure-actions/action-parameters/service/service-action-display.component.mjs +8 -5
- package/esm2022/src/lib/general/procedure-actions/procedure-actions.component.mjs +6 -3
- package/esm2022/src/lib/model/event/hyp-event-detail.interface.mjs +2 -2
- package/esm2022/src/lib/procedure/model-detail/procedure-model-detail.component.mjs +1 -1
- package/esm2022/src/lib/store/service/service.service.mjs +1 -1
- package/fesm2022/provoly-hypervisor.mjs +58 -26
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/general/i18n/fr.translations.d.ts +1 -0
- package/src/lib/general/procedure-actions/action-parameters/action-parameter.component.d.ts +3 -1
- package/src/lib/general/procedure-actions/action-parameters/base-parameter-action.component.d.ts +5 -1
- package/src/lib/general/procedure-actions/action-parameters/service/create-service.component.d.ts +6 -0
- package/src/lib/general/procedure-actions/procedure-actions.component.d.ts +3 -1
- package/src/lib/store/service/service.service.d.ts +3 -1
- package/styles/components/_o-hvy-comments.scss +1 -1
- package/styles/components/_o-hvy-event-detail.scss +11 -1
- package/styles/components/_o-hvy-event-filters.scss +1 -1
- package/styles/components/_o-hvy-event-summary-page.scss +4 -0
- package/styles/components/_o-hvy-events-table.scss +6 -0
- package/styles/components/_o-hvy-procedure-actions.scss +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { HypAction } from '../../../model/procedure/hyp-action.interface';
|
|
3
|
+
import { HypEventDetails } from '../../../model/event/hyp-event-detail.interface';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class HvyActionParameterComponent {
|
|
5
6
|
ref: ViewContainerRef;
|
|
@@ -7,11 +8,12 @@ export declare class HvyActionParameterComponent {
|
|
|
7
8
|
_type: string;
|
|
8
9
|
private componentRef?;
|
|
9
10
|
param: boolean;
|
|
11
|
+
events: HypEventDetails[];
|
|
10
12
|
set isParam(param: boolean);
|
|
11
13
|
set type(type: string);
|
|
12
14
|
set action(action: any);
|
|
13
15
|
constructor();
|
|
14
16
|
private updateParameterComponent;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<HvyActionParameterComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HvyActionParameterComponent, "hvy-action-parameter", never, { "isParam": { "alias": "isParam"; "required": false; }; "type": { "alias": "type"; "required": false; }; "action": { "alias": "action"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HvyActionParameterComponent, "hvy-action-parameter", never, { "events": { "alias": "events"; "required": false; }; "isParam": { "alias": "isParam"; "required": false; }; "type": { "alias": "type"; "required": false; }; "action": { "alias": "action"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
19
|
}
|
package/src/lib/general/procedure-actions/action-parameters/base-parameter-action.component.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { HypAction } from '../../../model/procedure/hyp-action.interface';
|
|
2
|
+
import { HypEventDetails } from '../../../model/event/hyp-event-detail.interface';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class HvyBaseParameterActionComponent<T extends HypAction> {
|
|
4
5
|
_action: any;
|
|
6
|
+
_events: HypEventDetails[];
|
|
7
|
+
set events(events: HypEventDetails[]);
|
|
8
|
+
get events(): HypEventDetails[];
|
|
5
9
|
set action(action: T);
|
|
6
10
|
get action(): T;
|
|
7
11
|
constructor();
|
|
8
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<HvyBaseParameterActionComponent<any>, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HvyBaseParameterActionComponent<any>, "hvy-base-action-parameter", never, { "action": { "alias": "action"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HvyBaseParameterActionComponent<any>, "hvy-base-action-parameter", never, { "events": { "alias": "events"; "required": false; }; "action": { "alias": "action"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
14
|
}
|
package/src/lib/general/procedure-actions/action-parameters/service/create-service.component.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { HypEquipment } from '../../../../model/hyp-equipment.interface';
|
|
|
4
4
|
import { HypServiceAction } from './service-action-display.component';
|
|
5
5
|
import { EquipmentService } from '../../../../store/equipment/equipment.service';
|
|
6
6
|
import { HypServiceType, ServiceService } from '../../../../store/service/service.service';
|
|
7
|
+
import { HypEventDetails } from '../../../../model/event/hyp-event-detail.interface';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export type HypCreateServiceResult = {
|
|
9
10
|
value: string;
|
|
@@ -21,6 +22,7 @@ export declare class HvyCreateServiceComponent extends SubscriptionnerDirective
|
|
|
21
22
|
private dialog;
|
|
22
23
|
data: {
|
|
23
24
|
action: HypServiceAction;
|
|
25
|
+
events: HypEventDetails[];
|
|
24
26
|
};
|
|
25
27
|
private equipmentService;
|
|
26
28
|
private serviceService;
|
|
@@ -34,8 +36,11 @@ export declare class HvyCreateServiceComponent extends SubscriptionnerDirective
|
|
|
34
36
|
priorities: string[];
|
|
35
37
|
domains: string[];
|
|
36
38
|
private equipments;
|
|
39
|
+
private equipmentIds;
|
|
40
|
+
allowedTypes: HypServiceType[];
|
|
37
41
|
constructor(dialog: PryDialogRef<HvyCreateServiceComponent>, data: {
|
|
38
42
|
action: HypServiceAction;
|
|
43
|
+
events: HypEventDetails[];
|
|
39
44
|
}, equipmentService: EquipmentService, serviceService: ServiceService, i18nService: PryI18nService);
|
|
40
45
|
action(value: string): void;
|
|
41
46
|
onEquipmentChange($event: string): void;
|
|
@@ -47,6 +52,7 @@ export declare class HvyCreateServiceComponent extends SubscriptionnerDirective
|
|
|
47
52
|
check(): void;
|
|
48
53
|
createDI(): void;
|
|
49
54
|
closeModal(): void;
|
|
55
|
+
private updateAllowedTypes;
|
|
50
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<HvyCreateServiceComponent, never>;
|
|
51
57
|
static ɵcmp: i0.ɵɵComponentDeclaration<HvyCreateServiceComponent, "pry-create-service", never, {}, {}, never, never, false, never>;
|
|
52
58
|
}
|
|
@@ -5,6 +5,7 @@ import { Overlay } from '@angular/cdk/overlay';
|
|
|
5
5
|
import { HypCommentsService } from '../../store/comments/comments.service';
|
|
6
6
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
7
7
|
import { HypComment } from '../../model/comment.interface';
|
|
8
|
+
import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class ProcedureActionsComponent extends SubscriptionnerDirective {
|
|
10
11
|
private pryDialog;
|
|
@@ -22,6 +23,7 @@ export declare class ProcedureActionsComponent extends SubscriptionnerDirective
|
|
|
22
23
|
me: string | null | undefined;
|
|
23
24
|
readonly: boolean | null;
|
|
24
25
|
enableEditActions: boolean | null;
|
|
26
|
+
events: HypEventDetails[];
|
|
25
27
|
ACTIONS_TYPES: string[];
|
|
26
28
|
_actions: HypAction[];
|
|
27
29
|
menuButtons: QueryList<ElementRef>;
|
|
@@ -55,5 +57,5 @@ export declare class ProcedureActionsComponent extends SubscriptionnerDirective
|
|
|
55
57
|
message: string;
|
|
56
58
|
}): void;
|
|
57
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcedureActionsComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureActionsComponent, "hvy-procedure-actions", never, { "mode": { "alias": "mode"; "required": false; }; "me": { "alias": "me"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "enableEditActions": { "alias": "enableEditActions"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "modified": "modified"; }, never, never, false, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureActionsComponent, "hvy-procedure-actions", never, { "mode": { "alias": "mode"; "required": false; }; "me": { "alias": "me"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "enableEditActions": { "alias": "enableEditActions"; "required": false; }; "events": { "alias": "events"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "modified": "modified"; }, never, never, false, never>;
|
|
59
61
|
}
|
|
@@ -21,7 +21,9 @@ export declare class ServiceService {
|
|
|
21
21
|
private store;
|
|
22
22
|
constructor(httpClient: HttpClient, store: Store<any>);
|
|
23
23
|
types(): Observable<HypServiceType[]>;
|
|
24
|
-
create(service: HypService, actionId: string): Observable<
|
|
24
|
+
create(service: HypService, actionId: string): Observable<{
|
|
25
|
+
id: string;
|
|
26
|
+
}>;
|
|
25
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ServiceService, never>;
|
|
26
28
|
static ɵprov: i0.ɵɵInjectableDeclaration<ServiceService>;
|
|
27
29
|
}
|
|
@@ -145,8 +145,12 @@
|
|
|
145
145
|
height: toRem(16);
|
|
146
146
|
width: toRem(250);
|
|
147
147
|
|
|
148
|
-
&[disabled]
|
|
148
|
+
&[disabled] {
|
|
149
149
|
color: #859DB6;
|
|
150
|
+
|
|
151
|
+
&::placeholder {
|
|
152
|
+
color: #859DB6;
|
|
153
|
+
}
|
|
150
154
|
}
|
|
151
155
|
}
|
|
152
156
|
}
|
|
@@ -164,6 +168,12 @@
|
|
|
164
168
|
width: 0;
|
|
165
169
|
}
|
|
166
170
|
}
|
|
171
|
+
|
|
172
|
+
pry-select {
|
|
173
|
+
input::placeholder {
|
|
174
|
+
font-style: italic;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
167
177
|
}
|
|
168
178
|
}
|
|
169
179
|
}
|