@provoly/hypervisor 2.0.7 → 2.0.9
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/add-event/add-event.component.mjs +1 -1
- package/esm2022/src/lib/event/detail/event-detail.component.mjs +40 -12
- package/esm2022/src/lib/event/detail/remove-event/remove-event.component.mjs +28 -0
- package/esm2022/src/lib/event/procedure-association-modal/procedure-association-modal.component.mjs +4 -3
- package/esm2022/src/lib/event/public-api.mjs +2 -1
- package/esm2022/src/lib/event-summary/item/event-summary-item.component.mjs +5 -4
- package/esm2022/src/lib/event-summary/page/event-summary-page.component.mjs +6 -6
- package/esm2022/src/lib/general/comments/comments.component.mjs +7 -3
- package/esm2022/src/lib/general/i18n/fr.translations.mjs +5 -1
- package/esm2022/src/lib/general/procedure-actions/action-parameters/service/create-service.component.mjs +5 -2
- package/esm2022/src/lib/general/procedure-actions/procedure-actions.component.mjs +1 -1
- package/esm2022/src/lib/hypervisor.module.mjs +15 -6
- package/esm2022/src/lib/model/event/hyp-event-summary.interface.mjs +1 -1
- package/esm2022/src/lib/procedure/model-detail/procedure-model-detail.component.mjs +1 -1
- package/esm2022/src/lib/store/equipment/equipment.service.mjs +10 -3
- package/esm2022/src/lib/store/event/event.actions.mjs +4 -1
- package/esm2022/src/lib/store/event/event.effects.mjs +2 -1
- package/esm2022/src/lib/store/event/event.reducer.mjs +6 -2
- package/esm2022/src/lib/store/event/event.selectors.mjs +3 -1
- package/esm2022/src/lib/store/event/event.service.mjs +13 -3
- package/esm2022/src/lib/store/event-summary/event-summary.service.mjs +2 -2
- package/fesm2022/provoly-hypervisor.mjs +134 -38
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/event/detail/event-detail.component.d.ts +4 -1
- package/src/lib/event/detail/remove-event/remove-event.component.d.ts +19 -0
- package/src/lib/event/procedure-association-modal/procedure-association-modal.component.d.ts +3 -0
- package/src/lib/event/public-api.d.ts +1 -0
- package/src/lib/general/comments/comments.component.d.ts +1 -0
- package/src/lib/general/i18n/fr.translations.d.ts +4 -0
- package/src/lib/hypervisor.module.d.ts +13 -11
- package/src/lib/model/event/hyp-event-summary.interface.d.ts +1 -1
- package/src/lib/store/event/event.actions.d.ts +27 -0
- package/src/lib/store/event/event.effects.d.ts +7 -0
- package/src/lib/store/event/event.reducer.d.ts +1 -0
- package/src/lib/store/event/event.selectors.d.ts +1 -0
- package/src/lib/store/event/event.service.d.ts +5 -1
- package/styles/components/_m-hvy-event-summary-item.scss +1 -0
- package/styles/components/_o-hvy-event-detail.scss +22 -0
package/package.json
CHANGED
|
@@ -77,6 +77,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
77
77
|
code: string;
|
|
78
78
|
}[][]>;
|
|
79
79
|
addedEvent: EventEmitter<HypEventDetails>;
|
|
80
|
+
removedEvent: EventEmitter<HypEventDetails>;
|
|
80
81
|
errors: {
|
|
81
82
|
field: string;
|
|
82
83
|
code: string;
|
|
@@ -193,6 +194,8 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
193
194
|
openTooltip(index: number): PryDialogRef<HvyEventDetailsTooltipComponent>;
|
|
194
195
|
selectedParentChange($event: string | HypEventDetails, index: number): void;
|
|
195
196
|
addOneEvent(): void;
|
|
197
|
+
removeOneEvent(event: HypEventDetails): void;
|
|
198
|
+
showRemoveEveButton(event: HypEventDetails): boolean;
|
|
196
199
|
actionCommented($event: {
|
|
197
200
|
action: HypAction;
|
|
198
201
|
comments: HypComment[];
|
|
@@ -203,5 +206,5 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
203
206
|
}): void;
|
|
204
207
|
ngOnDestroy(): void;
|
|
205
208
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventDetailComponent, never>;
|
|
206
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EventDetailComponent, "hvy-event-detail", never, { "placesChoices": { "alias": "placesChoices"; "required": false; }; "title": { "alias": "title"; "required": false; }; "equipmentFromMap": { "alias": "equipmentFromMap"; "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; }; }, { "modifiedEvents": "modifiedEvents"; "modifiedProcedure": "modifiedProcedure"; "eventErrors": "eventErrors"; "addedEvent": "addedEvent"; "comfirmDialogOpened": "comfirmDialogOpened"; "commented": "commented"; }, never, never, false, never>;
|
|
209
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EventDetailComponent, "hvy-event-detail", never, { "placesChoices": { "alias": "placesChoices"; "required": false; }; "title": { "alias": "title"; "required": false; }; "equipmentFromMap": { "alias": "equipmentFromMap"; "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; }; }, { "modifiedEvents": "modifiedEvents"; "modifiedProcedure": "modifiedProcedure"; "eventErrors": "eventErrors"; "addedEvent": "addedEvent"; "removedEvent": "removedEvent"; "comfirmDialogOpened": "comfirmDialogOpened"; "commented": "commented"; }, never, never, false, never>;
|
|
207
210
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PryDialogRef } from "@provoly/dashboard";
|
|
2
|
+
import { HypEventDetails } from "../../../model/event/hyp-event-detail.interface";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RemoveEventComponent {
|
|
5
|
+
private dialog;
|
|
6
|
+
data: {
|
|
7
|
+
event: HypEventDetails;
|
|
8
|
+
};
|
|
9
|
+
constructor(dialog: PryDialogRef<RemoveEventComponent>, data: {
|
|
10
|
+
event: HypEventDetails;
|
|
11
|
+
});
|
|
12
|
+
closeModal(): void;
|
|
13
|
+
remove(): void;
|
|
14
|
+
protected readonly padId: {
|
|
15
|
+
fn: (id: number | string) => string;
|
|
16
|
+
};
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveEventComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RemoveEventComponent, "hvy-remove-event", never, {}, {}, never, never, false, never>;
|
|
19
|
+
}
|
package/src/lib/event/procedure-association-modal/procedure-association-modal.component.d.ts
CHANGED
|
@@ -31,6 +31,9 @@ export declare class ProcedureAssociationModalComponent extends SubscriptionnerD
|
|
|
31
31
|
associateProcedure(): void;
|
|
32
32
|
closeModal(): void;
|
|
33
33
|
protected readonly DOMAINS: string[];
|
|
34
|
+
protected readonly padId: {
|
|
35
|
+
fn: (id: number | string) => string;
|
|
36
|
+
};
|
|
34
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcedureAssociationModalComponent, never>;
|
|
35
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureAssociationModalComponent, "hvy-procedure-association-modal", never, { "events": { "alias": "events"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
39
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './detail/event-detail.component';
|
|
2
2
|
export * from './detail/event-details-tooltip.component';
|
|
3
3
|
export * from './detail/add-event/add-event.component';
|
|
4
|
+
export * from './detail/remove-event/remove-event.component';
|
|
4
5
|
export * from './list/event-list.component';
|
|
5
6
|
export * from './list/event-column-order.component';
|
|
6
7
|
export * from './filters/on/click/event-filters.component';
|
|
@@ -34,6 +34,7 @@ export declare class HvyCommentsComponent implements OnDestroy {
|
|
|
34
34
|
ngOnDestroy(): void;
|
|
35
35
|
get comments(): HypAugmentedComment[];
|
|
36
36
|
addComment(): void;
|
|
37
|
+
cleanNewComment(comment: string): number;
|
|
37
38
|
editComment(comment: HypAugmentedComment): void;
|
|
38
39
|
saveComment(comment: HypAugmentedComment): void;
|
|
39
40
|
cancel(comment: HypAugmentedComment): void;
|
|
@@ -41,16 +41,18 @@ import * as i36 from "./general/comments/comments.component";
|
|
|
41
41
|
import * as i37 from "./general/last-events/last-events.component";
|
|
42
42
|
import * as i38 from "./event/detail/event-details-tooltip.component";
|
|
43
43
|
import * as i39 from "./event/detail/add-event/add-event.component";
|
|
44
|
-
import * as i40 from "./
|
|
45
|
-
import * as i41 from "
|
|
46
|
-
import * as i42 from "@ngrx/
|
|
47
|
-
import * as i43 from "@
|
|
48
|
-
import * as i44 from "@
|
|
49
|
-
import * as i45 from "@provoly/dashboard
|
|
50
|
-
import * as i46 from "@
|
|
51
|
-
import * as i47 from "@angular/
|
|
52
|
-
import * as i48 from "
|
|
53
|
-
import * as i49 from "
|
|
44
|
+
import * as i40 from "./event/detail/remove-event/remove-event.component";
|
|
45
|
+
import * as i41 from "./general/procedure-actions/procedure-actions.component";
|
|
46
|
+
import * as i42 from "@ngrx/store";
|
|
47
|
+
import * as i43 from "@ngrx/effects";
|
|
48
|
+
import * as i44 from "@angular/common";
|
|
49
|
+
import * as i45 from "@provoly/dashboard";
|
|
50
|
+
import * as i46 from "@provoly/dashboard/components/checkbox";
|
|
51
|
+
import * as i47 from "@angular/forms";
|
|
52
|
+
import * as i48 from "@angular/router";
|
|
53
|
+
import * as i49 from "./general/truncate-pipe/truncate.pipe";
|
|
54
|
+
import * as i50 from "@angular/material/autocomplete";
|
|
55
|
+
import * as i51 from "@angular/cdk/overlay";
|
|
54
56
|
export declare class PvyHypervisorModule {
|
|
55
57
|
private baseConfig;
|
|
56
58
|
private store;
|
|
@@ -62,6 +64,6 @@ export declare class PvyHypervisorModule {
|
|
|
62
64
|
url: string;
|
|
63
65
|
}, store: Store<any>, i18nService: PryI18nService);
|
|
64
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<PvyHypervisorModule, never>;
|
|
65
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PvyHypervisorModule, [typeof i1.EventDetailComponent, typeof i2.EventListComponent, typeof i3.EventColumnOrderComponent, typeof i4.IconDisplayComponent, typeof i5.EventSummaryItemComponent, typeof i6.EventSummaryListComponent, typeof i7.EventSummaryPageComponent, typeof i8.EventIconPipe, typeof i9.ForDatetimeLocalPipe, typeof i10.StatusDisplayComponent, typeof i11.ProgressDisplayComponent, typeof i12.ColumnOrderComponent, typeof i13.EventFiltersComponent, typeof i14.DateFilterComponent, typeof i15.TextFilterComponent, typeof i16.ChoiceFilterComponent, typeof i17.ProcedureListComponent, typeof i18.ProcedureColumnOrderComponent, typeof i19.ProcedureAssociationModalComponent, typeof i20.ProcedureModelDetailComponent, typeof i21.ImmediateFiltersComponent, typeof i22.HvyActionMenuComponent, typeof i23.HvyCreateServiceComponent, typeof i24.HvyActionParameterComponent, typeof i25.HvyBaseParameterActionComponent, typeof i26.HvyOtherActionParameterComponent, typeof i27.HvyOtherActionDisplayComponent, typeof i28.HvyNoParamsActionDisplayComponent, typeof i29.HvyPhoneActionParameterComponent, typeof i30.HvyPhoneActionDisplayComponent, typeof i31.HvyEmailActionDisplayComponent, typeof i32.HvyEmailActionParameterComponent, typeof i33.HvyServiceActionParameterComponent, typeof i34.HvyServiceActionDisplayComponent, typeof i35.DisplayLocaleDateTime, typeof i36.HvyCommentsComponent, typeof i37.LastEventsComponent, typeof i38.HvyEventDetailsTooltipComponent, typeof i39.HvyEventAddEventComponent, typeof i40.ProcedureActionsComponent], [typeof
|
|
67
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PvyHypervisorModule, [typeof i1.EventDetailComponent, typeof i2.EventListComponent, typeof i3.EventColumnOrderComponent, typeof i4.IconDisplayComponent, typeof i5.EventSummaryItemComponent, typeof i6.EventSummaryListComponent, typeof i7.EventSummaryPageComponent, typeof i8.EventIconPipe, typeof i9.ForDatetimeLocalPipe, typeof i10.StatusDisplayComponent, typeof i11.ProgressDisplayComponent, typeof i12.ColumnOrderComponent, typeof i13.EventFiltersComponent, typeof i14.DateFilterComponent, typeof i15.TextFilterComponent, typeof i16.ChoiceFilterComponent, typeof i17.ProcedureListComponent, typeof i18.ProcedureColumnOrderComponent, typeof i19.ProcedureAssociationModalComponent, typeof i20.ProcedureModelDetailComponent, typeof i21.ImmediateFiltersComponent, typeof i22.HvyActionMenuComponent, typeof i23.HvyCreateServiceComponent, typeof i24.HvyActionParameterComponent, typeof i25.HvyBaseParameterActionComponent, typeof i26.HvyOtherActionParameterComponent, typeof i27.HvyOtherActionDisplayComponent, typeof i28.HvyNoParamsActionDisplayComponent, typeof i29.HvyPhoneActionParameterComponent, typeof i30.HvyPhoneActionDisplayComponent, typeof i31.HvyEmailActionDisplayComponent, typeof i32.HvyEmailActionParameterComponent, typeof i33.HvyServiceActionParameterComponent, typeof i34.HvyServiceActionDisplayComponent, typeof i35.DisplayLocaleDateTime, typeof i36.HvyCommentsComponent, typeof i37.LastEventsComponent, typeof i38.HvyEventDetailsTooltipComponent, typeof i39.HvyEventAddEventComponent, typeof i40.RemoveEventComponent, typeof i41.ProcedureActionsComponent], [typeof i42.StoreFeatureModule, typeof i42.StoreFeatureModule, typeof i42.StoreFeatureModule, typeof i42.StoreFeatureModule, typeof i43.EffectsFeatureModule, typeof i44.NgForOf, typeof i44.AsyncPipe, typeof i45.PryI18nModule, typeof i45.PryCoreModule, typeof i44.NgStyle, typeof i46.PryCheckboxModule, typeof i47.FormsModule, typeof i48.RouterLink, typeof i45.PrySinceDateModule, typeof i44.DatePipe, typeof i45.PryIconModule, typeof i44.KeyValuePipe, typeof i45.PrySelectModule, typeof i44.JsonPipe, typeof i45.PryDatePickerModule, typeof i44.NgIf, typeof i45.PryCoreModule, typeof i45.PryI18nModule, typeof i47.FormsModule, typeof i44.AsyncPipe, typeof i49.TruncatePipe, typeof i44.DatePipe, typeof i44.AsyncPipe, typeof i50.MatAutocompleteTrigger, typeof i50.MatAutocomplete, typeof i50.MatOption, typeof i47.ReactiveFormsModule, typeof i45.PryIconModule, typeof i44.NgClass, typeof i44.AsyncPipe, typeof i45.PryI18nModule, typeof i44.AsyncPipe, typeof i45.PryI18nModule, typeof i51.CdkScrollable, typeof i44.SlicePipe], [typeof i1.EventDetailComponent, typeof i2.EventListComponent, typeof i3.EventColumnOrderComponent, typeof i4.IconDisplayComponent, typeof i5.EventSummaryItemComponent, typeof i6.EventSummaryListComponent, typeof i7.EventSummaryPageComponent, typeof i8.EventIconPipe, typeof i9.ForDatetimeLocalPipe, typeof i10.StatusDisplayComponent, typeof i11.ProgressDisplayComponent, typeof i12.ColumnOrderComponent, typeof i13.EventFiltersComponent, typeof i14.DateFilterComponent, typeof i15.TextFilterComponent, typeof i16.ChoiceFilterComponent, typeof i17.ProcedureListComponent, typeof i18.ProcedureColumnOrderComponent, typeof i19.ProcedureAssociationModalComponent, typeof i20.ProcedureModelDetailComponent, typeof i21.ImmediateFiltersComponent, typeof i22.HvyActionMenuComponent, typeof i23.HvyCreateServiceComponent, typeof i24.HvyActionParameterComponent, typeof i25.HvyBaseParameterActionComponent, typeof i26.HvyOtherActionParameterComponent, typeof i27.HvyOtherActionDisplayComponent, typeof i28.HvyNoParamsActionDisplayComponent, typeof i29.HvyPhoneActionParameterComponent, typeof i30.HvyPhoneActionDisplayComponent, typeof i31.HvyEmailActionDisplayComponent, typeof i32.HvyEmailActionParameterComponent, typeof i33.HvyServiceActionParameterComponent, typeof i34.HvyServiceActionDisplayComponent, typeof i35.DisplayLocaleDateTime, typeof i36.HvyCommentsComponent, typeof i37.LastEventsComponent, typeof i38.HvyEventDetailsTooltipComponent, typeof i39.HvyEventAddEventComponent, typeof i40.RemoveEventComponent]>;
|
|
66
68
|
static ɵinj: i0.ɵɵInjectorDeclaration<PvyHypervisorModule>;
|
|
67
69
|
}
|
|
@@ -30,6 +30,17 @@ export declare const EventActions: {
|
|
|
30
30
|
};
|
|
31
31
|
filterSet: string;
|
|
32
32
|
} & import("@ngrx/store").Action<"[Event Api] Set filters">>;
|
|
33
|
+
filterAccueil: import("@ngrx/store").ActionCreator<"[Event Api] Set filters accueil", (props: {
|
|
34
|
+
filters: {
|
|
35
|
+
[key: string]: string[];
|
|
36
|
+
};
|
|
37
|
+
filterSet: string;
|
|
38
|
+
}) => {
|
|
39
|
+
filters: {
|
|
40
|
+
[key: string]: string[];
|
|
41
|
+
};
|
|
42
|
+
filterSet: string;
|
|
43
|
+
} & import("@ngrx/store").Action<"[Event Api] Set filters accueil">>;
|
|
33
44
|
select: import("@ngrx/store").ActionCreator<"[Event Api] Select", (props: {
|
|
34
45
|
cumulative: boolean;
|
|
35
46
|
ids: number[];
|
|
@@ -42,6 +53,7 @@ export declare const EventActions: {
|
|
|
42
53
|
}) => {
|
|
43
54
|
id: number;
|
|
44
55
|
} & import("@ngrx/store").Action<"[Event] Load specific Event">>;
|
|
56
|
+
resetDetails: import("@ngrx/store").ActionCreator<"[Event] Reset Details", () => import("@ngrx/store").Action<"[Event] Reset Details">>;
|
|
45
57
|
getForProcedure: import("@ngrx/store").ActionCreator<"[Event] Load specific Event for procedure", (props: {
|
|
46
58
|
id: number;
|
|
47
59
|
}) => {
|
|
@@ -91,6 +103,13 @@ export declare const EventActions: {
|
|
|
91
103
|
eventId: number;
|
|
92
104
|
procedure: HypProcedure;
|
|
93
105
|
} & import("@ngrx/store").Action<"[Event] Add event to procedure">>;
|
|
106
|
+
removeEventToProcedure: import("@ngrx/store").ActionCreator<"[Event] Remove event to procedure", (props: {
|
|
107
|
+
eventId: number;
|
|
108
|
+
procedure: HypProcedure;
|
|
109
|
+
}) => {
|
|
110
|
+
eventId: number;
|
|
111
|
+
procedure: HypProcedure;
|
|
112
|
+
} & import("@ngrx/store").Action<"[Event] Remove event to procedure">>;
|
|
94
113
|
saveSuccess: import("@ngrx/store").ActionCreator<"[Event] Save success", (props: {
|
|
95
114
|
event?: HypEventDetails;
|
|
96
115
|
procedure?: HypProcedure;
|
|
@@ -154,7 +173,15 @@ export declare const EventActions: {
|
|
|
154
173
|
} & import("@ngrx/store").Action<"[Event] Associate Procedure to Event Failure">>;
|
|
155
174
|
export: import("@ngrx/store").ActionCreator<"[Event] Export events", (props: {
|
|
156
175
|
archived: boolean;
|
|
176
|
+
dateCategories: {
|
|
177
|
+
category: string;
|
|
178
|
+
date: string;
|
|
179
|
+
}[];
|
|
157
180
|
}) => {
|
|
158
181
|
archived: boolean;
|
|
182
|
+
dateCategories: {
|
|
183
|
+
category: string;
|
|
184
|
+
date: string;
|
|
185
|
+
}[];
|
|
159
186
|
} & import("@ngrx/store").Action<"[Event] Export events">>;
|
|
160
187
|
};
|
|
@@ -50,6 +50,13 @@ export declare class EventEffects {
|
|
|
50
50
|
} & import("@ngrx/store").Action<"[Event] Save success">) | ({
|
|
51
51
|
error: any;
|
|
52
52
|
} & import("@ngrx/store").Action<"[Event] Save failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
53
|
+
removeEventToProcedure$: import("rxjs").Observable<({
|
|
54
|
+
event?: import("@provoly/hypervisor").HypEventDetails;
|
|
55
|
+
procedure?: import("@provoly/hypervisor").HypProcedure;
|
|
56
|
+
creation: boolean;
|
|
57
|
+
} & import("@ngrx/store").Action<"[Event] Save success">) | ({
|
|
58
|
+
error: any;
|
|
59
|
+
} & import("@ngrx/store").Action<"[Event] Save failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
53
60
|
refreshAfterSave$: import("rxjs").Observable<({
|
|
54
61
|
id: number;
|
|
55
62
|
} & import("@ngrx/store").Action<"[Event] Load specific Event">) | ({
|
|
@@ -6,6 +6,7 @@ export declare const EventSelectors: {
|
|
|
6
6
|
selectedEvents: import("@ngrx/store").MemoizedSelector<object, import("@provoly/hypervisor").HypEventDetails[], (s1: EventState) => import("@provoly/hypervisor").HypEventDetails[]>;
|
|
7
7
|
loading: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: EventState) => boolean>;
|
|
8
8
|
filters: import("@ngrx/store").MemoizedSelector<object, import("../../event/filters/hvy-unit-filter.class").HvyFilterParams, (s1: EventState) => import("../../event/filters/hvy-unit-filter.class").HvyFilterParams>;
|
|
9
|
+
filtersAccueil: import("@ngrx/store").MemoizedSelector<object, import("../../event/filters/hvy-unit-filter.class").HvyFilterParams, (s1: EventState) => import("../../event/filters/hvy-unit-filter.class").HvyFilterParams>;
|
|
9
10
|
details: import("@ngrx/store").MemoizedSelector<object, {
|
|
10
11
|
event?: import("@provoly/hypervisor").HypEventDetails;
|
|
11
12
|
procedure?: import("@provoly/hypervisor").HypProcedure;
|
|
@@ -24,10 +24,14 @@ export declare class EventService {
|
|
|
24
24
|
save(event: HypEventDetails): Observable<HypEventDetails>;
|
|
25
25
|
saveProcedure(procedure: HypProcedure): Observable<void>;
|
|
26
26
|
addEventToProcedure(eventId: number, procedure: HypProcedure): Observable<void>;
|
|
27
|
+
removeEventToProcedure(eventId: number, procedure: HypProcedure): Observable<void>;
|
|
27
28
|
status(event: HypEventDetails, status: string, comment: string): Observable<void>;
|
|
28
29
|
statusProcedure(procedure: HypProcedure, status: string, comment: string): Observable<void>;
|
|
29
30
|
associateProcedure(procedureId: number, eventIds: number[]): Observable<HypProcedure>;
|
|
30
|
-
export(archived: boolean
|
|
31
|
+
export(archived: boolean, dateCategories?: {
|
|
32
|
+
category: string;
|
|
33
|
+
date: string;
|
|
34
|
+
}[]): Observable<import("@angular/common/http").HttpResponse<ArrayBuffer>>;
|
|
31
35
|
search(search: string | undefined, fields: string[], statuses?: string[]): Observable<HypEventDetails[]>;
|
|
32
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventService, never>;
|
|
33
37
|
static ɵprov: i0.ɵɵInjectableDeclaration<EventService>;
|
|
@@ -380,3 +380,25 @@ div.mat-mdc-autocomplete-panel {
|
|
|
380
380
|
cursor: auto;
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
+
.detail-remove-eve {
|
|
384
|
+
flex: none;
|
|
385
|
+
padding: 0;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.o-hvy-event-detail-remove {
|
|
389
|
+
display: flex;
|
|
390
|
+
flex-direction: column;
|
|
391
|
+
align-items: center;
|
|
392
|
+
|
|
393
|
+
&__container {
|
|
394
|
+
display: flex;
|
|
395
|
+
width: max-content;
|
|
396
|
+
flex-direction: column;
|
|
397
|
+
align-items: center;
|
|
398
|
+
|
|
399
|
+
p:first-child {
|
|
400
|
+
//font-weight: bold;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|