@provoly/hypervisor 0.0.23 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/hypervisor",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "16.x || 17.x",
6
6
  "@angular/common": "16.x || 17.x",
@@ -4,6 +4,7 @@ import { Observable } from 'rxjs';
4
4
  import { SubscriptionnerDirective } from '@provoly/dashboard';
5
5
  import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
6
6
  import { HypEventSummary } from '../../model/event/hyp-event-summary.interface';
7
+ import { Router } from '@angular/router';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare const EVENT_LINK: {
9
10
  fn: (event: HypEventDetails | HypEventSummary, store: Store<any>) => string[];
@@ -14,6 +15,7 @@ export declare const SCROLL_PX_TO_TRIGGER_FETCH_PAGE: {
14
15
  export declare class EventListComponent extends SubscriptionnerDirective implements AfterViewInit {
15
16
  private store;
16
17
  private el;
18
+ private router;
17
19
  events$: Observable<HypEventDetails[]>;
18
20
  selectedIds$: Observable<string[]>;
19
21
  EVENT_LINK: {
@@ -22,11 +24,12 @@ export declare class EventListComponent extends SubscriptionnerDirective impleme
22
24
  _store: Store<any>;
23
25
  allSelected$: Observable<boolean>;
24
26
  _inhibate: boolean;
25
- constructor(store: Store<any>, el: ElementRef);
27
+ constructor(store: Store<any>, el: ElementRef, router: Router);
26
28
  ngAfterViewInit(): void;
27
29
  select(event: HypEventDetails, $event: MouseEvent): void;
28
30
  selectAll($event: any): void;
29
31
  inhibate(): void;
32
+ goto(event: HypEventDetails): Promise<boolean>;
30
33
  static ɵfac: i0.ɵɵFactoryDeclaration<EventListComponent, never>;
31
34
  static ɵcmp: i0.ɵɵComponentDeclaration<EventListComponent, "hvy-event-list", never, {}, {}, never, ["*"], false, never>;
32
35
  }
@@ -75,7 +75,11 @@ export declare const enTranslations: {
75
75
  };
76
76
  };
77
77
  eventSummary: {
78
- noContent: string;
78
+ noContent: {
79
+ NEW: string;
80
+ IN_PROGRESS: string;
81
+ DONE: string;
82
+ };
79
83
  statusLabels: {
80
84
  NEW: string;
81
85
  IN_PROGRESS: string;
@@ -80,7 +80,11 @@ export declare const frTranslations: {
80
80
  };
81
81
  };
82
82
  eventSummary: {
83
- noContent: string;
83
+ noContent: {
84
+ NEW: string;
85
+ IN_PROGRESS: string;
86
+ DONE: string;
87
+ };
84
88
  statusLabels: {
85
89
  NEW: string;
86
90
  IN_PROGRESS: string;
@@ -9,6 +9,7 @@ export declare const PAGE_SIZE_FETCH: {
9
9
  };
10
10
  export declare const KNOWN_FILTER_SETS: {
11
11
  EVENTS: string;
12
+ SUMMARY: string;
12
13
  };
13
14
  export declare class EventService {
14
15
  private httpClient;
@@ -7,25 +7,11 @@
7
7
  &.-IN_PROGRESS {
8
8
  color: themed($theme-map, 'color', 'graph', 'contrast', 07);
9
9
  background-color: themed($theme-map, 'color', 'graph', 07);
10
-
11
- &:hover {
12
- @include changeBgColor(
13
- $targetBgColor: themed($theme-map, 'color', 'graph', 06),
14
- $targetTextColor: themed($theme-map, 'color', 'graph', 'contrast', 06)
15
- );
16
- }
17
10
  }
18
11
 
19
12
  &.-DONE {
20
13
  color: themed($theme-map, 'color', 'graph', 'contrast', 05);
21
14
  background-color: themed($theme-map, 'color', 'graph', 05);
22
-
23
- &:hover {
24
- @include changeBgColor(
25
- $targetBgColor: themed($theme-map, 'color', 'graph', 04),
26
- $targetTextColor: themed($theme-map, 'color', 'graph', 'contrast', 04)
27
- );
28
- }
29
15
  }
30
16
 
31
17
  &__target {