@provoly/hypervisor 0.0.118 → 0.0.119

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 (30) hide show
  1. package/esm2022/src/lib/event/detail/add-event/add-event.component.mjs +59 -0
  2. package/esm2022/src/lib/event/detail/event-detail.component.mjs +94 -42
  3. package/esm2022/src/lib/event/procedure-association-modal/procedure-association-modal.component.mjs +2 -2
  4. package/esm2022/src/lib/event/public-api.mjs +2 -1
  5. package/esm2022/src/lib/general/i18n/fr.translations.mjs +10 -1
  6. package/esm2022/src/lib/hypervisor.module.mjs +8 -4
  7. package/esm2022/src/lib/model/event/hyp-event-detail.interface.mjs +3 -2
  8. package/esm2022/src/lib/model/event/hyp-event.interface.mjs +1 -1
  9. package/esm2022/src/lib/store/event/event.actions.mjs +2 -1
  10. package/esm2022/src/lib/store/event/event.effects.mjs +2 -1
  11. package/esm2022/src/lib/store/event/event.service.mjs +15 -1
  12. package/fesm2022/provoly-hypervisor.mjs +274 -146
  13. package/fesm2022/provoly-hypervisor.mjs.map +1 -1
  14. package/package.json +1 -1
  15. package/src/lib/event/detail/add-event/add-event.component.d.ts +21 -0
  16. package/src/lib/event/detail/event-detail.component.d.ts +14 -2
  17. package/src/lib/event/procedure-association-modal/procedure-association-modal.component.d.ts +1 -1
  18. package/src/lib/event/public-api.d.ts +1 -0
  19. package/src/lib/general/i18n/fr.translations.d.ts +9 -0
  20. package/src/lib/hypervisor.module.d.ts +10 -9
  21. package/src/lib/model/event/hyp-event-detail.interface.d.ts +1 -0
  22. package/src/lib/model/event/hyp-event.interface.d.ts +4 -0
  23. package/src/lib/model/procedure/hyp-procedure.interface.d.ts +1 -0
  24. package/src/lib/store/event/event.actions.d.ts +7 -0
  25. package/src/lib/store/event/event.effects.d.ts +7 -0
  26. package/src/lib/store/event/event.service.d.ts +2 -0
  27. package/styles/components/_index.scss +1 -0
  28. package/styles/components/_o-hvy-event-detail-add.scss +34 -0
  29. package/styles/components/_o-hvy-event-detail.scss +14 -0
  30. package/styles/components/_o-hvy-event-summary-list.scss +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/hypervisor",
3
- "version": "0.0.118",
3
+ "version": "0.0.119",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "16.x || 17.x",
6
6
  "@angular/common": "16.x || 17.x",
@@ -0,0 +1,21 @@
1
+ import { PryDialogRef } from '@provoly/dashboard';
2
+ import { Observable, Subject } from 'rxjs';
3
+ import { HypEventDetails } from '../../../model/event/hyp-event-detail.interface';
4
+ import { HypEventDetailsWithMatching } from '../event-detail.component';
5
+ import { EventService } from '../../../store/event/event.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class HvyEventAddEventComponent {
8
+ private dialog;
9
+ data: {};
10
+ private eventService;
11
+ onEventSearch$: Subject<void>;
12
+ eventSelectValue: string | HypEventDetails | undefined;
13
+ events$: Observable<HypEventDetailsWithMatching[]>;
14
+ eventToAdd?: HypEventDetails;
15
+ constructor(dialog: PryDialogRef<HvyEventAddEventComponent>, data: {}, eventService: EventService);
16
+ selectedEventChange($event: any): void;
17
+ closeModal(): void;
18
+ add(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<HvyEventAddEventComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<HvyEventAddEventComponent, "hvy-add-event", never, {}, {}, never, never, false, never>;
21
+ }
@@ -11,6 +11,7 @@ import { HypCommentsService } from '../../store/comments/comments.service';
11
11
  import { HypComment } from '../../model/comment.interface';
12
12
  import { HypServiceTooltip } from '../../model/event/hyp-event-tooltip.interface';
13
13
  import { HvyEventDetailsTooltipComponent } from './event-details-tooltip.component';
14
+ import { EventService } from '../../store/event/event.service';
14
15
  import * as i0 from "@angular/core";
15
16
  export type ChangeStatusContext = {
16
17
  comment: string;
@@ -21,6 +22,9 @@ export type ChangeStatusContext = {
21
22
  export interface HypEquipmentWithMatching extends HypEquipment {
22
23
  html: string;
23
24
  }
25
+ export interface HypEventDetailsWithMatching extends HypEventDetails {
26
+ html: string;
27
+ }
24
28
  export declare class EventDetailComponent extends SubscriptionnerDirective {
25
29
  private equipmentService;
26
30
  private store;
@@ -29,6 +33,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
29
33
  private i18nService;
30
34
  private pryDialog;
31
35
  private commentsService;
36
+ private eventService;
32
37
  opened: boolean[];
33
38
  criticalities: string[];
34
39
  _events: HypEventDetails[];
@@ -42,6 +47,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
42
47
  field: string;
43
48
  code: string;
44
49
  }[][]>;
50
+ addedEvent: EventEmitter<HypEventDetails>;
45
51
  errors: {
46
52
  field: string;
47
53
  code: string;
@@ -64,6 +70,9 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
64
70
  equipmentSelectValue: (string | HypEquipment | undefined)[];
65
71
  equipments$: Observable<HypEquipmentWithMatching[]>;
66
72
  detailHoverIcon: QueryList<ElementRef<PryIconComponent>>;
73
+ onEventSearch$: Subject<number>;
74
+ eventSelectValue: (string | HypEventDetails | undefined)[];
75
+ events$: Observable<HypEventDetailsWithMatching[]>;
67
76
  set events(events: HypEventDetails[]);
68
77
  set procedure(procedure: HypProcedure);
69
78
  set cancelModifications(evt: any);
@@ -71,7 +80,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
71
80
  index: number;
72
81
  equipmentName?: string;
73
82
  });
74
- constructor(equipmentService: EquipmentService, store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, i18nService: PryI18nService, pryDialog: PryDialogService, commentsService: HypCommentsService);
83
+ constructor(equipmentService: EquipmentService, store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, i18nService: PryI18nService, pryDialog: PryDialogService, commentsService: HypCommentsService, eventService: EventService);
75
84
  get events(): HypEventDetails[];
76
85
  get canAssociateProcedure(): boolean;
77
86
  get procedure(): HypProcedure | undefined;
@@ -91,6 +100,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
91
100
  eqEntity: boolean;
92
101
  startDate: boolean;
93
102
  endDate: boolean;
103
+ parent: boolean;
94
104
  };
95
105
  _outputModifications(): void;
96
106
  validateEvents(events: HypEventDetails[]): void;
@@ -125,6 +135,8 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
125
135
  private populateEquipment;
126
136
  tooltipRef?: PryDialogRef<HvyEventDetailsTooltipComponent>;
127
137
  toggleDetailsTooltip(idx: number): void;
138
+ selectedParentChange($event: string | HypEventDetails, index: number): void;
139
+ addOneEvent(): void;
128
140
  static ɵfac: i0.ɵɵFactoryDeclaration<EventDetailComponent, never>;
129
- static ɵcmp: i0.ɵɵComponentDeclaration<EventDetailComponent, "hvy-event-detail", never, { "title": { "alias": "title"; "required": false; }; "me": { "alias": "me"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readonlyProcedure": { "alias": "readonlyProcedure"; "required": false; }; "enableEditActions": { "alias": "enableEditActions"; "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"; "comfirmDialogOpened": "comfirmDialogOpened"; }, never, never, false, never>;
141
+ static ɵcmp: i0.ɵɵComponentDeclaration<EventDetailComponent, "hvy-event-detail", never, { "title": { "alias": "title"; "required": false; }; "me": { "alias": "me"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readonlyProcedure": { "alias": "readonlyProcedure"; "required": false; }; "enableEditActions": { "alias": "enableEditActions"; "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"; }, never, never, false, never>;
130
142
  }
@@ -14,7 +14,7 @@ export declare class ProcedureAssociationModalComponent extends SubscriptionnerD
14
14
  private dialog;
15
15
  selectedEvents$: Observable<HypEventDetails[]>;
16
16
  selectedDomain?: string;
17
- onDomainSelect$: Subject<void>;
17
+ onDomainSelect$: BehaviorSubject<void>;
18
18
  procedureSelectValue?: string | HypProcedureModel;
19
19
  onProcedureSearch$: Subject<void>;
20
20
  procedures$: Observable<HypProcedureModelWithMatching[]>;
@@ -1,5 +1,6 @@
1
1
  export * from './detail/event-detail.component';
2
2
  export * from './detail/event-details-tooltip.component';
3
+ export * from './detail/add-event/add-event.component';
3
4
  export * from './list/event-list.component';
4
5
  export * from './list/event-column-order.component';
5
6
  export * from './filters/on/click/event-filters.component';
@@ -91,6 +91,10 @@ export declare const frTranslations: {
91
91
  prm: string;
92
92
  presenceSensor: string;
93
93
  parent: string;
94
+ parentEvent: {
95
+ name: string;
96
+ placeholder: string;
97
+ };
94
98
  consult: string;
95
99
  entity: {
96
100
  NOTFOUND: string;
@@ -107,6 +111,11 @@ export declare const frTranslations: {
107
111
  export: {
108
112
  filename: string;
109
113
  };
114
+ add: {
115
+ title: string;
116
+ description: string;
117
+ search: string;
118
+ };
110
119
  };
111
120
  eventSummary: {
112
121
  from: string;
@@ -40,14 +40,15 @@ import * as i35 from "./general/display-locale-datetime/display-locale-datetime.
40
40
  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
- import * as i39 from "./general/procedure-actions/procedure-actions.component";
44
- import * as i40 from "@ngrx/store";
45
- import * as i41 from "@ngrx/effects";
46
- import * as i42 from "@angular/common";
47
- import * as i43 from "@provoly/dashboard";
48
- import * as i44 from "@provoly/dashboard/components/checkbox";
49
- import * as i45 from "@angular/forms";
50
- import * as i46 from "@angular/router";
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";
51
52
  export declare class PvyHypervisorModule {
52
53
  private baseConfig;
53
54
  private store;
@@ -59,6 +60,6 @@ export declare class PvyHypervisorModule {
59
60
  url: string;
60
61
  }, store: Store<any>, i18nService: PryI18nService);
61
62
  static ɵfac: i0.ɵɵFactoryDeclaration<PvyHypervisorModule, never>;
62
- 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.ProcedureActionsComponent], [typeof i40.StoreFeatureModule, typeof i40.StoreFeatureModule, typeof i40.StoreFeatureModule, typeof i40.StoreFeatureModule, typeof i41.EffectsFeatureModule, typeof i42.NgForOf, typeof i42.AsyncPipe, typeof i43.PryI18nModule, typeof i43.PryCoreModule, typeof i42.NgStyle, typeof i44.PryCheckboxModule, typeof i45.FormsModule, typeof i46.RouterLink, typeof i43.PrySinceDateModule, typeof i42.DatePipe, typeof i43.PryIconModule, typeof i42.KeyValuePipe, typeof i43.PrySelectModule, typeof i42.JsonPipe, typeof i43.PryDatePickerModule, typeof i42.NgIf, typeof i43.PryCoreModule, typeof i43.PryI18nModule, typeof i45.FormsModule], [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]>;
63
+ 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 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]>;
63
64
  static ɵinj: i0.ɵɵInjectorDeclaration<PvyHypervisorModule>;
64
65
  }
@@ -22,6 +22,7 @@ export interface HypEventDetails extends HypEvent {
22
22
  }
23
23
  export declare const eventForWriteAPI: (event: HypEventDetails) => {
24
24
  equipmentId: string | undefined;
25
+ parent: number | undefined;
25
26
  address: string;
26
27
  description: string;
27
28
  status: string;
@@ -4,4 +4,8 @@ export interface HypEvent {
4
4
  criticality: string;
5
5
  category: string;
6
6
  subCategory?: string;
7
+ parent?: {
8
+ id: number;
9
+ name: string;
10
+ };
7
11
  }
@@ -13,6 +13,7 @@ export interface HypProcedure {
13
13
  export declare const procedureForWriteAPI: (procedure: HypProcedure) => {
14
14
  events: {
15
15
  equipmentId: string | undefined;
16
+ parent: number | undefined;
16
17
  address: string;
17
18
  description: string;
18
19
  status: string;
@@ -84,6 +84,13 @@ export declare const EventActions: {
84
84
  }) => {
85
85
  procedure: HypProcedure;
86
86
  } & import("@ngrx/store/src/models").TypedAction<"[Event] Save Procedure and linked Events">>;
87
+ addEventToProcedure: import("@ngrx/store").ActionCreator<"[Event] Add event to procedure", (props: {
88
+ eventId: number;
89
+ procedure: HypProcedure;
90
+ }) => {
91
+ eventId: number;
92
+ procedure: HypProcedure;
93
+ } & import("@ngrx/store/src/models").TypedAction<"[Event] Add event to procedure">>;
87
94
  saveSuccess: import("@ngrx/store").ActionCreator<"[Event] Save success", (props: {
88
95
  event?: HypEventDetails | undefined;
89
96
  procedure?: HypProcedure | undefined;
@@ -43,6 +43,13 @@ export declare class EventEffects {
43
43
  } & import("@ngrx/store/src/models").TypedAction<"[Event] Save success">) | ({
44
44
  error: any;
45
45
  } & import("@ngrx/store/src/models").TypedAction<"[Event] Save failure">)> & import("@ngrx/effects").CreateEffectMetadata;
46
+ addEventToProcedure$: import("rxjs").Observable<({
47
+ event?: import("@provoly/hypervisor").HypEventDetails | undefined;
48
+ procedure?: import("@provoly/hypervisor").HypProcedure | undefined;
49
+ creation: boolean;
50
+ } & import("@ngrx/store/src/models").TypedAction<"[Event] Save success">) | ({
51
+ error: any;
52
+ } & import("@ngrx/store/src/models").TypedAction<"[Event] Save failure">)> & import("@ngrx/effects").CreateEffectMetadata;
46
53
  refreshAfterSave$: import("rxjs").Observable<({
47
54
  id: number;
48
55
  } & import("@ngrx/store/src/models").TypedAction<"[Event] Load specific Event">) | ({
@@ -22,10 +22,12 @@ export declare class EventService {
22
22
  getProcedure(id: number): Observable<HypProcedure>;
23
23
  save(event: HypEventDetails): Observable<HypEventDetails>;
24
24
  saveProcedure(procedure: HypProcedure): Observable<void>;
25
+ addEventToProcedure(eventId: number, procedure: HypProcedure): Observable<void>;
25
26
  status(event: HypEventDetails, status: string, comment: string): Observable<void>;
26
27
  statusProcedure(procedure: HypProcedure, status: string, comment: string): Observable<void>;
27
28
  associateProcedure(procedureId: number, eventIds: number[]): Observable<HypProcedure>;
28
29
  export(archived: boolean): Observable<import("@angular/common/http").HttpResponse<ArrayBuffer>>;
30
+ search(search: string | undefined): Observable<HypEventDetails[]>;
29
31
  static ɵfac: i0.ɵɵFactoryDeclaration<EventService, never>;
30
32
  static ɵprov: i0.ɵɵInjectableDeclaration<EventService>;
31
33
  }
@@ -21,3 +21,4 @@
21
21
  @use "./o-hvy-comments" as *;
22
22
  @use "./o-hvy-create-service" as *;
23
23
  @use "./o-hvy-last-events" as *;
24
+ @use "./o-hvy-event-detail-add" as *;
@@ -0,0 +1,34 @@
1
+ @use 'node_modules/@provoly/dashboard/styles/abstracts' as *;
2
+ @use 'node_modules/@provoly/dashboard/styles-theme/abstracts-theme/variables.theme' as *;
3
+
4
+ .o-hvy-event-detail-add {
5
+ background-color: white;
6
+ padding: toRem(15);
7
+ border-radius: toRem(15);
8
+ width: toRem(900);
9
+ display: flex;
10
+ flex-direction: column;
11
+ gap: toRem(10);
12
+
13
+ h3, p {
14
+ margin: auto;
15
+ }
16
+
17
+ &__container {
18
+ padding: toRem(10) toRem(100);
19
+
20
+ .a-pry-select__content {
21
+ input {
22
+ width: toRem(500);
23
+ }
24
+ }
25
+ }
26
+
27
+ &__buttons {
28
+ display: flex;
29
+ flex-direction: row;
30
+ gap: toRem(10);
31
+ justify-content: center;
32
+ }
33
+
34
+ }
@@ -38,6 +38,20 @@
38
38
  margin-right: toRem(20);
39
39
  }
40
40
  }
41
+
42
+ .add-button {
43
+ color: themed($theme-map, 'color', 'primary', 'contrast', 200);
44
+ background-color: themed($theme-map, 'color', 'primary', 750);
45
+ padding: 0;
46
+ border-radius: 50%;
47
+ margin: 0;
48
+ transform: translateY(toRem(5));
49
+ cursor: pointer;
50
+
51
+ pry-icon {
52
+ display: block;
53
+ }
54
+ }
41
55
  }
42
56
  }
43
57
 
@@ -95,6 +95,10 @@ hvy-event-summary-list {
95
95
  &:has(.-hvy-done) {
96
96
  border-top-color: themed($theme-map, 'color', 'graph', 05);
97
97
  }
98
+
99
+ a {
100
+ text-decoration: none;
101
+ }
98
102
  }
99
103
 
100
104
  .o-hvy-event-summary-list__header {