@provoly/hypervisor 2.0.8 → 2.1.0

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.
Files changed (41) hide show
  1. package/esm2022/src/lib/event/detail/add-event/add-event.component.mjs +1 -1
  2. package/esm2022/src/lib/event/detail/event-detail.component.mjs +68 -24
  3. package/esm2022/src/lib/event/detail/remove-event/remove-event.component.mjs +28 -0
  4. package/esm2022/src/lib/event/procedure-association-modal/procedure-association-modal.component.mjs +21 -6
  5. package/esm2022/src/lib/event/public-api.mjs +2 -1
  6. package/esm2022/src/lib/event-summary/item/event-summary-item.component.mjs +5 -4
  7. package/esm2022/src/lib/event-summary/page/event-summary-page.component.mjs +6 -6
  8. package/esm2022/src/lib/general/comments/comments.component.mjs +7 -3
  9. package/esm2022/src/lib/general/i18n/fr.translations.mjs +7 -1
  10. package/esm2022/src/lib/general/procedure-actions/action-parameters/service/create-service.component.mjs +5 -2
  11. package/esm2022/src/lib/general/procedure-actions/procedure-actions.component.mjs +1 -1
  12. package/esm2022/src/lib/hypervisor.module.mjs +15 -6
  13. package/esm2022/src/lib/model/event/hyp-event-summary.interface.mjs +1 -1
  14. package/esm2022/src/lib/model/procedure/hyp-procedure.interface.mjs +1 -1
  15. package/esm2022/src/lib/procedure/model-detail/procedure-model-detail.component.mjs +1 -1
  16. package/esm2022/src/lib/store/event/event.actions.mjs +4 -1
  17. package/esm2022/src/lib/store/event/event.effects.mjs +2 -1
  18. package/esm2022/src/lib/store/event/event.reducer.mjs +6 -2
  19. package/esm2022/src/lib/store/event/event.selectors.mjs +3 -1
  20. package/esm2022/src/lib/store/event/event.service.mjs +13 -3
  21. package/esm2022/src/lib/store/event-summary/event-summary.service.mjs +2 -2
  22. package/fesm2022/provoly-hypervisor.mjs +221 -101
  23. package/fesm2022/provoly-hypervisor.mjs.map +1 -1
  24. package/package.json +1 -1
  25. package/src/lib/event/detail/event-detail.component.d.ts +9 -3
  26. package/src/lib/event/detail/remove-event/remove-event.component.d.ts +19 -0
  27. package/src/lib/event/procedure-association-modal/procedure-association-modal.component.d.ts +8 -2
  28. package/src/lib/event/public-api.d.ts +1 -0
  29. package/src/lib/general/comments/comments.component.d.ts +1 -0
  30. package/src/lib/general/i18n/fr.translations.d.ts +6 -0
  31. package/src/lib/hypervisor.module.d.ts +13 -11
  32. package/src/lib/model/event/hyp-event-summary.interface.d.ts +1 -1
  33. package/src/lib/model/procedure/hyp-procedure.interface.d.ts +2 -0
  34. package/src/lib/store/event/event.actions.d.ts +27 -0
  35. package/src/lib/store/event/event.effects.d.ts +7 -0
  36. package/src/lib/store/event/event.reducer.d.ts +1 -0
  37. package/src/lib/store/event/event.selectors.d.ts +1 -0
  38. package/src/lib/store/event/event.service.d.ts +5 -1
  39. package/styles/components/_m-hvy-event-summary-item.scss +1 -0
  40. package/styles/components/_o-hvy-comments.scss +4 -0
  41. package/styles/components/_o-hvy-event-detail.scss +28 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/hypervisor",
3
- "version": "2.0.8",
3
+ "version": "2.1.0",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "17.x || 18.x",
6
6
  "@angular/common": "17.x || 18.x",
@@ -16,6 +16,7 @@ import { HypComment } from '../../model/comment.interface';
16
16
  import { Actions } from '@ngrx/effects';
17
17
  import { FormArray, FormBuilder, FormControl } from "@angular/forms";
18
18
  import { MatAutocompleteTrigger } from "@angular/material/autocomplete";
19
+ import { ProcedureService } from "../../store/procedure/procedure.service";
19
20
  import * as i0 from "@angular/core";
20
21
  export type ChangeStatusContext = {
21
22
  comment: string;
@@ -55,6 +56,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
55
56
  private eventService;
56
57
  private actions$;
57
58
  private formBuilder;
59
+ private procedureService;
58
60
  eventForm: import("@angular/forms").FormGroup<{
59
61
  equips: FormArray<FormControl<unknown>>;
60
62
  }>;
@@ -77,6 +79,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
77
79
  code: string;
78
80
  }[][]>;
79
81
  addedEvent: EventEmitter<HypEventDetails>;
82
+ removedEvent: EventEmitter<HypEventDetails>;
80
83
  errors: {
81
84
  field: string;
82
85
  code: string;
@@ -126,7 +129,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
126
129
  dialog: PryDialogRef<HvyEventDetailsTooltipComponent> | null;
127
130
  index: number;
128
131
  };
129
- constructor(equipmentService: EquipmentService, store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, i18nService: PryI18nService, pryDialog: PryDialogService, commentsService: HypCommentsService, eventService: EventService, actions$: Actions, formBuilder: FormBuilder);
132
+ constructor(equipmentService: EquipmentService, store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, i18nService: PryI18nService, pryDialog: PryDialogService, commentsService: HypCommentsService, eventService: EventService, actions$: Actions, formBuilder: FormBuilder, procedureService: ProcedureService);
130
133
  isEventModified(): boolean;
131
134
  private setDistrictForEvents;
132
135
  private setCreatorForEvents;
@@ -176,8 +179,9 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
176
179
  protected readonly subCategories: (string | undefined)[];
177
180
  modifiedActions($event: any): void;
178
181
  refreshActions($event: HypAction[]): void;
179
- openAssociationModal(): void;
182
+ openAssociationModal(title?: string, procedure?: string, domain?: string): void;
180
183
  openDeleteModal(): void;
184
+ openChangeModal(): void;
181
185
  private convertDate;
182
186
  displayEquipment(equipment: EquipmentForEvent): string;
183
187
  getEquipControl(index: number): FormControl;
@@ -193,6 +197,8 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
193
197
  openTooltip(index: number): PryDialogRef<HvyEventDetailsTooltipComponent>;
194
198
  selectedParentChange($event: string | HypEventDetails, index: number): void;
195
199
  addOneEvent(): void;
200
+ removeOneEvent(event: HypEventDetails): void;
201
+ showRemoveEveButton(event: HypEventDetails): boolean;
196
202
  actionCommented($event: {
197
203
  action: HypAction;
198
204
  comments: HypComment[];
@@ -203,5 +209,5 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
203
209
  }): void;
204
210
  ngOnDestroy(): void;
205
211
  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>;
212
+ 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
213
  }
@@ -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
+ }
@@ -17,13 +17,16 @@ export declare class ProcedureAssociationModalComponent extends SubscriptionnerD
17
17
  selectedDomain?: string;
18
18
  selectedProcedureInComboBox?: HypProcedureModel;
19
19
  onDomainSelect$: BehaviorSubject<void>;
20
- procedureSelectValue?: string | HypProcedureModel;
21
20
  onProcedureSearch$: Subject<void>;
22
21
  procedures$: Observable<HypProcedureModelWithMatching[]>;
23
22
  eventsFromInput$: BehaviorSubject<HypEventDetails[] | null>;
24
23
  eventsForAction: HypEventDetails[];
25
24
  disableValidButton: boolean;
25
+ eventsDomain: (string | undefined)[];
26
26
  set events(events: HypEventDetails[]);
27
+ title: string;
28
+ procedureSelectValue?: string | HypProcedureModel;
29
+ set procedureDomain(domain: string);
27
30
  constructor(store: Store, procedureService: ProcedureService, dialog: PryDialogRef<ProcedureAssociationModalComponent>);
28
31
  onDomainChange(): void;
29
32
  cleanProcedureNameForComboBoxSearch(procedure: string): string;
@@ -31,6 +34,9 @@ export declare class ProcedureAssociationModalComponent extends SubscriptionnerD
31
34
  associateProcedure(): void;
32
35
  closeModal(): void;
33
36
  protected readonly DOMAINS: string[];
37
+ protected readonly padId: {
38
+ fn: (id: number | string) => string;
39
+ };
34
40
  static ɵfac: i0.ɵɵFactoryDeclaration<ProcedureAssociationModalComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureAssociationModalComponent, "hvy-procedure-association-modal", never, { "events": { "alias": "events"; "required": false; }; }, {}, never, never, false, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureAssociationModalComponent, "hvy-procedure-association-modal", never, { "events": { "alias": "events"; "required": false; }; "title": { "alias": "title"; "required": false; }; "procedureSelectValue": { "alias": "procedureSelectValue"; "required": false; }; "procedureDomain": { "alias": "procedureDomain"; "required": false; }; }, {}, never, never, false, never>;
36
42
  }
@@ -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;
@@ -1,6 +1,10 @@
1
1
  export declare const frTranslations: {
2
2
  '@hvy': {
3
3
  event: {
4
+ remove: {
5
+ title: string;
6
+ text: string;
7
+ };
4
8
  district: string;
5
9
  id: string;
6
10
  name: string;
@@ -66,6 +70,7 @@ export declare const frTranslations: {
66
70
  };
67
71
  procedure: {
68
72
  delete: string;
73
+ modify: string;
69
74
  progress: string;
70
75
  noAction: string;
71
76
  name: string;
@@ -158,6 +163,7 @@ export declare const frTranslations: {
158
163
  IN_PROGRESS: string;
159
164
  DONE: string;
160
165
  };
166
+ etat: string;
161
167
  alreadyExists: string;
162
168
  name: string;
163
169
  progress: string;
@@ -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 "./general/procedure-actions/procedure-actions.component";
45
- import * as i41 from "@ngrx/store";
46
- import * as i42 from "@ngrx/effects";
47
- import * as i43 from "@angular/common";
48
- import * as i44 from "@provoly/dashboard";
49
- import * as i45 from "@provoly/dashboard/components/checkbox";
50
- import * as i46 from "@angular/forms";
51
- import * as i47 from "@angular/router";
52
- import * as i48 from "./general/truncate-pipe/truncate.pipe";
53
- import * as i49 from "@angular/material/autocomplete";
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 i41.StoreFeatureModule, typeof i41.StoreFeatureModule, typeof i41.StoreFeatureModule, typeof i41.StoreFeatureModule, typeof i42.EffectsFeatureModule, typeof i43.NgForOf, typeof i43.AsyncPipe, typeof i44.PryI18nModule, typeof i44.PryCoreModule, typeof i43.NgStyle, typeof i45.PryCheckboxModule, typeof i46.FormsModule, typeof i47.RouterLink, typeof i44.PrySinceDateModule, typeof i43.DatePipe, typeof i44.PryIconModule, typeof i43.KeyValuePipe, typeof i44.PrySelectModule, typeof i43.JsonPipe, typeof i44.PryDatePickerModule, typeof i43.NgIf, typeof i44.PryCoreModule, typeof i44.PryI18nModule, typeof i46.FormsModule, typeof i43.AsyncPipe, typeof i48.TruncatePipe, typeof i43.DatePipe, typeof i43.AsyncPipe, typeof i49.MatAutocompleteTrigger, typeof i49.MatAutocomplete, typeof i49.MatOption, typeof i46.ReactiveFormsModule, typeof i44.PryIconModule, typeof i43.NgClass, typeof i43.AsyncPipe, typeof i44.PryI18nModule, typeof i43.AsyncPipe, typeof i44.PryI18nModule], [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]>;
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
  }
@@ -4,7 +4,7 @@ export interface HypEventSummary extends HypEvent {
4
4
  lastModificationDate: string;
5
5
  startDate?: string;
6
6
  endDate?: string;
7
- serviceTitle?: string;
7
+ serviceTitles?: string[];
8
8
  procedureId?: string;
9
9
  }
10
10
  export type HypEventSummaries = {
@@ -9,6 +9,7 @@ export interface HypProcedure {
9
9
  progress: number;
10
10
  events: HypEventDetails[];
11
11
  closeComment?: string;
12
+ domain: string;
12
13
  }
13
14
  export declare const procedureForWriteAPI: (procedure: HypProcedure) => {
14
15
  events: {
@@ -56,4 +57,5 @@ export declare const procedureForWriteAPI: (procedure: HypProcedure) => {
56
57
  actions: HypAction[];
57
58
  progress: number;
58
59
  closeComment?: string;
60
+ domain: string;
59
61
  };
@@ -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">) | ({
@@ -9,6 +9,7 @@ export interface EventState {
9
9
  noMoreEvents: boolean;
10
10
  loading: boolean;
11
11
  filters: HvyFilterParams;
12
+ filtersAccueil: HvyFilterParams;
12
13
  selectedIds: number[];
13
14
  details: {
14
15
  event?: HypEventDetails;
@@ -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): Observable<import("@angular/common/http").HttpResponse<ArrayBuffer>>;
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>;
@@ -31,6 +31,7 @@
31
31
  font-size: toRem(14);
32
32
  margin-bottom: toRem(10);
33
33
  color: themed($theme-map, 'color', 'primary', 700);
34
+ display: flex;
34
35
  }
35
36
 
36
37
  &__footer {
@@ -118,3 +118,7 @@
118
118
  }
119
119
  }
120
120
  }
121
+
122
+ .my-comment-message {
123
+ background: white!important;
124
+ }
@@ -42,12 +42,9 @@
42
42
  padding-bottom: 0;
43
43
  }
44
44
 
45
- button {
45
+ button.-fix-right {
46
+ margin-right: toRem(20);
46
47
  margin-left: auto;
47
-
48
- &.-fix-right {
49
- margin-right: toRem(20);
50
- }
51
48
  }
52
49
 
53
50
  .add-button {
@@ -380,3 +377,29 @@ div.mat-mdc-autocomplete-panel {
380
377
  cursor: auto;
381
378
  }
382
379
 
380
+ .detail-remove-eve {
381
+ flex: none;
382
+ padding: 0;
383
+ }
384
+
385
+ .o-hvy-event-detail-remove {
386
+ display: flex;
387
+ flex-direction: column;
388
+ align-items: center;
389
+
390
+ &__container {
391
+ display: flex;
392
+ width: max-content;
393
+ flex-direction: column;
394
+ align-items: center;
395
+
396
+ p:first-child {
397
+ //font-weight: bold;
398
+ }
399
+ }
400
+ }
401
+
402
+ .event-detail-buttons-left {
403
+ justify-content: end;
404
+ }
405
+