@provoly/hypervisor 1.4.56 → 1.4.57
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 +3 -3
- package/esm2022/src/lib/general/comments/comments.component.mjs +10 -4
- package/esm2022/src/lib/general/procedure-actions/action-parameters/action-parameter.component.mjs +5 -2
- package/esm2022/src/lib/general/procedure-actions/action-parameters/base-parameter-action.component.mjs +4 -2
- package/esm2022/src/lib/general/procedure-actions/action-parameters/service/service-action-display.component.mjs +3 -3
- package/esm2022/src/lib/general/procedure-actions/procedure-actions.component.mjs +16 -4
- package/fesm2022/provoly-hypervisor.mjs +35 -12
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/general/comments/comments.component.d.ts +2 -1
- package/src/lib/general/procedure-actions/action-parameters/action-parameter.component.d.ts +2 -1
- package/src/lib/general/procedure-actions/action-parameters/base-parameter-action.component.d.ts +2 -1
- package/src/lib/general/procedure-actions/procedure-actions.component.d.ts +3 -1
- package/styles/components/_o-hvy-comments.scss +21 -0
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { HypComment } from '../../model/comment.interface';
|
|
3
3
|
import { Subject, Subscription } from 'rxjs';
|
|
4
4
|
import { HypCommentsService } from '../../store/comments/comments.service';
|
|
@@ -23,6 +23,7 @@ export declare class HvyCommentsComponent implements OnDestroy {
|
|
|
23
23
|
objectId?: string | number;
|
|
24
24
|
displayEmpty: boolean;
|
|
25
25
|
commentCount: number;
|
|
26
|
+
message: ElementRef<HTMLTextAreaElement>;
|
|
26
27
|
opened: boolean;
|
|
27
28
|
subTrigger?: Subscription;
|
|
28
29
|
additionnalComments: HypAugmentedComment[];
|
|
@@ -10,6 +10,7 @@ export declare class HvyActionParameterComponent {
|
|
|
10
10
|
param: boolean;
|
|
11
11
|
_events: HypEventDetails[];
|
|
12
12
|
mode: 'model' | 'procedure';
|
|
13
|
+
readonly: null | boolean;
|
|
13
14
|
set events(events: HypEventDetails[]);
|
|
14
15
|
set isParam(param: boolean);
|
|
15
16
|
set type(type: string);
|
|
@@ -17,5 +18,5 @@ export declare class HvyActionParameterComponent {
|
|
|
17
18
|
constructor();
|
|
18
19
|
private updateParameterComponent;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<HvyActionParameterComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HvyActionParameterComponent, "hvy-action-parameter", never, { "mode": { "alias": "mode"; "required": false; }; "events": { "alias": "events"; "required": false; }; "isParam": { "alias": "isParam"; "required": false; }; "type": { "alias": "type"; "required": false; }; "action": { "alias": "action"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HvyActionParameterComponent, "hvy-action-parameter", never, { "mode": { "alias": "mode"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "events": { "alias": "events"; "required": false; }; "isParam": { "alias": "isParam"; "required": false; }; "type": { "alias": "type"; "required": false; }; "action": { "alias": "action"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
22
|
}
|
package/src/lib/general/procedure-actions/action-parameters/base-parameter-action.component.d.ts
CHANGED
|
@@ -5,11 +5,12 @@ export declare class HvyBaseParameterActionComponent<T extends HypAction> {
|
|
|
5
5
|
_action: any;
|
|
6
6
|
_events: HypEventDetails[];
|
|
7
7
|
mode: 'model' | 'procedure';
|
|
8
|
+
readonly: null | boolean;
|
|
8
9
|
set events(events: HypEventDetails[]);
|
|
9
10
|
get events(): HypEventDetails[];
|
|
10
11
|
set action(action: T);
|
|
11
12
|
get action(): T;
|
|
12
13
|
constructor();
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<HvyBaseParameterActionComponent<any>, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HvyBaseParameterActionComponent<any>, "hvy-base-action-parameter", never, { "mode": { "alias": "mode"; "required": false; }; "events": { "alias": "events"; "required": false; }; "action": { "alias": "action"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HvyBaseParameterActionComponent<any>, "hvy-base-action-parameter", never, { "mode": { "alias": "mode"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "events": { "alias": "events"; "required": false; }; "action": { "alias": "action"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
16
|
}
|
|
@@ -6,7 +6,7 @@ import { HypCommentsService } from '../../store/comments/comments.service';
|
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
|
|
8
8
|
import { HypComment } from '../../model/comment.interface';
|
|
9
|
-
import { ServiceService } from
|
|
9
|
+
import { ServiceService } from '../../store/service/service.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class ProcedureActionsComponent extends SubscriptionnerDirective {
|
|
12
12
|
private pryDialog;
|
|
@@ -37,6 +37,7 @@ export declare class ProcedureActionsComponent extends SubscriptionnerDirective
|
|
|
37
37
|
triggers: {
|
|
38
38
|
[p: string]: Subject<boolean>;
|
|
39
39
|
};
|
|
40
|
+
clearingActionAllowed: boolean;
|
|
40
41
|
constructor(pryDialog: PryDialogService, overlay: Overlay, commentsService: HypCommentsService, serviceService: ServiceService);
|
|
41
42
|
set actions(actions: HypAction[]);
|
|
42
43
|
refreshActions: EventEmitter<HypAction[]>;
|
|
@@ -51,6 +52,7 @@ export declare class ProcedureActionsComponent extends SubscriptionnerDirective
|
|
|
51
52
|
add(): void;
|
|
52
53
|
protected readonly model: import("@angular/core").ModelFunction;
|
|
53
54
|
update(idx: number, prop: string, $event: any): void;
|
|
55
|
+
clearAction(idx: number): void;
|
|
54
56
|
openModal(action: HypAction, idx: number): void;
|
|
55
57
|
saveAction(action: HypAction, idx: number): void;
|
|
56
58
|
cancelAction(action: HypAction, idx: number): void;
|
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
textarea.a-form-field {
|
|
23
23
|
width: 100%;
|
|
24
24
|
margin-bottom: toRem(8);
|
|
25
|
+
field-sizing: content;
|
|
26
|
+
min-height: unset;
|
|
25
27
|
|
|
26
28
|
&::placeholder {
|
|
27
29
|
font-style: italic;
|
|
@@ -46,6 +48,7 @@
|
|
|
46
48
|
&__message {
|
|
47
49
|
display: flex;
|
|
48
50
|
flex-direction: row;
|
|
51
|
+
position: relative;
|
|
49
52
|
|
|
50
53
|
pry-icon {
|
|
51
54
|
span {
|
|
@@ -53,6 +56,11 @@
|
|
|
53
56
|
}
|
|
54
57
|
}
|
|
55
58
|
|
|
59
|
+
button {
|
|
60
|
+
position: absolute;
|
|
61
|
+
right: toRem(-5);
|
|
62
|
+
}
|
|
63
|
+
|
|
56
64
|
button {
|
|
57
65
|
height: fit-content;
|
|
58
66
|
margin: 0;
|
|
@@ -60,6 +68,7 @@
|
|
|
60
68
|
|
|
61
69
|
textarea {
|
|
62
70
|
border-width: toRem(2);
|
|
71
|
+
padding-right: toRem(20);
|
|
63
72
|
|
|
64
73
|
&[readonly] {
|
|
65
74
|
border-width: toRem(1);
|
|
@@ -96,3 +105,15 @@
|
|
|
96
105
|
}
|
|
97
106
|
}
|
|
98
107
|
}
|
|
108
|
+
|
|
109
|
+
.o-hvy-events-detail__events {
|
|
110
|
+
.o-hvy-comments__previous__message {
|
|
111
|
+
button:disabled {
|
|
112
|
+
pry-icon {
|
|
113
|
+
span {
|
|
114
|
+
opacity: 0.5;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|