@provoly/hypervisor 0.0.87 → 0.0.89
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/service.svg +16 -0
- package/esm2022/src/lib/event/detail/event-detail.component.mjs +4 -4
- package/esm2022/src/lib/event-summary/item/event-summary-item.component.mjs +6 -6
- package/esm2022/src/lib/general/display-locale-datetime/display-locale-datetime.pipe.mjs +25 -9
- package/esm2022/src/lib/general/for-datetime-local-pipe/for-datetime-local.pipe.mjs +6 -3
- package/esm2022/src/lib/general/i18n/fr.translations.mjs +29 -11
- package/esm2022/src/lib/general/procedure-actions/action-parameters/email/email-action-parameter.component.mjs +3 -3
- package/esm2022/src/lib/general/procedure-actions/action-parameters/other/other-action-parameter.component.mjs +4 -3
- 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/service-action-parameter.component.mjs +4 -3
- package/esm2022/src/lib/general/procedure-actions/actions-types.constant.mjs +11 -6
- package/esm2022/src/lib/general/procedure-actions/procedure-actions.component.mjs +4 -6
- package/esm2022/src/lib/model/event/hyp-event-category.type.mjs +2 -2
- package/esm2022/src/lib/procedure/model-detail/procedure-model-detail.component.mjs +3 -3
- package/esm2022/src/lib/store/event/event.actions.mjs +1 -1
- package/esm2022/src/lib/store/event/event.effects.mjs +3 -3
- package/esm2022/src/lib/store/procedure/procedure.effects.mjs +2 -2
- package/fesm2022/provoly-hypervisor.mjs +89 -49
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/general/display-locale-datetime/display-locale-datetime.pipe.d.ts +5 -2
- package/src/lib/general/i18n/fr.translations.d.ts +18 -0
- package/src/lib/general/procedure-actions/actions-types.constant.d.ts +1 -0
- package/src/lib/store/event/event.actions.d.ts +6 -4
- package/src/lib/store/event/event.effects.d.ts +5 -3
- package/styles/components/_m-hvy-event-summary-item.scss +18 -2
- package/styles/components/_o-hvy-action-menu.scss +4 -0
- package/styles/components/_o-hvy-event-detail.scss +4 -0
- package/styles/components/_o-hvy-procedure-actions.scss +18 -7
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class DisplayLocaleDateTime implements PipeTransform {
|
|
4
|
-
static
|
|
4
|
+
static lang: string;
|
|
5
|
+
static formats: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
5
8
|
constructor();
|
|
6
|
-
transform(dateAsString: string | undefined, ...args:
|
|
9
|
+
transform(dateAsString: string | undefined, ...args: string[]): string;
|
|
7
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DisplayLocaleDateTime, never>;
|
|
8
11
|
static ɵpipe: i0.ɵɵPipeDeclaration<DisplayLocaleDateTime, "displayLocaleDatetime", false>;
|
|
9
12
|
}
|
|
@@ -88,6 +88,9 @@ export declare const frTranslations: {
|
|
|
88
88
|
presenceSensor: string;
|
|
89
89
|
parent: string;
|
|
90
90
|
consult: string;
|
|
91
|
+
entity: {
|
|
92
|
+
NOTFOUND: string;
|
|
93
|
+
};
|
|
91
94
|
};
|
|
92
95
|
eventSummary: {
|
|
93
96
|
from: string;
|
|
@@ -141,6 +144,21 @@ export declare const frTranslations: {
|
|
|
141
144
|
EMAIL: string;
|
|
142
145
|
to: string;
|
|
143
146
|
at: string;
|
|
147
|
+
placeholder: {
|
|
148
|
+
name: string;
|
|
149
|
+
phone: string;
|
|
150
|
+
email: string;
|
|
151
|
+
service: string;
|
|
152
|
+
other: string;
|
|
153
|
+
action: string;
|
|
154
|
+
};
|
|
155
|
+
question: {
|
|
156
|
+
PHONE: string;
|
|
157
|
+
SMS: string;
|
|
158
|
+
EMAIL: string;
|
|
159
|
+
ASKED_SERVICE: string;
|
|
160
|
+
OTHER: string;
|
|
161
|
+
};
|
|
144
162
|
};
|
|
145
163
|
};
|
|
146
164
|
associationModal: {
|
|
@@ -7,6 +7,7 @@ export declare const ACTIONS_TYPES: {
|
|
|
7
7
|
display: undefined | Type<HvyBaseParameterActionComponent<HypAction>>;
|
|
8
8
|
parameter: undefined | Type<HvyBaseParameterActionComponent<HypAction>>;
|
|
9
9
|
validator: ((action: any) => boolean) | undefined;
|
|
10
|
+
order: number;
|
|
10
11
|
};
|
|
11
12
|
};
|
|
12
13
|
};
|
|
@@ -87,14 +87,16 @@ export declare const EventActions: {
|
|
|
87
87
|
saveSuccess: import("@ngrx/store").ActionCreator<"[Event] Save success", (props: {
|
|
88
88
|
event?: HypEventDetails | undefined;
|
|
89
89
|
procedure?: HypProcedure | undefined;
|
|
90
|
+
creation: boolean;
|
|
90
91
|
}) => {
|
|
91
92
|
event?: HypEventDetails | undefined;
|
|
92
93
|
procedure?: HypProcedure | undefined;
|
|
94
|
+
creation: boolean;
|
|
93
95
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Save success">>;
|
|
94
96
|
saveFailure: import("@ngrx/store").ActionCreator<"[Event] Save failure", (props: {
|
|
95
|
-
error:
|
|
97
|
+
error: any;
|
|
96
98
|
}) => {
|
|
97
|
-
error:
|
|
99
|
+
error: any;
|
|
98
100
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Save failure">>;
|
|
99
101
|
status: import("@ngrx/store").ActionCreator<"[Event] Close Event or Procedure", (props: {
|
|
100
102
|
targetStatus: string;
|
|
@@ -115,9 +117,9 @@ export declare const EventActions: {
|
|
|
115
117
|
procedure?: HypProcedure | undefined;
|
|
116
118
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Close success">>;
|
|
117
119
|
statusFailure: import("@ngrx/store").ActionCreator<"[Event] Close failure", (props: {
|
|
118
|
-
error:
|
|
120
|
+
error: any;
|
|
119
121
|
}) => {
|
|
120
|
-
error:
|
|
122
|
+
error: any;
|
|
121
123
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Close failure">>;
|
|
122
124
|
sort: import("@ngrx/store").ActionCreator<"[Event] set log event sorting", (props: {
|
|
123
125
|
field: string;
|
|
@@ -32,14 +32,16 @@ export declare class EventEffects {
|
|
|
32
32
|
saveEvent$: import("rxjs").Observable<({
|
|
33
33
|
event?: import("@provoly/hypervisor").HypEventDetails | undefined;
|
|
34
34
|
procedure?: import("@provoly/hypervisor").HypProcedure | undefined;
|
|
35
|
+
creation: boolean;
|
|
35
36
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Save success">) | ({
|
|
36
|
-
error:
|
|
37
|
+
error: any;
|
|
37
38
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Save failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
38
39
|
saveProcedure$: import("rxjs").Observable<({
|
|
39
40
|
event?: import("@provoly/hypervisor").HypEventDetails | undefined;
|
|
40
41
|
procedure?: import("@provoly/hypervisor").HypProcedure | undefined;
|
|
42
|
+
creation: boolean;
|
|
41
43
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Save success">) | ({
|
|
42
|
-
error:
|
|
44
|
+
error: any;
|
|
43
45
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Save failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
44
46
|
refreshAfterSave$: import("rxjs").Observable<({
|
|
45
47
|
id: number;
|
|
@@ -52,7 +54,7 @@ export declare class EventEffects {
|
|
|
52
54
|
event?: import("@provoly/hypervisor").HypEventDetails | undefined;
|
|
53
55
|
procedure?: import("@provoly/hypervisor").HypProcedure | undefined;
|
|
54
56
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Close success">) | ({
|
|
55
|
-
error:
|
|
57
|
+
error: any;
|
|
56
58
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Close failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
57
59
|
sort$: import("rxjs").Observable<{
|
|
58
60
|
next?: boolean | undefined;
|
|
@@ -42,14 +42,30 @@
|
|
|
42
42
|
&:has(.-hvy-alert) {
|
|
43
43
|
align-items: flex-end;
|
|
44
44
|
}
|
|
45
|
+
|
|
46
|
+
pry-icon {
|
|
47
|
+
background-color: themed($theme-map, 'color', 'graph', 02);
|
|
48
|
+
color: themed($theme-map, 'color', 'primary', 200);
|
|
49
|
+
border-radius: toRem(12);
|
|
50
|
+
border: toRem(2) solid #FFFFFF;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
hvy-icon-display {
|
|
54
|
+
transform: translateX(toRem(-16));
|
|
55
|
+
}
|
|
45
56
|
}
|
|
46
57
|
|
|
47
58
|
&__intervention-counter {
|
|
48
|
-
border-radius: toRem(
|
|
49
|
-
padding: 0 toRem(
|
|
59
|
+
border-radius: toRem(14);
|
|
60
|
+
padding: 0 toRem(4);
|
|
50
61
|
background-color: themed($theme-map, 'color', 'graph', 02);
|
|
51
62
|
color: themed($theme-map, 'color', 'primary', 200);
|
|
52
63
|
font-size: toRem(12);
|
|
64
|
+
line-height: toRem(15);
|
|
65
|
+
width: toRem(18);
|
|
66
|
+
height: toRem(18);
|
|
67
|
+
transform: translate(toRem(-16), toRem(-10));
|
|
68
|
+
border: toRem(1) solid #FFFFFF;
|
|
53
69
|
}
|
|
54
70
|
|
|
55
71
|
&__event-icon-container {
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
@use 'node_modules/@provoly/dashboard/styles/abstracts' as *;
|
|
2
|
+
@use 'node_modules/@provoly/dashboard/styles-theme/abstracts-theme/variables.theme' as *;
|
|
3
|
+
|
|
1
4
|
.o-hvy-action-menu {
|
|
2
5
|
display: flex;
|
|
3
6
|
flex-direction: column;
|
|
4
7
|
justify-content: flex-start;
|
|
8
|
+
gap: toRem(8);
|
|
5
9
|
|
|
6
10
|
button {
|
|
7
11
|
text-align: left;
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
.o-hvy-events-detail__procedure {
|
|
5
5
|
&__actions {
|
|
6
|
+
|
|
7
|
+
* {
|
|
8
|
+
margin: auto 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
6
11
|
&__action {
|
|
7
12
|
display: flex;
|
|
8
13
|
flex-direction: row;
|
|
@@ -35,7 +40,9 @@
|
|
|
35
40
|
}
|
|
36
41
|
|
|
37
42
|
pry-checkbox {
|
|
38
|
-
|
|
43
|
+
input {
|
|
44
|
+
transform: translateX(toRem(1));
|
|
45
|
+
}
|
|
39
46
|
}
|
|
40
47
|
|
|
41
48
|
button:last-child {
|
|
@@ -90,17 +97,21 @@ hvy-action-parameter {
|
|
|
90
97
|
div.param-line {
|
|
91
98
|
display: flex;
|
|
92
99
|
flex-direction: row;
|
|
93
|
-
gap: toRem(
|
|
100
|
+
gap: toRem(15);
|
|
94
101
|
height: toRem(30);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
102
|
|
|
98
|
-
|
|
99
|
-
.param-line {
|
|
100
|
-
* {
|
|
103
|
+
p, input {
|
|
101
104
|
flex: 1 1;
|
|
105
|
+
|
|
106
|
+
&.param-line__short {
|
|
107
|
+
flex: 0.5 0.5;
|
|
108
|
+
}
|
|
102
109
|
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
103
112
|
|
|
113
|
+
hvy-phone-action-parameter, hvy-email-action-parameter {
|
|
114
|
+
.param-line {
|
|
104
115
|
.to {
|
|
105
116
|
flex: 0;
|
|
106
117
|
}
|