@nova-ui/dashboards 12.0.40 → 12.0.41
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/nova-ui-dashboards.umd.js +993 -397
- package/bundles/nova-ui-dashboards.umd.js.map +1 -1
- package/esm2015/lib/components/public-api.js +2 -1
- package/esm2015/lib/components/risk-score-tile/public-api.js +22 -0
- package/esm2015/lib/components/risk-score-tile/risk-score-tile.component.js +124 -0
- package/esm2015/lib/components/risk-score-tile/types.js +25 -0
- package/esm2015/lib/configurator/components/widgets/configurator-items/public-api.js +2 -1
- package/esm2015/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +112 -0
- package/esm2015/lib/configurator/components/widgets/public-api.js +2 -1
- package/esm2015/lib/configurator/components/widgets/risk-score/public-api.js +22 -0
- package/esm2015/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js +21 -0
- package/esm2015/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +96 -0
- package/esm2015/lib/configurator/components/widgets/risk-score/types.js +21 -0
- package/esm2015/lib/configurator/configurator.module.js +9 -1
- package/esm2015/lib/dashboards.module.js +19 -7
- package/esm2015/lib/services/provider-registry.service.js +8 -3
- package/esm2015/lib/services/table-formatter-registry.service.js +12 -1
- package/esm2015/lib/services/types.js +2 -1
- package/esm2015/lib/widget-types/risk-score/risk-score-configurator.js +201 -0
- package/esm2015/lib/widget-types/risk-score/risk-score-widget.js +86 -0
- package/esm2015/lib/widget-types/risk-score/risk-score.js +56 -0
- package/fesm2015/nova-ui-dashboards.js +660 -82
- package/fesm2015/nova-ui-dashboards.js.map +1 -1
- package/lib/components/public-api.d.ts +1 -0
- package/lib/components/risk-score-tile/public-api.d.ts +2 -0
- package/lib/components/risk-score-tile/risk-score-tile.component.d.ts +32 -0
- package/lib/components/risk-score-tile/types.d.ts +28 -0
- package/lib/configurator/components/widgets/configurator-items/public-api.d.ts +1 -0
- package/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.d.ts +26 -0
- package/lib/configurator/components/widgets/public-api.d.ts +1 -0
- package/lib/configurator/components/widgets/risk-score/public-api.d.ts +2 -0
- package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +1 -0
- package/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +32 -0
- package/lib/configurator/components/widgets/risk-score/types.d.ts +7 -0
- package/lib/configurator/configurator.module.d.ts +67 -65
- package/lib/dashboards.module.d.ts +38 -37
- package/lib/services/table-formatter-registry.service.d.ts +5 -0
- package/lib/services/types.d.ts +1 -0
- package/lib/widget-types/risk-score/risk-score-configurator.d.ts +97 -0
- package/lib/widget-types/risk-score/risk-score-widget.d.ts +55 -0
- package/lib/widget-types/risk-score/risk-score.d.ts +5 -0
- package/package.json +3 -3
- package/sdk/atoms/src/lib/components/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/components/public-api.js +1 -0
- package/sdk/atoms/src/lib/components/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/components/risk-score-tile/public-api.d.ts +2 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/public-api.js +25 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/public-api.js.map +1 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.d.ts +29 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js +128 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/risk-score-tile.component.js.map +1 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/types.d.ts +28 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/types.js +28 -0
- package/sdk/atoms/src/lib/components/risk-score-tile/types.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.d.ts +23 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js +125 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/public-api.js +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.d.ts +2 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.js +25 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/public-api.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js +24 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/public-api.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.d.ts +29 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js +102 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.d.ts +7 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.js +22 -0
- package/sdk/atoms/src/lib/configurator/components/widgets/risk-score/types.js.map +1 -0
- package/sdk/atoms/src/lib/configurator/configurator.module.js +4 -0
- package/sdk/atoms/src/lib/configurator/configurator.module.js.map +1 -1
- package/sdk/atoms/src/lib/dashboards.module.d.ts +2 -2
- package/sdk/atoms/src/lib/dashboards.module.js +12 -3
- package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
- package/sdk/atoms/src/lib/services/provider-registry.service.js +5 -0
- package/sdk/atoms/src/lib/services/provider-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.d.ts +3 -0
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js +11 -1
- package/sdk/atoms/src/lib/services/table-formatter-registry.service.js.map +1 -1
- package/sdk/atoms/src/lib/services/types.d.ts +1 -0
- package/sdk/atoms/src/lib/services/types.js +3 -2
- package/sdk/atoms/src/lib/services/types.js.map +1 -1
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.d.ts +97 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.js +204 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-configurator.js.map +1 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.d.ts +55 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js +89 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score-widget.js.map +1 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.d.ts +5 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js +59 -0
- package/sdk/atoms/src/lib/widget-types/risk-score/risk-score.js.map +1 -0
- package/sdk/locale/messages.en.xlf +96 -0
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
// of this software and associated documentation files (the "Software"), to
|
|
6
|
+
// deal in the Software without restriction, including without limitation the
|
|
7
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
// furnished to do so, subject to the following conditions:
|
|
10
|
+
//
|
|
11
|
+
// The above copyright notice and this permission notice shall be included in
|
|
12
|
+
// all copies or substantial portions of the Software.
|
|
13
|
+
//
|
|
14
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
+
// THE SOFTWARE.
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.riskScoreConfigurator = exports.DEFAULT_RISK_SCORE_FORMATTERS = void 0;
|
|
23
|
+
const form_stack_component_1 = require("../../configurator/components/form-stack/form-stack.component");
|
|
24
|
+
const raw_formatter_component_1 = require("../../configurator/components/formatters/raw-formatter/raw-formatter.component");
|
|
25
|
+
const widget_configurator_section_component_1 = require("../../configurator/components/widget-configurator-section/widget-configurator-section.component");
|
|
26
|
+
const data_source_configuration_component_1 = require("../../configurator/components/widgets/configurator-items/data-source-configuration/data-source-configuration.component");
|
|
27
|
+
const data_source_error_component_1 = require("../../configurator/components/widgets/configurator-items/data-source-error/data-source-error.component");
|
|
28
|
+
const risk_score_tile_description_configuration_component_1 = require("../../configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component");
|
|
29
|
+
const title_and_description_configuration_component_1 = require("../../configurator/components/widgets/configurator-items/title-and-description-configuration/title-and-description-configuration.component");
|
|
30
|
+
const risk_score_tiles_configuration_component_1 = require("../../configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component");
|
|
31
|
+
const presentation_configuration_component_1 = require("../../configurator/components/widgets/table/columns-editor/column-configuration/presentation-configuration/presentation-configuration.component");
|
|
32
|
+
const types_1 = require("../../services/types");
|
|
33
|
+
const types_2 = require("../../types");
|
|
34
|
+
const components_1 = require("../common/configurator/components");
|
|
35
|
+
/* eslint-enable max-len */
|
|
36
|
+
exports.DEFAULT_RISK_SCORE_FORMATTERS = [
|
|
37
|
+
{
|
|
38
|
+
componentType: raw_formatter_component_1.RawFormatterComponent.lateLoadKey,
|
|
39
|
+
label: $localize `Raw Formatter`,
|
|
40
|
+
dataTypes: {
|
|
41
|
+
// @ts-ignore
|
|
42
|
+
value: null,
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
exports.riskScoreConfigurator = {
|
|
47
|
+
[types_2.PizzagnaLayer.Structure]: {
|
|
48
|
+
[types_1.DEFAULT_PIZZAGNA_ROOT]: {
|
|
49
|
+
id: types_1.DEFAULT_PIZZAGNA_ROOT,
|
|
50
|
+
// base layout of the configurator - all form components referenced herein will be stacked in a column
|
|
51
|
+
componentType: form_stack_component_1.FormStackComponent.lateLoadKey,
|
|
52
|
+
properties: {
|
|
53
|
+
elementClass: "flex-grow-1 overflow-auto nui-scroll-shadows",
|
|
54
|
+
// references to other components laid out in this form
|
|
55
|
+
nodes: ["presentation", "tiles"],
|
|
56
|
+
},
|
|
57
|
+
providers: {
|
|
58
|
+
[types_2.WellKnownProviders.FormattersRegistry]: {
|
|
59
|
+
providerId: types_1.NOVA_RISK_SCORE_FORMATTERS_REGISTRY,
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
// /presentation
|
|
64
|
+
presentation: {
|
|
65
|
+
id: "presentation",
|
|
66
|
+
componentType: widget_configurator_section_component_1.WidgetConfiguratorSectionComponent.lateLoadKey,
|
|
67
|
+
properties: {
|
|
68
|
+
headerText: $localize `Presentation`,
|
|
69
|
+
nodes: ["titleAndDescription", "refresher"],
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
// /presentation/titleAndDescription
|
|
73
|
+
titleAndDescription: {
|
|
74
|
+
id: "titleAndDescription",
|
|
75
|
+
componentType: title_and_description_configuration_component_1.TitleAndDescriptionConfigurationComponent.lateLoadKey,
|
|
76
|
+
providers: {
|
|
77
|
+
converter: {
|
|
78
|
+
providerId: types_1.NOVA_TITLE_AND_DESCRIPTION_CONVERTER,
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
refresher: components_1.REFRESHER_CONFIGURATOR,
|
|
83
|
+
// /tiles
|
|
84
|
+
tiles: {
|
|
85
|
+
id: "tiles",
|
|
86
|
+
componentType: risk_score_tiles_configuration_component_1.RiskScoreTilesConfigurationComponent.lateLoadKey,
|
|
87
|
+
properties: {
|
|
88
|
+
// these components serve as a template for every KPI tile created
|
|
89
|
+
template: [
|
|
90
|
+
{
|
|
91
|
+
// Risk Score tile description (label) configuration section
|
|
92
|
+
id: "description",
|
|
93
|
+
componentType: risk_score_tile_description_configuration_component_1.RiskScoreTileDescriptionConfigurationComponent.lateLoadKey,
|
|
94
|
+
properties: {},
|
|
95
|
+
providers: {
|
|
96
|
+
// converter transforms the data between the widget and the form
|
|
97
|
+
[types_2.WellKnownProviders.Converter]: {
|
|
98
|
+
providerId: types_1.NOVA_KPI_SECTION_CONVERTER,
|
|
99
|
+
properties: {
|
|
100
|
+
formParts: [
|
|
101
|
+
{
|
|
102
|
+
previewPath: "properties.widgetData",
|
|
103
|
+
keys: [
|
|
104
|
+
"label",
|
|
105
|
+
"minValue",
|
|
106
|
+
"maxValue",
|
|
107
|
+
"description",
|
|
108
|
+
"useStaticLabel",
|
|
109
|
+
"staticLabel",
|
|
110
|
+
],
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
// data source configuration section
|
|
119
|
+
id: "dataSource",
|
|
120
|
+
componentType: data_source_configuration_component_1.DataSourceConfigurationComponent.lateLoadKey,
|
|
121
|
+
properties: {
|
|
122
|
+
// for the DataSourceConfigurationComponent, this defines the list of data sources to pick from
|
|
123
|
+
dataSourceProviders: [],
|
|
124
|
+
errorComponent: data_source_error_component_1.DataSourceErrorComponent.lateLoadKey,
|
|
125
|
+
},
|
|
126
|
+
providers: {
|
|
127
|
+
// converter transforms the data source metadata between the widget and the form
|
|
128
|
+
[types_2.WellKnownProviders.Converter]: {
|
|
129
|
+
providerId: types_1.NOVA_KPI_SECTION_CONVERTER,
|
|
130
|
+
properties: {
|
|
131
|
+
formParts: [
|
|
132
|
+
{
|
|
133
|
+
// this component updates 'providerId' of 'dataSource'
|
|
134
|
+
previewPath: "providers.dataSource",
|
|
135
|
+
// TODO: Remove 'properties' key in v10 - NUI-5831
|
|
136
|
+
keys: ["providerId", "properties"],
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
// this component updates 'properties' of 'dataSource' via an adapter
|
|
140
|
+
previewPath: "providers.adapter.properties.dataSource",
|
|
141
|
+
keys: ["properties"],
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
[types_2.WellKnownProviders.Broadcaster]: {
|
|
147
|
+
providerId: types_1.NOVA_PIZZAGNA_BROADCASTER,
|
|
148
|
+
properties: {
|
|
149
|
+
configs: [
|
|
150
|
+
{
|
|
151
|
+
trackOn: "component",
|
|
152
|
+
key: "dataFieldIds",
|
|
153
|
+
paths: [
|
|
154
|
+
"data.{parentComponentId}/formatting.properties.dataFieldIds",
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
id: "formatting",
|
|
164
|
+
componentType: presentation_configuration_component_1.PresentationConfigurationComponent.lateLoadKey,
|
|
165
|
+
providers: {
|
|
166
|
+
[types_2.WellKnownProviders.Converter]: {
|
|
167
|
+
providerId: types_1.NOVA_KPI_SECTION_CONVERTER,
|
|
168
|
+
properties: {
|
|
169
|
+
formParts: [
|
|
170
|
+
{
|
|
171
|
+
previewPath: "properties.configuration.formatters.Value",
|
|
172
|
+
keys: ["formatter"],
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
properties: {
|
|
179
|
+
// Note: Now you should define your formatters in the KpiFormatterRegistry which can contain more formatter options
|
|
180
|
+
// formatters: DEFAULT_RISK_SCORE_FORMATTERS,
|
|
181
|
+
// Set default formatter to the configuration section as RawFormatterComponent.
|
|
182
|
+
// In case Risk Scrore doesn't use the formatters yet, it will be overridden with default formatter value on first save
|
|
183
|
+
formatter: {
|
|
184
|
+
componentType: raw_formatter_component_1.RawFormatterComponent.lateLoadKey,
|
|
185
|
+
properties: {
|
|
186
|
+
dataFieldIds: {
|
|
187
|
+
value: "value",
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
},
|
|
195
|
+
providers: {
|
|
196
|
+
// converter transforms the data between the widget and the form
|
|
197
|
+
[types_2.WellKnownProviders.Converter]: {
|
|
198
|
+
providerId: types_1.NOVA_KPI_TILES_CONVERTER,
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
};
|
|
204
|
+
//# sourceMappingURL=risk-score-configurator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"risk-score-configurator.js","sourceRoot":"","sources":["../../../../../../../src/lib/widget-types/risk-score/risk-score-configurator.ts"],"names":[],"mappings":";AAAA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4CAClD,IAAI,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;yCACrC;wCACD;4CACI,qEAAqE;4CACrE,WAAW,EACP,yCAAyC;4CAC7C,IAAI,EAAE,CAAC,YAAY,CAAC;yCACvB;qCACJ;iCACJ;6BACsB;4BAC3B,CAAC,0BAAkB,CAAC,WAAW,CAAC,EAAE;gCAC9B,UAAU,EAAE,iCAAyB;gCACrC,UAAU,EAAE;oCACR,OAAO,EAAE;wCACL;4CACI,OAAO,EAAE,WAAW;4CACpB,GAAG,EAAE,cAAc;4CACnB,KAAK,EAAE;gDACH,6DAA6D;6CAChE;yCACJ;qCACoB;iCAC5B;6BACJ;yBACJ;qBACJ;oBACD;wBACI,EAAE,EAAE,YAAY;wBAChB,aAAa,EACT,yEAAkC,CAAC,WAAW;wBAClD,SAAS,EAAE;4BACP,CAAC,0BAAkB,CAAC,SAAS,CAAC,EAAE;gCAC5B,UAAU,EAAE,kCAA0B;gCACtC,UAAU,EAAE;oCACR,SAAS,EAAE;wCACP;4CACI,WAAW,EACP,2CAA2C;4CAC/C,IAAI,EAAE,CAAC,WAAW,CAAC;yCACtB;qCACJ;iCACJ;6BACsB;yBAC9B;wBACD,UAAU,EAAE;4BACR,mHAAmH;4BACnH,6CAA6C;4BAE7C,+EAA+E;4BAC/E,uHAAuH;4BACvH,SAAS,EAAE;gCACP,aAAa,EACT,+CAAqB,CAAC,WAAW;gCACrC,UAAU,EAAE;oCACR,YAAY,EAAE;wCACV,KAAK,EAAE,OAAO;qCACjB;iCACJ;6BACJ;yBACJ;qBACJ;iBACJ;aACJ;YACD,SAAS,EAAE;gBACP,gEAAgE;gBAChE,CAAC,0BAAkB,CAAC,SAAS,CAAC,EAAE;oBAC5B,UAAU,EAAE,gCAAwB;iBACb;aAC9B;SACJ;KACJ;CACJ,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { IProviderConfiguration } from "../../types";
|
|
2
|
+
export declare const riskScoreWidget: {
|
|
3
|
+
structure: {
|
|
4
|
+
tiles: {
|
|
5
|
+
id: string;
|
|
6
|
+
componentType: string;
|
|
7
|
+
properties: {
|
|
8
|
+
elementClass: string;
|
|
9
|
+
template: {
|
|
10
|
+
componentType: string;
|
|
11
|
+
providers: {
|
|
12
|
+
adapter: IProviderConfiguration;
|
|
13
|
+
};
|
|
14
|
+
properties: {
|
|
15
|
+
elementClass: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
"/": {
|
|
21
|
+
id: string;
|
|
22
|
+
componentType: string;
|
|
23
|
+
providers: {
|
|
24
|
+
refresher: IProviderConfiguration;
|
|
25
|
+
eventProxy: IProviderConfiguration;
|
|
26
|
+
};
|
|
27
|
+
properties: {
|
|
28
|
+
nodes: string[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
header: import("../../types").IComponentConfiguration;
|
|
32
|
+
loading: import("../../types").IComponentConfiguration;
|
|
33
|
+
body: {
|
|
34
|
+
properties: {
|
|
35
|
+
elementClass: string;
|
|
36
|
+
};
|
|
37
|
+
id: string;
|
|
38
|
+
componentType: string;
|
|
39
|
+
providers?: Record<string, IProviderConfiguration> | undefined;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
configuration: {
|
|
43
|
+
"/": {
|
|
44
|
+
id: string;
|
|
45
|
+
providers: {
|
|
46
|
+
refresher: IProviderConfiguration;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
header: {
|
|
50
|
+
properties: {
|
|
51
|
+
title: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.riskScoreWidget = void 0;
|
|
4
|
+
// © 2023 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5
|
+
//
|
|
6
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
// of this software and associated documentation files (the "Software"), to
|
|
8
|
+
// deal in the Software without restriction, including without limitation the
|
|
9
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
10
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
// furnished to do so, subject to the following conditions:
|
|
12
|
+
//
|
|
13
|
+
// The above copyright notice and this permission notice shall be included in
|
|
14
|
+
// all copies or substantial portions of the Software.
|
|
15
|
+
//
|
|
16
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
// THE SOFTWARE.
|
|
23
|
+
const stack_component_1 = require("../../components/layouts/stack/stack.component");
|
|
24
|
+
const tiles_component_1 = require("../../components/layouts/tiles/tiles.component");
|
|
25
|
+
const risk_score_tile_component_1 = require("../../components/risk-score-tile/risk-score-tile.component");
|
|
26
|
+
const types_1 = require("../../services/types");
|
|
27
|
+
const types_2 = require("../../types");
|
|
28
|
+
const components_1 = require("../common/widget/components");
|
|
29
|
+
const providers_1 = require("../common/widget/providers");
|
|
30
|
+
exports.riskScoreWidget = {
|
|
31
|
+
[types_2.PizzagnaLayer.Structure]: Object.assign(Object.assign({ [types_1.DEFAULT_PIZZAGNA_ROOT]: {
|
|
32
|
+
id: types_1.DEFAULT_PIZZAGNA_ROOT,
|
|
33
|
+
// base layout of the widget - all components referenced herein will be stacked in a column
|
|
34
|
+
componentType: stack_component_1.StackComponent.lateLoadKey,
|
|
35
|
+
providers: {
|
|
36
|
+
// When enabled, this provider emits the REFRESH event on the pizzagna event bus every X seconds
|
|
37
|
+
[types_2.WellKnownProviders.Refresher]: providers_1.refresher(),
|
|
38
|
+
// event proxy manages the transmission of events between widget and dashboard
|
|
39
|
+
[types_2.WellKnownProviders.EventProxy]: providers_1.EVENT_PROXY,
|
|
40
|
+
},
|
|
41
|
+
properties: {
|
|
42
|
+
nodes: ["header", "loading", "body"],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
// widget header
|
|
46
|
+
header: components_1.WIDGET_HEADER,
|
|
47
|
+
// this is the loading bar below the header
|
|
48
|
+
loading: components_1.WIDGET_LOADING,
|
|
49
|
+
// widget body
|
|
50
|
+
body: Object.assign(Object.assign({}, components_1.WIDGET_BODY), { properties: Object.assign(Object.assign({}, components_1.WIDGET_BODY.properties), { elementClass: "overflow-hidden" }) }) }, components_1.widgetBodyContentNodes("tiles", types_1.NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER)), {
|
|
51
|
+
// the main content node specifying a component that manages layout of the KPI tiles in a CSS grid
|
|
52
|
+
tiles: {
|
|
53
|
+
id: "tiles",
|
|
54
|
+
componentType: tiles_component_1.TilesComponent.lateLoadKey,
|
|
55
|
+
properties: {
|
|
56
|
+
elementClass: "flex-grow-1 pt-2 px-3 pb-3 w-100",
|
|
57
|
+
template: {
|
|
58
|
+
componentType: risk_score_tile_component_1.RiskScoreTileComponent.lateLoadKey,
|
|
59
|
+
providers: {
|
|
60
|
+
[types_2.WellKnownProviders.Adapter]: {
|
|
61
|
+
providerId: types_1.NOVA_KPI_DATASOURCE_ADAPTER,
|
|
62
|
+
properties: {
|
|
63
|
+
propertyPath: "widgetData",
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
properties: {
|
|
68
|
+
elementClass: "flex-grow-1",
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
} }),
|
|
73
|
+
[types_2.PizzagnaLayer.Configuration]: {
|
|
74
|
+
[types_1.DEFAULT_PIZZAGNA_ROOT]: {
|
|
75
|
+
id: types_1.DEFAULT_PIZZAGNA_ROOT,
|
|
76
|
+
providers: {
|
|
77
|
+
// default refresher configuration
|
|
78
|
+
[types_2.WellKnownProviders.Refresher]: providers_1.refresher(false, 60),
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
// default header configuration
|
|
82
|
+
header: {
|
|
83
|
+
properties: {
|
|
84
|
+
title: $localize `Empty Risk Score Widget`,
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=risk-score-widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"risk-score-widget.js","sourceRoot":"","sources":["../../../../../../../src/lib/widget-types/risk-score/risk-score-widget.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;AACjB,oFAAgF;AAChF,oFAAgF;AAChF,0GAAoG;AACpG,gDAI8B;AAC9B,uCAIqB;AACrB,4DAKqC;AACrC,0DAAoE;AAEvD,QAAA,eAAe,GAAG;IAC3B,CAAC,qBAAa,CAAC,SAAS,CAAC,gCACrB,CAAC,6BAAqB,CAAC,EAAE;YACrB,EAAE,EAAE,6BAAqB;YACzB,2FAA2F;YAC3F,aAAa,EAAE,gCAAc,CAAC,WAAW;YACzC,SAAS,EAAE;gBACP,gGAAgG;gBAChG,CAAC,0BAA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+1,5 @@
|
|
|
1
|
+
import { IWidgetTypeDefinition } from "../../components/widget/types";
|
|
2
|
+
/***********************************************************************************************************
|
|
3
|
+
* KPI widget definition starts here
|
|
4
|
+
***********************************************************************************************************/
|
|
5
|
+
export declare const riskScore: IWidgetTypeDefinition;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// © 2023 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
// of this software and associated documentation files (the "Software"), to
|
|
6
|
+
// deal in the Software without restriction, including without limitation the
|
|
7
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
// furnished to do so, subject to the following conditions:
|
|
10
|
+
//
|
|
11
|
+
// The above copyright notice and this permission notice shall be included in
|
|
12
|
+
// all copies or substantial portions of the Software.
|
|
13
|
+
//
|
|
14
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
+
// THE SOFTWARE.
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.riskScore = void 0;
|
|
23
|
+
const types_1 = require("../../services/types");
|
|
24
|
+
const types_2 = require("../../types");
|
|
25
|
+
const risk_score_configurator_1 = require("./risk-score-configurator");
|
|
26
|
+
const risk_score_widget_1 = require("./risk-score-widget");
|
|
27
|
+
const tileDescriptionConfiguratorTemplatePath = `tiles.properties.template[0]`;
|
|
28
|
+
const dataSourceConfiguratorTemplatePath = `tiles.properties.template[1]`;
|
|
29
|
+
/***********************************************************************************************************
|
|
30
|
+
* KPI widget definition starts here
|
|
31
|
+
***********************************************************************************************************/
|
|
32
|
+
exports.riskScore = {
|
|
33
|
+
/***************************************************************************************************
|
|
34
|
+
* Paths to important settings in this type definition
|
|
35
|
+
***************************************************************************************************/
|
|
36
|
+
paths: {
|
|
37
|
+
widget: {
|
|
38
|
+
[types_2.WellKnownPathKey.Root]: types_1.DEFAULT_PIZZAGNA_ROOT,
|
|
39
|
+
},
|
|
40
|
+
configurator: {
|
|
41
|
+
[types_2.WellKnownPathKey.Root]: types_1.DEFAULT_PIZZAGNA_ROOT,
|
|
42
|
+
// this points at the component type you need to change if you want to change the component for data source configuration
|
|
43
|
+
[types_2.WellKnownPathKey.DataSourceConfigComponentType]: `${dataSourceConfiguratorTemplatePath}.componentType`,
|
|
44
|
+
// this points at the component type you need to change if you want to change the component for tile description configuration
|
|
45
|
+
[types_2.WellKnownPathKey.TileDescriptionConfigComponentType]: `${tileDescriptionConfiguratorTemplatePath}.componentType`,
|
|
46
|
+
// for the default data source configuration component, this changes the list of data sources to pick from
|
|
47
|
+
[types_2.WellKnownPathKey.DataSourceProviders]: `${dataSourceConfiguratorTemplatePath}.properties.dataSourceProviders`,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
/***************************************************************************************************
|
|
51
|
+
* Widget section describes the structural part of the KPI widget
|
|
52
|
+
***************************************************************************************************/
|
|
53
|
+
widget: risk_score_widget_1.riskScoreWidget,
|
|
54
|
+
/***************************************************************************************************
|
|
55
|
+
* Configurator section describes the form that is used to configure the widget
|
|
56
|
+
***************************************************************************************************/
|
|
57
|
+
configurator: risk_score_configurator_1.riskScoreConfigurator,
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=risk-score.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"risk-score.js","sourceRoot":"","sources":["../../../../../../../src/lib/widget-types/risk-score/risk-score.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAGjB,gDAA6D;AAC7D,uCAA+C;AAC/C,uEAAkE;AAClE,2DAAsD;AAEtD,MAAM,uCAAuC,GAAG,8BAA8B,CAAC;AAC/E,MAAM,kCAAkC,GAAG,8BAA8B,CAAC;AAE1E;;6GAE6G;AAChG,QAAA,SAAS,GAA0B;IAC5C;;yGAEqG;IACrG,KAAK,EAAE;QACH,MAAM,EAAE;YACJ,CAAC,wBAAgB,CAAC,IAAI,CAAC,EAAE,6BAAqB;SACjD;QACD,YAAY,EAAE;YACV,CAAC,wBAAgB,CAAC,IAAI,CAAC,EAAE,6BAAqB;YAC9C,yHAAyH;YACzH,CAAC,wBAAgB,CAAC,6BAA6B,CAAC,EAAE,GAAG,kCAAkC,gBAAgB;YACvG,8HAA8H;YAC9H,CAAC,wBAAgB,CAAC,kCAAkC,CAAC,EAAE,GAAG,uCAAuC,gBAAgB;YACjH,0GAA0G;YAC1G,CAAC,wBAAgB,CAAC,mBAAmB,CAAC,EAAE,GAAG,kCAAkC,iCAAiC;SACjH;KACJ;IACD;;yGAEqG;IACrG,MAAM,EAAE,mCAAe;IACvB;;yGAEqG;IACrG,YAAY,EAAE,+CAAqB;CACtC,CAAC"}
|
|
@@ -843,6 +843,14 @@
|
|
|
843
843
|
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.html</context>
|
|
844
844
|
<context context-type="linenumber">11</context>
|
|
845
845
|
</context-group>
|
|
846
|
+
<context-group purpose="location">
|
|
847
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
848
|
+
<context context-type="linenumber">11</context>
|
|
849
|
+
</context-group>
|
|
850
|
+
<context-group purpose="location">
|
|
851
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
852
|
+
<context context-type="linenumber">91</context>
|
|
853
|
+
</context-group>
|
|
846
854
|
<context-group purpose="location">
|
|
847
855
|
<context context-type="sourcefile">src/lib/configurator/components/widgets/table/columns-editor-v2/column-configuration/description-configuration/description-configuration-v2.component.html</context>
|
|
848
856
|
<context context-type="linenumber">11</context>
|
|
@@ -862,6 +870,10 @@
|
|
|
862
870
|
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.html</context>
|
|
863
871
|
<context context-type="linenumber">20</context>
|
|
864
872
|
</context-group>
|
|
873
|
+
<context-group purpose="location">
|
|
874
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
875
|
+
<context context-type="linenumber">20</context>
|
|
876
|
+
</context-group>
|
|
865
877
|
<context-group purpose="location">
|
|
866
878
|
<context context-type="sourcefile">src/lib/configurator/components/widgets/drilldown/entity-formatting-configuration/entity-formatting-configuration.component.html</context>
|
|
867
879
|
<context context-type="linenumber">89</context>
|
|
@@ -885,6 +897,10 @@
|
|
|
885
897
|
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/kpi-description-configuration/kpi-description-configuration.component.html</context>
|
|
886
898
|
<context context-type="linenumber">27</context>
|
|
887
899
|
</context-group>
|
|
900
|
+
<context-group purpose="location">
|
|
901
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
902
|
+
<context context-type="linenumber">27</context>
|
|
903
|
+
</context-group>
|
|
888
904
|
<context-group purpose="location">
|
|
889
905
|
<context context-type="sourcefile">src/lib/configurator/components/widgets/timeseries/timeseries-tile-description-configuration/timeseries-tile-description-configuration.component.html</context>
|
|
890
906
|
<context context-type="linenumber">35</context>
|
|
@@ -1076,6 +1092,63 @@
|
|
|
1076
1092
|
<context context-type="linenumber">74</context>
|
|
1077
1093
|
</context-group>
|
|
1078
1094
|
</trans-unit>
|
|
1095
|
+
<trans-unit id="cee9a1f7aa61303650890f5c5daabc71daf3107c" datatype="html">
|
|
1096
|
+
<source>Min Value</source>
|
|
1097
|
+
<context-group purpose="location">
|
|
1098
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
1099
|
+
<context context-type="linenumber">35</context>
|
|
1100
|
+
</context-group>
|
|
1101
|
+
<context-group purpose="location">
|
|
1102
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
1103
|
+
<context context-type="linenumber">42</context>
|
|
1104
|
+
</context-group>
|
|
1105
|
+
</trans-unit>
|
|
1106
|
+
<trans-unit id="c500899f62c2504443a67509337443e3dd0005c7" datatype="html">
|
|
1107
|
+
<source>Max Value</source>
|
|
1108
|
+
<context-group purpose="location">
|
|
1109
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
1110
|
+
<context context-type="linenumber">50</context>
|
|
1111
|
+
</context-group>
|
|
1112
|
+
<context-group purpose="location">
|
|
1113
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
1114
|
+
<context context-type="linenumber">57</context>
|
|
1115
|
+
</context-group>
|
|
1116
|
+
</trans-unit>
|
|
1117
|
+
<trans-unit id="81a16af84152d50c71c652f155efe59f76fc188b" datatype="html">
|
|
1118
|
+
<source>Use Float Label</source>
|
|
1119
|
+
<context-group purpose="location">
|
|
1120
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
1121
|
+
<context context-type="linenumber">69</context>
|
|
1122
|
+
</context-group>
|
|
1123
|
+
</trans-unit>
|
|
1124
|
+
<trans-unit id="a23855f42e50ae75752c9b086ddabd27e708f41b" datatype="html">
|
|
1125
|
+
<source>Float Label</source>
|
|
1126
|
+
<context-group purpose="location">
|
|
1127
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
1128
|
+
<context context-type="linenumber">76</context>
|
|
1129
|
+
</context-group>
|
|
1130
|
+
</trans-unit>
|
|
1131
|
+
<trans-unit id="d45dab34c95e21ef6f1a0f41470714470e67f187" datatype="html">
|
|
1132
|
+
<source>Set float label</source>
|
|
1133
|
+
<context-group purpose="location">
|
|
1134
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
1135
|
+
<context context-type="linenumber">83</context>
|
|
1136
|
+
</context-group>
|
|
1137
|
+
</trans-unit>
|
|
1138
|
+
<trans-unit id="737d0ca16e8e241cdfec093293da801a55a5aa7a" datatype="html">
|
|
1139
|
+
<source>Set description</source>
|
|
1140
|
+
<context-group purpose="location">
|
|
1141
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
1142
|
+
<context context-type="linenumber">98</context>
|
|
1143
|
+
</context-group>
|
|
1144
|
+
</trans-unit>
|
|
1145
|
+
<trans-unit id="df8e266a4c9278828f1b014f67653ce0beb57f9a" datatype="html">
|
|
1146
|
+
<source> Description cannot be longer than <x id="INTERPOLATION" equiv-text="{{ MAX_DESCRIPTION_LENGTH }}"/> characters. </source>
|
|
1147
|
+
<context-group purpose="location">
|
|
1148
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/configurator-items/risk-score-tile-description-configuration/risk-score-tile-description-configuration.component.html</context>
|
|
1149
|
+
<context context-type="linenumber">101,104</context>
|
|
1150
|
+
</context-group>
|
|
1151
|
+
</trans-unit>
|
|
1079
1152
|
<trans-unit id="784fdd6b2dc26499eca6e15094b55f0b1c1e1b7a" datatype="html">
|
|
1080
1153
|
<source>Thresholds</source>
|
|
1081
1154
|
<context-group purpose="location">
|
|
@@ -1565,6 +1638,10 @@
|
|
|
1565
1638
|
<context context-type="sourcefile">src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.html</context>
|
|
1566
1639
|
<context context-type="linenumber">10</context>
|
|
1567
1640
|
</context-group>
|
|
1641
|
+
<context-group purpose="location">
|
|
1642
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.html</context>
|
|
1643
|
+
<context context-type="linenumber">10</context>
|
|
1644
|
+
</context-group>
|
|
1568
1645
|
</trans-unit>
|
|
1569
1646
|
<trans-unit id="79e4ae6fc9c1cd1ee331414b873fb40154ad1e95" datatype="html">
|
|
1570
1647
|
<source> Add new value
|
|
@@ -1573,6 +1650,10 @@
|
|
|
1573
1650
|
<context context-type="sourcefile">src/lib/configurator/components/widgets/kpi/kpi-tiles-configuration/kpi-tiles-configuration.component.html</context>
|
|
1574
1651
|
<context context-type="linenumber">24,25</context>
|
|
1575
1652
|
</context-group>
|
|
1653
|
+
<context-group purpose="location">
|
|
1654
|
+
<context context-type="sourcefile">src/lib/configurator/components/widgets/risk-score/risk-score-tiles-configuration/risk-score-tiles-configuration.component.html</context>
|
|
1655
|
+
<context context-type="linenumber">24,25</context>
|
|
1656
|
+
</context-group>
|
|
1576
1657
|
</trans-unit>
|
|
1577
1658
|
<trans-unit id="f43d8212e6ffbc04ea0190118e7f893824ec2686" datatype="html">
|
|
1578
1659
|
<source>Default Metric</source>
|
|
@@ -2426,6 +2507,10 @@
|
|
|
2426
2507
|
<context context-type="sourcefile">src/lib/widget-types/kpi/kpi-configurator.ts</context>
|
|
2427
2508
|
<context context-type="linenumber">104</context>
|
|
2428
2509
|
</context-group>
|
|
2510
|
+
<context-group purpose="location">
|
|
2511
|
+
<context context-type="sourcefile">src/lib/widget-types/risk-score/risk-score-configurator.ts</context>
|
|
2512
|
+
<context context-type="linenumber">83</context>
|
|
2513
|
+
</context-group>
|
|
2429
2514
|
<context-group purpose="location">
|
|
2430
2515
|
<context context-type="sourcefile">src/lib/widget-types/table/table-configurator.ts</context>
|
|
2431
2516
|
<context context-type="linenumber">69</context>
|
|
@@ -2477,6 +2562,10 @@
|
|
|
2477
2562
|
<context context-type="sourcefile">src/lib/widget-types/proportional/proportional-configurator.ts</context>
|
|
2478
2563
|
<context context-type="linenumber">89</context>
|
|
2479
2564
|
</context-group>
|
|
2565
|
+
<context-group purpose="location">
|
|
2566
|
+
<context context-type="sourcefile">src/lib/widget-types/risk-score/risk-score-configurator.ts</context>
|
|
2567
|
+
<context context-type="linenumber">53</context>
|
|
2568
|
+
</context-group>
|
|
2480
2569
|
</trans-unit>
|
|
2481
2570
|
<trans-unit id="6035790414336461958" datatype="html">
|
|
2482
2571
|
<source>Si Units Formatter</source>
|
|
@@ -2613,6 +2702,13 @@
|
|
|
2613
2702
|
<context context-type="linenumber">99</context>
|
|
2614
2703
|
</context-group>
|
|
2615
2704
|
</trans-unit>
|
|
2705
|
+
<trans-unit id="3928624441515896168" datatype="html">
|
|
2706
|
+
<source>Empty Risk Score Widget</source>
|
|
2707
|
+
<context-group purpose="location">
|
|
2708
|
+
<context context-type="sourcefile">src/lib/widget-types/risk-score/risk-score-widget.ts</context>
|
|
2709
|
+
<context context-type="linenumber">115</context>
|
|
2710
|
+
</context-group>
|
|
2711
|
+
</trans-unit>
|
|
2616
2712
|
<trans-unit id="2186745583942244132" datatype="html">
|
|
2617
2713
|
<source>No Formatter</source>
|
|
2618
2714
|
<context-group purpose="location">
|