@provoly/hypervisor 1.4.61 → 1.4.63
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 +11 -3
- package/esm2022/src/lib/event/detail/event-details-tooltip.component.mjs +12 -8
- package/esm2022/src/lib/event/filters/date/date-filter.component.mjs +6 -3
- package/esm2022/src/lib/general/i18n/fr.translations.mjs +2 -2
- package/esm2022/src/lib/general/last-events/last-events.component.mjs +10 -4
- package/fesm2022/provoly-hypervisor.mjs +33 -12
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/event/detail/event-detail.component.d.ts +1 -0
- package/src/lib/event/detail/event-details-tooltip.component.d.ts +4 -1
- package/src/lib/general/last-events/last-events.component.d.ts +4 -2
- package/styles/components/_o-hvy-event-detail.scss +3 -1
- package/styles/components/_o-hvy-last-events.scss +19 -0
package/package.json
CHANGED
|
@@ -166,6 +166,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
166
166
|
id: string;
|
|
167
167
|
message: string;
|
|
168
168
|
}): void;
|
|
169
|
+
ngOnDestroy(): void;
|
|
169
170
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventDetailComponent, never>;
|
|
170
171
|
static ɵcmp: i0.ɵɵComponentDeclaration<EventDetailComponent, "hvy-event-detail", never, { "title": { "alias": "title"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readonlyProcedure": { "alias": "readonlyProcedure"; "required": false; }; "enableEditActions": { "alias": "enableEditActions"; "required": false; }; "readOnlyComment": { "alias": "readOnlyComment"; "required": false; }; "me": { "alias": "me"; "required": false; }; "events": { "alias": "events"; "required": false; }; "procedure": { "alias": "procedure"; "required": false; }; "cancelModifications": { "alias": "cancelModifications"; "required": false; }; "equipmentName": { "alias": "equipmentName"; "required": false; }; }, { "modifiedEvents": "modifiedEvents"; "modifiedProcedure": "modifiedProcedure"; "eventErrors": "eventErrors"; "addedEvent": "addedEvent"; "comfirmDialogOpened": "comfirmDialogOpened"; "commented": "commented"; }, never, never, false, never>;
|
|
171
172
|
}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
import { PryDialogConfirmComponent, PryDialogRef } from '@provoly/dashboard';
|
|
1
2
|
import { HypServiceTooltip } from '../../model/event/hyp-event-tooltip.interface';
|
|
2
3
|
import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class HvyEventDetailsTooltipComponent {
|
|
6
|
+
private dialog;
|
|
5
7
|
data: {
|
|
6
8
|
events?: HypEventDetails[];
|
|
7
9
|
services?: HypServiceTooltip[];
|
|
8
10
|
};
|
|
9
|
-
constructor(data: {
|
|
11
|
+
constructor(dialog: PryDialogRef<PryDialogConfirmComponent>, data: {
|
|
10
12
|
events?: HypEventDetails[];
|
|
11
13
|
services?: HypServiceTooltip[];
|
|
12
14
|
});
|
|
15
|
+
closeDialog($event: boolean): void;
|
|
13
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<HvyEventDetailsTooltipComponent, never>;
|
|
14
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<HvyEventDetailsTooltipComponent, "hvy-event-detail-tooltip", never, {}, {}, never, never, false, never>;
|
|
15
18
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { SubscriptionnerDirective } from '@provoly/dashboard';
|
|
3
3
|
import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
|
|
4
4
|
import { HypServiceTooltip } from '../../model/event/hyp-event-tooltip.interface';
|
|
@@ -7,9 +7,11 @@ export declare class LastEventsComponent extends SubscriptionnerDirective implem
|
|
|
7
7
|
protected readonly displayDate: (endDate: string) => string | undefined;
|
|
8
8
|
services: HypServiceTooltip[];
|
|
9
9
|
events: HypEventDetails[];
|
|
10
|
+
closeDialogEmit: EventEmitter<boolean>;
|
|
10
11
|
references: string[];
|
|
11
12
|
ngOnInit(): void;
|
|
13
|
+
closeDialog(): void;
|
|
12
14
|
initActionReference(services: HypServiceTooltip[]): void;
|
|
13
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<LastEventsComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LastEventsComponent, "hvy-last-events", never, { "services": { "alias": "services"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LastEventsComponent, "hvy-last-events", never, { "services": { "alias": "services"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, { "closeDialogEmit": "closeDialogEmit"; }, never, never, false, never>;
|
|
15
17
|
}
|
|
@@ -3,7 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
.o-hvy-last-events {
|
|
5
5
|
&__events {
|
|
6
|
+
> div:first-child {
|
|
7
|
+
padding-bottom: 1em;
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
align-items: center;
|
|
11
|
+
> h3 {
|
|
12
|
+
padding-bottom: 0;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
6
15
|
&__item {
|
|
16
|
+
padding-bottom: 1em;
|
|
7
17
|
font-size: toRem(12);
|
|
8
18
|
display: grid;
|
|
9
19
|
grid-template-areas: "icon title status"
|
|
@@ -31,6 +41,15 @@
|
|
|
31
41
|
}
|
|
32
42
|
|
|
33
43
|
&__services {
|
|
44
|
+
> div:first-child {
|
|
45
|
+
padding-bottom: 1em;
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
align-items: center;
|
|
49
|
+
> h3 {
|
|
50
|
+
padding-bottom: 0;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
34
53
|
&__item {
|
|
35
54
|
font-size: toRem(12);
|
|
36
55
|
display: grid;
|