@nova-ui/bits 15.0.1 → 15.0.2-5109
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/bundles/css/styles-css-variables.css +1 -1
- package/bundles/css/styles.css +1 -1
- package/esm2020/lib/docs/example-wrapper/plunker-files.mjs +3 -1
- package/esm2020/lib/risk-score/risk-score.component.mjs +93 -0
- package/esm2020/lib/risk-score/risk-score.module.mjs +41 -0
- package/esm2020/nui-api.mjs +2 -1
- package/esm2020/public_api.mjs +2 -1
- package/fesm2015/nova-ui-bits.mjs +93 -1
- package/fesm2015/nova-ui-bits.mjs.map +1 -1
- package/fesm2020/nova-ui-bits.mjs +93 -1
- package/fesm2020/nova-ui-bits.mjs.map +1 -1
- package/lib/risk-score/risk-score.component.d.ts +25 -0
- package/lib/risk-score/risk-score.module.d.ts +11 -0
- package/nui-api.d.ts +1 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/sdk/less/nui-framework-colors-dark.less +1 -0
- package/sdk/less/nui-framework-colors.less +1 -0
- package/sdk/less/nui-framework-palette.less +1 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, NgZone, OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Component for displaying risk level from severity 'OK' to 'Critical'
|
|
5
|
+
*/
|
|
6
|
+
export declare class RiskScoreComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
7
|
+
private changeDetectorRef;
|
|
8
|
+
private ngZone;
|
|
9
|
+
private colorLine;
|
|
10
|
+
level: number;
|
|
11
|
+
minLevel: number;
|
|
12
|
+
maxLevel: number;
|
|
13
|
+
title?: string;
|
|
14
|
+
floatOffset: number;
|
|
15
|
+
private resizeObserver;
|
|
16
|
+
private colorLineWidth$;
|
|
17
|
+
constructor(changeDetectorRef: ChangeDetectorRef, ngZone: NgZone);
|
|
18
|
+
ngAfterViewInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
+
private updateOffset;
|
|
22
|
+
private clamp;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RiskScoreComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RiskScoreComponent, "nui-risk-score", never, { "level": "level"; "minLevel": "minLevel"; "maxLevel": "maxLevel"; "title": "title"; }, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./risk-score.component";
|
|
3
|
+
import * as i2 from "../../common/common.module";
|
|
4
|
+
/**
|
|
5
|
+
* @ignore
|
|
6
|
+
*/
|
|
7
|
+
export declare class NuiRiskScoreModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NuiRiskScoreModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NuiRiskScoreModule, [typeof i1.RiskScoreComponent], [typeof i2.NuiCommonModule], [typeof i1.RiskScoreComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NuiRiskScoreModule>;
|
|
11
|
+
}
|
package/nui-api.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export { NuiPopoverModule } from "./lib/popover/popover.module";
|
|
|
34
34
|
export { NuiProgressModule } from "./lib/progress/progress.module";
|
|
35
35
|
export { NuiRadioModule } from "./lib/radio/radio.module";
|
|
36
36
|
export { NuiRepeatModule } from "./lib/repeat/repeat.module";
|
|
37
|
+
export { NuiRiskScoreModule } from "./lib/risk-score/risk-score.module";
|
|
37
38
|
export { NuiSearchModule } from "./lib/search/search.module";
|
|
38
39
|
export { NuiSelectorModule } from "./lib/selector/selector.module";
|
|
39
40
|
export { NuiSorterModule } from "./lib/sorter/sorter.module";
|
package/package.json
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"schematics": "./sdk/schematics/collection.json",
|
|
70
70
|
"typings": "index.d.ts",
|
|
71
|
-
"version": "15.0.
|
|
71
|
+
"version": "15.0.2-5109",
|
|
72
72
|
"packageManager": "yarn@1.22.18",
|
|
73
73
|
"module": "fesm2015/nova-ui-bits.mjs",
|
|
74
74
|
"es2020": "fesm2020/nova-ui-bits.mjs",
|
package/public_api.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export { SearchComponent } from "./lib/search/search.component";
|
|
|
26
26
|
export { TextboxComponent } from "./lib/textbox/textbox.component";
|
|
27
27
|
export { RepeatItemComponent } from "./lib/repeat/repeat-item/repeat-item.component";
|
|
28
28
|
export { RepeatComponent } from "./lib/repeat/repeat.component";
|
|
29
|
+
export { RiskScoreComponent } from "./lib/risk-score/risk-score.component";
|
|
29
30
|
export { MenuActionComponent } from "./lib/menu/menu-item/menu-action/menu-action.component";
|
|
30
31
|
export { MenuComponent } from "./lib/menu/menu/menu.component";
|
|
31
32
|
export { MenuGroupComponent } from "./lib/menu/menu-item/menu-group/menu-group.component";
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
@nui-color-text-light: @white;
|
|
72
72
|
@nui-color-text-light-secondary: darken(@white, 20%); // unofficial
|
|
73
73
|
@nui-color-text-highlight-platform_bar: @swi_orange;
|
|
74
|
+
@nui-color-text-highlight-platform_bar-blue: @blue_cyan;
|
|
74
75
|
@nui-color-text-critical: @critical_red--dark;
|
|
75
76
|
@nui-color-text-ok: @ok_green;
|
|
76
77
|
@nui-color-text-warning: @black;
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
@nui-color-text-inverse-secondary: fade(@white, 60%);
|
|
81
81
|
@nui-color-text-inverse-disabled: fade(@white, 30%);
|
|
82
82
|
@nui-color-text-highlight-platform_bar: @swi_orange;
|
|
83
|
+
@nui-color-text-highlight-platform_bar-blue: @blue_cyan;
|
|
83
84
|
@nui-color-text-critical: @critical_red;
|
|
84
85
|
@nui-color-text-ok: @ok_green;
|
|
85
86
|
@nui-color-text-warning: @black;
|