@provoly/hypervisor 0.0.22 → 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/assets/svgs/i.svg +18 -0
- package/esm2022/src/lib/event/detail/event-detail.component.mjs +92 -32
- package/esm2022/src/lib/event/filters/choice/choice-filter.component.mjs +21 -21
- package/esm2022/src/lib/event/filters/date/date-filter.component.mjs +7 -9
- package/esm2022/src/lib/event/filters/event-filters.component.mjs +14 -9
- package/esm2022/src/lib/event/filters/hvy-unit-filter.class.mjs +21 -1
- package/esm2022/src/lib/event/list/event-list.component.mjs +22 -16
- package/esm2022/src/lib/event-summary/list/event-summary-list.component.mjs +4 -3
- package/esm2022/src/lib/event-summary/page/event-summary-page.component.mjs +14 -7
- package/esm2022/src/lib/general/i18n/en.translations.mjs +25 -18
- package/esm2022/src/lib/general/i18n/fr.translations.mjs +33 -24
- package/esm2022/src/lib/general/status-display/status-display.component.mjs +3 -3
- package/esm2022/src/lib/model/event/hyp-event-detail.interface.mjs +1 -1
- package/esm2022/src/lib/model/event/hyp-event-summary.interface.mjs +1 -1
- package/esm2022/src/lib/model/event/hyp-event.interface.mjs +1 -1
- package/esm2022/src/lib/store/event/event.actions.mjs +2 -2
- package/esm2022/src/lib/store/event/event.effects.mjs +3 -3
- package/esm2022/src/lib/store/event/event.reducer.mjs +15 -13
- package/esm2022/src/lib/store/event/event.service.mjs +22 -31
- package/esm2022/src/lib/store/event-summary/event-summary.service.mjs +5 -5
- package/fesm2022/provoly-hypervisor.mjs +327 -232
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/event/detail/event-detail.component.d.ts +16 -2
- package/src/lib/event/filters/choice/choice-filter.component.d.ts +6 -5
- package/src/lib/event/filters/date/date-filter.component.d.ts +5 -4
- package/src/lib/event/filters/event-filters.component.d.ts +5 -3
- package/src/lib/event/filters/hvy-unit-filter.class.d.ts +14 -2
- package/src/lib/event/list/event-list.component.d.ts +7 -1
- package/src/lib/general/i18n/en.translations.d.ts +7 -0
- package/src/lib/general/i18n/fr.translations.d.ts +9 -0
- package/src/lib/model/event/hyp-event-detail.interface.d.ts +1 -2
- package/src/lib/model/event/hyp-event-summary.interface.d.ts +0 -1
- package/src/lib/model/event/hyp-event.interface.d.ts +1 -0
- package/src/lib/model/hyp-procedure.interface.d.ts +1 -1
- package/src/lib/store/event/event.actions.d.ts +4 -0
- package/src/lib/store/event/event.service.d.ts +10 -3
- package/styles/components/_a-chip-status.scss +0 -14
- package/styles/components/_m-hvy-event-summary-item.scss +37 -7
- package/styles/components/_o-hvy-event-detail.scss +41 -0
- package/styles/components/_o-hvy-event-filters.scss +1 -0
- package/styles/components/_o-hvy-events-table.scss +2 -1
package/package.json
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { HypProcedure } from '../../model/hyp-procedure.interface';
|
|
3
3
|
import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
|
|
4
4
|
import { SubscriptionnerDirective } from '@provoly/dashboard';
|
|
5
5
|
import { EquipmentService } from '../../store/equipment/equipment.service';
|
|
6
6
|
import { Store } from '@ngrx/store';
|
|
7
7
|
import { HypAction } from '../../model/hyp-action.interface';
|
|
8
|
+
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
10
11
|
private equipmentService;
|
|
11
12
|
private store;
|
|
13
|
+
private overlay;
|
|
14
|
+
private viewContainerRef;
|
|
12
15
|
static CARD_HEIGHT: number;
|
|
13
16
|
opened: boolean[];
|
|
14
17
|
criticalities: string[];
|
|
@@ -35,10 +38,18 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
35
38
|
initialActionList: HypAction[];
|
|
36
39
|
previousOffset: number;
|
|
37
40
|
dragTarget?: EventTarget | null;
|
|
41
|
+
changeStatusContext: {
|
|
42
|
+
comment: string;
|
|
43
|
+
events: HypEventDetails[];
|
|
44
|
+
status: string;
|
|
45
|
+
all: boolean;
|
|
46
|
+
};
|
|
47
|
+
overlayRef?: OverlayRef;
|
|
48
|
+
confirmDialog: TemplateRef<any>;
|
|
38
49
|
set events(events: HypEventDetails[]);
|
|
39
50
|
set procedure(procedure: HypProcedure);
|
|
40
51
|
set cancelModifications(evt: any);
|
|
41
|
-
constructor(equipmentService: EquipmentService, store: Store);
|
|
52
|
+
constructor(equipmentService: EquipmentService, store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
42
53
|
get events(): HypEventDetails[];
|
|
43
54
|
get procedure(): HypProcedure | undefined;
|
|
44
55
|
toggle(i: number): void;
|
|
@@ -66,11 +77,14 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
66
77
|
categories(event: HypEventDetails): string[];
|
|
67
78
|
changeStatus($event: string, event: HypEventDetails): void;
|
|
68
79
|
closeAll(): void;
|
|
80
|
+
confirmedClose(): void;
|
|
81
|
+
toggleConfirm(): void;
|
|
69
82
|
onMouseDown($event: MouseEvent): void;
|
|
70
83
|
dragStart($event: MouseEvent, action: HypAction, index: number): void;
|
|
71
84
|
move($event: MouseEvent): void;
|
|
72
85
|
drop($event: MouseEvent): void;
|
|
73
86
|
allowDrop($event: MouseEvent): void;
|
|
87
|
+
confirmDisabled(): boolean;
|
|
74
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventDetailComponent, never>;
|
|
75
89
|
static ɵcmp: i0.ɵɵComponentDeclaration<EventDetailComponent, "hvy-event-detail", never, { "events": { "alias": "events"; "required": false; }; "procedure": { "alias": "procedure"; "required": false; }; "cancelModifications": { "alias": "cancelModifications"; "required": false; }; }, { "modifiedEvents": "modifiedEvents"; "modifiedProcedure": "modifiedProcedure"; "eventErrors": "eventErrors"; }, never, never, false, never>;
|
|
76
90
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, TemplateRef, ViewContainerRef, WritableSignal } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { HvyUnitFilterComponent } from '../hvy-unit-filter.class';
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
4
|
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
5
5
|
import { PryI18nService } from '@provoly/dashboard';
|
|
@@ -18,18 +18,19 @@ export declare class ChoiceFilterComponent extends HvyUnitFilterComponent implem
|
|
|
18
18
|
private ref;
|
|
19
19
|
static idCounter: number;
|
|
20
20
|
id: number;
|
|
21
|
-
prop: string;
|
|
22
21
|
label: string;
|
|
23
22
|
i18nPrefix: string;
|
|
24
23
|
value: WritableSignal<string[]>;
|
|
25
24
|
choices: HvyChoiceFilter;
|
|
26
25
|
overlayRef?: OverlayRef;
|
|
27
26
|
template: TemplateRef<any>;
|
|
28
|
-
inhibate
|
|
27
|
+
inhibate?: string;
|
|
29
28
|
displayValue: import("@angular/core").Signal<string>;
|
|
30
29
|
constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, i18nService: PryI18nService, ref: ElementRef);
|
|
31
30
|
ngAfterViewInit(): void;
|
|
32
|
-
getParams():
|
|
31
|
+
getParams(): {
|
|
32
|
+
[key: string]: string[];
|
|
33
|
+
};
|
|
33
34
|
reset(): void;
|
|
34
35
|
toggleModal(): void;
|
|
35
36
|
clickAll(): void;
|
|
@@ -50,5 +51,5 @@ export declare class ChoiceFilterComponent extends HvyUnitFilterComponent implem
|
|
|
50
51
|
assignValue(value: string[]): void;
|
|
51
52
|
private triggerInhibate;
|
|
52
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChoiceFilterComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChoiceFilterComponent, "hvy-choice-filter", never, { "
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChoiceFilterComponent, "hvy-choice-filter", never, { "label": { "alias": "label"; "required": false; }; "i18nPrefix": { "alias": "i18nPrefix"; "required": false; }; "choices": { "alias": "choices"; "required": false; }; }, {}, never, never, false, never>;
|
|
54
55
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HvyUnitFilterComponent } from '../hvy-unit-filter.class';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DateFilterComponent extends HvyUnitFilterComponent {
|
|
5
5
|
private store;
|
|
6
|
-
prop: string;
|
|
7
6
|
value: string;
|
|
8
7
|
constructor(store: Store);
|
|
9
|
-
getParams():
|
|
8
|
+
getParams(): {
|
|
9
|
+
[key: string]: string[];
|
|
10
|
+
};
|
|
10
11
|
reset(): void;
|
|
11
12
|
triggerChange($event: Event): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateFilterComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateFilterComponent, "hvy-date-filter", never, {
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateFilterComponent, "hvy-date-filter", never, {}, {}, never, never, false, never>;
|
|
14
15
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { QueryList } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, QueryList } from '@angular/core';
|
|
2
2
|
import { SubscriptionnerDirective } from '@provoly/dashboard';
|
|
3
3
|
import { HvyUnitFilterComponent } from './hvy-unit-filter.class';
|
|
4
4
|
import { Store } from '@ngrx/store';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class EventFiltersComponent extends SubscriptionnerDirective {
|
|
6
|
+
export declare class EventFiltersComponent extends SubscriptionnerDirective implements AfterViewInit {
|
|
7
7
|
private store;
|
|
8
|
+
filterSet: string;
|
|
8
9
|
filters: QueryList<HvyUnitFilterComponent>;
|
|
9
10
|
constructor(store: Store);
|
|
11
|
+
ngAfterViewInit(): void;
|
|
10
12
|
filter(): void;
|
|
11
13
|
reset(): void;
|
|
12
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventFiltersComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EventFiltersComponent, "hvy-event-filters", never, {}, {}, ["filters"], ["*"], false, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EventFiltersComponent, "hvy-event-filters", never, { "filterSet": { "alias": "filterSet"; "required": false; }; }, {}, ["filters"], ["*"], false, never>;
|
|
14
16
|
}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { SubscriptionnerDirective } from '@provoly/dashboard';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
2
4
|
export type HvyFilterParams = {
|
|
3
|
-
[
|
|
5
|
+
[filterSet: string]: {
|
|
6
|
+
[key: string]: string[];
|
|
7
|
+
};
|
|
4
8
|
};
|
|
5
9
|
export declare class HvyUnitFilterComponent extends SubscriptionnerDirective {
|
|
10
|
+
prop: string;
|
|
11
|
+
protected _filterSet$: BehaviorSubject<string>;
|
|
12
|
+
set filterSet(filterSet: string);
|
|
13
|
+
get filterSet(): string;
|
|
6
14
|
constructor();
|
|
7
|
-
getParams():
|
|
15
|
+
getParams(): {
|
|
16
|
+
[key: string]: string[];
|
|
17
|
+
};
|
|
8
18
|
reset(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HvyUnitFilterComponent, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HvyUnitFilterComponent, never, never, { "prop": { "alias": "prop"; "required": false; }; "filterSet": { "alias": "filterSet"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
21
|
}
|
|
@@ -4,13 +4,18 @@ 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[];
|
|
10
11
|
};
|
|
12
|
+
export declare const SCROLL_PX_TO_TRIGGER_FETCH_PAGE: {
|
|
13
|
+
value: number;
|
|
14
|
+
};
|
|
11
15
|
export declare class EventListComponent extends SubscriptionnerDirective implements AfterViewInit {
|
|
12
16
|
private store;
|
|
13
17
|
private el;
|
|
18
|
+
private router;
|
|
14
19
|
events$: Observable<HypEventDetails[]>;
|
|
15
20
|
selectedIds$: Observable<string[]>;
|
|
16
21
|
EVENT_LINK: {
|
|
@@ -19,11 +24,12 @@ export declare class EventListComponent extends SubscriptionnerDirective impleme
|
|
|
19
24
|
_store: Store<any>;
|
|
20
25
|
allSelected$: Observable<boolean>;
|
|
21
26
|
_inhibate: boolean;
|
|
22
|
-
constructor(store: Store<any>, el: ElementRef);
|
|
27
|
+
constructor(store: Store<any>, el: ElementRef, router: Router);
|
|
23
28
|
ngAfterViewInit(): void;
|
|
24
29
|
select(event: HypEventDetails, $event: MouseEvent): void;
|
|
25
30
|
selectAll($event: any): void;
|
|
26
31
|
inhibate(): void;
|
|
32
|
+
goto(event: HypEventDetails): Promise<boolean>;
|
|
27
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventListComponent, never>;
|
|
28
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<EventListComponent, "hvy-event-list", never, {}, {}, never, ["*"], false, never>;
|
|
29
35
|
}
|
|
@@ -69,6 +69,10 @@ export declare const enTranslations: {
|
|
|
69
69
|
};
|
|
70
70
|
reset: string;
|
|
71
71
|
};
|
|
72
|
+
close: {
|
|
73
|
+
one: string;
|
|
74
|
+
multi: string;
|
|
75
|
+
};
|
|
72
76
|
};
|
|
73
77
|
eventSummary: {
|
|
74
78
|
noContent: string;
|
|
@@ -93,6 +97,9 @@ export declare const enTranslations: {
|
|
|
93
97
|
close: string;
|
|
94
98
|
send: string;
|
|
95
99
|
comment: string;
|
|
100
|
+
associate: string;
|
|
101
|
+
validate: string;
|
|
102
|
+
cancel: string;
|
|
96
103
|
};
|
|
97
104
|
};
|
|
98
105
|
};
|
|
@@ -37,6 +37,7 @@ export declare const frTranslations: {
|
|
|
37
37
|
name: string;
|
|
38
38
|
category: string;
|
|
39
39
|
close: string;
|
|
40
|
+
closed: string;
|
|
40
41
|
comments: {
|
|
41
42
|
name: string;
|
|
42
43
|
placeholder: string;
|
|
@@ -72,6 +73,11 @@ export declare const frTranslations: {
|
|
|
72
73
|
};
|
|
73
74
|
reset: string;
|
|
74
75
|
};
|
|
76
|
+
close: {
|
|
77
|
+
one: string;
|
|
78
|
+
multi: string;
|
|
79
|
+
comment: string;
|
|
80
|
+
};
|
|
75
81
|
};
|
|
76
82
|
eventSummary: {
|
|
77
83
|
noContent: string;
|
|
@@ -96,6 +102,9 @@ export declare const frTranslations: {
|
|
|
96
102
|
close: string;
|
|
97
103
|
send: string;
|
|
98
104
|
comment: string;
|
|
105
|
+
associate: string;
|
|
106
|
+
validate: string;
|
|
107
|
+
cancel: string;
|
|
99
108
|
};
|
|
100
109
|
};
|
|
101
110
|
};
|
|
@@ -12,7 +12,6 @@ export interface HypEventDetails extends HypEvent {
|
|
|
12
12
|
entity: string;
|
|
13
13
|
};
|
|
14
14
|
externalSourceRef?: string;
|
|
15
|
-
category: string;
|
|
16
15
|
startDate?: string;
|
|
17
16
|
endDate?: string;
|
|
18
17
|
closeDate: string;
|
|
@@ -35,7 +34,6 @@ export declare const eventForWriteAPI: (event: HypEventDetails) => {
|
|
|
35
34
|
entity: string;
|
|
36
35
|
} | undefined;
|
|
37
36
|
externalSourceRef?: string | undefined;
|
|
38
|
-
category: string;
|
|
39
37
|
startDate?: string | undefined;
|
|
40
38
|
endDate?: string | undefined;
|
|
41
39
|
closeDate: string;
|
|
@@ -47,4 +45,5 @@ export declare const eventForWriteAPI: (event: HypEventDetails) => {
|
|
|
47
45
|
name: string;
|
|
48
46
|
criticality: string;
|
|
49
47
|
type: string;
|
|
48
|
+
category: string;
|
|
50
49
|
};
|
|
@@ -24,7 +24,6 @@ export declare const procedureForWriteAPI: (procedure: HypProcedure) => {
|
|
|
24
24
|
entity: string;
|
|
25
25
|
} | undefined;
|
|
26
26
|
externalSourceRef?: string | undefined;
|
|
27
|
-
category: string;
|
|
28
27
|
startDate?: string | undefined;
|
|
29
28
|
endDate?: string | undefined;
|
|
30
29
|
closeDate: string;
|
|
@@ -36,6 +35,7 @@ export declare const procedureForWriteAPI: (procedure: HypProcedure) => {
|
|
|
36
35
|
name: string;
|
|
37
36
|
criticality: string;
|
|
38
37
|
type: string;
|
|
38
|
+
category: string;
|
|
39
39
|
}[];
|
|
40
40
|
id: string;
|
|
41
41
|
name: string;
|
|
@@ -22,10 +22,12 @@ export declare const EventActions: {
|
|
|
22
22
|
filters: {
|
|
23
23
|
[key: string]: string[];
|
|
24
24
|
};
|
|
25
|
+
filterSet: string;
|
|
25
26
|
}) => {
|
|
26
27
|
filters: {
|
|
27
28
|
[key: string]: string[];
|
|
28
29
|
};
|
|
30
|
+
filterSet: string;
|
|
29
31
|
} & import("@ngrx/store/src/models").TypedAction<"[Event Api] Set filters">>;
|
|
30
32
|
select: import("@ngrx/store").ActionCreator<"[Event Api] Select", (props: {
|
|
31
33
|
cumulative: boolean;
|
|
@@ -82,10 +84,12 @@ export declare const EventActions: {
|
|
|
82
84
|
targetStatus: string;
|
|
83
85
|
event?: HypEventDetails | undefined;
|
|
84
86
|
procedure?: HypProcedure | undefined;
|
|
87
|
+
comment: string;
|
|
85
88
|
}) => {
|
|
86
89
|
targetStatus: string;
|
|
87
90
|
event?: HypEventDetails | undefined;
|
|
88
91
|
procedure?: HypProcedure | undefined;
|
|
92
|
+
comment: string;
|
|
89
93
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Close Event or Procedure">>;
|
|
90
94
|
statusSuccess: import("@ngrx/store").ActionCreator<"[Event] Close success", () => import("@ngrx/store/src/models").TypedAction<"[Event] Close success">>;
|
|
91
95
|
statusFailure: import("@ngrx/store").ActionCreator<"[Event] Close failure", (props: {
|
|
@@ -4,17 +4,24 @@ import { Store } from '@ngrx/store';
|
|
|
4
4
|
import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
|
|
5
5
|
import { HypProcedure } from '../../model/hyp-procedure.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export declare const PAGE_SIZE_FETCH: {
|
|
8
|
+
value: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const KNOWN_FILTER_SETS: {
|
|
11
|
+
EVENTS: string;
|
|
12
|
+
SUMMARY: string;
|
|
13
|
+
};
|
|
7
14
|
export declare class EventService {
|
|
8
15
|
private httpClient;
|
|
9
16
|
private store;
|
|
10
17
|
constructor(httpClient: HttpClient, store: Store<any>);
|
|
11
|
-
list(startWith?: number): Observable<Array<HypEventDetails>>;
|
|
18
|
+
list(startWith?: number, pageSize?: number): Observable<Array<HypEventDetails>>;
|
|
12
19
|
get(id: string): Observable<HypEventDetails>;
|
|
13
20
|
getProcedure(id: string): Observable<HypProcedure>;
|
|
14
21
|
save(event: HypEventDetails): Observable<void>;
|
|
15
22
|
saveProcedure(procedure: HypProcedure): Observable<void>;
|
|
16
|
-
status(event: HypEventDetails, status: string): Observable<void>;
|
|
17
|
-
statusProcedure(procedure: HypProcedure, status: string): Observable<void>;
|
|
23
|
+
status(event: HypEventDetails, status: string, comment: string): Observable<void>;
|
|
24
|
+
statusProcedure(procedure: HypProcedure, status: string, comment: string): Observable<void>;
|
|
18
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventService, never>;
|
|
19
26
|
static ɵprov: i0.ɵɵInjectableDeclaration<EventService>;
|
|
20
27
|
}
|
|
@@ -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 {
|
|
@@ -87,20 +87,20 @@
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
// shapes
|
|
90
|
-
|
|
90
|
+
// - circle
|
|
91
|
+
&.-hvy-report {
|
|
91
92
|
border-radius: 50%;
|
|
92
93
|
}
|
|
93
94
|
|
|
95
|
+
// - triangle
|
|
94
96
|
&.-hvy-alert {
|
|
95
97
|
background-color: transparent;
|
|
96
98
|
align-items: flex-end;
|
|
97
99
|
|
|
98
100
|
&:after {
|
|
99
|
-
// equilateral triangle background
|
|
100
101
|
--side: 28px;
|
|
101
102
|
position: absolute;
|
|
102
103
|
content: '';
|
|
103
|
-
border-bottom: calc(0.866 * var(--side)) solid themed($theme-map, 'color', 'graph', 06);
|
|
104
104
|
border-left: calc(var(--side) / 2) solid transparent;
|
|
105
105
|
border-right: calc(var(--side) / 2) solid transparent;
|
|
106
106
|
border-top: 0;
|
|
@@ -110,29 +110,59 @@
|
|
|
110
110
|
|
|
111
111
|
&.-hvy-high {
|
|
112
112
|
&:after {
|
|
113
|
-
|
|
113
|
+
color: white;
|
|
114
|
+
border-bottom: calc(0.866 * var(--side)) solid themed($theme-map, 'color', 'graph', 08);
|
|
114
115
|
}
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
&.-hvy-medium {
|
|
118
119
|
&:after {
|
|
119
|
-
border-bottom
|
|
120
|
+
border-bottom: calc(0.866 * var(--side)) solid themed($theme-map, 'color', 'graph', 07);
|
|
120
121
|
}
|
|
121
122
|
}
|
|
123
|
+
|
|
124
|
+
&.-hvy-low {
|
|
125
|
+
&:after {
|
|
126
|
+
border-bottom: calc(0.866 * var(--side)) solid themed($theme-map, 'color', 'graph', 06);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
122
130
|
}
|
|
123
131
|
|
|
124
|
-
|
|
132
|
+
// -hexagon
|
|
133
|
+
&.-hvy-operator {
|
|
125
134
|
background-color: transparent;
|
|
126
135
|
|
|
136
|
+
span {
|
|
137
|
+
margin-left: -2px;
|
|
138
|
+
}
|
|
139
|
+
|
|
127
140
|
// hexagon background
|
|
128
141
|
&:after {
|
|
129
142
|
position: absolute;
|
|
130
143
|
content: '';
|
|
131
144
|
width: 25px;
|
|
132
145
|
height: 25px;
|
|
133
|
-
background-color: themed($theme-map, 'color', 'graph', 08);
|
|
134
146
|
clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
|
|
135
147
|
}
|
|
148
|
+
|
|
149
|
+
&.-hvy-high {
|
|
150
|
+
&:after {
|
|
151
|
+
background-color: themed($theme-map, 'color', 'graph', 08);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&.-hvy-medium {
|
|
156
|
+
&:after {
|
|
157
|
+
background-color: themed($theme-map, 'color', 'graph', 07);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.-hvy-low {
|
|
162
|
+
&:after {
|
|
163
|
+
background-color: themed($theme-map, 'color', 'graph', 06);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
136
166
|
}
|
|
137
167
|
}
|
|
138
168
|
|
|
@@ -161,3 +161,44 @@
|
|
|
161
161
|
.required {
|
|
162
162
|
color: themed($theme-map, 'color', 'status', 'error');
|
|
163
163
|
}
|
|
164
|
+
|
|
165
|
+
.o-hvy-close-confirm {
|
|
166
|
+
&__dialog {
|
|
167
|
+
position: absolute;
|
|
168
|
+
left: calc(50vw - 250px);
|
|
169
|
+
top: calc(50vh - 200px);
|
|
170
|
+
min-width: toRem(500);
|
|
171
|
+
min-height: toRem(400);
|
|
172
|
+
display: flex;
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
background-color: white;
|
|
175
|
+
border-radius: toRem(20);
|
|
176
|
+
padding: toRem(20) toRem(50);
|
|
177
|
+
|
|
178
|
+
&__comment {
|
|
179
|
+
&-title {
|
|
180
|
+
margin-bottom: toRem(5);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
flex: 1 1;
|
|
184
|
+
padding-bottom: toRem(10);
|
|
185
|
+
|
|
186
|
+
textarea {
|
|
187
|
+
width: 100%;
|
|
188
|
+
height: 100%;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&__actions {
|
|
193
|
+
display: flex;
|
|
194
|
+
flex-direction: row;
|
|
195
|
+
align-items: center;
|
|
196
|
+
justify-content: space-evenly;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.cdk-overlay-backdrop.cdk-overlay-backdrop-showing.backdrop-dark {
|
|
202
|
+
background-color: #183C6B;
|
|
203
|
+
opacity: 0.7;
|
|
204
|
+
}
|