@provoly/hypervisor 0.0.14 → 0.0.16

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/assets/svgs/event_filter.svg +5 -0
  2. package/assets/svgs/reset_filter_event.svg +13 -0
  3. package/esm2022/src/lib/event/detail/event-detail.component.mjs +25 -5
  4. package/esm2022/src/lib/event/filters/choice/choice-filter.component.mjs +141 -0
  5. package/esm2022/src/lib/event/filters/date/date-filter.component.mjs +38 -0
  6. package/esm2022/src/lib/event/filters/event-filters.component.mjs +31 -0
  7. package/esm2022/src/lib/event/filters/hvy-unit-filter.class.mjs +13 -0
  8. package/esm2022/src/lib/event/list/event-list.component.mjs +20 -4
  9. package/esm2022/src/lib/event/public-api.mjs +4 -1
  10. package/esm2022/src/lib/event-summary/list/event-summary-list.component.mjs +3 -3
  11. package/esm2022/src/lib/event-summary/page/event-summary-page.component.mjs +11 -7
  12. package/esm2022/src/lib/general/i18n/en.translations.mjs +16 -3
  13. package/esm2022/src/lib/general/i18n/fr.translations.mjs +19 -12
  14. package/esm2022/src/lib/hypervisor.module.mjs +22 -7
  15. package/esm2022/src/lib/model/event/hyp-event-category.type.mjs +6 -4
  16. package/esm2022/src/lib/store/event/event.effects.mjs +2 -2
  17. package/esm2022/src/lib/store/event/event.reducer.mjs +6 -4
  18. package/esm2022/src/lib/store/event/event.service.mjs +2 -2
  19. package/fesm2022/provoly-hypervisor.mjs +326 -48
  20. package/fesm2022/provoly-hypervisor.mjs.map +1 -1
  21. package/package.json +1 -1
  22. package/src/lib/event/detail/event-detail.component.d.ts +2 -0
  23. package/src/lib/event/filters/choice/choice-filter.component.d.ts +54 -0
  24. package/src/lib/event/filters/date/date-filter.component.d.ts +14 -0
  25. package/src/lib/event/filters/event-filters.component.d.ts +14 -0
  26. package/src/lib/event/filters/hvy-unit-filter.class.d.ts +9 -0
  27. package/src/lib/event/list/event-list.component.d.ts +4 -0
  28. package/src/lib/event/public-api.d.ts +3 -0
  29. package/src/lib/event-summary/page/event-summary-page.component.d.ts +11 -3
  30. package/src/lib/general/i18n/en.translations.d.ts +15 -2
  31. package/src/lib/general/i18n/fr.translations.d.ts +7 -0
  32. package/src/lib/hypervisor.module.d.ts +12 -9
  33. package/src/lib/model/event/hyp-event-category.type.d.ts +3 -1
  34. package/src/lib/store/event/event.reducer.d.ts +2 -3
  35. package/src/lib/store/event/event.selectors.d.ts +1 -5
  36. package/styles/components/_index.scss +1 -0
  37. package/styles/components/_m-hvy-event-summary-item.scss +2 -0
  38. package/styles/components/_o-hvy-event-detail.scss +5 -4
  39. package/styles/components/_o-hvy-event-filters.scss +77 -0
  40. package/styles/components/_o-hvy-event-summary-list.scss +32 -18
  41. package/styles/components/_o-hvy-events-table.scss +17 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/hypervisor",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "16.x || 17.x",
6
6
  "@angular/common": "16.x || 17.x",
@@ -25,6 +25,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
25
25
  field: string;
26
26
  code: string;
27
27
  }[][];
28
+ canCloseSome: boolean;
28
29
  set events(events: HypEventDetails[]);
29
30
  set procedure(procedure: HypProcedure);
30
31
  set cancelModifications(evt: any);
@@ -40,6 +41,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
40
41
  description: boolean;
41
42
  address: boolean;
42
43
  source: boolean;
44
+ domain: boolean;
43
45
  eqName: boolean;
44
46
  eqEntity: boolean;
45
47
  startDate: boolean;
@@ -0,0 +1,54 @@
1
+ import { AfterViewInit, ElementRef, TemplateRef, ViewContainerRef, WritableSignal } from '@angular/core';
2
+ import { HvyFilterParams, HvyUnitFilterComponent } from '../hvy-unit-filter.class';
3
+ import { Store } from '@ngrx/store';
4
+ import { Overlay, OverlayRef } from '@angular/cdk/overlay';
5
+ import { PryI18nService } from '@provoly/dashboard';
6
+ import * as i0 from "@angular/core";
7
+ export type HvyChoiceFilter = {
8
+ key: string;
9
+ children?: {
10
+ key: string;
11
+ }[];
12
+ }[];
13
+ export declare class ChoiceFilterComponent extends HvyUnitFilterComponent implements AfterViewInit {
14
+ private store;
15
+ private overlay;
16
+ private viewContainerRef;
17
+ private i18nService;
18
+ private ref;
19
+ static idCounter: number;
20
+ id: number;
21
+ prop: string;
22
+ label: string;
23
+ i18nPrefix: string;
24
+ value: WritableSignal<string[]>;
25
+ choices: HvyChoiceFilter;
26
+ overlayRef?: OverlayRef;
27
+ template: TemplateRef<any>;
28
+ inhibate: boolean;
29
+ displayValue: import("@angular/core").Signal<string>;
30
+ constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, i18nService: PryI18nService, ref: ElementRef);
31
+ ngAfterViewInit(): void;
32
+ getParams(): HvyFilterParams;
33
+ reset(): void;
34
+ toggleModal(): void;
35
+ clickAll(): void;
36
+ toggle(elt: {
37
+ key: string;
38
+ children?: {
39
+ key: string;
40
+ }[];
41
+ }): void;
42
+ allSelected(): boolean;
43
+ isSelected(choice: {
44
+ key: string;
45
+ children?: {
46
+ key: string;
47
+ }[];
48
+ }): boolean;
49
+ allValues(): string[];
50
+ assignValue(value: string[]): void;
51
+ private triggerInhibate;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChoiceFilterComponent, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChoiceFilterComponent, "hvy-choice-filter", never, { "prop": { "alias": "prop"; "required": false; }; "label": { "alias": "label"; "required": false; }; "i18nPrefix": { "alias": "i18nPrefix"; "required": false; }; "choices": { "alias": "choices"; "required": false; }; }, {}, never, never, false, never>;
54
+ }
@@ -0,0 +1,14 @@
1
+ import { HvyFilterParams, HvyUnitFilterComponent } from '../hvy-unit-filter.class';
2
+ import { Store } from '@ngrx/store';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DateFilterComponent extends HvyUnitFilterComponent {
5
+ private store;
6
+ prop: string;
7
+ value: string;
8
+ constructor(store: Store);
9
+ getParams(): HvyFilterParams;
10
+ reset(): void;
11
+ triggerChange($event: Event): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateFilterComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateFilterComponent, "hvy-date-filter", never, { "prop": { "alias": "prop"; "required": false; }; }, {}, never, never, false, never>;
14
+ }
@@ -0,0 +1,14 @@
1
+ import { QueryList } from '@angular/core';
2
+ import { SubscriptionnerDirective } from '@provoly/dashboard';
3
+ import { HvyUnitFilterComponent } from './hvy-unit-filter.class';
4
+ import { Store } from '@ngrx/store';
5
+ import * as i0 from "@angular/core";
6
+ export declare class EventFiltersComponent extends SubscriptionnerDirective {
7
+ private store;
8
+ filters: QueryList<HvyUnitFilterComponent>;
9
+ constructor(store: Store);
10
+ filter(): void;
11
+ reset(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<EventFiltersComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<EventFiltersComponent, "hvy-event-filters", never, {}, {}, ["filters"], ["*"], false, never>;
14
+ }
@@ -0,0 +1,9 @@
1
+ import { SubscriptionnerDirective } from '@provoly/dashboard';
2
+ export type HvyFilterParams = {
3
+ [key: string]: string[];
4
+ };
5
+ export declare class HvyUnitFilterComponent extends SubscriptionnerDirective {
6
+ constructor();
7
+ getParams(): HvyFilterParams;
8
+ reset(): void;
9
+ }
@@ -17,9 +17,13 @@ export declare class EventListComponent extends SubscriptionnerDirective impleme
17
17
  fn: (event: HypEventDetails | HypEventSummary, store: Store<any>) => string[];
18
18
  };
19
19
  _store: Store<any>;
20
+ allSelected$: Observable<boolean>;
21
+ _inhibate: boolean;
20
22
  constructor(store: Store<any>, el: ElementRef);
21
23
  ngAfterViewInit(): void;
22
24
  select(event: HypEventDetails, $event: MouseEvent): void;
25
+ selectAll($event: any): void;
26
+ inhibate(): void;
23
27
  static ɵfac: i0.ɵɵFactoryDeclaration<EventListComponent, never>;
24
28
  static ɵcmp: i0.ɵɵComponentDeclaration<EventListComponent, "hvy-event-list", never, {}, {}, never, ["*"], false, never>;
25
29
  }
@@ -1,2 +1,5 @@
1
1
  export * from './detail/event-detail.component';
2
2
  export * from './list/event-list.component';
3
+ export * from './filters/event-filters.component';
4
+ export * from './filters/date/date-filter.component';
5
+ export * from './filters/choice/choice-filter.component';
@@ -1,17 +1,25 @@
1
1
  import { Store } from '@ngrx/store';
2
- import { HypEventSummaries } from '../../model/event/hyp-event-summary.interface';
2
+ import { HypEventSummaries, HypEventSummary } from '../../model/event/hyp-event-summary.interface';
3
3
  import { Observable } from 'rxjs';
4
4
  import { SubscriptionnerDirective } from '@provoly/dashboard';
5
+ import { KeyValue } from '@angular/common';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class EventSummaryPageComponent extends SubscriptionnerDirective {
7
8
  private store;
8
9
  pageTitle: string;
10
+ consultLink: string[];
9
11
  summaries: HypEventSummaries;
10
12
  selectedCriticality$: Observable<string | undefined>;
11
13
  criticalityList: string[];
12
14
  constructor(store: Store<any>);
13
15
  filterByCriticality($event: string): void;
14
- asIsOrder(): number;
16
+ criticalityOrder: (a: KeyValue<string, {
17
+ events: HypEventSummary[];
18
+ count: number;
19
+ }>, b: KeyValue<string, {
20
+ events: HypEventSummary[];
21
+ count: number;
22
+ }>) => number;
15
23
  static ɵfac: i0.ɵɵFactoryDeclaration<EventSummaryPageComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<EventSummaryPageComponent, "hvy-event-summary-page", never, { "pageTitle": { "alias": "pageTitle"; "required": false; }; }, {}, never, never, false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<EventSummaryPageComponent, "hvy-event-summary-page", never, { "pageTitle": { "alias": "pageTitle"; "required": false; }; "consultLink": { "alias": "consultLink"; "required": false; }; }, {}, never, never, false, never>;
17
25
  }
@@ -1,7 +1,6 @@
1
1
  export declare const enTranslations: {
2
2
  '@hvy': {
3
3
  event: {
4
- criticality: string;
5
4
  name: string;
6
5
  type: {
7
6
  name: string;
@@ -50,12 +49,25 @@ export declare const enTranslations: {
50
49
  };
51
50
  };
52
51
  category: {
53
- ALERT: string;
52
+ name: string;
53
+ ALERT_MALFUNCTION: string;
54
54
  REPORT: string;
55
55
  OPERATOR_EVENT: string;
56
56
  ALERT_LIMIT: string;
57
57
  MANIFESTATION: string;
58
58
  };
59
+ criticality: {
60
+ name: string;
61
+ LOW: string;
62
+ MEDIUM: string;
63
+ HIGH: string;
64
+ };
65
+ filter: {
66
+ name: string;
67
+ choice: {
68
+ all: string;
69
+ };
70
+ };
59
71
  };
60
72
  eventSummary: {
61
73
  noContent: string;
@@ -79,6 +91,7 @@ export declare const enTranslations: {
79
91
  consult: string;
80
92
  close: string;
81
93
  send: string;
94
+ comment: string;
82
95
  };
83
96
  };
84
97
  };
@@ -64,6 +64,12 @@ export declare const frTranslations: {
64
64
  MEDIUM: string;
65
65
  HIGH: string;
66
66
  };
67
+ filter: {
68
+ name: string;
69
+ choice: {
70
+ all: string;
71
+ };
72
+ };
67
73
  };
68
74
  eventSummary: {
69
75
  noContent: string;
@@ -87,6 +93,7 @@ export declare const frTranslations: {
87
93
  consult: string;
88
94
  close: string;
89
95
  send: string;
96
+ comment: string;
90
97
  };
91
98
  };
92
99
  };
@@ -13,14 +13,17 @@ import * as i8 from "./general/for-datetime-local-pipe/for-datetime-local.pipe";
13
13
  import * as i9 from "./general/status-display/status-display.component";
14
14
  import * as i10 from "./general/progress-display/progress-display.component";
15
15
  import * as i11 from "./general/column-order/column-order.component";
16
- import * as i12 from "@ngrx/store";
17
- import * as i13 from "@ngrx/effects";
18
- import * as i14 from "@angular/common";
19
- import * as i15 from "@provoly/dashboard";
20
- import * as i16 from "@provoly/dashboard/components/checkbox";
21
- import * as i17 from "@angular/forms";
22
- import * as i18 from "@angular/router";
23
- import * as i19 from "@provoly/dashboard/components/sinceDate";
16
+ import * as i12 from "./event/filters/event-filters.component";
17
+ import * as i13 from "./event/filters/date/date-filter.component";
18
+ import * as i14 from "./event/filters/choice/choice-filter.component";
19
+ import * as i15 from "@ngrx/store";
20
+ import * as i16 from "@ngrx/effects";
21
+ import * as i17 from "@angular/common";
22
+ import * as i18 from "@provoly/dashboard";
23
+ import * as i19 from "@provoly/dashboard/components/checkbox";
24
+ import * as i20 from "@angular/forms";
25
+ import * as i21 from "@angular/router";
26
+ import * as i22 from "@provoly/dashboard/components/sinceDate";
24
27
  export declare class PvyHypervisorModule {
25
28
  private baseConfig;
26
29
  private store;
@@ -32,6 +35,6 @@ export declare class PvyHypervisorModule {
32
35
  url: string;
33
36
  }, store: Store<any>, i18nService: PryI18nService);
34
37
  static ɵfac: i0.ɵɵFactoryDeclaration<PvyHypervisorModule, never>;
35
- static ɵmod: i0.ɵɵNgModuleDeclaration<PvyHypervisorModule, [typeof i1.EventDetailComponent, typeof i2.EventListComponent, typeof i3.IconDisplayComponent, typeof i4.EventSummaryItemComponent, typeof i5.EventSummaryListComponent, typeof i6.EventSummaryPageComponent, typeof i7.EventIconPipe, typeof i8.ForDatetimeLocalPipe, typeof i9.StatusDisplayComponent, typeof i10.ProgressDisplayComponent, typeof i11.ColumnOrderComponent], [typeof i12.StoreFeatureModule, typeof i12.StoreFeatureModule, typeof i12.StoreFeatureModule, typeof i13.EffectsFeatureModule, typeof i14.NgForOf, typeof i14.AsyncPipe, typeof i15.PryI18nModule, typeof i15.PryCoreModule, typeof i14.AsyncPipe, typeof i15.PryCoreModule, typeof i14.NgStyle, typeof i16.PryCheckboxModule, typeof i17.FormsModule, typeof i18.RouterLink, typeof i19.PrySinceDateModule, typeof i14.DatePipe, typeof i15.PryIconModule, typeof i14.KeyValuePipe, typeof i15.PrySelectModule, typeof i17.FormsModule, typeof i14.JsonPipe, typeof i15.PryDatePickerModule, typeof i15.PryI18nModule, typeof i15.PryIconModule], [typeof i1.EventDetailComponent, typeof i2.EventListComponent, typeof i3.IconDisplayComponent, typeof i4.EventSummaryItemComponent, typeof i5.EventSummaryListComponent, typeof i6.EventSummaryPageComponent, typeof i7.EventIconPipe, typeof i8.ForDatetimeLocalPipe, typeof i9.StatusDisplayComponent, typeof i10.ProgressDisplayComponent, typeof i11.ColumnOrderComponent]>;
38
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PvyHypervisorModule, [typeof i1.EventDetailComponent, typeof i2.EventListComponent, typeof i3.IconDisplayComponent, typeof i4.EventSummaryItemComponent, typeof i5.EventSummaryListComponent, typeof i6.EventSummaryPageComponent, typeof i7.EventIconPipe, typeof i8.ForDatetimeLocalPipe, typeof i9.StatusDisplayComponent, typeof i10.ProgressDisplayComponent, typeof i11.ColumnOrderComponent, typeof i12.EventFiltersComponent, typeof i13.DateFilterComponent, typeof i14.ChoiceFilterComponent], [typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i16.EffectsFeatureModule, typeof i17.NgForOf, typeof i17.AsyncPipe, typeof i18.PryI18nModule, typeof i18.PryCoreModule, typeof i17.AsyncPipe, typeof i18.PryCoreModule, typeof i17.NgStyle, typeof i19.PryCheckboxModule, typeof i20.FormsModule, typeof i21.RouterLink, typeof i22.PrySinceDateModule, typeof i17.DatePipe, typeof i18.PryIconModule, typeof i17.KeyValuePipe, typeof i18.PrySelectModule, typeof i20.FormsModule, typeof i17.JsonPipe, typeof i18.PryDatePickerModule, typeof i18.PryI18nModule, typeof i18.PryIconModule, typeof i18.PryI18nModule], [typeof i1.EventDetailComponent, typeof i2.EventListComponent, typeof i3.IconDisplayComponent, typeof i4.EventSummaryItemComponent, typeof i5.EventSummaryListComponent, typeof i6.EventSummaryPageComponent, typeof i7.EventIconPipe, typeof i8.ForDatetimeLocalPipe, typeof i9.StatusDisplayComponent, typeof i10.ProgressDisplayComponent, typeof i11.ColumnOrderComponent, typeof i12.EventFiltersComponent, typeof i13.DateFilterComponent, typeof i14.ChoiceFilterComponent]>;
36
39
  static ɵinj: i0.ɵɵInjectorDeclaration<PvyHypervisorModule>;
37
40
  }
@@ -2,5 +2,7 @@ export declare const HypEventCategory: {
2
2
  values: string[];
3
3
  };
4
4
  export declare const CATEGORIES_BY_TYPE: {
5
- [type: string]: string[];
5
+ values: {
6
+ [type: string]: string[];
7
+ };
6
8
  };
@@ -1,14 +1,13 @@
1
1
  import { Action } from '@ngrx/store';
2
2
  import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
3
3
  import { HypProcedure } from '../../model/hyp-procedure.interface';
4
+ import { HvyFilterParams } from '../../event/filters/hvy-unit-filter.class';
4
5
  export declare const eventFeatureKey = "@hvy/event";
5
6
  export interface EventState {
6
7
  events: HypEventDetails[];
7
8
  noMoreEvents: boolean;
8
9
  loading: boolean;
9
- filters: {
10
- [key: string]: string[];
11
- };
10
+ filters: HvyFilterParams;
12
11
  selectedIds: string[];
13
12
  details: {
14
13
  event?: HypEventDetails;
@@ -4,11 +4,7 @@ export declare const EventSelectors: {
4
4
  events: import("@ngrx/store").MemoizedSelector<object, import("@provoly/hypervisor").HypEventDetails[], (s1: EventState) => import("@provoly/hypervisor").HypEventDetails[]>;
5
5
  selectedIds: import("@ngrx/store").MemoizedSelector<object, string[], (s1: EventState) => string[]>;
6
6
  loading: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: EventState) => boolean>;
7
- filters: import("@ngrx/store").MemoizedSelector<object, {
8
- [key: string]: string[];
9
- }, (s1: EventState) => {
10
- [key: string]: string[];
11
- }>;
7
+ filters: import("@ngrx/store").MemoizedSelector<object, import("../../event/filters/hvy-unit-filter.class").HvyFilterParams, (s1: EventState) => import("../../event/filters/hvy-unit-filter.class").HvyFilterParams>;
12
8
  details: import("@ngrx/store").MemoizedSelector<object, {
13
9
  event?: import("@provoly/hypervisor").HypEventDetails | undefined;
14
10
  procedure?: import("@provoly/hypervisor").HypProcedure | undefined;
@@ -11,3 +11,4 @@
11
11
  @use "./o-hvy-events-table" as *;
12
12
  @use "./o-progressbar" as *;
13
13
  @use "./o-hvy-column-order" as *;
14
+ @use "./o-hvy-event-filters" as *;
@@ -6,6 +6,8 @@
6
6
  padding: toRem(10);
7
7
  border-radius: toRem(5);
8
8
  background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
9
+ box-shadow: 1px 3px 3px #eaeaea, -1px 3px 3px #eaeaea;
10
+ margin: 2px;
9
11
 
10
12
  &:hover {
11
13
  cursor: pointer;
@@ -81,6 +81,10 @@
81
81
  width: 100%;
82
82
  }
83
83
 
84
+ td, th {
85
+ padding: toRem(5);
86
+ }
87
+
84
88
  h3 {
85
89
  margin-top: toRem(20);
86
90
  }
@@ -120,13 +124,10 @@
120
124
 
121
125
  &:hover {
122
126
  background-color: themed($theme-map, 'color', 'primary', 300);
123
- pry-icon:first-child {
124
- opacity: 1;
125
- }
126
127
  }
127
128
 
128
129
  pry-icon:first-child {
129
- opacity: 0;
130
+ cursor: grab;
130
131
  }
131
132
 
132
133
  pry-checkbox {
@@ -0,0 +1,77 @@
1
+ @use 'node_modules/@provoly/dashboard/styles/abstracts' as *;
2
+ @use 'node_modules/@provoly/dashboard/styles-theme/abstracts-theme/variables.theme' as *;
3
+
4
+ hvy-choice-filter {
5
+
6
+ .o-hvy-choice-filter.-focus {
7
+ outline: 2px solid themed($theme-map, 'color', 'accent', 600);
8
+ outline-offset: toRem(2);
9
+ border-color: themed($theme-map, 'color', 'accent', 600);
10
+ border-width: toRem(1);
11
+ }
12
+ }
13
+
14
+ .o-hvy-event-filters {
15
+ display: flex;
16
+ flex-direction: row;
17
+ gap: toRem(10);
18
+
19
+ &__buttons {
20
+ margin-left: auto;
21
+ display: flex;
22
+ flex-direction: row;
23
+ align-items: center;
24
+ gap: toRem(5);
25
+
26
+ .a-btn--secondary {
27
+ padding: toRem(5);
28
+ }
29
+ }
30
+ }
31
+
32
+ .o-hvy-choice-filter {
33
+ font-style: normal;
34
+ border-color: themed($theme-map, 'color', 'primary', 400);
35
+ border-radius: 0.25rem;
36
+ color: themed($theme-map, 'color', 'graph', 01);
37
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
38
+
39
+ display: flex;
40
+ flex-direction: column;
41
+ align-items: flex-start;
42
+ justify-content: flex-start;
43
+ flex-grow: 1;
44
+ width: 100%;
45
+
46
+ min-height: toRem(36);
47
+ padding: toRem(4) toRem(12);
48
+ border-width: toRem(1);
49
+ border-style: solid;
50
+ cursor: text;
51
+ transition: all 150ms ease;
52
+
53
+ &.-highlight {
54
+ border-width: toRem(2);
55
+ }
56
+
57
+ &__label {
58
+ font-weight: 600;
59
+ margin-right: toRem(10);
60
+ }
61
+
62
+ &__child {
63
+ margin-left: toRem(20);
64
+ }
65
+
66
+ &.-horizontal {
67
+ flex-direction: row;
68
+
69
+ pry-icon {
70
+ margin-left: auto;
71
+ }
72
+ }
73
+
74
+ &__value {
75
+ margin-right: toRem(10);
76
+ }
77
+ }
@@ -5,21 +5,23 @@
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
  gap: toRem(10);
8
- background-color: #ecf0f8;
9
8
  height: 100%;
10
9
  padding: toRem(10);
11
- border-radius: toRem(5);
10
+ border-bottom-left-radius: toRem(5);
11
+ border-bottom-right-radius: toRem(5);
12
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
12
13
 
13
14
  &__header {
14
15
  display: flex;
15
16
  align-items: center;
16
17
  gap: toRem(10);
17
18
  text-transform: uppercase;
19
+ padding-bottom: toRem(10);
18
20
  }
19
21
 
20
22
  &__title {
21
23
  padding: 0;
22
- color: themed($theme-map, 'color', 'primary', 700);
24
+ color: themed($theme-map, 'color', 'primary', 600);
23
25
  font-size: toRem(14);
24
26
  line-height: toRem(24);
25
27
  }
@@ -29,7 +31,8 @@
29
31
  padding: 0 toRem(7);
30
32
  border-radius: toRem(10);
31
33
  text-align: center;
32
- background-color: themed($theme-map, 'color', 'primary', 600);
34
+ font-weight: 500;
35
+ background-color: themed($theme-map, 'color', 'primary', 700);
33
36
  color: themed($theme-map, 'color', 'primary', 'contrast', 50);
34
37
  }
35
38
 
@@ -62,26 +65,37 @@
62
65
  line-height: toRem(24);
63
66
  }
64
67
 
65
- &.-hvy-new {
66
- background-color: themed($theme-map, 'color', 'primary', 600);
67
-
68
+ &.-hvy-in_progress {
68
69
  .o-hvy-event-summary-list__counter {
69
- background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
70
- color: themed($theme-map, 'color', 'primary', 600);
70
+ background-color: themed($theme-map, 'color', 'graph', 07);
71
+ color: themed($theme-map, 'color', 'primary', 700);
71
72
  }
73
+ }
72
74
 
73
- .o-hvy-event-summary-list__title {
74
- color: themed($theme-map, 'color', 'primary', 'contrast', 50);
75
+ &.-hvy-done {
76
+ .o-hvy-event-summary-list__counter {
77
+ background-color: themed($theme-map, 'color', 'graph', 05);
78
+ color: themed($theme-map, 'color', 'primary', 700);
75
79
  }
76
80
 
77
- .o-hvy-event-summary-list__footer-button {
78
- color: themed($theme-map, 'color', 'primary', 'contrast', 50);
79
- text-decoration: underline;
80
- text-underline-offset: toRem(2);
81
+ .m-hvy-event-summary-item {
82
+ background-color: themed($theme-map, 'color', 'grey', 300);
81
83
  }
84
+ }
85
+ }
82
86
 
83
- .o-hvy-event-summary-list__no-content {
84
- color: themed($theme-map, 'color', 'primary', 300);
85
- }
87
+ hvy-event-summary-list {
88
+ border-top: toRem(5) solid themed($theme-map, 'color', 'primary', 700);
89
+
90
+ &:has(.-hvy-in_progress) {
91
+ border-top-color: themed($theme-map, 'color', 'graph', 07);
92
+ }
93
+
94
+ &:has(.-hvy-done) {
95
+ border-top-color: themed($theme-map, 'color', 'graph', 05);
86
96
  }
87
97
  }
98
+
99
+ .o-hvy-event-summary-list__header {
100
+ border-bottom: toRem(1) solid themed($theme-map, 'color', 'grey', 400);
101
+ }
@@ -18,6 +18,10 @@ hvy-event-list {
18
18
  border-bottom: 2px solid #EAEAEA;
19
19
  z-index: 2;
20
20
  }
21
+
22
+ th:nth-child(1) {
23
+ padding: toRem(15);
24
+ }
21
25
  }
22
26
 
23
27
  &__line {
@@ -48,6 +52,11 @@ hvy-event-list {
48
52
  color: #cecece;
49
53
  }
50
54
  }
55
+
56
+ a {
57
+ color: #004998;
58
+ font-weight: 600;
59
+ }
51
60
  }
52
61
  }
53
62
 
@@ -56,8 +65,12 @@ hvy-event-list {
56
65
  top: 0;
57
66
  }
58
67
 
59
- .o-hvy-events-table__line__cell:nth-child(3){
60
- width: 30%;
68
+ .o-hvy-events-table__line__cell:nth-child(3) {
69
+ width: 25%;
70
+ }
71
+
72
+ .o-hvy-events-table__line__cell:nth-child(5) {
73
+ width: 15%;
61
74
  }
62
75
 
63
76
  .o-hvy-events-table__line__cell:last-child,
@@ -70,7 +83,8 @@ hvy-event-list {
70
83
  height: toRem(400);
71
84
  width: 100%;
72
85
  text-align: center;
73
- * {
86
+
87
+ button {
74
88
  margin: toRem(50);
75
89
  }
76
90
  }