@provoly/hypervisor 0.0.23 → 0.0.24
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/esm2022/src/lib/event/list/event-list.component.mjs +13 -9
- package/esm2022/src/lib/event-summary/page/event-summary-page.component.mjs +4 -4
- package/esm2022/src/lib/store/event/event.service.mjs +3 -2
- package/fesm2022/provoly-hypervisor.mjs +17 -12
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/event/list/event-list.component.d.ts +4 -1
- package/src/lib/store/event/event.service.d.ts +1 -0
- package/styles/components/_a-chip-status.scss +0 -14
package/package.json
CHANGED
|
@@ -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
|
}
|
|
@@ -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 {
|