@provoly/hypervisor 0.0.116 → 0.0.118

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 (31) hide show
  1. package/esm2022/src/lib/event/detail/event-detail.component.mjs +65 -10
  2. package/esm2022/src/lib/event/detail/event-details-tooltip.component.mjs +19 -0
  3. package/esm2022/src/lib/event/public-api.mjs +2 -1
  4. package/esm2022/src/lib/event-summary/item/event-summary-item.component.mjs +3 -3
  5. package/esm2022/src/lib/general/display-date.function.mjs +4 -0
  6. package/esm2022/src/lib/general/i18n/fr.translations.mjs +5 -2
  7. package/esm2022/src/lib/general/last-events/last-events.component.mjs +26 -0
  8. package/esm2022/src/lib/general/public-api.mjs +3 -1
  9. package/esm2022/src/lib/hypervisor.module.mjs +12 -4
  10. package/esm2022/src/lib/procedure/model-list/procedure-list.component.mjs +3 -3
  11. package/esm2022/src/lib/store/equipment/equipment.service.mjs +1 -1
  12. package/esm2022/src/lib/store/event/event.actions.mjs +3 -2
  13. package/esm2022/src/lib/store/event/event.service.mjs +9 -1
  14. package/fesm2022/provoly-hypervisor.mjs +188 -78
  15. package/fesm2022/provoly-hypervisor.mjs.map +1 -1
  16. package/package.json +1 -1
  17. package/src/lib/event/detail/event-detail.component.d.ts +14 -4
  18. package/src/lib/event/detail/event-details-tooltip.component.d.ts +15 -0
  19. package/src/lib/event/public-api.d.ts +1 -0
  20. package/src/lib/general/display-date.function.d.ts +1 -0
  21. package/src/lib/general/i18n/fr.translations.d.ts +3 -0
  22. package/src/lib/general/last-events/last-events.component.d.ts +11 -0
  23. package/src/lib/general/public-api.d.ts +2 -0
  24. package/src/lib/hypervisor.module.d.ts +11 -9
  25. package/src/lib/store/equipment/equipment.service.d.ts +2 -1
  26. package/src/lib/store/event/event.actions.d.ts +5 -0
  27. package/src/lib/store/event/event.service.d.ts +1 -0
  28. package/styles/components/_index.scss +1 -0
  29. package/styles/components/_o-hvy-event-detail.scss +26 -0
  30. package/styles/components/_o-hvy-last-events.scss +74 -0
  31. package/styles/components/_o-hvy-procedure-list.scss +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/hypervisor",
3
- "version": "0.0.116",
3
+ "version": "0.0.118",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "16.x || 17.x",
6
6
  "@angular/common": "16.x || 17.x",
@@ -1,7 +1,7 @@
1
- import { EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { ElementRef, EventEmitter, QueryList, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { HypProcedure } from '../../model/procedure/hyp-procedure.interface';
3
3
  import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
4
- import { PryDialogService, PryI18nService, SubscriptionnerDirective } from '@provoly/dashboard';
4
+ import { PryDialogRef, PryDialogService, PryI18nService, PryIconComponent, SubscriptionnerDirective } from '@provoly/dashboard';
5
5
  import { HypEquipment } from '../../model/hyp-equipment.interface';
6
6
  import { EquipmentService } from '../../store/equipment/equipment.service';
7
7
  import { Store } from '@ngrx/store';
@@ -9,6 +9,8 @@ import { Overlay, OverlayRef } from '@angular/cdk/overlay';
9
9
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
10
10
  import { HypCommentsService } from '../../store/comments/comments.service';
11
11
  import { HypComment } from '../../model/comment.interface';
12
+ import { HypServiceTooltip } from '../../model/event/hyp-event-tooltip.interface';
13
+ import { HvyEventDetailsTooltipComponent } from './event-details-tooltip.component';
12
14
  import * as i0 from "@angular/core";
13
15
  export type ChangeStatusContext = {
14
16
  comment: string;
@@ -58,9 +60,10 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
58
60
  comments$?: Observable<{
59
61
  [p: number]: HypComment[];
60
62
  }>;
61
- onEquipmentSearch$: Subject<void>;
62
- equipmentSelectValue?: string | HypEquipment;
63
+ onEquipmentSearch$: Subject<number>;
64
+ equipmentSelectValue: (string | HypEquipment | undefined)[];
63
65
  equipments$: Observable<HypEquipmentWithMatching[]>;
66
+ detailHoverIcon: QueryList<ElementRef<PryIconComponent>>;
64
67
  set events(events: HypEventDetails[]);
65
68
  set procedure(procedure: HypProcedure);
66
69
  set cancelModifications(evt: any);
@@ -115,6 +118,13 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
115
118
  message: string;
116
119
  }): void;
117
120
  selectedEquipmentChange($event: string | HypEquipment, index: number): void;
121
+ equipmentsEvents: {
122
+ events?: HypEventDetails[];
123
+ services?: HypServiceTooltip[];
124
+ }[];
125
+ private populateEquipment;
126
+ tooltipRef?: PryDialogRef<HvyEventDetailsTooltipComponent>;
127
+ toggleDetailsTooltip(idx: number): void;
118
128
  static ɵfac: i0.ɵɵFactoryDeclaration<EventDetailComponent, never>;
119
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>;
120
130
  }
@@ -0,0 +1,15 @@
1
+ import { HypServiceTooltip } from '../../model/event/hyp-event-tooltip.interface';
2
+ import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
3
+ import * as i0 from "@angular/core";
4
+ export declare class HvyEventDetailsTooltipComponent {
5
+ data: {
6
+ events: HypEventDetails[];
7
+ services: HypServiceTooltip[];
8
+ };
9
+ constructor(data: {
10
+ events: HypEventDetails[];
11
+ services: HypServiceTooltip[];
12
+ });
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<HvyEventDetailsTooltipComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<HvyEventDetailsTooltipComponent, "hvy-event-detail-tooltip", never, {}, {}, never, never, false, never>;
15
+ }
@@ -1,4 +1,5 @@
1
1
  export * from './detail/event-detail.component';
2
+ export * from './detail/event-details-tooltip.component';
2
3
  export * from './list/event-list.component';
3
4
  export * from './list/event-column-order.component';
4
5
  export * from './filters/on/click/event-filters.component';
@@ -0,0 +1 @@
1
+ export declare const displayDate: (endDate: string) => string;
@@ -104,6 +104,9 @@ export declare const frTranslations: {
104
104
  heads: string;
105
105
  };
106
106
  equipmentPlaceholder: string;
107
+ export: {
108
+ filename: string;
109
+ };
107
110
  };
108
111
  eventSummary: {
109
112
  from: string;
@@ -0,0 +1,11 @@
1
+ import { SubscriptionnerDirective } from '@provoly/dashboard';
2
+ import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
3
+ import { HypServiceTooltip } from '../../model/event/hyp-event-tooltip.interface';
4
+ import * as i0 from "@angular/core";
5
+ export declare class LastEventsComponent extends SubscriptionnerDirective {
6
+ protected readonly displayDate: (endDate: string) => string;
7
+ services: HypServiceTooltip[];
8
+ events: HypEventDetails[];
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<LastEventsComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<LastEventsComponent, "hvy-last-events", never, { "services": { "alias": "services"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, {}, never, never, false, never>;
11
+ }
@@ -11,6 +11,7 @@ export * from './progress-display/progress-display.component';
11
11
  export * from './column-order/column-order.component';
12
12
  export * from './comments/comments.component';
13
13
  export * from './pad-id.function';
14
+ export * from './last-events/last-events.component';
14
15
  export * from './procedure-actions/actions-types.constant';
15
16
  export * from './procedure-actions/action-menu.component';
16
17
  export * from './procedure-actions/procedure-actions.component';
@@ -26,3 +27,4 @@ export * from './procedure-actions/action-parameters/email/email-action-display.
26
27
  export * from './procedure-actions/action-parameters/service/service-action-parameter.component';
27
28
  export * from './procedure-actions/action-parameters/service/service-action-display.component';
28
29
  export * from './procedure-actions/action-parameters/service/create-service.component';
30
+ export * from './display-date.function';
@@ -38,14 +38,16 @@ import * as i33 from "./general/procedure-actions/action-parameters/service/serv
38
38
  import * as i34 from "./general/procedure-actions/action-parameters/service/service-action-display.component";
39
39
  import * as i35 from "./general/display-locale-datetime/display-locale-datetime.pipe";
40
40
  import * as i36 from "./general/comments/comments.component";
41
- import * as i37 from "./general/procedure-actions/procedure-actions.component";
42
- import * as i38 from "@ngrx/store";
43
- import * as i39 from "@ngrx/effects";
44
- import * as i40 from "@angular/common";
45
- import * as i41 from "@provoly/dashboard";
46
- import * as i42 from "@provoly/dashboard/components/checkbox";
47
- import * as i43 from "@angular/forms";
48
- import * as i44 from "@angular/router";
41
+ import * as i37 from "./general/last-events/last-events.component";
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";
49
51
  export declare class PvyHypervisorModule {
50
52
  private baseConfig;
51
53
  private store;
@@ -57,6 +59,6 @@ export declare class PvyHypervisorModule {
57
59
  url: string;
58
60
  }, store: Store<any>, i18nService: PryI18nService);
59
61
  static ɵfac: i0.ɵɵFactoryDeclaration<PvyHypervisorModule, never>;
60
- 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.ProcedureActionsComponent], [typeof i38.StoreFeatureModule, typeof i38.StoreFeatureModule, typeof i38.StoreFeatureModule, typeof i38.StoreFeatureModule, typeof i39.EffectsFeatureModule, typeof i40.NgForOf, typeof i40.AsyncPipe, typeof i41.PryI18nModule, typeof i41.PryCoreModule, typeof i40.NgStyle, typeof i42.PryCheckboxModule, typeof i43.FormsModule, typeof i44.RouterLink, typeof i41.PrySinceDateModule, typeof i40.DatePipe, typeof i41.PryIconModule, typeof i40.KeyValuePipe, typeof i41.PrySelectModule, typeof i40.JsonPipe, typeof i41.PryDatePickerModule, typeof i40.NgIf, typeof i41.PryCoreModule, typeof i41.PryI18nModule, typeof i43.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]>;
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]>;
61
63
  static ɵinj: i0.ɵɵInjectorDeclaration<PvyHypervisorModule>;
62
64
  }
@@ -2,12 +2,13 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Store } from '@ngrx/store';
4
4
  import { HypEquipment } from '../../model/hyp-equipment.interface';
5
+ import { HypEventTooltipBase } from '../../model/event/hyp-event-tooltip.interface';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class EquipmentService {
7
8
  private httpClient;
8
9
  private store;
9
10
  constructor(httpClient: HttpClient, store: Store<any>);
10
- findByName(name: string): Observable<HypEquipment>;
11
+ findByName(name: string): Observable<HypEventTooltipBase>;
11
12
  list(): Observable<HypEquipment[]>;
12
13
  search(search: string | undefined): Observable<HypEquipment[]>;
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<EquipmentService, never>;
@@ -145,4 +145,9 @@ export declare const EventActions: {
145
145
  }) => {
146
146
  error: string;
147
147
  } & import("@ngrx/store/src/models").TypedAction<"[Event] Associate Procedure to Event Failure">>;
148
+ export: import("@ngrx/store").ActionCreator<"[Event] Export events", (props: {
149
+ archived: boolean;
150
+ }) => {
151
+ archived: boolean;
152
+ } & import("@ngrx/store/src/models").TypedAction<"[Event] Export events">>;
148
153
  };
@@ -25,6 +25,7 @@ export declare class EventService {
25
25
  status(event: HypEventDetails, status: string, comment: string): Observable<void>;
26
26
  statusProcedure(procedure: HypProcedure, status: string, comment: string): Observable<void>;
27
27
  associateProcedure(procedureId: number, eventIds: number[]): Observable<HypProcedure>;
28
+ export(archived: boolean): Observable<import("@angular/common/http").HttpResponse<ArrayBuffer>>;
28
29
  static ɵfac: i0.ɵɵFactoryDeclaration<EventService, never>;
29
30
  static ɵprov: i0.ɵɵInjectableDeclaration<EventService>;
30
31
  }
@@ -20,3 +20,4 @@
20
20
  @use "./o-hvy-action-menu" as *;
21
21
  @use "./o-hvy-comments" as *;
22
22
  @use "./o-hvy-create-service" as *;
23
+ @use "./o-hvy-last-events" as *;
@@ -130,6 +130,24 @@
130
130
  input.a-pry-select__search {
131
131
  height: toRem(16);
132
132
  width: toRem(250);
133
+
134
+ &[disabled]::placeholder {
135
+ color: #859DB6;
136
+ }
137
+ }
138
+ }
139
+
140
+ &__tooltip {
141
+ display: flex;
142
+ flex-direction: row;
143
+
144
+ *:first-child {
145
+ flex: 1;
146
+ }
147
+
148
+ pry-icon {
149
+ position: relative;
150
+ width: 0;
133
151
  }
134
152
  }
135
153
  }
@@ -248,3 +266,11 @@
248
266
  .a-pry-select__options__option {
249
267
  min-height: toRem(35);
250
268
  }
269
+
270
+ .o-hvy-event-detail-tooltip {
271
+ background-color: white;
272
+ padding: toRem(15);
273
+ border-radius: toRem(5);
274
+ box-shadow: 1px 3px 6px #DDDDDD, -1px 3px 6px #DDDDDD;
275
+ width: toRem(400);
276
+ }
@@ -0,0 +1,74 @@
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-last-events {
5
+ &__events {
6
+ &__item {
7
+ font-size: toRem(12);
8
+ display: grid;
9
+ grid-template-areas: "icon title status"
10
+ "icon descr status";
11
+ grid-template-columns: toRem(40) auto toRem(80);
12
+
13
+ &__icon {
14
+ grid-area: icon;
15
+ display: flex;
16
+ }
17
+
18
+ &__title {
19
+ grid-area: title;
20
+ font-weight: bold;
21
+ }
22
+
23
+ &__status {
24
+ grid-area: status;
25
+ }
26
+
27
+ &__descr {
28
+ grid-area: descr;
29
+ }
30
+ }
31
+ }
32
+
33
+ &__services {
34
+ &__item {
35
+ font-size: toRem(12);
36
+ display: grid;
37
+ grid-template-areas: "icon title status"
38
+ "icon descr status"
39
+ "icon date status";
40
+ grid-template-columns: toRem(40) auto toRem(80);
41
+ padding: toRem(5);
42
+
43
+ &__icon {
44
+ grid-area: icon;
45
+ display: flex;
46
+
47
+ pry-icon {
48
+ display: inline-block;
49
+ background-color: #71E4EB;
50
+ border-radius: 50%;
51
+ width: toRem(25);
52
+ height: toRem(25);
53
+ }
54
+ }
55
+
56
+ &__title {
57
+ grid-area: title;
58
+ font-weight: bold;
59
+ }
60
+
61
+ &__status {
62
+ grid-area: status;
63
+ }
64
+
65
+ &__descr {
66
+ grid-area: descr;
67
+ }
68
+
69
+ &__date {
70
+ grid-area: date;
71
+ }
72
+ }
73
+ }
74
+ }
@@ -17,16 +17,17 @@
17
17
  text-align: left;
18
18
  }
19
19
 
20
+ .o-hvy-events-table__line__cell:nth-child(1),
20
21
  .o-hvy-events-table__line__cell:nth-child(3),
21
- .o-hvy-events-table__line__cell:nth-child(4),
22
22
  .o-hvy-events-table__line__cell:nth-child(5),
23
23
  .o-hvy-events-table__line__cell:nth-child(6),
24
24
  .o-hvy-events-table__line__cell:nth-child(7) {
25
25
  width: 14%;
26
26
  text-align: left;
27
27
  }
28
- .o-hvy-events-table__line__cell:nth-child(1),
29
- .o-hvy-events-table__line__cell:nth-child(8){
28
+
29
+ .o-hvy-events-table__line__cell:nth-child(4),
30
+ .o-hvy-events-table__line__cell:nth-child(8) {
30
31
  width: toRem(100);
31
32
  text-align: center;
32
33
  }